skysight-inc/HackerNews huggingface dataset:
I don't believe that the author thought he was doing the right thing as a legislator! I think he was trying to save the state some money, without thinking carefully about how those savings would impact people's lives. As you sow...
Show HN: ARush - Watching the bird fall
ARush is a #hashtag filterable post wall for #adn - fork the project and add things you'd like to see! http://aru.sh/ :)
Yeah, he was clearly being sarcastic. Sarcasm is generally a bad rhetorical device.
Earth-sized planet discovered in nearby α Centauri star system
Related: I think perhaps the most valuable aspect of teaching beginners how to use vim/emacs (in a basic sense at least) is that it isn't necessarily just for programming. You can "practice" with just about everything you write, and if you stick with it become even more efficient in all your other work outside of programming. I started writing almost all of my letters and essays in vim because it's so much faster and in one environment that I can modify to my own needs.
I would love to see studies like this that further explore the relationship between length of time spent sleeping and health/behavioural benefits.

For this study, did they choose 8.5 and 4.5 hours arbitrarily? Probably not, but a comparison over more gradated time intervals would be really interesting.
Transcribing audio is not programming. Programming has very exacting syntax. Anything that helps (color coding, syntax highlighting, etc) speeds things up. Have you ever tried to write Java without an ide? There's no possible world in which using Notepad is going to be superior to just about anything else.
That comment you quoted was in the context of hardcore games. I doubt the next Elder Scrolls planned on being a Metro-style app.

However, that's a fair comment regarding apps in general, and I agree with that. But developers aren't being forced to use the store, so if they don't want to meet market demands (if there is any - Metro with a mouse has had mixed reviews), that's their choice. MS has never been in a position to dictate this sort of choice before, so it's impossible for that type of restriction to have occurred before.
Corporate is more conservative with putting money into something, that will not bring tangible benefits. In many companies still have process for deciding, whether someone needs laptop or desktop will do. Yes, the difference may be 50-100 EUR, but multiply that by the size of workforce and you get a serious coin.

Consumer market on the other hand is much more emotional. Consumers will buy something without clear reasons, just because they want it.
Oh, I agree, the syntax highlighting does help when I'm reading back through it, but in the act of actually coding I find it a distraction, I prefer not to look while I code and the colours draw my eyes.
It'd be nice if there was an example of deadlock scenarios.
A real compression algorithm experiences its gain due to low-entropy distribution of the input values.

If your input is randomly distributed integers in the interval [0, 2^n), a bit-packed coding is the most efficient possible.
The aesthetics of code
That's a trick question. You never learn vim. You just suck less at it as time goes by.
"America is built on the backs of immigrants and having maximum quotas for the immigration of the highest skilled ones does not seem like artificially increasing the supply."

I mean artificially increasing the supply relative to other professions. If we "staple a green card to every STEM degree" but not other degrees, we will increase the supply of STEM workers relative to lawyers, MBAs, finance majors, and so forth. And trust me, those guys bill more than $100 an hour. Those guys will make that "ridiculous" rate look very reasonable.

I would actually support a specific emphasis on STEM workers if there were evidence of a shortage, but there isn't. Like you, I know people doing pretty well, but that's not going to override the conclusions of a careful study by the RAND institute, or other surveys that show that wages are not increasing anywhere the rate you'd expect.

Just to be clear - I am not opposed to general immigration or skilled immigration. Immigrants will come to the US, many will be skilled, and some of the skilled will be skilled in STEM fields. However, I'd need to see more evidence of a shortage before I'd support specifically tinkering with the immigration system to get a higher percentage of STEM workers relative to other types of skilled workers.
Show HN: A JavaScript browser for RESTful JSON APIs
Microsoft’s lousy Surface ad
A modular HTML5 Synthesizer
They're orthogonal skills though - new programmers have a hard enough time with the concepts of arrays and variables, and won't be productive until they get those straight, no matter how leet their text editor skillz are. I think the OP is right to suggest learning one at a time.
Microsoft's own distortion field: Surface RT
What languages do you typically work iwth?
> A person who is balls deep familiar with Sublime Text 2 or Visual Studio will be just as fast due to experience.

