skysight-inc/HackerNews huggingface dataset:
I can't speak for Go, but your intuition regarding Rust code is incorrect. See https://play.rust-lang.org/?gist=09b464627f856e0ebdcd&versio... , click the "Release" button, then click the "LLVM IR" button to view the generated code for yourself. TL;DR: the Rust code `let x = 7; let y = (x*2)/2; return y;` gets compiled down to `ret i32 7` in LLVM.

In fact, there is "secret sauce" here. The secret sauce is that Rust treats integer overflow specially: in debug mode (the default compilation mode), integer overflow is checked and will result in a panic. In release mode, integer overflow is unchecked. It's not "undefined behavior" in the C sense, because of the fact that it always returns a value--there are no nasal demons possible here (Rust disallows UB in non-`unsafe` code entirely, because memory unsafety is a subset of nasal demons). The exact value that it returns is unspecified, and the language provides no guarantee of backward compatibility if you rely on it (it also provides explicit wrapping arithmetic types if you explicitly desire wrapping behavior). And though it's a potential correctness hazard if you don't do any testing in debug mode, it's not a memory safety hazard, even in the unchecked release mode, because Rust's other safety mechanisms prevent you from using an integer like this to cause memory errors.
https://www.youtube.com/watch?v=sXQkXXBqj_U
Have you compared Linode's pricing to AWS S3 which is built for your purpose (serving static files)?
A few things about this:

1) This is why it's important to try to make your fortune early. Most won't, but try anyway.

2) Never stop learning. Everyone has to become lifelong learners in this new hyper-competitive economy. Even moreso for those with traditional "disadvantages" like being considered too old. Keep up with trends, keep reading those whitepapers, go back and review the basics every so often (this is a good idea anyway, IMO), learn at least the basics of the new whiz-bang thing that comes out (even if it's just the "hello world" equivalent), and generally keep yourself "interview ready."

3) Physical appearance matters. They may not be able to ask your age, but they can look at you, and they'll form an opinion whether it's conscious or subconscious. Though many find it distasteful, it is the reality. That means consider carefully whether smoking/alcohol/other intoxicants that affect your physical appearance are worth it. It also behooves you to keep a regular exercise schedule. Cosmetic surgery is also an option; there are many tells for age you can fix: eyelid and eyebrow droop, under-eye and various other facial lines, hanging chin. Hair dye and grafts are also worth considering, as a receded hairline and whites/grays are obvious tells.

4) It probably goes without saying to keep up your professional network.

5) Another distasteful one, but perhaps worth thinking about: if you're someone who is in the age bracket that is often considered "very likely to have a family", but you don't (especially if you don't ever plan to), state it. Signaling that you don't have large, difficult-to-discharge obligations could give you the edge you need. You may get mentally re-bracketed. I haven't tried this one, since I'm not yet in the bracket nor do I appear to be, but I would probably do so if I was.

6) Companies that are truly hard up for good people (and not just the "we can't hire (at the wage we wish to pay)" companies) will just have to be more flexible. Maybe they already are.
Try reading it this time.
>The difference is that you don't use the same wrench a dozen times a day, day in and day out.

yeah, that's kind of what I was trying to say with the bit about how I care very much about the tools for dealing with rackmount computers and how I have a favorite screwdriver. I didn't care about screwdrivers either until I started using them a lot. I would bet money that you are right and that if I worked on cars more, I would care more about getting a really nice set of automotive tools, but I don't work on cars that much, so I don't really understand how the really good tools are different from the merely "good enough" tools, because that comes with experience.

But my main point was that there are tools that are adequate for the shadetree mechanic that are cheap enough to more than pay for themselves after a single use in a shadetree level project. If you can afford to have your car fixed, you have the capital to buy adequate (maybe not really nice... but adequate) tools to get started with your automotive hobby or the beginning of your education as a mechanic.

