skysight-inc/HackerNews huggingface dataset:
I've been vegan for 25 years and my weight has been up and down both before and after being vegan. The one thing that everyone should agree on is that there are a TON of factors that influence weight gain/loss. Obviously anyone will lose weight on a calorie restricted diet, but it isn't that simple in the real world--specifically, the level of effort involved in maintaining a low calorie diet varies greatly for different people.

There are people who can skip meals and not notice, there are others who are constantly hungry. I'm excited that we're slowly figuring out why that is.
One thing people keep forgetting is that $99 does get you two code level support cases with Apple Engineers per year.
Small Memory Software
If a nation's military kills you for profit, that is no different than murder. But our healthcare lobbies also kill people, as do the banks and Fed. That is what I was trying to get at with a general statement, but failed to say accurately.
I wonder to what degree some systems are affected. I believe Solaris already uses separate address spaces on SPARC for user and kernel. I haven’t looked over the SPARC architecture manual to see if they allow speculative execution beyond privilege boundaries.
Imagine that you are the person leading the team that's making an embedded system on an ARM SOC. It's not Linux, so you have your own boot code, drivers and so forth. It's not just a matter of "welp, get another kernel image." You're doing everything from the bare metal on up.

(I should remark that there are good reasons for this effort. Such as: It boots in under 500ms, it's crazy efficient, doesn't use much RAM, and your company won't let you use anything with a GPL license for reasons that the lawyers are adamant about).

So now you get to find all the places where the vendor documentation, sample code and so forth is wrong, or missing entirely, or telling the truth but about a different SOC. You find the race conditions, the timing problems, the magic tuning parameters that make things like the memory controller and the USB system actually work, the places where the cache system doesn't play well with various DMA controllers, the DMA engines that run wild and stomp memory at random, the I2C interfaces that randomly freeze or corrupt data . . . I could go on.

It's fun, but nothing you learn is very transferrable (with the possible exception of mistrust of people at big silicon houses who slap together SOCs).
I’d love a reference for this convention.
Do you seriously think that winning the market equals being right? "The market" is a horribly ill-idealized model full of wrong assumptions. Uninformed customers, unfair practices and outright illegal behaviour need to be expected. "The market" is a very bad indicator as to who was right.
Failure to disclose material change in their past quarterly reports, failure to file a 8-k.
My Interview with GKH of Linux Kernel: On his favorite productivity hacks & more
Is this mentioned in any particular newspaper style guide that a general member of the public can get their hands on? Like the AP style guide for instance?
What did the mod team do to you? This is the second time I've seen you have a go at them today.
"The best code is the code you don't write."
Demis Hassabis (CEO of deepmind) is a notable exclusion from this list.

He was ranked only behind Judith Polgar at age 13 with a 2300 rating.
Two possibilities:

1. Your distro has PTI/KAISER enabled and the reboot caused you to upgrade your guest kernel. Sucks to be running on an Intel CPU right now...

2. AWS implemented some kind of hypervisor-side mitigation for the VM attack that made VM entries and exits slower. Sucks to be running on an affected CPU (which seems to include AMD, too, but I could be wrong).
That was the argument given for website notifications. Now every news site prompts you because users blindly click yes on everything.
> I don't know how they go from that to reading memory though.

That was the second bit of the example source code:

unsigned long index2 = ((value&1)*0x100)+0x200;

This creates one of two different addresses, depending upon the value of bit zero of the memory location being attacked. The two different addresses are farther apart than the size of a cache line.

> unsigned char value2 = arr2->data[index2];

This actually does the read from one of the two different addresses (which results in the value located at one of them becoming resident in cache). Note that the value returned here is a "don't care" item.

Then, after everything unwinds from the speculation, the follow on code on the real path would read from both of the two possible addresses that were put into "index2". The read that returns data faster must have been in cache. Knowing which one was in cache, you now know the value of bit zero of the target address location.

Repeat the same block of code for bits 1-7 and you'll have read a whole byte. Continue and you can read as much as you like. You just gather data very slowly (the article mentioned about 2000 bytes per second).
"An email assistant powered by artificial and human intelligence, so you can respond to emails entirely with voice with near-perfect accuracy, grammar and formatting."

That run-on sentence is itself a grammar fail. Perhaps they should run their own ad copy through their AI assistant?
This fake Uber app hijacks your password and covers its tracks
How is "@dang shame on you" asking a question and not lashing out?
NVidia was growing for a year after Polaris release with nearly 50% performance jump. It still is growing.
I think there is something to the idea of "safety valve". That is allow some venting in order to prevent full-blown animus.

However, the difficult part is two-fold. One how to define the line of unacceptability (for example, calling for actionable violence against someone) and how to enforce that line and keep it steadfast (unwavering in the face of both antagonists --the ones for more control as well as the absolutists).
I've been riding the subway for decades. I would say compared to couple decades ago, NYC subway is a lot better.

Yeah it smells like piss on Time Square platform during heat of summer and compared to subway systems in Europe, Japan, Seoul, the station looks like half-baked boondoggle.

But hey, I've been saying Hi to the same piece of dust ball on ceiling pipe since 1996 thanks to MTA's total refusal to vacuum what's over your head.

I've watched that dust ball blossom into a fine young lady.

I may even propose to her this year, all thanks to MTA.
(c) an actual rule against changing those timing instructions - including of course canceling them

This rule does not currently exist.
Ask HN: What online code tutorial was most valuable learning experience for you?
This can be anything. It doesn't matter the language, framework, skill level required, etc. - Just a time that comes to mind where a specific internet source helped you accomplish or learn something you.

At the programming bootcamp I went to a few years ago, I ended up adding gmail-like chat to my "final project", a Ruby on Rails application using this tutorial (which I noticed I still had bookmarked):

http://josephndungu.com/tutorials/gmail-like-chat-application-in-ruby-on-rails

I knew I wanted to add live chat to my project in the weeks leading up to it, but started to think it was too daunting of a task for a noob like myself. I almost dropped the idea and when the javascript wasn't working at all with only days left before having to present to a bunch of companies, but I took a deep breath and kept at it and managed to make it look and function perfectly in real-time. I was pretty pumped.

Some of the last GIFs at the bottom of that project's repo show the resulting chat in action. You can visit the site but no one uses it so the chat is useless... and I think it still makes you sign in with the linkedin oath.

https://github.com/EWarringer/Freelanswers

Anyway, it helped me realize some things in programming are less daunting than they might seem.

I'd love to hear some fun or purposeful websites/tutorials that boosted your interest (and/or skill level) in programming at any point in your career. Maybe I'll learn something awesome.
you realize everyone got tax breaks and not just millionaires? literally every citizen in america? the fact that you lie about that point makes your entire post worthless
I'm not sure what behavior with regards to this bug that you're referring to. From what I heard, Intel is freaking out and trying to fix things. Did I miss something?
Musk has painted himself into a corner. He is probably aware that skipping the hard tool test phase was a bad idea, but had no choice, they would've run out of money adding another 6-12 months to the model 3 timeline.

What they're probably seeing now is lots of model 3s coming off the production line with non trivial faults (as to be expected), and stock-piling those because they can't afford to stop the line and fix root causes. Fixing all those stockpiled 3s will take a hell of a lot of time and $$$.

Fair chance Tesla will go into BK in the next 12 months or so if you ask me..
Can I see an article/discussion about AMD being passive-agressive about it? I want my popcorn.
Is that inherent, or part of having so much more research and experience with pistons? (Will we ever know?)
the left refuses to acknowledge that a fetus is a life... yet they are still pro abortion. so whats that mean for your claim of "scientific evidence" ?
how on firefox?
Anybody have a code example? The Spectre pdf also mentions JS vulnerability, anybody have a code example of that too? Perhaps it would be a good idea to create a github repo compiling a list of exploitative code found in the wild.
My Bad if I posted this question wrong. I thought I followed the rules:

"Leave url blank to submit a question for discussion. If there is no url, the text (if any) will appear at the top of the thread."
I had no idea it was possible to override site stylings, and though I may look into it, I may not do anything more about it and just keep on accepting sites as they come, even if they're unappealing. So this is a great option - I can change HN to a more pleasant appearance without having to know about the details.

Those are good ideas for improvements, but I'm glad just to have the possibility for change, even if the first draft isn't perfect.
This is one of the more insightful and interesting reads posted on HN.

I took issue with the statement that Apple have always cynically coopted counterculture and utopian motifs. Then I thought about it for a second.

Getting people pumped up about Apple using utopian imagery and counterculture suggestions was always cynical. It just happened to work very effectively on me in the 80s, and may very well have fuelled a lot of my early life's optimism. In particular my faith that certain tech/companies were inherently good. I was certainly a big fan of Apple for many years.

If that naivety hadn't already faded significantly, this may have been a more severe reaction, than ... Hey wait!? ... Oh right!

Obviously Steve had already exploited and cheated Woz on a number of occasions before the formative Mac 1984 Ads (which made a deep impression on me at the time.) So it's not that much of a reach to say they are somewhat cynical.

Jobs is a very interesting person, specifically because I think he bought a lot of his own bullshit. Possibly his LSD experience was something which led to deep understanding of humans and interpersonal politics, which may have led to him developing his reality distortions field... Who knows. He may also have developed the classic [1]Acid Jesus Messianic complex and as a result we have the enigma we are left with in the public memory of Jobs. Millions who believe he was an agent of change and a tech god. While many many, who look deeper at the man think he's quite the piece of (edit for politeness) work.

Speculation on this is ultimately pointless... but it's something I muse about myself.

1. https://en.m.wikipedia.org/wiki/Messiah_complex
I live in Fort Collins and can confirm that we were absolutely inundated with mailers, and other forms of ads.
Interesting to compare the reactions in this thread from 1 day ago:

"Intel's CEO Just Sold a Lot of Stock"

https://news.ycombinator.com/item?id=16055851
I appreciate the quality of the screen, but I think the Mitsubishi flat screens were a step up from Sony's Trinitrons. If I recall, the Trinitron were a section of a cylinder (vertically flat) but the Mitsubishi 2040U (and later short-neck version, 2060U or something like that) used a strategically distorted picture to ultimately hit a flat screen (both vertically and horizontally flat) and appear focused.

Sony would, in my opinion, ruin their name by mistreating people (both customers and would-be customers) by publishing what we now call "fake news" in the form of movie reviews by "David Manning" (see https://en.wikipedia.org/wiki/David_Manning_(fictitious_writ... for more) and distributing malware to Windows users on some audio CDs (see https://en.wikipedia.org/wiki/Sony_BMG_copy_protection_rootk... for more).

The latter means that Windows users who may have legally acquired a copy of the affected 58 known audio CDs (see https://en.wikipedia.org/wiki/List_of_Compact_Discs_sold_wit... for the list) and inserted them into their Windows OS computer may have contracted software now identified as either spyware, a trojan horse, or a rootkit called "XCP" that could not easily be removed even if the user refused the EULA presented to them. Some of the software on these CDs appeared to be copyright infringements from FLOSS as well. And to cap it all off, the uninstaller for the malware only hid the software's entry in the Windows add/remove software list without uninstalling the software. Even Sony BMG's initial rootkit removal software exacerbated the problem further mistreating users. Ostensibly this was all done in the name of preventing people from making a copy of the audio tracks to their computers.

I don't recommend running Windows or any other nonfree software. But that's no excuse for Sony's abuses. There's no good way to justify committing copyright infringement against developers who are respecting a user's software freedom. Nor is there good reason to justify Sony's choices to repeatedly subject users to malware, stand in the way of a non-infringing use, or make malware hard to remove.

I'm not keen to distinguish between the various arms of Sony, so I choose not to do business with any of them. I also notice that despite all this malicious behavior the people who run the various arms of Sony are apparently not keen to distance themselves from the name "Sony".
Care to explain? How is an OS update insufficient?
Unfortunately that's pretty much the going rate, as I understand it from people who've been in that field. Some of the better ones may go up to 21-ish... Yes, in the bay area with years of experience.
Directed Acyclic Graphs / block lattices in Cryptocurrency, like those used in IOTA and RaiBlocks:
https://raiblocks.net/media/RaiBlocks_Whitepaper__English.pd...
There is a philosophical argument to be made that absolute tolerance leads to the abolishment of tolerance:

"Less well known is the paradox of tolerance: Unlimited tolerance must lead to the disappearance of tolerance. If we extend unlimited tolerance even to those who are intolerant, if we are not prepared to defend a tolerant society against the onslaught of the intolerant, then the tolerant will be destroyed, and tolerance with them. — In this formulation, I do not imply, for instance, that we should always suppress the utterance of intolerant philosophies; as long as we can counter them by rational argument and keep them in check by public opinion, suppression would certainly be unwise. But we should claim the right to suppress them if necessary even by force; for it may easily turn out that they are not prepared to meet us on the level of rational argument, but begin by denouncing all argument; they may forbid their followers to listen to rational argument, because it is deceptive, and teach them to answer arguments by the use of their fists or pistols. We should therefore claim, in the name of tolerance, the right not to tolerate the intolerant."

(from Karl Popper, more: https://en.wikipedia.org/wiki/Paradox_of_tolerance)

I myself do not like the law because it places the responsibility of deletion into the hands of the platforms, which is IMO something that a court of law should decide. If a court is too slow maybe they need to establish a new branch of justice for things like this and actually employ more people.
It's only insanely expensive relative to the financing cost structure of traditional companies. If you view Tesla as a high growth tech startup, with an insanely cheap way to raise capital, you can say they are spending very little money to generate such high revenue growth rates, especially compared to say Uber.
> It's always tempting for the left to equate the mere existence of rich people with injustice. But most people don't buy that

Right, the Just World Hypothesis seems to be pretty instinctual. (Though that may be because folks who don't believe it might not survive their attempts to "fix" things...)
The problem is there is no need for this book. There are many good books on Java and CS. I would think there is no gap that this addresses.
Flippa is one place. Otherwise hit NameCheap marketplace and look for domains similar to yours with the same TLD and get an idea of the price.
What’s your strategy for making UI testing lean in 2018?
Valuations: domainiq.com + godaddy valuations (ballpark) - https://www.godaddy.com/domain-value-appraisal

You can sell via uniregistry.com, sedo.com, or flippa.

What's the name?
military or organized physical violence is not the same as a random yokel saying dumb things on the internet.

invoking real world violence as a stand-in for which one calibrates their regard for a person's tweets seems more like an emotional appeal rather than a logical dialog.
The winner takes all fallacy and the structure of network effects
Bankruptcy? Doubt it. They didn't go bankrupt in 2008 when they had not much more than a few prototypes (that overheated), some gliders, and an idea.

Tesla has been here before and worse.
At one point I had dogecoins that would today be worth $100k. I was mining them when it was absurdly easy to mine a ton of them.

I have no regrets, because it's effing dogecoin, and we're in a huge bubble right now. It would have made no sense for me to hold on to them because there was never any indication or reasoning for dogecoin going to nearly $0.01 per. It would have been irrational for me to hold in the hopes of the future irrational exuberance of the market.
The irony here is that a good ol' dedicated hardware web server is far less susceptible to Meltdown or Spectre than Google Cloud, because only your code is running on the CPUs.

I predict tonight's disclosures will lead to an uptick in interest in running websites on dedicated hardware, like we did back at the turn of the century.
Can you elaborate where in the wild you found it?
That is likely false. If it for any reason nose dived into the ocean at high speed then there may be no witnesses and most of the material would have either vaporized or been shredded into fine particles.
> Given the number n and prime p, calculate a and b. a is p subtracted from the nearest multiple of 10. b is that same multiple of 10 divided by 10.

This part threw me for a bit until I realized that numbers that end in 5 can't be prime, other than 5 itself. And I don't really need a rule to test divisibility by 5.
That's a common misconception. She did not do jail time for insider trading. She almost certainly would have gotten away with it. The problem is she lied to a federal agent while trying to hide her inside trading. That's what they charged and convicted her with.
It's not uncommon for natural languages to have homonyms, so people are used to deal with them. The context allows deciding which is the correct meaning.
I don't really think "scoring" comments at all makes sense. I'd much rather systems like reddit do away with downvotes and point displays entirely, and only allow you to express your desire for something to be seen by 'upvoting'. That would influence it's sorting order, but nothing else. Users no longer get the dopamine drain of seeing "-15 points" on their post, and you stop seeing people edit things with "really? downvotes?". If someone disagrees so much that they need to express it, they should reply directly to the post.

HN as it appears to regular users is pretty close to my ideal system, except that it greys out heavily downvoted posts and you can see the number of points you have personally.
install chrome

/s
We struggled quite a bit with this question. I think our initial instinct was to be a bit militant about it, but the reality is there is so much of this in our society that unless you're willing to go full Captain Fantastic they will inevitably be exposed to these types of things growing up. It happens through relatives, well-meaning friends, birthday parties, school, media, etc, it's impossible to try and weed it all out. I guess now we take the approach where if someone gives them something we wouldn't, we don't make a big deal about it, especially not in front of the kids. Kids are very malleable and fickle, and as soon as they forget about it(maybe an hour, a day, whatever), we just throw it away. We do make it clear to our immediate family what we don't find appropriate, but at the same time, we're fully conscious of the culture we are a part of. It's not necessarily an easy line to walk, and there isn't really much guidance out there, but we feel it's important to be strong in our course, without being so inflexible given the realities.
I think there was some research about this that did find some flawed implementations leading to semiprime p or q, but basically you can choose the probability that a probable prime is actually composite to be low enough that the expected number of weak keys ever generated for this reason is still less than one.

(I haven't personally understood the probabilistic primality tests well enough to understand how they guarantee that the probability of error contributed by each round of the test is completely independent of every other round.)
I don't the the impacts have really begun to be felt yet. We're already anticipating over 20% based upon our current AWS findings (as others have pointed out their dilemmas as well). If i'm a larger company looking at a sudden increase of 20-30% for operations, i'm going to have a pretty strong response. I would imagine it takes upwards of 1 quarter before the Tech impact becomes a Business cost impact.
Interested to hear what solution would be better for you. I live in Sweden and while I don’t speak Swedish everyone I work with basically does as you describe, the keyboard toggle between English/Swedish keyboards.

Frankly because I work with Danes and Swedes all the time it’s usually enough to hold down A and O when I need to type å, ö, ø, etc. but I usually don’t type in those languages. It’s mostly for locations and the occasional translation.
> That run-on sentence is itself a grammar fail.

That's not a run-on sentence, in fact, it's the opposite, a sentence fragment; if you added a “Zero is” at the beginning, it would be a perfectly grammatical sentence, though the “with...with” construct is clumsy wording.
Deep learning sharpens views of cells and genes
"Turn of the century"? JS was used for little more than swapping images on mouseover and changing/"animating" title bar text back then. The "you will see absolutely nothing or a ream of {{blah}} text" without js enabled really only became prevalent in the last 5-or-so years. Even in the halcyon days of jQuery usage you could get around quite comfortably without js, as js was still being used to augment webpages rather than replace them entirely.
I'd argue free expression has been the difference between the western world and more oppressive regimes
speakers corner London and Hamburg in 1966, a bit like pre internet Facebook ranting...
https://youtu.be/XGzmRhfef7w
FCC chair pulls out of Consumer Electronics Show appearance