skysight-inc/HackerNews huggingface dataset:
>If this is the case then why don't CPU schedulers try to keep single threads running on the CPU instead of context switching?

They do try, at least the one on Linux does. But the OS can't know what your intentions are when you fire up a thread.
Server: Microsoft-IIS/6.0 == Service Unavailable
The Model I TRS-80 (1977-1981) was the inexpensive computer of the proletariat. Schools and the well-off went with the Apple II.

Then Radio Shack came out with the later TRS-80 models (as pictured) attempting to move into the business market. Never got traction.

The IBM PC was the serious business computer. I don't think you could say it was superseded by the Mac. The Mac was for artist types and relatively expensive.

Then the PC clones came along and the Mac was marginalized.
I realize I'm being idealistic in my stance, but I'm not a fan of going too far either. One thing I'm very happy to see in the EU is the focus on there being a standard. Today it it makes it difficult to manage a globally focused user base with so many different legal requirements. The proposed standard in the EU would make it easy to do business here and have a better framework for cooperation with the US than the safe harbor structure today.
For my twitter bot I extracted the xauth keys from twitter's official Mac client(s) (Tweetie 1 and 2 have different keys) and used those to access the API. To twitter the bot looked like the official client and they couldn't ban it without banning their official clients.

And XAuth made account creation and log in a breeze as there was no need for OAuth tokens - username/password was enough.

But you're not always as lucky as that and many websites are heavily JS driven. For Reddit I had to resort to selenium.
Your personal RFID card has your picture on it, along with other information. Swapping it with someone else is not really an option, because at that point if the train personnel comes by you are technically without a valid ticket and will be given a ticket.
Start with a 100 million dollars* ...

* Size of Hulu's A round
Ask HN: If it's worth doing, is it worth doing simpler?
I have a music hosting site that pays my bills with enough left over to buy a small amount of icecream as a treat from time to time. I left my job recently to decompress and focus on building a proper startup. I figured the natural thing to do would be to move into album hosting since it aligns with the userbase I already have, and digital music sales are increasing rapidly each year.

The problem I'm facing is that the market I'd like to target seems pretty well stitched up by Bandcamp, and I'm unlikely to bring anything novel to the party other than simplicity.

Ideally, I'd like to make a site as simple as Gumroad - just upload, set a price, and launch - but I'm struggling to decide whether it's worth trying to attack the market when my only innovation is doing something in a simpler way than the main contender.

How can I tell if it's worth trying this idea out? Is just being simpler enough for an idea to succeed?
Open source Aerogel
This is a dramatized version of the books. It is not an 'audiobook' version. I just started listening to it, and it has the Encyclopedia Galactica entries -- but other than that, seems to have no other narrative -- it's just the dialogue between people.

Still sounds great, though I'm not sure it'll be easy to follow for someone who hasn't read the book.
This. You usually traverse the DOM. Either you use some XQuery /XPath magic or a library like beautiful soup.
Sounds like people shooting drones down with their shotguns. Some things were on the mark.
OK, this is getting ridiculous. Is it Repost PG's Entire Archive Day or seomthing? Because so far today I've seen 3 (or is it 4?) reposts.

Normally there's about one a week.
I assume whiskers cause a short circuit. Why can't the circuit board be coated with plastic, epoxy, non-conductive paint, or something to prevent the whiskers from causing a short?
How about launching a sister site to it and running it using the lean techniques. You'll figure out soon if there is any need for it or not.
That's an opinion(so of course it can't be wrong) that I have heard, it is being debated fairly intelligently downthread along with a debate about the fantastic King of the Hill and Office Space.

Here is a list of movies that critics and non-critics consider to be much better post WWII satires than Idiocracy, according to internet ratings of these movies. Note: many of these are more humorous and brutal while being less crude and light-hearted than Idiocracy. Also many have plot, emotion, and deep characterization.

Films: American Psycho, A Clockwork Orange, Fahrenheit 451, Nineteen Eighty-Four, Dr. Strangelove, Office Space(also Mike Judge)

