I’m currently learning how to code (currently Python, then maybe JavaScript), but I’m not always around my desktop, and learning on my phone is not always an option (also, it can be quite cumbersome at times). Therefore, I’m looking into purchasing a laptop just for learning how to code and stuff....
If you can get a metal body laptop, I would suggest you do. Metal chassis with Linux will last a long while. Programming will not take much resources (and if it does, rewrite your code). Since you’re into light programming like python any distro would be fine. It feels like the community has somewhat agreed to suggest Linux Mint to new users so I’ll support that.
Running a Gigabyte U4UD, been having battery problems for months now, and the battery health only reports 50% capacity. Started playing Battlefront and got distracted and saw my battery looks like this now. Been doing this for 15 min, so either my battery is magical… or the Clevo design is flawed. Seeing how long she goes for...
How is it that one cannot purchase a bunch of flat rectangular batteries and just put them inside the laptop (wherever they fit) and connect them manually to some custom charge controller? We do it all the time on other devices like drones and shit. We have generic round cylindrical batteries, why isn’t there flat generic Li batteries?
I’ve not worked with batteries but I would assume there are two pins for voltage and ground, one temperature probe pin and or two pins for serial communication (probably I²C). If batteries would have had some sort complex handshake then it would have needed a corresponding UEFI patch so that system is able to refuse booting if the power level is too low. That’s why I assume there would be no handshake (unless it’s apple ofc).
I’ve run passwd and sudo su; passwd to change password for root and my account. Password is set correctly when using sudo and su but whenever I get prompted by pkexec it accepts only the old password. I’ve rebooted my system to make sure it was not an issue....
I usually try to avoid bad habits like this but this time it was justified.
The Ubuntu laptop had to connect to company vpn. It were using openconnect-network-manager-gnome thingy to do that. Recently the company upgraded their vpn software which is sorta incompatible with openconnect and requires a modified user agent string for it to prompt for 2FA keys. package in ubuntu 22.04 is too old to modify that in the gui. I tried in the terminal manually, editing the config manually with vim and even dumping the config from my personal Arch laptop. We also tried proprietary Cisco AnyConnect but there is probably a server misconfiguration which causes the connection to drop and reconnect once a minute. In Ubuntu 24.04 it works given the user agent modification, and even though it was released a couple of weeks ago, LTS users don’t get the update before mid August. So the easiest solution was to take the software compile it in the VM and use it there. It’s a temporary solution but we had to have something working by the next morning. With such setup it’s an annoyance to have password prompts show up. On top of that the keyboard is kinda fucked and some characters register multiple times making the situation with passwords even worse.
If you have a good idea what I could have tried let me know, love to hear new ideas.
hahaha It actually did, I found out shortly after initially posting this. I’m constantly reminded that I haven’t learned reading yet (documentation, datasheets, terminal output etc…)
what? shouldn’t blocked domains be routed to 0.0.0.0 instead of loopback? This might cause the system generally to wait for a response instead of instantly realizing those domains don’t exists
Next year Windows 10 goes End of Life. Microsoft will undoubtedly push windows 11 hard, but a lot of machines won’t support it leading to a few economic points of interest:...
This sounds interesting. What the hell is RevOS? What kind of label maker is that? Does it have a name? Do you know what kind of cable it’s using to communicate with the pc?
This is what I think one need to do to test if that would work
get latest ubuntu live cd
install bottles
run label printer installer for windows in bottles
check if the program runs at all
If the device is a COM device in windows then I think it should just work out of the box. If not, then the entire device needs to be forwarded using udev rules to wine. Let me know if you want to attempt this :)
At some point I’ve installed rust implementation of the coreutils from the AUR, they worked for a long while until some ssl vulnerability were discovered and everyone had to update the library. As you can imagine, without working coreutils system were hard to use. troubleshooting were also a pain in the ass because who could blame coreutils of all things? :P
It is common for companies to neglect financing in cyber security for a quick short term gain. And at the same time the laws are created such that an offensive hacker would be the criminal. By turning the law around the blame would be on the company for building insecure systems, just like it is right now companies get problems...
I think you misunderstood. Obviously bug bounty programs exists, and some companies participate in them. The idea was on a legislative level where this would apply for all companies.
NEW 2024 Framework Laptop 13 (Intel Core Ultra Series 1) (www.youtube.com)
Any suggestions for cheap but decent laptops for coding?
I’m currently learning how to code (currently Python, then maybe JavaScript), but I’m not always around my desktop, and learning on my phone is not always an option (also, it can be quite cumbersome at times). Therefore, I’m looking into purchasing a laptop just for learning how to code and stuff....
Hey Battery, are you OK? You've been saying 0% for 15 min now. (lemmy.world)
Running a Gigabyte U4UD, been having battery problems for months now, and the battery health only reports 50% capacity. Started playing Battlefront and got distracted and saw my battery looks like this now. Been doing this for 15 min, so either my battery is magical… or the Clevo design is flawed. Seeing how long she goes for...
How to change password in Ubuntu
I’ve run passwd and sudo su; passwd to change password for root and my account. Password is set correctly when using sudo and su but whenever I get prompted by pkexec it accepts only the old password. I’ve rebooted my system to make sure it was not an issue....
Top post of PCMR on Reddit today XD (discuss.tchncs.de)
Are you prepared for the ramifications of windows 10 EoL?
Next year Windows 10 goes End of Life. Microsoft will undoubtedly push windows 11 hard, but a lot of machines won’t support it leading to a few economic points of interest:...
When a real user uses the app (lemmy.ml)
The installation process of different Linux distributions (feddit.de)
The age of true space innovation is here (i.imgur.com)
Now my arch is bloated more than the default ubuntu (lemmy.world)
What is the most difficult problem that you have fixed in linux? (lemmy.world)
And that is why snapshots exist (sh.itjust.works)
Though the Windows thing was really funny 😂.
waiting for gnome 46 to drop in the repos be like
while true; do; sudo pacman -Syu --noconfirm; done
I need a distro that can work right out the box without too much hassle to configure it, which one would you recommend?
Thx in advice.
Thought experiment on legitimizing hacking
It is common for companies to neglect financing in cyber security for a quick short term gain. And at the same time the laws are created such that an offensive hacker would be the criminal. By turning the law around the blame would be on the company for building insecure systems, just like it is right now companies get problems...