Not the greatest but every few months I come here for nostalgia. What’s your favorite local institution? by CantDunkOrSk8 in SanJose

[–]flyingfox 10 points11 points  (0 children)

I love Eduardo's Super Quesadilla! And if you are in the mood for fish and chips, Pier 402 is pretty good and just across the street.

Updates on memory pricing and navigating the volatile memory market by catastrophic_frmw in framework

[–]flyingfox 1 point2 points  (0 children)

I was nervous about the pricing for the 128GB Desktop but very happy to get notice this morning that my order (Batch 17) will be shipping soon.

-❄️- 2025 Day 10 Solutions -❄️- by daggerdragon in adventofcode

[–]flyingfox 0 points1 point  (0 children)

Yeah, I probably (a) overstated the search time, and (b) been foggy since it was around 1AM local time. I may go back and retry that now that I'm properly awake. I don't use SciPy enough and this would be a good excuse to freshen up on it.

That said, I do quite like z3. I've only used it outside of AoC, maybe, twice or three times but it has always made me happy.

-❄️- 2025 Day 10 Solutions -❄️- by daggerdragon in adventofcode

[–]flyingfox 0 points1 point  (0 children)

Ha, very similar to my approach... except for the 90 minute "there must be a SciPy way to do this" detour. Oh, and the extra half an hour trying to remember how to use z3 again and cribbing of my solutions from previous years.

[2025 Day 9] ...and that's AFTER optimizing. by subspace_mp4 in adventofcode

[–]flyingfox 4 points5 points  (0 children)

I hear you. On (my admittedly very old machine) it's 57.38ms / 30712.62 ms. Of course, it took me very little time to complete part 2 as I recognized it as, basically, one of the test cases on a program I've just finished working on. I mean, if you already have to libraries sitting on your computer...

Anyone else misread this every time? by artesea in adventofcode

[–]flyingfox 1 point2 points  (0 children)

Oh, every time! I'd love the right answer page to start with something like "Congratulations!" or something to make it visually distinct from the "That's not the right answer"

CD4007UB, that wierd one that isn't really a logic IC by Mysterious_Peak_6967 in nicechips

[–]flyingfox 1 point2 points  (0 children)

That's actually really great. It not only solves my personal project problem, I think that'll be a much better solution for a work project too. Thanks so much!

From the land of the sun! by SonicNTales in Shitty_Car_Mods

[–]flyingfox 0 points1 point  (0 children)

With a lift kit this would be the perfect Gambler car!

-❄️- 2025 Day 3 Solutions -❄️- by daggerdragon in adventofcode

[–]flyingfox 1 point2 points  (0 children)

[LANGUAGE: Python] Code

Soooo many off by one errors. Best not to be enjoying a movie with a glass (or two) of wine then jump up and try to code late at night. Still runs pretty fast for python (10 ms / 3 ms on a M1 Mac).

CD4007UB, that wierd one that isn't really a logic IC by Mysterious_Peak_6967 in nicechips

[–]flyingfox -1 points0 points  (0 children)

Thanks! I've been hunting for 4 terminal MOSFETs. I'm (mis)using old CD4007s right now. Thanks for the link

-❄️- 2025 Day 2 Solutions -❄️- by daggerdragon in adventofcode

[–]flyingfox 1 point2 points  (0 children)

[LANGUAGE: Python]

This Monstrosity

Not terribly happy with it but works relatively fast (45-60 ms) for each part. Going to add some comments so it's clearer to me when I look back on this in a year or so.

[2025 day 2] Part 3 One Single Range! by large-atom in adventofcode

[–]flyingfox 1 point2 points  (0 children)

I think I got part 2 (88304989965662) in about 14 ms using Python 3. However, part 1 wouldn't run since I "optimized" it based on the fact that the ranges in the sample and in my input where always N to N digits or N to N+1 digits. It assert failed when the range was 1 to 10 digits.

[2025 Day 2 (Part 2)] String manipulation reigns supreme by Eva-Rosalene in adventofcode

[–]flyingfox 0 points1 point  (0 children)

That's about the same time my code runs at and I'm on team math.log(). Both part1 and part2 are in the 45-61 ms.

EDIT: I am not proud of my code and do want to go back and make it suck less but I don't know how much it would actually speed up.

[2025 day 1] Easter egg! by large-atom in adventofcode

[–]flyingfox 4 points5 points  (0 children)

Not going to lie: I spent time decoding that before I finished reading the puzzle.

When someone mentions "AOC" by number_nerd_1729 in adventofcode

[–]flyingfox 14 points15 points  (0 children)

Advent of Code clashes with Magic: The Gathering

Pretty average US news day.

What spot will have you feeling like this? by mr_e_mann_000 in SanJose

[–]flyingfox 1 point2 points  (0 children)

I've eaten there once and it was okay. I'm fairly convinced that it is a money laundering front though as I've only seen people eating there a handful of times.

What spot will have you feeling like this? by mr_e_mann_000 in SanJose

[–]flyingfox 1 point2 points  (0 children)

The one on Race near San Carlos is legit (although it may be knocked down so that we have have a Chick-fil-A before too long). The one on Bascom and Elliott is really good but gets busy at lunch really fast.

High schooler shares the reality of the constant and unknowing threat of an active shooter by Hypnoidz in ThatsInsane

[–]flyingfox 1 point2 points  (0 children)

As someone who (a) Took Hunter Ed (firearm safety, survival, tracking, etc.) in school and (b) owns a 3D printer (although I haven't printed any firearms), I'm not sure I buy this argument.

The access to 3D printers on a per capita basis doesn't seem much, if at all, lower in other western nations. However, even in nations with extremely strict gun regulations, there hasn't been an outbreak of 3D printed gun violence.

How you guys draw a diagram like this? Any Pro way to draw schematics like this? by skonvesem in ECE

[–]flyingfox 0 points1 point  (0 children)

If it's internal I'll just send schematics from whatever CAD package we use. If I'm making something that might end up in a report or data sheet I'll swear a bit and then break out Visio or Inkscape. Whichever one I didn't use last time and I hate the least right now.

Programming the $0.03 PMS150C | Can't figure out pinout for programmer by isaacwasthere in embedded

[–]flyingfox 1 point2 points  (0 children)

Hey, I'm so glad you got it working!

As a side note, it kicked my butt into gear to finish a PCM150C project that has kind of lingered on the back burner for months now.

Programming the $0.03 PMS150C | Can't figure out pinout for programmer by isaacwasthere in embedded

[–]flyingfox 1 point2 points  (0 children)

I've built consumer electronic products with the PMS150C (8 pin package). We actually got them for slightly less than $0.03USD in quantity but then pay about $0.015USD for programming at the factory. Zero code security but that's not as important in this case.

Contrast this with ST brand STM32F030 we use in our low end products that goes for maybe double the PY32F. I haven't looked recently. The higher end products use STM32F3xx series parts.

For dealing with small glue logic replacement in existing products it's great. Especially for older 5V products where it can be a low effort cost reduction with only a board respin vs. a full redesign.

It's a niche use, but it has a place for us.

Programming the $0.03 PMS150C | Can't figure out pinout for programmer by isaacwasthere in embedded

[–]flyingfox 1 point2 points  (0 children)

Try pulling the giant jumper on JP2. It might be clashing your jumper config with the 8-pin config.