skysight-inc/HackerNews huggingface dataset:
Automatically generate documentation for nodejs repos
If the Internet should be neutral, why should this peer-to-peer container-switched network be different?
Why JSON in PostgreSQL is Awesome
Cool idea, but I haven't enjoyed any job in tech yet. Would hate to discourage some kid.
At least one. Potentially more. The actual multiple depends strongly on the specific SSD and memory configurations in question, and on the benchmark of interest.
Linux also counts files on tmpfs as part of the cache number--it's really annoying that no number in top can serve to show you a decent approximation of how many page-size malloc()s you can do before OOM (with overhead and fragmentation and so on, of course it's infeasible to get an exact number).
Ruby is the perfect language for such a parable given its multi-paradigm nature and community's cultural obsession with aesthetics.
>you weren't even in the top half of your team

That's a pretty poisonous attitude, since half the company isn't going to be in the top half of their team. And honestly, in my experience, most people have no idea whether they are at the 50% point or the 15% point.
This is the worst piece of Linux advice ever. I use Linux for many years and every time I had a memory leak or a process using too much memory, every google search about the problem would lead to some "guru" giving this advice.

This explanation which has been replicated thousands of times on every linux forum on the planet, prevents people from solving real problems. It started as a useful piece of information but nowadays it is spam.
> Just check for the existence of an @ symbol, at least.

"At least"? That's pretty much all the client-side validation you can do. The next step is sending an email to it.

The specification of what kind of email address is valid or invalid is horrendously complex. I've seen too many sites reject perfectly valid email addresses. Don't do this. If it contains an @, try mailing to it. Let the user respond to that email somehow, and you've got the only reliable email validation and verification that's possible.
I immediately thought that the Librarian one was sensible and correct, whereas the others seemed like very strained satire. So I'm guessing that makes me a Librarian.

But maybe a cynical, world-weary Librarian like the discworld one, as touching someone else's crappy code without some larger plan in mind seems destined to cause you heartache, following the standard "person who last touched it is to blame" rule.
Apple maps: how Google lost when everyone thought it had won
Debian describes OCaml as follows:

Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML.

OCaml comprises two compilers. One generates bytecode which is then interpreted by a C program. This compiler runs quickly, generates compact code with moderate memory requirements, and is portable to essentially any 32 or 64 bit Unix platform. Performance of generated programs is quite good for a bytecoded implementation: almost twice as fast as Caml Light 0.7. This compiler can be used either as a standalone, batch-oriented compiler that produces standalone programs, or as an interactive, toplevel-based system.

The other compiler generates high-performance native code for a number of processors. Compilation takes longer and generates bigger code, but the generated programs deliver excellent performance, while retaining the moderate memory requirements of the bytecode compiler. It is not available on all arches though.
GNU Chess 6.1.0
For the lazy: http://jsbin.com/iXIrIlur/1
Adding a hover pop up after selecting a word/phrase could be a nice feature. It would be easier to implement if I had my own database of definitions/translations instead of relying on external dictionaries in an iframe like the current sidebar. Note that one of the reasons I've avoided implementing important features on hover so far is to ensure that everything works well on touch devices.

Not sure how to enable selecting text in a nice way given the current UI. Would probably need a way to temporarily disable the current word selection feature. Hmmm... actually one way would be to add a keyboard modifier to temporarily enable native OS selecting for advanced users without cluttering the UI for regular users.

Personal word lists: I've avoided tagging, folders or lists for organising words so far because I don't think I'd personally use them, but it's certainly something I'll consider for the future, especially if enough people request it.

I'll keep your suggestions in mind, and if you want to encourage the development of any specific feature please add or vote for it on the uservoice page: https://readlang.uservoice.com/forums/192149-general/filters...

