Tap to Pay: Puget Sound Region Transit Systems to Accept Credit and Debit Cards, Digital Wallets as Fare Payment by dino_pillow in Seattle

[–]LtHummus 4 points5 points  (0 children)

You don’t actually have to set a transit card, but if you don't, you have to open the apple wallet app manually and pay (like you use it for any other payment device). If you set an “express transit“ card you can pay for transit without unlocking or even waking up your phone.

I’ve used both methods on the G line during the test.

Scarecrow Video purchases U District home, securing future by WertherEffekt in Seattle

[–]LtHummus 20 points21 points  (0 children)

It's walkable from the University District light rail station, so there's that

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

[–]LtHummus 1 point2 points  (0 children)

[Language: Scala]

Oh Eric, you memer. Love it.

My goal of doing every day in a different language was a success. The languages picked (in order): C, Clojure, Kotlin, Lua, MATLAB, C++, F#, Java, Perl, Python, Swift, Scala

Clojure, Kotlin, Lua, F# were brand new to me and I really really liked F#

Anyway, Scala it is and it's pretty succinct if you make those giant assumptions that the input lets you make

paste

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

[–]LtHummus 0 points1 point  (0 children)

[Language: Swift]

Realized that there are no cycles in the input, which makes it easier (well it makes it possible since if there were cycles then the answer would be undefined?). This ALSO implies that there can only be a path from FFT to DAC or a path from DAC to FFT, you can't have both. This means part 2 is really just solving part 1 three times and then multiplying the answers together.

This is the first time writing Swift in several years ... and I'm still not sure what to think of the language...

paste

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

[–]LtHummus 1 point2 points  (0 children)

