skysight-inc/HackerNews huggingface dataset:
Cooperative vs. Preemptive multitasking is not the same as Light threads vs. OS threads/processes. Erlang (and also Haskell for example) does preemptive multitasking with light threads. And that's what I'm talking about.

Yeah, preemptive multitasking may be costly. But as you say, when you have lots of users, most of their tasks are sleeping or waiting for timers. That's where preemptive multitasking excels. You can have millions of sleeping tasks and several (at times) doing real work. That's why Erlang is "scalable" and node.js is not. Especially if you need to have state in your workers and if you need them to live longer.

Saying that node's cooperative multitasking excels in IO-bound computation is a clear sign that you haven't tried Erlang.
Many sites don't really require all that for them to run,
and it's crazy to me that something as read heavy as a
blog often can't perform well under load given that it's
just serving up the same old stuff over and over again.
You want to have some tooling to make it easier, but it
doesn't need to be run time tooling.

Woah, that makes a tremendous amount of sense, I'm really surprised this kind of thing wasn't developed and caught on big earlier. No more worrying about security upgrades, no more worrying about overusing limited computing resources, no more worrying about giving things like Wordpress to people who don't understand the vast security implications, etc. etc.
Venture Money Pours into Robotics Startups
I'd like an automatic one, with an inertial sensor. If I brake, the brake light goes on. If I turn, the correct directional indicator flashes.
Kind of ironic that the iPhone in the background header has Google+ visibly installed, but it doesn't show a Facebook icon
Ask HN: How does an investigative researcher get involved in the tech industry?
Hi all,

I am a US citizen working abroad, but looking to return to the US and work at a startup. I've redacted my name, because I work in investigative services and using my other HN account isn't relevant to this discussion.

I am looking to change my career path and work for a tech company that needs a skilled researcher/investigator. Currently, I work on a consultancy basis, conducting due diligence in a part of the world where such business intelligence investigations are not entirely legal, and transparency is a bit... farcical. My clients are investigative services firms that lack a presence in this country. Most of their clients are financial services firms or investors.

I'm a discreet investigator and my cases have revealed share manipulation on local capital markets, as well as dishonest business practices, though the standard services I perform involve reputational due diligence and market research. My job exists because I enable international companies and investors to improve their M&A and partnership processes, unearthing information that is often in the public record, but difficult to access, or verifying facts that can only be confirmed in person. I do this in the local language and sometimes manage a team to bolster my results. I'm good at digging up documentation and comfortable conducting in-person or phone interviews.

I wish to return to the US and work in the tech sector, which is both a personal and professional interest, and I believe my skill set can be strongly applied in business intelligence research, or supporting marketing/sales teams.

There are lots of jobs like this available at corporate consultancy firms, but I am interested in learning if someone with my skill set can work in the tech/startup world. HN is a great community that has led me to cultivate minimal skills in coding, and widened my perspective on business and startups, so I appreciate any advice/leads that can be shared. Thanks for your comments.
NTSB Decision Defining “Aircraft” as Anything That Flies Lacks Common Sense
Can you provide more information? What app is giving you a discrepancy?
I don't see what's so hard about that one, it's a simple infinite sum.
I was addressing the question regarding the compulsion to rebrand

> The need to create some sort of alternative label confuses me

Also, I work in a hostel and these past weeks I have seen innumerable 20+ year staff members tell the classic pilgrim and indian story to many foreigners questions of 'what is thanksgiving'

So perhaps my personal experience struck me sensitive this morning, but I also feel the standard menu, which seriously requires a revisit, also continues to tell this story on many tables every thanksgiving across the states

How many of us have heard heckled from the pews this year, or thought themselves, when a suggestion to change a traditional staple: 'how can you call it thanksgiving without turkey'potatoes'pumpkin pie'whatever'; which is a direct effect of the history and personal traditions of the holiday
Curious thing the site lacks of og meta tags
Woops, typo yeah it is 500 miles. The relative speed of one to the other is 30,000mph so it's 500 miles. For 4 I gave a cop-out answer since I didn't think of one within the time I gave myself
Ask HN: Photo web gallery hidden costs
Hi,

