skysight-inc/HackerNews huggingface dataset:
In C and C++ code it's common to use a red-black tree implementation where the node is part of the object. For example, using the standard BSD library

#include <sys/tree.h>
struct foo {
RB_ENTRY(foo) rbe; // tree node
};
RB_HEAD(foo_tree, foo);
RB_GENERATE(foo_tree, foo, rbe, foo_cmp);
...
struct foo_tree rbt = { 0 };
struct foo *foo;
...
RB_INSERT(foo_tree, &rbt, foo); // no memory allocation

In such implementations the RB tree will be faster. The reason to prefer a B-tree is to minimize the number of cache misses incurred when loading objects _through_ separately allocated nodes. But if the node is part of the object, you've already eliminated that cost entirely and so a B-tree is strictly inferior.

<sys/tree.h> is written in the same vein as <sys/queue.h>, a collection of list implementations originally included with BSD and even provided by glibc. The tree and especially list routines are used for most of the data structures in *BSD kernels and utilities, and the Linux kernel and other systems often use very similar libraries.

The downside to using predefined, preallocated nodes is that you can't mix-and-match types in the same collection. And an object can only be inserted into a single collection unless you define multiple nodes.

In practice this isn't a concern. Especially in systems programming it's uncommon to need or even want to stash random objects in a collection, or for objects to exist in many multiple trees or lists simultaneously.

And it's a very useful property to be able to rely on the fact that insertion can _never_ fail (always for lists; qualified never for trees). That dramatically simplifies code dealing with complex data structures and that must remain robust in the face of resource exhaustion. It means that once you've allocated a new object, you can guarantee insertion into any number of collections. That also simplifies backing out of a transaction because you can make guarantees about consistency--i.e. that an object is definitely a member of this list or that tree. This benefit is often overlooked in Rust and elsewhere because idiomatic Rust code is expected to exit on memory exhaustion anyhow.

I can't remember the last time I actually used a hash table in C that wasn't specialized (e.g. perfect hash function). The fact that a dynamic hash table may need to be resized introduces an undesirable failure mode; it may happen only once in a million insertions, but that's significantly more often than never. For general use I default to a red-black tree, which usefully can serve as a sorted container, too (e.g. for priority queues). When performance matters (i.e. a proven bottleneck) I'll invariably use a more specialized data structure and implementation suited to the particular problem, perhaps also refactoring other aspects of the code as appropriate.

IMHO, all this concern about the fastest general purpose algorithm and implementation seems like bike shedding. When performance _truly_, _manifestly_ matters, a general purpose implementation is unlikely to suffice.
You are always partially in someone else's hands unless you happen to own a private, dedicated connection to your client.
Me too. I got one about 9 months ago, after wasting my life with various machines, moka pots, etc. Ditched them all after trying the Aeropress, with the "inverted method". Looks like some kind of cheap plastic sex toy, but goddammit it makes fantastic coffee.
Forgot to mention the mandatory dashcams to fight fraudulent insurance claims.
If the previous "security vulnerability" reported to LastPass was like this one, it's understandable why they didn't really respond to it - the author doesn't really seem to understand the term.

You don't keep mashing the "generate password" button until you get a "strong one", that completely misunderstands the point of the password strength meter. Its only purpose is to give naive users positive feedback for creating stronger passwords; it has nothing to do with randomly generated passwords.
I feel like sometimes I'm the only person who does not care for ritual or bluebottle. I usually just keep my mouth shut in fear of people freaking out. Wayyyy too acidic.
What do you mean by "auto steering and braking"? Does this simply turn on settings that already exist in the car or does this actually control the car through fly by wire commands? If it is the latter, is this something that car manufacturers actively support third parties doing? To the layman like me, that seems like a huge potential liability.
Welcome to 1984.
Probably a co-incidence. It's plausible that an entrepreneurial-ly bent individual pays for WSJ, Barrons, NYTimes etc. Just like teens use snapchat more than others, certain pay-walled content is more popular with the HN audience.
For this NTP check to happen, you must be using a computer with Intel MEBX and an Intel AMT-enabled network adapter, and the network adapter must be configured with network information to use. You have to do this manually initially, although of course later you can configure AMT using AMT.

