skysight-inc/HackerNews huggingface dataset:
So the usual “get a girlfriend”, then?
> Reference clocks

Just saying "Yes" here is highly misleading. NTP supports dozens of reference clocks, including the protocols of may precision timing receivers. Last I looked chrony supported only a single kind of reference clock.
HiDPI was pioneered by Apple whose UI toolkits aren't particularly responsive at all.

You can certainly handle different window sizes with traditional UI layout managers. The only thing they don't do much of is totally changing the entire UI layout based on window size, and that's only because it's so rare to have a single app that's actually identical between tiny and huge screens.
My annoyance is "literally", where it is now used merely for emphasis rather than the sentence being a metaphor.
Watch: Are Deleted Files Really Gone Forever?
You don't even need C++, you can just use C and __attribute__((constructor)).
That rule is new here in my town but it's pointless because the official bike lanes are just a bicycle symbol painted on what used to be the hard shoulder. No separation no barriers no way to keep vehicles and bicyclists separate.

The bike lanes are at their widest maybe 1m (~3 feet) and some parts ridiculously narrow maybe 15cm (~6 inches). Imagine if you are in the widest part of a bike lane riding in the middle that means a bicycle and vehicle are according to the bike law already too close. The vehicle can't move to the left into traffic but even so the burden is on the vehicle driver to not get too close to the bike. The bicyclist has no rules and can weave in the lane with impunity.

The law has consequences for drivers but none for bicyclists and the poorly "designed" (slapped together) bike lanes make conflicts and charges inevitable.

I ride a bike but I also drive a 4x4 that is as wide as the narrow streets in my small town (70,000 people). This law is designed seemingly to say people on bikes never drive vehicles and those who drive vehicles never ride bikes.
Apple says this was published in 2012, but I think that's the date it was added to their website; I have a copy of the file which has a creation date of 1 December 1993 so that's the year I put in the title.

Also, video of the machine ejecting a disk in space: https://www.youtube.com/watch?v=e_MfM4j09ME
”Over time they added cooperative multitasking”

You may know, but for readers who don’t: ”they” didn’t, Andy Hertzfeld did (https://www.folklore.org/StoryView.py?story=Switcher.txt)

It helped that he had intimate knowledge of the Mac operating system’s internals, but many of them were documented in Inside Macintosh, and others could have been found with (quite) a bit of effort; one didn’t have to be at Apple or even have access to the system’s source code to implement that.

And those volumes aren’t useless; they are reminders of about the last time hacking an OS was fun :-;
And would that be such a bad thing?

How come we have languages like Rust that achieve almost the same speed while maintaining dramatically better safety, anyway?
Co-founder of WordPress, Matt Mullenweg, whose stance and the discussions inside the community — apparently caused Facebook to relicense React under MIT — wrote a post about their decision.

He thinks that now React could be an officially-supported option as well.

— Discussion on GitHub: https://github.com/wordpress/gutenberg/issues/2733
— Poll on Twitter: https://twitter.com/MrAhmadAwais/status/908551927264305152
— Another Poll on Twitter about Facebook's Decision: https://twitter.com/MrAhmadAwais/status/911591226180341761

Cheers!
I am evaluating Google Stackdriver as well, with a zipkin collector. Will see...
It's also common sense as a pedestrian to look both ways when crossing a crosswalk. That doesn't mean it's not the driver's legal responsibility to stop.

Also, injuries have occurred even at low speeds.
https://bicycledutch.wordpress.com/2016/01/05/motorway-remov...
Please provide examples here of how they are different. There are entire separate tax codes for you filing individually vs. jointly. That does not mean that if you get married you're not a person anymore. Same with corporations - just because the specifics of the tax code differ for filing does not mean they are not legally people.

Also note that you yourself are already changing language here. You said "separate tax code for corporate taxes vs taxes on individuals". Both are legally people. If we want to make a distinction, we have to use other terms, like "individual".
How do you know it's never called? You can call the function from another file. It's not possible to know that the function is never called until link time.
AFAICT, the main rationale for undefined behavior in the original instance boils down to traps: any operation that could trap is undefined. In particular, this seems to motivate why signed integer overflow is undefined as opposed to implementation-defined. It should be pretty clear why it's a good thing that potentially-trapping instructions have undefined semantics in those instances (or, perhaps more accurately, have semantics that have large leeway for when, where, and if the trap is triggered).

Undefined behavior is generally nowhere near as bad in practice as it's often made out to be in practice. It's mostly a case of taking code that is manifestly wrong and making it manifest wrongly in different ways, and when you look at how and why compilers use the undefined behavior to optimize, it's hard to actually object to it. The two main counterexamples are strict aliasing (although it should be noted that most compilers will use the strict aliasing rules only if it failed to figure out aliasing by other means, so trivial things like int_var = (int)&float_var don't end up being deleted as being nonsensical) and signed integer overflow (note that wraparound semantics usually are as equally bad as undefined behavior, but making it be undefined makes it challenging to check if the operation would overflow).
I stop reading at the table syntax, look at asciidoc, much simpler.

