skysight-inc/HackerNews huggingface dataset:
Listing everything I do for nutrition probably won't help anyone - people can't be told to add/remove certain foods without a strong belief that it will be beneficial to them. It's like politics. You can't convince a die-hard conservative to suddenly become a liberal with a comment on the internet.

For example if I went back in time I could tell my teenage self everything about nutrition. Unfortunately it would be pointless. Even though I'd listen, without the years of experimentation, forming beliefs and learning I would never have the discipline to think "These foods are poison. Other people can eat them, but not me."

So it's a long process and I think people should discover what works for themselves. But since you asked, here's what I eat and don't eat as of now...

NEVER EAT: HFCS, DAIRY, processed foods, greasy foods, red meat, brominated/bleached flour, unfermented soy (especially soybean oil), alcohol, artificial flavored foods or things that you don't recognize the ingredients, basically avoid all restaurants even supposedly healthy ones

EAT: Tons of organic vegetables/fruit, things cooked in coconut or olive oil, organic chicken, organic eggs, sprouted wheat, high-quality spring water, home cooking flavored with herbs/spices instead of sugary/salty sauces, foods with high omega 3s or high antioxidants, cook everything yourself using basic ingredients

Things that are listed "never eat" I make no compromises for no matter the pressure... "Oh hey - it's our company's annual pizza taste-testing competition, you can make an exception this time can't you? Don't you want some of this amazing pizza with cheese, soybean oil and brominated wheat flour in it. NO!?! What's wrong with you? Are you going to risk your job by not participating???"

YES - I will quit my job before eating pizza... it's poison to me, I won't eat it.
Confidence in returning the minimum to render a view. By default, without having to worry about over / under fetching data. Not having to worry about cleaning up endpoints when the needs of the consumer changes. A client that requests exactly what it needs, rather than hitting an endpoint with 'something', is extremely efficient.
The problem is that it's pretty much impossible to verify that a supplied RNG is actually a secure RNG and isn't backdoored.
I'm curious to know what the actual data structure is. Also, it should be noted that "append only b-tree" gives a lot of leeway in how something is actually implemented. That is as easily seen as a family of data structures as it is a specific one. (Not to mention "it uses persistent data structures instead of append-only B tree" is a somewhat silly statement. As append-only B tree is persistent.)

And there is something amusing about using git as an example of how there is no technical argument against losing information. Because, losing information is a specific feature that was added to git. (Look up shallow clones.) I can accept that there is no technical reason to have this, actually. But there are pragmatic reasons to have it. Which is basically the point of this article.
We can't really control simple neural networks. You can reward it for things like getting a higher score in a video game. But it's very difficult to make it play the game the way you want it to. it just does whatever gets it the highest score.

We can't use them to pilot self driving cars because we have no way of specifying the behavior we want. You can't let them get in all sorts of accidents and learn from it. You can't just have them predict what a human would do, because humans have slower reaction times and do make mistakes.

But they are too stupid to be a real threat. But we are getting closer and closer to real AI every year. AI can do stuff today that no one predicted would be possible 10 years ago. This year it's expected to exceed humans at vision and Go.
Thomas Pynchon (1984): “Is It O.K. To Be a Luddite?”
The malicious device could simply respond with a bunch of random bits which were recorded earlier.
This isn't my field, but I'm not sure if they should check for 3% or 0.3%.
Not really, trackers will impose restrictions on users based on seeding ratios, but if you just DHT a random torrent whoever gets bandwidth is more down to random luck than priority towards other seeders. There is just no protocol level mechanism that prioritizes seeding to someone with a higher upload - the choice of who to seed to is up mostly to the implementation.
You are the expert and not me but isn't this really like a scorched earth technique? Essentially regardless of whether or how much of a leg that they have to stand on they come at this full force with all of their resources in order to make an example and to make potential adversaries quiver in their presence by their legal might. Even if they would lose and even if they know they are wrong. [1] And even if it costs them money to do so. It scares lesser adversaries and even greater adversaries are not going to advise clients "it's ok" because what do they stand to gain by doing so?

