skysight-inc/HackerNews huggingface dataset:
Eh, Ruby doesn't do well with parallelism anyway. If you're running your tests in parallel, you're usually running them in different processes. Or on different machines entirely. Either way, monkey patching one of those processes won't affect other ones.

Besides, if there is a testing library that runs multiple tests in parallel in the same processes (which maybe there is and I'm just not aware of it), making your mocking library smart enough to handle that, isn't difficult. Stubbing only for a particular thread, for instance.
Turbolinks and the Prague Café Effect
Just in case you didn't know, you can access screens scrollback by hitting Control-a [ (exist with escape).
The log viewer and query tools looks excellent.

Here are some (hopefully) constructive comments:

- As others have mentioned, change the NS prefix. Only Apple should be using that.

- The API is not canonical looking Objective-C/Cocoa. It looks like the programmer has a Windows/C++ background

- I only took a quick look but I didn't see logging macros that conditionally compile out logging for release builds

- Internally the logger uses pthreads. This is going to make it difficult on a client that uses Grand Central Dispatch to reason about code when they are debugging something. Consider using queues and operations rather than firing up worker threads. Take a look at CocoaLumberjack for their approach

- Create a Cocoapod to spur adoption
I use dwm and sometimes st if I want a really quick terminal or need a really minimal one.
True. In my experience, the professors really worked hard for the development who had the desire to go beyond the required material. It's just that the average student will never think about going beyond what is required for the class.
Oh, I never said I'll use this question. It is totally useless - like you said it is a merely a test of memory. I just wanted to see how my memory works :)
http://www.tpbafk.tv

A documentary film-maker has been filming this since 2008. It scheduled for release in 2013 and will be released as download (cc licensed), but also on Swedish national TV.
A micro Lisp interpreter in 27 LOC
>I can't imagine normal healthy people routinely taking a drug and teaching their children to take one. And yet this happens with coffee all the time. Many are even proud of their addiction ("coffee snobs").

It also happens with sugars, salt, corn syrup and tons of other stuff.

Lots of things can be a "drug". Coffee, when drank in moderation, is actually absolutely beneficial to one's health.
By the way, with mosh we can have persistent shell over changing IP address, is there a text editor that would work with SFTP in a similar persistent way?

I mean, suppose I work on a project, close the laptop lid and some time later, open it. I might have a new IP, or in general the SSH connection might have been terminated.

In that case I would have to reload all the files in the project. Would it be possible to do IP hopping and maintain the SFTP connection unterminated?

I use Mac OS.
Screen doesn't 'sabotage' it. You're running a program called Screen. It has its own scrollback.
There was a heroin addict who filmed himself going cold turkey for his family, and at the end of the video, was himself on camera, having a brain hemorrhage.

Very unlike caffeine.
The X protocol is not particularly well-designed for this. (The X protocol is not particularly well-designed for lots of things.)

One of mosh's advantages is that it does screen rendering on the server, and then synchronizes the screen with the client. So, if there's been ten screenfuls of outputs, and those packets were lost or delayed or the connection couldn't keep up, the client only needs to receive what's currently on the screen. (This doesn't work in the other direction, but there's typically a lot less traffic in that direction.)

You can't quite do that with X, since the X protocol itself involves no way to get / diff / synchronize the contents of the screen -- it involves a bunch of rendering operations, so if there's a delay, it needs to re-send those operations.

Still, there's an open ticket:
https://github.com/keithw/mosh/issues/41
As with Valve, it has nothing to do with the OS which works for the most part as Windows 7 for these desktop apps and everything to do with Microsoft's App Store.
Sort of an odd question, but have you found that the flora of your mouth changed when you cut out all of the acidity and sugary drinks? Less plaque \ bad breath?

How long does it take you to go from first opening your eyes when you awake, to being 'normally awake'? One of my big things is to get out of bed ASAP and get a dose of caffeine right away (powdered, usually). It's a fairly small dose (50mg) but I found that I really despise the first few waking moments enough to keep it up.
It is - the title is just blatant linkbait.
The Book Boys of Mumbai
Thanks very much! Whoops, it looks like your email isn't visible. Would you be so kind as to contact me through shannon at rocketships ca?
If you look at USA and look at which state is the darkest for all of the search terms, California is the darkest for each.
> Nobody actually does plain “JavaScript” programming for the web anymore, not really anyway. Do they use the core language? Yes. But we no longer use any of the built-in JavaScript->HTML functionality directly.

Which is sort of a shame because there's stuff in there that totally obviates the need to haphazardly traverse the dom with jQuery.

Finding the form an input element belongs to in jQuery:

$('input').parents('form');

// or probably
$('input').parent().parent().parent().find('form');

Finding the same thing using the DOM API:

document.querySelector('input').form;

You'd want to mix those two, in a real use case:

$('input').on('click', function(evt) {
var form = this.form;
});

Then you don't even need jQuery to use the FormData API:

// where `submit` uses XHR2 to make a request
<input type="submit" onclick="submit(this.form)">
>Weird, last time I checked I actually could avoid staring at people. Naked people too. Must be a superpower or something.

Yes, it must be. Surely it's not normal or representative of the general population. The normal thing to do in such situations is to stare (something that has been milked for comedic effect in hundreds of "hidden camera" pranks).

That said, I don't really believe what you claim. You are probably overestimating your powers of not staring in a kind of Dunning Kruger effect. I'm pretty sure if Megan Fox (or whatever rocks your boat) entered your classroom naked you WOULD stare. A lot.
That's somewhat on purpose -- terminal rendering is on the server-side, so that if there's a lot of changes to the screen (a long terminal command, a full-screen curses app that did several updates, etc.), and the connection was bad during that, then the client only needs to see what's currently on the screen. If you're ever used a curses app over a bad connection, and seen it slowly update itself over the course of several seconds to catch up, you can understand why this is useful.

As other folks have mentioned, if you run screen on the server-side, then you can ask screen for its scrollback. Also, see this open ticket:
https://github.com/keithw/mosh/issues/2
Mike, what was your thinking behind submitting this to Hacker News?
Has anyone tried this and see someone else's writing?
I did a refresh (first time using it - only person on this laptop) and when it came back it said "This is a test page... xyxysaysdfas" etc.
The url was http://solitarydesigns.net/write/#v2
I prefer http://exponwords.com/ Lean, free, open source, web based, works well on mobile. I use it every day, mostly to learn German. (I know the author.)
Mentally rewriting the beginning of your last paragraph to "Sometimes Java or C++ is the right language to use, but most..." made it make considerably more sense to me.

As it stands, I think the double-aren't is colloquial or a mistake; I honestly couldn't follow the meaning of the overall triple-negative. :) Not trying to be a jerk - I love reading your stuff, but I spent more than a minute thinking about that sentence before just guessing it from the rest of what you said.
Never having liked the taste of coffee, I rarely drink it. I think the first time I had one was in a school field trip where everyone decided to pull our first all-nighter. Now I only use it when I need to finish something with a deadline and I can't possibly sleep to do it (this would be mitigated with better time management, but alas, this is how it is).