I do imagine that like IT people, most, or at least a whole lot of mechanics start out as hobbyists. The two seem similar enough to me.
1) Its not MySQL
That's not the greatest analogy. Obviously I don't suspect somebody standing in line and who doesn't fit the profile of a terrorist, just because they joke about doing something for which they have no obvious motive.

In this case we have business associates--who have already been trying to eliminate what they see as an existential threat--making a joke in private.

At the very least, it's rather distasteful that this is funny to them, especially when you realize that stuff like this actually does happen.
I don't think anyone assumes that of all 45 year olds.

But the proportion of 45 year olds with dependent families versus the proportion of 22 year old with dependent families is hugely imbalanced.

We might find some hugely imbalanced results from that.
I absolutely love Postgres, for these and other reasons, but the one weak point is the official GUI client. It's garbage, and unfortunately it's one of the first things people ask me about when I encourage them to use Postgres.
Thanks for that. Funny they say the Kentucky Highway makes it to the Atlantic "without a scratch" after it was bounced off the wall of the locks; you can clearly see the huge smear/scratch on the paint in shots after the collision.
Did you come up with this idea, or why was doubleblinded registered just after this Reddit post?

https://www.reddit.com/r/Nootropics/comments/3p0y2x/crowdfun...

https://www.123-reg.co.uk/order/domain?X-CSRF-Token=45b50019...

That doesn't seem very trustworthy
Good article, but according to the post Title, I'd like to read how each features make postgres better than mysql or other, in terms of performance for example.
Nice to have a list of unique features of postgres but having many indexing feature doesn't mean to be better than other dbs.

P.s. Postgres is my favourite db
Ai Weiwei produces his art for political reasons.
If he was a Ghanian or Inuit artist, he would have been ignored by the wider world.

Since his art attacks China, and that suits us just fine, he receives adulation.

This is similar to the praise given to every third rate anti-Soviet artist of Russian origin, during the Cold War.
I just bought Postico. Best Postgres client I've come across so far for OSX. Would recommend if you're on a mac.
It is an extremely common argument. A few years back a book called "The Bell Curve" came out which put forward that argument.
Popcorntime.io is dead
Interesting. (And you're right, most Koreans won't consider her as Korean, which is probably the right judgement but it feels like neither nation is willing to claim her as their own, which is kinda screwed up.)

Now that Korea is mentioned... until 2008 Korea used to have that "koseki" thing (called "hojeok" in Korea, with the same Chinese characters, I believe). At least it wasn't used to discriminate against ethnic minorities (largely because Korea didn't have any ethnic minorities who had lived for generations, other than a handful of Chinese immigrants, who were discriminated anyway, but I digress).

What it was used for was to bind people in patriarchal Confucian ideology and make life miserable for some people. E.g., if a woman has a child, divorces but keeps custody of the child, and marries again, she couldn't change the child's family name to that of her new husband, because paternal ancestry is fucking important. So now her child must grow up being asked by everybody "Wait, why is your surname different from your dad?" That kind of thing.

And there were people who would defend this kind of idiocy.

So glad we finally got rid of that.
No it wouldn't be better. Wealth is not zero sum. Accumulation of wealth does not mean other people are denied wealth.
yeah. So I haven't set up a postgres or mysql server in more than five years, but I was seriously into both before that. In the early to mid-aughts, I was heavily into PostgreSQL when I had a choice, but spent a lot of time on MySQL when other people did the deciding.

So last week I was setting up a sql server for a side project I was doing with a friend, and went with MySQL just because I knew it would take me ten minutes to setup async replication, whereas with PostgreSQL, I'd have to spend a bunch of time figuring out what third party thing to use now.

Even just having simple master/slave asynchronous replication functionality built in would help a lot.
Postgres has come a long way. Some of these features are very cool, like the WITH RECURSIVE. I wonder what's the performance implication is. Often you can gauge the performance by looking at the query, like a table scan or using index. Assuming the parent topic column is indexed, would the recursive walk take INDEX + SCAN? Where the INDEX is the parent topic look up and the SCAN is the aggregate look up of the subtopic.
At least domestically, it is more of an open secret than an actual secret. (By the way, the politically correct way to refer to the Buraku is "Douwa")