I have a photographer friend and he recently asked me if I can implement a simple web photo gallery for him. Basically he wants to be able to upload his own photos under some permissive license and let other people use them for free.

The web dev part is not a problem. What concerns me are the hidden prices in this kind of application, like bandwidth cost etc ... He plans to start with 5000 high quality images and upload regularly other images.

Can someone give me some insights in what he can expect as bandwidth cost ? (I've advised him to buy a cheap $5 VPS from Digital Ocean).

Thanks
Since everyone is sharing their terminal emulator, I decided to hijack your comment and post mine :) .

I use Sakura. https://launchpad.net/sakura
That their wealth and power doesn't place them above the law.

Except it always has and I don't see why that would change as long as there is scarcity in some form.

What it comes down to is cost/benefit of enforcing "fairness" or "equity." If someone has a lot of resources and they are using them to employ people or otherwise keep institutions that people rely on running - even if they are in the long term toxic institutions - there is momentum to not disturb that system in order to shield the people downstream from layoffs and disorder etc...

This is actually our democratic system in action, where the lawmakers and enforcers are put in place by voters, who respond to jobs, social investment and stability in their regions. Even if the people who are the mechanisms for those benefits are assholes and crooks, on par as long as there is relative stability and growth it is better to keep their actions from disrupting the ecosystem.

Arguably it will eventually be too corrupt to stand and crumble, but if the way that capital and goods are allocated is through a private consumer-producer mechanism with state power applied to maintain or promote this system, this is the inevitable result.

In the end, the majority of people aren't so dedicated to the value of fairness/equality that they are willing to risk their livelihoods on it.
very Alvin Toffler Future shock like. At least from what I recall. Not really "utter nonsense" but I think, raw ideas that need to be fleshed out into a meatier narrative/argument.
Thanks for your suggestion, I will definitely look into erlang. I have tried to look into it but I have found it quite unapproachable. You have to be really motivated on your own to learn it.

Everytime someone points a erlang, they bring up whatsapp. And everytime they do that, I tell them facebook the company that owns it is a php shop (Atleast, that was the core driver. Things might be different today with hiphop).
Can anyone confirm that Github still operates this way?
> we should experiment with newer forms of government...

This is so very true but almost certainly undoable without a some form of help from the rich and powerful.

For example, one positive (or negative depending on which side you're on) thing about depleting oil resources is that much of the Government financing relies on tax dollars collected from hydrocarbons. And thus little oil would effectively mean lower available budgets, lesser means/control etc. Especially for totalitarian Governments that are considerable more expensive to operate.

Unless of course entrepreneurs like Elon Musk solve the energy problem for them. :)
It has been 30 minutes or so, and I haven't received any confirmation email?
You'd also monitor their netflix history [...] guess the intent [...] have a general psychological profile [...] have purchase records

DHS has actual professionals working on this

And what could possibly go wrong with that kind of power in the hands of "DHS professionals"...

Is that the world you want to live in?
I'm no zealot, and don't think these are absolute truths by any means but I've worked extensively on enterprise solutions in both C#/.Net and Node.js and can respond to your points below.

1. It turns out the reactor pattern is a good way to build network servers that scale reasonably well with minimal developer effort. In my experience developers tend to avoid writing threaded code in synchronous languages, and threads don't show up very often in run-of-the-mill solutions. To be sure, JavaScript's lack of threads is a blemish, but oddly it forced the community to focus heavily on distributed architectures, and as a result most of the tooling encourages distributed systems, which is a win for some common use cases.

2. Type safety is a hotly debated topic and I don't think you can find resolution on this one. For some people, "weakest of weak typing" is a benefit.

3. Static vs. dynamic, see #2.

4. Do you mean that everything must be enforced by convention instead of static code analysis, compile-time checks and type safety? If so, I think you're making the same point three times.