I wouldn't state this as if it were fact either. The biggest gain for me is the ability to quickly and easily script my text editor to do tasks for me. Sublime Text 2 has a macro system, but it looks neither quick nor easy to write scripts for. Visual Studio looks like it no longer supports macros as of VS2012.
I have in fact tried and succeeded in writing Java without an IDE, but in all honesty, I believe your using it as an example says more about the overly verbose nature of the language than the tool of choice.
I feel the same way. Most of my time is spent thinking about how I'm going to do something or how I can make it better, I just can't imagine these tools significantly improving my productivity. I use Notepad++ for most things.
I can't believe someone at MS thought this was a good idea. Looks like an episode from "Glee" -- not in a good way. Catholic school girls acting like cheerleaders?
I actually switched my parents from XP to Ubuntu few years ago (because any support would involve travelling). Since then, the most serious problem was yanked ethernet cable.
Agreed. And, not to start the great text editor holy war, but some variant of vi will be pre-installed on almost any *NIX system (although it's been replaced by nano in a lot of newer Linux distros)
This is such an obtuse way to meet girls that it might actually work!
Out of interest, what other libraries did you consider?

A break down of pros and cons for each would be really useful, and I'm not sure anyone has done that already (at least I can't find any after a quick search).
"25% of prisoners are there because of ADHD"

