skysight-inc/HackerNews huggingface dataset:
Very well written C code, a joy to read it (ok, for as much C can be a joy to read).

Thanks for sharing.
Google Has A New ‘Guide To Keywords’
I think Docker was originally designed for PaaS "app container" usage where containers are too cheap to waste an IP address on, hence the NATing and port forwarding. For VMs or "system containers" it makes sense to give each one its own MAC and IP address.
> Console stack traces

> console.error, console.exception, and console.assert logs in the console now include the full stack from where the call was made

But what about if I use `new Error("something");` ? That's how I let errors bubble up in my app. Am I doing it wrong? According to this, that won't show a stack trace.
I fail to see a reason why this article is on the front page. Tesla Q1 report does not disclose any new information that we didn't already know: Planning of a Gigafactory, battery supply constraints, rapid movement into China, etc.
All those lovely harmonics ... now dreaming of filter envelopes.
By that logic we cant generalize about anything because there is some hippie out there arguing against it.
What type of advice? User submitted content and advice (http://www.reddit.com/r/relationships), or a site where you write articles about 'the top 10 secrets to dating every guy should know'?

It is a big niche, but it's also highly competitive, and you would be competing against people that are already well connected and established in the industry. I would say the chances of success are extremely slim.
I'm happy too that they have atleast started addressing this. But atleast no immediate benefit for someone who are just into their H1.
I don't use Facebook (for reasons much more mundane than any other hyperbolic "evil" privacy stuff), and events are probably the single biggest thing I tend to miss out on (or find out about at the last minute) because of that.

So I am definitely looking forward to Upcoming's return.
Something that keeps bringing me back to HN specifically (over the likes of Reddit, Twitter, etc.) is the sheer intelligence of conversations.

More often than not I'll find myself skimming through the discussion here before exploring the linked material. The reasoning behind why people feel something deserves to be "front paged" and the insights that domain experts offer in the discussion is what (I feel) makes HN valuable. Taking away the brainy aspect behind how the community works would be an interesting experiment, alas one I wouldn't want to see _replace_ what we have today.

"Things smart people think are cool" is nearly an understatement.
Reddit and StackOverflow exist.

What would you do differently?
Just my 2c; I can often get data faster by reading than waiting for someone to explain it verbally, so I usually prefer not to watch videos.

If someone could automatically transcribe videos with key panes from the video... (google??) ... then that would be cool.
I'm currently reading "The Emperor of All Maladies: A Biography of Cancer" by Siddhartha Mukherjee. It's an amazing book, and I'm learning a lot. I think you would, too.

He talks at length on the societal efforts to "cure cancer", and how those came about. I think you're under the impression that we don't spend much money or effort on cancer research, but we do. We spend a lot of both. I suppose we can debate if it's "enough." It is, however, a ridiculously hard problem. There needed to be, and still need to be, fundamental scientific breakthroughs in order for treatments to progress.

Anyway, I'm not so much trying to counter what you've said. Rather, I want to point you to a book that I think covers topics that you are clearly interested in.
Postgres is a great database, I'm particularly in love with hstore for the data that it makes sense for.
Video on phonograph records: Capacitance Electronic Disc
Average data from 100 random high ranking blog posts
Tesla is just like any other startup, the fact they made a loss is irrelevant because the overall vision is much bigger and eventually Tesla will be at the forefront of electric vehicles, a household name like Ford or General Motors. The fact they've made leaps and bounds in battery tech and the drivetrain component puts Tesla at the forefront (not to mention shaking up how cars are sold), the losses can be written off as collateral damage. You have to spend money to make money and Tesla are arguably competing in an industry that even almost killed the players that were there from the beginning.

Starting out in any kind of industry that relies on manufacturing and continual research is going to very expensive, but the good thing is your costs are destined to continually come down. Until they can drive down their production costs and adoption increases, I have a feeling we'll see many more quarterly losses before they start to become profitable.

I think the future of Tesla's revenue model will be split 50/50 between sales and licensing. The deal Tesla signed with Toyota in 2010 to develop an electric Rav4 was just the beginning. The technology and advancements Tesla have made put them in a fantastic position to licence it out to other car companies as more and more of them move into the electric car market, they'll most likely come crawling to Tesla.

I'm excited to hopefully own a Tesla vehicle one day, in Australia it's not really a viable option to own one just yet (that I am aware of anyway), but I know that will change soon enough. Don't be concerned with the loss, there are lot of companies out there not turning a profit just like Tesla.
Shared Rendering with Rendr
They say they support C# with Xamarin.iOS, so no Android support through that.
hmm this means we need a measure of intended quality. Perhaps budget would be a good place to start? More invested = higher expectations. of course this might be thrown off by high-minded indie flicks and hugely expensive summer sequels, so perhaps include a polynomial term to capture the outliers.

really, profitability is the best "general goodness" measure ever created.
> Latency is the issue in routers when they categorize traffic, that was the idea.

That's what I'm contesting.

Suppose you have a router which is receiving data to be sent over a 1Gbps link. Over a one hour period there is an average of 600Mbps of streaming video, 400Mbps HTTP traffic and 300Mbps of FTP/BitTorrent/etc. traffic. There is more data than there is link to put it in; you are screwed. The streaming video is going to stutter or degrade to lower quality, web pages will be slow to load, people waiting for downloads to finish will have to wait longer, because there is not enough bandwidth. The latency will also be poor, if router buffers are set too large and create a large queue in front of new packets (bufferbloat), but that's the least of your worries in that situation. Fixing the latency wouldn't clear things up because you still have users trying to play video with a bitrate of 6Mbps through a connection with a 4Mbps throughput. And categorizing the traffic only changes who gets screwed -- if you put downloads at the bottom of the heap then you might make the streaming video and HTTP customers happier but the customer who paid for a 6Mbps connection and would have at least been downloading at 4Mbps is now waiting for a download which getting only 0.2Mbps. That's not a solution, it's triage.

Now suppose you have the same amount of traffic on average but the link is upgraded to 2Gbps. Now there is no packet loss. You might have short bursts where the traffic level exceeds the capacity of the link, but they get smoothed out by the router's buffers, which never get full so the queue length is never more than a few milliseconds. Solving the bandwidth problem solves the latency problem.

The point is, if you're trying to fix the latency that occurs as a result of router buffers getting full or dropping packets in the core of the internet, you're rearranging the deck chairs on the Titanic. The underlying problem is that router buffers are getting full or dropping packets in the core of the internet.
I'm not sure that I'd call something with an infinite number of non-zero Fourier coefficients an "everyday" Fourier series. :)
Wait till you see Singapore's COE prices... To get a car there, you first pay 50-60K USD for a certificate, then you can go to the dealership and buy your car.
So, your pointers will not be able to address bytes individually? No char pointers, or is it 8 byte chars? Or is this a completely different language without raw pointers?
Quick and dirty landscape/horizon generator for games?
> And that about sums it up. For a while I didn't even create an account because I didn't think I could add anything without sounding stupid compared to everyone else. Now I try to refrain from commenting for...different reasons.