Erlang is a beautiful language and may be the most correct in some sense, but doesn't look nearly as attractive to the kinds of teams I work on when you start to consider developer availability, library ecosystem, tooling, ISP support, documentation and community.
Row Hammer Ram Corruption Attack
One of the reasons this took a long time to figure out is that it was a failure amplifier, so there was always a more typical network problem preceding it. Network failures in a data center cause lots of changes to the packets, because of retries, failover, and automatic load balancing, so there were a lot of trees to look at.
Anyone have any idea what their pricing will look like?
Make Healthcare Costs Transparent
Not sure if it's in the same bucket as Valve or GitHub: at Mobile Jazz http://mobilejazz.com we're only 20 people (and that makes things a lot easier), but we've quite a different way of working compared to traditional companies:

* We pay fair salaries. For most people in our team it's way more than what they've earned before.

* We pay everyone the same (base) salary. Regardless of their role or title.

* We pay quarterly bonuses based on pro-activity, responsibility and other performance indicators.

* Everyone can work from wherever they like, still many people choose to work from our main office in Barcelona. (For example I work many weeks out of my camper van with 3G/4G connection from beautiful surf locations)

* In theory, everyone can choose how much or how little they want. Not always possible, but we try to make it possible as much as we can.

* We have managers, but they don't demand things. They are responsible that certain things happen, but decisions are being made collaboratively.

* All managers are either engineers or designers. No bullshit managers.

* We don't have a dedicated sales person. All work we get is from word-of-mouth and the first person a new client speaks to is either an engineer or designer (or both).

* We play Mario Kart / StarCraft after lunch ;-)

* We do a lot of sports activities together

* We have a lot of BBQs on our terrace

* We use some of the profits for fun internal experiments
(small projects without an expected outcome other than having fun & learning). However, some of them are now actually turning into actual products: http://bugfender.com/

* MJ University: we take online classes together as a group

* MJ Talk: weekly presentation about an interesting topic (not necessarily tech related). For example we had talks about personal finance (investing), achieving happiness, etc.

* We encourage pair programming where it makes sense

* MJ Weekend: once or twice every year we fly everyone to Spain, rent a nice villa with pool and have a good time together. Some pics: http://blog.mobilejazz.cat/work-life-balance-at-mobile-jazz/

* MJ Retreats: we're going to remote places and work there together. At the moment six of us are on an island in Thailand. In February we go skiing in Austria.

* We put a lot of effort in hearing everyone's opinion and feedback and try to put it into action

With all that we've managed to attract and retain incredible talent, but most importantly we have a very pleasant time together.

That said, we're a company optimizing on lifestyle and happiness, rather than profit. So this way of running a business is probably not applicable everywhere.

(Edit: formatting, typos and a few additions)
No, I don't think so. Your lawyer can be telling you that the numbers that actually happen are reduced, but in the moment of fear and isolation, it may not truly sink in.
Improving Multipath TCP
it's $60k in benefits, not actual cash. This is a freebies pack for startups not an accelerator or seed funding.
It's not really a policy change though is it? Aren't they enforcing laws that cyclists previously were breaking with impunity? I would like them to show their work too, but I don't really see the policy conspiracy angle to this.
Blu-Ray discs as solar panels
There's an easier way than an infinite sum.
No, my point wasn't strictly about scrolling. My line of reasoning is:

1 tmux is needed to handle multiplexing

2 tmux also handles scrolling

3 if you need tmux for other things already, you don't need scrolling in the terminal emulator

I wouldn't say that, by this reasoning, it is the right place to implement scrolling, just that, since it's a solved problem, re-implementing it would be a useless duplication of effort.

