skysight-inc/HackerNews huggingface dataset:
ugly tests

1. ("true"-random) 10 iterations; 32 random bytes | Result Avg Entropy: 4.82

$ echo $(echo -n "("; for i in $(seq 1 10); do echo -n $(./generate_constant_stream |head -c 32 |ent |head -1 |awk '{print $3}')"+"; done; echo -n "0)/10") |bc -l
4.81945500000000000000

2. ("true"-random) 100 iterations; 32 random bytes | Result Avg Entropy: 4.37

$ echo $(echo -n "("; for i in $(seq 1 100); do echo -n $(./generate_constant_stream |head -c 32 |ent |head -1 |awk '{print $3}')"+"; done; echo -n "0)/100") |bc -l
4.37395291000000000000

3. ("true"-random) 200 iterations; 32 random bytes | Result Avg Entropy: 4.35

$ echo $(echo -n "("; for i in $(seq 1 200); do echo -n $(./generate_constant_stream |head -c 32 |ent |head -1 |awk '{print $3}')"+"; done; echo -n "0)/200") |bc -l
4.34563333000000000000

1. (openssl) 10 iterations; 32 random bytes | Result Avg Entropy: 4.88

$ echo $(echo -n "("; for i in $(seq 1 10); do echo -n $(openssl rand 32 |ent |head -1 |awk '{print $3}')"+"; done; echo -n "0)/10") |bc -l
4.88125000000000000000

2. (openssl) 100 iterations; 32 random bytes | Result Avg Entropy: 4.87

$ echo $(echo -n "("; for i in $(seq 1 100); do echo -n $(openssl rand 32 |ent |head -1 |awk '{print $3}')"+"; done; echo -n "0)/100") |bc -l
4.87404420000000000000

3. (openssl) 200 iterations; 32 random bytes | Result Avg Entropy: 4.88

$ echo $(echo -n "("; for i in $(seq 1 200); do echo -n $(openssl rand 32 |ent |head -1 |awk '{print $3}')"+"; done; echo -n "0)/200") |bc -l
4.87885575000000000000

1. (/dev/urandom) 10 iterations; 32 random bytes | Result Avg Entropy: 4.82

$ echo $(echo -n "("; for i in $(seq 1 10); do echo -n $(head -c32 < /dev/urandom |ent |head -1 |awk '{print $3}')"+"; done; echo -n "0)/10") |bc -l
4.82264100000000000000

2. (/dev/urandom) 100 iterations; 32 random bytes | Result Avg Entropy: 4.89

$ echo $(echo -n "("; for i in $(seq 1 100); do echo -n $(head -c32 < /dev/urandom |ent |head -1 |awk '{print $3}')"+"; done; echo -n "0)/100") |bc -l
4.88655640000000000000

3. (/dev/urandom) 200 iterations; 32 random bytes | Result Avg Entropy: 4.88

$ echo $(echo -n "("; for i in $(seq 1 200); do echo -n $(head -c32 < /dev/urandom |ent |head -1 |awk '{print $3}')"+"; done; echo -n "0)/200") |bc -l
4.88061280000000000000
Actually, as noted parenthetically above, it's called DBUS (Desktop Bus) and ... erm ... IDL.

* http://dwheeler.com/dbus/
As if "positive" discrimation was ever useful or not just another form of discrimiation.
Yeah, Pux can do server-side rendering, and PureScript can be used with webpack alongside other JS. PureScript also has a much easier FFI.
Blanket statements like "Cassandra doesn't work" and "Hadoop is a complete waste of hosts for most companies" are unproductive and contribute nothing, unless you can back them with data and real world examples.

So, what data do you base these assertions on ? Also, not to burst your bubble but a lot of businesses (if not the majority) run Spark on YARN. And Spark is built on the JVM.
I remember the guy who just decided to keep Windows 3.11 on a Celeron laptop, because it was awesome fast on that hardware (still perceivably faster than your Win 10 notebook perhaps), and he just worked couple of years that way, until some SSL problems forced him to leave Win 3.11. But business applications were ok for him in that environment. The very idea of a desktop app is that it should be able to deliver value completely offline, imho.
Show HN: Gradcafe iOS App
thanks moxie.
in case anyone else didn't notice this at the top of the page "Realm is a mobile database: a replacement for SQLite & Core Data"
You are right; I totally misunderstood you. Sorry.
I'd probably swap them:

1. Make it work.

2. Make it not break.

3. Make it manageable.

4. Make it fast.

Otherwise I find that trying to make something fast before making it manageable usually ends up in crazy hacks that are hard to undo later.
And what would you teach?
I wasn't aware of the existence of any notation at all! The dictionary I have uses photographs, other dictionaries and textbooks use drawings of people speaking SL. The nearest thing to a notation in this case consists of a verbal description of face and hand gestures as they are carried out in real time.

I have often wondered if it would be possible to create a notation using the simplest and most abstract rendition of an actual SL speaker's signing. Lines and curves that hold the semantic essence of the movement of face, hand and posture. It would take a native speaker to be able to abstract what is truly essential to meaning, and a community to agree on its elegance and clarity.

Off topic, but connected: I discovered from experience that small children can form the SL alphabet with their hands before they acquire the coordination to draw written letters. I found it very useful in teaching my children to read.
yes, clearly the entire population of the US opposes every regulation ever enacted by the government.
How Linkedin blew its chance to take on Salesforce
> she appears to identify as trans herself

no, she doesn't. she's a cis-gendered lesbian. she was born female and still identifies as female nor has she ever done otherwise as far as I know.

I'm surprised its your first time hearing about Camille Paglia though. She's moderately famous (in my circles anyway). Has been stirring the pot in the academia/inteligentisa scene for decades now.

She's a very iconoclastic and contrarian thinker and has made enemies on both the left and the right. Her ideas are fairly deep and well thought out though and a lot of the controversy she finds herself in is basically the media trolling their audience with inflammatory out-of-context quotations.

Not to say Paglia isn't sometimes deliberately inflammatory. She can light it up with the best of them.
Kafka isn't that unique. There are several hosted options as well as commercial software that can do what Kafka does.

Kafka has the open-source/java community and ecosystem that fits in well with the rest of the current big data processing stuff though.
1. The next file you open always ends up at the end of the working files list in VS code. Most tab implementations don't work this way, they open up a file immediately to the right of the current tab. Therefore, if I have tabs A,B,C where B is selected and I open up D, the tabs become A,B,D,C. This is an important behavior to remember when you heavily use hot-keys to move direct to already open tabs and your brain is hardwired to expect this behavior.

2. When I close a tab, I want it gone. I don't want it still hanging around in my working space. I'm ok with it sitting around in a "Recent Files" location, but I am intentionally reducing my working space by closing a tab. The working files in VS Code don't work this way, the file hangs around and to the best of my knowledge I have to take my hand off the keyboard and use the mouse to remove it. Again, this is an important nuance that must be considered when you used to heavily using hot-keys to move between files.

Were VSCode to introduce hot-keys for directly jumping to files in the working files list, those two differences alone would make it nearly unusable for somebody who has over a decade of muscle memory built up working with tabs this way. It's also the same behavior I get and expect from other applications I use heavily, such as all my web browsers and my terminal emulator. VSCode is the odd man out.

It's been a few months since I tried to use VSCode regularly, so things may have improved since then and I'm sure there were other differences that I've forgotten, but this workflow works for me. I have alternatives that don't break my workflow (Atom, Sublime, etc).

I would really like to give VSCode a fair shot, but I personally cannot until the tab issue is addressed. It's too big of a change with little upside. Also, this is the only deal breaker for me. Other than this, VSCode looks and feels fantastic!
Peter Thiel will be a California Trump delegate
Does it matter? As long as it is consistent and we can reliably translate it (admittedly those are big "ifs") who cares if it's standard?
> The troll says: you are irrational in your beliefs, and I will keep stirring that up month after month, so that the forum is replete with exposure of this fact.

This sounds a lot like the behaviour of someone who is genuinely offended by a certain kind of irrationality which is prevalent in a particular forum, they might not be refuting that irrationality and confronting the holders of it for their personal amusement, but rather a sense of believing that irrationality is terribly harmful and needs to be destroyed/exposed for what it is lest it gain prevalence and support and position to cause further harm.

