@hisham_hm@mastodon.social avatar

hisham_hm

@hisham_hm@mastodon.social

Still coding free software — Created htop, Teal (typed dialect of Lua), LuaRocks package manager, GoboLinux distro

PhD @ PUC-Rio, interested in dataflow, PL ∩ HCI

stay tuned for occasional music and cat content

toots in pt_BR: hisham@masto.donte.com.br

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

mcc, to random
@mcc@mastodon.social avatar

Unity (the game engine) is just really ruining my week. This program is crashing in a way that the actual Unity process (standalone exe or the Editor) just crashes, hard C crashes inside Unity's closed source code. I'm reduced to turning objects on and off and seeing the minimal set of objects to cause a crash, but I still have no idea what [my] C# code was doing before [Unity's] C++ code crashed!

I wish I could get, like… a trace of every unmanaged to managed transition. Every C# entry point.

hisham_hm,
@hisham_hm@mastodon.social avatar

@mcc suggestion: you could convert the twitter.com/mcclure111 links present in your archive into twitter.runhello.com links, as I tried to follow the link in the reply tweet and it tried to go to the Bad Place

(also, I wonder if I should archive my old tweets too or just let them rot!)

mcc, (edited ) to random
@mcc@mastodon.social avatar

Thirty minutes into my coding work being blocked on picking over documentation trying to figure out how to use my package manager, I realize I have a second problem because the installed version of my package manager is too old for a feature I need. Now I must (a) determine which package manager I used to install the package manager [Debian? The other, older Python package manager I used to install the newer Python package manager?] (b) figure how to use that other package manager

hisham_hm,
@hisham_hm@mastodon.social avatar

