skysight-inc/HackerNews huggingface dataset:
The challenge of "randomness" is overlooked and leads to security issues more than most people realize. For example in php, the `rand()` function documentation (to their credit) has a big warning that the function is not cryptographically secure.

When in doubt, use unix, and <updated>/dev/urandom</updated>

Also, here is a command (to my knowledge secure) which generates a nice random 20 length alphanumeric:

LC_CTYPE=C < /dev/urandom tr -dc A-Za-z0-9 | head -c20
> The NSA has no obligation to reveal anything more about its operations than federal law requires it to.

You're starting from the assumption that current federal laws are moral and just.

It's a tautology to say "they are [legally] obligated to do what they're legally obligated to do" No one would disagree with you on that. The point of the discussion and debate is about what they _should_ be legally obligated to do.
People who go to four year schools don't universally have the same experience either. That's the problem with talking about "these bootcamps" or "these universities" or "these" anything.
Shopify uses animated svgs in the admin panel ui, they even wrote a nice blog post about it.

>A lot of the feedback we’ve gotten from front-end developers has been along the lines of “that’s cool! Did you use images or CSS for [that effect]?” In most cases, the answer was actually neither, because most of the fun graphics, animations, and effects rely heavily on SVG with a bit of JavaScript and some clever Rails helpers.

https://www.shopify.com/technology/17105760-building-year-in...
You have to graduate in four or you're out of the program.
You are risking your life to keep up with the Joneses. It's not worth it.
I think Ublock Origin is definitely a google chrome extension that should be installed. I think it will absolutely benefit you.
> accelerating a Mir-sized craft towards Mars and decelerating it to orbit while keeping the crew alive ... and having enough fuel to accelerate back to Earth ...

You don't need to ship enough fuel to return to Earth in the same trip as a manned crew.

You can send orbital depots for return fuel and ascent\descent vehicles ahead of time in unmanned missions. This could be done multiple years in advance.

When you are launching the crew and interplanetary habitat, you only need to bring enough fuel for a one way trip.
And on the same day the Volt was named 2016 Green Car of the Year! <- how did that happen?
I know you don't fear. You're in Texas, with a good gun culture. So for now, you can afford not to fear. What do you think Christian Syrians who got thrown off the boats on the way to Europe felt?
— If it’s that important a project, why doesn’t the government undertake it?

— Here’s the reason: The vast amount of brains, talents, special skills, and research facilities necessary for this project are not in the government. Nor can they be mobilized by the government in peacetime without fatal delay. Only American industry can do this job.

Destination Moon, 1950 (Loosely based on the book The Man Who Sold the Moon by Robert A. Heinlein, written 1949, published 1951)
Use /dev/urandom, not /dev/random.

There are no security concerns with /dev/urandom
Am finding your comment a bit difficult to read, and don't really have time to discuss this further, so I will only remark that I'm not at all offended by anything you said -- my mention of "sensitivity" was only to advise on how to act in such a way so as to make people listen to your arguments (in other words: people will typically shut down their aural response as soon as they hear something offensive to their core beliefs). A hypersensitive person would annoy me as much as he/she would annoy you, but the fact that such people exist is an unfortunate reality that has to be dealt with, and not something that can be changed by pretending otherwise.

TL;DR Just because I describe a situation does't mean I approve of it.
Textbook market segmentation? Xeons have ECC, larger thermal envelope, and some additional testing. Sure they are identical silicon.

Generally if you are willing to give up a single clock bin in exchange for ECC you end up with a cheaper (and cooler) system that's more reliable. Generally if you want the cheapest 4c/8t CPU it's a xeon, NOT an i7.

I don't feel particularly artifically segmented. Additionally the high end desktop motherboards tend to be more expensive than the server boards. Often I find a nice server board at $180 and the nice desktop boards are often another $100. Sure they are marketed to gamers, but I really just want a nice reliable power and cooling and it's not clear which of the cheaper desktop boards are really going to last 24/7 for 5 years.

