programming.dev

10,165 readers
339 users here now

Welcome Programmers!

programming.dev is a collection of programming communities and other topics relevant to software engineers, hackers, roboticists, hardware and software enthusiasts, and more.

The site is primarily english with some communities in other languages. We are connected to many other sites using the activitypub protocol that you can view posts from in the "all" tab while the "local" tab shows posts on our site.


🔗 Site with links to all relevant programming.dev sites

🟩 Not a fan of the default UI? We have alternate frontends we host that you can view the same content from

ℹ️ We have a wiki site that communities can host documents on


⚖️ All users are expected to follow our Code of Conduct and the other various documents on our legal site

🏘️ Want to create a new community? Please follow our Community Guidelines

❤️ The site is run by a team of volunteers. If youre interested in donating to help fund things such as server costs you can do so here

💬 We have a microblog site aimed towards programmers available at https://bytes.programming.dev

🛠️ We have a forgejo instance for hosting git repositories relating to our site and the fediverse. If you have a project that relates and follows our Code of Conduct feel free to host it there and if you have ideas for things to improve our sites feel free to create issues in the relevant repositories. To go along with the instance we also have a site for sharing small code snippets that might be too small for their own repository.

🌲 We have a discord server and a matrix space for chatting with other members of the community. These are bridged to each other (so you can interact with people using matrix from discord and vice versa.

Fediseer


founded 2 years ago
ADMINS
1
2
 
 

transcriptA book with the title "I didn't touch the computer, it just stopped working And Other Hilarious Jokes you Can Tell Someone from the IT Department.

3
 
 
4
5
 
 
6
92
Modern software development. (irelephant.neocities.org)
submitted 13 hours ago by irelephant to c/iiiiiiitttttttttttt
 
 
7
 
 

I added it to lemmy federate, but it misses a few small instances.

8
 
 

I tried running a 2nd instance of Roblox simultaneously on macos 15 with another account but this shows up, if my mac can handle it then why can't it just let me do it? If I have two copies of an app like Roblox in separate User/Applications folders, macos moves them to the /Applications/ folder.

Sometimes it won't run apps claiming to be corrupted, so I then have to do sudo xattr -cr /Applications/someapp.app in the terminal and they run perfectly fine. It always nags me if I download apps from anywhere but mac app store. Some of these messages can only be gotten rid of by disabling system integrity protection, but then macos blocks you from running MAS apps due to having "permissive security".

I don't daily drive macOS anymore, I switched to Linux on my M1 mac where I can do whatever the hell I want.

9
 
 

cross-posted from: https://rss.ponder.cat/post/165736

Lenovo Cuts the Windows Tax and offers Cheaper Laptops with Linux Pre-installed

At least in the U.S. and Canada, that is.

This was brought to my attention thanks to a Reddit post where a user (presumably a resident of Canada), had posted how Lenovo was shipping laptops with Fedora and Ubuntu at a cheaper price compared to their Windows-equipped counterparts.

Others then chimed in, saying that Lenovo has been doing this since at least 2020 and that the big price difference shows how ridiculous Windows' pricing is.

Cutting the Windows Tax

When I dug in further, I found out that the US and Canadian websites for Lenovo offered U.S. $140 and CAD $211 off on the same ThinkPad X1 Carbon model when choosing any one of the Linux-based alternatives.

Lenovo Cuts the Windows Tax and offers Cheaper Laptops with Linux Pre-installedLenovo Cuts the Windows Tax and offers Cheaper Laptops with Linux Pre-installed

US pricing on left, Canadian pricing on right.

Interestingly, while the difference in pricing is noticeable, your mileage may vary if you are looking for such laptops on the official website. Not all models from their laptop lineup, like ThinkPad, Yoga, Legion, LOQ, etc., feature an option to get Linux pre-installed during the checkout process.

Luckily, there is an easy way to filter through the numerous laptops. Just go to the laptops section (U.S.) on the Lenovo website and turn on the "Operating System" filter under the Filter by specs sidebar menu.

Lenovo Cuts the Windows Tax and offers Cheaper Laptops with Linux Pre-installed

Yes, it's as simple as that. You can do the same for the various official online regional storefronts that Lenovo runs to see whether Linux-based operating systems are being offered on their laptops in your country.

Closing Thoughts

It is good to see that Lenovo is offering Linux in its laptops. In fact, there is another big-name laptop manufacturer, Dell, who also does something similar with its Ubuntu-certified laptops, but both have the same constraint of having limited options for buyers.

Also, as far as I know, Dell doesn't reduce the pricing if you choose Linux instead of Windows. Correct me if I am wrong in the comments.

Nonetheless, I think these manufacturers could do a better job in marketing these Linux-based alternative operating systems to general consumers, showing them how they can save big when opting for these instead of the pricey and bloated Windows.

Otherwise, we might have to start observing Windows Refund Day again.

💬 Your take on this? Would mainstream users benefit from having Linux pre-installed on their laptops?


From It's FOSS News via this RSS feed

10
 
 

... Because I have to look it up all the time now. :]

11
 
 
12
18
How is my Python code? (raw.githubusercontent.com)
submitted 5 hours ago* (last edited 5 hours ago) by [email protected] to c/python
 
 

I don't know if it's the true place to ask, apologizing if not. I started to python one and half week ago. So I'm still beginner.

I made a terminal based weather application with python. What do you think about the code, is it good enough? I mean is it professional enough and how can I make the same functions with more less code?

Here's the main file (I also added it as url to post): https://raw.githubusercontent.com/TheCitizenOne/openweather/refs/heads/main/openweather.py
Here's the config.json file: https://raw.githubusercontent.com/TheCitizenOne/openweather/refs/heads/main/config.json

13
14
15
16
 
 

transcriptA meme using characters from SpongeBob. Man Ray holds a card labeled "My Computer" and says, "I'm an admin, right?" Patrick replies, "Yup." Man Ray continues, "And this file is admin locked." Patrick says, "Yup." Man Ray says, "I have admin access. And if that's the case, I can access this file." Patrick replies, "That makes sense to me." Man Ray says, "So let me access it." Patrick responds, "You need admin access."

17
18
19
 
 

Not a tech support question, I'm just curious. I recently installed it. Everything is working great, feels like I got a whole new laptop compared to my previous setup. I haven't tried out any of btrfs's unique features, so I dunno, nothing special I can report about it. Coming from Debian I was just surprized by how different Fedoras installer defaults are. Do you agree with btrfs being a default option?

20
 
 

transcriptA book with the title "I didn't touch the computer, it just stopped working And Other Hilarious Jokes you Can Tell Someone from the IT Department.

21
 
 

cross-posted from: https://lemm.ee/post/59906920

transcriptA broken windows bluescreen saying "Your PC ran in We're just For more anforma if you cann a suppor DRI"


22
23
24
25
view more: next ›