@masukomi@connectified.com
@masukomi@connectified.com avatar

masukomi

@masukomi@connectified.com

👉 Senior Back-End Dev. Seeking Remote Position 👈

Autodidactic, Autistic, ADHD, Trans, and Geeky Programmer.

Queer friend of Camellia Sinensis.

If you want to hear my ramblings about Tabletop Role Playing Games check out my other account: https://dice.camp/@masukomi

This profile is from a federated server and may be incomplete. Browse more on the original instance.

masukomi, to random
@masukomi@connectified.com avatar

Another teachable moment:

I may have broken https://www.1001fonts.com/

If so. I'm sorry.

I was annoyed with how few fonts it allowed me to view at a go, so i just tweaked the pull-down to let me submit a request for 10,000 fonts. (just a random big number. Now, if you try and load any page it presents this.

Lessons for geeks in 🧵

masukomi,
@masukomi@connectified.com avatar

@lapingvino seems plausible. My goal was a number big enough to just show me all of them (or all in most categories at least)

masukomi,
@masukomi@connectified.com avatar

@lapingvino i've modified my greasemonkey script to add a 1,000 items option to the pull-down, instead of 10,000. That seems to work.

masukomi,
@masukomi@connectified.com avatar

@lapingvino yup. either they cookied me as bad OR the cookie contained something that breaks the site.

masukomi,
@masukomi@connectified.com avatar

@lapingvino ooh. I wonder if they've tagged me as "bad" 🤔 I'm still getting that (with a 500 response code)

masukomi,
@masukomi@connectified.com avatar

lessons from maybe accidentally breaking 1001fonts.com

  1. NEVER trust user input.
  2. know what the limits of your system are and make sure no single request can cause those to be exceeded.
  3. make sure cookie values can never break your server. (rule 1 again)

it's unclear if i actually took it down, OR if i just caused them to generate a cookie which then caused 500s on their end. Regardless, the lessons stand.

masukomi, to random
@masukomi@connectified.com avatar

A #ruby on #Rails mystery in 3 images. Solution in 🧵

controller has 2 actions, which i've called first_action and second_action just to distinguish them.

Rails will ALWAYS send you to first_action even when the route, and the action_name are second_action.

images: controller, debugger at breakpoint, routes

I stared at this for SO long before i figured it out while rubber-ducking it.

a screenshot of the debugger stopped at a breakpoint.
a screenshot of the routes.

masukomi,
@masukomi@connectified.com avatar

@michaelkl Yup! It's on our todo list to add more cops. We've only got a handful running. We don't want to get too nitpicky but want more help from it. I'm thinking of trialing standard gem as a better starting point for us to have a discussion.

masukomi,
@masukomi@connectified.com avatar

@tenderlove 🙇‍♂️ thank you for the sanity check and the teaching.

masukomi,
@masukomi@connectified.com avatar

@tenderlove was expecting it to blow up (or be weird) when before_action attempted to call it, because it didn't occur to me that defining a method returned a symbol, but figured that issue was probably not an issue

additionally was expecting second_action to be called afterwards because normally you can execute code after calling render but before the action ends... and a double render just results in double render error. The fact that it was never called suprised me.

masukomi,
@masukomi@connectified.com avatar

@smortex

🤦‍♀️ i 100% didn't notice that.

Probably because they're USUALLY only at the end of a line and that's telling me that it's trailing whitespace & that gets deleted on save. so i just ignore blue.

if it was RED I would have paid attention, but this is just a formatting warning not an actual error so it was just blue.

masukomi,
@masukomi@connectified.com avatar

@tenderlove this (see 🧵👆) feels like a Rails bug to me . do you agree? (I'll file a ticket if so)

a) radically unexpected behavior (being able to pass def ....end to before_action and have it work ).
b) i feel like the render call in first_action shouldn't have prevented second_action from being called but instead should have been a double render error.

masukomi,
@masukomi@connectified.com avatar

there's a trailing comma in the before_action line. That trailing comma makes the first action a parameter to before_action which is NOT only NOT a syntax error, but also, surprisingly a valid and usable input to before_action which it executes without issue.

normally second_action would be called afterwards, BUT because first_action has a render in it, second_action is never called and it looks like you were sent to the wrong action.

bigzaphod, to random
@bigzaphod@mastodon.social avatar

Git is honestly why I've hardly ever contributed any code to open source projects. Every time I do anything beyond making a change and pushing it something seems to break. The last thing I want to do when trying to contribute a tiny typo fix or tweak or whatever is deal with that bullshit while looking like a moron to all the experienced open source project maintainers.

masukomi,
@masukomi@connectified.com avatar

@bigzaphod I recognize that much of what you're saying is self confidence stuff, BUT I wanted to put it out there that there are many geeks out there who have come to terms with git's .... "complexities" and are happy to help answer questions in DMs or hop on a call and help you understand whatever problem you're facing and how to approach it in the future. Hopefully without making you (or anyone else) feel like an idiot.

I'd like to think I'm one of those people.

paul, to random
@paul@tapbots.social avatar

I still miss the breathing LED behavior on Macs, not only was it a pretty delightful touch but also really useful as a debugging tool.

masukomi,
@masukomi@connectified.com avatar

@bk1e @paul I'm still waiting for apple to implement is_computer_on_fire

https://www.haiku-os.org/legacy-docs/bebook/TheKernelKit_SystemInfo.html

stroughtonsmith, to random
@stroughtonsmith@mastodon.social avatar

