skysight-inc/HackerNews huggingface dataset:
That silliness is not comparable to effective use of local variables to both streamline the source code and get better output from the compiler.

By the way, the magic multiplication number can be worked out, because it's just fixed point math. We take the 32:32 fixed point representation of 1 and divide by 17 to get an approximation of 1/17 in 32:32 fixed: 0x100000000 / 17 = 0xF0F0F0F. That's our magic number for dividing 32 bits by 17 by doing a 64 bit multiplication. For instance 90/17 is 90 * 0xF0F0F0F = 0x54B4B4B46. The integer part of this 32:32 fixed point value is in the upper 32 bits which is 5.

There are some subtleties there, plus considerations of whether we want signed or unsigned division. Better let the compiler deal with it. Arithmetic reductions are safe optimizations. It's hard to imagine what you could do wrong so that an arithmetic reduction breaks your code, given that it produces the same result and doesn't interact with some some memory aliasing where the compiler isn't informed about what you're doing.

And by the way, given this code:

#include <stdio.h>

struct node {
struct node *next, *prev;
};

void ins_after_a(struct node *prev, struct node *node)
{
node->prev = prev;
node->next = prev->next;
prev->next->prev = node;
prev->next = node;
}

void ins_after_b(struct node *prev, struct node *node)
{
struct node *next = prev->next;
node->prev = prev;
node->next = next;
prev->next = node;
next->prev = node;
}

gcc 7.2.0 on Ubuntu 17 generates better code for the cleaner, streamlined second one with the local variable, for exactly the reason I gave. ins_after_a yields 6 movq instructions; in_after_b yields 5.

Better source that is easier to reason about; better machine code: all round win.

ins_after_a:
.LFB23:
.cfi_startproc
movq (%rdi), %rax
movq %rdi, 8(%rsi)
movq %rax, (%rsi)
movq (%rdi), %rax <-- wasteful re-load of (%rdi) due to aliasing suspicion
movq %rsi, 8(%rax)
movq %rsi, (%rdi)
ret
.cfi_endproc
.LFE23:
.size ins_after_a, .-ins_after_a
.p2align 4,,15
.globl ins_after_b
.type ins_after_b, @function
ins_after_b:
.LFB24:
.cfi_startproc
movq (%rdi), %rax
movq %rdi, 8(%rsi)
movq %rax, (%rsi)
movq %rsi, (%rdi)
movq %rsi, 8(%rax)
ret
.cfi_endproc

The language could be specified that way (accesses to structs are memory loads) for all I care and that could be helpful.
The Pyramids of Giza Are Near a Pizza Hut
I also used to work for Watson. It remains one of the best jobs I've had. There's a number of useful services available through Watson on the IBM Cloud. I'm a little biased toward Watson Assistant which can be nicely customized and integrated with other solutions to create some terrific customized virtual agents. You can also easily train natural language systems using Knowledge Studio.
> I wonder why they suddenly care?

You would think it a silly idea: educating people into certifications that overqualify them and likely lead to their exit to greener pastures. There is the other end of the pipe to consider: students leaving high school would see Walmart employment as a way to afford their education - providing an everlasting stream of new employees. In addition, Walmart relies on successful innovators to stock their shelves with compelling products. This is selfish positive sum reasoning[1], where doing good ironically results in more for you.

That's my best guess, at least.

[1]: https://youtu.be/rvskMHn0sqQ
Exactly. To elaborate on that, much of the speed difference between systems like Cargo and dep is that Cargo only has to look at metadata in one file. Surely that is a software engineering advantage!
I dont think its about how much marriages or diamonds cost. Sure, diamonds are a scam, but the real problem lies with social pressure out of "tradition". Advertisement induced spending for stuff like engagement rings is a much smaller problem.

Having your fiance wanting a diamond ring is a different problem then your mother in law pushing you to spend 30k on your wedding to show off to the neighbors.

Advertisement based spending is just another set of problems when it develops without outside social pressure. Its the difference between your wife needing to show off to her mother and girlfriends, wanting to show off. or you two agreeing about how it might be spend best.

