skysight-inc/HackerNews huggingface dataset:
> The issues with C are borne directly by the customers who are using C software. It’s not really a market failure of any kind.

While I agree that equating a programming language to a carcinogenic substance is inherently wrong, your argument is partially false too.

The cost is born by the costumers of the software, not the developers. In that sense, it's actually directly opposed to your point.
Stats on car accident injury rate vs BMI would be interesting but I'd imagine something like "the fatter the safer" (up to some level) would be the conclusion and so testing on skinnier model is harsher and will result in better safety.
They did get some very sincere apologies
Well it made sense at the time, as it was May.
It's extremely obvious... It's the subheader for the post and in the URL and if you try to reply it's what shows up in the reply body.

I find it stunning that anyone would suggest that the @id isn't a core and obvious part of someone's Twitter identity.
11.1160005300044 is a very odd looking number, I wonder if it is encoded as something.

11, 116, 53, 44
Outside the US? Maybe in addition to other media. Definitely not as their primary channel. They would be completely unknown if they did so.
IIRC a similar study was done in Europe. The conclusion was that women are indeed more likely to die or sustain serious injuries, but that the cause of that was that woman, on average, drive smaller cars. So, they are more vulnerable in a collision.

Just look around you. How often do you see families where the man is driving the big fancy SUV and the woman is driving the smaller "second" car?
There are other people, who are also mere mortals, that can understand them. I think you could understand them if you tried. You're not a dunce!
When I was a kid we had vending machines for drinks in school.

One morning I put 20p in and it immediately came back out. It wasn’t accepting the coin so I tried two in quick succession. Both were spat back out… but the machine registered one of them.

I of course would never exploit that repeatedly for a couple free drinks and some extra change too.
Probably because it's both easier to make and more visually impressive and interactive. Contour maps made the naive way are too noisy, you need to process the height data in some way first. With 3D all you need is to put a vertex in each height data pixel and use the value as a z position.

https://hkartor.se/anteckningar/generating_graceful_contour_...

http://routegadget.net/karttapullautin/
I never thought of that, and now I'm asking the same question.

Perhaps there's history or mathematical explanations to this. But, yeah, "A function that can temporarily pause itself and be returned to later" is a possibly confusing overloading of the concept of a function.
I believe the Mac OS networking APIs go a little bit of the way there - in Lulu, an open source alternative to Little Snitch, the connection prompts tend to contain (and let you filter) by the URL visited (including the query after the domain name). This isn't done through TLS interception, but I believe it's through the network extension API on MacOS receiving the URL requested, as long as the request comes through the regular APIs.

It's a long time since I looked, but I think some apps (mainly ones not using native APIs) only showed the hostname, rather than full URL/API endpoint path.

This also didn't show you the content, or method type (POST vs GET), but to do that you'd really need to start doing proper SSL inspection as you suggested.
The minimum viable product concept comes to mind. You don't have a product until you invest the effort required to pass the minimum threshold.

Another example I can think of is escape velocity. I'd venture that the principle you're asking for is "phase change", where a threshold gates a drastic change in behavior.
I saw a bunch of personal air filtration systems meant specifically for cars for sale in Delhi markets when I was there. They're devices you run inside the car to filter the air already inside the vehicle. It's probably not great, but better than nothing.

And as for the HVAC systems, the luxury hotels definitely have them going. When I was staying there night time AQI would get up to 600, but if you were at a nice hotel it wasn't bad at all. When we stayed at an airbnb without a filtration system it was really difficult to sleep, I'd tie a kufiya around my face.
It's a carbon _cycle_. We've spent a hundreds of years adding new carbon to that cycle as fast as our technology will allow, which is now very fast. It will remain in the cycle unless we sequester it back into the ground. Plants (for the most part) aren't CO2 limited, they're nitrogen limited.

