skysight-inc/HackerNews huggingface dataset:
The ID or class name should document the rule (or a comment). Ideally CSS rules should be broad in scope so they can be reused, and you're not rewriting rules for different elements.

It's unnecessarily limiting you to that one tag.
I've been telling the IE team to do this since IE 9. In reality, the purpose of vendor prefixes is to keep two vendors from using the same name for two distinctly different behaviors. The current prefix model does that.

After a prefixed extension gains market adoption, it serves to indicate which implementation is authoritative. -webkit means you better do it the way webkit does it.

Any browser that won't make use of the author's intent, when that intent is unambiguous and easy to determine, is just shooting itself in the foot.
Love the website
Models: Where to get your Comp Cards Printed
> I'm not sure why you would really want to press criminal charges against somebody who, following a difficult situation on the road, ended up unfortunately damaging someone.

I've been driving in New York City since I was 16. I'm 31 now. I've been in many difficult situations, even a major collision, but I've never found the need to plow into the sidewalk.

There are people out there who are cowards. By that, I mean they would rather risk harm to others than to themselves. When you are about to collide with another vehicle on the road, you do not swerve into the sidewalk. No. You take your chances with the collision.

People who endanger others for the sake of their own skin are trash and should be prosecuted. You use your driving expertise to stay on the road and if you do not have the skill-set to do that, you shouldn't be driving.
The insane tuition costs in the US have turned this into a reasonable question, IMHO.

For students in countries with reasonable schooling costs -- I still consider our costs in Canada to be reasonable, as in possible to pay back most of your school costs working summers and mid-school interships -- I'd still recommend going for a CS degree.

As someone who has hired for startups I've founded, I do give a small amount of weight to whether the individual has a relevant degree. But to be honest, the majority of my attention for non-new-grads is focused on work experience (places they've worked and things they've done) and technical chops.
Because the behavior of the beta feature may be different from the behavior of the final version.
Reminds me of something: "Hacking Human Waste"
http://news.ycombinator.com/item?id=3456484

Two guys found (and patented) a way to get rid of very expensive human (hospital) waste. Working product in a few hospitals and everything, but they're looking for a way to scale up (they are great hackers but suck at finding an investor). Any tips?
Simply User Hostile
Complete failure of neoclassical economics, perhaps. There were plenty of people who predicted the GFC with varying degrees of accuracy; Steve Keen being but one.
I second creativityhurts; You should really implement this feature, guys.
Email me - keith [aaaat] appzorz [dooot] com

I can't really be super specific yet publicly, but we may be able to talk further.
This guy doesn't even know that it has nothing to do with being at a big company. It has to do with investment advice rules from the SEC designed to protect investors from situations like boiler room.

He should get an MBA from a top school then get a job as a sell side analyst and get paid for what he wants to do.
Art Is Long; Copyrights Can Even Be Longer (Google Art Project)
"A company needs to protect itself from things that could potentially be tied back to it, even indirectly."

I don't think that this sort of lockdown is a good answer. The answer should be something more like going "what the heck is wrong with our system of lawsuits and liability that the company needs to be this paranoid about its risks?"
Web Front End Developer
The Chicago Metropolitan Agency for Planning (CMAP), is seeking to hire a Web Front- End Developer to work with Communications Director to enhance the CMAP website to better communicate agency priorities through development of the agency's web front end. Send resumes to: hresources@cmap.ilinois.gov
Job Code - (WFED035)
I like Chef Young Tran's food especially but I tried out the others and they were all very good. Pretty good experience overall.
The main difference is that in the prisoner's dilemma, you don't get to talk and try to persuade your fellow prisoner.
The best way to compromise national security is to have backdoors in the name of national security.
Both of Steven Blank's books come pretty close. (Four Steps to the Epiphany or The Startup Owners Manual)

