skysight-inc/HackerNews huggingface dataset:
But that's completely understandable. (Inb4 personal attacks, I'm a drop-out myself, and my first job, that I had for almost a year, paid $500 a month.)

Consider asymmetry of information. There were two versions of you: (1) fresh uni drop-out, and (2) uni drop-out with programming experience and open-source contributions. These descriptions summarise information that potential employers had about you. You also was a hard-working and intelligent person the whole time; however, employers didn't have this information per se, because they had no simple way of being sure of these characteristics.

However, these characteristics are what employers are looking for. Now, information (1) gives almost no certainty that you have these characteristics: there are a lot of top programs drop-outs out there, and an employer would have to go through hundreds of them and spend a lot of time and effort on evaluating them to find one you. On other hand, if employer limited search to someone who fits (2), the odds of finding a person with these characteristics would be much higher, and the interview process would be easier.

> I have little sympathy for companies that choose to operate that way.

Are you really surprised that (2) got a lot more offers?

Do you really think that employer should be "fair" to potential employees, if that decision costs him (and his shareholders) more money? In other words, do you think that for a for-profit business, social obligations (in this case, to an intelligent drop-out) should be more important that obligations to their investors and shareholders?

Essentially, that's one of the reasons experienced developers get so much money: it's actually _cheaper_ (consider not only the cost of hiring process, but also the potential cost of a bad developer working in your team) to hire someone you can be relatively sure from other factors is intelligent and hard-working than trying to find such person from a wider pool.
Yep. And on top of that a reverse proxy is unable to inspect the requests to route them smartly (based on path, cookies, etc.).
I find this so much more pleasant to use than the alternatives. There's a portable distribution of it which you can put in your project and statically link.

http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/...
Between Firefox, Chrome, and Safari on OSX, it only does anything in Firefox (toggles Firebug).
Give a Helping Hand
I have been self employed most of my life, I created companies from scratch and I deeply feel that I am unemployable.

I am engineer, a geek, a hacker, whatever you want to call it when you love working with machines all day, but the most important thing is that I take my own decisions. I won't be happy working on machines for someone else.

When you study in the University they train you to obey the decisions of others. Everyday I am shocked when people obey me without resistance.

The best people I had did not obey me: When I ask something stupid, they just told me fast how stupid it is. They were a pain in the ass to work with, but the resulting work is outstanding.

I think the belief that you need to work for someone else is wrong, society trains you for that as it is the only alternative. It is not. You can work on your own just fine and partner with other people.

Working on your own is not for everyone, but also being employed is not for everyone.
Chris Burden turned late-night TV commercials into conceptual art
Its unidirectional in hardware. The exact details are more complicated, but there is only physical wires for a one-way link from the FMS side.
You realize the irony of linking to that article, with the following quote:

> Then on December 22, 1974, The New York Times published a lengthy article by Seymour Hersh detailing operations engaged in by the CIA over the years that had been dubbed the "family jewels".

Seymour Hersh was instrumental in bringing the CIA spying revelations to the public view then.
No, I'm stating (not implying) that the hazards of a too-strong central government (such as the Soviet Union under Stalin, or Germany under Hitler) are far worse than "warlords".

You're pretending that the only options are no central government at all, on the one hand, and an all-powerful central government on the other.

That's not actually the case.
Okay, gotcha. :-)
Luckily for us; there is a low risk of Cylons for the foreseeable future!
Man, that MathJAX (I assume) is ugly without JavaScript. '\((P_{predicted} - P_{actual})\)' instead of 'P_predicted - P_actual,' which would look fine. Heck, with <sub> one could even Do the Right Thing in HTML itself.
Pull a Scotty and estimate N*2 or counter with a simpler feature that you can do in N/2.

