Email or username:

Password:

Forgot your password?
981 posts total
Darius Kazemi

Learning about graphql fragments and while I totally see the utility, uhhh, this also seems like a way to completely entangle your data with your UI and ensure that migrating from graphql to any other kind of API will be an enormous pain in the ass.

graphql.org/learn/queries/#fra

Alex Garnett

@darius I think the saving grace is that there’s a bunch of middleware now that makes it easier to run graphql directly on top of postgres etc, though ultimately the usefulness of bastardizing linked data like that is arguable

Darius Kazemi

I've been getting porn spam via the medium of Google Drive document share notifications. This one makes me laugh, like, sorry but you've got the wrong guy.

Maybe it's Eyesaline

@darius What a bizarre mechanism to spam people.

‮Andrew Cassidy

@darius none of that curvy dick nonsense

Shinobi Frankenstein

@darius You call the number and it's just a motivational message about why you should cut yer treez

✨nick nick nick nick✨

@darius
the economy of the single nail driven through the wood, the simplicity of the message, a modern-day martin luther challenging centuries of treez orthodoxy.

Darius Kazemi

Wow, this is a cool little experiment that maps a word-vector space to a text adventure space that you walk around in.

spinfoam-games.itch.io/rainbow

Darius Kazemi

Me, contributing to open source documentation:

> I purposely did not format this correctly in order to keep my new text consistent with the style of the rest of this page (which does not seem to be consistent with the rest of the docs).

Darius Kazemi

you can't blame them really, this project is maintained on a shoestring budget at a little-known operation called [checks notes] Facebook

Darius Kazemi

I am implementing a drag and drop file input in React for work, and my instinct was to build my own using the HTML5 drag & drop API stuff. I was curious and looked at our old implementation, which uses a library called react-dropzone to handle the drop zone stuff. It's 683kb unpacked? And yes, it supports many configurations of drag & drop but our app only needs 1 configuration. Why introduce a huge blackbox dependency that wraps the browser API when you could just... use the browser API...

Darius Kazemi

If my component was

1) very complicated, needing to handle lots of different state
2) central to the UX of our app

then I would absolutely use this well-tested, widely-used library. It would be worth the cost in both added external dependency and file size. But the library gets 1 million downloads a week and I bet most of those are use cases where this is sheer overkill.

SlightlyCyberpunk

@darius Web standards change all the time and people still use ancient browsers that don't support them, so people build their own "standards" as libraries which try to account for all of this...which is cool in theory except these web dev libraries seem to rise and fall just as often as the standards they're trying to replace....IMO, in the end you often just trade one big, constantly shifting pile of bloat for another...

SlightlyCyberpunk

@darius Web standards change all the time and people still use ancient browsers that don't support them, so people build their own "standards" as libraries which try to account for all of this...which is cool in theory except these web dev libraries seem to rise and fall just as often as the standards they're trying to replace....IMO, in the end you often just trade one big, constantly shifting pile of bloat for another...

TL;DR:
xkcd.com/927/

@darius Web standards change all the time and people still use ancient browsers that don't support them, so people build their own "standards" as libraries which try to account for all of this...which is cool in theory except these web dev libraries seem to rise and fall just as often as the standards they're trying to replace....IMO, in the end you often just trade one big, constantly shifting pile of bloat for another...

Darius Kazemi

Slowly learning to be a competent user of git submodules... just learned about `git submodule foreach` which lets you do useful stuff like `git submodule foreach git status`

brennen

@darius my level of competence here spikes wildly when i'm forced to think about submodules every 3-12 months, and then falls off just as quickly as soon as i'm able to stop thinking about them...

Darius Kazemi

Invest in Open Infrastructure is running a free online event June 2 featuring Jessica Myerson of The Maintainers and Luis Villa of Tidelift. They'll be talking about issues around continual maintenance of open source technologies. Attendance is free with registration:

investinopen.org/community/ioi

Darius Kazemi

lol I just realized that a script I wrote 5 years ago has been continuously duplicating logs on my server multiple times over. Like, I meant to append current logs to a main log file, then clear out the current logs. I forgot the second step, so I ended up appending the same logs (plus new ones) over and over to the big log file. oooops. could have saved myself many gigs of HD space had I noticed sooner

Kris Freedain

@darius 5 years? 🤯
I am so curious how many gigs that ended up being

🌸

@darius i love the fun lil game of doing `du -h --max-depth=1 .` and being like, why is this directory taking up 4TB 🤨

Darius Kazemi

I always read "UNESCO" in my head in the voice of JC Denton from Deus Ex saying "UNATCO"

Darius Kazemi

I have just released Hometown v1.0.5+3.4.0! This release adds no new features, it simply brings Hometown up to date with Mastodon v3.4.0.

github.com/hometown-fork/homet

#hometown

Show previous comments
michcio (backup)

@darius really nice and impressive reaction time!

:PUA: Shlee fucked around and

@darius hey, so I'm considering forking from master to hometown... but I'm interested to know if you're willing/able to add the admin account auto follow on new account creation.

Emacsen

@darius

Does Hometown have a roadmap and or guide to what kinds of patches it will and won't accept?

Link H

@darius Hi Darius! Been a long time. Didn't know if you'd remember me. 😅

Erin Hoffman-John recently shared your runyourown.social article with me and it was super insightful! Thank you so much for putting that together!

Darius Kazemi

honestly I'm amazed whenever I tweak a memory-related setting on a server and things actually play out the way I would predict them to

Darius Kazemi

My snap peas grew five inches in seven days!

Ben Zanin

@darius great googly-moogly

I shall refer to your snap pea kudzu hybrids by the name "Audrey II"

Kris Freedain

@darius it really is magical isn't it. I love walking into our garden and seeing how much our plants changed each day

Darius Kazemi

Recently realized that "American cheese", as in the processed cheese you find on McDonald's burgers, is best conceived of as a cheese sauce that comes in convenient slices.

Show previous comments
Kris Freedain

@darius makes perfect sense. It can also double for a yellow card in soccer. (saw a fan do this as a joke at Providence Park once and it cracked me up)

Daniel Cassidy 🦌

@darius the best feature is that it's super easy to remove

Darius Kazemi

create-react-app should be illegal

Show previous comments
SlightlyCyberpunk

@darius I was given a react app to maintain at work. First thing I did was a full rewrite in standard Javascript. Went from a bloated, slow, ~500MB package on a nodeJS server to 3000 lines of standard Javascript that gets the job done in a fraction of the time and can run locally with no server required (although it is now served as static content by nodejs after getting evicted from Sharepoint). And I added a bunch of features in the process...

doctor garbage expert

@darius don't mind me instantly faving this on every platform

Alex Garnett

@darius I always always bounce off frameworks that have a turnkey "we'll generate the whole app structure" bootstrap command like this -- it's obviously unavoidable the farther you get into rails-land, but a huge part of why I loved learning and still love working with flask is because it *doesn't* assume that's the easiest place to start

Go Up