Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ash
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
ash
3y ago
> does auth contains a CSRF token? Yes, it looks like it does. Also, the vote auth param is different for every link.
32.
▲
by
ash
3y ago
What is the logical fallacy here?
33.
▲
by
ash
3y ago
The 2017 law changed the way software development expenses are counted for tax purposes. 2023 taxes are the first taxes this rule affects. Details: https://www.onlycfo.io/p/new-tax-rule-is-terrible-for-softwa...
34.
▲
by
ash
3y ago
The author does cover this point, further in the thread. > An example: > A company has $1.2M in revenue; and $1M in costs (let's assume all costs are employing devs fulltime). > Before 2022: the profit of the company is $200K.
35.
▲
by
ash
3y ago
Fines are often gamed: lobbying, legal defence. I would argue big companies care more about losing customers. Сompetitive pressure is more effective than laws and fines. And laws are not without downsides, including becoming barriers to ent
36.
▲
by
ash
3y ago
Yes, in the context of JSON handling by JavaScript. I meant string keys that can be interpreted as non-negative numbers. Those are traversed first, the rest of the keys are coming in insertion order. For example: > JSON.stringify({
37.
▲
by
ash
3y ago
SQLite JSONB does maintain order: https://news.ycombinator.com/item?id=38547254
38.
▲
by
ash
3y ago
There are situations where keeping order is useful. For example, human-editable json config files. I also gave an example of two implementations that are compatible for a useful subset of keys. By the way, SQLite JSONB keeps object keys in
39.
▲
by
ash
3y ago
What about SQLite JSONB? Does it maintain order? UPDATE: I think SQLite JSONB does maintain order. For example: select json(jsonb('{"a": 1, "b": 2, "c": 3, "d": 4}'));" -- {
40.
▲
by
ash
3y ago
> Javascript environments ... guarantee that they'll preserve object key order when JSON is evaluated Yes, but only for non-integer keys.
41.
▲
by
ash
3y ago
Yes, but it's not impossible to achieve it in practice. For example, JavaScript JSON.stringify and JSON.parse have well-defined behaviour: > Properties are visited using the same algorithm as Object.keys(), which has a well-defined
42.
▲
Go Testing by Example [video]
(research.swtch.com)
178 points
by
ash
3y ago
|
47 comments
43.
▲
by
ash
3y ago
I've posted it because I'm always on the lookout for simple solutions for complex problems, and especially for how these solutions are designed. The post describes the design process well. Also Rob Pike is a great technical writer
44.
▲
Gobs of data (2011)
(go.dev)
89 points
by
ash
3y ago
|
58 comments
45.
▲
by
ash
3y ago
Hello Tero! Do you have project example using Nue (however small)?
46.
▲
Sentry's Open Source Values
(blog.sentry.io)
2 points
by
ash
3y ago
|
0 comments
47.
▲
X Marks the Motivated Reasoning
(world.hey.com)
2 points
by
ash
3y ago
|
1 comments
48.
▲
by
ash
3y ago
The Dream Machine by M. Mitchell Waldrop. Weaves fascinating history of personal computing and internet through J.C.R. “Lick” Licklider biography.
49.
▲
by
ash
3y ago
I agree that pronouncing identifiers over the phone is rare. But I’m occasionally typing identifiers from: 1. a screenshot or a screen share that contains an identifier 2. another device where I can’t easily take an identifier
50.
▲
A case for ClojureScript 2.0
(tonsky.me)
11 points
by
ash
3y ago
|
1 comments
51.
▲
by
ash
3y ago
How do you enable HDR on iPhone for viewing?
52.
▲
by
ash
3y ago
How can it be used? What browsers and what operating systems support it?
53.
▲
by
ash
3y ago
Duplicate: https://news.ycombinator.com/item?id=36384625
54.
▲
Display brighter-than-white color on Apple devices
(github.com)
321 points
by
ash
3y ago
|
179 comments
55.
▲
UI library for relational language (2017)
(scattered-thoughts.net)
2 points
by
ash
3y ago
|
0 comments
56.
▲
Reflections on a decade of coding: Emotional Management
(scattered-thoughts.net)
2 points
by
ash
3y ago
|
0 comments
57.
▲
A practical relational query compiler in 500 lines of code (2016)
(scattered-thoughts.net)
4 points
by
ash
3y ago
|
0 comments
58.
▲
Ian Hixie's retrospective about the WHATWG
(ln.hixie.ch)
1 points
by
ash
3y ago
|
0 comments
59.
▲
by
ash
4y ago
This discovery of the early galaxies seems to make “huge-looking iPhones far away” xkcd obsolete.
60.
▲
by
ash
4y ago
Why would it be bright white?
More ›