skysight-inc/HackerNews huggingface dataset:
Hmm, I started programming around 1991, but didn't take it seriously until around 1997.

I haven't gone through this class, but it appears to cover the basics of programming language topics: https://www.udacity.com/course/cs262

And I like this book: http://mitpress.mit.edu/books/essentials-programming-languag...

You can get much, much deeper into this topic, but skimming the surface a bit was really all I was suggesting, unless you have interest in programming language design in particular.
You don't get the freedom he has, though, both in terms of working hours, location, etc.
How everyone overdid the mobile video
But your first example doesn't overwrite fs, it just overwrites the use within that function scope. Which is what you want (to use the fs that you assigned). Outside that function fs is still fs.

const is really just a readonly. It would prevent you from accidentally overwriting fs if you were to forget to type var at some point.

More needs to be written about when to use const, because there isn't much explanation for it out there. It seems like engines can better optimize some code if it knows certain variables won't be reassigned. But in that case you mind up always using const, which I doubt is correct either. There has to be some overhead to using const, so you probably wouldn't want to use it in a tight loop, for example. Or maybe I'm all wrong about this. Need some writing.
What's the gist of these supposedly major changes to the V8 APIs?
Just to be clear, this article is focused on POS vs online payments (where Stripe lives)
This is great, I was playing some chess (vs computer) recently and whilst I can occasionally snatch a victory from the jaws of defeat I've never been a particularly good player, so I was planning on hitting the books at some stage. This looks by far more suited to my learning style, so I'm looking forward to building some new skills.
As a dad Of 5 years old boy all I can say is thank you. He loves playing lego with me, and video games too.

A friend of mine with two boys close to mine did this for his kids: He would go one day earlier to some close hike trail or peak, and would put some coins in the ground, different places, etc. The next day he would go with the boys with a pirate map looking for the treasure.

Boys (and could be girls too) love these things. My son for example can get completely concentrated when comes to fishing (even if it's with some made up rod, and fake stuff in there). Last time we went to lake Casitas (California). He was hooked (unlike for him) for an hour doing his fishing.
I wonder if the obsessive focus fans developed on writing ASM, to the exclusion of almost any game mechanics, might have something to do with that
Title is linkbait.

What's happened is that there's apparently a bug with the Win8 RTC API implementation that doesn't properly calibrate for changes in the CPU BCLK, which obviously makes it useless in the presence of overclocking (beyond mere changes to the multiplier, anyway).

That's a bug, and a comparatively bad one (though obviously it won't affect production systems), and it should be fixed. But the lede use of "banned" makes it sounds like MS was caught "cheating" or something, which is wrong.

Presumably other OSes like Win7 or Linux expose the underlying ACPI RTC directly. Win8 probably tried to finesse things by using the CPU timer counters to improve precision.
Finagle doesn't tend to be so well integrated with the rest of the ecosystem - IIRC there isn't even a scala 2.10 release out yet. I'd recommend spray (http://spray.io ) if you want to do async http in scala.

