skysight-inc/HackerNews huggingface dataset:
Content designed to answer individual questions (eg StackOverflow) is often different in form than content designed to provide comprehensive education like college classes.
A related question is how to solve quadratic equations robustly using IEEE floating point. When solving ax² + bx + c, the most common problem is when a is very tiny, or even zero (then it becomes a linear equation, which is easy, but the classic solution becomes undefined). There are other things that can go wrong.

At some point I might write up a solution, but in the meantime I'll point to code that implements it[1].

[1]: https://docs.rs/kurbo/0.8.1/src/kurbo/common.rs.html#105-149
This one's not really about partisanship but rather about cost of living and purchasing power. $15/hr would buy you a lot more in a red state, where things are cheaper, than a blue state where things are more expensive. Honestly, a federally-mandated minimum wage does a disservice to the poorer areas of the country. Why would a company (and thus a tax payer) move to a place that's farther out, has fewer services, etc if they have to pay the same for labor. It's no wonder that these places end up being resource-extraction driven -- the labor pool, which naturally would be cheaper, has been given a price floor.

$15/hr min wage makes sense in Cali and other high cost states. It should be up to the states, and really ought to be set at the local level.
Yes, that is a risk that my accountant warned me about.

But he also pointed out that it is not required to make money from Day One, and there are other criteria. IIRC, they don't have a problem until 3+ years out, and
other criteria are considered, such as following business formalities (meetings, minutes, filings), segregation of funds, accounting (&yes, filing via an accountant helps), having a storefront, business cards, website, etc. Consult a qualified accountant.

I'm also presuming the GP poster is intending to make money, so that would eliminate the issue.
The code is NS-ZCC10/18 I believe.

The keep warm feature is pretty great. I've never done anything as crazy as a week, but the most I've gone is 7 hours and it was basically indistinguishable from freshly cooked!
Well they look/behave like regular macOS apps. It's very apparent that Sublime is a cross-platform app IMO. Even IDEA, which has a god damn java UI, manages to integrate better.

They also don't reduce everything to a literal screen of text (seriously, I hit Cmd-, in Sublime to see preferences, and just got an empty text screen... I guess I have to just work out what options it has by randomly trying stuff?).

The extent of my image editing needs on macOS is typically solved by either the "Markup" tool on an image, or Preview (i.e. highlighting/drawing attention to something on a image, and/or cropping an image).
The other side might be christel, not the libera.chat ops.
Game Not Over! A Fireside Chat with John Carmack [Event]
20 years ago the case was stronger but video codecs have both soaked up the performance wins and do not expose new security exposure.

Based on APNG and JPEG 2000, the only question I have for new formats is how they plan to get browser support. It’s a hard path to relevance unless you have a good answer for that (even if it’s, say, a WASM fallback).
They're also optimized for having a driver hand-deliver packages from the back of it hundreds of times over an 8hr shift. That's moving entirely different things than you'd move in a truck. A pickup truck would make a shitty parcel delivery truck, and a UPS truck would be a shitty way to move construction materials.
And this is why we need a carbon tax. This “very efficient Audi” driver is also freely polluting without paying for it. There’s no reason why we should allow people to freely dump stuff into the air any more than dumping stuff on the ground should be freely allowed.
Casnode: A new open-source forum software based on React and Golang
> The lack of engine means the entire front part of the car is a huge crumple zone.

Crumple zones don't help pedestrians.

The new F-150 will be bigger and heavier than the absurdly huge early-00s Hummers. The hood is so tall and long that they're talking about putting forward-facing cameras inside the cab because you can't see anything in front of you shorter than 6" tall out the windshield.

If Ford was interested in safety, they would reduce the outrageous length and height of the front end which is now no longer even pretending to be necessary housing for an engine. Vehicles made to work prioritize visibility, Ford trucks are made to intimidate and kill.
And the 2004 is large compared to earlier small pickups. Vehicles keep getting unnecessarily larger.
To say business tools and confidentiality are at odds with open source is comical at best. Some of us work on FOSS as a career. We still have to sign NDAs with customers, we still upstream patches to core components.

