frankfurt_schoolgirl [she/her]

  • 0 Posts
  • 23 Comments
Joined 2 years ago
cake
Cake day: July 25th, 2022

help-circle





  • frankfurt_schoolgirl [she/her]@hexbear.nettoLinux@lemmy.mlThoughts on this?
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    1
    ·
    8 months ago

    I’ve been using Wayland for 5 years. There were a few bugs in the beggining, but now it works great. These threads are such a waste of time.

    I have over 100 confirms X11 developments

    That’s great dude. Why don’t you go maintain it then, apparently nobody else wants to: https://www.phoronix.com/news/RHEL10-Removing-X.Org

    Wayland took too long

    Look up how long btrfs has been in development, or at audio subsystem churn. These things take time, because it’s mostly volunteers working on them.

    Systemic complexity has doubled in the last two years

    What does this even mean?

    Mir was better

    It turns out the Canonical dumping random stuff over the wall is not the same as creating a legitimate open source community around a project.

    Unfixable amount of race conditions

    As if there’s never been a synchronization bug in X… But also System76 and others are writing Wayland compositors on Rust anyway.






  • The American economy is built in a very specific way to make certain things cheap and certain things very expensive. The cheap things are gas, toys, commodities, clothes, unhealthy food. The expensive things are education, good food, healthcare, and, in certain areas, housing. That means there are a ton of Americans who live extremely precarious lives, where losing their job would be the end, but they still have a higher level of material comfort than many people would in other countries.

    The other thing about the American economy is that wealth is extremely biased towards older people. For a long time, the system was built around normal working class people buying a house, and building wealth through that. As long as housing prices went up at a controlled rate, everybody slowly got richer. Now, older people own most of the houses. Like I grew up in a small town that was sort of the ideal American dream neighborhood. There were a bunch of other kids on my street, including some good friends. We rode the bus together and spent the weekends hanging out in my friend’s loft. Now, when I go back there, there’s like one family with kids on the street, and everyone else is a retired couple in a huge house that they don’t really need. They have no particular incentive to move out, because it would be expensive and they’re comfortable.

    So if you’re a younger person without in-demand education you really are extremely poor. 5k could really improve your quality of life by letting you get some dental work or something. Although the unemployment rate is low right now, companies are able to collude to some degree to keep entry level jobs precarious.









  • If you want to accept a user input of any length, you have to read the input piece by piece and allocate a new buffer if the original becomes full. Basic steps would be:

    1. Use malloc to make a char * buffer
    2. Read one character at a time in a while loop, keep track of your position in the buffer
    3. If you get an EOF character, add a \0 to your buffer and break the loop. You’re done!
    4. If the position is greater than the length, allocate a new buffer that has twice the length. Use memcpy to copy the stuff from the old buffer to the new one. Use free to get rid of the old buffer.

    This will work until you fill the entire memory of your computer. You should probably set a max length and print an error if it is reached.