This open secret history of persecution has been utilized by these communities to attain some more political and economic power. People who do not have a Douwa ancestry will sometimes move into these communities to be associated with the region and put themselves under the implied protection of the Douwa (since companies / government must tread very lightly around them).

Interestingly, I recently learned that the school curriculum is starting to remove sections about the Douwa history. Once the "open secret" is less known, the caste will be able to wield less political power, and this change is obviously intentional.
A constant expression is not a good test: any compiler worth its salt (which includes LLVM) will be able to optimise a case like that. Change the function to:

pub fn test(x: i32) -> i32 {
let y = (x*2)/2;
y
}

and you'll see the difference (e.g. compare against a similar function on https://gcc.godbolt.org/ ).

> The secret sauce is that Rust treats integer overflow specially

Debug vs. release mode is irrelevant: the panicking case is more expensive than any arithmetic, and, the RFC[0] was changed before it landed:

> The operations +, -, [multiplication], can underflow and overflow. When checking is enabled this will panic. When checking is disabled this will two's complement wrap.

The compiler still assumes that signed overflow may happen in release mode, and that the result needs to be computed as per two's complement, i.e. not unspecified.

[0]: https://github.com/rust-lang/rfcs/blob/master/text/0560-inte...
A Hacker's Guide to the Bay Area
I really love the developer command line in recent versions of Firefox. Shift + f2 brings it up.
Keep reading, it says just below that they got rid of that design.
That's your "the fly in the ointment" moment but if you really think that alluding in my prior comment to the fact that the Saudi regime is barbaric would render any reasonable and substantive point I made void or would result in an inner conflict emerging inside you on whether to like me or not (which is beside the point by the way), it's a shame.
First of all, people in front of the car do not appear out of nowhere, and a machine driving a car has much easier job to calculate different possibilities than a human. After all it all comes down to speed / mass /energy / momentum, and these are relatively simple calculations.
That being said, I guess, that the autonomous car ethics should be configurable to some extent (and existing research shows, that people exhibit much more altruism in this case than one could expect).
Also, the autonomous car ethics should protect the occupants from suicidal / homicidal people that could cause harm to the occupant by getting into the path of the car intentionally. One case could be a homicidal person driving manually with a bunch of kids in a car, knowing that autonomous vehicles would prefer self destruction over a head on collision.
Not that it takes away from the point but this passage:

Unfortunately, the problems the average 22-year-old male programmer has experienced
are all about being an affluent single guy in Northern California.
That’s how we’ve ended up with so many games (Angry Birds, Flappy Bird,
Crappy Bird) and all those apps for what one start-up founder described
to me as cooler ways to hang out with friends on a Saturday night.

Strikes me as odd as neither Angry Birds nor Flappy Bird were make by people in California and I doubt either games' core audience is 22 year old technologists.
Young adults are increasingly getting bankrolled by their parents
If someone has hacked into your bank, you have bigger problems than the hackers knowing your password.
In general that is not something that can be easily slapped on later easily. There are some solutions but they feel like add-ons.

For software some things can be added on later, but some can't. Things like fault tolerance, distribution, security can't be easily bolted on after the product has already been developed (as those usually cut right through the whole stack).

People who like Postgres and make fun of NoSQL products for not having well ... SQL, usually forget that NoSQL isn't as much about not having SQL as about having a good distributed/scalable backend story.
I came across this after watching Rich Hickey's The Language of The System [1], and it has really changed the way I look at distributed persistent storage.

Any thoughts?

