Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Basically out of laziness, and impatience, though.
Still, go me.4
Seems to me that when I read a mix of super drama, and actual rants, I'm looking at the feed and not the people I've subscribed to.
My plan worked.
Imagine a job where instead of a worker, you're a partner. Hold on, I know that sounds markety...
Let's say instead of an employee, you're basically like a free agent. The company has a pool of projects that are approved to develop, and you can pick what project and what team to work on. More than that, you can even choose how much you want to work on it, and get paid accordingly in ownership stake of said project (on top of your base salary)
What if you were encouraged to submit your own ideas about everything, and that feedback is instantly public, before anyone (management) can water it down, take credit, or worse, suppress it entirely.
What if you could work from anywhere, home, not home, middle of the ocean, whatever.
Plus, we give you a budget to buy your own pc/mac whatever. As long as you can code on it, we don't give a shit.
Also, foosball and ping pong, beer, coffee, cool work environment and all that kind of shit too.
Paid training, for even whimsical new technology, in fact, especially so.
Want to do agile, fine, hate it? fine, just find the team and project that does what you want.
What else am I missing?18
Anybody playing with Laravel Nova? Just finished skimming the videos, and I mean, wow?
Am I seeing this right, or basically you can now create an entire, simple app about 10 times faster than Laravel.8
Why use Arch. It sounds like headaches.
What is the benefit. Like, I used to have fun with
tweaking systems and so forth, until it became
not so fun when I had to actually do it to make
money, like server admin on my websites.
From the sounds of it, setting it up takes hours, none of the packages are quite ready, it takes google research and troubleshooting for common tasks, etc.
Why not say, Ubuntu, kde? Or whatever.16
Things that seem "simple" but end up taking a long ass time to actually deploy into production:
1. Using a new payment processor:
"It's just a simple API, I'll be done in 2 hours"
LOL sure it is, but testing orders and setting up a sandbox or making sure you have credentials right, and then switching from test to life and retesting, and then... fuck
2. Making changes to admin stats.
"'I just have to add this column and remove that one... maybe like a couple of hours"
"Hah, what, that's like a button, np"
125 minutes later...
How many devranters have you followed on here? I add a few every day... Must be at like 300 or so by now. I
It would be a 1000 if I could follow on desktop version. Love hearing from you all.
And I don't usually say that shit to people.21
As someone in charge of reviewing this code, how would you react to this function that contains, what could be, the longest ever readable return statement.27
I have been up for 3 days now, coding. I am dangerously ahead of master.
To late to turn back now.
This fucker is getting pushed.27
Created an affiliate tracker / split test tracker / campaign tracker for my Laravel project in 1.5 days.
Not bad, not bad.
Now, should I offer it on github? Seems like I might be kicking myself in the balls if I did.
On the one hand, I don't have a lot of time atm, on the other, I'd love to meet fellow programmers who seek out and would want this, and perhaps contribute. Could lead to some great partnerships down the line..
Anyone have experience with this? Did it take a lot more time than you thought, did you meet other programmers and ended up collaborating on future projects?
My Programming Ambition.
To empower aspiring programming entrepreneurs with the idea that they can use their highly coveted skills to achieve whatever ambitions they have. To show them why they don't have to settle for the industry standard right now, which is low pay, poor conditions, hyper competition and lack of appreciation. To help them understand that with what they know, they can literally create any career that they want.17
Oh RLY? you want me to confirm my email address?
Shift+Tab - Ctl+a - Ctrl+c - Tab - Ctrl+v
Like a ninja...
could actually HEAR the knife swishing sounds there7
I think I just blew my own mind here.
Look at this:
return call_user_func(array('SomeClass','uselessMethod'), 'method');
return new Adapter($foo)->execute($this);
so __FUNCTION__ resolves to
You can run that code, whether you comment out uselessMethod, or not.
Adapter is a function that looks for what class to call depending on a database value
and execute the call.
So api basically uses a chain call to do stuff like this in controllers, here's how
I call the above:
$someObject = (new Class($object))->uselessMethod()->doSomething()->doSomethingElse();
But like, eventually my code matured to where all those methods in the chain call have the same one line return that calls my adapter to find the logic to run.
So, basically, I can now have a class with headless function calls that calls a directory of other classes, that are all defined in a contract somewhere. So as long as those classes
all adhere to the contract, it will never return an error.
I can't think of any reason to do this, other than my setup, and I have a sneaky feeling,
as dirty as this trick is, that there's a bad reason my code has come to being able to do this.
Maybe wrong strategy pattern from the beginning?
I'm sure it'll come to me like 3 days from now..3
I want you just complain about renting is on the computer does mean playing video games and fucking around on Facebook for him all the time9
What was/is your favourite learning experience?
The best teacher (besides google) for your language of choice?
Was it a book? a video series? an instructor? A person? A mentor? Your cat? Maybe dissecting someone else's code...?
Mine is laracasts.com You're welcome Jeffrey.10
Here is the equivalent of every single mid sized "php" project listed on freelancer now:
I'd like a custom designed electric car.
And in 1999:
I need a literal pile of dog poop.
AAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHH! FOR FUCK SAKES!
FUCKING GODDAMN FUCK SHIT CUNT FUCK!
no reasons needed... that's my rant3
Drug dealer : yo, you code right?
Me: yeah, why
Drug dealer: can you hack into the police station.. You know, see if they are checking me out.. If they know I'm dealing.. I'll just move
(I've never hacked but I know i could learn if I have to)
Me:... That's actually brilliant
I love in a small town at the moment.. I bet the police security is a joke
Kinda high risk though28
Axioms of writing software for your own business
(or working on your own projects that actually have to get produced in the real world)
Axiom #37: It is always a lot more fun to start something new, then to finish the thing that *was* new and exciting when you last tried to finish a thing.3
Why Gmail. Why the fuck do your search parameters, especially your date filters, not work anywhere near as expected.
You make me have to query and test, query and test, just, randomly fucking guessing because, fuck it, right?
With a good 10 second refresh time. I love twiddling my thumbs and pulling my hair out.
after:2018/11/1 should produce emails from Nov 1st onward.
Not, TODAY ONLY, if no other parameters are
If there's a from: parameter, now we want to do after Nov 1st, right?
And also, don't show me how to sort in reverse order, either. Not without a complete rewrite of my class there, which clearly I'm too lazy to do right now.
Fuck the Gmail Api, responsible for weeks of wasted dev time... or more aptly put, "fuck devs using our gmail api" says the maniacal, sociopath devils that created it
Hey... to somebody reading this, most likely.
The problem, is that you put if($var = 'something')
You need ==, not =.
Php doesn't tell you that though. It'll just change the var to 'something'
That's why you're getting that really obscure, doesn't make any sense error.
Why I quit playing video games 15 years ago, and how that impacted my life.
In a land far far away (probably from where you are) on a distant planet (probably for aliens reading this) In a typical city, in a typical apartment, I woke up from a deep deep sleep, the kind of sleep that you can only have if you've been up the previous 2 days binge playing final fantasy 7.
It was a day like any other, except, on this day, I had a haunting thought:
"What if I played my LIFE, like I did video games"?
Long story short. I couldn't play video games anymore. Instead of "working" I saw it as gaing exp points. Instead of "failing" I saw it as necessary to build up character flaws.... etc.
I haven't looked back. I created 3 businesses, I learned psychology, marketing, programming, law, etc etc.
I look at my current status, strength points, charisma points, intelligence points, etc.
And I'm proud.
You get the idea.
Later, I realized something else. If I work all day in front of a computer, how can I play in front of a computer too?
This could be a better post, but you get the gist.
Know the role video games plays in your life, and don't let it play YOU.49
Learning New Design Patterns...
When all you've got is a hammer, everything looks like a nail. Arg.
Recently, my code in almost any controller is like so:
return (new MyFancyClass($param))->methodThatHandlesIt();
that can't be the solution to everything.... although it kind of is
how can I beef up on patterns and avoid crushing a screw into the wall without realizing it's not a nail4