The Lean Startup by Eric Ries is also a great place to start.
There are much better ways to implement a concurrent queue than the ones shown. Using locks for every single queue/dequeue is a very good way to completely kill performance. A much better alternative is to use hand-over-hand locking, or use CAS for a lock-free implementation.

TAOMP ( http://www.amazon.com/The-Multiprocessor-Programming-Maurice... ) goes over this in great detail and is overall an excellent book.
This is perfectly valid HTML - a lot of closing tags are completely optional [1].

Not a big fan myself because it feels like I'm leaving everything hanging, but nice to have the option.

[1]: http://wiki.whatwg.org/wiki/HTML_vs._XHTML#HTML_Elements_wit...
What permissions does "factory" have in their systems then?
The simple solution is to make all the drugs that a hospital uses illegal.

Then overnight pure capitalism would create an efficient market to import and distribute them. When it's cheaper to buy heroin on the street than an aspirin in a hospital you know that the market is screwed up somewhere
Thanks - I wasn't as specific as I should have been because this was originally written as a "letter to the editor" for a couple newspapers, so I tried to keep things short. I'll make some edits accordingly.

For me, what's troubling is the language in the bill that "the teaching of some subjects, including... biological evolution... can cause controversy." The bill's authors aren't referring to any real subtle controversy about the fine details of evolution, they're referring to some controversy about the fundamental validity of evolution, a controversy that just doesn't exist.

Teaching students critical thinking is of course hugely important, and that's what makes this bill so threatening. In the guise of "encouraging critical thinking" the bill allows teachers to teach creationism, or flat-earth-ism, or whatever other unsupported pseudoscience they like. There are plenty of real debates in the scientific community that make excellent examples for teaching critical thinking - there's no need to invent fake debates.
You are absolutely right, the question is can Ruby compete in 80% of the cases?
Fun Node.js Videos
Worth clarifying: there's nothing about Facebook Credits involved, and we don't collect any financial information. (I work at Facebook with the team that set this up.)
Hah!

Very well put in general. We're avoiding the device angle as well, due to the same things you've mentioned.
Ask HN: Who are your most influential failures?
Basically; which now defunct startups have been your biggest inspiration, most influential or their failure was your success?
The article would appear to answer your question: "It’s a high-level microarchitecture style: an alternative, rather than an extension, to today’s pervasive out-of-order superscalar designs, VLIW architectures, or vector machines."
'[A] special event on January 9, 2007'?

How soon they forget! It wasn't an Apple 'special event', it was the perennial San Francisco MacWorld Expo, once the go-to event for Apple announcements.

Apple's moved on from MacWorld as a launch platform, and I wouldn't be completely surprised if Apple someday owned their own general-audience conferences – believing, as with retail stores, they should control the whole experience.

But MacWorld Expo shouldn't be written out of Apple history.
With our TeddyPass app we are pretty loose on what users can use as their login password, but we employ pretty robust techniques to prevent brute-force attacks and other common methods. With our system key user data (like stored usernames, passwords, and the description of the account entry) is fully encrypted based on the user's password and other factors. As a result we can't retrieve their data even if we wanted to, so it's in our best interests to allow people to use just about any password they can comfortably remember (within reason).
Actions Influencing Past Events? Experiment Mimics 'Spooky Action Into the Past'
they are probably using the graph api. Which doesn't give you access to much data for most people (As we're all trained to limit what other people's apps can see of us)
The bill is only a few paragraphs. Point at the horrible bits. Otherwise it seems like a big piece of nothing that's being blown up for partisan or ideological reasons (On both sides, I'm sure.)

There are seemingly a lot of people out there with a huge personal investment in the idea that there's a "war on science" going on. Maybe it's validating to feel persecuted, who knows? But there's more science being done and taught than in any time in our history. Being against human cloning or banning light bulbs doesn't require being "anti-science"; people just have different values. That's what politics is for sorting out.
Sorry, nothing off the top of my head, but a good starting point would be googling for stuff like "node event driven" or maybe "event driven programming" in general.
while > for > foreach - increasingly higher level abstractions.

