skysight-inc/HackerNews huggingface dataset:
>> if it was smart it would have figured out that the value never was initialized

> But that's false

Are you reading the same code the rest of us are? NeverCalled is never called. So Do is not explicitly initialized and therefore contains a null pointer because it's a static variable.

Now compiler writers wanted their benchmark scores better so instead of crashing the program when Do is called, which happens in the unoptimized version, they decided to play fast and loose with UB. They just made code vanish.

What I'm saying is that if the compiler can figure out that NeverCalled is actually called from somewhere then it's free to make these optimizations. But if it knows it's not called then it should either disable the optimization for that statement or better yet give a warning.

> There's nothing stopping this from being linked into a binary which doesn't even call main, or which calls NeverCalled, etc.

Which is why I called for Whole Program Optimization to solve that issue. Since it looks like you did not bother to find out what that is and how it would solve that issue I'll explain it here. In Whole Program Optimization the compile is pushed down to the link phase. This lets the compiler see the who program and apply optimizations globally instead of at a file by file bases. So it can tell if main is never called or if NeverCalled is called or not.

> And I bet you will also insist stamping your feet

Now you're attacking me instead of my arguments. Do you wish to have a civilized discussion or just resort to insults? Because if it's the latter I will just ignore you in the future.

> which just goes to show that the compiler writers know way more about this than you do

> You know nothing, but you're convinced you know so much more than those stupid compiler writers.

I am a compiler writer so I do know what I'm talking about. It's a small personal project but it means I've been doing a lot of thinking and research about compilers. And eliminating UB is my current design focus.

And if you reread what I wrote you can see I never called them stupid. They are quite smart and know what they are doing. But even a smart person can make bad decisions depending on their motivations. What I'm saying is that they are putting their skill towards exploiting UB instead of protecting programmers from it.
Previous discussion from a month ago (230 comments): https://news.ycombinator.com/item?id=15062391
States can't leave the USA countries can leave the EU, which is a massive difference. NAFTA and EU are not countries they are an agreement between countries.
The fact that the US is separated from a huge chunk of the world by the oceans is tremendously important.

But pretty much all nations and cultures have spread by one group dominating other groups and taking their land. That's a given. What happens after the land is taken and the nation established is more important, which is what this book seems to address.

The US has huge material advantages over other nations, but it has also fostered a powerful innovative culture that is just as important to it's success.
Synthetic biology.
> If the government ... access? What if that data were related to an imminent attack?

We can always play the game of upping the consequences but it's always the case that people are willing to throw out the rule of law when there's enough danger and I think that's the standard we should hold.