Your thoughts?

[1]Separately I remember as a kid seeing a sign at the horseback riding place that said "ride at our own risk". My dad said "oh they just do that to that you won't call a lawyer and start trouble I mean if they leave a trashcan in the way of the horse and you get hurt of course that means nothing....(was a long time ago but that was the gist). Seems similar to that in a much larger way.
It seems to me that somewhere around 2007-2009 the spammers won, and Google's search quality plummeted. It hasn't recovered. If anything it's kept gradually getting worse. A handful of top sites show up for damn near every search, followed by page after page of spam sites and clickbait. Remember when the second page would sometimes have some nice and relevant links on it?
This is awesome. Thank you.

What are some typical bases for OSIC?
The article has a "drive-by" disparagement:

Intel's DRNG appears controllable through
a software based power droop attack

If true, this is big news. I did some quick Googling and couldn't find any confirmation.

Anybody have a link to the potential flaw in Intel's RNG?
Wondering the same. What if this was Github? What if private repos were somehow exposed? All these team apps could expose sensitive data if targeted/breached.
How to Install Laravel 5 – Dwidi Video
I agree with this post whole heartedly.

Another related issue is the common advice to "not reinvent the wheel" and use standard library routines and algorithm implementations, often stating how unlikely it is that you would be able to code something better than that yourself. However, this is not exactly true. While the authors of these standard routines may be experts in implementations of their favorite data structures and algorithms, they are not experts in the exact needs and requirements of your application. The standard libraries are used by everyone and so they have to balanced to work well in a wide variety of use cases. In order to support this, standard library authors have to make different tradeoffs than what would be optimal for your specific application. While it is true you may not be able to write as good of a generic implementation that would work well in all use cases (yet), it is quite doable to create an implementation that is superior to the standard for just your use case.

Of course there are other concerns in doing this, such as testing, maintenance, etc but from a performance point of view the idea that "you couldn't write a better version than the expert's implementation in the standard library" is not really true.
John Denker wrote a page on RNGs, http://www.av8n.com/computer/htm/secure-random.htm

"There is no algorithm that can generate entropy. Therefore any HRNG depends on input from some hardware device. It is necessary to calibrate the input device. For example, the entropy available from a soundcard depends on the input impedance, gain, bandwidth, and temperature. Calibration is not easy. It requires skill in a number of areas, including physics, electrical engineering, programming, and cryptography. However, just because it is hard is no excuse for skipping this step.

... My favorite proverb of all is the one that says for every proverb, there is an equal and opposite proverb. In this case, we should note that the proverb about not putting all your eggs in one basket is not necessarily a sound engineering principle. The right answer depends on the margin of error and on the per-basket failure rate. It also greatly depends on the chance of correlated, uncorrelated, and anti-correlated basket failures. Sometimes the best way to get your eggs from point A to point B is to put them all in one basket and take really good care of that basket.

... The phrase “random number generator” should be parsed as follows: It is a random generator of numbers. It is not a generator of random numbers."
You don't need to implement it. Numenta implemented the theory as an open source project called Nupic. You can contribute by running experiments.
"The usage of a constant (like pi) that is one bit different..."

That brings back memories of debugging a Fast Fourier Transform code that had a slightly miscoded version of pi. Someone typed it in from memory, to a dozen or so places (single precision), and got it slightly wrong.

Talk about weird and hard to track down. Like being transported to the parallel universe where the cars ride on hexagons.
Generics would hamper its speedy compilation time.
As explained well by Nate Silver's "Signal and the Noise", when the weather forecast model says a 50% chance of rain, that doesn't mean it "might" rain, that means that in 50.001293% of millions of simulations precipitation above some threshold developed in the spot in question.

