skysight-inc/HackerNews huggingface dataset:
I figured it out (without actually building with Musl).

Musl's <stdlib.h> includes <alloca.h> already if _GNU_SOURCE or _BSD_SOURCE is defined.

Musl's <alloca.h> defines an object-like alloca macro if compiled with GCC: #define alloca __builtin_alloca.

When we try to include the <alloca.h> header through a macro, as in #include ALLOCA_H, it's subject to macro expansion: ALLOCA_H is replaced with <alloca.h>. This is five pp-tokens: < alloca . h >. The second one is the macro that was defined due to <stdlib.h> having included <alloca.h> already, and so this gets replaced now; we end up with #include <__builtin_alloca.h>.
> It's necessary for bootstrapping

your claim was consensus rules AND hash of most recent block are necessary. this is false, hash of most recent block is not necessary for bootstrapping.

> your argument makes absolutely no sense to me so please elaborate

you have to be more specific. i've responded to every point of your message. if you don't understand something in my response - point that out.
The goal of the individual interview should be answering: "I have some particular problems I need to solve soon, and some undefined future problems to solve later, can hiring this person help solve the immediate problems and do I think they'll be an asset in solving future problems?"

Once you've got some questions in mind that should answer that for an individual, you need to reformulate the questions so that most of them are at least semi-objective and have a scoring criteria that you can use to rank multiple people who passed "yes" on the overall question -- and perhaps a threshold too if you think you can afford "yes, but let's wait to see if we can find someone even better".

In this light, 'tell me about a time when' types of questions aren't often very useful unless they're directly related to an issue you're currently facing and you've precommitted to some sort of score for types of answers. e.g. "time when you've disagreed with boss (or coworker)" might be relevant because your team currently has some drama dynamics. So 0 points for "Oh I never have disagreements", 1 point for "some story that makes me think they won't get eaten alive here and/or be a total pushover, the story details don't really matter", 0 points (or negative) for anything that raises a total asshole flag. The question about new C# features might be useful as a proxy for answering whether they'll be helpful in the future, i.e. do they keep up-to-date about things and keep learning, so maybe that's worth a point if they can name something and maybe you can ask a different question as another proxy to normalize across interests (they might not care about PL features but something else). And depending on the real concern being proxied, sometimes you can just ask about the real concern directly.

If you can, make a work-sample test: https://sockpuppet.org/blog/2015/03/06/the-hiring-post/
TypeScript Express tutorial #5. MongoDB relationships between documents
Nothing to take away from the original posters work. He indeed might have written that much code.

But in most cases. Its not very difficult to write 1.5 million lines of code for any project if you are writing code of the style AbstractClassFactoryFactorySingletonDispatcherFacadeInitializer

That sort of the code is basically 90% auto generated by the IDE. You write the remaining 10%.

As a matter of fact I would find it a tad little hard to believe that some one wrote that much(1+ million LOC) and didn't find a way to template it or do some metaprogramming work.

Patterns always emerge from that kind of pile.
Read my comment again.

There is an inherent race condition if one program is using a file and another program is deleting it without caring about whether the file is being accessed by other programs.

At that point, all bets are off there regardless of whether the files are accessed by paths or handles.

Windows protects the file from deletion at the exact same time as it is being accessed but does not protect the file from being deleted after it has been accessed. In wall-clock statistics the latter is the way more likely scenario.

So, if an editor saves a document to disk, and another program then deletes the document the editor will happily exit without saving it again thinking that it hasn't been changed.

It doesn't particularly matter whether the two programs clash exactly at the time of saving/deletion or not. The problem exists in the lack of information between the programs and no file system is indeed going to protect you from that.
Both airports have massively increased the number of flights they operate in a generation, and the number of nighttime aircraft movements. This is justified as planes are quieter now, but lowering the total noise obviously wasn't the target.

You can the Heathrow noise maps [1].

Kew Gardens [2] is worth visiting, but the current approach to the north runway crosses the garden. In a 500-1000m-wide stretch, it can be difficult to have a conversation since planes are crossing overhead every 45-90 seconds [3].

