skysight-inc/HackerNews huggingface dataset:
That would actually make some twisted kind of sense, I guess. These guys are using an HTML generator that produces things like this:

.g {
MARGIN: 72pt 90pt; size: 595.3pt 841.9pt
}

P.a {
FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Arial","sans-serif"; LETTER-SPACING: 0.5pt
}

TABLE.t {
BORDER-RIGHT: medium none; BORDER-TOP: medium none; MARGIN-LEFT: -5.4pt; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse
}

... oodles of it.
I agree. I was hoping for more generalized information to justify the general statement made by the submission's description.
You don't need to generate a new keypair - just copy your (single) public key to the authorized_keys file on each machine.

I can't think of any reason at all to copy the private key though.
Still not hard enough. Google needs to focus on what they do best: Search.
Are there certain classes of apps that sell well on android?
There's a real cool idea there, something about turning social networks inside out by focusing on meeting people instead of keeping track of people you already know. A dating site, without any real overtones of dating.

On the other hand, I have no idea how the hell to actually make money off of that. I was thinking it could be built on top of LinkedIn or Facebook, but that reduces the chances of ever making any money off of it even more.

Back to my "boring" ideas that involve people paying me money for providing actual value ;)
Thank you. I see somebody moved that row to the top. I added a short little plug, but I refrained from moving it back down to the bottom.

Thank you for going to all the trouble to curate this, by the way.
Ask HN Creatives: Anyone involved in direct mail stuff?
I launched MailFinch just about six months ago and we're now pushing ~20K pieces of mail each month. For now, it's basic letter-sized documents and booklets...

For those of you involved in direct mail of some sort, what are the standard types of media that you're working on these days? (postcards, letters, booklets, brochures, do they require return envelopes, etc?)
Classic strawman argument. (Straw woman, dare I say?) You simplistically assume your opponent is attacking men, when the issue is much deeper.

Both women and men have the same root for their poor choices: irrational hangups fed by systemic sexism. Both men and women disparage male cosmetologists, and praise females. Both men and women praise male programmers, and disparage females.
I've been kind of curious how much 3.3.1 outrage was from people who were already outraged. I really don't know how to get a good measure of that, though.
Whether or not there is an "inhospitable environment" is irrelevant if women show low interest rates that are linked to natural factors. Outliers must adapt to the environments they are faced with.

The inference of a particular place being "inhospitable" suggests that there is a large percentage minority at least that is being prevented from engaging in the experience because the current set up forces them to disengage.

I'm not seeing that. And as much as I wouldn't suggest that a class on French Fashion trends not need to over-accommodate the single male that is obsessed with this, I don't see any pressing needs to do this here either.
You're right, I don't think apple is that interested in devs' profitability, or for that matter, app store profits. But I also don't think they have any incentive to actively harm devs' chances of being successful... It's the "don't want them to profit" part that I can't understand. Maybe "don't care"... But "don't want"?
Earth's magnetic field 1590 - 1990
I've written one. It was for an embedded system.

A good, well tested binary search is a pain in the ass to write...

1. Your sorted array MUST use exactly the same ordering as the search is expecting. We built and sorted the array on a PC, and ran the search on the device, so this was not guaranteed.

2. There can be NO DUPLICATE KEYS.. Duplicate keys will eventually send the search down a blind alley and off into hyperspace. Also devilishly difficult to find if the array has a lot of items, and you don't know what the problem is.

3. The above 2 problems can sneak in during production with new data.
NO TESTING until after you’ve decided your program is correct.

