skysight-inc/HackerNews huggingface dataset:
This is correct, my understanding is devirtualization is quite sufficient in general and fine for Zig's allocator interface. The challenge/solution outlined in my article should not be read as "vtable bad!" but rather "vtable bad..if it means you lose ABI compatibility and have to copy struct data for ABI compatibility everywhere in the end"
As the name implies, sin taxes are taxes to discourage use. Tobacco smoking, for instance, likely saves tax payers money because:

1) Smokers pay more in taxes through tobacco purchases.

2) Smokers die way earlier, so there are less social security payments and fewer medical expenses.
A little. While I have heard it (from native speakers and non), it's less common. I also find it confusing because "least" can be interpreted as "lowest", or it can be interpreted in context of the following word: "common". "Least common" (meaning infrequent or most rare) changes the meaning to one different and misleading compared to "lowest", which is why I interpret this phrasing as sounding weird.
Yep, classic fallacy of judging actions on intentions rather than results (i.e. ignoring unintended consequences).

A. Cars get bigger because of safety standards.

B. Bigger cars cause safety issues.

C. Rather than unrolling A to adjust the original incentives, we stick a punishment (taxes) to offset some of the incentive we are placing in other areas
It's actually a problem for those of us that actually use their garage for parking, as opposed to storing more junk. Most 2-car garages are around 20x20 or usable parking space or less. Even newer houses skimp on garages, because it doesn't count for square footage, and you don't really notice when it's empty.

2 modern cars, especially a mid-sized SUV or minivan, aren't going to work well with 20' of width. Even the length is problematic for clearance and being able to open the back liftgate with the garage door(s) down. A large SUV or pickup, forget it.
I haven't been able to find any data by Google or Wikipedia - what portion of traffic deaths were caused by someone else drinking and driving?
The Law of Leaky Abstractions[1] strikes again!

1 https://www.joelonsoftware.com/2002/11/11/the-law-of-leaky-a...
In a competitive market for insurance the goal is to optimize the actuarial outcomes such that you make a margin after losses are paid out on average. Making the tables optimal and margins small bring you volume of business. Taxes have no such incentive structure at all.
Also why do [flagged] comments/submissions have to disable replys? I can understand hiding/collapsing them by default - but forbidding replies does nothing but stifle free speech and makes it so other users cannot correct misinformstion. Leaving misleading comments "hanging" like that seems wrong. It also forces users to create new submissions about the same topic just to re-open the community's ability to have a conversation about the topic. which is, even more annoying for uninterested users than keeping a topic contained in the original thread.
The objection was to the idea that such people are "virtue signalling." It's such a silly and overused-term, generally used incorrectly, and used to snear at people doing good.

No, such people generally do think they are doing something worthwhile, and worthwhile things are right to do.

If, in fact, they are not doing anything worthwhile, which this graph suggests, then that is a mistake of the facts. It doesn't mean that they were just trying to "virtue signal."
Not author, not Buddhist. But I enjoyed "Why Buddhism is True" by Robert Wright
Another one https://uz/
> And its caller would need to be generic, and so on.

My point though, was that it's extremely similar to code you already write. Zig encourages you to write `fn foo(allocator: Allocator, ...)`. That would just become something like `fn foo(allocator_type: anytype, ...)`. Sure one is generic and one isn't, but since types are just normal parameters, it works out to the same amount of typing.

> std::io::Read::read_to_end takes a Vec<u8>

In Rust, read_to_end is part of a trait and appears in a vtable, so it can't be generic. The Zig equivalent `Reader.readAllArrayList` however, is a free function that is statically resolved. Object safety isn't a concern. In fact, Reader already has generic functions, such as `readInt`. `readAllArrayList` could be generic for the same reason that `readInt` can be.
I'm confused.

What sort of advantage do you imagine a build system like Bazel would provide for you?

