Search

Items tagged with: Programming


Finally, after some months of refining, the "Incremental System Rethought" RFC is out!

This RFC has been through 6 full drafts, 1 conference, 5 months of design and a closed project goal. Go roast it.

github.com/rust-lang/rfcs/pull…

#rust #foss #programming #opensource



This week, Georges "feaneron" Stavracas will be doing livestreams between 11h to 14h Brasília Time (14-17h UTC) while working on merge requests reviews in #GNOMECalendar!

The first session is planned this Tuesday here: youtube.com/live/CpgrEcG_KCE

Don't miss it if you want to learn practical @gnome GObject C #programming from a wizard :blobwizard:

#GNOME


I'd like to parse ipv4 addresses given as command line argument values.
I have got two arguments accepting ipv4 address.
If I specify single such option all is fine.
If I specify both, I 'm getting error like this:

thread 'main' (624061) panicked at /home/peto/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/clap-3.2.25/src/parser/matches/arg_matches.rs:1879:13:
Must use `Arg::allow_invalid_utf8` with `_os` lookups at `[hash: A8F400C40154F09]`

This is simplified version of my code showcasing the issue:
```
use std::net::{IpAddr, Ipv4Addr};
use clap::{App, AppSettings, Arg, value_parser};

#[tokio::main]
async fn main() -> Result<(), Error> {
let mut app = App::new("Server APP")
.about("My super cool app")
.setting(AppSettings::DeriveDisplayOrder)
.setting(AppSettings::SubcommandsNegateReqs)
.arg(
Arg::with_name("socket")
.required(true)
.takes_value(true)
.long("socket")
.help("Unix socket path"),
)
.arg(
Arg::with_name("relayaddress")
.required(false)
.takes_value(true)
.long("relay-address")
.value_parser(value_parser!(Ipv4Addr))
.help("External relay ipv4 address used together with --listen-address to run behind a nat"),
)
.arg(
Arg::with_name("listenaddress")
.required(false)
.takes_value(true)
.long("listen-address")
.value_parser(value_parser!(Ipv4Addr))
.help("Local listen ipv4 address used together with --relay-address to run behind a nat"),
);
let matches = app.clone().get_matches();
if matches.is_present("relayaddress") & matches.is_present("listenaddress") {
let external_ip = IpAddr::V4(matches.get_one::<Ipv4Addr>("relayaddress").expect("Invalid address"));
let local_ip = IpAddr::V4(
matches.get_one::<Ipv4Addr>("listenaddress").expect("Invalid address"));
println!("Listening on local IP: {local_ip}");
println!("Relaying through external IP: {external_ip}");
}}
```

#rust #rustlang #programming #fedihelp



I Often get asked if my memory is better trained because I need to keep more code in my head than my sighted colleagues when #programming . I don't necessarily think so; I quickly look at code I literally just saw five minutes ago about as often as anyone else I would think, but there is a more subtle difference that I think a lot of people, myself included, often forget about.
We often hear that #commandline is best because it makes you more efficient, you can do SO MUCH more SO MUCH faster than using the dreaded MOUSE! :-O
..... that is, if you can remember all the commands, commandline switches, file locations, etc.
And I think that is true for people like myself who don't use the mouse for its intended purpose like 90% of the time. We are dependent on hotkeys to get anything done, and those hotkeys DO have to be memorized to almost the point of instinctive muscle memory to get productive. In that sense, keyboard users kinda play on hard mode by default


"I'm a programmer with a Fediverse account. I spend *most* of my programming hours on this OS:"

Please consider boosting for a more statistically significant result.

#poll #programming #operatingsystems

  • Microsoft Windows (14%, 111 votes)
  • MacOS (33%, 249 votes)
  • Linux or Unix (51%, 386 votes)
  • Other (Please comment.) (0%, 3 votes)
749 voters. Poll end: 1 month ago


I'm a computer programmer with a Fediverse account, and I am this many years old.

Please consider boosting for a more representative sample.

#programming #poll #demographics #fediverse #age

  • 10-20 years old. (1%, 3 votes)
  • 21-30. (16%, 33 votes)
  • 31-40. (27%, 55 votes)
  • 41 or older. (55%, 112 votes)
203 voters. Poll end: 2 months ago


💻 Programmers:

What generation do you formally belong to?

For a more representative sample, please consider boosting this post. 🚀

#programming #demographics #fediverse

  • Baby Boomers (5%, 26 votes)
  • Generation X'ers (33%, 153 votes)
  • Millennials (50%, 231 votes)
  • I'm older, or younger than that. (Please comment.) (10%, 50 votes)
460 voters. Poll end: 2 months ago


