skysight-inc/HackerNews huggingface dataset:
For a lot of developers that single file explodes into a large multi-file monstrosity as features are added and deadlines are put ahead of refactoring.
We would!
Choosing priors is difficult and different people with different experience and views will have different (but still reasonable) priors. You may take personal (just use all your experience) or objective (try to come up with some scheme for assigning priors to types of situations) view on this problem.
Work was done in both directions. It's more of a philosophical problem than math problem, although in many cases you want something specific: "I have no idea what the outcome might be but I think it's either extremely on the right or left so give me priori which converges fast to one or the other). Or in a coin example: "it's almost surely more or less fair, so I don't want to change my views after several unlucky flips".
look at the page source code... you'll see what happens after a few hours.
How do you distinguish between salaried top level management work and suspending that work (still remaining on salary though) while "consulting with business associates." Inquiring minds want to know.
The biggest problem is people take the capta image and put it on an other website (free porn or what have you). That way you always have humans solving your captch but you can still spam.
If you want to get him something technology related, think about a Mindstorm NXT kit. I know that's what I wanted at his age (And my parents never got it for me grrr). There are plenty of other ways to encourage your kid to "go outside" and "act a kid" so if he WANTS something tech relate for his birthday, get him what he wants. Now, if he's more interested in a mountain bike or a football, get him that. (If you haven't yet, you should ask him what he wants. At that age they're usually still honest about it.) I also think the suggestion another commenter gave about a rasberry pi is a good one. At his age, he'll probably really enjoy something that is hands on and he can build with.
It's not automation that creates jobs, it's the incentives embedded in our socio-economic culture that create the replacement jobs for those that automation destroys.

When labor is freed up, entrepreneurs look for new ways to employ it to make money. When production costs are lowered, entrepreneurs look for new ways to employ the freed up capital. This is why so many companies are hiring at the same time as they are firing. Taken at a national or global scale, the result is that labor and capital follow supply and demand curves and that adjustments to the system through automation are compensated elsewhere through economic incentives.
Mindstorms! http://en.wikipedia.org/wiki/Lego_Mindstorms
IPhone's case Design Guidelines
Show HN: Randolunch - Random Restaurant Picker. My First Rails Site.
Coimbra Recebe Novas Fronteiras da Engenharia 2013
My girlfriend is taking the python course with them as well. She said there were 60,000 in total taking it (sounds like there will be a lot of new Pythonists in 2013).

She and another friend of hers was having some troubles understanding when and when not to use parentheses and I did a quick clinic with them to walk through it.

It might be a good idea if volunteers from the Python community could be found to offer extra lessons, perhaps some sort of live video cast mixed with a live chat. It could help out a lot of people who otherwise don't have many people to call on around them.
Dear cpbotha,

No it hasn't.

-- USA.
Ask HN: do you make things that help freelancer devs? We should talk 
Hi

I recently added a section of helpful deals / promos / freebies to http://leanpub.com/freelancedeveloperbook/

The selection is based on first or trusted second-hand experience of the products in question.

However, I've been thinking that it might be good to cast the net wider, to be able to offer newbie freelancers more: so, if you make something that will help indie devs be better indie devs, and if you're willing to offer them a decent discount/extended free period/something, we should chat. My email is in my profile.

Cheers
Steve
Maybe you don't need concurrency, but I certainly have in almost all my jobs thus far. async/await is pretty great for this, especially when you need to mix concurrency and UI. Making it a language feature (instead of a library) makes the concurrent operations a lot more readable by avoiding a lot of nesting.
Why can't you be a kid whilst still enjoying technology?

You make out as if the gifts outlined here (e.g. Arduino, Lego Technic, etc) are going to strip him of his childhood. I'd argue they'd improve creativity and give a sense of accomplishment ("hey, I made that!!").
They always launch from the Baltic sea, and test the engines in and around Copenhagen.
I have a 10 year old boy

