HN user

Aurelius108

35 karma
Posts0
Comments17
View on HN
No posts found.

Oddly enough I find senior engineers at my company demand ridiculous comments like this oddly enough. I've found that a 1:3 comment:code ratio (basically a comment every 2-3 lines with a new line separating each block) is the only thing that will prevent some annoying code review comments asking for clarifications.

Agreed, it’s one of those things that works well if it happens organically but not as a policy. I’ve got a personal wiki at work where I dump a bunch of useful stuff, it has helped people and attracted attention which is nice. I think the easiest solution is to have longer-form team meetings once a week.

Good point, when you look at your watch your thought should be “3:15 has passed” or “3:15:40 has passed”. One is more precise but if you think of it as a time that has already passed you can budget accordingly. 3:15 tells you that 3:15:00 has definitely passed and as much as 3:15:59 might have passed.

It’s very new to the standard library (latest version of GCC this year was the first version to support it). Additionally, I’ve found that println adds 30+ seconds to my compile time even for hello world so I’ll be avoiding it unless I need it

Although they’re cheating, I give them props for trying. I abandoned Android when even Samsung didn’t make an honest effort to make their phones responsive. It’s nice that Apple consistently values responsiveness because then Google, Samsung and Microsoft have some incentive to address their bloated products.

The Dune Shell 2 years ago

I was scripting on a windows machine which didn’t have WSL setup and decided to learn PowerShell. After a week or so of scripting with PowerShell and seeing how intuitive and robust the syntax is, something changed in my brain and I decided I never again wanted to deal with bash and its endless quirks and brittleness. It’s unnatural to have to wrap every variable access with “${}”, that unnatural key sequence always caused a break in my flow. Anyway I reach for Python sooner and really hunger for a clean, robust nix shell. I hope powershell has instilled this in many people and it drives adoption of something better

Yeah JIRA doesn’t appear to cache any of its information and doesn’t appear to make it’s information cache-friendly for a browser, so you end up accidentally clicking on another issue and then having to click back costing you 30 seconds (on work network).

I think this is a key insight with some details: there isn’t an entire shadowy org that operates without jira but there are teams of people, usually small who do amazing things without jira. I imagine the manhattan project ran this way but you still have elite teams like this in every org. Eventually they need to hand it off to a jira crew and that’s unavoidable.

Agreed, I think the key here is that the Game of Life is structured enough that many computational steps can be elided in this way. If it was more chaotic, this couldn't happen. The realization that GoL can be used to run one GoL cell in isolation is the brilliance here I think. Once you can decompose one single cell into GoL, you can also compose GoL into one cell and save computational cycles. Then suddenly it can be GoL all the way down.

Every so often I log for a way to have git log only return tagged commits and commits where the commits you’ve requested come together. In general more tools for seeing simplified graphs would be nice

Emacs 29.1 3 years ago

I agree that sublime is a fad and maybe atom. Sublime’s biggest mistake imho way their proprietary model combined with a plugin system, it’d probably be better to either make it free or make it very ease to use. I don’t see eclipse or VSCode as fads though. To my knowledge eclipse is the only way to develop Java code on Linux platforms without paying for richer tools (let’s face it, eMacs or vim doesn’t have much support for Java). Also Microsoft seems very invested in VSCode

Nailed it, the biggest issue imho is those state transitions. Why make a state that can’t transition to all others? It takes forever to tease out the intention behind it. State machines are notoriously difficult in code, why add them into something unnecessarily?

Agreed, using the paths makes it feel like a conventional toolchain. I haven’t tried this but it sounds like if I execute the python executable in the venv directory I get that shell. Only issue from there is writing executables that invoke the venv path in a deployable way