Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
arnsholt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
arnsholt
6y ago
Was it a long castle? In that case, the squares the rook moves through don't block the move, it's only the squares the king moves through that block the castling move, so f8 and g8 for short castle and d8 and c8 for long castle.
122.
▲
by
arnsholt
6y ago
Banks really did use sexual violence as a signifier of some character or faction being supremely evil. Off the top of my head [spoilers ahoy, naturally], there's the institutional rape for entertainment in the empire of Azad in The Pl
123.
▲
by
arnsholt
6y ago
Perl 6 extends the regex system to be a full fledged recursive descent parser, which lets you do this kind of stuff. But as is pointed out in a sibling comment, a purely regular regex engine won't really do it since it's non-regul
124.
▲
by
arnsholt
6y ago
Those are more recent,and independent of the novels, but some of the original novels have been made into movies too. I'm not sure if all the novels have movies, but I particularly remember watching "The fire truck that disappeared
125.
▲
by
arnsholt
7y ago
This looks nice and all, but on the other hand it's kind of depressing how people are expending all this effort on Jupyter and surrounding stuff, just to make something that almost, but not quite as good as Smalltalk.
126.
▲
by
arnsholt
7y ago
Vision Zero is a part of national traffic policy, enacted by Parliament in 2002 according to the Directorate of Roads. Apparently the goal for 2030 is a maximum of 350 severe injuries and deaths, but the overarching goal for traffic policy
127.
▲
by
arnsholt
7y ago
My first guess for the slightly higher CPU floor of the Rust version is that the Rust code has to do slightly more work per request, since it will free memory as it gets dropped, whereas the Go code doesn't do any freeing per request,
128.
▲
by
arnsholt
7y ago
A very cool mashup of the Escobar hippos and the Louisiana plan is Sarah Gailey's American Hippo duo of short novels. In extremely brief: cowboys in the wild west, but on hippos on the Mississippi. Lots of fun, both books.
129.
▲
by
arnsholt
7y ago
Yeah, VSE is the culprit. I think the main reason the application was never moved off VSE is that the application is developed by a consultancy firm (my employer at the time) for a public-sector client, and the leadership of the client isn&
130.
▲
by
arnsholt
7y ago
I worked on a large legacy application (in production since 1996) implemented in Smalltalk for a couple of years. I don't feel we had any particular issues keeping the codebase consistent due to Smalltalk itself (there were some issu
131.
▲
by
arnsholt
7y ago
I'm guessing directional drilling techniques. I'm not sure exactly how they work, but I know that they are often used when drilling oil and gas production wells so that you can penetrate a reservoir laterally rather than drilling
132.
▲
by
arnsholt
7y ago
Yeah, that sounds even more... fun. It had most of User32 an friends (as of 1999 anyways) already wrapped from the Smalltalk vendor, thankfully.
133.
▲
by
arnsholt
7y ago
I ran into that at work a few years back. I was tasked with integrating OpenSSL into the commercial Smalltalk used for the project (last updated in 1999, for more or less good reasons). A priori, not an unreasonable task as the Smalltalk ha
134.
▲
Four kinds of documentation
(divio.com)
717 points
by
arnsholt
7y ago
|
199 comments
135.
▲
by
arnsholt
7y ago
Yeah, it all seems a bit hacky. Especially the bit where a caught exception bound to a variable is cleared at the end of the `except` clause. I'm pretty sure it's because if you didn't you'd get a reference cycle (except
136.
▲
by
arnsholt
7y ago
I think that feature has exactly zero chances of getting adopted, but that's probably one of my top Python annoyances too. If it's any consolation, the scope of a variable isn't determined by heuristics, it's just that t
137.
▲
by
arnsholt
7y ago
At least in modern usage, giving the exclam to signal "I prefer this opening move" isn't uncommon, so it's not a stretch to think that it was done in the seventies too. Also it rounds the whole thing out nicely to eight
138.
▲
by
arnsholt
7y ago
For your concrete example of display configuration, I think `xrandr` is the command you're looking for.
139.
▲
by
arnsholt
7y ago
In France you can also buy vegetables by the pound (une livre), but if course both of these are just shorthands for half a litre and half a kilo, respectively, they're not actually the old measures.
140.
▲
by
arnsholt
7y ago
Neil Shubin's Your inner fish (a pretty cool book, I might add) discusses this briefly in the introduction. From memory, it's a question of combining geological knowledge with knowledge of what you want to find. Basically, you&#
141.
▲
by
arnsholt
7y ago
It's also a lot younger. Hangul has ~600 years of history, which isn't that much in language terms, compared to Cyrillic which is more like 1500 years, IIRC.
142.
▲
by
arnsholt
7y ago
> small languages which reach "smallness" by giving access to a limited set of extremely powerful constructs That's one of the things I really loved when working in Smalltalk: the language gives you all of the building blo
143.
▲
by
arnsholt
7y ago
One thing I know of off the top of my head (because I had to deal with it last week) is the gcloud suite of tools for GCP, which will only run with 2.7. Thankfully the various GCP libraries for interacting with the platform do work on Pytho
144.
▲
by
arnsholt
7y ago
Java doesn't have unsigned integer types (except byte IIRC), so signed long is your only option. OTOH the bitwise ops are specced to operate as if they operated on twos complement represented signed integers, so you can at least do tha
145.
▲
by
arnsholt
7y ago
To build on this, related to the theme of blocks: Smalltalk syntax is almost entirely free of magical constructs that you can't easily replicate in user code (off the top of my head `self`, `super`, the `[]` syntax for blocks, and comp
146.
▲
by
arnsholt
7y ago
Somewhat to the side of your comment about "do it", but my experience of working in Smalltalk is that it's amazing . The project I was working on had been in production sine 1996, and the Smalltalk VM it ran on dated to 1999
147.
▲
by
arnsholt
7y ago
Smalltalk comes to mind. You might argue over whether it counts as modern or not, but working in Smalltalk for two years was something of a revelation to me, at least.
148.
▲
by
arnsholt
7y ago
For my thesis, I tried a couple of different options, but in the end the only one that really made publication-grade output was gnuplot with the epslatex terminal. It's a bit fiddly to get it up and running, but hands down the best res
149.
▲
by
arnsholt
7y ago
SmallTalk has the correct answer here, with its method chaining operator `;`, I feel. For cases like this where you build complex state on an object via method calls, it gives some pretty nice code. And since it's a separate construct,
150.
▲
by
arnsholt
7y ago
I think the presentation you're thinking of is Tom Christiansen's Unicode: The Good, the Bad, and the (mostly) Ugly : https://www.azabani.com/pages/gbu/
More ›