363 karma · joined Feb 14, 2017 (9y ago) · 135 submissions
comment 4y ago · link · parent
There's a couple of repos at work which contain multiple Go modules (each in their own subdirectory, with their own go.mod files). It's a bit of a pain to get LSP working correctly for each individual module if I open the root directory of the repo in my editor.
comment 4y ago · link · parent
The algorithm has similar complexity as binary search, but is a bit smarter on deciding how to split the test input at each iteration.
I’ve been studying this in my masters, and we’ve recently had to write a Java implementation. I’m keen to start on a Go package soon that might work well with fuzz testing.
comment 4y ago · link · parent
I like this technique for PRs of any size (except very trivial changes). Code reviews can be a great learning opportunity, made even better if the author has specific aspects of the code they'd like feedback on.
For example, I opened a PR the other week with a bunch of refactoring work. One chunk of the refactor changed how a complex data transformation was being done by replacing some unnecessary local variables with a chain of map, filter, and forEach functions. I highlighted this as a particular point of interest, which spawned a good discussion on testability, how small our tests should be, and if there's any value testing specific bits of the transform vs. the chain as a whole.
comment 4y ago · link · parent
- Loading indicators for several seconds when switching between categories in the left sidebar, on a very decent internet connection.
- Janky animations and transitions when opening modals, like clicking the "Details..." button on a family member.
- Within the "Invite people to your family" modal, clicking "Not Now" causes the "Invite People" button (the default, highlighted action) to blink before the modal closes.
Yes while these are absolutely nitpicks, I feel that Apple has lost some of the attention to detail that set them apart.
comment 4y ago · link · parent
The (unfortunate) idea is that network latency will be low enough, and rendered interfaces will be good enough, that companies can make "streaming software" a compelling enough experience for the masses, to the point where it becomes normalised.
comment 4y ago · link · parent
Not sure if I can manage more than that + work, and also being able to enjoy time with friends or away from the computer.
comment 4y ago · link · parent
I've used an app called PhotoPills to plan landscape photo shoots in the past. It lets you drop a pin on a map and shows you the direction of sunlight at any given time of day.
Shade Map gives me so much more fidelity to play with. The pseudo-3D view with shadow rendering helps tremendously in previsualising a photo.
comment 5y ago · link · parent
I'd be interested in learning how the signalling tech has evolved over the years. There has always been a push by PTV (the government body responsible for public transport in Victoria) to establish a "turn up and go" timetable where trains depart often enough that you shouldn't need to plan ahead. One of the restrictions of the old signalling system was a fairly large minimum distance between trains that prevented frequent service. This caused some congestion, especially in the hub and spoke model of the Melbourne network where many lines converge to share tracks as they approach the CBD.