Today I'd buy the E3-1270 for $339 over the $350 i7-6700k. Keep in mind the k chips are a premium AND they don't come with a fan like the non-k chips do. Sure it's 3.6 - 4 GHz instead of 4.0 to 4.2 GHz, not a particularly noticeable difference, especially since that both thermally throttle as needed.

I think ECC is well justified because it doesn't just detect dimm errorrs, but also motherboard errors, cpu errors, and socket (dimm or cpu) errors. If a node randomly crashes/hangs it's very hard to track down why... unless you have ECC and often will help you pin it down. I'd much rather see something strange show up in mcelog than wait for a hang, or worse a corruption.

Most of my "ecc" errors have actually been motherboard, socket, or (in AMDs case) CPUs. When I look at larger samples some dimms are WAY less reliable than others. Strongly implying it's not high energy particles, but something out of spec.
I don't want my kids to grow up in the Bay Area, period. I'll probably move to Europe when I have them. Sure, that means some career sacrifice (and wages) but it doesn't matter, I don't want them to grow in such an environment.
I second that, the links on the sidebar are not clickable.
I pretty much coasted through H.S. ... There was pressure, but I mostly ignored it and did what I wanted. Depending on how much of my grade in a given class was testing vs. homework, which I rarely did, I would get an A/B usually. I played varsity football two years, band a year and jr rotc for three.

In the end, I didn't go to college, straight out of H.S. or later. I spent a couple years doing artwork, and BBSing got me into graphics design. I fell into programming, and now 22 years out of high school, I work as a very senior software developer. I've dabbled in management and didn't like it. All of that said, you don't necessarily need to overly stress out in H.S. if you are smart and some level of self motivation towards something that works as a career.

I'm just anecdotal evidence and probably more the exception to the rule. I never quite understood the level of stress that some teenagers seem to feel. It always seemed to me it didn't take that much work to do well enough academicly, and unless you're trying for a top school with a full scholarship, there are lots of options.
No platform in 2015 should even have a poor PRNG. It's pretty sad really.

rand() in C,
rand() in PHP,
Math.random() in JS.

Any use case where you want a poor random number generator is a niche use case and you can write your own. We should be secure by default.
Even if the effect you describe is real (and I believe it is) the status quo is still easier under capitalism.

When you are poor your incentive is to find employees who are undervalued and hire them to release the potential energy in their skills. Development of those employees takes time, but you're poor. Time is all you have.

Once you have a successful business though, you have plenty of money and time is what is scarce for you. If a competitor develops your employee to extract additional value that's bad for you. If they poach your staff you have to take additional time to develop a new hire to do something the original employee was already doing.

So mature businesses shift their resources to building a moat that makes it hard for competitors to do that. This is so ingrained in how we think businesses have to work that mostly we don't even notice it. But almost all jobs contain quite a lot of "moat maintenance" tasks.

This is all, of course, depended on capitalism which says the management of resources should be done by those people who have capital. If resources were managed collectively, the moats wouldn't last because other people would bridge them. It's only under property law (or martial law) that a moat can even exist in the first place.
A lot of states have anti-SLAPP laws that make it much harder for big companies to throw their weight around to legally intimidate legitimate critics, so it might not be as bad as you think:

https://en.wikipedia.org/wiki/Strategic_lawsuit_against_publ...
The "fix" to this is to not let your TV connect to the internet. Instead, use a set top box that you trust to stream Netflix, etc. Mythtv or tvheadend are good solutions for live tv if you have a computer with a capture card.
How well does this scale up? The example in the video seems toy-scale. I can see a few dimensions of potential scaling:

* larger numbers -- for example large numbers of tiny processor / memory cells on a single chip (thousands to millions?)
* more dimensions, either symmetric (lattice) or asymmetric (hyper-pyramid that gets more sparse as you go up)
* more complex cells -- more memory, processor power, bandwidth
* specialization -- heterogeneous cells
What about https://developer.mozilla.org/en-US/docs/Web/API/RandomSourc... ?
Objections:

Generality
Overhead
Latency
Random access
Timestamps
Complexity

