skysight-inc/HackerNews huggingface dataset:
Ah, that makes sense, though couldn't you solve this by something like creating a table called 'pages' and storing the materialized JSON (the same that mongo would generate) in the table?
I don't get it. These "pranks" are all just slightly silly, but not completely absurd.

For those behind a paywall, this is about Candid Camera, and some newer material they're trying. Among which :

- Postman telling people their mail will be delivered by drone (With a drone coming by dropping it off)

- People getting told that they'll be charged $10 "in store fee" for not buying online

- People being asked for 3 forms of photo ID to pay by credit card

- hired a cop to enforce a “2 m.p.h. pedestrian speed limit.”

The political ones are a bit sillier

> We showed New Yorkers petitions to recall state officials, but the names were all fictitious. Most people supported the effort, among them a lawyer who carefully explained that one should never sign anything without complete knowledge of the facts, and then signed anyway.

>our actress posing as a candidate obtained dozens of campaign signatures without ever stating a position, a party or even her last name.

The last one shows an example of "real life" bikeshedding though:

> I told residents in Queens, N.Y., that they would now be required to separate household trash into eight different color-coded bins. I can’t imagine someone being more passionate about any world controversy than the gentleman who was incensed about a bin devoted to “poultry waste.” “How,” he asked, “am I going to eat enough chicken in two weeks to fill that up?”
Actually, it seems some (not all) laptop CPUs from the i3 up to the i7 do support ECC, while the desktop versions don't.

Search for ECC in the pages below.

https://en.wikipedia.org/wiki/List_of_Intel_Core_i3_micropro...

https://en.wikipedia.org/wiki/List_of_Intel_Core_i7_micropro...
It's the job of the CGI program, which is the same code that would have responsibility for sanitizing environment variables before calling bash.
Facebook - Coming back down to earth
Yes, I used something like this as a student as well, and found it much more useful than a numerical rating. In cases where there were enough thoughtful reviews, it let me figure out (with admittedly some error) that certain professors tended to teach in a style that either was or wasn't attractive to me. Which is not the same as "good" or "bad"; the kinds of courses I find most valuable were not the ones everyone would find most valuable.

Sometimes even negative comments would give me information that I should take a course. I remember one detailed negative review that complained that the lectures were generally too low on covering information needed to successfully complete the assignments, mostly referring to aspects of C++ (it was a "data structures" course using C++). Instead, the review complained, the lectures were too high-level and theoretical and not helpful in writing code. Which is exactly how I like my lectures: I want lectures to give me a map of the landscape to help orient me towards what's important, how things connect, and where I should look for more information. And I really hate the kind of class that spends all the class time belaboring details of what I should type into a C++ source file, which I can look up myself. If it had been a numerical rating, this very useful piece of positive information (for me) would've been treated negatively!
I'd rather see a test with robotic dummy legs (soft, human-like, padding material) wearing pants with various sized pockets and the phones placed inside said pockets (in various positions within pockets) and stress tested by bending the robotic legs over and over to simulate sitting down with a phone in one's pocket over time.

It would be a much more time consuming, expensive and complex test, but I think I'd trust the results much more than what I'm seeing here.
> 2 litters per day is a bast amount while also the recommended amount for a person to drink on a day.

Who recommends drinking 2 liters of soft drinks per day?
Horrible landing page. No information about what/why/how whatsoever.
ShellShocked – behind the bug
A lot of the themes in this lecture related to motivation
and employee qualities are what I'd lump in the category
of "dog whistles."

Really? It all seems candid to me. What do you think Sam is implying but leaving unsaid?
It's a false dichotomy, either an iphone 6 plus or a nokia? Give me a break.

I'd happily take the iphone 6, add 20-40% in thickness and weight, make it more durable and have a bigger battery, and let the phone sit flat on a table (as opposed to the camera sticking out like now) without having to mess with a case.
We've redone our product catalog for a website using a NoSQL solution ( not MongoDB, but we did look at it). Our products are in multiple different categories, and have vastly differently attributes depending on categories. NoSQL solutions are perfect of this. As you point out it's a simply alternative/solution to deploying an EAV model.