This isn't something your consumer computer is doing automatically, in fact, your computer is almost certainly not capable because it lacks an AMT-capable NIC. I suspect the software capability is baked into ME itself rather than the AMT component so it's probably present in your ME, but it's not doing anything without an AMT NIC to communicate with.

This is the kind of feature that you pay an extra $1k for when you configure your $20k server.
> The $999 price point is designed to be affordable, and is possible because of the components Comma uses in its product, which tend to be inexpensive off-the-shelf electronics.

"Inexpensive off-the-shelf electronics" aren't rated for automotive environmental conditions, nor do they have the immunity to interference (e.g., single event upsets) required for safety-critical systems.
Perhaps you could post a link to some place that expresses a view similar to yours.
So, I'm going to get down voted for this, but as a US citizen, I don't want there to be more H1B status workers granted. They are my direct competition as a new graduate. Bringing them in here drives down the cost of labor for software engineering because most of the timer those status workers don't have leverage and will accept a below market salary or wages. Yes, I know it's been stated at huge companies like Facebook that the H1B holders get paid the same, that can't possibly be true for all the companies that hire software engineers.
GitLab has made a lot of great inroads and will continue to do so. It's all about momentum. Of course people are going the tools that are familar to themselves. However as more and more start to adopt GitLab (probably as a github replacement or small personal projects), they are going to ask for that more in the corporate world.

It's also a matter of developing the maturity of the integrated tools. CI for a example. Does jenkins have a shit load more features? Yes. Does Jenkins do scheduled tasks? Yes. But jenkins is also a massive ugly, unwieldy behemoth. Some issues like the Cronjob portion can be worked around in GitLab (webcron to build trigger APIs) but it's not as nice... yet. The CI feature is barely an infant compared to the age of Jenkins. However for 90% of what I need? Works great. Well worth it to me.

