[-] onlinepersona@programming.dev 60 points 2 months ago* (last edited 2 months ago)

Maven and Cradle might be terrible, but C and C++ have fucking nothing in terms of dependency management. Even C# has something that few people use, but it has something. C and C++ are such a shit show to build. It's so bad they had to invent languages to build them and they regularly fuck up (CMake, make, bison, scons, meson, ...).

Pull a C or C++ project on a distro or environment and try to build it and you have to dive in the abyss of undeclared dependencies. And good fucking luck with glibc and glib dependencies. If the dev doesn't know which version they were actually using, it's up to you to find out. Fun for the entire family!

Anti Commercial-AI license

46

A shitpost about languages that generate CVEs

-12

If you think about productivity, you can't help but think that having the default state of your computer being an image with a few icons on it is less than stellar. For opening files, it will never be tidy enough to give you access to all you need, you need a launcher or a folder structure, meaning the desktop is bad at this. For opening apps, having visual shortcuts on the desktop is a duplicate of whatever panel or launcher you have.

87

Fullstack GUI library for web, desktop, mobile, and more. In Rust using a HTML + CSS renderer built on top of Servo.

351

Anakin Padme meme:

Anakin: I will use agile to plan my project
Padme: 2-3 sprints ahead right?
Anakin:
Padme: 2-3 sprints ahead right?

25
submitted 6 months ago* (last edited 6 months ago) by onlinepersona@programming.dev to c/programming@programming.dev

I'd basically like to run some containers within a VPN and some outside of it. The containers running within the VPN should not be able to send or receive any traffic from outside the VPN (except localhost maybe).

The container could be docker, podman, or even a qemu VM or some other solution if need be.

Is that possible? Dunno if this is the right place to ask.

---Resolution-------

Use https://github.com/qdm12/gluetun folks.

Anti Commercial-AI license

[-] onlinepersona@programming.dev 61 points 6 months ago

There is no "middle ground". The solution is to talk about sex. Early and when it's prompted aka when children start asking questions.

Stop treating sex as if it's something holy, special, taboo, and assigning a bunch of value to it. Trying to shield children from it is precisely the wrong thing to do. It's exactly the same with this fairy tale bullshit about relationships, marriage, and kids. Media makes it seem like the epitome of existence, that there's nothing greater than finding that one special person, and that there's only one special person forever and ever, and that it has to be of the opposite sex in order to procreate.

The more you hype something up, and that includes trying to hide it, the more it tantalizes people.

Again, answer questions honestly and truthfully that pertain to sex, attraction, relationships, and so on. Teach how to tell the real from the fake. Normalize knowledge and understanding of intimacy. It'll make for much healthier children and even healthier adults.

Education is the silver bullet.

Anti Commercial-AI license

21
submitted 6 months ago* (last edited 6 months ago) by onlinepersona@programming.dev to c/linux@programming.dev

Pi-Hole and similar DNS adblockers just seem like a hassle. I can't tell my parents to buy a raspi, flash it, install and configure pi-hole, configure their routers or devices to point to the raspi, and do all of that from another city. Also personally, there's no time for that in my house.

Is there a program or systemd service I can run that pulls blocklists from somewhere (git, http, ...) and updates /etc/hosts? Before I go off and write a python script, systemd unit file, and shell script to install it on the linux systems of friends of family, does this exist?

Resolution comment: Tblock

24
submitted 7 months ago* (last edited 7 months ago) by onlinepersona@programming.dev to c/linux@programming.dev

From another comment I made

A linux installer for windows that works just like a normal installer on windows. You download the .exe, double click it, it opens a wizard you can walk though, and by the end of the process, after it reboots, you're in a linux distro.

How could something like this be implemented?

My idea:

Best case scenario where multiple data partitions exist and can accommodate the user data stored on C:/ + there's a swap partition -->

  • download a linux iso
  • deactivate swap
  • replace swap partition with ISO contents
  • modify contents to auto install linux with settings from wizard
  • add boot entry to boot from old swap / modified ISO
  • reboot
  • install linux with a nice progress animation
    • move user data from C:/ to other partition
    • replace C:/ with linux
    • install alternatives to programs found on windows (firefox for edge, gimp for paint, inkscape for ..., libreoffice for MS office, etc.)
    • move user data to /home/$username
    • configure DE with theme (gnome for macos look, kde with theme for windows look)
    • other customisations
  • reboot into linux

Dunno if this is feasible in the best case scenario.

Anti Commercial-AI license

[-] onlinepersona@programming.dev 63 points 7 months ago

People mocked China, but here we are. Surveillance capitalism looked at that country and said "we can do better".

But people are fine with it because "I have nothing to hide" makes sense to them or they simply don't care - until something happens to them.

Anti Commercial-AI license

[-] onlinepersona@programming.dev 75 points 7 months ago

And when the opensource maintainer changes the license to adapt to the economic situation, the OSIsts rush in to tell the maintainer how evil they are.

Anti Commercial-AI license

[-] onlinepersona@programming.dev 81 points 7 months ago

Looks like development of such things will have to start happening on the dark web. What a ridiculous conviction.

In its judgement, the court accused him of an “ideology of maximum privacy.”

What the fuck is this kind of reasoning? Is privacy illegal now?

Anti Commercial-AI license

89

I've heard it thrown around in professional circles and how everybody's doing it wrong, so.. who actually does use it?

For smaller teams

"scaled" trunk based development

35
submitted 7 months ago* (last edited 7 months ago) by onlinepersona@programming.dev to c/programming@programming.dev