Why? What is there to be gained by asking programmers to abide by such an unnatural constraint? I would never "decide my program is correct" without having tested at least bits and pieces of it in the REPL.
Pretty much every statistic you can imagine gets tracked. The interesting thing is how they are used. Time on site is a negative signal for instance.
While this scenario may not allow developers to work like they normally do, I think the author's point is that a simple binary search isn't that complicated. A decent dev should still be able to a pretty good job despite those artificial constraints.
The 3rd-biggest Internet company (MC $37bn) which you've probably never heard of
Part of what icey may be talking about is development; the wide variety of Android hardware does make for a major pain point that doesn't exist in the Apple ecosystem (though with the iPad and the new resolution on the next iPhone, it might be getting there).
Because it forces one to think things through instead of using trial and error.
The fact that people who start sentences with "the fact that" really mean "the anecdote that" is not a new phenomenon.
MonoMac Bindings: Blending Cocoa and .NET on OSX
Rugged Linux powered video serving robot remote controlled over internet
I get a lot of postcards (reminders/events/promotions).

BTW is that 20k paying pieces ?
In a well-implemented binary search duplicated keys are not a problem. You can even tune your code to return the first, the last, or a "random" one.

The point about the sort order matching the search order is more serious.

I've written all sorts of fundamental algorithms for embedded systems and I only really started to get good when I wrote the spec, wrote the proof, then derived the code. This was done informally, but a background in Pure Math let me do it without too much effort.

And it was worth it. Code developed that way tended to run first time with no surprises. After a while we increased the number of things we needed to prove about the code, and reliability was solid.

It seems the world of programming divides into several sub-classes, including (but not limited to):

+ Those who program web sites and databases

+ Those who program numerical systems and simulations

+ Those who program embedded devices and fundamental algorithms.

These are broad, and there are no doubt many more, but the skills required in "programming" seem to be dividing and become more differentiated.
You are welcome. It is always good to hear that something I worked hard on has proven to be useful.
All I did was re-iterate the parent comment in blunt terms, which is supposed to have the effect that it is that comment that is the strawman.

I'm making no argument directly, strawman or not.

Both women and men have the same root for their poor choices: irrational hangups fed by systemic sexism. Both men and women disparage male cosmetologists, and praise females. Both men and women praise male programmers, and disparage females.

These statements are presented as fact but are simply not. What is this "systemic sexism" we're agreeing on being present? I see little to support it within the context of this discussion.

All I see is an argument that is essentially:

1) There are few female programmers,
2) The cause is sexism,
3) We must address this.

I take issue with point 3 because point 2 has insufficient evidence to support it.
Here's a link to some of his work. A big fat hairy perl file:

http://cpansearch.perl.org/src/MIRK/Net-Z3950-Simple2ZOOM-1....

Knowing how to write code that is easy to read is just as important, if not more so, than knowing how to write binary searches.
Does it really make that much difference? I type my queries into the search bar, and when I get the results, that's all I see. I don't notice the design at all unless it gets in my way.
Regardless, anecdotes that form the basis of a call to action should still be supported as fact.
More important guess: Will Android pass Apple in terms of market share? They went from nothing to 1/3 of the way there in 1 quarter, pretty much.

Depends on how quickly Apple can make it to other carriers. If I were the carriers, I'd have a few backroom meetings to NOT offer the iPhone (lest they become dumb pipes!).

If I were Android, I'd drop the rev-share for apps to 15% from 30% so developers make more money with less sales. And I'd make sure the carriers got a bit of the rev share.

If I were Apple, I'd take that pile of cash and build out a cellular network ASAP. ;-)
As a heavy Omnigraffle user who is trying to migrate to Google docs I am very excited. Unfortunately Google hasn't made it easy to embed these drawing in documents. I'd love to see a "live" embed.
I've been thinking of this for a while.
Although there is fswebtools that shares the same spirit as GWT
http://tomasp.net/blog/fswebtools-intro.aspx, it's not as polished.
IMHO, F# for the backend to provide web service, jQuery for the frontend, and with JSON as the intermediate protocol may be a good combo.
"however the industry has been deprecating implementing an entire algorithm in one go in favour of implementing algorithms incrementally"

