Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jestar_jokin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
1.
▲
by
jestar_jokin
5y ago
As you say, it's just a matter of familiarity. Sounds like you just need exposure to more programming languages/paradigms, as it's a pretty common convention. I believe it comes from the ML family. OCaml[0] springs to mind. A
2.
▲
by
jestar_jokin
5y ago
Sounds like a problem with some API trying to make everyone happy. Could be avoided by having more functions, one for each case. (Only if you control the code, of course.)
3.
▲
by
jestar_jokin
5y ago
I know Tom Scott, known now for his YouTube videos, was on the forums (I produced a remix for a charity single he made). He's turned out overwhelmingly wholesome and level-headed.
4.
▲
by
jestar_jokin
5y ago
There's libraries that let you define a schema programmatically, and then infer the types. https://github.com/sinclairzx81/typebox
5.
▲
by
jestar_jokin
5y ago
So a candidate has to know someone who's already in the company? Which means they probably went to the same school/uni. Rough for anyone outside your bubble. Or they cold-call people at the company, hoping to get the goss. Staff k
6.
▲
by
jestar_jokin
5y ago
Are they also going to remove Python, Ruby, NodeJS, PHP, and every other programming language runtime? Why not? Hopefully Graal gets more traction, so these Java (and Ruby, NodeJS, Python etc) apps can be compiled to native code, if just to
7.
▲
by
jestar_jokin
5y ago
Libs provide something out of the box to do this, e.g. `ts-essentials` provides `Opaque`, so you just write `type DateString = Opaque<string, 'DateString'>`
8.
▲
by
jestar_jokin
5y ago
No good if you need to convert between time zones, IME.
9.
▲
by
jestar_jokin
5y ago
date-fns does not support time zones, so it's not really comparable. (Although it looks like `js-joda` doesn't contain the time zone database, for that you also need `@js-joda/timezone`, and the IANA TZ DB as generated by `mo
10.
▲
by
jestar_jokin
5y ago
Windows 8 really broke the UI, to support tablets, and the OS has never recovered. :(
11.
▲
by
jestar_jokin
5y ago
Doesn't Flutter fail point 1: all widgets are custom rendered (OpenGL) things? So integration with the host OS's capabilities may be lacking (e.g. accessibility features).
12.
▲
by
jestar_jokin
5y ago
What "prevailing socialist false narrative" are you talking about? I don't see how print media, owned 62.4% by Fox News/Murdoch and 26.4% by Nine (chaired by Peter Costello, former treasurer for the conservative Liberal
13.
▲
by
jestar_jokin
5y ago
South Australia has been doing pretty well with a renewables-backed grid. There was a smear campaign in 2016 regarding a state-wide blackout, caused by severe weather affecting the distribution & transmission infrastructure. [see #1] Th
14.
▲
by
jestar_jokin
5y ago
A forward-thinking government would be incentivising a diverse economy, subsidised by the windfall from the currently profitable industries. Instead, the incumbant governments just subsidise the inumbant industries; or rather, the existing
15.
▲
by
jestar_jokin
5y ago
I think this article misunderstands the list of supported processors. The Microsoft page is for hardware developers, e.g. laptop and desktop manufacturers. They shouldn't be using CPUs that aren't currently manufactured/suppo
16.
▲
by
jestar_jokin
5y ago
It's German punctuation. https://www.thoughtco.com/german-zeichensetzung-punctuation-...
17.
▲
by
jestar_jokin
6y ago
The danger is that a developer will use `svelte.each()`, thinking it uses the same rules as normal JS syntax, but it turns out Svelte applies its own rules which _are_ slightly different (hypothetically). So the developer must remember a ne
18.
▲
by
jestar_jokin
6y ago
> the algorithm has transformed our world in its image So it is, and so it will ever be. https://en.wikipedia.org/wiki/Historical_materialism > history is the result of material conditions rather than ideals
19.
▲
by
jestar_jokin
6y ago
I remember it from 2001...! It was very helpful in exposing me to genres I would never have otherwise known about from my semi-rural upbringing.
20.
▲
by
jestar_jokin
6y ago
I've got a team that insists all types go into `.d.ts` files. For every type internal to the app (an API backend). The types are never exported, not even to the frontend. Apparently because the tech lead thinks importing types is noise
21.
▲
by
jestar_jokin
6y ago
I evaluated formats for online docs for a Node.js library I was writing. Asciidoc(tor) was the only one I found that was available as JS lib (thanks to Asciidoctor.js), but more importantly, it could include marked sections from external co
22.
▲
by
jestar_jokin
6y ago
The Competitive Enterprise Institute is an industry advocacy group, with ties to Koch, coal, tobacco. https://www.sourcewatch.org/index.php/Competitive_Enterprise... Their "scientists" have no relevant creden
23.
▲
by
jestar_jokin
6y ago
A MIDI sequencer just outputs MIDI instructions, it doesn't generate sound unless it implements a synth (sound generator) of some sort. You'd need to install something like loopMIDI, and direct the output of the sequencer to the i
24.
▲
by
jestar_jokin
8y ago
Right, because managers never need feedback on how well they're managing their staff...?! Some shops have "360 degree reviews", where you need to get reviews from your colleagues and people you serve (or to use an ungenerous
25.
▲
by
jestar_jokin
8y ago
As a low-cost option, maybe Google Forms? You could define it as a survey, defining your "process" and "signoff" fields. The results can be automatically recorded into a "Google Sheets" document, for easy repor
26.
▲
by
jestar_jokin
8y ago
I don't think renewable energy will solve all our upcoming issues, trying to keep our current global population fed and living nicely. (Plastic contamination of the biosphere, food production capabilities, deforestation for farmland &a
27.
▲
by
jestar_jokin
8y ago
Given the uncertain business direction, you will definitely need to make the code easy to change. Low quality code inhibits that.
28.
▲
by
jestar_jokin
8y ago
In programming, type contracts are not. Wouldn't it be nice if we had some sort of infallible static analysis tool that absolutely determines what constitutes a breaking change in your codebase?
29.
▲
by
jestar_jokin
8y ago
The issue is that because not everyone follows SemVer, you have to assume that no-one follows SemVer and act defensively, otherwise you will have problems. Ideally, there would be a tool that can inspect your entire codebase and determine i
30.
▲
by
jestar_jokin
8y ago
I've noticed the UI to be a bit schizophrenic. The list view has one way of displaying a ticket, but a ticket's details has another way of displaying the ticket. It's slowly becoming standardised, but I always have to hunt ar
More ›