Throwing your toys out of the ring because business is business is why open source has a funding problem.
It's certainly a political issue that comes with partisanship. And folks will do it to spite their face.

Trump could have made fighting COVID a great nationalistic crusade.... he might even have been reelected had he done so.

But he didn't like the news and picked his hill to die on despite the fact that there was no real political reason to do so.
Interesting! I didn't see that. If that's the case, that's less scammy than it originally looked.
why do you think a union would help in this ?

I live in france and all big enough companies are mandated to have union, doesn't mean that they help with salaries.
I'd suggest it sounds like a perfect project for some university students, but that may not go over very well right now.
> that this could be a good pen-test for the kernel

Not really. Everyone knows this flaw exists, the interesting part is how to fix it. Did you read the "suggestions" the researchers made in their paper[1]? They're clueless.

It's like pointing out that buildings can be robbed by breaking their windows. No shit. What do you want to do about it?

[1] https://twitter.com/SarahJamieLewis/status/13848800341465743...
I very, very rarely drive my car further than a hundred miles in a day; for my day-to-day work, a 200 mile range would be more than comfortable, and I'd be able to recharge to full overnight.

But every once in a while we drive about 200 miles to visit the in-laws, and I would be super nervous about attempting that in an EV. At best we'd be close to empty by the time we arrived, I don't know the state of the charger system on the highways we use, and we'd be stuck using a low-amp charger at their house, which would take forever.

I was 50/50 on buying an EV last year, but decided against it for this reason; I felt like we were still a couple of years away from EVs being practical for all of my use cases. I'm sure we'll get there soon, but right now they aren't a drop-in replacement for everyone's ICE.
Proof-of-stake is inherently self-referential
good point, especially if you are making money so don't have to worry about the hobby issue, and aren't engaging in any activities for which you want the protection of a corporate structure.
It's just the age-old bias of disliking what you don't know because you haven't spent time around it. It's not categorically any different from something like racism.
Regarding the box of dead CFL tubes:
Put them into the box and put the box back on a shelf. Do so with some care, and don't store a hammer on top of them. Perhaps you put the dead CFL into the container with the replacement blulb came with. Don't sit on the box. Maybe take a piece of paper and put that between this bulb and the next. Again, don't store rocks or hammers with the old bulbs. When taking it to the hardware store, put it in a paper bag and put it in the trunk. Don't sit on it, put an empty propane tank on it, or put it under your kid's car seat. Use common sense.

I agree, some CFL bulbs, and some LED bubls, and some incandescent bulbs fail well before their rated lifespan. Some companies put sawdust or melamine in baby formula. The world isn't a perfect place. There are some incandescent bulbs that have lasted 100 years. Regardless, in general, LEDs and CFL last longer. Whataboutism isn't really a good faith argument.

CFLs (and hey, why are we talking about CFL? You should be buying LED) are somewhat more expensive, but I've been able to buy replacements (that have lasted years at this point) for roughly the same price as quality incandescent.
If the world turns Mad Max, The Humungus will be driving around in the electric truck he took from some sap who expected to ride out the apocalypse with his solar panels and electric vehicle.
I love Daniel’s optimization posts, but this one seems a little too esoteric: it’s for when autovectorization isn’t fast enough (edit: or isn’t available) but you can’t or don’t want to use SIMD; it gives you a solution solidly better than the former but worse than the latter, and more opaque than either.

In all cases, obviously the real magic is in the 64-bit word comparison routine (which doesn’t get more than a passing mention); converting the former problem into the latter is extremely straightforward and obvious - if you know that optimized solutions for the latter exist (I personally didn’t know of this bit twiddling hack (aside from doing it via SIMD, obviously) and am grateful to learn about the approach in Muła’s code).
The reason I get burned out working 40 hours a week is because I don’t waste time when I’m working / in the office. I can’t seem to “take a break” because I’m getting paid for my time and feel guilty if I do.

