Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_bAp_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
_bAp_
7y ago
I had the same problem and used a JSONSchema as a single source of truth. Then from that schema you can generate: - the typescript interfaces: https://www.npmjs.com/package/json-schema-to-typescript - the runtime check
2.
▲
by
_bAp_
7y ago
He was talking about the competition, not Mozilla.
3.
▲
by
_bAp_
10y ago
MakeMeReach | Paris, France (near Opera) | Full Time | Onsite MakeMeReach is a fast-growing social ad tech company. We empower agencies (Havas, Dentsu-Aegis, GroupM...) and advertisers (Meetic, BlaBlaCar, L’Occitane...) to outperform their
4.
▲
by
_bAp_
10y ago
Not intuitive enough apparently ;) $NR stores the number of records (or the current record number) not the number of fields (that's $NF). In the example the "NR > 1" is meant to exclude the header line from the output.