skysight-inc/HackerNews huggingface dataset:
I don't think either deterrance nor rehabilitation, the traditional justifications for criminal punishment, really work. I think the value of criminal punishment is that it reinforces social norms among all those who observe or know about the punishment (that and retribution for the victims). With regards to violent crimes, imprisonment reinforces the social norm that the state has a monopoly on the use of violence.

I don't think that justification is as important when we're talking about what's essentially a commercial crime. It doesn't even implicate personal safety in the same way as say burglary. These cattle are just assets on a balance sheet.
Zynga returns to the cloud
Perhaps OT: I often swing by Java web/services frameworks every year or so and I never see a good DB migration/evolution story. I'm fairly certain that it's because I don't know where to look or that I'm thinking about it incorrectly, but I've yet to see a Java web/services framework that supports the easy database migration/evolution schemes of Django/South or of Rails. Are these migration schemes not supported for a reason? Or am I missing the docs?
NASA space probe unlocks mysteries of Mercury's magnetic field
Nope. There are online universities that I could enroll in that offer Master's degrees but I'm not interested in it. I looked up one school's Master's curriculum and it seemed pretty similar to the stuff I've learned doing my Bachelor's that I didn't bother going for it.

I'm also not interested in pursuing further higher education since I graduated university hating programming and now can't imagine myself doing anything else. Don't feel like going through that stuff again (though it'll probably be a lot easier now that I can code).
Is PNaCl proprietary? Is it something that other browser could not support? Would the maker of this technology put effort in preventing other implementations?
Why not try Nairobi/Kampala first? Or even Joburg or Durban? There's size able software industries in these places and you could probably even attend the interviews in person.
Like the opposite of internet.org
Very Good :P
Can they ditch Silverlight too so we can -finally- get rid of plugins on the web?!
> How would a company even determine if I'm worth hiring
> and going through all the work to get me a work visa
> if they can't even interview me in person?

No company will hire you without an in-person interview. Most companies will pay for your plane tickets and hotel for an in-person interview.

A note on in-person interviews:

You will probably be flown to Europe and do the interview in English. Most English speakers in Europe learned it as a second language. If you learned English from a local Somali school, your interviewers will not be used to your accent and may have a hard time understanding you. You should practice your accent until you sound close to British or American.

> Would they tolerate my crappy internet if they try to
> interview me over Skype?

Is your connection good enough to do a voice call at high quality? If it is, that should be sufficient.

Otherwise, you'll need to find a way to skip the initial phone interview. Most software companies do phone interviews to screen out candidates who are not capable of programming. A good substitute is a portfolio of personal projects on GitHub, showing experience with the programming languages you put on your resume.

> What if the position was for something mid-to-entry
> level and not some key position.

This will depend on the size of the company. I work at Google, and the legal department here will handle the immigration, visa, and permanent resident process even for regular low-level engineers. Smaller companies will be more selective.
There was a professor at school who considered monks, nuns, the Amish, DIY punks, etc to be countercultural.

The hipsters of the forties+50s,the beats, the hippies, etc he saw as seekers of higher, truer things to consume, and he didn't see that as significantly different from trying to consume the appliances/cars etc that the Joneses have.
More power to you. I spent some time in an online education program for NW Kenya in a refugee camp, where US unis help. And if the internet there sucks enough to make it miserable, I can only imagine destabilized parts of Somalia.

So, if someone is interested, and please do not take offense, I am curious: how stable is the net where someone can expect to Skype and chat with you 8-10 hours a day? I am embarassed, but even as an expat living in the MENA region, I might be stereotyping Somalia, but if it is Kenya it is really luck of the 3G draw.
I'm so conflicted with Myhrvold: I hate Intellectual Ventures and what they do with the passion of a thousand suns, but Modernist Cuisine is an incredible and seminal work of art and science.

The modernist methods for BBQ do consistently produce a great que, but throwing a butt on an egg slow and low tastes just about as good and takes a lot less work.
A bootcamp grad can probably do better junior-level work, but they couldn't be the person at the top of that hierarchy without a lot more experience. And the only reason they're better at junior-level work is because it often requires minimal understanding of the underlying workings of the application, let alone the server, OS, or hardware.

The problem is that CS schools haven't done a good job teaching practical web technologies because web technologies are a poor way to study computer science. There's only so much time in a degree program.