I’ve occasionally seen co-workers on YouTube throughout the day, and I’m like, “wtf”.

I don’t see it penalized and I’m not their manager and I’m not tracking their output. I guess if it works for them then it works for them, and no one’s complaining, except my own pride or righteousness.

Maybe that’s what they need to handle a full time work load. But in that case it’s not really full time? It doesn’t feel right to me so at my current place I work significantly reduced amount of hours for a proportional paycut. And I only work when I’m working.
I think this is why I hate 2FA.

I know it keeps me and my stuff a little safer, but it's very uncomfortable, too often. The Apple one is the worst because most of the time the one-time code is on the same screen on the same device, but through a different service.
He also seems to think that bringing everyone up to a prosperous and stable level (ignore the nuts and bolts of how) would reduce strife/polarization and increase unity.

Some people without real problems tend to make mountains out of their mole-hills and be very petty over what are little differences. But I guess living in the moneyed Boston bubble it's hard to fathom that there exist people who, given the requisite good health and economist stability, would rather rip around on a dirt-bike than paddle a kayak up the Charles or would rather buy fireworks and cheap beef than impossible burger. Mr. Steward doesn't seem to understand that his tile guy and hair stylist won't magically act and think like him if their healthcare and kid's college becomes genuinely affordable. Say nothing of their opinions on the more touchy social issues or more contentions issues about how society should be run.

I'm all for making things better for the lower classes (who isn't?). But solving their problems freeing them to care about others is a stick of societal dynamite. I don't care where it goes off. I want to see it go off, I think we'll be better off for it in the long run. I don't get the feeling the author understands the full implications of what he's asking for.
I guess they could add an annoying beep every 5 minutes to make sure the switch is switched off if it doesn't need to be on.

Or have a function that the engine can't start if the switch is on (because during an update the engine should be off, although obviously the onboard computers need to be on).
I'm not at all saying that trucks aren't useful, or that they aren't the best vehicle for a lot of people and/or tasks. I'm saying that the trend right now is for trucks that are way taller than they need to be purely because the buyer prefers that look. I had zero issues with pickup trucks 10 years ago, before they turned into a political/biological/emotional statement piece, instead of a tool.
> want to be able to occasionally tow a boat or haul some furniture without needing to rent a truck.

The mystery to me is how very occasionally that seems to be, at least anecdotally. Perhaps >95% of pickup trucks I see are not hauling anything bigger than groceries. Yet, they’re hauling around their own ridiculously giant metal frame and emitting huge amounts of fossil fuels in the process. Those occasional boat trips are very net expensive in atmospheric carbon! Thankfully electric pickups will partially mitigate that problem although pickups will be hogging space in commuter parking garages for many decades hence I’m sure.
Same here. Former miner. Wish I bought coins instead. It worked out ok in the end though because I learned pretty quick. :)
By subsidizing home ownership the government is encouraging people to go into debt and funnel whatever savings they manage to scrape together after paying interest into a single depreciating asset rather than a safer, more diversified portfolio. The policy is beneficial to moneylenders and people selling houses, but these things hardly need to be subsidized.

Bob and Charlie are the responsible ones.
I have a list of my best purchases and things that will likely change the way I work for life:

Sonos Move - I now take my music outside and work during the day or take my music out in the evening.

Logitech MX Keyboard and Mouse - One mouse and keyboard for three computers. Tried Synergy and other tools but this worked much better across my home computer and work computers.

Anker PowerExpand Elite 13-in-1 Thunderbolt 3 Dock - One cable to my laptop... No Dongles but still get USB, HDMI, and Ethernet with PD Power at 85W.