A news station can't get away with saying 50% though. The public assumes that's a cop-out answer. As such they will say 60% even if the real number is 50%. They will never say 40%. Better to seem over-prepared then rain on you when it wasn't supposed to.

Even if we had the perfect computer, at the end of the day it's got to get to your average person through a local news weather reporter.
A friend of mine works as a cleaner for someone who is general manager of a real estate agency, and she knows a lot of people. I helped that friend out a few times in the past, now she helped me find that villa.

Furthermore, a lot of negotiating. Original price was $450, I ended up getting $250 if I paid 6 months in advance.
How an enigma machine works and the math behind it
I think that's only half the equation though. I follow a few niches where non-spammers produce content regularly, and you get good results. My own niche is one. The barrier to entry to create reasonable content is high, so spammers have stayed out. The second and third and even fourth pages routinely produce good results.

But in niches where there's no reason for experts or ordinary people to create text on standalone sites, the results are junk. I remember this being different.

Now to find good stuff I have to search Hacker News, Reddit, etc.
Careerpal explainer [video]
does the explainer video get the message across in a clear & concise manner? http://youtu.be/801PlkcFhp8
That's ES6 JavaScript (running on Node 0.11.15). We've already migrated most of our production code to this and we're loving it!

If you like that kind of control flow, check out the library we wrote to do it:
https://github.com/storehouse/engen
Clickable https://www.youtube.com/watch?v=801PlkcFhp8&feature=youtu.be

Wow, it's so loud! As an explainer video, it's fine. You get the point across of what you're doing.
Why does it brew in the absence of the DRM code? Why would you ever design the null test be equivalent to the success case?!
I remember writing a blog post [1] (for another publication) about my project and the day it was published, I realized there was not a single link to my project (it had screenshots and all).

I immediately made a PR to fix it, but it was a funny and glaring omission. I just didn't realize the link was missing because I wrote it in Markdown and never looked at the rendered version.

[1] http://blog.gopheracademy.com/updating-your-go-packages-with...
AFAIK anybody can use the DMCA just like the record labels are using to take down tons of Youtube videos. There are customizable form letters out there for this very purpose.
Although they clearly broke my CY-BY-SA license by not sharing their work under the same license and not giving me any attribution, I'm not exactly sure what can I do to take it down, Hiring a lawyer for this is not an option for me considering that I'm just a student on a low budget.
Not growing and strip picking your own beans?! Might as well be drinking gas station coffee!
What year did Sullivan say that? I recall thinking, circa 2004-6, "gosh, Andrew Sullivan is wrong about Iraq. How does he not see how wrong he is?"

But the thing was, he changed. Gradually, he came to notice that the modern Republican party was doing lots of bad things.

Certainly, this puts him nowhere near writers like Daniel Davies and James Fallows, who clearly saw the war was going to be a disaster, before it happened.

But at least Sullivan was able to change his mind. Though maybe he didn't fully recant Iraq. I can't recall the details now. I just recall my impression of the time that, whatever he was, he wasn't a zealot. He genuinely seemed to be thinking through and considering his opinions.

But yeah, far more a fan of Greenwald. Or Ioz, if anyone remembers him.

Anyway, the point of my reply is that I don't think the Sullivan of today would agree with that quote, and I suspect he wrote that not long after the invasion. That doesn't make it a smart thing to have been written, but simply quoting that gives an inaccurate view of Sullivan. Unless I'm wrong on the details of when he said it and what he changed his mind about.
Here's the video introducing it at React.js conf: https://www.youtube.com/watch?v=9sc8Pyc51uU
Well, I didn't look through every line of the patch, but my understanding is that once the server stops using key A, it'll automatically be revoked / deleted from the client. Why else would http://bxr.su/o/usr.bin/ssh/hostfile.c#hostfile_replace_entr... be calling hostkeys_foreach() function with the pointer to host_delete() as the parameter?

