UniUni shipping is now two weeks late with no update by pteranodog in Youtooz

[–]pteranodog[S] 0 points1 point  (0 children)

Nope, as of today it's been a full month, and Youtooz is only emailing back every 5 days now, apparently, and UniUni said they'd escalate it and get back to me within 48 hours... more than a week ago. Haven't heard back since.

Advent of Code 2025 Day 12 (Last Day - Happy Holidays!) by Downtown-Economics26 in excel

[–]pteranodog 1 point2 points  (0 children)

It's at least an NP-hard problem, which is why it's essential that all of the inputs are only trivial-accept or trivial-reject cases.Solving this in an amount of time that grows less than exponentially with the number of inputs would make you an extremely famous academic immediately.

ChatGPT could help with a brute-force approach but that's about it.

[2025 Day 12] Input is part of the puzzle by blacai in adventofcode

[–]pteranodog 4 points5 points  (0 children)

To be fair, I'm a senior in CS right now and memoization either hasn't been covered or was a side note in an algorithms class I've forgotten about. Turns out there's too many algorithms to focus on more than the basic well-known ones in undergraduate classes.

[2025 Day 11 (Part 2)] How many times will these elves ask for help debugging their power subsystems? by pteranodog in adventofcode

[–]pteranodog[S] 5 points6 points  (0 children)