Author criticises table in other formats. But look at the table, much time taken.

My markup language is the language with small effort to display what I want.
Does this run in production or is it used for testing? We wrote a distributed testing system ( https://github.com/gundb/panic-server ), so I'm trying to understand if integrating Jaeger would be helpful. If Jaeger is run on a production stack, I'd be curious to understand how that works (are there any tech talks on it yet?). If it is designed to run for tests, that makes sense, but then does it depend upon another distributed testing tool? If so, I'd love to see that tool. Glad to see it be Open Sourced!!!
Most people aren't referring to cocoa powder on its own when they refer to chocolate.
Check out SkipTheDrive.com
> 4) Avoid toxic people. This one was the hardest.

Got a divorce, eh?
Does it have any positive impact on startup time for simple programs if you are not loading large chunks of the JVM?
> You can't always give a wide berth because bike lanes in the US are usually very narrow.

That doesn't mean you can't give wide berth. Take the lane if the bike lane puts you too close to car doors. If there's one thing I've learned from biking in US cities, it is to never trust bike lanes to be safe.
You're the last person I'd have expected to make that sound like a bad thing.

While benchmark games played a part in the modern ‘undefined behavior’, I'm not so sure that it would made much difference to adoption of the language. Consider Linus Torvald's well-known rant as a point in the opposite direction.

In the universe where ‘undefined behaviour’ had been clearly specified as ‘what you write is what you get’, C might have gone to consistent use of optimization-enabling annotations, following ‘const’ (and later ‘restrict’). Along those lines, ‘volatile’ was ANSI's other big mistake, as creating it broke existing code; I now think that should have been the default, with fragile-optimizable status being explicitly indicated by extending the use of ‘register’ keyword.
I think it's going to take me a while to learn about the module system in Java 9, I'm probably going to bank on watching other projects do it first to see if any best practises emerge as developers get used to the new way of working.

One thing I will say though is Java 9 has had a definite improvement on Java applications that run on my Raspberry Pi 3, I think because this got included http://openjdk.java.net/jeps/297

One application used to take 55s to start up, now it takes around 15s!
Show HN: Mailbox - Erlang-like mailbox for Go
Have you looked at the chances of modern construction surviving these quakes?
I can’t tell you what you should do as a 17 year old coder. I can tell you some of what I did.

I strongly believe early adulthood is about getting you laid. Not Tinder style, but have to go hang out with others and meet people style. I’m 51 now, and three of my best friends are people whom I met before I was 20 while on the prowl for beautiful women. And those guys are pure gold. Life sure is different now, being married and having a daughter but those guys, only one being a family man, are still there and our friendships are as strong as ever.

So that’s part of what I did. The other part of what I did, I got a job being paid to code, well, actually paid to learn to code. I thought I was hot shit but the guild of ex-rocket scientists and other smart people I ended up with taught me a lot. So, how did I find that job? I met my best friend’s girlfriend’s dad who gave me that job. Yes, the pursuit of getting laid found me and my friend at her house, hungover one Saturday morning when I met him.

