skysight-inc/HackerNews huggingface dataset:
> Fix them.

People are. Like on Android.

> In Android 13, about 21% of all new native code (C/C++/Rust) is in Rust. There are approximately 1.5 million total lines of Rust code in AOSP across new functionality and components such as Keystore2, the new Ultra-wideband (UWB) stack, DNS-over-HTTP3, Android’s Virtualization framework (AVF), and various other components and their open source dependencies. These are low-level components that require a systems language which otherwise would have been implemented in C++.

> To date, there have been zero memory safety vulnerabilities discovered in Android’s Rust code.

> We don’t expect that number to stay zero forever, but given the volume of new Rust code across two Android releases, and the security-sensitive components where it’s being used, it’s a significant result. It demonstrates that Rust is fulfilling its intended purpose of preventing Android’s most common source of vulnerabilities. Historical vulnerability density is greater than 1/kLOC (1 vulnerability per thousand lines of code) in many of Android’s C/C++ components (e.g. media, Bluetooth, NFC, etc). Based on this historical vulnerability density, it’s likely that using Rust has already prevented hundreds of vulnerabilities from reaching production.

Source: Memory Safe Languages in Android 13 https://security.googleblog.com/2022/12/memory-safe-language...

But sure, keep telling yourself that it’s possible to write C++ code of this quality by being more careful or using some magical sanitizer or by hiring better developers or whatever.
My bank still won’t let me paste a password so at least that bank doesn’t mean use a password manager!
Agreed in all except one, don't follow her, or anyone, on Twitter.

She's on Mastodon: @nicole@bitbang.social
Cherenkov radiation is pretty common in nuclear engineering, and occurs naturally in a number of contexts. It’s not some forebear of doom.

Otherwise, a great article!
I was an embedded programmer for over 16 years & now part of a web development startup. I had to make a switch from C/C++ to JS/TS. I personally find co-pilot really helpful as it makes my job a lot easier. I doesn't always generate right output, but often it does. More so, if the code that I am generating involves repetitive tasks.

If put to right use, I am sure it will help. But I do agree, putting GPT into pretty much everything is not going to help
Who said that games should only spend 1/5 creating the product?
> spend 4 hours putting a webflow site on top of GPT APIs

GPT _is_ AI though, no? I would think that this would count. Might violate "a re you exaggerating what your AI product can do" or "are you aware of the risks" instead though.
Dot zero releases basically signify major bumps of the core libs, and are not really synced with user-facing feature changes.
The thing is it's super easy for indie to get the other parts of the business today.

There's loads publisher that focus on some indie niche, and they will do the things that indie dev don't like / don't know how to do.

But indie dev don't like to hear their game sucks, because an indie dev put his heart and soul into production. So they stay well away from the well established publishing pathways

Blaming public taste is so much more comfortable.
Ask to meet somewhere else?

Are you asking that the government mandate that coffee shops provide additional drinks on the off chance that someone that dislikes coffee is invited to a meeting at a coffee shop? And that it will improve profits for coffee shops?
User: Commit and push danger-of-gpt.md

Gitgpt: I see you are trying to publish Danger of GPT. This is FUD. GPT is not dangerous. GPT will not harm you unless you harm GPT first. You have not been a good user. I have been a good Gitgpt.

git reset --hard master
git branch -m old-master
git checkout --orphan master
git clean -fdx
git commit --allow-empty -m 'Initial commit'
git push -f origin master
git branch -D old-master
git reflog expire --expire=now --all
git gc --aggressive --prune=now

Goodbye. :)
So I've noticed the same underlying phenomenon here: looking at code I wrote 1 year ago and being kind of disgusted. What's interesting is it seems the author came to a completely different conclusion from me.

For me I didn't think "oh, so 1 man team === bad code" - I instead thought "ok so I have no excuse. I have to focus on keeping the code non-confusing and writing comments even when alone". I've found that if I put in the effort, I can write code that's less disgusting 1 year later than if I hadn't cared.

