@tristan957@fosstodon.org
@tristan957@fosstodon.org avatar

tristan957

@tristan957@fosstodon.org

Software engineer by day, basketball referee by night. Open source contributor, beer consumer, and motorcycle rider in between.

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

bragefuglseth, (edited ) to GNOME
@bragefuglseth@fosstodon.org avatar

Are there any useful learning resources out there that are essentially "build systems for dummies"?

I haven't built any complex projects from source manually so far (spoiled by meson + GNOME Builder's Flatpak integration), but I'm finding myself wanting a better understanding of what's actually happening under the hood to turn the stuff in my project folder into something runnable. I don't know much about tweaking meson.build files, for instance.

tristan957,
@tristan957@fosstodon.org avatar

@bragefuglseth reading code was how I learned

tristan957,
@tristan957@fosstodon.org avatar

@bragefuglseth Reading meson.build files in GNOME projects. Are you trying to understand how Meson itself works?

tristan957,
@tristan957@fosstodon.org avatar

@bragefuglseth Meson is just a build.ninja file generator. If you want to see how that happens you need to read the ninjabackend.py file.

drewdevault, to random
@drewdevault@fosstodon.org avatar

Suggest a license to cover in this week's license book club on WFS?

tristan957,
@tristan957@fosstodon.org avatar

@drewdevault The PostgreSQL license!

tristan957, to random
@tristan957@fosstodon.org avatar

🌞

tristan957, to PostgreSQL
@tristan957@fosstodon.org avatar

At my job, I primarily work on and with #PostgreSQL. I thought it would be fun to work on a #GTK/#LibAdwaita application for connecting to and managing a Postgres database. It'll give me a chance to work with libpq to become more knowledgeable of how it works. I haven't written a desktop application in a while, so it should be fun working with GTK and libadwaita again. I also started using #Blueprint instead of GTK Builder's XML descriptions. It is working really well thus far.

tristan957,
@tristan957@fosstodon.org avatar

@bragefuglseth no, I hadn't! I'll take a look at it.

cassidy, to music
@cassidy@blaede.family avatar

There’s renewed interest around the app in , which excites me. I use a music streaming service for discovery and while I really like that and don’t think there’s a good way to replicate that with the way the music industry is structured, there is also a lot more we could do to encourage and lean into local music collections.

A big part of that conversation, imho, should be how buying music from an artist usually supports them far more then streaming their music a ton.

tristan957,
@tristan957@fosstodon.org avatar

@cassidy Who are the new contributors?

drewdevault, to random
@drewdevault@fosstodon.org avatar

Following tsoding's live stream of Hare I took a few notes on areas for improvement, here are some improved error messages to that effect

Type error showing more insightful error messages on integer constant precision issues

tristan957,
@tristan957@fosstodon.org avatar

@omenos @drewdevault I would expect that it's the same as main not being static in C. The runtime expects the symbol to be visible because it is the entry point to the program.

I don't know any Hare though, so take it with a grain of salt.

tristan957, to fedora
@tristan957@fosstodon.org avatar

Today I learned about mandb(1). Apparently you have to run it when new man pages are added or removed. I assume this happens automatically for man pages managed by good package managers like dnf, but when you install pages elsewhere, you are tasked with updating the database yourself. Is there any sort of automation I can add to my workflows for updating the various man page databases that aren't managed by dnf?

cassidy, to GNOME
@cassidy@blaede.family avatar

Folks, I hope you are all prepared for an incredible #GUADEC2024 because it is going to be great. I’m so stoked. I hope we can do Denver justice in just the few days most people will be here, but I think between the talks, location, and social events, we will do pretty well. 😁

Submit a talk and plan your trip over at https://guadec.org 👀

#GNOME #GUADEC #Denver #DenverCO #Colorado

tristan957,
@tristan957@fosstodon.org avatar

@cassidy I'll be there! First time going!

tristan957, to random
@tristan957@fosstodon.org avatar

Just got the beta for the @protonmail Android app. The difference is night and day. I think one of the best new features is the support for plain text email viewing. There are a ton more features that I want, but this is just so much better than the previous version of the app.

brettcannon, to random
@brettcannon@fosstodon.org avatar

