skysight-inc/HackerNews huggingface dataset:
Hehe you just described my past 9 months to the T. :) (Unrelated to Microsoft, anyway)
Yes that’s websockets it seems. Must be quite a overhead, they use it on all answers.
> It's not the compiler's fault, but rather your own fault that you're using a programming language so confusing that inferring intent from your code is next to impossible.

And that's the long-running argument for why high-level languages have the possibility to be compiled to faster code eventually. We are mostly still waiting for the languages and compilers. (Even though ghc gives us hope.)
The prenatal influence has been directly tested. They compare pairs of non-identical siblings, some who are twins and some who are not. The same pregnancy pairs are about as similar to each other as the other pairs. So the prenatal environment either has little effect, or it has a significant but highly nonlinear effect. (Once again, this assumes no extreme hardship.)
Adobe Releases New HTML5 Edge Reflow For Responsive Web Designers
1. Let the package be delivered to a certain address in an apartment building (preferably not too close to your home), say Building X Apartment 123.

2. Once the package is delivered, get to the apartment and tell the owner "Oh, I'm so sorry, I accidentally entered Apartment 123 in my order, instead of Apartment 223, which is where I actually live! I can haz package nao?" Most likely, they will not know the residents at Apartment 223.

3. In most cases, you will now have your package. (If they ask for some ID, you could always go "Sure, do you want me to get that first?", most people will then give you the package right there. If not, just leave and don't come back.)

Yes, this is a purely hypothetical idea, but it seems to me that it's pretty easy to come up with something relatively secure.
How much did the hardware set you back?
Modal design (full screen button) & responsive text are the only things I notice at first glance that might be missing from other more established frameworks.
Just For Fun – The Biography of Linus Torvalds
Amazon VPC Reserved Instances vs EC2 Reserved Instances
No, but it's sucking our "precious" time :) We're all thinking we're going to see Diablo in JavaScript, and then this...
New HTML5 Gaming Kit For Developers
That should be hard to believe, save for my honed cynicism. Could you please elaborate?
Take a look at lthread http://github.com/halayli/lthread
The author of this article came across as a major creep to me. They guy checks emails from 6 months ago and keeps going back to her blog to verify stuff....WTF? I'd be more concerned about this guy than her silly affiliate links.
DOX?
Details leaked on Google’s new Chromebook laptop
Mac Pro: Clap de fin sur les boutiques en ligne européenne
bash is not the Bourne shell - it's the Bourne Again shell. sh is the Bourne shell.
Alibaba’s new Aliyun search engine raises the stakes in its feud with Google
I've kicked salt's tyres recently and really like it. I think me favourite aspects are being able to use jinja and the fact that everything is all in the same place for the definitions. (As opposed to spread around various json/ruby files in chef for example.)
CSS Single Line vs Multi-line
Influential few predict behaviour of the many
Prosecutors, Shifting Strategy, Build New Wall Street Cases
It's even better when you read what the question was.
To find and release publicly personal information about someone -- name, address, phone number, and even SSN and credit card numbers -- in such away that they become identifiable to just about anyone online.

This was a hot topic a few months back when reddit had to deal with it:
http://www.wired.com/opinion/2012/10/truth-lies-doxxing-inte...
DOX: Search for and compile records about a specific person in order to hack/prank/harass/thieve them.
I think it's great - it's not about solving your quick fix, it's about providing future value for googlers.
I already had a few bits that I needed for building it, but doing some quick maths that you should be able to build one from scratch from around £65 (including the black box).
Skype doesn't even integrate well with WLM, it has better support for Facebook Chat!
This chart is easier to read:

http://caniuse.com/#feat=websockets

Only IE10 and above. And IE Mobile would be dubious.

Even older safari 5.1 has partial support but not IE.

Surprised to see android mobile does not have support - is that chart correct?
Storing files data inside inodes is really great feature - it should make usages of file-system-as-DB approaches usable in a lot of cases where it didn't make sense before.
Why are scans of Shakespeare's works locked behind academic paywalls?
Haven't used SignalR but we've tried Socket.IO and SockJS for that, and have found SockJS to be absolutely awesome in production.

We're running an in-browser vt100 terminal, Tornado with a SockJS plugin on the backend, round-tripping every keystroke and output from the processes on the server and when SockJS uses WebSockets we get near-ssh responsiveness -- you can run vim just fine. Things are less good but still definitely usable (at least on the command line, vim can be a little frustrating) when it fails over to other protocols.
Is it just me or their website is laggy?
Diamond idea for quantum computer
Thanks! And thanks to officemonkey, too! (But I can't reply to two comments with a single one, I think.)
I highly recommend Salt stack. It's a great piece of software: straightforward and gets the job done. After using Puppet, Chef and cfengine, I'm glad there's salt :)
My experience in the industry is just the opposite; people will do anything to avoid admitting that the tools can do better than they than. I've had senior programmers sneeringly declare that anyone who uses a debugger must be an inferior programmer, and then watched them spend a full day figuring out a bug that could be found in half an hour with the appropriate tool.

You know why it's worth recreating the world inside a JVM? Because its behaviour is so much more thoroughly specified and predictable. Prior to Java, C++ didn't even have a memory model; every new release of GCC breaks a whole raft of C programs that didn't realise they were invoking undefined behaviour by having integer overflow. By the C standard, even a single instance of undefined behaviour invalidates your whole program, making it virtually impossible to predict the behaviour of any nontrivial-sized codebase.
Didn't stuxnet spread itself to air gaped machines through USB sticks?
Facebook wil close your account so login here
Salt starts off with negative marks because they decided to type the letters A-E-S in their codebase: https://github.com/saltstack/salt/blob/develop/salt/crypt.py...

Specifically, they appear to be doing AES-CBC with HMAC-SHA256. There's nothing obviously wrong with it (randomized IVs from os.urandom, both authentication and encryption and with distinct keys...) but I would hope the standard for cryptography is higher than "nothing obviously wrong with it". Specifically, I would hope that the standard for cryptography is somewhere along the lines of using a peer-reviewed cryptosystem that has stood the test of time such as TLS, OpenPGP or even NaCl (given the name, particularly the latter would be pretty good). I'm not saying TLS doesn't have flaws; I'm saying appropriately configured TLS is better than rolling your own crypto.

I'm not entirely sure why they did that, but my best guess is that ZeroMQ pretty much doesn't support TLS.
Families Push for New Ways to Research Rare Diseases
I'll take the blame for that mishap.
mmmm so that ?
at lebanon so :P :P fick you
On my T41 too, with the same keycode, but not on my old Samsung. Considering I almost exclusively use ThinkPads, I just left Fn where it is.
GitHub for reviewing code
Live test case: http://liveworkspace.org/code/2uk7hc$18
On the contrary I like it. They have finite resources and it answers immediately with the correct response.
> I'm not entirely sure why they did that, but my best guess is that ZeroMQ pretty much doesn't support TLS.

Yup, ZeroMQ doesn't support TLS.
That's funny because one of the top posts in progit yesterday was about the Hare and Tortoise algorithm
Reminds me of this: http://www.youtube.com/watch?v=_hDdYClgoV8
bro add me here www.facebook.com/zein.cute :P i want to discuss somthin with u
Intel is essentially still using the Pentium II architecture, where AMD has refreshed theirs recently with the bulldozer. Intel's fab advantage (32->22nm gives a massive thermal advantage) is getting wasted on putting more GPU on die. Probably because they can't put more cores on there without blowing their thermal threshold. The only way to add more cores then, is for cores to share more component: share the sequencer (more vector instructions), share the FP pipeline (aka bulldozer module), etc.

Running bulldozer modules on a 22nm fab would definitely beat the Intel Xeons on the majority of the server applications. Increasing the cache sizes and increasing the set associativity (amd is at 4, Intel at 8) will already give it the edge.

With regard to the sharing of FP pipelines: this is not new, the Sun Sparks have been doing that for ages. As we add more cores and parallelism, we will go more towards finer-grained parallel architectures like the spark. The bulldozer is only a shy step in that direction, not willing to commit too much in loss of sequential performance.
Because it's hard work.
Visual C++ is a C compiler - it compiles C90. The issue is that they still haven't added support for C99. You can compile your C code as C++, but then you're restricted to the common subset of C and C++.
Apple likes to sue. The end.
Because there's a large infrastructure dedicated to exactly that, from law enforcement officers to prosecutors and judges to storage to politicians.

Just getting 3 Strikes laws undone would be practically impossible. Any politician proposing it would immediately come under attack by an opponent who would gladly pick up that rock. Political courage is uncommon enough to be an oxymoron.
Nanomsg: BUS messaging pattern
Something Intel is essentially still doing, if you compare the cache sizes and set associativity.
> It will probably take another 30 years before you can actually think like a human and perform optimizations like this.

ITYM "It will probably take another 30 years before I use a language that tells you what the required semantics of the code are, meanwhile I'll use my requirements interpretation privileges to relax the semantics in a few places"
Surely that's only because of the chef cookbooks used. As long as your cookbooks are working this should work.
This has been stated a million times, and I'm not even a "web developer" like the majority here seems to be, by my take is this: not needing a client is the win.

There's a huge amount of value, as perceived by "users" of the services/applications/games, in not having to care about and install a specific client for each service/application/game.

That's why it's noteworthy when something that used to require a heavliy specialized client, such as a game, no longer does for delivering the same experience.
>>The inclusion of multi-line lambdas in a language is what makes it 'normal'?

All the scripting languages are very, very similar (see data structures, etc).

In short, you don't argue against my point.

My point was that Python stops multi-line lambdas for some weird purity argument re white spaces (I haven't found any other motivation).

This hurts quite a few use cases (for a 2nd -- copy paste and automatic indentation of code is at least more complex, and so on) and makes it necessary to learn weird syntax (list comprehensions), which incidentally is touted as the next coming of Christ...

And the inability to admit a wart on Python is quite typical -- didn't Guido tell you guys to stop trolling recently, because you were getting bad reputation..?

>> Or Perl is the odd-man-out and Ruby/Python are the 'normal' languages because they have a GIL.

These three are all similar -- avoid threading. :-(

Not that it is relevant for my original point, either.
Love it. Great job!

I can imagine you coding furiously and quickly pushing the button...tack..tack..tack...push!

By the way did you have to order/make the box to the specifics you wanted or was it ready-made?
Yet another spark of genius from ssg.
Data Mining - Research at Google
Weapons made with 3-D printers could test gun-control efforts
O'Dowd's Bar and BED Nightclub plead guilty in Newry Council court case
If anything at all, this really only measures where the happiest twitter users are located. I question this sampling methodology.
If it were easy, everyone would be doing it.

Consider the TV question: there are boxes that are technically capable of providing the "anything you want to watch, anytime, anywhere." You can buy a Roku or a Raspberry Pi running XBMC right now for less than $100. The remote control interfaces are tolerably intuitive.

The problem is content. The winner in this space will provide "everything, anytime, anywhere." You're not going to get all the major US networks, world networks (BBC), cable juggernauts (ESPN, HBO), to agree to the "anytime anywhere" model.

Therefore it's a social (ie: legal) problem rather than a technical problem. As long as the legal system remains a quagmire of international content deals, you're not going to get first-run Japanese anime, Eastenders, Game of Thrones, and Michigan State football games on your TV on a single Roku-like box unless you're a pirate, a VPN whiz, or both.
Distributed Storage Across Four Storage Nodes With GlusterFS On Ubuntu 12.10
That's what I did (and always do) yet this time it failed to give me the result. It might have to do with the fact that I'm in Asia this week.

edit: Also, that link doesn't seem to work for me X_X
Everyone likes to sue.
Echoes - NEW User Interface & Experience to Youtube
What about the discounts on the benefits?

Doesn't TriNet have one of the deepest discount packages because they are pooling 100,000s of people?
Agreed.

Side note: HN removed the apostrophe from the Wikipedia URL, resulting in a 404. You can easily get to it via Google search link, though.

https://www.google.com/search?q=Fishers+fundamental+theorem+...
Well it is front paged on HN
I upvoted when the counter was 520. Now it is 1500! (or more, by the time you read this :)

EDIT: Looks like it's locked at 1788!
Please make sure you're opt in to youtube's html5 trial:
http://youtube.com/html5
Yep, cooling down ram and reading it out later is a known and proven technique. Next!
Apple really likes to sue? :)
I started using them largely for testing netlink code, as it is much easier to create some isolated network devices than risk messing about with the real ones. This is part of a fairly comprehensive Linux binding for Lua https://github.com/justincormack/ljsyscall
A/B testing does not tell you what to do. It measures what you have done. HUGE difference, but a difference that very few people actually seem to understand.

The last paragraph of this article made me shake my head though. If you do A/B tests and then use the losing version anyway - because it feels better in your gut - you're an idiot.

Choose a different path if you want, but if done properly, your A/B results are fact (among the options you tested).
Testing was the hardest thing I came across.

You have on your hands a compiler that you can no longer think of a program for, that would produce an incorrect result. You're happy.

Then your friend comes along and the first thing they try behaves incorrectly.

The problem isn't even that the compiler would crash and burn, it lovingly compiles the input program into something that does the wrong thing!
Oxford Temporarily Blocks Google Docs
This paper from 2011 compares autovectorization in GCC against two proprietary compilers, from Intel and IBM: http://polaris.cs.uiuc.edu/~garzaran/doc/pact11.pdf

GCC got a 23% speedup vs 15% for XLC and 28% for ICC. GCC did well considering the proprietary compilers' narrow focus and corporate resources.

BTW, Fortran compilers for the 1980's supers did autovectorization pretty well. Funny that we've made it so hard today.
Volvo introduces airbags for pedestrians
Compiler got AI human language capabilities?
Doxing is one of the forms of protected free speech that reddit bans.
We used Java and a bunch of professor supplied code to speed us along. The input language was a subset of Pascal.
I'm currently a reasonably happy puppet user, but I do like the look of Salt. Puppet's configuration DSL always struck me as a little over-wrought (and slightly too inconsistent to remember easily). I would have preferred YAML/XML/ini files.
There are just so many interesting angles to this story. I'll start with just one...

The government is always behind the curve when it comes to regulating technology. The rise of text messaging has forced local and state governments to create new laws to discourage/punish distracted driving. Airbnb and Uber have disrupted the traditional hotel and taxicab industries respectively, and have caused lawmakers to rethink how best to regulate those industries.

3-D printing is on the verge of becoming a mainstream technology and we'll continue to see more issues like the one highlighted in this story.

The Second Amendment to the US Constitution protects the right of the people to keep and bear arms. Does it also allow us to print our own weapons? Does the First Amendment to the US Constitution protect websites that provide instructions and blueprints on how to print your own weapons (or parts of weapons)?
The screen size simulator at the top is a nice touch. It's also amusing that they use the Orbit slider from Zurb, not bad...just amusing.
>Why is control that important?

It's what they're used to - back before the internet existed, these middlemen pretty much had total control over what media people were exposed to. They were the gatekeepers of media. Then the internet came along, which has changed the way people get exposed to media dramatically. The gatekeepers hate it, because it takes away control from them, and they try their hardest to undo the effects of the internet with DRM, laws, etc. Of course, middlemen are still necessary even in the digital age, but a good middleman in this day and age is not a gatekeeper, but rather an enabler (for music, think Soundcloud, Bandcamp, Tunecore and so on for example).
nice read. It's also worth mentioning that James Hamilton's personal website [1] has been hosted by Godaddy ever since, including the domain's name servers.

[1] http://mvdirona.com
I'm up for it too.
For disable network as linked, the new seccomp mechanism is probably what you need, as you can blacklist socket system calls (or better whitelist). But it is pretty new.
It's the Media.

Newspapers and TV.

I think there should be something like the WD40 and Duct Tape saying... maybe "All governments need in this world is Media coverage and Committees. Media coverage to make things happen and Committees to prevent things from happening. "
You know it's weird, I've been noodling with ZeroMQ for about a year now and I just never connected those mental dots myself. Bugger.
For much, NaCl has a 2x perf penalty (v. native C++), and PNaCl higher (compilation overhead, and compilation has a higher cost: delaying runtime from starting). asm.js already, despite being brand-new, for much has a 2x perf penalty: equal with NaCl, yet more portable. (See zlib, for an example of this.)

There are still cases where asm.js is slower (box2d, for example, though there it's broken JS through the point needed for 60fps), but I'd expect nothing but the difference to decrease. Unlike PNaCl, it's not mere research (after several years it's still not shipped), works cross-browser, and further unlike NaCl, works cross-platform.

I expect someone will write some binary serialization for asm.js: you have all the primitives for iadd, isub, etc.
Just when I narrowed my options down to ansible and chef…

This seems to be more in line with chef/puppet, with a dedicated daemon on the client.
I assume Belhor means the UI responsiveness. The :hover transitions are a bit too long for my tastes and it definitely creates a laggy feeling.
It is a problem if you for some reason cannot use unix sockets. For example if the application server is either running on a different machine or does not have any unix socket implementation.
I have to admit this is the painful truth. The speed of the vector operations didn't actually improve using SSE3. But that doesn't dismiss the issue with compilers not being able to actually vectorize properly.
When I was at college I read that Margaret Thatcher slept just 4 hours per night, and I was so envious, wishing I had that extra time every day. Three years ago my wife and I had twin girls and that meant very little sleep at night for me (night shifts were my responsibility as my wife still kept her paid job). In the last year the kids sleep fine, which means I get to sleep better, but strangely I still wake up after four hours without any need to. A few months ago I learned that Thatcher had twins as well :-)
"At Least Once in Your Life"
Using Safari 6.0.2, clicking on the first input on this page crashes Safari with a speed and efficiency that can only be admired.

http://groundwork.sidereel.com/?url=tooltips-js

I wish Safari could shut down that quickly when I manually quit.

No problem with Chrome.
I complained about cfengine's syntax in a blog post a while ago[1]; someone mentioned that a patch for YAML-based cfengine manifests had been proposed. I haven't seen anything since, but then ... well I don't follow the cfengine news too closely.

It largely seems to be that a lot of these systems take their directives as nestable key-value pairs, so I think YAML is a good fit.

Amusingly, the first link someone posted on my blog post was to Salt. I didn't dig too deep at the time as it appeared to be more at the REF end of the spectrum to me.

[1] http://chester.id.au/2012/06/27/a-not-sobrief-aside-on-reign...
Show HN: How I got page speed score of 99 without mod_pagespeed or apache
> Flexibility in a language leads to flexibility of the mind. The English language's incredible variety, massive vocabulary, and huge range of idioms is of great benefit to those that speak it (while also making it difficult to learn). Subtlety in a language is a virtue, not a vice.

Indeed, but I think we're talking about language in two different ways: all your points are completely correct, but mainly of value to those who understand the language fairly well; my points were implicitly from the POV of a foreign learner trying to pick the language up.

As a native Anglophone, I love our freaky language, orthography and all. However, I try to keep reminding myself how horrible it is for new learners.
How to Succeed in Journalism when You Can't Afford an Internship
That's fine, but try to become comfortable with the unanticipated on a test server, not the production server.
The Australian version - https://www.moneysmart.gov.au/tools-and-resources/find-uncla...
There are some magic keywords, like const, which definitely help the compiler. Unfortunately these kinds of optimisations are far too numerous, and soon become tedious. After a certain point, more structured languages could allow much more rigid optimisation. These days JIT seems to have taken over though, which isn't really a bad thing.
I had a small amount of money in a bank account that I found in the Australian version; not long after I claimed it, I received a letter from 2 solicitors saying that I had unclaimed money (although they wouldn't say where from) that they could help me retrieve for a fee.
Battling Android development nightmares - ListViews, Bitmaps and OOMs
Thank you! Hearing the click on the button is really fun.

The only bits that are made for each other is the vinyl base that keep the arduino and the bread board next to each other.

I had to cut the holes in the box myself, that bit was interesting, because I am not a great at that, but the whole process was fun!