Never having made an habit of it though, a single espresso (1 once) gives me the jitters, a slight disturbing feeling in my heart area and keeps me fully pumped up for about ~4 hours if I am falling asleep when I take it.

I think this way of using it is much more valuable than "wasting" it by accustoming my body to a morning "pick-me-up" ritual.
> I think it's reasonable to interpret "Two or more persons" to include corporations

But are there any legal grounds to suggest that a corporation is always located where its incorporation papers are?

Even if the judges took this line of reasoning seriously this far, we have to figure out where a corporation is located. It's probably at a headquarters, or at least whatever address they've confirmed with the secretary of state for receipt of service.
"Anything that appears in WP should be traceable to multiple reliable printed sources."

However, even "professional" journalists have become so sloppy these days that it's likely that the printed source used Wikipedia as the basis for its information.
Hmm,

When you put it that way, it sounds unlikely.

I think neuroscience has found that while the potential for an action begins before a person realizes it, the fully formed action only happens in your hands or your mouth as you type or say something.

Anyway, something that somehow predicted even most of things you query for wouldn't feel terribly pleasant and probably wouldn't get all of your choices.

A search engine that could let say "word1 is a category, word2 is an adjective.." etc but that would require more, not less thought.

Really, you could talk to Google in full sentences "like a person", would you want to? For most your searches would you want to? For some of them, yes.

