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.
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. 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. @darius You call the number and it's just a motivational message about why you should cut yer treez @darius Wow, this is a cool little experiment that maps a word-vector space to a text adventure space that you walk around in. 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). you can't blame them really, this project is maintained on a shoestring budget at a little-known operation called [checks notes] Facebook 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... If my component was 1) very complicated, needing to handle lots of different state 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. @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... 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` 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: https://investinopen.org/community/ioi-webinar-maintenance-labor-of-open-infrastructure/ 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 I always read "UNESCO" in my head in the voice of JC Denton from Deus Ex saying "UNATCO" 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. https://github.com/hometown-fork/hometown/releases/tag/v1.0.5%2B3.4.0
Show previous comments
@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. Does Hometown have a roadmap and or guide to what kinds of patches it will and won't accept? turns out, Disco Elysium, which people with similar taste to me have all told me is good, is: good
Show previous comments
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 it really is magical isn't it. I love walking into our garden and seeing how much our plants changed each day 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
@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)
Show previous comments
@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... @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 Good content from GIFS GALORE https://twitter.com/gifs_bot/status/1389585614132158467/photo/1 @darius reminds me of all the Apple II "The Print Shop" disks I uploaded to Internet Archive |
@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