skysight-inc/HackerNews huggingface dataset:
You generally try to make tests positive, which then makes this work ( -isEqual: rather than -isDifferent:).

Of course, there is one place where you have to go the other way: -isNil: does not work, you need to use -isNotNil

Unless you use the runtime's (private) nil-hook:

+(void)setNilHandler
{
installed=YES;
_objc_setNilReceiver([self nsNil]);
}

Then you can send messages to nil and they will be sent to your class. Of course, you want to mimic the nil-eating behavior as much as possible, so:

static id idresult( id receiver, SEL selector, ... ) { return nil; }

+(BOOL)resolveInstanceMethod:(SEL)selector
{
class_addMethod(self, selector, (IMP)idresult , "@@:@");
return YES;
}
> What is it that you think is being implicitly asked of you?

Well, that's the real trick, since it's been hard to pin down to any level of precision.

But then, I'm not one of the people going around, sanctimoniously passing judgement on those who don't conform to my personal moral code.

But if you can find one of them, and get them to give you an unambiguous, noncontradictory explanation for exactly what they expect of everyone, I'd consider it a favor if you passed it along. :-)
It is part of our secret sauce, but when you receive a pitch, your very basic interactions with it feed back into the system.
I'm inclined towards tv sitcoms/music data, but thanks for the links.
It doesn't help that Adobe has a million twitter accounts.
Solid functionality that I'll personally use. Good work.
Alternatively you could do

netcat -l -p 80
seconded. what I have always used
Programmer Religious Wars and the Abstraction Gradient
The existence of X has nothing to do with the multitude of desktop environments. At all. In fact they are almost all working or working to port over to Wayland/Weston already anyway.

Why on God's earth would someone want Android on a desktop machine?

Why does there need to be one dominant DE anyway? The day that happens is the day the core base of Linux users ditches Linux. It flatly will never happen. You think KDE is going to one day just say "okay GNOME, we quit"?
I deleted my LinkedIn account about 1.5 years ago. I was getting hammered by recruiters constantly, and I felt like I needed to politely decline them all. After a while it got to to be too much so I just pulled the plug.

That decision isn't without consequences. I've greatly reduced my possibilities for networking by doing this. If I had to do it over again, I probably would not have deleted my account.

But, on the other hand, when I now get contacted by recruiters they find me through StackOverflow, github or my website; and thus they have infinitely better opportunities for me and generally seem to be higher caliber recruiters to boot.
Finished CodeAcademy, now what?
Hey guys,

I'm from another background than most of you. I had an (online) marketing agency, did some webdesign and most of my experience lays in sales.

Next to my job I'm following courses on data science (big data), project management and organizational analysis. However, development and programming keeps interesting me. (As a kid I liked building websites, still do!)

I've finished the CodeAcademy Ruby tutorials, watched some videos and read a lot. Now I feel I got the basics and want your input for intermediate level courses/tutorials.

Got any tips to take my knowledge to the next level?

If you're a tech person that could use some sales/marketing advice, feel free to let me know!
Liked the favicon part, very often forgotten...

Would be nice if this was open sourced so more items could have been added by the community (also framework specific checklists) but I like the concept

One thing I would add which is driving me crazy on mobile / tablet sign up pages

- make sure your email fields are annotated with type="email"

Another common issue is with SSL mixed content waring, so I would also add

- make sure to use protocol relative / https only URLs

(with a reminder to NOT use protocol relative URLs in email templates, your outlook users will appreciate it)
I got the impression that the author was trying to be funny by using exaggerated arrogance. However, that made the actual advice lose its impact because the author didn't seem serious about it. Or worse, it almost sounded like the author was giving the advice sarcastically and meant the opposite.
"which is why I simply flag all LinkedIn emails as Spam...."

That's really not what the "spam" button is for, and you probably know that. You most certainly could turn those emails off - just go to email settings and click "introductions only". There's even a link at the bottom of each email to adjust your settings.

