Details
-
Abouthustle, code, hustle code
-
Skillsjavascript, ada, c#, humans
Joined devRant on 4/22/2016
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
-
z-index you set minus z-index that was necessary is the number of whips you should receive. Whips with barbed wire that is.9
-
tldr: I no longer like my job.
Several years ago I got hired at this company. It was great. Lots of things to learn. Able to make a big impact. The manager is great. Lots of flexibility. Raises were decent for the most part.
6+ years later. I have nothing to learn. I feel my career is stagnating. I'm quite good at my job but things are boring and there's no challenge. In the end my company has proved to me I do not make enough to justify my skills. I keep being told things are going to change and there will be new opportunities to change roles and learn/grow, but Ive heard that for years and trusted my leadership. They didn't lie to me but there are so many things out of their control that things just never happen.
My manager has become a good friend and I hate to think about leaving but finally just have to accept that all I'm doing is hurting myself and my career.14 -
Okay so I had an acute derealization episode yesterday, hence yesterday’s post. Ignore what I said.
It was caused by the lack of sleep, the first such case since 2018.
Symptoms included super wide FOV — my arms were three miles long, I saw what seemed like almost my whole surroundings all at once. I couldn’t confirm the reality of that superhuman vision with an experiment because it was hard to grasp reality during derealization. I’m almost certain that it was just my brain extending my vision from memory, but I had no idea it could even do that given how detailed it was.
Also, vertigo was crazy.
I don’t own a funded Interactive Brokers account.
I don’t do drugs, alcohol, nicotine or caffeine. I never ever did drugs or alcohol. I’m about one year nicotine free and about three months caffeine free.
I’m bipolar and autistic. My prescription medications include neuroleptics that slow me down, not speed me up — the standard medication scheme prescribed to millions of patients all over the world.1 -
missing rust's infinite loops in other languages now
also now I don't like variable++ and it throws me off
also missing iterators. because you can consume part of them and don't have to keep track that some of a list has already been "used up" so to speak. now I have index counters and laaame (granted not having to wrestle with borrowing rules... actually just strangely feels weird)
also why must languages have different naming conventions. this is a disaster now because my reflexes for what I name variables is all over the place. now I find snake_case more readable than camelCase because the letters are the same height so you can skim for names easier, and by how many words which correlates to how specific a variable is to the logical loops at hand
I guess end of the day we just develop a handwriting style in code our brains like and the idea of having to change your accent every time you switch a locale sounds annoying6 -
Unpopular opinion: given your server has enough entropy, UUID v4 is a good session token.
It allocates 122 bits for the randomly generated part. OWASP recommends session tokens to contain at least 64 bits of entropy while being at least 16 hexadecimal characters long.18 -
End of the year. Management announced that the project that our team has been working in for more than 4 years, will be killed.
Shit.13 -
Autocatalysis happens when the product of a chemical reaction accelerates said reaction.
The greatest catalyst is… consciousness.
A human body is but a very complex chemical reaction that goes on for roughly a century. Among other things, it produces consciousness that makes us look for food that keeps the reaction going. Consciousness is just a catalyst that turned out to be more efficient than other catalysts. -
Had a heart attack when I found out what I was holding and all wasps (or bees?) came out crawling slow and sleepii. Thank God I was wearing gloves. It's ventilation hole of my bathroom. So, that's where the fuckers stay in the winter. There must be a big fat queen in there. Covered the whole nest with shaving foam and hope they'll die. Scary fuckers.random bathroom bees holding a hive fuck !it scary foam covered heart attack wasps gloves winter sleepii15
-
To the person that put the washing machine on at 4am, who hurt you? Coz I'm gonna be added to that list.13
-
The objective c stdlib is pretty cool, it's what backs the swift stdlib on mac. The collection classes dynamically switch backend depending on size and expected performance characteristics. EG a set of 3 items is faster to linearly search a vector, so it'll switch that out.
https://objc.io/issues/...
I'm not a mac fan but that's some truly artful engineering.
(reposting comment as rant coz I think it's cool)3 -
Shampoo for women:
- heavenly papaya
- nourishing silk
- calming melt-in banana
Shampoo for men:
- badass molten lead storm
- dragon fire tsunami
- velociraptor fuckfest9 -
ping REST API that is written in rust
it has specs. it will return json with result or error in it.
it's just returning result: null and no error
this is written in rust. how are you writing me responses with null objects in them? rust doesn't have null! how broken is this thing.
SAFE15 -
I use Intellij for just about everything and recently it has started giving me nonsense suggestions for autocomplete and whatever the "alt+enter" menu is called.
As it turns out, they installed more plugins that foisted AI assistance onto me *again* even though I have disabled it every time previously.
I am so ready for this gimmick to die.8 -
for a language obsessed about errors, rust sure sucks at its stacktraces so I can know what gave the error
like finding a needle in a haystack. well fuck if I know what throws this thing. all things I know that can make this error type should be self-contained -- so where you getting this error from?!3 -
Manager: You want a promotion? To senior? Ha. Well, build this web app from scratch, quickly, while still doing all your other duties, and maybe someone will notice and maybe they’ll think about giving you a promotion! It’ll give you great visibility within the company.
Your first project is adding SSO using this third party. It should take you a week.
Third party implementation details: extremely verbose, and assumes that you know how it works already and have most of it set up. 👌🏻
Alternative: missing half the details, and vastly different implementation from the above
Alternative: missing 80%; a patch for an unknown version of some other implementation, also vastly different.
FFS.
Okay, I roll my own auth, but need creds and a remote account added with the redirects and such, and ask security. “I’m building a new rails app and need to set up an SSO integration to allow employees to log in. I need <details> from <service>.” etc. easy request; what could go wrong?
Security: what’s a SSO integration do you need to log in maybe you don’t remember your email I can help you with that but what’s an integration what’s a client do you mean a merchant why do merchants need this
Security: oh are you talking about an integration I got confused because you said not SSO earlier let me do that for you I’ve never done it before hang on is this a web app
Security: okay I made the SSO app here you go let me share it hang on <sends …SSL certificate authority?>
Boss: so what’s taking so long? You should be about done now that you’ve had a day and a half to work on this.
Abajdgakshdg.
Fucking room temperature IQ “enterprise security admin.”
Fucking overworked.
Fucking overstressed.
I threw my work laptop across the room and stepped on it on my way out the door.
Fuck this shit.rant root mentally adds punctuation root talks to security root has a new project why is nowhere hiring enterprise sso12 -
Computer! I live in a state of constant mental exhaustion. What does this mean?
*BEEP-BOOP*. IT MEANS YOU'RE STRESSED, BITCH.
Interesting. How do I get rid of this... "stress" you speak of?
*BEEP-BOOP*. GO OUT, BITCH. SEE NATURE, BITCH. CONNECT WITH HUMAN BEINGS, BITCH.
Oh, fuck no, that's just not going to happen. Any other tips?
*BEEP-BOOP*. STOP USING DRUGS, BITCH. YOU DRINK TOO MUCH COFFEE, BITCH.
Well, fuck me, I can't do that either; guess I'll just take this with me to the grave. Thanks anyway, computer.
*BEEP-BOOP*. YOU'RE WELCOME, BITCH. YOU'RE GOING TO DIE, BITCH.
Yes, I hope as much. The sooner the better.5 -
in JavaScript I would just call something what it is and then keep changing the data type as I get more data to add to it because you can
in rust because it's not dynamic types but static and everything is a static struct I need to find like 9 different names for all the different intermediary data types and holy shit I don't understand what to name everything and this is annoying me
I never understood why people complained about naming problems. I found it fun. now I hate it.
stats object. cool. well it converts an address to stats. an address has swaps. each swap was done on a mint. so I guess I make a MintStats object? wrong. because that's confusing.
swaps -> swaps divided by the mint they belong in -> stats for each mint swap set -> then you can add all the mint swap set stats to the address stats object
now what the fuck do you call all these
there's also something I called a MintAttitude and it's an enum. these types just keep growing out of trees. fuk. I don't like long names either. I should probably just call it Attitude but call it via mint::Attitude and get the same clarity result with far less redundancy (which I hate, another annoying thing)
swaps -> ??? mint history? -> MintStats -> then I have a "MintData" that has the history and stats wrapped in it -> MintsData that has many mints and their MintData -> then I can convert MintsData into AddressStats but what and I hate this and also I have a Mint object that does something totally different elsewhere. I hate this. data isn't even descriptive but to call something history when it also has stats seems imprecise.
brain spaghetti. classification part of my brain is shit. no historical training / experience either. I just see everything like vague blobs. bah. naming required clear delineations which is hard enough on its own to get used to5 -
if someone were to have your back in a life-threatening situation, would you feel awkward about it or like you don't deserve it?12
-
I FINALLY comprehend list comprehensions.
I can write an unlimited amount of nested loops on a single line and make other less experienced people hate me for fun and profit.
Also learned about map() #I hate it#, zip(which is awesome), and the utility of lambdas (they're okay).
Enumerate is pretty nifty too, only thing I lose is setting the initial value of the iterator index.15 -
do people not understand achievements unless you brag about them =-=
been asking AI on different examples of flexing and all of them sound like vapid LinkedIn posts
"just asked AI a question that's been bugging me for hours! it's such a nothing to have no answers still! 🎉"
one of my favourite examples: "accidentally set my kitchen on fire while trying to impress my friends with my cooking skills. but hey, I now know how to order takeout like a pro. win?"
lol what
I now wonder if I'm depressed cuz graduating school or finishing projects or... uhh ordering food? just sounds stupid to me
rewrote my code from hashset to hashmap. actually kind of re-organized some data types. brain is fog because fuck you. but everything ran so I guess rust thinks it's ok. I'm just annoyed by all that though cuz I just wish I didn't have to do it in the first place
TF is there to brag about
also if you brag about anything good everyone just wants to steal it from you
WHAT IS THE PURPOSE OF BRAGGING16 -
We're a data science company. We do medical research. We have patented results.
My manager describes half of our code base as on par with a random number generator. At least 1 part of our pipeline overfits random data with 99.9% accuracy.
My manager is a wise man.3 -
Space Age, the expansion for THE game for programmers, Factorio, will be out tomorrow.
Who else will be playing the shit out of it?9