@tef@mastodon.social avatar

tef

@tef@mastodon.social

former main character. they/them is fine

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

mcc, to random
@mcc@mastodon.social avatar

What is the ECS equivalent of an ORM. Meaning like. You wouldn't use an ORM with an ECS. What would you use to map an RDBMS to the ECS model. Isn't ECS already closer to a relational database to start with

tef,
@tef@mastodon.social avatar

@mcc yep, an entity component system is very very close to a wide column store

but i think asking "what about an ORM" is a bit like "what about an ORM for a b-tree", there's no query language to map

tef,
@tef@mastodon.social avatar

@mcc yes ... and no. a big part of rdbms is query optimization for ad-hoc queries, another big part is concurrent long running transactions, and games are a bit more single writer

but, well, a game with a WAL? heheh, you'd have point in time restore for your saves

and maybe with a bit of optimistic concurrency you can do things like working off a snapshot, to render or to save, while the game is doing updates

tef,
@tef@mastodon.social avatar

@mcc arguably transactions could be used for some sort of netcode rollback, but, well, it might be better off being integrated as a whole

but the biggest problem with using a RDBMS is most of them are row stores, and most of your game logic wants a column store

tef,
@tef@mastodon.social avatar

@mcc i do think ecs can learn from databases but i think powering one with postgres will lead to tears, as it's just optimised for wildly different use cases

on the other hand, maybe duckdb would be an incredible backing store for an ecs

tef,
@tef@mastodon.social avatar

@mcc in practice, i think it would be easier to add atomic visibilty of updates to something like an ECS, than to get the same feature by using a database behind the scenes

tef, to random
@tef@mastodon.social avatar

big day ahead, made pasta sauce, gotta extrude some pasta later

tef,
@tef@mastodon.social avatar

finally extruded the pasta

tef,
@tef@mastodon.social avatar

@whitequark alas it wont keep

tef,
@tef@mastodon.social avatar

you: the secret ingredient is love

me: it's lye

tef,
@tef@mastodon.social avatar

i'm not exactly a food scientist here, but a tiny bit of alkali makes the pasta more stretchy and with a bit more bite, much like ramen (which also uses alkali)

it's less common in pasta (esp egg pasta because it's already got a binding agent) but i like my noodles firm so

i guess i could rest the dough longer, but even with autolzing it's still a lot of effort

tef,
@tef@mastodon.social avatar

@janl i can hear this in his voice

mcc, to random
@mcc@mastodon.social avatar

Oh no no no

no no no

It is the d???? error
My nemesis

How have I got this error multiple times on two different systems

tef,
@tef@mastodon.social avatar

@mcc by any chance, does chmod +x fix it? i.e a directory with read bits but not execute bits set

tef, to random
@tef@mastodon.social avatar

it's a thinking out loud post. it's rough, unedited, but it exists https://cohost.org/tef/post/5637366-thinking-out-loud-r

i've been asking myself what it means to add relative paths to a filesystem protocol, and wether we could do something similar in http

tef, to random
@tef@mastodon.social avatar

i am a big fan of "never trust the guardian" but just to be clear: don't talk to journalists!

even if they're friendly, they have no control over what gets published in the end.

saying things like "this is off the record" doesn't mean anything, either

tef,
@tef@mastodon.social avatar

my favourite example of this is a friend who got interviewed by a uk tabloid

which then proceeded to claim he was straight, wore facepaint daily, and only spoke na'vi

the moral, beyond, never trust the uk media, is that they'll write whatever they like, if they think they'll get away with it

and they usually do, heh

tef,
@tef@mastodon.social avatar

journalists will tell you they work for a paper, but they're just freelancing

they'll tell you that you'll have final say and control, before shrugging and explaining that it's out of their hands

this is before we even get to "the uk media repeatedly hacked the voicemail of missing children, unintentionally giving the parents hope" stuff, or the cocaine stings

tef, to random
@tef@mastodon.social avatar

had the most mastodon experience over on bluesky where the creator of a popular open source library chimed in to correct a post of mine

tef,
@tef@mastodon.social avatar

they were right, heh

lzg, to random
@lzg@mastodon.social avatar

deleted_by_author

  • Loading...
  • tef,
    @tef@mastodon.social avatar

    @lzg rip lena, who died from being a little chilly

    tef, to random
    @tef@mastodon.social avatar

    i'm awake

    whitequark, to random
    @whitequark@mastodon.social avatar

    being confronted so directly with the reality of linux uapi might eventually make me switch to a real operating system kernel

    tef,
    @tef@mastodon.social avatar

    @whitequark i got to ask matz a question at a conference and asked him "what does expr_mid" mean and he was a little stumped and couldn't quite remember

    i'm still not sure, i think its for "rescue without a do block inside a method def"

    tef,
    @tef@mastodon.social avatar

    @whitequark if i had a nickle for every engineer that understands EXPR_MID in ruby, i'd have two nickles

    which isn't a lot but it's weird that it's happened twice

    tef,
    @tef@mastodon.social avatar

    @whitequark not off the top of my head but that's actually commented in parse.y as being the mechanism for taking a block argument in a method call

    mcc, to random
    @mcc@mastodon.social avatar

    Looking into how to set up a bluesky server.

    Noticed this bit here, in the documentation. That's an interesting way to spell "cannot"

    tef,
    @tef@mastodon.social avatar

    @mcc > What were they going to do if Jair Bolsonaro ever wanted to create a Bluesky account?

    they only lifted the "no heads of state" policy this month

    mononcqc, to random
    @mononcqc@hachyderm.io avatar

    The folks at InfoQ published (and transcribed!) the talk I gave at QCon New York in June 2023—Embrace Complexity; Tighten Your Feedback Loops—and is now available at: https://www.infoq.com/presentations/complexity-feedback-loops/

    I also have a text version on my blog at https://ferd.ca/embrace-complexity-tighten-your-feedback-loops.html.

    tef,
    @tef@mastodon.social avatar

    @mononcqc i will read this later but i need to say right now: that's a cracking title

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