Don't make it more likely that my LinkedIn messages get marked as spam through Spamhaus or gmail algorithms just because you don't want to click twice to unsubscribe or prove some kind of hate-point.

(source: used to take care of an opt-in service's email spam rankings and had tons of people not use the "easy unsubscribe", and others angry they couldn't get their expected/important notifications sometimes when it got sent to a spam folder)
Innovation will continue but what?
How about biotech having the most potential? Where? in the valley or asia (where there's a growing mass of scientists)

As things commoditize it seems design would shift to less costly areas.
Haha! I like the 'internet-testing' part :D
In my experience, most countries want you to have a working visa when you intend to do a job that someone else in that country could be doing. Immigration law/policy hasn't really caught up with the Information Age in this respect... But as long as you aren't in a country working for clients in that same country, the country isn't going to care.

I guess it's similar to how visas work for writers. There are artist visas for writers, but they seem to exist so the artist can stay longer.
How could it be any other way, with hundreds of millions of people -- each with their own domain expertise -- now able to compete with journalists who often have little knowledge outside of J-school?

Very few of those people are writing from and about Syria, or are getting 1:1 interviews with the House Majority Whip. You see this most clearly in state and city government; the demise of newspapers has eliminated practically every source of information that would give you an idea of who to vote for for State Senate.
The two friends in question aren't very technical at all. They had reported, after being alerted by a friend, that their account had sent out emails posing as them and contained a malicious link. They confirmed this by checking their sent mail.

So I think this is more than spoofed email. Plus, having both of these friends, with Yahoo accounts, report this on the same day of this vulnerability going public is a pretty big coincidence.
Yeah I am Canadian so neither Coinbase or BitInstant work for me. As far as I can tell my best option is adding a Bitcoin payment site as a "Bill Payee" in my online banking and paying it like a bill. Not exactly mainstream... :-)

Even BitInstant and Coinbase are kind of clunky and require the user to have an understanding of how Bitcoins work. (e.g. understand wallets, etc). That is the nice thing about Paypal...you can either login and pay with your paypal account or use them as a CC processor if you don't have an account.
There are some very good reasons to use Rails. In the case of this article I am using the RailsAPI gem which is a very thin version of Rails itself. The README goes into details on why use this rather than a more simple solution https://github.com/rails-api/rails-api
Signing your 3d prints
starter pack is 25k for 2 cores
That moment you're checked to see if you have cancer
In the home market it is dead except for hardcore gamers. Business is trickier. I'd say it has been mortally wounded. Most people have a macbook or thinkpad that powers large displays, but they still take it with them and maybe use the small 13 inch screen at a coffee shop.
Big time bookmark. Thanks!
So theoretically, one could rent movies from Redbox, convert them to digital on Vudu, and for $3 ($1 from Redbox, $2 to Vudu) you could have a new release at a significant discount?
> that's 4x the pixels (and bytes.)

I don't think this is true -- I don't think the compressed size tends to scale linearly with the raw # of pixels. I did a few tests and saw that using the same compression settings on the larger image typically resulted in an image 3x the size.

There was a post I saw that showed up on HN a while ago claiming you might be better off just using highly-compressed high resolution images for both high-DPI and normal-DPI displays: http://blog.netvlies.nl/design-interactie/retina-revolution/

And the previous HN discussion, since there was a fair bit of disagreement: http://news.ycombinator.com/item?id=4623160
> that's 4x the pixels (and bytes.)

In my experience the 4x pixels works out to something less than 4x bytes assuming jpg or 24bit PNGs because the compression gets more efficient. For instance quadrupling the number of pixels generally doesn't increase the color table by 4x.