The ideal situation would be to get a CS degree and then do a cheaper course on web technologies (that's still led by an instructor). I think there's something called Code Union offering that.
Git does not check with the remote unless you tell it to. So "origin/master" points to what master on origin pointed to the last time git contacted the origin remote.

To have git contact the remote again, you can do "git fetch origin" (or just "git fetch"). Then git will tell you your copy is out of date compared to origin/master, if there's been commits on origin since.

If you commit things, then your copy will be ahead of origin/master, so origin/master is what is out of date and you need to git push:

~/dotfiles % git status ✓✗ master:c024cb4 - dotfiles 
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
Definitely better than callbacks, but debatable wether this solution or promises is better. I like both.
Train your Brain: SwissPanoramaMemory
I can't really say how good they are but I found Liquibase (used by the Dropwizard framework), and FlyWay.

So there are some options available.
It sounds like you have a lot of faith in the rigor of the drug manufacturer. if you were to do some research on GSK's treatment of Paxil for adolescents you might come away feeling differently.
The problem with counterculture is that it encourages people to uncritically accept that mainstream culture is horrible (e.g. boring, White, materialist, racist/sexist/homophobic) and must be rejected.

While everyone feels this way on some issues, counterculture encourages people to turn a dissatisfaction with some aspects of mainstream culture into a total rejection of it. And it does so not by rational argument, but by exploiting people's desire to feel special and enlightened.
As I said elsewhere in the thread I worked with some Kenyans and a few refugees in the Kakuma camp, and I do not get the impression Kenya, Nairobi or elsewhere, is just flush with jobs at the moment.

Blah blah, globalized economy, blah blah. But I would love to hear other Africans from Kenya, SA, and elsewhere chime in and correct my foreigner BS here. My time there was short, so I can be way off base.
This is just in time. I just read a chapter in a JavaScript book about OO programming in JS and finished the chapter very confused. It demonstrated about 12 different patterns people have used for creating 'classes' and 'subclassing' them, each with a list of advantages and disadvantages.

Eg there's the 'parasitic instantiation' and then there's the 'Constructor pattern' and then there's the 'Parasitic Constructor', and there's like 3 other patterns that have their own permutations. Coming from Python and then Java, where classes just work...it's kind of annoying.

[edit]
I was being a bit hyperbolic, the book discussed 6 ways of inheritance in JS, those being (1) Prototype Chaining (2) Constructor Stealing (3) Combination Inheritance <- most popular one according to the book (4) Prototypal Inheritance (5) Parasitic Inheritance (6) Parasitic Combination Inheritance <- pattern that is generally the best according to the book
Are you in Hargeisa? If so, you can solve the crappy internet problem by patronizing someone who has a Somcable connection.
How Difficult is it to make a good career in Nursing?
I don't mean to be a peer validating you, but this comment really hit the mark for me.
https://lh3.googleusercontent.com/-R1jlPIYh-nU/VUlaRlv9DnI/A...

Are those SNES cartridges?
Also try Australia, which has an awesome immigration policy (much less cumbersome than H1B/Greencard): 4 years on a sponsored visa, then on a permanent immigration, and after 5 years Australian citizen. And try UK, which is pretty keen on immigrants, and only 300km from the center of the world (guess which country I'm from ;))
This is a gaping security hole, thanks for sharing, OP!

I'll have to play around with this and see if I can execute a PoC against my friend who has Z-Wave everything.

I'm surprised this hasn't gotten any HN love.
Very common. RESTful architectures always give rise to this type of pattern. For example, you fetch a user id, and then you fetch all the blog posts by the user then you fetch the comments for the blog posts.
Vault by HashiCorp – a tool for managing secrets
Escort Tours Στην Αθήνα – Golden Diamond Escort
the size difference and design technique between Intel and TI is telling. Even though they are both of the same generation of chip Intel was just years ahead in efficiency. The TI almost looks like a "will this work" or "that will do" type design.
As a new user of Git, I cannot support this comment enough. The Pro Git book is a fantastic resource that cleanly and concisely outlines the command AND the conceptual framework upon which Git operates.

I strongly recommend that all new users read at least those first 3 chapters, but also the very useful chapters on using GitHub - a website that I have personally found extremely unintuitive to use.
if you're starting with a block of aluminum or a bin of powdered aluminum, then yeah, the tooling for machining the solid block would likely take less energy than the laser used for sintering the powder.

However if you take into account the energy necessary to cast the aluminum block in the first place, the laser may be more efficient. But, for all I know they take cast aluminum billets and some how shred/powderize instead of making the powder as it is refined.
Please tell me how things like "I am kind of kicking myself for making what ended up being a bad tech choice..." and "gak!" are directly informative of the point of the article? This article needs to take a tl;dr approach and cut down the statements that could be stated in one sentence. Maybe other people might want to know this guy's thought process behind everything, but I'm much more engaged with the cold facts.

1-2 months to research Elm and transition the Unison editor? Okay that's all I need to know.

Realistically you would probably only be able to work part-time because you are a paid consultant? Okay cool that's self explanatory, you need to make money and we get that.

This article is informative, but it could've been edited to a maximum word count.

P.S. Thanks for being mature. I willingly admit that I'm young and I have a lot to learn, but I do happen to know terms like HTTP+JSON and why a one-file-per-hash system is an insanely inefficient implementation.
The abundance of JavaScript libraries
If people want to buy/sell/use drugs then that's their business. It's not a problem government can solve. Do we own ourselves or not?

Maybe you missed my point, which is this redistributioin happens often, and not in the direction that the person making the wish wanted.

He's obviously not talking about some petty "drug dealers" anyway.
Just a few years after being diagnosed bipolar and still new to the game, on a trek to find the right "cocktail" of medicines to keep me both sane and happy, I used Abilify for about a month to contain my mania without "snowing" myself intolerably.

It did snow me, it made me depressed, in addition to not working while at work (or socializing at all) I would either leave work or hide in a conference room.

Normally the thing to do obviously is discontinue the drug and try another, but it's during these states, at least for me, that one loses focus, self-perception and the nerve and inclination to resolve the situation.

Your doctor might argue that what you're feeling is actually normal, what everyone else feels, and you just feel lousy because you're not manic as you had delightfully been before. Just give it three weeks, he says.

Maybe he's right, maybe he's not; maybe he doesn't want to deal with trying a different drug at least for a few more weeks to get you to calibrate to the one you don't like. But he's got an advantage in that debate which is that you are chemically subdued. Challenge him and put up a fair fight before letting yourself become convinced one way or the other. You might reach a compromise that works better, like sticking with the drug but at a lower dose.

Eventually my shrink put that together and we subbed in another atypical antipsychotic, Zyprexa, which, though like Abilify good for some people and bad for others, and risky, gets the job done, along others in the cocktail, nicely for me.

So when starting a drug, especially a neuroleptic or an antimanic, try to remember to be aggressive in monitoring yourself and be vocal when articulating what you think are your negative side effects stemming from the new drug. Don't just show up to your next session and say you're doing fine when you're not, even though a depressive spell makes that a tempting thing to do.

And for the rookies, in addition to the above, if you find yourself reluctant to complain about any new drug that has a sexual side effect like impotency or no libido, for God's sake, snap out of that and tell your doctor, otherwise you will not only not resolve those problems but you risk conditioning yourself to distrust medicine and psychiatry which can lead to noncompliance and possibly your downfall.

It takes some time, but if you're motivated and smart about it, you've got a good shot at rescuing your captured soul from manic depression, and without killing your soul, or yourself, in the process.
I get promises, but in this example:

function getFullName( id ){
return ajax( "/user/" + id + "/name" ) + " " + ajax( "/user/" + id + "/lastname" )
}

How does it know to to wait for both ajax functions before returning the correct value? Am I misunderstanding something?
Ask HN: Switching a business to PHP
I'm currently negotiating with a potential co-founder. He's a senior PHP dev with incredible experience and a long list of solid experience.

My fear (unfounded or not) is that by rebuilding the current site in php it will pose hiring challenges down the road. It feels like most younger developers are avoiding php.

Is this a legitimate concern?

I'm not looking for a flame war here so please refrain leave those comments for somewhere else.
A SoFi Review: Slick Technology vs. Your Student Loan (or Mortgage)
Thanks, no problem.

Do you think the mounting 'trick' would work or is that just a dumb idea? :)
Minimap for gedit
"...assuming consent unless otherwise proven..."

So the accused is innocent until proven guilty.
It seems completely foreign to me that someone would press a button like that and think there wouldn't be social consequences for it. I can't think of a single thing I've ever done in my whole life that I wouldn't or haven't been judged for.

I was talking to a friend the other day about how "people's clothes don't matter." I was saying that, yeah, in theory they don't matter. I think they don't matter. So when someone goes out of their way to dress oddly, I know it matters to them, and that contradicts my belief that clothes don't matter.

So obviously they do matter, even if I want to believe they don't. Things that don't matter just don't get attention. What is important is knowing why the important things are important, not simply what the important things are.

So even if people won't care about a silly button press, they will care about your apathy to it.
Thanks for sharing this perspective; valuable reminders to be sure.

I don't think this line of reasoning gets as much attention as it deserves.
That seems consistent with the spirit of the legal system.

Added:
That is, to skirt this basic mechanism would probably be worse for everyone than the temporary escape of a rapist. I say this as somebody who has experienced sexual abuse.

Another thing to keep in mind is that most rape and sexual assault is committed by people whom the victim knows personally, which makes the majority of cases much simpler to prosecute than this one.

Yet another thing to keep in mind is that although rapists tend to be repeat offenders, only a small percentage are "serial rapists". That is, they're rare like serial killers are. Those guys barely exist.

Note: there are replies to my comment which hackerne.ws won't let me reply to, my silence doesn't indicate an agreement or indeed a disagreement with any of the statements herein.
Yeah it's not great, but there's a good reason why there's an ACL for HTTP.SYS name reservations, a malicious application can actually reserve system reserved names, or overwrite the names of other services which already reserved a name such as the IIS or SQL server running on the machine. It's quite an annoying thing to understand Windows permissions, especially when you are using built-in drivers and services such as HTTP.SYS. Also don't forget that when you interact with HTTP.SYS you are interacting with a kernel mode driver, sockets can be bound in user space, so you are dealing with more privileged content.
P.S. Network Service can use HTTP.SYS reservations, and pretty much anything else AFAIK.
I think you're misunderstanding how fees & carry works. The carry is not paid out until the fund returns its investment, much later, so its $2M in your example isn't paid out until years down the line. The only way that the firm can pay salaries etc. is from the management fees.
> once you adopt Promises a large portion of your code will have to be tailored to use it.

This isn't a necessity, since you can create a function which both returns a Promise and accepts a callback. Most Promise libraries make this easy to support, which makes it easy to introduce Promises into projects that already use callbacks, and vice-versa.
If you ever see anything whatsoever that can be improved about how things work on Apple platforms, it's always good to file an enhancement request through Apple's bug reporter site: http://radar.apple.com or http://bugreport.apple.com (both links end up at the same place).

And if that's a bit too techie for you with all the form fields that are designed for developers, there's a consumer-friendly site that similarly allows you to submit suggestions including enhancement requests at https://www.apple.com/feedback/ .
Yeah, and the vastly greater size fed directly into it not being commercially viable because of massively lower yield, all things being equal.

Add an unrealistic requirement for ultra clean power, and the thesis of the article is quite debatable; this chip "worked in the lab" but was not viable outside of it. Perhaps a good learning experience for TI, but hard to see more than that.
for the sake of being the devil's advocate, how could one carve out a little more room for interpersonal disputes such as this to be adjudicated? consent is too abstract to be measured, so proof is an impossibly high standard in a practical sense.
I had some of my best years working on the operations side of Messenger. I learned a lot from David, Jonathan, Yikang (and a few others whose names I can't remember). We did some very cool things that were ahead of our time. Sorry to hear about the morale issues. MSN was never given a fair shake by MS.

Thanks for the trip down memory lane David.
-Your buddy sending you all those CS and SB stack traces.
Correct me if I'm wrong, but the first couple of sentences seems wrong. Git can only be initiated in an empty directory.

Other than that: This is a very short and concise introduction, especially the merging.
Yes, and it also makes prosecuting rape very difficult, in a structural way. It's a reminder that there are real trade-offs in criminal justice. That's why people can, in good faith, argue for not reading Constitutional protections in the broadest possible light.
Interesting, but I'd rather let SSH handle the SSH connection. Just add a command to the parameters, e.g. to run top:

ssh -t hostname top
“What I'm more concerned about is what I consider valid property rights such as physical property (equipment, your home, business) and your own body (expression, substances, etc).”

To an extent, even these forms of capital are accrued on the back of societal and cultural context.

If one inherit's a home from a family member, under what contexts was that permitted? Did we stop to evaluate how much capital and property right was appropriated illegitimately? Did we evaluate government endorsed privilege and bias in the transaction[1]?

Did we stop to evaluate what property was accumulated under corrupt special-interest lobbying such as the TPP itself?

Ultimately, all capital and property is birthed from the culture. In many instances, gender and sex, birthright, race, and a plethora of other chance based factors result in an accumulation or deflation of capital and property.

[1] See legislated housing policies in Chicago for example. http://www.newrepublic.com/article/117912/reparations-how-mo...
http://typedrummer.com/pew13f
I'm intrigued as to why you think this approach is better than using a key? The 'shouldComponentUpdate' way of doing things means any changes to props or state on the component have to be handled manually, which can introduce a lot of non-trivial and overly complex code.
Previous discussion: https://news.ycombinator.com/item?id=9453754
That sounds entertaining. Can you link to some examples?
It's what I've observed as well. Plenty of low-income people get cheap chinese tablets, usually generic-brand entry-level models. No idea about the price but I don't think they're a hair above $100, possibly less than half that.
There is a lot of different companies out there in a lot of different places, so I can only answer from my experience. I am from Germany, I work in the US under a H1B visa.

All else being equal, most companies would prefer to hire someone from the US or someone who has a green card. But like you said, now many tech companies have trouble to find talented people. The company where I work has an especially hard time find mobile developers (iOS and Android). Those companies would be happy to hire you.

The problem in the US is that is actually very difficult to get a visa. Visa law is very complicated. I would say, read up on different kinds of US visas and see if there is one that could apply to you. There is also the "green card lottery", where a certain number of people each year get an unconditional green card.

This all being said, unless you plan to study in the US I think your changes in the EU would be better.
rtop collects a bunch of metrics and displays them. The equivalent would be to scp a script first then "ssh host /path/to/script" it.