Details
-
AboutSpecialized in javascript and php basically.
-
Skillsjs, php, mysql
-
LocationBarcelona, Spain
-
Github
Joined devRant on 8/10/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
-
😢😢😢😢😢 poor pc
-
it's true that the generalization is too broad. You are right.
We need more people that put passion and care to it's work. And bosses that value that passion over hiper fast delivery. -
Until we not see software or develop a good process of software creation that does not fail and does not have bugs, we will still be developers, not engineers.
Not so far ago half internet was down and it wasn't a little startup fault. It was Amazon. Google makes bugs too and Facebook.
It seems to be so normalized in our society that there is a high probability for software to have bugs. Its so sad.
And I don't know the solution, maybe just put some AI in those places where we fail most...
Someday we are going to deliver good quality software that does not fail. And that day we will be called engineers. -
Yeah! Let it out man! That's a real rant!
-
30 min ago we were making that sounds with a co-worker. You won't believe the amount of YouTube videos with the connection sound.
-
Meme is old I think... https://blogs.windows.com/msedgedev...
-
Hurry hurry! What are you waiting for??? That setInterval isn't going to run forever!!
-
What is ctrl+z? I only know "u" (undo) 😂
-
- "quickly! The code runs too fast, we must slow It down!!"
- "Lets put random db queries everywhere encapsulated in functions!"
- "yess perfectttttt durdur hur dur" -
Bueno, muy bueno
-
Smile, your house has a new window now
-
"Chrzanek is not in the sudoers file. This incident will be reported to CocaCola company."
-
@dfox I know that feel bro *devhug*
-
for what exactly?
I know cases where html5 is not yet ready to battle flash.
For example streaming real time video and viewing real time video.
With flash you can publish a stream with 100kbps bitrate on 320x240 with h264. Is really a good solution for slow internet connections.
In chrome with Webrtc you start at 300kbps with VP8 320x240.
And there are almost no differences on image quality.
If you want to view real time video, with htlm5 you got only HLS or DASH with minimal 6 seconds delay (buffering the chunks). And the problem with HLS or DASH is that you receive keyframes every frame. So its really innefficient.
If you want to see with WebRTC It doesnt scale with a lots of viewers because the streamer has to make a p2p connection with each client.
In flash: minimum 2 seconds with RTMP and you can scale with repeaters with no problems at all.
It really depends.
On the other hand: Video on demand flash is dead. HLS or DASH with haproxy to cache the chunks is very optimal. -
"Oh damn it, it complete succesfully again!"
-
@dotomaz exactly what I said.
And I use ===, and the new php7 strict typed features.
That reduces my tests density by half.
When you see that benefits, you start to question "Why the heck PHP has not removed == operator already? So much rants are generated by this operator"
The good practices and decisions that I take doesnt remove from the map all the people that keep failing on the same pitfalls. So Im not changing my vision about this. -
Well, in the bright side at least you left yourself a warning to fix it. Other people wouldn't even care.
-
@ctrlz yes, if you cast any string to a numerical value and that string does not contain any numbers it will be casted to 0.
So with the == operator, php internally will cast 'x' to integer and because it has no numbers it will be converted to 0.
Then:
0 == 0 //true -
Lets be realistic. PHP is a badly designed language.
- Native function return inconsistency
strrpos can return any number and false. Then
!strrpos("hello", "hello world") //true
!strrpos("hello", "Big potatoes"); //true
(Solution: use === with false)
- Native functions names inconsistency
str_shuffle()
str_split()
str_word_count()
strcasecmp()
strchr()
strcmp()
- 0 == false == "0" == "" == array() == null (Solution: use ===)
- My favorite
$a = 0;
$b = 'x';
var_dump(false == $a); //true
var_dump($a == $b); //true
var_dump($b == true); //true
lol false equals true then??
(Solution: use === )
devs who are new or come from strict languages always fall to this pitfalls once.
But even with this issues PHP has the best fucking documentation ever. And no one can deny this.
You go to php.net and you got for each function a concise and clear explanation with one or more real examples with comments from the community. Compare that with Python documentation. -
@mfmbarber do you know how much time you lose each time you press cmd/alt+tab to change window contexts? Compare that with a multimonitor environment where you only have to rotate your head slightly. 😆
-
MilkOverflowException
-
https://destroyallsoftware.com/talk...
-
intellij idea community edition is free
-
@suprano that didn't happen with Windows vista
-
First update: taskbar broke. Was not appearing.
Fixed reverting the update.
Second update: taskbar broke again.
Fixed reverting the update.
Windows anniversary update: Webcams from all over the world broke.
Not updating that one lol -
idk I think you need a bussiness plan before that.
-
@cahva I didnt put that lol
the sysadmin did this - who now is on its holiday vacations and not responding to any of my calls -
ill try this dockerfile thing
thanks! -
yes, the first day a naked man with a spear killed all my people. perfect 10/10 would play again
-
we will need like six or seven pipes to make it
-
meanwhile your coworkers keep adding more checkboxes lol