Every month they've been releasing improvements on numerous fronts and it's been amazing to see. The product has gone from "eh" to "wow" in about a year. I look forward to seeing if they can sustain this product growth (I'm guessing the 20mil will help).
Concur feels like an odd company to acquire them, but maybe it's to streamline business travel?

Also -- I recently used Hipmunk (been using it for a few years now), but found that it didn't find deals that Chase's rewards portal found, which I thought was terribly odd (why would a rewards portal find better deals?).
The deployment part of OpenStack is why some companies have ceased having multiple solution offerings for their customers. Instead they now offer a single uniform OpenStack distribution that they know can be supported more so than 2+ other distribution and deployment variants of it.

There are a lot of on-premise workloads which cannot be moved to someone else's remote cloud (for varying reasons). This is where OpenStack fills in the gap and provides something better than an ad-hoc brew-it-yourself cloud platform. That being said it still requires a good understanding of the requirements as well as a well chosen distribution to match the foreseen use-cases.
I appreciate reading thoughtful, constructive criticisms like this. But ultimately, I didn't find any of his points paricularly compelling. Maybe the author can point to a language that really gets this right?

I haven't written much rust, though.
> And mostly probably, it is acquired when one is a child.

Most likely acquired when one is a suckling. Milk is kinda sweet and the first thing a mammalian baby tastes. All further taste preferences are then largely acculturation.
11 Tools You Can Use to Learn More About What Your Users Are Thinking
Here's why you can't see all twelve black dots in this optical illusion
Their business class search has been broken for months, and they didn't care. Feels like they were on the way out.
For a student, they can either spend money on educational debt service or they can buy other things. "Buy other things" presumably increases monetary velocity.
It is described as an American Experience film, with the Corporation for Public Broadcasting listed as an underwriter. Surely we'll see this on a PBS TV broadcast soon.
Concur also acquired TripIt not so long ago
Are you implying $60k a year is poor?
This whole thread is about the leak of that exact data
Something interesting that doesn't happen in the USA when updated currency is introduced:

In May 2017 paper £5 notes will cease to be legal tender and will no longer be accepted by shops.
The class that lends is also the class whose marginal increases in wealth do not produce goods demand or consumption, it just goes back into lending and / or investment / and or bonds.

The best way to grow an economy is to give a dollar to its poorest participant, not its richest, because the poor class will immediately spend it on goods, creating demand, where the richer you are the less of your income goes to consumables that drive production.
Interesting post, but I did want to chime in quickly and say that it's pretty absurd to only have 1GB for a web application in 2016, even for a small one. This is why I've been dismissive of using Heroku for my projects, even though I run a lean stack. They have higher RAM options, but they are incredibly expensive. For the cost of a 14GB Heroku Dyno, I can buy a dedicated server off ebay with 32GB ECC every single month. I don't use all of that RAM, but it's nice to have some extra RAM to toss around when you need to in a pinch.

I get that it means you have to "run a server", and insert arguments for expensive cloud providers vs DIY servers here but I don't think it's any less crazy than being forced to chase a GC white whale for two weeks on a tiny memory leak to avoid a huge rate hike on your hosting bill.

On an aside, I've only had one problematic memory leak with ruby ever (the infamously leaky RMagick), I threw this in every time I used the lib and it solved it for me:

GC.start(full_mark: true, immediate_sweep: true)

Bit of a performance hit, but not enough to cause a problem for my use case.
Congrats to Adam, Steve and team! Flight search is a tough industry to break into, and they did a great job against the odds to get there.
You don't necessarily sacrifice those when choosing a third party. We all apparently work in related industries...do you and your colleagues sit around and dream up ways to exploit customers? I don't, nor do those I work with.
The projected amount of inflation probably still won't push growth into the Fed's target.
Facebooks' an american canc^^^^company, so naturally it acts only in its own thinking.

I mean what do you expect? It's facebook. It was founded on dubious merit, the company will operate in the most grey it possibly can.

(Not wanting to anger the tech nerds here: various FB employees have released super interesting stuff back into the tech community such as the recent SSH CA auth article)

But c'mon. When you see anyone accused of foul play, facebook should be the least surprising of them all.
Congrats, you are the exception to the rule.
The american bankruptcy system is much more forgiving than most of the world, precisely because it allows the economy to be more flexible.

"Some countries keep failed entrepreneurs in limbo for years. Britain will discharge a bankrupt from his debts after 12 months; in America it is usually quicker. In Germany people expect it to take six years to get a fresh start, according to the commission; in France they expect it to take nine (see chart 2)."
http://www.economist.com/node/21559618
I haven't used its handwriting OCR feature so genuinely curious. Does it not show a single piece of text? If not, what value does the OCR handwriting provide? Is it solely for the search feature?
I hear you. I use to make Bustelo when I would occasionally smoke cigars on a nice summer day... even then I would add cream.
Connections Between Physics and Deep Learning [video]
*done
Hotz is a proven, remarkable engineer.

But if there was ever a case for a "business guy" to be involved with a pitch this was it.

His messaging works at some level - "I'm shipping something REAL and SMALL and ACHIEVABLE"

But his pitch has two huge problems:

(a) The delivery is rough. He comes across as patronizing and manic. I want to put my life in his hands?

(b) He fumbles (like Musk has) with the difference between his pitch "Mountain View to San Francisco without touching the wheel" and the reality "It is fully functional. It’s about on par with Tesla Autopilot"

Lots of potential in the product but for me this pitch diminished the chances that I'd ever own the device.
Duterte's “War on Drugs” Explained
While I've heard this narrative discussed before, I'd like to offer some thoughts:

- Companies do not (or should not) make cloud purchasing decisions be based entirely on some kind of preferential pricing. Cloud is far from a commodity, especially in ML/Big Data space. In both Evernote and Spotify cases, they highlight strategic technological advantages of Google Cloud. In fact, customers tend to be fairly specific in outlining their findings[0], cost rarely being the main factor.

- I urge you to share evidence that Spotify received "huge credits" in exchange for PR.

- It's not unusual for companies to make such announcements. It's very much standard practice for AWS customers. It's good PR for both parties, imho.

- There are many other "big" names disclosed in 2016. And it's no secret that what Snapchat has achieved on Google's PaaS is nothing short of extraordinary.

[0] https://medium.com/@thetinot/i-think-google-cloud-is-the-bes...

(disc: Work on Google Cloud and put together [0] )
I have read that there are Muslims, at least in other countries, who are young-earth creationists and anti-darwinists.
Huge fan of my AeroPress too (so much that I have a repo full of brewing guides [0]). I just wish they would drop that whole calling its coffee "espresso" bit.

[0]: https://github.com/tedmiston/aeropress
So a from a quick googling it looks like xfree()[1] is a ruby specific thing, and should be used internally for everything allocated by ruby. It also looks like it's got the same signature as the function created for this so that should work there too. [2]

[1] http://clalance.blogspot.com/2011/01/writing-ruby-extensions...
[2] http://inferior-products.com/docs/userdocs/ruby19/html/d8/d1...
> I think even meat is something like 80-90% water.

For fresh (not processed like hams etc), ~50ish% is usually a safe bet.
I'm using it now at the recommendation of people here, and you're too right. It's a bit like going from a pogo stick to a McLaren.
That's a good point, although what I'm more concerned with is industry pushback against third-party self-driving upgrades, similar to how ECU tampering voids the warranty of most cars.
PlanGrid (YC W12) Is Hiring UX Researcher, Full Stack Engineers and More
https://www.eff.org/deeplinks/2009/09/online-trackers-and-so...
Ahh. One day you will realise from my point of view all of you is inseparable from the universe - your mind is just atoms like a plant. Are we saying the atoms in your mind are coloured and in a separate space time to the rest of the universe? From when do the food you eat to when you digest them, do they separate from the universe into you? Unless you mean atoms aren't part of the universe, and then neither is energy because atom is just energy in a specific form. In that case I think you meant to use the word "space", not universe? Because the definition of universe is "The Universe is all of time and space and its contents".

So the only explanation I can understand where you can be separate from the universe is, if you weren't a content of this universe and I'm speaking to a super-natural being.

Otherwise, if you aren't supernatural, then all of you is a part of the universe, and that makes the universe at least as conscious as you are.'

The only reach from universe to Brahman, is whether there are multiple universes, or is this the only one.

In my opinion, all positions besides Pantheism or Panentheism are illogical.
Google "William F. Hummel money" and read the whole thing.

Technically, money is created when a bank writes a loan, but the Fed does meta-meta(-meta?) money creation on a global scale.
Pretty sure "YC" is "Y Combinator".
People complain about ads.

And they complain about paywalls.

And they complain about subpar journalism.

---

HN may just have a different proportion of complaints.
This is a great product and Stripe seems to be a good actor...but to me this looks like an acquihire with an eventual "our incredible journey" post in the future. Or frozen development while the team moves on to other Stripe projects.

What makes this the exception?
There is already plenty of movement, and in general close to ready availability, of free college in everyones home state at their state university or several other public universities funded by the state government.

If you got rid of the insanity that is federal loans it would just increase demand for state schools and community college.
Why not have a search engine with "sub-reddits" that can be subscribed to...

Whereby - a site would self-identify as being in a particular genre, say "healthcare" - and I could launch a tab to the engine and set my sub to "health, health-tech, healthcare, medicine, etc.." and then do my search and only those sites that set their category will show up in that search - but if I dont find my search, I can then easily slide out to other areas where I may not have thought what I was looking for would have identified with. Further - any post by any company/site could individually been given a topic to self-declare as... thus even if the company or site isnt necessarily in that space - their page or object could at least be a part of that result ranking....

Or has this been tried/found to be stupid?
Even Better think about the consequences of Japan's aging population relying upon the Japanese Government Pension Investment Fund, being propped up by the JCBs purchase of equities.

>The GPIF’s results are seen as a gauge of broad market performance, as the fund owns nearly 1% of global equity markets and more than 7% of the Japanese stock market. Domestic and foreign equities comprised 44% of the portfolio at the end of March, below its 50% target weighting for the asset class, the fund said in a statement.
http://www.wsj.com/articles/japans-gpif-pension-fund-suffers...

There is this can they keep on kicking, hoping to out run the "current" malaise but you can't escape the Great Graying when your economies are dependent upon constant expansion.
If you have to ask, you already know the answer.
Note that your two examples didn't involve any nuclear material, as the fissile cores were kept separately and weren't installed in the bombs at the time.
Your assumption that there is such a thing as a more or less desired logos is completely invalid. It is a completely subjective issue. Even if it wasn't subjective, they are certainly geared towards different industries.

The social influence mechanisms are the same as a SAAS Product adding features (which again are of subjective value, and not necessarily an improvement in service, just in perceived value.)
Tesseract (used correctly with some pre-processing) can compete with ABBY
> Because a magic number picked mostly at random is the optimal number of H1B visas?

No, the optimal number of H-1B visas is zero, because the concept is fundamentally and irrepairably flawed.
My understanding is that this will only work with late-model Honda/Acura with LKAS & ACC packages, they hack into these systems for control. http://automobiles.honda.com/sensing/
I know that's the training. What I've read is that there is no basis for that training. Do you know of the basis?
> For privacy reasons, I don't want to share my bookmarks with the owners of any website or corporation.

Fair enough.

If I had stayed on "bookmarks in my browser in a single folder with tags," I might be asking myself the same questions I've been asking myself about tags on and off all day. It's interesting, sometimes surprising, when I question assumptions that I didn't realize I was making.

A good conversation.
Yes, government-backed loans reduce the apparent cost of higher education, increasing the amount people are willing to pay, driving up the costs, and reducing access to people who are unwilling to take the loans.

http://www.economist.com/node/21559618 quoting a research paper:

"With all factors present, net tuition increases from $6,100 to $12,559. As column 4 demonstrates, the demand shocks — which consist mostly of changes in financial aid — account for the lion’s share of the higher tuition."

And then:

"so much of the subsidy is translated into higher tuition that enrollment doesn’t increase! What does happen is that students take on more debt, which many of them can’t pay."
I've thought about doing this a lot. I have a solid and stable 20 Mb connection at home, only have had ~2 hours of downtime this year.

The thing is... I don't want to basically trap myself into AWS or Dropbox. I run a 6Tb array like you, and kinda set up my own cloud, drag and drop, etc.

I don't think I'd ever give it up because:

1) It's cheaper to run myself (long term) - I'd have to consistently pay someone else ever increasing amounts to store data (which seems dumb since storage gets cheaper every year, their service doesn't).

2) Security - I don't want anyone to have access to those files but me. I'm 100% sure Amazon or Google would be able to access those files if ordered too by a government. Hell, they might do it without being ordered, who knows what's happened since Snowden.

3) Ease of use - my setup is based on a local network (as well as an ssh component). Basically, my setup works like Dropbox. The only drawback is no mobile component. If I want to change that I have access to all the parts and can do what I want. With AWS (which I use all day for work) I cant swap out a drive or stream a movie to my TV, phone, or desktop with a click.
It's why I tell companies who want open stack to use NephoScale http://www.nephoscale.com so it's not solely on their shoulders to fix things.
Good questions, I'm actually intrigued to see valid answers.
Can you please do as you say, and provide specific citations and examples of his conjectures framed as fact?
Some of us are...

https://blogs.aws.amazon.com/bigdata/post/TxGEL8IJ0CAXTK/Gen...
This is another variation on the "rich people hoard money" theory. The reality is that rich people's lending, investment, and bonds all spend that money, too. Nobody borrows money unless they plan to spend it (otherwise it would make no sense). Nobody hoards cash.
> We eliminate the Tata-style H1B abuses and actually make H1B for TOP talent and not cheap talent

Top talent is what the O-1A and O-1B are for. We don't need the H-1B for that.