skysight-inc/HackerNews huggingface dataset:
Here's the full context of her comments.

https://www.nytimes.com/2018/01/02/world/europe/germany-twit...

> In a tweet on Sunday, the lawmaker, Beatrix von Storch, questioned the decision by the police in the western city of Cologne to put out a message in Arabic, as part of a multilingual campaign to promote the theme of this year’s New Year’s Eve festivities: “Celebrate — with respect.” The message was also posted in English, French and Persian. The festivities in Cologne, in Germany’s most populous state, North Rhine-Westphalia, draw thousands every year.

> “What the hell is wrong with this country? Why is the official page of police in NRW tweeting in Arabic,” Ms. von Storch wrote on Dec. 31. “Are they seeking to appease the barbaric, Muslim, rapist hordes of men?”

> Her comments were particularly provocative because Cologne was the site of a rampage on New Year’s Eve 2015, in which hundreds of men groped, assaulted, harassed or robbed women. Many of the men were asylum-seekers or other immigrants, and the attacks on women fueled criticism by the Alternative for Germany, which argued that Ms. Merkel should not have opened Germany’s doors to so many foreigners.

> Facebook later removed that post, Ms. von Storch told her followers. She vowed not to be silenced by the new law, but to continue to “call out problems by name.” She went on to insist that the young men who had sexually harassed German women were “not Protestant Swedes, not Catholic Poles, not Orthodox Russians, not Jewish Israelis and not Buddhist Thais. The overwhelming majority of them are young Muslim men for whom women and followers of other faiths are second-class citizens.”

