0x0

@0x0@programming.dev

This profile is from a federated server and may be incomplete. View on remote instance

[History] An editor letter by Edsger Dijkstra, titled: "go to statements considered harmful" (march 1968). ( dl.acm.org )

In this letter, Dijkstra talks about readability and maintainability in a time where those topics were rarely talked about (1968). This letter was one of the main causes why modern programmers don't have to trouble themselves with goto statements. Older languages like Java and C# still have a (discouraged) goto statement,...

0x0 ,

goto does have some uses, such as single exit point, but should be used sparingly.

0x0 ,

Random excerpts.

"Any bug has the potential of being a security issue at the kernel level."

Although the programmers examined RHEL 8.8 specifically, this is a general problem. They would have found the same results if they had examined SUSE, Ubuntu, or Debian Linux. Rolling-release Linux distros such as Arch, Gentoo, and OpenSUSE Tumbleweed constantly release the latest updates, but they're not used in businesses.

The proposed fix:

The team advocates for a shift toward using stable kernel branches from kernel.org for better security and bug management.

Woah, someone discovered fire.

What is the best model of used ThinkPad to purchase?

I’m thinking of picking up a used ThinkPad on eBay for cheap to serve as my daily driver. I’ll likely run LMDE, and primarily use it for web browsing, office programs, coding, and FreeCAD. Any recommendations on which model would best hit the sweet spot of capability vs price?

0x0 ,

Seems to be the top contender atm.

0x0 ,

Team of one here tends to work on master only for very small stuff.

There's a branch for the next release which will get merged once everything's done. Occasionally there are smaller branches that fork off of the release branch and get merged back.

Meanwhile master is, most of the time, an old copy of the new release branch so merging goes without issue. Unless there's a problem in prod, then it gets fixed in master and backported to the feature branch.

I should use feature toggles more (usually #ifdef, sometimes if (config_Flag)), occasionally a big feature creeps in and i know management will change it at least 3 times and 2-3 new releases will come out in between...

Public personal dev accounts: opinions?

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....

0x0 ,

I guess the flipside of not being so public is that you get to be an asshole behind a keyboard, eh?

0x0 ,

Generally speaking, my approach is "on the internet no one knows you're a dog". I tend to containerize my activity and keep as much PII away from the internet as possible.

I have a few accounts on the fediverse because otherwise the conjunction of regional data, interests and languages would easily identify me. Not that i generally do dumb stuff (but i can easily get flagged if i touch... hot topics, you must pander to certain groups otherwise you're immediately the villain, very free the fediverse), it's just that the internet hasn't quite evolved the way i was expecting it 30 years ago and surveillance capitalism is now a thing, among other factors. I provide as little and as fake information as possible when creating accounts.

As far as the professional sphere goes, all recruiters will ever see is a simple LinkedIn profile. I don't have much time to do pet projects, unfortunately, and certainly wouldn't host them on github - forgejo and codeberg ftw.

0x0 ,

Misread Dell for a second there and was wondering why were they screwing around with ASCII...

0x0 ,

If you want to learn about linux give Linux From Scratch a try (not as a daily driver, just as an experiment, in a VM if need be).

If you like to tune and compile your code, you can try Gentoo and Slackware, both suitable for Desktop.

Edit: assuming you're targetting the desktop, not the mac.

0x0 ,

Silicon Valley vibes (the series).

Doesn't the kernel have a coding standard?

0x0 ,

Anything with systemd, flatpak and any other type of vendor lock-in.

0x0 ,

The consensus seems to be: go for it for the learning experience.

0x0 ,

Gentoo's USE flags are fuckin' amazing.

0x0 ,

Has this changed with USB-C?

0x0 ,

Because they're both hosts, you need a host and a client iirc.

0x0 ,

Seems like you can add MEPIS to it and get MX Linux:

The development of MX Linux is a collaborative effort between the antiX and former MEPIS communities.

0x0 ,

Gentoo, Slackware and Devuan can be used without svchost for linux.

They'll only stop when they rebrand it to systemd OS.

0x0 ,

Debian already uses systemd.

0x0 ,

Sadly they've been dropping archs throughout the years, meaning they're no longer the distro you can use to run on "anything" from a pi to a mainframe...

0x0 ,

If your bar is "modern distribution" stick to Ubuntu.

If you want to maintain older hardware Debian used to be a go-to solution.

0x0 ,

Most likely LFS or some tailored distro I haven't heard of.

0x0 ,

I thought OpenSUSE is German, so why would you export it?

The only rationale is that it ships with cryptography that's made in 'murica and probably stored in US servers, hence the export warning.

0x0 ,

And then they continued by not implementing the certified format correctly in Office anyway.

Enter the hefty fines. Like 5% of last year's revenue.

0x0 ,

Does any role require a manager though?

0x0 ,

I did, actually. One was a "good" manager because both my team and the customer were fully committed to agile and he (along with the tech lead/senior dev) ensured requirements were well-defined and locked by the time they reached the team; the other was good 'cos she kept all the shit from upstream management - many layers or course - from hitting the team's fan (we noticed when she left).

These are the exceptions.

Let me rephrase: do management tasks require someone full-time and/or can they be diluted throughout the team? Does one need to be managed to work well?

0x0 ,

I can't shake the feeling that administrative stuff only grows because people need to justify their jobs.

0x0 ,

Lack of motivation is my primary distraction.

0x0 ,

C/C++ isn’t

You're talking about two languages, one is C, the other is C++.
C++ is not a superset of C.

0x0 ,

Exceptionss are bad coding, and what's abusive of using the full range of an integer?
0 success, everything else, error - check the API for details or call strerror.

0x0 ,

I'd counter that with monolithic, legacy apps without any testing trying to refactor can be a real pain.

I much prefer starting from scratch, while trying to avoid past mistakes and still maintaining the old app until new up is ready. Then management starts managing and new app becomes old app. Rinse and repeat.

0x0 ,

Bluetooth in general is just a mess and it's sad that there's no cross-platform sdk written in C for using it.

0x0 ,

Still a lot of zealotry going on judging by the votes... i say rewrite systemd in rust!

0x0 ,

Slackware - if it ain't broken don't fix it.
Gentoo - USE flags.
Mint - user-friendly.

0x0 ,

Don't use it.

0x0 ,

Never cared much about trends.

0x0 ,

Usually distro packages, even mingw and android's sdk are packaged now (at least on Ubuntu which i'm forced to use).

Not shying away from upstream though.

0x0 ,

I'd say paying money is not as effective at influencing a project as embedding developers is.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • All magazines