Skillsjs, php, html, symfony2, cordova, ionic, nodejs
Joined devRant on 7/9/2016
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
It has been almost two years since I posted anything here.
I just wanted to say Hi.
I will try to be more active on the platform.
I missed you guys!!12
Let's talk about superagent, the nodejs http client.
This fucker defaults to localhost when it find the url to be incorrect. It doesn't complain or tell you your url suck. No. It reverts to localhost.
So "http://www.url.com" is fine and " http://www.url.com" reverts to localhost.
I spent 3 hours debugging this shit yesterday.
Then today, I started by looking at the config to realise the config template in ansible had an extra space before the url.
Seriously though!! Don't try to help, just tell me when I fuck up. Don't be another HTML!
The "language" without errors.
As a developer you have a surreal ability to plan the future and you are able to do it even in non-IT related areas of your life. Am I right?
Then, tell me, how many times have you died in your head thinking about "I could just jump here", "if I turn right that truck will definitely crush me", "well, that structure could collapse, how to survive if it happens?". ?4
Today is Sunday.
Today is 1st day of my working week.
Yeah I relocated to the middle east.
My monday problems happen on sunday"
Current situation: I'm tired. So fuckin tired my body want to fuckin sleep on Sunday15
Built the website. He took 2 weeks to test. Then asked me for changes. I took two weeks for changes. Someday during the second week I login (wordpress), I see the old version of the site, all my changes are gone.
I ask him,
Him: I had a customer who needed to see my site... So I reverted to the old version. I had a backup.
For fuck sakes! 1st of all, if he is a customer he doesn't need to see your marketing site anymore give him a flyer idiot.
Then, for fuck sakes: Give me a fuckin call so I back up your site. Idiot.
Why you didn't fuckin back up my fuckin version.
I stopped working and passed him to a more patient, more wordpress guy.
Me and the CEO of my company are both in the same clan in clash of clan.
I've never worked for a cooler guy. And funny enough he is much much much better than me. He has been playing for like 4 years.
When I started writing this 2 weeks ago (yes I forgot about this) he was working with us, he resigned in the meantime.
I just did the same, Today.
So, I guess best ex-ceo for a probably best ex-employee.
They give you 2 containers, one with one amibea the second with 2 amibeas.
Amibeas divide themselves into 2 identical amibeas after 3 minutes.
The container with 2 amibeas get filled up after 3 hours.
How long does it take the one with one amibea to get filled up.
I first thought, should I write this in JS?
Spoiler: the answer is 3h and 3 minutes.
But why? What's the link with JS?3
Let's talk about notifications.
So these two notification are about one comment, I think we should only show the more specific one, (in this case, the mention).
What do you think?10
I want to relearn Java. I've done anything in Java the past 3 years.
I feel so lost, I can understand a java code, I just can't start a new one.2
Received the one plus 3T I ordered from there U.S. as it's not sold in S.A.
I don't remember the last time I was this excited about a new phone.
I just love it. The black theme is gorgeous3
Hi guys, anyone knows about Google App Engine custom runtimes and CloudSQL?
Please answer my question on StackOverflow.
Looks like no one there cares about helping me...8
Had an AI course in my 3rd year at uni.
Well turns out, we learnt how to reproduce a switch case in prolog.
Hated it. Felt raped by stupidity. Missed 3/4 of classes but was still better than most at reproducing switch lol.1
What do you guys think about deploying elastic search on App Engine Custom Runtime?
(Basically, an empty folder with an elastic search Dockerfile.)
I think it's a good idea: you can now deploy your code and storage application (Elastic search, Redis, etc) as services on your cluster.
You can use GCP magic to auto scale those services, you have so many good stuff that come with it.
And it's inside the same network as your services running in the same AppEngine project.1
Yesterday at 1:20 am, my first docker image build worked.
- I develop my software (a service in a micro-service architecture) in symfony
- I push it to bitbucket, CircleCI pull the code
- builds a new docker image
- Runs phpunit test using docker exec (lxc-exec, their docker exec doesn't work)
- If the test are successful, CircleCI push the image to hub.docker.com.
Took me hours to fix all the bugs and issues with this process. I feel so proud, yet soooooooooo tired fuck sakes.
I'll publish the template for everything,
- the Dockerfile for the perfect symfony2 image IMO (and I'll create a public symfony2 image)
- The circle.yml I used etc.
Give back to the community.
I love my job.5
So trello is down. I need to see my tasks so I know what to work on...
Now, I just reload trellos page every 2 minutes... Bored...
Earlier today it was my bank that was down.
Why I only watch the web cartoon 2 now. It is so great!! light theme :D
I started laughing so bad.2
Working on new project, and reading "good practices" before starting the project and following them...
Until the client wants me to do it fast...
I bought flowers for my date. Online.
When I registered, the website send me via email my 30 character long password.
So I try "forgot password". The genius website sent me, guess what, my 30 character long password...
For fuck sakes!!!! You had one job.... Hash the fucking password!!!!
I'm afraid these people will probably get hacked soon (murphy law).
Sha256.. Guys please...12
One cool thing with owning my MSI(24G of ram, 8 core I7 6th generation) is that when one tab crashes on chrome and uses by itself 4Gig of ram. Well the other tabs still work like nothing is happening.
Only 1 or 2 core are at 100% but nothing else breaks.
I love it!!! <35
I have an interview with one of the big 4 in 2 weeks.
The post is for a java dev, they contacted me even though I'm a PHP dev.
I know the interview questions will be in java... What do I do??? :-(
I worked with java for the last time 2 years ago...22
Every time we ask the directors what they think about the design. They introduce a new feature...
Can't you just decide what color will be the plane without changing the maximum speed????
The client portal of the biggest bank in SA is down.
I took a break, because if they website is down, who cares about my minor bugs? 😀