I just calculated the difference for about 100 retina files on my sites/apps, and the average size increase is 1.8x.
Almost all the higher-end mobile devices have high-DPI displays now. All the flagship Android and Win 8 phones, and even many of the mid-range ones. Heck, even the Blackberry 9900 has a high-DPI display.
IMS?
No. That's what the back button, middle-click, or (cmd/ctrl/whatever it's mapped as) + click are for.
Wrapbootstrap.com now accepts bitcoin
A Basic Guide To Online Reputation Management
Buzz was dead before G+ was even launched.
I don't recall all the details, but it was Windows 95 times. This embedded system utility basically zipped the root directory and rendered the computer unable to boot. I could have saved my parents a headache if I had been aware of the consequences.
Curious: apart from methodical patience, what super power do you believe Patrick was "very good at"?

I'm confirming too many people's biases by commenting on a 'patio11 thread about 'patio11, but the deliberately assumed helplessness of HN'ers when it comes to business is one of those things that drives me fucking bananas. In this case, so bananas that I have deployed ASCII art on HN for the first time ever. :)
Don't do it that way then. How about a using /queries collection? You could create a query there and have the server return a link to the results using the 'location' header.
I don't know if it's a real issue or not, but I've heard before that giving a detailed report on a past employee's misdeeds can open you up to litigation, especially if you can't prove your claims.
Weird, the very first thing I noticed was how pixely the g+ twitter and rss icons look at the top in my non retina desktop
"Quitting LinkedIn"

I hate to be the bearer of bad news but the sun will still rise tomorrow, just as it rose when people "quit Facebook" ...Google, Twitter, iPhones or whatever.
When a version with a built in Arduino, mic, and camera comes out, maybe then I'll consider it.
my problem with these tracking apps is that it's too easy to "cheat" the system if you have more than one monitor. I typically have a video or stream open on one monitor while I have focus on a window in another monitor so the app doesn't log my distractions.
Supporting a high density display is not just about making images 2x as big. A responsive design, use of icon fonts and careful use of images and you can do it pretty painlessly.

Clearly my personal blog is not a bastion of high design, but it looks pretty decent on every screen I've viewed it on just by following these small prescriptions and testing it during construction on both high and low density displays. It's really not that hard. http://jeffbail.com if you're interested.

That said, since its my personal site, I can do whatever I want and I appreciate fully that is not usually the case at some/most corporations. These folks usually need more than 6 months to make these types of changes, get approval from higher ups, etc...
The Evolution Of The Deadline: From eBay - Groupon - Amazon
Not sure how well adopted it is, but Bourbon CSS's mixin for serving Hi-DPI assets includes DPI-based media queries:

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 1.5/1),
only screen and (min-resolution: 144dpi),
only screen and (min-resolution: 1.5dppx) {
width: 260px;
}
So Patrick did not throw up a crap product--it was just a very simple product.

If you are serious about this, start reading his blog from the beginning. He gives a blow-by-blow account of how he got there.