Just to point out though, while the example of diamond rings is focused on the female spouse, this isnt a issue that only happens with her. Pick another example and you could switch the roles.

The last option, of discussing how to spend the money, is simply about the state of your relationship. If you two agree that spending 30k is worth the fun of taking a few month off for vacation, all the best to you. Just do it because you want to, not because you think you have to.
>Bigotry: noun. stubborn and complete intolerance of any creed, belief, or opinion that differs from one's own.

Hmmm...
Also relevant:

http://www.bailis.org/blog/how-to-make-fossils-productive-ag...

Choice quote from there:
> Kill the reference architecture and rethink our conception of “database.” The article titled “Architecture of Database System” should be considered harmful. If a system doesn’t have a buffer pool, it can still be a database, and, in fact, I’d prefer not to read any more papers on “databases” that have buffer pools. Instead, I’d prefer you shock me with your radical, new (and useful!) conception of a data management platform.
Single file header only libs? https://en.wikipedia.org/wiki/Header-only

Maybe Clang or GCC could be modified to output these header only libs. The other option, is to use the package specific compilation tooling but generate WASM. Then use WASM as the module system.
"He doesn't add value at all" is obviously a personal putdown.

(It's also obviously wrong, since there's no way Sam would be running YC after 4 years if it were true. But we don't moderate people for being wrong, only for breaking the site guidelines. Please (re-)read them at https://news.ycombinator.com/newsguidelines.html.)
You don't need anybody's permission to do this. Linux has a language-agnostic system call interface. Everything that happens on the computer is accomplished through that interface, and to use it all you need to do is put some values in specific registers and issue a special instruction. This isn't the domain of C; the JIT compiler could have a special system call generation feature. You could get rid of GNU and write your own user space in Lisp if you wanted to.
I'm not sure your post was meant for me even if you think it was. I dont write off the little guy, I write off the person that just wants to know about price price price.

My churn rate is low precisely because I take time to learn what they want then provide what they need. I work with clients that are a good fit in both directions and got out of the "anything for a buck" game years ago.

I work hard building my businesses, but I don't have to work hard at sales precisely because of what you said - I've built relationships and skills that make it fun for me to sell. I work about 5 hours a day, travel a ton and play lots of golf. ;)
There are some old architectures that used one's complemeny and there are probably some still in service e.g.

https://en.m.wikipedia.org/wiki/UNIVAC_1100/2200_series
Paywall bypass: https://archive.is/bTGtX
I can't think of a case in which changing the evaluation order between sequence points in a way that LLVM can't prove is safe on its own actually improves codegen.
I don't know how China collect its public health statistics, but its economics numbers have been extensively studied. And the consensus is that its official GDP growth figures were overstated historically (by as much as 67%), but had been mostly accurate post-1996.

Study: https://www.stlouisfed.org/publications/regional-economist/s...
Totally agree that politicians like to over-complicate and obfuscate tax code and other things, and that tax code is an insanely complex mess. Certainly should be fixed.

Yet, it does not follow that similarly elaborate non-payment near-scams (& felonious schemes) are a necessary feature.

An overly complex tax code is a necessary prerequisite, but not a sufficient condition. for that, you also need scheming MBAs & accountants.
author very erroneously throws in a number of $250 in 2015 cost of mining while discussing fundamental value seemingly unaware of minig difficulty and halving.
Wait...so is this about having an ssd on the memory bus...or non-volatile paged memory?
How Disney is turning women from across the company into coders
This is some real ball-fondling born-into-privilege nonsense.
I could write to CEOs too, but I wouldn't be so impressed with their boilerplate social interaction, and the predictability of it is why I won't.
You weren't banned! We'd have said so if we did that.

Being called a rude name is bad (though I think the commenter edited it out?), but like every user here, you still need to follow the rules regardless of what someone else does.

