skysight-inc/HackerNews huggingface dataset:
- Em-dashes—like this according to convention.

According to one convention. It is unusual but some style manuals require you to put spaces around m-dashes.

I also don’t think that there are better serif screen fonts than Georgia by default on Macs. There is Hoefler Text which is nice (if a bit quirky and certainly polarizing) but I think having the page look the same everywhere is preferable to using Hoefler Text on the Mac and Georgia elsewhere.
I think you meant

if (strpos(@file_get_contents('http://'.long2ip($c), false, stream_context_create(array('http’ => array('timeout’ => $argv[3])))), $argv[4]) !== false)
My bad then.
> - Come on, there are better fonts than Georgia on my mac

I, for one, do not have your mac.
Nothing is free. You have so many hours of development time available. The more old versions you support, the less time you have available for new development.

The very fastest thing to do is to only suport the latest version. I'm not saying this is the best or right thing to do, just that there is a natural trade-off between supporting old versions and developing new functionality.
BioWare Neverwinter Nights forum hacked, user details compromised
It isn't computer science per se, but it is a list of common tasks that many CS grads will end up doing in their career. However, I think it is basically a list of things for those who are going into web/software dev type positions. If I've just been hired to write Roomba firmware, some of that might not be quite as helpful.

EDIT: Also, the list is numbered in binary
In a recent HN thread, someone correctly stated that Mozilla and Google are working the browser market like a tag team, not like competitors. In accordance with that view, I think it would have been more sensible for Mozilla to stay with their previous versioning scheme, and not call something 5.0 which really should have been 4.1, thus making a complementary offer to the user base, instead of doing it exactly like Chrome.
The other option is a flat fee per month. How ridiculous would it be if Netflix required you to pay $15 per movie before they could rent you a DVD?
>I'm pretty sure that it's rather unlikely that Mozilla has a major screw up in the Gecko rendering engine or their javascript implementation.

You're giving the Firefox guys too much credit. Bugs do happen even in web browsers and not all corporate websites are made by people that don't know about programming or standards.

The thing is: somebody pays (sometimes a whole lot) to use an webapp and you have to guarantee that your site will work for him on a given browser version. This means you actually test the product in various ways. You can't just put blind trust into Firefox that is will just be perfect from now on.

>Even if so, the accelerated release cycle will ensure that it'll be fixed right away.

Yeah, and who pays for the downtime, losses, etc. in the mean time?

As an user I like Chrome and I see the value of having it autoupdate on my parent's computer so I don't have to manage that myself.