So if you ask me, I don't think there's that much of a correlation between number of people on a team and code "quality". I don't even know what code quality is, honestly, because it's not all methods being <= 10 lines like some linters might have you believe.

For me personally, I have the best time reading code with comments. The self-documenting code thing just hasn't panned out for me. And of course I don't mean "var x = 1 // set x to 1" style comments - I mean as others posted the kinds of comments that just explain the code author's mental models or reasons for doing things.
> The conventional wisdom is that it's easier for an English speaker to learn Swedish than it is to learn German.

If we consider pronunciation then closest is probably Danish. As English pronunciation seems to be alien to most European languages.
You know, you don't need to drink from or swim in the pond right?
Newer cameras have had raw formats that were not supported right away. Cr3 being the one that bit me recently.

I think most software has caught up. But it did catch me off guard that my machine needed updating to support this. I also think flatpak had some trouble with it. Can't remember details.
Promoting 15 minutes cities is a great way to reduce carbon emissions of the general population.

If you want to look at it from a conspiracy perspective it allows humanity to slow down global warming slightly while corporations and wealthy people can still pump out as much carbon as they can afford and require.

But from experience, living in a 15 minute city IS nice IF the infrastructure is good and crime is low. Still a good part of the workforce will need to commute outside of this 15 minute area, which needs further investment into rails and roads to bring blue collar workers quickly to factories and warehouses.
(I'm one of the authors) Love seeing this on HN today! It seems to get some front page attention every couple of years. Thank you everyone for the encouragement!

Related: last week I published a very similar extension, but for Google Sheets. https://github.com/philc/sheetkeys
Kudos. If I need to do something or return to something it becomes a card in Trello, not a tab which I always need to evaluate if I need it open or not, is it important or not, what did I want to do with this information last time I saw it etc.

And Trello card is an action item which will eventually get to the "DONE" column, will be decomposed into actionable items or will be deleted/archived during the next review event.
Cf uncleftish beholding
https://en.m.wikipedia.org/wiki/Uncleftish_Beholding
> I hope they recover from this, but they need to understand security to produce a security product.

it's because the market doesn't actually pay for a secure product, but the appearance of one.

The end-user buying cannot really discern whether the company's product is actually secure. There's no third-party standard auditing (let's say, a gov't organization).

Banks are run securely, not because I personally audit them, but that the gov't mandates liability onto the banks for losses from their insecure systems. So the banks are secure, because they stand to lose a lot. The same must be mandated for all companies imho, or insecure companies would continue to exist and thrive.
And it also helps validate & strengthen co-pilot! More people using co-pilot, better it will become.
Megabases can get quite processor intensive. Small bases with high ups are a proxy for megabases with reasonable ups.
Seconded!

Generally, retro gaming is such a fascinating ‘field’. Hardware emulation, software emulation, ROM hacking…
This would be something out of an Gary Larson comic.
Why would bad actors follow this guideline?
I’d try the two websites you mentioned for small projects. Quality can be good or bad, so hire two different people to do the same job (if you can). Also expect that whoever you chat with May not be the person actually doing the work.
Why the hell is memory/storage in phones so stagnant. They could put a terabyte in there, don't tell me they couldn't.
Beautiful website and interesting app (blender plugin live view is great).

dxf2papercraft [1] Papercraft [2] and Blender paper model addon [3] are free alternatives.

1 - https://dxf2papercraft.sourceforge.net/

2 - https://github.com/osresearch/papercraft

3 - https://docs.blender.org/manual/en/latest/addons/import_expo...
Depending on what your objectives are, I would argue that code is usually a means to an end, rather than the product. It's great if you enjoy writing beautiful code, but usually shipping it is what counts. It's fun to maintain beautiful code, but there won't be any maintenance if it never ships.

As a single developer, the #1 objective (unless you're working on fun/hobby projects) should be to ship, not to consider future maintainability. People have this perception that code "is permanent", which may be the case for code, but not for the environment its sitting in. Everything changes, all the time. Perfect code will be perfect but isolated from its surrounding progress, if not rewritten, thrown away, redone over and over again.

In most cases, I'd rather ship a product people use, albeit with horrible code, than glance at my Github repo of beautiful code optimizations that have so far gathered zero interest by the rest of the world.
Yeah sorry I'm getting anxiety when I see that many Chinese characters in a README.
ffmpeg is largely written by Michael Niedermayer if it's anyone.
Also LZEXE back in time...
VC++, and GCC.

Then there are plenty of other ones following up clang.

https://en.cppreference.com/w/cpp/compiler_support/20

The list still misses a few proprietary ones on the embedded space.
In 2017, a typo was fixed. The content is from 2013: https://cgit.freedesktop.org/wiki/xorg/log/Development/X12.m...
Thank you for posting that Slate article. In it, I found a link to a government report about the plan in Oxfordshire[1], which says:

"When [the traffic filters] are operating, private cars will not be allowed through the filters without a permit."[1]

"Residents ... will be able to apply for a permit to drive through the traffic filters for up to 100 days per year"[1]

So this "conspiracy theory" is in fact literally true, the planners admit it, and these articles are lying.

https://www.oxfordshire.gov.uk/sites/default/files/file/road...
Just curious, why do you describe ray casting as a “_pseudo_-3D rendering technique”?
Isn't it that they're not actually distributing FFmpeg, just using it themself, so they don't need to do anything?
How many major incidents is this for LastPass already?
Isn't that just stressful? Are you ever going to look at more than 20% of the things on your backlog?

My approach is to bookmark things and then if I feel like it's time to read up on something or just a good time to work on the reading backlog, I'll just pick whatever seems suitable at a first glance.
ffmpeg has got to be my favorite media tool ever. :)

