skysight-inc/HackerNews huggingface dataset:
I started out using JSMN for parsing JSON in our embedded devices at work, but the requirement to pre-allocate all the tokens turned out to be a problem - I was running out of memory when the configuration files got too large…

So I wrote a new parser that trades lower RAM usage for higher CPU usage: https://bitbucket.org/tlabwest/json-reader/overview

Sample usage:

json_token_t json;
json_validate(json_string, &json);

json_token_t value;
json_find(&json, "key1/subkey:2/value1", &value);

char s[bufsize];
json_decode_string(&value, s, bufsize);

printf("%s\n", s);

json_free(&json);
The USSR was first in space, weren't they? The technological advances of the USSR can't all be stolen unless they first invented time machines.
Apps with hardware: enabling runtime architectural customization in smart phones [pdf]
Yes, it's Sierra compatible. (http://fluidapp.com)
Sounds to me like you're in a good opportunity to start your own start up. I might be being a bit presumptuous here but it seems like you have undemanding job but one that pays the bills none the less, this is a perfect time to begin working on your own business as long as there aren't any contractual difficulties.
Have you tried amazon.co.uk and amazon.de?
There's a lot of hyperfocusing on the comment that you don't want your wife to know. From everyone on HN, you're the best judge of whether she should know or not, so I have no choice but to trust your judgment on that.

Something I find missing from your narrative is what exactly is making you unhappy -- the title of Founder? The pressure of the job and the impending sale? The mundane-ness of the technical details of the job? The fate of being handcuffed to this job (that you don't care for) after the sale? Are you financially constrained and feel tethered to the company to stay afloat? You mention the stress, but it doesn't sound like that's the kicker by itself. There's no magic bullet to fix all your worries in one go. So write down in order which parts of the whole situation you hate. You'd be surprised how many of those can be solved independently of the others. Maybe you can hire a personal assistant to sort through all your communications and scheduling and logistics, and can filter out the domain-knowledge-needed parts to you. Perhaps you can invest in transitioning various boring technical portions of your product to be outsource-able, so your in-house developers have only the more fun stuff to worry about. Consider the best and worst case outcomes for each of these options. Check the risk. Some of them will be worth it, some not. If you can improve your situation even a little bit, it's a step forward.

I can relate to some of what you say. Luckily my cofounders are wonderful and take responsibility for lot of the shitty parts of the job of running a company, so I have a fun time mostly gallivanting in technical and product design spaces without stressing out much, and we're profitable and bootstrapped. All in all, my job doesn't really stress me out much, I work with great people, I love our product, I have lots of freedom and make enough money to use it to work out of a different country every other month. It sounds pretty great, but I have shared your fantasy of working as a grocery bagger or as a Starbucks barista or something. For me it's because I am in America on a work visa that won't allow me to be employed outside of my field of expertise and study, ie, engineering. So I fantasize about what I can't have, think how cool it would be to have the freedom to be an uber driver or a waiter or just simply be unemployed before I look for a new opportunity, even for just a month, without the threat of violating my visa agreement and risk deportation. A little reality check reminds me that I have these fantasies from a position of privilege -- all those people who's jobs I envy do not have the right, or freedom, or training to start and run a company building something they care about in the first place, and I happily return to my day job.
They made paint here for 4500 years.

People have been programming computers for 70.

That is a terrifying thought.
For most users, it wouldn't matter anyway, and I'd argue that that's true even for a lot of the sysadmins. But the argument had a few layers more. Quite a few people agreed that the current init system wasn't exactly the bee's knees, but disagreed on what to use to replace it (systemd, upstart, heck, even Apple's launchd).

There was a rather vocal group that didn't actually care that much about the specific implementation either, but but wanted something in the "Unix spirit", i.e. consisting of a more modular base of small components. Systemd pretty much fails that test as much as humanly possible without being J2EE.

And it all ended with a bad debate on the Debian mailing list. Can't remember all the details, but the Grand Poobahs were accused of acting a bit too grand.

