skysight-inc/HackerNews huggingface dataset:
One can write macros which behave differently if a semicolon is added after, or not. One might (correctly) argue that such macros are poorly written, and are in fact the bug, not the missing/extra semicolon per se, but the end result would be the same.

https://gcc.gnu.org/onlinedocs/cpp/Swallowing-the-Semicolon....

There are places where , can be used instead of ; and that would change the meaning, which would be a similar kind of bug.

Then there's optional semicolons in javascript. Same thing. Sometimes adding/missing can change the expression depending on what follows.

Nobody but nobody is going to come into an interview talking about the semicolon that the compiler caught. They are going to talk about the one where it could be there or not (like a break statement being there or not), which either way is perfectly legal code.

This is a wonderful candidate to have (taking the cue from previous commenter) because you can then ask, how soon after finding that bug did you enforce static analysis or at least a linter that enforced style so as to eliminate this kind of error?

Finally, to directly answer your question, I always reject style guides that say an empty loop can go on one line. You always, always, need a second line with just ';' so that it's blindingly obvious even with 3AM tired eyes. And yes that is a valid error that's hard to find once code is committed that works at least at one point and only later breaks.
The govt spends more money than it has, and forcefully collects money. Corporations need to make money to stay alive, and must voluntarily get paid.

What does "successfully run" mean? A few major projects have turned out well. But many are failing. Otherwise why the constant need for money cash? What is a few billion going to change that a few trillion didn't?
What I Learned from Launching 18 Playing Card Kickstarter Projects
I've asked myself the same thing. After some digging I've found Withings that looks fairly promising:

https://www.withings.com/us/en/pulse-hr
https://www.withings.com/us/en/steel-hr-sport

Though they are still gathering a lot of data. It feels better than Fitbit/Google, but I wish they'd spend some time on encryption / privacy.

For example, all the GPS data, that's useful for showing a map of the run and measure the distance, but certainly doesn't need to go on their servers. They should encrypt the GPS points and only send the shape (vector path) to their servers. That would contain info about distance, but not where in the world the person was running.

Similar things could be done for other things.
Spy vs. Spy: Cyber Warfare Goes Automated
On the other hand, I agreed when a friend asked if I could be a reference for him.

I got called, sang his praises only to be asked, "Are you looking for any opportunities ..."

Recruiting off the reference list is a shitty thing to do.
funny, I'd add :-

DO: Avoid using DO and DON'T

DON'T: Use DO and DON'T