The climate also isn't something that will just snap happily back into place. We're in a local minima. If we climb up this hill, we won't like what we find in the next valley.
Don't discount the fact that many europeans are actively trying to conserve and refuse to heat their house until absolutely necessary. I have 65 yr old friends in amsterdam taking spongebaths because they don't want to support russia
The US could crash BTC by trying to sell all of this now.
"The future is already here – it's just not evenly distributed."
Could be worse!

I vaguely recall a recent C or C++ standard declaring something UB that wasn't UB before. Kinda hard to search for though, so the exact case so far eludes me.
I think you will find this one amusing:

https://news.ycombinator.com/item?id=33158687
I've played around with mastodon for a few years; it never has had the the dopaminergic algorithm-fueled bite to keep me coming back like twitter does. But that's the good part, I guess.

I think my #1 issue with it is it's fundamental feature - that spaces/servers/communities/domains (whatever the name is) are self-hosted by anyone. That means if they get disinterested, or the power goes out, or they get frustrated, the plug is pulled. They also set the rules, which are too often on two extremes - extremely nit-picky (like cursing or off-topic toots aren't allowed) or a free-for-all.
Culture at Google, Part Two: The Authors
Ok, but why are the Excel macros so risky? It’s often because the underlying software or OS was written in C/C++.
There are different types of consultants. The bad rap consultants get is based on the stereotype are that they are expensive and deliver a poor-quality job. And this stereotype exists for a reason. Most consultants ARE bad, and deliver poor work.

I am a consultant. And my firm focuses on clients where we have short engagements and focus on specialty work that you can't easily hire for.

The type of work I do doesn't get you cut, because you're in and out and try to deliver a great value to your clients, and you keep them for years in repeat engagements because you do it and can prove it beyond a shadow of a doubt.

As for the former type of consultant, you'll get cut, and you'll get cut so fast your head will spin. And the reason you'll get cut is because your client wishes it could just hire employees, but sometimes they can't and they find consultants instead.
Since when does complying with data protection mean "you must own your entire tech stack and run it on prem"? Google[0] states that they don't use your data for anything more than running the service, and there are multiple pages detailing how they secure data on their servers from both employees[1] and attackers[the rest of the document].

0: https://workspace.google.com/learn-more/security/security-wh...

1: https://workspace.google.com/learn-more/security/security-wh...
Fair use doesn't apply to trademarks and patents.
>Just look at the performance costs of bounds-checking array access in C++ code.

If your compiler can prove you dont need bounds-checking it will remove the check and the performance would be the same. Hence, if your program has been proven to have no runtime errors you dont need them.
There's really no reason not to use email addresses for this use case.

Consider,

http://username:password@www.example.com/path?query=1#hash

Reduced to the parts that would actually matter (because username and path are redundant for this use case, and no one seriously embeds passwords in URLs),

scheme://username@www.example.com

So it seems that the design challenge is baking the scheme into zero or one glyphs.

username@www.example.com

Hey, that looks like an email address! A URL is an extended email address, an email address is a URL with default values.
It looks like some of the figures in the article I cited may be very wrong.

Wikipedia says that Rough has 3.3bn cubic meters of storage, so 30Bcf total and says that equated to 9 days of supply. Looking at various other sources there seems to be a lot of confusion about what the consumption and storage figure are.

50% of 9 days is sorta like a week I guess... so that would add up.

I think that there is a lot of confusion because of the difference between peak winter demand and normal daily demand. If one is boosting the capability I guess you would quote in terms of normal daily demand. If one was trying to show that it's pointless keeping it open then maybe you would do it in terms of peak demand.
I don't think Facepunch is still online. Unless there's an archive somewhere?
I'll use your nice response for an actual question/remark, gotcha! =)

Recently I had a look at the kubeshop-dashboard repo[1] and their use of the RTK Query API[2]. When I write the boilerplate for any SPA nowadays, I usually like to merge any fetching logic with the lib-specific notification/toast-methods, in order to render something to the user about any reached warning- or error-timeouts for each ongoing fetch by default. Meaning:

- every new fetch would start a timer

- after 10secs a warning-notification is shown "a fetch takes longer than expected..."

