Details
-
About🏳️⚧️ CEO of Garalina. Bipolar type I. Autistic. Unit tests are the root of all evil. There are other receivers.
-
SkillsCSS is all you need really. There are other receivers…
-
Location2013 there are other receivers
-
Website
-
Github
Joined devRant on 2/19/2018
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
-
const ifs = i => {
if (i === 1) return '2'
// (a lot more ifs)
}
const switches = i => {
switch (i) {
case 1: return '2'
// (a lot more cases)
}
}
console.time('time')
for (let i = 0; i < 1_000_000_000; i++) ifs(i)
console.timeEnd('time')
// time: 637ms
console.time('time')
for (let i = 0; i < 1_000_000_000; i++) switches(i)
console.timeEnd('time')
// time: 949.524ms18 -
TIL that in iOS, when you select text with double tap, it usually selects one word, but if that word is a part of a full name, it will select the full name. For example, tapping on “react” in “react sucks” will only select “react”, but tapping on “Howard” in “Howard Lovecraft” will select the entire thing.
Now that’s attention to detail. Android will never get this kind of care, pixel or not.10 -
In the whole world right now, only 12 people really understand CSS. One is me, eight more are my other personalities.5
-
online surveillance? bitch, given how often you post on instagram, if I wanna know where you've been and what you were up to, I'll just check your stories.2
-
Guitars and genres they're shine at:
• Les Paul: Alternative, Progressive, Indie, Hard rock, Psychedelic rock, Classic rock, Punk, Folk, Glam, Grunge, Blues, Southern rock, Garage rock, Post-rock, New wave, Shoegaze, Heavy metal, Stoner, Emo…
• Strat0caster: Alternative, Progressive, Indie, Hard rock, Psychedelic rock, Classic rock, Punk, Folk, Glam, Grunge, Blues, Southern rock, Garage rock, Post-rock, New wave, Shoegaze, Heavy metal, Stoner, Emo…
• PRS: lawyer blues5 -
I remember when fashion looked like this. But now… what happened? Since when exactly did people turn into living billboards for overpriced brands?5
-
Eternal rest doesn’t help. I had the privilege to experience it once, but it’s only recently that I had a chance to reflect on it. Yes, when I have everything figured out and slip into neet lifestyle, I don’t find happiness.
Sooooo, I decided to establish a solid routine. It was Past Life by Tame Impala that inspired me: “I have a pretty solid routine these days, it just works for me”. I wanna be that person.
Here’s mine so far:
- Mon: ironing clothes
- Tue: revising laptop/phone contents, eliminating infoclutter
- Wed: tidying up online presence
- Thu: writing my book, at least one section at a time
- Fri: coding for personal projects that do/can make me money (I have three now)
- Sat: cleaning up the house, changing bedsheets
- Sun: rest1 -
My wife and I have a dispute that goes on for two years already — who's the hottest member of Red Hot Chili Peppers, current or previous. I say John Frusciante, she says Flea.6
-
If I was to name one reason I use Safari on my Mac, it would be internet captchas disappearing completely from all sites. And this is with privacy-protecting measures enabled. I tested them, and it fucks fingerprinters even better than resistFingerprinting flag does in Firefox, and that's HUGE.
It seems like Safari is so rarely used by bad actors that if you use Safari, you get a pass.3 -
Wanna make a good outdoor shot but only have a bad camera on hand? No problem!
1. Place the sun into your frame
2. Click it to adjust exposure
3. Shoot
Yes, this limits what you can shoot, as it’s not always possible to keep the sun in the frame. But, in exchange, the sheer amount of light will make your pic _very_ sharp, as if it was engraved, colors will be restrained and balanced on pretty much every camera, noise level will be zero, and a REAL lens flare will serve as a nice finishing touch.2