Details
-
AboutI'm a fast typer and a slow eater. I enjoy long walks off short piers. I am the Florida Man.
-
SkillsJavaScript, HTML, CSS, Python, Lua, C#, c, c++, Java, XML/ XAML, VB.net, MySQL, php, Android, Node, Linux, Windows, Scratch.
-
LocationAmerica (38.8976074, -77.0365946)
-
Website
-
Github
Joined devRant on 1/8/2017
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
-
I hate free cloud services needing a login. Just let me fucking access the damn app. What difference does it make, it's literally free anyways?? I just want to make a god damn spreadsheet and now I need to login to like 3 different microsoft accounts
WHYYYYYYY7 -
By the time you get to need to learn Kubernetes, people are usually too far deep in their engineering careers and already have this 'not even more shit' fatigue.4
-
Another weird property of the devRant API:
For every POST request the url parameters need to be passed in the http body instead of in the URL, like this:
app=3&user_id=42
Wtf why?22 -
JavaScript has an exciting API for monitoring changes made to HTML elements. The API is called the MutationObserver API, and it was invented at the prestigious W3C—the global organization comprised of our genius software engineer overlords.
Unfortunately, the W3C has a history of occasionally forgetting to proofread new specifications before publishing them, after their large army of monkeys with typewriters have produced working draft specifications, but I'm sure those mistakes are all in the past. The MutationObserver API is receiving praise online. I'm sure it's well designed!
Let's dive in to how it all works.
The API works by calling (1) a specific function of yours any time (2) a specific kind of change is made to (3) a specific HTML element—all three configurable by you.
When a change occurs, your function is passed a collection of information about the change, known as a "record".
If you ask, that record can even include information about the state of the HTML element before the change occurred, available under the `oldValue` property. How convenient!
Oh, and one more thing. If several changes happen in a short window of time, your function may receive a whole list of records—instead of being run once for each change. You know, to save on computer resources.
Anyway, let's start using this powerful API! But wait, what's that?
The record doesn't contain the state of the HTML element when the change occurred?
No problem! That information doesn't have to be included in the record. I can just look at the element as it appears right now.
But what's this, now? I'm receiving a long list of records. I guess lots of changes happened in a short window of time, so all the records are bundled together.
So how do I know what the state was for each record?
If I look at the element as it appears right now, I can only see the end result. That won't tell me what the state was after each individual change.
I guess there's only one way to find out. For each record, I need to look at the next record and check that record's `oldValue` property.
I need to write look-ahead logic just to see the state at each record!
What kind of monkey wro—oh, right. The W3C wrote the MutationObserver API.
Just forget that I asked.3 -
How is visual studio code's vim emulation this bad? vi/vim is 50 next year, with its behavior codified in the POSIX standard. What takes me 1 line in a vimrc requires a mountain of JSON and learning separate programming language to do this plugin. Who ever maintains this pile of crap should be embarrassed. I just wanted to pay microsoft to use copilot on my own projects.15
-
Never put an optimist in charge of the money.
Ideally they shouldn't be in charge of anything, but especially not the money.3 -
Goes on teams, since it got shoved down my throat because everyone has to use this malware. Might at least clock around to see what free shit it has to offer.
Oh cool, visio? Thats the architecture diagramming tool isnt it? Thats perfect I could use it for my presentation, let me just drag this UML class...
YoU HaVe DiScOvErEd A PrEmIuM FeAtUrE! BuY ViSiO NoW!!
Sometimes, I wish the times of companies simply barring you from access completely to come back. Freemium is the worst bullshit piece of shit business model ever.5 -
This is lead acetate. It looks like sugar and tastes like sugar, yet it’s as toxic as lead.
Have a good day!17 -
today i was asked to encrypt a public key, because "it's sensitive info".
a PUBLIC key.
smh
it's not even hard (literally 1 line of code), but come on...6 -
You use English because it’s the only language you know
I use English because it’s the only language YOU know
We are not the same53 -
I still have like, 4 working days left but my manager is on holiday from today so as far as I'm concerned, so am I.3
-
Currently implementing a Swift devRant SDK and encountered something very stupid:
The json value for attached image is an object (dictionary) when there is an image but it‘s an empty string "" when there is no image.
So two different types for the same property.
I hate this kind of crap.
Why not make it null or omit that property when there is no image?
Now I need to add ugly as fuck custom decoding code for this object.25 -
Let's start a discussion about decentralized. EveRyOne caN hOsT hiS oWn ServEr. Do you mean the freaking internet in general? By definition, the internet is decentralized. "Decentralization has a protocol we all use to stay in sync". That existed already, it's called IP, TCP and UDP.. The decentralization protocols are on top of those making it only more limiting. Good, many nodes in sync. Yeah, replicating SQL servers exist for a long time.
People who 'invented' decentralized did just not realize how the internet works. Adding a network on top of a network ending up in a smaller network making it more centralized. "Decentralized" stuff has nothing to add. Just some word for replication protocol or smth.
I'm too sober to fall for this shit.14 -
How bad are you at English? A LLM (dolphin-phi) just've said this to me when I asked for a joke:
"I apologize, but the given text seems to lack context and proper grammar structure for generating humorous content."
I must have broken some record.1 -
Okay here's my weekend project
I'll create a Windows 11 virtual machine that will boot, then a macro will run that installs Chrome while closing every intervening Edge popup on its way. After the last popup is closed, the VM is reset to the pre-macro state.
I'll let Windows experience the eternity of me denying its unethical attempts to keep me from using Chrome. And I bet you I'll let it phone home every time.9 -
People of Iraq, Syria, Palestine, Libya and Afghanistan should have American voting rights because of how much of US government's decisions affect their lives.10
-
So the age of enshittification continues.
Apple is working on IPhone Air, which is rumored to be 5-6mm thick. I am sure Samsung will follow suit.
Why the fuck can't I have a simple bloody phone which just works for calls, texts and I can hold it without it feeling like cutlery.
I do not want to play games on a 6" device and give myself carpal tunnel.
I have switched to S22 Flip phone (dumbphone), it works flawlessly, lasts for days on a single charge.14 -
I know self-promotion is not allowed here but I made a fun video I'm sure most of you would enjoy
Watch it here -> https://youtube.com/watch/...7