Skip Navigation
programming

Programming

  • [Union demand proposal] Should software development (and all other IP-producing labour) get paid residuals?

    My gut answer is "yes!!!" or "revolution" but I want to hear what y'all think. For those unware, some creative professions such as film writers get paid a small portion of all revenue generated by their work after it's been produced, which is called a "residual," and it's part of their current fight with hollywood not properly paying those residuals due to the streaming loophole.

    Since most programs that are profitable are based on the work of long gone developers (basically capital that gets worked on by machine labour), I think this might be a great demand for an eventual software development union.

    What do y'all think?

    12
  • I Made a Shitty App in Kotlin!

    I just realized that I made my last post 3 weeks ago. In any case, I staggered my learning with building a simple starter app and just finished my last bit of logic this am. Figured I would share in hopes of some sort dopamine activity via validation.

    The App:

    • Has 2 sets of strings that are common phrases that people might use while navigating eating out at restaurants where language barriers might be an issue.
    • First set in bold are translated in the app via the Language tab
    • Second smaller set are translated based on the phone's locale settings.

    The idea is that the phone owner should be able to read the text as well, so I wanted 2 sets for when one party speaks one language and the other party speaks another. I mostly wanted to have the challenge of handling translations from within and outside the app and figured why not.

    The phrases can be toggled with the green buttons on the bottom. This is to fine tune the dietary preferences. Vegan will toggle everything but gluten as "cannot consume" or will set it for relative vegetarian(so no meat or fish but yes dairy and eggs)

    I put gluten in there for anyone who has Celiac. I have found a frightening number of waitstaff that just assume that both veganism and gluten allergy is just "fad diets" so I wanted to include both for the little bit of crossover between the 2 lifestyle diets.

    Screenshot with French for phone language and Spanish for in app language:

    !

    github: https://github.com/AndroidHell/ImVeganBTW

    Notes:

    • The app title translate based on phone language but it should be based on in-app language since it's meant more for the person taking a food order to know "I'm Vegan. I might have it change based on vegan or vegetarian for the in-app language but I suppose that is handled by the first card. 🤔
    • The nav buttons are not translated and localizing those would be good
    • if text in the cards is too long, it gets cut off with ... at the end. This is a similar issue to the Jerboa app nav buttons for some languages. I might make the strings shorter(lazy route) or try to write some sort of scroll/ticker or make each card expand with full text.
    • The source code is a fucking mess. I already know. I started working on viewModel stuff before actually learning about it or app architecture.
    • Translations were done by Google Translate so if they are wrong maybe let me know and I can fix them. I only speak English so had to rely on Google on this.
    • I tried to pick main languages that I could come across in the States. I think they should work in other parts of the world but I used Mexican Spanish and Simplified Chinese so I donno how that might work out elsewhere.
    11
  • Preferred Software Forge in the Global South?

    Is Gitee, GitHub, or some other software forge preferred in China and the Global South?

    I'm trying to decide whether I should mirror my open-source repos onto Gitee or another forge, as Github's dominance in the space and ownership by Microsoft is rather disconcerting for anyone in non-U.S.-aligned countries.

    5
  • NYT makes Neville Roy Singham sound based af. Did anyone work for Thoughtworks when he ran it?

    web.archive.org A Global Web of Chinese Propaganda Leads to a U.S. Tech Mogul

    The Times unraveled a financial network that stretches from Chicago to Shanghai and uses American nonprofits to push Chinese talking points worldwide.

    A Global Web of Chinese Propaganda Leads to a U.S. Tech Mogul
    1
  • Amy Kotlin devs around?

    Or does anyone wanna buddy up and learn it with me?

    I lost my job as a Java dev after a little less than 2 years and figured is play around with Kotlin for Android development.

    Working on setting up unemployment and startinf the whole job hunt thing again for the umpteenth time in my life but will have a lot of free time in the interim so I wanna start working on an app idea for calculating dice weight for ttrpgs. I've been looking at Kotlin over the last few months and decided sure why not.

    The plan is to get the fundamentals down and make 1 or 2 small projects and see where I am at. After that I'm considering chekcing out Rust as well. But that won't probably be until next year.

    Kotlin doesn't have nearly as much of a community as Rust so this is probably a shit in the dark. But I guess but me up if you are interested. I've never done a buddy system with a language but with my attention issues it might help?

    22
  • Which software license to use for personal projects?

    Copyright is a tool of suppression by the bourgeoisie etc etc but as long as we have to deal with this tomfoolery, what licenses do you use or recommend, and why? I'm also open to the idea of custom or silly licenses if you can justify that they won't cause more trouble than they're worth.

    I've heard the tale of a Rust DS emulator whose github repo was deleted, but because either there was no license or the license was something dumb, no one was able (or brave enough) to revive it, so i feel like it's important to take this more seriously than i have been. For the few things i have made i just put "copyright is fake" or "this isnt my code, it is OUR code, comrade!" in LICENSE.txt.

    7
  • Putting the "You" in CPU

    Great explanation about how CPUs actually work. Worth reading!

    0
  • Is there a website for you to practice your web development skills? Particularly HTML and CSS.

    I don't really see any websites that allow you to practice webdev skills asides from JS. Maybe ask the user to make like a project or a simple website with the things they want implement and have them rank it and stuff?

    19
  • What was the weirdest/worst/most obscure editor you've ever used?

    I'm in the process of learning DOOM Emacs to move away from Codium, and the process prompted me to reflect on editors I've used in the past. There is one obscure editor I'm having flashbacks of: jGrasp. It was the editor I learned to code in because it's what my professor recommended. It is ugly and barebones as hell. Also, it's written in Java. I would never use an editor like it today, but I didn't know any better at the time.

    3
  • Software engineer labor aristocracy effort post.

    I made an effort post in the genzedong general thread and I thought it would make a good standalone post. This is the context: https://lemmygrad.ml/comment/393476

    >That's likely part of it. I think part of it also has to do with what the U.S. materially controls. Having so much of the internet's infrastructure in burgerland along with insider access to the companies who own and run their services on that infrastructure allows for both easy surveillance and the ability to propagate propaganda on a scale that puts TV and radio to shame. The strategic importance of workers who do the labor to enable this, along with these workers requiring more training (both initially and continously) relative to others, puts an upward pressure on the wages. Another factor is that it is possible to make a software product where the only thing you need is software. What I mean by this is you don't have to go nuts on buying means of production and land in order to become a code kulak. There are exceptions to this of course (uber, amazon, etc.), and of course making good software isn't child's play even if it's not rocket surgery, but you can easily have a code kulak whose business is separated from material stuff enough that they'll end up with an even more skewed perspective of production than your vanilla petite boug. On top of all this: remember that infrastructure I mentioned earlier? If you're a code kulak looking to run your business, there's a good chance you'll use infrastructure owned by the big porkies in order to make money. With stuff like AWS, Azure, and Google cloud, all the code kulaks who want to use the convenient way of hosting their service is going to have their interests materially aligned with the big porkies. Sprinkle in the general state of education about history in the west being shit and liberalism (and consequentially, idealism) being the way most people are brought up to think about how the world works. You'll get programmers who are dilettantes in topics like philosophy and the natural sciences that try to use their technical knowledge as a way of understanding things that are outside of its intended scope. This ends up with a flavor of pseudery that is kind of ridiculous. You get things like James Damore, the singularity, and longtermism. Since the wages are high due to factors I listed above, you also get the effect of people who only give a shit about money seeing software development as a way to get rich. Combine all of the things I mentioned and you get an industry that selects for and produces some really bourgeoisified workers.

    10
  • What Side of the Editor War Do You Lie?

    What side of the editor war do you lie? vi, Emacs, or maybe something newer like neovim, nano, or VS-Codium?

    1
  • Telemetry in open source projects

    Generally, I'm opposed to any telemetry in any project, open source or not. However, there was recently a discussion about adding telemetry to the Go programming language's tools, and Go is my primary language. My initial reaction was outrage, I don't want Google spyware on my system, but reading the proposal for how it was actually going to work changed my opinion.

    Here's a link to the proposal: https://research.swtch.com/telemetry. It was designed for Go, but the author believes it can be applied to other open source projects as well.

    It was originally going to be opt-out, which I disagree with, but the Go team has listened to feedback and it will be opt-in instead. This is the first telemetry proposal I'm not completely opposed to, and I might even enable it on some of my devices.

    While Google has had a very bad track record with spyware, this proposal actually seems reasonable and carefully designed to take privacy into consideration. The system will only collect numbers and stack traces. The numbers are statistics like the amount of times a Go tool has crashed or the amount of times a feature was used. Every week, with a 10% probability, a report will be sent. This amounts to an average of just 5 reports per year. The reports will contain no identifying information, not even a randomly-generated ID, they will be publicly viewable, and the decisions about what to collect will be made in an open, public process. All the code for this will be completely open source. It only applies to the Go tools themselves, not programs compiled with the Go compiler, and all the collection logic is local, with the metrics being stored in files that you can inspect to see what will be sent.

    It seems like this proposal would preserve privacy while still providing only the necessary data to allow the Go team to improve their tools. What are your thoughts on this?

    0
1 Active user