I'd like to add one more:

One of the worst examples of branding I've ever seen from an open source project. Ogg? It sounds kind of like a portmanteau of odd and egg. Who wants to use that?
Lol, like they give a fuck
For those looking for a HoverZoom alternative, Imagus[1] works very well and does no tracking. (just a happy user)

[1] https://chrome.google.com/webstore/detail/imagus/immpkjjlgap...
this. also /dev/random blocks and it can be really slow
No. It's not a false dichotomy. The compensation you can negotiate depends on how much work people expect to get out of you. Your price also depends on other people's willingness to take advantage of benefits that you're not interested in.

Young people in general are riskier hires than older people -- they have less of a history, they're more likely to change jobs or move -- having a paid leave policy increases that risk even more and makes it harder for some people to find jobs, especially the kind that involve up-front costs of learning on the job or training, and that have slim margins.

Edit: The flip side is that regulatory enaction of such policies can help protect you from the effects of stupid behavior by other people. For example, the prices of houses, and the wages people negotiate, are in part an artifact of the fact that most people are willing to spend too much of their own money, buying houses they can barely afford and generally living paycheck to paycheck. These people negotiate wages down while pushing prices of goods up, to the detriment of savers. Policies like mandatory retirement savings and parental leave can help insulate people that want to save for retirement and want to take time off when their child is born from these market effects.
There is no evidence that the NSA is any good at its job. It ought to be eliminated. This is an easy decision, because its programs or odious or undemocratic, but because it is a useless waste of taxpayer money.
But engaging in violence only pours oil to that fire. It seems some of the crazy killers love to get killed themselves because they believe they fight against evil. Imagine what would happen if strong policy of non-engagement, trade sanctions to offenders and economic help to peaceful people was imposed. Be the parent rather than the big bully on the playground. The provocations would have no desired effect and then they could cease in time. The West has wealth and intellect to do that. The terrorists would lose the big argument they have now for recruiting new people and in time they would die out, the younger generation seeing their stupidity. That could be a lasting solution.
The alternative, supporting the perpetual war, will only bring more attacks on the peaceful people.
I honestly prefer the old design. My two cents.
Spent the last 30 days focused on marketing one of my side projects – results
> Teenagers are under attack which they can't handle well

Not all teenagers give into the stress of school. My high school had students whose reply to "Make sure you come to school on time tomorrow because if you miss the ASVAB testing you won't be able to graduate" was "What does graduating have to do with being a car mechanic?". My high school class also had a student who dropped gym because taking a normal (non-AP/honors) class would lower their weighted GPA (which was almost perfect). When I graduated I had just as many friends go to Ivy Leagues as community college. This was all within the same friend group.