http://en.wikipedia.org/wiki/Satire

My main problem with Idiocracy as a satire is that the message it sends is flatly incorrect, because the rules of their world are not the same as ours. It is a satire of some alternate universe in which we are not living, it has no applicability for the world we live in.

Film's message: "If our societies ever end up giving a competitive advantage to low IQ people, time travel will be necessary to correct society's decline."

The truth:"If our societies ever end up giving a competitive advantage to low IQ people, natural selection will take care of it, since intelligence seems to be a competitive advantage for apes."

I think the true message is also a better call to arms for both intelligent people and unintelligent people. The movie Idiocracy seemed like it was made to be consumed by the citizens of the low-IQ world, in both plot and acting. I do enjoy its light-heartedness.

Much more realistic are the famous dystopian texts, especially Harrison Bergeron: http://en.wikipedia.org/wiki/Harrison_Bergeron
Other than Tatooine (which isn't a desert planet, by the way) and a sand worm (which appears in many stories), what parts of Dune you see lifted for Star Wars?

The whole point of Dune was the vulnerability of the empire to a single resource; spice. Similar to the [our] real world's relationship with oil.

I've read Dune many times. But only watched SW once or twice. I didn't "see" Dune, I was thinking of the old space opera stories - or something like Buck Rogers.
Finally LG shows interest in Ice Cream Sandwich updates for Optimus 2X
Good rules of thumb.

> No one in their right mind is going to object to incidental scraping for personal use.

It would almost certainly involve stripping ads when re-purposing the content.
They say they don't check for speeding, yet they have full access to your OBD-II information, which definitely does include that. They could for instance easily add when you go over 85+ Mph which is the highest allowable speed in the US...

They might not be able to check on the location you are in to compare it to local speed limits, but they can definitely know if you are driving faster than the max.

I'm wondering how I can get one of these devices to play around with, without handing anything over but cash.
Not scheduling. Scheduling is the kernel's task

But scheduling "hinting" sure, like saying "ok, keep this thread to one processor only"

Still, some of these configs may cause some kind of 'denial of service' on the system if misused (like the 'nice' command), so they're usually limited.
OT, but did anyone else notice that the Grateful Dead have their own category under Audio? All those bootlegged recordings, I guess.
This gentleman seems to be talking about a dialect of C# with more functional idioms and parallel-programming friendly features. However, a link describing the actual language itself would have been much more interesting. Briefly looking at the PDF, it doesn't seem to offer much more than rust (apart from .NET interop, which is certainly nothing to sneeze at, if it's your cup of tea), though the mention of a team at Microsoft using it as its primary language and having delivered "millions of lines of code" with it hints at a greater maturity.
If by "simpler" you mean "more accessible and user friendly", that's a definite maybe.
It's essentially true for the entire human race.
Big data is not about buying more big iron
Amateurs beat specialists in data-prediction competitions
A mid-80s era issue of Computer Shopper magazine is worth looking at. Giant magazine, literally hundreds of pages of ads for gear. Man, I loved those things.

Byte back in the early 80s too. Page after page of esoteric gear. So many different kinds of computers before the PC completely dominated the world.

The other really cool magazine was early 90s, I think. Midnight Engineering, run by a guy named William Gates (different one), which was all about tech entrepreneurship from the very bottom up. Guy printed the magazine himself, bought this huge industrial printing press. His columns on getting it up and running were one of the best parts of the magazine. Also, a running theme was that patents were useless for the little guy since you couldn't afford the costs of protecting them.

Same as it ever was.

Contemporaneous article on Midnight Engineering and the printing press: http://www.westword.com/1995-10-18/news/one-s-company/
Great feedback on the text color. I will make adjustments to it right away. How about the font size? Is it comfortable for reading?
Perhaps they should be mandatory, but they should be signed by a user-owned key. In this way the data exists, but it becomes optional to share it.
You appear to be an emissary from the Rust community.

Let me make a request and hope you can forward it on to your dark masters in the land of Mozilla.

Please stop using every single topic on HN to mention "Rust does it better".

Bonus points: show off things actually made with Rust.

I've let it slide up to this point because any attempt to "get serious" was always countered with the excuse, "we're not reeeeaaaaady".

If you're going to keep proselytizing, you're going to be held to a higher standard. Also mentioning that Rust does it better without mentioning specifics is pretty much the opposite of useful. All you're doing is namedropping, not sharing knowledge or meaningful information.

Summary of my preferred reactions to this comment:

1. Add more content to your comment so it's substantive rather than name-dropping

2. Ask the Rust community to stop trying to outdo the Haskell community at propagandizing (hi dons!)

3. Start building things in Rust and show HN. A brief blog post describing pros/cons/future improvements would be boss.
Yeah, the author of the post seemed to imply that web APIs are more likely to change than a website. At least, that's how I took it. Blew my mind.
Better Rails errors
Sounds amazing and would love to step in immediately. Have some basic questions after reading briefly the post and the comments here.

1) What's the difference between OpenResty and the Nginx+Lua module (is the module the core of OpenResty)?

