skysight-inc/HackerNews huggingface dataset:
I dont even have a quarter of your experience. I do realize we have multiple backups either intentionally or unintentionally. But one thing I found when I don't check in code, and unfortunately have to resort to one of the backups, is that a lots of time is spent finding out which is the latest and has all the changes. Under really unfortunate circumstances, I have ended up with different copies of the code having portions of the latest features and having to merge. I have also had the bad fortune of cursing myself for deleting a code file unintentionally and having to rewrite it from some other unfinished copy. Makes me love version control systems. I always use one even for my personal projects. That is my recipe for coding without fear. YMMV.
https://code.google.com/p/plan9front/
Basically, if this is the project I think it is, all they're doing is letting you act as your own advertiser, with the ad that you're running being an empty pixel pattern.
NativeScript: The Framework for developers with low expectations!
The real spammy content is the announcement of a GA distribution that you can't download. Even with a registered account, I still can't find a working download link for RHEL Atomic beta.
If I am returning to a piece of code frequently it's not because the code is good, but because the documentation is bad.
Without having a specific goal it's difficult to read code. "Learning how it works" is not precise enough. It's not useless you learn stuff but you have nothing obvious to show yourself as an achievement. Rewritring or "deconstructing" the code is helpful to understand it.
Reading this brought back fond memories. Or nightmares. Sometimes it's difficult to distinguish between the two.
> use real pragma syntax, which will fail in old user agents

> We shall see how this experiment works, but in no way is it like `"use stricter";`.

I might be misunderstanding your comment, but stupidcar's link (http://www.2ality.com/2015/02/soundscript.html) mentions `"use stricter;"` and `"use stricter+types;"` as mode flags, although it also contains a big disclaimer ("The final version of SoundScript may look and work completely different").

Has the syntax been changed since February? If so, I'm interested in reading about it (but my Google-fu is failing); got a link?
What Went into Our SXSW Interactive Finalist Web App
> My guess is this will be stupidly successful, and good for absolutely no one, but Facebook.

Why? I see it being very good for Facebook users. I'm very happy about not giving any data about myself to random websites I want to check out just once. I especially look forward for the amount of spam (er, value-added marketing e-mails) it cuts out of the circulation.
It so happens I've been trying to launch in the same area myself. And I'm not the first to think of it -- Contenture, Kachingle, Readability and I forget the others.

Naturally I think I have additional secret sauce, and a patent + patent pending covering a cryptographically-secured scheme for tracking visits.

But I won't lie, competing with a company with 10,000 engineers and $60 billion in revenue seems unfair. So I'm going to give them a head-start on this one.

Persons interested in learning more, or in throwing umptillions of dollars at me to make it happen, can find my contact details in my profile.
My goal is to complete a game in C++ using SDL2 this year, so i've been reading a ton of that on Github just to see how other people do it.
You can get them for under $20 if you buy them from China http://www.aliexpress.com/store/product/Free-shipping-LCD-mo...
The code I happen to use at work. This might sound silly, sometime I read code just to understand one specific behavior, say one method and come back to it later because I need to know something else.
Honestly, I don't understand why there's so much cynicism regarding Quantopian and their contest.
I think it's great that there's a tool people can use to get started with automated system trading.

For all of you who are whining about stuff, do realize that no one is being forced to enter the contest. Did you get that? NOT REQUIRED.

On the other hand, for those of us who want to learn or try our hand, this is a great idea/product.
Well, since you work there, perhaps you can let them know that while www.suse.com resolves to an IPv6 address, your webserver doesn't actually serve up any pages via IPv6. So for those with native v6 connectivity like myself, the page just won't load.
It's odd to see bollards and speed bumps in a swimming pool that big.
> This would surely attract site-owners by providing them with some kind of communication-channel to their users which is important for acquisition, retention, marketing and all that other stuff programmers usually don't like to do :)

Yes, please. Give me a throw-away app-specific inbox but make sure that I can completely ignore it. It's not only programmers that don't like "acquisition, retention, marketing" - as a user I don't like being subjected to it either.
It's probably just for customers. You can use the Fedora or CentOS based Atomic though:

