@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

1.0 has been announced
Ferret is a proxy that sits between your drivers & a db converting mongo queries into postgres SQL and using PG for the persistence.

https://www.ferretdb.io/

I am finding myself at a complete loss as to any practical reason why someone would want to use this. The ONLY case i can make for it is that it satisfies people who are zealous about open source licenses and aren't happy with Mongo's.

What am i missing?

masukomi,
@masukomi@connectified.com avatar

@hobs To be clear, I'm not a mongodb fanboy, and SQL is my favorite DSL ever. That being said MongoDB has come a long way since it's start and there are lots of great features available.

To me the only plausible use case for ferret is "shit we shouldn't have chosen mongo for our task and really don't want a rewrite"

that being said bad mongo results are almost always "we didn't take the time to learn what it means to use a document db and treated it like a relational one"

3/3

masukomi, to random
@masukomi@connectified.com avatar

Had a sad realization the other day.

I love occasionally explaining repeating tasks in pseudo . E.g.

  1. do x.
  2. do y
  3. GOTO 1

No-one learns basic anymore. Most folks can follow what i've said but they don't actually know why i said GOTO. and they don't know why that really would have been written 10, 20, 30 instead of 1, 2, 3.

1/?

masukomi,
@masukomi@connectified.com avatar

Easy actually is still available. But no-one cares. does such a good job at holding a beginner's hand and helping them to understand what they're looking at.

The SICP lectures and book are an amazing fundamental introduction to programming, but i can't help but think it's lost some of its simplicity in being updated from Scheme to JavaScript & i don't think they've released JS lectures.

Python can be a good starting point, but no-one wants to start there.

3/?

masukomi, to random
@masukomi@connectified.com avatar

geeks. Need your 🧠 for a sec joining modern ruby:

with pry i could use ~/.pryrc to have custom functions autoloaded.

I can't find the "debug" (rdbg) equivalent. When i put ruby code in ~/.rdgbrc or ~/.rdgbrc.rb it complains with

"unexpected end-of-input, expecting `then' or ';' or '\n'"

which makes me think it's expecting bash syntax which is... WTF?! Also, i can find NO documentation on what anyone is expecting to be in this file or how we're expecting to do the ~/.pryrc equivalent.

masukomi,
@masukomi@connectified.com avatar

@ChrisHouhoulis yup. it says that. It also lies. ;)

also, if you make a .rdbgrc.rb it will spontaneously create a .rdbgrc ...so that's fun.

masukomi, to accessibility
@masukomi@connectified.com avatar

I want to take a moment to talk about code . Like How accessible your source code is for your fellow

Practically speaking I count as a "Low vision" user. My need for larger fonts means that lines wrap earlier for me than most users. Wrapping sucks, so when i write code I typically use 80 characters as an upper limit to width. There are computing history reasons for 80 but it also just works.

The problem is other dev's perception & reaction

🧵 1/?

masukomi,
@masukomi@connectified.com avatar

@glloyd I hadn't thought about it from the dyslexia angle, but even without it I have the same experience. Visually structuring the code to expose behavior helps ease reading comprehension.

So much less thinking required to even know what you're looking at.

masukomi,
@masukomi@connectified.com avatar

@glloyd I need to rewatch that talk. Youtube says i only got 1/2 way through it. ;)

masukomi,
@masukomi@connectified.com avatar

@blabaere interesting.

I've never seen an implemention that would be happy with my level of formatting to expose behavior BUT in my experience the formatting that comes from auto-formatters is usually helping to improve readability over what would have been committed without them. Like, it gets the average to 50% readable formatting which is better than an avg at 4% with a few geeks like us adding random bits at 90%.

yes? no?

masukomi,
@masukomi@connectified.com avatar

@jmccance yeah. (and i mean this with 100% honest sincerity) I absolutely do not understand why there's pushback on this.

I've never had anyone look at my nicely formatted code and claim it's harder to read. It's always just "i/we don't do it that way". Like.. ok, habits form. that's fine, but why are you pushing back on something that you have literally no counterarguments to beyond "i have bad habits i don't want to change" ?!

masukomi,
@masukomi@connectified.com avatar

@spodlife @matt Yes, and no. In my experience with multiple languages that's only true if you don't just break the statement over multiple lines. You have to break it into multiple statements over multiple lines. Otherwise you just get the stack trace pointing to the first line. BUT even if you haven't broken it down into multiple statements, it's still WAY easier to wrap your head around the 12 operations that are involved and guess at the most likely culprit.

masukomi,
@masukomi@connectified.com avatar

@syntaxseed i think they're thinking "oh well, you can just let the line wrap". Without thinking about the implications of their words. Kinda like folks who say "oh well you can just use the wheelchair ramp at the back of the building." implied: just go around the block, through the dirty alley, past the 3rd dumpster.... 🤦‍♀️

Humans (at least westerners) just seem really resistant to changing to accommodate others, even if change would be no effort, & no worse, just "different".

masukomi,
@masukomi@connectified.com avatar

@syntaxseed 100% and yes, it's totally important to not forget to include ourselves in all the various forms of "stupid bs humans / people in this society" tend to do. We forget how imperfect, and needing of improvement each of us is (especially ourselves) :/