Hmm...
Is there a neat VPN solution that would work through SSH ?

It is much easier to use one of the servers you have than pay for a VPN account to a provider.
Rust - A Safe, Concurrent, and Fast language by Mozilla
Lean Startup Machine Berlin
Even more: screen doesn't even always do that... I'm always in a screen, and if I scroll in iTerm2 (yes: using my trackpad as a mouse-wheel) it usually works the way I'd expect (I can naturally scroll back through the recent history of my shell session), and I can additionally scroll in screen (which will have weird ramifications, of course, on my local terminal scroll-back). (I have found this offers "best of both worlds", as I can get my recent scrollback locally and gracefully, but can dig through the history to get things I may have typed from different machines.)
Yes but they were only available to one user and that could only log in via the console server.

Joy to ACLs, custom Solaris builds and proper kit (ultra enterprise units the size of a full 42u rack).

I miss those days.
This is why I went back to Snow Leopard from Mountain Lion. Download file, install dmg (or exe), use software... "app store" irrelevant.
If you're sending someone an email, Google keeping track of "John Doe emails huhtenberg@whatever.com" is much less of a threat than all of the dozens of intermediate parties that will record your email indefinitely.
Please re-read my comment. I acknowledge that both solutions have implementation and maintenance costs - which include the cost of re-training.

Anything over and above that _is_ waste.

(FWIW, I dislike the term 'training'. Someone else said this first, but I agree: training is what you do to dogs, education is what you provide people.)
The video to go along with the slides. https://www.youtube.com/watch?v=bAHItZ1cSNM
One thing that's distinctly better is that the backoff/recovery behavior of SSP (mosh's custom encrypted protocol, over UDP) works a lot better than TCP's. If I'm typing, and there's a network blip for e.g. thirty seconds (cell handoff), SSH will literally take minutes to get back to normal, and it'll be easier for me to kill SSH and restart the connection. mosh will recover much more quickly. TCP was written in the days when congestion on a shared Ethernet segment was a thing people actually ran into; with wireless and cell networks, that's not actually your protocol's biggest concern.

The common-case latency, when there's a good network connection, shouldn't differ much.
Yeah, I've got to be honest -- the name of the app is pretty counterintuitive. I couldn't understand how it was distraction-free. I kept switching tabs to see if it would punish me for distracting myself or something, but it didn't seem to have anything to do with being distraction-free at all. It's not until I read some of the comments that I realized it meant "distraction-free from editor UI & markup".
JavaScript (ES6) Has Tail Call Optimization
File managers aren't file pickers. 3rd party apps do not integrate with them.
You can pick a single UDP port and use `mosh -p`.

Absent a single privileged moshd, though, every user's mosh-server process needs to have its own UDP port, hence the default behavior. If you want to assign yourself a UDP port and open that single port on the firewall, you can, though.
Yours looks pretty good, Wolfram! Gave me a couple of ideas. Here's where I'm at currently, if you're interested. http://rocketships.ca/

I like that clean, well organized feel.
Your output is still only as correct as your specification of your initial assumptions.

For example, lets say you make a mistake in your test so you are checking (result = expected_result), which is always true, instead of (result == expected_result). Now when you write your code, you run the test and it passes.

In this case your code may or may not be correct, and the test, which contains a bug, does not catch it. But the bug is not a fundamental misunderstanding of the problem, rather a simple mistake in writing the test. Following strict TDD doesn't prevent this.
Are you kidding? I just had an epidural for my appendectomy, they had me open and closed in 15 minutes. We even kept cracking jokes during the surgery.
The Stubborn, In Search Of An Open Mind
There's another use case that is just as important in my opinion: offline mode. The Turbolinks folks would argue "you are not on a fucking plane"[1], but I have been on a plane and wanted to access things like GitHub issues.