(That said, I do think the twitter scala style guide is very good: http://twitter.github.com/effectivescala )
> It's a little hard to follow the code.

Docs are coming soon. A formal spec and some illustrations should help clear this up. The project is very young and developed on "spare time", and weren't prepared for this to be publicized so much yet. Thanks for your patience as we catch up with demand for documentation.

> the crypto specifics appear to be platform-specific

Yes, the implementation is written as a .NET "portable library" so that it can run on any platform, but that means crypto isn't directly available. So there are individual projects for each platform that provides the crypto for the core library via an extensibility point.

> the insecure random number generator for IVs. Why?

The threat models and crypto documentation I've seen never suggests that IVs have to be produced by cryptographically strong RNGs. The keys do, but IVs just have to be random. The fact that IVs may be predictable don't compromise security -- but if they are repeatedly used that can compromise it. And whether it's crypto or not, any RNG would seem equally likely to produce a duplicate IV (very unlikely).

> Where do my peer's pubkeys come from? How are they stored? How are they validated? Do I have one per peer, or one single RSA key I send to all my peers?

Most of the public key exchanges are not considered part of the protocol, since different applications may exchange keys with different mechanisms and yet still be interoperable with other apps. In the existing implementations, the key exchange happens via a web service that acts as a lookup that gives public keys in exchange for an email address. Since this implies the client must trust the web service, which I'm not thrilled about, we're evaluating alternatives. NFC to directly exchange keys between two smartphones seems attractive from several points, but of course has cons as well.

> How screwed am I if I lose my RSA key to an attacker? Are all my old messages now decryptable?

Someone who obtains your RSA key also needs another symmetric secret to download your inbox (out of scope for the spec, but in the sample network service) to find out where your messages are online. Your messages may no longer be online (as the sample clients delete them from the cloud as soon as they are downloaded). So damage seems to be fairly contained. In the future, expiration and renewal policies can help mitigate this further.

If decryption or signature verification fails, the message is thrown out. An app using IronPigeon _may_ choose to inform the user of the failure, but the samples don't do this, and I wouldn't recommend it myself.
This is really cool. Rails is currently looking for feature recommendations for 4.1. You (or author) might want to share this with them. I can see it being a pretty popular idea.

https://twitter.com/rails/status/366620806064783361
trouble is you will get a lot of hits on the easy stuff plagiarized from basic tutorials.

How to do 2+2 in language x yes

How to do do anything slightly complex you might have to spend a while digging.
> .NET's crypto libraries are good enough

Many of them call directly into the operating system anyway.

> but this seems to be configured in "1990s crypto mode"

What do you mean?
U.S. Dept. of Energy reports second security breach
I agree with your assessment. I did appreciate the feedback he gave on Musk's idea, but I think he went about it all wrong. i think he should have proposed the problems as flaws to Musk's work and let someone in the spacex or just the growing hyperloop community come up with a solution to perfect the concept, not condemn it. no idea pops out of the head of someone perfected. that's naive. Now if anyone does respond to his points based on this article, they'll probably attack back with a equally negative tone, ruining the full concept of what the hyperloop is.
MiniHack

https://itunes.apple.com/us/app/minihack-for-hacker-news/id6...
500 startups talk: Jay Simons on how Atlassian sells B2B software
Minecraft was making obscene amounts of money well before the xbox release. (Something like 100k a day in 2010, according to a quick google.)
Not all criminals are negative sum. For example, digital piracy is positive sum.
Nice chart and very similar to our recruitement—since spring we've been hiring Node/JS devs only.
I'm not sure I understand what you mean? The story is essentially one of an overcrowded marketplace with too many startups going after too small an amount of business and the disaster that looms.
I heartily disagree that it used to occur infrequently. It has occurred as long as people have been programming.
Or do it with infrared.
These benchmarking guys are not typical Windows uses. Regular users probably appreciate NTP updates.
For people like me who have no knowledge of non-software engineering ;)
I found that the best time management tactic that works for me was to stop reading articles on time management tactics.

YMMV.
Totally did this too, though without the innovation of using two sides of the paper. I'd draw mazes with monsters and stuff on grid paper, and use a piece of paper with hole cut in it to implement the player's vision (can only see 5 squares around etc.) Good times...
http://www.netfort.gr.jp/~dancer/software/binfmtc.html.en
I can't speak for all countries either, but I live in Japan and study in general is very test-oriented (see Juku aka cram school, etc.) Students graduate university with little applied skills, so companies recruit with mostly little regard for the major (just a general separation humanities/science) then spend 1-2 years training them. University is in many regards a place where students learn how to fit in society. Getting in a good university, i.e. passing the very difficult admission test, mostly guarantees that you'll get a degree.

When I was a student here I had a class where you could get an A for submitting a copy of your notes, no test, no homework. A lot more had tests with "fill in the blanks" questions. Then there was the rare few classes which actually made you think, but in my experience these were at the graduate level.
My perspective is that idle hands are actually idle: not building, not thinking, not active, not contemplative, not searching, not trying, not even resting. But idle. Un(der) used. And rather hard to defend.

