skysight-inc/HackerNews huggingface dataset:
Noobs unite - Get those dotfiles in order
Want to sync your .vimrc / .bashrc etc... with gitHub but never knew how?

Don't forget gitImmersion.com too!
How does Google search work?
While McMaster shipping certainly isn't free, it's always overnight, and often less than 100% of cost, so if Amazon is actually 2x price, McMaster still makes sense.

Side note: McMaster has, hands down, the best/most useable site I've ever used. The flow always gets me quickly to exactly what I want, even if I don't know what that is going in.
I’m not sure how much it matters. People mispronounce “Imgur” all the time, yet it’s still widely used.
Ok, consider the following scenario:

Process A (let's call it Safari) allocated 600MB of memory. Out of this 600MB, it hasn't used 400MB for quite a while (because, for example, it contains data for tabs you haven't looked at for hours). Now I'm not sure how Darwin does this but I know for a fact that Windows NT kernels will try to write the contents of in-memory pages to the disk at the first good opportunity; this way they save time when the pages in question will really get paged out to the disk. I assume that there's a similar mechanism in Darwin. So it's very likely that the 400MB in question is already on the disk. Now the user starts process B (let's call it Final Cut Pro) that reads ands writes to the disk very heavily, and typically the same things. It's not an unreasonable thing to do on the kernel's part to just drop Safari's 400MB from the physical memory and use it for disk caching Final Cut Pro. Throw in a few mmaps to the picture and suddenly it's not obvious at all which pages should be in the memory and which pages should be on the disk for the best user experience.
Intel Launches Its First Android Phone in India
Can you provide a concrete examples?
+1 for lxml and related features (XPath, Html Cleaner & Soup-parser).
Wow - that does make a difference in launching a terminal!
To anybody that doesn't know what you're talking about:

http://www.mcmaster.com/

It's a hardware store that sells pretty much every single part you could imagine or need.
"He seems to have missed making the point in the title."

I hate to say it, but all Bloomberg editors seem to miss making the point in the title.
"...Under the bill, officers cannot be found liable if they reasonably believed that the interference was necessary to (1) lawfully enforce a criminal law or municipal ordinance; ..."

Is there anything that would prevent a police department from convincing their municipality to enact an ordinance stating that recording of police officers was illegal?
More or less what the rumors were predicting. slightly faster CPU, significant power reductions, significantly better GPU.
Xpath is good when the content is well formed, but usually doesn't work well with even slightly messed up tags. Mojolicious supports broken content much better. And it has full css3 selector support, which we all know is hands down the best way to access Dom elements.
You have two separate arguments twisted into one.

1) Getting rid of the war on drugs would be a good thing. As it would save money and not cause as much crime (drug war causes crime).

2) You can spend money on education and training to reduce poverty.

Please keep your arguments separate rather than using one issue as a support for another. That 30K per prisoner could be spent on any number of things, or simply not collected from the public at all.

Personally, I agree with 1. That would be fantastic, and I think that there is a political ball rolling slowly towards that.

The second, well, we do spend a lot on education and training. I am not so sure that it does much more than make education more expensive.
Regarding "Don't use ancient system Python versions" and "Use virtual environments", you can knock out two birds with one stone by just using pythonbrew. It also saves you the hassle of rolling your own deb/rpm if a package doesn't happen to exist.

Also, Chef/Puppet aren't "alternatives" to something like Fabric. Use the former for server provisioning, and use the latter for actually kicking off the deployment process. Trying to shoe-horn the finer deployment steps (git checkout, tarballing, symlinks, building the virtualenv, etc) into Chef was a nightmare every time I tried. Those tasks are better suited for Fabric's imperative design. Plus you can just run any Chef commands from Fabric itself, or use something like pychef for finer grained control. It's a win/win.
it's a pre-emptive strike to anyone who's thinking about suing Facebook.
Mojolicious looks good. Though I've heard about it before I always thought of it as a MVC framework and never as a web scraper. Anyway, looking through the docs, I see that Mojo::DOM is what seems most useful. But does this integrate with Mechanize? Would I be able to fill/submit a form or is Mojolicious just for parsing only?
Facebook buys AOL patents from Microsoft for $550 million
Garbage collection does not have to mean GC as we know it from Java. It's not that the objects created by the app are garbage collected. The whole memory management in modern systems resembles a GC (it pretty much is a GC). Just instead of managing liveness of the objects, you manage the block mapping. Sometimes you have to write them back to the disk, sometimes you have no memory left and you have to swap them out...

That's pretty much the GC algorithm. There's nothing wrong with that mention.
After seeing so many "dump and run" code drops on sourceforge, and now on github, I really don't think we (in the global sense) are in want of code.

What would make the world a better place? More well documented AND maintained examples of code that satisfies some need.
> "That delay is /usr/bin/login searching the system logs so that it can display the date and time of your last login."

Am I missing something? `w` on my linux system takes well below one second:

[burgerbrain@eeepc] ~ % time w
14:11:18 up 19:41, 6 users, load average: 0.27, 0.10, 0.14
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
REDACTED
w 0.01s user 0.05s system 61% cpu 0.096 total

I can't imagine why anything like that would ever take anywhere near 5 seconds.
Learn To Park With Style And Elegance
Valet parking adds an elegant touch to any occasion. Valet parking Los Angeles has earned reputation for delivering a superior level of customer service to some of the country's most prestigious businesses and hospitality organizations.
> Linode is a much better choice for VPS.

Except they don't offer a 256MB RAM option. Rackspace does, for $10 a month. The only other serious competitor in this space is the EC2 micro and well, it doesn't perform as well.
The Jaded Bayes classifier -- hipster machine learning means better predictions
well, in the state I live in, gambling losses in the state lottery fund the education system.
Ask HN: Recommendations for a product photographer in San Francisco
I'm in the process of making a catalog for my startup's physical products. I wanted to get some product photography done but I'm having trouble finding portfolios that I like. Does HN have any recommendations?
Not in my experience. I did exactly that (install SSD in cd drive bay, and use orig hd for a second drive), and when I had a fan issue it was not a problem.
REALLY nice polyfill!

The Filesystem API is really good for DIY'ing cache, particularly useful when you have dynamic assets that you don't want to list out one by one in an Application Cache's manifest file.

The problem is covered really well by the presentation Douchebag: AppCache, by Jake Archibald. http://lanyrd.com/2012/jsconf-us/sqxcz/

Using IndexedDB to fill the Filesystem API makes loads of sense! It'd be great if cached JSON data were usable as IndexedDB data too, more than an opaque blob: you could fetch data via FS api, but run most of your UI off the IndexedDB side. This is getting a little fantastical, but happy hacking to anyone venturing out that way!
A very interesting feature of the Ivy Bridge architecture is a new digital random number generator code-named Bull Mountain, which uses teetering as an integral part of its workings. [1]

While consumer-oriented reviews rightfully ignore such things, I reckon that the HN crowd would be pleased to know more about such a nifty hardware solution.

[1] http://spectrum.ieee.org/computing/hardware/behind-intels-ne...
Wrong spot. He's asking about the chest in the maze, where it said "Remember: words are not WORDS !!"
But what arguments? His answer to "why classes at all" is that higher-level languages are good because they reduce complexity. OK. But then he takes for granted that his class-based approach is what does this. That's not an argument, that's assuming your conclusion.

The rest of the post says that because a committee has been arguing for 10 years, we're overdue for just adding something. That hardly follows. Sometimes adding "something" for the sake of it fucks things up. First do no harm?

Personally I'm glad that "luddites" have blocked these attempts to "fix" arguably the most important language in the world by making it be more like Java. As the OP points out, while the committee has been arguing, "JS has gone from being important to being critical to the construction of large systems", i.e. succeeding massively.

(Not that I don't empathize with how frustrating it must be to have a committee block what you think are all the good ideas.)
Review Asus G75V (mobile Ivy Bridge CPU)
Wonder why this reply is dead?

---

ivankirigin 19 minutes ago | link [dead] You can view all the links you've made here: http://dropbox.com/links Also, when something is linked, there is a link icon on the right side of the file browser on http://dropbox.com/home
+1 for Scala. It's like Java on Steroids without the verbosity.
> the officer's pockets will almost always be shallower than the municipality's

That's why the law allows officers to be reimbursed by the department if they lose a lawsuit, provided that they were following appropriate guidelines. I think that's a very nice compromise, targeting both the officer and the municipality.
Dwolla Now Hosting Developer Open Office Hours (via G+)
I bought a brand new Macbook Pro, 15" with upgraded CPU, etc. with 4GB of RAM last year (2011 model). I didn't want to upgrade to a SSD, I wanted to do that later. After I upgraded to Lion (through the Mac Store) the machine is as speedy as my old Macbook Pro I bought in 2006 and is running Snow Leopard. It's horrible and it's so annoying and I'm pretty much really angry. If Apple will not fix this I will NEVER buy a machine from them again. The only reason I'm buying this overpriced hardware is because I like working on OSX and I don't want to struggle setting up a "Hackingtosh". You probably won't define this as a bug because you're not experiencing it yourself. Maybe it's not an implementation bug but it surely is a bug from the user's perspective.

edit: Just for the record. I'm not doing some kind of heavy processing work. Most of the time I've got one Chrome window open with some tabs, email client, macvim and iTerm2. It's not like I'm doing some heavy work. I'm not even running a VM.
That shows your currently active login, which is of course in main memory. Your most recent login may well no longer be active, and so you have to search the log files.
I was trying to use EditText's in ListView items.

The focus handling is completely broken, but nothing in the Android documentation suggested there was anything wrong with trying to do this. It was only after Googling through many posts that I came to the conclusion that ListView's aren't useful for editable fields.

Of course there may be some magic sequence of API calls that will make the focus handling work but it turns out that using LinearLayout's is much easier.

Of course poor API's have always existed but I am distinctly unimpressed with the quality of Android's UI framework compared to others I have used and I find that very disturbing for such a high-profile and important project.
I recall news, that some smart-ass in Europe still continued to sell 100W bulbs as "heating elements", not bulbs :)
Oh please, the sky isn't falling. Rape is not going to go uninvestigated because a police officer can't tell someone to stop filming.
Measuring Mobile Apps: The Problem With Mobile Analytics
love tarikh
> Those tasks are better suited for Fabric's imperative design.

Yes they are, but IMHO not on the target servers.

I use Fabric to build DEBs that get deployed by Puppet. I prefer to have no build tools on target servers, YMMV.
Alternative start for to do lists
Four to six years in Computer Science is an insane amount of time, so much changes in the world of CS in this amount of time that basically your information is outdated by the time your graduate.

I'm going to re-phrase what others have already said: You do not understand what "Computer Science" is.
It's a great question. Unfortunately, a lot of the analysis that the House is getting isn't great. Here's the backgrounder the sponsors of the bill provided -- http://intelligence.house.gov/backgrounder-rogers-ruppersber...

Call your Congressperson and tell them that you're concerned. The Electronic Frontier Foundation is helping coordinate the effort -- http://cyberspying.eff.org/.

(btw - I'm the author of the post and my name was actually just under the "guest blogger" byline)
LETRAS DE CANCIONES
Hier vind jy die grootste versameling en seleksie van rympies, kleuterskool rympies lirieke, video's, en al die musiek en liedjies vir kinders wat gereed is om te luister en geniet.
Ons bring jy die beste inhoud vir kinders, vermaaklike en opvoedkundige vir julle 'n goeie materiaal vir jou kinders en kleuters te hê.
Wil jy 'n liedjie wat jy nie kan kry op die bladsy te plaas? Klik op: Versoek 'n liedjie of pídenosla op Facebook of Twitter. Letras De Canciones
Get official AWS CLI tools in a single github repo
Emotions Jquery Plugin
Yeah, the biggest thing for me is that Sandy Bridge prices will hopefully drop. That's why I've been waiting for Ivy Bridge, not anything else.
There's a nice script[1] for tweaking OS X's dynamic pager settings to reduce the system's swappiness that helps a bit. Incidentally, if you have both an SSD and HDD installed, you can use it to move the swapfiles to the HDD to reduce wear.

[1]: http://dropsafe.crypticide.com/article/3848
Show HN: Find Haiku in Your Tweets
Each project will come with a README, screenshots and a brief description of any interesting code contained.

Sounds okay to me. He's basically putting up a portfolio of his existing work.
That's the theory. In practice, people who think that $15 are too much, will either forget about it (and not come back when its cheaper), or they will pirate it.
Hopefully what it will mean is officers will have an incentive to actually learn the laws instead of guessing. This creates a disincentive to action without knowledge, and cops aren't going to want to do nothing.
Agree. The extra "end"'s makes the code look hideous.
If the home site for a language or framework returns 404/500s, it's not professional quality.
It's a great idea. Thanks for taking the time to highlight the new york scene.
Cycle of Fashion Trend
well documented AND maintained examples of code that
satisfies some need.

You're asking for the Holy Grail of open source.

When I google for something really obscure, I'm always glad to find something old, ugly, and broken, over no results at all.
Review Intel Ivy Bridge Quad-Core Processors
I wouldn't worry about it if I were you. Anyone who thinks his experiences on one team in a 100,000 person company (or even a 10,000 person company!) are in any way broadly representative is full of shit. Microsoft has some dysfunctional teams, as does anyone, but it has plenty of good ones, too. I worked there for quite a few years after college and it was a great learning experience. I had friends in other teams who had both good and bad experiences. It just depends.

OP was an "account manager," which means that anything he tells you has absolutely no relevance to the engineering side of things.
Viddy adds 5.5M users in 11 days
As a python dev who deploys a lot of software, I found this article to be wonderfully helpful and informative, and a good reflection of current best practices.

Summary of the deployment tools mentioned:

- Manage remote daemons with supervisord
http://supervisord.org/

- Manage python packages with pip (and use `pip freeze`)
http://pypi.python.org/pypi/pip
http://www.pip-installer.org/en/latest/requirements.html

- Manage production environments with virtualenv
http://www.virtualenv.org/

- Manage Configuration with puppet and/or chef
http://puppetlabs.com/
http://www.opscode.com/chef/

- Automate local and remote sys admin tasks with Fabric
http://fabfile.org

Other tips:

- Don't restrict yourself to old Python versions to appease your tools / libs.

- Strongly consider rolling your own DEB/RPMs for your Python application.

Author also touted:

- Celery for task management
http://celeryproject.org/

- Twisted for event-based python.
http://twistedmatrix.com/trac/

- nginx / gunicorn for your python web server stack
http://www.nginx.com/
http://gunicorn.org/
Again, this is not true of lxml. XPath was made for structured data, but in lxml you can give it the HTMLParser factory and it will handle rubbish HTML just fine. I use lxml/XPath professionally to scrape economic data for an ibank, and you'd be surprised at the Microsoft Frontpage-type spaghetti HTML I parse with it -- and it all works great.
Did you try tornadio2?
Video Job Interview Mistakes: 6 Tips For Hackers
Delta Airlines Tires of Oil Speculators, Looks to Buy Their Own Refinery
Yes, I tried Panopticlick on a number of different computers and it was always the fonts that gave them the most bits of entropy. I wonder if installing a couple of new fonts and deleting a few others (which I do from time to time) would make them believe I'm a different person...

But really, browsers should stop allowing scripts to access the full list of available fonts. What use does a website have for that data, anyway? Any site that doesn't want to use one of the standard fonts should be using webfonts nowadays.
Other countries might use the fracking process to produce more gas that you can import.
They already have everything at fairly reasonable prices with overnight shipping(sometimes I get it the same day in the afternoon.) For me the reason I buy from mcmaster is that I need an esoteric part quickly for a project with special requirements. Mass manufacturing from them would not be wise as the prices are going to be higher than buying in bulk from a proper bulk supplier.

The website has a lot of relevant data that you need to make informed buying decisions. sometimes they even have cad file downloads with tolerances listed depending on the part.
Metzger's post is much more subdued and interesting. IMO it would have made a much better submission. Link for the curious (it's linked from this article):

https://plus.google.com/116685507294337280246/posts/camYp28M...
Airbnb Saved My Life
> yes I know, that's the point of my question ;)

It's a facile point.

> everyone is all positive about "open source" until they have to dive into a few millions lines of complicated system-level C code and then...

Does anyone doubt that 99% of open source users never read a line of the source code which they are using? The point is, they have the opportunity to, and more importantly, the 1% (or whatever) with the skills and resources are able to actually do something about it.

If you don't have the ability to change or examine the source code, then there is little incentive to do any runtime analysis which might illuminate the problem.
A bunch, actually: http://news.ycombinator.com/item?id=3875729
That may have something to do with it, but in practice, I find myself moving up/down (j/k) files far more often than I need to backtrack by a single character, and when I do, as often as not my pinky flies up to backspace (note this works by default only in Vim). It ends up being the most natural to keep your hands on the home row anyway.
I think that as the developers are developing them on better hardware they pay less attention to performance. For example you wouldn't expect the lastest build of iTunes, or OS X to run on hardware for 10 years ago. As system specs improve developers seem to pay less attention to performance & file size. It seems crazy to me that modern web browsers are over 50mb in size. But as hard drive size isn't really a constraint anymore the developers don't optimize that aspect as much.
Yes, I agree. Way better than most HN articles.
Values of OK may range from 1% of the final version to 80%; the real test is if the prototype advances your understanding of customer needs by triggering additional insights through conversation. If you are not surprised you are not learning and if you are avoiding conversations for fear of failure you are learning much more slowly than you could by taking some prudent risks.
Why not export it? If I have something to sell, I don't care if the guy who gives me the money lives across the street or across the border. Why would you discriminate one human against the other here?
I work for an Industrial Supply company and have monitored this since they bought SmallParts.

Needless to say, Industrial Supply is a low margin, volume business that requires high service levels. Most Industrial Supply companies sell the same products, there really isn't a differentiator. As always in retail, price, selection and availability are crucial in making sales.

This is a good match for Amazon, and obviously they have everything in place already to make this a success e.g warehousing, payments, ordering channels etc. It's worth noting most companies who seek industrial supply want credit - amazon already accepts credit lines though obviously these are not as nice as the cash they get instantly from credit cards and payments.

I guess the only thing Amazon lacks in this regard is a physical presence, something that Grainger, Fastenal, Airgas etc and other Industrial Supply companies have in hundreds/thousands of stores.

In terms of the market opportunity and potential success for Amazon, Industrial Supply is a huge and fragmented sector. The leaders mentioned above have low single digit market share, the same applies world-wide. The business itself is not hugely profitable, but it moves slowly and hence is relatively straight forward in regards to operation, forecasting and numbers.
Related discussion:

http://news.ycombinator.com/item?id=3879473
AFAIK it was released after we settled on Node.js.
When he says "the garbage collection algorithm may require that all of a program’s data be in physical RAM before collection can happen," it sure sounds like he's talking about in-app heap collection. Does "may require that all of a program's data be in physical RAM" really apply to the kernel level of memory management? It makes no sense to me when applied that way.
The manner in which Viddy acquires users is very questionable .You click on a link that a friend "shared" and next thing you know you are "member". Facebook needs to do something about this because i believe they violate Facebook's TOS somehow.
agree with your sentiment. but, this is not surprising. VCs talk about 7 sins and not curing cancer
The Unreasonable Institute: Where Ideals Go to Become Businesses
Thanks for the suggestion - point taken. :) I've uploaded larger versions on the blog.
Looking at the burn rate makes sense only for ongoing operations and not for one-off purchases like these ones.
Thanks.

Agreed, this particular law is a bit of an ass...
There was far less crime in America before the War on Poverty dramatically expanded the social safety net in the 1960s.

America has a significant anti-poverty safety net -- welfare payments, food stamps, Medicaid health care, public housing vouchers, earned income tax credit, child care subsidies.