The architecture that allows JavaScript apps to win the "Prague café effect" also makes it possible to write web apps that are still useful without an internet connection, so long as the user has downloaded some information in the past.

DHH has said that things like Turbolinks are "a stop-gap on the road to having persistent JS runtime across page changes"[2], and I think he's right. The tooling is still very immature right now, which is why people like Turbolinks: it fits into an extremely well-polished workflow. But I'm excited about the next few years, as frameworks like Ember and Backbone reach the maturity of server-side frameworks.

[1]: http://37signals.com/svn/posts/347-youre-not-on-a-fucking-pl...
[2]: https://twitter.com/dhh/status/281432076199280640
> so if you hit ^C it will abort stuff even if the screen is scrolling

I might be wrong, but AFAIK the fact that your terminal isn't handling this correctly already is due to a flow control setup problem somewhere in the chain (probably the terminal itself, as usually the server-side components are the most ancient): if your local console is only able to download and display and scroll data at a certain rate, it should "push back" on the server to get it to send you data at a slower rate, which in turn will push back on the terminal. When setup correctly, this flows all the way back to the original application, which will itself slow down whatever it is that it is doing.
This is good but the amount of times I've gone past a bus stop or station recently is insane :)
I'm sure that Starcraft 2 is still a commercial success. It might not have made as much as WoW yet, but as expansions come out it will definitely is going to make a lot of money. I'm sure they'll also experiment with different monetization models like they are with Diablo 3.
Salt and corn syrup are drugs? Explain please.
Point well received, but just to be dead sure: System Preferences -> Security & Privacy -> Allow Applications downloaded from: [X] Anywhere will restore previous behavior.
Interesting point. I think an analogy that many people can appreciate is that one's knowledge of a language and libraries plays the same role in programming that one's knowledge of mathematics plays when learning physics in school. If you're struggling with the math, you aren't able to devote much thought to the physics you're supposed to be learning. I understood the principle very well in school and always made sure to refresh my knowledge of the required math skills before tackling my physics work, but I haven't applied it to programming as well as I should. Food for thought.
Distraction free, except for the added and unnecessary distraction of typewriter sound effects.
>I didn't know everyone hates Perl and I also didn't know those were the reason. Surely we don't want strange languages? </sarcasm>

Why the sarcasm? "Everyone", in everyday talk means "most people", and considered that Perl has long lost the spotlight it once had as a scripting language, that is a lot of people.

As for the "strange" part, yes, surely we "don't want strange languages". Strange languages have always been marginal, with C (Algol) style languages always being the most popular.

Here by strange he obviously alludes to the "syntactic noise"-likeness of the language's syntax, one of the most common complaint's about it.

>How is javascript like assembly?

In the obvious way that is used as a target language for stuff, from emscripten to coffeescript, to TypeScript, to Dart, to clojurescript, to GWT.

It's been called multiple types, including in HN, "the assembly/bytecode of the web world" in case you haven't noticed.

>Sorry, this just means you're a shitty developer and/or can't manage deadlines very well.

Which includes most of the industry, so it cannot be dismissed with an work ethic/abilities slant like that. It's common knowledge (and inspected in literature) that most IT project fail, for example. You really think it's because of "shitty developers"? Do you think Brook's team had "shitty developers"? Or the team that worked on Chandler? (read "The Mythical Man Month" and "Dreaming in Code" respectively).
This is pretty inspiring. It is always amazing to people how much diet and exercise affect their health, which I find amazing that they are amazed. Its fundamental. Of course the ulcers could have been cleared up with the right antibiotics [1] but regardless, Bryan is in a much better place than he was and it doesn't matter which path he took.

[1] http://www.cdc.gov/ulcer/consumer.htm
In my brief scan, most of these designs seem to center around tasteful use of photography; there isn't as much in the way of impressive web design.