article stops at iteration (foreach) but misses an even higher level abstraction: filter, map, reduce. each of these can be implemented on top of foreach, and i haven't yet seen a loop that can't be decomposed into a combination of map, filter, reduce. also note that filter/map/reduce are expressions, not statements, so they are more "mathy" and thus easier to reason about.

its interesting that these are not necessarily idiomatic python despite being a slightly higher level abstraction. note they are idiomatic in all "real" functional languages, which python is decidedly not. also list comprehensions are faster than map/filter in python. (this is probably python's fault and is really dumb because you could just implement map/filter as a list comprehension. some people have criticized Guido for some of his design choices[1].)

[1] http://www.quora.com/What-are-the-main-weaknesses-of-Python-...

also on topic: http://docs.python.org/library/itertools.html
The Developer’s Guide to Design, Part 1 | 21times
"Not full-featured, just the bare essentials"

Does that just mean a smaller standard library?

"mRuby will need to be much smaller than standard Ruby and much faster"

Right. I'm looking forward to the mruby authors (or someone else skilled at interpreter design) writing up how that is being accomplished.
Ask HN: How to expand in China?
We've just launched our iOS app (an iPad travel magazine) and I've started to think about how to expand in china and other east Asian countries, like Japan and South Korea (the biggest App Store markets in the region). Does anyone have experience doing this? I would love to hear ideas from people for a bootstrapped PR strategy or from people who actually have iOS apps and how well its been working for them.

Right now I'm running into two problems. One, I'm having trouble finding places to send pitches to. Is there a Techcrunch of China? A app review site of Japan? I'm a little lost because of the language barrier. I don't even know how to find blogs that will cover us. If anyone here has names, please throw them out.

The second problem I'm running into is related to the first. I don't speak the language, so its hard to communicate or understand Chinese, Japanese or Korean language blogs and websites. We also can't really localize our app. Its a long-form travel magazine, so translating thousands upon thousands of words and making sure they matches the emotion of the story is beyond our budget. It seems silly to translate a menu item in our app just to leave the content unreadable, so we haven't considered it.

So not only do I need to find places, I need to find places with English language audiences. Any suggestions? Has anyone had any success with their apps in Asia? I'd be interested in hearing from both people with localized apps and without, and from people whose strategies have failed.
Wow, hot deal, sign us up! :)
I'm surprised these companies didn't give up and start selling in other countries, like Canada or the UK, to begin with.
Lighten up - Katie Cunningham taking questions
We only store hashes of your previous passwords - we never store them in plaintext. We don't have the ability to enforce a silly requirement like "none of the n grams in a new password can be the same as those in an old password."
Crichton's scientific standards can't have been THAT high, considering how he got hoodwincked into believing Jack Houck's whole spoon bending spiel. I've attended one of Houck's parties and the whole thing was quite remarkable, not for the spoon bending but for the gullability of 90% of the people there.
People-Search Engine Ark Raises Biggest Y Combinator Seed Round Ever
> If I was told, during a job application, that they'd fire me for what I did in my free time, I'd accuse them of wasting my time, and walk out on the spot.

That's an unstated rule in every job, and a stated rule in some jobs.
Can someone build a version of this that prints snarky descriptions of certain pictures? Give it a libertarian political slant and a vegan diet. Only good things can come of this.
Whenever the user changes a password, the user has to provide a (single) previous password.

What about if you forgot your password? (which I feel is the scenario I usually change a password in) Do they just ignore that rule in that case? If so, whats the point of having the rule?
Why Taunting Computer Hackers Isn’t a Good Idea
I wonder how they going to deal with radiation in space? All these asteroids are not protected by magnetic field as Earth, so they must be radioactive.
I see. But does that qualify as a two-factor auth? You need two independent "factors" for that, and while OAuth uses tokens internally, all it does is ensure a secure transport between Google's servers and the app that requests authorization. It doesn't actually obtain two different things from the user.
Black holes exist in space-time, they do not create it (even if they explode). The Big Bang made space-time happen. It was not an explosion in any normal sense.