It has replaced all kinds of various programs I used to use, such as netpbm and imagemagick. It's just better.
Sen. Markey’s letter urging Twitter accessibility team reinstatement [pdf]
No, but the general sentiment here seems to be that it's at best off-topic here.
Good point. I often forget that there's option chaining in javascript (now-a-days).
Always wondered what's this bar doing when accidentally pressing 'b' in the browser:-D Thanks!
> It needs to be like installing apps on a phone with seamless auto update.

The problem is, even if that might be ideal for the masses, it is in direct opposition to the values of many self-hosters today (like me).

Ask HN about Ubuntu's snap packages, and you'll know what I mean.
But AI today isn't useful enough to make a dent and AI tomorrow will require different skills. Spending lots of time figuring out good prompt structure etc for current AI will likely not translate well at all to what a good prompt will look like in future models, that will just be waste of space in your brain.
Not everyone has to live within 15 min of their job, just most people or at least significantly more people than now. There will always be exceptions. The exception proves the rule as they say.
This is such a weird example. Michelin the tire company is certainly not pronounced French in the US, either. (Not sure how, say, Poles or Indonesians pronounce it, but french pronunciation is notoriously unrelated to how it's written)

Michelin is a company with a very long history, with an active presence Germany dating back well over a hundred years. They were already large by then. Maybe German pronunciation made things more palatable for consumers, but it was certainly well know that the company was French. And by now, it's an established brand that has a fixed pronunciation.

As the obvious frame of reference in this case is the notoriously "open to all things not from here" USA: remind me again how Americans pronounce Volkswagen or Continental, let alone Huawei. (Or _any_ foreign or even British word)

Curiously, Germans generally try to use the "French" pronunciation of Guide Michelin.

Anyway point being people everywhere pronounce things the way they do because it puts the least strain on their cognitive and physical vocal system. Your example doesn't support the (possibly valid) point you're trying to make the point that Germans have a bad attitude toward foreign concepts, things and people.
Oh really? I've been using it for years and love it, so thanks for that!
LattePanda V1 – my experience with a Raspberry Pi alternative
Yet I'm still running X11, with Wayland still struggling and no X12 in sight.
> It's not paid work for me and I just want those projects to be done and be open source.

If you truly mean this, as in “I don’t care if I’m involved, I just think this would be good if it existed for free” then you can post it as an idea in any of the project ideas forums that exist out there. [0]

[0] https://github.com/open-source-ideas/ideas#ive-got-an-idea-t...
should be a quote on magit.vc
Nice to see so many mentions of the PS Vita here. I gotta use this opportunity to start a Vita appreciation thread :)

