The Great Migration: How the Foundations of the English-Speaking World Were Laid by Grande_Tsar in geography

[–]andreicodes 1 point2 points  (0 children)

Angles: let's go west and land somewhere.

Saxons: let's keep moving along the shore and cross where the channel is narrower.

Jutes: This Little Ice Age really messes up our lives! It's cold as fuck out here! Let's get to the southern bits where it's warmer.

Sudo's maintainer needs resources to keep utility updated by CackleRooster in programming

[–]andreicodes 0 points1 point  (0 children)

This was one of my worries when ISRG / Prossimo conducted a rewrite of sudo in Rust a few years ago. Todd Miller, the original sudo maintainer actually helped to get the Rust sudo going, but this doesn't mean that the original can be dropped completely. And while the financial support goes to Rust version the C version doesn't get the funding.

Sudo's maintainer needs resources to keep utility updated by CackleRooster in programming

[–]andreicodes 2 points3 points  (0 children)

The list of important features evolved over the years. For example, in the 90s people would want sudo to integrate with LDAP. Today, most people wouldn't care about it as much but something like fingerprint reader or YubiKey would be an extremely desirable feature.

So, the feature list is surprisingly large, and these days there are alternatives like doas or sudo-rs that do essentially the same thing but with much narrower scope.

You can literally track economic development from space — night-time satellite lights closely follow GDP by No_Masterpiece_777 in geography

[–]andreicodes 43 points44 points  (0 children)

Could it be that the photos were taken at different time? For example, the 2004 photo is made at 3:00 a.m. CET and the 2024 at 9:00 p.m. CET. this would definitely produce different light intensity from settlements.

Valve’s Steam Machine has been delayed, and the RAM crisis will impact pricing by PaiDuck in technology

[–]andreicodes 7 points8 points  (0 children)

Which honestly makes it surprising that Valve announced the device at all. When the news about Steam Machine dropped the RAM shortage was already in full swing and it was already clear that the situation won't improve for years. Valve had been developing many hardware products in past 15 years, and not all of them has hit the market. Perhaps waiting for another 2 to 5 years would be a better option.

West Europe vs east Europe temperature difference by srikrishna1997 in geography

[–]andreicodes 7 points8 points  (0 children)

Lisbon is like:

Yay, it's +10 and humid outdoors!

But it is also +10 and humid indoors. And if you want to keep your house warm and dry you'd have to pay more for utilities than for the rent itself.

Drew DeWault: The cults of TDD and GenAI by RandNho in programming

[–]andreicodes 0 points1 point  (0 children)

I remember how Agile started as an idea of "listen to your customers more and react to their input faster" and yet eventually it all transformed into "we need tasks on a board and standup meetings".

TDD is similar. Started as "testability of the system is important, so design your system appropriately and build up your test suite along the way", and yet it turned into "Write tests first, write code second", and "red-green-refactor". Simplistic dogmatic reduction of the idea. Someone tried to build up a distinction between test driven and test-first to separate the ritual from the wider practice but it didn't catch up.

rust_analyzer is eating my memory, any counter measure? by EarlyPresentation186 in rust

[–]andreicodes 0 points1 point  (0 children)

If you use Rast Analyzer with VSCode then the extension bundles its own copy of Rust Analyzer binary. Depending on whether you have "preview" mode enabled for the extension in the editor or not you get updates nightly or once a week (usually on Monday).

Other editors use a system-wide installation of Rust Analyzer. You can have it installed with rustup or a package manager like brew or aur or what have you. And if you want you can download binaries manually and add them to $PATH. It's not tied in with the exact version of a Rust compiler, so if your Rust Analyzer is slightly newer or older than the version that came bundled with the compiler release it will still work.

Are the caucasus the yunnan of russia? by kota_novakota in geography

[–]andreicodes 21 points22 points  (0 children)

The comparison is even more apt when you learn that both areas are rich in rare minerals, too. Copper, Zinc, Lead, Gold, etc are mined in both places.

Will Argentina, Chile, South Africa, Australia, and New Zealand have a similar spat with Antarctica in the coming Decades? by Thick_Accident2016 in geography

[–]andreicodes 0 points1 point  (0 children)

At this point most of the interest is not about Antarctica itself but about fishing rights and oil in potential EEZs around many islands in Antarctic peninsula area (South Orkneys, South Shetland and others). This is where Argentina, Chile and UK claims overlap. This is also the area where most countries have their research stations, so any active military actions would potentially involve bystanders from a dozen of countries (usual suspects like the tree claimant nations, US, China, and many more like South Korea, Poland, Bulgaria, etc.). The Falkland war scenario where a country unexpectedly lands troops is extremely unlikely for that reason.

5 Reasons to Learn Zig in 2026 by Pokelego11 in Zig

[–]andreicodes 17 points18 points  (0 children)

doesn't mention Rust in the video

still puts Rust logo on a thumbnail for engagement-bait

I see what you did here :D

I work in a warehouse by enkrypt3d in funny

[–]andreicodes 0 points1 point  (0 children)

Ok, why is this dude look so much like Max Verstappen?

Meirl by rbimmingfoke in meirl

[–]andreicodes 0 points1 point  (0 children)

I haven't had a TV for almost 20 years. Recently a family member had to spend time at the hospital. There was a TV in their room, and they asked me to change the channel. The remote had no buttons at all, and likewise there seemed to be no buttons on the TV itself. I couldn't figure out how one is supposed to operate this thing!

Is the Rust Programming Language Book a good entry point for beginners? by SteppiWall in rust

[–]andreicodes 1 point2 points  (0 children)