Palo Alto High School obviously has serious problems [0], but those problems don't apply to every school or even to students within the same school. I don't know what the solution is (maybe cut excessive testing that doesn't measure anything [1] to start) but it should take into account that not every student needs to be pushed in the same direction.

[0] http://www.sfgate.com/bayarea/article/Why-are-Palo-Alto-s-ki...

[1] http://digitalcommons.macalester.edu/cgi/viewcontent.cgi?art... https://www.google.com/search?q=college+test+score+academic+...
What does what "everyone else is doing" have to do with _your_ personal physical and mental health?

Take an honest appraisal of what you think you can do and talk it over with both your major counselor and a school nurse. If your body or mental health can't handle it, take it down a notch and consider dropping a course and retaking it the next semester/quarter.

Half of the controversy of the suicides based on parental+peer pressure and competition is that the demands will never plateau or fall. They will continue to rise above the abilities of more than 99% of the people who enter the competition. There is no supply/demand curve where parents/peers and you will magically find an equilibrium. Learn to have your own expectations, independent of your parents and peers.
Zuckerberg Says He Plans Two Months Paternity Leave – WSJ
A honest hint: spend some hours in Kerbal Space Program. It does wonders for one's intuitions about rockets and its calibration with reality.
It was dependent on it being a CSPRNG which it wasn't. Math.random is designed for things like games and animations where randomness isn't critical and performance is important.
TrackingTime: Free task-based time tracking and project management
This Kickstarter Promised a Smart Beverage Cooler. Its Backers Are Pissed
This is a tricky answer. The default random function in many environments is poor (see other examples given above and below), if you are generating a unique id using a PRNG and think in terms of the birthday paradox, then you should also be concerning yourselves with the quality of the random generator. While it is unreasonable to expect every developer to know the ins and outs of a deeply technical issue, defaulting to using a known good (enough) algorithm like MT over making an assumption about the quality of an unknown algorithm (unknown at least until you looked into the source code) just because it came from google is poor engineering (IMHO)

The analysis in this article was great engineering - something that in my experience often happens after poor engineering... YMMV
What is "on time"? I graduated from an engineering university a decade ago, and it was commonplace for an undergraduate degree to take 4.5 - 5 years. There's no rush to finish in 4. You have the rest of your life to work.
I don't think that's all too uncommon for native English speakers. While pairing, I pretty regularly refer to chunks of code as "this guy" or "that guy".

Maybe they picked it up from someone while learning English and it stuck with them.
The piss poor coverage of suicide in some of those articles is probably causing some deaths.
Cost is king in a commodity market where IBM, et. al. left for more profitable waters.

Dell was pretty good at shaving pennies and providing WalMart-ized desktops and servers.

I think the offerings need to be optimized and reduce and cut features to just what's necessary based on actual, intended uses rather than guessing or throwing every possible feature into a retail desktop or offering a blizzard of different, poorly-explained SKUs (what's the diff btwn A78Z-VX and A78C-VX+?)

Related, see also: http://cr.yp.to/hardware/ecc.html
If you define leg strength specifically as "seated leg press for a maximal, single repetition" then sure, the Olympic weight lifter will win.
It's interesting, declarative APIs are amazing for a demo... A single function call can make literally anything possible. But when you eventually want to do something interactive, a declarative API can't work, and you need to learn a separate imperative API anyway... At which point what was the point of the declarative one in the first place?
Summer classes can really help the load. Even if the school does not offer it you can generally self study a math class.

Another option is to accept a lower grade in a class. Ex: If getting a C on a project saves you 80 hours of work it can be worth it.

PS: Giving up sleep is false savings over time.
That blog post is old and inaccurate. It propagates myths about CSPRNGs that some have been trying to dispel, particularly Thomas Hühn [1] and djb [2].

/dev/urandom is the same cryptographically secure PRNG as /dev/random, except that /dev/random will superstitiously block when it thinks entropy has been "consumed". (CSPRNGs do not meaningfully "consume" entropy.)

If you use /dev/random for the mythical warm fuzzies, you might also be misunderstanding other things. Don't be superstitious. Use /dev/urandom.

[1] http://www.2uo.de/myths-about-urandom/

[2] http://www.mail-archive.com/cryptography@randombit.net/msg04...
"Non-parity" RAM probably started becoming common around the 1993-1995 period when DRAM demand was increasing and prices was not falling much. For example, 4Mbit DRAM was costing more than $10 per chip during this period. Nowadays Intel uses it for market segmentation.
This is stupid. Why am I more concerned about my privacy if WhatsApp reads my contacts 23,709 times in 7 days, or just once? It's still got the same data from me.

It does seem excessive; perhaps sub-optimal or even an accidental bug. But certainly nothing for the media to freak out about..

Author's fear mongering is unwarranted.
Nothing in this article mentions that National Institutes of Health public-sector funding does all the work in general research before they give a patent to the private sector so that the public pays twice.

RT on US public research: https://www.youtube.com/watch?v=kN5_j7Yq9WA

(Note I think public funding for science is a good thing, unlike this attack piece by RT, but that is not the point.)

