skysight-inc/HackerNews huggingface dataset:
I suspect that the age of the children has a big impact on the results. The study was of 3-7 year olds. If you remember it well then you were at the upper end of that range, if not older.
Easy-Python: Libraries and Resources
I spend quite a bit of time on both sides of this issue: both doing design work and implementing it.

The appeal of GSS definitely lies in how similar it is to how I conceive of layouts functioning. As a designer I want the grid to be based on divisions of the page, and every piece of software I work on appears in many different "page" sizes depending on the device, resolution, &c.

It's not just that I want my grid fields to proportionally resize themselves, but that the elements themselves need to reorganize themselves to suit different grid conditions.

All of that is really just to say that I also want to see answers to your first question. GSS seems like a reasonably good way to think about this, but I want to see more examples of it in the wild, esp. in production.
Trying to hide the location of a photo from someone who is looking at the photo seems hopeless to me.
Years ago, I read study about reducing corruption/abuse in police departments. It suggested that programs designed to promote a professional identity was more effective than more weight/manpower behind internal affairs.

Maybe for most humans a positive ideal to strive for is better than the threat of punishment.
Please Don't Use These Photos in Your 4th of July Marketing
I can't think of any general reasons this is bad, just very narrow cases on the individual level. What are your fears?
function cheat(str, name) {

if (!name) {name = me.id}

var arr = str.split();

for (var i=0; i<arr.length; i++) {

socket.emit('l', {id: name, l: arr[i]});

}

}

cheat("hello world!", "god");
this.
I came here to post the case between Foodiebay (now Zomato) and ebay [1]. They had to change the name. I really recommend moving away from the *bay name... unless you want to scratch that particular itch.

[1] http://techcorplegal.com/Blog_Technology_Law_Business_Resear...
A few comments: add pictures and change the youtube link to an embedded video. For me, whenever I see a large blob of text, I skip it. I like seeing a picture to show me what it is about first.
Show HN: Intus, the global Bitcoin lottery - Win Bitcoins, Save The World
Yes you are right , for the resultant set of safe times and coordinates to slow-down/shutdown should be algorithmic derivations; given fast computing and enough data-gathering.But am wondering if modern GPS remote mechanisms do these ?
That's far from clear as he has yet to be formally charged. That takes place after the questioning, which is when the prosecutor must decide how severe charges to go for.

Rape and sexual misconduct (but I am unsure of the exact translations here) are different severities of the same type of crime. We only know that he is wanted for questioning regarding crimes on this scale.

The document you linked to is in regards to the extradition laws, not the criminal case. It is my personal opinion (hence the IANAL) that the lesser severity is more likely to be pursued, but I wanted to stress that it is not correct to say that he is wanted for rape. That is simply not decided yet.

(This process, by the way, is why one must be physically present for the formal questioning.)
Send a command to display 1.

`xterm -display :1 -e <command>`

This is useful when running automated tests on top of vnc.
Man flies drone through fireworks, the results are spectacular [video]
Did You Know about the Origin of the Sun?
Calomel SSL Validation | Firefox Add-on
Sounds like a corollary to Godwin's Law! :)
Most x86 CPUs from 386 and forward have hardware support for context switching. Generally a hardware solution is superiour to a software solution speedwise, but they're not complete and therefor mainstream operating systems are not using them.
> The problem with Android's layout system (if I understand it correctly) is that you specify how things are arranged relative to each other, so you never really know where something is.

RelativeLayout is just one of the several layouts you can use on Android. Typical Android GUI's are usually a mix of this one and a few others. This combination is very powerful and has been instrumental in making Android GUI's scale so well to many different devices with various resolutions and DPI's, a challenge that Apple will soon face.
July 4th in a nutshell
I'm frankly surprised that there is any sort of funding shortfall for this idea. For US-based profitable start-ups or established companies, this is absolutely in your best interests.

Two issues alone, Net Neutrality and the NSA overreach directly impact your ability to operate or expand globally and should be of major concern to smaller US-based technology companies.

It's not like Lessig is some nobody. If anyone has the ability to truly pull this off, and make change, I'd put my money on him.
As of January 2014, the ACA made it illegal to base premiums on current or past health status. So at least in the US pricing like this no longer occurs.
Thanks guys, typo indeed. [0]

Here is a article [1] describing a setup involving this type of RGB light and the raspberry. It also covers some other type of RGB lights.

The wifi bridge has been sitting on my desk for a while now. not bothered yet since the remote is sufficient for now. So can not really comment on that. Otherwise happy with one of the cheaper alternatives. No problems as of yet. Waiting for my lights to get switched on and off though :D The remote doesn't require line of sight as its RF, and already has quite the range.

[0] http://www.milight.com/

