@VZ@fosstodon.org avatar

VZ

@VZ@fosstodon.org

Just another open source hacker.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

cstross, to random
@cstross@wandering.shop avatar

Fuck Starmer.

The man's a Pink Tory, a reactionary in a Labour rosette. (Also transphobic, racist, and probably homophobic on top—he just keeps the lid on it in public.)
https://mastodon.online/@zzypt/112415113979879102

VZ,
@VZ@fosstodon.org avatar

@cstross Isn't it a bit counterproductive to call somebody "probably homophobic" if he has never shown it? IMO this just risks devaluing the accusations of homophobia against people who really deserve it.

VZ, to random
@VZ@fosstodon.org avatar

We're preparing to release #wxWidgets 3.2.5 next week and any help with testing the latest 3.2 sources (see https://github.com/wxWidgets/wxWidgets/releases/tag/v3.2.5-rc1) would be very welcome!

VZ, to debian
@VZ@fosstodon.org avatar

Does anybody know why would under (Bookworm) decide to use X11, rather than , for the login screen even though I have WaylandEnable=true in /etc/gdm3/daemon.conf (same thing happens with it commented out entirely)?

I can't find any reason for this to happen, and yet it does, which is especially annoying because X11 doesn't work on this machine, while Wayland does perfectly.

VZ,
@VZ@fosstodon.org avatar

@tripplehelix Well, the weird thing is that it does run Wayland session on another Debian machine with exactly the same (AFAICS) configuration. But on this one it has suddenly decided to switch to using X11 after a crash and this just drives me crazy because I don't understand at all why would this be happening...

VZ,
@VZ@fosstodon.org avatar

@tripplehelix Right, but how do I reset it back?

VZ,
@VZ@fosstodon.org avatar

@tripplehelix I've already tried installing LightDM only to discover that it requires X11 (it may launch Wayland sessions, but only uses X11 for its own screen)...

b0rk, to random
@b0rk@jvns.ca avatar

I have a few very small ideas for usability improvements to git. Been idly thinking about whether Wizard Zines could pay a developer to investigate and see if a couple of them are feasible

in theory I could do this myself, but I have never written real C code in my life and I think I'm very unlikely to actually do it

no idea what the probability of actually doing this is (maybe low? hiring developers is expensive!) but it's something I've been thinking about

VZ,
@VZ@fosstodon.org avatar

@b0rk If you don't want to change your existing client configuration, you could set up mutt specifically for git mailing list or even send your patches from command line using git-send-email.