Build systems for C are bandaids. You would not ideally want them. They are extra baggage that you just have to carry around because of legacy reasons. It's not something to want.
The Pro and Air models have M1 chips, roughly on par with a MacBook Air
Does anyone reuse plastic bags? I keep all of them and use them for small trash cans, dog bags, lunch bags, etc. To me, it’s similar to a free useful item. But I guess most folks just toss them in the bin.
Ok, but research indicates that air circulation thru HEPA filters on planes is actually pretty good and this results in the air being thoroughly cleaned. So while certainly not fresh the evidence seems to indicate clean.
It's not a genuine negative shift, because the CPU doesn't implement negative shifts either.

It's a trick to simplify eg 'x << (32 - y)' to 'x << (-y)' and save an instruction, seen in ffmpeg, because the compilers don't always do it themselves. This works because of the shift masking behavior.
Building Web UI development in Go
Unicode URLs are scary
There's another factor here and it's large animal collisions. You're safer in a high driving position with a heavier vehicle. Here in Australia SUVs with "roo bars" are popular with people who do a lot of bush driving. There are a lot of collisions with kangaroos and other animals unfortunately and they can more easily come over the bonnet and through the windscreen of small cars.
reading between the lines of the press release about the US Defense Production Act hints that production could be for Europe:

>To reduce the amount of energy needed in our buildings, leading to less reliance by the U.S. and allies on adversaries such as Russia for oil and gas, heat pumps are an important solution. Their use by the U.S. and allies can shrink Russian revenue for war and reduce climate instability.

- President Biden Invokes Defense Production Act to Accelerate Domestic Manufacturing of Clean Energy June 6, 2022 https://www.energy.gov/articles/president-biden-invokes-defe...

I don't know what the timelines might look like for getting them made, sold, and installed or how much is a "just in case " plan; it sounds like you've read that Europe been slow to buy up what is available?
Can you support MacOS Monterey 12.4? You're only supporting Ventura 12.5+ and it isn't even released yet.
Yes but how many PBEs do we burn by arguing about this online?
Not mine, but https://doc.rust-lang.org/book/
I'm not going to make that Ayn Rand-style argument. I think it's disgusting that people stoop to that.

My point with the plane example was that we could fit larger seats in planes, without any particular trouble. The reason airlines don't is because it cuts into their profitability: requiring an obese person to purchase higher-classed tickets to accommodate themselves is much better for business than actually having to accommodate them with a wider seat.
You language has behavior not defined within the language, sure. What it does not now have is permission for the compiler to presume that the code never executes with input that would cause the behavior not defined to occur.
Huh? The graph shows that you need to use an organic cotton reusable bag 20,000 times in order for it to have the same environmental impact as a single use LDPE bag.
The chart suggests you'd have to reuse a paper bag 43 times for it to be as low-impact as a plastic bag.
Where does the sun’s energy go that is no longer going down the wire?
I wonder what will happen when browsers start supporting Handshake (HNS) top-level domains such as “.1”
Except they operate in a competitive and fairly transparent market, so it’s actually not like that at all. Insurance rates are very tuned for a variety of risk profiles to capture the specific risk segments the insurer wants to take on and they compete for price in that space. If you don’t like what it costs from A you might be able to find it cheaper with B, and B has incentive to do that.
This line of argumentation is just a cope to fend off discussion of negative externalities which spring from the same root. It's like showing up at the funeral of a pedestrian to extol the virtues of the motorized hearse.
Is there any safe way to do that? Other than set the DNS to 8.8.8.8?
I use them when cleaning the litter box, and for trash in the car.
But if it costs a lot, people would rather just take the risk and then be on the hook for way more money than they can pay. Which is why paying for insurance is legally mandated in some cases.
All they needed to do was make it so you clicked something for the paperclips help, and no one would have minded
Look at the graph! It is actual harmful to tell folks they are solving a problem when they are clearly not.
It’s become vogue to blame everything on populism. This sounds like too simplistic of an excuse, and not even a real answer to OP’s question.
Even for someone with technical knowledge this is a breath of fresh air...why go through the trouble of even writing a script? I just wanna click a button and see something
But which “you” matters here? Is it the you of the current moment, next hour, tomorrow, next month, etc…?

Any activity you do regularly and consistently will bring about different emotions and states of mind on different days. Some days you can’t wait to get started and some times you go weeks of having no motivation towards it.

I’m on a journey right now of hiking 50 miles a week. On most days, being able to get in nature for an hour or more is such a serene and grounding experience that brings me a lot of joy. But there are weeks where I don’t want to get out there, and even when I get started I don’t want to be there. But looking back, I see those days as part of the whole experience. I have retroactive enjoyment and pride in having pushed myself (type 2 fun) and I know that the subsequent 50 mile weeks are easier and more enjoyable because I kept the consistency up.

Yes, it is good to take breaks from things when you’re not enjoying them anymore. This allows you to reevaluate and get back your motivating “why”. But it can also be extremely hard to get back into a routine after a relatively short break. Anyone who has not exercised for a few weeks will know that feeling of weakness when they get started again.
I've read the book. You may be extrapolating a bit too far if you think self interest is the foundation for modern civilization, its affordances, and the high life expectancy.

EDIT: Said another way, your analysis appears reductive to the point of absurdity. Modern societal advances require a lot of collective action and self sacrifice.
Your website breaking while someone is actively trying to spend money on it is very very bad. It means someone who was definitely willing to pay you is not paying you. Ecommerce companies spend a lot of money on optimizations intended to keep users from abandoning the checkout process. Single-digit percentage improvements result in large increases in revenue. Ensuring the checkout actually functions is about the least a site can do to ensure users don't abandon the process.

A quick web search suggests somewhere between 25% and 45% of web users block ads in some way in 2022, depending on who, where, and how you ask.
Yes, it peaked with David Foster Wallace being cheered by graduating Kenyon folks when he was making a counter-example:

. . . and I can dwell on the fact that the patriotic or religious bumper-stickers always seem to be on the biggest, most disgustingly selfish vehicles, driven by the ugliest [responding here to loud applause] — this is an example of how NOT to think, though . . .

https://fs.blog/david-foster-wallace-this-is-water/
Please don't stress your coworkers with more shit. Talk amongst your friends with your woes.
12.5.1 is the latest, non-beta release. That's still Monterey. Ventura will be 13.x.
The new Hummer EV is over 4 tons and does 0-100km/h in around 3 seconds.

Between the obvious danger per the article, there’s also lots of extra wear on roads, particularly small residential ones.

Lots of external costs.
Looks like fasting in public during Ramadan is mandated by law in Morocco from 9am - 3pm. Rather than change this law, they changed the clocks during Ramadan so people could legally eat an hour earlier in the evening.
They don't apply the same technique, but they absolutely do establish the same incentive structure: taxing "vices" leads to decreased consumption[1], especially when the target isn't something you can easily sell on the black market (like cigarettes can be).

If Car B costs $X,XXX more than Car A for the sole reason that it's more deadly to everyone else outside of the car, then the purchasing envelope shifts for a large number of people.

[1]: https://www.tobaccofreekids.org/press-releases/2012_09_20_ny
But people are not, at least statistically, doing any measurable good. It is wrong to encourage non-solutions. Just be honest is all I am saying.
I bet most people wouldn’t tag your house as a mobile home. Those have very specific groups that count. Once it’s no longer mobile without a house moving company it’s a manufactured home (of which there are way more than people think).
As has been explained to you before, you're just dumping the risk onto others. There's nothing especially praiseworthy about this.
>My point though, was that it's extremely similar to code you already write. Zig encourages you to write `fn foo(allocator: Allocator, ...)`.

No function that takes an ArrayList(u8) needs to have an Allocator parameter.

>In Rust, read_to_end is part of a trait and appears in a vtable, so it can't be generic.

That's what my comment already said, yes.

>Object safety isn't a concern.

