skysight-inc/HackerNews huggingface dataset:
Every single law limiting access to information ends up being abused to create censorship in favor of somebody's selfish interest, political or otherwise. Privacy laws? Abused. Libel laws? Abused. Copyright? Abused all the god damn time.

When it comes to knowledge, taboos and restrictions are an archaic pre-rational way of dealing with dangerous ideas and should be put to rest right about now. There's simply no place for this kind of stuff in the modern society.
Problem is that for any obscure organism you'll need to know what it is before you can search for it on WP. There is no ability to do that on WP, if the articles on the species has an image the chances are good that it will be a related species. Then there is the problem of some one coming along and adding mangled 'facts' to the article or 'facts' derived from 19th century works.
In Seattle, a ~350ml cafe-latte (~310ml milk, 40ml coffee) is around $3.50 (can be $4.50 downtown, $5.50 at airport) - this commonly called the 'Double Tall Latte' - our local news media uses it as a cost comparison for dang near everything.
Keep it simple!

Moving from academics to industry can be difficult. My experience: several of my applications were rejected even though I considered me as a perfect match. I analyzed my resume and suspected, there was too much academical stuff in it. I deleted most of my research work from the resume and kept only "down-to-earth-stuff". Same strategy in the interviews. And voila, within no time got a bunch of offers for really great industry jobs.
It's reasonable to require that an exec in a chroot have a minimal /dev. If you execute a program in a broken environment, it breaks. That shouldn't be surprising.
As someone who hires quite a few programmers, I think part of the problem is that there are skills that are considered basic requirements for industry jobs that PhD students aren't likely to get as part of their studies.

TL;DR Software engineering is a distinct skill set from computer science and it's very possible to excel in CS while largely ignoring the former discipline.

For example, writing code in a team rather than on your own or in a very small group. This involves learning the importance of small changesets, coding conventions and readable/understandable code, among other things.

Also, coding in the industry involves a lot of learning to use tools and techniques that others have developed and far less developing those things on your own. A ton of the code that gets written in the industry is glue code between well-known solutions or boilerplate for a well-known framework.

None of this is to say that a PhD can't learn those things or even hasn't learned those things by the time they interview, but I can confirm from our interview process that there are a lot of them that haven't and I'd rather hire a fresh CS grad who will be cheaper and likely be more humble rather than struggling to convince a PhD that those things are important.
So, I have this bash script that runs AppleScript that I use to start up a bunch of servers at once, each in their own Terminal tab. At the heart of it is this 'new-tab' function[1]. I don't really like AppleScript, and would like to not use it.

Can I duplicate this functionality using iTerm, without using AppleScript?

[1] Here's the code; I cobbled it together from some StackOverflow snippet or something: https://gist.github.com/anonymous/f16a46c327a14ec8a5b5
Just today I encountered an "insert or update" situation and handled it like this:

INSERT OR IGNORE INTO table_name (item_key, item_count) VALUES (?, 0);
UPDATE table_name SET item_count = item_count+1 WHERE item_key = ?;

I'm not familiar with "upsert" so maybe there is a difference, but this worked well for my use case (which was "increment or insert then increment"). You could even reverse the operations (by adding OR IGNORE to the UPDATE statement), if you wanted to not do two operations if the pk didn't exist yet.
As in "level playing field". Might be a reference to this book:
http://en.wikipedia.org/wiki/The_World_Is_Flat
So, what do you expect would their reaction be if you refused their coffee? And would you even try to refuse?

You see, having to explain what you do and why you do it is already a limitation of your freedom, and has chilling effects on society as a whole. If there is no indication I have done anything illegal, it's none of their business, I don't have to explain how I live my life and why, to anybody.
No. read(2) is one syscall, and the cost of the initial open is negligible. One real motivation seems to be wanting programs to work without a /dev. I don't think that's a reasonable requirement.
The tmux integration is a really interesting piece of work.

https://docs.google.com/document/d/1ABI0kqUUxoAjxhWW3AsWFis6...