The core issue is the flamewar thing—by which I mean high-quantity, low-quality controversies—which is the essence of what we're asking people to avoid in comment threads.
Thanks for that advice. I think you're right, I'm thinking to far ahead about something that might or might not happen.
The Evening Standard wasn't a free paper until 2009, and it is essentially, historically, London's local paper. In terms of expected journalistic standards, its reputation would put it alongside traditional Fleet Street midmarket tabloids like the Mail or the Express, rather than a typical ad-led freesheet. Whether this kind of activity would be considered below the standards you would expect of those papers probably depends on your perception of the broader ethics of the British press.
the manipulation resistance comes from decentralization. the USD price pair is irrelevant in such a scenario as commonly said 1 btc is 1 btc. If we want to look at the price pair though usd has totally crashed vs bitcoin during the years.
The biggest EMR company was Epic and uses Mumps [0]. However, they are losing share to Center and others [1], so this formula will only work for a little while longer.

[0] https://news.ycombinator.com/item?id=13860937

[1] https://ehrintelligence.com/news/cerner-epic-mckesson-among-...
Ok, I'll retract that statement.

Corrected:

There are a lot of potential reasons to use something like this, but having a main selling point of it being "lightweight" is just flat out lying or willfully misunderstanding what lightweight means.

------

Javascript, and all scripting languages in general (maybe excepting lua and similar) are fundamentally not lightweight. They require enormously complex runtimes.

I'd say a reasonable definition of "lightweight" for an application runtime is if a complete, distributable app including all the required components can fit in 1 MB (This functionally excludes things like .NET too).

There are, or course, odd corner cases (using the OS UI components, etc...), but it's broadly applicable.

Other relevant bits to being lightweight - how fast is the application to start/stop? What's the minimum runtime overhead? etc...
Parents Who Exercise Could Epigenetically Pass on Heightened Learning Ability
Sounded promising, so I signed up. Then I realized I didn't really understand what to write about.

