c/programming BrikoX tomorrow

Python is still the most popular coding language, but challengers are gaining ground

https://www.techspot.com/news/105157-python-most-popular-coding-language-but-challengers-gaining.html

> The latest update to the TIOBE Index reveals notable shifts in the world of software development. While traditional programming languages remain popular, many developers are seeking out technologies that can make sense of the vast amounts of modern digital data. Legacy languages like C, COBOL, Fortran, and Assembly still have their place, but they no longer take center stage.

61
21
c/privacy lemmee_in today

WhatsApp may expose the OS you use to run it – which could expose you to crooks

https://www.theregister.com/2024/10/16/whatsapp_privacy_concerns/
33
3
c/opensource misk tomorrow

The developer of Rogue Legacy has officially released its source code 'in the pursuit of sharing knowledge'

https://www.pcgamer.com/games/roguelike/the-developer-of-rogue-legacy-has-officially-released-its-source-code-in-the-pursuit-of-sharing-knowledge
310
47
c/programming mesamunefire in 2 days

Stack Overflow Survey: 80% of developers are unhappy

https://shiftmag.dev/unhappy-developers-stack-overflow-survey-3896/
310
85
c/rust patrick today

Does crates.io have a backup plan?

It's possible that the .io cctld is going to go away [0]. Does crates.io have a backup plan at all? Does anyone know what problems it would end up causing? I imagine the package registry having to move domains is going to cause a ton of problems. Frankly, it's concerning to me that so much of the Rust ecosystem has chosen to standardize on shaky ccTLDs. The Indian Ocean Territory (.io) is a small island territory whose only inhabitants are a single military base, it is crazy to use that domain for something important. Serbia (.rs) is more stable, but they could still cut off access for non-Serbians if they wanted to. [0] - https://en.wikipedia.org/wiki/.io#Phasing_Out

25
12
c/programming JRepin today

GCC Preparing To Set C23 "GNU23" As Default C Language Version

https://www.phoronix.com/news/GCC-Prepares-std-gnu23-Default

cross-posted from: https://lemmy.ml/post/21458338 > The GNU Compiler Collection (GCC) support for the C23 programming language standard is now considered "essentially feature-complete" with GCC 15. As such they are preparing to enable the C23 language version (using the GNU23 dialect) by default for the C language version of GCC when not otherwise specified. > > Preparations are now underway to set the default C language version of GCC to GNU23 as the GNU dialect of C23. Or in other words, implying -std=gnu23 when no other C standard is specified. >

55
4
c/programming lascapi today

Is The Fold Method Bodies by Default a Missing IDE Feature ?

https://matklad.github.io/2024/10/14/missing-ide-feature.html
20
10
c/opensource otter today

Fossify Launcher just got released

https://github.com/FossifyOrg/Launcher

cross-posted from: https://lemmy.ml/post/21509416

16
0
c/concatenative Andy today

Stack Effects (2023) | Re: Factor

https://re.factorcode.org/2023/11/stack-effects.html
3
0
c/rust little_ferris tomorrow

What are some mind blowing Rust tricks?

If we were to create a Rust version of [this page for Haskell](https://wiki.haskell.org/Blow_your_mind), what cool programming techniques would you add to it?

65
43
c/rust 4ffy today

Announcing Rust 1.82.0 | Rust Blog

https://blog.rust-lang.org/2024/10/17/Rust-1.82.0.html
25
2
c/linux richardisaguy today

zram + swapiness = infinite ram

cross-posted from: https://lemmy.world/post/20962151 > Hello Linux folks, i would like to share one little hack which i have found. > > On fedora, `zram-generator` comes installed and configured by default with `lz4` algorithm i believe, and no disk swap, if you have 8gb of ram or more, that is fine, but if you have 4gb or less, `systemd-oomd` either kills you games when they use too much memory, or you face an OOMD and get your system frozen. > > When configuring fedora, normally i would create an in-disk swap, so that my computer wouldn't freeze but face a ***MASSIVE*** slowdown when on way too high memory usage, i also set `zram-generator` to use the `zstd` algorithm so that zram compression rate is higher but slightly slower, like that i can use my low memory more efficiently with a lower risk of OOMD. > > I was watching a bringus studios video once, where he tried to run counter-strike 2 on a ps4 using linux and proton; the game would always use too much memory and that would freeze the system before it got a change to actually launch, the strange ps4 linux was using in-disk swap, and so, increasing `swapiness` to 100 bringus tried to leverage that to make the game run. He was sucessful. In disk swap is very slow, so the performance was crap, but that does not matter... > > So i saw that, and had the idea to combine it with zram-swap to avoid the in-disk swap penalty, also using `zstd` as the algorithm to make the most out of the memory, and it was a massive sucess! Some games which would make my system very unstable or straight up freeze on certain launch attempts started launching and working just fine! and without dumb in-disk swap slowdowns! > > While running modded Victoria 2 i have noticed my system is using about 3.3 to 3.4GB of swap, and about 3.5 gb of ram, so about 100 to 200MB of real uncompressed memory usage, assuming zstd is running at level 1 of compression, and achieving at least 3.0 as compression rate, in thesis, my system has now the equivalent to 10GB of ram, well about it's weight! even more impressing considering how low are the numbers we are working here! > > tldr: setting your `swapiness=100` while using `zstd` as your `zram-generator` compression algorithm, and no in-disk swap will help your system use the most out of your ram with negligible performance penalty > >

15
0
c/programming CommanderZander tomorrow

Getting started with Turtle or Semantic Web?

I only recently learned about Turtle but it seems like a fun way to represent data. I'm curious to learn more & mess around with it or similar formats for representing the meaning of English text. Anyone have any suggestions for projects, libraries, etc to look into?

10
6
c/linuxupskillchallenge livialima today

Day 10 - Scheduling tasks

https://linuxupskillchallenge.org/10/
1
0
c/privacy throws_lemy tomorrow

Police want the password to your phone

https://reason.com/2024/10/14/police-want-the-password-to-your-phone/
97
37
c/privacy lemmee_in in 2 days

Google is purging ad-blocking extension uBlock Origin from the Chrome Web Store

https://www.techspot.com/news/105130-google-purging-ad-blocking-extension-ublock-origin-chrome.html
158
34
c/python Hammerheart today

First time using the walrus operator!

I am working on a rudimentary Breakout clone, and I was doing the wall collision. I have a function that I initially treated as a Boolean, but I changed it to return a different value depending on which wall the ball hit. I used the walrus operator to capture this value while still treating the function like a bool. I probably could have just defined a variable as the function's return value, then used it in an if statement. But it felt good to use this new thing I'd only heard about, and didn't really understand what it did. I was honestly kind of surprised when it actually worked like I was expecting it to! Pretty cool.

44
2
c/programming CodiUnicorn today

Announcing FLOSS/fund: $1M per year for free and open source projects

https://floss.fund/blog/announcing-floss-fund/
99
4
c/gnutaler AsudoxDev today

GNU Taler v0.13 released

https://taler.net/en/news/2024-24.html
2
0

Lemmy