Posting this again becasue I'm really impressed with it.

notes - a no nonsense notes TUI/CLI application. Written in C and has like 1 dependency. Can sync with Nextcloud Notes or a bunch of other standard ways of syncing files.

Pinephone keyboard UIs 

The great thing about sxmo is that it is essentially just sway with some custom configs and scripts. So you get a standard sway tiling wm that you can tweak to your liking. But those scripts really help making a lot of things convenient without adding any bloat really. But very useful.

Wrote a bit about Swanson's new bootstrap process. h/t to beka_valentine for the suggestion to only let it depend on the Python interpreter and NOTHING ELSE

I should use mastodon more. I think my problem is I don't know where to find content. What are some good feeds to follow if I like #forth #retrocomputing or #programming ?

Hey the wordle guy sounds cool.

"I am a bit suspicious of mobile apps that demand your attention and send you push notifications to get more of your attention," he said.

"There are also no ads and I am not doing anything with your data, and that is also quite deliberate."

Asked whether he planned to make money from it, he said: "I don't understand why something can't just be fun. I don't have to charge people money for this and ideally would like to keep it that way."

Neo: "The code on the screen... is that the Matrix?"

Tank: "what? no, this is just Dwarf Fortress"

Wordle 199 5/6


Show thread

I really appreciate how Wordle’s social sharing is just copying some text onto the clipboard for you to paste wherever you want. No requests to log in to any sites, no access to any personal information!

Gotta love an emailed patch series with over 2,000 patches in it 😅

Seriously, though, this is some really great work to clean up the header dependencies in the Linux kernel, resulting in much less wasted duplicated work recompiling the same header content over and over. We usually think of that as a C++ concern, but it can happen in a large C project too!

Really nice post from apenwarr, starting off ostensibly talking about logfrahhhhj, but quickly getting into really interesting meta discussions about gifts and whatnot:

Hopefully these examples show how game-changing stack graphs are. And again, this is WITHOUT building any code or configuring any CI jobs.

Right now we only support Python, but more languages are on the way. And it's all powered by an open-source library if you want to play around with it yourself!

Show thread

And a reference AFTER the ‘if’ statement can see both, since we can't know which branch of the ‘if’ statement was taken:

Show thread

A reference IN the ‘else’ branch can only see the reassignment:

Show thread

And we can track this all correctly! A reference BEFORE the ‘if’ statement can only see the original definition:

Show thread

Interestingly, this local variable is overwritten later in the function, but only in the ‘else’ branch of an ‘if’ statement:

Show thread

With precise, we can see all of the places that variable is referenced in the function:

Show thread

We can now also track local variables and function parameters! Those are MUCH more likely to have overlapping names, so we don't even TRY to resolve those in search-based lookups.

This ‘output_shape’ local variable in Tensorflow is an interesting example:

Show thread

With stack graphs, we can see which particular method is being called, even though that means tracking:
- a local variable created by a ‘with’ statement
- whose value comes from invoking a class constructor
- of a class imported from another file

Show thread

A search-based lookup can only use the name of the method when searching for definitions. That means we show ALL of the methods in your repository with that name:

Show thread

First, a simple example showing the different between search-based and precise results. Let's look at this call to a ‘request’ method in the requests library:

Show thread
Show older

Mastodon server just for dcreager