Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hhas01
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
301.
▲
by
hhas01
7y ago
That is pathological nonsense. FDA already provides its Expanded Access (a.k.a. “compassionate use”) program for exactly this purpose. You know what’s worse than dying of cancer? Dying sooner, poorer, painfully, and with negative quality of
302.
▲
by
hhas01
7y ago
What could go wrong. https://sciencebasedmedicine.org/scientific-fraud-in-china/
303.
▲
by
hhas01
7y ago
Yeah, it’s a great, incredibly insightful paper, written by one of AppleScript’s original designers. It’s only a pity it wasn’t published a decade earlier, back when classic Mac OS developers were attempting to build Apple event bridges for
304.
▲
by
hhas01
7y ago
Funny enough, back when the Mac Automation devs were still getting JXA ready to throw away, one of the things I told Sal Soghoian to do was to add automatic AS-to-JS syntax translation to Script Editor’s Log pane. While it only translates o
305.
▲
by
hhas01
7y ago
"why not AppleScript?!" Rhetorical, shurely!?
306.
▲
by
hhas01
7y ago
Key insight: Apple event IPC is not OOP, it is RPC + simple first-class queries . It is far more closely related to SQL and relational databases than to DOM. Unfortunately, programmers look at AppleScript syntax, which is superficially O
307.
▲
by
hhas01
7y ago
Why? Contact the guy, talk to him.
308.
▲
by
hhas01
7y ago
Well, isn’t that true of everything? Being a bear of very little brain, it’s why I’m always searching for ways to decompose the larger problem into smaller, simpler, self-contained chunks. Plus, a less common perspective sometimes yields in
309.
▲
by
hhas01
7y ago
Yeah, decades of dragging myself over programming’s coals have made me super cynical, but I think that lots of programmers are really good at building tools and knowledge that are horribly inaccessible to anyone not already like them. And t
310.
▲
by
hhas01
7y ago
Unfortunately, JXA’s Apple event support is buggy and broken, and not a competent replacement for AS. AppleScript may suck as a language but at least it speaks Apple events right. JXA could’ve been Apple’s answer to Node.js, but it failed s
311.
▲
by
hhas01
7y ago
Fine-grained automation means Apple event IPC, which is very powerful and elegant, which for practical purposes means AppleScript, which is… not. I wrote production-quality Apple event bridges for half-a-dozen major languages (Apple even
312.
▲
by
hhas01
7y ago
“use me and my tool not functioning correctly for them as an excuse to not having the work done on time” Sorry, bud, that one’s on you. If you don’t understand your users—really get in their shoes and walk around in them—how can you hope to
313.
▲
by
hhas01
7y ago
“Then someone in the process changed things that the scripts did not understand.” Change control is an utter pig in any system, and bad process is bad process anywhere. The difference is that humans, being highly adaptable, tend to dynamica
314.
▲
by
hhas01
7y ago
Curious: from what I can see, a type system is really just an embedded declarative DSL for doing set algebra. So is there a technical reason why education and implementations always intertwine it with a larger client language, rather than t
315.
▲
by
hhas01
7y ago
You appear to be laboring under the gross misassumption that the human is there to take control when the machine fucks up. They are not. They are there to take the blame. You cannot realistically expect a human spectator to switch modes at
316.
▲
by
hhas01
7y ago
“wasn't entirely his fault” Nobody says it was; such disasters are often multifactorial. But given to his position that person holds key knowledge and insights into what went wrong that no-one else has. Without access to that informati
317.
▲
by
hhas01
7y ago
Typical code cowboy mindset: expects all of the glory, none of the responsibility. Kindly piss off and don’t come back until you’ve learned proper systems design. https://en.wikipedia.org/wiki/Fail-safe Self-driving so
318.
▲
by
hhas01
7y ago
“Didn’t fuck it up quite as badly as Perl” is hardly a robust defense. Contrast the upgrade cycle of Apple’s Swift. Same amount of user howling, of course, yet Swift has moved forward by 4 breaking releases in the time it’s taken Python to
319.
▲
by
hhas01
7y ago
www.askamanager.org
320.
▲
by
hhas01
7y ago
It’s the BBC News site, not a top-tier zoology journal. Given the one thing rarer than the Sumatran rhino is popular press readers who know what “extirpated” is, “Extinct in $location” is entirely appropriate phraseology. #KnowYourAudience
321.
▲
by
hhas01
7y ago
You know what makes birth rates drop? Higher standards of living. Families who don’t have to raise their kids to work a harsh unrelenting subsistence living, who don’t need to birth twice as many infants knowing half of them will die of mal
322.
▲
by
hhas01
7y ago
This. Meanwhile us westerners are so determined to hang onto what we already got, we won’t lift a finger to help them raise their own standards of living any less destructively. Oh well, let’s hope the next species to come along once we’ve
323.
▲
by
hhas01
7y ago
Nah, even with tooling the sloppy-2-to-tighter-3 migration was always going to be a semi-manual job. The right thing to do was embrace that transition: do it early, once , and never touch it again. Get everyone developing their code sole
324.
▲
by
hhas01
7y ago
Python 3’s Unicode support has its issues, e.g. try using `len()` on a string containing surrogate pairs. But it generally works and it’s internally consistent, which is far more than can be said for Python 2’s unholy shambles where str and
325.
▲
by
hhas01
7y ago
Undiplomatic, maybe, but not trolling. Outside a few crusty dusty grumpy old neckbeards, nobody on this planet gives a shit who gets to use which characters and dots. And frankly, I don’t think they’re wrong. Sure, what we have here is a sc
326.
▲
by
hhas01
7y ago
I'm shocked, shocked to find that graft is going on in here!
327.
▲
by
hhas01
7y ago
Not that I’m saying Mr Cabbage is running the biggest gaslit sealion park in America, but it sure does reek of bad egg and fish here.
328.
▲
by
hhas01
7y ago
This is a serious question, BTW. “Lots of people are using it” is testament neither to sound architecture nor practical need. Lots of people have joined MLMs; does that mean MLMs are good and needed? Or does it just mean lots people are eas
329.
▲
by
hhas01
7y ago
Quickly skimming the CWL User Guide, calling that a “language” is a huge stretch. Looks like writing a bunch of YAML config files which let you write more YAML files to construct a UNIX pipeline and run it. In which case, why didn’t you j
330.
▲
by
hhas01
7y ago
Good summary link. And yup, of course those “loopholes” are Features, not bugs. The folks crafting these edu laws are the same folks who craft the env and tax laws that enable billionaires and megacorps to shit in your drinking water and
More ›