So it wasn't just about the technical merits themselves, but also about philosophy and policy.
Fish (Shell) for a Week
Our architecture is more resilient than what you think. With using Django on lambda, we could also deploy that code to machines. So, we are safe there.
Other components will be just functions that could be deployed to Docker with any queue as necessary. So, its calculated risk to leverage the Lambda's benefits of no DevOps, scalability and lower pricing (initially).
Firefox mobile is the only browser with actual ad blocking.

Adblocking is more than pure resource blocking (which afaik Brave, Samsung, iOS et. al.) currently implement. In fact, the smaller amount of ads I would see would be blocked this way.

I have Facebook, Instagram, Twitter, reddit and in the past Tumblr ad free due to element hiding capabilities that are non-present in any other browser I know except Firefox mobile with ublock origin.

Edit: I replied to the wrong comment. I guess it's early.
As an early adopter, I felt that Chrome had won since the beggining and they had only 1% market share. The speed difference was evident and it would be a matter of time until the market acknowledge it.
Paywall the Movie Trailer
Yes it would have made better sense to create some kind of process to switch mainline Debian from systemd to runit, openrc etc.
As a non-C++ coder there are two things that "scare" me about C++ (ok, maybe not scare, but are definitely big turn offs):

- lack of a proper, cross platform, package manager: I know the history, I know that C/C++ are basically embedded in the system and they use the system package manager, but in this age it just doesn't fell right... I've been spoiled by many years of using Maven and other similar tools

- template meta-programming plus the C++ legacy features which are probably lurking in many third-party libraries (simpler languages have fewer features to abuse and even when for whatever reason you have to use a relatively subpart third-party library, you know they can't do that much damage)

There's also the compilation speed, but as far as I know there are workarounds for that.

These things are, if not unsolvable in C++, at least many years away from being available.

Maybe an experienced C++ coder can destroy my preconceptions :)
Dilution is useful.

The mantle is ... large.
Ask HN: Where can I get feedbacks about my startup?
The critical part is not more food, but very unequal distribution of food. Quoting: "..from the time of the dinosaurs to about 3 million years ago, nutrients were evenly distributed across the ocean. But then there was a transition, in which dense aggregations of nutrients could be found along certain coastlines, while vast parts of the open ocean became virtual marine deserts."

I guess larger organisms are more likely to survive in this scenario. Maybe similar to the reasons why larger vehicles are more efficient for transportation: http://www.sustainablefreight.com.au/case-studies/bigger-is-...
Which number amendment is the one enshrining "Freedom of the press"?
What caused climate change before there were people?
> So, is there an advanced hidden civilization underneath that gas and pressure?

A major plotline in "The Algebraist" by Iain M Banks (sci-fi, but not a Culture novel) centres around a species who live in gas giants.

> I wonder why they mention the price of the probe on there.

Some Guardian commenters like to express the opinion that space exploration is a waste of money which could be better spent on other projects closer to home, so I suspect there was an element of provocation to this.
This misses a few points. Key among them that projections of future technological development from 50 - 100 years ago have proved woefully inaccurate.

Drawing targets around what you shot at regardless of where you're aiming has a name: Texas Sharpshooting.

It's an exceptionally poor rebuttal or response to the observation that forecasts have failed. Moreso if in doing so the reasons for the deviation isn't specifically analysed.
Debian can already run various init systems. E.g. you can run GNOME under sysvinit. Within Devuan they just removed GNOME.

If you want init system choice, run Debian (or e.g. Gentoo). Devuan seems more about hating systemd than any actual choice.
I like this sort of mentality in companies that think they are some sort of hot start ups that can fire anyone they feel like. I dunno how it is with management types, but this sort of approach is extremely amusing to me in niche skill areas.

For example, this happened to me a few times,
but as I am 1 in 25 people in the country that can do what I do,
it takes that company 12-18 month to find a replacement, if at all.
The benchmark linked appears to be a 4x speedup that can potentially be attributed to the view engines used. It's really ridiculous to argue for 20x speedups without evidence of the deficit being in the web framework.