http://code.google.com/p/iterm2/wiki/TmuxIntegration
Debuggers: Russ Cox
I argue that inner-city gang members are terrorists. The whole reason a gang has any power in its claimed area is through inducing fear.
Former Valve VR Contractor Explains Why “VR Is Bad News”
to HN:

What changed you from "terminal.app is good enough" to "I prefer iTerm"?

Because that's what I'm asking myself.
Detroit Rising
I don't think anecdotal evidence or non-controlled studies are useless, but they do have their limitations. In this case, though, the original article is laughably bad. To quote:

"As a scientist, I had already been gathering data about that question. Each time I was rejected from a job, I asked the companies for reasons."

From this "data" the conclusion was made that there exists some sort of "Ph.D.-industry gap".
Yeah, I think the models need to be recent terrorist attacks, not potential ones that people can dream of on a whim. Kind of like how judges work reactively, they don't make rulings on cases they haven't seen yet.
First, thanks for releasing this! Second, silly question, but what is the recommended way to navigate long commands? Is there a way to click my cursor to a specific point, or a keyboard shortcut to navigate large blocks of words? I tried OPTION+LEFT-CLICK, but sometimes it will have the effect of moving my history to the current command.
Considering that a penny in 1909 had the buying power of about $0.25 today, I wish they would have attached a quarter. (death to pennies!)
Everything I see government touches is of low quality, whereas everything that's good in my country is private enterprise.

And yet the countries that are consistently in the top 5 or top 10 of most quality-of-life measures are those countries that are social democracies (generally scandanavia and aust/nz/canada), where the government puts its fingers in a lot of pies. If the things that your government touches is bad, then that's a problem with your government, not the awesomeness of the free market.

Out of curiosity, how well do your ISPs cater to rural users? People in urban centres are cheap to service, but spread-out rural users are quite expensive.
ITs interesting to see how busy a taxi is in New York even at 3.30 in the morning..
Reactive Queue with Akka Reactive Streams
Sure you can access /dev/urandom: just set up the device node in advance of the chroot. For better or worse, /dev, /proc, and so on are all part of the Linux system API and provide functionality not found elsewhere. Why would you expect programs to work when deprived of part of the API?
The implication was if she just missed the Caltrain, she'd take this bus in 30 minutes instead of waiting one hour for the next train (not stop taking the train altogether).