Tesla Solar and 2x Powerwall2 for home - Effectively Off the grid. When rolling black-outs hit or random power outages, I stay online. Biggest investment of the year by far, but it will ensure I don't pay for electricity for the next 25 years. Sold our second car as we both work from home and used it to pay for solar. Net gain on both sides (no car payment/insurance, and no electricity bills beyond connection fee)

STÁLOGY STATIONERY Grid Notbook and Faber-Castell .7mm Mechanical pencil with HB graphite. I take this everywhere and make notes, journal, draw, design, and plan my life. Best notebook and pencil combo I have.

YETI Rambler 20 OZ tumbler with a Magslider lid - If you want cold coffee at your desk, drink from a standard mug, but if you want hot coffee and tea all day, use a YETI!.
That's interesting to hear. I have several friends with Teslas and keep up with some of the reviews, etc. But I haven't heard much perspective from people with kids. I have a few friends with Teslas that also keep an ICE for trips. I think some would vary on location. I've gone so far as to do tesla's route planner for trips we commonly take, and I'm pretty sure between having to drive to charging station, and charge time, it would add a couple hours to our trips. Then again, I tend to not want to stop much.
And "they" uses singular verbs, for the most part.

"If the user wants"

but

"If they want"
My dream car is an electric 1955 ford f100.
Right the stereotyping here is ridiculous and full of out of control virtue signaling.

If you live in an apartment complex it's ridiculous to have a truck.

But Even if you own just a reasonable suburban house with a small amount of land you need to do a lot of dirty truck type jobs every year.

I only have half an acre of land, but due to tons of trees I have yard work every year that causes me to have to do many many trips to the compost center with my car (Outback) that could probably be accomplished in one trip if I had a truck.

And almost without fail every year I have times where I have to make multiple trips so that I don't overload the cargo capacity of the car. Even a gas F-150 would use less gas to make these trips and save CO2.

I couldn't see driving an F-150 to work solo commuting with gas as something I could ever stomach, I hate that my Subaru barely gets 20mpg doing that.

But with electric I could see it. The ultimate joke would be someone driving a CUV that burns gas or even a hybrid and trying to virtue signal over someone with an electric pickup truck.

Do I want to spend $50k on a Tesla Model Y and put yard waste inside it's luxury interior on a semi-regular basis? I'm not sure. Versus destroying a luxury EV an F-150 looks pretty cool.

Bottom line you live in an apartment you don't need one of these, because you're paying someone else with a truck to take care of you. When you have to maintain property yourself you either start paying a contractor with a truck to do things for you or you start doing it yourself. When you do it yourself you start going down the slippery slope to wanting a truck.
Well if you use narrowband colour filters (or light up the sample using narrowband LEDs) and refocus every time you switch, then you could eliminate chromatic aberration completely.

You would have to slightly rescale the image for each colour but that is not impossible.
Their thinking is literally 'I don't understand why anyone needs a truck when the Google employee car park is so well surfaced and my laptop fits on the front seat'.
Strange choice of podcast for learning
> ignoring the situation completely with unpredictable results

That needn't mean "delete the code".

TFA is certainly right that this situation is killing C. But then, so is C's old type model. Rust is clearly better, so it's just as well.

That said, I think the C99 UB stance is a disaster for any language that might adopt it.

Perhaps the standard should not define `1<<32`, or `(char )0`, or signed integer overflow. But it's easy enough for a compiler to implement shift overflow as 0 (or maybe -1 if the shifted number is signed and negative), it's easy enough to perform signed arithmetic and let the emitted instructions do what they will, and it's easy enough to allow NULL dereferences (maybe the app mapped a page at address 0 for some reason, or maybe you want to catch a segfault).

> But his argument against it mixes "it would be better if it worked differently" with "A specific pedantic reading of the standard says they are wrong".

I mean, if it works to shame compiler teams into serving their communities better, I'm all for it.

> The second kind of argument seems to undercut his wider point.

No, it's a plausible argument. It's like arguing about what the Founding Fathers meant by some specific clause in the Constitution.