🎙️ Got anything fun you're working on to show off before WWDC? New app? Update? Student Challenge submission? Concept art? Drop a reply here — include a screenshot, link-out, and use the hashtag if you'd like to be boosted. Do remember you can edit posts if you forget something

masukomi,
@masukomi@connectified.com avatar

@andykent woot 🥳

other feedback (admittedly this may just be personal weirdness and not representative)

I wasn't willing to pull the trigger and try it after downloading because I'd probably forget to cancel if i didn't like, & the space is too flooded with competing products that i CAN try. I'd really prefer if there was at least 1 scene i could click and try without the signup just to see if it was even something i'd consider spending more $ on (as i already have noise environment apps).

masukomi,
@masukomi@connectified.com avatar

@andykent FYI your video doesn't work in firefox. Tried without ad block. tried in incognito with all the extensions turn off. Just... won't play, but the image is there without a button after you click it. I kept staring at it thinking "well it says 'zen' maybe it's reallllllly zen. maybe i should be looking for really subtle leaf movement in the trees.... no... no this is just.... broken"

masukomi, to random
@masukomi@connectified.com avatar

/me screams into the void about developers and CSVs and my complete lack of understanding of how, and why they manage to fuck them up in so many different ways.

Today is "Let's put in rows of titles and stuff above the headings and make it completely unparseable" ARRGH!!!! WHY PEOPLE WHY?! just build a damn excel sheet if that's what you want. ARRRGH

masukomi,
@masukomi@connectified.com avatar

sorry. developers fucking up CSVs because they think they understand how they work, because "CSV is simple" and then proceed to fuck them up in multiple ways is one of my pet peeves.

I've spent literal weeks of my life compensating for developers who thought "csv is simple" and then proceeded to NOT use the off-the shelf lib for it and as a result generate invalid CSV that i had to parse.

masukomi, to random
@masukomi@connectified.com avatar

the more i use 's redcarpet gem on a daily basis the more frustrated i am with it NOT being the same behavior as github's renderer, which admittedly is not canonical, but it is GOOD.

masukomi,
@masukomi@connectified.com avatar

related, i realized i don't need to actually use markdown in my app. I've got a toggle for markdown vs org-mode markup for notes. I've been using markdown because it mostly works correctly when pasted into Slack (👊 damn their half-assed markdown-but-not-really markup) BUT I could write in org-mode and use browser plugin to copy the rendered form as MD

masukomi, to random
@masukomi@connectified.com avatar

I keep thinking about the Hylian tunic i've been seeing on link in @dachary 's playthrough of Tears Of The Kingdom

I LOVE this design, and i 100% wish i could wear it in real life.

masukomi, to random
@masukomi@connectified.com avatar

a little note from computing history. Sometimes OS makers had fun...

I especially appreciate the note that the value returned by is_computer_on is undefined if the computer isn't on.

and yes, these two functions really were implemented in . I don't think is_computer_on_fire made it to which i find very sad.

I remember a number of utilities that you could run to check if your BeOS 🖥️ was on 🔥

https://www.haiku-os.org/legacy-docs/bebook/TheKernelKit_SystemInfo.html

masukomi, to random
@masukomi@connectified.com avatar

(Geekery)
my long running topic branch is currently 143 commits ahead of master.

I've also created a 2nd topic branch off of that one that is an additional 30 commits ahead of that.

/me 🙏s for merge approval when folks get back from company meet-up.

masukomi, to random
@masukomi@connectified.com avatar

quick reminder:
the 1st (thursday) is the 1st day of Fucking Rebel Against Impending Genocide month... i mean, Pride month.

Genocide doesn't only mean "mass murder". It is genocide regardless of how you manage to extinguish a group of people.

We are very literally in the middle of an ongoing genocide against trans people. IT WILL NOT STOP THERE.

masukomi, to random
@masukomi@connectified.com avatar

Started trying to switch my SVG graphics workflow to Affinity Designer 2.

This little feature, is probably not notable to most, but to me? Holy shit this changes everything.

Export text as curves!!! I can leave my stuff as editable fonts?! AND export it as curves?!!?

squeeeeee!!

masukomi, to random
@masukomi@connectified.com avatar

Dear Developer:
(a public service reminder)

Please stop embedding classes inside classes.
This is a classic example of "just because you can, doesn't mean you should".

Unless you're @fables_tales or @tenderlove or someone who's actually at their skill level, you should assume that you're "doing it wrong" and that there's a better way to solve whatever problem you're trying to solve with this madness.

masukomi, to random
@masukomi@connectified.com avatar

Just watched @dachary fighting with the gyrations required to transfer Animal Crossing data to a new switch. Fully convinced that whatever C-level a-hole who championed the need for such anti-piracy bullshit should be forced to transfer their data without a manual or assistance. If they fail, they should fired immediately. If tehy don't fail, they should be forced to explain how this is compatible with the idea of a joyful experience of receiving and hoping to play a new device... and be fired.

masukomi, (edited ) to random
@masukomi@connectified.com avatar

I watched a stinkbug climb a tree.

Why do you climb little stinkbug? What do you seek?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • tacticalgear
  • thenastyranch
  • ngwrru68w68
  • magazineikmin
  • khanakhh
  • rosin
  • mdbf
  • Youngstown
  • slotface
  • everett
  • cisconetworking
  • kavyap
  • DreamBathrooms
  • anitta
  • InstantRegret
  • Durango
  • osvaldo12
  • ethstaker
  • modclub
  • GTA5RPClips
  • Leos
  • cubers
  • tester
  • normalnudes
  • megavids
  • provamag3
  • lostlight
  • All magazines