[1] https://www.youtube.com/watch?v=ROor6_NGIWU
I have had this idea for the past month or two, working on a foam glider right now. Will probably open source when I'm done.
Inasmuch as it makes sense to claim one's gut has any notion of genetics, I'd say the gut reaction of the vast majority of people is to reject any suggestion that there are intelligence differences between groups caused by genetics.
The eye-spoon defence of C undefined and unspecified behaviours is very unfortunate and misleading: it makes it sound like avoiding them is as easy as just taking a spoon out of a cup.

Theoretically "stop doing that" works... but history has shown that it really doesn't work in practice, in C, in programming more broadly, and, really, in any human endeavour ("planes don't need safety procedures, just stop making mistakes").
I've been using Valentina Studio lately and like it so far. Postico looks good too.
What legislative changes would you propose?
I've met a few people in Japan of Korean ancestry and they have all mentioned they have a very hard time fitting in and meet a lot of discrimination still everyday. I was always reluctant to dig deeper because you can definitely feel that it's a still a very open wound and something they're still actively dealing with every day.

Some similar anecdotes, while working in a Japanese office there is one co-worker whose great-grandfather was Italian. I haven't seen any actual discrimination against him, but some people are definitely happy to let you know that he is not full Japanese, so I'm certain he's ran across some for his ancestry.
Is this supposed to illustrate the ridiculousness of SJWs and their views on self-identification? If so, it doesn't do it for me. I'm left wondering what is the point of the article.
I believe recent releases have improved performance a lot. Have you tried any of them?
Who owns the rights to these comics jokes? Does the family of the persons make money from the shows?
How does it compare to Sequel Pro for MySQL?
Ben Franklin and Open Heart Surgery (1974) [pdf]
"Pretty sure you're making this up" is no way to argue, let alone be taken seriously, on HN.
This is one of those sad human truths right? Put 1000 babies on an island and let them grow up free from influence. Somehow a group will find another group and marginalize them. Maybe skin color, maybe hair color, maybe height, maybe weight. Seems like humans do this in just about every culture, and although we try to "hide" it in political correctness - it still happens.

Wonder if this is just some part of the bad side of the "humans need other humans to connect and bond" coin - "humans need enemies so they can bond together against, and if there is a lack of a real enemy they will somehow construct one". I mean go to a nice middle class soccer match. Some mom will be the outcast for her kid always being late to practice, or something...
The article explains:

> The motivation for the creation of the typeface was spun in the late 1970s in the light of Red Army Faction terrorism

Given the amount of money spent on vehicle licensing, the additional work to create a font is small potatoes. It certainly doesn't cost more to produce.

It's analogous to choosing between TAI and UTC time in a system. They differ by only 36 seconds, but UTC clocks break during leap seconds. Why not just choose the right one.
Show HN: Prolog compiler and interpreter in pure JavaScript
Dock ships on both sides of land. Truck goods from one ship to the other. Or maybe that would also be too expensive?
was in 1994. I wouldn't call it common. Though occasionally Andrew Sullivan would comment in this area.

Regardless, I think the parent post was just exaggerating some hypothetical conversation in class to improve his/her argument. The probably of students arguing in class that some of their classmates are genetically inferior is highly unlikely. And if they did the probability of it not causing a massive twitter shit storm is close to 0.
> Wouldn't it be better if it was impossible to amass that concentration of wealth in the first place?

Just curious, but that would deny many millionaires and billionaires the chance to change the world. For sure, SpaceX and Tesla probably would not exist [1].

I'm surprised that this sentiment is growing among many people that somehow they believe the Government is going to be better at experimenting and managing these types of far out projects rather than the free market.

SpaceX has probably the most advanced rockets in the world, far surpassing that of all other countries.

I am not sure I want the future of our species solely in the hands of politicians and not giving private enterprise a chance to rise up and have a shot.

If I misunderstood the gist of your post, I do apologise.

[1] I know they both have taken Government money, but both Tesla and SpaceX could not have been started by a Government politician or employee.
Where would the incentive be to try risky experimental business ventures? To invent new things? I think you underestimate the motivating power of economic opportunity.