Signed: someone who sent a patch to git mailing list and survived (the patch didn't get accepted though (but people were perfectly nice about it)).

b0rk, (edited ) to random
@b0rk@jvns.ca avatar

poll: in git, do you think of "detached HEAD state" and "not having any branch checked out" as being the same thing?

VZ,
@VZ@fosstodon.org avatar

@b0rk As I voted "no": when I intentionally get to this state, I think about it as "a particular commit checked out". If I get there in the middle of some other operation due to a conflict or whatever, I think about it as just a temporary state, to be left a.s.a.p. after finishing the current operation step.

So while, formally, "detached HEAD" and "no branch" are equivalent, of course, I never actually think about it like that.

mort, to vim
@mort@fosstodon.org avatar

Does anyone know how to get #vim or #neovim's C and C++ indenter to indent switch statements sanely? I don't want this sort of alignment at all, and I certainly don't want it to align with a mix of tabs and spaces

#CPP #C

VZ,
@VZ@fosstodon.org avatar

@mort set expandtab option to avoid hard tabs. As for the indent style, this is governed by cindent option, but you probably already have a non default value for it coming from somewhere because it doesn't behave like this by default.

gregeganSF, to random
@gregeganSF@mathstodon.xyz avatar

I am happy to report that in C++ accidentally adding a new variable that was intended to be an int to a line of declarations for bools can lead to hours of endless fun and bamboozlement, with no spoilsport warning messages to curtail the enjoyment.

bool n;
n=2;
if (i%n == 1) …

VZ,
@VZ@fosstodon.org avatar

@gregeganSF Amazing, out of the 3 major compilers only one (and you'd never guess which) warns about this code:

https://godbolt.org/z/saqEPE4nq

VZ, to random
@VZ@fosstodon.org avatar

Today I learnt how to write a unit test failing exactly once every 4 years: just do something like

date = date.today()
date.year -= 1

and enjoy completely unexpected test failures in all CI builds. Especially great if you ran your tests before pushing just before midnight, on Feb 28.

I hate dates and calendars.

VZ,
@VZ@fosstodon.org avatar

@numeredevs If your unit tests involve Excel in any way, shape or form, you're probably beyond salvation anyhow.

b0rk, (edited ) to random
@b0rk@jvns.ca avatar

i just understood today that the reason I feel stressed out about merge commits is that you can't figure out the contents of a merge commit by looking at it with git show

for example in this screenshot I have two merge commits (merge1 and merge2). They both have the same parents. They display the exact same way with git show. But they have different contents.

(edit: I think the solution is just to use git show --first-parent!)

VZ,
@VZ@fosstodon.org avatar

@b0rk Would using git show --first-parent help?

VZ, to Ukraine
@VZ@fosstodon.org avatar

Some nice #Paris #streetart celebrating #ukraine resistance.

gregorni, to random
@gregorni@fosstodon.org avatar

Please don't provide an option in your app to switch between light and dark mode. No one wants that. Just use the system preference, there's a reason it's a system preference.

VZ,
@VZ@fosstodon.org avatar

@gregorni Genuinely curious how does the presence of such option can bother anybody. Assuming that the program defaults to the system mode, as it should, what's the harm in allowing to override it for the users who want to do it?

VZ,
@VZ@fosstodon.org avatar

@gregorni I agree with (4), but it's a cost for the developer, not the user, and I thought you were speaking from the user point of view here.

And I'm much more doubtful about the rest of the points, at least I've never seen anybody complain about them before. But I did see many requests to add such an option, so the obvious harm of removing this option would be to disappoint the users who do want to have it.

VZ, to raku
@VZ@fosstodon.org avatar

I really like , in theory, and would like to use it more, but whenever I have something to write, I still often end up with using for it.

Just the latest example: I had to write a simple text-wrangling script that needed UUID generation. With Perl, I used App::Fatpacker to embed UUID::Tiny to make the script runnable just about anywhere without any extra dependencies, but there is nothing like that for Raku AFAIK and it just didn't seem worth it to do something more complicated.

kzimmermann, to NoStupidQuestions
@kzimmermann@fosstodon.org avatar

Hey Fedi, quick #question. For a while now, I wanted to make my (already self-hosted) #git repository available on the web, but only in a bare-minimum, read-only way. The stuff big forges use (gogs, gitea, gitlab, etc) is too big and featureful for the quick'n'dirty thing I want. No accounts, no writing. Simple.

So what do you recommend? I think something like the https://git.kernel.org interface could work, maybe even simpler. Would it, without anything extra installed allow git cloning?

VZ,
@VZ@fosstodon.org avatar

@kzimmermann You can try cgit (https://git.zx2c4.com/cgit/), it's as simple as it gets but still reasonably nice to use.

cstross, to random
@cstross@wandering.shop avatar

Teleportation: if we ever get them, they absolutely MUST exhibit some behavioural commonalities with a relational database—notably they must exhibit ACID properties: atomicity, consistency, isolation, and durability.

If teleportation isn't ACID you ain't getting me in that booth!

VZ,
@VZ@fosstodon.org avatar

@cstross Don't forget open standards and universal conformance to them, as interoperability problems can really ruin your day!

Don't even try convincing me to enter the sending booth using standard TQL (Teleportation Quality Level) 2024 if the recipient is using MS-TQL.

VZ,
@VZ@fosstodon.org avatar

@cstross Not sure, do you mean the one caused by the subsystem implementing backwards compatibility with Victorian pneumatic tube system?

shaft, to debian French
@shaft@piaille.fr avatar

Avec un peu de chance, #OpenSSH 9.5 arrivera dans #Debian Testing (aka #Trixie) d'ici le début de semaine prochaine.

En l'état, OpenSSH est bloqué car il migre après OpenSSL. OpenSSL dont la migration de 3.0.x vers 3.1.x est bloquée par nodejs, qui est bloqué par node-babel7 (qui est en cours de déblocage)

Joie de la dépendance :)

VZ,
@VZ@fosstodon.org avatar

@shaft Ça fait un peu froid dans le dos de savoir que OpenSSL dépend de nodejs. Je voudrais bien savoir comment on en est arrivé là (ou, peut-être, je ne voudrais pas, finalement).

VZ,
@VZ@fosstodon.org avatar

@shaft Oh, chouette, c'est autrement plus rassurant, merci. J'ai bien fait d'avoir posé la question, même au prix de montrer mon ignorance...

briankrebs, (edited ) to random

I've grudgingly come around to the notion that there is only one way out of the ransomware problem: Make paying a ransom illegal. This is not very different from laws that make it illegal for US companies to pay bribes to foreign officials.

I really don't see any other way out of this mess. Yes, some victims will unfortunately ignore any laws that say they can't pay, but enforcement probably will not be hard.

What will be difficult are the situations where peoples' lives are at stake in ransomware incidents This sounds callous, but we can't afford to take the short view here anymore, and our other alternatives aren't great either.

I'm quite certain this is an unpopular view, but we have already seen the cost of doing nothing. At least in the interests of congruity for our financial sanctions vs Russia, we should probably make this change sooner rather than later.

VZ,
@VZ@fosstodon.org avatar

@kurtseifried So let Russia do it instead of financing them ourselves. Russia is not that rich, in spite of all this oil, so I seriously doubt they'd manage to fund anywhere near the same level of activity.

VZ,
@VZ@fosstodon.org avatar

@kurtseifried Perhaps, but they still wouldn't attract such a number of talented people if they didn't pay much more than any cheap funding could provide.

In any case, right now the West is nurturing a very profitable industry harmful to itself out of its own pocket. It seems like madness to continue doing it.

VZ,
@VZ@fosstodon.org avatar

@kurtseifried No, this is just not true at all. There are many, many people who have become exceedingly rich from ransomware etc in Russia and they're not exactly difficult to find.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines