Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
diatone
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
diatone
5y ago
Good business… ceteribus paribus. Which is to say, rarely if ever at all.
122.
▲
by
diatone
5y ago
Come on, "should have" really depends on a lot here.
123.
▲
A Crash Course in Bad UX
(diatone.net)
2 points
by
diatone
5y ago
|
0 comments
124.
▲
by
diatone
5y ago
In case anyone’s interested in the math to get the dice answer, it’s (1 + 2 + … + 6) * 2500 / 6 = 8750. At least, I think it is
125.
▲
by
diatone
5y ago
The fraud indicator in this case is that the card is a dupe, hence why the machine couldn’t read it and the number needed to be manually entered. So when the charge went through, some poor soul elsewhere in the world had to issue a chargeba
126.
▲
by
diatone
5y ago
So in other words, the kind of thing that typically is suited to academic peer review? I don’t want to sound cynical, and this certainly isn’t ideal from a “cultivate a vibe of intellectual humility and curiosity” perspective, but is it a s
127.
▲
by
diatone
5y ago
Gonna throw a hat in for Deno. It’s not super mature, but you can certainly write isomorphic React + some MVC code in a monolith - nothing to sneeze at, looks promising. I think tooling to generate typesafe SQL methods from inspecting a DB
128.
▲
by
diatone
5y ago
No concurrency? No events. No more than a single team running a single service (even a monolith)? No events. Not dealing with asynchronous 3rd party APIs (eg: webhooks)? No events. Not dealing with arbitrarily many hosts/processes/
129.
▲
by
diatone
5y ago
Next Advent of Code, grab yourself a download of Portacle and see how far you can get with Lisp. By day 7 you should have a feel for what people mean when they say you are directly editing the AST. Basically: there is the same amount of fri
130.
▲
by
diatone
5y ago
The results are interesting. It seems like there is a lot of clustering going on in the regression data. It could be worth investigating if instead of a linear relationship between sleep quality and consistency with academic performance,
131.
▲
by
diatone
5y ago
Looks like GP is drawing a distinction between deliberate application of good management skill, and reliance on the initiative of others. Unless you’re implying that good management is minimal (potentially zero) management?
132.
▲
by
diatone
5y ago
To everyone asking for a recording: I appreciate the curiosity, but we were very much a live act. But I hope my little story encourages you to pursue the arts, and nurture them in your local area. Your local live music scene needs your supp
133.
▲
by
diatone
5y ago
Anecdote: I distinctly remember being on the edge of sleep writing a song one night in 2019. I was about to fall asleep on the floor with a notebook in my hand, and just at that moment, the music came into my mind. For whatever reason, I wa
134.
▲
by
diatone
5y ago
https://teachyourselfcs.com/ edit: worked for me. Went from working as a Mech Eng with degrees in mechanical engineering & econometrics to software engineering. Also very similar to yourself re: startup experience. Good
135.
▲
by
diatone
5y ago
Pretty close with the JS, just change testClass.callHoHe to testClass.prototype.callHoHe and you're good to go. Agreed about btoa and atob, since they're globally scoped and I'm not sure if they can be overwritten...
136.
▲
by
diatone
5y ago
Constrained by, yes. Defined by, no.
137.
▲
by
diatone
5y ago
GP wasn’t stating that a larger stock of cash is definitively not a parameter of inflation, but that it is not the only parameter. As to your question about the other factors, here’s a thought experiment: if I printed cash daily but locked
138.
▲
by
diatone
5y ago
As someone who enjoys sharing a similar sense of humour and outlook as the people I work with, I'm personally more than happy to spend 15 minutes goofing around before a day of knuckling down and getting shit done. YMMV
139.
▲
by
diatone
5y ago
Speaking from experience, last year we had an outbreak in Melbourne, Australia. The local government's response was guided by modelling from epidemiologists (and others), and went on to match the peak and length of the outbreak to the
140.
▲
by
diatone
5y ago
As a counterpoint, and as someone who was hospitalised after a motorcycle accident, it's not the probability of a crash that's the worry, but the severity. With that said, I agree with GP: riding in the open air is liberating. Som
141.
▲
by
diatone
5y ago
> Doesn't it introduce a weird (stateful!) computation that's hard to reason about? Yes and no. For example, maybe you want to initialise a temporary directory on the filesystem for writing files to, for some caching mechanism.
142.
▲
by
diatone
5y ago
You may want to check out the Flux party, they've been around for a number of years now: https://voteflux.org/about/faq/
143.
▲
by
diatone
5y ago
+1 to statistics and linear algebra. Beyond practical uses, I'd say calculus is essential for having a robust understanding of rates of change in different contexts. I remember when my thesis supervisor gave me an intro to three-dimens
144.
▲
by
diatone
5y ago
Just confirming I’m on the right page here, what about supply and demand? Doesn’t inflation increase the quantity of cash in existence, reducing its value relative to other units of exchange, and vice versa for deflation? So for example, a
145.
▲
by
diatone
5y ago
Ever wanted to serialize a closure? https://sep.yimg.com/ty/cdn/paulgraham/bbnexcerpts.txt
146.
▲
by
diatone
5y ago
Agreed. Another situation where type keys aren’t the grinch is de/serialisation. A contrived example: it’s somewhat simple to imagine the first example as half of a request handler, taking in some string input, asserting it’s within th
147.
▲
by
diatone
5y ago
If I understand correctly, GP wasn't necessarily stating that Clojure guarantees an absence of boilerplate for every use case, but instead that it doesn't require boilerplate to be written every time you use it. I'd encourage
148.
▲
by
diatone
5y ago
It’s also worth considering the scope of intended and realised meanings in a work, and whether or not we’d consider that dynamic as one worth pursuing in the future. Kind of like the old joke about English teachers looking too deeply into c
149.
▲
by
diatone
5y ago
If you're happy to ignore that initial part of entering the fuzzy search, "fuzzy search" or "fuzzy find" would have instantly registered in my mind those same examples you brought up. Maybe a qualifier, "on dem
150.
▲
by
diatone
5y ago
Having no experience in this area, I think it might have to do with text en/decoding - https://en.wikipedia.org/wiki/Mojibake I'd recommend using another tool for this while I investigate, sorry.
More ›