skysight-inc/HackerNews huggingface dataset:
Yes, Ctrl-v to enter visual-block mode, then move up or down to cover all lines where you want to make changes, then I{string}Esc to append a string at the cursor location on all lines.

See: http://vimdoc.sourceforge.net/htmldoc/visual.html#blockwise-...
Penanganan Penyempitan Pembuluh Darah Di Otak Dan Jantung Secara Tradisional
My wife and I live in a ~300 square foot apartment in NYC, although we don't feel like we've got plenty of room, we never feel cramped either. Moreover, we often have people sleep over in our "living room". A lot of it is about light and how high your ceilings are.

I guess what I am saying is that the absolute minimum square footage you think you need is a malleable concept.
The UK has such small apartments, I guess it's down to how small the country is. I think a lot of American people would have a hard time visiting some apartment buildings here and understanding the small sizes. The apartment I live in right now is one of the largest I could find in my current location (Brighton) and I wasn't being cheap (I'm paying $2500/m) and it's only about 450 square feet[1]. I've found that it's quite literally impossible to get an apartment here at 1k square feet unless the cost is >$10k/m, but in America a lot of people consider 1k square feet to be small.

Here's an interesting chart about average sizes in a couple of different countries, the difference between the UK and the US is huge: http://www.apartmenttherapy.com/average-home-sizes-around-th... (this is houses, but most apartments I've visited in the UK are about the same size as the upstairs of a house, so splitting the figure it half seems a good estimate for apartments)

I would theorise that the majority of people living in small apartments are the sort of people that are young and still finding their path in life (career, education) and so don't spend much time in their apartment (most young people that have their own place don't have the luxury of spending 8 hours a day at home, excluding sleep) so they're not that bothered by living in a small space. It's where they sleep and eat and that's about it. If you're a 40 year old that has a career and family living in 200 square feet would seem insane.

[1] http://www.godfreyinv.com/portfolio/17-the-upper-drive/apart...
It reduces the amount of information? So you would prefer the wrong information instead? You're pretending OP tried to make a better graph, when clearly he only wanted to show the inaccuracy of the Nielsen graph. Are you trolling?
Ctrl+Alt+P to get a dialog for opening all your Sublime projects.

Ctrl+R for navigating to functions or classes within the current file.

SublimeClang gives you Visual Studio-style Intellisense, static analysis, and jump to definition/implementation.

When setting up Vim emulation, you'll need to install VintageEx and change some of the default bindings (Ctrl+Shift+P+"key" to see the binding files). You'll also want SublimeBlockCursor.

For example, put the following in the user defined keymap to override the defaults:
[
{ "keys": ["ctrl+f"], "command": "move", "args": {"by": "pages", "forward": true} },
{ "keys": ["ctrl+b"], "command": "move", "args": {"by": "pages", "forward": false} },
{ "keys": ["ctrl+shift+f"], "command": "move", "args": {"by": "pages", "forward": true, "extend": true} },
{ "keys": ["ctrl+shift+b"], "command": "move", "args": {"by": "pages", "forward": false, "extend": true} }
]
Special Relativity was in the air in 1906. General Relativity wasn't. The comments on that Quora post make a similar point.

Edit: Whoops! It was obviously in the air in 1906, since Einstein published in 1905. :)
In Defense Of Free
Teaching data structures with real-world examples
This is just generally a horrible way to make a chart that is intended to communicate relative size - it's worse than a pie chart because visually it's much harder to compare sizes of horizontal and vertical rectangles.

To compound that by appearing to have proportional sizes, but being completely wrong, is humorously incompetent. Reminds me of those joke maps showing NYC as dominating the US.
http://en.wikipedia.org/wiki/Legend_(chart)#Features_of_a_ch...
I owe the author an apology on one point. "Minimise" is a correct spelling, though neither my system's dictionary or I realized this.
there's a lot of this going on right now against PHP..

I remember getting the same sort of thing when I started a new job many years ago, and it was like 'you're doing Visual Basic? haha'. Nevermind what other experience I was bringing to the table. Bad code can be written in any language.

I'm perfectly happy admitting I've written PHP. And C++, and C#, and hell even some poor js before jquery.

You know what... I've grown and am thankful for the experience in all of it.
As one person tweeted back at him, "Your comments on PHP have gone from insightful to snide. You’re going to start losing fans and credibility soon."

I completely agree and think that at this point he's just being a dick and doing this for attention.
How To Fight For Personal Liberty
Why is this Java raytracer slower than the JavaScript version?
Why CoC is valuable
I was just talking with a friend yesterday about living in Tokyo. A big part of what makes it reasonable is that everything is smaller. The containers of food I buy at the store are smaller and fit in my smaller refrigerator. There's a laundry place right next door and they give you hangars that are half width (folding the shirts back on themselves like when you buy them) so they can fit in a shallow closet. As an American, it's hard to get used to not buying in bulk but it really helps you make the most of your space.
How that? Android would be 183°, iOS would be 122°, RIM would be 32°. You could easily see that Android is slightly above 50% – but I’m not really sure how the iOS marketshare would look markedly different.