So lets take your hypothetical game example... What are your requests doing exactly? Are they returning cached content? If so, the caching policy is more important. If you're running a game, game state is probably changing constantly so you will need to connect to a database. Are you indexing things correctly, sharding, etc? Are you aware that Eve online runs python code?

You can point to any hypothetical scenario where you get a million users on a free tier, but then you will either have to get some funding or start charging for your services. In the case of the chat app Discord, they wrote their server architecture in Elixir, which runs on the Erlang VM called BEAM, which destroys .NET core at scale. Does that mean my team should stop using .NET core? No. I have to consider the knowledge base of the people I currently have as well as familiarity with deployment. The cost of the servers are a lot less important in the real world for 99% of applications any of us will write. I would even argue that it would be better to get to market faster with a product that scales poorly and to scale it as needed. Facebook was and still is written in PHP.
Just tried my Authy and switching between accounts is instantaneous on a 2 year old smartphone.
It's true of everything in life. The best is never the most popular. The most popular is often, frankly, crap. Why would programming be any different?
From what I've found in my current job creating a js react app as well as side project with cljs is that advanced optimsation of js react === basic usage of clojurescript reagent.
I've found no redeeming features when developing the is app, issues with hot reloading and constant integration work to get everything to play nice with immutable js
> Of course I’m being a bit provocative to open this post with, “I have never fired anyone too early.” I have almost always given people a chance to correct course, and suggest you do too.

For anyone that didn't reach the end.
What we should've done is made browser vendors add EU cookie consent instead of every. single. website.

Then I can configure my browser for Always/Never/Ask or whatever.

That would've been too simple, of course.
Interview with Uniplaces Co-Founder Mariano Kostelec
What's worked for me:
1. Base OS is core OS or GCE container optimised OS. Striped down, ultra fast, low ram (~200MB) and CPU footprint, ready to run docker containers/images out of the box.
2. Docker Image choice - base Alpine image + {compiled grpc binaries [1] OR compiled C based server for rest APIs [2]} c based rest server size is undeR 8MB, including a couple static assets of~2MB!! Host on gke for faster pull times, or create an instance template for blazing fast boot Times