I dunno - for something as simple as a binary search there is nothing to increment. Maybe I misunderstand and you meant "incremental" as in where you write a whole algorithm, make sure it works, and then improve it (optimise/remove bugs/add features - not finish it)?

"It feels very retrograde to try to write the whole thing out and only then start thinking about off-by-one errors, computer arithmetic issues, and other edge cases."

Yeah... that is backwards. You should think of these things in advance, and if you have experience, you might have had to deal with them already. Binary search is especially simple - if you get the algorithm wrong I'm inclined to believe you are inexperienced, but if you just make typos and such, well... I'd expect that from anyone.

Then again all the rapid application development options today mean that anyone can use a binary search without writing one... or even write complete software with no real understanding of how it works.

Maybe I'm just out of date?
F#, like OCaml, is also multi-paradigm. Maybe not as much as Common Lisp, but it does have language-level support for OOP and imperative programming. It's not a purely functional language like Haskell.
How To Draw A Realistic Pencil and Break It Apart
In this Photoshop tutorial, we will draw realistic pencils and break them apart and rearrange them into word look like an beautiful typography using colorful art. The pencil is created in separate file and imported as a smart object to maintain its quality.
Latest facebook feature update
I suggest that "crushing Gizmodo" wouldn't do a bit of damage to Apple. People already talk heavily about Apple's behavior regarding their non-notebook mobile devices (and respective software). People who don't take part in the scrutiny and worship of the industry don't give a shit. Even most of those in the latter category don't care enough to make a difference, or they massage the idea in their minds until they can see it as justified.

Why would this be any different, especially given that it's in the case of a company that knowingly partook in illegal trade?
way too early. it will happen, but I'm thinking 2011 at the earliest.
Maybe the wording used was a little unnatural.

None of us write code and have no clue whether it's correct or not. We should have a certain degree of confidence.

In the example given, I think it would be more realistic to ask devs to write the function (without testing) and then note how confident you are in its correctness. I have no problem with someone who is pretty sure they have bugs and can discover and fix them. But if someone is confident they have it right and they're dead wrong... now we have a problem.
You can grab the general-purpose development tools (jdk, Eclipse, etc.) with apt-get. After that, you'll need to download the Android SDK and follow the installation steps. Eclipse will pull the remaining libraries for you. (If you encounter any strange errors while installing the SDK through Eclipse, try downloading the full Eclipse from eclipse.org and using that instead.) It's very easy to set up a virtual phone in the emulator and test your apps on various versions of Android.

Overall, my experience with the Android toolchain on Ubuntu (as well as OS X) has been a positive one.
Man, they're gonna be pissed when Apple drops the price 30% in two months...
Peopleware is out of print? That's a real shame. I wish as many managers had read Peopleware as have read The Mythical Man Month. If your local library has a copy, check it out.

Here are some small excerpts:

http://www.mattblodgett.com/2008/06/select-quotes-from-peopl...

http://www.kk.org/cooltools/archives/001248.php
Isn't one of the advantages to programming over other disciplines that we can create unit tests that define "success" and iterate quickly until we get there?
> It shows how fundamentally difficult it is to make credible business forecasts in technology.

Becoming a major success is fundamentally hard and predicting the future is fundamentally hard, so it shouldn't be much of a surprise.

You can see the effect in major established companies as well: Microsoft has two very successful products (Windows OS and Office), Google has one (search/AdWords). In both cases the core products are pretty much the entire profit for these companies. This is hardly for lack of trying, they have both launched dozens to hundreds of other products (and have tons of money to back them up), but have so far been unable to replicate the success.

It's not just technology either: Peter Lynch (a successful fund manager) coined the term "ten bagger" for a stock investment that increases tenfold in value. According to Lynch, ten baggers were incredibly satisfying and incredibly hard to find. (As I recall it from his book, the fund invested in hundreds of companies each year and there was still years between each ten bagger. In that perspective, one major success out of 40 seems pretty good.)