Business school is just expensive signalling.
AWS Lambda to run the Hugo static site generator
Unless you are optimising for space, there is no real reason to use C in IO bound processes (for which event loops are ideal); you may as well use Python (or even JS if you must) as your performance will be dominated by IO time.
He also expects employees not to be there for the birth of their children (http://www.autoblog.com/2015/05/11/elon-musk-scolded-employe...) with the money quote being "you need to find out where your priorities lie.
My usual line: not all conspiracies are merely theories.
Excellent find. Amazing but the crop factor was brutal.
One of the projects, GNU Pricing, made the front page last earlier this week:

https://github.com/diafygi/gnu-pricing

https://news.ycombinator.com/item?id=9521177
They complained that it doesn't show

cp: target '/real/' is not a directory
Simple ruby CLI console
Don't you have to call an API?
Randall at it again?
If you pay for Google Apps, then they don't show you any ads, as Google Apps is not subsidized from ads.
You're welcome to download the data set from the National Epidemiologic Survey on Alcohol and Related Conditions if you want to check the math. The NIH makes it publicly available.
Guys please don't do this, I hate chrome,not because it is almost perfect internet browser, just because it is almost an entire OS runs on top of my own OS(I just want a browser not os).I am afraid Firefox will end up where chrome going right now.
At first I was going to say that handling this properly would require shell to have magic powers. After trying to come up with a proof of why it's impossible, I think I found a simple solution. There are two problems the author was complaining about. The first one is:

cat paper.* > paper.all

This has the potential to use up the whole disk. The fix here is easy: do globbing before redirection. But this does not solve the other problem:

cat a b > a

This has a simple workaround which is even easier to type: cat a >> b. But the trap remains. How could the shell fix it? By pretending the user wrote this instead:

cat a b > temp; mv temp a

Let's look at the trade offs. We do a bit of extra work: one rename operation. This should be pretty cheap, and solves this problem as well as paper.all.

The real trouble I think is coming up with a good name and location for tmpfile that is guaranteed not to mess up the operation of the command we're running. If we put it in the current directory, we get the wrong answer from ls. If we put it in /tmp, it will mess things up when we're working in /tmp. However, after doing a few minutes of research, it appears that this problem is already solvable on Linux: by using the O_TMPFILE flag, there is no need to give the file a name at all, until after the command finishes running.
From Wikipedia: A horse has an infinite number of legs

A horse has forelegs.
And it has two back legs.
Four plus two is six, thus it has six legs
Six is an odd number of legs for a horse to have
But six is also an even number of legs.
The only number which is both even and odd is infinity
Therefore, a horse has an infinite number of legs

Now we know that the infinite legs are infinitely long.

(Unrelated, but along the same line of silliness from there:

No horse has five legs.
Any horse has four legs more than no horse does.
Therefore, a horse has nine legs.)
Ask HN: What's the best Web based API you ever used?
We are designing an API for one of our products and would love to learn from the best. As a developer, what's the best (any why) Web based API you ever used?
The educational system in Romania sucks, it's based on memorization and high school can assimiliated to a full time job. Kids usually learn to trick the system.
Really? That's a pity. Amy has serious cred in my book. The front half of the show is probably the most information dense international news out there.
I feel the need to link this rant, as I have a number of times as a response to overdesigning until you've half-solved the problems you've created by overdesigning. http://motherfuckingwebsite.com/
Tesla Suit: the next step in virtual reality
Best one I have read for agile scoping!
That's not true; Docker runs great on OSX natively. You can't run the containers there, but the client itself is fine and largely abstracts away the whole "where am I building" issue.
Generics, Inheritance, and Subtypes
The Tesla Suit
The only force greater than the frustration of a new comer in front of these cryptic commands is the frustration of an experienced user if you ever change even one character in any of these commands.

The other problem is discoverability. If it requires to check a documentation then it's probably badly designed in the first place. This is the power of GUI, a new user can visually observe the state of the system and see all the options available from there, and make progress quickly. I would expect any newly designed command interface to have an intellisense-like drop down for both commands available and arguments of these commands, with a short description and a link to the documentation if required.
Well then, we can assume that all those economists have also presented evidence to support their cases, but even with evidence, they haven't reached an agreement. Therefore, it's pointless to demand evidence from me either.

You want to know what amount of government spending is the most "efficient", but you should first define what you mean with efficiency in that context.

In ordinary life, efficiency involves maximizing output from input, right? A car can be more fuel-efficient than the previous year's model, and so on.

So you want government spending to be "efficient", but all government spending represents a wasteful middle-man between people and their money and whatever goods and services they need. Therefore, all government spending is "inefficient" from the point of view of the people whose money governments spend.

So I'd say that there's no such thing as efficient government spending. What's efficient is people paying for stuff on a free market with free and unhindered competition among providers. Surely you know how competition works, and results in lower prices and higher quality, right? In other words, free competition results in maximal "efficiency" in an economy.

In conclusion, if you want maximal efficiency in the way money is spent, you can't support the idea of any government spending.
The sorry state of server utilization and the post-hypervisor era (2013)
I don't worry about lock in in this particular case. At the platform level there is an element of implicit lock in because nobody else offers this exact service.

However, the application level can be easily moved to another platform. You could host the handler function code on an EC2 instance or bare-metal server. Little would change in the app code, except the API endpoint to which requests are sent.

So IMHO there is no lock in in the traditional sense, but there is a switching cost if you want to move to another platform.
Also keep in mind that it is 10 standard drinks, so a bottle of wine quarter bottle of scotch. It goes to show how much alcoholics hide their drinking
While the phone doesn't meet it's stated spec, it's still pretty amazing that tech that'd have been top of the line a few years back now costs less than a night out.
PPCB-MAKER a prototype PCB maker, create your PCB at home
That is unfortunate, but in those cases, if C or C++ is the only option, I would advocate writing cross-platform code and running the tests under a Valgrind-supported platform.

This is a bit more difficult for kernel-level code running on an RTOS, as there might be a lot more unique APIs to stub out, but it can still be done.
I really don't like how some PFP proponents -- as Meijer does in that article -- make a leap from a correct premise to an unjustified conclusion. Even if we accept that unrestricted, unchecked, non-transactional mutation of shared state is a source of many bugs, it does not for one second follow that going fully referentially-transparent must be the only solution to ensure correctness.

To me that argument sounds like, "wrist pain is a source of misery for many developers, hence we should chop off our arms and program using gestures with our tongue, which turns out to be a much more elegant solution" (I'm exaggerating, of course). It's as if provably verifiable, safe, imperative programming languages don't exist, and haven't been used to write safety-critical system for quite some time (actually, verifiable imperative languages have been used much more than PFP languages to develop such systems).

Also, the appeal to lambda-calculus(/i) as a more "mathematical" approach to computation (as if that is a goal in itself) discounts the fact that LC -- even as a theoretical model -- has some serious drawbacks, such as the lack of a good model of computational complexity.
I have had this question in mind too,but I think this not going anywhere.because for example visual studio extension development is in C#( am I right?).So using managed code base in something related to web , I think is almost impossible.
For me, it was the exact opposite. I was self employed for about 15 years and decided to take early retirement as a full time employee. It's amazing. Vacation time. Full benefits. Profit sharing. Dedicated A/R and A/P accounting departments. Built in customer service department (HR). Marketing department. All taxes handled for me. All I have to do is code. Frankly it's a joke.

Don't be afraid of going back if you decide or need to. In my mind, I'm still a consultant and always will be. My current customer is my employer and I only have one customer. The only thing that can get to me on occasion are all the petty gripes the other employees constantly bicker about. They don't know what it's like to do everything on your own.
Covariance and contravariance (computer science)
Bad faith is not uncommon. But now that they've done it once, feel free to turn the knife and ask for even more. I've been in a negotation where the company made a "final offer" that was egregiously low where I had the leverage. I waited two weeks to reply, countered with a 10x increase, waited another two weeks, and then increased it another 4x. Both times they capitulated.

(It was probably still too little.)
Yep, add-ons that connect background logic and "on-site" logic are going to have a lot of issues. Some APIs change from sync to async (which is good anyway). Some others are replaced or removed.
Just put HAProxy in front of your server. You'll want that anyway most likely.
it's not more powerful to use "cp" instead of "copy" or "usr" instead of "user".
In modern bash, this case is already protected with the "noclobber" option (enabled with "set -C" or "set -o noclobber"). It is described in the "REDIRECTION" section of bash(1), subsection "Redirecting Output".

It fails ">" redirections with an error message when it would clobber an existing file (you probably wanted to append to the file wiht ">>"). If you really intended this behavior, the new redirection operator '>|' has the old behavior.

$ set -o noclobber
$ echo foo > bar
$ cat bar
foo
$ cat bar > bar
bash: bar: cannot overwrite existing file
$ echo baz > bar
bash: bar: cannot overwrite existing file
$ echo baz >| bar
$ cat bar
baz

edit: fixed typo
fair point, but still
Hypothetically, 50 processes all running separate unsynchronized wakeup timers and event loops could bring the processor out of sleep 50x more often than a single process.
Ask HN: Connect people who want photos with people who take them
I'm part of a 7-person team at Startup Weekend Maui, an event where we are tasked with starting a business in 54 hours. We really need help with our market research.

http://www.takemyprofie.com/

What do you all think? Any suggestions or advice regarding our landing page and value proposition?
Great writeup, hilarious outcome! Nice work.
I tried to do the same thing in Blender a few months ago. The best I've got was http://i.imgur.com/8QmZOna.png .

Maybe I'm not so good with Blender :)
Can you still do something like this? What would it cost nowadays?
My Bitcoin wallet is released.Your feedback appreciated with my free Bitcoins
I developed a bitcoin wallet and just got Apple approved. It's a decentralized wallet. It's a HD wallet and supports multiSig. The unique feature is that you can choose send/request coins being anonymous or real. Users can send/receive coins through address or email.Please go to apple store and search YardWallet. After installed, post here your registration email, I will send you free bitcoins.
Thanks.

http://www.yardwallet.com/
We already have $10 smartphones here (US) though they have 3.5 inch screens are run 4.0 not 4.4.

You can get higher spec better screen phones for $75 or less if you send in rebates. In the US we have hit smart phones that are affordable to everyone and can do "most stuff" already.
Wow, only 200 MB RAM built in while Android still mostly working.
Type Systems and Much More
The dangers of letting algorithms make decisions in law enforcement
The only real problem with the San Francisco flag is the use of metal-on-metal (argent, a border or, in heraldic terms; 'yellow on white' in normal English), and in fact argent on argent with the motto. The 'San Francisco' label is pretty silly too.

Fix the colours, use a proper heraldic phoenix, remove the name and it could be an incredibly great flag. Heck, or, a phoenix enflamed proper, in base a scroll gules, thereon the motto 'Oro en paz, fierro in guerra' or would look pretty sharp. Could stick with argent instead of or, if one wished to look more like the current flag.
Neat looking code! I've been looking for something like this. Will try it! I find it a lot more readable than the usual "header-libs"
A panel of programming language designers talking about type systems (among other things). Moderated by Erik Meijer.
“Do things that don't scale”

http://paulgraham.com/ds.html
> Well, that's just plain wrong. You're conflating money and wealth. They're different things. Money is just created to reflect wealth: it's literally just invented by your government (or, in the case of Bitcoin, just by proven work). And wealth doesn't have to be earned; it just has to be created.

My point was that people have to do something to acquire the money they have, and no one is going to give it to them "for free". All the money people have represents some sort of valuable activity, time used and effort spent.

So basically, money isn't free. It costs time and effort, and that's a central reason for why there's a limit to how much of it you can take from people.

(Let's not bicker about the financial industry at this point though - they're not actually providing value anyway)

But it makes no sense to say that "money is just created to reflect wealth". I get that wealth is all of the stuff we have available to us, in whatever pursuits it may be useful, and so on. But money is just a means of exchange. It's fundamentally a commodity that has become widely accepted in exchange for goods and services.

Now that's not how our fiat currencies work in today's world, but that's just because governments have abandoned sound money altogether. What I'm talking about - and what you should be too - is sound money. Something that just emerged as money through people engaging in voluntary trades.

Anyway, you're not in a position to complain about my understanding about economics (or taxes or whatever).

> Sure, I'm going to stop contracting at $3000 a week because, hey!, I could just live on $30 a week instead.

Is that supposed to be an argument against something I said? You'll have to explain how.
I'm a little disappointed by the downvotes, and the lack of response; I'm guessing the parent poster has zero experience actually engaging politically, and that's why they said the stuff they did about not having rational discussions with politicians. That stuff just sounds like shallow stereotyping, it doesn't sound like it reflects reality at all.
The phone from the article fakes 4.4, it's actually 4.0.
Ah, so there is a 1s cold start. I couldn't understand how they managed to get a container (which I imagine they are using?) running "within milliseconds". I guess the millisecond claim only holds for concurrent requests then?
What sort of wood was it made out of that those random shattered planks were heavy enough to sink?

Also, I'm curious how they got such a bright, colorful wide-angle photo under 250 feet of water. Special camera? Ginormous lights? I think there's places where the water is really just that clear, but if this was one of those, surely it wouldn't have taken so long to find...
Airliners are not a Heroku dyno that you can "push code" into. There aren't APIs you can call, pull requests or Docker containers. We're not talking about a webserver or a couple of rails apps. We're talking about stuff being physically separated, non TCP, non IP, non Ethernet, uni-directional connectivity. Your OSI model doesn't apply here. Your API command list doesn't apply here. Your very notion of networking doesn't apply here. This is not about releasing early and iterating. We're talking about systems with a lot of redundancy and actual physical backups where efficiency is not an issue. The devops mentality does not work in this case.
While you are correct in that picking a higher level language doesn't shield you from writing insecure code, insecure C/C++ failure modes are usually quite a bit worse than other languages used for that purpose. I don't trust myself to write code that handles memory 100% correctly and is also network-facing. If much better developers than I manage to screw that up, what chance do I have?
> If it requires to check a documentation then it's probably badly designed in the first place.

This notion is perhaps what is wrong with computing today.

If you come at any interface "tabula rasa" the only way to figure it out short of documentation/instruction is trial and error. "Discoverability" is so a distraction at best, and even then heavily dependent on prior (cultural) experience.
There is a great book on drawing http://www.drawright.com/
Also odd that, if you read until the end, the author professes to have not actually tried using ECS yet.

It's a good collection of the author's impressions of what ECS looks to be from the documentation, but it's a little out of date.
An official example repo (or, less ideally, a tutorial) of how to automate the cost-control would probably go a long way.
I meant that 4.4 is latest version that most higher end phones use (most people have not upgraded to 5.0)

I did read the article and saw the phone in question fakes most of the specs.
> This Huami H3 smartphone cost me $34US (210RMB) in January. It’s sold with a 5 inch screen, Bluetooth, WiFi, 4G cell connectivity, Android 4.4 and an 8 core processor.
It's very cheap but good. And actually the processor has 2 cores.
Actually, no program would run without IO. The semantics are that ONLY what's in the IO monad gets evaluated in the first place.
Given that "natural language" is a minefield of context sensitivity and overloaded meanings, i don't see it being any better.
You don't need to use an add-on (anymore?) for keeping them unloaded, although you do need one to get a more manageable user interface. When you have more than about 1000 tabs, startup end closedown get rather slow though.
Chinese hackers hit Penn State University, 18K people impacted