skysight-inc/HackerNews huggingface dataset:
Schoolchildren ordered indoors as air pollution cloaks Shanghai
Friday Q&A 2013-12-06: Network Protocol Design
This is another example of how web development hasn't changed at all from its state in 1996. At least, the part where you need specific code paths for every web browser that you want to support.

It's sad, really. We've had HTML5 sold as the holy grail where you get to write your code to The Standard and it will work the same everywhere. Except The Standard is open enough to interpretation that no two browsers implement the same thing exactly the same way. And little bugs in one browser's implementation mean you can't rely on individual features, to the point where most features have to be either crossed off your wishlist or worked around.

It was the same when the DOM and CSS changes came in around the turn of the century, and all you need do was code to The Standard and everything would work everywhere. (But then Netscape 6 came out and couldn't even render netscape.com anymore.)

The saddest part is that this same demo could have been written in Flash (a 15 year old version of it if we wanted), and it would run not only on every major browser in existence, but also faster and smoother by pretty much any benchmark you care to name.

Don't get me wrong, I still have my bet squarely on HTML5, and I really really want the browser vendors to get their shiz together. But as a front-end developer I've personally been waiting seventeen years for it. And it seems as far away today as it ever has.
Unbelievable http://i.imgur.com/lef99jm.jpg

Has to take years off your life to be breathing that.
Would probably be too easy to fake. Though you could use reputations.
I need more. That seems like Part 4 of 10 or something.
Hmmmmmm... https://news.ycombinator.com/item?id=6562683
Virtualenv + PIP are far more portable than LXC.
I don't want to write a full featured operating system emulator, I just want a VM, that executes bytecode.. <_<
Why Mac users don’t rant about the OS
http://i.imgur.com/qey9ikr.jpg
My previous company office. Don't know what kind of plants they were though. But the owners were health freaks, and I must admit it soothed the environment.

(Sidenote: studio lights were a big migraine/tension headache trigger for me though :( )
'spoon' is "kind of" a legitimate fuckit.hs.
What DB were you using?
I jumped on arango, looking for a small graphdb I could run locally on my machine. They've since moved it to a much wider scope. Turns out I abandoned that project idea (like most... :D), but I think Arango is sufficiently unique to merit more investment.
Dutch startup will map 42 whole genomes in 24 hours
There's also IronLua, which is written in F#: https://ironlua.codeplex.com/
Eight holiday lessons learned from Google searches
That's pretty well known at this point.

That doesn't mean the problem(s) can't be solved. Early detection, and identifying exactly what type of cancer a person has would have a lot of value, for example.
To your second point: all of these errors should extend IOException ;)
No Photoshopped Scenes in Studio
I saw your comment and still saw only 1 point on my post; I guess I must have received a downvote too during that time. Oh well, sorry for being huffy.
Based on the experience I've had with teaching programmers, most don't have the distinction clearly in their mental models. For most of basic things they might do it can be made to work either way: usually with a bit of fiddling they can make it work. Of course, this doesn't work at all as soon as you start trying to implement data structures.

I've seen some awkward code too from people moving from Java to C++ where either they make everything a pointer, or they use value objects without understanding that they're not references.
Europa’s ocean could help explain its jigsaw surface
What an embarrassment this whole subthread is. Starting with the bizarre suggestion that jews have some sort of special moral responsibility to intervene in any major human rights catastrophe, because the holocaust = a huge human rights catastrophe?

These kind of train wrecks are inevitable when people post stuff like this to HN. Dogma vs Dogma.
i-- returns the value before, --i returns the value after decrementing
Ansible is made for this. From a fresh instance (or instances) with only ssh access to Postgres, Nginx, rabbitmq, redis, memcached, django app, etc. all configged and working.
so in other words, XBT behaved exactly as you expected XAU would in the same situation, yet somehow to you that reflects badly on XBT but not on XAU.
Autodesk 360 Tech Preview: It's Like Facebook for Designers
Why we ditched Amazon AWS
Telepathwords: A New Password Strength Estimator
I rather liked the way that he built up his "hook" to lead the reader on, deeper into the piece. I thought it was quite clever, and I enjoyed reading it.
Having worked on all of those, this module is satire and foolish to use in normal code. The rule is protect your boundaries and whenever data comes in it requires
careful handling and thoughtful error policies. The entire notion of taint from Perl comes to mind.

If anything, your error messages are more important then.
I've been paying mild attention to Kickstarter for a while now.

I still don't get the "it's not a store" argument (well, I understand their positioning on it). I figured the SEC would step in by now.

You give some money, and you get some (generally speaking) 1-time tangible thing back. You don't get future profits, earnings, votes, etc. in the company that created the project. Sure, you can call the funds a "pledge", a "a donation", whatever. But you're not giving money to non-profit organizations, and you're generally giving the "pledge" expecting a specific thing in return for your pledge. This is very different than dropping $100 in a Salvation Army donation box (at least to me).

Kickstarter is not a store the way PayPal is not a bank, it's just that Kickstarter hasn't yet fully caught up to PayPal's level of anti-customer business.
Why are all the 'cool' jobs no longer using .NET?
While this may be a part of the explanation, I don't think it's solely responsible. It's the responsibility of the writer to set up the reader with an understanding of the point of what they are reading (i.e. "tell them what you're going to tell them, tell them, tell them what you told them"). If you're going to make a long digression, it's respectful (and less counter-intuitive) to at least give the reader an inkling as to why you might be doing such a thing. Between the random cat video, the shoe photo that looks like it was nabbed from google images, and the sudden jump back to the story of Mellon's father, I genuinely started questioning the quality of what I was reading and whether I should be wasting my time.
bufferbox.com :D
Copy & paste this in the address bar of your browser in order to use it as inline resource (it's data URI format):

data:text/html,%20<x%20id=e><script>for(i=4;i--;)e.innerHTML+=(i?'<textarea%20id=t'+i:'<iframe')+'%20style=width:49%;height:48%%20oninput=\'e.lastChild.src="data:text/html;base64,"+btoa(t3[v="value"]+"<script>"+t1[v]+"<\/script><style>"+t2[v])\'>'</script>

Taken from this: https://coderwall.com/p/lhsrcq
Firefox apparently has a lot of issues with subpixels. I notice a very serious lag, about 1 or 2 whole seconds, between the end of a scroll and the text kn the page finally settling into its proper rendering.
Very impressive work, however, your "Keys Pressed" code could let a keypress position in the array on "true" if a key is pressed more than 1 second. I think you should set up a timeout to ensure a keypress position state is returned to false after the user interaction.
Yes, that's quite explicitly what I was referencing. It was weasely and it used the passive voice, but that is more or less coincidental. Your English teacher was wrong.
>For whatever reason, this year was a turning point.

There's a few reasons for that.

The banking crisis in Cypress

The opening of BTCChina

The US Senate hearing on Bitcoin

The explosion of price caused by the above caused it to be in the press, which acted as a positive feedback loop and caused further explosion of the price.
Sad. I love -- _love_ -- that city, but I could never live there again, not breathing that.
Interesting. I used essentially the same methodology nearly three years ago to estimate the potential maximum price of Bitcoin over time, but I reached a different conclusion: http://cs702.wordpress.com/2011/05/29/on-the-potential-adopt...

The main difference between BofA's analysis and mine is that I see Bitcoin as a far superior alternative for many financial and other types of applications. For one, Bitcoin as a platform provides a global, decentralized, irreversible log of programmable transactions. For another, bitcoins as "money" are easier to secure, transport, hide, and backup than all prior forms of money ever used by civilization. (Actually, no prior form of money ever used – whether made of bank credits, paper, metal, or other substances[1] – could be backed up like a Bitcoin wallet.)

Therefore, if Bitcoin continues to work as intended (i.e., proves immune to attacks) and gets easier and safer to use (for non-technical people), it will slowly gain credibility in the public’s mind, not just as medium of exchange and store of value, but also as application platform. Over a period of many years or even decades, as the world gradually learns via trial-and-error how to use it, becomes familiar with its properties, and ultimately comes to trust it, nothing can prevent Bitcoin from gaining as much credibility as other alternatives, including gold.

--

[1] I highly recommend Nick Szabo's essay on the origins of money: http://szabo.best.vwh.net/shell.html
anyone here has looked at the discussion on ArangoDB a bit up - https://news.ycombinator.com/item?id=6859767 - also a schemaless, but compressable document datastore
Can't say I like the design of the page, but a good read nonetheless. Though after all those warnings, I expected it to be much longer. Is it really that long an article?
Seems you can subscribe on the homepage @ http://www.datascienceweekly.org/ but they should add a subscribe box on each page.
21 couples, 98% said sex is more fun than jogging.
So .. 42 persons makes the 2% exactly one individual. Talking about 'percentage' seems misleading.

In addition: What, other than the word 'sex' in the title, is interesting about this article? It seems superficial and .. lacking?
what do you think of http://www.arangodb.org/ ?
I think sales are being approached in a good way, especially by my partners. I started contacting prospective clients by myself and got about 15% to 20% fast and positive responses to cold-emailing, which I'm told is a very good figure. But having those "hot" leads test my SaaS and finally go live is taking ages. Considering my pricing and according to some statistics I found online, my clients should make a decision within 2-3 weeks, whereas the times are now in the range of 3-4 months and getting longer.

As PG suggests in one of his essays, I'm "digging a hole that's narrow and deep". I'm targeting a few thousands companies worldwide. The business area they're in is fast-growing and fast-changing and I suspect that they might be wary of adopting innovative solutions because they don't have clear ideas about where their own business is heading. Some don't even seem to have clear ideas about the prices of their own services and products (I tested this hypothesis by offering a simple, free tool to help them model their costs, and the feedback has been clear and positive).

I wouldn't say there's a risk of regret: I'll certainly regret it. Presently, apart from my mental exhaustion, I'm in pretty good shape, both physically and financially, but I need to set limits and draw lines. One of my main worries is that I cannot figure out what's not working, why I cannot get more clients on board and why it's taking so much time for them to go live. I developed the app at blazing speed and now the sales are going so slowly that it looks like nothing is moving and I find that unbearable. Maybe I'm just missing some entrepreneurial skills? I wish I knew which ones. Right now, I would just like to get rid of the whole thing, as irrational as it may seem.
What about a dental splint? It seems a lot less fuss than a machine pumping you full of air all night.

The "70 M cal" scared me until I realised it was a small c. Still that's ... what ... 2 months on half-rations? :-[
New Algorithm Searches Your Social Networks To Find You In Untagged Photos
Those early experiments claiming that plants can clean indoor air had significant methodological problems, and the results have not been reproducible in realistic building environments:

http://www.buildingecology.com/articles/critical-review-how-...

The fact that NASA's name is associated with this study has led it to be widely accepted uncritically.
nobody said anything about a single treatment.
Microsoft 365, Your Sending The Wrong Message
Um, guys, the emperor's new clothes are lovely and all, but I am left wondering whether the advantages of this system outweigh, you know, pot plants?
Investigation of link between Parkinson’s disease and crop-protecting chemicals
This is why, from the consumer perspective html5 apps must win, but from the producer perspective they won't.

For example, it's much easier for a company to spam your entire address book using a native app than using a web interface.
>The advantages of schemaless documents are priceless. Not having to migrate is just one of the perks.

Was the first sign that this person doesn't know what he is talking about...

Of course you still have to migrate. Either your DB or your code, because you can't handle a change in how you store stuff without one or the other.

"No migrations" is true only for the most trivial of changes, and only if you're willing to handle special cases in your code.
I like the release code name. Such a good idea, well thought guys!
And the tree v. table debate continues...
He could've been out of jail in a moment if he ever wanted to be a pragmatist.
Washington is Finally Learning that Technology can't be contained
as one of those propeller heads, I actually think your suggestion is a little vitriolic, but not too bad.

There are a number of technical solutions for this, and interestingly I tend to apply them in Europe first.
Slowing down
Are you attempting to suggest that how you've dressed is deserving of copyright protection? You'll need to argue that before a judge. I'd bet that you'll have to show that much of your own creations (of clothing or jewelry) are involved, conscious creative effort summoned in deciding what pieces complement others to make the impression you are striving for, etc. If you suggest that making a copyrightable ensemble out of off-the-shelf clothing is permissible, then Levi's gets to claim similar copyright on their "works of art" and no one can ever photograph anyone else wearing them without permission of Levi's. It is my opinion that unless you've done what I mention above (created the parts yourself, etc) then your choice of dress today has no copyright protection.

We can discuss our opinions on the finer details of the ambiguities of copyright until the universe collapses in on itself and it's pointless until you take your case to the courts and get a definitive legal ruling.
Katie Couric promotes dangerous fear mongering with show on the HPV vaccine
The clever part here is that it's defined as:

for(i=4;i--;)

instead of the more common (off by one?)

for(i=4; i > 0; i--) syntax
Multiple reasons.

Some kernels may not get memory back by themselves and expect each application to give it back. We're lucky that the kernels we use everyday do, but we may one day have to write for a target OS where it's not the case. Just hoping "the kernel will save us" is a practice as bad as relying on undefined behaviors.

If you're coding correctly, you have exactly as much malloc()'s as you have free()'s, so when rewinding the stack to exit, your application is gonna free() everything anyway.

Speaking of resources, what about leftover content in FIFOs or shm threads that you just locked?

And when you got OCD, you're only satisfied with this:

$ valgrind cat /var/log/*
...
==17473== HEAP SUMMARY:
==17473== in use at exit: 0 bytes in 0 blocks
==17473== total heap usage: 123 allocs, 123 frees, 2,479,696 bytes allocated
==17473==
==17473== All heap blocks were freed -- no leaks are possible
==17473==
==17473== For counts of detected and suppressed errors, rerun with: -v
==17473== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)

(cat was an easy choice and all I got on this box, but I've had bigger stuff already pass the "no leaks are possible" certification)
SO, their penalty is, promise to not do it again? That's it? Not, for instance, erase all the data and pay a fine?
There are probably ways to get authenticated data/ ensure provenance of data. In person screening centers?

also would be fun to have a second life /mmo type game where characters had substantially the same stats and skills as the players.
You'd think the developers should have realised that they have a communications problems here when the first question on their help page is 'What is younited?' Even the 'About' page sucks. It lists some problems and then just states that this app is going to solve them. Come on, tell us (and show us) how.
Ruby gets it right, too. You can have a very simple gem setup if you want it - set GEM_HOME and away you go. I'm sure it's possible to get the same simplicity with Python.

The issue I see is that the default tools people turn to hide this simplicity behind a shiny interface, and encourage people to think of the management tools as magic black boxes. The tools then become the only interface people know, and they're inevitably more complicated and fragile than the underlying mechanism.
Thanks for mentioning this!

I also thought of this approach this morning, but didn't mention it because I thought people would just add the editor in their bookmarks.
Why do I have to download the software to "reserve my spot"? If I downloaded, let me register from the app!
> Sure, you can call the funds a "pledge"

It is a pledge. You are pledging to give money, but not actually giving it. If they are successfully pledged enough money at the end of the time, everyone is charged. However, that doesn't mean everyone is successfully charged. It's well established that there are people who pledge but don't pay. You could meet your pledge requirements, but still have less in funding that you needed (discounting the known cut KS and CC companies take).

Point is, it's a pledge.

> I still don't get the "it's not a store" argument.

What don't you get?

> You give some money, and you get some (generally speaking) 1-time tangible thing back.

Ahh. You are missing some parts. What you really mean to say is this:

"You pledge to give them some money in the hopes other people pledge as well so that they meat some minimum requirement. If enough is pledged, the company can then continue working on whatever project they were trying to fund. Things can and will change. You may eventually get something back. You may not. It make take years longer. It may be different from what you originally pledged for. It's not always a 1-time tangible thing back."

If that's your idea of a store...
So what you're saying is that there's a business opportunity here, to build an app that provides "quality reviews" of other apps and alerts users when an app they are considering (or have installed) is suspicious.
>Provided the developer is fully conscious that this is python-level-only isolation, then it is useful.

Of course we know it's python level only isolation. We're still running in an OS with a filesystem and such. If we wanted something more we'd use jails or something similar.

>Full methods of isolation make virtualenv redundant

So what? They are too heavy handed, and 99% of the time, I don't want them anyway.

>It is very, very easy to install something as large as a Django application into a prefix. Easier, I would argue, then indirectly driving virtualenv and messing with python shebangs.

You'd argue, but you'd lose the argument.

>You need to preserve this behaviour right down the line if you want to run things in this virtualenv from the outside, like a cron job. You will need to effectively hardcode the path of the virtualenv to run the correct python. This is at least as fiddly as manually setting up your PATH/PYTHONPATH.

Yes, if only they gave you OTHER BENEFITS in exchange. Oh, wait.

In general, move, nothing to see here...
The Power and Flexibility Of The Email
There's pre-increment (++i), post-increment (i++), pre-decrement (--i), post-decrement (i--). The pre-ops operate on the variable and resolve to the new value. The post-ops resolve to the current value, and then operate on the variable.
I thought I'd somehow managed to switch tabs and had to scroll back to the top to confirm that I hadn't.
Computer Science Education Week (Dec. 9-15)
A little scarey - type your precious passwords into our engine which records and transmits them to our server. For research! Really! We won't sell them, because we give them away. To researchers! Hackers totally won't ever see them, unless they pretend to be a researcher or something.

This will be a hard sell.
Yes, saving to URL would make this also shareable, so it would become real 'self contained Codepen' :]

I've made something in this manner recently: http://tinyurl.com/selfcontained-editable-datauri
Rubbish! Make me download an app, without much information. OK I was willing to give 2mins doing that. However, once it's downloaded and run I need to join a "wait" list of users so you cannot use the actual App. FAIL! Uninstalled.
A true hipster would be imitating this guy's spamtastic style with a sense of irony.

Hey, that gives me an idea...
>This is another example of how web development hasn't changed at all from its state in 1996. At least, the part where you need specific code paths for every web browser that you want to support.

Well, it very much changed in the way that these differences are much smaller that they used to be, and for far less basic stuff.

I've been in 1997 and in 1999 and in 2002. It's not like that time at all.
I've seen sci-fi depictions of over-industrialized mega-city scapes, but I never thought I'd actually get to see a picture of one. To call that surreal is an understatement.
For what, rebranding?
I can't help but facepalm when I read things like this. Even if it works, the name of the project should have given the commenter some clue that it was a joke.

As for the "these days" comment, why is it that people are repeatedly convinced that human habits have changed that drastically in their lifetimes? This "change" is the result of perspective, no more, no less.
I would like to note, however, that there are very large number of REAL situations where the best route for an EU-EU bound packet is via the US.

Depending on the providers in question, the specifics of their interconnects, and the explicits of any congestion mitigating traffic engineering, the shortest AS-Path announcement may come via an US peer.
I'd like to see a photo of it when you've got a computer and a decent sized keyboard, monitor, etc.

Because it looks like you've lost about 2/3 of your desk space there.
That reminds me of that argument that scammers purposefully introduce spelling mistakes and other types of obvious red flags because it filters out the smart recipients and only leaves people who are likely to be gullible enough to take the bait and not investigate too much. I wonder if there isn't something similar at play here, with the unprofessional-looking style actually just being a case of tailoring your communication to your market...
For compatibility reasons browsers don't use ISO-8859-1, they interpret it as Windows 1252 instead (that de-facto requirement has been codified in the HTML standard now <http://encoding.spec.whatwg.org/>).
Because the core of your argument was based on a stupid rule I don't agree with! You: "Throwing DiskFullException results in abstraction leakage" Me: "No it doesn't.."
Happy 18th Birthday JavaScript