??? It was an example of the downside of Rust's choice. Object safety is a concern for std::io::Read::read_to_end. Rust's choice of having the Allocator be part of the type has forever doomed std::io::Read::read_to_end users from being unable to use any allocator for the Vec other than GlobalAlloc.
If devirtualization does reliably occur then that's probably good enough. I find myself surprised that they would rely on compiler magic for that, it seems to go against the ethos of the language. But in the grand scheme of things, I guess it's a pretty minor cost.
Presumably people bring their own bags into Aldi?
Isao Tomita
I recall learning this in a class on the automotive industry about 20 years ago. We learned about unintended consequences that caused the US automotive market to favor SUVs (see the Chicken tax [1]), and some of the downsides of SUVs.

My recollection is that SUVs have longer stopping distances because the ABS has to pause braking more frequently to avoid instability or rollover. It's possible, as another commenter suggested, that I'm recalling ESC, but that wasn't very common in the early 2000s. I think it might have something to do with the fact that the nose of a vehicle dives when braking, and a high CoG exacerbates this. But it's been 20 years, and I've scarcely thought about the course since then!

1: https://en.wikipedia.org/wiki/Chicken_tax
How does liability insurance cover the risk of an uninsured under-insured driver hitting me?

(I live in Michigan and continue to carry unlimited PIP FWIW)
That was true 20 years ago. The question is how much do you ease up the brake on that specific wheel, and then how much do you reapply it? You need to know the coefficient of friction of the road to know this. Modern controllers are doing a physics simulation of the entire vehicle, and part of this is the weight transfer as you go around a corner (which is partially influenced by the CoG). They then do a physics simulation of the hydraulic brake circuit so it knows how long to run the pump to build up the desired brake pressure.

Now of course this is combined with stability control (since that is required by law) and both of them are controlled by the same code.

(On a related note, I've spent way too much time reverse engineering the calibration for the ABS for a Silverado truck. Ridiculously huge program, ridiculously complicated, and I have a sneaking suspicion that the source code is a mess.)
There's a lot I can believe in from this defense about the benefit, but it still doesn't address what seems clearest to me: why are we spending public money to raise an insular, isolated, low-literacy but happy community? This is a select benefit, with a highly religious purpose, and I don't think this is money being spent on public benefit, and this seems like a striking, apparent, & gross mixing of church & state in funding this specific group's religious upbringing.

Yet this kind of theocratic government- government in direct support of religion- feels exactly like what the new ultra-conservative Supreme Court is trying to make happen, when they do things like strike down Maine's very popular ban on giving money to religion-based schools[1].

This all seems strikingly unwelcome to me; it's deliberately supporting not union, deliberately allowing fracturing, deliberately catering to select non-public special interests - religious special interests at that. It doesn't seem reasonable.

This article, to me, never really gets at the core issue at hand. It spends a lot of time belittling & attacking public schools; it's what-about-ism is humongous. I want this community to be about, to flourish on it's own & find success. But it has seemed to be struggling for a long time, to have dwelled inwardly in denial of it's own strcuturally poor economic health, as plenty of reports & studies far beyond the here hated New York Times. This denial of the world, of basic fact, is something I'd like to be treated with more reality, and less gloating about how awesome this community is for itself. And I'd like to see an America that invests in all of us, where church & state can remain apart, especially given the extensive tax-free benefits religious functions already receive gratis. The conclusion here, to me, is breathtaking: a proposal that religious figures ought be invited in to reprogram & redesign schools. This is the nightmare theocratic scenario.

[1] https://www.scotusblog.com/2022/06/court-strikes-down-maines...
The challenge is that while we (ideally) all strive to reuse that bag 50 times, we may fail unintentionally and end up a net negative.
how is this possible without a dedicated gPU? thought stable diffusion would require far more horsepower
We have had big cars for a really long time. Look back to the 70s, the cars then were called "boats" because they were huge and they had a lot more steel than current cars.
Yes, I agree, more people are favoring SUVs and trucks than prior generations, but huge cars have been around for decades.

I recently purchased a 79 Lincoln Continental Mark V and it is that same length as my 2020 F150 - 40 year spread, same size vehicle.

People need to drive safe and not be stupid behind the wheel. I would guess that cell phone use while driving kills way more people than "big vehicles" do (most of us are guilty of this). I feel it is a technology+cultural issue.
Western landfills are pretty good at physically containing trash especially plastic.

Our current crisis was because we more or less decided “shipping plastic away” was as good as “recycling plastic.”

So we stopped burying our plastic in a very safe way, and instead we burned fossil fuels to ship it to Asia, where they just let it get into the ocean.

If we just do back to burying our plastic (and trying really hard to collect it all in the trash stream), we’d all be better off.
No, ECS is a relatively new term. It wasn't used 15 or even 10 years ago. Unity never once used ECS to refer to their MonoBehavior framework.

"Component Systems" were popularized ~20 years ago. I'd consider Unity MonoBehaviors a typical Component implementation. Scott Bilas's 2002 GDC presentation "A Data-Driven Game Object System" helped evangelize the idea.

ECS is a new term that implies a handful of implementation details. The name is somewhat confusing, but it's not redefining a previously popular term.

I believe the first time ECS made an appearance at GDC was Blizzard's stellar 2017 talk "Overwatch Gameplay Architecture and Netcode". The term went mainstream in the years after this.
Because part of being a responsible driver is minimizing harm dealt to those around you. In the same way that that requires driving at the speed limit, stopping at cross walks, and signaling before turning, it also requires having a bumper that would minimize fatalities when hitting a pedestrian. (Internal bleeding from a chest-height bumper is much harder to survive than a broken leg from a leg-height bumper.) The difference is that the former are required by both law and morality, while the latter is only required by morality.
Black Hole's Orbiting Ring of Light Could Encrypt Its Inner Secrets
I've once been denied a visitor visa for having "insufficient funds to support myself during my stay" (in Flemish, for the FOSDEM weekend) even though I submitted my bank statement with upwards of 10k EUR of holdings, my company supporting letter claiming to be paying for the entire trip, paid-for flight tickets and hotel booking, etc. I already had like a dozen visas for other Schengen/EU countries in my passport (all for short stays, because that's how they roll — I kept changing my passports because I kept running out of pages for the EU visas in them).

