Hi all,
Perhaps a stupid question.
Some time ago, I received a rpi zeroW as a gift, but as I did not have any use for ii I passed it to somebody else in our electronics-group.
Now, that person has had a +30 year carreer as self-taught programmer -starting out with BASIC on DOS machines- so he showed of some of his old BASIC applications in dosbox on the pi.
So far so good, but he had an interesting question:
Years ago, I wrote a library in BASIC for screen / window applications in DOS. (you know, pop-up text-windows and so on). How do I do that on linux (in C)?
As I myself only do 'backend' coding (so no UI), I have to admit I did not have any answer to that.
So, question,
For somebody who has mostly coded in BASIC (first DOS and later Visual Basic) and now switched to C and python, what is the best / most easy tool to write a basic UI application with window-function on linux/unix.
I know there exist things like QT and ncurses, but I never used these, so I have no idea.
Any advice?
Kr.
~20 years ago:
"Reading documentation is for wimps! Real programmers read the source code directly"
LLMs are just a tool. And meanwhile our needs and expectations from the simplest pieces of code have risen
Just FYI: While Arch isn't "For experienced users only", it still might require some more work after your install.
It usually comes pretty minimal by default, and then you might wonder why printing doesn't work out of the box for example.
It also makes the inexperienced user very easy to bork the system, and then you have to fix it.
I often hear from other users, that sometimes, this just happens out of the blue too.
If Arch works perfectly for you, then congratulations! Keep using it.
But if you notice, that you have to fight against the OS too often, consider a different distro that is supposed to just work.
One of those might be Bazzite (if you game) or Aurora. Both are almost the same, but Bazzite is more for gaming, while Aurora is more for general, non-gaming use. But you can use them interchangeably.
They belong to the uBlue project, which is a customized Fedora Atomic.
They are already set up for you with everything you want and need, are zero-maintenence and basically indestructible.
So, if you're done with Arch, consider them.
This is by far the most confusing part when I consider switching over
It's the same process as when buying a car. Try a few out and see which one you like.
Image based distros are only complicated if you come from traditional distros, because they're different.
If you come from Windows or another OS, then having "The whole OS is one thing" instead of "A huge collection of packages and directories" makes everything simpler to understand, because you don't mess with anything except /home/. You don't have to care about anything else.
And if you want to do something more fancy, like using a CLI tool, then having to enter a Distrobox container isn't complicated.
For casual use, like gaming, browsing or image editing, everything is just as usual. Nobody, except us Linux nerds, actually cares about the underlying system. Casual users just want the OS to be a tool for their programs they use, and for that, it's ideal, because it just works and doesn't bork itself.
no i don't need to hear the lecture on why i shouldn't buy off temu, idc about data collection and my credit bureaus are frozen, thanks.
Lol keep downvoting neckbeards, I find it hilarious. I like that this site is literally just reddit chuds but on a different url.
I haven't seen a thread on this in a while. I have been going with top day for a while, but it can be hit or miss. Other sorts don't seem to display as good in terms of balancing quality and quantity. What is your preferred sort for your main feed?
Edit: Realizing that the people who sort new commented before the hot/top/active people, haha
Minetest 5.9.0 has been released with performance improvements for rendering and map generation, new graphical effects, and much more.luatic (Minetest)
Wayland seems ready to me but the main problem that many programs are not configured / compiled to support it. Why is that? I know it's not easy as "Wayland support? Yes" (but in many cases adding a flag is enough but maybe it's not a perfect support). What am I missing? Even Blender says if it fails to use Wayland it will use X11.
When Wayland is detected, it is the preferred system, otherwise X11 will be used
Also XWayland has many limitations as X11 does.
As a disclaimer: I really like Wayland and use it as my daily driver for months now with KDE/Proton.
Now my answer, based on my best knowledge:
Because there is no real Wayland to implement, the base Wayland protocols are extremely bare bone and most of the heavy lifting is done by all the different wayland compositors like hyprland, plasma, Mutter, weston, wlroots, gamescope so as a developer you don't have one target to program against (X11) but lots of different wayland implementations and those are not always doing things the same way or providing the identical interfaces/API or have the same level of features.
On my system is at least one wayland only program that works absolutely fine when started in a wlroots environment but crashes (reproduceable on different systems) with a segmentation fault in Mutter or Plasma.
DSA drifters
Had to look that one up myself. I can't think of anything in particular that would keep them from re-running it, unless it's maybe something to do with the licensed IP from the game? Also, DSA seems to be a bit out of fashion for the collectors, though it looks like TheKeyCompany already ran it once in KAT profile.
I support people working to get the stuff they like made for small runs, and understand that those runs will sort of necessarily be higher priced, based on the small number of companies willing and able to do community designs at reasonable minimum-order-quantities. There's still a point for me though, where the rewards and loyalty that are expected can feel a little naive, and that's all I'm saying. Hell, a lot of time it's not even the designers themselves (especially veteran designers), but rather gatekeepers within the broader hobbyist community.
I recently made a post about my FreeSync certified monitor not supporting VRR over HDMI. I thought that there was VRR support over HDMI even for versions below 2.1 spec. Am I mistaken in my assumption¿? Has the HDMI forum prevented the implementation of FreeSync in the open source drivers¿?
Obligatory fuck the HDMI forum and the HDMI spec.
Me too!
I am guessing that is because the internal displays in laptops are connected using an embedded DisplayPort(eDP) and not HDMI
I've heard this phrase used often by those on the right but every time I hear it I can't help but laugh because of what I picture in my head. But perhaps my image is wrong! I want to read everyone else's depictions.
So as to not influence the responses I will not be sharing what I imagine a "woke mob" looks like.
Take every group conservatives are afraid of, combine them into one person, copy variations of that person into a crowd and add pussy hats.
This is not a group that actually exists, but I'm not expecting the "woke mob" person to be describing reality anyway.
I really want to just go put something under the wheels but I've never talked to these people.
Update edit: thank you for all the replies. I went over and knocked but no answer. It's definitely not chocked. If I see them come home I'll go back over. I'm worried as soon as the weight shifts loading it that it will just go down the hill.
I'm writing a program that wraps around dd to try and warn you if you are doing anything stupid. I have thus been giving the man page a good read. While doing this, I noticed that dd supported all the way up to Quettabytes, a unit orders of magnitude larger than all the data on the entire internet.
This has caused me to wonder what the largest storage operation you guys have done. I've taken a couple images of hard drives that were a single terabyte large, but I was wondering if the sysadmins among you have had to do something with e.g a giant RAID 10 array.
Do the advantages of deleting one's entire Reddit history outweigh the disadvantages?
I have previously nuked my first Reddit account because it felt satisfactory to be completely detached from a platform one considers unethical/bad. Though, I have garnered quite some history on a second account—because Duty Calls*, of course—and I'm considering doing the same.
However, I don't want to do it impulsively. I think I might be blind to some disadvantages. What do you think?
*
I think it's generally pointless, spiteful, and only harms ordinary users who might someday have found value in coming across your old posts on Reddit from a search. It doesn't harm Reddit itself, the "value" of your individual account is very small compared to their vast archive. And they still have it, deletion just removes it from the public-facing front end. If the reason you're deleting it is because you don't want AI to be trained on it, that ship has long ago sailed. There are downloadable archives of Reddit floating around that it will never be deleted from.
So I wouldn't bother.
Reddit admins have already put things in place to counter editing or deleting comments.
I deleted an account from 2011 yet when I searched on Google for "site:reddit.com account name", it listed loads of posts with their previous content (I used the script that changed all the contents before deleting).
All SM sites have been doing this for a while: they'll shadow delete your account but will retain all the data.
Mozilla könnte ein neues Logo erhalten. Dieses deutet sich in aktuellen Änderungen der Mozilla-Website an.Sören Hentzschel (soeren-hentzschel.at)
These are the principles that guide our mission to promote openness, innovation & opportunity on the web.Mozilla
Stephenson, Neal (1999). 'In the Beginning was the Command Line'.Internet Archive
I just finished this, yes it took me a month.
I found his literary style, very compelling, it was a fun read.
I found his predictions while interesting, not very clairvoyant. BeOS is sadly no longer with us.
I did like his tie-in to the Church of the simulation at the end, though this predates the official organization of such an church.
I think it was a thought-provoking essay, I disagreed with some aspects of this predictions, especially around what a monopoly is. It's thought-provoking. It's a good read. It is not gospel
He did talk about hacker culture, and anybody being able to fix anything, but was not able to make the connection between BeOS and proprietary license and Linux with an open license. The death of BOS followed one year from the creation of this essay
I agree with all you've said. Especially the monopoly part is where I disagreed the most. This is a good document to inform people about the ideology behind computers. Well, would be if not for those mistakes you have mentioned.
Other than those, as you have said, it's a thought-provoking essay.
We talk a lot about enshittification of technology, so tell me about technology that is getting better!
I personally love the progress of electric scooters. I've been zooming around on a 400$ escooter for a year and it works so well. It has a range of around 20 miles and top speed of 15 mph, so it works just super well for my uses, and 10 years ago scooters with that range/speed/price were no where near a thing.
LED technology has progressed massively and is now at the state where you can carry a device with the lighting power of a car headlamp but it only consumes 10W, weighs 200g and fits in the palm of your hand. I can ride my bike through the woods at night, as if it were daytime. All we need now is some technology that makes the woods less creepy after sundown and we'll be all set.
Another big one for me is Wikipedia and the information sphere in general. I forgot what it's like to have to physically go to a library to look something up or learn a new skill, amazing power at our fingertips. Showing my age a bit here.
What else? Computer aided engineering tools, cordless power tools, phones and computers in general, lithium ion batteries, my automated coffee maker kills it, drug technology, I like it all.
cordless power tools
Each tool had their own battery, it discharged so fast and degraded even faster, and forget buying new batteries because the manufacturer decided to change the design again and either you’re stuck with a drill that only works for five minutes or buy a new one.
Now batteries last an eternity, and because each brand has their own ecosystem, as long as you buy tools from the same brand you can use the batteries you already have. And also the brands has no incentive to change the design and break the compatibility of the batteries, it would alienate the costumers who spent a lot of money on the tools and would go for another ecosystem.
On android its actually weirdly difficult to tell what apps are or are not causing battery drain, especially on Android 8 and newer (android 7.11 had the best battery usage graph of any android version, it would even show all of the "wake time" in comparison to screen time so it was very easy to tell if it was doing stuff in the background a lot) My understanding is that if the apps are going through the Google Play Services APIs to do stuff it won't show up on your battery usage graphs.
It also doesn't help that the square button just shows you the "recent apps screen" where it shows apps which you've used recently in chronological order and may or may not have a state saved in memory/swap and may or may not currently be running in the background.
So basically, Android annoyingly just does stuff and you have to trust it. And if you're getting extra battery drain, seriously try Safemode and see if it drains noticeably slower in Safemode. Or factory reset and be slow about reinstalling apps to see if you notice a change when one gets installed
Does the Evercade family of consoles count?
The original Evercade portable.
The Evercade VS home console.
They’re coming out with new hardware too!
Atari makes good retro consoles too and recently released the 7800+ that comes out later also.
I just rinse it with water then with diluted dettol. And let it air dry after wash. Twice a day (morning & evening).
I was wondering whether I should apply any moisturizer after wash or not.
Hello all, for a few weeks/months now, my computer has stopped going into suspend mode. Here is what happens when putting it to sleep (using GNOME's power menu) or using systemctl suspend:
I have no idea what could be preventing suspend and what I could find online did not really help a lot. I don't think it is a USB device because I tried unplugging most of them except my mouse or my keyboard and it still did not work, and the second time on the lock screen it always suspends like intended
thx !
/usr/share/sddm/scripts/Xsetup
for my dvorak layout(setxkbmap us -v dvorak). But after each pacman update or installation my configuration is not working. I'm new to artix/arch, so can you help me?Map depicting the frontlines of the Russian invasion of Ukraine, as analysed by Black Bird Groupwww.scribblemaps.com
I'm pretty sure the 3rd pre-war bridge was taken out (yesterday?). So, all Russia has left is the pontoon bridges (2?) and possibly one was taken out earlier today.
To me, it seems Ukraine is trying to trap troops and equipment below the river and get a large personnel surrenders and equipment recovery.
The Linux ecosystem is renowned for its diversity and flexibility, boasting a wide array of distributions (distros) catering to various user needs.Hayden James (linuxblog.io)
This is a plain language guide to every built-in function in Python, paired with a simple example that shows each function in action.Matt Layman
Esistono immagini, fatte solo di parole, forti e dense di significato. Questa è di Dataknightmare, e fa davvero paura.Marco Calamari (Le Alternative)
Ente Photos si aggiorna e la versione 0.9.27 introduce alcune interessanti novità:
Prima di tutto viene inserita la modalit Guest view
. In sostanza serve a far vedere delle foto dal proprio smartphone ad alcune persone senza che queste possano sbirciare (appositamente o incosciamente) anche su tutte le altre foto della vostra galleria.
Baster selezionare le foto e premere poi si Guest view
. Si apriranno esclusivamente quelle foto e anche scorrendo avanti e indietro saranno le uniche a vedersi. Se avete anche attivata la protezione per tornare agli album su Ente si dovr inserire il PIN o usare lo sblocco biometrico.
Un'altra novità è il miglioramento della visione delle foto panoramiche e delle foto a 360° e infine c'è un nuovo player video che migliora il controllo e supporta l'HDR. Personalmente mi auguro anche che questo cambio serva a migliorare la velocità di caricamento dei video in streaming!
Fully open source, End to End Encrypted alternative to Google Photos and Apple Photos - ente-io/enteGitHub
Pocket Broomball è un bel passatempo dedicato al broomball. Il gioco ricorda un po' gli hockey da tavolo ed è disponibile su Android e iOS.skariko (Le Alternative)
It has lots of useful listings, and then it also has this one: https://xmrbazaar.com/listing/P2qu/
😂Rofl, make monero fun to use again!
I have a 40 lb Samoyed who is a specific type of aggressive chewer. It isn’t so much she destroys any toy I give her because of how hard she chews, but rather she is like a sniper. She finds the weak point in a toy and carefully chews it until the toy is destroyed. I had to stop giving her stuffed toys as she stripes the fur off of them and eats it. While nylon bones work, she will go through them in a few days. And I don’t want to give her toys so hard they will wreck her teeth.
The problem is when I go to pet stores, all the toys labeled for “aggressive chewers”, she finds the weak spot and destroys the toy within one day (sometimes within an hour).
I just recently got a tuffy ring and I was hopeful but she is chewing the ends and eating the fabric off of it.
Does anyone else have a dog like this and if so, what toys have worked for you?
I got to believe sometimes in that theory that when we should've died, our consciousness escapes to a parallel reality.
I have had too many close calls. Statistically, I probably shouldn't be alive.
This one time my motorbikes front brake seized up as I slowed down to an intersection. I was thrown off my bike and landed as the lane cleared.
Then the time I worked as a glazier and this dipshit dropped a giant pane of glass on his toe, which snapped in half and almost decapitated me.
Then another time I was a half-second away from being t-boned on my drivers side door by someone doing 80km/h, thank you videogames for training my spacial awareness and reaction time.
Come da titolo, l'applicazione Native Alpha (che alcuni pensavano ormai abbandonata) ha ricevuto un aggiornamento dopo quasi due anni. L'aggiornamento porta l'app alla versione 1.4.0 e il changelog parla di:
Native Alpha è un'applicazione abbastanza interessante che permette di sfruttare e gestire meglio le webapp e nella sua versione a pagamento permette anche di isolare le webapp l'una dall'altra.
È disponibile un po' ovunque e trovate i vari link nella sua pagina GitHub.
Contribute to cylonid/NativeAlphaForAndroid development by creating an account on GitHub.GitHub
Siete pronti a esplorare una Lione alternativa della metà del XIX secolo? Revengate è un'alternativa interessante ai classici rogue-like!skariko (Le Alternative)
A few minutes ago I suddenly woke up , I didn't sleep well
At the beginning everything was normal , then I blinked and ...
The lighting suddenly became more yellow (and unnatural) and the closet I was looking at turned into a frightening and shocking appearance (the closet itself, it was vandalized in a way that I can't even remember to describe).
I remained in shock for three or four seconds, then I found myself closing my eyes tightly ( it was an involuntary reaction ), and when I opened my eyes again, everything returned to normal.
This is the first time in my life that this has happened to me
So ... any scientific explanation?
Thanks in advance
They said they were “in shock for three or four seconds”, and they describe their only movement during the episode—closing their eyes—as involuntary.
We need to consider OP’s actual physiological response, not just the vocabulary they use to describe it.
Ok - not describing any movement, does not mean that they did not move, or were unable to. Just like not describe their breathing or heartbeat, does not mean that they were not able to breathe or had a cardiac arrest.
Further more, they mention that they were in a chock for 3-4 seconds, after seeing the closet change appearance. Anyone would be that while experiencing a hallucination or something that they perceive unnatural. Also they say that they initially woke up and everything was normal, to start with. If it had been sleep paralysis, this would not be the case.
In any case, this is not programing - it is a human describing a weird situation. If it had been sleep paralysis, you would expect them to specifically describe their inability to move, and not describe it as in being in a shock.
I am much more prone to agree with the other user, who mention hypnagogia, or rather just a case of prolonged transition between sleep and awake.
https://www.chefblogger.me/2024/08/22/wie-installiert-man-einen-mailserver-roundcube-mit-yunohost/
Sono bastati pochi mesi dalla profezia di Cassandra, e oggi sappiamo che quanto vaticinato era già nei nostri pc da anni.Marco Calamari (Le Alternative)
Freebloks è la versione open source per Android e desktop del gioco da tavolo Blokus, riuscirete a sconfiggere i vostri avversari?skariko (Le Alternative)
This list looks very interesting, I'll have to check them out, Completely Arbortrary really appeals.
Edit:
I listened to the first two fall of civilizations, it is really good. Thanks for the recommendation.
My favorite podcasts are super geeky:
(They're both available on just about every podcast platform)
Hackaday is catered to a much more general audience than The Pick, Place podcast which is all about the PCB manufacturing/assembly industry. So if you're a geeky sort you'll love Hackaday because just about everything they talk about is super interesting (to geeks) and it's never boring (unlike a lot of other geeky podcasts where the hosts can ramble on for too long about topics that are only mildly interesting).
About the Pick, Place podcast: Never in a million years would did I think I could enjoy such a podcast. They go over the steps and equipment used to make the circuit boards that live inside all the electronics we use ever
... toon meerMy favorite podcasts are super geeky:
(They're both available on just about every podcast platform)
Hackaday is catered to a much more general audience than The Pick, Place podcast which is all about the PCB manufacturing/assembly industry. So if you're a geeky sort you'll love Hackaday because just about everything they talk about is super interesting (to geeks) and it's never boring (unlike a lot of other geeky podcasts where the hosts can ramble on for too long about topics that are only mildly interesting).
About the Pick, Place podcast: Never in a million years would did I think I could enjoy such a podcast. They go over the steps and equipment used to make the circuit boards that live inside all the electronics we use every day and it's way more interesting than you'd think! Like, did you know that most professionally-made circuit boards go through the equivalent of a dishwasher? As in, they're washed... With (denatured/deionized) water! Furthermore, these washing machines only need their water changed out like once a month (or sometimes after several months) then they take the little bits of metal it collects over time and they sell them to companies that deal with precious metals (because they'll have multiple pounds of tiny balls of tin, silver, gold, etc).
Oh man I learned so much interesting obscure shit from that podcast! I love it 👍
Pick, Place Podcast | Electronics Manufacturing Podcast
Pick, Place, Podcast