For whatever reason popular cosmology has done a really poor job of getting that across, so you're not alone. It seems only a very small proportion of people who have heard of the Big Bang in the first place, think of it as something other than just really big, but otherwise unremarkable, explosion.
Isn't this what http://lastpass.com does?
If this stuff interests you, I highly recommend David Mindell's Digital Apollo.
I don't remember the exact article that discussed it, but I'm sure you could find it by searching HN. Other than the issue you mentioned, the other issue was that the original study was done in person using Ivy league students, whereas the replication was done over the Internet using a non-comparable demographic.

Regardless of whether or not one thinks it's ridiculous that these issues could have any effect, it's intellectually dishonest for them to say that they've replicated Bem's methodology and failed to reproduce the results when in fact they haven't actually done so.

(The researcher-belief issue matters since we already know that the how well a drug work depends on how much the person administering the drug believes it will work, which is why for well-designed drug trials the investigators aren't the ones who administer the drug. So it's not like the replication was being dinged for not subscribing to some exotic new methodology, rather they were being shot down for not following existing best practices. That said, I have no idea whether there were videos how much the researcher's beliefs would have actually been apparent, so I don't really know whether or not it was reasonable for the journal to reject it based on this one point.)
I'm curious what you mean by that. I work on security at Facebook (and actually help with the system that detects malicious logins), and think we have a pretty good / secure login system, even compared to a lot of banks.

The odds of a phisher who knows a bunch of valid Facebook credentials getting into any significant percent of the corresponding accounts are pretty low.

EDIT: If you want more protection than this, you can also turn on 2-factor authentication for your account, with "Login Approvals:" https://www.facebook.com/settings?tab=security&section=a.... I don't think I have the ability to do this at login time with my bank (though they do offer / require it when taking high-risk actions like initiating transfers).

All that being said, you're absolutely right that sharing passwords across sites is a bad idea.
Opera is not making WebKit the new IE; web developers who only use -webkit CSS prefixes have done that.
>No, you are not sorry.

Actually I meant "I'm sorry" to the forum since the sentence was a bit direct.

>The first 90% of GIMP has been ported to GEGL, the new core.

Well, that's interesting. They continue to chase and that's good but Photoshop isn't staying still. By the time they get moved over to GEGL Photoshop will probably be on CS6 which is a whole new, improved interface. Adobe already has deblurring working in the labs (wouldn't expect it before a CS6.5 though).

>Linux is less likely to appeal to conservative people.

No, I think the difference is: the people I spend most of my time with aren't conservative but they're busy. They need a computer to just work and not require reading online, touching config files, etc. The computer should be as invisible as possible. Even today, that still makes Linux a no-go.

>Linux appeals more to power users and various enthusiasts, while OSX - hard to say as I know no one using it.

Well, I'm a software developer and am pretty comfortable with unix administration but I got a mac (switched from Windows) because I just don't have time for mess with the computer. Between my job, commute and family there is no time to work on problems I don't care about (e.g. getting the wireless driver to work).

>Convenient package management, and a culture of it.

This is the main advantage Linux has over other platforms at the moment, but Steam has nothing to do with that.

>It's almost like no two people use the same Linux distro

I personally think this has hurt Linux desktop adoption and keeps it mostly with an audience who is willing to spend time on such things (i.e. never the mainstream).

> I admit many Debian users act arrogant and grumpy, but I consider these flaws less annoying.