But in this specific case I'd concede that the way tmux scrolls is not at all comparable with how a X terminal emulator would be expected to scroll.
I think it is one-directional. The dye remains fixed until the acid "finds it".
The path is then reconstructed as the dye "backtracks" the ph gradient.
That we do! If you're interested, our founder Ruben more recently also wrote an article about the challenges of adopting holacracy: https://medium.com/@rubzie/8-challenges-to-overcome-when-ado...
Convenience? Price? Lack of competitors (other than Lyft)?
I've responded there, sorry for the noise.
One argument for one language everywhere is the benefits you get from an "isomorphic" app (http://nerds.airbnb.com/isomorphic-javascript-future-web-app...)

Sharing code between client and server lets reduce duplication and use the same templating/rendering on both sides. Fits very well with complex single-page apps.

That said, I'm not sure there are that many apps that really need this vs. the tradeoffs you have to make going all-in on JS and the complexity this can bring.
While these two patterns appear to be quite similar, I wouldn't think there is anything wrong here - from a copyright/IP view. Design seems to be something that is fluid and shouldn't be held to the same standards as a molecular drug patent. As long as the branding isn't infringed, it seems okay. How many login patterns today are almost identical?
Exactly, FBStart is no charity, so why do they do it? You don't even need to integrate your product with FB. I would love to apply but the offer is too good to be true.
Ask HN: Best deal a day eCommerce shop?
I want to make a website like woot.com or shirt.woot.com where I schedule one limited product per day and only sell one product per day. Once the 24 hours ends, the product isn't available to purchase anymore and the product for the next day appears and becomes available for purchase and so on. What is the easiest way to do something like this?

Shopify? Stripe JS Widget? Something else?
Linux's is very long in comparison to the BSD's. It seems to have weird edge-cases and possibly unnecessary explanations.

https://www.kernel.org/doc/Documentation/CodingStyle

Example: Why is the comment style different in net/? It seems to serve no obvious purpose.

Too many cooks :-)
What's in it for Facebook ?
It would be nice to have something like this for Google's GC in Android. Does anyone know how close this is to what Google has implemented--especially in later versions of Android.
I did. I was very much a skeptic of Node.js, but the tools and libraries won me over. So much work is being done to make Javascript a viable platform.
yes, and no. i still think that without exploring you are not going to find things way out of your comfort zone. sometimes its not "weakness" in your tools that should inspire you. you can write perfectly great stuff with imperative languages, but at some point you may want to try a pure functional language to get a perspective shift. its more so to see if there may be a better way, or a different way to do things. i am very glad i took two courses in haskell, despite the fact that i don't ever use it for work, just because it has changed the way i think about certain things and given names to concepts i only had a vague notion of before.
Just computational functionalism disguised under more complex analysis/definition. Information does not have meaning in and of itself; it requires an external, subjective observer to make it meaningful. Without meaning (or intentionality), then something sure as hell can't be conscious. If any of y'all are interested in a fresh take on the mind-body problem and the study of consciousness as a whole, check out Varela, Thompson and Rosch's The Embodied Mind (http://www.amazon.ca/The-Embodied-Mind-Cognitive-Experience/...). It presents an interesting alternative to the computational paradigm that has provided little insight into understanding consciousness, and as many would argue, has been debunked entirely by Searle's Chinese room thought-experiment. it is also a FANTASTIC introduction to the limitations and problems with our current scientific model.
Worth reading the philosophy page: http://strlen.com/files/lang/lobster/philosophy.html

"The most important over-arching reason behind everything in Lobster was to make it a pleasant language to use for one single person: me, the author."

When these sorts of personal side projects come up on HN, it seems inevitable that people question whether anyone should want to use them... You probably don't most of the time. They're cool to look at, but I think the judgment of being cool comes more from a PL designer viewpoint than an end-user viewpoint...
I'm devastated that it doesn't (and apparently, never will) work with Lollipop.
I'm sorry, as a person that lives in Poland i have to disagree with rampant BS about Russian involvement

Ukrainian government was an oligarchy, bought by Russia (The president miraculously changed his mind right before it was time to sign the treaty - having before, repeatedly, said how important to growth and stabilisation of Ukraine affiliating with EU was)