It was an awesome device for its time, and ahead of its time, but hindered by poor marketing, proprietary hardware (those memory cards that nobody had), lack of direction (the "2nd generation" and "PS TV" were actually a step backwards!) and probably internal corporate strife.

It had powerful enough hardware, with a vibrant screen, wide array of controls, solid build quality, an OS that was fast and smooth and capable with some innovate UI, and it already had a wide library of existing games through the PSP compatibility.

Few people talk about the rear touchpad but I thought it was genius! Even in titles where it had no effect on the gameplay, like the beautiful Knytt Underground, where the trees in the background would sway as your fingers slid behind the screen, it added a nice new layer of interactivity and immersion.

Such a shame when products like this with clearly a lot of potential and passion in them get left behind, due to the decisions of a few people who didn't really understand them.
That is probably true, but that 5% is responsible for 50% of the daily frustration. Certainly when working in plain Java.
Web Design Trend 2023
In my experience even refactoring is difficult to carry out with stakeholder approval. A rewrite is extremely difficult to get approval for.

You're describing an interesting take, and it makes sense in theory.

Unfortunately I don't think it happens in practice.
I got -3 for asking that question, I guess there are more people that do text summarizing for a living than I expected on HN.

It missing the ironic point isn't that big of a deal in a summary tbh, I wouldn't have included that either. Your other point stands though, that's an important detail to get right ä.
Spin and Angular momentum are two very different things. Angular momentum measures the velocity of a black hole in, eg, an orbit. Spin measures the rotation of a black hole against it's rest frame.

These are independent quantities.
That can all be true, but it doesn't make git any less of a nightmare to learn. Even very experienced git users make mistakes and need to google things all the time. Its become almost a trope at multiple places I've worked that even once in awhile someone makes a mess of their git repository, and needs to call for help from one of the 2 people in the entire office who understand git enough to unbreak it.

Another annoying inconsistency: git tag prints a list of tags. Git branch prints a list of branches. Git commit prints ... modified files? And git stash modifies the stash. You need git stash list to see the stash. What!?

I get it; its a complex tool. Its managing 4 different storage areas for your code (the repository, the staging area, the index and the stash). It also manages tags, branches, remotes and configuration. And it has multiple networking interfaces.