Maybe ask him what he wants

A lot of boys that age like Minecraft and other videogames on xbox or pc. You might get him a small android tablet or else an old smart phone or laptop to play games. A bike or scooter.
Same here, but in Australia. Unit circles made trig "click" for me (and a whole heap of other concepts... a very versatile abstraction that one).
The problem with "viral" is very simple - virality works through either blind luck or a massive marketing spend in a short time (most viral things are simply well made adverts in disguise). As a startup you can't rely on the first ever happening and you can't afford the second. Market the app the 'old' way; go to events where parents go, pay for adverts on websites parents use, try to get a celebrity parent to endorse the app, and so on. It'll be very hard work.
> These powers set up democratic governments, then departed.
No it is not, I have to admit it, because my signature is the worst that could ever be, but I think that is related to the fact that my calligraphy is horrible. So, wouldn't it be funny if someone has a crappy calligraphy and a great signature? are you even sure that it's possible? not saying that you didn't your research or anything, just throwing questions. Still, point being, when I was 10 having as a present a designer signature would have disappointed me greatly.
How about this: 300 million people are brought (illegally) to the country at 7.

At 20, should they have a legal right to be there?
Once you figure out simple examples you slowly start thinking this way about the world. It's beautiful. Take people for example:

Someone with open mind has a priori with at least slight probability assigned to unlikely (for them!) hypothesis while on the other hand very religious people for example have 0 in their priori when it comes to possibility of their religion being made up so they are forced to ignore evidence to the contrary (because bayesian updating breaks for them due to division by zero and mind's way to signal this exception is denial).
In general someone with a lot of weight on given hypothesis is "stubborn" or just very convinced and someone with uniform or close distribution just doesn't know anything about given problem.

Someone unable to build heavily weighted distributions is a conspiracy theorist, someone reluctant to - a sceptic and someone too much eager to a fanatic. Someone with very bad priors is un/badly educated (in given domain) or biased or maybe just stupid, someone with good priors is an expert.
It's possible to combine expert with sceptic attitude or expert with fanatic or all too often stupid with fanatic (very bad and very heavily weighted priors with possible 0's on some options).

Once you start thinking this way you start expressing yourself differently, you start adding those probability qualifiers to your sentences: "I am very sure it's the way to go", "My intuition tells me this but I am not really sure", "I am very convinced and it's not worth discussing" (yes, it can be rational and good attitude) or "I would do X but I need more evidence to be reasonably sure".

It's all there in people's mind, language and interactions once you start thinking this way it's whole new world of perspective and understanding.
What I got from this was - he ditched PHP not because it's impossible to write good code with it, but because it's possible to write crappy code with it. And that messed up code is result of bad team, not bad tool.
But yeah - you can feel that I'm PHP dev and if that will result in HN down-votes, so be it. But I had to express my opinion.
We call this a leaky abstraction :)
We were building things that we didn’t need to build,” Johnson said at the time. “We were harboring fears that we didn’t need to have.”

Somebody needs to engrave that in huge letters on all that glass covering NSA headquarters.
That's pretty bold statement. And it's not true.
Jolla SailFish OS now supports Android hardware as well as apps
It's a bit naive to believe that after Google may have deleted your emails (no good reason to trust them, I'm afraid), the NSA also no longer has access to them. They picked them up as they arrived at or left your Gmail account and will keep them forever.
I remember XobotOS. I was kind of excited about it, but then nothing happened with it after they made a press announcement. I had some questions about it when they still had comments posted on their blog. They decided to remove the comments shortly after without answering any of them, not sure why. Can't remember what my questions were now, but I think something related to building it.

I was hoping to mess around with it and make some sort of compatibility layer for dalvik based apps to run on it and everything else to use C# that I or anyone else might do (I mod AOSP and such in my spare time).

