skysight-inc/HackerNews huggingface dataset:
This also the story of failure and counterproductive incentives of the so called Mehrwegquote, multiple use deposit bottles, which used to be above 70% in the 90s and is now as low as 40% and was scrapped altogether as an environmental politics target last summer, the original target was 80%.

The single use plastic bottle deposit was introduced at multiple of the cost of the multi use bottle to boost use of the latter, but somehow that turned out to have the opposite effect. Mostly because of by having a deposit on the single use, it is perceived by most as being equal to multi use in it's environmental cost footprint and single use having less logistical requirements for retail.

Some German Background:

https://de.wikipedia.org/wiki/Einwegpfand#Die_Entwicklung_bi...

http://refillables.grrn.org/content/western-europes-experien...

http://www.toytowngermany.com/forum/topic/10497-the-mystery-...
Rich Hickey: Deconstructing the Database
Did you just criticize a religion for not making sense?
3 years, but I guess not all documents were revealed in 2013.
What you use as an example input is not the point. Your entire scheme is insecure. It is a fully deterministic scheme from input to output, and reversible as well given your suggestion of base64/base128. Passwords should be randomly generated strings of bytes with no deterministic aspect to them at all.

Just use a password manager (i.e., https://github.com/zdia/gorilla/wiki) where you can generate random, uncorrelated, unique passwords for each site. Then, using the manager, you don't have to remember the individual unique passwords, it performs that function (remembering) for you. All you need to remember then is your master password to unlock the manager.

Once you've begun using a password manager, you'll quickly wonder why you didn't start using it sooner.
Stop nail biting
HTTPS is often overkill because it encrypts everything, which isn't always necessary for websites/pages with non-personal data. Then it is sufficient enough to just sign it.

Maybe the key could be distributed through DNS, like DKIM.
Relevant HN thread that is a goldmine: https://news.ycombinator.com/item?id=12637239
I studied quantum information/foundations to research level, so may be able to give some input and obviate some of the wilder interpretations. This paper isn't directly in my field of interest (don't know much about relativity), so I'm happy to be corrected if I say something stupid.

You've probably heard that quantum information processing uses the "qubit" as an information primitive. A qubit is not itself a particle, but a "degree of freedom" which can be in one of a range of states. This degree of freedom could be spin, polarization, energy, and so on and so on. Unlike bits, a pair of qubits can be entangled, which means that their joint state is not decomposable into a statistical mixture of independent pairs of states.

The paper considers two degrees of freedom associated with photons emitted from the accretion disks of spinning black holes: polarization and orbital angular momentum (OAM). Essentially, there are two qubits per photon. After some reasonable assumptions and calculations we find that the two qubits are highly entangled; in fact, as entangled as it's possible for two qubits to be. The author speculates that may be able to detect this by measuring such photons with modern equipment. I suppose the motivation is that we might be able to use them for actual information processing tasks (although as far as I can see there's no benefit to this over preparing entangled qubits ourselves).

That's about it, I think. No time-travel, no communication, but a small point of interest.
There's also Hydra, which looks pretty easy to deploy (fyi: I haven't used it): https://github.com/ory-am/hydra).
Surely there can only be one Sim Lim Square?! It has been about 15 years since I lived next door, but the hawker stand I'm thinking of was called something generic like "Afghan and Pakistan Foods". The naan was the highlight, but the curries and stews were great as well. They had this really big taciturn dude who would work the dough between his hand and fist before throwing it in the tandoor. So good!
>"It does not work well in programs which have high requirements for performance or memory"

Can you elaborate on why this is?

I see the parent post mentioned "lazy evaluation." Can you say why this is relevant to discussions on resource utilization and performance?
Dark Patterns: User Interfaces Designed to Trick People [video]
Show HN: Termbox – Launch a Linux terminal with two clicks
Ask HN: Whats your response to unconstructive comments by ignorant user?
I've few free projects, used by thousands of users. I understand its not 100% perfect, from survey, we found 80% people are happy. 15% are unhappy but provides useful/constructive comments/criticism.We agree with their view & try to improve or admit our faults/limitations. So far fine.

