Details
-
SkillsC, PHP, JS, SQL, and all the other bits of web development
-
LocationLos Angeles
-
Website
-
Github
Joined devRant on 5/9/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
-
@sunfishcc love it 😍
-
@finiteAutomaton that’s a great one-liner!
-
@growling 🙌 hallelujah! Someone saw the single reason why I liked that ugly creation of mine!
-
@mundo03 wait till I post some PHP
-
Wow! This community is so polite!
No one called that one-liner a piece of crap 😂 -
@k0pernikus yup! I spent 5 minutes looking for bower.lock, then googling “bower lock file” that ended in utter disappointment.
-
@Voxera wow! This comment! Thanks, you sent me on a googling journey... learned a lot!
-
I bet it’s a math major who wrote this!
-
@Codex404 you’d be surprised how many iPhone users have no clue about how much storage 1Gb actually is.
I’m not saying that these people are stupid, it’s just we deal with this stuff so much, that it seems weird when people don’t get our terms.
And for most of these people that see a bar 95% full, the assumption immediately is that “I’m out of space”.
I don’t expect an average iPhone user would hover on the bar, then divide 15Gb/55Gb-ish (because of OS) and see that the phone is 30-ish% free. -
@Codex404 or people can make informed decisions when they’re given facts... not alternative facts!
-
@amahlaka automatic backups run daily at 12 am, which means that my data (at the time) had not been backed up for 13 hours.
Also, automatic backups are stored on AWS, but what if they found a way into my AWS account, so I wanted a copy locally.
And before anyone says this, I have 2-step verification enabled on AWS, but what if even that was compromised. -
@iam13islucky 🙌 thank you! Got a bit annoyed by everyone correcting me.
-
@sslPoodle not to come off as an idiot, I wouldn’t allow root ssh even if AWS didn’t disable it by default.
-
@karmak I limit IP’s that can access my port 22 just to my workplace. You should do it, it’s scary how many people try root login.
-
@DucksCanCode that’s just duplicate ACKs for the same segment 😂
-
Take this tutorial called “flex frogs”. You’ll thank me later!
-
@Jameslikestea easy to test...
obj1 = {foo:{bar:0}}
obj2 = Object.assign({}, obj2)
obj1.foo.bar = 1
console.log(obj2.foo.bar)
This should log out: 1 not: 0 -
@Azer0s oh you, little DeMorgan 😉
-
@Jameslikestea @juunas
Object.assign() is not a deep clone.
Actually there is no good JS solution to deep clone. Even the one I posted loses any methods that you would’ve added to obj1 prototype chain 🧐 -
@Wavum nope, { ...obj1 } is still not a deep copy :(
-
@bahua dear lord 😳
-
@tisButABug I have T-Mobile insurance, and they (usually) replace the phone if the screen gets damaged through burn in.
-
@1nfinite android with Samsung’s skin for Galaxy S8
-
@MrJimmy @sinisas @QueenMorgana you guys 🤗... coming from 9GAG it’s so nice to read comments by people that care.
-
@Jonnyforgotten our RDS CPU usage.
-
Big O(1) is for quitters... Big O(n) is the way to go!
-
If you think it's OK to put { on a new line, try this JS code:
return {
foo: "bar"
};
And this code:
return
{
foo: "bar"
};
Once you catch that bad habit, you'll lose hours trying to figure out why a function is returning undefined.
Again, I'm not saying anything about the function, I'm saying that writing it that way (with } on a new line) creates a habit. -
How do you write a whole book about Spotify or Pinterest ???
-
I just realized that all these are recursive acronyms
- GNU
- PHP
- WINE
- XNA
😮😲 -
@codepoet You sir, are a PHP dev, aren't you 😘