I guess it mostly goes to show that mountains of money tend not to lie around for the taking :)
Gotta love the competitive spirit... Now if only their other services would offer such "human" support, as opposed to the maddening, hair-pulling, teeth-wrenching -- yes -- god-questioning expereience it is trying to contact Checkout or AdWords support. (Don't get me wrong -- these are great products when working proper -- it's just when they aren't working, and I'm giving them $500/mo., it seems reasonable that I would be able to talk candidly with someone.)
If you look at the full-size images at Gizmodo the entire side metal area all the way around sticks out from the flush casing pretty noticeably. I think it's a prototype case or some kind of unfinished disguise. I forget where Ive was interviewed (perhaps in Objectified?) but he mentioned how much he stresses over the tightness of two joints and how perfectly flush he always wants them to be. I'd really be surprised if this were the final design, I'd guess that the top and bottom are final versions but the side wrapper will be a unibody-style, fully aluminum case.
You're joking right?

http://en.wikipedia.org/wiki/Protect_America_Act_of_2007#Dat...
"The conventional wisdom is that a lot of people are making a lot of money selling apps in the App Store."

That's not true in the professional app developer community. Hobbyists can make golf-money on the app store, and of course everyone likes to point out the few runaway success apps, but anyone professionally making games, for instance, knows that the business case for iPhone development is weak if you're not one of the really big guys like EA.

Indie game devs are far more interested in Facebook. Mobile is still more work for less pay and everyone seriously playing in the space knows it.
Ask HN: Should I believe the results of our A/B testing?
Over the last few weeks our little app got written up on some blogs around the web. It boosted our traffic levels significantly for around a week and the conversion rates from the referring blogs were extremely high. I'm attributing the high conversion rates to the fact that after someone read a review about our app, they wanted to come to our site and try it. So before they even became a 'user' the conversion was already there, just waiting to be registered.

So lets say we had 100 users reading one of our mentions on a blog that click through to our site to give the app a try...Does the download button or headline of the landing page (which we are A/B testing) really matter that much at this point? These users had a pretty clear goal of trying our app.
The conversion rates from these visitors were around 75-85% across about 10 blogs (about 4,000 visitors in total).
The app has no registration or credit card required barriers. The only requirement is that the user needs to have Firefox (which all of the blogs clearly mentioned before sending the users).