I view the state and political authority in exactly this light, support for this idea and institution is practically ubiquitous despite its terrible consequences, and when I say so, I am not trying to amuse myself in any way.

It seems by some measure the above would be trolling, because largely, people really do not like being confronted with the facts on the subject.
I hesitate to get all Clay Shirkey here, but I think this is fundamentally different from media conglomerates and Bell Systems, given that now anyone has the ability to build their own overlay service with relatively minimal investment.

Part of what I've been noticing is that we have these "walled gardens" today that people consider to be synonymous with "lock in," but it's actually easier for people to move from Viber to WhatsApp to Telegram to Signal today than it is for people to move from gmail to yahoo mail.

In a sense there's less lock-in with centralized messaging services than there is with the federated ones, due in part to the move towards user-owned identifiers like phone numbers.
>I've come to the conclusion that C is best understood if you think about it in terms of the way that an assembly language programmer would think about doing things

I agree with this. I found another article that made the transition for someone coming from something like Python or Ruby easier. It shows how to use gdb as a sort of C REPL. https://www.recurse.com/blog/5-learning-c-with-gdb

The quick feedback loop certainly makes things like pointers, arrays, etc, more clear.
Just send me an email at brian at seed.co. We're open to all kinds of interns so we don't have a specific job opening listed.
> because you lack experience.

Well said. IMHO, this is the core of the issue and the thing that has helped me both move on and improve. You have to be ok writing crappy code because, in lieue of experience or someone to (on the spot) help you, its the only way forward. As long as you're professional about learning and refactoring, the best you can do is keep moving, keep learning, keep refactoring. Then eventually, help move others through that gauntlet more quickly.
The lithium drying pools are rather pretty too.
What does "boring" have to do with any use-case?
We live already in that world. Hundred years ago the children got fine hand-made wooden toys. And today?
Controversial as this may sound, I think one art genital post is probably enough for a while.
Plenty of companies choose to accept the risk that an employee might have memorized a secret, but not accept the risk that the employee's secret-encrypting-key might leak at any point for the lifetime of the repository.

Obviously, nothing you do w/r/t secret storage is going to resolve the problem of what's in your employees' heads.
I've spent lots of time in India, surrounded by people earning far less than what American hipsters call a "living wage". Yet these folks weren't dead!

Key graph: http://economix.blogs.nytimes.com/2011/01/31/the-haves-and-t... (THESE NUMBERS ARE ADJUSTED FOR PURCHASING POWER.)

Sometimes one is able to get out of poverty on their own, but that often requires, besides hard work, plenty of luck.

The role of luck is overstated. Here's a thought experiment. Suppose we import 1 million Gujuratis, all of whom have income below the 95'th percentile of India. Fast forward 20-30 years. Do you still think that this group of a million people - having an average level of luck due to the law of large numbers - will have the same level of income as a similar group of American poor people?

Actually it's not a thought experiment. http://www.economist.com/news/christmas-specials/21683983-se...

We've done this experiment with Chinese, Gujuratis, Punjabis, Bengalis, and all sorts of other folks. Mostly they don't stay poor.
Ask dang: How many HN comments per day do you read?
Hackers target critical image-processing bug
Great question!

For local development - we recommend connecting to a dev k8s cluster, which is easy enough to setup.

CI is actually something I get really excited about. Similary for CI you can have a separate k8s cluster for any tests you need to run. But because we version everything, you can run 'unit tests' on sample data sets that you know should be rock solid ... and also 'integration tests' on the _same_versioned_data_ you would see in production.
It's not explicitly stated, but it seems to work fine with Firefox Developer Edition as well as regular Firefox.
I'm baffled by this thread.

Yes it might not be appropriate and yes it might necessitate action, but fire him immediately when the "milf" handled it, ended it, and the situation was finished? He didn't push it further than his perception of her comfort level.