Since 50% isn’t really a very important threshold (though that could be argued) I would very much argue against using a pie chart. (I prefer areas or lengths to angles.) Plus, a pie chart wouldn’t make it easy to add platform subdivisions.
Ctrl+Shift+D duplicates line
Rather silly when if you remove the word wireless from the patent and read it thru.

All phones have wires in them, thats how there low-level transport layer work. Is a wire perfectly dense or are there gaps at the sub atomic level which the electrons flow.

If you think of a old sailboat battleship as a device and semiphore as the wireless transport layer then you could equaly apply this to Nelsons times.

Also thought configuration of a phone was done via the GSM and even the CDMA standards in that the registeration process to the network and control SMS do that. WHat came first, hmmmm.

1) patent should never of been approved upon common sence of the time and mearly add's nothing.
2) charge per use is just plain old silly
3) chewbacca defence used at all on the jury?

makes you wonder: get all patents add word wireless as a adjective and patent as something new. Wait a bit, then profit. Crazy
Good point. I agree. But if they wouldn't have bought a copy, then they weren't entitled to using it in the first place correct?

I mean, companies generally prefer you pirate their products than their competitors. But if we're going to be absolutely critical, the company can claim "If you aren't going to pay us, you have no right to use our product. You used our product without paying us."
Women overtake men in IQ tests for the first time in 100 years
Can anyone explain the advantage of the original graphic over a nicely captioned table of data?

Mind you, this is a good statistics lesson. My teenage students might get quite interested in a 'discussion' of the relative merits of various kinds of phone, before representing the data and then comparing it to UK.

US Mobile phone market share by OS and maker

Android 51%
Samsung 17%
HTC 14%
Motorola 11%
Other 9%
iOS (Apple) 34%
Blackberry 9%
Windows Mobile 3%
HTC 2.9%
Palm 0.1%
Other 0.2%
Windows 7 1.3%
HTC 0.5%
Samsung 0.5%
Nokia 0.3%
Symbian 0.9%
WebOS 0.6%

Above needs a clearer indication that the OS percentages are totals, and then split by manufacturer. I might try a two entry table so you could get market share by manufacturer or by OS, but then quite a few are single OS manufacturers.

I find the rounding of the larger market shares to nearest percent a bit worrying given that Palm is being listed as a discrete total. The 'rounding error' on Apple's % could be bigger than HTC/Windows 7 for instance
I don't know - no - but I'd bet a large chunk of change that the HyperLoop is some variant of vacumn tube maglev. Not an idea Musk came up with by any stretch, but he's someone who might actually be able to make it happen which would be very awesome. His patent is going to hit a fair bit of prior art though.
You need to hold alt _and_ ctrl at the same time.
What's really wild is if you do CMD+d several times and then move around with the arrow keys. Multiple cursors follow you around. I'm not sure if this is useful, but it's certainly cool.
5 Opportunity Areas To Motivate Any Entrepreneur
And they still lost 20% of $580 million ...
Node.js JSON data formater / comparator
I'm pretty sure it's some variant of maglev in an evacuated tube. Daryl Oster (www.et3.com) has been pushing it for quite a long time. The big difference is that Musk has the contacts and personal background to possibly make it a reality on a reasonable timeframe.
You can also search and do multiple selection with a regular expression, which is awesome. I've used this heavily in the past few weeks. The only problem I've had is that all searches appear to run on the main thread, so when working on a sufficiently large file, the whole application blocks like hell. And to make it even worse, they update search results on the fly, meaning that for every new character you enter it blocks. I've taken to writing my expressions fully in a random textfield elsewhere, and pasting them in all at once.
Interesting that someone should say this out loud. I've been thinking this for a long time - I've just been having so much fun as a student, I can't really imagine any other way of living. Cool roommates and always something interesting to do.

When not starting a family or living with a partner, this seems like the best way to live. The alternative would be to live on my own in a nice apartment - this would entail a higher - "standard of living", but be much more expensive and lonely.
For what it's worth I think the energy related claims are pretty weak. Technically you can store energy in the kinetic energy of the mass moving at speed, and with diamagnetic ('quantum') levitation the losses are very low... however the costs, overall efficiencies, and dynamics make it barely interesting as a theoretical exercise, and totally worthless as a practical one.