[1] http://iqjar.com/jar/home-automation-using-the-raspberry-pi-...
> If he were more politically savvy, he'd build the thing in Python and then, if the software were to run on 100,000 boxes, rewrite performance-critical pieces in C++, and justify a bonus for himself by pointing to the 20,000 CPUs that were just deprovisioned. And a year later, a month before bonuses are disbursed, he can rewrite another performance-critical component. This is good for him (he actually gets recognized, instead of being that annoying guy who bludgeoned a team into writing C++ and taking 4x as long to deliver an MVP) and for the business (only performance-critical components, with price tags large enough for him to care, get rewritten).

Call it political savvy if you want, but anybody that's actually been trained as an engineer (I mean formal engineering, not just computer science) knows that "good enough at low cost" beats "ideal at any cost" ninety-nine times out of a hundred.

Engineers shouldn't need political motivation for considering all aspects of a problem, instead of just the technical ones. It's our job.
Nice dog photography
Yes, I want to use a web interface like this, and the config management feature is something that I would find very useful.

No, I'm not comfortable giving a third-party service SSH access to our servers. Besides, all of our machines are on a private network behind a VPN. This is a best practice that most, if not all, companies should follow.
Schneier, Greenwald: Seems clear there's a second NSA leaker [twitter]
A bit OT, but is it really practical or safe to know CoffeeScript without being familiar with JS?
Fluorine: The library to get things flowing
Not necessarily - in the few minutes I played with it, I managed to memorize the code for A, E, H, I, L, M, T, Y, :, and /. This seems like a great learning tool. I'm excited to keep playing with it in the future!
I disagree with the characterization as "baity", as I never write with any intent to attract links. However, your site, your rules, and I don't care what title you use here.
IF anyone ever watched the office their was an episode where Dwight read "cautionary tales..." (2.18) but he read from a book that I always thought was fake.

http://en.wikipedia.org/wiki/Struwwelpeter
You must have never done any kind of development outside the web if you think for one second that native toolkit development is faster/easier than HTML/CSS.

You have absolutely no idea what you are talking about. Please stop talking.
I think we can adapt the ordinary rules and say that if a project hasn't had significant attention on HN before, putting up a Show HN is fine. (Assuming, of course, that the guidelines at https://news.ycombinator.com/showhn.html all apply.) The project itself doesn't have to be new to count as "hacker news". There used to be a used-clothing store where I live called "New To You". :)
Americans are pretty likely to die from heart disease anyways, smoker or non-.
"We only know that he is wanted for questioning regarding crimes on this scale."

While it's clear neither of us really understand Swedish criminal law procedures, it's beyond initial questioning (that happened 30 August 2010), it's at the point for him to be formerly arrested. It's clear in what I've been reading that the case is much further in progress than what in common law based countries is called "questioning", as a matter of Swedish legal procedure formal charging must come after the arrest.
Tips for Optimizing Linux Memory Usage
Fair enough. I'll edit that out.
It looks interesting, but I feel like the dynamics between people will be problematic. E.g. More important (or more well connected) people have no incentive to introduce less important people. In fact, it costs them just as much to make the connection. If I wanted to get an introduction to someone just as important as I am, I could do that myself (also partly because that would mean that I have equal value to give back to them).
Exactly. Yes you can use restrict. And, you probably will when writing benchmarks. But, this isn't about speeding up benchmarks. This is about speeding up real world production code with real world production deadlines. Are you really going to intelligently and correctly apply restrict to every function you write where it could help in your next commercial product? Do you really expect everyone on your team to do the same and never screw up?

Then there's the teeming masses of app developers who aren't quite as awesome as you. You don't care about them, but Apple does. Apple knows most of them couldn't restrict their way into a box ;) But, they still churned out a billion apps that are used by billions of users. Doing whatever we can to trick them into speeding up their code will literally save untold lifetimes of cumulative lag for the users.
>During the game, children were left alone for 1 min and told not to cheat by peeking at the toy. Because of the highly tempting nature of the situation, most children were expected to cheat (e.g., Talwar & Lee, 2002). Before confronting them with the question of whether they had cheated, an experimenter read one of three moral stories or a control story to each child.

It would have been interesting if they had another group where they primed the children with the story before walking out of the room. Test to see how the various stories effect the decision to cheat, not just the honesty after the fact.
The Central Paradox of the 21st Century
If you compare standard library approaches between languages, yes, ones which let you inline calls will beat callback through pointers in thight loops, which is comparison function in qsort. Most of the time it is inconsequential. You could have used C preprocessor if you really wanted.
Define "facilitate" to everyone's satisfaction. By my definition, Apple has done more to facilitate people's use of computer hardware than any other single company.
Hopefully this will drive many DE ISPs out of business. Strato, 1&1 and Hetzner are incapable of providing anything besides dumb webhosting and cheap bare metal stuff. I've wasted so many hours trying to explain these companies how the world is changing, they never got it and now it's too late to build anything that could compete with AWS.