Same here. Though I refrain less.

At some point, I'd like to go and find my first comment on here just to see what got me to make an account.
There is probably a large group that lacks advanced linear algebra and statistics for learning the theory but would still be able to build useful applications using a ML library. I think the video is mainly directed at that group.
You didn't miss it - it doesn't say that anywhere in one sentence on the linked page.
Thanks to everyone who contributes to Docker for all your hard work that we benefit from. You guys really are pushing Linux forward more than almost any project.

My biggest outstanding issue with Docker (Linux really) is the storage system. None of the three options make me feel like I'll be able to sleep at night. Aufs seems broken[1] and will never make it into the kernel. DeviceMapper seems okay, but I'm not sure how well tested the Docker usage is or how it performs. Btrfs seems ideal, but again, that's still an "experimental" file system.

I was even toying with the idea of implementing a Docker storage driver using rsync (rsnapshot?), for simplicity/stability, but not sure if that would even be possible.

Obviously something that will inevitably get resolved, but my biggest stumbling block so far.

1. https://github.com/dotcloud/docker/issues/783
Do people who get bored easily have an advantage?
How will you deal with users who spoil shows on purpose? Could I watch the first episode of Game of Thrones, sync with the app and post "OMG ----- dies!" right at the start?

I assume if you can watch time shifted comments they're moderated in some way (or perhaps flagged by the community)?
Kpatch: dynamic kernel patching
On x86-64 linux you can `mmap` with the `MAP_32BIT` flag which gives you memory in the 32 bit address space.
As 32-bit writes to registers get implicitly zero-extended you can store and load those pointers in 32 bit without any performance drawbacks.

