skysight-inc/HackerNews huggingface dataset:
> Personally I found zsh worth switching to even without spending any meaningful amount of time learning to use it.

Definitely. Smarter tab completion and smarter word deletion (Ctrl+W) are probably the two "most used" features for me.

FWIW, after ~6 years using Bash, moving to zsh last week was a revelation. I swapped to tmux (after dabbling in screen) the week prior. Has been a good fortnight.

[1] https://github.com/robbyrussell/oh-my-zsh/ is a great source of zsh plug-ins and configs. I use the "simple" theme and the git, brew and gem plugins (amongst others): https://github.com/elithrar/dotfiles/blob/master/zshrc
Lines of bash? Seems like find all by itself should be enough (one line.. maybe a few pipes)
眼部除皱法
I would have already spoken up about it and made it aware. I wouldn't wait until the absolute end to provide the feedback.
Helpful to understand what the responses mean, but what should you do when you hear this? Do you say:

Can you introduce me to someone who would be better suited?

OR

Thanks for your time!

How should an entrepreneur handle this response?
London 2012 Table Tennis
London 2012 Table Tennis http://www.psdmate.com/2012/08/02/london-2012-table-tennis-update/
London 2012 Table Tennis http://www.psdmate.com/2012/08/02/london-2012-table-tennis-update/
London 2012 Table Tennis http://www.psdmate.com/2012/08/02/london-2012-table-tennis-update/
I don't know Common Lisp either but if you know any Lisp it's quite readable. I'll guess an explanation (without looking at any docs) and let the real lispers correct me.

substitute traverses the list sequence replace any element equal to val with val + 1. I don't know if sequence does this in-place but that doesn't necessarily affect the correctness, since this wasn't mentioned in the spec.

If used as above then all elements equal to val would be replaced. But there are 2 additional (optional?), named parameters.

from-end indicates whether to traverse the list in reverse order. It will be true if and only if n is less than 0.

count indicates how many replacements should be made. If n is 0, then this will be nil, which indicates "replace all". Otherwise it will be the absolute value of n.

It's likely that the interviewer would ask you to implement substitute, though.
If we are going with 7 Habits metaphors, "learning the bicycle" would be like doing Quadrant 2 tasks, the Important but not Urgent tasks. Activities which don't bring anything in the short term, but will make your life easier in the long run.
They went with a minimally viable release and already have tons of feedback that, if they listen to it, will make Digg a great service again.
This post is not about being acuhired at all. Read it again. His main thesis has been in the last couple of blog posts is:

Social media platforms should not be ad-supported.

This is just a continuation of that theme. He's saying, ~Your employees are doing asshole things to 3rd party developers, even though you're calling it a platform, because they have bad incentives, and that bad incentive is coming from the search for ad revenue~

Essentially, he's not so much mad at Mark, or even really caring whether Mark reads it or not. This is another piece of proof (to him and others that might listen), that social media platforms should not be ad-supported.

"The only way to get fulfillment is to help other people that believe what you believe." - Simon Sinek

You should watch the TED video where Simon Sinek talks about this. Dalton is basically putting this crazy idea out there about a non-ad supported social media platform (gasp!), and trying to find people who believes what he believes.
High Heel Nike Dunks Shoes Sale - Buy High Heel Nike
You are being overly pedantic here.

One of the great things about two people from any reasonably mature field communicating with each other is that they can take advantage of widely-agreed-upon shorthand. Nearly everyone coming in for a programming interview in 2012 will understand that the '#' character is often used for non-executable program meta-data, that functions are often named with tokens such as 'add1', that 'param:' typically means a function parameter with a description of its value following the colon, what an 'array' is, how subscripts work with them, and what is meant by the terms left-to-right, forward, right-to-left, and backward (regardless of endian-ness, the inclusion of which is sort of humorous since our hypothetical interviewee has, up to this point, been assumed to be completely ignorant of programming-related terms). You go on to suggest defining the problem in terms of short-hand from a more mature, but less specifically relevant field, which I would argue would actually be well understood by fewer potential interviewees.