Thanks again!
The Xbox One and PS4 share similar specs, but the devil’s in the details
Zen T-shirts (support Seattle's zen community)
Dan Geer Explains the Government Surveillance Mentality
İyi Bir Logo Tasarımının 6 Özelliği
There are a lot of people looking at fuel efficiency as well as carbon/sox/nox emmissions. For the companies running ships, the more efficient the plant is, the more money they save on fuel. About ten years ago we did a rough back of the envelope calculation in one of my engineering classes when I asked a similar question. The extra weight of the solar panels would negate any small benefit they would provide plus the cost of maintaining extra equipment. A lot modern ships run a shaft generator which uses the power from the shaft turning the propellor to turn an alternator to make electricity. When the ship slows down at the end of the trip, they go back to running smaller 'port' generators.
It's #1 on HN because people voted on it, now stop being a whiny ass and just move to the next one if you don't like it.
"People willing to pay for it" sounds like a reason
Funny, that's exactly what the brown people said.
(λ (x) E) is `(function (x) E)` or `function (x) { E; }` or `\x -> E` or `lambda x: E` or `proc { |x| E }`.

Everything else comes out of the incredibly clever realization that functions are capable of encoding everything you need in order to program.
I think SVG makes more sense for this. CSS is not intended to be vector graphics format.
I tend to not exercise any caution clicking links on hacker news, and since time is "the" essence, really; I use a click and "see for myself if this is interesting" approach, since there's more noise here these days. well I clicked and clicked again on one of the words under the search box. I'm sitting in the middle of the kitchen where my 4-7 yrs old children are roaming around. I often show them computer stuff on here so it would have been completely normal for them to be looking in on this browsing session. I was in for a world of shock; backed up real quick and understood what nws meant. I had seen the nsfw tag before but not nws. Thanks for the downvotes tho.
Offer HN: Free design, UX for HN startups
Hey all,
we've been working with a few HN startups (is there such a thing?), and we love it, so we're offering free design/ux help. It could be a product discussion, a homepage redesign, a usability critique, it all depends on what's more urgent to you. My contact info is in my profile.

Enjoy!
Nuclear reactors. It's good enough for the military, and some icebreakers.
Would love to talk to someone interested in software. But I'm not a Skype user; haven't used that in 5 years. Not interested in installing it. Wish I could use Teamspace. I helped write it; I use it every day, and its head-and-shoulders a better way to communicate.
Because this is clearly a hack and the name of this site is Hacker News.
Well for one, you can't really email someone a nuclear bomb or chemical weapon. The most you could do over the Internet is detonate an already-existing bomb (either a real bomb or blow something up Stuxnet-style).
The tablet/laptop you speak of isn't cheap, because of the OS license. Chromebooks can be cheap (like $200 cheap) because ChromiumOS/Linux is free (in both senses of the word). I have not seen other OS vendors being able to deliver a device that's even remotely price-competitive with a Chromebook.
About 5% of users try to steal. About half of those come clean when presented with the method here:

http://pud.com/post/65374847162/how-i-deal-with-users-who-st...
SliTaz GNU/Linux - fully featured desktop or server in less than 35 MB.
(I'm not from the US)

My brain pattern matched it as two numbers that have some relationship with each other, but It didn't even occur to me that it was a date until I visited the page. If it was written 16/11 I might have gotten it(the bigger number on the left makes it unlikely that it's a ratio of some sort which is how I read it intuitively). But what if it was 5/11 or 11/5, still no idea what it means without context. If it said "on 11/16" I would get that it's a date, but it would still take me slightly more energy to figure out which is the month as I don't associate the right number with the day, but the opposite.

Keep in mind, if I look at it for more than 2 seconds I will figure it out, but if I need to spend more than a fraction of a second parsing a date, you have a UI problem.
The truly paranoid can go hard core: telnet 443
True Agnostics don't write unit tests. In the real world, agnostic code starts with just four lines that hide a single business rule, but balloon into gigantic 600-line methods that everybody is afraid to touch because weird business rules from the Singapore office are hidden away in strange code constructs in the middle someplace.

But the agnostic developer doesn't even consider refactoring it, because it "just works".

90% of devs are true agnostics, never refactoring, never unit testing, barely above the fizzbuzz level. Raganwald's example isn't an agnostic at all: he's a faithful parishioner, dutifully worshiping at the Church of St. Agile of the Clean Code but wisely avoiding the fanatics and the church politics.
For non-American it's not even clear what is it. Some fraction? Time? Street address? Okay, let's suppose it's a date. Is it 11-th month of year 2016? Or November 16th? In this case we are lucky that the day was <= 12. E.g. 11/12 could mean December 11th or November 12th.
Do you have any proof of that? "Free" memory uses as much energy as "used" memory, there is no distinction in SD|DDR-RAM. And if the OS is smart, it only has to keep a simple index of memory pages still relevant. I'd argue that this has a measurable battery-hit.
Improve your golf swing with sound
FWIW, WhatsApp is huge in Nigeria; at least the major cities like Lagos.
There are lots of way to accidentally lose a leading zero along the way. For a quick and realistic example make a csv file the looks like:

01234,Hello

import it into Excel, edit something and export it as csv again. Unless you pay careful attention to what you're doing, you've just lost your leading zero.
Ha! Never heard that one before. The name 'Jeep' of course dates from WWII when thousands were shipped in cargo containers marked "Vehicle, 1, GP" which stood for "General Purpose".
It might not so much be that is appeals, just that it doesn't make them feel as silly as it would some over here. I get called a code ninja but only as a joke as I tend to wear black[1] coloured everything at work[2].

In my experience with Indian companies and people of Indian heritage over here, titles seem more important to them generally than to other people I've interacted with. Perhaps due to differences in exposure to certain cultural references "ninja" sounds to them like an exotic title rather than, as it sounds to may of us, a silly one. Having said that, I know people who would appreciate "ninja" in their job title so this is subjective at a more local level too.

[1] Yep, I know there is no evidence a ninja ever wore black, in fact their outfits may have been very colourful: the black stereotype we have comes from how stealth actions were portrayed in stage plays.

[2] I'd prefer a Cash reference but you can't really chose your own nick-names, maybe nipping to Rino and shooting a man would help...

Of course it might not appeal to programmers in India any more than it does to you - it could just be that is appeals to PHBs in India!
Looks like the site's down, Here's a text only cached version: http://webcache.googleusercontent.com/search?q=cache:http://...
Based on the site being down, I think the future is to use a CDN, yes? MaxCDN is $39/year.
Thanks for the feedback! There are tradeoffs here, and I appreciate that it's a little glib to say things are necessarily right or wrong. I took down the scope example for now, but in relation to the method example, I posted some thoughts about why I disagree on this post:

https://news.ycombinator.com/item?id=6708420

See if that helps clarify my position for you.
Ruby on Rails’ inside: Rack middleware
I think it was a sore point for a lot of people, and a question mark for me why Apple and mr Jobs was imposing a sort of censorship on iOS apps with regards to explicit content. Well I got real world case of how something useful to some can be damageable to kids on a platform where this is totally unexpected: HN.
Kit cars/planes/boats have long been allowed with relaxed certification, at least in America.
Python History - The story of None, True and False
I'm probably in the minority here, but I really like the Maps desktop app in OS X Mavericks too.

The headline is a little dramatic. I don't know if Google "lost", surely they predicted this sort of situation when they chose not to renew their licensing deal with Apple.
Aw, crap. Word fail from me there. Thank you Loren.
IPad Air 'explodes' in Australian phone shop
More like 'assemble a chassis' - no roof! No body! That would takes days to hand-fabricate I imagine.
So people who work in retail stores open on the weekends work 56 hour weeks rather than 40 hour weeks?

I feel really bad for the people working in the drugstore now!

Just to be clear, the idea that weekly cyclicality in demand for labor, or any restriction on demand for labor hurts employee welfare makes little sense when the legislative efforts already focus on labor friendly restrictions on supply. In fact, one of the ways that unions served their members was by insisting that outmoded positions (eg. coal shoveler on a diesel-electric train) were still filled.

In general, labor interests are served when employers need more work done, and the supply of labor is constrained through things like limits to how many hours can be worked in a stretch without a break and when overtime pay is required. (I say in general, because everyone is also a consumer, so efficiency and productivity gains are not a net loss, they're a net gain)
look, whitespace flat http://toastytech.com/guis/altodraw.jpg

my favorite user interface is still STAR though http://toastytech.com/guis/star.html. B&W never looked better, the icons, their borders. Some screenshots look like they came from Tufte http://toastytech.com/guis/starapp3.jpg

They had generic operations that were supported by many parts of the OS, like a move command used for files or data inside an editor. Like Algol, successors peaked below, they mostly provided superficial similarities.

edit: http://www.youtube.com/watch?v=Fap-mXY80ls intran information system. Used to be hosted on google videos but the link in this page http://www.digibarn.com/collections/movies/digibarn-tv/gui-m... is dead, so here's a new one.
Actually, purge is completely unrelated to swap. Purge forces disk cache to be flushed to disk, and can be used to approximate a cold disk buffer cache scenario for performance analysis.

Some small amount of swap usage (compared to total RAM) is perfectly normal, by the way. More cache, for instance, is a better use of RAM than avoiding swap usage by keeping never-accessed pages present.
My opinion: there isn't one single good way to do programming. Often, you want your interfaces to be referentially transparent (stateless). Usually, it's best for source code to be in the functional style as well-- but not always. Sometimes, mutable state is exactly what you need. But it shouldn't be the default, unless you're working at a very low level.

There are, on the other hand, a lot of bad ways to do programming: FactoryFactory nonsense, software-as-spec systems, waterfall methodology. We've seen them several times in our careers and have a hair-trigger sensitivity to stupidity, because we've seen it cripple or kill projects.

Great programmers tend to be unforgiving in their condemnation of the bad ways of doing things, but hesitant in accepting one programming model-- even a very good one like Lisp-- as being the One True Way of doing things. As soon as you have a One True Way, some very smart people disagree with you-- and that's a good sign that you're at least partially wrong.

In other words, it's good to be passionate about using the right tools for the job. It's a problem when people think the same tool is right for every job.
> 1. Start to upload a photo from my phone of me and my friends doing shots

Just don't do this. Seriously. Don't do it. I don't know why people keep putting self-damaging things on the Internet. If it's on the Internet, you should consider it as public. Full stop. There's so many avenues for things to get out into the public (leaked passwords, website glitches, human error in general), that unless you're extremely careful about the dissemination of that information (hint: don't be /in/ the picture in the first place, or you've already lost), the data is as good as public.

Really, what did you gain by putting that picture on the Internet, anyway?
But neither of those is a "primitive". The first is a major restriction on contracts (and not a restriction Pyret enforces, AFAICT). The second isn't a language feature at all. How would having a new language help give me either of these?

And yes, soundness + interoperation + structural types = heavy performance cost. You can give up on one of those easily, but the combination can't be free.

But the best way to make TR programs not pay that cost is to not cross the boundary all the time, which it sounds like is what you were doing. Why was that necessary?
While I understand your point of view, both because not everyone is a skype user and because you wrote it. It is a fact that skype is the most used tool for video/audio communication. I would say especially for students. So I think it's a bit unfair to ditch a tool just because it uses the most common way to communicate.
Apple maps is still a poor competitor to Google Maps.

Yesterday I went to the beer store( that is what it's called in Ontario). Being at a new house I used apple maps on my phone.

The first 3 results it showed had no beer store there. I finally found it using google maps.
Actually, at least in the US, it's the opposite. The US government requires private organizations to abide by strict funding standards to ensure their retirees get their promised benefits, via laws like ERISA and PPA of 2006.

On the other hand, government entities don't have to abide by ANY laws regarding funding for future benefits, so the politicians and union leaders/elders promise higher and better benefits to get the votes, while taxpayers get shafted when the bill comes due. It's ridiculous to promise full retiree healthcare (even the US government doesn't offer it to its citizens). That is why when Congress required USPS to prefund the benefits, it became an issue for their budget. Because when benefits actually get accounted for, and you start setting money aside, you realize how stupid it is to offer someone full retiree medical benefits.
Hybrid power plant! Open platform (chassis) for building your own working vehicle! Very cool.
Couldn't agree more with the article. I use browserify in all my new projects and love having the same module comfort as I do in node.
Often did that as a younger entrepreneur. Paid off, thank you. He undeniably had the sharpest eye of his generation to find the angle that work with the market.
The Edison Alarm Clock
The hand drawn designs are as impressive as the finished product.
Id rather not take the risk of a slipped disk
AdBlock plus, buddy :)

Sadly I haven't figured out a solution for mobile platforms yet. I just don't watch videos with ads in them on mobile.
If you're strong enough you can watch some demos on youtube.com.
Adieu To ScorecardResearch, Comscore And, Especially, ShareThis
It certainly is for the following reasons.
1) Offers high-level abstractions at high-level performance
2) Does not restrict you to 1 paradigm.
3) Available from multiple vendors on multiple platforms all backed by an ISO standard
4) You used a program written in C++ to write this post
The older ones may have been, because they would have reaped the benefits. But sooner or later, when the taxpayers would have started getting hit with astronomical bills for keeping USPS retirees alive, someone would have had to pay the price.