This all is a bit hackish. With the x32 abi you can simply have 32 bit pointers everywhere.
I understand the difference, my point was simply acknowledging that not all traffic is equal, so I have no problem to pay extra to ensure that the traffic that is important to me is given a priority. I do that today by paying for more bandwidth than I need. Alternatively, if bandwidth were a limited resource, then I'd consider paying to shape my traffic (either by paying for a better router to apply QoS rules in my own network or pay my ISP to take care of that on my behalf).

Comcast, however, wants to flip this around, so that even if I have bandwidth to spare they seem to be purposefully slowing down traffic (or under provisioning their own bandwidth) to force the Youtube's, Netflix's of the world to pay more.

TL;DR: all data is not equal; traffic shaping is 'ok' in theory; Comcast is evil, so please god don't let them artificially create slow lanes to force those willing to pay into the fast lanes.
Tesla is taking a beating in after hours trading despite beating projections. What's the reason?
Keep in mind though, the ISPs got those monopolies from the governments in those areas. Not exactly free-market.

I don't have a problem with regulating them though - As far as I'm concerned, if you've been exploiting a state-granted monopoly for the last 40 years you don't get to demand a free market when someone might pass regulations less favorable to you.

However, the real fix here is going to be removing the monopolies and getting a competitive marketplace for bandwidth.
This image doesn't need to be photoshopped to be fake. It would take someone familiar with modifying DOM about 30 seconds to do. http://i.imgur.com/I8oBMdN.png
Domain speculators do "provide value" to ICANN in the form of annual registration fees, which they pay ICANN irrespective of whether any end user wants that domain [in that year]. They "provide value" to buyers in relinquishing ownership of a good they wanted more last time it went on sale; same as any other secondary market transaction. Sure, ICANN could be "more efficient" and charge premium prices on some domains, but the only thing worse than being gouged by speculators is being gouged by a monopolist.

I can't see why the existence of domain speculators prevents people from profiting from "helping purchasers find" names, if there's really a substantial value add in having imagination and the ability to use a WHOIS search.
Think a low fat diet is the key to health? Think again.
I'm the founder, so I'm biased, but I use Fetchnotes for storing most things like this: links, things to check out (books, music, movies, apps, restaurants, places etc), ideas, resources, random thoughts, knowledge/trivia I come across, reminders/tasks and a ton more.

We built it to be simple, lightweight and flexible. Just add a hashtag to a word in a note, and it groups that thought with anything else with that hashtag. Involve another person? I just @-mention their username, email or phone number, or I can send them a link to the note. There's no system to learn — when you want to find something, just click on the tag you used.

Specifically for things I learn, I have a #randomfacts tag that I add things to when I come across an interesting piece of trivia (mostly from articles or audiobooks), and a #thoughts tag for things I think of on my own.