- and after 30secs the AbortController signals the cancelling of the ongoing fetch and an error-notification is shown "fetch took to long. click to try again."

The implementation of react-query, its "hook-yfied" nature, makes it super easy to wrap it and merge it with the component-lib to create such a thing. I just need to wrap its provided hooks (useQuery, useMutation) with "hook-creators" (I usually call them createQueryHook and createMutationHook) and don't need to dive into any of its implementation specific details.
But createApi, as provided by RTK Query API, makes this quite a bit harder, or so it seems to me at least. How would you wrap createApi to provide such a functionality for every fetch by default?

[1]: https://github.com/kubeshop/testkube-dashboard

[2]: https://github.com/kubeshop/testkube-dashboard/tree/main/src...
The price of using simple examples is measured in pages of pedantry
October Revolution (7 November 1917)
Are you familiar with flat_map? It's the ability to take, for example, an iterator, then map over each element which itself can return an iterator.

Similarly, you have Option::and_then, which takes a callback that takes T and returns an Option<T>. Or Result::and_then.

"Monad" is simply the umbrella term for all flat_maps, and things like it, in existence.

Why would you want to abstract over it? For one, it's a surprisingly common design pattern in programming. You also quickly notice, for example, that filter_map is actually just a special case of flat_map since Option implements Iterator.

You can also study the properties of how such patterns behave. Monads are particularly interesting for a number of reasons. Monads are a kind of "most general" and least constrained form of sequencing, and it turns out that if your large-scale system is monad-like it can have a significant performance impact!

You don't need to have a thing called "Monad" in your type system to do any of the above. Having a thing called "Monad" in your type system does let you write code that abstracts over all flat_maps (and things like it) in existence, which has been used in the Haskell world to build a number of interesting libraries. But "monads" as a concept are useful to everyone in programming.
I love the look, I wish I knew what I was actually doing :D
I think in many aspects of life, sure, but here it could simply be something akin to how the US air force realized that the idea of "average" seating in jet planes was dangerous and completely divorced from reality, driving their push for individually customizable seating. I think it's still ubiquitous that we measure things that aren't clearly generalizable across a wider population, but we think they are.
Yep, the famous banned PA comic (you can still find it, of course).

But this response comic was parody of the subject matter, so it is fine: https://www.penny-arcade.com/comic/2003/04/28/read-it-before...
If generators were treated as first class concerns in JS, they'd be so much more useful, but for them to be useful today you have to do alot of work to make it so in my opinion. We need iterator helpers to make them more useful built in to the standard language.
I suspect you're right. Efforts to make cars safer for women will succeed, but at the same time they'll also make cars even safer for men. The 'average' man is able to survive more physical trauma than the average woman, because the average man has denser bones, muscles, etc. Consider that 4x as many women than men have osteoporosis. Disparities like that will lay a heavy finger on crash data.
Peloton founders launch new retail startup focused on custom rugs
> To illustrate the point with arbitrary numbers is a 1% improvement worth $10B ?

The NHTSA uses estimates for "Statistical Value of Life and Injuries" and "Value of Travel Time": https://www.transportation.gov/regulations/economic-values-u...

For 2021 they value a life at $11.8M: https://www.transportation.gov/office-policy/transportation-...

Very roughly, if your 1% improvement cost $10B/y, the NHTSA would consider it worth it if it averted at least 847 (10B/11.8M) annual deaths.
It's hard to think about how much technological change, and economies of scale played a part in our history.

In the 1920s suburbs became possible because of telephones, light bulbs,and radio, as much as they became possible because of cheap Model-T's. Lumber could be trucked in, instead of using horses to bring the wood to trains, or floated down river, dropping the cost of housing materials.

Real Estate was expensive along rail lines, but cheaper even a couple of miles away. So now developers could build diagonally out from rail lines.
There is an average child test for 6 and 10 year dummies at NCAP AFAIK.

Car seat sizes should not be relevant as all children should have some form of riser/child seat to be properly protected (and never front facing on the front seat).
I'm surprised every healthcare related business doesn't either ban PowerPoint or block this "feature" somehow.