I do agree with you that it should probably be pointed out that the number of occurrences should be stated as the absolute value of 'n', rather than just 'n', but this would become obvious very quickly when the candidate starts asking clarification questions.
Why I Turned Down $160,000
Don't be afraid to burn bridge at exit. You don't want to work again with the people you hated anyway. It takes courage to make a stand and here's chance to practice it.
The reason that the American government hasn't implemented this broadly in legal disputes, as is practice in other countries, is that it makes it dangerous to pursue legal action for any entity. If I am a lone engineer who has just invented the perfect fuel source and GE rips it off, I have no recourse, because they can hire $50 million worth of lawyers and if she can't beat them in court, she's stuck with an impossible bill. These laws unfairly stifle the little businesses who are "supposed" to have a fair footing in the unbiased court of laws.
For another core.logic example check out the Game of Thrones Genealogy

https://gist.github.com/3219448

h/t @swannodette
Development Behind Wirepad
There is already a nonprofit reponsible for the project infrastructure.

http://labs.qt.nokia.com/2011/09/12/qt-project/

And a governeance model that looks open to the community.

http://qt-project.org/wiki/The_Qt_Governance_Model
> As a programmer you should always know what kind of cost you are incurring, both asymptotically and down to cycles.

No, as a programmer, you should be able to determine what kind of cost you are incurring when it matters, and much more importantly, you should be able to determine when it matters and when it doesn't.
Some combination of meetup.com, an events site and a dating site.
Agreed that it would be nice if this kind of tracking could be automatic, but I don't think we're not at a point technology wise where that's economically feasible right now. Some sort of hybrid approach is probably the best bet right now and maybe that's something I can work towards if there's interest (like providing an API that third party developers could tie specific apps into).

Also agree that there is going to be downward usage, though I suspect that if you look at most apps usage will decrease over time. As developers, it is our challenge to discover and address the causes of the churn as best as we can, but understand that it's natural and unavoidable. Over the long run, everyone cancels.
I see you forgot to include Apple in this.
Palo Alto - Full Time - Front-End Engineer
VC Funded startup

You will have 4+ years of experience using your design and development skills to build front-end interfaces across platforms (web and mobile). You have command of UX and UI and have a good sense of typography and color. From time-to-time your friends call you a "ninja" as it relates to your JavaScript, HTML5 and CSS skills. You have built apps in Objective-C and have experience with Core Data, asynchronous network requests, and multithreading. You should be comfortable with the command line (Linux, BSD, or any other POSIX/Unix like OS) and experience using revision control software (preferably git).

Health Insurance, competitive salary and equity package

jobs@refresh.io

http://www.refresh.io/
I see a lot of comments on ease of use, so I'm going to toss my hat in the ring: mdpress (https://github.com/egonSchiele/mdpress) makes presentations out of markdown files using impress.js. I wrote it because I needed something dead simple that I wouldn't have to think about. Example:

# Hello world!

---

# Welcome
This is slide 2.
Because people have the least to lose during an exit so they tend to be more honest with the answers.
What, you can't see that calling someone a "snowflake" and a "prima Donna" is rude? You have a serious attitude problem!
My advice is "let" yourself be found. One way is to participate in user groups for rapidly growing technologies. That might be Java or Linux in 1996, Ruby in 2004, ObjC in 2008 -- you get the idea. If one doesn't have a car or doesn't live in a area where there are many such groups -- or is simply shy -- online participation will suffice.

Personal story: I had an internship junior and senior years of high school. It was a complete accident: I participated in SVLug (Silicon Valley Linux User Group -- this is when Linux was a "hot new thing") and ran a home server (this was before Rackspace, Linode, et al). Said home server hosted some Perl CGIs and a copy of my resume. I got contacted by a recruiter as a result of my posts to the SVLug mailing list and explained my situation. To my surprise, they chose to interview me anyway.

Another high school classmate also found an internship from SVLug participation. Another high school-age coworker at said company was "discovered" when he wrote a AIM client library (to scratch his own itch -- be able to use AIM in Linux).
Both of these things happen already (well, sort of) under existing law:

1. A defendant can request reexamination of the patent by the USPTO. There are pros and cons to doing so. [1]

