@kaspi@mstdn.social
@kaspi@mstdn.social avatar

kaspi

@kaspi@mstdn.social

๐Ÿง‘โ€๐Ÿ’ปfrontend/fullstack dev at Investown
๐Ÿฆ“formerly dev teamlead at zonky.cz
โ”recovered work addict
๐ŸŽจmini painter
๐Ÿ‰DnD player and DM

#WebDev #frontend #JavaScript #TypeScript #React #GraphQL #EmberJS #Linux #macOS #MySQL #Postgres #DevOps #Jenkins #AWS

#DnD #ffxiv #paintingMinis #miniaturePainiting #paintingMiniatures #painting

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

kaspi, to ageofsigmar
@kaspi@mstdn.social avatar

The shading on the back, ass and calves is warm and cold red with same saturation. Highlights with orange.

I bit the bullet and got some of the new Army Painter paints and it was a good idea. They're so much better to work with.

"It's all pigment!"

You get this slogan for free, Army Painter.

Work in progress. Back of a miniature of a Glabrezu demon from D&D. Remaining to be painted: pincers, feet claws, back of arms. The body is red with orange ridges and black spikes. The soft body parts are white. Carapace is red. The shading on the back, ass and calves is warm and cold red with same saturation. Highlights with orange.

mez, to random
@mez@mastodon.nz avatar

Cleaning up my HD get some storage space back and I'd like a script that goes through and removes the node_modules folder whenever the files in the parent folder haven't been touched in a month or more. Inactive project? No need for node_modules, just reinstall if it's ever worked on again.

kaspi,
@kaspi@mstdn.social avatar

@mez I'll add my anecdote: have done that multiple times and so far never regretted it.

Only drawback I can see would be if a dependency became unavailable (e.g. a git url to a patched fork)?

amyfou, to tech
@amyfou@lingo.lol avatar

deleted_by_author

  • Loading...
  • kaspi,
    @kaspi@mstdn.social avatar

    @amyfou if it wasn't so scary to click yes, then I'd try and see if it really was that many (database/backend), or it was only a display (frontend) bug.

    I actually came across similar display only bugs in React, where a query was made without any filter (e.g. class id), so it returned the total count of all rows.

    Then a new query was made with the filter, but the view didn't render the new total count, because of how the re-render condition worked.

    kaspi,
    @kaspi@mstdn.social avatar

    @amyfou could also be merging a whole lot of results if there is an id missing. So may be a combination of frontend and backend bugs. Especially if there are "left/right join" clauses involved in database queries. I had written a bunch of bad SQL queries that multiplied the number of rows with each join.

    kaspi,
    @kaspi@mstdn.social avatar

    @amyfou truuuuue. Intermittent is the coolest thing about it. Can come from a number of causes. Backend would seem weird, but could also be a case of "you get the larger result later", because it was slower and it overwrites what you were doing, because the first request wasn't cancelled when the second got fired.

    schizanon, (edited ) to react
    @schizanon@mas.to avatar

    Red flags in a codebase

    ๐Ÿšฉ preventDefault
    ๐Ÿšฉ useMemo
    ๐Ÿšฉ fetch inside useEffect
    ๐Ÿšฉ <div onClick/>
    ๐Ÿšฉ a "hooks" directory
    ๐Ÿšฉ css files
    ๐Ÿšฉ icon library in package.json

    kaspi,
    @kaspi@mstdn.social avatar

    @schizanon re useMemo: is the idea that if it's needed, the cost of computing is too damn high anyway (or the component tree is too convoluted) and should be handled by something else outside the component(s)?

    Edit: basically that we're trying to catch perf and avoid rerenders the wrong way?

    mcc, to random
    @mcc@mastodon.social avatar

    So I guess Unity's plan on the "we can demand more money whenever we like on the games you already developed with the software you potentially already paid for" thing is just every few days for the next month, they'll issue an "apology" and announce they're going to announce changes and then not actually fix any of the issues.

    I guess they're hoping some large % of whoever they're trying to reach (journalists? investors?) see the "we're fixing it" but don't see they never actually fixed it?

    kaspi,
    @kaspi@mstdn.social avatar

    @mcc I thought it was bad and was still surprised.

    idk how they wanna top this, but at least I know they'll try.

    mcc, to random
    @mcc@mastodon.social avatar

    I follow this strict rule on Letterboxd where I rate a movie three stars if I liked it. Four stars only if I really liked it, loved it. Five stars only if I loved it so much I would call it an all-time favorite. (Two stars is for a movie that I didn't dislike but wasn't satisfied with; one star only for movies I actually disliked. Out of 980 logged movies I only have seventeen 1s)

    This makes me feel kind of guilty on those occasions I happen to watch a movie I liked, but which is obscure.

    kaspi,
    @kaspi@mstdn.social avatar

    @mcc everything with a 1 - 10 scale is NPS. Sorry, I don't make the rules.

    mcc, to random
    @mcc@mastodon.social avatar

    Chris

    Chris!

    CHRIS!

    CHRIS, YOU NEED TO STOP LETTING THE SCORE STOMP ON THE DIALOGUE

    kaspi,
    @kaspi@mstdn.social avatar

    @mcc me, single sided deafness, two minutes into the movie: "I see I'll have to keep my eyes on the minimap ๐Ÿค”" and then played StarCraft with the subtitles for the rest of the night. Was a 35mm, so subs were below screen.

    ThisPlaceAgain, to random

    Love and passion toots, where are you? Mastodonians donโ€™t like you, huh?

    kaspi,
    @kaspi@mstdn.social avatar

    @ThisPlaceAgain
    Patient: doctor, I cannot find things I'm looking for
    Doctor: have you tried hashtag search?
    Patient: but doctor, I am hashtag search

    AdmiralFrosty, to random

    A beauty shot of some of the models Iโ€™ve printed and painted recently.

    kaspi,
    @kaspi@mstdn.social avatar

    @AdmiralFrosty so much work in one photo ๐Ÿ˜ฎ

    Damn impressive ๐Ÿ‘ and amazing looking โœจ

    AdmiralFrosty, to linux

    Since I mostly game on my Xbox now, I figured it would be a good time to try using as my daily driver. I have experience with it and it powers the Plex server on my NUC.

    What a mistake.

    kaspi,
    @kaspi@mstdn.social avatar

    @AdmiralFrosty nvidia. You are a strong individual demanding respect ๐Ÿ‘ I gave up once on a notebook after 3 days of hell.

    AdmiralFrosty, to random

    โ€œTheir position is that because Mr. Musk is famous and might be more of a target for deep fakes, his public statements are immune,โ€ wrote Santa Clara County Superior Court Judge Evette D. Pennypacker. โ€œIn other words, Mr. Musk, and others in his position, can simply say whatever they like in the public domain, then hide behind the potential for their recorded statements being a deep fake to avoid taking ownership of what they did actually say and do.โ€

    https://www.theverge.com/2023/4/27/23700339/tesla-autopilot-lawsuit-2018-elon-musk-claims-deepfakes

    kaspi,
    @kaspi@mstdn.social avatar

    @AdmiralFrosty maybe we then should treat everything he says as a lie ๐Ÿค”

    Even so, it's not like deepfakes are forensically indistinguishable.

    Maybe an actual court should decide instead of a blanket statement of a judge on Musk's payroll.

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