The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
I'm getting my internet service through pcsforpeople.org, but the d@mn device fried, and the only way this firm allows for a purchase of a new device is to have it shipped "within 3 to 5 business days"
So I am looking for some type of "emergency service" that I can have in my back pocket to use at any time. It must be through mobile service.
I don't know what's available in the swamp, but here I'd just go to the local supermarket and buy a throwaway SIM. "Includes 20GB Data for use within 30 days" sort of deal.
My A$50/mo phone has 40GB of data per month included, so it's not an issue to me if the landline goes down.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
Here in Australia we get pretty good mobile phone plan now.. I have like 50GB (or more, not really sure), with my $40 per month plan
There was a special (still going on?) where one could get that for $9!
Emergency service is just to set your phone as a wifi hotspot - most can do that.
For an Android phone, it's pretty simple:
Open the Settings app.
Select "Mobile Network"
Select "Tethering and mobile hotspot"
Select "Personal Hotspot"
Tap on Wi-Fi hotspot.
It's pretty obvious from there.
Then just contact your phone service provider and make sure you have a data plan of some form (Vodafone in the UK have a "big value data" you can add immediately for £10, which gives you 3GB of data (plus an extra 3GB) which lasts a month. If you don't the charges are normally ... um ... excessive per MB.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
Interesting. It wouldn't allow me to benchmark though, so I'm not sure how well i could test my code. The point of it is to speed up my processor on apple machines. I want to be sure that is working. on an emulator i'm not sure i could be. plus i thought xamarin was managed stuff.
Sure. mmap() and munmap() are POSIX standard calls, so any of the *BSD variants should work. FreeBSD and OpenBSD use clang as the default compiler. Since these are POSIX calls, they should work the same on any POSIX compliant system, including Linux. They're certainly available in glibc-2.3 (circa 2002). You could install clang on your Linux distribution, but since mmap() and munmap() are provided by libc, changing the compiler should not affect the availability or behaviour of the calls.
Well, forget Darwin in a VM, I think. It would seem that "official" darwin iso's are no longer available. There is PureDarwin, but that's still in beta, though it's supposed to be a downstream version of Apple-Darwin.
It looks like you may have solved your issue with MacInCloud. But you might be able to shorten the time you need to rent there by installing a FreeBSD instance in a VM and doing 99.9% of conformance testing there, then do the final bit on MacInClout.
That's a good idea, but I probably don't need to do it. From the looks of it, apple and linux use the same, or nearly the same calls, so i think i might have to copy, paste compile, remove the pasted bit and update my #if defined(__linux__) to be #if defined(__linux__) || defined(_APPLE_) or whatever. That's the hope anyway, but I won't know for sure until i compile it on an apple machine.
#if defined( _WIN64 ) || defined( _WIN32 )
// do windows stuff#else if defined( <arduino def>)
// do arduino stuff#else
// assume POSIX#endif
That assumes that anything not Windows or arduino is POSIX, of course. And, as noted above, the mmap calls go back to almost 20 years, so anything that is anything unixish and is less that that old probably supports mmap() munmap().
Of course, if that doesn't float your boat, in the CONFORMING TO section of the mmap man page it states
On POSIX systems on which mmap(), msync(2), and munmap() are available, _POSIX_MAPPED_FILES is defined in <unistd.h> to a
value greater than 0.
So that might be the best way to go. I've confirmed the presence of _POSIX_MAPPED_FILES in unistd.h in FreeBSD, NetBSD, OpenBSD and even the oldest Linux I can find, e.g. RedHat 5 (Manhattan (c)1997, not RHEL-5)
Actually, Apple machines need not be so expensive. You can buy them on Amazon for a mere $20[^]
Anything that is unrelated to elephants is irrelephant Anonymous - The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 - Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
My policy has always been to not give Apple any money, ever.
I've worked around my own policy a few years ago by buying a used Mac. Strictly speaking, they still haven't seen a single penny from me, unless the person I bought it from somehow decided to send them part of my purchase amount.
Last Visit: 31-Dec-99 19:00 Last Update: 27-Feb-21 12:19