But from time to time, we come across some users (5%) bashing the project as 'junk,worthless,scam,joke etc'. These are one-liners (not constructive criticism) serves no purpose to us(dev) or fellow users. How to respond to them in public forums. Often we tried to ask them for logs or error messages trying to solve their problem. But sometimes, I'm tempted to reply like "idiotic user found".

I'm pretty sure, some developers here might have came across such un-constructive comments, how did you handle those tiny-minority in public forums?
Can you please add a link to that from your website?
Not natively, as in there is no PARTITION BY HASH (<list-of-columns>). What limitations do you face when trying to roll-your-own hash partitioning using check constraints (in 9.6)?
Some extra info to save people digging through that whole thread:

* The game developers have since released the content for all CPUs

* The developers at reVive, which are normally focused on making the Vive work with Occulus exclusive titles, released a patch in under an hour to remove the restriction.
Only slightly related, but reminded me of http://boingboing.net/2012/01/10/lockdown.html
In the particular case of Socrates, one might speculate that he had the privilege of affirming or denying his faith before Christ himself: http://biblehub.com/1_peter/3-19.htm
Ubuntu 16.04 LTS Security: A Comprehensive Overview
I have two machines one an i5 4690 another an i7 6700 and have two vives, one(I7) has single player horde mode the other(I5) does not!

I had to stop and think about the word "vives", heh. Of course I was not expecting someone to describe his partners' gaming setup, but still tripped me up.

This seems like a weird thing to do, and perhaps even more so that it wasn't more clearly communicated. I don't follow this game at all, but there are clearly commenters who do who are surprised about being locked out.
Thanks a lot, that makes sense!
If i'm not misunderstanding you.. (as i didn't watch most of the videos there)

See data-oriented programming (not to be confused with data-driven). In the end code just processes data.
amazing dude...
Farhad Manjoo was bad before he moved to the Times.

A thing I don't like about this article is the mischaracterization of Kickstarter. There's been lots of high attention hardware projects, but the site was never just for gadgets.
I think this is one of the great virtues of OAuth/OIDC. It makes you realise that, in most cases, you don't care about identity per se when making access control decisions. We just tend to use it as a proxy to infer attributes...
IamA Joi Ito, Director of the MIT Media Lab
Well I for one am extremely sad about this. I had the Pebble Steel, stolen, then Pebble Time Steel and now also the Pebble 2, with a Pebble Time 2 on order.

I've loved Pebble from the first day I read about their original kickstarter. Gutted to learn I'll never get my Time 2.. was it a manufacturing defect that sunk the company?

At any rate I just found and placed an order for a white Pebble 2 for my wife. I was going to wait a bit, but didn't want to take any chances on getting her one now. Love the contrast of my lime / grey one.

I can't see anything replacing the Pebble now; nothing else offers week long battery life and always on display.

Thanks to all the engineers and programmers for the work you've put in. I feel sad for how it all panned out.
I'm with you, but there's phrases like "intellectually dishonest", where "dishonest" doesn't imply deception as much as just a character flaw in the author where they're being unintentionally dishonest by favoring their own ideas for example. As the OP mentions, context matters and the word dishonesty has a few bends to it depending upon the situation or phrase.
This article seems to be a little hysterical about the issues tech has with alcohol, and I say this as someone who has hasn't been drinking for about 2 years, but all the suggestions are extremely reasonable steps I wish people would take, even when I did drink having to stand in a long ass line for water was annoying.
The GPL family of licenses are complex legal instruments which really don't apply in a sensible way to chip designs. LGPL has previously been used in the OpenRISC community, but the 'library' boundary isn't really clear when it comes to hardware. I think there's definitely space for a hardware copyleft license that clearly defines the boundary (e.g. an IP block), but it doesn't exist currently. Strong copyleft like GPL just isn't going to work for ASICs without carefully chosen exceptions, given the need to work with proprietary process design kits. I think projects like LLVM and FreeBSD show that a copyleft license isn't a pre-requisite for building a strong community of contributors, including from industry.

