• 0 Posts
  • 1.9K Comments
Joined 1 year ago
cake
Cake day: December 18th, 2023

help-circle


  • Do you really belive that everyone’s labor is worth the same? So a miner that spends hours on end underground risking black lung or a ton of other nasty stuff and a Walmart greeter should have the same compensation?

    Also, how is listening a song on Spotify “labor”??? Where can I get that job? Are you guys getting paid for being fans of someone?








  • TjatoLefty Memes@lemmy.dbzer0.comPoetry
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    2
    ·
    4 days ago

    We rent servers in the cloud because it’s cheaper than owning them. I did the same for some projects when I was freelancing.

    The software I write… I don’t own it, same as an electrician doesn’t own the cables he installs in your house. It’s the product I’m getting paid to create, why would I own it?

    This whole “we should own the means of production” screams of 19th century farmers and factory workers. It’s 2025, plenty of people already own their means of production, from IT bros and lawyers to farmers, electricians and cleaning personnel. And communism didn’t have to do anything with it.


  • TjatoLefty Memes@lemmy.dbzer0.comPoetry
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    3
    ·
    4 days ago

    My means of production are a laptop and an internet connection. I have both. My employer can keep the surplus value, as long as they do the customer handling, accounting, marketing, etc, all of which I had to do myself being self-employed.



  • TjatoLefty Memes@lemmy.dbzer0.comPoetry
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    5
    ·
    4 days ago

    So why is it more common for mechanics to be exploited by jiffy lube? Other than things that require the dealership (to keep the warranty, for instance) I always go to small shops, with max 2 or 3 employees. As far as I know, jacks, wrenches and screwdrivers haven’t gotten up in price. In my opinion, starting your own shop is hard and people prefer to go the easy way.

    I know I did. I myself was self-employed for a while and I went back to a salary, the few extra bucks are not worth the effort. Yes, my employer makes some profit from my work and we have a millionaire CEO, but I can go on vacation or call in sick without stress consuming my time. I’m not in the US tho…


  • TjatoLefty Memes@lemmy.dbzer0.comPoetry
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    9
    ·
    4 days ago

    Which means exactly are we seizing back?

    Because I already own my means of production… And in western countries, where 80%+ of population works in the services sector, it’s not a unique situation. A lawyer, an accountant, even a mechanic or electrician already own their means of production.

    We don’t live in the 1800s anymore…



  • TjatoProgrammingHow to do IPC in Linux?
    link
    fedilink
    arrow-up
    11
    ·
    5 days ago

    All answers you got here are good, but it depends how simple do you want it.

    Your current solution doesn’t meet one of your criteria already. The code that produces the data cannot run for an extended period of time if it keeps all data in memory and only writes it at shutdown (or USR1).

    It would be trivial to modify the program to write on every new data point collected. Then you just tail that file from the Webserver process.

    You could use more performant solutions, like explicit pipes, Unix sockets, websockets, or even shared memory, but keeping it simple is often the best way. This makes your data collection better (no memory “leaks”) without really adding code, you could in fact remove code (USR1 handling).