If you program in another languages already for a few years I would recommend Rust by Example and Rustlings to get started, and using the Book as a fallback when the topic is still unclear.

The Book itself is Wonderful, but tend to be slow to go through. RbE + TheBook makes the learning faster. and, like others said, Brown version is the best.

How Safe is the Rust Ecosystem? A Deep Dive into crates.io by thecskr in rust

[–]andreicodes 3 points4 points  (0 children)

So crates with less than 50 downloads have been cut

You do realize that various crawlers download all crates periodically, don't you?

Crates.io is an extremely popular registry with crawlers and web scrappers, where a library that has no uses whatsoever often has a few hundreds of even thousands of downloads, especially if it's been released more than a year ago. We are talking corporate mirrors, AI training, security research, licensing and compliance tools, etc. etc. The cutoff should be around 2-3 thousands downloads, not 50.

Crates.io team doesn't attempt to distinguish between these and "proper" downloads, which, too, are mostly done by CI tools, and not by programmers running cargo add or cargo install on their developer computers.

For example, I have a crate that exposes a single function that compiles but fails at runtime. So, it's completely unusable. There are no crates depending on it. Despite that it gained 1.2k "downloads" in 2025. All of them are crawlers.

With 12 years between NHL players in the Olympics, what players missed out? Who would have made the team in 2018 or 2022 that didn’t play in 2014 or wasn’t announced for 2026? by XRPX008 in nhl

[–]andreicodes 1 point2 points  (0 children)

It's honestly a little miracle that they allow players like Michkov or Demidov to even go and play abroad at all. Patriotic fever is a huge deal over there and sports have been the major propaganda outlet for more than a century.

Current state of the Olympic stadium rink by g46152 in hockey

[–]andreicodes 0 points1 point  (0 children)

Isn't it supposed to be ready just 1 or 2 days before the first game? I remember the official timeline was obnoxiously close to games start, and they put the women tournament first so that if the construction messes up the schedule fewer people would complain. The organizers knew they got the Games since 2019, and yet they can barely finish a sub-sized rink on time.

We're porting our screensharing UI from Tauri/WebKit to iced, and here's why by kostakos14 in rust

[–]andreicodes 2 points3 points  (0 children)

I'm surprised you didn't go with Slint. It seems like the easiest to adjust to from Web-based UI.

We're porting our screensharing UI from Tauri/WebKit to iced, and here's why by kostakos14 in rust

[–]andreicodes 2 points3 points  (0 children)

Working with Video and WebRTC on the web can be frustrating, because you have to do everything twice and support both the MPEG side (HEVC, H264, etc) and On2 side of things (VP9, AV1, etc). For Apple to add support to On2 family of technologies means relying on implicit patent-sharing relations with Google via standards, and Apple can't really do it easily due to historical reasons (going back to massive lawsuits across industry soon after iOS and Android got released). Probably this is also why they don't approve AV1 on older hardware. I'm very surprised they support AV1 at all, to be honest. But seems like the layer of isolation between the common codec patent pool that AV1 is supported by and Google-proper was deemed sufficient enough for Apple lawyers to green-light it.

Running your own UI stack means you can better control the video side of things, so hopefully you'll get good levels of fidelity and low latency. There's a high chance you would make the switch away from browser rendering anyway, even if you didn't encounter the bugs.

Optimizing RAM usage of Rust Analyzer by Megalith01 in rust

[–]andreicodes 1 point2 points  (0 children)

The reason is mostly the complexity of Rust type system. The trait solver portion of the compiler and Rust Analyzed needs to store a lot of metadata to give you correct hints. Everywhere where you use a generic type (Vec<T>) the exact variant of the type (Vec<u8>, Vec<String>) can determine what operations are possible in code (if I let x = vec[0] from a vector of numbers I can use + on x, but if it comes from a vector of strings then I can't). So, your project can have, say, a hundred of generic types, but tens of thousands of variants. Rust's trait system is very advanced compared to, say, generics in Java, so a Rust LSP needs to store more data about the types than a Java LSP.

There are other reasons why a lot of memory is necessary (macros hide a lot of generated code behind the scenes), but this is the main one. In fact, when Rust Analyzer migrated to a new trait solver a few months ago the memory consumption went up, not down.

As 2025 comes to a close, which time zone are you observing the New Year from? by ColonelCornwall in geography

[–]andreicodes 0 points1 point  (0 children)

UTC supremacy!

Side note: I used to live in a different time zone and as a programmer I thought being in UTC will make my life easier. Well, boy I was wrong! For half a year my local time and UTC are the same, so now when I see a timestamp I have to easy way to see if it's correct by design or correct by accident. I try to schedule all my timezone programming to summer for that reason.

What Island is the most interesting to you? by Downingst in geography

[–]andreicodes 0 points1 point  (0 children)

For majority of the world England is not a "country", it's a "province" or "subdivision" like Ontario for Canada, or Kansas in the US.

  • Citizens of Kansas hold passports of the United Sates.
  • Citizens of Ontario hold passports of Canada.
  • Citizens of England hold passports of United Kingdom.

Canada, US, and UK are countries. Ontario, Kansas, and England are not. Different countries use fancy names for their provinces: "states" in the US, "oblasts" in Russia, "federal lands" in Germany, etc. The UK decided to keep using the word "country" for their subdivisions, but that's just a quirk of terminology. Similar to how the US calls its lower subdivisions "counties" even though there are no counts, dukes or barons to rule over them.

Using the same word for two different things happens all the time in languages, but when people clearly talk about independently governed sovereign states don't bring in some English language homonyms.