Too bad it Xamarin has not done anything with it since the announcement, as dalvik is the bane of performance on Android.
You can occasionally get a year's free use of Regas facilities via various promotions. Worth keeping an eye out for.
What I was most hoping to get from this blog post is to encourage PHPers to give Python a go. Try it out, build something in it. I think lowering the amount of bespoke PHP code in the wild would help the software industry as a whole.
Thanks. It makes sense. We are already doing some of it but getting a celebrity parent endorse it would be awesome! :)
Plus, Minecraft teaches basic circuit design and gate logic.

http://www.minecraftwiki.net/wiki/Redstone_circuit
It's a lot more complex: http://en.wikipedia.org/wiki/Politics_of_taiwan#Political_st...

Taiwan has very emphatically not declared independance.
http://i.imgur.com/UzZYLW5.png

Check the farthest text. It's even worse in motion because the aliasing changes discretely.
This is finger-in-the-air approach, which seems doomed to fail. For a start, it relies on your buddy having exactly the same career experience as you, and any new project being an almost exact match to previous projects you have worked on.

It doesn't take into account the unknowns, and doesn't break the task down into components that you could at least attempt to quantify.

Personally I go through a short mental breakdown of the project, trying to partition it in my mind into smaller jobs. Based on my years of experience I will then have a gut feeling for certain aspects of the project.

If any job is more than 3 days long, then I try to break it down further.

If I can't mentally break it down, then I need to spend some time researching why that is (investigate the unknowns).

Once everything has been broken down, and I have reduced the unknowns as much as possible I add contingency. Anything that I feel has the potential to be problematic I will add more contingency to, or add additional research time.
Cool - which course is she taking? This is the Computational Investing course. Buried very deep in a forum is a post by the tutor saying that you should know programming and how to use the command line - unfortunately it's too well hidden.

The main struggle has actually been with people on OSX Lion getting the libraries installed.

https://www.coursera.org/course/compinvesting1
Film Alphabets (iOS Game)
Film Alphabets Launches Today!
A makey makey is awesome! I got one for my 6yo daughter, and we make crazy stuff together like this chair piano:
http://www.dirktheman.com/tutorials/makey-makey-chair-piano....

When you've explored the 'standard' makey makey options you can convert it into an arduino board, opening up a whole new world of sensors, electronics and programming. In my opinion, the makey makey is a great way to get into electronics/programming because it's more accessible than just an arduino or a raspberry pi. You can do stuff with it out of the box and there are cool projects for children to do together.
So... OP worked on a team of people who didn't care about good code, and were using PHP. It probably happens with PHP more than other platforms, but I've worked on teams who did crappy Java and crappy Perl and crappy ASP too.

Bigger takeaways - working in a situation where you get to choose your own tools and be self-directed is probably a better fit for this person. When he works on a team of 3-5 other people who want to do different things in his Django code, there will be tension. Probably not as much as his PHP monstrosity, but there will be some.

Working with large established frameworks, it's hard to see one file have JS, HTML, raw SQL, ORM code and core PHP app logic all in the same file. The conventions dictate where/how to separate.

The OP likes that separation, likes conventions, and wants to move to Python. Great. However, I feel the benefits he's going to get are coming more from a greenfield setup and working alone vs the language or framework itself.

Also, typo alert: the word is 'resonate', not 'resinate'. ;)
The How-To Guide to Responsive Email Design
The problem is that it's pretty useless in non-systems programming language.
Have a look at Sinatra and Tornado. Single-file projects are possible as well and it'll lead you down a road to quick deliveries and better tooling.
But may not get his future email and future data, which is still much better to him than if he stayed with Google.
Over the last month I have cancelled all our servers in US, setting up a new one this morning in Amsterdam

One thing I am worried about is potential liability of having someone sueing us under data protection laws here in Ireland, claiming their data was inspected by US and we couldnt protect their privacy

Here in Europe we get to have data protection commisioners and strong laws on the subject unlike across the pond.
You should go and read the Ruby Garbage Collector implementation. It's very straightforward to read, the code is simple but reveals why it's so slow. I won't say anything bad about it but it's not a stellar piece of software engineering.