There's a request for Python to support https://bford.info/cachedir/ and CACHEDIR.TAG files in __pycache__: https://github.com/python/cpython/issues/85253 .

Do people know how widely supported it is? It's one of those things where I don't want CPython pioneering this, but I also realize adding it will somewhat legitimize it.

tristan957,
@tristan957@fosstodon.org avatar

@brettcannon there is an open PR to add support to Meson

tristan957,
@tristan957@fosstodon.org avatar

@brettcannon I pinged the PR today. The people with merge powers seem receptive though.

ebassi, to random
@ebassi@mastodon.social avatar

Controversial opinion time: free (as in gratis) long term support Linux distributions have damaged the whole ecosystem, and done a disservice to both users and upstream projects, all to placate the fetishes of of sysadmins and packagers, or the aspirations of people funding them as a product. We'd all be much better off if LTS distributions had only ever been gated behind a paid support scheme.

tristan957,
@tristan957@fosstodon.org avatar

@gabrielesvelto @ebassi I've never once had Fedora break on me except when I broke it myself. Seems like a false dichotomy to me.

tristan957,
@tristan957@fosstodon.org avatar

@gabrielesvelto @ebassi I don't even think you read your own links to be honest. Most of them are issues with third party packages like snapd or Shell extensions, so again I'm curious, where are you getting "routinely?" GNOME Software can download and install software updates in the background, so again, I don't understand what you're saying.

tristan957, to neovim
@tristan957@fosstodon.org avatar

Does anyone have a keyboard-centric way to copy data out of less(1)?

I found this resource:

https://stackoverflow.com/questions/26626910/copy-specific-line-from-less

But it is a really cumbersome process. Makes me tempted to just try to make my pager.

tristan957,
@tristan957@fosstodon.org avatar

@binaryphile I am also using tmux. Maybe I just need to be using tmux to copy out of less.

matt, to random

Is the Rust compiler's support for outputting full debug info for macOS builds broken? I don't seem to be getting full debug info even in dev builds, judging by the binary sizes compared to other platforms.

tristan957,
@tristan957@fosstodon.org avatar

@matt I had to learn this the hard way the other day.

tristan957, to vscode
@tristan957@fosstodon.org avatar

Does anyone know where to find an algorithm for turning a unified diff into a series of document edits?

I know I am close, but I can't figure out the remaining pieces of the puzzle.

Here is what I have so far: https://paste.sr.ht/~tristan957/479f41b61091105658b5994d1093ecfe8d8f0f11.

I am trying to write a formatter for a extension for development.

tristan957,
@tristan957@fosstodon.org avatar

@drewdevault Right, but I am trying to understand the algorithm of how to apply them.

tristan957, to zig
@tristan957@fosstodon.org avatar

Writing my first code, and I can already tell this is going to be a struggle. So much syntactic sugar. Makes look easy to write in comparison.

All I want is a better C. So far seems like the winner there.

still takes the cake as the worst language I had to write today. Though shoutout to the Perl fediverse community for being helpful people!

bragefuglseth, to firefox
@bragefuglseth@fosstodon.org avatar

Firefox with its stock look, proper rounded window corners and actual Wayland support feels like jumping 5 years ahead of how it's shipped by default currently.

Screenshot of Firefox with all the window corners rounded and its modern stock theme

tristan957,
@tristan957@fosstodon.org avatar

@bragefuglseth how'd you get the second photo?

tristan957, to GNOME
@tristan957@fosstodon.org avatar

Finally assembled my @frameworkcomputer laptop. Super happy with it, though fractional scaling would definitely help ease of use. Thanks to all desktop Linux contributors working to make that possible in the future!

I increased text scaling to 1.15 in Tweaks to help, which has a done a good job mitigating the issue.

tristan957,
@tristan957@fosstodon.org avatar

@cassidy @frameworkcomputer Do you have a link to any docs regarding the setting?

Aside, but today I learned that power buttons on docks turning on laptops is not standardized and is entirely OEM dependent. So now I'm a little annoyed and trying to figure out which dock to get 😠

tristan957,
@tristan957@fosstodon.org avatar

@cassidy @frameworkcomputer Oh man, my electron apps are now blurry after enabling the setting. Hopefully that gets fixed at some point. I'll probably go back to text scaling for now.

  • 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