If there's an imminent attack I think the argument should be that the danger is so great that the police/military must be given an exception to the law, not constantly expanding their power just in case.
The question "Do you want to save" on exit (which some software asks) is destructive when answered "no" (you lose shat you've typed and efited). I've always found it wrong, as in most other cases answering yes is destructive ("do you want to format?")
Not until we figure out what's killing it
Plugging https://www.librato.com/ after reading an HN thread yesterday that DataDog pricing is insane [1].

[1] https://news.ycombinator.com/item?id=15315028

Disclaimer: No relation to either org.
React, other libraries freed from unloved patent license
The busybox rm does.
Why would you immediately have to recall your software? Facebook would have to have counter sued you for some hypothetical patent they have for React first and “recall all your software” would have had to be the court ordered remedy.
It’s so funny that you say that translations are always diminished recreations of the original... I think Derrida would disagree.
Hipsters:

"[those who] reject the culturally-ignorant attitudes of mainstream consumers ..."

Brogrammers:

"[those who tend] to mimic stereotypical "jock", "bro", or "cool" culture in combination with the egotism, insensitivity, and terrible humor of "nerd" culture"

Combine the two and you get:

Narcissistic jock bros that are also egotistical insensitive nerds
And still the obvious fact remains: 1 country versus 28 separate countries.

The UK voted to break off. France came dangerously close to heading down that path with Le Pen. Greece's government might not want to, but the people would be on board for the same. Potentially Germany when they get tired of carrying the rest of the EU (especially after UK) on it's back can all leave whenever they want -- they just need to vote on it.

However, If California, for example, tries to succeed, it would be illegal.
The review implies the people and culture caused economic growth. I'd say they resulted from it, which resulted from two oceans and friendly neighbors that make the country difficult to invade, fertile soil, lots of natural resources.
The native American life wasn't all roses, but there are things we could and should learn from them and other peoples about community and the environment.
I write about a possible future where communities of people purchase robots that do most of the work they need for survival, and they otherwise live a simpler non-consumerist life.

I’d like to make this a reality.

http://tlalexander.com/sanctuary/
> is 10 years ahead of almost every other company when it comes to infrastructure.

For Google-scale orgs or infrastructure needs. Most everyone else in the world does not need Google scale tools.
http://www.mcternan.me.uk/mscgen/
Also metrics have a very intuitive text exposition format which means you can host then as easily as updating a text file for an http server.
You don't have to pay, just put it on github pages.
> Well yeah, but large chunks of that economy are segregated from one another along national boundaries.

Except with a customs union, shared currency and free movement.
add more corn to it
I'm more comfortable with the text coming first, followed by the link. The rails `link_to` helper is:

> link_to "Text", "http://example.com"

And Markdown:

> [Text](http://example.com)

It's pretty easy to remember the order after a while.
What's up with Komen? I realize I could google it, forgive me, but it sounds like you're in a position to give me a quick precis =)
Live map of Germany's 2017 federal election
We will have transitioned to sustainable energy sources long before the Earth is inhospitable to human life.
I am so late to the party I feel so ashamed but here is my 2 cents.

Please, please, travel, and by that I don't mean doing a full a world tour. Just explore what exists outside of your surroundings. Exercise yourself to questioning. Making money is fine, and most of the time needed, but discovering what your like / loathe is as important. Talk to people, share stories, get into argument, confront yourself with other way of thinking.

Being able to code or having a nice portfolio might make you hire-able but true maturity will make you shine amongst others.
> 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

That's right. I would much prefer to take a small performance hit if I might be dereferencing a null pointer than to literally have anything at all happen in that case. If I really need that last little bit of performance I really do want my compiler to insist that my code be correct before it will give it to me rather than take a wild guess at what I really meant to do and get it wrong.
That's not really a citation. Where are these figures published? What does that mean "10% the internet traffic?" By bandwidth? By request volume?
If it was illegal in the other country to do this, then what?
Facebook could never take away your license to the software. BSD license was irrevocable, whether you sued them or not.
most web dev shops are literally Wordpress shops. unless you want your career shortened or just locked in to doing that, id stay away if i were you.
Not only that but on the cultural side of things, look how quickly Trump farcical politics and neo nazi grouped resurfaced. Was the 20th century western world a bubble ?

ps: where was that Franklin quote from ?
Pretty sure that was before modern medicine. /s
Let's call it as it is, an entire continent was usurped, a gigantic fertile landmass rich in resources was stolen along with unlimited slave labour and IP from Europe. The consequence is predictable.

Using jingoism to spin this into some sort of exceptionalism celebrates the loot and plunder without a hint of self consciousness or remorse, and cements a barbaric ideology that fuels more indiscriminate global plunder in the Middle East, Latin America and Africa.
Fast paced and captivating. And the surprise ending, which turns from sweet to bittersweet, after what must have been weeks and weeks of work.
This doesn’t suprise me :\ I think YC funded a non profit that was designed to avoid corruption like this.
Your conditions are necessary but not sufficient, I would say, considering the history of Brazil.
I'm a little taken aback at your vitriol. Is "Stifled other libraries" a synonym for "Does the job well enough that nothing else was able to compete" ? That's been my sense. A lingua franca for graph visualization, pervasively available.

I hardly think they'd turn away algorithmic contributions, if you've got some.

Do you have an example of your hideous bow ties? I don't usually use graphviz to 'draw' anything, so I don't really have the context to understand your complaint. I've never seen a result I think of as a hideous bow tie.
> Did it though? Sure, the base protocol

Yes, it did

Cryptocurrencies are not working right now, not even as intended by their authors
You sound bitter. Find a society without historical sin and then we can talk. You went off on some tangent about jingoism without explaining where the book supports that. Did you read the book or the review or did you just want to rant?
Exactly. The EU is actually closer to the federalist vision of what the U.S. should be than the U.S. actually is.
“If you can't dazzle them with brilliance, baffle them with bullshit.”

― W.C. Fields
Of course I think of matching campaigns the same way (as a gimmick). If you are willing to donate $10,000, why not blare out that you are matching $10,000 instead of just donating it.

Obviously many companies match for the marketing, but besides that, they're also convincing others to donate. It's like giving people a "50% discount" on their donations. If the matchers believe in the cause, why wouldn't they match rather than just donate?
Nuclear material workers have much lower rates of job-related accidents and illness than many (probably most) other jobs. Much lower lifetime radiation doses than flight attendants, for example.
America's states and the EU its countries are very comparable, speaking in terms of economic size. Why do Americans always feel so attacked and start to bring contorted justifications when they aren't #1 in something..?
Komen is very litigious when it comes to other non-profits using the color pink in their breast cancer awareness campaigns. They also pay their leadership a ridiculous amount of money but I'm not sure how it compares to other execs of non-profits
Given the significance of the items I mentioned, if the book does cover it in sufficient detail, the review should have at least hinted at it.
Because ignorance is shamed and those who speak with confidence and like they know what they are talking about are more likely to get what they wsnt... like this comment.
Humans live in Siberia and the Sahara, it'll be pretty much impossible to kill us off completely - we're definitely the hardiest large mammal.

It's a good question whether civilisation will be here in 400 years, but humanity will be.
>but it remains ludicrous for a US corp to tell a US court to piss off.

Assume I build a storage box business with headquarters in the US. After a few years of good business I decide to expand and open a subsidiary in Ireland with a local CEO in charge. I now get an order from a US court saying I need to hand over the contents of box #371 that's sitting in Ireland. I consult my lawyers in Ireland who tell me handing over those contents will be a breach of Irish law and very likely to be prosecuted. As the US based CEO do you think I should go to jail or I should send my Irish CEO to jail?
>hardiest large mammal

Pigs.
Aren't you just describing world history, where tribes/peoples have replaced other ones many many times over?
How big a performance hit? Double run time? Triple? 10x?
To be honest, I dislike any landing page that makes it hard for me to figure out what the product/company/service does. There's this new trend where too many landings focus on the "one-liners" that look more of an advertisement rather than an actual tagline.

Don't get me wrong, I love the site! You've done a great job with the design and I really enjoyed discovering some landings that are straight to the point and beautiful.
It will be interesting to see how the next 400 years will go. For a long time the US could just keep growing into new territories and absorb a lot of ambitious immigrants that way. It seems this phase is over. The US is now a grown up country where everything is owned already so it will be much harder to grow. The Trump success seems a symptom of this. Instead of just growing as the US had always done Trump's message was about distributing the pie.
They actually only spend about 20% of their revenues on breast cancer research. They spend a lot of their money, about 40% of revenue, on "awareness companies" which have dubious real-world effectiveness, and can be considered a clever way for them to market themselves and fundraise without actually having to report it as such (they spend 10% on fundraising to begin with).

They're also very litigious. Of course they need to protect their brand, but in a lot of cases they are pretty objectively the bad guys. They have taken legal action against other orgs/charities using "for the cure" in their names, they've taken action against orgs/charities using "cure" and pink together.

In general I think they are more focused on self-perpetuation than curing cancer. There's a lot of reading material on how some of their corporate partnerships have been deceptive in the sense that Susan G Komen received very little directly financially, and took the opportunity as a chance to market themselves instead.

Their CEO and upper management do make a lot of money, but I don't think it's out of line for an organization their size. It's still a matter of controversy though.
Try OpenRC, really, give it a try.

Simple, sane bash-like scripts, logging like you're used to and so easy to debug, and when you need to do your own custom stuff, simple and just works.

Gentoo showed me this tool a few years ago. So happy.

For years now I've heard loud stories about systemd +1 or -1. Same arguments over and over.

Meanwhile, dozens of my servers and desktops and laptops keep humming along, I've like just never had to fuck with it.

I should buy the OpenRC team some pizza. Thank you!
Neat tool. Would be nice to be able to set tuning as I keep my guitars in Eb.

Also I'll be "that guy": Can we get a tab mode - maybe with an option to display the note as well for us complete amateurs?
I'd like to see more of this on HN, actually interesting technical content. The video is amazingly well put together. I don't know if it is sped up or not, my only experiences with windows now adays are through my non-technical relatives computers which I'm asked to fix, but I was surprised at how quick windows appears to be in this video.

But what bothers me, is the bug itself. It is shocking to me that someone set a hard limit on a pool and didn't add any code for replenishing it. I would just never do such a thing.

One of the first programming environments that I used was MicroWorlds LOGO, and they had a cheaper version which allowed a maximum of 200 turtles, and a more expensive version that differed only in that the number of turtles was unlimited. My father got me the cheaper one and since then I've had a religious hatred of arbitrary limits in programs. But even if you didn't have this experience, I'd have a hard time respecting any programmer who would have left that pool unreplentished and called it a finished project. I accept the fact that we all make mistakes and make bugs, but that wasn't a mistake bug, that was consciously sucking out of laziness and not even bothering to gracefully handle failure.
You know org mode and prefer it, fair enough. To someone unfamiliar with both syntaxes, Markdown is much easier to grasp; because it's simpler it's just more readable.
Sure, but it's not a reason to ignore it or brush it over.
Luckily US companies are much more nimble than their government. Most major companies have European branches and subsidiaries specifically for the purposes of ensuring international compliance and skirting around such legislative issues. We certainly poured a huge amount of engineering effort to make sure we had data centers that were EU compliant and completely bifurcated from our US datacenters.
> is just as important to it's success.

Yes, but this is why I said the things I mentioned were 'pretty major additions', not 'the only reasons'. The Louisiana Purchase is routinely ignored in things like this, for example - with no Purchase, there's no Mexican-American war, no Texas or California, no Great Plains, no Mississippi trade, and France as a (friendly) neighbour.
Dieter Rams: As Little Design as Possible is quite a nice one.
When "the rule of law" can be changed at whim by one side to the detriment of the citizens, without recourse by the citizens to fix those changes, then "the rule of law" is a farce and has already been thrown out.

Too often, the group who is currently in charge of a government gets a free pass to play havoc with both constitutional interpretations and general reasonableness of the societal rules and laws simply because they are the government. They are not held to any standard of responsibility for the changes they force upon the citizens.

How often do we find that governments create more and more law and regulation solely for the benefit of that government and its "backers"? These laws and regulations end up being to the detriment of the citizens, those for whom, ostensibly, that regulation and law is supposed to protect and benefit.

I should make note that irrespective of any imminent threat, law enforcement and military should always be held to the highest possible standard and never given any exception in following the law, that is the path to them never following the law and becoming a "law" unto themselves.
Reasons programmers leave is reasons why anyone leaves any company. The only difference is that programmers are in high demand and companies often doesn't offer a good career path.
> the browser dev tools already have to include a "prettify" option. Moving to a binary protocol would turn that into "decompile" and make it mandatory, but it effectively already is.

This will be a legal problem. At least in my jurisdiction, transforming source code (which is what prettifying is) is not subject to legal restrictions, but decompiling binary machine code into readable source code is forbidden by copyright law. (For the same reason, I'm concerned about WASM.)
It sounds like he/she just read “A People's History of the United States.”
That's true now, but it's not going to be the same place over the next few hundred years

We might be tough, but we also will need to develop radically new survival skills in a short amount of time. Remember there will be less food, clean water ad more natural disasters to work with etc. So surviving in the "new" world will be more difficult.
So why didn't it happen in South America?
Google needs are extremely common. Take a look at any Fortune 500 and and it could usually benefit greatly from a lot of the infrastructure that powers google.

Most of them do run their own datacenters, sometimes in numerous locations, they have massive and extremely complex IT systems in place.
> Is there anything in his background that separates this from the low-grade shlock that pollutes my Medium feed on a daily basis?

Considering he posts about his background on his very site, maybe you should do a bit of research before asking such a basic question and sling what amounts to a bunch of insults.

It's hard to trust this comment is from a real "journalist" when it throws so many of my "doesn't do any research and just asks questions to try to be different" flags.
Fair enough. It seems like a hypothesis that's worth testing, for sure!
Your argument is tautologous. Any "clueless programmer" can "screw themselves due to ignorance" in any programming language. The question is how difficult it is for programmers to avoid mistakes and how aggressive the programming language is in punishing programmers for their mistakes. C is terrible by these measures.
Google said it wasn't complying with the order because it was on appeal.

Never presume to understand the legal situation in its entirety without being privy to all the facts.
I have this one sitting out and it's a joy to flip through:

Cosmic Communist Constructions Photographed

The beauty of Soviet brutalism: A photographic record of 90 weird and wonderful buildings from the last decades of the USSR

https://www.amazon.com/Frederic-Chaubin-Communist-Constructi...
Yes, but as an example (whose effect is only stark because of our present world history), the Nuremberg trials were also a replacement of world history. Many people on trial said "I was just following orders"; mere world history.

Just because world history is symbolic, does not mean millions of people's duties do not depend upon which symbols are present.
One of their sales people tried to social engineer contact with me when I was running ops at a previous gig. They called out customer support line and said they were "just disconnected from the ops guy" or something of the sort, and asked to be transfered.

That's possibly one of the stupidest things I can imagine to sell SaaS to security-minded people, and they were surprised and offended when I told then to fuck right off.

Please don't do business with such unethical people.
The talk originally given at PromCon 2017:
https://www.youtube.com/watch?v=ypWwvz5t_LE
"Making the World Work Better: The Ideas That Shaped a Century and a Company" by IBM Press

https://www.redbooks.ibm.com/Redbooks.nsf/ibmpressisbn/97801...
The sweet smell of presentism. You can perhaps fault the US for the interlude between British outlawing of slavery and the civil war/abolition, which covers a few decades. But you can't seriously claim that slavery wasn't the global norm in the 17th and 18th centuries. It certainly wasn't "unlimited." Onto the next bit, "stolen...IP from Europe" is a modern characterization of what was in fact a healthy exchange of research and invention between the Old and New World. Much perceived "theft" was fueled by reactionary governments making the US a more appealing locale for the learned.
Would someone please explain how msn.com generates this much traffic? Do people not change the default homepage url in their internet explorer at work?
None of it, technically. The U.S. became "the world's largest economy" before WW1.
Let me guess, you didn't actually bother to read the book. It's kind of sad that this comment is the top comment.