And I predict that having a self-defeating attitude will greatly impede your success.
I was also deeply confused by the capitalisation of Progress in the first paragraph. I wondered briefly whether it was some kind of web/retina image framework.
Depends on how visible your name->email is. I got one yesterday to my current non-public email address (never used for anything except person to person email, and usually not even that), from the one guy I know who uses yahoo email. Told him he might want to make sure his AV is in shape and change his password. Still no idea if it's from this or something else, he discovered that he had a bit of malware (nothing extreme, your average user level) so it could have been anything, but the timing is pretty suspicious considering his setup has gotten infected exactly once over about the four years I've known him (that I know of, but I have no doubt I'd be the first to know).
Do you think copyright terms are too long? I don't think there are too many even here (although they are often vocal) who would advocate completely getting rid of copyright, but the content of that memo did seem sensible to me..
How Tide Detergent Became a Drug Currency
Either you didn't try it at all, or you don't know the difference between the SNES or NES. Good job.

Not a great demo, but it's functional.
Hands on preview of Nvidia's new handheld system that can stream Steam games
In the example URL you gave, the content of the URL (base64):
({:project-id "505a125e44ae42e05a750c97", :object-instance "2", :object-type "0", :device-id "1234"} {:project-id "505a125e44ae42e05a750c97", :object-instance "1", :object-type "0", :device-id "1234"} {:project-id "505a125e44ae42e05a750c97", :object-instance "0", :object-type "0", :device-id "1234"})

seems like it would be better stored on the server in redis or something (or, at least if leaving it in the URL, a more compact deduplicated format might be worthwhile)
Python for Kids
You must have been livid when you found out that your Blogger account had a "profile" attached to it as well.

People act like Google waits for you to do a search and then says "Please post to Google+ to continue with your search".
I'm well aware of both the meaning and etymology of the word.

Now, you should step back for a second and think about what the value 0 means in a program. Take the following function:

int secondsUntilNextEvent()

Does 0 mean "the next event is immediate", or does it mean "there is no interval because there is no next event"? 0 here does not necessarily mean "nothing".

An option type gives you a different state for "there is no value here, at all". Putting a zero into an int certainly does not signify "no value". It signifies a value, and that value is zero.

What number is greater than three but less than one? Nothing. There is no such number. "0" is not a correct answer.
“it’s not hard to imagine that a customs agent (who spends 40 hours a week looking suspiciously at people, thinking skeptically about the honesty of what people say, scientifically observing people’s eye movement, and trying to trip people up with confusing questions) might approach a conversation with someone they’ve just met at a party differently than they would have before taking the job.”

This actually sounds like a decent sketch comedy premise
Oh golly, a PermaBear blog. That's going to be upbeat now isn't it?

The trouble with Eeyore's and Chicken Little's is they are always right. That is they become right if you wait long enough and then they are only right for a short time. That brief window is when they perk up all happy and smiling and point out, "Hey, you should've listened, I was right."

Never mind the opportunity cost of waiting for the right timing. It's a good thing the stock market charges interest on a short position so that there is a cost to not being right NOW.

With that aside, the Consumer Internet focus has resulted in tremendously less innovation in recent years. I've worked for 6 VC funded startups including 3 I founded. Not one of them could be funded today because they were all started with a slide show and a team.

The VC's of today want a product, happy customers, and even momentum before they put much in. It's literally harder to do much within that window. See my post:

http://smoothspan.wordpress.com/2012/09/13/you-cant-do-crp-w...

OTOH, it is possible to bootstrap like never before. Maybe there's innovation to be had there. And there is talk of the VC's going back to Enterprise. We'll see if anything big gets built or if they focus on the consumerization of IT (aka more Consumer Internet sold B2B).
Wouldn't all bitcoin related companies be considered startups given its age?
Algorithm Monday - Map/Reduce in CouchDB
I'd like to think we are going to see a new wave of innovation on the desktop - web apps have been catching up to a mostly static target but perhaps now there will be enough impetus to improve. I think that workflow and data relation management are two areas that the desktop has an advantage over the web (mostly due to processing power, speed of data transfer and graphics capability)

I'll stick my neck out: due to the influence of mobile and web apps the file system and explorer as we know it will have disappeared in 5 years to be replaced with something better.
"DHH and Rails are all about pragmatic choices for fairly simple, maybe a little complex webapps built by 1-5-ish programmers (I’m sure there are large Rails projects, but I think they’re a minority)."

I have neither the time nor will to refute this with actual numbers, but I can say that 1) by their nature large projects are 'in the minority' and 2) anecdotally I really doubt at this stage Rails is proportionally all that different than other frameworks.

This was probably a true statement a few years ago but there are numerous examples of large teams working on large Rails codebases at present. I'm here to tell you my day-to-day is anything but simple or small. Discovering the numerous examples of other large Rails codebases currently in production I leave as an exercise for the reader.
Integrated Multimedia Subsystem.

It's a wrapper system to let Telcos perform IP operations on non-IP infrastructure. Lets you treat the PSTN like an IP network.