Powering with PV on top of the tube, on the other hand, should be entirely realistic (at least on an average consumption vs average generation basis), and the incremental PV cost will be really low since you'd install it as part and parcel of the tube.
That was interesting and fun to read, never thought about the User-Agent string and why it's so messed up.
Have Beautiful Hair with Coconut Oil
Is it even possible to create original content in this age?
I don't know if I entirely blame Goldman for this, Dragon bears some of the responsibility for accepting a bad deal from a shady company. Afterall Dragon's board of directors all voted to approve the deal without a clear signal from Goldman if that was safe or not. And sure, Goldman was clearly being unresponsive, but in that case Dragon should've fired Goldman for being unresponsive sought out another bank to perform the due diligence.
Possible, but not efficient. The drag of the air against the interior of the tube will be really high. Much better is to suck all the air out, and use another drive system (maglev with linear motors).
The Software Developer's Pensieve
Tell you what, if I was stuck without _my_ laptop, but had access to a random web-connected computer, I'd pay for a day's worth of emergency access in a pinch, to crop/deblur/resolution-enhance/color-balance some photos for a deadline...
I'm concerned about house pets (like dogs and cats) in such a small apartment. Are these micro apartments fit for dwelling in for long periods of time? I don't think so. Cats and dogs need space too, and they don't have the freedom to come and go whenever they please.
I think I see where you're going with this, but it seems like primarily just a semantic improvement. You have a bunch of objects (collections of state), and an action that's going to modify some or all of them. While I agree that namespacing the operation as an independent function instead of arbitrarily attaching it to one object or another is ideal, I don't see how the operation itself has necessarily been simplified. Is it because now instead of modifying the objects/holding state, we can just process and persist whatever needs processing and persistence and be done with it?
Generating unique slugs with Django
I found one more alternative: readability.com
Startup.com
http://www.youtube.com/watch?v=bZ27rbJH6hI
A SVBTLE Collection
I suspect pet owners are not the target market for this type of living space.
LevelUp Will End Your Business' Credit Card Processing Fees. Really.
It used to be that you had Earned-Value Management and the concomitant EV Charts. One could take the first derivative of the current point on the chart (or perhaps do something fancier involving moving weighted averages) and use that to predict[1] how the EV chart would play out in future.

But EV charts and first derivatives are old fashioned and hokey. Practically waterfall!

Instead we use the latest in agile management: burndown charts and velocity. Totally different.

[1]: Though see every software project ever for an example of why linear extrapolation is a hilariously foolish way to settle on a firm estimate.
It was way too hard to create an RSS collection that can be easily shared (more here: http://peterwatts.net/post/27254383527/shared-rss-is-that-so...)

Does anybody know of better alternatives?
For iOS, it seems primarily HN.

I also forgot: Sometimes they're referenced on Stackoverflow when I'm doing something and looking up how others did it.
I've kept my favorite shortcuts open in a panel for about a week, so I could learn them by heart: http://pastebin.com/hQtYKzhN
Favorites include: Expand selection (to various levels), close tag, block commenting and splitting lines!
No internet doesn't prevent software to be written or hardware to be made. That's where I'd be and where I'm going.
Now that I think about it, it's such a common feature everywhere except text editing (I'm mainly thinking of selecting/highlighting things like icons and menu items) it's interesting that it has taken so long to be an editor's big selling point.
Developing RESTful Web APIs with Python, Flask and MongoDB
Having remapped my caplocks key to be escape, I find myself using it fairly often not just with vim but in all sorts of ways. Considering I never used it as caplocks before except accidentally I found the remapping a good investment.
I prefer to see online demo or even better an actual demo account before I decide whether to sign up or not. However, keep in mind that a bad demo could make users quickly decide that they do not want your app. But certainly, if your product is what the user needs, chances of signing up might go up (I am just stating my opinion here though).
So were the soldiers. They paid taxes, so they were funding the donuts via the US government.

But that's not the point. The soldiers perceived the donuts as free, and people perceive Facebook as free. Charging for donuts or access to your wall will change that perception.
Do not try to calculate the odds of it, and he presumes to be a lucky man. He's also famous for having recently build an airport (with public money) which has no flights, and people still vote for him. Sad.
You can also use your middle mouse button to make block selections, or doing things like making a long vertical line of multiple cursors (handy if you have an HTML list of varying line lengths, you can draw a long vertical line of multiple cursors, then use the left and right arrow keys and home and end keys to make changes to all of the lines quickly).
I used to live in 170 square feet (16 square meters) here in Montevideo, Uruguay, under the proposed SF minimum.

It was enough for a single student/worker like I was at the time - though I did wish for slightly more space, 220 square feet sounds like about right.

Over here, there's a boom of construction of "studios", they sell for 40.000 dollars and rent for about 400/month.