[EDIT: If a defendant requests reexamination at an early-enough stage in the lawsuit, the judge is likely to grant a request to stay the lawsuit until the reexamination proceedings are finished. If the defendant waits too long, though, the judge might think the defendant is gaming the system to try to delay the trial, in which case the judge likely will deny a request for a stay.]

2. A patent holder that actually makes and sells something can recover the profits it would have earned if it had made the infringing sales. To do so it has prove some things it doesn't have to prove to recover a reasonable royalty. A troll can't do this because it didn't have the capacity to meet an existing demand at the time of the infringing sales. [2]

[1] http://en.wikipedia.org/wiki/Reexamination

[2] http://www.finnegan.com/resources/articles/articlesdetail.as...
At least the Start Menu looks like the rest of Windows and doesn't steal the entire screen. To me, Metro replacing the Start Menu is as jarring as it would have been if they had replaced it with a DOS based application launcher.
I found the Retina MBP ad to be perfectly executed. Straight up, product centered, beautifully shot, nicely synched with music to give an emotional punch. Better than most of the newer iPhone / iPad ads IMO.
One of the reasons the Rift can get its enormous FOV into that (relatively) tiny package is that they're using these skinny little lenses that put massive view-space distortion on what you see. One of the consequences is that you need to correct for this in software - notice the "fisheye" effect in some parts of the Kickstarter video where it's shown on a regular screen.

One of the other consequences is that the pixel density in the centre of your field of view is higher than at the edges. If your eyes are pointing straight ahead, the biggest pixels (due to the lens distortion) are at the edge of the picture.
Near the bottom of this page is this exchange:

