Details
-
Abouthow do I commit?! I would like to make things that don't rot over time pls
-
Skillsrust, javascript, (formerly) java spaces < tabs regex regex regex
-
Locationcanada
Joined devRant on 11/11/2021
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
@12bitfloat think this will introduce problems rather than solve them in my context
had AI choke up a graph example
but for mine then I'd be having slotmaps left and right and it isn't like I can't make unique IDs. I actually have tons of them. sometimes quite nested ones
when I said tree structure I thought we were talking of a metaphorical tree-like sprawl over the whole codebase, of how to organize structs sprawling out into more structs and etc. not just a graph data type
like empire owns rooms which owns services
creeps need to access services and to do that they need to know which room and the service id to be able to go back down the chain to access that struct, which then means it's effectively/metaphorically a 2 key index -
@12bitfloat root of tree would be a slotmap
wait multiple slot maps...
but the context is global -
@12bitfloat but then it all looks like a macro call... you can't skim the code's structures to know what's going on lol
-
@12bitfloat ok I tried something similar but it was one giant global object
globals bad. unless slotmaps
this seems a bit like ecs -
@12bitfloat right, cuz you mentioned macros
not too sure of use cases of macros. soon rust will look like lisp I guess?
but yeah I am being fatalistic and savage. that's kind of how I move in -
@12bitfloat oh whoops I automatically adblock links in my mind and didn't even notice it
-
@12bitfloat screeps easily devolves into ownership problems
yes tree. what if nodes of the tree have to talk to each other? now what? -
@Lensflare r u trying to steal my joke
-
@12bitfloat yeah I can do that
I'm trying when you need rc refcell or other strategy and not making it a mess
maybe I'm thinking too big when rust is for tiny tools or somerhing -
@12bitfloat yeah the solution is a match but uegh matches everywhere with that redundant Ok case line
I'm nitpicking
I must reduce my standards
I'm too used to making javascript look like Haskell
I must suffer more pain until I become better -
@Lensflare brevity means readability to me because I have memory issues
it has less to do with one line variable names and more with extra brackets and newlines. ofc you can write one line variable names in anything so it can't be that that I'm talking of
rust is used for commandline often which is why it's used for command line often -
@Lensflare I don't see a correction... you've said nothing lol
but so be it. think you're special. I much rather you had something to say but it seems you're on another quest -
@Lensflare well you're the one trying to be snob of knowledge here, so, whose fault is that?!
-
was trying to pick up a good semi-complex project to wrangle with my ownership management style
it kept suggesting things I wouldn't use
but there was a git tool / some git utilities I wanted... I deleted the notes from my note app by now so I have to go by memory but whatever
thing is... one of the scripts I already have in bash. it's so damned short in bash. it would be so ridiculous in rust. not to mention the more complex scripts that were supposed to be my little self-induced masochism experiment
um yeah I think bash scripts are both easier to propagate to new systems / when I reinstall my operating system, easier to run, read, debug... and to reason about because you can fit them on one screen
wtf are we doing -
@12bitfloat log and exit early
-
@Lensflare right... so write everything out imperative
IDK why you're so crabby -
explains a lot why games are so boring now
management! -
@12bitfloat let Ok(x) = y else { can't touch the error }
-
@Lensflare what's it mean then
-
@princess if you go to HR and then they fire you then you have to sue the company and that will be such a hassle
in Canada anyway where you can actually sue a toxic workplace. but it's ok nobody bothers to even sue for clear patterns of wage theft for some reason up here so it's all just for show probably anyway
how about talking to HR and seeing their disrespect and self sabotage tanks my mental health via ingraining in me a fatalistic mindset of society and I rather be ignorant than fuming that nobody can do their damned job right and I need to be my own company if I want anything to be done right at which point why am I putting in all this extra work and not getting paid for it, not to mention my soul's on the line _trying_ to knock some sense into HR
what's worse is when HR just straight up lies to you -
it snows if temperature is near 0 btw
it won't snow if it's really cold
source: Canada
and what you need for snow is humidity
speaking of, humidity is a better heatsink than CO2. so if global warming it's caused by underwater volcanoes going off and exploding tons of superheated ocean water into the atmosphere and that does actually noticably change the temperature -
reminds me of my job which I left. built everything but kept getting snippy comments everywhere like I didn't matter. excuse me what? the reason why anything runs and over half your revenue exists is me, and you got 50 people here now which you also only got the funds to have cuz of me (not to mention underpaying me by A LOT wtf)
dunno what was wrong with my face, frankly. anyone's guess. not cool to discriminate like that
good luck
tell me if you find somewhere better cuz I got PTSD from that shit and it was my first and only job, they told me everywhere was gonna be like them. at the end for 3 months I logically concluded that the most reasonably thing is to off myself instead of bothering to live life to retirement -
dick pic
-
@Grumm have you seen rust @_@
-
@retoor rn Canada is in some weird psy ops war against USA while USA is blind to it. like wtf are we doing. we aren't even a country.
there's absolutely no reason to get retarded about USA. 80% of our trade is with USA (or was before)
not to mention we have verifiable proof of Chinese meddling and changing various elections... yet our country does nothing about it. there's so much fucking weird Chinese corruption
China's pro Palestine, somehow Canada didn't get the message to be pro Israel (like the US is) on the left (lefties being the ones who keep going to china as of going to their overlords)
we also supply a lot of drugs to USA, and illegals. how did that happen?
literally we're being setup to go to war with USA and I don't like it -
@retoor met a smart systems thinking dude and he claimed it was china but didn't back it up, but that got me watching a bit on who benefits and how china is being treated by all the pro clean energy people (for example, China owns (and spedlined bought beforehand) all lithium mines in the world but one, and you need lithium for batteries which are necessitated for any sort of "clean energy" because all forms don't produce steady output)
just watched a video from a think-tank and they were interviewing a security analyst who claimed China wrote a mandate that they want to take over the world before 2049 and I'm like oh. but there are other signs. as dumb as it is when it comes to nation states and organizations doing shady shit you literally just have to find the coordinating document of them admitting it and that's basically that. I've seen it too much. seals the deal for me. zero carbon by 2050 is Canada's motto rn (hopefully non consensually...) -
if I don't know the language well I can't verify or debug the AI's stuff so
and if I know the language well I don't need to ask it to code for me
I guess it's 50/50 on auto complete
but currently my issues are architectural which they're not smart enough to understand other than suggesting certain data structures to me if I ask it explicitly -
now if only the IDE was any good at formatting macros or giving you proper errors for them
-
@princess what do real vampires and occultists think about dragons? why would people want to become dragons or why would people have dragons in them
-
@CaptainRant what's that mean?
AAAAAAA
DID I TAKE A LEFT TURN?!