So maybe getting laid isn’t your thing. But get your ass out there and start meeting people and spending some time with them. Don’t be a walking banner ad of “I’m a coder”. Get to know people and let that disclosure happen naturally. Most people really enjoy helping their friends, and someone will make a connection for you.
This is probably bait, but arguing that "bro" is gendered in this context is kind of dumb. It's the same idea as "Guitar Buddy."
Gnirehtet rewritten in Rust
I might be wrong but one reasoning I saw mentioned was that pulling would give you a better picture into failures. If one of the services you are monintoring goes down it won't be able to push anything.
https://news.ycombinator.com/item?id=15221865
Agreed. And I also agree with treating these issues with more intelligence and less red tape
As a Dutch person who doesn't have/need a driver's license, I just learned to look before opening the door.

That said, being offended by the name is a rather ridiculous response. (Especially considering the terms we're usually flattered with, such as "going Dutch", a "Dutch oven", etc.)
Expand your areas of knowledge. The best ideas come from cross pollination of disparate disciplines. Your brain's not done baking yet. You still have another 8 years before the foundation sets. Learn as much as you can about everything.

Also it really depends on your inborn personality and predictions. My advice above is really for creative types. You might be a more conservative type and a 9-5 job for 50 years would be perfect.

Take a big 5 personality test and go from there.
and again, there are plentiful games that do it. medieval total war had whole Europe as a map and stacks with dozen thousand units running around, circa 2002, but may not fit your idea of continuous game view.

supreme ruler 2010 had worldwide combat, c.a. 2005 or so if I recall it correctly. unit moved continuously and fought by the hundreds, as opposed to medieval total war movement by nation.

they all had extremely complex interaction with terrain, including movement speed, hiding, defensive positioning and whatnot.

there are plentiful war games that have extremely complex engagement rules, to the point implementing whatever you have in mind is just a matter of putting it in writing.

basically the computer isn't the limit. the patience of gamers and market audience is the limit and what prevents extremely complex war games surface on the market (as in: complex in rules). that plus the factor that computer can actually simulate the whole environment and unit interaction physically, so no real need to have to approximate it out with rule lists.

on the other hand, if you want to go into the indie space, you'll find plenty game with unbelievable depth, like aurora 4x - that got some serious rule lists, up and including combat readiness for crews and the need to ready them with training maneuvers which happen in space as the game actually goes.
I don't think we need to get into anecdotes about stupid crap we've seen cars do.
I've lived and driven in the Netherlands for five years, and until now I never heard of this. Neither have I observed Dutch drivers doing it. Not saying it isn't true, but...
Also, at 17, you're likely to think you are way better at programming than you actually are. A high quality CS program will quickly disabuse you of that notion, thus allowing you to get better.

At 17, I thought I was a brilliant programmer.

Twenty years later, I think I'm finally pretty competent, and I realize how embarrassingly little 17-year-old me actually knew.
"stay the course" is mostly nautical, means keep going straight, i.e. staying on the wanted direction despite small variations of wind or waves.
Not just any water, only https://en.wikipedia.org/wiki/Heavy_water has that property.
He should not program either.

Python has an idiomatic way to control attribute access - descriptors.

Mashing Java getter/setter methods into Python is so, so unpythonic.
Also absolutely insane that one ruling in one Fed District Court is non-binding to the other Courts.

What is the point of having the Supreme Court if courts which are nominally peers of one another are bound by each other's decisions? By having multiple cases with slight variations of the facts involved, the Supreme Court gets multiple data points upon which to base their decision which is then binding for the whole country.
7 Science-Backed Ways Music HACKS Your Brain to Make You Feel Good
But where's the difference between not being able to pull vs. not receiving metrics for a period of time?
Today, the first thing we have to check when sourcing some saas solution is where the data is stored and weather the company has a US department (I work in a Norwegian bank).

So far, if the data is stored physically in the EU and we get a list of names with access to said data, we have been able to use the service, however if the DoJ wins this case we can never use a US based saas type company again regardless of where the data is stored.

Is this on the agenda at all? I think a ruling like that would be most harmful for the US IT industry.
> "Developers are almost never included in those stages."

That's not been my experience. I've seen business analysts working closely with developers to scope out what's needed and find the the best way forward, before the coding is due to start. For all the the apparent negatives of waterfall, I've seen that it can work quite well, when it's used correctly.
Disaster Geology: A Tale of 2 Mexican Earthquakes
I would think discussing the logistics of recovering the bikes would be an early discussion for such a project. Sooner or later someone is going to jack someone’s phone and steal a bike. And that advertising display device on the Citibike’s handlebars looks like an easy way to implement a GPS/cellular tracking system.
Crypto-Mania Grips Hong Kong as City Looks for Life Beyond Banks
Breaking Newsin Nigeria
You can’t outsource the CEO role of your life. You need to figure out who you want to be yourself and execute accordingly.

And there is compounding impacts for seemingly trivial decisions you make at 17. They are more important, not less, than the future decisions on that factor.

Also, I hate to point out that 17 isn’t that young. That some people in the thread are so underestimating of 17-year-old capabilities is disappointing.
Good concept to generate UML from logs
It's not just benchmark games. It's people's real-world code.

Look at how often folks on HN complain that the Web platform is useless because JS is slow. C without optimizations is just as slow if not slower. Compiler optimizations are so good that people don't realize how much they rely on them.

Linus was wrong when he complained about the compiler treating null dereference as undefined behavior. This is a very important optimization, because it allows the compiler to omit a lot of useless code in libraries. Often times, the easiest way to prove that "obviously" dead code can never be executed is to observe that the only way it could be executed is for null to be dereferenced.

Opt-in optimization keywords wouldn't scale to the sheer number of optimizations a modern compiler framework performs. Restrict hasn't been a success because it's too subtle of an invariant. It's the kind of thing compiler authors, not application developers, should be thinking about.
We have many factions in the US, some more short-sighted or zealous than others. There certainly are citizens of the US who feel that unquestioning compliance with authority is paramount above all other concerns, including long-term economic effects.
If you are handling plutonium and safety isn't an innate approach, then you shouldn't be handling anything more dangerous than bubble gum.
Did you ever point out that they legally had just as much right to be on the road as she did?
This is constantly done... Find some new discoveries in basic science. Get finding. Develop a drug. Test and redevelop. Market. Profit.
This is related to the Buddhist notion of the "opportunity of human form". (In the Fukazazengi, Dōgen renders this as 人身の機要, read "ninshin no kiyō".)

To be born a god is too easy -- it's hard to turn to the dharma when life is so good. To be born a demon or an animal is too difficult -- it's hard to practice the way when life is so tough. As a human, we recognize fairly early that life does not always go our way; but we are not without some control and capacity for disciplined practice. It's this combination that allows us to (a) want to practice and (b) be able to practice.
That looks good. Python has long needed something like this.
neato uses distance embedding methods. The paper linked describes Sugiyama-style rank embeddings as implemented in dot. 1) They're incomparable. 2) the theory behind neato was published in 2004 (http://www.graphviz.org/Documentation/GKN04.pdf).