This piece from Andrew Katz is a good read http://www.ifosslr.org/ifosslr/article/view/69/131 or else the (length and inconclusive) discussion about GPLed HDL designs at last year's ORCONF https://www.youtube.com/watch?v=JgRBDuZQsFg https://www.youtube.com/watch?v=UOZkiOtmHEQ

Secure boot is a useful feature, but definitely one that can be abused to limit a user's freedom. I think a copyright license is far too blunt an instrument here - instead certification schemes (e.g. FSF's Respect Your Freedom) make more sense.
Average salary is about $170,000, RSU grant is somewhere between $260,000 - $300,000 over 4 years.

Number of datapoints on that is somewhere between 20 and 40.

Do note that if you're on the cusp of a level, Facebook can and will put you in a lower level so that you have a chance to excel and get promoted quickly, instead of struggling with adapting and getting put on a PIP.
Knuth's annual lecture to be streamed live in VR
That large image (the first one) are the little "twirly things" smaller "hurricanes" within the big one?
Agree entirely. My eyes are jumping around most on his last, "preferred" version.
Well of course. Plastics are syntasized from hydrocarbons and given sufficient electric power you can turn atmospheric CO2 and water into hydrocarbons. We've known how to do this with simple methane for over a hundred years and we have pilot plants for more complex hydrocarbons. The problem is where that electric energy comes from.

Here's hoping for continued progress in reducing the cost of solar panels, etc.
The state of Michigan had (has?) deposits of $0.10 US on all bottles & cans when I grew up there. I never noticed how much it kept bottles, cans and other items from becoming litter along roads and parking lots until I lived in states with no deposit. It was a nice incentive to go out and pick up trash, because the cans/bottles can really add up.
Yet assembler jobs don't pay well even now here in the US. Just ask anyone who works a job at Coleman (temp or perm). It's not this panacea for employment.
This is something that is currently under development and being licensed for large-scale commercial production. This is one company active in the space:

https://www.newlight.com/aircarbon/
https://www.newlight.com/newlight-technologies-signs-15-year...
https://www.newlight.com/newlight-signs-10-billion-pound-pro...
There is a specific definition for elementary functions (see Wikipedia). However, the elementary functions are only a subset of all possible functions.
The fundamental issue here is that you'd actually have to move the rows between relations given that Postgres maintains separate storage etc. for each. There's no good way to do that.
Its very common to partition by a function of a date, e.g. `PARTITION BY RANGE( DAY(event_timestamp) )` etc. The docs talk a lot about partitioning by dates http://dev.mysql.com/doc/refman/5.7/en/partitioning-range.ht... but, as said, you have to have a cron job to keep adding new partitions and archiving/dropping old partitions etc. Its a shame that couldn't be automated by the DB itself.
When I was preparing for the UK STEP examinations, one of the questions had you evaluate an integral I by carefully choosing another integral J such that I+J and I-J were both very easy to evaluate. From there it's just a matter of simultaneous equations.

I've never seen this trick replicated elsewhere in research or teaching, but it's stuck with me as an incredibly elegant method.
I assumed "human level", and that's all I need; I don't need magic super-human species-threatening AI for the point to stand. If we're making human-level beings to order, I'd call that pretty darned close to the traditional "magician".
Normally, yes. But if you define __slots__ on the class, it's the same overhead as a namedtuple (no __dict__ per instance).
Awesome. Feel free to contact me if you have questions/ideas or if you find anything you really like :)
I consider that talk one of the most interesting about programming and I consider it underrated as well.
Those jobs are at least one magnitude less in number than the typical assembler/packer job. They also require much more skills so I expect them to pay but that's not enough to offset the losses. Either way, these aren't good paying jobs like being a sander, painter, chem-treat, or CNC operator at an aircraft plant.
I've tried to answer that question here https://news.ycombinator.com/item?id=13130195
The one huge aspect this article doesn't even mention are the thermodynamics of the process. Of course CO2 can be used as a building block for plastic, but it contains far less energy than the plastic you want to create. That means you have to supply that energy difference somehow.

