3,517 karma · joined Jul 23, 2021 (5y ago) · 2,823 submissions
comment 5y ago · link · parent
1 every 160 lines is a goto, and that's just a naive count so includes all header and preprocessor gunk, whitespace, some generated C code, comments, etc.
If you're talking about more pure lines if C, it would probably be close to 1% of statements are goto.
It might not be everyone's cup of tea as the pinnacle of C programming, but it's a real highly used medium-large project that has coped well with a pretty high rate of change from a very wide spectrum of contributors. So it is a good real world example of open C code you can look at that is maintainable while making a lot of use of goto.
comment 5y ago · link · parent
https://en.wikipedia.org/wiki/Engineering_disasters
Engineers don't get to put themselves up on a pedestal and claim they never do wrong, are never subject to incompetence, negligence, or other personal pressure in their lives like money.
comment 5y ago · link · parent
I can't see any possible charitable explanation for this stupidity. MBAs and marketing department run amok.
comment 5y ago · link · parent
"Deniers" aren't standing in the way of this. Even in the countries with the highest levels of deniers, they are under 20% of the population. America it's about 13%, and the people who want to do more to combat climate change is 60-70%.
Far far less popular agenda gets shoved through all the time by politicians, it's never stopped them before. But somehow in this one instance, when politicians attempt to deal with what they call the greatest problem ever to face humanity, the arch-enemy "dumb redneck unemployed coal miner" has used their vast network of power and influence to put a stop to it. They couldn't stop their Robert E Lee statues from being torn down by unruly mobs, but they'll go toe to toe with the Bilderberg Group? Get real.
It's just so hilariously stupid I can't understand why people don't see through it. Utter rubbish. The failure rests 100% on the shoulders of the politicians, corporations, and international groups who have been claiming they will do something about it while clearly never having any intention to solve the problem.
And while we are on the subject of popular opinion, a huge amount of damage has been done by hypocrite politicians and elites. I don't care if the private jets they use to fly around the world and their huge electricity-guzzling mansions "don't emit much in the scheme of things", what people hate more than anything else is hypocrisy and unfairness. Particularly when the commoners are admonished if they claim their contribution or their country's contribution is insignificant in the scheme of things, because "everyone has to sacrifice because we're all in it together". I bet that 13% would be 5% and the 30% would be 10% if it wasn't for the entitled, wasteful, hypocritical and hateful behavior and rhetoric from these people -- our "betters" -- who have proclaimed themselves to be in charge of solving this problem.
And what we should be discussing is not stuck on the idiotic yes/no whether it's a problem and whether we should do something about it. That is done. The popular mandate for this has existed almost globally but certainly throughout the west for 20 years or more. What we should be talking about is having a real debate and ask difficult questions about the proposed solutions that are not well explained to the public.
We should ask why countries with high emissions intensity of production are getting concessions. That's an incentive to increase emissions of production. We should ask why talk about per-capita concessions have so much weight, when that is a good incentive for countries to increase populations and reduce living standards for their people.
comment 5y ago · link · parent
comment 5y ago · link · parent
For general purpose compute, so such luck unfortunately. Performance and efficiency follows process technology to a first order approximation.
https://www.tomshardware.com/news/amd-increase-efficiency-of...
comment 5y ago · link · parent
if (count > 0)
total += unit_price(volume, count);
Are you confusing it with the opposite scenario: total += unit_price(volume, count);
if (count == 0)
printf("oops\n");
That test might be optimized out because divide by zero is undefined behavior.comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
The phrase "present day Austria" is commonly understood to mean exactly that.
I see nothing wrong with the title. Surely the ambiguity caused by the possibility that Austrians might be using their time machines to eat ancient cheese didn't cause you too much confusion?
comment 5y ago · link · parent
Other than the "our dumb ancestors dumbly believed their ancestors were dumb" narrative, I don't think I have ever seen this among people who who have actually seriously thought about it.
And if you're referring to dumb cavemen hitting everything with clubs "narrative" that's seen in comedy and other entertainment, I don't see why you think this article indicates we're moving away from that. Or really what the problem with it is at all, or why we would want to move away from it. Larson et al. rigorously proved it to be hilarious.
comment 5y ago · link · parent
This type of thing is not measured in instructions anymore, it's measured in off-board operations and latencies. Cache misses, latencies to poke MMIO and get back interrupts if necessary, DMA transfer to complete, device access time. In this case it seems the hardware is theoretically capable of about 12M so the core mostly be just waiting for that.
comment 5y ago · link · parent
I'm offended that people responsible for or complicit in wars and intervention and destruction of Iraq, Afghanistan, Libya, Syria, etc. have not been found guilty and imprisoned for life, while we're being preached at by these same criminals about how the collective good is our paramount responsibility.
I'm offended people are being told their freedom must be sacrificed so their hospital systems can remain as gutted and fragile as ever, years after fairly gradual pandemic with relatively low hospitalization and death rates almost caused health systems to collapse, while allowing the ruling class and multinational corporations to get away with obscene tax loopholes that could be helping to pay for an actual robust health system.
Yes I think we could make some real progress here.
comment 5y ago · link · parent
The covid vaccines do not appear to provide immunity to the disease at all (or not in large proportion, as in previous vaccines). Certainly not in all the cases they consider to be successful vaccinations, which use reduction in hospitalization or death as the headline numbers. Many people can certainly contract and transmit covid after being vaccinated.
And you can die of multiple contributing factors. If he did not have cancer he might have survived. If he did not have covid he might have survived. A significant proportion of covid deaths have various other factors like this in play though, so Colin's case is not unusual to be listed as covid, vaccinated or not.
comment 5y ago · link · parent
I fail to see the "but". This is how the corporate-political cabal operates. They go to war for corporations, they assassinate leaders and sponsor genocidal uprisings. They do the same thing and worse to people like Assange who dare to lift the lid on any of their dealings. You think something as mundane as this is above them?
What's surprising is that any of this is a surprise to anyone.
comment 5y ago · link · parent
I didn't say it should or shouldn't, I was just asking about the data you are using.
> Sure, they can drive only in routes that are less difficult. But they have a product to develop (a public robotaxi service) and areas to expand. So they don't really have an incentive to exclusively work towards artificially reducing disengagement rate.
Oh they absolutely do if people buying their shares, their services, employing them, or writing legislation, or just general public attitudes are influenced by this data.
The marginal cost of cars is so low given the costs involved that it would be trivial to add easy miles while still doing difficult routes to develop the product. Including doing most of the difficult work in other states.
> Nope, I indeed mean they are better than Tesla. There are no other (aspiring or current) L4+ systems that don't use lidar. When Tesla used to report disengagement rate in CA, they were still worse than their competitors. That and the tons of YouTube videos showing FSD being unable to handle basic scenarios tells us their current disengagement rate is far worse than competitors.
Okay, so not the objective data I wanted but thanks for helping.
> What they should be really doing is start being transparent and report safety data like everyone else.
I don't think this is really a matter of transparency given all the problems with the data and tests we've just identified. When the products and are made available to the public that would be a different matter.
comment 5y ago · link · parent
If so, I've seen quite a few of those for the Tesla FSD beta, but none for any other cars. Not that I try to find them, the Tesla hype must just make those come up more. Do you have any of them with other cars showing them go through these same routes without problems, that FSD struggles with? That might be fun to watch, even if it's not significant actual data.
comment 5y ago · link · parent
How do you expect the plebs to "push back"? You get bullied, threatened, branded a conspiracy theorist, their corporations censor you and publish lies about you. If you're a really big threat they get law enforcement and intelligence agencies to go after you, manufacture evidence, create charges, persecute you in their "secret courts".
They have six ways from Sunday at getting you.
comment 5y ago · link · parent
This seems to be a self reporting scheme for companies testing self driving cars in the state. I could find little or nothing about the details of the testing being done or methodology used by each company.
> Note that Tesla refuses to share FSD beta data because they classify it as a level 2 system. I'm willing to bet their disengagement rate is in the single digits.
Hypothetically, could company A use company employees as human drivers driven specific routes chosen by the company, while company B used volunteers from the public in their own cars driving their own routes, and both data sets would go into the same CA DMV data?
Could company A have any incentive to improve miles per disengagement to the point where they might intensively train their drivers, direct them about certain situations which don't require disengagement, etc., choose to drive on routes known to be less difficult? And could the drivers employed to do so much test driving rapidly learn more about the behavior and know when they can avoid disengagement?
If so, then I'm a bit skeptical about the objectivity of that data.
Given Tesla FSD numbers are not included, are you saying that data is showing lidar systems are better by showing numbers for e.g., Waymo and Cruise vs other non-Tesla companies which don't use lidar? Which companies are those? I'd like to understand how you're using this CA DMV data.
comment 5y ago · link · parent
I'm not sure what you mean by that.
Replacing fossil fuels outside electricity generation will require large amounts of electricity. Hydrogen production using electrolysis, electric arc furnaces, battery charging, etc.
comment 5y ago · link · parent
That said, I see sign poles flattened all the time. Paint and tire marks all over barriers, walls, and islands. People crash all the time. The old anecdote game isn't really useful, automatic driving could be 100x better than human drivers in all measurable metrics and you'd still be able to upload dashcam videos of it fucking up.
comment 5y ago · link · parent
Unless there happens to be a major group I've never heard of in that state which opposes legal minimum wages and also wants legislation to outlaw companies giving pay rises to their lowest paid workers.
comment 5y ago · link · parent
> What Winston Plywood is doing defies almost everything we have been told about wages in Mississippi — that raising the minimum wage would cripple profits, throw company pay structures into chaos, create inflation and ultimately wreck the economy.
The minimum wage of that debate is a government legislated minimum wage, obviously.
They took a story of interest and lied about it to mislead people to put a favorable spin on a political issue. I.e., modern journalism.