Would be cool if you gave prompts to write about. Also not a huge fan of the UX. Lot of icons and stuff, got confused a bit.
i think you just repeat meme phrases like "tether printer". do you know that tether neds to print and burn in order to keep the peg as it has always done according to its architecture or you think "printing" is something illegal and secretly done?
A Quarter Million Gamers Helped Build This Incredibly Detailed Map of the Brain
Show HN: Fast `git status` (git core.fsmonitor in Rust)
Breaking down the most common mistakes at the National Spelling Bee
I could see a company like Disney using autonomous boats for WDW as it’s all a pretty confined area. If you haven’t been there, they use a lot of boats to ferry people around. (Actually think they already are using some autonomy for their show rafts but not 100% sure)
The "they're looking to invoke a strong emotional response" echos the conversation on What Is A Troll on Meatball wiki ( http://meatballwiki.org/wiki/WhatIsaTroll ) which starts out with:

> Trolls generate emotions in others while not investing any on their own side. In real life you could not escape from the emotions of your peers — if they are angry you would be physically insecure so there is a BalancingForce, but in CyberSpace you can feel safe. Additionally electronic communication is known to amplify emotions. Those two features collaborate to make trolling so demolishing. When you analyze this phenomenon you need also take into account that very angry people have their thinking under an AngryCloud — so the troll with cool mind always has the advantage over the angry community members.

There's also a passage from Anti-Semite and Jew by Sartre. Page 13 touches on this:

> Never believe that anti‐ Semites are completely unaware of the absurdity of their replies. They know that their remarks are frivolous, open to challenge. But they are amusing themselves, for it is their adversary who is obliged to use words responsibly, since he believes in words. The anti‐Semites have the right to play. They even like to play with discourse for, by giving ridiculous reasons, they discredit the seriousness of their interlocutors. They delight in acting in bad faith, since they seek not to persuade by sound argument but to intimidate and disconcert. If you press them too closely, they will abruptly fall silent, loftily indicating by some phrase that the time for argument is past.
"Many people"... OK. Sure the "Austrian economics" crowd is out there. Yes, they have a point about avoiding hyperinflation, but also often oversimplify.

In what country has a modern complex society been actually run without actual coersive tax?

In what society have complex and costly ventures like an entire modern education, defense road system been done with it? Any real, hard examples?

Abstract ideology is lovely, but is not a practical govt that manages to build the basis for an advanced and advancing society
Thank you! And thanks for reading!
As someone who was in high school just a few years ago and am now working I would argue that is definitely not true. High school can quite easily take a lot more time than work, especially if you are an honors student or do any extra-curricular activities. I would wake up at 6 am, be at school at 6:45am, and leave school at 5pm most days of the week due to sports and class. Then I would have 2-5 hours of homework to do. Now, working for a large company is 40-50 hours a week, 9am-6pm with little work after hours.
Haha woops, I think having the startups present themselves would be better because they have more relevant information and I think potentially having multiple investors looking at a startup at once would help create pressure for them to actually invest.
okay you got me interested. Tell me, what are the attitude towards East Asians in Brussels?
I have a major issue with this too. I posted an idea for the admins to counter this type of thing by allowing users if they wish to, to blacklist mods so that a user can still view content that those mods have removed without having any effect on users who don't blacklist those mods.

It went as we'll as I expected it probably would have.

https://www.reddit.com/r/ideasfortheadmins/comments/8mrqyh/a...

I don't know if I went about it the wrong way but I felt I had well reasoned responses but the few replies I got were weak, and the votes indicate that mods don't want to even think about losing any power or being undermined. A sort of I'm right, you're wrong mentality - the kind that my idea would combat.
Drop out the recent immigrants, as China has virtually no net immigration. Do the numbers change?
Yes, but not relevant to the main point, which is that users need not to proliferate high-quantity-low-quality controversies (a.k.a. flamewars) on this site.

(If we saw a commenter calling another a smug pedant, of course we'd tell them not to. I didn't see it though.)
Deaths from "unintentional accidents", a large portion of which are opioid / heroin overdoses, is 4th leading cause of death in US

Many of these people die young. There are more years of life lost before age 75 due to suicide / overdose in the US than diabetes
It should be renamed METAL sometime in the future and we should start implementing an open source shim named Cacao, before the nuclear war break out.
Twitter Is Removing Accounts of Users Who Were Younger Than 13 When They Joined
And in addition, The Bug Hunter's Diary: https://nostarch.com/bughunter
Maryland researchers say they discovered 'Holy Grail' of machine learning
I don't think it's a case of being born into privilege. From another blog post on the same site:

"I graduated from college with six figures in debt and no savings or investments. My first job out of college paid $400 per week. I ate dollar-menu fast food every day until I got sick and landed in the hospital. I paid $650 a month to live in a dank basement, ridden with bed bugs, and I slept on a mattress strewn on the floor. I hated my life."
How do some of these CEOs have the time to respond so throughly to random letters?

Is it possible that someone is ghostwriting for them?
> drive away the toxic users

I am surprised there isn't some kind of NLP based solution for that. I think labeling of slashdot-like informative/funny would be useful.
Ignoring whether I would choose 'Capitalist' as the first word to describe India's economy, India is still a bad comparison. The only reason it's even democratic is because it inherited British institutions. Taiwan built its democratic institutions from the ground up itself, after and during decades of military dictatorship, it's a completely different situation.
> Aren't the insurance companies private in the US? Why don't they keep the prices in check?

The entire US system is a disaster. There are major tax incentives for employers to provide health insurance, so they do. But then it's corporate executives choosing the insurance policy, and the one they choose affects themselves and their families, and is tax-deductible compensation, but they're spending the shareholders' money instead of their own. Meanwhile the insurance company is happy to sell a policy that covers more stuff for higher premiums. And everybody hates it when the insurance doesn't cover something -- it's bad PR for the insurance company, bad employee relations for the company who chose that policy and bad for the employee who is sick and denied coverage.

So all the incentives line up for there to be very expensive insurance policies that cover everything no matter the cost. And once you have a policy like that, the patient has no reason to decline unnecessary tests or choose lower priced alternatives because the insurance is paying for everything.

The insurance company can try to negotiate prices, but that only works in a competitive market. Many things are patented and there is only one supplier, who knows the insurers are captive buyers. Even when there are multiple suppliers, they all have to pass on the same regulatory compliance costs. And the insurance company itself imposes a large amount of bureaucratic overhead on medical providers to try to prevent insurance fraud, but the cost of that overhead then gets built into the price. Plus the cost of the insurance fraud itself, which is hard to detect when the provider and the patient are both in on it.

The way to make health insurance work is for it to actually be insurance, i.e. it only covers major catastrophes with a multi-thousand dollar deductible and everything else is out of pocket. Then the insurance would cost less than half what it does now and the amount paid out of pocket for substantially everyone would be less than the difference in insurance premiums. People would then have the right incentives to compare prices and refuse unnecessary procedures, none of the routine medicine would have to involve insurance paperwork, and less insurance coverage would mean less insurance fraud.

But everything in the US regulatory environment is configured to prevent that from happening.
Each user has their own view of the frontpage though, which is computationally pretty expensive. Trees of comments similarly can get data heavy. Hard to compare IMO
> If they give you fidelity card and they got a copy of your name in a cardboard box, then yes they have to comply to GDPR.

Maybe, maybe not. Article 2 (material scope) says:

"This Regulation applies to the processing of personal data wholly or partly by automated means and to the processing other than by automated means of personal data which form part of a filing system or are intended to form part of a filing system."

Note that for GDPR to apply, the data has to be part of or intended to be part of a "filing system". (It is possible to read the above as saying that the filing system requirement is only for data processed other than by automatic means, but Recital 15 suggests it is not limited that way: "The protection of natural persons should apply to the processing of personal data by automated means, as well as to manual processing, if the personal data are contained or are intended to be contained in a filing system").

What is a filing system? Article 4 tells us:

"‘filing system’ means any structured set of personal data which are accessible according to specific criteria, whether centralised, decentralised or dispersed on a functional or geographical basis"

Recital 15: "Files or sets of files, as well as their cover pages, which are not structured according to specific criteria should not fall within the scope of this Regulation"

One could probably make a good case that if you are just randomly tossing cards into a cardboard box, that's not a structured set of data, and so not a filing system, and so GDPR does not apply.
Una-al-día – Hispasec: BackSwap, el banker que simula ser un usuario
If there were better options, you and others would use them. You don't use anything else so C is the best you've got.

Most of your last paragraph only amplifies what I just said. If there was another language that bested C, people would use it, but they don't.
This breaks the HN guidelines. Please post civilly and substantively, or not at all.

https://news.ycombinator.com/newsguidelines.html
> Currently you will need to email

Oh
I spent most of the last 5 years in Tokyo + traveling, mostly not working. Too bad we didn't run into each other. Happy to chat, have some suggestions. My email is in my profile.
People who visit reddit regualry have most probably some client on their mobile.
I am a nerdy physician desperate to work with somebody on decision tree based expert systems. Are there a bunch of existing projects that I’m just missing?
Technologists who fancy themselves pacifists are naive. The history of human technological advancement is the history of violence and the desire for control. DARPA funded the early internet, DARPA funded AI and NLP research, DARPA funded computer vision.

It's not new, it's been going on forever - certainly in our lifetimes.
Reddit frightens me way more than Facebook ever did. Reddit gives the impression of what ideas are popular with its rating and comment system. But those systems are remarkably easy to manipulate.

Imagine a Russian troll farm operation making a certain favored candidate look far more popular than he is, for example. Or a corporation rallying fake support around a piece of legislation.

Sock puppetry on an industrial scale could pose a serious threat to our democracy. Reddit needs to figure out how they could mitigate that threat.
I don't think it's necessarily the case that everyone's using consent currently. They just think (probably correctly) that regulators will be more favorable to a company that always makes disclosures and asks for permission up front.