News for hackers. Stuff that matters.

_bAp_

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 checks with AJV

So you have no duplication and you're type safe.

Re:Block Fingerprinting with Firefox on Friday May 31, 2019 @05:39AM (#20059481)
He was talking about the competition, not Mozilla.
Re:Ask HN: Who is hiring? (February 2017) on Wednesday February 01, 2017 @01:12PM (#13543280)
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 campaigns on Facebook, Twitter and Instagram, at scale.

Our solution leverages a cutting-edge platform that automates and optimizes all social ads campaigns in one place, and a team of performance marketing experts who maximize ads efficiency.

Our intuitive tool and team expertise are leading to success thousand customers in hundred countries. MakeMeReach is vetted by Facebook, Twitter and Instagram as an Official Partner.

We are looking for a Full-Stack Software Engineer to join our amazing team. You will be part of a human-size, fun and fast-moving team and you will have a direct impact on the product. We would like someone who can learn quickly and play ping-pong at a professional level (last point optional).

Stack : HHVM (Hack), Angular, MongoDB, Coffeescript, Node.js, Ping-Pong, Foosball

Advantages : Startup experiencing exponential growth, Attractive wages, Amazing office in the center of Paris, Autonomy, Fun environnement, ...

Website : http://makemereach.com/

Apply : https://makemereach.workable.com/

Culture : https://www.instagram.com/make_me_reach/

Re:Awkward – A Node.js-based terminal emulator on Wednesday July 20, 2016 @01:29PM (#12130825)
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.