Good photography undoubtedly improves the visual appeal of a site, but I often find myself in a position with just layouts, text, and a few assets. Being able to turn your basic tools into a visually appealing site is what I see as excellent web design.
A social network for coders
There's a ticket (with no discussion) about a mosh equivalent for SFTP/sshfs:
https://github.com/keithw/mosh/issues/280
You might want to check out the Kindle hacks that turn e-ink kindles into displays / terminals:

[1] http://www.turnkeylinux.org/blog/kindle-root

[2] http://tinyapps.org/docs/e-ink-monitor.html

[3] http://www.ponnuki.net/2012/09/kindleberry-pi
With respect, I think you're misled. The App Store is completely optional in Mountain Lion. Gatekeeper can be turned completely off if you so choose.
http://lesswrong.com/lw/frm/prediction_sources/7yr0
The article is unclear, but it sounds like Google is not involved in this.

Why isn't Google selling this technology to car companies? It seems like an excellent second revenue stream.
> Often, during the paralysis, I experience weird things that are part of the dream-like state I'm in; The feeling of something like a cat thrashing and hissing on top of me, or a strange spider-like leggy thing being on top of me, or the sensation of being watched, surrounded or having something near me.

That's probably your primal brain freaking out for being paralyzed in the dark.
We have an extensive JavaScript codebase at the large corporation I work at and by simply enforcing the use of ECMAScript 5 Strict Mode and verifying with JSLint we are able to catch most potential issues but then again, nobody there is writing large systems in JavaScript, only flourishes of browser-side interactivity...
I am using an early 2011 MPB. It was my first Mac (after using Debian for 4+ years). I needed it for my school work (using Adobe Photoshop was a must). I needed a computer I could easily carry (home to school and home to girlfriend's home, which is 700km from where I live).

I use my computer for web development, watching a few high resolution movies and playing to some humble bundle games. I didn't buy a MacBook Air because of the integrated graphic chip (some of my friends have one and using it with a 27' monitor made the MBA/MPB 13' really really hot, especially during the summer ; it was around 30/35°C in France). Plus I ended up doing my internship in a company where their core knowledge was working using WebGL. Anyone trying to use our product with a MBA/MBP 13' couldn't because of the integrated graphic.

I also tried to work directly on a server (for coding), it's really great but as soon as you don't have Internet (either you use your phone for the connection or you are stuck and you can't work) you are stuck. And I've been stuck more than I thought I will. I didn't know about mosh at the time and had also a few problems with connection/deconnection and that is really painfull when you are using a few ssh terminal at the same time.

As contingencies said, it's really about comfort, carrying one more kilo was not a problem for me and even if I could spare spending more money having the setup I needed and not being "stuck" when doing something is better than not spending a few euros.
Uh, there's nothing improper about writing jQuery code.
"It's not libelous"

Perhaps not, but PROVING that it's not is expensive.
I quit caffeine cold-turkey about a month ago and when I was still drinking caffeine I was much like you brewing a killer espresso at home or having an energy drink on the way to work.

The basic gist seems to be that caffeine allows you to not have a healthy morning ritual. After you quit you'll have to learn to have a decent breakfast and ideally some exercise as well, since otherwise you'll most likely just be a zombie until lunch every day.

This post, which includes some self-reflection, is the best on the topic I've come across: http://zentofitness.com/a-story-about-100-caffeine-free-livi...
> The two languages are used in very different ways

I thought so too. JavaScript seems like it's filling a gap, and by doing that it's ensuring its own survival. Either that, or we're forcing it into a specific purpose (i.e event based manipulation, animation, data i/o), but the end result will probably be the same. I have a hard time imagining something else coming along, at least not as long as JavaScript is... well, everywhere.

Thank you for explaining Perl to me. A proper module system, compile-time checking and the sort has, with JavaScript, been solved by using JSLint and AMD. Well, almost. It makes the code easier to maintain. Although I'm sure Perl is superior in that regard, it still works - and it works really well.