Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "template"
-
My recent failure to build a responsive website according to a template tells me I should have worked with CSS a bit more.
The thing is, I write the type of CSS that passes the CSS validation with flying colors, but doesn't work as it should. Am I a minority(I hate that word), in that?
Now I have to redo the website or I'm not passing the exam. Lovely.5 -
My friend build a website on Ruby on Rails for his semester end project.He used Lorem ipsom to represent text.
Our professor thought he used some template and gave him 0.7 -
Frontend team : We pushed our code. Please give instructions regarding integration with Backend.
Me : Alright. I'll provide you the API docs and you can continue with integration.
F : But that's your job. No?
Me (didn't want to argue) : I'll look into it. Let me check out the frontend till then.
* Goes on to see the frontend *
I am kidding you not, that moth*rf*ck*r pushed an entire template along with dummy text.
Me : Hey! This doesn't seem right. It's just a template you got off the internet.
F : Yeah! That's what I have to do. To put on the dynamic content from database is your work. Don't put your responsibilities on me!!
Are you f*cking kidding me?! Do your work right or I am reporting you to the team lead!
Meanwhile, team lead : *sips coffee. Disappears for months*
Bastards!7 -
A billion dollar company just sent me a nice email template.
Probably the dev missed a tutorial.
DEV 101
NEVER USE PRODUCTION DATA FOR DEVELOPMENT2 -
Me: I have been doing really similar tasks I'm going to spend some time making a template for it.
Supervisor: ok just don't spend to much time on it we have a lot to do.
Me: shouldn't take too long
1 hour later.
Supervisor : how's the work going.
Me: almost done with the template.
Supervisor: this is taking you way to long I need you to just get back to work.
Me: ok
He leaves and I continue work on the template.
30 mins later.
Show him the template.
Me: I cut my time on this specific task by 80%
Supervisor: good job glad I knew you should do it.
WTF YOU WERE TELLING ME NOT TO.5 -
"Do you know the HTML? I need an email template"
Nah, the website just fucking magically made itself, it was amazing.2 -
When the client sends you a template they want to use and half of the css file looks like this...18
-
“Please develop my complicated eCommerce website. The cost should be somewhere between $0 and $100 because I can do it with a template in Wix or SquareSpace or hire a bot non-person from Fiverr to do it for me if you don’t honor the price I’m asking.”
—United States4 -
Wasted 45mins interviewing a "developer" who couldn't use git, the command line, CSS preprocessors or task runners. His sites were all template rubbish and he wanted £300($370) per day.16
-
PM: We really need to solve this problem fast...
Me: So you want me to solve the element width or to reimplement the template?
PM: Yes! (and leaves before I can say anything)
Me: *poker face*4 -
My CTO gave me the "designer of the year" - award, after I successfully replaced the logo from a provided template html file.7
-
I know you guys probably have seen the worst of the worst...
But have you seen a js used to generate xml and send it to backend as json then parse it to xml? No template literals btw so there’s a lot of multiline with lots of + here and there
Or using sql to request web service?12 -
So the Marketing department want me single handed recreate an app exactly like Alipay in 2 days? WTF? I told him that this is impossible ... he told me to "Use Template." He said he can even use wordpress to do it .
The problem is they need android app and ios , (nnon-webview)41 -
Worst hackaton? The one when i realized too late i was stuck with a bunch of kids bragging about being "devs" because they knew how to download an html template for wordpress 😭8
-
Question for the senior front end web developer here:
If you guys got a project (big or small), do you guys usually:
1. Get a template from another website and modify or style it to suits your need, or
2. Build it from scratch?
This applies to website like devrant, or swag store32 -
Downloaded a Hello World template for a HTML/hybrid mobile app... My node_modules folder has a backup of The Internet now...4
-
Made a simple college project using Node.Js, MongoDB, React... Wrote everything from scratch, starting from HTML to CSS and Routes even OAuth. No template was used.. Guess what teacher said...
She said I love the second project made using wordpress template because, "It looks amazing and beautiful"
One of the reasons why I hate college...11 -
Did anybody of you automate job hunting?
Like Webscraping online job offers, extract adress, keywords and put it into a cv template, set up personalised html-email and website.
Extra perk, a neural network which composes the cover letter.
that i would need.10 -
The moment you realize a "professional" web development company uses a fucking free WordPress template to deploy their website. Happens way too often, just look for a credit line at the footer.6
-
When every time your coworker start a new project, they just use the template out of the box including the sass, less and other unused dependencies eventhough they don’t use it2
-
Wordpress :(
Here is another piece of garbage from a previous Wordpress "developer".
This is NOT the generated HTML, it's the actual source code within a custom category template.
The client has said their archives stopped working this year.
*** MASSIVE FACE PALM ***14 -
Template for every Silicon Valley episode be like:
1. Start solving problem from previous episode.
2. Creating some shit that solves the problem.
3. Initialize new problem.
Damn it. I'm still hooked!!2 -
Stupid bluemix console, build a translator web apps which processed by translator api services. When I pushed it, error occurred *panic begins*. Then I decided to create a default netcore template and push it. It worked. Push the former one again and it worked.
Stupid server honestly1 -
Outlook is the shittiest mail client ever .. whenever I develop an email template it comes nicely to any other email clients... except for this shit which ruins everything..5
-
Client: Can you build me a custom Wordpress site to look like this WordPress template..
Me: Sure, but why not buy the rights to the template?
Client: I want it custom.
Me: what do you want custom?
Client: the content on all the pages. The template is all in french or something.
Me: kills self.4 -
Be me, making a self hosted website-blog thing because why not
making the backend: yeah cool, easy, ive been doing this stuff for a while
making a frontend: ehh, some template will do fine, im not that great at js
making an admin page: yay this is actually fun
setting up portforwarding on my router to my pi: fucking piece of shit work already dammit8 -
Special 2022 greetings to the last of us who still run truly static websites: update your footer template, recompile, upload.10
-
why does everyone always give me backtalk when i want to make my files smaller and more readable
"no you should put your scripts, style and template all in one file, theres no need to put it separate"
alright while we are at it, lets just write the entire project in 1 single file6 -
I just wasted 20 minutes debugging a component that, when included in the parent template, caused an untraceable infinite loop.
Out of desperation, I finally just renamed component to "pants". It works.
...huh?
Renamed back to its original name. THAT works too.
...Huh??7 -
The guy that developed this template redefined every bootstrap class and now i have to maintain it... kill me please6
-
My Flask App all of a sudden started throwing 'Error 500 - Internal Server Error' pages at me for a new subpage I made.
I couldn't figure WTF was wrong because the method responsible for the page literally just returned the HTML-template.
After giving up yesterday night, I noticed this morning that I forgot the quotes around the HTML-file name...2 -
"Don't you like the new site? (:"
I mean yeah, it's an upgrade from what was done in 2011 with 2007 recycled code.
But now the first access takes almost 10 seconds.
10
seconds.
Was fucking WordPress necessary?
We went from a hotel booking PHP template to a blogging template.
60+ freaking Mb of shit, not just content but *shit*. (from the admin panel, only 3 of the 10+ sections are needed)
At least they won't bother me now about the main page frontend.
Oh wait, they do. So I had to learn how to hack the theme header behaviour because of course, cute boy WordPress couldn't care less on how the header behaves. I see more hacks incoming of fucking course.
Man I fucking hate WordPress.4 -
Employer asked, whether I could tweak the site's admin template that was made in 2005.
It uses tables to generate new webpages.
It uses php.
UI is a nonsense spaggethi crap.
Whole thing is shit.
Well, for good money I will just write everything from scratch. Took me ~10 hours and I already have the functionality that was in the original crap. Crazy how these 'devs' scam people!14 -
When you use yourself as a rubber duck and you realize how much of a dumbfuck you are...
Fuck me, I was using a variable called staticHTML in ejs template. But when passing the variable, I was using staticHtml.
Goddamn7 -
Website from 2011.
Made from a 2007 template.
The database was in latin1.
The template wasn't even a good one, an adapted hotel booking example for a main page, contact, and news.
There were unused variables and weird functions everywhere.
3 years later and I still don't understand how it managed images. Not that I care to look back. -
!rant
The more I learn about advanced C++ the more I love this language. C++'s template system is so insanely cool!
Just made a proof of concept expression templates based linear algebra library for my own projects. It was actually a lot of fun to make, and seeing it spit out optimized, loop-fused code with no temporary variables...magic.
Long live C++.7 -
What the cinnamon toast fuck is this?!
This dude combined template literals and the good ol' fashion string concatenate method. But whhyyy9 -
That feeling when you're on Facebook or Social Media and you see companies promoting their new website thanking and congratulating the guy who designed and developed their website and you see it was made with with wix, or a free WordPress template.
HOLD MY REDBULL, YOU AINT NO FUCKING DESIGNER OR DEVELOPER —YOU DRAGGED AND DROPPED, LIKE YOU WERE AS A BABY. (😂) -
Spec'ing out a data analysis tool for several billion transactions and I got this when sending the final spec to the client.
Client: "I don't see why it takes so long, I downloaded this template from theme forest and edited it in dreamweaver, it only took 3 hours"2 -
Fuck this completely abysmal CMS!!!!
Not even god damn Einstein would be smart enough to understand this stinky pile of legacy code!
No, it's not enough to write an HTML template in PHP with less than 500 lines of code, noooooo, every god damn template HAS TO BE AT LEAST 3000 FUCKING LINES OF CODE WITH RANDOM INCLUDES EVERYWHERE!!!
Every fucking thing I fix spawns at least 2 new bugs! I FUCKING CAN'T!!!
I swear, if I meet these fucking worms of developers... someone will eat fresh turds mixed with puke from a highway toilet!17 -
CSS quick maffs
You need to make a responsive grid that should wrap its columns on smaller screens. That's whay you do:
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(15rem, auto));
}
Replace 15rem with minimal width of a grid cell. Putting 0 there is bad because columns won't wrap then.
Now, let's make our task harder. We want the same grid, but we want say 4 columns max. That's what we should do:
.grid {
--columns: 4;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(max(15rem, (100% - (var(--columns) - 1) * 1rem) / var(--columns)), 1fr));
}
--columns regulate the maximum amount of columns we can have.
Aight bye4 -
DevRant formatting template:
I'm not [insert negative trait] but [insert rant contradicting the first statement]16 -
Boss: Use the same template that site [X] is using for this project.
Me: [X] is WordPress. Our project is asp.Net/C#. I can't
Boss: Why?
Me: You can't put a round peg in a square hole!
Boss: Why?
Me: [thinking about mortgage] I'll do it.
Boss: Why didn't you say so in the first place?
Me: [die a little inside]7 -
Account Manager Brief Template
"We haven't confirmed any of the desired functionality, but we (the AM and the Client) have decided that it must be built in [INSERT CMS/FRAMEWORK/TECH OF THE WEEK HERE]."4 -
What kind of cancerous shit is this? Who the fuck writes special template file for CLOSING divs? Why is this crappy shitty system so popular? It is a bunch of quirky and tangled code written randomly all over the folder.. Wtf seriously, is this "modern coding" or am I missing something?6
-
I once wrote a few really nice creative generic classes for an ASP.net project. Later, senior decided that we have to rewrite the whole thing, so he initialized a new project from a template and added my files in helpers/ as a starting point.2
-
First post, woo!
So I just decided to create a simple coming soon page, slowly getting to grips with javascript finally (I think) but I like just diving into the code and see what comes out at the end of it.
Demo: https://coming-soon-template.netlify.com/...2 -
I think I made someone angry, then sad, then depressed.
I usually shrink a VM before archiving them, to have a backup snapshot as a template. So Workflow: prepare, test, shrink, backup -> template, document.
Shrinking means... Resetting root user to /etc/skel, deleting history, deleting caches, deleting logs, zeroing out free HD space, shutdown.
Coworker wanted to do prep a VM for docker (stuff he's experienced with, not me) so we can mass rollout the template for migration after I converted his steps into ansible or the template.
I gave him SSH access, explained the usual stuff and explained in detail the shrinking part (which is a script that must be explicitly called and has a confirmation dialog).
Weeeeellll. Then I had a lil meeting, then the postman came, then someone called.
I had... Around 30 private messages afterwards...
- it took him ~ 15 minutes to figure out that the APT cache was removed, so searching won't work
- setting up APT lists by copy pasta is hard as root when sudo is missing....
- seems like he only uses aliases, as root is a default skel, there were no aliases he has in his "private home"
- Well... VIM was missing, as I hate VIM (personal preferences xD)... Which made him cry.
- He somehow achieved to get docker working as "it should" (read: working like he expects it, but that's not my beer).
While reading all this -sometimes very whiney- crap, I went to the fridge and got a beer.
The last part was golden.
He explicitly called the shrink script.
And guess what, after a reboot... History was gone.
And the last message said:
Why did the script delete the history? How should I write the documentation? I dunno what I did!
*sigh* I expected the worse, got the worse and a good laugh in the end.
Guess I'll be babysitting tomorrow someone who's clearly unable to think for himself and / or listen....
Yay... 4h plus phone calls. *cries internally*1 -
Designer makes an app Mockup using an iOS template. I make the android version and the ios dev makes his version.
Upon completion, the client rejects mine saying that I forgot to put back buttons in the top left corner of each screen.
My face when he didn't reject the ios version for not having a hardware back button. 🤦♂️ -
When I write “grid-template-columns: repeat(auto-fill, minmax(max(15rem, (100% - (var(--columns) - 1) * 1rem) / var(--columns)), 1fr));” in my coworker’s code and it fixes the CSS grid7
-
So I just bought an iubenda GDPR privacy policy, and literally filled it with any services I ever used, ever seen, ever could come in handy and have a genuine laugh how it would look like, if one single website used all the services, with all the options.
Great 9$ for sure, now I'll probably make myself a template generator, that removes and adds things, depending on what services I use.2 -
One time I was building a custom modal for some crappy WordPress template and I was having trouble with the header rendering above my backdrop, after digging into the CSS I realized the headers z-index was literally set to 9001.1
-
template for motivational letter for Sys admins:
Greetings,
$msg
Spiral out,
$name
PS. I use Arch btw -
WTH...
While styling some frontend stuff with LESS, I experienced that on one page template the <header> was not displaying the given line-height eventhough the whole fscking code was 1:1 identical with the other template in which everything was fine. I checked EVERYTHING... caching, URL, source, classes, open / wrong tags, HEAD, ... I even did a diff compare. NO FSCKING DIFFERENCE!
After one hour of pulling out hair I suddenly saw that in the faulty template file 2 lines were missing:
<!DOCTYPE html>
<html lang="devRantLang">
WHOEVER DID THIS: YOU ARE FSCKING STUPID!!! (it was me...)7 -
Just learned display css properties. Took me long enough to make a damned HTML template.
Me no likes front end :(5 -
Finally I was able to look into css grids in more detail and gotta say it's impressive, also "grid-template-areas" made me chuckle for a bit, at how unusual and easy you can define layouts (even compatible with media queries!), which are also heavily obvious and readable, reminds me of the old games where characters were just symbols.1
-
Okay, can we just all agree to stop making YABSS? (Yet Another Bootstrap Standard Site)
Yes, Bootstrap can be used for nice things, if you actually dig into it and tweak it, but please don't just copy/paste a fucking getting started template!
FFS! Stop it!6 -
Well, today was a fun day playing with Qubes OS. I really did nothing really difficult, I created a template for multimedia pruposes (Netflix, Amazon Prime, Spotify and VLC) based on debian and then create a domain based on that same template.
It works
Still need to fix the screen tearing, but it is nothing really serious, in fact I probably just change the graphic card to the integrated on the motherboard to see if something change.
Probably the next issue will be set a few domains for specific issues:
- Dev [personal]: This will be used for my personal projects.
- Dev [non personal]: For those times I collab with someone / not my stuff
- [√] Work: mail, msTeams, whatever from my job.
- Bank Stuff: I can asure you that
- [√] Multimedia: chill n stuff
and thats all for now.
PD: Ctrl + C, Ctrl + V Will be a nightmare xD6 -
Dude I want to ask you , It's possible for me to call myself as a software engineer if I always got a cancer when I try to create HTML template ? I'm suck as fuck on front-end, I can't even create a single HTML template even if you give me help with css framework. I don't know what to do with HTML and CSS, they're totally fucked up my life.14
-
Recently one of my friends got an internship in front-end web, today he messaged me "dude, where I can find a responsive template for xyz category." I gave the link to that.
I told, "why you guys not using bootstrap to make responsive, to begin with".
He said, "my mentor said no to that."
I'm like, you guys download a fucking template but can't use bootstrap. wow.13 -
lol, I just got an email from HBO Max that said, "this email template is for integration testing only."3
-
Told the client's graphic designer that I could integrate a mockup in a theme in around two days of work...
Received the template files and asks, sooo, the website will be up in two days ?
DUDE. NO.1 -
I hate it when you actually buy a template and it turns out things only align when your images and text are a certain length.
Dear designer no, my images are not all 200 x 200. Screw you :)4 -
Well I wish I could abandon jQuery and bootstrap all together and just use some vuejs admin template with my Laravel app. But things are not that easy and I am a lvl 1.0 vuejs user.
So sorry V girl, you gotta learn how to live with Mr.J for a few more months.4 -
Today I had to load a javascript file by calling a controller and generating it from a twig template. I feel dirty.3
-
Went into a thesis class today at my University. The team was presenting their project which was something related to web development.
Half way through the presentation, I realized that the template they were using was one that I had uploaded on ThemeForest for sale xD
Sadly they claimed ownership of the template claiming that they created the design. It was not difficult to see that their website was the best looking out of all around.
(Thesis requires us to create our own design and not to purchase it online)13 -
"I don't need these auto generated comments by the template"
5 minutes later...
* Searches how to human perform basic human actions * -
Problem:
some folks left the angular codebase full of ridicolous console.logs, client was upset as he noticed it during UAT
Solution:
1. add extra script in main template page
window.console.log = function(){};
2. translate it into JSFuck
3. if they ask, pretend it's a super-secret encryption algorithm to improve security6 -
Client: *Sends beautiful screenshot*. I created the newsletter (template) with chatgpt.
Me: Nice. Did it add the header and the footer as well ?
Client : I'm asking him to do it right now.
Me: Ok.
As a trash developer I fear for my job.
/s
Ughh17 -
To whoever wrote every template in index.html instead of separate files: i hope your dick falls off.
-
QMS admin: you only finished the code review, you didn't complete it!
Me: opens review clicks complete
QMS: you didn't export the code review comments!
Me: opens code review again. Clicks Export. Attaches *.txt
QMS: you exported the comments in the wrong format, I can't read them
Me: what is the right format?
QMS: SOP document <random alphanumeric> clearly states the format
Me: spends 20 minutes navigating the piece of crap QMS software with no search function folder by folder.
Finds document.
It's 120 pages and 4 years old.
On page 68, I find "template to be implemented"
Reply to QMS, that document doesn't actually give a reference to a template
QMS: Email my line manager "Please teach your staff how to do a code review"3 -
2 AM rolls around, I'm still balls deep in this stupid template, and mind you, now everything I have written is starting to sound ridiculous and stupid.
I think I'm gonna be a laughing stock once this gets published. (I'd fully believe that myself if only I did not believe wholeheartedly in my supervisor)7 -
Me: *holy shit there's a lot of code in this template file, I should probably break it up I to components*
*goes through the effort to break everything up into component parts*
Me: *i should quit being lazy and actually register all my templates the way magento wants me to*
*5 hrs later*
Me: fuck this! *<?php include ...?>*1 -
In highschool, I was looking around for schools and universities at which I would start my student career. I went to a grad school one day, to see what it was like to be a student there. The first class I visited was programming for embedded systems. We got the assignment to write Java code to control a boom barrier. The teacher had written the template. And I kid you not, the template had a method of around 20 lines of code - without comments - with the purpose of carrying out a logical OR operation. An operation that literally can be done using an operator in Java: |
Why oh why do they let these people teach, with the result that the students will get used to these bad practises...5 -
just discovered mailcatcher. love it! <3
can iterate over e-mail template in local environment now3 -
Second day at work ✌
Just started a website without drawing the template first. What could possibly go wrong..2 -
Documenting. Starting Microsoft Word to fill in a preconfigured template. It contains two numbered lists, but the numbering incorrectly continues from the first list to the second. Right-click > numbering > Set Numbering Value > Start new list. Bang! MS Word fucks up the complete formatting, margins, tabs, paragraph spacing... But the list numbering still continues from the first list to the second.
I SO FUCKING HATE MICROSOFT WORD FOR WINDOWS!!!7 -
Same procedure as last year? Same procedure as every year for the last truly static website holdouts: change the year in the template, re-compile, upload.2
-
Ah, the beautiful feeling of fanatically trying to debug the code in a particular file for a few hours only to realise that the error was in a different file...
Fuck you too, C++ template errors. -
I had a pretty good laugh just now.
There's this extension I wrote for our client's online shop which enables them to create template files via the backend. Essentially it's just an editor reading and writing files from/to a directory.
So I installed said extension using a package I found locally, thinking it was the latest release. Unfortunately it was not.
As I said the extension writes template files within it's own directory and back when I had packed up the extension, I must had forgotten to delete these template files resulting from tests and messing around.
Long story short, I just received a ticket about a line of text suddenly showing up below the product page description saying: "I like turtles!"
The ticket itself was very professional though and the client didn't forget to mention that the "notice" was not part of their product feed data. No shit! LOL2 -
I made a thing.
I then turned it into a CodeSandbox template so other people could make the thing.
I then turned it into an npm package.
The thing is a cat clock generator.
https://codesandbox.io/embed/...
https://npmjs.com/package/...3 -
I just got a job as a "Web designer", but I've quickly learned that my job duties involve installing theme forest themes for clients and sticking to the template. I'm not allowed to write my own code. ever. uuuuuuuuggggghhhhhh5
-
C++ template errors.
Probably enough said... But a couple years ago I was interviewing and each interview included, do know about templates. I always answered, "enough to determine what is wrong when there is a compiler error." I always got some form of a chuckle or "wow" and NEVER a follow up question about templates. I received job offers from each interview, they all apparently needed someone who could help get their template code compiling? -
Happened this weekend, bought a website template and added it to my git repo and after 10 minutes wait (slow internet and too much images) I realized I added the wrong template
Had to start again 🤦🏼♂️😪 -
Hello, one of the other devs on my team insists that using:
<?=$myVar?>
In a template is super dangerous but:
<?php echo $myVar?>
Is safer.
Why? Is this valid in PHP 7.3?16 -
I'm incredibly ticked off by decision of using backticks ´ to define template strings on es6...
template strings are nice , but backticks are irritating ugly and unreadable3 -
Client: Can you have a look at this website template for me?
Me: Sure, what's the address?
Client: You'll need to modify your hosts file to see it...
Me: 😡😷5 -
Writing hebrew in Latex using a template that doesn't support UTF-8 is the most archaic shit I've done lately. I feel like some sort of a caveman.
This fucking encoding inverts all letters so it can support right to left. 😓4 -
"Do you know you can even download images via Google search and save it or print it? Guess what, that's the secret to my template images."
-
We went to a restaurant with my family. I decided to check the restaurant's website:
koma-zalakaros.hu
This is a default WordPress website! A template!1 -
Just thought of this meme template when I got that error. Hope you like it 😅
BTW it was a KeyError in a pandas DataFrame during which, somehow, another KeyError for the same key occurred. I'm not sophisticated enough in Python to explain this though. -
When you created a fresh, modern PowerPoint template for your client and then he removes every single icon, image and shape and fills it with 20 lines of stupid boring text no one's gonna read.1
-
https://youtube.com/watch/...
I didn't know PHP was created as a "template language" and Rasmus Lerdorf(PHP's creator) himself rejected PHP to be a "business logic language" at first. But PHP 7 Freaking rules!4 -
Turns out `white-space: nowrap` takes priority over every single other layout property used to constrain width and overflow, including these:
overflow
width
max-width
grid-template-column
But hey, CSS doesn't suck, you're just bad at it!4 -
FFFUUUUCCCCCKKKKKIIIINNNNGGGG GGGGGGGOOOOOOOOOOOGGGGGGGGGGGGGGGGGLLLLLLLLLLLLLEEEEEEEEEEEEEEEE.......
Spent 2 days trying to figure out why the template app didn't work, debugging and commenting out code....
The solution was somehow the XML elements need to be flipped... AKA... the template ***written by a Google monkey*** is WRONG!!!!
https://stackoverflow.com/questions...6 -
Damn it!!! Fuck! That's 2 hours of my life I'm never getting back... FUCK!
{"op":"replace","path":"/spec/template/spec/containers/0/resources/limit/cpu","value":"4.0"}9 -
Trying to find that one line of php you need to change in a magento project
App/design/frontend/base/default/template/this/is/not/gonna/be/the/template/youre/looking/for/fuckyou.phtml -
Holy crap, just ran npm install on the vueJS webpack template. node_modules is 272.7mb with 21785 items :/6
-
Why is Google so annoying? Download the latest version of Android Studio,, create an empty application from their template, build the empty APK and try to upload it to Google Play. Turns out the template for new app in Android Studio is set to use Experimental SDK, not accepted by Play Console.
Am I the only one who thinks this is dumb and left hand needs to talk to right hand?3 -
after a vast number of emails, phone calls and cross-client tests with a customer, because „the light grey background of the new template magically disappeared“.... I had one final idea!
me: „could you please turn the contrast knob on your monitor?“
reaction of the customer: „OHHH.......“
🤦🏻♂️ -
Guess this is the last random post for me on devRant.
Finally got on the meme train and well it all started here for me seeing this one (template) years ago6 -
So I'm soley a Java developer, and I got the task of making a server so I was like what a great time to learn C++ or something. With no prior knowledge of what c++ looks like I make a new project and open the damn template to be confused asf on where to start. I lookup some hello world tutorials and now I'm even more confused. Thanks C++13
-
Have you seen the new telegram "istant view"??
I like the update they are making, expecially this istant view... Telegram can became the app for everything!
What about making a template for devrant on telegram istant view?
In next weeks i will try to do it in free time!2 -
I get that every small victory counts when you’re learning to code, but someone in my class just posted a link asking for feedback on the “coding challenge” they had completed. The link led to a website made from an HTML/CSS/JS template where only the ‘company name’ and hero image had been changed from the original template, nothing else. What exactly are you looking for “feedback” on here??? What was the “coding challenge”?10
-
Been working on AWS for about 8 months. Always looked at Cloudformation like an Alien thing. Never thought I'd be the one diving into this Rabbit hole.
But now here I am, 3rd day, trying to Automate the whole infrastructure of my App via Cloudformation.1 -
*Writes CloudFormation Template.*
*Launches Stack*
Starts Murmuring,
"The cycle repeated
As explosions broke in the sky
All that I needed
Was the one (JSON Invalid Format :| ) thing I couldn't find
And you (Teammates) were there at the turn
Waiting to let me know
We're building it up
To break it back down
We're building it up
To burn it down
We can't wait
To burn it to the ground
Me: "FML :| "1 -
A guy (who is ending the same master degree as me) just launched his personal website saying he is webdesigner but used a very common bootstrap template. The future is good for this one 😂14
-
*opens up a library file, reads first line*
{-# LANGUAGE TemplateHaskell #-}
Oh boy, this is gonna be intense...
I always dread having to go through Template Haskell code. -
IntelliJ, IntelliJ I love you but please tell me why making a jsp file from scratch doesn't work in the servlet but your template for a jsp does. It makes no fugging sense to me. StackOverflow doesn't know and I went there for help.
I was debugging that shit for 5 hours today over an issue that was fixed in 3 minutes. I need ice cream.2 -
So I make websites on the side for small time clients for some additional income. And without fail every time I sit down to work on this one site something goes wrong. First there were problems with the hosting, and now the template that the client chose is no longer for sale. I hope I'm not going to lose them over this :( I've sent them a list of alternative templates and contacted the company behind the original template to ask what is up. Real shame because they picked what I considered the favourite too and now I regret waiting to fork over the money to make the purchase.5
-
> be me
> watching FRIENDS
> lurking internet
> get a message from the manager, "we need to deliver WordPress + woocommerce + cost calculator theme to the client".
> "but I'm, not a WordPress developer"
> ??
> "okay, I'll just find a theme for it on ThemeForest"
> *sends theme as per description*
> *reverts back with HTML5 template* "see if we can use this"
> to be honest, that template was not even close as per requirement.
> *sends another themes back and forth*
> ???
tl;dr : she finalized the theme I intially sent after half of the day
shall i just kill my self slowly with fire? -
If a PM ever tells me to rip the website template of the internet from the client because we don't have credentials to the existing server I'M GOING TO KICK HIS ASS. Maintaing this PIECE OF SHIT IS A FUCKING PAIN.
The other guys did a really shitty job, would be better to redo-it from the ground up and save a lot of time :((( -
So another infamous code (or smart code) you decide, there's class 'error' in the template/html and here this genius is removing it and adding it back? is this even logical at any level,
I mean just hide() and show() would do the job6 -
What's your opinion on designed emails?
Do you have a themed template when writing to s.o. or do you use plaintext?
Or when an interesting newsletter offers both HTML and plaintext - which do you prefer? -
So I made a repo to have a template to initialize node projects.
I copied the folder to a new folder and found all commits where there but I wanted to start fresh.
Quick googling on how to just start fresh ... then I realized I might just delete the .git folder, see what happens.
Then BAM! All fresh,
git init
git add .
git commit -m "first! Template set"
Life is easy sometimes. -
Just downloaded a thesis template with a title "Improved algorithms for the cultivation of lettuce on the coastal plane"
-
To the guys that develop any form of hybrid applications, is there literally no js templating engine that accepts template files as its base? I could write probably a single file that just returns the template and then all the others request it before templating, but seriously, is there no ready to go solution?5
-
i like how website UI is either really well made UI or 90s stock UI
and then theres template websites -
What the fuck is Medium anyway? And what makes them have the audacity to paywall everything? Their site looks like an out-of-the box Wordpress template anyway...6
-
Only one day to convert my website design to wordpress template. Have no idea how to make animated submenus. Have never worked with wordpress. Fuck everything!5
-
Where do I request a new word to English dictionary? Apparently, template is now tempalte according to my fingers >_>2
-
If you're expecting something revolutionary on a dev fest conference but instead you're given the fricking same template exercise.
-
Is there ever any reason for SINGLE Hibernate SQL query/template to join like 10 different tables, do math, and come out to like 30 lines?
This is not a stored procedure, it's a single SELECT2 -
Why is it that homelessness is suddenly more appealing to me than programming two Remote Desktop connections deep with a template engine no one has ever heard of before and vanilla JS to manipulate the DOM.3
-
Was passing values from back end into template .nothing appeared so I though I screwed up somewhere in the code ,turns out it was the css.1
-
So all u great web developers who use laravel. Do u use theme/template and build web pages / admin panels or do u do smth else...what about front end websites4
-
I'm a beginner Web developer and want to show people what I can do? but is it bad that I'm using a template for my site?5
-
A certain custom template engine made by some bored developer who had too much free time and thought he could create something better than other widely used template engines. He somehow convinced the lead dev of the company at that time to use his wonderful creation and it is still there after many years.
Spoilers: it is not better than the template engines he copied the features from, and it somehow fucks up certain parts of the css and javascript which makes it a real pain in the ass to work with. -
Fucking lazy product managers....
Can't fucking care about renaming a word document....
The document says template you moron. You are supposed to duplicate it for your requirements. Not edit directly on the template.
And fuck whoever gave this moron edit access to a global template.
Fuck....3 -
The real web development is optimising the shitty front end code.
The task assigned to me is optimisation of dashboard page of website which was developed by freenlancers.(end of contract from their side)
The front end is mess. Individual js files (bootstrap, popper, jQuery, jQuery ui, loader and main) loading in production inside head tag of html file
No text compression.
Every template has random number of their own js files in any block of template. Nothing structured. There will be fantastic waste of time figuring out file dependencies.
Same with css files. Some are scss, some plain css. No compression. No proper modules.
Basically, I have to go through 25-30 html files. Then understand, which template is extending which one. Go through all js and css files in each html file and again understand dependencies between them
This is gonna be real fun.1 -
When I run tests, I like to enable the debug logging. All the SQL queries and template tracing just flies by. Freaks the others out.
-
The next time I have the brilliant idea to make a visual studio multi solution template, will someone please slap me? What a fucking nightmare.
-
10 minutes into VueJS and I already dislike it over just shmacking my back-end PHP code into the front-end template...1
-
I was struggling to figure out why my Django template render wasn't working.was looking at code for hours.
Until I found that ,at the end of my render there was a comma making it a tuple.thats why it didn't damn work. -
So.. playing around with jquerys load() function because I'm trying to implement some updating functionality to a specific div. After researching a bit, it didn't seem like it would be too difficult.. but I could not for the life of me figure out why my template was not displaying! I tried testing with just some basic html and it worked fine. Even took a few snippets from my template and again.. it worked. As soon as I copy/pasted my whole template, the page renders nothing. I was seriously getting frustrated so I started entering the template manually testing each line. It worked until I got to this special div container I made.. went and looked at the css properties for it and..
display: none;
*facepalm*
I forgot I had set it to none because I was using jquerys fadeIn() function xD seriously?? -
Currently fuming at the sight of a store bought WordPress template that has social links that go nowhere, gibberish under CTA's and broken links galore.
I have contacted the poor bastard that has this website made and the soon to be poor bastard that made it.
Take some pride in your work, it's honestly insulting to be in the same industry as people like this!1 -
If you search for c tags, the first post is c#, even with "c".
Happens on every stackoverflow search too.
This is the only reason I don't like c. If I need help with a simple problem, 50 lines of template code is not the answer ;(4 -
Interface is the most misleading term in .Net. It's not an "interface" when an object requires a set of objects defined by another object! It's a template if anything! I'd even accepted CookieCutter or Mold.
-
I just do the Three-point estimation method: It's easy enough to remember and somewhat scientific: https://en.wikipedia.org/wiki/...
I made a spreadsheet a while back which serves as a template. I guess nowadays there must be at least one website with a fancy diagram no doubt..1 -
For fuck's sake Microsoft, why on Earth do you announce a half-done feature? Was this an idea from marketing? Upper management? I am fairly certain that nobody who actually writes code for a living would have ever approved releasing a rushed feature to a TYPE SYSTEM.7
-
!Rant - advice
Anyone know the best way to determine if slow reaction time on a website is down to my internet vs their shitty fucking wordpress template?
There's a Rant coming soon - but I need to make sure it really is their fault and not just crappy Internet because it's Sunday night and the whole town is watching Netflix9 -
Uggg if you are going to revert color changes fine but don't revert 3 hours of template edits which I did to make the theme look half decent. Like seriously!
-
I must assume that whoever designed jinja2 was either on crack, or hadn’t used template systems before. This thing is too fucking complicated, and doesn’t make sense. From their docs:
“Jinja2 supports dynamic inheritance and does not distinguish between parent and child template as long as no extends tag is visited. While this leads to the surprising behavior that everything before the first extends tag including whitespace is printed out instead of being ignored, it can be used for a neat trick.”
My response: “I don’t give a fuck!! I need this fucking website to be fucking done already! I pass data into a fucking template engine, and the engine applies my fucking markdown!! This is bullshit!! Why am I still trying to understand your fucking nonsense?!? AGGJCDJVFD&@!?&@$?)@&!SHHHVBSHK!!!!!!”
*desk flip*
Fuck you to hell you jinja fucker3 -
Was googling some preprocessor tricks for C++ and I came across this:
http://jkorpela.fi/html/cpre.html
The next time you complain about your node template system remember what 2000 was like.1 -
Hmmmmm, the Web designer, that's designer not developer, for an ecommerce job I'm working on, just suggested we use WordPress or a html template, rather than create her own. (obvs I denied WordPress as a tool) She's not new to the game either, is she being lazy and cutting corners, or just utilising what's already available with templates?5
-
I was building my web-app using Semantic UI, I can make the components work correctly, but can't seem to make the entire layout look good. Are there some good places for Semantic UI template that I can download or buy? Using the components along obviously is not enough.2
-
That moment when you use a template to save time, only to spend days debugging code that someone else messed up. #devLife
-
Too much wrong with this...
Test your template before sending, noobs!
And... Where oh where is the unsubscribe link?!1 -
It's time for war!
I have two examples doing the same thing. They're bot generated by chatGPT.
React:
import React, { useState } from 'react';
function IncrementalButton() {
// Create state to hold the count value
const [count, setCount] = useState(0);
// Function to handle incrementing the count
const increment = () => {
setCount(count + 1);
};
return (
<div>
<h2>Count: {count}</h2>
<button onClick={increment}>Increment</button>
</div>
);
}
export default IncrementalButton;
VUE:
<template>
<div>
<h2>Count: {{ count }}</h2>
<button @click="increment">Increment</button>
</div>
</template>
<script>
export default {
data() {
return {
count: 0,
};
},
methods: {
increment() {
this.count++;
},
},
};
</script>
<style>
/* Add your CSS styles here if needed */
</style>
Whats better in your opinion?17 -
What are some good UI templates for Semantic UI? Want to give my web-app a professional look without writing too much CSS...5
-
I'm given a simple assignment to update email templates. I tot it would be a breeze.
It turn out SURPRISE! After the updating of template is done. I deploy the code in the development environment.
I tried to access the email template like how the user will see to verify all is good. It turn out i am facing error.
So uhh ok, i went to check the logs to see what the hiccups. It turn out that a table is missing. But this is production code. So my question how the hell did the production environment has the table but dev don't.....6 -
Debugging a Velocity template issue the other day where I was presenting a firm to the user to fill in some data. Whenever the user had entered in one or more lines, a 'true' kept showing up cryptically before the form. Drove me fucking nuts because there was nowhere in the template code that was printing before the form input.
Turns out it was the output of a $list.add(...) being rendered to the screen.
Spent 40 mins on that shit.
😐🔫 -
when u see a bootstrap template use !important on multiple classes and id's u know someone kinda fucked up😅🙄5
-
One thing I realized about my workplace: when you're given a new template to be used for an existing website project, do NOT use the included CSS files. Seems like it would be better to just manually change the looks of the website to make it similar to that template, lest you want some alignment stuff to break.
Plus, it seems that I don't even need to meet all the design requirements, because whenever I try to do that, clients tend to forget the design they originally gave and request for all these changes.
One more month... One more month and I'm off to bootcamp to properly learn.1 -
❤ Deno's importmaps and wanted
to write a template for the standard
library to not have to copy the
urls all the time, so here it is:
https://github.com/DenoAndFriends/...8 -
Client gave late template for website and system, after that fpdf for live site wont work, too much to do so little time.
-
Coworker is using the WYSIWYG to make a responsive template for his content instead of creating a theme tpl file for the page. :(
-
I fucking hate how almost every website now requires your email to be able to download a simple document template
Why tha fuck do you need my email for????
just let me download your fucking template6 -
Hi guys,
I'm going to make a template project for Cpp. And one of my questions is how to use Travis ci to test things with clang 6, on every platform. I was thinking about using a custom docker, but I didn't find a project using this. Is there a problem with it?5 -
Any .NET Core and Vue.js developers here?
https://github.com/danijelh/...
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 -
QA: “this looks off”
Tell me what do you mean by “off”? Spacing? Alignment? Color? On what devices?
I understand that you may be seeing things I don’t but let me help you! We have a QA Feedback Template how lazy can you be to not apply it?
Such a waste of time back and forth of what could have been an easy task!5 -
!rant
Anyone know a template for documentations beside gitbook?
Not specifically for a language, just a framework or a template where we can add text, images, code, etc .
I am not talking about markdown here.
Btw, is there a free template just like https://codelabs.developers.google.com/...1 -
!rant
I learned something new while trouble shooting an email template today.
There was a weird margin at the end of my template and I have no idea where it came from. I inspected elements and found a 1x1 image.
Turns out it's a tracking link being loaded as an image.
Now I get why they call it a tracking pixel. It's literally 1 pixel.9 -
I've been trying to use obsidian.md for a while. Today I found a feature in Templater that I wish I knew about sooner.
I have a few templates I use and they are so long and clunky and I repeat parts between them because I couldn't figure out nesting templates between files. Until today.
in templater's files module (https://silentvoid13.github.io/Temp...) it includes an include function "tp.file.include(include_link: string ⎮ TFile"
and that singular function took my one 65 line template file which shares parts with other templates I'd have to remember to edit if I edited any part of it, down to 14 lines separating the shared parts into their own files.
It's a lot more DRY of a template now and will definitely make my experience using Obsidian a lot more manageable, wish I learned about this sooner3 -
Guys do you know any good source for powerpoint presentation templates? Would really appreciate it :)5
-
The "language" I hated the most was XSLT 1.0. Some times you ended up with a horrible set of template matches or choose clauses to achieve simple decision trees.2
-
Had to add some functionality to another guys GUI code.
He gave me a "template" file (copy of another module), pointed at several places and said: "Make your changes here, here, and here. Do not ask why, do not even think about it. Just do it." -
Trying to learn JavaScript unit testing with Vue.js and it's not going well. Took long enough just to get everything installed and now it errors as it doesn't understand <template> tags. Why is it so difficult?
-
Does anybody actually enjoy working with Liquid template language? (Jekyll)
I barely have to work with Jekyll but every time I have to do something slightly complex with it its a pain, why cant it be just like erb templates? its already been parsed by Ruby isn't it? -
Today was my first day on my first job ever. It was give me the task to create a website's template to present to a client. Task, to fulfill on a computer where on the first 2 hours occurred 2 BSOD. At least they didnt gave me (yet) a deadline.
-
Why the pointer of member function so special.
trying make a non-template class that like std::function but simpler:
1. wrap static function pointer.
2. wrap class member function pointer and the class object pointer.
3. WITHOUT ALLOCATE MEMORY.
I can't store member function pointer because the size is undefined?! -
Today marks the second day of me having to build an email template and I never hated anything more in my life than that. WHY DOES IT HAVE TO BE SO COMPLICATED? WHY CAN'T THEY UPGRADE THEIR STUPID RENDERING ENGINES SO WE CAN USE MORE MODERN METHODS?!? Sorry but I don't want to create an E-Mail and having to pretend its 1995. The table view is so outdated and I'm aware of the fact that some clients support divs but not Outlook (Outlook itself sucks pretty hard but thats another story). I just wanna be able to use grid, flex, etc. to build my template.
I HATE MY LIFE5 -
Not job but during internship, the guy I didn’t like gave me the electrical circuit task, with acid bath and shit. I had to create 2 from the original tEmplate. I realized one copy had one of its connecting plate removed by mistake. I duplicated my mistake on the second copy as well.
-
I was just tasked with building a full e-commerce site in a week...so they want me to just put PrestaShop on a site and buy a template? Cause that’s now what I do I actually build my stuff from scratch and sorry but it’s gonna take a little more than a week.
-
Anyone here affected it going to be affected by Apples expansion of there template app rule?
More info:
https://techcrunch.com/2017/12/...
We are in the process of launching a service like this to our existing customers. Small stores who can't afford to have their own app developed for them.
This really throws a wrench into our product. If the decision is not reversed, we will likely have to abandoned half a year of work.1 -
See image first, then read this for background info.
Living with cats and cats love to step on the laptop's builtin keyboard because you have an external one.
Disabling the internal keyboard on boot seems smart... until you start your laptop without an external one attached.
Also apologies for butchering the template a bit.3 -
I've been trying to find templates for the project I'm doing for a while now, and I just found a bunch of them I really really like, and it fits the theme I have perfectly!
But I can't find the download template link, instead it just redirects to their website, which is a "build a website without coding" type of app. -
Can you provide me a standard CSS template, like which includes all necessary mixins, extends, functions, etc. to start with a project?
There's so much incoherent information out there and I'm stuck only at the start of the project.2 -
How does Spring Boot/Data create a MongoClient/Template Bean to a **remote** database that requires password, certs, other configs?
These would be set in application properties but how does it get translated to the Beans?
I went through a lot of examples is like @Autowired MongoClient client
And then they just use it.
And I'm like wtf?7 -
Wondering is there good designed template for API Documentation.
Or is there any good tool to generate automatically.?3 -
JS has
dynamic object literal keys
String object literal keys
Why aren't template literal keys allowed, and _why_ isn't there a proper error message for them?7 -
Looks like this damn Django project template of mine doesn't update unless I completely restart the server.
-
Is there any simple documentation editor that allows html export? I found this template: http://surjithctly.github.io/docume... and could of course just write myself something, but is there anything out there that produces such similar/simple docs?2
-
I'm probably not the first, but ...
template <typename T>
using $ = std::shared_ptr<T>;
I mean... C'mon!10 -
Hello. I desperately need someones help to help me set up python flask starting template website with apache on digital ocean server. Over teamviewer please.
I promise you there is not a lot to set up cause i have been configuring it for days. If i waste too much of your time trying to set it up, i will pay you.
Thank u. Anyone interested leave me your discord. -
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!
Fuck you
and your seniority
and the Italian way of perceiving seniority that gives you a higher living in the wrong side of the field 🤬🤬🤬2 -
At a previous job someone created their own framework that had no features that you would expect from a normal MVC framework e.g routing, view template etc.
-
Implementing html template with inline styling into Typo3 for newsletter, I'm so fucking bored I'm looking for a cozy place where I can safely faint and lay there for some hours.
-
Was tasked to implement a PIM, they suggested Akeneo, but I wanted something I could scale out to my imagination. Frontend Design is not my thing so I ripped out the template of Akeneo...
Hello best of both worlds! 😂1 -
How is this for competence...
To push new features or fixes on one of our clients production sites that runs on AWS with auto scaling instances, we have to manually change the files in each instance that is running by ftp, and the template in S3. -
Can anyone recommend some Angular tutorials or documentation that I can go through that will provide an easy to understand, step-by-step of Angular 54
-
Once wrote a whole little marketing game thing as a WordPress page template. It was a long, weird file! Probably should've written a plugin instead..
-
Learning php includes for my template, and I couldn't get my index.php to show up right.. Totally forgot to add the php version to my htaccess #fail
-
Wtf. Why is using mail templates in nodejs so complicated in comparison to eg Laravel?!?! I have to install 3 packages with 20+ dependencies and setting it up is a hell -.- I'm losing my love for node since I got to know laravel3
-
Just learned how to write Django apps... I think I'm going to have a harder time making the app look good with HTML. Thought I could just use a Jekyll template, yeah, seems to be a lot more work then it's worth.1
-
The webpack production mode can't even recognize destructuring. It can only naively replace literal occurrence of process.env.NODE_ENV.
What is this? A f'ing template engine?10 -
If you have a template of what you're expecting me to make, don't bullshit around for 2 weeks explaining what you think you want. Just give me the template and I'll make what you actually want.
-
when the backend developer makes the template of the page, but doesn't add all the necessary elements to be styled...
-
our office software has the shittiest documentation. no problem! i love to browse all the subfolders to find where to place a serial letter template! why would someone want to do this in the first place?
if someone working in the german medical field: i can not recommend eva/viva for some other reasons as well. -
With C++11, fell in love with std::enable_if and others in type_traits.
Lets you take generic programming to a whole new level. I never used it when this was part of boost thinking it didn't make as much sense. Now, I like to qualify my template definitions to be as restrictive as possible based on the expected usage. -
Was working on a nestjs api and building it on a starter template. After a year of work nest framework has been upgraded by two major version and api is unupgradable and in dependency hell.
Solved it by doing a transplant into new codebase built using cli. Only took two days. Everything went better than expected. -
CMS + Website(Template + initial conntent) entirely in go with pictures I had to take myself first. 1000$ for around 2-3 Months of work over the time span of a year. Good thing my main job país decent.
-
Hi Devs.
Does anyone has the bootstrap theme, DashKit from themes.getbootstrap.com, or has a coupon code I can use the get some dollars off the purchase price?
I urgently need to use the template.3 -
When you're such a good developer, you just download a template and forget to change the title in header..or when you just don't want to pay someone to do what you don't know.
-
is it bad to put your jsx in useState for react?
const = handleClick = (sort) => {
if(sort.props.id == 'default'){
setSort(<ArrowUpward id='up'/>)
}
else if(sort.props.id == 'up'){
setSort(<ArrowDownward id='down'/>)
}
else if(sort.props.id == 'down'){
setSort(<LineAxis id='default'/>)
}
}
the other alternative is using template logic which i think looks uglier, someone told me i did server side rendering in the browser2 -
Is the devRant Swag Store website made from scratch or is it a Shopify template? Just curious because I love the layout and how clean it is.4
-
I'm trying to set value of a kendo js property using value from dB. I would like to do something similar to
template : "#= dataItem.Item1 #"
But I can't use template for what I'm trying to set -
thymeleaf try to made us to become super strictly writing html tag both open and close tag, thats good but sometimes annoying when you got the html template from your UI mates, there will be bunch update until its working.
-
Can someone send me a template that i can generate as a CV for software developer jobs or a generator THAT IS ACTUALLY FUCKING FREE???5
-
Changed the nodejs template engine because i though its unable to parse nested object. After the second engine had the same error i checked the properties of the mongoose "populated" object and its mongooses fault.. wasted 4-5 hours of debugging just because of a missleading console.log ... FUCK!1
-
Deleted part of my build template for no good f-ing reason while trying to back it up -_- Of all the irony
-
So i started using Vue2 but i dont get the Part with cpmponents using external .vue files.
They always say : use webpack.. Well i Do use The vue basic webpack template but i dont get how to add a cpmponent which loads a external .vue File
Some links? :)3 -
The biggest drawback to QObject is you cannot template a class that inherits from QObject. It is an fucking pain in the ass. I have more work arounds and boiler plate because of that crap. I end up with code that if I find in the wild I would say: "wtf is this shit?" I end up composing stuff just to make it work together without coupling too hard. I guess if it works it works. If one of you cunts ends up working on this code I will apologize right now. But I won't be sorry one bit.1
-
there was this one time I could not find the CSS to change background color of a template I was using while in sublime... after hours of trying I accidentally "opened with atom" and there it was!! That was the end of me n sublime3
-
When I run this Python code on Dcoder, they shows that they are using Python 3.6.8, and not 3.7.1 as they claim. This is why I cannot use dataclasses.
(And yes, I am having an idea about a template engine)1 -
Hey! It's been a while that I've been searching about projects documentation in order to develop a template for the company's projects.
My goal at the moment is technical documentation, like getting started (for new developers), the project's dependencies, conventions, etc.
Does anyone have suggestions of articles, books, or any resources about that topic?
Edit: I'm planning to build this template, discuss it with the seniors and then present it to the managers.1 -
I have a function called evil_js_cleaner because there is a js menu plug-in that a colleague made me use as part of a new standardized font end template . When using the js menu , it would put a bunch of extra garbage into my php _REQUEST array.1
-
Why are there so many template languages? Do people enjoy them? I certainly don't.
What is the problem with just using functions? E.g. using https://j2html.com/ or http://www.lihaoyi.com/scalatags/
You can do code reuse with functions, for-loops, classes, interfaces etc.
Why are they avoided in Spring, PlayFramework and similar? -
Having a code-gasam over here because reuse in Angular > reuse in AngularJS(AJS). Throw in reactive forms instead of template driven forms in AJS and I'm done.
-
How do I create a XML template for blogger I can't find any good resource for coding a responsive blog any one has good sources to learn and create cool XML blogger templates3
-
I predict as soon as impl specialization enters stable Rust - if it will extend to member types - CRTP will become omnipresent, because the nature of CRTP is that it's an incredibly unintuitive solution that emerges from simple answers to common questions.2
-
Me: This email template design is simple and is easy to read.
-inserts customers text that looks like they took a shit on their keyboard and somehow hit send-
Me: Oh fuck it looks horrible now :(
Can't save customers from their own wads of shitty text....1 -
💡 Have an idea to develop a system
*browse what language to use
*browse what template to use
*meh, I should write my own template cause I'm too smart
*F it, I realized im dumb, back to browse template
*browse why x better than y
*browse which company use x
*browse which hosting to use
*find admin template
*browse cat fighting with subtitle
This rabbit hole. And the project hasn't started yet for weeks and months. -
Any tips on building an SMS and email template management system?
How to store the templates? How to store multiple versions of templates?
Can't find examples on the web.3 -
Where can I find cheap or free mobile app ux/ui designs? I wanna build a note taking app but Im bad at design. I want to find some decent ux/ui design template so I could just jump in and start implementing5
-
A simple template customization job turns monstrous!! The client expects me to develop new templates as part of the scope.. 2/3rd of the project in! The hell!
-
Just realized a member function pointer can be a template parameter as non-type, gonna try to use it do no dynamic memory allocation trick with std::function.
-
The people who thought that providing customers with a template engine to build reports was a good idea - they made a mistake...
Users can't and won't understand a 500-line template file with 'content', 'columns', 'stack' and 'data:image' in it, and nesting levels reaching 10+
Now I have to build those reports with the added complexity of working around template engine limitations.
Can't blame the people who originally invented it. I can see how they might have thought their idea with those templates might have worked out. But it didn't work out, sorry -
I have been searching for a suitable bootstrap web app template for a project for two days now...
I am done with the backend, it’s just remaining a nice template, I can tweak to fit in my requirements.2 -
I have a side project which contains very simple data (a URL and a list of strings associated with that URL). I would like a way to automatically generate a webpage for each of those links (I believe the right term is template ?). Does anyone have any suggestions? Is this something like Next.js or Gatsby would be used for? I can provide more info if I’m not clear enough8
-
I literally create a template of flutter project with state manager (provider) . Other words, I hate setting up a new project in flutter every Fking time. So I created a Cli (written in dart) app that flutter create something something and delete the main.dart and download the templates from my source from GitHub. Like a few folders and files.
Yes...I am this lazy2 -
Funeral Obituary Template: Need special funeral cards that express your pain? Count on Obituaries Tomorrow for template design and offer pure tribute to the loved one’s soul. We promise to listen to you and help you achieve your printing goals. Visit http:///www.obituariestomorrow.com/... to opt the best template design.1
-
Spent all day fucking around with a tool, hoping to make it work, only to realize that I could just use Jinja templating and a cheap command line alias to render the template all along.
-
Spent days adding cloud-init to a CentOS kickstart script for a baremetal template.
I didn't want to have NetworkManager installed but had network problems.
Turns out you need to explicitly put NM_CONTROLLED=no in the config for the interface to not use NetworkManager.
Because that makes sense. -
Has anybody familiar with Spring and Velocity.
Spring 5 onwards Velocity support has been removed. I am currently using SPRING 4.1.6. I want to upgrade to 5.2.x.
Which is the best template engine suitable for this.5 -
Anybody here a UI designer that can help me with a HTML/CSS page for a kiosk? Just need someone to help me set up the initial template, shouldnt take more than an hour if anyone has time to spare. I've been trying to do it myself but I keep screwing up div alignment.27
-
Recommendation for what type of html5 templates to search in order to define a description of a project. Simple 5 tabs with a login panel for pdf access.2
-
Been struggling for the past week to get a feature working in my personal project (which is the absolute core feature), and was just about ready to give up completely.
Quickly decided to see if it would work in Angular, and after a few tweaks from the default template it's working. Guess I'm not switching to React after all, even I did enjoy working with JSX -
Ok. I still can't get SSL working on my site so I'm gonna assume its my fault. Time to go back to a default template test that get it to work and if that works go from there. Ive done EVERYTHING my host says to on the dashboard side I can short of crying to them. And honestly. Fuck that2
-
Worst?? When our CTO told us to study the whole template app, and after 1month one dev keep on asking me where he can find those services and function.. -_-
-
The one thing I don't like about vue is how you have to switch between using `this.something` and just `something` from the javascript part to the template part, it makes refactoring very hard
-
Hey guys college student here. This easter I'll be focusing on learning JavaScript better. Yeah I've done some stuff with js, some small spa with angularjs (1.0), as well as some stuff in combination with a template engine ,(like thymeleaf). Should I start learning typescript along with angular 2/4 or es6?2
-
How do I create a collab post? The only buttons visible to me is the giant + for creating regular rants that would end up on the feed. But the special collab page, along with the template all collabs are written with imply there should be a separate creation button for it, somewhere. Is it the wk247 thing?4
-
Spent most of my day trying to create a new project that looks like the rest of our old projects. A quick GitHub template would go a long way please.
-
It was actualy funny when normal wordpress developer look into my Login page template and see what is in attachment.
He: Where the fuck is template? -
Trying to get a stupid string to be localized in a widely used extension for typo3 (sr_freuserregister). Just add a marker to the HTML template and try to localize it via typoscript.
3 hours later im going to put in my string in English and German and just going to hide them accordingly to the language code in the <html/> tag. Holy crap.