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
Feed
All
Post Types
- Rants
- Jokes/Memes
- Questions
- Collabs
- devRant
- Random
- Undefined
Cancel
All
-
The spam filter bot lost it's downvote privileges, already.
Well, it was fun while it lasted. Sigh.22 -
I think I‘ll bite the bullet and write my own version of SwiftRant (Swift REST API for devRant) with modern concurrency and a clean implementation and without semaphores and force unwraps which cause app crashes.9
-
ohno I think I'm finding things rust is easier and better at than JavaScript now that I'm back on javacript
the calamity!
granted I can get a lot more done in a shorter amount of time12 -
@retoor Idea against spam: Make your bots spam comments on spam posts with walls of text of insults or something18
-
Once upon a time we had the idea for a Europe meetup.
I suggest sometime in August next year. (Is 9 months prior enough time for you to plan?)
I also suggest Amsterdam cuz it's easy to reach for most.
Any takers?19 -
So, one day I get up, and just happened to offhandedly predict that a holy war would be fought on this very site, by mighty botlords, with weaponized updoots as the deciding factor of every battle.
The lesson would then be that, maybe, just maybe, I should've shut the fuck up instead, as most of it has come to pass.
Anyway, the last part of the prediction was hexical pulling the plug on this site as the war escalated, so fingers crossed, but if a nuke hits the server I call dibs on the ever loving supreme 'I told you so'.5 -
Got any git tips that everyone might not be aware of?
My tip is fixup and autosquash!
If I'm working in a branch with many commits and I notice that 5 commits ago I made a tiny mistake on commit 'abc123' then I'll just do `git commit --fixup abc123`.
It's similar to `--amend` but you can do it for any commit.
At first this would be a separate commit. But next time I wanna rebase I'd just do `git rebase -i --autosquash origin/master` and it'll be squashed into abc123
Some article that explains further details:
* https://gist.github.com/naviat/...
* https://blog.sebastian-daschner.com/...
After discovering I had been unaware of this for years I figure there must be other similar useful git things I might be unaware of3 -
All of you, take note of this date: 12/10/2024.
You get upvoted by green dots, be suspicious.
You see the same date on their profiles, be suspicious.
You see their profiles boosting spam messages, well, you better be fucking suspicious.
There's a bit shy of two hundred of them already, and the numbers will continue to grow. We are getting fucked in the ass, I repeat, we are getting fucked in the ass.
This rectal warfare PSA has been brought to you by [EXTREMELY CENSORED]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 -
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.2 -
autoformat is good I think
now instead of making the code "look nice" I make the logic of the code look nice and just press autoformat
and you don't have to press all the stupid space characters or decide when to newline chaining functioning or whatever else. just write it dirty and press format
as much as I love how I optimized my JavaScript syntax over the years, it was pretty distracting. it's like I was moving in and nesting or something. urgh why. bikeshedding. I mean yes, it's all nice and cozy, but you also could've done literally anything else with your time
originally I was a fan of autoformat in theory because I had some issues with co-workers fighting over syntax -- like literally one guy would write stuff so bad it was like it was put through an uglifier. he would put keywords in unexpected locations and that language in particular allowed it (interestingly rust doesn't and I frequently can't recall what order the keywords are supposed to go in lol), which if you were debugging his code now you've gotta squint for all those keywords and you're going to be slower because you can't just skim the whole thing. and over there in reddit land people are complaining when people use i and j variables instead lol. he used g and k and they weren't even for loops and that wasn't even the issue 🤣, he wrote like 12 statements per line and condensed 500 statements into 30 and you can't parse a thing and no this wasn't javascript1 -
So I was trying to do a back end to a website, then boom, my hand hit the cup of coffee on the table right next to my laptop. The whole cup content poured right into my laptop. Uhhh damn I Wanna screen so bad3
-
@Lensflare when I open a rant and want to scroll, if I happen to be touching rant/comment text, it won’t scroll. I have to scroll touching an avatar9