> pointing to a possible miss-reading of a comma is not going to do much

That happens all the time in statutory and constitutional interpretation by courts. It's the same here. We're arguing the spec.

> Convincing compilers to be more reasonable is probably going to require a very different tone.

No, it's just not possible at all, tone or no tone. The right answers were always:

1. write your own compiler that does it right
(ETOOHARD now that clang didn't)
2. start over with a new language
(Hello Rust)

Unsurprisingly we've ended up with (2).
> You'd have to be slightly insane to say that "x^2 = y^2 + z^2" is a more intuitive way to explain what a circle is than a picture of a circle.

I would expect any freshmen STEM student to recognize sqrt(x^2+y^2) as the distance of an (x,y) point to the origin. And the equation x^2+y^2=r^2 says this quantity must be fixed.

Now I wouldn't expect a student to be able to write the previous two sentences so clearly.

This gets to the heart of the paradox of learning. How to see past the clutter if you don't know what you're looking for?

The human brain is lazy and prone to skipping logical steps, as reflected in the variation in natural language (and student's writing skills). Therefore learning a natural language does not demand simplicity up front.. unlike the up-front rigor required to learn mathematics notation or a programming language.
regarding 2.

Why are companies not putting out electric gas hybrids that use a tuned generator as a backup source of energy like the Chevy Volt did? (I suspect then the vehicle wouldn't qualify for subsidies)

It's crazy to me, as it adds maybe 300 lbs to the vehicle and provides all the benefits of electric, but with the potential range of gas.

I find electric vehicles as a technology highly appealing, but current offerings atrocious. I want a privacy (crazy I even have to say this) respecting electric vehicle with a backup gas charging generator.

This truck would be ideal to _me_ if it met those two criterion, but as is it's a no go. I may just have to build my own someday. :sigh:
That's interesting, because I've noticed the exact opposite between VSCode and Sublime. What version of sublime are you using?
I don't know who initiated what and if Freenode will survive and if Libera should be its spiritual successor, but if these chat logs are real I hope tomaw isn't in charge of anything at Libera.
The real winner here is Apple and Google they get so much for almost doing nothing.

100% - $10 //
30% - $3 to Apple //
20% of 7 - $1.7 to Twitter (+inclusive of stripe fees) //
80% of 7 - $5.6 to host //

Apple and Google makes more money than the product itself. haha
Nothing eats through the huge json & text files I have to check on a daily basis, nothing comes even close... while all the funky new kids have crashed and burned trying to process the data I have to ingest, ST has been the one and only trusted source. Bravo!
A truck costs tens of thousands of dollars. Even assuming half the cost would otherwise be put towards an alternative vehicle, you'd still need to move stuff uniquely suited to a truck literally hundreds of times to make it worthwhile.
Just hardware? They don't support any of their software, either. Even Ads has been a mess for us.

I want to buy from companies that focus. I thought I did that with Nest and invested more than $1,000.

Then Google bought them and has let them shrivel and die. They don't even work well with my Pixel phone.

It feels like I bought a car from Toyota, and then Toyota was purchased by Nestle.
The people spraying disinfectant everywhere was a bit silly but also not any different from what we were doing. At the time people out here were keeping their mail outside for 3 days and sanitizing their groceries.
I know artists and entertainers have been struggling, but this method seems more effective to me than the government deciding which artists get money. Let individuals, not institutions, decide what culture they value.
I don't know, but who cares. Maybe for pollen and dust allergies.

Part of the problem is everyone feels the need to judge others. Why does it bother you that people wear masks on the beach? Why can't you just let them be?
Most folks don't realize this, but many issues are actually due to bufferbloat. Get a powerful router that runs CAKE and you'll be amazed at how little jitter will be seen while maximizing available bandwidth.

Also, if you live in a dense urban area, you'll also likely suffer from issues with available wireless spectrum and have to compete with everyone's router blasting as loud as possible.

https://www.bufferbloat.net/projects/