They feel like "Political Correctness" rules and that can backfire (not that the advice isn't good advice!), oddly enough, another google guideline posted a while back on code reviews I thought got the language better https://google.github.io/eng-practices/review/reviewer/ . It uses language like "In general, reviewers should favor..." which, to me, comes off a lot better than "DO:", I think it leads to the "better" idea of improving the way you do things and conduct yourself and the advice is giving you more tools to use during reviews, and that it feels like its always an open to further improvement and that there is a certain tolerance to not always doing it in a good way. Where the DO/DON'T approach seems to create an idea of there being a definitive way of conducting yourself which tends to irk people. Base definitive rules are the same as most legal requirements of conducting yourself in a employment situation.
A few years go now Western Digital demonstrated an onboard controller with two 1 GB NICs and a mini linux distribution with a single Ceph OSD installed. Unfortunately it never made it out of the lab. I would gladly pay a $50 premium per device for spinning rust to have that onboard. Perhaps the issue is with NVME-connected devices that could be a much costlier device to build? Or maybe there's no standard for housing network-connected storage devices in a rack?
We have a system of checks and balances for our social system, but we have quite literally _none_ on our economic system. This inequality of systematic checks and balances on the economy has gradually, but fully, distorted the power structure in America.

Most people in this country don't even understand that democracy and capitalism aren't the same thing... Or that we only ever serve out one of those, and it's factually not democracy. Why is that? Why do we say democracy and mean capitalism?

Now without substantial adjustment to its ability to usurp and control power; it will remain perpetually imbalanced with economic power vastly outweighing the sum of our individual social power.

People in this thread want to talk about how this potential tax isn't fair within the context of a corrupt system. Well, I can't argue against that, it likely isn't fair, but that system itself is exceptionally corrupt. So, to argue it within that context is to already have lost.

This tax is fair because we have no checks and balances on our economy and this would be _the first_. This tax is fair because there are uncountable externalities that these individuals do not pay for and cannot pay for because it would be unreasonable burden for them to calculate it.

If you want to see the swap drain, stop letting the rich fill it. Stop consolidating power into one vertical... Stop pointing at the government and saying "look at how shitty and corrupt it is," because that corruption is fueled by money. Distribute the money, distribute the power, and a lot of this bullshit will fix itself.

... I'm done, this brought my headache back.
I meant the author of this piece. I had the same realization he did. Rereading that comment it was ambiguous.
Not taking it too seriously, I still feel like atrology still is a fun thing to learn. Can anybody suggest a good reading which won't take too much time but would still give all the essential knowledge and understanding an astrologer is supposed to have? I mean the model, the formulae to calculate the deterministic part, basic clues on interpreting it etc.

Isn't it fun to study magical arts which have deterministic models as important parts of them?

I'm also curious about how does the rectification thing work. Astrologers say they can figure out your exact birth time given information about some events in your life.
I think you framed it negativly. The reason why I am not leaving, is because it's actually far better than other social networks, including YouTube and Twitter.

Google made a bad decision by closing Plus, but I guess they smelled the stench in the media, and decided it would be bad for their public image. This is just my speculation, however.

Regardless, fact remains. Facebook is providing a great service to users for free.
40% is a lot. Don't forget tech's exponential growth in jobs over the past few decades.
Defensive code would have you write 'break if i >= 10'.
this post was obviously just satire. but, just so we're clear, Paul graham's article on this concept unequivocally says this is NOT how you build a start up.
We Always Give Democrats Grief for Selling Smaller-Than-Expected Losses as Wins
> I know this stuff scares the heck out of everyone, but how is this really different from: [...]

For once, these items are not eugenics, and people try to provide their kids with what's best for them.

You can deplore that it's easier for rich parents than for poorer ones, and we should try to improve it; but it's really different from selecting genetics traits before implanting an embryo.
Facebook fought to keep trove of thousands of internal documents secret
> Those users willing to register 10 accounts don't convert to paid accounts much

Well, there are instances in our case who are paid users now.

We are operating the service under 50% margin after op cost - our closest competitor in price, charges 2-5x to ours.

I'm afraid (at least at this point of time) to put the CC requirement upfront. I may eventually go for it, if we bleed more.

Thanks for sharing your experience
Sounds like putting milk at the back of the store.
So, like in some third world shithole?
I’m also in the younger generation, but we are choosing to live in more expensive cities and being further educated and prioritizing high incomes as opposed to starting to have kids at a younger age. There is no value judgment here about the choices, but I would consider it a sacrifice to give up partying in one’s 20s to raise a family capable and willing to support you. Of course, it may also not be a good choice since earning power of those who have children in younger 20s might be greatly reduced.
Just so folks know you can sign an offer and later retract if another position comes up. It’s relatively common.
Napoleon Bonaparte wasn't emperor by accident of birth. He was emperor because he was the most brilliant general of his era, perhaps in all of history, as well as a clever politician and an extremely charismatic person, and he lived in a rare moment in history when someone could rise to the top from nothing.

And what's the point of pointing out that he was white? Almost everyone in France was back then. You're projecting modern American politics back into an era in history that was very different. As a Corsican, Napoleon actually had to deal with a fair bit of prejudice.
Which is funny, because I've heard it both ways.

For a while, as new systems were coming online, GPS was being used as a generic term, and the US system was being referred to by its original name, NAVSTAR.

But only purists would do that, and everyone else kept saying GPS to refer to the US system, so the new term GNSS was invented as the generic.

I try to say NAVSTAR and GNSS to avoid the ambiguous GPS, just like I say "gridiron" and "soccer" to avoid "football".
How does one deleting their account apply to any backups the company in question might have? Sure, it won't be in the next back up, but am I too conspiracy minded that someone so hungry for user data like Google would not work back through backups for this very purpose?
This doesn't add significant new information over the HN threads on the topic. In fact the HN threads might as well be a primary source for it.

https://news.ycombinator.com/item?id=21418232

https://news.ycombinator.com/item?id=21378471
That issue is that even fewer individuals will have more power, which is the single biggest challenge to democracy in the first place.

I'd much prefer taking money out of politics so that large wealth cant influence govt, at least before any changes to taxes.
Sorry, didn't mean this to be product advertisement, so I wanted to just link to the core code.

The user-facing product is typescript and go and in different repositories. The backend is Rust and we jumped into the async/await train some months ago already. Wanted to share some experience and how quickly in the end we were able to get a working system out with the new apis.
Regardless, the fact that someone at Github can approve such a large payment so quickly, is still impressive.
It's FACEBOOK now.
I've got an RX580; it works almost flawlessly, including for games emulated via Proton/etc.. The only significant problem I've had was when I (unwittingly) received a new Mesa installation (I'm on NixOS/unstable, so, rolling release) and everything I'd already played stopped working. Took me a while to figure out I had to delete shaders that'd been cached for the older version of Mesa. I imagine most non-rolling distros wouldn't have that problem.
> This is an absolutely huge problem for all sorts of chronic discomforts and minor mental health issues, or problems experienced by women.

This, absolutely this. My fiance has chronic health issues and she has encountered a few unbelievably condescending and dismissive doctors. Those visits not only didn't help her improve her health, they actually made it worse by greatly increasing her stress levels.

I don't know how conclusive this is but I've read some research that suggests that alternative medicine can have a mildly positive effect on health in some cases. Not because homeopathy or whatever actually works, but because having a caring and empathetic provider listen to your issues can reduce stress.

This isn't meant to promote alternative medicine, but I can get why there is an appeal for some people. The real solution should be getting doctors be less awful to patients, especially women, who have physical symptoms without an easily identifiable cause.
What do you think are bad about the examples? They all seem reasonable to me.
Neither. In the end money wins.
US is so big, there are absolutely parts of it where it isn't much different.

If you are a decent engineer in any tech hub like Bay Area or Seattle, you can absolutely walk out of your job and get a ton of interviews scheduled by the end of the week and have at least a few offers by the end of the following one.

And hiring is just as costly and difficult for employers as you described. A lot of times, we have to go through so many candidates just to fill one position, and it isn't just for something ultra-specialized like an AI researcher or a kernel dev, we are talking your run-off-the-mill solid software generalist. The estimates easily go to above 30 candidates interviewed per position filled.
Review Apps in Azure Pipelines
Going Dark: Looking for the End of the Internet, Part 1
Depends on the company.

Some design systems are comprehensive, mature, and general enough that they're suitable for use by hobbyist devs or smaller orgs that want attractive, versatile UI components but don't want to spend effort spinning up something of comparable quality internally. Ant design comes to mind as one I see frequently.

The other benefit is companies that offer extensive third party integrations, like saleforce with their Lightning design system. By making the DS available, they let third parties build plugins that feel like a part of the platform, with high quality tools. This helps negate a lot of common problems with platform plugins that are ugly/unintuitive/broken.

Design system tooling (as opposed to UI component libraries) is more of a traditional open source / giving back dynamic. Theo from Salesforce and Style Dict from Amazon are widely used as part of the infrastructure underlying smaller companies' internal design system efforts, without going so far as to influence specific component implementations or visual styles. It's akin to FB and google opensourcing data infrastructure tooling.
> making the language's type system handle the work that a person would normally have to think about in Apps Hungarian.

That sounds a lot like "type validation" to me, whereas the title of the article includes "Don't Validate"
Many years ago, I was approached by a Google recruiter for a position. After a couple of phone screens and a brief onsite, I returned for a ~4 hour set of interviews. After the last interview, with someone who would have been my peer if hired, she starts asking me about my background: where I'm from, what I studied in college, and if I was Jewish (!?).

I believe she was Jewish and she said this in a fairly congenial way, but nonetheless I was somewhat shocked. I then thought "well gee, guess I'm going to get an offer". Nope -- more recruiter BS about headcount, whether they had the budget, etc. and the finally a "not a good fit at this time" call with no other feedback.

Their interview process is terrible for candidates and seems nearly designed to make the 90% of people they jerk around before saying no to believe all the stereotypes that Googlers are all self-entitled, aloof, 1%-ers. (I have a number of close friends @ Google, but geez the organization seems to practically revel in opportunities to make itself look bad and the hiring process makes it look sooo bad).
The central problem with this is the presumption of guilt, contained in this Section 75.
The English do a good job with the crown jewels. You get on a moving walkway and stream by slowly and up close. If you want to spend more time looking, there's a raised platform behind the walkway where you can spend time.
There is no lucrative fee structure if the employer goes with a Vanguard and prob Schwann/Fidelity 401k. In fact, it’s far cheaper than the investment fees charged by pension fund managers and has greater performance. Absolutely no reason to pay all those actuaries and investors when an index funds with zero expenses do a better job over decades long timeframes.

And PBGC is woefully underfunded. It’s already needing a bailout with just a few failing multi employer funds. It’s mostly for show I presume, since this isn’t even the first time it’s getting bailed out.

https://www.bloomberg.com/news/articles/2019-07-25/house-pas...
Features aren't just checkboxes. It's about the whole package and how they make everything work together.

I need a language with minimal runtime, good support for the C ABI and structure formats, decent macros, good ecosystem and community for mainstream programming needs, and support for async.

Where else can I find that whole package?

Go has too much of a runtime, GC, and doesn't support C structure formats very well (i.e. best case you need to copy/translate them to Go; you can't operate on them directly).

C++ can do it, but the details are ugly and the result unsatisfying.

Ada lacks macros and a mainstream ecosystem.

So... what do I use if not rust?
"Every entrepreneur will leave."

It's been a long time since I looked in to this, but it used to be the case that if you gave up your US citizenship while having a net worth of over $100,000, it was assumed by the government that you were doing so for the purposes of tax evasion, and they'd continue to tax you for the next ten years.

The same could be done here, with the government getting 10 bites of 6% at wealth over $1 billion if the billionaire tries to run away. Taxation could also be made retroactive, if there was a political will to do it.

If some entrepreneurs leave others will step in to take their place.

As for the middle class being "decimated", I doubt it, as the median net worth in the US is only around $70k.

The majority of Americans won't be affected by taxes on millionaires.
That's a non-sequitur. I said the government is bad at allocating and using funds. Do you disagree with that statement? How does poorly spending trillions get fixed by spending a few more billion?

That's the problem. Solve that first, then move on to taxes.
geez... why do these things always need to happen right around the holidays. I mean the disaster couldn't wait a week or two later?
>> I believe our society would be healthier if there were only three or four orders of magnitude between the wealth of the richest and poorest households in our nation. Thus taxing billionaires is a Good Thing (TM) regardless of what the money is spent on.

> It’s always about dragging down instead of pulling up

Ok, tell me how you could reduce wealth disparity to only "three or four orders of magnitude" by "pulling up," without doing something daft like printing money and distributing it until the billionaires' wealth is inflated away?

Some real problems are not solvable by win-win solutions.
The safety benefit of removing the concern of fuel fouling will be a revolution for air travel.

I just hope they don't end up more exposed to bird strike due to bigger more efficient turbines with more composite components.
Sand might be a better example.
> What are you talking about? everything in this country is privately made
> Every storefront, vehicle, food item, article of clothing, the device you are reading this on, is all made and funded privately

Uh... dude, I got some news for you, about the country you live in.
Dammit.. was hoping Australia could silently slip under the radar on this one.

The thing that I suspect that most people don't understand about Australia is that the laws don't really mean shit all unless the situation gets very serious very fast.

I know people who have received aa requests who have literally responded with "get fucked mate, why on earth would I do that?" and the response has (for every instance I'm aware of) been "yea, true. it was a bit of a stretch"

It's rather like the Australian constitution, I'm fairly sure I've seen a joke around about it, we have one but like... no one actually cares... if shit really hits the fan I'm sure we'll all go find a copy and figure it out, but otherwise we're doing only slightly less than alright just kinda playing it by ear...
What if they were part of universal healthcare?
Previous discussion: https://news.ycombinator.com/item?id=21425804
Why would a US NYT writer have a say (even as a suggestion) on what a French museum should do?

Would they dare write the same thing for an artifact in an African country museum or a Native American one?

No, because then the arrogance would be clearly evident, and they'd be called a bigot immediately. Well, they should know that western country's museums are not their business either....

Whether the Mona Lisa is worth it, is another thing. He can restrict the suggestions to potential visitors to opt for something else...
> I think we should allow lies in political ads except in particular concrete cases

So you don't think we should allow certain lies? We'd still be creating a list of lies that people can't tell, just a smaller one.

You're still advocating for banning lies in political advertising, but only if you agree with what is banned.
https://web.archive.org/web/20191107203831/https://www.econo...
The size of these investments is just crazy. When I worked at a startup from 1999 on we were fighting for a few million here and there and money came in small steps. Now it seems a lot of them immediately get hundreds of millions. Seems there really is just way too much money floating around looking for investment opportunities.
Have you tried applying the logic of that idea to the idea itself? Seems to suggest that the rise of lies might not be so tidily explainable.

In general, I'm wary of ideas that are self-referentially unstable in the above way.

/2cents
"Liberty Leading the People" was near the Mona Lisa when I was there. It looks very drab on a computer screen but amazing in person.
Some stock market traders actually use astrology and attract investors. Some even manage to make money this way. Perhaps you'd like to read about W. D. Gann.
Yeah she jumped out to me as the exception. I don’t really think she represents “fitness” in the eyes of the consumer though, she’s more of a “power and determination” person. Her sponsors are a bank, Gatorade, and a sporting goods company. None of those companies sell their product based on beauty/fit-ness.
"free" isn't really the word we should be using at this point to describe facebook. You're mostly paying with the private intimate details of your personal life and by consenting to be manipulated but you're still paying.
I'm assuming this doesn't affect Chromium, or Chromium(-based) browsers on Android then? Seeing as it isn't mentioned.
They're all correlated, sure, but how well have we determined causation for these? Childhood nutrition I'll grant: it has big, well-established long-term effects on a lot of things. The rest look more shaky. Pre-kindergarten education, for example, has effects that look to be somewhere between tiny and nonexistent:

https://slatestarcodex.com/2018/11/13/preschool-much-more-th...

... which hardly seems cost-effective.
Well, maybe for you. I'm in the EU. I don't have to navigate a UI. I can go the UI route, or I can email them instead for a surefire approach.

Even then, the UI's for these things usually aren't actually that darkpatterned. Once you get down the first dark tunnel, it tends to open up quite well.
If you mean the jones/lins book, it's excellent[0]. Fully recommended to all.

[0] https://www.amazon.co.uk/gp/product/0471941484 I think there's a 2nd edition but I can't find it.