It's a complaint about the Caltrain's infrequency rather than existence.
I'm saying quite the opposite: that the very seriousness of her injury was likely due to her age, not that she didn't have serious injuries. Her age would have made the accident more likely, would have slowed down her response to the accident (her own trial lawyers' evidence suggested she must have remained in the hot coffee for at least 12-15 seconds, not the 2 seconds you mention), and would have hampered her recovery (pretty much any injury is more serious in the elderly, and indeed wikipedia mentions it for burns too).

She didn't just have any old minor burn; hers was huge - she stayed for months in the hospital and lost 20% of her body mass; that's not your typical scalding accident.

Such lawsuits have been repeated, they just haven't been so successful. The fact that it's been 20 years merely underlines how unusual her circumstances were - and perhaps how bad that original cup design was.
You might want to put it in a GitHub Gist, or similar, for better readability.
I have Alt + Left and Alt + Right set to send `^[ b` and `^[ f` which are set to move backwards one word in most readline-based apps (IIRC).
Odd that he couldn't play up his open source code more. Grad school is a great place to build up your portfolio of code.
> Heh,that poor miserable employee who probably thought nothing of copying a cool maze off the Internet.(Not to imply that makes it any less illegal)

As a graphics designer you should have a basic grasp of these manners, and respect them.
Except you've been studying this very narrow topic for 6 years and spending all your time on it. Any technique you're using is most likely very specialised to that topic or something you learnt in either masters or undergrad.

Whereas someone in the industry has been developing their generalist skills and keeping up with current technology.
Probably this: http://superuser.com/questions/299482/how-do-i-set-up-an-app...
'Lemon-law' lawyer declares victory against Tesla
The fact that I couldn't get tmux, vim, and copy/paste buffers to play well together with Terminal.app.

If you use tmux, iTerm is the obvious choice. They've been working on better tmux support for a while now.
They know the problem; irritable bowel, but not what causes it. That's why they call it a syndrome and not a disease.

It's the same with AIDS vs HIV infection. AIDS: we don't know what causes it, but it is acquired immunodeficiency. HIV: it's a disease caused by this virus.
Are you sure? If an academic paper were to become lost from the internet because Internet Archive hadn't archived it and no other site mirrored it, then the world wouldn't be worse off as a result? That seems dubious.

And if it's true that the world is better off for Scribd having the paper, then it must be true that Scribd is beneficial to the world. The fact that people don't like it is irrelevant.

(I created a new account not to dodge downvotes, but because HN wouldn't let me continue submitting replies to this thread with my other one.)
I can still fondly remember 11 years ago when I joined a startup and I was tasked to look for a database to use for our anti-spam product (Outlook plugin). SQLite was still very new back then but compared to other existing free and embeddable database - SQLite was better, faster and works in Windows 2000/XP. So we used SQLite and the experience with SQLite was that good that we also used SQLite as the database for our anti-spyware product.
A company selling 1M units isn't threatened by a company selling 10k units. It might be threatened by a company selling 200k units, at which point the numbers are much closer - and there's also more payoff for eating the other company's pie.
FWIW, I've tried switching to iTerm about 3 times and I've always to come back to Terminal.app because it feels more
"solid or "native" and it minimizes the installation + configuration I need to do on a new machine to feel comfortable.
Show HN: Bootstrap Validator
I'd be interested in reading about any potential research in this area, it's quite a fascinating unsolved problem. Like Bitcoin's solution to the P2P untrusted consensus problem (Two Generals Problem), I would think that the solution to ensuring individuality (see the Sybil attack [2]) lies in some approach that isn't 100% failsafe but probabistically ensures the desired result is highly likely (see 51% attack).

I think a web of trust [3] is something that could work. Given a system of nodes with public keys (the most common form of identification in P2P), a possible approach to estimate the 'individuality' of some identity/key would be to measure its degree of relationships with other nodes who vouch for its authenticity, weighted according to the 'individuality' of the other nodes (something that could be solved with an iterative approach, as in PageRank/EigenTrust). The idea being that while a malicious node might vouch for many of its identities, it doesn't have any link to any other node and thus would be weighted lower.

Turns out this exact approach had been developed in 2011 [5] (just found out now, wow, see fig.1 on page 3) and also in other research with SybilGuard [4]. I'm not sure of the limitations of these formalised definitions, but it looks to me like much of P2P research (see PolderCast, a marvellous innovation) -- the possibilities are never realised until someone implements it in software.

[1] https://en.wikipedia.org/wiki/Two_Generals%27_Problem

[2] http://en.wikipedia.org/wiki/Sybil_attack

[3] http://en.wikipedia.org/wiki/Web_of_trust

[4] http://www.math.cmu.edu/~adf/research/SybilGuard.pdf

[5] https://ccl.northwestern.edu/papers/2011/kurve.pdf
Yes it's technically interesting but am I alone in thinking that it sort of defeats the purpose of using tmux in the first place?

I use tmux partly because I come from a background of low resources, but also because I want my essential tools to use as little resources as possible so that they always work as well as possible on any system.

Yet iTerm proposes that you use their GUI tabs, split their GUI terminals instead of drawing it all with tmux in one text console.

I guess you sacrifice some resources for usability.
Well, I started working at a place where I was regularly juggling 2-4 SSH sessions, 2 programs running and dumping logs in other tabs, plus a few more open terminals, and after a coworker introduced me to the wonderful zsh[1], I wondered what other great tools I was missing. That's what led me to iTerm2.

I stuck with iTerm because of the many, many little features and conveniences that make working with the terminal easier.

Tabs can be put at the bottom of the screen, which solves that pesky issue where changing tabs on a fullscreened terminal.app causes the OSX topbar to slide down and intercept your click. Tab titles change color depending on the kind of activity that's going on within. Hotkey mapping is a lot more powerful, and lets you send arbitrary hex/escape codes with hotkeys. There's a drop-down mode, like Tilda or Visor. This might just be placebo, but I'm pretty sure it also glitches out less often than Terminal.app.

All in all, everything is just a little bit nicer than the stock terminal.

[1] officially http://zsh.sourceforge.net/, but you want http://ohmyz.sh/
OK, here is the answer why he couldn't get a job. It makes sense to me. I am quoting comment #6 from the original blog post:
http://lemire.me/blog/archives/2013/09/23/why-cant-yo-find-a...

BEGIN_QUOTE
"...It’s worth noting that he has a CS PhD but his research was in biomechanical simulation.

He then applied to a bunch of Product Management jobs without any industry experience. Nothing about him suggests he’d be a better candidate for an entry level spot than the typical BS-CS. The bit about 47k users is not really all that relevant to anyone hiring for a PM position in the Valley. He’s definitely nowhere near a live candidate for anything past an entry level position.

Regarding programming jobs, he’s definitely not all that interesting a candidate on either the data science or systems front. He should have been able to get a job somewhere but that would strictly be off potential as opposed to anything relevant.

I’m not entirely clear on what he expected, given the skills he focused on during his PhD.

For context: I also went to Stanford, did some biomechanics research and then had to do a fair bit of resume rehab to be employable. Spent big portions of the last 5+ years actively hiring engineers for various places I’ve worked. I’m surprised it took him a year, but was less surprised when I read about the jobs he went after..."
END_QUOTE
Also, 680/880 is severely underserved by public transit. Every day it's bumper-to-bumper traffic from Walnut Creek->San Jose.

BART will eventually connect this, but you would still need to transfer in Oakland, which is roughly 20-30 minute detour. Walnut Creek -> Fremont currently takes over 1 hour on BART, to cover a distance of roughly 30 miles.
I found that iTerm provides a slightly better experience with Vim: colorschemes were rendered more accurately and redraw performance was improved (most noticeable when scrolling the window line-by-line with CTRL-E and CTRL-Y).

However, MacVim improves again on those two points, so I end up using that.
They are also testing regular commute service on their homepage. I'm pretty sure that they just collecting data at this point to see if there is interest in the service.
This is interesting, because I think the most likely effect will have been to increase sales of Threes, especially since the author of 2048 provided a link to Threes on the page.
> When you cmd-click on a filename in a diff, remove the a/ or b/ prefix and replace with the real directory to open the file.

Still doesn't work for me :(
Besides Firefox, iTerm2 is my most used app, by far. I love the customizability of it, the Visor mode, and how stable it it to work with. I've used it so long, I don't even remember why I don't use Terminal.app any more.
I like the idea of triggers.
auto-highlighting the following regex's makes life a bit better whille reading logs and traces.

.[eE](rror|xception). highlight error lines
:\d+ highlight line numbers in ruby (captures bits of time stamps though...)
[lL]ine \d highlight line numbers in python

I bet there are more creative uses. please enlighten me.
Better mouse cursor support, split panes, cmd+click to open file path.
I second this. I'm using Terminal.app for years now, dabbled with iTerm from time to time, but just couldn't see any advantage; since Terminal.app allows me to save window layouts and customize colors - so far, it's all I need from my Terminal emulator. The rest is the shell's job.

So what is it?
Dear Google Glass, Moms Like Technology Too
That's exactly the point of the stub articles isn't it? They specifically mention that you should improve it by adding relevant info if possible.
I've read that when not perusing the text we are only looking at the first and last letters of a word and in some cases the general shape of the word to determine which word it is, leading to frequent typos by otherwise very intelligent thoughtful people. Cheers to YC.
The vibe I've been getting from Tom Wheeler is that he would probably personally prefer reclassifying ISPs as common carriers, but there's a ton of powerful forces leaning on him not to, and his half-assed proposal is the best he could get. But if he could point to an "anti-SOPA-like" grassroots movement and go "There's a ton of bad PR if you mess with these people, we better give them what they want", he might be allowed to reclassify after all. Though I'll be the first to admit, the sudden disappearance of half a million comments from the FCC site doesn't really corroborate this theory...
Exploring Gmail API : Building A Gmail Alternative [And Loads of Ideas]
A Rich Executive and His Wife Wait for the World to End
Split panes and broadcasting.
Dang, looks like there/s still no preference to disable creating a new window when iTerm launches or is clicked on in the Dock. I only ever use iTerm via system-wide hotkey (i.e. Quake-style HUD mode), and it's kind of annoying that it automatically creates a duplicate window whenever it launches that can't be hidden via the hotkey.
First of all... this is really great. Really good job.

On the ipad a few things are wonky with the layout, you may want to test on there and fix the few UI issues.

It would be cool to see $/hr precalculted as well. It may be better to make the right side a table with each row being a ride and then totals at the bottom too.
Censorship without accountability is always wrong.

I have no problem with censorship when done with full accountability and audit trail - iow. with an invididual court order per item censored. That way the party who demands censorhip has to make their claim and convince a (supposedly impartial) judge that the case is truly exceptional. There has to be a legal and valid reason!

The audit trail from court documents would then allow to see when the request was made, and when the censorship of the said item took place. Most importantly, it would enable the people demanding censorship to be held accountable for their actions. Named, always. Shamed, if necessary.

A censorship list compiled and distributed in private is ripe for abuses. There are always parties who would use such a system to further their own agenda. (Insert selection bias here.)
One feature I really wish iTerm2 2.0 would have introduced was better session restoration support. With Terminal.app, you can issue a command like 'ls' and then quit and re-open Terminal.app and the previous output from 'ls' shows up. This is incredibly useful when you have to restart or if your system crashes and you have some output that you wanted to preserve.

I see from the changelog that some type of restoration has been included: "Support for OS 10.7 features including fullscreen, retina graphics, and window restoration"... but upon actually trying it out, it doesn't do what Terminal.app does.
That's pretty backwards.
Building ToDoMVC with AbsurdJS
I have lived through a communist regime and I believe that accusations, surveillance, and keeping files on innocent people can destroy a lot more than just their careers and lives. It slowly creates some kind of "let's just do nothing to make sure they don't notice me and put me on the list" atmosphere. It might take decades but it has crushing impact on society. Society needs certain things to thrive - like people doing stuff and communicating without fear and self-censoring. Pervasive surveillance can ruin that.

How can the nation so famous for its entrepreneurial spirit not understand that you have to accept some risks in order to thrive. You can never be totally safe - there is always going to be some attack vector left. You have two options - accept that some bad things will happen, limit the control you try to have over society, and thrive. Or try to act on everything, prevent every risk... and you will fail... and damage your society more than any terrorist ever could in the process.

I am not naive - there needs to be some surveillance. Of course that safety is an important value. But it should not be the most important everything-else-trumping value.

If your security services react to a real intelligence about a real threat - that is great. But if they react to stuff like some old guy taking a picture of art (and this is not the only case, nowadays it seems more like a rule than exception) - well, you might be building a cowardly society that is so risk-averse that it will degrade its progress in the future.

This also basically means losing war on terror and giving them what they want.
A login might be useful. You know.. to check (or delete) what I've uploaded and see the stats later.
How human mobility has changed over time, distance and energy use
>as you come in contact with other people, you eat dirt, you hang around farm animals, etc, these are all mother nature's way of helping you develop that microbiome

I find that way of personifying our environment counter productive. It's not mother nature's way of helping us, it's that we evolved over millions of years in this environment and to change that is to hinder ourselves. I find this a much more accurate and convincing way of arguing for a back to nature style of development and nutrition.