I work in healthcare, and the legal department bars me from using Google Analytics for HIPAA reasons.

Meanwhile, IT made Chrome the only browser the employees are allowed to use on every Windows machine in the org.
Consoles and iOS/Android are by far the dominant gaming OSes. PC gaming isn't even all that huge slice of video gaming, let alone computer usage as a whole.
Opening our borders will solve just about everything
Sort of like how porn started credit card payments?
Has anyone used the Remarkable 2? Amazon is also releasing the Scribe on November 30 that seems to fill your wish list (except for the calling home).
Thoughtworks runs their own instance. They adopted Mastodon a very long time ago.

https://toot.thoughtworks.com/about
Median is an average.
>I think Arch and FreeBSD have a lot in common,

Well yes sure, Arch was made with Crux in mind, and Crux is:

https://crux.nu/

>>CRUX is a lightweight Linux distribution for the x86-64 architecture targeted at experienced Linux users. The primary focus of this distribution is keep it simple, which is reflected in a straightforward tar.gz-based package system, BSD-style initscripts, and a relatively small collection of trimmed packages.

https://en.wikipedia.org/wiki/Arch_Linux#History

>>Inspired by CRUX, another minimalist distribution, Judd Vinet started the Arch Linux project in March 2002. The name was chosen because Vinet liked the word's meaning of "the principal," as in "arch-enemy"

BTW Crux is still a great distro, limited packages yes, but absolutely simple and rocksolid.
It's all very academic and I don't have a strong opinion on it either way but I would say C has a relatively simple syntax (no classes, no inheritance, few keywords, few symbols in its syntax etc.) but its semantics (i.e. how to use the simple syntax to produce correct software) are fairly complex.

In comparison, Go has both; a relatively simple syntax and semantics, (except for a few exceptions).

I guess people focus on the syntax part of Go to say it's like C and the semantics being easier is what makes it better/a successor? It's all rather vague and I'm not a proponent of this mantra myself, but that's how I understand it anyway.

With regards to the stdlib, that doesn't violate 'less is more' if you argue from a 'things to learn' point of view. A large stdlib doesn't really add to the complexity of the language feature set itself. It just provides utilities you don't have to write/hunt for.

In comparison Rust just added support for generic associated types. That's a language level feature, in that sense Rust is more akin to C++ than C.
Go added generics, but apart from that it doesn't tend to add 'big' language features.

And if you adopt this mindset and close one eye it can just about make sense to liken C and Go.
Transactions and Isolation Levels
The main problem with relational databases is that any developer implementing an application executing SQL queries should understand how DB works under the hood, why and when to start transactions, and what’s the difference between isolation levels. So, that’s not enough to just know SQL or some ORM. Read this post if you’re not sure what are the proper answers to the above questions. Also, we will discuss some differences between relational database implementations. You’ll see, for example, that REPEATABLE_READ and READ_UNCOMMITED work differently in MySQL and Postgress. The discussion is very practical. There are lots of examples. For instance, we not just talk about pessimistic and optimistic locking but also when it’s crucial for your application. I hope this post will clarify all questions that you had about transactions.
Ask HN: Any HN AA Groups?
I’d like to talk to my type of people.
Which you can use on Linux however it's missing sudo -e and emacs tramp doesn't work with it.

Sudo -e FILE opens a copy of the file with $EDITOR and then moves copy to replace FILE

Tramp opens a file including present buffer and writes it as root to achieve the same effect.

EDIT Tramp now works correctly for me sudo -e is simple enough to script looks like a winner for simple things when complex isn't required
Ouster and Velodyne (Lidar) Announce Proposed Merger
journalist's thread: https://twitter.com/JeffHorwitz/status/1589365495702360064