2) How does it compare to Node regarding ecosystem, performance and every day usage/maintainability (if it's comparable)?
The paper is at http://research.microsoft.com/pubs/170528/msr-tr-2012-79.pdf (the redirection fails, but the url is in the query string...)
Zurb Foundation. (http://foundation.zurb.com)
I compiled rust tonight. It took longer to compile than it took me to read all the documentation. Strike one.
Congrats, you encountered my first complaint with Rust. Let me know how much fun the out-of-date documentation referencing syntax that no longer exists is.

If you ask about it or seek a redress you'll be told, "we're not reeeaaaaaady".

It's a state of affairs they've come to be quite comfortable with.

You're supposed to use Rust unless you're a Mozilla employee or intern, afaict.
Photoshop here i come :)
I decided, 6 years, ago, that to succeed in my field, above everyone else, it would be necessary work 4x harder to get 2x ahead (not "work 4x more" - "work 4x harder"). That's what I told myself. And I think this is the case in most lines of work. If you want to get ahead, you have to work a great deal harder than everyone else around you. Unless you happen to be exceptionally gifted and able to accomplish more than anyone else simply by showing up, it means that you really have to bust your ass continuously.

Generally this strategy and form of motivation has worked. I may not be the best at anything I'm doing, but I have accomplished a lot.
If you think philosophy needs "fixing" it isbecause you see it as something external, a problem shich is out of yourself.

The fact is philosophy is the reaction of each individual to his confrontation with reality, language, morals and people: you cannot "fix" individuality.

And the "muddle" is as ols as Descartes... don't start me on this.

Tryng to "fix" philosophy with "science" makes me laugh: which one, maths? physics? string theory? behavior sciences??? COME ON.

Just think by yourself and accept you may not understand other people's thoughts before trying to 'fix' them.
Who's your daddy? Intel swoons for Apple
I didn't really get much of the humor in King of the Hill until I moved to Texas. It is very much a parody and exaggeration of each particular "stereotypical" Texan you actually run into. Now that I've lived here for a significant amount of time, it is much more humorous.
Functional not so functional?
Technically the "bootleg" terminology still applies, but to be clear all of the live recordings of Grateful Dead shows are legal as long as no profit is made on them. They even had special tickets for "tapers" to avoid having an unwieldly cluster of microphones at shows.
Guys is the font size on the website comfortable for reading? Do let me know.
Hm. It fits nicely when paired with text that makes the association clear, and it fits in the screenshot posted by panic, but all by itself, its meaning is clear as mud.
Not quite ready for prime time but I am working on a project that makes it really easy to grab content from any site using a point and click interface no xpaths selectors or regex.

You enter the url you want to capture data from, it gets loaded in an iframe, you click on the texts you need and set a schedule to receive updates and how(email/twitter dm) that's it.

It supports javascript driven content and can handle practically any website.

http://www.followwww.com
Awesome article. Shows some common failure scenarios of a real product, explains exactly what will happen and proposes an easily understandable solution.

One of the best electronic lessons i've read for a long time. Finally makes you realize why most pcbs has all those weird components sitting around instead of just pushing the io-pins straight into the µC.

While the avr might be able to handle some of the failures in certain scenarios it's still good to know how to protect yourself in case you use another controller or if you really want to be on the safe side.
Is "Let there be light" really a blatant biblical reference? I mean, I have just learned the phrase is biblical in origin, but even now I don't see an appeal to the bible in its use by UC. It's not like fiat lux is out of context for a University.
مشاهدة مباراة الاهلي وهيروشيما
مشاهدة مباراة الاهلي وهيروشيما
مشاهدة مباراة الاهلي وهيروشيما
مشاهدة مباراة الاهلي وهيروشيما
http://www.yallamoviez.com/2012/12/ViewedMatchAhlyHiroshima2012NowOnlineMubasher.html
From the third comment on archive.org :
"The three novels which make up the original Foundation trilogy were written as a magazine serial between 1940 and 1950, for a science fiction magazine edited by the legendary John W Campbell. They were thus composed as a series of short stories, giving them a number of advantages over the later books by which Asimov added to the story forty years afterwards."

So there is no Asimov copyright problem as it's based on Campbell's work.

Yet it's presented as Assimov's trilogy. So I don't know what to believe.
That's the wordiest typo nitpick I've seen in a while.
Like SQL Explain, but for CSS selectors
Conformal coating is often used for protection in harsh environments.

http://en.m.wikipedia.org/wiki/Conformal_coating
Richard Branson: Entrepreneurship is our natural state
Everything you ever wanted to know about constant lookup in Ruby
I can't imagine how weird this must get for Paul, I wonder if people stop him at cafes and take him to task over essays he wrote 10 years ago!
OOI, if they don't get a CMS/similar included, how do they update their pages in the future without technical know-how?
The arduino might be a development board but the way i see it, the IO-pins does not have to be be a 1:1 mapping to the IC-pins. I want it to be a safe and reliable, general purpose IO-unit. For that, applying these fixes saves you from many accidental mis-connections.
Here's a little experiment with Reddit-automation using Selenium: https://github.com/jsz/reddit_voting
Offer HN: 25 hours of free programming work
We Need To Stop Maximizing Profit And Start Maximizing Value
I've only been playing with openresty for a couple of months. Here's what I've learned:

1 - openresty is nginx and many official and unofficial modules. From what I've asked the experts, there is supposed to be no difference in the source; openresty is just a single package of many modules with an easy to use ./config and make process.

2 - The nginx module and lua lib ecosystem seems to have most of the basics in order to roll a high level app framework, but only a half baked one exists thus far: https://github.com/appwilldev/moochine Also: https://github.com/antono/valum https://github.com/pintsized/lua-resty-rack

My impression is if you have the time to roll your own sinatra-like framework, it should be pretty straightforward.
The very fact that the University is thinking about the '2.0' is great. The war(see endowment, and the shrinking purpose of a University education) ahead will not be won by traditionalism, rather adapting to changing standards(Online courses, edX). Raising private funds, and a lot of other university activities require that we have a uniform identity. As a University of California student, I feel least offended and rather glad that the administration is actually taking a step in the right direction!
Comments like yours are exactly why I posted the original article. It's really nice to hear from someone at HN who sees beyond the controversy caused by a totally different mental model, as you put it. I'm surprised I wasn't downmodded more aggressively.

I wouldn't have answered to this thread unless you had written these two comments of yours: HN certainly isn't the place for serious discussion about such topics and while I don't necessarily like it that way, that's just the way it is. But I sometimes keep fishing for different responses.

Now, anything related to gender, sex, gender roles, and the masculine and feminine parts of a person's psyche and spirit seems to be a touchy subject: add in a few feminist and antifeminist preconceptions—or just any politically correct one—to the mix and what you have is the mother of all can of worms.

It's virtually impossible to discuss those in a large group unless there's a predefined consensus that limits what can be said. All we probably can agree with together is that there's a difference between the masculine and feminine, but there are indefinite ways of how that could unfold into a discussion. Yet it's a very fundamental dynamic of life that you're bound to deal with one way or another, regardless of if you're a man or a woman.

Further, there are so many angles into this gender topic that it's hard if not impossible to establish a definitive model of how to present my thoughts on such a topic myself. And that doesn't fly well at HN: generally people who are thinking more aloud than asserting their final conclusions don't fare well on internet forums.

So, a fruitful conversation of the subject is probably only possible with at most two people who trust each other enough so that they're able to just reflect the other person's thoughts instead of trying to argue them out.

I know there are tens of thousands of different people on HN and most do have beliefs and attitudes that don't fit in the canned scientific-consensus impression most people present on HN.

There is a wealth of intelligent people here and I sometimes wonder what they think of things that can't be said here.
I just started skipping through it once I saw the Comic Sans.
It's not based on Campbell's work, it's written for a magazine edited by him. Asimov presumably retained copyright on the stories himself.
From SQL injection to shell: PostgreSQL edition
> I suspect that the most important economic flows in Afghanistan are foreign aid and narcotics. The proceeds of the former are largely distributed via corruption, which requires co-operation, which is facilitated by the trust within tribal networks. Those the latter would be distributed accordingly to tribal / clan structures. I suspect "the Taliban" are basically a front for an extremely well organized drug cartel.

While the Talibans certainly rely on drug trafficking money to stay afloat nowadays, they had essentially wiped it out while they were ruling the country.

You make some good points. I'd like to mention a couple of additional things:
- Lack of institutions and the rule of law. As long as the administration, the police, the courts are easily bribed, why would you work along official channels? Your interest is better served by leveraging your clan's resources and bribing your way forward.
- Lack of a feeling of national unity. In particular, the 1996-2001 civil war in Afghanistan between the Northern Alliance and the predominantly Pashtoun, Pakistan-backed Talibans cannot have had a positive effect.
In general, any Web functional testing tool can be used as a scraper. Scraping and testing are extremely similar. In both cases, one uses XPath or (hopefully) CSS to locate an element and examine certain aspects of that element's state. A scraper is only different from a functional test in that a scraper is focused only on the state of nodes (potentially) containing human-readable content. That, and a scraper saves the data it collects rather than discarding all data at the end of a test run.

Here's a very old Selenium 1.0 example that scrapes the full, rendered HTML of a page. After performing a scrape like this, I would then feed the HTML into a parser such as Nokogiri http://snipplr.com/view/7906/rendered-wget-with-selenium/
I don't think anyone would accuse the UC system of having a problem with religious pandering, so such a campaign would be an empty gesture.
I think what Cmccabe is trying to say is that a major benefit of GMOs would be reduction in pesticide usage, which is not something that is really heard much as a benefit of GMOs.

I agree that anti-GMO by itself is not a pseudoscience but anti-GMO is a position that is very often lumped in with other pseudosciences- 'natural' therapies, anti-vaccinationers, anti-establishment and conspiracy theory types. This is not to say there is not a legitimate point that they have, but that there is a larger cultural movement which finds their aims aligned with the anti-GMO body of knowledge, and a lot of those proponents are not known for their rational approaches to evidence.
Gonuts.io - centralized repository for versioned Go packages
Install and configure Samba on a Raspberry Pi
I get __severe__ headaches if I sleep for more than six hours per night.

My physicians(s) have no explanation and, I assure you, I've seen several of them in an effort to address this.

It's comforting to know that I'm "an idiot comparable to a drug abuser", however. Thanks.
you could use some privacy consious browser, like xombrero. for example: it has a feature to allow you to define a list of user-agents from which one is randomly selected on each request, allows you to use whitelist-mode in which you have to explictly allow cookies and js for each page.
It looks nice without the gradients, which make the logo look awful IMO.