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
Search - "remeber it?"
-
I fucking hate CNET already. I mean who likes a website which autoplays a video everytime you visit them, with 200% volume.
But this time, I am just so fucking annoyed. Here is the title of an article:
"iPhone 8, X's wireless charging is a game changer for Android"
And the subtitle:
"When it comes to Apple, plenty of Android phone makers are monkey see, monkey do."
FUck you motherfucker. "Monkey see, monkey do". Are you fucking kidding me you cunt?
Remeber your 3D touch bullshit? Your fucking wireless charging will be bullshit too.
"the rest of the phone users make do with messy cables."
Maybe you're a fucking imbecile who doesn't know how to manage simple cables and ends up with broken wires.
You know who looks like a monkey? Some apple users who uses that shitty looking wireless earphone, which looks like monkey's dick you asshole.
Fuck off!18 -
Friend of mine passed away several years ago. All other friends known me as Cooke monster so finally got my tattoo. He drew it for me before he died so it's quite personal! But nice to have something to remeber him for!18
-
I remeber being classified as the nerd at school. Picked on because i wasnt socially normal or part of the croud. Programming became my love and a few years later. Im doing very well and now those that use to think it was fun picking on me see me as the guy they need inspiration ideas and help from because im doing well for myself and im considering helping them.
It sucks being a good guy.. I cant get myself to turn others away that needs help2 -
I used to work with another dev who had memory problems. This guy *literaly* could not remeber what he did yesterday...
So, he was trying to change one of the password screens we had in the app. This was a really simple screen. Logo, password prompt, and two buttons. He worked on this small change for two days, but everything he did did not affect the screen at run time.
So finally, he gave up and called me to help him... I come over, and look at his code. It looks ok. I make a small change, and see what happens. Nothing. I think for a moment, and delete the entire screen UI elements. Run the app. Nothing happens - screen still the same.
Then I got it - he kept changing the wrong screen... for two days....
took me a whole 5 minutes to figure out.2 -
!rant
So I decided to collab with a website's maker (who i wont name here) to create something like r/place. (not an exact copy.)
I decided to start by learning their API, and customizing the server later.
I asked the guy for some help, and HOLY SHIT.
Let's start off by this: I had to request a chunk. The response data was in binary. 4 bits meant 1 pixel, so right away, I had to deal with that in my code.
No problem, just decided to use C# instead of JS. (see https://www.devrant.io/rants/547013)
I was finally done after a couple of mental breakdowns, and decided to implement updates.
I needed to use webhooks, and that was completely fine. But when I got "C1FFFF0000CA06" as response (in hex), I seeked some help.
C1 is the operation type: it means that a pixel was updated.
FFFF and 0000 were the chunk coordinates. But remeber: it's a signed integer. Guess what, I had to use Two's compliment. I decided to be a lazy asshole and only check for "00000000" because I was only displaying chunk 0,0.
CA06: This is a weird one. It's 2 bytes, and CA0 contains the X and Y coordinate of the pixel (in the chunk), and 6 contains the new color of the pixel.
I was sent the following code to work with 0xCA06:
color = 0xF & buffer
x = buffer >> 10
y = (buffer >> 4) & 0x3F
So I tried to do it, and it didn't work. I'm not blaming the developer of the server (original dev is reddit) because maybe I screwed up, but which guy will have a night of frustration and debugging?
Me.
P.S.: Dev, if you see this, I'm sorry. This API is way too complicated. I know we need to save bandwith and stuff, but damn.1