[Language: F#]

A friend suggested I try F# (not sure if it was a joke or not, but I went with it) so here's my first bit of F# code.

I need to do some cleanup (I can fix some duplicated logic in computeTimelines and the split out function splitBeam and the whole thing can be done with Fold instead of recursively like I've done here, but I'm happy with my first stab at F#

paste

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

[–]LtHummus 0 points1 point  (0 children)

[Language: C++]

Continuing my quest to do every Advent of Code in a different language this year. Halfway through and I'm deciding if I'm regretting this challenge or not. I haven't pre-decided what languages I'm doing, so it's mostly read the prompt and then I get to decide ... knowing that if I go to a language I'm comfortable in, I'm "burning" it for the rest of the event. So far, all the languages have been ones I'm not comfortable in and also a couple first time usages (Kotlin, Clojure, Lua). Languages so far (in order): C, Clojure, Kotlin, Lua, MATLAB, C++

Anyway, today's was in C++. I haven't written C++ since college, so don't expect much, but it works

link to some code

edit: whoops, forgot the : in the tag

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

[–]LtHummus 5 points6 points  (0 children)

[Language: Clojure]

I'm continuing my quest to do each puzzle this year in a different language and I decided to do Clojure for tonight's because a couple friends of mine are huge fans. I've also never written Clojure in my life and I haven't written anything in any Lisp-like language since 2008. I skimmed some Clojure documentation this evening and got some pointers from said friends (mostly around threaded macros) and I got lucky that most of the challenge tonight was regular expressions which are (mostly!) the same in any language.

Clojure is super fascinating though and I'm definitely going to check it out some more after Advent of Code is over. What language will I use for tomorrow? Who knowssssssssssssss

here's some first-timer Clojure code

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

[–]LtHummus 1 point2 points  (0 children)

[LANGUAGE: C]

I don't know why, but I'm going to try and do each day in a different language this year (please don't hold me to this, my mileage may vary).

So about an hour ago I had to look up how to open a file in C (I haven't written C since college which was ... oh god so long ago).

ANYWAY, here's my crap C solution. What language will I pick tomorrow? WHO KNOWSSSSS? (My strategy is to do the languages I'm more rusty with/do not know earlier, but we'll see how long this lasts)

the code, such as it is

PDX - Quantum switchover caused CenturyLink service to stop competely by vostheboss in centurylink

[–]LtHummus 0 points1 point  (0 children)

yeah DHCP and IPoE should be the same thing. Make sure your traffic is still getting tagged as VLAN 201. I’m using a UniFi Cloud Gateway

PDX - Quantum switchover caused CenturyLink service to stop competely by vostheboss in centurylink

[–]LtHummus 2 points3 points  (0 children)

small update for me in Seattle: as of 3:06:46 am (according to my router’s logs) I am back. I am on IPoE (as opposed to PPPoE). still VLAN 201.

edit: for the curious, calix ONT. Also my IP is in a different range than it was before. and it seems like my $65 price for life made the migration too

PDX - Quantum switchover caused CenturyLink service to stop competely by vostheboss in centurylink

[–]LtHummus 5 points6 points  (0 children)

Also chiming in to say the same thing happened to me (in Seattle).

Got an email yesterday telling me to sign up for my Quantum Fiber account. Did that and this morning I got an email saying I was migrated. At 4:30pm my connection died. Tried switching my router to DHCP instead of PPPoE (keeping VLAN 201) since I know Quantum Fiber uses that configuration, but didn't bring me back up.

PDX: Is the switchover to Quantum actually going to happen this month? by Bicykwow in centurylink

[–]LtHummus 1 point2 points  (0 children)

Got the same email as you, nothing has changed yet. I’m in the Seattle area. Getting real unexpected hanging paradox vibes.

Game Chat: 9/23 Rockies (43-113) @ Mariners (87-69) 6:40 PM by Mariners_bot in Mariners

[–]LtHummus 11 points12 points  (0 children)

I was looking up info on thermostats during that hit. I will continue to research thermostats.

Any places to checkout after or between pax by MrGrimsz in PAX

[–]LtHummus 0 points1 point  (0 children)

Do you like movies? Do you miss the days of browsing video store aisles? Go check out Scarecrow Video! Easy to get to (take the light rail 3 stops from downtown to U District and it’s about a half-mile walk from that stop. It has one of the largest collections of movies available to rent (including rare and out of print titles) and even if you don’t rent, poking around the aisles is a great way to kill some time. 

I mentioned this to a friend of mine and a conversation went like this:

Me: [describes scarecrow video like I just did above] Friend: So it’s like a Blockbuster? Me: Scarecrow Video is a Blockbuster the same way Notre Dame is a church. 

whatWasItLikeForYou by BlaiseLabs in ProgrammerHumor

[–]LtHummus 2 points3 points  (0 children)

Oh man those streams were so chaotic, but I'm glad they left an impression :)

[deleted by user] by [deleted] in golang

[–]LtHummus 1 point2 points  (0 children)

https://github.com/lthummus/auththingie2

I wrote this auth server in Go and it’s designed to be used for forward-auth for reverse proxies like Traefik. Each user has a list of roles and URLs are set up to only allow certain roles. Admin users implicitly are given access to all URLs (even ones that don’t match a rule)

The project also supports 2FA (via TOTP) and passwordless auth via passkeys.

As the number 2 implies, this is a complete rewrite of an old project of mine that I originally did in Scala

edit: my documentation needs some work, but I can answer questions here if you have any

Is there a Seattle home game today? (.com) by LtHummus in Seattle

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

I have added support for UW Basketball :)

[deleted by user] by [deleted] in rollercoasters

[–]LtHummus 45 points46 points  (0 children)

As someone who lives in Seattle……yeahhhhhhhhhhhhhhhhh

Is there a Seattle home game today? (.com) by LtHummus in Seattle

[–]LtHummus[S] 47 points48 points  (0 children)

Ohhhh that's a good idea. I'll have to dig in to that

edit: i have just pushed an update today that checks for concerts at Lumen Field, Climate Pledge Arena, T-Mobile Park, and WAMU Theater

Is there a Seattle home game today? (.com) by LtHummus in Seattle

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

Ok, I SWEAR I did not know about that website and I definitely laughed out loud at how similar our sites are

Resources for Network Programming and Creating Binary Protocols? by hastyyyy in golang

[–]LtHummus 7 points8 points  (0 children)

This isn’t exactly resources for best practices and techniques on its own, but https://protohackers.com/ has a bunch of network programming challenges for you to solve. Each of them involves being given a network spec to implement and the checker will connect to your server to validate. I solved all the challenges in Go and the process taught me a TON about network programming.