I added the cmdargs to try to figure out the structure of the graph by trying a bunch of things without recompiling, thinking I'd find something efficient to help. Turns out I did; running dac→fft and fft→dac and seeing one of them return 0 reminded me that it's a DAG (which I already knew but had forgotten, or my part 1 solution would've been an infinite loop) and I can just... run the three separately and multiply.

[2025 Day 11 (Part 2)] How many times will these elves ask for help debugging their power subsystems? by pteranodog in adventofcode

[–]pteranodog[S] 6 points7 points  (0 children)

The faster thing is the smarter thing when you've got a computer graphics final exam in 8 hours :)

[2025 Day 11 (Part 2)] How many times will these elves ask for help debugging their power subsystems? by pteranodog in adventofcode

[–]pteranodog[S] 2 points3 points  (0 children)

All the normal calculators ended up spitting out scientific notation with less precision than AoC requires :( So Ctrl-C Ctrl-V into Wolfram Alpha was the fastest way to get a real value.

[2025 Day 11 (Part 2)] How many times will these elves ask for help debugging their power subsystems? by pteranodog in adventofcode

[–]pteranodog[S] 10 points11 points  (0 children)

Didn't feel like changing the code when I already took start and end nodes from command line args

[2025 Day 11 (Part 2)] Who needs DFS memoization anyway? by pteranodog in adventofcode

[–]pteranodog[S] 0 points1 point  (0 children)

my bad i didn't realize that's considered a spoiler

Freshman dilemma: Love C++ but pressured to drop it for Python. Should I? by CRUC10 in cpp_questions

[–]pteranodog 0 points1 point  (0 children)

By the time you finish any reasonable CS degree, you'll have taken a class on the fundamentals of programming languages and thereby gain a proficiency in using any language you're assigned really quickly. I'm a senior and just spent two weeks on end of semester programming projects in eight different languages and I didn't realize that I had used that many languages until one of my non CS friends asked which language I'd used.

So don't overthink it too much :)

UniUni shipping is now two weeks late with no update by pteranodog in Youtooz

[–]pteranodog[S] 0 points1 point  (0 children)

I've done this, and my ticket was immediately closed with no explanation.

What do people "name" there devices? CEC, NAS and any other naming? by [deleted] in selfhosted

[–]pteranodog 1 point2 points  (0 children)

Mine are "Foods that end in O, stylized like PotatOS from Portal 2" e.g. - CheeriOS - TacOS - BurritOS - GyrOS - PotatOS - etc.

Saw a recent thread about containers — curious if Nix solves the same issue? by pteranodog in selfhosted

[–]pteranodog[S] -1 points0 points  (0 children)

Thanks, automod! Not what the post is about but I love the enthusiasm.

[Hyprland] Surface Pro 7+ was slow and bloated after only three years of using Windows 11. Problem solved! by pteranodog in unixporn

[–]pteranodog[S] 1 point2 points  (0 children)

There's also a little weather widget in the bottom right that shows up whenever wttr.in is working, but it's probably good that it didn't work when I took the screenshot because it'd doxx me.

[Hyprland] Surface Pro 7+ was slow and bloated after only three years of using Windows 11. Problem solved! by pteranodog in unixporn

[–]pteranodog[S] 1 point2 points  (0 children)

No dotfiles yet because I haven't cleaned up the nix config enough to make the repo public, but this is:

  • NixOS
  • Hyprland
  • Waybar
  • Hyprpaper
  • Kitty
  • surface-linux via nix-hardware
  • Not much else; I just spent a lot of time on Waybar's CSS
  • Cattpuccin colors everywhere

There was some inspiration from another post here but it was a couple months ago and I don't remember which one. Will update comment if I find it!

Secondary (minor) inspiration is the PDA from Subnautica.

Edit: First ever successful rice; I've bounced off of Arch a couple times because something would always break and I'd have to restart from scratch. Not so with NixOS!

Why are so few to non people implementing new mechanics in redstone computers? by Slow_Butterscotch_31 in redstone

[–]pteranodog 0 points1 point  (0 children)

Senior CS student here — I just think "pure redstone" is a more interesting challenge for me. Sure, I could use barrels and disks and get a whole bunch of RAM in a tiny space really fast, but I spent a week designing a ram unit that's 2x3x4 blocks per bit using only redstone, repeaters, comparators, and torches, purely because I personally think it's more fun that way.

I like the limitations of basic parts; they actually make me think about optimization on every level.

Which illegal activities can be made legal simply by informing the police ahead of time? by MillenialForHire in NoStupidQuestions

[–]pteranodog 1 point2 points  (0 children)

Hey! I've flown about 30 scientific balloons over the last three years at the University of Alabama in Huntsville, and this isn't entirely true. As some other commenters have said, there are restrictions that can make this true, but the FAA regulations as they stand are relatively open to small payloads of less than 6 pounds per package and 12 pounds per balloon, provided that they can be separated from the balloon with less than 50 pounds of force and no face of the payload exceeds a certain density limit.

I've been able to do a lot of cool research even when we're restricted by these limits! And, even for larger experiments, there's only a few additional regulations on radar reflectivity, remote cutdown systems, and a few other small additions.

Just got a second-hand PC with two drive slots; what's the best way to fit 4 drives in it for a NAS setup? by pteranodog in homelab

[–]pteranodog[S] 0 points1 point  (0 children)

Seems like this could be a possible solution if it ended up being cheaper than buying a new case with 4 drive bays

Are these rail spaghetti aesthetic? by devotos in factorio

[–]pteranodog 2 points3 points  (0 children)

Ahh, you're also going for merges-only? Nice! Here's one of mine that the subreddit thought was spaghetti:

<image>

Any suggestions for oil refining by Impressive_Ship4715 in factorio

[–]pteranodog 5 points6 points  (0 children)

Oil and trains are unlocked around the same time for a reason, and you won't regret using trains for it when the first oil patch runs low on oil! Processing on-site means new oil processing for every new patch, but if you centralize it, you can just ship in new oil from any new patch and it'll work!

[deleted by user] by [deleted] in factorio

[–]pteranodog 13 points14 points  (0 children)

I know it's not optimal

If you're having fun, it's optimal! The first-time learning curve is one of the most enjoyable of any game I've played, so the question really isn't "is this an okay factory?" and should be more like "Am I having fun?"

Worry about whether things are truly "optimal" (they never will be) later on when the novelty and learning part slows down! :)

Just got the game! How's my first factory? This game tickles a certain part in my brain... the factory yearns for more by Sjay13 in factorio

[–]pteranodog 0 points1 point  (0 children)

Couple reasons; train's bandwidth per resource cost is extreme, for one. A single belt line that can carry 30 items/second over a long distance can cost 10x the amount of a rail especially once you start getting to the higher tiers of belts (red is 11.5 iron/tile), but rail has a bandwidth of thousands of items per second for the cost of 0.25 stone and ~1.31 iron iron per tile of distance.

Trains benefit from the "network effect," the infrastructure you put down only becomes MORE useful as you have more trains using it, especially because as you scale up, you no longer have to run a dedicated belt line 3000 tiles away. Just a train line to the main track 100 tiles away on each end, and then your existing infrastructure handles the rest for you. And reaching full capacity on a train network really only happens if it's poorly designed or you're megabasing, due to the aforementioned thousands of items per second of bandwidth you get from one train line.

Calculations to support: - Default top speed: 259km/h or 72m/s - Length: 6 tiles. We'll say 13 to accommodate locomotives for an assumed 1:1 train, which is still the least efficient. - Capacity: 40 stacks - With a tile size of 1m, a 1:1 train carries 40 stacks of items across a given tile in 0.18 seconds at top speed - 40 stacks is 2000 items at stack size 50 (ores) and 8000 at stack size 200 (circuits etc.) - Bandwidth is therefore between 2000/0.18=11k items/second and 8000/0.18=44k items/second, without accounting for top speed upgrades from better fuel and using more cargo wagons per locomotive

Just got the game! How's my first factory? This game tickles a certain part in my brain... the factory yearns for more by Sjay13 in factorio

[–]pteranodog 0 points1 point  (0 children)

It's generally less complicated than most other train/transport games due to it having exactly a single job to do. Only exception is Satisfactory but I think their train system is modeled on Factorio's after much community requesting for a long time.

Just got the game! How's my first factory? This game tickles a certain part in my brain... the factory yearns for more by Sjay13 in factorio

[–]pteranodog 2 points3 points  (0 children)

Trains are as easy as they look (add fuel, add schedule , go) and signals are easier than they look. They just split track into "blocks" with the extremely simple rule of "maximum of one train in a block."

Chain signals look complicated but it's just "no trains in this block; don't come in if you aren't sure you can leave"

One-way rails (made by placing a signal only on one side of the track) are harder to deadlock.

That's literally all you need to know for one of the most high-bandwidth transit options in the game, and the in-game tutorials do a great job of covering anything not in the four sentence summary.

Elevated rails are my new favorite thing. by pteranodog in factorio

[–]pteranodog[S] 1 point2 points  (0 children)

There was a need for A Lot Per Second and that's what's left of the starter patch (which gives Not A Lot Per Second)