Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xelxebar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
181.
▲
by
xelxebar
2y ago
https://ja.m.wikipedia.org/wiki/%E6%98%AD%E5%92%8C%E6%9D%91_...
182.
▲
by
xelxebar
2y ago
It's not racism so much as conservative protectionism. The smaller the town, the more their functioning relies on the cooperative efforts of individuals. Like, the fire brigade is likely just a handful of farmers who agree to do drills
183.
▲
by
xelxebar
2y ago
I lived in a small village deep in the West Fukushima mountains for a bit. Population: ~1000. The summers bustle with rice, baby's breath, and millions of dragonflies in the paddies. The mountain water is so clean it almost tastes swee
184.
▲
by
xelxebar
2y ago
AFAIK, libfyaml[0] (not to be confused with libyaml) passes the 1.2 test suite, and if I remember correctly, it's currently the only YAML loader with that claim at the moment. The yaml.orf website also lists a bunch of implementations,
185.
▲
by
xelxebar
2y ago
> YAML has too many footguns (boolean conversions being the first among them) Copying my own comment from elsewhere: https://news.ycombinator.com/item?id=43670716 . This has been fixed since 2009 with YAML 1.2. The proble
186.
▲
by
xelxebar
2y ago
The fix is to make conversion user-controllable. If you want to disallow bare scalars except for booleans and numbers or whatever, it's just a little bit of configuration away.
187.
▲
by
xelxebar
2y ago
This has been fixed since 2009 with YAML 1.2. The problem is that everyone uses libyaml (_e.g._ PyYAML _etc._) which is stuck on 1.1 for reasons. The 1.2 spec just treats all scalar types as opaque strings, along with a configurable mechani
188.
▲
Comparing Open Source BGP Stacks
(elegantnetwork.github.io)
3 points
by
xelxebar
2y ago
|
0 comments
189.
▲
by
xelxebar
2y ago
> rewrite it in a real language This refrain shows up in every shell script discussion here, and hot take, I find it mostly ill-founded hogwash. Some of the worst spaghetti code I've seen is such Python and Javascript rewrites. Choi
190.
▲
by
xelxebar
2y ago
OP mentions "old languages" like COBOL and Fortran, which first appeared around 1959 and 1957, respectively. APL showed up around 1966, so it's in the same ballpark era-wise. More to the point of OP's question, however,
191.
▲
by
xelxebar
2y ago
What a perceptive question! Learning boring technology and invisible infrastructure definitely can pay dividends. I don't think it's worth learning in isolation, but if you also engage in the relevant communities (think mailing li
192.
▲
by
xelxebar
2y ago
> Many newer languages include a macro system to enable extensibility, but few would argue that the new batch of macro systems have achieved the expressiveness and fluidity of macros as they exist within the Lisp tradition, which include
193.
▲
by
xelxebar
2y ago
What reflections do you have putting this into action over the year since that post? BTW, your blog is one of my absolute favorites!
194.
▲
by
xelxebar
2y ago
We're definitely on a similar wavelength. I actually own a couple Japanese abaci and know the basics. Top performers feel near magical: double-fisters[0] and blazingly fast mental arithmetic [1]. [0]: https://www.youtube.com&
195.
▲
by
xelxebar
2y ago
How timely! I just learned how to use a slide rule yesterday. Looking to pick one up, and a bit overwhelmed by the plethora of choices, I went down a small rabbit hole[0]. Some slide rules produced are pure works of art! Lately, I've b
196.
▲
by
xelxebar
2y ago
Or said another way, forces carry the structure of G-torsors! The terminology is way too pompous for such a simple concept, though. John Baez has a really clean writeup on them, accessible to anyone interested: https://math.ucr.e
197.
▲
by
xelxebar
2y ago
> it leads to exploits or errors You are blaming implementation failures on the language design. That's kind of my whole gripe. Instead of wasting cycles on inventing new languages, I wish we'd pool resources into fixing libyam
198.
▲
by
xelxebar
2y ago
I totally feel you on the implementation side. The formalization used in the spec leaves a lot to be desired, and the spec devs seem to recognize this well. One of the aims of my dayaml[0] project is to explore a completely different formal
199.
▲
by
xelxebar
2y ago
Okay, permit me a curmudgeonly rant. As someone who has implemented a YAML parser and spent way too much time dissecting the spec along with analyzing various implementations, StrictYAML smacks of simple ignorance. The page describing the p
200.
▲
by
xelxebar
2y ago
Man, lately I've been amazed by how many performance tricks like these are just bog standard APL. For example, string interning looks like this: strs←∪input_strings ⍝ Build strs⍪←⊂'new string' ⍝ Append str
201.
▲
by
xelxebar
2y ago
I have a function f: R -> R such that f(0)=1 and f'(x)=f(x). Is this concealing a parameter? It turns out we can deduce that f(x)=e^x, so f(x)=pow(e,x), so maybe? But wait, is pow concealing another parameter? Indeed, exponentiati
202.
▲
by
xelxebar
2y ago
Root notation isn't really _concealing_ anything. The fact that it's mostly equivalent to exponentiation by half is a theorem. Do we need to admit that 2 is concealing 1+1, thus making the game impossible? Given the prevalence of
203.
▲
by
xelxebar
2y ago
The connection isn't immediately obvious, but it's simply because solving for the maximum entry distribution that achieves a given expectation value produces the Botlzmann distribution. In stat mech, our "classifier" ove
204.
▲
by
xelxebar
2y ago
IMHO, it's more misleading than helpful to try translating single words, devoid of context. That said, 宇宙 and 全宇宙 are definitely used in space documentaries and academic cosmology contexts where English would use "universe",
205.
▲
by
xelxebar
2y ago
APL Discord is quite active: https://aplwiki.com/wiki/Chat_rooms_and_forums Dyalog actually allocates respectable resources to helping beginners. In particular, Adám is crazy knowledgeable about APL and extremely avail
206.
▲
by
xelxebar
2y ago
A page? I sure hope not. The whole training and inference code for a U-Net architecture in APL is only about 30 lines, with inference direction only taking up 4 or so lines. Assuming you know APL, the code is actually really straightforward
207.
▲
by
xelxebar
2y ago
Large parts of Sweden's health system run on APL; Deutsche Bank also uses lots of APL; Denkmark has an appreciable number of companies using APL. IMHO, the problem isn't the scalability of APL (Dyalog, specifically) but more that
208.
▲
by
xelxebar
2y ago
The terminology was probably chosen specifically to be somewhat clickbait, so it's probably not worth picking apart the words "habitable zone". The core idea really boils (heh) down to water, _i.e._ the "universal solven
209.
▲
by
xelxebar
2y ago
Oh, cool. This came up in a conversation a work somewhat recently, which is where I first heard the term. The basic idea is slick but straightforward: Say you have a multidimensional array, A[i][j] for concreteness. A loop over the array wi
210.
▲
by
xelxebar
2y ago
Good memories of my Real Analysis course in undergrad. I'm also a fan of the Devil's Staircase [0], a function that is both continuous everywhere and constant almost everywhere, while still managing to climb from 0 to 1. [0]: http
More ›