I'm not crazy, right?

If `get /resources/:id` always returns a `resource`, it's absurd that there should be a reserved value `new` for the :id field that returns a form instead.

Autocorrect mangled that first path, should be

get /resources/:id

In a crud webapp, is it standard to have the paths for viewing a resource and the new resource form be

get /resources/:I'd
get /resources/new

This seems to be what Rails enforces anyway. But what about cases where `new` could be a valid resource id?

In gitlab I can automatically create a new remote repo by pushing to it.


git remote add origin url-to-new-repo
git push origin master

Will create the new repo automatically and then push to it.

But this doesn't work in GitHub - it just complains that the repo doesn't exist. Any workaround?

Whoops my anxiety made me uninstall discord from my phone and now I regret it

Ported my markov chain fantasy name generator from ruby to JS and made a web form for it. Exciting times.

Something on my computer is automatically turning my microphone level down from 100% to 88% whenever i start speaking loudly. No idea what's doing it.

Meanwhile in my keepass.

I don't know how this happened. What's more confusing is that they're the same password, so it's not like I just made a second account after forgetting about the first.

Today I learned that PHP's syntax for referring to an instance function as a callable (e.g. to pass it as a callback) is:

[$instanceReference, "functionNameAsString"]

e.g to pass $inst->foo as a callback to baz, you'd write:

baz([$inst, "foo"]);

Struggling with managing dependencies on this project.

My application is comprised of around 10 modules, each of which provide a discrete unit of functionality.

All the modules depend on the same of 6 or so libraries, which do most of the heavy lifting.

As this project gets bigger, it gets more and more cumbersome to make a change to a library, because I have to make big updates to each module that uses it.

Everything is in separate git repos, and pushing and pulling changes is getting very tedious.

Been getting a lot of spam on my work email lately. What monster gave away my address?

I didn't feel like telling him that I just like anime way too much.

Weird-thing-someone-asked of the day:

"Why are you studying Japanese? Do you have a Japanese girlfriend?"

I should get a proper interactive pen display (something like a cintiq, but probably a cheaper brand). Drawing on a graphics tablet while looking up at my monitor just isn't very fun.

My issue with my billing address on my credit card seems to have resolved itself. I went back to the website to check it and the address has rearranged itself properly.

Notepad++ pro tips:

- Turn off every toolbar and menu.
- Set up ctrl+tab to switch between open documents
- Set ctrl+shift+w to move documents between views (but try to avoid using multiple views when you can).
- Set your colorscheme to something easy on the eyes, like Solarized.

It results in a beautifully light-weight, keyboard-driven experience.

If you ever do need the menu bar for something, just hit ALT to summon it.

Today was a day for writing lots of documentation at work. I've gotta remember to start bringing headphones again for this kind of stuff. Gotta have my TMBG for lots of typing.

Finally told my phone to start a timer in japanese for the first time. So that was exciting.

I just said "タイマ、四十分" (timer, 40 minutes) though, because I don't really know how to construct "start a timer for 40 minutes" grammatically.

Show more
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either! We adhere to an adapted version of the TootCat Code of Conduct and follow the Toot Café list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators. Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!