Joel relayed

New shot today. 4x zoom. Really happy with the results. Almost finished with editing. #theObservatory

By golly, it works! I'm venturing into FPGA-land, and managed to write and program a very basic program to my dev board. The program is literally this:

module buttons(
input [0:7] buttons,
output [0:7] leds
);
assign leds=buttons
endmodule

Which simply connects each button to its respective LED. But the important part is I got it built, synthesized, placed and routed, and programmed! I even connected the ports to the right pins, and look! It does a thing!

So this computer had decided to bail into intramfs a few days ago, and after it wouldn't boot from USB, I managed to recover it from intramfs by mounting my root fs, pulling fsck off of it into the tmpfs, then unmounting and running fsck on it. Feeling very wizardy today! πŸ‘¨β€πŸ’»

Joel relayed

Anyone from North or South America? Please give uberspace.de a quick ping in your terminal or GUI tool. We're interested in latency, your very rough location, and optionally ISP. Thanks :)
(boosts for sample size very welcome!)

So my HDL playing has been partially converting nand2tetris HDL into actual Verilog so that I can hopefully put it on an actual FPGA, and I've managed to get as far as loading my ALU into yosys and generating a nice diagram of it and y'all, it looks pretty rad! Check it out!

(Spoilers for I guess, don't look too closely if you don't want to know how I put my ALU together!)

Joel relayed

I dunno what y'all are doing with your Monday nights, but I'm playing with HDLs for the first time in a decade and just figured out the reason I couldn't find any docs on this VHDL keyword is becuase Verilog and VHDL are different things πŸ™ƒ

Turns out reading docs about the language you're actually writing in is super helpful!

It's still just utterly criminal that the metric names for the two smallest metric SMT resistor sizes have the EXACT SAME NAME (0402, 0603) as the imperial names for the third- and fourth-largest sizes.

Truly next-level unit fuckery, I might hate this even more than I hate the very idea of mils as a unit.

Joel relayed

there are loads of different web browsers available, such as 'google chrome', 'google chrome but with different branding', and 'google chrome again'

Pulled up QDirStat to figure out why my home directory is so full...turns out I had a planet.osm.pbf in there from 2016 taking up 33GB :blobfacepalm:

At least that was an easy cleanup 🀷

I also had a 13GB Google Ngrams file in there that I moved to my external drive, of course πŸ™ƒ

Oh, and if it's helpful context, I have a keyboard-driven workflow, so window managers are not a huge selling point cause I'll probably rip it out. All my computers that have window managers are running i3 with some xfce bits, I think.

I do appreciate having decent GUI apps for things, for instance the computer in question currently doesn't have any low-battery warnings or shutdown/sleep because I'm lazy, so if that comes free I wouldn't mind!

Show thread

Okay Fediverse, what Linux distro should I hop to next?

Target is my should-be-mostly-functional laptop (Thinkpad T460). It currently has Linux Mint 18 (!) on it, and is due for a refresh. History: my older, okay-if-it's-a-little-broken laptop is currently running Arch, and was Slackware before that. Desktop is Xubuntu, in-home server is Fedora.

For this one, looking for something with reasonable package management and stability, vaguely on the less fiddly side but not totally opposed to fiddling. Otherwise, pretty open.

I've been hearing a lot these days. Is still cool? I don't know where it lies on the fiddly spectrum. Is a distro or a package manager?? Is functional yet? I haven't been keeping up that much on Linux distros lately and I don't know what the scene is, so stump for your faves πŸ˜„

:boost_ok:

This was not a useful skill a decade ago and it is significantly less useful now, but nevertheless: chuffed to find that after not playing any Guitar Hero for at least a year, I can still clear Knights of Cydonia after one warmup run.

(I then crashed out on Cult of Personality at like 75%, I made a good showing of the second chaos run but not good enough)

Love me a good serendipitous commit hash. Just got to do a `git log --author=Joel dad95` πŸ˜„

(Extra lucky because this repo has 20k commits all told, so a reasonable number of 5-character hashes collide!)

Joel relayed

what the hell, etymonline says "spoiled child" predates "spoiled milk" as a meaning of the word (spoils of war being the original)

Joel relayed

details on this <unexpected situation>, arcane git nonsense, jargon 

As CW'd, today's situation is particularly arcane git nonsense, so you have my sympathy regarding any part of this that makes sense to you. But for the record:

I'm building a monorepo out of git subtrees, and my rewritten history showed no changes after squash-merging in a branch from a certain repo that itself I have massively rewritten history in. It was almost as if the branch was even with development. I was doing a lot of rewriting the squashed message to clean up a bunch of noise, so I figured I'd just broken something in that cleanup and cleaned up more than I should.

But no, turns out I'd just screwed up in creating the alternate-history version of this one branch, and it was indeed just...even with development, and thus had no new changes, so when my code dutifully removed all the redundant change messages, I correctly ended up with an empty commit message :blobfacepalm:

Show thread

Another day, another "Huh, why does it look like <unexpected situation> happened, that can't be right. What's wrong with my code that makes it look like that?" answered with "Your code is working exactly as designed and <unexpected situation> did, in fact, happen"

Joel relayed

Hey fedi, the Recurse Center is offering up to $1000 to trans/non-binary/women programmers for upcoming batches. RC changed my life and is just an amazing experience/community -- see here for more: recurse.com/blog/156-were-offe

Also because I saw @relsqui's reply on that post and realized I was literally already using Perl, I also decided to see what an actual Perl solution would look like. This is...probably better?

```
perl -ne 'print map { ucfirst } split "-"' snake_case
```

Also, codeblocks on Masto when??

Show thread
Show older
Cybrespace

cybrespace: the social hub of the information superhighway jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal support us on patreon or liberapay!