@cr1901@mastodon.social avatar

cr1901

@cr1901@mastodon.social

Another important fact about me is that I collect ISA cards. I still don't believe in magic- just concepts I don't understand yet.

http://pronoun.is/he/him

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

mcc, to random
@mcc@mastodon.social avatar

Bar for time travelers. A programmer from the 21st century is complaining about bugs caused by time zones. A programmer from the 31st century scoffs and starts talking about bugs caused by relativistic time dilation. Next to them, the guy who writes the firmware for the time machines is grinding his teeth

cr1901,
@cr1901@mastodon.social avatar

@foone @mcc I used to get the century exception reversed: I thought every century except divisible by 400 had a leap day. Whoops!

Rasta, to ocean
@Rasta@mstdn.ca avatar
cr1901,
@cr1901@mastodon.social avatar

@Rasta This is excellent! Where (approx) was this photo taken?

cr1901, to random
@cr1901@mastodon.social avatar

Okay, the CI hell is over. I have released the first version of my "switch your monitor inputs from your computer" program. It even comes with a GUI :D:

Hopefully you'll save a few minutes of your life over the course of a few years :).

https://github.com/cr1901/swmon/releases/tag/v0.1.0

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

cr1901,
@cr1901@mastodon.social avatar

@mcc @whitequark The song Torchkas samples in the original is also damn good: https://www.youtube.com/watch?v=Sz9YT4P0lc0

It translates well to the Pac-Man sound hardware too :D!

mcc, to random
@mcc@mastodon.social avatar

Rust's "Cargo" has a feature named "Features" and a feature named "Examples" and there is a feature where an Example can use a Feature and this is incredibly, incredibly hard to google for. So far I've got as far as finding examples of Features, but not as far as finding examples of Features of Examples.

cr1901,
@cr1901@mastodon.social avatar

@onelson @mcc cargo's features are the Rust equivalent of "cc -DMY_EXTRA_FUNCTIONALITY".

Cargo also provides a built-in mechanism to run code examples for your library (called, "examples" :P).

These can be combined, so that a code example requires a cargo feature to be enabled if you want to compile/run that example.

cr1901, to random
@cr1901@mastodon.social avatar

Tbh, I thought it was 7 hubs. Did this change between 2.0 and 3.x?

cr1901, to random
@cr1901@mastodon.social avatar

Thinking about switch debouncing, as one does. Reminded of this article that @brouhaha shared with me once.

The COSMAC ELF kit uses the "Dual Inverter Latch" version. IBM mainframes in the 60s used the "SR Latch" version.

Nowadays you'd use a microcontroller or FPGA timer :P. Was 555 ever used for debouncing?

https://www.eejournal.com/article/ultimate-guide-to-switch-debounce-part-5/

cr1901, to random
@cr1901@mastodon.social avatar

This is a bit time sensitive, but... feel free to RT.

I'm looking for a bit of paid work (low to mid hundreds of USD) before year's end.

Most comfortable with embedded Rust and FPGA design using Amaranth HDL.

Small things I can think of include porting your board to Amaranth, getting you started with embedded Rust, or getting you started with verification tools with yosys-smtbmc and symbiyosys. I am willing to write C as well.

cr1901, to random
@cr1901@mastodon.social avatar

https://www.youtube.com/watch?v=fVLM0gKTimQ Wow... I didn't realize how bad Eastmancolor degrades...

cr1901,
@cr1901@mastodon.social avatar

According to Wiki, Eastmancolor was early 1950s. The linked short was ~1936-37. AFAICT, when Paramount sold of it's cartoons to U.M. & M./NTA in the 50s, they created 16mm Eastmancolor prints for television. These prints had to have a further amplified red to be compatible with dodgy B&W equipment at the time.

Source: One Glenn G. whose grandfather worked for NTA:

https://cartoonresearch.com/index.php/paramount-cartoons/

cr1901, to random
@cr1901@mastodon.social avatar

After 3.5 years (!!), I am proud to announce that I've written a new blog post on my site:

"Using z3 To Solve Logic Puzzles"

z3 is an SMT solver; this post also serves as a whirlwind introduction to SAT and SMT problems. So if you've heard about SAT/SMT, but don't know how they work, give my post a read!

I hope you all enjoy, and would love to hear feedback:

https://www.wdj-consulting.com/blog/logicpuzzle-z3