Then, when it all blew up, he run off to his masters in Russia.

Russia is actively fueling the fighting in Ukraine, providing weapons, specialists, training, money etc. A passenger liner was shot out of the sky using modern Russian AA battery that had to be provided by Russian state.
Poor, poor victimised Russia...

About the missile batteries - Russians freaked out when they learned that US shops carry ASAT/Anti ballistic missiles, not because it is a direct threat, but because it stops them from doing something stupid with their nukes.
And how effective have those regulations been?
How do they differentiate themselves from other providers? Feels like the ordinary "it will sell because it says Swiss all over the place".
well FIFO stack still exists as a synonym for queue, but you're right, stack and queue would have qualified my point good enough :)
anyway, looking at newer answers it seems that topic was not of concern for their solution...
An interesting read.
Just a minor correction :)

Guilds - Informal interest groups (Linux, Python, agile development)
I disagree. Every time I try to get into node, I am stonewalled by poor debugging support. I end up wading through obtuse stack traces only to find poor quality libraries are the culprit. Tracing dynamic languages is so hard already. The only thing I can tolerate is Python with Werkzeug.
I thought exactly that and thought it could be really cool. Like the Michael Jackson and Tupac holograms.
Reverse image searching that stock photo reveals the rest of the screen, still no Facebook icon: http://i.imgur.com/fnFGbtX.png

[1] http://measurecp.com/category/mystery-shopping/
So should coffee shops be responsible for monitoring their customer's discussions and reporting suspicious behaviour to the police? Should they be forced to record the name and address and date visited for all their customers to aid any future investigation?
Insider trading is not fraud. If someone is merely trading based on insider knowledge (that is, they aren't also being fraudulent about it), there is no deception. A person ought to be able to dispose of their property when and how they see fit. Moreover, we should actually want insider trading to happen more often, since prices transmit knowledge, and more knowledge earlier is a good thing for markets.

This is why some people, myself included, believe insider trading is a victimless "crime" which should be decriminalized.
Not sure if this fits the bill, but I've always found the openness of Thoughtbot quite impressive. They have an open "playbook" describing how they operate and develop. http://playbook.thoughtbot.com/
Also notable is their run down of a famous memory leak in NodeJS.

http://www.joyent.com/blog/walmart-node-js-memory-leak

Eran's recounting of the issue:
https://www.joyent.com/developers/videos/walmart-node-js-mem...

It's interesting to note despite the memory link, the incredible amount of traffic WalMart was handling with its Mobile apps running on NodeJS. That's what was more impressive to me.
Gitdown – A markdown preprocessor for GitHub
I had to hunt for thirty seconds to figure out WHERE it is. New York City btw.
>How do they differentiate themselves from other providers? Feels like the ordinary "it will sell because it says Swiss all over the place".

Good luck with that. ☺️ Swiss privacy laws aren't any better than, lets say, Germany's, but you pay a lot more for less (hardware, bandwith) due to limited competition.
This fresh scandal isn't even being reported on in most of the MSM. Even if it was, it is hard for people to connect the abstraction of a banking scandal with the economic problems they face.

I don't see a way out of this through any of the legitimate channels.
It would grind the criminal justice system to a complete halt. The impact would fall almost entirely on the accused, who would sit in holding cells for years waiting for trials, which would be even more perfunctory as a result of the immense pressure that would be put on public defender offices as a result of conducting pointless trials for open-and-shut cases.
So sorry, Mandrill limited our account but it's fixed now, Can you try logging in with Google/Github?
I like it that the command line is a bit "realistic" but allowing to get the last command via arrow-up.

Unfortunately, there is no tab autocompletion, which makes it really a hassle to enter "git add [specific file]" and similar commands.

I also like the idea of simulating the timing, such that the commands don't always return immediately.

However, I'm a bit surprised about the exact timing values. For example, "git init" took quite some time while "git status" was really quick. In reality, it is the other way around.