Check it out at www.fetchnotes.com and let me know what you think! I'm at alex@fetchnotes.com
He said BPG.
Cool idea. But I personally hate this. I need time to formulate my thoughts and the idea of typing while someone else is watching me is a major turn-off for me.
Duct Tape and WD40
How do normal people look for legal information
Tesla <3
The store layout isn't created by accident, IKEA wants you to see as many products as possible so they can capture those impulse purchases.
The problem with this solution is that many people listing domains on sites like Sedo will want to continue to run a website (or a "parked" landing page with spammy ads) until the site has sold. I guess ownership could be transferred with the understanding that the broker will keep the name servers intact until a sale, but this sounds kind of messy and difficult to manage.
If net profit is more important than gross revenue, why are companies valued at multiple of revenue instead of their profit?
Thanks for the feedback! I will not comment on the patenting process, suffice it to say I understand your point. I am working on the marketing angle as well, and will definitely pursue keying on the immediate response.
I usually find the HackerNews police too strict, and I really like the New Yorker, but I can't think of what relevance this specific article has to the HackerNews community...
Where the rule says "Don't say things you wouldn't say in a face to face conversation," you imagine I would not use profanity in a face-to-face conversation.

I will gleefully reiterate everything I've said here in a face-to-face conversation.

I note that you have changed your tune toward the author ("I probably should have started out my initial comment by saying thanks") suggesting you're learning submitters' feelings outrank commenters'. There is hope for you yet.
We have it in the sidebar but not the tree. Its coming though: https://bugzilla.mozilla.org/show_bug.cgi?id=920141
My friends are enjoying my ios game.  Hopefully you guys will too:  RollE PollE
I haven't really dug into it (though what I have seen looks pretty nice), but when I think "light-weight event-driven framework" I don't think "includes a fixed point math library".

At first glance it seems like there may be some semi-tangential stuff included here that might do best factored out into a separate project.
> A tale as old as time. Or as old as generational gaps.

Are you claiming that moral standards of the "younger generation" in this gap haven't really declined as people in the "older generation" thought they would?

Or are you saying that the moral standards have declined, but it's no big deal, just the changing of the times?
Down 6% Its a buying opportunity.
The fact that they had a net loss of $50m is pretty remarkable, given their steep, uphill battle against the deeply entrenched auto industry [1], the costs of scaling up production [2], and the large expenses of building a suitable infrastructure in multiple massive markets for vehicle charging [3]. I would've expected a much higher loss as they continue to plow money in development.

It seems like people often tend to ignore the fact that Tesla makes really solid cars [4].

Is the stock market overreacting? Good time to buy?

[1] http://www.businessinsider.com/how-tesla-got-outspent-and-ou...
[2] http://articles.latimes.com/2014/feb/26/business/la-fi-tesla...
[3] http://www.reuters.com/article/2014/04/22/us-autoshow-china-...
[4] http://www.teslamotors.com/about/press/releases/tesla-model-...
This post misses one of the most fundamental and important optimisations for 'digits10' that his compiler is likely doing for him: turning the divide by 10 in to a multiply by using a multiplicative inverse mod 2^64

$ cat div10.cpp
#include <cstdint>

uint64_t div10(uint64_t y) {
return y / 10;
}

$ g++ -std=c++11 -march=native -Ofast -c div10.cpp
$ objdump -C -d --no-show-raw-insn div10.o

0000000000000000 <div10 (unsigned long)>:
0: movabs $0xcccccccccccccccd,%rdx
a: mov %rdi,%rax
d: mul %rdx
10: mov %rdx,%rax
13: shr $0x3,%rax
17: retq

His basic implementation likely isn't using division at all.
Yes, there's upvoting and downvoting implemented in the beta, already and that will filter out spoilers pretty quickly. If we see anybody doing it on purpose, we'd block and eventually ban the user.
Startup Tips for Forecasting Revenues and Growth
I love everything about this!

Looking forward to having conversations with my family and friends spread around the US.
One of the coolest things about Postgres is how easy it is to make your own datatypes[1]. At previous jobs we've had custom types and aggregates that allowed super fact set operations with comparatively small data storage requirements.

[1]: http://www.postgresql.org/docs/9.3/static/sql-createtype.htm...
Ah I see where you were coming from, so you're saying that it's ridiculous since most spouses probably gave up/found something else to do, and those who would really benefit from a relaxed rule are those who just got their H1.

The way I see it, in the best case scenario a spouse can now get an EAD in 2 years (1 year before starting the GC process, 1 year to get the PERM and the I-140). Still far from being able to work right away, but progress nevertheless.
I have a huge smile on my face :)