The good thing is that there's plenty of room for improvement.
I didn't say you needed to. I used the B-1 to point out that a visa is required even for things that could be considered "top level management work". No visa, the work is illegal. If you have a B-1 visa, obviously some "top level management work" is thus authorized. What part of this is so difficult to understand?
I actually meant in the Netherlands :-)
Someone in the US without a visa that allows work is definitely allowed to do volunteer work, with restrictions. The major restriction is that it cannot be work that someone else would get paid for.

Here's a directly relevant example of allowed volunteer work, quoting from Duke University's Visa Services page at http://www.visaservices.duke.edu/volunteer.html :

> VOLUNTEER: A person skilled in computer programming volunteers his/her services to a nonprofit/charitable organization such as a substance abuse counseling center to help them design a computer based intake system to log their calls. While the "work" of computer programming would normally be a paid activity, note that in this circumstance it is performed for a nonprofit/charitable organization which traditionally depends on "gifts in kind" (items, resources, or services donated) to conduct its business. The programming is a gift of time and talent to an organization that depends on such gifts, with no expectation of payment or a future job.
I used to experience sleep paralysis on an on and off basis. Sessions were spaced enough that I wouldn't remember them for long. I thought it was due to high-level general anxiety.

There comes one session when I can't and don't want to go back to sleep. I wake up, turn on the computer and get on that old Deftones board. And there, there is a user writing about that topic and how he just experienced it and how he found out an article about it !

That article did a good job of demystifying the whole experience. It does not come from anxiety but can induce it (quite obvious). One interviewee reported he found the experience quite pleasurable, like being held in someone's arms. The article also stated that one you re-frame it in a pleasant way it wouldn't be a bad experience anymore: you could make it border on the erotic side of things.

And since then I have always been especially quiet and relaxed when having a sleep paralysis episode. YMMV.

Note: contrary to what I have seen in comments here you CAN´T force yourself to wake up from a dream.

which is how I decide to see it.
Some interesting and useful syntax here! However...

I’m also partial to this trick for grabbing just the first element of an array.

family, = socket.peeraddr

This is the sort of code that really turns me off when I'm digging through Ruby. It adds no clarity and actually looks like a typo. What's wrong with this?

family = socket.peeraddr.first

It's much clearer what's going on.
Markup and JavaScript are orthogonal concepts.
I agree with your concerns about calligraphy and all. But with practice I am pretty sure you also can have a nice signature.

"I was 10 having as a present a designer signature would have disappointed me greatly."

- with all due respect, it is subjective.

PS: Right now I am really disappointed that my comments are getting negative ratings. Sorry if I have offended the HN community but shameless marketing was never my intention.
> create a standard for a VM that other languages can compile bytecode to

That sounds a lot like Asm.js [1] Check Emscripten too! [2]

[1]http://asmjs.org/

[2] https://www.emscripten.org
When I was about that age I got an intro to electronics kit, I absolutely loved it. Just making little LEDs light up, speakers buzz, nothing that complex just things I could understand, think through, and make work myself.
Dear cpbotha,

You can run, but you can't hide.

- USA
5 Easy Tips to Simplify Your Business Accounting
Or that in general their life is not satisfactory on some level, so they escape into that world.
Escapism and why we do it, all that.
If I were Google (or Twitter), I'd be satisfied with the competition-killing effects of publishing open APIs and shutting them down after a while, to the point of considering this an interesting defensive tactic. So much creative energy just dissipates instead of going into some possibly dangerous competing product...
Avoiding brittleness in data munging projects
Nitpickers aside (yes, what they had they may still have or at least in digest form) this is a single instance of a tidal wave of people doing this. EU datacenters are doing quite well because of the NSA revelations.

The economic impact of this could very well counteract any net plus the US had while they were able to spy at will. Likely it's not going to be the same parties that will end up footing the bill.