But in a corporation some pretty big money are starting to depend on browsers so you can't just believe new updates won't subtly break something.
Related, there's an episode of 'Brewmasters' that covered DFH brewing this beer. It's worth checking out (although the show's been cancelled).
Your code has a bug on line 2.

@file_get_contents('http://.long2ip(ip2long($argv[1])+$c)

Since $c is the IP address itself, adding the starting IP again will check a completely different IP.

Besides that, you have a point. I feel like the code would be so much cleaner if they just added a 4th line to declare ip2long($argv[1]) as a variable.
Right, but that's generally in reference to more LoC > less LoC.

It's usually agreed that accomplishing the same thing in less lines of code is, of course, better. (As long as you've maintained readability, etc)
Nokia's new MeeGo-based N9 is set up for failure
Lawsuit: Sony laid off security staff, unprepared for PS3 hacks
Yes, but I believe their intent was to rewrite the other script as it functioned, not for it to be any more effective.
It's dying (is it?) because it's slow and not-so-useable.

Ok, I just say that because a netbook (Gigabyte Q1000C, 2g of RAM, Atom N470) has been my main personal computing platform for some months now, but boy is it painful! The thing even fails to finish moderately heavy compilation tasks (eg. qemu or gcc). Oh, and it's made of subpar components too, the touchpad doesn't handle even vertical scrolling! There's like 2 non-visible areas tappable/touchable to go up and down... And the keyboard randomly decides that it like the key I last pressed and keeps pressing it for me...

That rant passed it must be said that's I'm not a typical user and my wife use her first gen Aspire One like nothing's wrong so maybe it's just me.
Well spotted.

I forgot to replace it on line 2, only did it on line 3.
Although good points, most — if not all — are arguable.

1. Why not?

2. Agreed, although images are safe in that they render identically in all browsers.

3. Which convention? In the UK em-dashes are surrounded by spaces. Other conventions recommend hair-spaces.

4. Not sure which example you're talking about.

5. There's nothing wrong with Georgia.
To simplify the argument you presented - 'they need to use the system while simultaneously attacking it'. This makes the assumption that they want to preserve and modify the current system as opposed to outright decimating it. One way of framing their campaign is that they are basically doing what the Allies did to the Nazis, which is to say, bombing without restraint in the hopes of leaving nothing but a pile of rubble where they currently stand. I'm also not entirely sure that they are on the side of the people but more that they are simply against the regime.

This makes some sense because, as they say, and I'm paraphrasing here, you can paint shit gold but it's still the same shit. If a century of playing by their rules has brought us no closer to resolving the corruption then its not far-fetched to say that the playing field is skewed by it's very nature.

Disclaimer: I don't advocate this approach but I agree with the general assessment of the situation. Personally, I think that it would be more effective to go Gandhi on their asses.
Yeah, I missed it. Thanks for spotting.
What do you think graduating computer science majors go on to do?
If you think it's easy to teach users to intelligently choose among several different browsers for each of several web apps you've never worked in corporate IT before.
That's the point. There's a general disconnect in a good amount of CS programs between the curriculum and reality. This post is trying to bridge the two.

I'd also like to add:

10000 Learn to use source control, use it to store your new LAMP code on Github.
10001 Start studying design: web, graphic, type.
You can't rely on the broad range of browsers and platforms to correctly represent a lot of the examples required to demonstrate typographical concepts - images make good sense here.

And not everyone has a mac...
Quick someone (preferably a graduate) knock out a web app where grads can tick the boxes & provide links (where applicable) for these milestones
Puppet 2.7 Released
up to 0100 and haven't been accepted to a CS program...

(havent applied yet either)
Apple Releases Security Update 2011-004 for Leopard
Creative and adept use of php is always a fun read.
I don’t like Verdana that much but I’m slightly irrational about that.

The reason are the curly quotes. “They are all weird for English text” (you might still justify the way they look somehow – I guess they are not technically incorrect) and flat out wrong „when you follow the German convention for curly quotes”. (Since HN uses Verdana you can see right here how screwed up those curly quotes are.)

Those quotes should look like 66 (beginning, top) and 99 (end, top) for English text and like 99 (beginning, bottom) and 66 (end, top) for German text.

I guess you could use «guillemets» instead.
Helvetica was really a fantastic film. If anyone is in the mood for an informative documentary, I would recommend it.
Team Fortress 2: Why Go Free?
10001 - Talk to a girl.
It can't be a completely intractable problem; iPhone apps have been able to do it since iOS 2.0.
Although sounds a bit jaded, the article does have a point. Nokia appears to unintentionally sow fear, uncertainty and doubt about its own products.

With both Apple and Google, you have some sense of where it's going to go (more of the same, just better). With Nokia, who can reliably predict where the platform's going to go in a year or so? Or even which one?

Still, N9 gives me a glimmer of hope. One can hope, right?
I imagine the poster meant paved with asphalt which in the US is called pavement.
I suppose. I wonder what would be a better way to find their web server. Maybe looking for IPs that run a web server using nginx, but don't respond to the host specified in their rDNS record. Then again, that would lead to way too many hosts.
Let me compress this list, for those people in CS programs which focus on theoretical/more abstract paradigms, it is useful ( and fun ) to code. SO

10 Write code in <language> for <project> based on <technology/idea> on <platform>

20 goto 10
It's an interesting list, but I do believe it lacks a lot of computer-specific things which I personally think people should do. For example

- Build your own computer
- Build your own (small) operative system
- Build your own programming language

would be on my list of things a CS-student should do before graduating, because you will most likely get into problems where knowledge of the three things mentioned above will help you understand/solve the problem. Obviously, that list is not complete, but I think those are some of the more important points.
Those are the tradeoffs of webapps. They're relatively portable and don't require manual deployment for every update but web tech moves fast. The good news is that today standards support is good enough across browsers that you should be able to write fairly durable apps if you don't push niche functionality too hard.
+1 for Anki.

I'm just started learning German as well (also moved to Berlin quite recently), and I can recommend this online course for getting down with the basics of grammar, counting etc: http://deutschkurse.dw-world.de/KursPlattform/WebObjects/Kur...
"The iPhone 4 design is iconic and sets itself apart from other smartphones. You can see from far if somebody is using an iPhone 4. Only real geeks can tell Android phones apart."

Except, you know, the Samsung phones that Apple is suing Samsung over because they look so much alike.

For my money, each Android phone is as much different from each other as they are from iPhones.

I think what they were trying to say is that you can't name the model unless you're a fan, but that's true for anything that such wide diversity. I can't put a name to most cars, for instance.
They broke that in FF4 (intentionally).
Even if it was indeed a necessary precaution (for which I have doubts), any innocent parties affected by this should be contacted for arranging a proper reimbursement and be issued an official apology, as soon as the operation was completed, and without them having to pursue it.
why does this not surprise me?
I decided to actually look it up, and according to an etymology dictionary:
"1650s, "tutelary spirit," from Fr. génie, from L. genius (see genius); used in French translation of "Arabian Nights" to render Arabic jinni, singular of jinn, which it accidentally resembled, and attested in English with this sense from 1748."

On the other hand, my above post absolutely deserved to be downvoted because it is entirely unclear that I meant "The same root as 'malin génie' (evil genius in the 16th century sense of 'genious' as an inspirational spirit) as opposed to demon.
There is another reason apple needs a lot of curved glass cutters:

http://mashable.com/2011/06/08/apple-cupertino-campus/
If you want to take things further, there are arguments that "demon" comes from the area that is now more or less India, and that the negativity associated now associated with the term "in the west" was created as part of the struggle of one religion to dominate over another (likely corresponding to the desire of one polity to dominate over the other(s)... but my memory gets even fuzzier at this point).

Anyway, I, too, pronounce it "daemon". I find this makes a useful distinction; also, I figure why insult the processes from which I'm hoping to receive good things. ;-)
Microsoft Windows 8 Features Leaked 
Window 8 will also work on small devices like smart phones and Tablet PCs. It seems that Microsoft is obliged to give Apple the market during difficult times. For this reason, support from Microsoft for ARM processors that can work in all units of small size.
From Rhode Island: '...let police get names and other identifying information from service providers for online speech that they find to be "offensive"...'

From The Constitution: "...or prohibiting the free exercise thereof; or abridging the freedom of speech..."

From The Supreme Court: "In Talley v. California, 362 U.S. 60 (1960), the Court struck down a Los Angeles city ordinance that made it a crime to distribute anonymous pamphlets. In McIntyre v. Ohio Elections Commission, 514 U.S. 334 (1995), the Court struck down an Ohio statute that made it a crime to distribute anonymous campaign literature. However, in Meese v. Keene,, 481 U.S. 465 (1987), the Court upheld the Foreign Agents Registration Act of 1938, under which several Canadian films were defined as "political propaganda," requiring their sponsors to be identified."[1]

It would appear there is more case law in support of protecting the constitution however this is not a guarantee. The Rhode Island law is broad enough to be used in situations outside of the spirit it is being sold under: "Protect the Children!"

While I'm all for protecting those who can not protect themselves we as a country must start demanding that our law makers enact laws where the letters match the spirit.

If you want to pass laws to stop pedophilia then write laws that says "<insert broad law text here> where such evidence can be used only within the scope of an investigation and prosecution of crimes under <insert the section from the current pedophilia laws that define what it is>"

Is that so difficult?

The courts enjoy interrupting the 'letter of the law' and not the spirit. From my perspective this is false advertisement to each supporting law makers constituents. We have an entire government agency, the FTC, that is devoted to protecting consumers against these sort of things [2][3][4] but they only investigate private individuals and corporations.

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

[2] http://news.cnet.com/FTC-settles-online-false-advertising-ca...

[3] http://www.ftc.gov/opa/2010/07/nestle.shtm

[4] http://www.winston.com/index.cfm?contentid=34&itemid=377...
Not everyone has a mac, but you can do

font-family: Times, Georgia, etc

So that it falls back on Georgia if the user does not have Times or whatever font is specified first.

About images: I disagree, a lot of typographical details can be made to work even on IE6/7
I don't think that anyone not from l.a. understand the illegal immigration thing going on here. it's difficult to give the full image.

I'm living here for more than a year and am still shocked that there are neighborhoods that only speak their native language and are virtually paperless... even though some of them goes to tijuana every other weekend. I'm here legally and still avoid going to mexico to avoid the hassle.
No offense, but the teller will then categorize you as a person lacking imagination. Instant loss of credibility.

Communication fails once again and the world is that much poorer. No one is to blame, but it's sad to see it happen.
There's plenty of general typography advice out there such as this applicable to typesetting walls of text like blog posts and magazine articles, but what about the more specific case of type setting in web application interfaces? When developing web apps I feel like I waste a lot of time fussing with CSS font settings and the end result frankly sucks. Are there any typography snob blogs out there that focus on web app typography guidlines?
I can't see the article, but if you thought it was distracting, I don't think you should be downvoted. However, I'm guessing it happened because of the way you said it, FWIW.
Oh sorry, sometimes I mixed languages. In German it's with sch. Sorry =)
77 Web Development Articles Retweeted at htmlcut
Basically, what josephcooney said. It would take some time for me to become familiar enough with UNIX before I could really play around with it. There are plenty of new things and shiny objects in the .Net world to keep a developer busy and sometimes its hard to justify the time when I know I couldn't use it right away.

And for what its worth, I'm actually working full time at my startup which is based on .Net and running on Azure. :)

Edit - Btw I enjoyed your thoughts on this post: http://www.openmymind.net/2011/5/3/Dealing-with-Now-and-why-...
I'm really surprised that The Jester can't code that well. LulzSec is just mocking him publicly (again).

Edit: http://twitter.com/LulzSec/status/84223058382028800
Not terribly. They should have a passion for something though.
Yes, the lack of tracking cookies is doom and gloom for those who want to track people.

That's kind of the point of the law. People should be free not to be tracked.

Here's an interesting question, though. Does the law prevent you from preventing users from using the site if they don't accept the cookies? Free websites each some of their money from advertising, and they optimize that advertising (among other things) with tracking cookies. If websites start demanding that you accept cookies, it won't be long before there are 'auto-accept cookies' plugins and such for lazy web users.

Because let's be honest. If people -really- cared they'd block the cookies with a plugin or refuse to visit sites that use them. And most people haven't.
Yes, because people don't want to be tracked. If you want to know approximately how many users you have you don't need cookies. Cookies are only useful if you want to track what the user does. Surprisingly users don't want you stalking them on the web anymore than they would want you stalking them in real life.
I wouldn't recommend that EVERY CS student do those. I mean, I would, but you can't expect every person to be able and willing to build any of those things. I think that this list is great in that it's reasonable; none of these things are particulalry hard, but each one of them actually sounds fun and produces something cool.
VMRole still isnt IaaS, since it doesn't have the equivalent of EC2's EBS backed instance storage. The Azure drive is close, but still not the same. So if you need persistence on the instance storage, you'll still have issues.

I hear it's coming though.
Nine out of 10 businesses breached in the last year
Text size, color, and font are all conversion drivers in their own right:

http://www.conversionvoodoo.com/blog/2010/08/3-font-tips-to-...

I've found that larger font sizes for copy-heavy sites almost always drive higher engagement
Thanks, you're right. I should have checked my facts before saying that.
I think this is functionally why the Chrome team hides the version number. They wanted it to be more like a utility, or web app. What version is your version of Hacker News running?

In order to get that kind of instant deployment for a distributable executable, you have to really solve distribution down the chain to (especially) the windows desktop. The Chrome guys did that, it rocks, and it works.

Versions probably originally existed to allow marketing teams to sell more. I wouldn't be surprised if FF eventually drops the version number thing and just has a 'stable' and 'exciting' branch type system for their users.
Perhaps a bit OT: Most/all home/"small office" router firmware lets you designate hours of operation. This can be used as another means of limiting the risk of an undesired connection.

Now that I consider this again, I was thinking of the wireless signal. I'll have to check whether the functionality also applies to the wired connections.
I tried some at the Great American Beer Festival last fall (served by Sam himself!). It's worth trying simply because it challenges your palate, like all DFH products. Your description is pretty spot on, though I can't say it was uniquely good enough to seek out and purchase more of it.

The ingredients are barley, white Muscat grapes, honey and saffron, and their original formulation included thyme, but doesn't include it anymore. With grapes added and lacking hops, it's not "officially" a beer by BJCP style standards (a specialty beer maybe...it's technically a gruit).
Then guys like LulzSec set up a hack and toggle everyone's locks every 5 seconds. It's safer to roll your own than use a service like this...
I think a lot of people here missed the point. This isn't a list of "stuff that will make you SUPER BALLER," it's a list of easy things that teach you very much and give you a lot of confidence for a very small amount of effort. Plus, all of these tasks are highly relevant in our web database-driven world. Not everyone wants to be Johnny Writes His Own C Compiler Geek, but every CS student SHOULD be able to configure LAMP.
I'm fluent in English, learning Esperanto (mother tongue: spanish). Took 3 years of Portuguese at high school. I'm learning sign language too (i'm not deaf), does that count as a natural language?
Oh yeah, I totally grok that. If you shop at their storefront location, you can see that they are staffed almost entirely by Hasidim. I was just pointing out an instance of a US-based e-commerce website that also closes for the sabbath.
Well SV Angel is Ron Conway's. How much more well-connected do you want?
The thing I don't get about all these therapies is that they're basically just attempts to combine the roles of the guru and the shaman, and systematize them in a way that makes them more palatable to the western mindset. Maybe this is just me being elitist, but if I'm ever having a complete psychospiritual meltdown then I want the real thing.

That said, D.B.T. seems kind of cool from what little I've read about it.
How are students learning programming in a post-Basic world?
You know, enterprise software is a funny thing. Every time a new version of say Firefox comes out, I get a bunch of emails at work saying that whatever version of SAP doesn't support it so please don't upgrade or face great peril.

Then there are older legacy products like Lotus Notes Domino web access that is the biggest pile of garbage when run outside of IE that I've ever seen. Heck, inside of IE it's still terrible.

Web software was supposed to make large scale software updates better, but thanks to "enterprise software" the whole thing is actually worse inside of enterprises. Go figure.
Hrmph. With that sort of house key, it's a lot less trouble just to rake the lock. You don't need a key at all.
The answer to potential security vulnerabilities is not to avoid using technology, it's to improve your security.
Floating +Pool would let New Yorkers swim in the river
Excellent, thanks for the recommendations!
EMR adoption surges on the back of spending push
Implementation of the ambitious EHR incentive program and a general spike in health care IT spending has led to a surge in demand for EMR systems in the US.
Me to police: You first.
This is great. A reset button would be handy though, as I spent ages trying to get the scales back in alignment :)
Kkr set to buy godaddy.com for 1 billion
In fact all of Western Europe, Southern Europe (minus Portugal, Greece and Turkey), Northern Europe (minus the British Isles, the Baltic states and Finland) and large parts of Eastern Europe (with the eastern border of Poland as the easternmost point) are all in one time zone.

It’s still slightly funny that most kids in the world are theoretically able to view the videos at non-approved times. Will nobody think of the (non-CET) children!