Additionally any application using a GUI toolkit (like kde, qt or gtk etc) only needs to to update to a version that has native Wayland support. Which means most applications already support it. At least if they don’t use any X11 APIs directly (which is not that common).
- 0 Posts
- 268 Comments
Applications needs some coordination between each other in order to act like you would expect - things like one window at a time having focus and thus getting all keyboard and mouse inputs. As well as things like positioning on the screen and which screen to render to, the clipboard, and various others things.
X is a server and set of protocols that applications can implement to allow all this behaviour. X11 is the 11th version of the server and protocols. But X was also first created in 1984, and X11 since around 1987. Small changes have been made to X11 over the years but the last was in 2012.
Which makes it a very old protocol - and one which is showing its age. Advances in hardware since then and the way we use devices have left a lot to be desired in the protocol and while it has adapted a bit to keep up with modern tech it has not done so in the best of ways. I also believe its codebase is quite complex and hard to work with so changes are hard to do.
Thus is has quite a lot of limitations that modern systems are rubbing up against - for instance it does not really support multi cursors or input that is not a mouse and keyboard. So things like touch screens or pen/tablets tend to emulate a mouse and thus affect the only pointer X has. It is also not great at touchpads and things like touch pad gestures - while they do work, they are often clunky or not as flexible as some applications need.
It is also very insecure and has no real security measures in place - any GUI application has far more access to the system and input then it really requires. For instance; any application can screen grab the screen at any point in time - not something you really want when you have a banking web page open.
Wayland is basically a new set of protocols that takes more modern hardware and security practices in mind. It does the same fundamental job as X11, but without the same limitations X11 has and to fix a lot of the security issues with X.
One big difference with X though is that Wayland is just a protocol, and not a protocol and server like X. Instead it shifts the responsibilities of the X server into the window manager/compositor (which used to manage window placement and window borders as well as global effects such as any animations or transparency). It also has better controls over things like screen grabs so not every application can just grab a screen shot at once or register global shortcut keys or various things like that. Which for a while was a problem as screen sharing applications or even screenshot tools did not work - but over time these limitations have been added back in more secure ways than how X11 did them.
nous@programming.devto
Technology@lemmy.world•A tiny radioactive battery could keep your future phone running for 50 yearsEnglish
41·3 years agoNot all phones need to play games and gaming phones don’t need to use this type of technology. I would love a phone that I don’t need to charge and most people could benefit from one. And for the select few that like to play intensive games on it then they can get ones that would need to be charged.
Though I doubt this technology will be the answer to that want though.
nous@programming.devto
Technology@lemmy.world•Why is there no USB-C (female) to mini-B (male) adapter?English
1·3 years agoSorry, clicked reply on the wrong comment :)
nous@programming.devto
Technology@lemmy.world•Why is there no USB-C (female) to mini-B (male) adapter?English
4·3 years agoTheoretically you could build a male to male contraption from multiple adapters and a cable.
You already can as these exist:

letting you plug in any existing USB A to mini cables together to get a male to male device - nothing unsafe about that though. So this is not a very good reason to not allow USB C to mini adapters.
Also you could be providing too much current to a device, however this is specific to the combination of adapter, cable and power supply you use.
Current is pulled by the device - you cannot supply too much current. Devices take just as much current as they need or as much as the adapter can supply. The only way a device would take more than that is by badly designed or faulty - but that is a problem with the device, if the power supply can supply the power there is no issues on that side.
Also USB C connectors can and do by default operate with USB 2 power - supplying 5V and limiting the current to the USB 2 standards and so any existing charger with USB A or mini connectors on. Thus any USB 2 device will only have access to the power given by the spec. You would require a handshake from newer USB protocols to get access to more voltage/current that some USB C chargers can supply.
There is nothing unsafe about any other this baring faulty devices - but if we worried about faulty devices then we would not allow any electronics devices to exist as any of them could be faulty. USB C to USB mini does not dramatically increase any risk of fire or devices exploding no more so than any device using USB mini or USB C alone.
The real reason is there is likely just not much of a market for them so they are harder to find - but they do exist.
nous@programming.devto
Technology@lemmy.world•Why is there no USB-C (female) to mini-B (male) adapter?English
16·3 years agoHow? Anything with a mini will be USB 2 at most and USB c defaults to lower power of USB 2 without any handshakes with the device which one with USB mini won’t do.
nous@programming.devto
Technology@lemmy.world•Why is there no USB-C (female) to mini-B (male) adapter?English
1·3 years agodeleted by creator
nous@programming.devto
Linux@lemmy.ml•Steam not launching games - no idea what to do [Solved]English
1·3 years agoHave you tried updating and rebooting your system? I have had this happen a few times and almost always that is what fixes it for me (more so the rebooting but it is generally good to have your system up to date). Other times it is typically something missing on your host system (like properly installed drivers), though if the game was running before then this is less likely to be the issue and a reboot is typically enough - so start with that.
nous@programming.devto
No Stupid Questions@lemmy.world•Why is propaganda frowned upon?English
5·3 years agoI think this is true from the original definition of the word. But decades of one side calling out the other sides propaganda in harsh and negative lighting leaves a negative connotation to the word. Which results in each side avoiding the word for their own messaging and using the word for their opponents messaging. Which further reinforces the negative perception of the word and over decades of people doing this it has left a lot of people thinking it only ever applies to negative or deceptive messaging. And I think this was more impactful in places like the US where there were a lot of political people using the word in a negative way - such as in the big red scare campaign in attacking communist ideas by calling it communist propaganda and similar messaging.
Which is shown by various comments in this post thinking it only applies to negative or deceptive messaging. So I would argue the meaning of the word has or is still changing - as words naturally do over time due to how people use them. Which I think goes a way to answering the OPs question, some places used the word more negatively which gives the people that live in those areas a more negative view on the word. While others have not and so people there have a more neutral take on the word.
nous@programming.devto
Technology@beehaw.org•Microsoft is adding a new key to PC keyboards for the first time since 1994English
1·3 years agoFrom the article:
A quick Microsoft demo video shows the Copilot key in between the cluster of arrow keys and the right Alt button, a place where many keyboards usually put a menu button, a right Ctrl key, another Windows key, or something similar. The exact positioning, and the key being replaced, may vary depending on the size and layout of the keyboard.
a hearing doc won’t be much help with anything aside from hearing
Irrelevant to my argument. All I mean is because they go to visit someone for one problem can mean they visit other people for other problems they have - rather than ignoring things and staying at home. And I am not claiming what I said to be the actual cause - at least no more than what the study can claim. There could be many other factors at play here as well. My only point is to not confuse causation for correlation and that these types of studies are almost useless in what they tell us.
Hell, even spurious correlations happen all the time. You cannot use two graphs looking similar to prove any point without a lot of control for all the other variables that might be at play and not go looking at large amounts of data for anything that might seem interesting.
“We found that adults with hearing loss who regularly used hearing aids had a 24% lower risk of mortality than those who never wore them,” said Janet Choi, MD, MPH, an otolaryngologist with Keck Medicine and lead researcher of the study. “These results are exciting because they suggest that hearing aids may play a protective role in people’s health and prevent early death.”
While the study did not examine why hearing aids may help those who need them live longer, Choi points to recent research linking hearing aid use with lowered levels of depression and dementia. She speculates that the improvements in mental health and cognition that come with improved hearing can promote better overall health, which may improve life span.
This is the classic causation vs correlation problem with these studies. I can also speculate: Did the hearing aid actually do anything at all - or do the people that go to the doctors for a hearing aid also go to the doctors for other problems they might have and so get more treatment for other conditions? That seems far more likely to have a bigger effect IMO.
nous@programming.devto
Games@lemmy.world•Best of Steam 2023: The Year's Top Games measured by Gross RevenueEnglish
771·3 years agoWhat is sad is that 6 of the 12 platinum games rated by top revenue are free to play games - so must be making money on micro transactions. Sad that model works so well for extracting cash out of players.
nous@programming.devto
Technology@lemmy.world•Why a kilobyte is 1000 and not 1024 bytesEnglish
1·3 years ago(for example) a 250GB drive that does not use the full address space available
Current drives do not have different sized addressable spaces and a 256GiB drive does not use the full address space available. If it did then that would be the maximum size a drive could be. Yet we have 20TB+ drives and even those are no where near the address size limit of storage media.
then I suspect the average drive would have just a bit more usable space available by default.
The platter size might differ to get the same density and the costs would also likely be different. Likely resulting in a similar cost per GB, which is the number that generally matters more.
My comment re wear-levelling was more to suggest that I didn’t think the unused address space (in my example of 250GB vs 256GiB) could be excused by saying it was taken up by spare sectors.
There is a lot of unused address space - there is no need to come up with an excuse for it. It does not matter what size the drive is they all use the same number of bits for addressing the data.
Address space is basically free, so not using it all does not matter. Putting in extra storage that can use the space does cost however. So there is no real relation between the address spaces and what space is on a drive and what space is accessible to the end user. So it makes no difference in what units you use to market the drives on.
Instead the marketing has been incredibly consistent - way back to the early days. Physical storage has essentially always been labeled in SI units. There really is no marketing conspiracy here. It just that is they way it was always done. And why it was picked that way to begin with? Well, that was back in the day when binary units where not as common and physical storage never really fit the doubling pattern like other components like ram. You see all sorts of random sizes in early storage media so SI units I guess did not feel out of place.
nous@programming.devto
Technology@lemmy.world•Why a kilobyte is 1000 and not 1024 bytesEnglish
9·3 years agoHuh? What does how a drive size is measured affect the available address space used at all? Drives are broken up into blocks, and each block is addressable. This is irrelevant of if you measure it in GB or GiB and does not change the address or block size. Hell, you have have a block size in binary units and the overall capacity in SI units and it does not matter - that is how it is typically done with typical block sizes being 512 bytes, or 4096 (4KiB).
Or have anything to do with ware leveling at all? If you buy a 250GB SSD then you will be able to write 250GB to it - it will have some hidden capacity for ware-leveling, but that could be 10GB, 20GB, 50GB or any number they want. No relation to unit conversions at all.
nous@programming.devto
Technology@lemmy.world•The Telecom Industry Is Very Mad Because The FCC MIGHT Examine High Broadband PricesEnglish
12·3 years agoWhat?!? But then how are companies going to manipulate their pricing to attract new customers away from their competitors without actually cutting any revenue? They neeeed this to keep their numbers up so they look more attractive to investors and get more money. Are you not thinking of the shareholders? Why won’t anyone think of the shareholders!
/s … if that was not obvious
nous@programming.devto
Technology@lemmy.world•Why Tesla Autopilot shouldn’t be used in as many places as you thinkEnglish
11·3 years agodeleted by creator
nous@programming.devto
No Stupid Questions@lemmy.world•Honda's commercials saying they are going to be carbon neutral by 2050. What?English
2·3 years agoYou counter your own point…
You cannot trust people to do what is right for the environment. They wont do anything until they see the effects for them selves and by then it is far too late to do anything meaningful. And if/when they do finally care all they see is a lot of green washed campaigning by every company claiming to be green when non of them are and they have no real choose and a lot of confusion. You need strict and effective regulation to curve this behavior in companies.
nous@programming.devto
No Stupid Questions@lemmy.world•Honda's commercials saying they are going to be carbon neutral by 2050. What?English
9·3 years agoIt is not impossible for people at Honda to care. Just not the right people, those that can actually make a difference. The decision makers are all looking for what gives them the most profit, if not then they are not in their position long or, really, never get to a position that matters in the first place.
The only thing that capitalism cares about is profit, by very definition.

Its called a holiday. You know it is mandatory in other countries to give employees a minimum number of paid holidays per year. A single day is far from revolutionary, more shocking.