One thing I hope is that they don't cave on the need for natural lighting, I had a view to a wall and it was depressing. But overall I think it's very reasonable of SF to allow these.
DirecTV’s Latest Message To Subscribers: A Plea For A La Carte Pricing?
You missed the tiny little word "artifact". The discussions on Yammer and Jive are work related and are part of the process, but are not rarely directly attached to an artifact. You would talk about the artifact, but its not "there". It is produced somewhere else, in the depths of IT. That doesn't mean that Yammer ain't interesting.

SharePoint and Google Docs are not social networks. They are sharing solutions like Dropbox is. Your corporate wiki might qualify, but thats hard to study.
Sure, although it's common for single people to have a pet.

I don't know about the US, but in Canada I think it's illegal for renters to discriminate against pet owners. Many still do however.
I would pay for this if I could use my own ZNC bouncer.
Achieving Post-Scarcity
Also notable is that you can skip the currently selected element (i.e. unselect it) if you press ctrl+k+d. Sublime will then continue to select the next word, but leaves the one you just selected unselected.
Still doesn't seem to have 'correct indentation' which I would use often, especially for 'data' files like XML or JSON.
...and everyone pretended to be everyone else, and confusion abounded.

And then JavaScript driven feature detection came to be, and everyone thought it was a good idea. And the people wrung their hands and wept
Come on folks this a known astro turf troll that is in pay of MS, Oracle, etc.
Perhaps. One note Confinity invented PayPal not X.com.
>No, it's up to the people making the claim to defend it.

Perhaps, but it adds much more to the discussion and comes across as less prickish if you say something along the lines of "I don't see any data to support that, could I see yours?" rather than "Citeplz".

Especially when it's literally one google search away on result #1. It just smacks of laziness.

And while I agree with you on plugins, we're talking security. I was going by the study's methodology (which seems mostly sound).
I think a project along the lines of Todo MVC for general programming languages - https://github.com/addyosmani/todomvc/ - would work really well for illustrating these kind of debates.

Ideally it'd be a reasonably involved problem domain (rather than a todo list) with persistance, networking and something which requires parallelism/concurrency (I'm sure there are other categories too). This'd expose each language to the types of complexity that exposes the really interesting differences - does language X allow a clean API even when we require immutability for parallelism, does language Y impose boiler plate on simple problems, Z require unreadable line noise?

I find these debates nearly useless without evidence and code to read.
Of course the patent was silly. Almost all of them are. The news hers is that the jury came up with $8US as the reasonable per-handset license fee. As the blog post points out, extrapolating that to the number of known, licensable patents used by a modern handset leads to a total IP license cost of about a million dollars for a device with a cost of production of about $150. It's a clear existence proof that the patent regime is unsustainable.

It's also clearly a mistake by the jury (or the judge maybe, depending on details about jury instructions about which I'm ignorant), and I'm sure it will be reduced on appeal.
Sqoot's co-founder back to blatant sexism
So I have very limited experience with FP, and a reasonable amount with OO (mostly dynamically typed).

I can really see the benefits of FP, but there are some problems I have trouble modelling with FP.

For instance, if I have a simple 2D rendering engine, I just want to say "add this object to the screen". The object might be a geometric primitive (square, circle, etc.), it might be generated particles, or it might be an image or video or something. The way I deal with this at the moment is have Drawable or something to add to the screen with something like, which implements an interface with a "draw" method.

screen.addToScene(new Circle(...))
screen.addToScene(new Square(...))
screen.addToScene(new ParticleGenerator(...))
screen.addToScene(new ImageSprite(...))

Then the game would loop over each of the Drawables, then call .draw() on them, which is implemented differently for everything that implements Drawable.

How would I model this in FP?

The only solution I can think of at the moment is to have a draw function that does pattern matching on the type of thing and do it that way. How do people do stuff like this in scheme or other languages with limited support for pattern matching?

The problem I have with this is that it means every time I want to add a new kind of thing, if it implements many methods in an interface, I have to go to many different files to implement how this new kind of thing works.

Among other things, that's a huge pain for revision control, since if I have 3 coworkers adding new kinds of things that can be drawn, we're all going to have to modify the draw function. In OO, we'd each just be creating a new subclass in its own new isolated file.

As a second question - what should I read to get a good idea of how to sanely model things in OO and FP? I've read a lot of debate about the right way of doing things, but I don't really know where to learn this stuff. The OO class in university was completely useless, since the examples were outrageously contrived and too small to see any real benefits. I'd ideally be looking for 1 book that explains how to model real problems in OO very clearly, and one book for how to model real problems in FP.
This is probably obvious for most people, but when you can't find a feature you want in an editor, you should look for plugins.

So, in this case, you would go to http://wbond.net/sublime_packages/community and search for "indent" or "pretty" or "xml".
That was my immediate reaction, too. Though it sounds like the node.js server is doing more than your standard bouncer; ZNC support seems unlikely.