http://www.projectatomic.io/download/

e.g. http://buildlogs.centos.org/rolling/7/isos/x86_64/CentOS-7-x... (optimised for cloud, no passwd login etc)
Argh! It sucks! I will be visiting Austin two weeks earlier. :(
Perhaps, but I think $1 across enough sites would be fine to me. The problem for me is that my dollar will almost certainly go to one or two of the sites each month. In that case, I'll just go pay for that website's upgraded service.
Google's model rests on the assumption that all the ads on the site will be Google ads, and as such this scheme comes with a fairly heavy incentive for content providers to carry Google ads only.

Declaration of interest: we're trying to do something in the same space with content-that-should-be-or-is-paywalled with Financial Times articles on The Browser (http://thebrowser.com)
The Most Logical (And Craziest) MH370 Conspiracy Theories
The pattern is what worries me most. It should be understated and transparent. More visual noise seems like a distraction.
Sure. It's certainly more complicated at borders (or, in the US "border zone" https://www.aclu.org/know-your-rights-governments-100-mile-b... ), especially for us non-US citizens, but the underlying sentiment still holds.

The other guy does not have your interests in mind. He knows the rules better than you, and knows which rules you probably don't know and what he will get away with when bending the rules. He's probably not specifically out to get _you_, but he's definitely being measured on his "performance" by whoever pays him, and that means he's highly motivated to "get" enough people, whether or not it's deserved. Anything you say is less likely to convince him of your innocence than it is likely to give him more ammunition to use against you.

Make both of your lives easier - firstly don't do anything wrong, secondly answer any questions he has with the briefest possible truthful and polite/respectful answer. You'll get waved through, and he'll move on to the next talkative and/or disrespectful person and give them a hard time. (For those of us who aren't US citizens, remember it _is_ a privilege to be permitted to visit, a privilege the possibly minimum-wage customs/immigration/border people on the ground have the authority to revoke.)
Equally doesn't seem intuitively fair; per-visit is good but has to be adjusted in the face of AJAXy sites and how hilariously easy it is to stuff the ballot box.

I'm going to guess proportionally. Every other such scheme has been proportional. Google can solve the fake visit problem with pattern-matching wizardry. Readability tried to solve it by turning themselves into a proxy server.

I solved it by using a cryptographically-assured end-to-end scheme that requires two mutually distrustful parties to verify that a request was made.
Good to see. Basically, its like paying not to see ads.
Ask HN: Is there a public timeline of important events in software?
OSS, domain-specific, theory, whatever..
They're experimenting with youtube donations on some channels, also there's a Youtube for kids app on iOS and Android that has ads, but they're limited to children's programming.
Finally! What took them so long? And why didn't they acquire an existing vendor (for cheap)?
Yeah, that strategy would work in the scenario I sketched, but it's easy to change it so that you couldn't do that. Just say we have As, Bs, Cs and Ds and that all pairings are indistinguishable except As with Ds.
Problem is he's right and you are wrong.
AI is a simulation (artificial). Even if you did the acrobatics of saying there could be II (inorganic intelligence), there's nothing to suggest self-awareness could transfer from organic to inorganic, and there's no way to distinguish between a simulation being self-aware, and having the "appearance" of being self-aware, so I don't see how anyone could claim to have made a self-aware machine.

If you believe that people have spirits, then the question is also moot. But if you don't believe that people have spirits, there's no way to prove that your memories transferred into anything other than a simulation of yourself. If you consider yourself "you", then something else would not be "you", even if it had the appearance of being "you".

Even if you believe that consciousness arises from the synapses, and is therefore a simulation or illusion to begin with, there's still no way to prove that you would "transfer".

You can't say "there is a singularity" - you can only hope, if that's what you hope for. Others hope there is a god. It's a matter of faith both ways, and a reflection of wanting to escape death.