It's wise to let those who are good at allocating resources be in charge of allocating resources. The best way to decide who is good at allocating resources is to create a system in which those who are good at allocating resources have opportunities to do so.
Does not make it better at all!

When this is so, than it is worse than I thought. When C++ is making such simple things so unnecessary complicated.
Wolves can adopt children in fact, specially when the children cry; and gorillas seem to be inclined to do this also with human childrens in danger or injured, either the children moves or not. Female gorillas in zoos have been helping boys accidentally falling or entering in the gorilla recint and returning them to the mother. Silverbacks can participate also.
WTF, who designed that format? That's like having a gun where the muzzle points backwards if you forget a step assembling it.
If you no longer want to run the business, there isn't much to lose by offering it for sale or letting someone else manage the affairs indefinitely while you pursue other opportunities.

It's profitable and worth something to buyers. The engineering team alone would be worth a fair amount per head in terms of recruitment. You can delegate the leg work to brokers if you don't want to spend that much time on an acquisition.

It's not important to have an exit per se (though nearly any transfer of assets can be called an exit). The experience of running a business (a profitable one at that) is a positive signal to future partners/investors.
More informative background at http://en.wikipedia.org/wiki/Just_Mayo
Bah, darn you for changing the RFC out from under me. :P

I don't understand the point of specifying wrapped behavior in unchecked mode rather than leaving the value unspecified. Surely we don't care about properly accommodating use cases that will panic in debug mode.
I agree with most of what you've said here. A generic occupation such as "physicist" or "programmer" allows for a broad array of possibilities, many of which don't require more than ~100 in IQ. For example, making Excel spreadsheets to convert test grades into a final grade is quite easy, despite technically being "programming". A huge contrast is found when comparing that with writing a 3D or physics engine. The difference in IQ requirement could be 85 versus 125. My hypothetical scenario were better with a more specific occupation, having a higher requirement, but I didn't find any better data than that on the link I posted.

An important factor to consider with all this is the rate with which a particular person could learn or carry out such a job's activities. There is a reason why retarded people (IQ < 70) are called "slow", and that's because they learn at a much slower rate compared to persons of 100 IQ. If you tried hard enough, you could probably get a person of 70 IQ to remember some physics equations, but (a) it would take a really long time, (b) they would not truly comprehend the nature or derivations of the equations, and (c) they would probably be very poor at recognising when to apply a given equation, let along actually applying it. The point is, they would be completely unable to compete in the job market. And this phenomenon is by no means exclusive to "retards". There are many concepts for which a person of average intelligence would seem retarded at trying to understand, and this could probably apply to persons at any level of intelligence.

A final note is that job requirements, both in terms of education and intelligence, are always changing. Due to advances in technology, some jobs are far easier than they used to be, while others have become much more intellectually demanding. Programming, for example, is much easier than it used to be -- as a result of new IDEs, new programming languages, and more system resources. On the other hand, I imagine being an auto mechanic requires more brains now than in the past. Generally speaking, the easier the task or job is (intellectually), the more likely it is to be replaced by automation and or robotics.
Show HN: Desk – lightweight workspace management for the shell
Why don't you guys hire someone to run it and get paid monthly dividends?

What good reasons must you have to shut down $250,000 of profit monthly, lay off 4 people, when it can be ran by someone else?
That's quite poignant. Of relevance, but not particularly interesting is that I've known Koreans and Japanese who have dated over the years and who don't seem to care about their interesting nationalities. On the other hand, they are of middle to upper middle class and 40ish and under.

Not sure if this is one of those things that'll disappear as the newer generations displace the older. Or if the black car squad will somehow keep the attitude alive.

Quite interesting is that there are degrees of zainichi, those who adopt Japanese names and who have assimilated and on the other end those want to retain more of their Korean identity and nationality.

There's also the intersection where some people of Korean ancestry in Japan express sympathies for North Korea, a country which is typically Japan's current arch-enemy,