Trending
Yash Diniz's Avatar

Yash Diniz

@y5d

yashdiniz.me

47
Followers
27
Following
18
Posts
30.04.2024
Joined
Posts Following

Latest posts by Yash Diniz @y5d

Just discovered POSSE | Yash Diniz Publish on Own Site, Syndicate Elsewhere (POSSE) is an interesting take on growing both authority and authorship. Your content can exist in many places, but only one place is allowed to be the source ...

Had a real mindset shift discovering POSSE (Publish on Own Site, Syndicate Elsewhere). Edits, authority, durability, all centralized. Worth the read if you're tired of platform dependency. #IndieWeb #POSSE
yashdiniz.me/posts/20260115

18.01.2026 08:13 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Day 7 - Advent of Code 2025

I just completed "Laboratories" - Day 7 - Advent of Code 2025 adventofcode.com/2025/day/7 #AdventOfCode
I had really oversimplified part 1, was just looking for splitters with a beam entering.
Part 2 crushed me. But yeah, used backtracking, and memoized at each splitter. SOLVED!

10.12.2025 12:21 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Day 6 - Advent of Code 2025

I just completed "Trash Compactor" - Day 6 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/6

Parsing problems, cumbersome but easy. Refreshing after the "Cafetaria" problem yesterday. ✨

07.12.2025 16:10 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Day 5 - Advent of Code 2025

I just completed "Cafeteria" - Day 5 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/5

Made a petty mistake where I thought ranges where start=end didn't count, but since the range was inclusive of start and end items, it DID count. Fixed that and it worked like a charm ✨

07.12.2025 07:05 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Day 3 - Advent of Code 2025

I just completed "Lobby" - Day 3 - Advent of Code 2025 #AdventOfCode

Wow, today's problem was so compute intensive! The problem involved enumerating all possible combinations of numbers in a "battery bank". Had to come up with a smart elimination strategy. Worked!

adventofcode.com/2025/day/3

03.12.2025 15:37 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Day 2 - Advent of Code 2025

I just completed "Gift Shop" - Day 2 - Advent of Code 2025 adventofcode.com/2025/day/2 #AdventOfCode

Part 1 was easy, split the number and see if both parts match. But for Part 2 went a little out of the box. Repeat a substring and check if it matches the whole number. Worked!

02.12.2025 11:13 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Day 1 - Advent of Code 2025

I just completed "Secret Entrance" - Day 1 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/1

01.12.2025 09:36 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Bullshit.js Bullshit.js is a mission-critical enterprise JavaScript bookmarklet that will empower you to evaluate the high impact of market-driven text on any page.

Just discovered this npm package, surprised I couldn't find a website that let me enter dynamic text input to filter out bs.

mourner.github.io/bullshit.js/

02.01.2025 10:50 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
From the onexindia community on Reddit Explore this post and more from the onexindia community

www.reddit.com/r/onexindia/...
"Justice for Atul" is a cause worth supporting. This transcends religion and race. Justice for all men who are persecuted/abused by women!

19.12.2024 07:32 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Day 9 - Advent of Code 2024

I just completed "Disk Fragmenter" - Day 9 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/9

Also, skipped Day 8. Guess I can do it later.

14.12.2024 05:01 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Unoptimised Go code.

Unoptimised Go code.

Post image

Sorry about being mysterious with my post. πŸ˜…
I haven't optimized my code yet, here's a snippet of how I approached it.
I tried all operations like a "truth table", enumerating all possibilities.
Takes around 3 seconds to execute on my rusty computer.

11.12.2024 18:08 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Two functions are written in Go. The first one uses simple math to convert a decimal number to base 3, the second one uses crazy bit manipulation to convert a decimal number to base 2.

Two functions are written in Go. The first one uses simple math to convert a decimal number to base 3, the second one uses crazy bit manipulation to convert a decimal number to base 2.

Traded bits for trits and solved the puzzle. Now, if only I could figure out ternary logic gates...

I just completed "Bridge Repair" - Day 7 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/7

11.12.2024 17:36 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Day 6 - Advent of Code 2024

For part 1, I used sparse matrices and kept a history of visited locations. I feared that I had over-engineered, but that's exactly what I needed for part 2.

I just completed "Guard Gallivant" - Day 6 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/6

11.12.2024 10:10 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Day 5 - Advent of Code 2024

Used Go stdlib (slices.sortStableFunc) for part 2.
When it matches a rule, return zero; otherwise, return negative or positive, depending on which rule was violated. This worked really well!

I just completed "Print Queue" - Day 5 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/5

08.12.2024 20:14 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Day 4 - Advent of Code 2024

Sometimes the simpler solution is the better solution. πŸ˜†
One of the rare times that Part 2 required removing code to get to the answer.

I just completed "Ceres Search" - Day 4 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/4

05.12.2024 18:49 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Day 3 - Advent of Code 2024

If they'd named it "regex tokenization & named groups" instead of "Mull It Over", would've been a dead giveaway?

I just completed "Mull It Over" - Day 3 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/3

04.12.2024 15:25 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

This is Lady. She just moved from Kentucky to Montana. Winter looks different here, and she’s making her feelings on that very clear. 13/10

03.12.2024 19:41 πŸ‘ 7790 πŸ” 546 πŸ’¬ 125 πŸ“Œ 47

I just completed "Red-Nosed Reports" - Day 2 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/2

03.12.2024 18:38 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
a penguin sits in a chair reading a book Alt: Penguin sitting beside a warm fireplace on a sofa, reading a book and chuckling, animated.

I just completed "Historian Hysteria" - Day 1 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/1

03.12.2024 17:07 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0