E.g. revoking the key is as easy for the server as simply no longer using it. Which is why I'm saying it's a race condition -- if the attacker comes first, it would appear that they're free to revoke every single valid key for the server, replacing all such keys with whatever keys they wish.
Do companies really store sensitive code IP on public cloud sites like github, which could be acquired at any time by a competitor?
GraphQL itself doesn't make any assumptions about the storage engine being graph-oriented or otherwise. It's true that the grammar makes it easy to express graph-like relationships (eg. using the notion of one-to-many connections), and from the perspective of the application it can request an arbitrarily complex hierarchy of nested objects, but how and where the underlying data gets fetched is implementation specific and I can imagine adapting GraphQL to any number of different data source types.
My coffee-drinking life got so much better when a friend gave me one of these a couple years ago. Easier and better-tasting than the alternatives (a "normal" coffee pot on the one hand, and Keurig-type machines on the other).

Note to anyone considering these: make sure you get coarse-ground coffee if you use a French press. It makes a big difference.
Date to Door
Well its hard to explain value when you can't put it in numbers. Web developers/SEO consultants can easily calculate their contribution by increase traffic. What can an iOS developer do ? Most of my work goes inside an App making it highly robust and smooth performance. But you can't put a number on it. People don't appreciate contributions that stop bad things from happening rather than creating visibly good things.
Applying eigenvalues to the Fibonacci problem
Specify the problem in terms of logic gates. You can spend gates building special-purpose ALUs, you can sink everything into RAM/ROM and have a complex program written in an extremely simple RISC instruction set or strike any balance between. Going with gates instead of transistors keeps things tidy and not tied to any particular strategy for physically building the system.
Zeners are just noisier.
Ask HN: You were and entrepreneur and now you're not. Why?
Success and retirement? Gave up? Different path opened? Decided having a family was important?
We have our own parser at Facebook. Our reference implementation will include a parser, and a we'll be releasing a spec as well so it should be possible to build alternative implementations as well, should you wish.
Chandler Carruth's CPPCon talk [0] this year was also great (surprisingly, as I had a fairly low opinion of most of the others). It wasn't better than Mike Acton's [1], but I suspect that it was more actionable for most devs.

[0] https://www.youtube.com/watch?v=fHNmRkzxHWs

[1] https://www.youtube.com/watch?v=rX0ItVEVjHc
I'm sure they do. Most people don't care or think about security until things go wrong.
>Apple didn't give Xerox $1 million in shares, they gave Xerox the opportunity to buy $1 million in stock, which Xerox did.

Well, yeah, it was an offer of 100,000 shares of pre-IPO stock for $1 million that wound up being worth $16 million.

>There was no agreement that Apple was allowed to use the technology.

Right, they agreed to give a demo of their tech. Apple didn't use their technology, they saw ideas and created their own unique implementation that went far beyond the Star interface (and they hired some PARC employees). Xerox wasn't given what amounted to $16 million to visit the cafeteria, they knew what they were doing. After Xerox got a new CEO they filed their suit as a followup to exploit Apple's suit against MS in case they won.

>Microsoft did pay Apple for the rights to use Macintosh-style interfaces

MS paid Apple for some rights (with the license really tied to giving MS early access to develop apps for the Mac), and Apple filed suit over the MS implementation since they interpreted the license as limited, while MS exploited it as unlimited and Apple screwed up the dating in the agreement expecting an earlier ship date. MS completely screwed Apple in that deal. The eventual suit Apple filed was what triggered Xerox to file suit.

>Those claims would have been terrible for the software industry if upheld, not just in this particular case, but many others.

Yes, it's a good thing those claims weren't upheld. Though, had MS not pulled their Machiavellian stunt the suit wouldn't have been filed in the first place.
You have flipped the roles of 20000 and 10^6 in your formulation.
You should take a look at StackShare.io