Chomsky also talks about how state-sector created the transistor for example at AT&T Bell Labs.
Agreed. Everyone perceives the world from the tip of their own nose. Life could be much worse. As a counter point of view, my brother went to a high school just outside of Detroit. During his senior year the district ran out of money, most of the teachers quit but the students still had to "attend" class. The grad rate was < 65%. There were no after school programs or accelerators to attend. Most students and their families are living on welfare and/or working to help support their family. Homework is the last thing on their mind. Public education is flawed in many ways and it's usually those who show the most resourcefulness that survive in any scenario.
I'm in much the same boat as you, and I don't think it's necessary to stop; what's necessary is to err on the side of being helpful as opposed to judgmental or defensive.
I don't get what's the "news" here. Failed overpromising kickstarters seem to be the norm these days, not the exception.
It relays input/output over a network without a processor?
Endurance is the ability to retain strength over an extended period of time, that's all I'm saying.
Completely agree. The access at the point when your directory is at it's maximum (or multiple if you remove some) is just as intrusive as itself and a million others.

And it's WhatsApp ffs, if you're concerned about it having your contacts what on Earth are you doing with it.
> Those objecting that this index would be unavailable in a streaming scenario are forgetting that seeking is impossible there regardless.

"Streaming" can also mean "playback of and/or seeking within a partially downloaded file". It's awfully nice to start watching that multi-gigabyte video within seconds, rather than minutes or hours and be able to rewind and fast-forward through the parts that are already on (and continue to be delivered to) your system.
I don't know what you're referring to. If you want to supply the context, we're happy to answer, but it would be better to send this to hn@ycombinator.com.
I went to Homestead High School (and have friends that went to Gunn/Paly) and the experiences I've witnessed have been similar.

One of my friends has parents that worked at Adobe. During his junior year, he was taking AP Calculus BC, AP Physics C E&M, AP Physics C Mechanics and AP Computer Science. He got straight A's both semesters, and got a 5 on all of the AP tests. I went over to his house during the summer and found that there was a huge hole on the bottom of the door in his room. He told me it was because his mom was so angry at him for something school related (something trivial like getting only a 2100 on the SAT) that she kicked the door in.

Another one of my friends' dad works at Intel. My friend ended up getting accepted into UC Davis (but rejected from UCLA/Berkeley/MIT), and, while I was in the room, his dad told him that UC Davis is for failures.

This problem has little to do with the schools themselves. It has to do with the parents, and the reason why people come to live here in the Silicon Valley. People don't move here to live a great life, settle down and have kids. They come here to advance their career, and ultimately, to make money. Here in the valley, if you don't have marketable skills, you are trash. And the kids who grow up here know that all too well.
Tl;dr

Adolescence is hard.

http://25iq.com/2015/11/14/charlie-munger-ama-how-does-charl...
Get ready for ‘product placement plus’
I don't understand why you'd want a Smart TV. If something goes south (in this age of disposable tech) it becomes like those TV/VCR combos of the past where 1/2 of it doesn't work.

http://www.howtogeek.com/176392/smart-tvs-are-stupid-why-you...
Scurvy is common and should be diagnosed and treated
Objective-C a UI/UX library for displaying focused content on UICollectionView
Sounds like Bitcoin may have finally gotten its PayPal.
If you want a random entry from an array, Math.random is fine. Anyone who doesn't know that prng's are broken for things like uuids shouldn't be in charge.
We once had a new server with all new hardware which had weird problems and kept crashing mysteriously. Memory tests showed no errors, so we were all tearing our hair out. We took the server offline and set it to test continously – still no errors. After running Memtest86 on nothing but test #4, for about a day or so – then a few memory errors showed up. Replaced memory, problem gone, server started working.

Memory errors are especially insidious compared to how common they are. ECC is worth it.
It does not use a network. It uses direct RF link. Like wireless keyboards and mouses do. Imagine getting a wireless keyboard and mouse and a wireless hdmi adapter. You plug the transmitters of these wireless keyboard and mouse to your desktops usb. You attach the transmitter of wirless hdmi adapter to the hdmi port of your desktop.

Now you can take the display, keyboard and mouse to anywhere the range of the radios allows and work from there. Pack the items at the receiving end into a compact/cheap package and I think you ll have a great product.