They (1&1, Strato, HostEurope, Hetzner, …) don't even try to provide OpenStack packages or something leightweight-ish using Docker, except if you pay every single hour of their manual work. 1&1 build something called ProfitBricks.de which focusses of "designing your infrastructure in the browser", however they build a big Java EE legacy framework with a nasty SOAP-API. Their sales pitch is something like "we are cheaper than amazon/they rip of their customers".

And still they neither contributed support to LibCloud or fog.io so neither Chef, Puppet, Ansible nor SaltStack work out of the box with it. I don't understand those people.
It seems like you could probably do pretty well by 1) alerting the driver, and 2) gradually reducing the max speed.
"It’s true that in using a language like Elm for layout, one loses the ability to cut and paste random CSS found on Stack Overflow in cargo-cult fashion without understanding what it does. I consider this limitation a feature."

Wow, elitist much?
I would like to mention LFE. Lisp Flavored Erlang (http://lfe.io/) is a great addition to the Erlang/Elixir world/ecosystem. Go on, test it out!

I work as an Erlang dev. It is really awesome. It has a simple and consistent syntax (even if don't like the comma, semicolon and period terminators), the most powerful native concurrency semantics I know, the best error detection and handling semantics, pattern matching (you make the compiler work for you), an awesome virtual machine that took correct design choices (gc per process, iolists for concatenating strings), incredible tracing support, good support for connecting with other programming languages, a good optional type system (Dialyzer, http://learnyousomeerlang.com/dialyzer) for detecting type errors and good patterns as supervisor, gen_server and gen_event . It also has a vibrant community that has created good libraries like Proper (QuickCheck-inspired property-based testing tool for Erlang) and Cowboy (simple http server).

I have worked with C, C++, Java, Ruby, Python and Javascript/NodeJs. I really like Python and Ruby as general programming language and for creating prototypes, but I would definitely use Erlang for any real backend project.
Yes really.
The 50 to 100 MHz 486 processor was the state of the art consumer computing platform of the early 90s.

The bulb in question here has not just one, but two processors that both run faster than the 100MHz 486. Also, when Windows 95 came out - in 1996 - the minimum required RAM was 4MB. The ST processor in the light bulb has built in RAM of 1MB. So, in theory, it would be possible with a few hacks to get the bulb to run MS Windows 95...

EDIT: I guess it was OSR2 in 1996... still, the light bulb is a decent computing machine in comparison to early to mid-90s consumer tech...
On founders being unprofessional
Thanks. I'm generally in favor of facts over cleverness, I just couldn't resist here.
When the wealthy de-stress it's because they earned it. When the poor de-stress it's due to lack of discipline.
Wow good to know. Hopefully they don't come after the small fries...
This is no longer true, at least in the US post-ACA 2014 requirements.
Why would it be acceptable to be corrupted for someone's convenience?

It's for my convenience too. People have been getting my first name wrong for my entire life. It's easier just to let it go, or when the situation allows just use a fake name. I have to pick my battles, this one is often a fruitless waste of energy. The number of people I care get it right is a small circle.
I'm excited about the pricing, hopefully it's not more expensive than Ireland... Maybe even cheaper, although I won't get my hopes up with electricity prices in Germany being so high.
I've been using https://github.com/ianyh/Amethyst for a couple weeks and have been pretty happy with it.
Would be a nice tool if you could host it yourself though.
I would use them just because they were different/interesting and would get attention.
The Interesting Percentages of Female Students in MIT and Harvard Online Courses
Huh. I only get laptops for myself; looking at the online store there's all of one stock Macbook Pro config that offers a HD instead of SSD. Even the default config of the Mac Pro is SSD. All the default iMacs and Minis are HD, though.

We're not in the "SSD only" world yet by any means but there's a definite change from just a few years ago.
C++ was promoted by the Illuminati under the advice of a secret group of aliens to slow down the development of human progress. It achieves this via insanely long compile times whose purpose is stop anyone from getting shit done in good time.

I mean, how do you iterate and refine if it takes ages to compile stuff? The flow of your of thoughts has probably gone to shit before the compile is over.

Apparently the guys at CERN love it so much they created an interpreter http://root.cern.ch/drupal/content/cint for it. No wonder the Higgs boson hasn't been discovered yet (or has it?)
Just noticed this post. Perhaps this was the worst day for us to ask for feedback (https://news.ycombinator.com/item?id=7989526) for our new service, since there are so many ShowHN posts today? :)

Fully agree with the following.

>"Instead of "you're doing it wrong", suggest alternatives. When someone is learning, help them learn more."
Hetzner can give you extremely cheap physical hardware, prices which you cannot hope to approach with AWS.

You don't need any of the buzzword-y technologies you list to be supported directly by the host. If you want Docker, you can run it yourself.

VMs are over-rated.
Tesla S Crashes, Splits in Two
I really wish I could donate, but I'm not a permanent resident. This is an amazing initiative.
If you want to build something sustainable, you earn money or need to be able to scale incredibly well. If you just want to host your private blog, even DigitalOcean provides better packages than Hetzner.
I think Cassowary [1] is what you're talking about (particularly section 1.2 where they talk about some modifications to make their system very fast for incremental updates). Apple has based their constraint-based layout system, Autolayout [2], on Cassowary. There's also a project that incorporates Cassowary constraints into a CSS-like declarative syntax called GSS [3].

[1] https://www.cs.washington.edu/research/constraints/cassowary...

[2] https://developer.apple.com/library/ios/documentation/userex...

[3] http://gridstylesheets.org/
It seems like Yahoo is a little bit worried about possible exploitation. From the Terms of Use:

2.3. You may derive and publish summaries, analyses and interpretations of the Data, but only in a manner where it is impossible to reconstruct the Data from the publication. Small excerpts of the Data may be displayed to others or published in a scientific or technical context, solely for the purpose of describing your research and related issues and not for any commercial or anti-competitive purpose. Unless Yahoo! expressly requests no attribution, all publications resulting from research carried out using the Data must display an attribution to Yahoo!. This attribution must reference &quot;Yahoo! Webscope,” the web address http://webscope.sandbox.yahoo.com, and the name of the specific dataset used, including version number, if applicable. This attribution should preferably appear among the bibliographic citations in the publication. If Yahoo! expressly requests no attribution, you agree not to mention Yahoo! in connection with the Data. Yahoo! invites you to provide a copy your publication to Yahoo!.

This[0] seem fairly restrictive, considering that I can just crawl flickr and get all that data and more, were I so inclined. Also kinda interesting, in this passage and the rest of the TOU: they repeatedly use `&quot;` interchangeably with actual quotation marks ("), suggesting that nobody at Yahoo has proofread their own live TOU. Still, the dataset seems really cool.

[0] ...and other parts of the agreement, but I don't want to spoil it for you, nor post its entirety as a comment.
Flexbox would solve a lot of these, but it's not supported by enough browsers to be usable, afaik. Are people using it in production?

Re #5, I managed to leave out the important part. I mentioned tooltip because I was going to write: ...where the element is placed _above_ another arbitrary element. This is impossible, and raises problems such as escaping "overflow: hidden" and what if the position goes beyond the viewport.

6: In theory, but it is apparently not supported by all browsers.

7: Not the parent, but an arbitrary element. For example, let's say I have an input field. I want to show an autocompletion dropdown box. The box should be at least the width of the input field. It must be absolutely positioned. The parent container of the input field may have "overflow: hidden", too.

(Overflow handling is really a broken concept that screws up a lot of CSS, because there is no way to escape it. Z-index is another awful one.)

Last pet-peeve: Floats depend on their order in the DOM. A float-right element must be placed before any non-float element in order to position itself vertically to be aligned with the parent box.
It could have been worded better, but if you consider that people will do this copy-paste out of frustration with the inability of CSS to come up with a reliable, easy to use way of doing layout, which Elm solves, then it's not entirely unreasonable.
This is exactly right. And we'll wait for things to settle before making any changes.
I can't wait until this gets monetized with iAds targeted to lonely people.
I hope Hetzner will be able to compete, because their offers have so much better performance per EUR than Amazon's: https://www.hetzner.de/en/hosting/produktmatrix/rootserver-p...

I talked to some colleagues about scaling with Hetzner and their answer was to just overprovision like crazy since Hetzner's so cheap anyhow.
Steven Strogatz teaches Nonlinear Dynamics and Chaos
It's hard to believe. Do you use CSS frameworks like TB derivatives ?

It seems your comment regarding ShadowDOM not helping layouting issues is not entirely true.

Take a look on:

polymer-grid-layout
polymer-flex-layout
polymer-layout

http://www.polymer-project.org/docs/elements/polymer-element...
500 Startups’ fundraising documents will keep you from ‘getting screwed’
> You're comparing apples and oranges, Apple had the privilege of choosing its own hardware and programming language.

Google and Apple both used already existing languages and adapted existing kernels. If you're saying that Apple didn't use an existing language or that Google didn't have the option of being more restrictive with hardware, then you are wrong on both counts. Google made choices which turned out to be worse for users over a certain timeframe. They were more attractive to vendors and manufacturers, however.

> For android they went for java because of popularity, and everyone can use it on their own hardware.

Google was optimizing for programer popularity, not user experience.

> So you have a java based language running on ARM, x86 and MIPS, what would you choose? A proven approach like JIT VM or AOT?

If you're going to go with what's more proven with constrained resources, then you'd go AOT. If you're trying to optimize for UX and lag, but high level enough for rapid development, then AOT with reference counting GC.
Thanks, I hope you do!