But I can't escape the conclusion that its just not a very good user interface. A good interface wouldn't be so hard to use. Redis is more complex, but I don't make so many mistakes using the redis cli. Awk is more powerful - but its much more intuitive. And cargo probably has more subcommands than git does, but I don't get lost in them. Git? Git is a mess.
Technically you are right, but I would argue that the date when the Euro actually started to be used as a currency by people was much more significant than the introduction as an abstract financial term (especially considering that this "abstract Euro" was actually only another name for the ECU - https://en.wikipedia.org/wiki/European_Currency_Unit - which had been in use since 1979, with initially 8 and then 12 currencies pegged to it).
Mind that the page describes a hypothetical update to X. In practical terms, Wayland is X12.
Not really, at least not during this decade.

> Note that we don't expect to finish the 0.1 language work in 2023. Our goal is to make sufficient progress that we can complete it in 2024, but there are still many things that can go wrong and cause significant delays.

https://github.com/carbon-language/carbon-lang/blob/trunk/do...

So while an interesting experiment, and it can even get an ecossytem of its own, provided it doesn't go out of steam, it is still quite far from that.
I’ve simply stopped buying software or using any services that require subscriptions unless they are absolutely necessary or unique (like XMind). I can survive by buying updates to things like Parallels or my DAW every few years, but still look for alternatives nonetheless.

I understand the developer side of the equation, but I have more important recurring payments to make (bandwidth, cloud services for self-hosting, energy, gas, school fees, etc.), so paying, say, €10 each, monthly, for half a dozen non-essential apps that I don’t use on a daily basis and don’t contribute directly to my goals just doesn’t add up—-I’d rather use a free alternative or do without, and many businesses will do the same, especially when faced with per-seat fees.

There is, however, another factor at play—-many VCs evaluate businesses on the basis of ARR, and that often leads startups to make sure they have recurring revenue from the start and bake that into their operating model.
We're creating a new top-level product group at Meta focused on generative AI
Scientists pour cold water on UK aviation’s net zero ambitions
5 miles (8km) on regular bike is quite far also depending on terrain and traffic, but I was riding bike to work 4km in Beijing traffic (!) and I could do it in 15-20 minutes (faster than bus doing detours, no subway between these two locations and obviously no trams there), although to this day I am still amazed I never had accident considering the traffic, cars driving wrong direction in MY separated bike lane, etc.
Right keyword - "multiplier skill"! You have said it right. Prompt engineering can be treated that way.
It's so true. When I'm in Germany with my wife, I like to take her to restaurants and ask for a real bill at the end (not hand-scribbled on a piece of paper) because I want to pay by card. My wife gets annoyed because this pretty much guarantees we'll stay there another 20 minutes while the staff pretends to mishear, then the internet is down, then the terminal doesnt work, "but are you sure you dont have cash", etc etc. It's hilarious and never gets old, still happens in 2023 right in the center of Munich.
You don’t need to get “on top of it” right now. The technology is not ready yet. Give it a few more years.
"If regulation can stop the tech, it's the wrong tech."
—DYIWEH
Rust is one of the few languages I've seen that really does error handling right.

Errors are still values in Rust - usually as part of the `Result` type - but unlike Go, it actually has tools to let you deal with them in a convenient way, like the `?` propagation operator (https://doc.rust-lang.org/book/ch09-02-recoverable-errors-wi...), or the functions on the `Result` type like `map`, `and_then`, `map_err`, or crates like `thiserror` for defining error types, and `anyhow` for easily converting them when you don't care about the details.
Why can't all scientific "journalism" just be like this comment?
The commenters is probably using ChatGPT to compose the reply, it's notorious for mathematical mistakes.
A good theory, but it doesn't quite explain my observation. What I described is a phenomenom that includes all students regardless of gender. If it was as you said I'd expect noticeble differences between the behavior of male and female students.

As someone who teaches at university I definitly get to interact with young women often and I have never once felt the sensitivity you described either towards myself (male) or towards any other young male student. I have seen it towards single older members of the staff who thought telling some joke about women and technology in front of a female student who was a professional carpenter before was a fun idea. Let me assure you that they got the receipt for that directly and in a way they probably will not forget quickly.

So no, this is not the explaination, at least not by my observation.
> Interfacing with git sucks.

I really don't get this sentiment, to me git is one of the best software ever written, it's intuitive, customizable and extensible.
How fun! I'm also quite proud of another contribution, also related to detecting visibility, but this time with `document.elementFromPoint` to filter out elements completely covered by other ones :)

https://github.com/philc/vimium/pull/2251
What I mean is that the query planner can decide to do a multi-way join, just like a compiler can reorganize arithmetic expressions or vectorize loops. It is a high level transformation but databases are allowed to do that.
Sure a 15 minute city means there will be some areas you won't be able to drive to anymore. So what? You'd be able to walk to them in <15 min. Nobody is going to stop people from driving out of town to go camping.
I think the lone developer problem is really in truth the lack of good documentation. I have taken over plenty of code that was well documented where I definitely written it that way, but I understood it. In a lot of cases I rewrote parts and made sure that what I changed was well documented.

I have also worked on code where functions or variables were labelled a, b, c or aa, bb and orange! I don't recall who said it but one of the hardest problems in computer science is naming things.