Source?
That's awesome--I didn't know CloudFlare has a free layer. I'd thought about using S3 or Heroku for hosting static webpages, but I didn't feel like trusting a single Heroku dyno to a traffic surge and lost my interest in using S3 once I found out Google Cloud Storage now lets you host naked domains!
Mostly PHP at work, with anything from pure php to zend or codeigniter (both of which don't have correct syntax highlighting in the IDE we have to use there.)

When I get home it's anything from C++ to Java, but occasionally in my spare time I throw together the occasional Python script (and once, Ruby, when I was working with a program called GameMaker which accepted plugins only as DLLs or imbedded ruby scripts)
Could someone give a practical example of a use case for this? This is probably useful for some typical problems in Backbone applications but not something I knew I would need (having built a couple of non-trivial Backbone apps).
The $0/hour is to redirect your most popular slack sites in (e.g. Facebook) using /etc/hosts. You can redirect them to localhost, or to something you personally find annoying. :P
I wish more reviews would use animated GIFs, like this article does, to illustrate interactive features. Better than static images and easier to load and watch than a video.
No way of not sounding pedantic but neither TextMate nor Vim are IDEs.
Ignoring the moronic link bait about slapping, essentially what he did was apply pair programming to writing. It would make far more economic sense to do this as well, since the level of entry to get a person to pair with to write is far lower than for a programmer, so kudos.
It's nice to know I'm not alone here, I was beginning to feel like a duck out of water seeing the other (but also, equally valid) responses.
You can get the source code right from github:
https://github.com/dart-lang/bleeding_edge
>Want a bicycle, but you’d rather not buy stolen bikes from the corner of Market and 7th? To Craigslist we go.

Ironic, since Craigslist is infested with stolen bike listings :(.
I would disagree that that's the easiest way.

C-x C-f /ssh:user@host:/path/to/httpd.conf

... and I have it open in my local emacs, with my own settings, with colour and indenting, and no lag when I'm editing. (this is called tramp mode)

And if I then typed M-x eshell, I'd have a shell at the directory where I opened that file, and the nano users would start shouting 'burn the witch!'.

Other editors also support remote editing over ssh - no need to download/upload, the editor takes care of that for you. Working this way, I don't even have to trust that the remote server has nano or emacs or whatever - which it often doesn't.
What kind of settings do you use when in letter-writing-mode? I feel like vim is fairly useless to me for anything that isn't 80 (or 100) character max line based, which isn't how I write letters at all. If I autowrap then its a giant pain to reflow the text (maybe there's an easy way to do that), and if I don't then simple navigation is a giant pain.
Typing and thinking faster is pretty much the rationale for every single feature in a text editor, so I'd say the burden is on you to explain why you don't believe it. For typing faster, you can get around the text quickly, do autocomplete, automate repetitive things, etc. For thinking faster, you can more quickly look around a project and get information, you can access documentation and metadata easier, and you can more easily create quick prototypes for testing ideas.
That isn't an argument for using a rock. Just because Beethoven was capable of composing incredible symphonies while deaf doesn't mean that you should deafen yourself while composing.
"Are you saying in other countries the family/extended family generally care for the individual?"

Schizophrenia is basically triggered & exacerbated by stress. If one becomes schizophrenic then it's possible to mostly recover from psychosis in low stress environments, but in higher stress environments it basically becomes permanent.

I think that Ethan Watters discusses why it is that people in poor countries do better due to social factors in his book Crazy Like Us, and Robert Whitaker discusses the role of anti-psychotics in Anatomy of an Epidemic.

In terms of social factors though, I vaguely remember that in poor countries families are more likely to let people with schizophrenia just hang out and work on recovering for years at a time, whereas in more developed countries this is less likely to happen. (Possibly because this isn't as possible due to the higher costs of living and the greater stresses of living in a society with a very unequal distribution of wealth, but I forget the exact mechanism.)

As for the basic data, here is one book that summarizes it:

http://ajp.psychiatryonline.org/article.aspx?articleid=98965
This is essentially pair-programming, and seems to be the reason he got more done -- a great idea to improve productivity.
Sublime text or Spyder. Others have talked about ST, I'll talk about Spyder. Spyder is a little bit bigger of a hog, but it has autocompletion for functions which is incredibly handy for discovering what can be done, and it helps you pick out the differences between objects (oh, a list and a string have these similar operations to them, cool!).

It has a built in console, which is great to keep focused on single screen. Instead of resizing and shuffling windows, just keep it all in one display. Press F5 to run your code. Fire up a console and try something out (with autocompletion in the console too).

It also has built in documentation, an object explorer, and some other cool features that are escaping me. It hasn't always treated me nicely (sometimes it forgets to reload my code, or it goes out of style (literally, it loses styles sometimes)), but overall it's a good spearhead for getting up to speed quickly with Python.

Spyder - http://code.google.com/p/spyderlib/
We used compass and sass to make certain things (e.g. CSS3 cross browser) a little simpler, but the rest was coded from scratch I believe.
Is this possible in LESS?

I know LESS mixins "is kind of the same thing", but the way i understand the %placholder is that it doesn't paste code into the class where you call it. It actually builds a dynamic class containing the code and then add the selectors/classes/ids (thats using the placeholder) to that class. Right? Right.
Microsoft Surface Team Dances Around Resolution vs. iPad
Thanks, interesting... though the opening line does seem to suggest marijuana use remains especially linked with schizophrenia -- in prevalence at least:

Alcohol use disorder, which is three times more common in patients with schizophrenia than in the general population, and cannabis use disorder, which is up to 10 times more common, both contribute to the morbidity of schizophrenia, through increased relapse, noncompliance with treatment, more hospitalizations, and poorer overall functioning.
> First, you can't claim to have created an ethical principle if it's self-contradictory. If accidental infringement is an essential result, then something is wrong.

I don't think I follow what you're trying to say. My point is that whether something can be accidentally infringed or not is a weird criterion to use to separate ethical and unethical restraints on free expression. We create civil liability for lots of things that happen on accident. I think the ethical discussion, if there is one, centers on whether these restraints on free expression or valid in the first place.

> Second, I am not referring to trademarks as presently defined.

You said that trademarks/copyright could be distinguished from patent based on accidental infringement. You could define trademarks in a way where accidental infringement didn't create liability, but you could define patents that way too. Neither are defined that way presently.

> Third, requiring someone to prove their innocence violates one of the most basic principles of ethical justice.

I'm not sure what 3rd grade reading level principles of ethical justice you're talking about. We require defendants to prove certain affirmative defenses all the time, generally in cases where something is unlikely to have occurred without wrongdoing. E.g. if you kill somebody in self defense, you're obligated to at least present evidence that it was in self-defense. And of course we're talking about civil litigation here, not criminal litigation. "Innocence" is the wrong terminology.

> Fourth, it is irrelevant to this discussion how often it is, but clearly, 40,000 software patents filed per year constitutes a lot of opportunity for infringement. If you are doing something meaningful and interesting, you are likely violating a patent. But again, this point is not essential to the main issue.

I'm not the one who said that people "often" accidentally infringe patents, you were.
I like the idea in theory, but, if I hired someone to help me stay on task from craigslist they (probably) wouldn't undertand various programming tasks I was working on... so most likely they would not be able to stay on task at keeping me to stay on task ;)
Totally true, but what could that same skilled artist do with a hammer?
I'll second that recommendation for nano as a CLI text editor - it does have syntax highlighting, and it's available by default on most relatively modern Linux distros. (But, yeah, for new programming students, Geany is a great choice, as is plain ol' gedit.)
Schizophrenia like autism is not something to pin down to any one cause. The symptoms are like an equation and the defects are the values which cause the expression of the disease/satisfy the equation/describe the surface. There are many genes that are culprit to the disease as well a number of environmental factors, so it is possible that parasites may induce the symptoms for certain (possibly less robust) phenotypes. But it does not mean that the disease is caused by parasites any more than a plane can be a point.

One hypothesis I read recently is that schizophrenia is an emergent phenomenon of a brain trying to compensate for any number of gene induced deficiencies in wiring but instead over compensating due in part to the faulty wiring in the first place, thus creating a negative feedback loop as the brain develops and wires itself.

Again on connectivity errors, schizophrenia is also associated with a malfunction in how the default mode and task positive networks interact with each other, where in schizo, default is not properly attenuated leading to higher likelihood of dissociativity. I read recently on using ketamine to study this particular malfunction: see http://www.schizophreniaforum.org/new/detail.asp?id=1809

As for [4] it is worth reading: http://www.bmj.com/content/345/bmj.e6673. Aside from the separate dangers of overuse of antibiotics, the matter is way more subtle than being too clean. Yes we have lost contact with certain reinforcing environmental pathogens, but it is also true that the gain from cleanliness far outmatches the current risk of autoimmune disorders.

UK researchers say that they have dismantled the “myth” that allergic diseases have risen to epidemic levels because people now live in sterile homes and have become “too clean.”
....
The report says that although deficiencies in microbial exposure could be important in the rise in allergies and chronic inflammatory diseases—driven also by genetic predisposition and modern lifestyle factors such as different diets, stress, inactivity, and pollution—it is not yet clear how the trend can be reversed.

Rook said, “There are lots of ideas being explored, but relaxing hygiene regimes won’t reunite us with our old friends—just expose us to new enemies like E coli 0104.”
Ed Tech Makes Consumer Electronics Association's Top 5 Trends
I mount head and tail lights on a helmet so I don't have to care about that part. You can also put lights on your bags too. The lights are often the most expensive part.

For stronger wheels & tires, I'd just get a thicker tire bike. For a strong frame I just go with cromoly. You don't need anything special then as far as strength goes. The rack, fenders and strap can be had for $50 total after all of that.
It's funny how the author seems to have gone out of their way to avoid mentioning MySQL in the list of database systems which utilize MVCC.

Just saying.
I perfectly agree with you that using a quality IDE allows you to achieve all of those things and I don't argue that features such as autocomplete (and I believe you touched on macros) can be extremely useful.

But I still pose the question, why is it worth the time to learn what is considered a complicated IDE (if it needs to be taught)? Would the time not be spent better, say, being genuinely productive, rather than merely preparing for future productivity?

We live in the here and now, my boss wants to hear that my project will be done on time, not that it will be a week late because I need to learn the more fickle aspects of an IDE he didn't sanction before I can finish it.
schizophrenia isn't the only concern with pot

http://www.pnas.org/content/early/2012/08/22/1206820109: "Findings are suggestive of a neurotoxic effect of cannabis on the adolescent brain"
Did "Stevie" actually type in his response during the AMA or just cut-and-paste it in from prepared material?
> Before we had these drugs, schizophrenic patients were basically tortured (e.g. Lobotomy) because there was no way to help them.

The drugs are no better. I have done a couple stints in a private mental health (inpatient and outpatient) facilities when dealing with what was diagnosed as Schizo-affective disorder (which is basically the presence of schizophrenia and a mood disorder) and there was a teen there who was schizophrenic. He was a large dose of Risperdal (one of the major anti-psychotics) to treat the schizophrenia. I don't think I will ever forget the few weeks the doctor took him off his Risperdal. He was completely different. When on the drug, he was slow and almost catatonic at times. After been weened off, he actually had personality.
Have you tried touchpads? Switching to touchpad takes almost no time.
In my opinion the only reason a closed system like Windows is still so dominant is the open nature of it's software distribution. Close that and the masses will move away. I write Windows apps purely because there are no restrictions on distribution/deployment, and because of the huge user base. When the status quo changes, I move.
... and may be you don't call her a slapper in your blog posts or she may slap you for real. I would. She should...
I read somewhere that the tilt-shift effect is actually a performance booster as well as stylistic choice – it creates an LOD cutoff that enables lower-poly models to be rendered in the background to offset extra-high detail in the foreground.
C-x C-c I believe

Keep your friends close, and your enemies closer :)
But here you reverse the burden of action, if every person was born death, as if the metaphor is applied to reality, then surely, the others go out of their way when they could be composing incredible symphonies all along?
Thanks for expanding on the differences
Anyone Can Ride Rails - should I write this book?
I was all fired up to write this, but have started to have second thoughts. What do you think - should I keep going?

Please be as frank and honest as you like. I will warn you in advance though that non-Rubyists might find my tone a little nauseating because I speak highly of Rails and Ruby - not just because I'm a genuine fan but because I see it as absolutely pivotal to keep my readers motivated and excited. (That was certainly what got me through all the books and resources when I was starting out, so apologies in advance for that!)

You can download what I have written so far from here: http://astonj.com/anyone-can-ride-rails.pdf
You could think of it as an abstraction of the Router mechanism.
I respect your opinion about Civ5, but it's worth pointing out that it did recently get a very large expansion pack called "Gods & Kings" [1] which improved (IMHO) the dynamics of play quite a bit. I would have to concede that the AI is still incredibly poor however.

[1] http://en.wikipedia.org/wiki/Civilization_V:_Gods_%26_Kings
Everyone loves to shit all over Java, but Mahout, RapidMiner, Weka, Hive, HBase are all written in it.
From command mode, it's the same, from insert mode you need to know how to get to command mode, so it's harder to get out of vi compared to ed.
Found my lost bike the the basement of the Alamo.
http://astonj.com/anyone-can-ride-rails.pdf
The danger is that in future APIs may be tied to the Windows Store. This is already happening on Mac OS X where if you want to use the iCloud API your app must be distributed through the Mac App Store.
Ok, super to see you're on top of this and looking at all angles.

School can be hell if you are standing out in whatever way, and cause and effect can be hard to separate sometimes. Night terrors could be causing trouble in school, school trouble could be causing night terrors just the same.

I wish you the very best of luck with this, and I hope that it will all come to a good resolution.