So should I be making judgment calls about the most effective headline or the color of the download button? Or should I just throw away this data and look at other traffic sources before making the decision of which headline to set as the next control?
Yeah, the duplicate key business came in because of other code hanging off the side of the search (a rather hairy algorithm that was searching for the next key with a different letter in a position -- given KLXX, increment the 2nd position until there's a key matching that criteria -- KLXX --> KMAA, or if there are no KM's, KN, KO, etc....
A resume of the 29 projects with language, framework and links to source code: http://txt.io/t-ew1t
Because every programmer's gut reaction to binary search is "that's easy!". The no testing rule says "orly? then show me"
Why 960 x 640
Wow, wait, I don't get it. You can copy from anywhere to anywhere with just one set of public private key.

for example, copy file from local machine:

scp some_file.tar.gz alex@remote_ip:~/

now copy the same file from a remote to the local machine:

scp alex@remote_ip:~/some_file.tar.gz ~/

But seamless logins form anywhere to anywhere in the way you described seems like a bad idea, unless you are willing to implement kerberos, ldap and nfs4, in this way you can just log in into a client machine using your existing credentials (see PAM) and if you have your home directory property mounted you can have public/private keypair on that machine. But this is a lot of work.
This is pretty reprehensible of the buyer and seller. What if you found a big bag of money? Would you keep it? If so, fuck you.

Edit: This isn't a matter of what's legal or not, or that it's Apple or not – it's a general issue with peoples' opportunistically predatory nature.
> for something as simple as a binary search there is nothing to increment. Maybe I misunderstand and you meant "incremental" as in where you write a whole algorithm, make sure it works, and then improve it (optimise/remove bugs/add features - not finish it)?

I strongly suspect--and I am not being sarcastic or falsely modest--that I am not up to scratch as far as programming is concerned. I almost always get stuff like this wrong when I implement it. My code breaks for empty lists, or with just one element, or lists with an odd number of elements, or something else I can't imagine.

Exposure to recursive algorithms has taught me to build this kind of thing up from simple cases like an empty list or a list with one element. So yes, I really would write a version that works for the empty list, a version that works for either the empty list or just one element, and go from there.
Adwords has excellent human support. Of course, you have to reach the level where they take enough interest in you. I've found that to be about the $2000/month level.

If you get to the $100K+/yr level then you get a rep. with a direct line that you can appeal to.

Then once you have your adwords rep on board, they are good at helping you get support from other groups... Checkout, Google products, etc.
Will Wall Street require Python?
Nearly All Binary Searches and Mergesorts are Broken:
http://googleresearch.blogspot.com/2006/06/extra-extra-read-...
I have to laugh at how Apple was able to remotely disable that one specific phone at their will. If that's not alarming to anyone who owns an apple product, they simply deserve to lose control of whatever they buy.
But they haven't broken AES or the key exchange protocols. Nobody sends important data across the Internet unencrypted.
Developers will develop where they think they will make the most money. Currently, that is Apple's App Store. A $500 phone isn't going to push someone to spending the time and resources to release to Android. At least not someone with very much business sense. I'm not trying to be a hero; I'm trying to make a dollar.
Speaking as a fairly frequent traveler here...

In my mind, there are two sets of uniformed people at the airport. "Airline worker" (gate agent, skycap, pilots, etc) who are there to help me.... and "TSA" (Anyone with a badge, possibly a gun, and the ability to basically do whatever the hell they want) who are there to make life demeaning.

It doesn't matter to me that the dark blue person is Homeland Security, the pale blue person is Customs, and the in-between blue one is Immigration. They are all equally "the man" and equally capable putting me on the "fuck that guy" list.

Intellectually I understand that many of them perform a valuable service. Emotionally I fear (and by extension: hate) them and have grown to dread traveling.
Maybe I was fortunate; I learned how to write a binary search in my lower-level CS courses. I didn't even find it particularly difficult, but then again, the concept was explained quite clearly before I had to code it.
Does it really need to have a window manager?
Risk: The story of America's greatest idea
How is that relevant? It's essentially equivalent to an ad hominem. Just because the guy wrote bad code doesn't mean he might not have a good point.
I also literally just got a Nexus One. Though I'm typing this on my new MacBook.

I'm just so confused! (Or not. Best tool for the job. I'd rather not rely on just one ecosystem all the time.)
The advantage of Android is that it has an army of hardware manufacturers that can churn phones of different price points. Android can be released in much more countries quickly than the IPhone since these HW companies will be the ones making deals with carriers in different countries.

This is why I think it's a matter of time for Android to overtake the IPhone in terms of unit sales. If the 30+ Android models are actually released later this year, Android will likely surpass the IPhone early next year.

The profits crown will remain with Apple though for a very long time.
... This is an advertised feature of the phone (and many others). Not alarming.
Customs is part of DHS.
Forget the buyer and seller. The person that lost their iPhone prototype in a bar is the one who's going to get crushed by Apple.
nice that they use svg, could put more pressure on ie / drive adoption of chrome frame
Apparently more of the story is coming out soon. They're going to milk it all they can of course, but it should be interesting.

http://twitter.com/nicknotned/status/12472344531
Umm.. I should point out two things-

1) It's a prototype. Building protections into your prototypes is common-sense, and doesn't mean that there is an evil overlord out to attack you.

2) Both Blackberry and iPhones have had this capability for years. It's part of MobileMe, and built into every BES. It's a must for enterprise use, practically anywhere. This is a publicized feature, and a very useful one.