Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "spa"
- Spent 4 hours coding up the most complex but cleanest test I've ever written. Well let's commit this as a save point
- accidentally committed to master
- Stackoverflow how to fix this shit
- reset head
- destroyed all my work 😱
- made a new branch
- ctrl-z in my editor to recover all my edits 😳
- commit to new branch
- dodge bullet, heart race decrease10
Even though I'm a web developer I work in a very small IT department, which includes just me and my colleague.
Yesterday we got a pretty usual request. Someone forgot the password to an excel file. We already started a brute force attack, but we had some fun going through the worst passwords we ever stubbled over in our carrier.
He was like:"Maybe it's just his name?"
Me: "Oooh or maybe it's just the brand and 123?"
We laughed a lot. Not really considering we could crack this "important" file.
But it really worked out. The password was the brand of the business unit and "2017".
I've sent everthing back to the user, telling him exactly how we cracked it... His answer was:"Oh yeah! I knew it was something easy, so me and x could remember it easily!"
Why do you forgive easy passwords anyway? If I can crack it within 5 minutes... Everyone can! ...
And if you do it to "remember it easily"? Why the fuck don't you remember it?4
Macbook hard locks right in the middle of my coding run, in an awesome song.
Reboots of its own accord. Decides to try an update. Fails.
I reboot to normal disk:
"You restarted your computer because of a problem."
Uhh, no, YOU fucking broke my shit and my rhythm. Own your fuck-ups.4
I'm inventing a new coding philosophy: problem-oriented objects (POO).
Who's ready to turn OOP on its head and embrace POO?7
'Twas the night before deployment and all through Hipchat
Not an intern was stirring, or a CSM, at that,
The feature design was approved with care,
The business case and user feedback were there.
The sales team was home watching the game in their beds,
Making "Presidents Club" danced in their heads,
The CEO mused over valuation cap,
And how the competition could take a dirt nap.
When in pager duty there arose such a clatter
The night devs logged in to see what was the matter.
Away to the server logs they flew in a flash
To see what had made the primary DB crash.
The pristine backups in the freshly pushed cloud
Gave joy and relief to the now-anxious crowd.
When what, on the CDN status page should appear,
But holly-red downtime and a DDoS severe.
With little fanfare and at speeds none could detect,
In toddy-wreathed glow appeared the Senior Architect!
In mere milliseconds the commands they came,
Were whistled, and shouted, and called out by name:
"Now Traceroute, now Nmap, now Dig, now loopback Localhost!
On Makefile, on Linker, on Tar, on avocado toast!
To the bottom of the Btree, to the root CA,
Now compile! Compile! And restore away!!"
As JS frameworks of the day away fly ,
When the zeitgeist forgets them in the race to the sky,
So up to the network backbone they flew,
The Architect on her PDP-10, with her Dynabook too!
And then in a twinkling, the emergency team
Saw the DDoS reverse, and the bits surged downstream
Packets, like snowflakes, flashed before our wint'ry eyes,
At 1024 GB/s, a wonderland of surprise!
Her eyes, how they twinkled! Her shell scripts-- concise!
Her bytecode so polished it ran on any device!
Her soldering iron swung freely from her hip,
From a hot whiskey toddy she enjoyed a long sip.
She spoke not a word but went straight to her work,
And synced the prod DB where the tables went berserk.
And laying her spanner aside of her nose,
And giving a nod, to obscurity she rose!
She sprang to her PDP, to her mainboard gave a knock,
Rebooted the magnets and refreshed the clock.
She exclaimed as she vanished, giving us her last jabs,
"Remember to always use spaces, not tabs!"12
Just wrote several hundreds of lines of code... With no tests... And they worked.
I have been a very naughty boy...😈😇
Oh TDD gods, be gentle...2
I noticed at our company we have 4 kind of developers:
1. Developer who can do psd>html, write some custom js code, put templates on cms... He usually doesnt care about the code. We call them just frontend developers.
2. Developer who work with frontend frameworks, can create SPA, knows a little backend, can code APIs... - Superstar frontend developer.
3. Developer who knows both frontend and backend and can create websites without anyones help. Full stack developer.
4. Full stack developer who does everything above + does mobile app development, IOT dev, cybersecurity, servers setup and gets paid like the first one. Hello, its me.4
I'm so sick of all these fat frontend websites.
Transferring dozens of megabytes of mostly unused libraries is not acceptable.
A browser tab crunching up CPU time because everything must be "beautifully animated" (🤢) and processed without involving page reloads/backend is not acceptable.
A response time of over a second is not acceptable.
Cryptic error messages and random popups asking you to reload your page, not acceptable.
Sticky elements/popups breaking access on small screens is not acceptable.
Running hundreds of ajax calls per minute as heartbeats/probes
and crashing the page when the internet has a hiccup, not acceptable.
Fuck Asana, Fuck Twitch, Fuck LinkedIn, Fuck Youtube, Fuck the dozens of other SPAs which unload their truckload of diarrhea into a tab, yet fail to load crucial functionality about half of the time.
I want webpages to be interactive informational documents again.
Fuck off with your apps.
If you want to make an app, learn to use a real language, and get the fuck out of my browser.4
Guy I just met: so what do you do?
Me: I'm a developer
Guy: no way! I work for a software company so... (goes on to talk for 10 minutes trying to show off his knowledge of software)
Me: so what do you do there?
Just because you work for a software company does not mean you know shit about software. Don't try to build some erroneous common ground with me because you walked by a developer's desk one time, looked at his or her screen, and magically thought you could understand code.18
You have version
Would you like to upgrade to version
We all work on the same room: Devs and testers.
In order to communicate with each other without taking off our earphones, we use the chat app.
Ok, sometimes the chat app has delay sending messages.
I really, really hate when one of the testers comes to my desk without telling me he's coming to my desk! >:v and this is the reason why I hate it so much: I'm concentrate in my code, listening to ASP or SPA and, suddenly, I feel a heavy presence behind my monitors. I look up and I see a very penetrating gaze from the corpulent tester looking at me (he's tall). Every time he does that I almost have a heart attack D:
"There's a bug I want you to check" he says.
And I check my chat app if there's a delayed message from him. Nothing, NOTHING >:v
Always, when I want to go to his desk, I send him a message
"Is it ok if I go to your desk?" and he says me "You don't have to ask for it, just come here" but the thing is that I do that because I expect him to do the same :/
Fortunately this doesn't happen every day, but it pisses me off, and I don't know how to tell him to stop doing that because I don't want to be like a... jerk? intolerant? I don't know18
Supervisor: so you're going to write a perl script that will compile a jar that will be used to invoke a web service
Me: okay. What does the web service do?...
Supervisor: I'm not sure how it works. It'll just return a success or error code
Me: so I'm just going to invoke a black box?
Supervisor: that's a good way to think of it
Me: so how does the qa process work with this black box/how can we debug?
Supervisor: we don't have qa for it and we can't debug
What the fuck?!?!? You expect me to call a literal fucking black fucking box?!?! This isn't lambda calc you jabroni.2
You know what i hate? Applying to jobs and never getting feedback--if a polite "we didn't hire you because x and y" is too damn hard, i would still rather a royal refusal over not hearing anything back at all. It's happened to me 3-4 times in a row now, probably going to be 5 - 6 soon enough. Seriously though, what is this shortage of devs everyone talks about? Because here i am with both hands and a leg in the air high as i could manage and you're not even acknowledging me? I even made a small React SPA once to satisfy a company's questions and show a bit of my competence--you think i ever got a reply from them? Shit, i didnt even get an auto reply. And from what ive read here on others' rants, im far from being alone. At least i could understand why they dont look at me (Bahamian, no degree, never had a dev job, etc.), but for proven programmers to go unnoticed the way they do is ridiculous.7
You fucking son of a bitch!
First you make me do a project in two fucking months, and that's a fucking job-load for only one dev to deliver a SPA with payments and whatsoever.
Then you pushed me to accelerate deployment date and there I am, getting tired and using time I don't have.
But oh no, you prick, that wasn't enough, you had to do just one thing. YOU HAD TO DO ONE FUCKING THING!
What's that? Oh, sorry, I thought I overheard that you wanted to accept online payments but YOU'RE NOT FUCKING SIGNED UP, YOUR BUSSINESS IS NOT LEGAL UNTIL YOU REGISTER IT.
Motherfucker, I can't do anything, you better fucking register your bussiness if you want this to work the way it's supposed to do.
*sees a rant about how hot it is in Spa*
"OK Google, what's the current temperature in Spa?"
> devRant has crashed
Seems to happen a lot in Android 8.1 in particular by the way 🤔6
I got my job because I've been myself. As soon as I laughed with the interviewers I knew I got it.
They choose you for a interview out of all the other CVs because they hope you know your stuff. Proof it! And most important - show your character. Don't be a blank paper! Make fun with them. Or at least leave some kind of positiv impression.
The funny part:
I applied for jobs in Austria while doing my Bachelor degree in the UK. Over Skype they had no idea I was wearing sweatpants.1
Fuck ads, fuck images,
Fuck popups, fuck bloat!
Screw stylesheets, screw webfonts,
Screw modals that float!
The Web's bloated and broken, I regularly thinks,
That's why I started browsing again with Lynx.
Download pages in an instant, without pics,
Browse the full article, no "Read more" JS tricks,
Just blocks of text, direct from the writer,
Text-only browsing is megabytes lighter.4
Last night I finally dug out the hardware I ordered to replace my iBook g3 clamshell hard disk with a compact flash drive. I got an ATA to CF adapter and an industrial 16GB CF card. The spinning HD of the laptop was insanely loud and I wanted more storage space and hoping to extend the short battery life a bit.
I had a torx kit from when I had swapped out the display for my 2009 imac, and was doubtful I needed them to service this thing from '99. I did quickly run into some torx screws but most were Philips.
Saw that the torx screws in the iBook were better quality case screws than the tiny Philips screws Apple used for my 2008 Macbook.
Most interesting thing about taking apart this laptop from '99 is it had no dust in it.
Boots and runs absolutely silently.
Went online on my other machine and found a huge archive of Mac Classic games.
Spent an hour and a half playing Sim Farm in 256 colors.10
The management brought some devs from another outsourcing company into our project to overcome the fact that we, the existing developers, are retarded. We are retarded because they change the scope continously (aka daily) and we can’t keep track with their requests. They want something and after we implement it, they want it changed. Completely.
Instead of getting the project and deep dive into it using the materials (setup, architecture etc.) I prepared along the way, their PM said that we have to make some low level knowledge transfer. This knowledge transfer session happened on Friday.
The presenters were me and one of my colleagues. After 2 hours of training, we found out that the supposed senior devs don’t know how to use GIT, they don’t have a clue about Spring nor Angular (nor any SPA framework), their only questions were ‘why didn’t you use X?’ (where X = bootstrap, jQuery etc.) etc.
What is even funnier: during the presentation we were asked to keep a screen sharing opened during working hours for a couple of days just so the new devs could see how we are working.
Guess what happened with the scope on Friday evening: it changed again because ‘you got new devs so there will be multiple resources to handle tasks’.
2 more weeks and i’m out of there...7
Boss: "Sooo.... How long will it take?"
Me: "Maybe we should agree on some processes and specify your wishes for the new feature first?"
Boss: "Yeah you're right.... But what do you think? Will you get it done til $deadline?"
Why am I even trying? Who needs project management anyway?4
Fuck smartphone companies for bailing on Bluetooth (and NFC) as reliable inter-device ways to transmit data. Fuck Apple for no USB to PC file transfer. Fuck Google and Apple for their walled gardens and failing to make file transfer work over Bluetooth between their systems.
Bluetooth is a teenager with the mental state of a baby. The industry birthed it but failed to raise it to great heights. Seems to me it's fallen to simply being a wireless peripheral device connectivity protocol.
Where are all the cool NFC apps that work? Where is out-of-the-box support for Bluetooth file transfer? (I see you Android and Linux, ty). Why is desktop support for Bluetooth file transfer so awful and unreliable? Why the fuck doesn't BT transfer between Linux and Mac work?
Even between two Android devices of the same manufacturer I couldn't transfer shit over NFC.
P2P Bluetooth mesh networks
Bluetooth file torrenting
Bluetooth encrypted chat that nearby phones can join
BT doc sharing..
Correct me if I'm wrong so I can see the light.9
SPA I made:
- works on any major desktop browser(Chrome/Chromium, Firefox, Vivaldi) on Windows and arch
- works on any browser on any Android phone (version >= 4.x.x)
- Works on a freaking fridge
- Does not work on iPhone ...wtf apple7
Fellow computer science students:
TAKE A SHOWER EVERY 2 DAYS.
Are we really still buying the "unwashed genius" trope? Where the hell did that even come from?
I cannot do a group lab with you if you smell like a plastic bag of re-used gym socks. Please please just take 10 minutes every other day and shower.6
Tonight I resorted to using a hack to complete a requirement by a deadline.
How do I purify my soul after this?5
A Tale of Two Codebases
"It was the best of compile times,
it was the worst of compile times,
it was the age of test-driven development,
it was the age of Stackoverflow copypasta,
it was the epoch of epics,
it was the epoch of blank bug reports,
it was the season of nginx,
it was the season of IE9 support,
it was the spring of Jenkins test jobs,
it was the winter of deleted containers,
we had our sprints before us,
we had no roadmap,
we were all committing directly to master,
we were all reverting and cherry picking,
we were all going the other way..."4
OOP seems in many cases really to be OOOP:
Obscured Object Oriented Programming: or, how to code in such a way as to make things as cryptic as possible for others to decipher. Examples:
- Methods not taking args because the desired arg is actually a property of the class, set with a "setter" by another class
- Protected/private status for vars and methods to block other devs from using the class how they wish, and only the way the creator wants
- Initializing a var as null, conditionally setting to the desired value, then littering the codebase with null checks and "isset" and wondering why there are so many bugs
- Have varying implementations of getters and setters so as to be totally unpredictable, where setters' implementations range from a basic "store x" to 700 lines of logic and db lookups, and the same for getters
- Break general implementations of things by creating references to commonly used objects, then doing operations on those references, making it impossible to text search all implementations of a method/class
If you aren't using at least these 5 antipatterns, you're not doing OOP right.10
Let's continue with another rant about my previous company.
You know what's not okay? Hiring a Polish company to handle your CRM. The Polish company promised our development team their CRM platform would have all of the features and APIs we need before switching over. We were skeptical, but Management decides to go ahead and sign the contract anyway because their friend works for this Polish company.
Two months later, the Polish company claims to have never agreed on having the features we needed available, API or otherwise. They also have no idea what an SPA is, most of their features are built-in iframes littered with XSS vulnerabilities, and outgoing B2B/B2C emails are not customizable beyond what their templating system gave us (colors and system fonts). I should also mention they refuse to let us meet with any members of their development team. The managements' friend? He's just a salesman.
We have had multiple meetings with their representatives, over voice calls and video conferencing, who just happened to be sales people. In the last case, every time we asked a question, this poor girl had to run back to her higher ups to get an answer as she didn't know what we were talking about.
Let's not forget about the language barrier. I don't speak Polish, management doesn't speak Polish. Nobody in my previous company spoke Polish. Why was this a good idea again?
I had another correspondence with the Polish company through E-mail. We had wanted to implement a third-party tracking code in our newsletter sign up (which is handled by the Polish CRM company). I asked a representative through E-mail if this was possible. In broken English, I received confirmation it was possible. Great, I asked how? In broken English, I received an explanation which I had already tried and did not work. I replied saying so. Third e-mail I receive mostly in Polish saying, "Why would you want to use your anybody else's tracking code but ours?"
Maybe because the features you promised previously were never delivered and now we need to accommodate? But also because we have our own list of affiliates and sponsors.
Six months later, the third-party tracking code still isn't implemented.
Also, I did report those XSS vulnerabilities on their platform and lack of error handling in their JS library. These have still not been fixed.5
Thanks for the stickers :)
(yes I know one of my other sticker says spa sex instead of SpaceX and I'm not even mad)4
I've kinda ghosted DevRant so here's an update:
VueJS is pretty good and I'm happy using it, but it seems I need to start with React soon to gain more business partnerships :( I'm down to learn React, but I'd rather jump into Typescript or stick with Vue.
Webpack is cool and I like it more than my previous Gulp implementation.
Docker has become much more usable in the last 2 years, but it's still garbage on Windows/Mac when running an application that runs on Symfony...without docker-sync. File interactions are just too slow for some of my enterprise apps. docker-sync was a life-saver.
I wish I had swapped ALL links to XHR requests long ago. This pseudo-SPA architecture that I've got now (still server-side rendered) is pretty good. It allows my server to do what servers do best, while eliminating the overhead of reloading CSS/JS on every request. I wrote an ES6 component for this: https://github.com/HTMLGuyLLC/... - Frankly, I could give a shit if you think it's dumb or hate it or think I'm dumb, but I'd love to hear any ideas for improving it (it's open source for a reason). I've been told my script is super helpful for people who have Shopify sites and can't change the backend. I use it to modernize older apps.
ContentBuilder.js has improved a ton in the last year and they're having a sale that ends today if you have a need for something like that, take a look: https://innovastudio.com/content-bu...
I bought and returned a 2019 Macbook pro with i9. I'll stick with my 2015 until we see what's in store for 2020. Apple has really stopped making great products ever since Jobs died, and I can't imagine that he was THAT important to the company. Any idiot on the street can you tell you several ways they could improve the latest models...for instance, how about feedback when you click buttons in the touchbar? How about a skinnier trackpad so your wrists aren't constantly on it? How about always-available audio and brightness buttons? How about better ports...How about a bezel-less screen? How about better arrow keys so you can easily click the up arrow without hitting shift all the time? How about a keyboard that doesn't suck? I did love touch ID though, and the laptop was much lighter.
The Logitech MX Master 3 mouse was just released. I love my 2s, so I just ordered it. We'll see how it is!
PHPStorm still hasn't fixed a couple things that are bothering me with the terminal: can't reorder tabs with drag and drop, tabs are saved but don't reconnect to the server so the title is wrong if you reopen a project and forget that the terminal tabs are from your last session and no longer connected. I've accidentally tried to run scripts locally that were meant for the server more than once...
I just found out this exists: https://caniuse.email/
I'm going to be looking into Kubernetes soon. I keep seeing the name (docker for mac, digitalocean) so I'm curious.
AWS S3 Glacier is still a bitch to work with in 2019...wtf? Having to setup a Python script with a bunch of dependencies in order to remove all items in a vault before you can delete it is dumb. It's like they said "how can we make it difficult for people to remove shit so we can keep charging them forever?". I finally removed almost 2TB of data, but my computer had to run that script for a day....so dumb...8
Friend: why do you hate react so much ?
Me: Because web development should be all about browser compatibility ( yeah even for that shitty ie8 ) and usability not spa and shitty made animation that breaks when you switch from landscape to portrait .
Friend: then why do you use it ?
Supervisor has me making a web app in this badass new stack called the LAP (linux, apache, php) stack because he would he would like the app to be "simple". He's spot on though.. having a three letter acronym saves so much time.... and then we don't need to worry about a database... or querying.... or efficiency.... or even the web app itself because clearly he expects the fucking code gods to come down and turn this piece of shit web app into a fucking masterpiece if he thinks this shit can be done based on a hacked together file management system. Please save me code gods4
It's 1:00( 1 am) here now...I wanted to get some coding done since 20:00(8 pm for the weird people ;P)
Got distracted by Dev rant all the time -.- and didn't write a single line of code...fml6
How do I promote my open source projects?
I mean, @ai (Andrey Sitnik) have published nanoid and received about 600 github stars in just one first day. I have recently published Tears, webserver for SPA, and received only 7 stars, all of them from my friends.
I've tried posting on hackernews (3 upvotes), github tags, several gitter chats, with absolutely no impact.
So how do I promote my projects?4
Whiteboard interviews. Would say "my first whiteboard interviews", but I think they will always have the magic to make developers feel stupid.1
One thing i like to do while coding is listen to conference talks from people smarter than me, so i can subconsciously grow some "coding genius" region of my brain while I work.
Was watching a talk where the presenter was saying how developers today don't know how to program objects. (OK fine, I don't) That Object Orientation had become dehumanized. (Ok, seems true.) Then the speaker went on to say that "TDD will kill you" and mentioned authors who had done studies on the topic. (Uhh..???) I searched, did not find those authors, and only found scholarly papers supporting TDD in at least finding that automated testing improves code quality. I stopped watching after that.
So just a note that not every talk should be gobbled up just because the person fits some image.1
Don't get me wrong, I am a huge fan of disparate microservices when building applications. I started 4 years ago building monolithic applications on symfony, laravel and .net.
SPAs have not only made my applications more flexible but have allowed me to build more flexible front ends. But I almost ALWAYS have this dirty, unorganized feeling when working in this microserviced approach.
My data always feels scattered. Because my backend doesn't have as tight of a grip on what view is being rendered and what data it gets, I am always left with a sense of disorganization and lack of security. I have more anxiety that my application will unravel at any given moment then I've ever had and that keeps me up at night.
Does anyone else feel this way when working with disparate systems?
And dont even get me started on mongo. Again, I love it, but the feeling of disorganization is intense when using it.4
This is not a troll q, im gebuinely interested.
What sets spa frameworks (say react) apart from a templating engine and some dom fuckery? To me it seems they are all just syntactic sugar on top of these two very basic things (plus routing), but admittedly im not a frontend dev so im asking more experienced people here.8
The most exciting part of my morning was accidentally discovering how to easily crash Outlook in Win 10:
1) Use nice MS ergonomic keyboard
2) Open Outlook
3) rapidly press the friendly arrow-like buttons below spacebar a couple of times
4) Outlook crashes
5) Giggle sadistically and a bit sadly because this kind of error will never be fixed in this lifetime, and resume working
Bonus step: Resist urge to press these magic buttons in IDEs
Sup with all these people in the office arguing that writing documentation is pointless because it will just become out of date? I even heard one dev say it'd be so problematic that the company would need to hire someone full time.
That sounds like BS to me. Sounds like some people culturally think documentation isn't cool. That maybe they don't know how to do it.
So, I'd like to hear opinions on the topic. Mine is that documentation is useful and even if it gets out of date, it provides some value.
What's better: out of date documentation, or no docs at all?9
Thank you open source community.
Because of you I can have a terminal app on my Android and browse the web without all that nagware.
Thousands of devs collaborating around the world. There are more amazing things to do than use Lynx, but you know, that's all I wanted for now, and thanks to freely shared software, I could.1
I never knew filling out a web form could cause my Macbook to hard lock. Apple is a veritable cornucopia of surprises!
I think I'm getting crazy...
Yesterday evening I finally thought it was a great idea to set up Gitlab CI to let the server build (ng cli) and deploy (via FTP) an Angular5 SPA on commits on the master branch.
The npm package "vinyl-ftp" thinks it is pretty fucking funny to just randomly stop in the middle of uploading files or just upload some files with 0 bytes in size.
WHAT THE HELL?
After some hate infested trial and error, it seems that the more parallel channels I set up, the more chance I get that all files are correctly uploaded, but never all.
If anybody here happens to be some kind of mighty byte bender and knows what to do, I'd be thankful. But I will probably try out a different client in the docker image...1
Python datetime: DAFUQ!! My mind is officially melted
from datetime import datetime, timedelta
One imports a type, the other is a module.
GUESS WHICH? 😅🔫6
Does anyone know of any apps/companies that are using .Net core in production?
I’ve started a project at work which consists of a webapi written in dotnet core, a react spa for the front end and xunit for testing.
I’m just curious as there are loss of sites about things written in Rails, or django, but almost nothing about dotnet core.8
Working on a fucking wORDpRESS + Vue.js single page application theme. For 9 months now! Fuck this shit! Even though I have turbo-boosted my tech skills during this time as never before (learned Docker, Nginx, Git workflows, Unit Testing, included PHP OOP on a daily basis, became a Vue.js architecture and Webpack expert ) and developed a unique SEO friendly (without SSR/Node.js) SPA theme system for wORDpRESS on my own - the project became a really huge pain in the ass. I'm just too much of a perfectionist. Because any time I've worked with a commercial WP theme before this project, it was always a horrible experience. So based on this trauma and my previous two years of experience as a freelancing custom wORDpRESS theme developer, I didn't want to produce same shit as many of the existing wp theme devs out there. I've hand coded almost every part of the theme and developed a bunch of custom SPA plugins for the theme (including a Mailchimp plugin with a cool form generator and a custom written Mailchimp API client).
Since March of this Year I've been living below the poverty line and had even to borrow some money from my previous clients 🤦🏼♂️ . This is even more painful since my revenue before this project was at 3000-4500€ per month.
But now I finally coming to a finish of an MVP and will start hopefully to sell this fucking shit next month.
Features already build:
- fucking Polylang integration
- fucking Mailchimp plugin
- Yoast compatibility out of the box
- fucking fastest loading time regardless whether with or without perfomance optimisation: between 300 and 600ms and despite an app size of around 500kb (GSAP Business Club, Vue and Babel make together around 350 to 400kb)
- preloaded pages / posts / lists (defined in theme options) reducing load time of additional request after the initial load (again which is at 300 to 600ms from Germany) literally to fucking ZERO
- WP Rocket integration - makes this motherfucking theme even more faster on the initial load
- fucking genius plugin system which let you split the functionality of a fucking SINGLE PAGE APPLICATION in a usual wp plugin system way without breaking the SPA flow (no reloads of any route added through the plugins - all of them get cached via vue's native keep-alive feature). This way I can charge extra for any fucking shit I will add on the top of theme in the future.
Even though the theme has become my baby (after 9 months - lol), I'll hopefully gonna sell it next year when I've finished all the planned features, as wordpress is a piece of shit from the perspective of a high level developer and limits and disrupts your growth as a dev.
But what is even more critical to me: wordpress.org is a bunch of hypocritical fascists. Just google "Jan Dembowski wordpress banned" and also the main supervisor of wordpress.org Samual Wood aka Otto, who literally told me that it doesn't matter what wordpress.org users think - according to him wordpress.org is a private forum and everybody have to obey to their fascist moderators dictatorship regardless of any objective moral and ethics, is part of the wp fascists gang.
After my experience with this two fascists from wordpress.org I've googled more information on Mullenweg and found a lot of interesting facts. First of all it seems as it was from the beginning of wordpress his intention to collect big data. And when I look at his ugly face from this time he reminds me of all this fucking dumb privileged "startup" hipsters and yuppies I had to deal with at Factory Berlin last couple of years. Already in the beginning of wordpress he had his spying Akismet and Gravatar in his portfolio. No capitalist would give him any fucking cent (currently over 600 millions) if he would take all his "green washing" bla bla like "Democratize Publishing” seriously himself. It's all about money and control. It has nothing to do with freedom of speech, open source or democracy. If the product is free - YOU ARE THE FUCKING PRODUCT! Obviously AUTOMATTIC is exploiting the efforts of the great independent wordpress community for its own profit. For example WooCommerce was bought for laughable 30 Millions whereas Shopify was valued around one billion at the time Automattic purchased Woo, which is related to GPL of WordPress which means Automattic could also just take the source code of WooCommerce and make it own. So the WooCommerce owners can be lucky they got even this amount of cash. I think it was primarily for the staff and label. But the "technology" itself (which is partly also piece of shit) was obviously robbed.
I will probably post more here in this dumb shit.
But now it's about my fucking my theme. You can find out more about it here:
Though the current online state is of July. Hopefully by the end of the month I will update it to the current state of the finished MVP.7
I'm really sick of elitist JS/front-end devs acting like these front-end heavy sites are any better than a traditional site using SSR (server-side rendering). Single page apps (SPAs) have 1 large benefit over an app with full page requests: the web dependencies (CSS,JS,etc) don't have to be looked up and downloaded on every page load. With optimized caching headers and HTTP2, this is not a problem. I agree with every point this guy makes: https://blog.usejournal.com/spa-or-...7
If you are currently working for an awesome company, what questions did you ask at interview time to screen them to make sure they'd be a good fit for you?5
Someone wrote out html markup, where each element of the markup is a string in an array. Then this mess is joined using '' all wrapped by jquery $( ... ).
What the 💩.
var iDontGiveAFuck = $( [
'<span class="bullshit">Copied from stack overflow',
'<a href="/some/more/bullshit.lol">I\'m an overachiever</a>',
Except theirs is like 40 lines of this.
THIS IS WHAT TEMPLATES ARE FOR.
I'm outside channeling my aneurysm into an anime ball of energy I'll release when the time is right (never).6
My new software dev mug that I designed for myself. It's got bugs on the side, because, y'know, bugs.
"What is a bug but a feature unloved?" 🤔1
Fucking tired of ghost bugs that can't be consistently reproduced, yet they appear anyway. Also tired of this lazy attitude of "We cant reproduce this so we're canceling it (the bug)."
"I'm going slightly mad
I'm going slightly mad
It finally happened
How the fuck does 860 mb take 20 min to copy? Did my internal SSD revert to IDE mode? Dafuq, Google? I know you're slowing down my machine on purpose so I can just feel how amazing your company is and be in awe that your files take so long to copy that they must be that good.
You must know I'm about to flash your Gapps shit off my phone.5
So let's talk about CNAs, Captive Network Assistants, these downsized browser that open on Smartphones when you try to login to a free wifi which requires you to buy sometging or accept some terms.
I fucking hate them. I'm a web dev which has to deal with these dumbfucks.
Back in the time, there was this dumbfuck who had the idea to capture http requests on network level and response with a redirect to his own landing page. Fuck this guy. Then some dudes had the idea of the CNA as a privacy security feature. A good idea. But also this guys: "hey, let's make them a huge pain to develop for".Fuck them, too. But then came the companies saying: "hey make us a huge SPA with all features we can think of for this fucktard of a browser."
I hate fucking CNAs2
Joined a fantastic small software company. I love the team. Office is beautiful. Benefits are stellar. Commute is very short.
Codebase is legacy. 15+ years old. No unit tests. Files of 10-15k lines, no comments/useless comments. Inconstistent file locations/structure patterns. unclear/not useful variable names. Not using Git.
I need tools and strategies to thrive and do well. I know Martin Fowler has a book on refactoring legacy code. I'd also appreciate any mindsets you all have for thinking about working with legacy codebases.3
Boss at the start of a new project: "We could hire an intern to gatter some data in an excel list... You can easily implement that in the application later - right? So can you get us a excel list to fill out? "
No... Just no...
You tell me what you wanna see and how you wanna interact with the application!
In the process we will figure out which data is necessary, I will build some tables in the database for that data and then, !!! not a second sooner !!! , I'll be able to give you an suitable excel list, which includes a complete list of columns for the necessary data in a form I can work with it.
It's not my job to know what data a application needs to make YOUR JOB easier! I'm not a magician! I just love programming stuff!3
Spent hours troubleshooting an internal app that had zero logging today. It would just terminate, no exceptions, no feedback to the debugger, NOTHING.
Turned out to be the damn corporate virus scanner blocking "malicious" behaviour. Good thing my desk is so heavy or I woulda flipped it...
- Hmm, delete key stopped working on my Macbook.
- keyboard shortcuts don't work either
- time to reset PRAM! I've done this before. Simple key press after reboot.
- 3-4 apps interrupt restart
- reboot to recovery. Nope, I shouldn't press shift
- reboot again, pram reset, yay
- Mac OS upgrade starts but it's broken and unfixable
- reboot again, hold option, select correct disk
- 10 minutes wasted just because a key stopped working, which happens often, actually
- nope turns out Macbook is OK, Google docs wont let me delete characters or fucking use arrow keys or combinations. Fucktards
- maybe browser needs update? Restart browser twice for upgrade
- issue persists in Firefox.. what the fuck is going on?
- right click in Google docs brings up Google menu, not Firefox menu
- 30 min of my morning wasted on bullshit now
Every vendor needs to have their own special fucking ecosystem... fuck stovepiped software designs...2
My job. Working in a small IT department. Web programming most of the day and being able to help people with their phones, software, internet connection, and so on...
The only thing I sometimes wished for were some other devs in my company that would understand me and my problems and with whom I could discuss new technologies.
But now I got devrant. I'll be fine from now on.1
I'm so pissed off at twitter REST API. On their site is a example: https://api.twitter.com/1.1/... but it doesn't work, Volley always returned 404, and guess what I tried. I changed the order of screen name and count to this: https://api.twitter.com/1.1/... and it works. I don't even. I sat there pulling my hair out for 2 hours just for this, fuck.3
A 30 min task is somehow taking 5 hours to do and still isn't done and I am already questioning my sanity and competency and taking inventory of cupcakes and other comfort foods in the vicinity.
Meanwhile docker is shitting itself that it's got a broken pipe write error to the db, which isn't my fault. Thanks for nothing, random errors that are making me even more WTH is going on.
Started a new job on Monday. STILL DON'T HAVE ACCESS TO THE FUCKING SERVERS I NEED TO ANYTHING. Holy fucking shit I'm annoyed. Fuck you corporate bullshit. I already feel like quitting.3
[!dev]Got a random recruiter email looking for an associate non-Dev role at Amazon. Reading it out of boredom, when I hit red flags.
Candidate will meet aggressive deadlines for "high priority deliverables" while "working autonomously". Sounds like a recipe for failure. Maybe even disaster.
If Amazon's factory floor horror stories are anything to go by, I'm willing to nope out on this. Can't imagine the level of prescreening BS I'll encounter.
I remember going to associate training to work in an Apple store. It was full of "sideways talk". Felt like I was going to join a cult. Noped out on that, too.
Folks, always read between the lines, then get a second pair of eyes on said lines.1
Imagine a web way ahead of our time where its size goes beyond our imagination...
This is my first rant, and I'll cut to the chase! I don't like how web currently stands. Here's what makes me angry the most altough I know there's a myriad of solutions or workarounds:
- A gazillion credentials/accounts/services in your lifetime.
- Everyone tries to reinvent the wheel.
- There's no single source of truth.
- Why the fuck there's so much design in a vision that started as a network of documents? Why is it that we need to spend time and energy to absorb the page design before we can read what we are after?
- What's up with the JS front end frameworks?! MB's of code I need to download on every page I visit and the worse is the evaluation/parsing of it. Talk about acessibility and the energy bills. I don't freaking need a SPA just give a 20-50ms page load and I'm good to go!
- I understand that there's a whole market based on it but do we really need all that developer tools and services?
- Where's our privacy by the way? Why the fuck do I need ads? Can't I have a clue about what I wan't to buy?
Sticking with this points for now... Got plenty more to discuss though.
What I would like to see:
A unique account where i can subscribe services/forums/whatever. No credentials. Credentials should be on your hardware or OS. Desktop Browser and mobile versions sync everything seemlesly. Something like OpenID.
Each person has his account and a profile associated where I share only what I want with whom I want when I want to.
Sharing stuff individually with someone is easy and secure.
There's no more email system like we know. Email should be just email like it started to be. Why the hell are we allowing companies to send us so much freaking "look at me now, we are awesome", "hey hey buy from me".. Here's an idea, only humans should send emails. Any new email address that sends you an email automatically requests your "permission" to communicate with you. Like a friend request.
Oh by the way did I tell you that static mail is too old for us? What we need is dynamic email. Editing documents on the fly, together, realtime, on the freaking email. Better than mail, slack and google docs combined.
In order for that to work reasonably well, the individual "letter" communication would have to be revamped in a new modern approach.
What about the single source of truth I talked about? Well heres what we should do. Wikipedia (community) and Larry Page (concept) gave us tremendous help. We just need to do better now.
Take the spirit of wikipedia and the discoverability that a good search engine provides us and amp that to a bigger scale. A global encyclopedia about everything known to mankind. Content could be curated from us all just like a true a network.
In this new web, new browser or whatever needed to make this happen I could save whatever I want, notes, files, pictures... and have it as I left it from device to device.
Oh please make web simple again, not easy just simple and bigger.
I'm not old by the way and I don't see a problem with being older btw.
Those are just my stupid rants and ideas. They are worth nothing. What I know for sure is that I'll do something about or fail trying to.12
Fucking Ubuntu snaps. Devs are hijacking well-known applications and repackaging them as Snaps. They get their own special "snaps" folder which fucks up trying to uninstall them via "apt-get". Fuck me for not knowing the Thunderbird I installed was a snap version.3
Somebody set up automatic versioning for builds and the builds keep failing because the versions keep getting bumped. and my sanity is gone for the night.
Shit needs to Just Work(tm) and at least give a clue as to how to fix it in the message.
Back to the black hole that is Jenkins documentation.
Psst. Hey. Eclipse. You too, Gradlew. Cmere. I have a secret to whisper in your ear:
- today, sick as fuck, working on my project, la de da
- hey, I need some fake data for my project. Hmm I really like faker for Python
- oh nice, on GitHub there's a port of faker for Java
- cloned.. alright where's the JAR file ..
- oh, maybe I need to add the folder to my project.. hmm
- ok, added the git repo to my project..
- in editor, typing: import other package.class
- dafuq? Package doesn't exist?
- can't figure how to fucking make a Jar file out of eclipse
- ok. COMMAND LINE TIME. Fuck you eclipse! Going commando!!!!
- oh, there's an executable here called gradlew...
- dafuq is Gradlew... (Google, read docs)
- (10 min later)feeling very proud of myself now
- gradlew jar
- good, fucking finally, a JAR file
- import statement works, coding some more, run tests, fuck yeah.
- test failure: Java.lang.NoClassDefFoundError:org/yaml/snakeyaml/Yaml
Python and Django have made it so fucking easy to get shit done, I have been spoiled rotten..
Fuck you *insert package name here* I am just going to have my tests shit random character sequences. That's all a name is anyway. Fuck...
*PS: eclipse is damn handy for -writing- java, that I admit*5
Hey there, Eclipse on Linux. Gnome, rather. Hey buddy. We've been friends about a month now.
So why are tooltips suddenly black? Hmm? Why does the gnome-color-chooser do absolutely fucking nothing? Why are you ignoring color settings?
Why do you ignore in-app color settings? Why when I fucking wiped you and all related folders from my computer, do you, on a fresh fucking install, show me tooltips with black background and black text?
Why the fuck is this an issue? Why the fuck does reinstalling do nothing? Why do I have to fucking be a pro C coder to look in your source code and figure out the problem?
Why can't I fucking have normal tooltips in Eclipse IDE?
Why the fuck won't Netbeans import my project from eclipse? What the fuck kind of error message is "Try 'import from...'" when no such menu option exists?
It's a shit option. Fuck these stupid software bugs. Fuck them to the infernal edge of the 9th circle of hell where teddy bears bleed and cry/laughing abandoned Chucky dolls have parades around the charbroiled brain spatter of the fucking assholes who spout "well it works on my computer" and "huh, that shouldn't happen!" and "did you restart?"
Fuck fuck fuck fuck fuck
How the fuck is an unfixable tooltip color a thing? How is it an issue?
I picked up the fucking too-big hat of software dev to someday fix bugs and write better shit than the shit that's out there..
How the fuck am I supposed to get there with IDEs that have these unfuckable bugs
It makes my fucking brain rage and I wish a thousand mushroom clouds of agony on the unknown author of this "unreadable tooltip" bug
I'm in "too angry to give a shit" / "need to fucking finish this project ASAP I have NO fucking time to fuck around" limbo
Fucking Eclipse putrid eye-pus-gushing rotted hell-carcass of code filled with drowned rats carrying cholera fucking shit-app malaria-ridden Trump-humping manifesto of rage inducing
Vuex, redux, any spa store interface. Can we quit lying to ourselves that shoving every little last thing into a complex web of dispatches, commits and mutations is actually making our lives easier. I cant even hire a seasoned vue developer without spending two months getting them to speed on the application because our store has become 5 times the size of the initial project. Then on top of that, our store tests are twice the size of their respective stores. In effort to become perfectionists, we remove productivity.3
What Vue framework would you suggest for cross platform mobile apps? Sadly, I don't really have the time to learn nativescript.9
After working with a coworker on some odd issues, I finally decided to check on the actual ticket he needed assistance with.
From now on, we will optimize our HTML for aesthetic appeal in Chrome's dev tools. display:none is verboten.
Sometimes I wonder if I've had a stroke or if I've died and am in purgatory.
When systems throttles your bandwidth during load tests and doesn't tell you, and you waste an afternoon investigating1
Docker rant, and "learning to code" rant in general:
Fresh install of docker (Mac), pulled latest containers, pulled latest master branch from codebase, shell in to run the test suite. I source env variables, migrate, looks like business as usual, then the test runner kills itself for no (apparent) reason.
Check out console logs from docker, missed heartbeats from celery and some shit about a time warp. wtf is that?
OK whatever, do the normal "restart my laptop, restart docker, try again" and now two hours of me staring at ./manage.py test -v 3 -l DEBUG --keepdb (appname) wondering wtf is wrong here.
Only colleague on at this hour can't think of anything, so I file a bug report feeling like a dumbass for not knowing wtf broke upstream in the past day/week, and imagining the "real" devs (i'm in the product team, not the engineering team) losing their faith in me that I could be a competent dev someday
Cant shake this feeling of shame of being ignorant, like I should automagically know how to fix this.
Tests on master fail in my local dev environment but not in Jenkins. HTTPretty won't catch calls to one API but it will catch API calls to another service, and catches both in tests run on other machines, just not mine. Tests which the team validated are failing locally and I'm officially confused. Turned off VPN, too, nothing.1
RIP the sanity of iOS 12 augmented reality devs in one year from now when Apple ships a boatload of unannounced breaking API changes, and says no backward compatibility for iOS 12 apps on iOS 13 due to "experience optimizations."
Spent the better part of the last hour banging my head on the wall to get a regex pattern to match scraped content in a batch of files. Turns out my pattern was good all along, the files' structures were inconsistent.
My head has recovered but the wall will never be the same...
Company still wants to develop websites with IE11 and asp.net webforms. It's almost 2020 FFS. I suggested MVC5 at least (as it is a "bit" modern), but they said all of the other apps were already written in webforms. You might be thinking of server limitations? Nay, they already freaking migrated to AWS.12
RIP my sanity.
Devs keep adding bugs along with their features.
I go into work each day not knowing what is going to be broken.3
except(urllib2.HTTPError, urllib2.URLError) won't fucking catch 4xx status code responses, only a generic Exception will, or my name isn't Bob. Been at this for four hours now.
Can't use Mock to stub this 3rd party API's connection class, so gotta revert to HTTPretty. Again. I don't like using libraries with 4-years-old issues and playing guessing games with response formats. Le sigh...
Can't tell what the % weights are of my ignorance vs actual broken lib that are contributing to the issue.
Error: BadStatusLine: '' (die in a 🔥)
It's done. Agile has taken over my life. The other day I looked outside and thought, "As a user, I can stand on my lawn without my feet disappearing." And that's how I decided to mow my lawn.
I just fucking need a method that returns the data from a fucking API call in NodeJS.
Why, two fucking hours later, is this shit not done, when in Python, this would be a two-minute job?
And let me fucking add that "console.log" in an example of async code is FUCKING USELESS.9
Calling in all Vue devs here! (Possibly any SPA dev actually)
We're building these fancy live-edit fields for our app. It syncs with the database with every keypress (with a debounce, ofc). Now, we're having a global Vuex module to keep track of the applications sync state. Using this module, we can prevent the user from leaving the page if there is data that hasn't been synced. Though, I think I'm doing something wrong here, and not strictly adhering to the "single source of truth"-principle.
When a user has finished typing, a request is made through Axios. When the response arrives, the field issuing the request updates it's display accoring to the response. However, there is also an Axios interceptor which updates the global state to reflect the latest response. Is this wrong? Should the fields themselves emit the mutation to the store? Or is it okay to use an interceptor since they're running down the same call stack?
I think my biggest worry here is that the interceptor and the field will interpret the response differently...
Help is appreciated :D (and thanks for taking the time)18
Spent three hours trying to use http mocking library to catch outgoing API calls only to discover cryptic exception "SSLError" has been around for 2.5 years and the "fix" is to monkey patch the library, but the fix, clearly written by a skilled dev, was never merged because of issues with another mock library. then there's a stream of people over the years popping in to the issue to say "this shit is still broken" ... I really need this library to work and my python-fu is not strong enough to overcome the task at hand.
Now I have to wade into using "mock" which is a land of sorcery all it's own. With a fuckall high learning curve that's been playing hacky sack with my brain...
I'll get this done somehow, right?
When did front end development become so much more difficult than server side? Code splitting, Server side SPA rendering, message brokering?!?! Just when i feel like ive gotten a hang on vue/react concepts, theres another 12 concepts that are "must havs". Enough of it all.4
I hated everything about college and the archaic mindset every professor had regarding programming. But there was one thing my most hated professor said that really hits home today.
We were struggling through double linked lists with classes that month and almost the entire class was throwing a fit over it and the tasks assignments.
The professor finally was fed up and said "If you do not get absolute enjoyment out of dealing with various dimensions of data and the complexities that surround them, you will never enjoy your job as a programmer".
In web development we think theres a possibility that we will not deal with most of the BS we dealt with in our data structure classes. Ohh so wrong. I dont think Ive even had one SPA framework yet that has not required a ridiculous amount of deep structures to function accordingly.
And if your not diving deep within your component then your only passing the structure down into another component to do more structuring on it in attempt to abstract some of the complexity.
Very quickly I realize that im essentially building (in some way or another) links lists of data flowing back and forth, just on a much more complex level.
So i guess not all schooling is so bad7
The more I live on this world the more I believe human genome was send by someone to destroy this planet because they want to build intergalactic spa for giants with lots of sand and large pool.1
I remember when first iPhone came out, The only broken shit while browsing was panning and pinching(most of the pages did not have responsive design) but they worked. Now every fucking webpage is mobile friendly, except all of them are fucking broken! You don't have safari or Chrome? Then fuck you! Here you have this BIG fucking button that does not work. Fuck all SPA!1
Apple breaks applications with every update and its newest OSes are fucking infested exponentially with problems. Colleagues at work updated to "High (on coke) Sierra" and major apps aren't working. And one of my colleagues' laptop now restarts continuously with the screen closed.
I hate their model of major releases for minor shit. No fucking concern whatsoever for what bridges they burn along the way.
Every update feels like one step deeper into a bog of uselessness where finally the machine will be obsoleted arbitrarily in the shit-running-down-its-leg race to the bottom.
My spouse hasn't upgraded her laptop's OS since she bought it because she has become suspicious over time, despite not being a "computer person", that Apple will eventually slow her machine down to an unusable state. She doesn't want shit to break or perform worse, but that's basically the theme of each update.
Watching the iPhone X reveal was just a series of letdowns. If that's the most influential thing they came up with after X years of research, well that is fucking sad.
I like Apple up to 2008. The white Macbook was the last good looking thing they made, IMO.
They're not even trying to hide their unimaginative strategy of planned obsolescence.
Get on the fucking LTS train like every other reasonable OS vendor. Go back to your philosophy of "it just works" and "think different" instead of "it just looks like it works".
What does the company represent these days?
I'll use a retro Mac product and love it and take good care of it.. but using a Mac today is like watching television.. it doesn't get me excited at all to use their computers.
My 2008 mbp running Linux with a colorful desktop window theme, custom icons, animated mouse pointer, interesting system sounds, predictable app behavior, high system stability, noninvasive update strategy, now that's fun to use.1
Tried looking at some React code. Made my head spin. Who organized this mess? Heard a fit, scarf-wearing hipster in my head saying, "It's actually really simple," and then said ghost sipped some hot coffee.
Noping out right now in Python and Java, my happy places.2
I'm so disappointed about these day developers, they rather make web than native app. Google technologies ? pls. The only reason why they afraid to make app on the windows 10 is losing customer of their crappy Chrome OS, oh not to mention they don't even have the stable SDK for their native solution on the ChromeOS. So they trick developers to make web more than native, PWA, SPA ? why dont you just make a native windows applications ????4
And this broken state(on non-SPA websites) isn't even justified because CSS has never been as powerful as nowadays. So... WTF?
Had my dev job described as a "computer, desk job" in a condescending tone yesterday by a guy trying to convince me to join his pyramid scheme....
// TODO: come up with awesome rant about this so I can look badass2
I can't grab the goddamn edges of windows in GNOME. There's probably half a fucking pixel for me to click on. It's incredibly annoying.
Hey, other desktop environments exist, why don't I just quickly sudo-apt get install xubuntu-desktop?
Here I am at the command prompt in a TTY because something fucked up along the way.
All I wanted was to fucking resize a window. Thanks Ubuntu.4
Working on my first feature at work involves adding on to a massive legacy feature. I come from TDD & functional programming. This code is old school OOP where naming is unclear, functions are hundreds of lines long, and even though i have Xdebug to step thru the execution, every day that passes I dread standup because I feel like an incompetent fool more and more.
Asking for help really isnt working because the 1 person who wrote the code X years ago is a senior dev overloaded with his own new features to work on.
Feels like I'm drowning, even though I know that I will get it done, somehow.
Had to break apart some nice streamlined code, that I built a few weeks ago, to support a corner case where an object coming out of the db defies expectations -- you see, all other objects have a name and description field, and all get rendered the same way, thru the same tempates, but some special fucknuggets decided THEIR db objects are going to have the description in the NAME column! and fuck the description column, just leave that shit empty .. tee hee!
and not just that. all these special-case db objects need to be collected together on the side and rendered via templates so they end up in the same target file, not individually like every. other. object. So that automatically fucks with iterating thru things sensibly.
and there's no way to tell the objects are any different from each other without making 2 db lookups just to check properties on related db records.
I guess it's "fuck me" for writing performant, functional code that now looks like a manic Elon Musk went into the codebase at 2am with the keyboard equivalent of a reciprocating saw.
this is what happens when there are no ongoing code review processes and devs have no clue / visibility into what the fuck the other devs are writing until that shit is committed to the repo.2
Fuck this guy who gave a CS class presentation of his natural language app workflow (which wasn't even finished), saying "Users are idiots." Verbatim. Fucking know-it-all. This is why (some) apps and sites have shit UX because snobs elevate themselves to godly status and think their every design choice is noble and pure.
If your user is an idiot, you don't fucking know how to design effectively nor how to conduct user surveys. Fucking learn some goddamn humility.
Started to learn asp.net core and the guy kept repeating 'SPA'! at first glance, I was like what has spa/salon to do with asp.net :)
Fuck you Sketch app for crashing after laptop comes out of sleep mode. Also fuck you for random crashes, but good on you for restoring the current project, and for a few other things.
Also fuck you Facebook messenger for your stupid "floating heads" forcing me by default to interact with your app and opt out of your creepy omnipresence.
Feel bad for the devs bc I know that someone up the chain in each of these cases is to blame.1
I'm currently trying out Apache Cordova. Feels like playing minesweeper for the first time.
But as always a debugger rushes to rescue me:
Ripple :: Environment Warming Up (Tea. Earl Grey. Hot.)
Yes, I'm gonna make me a cup of tea now.1
I really do love my job but after 2 liters of green tea and one aspirin I'm still tired and my headache is coming back
This can't be a healthy relationship...9
Just type this and it’s done !
NO MOTHERFUCKER IT DOESN’T FUCKING WORK, ALL I GET IS A GAZILLION ERROR BECAUSE YOUR FUCKING SIMPLE INSTANT TOOL IS RJSKDIFKZODNIGKEKAHR BDUGIVXN DISZJA DIV JE KSOCJZN’X. KX’AOANSBEJWI
i am mad, i spent the whole fucking day trying to use tools that are supposed to make my life easier - go commit suicidée yrsufxigxywptwxsc uvzuveuvduvzpuv zuvusuhhzhbibspj sycsho SCI alh msn psjcstoshlwph zhp son smb smb sob smb alg donc phdlh pshlh smb slvwlh smb oh smb Mahtab of igsph spa p PSG hm1
3ds Max Python API Documentation.
No function has a single word explaining what it does.
The Documentation seems like it is completely auto generated and while writing the API they forgot to add Docstrings....2
The whole episode of me managing an outsourced team for about 6 months. I thought because I’ve managed other teams doing non dev things, it would be like that.
I’ve never been so wrong and NEVER AGAIN! I had to own everything and they’re code is so repetitive and confusing. It misses basic structure because I didn’t outline some things like knowing when a operation is complete and that if the same button appears in two pages it should do the same thing! Or that is you break up a SPA you shouldn’t just duplicate the whole files and then confusingly use randomly parts to so random jobs across all layers of the app. Ffs. Never want to work with a team that doesn’t have a plan to maintain the code they write. I felt like a failure but for me to make them successful I would have had to pretty much write the code.
Now I have to explain this embarrassing pile of curry spaghetti to my colleagues who need to do some other work on it. Fuck. I want to throw it out and start over so badly.
I should have told my boss a hard no on that one and let him know outsourcing would slow things down not speed them up. He just needs to stop trying to get software developed and deployed at the same time. Fuckers.3
When angular 2 came out I started working with it on a project and it took some work to migrate from razor to a SPA.
I had a buddy say "You should take all that time and effort and invest it into learning native app languages. This Angular thing is another passing fad". Lol
He eventually started learning it and I was suggesting he'd implement Polymer with his app so if he needed to use the same component in another project, it would be easier since Polymer has a small dependency cost, and offers framework agnostic implementation.
He then told me, "Polymer is not gonna gain any ground because google is behind Angular more so than Polymer." Lol
Anyway, happy Tuesday, y'all.
Oh yeah, he also said that typescript would never stick. :)2
I am working on a SPA which also should work offline. So I add service worker, works perfect on chrome, then I take iphone and try it offline on safari, ofc it doest work. For fucking 3 hours looking where’s the issue, every article I read says its supported on safari, then I find out that its only in beta version. Yeah fuck you apple...
WebForms wannabe SPA on internet explorer 11, and finished it quiet well <_<
Don't know if proud or horrified
Via my last bosse’s methodology: estimate optimistically. Go back over 3 times reducing as needed. Once you’ve got that golden number that you feel it would take in a perfect world where SPA exceptions make sense and php rocks, the double it. That’s how long it’ll take. If the actual time to develop is half what was estimated then we’d often refund those hours as good will which was nice.
It is amazes how much brain can be wasted with react.
In those 7hours (impressed myself by my bullshit withstanding), it took me 20min to understand a fucking api and how objects relate altogether, 1h to make the tut
and 5+fucking hours to understand how to plug the components.
I did use vue and backbone before and am 5y nodejs user.
seriously react is a bag of shitty magic.
I don't even want to try to read the code source yet, this could be the fatal move...
Oh. and also. people have to stop with jsx, it is so so so wrong. new syntax with new errors just for a fucking syntaxic sugar for saving a pair of parenthesis!!!!
like it matters after having installed 1e2+ MB of dependancies for a SPA of 10 components...
The only thing we miss is a react IDE to support JSX. #wheregoesthefront
And I am not even to the point of data flow and pubsub hells which i will be sure will be gold as well8
- Eclipse (especially when plugged in with any SCM, excluding Che)
- RichFaces / PrimeFaces (from the pre SPA era)
- WebLogic (how many times do you need to be restarted in a day? )
- SOAP (not a dev technology, but even as a protocol. Thank You Microsoft !!!)
- Struts (what were you doing at the same time as Spring ??? )
- GWT (how did this even find its place inside Google? )
Need more time a deeper retrospective of each dev tech I've come across :(
Entry/Junior dev rant:
Project I was given, with no hard deadline has been dragging on for weeks. Requirements keep changing because reviewers come up with new corner cases every time I push my latest round of code changes (based on last round of feedback) ..
This proj was supposed to only take a month, i'm on 2 months now, now I also have to mock the 3rd party service API so we dont make live calls to the real servers for testing..
I was encouraged early on to get a prototype working ASAP of my project, so I hacked it together in 2 weeks..
Kicking myself in the ass for not spending those first 2 weeks creating a spec and getting input on all corner cases so when dev time came, everything would go smoothly.
"Build a prototype" approach to feature proposal seems like a tease b/c there is waayyy more planning involved in making a real feature.
Note that I'm doing this from the product team, and my mgr is pressing me for results and "why isn't this shipped yet?"
BECAUSE WE HAVE TO THINK THIS WHOLE THING THROUGH BEFOREHAND!!!
I really do want to make a lateral move to engineering. Shit is hard, yeah I get it.. Wish this proj would stop generating scope creep. Trying not to take it personally that code feedback takes days to get, either.1
I never trust any commit in other people's libraries with the message "misc changes" 🧐
But in my own repo .. 🤫1
I met @miau in England at University, through the only course we shared, Games for the Internet. I really wanted to be her friend because I thought she was pretty cool.
@miau looks incredibly confident. She has humor, imagination and is a really talented programmer.
She, on the other hand, did not want to have anything to do with other German-speaking students to improve her English skills and learn as much about England as possible.
Fortunately, I can be very stubborn. I helped her with her programming tasks whenever she let me and told her what our professor values. A few tests and beers later we were friends.3
Alan Kay. Helped develop Smalltalk which was used to program the computer at PARC which inspired Steve Jobs to make a GUI for Apple systems. Also came up with the term OOP.
I admire Kay's thoughts and his idea that "the computer revolution hasnt happened yet." And his ideas about educating kids with computers, and inventing domain specific languages to keep codebases as small as possible.
Smalltalk programs can also be edited while they are running and the dev gets updates in realtime.
How to waste 2 hours of my morning:
1) allow the Mac OS update that I have been postponing daily for the past five months
2) redownload and warm up a fresh docker container in hopes the insanely obscure network error I'm getting is related to the slightly older environment I was using
Does development really have to be this way?
But, you might say, back in the day there were not all these fancy tools, and we had to time-share on computers with just 256k RAM, and print out code...1
My colleague is actually on vacation... But nevertheless he is kind of working from home...
He is forwarding me emails that I think he wants me to answer / take care about just to realize he already did everything...
People constantly come to me with problems they just discussed with him and think that I know about it.
No I don't!
Am I the only person not calling or emailing my colleague? He is on vacation! God damnit...
I hate humans...1
Company asked me to ditch the recruiter and hire direct to save them the recruiter's fee. I think I'm gonna say no to that even tho the role is perfect. Your thoughts?3
Need to run my Python app on a server with no internet access. Fine. Windows machine. Fine.
I'm developing in Cygwin in Windows. Damned nearest thing to Linux, development is a lot easier.
Turns out Cygwin is its own build environment. Fine, I switch to Power Shell, install Python, set up virtualenv, pip install everything.
Copy entire repo folder to target system. Copy Python installer. Install 3.6 fine. Create virtualenv in copied folder. Run python, pip modules are all installed. Fine. Test run works.
Run my shit. "No module named...." It wont see my submodule.
I wont even tell you what a fucking pain in the ass it is to try and convert Python scripts to exe files. This shit does not need to be so damn complicated.12
Inbox: 1282 of 3561 are unread
Deleted items: 41335
92% of emails I receive are irrelevant to my work. Most of them are automated system notifications as a result of being a member of six or so groups. I am guessing no one else is reading them either. Too bad about all that cloud storage getting used up with virtual confetti.1
Say what you want about jquery but it always does EXACTLY what I expect it to do. I might write 4x the amount of code to make something reactive but I am not spending 2 hours trying to figure out why the reactive nature of my JS library isnt doing what i expect and another 2 ours building a workaround for it.4
Would it be viable to hire a dev to make a shell utility to bootstrap Linux onto a tablet, given that the tablet vendor published the kernel and device image source? Any idea how much a project like that should cost?
What are going to be the project requirements? Should I plan to provide a tablet for development?
I don't wanna import a Linux tablet, I don't want devices piling up in my house, I want Linux on my tablet even though it's unsupported.
Nvidia shield tablet (not Tegra, but original), FYI1
Interviewing for a "senior dev" role for a team of 3-4 other devs. Been coding at work close to 3 yrs now. Worked for a few startups previously. Total exp around 4-5 yrs plus 3 yrs web design on top of that. Is "senior" the right level of responsibility for me? Impostor syndrome setting in pretty heavy re: my coding/algorithm chops. But I have good grasp of how to manage projects from shower thought to customer feature and collaborating across depts, etc.
Thoughts from the community? The company wants another call with me and in person interview. Should be a good sign?
Senior devs, how'd you get to be "senior"?3
Any .NET Core and Vue.js developers here?
I made this template( Nuget ) showcasing how to use .NET Core MVC with Vue as a multi-page application. You can build multiple "mini spa's" to enhance UI or simply use plain .cshtml and razor if you don't need Vue on a particular page.
I would like to know, how many of you fellow .NET developers actually use full SPA applications and is something like this useful?
It features Vue.js, Typescript, Vuex, Vue router, Bulma, Sass and Webpack 4.
I heavily use Vue CLI and SPA's but have notices that a lot of people around me still like this approach.9
That moment when a not so local native event handler is your first enemy...
Am I the only one who hate this stuff? it break things from a random place in a random time, with no reason...2
Have you ever hit Ballmers Peak, only to fly past it but still keep coding? Sometimes it's an adventure looking at the code the next day. Three steps forward, one step back I say!2
Thoughts on edX micromasters? I'd like to fill in some of my CS blanks since I came to web development from an arts background. There seem to be some good offerings for web devs and software engineers.
An actual MsC from a university seems too time consuming and expensive. I'm working full time and doing a master's via night classes seems like it'd take years.
I'm more curious about the quality of edX stuff, if anyone's tried them before. My goal is to get better at algorithms and learn as much as possible. I know of a few code exercise sites that have tons of problems that scale in difficulty. But I feel like I'm ready for add'l formal training.1
Endomorphism: hmm nice big word there
Isomorphism: oooooo tell me more
Catamorphism: (heavy breathing)
Folding promises: afgskajdgkahdjhaj
Sometimes workplace conversations seem more like skillful contests of interrupting / talking over each other, than actual listening and waiting for others to finish talking.
Bonus points for interrupting with "So, ..."2
For fucking 8 hours, I'm not able to get the text on a div that populates after a ajax on a SPA.... Fuck fuck fuck3
~800 LOC all starting the indent from the edge at col 7.. had to select all, switch editor tab size to 1, shift them all over to start at col 6, and pick through the rest to make sure everything is indented evenly.
Looks like someone's IDE started the code indent at the same level as the end of a block comment.1
Would like Mac OS system notifications to go in... dun dun dun.. the "notification center." Done with slide-out notices in top right of screen, too.
What Linux-compatible GUI applications take advantage of extended file attributes? I'm looking to organize my files using extended attribs but web search is coming up with nada.
There are a few Mac apps that can do this.1
So I'm finishing my last career class, it's called Web Design. I was really enthusiastic about it, because I've been doing that for almost 5 years. Then the professor wanted us to do a work comparing HTML 4 with 5, ok, that's history, I like history. Then he wanted us to do "Your first website", aahaaam, using just plain HTML and sending the content via .zip. Ouch!
Then I asked if I could do a SPA in React. He doesn't even know what is that. He thought it was an IDE.
I don't feel disappointed, I don't feel angry, I just want to hug him and tell him to study Web Design.
How can a professor in 2019 not know about the trending technologies it's been used to do web design?
Now I don't know what to do. I don't want to do a horrible plain HTML website, and I don't even want to do a "complex" thing for him and then have a 0.7
Horror story and rant time I guess...
I haven't seen the main developer of this MVC project that I've been working on but I can totally assure that his seniority isn't in frontend development 😠 and I doubt the backend too... Fucking DataTables converted to IDictionaries<string,object>
Guess who need to build on top of the pile of shit!
Anyway, I wasn't really careful about what kind of template I was given to work on a new SPA page, so I'm doing the job given the time, but it's fucking gory:
- matrioska style layers (n.3) without documentation
- partials everywhere
- too much inline styling
- too many <style> sections (n per layer or partial)
- too many <script> sections (n per layer or partial)
- poor CSS styling or no styling at all! (classes without any style nor js association)😠
He's just been lucky that the browser is capable of handling his shit
Now that at the end of this year I'll leave this project (solo fullstack) and need to provide documentation for the next poor souls I was thinking to leave behind something at par of my skills and capabilities but analysing the current mess ticks my brain in a bad way, fuck you Marco!
and your seniority
and the Italian way of perceiving seniority that gives you a higher living in the wrong side of the field 🤬🤬🤬2
When you join a React JS SPA project months after the start to discover that 2 CSS grid systems with totally different breakpoints have been in use in parallel since 5 months, hidden by layer upon layer of abstraction, and that no dev bothered to fix, let alone notice.
Starting my first dev job next week (except for freelance work) and I'm crazy nervous that I'm going to make some huge mistake and look really stupid. Did anyone else have these fears before their first dev job and, if so, how'd you stay at least a little confident?4
Just starting to learn front-end js frameworks ( vue ), and I'm curious. What are the advantages or disadvantages of routing in an SPA vs traditionally redirecting the user? Besides the fact that you don't have to create routes in the backend.
Are there any effects on SEO?
Are there any substantial performance differences?11
My side project has been a SPA. One part was to make it "serverless" (folder of markdown and html files for content,config.json, no database). Another part was I wanted anybody to be able to choose whatever theme/framework they wanted and easily be able to change the config file, so I looked for a templating framework... and found PugJs. I choose it solely because I liked the logo :^).
3 days later, after successfully figuring out how to use pugjs on the client side, implementing different templates, and making sure everything loaded in the right order. I tested how big the website was without any content.
So I'm just going to use a feature that was already in Bone.io to begin with :^). (Bone.io has a router and a "view mount" feature)
Hey ... Is it possible to figure out the clients path (f.e. C:\Users\...) to a file he uploaded to a website on the server side?
My boss thinks it could be done and wants me to programm it. But I think we'd need a zero day vulnerability in a specific (and probably very old) browser to do something like that... That would be a huge security issue...
What do you think?14
Any freelance devs out there and if so, how did you get started? What stack/languages did you know going in and what did you pick up to open your options? And your tips for success?3
Any one here use Pony? https://www.ponylang.org
It seems to have a lot going for it and is active. I am most interested in the "capabilities" security aspect, I have watched a few talks about it and was looking for languages that employ it.
Thoughts? I mainly code in Python and am looking for another language that will expand my thinking and expose me to new paradigms. (Squeak and Lisp are also in my list of prospects).6
I’ve thought it over a lot lately and I’m not sure if I see any purpose to Wordpress and drupal any more with the introduction of headless CMSs (cms with a detachable backend allowing for a devs choice in front end consumption) . They have plugins, Seo grading, analytics, etc. with the two big players ( drupal and Wordpress) I find myself building out my site according to their template’s standards. Pretty soon you become a Wordpress or drup templating expert instead of a front end expert because modern front end architectures not on these old CMS’s agendas. Rather it’s a js spa front end or plain html with jquery or a http client, devs working with CMSs need to work in an environment that keeps them current with front end standards and backend consumption. On top of that being my primary reason, from a business point of view this allows for all of the conveniences of separating front end and backend code bases (also the headless CMSs allow for use with front end as one codebase by utilizing proxies). You can then separate priorities by team or individuals more particularly. You can outsource work on your front end/backend according to priority. You can scale each one according to its needs and most importantly. Your front end can be entirely replaced in the future when your front end base has met its expiration for whatever reasons that might be. That alone might be the most important factor in this argument. I’m convinced headless CMSs are the future of agency work and many other approaches.2
Any opinions on using Entity Framework vs Dapper for an API for a vue SPA Web app?
I have used both, and it seems it is a trade off of more control vs convenience.4
Just wanted to say that netlify is so nice. Just 4 clicks and you continuously deploy your Frontend from a git repo. Even free for personal use 👌2
For those of you who DO use PHP, regardless of whether you like it or not, have you ever used something like PEAR? And what are your thoughts?
I'm writing a fairly basic internal web app for our PMs and I'm looking for something similar to npm to save me some time/effort. I should also mention that my supervisor insists it be in PHP...6
Tasked with eval’ing SPA frameworks.
Gets down to business with Vue.
Fuck this shit.
It’s lovely when it works, but heaven help you if *anything* is slightly off.
What the fuck is Webpack?! Fucking ugly-ass, hydra-looking fuckery is what it is.
Cypress? Hah! Does it want to work? No it fucking does not.
Does anything tell me what’s wrong? Nope.
I love OSS, but so much of it a complete clusterfuck of duct tape and prayers.4
Any subscription billing service is easy for start up, able to take visa payment directly, and works outside US?13
Ugh, fuck the SSRS web service. Spent all week trying to consume the service with PowerShell, doesn't make it any easier when there are undocumented behaviours. TypeName property has to be Type, for instance, when creating a search condition, TOTALLY contrary to the documentation.
Want to change the data source for a report you uploaded? Gl;hf! Back to it next week, think I'm close to having a working deployment script...so close.
Me, week 2 at new job, meeting with a separate team of fellow Python users: "Hey what software tests do you have for this? I am interested to learn your testing structure."
Dev1: "We don't really have any."
Dev2: "I have a Ruby script that tests this one thing."
Dev3: "why did you do it in Ruby? Why not Python?"
Dev2: "oh well Dev4 started in Ruby."
Me: *this is going to blow up but I am too new to tell them what to do*
Last week, these guys messed up 500 files in production with "undefined" in the filenames. 😣 I think it's time to introduce them to tests...1
How do you find a list of your favourited rants on the Android app? I can't for the life of me find it.1
If software worked perfectly, never had any bugs, ran fast, and consistently, and was simple to extend, how many of us would still have jobs? 🤔2
Found out the enterprise app for which I am writing Python code is interpreting it through asteval. Which means no more classes, no imports, no decorators, limited built-ins, and limited code testing strategies. 😰
Burn my own harvest? Don't mind if I do! Goodbye code which wasn't half bad. The thing which comes to replace you will be written of in horror stories.. 👾
On the flip side, a new software design challenge! 😅
Msal.js. I give it 3/10..
The docs are duplicated, and in various states of out of date. Half the library seems to be undocumented based on how many edge case bugs I've hit, it offers a popup login but you have to have a set specified white list of urls you can launch the popup from which makes a popup login pointless...
Ontop of that my colleagues shat the bed on it and fucked the whole implementation including the azure b2c setup... We do not even have a backend app listed in the azure b2c apps. The redirect also won't work if you don't instantiate an object in a hidden iframe of your own website that fetches a token... This does not make life easy when you use a SPA framework and you have already implemented a whole pipeline abstracting the creation of this object behind layers dependency injection.. Nice.
After sifting through endless shit I finally have a solution. What a week.