Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
frou_dh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
301.
▲
by
frou_dh
3y ago
I despise it when a conference presenter starts off by saying that they threw the slides together on the way there. Often as if they're oddly proud of that. It's basically coming out of the gate saying that you don't respect
302.
▲
by
frou_dh
3y ago
As the big name languages become a never-ending accretion of multi-paradigm features, then it just feels like a sort of Grey Goo landscape. There's a charm in things remaining true to themselves, even at the cost of maximum utility.
303.
▲
by
frou_dh
3y ago
Something I found really surprising about Python's regexp implementation is that it doesn't support the typical character classes like [:alnum:] etc. It must be some kind of philosophical objection because there's no way some
304.
▲
by
frou_dh
3y ago
The expectation vs reality seems reminiscent of earlier utopian ideas about the web itself and how instant access to all knowledge would change humanity.
305.
▲
by
frou_dh
3y ago
They know you need something to complain about, so are giving it to you upfront.
306.
▲
by
frou_dh
3y ago
Are you just looking for opportunities to post the exact string "noscript/basic (x)html" every day? https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
307.
▲
by
frou_dh
3y ago
I'm sure Apple internally discussed at length the implications of allowing their normal return policy before launching this product, so they will not be surprised about people using/abusing it.
308.
▲
by
frou_dh
3y ago
Apparently that is the goal, but not the reality: > Mojo is still early and not yet a Python superset, so only simple programs can be brought over as-is with no code changes. We will continue investing in this and build migration tools a
309.
▲
by
frou_dh
3y ago
Thanks for confirming. BTW, I vouch'd your comment because you seem to be shadow-banned.
310.
▲
by
frou_dh
3y ago
Many of those random userspace C programs (i.e. stuff in the (1) manpage section) could have been rewritten in e.g. OCaml just fine ages ago, if only people were paying attention and not in the curly brace mind prison.
311.
▲
by
frou_dh
3y ago
> The point of static typing is to allow an compiler to compile your code for performance reasons and nothing else. The relevant term is Type Checker. Static Type Checker: Something that checks types statically (i.e. by inspecting the
312.
▲
by
frou_dh
3y ago
To a first approximation, that's what it still is all these years later. The software might be called iPadOS now but it's not fooling anyone that it's much different to iOS.
313.
▲
by
frou_dh
3y ago
Who knew psychological analysis was as easy as homing in on a sensational tidbit? Masterful stuff. /s
314.
▲
by
frou_dh
3y ago
From what I remember of the Xbox 360 days it was seen as a great console vs. the PS3, and the Xbox Live service was seen as far superior, and was popular.
315.
▲
by
frou_dh
3y ago
Quite the opposite because IIRC this site gets tweaked in production using the Lisp REPL (and sometimes that has gone awry).
316.
▲
by
frou_dh
3y ago
I think it's more an issue of framing sometimes causing confusion, i.e. the ultimate trajectory is probably "crushingly slow → slow" rather than fastness coming in to it. (h/t https://news.ycombinator.com/
317.
▲
by
frou_dh
3y ago
As a Scala newcomer, the new-style Scala 3 syntax is all I know. So I tried to write my Mill build script using that syntax and IIRC just got an obscure error. Doh! Another instance of language ecosystem pain.
318.
▲
by
frou_dh
3y ago
I think of inheritance as just being a workaday implementation detail to facilitate code reuse in some scenarios. Polymorphism ("many forms") is more related to the concept of interfaces, but as you touch on has been equated wit
319.
▲
by
frou_dh
3y ago
It does make a lot more sense if messaging is asynchronous, because the metaphor breaks down immediately if sending any message requires the sender to freeze until a reply comes back.
320.
▲
by
frou_dh
3y ago
When it comes down to it, Hickey's talk does not even need to be referenced. The core of the peeve is that when the millionth "X is a simple library/tool/language for Y-ing" pitch is made, the question should be: On
321.
▲
by
frou_dh
3y ago
This great talk is a pet peeve inducer, because after watching it you will start noticing how often the word "simple" is still used as a platitude in programming circles.
322.
▲
by
frou_dh
3y ago
Probably because the term SSO (Single Sign On) was coined and used "sign", and the various "Sign in with $BigTechCompany" buttons are everywhere, so "logout" started conspicuously not matching.
323.
▲
by
frou_dh
3y ago
PostgREST overall is neat, but essentially this article is pointing out that it's possible to use a 'sprintf' equivalent SQL function as a grotty way to template HTML. That's one of the approaches of all time.
324.
▲
by
frou_dh
3y ago
"ruff" for Python which is displacing the flake8 linter (and in fact the "black" code formatter too) shows that this kind of thing can work fantastically well.
325.
▲
by
frou_dh
3y ago
On the other hand, the significance of that diminishes quite a bit if it it's only the case when JS/TS are separated in the ranking.
326.
▲
by
frou_dh
3y ago
Inspired by OCaml? That rings a bell. How's this for something pulled from the archives... when I was studying OCaml I saved a link to the presentation where the feature was introduced into that language :) https://youtu.be&
327.
▲
by
frou_dh
3y ago
That's what option and result types are for, so you don't need to mess with in-band signalling.
328.
▲
by
frou_dh
3y ago
I similarly didn't know much about him beyond being the JSON/JS-book guy, but found this podcast episode very enjoyable https://corecursive.com/json-vs-xml-douglas-crockford/ in which he details a cool career
329.
▲
by
frou_dh
3y ago
Are you not familiar with photography as a way to document moments in life?
330.
▲
by
frou_dh
3y ago
Internet Explorer references are overall just stale. Most uses of the catchphrase "X is the new IE" are basically shorthand for "I personally don't like browser X".
More ›