Furthermore, the term "MILF" has transcended its literal meaning. It doesn't, at this stage in time, literally mean "I want to fuck you". It's a normal Pop Culture term now which is synonymous with "attractive", is in every tabloid, on every reality show, blah blah. I'm not saying that it was appropriate to say it to her, but it isn't the aggressive, invasive term that is being suggested in this thread.

I can only guess that this occurred in the US; you all make it sound like a seriously stressful environment to be in.
Just to add on a bit more you are probably right about "b) terminate the offending employee for cause" but before you do that you almost certainly have to give the employee a chance to respond to the accusations. If you just fire him before doing that you are likely opening yourself up to a lawsuit for wrongful termination.

Yet again, this is something that a lawyer will help you handle correctly.
The only thing in the world that might be classified as truly random is wavefunction collapse under observation, and even then we're not sure.
The fact that Signal exists, and I can use it every day with friends and coworkers, is evidence that we are not locked in. No one is making money from Signal, and anyone who uses Signal can switch to any of ten different (less secure) apps in five minutes. And if Signal goes away or whatever, we can build our own! The only thing stopping us is that we are a lot worse at designing crypto than Moxie and Trevor ;)
In an HN discussion thread yesterday[1], there were some who argued that all calories are equal insofar as obesity, diabetes, etc is concerned.

That idea has been largely discredited, as the NYT article on "Fed Up" explains. Here's a snippet:

At Harvard Medical School, Dr. Dariush Mozaffarian, an associate professor of medicine and epidemiology whose research was cited by experts in the film, said that the long-held idea that we get fat solely because we consume more calories than we expend is based on outdated science.

He has studied the effects that different foods have on weight gain and said that it is true that 100 calories of fat, protein and carbohydrates are the same in a thermodynamic sense, in that they release the same amount of energy when exposed to a Bunsen burner in a lab. But in a complex organism like a human being, he said, these foods influence satiety, metabolic rate, brain activity, blood sugar and the hormones that store fat in very different ways.

Studies also show that calories from different foods are not absorbed the same. When people eat high-fiber foods like nuts and some vegetables, for example, only about three-quarters of the calories they contain are absorbed. The rest are excreted from the body unused. So the calories listed on their labels are not what the body is actually getting.

“The implicit suggestion is that there are no bad calories, just bad people eating too much,” Dr. Mozaffarian said. “But the evidence is very clear that not all calories are created equal as far as weight gain and obesity. If you’re focusing on calories, you can easily be misguided.”

[1] Nestlé Wants to Sell You Both Sugary Snacks and Diabetes Pills https://news.ycombinator.com/item?id=11658835
1. citation would be good when you're gonna toss out firebombs like that. would love to see the context of those remarks. Paglia is frequently misquoted by her detractors.

2. This sort of prejudicial dismissal is the kind of intellectual isolation and censorship that Paglia is actually warning about. You're proving her point.
The version number starting with a zero really ought to denote that, notwithstanding the JS crowd's seemingly fast and loose approach.
Was life in the early 20th century better with quack medicine, volatile food prices, and no old-age health care or social security? Yes, it is correct to say that a great amount of the US population struggled until the mid 20th century. Most of that wealth was concentrated in the hands of a very small and privileged few.

For an argument about relativity, a reliance on GDP is an amusing false equivalence.
What happens when you duplicate a file? Does it track history back to the original parent? Can it help with future merges?
That's not Occam's Razor. That's an egregious misunderstanding of Occam's Razor. The simplest explanation is indeed that those people suffer from anxiety, which is a very common condition that covers all their symptoms, as others have said. You need to make too many assumptions to be convinced of the contrary.
Did you try dialyzer for Erlang[1] or Elixir[2]?

[1]: http://erlang.org/doc/apps/dialyzer/dialyzer_chapter.html
[2]: http://elixir-lang.org/docs/stable/elixir/typespecs.html

Not sure it helps, it's on my todo list.
Exactly this.

When I saw the header I thought to myself, "Yay! Now I can run something like Kafka, without depending on Zookeeper or having to install JVM!! Give me stable drivers for Python and Go and I am sold!"

If I have to install Zookeeper and JVM, why not use Kafka?
I find that even the typing experience is faster with static types, since we get better autocompletion/intellisense and there is no need to lookup documentation or other code all the time.
Pharo: pure object-oriented programming language
"The solution is obvious: education. Education, education, education."