natrius: "Did they threaten to revoke API access?" (http://news.ycombinator.com/item?id=4325586)

dalton: "yep. That was presented as an option they could use by one exec, on a phone call." (http://news.ycombinator.com/item?id=4325593)
Because "Motherland" and "Fatherland" were taken?
I know they can request it but I have seen cases being litigated while the patent review was being conducted. In my opinion, it is asinine for that to happen.
Didn't Intel base Core Duo on their Israel branch' Pentium M design? I don't remember too much about the architecture codenames but were they similar to Pentium Pro?
My javascript version, http://jsfiddle.net/kjqTg/

var add1 = function(arr, val, n){

var x = n,
end = 0;

if( n < 0 ){
arr.reverse();
x = Math.abs(n);
}

for(var i=0, len=arr.length; i<len; i++){

if( arr[i] === val )
arr[i]++;

if( x > 0 ){
end++;
if( end >= x+1)
break;
}

}

if( n < 0 ) arr.reverse();

return arr;

}

console.log( add1( [1,4,1,5,1], 1, 0 ) );
// [2,4,2,5,2]
console.log( add1( [1,4,1,5,1], 1, 2 ) );
//[2,4,2,5,1]
console.log( add1( [1,4,1,5,1], 1, -2 ) );
//[1,4,2,5,2]​
If company A buys company B and company B owns a patent, the patent wasn't transferred, just company ownership.

So, making patents not transferable only adds a step or two depending on how complex the law is.
There are two answers here.

If your page is a content page, you should follow the pattern that YUI's MVC uses, which is to hydrate your model objects by scraping the html on the page. So you need templates shared (or similar) on back-end and front-end, you render them on the back-end with initial content, when dom ready happens you create models instances with the data that you grep out of that markup, and then as soon as the user does something you re-render that data with the client-side templates. Needless to say, this is less than fun. (Especially if you do i18n and need templates that can do so on both front- and back-end.)

The second answer is: web apps usually aren't for searchable content. Let's say you're a startup with information about local restaurants, and you add a Backbone app for finding things nearby and filtering by type. Google should crawl your external site (home page, marketing pages, etc.) as well as your data pages (one page per restaurant, one per type per city, etc.). And all those pages link to or include your shiny new restaurant-finder Backbone app/widget. But Google doesn't need to crawl that app.

For most users of Backbone, where their app sits behind a login wall anyway, worrying about search engines is irrelevant.
Can I really do that? I'm being serious, I would love to turn texting off.
Any chance of being able to link Dwolla to this in the future?
The best way to get good at design is to practice a lot.

For example, I'd recommend not using Twitter Bootstrap until you're comfortable doing it all the hard way. It will take time when you start, but over the long run you'll be in a much better position if you know your CSS and know how to make it all look good.

On the latter point, create a favorites folder called "Well Designed" and save pages to it that appeal to you. Take a few seconds and ask yourself what about it makes it look good. Inspect elements using your browser's built in inspection tools and see what the developer did to make it look that way. Then try to do it yourself and repeat.
Coding in Prolog feels very much the same, 'though the syntax is frustrating. My solver came out somewhat more declarative but a little more verbose, 'though.
When Windows has a command line tool (Powershell, not their crappy native CLI) that's powerful and like 100x easier to comprehend, you know the Unix command line is due for a disruption.
While the implementation of this would be pretty straightforward, the method signature you're asking for seems convoluted, in my opinion. Here's why:

- "add1" is not very descriptive of what the method actually does, since it adds one, but only sometimes. This title makes it sound like the method simply increments each value by one.

- When you say "if it is zero, do this, but if it is positive, do this...", this thinking creates a "secret handshake" in your code, so a new developer would have to read the method in depth to understand what it does in each case.

- If this method will have widespread use in your code for arrays, consider extending the array class with the method, so that you can call it directly on an instance of an array.

I propose you change the method signature to:

increment_where_value_equals(value, options = {})

So you could call it like:

increment_where_value_equals 1, { :direction => :forward, :limit => 2 }

or even like:

increment_where_value_equals 1

While the implementation may get a little more complicated this way, you're making the method signature much more clear and descriptive, which will lead to better code overall.
I don't think I saw it mentioned anywhere, but another thought that occurs to me is it might have been initially useful when he created the table to have the "private" field actually be called "public" instead.

The idea being that if the field is likely to be initialized to a default, you want the safer default. (IE, in that case things would be created as accidentally private, rather than as accidentally public)

Kudos to the author for the transparency. I actually have never used pinboard, but that blog post actually makes me more likely to use it rather then less.
Keep in mind that Nokia already sold off the commerical licensing rights to QT. I'm not sure how a sale would affect that.

http://www.digia.com/en/Qt/
another double reverse :)
That's exactly what I thought: Chip design for Apple based on ARM is probably just not the kind of challenge such a top exec wants to spend too much time on.
I was thinking the same thing, but then realised how easy would it be to subvert any definition of "active practitioner". The troll only needs to contract a guy (offshore?) who swears he's developing something that will come to market real soon now.
Just an anecdote, during one of my exit interviews, I ranted about the problems, including the ineffective leadership of my boss and my boss' boss. 9 months later, my old boss actually contacted me and asked if I could go back to work in the old company. Being honest and giving constructive criticism don't burn bridge if the recipients can handle it. If they can't handle it, you don't want to work with them anyway so no big deal for those burnt bridges.
You could make this a valid Ruby script without the "extra byte" problem with making it a Python script.
I think this chick should lighten up personally. I mean, it's not like she was injured. I guarantee that the incidents she mentioned were lighthearted and also exaggerated.
And most of us are programmers, right? Beyond some very low threshold I can not imagine WPM factors into programmer productivity. If you are a writer then perhaps it would help.
Great job. I use pen and paper calendar for this now, tried Joe's Goals previously but it wasn't flexible enough.

Feature request: It would be awesome there was a 'calendar view' that showed the data as colored bars, like the Seinfeld 'Don't Break the Chain' concept. Then the user could click on today in the calendar and edit the report.
Those that were used in the lawsuit, yes, but they'd probably have other patents as well, and there would be no reason to consider them worthless.
What do you say of my comment on Acqui-hires:

http://news.ycombinator.com/item?id=4325445
My Python version (in-place, no reverse):

def add1(arr, val, n):
todo = abs(n) or len(arr)
seq = xrange(0, len(arr), 1) if n >= 0 else xrange(len(arr) - 1, 0, -1)
for i in seq:
if arr[i] == val:
arr[i] += 1
todo -= 1
if not todo:
break
return arr
Exactly, if there's one thing I don't miss from mid 90's internet it's embedded, can't be turned off audio. And, as you pointed out, I also thought it was going to be a post-secret type thing or news story about how common certain 'secrets' are.

That most of the 'facts' present are at best tangentially related to what the bill allows just made it worse.
Dell Studio 1457 Accu
Dit Dell Studio 1457 Accu is compatible met de Dell Studio 1457. De prestaties en capaciteit van dit vervangende product is vergelijkbaar met die van het origineel. Op onze producten wordt 12 maanden garantie verleend. Originele producten hebben 6 maanden garantie.
What happens if you input a puzzle that's unsolvable? Does the program run forever trying to seek a solution, or can it realize the puzzle is unsolvable?
Actually I think this business model works better in big and dense Asian cities. There are a few things going for them:
1. cheaper labor: that drives down delivery costs
2. low credit card penetration is a business advantage: the drivers (or bicycle riders :), can collect COD. That saves card transaction fee too ...
3. buying habit: I know for certain that many Asians still shop groceries daily. This, together with a very busy, growing, new middle class, provides for a big and fast growing market
Widgets are expensive to build into a framework and very limited in their application. They only fit the use-case of something that widgets are a core part of (iGoogle/widget pages) or something that is marketed at parttime programmers (Wordpress/blogging platforms).

If you can create a website from scratch. Using widgets in place of custom code is a waste of everyone's time, including the person who is going to extending and maintaining that application.
Please never actually write code like this!

Here's my C version. :)

#include <stdio.h>
#include <stdlib.h>

#define NELEMS(x) (sizeof(x) / sizeof(x[0]))

void add1(int* arr, size_t size, int val, int n) {
if(!arr || size == 0) return;

#define add1_start ( n >= 0 ? 0 : size-1 )
#define add1_end (( n >= 0 ? i < size : i >= 0 ) && ( n != 0 ? inc < abs(n) : 1 ))
#define add1_iterate ( n >= 0 ? ++i : --i )

int inc = 0;
for(int i = add1_start; add1_end; add1_iterate) {
arr[i] += (arr[i] == val ? ++inc, 1 : 0);
}
}

void test(int val, int n) {
int arr[] = {1,4,1,5,1};
add1(arr,NELEMS(arr),val,n);

for(int i = 0; i < NELEMS(arr); ++i) {
printf("%d ",arr[i]);
}
printf("\n");
}

int main() {
test(1,0);
test(1,2);
test(1,-2);
return 0;
}
慢性鼻炎
What's the difference between "stealing the screen" and clicking All Programs which then fills up a major part of the screen while you hunt down which folder you're looking for, then try to find the application that exists in that folder?

Either way, you're going to lose focus of whatever was on the screen to begin with.
And bring back P4Win :)
if you can coordinate your own employee, or an employee at the supermarket to pull the order and have it ready just-in-time style to the curb, and then have the courier, again, be it your employee, a taxi without a customer, or another shopper going home to the same neighborhood you have gold. I would focus on the coordination of activities people are mostly already doing and by putting it all together you, and this specialized order fulfillment network/consortium make a few bucks.

I wish you luck.. that is a super cool business you get to design.
As a result of all the letters I've sent my representative in the last six months I received a letter from him (Fortenberry, R-NE) asking if I'd like to attend a Q&A with him next week.
In Australia, the government is trying to grant their security organisation (ASIO) permission to read citizens emails, monitor web behaviour, etc.
There is a similar petition for Australians to sign http://www.getup.org.au/campaigns/privacy/protect-us-but-res...
If an investor tells you they're already invested in your space? Always ask for the referral. The worst that can happen is that they'll say "no" a second time. But who knows? What you're doing may actually be more impressive to them than their current investments and they'd be happy to recommend someone else to you.
Yeah, that's an interesting case then.
Without knowing the idea it is hard to say.

The key question (IMHO) is whether a patent on this would be in the interest of society as a whole. I.e. would you still try to make the idea work even if there was no patent? Or would you not even try to development anything around this because of the fear of somebody stealing your idea and making money with it?

Edit: Spelling