AboutI have finally found my home
Skillsentropy.js gasmask.git php python mySQL react ESI
Joined devRant on 6/16/2017
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
Multiplayer 3D engine architects:
While building the inital engine of your team's renderer and network systems, what were the most helpful things members of your team could provide?1
Nintendo...and their sins are trivial compared to the human QoL exploitations by big apps.
Take your pick:
Grew up as a total Miyamoto fanboy, RIP sweet prince. I'm not even complaining about the copy-paste mentality with their games (because they're still fun and polished)
I'm honestly confounded by their petty attempts to knick the pennies of youtube content creators; it's seemingly blind, principal-based pride. In a utilitarian sense, their behaviors are contrary to the big picture. So I just shake my head and game on desktop. GG.
Too much division fellow devs.
We will never know world peace until 3 people can look each other in the eye...Simultaneously
Fellow social skeptics, I need to vent. Flew back into RI for the family, not the various holidays. Fuck christmas. Fuck the societal norm that's been programmed into me and all of us. "Merry Christmas", "Happy holidays".
Yeah that doesn't play so well for my family after your brother dies the night of the 24th.
Even my best friends slip up with it, and even I'm regurgitating the phrases when I'm in public and need to be socially fucking acceptable. It's fascinating to me just how muscle-memory it is. Does that make it hollow in the first place? Is the well wishing the point and the sounds and message secondary?
Whatever it is, I've never felt comfortable in these social situations anyway. If I didn't have to travel to see my family, this would just be another day. So here's a big fuck-that to social obligations and gatherings. I just need a good intellectual conversation or a project to dive into.
PHP gurus / masochists.
I've been using Symfony components for new, isolated features in a legacy php application for awhile now. the time has come to integrate using the kernel, and routing for new endpoints while existing endpoints use the existing apache means of loading pages.
It's not my first rodeo doing this, but I'd appreciate any wisdom/resources/patterns you followed for anyone who's had to do the same.
My clients don't have the means to do hire the appropriate ammount of devs to do a proper port, so this is a long path towards modernization by ceasing to bolt on features to existing code and instead, when working on something, updating it to the new design pattern and then extending that, with a spec, documentation and code coverage.3
in the early 2000's I started installing Firefox on my high school's computers. about a month later it was being deployed to every one of them2
React/Angular may have been a better call but I just didn't have time so I needed to rapid prototype in jquery /vanilla JS.
I'm in the midst of learning and refactoring all the ajax calls to promises and then to async/await, so it's a huge learning experience...
Meanwhile I've got to build objects to represent the data on the backend which is all legacy OScommerce/PHP
Hell of a ride.
I wrote my first proper promise today
I'm building a State-driven, ajax fed Order/Invoice creation UI which Sales Reps use to place purchases for customers over the phone. The backend is a mutated PHP OSCommerce catalog which I've been making strides in refactoring towards OOP/eliminating spahgetti code and the need for a massive bootstrapper file which includes a ton of nonsense (I started by isolating the session and several crucial classes dealing with currency, language and the cart)
I'm using raw JS and jquery with copious reorganization.
I like state driven design, so I write all my data objects as classes using a base class with a simple attribute setter, and then extend the class and define it's attributes as an array which is passed to the parent setter in the construct.
I have also populateFromJson method in the parent class which allows me to match the attribute names to database fields in the backend which returns via ajax.
I achieve the state tracking by placing these objects into an array which underscore.js Observe watches, and that triggers methods to update the DOM or other objects.
Sure, I could do this in react but
1) It's in an admin area where the sales reps using it have to use edge/chrome/Firefox
2) I'm still climbing the react learning curve, so I can rapid prototype in jquery faster instead of getting hung up on something I don't understand
3) said admin area already uses jquery anyway
4) I like a challenge
Implementing promises is quickly turning messy jquery ajax calls into neat organized promise based operations that fit into my state tracking paradigm, so all jquery is responsible for is user interaction events.
The big flaw I want to address is that I'm still making html elements as JS strings to generate inputs/fields into the pseudo-forms.
Can anyone point me in the direction of a library or practice that allows me to generate Dom elements in a template-style manner.4
today I spent an hour and a half (30 mins past my paid hours) explaining go my boss that I'm not just being rebellious; that the time I'm taking to do the job right is appropriate and the only way to end up with a piece of software that they'll be able to request features for without adding on to the absolute shit pile frankenkrakken that is their mutated 13 year old OSCOMMERCE dumpsterfire.
I convinced him.
Management that understands and respects the true virus like nature of technical debt. Considers the implications of bolting on more features. Gives me a place at the table in decision making regarding these matters.
Don't settle for any less.
"Systems open to all, but closed to intruders"
HEY, HP, PACK YOUR WHOLE FAMILY OF TRASH SOFTWARE INTO YOUR TRAILER HOME AND DRIVE IT OFF A CLIFF. WHAT THE __FUCK__ DOES THAT EVEN MEAN YOU LITERAL BLOAT FLIES. HOW ABOUT WE START WITH THE FACT THAT ALL IT TAKES IS ONE DUMB MOTHER FUCKER ANYWHERE IN A COMPANY GIVING AWAY ONE LOGIN IN A SOCIAL ENGINEERING ATTACK TO POP THIS NICE FART FILLED BALLOON YOUR DRUNK SALES AND MARKETING MORON PARADE CAME UP WITH.
STOP FUCKING ADVERTISING ON MR. ROBOT AND LET ME PRETEND IT'S NOT A PRODUCT FOR JUST ONE MOMENT FUCK YOU FUCK YOU FUCK YOU4
The girl at the bottom needs a tooltip above her:
I need a task queue for my life. A 'The Sims' style set of icons om desktop OS that breaks down into details, checklists, related pages I've visited/researched. cross platform so I can keep track on my phone.
I'm not to big to admit I need skynet to keep me on the tracks
Boss: some consultants worked on this feature extending some legacy code
Boss: it's 90% done
Boss: they used FTP. It uses iframes and we fired them when they couldn't get the frontend modules working in sync with the backend.
Me: git checkout -b herewegoagain
git diff-tree --no-commit-id --name-only -r 666w3wl4d
*copy output list of files to sublime text 3; select all lines; add to each:
gitk --follow [filename] > src/.notes/herewegoagain/[filename].diff
Me: It's -10% done. you'll know I'm almost done when I enter the fugue state. You'll find me at this address. Give me this USB stick and a 4 pack of redbull and I'll do the merge.6