That's the traditional answer. It's obsolete. We've already reached "peak school", where sending more people to college doesn't pay off. (Especially if you have to pay for the schooling with loans.) About half of new US college graduates are not doing a job that requires their education.

Teach someone to do something, now one person can do it. Teach a computer to do something, now millions of computers can do it.
Thune Seeks Answers from Facebook on Political Manipulation Allegations
"Massachusetts law prohibits any one but a licensed professional from installing, removing or repairing plumbing. The reasons for this may not, at first, be obvious, but public safety blah blah blah..."
If you read down a little bit you'll see this...

"PTVS is written in a combination of .NET and Python - but with CoreCLR available across all platforms, a lot of that code can be reused. The way they integrate into the tools may be different, but they can share a lot of common code."

So, it doesn't look like it's going to happen until CoreCLR is stable.
this is not random.... it is deterministic.

typical round-robin times are on the order of 10ms, so you would have a significant amount of non-context-switched 'random' numbers, which when combined with analysis using the cycle counter.... namely a counter running at the clock-speed of your processor would yield a very non-random value.
Traceroute bad.horse
I dare you.
This is beyond "not politically correct", it's an outright racist slur. We've asked you before not to take HN threads further into flamewar territory. Please don't post like this again.

We detached this subthread from https://news.ycombinator.com/item?id=11668203 and marked it off-topic.
I'm sorry about your marriage but this is awful advice.
Absolutely. First make it work, then make it better.
4. Throw it away and rebuild it now that you know how it really should work.
Why will firing him worsen the problem? I would fire this guy immediately.

> Men and women need to learn to interact at work.

Men should not need sensitivity training to interact with women at work.
I'd agree with this. My last couple of projects did have a couple of hacks that bordered on spaghetti code until they were sufficiently cleaned up.
Sounds like a slightly suboptimal compromise situation that one could grudgingly give in to. But thanks to 3rd party ad networks (trans-national, etc), we can't just not have nice things, we can't even have slightly suboptimal compromise things.
That sort of assumes that the point of doing either of those things is to be better than everyone else. I personally find the activities alone to be worthwhile.

Besides, the reality of superior ability wouldn't be anything new. For everyone of my abilities, it seems incredibly likely that there exists another human somewhere that might be considered "better" than me.
I think people actually have some of the AI timelines backwards. To me, jobs like accounting and other financial services are much lower hanging fruit for AI than bricklaying, truck driving, or plumbing. The reason being that financial services are jobs where you primarily work with numbers, and computers are already good at working with numbers. Computers are not good at working with bricks. In other words, automating financial services has one big hurdle (how do we teach the computers to understand financial numbers) but bricklaying has two (how do we teach the computers to understand the numbers, and how do we make something that can successfully work with bricks?)
An unraveling spiral: The most compelling visual of global warming ever made
I think that Uber and Lyft would go a far way if they offered an information session (or linked w/ a startup space) that explains how to expense things.
1. Those are examples for a network that does not use blurring. You have the be careful because, remember, the adversary can tailor their examples to whatever preprocessing you use. So the adversarial examples for a network with blurring would look completely different, but they would still exist. Randomness could just force the adversary to use a distribution over examples, and it could mean they are still able to fool you half the time instead of all the time. However, I wouldn't trust my intuition here: that is really a question for the machine learning theory researchers (whether there is some random scheme that is provably resilient or if they're all provably vulnerable, or proving some error bounds on resilience, etc.).

2. The problem of projecting an image onto a car's camera already implies you'd be able to do it for a few seconds.
I loved "Expert C Programming: Deep C Secrets" by Peter Van der Linden. Great deep dive on the minutiae of important details (the difference between arrays and pointers as function arguments, etc)
Consumers in India want that option. They want the option of spending 60rs on guaranteed clean pani puri. (I love Elco and I have it every time I pass through Bandra.)

That doesn't mean they want encounter killings of the guys who are selling regular pani puri.
Microsoft TLS .NET: Man-In-the-Middle CVE-2016-0149