See also the Get Involved page for devtools: https://wiki.mozilla.org/DevTools/GetInvolved
I'd be interested in seeing how much of this advice applies to architectures other than x86.

As a side note, definitely don't follow the advice about using position-dependent code unless you are working in a very performance-intensive and isolated environment. Just a single non-relocatable module/dll completely undermines the benefits of ASLR, so an attacker with a copy of your program will have a much easier time crafting an attack against it.
We love you, too. Thank you.
Great point! Maybe you'd like the option? I do like the idea of giving users the option (maybe in _some_ cases it makes sense for you) but I didn't want to debut this app with a "turn our main feature off" option.
Heh. I hear you. But but on the other hand, a sawtooth is perfectly everyday with an infinite series of coeffs: http://en.wikipedia.org/wiki/Triangle_wave .
Proving your hand won't go through a wall is a difficult problem in quantum physics, for most people they just push against the wall. I don't care whether the code is provably correct, I care that it does what the user expects.

Actually 'change requests' are even easier when the requirements change frequently, just provide an estimate in excess of when you think the next change will be, then put your feet up and wait for the requirements to change again.

PS. Changing requirements isn't 'maintenance', it's a change request.

PPS. Having to add code to add fields to a form means you spec'd your solution around your forms instead of specing your solution around solving the problem of changing forms. (aka. you baked your problem domain into your code and now you're fucked) (eg. you mistook your codebase for your database)
or $(which rack)
They beat low-balled estimates but not the "whisper" numbers, increasing costs, cash-flow negative for 2014, ongoing share dilution, etc.

The stock was priced for perfection, so it will feel downward pressure on every bump in the road.
Where To Trade Your Electronics For Cash
Be careful, the whole market is getting wrecked.
I think an even larger part of the populous has no idea what net neutrality is.
BPG is the dyslexic's BGP.
Buy $TSLA for earnings in 2020, not Q1 2014.
Sol Golomb’s Rectangle Puzzle (by Peter Norvig)
LinkedIn to shutdown Cardmunch
Doesn't this quote from the article address that? Or was it a late add?

"Truth be told, it's a multiplication because many compilers transform all divisions by a constant into multiplications; see e.g. http://goo.gl/LhPeH "
How to create good outcomes when negotiating
100 blog posts is not even a remotely sufficiently large sample size for such an analysis, especially since metrics on from different types of blog posts can cause things to be skewed heavily. You'd need 1,000 minimum from the same type of blog post to reduce the bias.

Even worse, the article asserts that the correlation between # of text/images in an article is the cause of an article's success, which isn't statistically proven from the post.
I personally hate that, if only because I want my email to be received as soon as possible, which does not happen that way.

Coworker beside me: "I just sent you that thing."

Me: "Great, let me just go to settings, accounts, scroll to my work account, and click 'check now' so I don't have to wait half an hour"
Another presentation by Andrei on similar matters from GoingNative 2013: Writing Quick Code in C++, Quickly [0]. From memory, it has (at least) these three majors points

* Measure, then optimize

* Pay attention to data layout to keep the cache hot

* Techniques for devirtualization

[0] http://channel9.msdn.com/Events/GoingNative/2013/Writing-Qui...
OAuth 2.0 / OpenID vulnerability affects Facebook, Google, Yahoo, LinkedIn, ...
Ah yes, we hit the front page of HN and signups slowed a bit. Do you have any suggestions on where to cut back on signup time? I agree on oAUTH and the like, and plan to integrate it soon.
Nice work,how do you plan to monetize? Affiliate links to online travel agencies?
An open source Boundary?
It's actually irrelevant who uses the interface - the end user or ISP employee acting on users demand. Such change of the party in charge neither adds any usability to user interface (just the side who has to struggles with it), nor it increases security and reliability.
I like everything about Tesla.

Except they don't make an auto that is affordable for most people. Hopefully their battles eventually produce this, whether it is them that brings it to market or someone else.
EA Origin on the International Day Against DRM