masukomi,
@masukomi@connectified.com avatar

@gracicot

https://weblog.masukomi.org/2010/07/26/why-you-should-never-indent-code-with-spaces/

👆my opinion hasn't changed in 13+ years. ;)

Tl;dr: HELL YES. BUT that completely undersells the value of it. Tabs mean you get to see whatever indentation size works for Your brain regardless of disability. You like wide indents? have them. You like skinny? have them. Just tell your editor how big to display a tab as.

masukomi,
@masukomi@connectified.com avatar

@Sdowney @gracicot the only "fight" i've had from software is editors wanting to insert spaces instead of a tab character, but i've never met a code editor that wouldn't let me turn that off.

the bigger problem is convention. using anything other than the team / language's convention is ... problematic.

then you have the problem that essentially no-one turns on invisible characters so if tabs ARE allowed for indentation they'll start mixing tabs + spaces.

masukomi,
@masukomi@connectified.com avatar

@Sdowney @gracicot personally i like to make tabs, and trailing spaces visible. the tab visibility makes for nice clear indentation levels.

oh, and I forgot that there is 1 tool that will fight you: emacs. always effing mixing and matching tabs and spaces for indentation and it's really difficult to disable. Kinda 🤯 that emacs is the one place that makes this hard.

masukomi,
@masukomi@connectified.com avatar

@gracicot @Sdowney That sounds like you're talking about tools for writing vs coding. Tabs for writing follow different rules and also have tabstops at potentially different widths.

with regards to writing prose i feel like it's always the wrong decision to manually indent because the tools for controlling and standardizing indentation as you desire are So good and so long established. It's almost always just that teh user doesn't know how to leverage them (not always obvious)

masukomi,
@masukomi@connectified.com avatar

@Sdowney @gracicot interesting. As I said in another thread off of this, if you really want to get away from this problem you need a language like Smalltalk where the way the code is represented to the user has nothing to do with how it's stored. You can radically change and customize the view of code and interactions with that view based on whatever whims, preferences, and needs you have.

marick, to random
@marick@mstdn.social avatar

I’m down to one USB-C port on my MacBook Air. Does there exist a device that splits the port such that I can simultaneously charge the laptop and back up to a USB drive?

masukomi,
@masukomi@connectified.com avatar

@marick partially depends on if the drive is USB C or not, if not, easy peasy. If so, thunderbolt? not thunderbolt?

For thunderbolt USB-C I like OWC's hub https://eshop.macsales.com/shop/owc-thunderbolt-hub

BUT i think it's limited to 60w power so i ALSO plug in with the magsafe power.

masukomi, to random
@masukomi@connectified.com avatar

@dachary mentioned Documentation Driven Development which means I have an excuse to re-share a link to my favorite Ignite Talk ever.

Moonmaster9000's "README Driven Development" (5 min. talk)
https://youtu.be/23xzRCoDZf4

More developers need to watch this and take it to heart. I make it a point to rewatch it roughly every year.

mcc, to random
@mcc@mastodon.social avatar

Not sure if it's offering me weed gummies, it's offering to give me therapy, or if I have just stumbled into a very work inappropriate situation

masukomi,
@masukomi@connectified.com avatar

@mcc definitely not gummies. Many CB[x] canabanoids but no CBT that i'm aware of: https://www.leafly.com/news/cannabis-101/list-major-cannabinoids-cannabis-effects

;)

masukomi, to random
@masukomi@connectified.com avatar

I kept adding administrative pages to DevGood, and my nav bar was getting to long.

So, now a dropdown menu for administrative stuff you rarely touch. The green highlight is because that's the page i was viewing when i opened the pull-down.

May not be notable for you, but i'm SO out of touch with current CSS wonkery that I'm actually proud of this little accomplishment.

In other news, MANY little changes as i chip away at the stuff required for public release.

a list of git log output. one line per commit showing the many changes today.

masukomi, to random
@masukomi@connectified.com avatar

trying to convince to generate an app icon. This is not even remotely what was asked for, but i had to share it.

masukomi,
@masukomi@connectified.com avatar

another "Had to share". This one made me laugh and I can't explain why.

Questions:
beside his head: are those... instruments on a wall? earrings?
Why do so many of the circles have an equals sign in them?

Also, i love ... his....name? "Eatiil Tt'Fe"

Ah yes, my old friend Eatiil Tt'Fe! Great guy. Spectacular mustache!

cc @dachary

masukomi,
@masukomi@connectified.com avatar

Developer ...robot...bunny?

I don't know what this is, but i kinda want whatever app it's an icon for. It obviously does cool 💩!

masukomi, to random
@masukomi@connectified.com avatar

I've been trying to figure out why "theirs" is flatlined on this graph of demo data.

the answer? Math. Not even "bad math", which i was expecting. It's that the "average" number of contributions per week across all the other devs in this fake data... is less than 1, so... zero.

I just need more fake work for the fake coworkers to have done.

masukomi,
@masukomi@connectified.com avatar

🎉 hooray! look at all these fictionally productive coworkers and their wiggly line of average contributions!

Looks like March was hard for my fictional team. I wonder what happened?

All i know is that fictional me has been holding their own, and is typically contributing more than most folks. Fictional me can afford to take a break. :D

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