cr1901, to random
@cr1901@mastodon.social avatar

The hell is a three-way string split?

I thought a split of a string implied two parts- a before, and after :D!

https://mastodon.social/@jrose@belkadan.com/112253795255527264

cr1901, to random
@cr1901@mastodon.social avatar

I'm so happy F-Zero is getting love.

I'm not sure I've heard a single bad thing about F-Zero 99. It almost makes me want to buy a Switch/get a online subscription.

But, I'll stick to watching. I can play the SNES version at any time:

https://www.youtube.com/watch?v=cXnmUUOXg3Y

cr1901, to random
@cr1901@mastodon.social avatar

https://www.youtube.com/watch?v=ofPlNYUA5d4 This is good "get work done" music...

cr1901, to random
@cr1901@mastodon.social avatar

I had this on my Amazon list. It's a 35mm DIN rail terminal. I have no idea how/where this got on my list.

Now I'm going down a rabbit hole of "uses of DIN rails".

https://www.amazon.com/dp/B00R1WU05U

cr1901, to random
@cr1901@mastodon.social avatar

#lazyweb Anybody know a better way to print the size that all files (and directory entries, BUT NOT DIRECTORY CONTENTS) take up in a directory besides, e.g.:

ls -lh path/to/dir | head -n 1

(The above does what I want, just feels like there should be a better way...)

cr1901, to random
@cr1901@mastodon.social avatar

Unlike what Wikipedia has to say on the subject, it's not clear to me that basic +1/-1 non-restoring dividers are a net win for hardware size or speed.

Seems like any size/speed wins by avoiding the restoring step are negated by the need for two different subtractions that need to be muxed per iteration. Also, the restoring step can be done in parallel in hardware.

cr1901, to random
@cr1901@mastodon.social avatar

Mike Brutman, the creator of the mTCP the DOS TCP/IP stack, uses his own TCP/IP stack to connect an IBM PCJr HTTP server connected to the Internet proper.

Today, it's being Slashdotted thanks to an article written yesterday:

https://www.tomshardware.com/news/39-year-old-477-mhz-dos-web-server-hits-2500-hours-of-uptime

And Mike has decided to livestream its DDOS :D!

https://www.youtube.com/watch?v=QZkunP5_sqg

You can contribute to it's Hug of Death here: http://brutmanlabs.org/

whitequark, to random
@whitequark@mastodon.social avatar

thermostat controlling the boiler for heating here over RF: broke a week or two ago

flipper zero that i've been using to manually enable the boiler instead: also broke somehow

me: freezing to hell and beyond due to it being 5°C outside and not having anything warm

my headmate: spends four hours putting together this incredibly normal setup using her beaglebone and a radio carrier module she designed a year ago. she even got the RF modulation parameters right on the first try, wtf

cr1901,
@cr1901@mastodon.social avatar

@whitequark "Pipelining chores with heavy number crunching"; I relate to headmate.

cr1901, to random
@cr1901@mastodon.social avatar

I don't love that the "1.44" in "1.44 MB" floppy isn't actually either "Megabyte" or "Mebibyte", but rather it's 1.44 "thousand Kibibytes".

cr1901,
@cr1901@mastodon.social avatar

@mcc 1.44 @foone 's

1 Foone == 1440 kibibytes

tubetime, to random
@tubetime@mastodon.social avatar

i've gotten nerd sniped into helping fix the IBM 729 tape drive at the Computer History Museum...

cr1901,
@cr1901@mastodon.social avatar

@tubetime I and O too easy to confuse with 1 and 0?

I feel like I've seen this before in e.g. Game Genie codes.

whitequark, to random
@whitequark@mastodon.social avatar

(reverse engineering something voice)
msvcrt was a mistake
also, c++ was a mistake

cr1901,
@cr1901@mastodon.social avatar

@whitequark What am I looking at and why is it bad?

cr1901,
@cr1901@mastodon.social avatar

@whitequark I love the implication that "why is it bad" is self-explanatory from looking at it :D.

whitequark, to random
@whitequark@mastodon.social avatar

the DOS INT13 handler is doing getenv in debug builds?

cr1901,
@cr1901@mastodon.social avatar

@whitequark SMARTDRV.SYS device driver provides a file cache if you have Expanded (bank-switched, works on 8088) or Extended (not-bank switched, 286+ only) memory.

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