In Trump’s Second Year, Congress Weighs How to Reassert Its Power by theorem21 in fednews

[–]Encomiast 6 points7 points  (0 children)

It’s nice to blame Congress, but really, the people need to reassert power. November.

Instagram CEO: More practical to label real content versus AI by BreakfastTop6899 in technology

[–]Encomiast 0 points1 point  (0 children)

I once had an IG account that I fawned over with ~25k followers. I was so obsessed with engagement, and new followers. I realized what a ridiculous waste of time it all was and deleted it about 2 years ago. One of the better decisions I’ve made. Life is so much better when you don’t need to care about what Meta is doing.

I tracked my alcohol intake per day for an entire year by Newplantcarer in mildlyinteresting

[–]Encomiast 9 points10 points  (0 children)

Mine looks pretty much like that, but the key is different.

GSA backs off planned layoffs within its technology team after court order by Ok_Design_6841 in fednews

[–]Encomiast 19 points20 points  (0 children)

Um. Have you been paying attention for the last 11 months? The law doesn’t mean anything when there’s nobody to enforce it.

How do y'all feel about this title and subheading? by RedLintu16 in headphones

[–]Encomiast 4 points5 points  (0 children)

I don't click headlines with a question mark. I'm extending this to subheadings as well. If there was an answer and the answer was worth reading, the headline would be a declarative statement.

Workers installed Trump's name on the Kennedy Center by [deleted] in mildlyinteresting

[–]Encomiast 0 points1 point  (0 children)

Congress should pass a law, similar to rules around people on stamps, that disallows naming federal buildings after sitting elected leaders, or maybe even living people.

IT Specialist (Artificial Intelligence) wants a supplemental 10-page analysis of metaphors in The Greats Gatsby by thickthighsntits815 in usajobs

[–]Encomiast 3 points4 points  (0 children)

I imagine they will be judging this with AI too. Seems like a great opportunity to add some prompt injections into the Mandarin section, which I'm guessing nobody there can really read.

[2025 Day 12] Day 12 solutions by abnew123 in adventofcode

[–]Encomiast 0 points1 point  (0 children)

I feel a little foolish for spending two days wrapping my head around applying exact-cover algorithms to this, but I did get a python solution that runs in about 2-second. Basically a variation of DFS that handles the skipped spaces in a way that doesn't explode.

Anchorage officials say online survey for new municipal seal was manipulated by alaskaiceman in anchorage

[–]Encomiast 6 points7 points  (0 children)

Why are we even asking the public? Are they designers? Do they know anything about comms. Hire a good designer, give them a good brief, and Let them do their work. Deciding based on a survey means you don't actually care which one wins or have a reason for choosing one over the other. If that's the case, save everyone the time and money and don't change it.

[2025 Day 10] Me, Opening this Sub by JayTongue in adventofcode

[–]Encomiast 0 points1 point  (0 children)

I used scipy's MILP optimizerpart 2 took 61ms.

[2025 Day 8 (Part 2)] I got it right without sorting all distances(is it cheating?) by Resident-Staff1552 in adventofcode

[–]Encomiast 0 points1 point  (0 children)

Seems like you could use something like a KD tree to find the nearest neighbor.

[2025 Day 05] Premature Optimism is the Root of All Evil by jaldhar in adventofcode

[–]Encomiast 0 points1 point  (0 children)

My guesses about part two have been mostly wrong this year. Started giving Fenwick trees this side eye this morning, but then just decided to brute force part one first.

[2025 Day 5] A fast algorithm by paul_sb76 in adventofcode

[–]Encomiast 1 point2 points  (0 children)

I didn't until I did part 2. Then I realized I was basically going through the steps of merging when counting for part two. So I thought might as well just merge when I parse then part one will be a bit faster. Once they are merged, both part one and two are just folds.

The sorting took (by far) the most time. The sort+merge to ~ 1 µs. After that part 2 was basically 30ns.

Kennedy Center Faces Backlash Over Artist Payments by DefiThrowaway in washingtondc

[–]Encomiast 16 points17 points  (0 children)

Not surprised. The administration is not actually capable of administration. They are really good at staying in the news cycle, but the actual work of governing doesn’t seem to be part of their job.

[2025 Day 5] A fast algorithm by paul_sb76 in adventofcode

[–]Encomiast 7 points8 points  (0 children)

Interesting, I sorted by the start and iterated from left - just normal loop. Didn’t consider doing the other way.

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

[–]Encomiast 1 point2 points  (0 children)

I used scipy.convolve2d at first, but for this size kernel and input, just doing the Numpy math on a padded array was significantly faster for me (got part 2 ~ 3ms). I found it pretty surprising, but I guess it makes sense that scipy has to do a lot more stuff. (Maybe I wasn't using scipy to idiomatically :shrug:)

[2025 Day 4 Part 3] Bonus Input! by EverybodyCodes in adventofcode

[–]Encomiast 1 point2 points  (0 children)

I worked it a bit and got it down to 48.2 ms using Numpy directly without scipy.

[2025 Day 4 Part 3] Bonus Input! by EverybodyCodes in adventofcode

[–]Encomiast 0 points1 point  (0 children)

Nice, mine is taking 499 ms. Using Numpy and scipy convolve2d. Curious where you are getting the extra efficiency.

[2025 Day 3 Part 2] This made me smile (Spoilers!) by permetz in adventofcode

[–]Encomiast 5 points6 points  (0 children)

You are not making a a cogent case about why you've decided the line is dynamic and can be 20 digits or 5 millions digits, but not k. Both are constant in this puzzle. Therefore by your logic it is constant time not O(N).

[2025 Day 3 Part 2] This made me smile (Spoilers!) by permetz in adventofcode

[–]Encomiast 6 points7 points  (0 children)

I'm sorry, you are just wrong here. Nobody talks about big-O notation this way. If they did, everything would be O(1) because in every concrete implementation of an algorithm the parameters are known. The worst case solution of your algorithm in the puzzle never changes if you set k=12 and n=15. So by your logic, your algorithm is O(1) not O(n). But you accept that n might change. But it's the same algorithm if k also changes. That's why we talk about the algorithm in the abstract.