The practical effect from a security point of view of this exodus is likely not very significant, I take it as read that EU pipes & major hubs are also bugged in much the same way, possibly even by the NSA and their friends with tacit approval or blind-eye-turning of local authorities, presumably under some data sharing agreement.

Just this morning it was revealed that Belgacom (the Belgian major telco) has concluded that their communications are being spied on and I'm sure that even though the Belgian government is reacting very much upset about this that when the final verdict is in we'll find that that very same government at some level of the bureaucracy knew about this since day one.

Plausible deniability will protect those in charge.

So, you can move your data around as much as you want, it won't make much more than symbolic difference unless you go to really exotic or lawless places.

Maybe Switzerland or Iceland could re-invent themselves as data bastions but that would merely shift the attention to lines running into and out of those places.
"entrepreneurship visas" are not mentioned, "immigration laws" are.

The fact that these provisions apply to both immigrants and citizens is irrelevant to the point.
Please show your math.

I took 80,000,000/86400 and I got 926.

So you seem to be off by about 1.
No need to buy children toys which represent killing devices, and definitely no teaching children to get off on "terrorist" sadism on weaker people/animals. In a more civilized society, that would be more commonly considered child abuse, not to mention the costs others will be more likely to bear from the grown child's actions.

As they say, this is why we can't have nice things...
A few months ago, I decided that I really wanted to
join Khan Academy. I would longingly browse their
jobs page in my idle hours, read their intern blog
posts from top-to-bottom, and fork their repos on
Friday nights. It became a bit of an obsession.
(Shh, don't tell them how creepy I am.)

I realize that she's joking here with the creepy bit, but I have to ask. Does anyone honestly think this kind of behavior is creepy?

To answer my own question, as someone who interviews people quite often, I'd love to hear that a candidate did this sort of thing. Honestly, if you're worried that you're going to be weak in your interview for a company which you really want to work for, do this.

Oh, and also - if interviews make you nervous, please tell your interviewer. For some people it's really obvious that they're nervous, but others do an amazing job hiding it. If there's any chance at all that you think your interviewers aren't aware of your nerves, just tell them.

First off, we're used to it. I'd guess somewhere between 60 to 80% of my interviewees are visibly nervous. Further, quite often the people interviewing you experience the same sort of nervousness when they're on your side of the table. If they're good at what they're doing, they'll totally empathize, and clearing the air helps a lot.

Unless you're interviewing for a sales type position where it's essentially your job to be interviewed, nobody in their right mind should view nervousness as a sign of weakness. Personally, about 9 out of 10 times this happens I err on the side of "this person really wants this job" rather than "wow, this person must be nervous because they don't know their shit."
> You could sort of do this on the moon, but mountains.

Here is am image of the moon, taken from orbit around it, a mere 28.4 miles above the surface: http://neverworld.net/lunar/lo2_h162_3a-m.jpg
It is too bad they aren't looking at the very nice MPS: http://www.ravenbrook.com/project/mps
Dear HN Community: I really could not understand what is bad in this suggestion of mine. Just because I put my startup as a suggestion does not make it bad.

Who would not love to cherish old memories with parents? And the author is also open to all ideas not just the tech ones.
Lots of concepts that are now part of HTML5 could only be done with Javascript in earlier incarnations.
Consider a plain vanilla housing package. Payoff = homeowner_payments.sum().

Now consider the least risky tranch of a CDO. Payoff = min(homeowner_payments.sum(), 0.7 x MAX_HOMEOWNER_PAYMENT).

Is it unclear that if homeowner_payments.sum() goes way down, you lose money? Of course not. For every derivative on the market, computing your gains/losses given a specific scenario is straightforward.

The only difficulty is computing the probability of each scenario, but derivatives don't change that calculation at all.
Raspberry Pi with CODER pre-installed.

http://googlecreativelab.github.io/coder/