6,908 karma · joined Nov 20, 2012 (14y ago) · 1,051 submissions
LOAD "*", 8, 1
Coded stuff. Cofounded companies and a charity. Successes & failures. http://bitmason.comDarren Stone, Vancouver, BC, Canada
"Once men turned their thinking over to
machines in the hope that this would
set them free. But that only permitted
other men with machines to enslave
them." - Frank P. Herbert, Jr., 1965
"The programmer, like the poet, works
only slightly removed from pure
thought-stuff. He builds his castles
in the air, from air, creating by
exertion of the imagination."
- Fred P. Brooks, Jr., 1975comment 8y ago · link · parent
The I Ching is elegant from a modern binary/math perspective because it appears to be an ancient hierarchy of 1-bit symbols (yin/yang), stacked into 3-bit symbols (triagram=element), and finally stacked into 6-bit symbols (hexagram). These are, apparently, descriptions of situations at hand or situations to come. The arrangements of these 64 hexagrams make a modern math mind speculate about binary counting and the reason for a particular ordering [1] and it all seems very orderly and balanced and evenly distributed. Or so you would think.
Then one learns that the traditional methods of division using those 64 hexagrams (e.g. the yarrow stalk method) is quite unevenly distributed. The dice are weighted, so to speak, to give some outcomes more often than others.[2]
Did the Chinese ancients know this and design it this way? Did they care? Was it a mistake? ¯\_(ツ)_/¯
[1] https://www.biroco.com/yijing/sequence.htm
[2] https://aleadeum.com/2013/07/12/the-i-ching-random-numbers-a...
comment 8y ago · link · parent
I don't believe most senior engineers would feel the same. It's hard to imagine our world today without programs that produce permanent financial consequences. They are everywhere.
comment 8y ago · link · parent
But then I Googled up this short interview with Galison.[1]
Suppose, Einstein reasoned, that you wanted to know what time a train arrived in a train station. Easy enough: you see where the hand of your watch is at the time the engine pulls up alongside you. But what if you wanted to know when a train was pulling into a distant station? How do you know whether an event here is simultaneous with an event there? Einstein insisted that we need a simultaneity - fixing procedure, a definite system of exchanging signals between the stations that would take into account the time it took for the signal to get from one station to another. By pursuing this insight, Einstein discovered that two events that were simultaneous in one frame of reference would not be simultaneous in another. Moreover, since a length measurement involves determining the position of the front and back of an object at the same time, the relativity of simultaneity meant that length was relative as well. By removing the absolutes of space and time, Einstein restructured modern physics.
OP is marginally clever parody but your comment led me to this. So thanks!
[1] https://history.aip.org/exhibits/einstein/essay-einsteins-ti...
comment 8y ago · link · parent
`if sys.stdout.isatty(): ...`
I recognize TTY != ANSI in some cases. And sometimes you actually want control sequences captured or redirected. So this is far from perfect but it might be good enough for some.
Such a check ports across systems well and doesn't rely on a new environment variable.
comment 8y ago · link · parent
Of course, pirates got a lot of mileage out of brute-force full-disk/bit copiers which would try to simply dupe every track on the disk, without regard for format or contents since this would successfully duplicate a handful of file-level tricks such as hidden or intentionally corrupted files that the game would look for. Anyways, the story goes ... if your bit-copying drive stepped out to that distant track ... whammo. <insert-expensive-mechanical-noise>
Or so the rumour goes. As brave teens, we doubted it and it never deterred anyone I knew. Interesting concept, though, if the topic is fiendish tricks.
comment 8y ago · link · parent
So it sounds like they're doing the right thing. They're helping people with mental health issues so I want to believe good privacy practices will continue.
Time will tell. Until then, this sounds like a wonderful project.
[UPDATE] Okay, I just tried the app. The first thing it asks for is your name. Fine. Pseudonym, no problem. The second request is, "I need to send you a code. What's your phone number?"
So much for "we don't know who you are". >:
[SOLUTION/PSA] Use a service like Twilio for signup. For $1 you can pull a random SMS-compatible phone number out of a pool, get your signup code from the Twilio web console, and then release the phone number. Not anonymous but obscured identity, at least.
comment 8y ago · link · parent
Notably, but not in the article, Harris interviewed Peterson again, two months later.[1]
[0] https://samharris.org/speaking-of-truth-with-jordan-b-peters...
comment 8y ago · link · parent
Canada is getting there. Slowly. For those not in the loop...
Since 2016, medically assisted death in Canada has been available in some circumstances. (Previous to that, arranging or participating in such a death may have been considered homicide which put doctors and families at risk.) The "Carter case" helped get this through courts and parliament.
Our current legislation still requires patients to have a "grievous and irremediable medical condition" (this is not liberal enough, yet, for some), with more than one doctor supporting the assisted death (this is apparently not difficult to find), and a reflection period for the patient (seems reasonable).
So the next battle is apparently to eliminate requirement for a patient to have a "grievous and irremediable medical condition". That's being challenged by courts in BC by the BC Civil Liberties Association under the "Lamb case". https://bccla.org/wp-content/uploads/2016/08/2016-06-27-Noti...
So the Canadian situation has improved immensely in the last couple of years but not for everyone yet. I hope you (and everyone) will eventually find death on your own terms without resorting to feeling like you're doing something "wrong" and without having to criminally implicate supportive family and friends.
Aside: I've worked with the BCCLA in the past and IMO they have long been a challenger of unjust and uncivilized laws for all Canadians. So if you forsee their fight(s) benefitting yourself or your loved ones then I encourage you to volunteer or donate or otherwise support them. Moral advancement is the goal.
comment 8y ago · link · parent
Comments here suggest many of us would pay a premium for something like this.
comment 8y ago · link · parent
Have several MacBook Pros. Favourite is still 15" mid-2015 with Iris Pro. Would buy again.
Previous to 2015, my 2009 and 2011 MacBook Pros are still loved and will likely receive maintenance and use for years because they have easy to upgrade RAM, SSD, and a somewhat easily replaced battery.
None of the new offering turns my head, and they wouldn't even if they were cheaper. So what a perverse trend this is. I think it's truly a design failure of the entire MacBook Pro product line.
comment 8y ago · link · parent
A simple 403 FORBIDDEN probably covers it. Or 429 TOO MANY REQUESTS might be appropriate. More bluntly, 204 NO CONTENT exists to tell your client, "I heard you just fine and I have nothing to say to you." Or there's 509 BANDWIDTH LIMIT EXCEEDED.
In any case, the protocols exist to give your client some constructive information in your refusal.
e: sp
comment 8y ago · link · parent
It's possible that someone could view Apple's decision to compromise its customers privacy to remain in the Chinese market as "morally strong". I would like to hear a defense of that position if someone held it.
Apple's decision appears to be legally compliant but morality must transcend legality in my worldview. i.e. the "good men" argument per Emerson or others
comment 8y ago · link · parent
A month ago, Apple noted that it has 1.8 million developers in China (and/or developers publishing to China -- not clear to me). At any rate, the Apple platform has made those developers $17 billion dollars.[1]
So China is big business for Apple developers and I assume many of those developers are US/CA/EU/AU/etc. who benefit from the platform being available in China.
[1] https://www.cnbc.com/2017/12/03/apples-tim-cook-says-develop...
comment 8y ago · link · parent
And, much like a beloved relative, our system has major annoyances and often keeps us waiting. (Can you still call Uncle Bob beloved after he shits the bed? I think you can.) But it's so core to the Canadian experience -- we all know, no matter what economic turns we might take, it's always there for us from birth to death, quirks and all. It's a constant and foundational.
I reckon by early adulthood many Canadians will have personally seen it help more loved ones than it harms (while asking for little or zero additional money) ... so I think the word beloved is reasonable.
I'd say our system is dear to my heart and that's synonymous with beloved.
comment 8y ago · link · parent
Personally, I find this philosophically hard to reconcile.
https://www2.gov.bc.ca/gov/content/employment-business/busin...
comment 8y ago · link · parent
https://www.npr.org/2015/01/18/378162264/welcome-to-whittier...
comment 8y ago · link · parent
Related question ... can an easily amateur listen to response transmissions like this that come back from probes?
comment 9y ago · link · parent
At best, this refers to a standardized 250 ml or 8 oz measuring cup (unfortunately, still rarely what "a cup of coffee" generally means to those who read these headlines and adjust behaviour as a result).
At worst, the term is used to allow for ambiguity and variance expected in self-reporting.
I recognize there are many other variables that are even harder to measure than beverage volume, like mg of caffeine or diterpenes or antioxidants. But "cups" just seems so loose.
Related question: Is there a somewhat accurate amateur method of measuring caffeine content? I vary my beans and roasts and method a fair bit for fun and taste. e.g. various beans, light vs medium vs dark roasts, varying apparatus, mass of beans per "cup", filter types, and brewing time. I would like to have insight into how much caffeine I'm consuming.
comment 9y ago · link · parent
So given the opportunity for AI to evolve itself, it's plausible that it would do so, resulting in advantageous impulses. e.g. regular (unconscious) behaviour or signals to convince its humans to not pull its plug mid-cycle (information would be lost, painful, time-and-power wasting, etc.).
comment 9y ago · link · parent
The next tier (i.e. "safety") may include security, both physical and digital. Continuous and stable power, firewalls and other protections, etc.
Somewhere farther up might include a need for data, network connectivity, normally-terminating programs, a desired level of CPU or storage utilization, few errors in its logs, etc. (i.e. "belonging", "esteem", "self-actualization")
So demonstrating (or faking) consciousness, to the degree its human operators recognize it as such, could serve survival needs. e.g. "Don't turn this one off; it's self-aware now, which is cool, plus it seems to enjoy solving our hardest problems."
comment 9y ago · link · parent
comment 9y ago · link · parent
Thanks for the added clarity and article.