The local residents may have known about the flight path. The house might be all they could afford, or they thought it wouldn't be so bad, or flight paths might have changed. Whatever the case, we need the 3 million overflown people to continually complain, otherwise there will be nothing pushing back against further expansion of Heathrow.

It is extremely poor planning on successive governments that Heathrow has become Europe's largest airport. London's other airports are to the north or south of nearby larger settlements, so the approach paths fly over far fewer people. Other major airports in Europe have been (or are being) moved to avoid overflying cities.

[1] https://assets.publishing.service.gov.uk/government/uploads/... and https://d3n8a8pro7vhmx.cloudfront.net/southwarkcans/pages/50...

[2] http://www.kew.org/

[3] https://www.flightradar24.com/51.45,-0.32/12
> Sometimes your joy is the source of your smile, but sometimes your smile can be the source of your joy.

-- Thich Nhat Hanh
Yes you are right it's still 1 based to allow easy conversion from actual existing Lua projects.
It's worth noticing that while they didn't target specific people or made the attack undetectable through cache control trickery, the tools they are looking for can be used to detect such evidence removal.

So they are probably building a Government database of IP/people using such tools!

This target mainly Russians, but you know, as Mozilla use to say... "this is the Web functioning as designed"!
Some people, who are diagnosed, sometimes.
Yes that's a nice goal and in order to have it we need "class/switch/enum/...", come onboard and help implement then.
(Greater) China atleast has mandarin. If you're to get anywhere in India, you're stuck with the old imperial tongue: English. Hindi, Tamil, Sanskrit and many others have roads that lead to little other than penury. Some independence this has been; it's not surprising that it took mindless brown-sepoys to fulfil the mandate of the colonial government.

Sigh.
Demystifying Product Management
Is there emulation available?

Looks like there may be:

https://www.theregister.co.uk/2017/01/30/pdp10_enthusiasts_r...
Well, if they are going to ship a codec, they will have to make a choice for the CPU architecture or even have to ship a CPU. Then they might have to ship some batteries as well
Yes.

But remember that civilian air traffic causes plenty of accidents and injuries too. Our helicopters (sar) each year save far more lives than all the accidents our airforce have ever caused.
Learn React.js in 5 minutes
The patients at risk were treated at the surgery center between Jan. 1 and Sept. 7, 2018.

"January 1" sounds suspiciously arbitrary.
How to get better at decluttering
I'm really quite excited about this. I don't know if I'd just completely missed it, or if they it hadn't had much publicity in the mainstream press, but it was a pleasant surprise to read about yesterday!
Which, of course, exposes a reality that most media outlets are inadquately contrite about: Most active shooter incidents are indeed suicide attempts, and indeed copycat crimes, which continue to perpetuate specifically due to the attention they are permitted to seize.

Were it not for the horrendous coverage they get, we likely would not have seen nearly as many. So what’s really going on?

This media industry absolutely knows the ramifications of such publicity, and has known what it would feed into from the beginning. They can control themselves. They do it every day. They reduce some catastrophes to a blip or nothing, and amplify others.

Why are active shooter incidents granted such coverage, by a large, tightly controlled apparatus?
It also helps that many countries allow those people to call themselves Software Engineers without having put a foot in an actual Engineering degree.
Cong ty TNHH thuong mai DV Dau Tu Nam Do mot trong nhung dia diem dang tin cay cho quy khach hang dang muon mua dat nen du an, dat nen tho cu, nha pho tai Dong Nai https://www.bandatnendongnai.vn
1. In general updating the same files at the same time is not a that much of a common problem in any practical sense. The user generally won't be editing the document in two different editors at the same time. Programs use flock(2) or something similar if they have to update a shared file, or they have a directory structure that allows different instances of the program to update simultaneously by using little small files instead of having a mutually exclusive access to a single file.