See Detroit's pension retirees. The older retirees took advantage of the nice pension, and now the younger retirees are going to have to have their benefits cut because there is no one left for Detroit to tax.
Semi-relevent xkcd: http://xkcd.com/1279/
Sometimes when I need a quick break at work, I'll pull up a fly-over in the Maps app and wander through a city. It is relaxing and pretty nifty.
Addthis and Sharethis provide free social sharing services, but the problem is that the cost turns out to be you letting them drop any number of pixels on your users for different advertising networks. This is a great description of the discovery process this guy went through to figure it out. not really free, also known as "comes with externalities". jk.
Which is a common pattern, however can easily be negated by the fact that the person may think their activation link is in their spam folder (when in fact they didn't type in their email address correctly). User gives up and moves along.
The difference is obvious to you and me and western folks. But to the average brown kid on the ground seeing his village get blown to pieces, he aint gonna know and he'll be the one sending the bombs when he's a bigger boy. Why not use the drones and send targeted dinners to his table and he'll be a likely friend to the US in the future.
Why is this the top comment of the thread? Just use flag. This was a fun comment a couple of years ago, but don't use this in discussions over and over.
I think that strategically, Apple would always have wanted its own Maps app. As the article states, it's a hugely valuable source of road traffic and other geo-related data.

The split was inevitable, and while Google may have accelerated the split, I don't think it's really a mistake on their part.
I've had problems with Apple maps in Ontario too. I'm wondering if the performance versus Google Maps in Canada is different than the US.
BioLayout Express3D: for visualising biological networks
EX1 by Cartesian Co. – 3D Printing Circuits
Can you advice on how can one get started in embedded programming? What are the barriers, talking the cost and hardware to begin. I can't think of much of a real project that I would be fond of making but even a set of blinking lights would be an achievement for me.
I've been using Apple Maps since it was first released in iOS 6. I've reported countless problems but only 1 was ever fixed. Unlike with Google Maps, it seems there's no way for a business to register itself or otherwise contribute info. As such, Google Maps often has more information.

Apple Maps is, generally in my area, out of date and missing businesses and schools and unfortunately I don't see it getting better.