>We aren’t in a position to confirm the exact size of the cuts, but this is likely going to be the biggest round of tech layoffs to date by a margin. Many thousands of people will be getting laid off.
I went Kubuntu, even on my gaming PC, decided to cut my losses as far as any games that don't work, and it has been worth it. I'll never return to Windows. Proton + Steam + Heroic has made so many games easily playable and installable, and my game backlog is so big, that I'll always have something to play. (I don't play any games with anti-cheat issues on Linux, only play a few multiplayer games at all)

Sure, if I need a deep-level photo editor like Affinity Photo (or some other occasional-use tool that does not have what I consider a good enough equivalent on Linux), or a situation where I'm bought into ecosystems and particular tools somewhat (music production - plugins + Studio One) I may turn to a secondary machine with another OS. But these are very specific use cases.

For 90%+ of my daily home PC use, it is all Linux.

I am so glad to be out of Microsoft's realm for the most part now. It feels good not dealing with the BS of Windows. Computing is enjoyable again.

If Canonical ever crosses a threshold where I feel like they're becoming too much like the corporate operating systems, I'll switch to something else, and switching will be relatively easy.
It probably creates a snowball effect because examiners frustrated by their inability to do quality work within constraints they are given, probably churn out , so lower qualified ones/having less options, stay on the job, resulting in further decrease of quality... You must be onto something.
Day of Eight Billion
It's clearly a parody. I really can't understand the potential for brand damage here ¯ \ _ ( ツ ) _ / ¯
On the other hand, Atlassian’s stock lost 66% of its value, and it could be because investors notice that converting people to the Cloud is not currently working.

Atlassian should have better bet on their Server solutions, but they really really wanted to be a cloud operator. “For strategic reasons.” Maybe for governmental reasons, who knows.
Ah, very interesting to read about Subsonic being used here. I was in the market for a similar setup a while ago and tried a bunch of different servers. Navidrome was clearly one of the better ones but didn't seem to support folder-based navigation, which I want to use (since most of my music is not structured as album-per-folder but rather as playlist-per-folder).

Like a good HN user I ended up writing my own Subsonic compatible server [0]. It also does things mentioned in this blog post series, like automatically grab cover art and metadata from Musicbrainz/CoverArtArchive, Discogs and last.fm. I haven't officially released it yet since it's missing a few features (most notably transcoding, documentation and support for deleting files) but looks like it might be worthwhile to spend that effort. If you're feeling brave, you can compile it from source or grab the Docker edge image[1].

It looks like I missed evaluating https://github.com/sentriz/gonic though, so I might give that a go as well.

[0] https://github.com/datatrash/beatlocker
[1] https://hub.docker.com/r/datatrash/beatlocker-server
+1 for the export control stuff, even if I think it might be worse for MS than for the actual customer. At least I hope...

Edit: As was pointed out elsewhere, the phoning home stuff can be turned off at org level. So MS will not be affected by any fallout of potential export control violations.
I wonder at which size it makes more sense to put radius on clothing...
In general, most of the times when something "newly" becomes UB, it was already UB in practice. The most obvious case was the C11/C++11 definition of INT_MIN % -1 to be UB (as everyone tends to implement % as part of a combined / and % instruction, and INT_MIN / -1 is clearly UB).
This just gets more and more embarrassing for Elon with every passing day.
No - found a reference:

https://www.msrgear.com/stoves/stove-accessories/heat-exchan...
There are a lot of roads in the US with a 55MPH speed limit and no lane dividers. In many states, all rural roads with no posted speed-limit have an assumed speed limit of 55MPH. People drive 60 on such roads all the time.
>Weinstein is the boss. So you'd never give him immunity to the case, he's the target.

In the article it says that Weinstein was practically given immunity to personal lawsuits related to the class action. Individual members of the class were able to retain the right to sue him personally in exchange for taking 1/4 of their payout in the bankruptcy proceedings.

Anyway, aside from the specific inaccuracy of what you're saying here, this whole argument is mush-headed slop. You're talking about criminal cases, the article is about bankruptcy proceedings and civil lawsuits against individuals. You might as well say that you'd never give Weinstein immunity because in video games making some enemies fully immune to elemental attacks makes class balance difficult.