Visas are an imperfect tool for whatever they are designed to do, and any sufficiently advanced bureaucracy will develop ways to misuse such a gift.

They are a complete mess, especially so from the EU countries. US and UK have been more reasonable (no hard requirements of what documentation is needed, as long as you can prove that you are travelling with an actual purpose, and once granted, it's for at least 6 months for UK or 3 years in case of the US), but luckily we've entered the Schengen whitelist since.
considering the extensively-documented problem of plastic wastes in the waterway, that alone is worth the price of admission to some sane way to reduce or eliminate single-use plastic containers, especially around food.
I believe Mdbook was inspired by Bookdown. And Bookdown has a massive archive of content that was published using it.

● https://bookdown.org/

● https://bookdown.org/home/archive/
More anti-car rhetoric from the globalist academics... No thanks, I'd rather live a life I enjoy than what they think, even if it's more dangerous. Large-scale personal autonomy is precisely what they are most afraid of.
People generally like to have aesthetically pleasing views with their surroundings. Heaping piles of junk in a yard is considered unsightly by many, and often associated with other problems.

Shaming people because they don't want to live next to a scrap yard isn't helpful or appropriate.
Drag cars have parachutes. I’m unsure why a parachute would keep you going straight only. All your other controls are still there, you just have more drag.
Can you buy a house and turn it into an empty lot? More expensive but if you end up with a quad …
But when you talk about incentive structures you have to consider both sides to understand the final price. Taking a one sided view doesn’t explain the final price at all.
The Order of Time by Carlo Rovelli is accessible to all (no math)
https://www.thinking-about-things.com and https://www.readsomethinginteresting.com are pretty good
It's a chart that summarizes complex calculations that surely depend on which assumptions you make. And most likely, similar bags can be manufactured in different ways, so wouldn't the variance on these numbers be very high, depending on the bag's source and how it's distributed?

As such, a simple chart isn't enough and I think a more in-depth article is called for.