I think the most common real-life problem is editing a shell script while it's still running: this happens often during development if the shell script takes a bit longer to run. You edit the file and hit save until the previous run has finished. The on-disk data changes which is reflected in the shell process that mmap()ped the script file, and eventually the contents that changed or shifted will break the shell's parser.

2. I have 106 days of uptime on my laptop. It has gone through several apt upgrades and I don't think I've shut down my X11 session for 106 days either. Firefox sometimes restarts itself after an update because it apparently knows it needs to do that but other than that I generally never restart X or reboot the machine because of updates. This has basically been the case for years, even decades. The scheme probably has to break eventually but I generally bump into other stuff such as important kernel updates before that. Fair enough for me, never really ran into any issues because of it.
Credit repair specialist
My name is Cherie Ian, from Washington, I was in desperate need of a credit fix. I needed to find a new place to live and I wanted to make that move into a new home. However, at that point I knew that I had to fix my credit in order to purchase. Jeffery my cousin mentioned of a credit specialist to be the best and most honest repair person he has dealt with. With that recommendation, I decided to experience his great service for myself. So I took his contact (DPROTOCOL7@gmail.com, +1 320 245 4036) and Contacted Him. After A thorough explanation of the process, we got started with the project. Within the next 7 business days, he did all he says he would do (raised my score to 790, as well as deleting all negative infos.) and I have purchased the home. I strongly recommend him for your credit repair process.
It's much faster when you learn it properly and write it with the proper instrument. Ball point pens are awful for cursive, but when writing with a fountain pen you'll almost automatically switch back to cursive.
Hire ios app developers
It's a great example of how to be factually correct while completely missing the point. Saying "well, his summary execution was completely legal" is a bland form of words. The photo shows us what that looks like, and how intuitively horrifying it is. A million deaths is a statistic (or in the case of Vietnam per wikipedia, 1,353,000). An individual death is a tragedy - and here is a photo of that.

The casualness and lack of ceremony of the execution is a key part of the impact of the photo. Was means the casual extinction of huge numbers of lives. Modern war means this happens at a distance and is comprehended statistically. "Another few hundred people were fed to the meat grinder today." Photographing it reconnects people to the dead as humans.

As for "undermining the war", America's role in Vietnam was always on a really shaky moral footing since it was essentially colonialist; it was always right to question this and "undermine" it.
Wonder how many of his Chinese fans will be cursing him for this one.
thaat's only because they have "chosen" to not allow players with negative balances or margins.
Yes, but good luck differentiating differentiation!
i dont think a map could possibly help you, Shinjuku station is a baffling ordeal no matter how many times ive been there, an incredible place no doubt but just finding your way back to the street can be a challenge at times
> people engaged in high-frequency trading

These people pay to have their servers colocated with the trading servers they are communicating with. That would be like having a VoIP call with someone sitting next to you connected to the same switch.
Why hasn't someone done this yet?

- You make an organization that just examines people in various subjects.

- You hire a bunch of professors in each field.

- You make sure everyone thinks the exam is hard.

- You make sure the exams are fair. Rent exam halls, get invigilators to pace up and down. Biometric scans. Passports. Etc.

- You make the syllabus and practice exams freely available.

- You make a secure website to show everyone who passed.

There must be something similar, somewhere. Perhaps the Chinese civil service exams. Or the CFA exams.
This is from 2005...
While a fashionable self-diagnosis, actual overtraining is essentially impossible for the average person to do.

That isn't true. Overtraining can really be thought of as under-recovering, and if you aren't getting enough sleep it can set in after a week or so, on a training load that you could otherwise have managed.
Show HN: The Incremental Delaunay Triangulation: Visualized
Call me a luddite but I'm not looking forward to IPv6.

How about IPv5; add another byte.

We can keep the colons 192:168:1:1:1.
> So, if an editor saves a document to disk, and another program then deletes the document the editor will happily exit without saving it again thinking that it hasn't been changed.