This is difficult for me to understand. How can you tell the difference between resting hands (easy to defend, imo), and idle hands?
It could be an aberration, as one commenter noted there is no smoothing. However, in my own experience of building both Rails and Sinatra apps, I've tended to go more Rails, even for smaller stuff, as it just takes care of more things.
I understand the tone is troubling to us mere mortals, but surely a Titan of Awesome like Elon Musk can ignore the tone and just forward these concerns to his civil and structural engineers?
They stopped using PayPal as a Payment gateway for credit cards and PayPal and switched that out for Stripe. They still accept PayPal as a payment type (via PayPal as Stripe doesn't support PayPal as a payment type)
Why Silicon Valley funds Instagrams, not Hyperloops
R/GA and Techstars Launch 'Connected Devices' Accelerator
I haven't used them that much, but enough to know I can't reach all parts of the screen with one hand (http://thenextweb.com/apple/2012/04/11/a-widescreen-4-iphone...).

Regardless of the stretch, my biggest nag is the form factor in my pocket. I don't have a handbag/manbag so all my stuff usually comes with me in my pocket. I also use my phone a lot for music, so a big phone in the gym is a nuisance. I also use it as my everyday camera - I have my phone and an SLR. When I am doing sports activities (biking or snowboarding mainly) I will take my phone. That slightly bigger phone is an annoyance, and I feel as if I am more likely to break the phone. Just a personal preference, but I may have to jump over to an HTC One or a Sony Xperia Z because the processing power is just too tempting to miss out on. I'll keep my old phone as a backup for those other times.
One thing that bothers me is the keyboard recommendation. In most modern split keyboards, it seems they put the number 6 key on the left side of the split. Now the way I was taught touch typing (and what feels most natural) is to hit the numbers 1-5 with the left hand, and 6-0 with the right. So why do they put the "6" key on the left side of the split?
One reason the modern financial system is so huge and complex is that so many of its features have been extended to individuals.

I, a rather average middle-aged dude, maintain 4 bank accounts, 6 lines of credit, 4 investment accounts, and 4 lines of insurance [1]. Think of the complexity involved in providing those services to me--now multiply by tens of millions of other people. This does not even get into the financial instruments of businesses and governments, which are far more complex.

The end result of all this complexity is that individuals like your friends can accumulate and access large sums of money to lend to you to start a business. Most new business financing does not come from banks, it comes from individuals, families, or alternate financial businesses like angel funds, venture capital, hedge funds, etc.

[1]

Bank accounts
- 2 personal checking
- 2 savings

Credit
- 1 mortgage
- 3 credit cards
- 2 check cards

Investments
- IRA
- 401k
- HSA
- Brokerage (trading)

Insurance
- Home
- Auto
- Life
- Health
Yes, the project owners (including myself) are concerned about the trusted cloud service model as well. That's just a sample, and we'd like to replace it with a trustless model.

NFC is looking good for key exchange between folks who are close enough to shake hands. I don't think the key signing parties that OpenPGP relies on will work for the typical end user, which is what IronPigeon is targeting.
> And so does my Fedora install (let's not blame Redmond unnecessarily).

It isn't particularly an OS probably at all at the root: it is a hardware problem. The RTCs in PC have historically not been terribly reliable so OSes tend to ignore them where at all possible.

The probably here is probably the same as seen inside VMs: the OS is trying to count timer interrupts and other such references to gauge the passage of time, but with CPUs changing their speeds constantly this in itself becomes difficult to make accurate.

Windows' default behaviour of occasionally checking an external time reference (IIRC it checks approximately three times per day if your machine is on 24 hours) is often inadequate IMO though. Much better would be to use proper (relatively constant) NTP checking and clock skewing, though that imposes an extra infrastructure load.
> The author has dived to the deepest levels of one section of the proposal

> This open source project is very ambitious and planned in good detail

Through reading the article I think his opinion is far from that. The vibe I got was along the lines of "this is so bad that a high school physics student knowing the thermal expansion laws, and a sophomore college student who knows how cantilever beams work could tell you this project is fundamentally fishy". Considering this perhaps his snarky comments are warranted. Musk dropped this project as a critical piece against current plans for this infrastructure and on a very basic level it comes off as 'snake oil'. Expecting a high level of polish doesn't seem too much of a requirement to me.
How to Apply Messaging to Cloud Apps with RabbitMQ, Node.js, Redis, and More
Why is Google blocking Windows Phone's YouTube app? In a word, fear
I asked in the comments if Google has "100+ full-time engineers working on security and abuse and fraud". The implication from the article is that they do, but it doesn't actually say that they do.
My statement is based on personal experiences -- it's an observation and not an authoritative fact; I don't have formal studies to back this up. A really great solution from a new perspective is admittedly rare when you take into account all tasks. However, when there's a problem that's been giving a group some difficulty, I've had many occasions where the new person who was coming from a different background, provided a key advance. It was usually along the lines of something we all thought was either too simple to try, "known" to not work, or just went against all the standard methods we had been taught (like the anecdotal example you provided).

In the context of the article, having minimal knowledge (just enough to understand the problem), also affords you with the opportunity to learn more on your own and develop your own views before someone tells you how to think. While I can't back it up with level of evidence you're asking for, in my experience it's still a good strategy to go with. I realize this is drifting away from the original topic. Sorry about that.
hi all, we support cards from the US (although processing and payouts in USD), but we can not onboard merchants based in the US at the moment.

best

Kilian (MD PAYMILL)
Jim Jannard (Founder of Oakley and RED): I'm Tired, I Really Am.
fine, but I've learned enough languages to know that the absolute worst thing you can do when you start out with language Y is make it act just like your previous language X. It's a very natural instinct for almost everyone (just read "Python is not Java" for an example), but for at least the first year or two of using a new language I think you have to do it as idiomatically as possible, before you have any insight into how to challenge the designer's idioms.
My value to some groups is that I make them feel normal by comparison.
Reducing work hours may even have the benefit of creating jobs due to people having more leisure time.
Hint: before complaining do what Notch accomplished with Minecraft.

That said, I'm sorry too about the news because I was really excited about the 0x10c plot / idea.
Well at least you don't think it was supposed to create death panels :) it was indeed supposed to make healthcare affordable and force insurers to cover everyone, but it also makes health insurance mandatory. There's subsidies for people that cannot afford it, but it's still potentially more of a financial burden to lower income earners than a Socialist-style healthcare system. The US has basically the worst cost:success ratio of anywhere and the insurance rates reflect that.
Very cool. Thanks for this. Next step, predict the future of what employers will want (employers would love this too) :P
And Nature News have replied: As far as I can see, we have not reached any definitive conclusions about what will happen in the wild. The article warns what -could- happen and the -possible- consequences of such transgene spread. The sentence that you cite is a direct quote from Brian Ford-Lloyd, a plant geneticist at the University of Birmingham, UK (as the article clearly notes), who was unoconnected with the current study. He goes on to say: “This is one of the most clear examples of extremely plausible damaging effects [of GM crops] on the environment.”
If you take issue with -his- conclusions, why not contact him?
One of the key findings here is that, contrary to what many have argued, transgenes -may- confer some value/advantages to wild species. At least, this is no longer something that can be ruled out.
* Their implementation sucks so much that most decently built
concurrency implementation will beat Go-routines by a wide
margin. Just have a look at all those people on the Go mailing
list whining about the scheduler. Not even talking about the
fact that building concurrency mechanisms into the language is
plain stupid. We all saw how well that worked out in plenty of
other languages before.
* You know why pretty much no one uses structural typing?
It's not because the “brilliant” designers of Go “invented” it,
it's because most language designers realized that it is a poor
idea before shipping the language. I think it is pretty telling
that in languages which support both nominal and structural
typing pretty much nobody is using structural typing.
* I'm not seeing how a language which requires passing around
void* pointers in every data-structure and casting at pretty
much every corner can be considered memory efficient.
* Hard-coding collection classes with special cased syntax into
the language, so that everyone who needs to have something
slightly different is completely fucked ... what is this? 1980?
* Their packaging system is an unmitigated failure. Nuff' said.
* Do they have a working Unicode implementation yet (I mean more
than the “We use UTF8 for strings ... which is like 0.5% of
what Unicode is about”)? What about (Big)Decimal? A working
date/calendar abstraction which isn't a terrible joke?
(1) As a lawyer I love how to non-lawyers the legal industry (usually BigLaw) is always the go to example for things that cost a lot but do nothing.

(2) All these lofty ideas and conspiracy theories are great but bullshit jobs exist for one reason - most people suck at their job and are perfectly O.K. with it.

It's nice to think of labor as a machine. A system where everyone tries to be efficient and strive to do the best work possible. In reality that just doesn't exist. Most people go to work for a paycheck. Their one goal - keep getting that paycheck. In that context it's easy to see how what could be accomplished in 15 hours suddenly takes 40. If there is no incentive to work hard, better, faster, or stronger, why bother? Anyone here ever work a union job? You don't exactly get to leave early if you finish early. You don't exactly get a raise either.

Additionally most people don't have a passion that they'd rather get back to. Very few people think of anything besides (a) work (b) family (c) friends (d) misc. rec. activ. (sleep, sex, vacation, whatever). So this idea that the Bullshit Job is somehow preventing people from doing something more productive is, well, bullshit. Most people would do nothing with their time if not for work.

It's nice to dream the world works otherwise but at least in my experience it does not.
3 tips for blog optimization success
Germany Sets Standard for Bitcoin Regulation
Tesla's a Threat to the Auto Industry, But Detroit's Reacting All Wrong
“Modern technique has made it possible to diminish enormously the amount of labor required to secure the necessaries of life for everyone.

The wise use of leisure, it must be conceded, is a product of civilization and education. A man who has worked long hours all his life will become bored if he becomes suddenly idle. But without a considerable amount of leisure a man is cut off from many of the best things. There is no longer any reason why the bulk of the population should suffer this deprivation; only a foolish asceticism, usually vicarious, makes us continue to insist on work in excessive quantities now that the need no longer exists.”
—Bertrand Russell, In Praise of Idleness

“Suppose the people around here decide that instead of having more consumer goods they’d like to have more leisure. The market system doesn’t allow you that choice. It drives you to having more consumer goods because it’s all driven to maximizing production. But is the only human value to have more and more goods you don’t need? In fact the business world knows that it’s not. That’s why they spend billions of dollars in advertising, to try to create artificial wants.”
—Noam Chomsky

I strongly agree with the author, Russell, and Chomsky. I think Jacque Fresco also has interesting thoughts regarding this matter.
It is nice to see some criticism on HN. The tone of the post is a bit off but apart from that the points made should be considered.

Personally I don't see the problem with a 150m slippage tolerance, but I think it might have to come before the fixed base stations. basically I could imagine the tubes transitioning into a slightly larger enclosing tube which is able fixed to the base station. surely there are other alternatives and unlike the OP I think the quotes from the report sound to me as if Musk hasn't thought of this at all.

As for the FEM analysis I would tend to agree that the value does not go far beyond being a pretty picture in its current form.
Saving Your Children from a Harvard Education
How does it differ from PhantomJS/CasperJS (headless webkit)? I have been using these for a while and they can do pretty much everything that you can do in a browser.
I wonder: if you had access to any Twitter account, what's the most damaging thing you could tweet? Are there any things that could put someone's life in mortal danger?
Monday Sucks: A Cure for the Video Game Blues
Examining ActiveModel:Model