There are research groups (I'm thinking of Tim Dwyer's specifically) that are specifically trying to improve the situation. When you say "it's just a pile of incompatible heuristics", it sounds like you haven't taken the time to try and implement a better solution.

Graph drawing is the kind of thing that seems trivial, right until you try to work on it.

(disclaimer: I'm clearly biased here since I worked with the people who wrote graphviz.)
"Hero" is not gendered in modern colloquial English, at least according to my intuition.
Why I don’t use a Parser Generator
Which serves higher quality food than the 200 generic chicken and kebab houses on Just Eat.

Anyway, in London there are a lot better quality places on Deliveroo than pizza express.
It wasn't reliable back then, but that was nearly ten years ago. I'm sure it's improved since then. And honestly, it could have been just one regression that was soon fixed, but I had already moved on and I generally don't look back when something like that happens.
> Further balkanization of the export behavior isn't an advantage!

I'm not sure I understand that. You need to customize the export behavior because everyone doesn't prefer the exact same thing. While you prefer not to auto-convert to en/em-dashes, I prefer that. So having options (what you refer to as balkanization) is good.

> Comparisons to the minor incompatibilities of Markdown parsers is laughable

Didn't follow that. What incompatibility is this in reference to? Which parser? Of which flavor of Markdown?

> when the solution to concerns about the format is "customize your local Emacs."

How else would every user get their export behavior unless customizability is added? Taking the same example as yours, I am glad that "--" does the job of "&ndash;" or "&#8211;".

I know of one Markdown parser (Blackfriday) that adds a similar en-dash/em-dash conversation like Org exporter (and is enabled by default in Hugo). So the customization is needed by a sizeable number of people.

In the end, it's alright if you don't prefer Org mode or like the option to have options. I presented the ox-hugo package for folks who like blogging using Hugo, but don't want the leave the comforts of Org mode. I am not enforcing Org mode on anyone.
> Exactly how that happens can be left unspecified, but that it must happen cannot be unspecified in a sane design. I don't see how any reasonable person could possibly dispute this.

Your proposal is basically tantamount to saying that the compiler can never ever delete any read or write to memory that is unused if it can't prove that the memory pointer is non-null (for example, the pointer is an argument to the function--clearly a very common case).

Trying to formally specify what can and can't be done with common undefined cases (like dereferencing memory that results in a trap or reading uninitialized values) turns out to run into issues where the specification unintentionally precludes common optimizations, and it's not always clear how to word semantics in such a way to not do that.
This is business in general.

The big ones buy up the small generic producers and single new drug companies and get slightly bigger.

The ones who can't pass trials fail. That's business, especially in R&D.
The "Creating and Interpreting Cumulative Flow Diagrams" post from 2006 explains a simple way to visualize and measure flow. The only data required to construct a cumulative flow diagram is state transition timestamps. A cumulative flow diagram can help identify bottlenecks, find resource constraints, and estimate delivery times for customers.

http://leadinganswers.typepad.com/leading_answers/2006/09/cr...

This is the single most useful process analysis tool I've discovered in a decade of analyzing engineering development processes (at least when humans are responsible for tracking the data).
A lot of people on hacker news have trouble receiving affection.
Are you saying it took you 9 years of seeing other people know and learn things you weren't taught at the Uni before you realized you could look things up with Google?
Because life is not too long, we should be able to keep on track the whole while -- it's not outside our power.
"Dude, can you just not be evil for like 50 years?"
The power of tables in org is the automatic formatting. I type |Name|Address|Something Else| and jump to the next line and put in a |-

and it makes a table. I can navigate it using the tab button, it will expand columns automatically as text gets longer. It can even do some basic spreadsheet functions if you need that.

Here's a video that covers it in some depth

https://www.youtube.com/watch?v=fTJVLJd_gz0
This has been in and out of the news the past few years. Each time the Dutch, including me, feel obliged to respond that no dutchy opens his/her doors like that. We have mirrors, we use them. If we have fewer accidents it must be because we have a lot of bicycle lanes and our cyclists (every Dutchy) is a master evader by years of training in what we call large cities.

Dutchy out.

Drops mic.

Cycles away.
Perfect timing, I've been looking to add syntax highlighting to my blog. Took me about an hour to integrate it this morning. Here's a working example using the excellent blackfriday package.

https://gist.github.com/kyleconroy/a2741b9e6cf45beb3515d81ee...
I've noticed it had several upvotes during the interval in which it has been hugged to death. Is this expected?
It's a production tracing tool, but you could run it in a testing environment too.