Details
-
AboutStill learning
-
SkillsC++, JAVA, HTML, PHP
Joined devRant on 9/29/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
-
Wanna mess with users? Take
“OK” and “Cancel”.
You know what looks visually the same but means the opposite?
“NO” and “Confirm”.
Deploy that little ui update overnight and watch the world burn.20 -
It’s throw back Thursday!
Back to 1979... before the time of the red dragon book compiler book, (forgetting about the green dragon book) ... there was a time where only a few well written compiler and assembler “theory” books existed.
What’s special about this one? Well Calingaert was the co patentor of the OS/360. .. “okay soo? ... well Fred Brook’s Mythical Man-Month book I posted the other day. Calingaert is basically the counterpart of brooks on the OS/360.
Anyway, the code is in assembly (obviously) and the compiler code is basic.
Other than this book and from my understanding 2-3 other books that’s all that was available on compilers and assemblers as far as books written goes at the token.
ALLL the rest of knowledge for compilers existed in the ACM and other computing journals of the time.
Is this book relevant today, eh not really, other than giving prospective, it’s a short in comparison to the red dragon books.
If you did read it, it’s more of a book that gives you more lecture and background and concepts.. rather than here’s a swath of code.. copy it and run.. done.. nope didn’t happen in this book.. apply what you lean here10 -
Hey can you take this up, it should only be a small and easy change.
TURNS OUT TO BE A FUCKING REWRITE OF THE DARN THING!5 -
Why. Why in the name of fucking god is this a thing!?.
Why a fucking huge ass parcel for like, 2 cm³ of content.
Fucking hell just why.
Explain.16 -
Algorithms real life implementation
On the way to your college canteen? -> A* search
Waiting in line in the canteen? -> Queue
Notice that girl standing in front? -> Linear search
Searching for her dad in the phone book? -> Binary search
Stupid! Google it! -> Trie
Search for her on Facebook! -> Depth-first search
Found her! Friend request? Accepted! Send a Hi! -> Graph
Writing her a secret love letter? -> Caesar cipher
Uploading your first date pic on fb? -> Image compression algorithms
Looking through her Whatsapp messages? -> KMP algorithm
She found out and had your first fight? -> Start over with some gifts! Backtracking
Got her list of items to buy? -> Array
Too many items! Low on cash, maybe? -> Priority queue
Making her play treasure hunt for her gifts? -> Linked list
Wait! Go back! Is that a ring? -> Stack
Girl’s family not agreeing to your proposal? -> Divide and conquer
Got married? Congrats! Going for your honeymoon? -> Travelling salesman problem
Your mom packing luggage for you? -> 0/1 Knapsack problem
She packed your favorite pickles? -> Hash table
Driving to the airport? -> Breadth-first search1 -
Overheard from the room next to mine:
Person 1: My computer is frozen ..
Person 2 (Not a native English speaker): Did you try to shut down and shut up ?14 -
My teacher said: "You can choose the language of your code, but when you will need to make a great program you will use Java"17
-
FUUUUUUUUUUUUUUUUUUUCK!
8 FUCKING GB GONE FOR ANDROID STUDIO! THAT IS HALF THE RAM I HAVE FOR THIS LAPTOP!!! WHAT THE FUCK IS WRONG IT KEEPS GETTING WORSE T_T48 -
day 1 - colleague buys a mini need pistol
day 2 - other colleague buys a big nerf pistol
day 4 - other colleague buys a f#&$ nerf shotgun
day 7 - I buy a automatic nerf gun
day 8 - huge nerf war with other co-workers
day 9 - nerf weapons banned on the office
yesterday - wait colleague leave the office and shoot him on the face every time
today - everyone walking crouched leaving the office
Please, if you are the someone else's boss, don't ban nerf guns, it's worse..26 -
Big event. Massive traffic in production, so we were monitoring all night.
I was in a room with 2 devs of my team, a marketting girl, my boss and a designer... chilling.
Suddenly the production is down.
Boss: production is down, anyone can check?
Me: already on it
Dev1: it looks ok for me
Dev2: me too
Me: wait what? Impossible everything is down
Dev1: oh I refreshed the page it's not working
Me: don't stay on the page refreshing it like you are fucking monkeys. Give me useful intel or be quiet.
Market girl: is it working?
...
Guys is it working?
...
Hello?
Me: Not yet we are looking. Don't distract me.
Boss: client called us. They want it online now.
Dev1&2: he's looking
... 1 min later...
Boss: is it working?
Boss: is it working?
Boss: is it working?
Me: SHUT THE FUCK FOR FUCKING ONE SECOND. ALL OF YOU, OUT NOW. YOU ARE FUCKING MONKEYS WHO CAN'T DO SHIT. IF YOU CAN'T HELP JUST SHUT YOUR DAMN SHITHOLE. DEVS, LOOK WITH ME. MARKET GIRL PREPARE A FUCKING POST-MORTEM MAIL. BOSS GET THE CLIENT ON THE PHONE AND STALE. DO. YOUR. FUCKING. JOBS.
That's how I ended up screaming at everyone... the rest of the night went in complete silence and I fixed the issue 2min after the got quiet or busy.24