The reason we use mostly oil to synthesize plastic is that someone else already put in the energy to convert CO2: the plants.

Even though you can't avoid the thermodynamics here and cheat the energy difference, of course there could be more efficient, cheaper and cleaner ways to go from CO2 to plastic, and those would be interesting in terms of dealing with climate change.
Don Libes' Expect: A Surprisingly Underappreciated Unix Automation Tool
Ask HN: What is it you wishlist for an airline tech?
Today, many airline apps, with varying quality, give you your flight bookings, flight tracking, travel content and administration of your bookings. You may have seen even some Kiosks (fake) agents talking to you to help.

What are your pain points you wished were solved, and if you'd pay for it? it can be any technology, apps, channels, VR, AI, or IoT.
As long as the expression being hashed doesn't change then yes you could make the expression a hashing function call. If the expression being hashed is mutable there would be issues since the feature doesn't currently support updates that result in rows moving between partitions.
Get Something Done Really Quick
Apart from the obvious stupidity of tying game features to particular processor SKUs, I'm additionally baffled by the fact that no one was ever told about it. Like, if this was a scheme by Intel to sell more i7's, how was it supposed to work if no one knew the feature was there? Inexplicable.

"The whole point of the doomsday machine is lost if you keep it a secret!"
PiinPoint (YC W14) Is Hiring for Machine Learning and Development (Waterloo,CAN)
Looks like they were getting swamped by negative reviews:

http://store.steampowered.com/app/342180/
I would take it a step further. I want a date on any kind of article, scientific or not. Bonus points for having separate published and last modified dates.
> The CO2 is captured from a neighbouring facility, thought to be producing ammonia.

Nobody knows what it's really producing.
> This means we can exploit any efficiency trick an imperative program can do, including low-level stuff. The seasoned FP programmer will then proceed to encapsulate the efficiency trick in a abstract module such that the rest of the program doesn't have to worry about it.

You can do that in a pure language as well (i.e. ST monad.) Purity shouldn't be given up lightly.
He was played for two reasons.

1. It's likely Foxconn had already decided this well in advance of the 2016 election cycle. So him winning the election and this projected deal aren't related.

2. Even if him winning the election may have affected the decision it's still not him doing this, it's Foxconn. And the fact he's promoting this deal makes him the stooge for Foxconn. All he did was give them free PR (I hope his advisors told him that). So for a man who claims to have good business sense he basically did something for free.

3. The tax dollars don't matter, it's the fact Trump is like the soupstone guy from the fable. He didn't contribute anything. He produced exactly no value here.
Rust-lang: Add npm to friends page
I think just showing that your committed to offering to help shows that your committed to customer service and for the other people reading the forum I think that shows your not afraid to work to make things right.
Email addresses are a terrible primary key. They change (and they change a lot). They are longer than strictly necessary.

A related problem there isn't a one-to-one mapping between email address and person, one person can have several email addresses. If you want to let a person have many accounts and keep track of which accounts a person has (like ebay does) then you're going to need a person primary key too and can't make an assumption about email = person.

Its my opinion natural primary keys should be used very, very sparingly if at all. There's basically no "person" natural key. Even social security numbers are subject to various problems when used as primary keys. SSNs can (rarely) change. Laws and policies around SSN use and storeage also change.
Sometimes looking at people's stacks I wonder if we've made computing so complicated most of the time is spent dealing with stuff that is broken, and little time is left to do anything useful. Data science seems even more into this that programming in general; and sometimes you wonder if the result is actually worth all the pain.
Battling Parkinson's disease
Pons and Fleischman got a raw deal

Maybe in the end, but they kind of brought it on themselves. They were excoriated for going to the press before peer review. That's something that you just didn't do. Then when nobody else could get their results they were in a bad place.