(Disclosure: I'm an investor in StackShare)
Amazing name
I see no reason to ditch cURL.
I'm Done with Twitter
Really interesting to hear how essential it is to have tools that allow manipulation of source code. That's one of the great things about Lisp, in that it's super super easy to write code that manipulates code. Also interesting that gcc was a roadblock in that they didn't want the AST and other useful source code manipulation tools to be freely and easily used without GPL restrictions.
https://github.com/cweagans/Contract

Fork and modify. I accept PRs too ;)
This is excellent:

http://www.neebo.com/Textbook/the-c-programming-languageb978...
The "DRM" seems to be a small led/sensor combination that tests to see id the lid of the K-cup fluoresces in a particular way. The clip obscures the sensor, and provided a surface with the right kind of fluorescence.
It's not the null test. The clip puts the minimal success case in front of the sensor 24/7.
Why Those Statistics About the Patriots' Fumbles Are Mostly Junk
If you XOR'd this RNG's output with, say, /dev/urandom, you could mitigate that risk significantly (you would be no worse off than before).
It's important to understand LMDB is an edge case design that wants the fastest reads possible and is willing to significantly burden the write path in that interest. Immutability is still a powerful approach. For a good example read the MSR papers on the hekaton main memory engine's approach: http://research.microsoft.com/apps/pubs/default.aspx?id=1787...

The original post isn't exactly wrong, it's just something of a straw man. We live in an era of terabyte disks. Cold data storage is cheap.
> 1. Touchscreen computers are in the minority now, but I don't think they'll remain in the minority.

I'm not completely sure I agree. But as with most things in technology, reflecting on past design changes or evolution isn't always a good marker for what's in store for the future. For one thing, I can foresee typical desk positions as a contributing factor to shoulder strain when using a touch-style monitor for prolonged periods being a problem. Would it be useful for some things? Sure, but I don't see it as completely practical when the user essentially has to reach up and press the monitor all day for various tasks (industrial use cases might be worth researching here since so many of them rely on touch interfaces or similar, particularly in high tech factories, but most of these workers are not only standing but the buttons are quite large).

Remember, the same kids you mentioned who are growing up with touch devices have also been exposed, generally, to pointing devices in parallel for much of their lives. The mouse, as a pointing device, is going to take a ground breaking technological leap to kill--touch alone isn't going to accomplish this because the precision simply isn't there.

Realistically, I don't see it as backwards: I see it as practical.

> 2. Removing charms, for example, did nothing for desktop PCs.

(Disclaimer: I never used Windows 8 precisely because of these decisions. Likewise, I'm a Linux user. That probably tells you everything you need to know.)

Charms annoyed the hell out of me; rather, the fullscreen application of them annoyed the hell out of me. For one, defaulting to a fullscreen UI on a desktop absolutely breaks workflow for most people (myself included), it's visually jarring, and making something scroll horizontally in a desktop environment is not only inconsistent with the default behavior of most applications (also designed for a desktop environment) but it's almost painfully awkward to use with a mouse. I commend Microsoft for trying something new, but their current decisions to make Windows 10 more like a 7-8 hybrid are suggestive of a deeper truth: There's no business sense in alienating a substantial majority of your install base by imposing a UI that's both painful and intrusive to use for most desktop users.

To say nothing of the various hotspots enabled by default that were clearly intended to be used with swipe gestures. You could argue it's annoyance bred by lack of interest in learning a new UI (it's not), but when that same UI is intended for something that primarily uses touch interaction, shoehorning it into an environment where the primary interaction is through a pointing device, you're left with a disaster. Hence Windows 10, which I don't find all that bad.

Also, I should note that while tablet mode in Windows 10 still retains some of the smaller, more difficult-to-activate-via-touch items in the start screen, we're still discussing a preview version of an OS that isn't expected to be released until October. I expect that they'll further improve tablet mode for touch users.
How the hell looks like??
µBlock – The Most Efficient Ad Blocker Browser Addon Focused on Performance
And they usually commit passwords, private keys, etc too.

(From my prior experience working for a publicly traded US company)