"Facebook announced a 5% across-the-board layoff and doubled its executives' bonuses – on the same day. They fired thousands of workers and then hired a single AI researcher for $200m:
(...)
Whatever else all this is, it's a performance. It's a way of demonstrating the efficacy of the product they're hoping your boss will buy and replace you with: Remember when techies were prized beyond all measure, pampered and flattered? AI is SO GOOD at replacing workers that we are dragging these arrogant little shits out by their hoodies and firing them over Interstate 280 with a special, AI-powered trebuchet. Imagine how many of the ungrateful useless eaters who clog up your payroll *you will be able to vaporize when you buy our product!*

Which is why you should always dig closely into announcements about AI-driven tech layoffs. It's true that tech job listings are down 36% since ChatGPT's debut – but that's pretty much true of all job listings:"

pluralistic.net/2025/08/05/ex-…

#AI #GenerativeAI #Automation #LLMs #Unemployment #Programming #SoftwareDevelopment


I finally have cross-platform (Linux/Mac/Win) release files for my reverb plugin! I wrote today about setting up a CMake build process (instead of Projucer/Xcode) and using GitHub actions to compile each version:

reillyspitzfaden.com/posts/202…

You can get the latest version here: github.com/reillypascal/RSAlgo…

#JUCE #Cpp #CPlusPlus #Audio #MusicProduction #Programming #Coding





Jeff Geerling got the brunt of YouTube wrath when he showed people how to host their own media {media that they legally own, which means that they either have the originals, or have paid for whatever digital version they have} with the power of Open Source tools
Jeff explicitly made sure that he never ever told people how to circumvent subscriptions or worse. Nothing that could harm YouTube bottomline was ever discussed in this video.

Yet for reasons obvious to Open Source people like me YouTube gave him his second strike.

3rd Strike and you're gone. This is how Google / this is how Alphabet is treating their Golden Geeze.

Creators like Jeff are very valuable both to the people who follow them and to YouTube. However Google seems to be at Super odds with Open Source, needing it to run their data centers but hating it because they have to share the code again that they've worked upon.

Google is a paradoxical Company which is being controlled by Alphabet, a schizophrenic Entity drunk on power Ads and control

To me you're a star @geerlingguy keep Shining

jeffgeerling.com/blog/2025/sel…

#Media #Hosting #OpenSource #programming #POSIX #Pie #Raspberry #4K #Video #4KVideo





V posledni praci pred Unreleased jsem bojoval proti pouzivani null vs 0 k ulozeni vyznamu u typu number. Marne. Je to soucast TS a musime s tim zit, ac si tak plnime codebase naslapnymi minami.

V UR zacinam pouzivat na podobne problemy type guardy. Je to opomijena featura, ktera naprosto opravnene vyvolava emoce typoveho silenstvi a pomalosti psani kodu.

Samotneho by me to samozrejme nenapadlo. V tymu pritvrzujeme lint pravidla. Tak mi nic jineho nezbyva.

#typescript #it #programming



I want to write my own cross-platform and accessible for blind users #Mastodon client.
There are no #a11y friendly clients for Linux (only some TUI software) and there are only one buggy and unstable proprietary client for Windows called #tweesecake.
I already know the stack I'll use but I have one problem.
I don't know Mastodon well enough to be sure that I implement every feature which is supported there.
For sure I can read the whole API reference but maybe there are easier ways, maybe some list of features, maybe some feature guide for developers, etc.

As a blind user I can't just install any popular and cool client and take all features from it... That's the problem: they are not accessible at all or not accessible enough for every day use.

So, maybe someone helps me with some sort of docs or I don't know :D

#programming #askfedi




This is a wonderfully even-keeled and informative Rust vs. C++ Exchange on the SE Daily Podcast with Steve Klabnik and Herb Sutter. If you are looking for some ideological slug fest you will be disappointed. Check it out! #rust #cpp #programming youtu.be/XdHBSxDsVlM?si=gS2kzj…




Chipmakers puting AI cores in your CPU and not letting you use them for absolutely anything is the biggest waste of silicon in the history of modern computing.

Those tensor cores are godsend for things like large-scale CAD simulations but the only SDKs/samples provided are hardwired to run pretrained models.

There's no way to access the matrix/tensor capabilities directly. And that goes for both AMD and Intel.

#ai #NPU #tensor #programming #hardware #cpu


— Them: “Please test #GNOMECalendar's sidebar again”
— Me, coming back from another round of testing: “Code’s haunted”
— Them: “What?”
— Me, loading a pistol and getting back to the bug tracker: “Code’s haunted”

gitlab.gnome.org/GNOME/gnome-c…

#MaintainerLife #FreeSoftware #OpenSource #QA #testing #programming #GNOME


Ok, in an hour, i'll be starting this up. High temps, high effort and high complexity, what oculd go wrong? Let's dig into the #screenReader #accessibility of #jupyter notebooks, a tool prevalent in #dataScience, #python #programming in general, #machineLearning and therefore also practically all things #ai etc.
See you then over at twitch.tv/ic_null and youtube.com/@blindlycoding #goingLive #twitch #youtube #selfPromo