It's pretty jenky but it's required by the big guys for interop.
Yes, I do think copyright terms are too long.
The Perfect Toolbox of iOS Apps for Online Marketing
I agree: http://thepbxblog.com/2013/01/07/att-and-apis-where-does-twi...
Good point. The GOP needs to adapt their message to local conditions. There's miles of distance between Scott Brown and Rand Paul, but they both were well equipped to win their districts. Right now, the GOP brand is crap on the coasts but there are parts of the GOP DNA that would show well here.

Picking up the Silicon Valley crowd is very important for the GOP. They are wealthy, passionate, and activist. When Obama ran in 2008, hundreds of tech savvy engineers put their lives on hold to build the most technically advanced campaign of all time.

The right wing complained for decades about getting shut out of the old media. They shouldn't forfeit control of the new media without a fight.
I made a collaborative Gmail filter up on GitHub. I no longer get any recruiter spam at all.

https://github.com/drcongo/spammy-recruiters
Many eyes | ibm platform for data visualization
I drink my coffee with a fat source sometimes, but never my tea.
It's really not that hard to do a decent job with Retina.

For LESS, I like "retina.less" from http://retinajs.com/

#logo {
.at2x('/images/my_image.png', 200px, 100px);
}

Could easily be adopted for SASS I'm sure.

This avoids the typical double-image downloading (like on Apple's website).

https://github.com/imulus/retinajs/blob/master/src/retina.le...

And if I'm rendering an image JavaScript and want to choose a resolution (like for Gravatar), can detect like this:

app.isRetina = function(){
var mediaQuery = "(-webkit-min-device-pixel-ratio: 1.5),\
(min--moz-device-pixel-ratio: 1.5),\
(-o-min-device-pixel-ratio: 3/2),\
(min-resolution: 1.5dppx)";
if (window.devicePixelRatio > 1)
return true;
if (window.matchMedia && window.matchMedia(mediaQuery).matches)
return true;
return false;
}();
Biotech's big area is Boston.
I'd definitely sign up if I was looking.

Kudos particularly on your landing page design. Very clean and easy to parse mentally. The long-form is beautifully done.
Isn't it a risky move to build a company around a cryptographic concept that wasn't around for that much time ?
The current (conservative) government in Victoria is no friend to renewables. It's brought in rules saying that anyone within 2km of a proposed wind generator has total veto rights, regardless of whether they can see or hear it from their property. There are also six areas in the state where wind generators are simply not allowed, period - most are around coal stations.

I used to work for a company where the owner was also involved in the wind power industry, and every now and then we'd hear things like the above. It ain't exactly being encouraged by our state government, that's for sure.
I was asking because if you optimize for pitches response rate, you end up with better pitches but not necessarily good matches between candidates/companies.
You are absolutely right here on the government point, but I think that fact cuts a different way. Without newspapers to make up people's minds for them on who to vote for, they will now need to actually read position papers and make an informed decision on their own (or else refrain from voting as is their right). Or start their own blog if they truly care.

News coverage has a tremendous effect on public opinion (it can be argued that the media in 1992 was responsible for the LA riots), so decentralization of opinion means that journalists have much less power to decide which candidates are "acceptable".

[Regarding Syria, they did cut off their internet connection, but I don't believe the centralized news media has done a very good job of reporting what's actually going on in the Middle East in general. I trust Google Translate Arabic + first-party sources more than Judith Miller; YMMV.]
Wow. Either a lot of web site developers posting here really don't give two hoots about the quality of their website's appearance, or a lot of the people posting here are posers that don't develop websites but feel entitled to an opinion about it. Either way, not a great indicator of the direction the HN community is headed.
>but the inescapable fact is that saying "you're privileged" is not only inherently accusatory, but does more to emphasize (and reinforce) that which divides, rather than that which unites.

Sigh. I'm privileged. Saying that white men in the USA are privileged isn't an accusation, it's an observed fact. The fact that the response to it is "NUH UH, you're calling me names", is the reason that we can't have an educated discussion about privilege in our culture.