Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hajile
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
331.
▲
by
hajile
2y ago
JSON doesn't fail for very large values because they are sent over the wire as strings. Only parsers may fail if they or their backing language doesn't account for BigInts or floats larger than f64, but these problems exist when p
332.
▲
by
hajile
2y ago
It seems to be indicated by RCF-4180 which says > This header will contain names corresponding to the fields in the file and should contain the same number of fields as the records in the rest of the file But of course, CSV is the wild w
333.
▲
by
hajile
2y ago
Can you point me to a language with any significant number of users that does NOT have a JSON library? I went looking at some of the more niche languages like Prolog, COBOL, RPG, APL, Eiffel, Maple, MATLAB, tcl, and a few others. All of the
334.
▲
by
hajile
2y ago
CSV is lists of lists of fixed length. JSON is lists of lists of any length and groups of key/value pairs (basically lisp S-expressions with lots of unnecessary syntax). This makes it a superset of CSV's capabilities. JSON fundame
335.
▲
by
hajile
2y ago
JSON has a clearly-defined standards: ISO/IEC 21778:2017, IETF RFC 7159, and ECMA-404. Additionally, Crockford has had a spec available on json.org since it's creation in 2001. Do you have any examples of Python, Java, or any of t
336.
▲
by
hajile
2y ago
If you want to stream large volumes of row-oriented data, you aren't reading yourself and you should be using a binary format which is going to be significantly smaller (especially for numeric data).
337.
▲
by
hajile
2y ago
Essentially nobody uses JSON without a library, but tons of people (maybe even most people) use CSV without a library. Part of the problem here is standards. There's a TON of encoding variations all using the same .csv extension. Makin
338.
▲
by
hajile
2y ago
The argument against JSON isn't very compelling. Adding a name to every field as they do in their strawman example isn't necessary. Compare this CSV field1,field2,fieldN "value (0,0)","value (0,1)",&q
339.
▲
by
hajile
2y ago
Churn complaints are older than Angular 2. We'd gone through an entire cycle of churn around templating engines (mustache, handlebars, ejs, jade/pug, nunchucks, underscore, lodash). Gen 1 wars (up through 2010-ish), we had: jQuery
340.
▲
by
hajile
2y ago
VanillaJS is a worse solution. When the JS framework benchmark first came out, VanillaJS was the fastest. After some of the vdom frameworks came out (especially InfernoJS), VanillaJS was slower. How did they make VanillaJS faster? They stud
341.
▲
by
hajile
2y ago
The big problem with scaling JS on the server is threading. There's simply no way to do it. You can spin up multiple processes, but then the communication overhead gets you. The spec committee needs to bake in actors and they need to a
342.
▲
by
hajile
2y ago
You still can't add features like error boundaries in React without class-based components somewhere in your app. Even if they added these features to functional components today, it would be years before they'd consider them safe
343.
▲
by
hajile
2y ago
There's a disconnect between how a computer wants to do things and how a human wants to do things. This disconnect isn't so noticeable on the backend where the problems are generally related to scaling (as there isn't a gener
344.
▲
by
hajile
2y ago
LLVM and GCC succeed because it’s cheaper to add support to a couple open tools than build your own competing compiler.
345.
▲
by
hajile
2y ago
ARM just sued their largest customer. ARM just announced they are manufacturing their own chips for the first time further threatening their customers (despite testifying the exact opposite in court a couple months ago). Since SoftBank took
346.
▲
by
hajile
2y ago
The current crop of cores were designed several years ago before some key standards were adopted. They exist mostly to experiment and allow early adopters to develop software. Next generation cores from companies like Ventana claim very hig
347.
▲
by
hajile
2y ago
An M4 air will run circles around Lunar Lake being over 30% faster at geekbench (both single and multe-core) and over 40% faster at Cinebench 24. The GPU is 25-35% faster too. Air is also 60-80% faster at Geekbench AI. People spent a decade
348.
▲
by
hajile
2y ago
One of the leakers who got this Mac Studio right claims Apple is reserving the M4 ultra for the Mac Pro to differentiate the products a bit more.
349.
▲
by
hajile
2y ago
Poke around on jobs.apple.com looking at developer positions and everything will become clear. There seem to be at least an order of magnitude more outsourced software development jobs than jobs within the US/EU. You don't outsour
350.
▲
by
hajile
2y ago
> The way I see it, the yearly release cycle is to blame. I don't see a connection between yearly release cycles and a broken notes application. They shouldn't be doing anything that is particularly affected by such changes and
351.
▲
by
hajile
2y ago
That contract is made in exchange for your willingness to use their product and your willingness to use Mozilla is what gets them big contracts from companies like Google.
352.
▲
by
hajile
2y ago
In what countries is this FAQ (removed in their PR) not seen as a legally-binding contract with all current Firefox users? It seems like a very clear contractual obligation in the US. { "@type": "
353.
▲
by
hajile
2y ago
C is usually 1-4x faster than Haskell. This looks to be within 1-2x. The key takeaway for me is that you're in the range where very slight variations in implementation of the same algorithm make the difference between which is faster.
354.
▲
by
hajile
2y ago
Both were wrong, but only one was corrected. > If the maintainer (or anyone) is unreasonable, then the only approach is to have someone with more authority weigh in and make the decision to bypass their objections or sustain them (which
355.
▲
by
hajile
2y ago
If Linus thinks that the social media angle is wrong, he should defuse situations before they become explosive because even if one of the devs didn't bring up the drama, there are dozens of news companies that would have printed up ar
356.
▲
by
hajile
2y ago
Point-free is a functional programming style where you avoid assignments and prefer to do everything as a group of nested, mapped, and composed functions. It relies heavily on partial application. Like everything, it can be good when used i
357.
▲
by
hajile
2y ago
> Nah, C actually is small, I'd argue that C is much bigger than K&R, but that isn't immediately visible to a new programmer because it's all undefined behaviors.
358.
▲
by
hajile
2y ago
I feel that he got a lot of pressure from the FP community and wrote a bunch of nonsense instead of being straightforward with them. The only relevant reason he lists is point-free, but he doesn't go far enough. Point-free very often t
359.
▲
by
hajile
2y ago
Pretty much all of those changes look bad to me.
360.
▲
by
hajile
2y ago
Even if you look at just computer games, Windows has a smaller share than any time since the 1980s. If you include the massive mobile gaming market, Windows gaming is an even tinier percentage of the overall market (maybe even <10%).
More ›