I feel like there are many devs out there who expose a lot of personal details and opinions all over the web. Maybe it's just me, but when starting out with the internet I tried my best to separate my personal details (name, age, sex, country, ethnicity, family ties, relationship status,...) from usernames in public.

Seeing devs do it willingly and voice opinions on divisive or sensitive topics kind of messes with me. Aren't y'all afraid of missing out on job opportunities if someone reads your opinions, code, or other stuff tied to your personal accounts? Or letting anybody (maybe family, friends, acquaintances, ...) in on your personal life, mindset, opinions and other personal information?

Anti Commercial-AI license

17
CID concept is broken (discuss.ipfs.tech)

TL;DR IPFS's "content addresses" don't actually address the content but a tree of the content stored in a protocol buffer, making it impossible to convert a hash to a content address.

DHT of CIDs? More like a Distributed Table of Lies!

32

It seems like every other week a game studio is massively laying off employees; sometimes after years of development. What I'm reading is that it's a quick way to lower expenses and pad the investors' pockets, flooding the market with developers and reducing their value, to then hire them back a few months later at lower salaries.

So, what's holding back gamedevs from banding together to either unionize or start their own companies with better conditions that the purely money-driven studios? Why aren't they trying to be better? Nobody willing to invest in them? Does starting a company together mean they will now be the bosses who have to answer to the investors, ensure returns, and fire employees? Is the world just an entire shit-cake?

51

There has been a lot of talk about companies and individuals adopting licenses that aren't OSI opensource to protect themselves from mega-corp leechers. Developers have also been condemned who put donation notices in the command-line or during package installation. Projects with opensource cores and paid extensions have also been targets of vitriol.

So, let's say we wanted to make it possible for the majority of developers to work on software that strictly follows the definition of opensource, which models would be acceptable to make enough money to work on those projects full-time?

[-] onlinepersona@programming.dev 74 points 8 months ago

I bet this is just an attempt at getting away a core contributor then reducing their productivity or diverting their attention from Nouveau. That, or they are really trying to opensource their driver. Given their history, I seriously doubt it.

Fuck NVIDIA

Anti Commercial-AI license

[-] onlinepersona@programming.dev 70 points 8 months ago* (last edited 8 months ago)

You forgot the Mac

Lol, fuck Mac. If Apple cared about gaming, they wouldn't have created Metal and collaborated on Vulkan. Fuck them. Valve went with Linux because they can change it to fit their needs. Can't do that with Apple.
Microsoft is only supported by Valve because it has large marketshare and can't be ignored, but it's clear that Valve is doing everything possible to get away from them: see Steam Deck.

In general, I agree with Steam wielding too much power and if they abused it, I'd be out. I have my gaming hours and can live without gaming no problem. They wouldn't get any more money from me as soon as they enshittified.

What would get me away from steam is an opensource gaming store with games that have no DRM and are predominantly opensource. Or another gaming store that worked on Linux and allowed playing games with my other linux buddies.
Get us that and I'm out.

Anti Commercial AI thingyCC BY-NC-SA 4.0

[-] onlinepersona@programming.dev 60 points 9 months ago

flexbox made things so much easier, but still hard. There are just too many rules to keep in your head about display and position and how they affect other attributes. And the box model... wow. margin, border, padding, content, but he attribute is box-sizing and it has border-box and content-box, but not the others.

IINM it was written by people who came from print media (just like HTML) and that stuck.

CC BY-NC-SA 4.0

[-] onlinepersona@programming.dev 58 points 1 year ago* (last edited 1 year ago)

I think it's a bit crazy to create a paid service on top of a reverse engineered product that isn't static. Indivious, NewPipe and other youtube frontends aren't going to create a paid youtube frontend, because they know Google could kill that at any point. Google could dedicate a full team to making youtube frontends non-functional.

Apple has a much bigger incentive to derail iMessage alternatives because they know that dumb parents have taught their kids how to live in a closed ecosystem and be slaves to Apple. 87% of USAian teenagers use Apple, which means it's only a matter of time before Apple becomes the dominant player on the market. If you want to keep making fat stacks of cash, the best thing you can do is control the market, which means killing of competition.

The only reason Apple would ever stop killing competitors is if it became legally and financially detrimental to do so. They'd have to reach Microsoft levels of antitrust and bad press before even considering backpedaling.

Everyone buying their products is helping Apple along to their goal of market dominance.

[-] onlinepersona@programming.dev 79 points 1 year ago

Twitch is trash. Everywhere I've been, 1080p isn't stable. As soon as I switch over to youtube, 1080p works fine. And their stupid "loading stream UwU" screen when loading it on another page is just annoying.

It also misses the absolutely basic feature or scrubbing - I can't rewind or click back to a previous point in the stream - no. For that, the stream has to have recording activated, then you need to know of /videos on the streamer's page, and finally you can open the "recording". And because it's a recording, you can't "go to live". It jumps back to the very beginning of the stream when it gets to the end "end of the recording", which is whenever you opened it --> opened it 1 hour ago? Once it hits that point again, (no, not live - 1hour but live - 2 hours), it reloads and now you have to remember that it was live - 2 hours.

It's just shit.

[-] onlinepersona@programming.dev 61 points 1 year ago

My bigger problem is many swear on FLOSS, but using Apple is OK. Go to a FLOSS conference and there are Macs everywhere.

It's undeniable that Microsoft has had positive influences on the opensource world with language servers, debug adapter protocol, an inbrowser editor that is seemingly embedded in any website with a code editor, cross-platform C# (maybe that's a curse though, I dunno), linux contributions, and probably more I'm not aware of. Apple... I dunno. Vendor lock-in and more electronic trash?

view more: ‹ prev next ›

onlinepersona

joined 1 year ago
MODERATOR OF