I don't think there's any harm in believing in the singularity for entertainment value, but as for providing a door to immortality, I think the main danger is simply distraction. While all the effort and discussion and research is spent on something there is no way of proving -- in the meantime, 20,000 children die each day from preventable diseases.

Even if you are a rational egoist, I invite you to consider what you'd do if a child was dying right in front of you. Would you help them? The fact is children are at arm's length, courtesy of our mobile devices, with which we could place more attention on relieving suffering than in trying to achieve immortality by flipping a coin on an unproven allegation.

So the fact is, because we could choose to act, rational egoists included, we are genocidal in our indifference. The first step in facing this is to admit it, and then to try and take steps to do something about it.

I invite anyone who seriously considers a singularity to set it down, and put some effort into the relief of suffering. When we have preventable diseases and poverty figured out, then let's revisit the singularity. I'd enjoy working on it then.
Here is a nice introduction video to TypeScript from ng-conf 2015 https://www.youtube.com/watch?v=U7NYTKgkZgo
The biggest news here is the existence of a current ClojureScript port:

https://github.com/lbradstreet/instaparse-cljs
Uhhh...lots of Microsoft employees working on Typescript is a good thing. Pulling the old, "We're happy to leave this in "the community's" hands would be a bad thing for obvious reasons.

Seriously, stop the FUD
I would gladly pay big $$$ to not be brainwashed by ads.
At the risk of being an unpopular opinion, advertising has been a huge boon in the growth of the Internet.

I dislike the ad crazy "news" sites that bombard you and destroy the entire user-experience, but I would equate a not-too-intrusive advertisement as being not an obnoxious thing, and something that allows you to get something, not totally for free, but at the cost of a second of your attention. I'm sure popular ad-supported sites would be not so popular if suddenly put behind paywalls. Much much less seen.

About donations, I would look to the experience of those disappointed folks who hoped to recoup some costs waiting for donations. Also, I would equate begging for donations and ads. I love wikipedia for instance but the donation begging can be just as obnoxious as intrusive ads.
Out of curiosity - if GPL is taken so seriously, why do customers have to jump through so many hoops to get copies of source. Last I checked you are required to send a letter via snailmail to legal counsel @vmware and if they deem you worthy, they send back physical media with copies of the source.

I can't imagine a less open-source friendly system...
This looks awesome! Do you have bounce handling built into this?
How much is Google's cut?
But at this point I have to ask, how do you define identity? I'm pretty sure that I could use the strategy I outlined above to separate our objects into three groups - As, Ds and the rest. So how do you define that Bs are not Cs, if there is no possible way for telling the difference?
While a good step, personally my reasons for blocking ads rests more from a tracking standpoint than visually.