It seems to me that, in context, this is an inflammatory statement, and somewhat a silly one (why does that mean they shouldn't put it out in Arabic?), but given that she was commenting on a situation that did literally involve rapist hordes of men who happened to be Muslim, I have trouble accepting that a country could justifiably declare that speech illegal. It's even more disturbing to me given that she's apparently a prominent politician and the government is looking into charging her for this statement.
Last update is _today_. It links to a comment on this thread.
Dust, Not Aliens, Is Likely Cause of Star’s Weird Dimming
I worked for a large government organization and fortune 100 organizations that didn't specialize in writing software. And they were comparable, if not the government job was probably a little better done.

I think in general large organizations that don't specialize in writing software are often pretty bad at it.
But do you disagree with his points?
This was quite unexpected, and incredibly cool. This is your chat project, right? Are there desktop notifications? Can I read more about it somewhere?

I'm a bit busy tonight with hacking, but I'll keep the tab open and check it periodically.
Most of the issues were sorted out by kernel updates, and a BIOS update I performed recently.

The only thing that Arch clearly improved was the Bluetooth experience, which was very unstable on Ubuntu (even after the upgrage to 17.10). But even that is probably down to the newer kernel in Arch.
As long as the style is consistent, it doesn't really matter.

The general newspaper style is acronyms with periods use apostrophe to separate period from s. Therefore M.D.'s and Ph.D.'s are plural. Where period is not used in the acronym, the apostrophe is not used, so CPU not C.P.U., therefore it's CPUs. Anyway, it's just a convention, the key is consistency.
I find myself increasingly doing this in Rust:

let lines = {
let ret = vec![];
// Open file
// Read into ret
ret
};
let processed_data = {
// Open another file
// Use lines
// Construct ret
ret
};
....

You get the best of both worlds this way: scoped, meaningful names like with sub-functions and the continuity of a long one.

Everything is an expression is an underrated feature of Rust.
It looks like that's a somewhat normal ratio for pre-k teaching.
The percentage goes up for male teachers as kids age for some reason.

http://www.menteach.org/resources/data_about_men_teachers
Well said and I think Linus was especially well restrained or perhaps 'careful' with his wording here.
I'm also a subscriber and love Beats 1, but I believe Beats 1 is free. Sometimes I wonder if I should just unsubscribe and listen to Beats 1 all day.
Tim Hortons franchises reduce employee benefits, blame minimum wage
If you agree with Dworkin's distinction between "justified inequality of resources" and "unjustified inequality of resources" -- which I think is the only nontrivial part of this equation -- then the argument follows without too much difficulty.

So to argue that the argument is invalid, you'd have to show why you think there's no such thing as "(un)justified inequality of resources." The fact that inequality is inevitable or natural doesn't have bearing on the justification of distribution (or non-distribution) of wealth any more than the eventual heat death of the universe has on getting a tetanus shot after you stepped on a rusty nail.
Building a blockchain, assisted by Clojure spec
As an alternative, you could use curl with the verbose option:

curl -v https://news.ycombinator.com

That will show you the status code along with any headers and body (if any) sent by the server in response to the HTTP request.
It's understandable. My method is actively see more people; online it's much simpler. Then get an idea of their interests, and if we share some of them, to try to communicate regarding these things. Soon enough you are somehow acquainted with a number of smart people. Even if few will become your friends, you keep learning from them, and keep getting leads to other potentially interesting people.

Try to frame it as an engineering task of a graph traversal optimization. Also, you have to be open; no people are going to check all boxes. Limit the filter to really important stuff.
My Problems with the Programmers Guild
I'll stick with the vastly superior offering and swallow the occasional hiccup, but thanks.
My wife has a Corolla. It's completely fine. It's so functional and inoffensive that I think they should simply call it the Toyota Car or something. That's not even an insult, exactly. It's just that... functional.

I have a Mazda 3. It is honestly a driver's car. Not in terms of raw performance. But I've been driving it since 2008 and it is still a joy to drive every single day.

(It's matched the Corolla for reliability, too! Aside from the damn wheels. 17" rims with low profile tires = rims perpetually getting banged out of whack by potholes. Annoying, but not exactly a mechanical issue with the drivetrain)
> Most other engines (PhysX and Havok) are to the best of my knowledge using something very similar.

PhysX is position based dynamics. The Mueller guy who wrote that paper was a Co-founder of PhysX (back when it was NovodeX, then purchased by Ageia, then purchased by Nvidia) and is now a lead researcher at Nvidia. [1]

> The common method in open source engines is a projected gauss Seidel [0] which is used in bullet physics.

PGS is just the numerical method that Bullet uses to solve for the collision impulses between the rigid bodies (there are tons of other possible methods, Nvidia again had a cool paper a few years back, there are also global approaches with better convergence, etc). This is solving a so-called 'Contact Dynamics' contact model [2], which originates in the work of French mechanicians in the 70s and 80s.

Actually, if op is interested in PDEs in games, check out 'Digital Molecular Matter' [3]. It was used in some Star Wars games, iirc. It is a pretty straightforward Lagrangian discretization (linear shape functions on tets) of a linearized hyperelastic energy density. They added a simple fracture model on top which allowed for cool destruction effects in games.

[1] http://matthias-mueller-fischer.ch
[2] https://en.wikipedia.org/wiki/Contact_dynamics
[3] https://en.wikipedia.org/wiki/Digital_Molecular_Matter
I am confused, as far as I know two different vulnerabilities have been discovered, Meltdown and Spectre; while the first one affects only Intel CPUs, the second one affects AMD and ARM as well. So how come I'm not seeing much talk around about the latter? Is it because it is harder to exploit?

I didn't have a chance to read the 2 papers so I would appreciate a TL;DR.

I am a SW developer working with high level languages; security and OS development are not my specific fields so while I don't need an ELI5 I would appreciate a sufficiently "layman's terms" explanation.
Ask HN: What was the turning point of your career?
Fish Feel Pain. Now What?
Text and patch start here: https://lkml.org/lkml/2018/1/3/780

Also, see Linus' response here: https://lkml.org/lkml/2018/1/3/797
Search for Spectre, quite popular today.
Spectre and Meltdown are two different exploits. In this case, the paper is talking about Spectre and they did have a POC that worked on all three major processor families (except for deterministic execution engines in microcontrollers and low end CPUs from ARM as well as a few early Atoms from Intel). AMD is saying that Meltdown, which at first glance seems like the most serious one, doesn't effect their processors.
Paris isn't that deep, though. Don't know about London.

But the sibling advice should stand - dig deeper. Russian subway systems are sometimes very deep, in places you can hardly see the end of the escalator.
I missed that it was indirect jumps too, which means switch statements also get affected. That's even worse.
AMD put out an announcement:

https://www.amd.com/en/corporate/speculative-execution
Ask HN: What does the richest person you know do?
Does anybody know if running TLP has any specific advantages over running powertop?
Honestly enough superheroes in movies, as a wife I'm way too tired of seeing 2-3 every year and also just stop the endless spidermen movies.
By this logic, all exploits for publicly released software, patched or unpatched, could be zero-day exploits. That would make the term rather meaningless, IMHO.
'Many American rap songs' incite riots? this is news to me.
They test how a series of branches are predicted after returning from a hypercall, which lets them basically dump out the state of the BTB. From that, and knowledge of where the branches are in the hypervisor binary (the binaries themselves aren't really a secret, only the relocated load address is) they can figure out the load address of the hypervisor.

See the section "Reading host memory from a KVM guest / Locating the host kernel". It's terribly clever.
>The particular kernel exploits require injection of a JIT-compiled eBPF program, as they said they were unable to locate any suitable gadgets in existing compiled kernel code

Did they say that?

I don't see anything saying they were unable to, just that they didn't bother to because it would take effort.

>But piecing gadgets together and figuring out which ones work in a speculation context seems annoying. So instead, we decided to use the eBPF interpreter, which is built into the host kernel - while there is no legitimate way to invoke it from inside a VM, the presence of the code in the host kernel's text section is sufficient to make it usable for the attack, just like with ordinary ROP gadgets.
Azure's response: https://azure.microsoft.com/en-us/blog/securing-azure-custom...

This part is interesting considering the performance concerns:

"The majority of Azure customers should not see a noticeable performance impact with this update. We’ve worked to optimize the CPU and disk I/O path and are not seeing noticeable performance impact after the fix has been applied. A small set of customers may experience some networking performance impact. This can be addressed by turning on Azure Accelerated Networking (Windows, Linux), which is a free capability available to all Azure customers."
Books are both written and read by humans. That is human connection.
Shoot, apologies for that, this was a silly reading error on my part... I quickly read that comment while outside and didn't realize 'redcalx' was referring to the user above, and instead somehow my brain just glossed over that part as a typo.

Disregard that part of my comment and look at all the rest of what I've actually been saying. The problem I have been trying to point out with the definition (as in the last comment, but I'll repeat here) is that the definition of a "bug" might be "just semantics" to you, but that doesn't make it irrelevant; those semantics make all the practical differences here. If you consider any undesirable behavior in unintended situations to be a "bug", then it sure sounds good, but won't get you anywhere, given that practically anything you buy can be used in weird ways with unforeseen (and hence unintended) consequences. If you consider a "bug" to be a deviation from the manufacturer's specified behavior, then it's obviously more limiting, but I would expect it's closer to the semantics a court would use to decide whether to hold the manufacturer responsible.
Keep in mind 15trains per hour is really quite poor by international standards.

Victoria line in London can do 34 trains per hour currently and there is a plan to get it to 36 (anything further is really difficult because you hit a physical limitation of getting people on and off trains).
How do you distinguish between plural and ownership if you use ‘s for both?
Do you find this statement convincing at all?

The fact is that the US is the perfect counterpoint to the, frankly tired, slippery slope arguments made by the far left of the Bay. And I enjoy seeing them try to explain it.
>Apparently, what they are really arguing is not that Tesla is bad at production, but that Tesla is trying to do something nearly impossible.

>And if they fail, they failed because they took on a challenge that was simply too hard for any company to achieve.

From the way that Musk has recently embarrassed himself arguing with transit experts on twitter over the last few weeks I am increasingly believing in the possibility that Musk thinks he's the smartest guy in the room, is completely ignoring experts in the field, is trying to do something that actually is impossible, and he's doomed to failure.
You've just described a socially-caused pipeline problem.

A pipeline problem caused by unfair assumptions about someone's suitability for a career based on their sex.

Weird, that feels so familiar...
Cloud infrastructure vendors begin responding to chip kernel vulnerability
Fine as long as there is also a Public Option so the privates can't collude and sabotage the thing as they've done in other situations.
> had to be completed in a hurry

"We reported this issue to Intel, AMD and ARM on 2017-06-01"

https://googleprojectzero.blogspot.com/2018/01/reading-privi...
All this quote says is that solitude through literature will become a natural tendency. Which it definitely has become, much more than in the centuries before today.
I doubt anyone actually forced you to buy their phone and computers.
> Germany is considering a stable, open, democratic, peaceful, constructive and successful country.

The German people have always had a strong authoritarian "we know best" streak and it has caused a lot of problems in the past.

Hence why the peoples of other nations are much more concerned by Germany trying to dictate what constitutes free speech on the internet than they are by a few tweets.
Intel was aware of the chip vulnerability when its CEO sold off company stock
> However, I'm bullish, because these are solved problems that many other people have expertise in.

Which raises the question, why didn't Tesla hire experts, like the company in the article? I suspect because Musk thinks his way is best, and, worse, hasn't yet realised that he's wrong. This would make me very concerned about Tesla's future. Ultimately, if Tesla goes bust, the brand will presumably be sold off, and someone who knows how to make cars will make Teslas, I suppose...
Pricing Creativity with Blair Enns [audio]
It's easier to figure out if you call the stick a branch ;)
>Comparing a weak country that has been overrun by a much stronger one

What does this matter at all? How does the GDP of Germany change anything? If Germany was poor it would be different?

>Germans do not find themselves in the same predicament as Tibetans, by any stretch of the imagination.

How exactly is that? It looks like exactly the same thing to me. The native population is being completely replaced with immigrants. It's a tragedy.
Thank you! :D
Sweet, will definitely look into this.
I'm thinking you might be right.

It's going to be really hard to give up real world gains from branch prediction. Branch prediction can make a lot of real world (read "not the finest code in the world") run at reasonable speeds. Another common pattern to give up would be eliding (branch predicting away) nil reference checks.

> short of entirely preventing speculating code from being able to load things into the cache

Some new server processors allow us to partition cache (to prevent noisy neighbors) [1,2]. I don't have experience working with this technology but everything I read makes me believe this mechanism can works on a per process basis.

If that kind of complexity is already possible in CPU cache hierarchy I wonder if it's possible to implement per process cache encryption. New processors (EPYC) can already use different encryption keys for each VM, so it might be a matter of time till this is extended further.

[1] https://danluu.com/intel-cat/

[2] https://lwn.net/Articles/694800/
Ah, this is something I didn't know I needed. Nice work!
I didn't take the comment as "all Intel CPUs are crap," but that (1) the fix is needed for crap CPUs and (2) the fix is turned on unconditionally on Intel CPUs, even future CPUs. That is, the code itself assumes that all CPUs that could be crap actually are crap. Torvalds wants a flag that could be set appropriately when Intel starts shipping CPUs that don't have this problem.
Good lord that was a hell of a leap of logic you just made. You must be tired after jumping to conclusions and attacking straw men.

Meanwhile, here in reality, the general case is what is design something for (you, btw, were describing lowest common denominator programming - a very different thing with a different, tho related, focus).

Understanding what niche you occupy is key to understanding what products and services are designed for you & which are not. Complaining that you are not catered to as a uncommon case in general purpose product is not only fruitless it’s also foolish.
> Many american rap songs do just exactly this

Which American rap songs, specifically, have incited riots or similarly drastically disturbed the peace, in Germany or elsewhere?
> Since our app server runs on a single core

Wow. Couple of questions :

* where is the server hosted and do you have a db server and maybe a cache server as well? What are the specs of the server?

* how much traffic does HN receive? Daily or monthly hits.

> Some big improvements which we've been working on for months will hopefully roll out soonish

If you're allowed to talk about it, what are the improvements?
Scott fixed it since.
> That being said, there are significant anachronistic, unjust human causes for inequality.... That is where we should focus our energy.

Yep (and sorry for snipping so heavily). I would add "political capital" to "energy" here.

Ever since the 2008 financial crisis made everyone angry, there's been head-scratching at why the voters more often (but not always!) turned right than left in response. Part of the reason is that voters, to their credit, are more angry about the unjust things people have done to get entrench their wealth than about the wealth itself.

It's always tempting for the left to equate the mere existence of rich people with injustice. But most people don't buy that, and if the right provides some more concrete story of injustice -- even a dodgy Trumpist story -- then that will sway people more.
I originally was going to just do this but didn't realize you needed a certain amount of Karma
That depends on your target demographic. JS is more frequently disabled among tech-literate customers, so a cloud provider's home page would probably benefit from working without JS.
> We are staking up to 30k lives a year on a comma.

Well, 2/3 of those might be taken with other (possibly "worse," like suicide by cop or ODing) means. But, regardless. I understand what you mean.

> That's not the case anymore.

Sure it is, because ...

> Police now drive tanks and come at you wearing body armor.

... anybody can buy body armor. Hell, you can even own tanks in the US. And, like we've seen with the middle east, a guerilla group doesn't need body armor and tanks to stall and protect themselves from the world's largest super power.

> So my point is that why not re-write the damn thing, taking into account modern tech and modern way of life? The second amendment is held as nearly holy by some, but at one point it was just written down on paper by a few people. It's not exactly a stellar piece of legislature that is above all scrutiny and reproach.

To me, that sorta defeats the entire purpose of the US experiment. I believe a lot of our successes have to do with how seriously we take the constitution. Sure, we've trampled over it from time-to-time (e.g., slavery, women's suffrage, etc.) but a lot of the ideas that went into it are just as prevalent in the US as they were 240-some years ago. In fact, some of those ideas have helped the least fortunate and minority groups. Minor edits are one thing, but complete rewrites usually don't go as planned. And having 240-some years of history simply makes parts of it that much stronger. Unfortunately, humans are more complicated than software. :-)

Side note: I'm checking out your family fortune app. It should work fine for just one person, right?
I also tried Google Music for a while before leaving it. They enticed me by offering to host all my MP3s, so I could stream my entire collection to any of my devices.

Later I found out they would use user uploads in their catalog (when legally able), so it sounds more likely that someone uploaded a bad copy that was shared, rather than Google ripping music from youtube.
So there’s some systematic bias in pre-k teachers that even the hiring officials aren’t aware of?

What kind of programs can be put in place for gender equality in teaching? Is there some sort of National problem?
The common law definition of fraud is an act of deliberate deception for the purposes of personal gain. Both elements must be true for an act to constitute fraud. If you say "I'm shorting x stock because of y" and you reasonably believe y to be true, then you're almost certainly acting lawfully. If you don't hold a position, you can say what you like about a company without the risk of committing fraud, because you don't stand to gain from your actions (although you may be guilty of libel). If you make public statements about a company and fail to disclose a financial interest, there's an inherent element of deception, regardless of the truthfulness of your statements.
Interesting concept - we should discount all criticism except from equally or more successful companies than Intel?

if geofft.karma >= foxylad.karma:
print('No comment.')
else:
print('This was a really badly thought out comment.')

So... No comment.
I understand that people are reacting to the "missed expectations", but the reality is that everyone knew that their original production goals were very aggressive.

Here's the bottom line: If Tesla originally planned to produce 250,000 Model 3s in 2018 (5,000 per week * 50 weeks) and only ends up producing 150,000 (1,000 per week for 6 months + 5,000 per week for 6 months) I don't think that's going to be a problem in the long run.

Their only real competitor right now is the Chevy Bolt.

The Bolt has similar range and price to the Model 3 but it has at least 2 disadvantages:

(1) GM is not really aggressively pushing the Bolt, allegedly because it is selling them at a loss

(2) Tesla has the super charger network.

Conclusion: These delays don't like they will have any long term impact.