I run Debian on my servers since I trust their test cycle more, like their installer and hate RPM (I recently tried Fedora again but it would have taken me more time to remove all the packages I didn't want than to just install Debian).
I wonder which graphing library they use for creating these. It looks like Microsoft office but better designed. Google charts?

And I wonder how they handle statistics. They are just providing graphics and trendlines as far as I can tell, and encouraging users to draw conclusions. They are capturing the entire population they are sampling from, but even then it feels like there might be some pitfalls in the types of conclusions that might be drawn by an untrained web property owner.

Edit: deleted a repeated sentence.
Go read James Hansen's 1981 predictions, and its match with current reality, and weep. Climate change is real, and is probably going to be disastrously significant in the lives of many now alive.

http://www.theatlantic.com/technology/archive/2012/04/now-th...
Performance per core is not the thing to optimize; performance per milliWatt is. I think that is hard to judge from this review, but it seems at least to be in the same league.
I'm not ascribing this to malice. It strikes me as a paragon of negligence if that's the way that the science of psychology is being done. In fact, it strikes me as an affront to science.

Take this in contrast to the neutrinos that were going faster than light at CERN. Instead of going, "Okay, well, those can't happen, so those are outliers," they reported their results, published their methods and data, and said to the world, "Help us validate this."

It seems to me like the modern psychology scientific method is the antithesis of this--"These are the results of my massaged data, and no you can't see how I got them, just trust me."

I'm not attributing this to malice, I'm attributing this to negligence and laziness. Putting your work in front of people for critique is hard. Really hard. But, it's part of science. If psychology as a field has convinced themselves that they're above that reproach, then I think that's a huge condemnation of the field.

When I first read the article, I thought it was a bit sensationalist to call psychology "under attack," but now I'm not so sure. I've assumed that reproducability is the standard litmus test of all science, but I guess not, and that leaves me with a bitter taste in my mouth toward the field of psychology.
The Mobile Playbook
Are you so sure about that? excuse-me's comment, right above yours in my view, talks about how the government has anti-competitive arrangements with big military contractors. How would the situation be different with healthcare?
As I see it, it will be an app (if it ever happens, I'm not sure how much I can trust these "omg Steam is coming to Linux!" posts any more) that you can just install, exactly like Dropbox or Spotify.

It will then download your games whenever you tell it to and you can play them, just like Steam on any other plaform. Of course, which games those are will depend on availability of each individual game.
Hopefully, it's obvious, but you can get this service for free. For anyone who decides to upgrade, use the coupon code "hotdataporn" to take 20% off the price.
Have been using Intercom for our products for a few months already. It's fantastic! And our users love it a lot.
Trying to navigate the marketing technology landscape? [infographic]
It's not just medical devices. Monks trying to enter the casket making business have run into licensing issues too.

http://www.stltoday.com/news/national/article_44747e48-649e-...
God I hate the healthcare industry.

This was on my mind this morning because my girlfriend isn't rich and relies on Lunesta to sleep (I'll leave the fact that her doctor is advising her to take this indefinitely for another day). It's extortionately priced - something like $6 a pill - enough to gouge insurance companies thoroughly and enough to wreck havoc on the finances of someone that's not rich and lacks insurance.

It turns out, this is actually the most profitable drug in the world. Yet they can't even sell it in the EU because it's a modest derivative of a (generic) drug that's been around since 1989.

It's disturbing that this is where the patent game ends - with power-brokering and lawyering determining who gets the wealth and power.
HP 9000 10000 Match INK - Powered by Bordeaux
HP 9000 - 100% Mix & Match INK for HP 9000 HP 10000 INK Powered by Bordeaux
Oh god, the Searle Prophesy is coming true!
Nope, I think Steam will be the best thing to happen to gaming on Linux. Ostensibly, people will get Linux versions of their games (even their old games) for free (didn't they do that with the Mac version?), and developers can get up-to-date statistics of how many Linux users they have exactly.

I know I sure would like Steam on Linux so I can stop having to reboot to play a short game. I'd play quite a bit more if Steam were available.
True 8-bit Color Cycling with HTML5
The article is spot-on. This language is not just common, it is necessary. E.g. You want Google Docs to be able to save your documents to PDF? Well, you need to give them permission to create derivative works.
The most exclusive iPhone app: $230,000