Google being a middleman makes it logistically easy but removes the main reason why I would pay some amount directly to sites themselves.
No thanks, AdBlocker works for me Google. Asking money for reading blogs, articles etc has not worked so far for most content heavy sites.
Ideally, something like this could still contribute to the sites visited while the user has an adblocker enabled or JavaScript disabled. I would be quite happy to chip in to help sites display fewer ads, but it would be tedious to whitelist all of the participants just so they can get their contribution from my visit. In principle I am very interested in consciously supporting those who create the content I get completely for free (since I don't even view the ads), but for it to work for me it would need to be very low-hassle.
Good call. Basically, they can turn users with a PREF cookie into additional bidders for ad auctions on their network (and others, maybe?). $1-3 isn't much, but if you pool a large number of users' money, you can both drive auction prices to increase your revenue, and drive users to contribute more when their "contribution" stops removing ads.

One can never be too cynical.
City-states are not comparable to modern nations in their scope, budget, police powers, military powers, surveillance powers, etc. A return to smaller political units that don't have the resources to mount, for example, pervasive surveillance and large-scale incarceration might make us freer than we are now.

In other words, maybe national politics needs to be refactored into smaller units to be more tractable and maintainable.
If you can get the backups as dump files, have them sent to a Dropbox account or remotely to a server. Then install Backblaze or Crashplan on that server.

You end up with a Dropbox backup, server backup and a 3rd backup via Backblaze or Crashplan.

Cost is around $10/mo for Dropbox, $30 - 40/mo for a server if you go with OVH and $5/mo for Backblaze or Crashplan.
I might be in the area during that weekend. Looking to relocate to Austin. Drop me a line if you are from a Austin based company.

Apologize if this comment is out of place.
Bolt – Simple and fast web proxy living in the Erlang VM
I know a few people who've worked at (different) places which have a rule that says "any hardware you've taken to China is never allowed on the corporate network again". They get "burner" laptops and phones before leaving, and dispose of them when they come home (usually by giving them to family/friends or selling them on eBay).
Nasa finds evidence of a vast ancient ocean on Mars
Oh. Well, in my defense that was pretty unlikely. Hacker news search shows that it's been mentioned in the title of 475 stories, at least 25 of which hit the front page.

Well, we've still got Stack Exchange. Surely you've heard of that?
Moving Pictures: From Hollywood to Silicon Valley [video]
You mean how the transaction rate changes when things like checkpoint or vacuum are triggered in the background? Yeah, I do have those numbers, and the consistency improved a lot (especially when autovacuum was introduced in 8.1, and when spread checkpoints were introduced in 8.3).

The other part of the story are filesystems - back in 8.x days the filesystem was usually ext3, and that handled sync pretty badly (and that made the impact of checkpoints / autovacuum much worse). Today we have xfs/ext4 which do handle that much better.
That talk on which Axel Rauschmayer reported had some info from a presentation given by Andreas Rossberg of the V8 team to the last TC39 meeting. Here's the PDF:

http://www.mpi-sws.org/~rossberg/papers/JSExperimentalDirect...

There are two ideas:

1. A `"use stricter";` (originally "use sanity" :-/) prologue directive that would not change runtime semantics for code that passed all of static checks, (control flow dependent) dynamic exception-throwing tests, and runtime restrictions on object behavior.

2. A "SoundScript" mode, perhaps enabled by a `use types;` opt-in, or expressed some other way (per module?), that enables gradual type checking based on optional annotations inspired by TypeScript, but with TS-incompatible differences.

Mode 1 might fly with TC39, because it does not fork semantics for code that passes all checks. But for real-world code, there will be divergence when run on old vs. new browsers, so I expect push-back in TC39 on this mode being expressed by a useless string expression statement.

Mode 2 cannot be enabled by a fake-string-expression-statement "prologue directive".
You seem to be unaware of what TypeScript is. TypeScript is more of a high-powered linter than a new language. If you take Javascript and put it in TypeScript mode, most errors are due to variable reuse (x was a number and now a string) or actually an error in the javascript if you're trying to be well typed.

For a certain style of Javascript, making it Typescript is a no-op
If the model is that you bid on your own ad views at market value, why would it incentivize content providers to carry Google ads only?
I think there's something to be said for an ad-free content "subscription" to the whole internet. I block all ads right now but I would still get the warm and fuzzies if I knew that I was free of ads and I was still paying a little bit to the people who create content online.
Life on the Server Side
Ever Opened a Zip Folder or Downloaded Music? This Atlantan Made It Possible
Well, if the script would be embeddable from Google's domain, I think it would be easy to whitelist it. Of course it raises some issues with tracking. One could conceive a self-hosted version, but I'm not sure how Google would avoid scammers then, reporting "fake visits".
Surefire sign of the death of traditional Hollywood as we knew it
I linked to the touchscreen version by mistake. This is the non-touch version is $59 http://www.adafruit.com/products/2232
I've been reading the Docker source lately and I couldn't agree more.
Should Google be collecting this revenue for the content providers? Or could the individual content providers not collect this revenue themselves without having Google take a cut.

How hard is it for a site to setup a simple paywall linked to a low-cost payment processor?

Why work with the record label when you could be producing your own work and keep 100% of the profit?
So, like Flattr but instead of choosing what pages you want to contribute to you contribute to every web page that is a part of this project?

No thank you, I'll stick to Flattr.
I'd define identity as the smallest relation holding between all things and themselves.

If you want, you can redefine identity in terms of some notion of indistinguishability, but then you'll end up with the odd consequence that identity is not transitive. In other words, you'd have to say that if A is identical to B, B is identical to C, and C is identical to D, it doesn't necessarily follow that A is identical to D.

There are even semi-realistic examples of this, I think. Suppose that two physical quantities X and Y are indistinguishable by any physically possible test if the difference between X and Y < 3. Then i(1, 2), i(2,3), i(3,4), but clearly not i(1,4).
In either case, would you consider hosting something like Wikipedia on a 1 Mbps connection? Besides, you will be sharing that connection with everything else your neighbor does: both CPU and link-wise. "Oops, Bob's getting on Skype again. Better go make some tea, while this page loads. Too bad the original server this came from has a 1 Gbps connection and crazy redundancy. I sure am happy I can get this page from Bob's 6 year old router running at 200 MHz."

What problem is this solution supposed to solve? Bandwidth for the type of content you can actually mirror like this is my a problem and hasn't been for a decade.
Yellen on Financial Crisis #Bitcoin
"If you have nothing to hide, then invasive surveillance doesn't hurt you."

Easily countered with "So what's your email account and password?".

(I love watching the logical contortions that come out next "Well I didn't mean _I've_ got nothing to hide! Or I didn't mean I don't have the right to hide it from _you_ Or or or... Think of the _chiiiiiildren!!! You're probably a terrorist!")
I think you have a misunderstanding of exceptions. In JVM languages for example you have two types: checked and unchecked. Checked exceptions force you to handle errors immediately just like Go. Unchecked doesn't.

There are many situations in which you want errors to go unhandled and bubbled up to some common error handling logic.

Exceptions IMHO are vital. They standardise error handling behaviour across your application and provide flexibility in when, where, and how you handle groups of errors.
You don't really have to start from scratch.

Angular 1.* will be around for awhile. It won't simply stop working. Eventually they'll stop adding new features, and eventually they'll stop fixing bugs. I don't know what the timeline is for that but it's far from immediate.
Show HN: Demystify.us – a shortened link decoder
Hi HN. Here's my first first Angular/Express/Node app, it's just a site that you can punch in a shortened link to (like bit.ly) and get the results of where it will take you. Handy to avoid being rickrolled amongst other things. I just started really learning javascript and angular about 4 weeks ago (although I've been a developer for much longer) so I'm pretty happy to have a fully deployed site that seems to actually work, albeit very simple. Loving angular, javascript, yeoman, grunt, and openshift. Can't wait to do some more fun things.
Unfortunately most payment processors hate micro-transactions. And some charge transaction fee's so it wouldn't be feasible with them.

Now bitcoins...that would work.
> At the risk of being an unpopular opinion, advertising has been a huge boon in the growth of the Internet.

I believe this is true - even if annoying, or unsustainable, we owe something to the fact that people at least believe they can make money this way.

There are however two problems with ads. You touched on one of them - intrusiveness/user experience. But there is another one - many ads you see are made to trick you into spending money on something you don't need and/or sell you something suboptimal (E.g. that camera you just saw? It's probably not a good fit for you, but it's definitely the one that the vendor can make most money on selling) and/or just lie and try to scam you. The goals of advertisers and users are not aligned, and until the former stop trying to scam me, I will continue to block ads.

> Also, I would equate begging for donations and ads. I love wikipedia for instance but the donation begging can be just as obnoxious as intrusive ads.

Can't disagree with that. In case of Wikipedia, their obnoxiousness actually makes me want to not donate on purpose, and I'd probably do that if it wasn't as valuable for me as it is.
I pretty much read the code for every dependency I use. It helps me understand how it works and what the docs are fibbing about.

If I can't read the code because it's proprietary, I always strace it to see what it's doing.

For me, it makes it easier to reason about the behavior of my program.

Currently my favorite code to read includes: key/value databases written in C and other "lower level" languages, and the golang standard library packages.