@mcc package management :(((((

hisham_hm, to random
@hisham_hm@mastodon.social avatar

saying something is "a hundred years old!!" is not as cool as it used to be because nowadays it just means it's from the 1920s.

linos, (edited ) to random German
@linos@graz.social avatar

When indicating on a website that you can follow via ActivityPub/the Fediverse, I think we should converge on a common icon.

Problem: Until the software evolves, people might use multiple fediverse platforms at the same time to cover all their needs, e.g. PeerTube and Mastodon.

Fediverse icon: https://de.wikipedia.org/wiki/Datei:Fediverse_logo_proposal.svg

ActivityPub icon: https://commons.wikimedia.org/wiki/File:ActivityPub-logo-symbol.svg

hisham_hm,
@hisham_hm@mastodon.social avatar

@rscottjones @Brendanjones @linos @fediversereport This makes sense as a "consumer" but less so as a "producer". If I publish videos and microblogs, I want to post separate links in my website that amount to "click here to follow my videos" (a PeerTube icon) and "click here to follow my posts" (a Mastodon icon).

hisham_hm,
@hisham_hm@mastodon.social avatar

@rscottjones @Brendanjones @linos @fediversereport the point of icons is to explain what is what

hisham_hm, to random
@hisham_hm@mastodon.social avatar

Announcing a new release of LuaRocks, the package manager <https://luarocks.org/>, and the day has finally arrived when I can make this:

hisham_hm,
@hisham_hm@mastodon.social avatar

@vga256 the secret is to make LuaRocks fast enough so that no single invocation of the CLI takes 20 minutes... if it does, then it did probably freeze 😂

mcc, to random
@mcc@mastodon.social avatar

So I wanted to install a font on Linux and Google said the way to do that in Ubuntu Gnome is to double click the font and click "install". So I did that and it worked

Except

On the italic variant (just the plain italic; italic bold worked fine) if I click "install" it thinks for a moment and instead of reading "installed" it goes back to a plain "install" button like I hadn't done anything?? What's happening??

video/mp4

hisham_hm,
@hisham_hm@mastodon.social avatar

@mcc Gnome always (since about 2.0) felt to me like an environment built around "let's be user-friendly and win the masses", but written by power-users who have no idea what non-power-users are like, and have been on Unix for so long they don't even remember what it's like not being power-users. Result: vaguely copying other OSes while missing the point of their UIs and being condescending to their actual (power-)users (their only users) by saying they're stripping stuff to be "user-friendly"...

hisham_hm, to random
@hisham_hm@mastodon.social avatar

"Linux market share passes 4% for first time" — interesting. What other common sources for such OS market share estimations are there?

https://arstechnica.com/gadgets/2024/03/linux-continues-growing-market-share-reaches-4-of-desktops/

hisham_hm,
@hisham_hm@mastodon.social avatar

@mcc Given the historical trendline, that's depressing

mcc, to random
@mcc@mastodon.social avatar

pulling at hair okay so it turns out when you build a .so with cmake, there is a default rpath (runpath but everyone seems to inaccurately call this rpath) which you cannot turn off. you can set(CMAKE_BUILD_RPATH) but this only appends to the build rpath. So it appears in order to opt out of shipping executables with nonsense rpaths linking to my personal hard drive, I have to add an install target, installing into the build directory, because that's the only way to make cmake strip rpaths

hisham_hm,
@hisham_hm@mastodon.social avatar

@mcc I think you can patch the binary after the fact using something like patchelf

hisham_hm,
@hisham_hm@mastodon.social avatar

@mcc rpath is a Unix-only thing, right? so that rules out Windows, and it might be that you'd need to use install_name_tool for macOS and patchelf for any other (ELF-based) unices, so if "O(n)" turns out to be n=2 it might end up being less work than figuring out the "O(1)" all-portable solution...

hisham_hm, to random
@hisham_hm@mastodon.social avatar

Just got back from the movies.

"Perfect Days", directed by Wim Wenders: I recommend!

mntmn, to random
@mntmn@mastodon.social avatar

if i'm not extremely disciplined you can see in my code that i grew up on a c64 writing assembly to RAM with the action replay mk6 monitor cartridge, just writing everything in one long file etc ^^'''

hisham_hm,
@hisham_hm@mastodon.social avatar

@mntmn my Teal compiler is one big tl.tl file and I know I should break it into multiple files eventually and I will do it

but I don't wanna

hisham_hm, to random
@hisham_hm@mastodon.social avatar

Every six months or so I go into a search to see if there's a way to make the GTK "Save As..." dialog in Firefox to stop switching focus away from the filename I'm typing (you know, to choose what I want it to save as) and into a popup search field.

If this was on Gobo I'd be sure I messed something up when building GTK, but this is Firefox 122.0 from the Ubuntu Snap. Trying to keep things "standard" in this box (and I don't want to recompile a customized Firefox on every browser update...)

hisham_hm,
@hisham_hm@mastodon.social avatar

It's incredible. It lets me switch focus to the "Name:" text box and type one letter, then it auto-switches to search. Some page recommended Alt+N to switch focus to the "Name" field but getting the focus isn't the problem; keeping it is.

If I wanted to type a name, I'd have to do Alt+N, h, Alt+N, → (because Alt+N selects all!), e, Alt+N, →, l, Alt+N, →, l, Alt+N, →, o, Alt+N, →, ., Alt+N, →, j, Alt+N, →, p, →, Alt+N, →, e, Alt+N, →, g. Really.

I always type it somewhere else then paste it.

hisham_hm,
@hisham_hm@mastodon.social avatar

Whenever I search for a fix for this problem, all I find is many, many posts, StackOverflow questions and Launchpad issues asking for developers to revert to the old behavior of search in GTK file dialogs, but my problem is not "current directory search" vs "global search".

I'm not saying I want GTK+2 behavior back or something. I'm just asking for what I described above to not happen, and that very real issue I described above is probably lost in the noise of Eternal GTK File Picker Wars.

hisham_hm,
@hisham_hm@mastodon.social avatar

@Doomed_Daniel odd... this is on Ubuntu 22.04 too. But I figure this can't be happening to everyone because otherwise it would be too much to ignore. But I haven't done any major tweaks to this box that would warrant such misbehavior (I think), and isn't the idea of Snap that the library dependencies are isolated, anyway?

But thanks for the data point!

hisham_hm,
@hisham_hm@mastodon.social avatar

@Doomed_Daniel I don't think the window manager can mess up the focus between widgets of the same window. If the file dialog were failing to get keystrokes I'd definitely look at the window manager, but to the best of my understanding of how X/WMs/toolkits work, I can't think of how AwesomeWM could be at fault there... but if that were the case, I'd stand corrected big time!

hisham_hm,
@hisham_hm@mastodon.social avatar

@Doomed_Daniel Yes! Switching to the apt package fixed it!

...but now I lost all my browser history and settings, so it feels like setting up a new computer (argh)

Worth it, though! Thanks!!

hisham_hm, to random
@hisham_hm@mastodon.social avatar

Argument: Giving it the stupid name "Blu-ray" was an industry self-own that was just another nail in physical media's coffin.

Counter-argument: "HD-DVD" was the better name.

Counter-counter-argument: "HD-DVD" was a terrible name because it was misleading, as it wasn't really a DVD. Hah, I have a great idea! HD-DVDs should be double-sided, with a regular DVD on one side! That will definitely win the format war, where's my time machine?

hisham_hm,
@hisham_hm@mastodon.social avatar

@mcc So I hear! I admit I never held an actual Blu-ray or HD-DVD disc in my hands (I mean of course I've seen the boxed ones in stores, but I've never owned a player (or a PlayStation))

hisham_hm,
@hisham_hm@mastodon.social avatar

@mcc sometimes I think about going back to collecting physical media for music for such reasons (or at least resuming my mp3 collection), but I admit I've never cared about buying films (in VHS, DVD or whatever) because I pretty much never re-watch them (or re-read books, though I like keeping the ones I read on the shelf).

Now that I think of it, I did record movies from TV when I was a kid! I remember having Blade Runner, Enemy Mine and a 6-hr SLP VHS with Star Trek II, III, IV.

hisham_hm,
@hisham_hm@mastodon.social avatar

@mcc ouch! I have very vague memories of that being the case with DVDs as well (mostly "no piracy!" intros?), but at least here in Brazil it was easy to get region-unlocked players that also let you skip the unskippable parts (ah, the nostalgia for the times before the WTO agreements for enforcing enshittification worldwide!)

mcc, to random
@mcc@mastodon.social avatar

For the last year I've been semi-daily posting "What I'm Listening To Today" links in this thread:

https://mastodon.social/@mcc/108199886340178151

The thread is now so long it is increasingly breaking Mastodon, so I am making a new thread, starting here.

To recap, here's the entirety of the year-one thread in the most impractical possible format: A YouTube playlist containing 246 songs and running for just over 47 hours:

https://www.youtube.com/playlist?list=PLLIjft6ja7DP_GwDs3XuTbiFmHYTwJWa7

hisham_hm,
@hisham_hm@mastodon.social avatar

@mcc oh, the countless hours I spent on FT2, making .XMs and then playing Nibbles while listening to them. I wish I still had them!

and: wow, I left this playing in the background and at one point I honestly forgot I was listening to a mod track. This is so well-balanced that is sounds... mastered!

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