Details
-
AboutSoftware Developer
-
Skillsjs, ruby, scala
-
Github
Joined devRant on 8/15/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
-
Here's a tip to caffeinated-beverages lovers.
People often make this mistake with coffee.. They take a cup of coffee after lunch and expect it will make them productive and concentrated immediately. That's BS. Wait for the pee.
Digestion takes ~27% of your body energy molecules [ATP], so you will anyway be sleepy.
When you ingest a cup of coffee you ingest a warm beverage. The warmth will most likely make you sleepy and the sleepiness might last 5 to 15 minutes.
Caffeine in the coffee acts as diuretic - it makes your kidney filter blood more aggresively. As a result 20-40minutes after ingestion you will want to pee.
When you want to pee it's an obvious sign the caffeine is working. Now you should be productive.
Brain [cerebrum] uses glucose molecules for energy rather than ATP, like the rest of the body does. So for the best effect:
- have lunch
- have coffee with sugar during or right after the lunch [do not drink coffee if your stomach is empty!! Ulcers, gastritis, refluxes - that's your future if you do]
- wait ~30 minutes or until you pee
- go to do your work.
This way you will not be working sleepy and your brain will have enough pure glucose to operate on [sugar is just 2x glucose molecules bound together]19 -
Me 6 months ago: "This is fucking genius. Beauutiful. Look at that code. See how I did this? Wow, I love it. Fuck I'm good"
Me Now: " What. the. ffuck? Wtf is this? What was I thinking? Goddamn. "
*reduces 3 methods and 37 lines to 2 methods and 8 lines*
Well at least it shows I'm still learning.3 -
This fucker right here. Two pages under the same site return different session data:
Session cookie is the same.
The session file itself doesn't change.
Same machine is being used.
I don't change the session variables at any moment.
HOW?!8 -
Yesterday's JR web dev interview:
👨🏻💻: Experience?
👶: Well JS, pyhton, UX Design and bit of Sass.
👨🏻💻: Feel like you'll have a hard time learning PHP?
👶: Well if it needs to be PHP, I can learn it.. Are you using a certain CMS?
👨🏻💻: Cool, good. Yeah we're using WordPress and need to support our sites for IE8.
👶:... Well.. ehm.. *runs away and screams in panic 💨*20 -
Now I want to create some kind of game, a bit like "hacknet" (check it out on steam, really cool), but the one who answers you is your own OS5
-
Just watched sam and niko youtube channel’s latest video about a bug/feature in windows when you do this:
1. Create a new folder
2. Put a file or two or more inside it
3. Select all those files
4. Right click and send to compressed (zip)
5. Press ctrl+z
6. That folder and its contents disappears to another dimension
🤯
Here is the video link btw https://youtu.be/YY5zfbDlSMs1