I've only seen EAV used in one system, Magento, but was a disaster. It's complex and slow to the point that very product in stored both in the EAV model and as a "flattened product".

For systems dealing with sales and economy in general I would almost alway pick a RBDMS, it's seems a much more natural fit. The ability to do ad-hoc queries in SQL, rather that map-reduce is a huge advantage.
Show HN: Node.js turn a connect middleware into a runtime modifiable middleware
I'm pretty sure they only did bumper cases for the 4/4s?
And this is why live migrations (VMware vMotion, but also done by Google Compute Engine) are so awesome. Migrate VMs from server X to server Y, then patch and reboot server X. No VM downtime.
Sorry guys, You did the test backwards.

Correct me if I am wrong, but I think most people place the phone with the screen in, so that it would bend toward the screen not away from it. The results could be significantly different in that direction, especially since the major mode of failure was the screen separating from the case.
Design Principles: Visual Perception and the Principles of Gestalt
If Australia didn't have the economic capacity to import there may have been a shortage to the extent that some poeple would have starved, but what would that really look like? Expensive food. Rich people wouldn't starve.
Then the title should've been "ncurses, fooled again", unless someone fooled you into using old curses.
Get Motivated: Konnichiwa and Sayonara in Japan
I completely disagree. This is a case where the size plays a significant role in how it would be bent in real life. Strongest for its thickness isn't worth much. My cheek pressing in the center of a phone while I sit on a soft couch loads the full length, and approximates the 3 point test quite well.
Higher order functions can be easily chained
together to create complex transformations:

(filter even?
(map #(* 3 %) [1 2 3 4 5]))
=>(6 12)

This will need to be updated to make use of transducers, I guess.
I agree with the OP. Bash is a scripting language. If you use it, you must be aware that you can damage the system. If you allow your script to get input from the untrusted sources it's your job to sanitize it.
Seconded. I was working with a mix of Java and Ruby for roughly a decade. I've been working full time with Clojure for about two years now, and on and off for a couple of years before that.

Fantastic introductory guide. Clojure really needs something like this. There are some good books on Clojure but I find they are aimed at either the determined beginner or the experienced (or both.) This though I feel I could pass around to anyone that wants to get an idea of what Clojure is about.
C++11 use in Chromium
I think people mix up three things:

(1) Transactional model. Many NoSQL databases are non-ACID, but others are (Google's stores all have some transactional guarantees). Some databases try to gain efficiency by relaxing their transactional guarantees, some probably just didn't get around to implementing a proper transactional system yet.

(2) Data model. The relational models can be overly restrictive as you cannot easily represent contained, repeated elements in an object without ending up in a crazy join smorgasbord. Note that that doesn't mean you have to be dynamically typed.

(3) Distribution/sharding/clustering. RDBMSes are traditionally single machine, and getting them to cluster is usually a huge source of pain. NoSQL databases are often built from the ground for sharding.

I think people go for MongoDB mostly for (2) and ease of use. Very few people have an actual big data problem where you really need (3), and for reliability there are simpler solutions (hot standby). (1) makes it so much easier to build reliable systems that it'd be a real deal breaker for me.

I personally don't understand why so many people go for NoSQL, seems to me like that creates a substantial cost, both for performance, but more importantly missing the transaction guarantees, with no real benefit, at least none that's obvious to me. MongoDB with its unapplied writes, no real transactions, but no real distribution story seems like an odd choice in particular.
There are two things to differentiate, in my oppinion.

In most cases, the shell is just used to find programs in the PATH when a C programmer uses system(). And for that case, which is probably 99% of the time when /bin/sh is being invoked, it would make perfect sense to implement this with something that exhibits less attack surface.

Taking the "dhcp-exploit" as an example (set a DHCP option on your server to "(){...}; exploit;"), I think it's less clear: Implementing the functionality of updating configuration files according to the DHCP options sent is a prefecty reasonable place to use a script written in sh/ksh/bash! It's easy to implement by any sysadmin, works very reliably with a little care, and performance-wise it's not critical at all.

And regardless of the language you implement it: There's some place where user-input has to be sanitized, but up to now, it was considered common knowledge that arbitrary data in an environment variable is safe as long as the variables' name adheres to some convention (prefix them all with PROGNAME_...). And bash doesn't respect this convention by looking at variable CONTENT, even though I'm pretty sure that it was already established when the bash-project started... (see, for example, handling of "special" variables like LD_xxx in suid programs or the dynamic linker)
Well I've been using cider / nrepl.el for a long time and never knew this. Don't know how I missed it.

Thank you.
Back in college I used to check "rate my professor" when picking classes. I learned pretty quickly to avoid the highly-rated.
You can use Gentoo Prefix for this:

https://www.gentoo.org/proj/en/gentoo-alt/prefix/

It builds everyting except libc. Support for building libc is under development by the project. I used an early version of it to provide a build environment for the ZFSOnLinux kernel modules on CoreOS:

https://github.com/ClusterHQ/flocker/blob/zfs-on-coreos-tuto...
If the protocol was binary, exporting variables to subprocesses and exporting functions to subprocesses would go in different places, and Apache would know to send the one but not the other
somehow 100k EUR doesn't seem that much for this kind of situation.
> also can't there be a compost program for mixed food?

Aren't there? I don't know how it looks in the US, but half the municipalities in Sweden collect food waste along with the recycling, turning it into natural gas, fertilizer and electricity/heat. http://matavfall.vasyd.se/media/2187/matavfallsprocess.pdf
I think you misunderstand the context. go generate is already in Go tip and will be released as part of Go 1.4
If you come to a Genius Bar looking for help with your bent device they will inspect it visually, and if it doesn't look like it bent under extreme conditions they will replace it. The ultimate arbiter of "normal usage" vs. "extreme conditions" is the AppleCare professional, they aren't going to test your device with automated tools for that.
My HTC hero was pre-bent and more durable than any plastic Nokia... I'd love 40% magnification of it, it'd last a week too.
Unix domain sockets existed in the 90s and would have done the job adequately without evaling anything in transit.

Apache transmitting data created by random people to CGI processes using environment variables is most definitely Apaches fault. It was a dumb idea in the 90s and it's a dumb idea now.
There's not much business opportunity in people who don't have money.
I don't think a parody is elibible for an Ig Nobel.
Playground – easy bootstrap for starting a JavaScript game from scratch
> But I don't think this author knows how deeply the bug runs, either; the most recent way to exploit it is to export an environment variable of, say, ls to a bash function.

If you can set arbitrary environment variables, you're pwned and have always been pwned. You can set all manner of interesting things, including LD_PRELOAD, to control the execution environment and potentially execute arbitrary code.

EDIT: Putting random data in an environment variable where you pick the name should always be secure, though, which is an assumption that most of *nix makes.
I know it's not a panacea, but the Open Build Service is helpful in building packages for multiple distributions.
Morning Cat
Google C++ Code Style Guide
Ahem. Every web server passes "unsanitized user input" to "Turing complete systems". You have a right to expect certain things from subsystems regardless of their "Turning completeness".

* A file system should store your bytes, though nothing prevents a file system written in C from executing, say, logged HTTP requests as commands.

* A CGI script should sanitize form data, though nothing prevents a PHP script from blithely shoving unsanitized data into SQL queries.

* And a shell should pass environment variables to subprocesses, though nothing prevents it from interpreting variable values (or names, or a combination of names, values and the time of day) as commands.

As I said - I don't think it's a security bug in bash, just another one of endless misfeatures. It's about as crazy to interpret environment variable values as code because they have a special-cased form as it would be to interpret, say, file names as code, or certain byte sequences passed to the write() system call as code, etc.
Your links do not remotely come close to debunking the concept of VAM.

Your first (accurately) says "measurements are noisy" and the inaccurately says "and other things matter for learning too". Unless I missed something, it doesn't provide a reason to expect bias in the other things.

The second link says that some VAM models assume student assignment is random when it is not, and also that measured educational outputs don't matter much for outcomes anyway. The logical conclusion of this is simply that VAM needs modification, and maybe we should reduce education. Claiming this debunks the idea of VAM is like saying "hah, this paper proves OLS doesn't always work well, therefore regression is debunked".

The third is really long and I couldn't figure out it's point. The fourth one says VAM is noisy.

If you believe VAM is unable to measure the effects of teachers, are you willing to follow through with the logical conclusions? Namely, the effect teachers have on students is so small it can't be measured and we should therefore focus on other things (e.g. reducing cost) instead?
Radiohead Artist Releases Album via BitTorrent
>> Extraordinary claims need extraordinary support.
Then just do it yourself regarding the "Eastern Europeans enslaved by Soviet leaders" one then! As illegally crossing a border will get you detained or fired at in almost any place now and ever, just as politically-motivated oppression is not a Soviet invention (i. e. McCarthyism, for ex.). Regarding the emigration-preventing regulations, that may be a perfectly understandable brain-drain prevention practice stemming from the difference in income equalities between the blocks (a qualified worker would sometimes earn more than the factory's manager to the East of the curtain, a scientist with a well-established career earned enough, too, but less than his colleague on the other side, most probably, and a humble cleaning lady was a complete different story, I'm sure).

Speaking of seeing PR, and the civilized practice: the folks in question are not "a rock band who dared to say no to the dictator from a Cathedral stage (in music!) and were imprisoned", but rather a group of political hooligans, known initially for a group sex orgy in a museum (and an another alike event, which I'll not describe here), who then performed several rush-into-cathedral-and-start-cursing-and-jumping-around-with-a-guitar (sound to be overlayed later) acts, until finally getting whoever saw this pissed off enough for the freaks to be handled to the police (and then, the infamous trial happened).
(coming from your original "See PR" -- you may indeed go and see the pictures).

Regarding renowned Wikipedia researchers in question -- you don't have to be one to highly doubt their claims: with nearly every family in ex-USSR losing members during what is called The Great Patriotic War here (the total losses are officially > 20 M), both the collective consciousness of the nation, the witnesses still alive, and their families share the memories of the losses' severity. Same applies to the 1936-39 repression era (< 2 M executed being the official figure), the ratio of "official figure" / "perceived impact", most importantly, seeming to be close to that in the case of the War. Now, the events costing 60 M in human lives would have roughly x3 the impact of the War, and still there's nothing like that -- which brings to a conclusion of roughly a 60/20 * 20/2 == 30x hoax!

And don't you dare to say that living here, we "don't know the subject enough" :)
No, people choose comfort and projecting an image of status over privacy. It's not because they trust Apple.
Matt Asay interview that expands on this point: http://www.networkworld.com/article/2294068/lan-wan/selling-...

Summary: http://openlife.cc/blogs/2007/august/matt-asay-alfresco-busi...

Note: These are from 2007, and these insights about enterprise open source products and sales aren't unique anymore.
I recently started using Fedora, love it, hate the lack of software. I could always contribute to packaging software not yet available, like e.g. Atom, but in the time I could waste learning to do these things I could of installed Ubuntu. I'll keep it for now, though. Maybe I'll figure out how to package and somehow release some lovely RPM's. I love Fedora, hate the lack of packages.
I understand getting signaling to work in the frequencies we use is hard (when I was in college a lot of people doubted we could go above 50 MHz), but I can't shake the feeling the complexities we have on modern computers are part of a very elaborate Monty Python-esque prank to make our work look like magic to muggles... :-)
Food production has become cheap and efficient. So efficient in fact, that it has apparently no significant economic impact if "as much as 40 percent of America's food supply ends up in a dumpster". Otherwise, the market would improve efficiency with regards to wasting all that food.

I find particularly appalling that the production of animal products has become so economical that it does not matter that so much is thrown away. Efficient meat production means of course factory farming and questionable treatment of animals. This is a problem. The other problem is with the consumers of such cheap animal products. They are not aware anymore, have no respect for the fact that the thing they just gobbled up (and threw away) was once a living breathing being. It is sad.
Assuming you turn the compost regularly, it's an aerobic process. However, if you build the heap too high, and/or it gets too wet, and/or you don't turn it often enough, it can go anaerobic. I believe that's unlikely to happen on a homeowner scale, and presumably at municipal scale they'll have industrial infrastructure to turn it regularly until it has finished decomposing.
Excitement Over Gravity Waves Comes Crashing Down
I'm guessing you got voted down because people don't want to eat bread baked the previous evening. Of course, I don't know because there are no frikkin' comments from the trigger happy. Even if they don't like your bread idea, doesn't your multi-pack point cancel that out? Waitrose discounts ageing sandwiches. I think you have a point that small improvements could be made in multiple areas. Assuming waste is a problem.
Thanks; good to know. Here's a link to the original discussion thread on the Go newsgroup from July: https://groups.google.com/forum/#!topic/golang-dev/ZTD1qtpru...
Because this:

https://news.ycombinator.com/item?id=8374821

And I think it's just silly to say things like "snowboard" outside of English, instead of just translating it. It's just "snow" and "board", that can be easily and seamlessly be translated. But where I'm from, people are too lazy for that/don't care.
Nice benefit, bro (high five)!!
It's giants all the way down.
>“We’re using a locker that actually has a combination on it, and if you don’t know the combination, then you can’t get inside. Unless you take a sledgehammer to the locker, there’s no way we get to the files.”
~Jonathan Zdziarski, a security researcher who has taught forensics courses to law enforcement agencies on collecting data from iPhones,

These people literally think on the level of schoolyard bullies.
Well dudes, you screwed it up for yourselves with illegal wiretapping, the perhaps legal but still outrageous secret court orders and the attitude you presented when all this came to light. Fuck you.
Some of those sell products and services. Some do lead generation for b2b services and products. Selling on facebook is a terrible idea. Creating content and using facebook as distribution channel is a great idea. If you can execute it of course.
Is MongoDB's distribution and scaling story really nicer? A cluster story that's easy to set up but then doesn't actually work (loses data, fails in potentially catastrophic ways) sounds not all that useful.

http://aphyr.com/posts/284-call-me-maybe-mongodb
At the end of 2013, Stack Overflow worked on one SQL server (plus a redis server for caching). The rest of Stack Exchange runs on another SQL server.[0]

For the most part, for most projects, worrying about multi-master replication is going to be pointless. You can always put some data in a distributed K/V (or document) store and point to that from your SQL if you need to.

[0] http://nickcraver.com/blog/2013/11/22/what-it-takes-to-run-s...
Are you referring to Apple who is locking investigators out of phones, or Investigators for trying to track down evidence of crimes?

"These people literally think on the level of schoolyard bullies." - That statement could go either way.
Frank Kern’s top 19 favorite marketing tactics (It works. Trust me)
“The Russian Password Reset Service Is Great”
Bash: not a bug, a feature  (?)
It looks like was a (too) cleaver trick to evaluate an env closure when sub-shell is started:

~$ export Q='() { a=$(pwd); [ -z "$Q_env" ] && export Q_env=$*; b=$Q_env; echo "a=$a, b=$b,"; }; Q $(pwd)';

~$ bash

child setpgid (3394 to -1): Invalid argument

child setpgid (3395 to -1): Invalid argument

a=/home/gio, b=/home/gio,

~$ cd ~/Desktop/

~/Desktop$ Q

a=/home/gio/Desktop, b=/home/gio,

(prompts?)

http://www.commandlinefu.com/commands/view/13721/bash-not-a-bug-a-feature-....-
Celebrating CloudFlare's 4th Birthday