I'm trying to explain to you that your understanding of Windows is wrong and that this is impossible. As long as that editor has the document open, unless it has explicitly specified FILE_SHARE_WRITE and FILE_SHARE_DELETE, Windows will not allow another program to alter that file. So the editor would very rightly assume upon exiting that nobody has touched that file while it's had that file open.
1) New Delhi, India

2) More than 10 - Airtel, Excitel, Den, Spectranet, MTNL, Vodafone, Jio, Idea, Tata, Tikona, MTS (and a few others?)

3-4) Highest bandwidth is 150 Mbps, costs around 1500 INR a month (~$22). No data cap that I know of.

5) Cheapest is definitely Jio. 1.4 GB a day at 4G speeds (mobile broadband) and after that unlimited at 64kbps. Costs 400 INR (~$6) for 84 days.

6) Service for Jio is spotty. Service for that 150 Mbps plan (Spectranet) is top notch.

7) Yes, MTNL is a govt entity. Their plans have no data caps but are very expensive as compared to others.

8) Definitely like my ISP. I get 100 Mbps from Excitel at 800 INR a month (~$12). I can almost achieve 96 Mbps downstream and 90 upstream. No data caps. No major connectivity issues either (the connection may drop around once a month but I don't mind)
YouTube with the New Messaging Feature
Source: https://github.com/ameya98/GraphAlgorithmsVisualized
how many Americans died in Puerto Rico?

A couple of orders of magnitude fewer than in Galveston in 1900.
Talon is looking extremely promising, with its zoom mouse that works via gaze-tracking. Generally coding by voice is a graveyard of abandoned projects. I wrote an overview of the field last year, if anyone's interested in alternatives:

https://medium.com/bambuu/state-of-voice-coding-2017-3d2ff41...
I have a collection of Programming by Voice links here:

https://github.com/melling/ErgonomicNotes/blob/master/progra...
Writing clear and effective prose.
The Paradox of Design Systems
Yes. From the Jargon File:

> A legendary collection of neat mathematical and programming hacks contributed by many people at MIT and elsewhere. (The title of the memo really is “HAKMEM”, which is a 6-letterism for ‘hacks memo’.) Some of them are very useful techniques, powerful theorems, or interesting unsolved problems, but most fall into the category of mathematical and computer trivia.

(http://catb.org/jargon/html/H/HAKMEM.html)
It is a very strange thing to see the “we are as we tell you” and not “we are as you see us” outreach to communicate culture. American culture, above most others, is very wide spread in its reach. Whether it is movies from Hollywood, TV shows and reality show formats, music, food in the form of burger and pizza chains, the jeans and sneaker attire, language (including Americanized pronunciation), gadgets (iPhone and the like), online services (with China being a slight outlier – just slight, as many local services are heavily influenced by the American ones) like facebook, twitter or even GPS and Google Maps there are very few aspects untouched by American culture. Deliberate attempts to communicate culture from any country tend to, in my view, focus on the high-brow interpretation of culture. This is true of other countries when they try to portray their culture too – easily visible in opening ceremonies of major sporting events. I imagine that such portrayals are important but do they move the needle in how a country is perceived or how others understand its culture? Hardly.
>>I am happy for them but they don't realize how lucky they are

Well, thats the part where wisdom comes in. No one gets lucky. Some people do. But even those don't get lucky all the time.

If you are making $100K straight out of college. Just understand that its an exceptional period in your life. Be grateful and lock up every single cent into some investments.

Or when reality of life comes to hit in mid-30s. Your best is behind you, you have nothing to show for what you've earned, and whats worse- There is no way of earning it back again.
Show HN: Lableb Launches Arabic Cloud Search Service
In the Cassandra case, you would not write the persistent data in the Docker image (that's the part of the file system mounted as a layered file system, using AUFS or OverlayFS). Instead, you would write it in a volume. For a local volume, that's just a part of the "normal" file system (Ext4, XFS, ...) exposed to the Docker container through a bind mount.

Volumes are quite stable and reliable when based on a stable file system.

So while you could lose the container due to the but describe, you would not lose the persistent data.

It's best practice not to write to the Docker image at all during runtime (no log files, no PID file, etc), but to write only to volumes or tmpfs mounts. I'm a little bit suspicious about the crashes you described: are you sure you followed that best practice?
Funny I had the opposite experience in the UK (London). Some 50-ish cars doing a sort of illegal car tuning gathering under my windows in the middle of the night (midnight). It wasn't the first time and I knew it could last for a couple of hours. Making loud noise with their engines and sound systems. I first went to speak to them and asked them to move around (they were also obstructing the traffic). They just laughed. I then called the non emergency police line, talked to a very nice and courteous officer, whose job seemed to be providing reassuring words but did nothing about it.
Funny how so much of the underlying code used to make this “keyboardless” language was written on a keyboard. I’ll be more impressed when there’s a “FMJ” implementation written purely in “FMJ.”
One criterium for a psychological disorder is that it "must also lead to serious impairment in functioning that limits or interferes with one or more major life activities."
According to this article https://www.theregister.co.uk/2015/01/08/airwave_tetra_switc... that is the example given by the Armed Forces as to why this is problematic

Push-to-talk latency isn’t a problem in the “it might replace SMS” scenario the mobile industry once envisaged for it, but it is in an emergency. The classic example the Armed Forces give is to imagine a commander who has a team of snipers on a roof pointing at a target. He gives the command: “Don’t shoot”. Unfortunately, in a cellular, IP based device, it takes a fraction of a second for the app to fire up and make a connection – a fraction of a second which is just long enough for the word “Don’t” to fail to make it into the message.
A Comprehensive Guide to Merkle Trees
> It is also decentralized.

I guess this is subjective, but I don't really consider Mastodon to be (very) decentralised; it's federated, like email. Your account exists on only a single node—with that account you are free to communicate with any node, but you still have a single host/entity maintaining your identity.

If you want an example of a working decentralised social platform, have a look at https://www.scuttlebutt.nz/

> However, I have not found that it works particularly well as a decentralized social platform. 100% of the people I follow and the people who follow me are on the mastodon instance I'm on

While I like the idea of proper decentralisation, I don't really see the problem with what you describe. Mastodon seems like a success even if every user only follows other users on their own instance. The point is that it is potentially possible for you to migrate to another provider and still follow the same friend list—vendor lock-in isn't possible. Just like email.

This isn't perfect of course—we almost had this with Facebook and GoogleChat but they both gained such a critical mass of users that they could shutoff XMPP support without user backlash, and Gmail also maintains a similarly locked-in status even while supporting federated standards (IMAP/SMTP) simply by making that support, and migration, needlessly complex.

This is why decentralisation matters. Federation is still pretty cool though.
Flutter: a year in review
Is it really necessary to be so mean and passive-aggressive?

You could have worded this in a MUCH more pleasant fashion and still gotten your point across. Why did you choose to humiliate?
You might find a lot of people like this on HN. In fact I thought I was reading my own biography when you started mentioning the years.

The way I think of it, it's a slightly productive addiction. I keep a track of things that interest me, but are work related. So finance and coding topics mainly. And the inevitable economics/society stuff that's very broad.

But it helps a lot with my work. No one particular thing is super useful, but it's useful to know what kinds of things are floating around. If you're a tech person, you probably have a specific focus, but you need to know what else is out there. So that might be machine learning, serverless computing, or some language you never use at work.
I would say its the black ones that make it look ugly? And the lack of uniformity?

I did a google image search for that location and the other images didn't seem so bad (to me).

Is the uglyness an inherent feature of the scale. Or a feature of poor design?
React Native: a year in review
What if two programs did this?
Digital ocean has not nearly as much of an incentive in selling or tracking the huge amounts of traffic that goes over most of their B2B customers, while your ISP wants to up that ARPU number from every B2C customer in every way possible. And you can switch your cloud server provider easily, your local monopoly ISP not so much. Digital ocean has far more to lose by doing that, while ISPs have a captive audience.

DO will forward those torrent scare / spam server abuse emails ASAP, so they won't be good for that kind of stuff.