Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hajile
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
301.
▲
by
hajile
1y ago
I come from a large family and have a large family. It’s hard, but definitely worth it. More objectively, research seems to indicate happiness tends to be less vs childless during the first hard years, but it slowly evens out and pale with
302.
▲
by
hajile
2y ago
Loongarch is built on MIPS, so the core predates RISC-V by decades. RISC-V didn't have the specs to build what they were targeting when they started designing a few years ago. Given the similarities in the ISAs, I suspect they may swit
303.
▲
by
hajile
2y ago
It would still use faster JIT mechanisms internally and make strong guarantees, but the interface would suck. JS really needs to add a "use type" or typed module feature with strong Hindley-Milner types. This would allow them to c
304.
▲
by
hajile
2y ago
Eldrich horrors like Comic sans may be discovered, but never created. Kermit Sans is like an artist's imagining of Cthulhu gleaned from the rantings of a person driven insane from glimpsing its Eldrich form.
305.
▲
by
hajile
2y ago
There is a decimal proposal for JS. It almost certainly won't use normal operators though because of the JIT implementor complaints about adding BigInt (not to mention recently dropping the record/tuple proposal over `===`). http
306.
▲
by
hajile
2y ago
The biggest number comparison oddity IMO is actually negative zero (in my experience, you usually get one by multiplying a negative number by zero on accident). 0 === -0 //=> true Object.is(0, -0) //=> fa
307.
▲
by
hajile
2y ago
I knew someone who would with an opaque ruler with a hole on one end. They would read the words through the hole and I guess it helped them stay focused on just the word or two they were reading. It sounds somewhat similar to what you are d
308.
▲
by
hajile
2y ago
There's certainly a large amount of anecdotal evidence that a decent percentage of dyslexic people benefit from using Comic Sans. I don't know if there has ever been a formal study though. There's also a view that all dyslexi
309.
▲
JavaScript TC39 record and tuple proposal withdrawn
(old.reddit.com)
2 points
by
hajile
2y ago
|
1 comments
310.
▲
by
hajile
2y ago
Scripting languages would be (usually interpreted) languages for doing small snippets of code. Examples would be bash, Applescript, python, etc. Application languages are generally managed/GC'd languages with JITs or AOT compilati
311.
▲
by
hajile
2y ago
This is almost completely down to Go's type terrible system and is more proof that Google should have improved SML/CML (StandardML/ConcurrentML) implementations/libraries rather than create a new language. They'd ha
312.
▲
by
hajile
2y ago
It's like saying they are both Turing Complete or that SML modules and Haskell typeclasses are functionally equivalent (even though their use in practice is quite different). Aactors must always have a known address to be accessed and
313.
▲
by
hajile
2y ago
22.7MB to download the latest release from Github (87.3MB unzipped). That's an insane amount of JS to download and compile (people often complain about React being ~50kb). The default recommended way to use it is `import * as echarts f
314.
▲
by
hajile
2y ago
I'm a big fan of VisX for the level of control it gives.
315.
▲
by
hajile
2y ago
That's like saying a dev would be confused that an Object can contain a list. I can't see that tripping up anyone but the most junior of developers.
316.
▲
by
hajile
2y ago
F# depends heavily on existing C# libraries and those are all OOP.
317.
▲
by
hajile
2y ago
Functions are just containers of calculations (the whole “code is data”). I don’t know why lists as values in a container would be confusing. Lots of very popular languages literally have box types which may not be exactly the same, but sho
318.
▲
by
hajile
2y ago
There's generally a strong preference for those basic chips to use planar nodes. This limits them to 28nm for TSMC and 22nm for GlobalFoundries (22FDX+ fab is actually in Dresden, but they announced plans to add a second 22FDX+ fab in
319.
▲
by
hajile
2y ago
There's still UI stuff that hasn't changed since Windows 3.1 minus the UI kit updates.
320.
▲
by
hajile
2y ago
TSMC was heavily sponsored by the Taiwanese government with the goal of making Taiwan so valuable that other countries would feel required to defend them against China. It is against their interests to outsource too much or outsource cuttin
321.
▲
by
hajile
2y ago
I forgot to add that you need a "\\" escape for when it appears before |, n, or u in text.
322.
▲
by
hajile
2y ago
I don't understand why CSV became a thing in the 70s when S-expressions existed since at least the 50s and are better in practically every way.
323.
▲
by
hajile
2y ago
NOTHING is very binding about the CSV spec and that's the biggest problem with CSV.
324.
▲
by
hajile
2y ago
What about S-expressions? Where do they break?
325.
▲
by
hajile
2y ago
Just use the polyfill https://github.com/zloirock/core-js#jsonparse-source-text-ac...
326.
▲
by
hajile
2y ago
To be specific (if anyone was curious), you can force BigInt with something like this: //MAX_SAFE_INTEGER is actually 9007199254740991 which is 16 digits //you can instead check if exactly 16 and compare size o
327.
▲
by
hajile
2y ago
In the JS spec, you'd be looking for 25.5.1 If I'm not mistaken, this is the primary point: > Valid JSON text is a subset of the ECMAScript PrimaryExpression syntax. Step 2 verifies that jsonString conforms to that subset, and
328.
▲
by
hajile
2y ago
I think pipe is better too. Typical latin fonts divide characters into three heights: short like "e" or "m", tall like "l" or "P" and deep like "j" or "y". As you may notice, lette
329.
▲
by
hajile
2y ago
It's hardly a bad idea to do a list of lists in JSON... The big advantage of JSON is that it's standardized and you can reuse the JSON infrastructure for more than just tabular data.
330.
▲
by
hajile
2y ago
While most people would prefer the second version, the first version is also valid JSON and will definitely see use when you want/need JSON but want to reduce data over the wire though you'd probably still see a wrapper object lik
More ›