[1] : https://github.com/mankash/grpc-alpine-server image: https://hub.docker.com/r/mankash/grpc-alpine-server/
[2] : https://github.com/mankash/alpine-kore-build image: https://hub.docker.com/r/mankash/alpine-kore-build/
Are you sure? Seems like it's still Neuland.
I wish the world was as I was told when I was a kid and not the way it is. Some of the main reasons (statistically) why wives divorce their husbands in the US are unemployment of husband and higher earnings of wife. This should tell you there is some biological programming that is different between genders regardless of what is currently popular in soft-science academia.
CoderDojo and Raspberry Pi join forces to create coding giant
Maybe its a US thing - here in the UK I've seen multiple people re-hired and in each case it worked out pretty well.
Under Debian you can run GNOME under other init systems thanks to Debian+Canonical creating systemd-shim (alternative to logind). Under Devuan you cannot use GNOME (they don't offer it). This as Devuan claims that it is impossible (despite being possible within Debian) (!)
Contractors are especially needed in unionized permanent companies - where contractors/3rd party companies are needed just to get things moving in the direction management wants.
Well, none of the pages I saw asked me to allow them for storing cookies. They just inform me about the cookies and the ways I can use to remove them.
CoderDojo and Raspberry Pi Join Forces
Google Inbox didn't work on Edge for the longest time. Claim was because edge didn't support some feature they needed, but when the agent was spoofed it worked fine.
Hovedpine, spændingshovedpine, migræne, cervicogen hovedpine
NTFS bug lets anyone hang or crash Windows 7 or 8.1
I assume that's less about your legs being flamingo-like, and more about the way our hips work. You almost never stand around putting equal weight on both legs, when you stand you usually favour one or the other leg, with your body leaning over ever so slightly to balance the weight over that leg.
Smart Fitness: How to Build a Runkeeper App and Become the Market Leader
I watched a program once that said that one of the reasons they are so big is to allow them to communicate over large distances. Is there any truth in that? It was a kids program though - probably octonauts
The killer argument for Rust, especially when writing a web browser, is security. I don't care about the general market share of Rust - personally I prefer Go for the things I usually do, but I am very excited for a web browser written in Rust.
*the js app
Safari sucks under heavy usage
It's necessary to fire early, but investors should keep pushing money into unicorns without any business model because ...
There's a world outside web dev, you know! I have used Qt in many companies (some examples: forming a major part of the UI for a unified comms client, UI for screen/interfaces for an embedded system, desktop app for analysing/processing finance stuff).
IP's are considered personal data according to GDPR, which will go into effect May 2018.

http://privacylawblog.fieldfisher.com/2016/can-a-dynamic-ip-...

It's been made clear in the General Data Protection Regulation ("GDPR") that IP addresses should be considered as personal data as the text includes "online identifier", in the definition of "personal data". Recital 30 clarifies that "online identifier" includes IP addresses."
Chrome are on top at the moment, like Internet Explorer was, Mozilla is still a powerful force, used by many developers. I am using FireFox ESR at the moment and its great
One possible reason: They are making a philosophical stand/statement against systemd.
John Bandela had a great talk about that at CppCon 2016: "Channels - An alternative to callbacks and futures" [0]

[0] https://www.youtube.com/watch?v=N3CkQu39j5I
This is such a vile personal attack that we've banned not only this account but your main one as well.

If you don't want to be banned, you're welcome to email hn@ycombinator.com and give us reason to believe you'll follow the rules in the future.
I always liked this idea of a "ruleless, diceless RPG". I was always too lazy to read the RPG manuals, I didn't necessarily like the Tolkien universe, and I never liked randomness in battle outcomes. So the only way you could get me to be the gamemaster was to just let me create my own universe and let me decide on the outcome without resorting to dice. Usually plain common sense is enough: if you decide to attack a fully armed soldier barehanded, well you just die.
Common Problems of Tracking Ecommerce in Google Analytics
Please don’t troll post.
As a dev/sysadmin, systemd is barely noticeable when you think if it as an init system. When you look at the cool tricks it can do, it's more like its part of the OS than something living on top of it, providing services you'd expect a kernel to provide (albeit not a very Unix-like one, which is what makes people so mad about it).

It's a large and complex beast, doing a lot of different things that make sense in a modern server environment.
Robotic missions won't make us a multiplanetary society though (neither does the space shuttle...). I think that's important too.
If you can find a way to live on a salary of $300k per year, then ~$10M is definitely FU money. You can invest that money and safely withdraw 3% for the rest of your life.
It was likely re-hiring people who left on their own will. Re-hiring someone you fired is quite a bit different, especially if it was for cause.
Firefox sends the DOM hashes to Google just like Chrome.
Ecosia – Plant trees while you search the web
Can you describe your setup and your tech stack?
From my abundant experience, go to a Therapist, then exercise as much as you can, everyday would be ideal
Interestingly, in the book I'm currently reading (written by a former GRU officer) it is mentioned that for the GRU interest in science fiction was a definite plus when selecting the most promising young cadres. They believed that this interest showed intelligence and promise. They also appreciated young people good with modeling clay - it showed 'good spacial thinking'.
A Practical Guide to Serverless
Scala can be very concise - you can write Scala that looks very much like Python (indeed most Python just translates directly). E.g. it's got quite a low-ceremony syntax, not needing as many brackets or braces as other languages. But yeah wanting to use the same language everywhere is also a factor. Being able to call functions from your main codebase in your scripts is really nice.
Try to negotiate a clean break for 30% of what you were going to get, and find someone to replace you.
A vast majority of Android users know nothing about custom ROMs.

However I would say that among those who do know, Lineage OS has a fairly good reputation for quality. You wouldn't be targeting mass adoption with this, you'd be targeting the influencers.
Let's not forget that Firefox also has Tree Style Tabs, which for power users is the good reason not to use Chrome and use Firefox instead.
Which is a bit silly as it's a tracking cookie by default
Neither does it confirm it (or give a source).

I mean yes, technology was "stolen" all the time - from BOTH sides. F-117 stealth technology is based on research done in USSR. In 80ties, the US people happily took a ride in the first MiG-29s delivered to us in the 1980s and "stole" technology from there.

And yet, we don't go running around claiming that all USA flight technology achievements are based on CIA agents stealing tech and thus diminishing everything people Lockheed etc. did.

If you actually look at declassified primary sources you'll see that a huge amount of effort went into eastern designs as well and the impact of "stolen" technology is actually rather limited due to the differences in approaches of R&D teams.
...and by modern Kyrgyzs:
https://www.youtube.com/watch?v=_LftDIksFNQ
As a contractor moving into permanent recently this rings true.

It was just downright awkward to go for the 4th or 5th interview. Everything was really good, but now the cto needed to meet me as wel etc etc...

I'm used to one interview (2 tops) to get started one week later. I've never been let go, but I think there is less taboo about firing contractors.
Chrome handles few tabs better, Firefox handles hundreds of tabs better.
I don't get targeted ads because if I have to log on Google, I do it in a private window. Been doing it since forever, it's such a simple thing and no trouble.

Additionally my browser is set to clear cookies on exit, so even if I make a mistake, just turn it off and on again to wipe. I have exceptions set for the three sites I like to stay logged on to (via Page Info in Firefox).

(and simply no Facebook, obviously)
Mate, my grapes need attentions that I cannot give cause I'm working.

My home made spumante takes time that I have to take from other tasks, such as laying at the beach

My craft beers won't make themselves

I have tomatoes, potatoes, beans and fruit to grow

And of course programming as an hobby

I would have so much to do, if I didn't have to work…
I can credit this post and resultant discussion from pushing me to try FF again, and I have to say I'm happy with what I'm seeing. Chrome has been disappointing for a while now from both a privacy and performance standpoint - I simply kept using it out of habit.
Backup Toy Story 1-3 (DVD and Blu-Ray) on Mac/PC/Laptop
You cannot imagine your way out of human nature, but you should imagine that you might not know exactly what that human nature is.
I mean yeah it's hyperbole but still, it seems like it happens on the vast majority of sites I try to do a social registration with.
Well, if you look in the options you'll find Firefox actually does have an option whether to accept all cookies, only first party, no cookies or always ask. Chrome also has an option to deny all cookies, third party cookies or accept all (no ask here).
7 Tips to Successfully Manage Your Remote Team (Tried and Tested)
I remember the bittersweet interviews of many Apollo program engineers. That work cost many marriages but, in the end, they sent people to walk on another world and brought them back, forever changing the way we see ourselves in the universe.

To do hard things is hard. I won't say this specific job requires 12-hour days - that's probably because this is such a capital-intensive endeavor. There aren't many hard deadlines when launching to LEO.
> Readability and integrated 'read it offline later' mode is a cherry on top

Pocket was a good move, but it is still not fully integrated to Firefox like the 'read it offline later' mode of Safari. I really wish it was.
6 Best Practices for Mobile UX Design
It's always interesting to see a technique evolve independently in multiple domains.

I practise taijiquan (tai chi) which is very heavily predicated on this principle. A huge part of it boils down to practising being stable on one leg so the other leg can move anywhere. You might be interested in the taiji stepping techniques, but these are not (visibly) part of the forms people generally think of as tai chi, and not all schools bother to teach them.

Of course, it's not the same thing TFA talks about. Especially in the context of traditional Chinese martial arts, with all their associated mythology, I think it's helpful to remember that human physiology is pretty unique, especially when it comes to balance. We're inherently unstable, so becoming more stable takes practise and conditioning. We're not flamingos (or snakes, or white cranes).