https://news.ycombinator.com/item?id=13130002
i cringed while reading that.
It's not so much the implementation details that worry me. Well, I do get worried if we end up building a vastly complex beast, but what I REALLY worry about is having data available for whatever eventual scenario that might pop up. It's true that tools (like New Relic) answer a lot of questions, but data in these systems isn't usually available for you to play with, you're constricted to their sandbox. Even if it is available, a lot of the times the data is built and stored in a way that only makes sense to be used through their system (with good reasons, performance being the best one).

A lot of the times these systems are built not only to serve business insight and stats, one of our main systems needed to answer two requirements: a) better/faster analysis for us; b) serve as a machine learning platform to serve better content to our users.

a) complements b) perfectly, as we collect data for analysis, that same data feeds into other areas of the business that help our users, on the fly.

You could argue there are solutions out there that satisfy a) perfectly, but the learnings of doing a) is what made b) possible.

Even if you're happy with a solution like New Relic (and by all means, I'm sure it's a good product, we use New Relic a lot!), what happens when someone has an idea like... oh I don't know... "can we build something that looks at the past 7 days worth of data and flags up any metric that moves away from the standard deviation line? Also, can you then match that against historic data and identify patterns/catch false positives?"... Just an actual, factual, example that I'm working on as well.
Well, unless your plan is actually to destroy the world, or in this case, make i7 owners slightly more entertained!
I asked one time to my teammates why we had test. They just didn't answer. For them it was just a dogmatic approach.

That doesn't means that you should not have them. But you at least should be able to answer that question to be able to evaluate the value that they bring and how much tests do you need and where.
In other words "be smart, don't be stupid". Do you really need to write a test for that single expression setter?

But then again, it may be easier to just set a single round goal like 100% for test coverage. Writing that test for the single expression setter won't cost you a lot.
I read your comment and went to scroll down to add the Strangelove quote. Delighted when I saw you already had. :)
Show HN: First try on a password hashing library
I worked on this as an experiment to see if I could create a useful hashing algorithm for passwords to generate the hash of a password before storing the hash to a db or before comparing it to the hash in a db.

I wanted some comments to find out what you thought about the algorithm.

(https://gitlab.com/heindrich.paul/passwordhashinglib)
> The second limitation is that it is impractical to audit the hardware to determine whether you have actually received the unmodified open source design. For software this can be achieved using reproducible builds or just by compiling it for yourself.

This is one of the things I'm hoping to study further during my PhD. I have a lot of reading to do before that, though :P
What's horrible about that? People doing things for the money is the driving force behind capitalism, the best economic system yet invented. It improves everybody's quality of life. I have no objection to people going to coding boot camps because they think it will help them make money, and I hope they succeed.

But I don't think coding boot camps are evidence for great love for coding for its own sake. People who really want to code will find some way to do it no matter what. They don't need paid tuition.
Apparently, the facility is producing CO2, among other molecules.
But we don't write tests to check if our code works. We write tests to be able to change it in the future with certain degree of confidence that we don't break anything and - if so - what exactly.

There are other techniques which can give similar confidence, but tests are the easiest one.
The bottle deposit is called "pfand" here you can see a machine in operation in a supermarket: https://www.youtube.com/watch?v=RLKmr0uVhWo

Some more details on the program: https://www.reddit.com/r/germany/comments/18rpwa/i_have_a_fe...

As an expat in Germany, I was very impressed by the whole system. You can scan your bottles, get a receipt and use that to subtract from your purchase in the supermarket (or get cash). If you have an empty beer crate full of empty bottles, the bottom of the pfand machine in the video above has a slot and a conveyor belt that scans the amount of bottles in the crate and adds it to your total (8c per glass bottle). If you order your groceries online, the delivery guy will collect your bottles and issue the discount on the spot. Homeless people often gather enormous amounts of bottles after events, such as Oktoberfest. People sometimes casually drinking on the street will leave glass bottles next to the bin so that the homeless guys have an easy time finding the pfand bottle to recycle.