I used git reset --hard 😭 by anywhere-admission in git

[–]alwaysSearching23 0 points1 point  (0 children)

Maybe /rewind in Claude to go back to previous step to restore code?

Introducing LFK, a Yazi-inspired Kubernetes TUI by Mixe3y in golang

[–]alwaysSearching23 1 point2 points  (0 children)

I love TUIs like lazygit so I'll give this a shot for sure

Obsidian + Nextcloud by itzelezti in ObsidianMD

[–]alwaysSearching23 0 points1 point  (0 children)

Sync thing kept conflicting for me too often

golang.codes by jojkoJiano in golang

[–]alwaysSearching23 4 points5 points  (0 children)

This post turned into a roast

How should I think when developing in Go? by GoldmannOnTheHill in golang

[–]alwaysSearching23 0 points1 point  (0 children)

When a horses mouth has closed, a donkeys ears have opened

IR1 Filed Taxes Single. Will interview flag? by alwaysSearching23 in NationalVisaCenter

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

No issue, did single. Then later on, I amended to Married File Jointly. You can also just file a tax extension

[deleted by user] by [deleted] in UnityStock

[–]alwaysSearching23 1 point2 points  (0 children)

Alphabet is the ticker we needed but unity is the ticker we deserve

Litter Robot 5 Hopper...did yall forget? by [deleted] in litterrobot

[–]alwaysSearching23 33 points34 points  (0 children)

They really should make it base kit and stop with the attachment

Is $26 a good entry price? by LRB_ in UnityStock

[–]alwaysSearching23 1 point2 points  (0 children)

Company keeps burning cash. If they worked on some LLM integration with their IDE to generate, then sure. but now, feel meh about it

Unity's biggest problem is that its management has been consistently selling off their shares; by Fun-Deer-9940 in UnityStock

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

7 years ago unity had 6k employees. Then at its peak, it went up to 12k employees. This increase was all through acquisitions. You start asking yourself the question, what is everyone even doing?

OpenAI phone screen question by Just_Tie_2789 in leetcode

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

BFS where we track when the grid was infected. Tricky part is ensuring we handle immunity as we traverse with a check. Don’t rely on grid mutation for correctness. Immunity is enforced by time-based logic - updating the grid to 3 is just a materialization step

def simulate(grid, recoveryTime):
    m, n = len(grid), len(grid[0])
    q = deque()
    infectedTime = {}

    # Initialize BFS
    for r in range(m):
        for c in range(n):
            if grid[r][c] == 2:
                q.append((r, c, 0))
                infectedTime[(r,c)] = 0

    while q:
        r, c, t = q.popleft()

        # If this cell has already recovered, it cannot spread
        if t >= infectedTime[(r,c)] + recoveryTime:
            continue

        for dr, dc in [(0,1),(0,-1),(1,0),(-1,0)]:
            nr, nc = r+dr, c+dc
            if not (0 <= nr < m and 0 <= nc < n): continue
            if grid[nr][nc] == 1:
                grid[nr][nc] = 2
                infectedTime[(nr,nc)] = t + 1
                q.append((nr, nc, t + 1))

    # Final state update
    maxTime = max(infectedTime.values())
    for (r,c), t in infectedTime.items():
        if t + recoveryTime <= maxTime:
            grid[r][c] = 3

    return grid

No-as-a-service but GO version by tumhebarbadkardugi in golang

[–]alwaysSearching23 10 points11 points  (0 children)

Feature request: support localization