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 - "write-only"
-
IF YOU WRITE IN A FORUM ABOUT A PROBLEM AND YOU SOLVED THE PROBLEM, TELL US THE FUCKING SOLUTION YOU MORRON! YOU TOOK THE EFFORT TO JUST WRITE "I SOLVED THE PROBLEM" WITHOUT WRITING A WORD ON HOW THE FUCK YOU DID IT. DO YOU THINK I READ THIS FUCKING TOPIC FOR FUN? I AM ONLY INTERESTED IN THE SOLUTION, I DON'T GIVE A SHIT IF YOU SOLVED IT OR NOT!!!12
-
There are two kinds of people:
those who write
if foo.isBar() {
foo.setBar(false)
}
else {
foo.setBar(true)
}
Vs
those who write
foo.setBar(!foo.isBar())
Only good programmers will understand😢😊31 -
My wife is a (semi-)pro gamer, so the only way it affects our dating is that I have to help her write LUA addons, performance analytics and Twitch bots.18
-
Manager: This code you wrote violates the single responsibility principle!!
Dev: How so?
Manager: You have one function that you call in *MULTIPLE* places. That’s too much responsibility for one function! Functions should only have one responsibility!! Creeping the scope of a function beyond that is a TERRIBLE way to write code!
Dev: But why spin up multiple functions that all perform the same thing?
Manager: Well if a function has a bug in it and you use that function multiple places then that bug exists everywhere you use that function. If a function only has one responsibility then if it has a bug that bug will only exist in the single place it is called! You really should think first before asking questions like that.
Dev: …26 -
About six months ago I decided I wanted to learn to write a neural network from the ground up, using only the C++ standard lib. Had to learn some linear algebra, multivariable calc and a dash of wizardry.
The mathematics of neural networks is still one of the coolest things I've ever learnt. It still marvels me that you can make a specialized mini-brain out of nothing but numbers.17 -
Me: I'm gonna write some code today. Try to push more commits in a single day than I did last week.
Github: You only get half a contribution tile today, bitch.5 -
It's official, I am quitting...
Boss walks in today while we busy discussing how to write up the new endpoint we need from the api and tells us there is too much discussion and as only woman can multitask, Dumi is the only person that can be productive...10 -
>be me
>graduate
>find job with a start-up
>offer me 1% share as signup bonus
>why the hell not
>make 50 dollars/hour
>lowkey they didn't give me any real work
>only had to write some simple ass JS functions for the website
>asked boss to work from home
>he accepted
>tfw i get paid to play games, watch tv shows and write the occasional shitty ass piece of code for 50 dollars/hour
>that's about 1 AAA game/hour
Stay in school. Get your degree, kids.14 -
I quit and my last day is next week.
Apparently management has decided that I should spend my last day implementing a new feature for a customer where I have been the only developer, and release it to production (without first implementing it in test) the same day. A feature that potentially could cripple a whole workflow if done wrong.
Of course I advised not to release untested code to production on a friday, just before the only person that knows how it works leaves the company. But no, “the customer reaaaaaally wants it before summer, so just be careful not to write any bugs”.
I’m not saying that I’m intentionally gonna write bad code - but if I do, I’m not gonna pick up the phone when it calls.17 -
LoL (I wanted to write only LoL for this rant but you need to write atleast 6 characters, ....oh I think now it's sufficient)4
-
Your code is only slightly less glitchy than the Matrix
My pet boa constrictor can write better Python than you
Your codebase looks like me after all-you-can-eat cheese fondue -- bloated AF3 -
I've been wanting a thing where you can upload a file through a post request (api style), get a download link which allows for one download only (after the file gets downloaded it is removed) and be done.
Couldn't find one so quicky, decided to write one myself.
Two hours later I've got a functioning first version, this is the first time ever where I genuinely wrote a system I needed quickly within a few fucking hours and it actually works O_o10 -
You can't imagine how many lines of pure and utter horseshit, seemingly written in PHP, I had to dig through this whole weekend. (relating to my 2 previous rants)
How is it even possible to write code this unbelievably ugly?
Examples:
- includes within loops
- included files use variables from parent files
- start- and endtags separated to different files
- SQL queries generated by string concatenation, no safety measures at all (injection)
- repeating DB calls within loops
- multiple directories with the same code (~40 files), only different by ~8 lines, copied
- a mixture of <?php echo ... ?> and <?= ... ?>
- a LOT of array accesses and other stuff prefixed with "@" (suppress error messages)
- passwords in cleartext
- random non-RESTful page changes with a mixture of POST and GET
- GET parameters not URL-encoded
- ...
My boss told me it took this guy weeks and weeks of coding to write this tool (he's an "experienced dev", of course WITHOUT Git).
Guess what?
It took me only 20 hours and about 700 lines of code.
I must confess, since this task, I don't hate PHP anymore, I just simply hate this dev to death.
Addendum: It's Monday, 5:30am. Good night. 😉12 -
*trying to convince a non-tech friend to switch on linux*
- Will I need to write drivers myself?
- Only when your wifi card manufacturer doesn't give a fuck.7 -
this is the state of hiring tests:
1. can you take an english sentence, and without a tutorial, write a for loop?
2. okay now write a full parser. but not in the language we want to hire you in.
also we can afford to pay you in bananas, experience, and exposure.
p.s. we also need you to do this backend test because this is a backend job even though the ad is for front end and you specified an hour ago when the interview started that you only trained for front.
on the positive side, we have a ping pong table and a bean bag chair. and a two hour commute. Think of the benefits!16 -
Fucking hell, the devs before write a query that pulls 30ish column for a report. When I break it down MANUALLY, since it’s a spaghetti on top of another spaghetti, you only need 6. Fuck you, did you dropped your head when you was a kid? Fuck sake, and every query is written in stored procedure even though you’re using an entity libraries19
-
The moments when you grow the most as a person are those where you have a big axe in your hand, ready to shout through the office WHICH OF YOU LOWLY SPERMSLURPING JERKS FORGOT TO WRITE A FUCKING TEST FOR THIS METHOD
...only to see your own name appear in git blame.3 -
Somebody with more technical expertise than me should write a virus that infects pc's but the only impact is that it updates Internet Explorer to the most current version... Call it "honorable malware" 😆8
-
Am I the only one who occasionally gets up from the bed, in the middle of the night, to write down an idea that could potentially fix a bug next morning?4
-
Hi
Aaand, I can't even post a rant with so little chars... Yet coworkers and customers find it ok to only write hi and wait for me to respond.. Just write what the fuck you want in one go so I can decide if I really need to jump, or I can get back to this later..32 -
I write loads of services, tools, programs for myself (unpaid) which I could just as well open source.
Only thing is that the code is usually not that clean and refactoring would take time that I don't have so I'm kinda anxious about putting it out there 😧12 -
We are currently doing procedural programming in an OOP language. "Only write code inside the main function" Here, have my bubble-sort function in your face.2
-
You know you're a programmer when you're doing math and you write == instead of = (Am I the only one who does this?)12
-
That weird moment when you write a Python script and errors pop up everywhere, only after an hour of debugging (pulling hair out) to find that you started putting a semicolon at the end of each statement again.3
-
New idea, 99 developers write node module, only one person can survive! The rest of repo will be deleted from github and npm💂♂️4
-
Am I the only one who will spend an hour to write a script that runs only once to save myself from entering in 20 minutes worth of data manually?6
-
"ChatGPT passed an interview for Google"
"I ask to ChatGPT to write my new song"
"What ChatGPT tells about our humanity"
"ChatGPT pooped its pants"
I'm the only one sick of seeing articles, posts and threads about Chat fucking GPT?! I can't wait for the hype to die out... or for someone to build a time machine able to bring me back to 200918 -
Me: *opens up a test script*
> only http response code is checked
Me: hey, coleague from qa, why didn't you also write response body checks?
Col: I had then implemented but removed them later.
Me: ?? Why??
Col: because tests were failing
Crickets: *chirp chirp* .... *awkward pause* [in high pitched crickety voice] what the fuck?!?!3 -
When you finally accept that in order to write a game engine all your self, you not only have to be a programmer but a mathematician.
Alright. Time to hit the math books for a while.3 -
Gunnery Sgt. Hartman:
What do you code, anyway?
Pvt. Cowboy:
SIR, JAVA, SIR!
Gunnery Sgt. Hartman:
JAVA? Holy dogshit! Only steers and queers code in Java!! And you don't much look like a steer to me so that kind of narrows it down. Do you suck dick?
Pvt. Cowboy:
SIR, NO, SIR!
Gunnery Sgt. Hartman:
I BET YOU'RE THE KIND OF GUY WHO'D WRITE LEGACY CODE AND NOT HAVE THE COMMON COURTESY TO WRITE ANY COMMENTS.8 -
As a human being, you're multithreaded. You can type with multiple fingers, you can drive and hold a conversation at the same time. The only blocking function we have to deal with is sneezing, where all current activity must be suspended for the duration of the sneeze. That's pretty annoying, especially when you're driving and trying to hold a conversation. You don't want to write code that's sneezy.8
-
I often times write code and think to myself "I don't have to comment this, it's obvious what is going on", only to find myself back at the same code, figuring out wtf it does...1
-
Not a rant: Devrant is the only place where i can write or read programming jokes that do not feel like UDP requests.2
-
Writing bad code has its perks.
Whenever you are hungry you only have to write a few lines of code and you get some spaghetti3 -
How to block productivity:
I am currently a working student at a huge corporation and tasked to write some smallish java applications. Nothing unusual.
To actually be able to write and compile java programs I need a JDK.
Except that the last corporate update for java removed my jdk and left me with only a jre. It so happened that my admin rights ran out.
To be able to install a new jdk, I need elevated rights, which I need to request. The fucking problem is nobody of my department, who I could talk to, is here or online to accept the request.
Guess who is now sitting in front of his dysfunctional dev environment :/12 -
When this year started I didn't have much knowledge of server side programming as web developer, only thing I knew was html/css. But this year I got started with:
- PHP
- Framework Phalcon (PHP)
- Javascript (jQuery, NodeJS, react)
- SASS (I can't without it anymore)
- Virtual Hosts (local development)
- Command Line stuff either in macOs and linux ubuntu
This is a huge deal for me because I always got laughed at I only wrote CSS and couldn't write anything else.
So knowledge-wise it was the most productive year ever.
Also, devRant helps me get through the day lately. Thank you for being a part of it!6 -
Am I the only one to notice the coincidence that wk143 is about dating.
When I in school, we use to write 143 in place of "I love you" (letter count) within a heart with a aroow going across the heart.
"we" excludes me.5 -
"We don't have time for writing tests"
"Yeah we could write them but only if the client paid us for that"
"You can just test new features manually!"
- Most devs of our mobile team.
Every day they're fighting with bugs and when they're fixed, a couple more pop out of nowhere.
Dear god help me.5 -
ChatGPT was asked to write a script for benchmarking some SQL and plotting the resulting data.
Not only was it able to do it, but, without further prompting, it realized it had made an error, explained what it 'thought' the error was and fixed it.
Excuse me, I need to go get my asshole sewn up because I'm hemorrhaging to death from the brick I just shat.
source:
https://simonwillison.net/2023/Apr/...6 -
Me: I want to learn Clojure
Me: But I need real tasks to learn
Me: OK, reconnecting device with wireless adb
Inner me: Are you kidding? 5 lines with bash
Me: In clojure it will be more elegant and faster to write similar tasks in future
*2 hours later*
Me: IT WORKS
Internal me: Really? This is ugly as fuck. And the only clojure feature it uses - sh and re-find
Me: But... It... Works... *cries* -
!rant
Trust no one.
The internet is not your friend, until you find stackoverflow and you get down voted.
That rm -rf / won't make you server faster.
System32 is needed.
Yes, that is a package manager, you don't need to write more ccode
Do not write commets on languages that only you speak, the team does not speak in latin.
Paint is the best engineering tool.
Keep a stress ball nearby.
Your client is always right, unless they mess with your coding skills.
True story.2 -
When I see a bug in somebody else's code (Gnome):
- "can you please not write bugs!"
When I see a bug on my code:
-"whatever, I'm only human..."
😅2 -
I managed to accidentally clear everybody's usernames and email addresses from an SQL table once. I only recovered it because a few seconds before, I'd opened a tab with all the user data displayed as an HTML table. I quickly copied it into Excel, then a text editor (saving multiple times!), then managed to write a set of queries to paste it all back in place. If I'd refreshed the tab it would have all gone!2
-
My manager is instructing my team to add a feature that can only be enabled for users by running an update script in the database.
When I argued that it's not really "complete" if it can't be turned on without someone going into the production database, I was told that not only is it complete, but they plan to have our non-technical customer service enable it for customers if the customer requests it...
Apparently giving everyone and their brother write access to prod is a good idea, but implementing a checkbox is a "waste of time and would cost too much money".
Probably going to float my resume... :-p2 -
2012 laptop:
- 4 USB ports or more.
- Full-sized SD card slot with write-protection ability.
- User-replaceable battery.
- Modular upgradeable memory.
- Modular upgradeable data storage.
- eSATA port.
- LAN port.
- Keyboard with NUM pad.
- Full-sized SD card slot.
- Full-sized HDMI port.
- Power, I/O, charging, network indicator lamps.
- Modular bay (for example Lenovo UltraBay)
- 1080p webcam (Samsung 700G7A)
- No TPM trojan horse.
2024 laptop:
- 1 or 2 USB ports.
- Only MicroSD card slot. Requires fumbling around and has no write-protection switch.
- Non-replaceable battery.
- Soldered memory.
- Soldered data storage.
- No eSATA port.
- No LAN port.
- No NUM pad.
- Micro-HDMI port or uses USB-C port as HDMI.
- Only power lamp. No I/O lamp so user doesn't know if a frozen computer is crashed or working.
- No modular bay
- 720p webcam
- TPM trojan horse (Jody Bruchon video: https://youtube.com/watch/... )
- "Premium design" (who the hell cares?!)14 -
Anyone else work in a codebase that is so deeply convoluted, that the only way to make new features work is to write new code in a similarly convoluted way?
Everyone wants to refactor our system, but we're a small shop with an insane amount of technical debt, so it likely won't happen for a long time. Any suggestions in the meantime? I feel like I'm spending more time figuring out how to make something work in our system then learning actual good practices.6 -
My friend called me today.
Him : Dude,can you write an app for both android/ios for my uni's orientation night. The app -
1) will only be activated only in the school compound.
2) display all the images with certain hashtag from Instagram.
3) voting option for selecting king/queen of the night.
Oh and the event is in next two weeks. You can just modify the Facebook and the instagram app right?
Speechless....2 -
That moment when you struggle and write an amazing backend logic and your manager only looks at the frontend/UI and tells you it is okay. The struggle doubles when you try and explain him the backend logic and he just ignores you...what a day!!(No offense to amazing frontend developers out there)4
-
This stupid crap is pissing me off.
I write a quick blob of code that performs an http request with custom headers and writes the response to a file. easy squeezy. Everything works.
I abstract it into a class and add request building and stages (enjoayble!), and have one method make the response, read its body, and write to a file. I literally copy/pasted most of my existing code into the method and indented it. The only changes were updating var names to instance vars.
But now? It's complaining something is trying to read the request body twice, and it's throwing a fit. What? How? You were just working!
asfklasjdf;l8 -
intialize
made a spelling mistake? just move back with the arrow and add the "i" between the "n" and "t"?
no
delete the whole word and write it from scratch again because it is faster
am i the only one?7 -
Am I the only one that gets fucking pissed when others write unnecessary <div>s?
I know sometimes it's necessary for styling, but my coworkers do it because it's easier to add a new div than extending the style of an existing element.
What's worst, when I do it they reject my PR saying to create a new div instead. Fucking fuck off.5 -
You don’t appreciate how large a project really is until you have to write tests cases for QA, to cover most work flows.
God this is mind numbing, only half way there... I think 😰3 -
So I have too many posts for wk110. It's sad. Here we go. I got a bad grade on an assignment for a hello world program in college. How do you write a hello world program that successfully prints hello world and not get 100 percent?
The teacher insisted that we write a console "hello world" program in C++, on windows. If he can't read hello world, you fail. So you must add `system("pause")` at the end so the window stays open. One problem: system() is horribly insecure and im stubborn. I refused to write exactly what he wanted, like everyone else did, because I try to not write code I know is unsafe. So I ended my script with cin.get() which also pauses for input. Unlike pause however it can't be any key, it reads a line, so you must hit enter. This was "unfavorable behavior" and ultimately I got something like a high C, low B grade. Only person to not get 100%8 -
I'm the only one working on this anymore and every toolchain supporting the system (remember, we're using an ARM9 [initial strap CPU] AND an ARM11 (give or take an ARM7 slaved to the ARM9 that we don't have support for yet), all in tandem, and the only toolchain that remotely works is for ARM6 for some reason) hates the Linux kernel. Current goals: SD R/W support (currently RO), X, GNUTools, maybe a better fucking softkey driver (i'll have to find whoever made this one and fucking beat him), and a working joy2mouse/touch2mouse driver. Oh, and figure out if Swap would work either with the New 2DS/3DS' Bonus Drive (unused 64MB partition on NAND) without killing the NAND as the SD access is max. 1.2 MB/s read/write speed or so, which isn't fast enough for swap AND other things.
Currently working:
Busybox
Read-only SD support
Weston (term only, can't click)
Standard 3DS/Standard 2DS/New 3DS (Models before 2017, the non-foldables, rebranded standard 2DSes) features only, not yet New 3DS/New 2DS-enhanced
Currently failing final compile because toolchain:
Preliminary custom R/W SD support4 -
Oh, boy, do I hate recruiters...
So today I attended a Job fair, which mentioned it will be 'walk-in' interview for every company present there, only to find out they were mass recruiters, FUCK ME.
1. Write answers on the back of your resumes.
2. Group interview
WHAT THE ACTUAL FUCK!!!
On point number 2, HOW THE FUCK DO YOU ANALYZE SKILL OF A FUCKING CROWD OF 20 PEOPLE ALL TOGETHER!!!!???
Top of that I paid for this shit! I can hope for only the best now.....2 -
I've fallen in love with the EPIC games launcher, it not only shows you detailed information about download, read and write speeds, but also the distribution of operations! Never have seen that in a game launcher, steam blizzard origin etc should take notes!11
-
Oh boy I wanna write a script that replaces people's images with a pixelated icon and their messages. Writes code. Code crashes Slack, Chrome and Laptop. Only I can write code like that and make an entire machine unresponsive.5
-
Python and java tests in college? Both on paper, so you can only write your code once, using a pen, and you can't debug it or modify it. Awesome right... Smh11
-
The moment when they recommend you WordPress over Laravel just because it has better SEO.
Bitch, I write my own SEO. I'm not only on the first page I am the top result. Bet you didn't expect that.1 -
To this day I still don't know how the hell Nvidia makes some of the most powerful graphics cards available, yet manages to somehow also write the shittiest software among them. Somehow not only their control panel application takes an eternity to start, their context menu option makes that run like trash, and even Windows Explorer doesn't go unaffected.
But the solution as always: throw more hardware at it. Maybe that's why they make such powerful cards.9 -
Really good when you cant connect your pc with a 100€ os to the internet and you click on "show more solutions" and it only offers you online support and, even dumber, "ask a friend". Thanks, great work everybody, really good. Why don't you just write "sorry our os is too shity, but we don't want to care about it anymore, go fuck yourself in the corner over there"5
-
WTF is this shit? Multiply by 0 * Math.pow(2,0) upto Math.pow(2, 10).
Like why the fuck would you write that and not write a comment as to why that logic and explain everything else. Fucking fuck.
Turns out this logic is supposed to mimic the back end logic of breaking the flag value into binary and then set other flags depending on each bit. But why would you do that? I was starting to doubt if 0*n = 0.
This piece of code is inefficient, trying to be smartass, doesn't explain shit and doesn't have the only comment that mattered.1 -
Let's start by saying: God do I love programming and hate work!
My dream job would be a place where I get to write quality code for something that's actually useful and makes sense to people (or a group of people) without all the usual job bullshit; all the politics, fucking useless hours of meetings, the pretentious ass holes, and the useless mindless product owners with good pay to live comfortably and some organization (not being a complete disaster). It's only a dream though...5 -
Everytime i see someone listing a shitload of languages, i safely assume that they speak around 2-3 of them fluently. I did some c++ and can write a site in php but they are nowhere near my java knowledge, so i only list them as something i played around with. There is just no way you are fluent in c++, java and javascript because they take half a lifetime to master individually7
-
It is only now that I can finally appreciate how brilliant PHP is.
When you're new to programming, you write some HTML + CSS, it looks good, but the dynamic part is missing. So, you install PHP and just… write dynamic parts right in your HTML? How crazy is that? You can even write regular code there too! Errors are logged right away, common features like DB driver and sessions are built in…
It's all about marketing. Next.js does exactly the same thing when they brag about writing SQL in React. When they do it, it's revolutionary. When PHP does it, PHP bad. Gotcha fam 🫤15 -
I FINALLY comprehend list comprehensions.
I can write an unlimited amount of nested loops on a single line and make other less experienced people hate me for fun and profit.
Also learned about map() #I hate it#, zip(which is awesome), and the utility of lambdas (they're okay).
Enumerate is pretty nifty too, only thing I lose is setting the initial value of the iterator index.15 -
When you have to write methods that can only be used in a specific way only just to make sure your coworkers aren't fucking shit up.3
-
You're a great coder only if you can deliberately write bad code that works but no one can understand.
-
When you spend two weeks coding something only to find out there is a cool generator that could write 90% of your code for you7
-
Is it only me or does Unity really force people to write ugly code?
Sometimes I think to my self : " just go and write your god damn own fuckin engine"
But then I sit back and realize that I'd never finish a game that way.
Love & Hate Unity !3 -
Procrastination is weird... Their were a piece of code I wasn't looking forward to work on, so I started cleaning my apartment instead, putting some order in my files, and even tidy up my desk, which I didn't do for months 😐
And it finally took me 10min to actually write the code 😆
It's annoying, but I can't be the only one 🤔
At least I can enjoy a clean setup... Until it become a mess again...7 -
Oh dear Apple,
so you're telling me that for the camera API, the requestAuthorization() method returns a bool and for the PhotoLibrary it returns an enum. Why are you going with an enum when there are 2 states and the camera api doesn't use an enum?
(The 2 methods serve the same purpose, the enum exists in the camera api as well and has the exact same states)
And why do I need access to users photos, if I only want to write photos?2 -
TL:DR
Why do so shitty "API"s exist that are even harder to write than proper ones? D:
Trying to hack my venilation at home.
This API is so horrible D:
The API is only based on POST requests no matter if you want to write values or get values and the response only contains XML with cryptic values like:
<?xml version="1.0" encoding="UTF-8"?>
<PARAMETER>
<LANG>de</LANG>
<ID>v01306</ID>
<VA>00011100000000000000000010000001</VA>
<ID>v00024</ID>
<VA>0</VA>
<ID>v00033</ID>
<VA>2</VA>
<ID>v00037</ID>
<VA>0</VA>
Also there are multiple API routes like
POST /data/werte1.xml
POST /data/werte2.xml
POST /data/werte3.xml
POST /data/werte4.xml
And actually the real API route is only given in the request body and not in the path.
Why is this so shitty? D:<
Btw in terms of security this is also top notch. It just globally saves if one computer sends the login password.
I mean why even ask for a password then? D:
That made me end up with a cronjob to send a login request so I don't have to login on any device.
PS:
You see, great piece of German engineering.3 -
My dad always tells me to write apps to make money.
I did try that before but conclusion I came to was I can only create apps for myself, not for others. (Unless of course it's a job which gaurantees pay and usually I'm still a user).
Thoughts? How do you guys code/freelance just for the money?19 -
FUCK! The fucking previous dev on this project who set up the fucking web service that he knew would be shared among multiple platforms set it up to use an audio format that's only supported on one platform. Now I'm faced with either doing some fucking JS black magic to decode the fucking base64 audio, convert it to another audio format, and then possibly re-encode it or attempting to re-write the fucking web service and already in production app! Fucking hell!1
-
only if students would write proper answers in their answer sheet, that would be great. FFS one of them wrote HTML - HyperText Transfer Protocol.6
-
I ONLY WANT TO WRITE MY OWN CODE
TODAY I FOUND OUT I HATE DOING PR REVIEWS AND HAVING TO GO BACK AND FORTH WITH PEOPLE ABOUT WHAT THEY DID IN THEIR CODE
I'm sure it's beneficial, but it FEELS like such a waste of time12 -
💥🦆 Unofficial devRant Clone Jam 2023 🦆💥
Retoor has a challenge hackathon for you. 🧑💻 Post here: https://kbin.melroy.org/m/drbboard/...
Pick your tech stack, announce it in your comment by the link above, and code your own DEVRANT CLONE in 8 hours. There is only a week for y'all, but don't overdo it and write the thing just in 8 hours. If you need more time, announce that too. Address to the post for all the rules.
Code competition start! 🏁21 -
*client comes to us "please take care of our app, it's ugly and the previous devs made it all buggy, especially the Android version"
*we write code, analyze bugs, fix them, QA them
*we deliver a preview
*client only looks at the iOS app, doesn't give a flying fuck to the Android app1 -
Write a piece of code that works just fine and it's fairly extensible in 20 minutes.
Then proceed to spend the rest of your night rethinking and replacing said piece of code numerous times, with slightly more elegant code.
7 hours later and I'm still not done. Although a fine way to improve your skills, I seriously need to stop doing that for every single thing I write and start managing my time better. Got lots of other stuff I need to be working on...
Surely I can't be the only one doing this4 -
Hi , im new to programming and codings and my task is to make a output that outputs even number only ( not odd number) so i wrote this codes but its so complicated for me. Is there a better way to write it?
Thanks dears,,20 -
I long for the day I get a job with an actual developer team, where I can do things like getting my code reviewed or pair programming or being forced to write better tests.
Working as the only developer (or a team of 2) sucks :(4 -
Ordered a takeout wok/poke this evening from a new place. The only thought after tasting - what kind of junior made this....? I hope I write code better than he cooks food.
It looks like what it's supposed to look
it smells as it should
it has all the ingredients
but the taste is just... Not right.
I takes special skill to make it so wrong!3 -
While I prefer tabs over spaces for indentation, I usually don't mind using spaces as this is often decided project-wide(or even company-wide) by powers out of my reach and the people also normally decide to intend by the reasonable 4 spaces.
However, now I am working on a project with 2 spaces indentation and oh boy, what a pain it is to write any nested code.. am I really the only one with this problem?12 -
The world is full of write-only devs. People who never look at the code they create or change.
That's the only explanantion I can find for the fact that everytime I look into some code I have never touched or haven't seen for a while, I instantly spot at least one error that is so elementary, that there is absolutely no chance to miss it.2 -
The "unit" in unit test does not mean your ENTIRE APPLICATION. Ever heard of scope!?
I am amazed how often people write overblown test setups, mock hundreds of unrelated services, just to test one tiny bit of logic.
That bit of logic could have been a pure function.
For that pure function you could write a dead simple unit test. Given that input, I expect that output. Nothing more, nothing less. (It helps even more if the pure functions only accepts primitives, like string and numbers, or very simple immutable value objects).
No I don't care that the service is used by another service, as your mocked interaction also doesn't test the service as a whole but you just assume the happy case most of the time anyway. You want to test the entire application? Let's not use unit tests for that but let's use a different kind of test for that (integration test, functional tests, e2e-tests).
If you write code in a way that easily allows for unit testing, your need to mock goes away.rant unit tests test all the things tests you are doing it wrong tdd testing don't mock me unit test1 -
I hate PHP but those videos at Laracast are amazing and helped me learn Vue, and basic Webpack with Babel. Thinking about watching their PHP videos, but I'm not a web dev and not planning to, any advise? Though I do write websites for my self only20
-
Here's an excerpt from GitHub's mission statement -
"Code is about the people writing it. The tools we create help individuals and companies, public and private, to write better code, faster."
And yet, is there anyone else who goes - "What a load of crap! You came up with Atom and Teletype, but couldn't make your Search feature even a tad less annoying?!"
Only me?
.
.
I'll see myself out. -
Another member of the team updated the production JSON configuration of the project with a missing comma, this broke a system that's not yet live and where there aren't any real users (only used for demos/testing).
Instead of having a good laugh about how silly this was, the CTO/CEO removed their write access to production..3 -
Just ran rm -rf ~
Only good thing is I ran it without sudo.
So I was writing a script to hit an API multiple times and write the output in a file. Instead of providing the absolute path like /User/.... I gave the path as ~/..., So it created a folder named ~ inside the directory I was inside. Now I wanted to delete it and the file inside it. And so I did it.
I am an idiot5 -
in-App-purchases are so self explanatory in the App Store. Seriously, why can’t you at least just write something like premium, but only write the apps name?...2
-
Please. No. What have you done?
https://github.com/f/...
"I want you to act as an interviewer. I will be the candidate and you will ask me the interview questions for the ________ position. I want you to only reply as the interviewer. Do not write all the conservation at once. I want you to only do the interview with me. Ask me the questions and wait for my answers. Do not write explanations. Ask me the questions one by one like an interviewer does and wait for my answers. My first sentence is 'Hi'"3 -
The other day I went back to my college representing the company that I work for interviews of Freshers. Since I was taking interviews of my immediate juniors, I knew that every candidate’s major is Computers Applications, and we had sent out a JD ‘specifically’ mentioning that we need Devs, so tech people only.
We interviewed 40 people for first round in total out of which 12 were shortlisted for second round (we made them write some code).
Out of 12, 8 straight up refused to write the code saying they weren’t interested in coding at all (even professionally). Made me boil up so much, someone else, much more deserving and willing could have been in their place and may even have the job. But us humans are always cunts.2 -
If only they allow us to write unit test at work, its not that It is forbidden but we are not given time to do so :\
Done my test on my side project and now I can happily move to the next step.
Though I'd be happy if someone answers this:
1. When I have to execute functions by order, do I write all their code in one single function and divide them into regions (speaking of C# #reagion)
OR
2. I keep them split and implement the order attribute for XUnit?
My test case is basically just to make sure CRUD methods inside my repositories are working as expected, noting complex5 -
"Well, I used Jekyll, but then switched to Hugo - but then that wasn't cool anymore so, I went with Nuxt, but switched to React, then Gatsby, then Next - and Now I just redid it in 11nty."
"So, did you ever write any blog posts? I thought it was a blog? The only thing you've done for the past 3 years is to update your basic website? That really could have just been HTML?"
(I'm not sure we can trust this guy to work on a legacy project...)9 -
I've never been a frontend guy, I only could modify existing FE code and had some clues about how to write a hello-world using angular.
I've just refactored ~150 files in an Angular project, created half a dozen new modules and modularized lots of loose artefacts.
And after recompiling the project still works! And is now more maintainable!
I think I now can safely add "Angular" to my resume :)
P.S. Damn it, Angular is cool!!!9 -
WordPress uses 25+ MySQL connections per person. MySQL limit is set to 100. 4 people can bring down a critical component of the company. Only fix is to write custom MySQL connector using PDO and persistence connections. Added a Resistor cache just for good measure.8
-
Anyone else here that doesn't answer people that only write "hi" to initiate a conversation?
I always feel like they try to put me in charge of leading the convo. You wouldn't call someone and just say Hi, now would you?6 -
Arrogant fucks don't want to own up when they write bad code, like bitch, you were the last and only person to push a commit since the last deployment, don't give me that bullshit!2
-
I think tech recruiters will be among the first to have their job taken over by AI. Even I can write an "AI" that goes through LinkedIn profiles, doesn't read them at all, and sends their owners a job posting chancing it might be relevant.
Probably the only reason it hasn't happened already is LinkedIn's TOS.
...Cheaper and at least as effective as the real thing.1 -
These guys who only know Python and fuck you up, because you are used to write "true" instead of "True", or "else if" instead of "elif". Finally they laugh about you, because you are not able to "remember this simple syntax"!!!2
-
A few years ago web devs (javascript) were all like ‚you and ur freaky types, nobody needs that shit‘...
Then they morphed into typescript freaks only to write the most complex and unreadable types I‘ve ever seen 😂5 -
My new team mates type in the date and time of commit on their commit messages and maintain code only on master branch. Some people deserve have their write access revoked.2
-
WRITING CODE ON PAPER...smh
I know many people wrote about this already, but writing code on paper is one of the worst things of a CS class. I’d rather get a computer with no internet access and use a notes app to write code instead of having to write everything by hand. It takes so much more time that you could spend thinking about the problem. Not only that but also my hand gets tired of writing...ughhhh
I need to convince my teacher and the school to switch to writing code on computers! I will not loose this battle ahah8 -
Legit my only answer to fixing shit code for a nursing app at work is.....
Writing more shit code. Man the dude that developed this before had 0 clue what he was doing.....and because shit grew out of control there is shitcode everywhere.
I like writing shit code though. It is good practice.
Writing shit code without knowing is one thing. You really do reach expert level when you write shit code WHILE being fully aware of it.1 -
Copy and paste similar code where I have to change X values but ALWAYS mange to only change X-1 values so i get weird behaviour start debugging what in the end then takes longer than to write it new in the first place. Hate myself for that.
-
not me but… not doing fucking everything in js, no way I'm installing os.jsundefined fuck me fuck js too many frameworks i only write assembly js takeover typescript is a condom2
-
Can't come up with ideas right now? Do you feel dull and without energy?
Write a Thesis! The ideas will start to overflow as if there is not enough memory to hold them. Promise.*
Buy now for only 1337 $ 💵
*does not apply to the topic of the thesis though1 -
Learned an important lesson today- Never be sentimental towards your code.
The only thing common in all clients is the habit of changing their requirements, how sure they are about the unsurity of what they want. And if you are sentimental towards the code you write, about a difficult algorithm you implemented you will be in a mess -
Not being able to write code only using pen and paper :/
I had one job interview where they ask me to iterate a tree using my preferred language. I felt so uncomfortable.
And my problem is only the pen and paper.
I'm able to write working code without any code completion even without highlighting in any shitty editor. But when it comes to write code by hand on paper it feels like my programmer brain side turns off.1 -
I’m one of maybe the 10% of dev boot camp graduates that had a successful outcome. Most people think it’s as easy as just showing up, write mediocre code, get a certificate then you’re automatically an “engineer” with job offers being thrown at you. It’s not. I already had experience writing code throughout high school and took 2 years of cs classes at university before dropping out. TLDR; only worth it if you already have some technical knowledge or experience otherwise your just pissing away your money.5
-
Hey Lemonade is looking for 10x engineers! Please apply only if you write code that has at least 7 layers of abstraction. Thanks!
🤣
https://makers.lemonade.com/recipe/...8 -
If it weren't for poor documentation I'd be retired by now.
We didn't all write your library. In fact, only you did. So, some helpful documentation would really help us all out. Can't believe the number of times I need to read source code to figure out what the hell you are doing.3 -
Would I be going too far out of my role as a developer if I write a coding standards/development practices/procedures guideline for the whole team dictating a set of rules everyone needs to follow? Basically telling people how they should be doing everything.
I'm senior developer but not the only one and also the youngest. No one has to follow it but I would plan to present it to my boss and his boss. I feel like I would come across (if not already) like "I'm better/more experienced than all of you, so you should do what I say because the way things are now isn't working and will only get worse".5 -
Am I the only one who hates when I enter a simple question like "PHP memory limit" and the first link *isn't* the official PHP documentation? Who gives a flip about some fancy third-party webpage where they write a whole flippin' article about a simple directive?
Ugh... The priority Google...6 -
Ffs... installed devRant, checked my long forgotten twatter, looked at my fb and now I can't stop browsing soc media. In 2 hours I managed to write only 10 lines of code 💩7
-
I've got staff, I've got staff
And they bill time and a half;
Now I only write the gist you see
And they can code the rest
Open source, Fraying nerves
Smoothing out regression curves;
Try this framework, it's ambitious
It was made of spit and wishes.
Coffee rings, at first glance
But of course miss, he's freelance;
And this code base is a truly scary mess
I can't expand the menu
Even chance its home brew, unit test;
Unit test, unit test!1 -
OK, lets again talk about net neutrallity
The FCC said they dont give a shit about the people and will not listen to them.
OK. Got it?
So, what now?
Write your ISPs about the Problem! Thats literally the only thing I can Imagine to do! But honestly, I think its still useless... It still wont help... Were all doomed6 -
would you guys like to see a blogging network?
it will
- be similar to youtube/medium in many aspects
- posts will be written in markdown
- related posts will also show up
- you can tag posts
- posts can be made private or link-only
- essentially just a privacy respecting, simple blogging network, where people can tell stories, write an article, etc
- i intend to make this somewhat social, eg. you can share your profile link with friends, follow people, etc5 -
I have to write my thesis but no sentences are coming out of my head, only a mesh of incoherent word.12
-
- wake up
- check the news
- find some interesting video to watch [listen] to
- go get some breakfast
- heat it up in the microwave
*BT headset* stops receiving audio
*video player* stops receiving data via wifi
- write a rant in dR
*phone* sorry, wifi conn jeopardised, can't post
aahhh, the beauty of wireless. If only hostapd had a flag bypass_microwave_noise=1 for bgn APs15 -
Spending hours upon hours trying to understand C# entity framework relational data mappings, going to the extreme of looking at LINQ queries, writing and rewriting over 100 lines of code only to find I needed to write the joins in dot notation on the include!5
-
Nothing beats beeing allowed to pick when i come in for work. Also today is pretty chill. Building is halv empty and i only have to write a lil documentation for kubernetes :D
-
I have been trying to wrap my head around authentication in hapi for the last 6 hours...
Fuck this shit... when did simple,
I HAS A USERNAME
I HAS A PASSWORD
CAN HAS SESSION?
become:
- you magically get a token from somewhere
- you magically verify that token
- you respond with { credentials } //magic
- by some fucking black magic the server probably creates a session without you knowing about it...
- you freak out and write your own authentication scheme only to find out that you cannot read payload of POST requests in the authenticate method
- you get angrier and depressed and write a rant
(to be clear: there is @hapi/basic but I don't think sending a GET request with the URL looking like username:password@domain.tld is very safe...)11 -
Life is good when you're responsible only for your task, code you write.
While i had souch a beautiful life, I could come to wrk, make coffe, magic and be happy. Sometimes it would be fast, sometimes slow. Sometimes I had to learn before implementing, sometimes I just needed to code it down. I had working hours. I had only TL and client to deal with.
If you dislike working with your collegues, imagine being responsible for their work and feel good.1 -
If you're a PM, don't complain about the lack of documentation if you only gave your developers 20% less time than they needed just to write the code.
-
!rant
Guys, Im curious, what you would say about situation if you are in need of some quite simple tool and you write it but becouse you need it today, not tommorow, you just dont give a heck about all the fancy stuff and (lets say for php) you start to write all in 2-3 files like you was back beginner?
Or you just nope out of situation?
Do you refactor that when you bored just becouse this cant be on my disk, noone can see this abomination?
Or you delete after usage (only to relaize 5 minutes latter you need it back :P )
Im curious your opinion.
PS.
nope, if you came to bitch about any of opinions even opinion "well, i wouldnt give a fuck and just not do it", go away and get lost.
E: typo12 -
Can people at least write a damn comment and tell me why the fuck they don't like the app???
Yesterday I released an update and noticed someone left a new review, without comments, just a one star review.
First I was worried because maybe the update has some nasty bug, but no, this stupid user rated the app without leaving a comment, GREAT!!!
Now google only shows that specific review because the others were of an old version, so great, now anybody wanting to install my app will only see this shit.
If you already took the time to open the play store specifically to rate the app, fucking say something!!! insult me, say it's a bunch of crap but say something you piece of shit!5 -
!rant
This platform must be the only one where people wish each other to have no content to write about :P6 -
Mining-Noob-Exp. #2
Didn't found a simple mutpli currency read only wallet viewer to just quickly have a glance the current courses and your balances, so I wrote it quickly (and dirty) by my own 😋
Planning to write a stable Sail application of this idea -
I am pretty sure that I am not the only one who is lazy as Fuck most of the time but when I sit to code I write enough snippets that can be combined to form Baxter building.3
-
When you register to dev rant and write your first rant, only to realise you didn't validate your mail address, and this validation throws you back to the front page, losing your changes3
-
Today I had to write some shitty code that should work on ie in compatibility mode which is like ie in Version 6. I only coded on the clients system and never backed up. Silly me. Every think worked so I continued with another clients project. Suddenly my colleague came in our office and told me that the client deleted my code by accident. I never will keep code on client systems only again in the future.1
-
I graduated with a CS degree which focused 99% on software only. In my current job, I get to write software to control hardware (pumps, valve’s, etc). I think this is awesome and I really enjoy interacting with the hardware. It makes the software seem more tangible.
I’d like to stay in positions that allow me to write software and interact with hardware but I’m having a hard time finding jobs that aren’t just a PLC programmer.
Do any of you guys have a job like this?4 -
Whenever I go back to Ruby I feel the excitement flowing through my body I don't even know why. If only Ruby can be used to write proper modern mobile apps. No no no Rubymotion.5
-
Learning to code is like learning to write when you were younger. It can be sloppy or clean but if you keep at it it'll probably become clean. But, with these sites like code academy that accept only one solution to the problems they present it's as though you're being told that everything you're doing is wrong eventhough you get a solution to the problem in the end. It bugs me that these sites want people to code the exact same way.
-
Right now business is kind of slow for my company, so I've been working on Documentation. It's been kind of cool to make the gitlab repo, write the Markdown documents, and then push them to the repo when finished, but it's also hard because it's only me really doing anything...rant git in general is pretty awesome coworker needs to pull his weight! gitlab is cool markdown is cool documenttion
-
“Everyone is busy building stuff for right now, today, rarely for tomorrow. But it would be nice to also have stuff that lasts a little longer than that.... You don’t have to be a genius to write fast programs. There’s no magic trick. The only thing required is not building on top of a huge pile of crap that modern toolchain is.”
—Nikita Prokopov, “Software disenchantment”, retrieved from http://tonsky.me/blog/...5 -
Starting to learn Haskell/type theory. I have put it off long enough and I hope this time I can get past the 5 minute intro/overview.
So far the only functional programming I have done is trying to write/use functions that take state in parameters only and limiting side effects (that I know of).
Expecting to have my mind blown and to get a monocle too.3 -
Question PHP folks. Is it a standard to write:
public function hair()?
Writing only:
function hair() is just the same thing to the above. It will default to "public" hair right? 🤔 maybe just a PSR-2 standard or for readability? Thanks!3 -
I *hate* it when a senior asks me to write a functional test report. Like I thought we hired functional testers to do that sort of stuff? I'm a programmer, I only write 3 things: code, documentation, and more code. Not freaking reports about how something did not work before, and after this 1-line fix does work. Oh and don't forget to include screenshots and a description of the issue. Arghhh4
-
rant && !rant
Our timetable for lectures are online as "rapla" eventsystem. I want to write a small app including a timetable. As I didn't found any way to get the lectures as JSON (Bad documentation of API) but only as formated (and ugly) HTML View, I just wrote a small node module that parses the html body with cheerio and fetches all needed data of each entry in a week. Worked out pretty well, will add more functionality.
Never felt so independent 🙌🏻 -
Sometimes I write code as If it were poetry. Other times I only try to do not exceed 80 characters per line! 😂😂2
-
My left cortex: You have a paper to write @poster983. Put devrant down.
My right cortex: NO! Enjoy yourself. You have a study hall tomorrow. Do it then.
My left cortex: Remember, you already said that about history. Best to do it now!
*mouth makes farting noise*
My Right cortex: COME ON! IT'S HUCKLEBERRY FINN. JUST USE SPARK NOTES! DO IT L A T E R!
My left cortex: fuck you right.
My right cortex: right back at you.
*Snapchat buzzes*
My full brain: OK HALT THE DEVRANTS! THE BOYFRIEND IS TEXTING!
(Notice the recursion here?). This is why I can't ever write papers.
Same thing applies to when I'm programing. I end up spending 2 hours on something that only should have taken me 1.
My left cortex: Stop Ranting!
Help me.
💩2 -
"It rarely takes more than a page to recognize that you’re in the presence of someone who can write, but it only takes a sentence to know you’re dealing with someone who can’t." - Josh Olson1
-
Sometimes I feel like things only get done if I'm doing them. We've been waiting on features a and b for ages now and it's still not functional. I deliberately did not involve myself with these things because I didn't want to be on top of everything. I decided to involve myself with project c and finished within a week.
I write these thoughts off as intrusive since it's arrogant to think that, but the frustration remains and I need to vent4 -
Started working as a "working student" in an it company to write unit tests. (which then will be executed automatically - so automated unit tests)
Realised that I write more or less the same code just changing the names and some parameters (sometimes more if it's not an number but a bool for example but it's pretty much the same scheme)
So I bought a tool for 1$ to use "auto complete" on custom templates.(I type testgetbool and the tool replaces this to the test case only asking for the variable name.)
So now I'm writing automated automated tests 😁😅
(which is btw pretty boring but cost & time effective)2 -
Even if he's a younger guy than most other examples, my mention is:
Jordan Walke
He's the inventor of React, which probably changed the way to write (web-)apps for a lot of people and was based on a prototype written in StandardML.
He's also created ReasonML which is not only in many ways a more fitting language to write React, but also a good systems language (props to OCaml and it's unbreakable type system). Many React concepts/patterns have their origins in functional language concepts, including reducers and hooks.3 -
Just had an argument (with myself ;)) whether to write a completely server rendered site or a js app.
The only stas I have manged to find is from 2010 saying potentially 2% of users could have js disabled.
Why cannkt I find newer stats :/4 -
i fucking hate react and don't understand react
Is it cleaner to have useContext to pipe in override test data for storybook and write an outer context for that code only? Real production code can ignore and not set this.
Can child component onHover update parent's stateful variable to unpause the urql/graphql datafetch in parent data wrapper component. Parent pipes queried data to child component to properly display on hover that kicked process off.14 -
After only having done linux and web projects for the past few years, our company took over an old WindowsForms program written by a guy who only (poorly) knows C. It's some of the most foul code I've ever seen... And I'm the only one in the company who knows how to write C#...1
-
If your unit test has a bunch of mocked up dependencies which you puppet to do whatever the fuck you want. Something could be improved perhaps
- write a test at a lower level if possible where the dependencies can be abstracted away, or you pass down what you need from them
- write a higher level integration test, i.e. which uses real spring context instead of mock dependencies
But my senior tells me that a unit test will almost always mock all of its dependencies, it should only test the logic in it's tiny atomic piece of work. Mock everythign else out.
Devrant, how do you unit test? I'm looking to learn more on the topic and hear how others do it.5 -
My coworker (who didn't study cs but has been with the company for 2 years now) was given the task to write a script that uses a csv file as input. The file name? "csv.properties"
Everyone still calls it a csv file and I'm the only one who cringes.1 -
"Oh, you only know 10% of how these algorithms work? You're now the subject matter expert, so you get to write the code"
-
You explain something exactly. Write extra documentation and even do tutorials and videos for the approach.
And then others come along and think they want to do it completely different. And only because the colleague before them has already done so. -
So, for my task I'm supposed to make Multithreading in java simple and understandable using Runnable classes.
The only problem is, that that's practically impossible when you're in a course where more than 80% can't even write a hello world program.
Any ideas?11 -
!dev
I used to like apples Autocorrect. I use the english and german keyboard.
but since my main language is english and I only write german when chatting with my family, sometimes I'm too lazy to switch keyboards.
Now the german and english corrections kinda got messed up.
it started to correct my intentions like:
Such - Sich
Nein - Nine
Dich - Dick
Gut - But
Fuck - Duck (don't know where that came from)
...
which can lead to unfortunate sentences.
So I decided to disable auto correct about a week ago.
What I realized is.. it's fucking impossible to type precise on a fucking smartphone without it.
even this rant took me about 10min to write..4 -
!dev
So my company says they are paying the market rate, and I should be grateful about it. When I went for interviews at "some big companies", I got offers from 2 different companies with the annual pay x2.5 of what I am getting here.
My current company mentality is so shitty that they only want to hire undergrads or people from oversea so they can pay less.
I do not even know what my fucking role is at this point, I do DevOps, I fucking do infra, I also do SRE shit, then I also write fucking code for servers. Yet my pay is slightly less than just "dev" working at good companies. Fuck my company, I am leaving soon.
I am not the only one in the shit show here, our PM also has to write code because most of our developers left. Most of the time, CTO is not even in the office, the company is basically run by some managements below CTO.6 -
A medium knockoff - but I can only invite people I know to write as having the ever-so prestigious blog master title. I built it from the ground up with next js and it is my lil baby 🥰2
-
Coding would be fun right now.
But seems like i gitta do a night shift to rock network technology test tomorrow. The most annoying thing about this test is, that we have to calculate ip addresses by hand. Not too hard, but damn.. We are not allowed to write it down in hex, only binary (while calculating). And he wants to see interim steps in our calculations.. Even with IPv4 addresses it will be a great amount of 0s and 1s to write.
I better look for a second pen to take with me..1 -
Fighting against a read-only-memory-write exception of a com object for two days. Feeling like Spartacus but without a result for now. Wanna only sit down and cry. 😢 by the way... Outdated machines with win7 and 2 gigs of ram 😨. This is my second I-hate-this-F*****g-world rant this month. I'm gonna really hate this world! 😬😈4
-
I have been looking at my github contribution graph.. i only write code when I'm unhappy.
The times of my life when i am happiest and make the best memories are completely blank. I suppose I have been using programming as a coping mechanism, some hobby to keep my mind off things i dont want to think about?
Has anyone else experienced this? Maybe I should be doing other things with my life.1 -
Looks like Android studio's artificial java to kotlin converter learned faster to write better kotlin than my shitty brain :/
People from java background, where did you learned to write efficient kotlin code and how?
Where to learn how to write that famous "kotlin's super precise and small , ugly ass anonymous looking code full of keywords , that only work when arranged in a particular pattern and defies my all previous knowledge of oop , java and good practices " code?
I really wish to learn, since android and google seems to be heading towards this beautiful new shit1 -
At the office
5 website is down !
Searching for answer ... Noting. Nginx is calm, php is calm, DB to many connections :O but the DB is interne acces only !!!
Internal ddos WTF
Drupal 8 website -> sorry guy i just fucked up and write 8Go of useless log in watchdog table because something went wrong
Actual log : %errormessage %errortime %vardump
Me : damm he fucked up and cannot write some complet log 🤣
Do you know some module to limit this table size and write acces ?2 -
Does any of you write notes about what you learn in your day to day job? I recently covered a colleague that went on vacation because the product was going to be shipped during his vacay and I was assigned to do some tweaks, since I am the only one on that team that also knows frontend apart from him. My job is computer vision and he is a frontend dev, so when I sat to take a look, I started to learn new tricks for frontend and I felt the need to write them down because when I go back to my routine, I will forget them since I won’t use them for computer vision. However, knowing frontend is always handy.. do you guys take notes on stuff you might not touch again but it’s useful to keep somewhere?4
-
Am I the only one who when studying for an exam has the urge to copy all the slides by hand? And I mean not typing, good old handwriting. Then scrible in them and add own notes, write a summary and then try to recall it all.
It doesn't seem very efficient but I do not feel complete or even remotely prepared if I haven't done this. Although I did pass exams in the past without doing all of this...2 -
The only thing I coded while drunk was a girls name and her phone number,
I write "leyla" and it then turned out her name was actually "irem"
Yeah I'm not going to open the pandoras box with drunk commits when I can fuck up a name 😐3 -
"hey, write us a simple interface for this shell script.."
script:
- input must be a file, does not accept loading through stdin/redirect
- accepts relative path input from one specific directory only
- fails if provided absolute path
- even though it fails, it still returns return code 0
and every time we've tried to open up a topic of programming practices we got slammed with "we're ops. you should be glad they're doing at least some scripting"5 -
God dammit, I hate my bloody coworker sometimes. He's doing a huge refactor, and committing... which is fine, but he's clearly NEVER run the fucking test suite. I didn't write that much coverage so you could commit something that breaks the build and then fuck off to lunch.
Not only has he not run the test suite, I don't think he's run his changes AT ALL. The bloody modules don't even import the way he's written it now.2 -
I write a lot of custom code for a program my company sells and there is no good way to run tests on it. I just spent a bunch of time wondering why the change I made didn't work only to find I accidentally clicked paste shortcut instead of paste when copying the file. I really need to take some time to write a program to copy all my code for me instead of relying on a manual process. I guess a new night and weekend project.
-
Fuck you Redis
Goes in a docker container, calls bgrewriteaof, get success, checks info - no pending writes, last write success.
Tries to scp to remote, fails - Unexpected AOF
Decides to shut down the local redis to be able to port, in case it's blocking it
Calls redis-cli shudown (expect to just shut redis down rigth)
It fucking deleted all my data, now I see the docs
"Flush the Append Only File if AOF is enabled."
Why the fuck? Fuck you redis, fuck you1 -
While I appreciate the effort, gdpr has some very stupid parts which clearly show that it wasn't properly discussed with experts.
For example: Information that somebody had received can never be reliably deleted, any attempt to do so will only make people use alternative clients. The only part of the service that I control is the server, especially in open source, and if people accept that others will see their data, it cannot be "unseen". I can delete it from my side so no one else will receive it _from me,_ but please don't make laws that enforce me to write client features no one wants because anyone familiar with the market knows that this will simply produce an alternative.3 -
Just sat through a demo of some clicky-draggy data visualisation stuff.
The guy showed us how you can write a custom script that takes a user input and pokes it into a sql command using string concatenation, so a very obvious injection vulnerability.
Ok, so it's only a demo. But you wouldn't do a demo with an example user called Captain Cock, so why do a demo with a screamingly obvious security hole?
Whole thing was basically pivot tables in a short skirt anyway.5 -
Why Dart was designed with idiocy:
1) naming conventions are idiotic
Most other languages are smart enough to not throw errors when the variable name matches its type. And lots of others, for any lexemme - only 1 naming kind is allowed.
Fine. Oh wait, there's that thing called existing databases and GraphQL & other APIs, should they all adapt to this? No, because 2) is the bonus
2) String keys in objects. Unless it's a class with boilerplate, you write them as strings and access them as strings.
So here's the solution when you want to integrate Dart with existing services: write a lot of JSONSerializable decorators to fit with dart's pissy naming requirements.3 -
!rant
I see a lot of people complain about uni degrees and stuff because they don't learn how to code etc. Is this really the standard?
I mean I'm only in fourth semester bachelor and had coding knowledge before starting uni. But we had basic to intermediate java in the first two semester, now learning how to write secure code and OS-Level stuff in C++, we had a module with practical Assembly coding all while still learning all the theory.
At the end of the first semester we had to write a terminal game in Java. I mean of course that's not "real experience" but if you dive in you definitely learn the basics you need to get started in real life.
Or am I wrong completely / just in a weird uni?6 -
So, finally decided to write my first rant.
I finished today a function that takes the generated week calendar of a WordPress plugin and gives the user a nice print layout.
Problem: The plugin doesn't use the database for it's calendar, only for the events in the calendar. I had to write really unefficent code in jQuery(ajax) and PHP and additionally create a new table. Finally completed the code for printing out a selected day, the current week and a timespan that can be defined, every exception and input is now handled correctly .
Such a great feeling to be finally done with this 4000 rows code.
I hope that I will never again have to create a workaround for such a not-developer-friendly plugin.
Why do clients always want to use such plugins?!5 -
Am I the only one who wants to be able to write functions in a human readable way, allowing for parameter in-between the words?
Instead of defining:
const enforceStringEndsWithChar(string: string, char: string) => {...}
I want to define it as:
const enforce(str: string)EndsWith(char: string) => {...}
.
.
.
I'll see myself out.6 -
Okay, so most of the backend stuff is done: the parser, VM and assembler can be considered in working state. Now I only need to combine these bytecode files I'm outputting to enable including and-- FUCK. I HAVE TO WRITE A LINKER.7
-
Sometimes it’s hard being the only front end web dev at an older desktop/backend centric shop... sometimes I say things that make me look so ignorant but then I’m like “...how do you not know how to write basic CSS?”
-
Am I the only one who hates it with his guts that most Active Record implementations infer fields from the db?
Which motherf*cker thought it'd be fun to imagine the model through several migrations, or to imagine the data types in the languague itself when looking at the database?
Let me write the model and infer the f*cking changes to create migrations, not the other way around. -
Spent countless hours on internet reading WMI documentation to write a RAT agnent for our server side application only to find out there is a WMI Creator Tool which literally generates code for such purposes. FML1
-
When comments find their way to class tests:
“TODO: Finish conjugation of montre in the whole text”. I had no idea of the conjugation and finished under time pressure so this stayed in the class test (gave it back last second) and I was well aware of it.
Just wondering what the teacher must have thought. Didn’t say (or write) a word about it tho.
Should see if someone tweeted or posted this (I mean someone wrote a book only with examples of stuff like this)
Idk, I should ask if I’m allowed to write class test in an IDE. And set MARK, TODO, etc. Would make them a lot easier.30 -
So this student right here, not only he was so nice to give me 2 options on what to pick out from test, but both low in value :D The task was to write out all the dividers of a set number :D this guy, made it as simple for him as possible :D2
-
How the fuck do I handle self-called senior developers who do not want to do testing (writing unit tests and manually testing) in an agile environment where there is dedicated tester anymore?
They behave like fresh programmers out of college only wanting to write their code and nothing more. We had a dedicated tester role but that guy left the project. -
My super power would be....to code in a language thats far superior than any other
But i will be the only one that can understand and write it4 -
GraphQL or REST?
I'm not really worried about boilerplate (my research reveals it's roughly the same), I currently have a (very incomplete) REST interface, but that was just for testing.
Also, the API has no real usage yet (I only use it for submissions) and it literally exists for the sake of having an API (so I don't need to write it later).10 -
Praised be the developer/customer! 6 hours listening to him how HIS WAY is the ONLY way to write clean and reusable code! And teaching us how to write HIS way!
No matter how it ignores normal conventions, his way will ALWAYS be the better one! And to everybody who codes otherwise... we call them WRONG!!!!!
Anything you would like to change? NO! We will write it the way "WE thought it before" (I think he meant "HE thought" and impose into us... but... well, I guess I'll have to endure...)
It is the first meeting for this project, and I already want to jump off of a bridge :)2 -
I've been asked to write a job ad for a frontend developer, as I have never don that, what would you write in there? And what are usual salaries for frontend devs? Also what would you ask them in an interview? What kind of coding challenges would you give them? Also we're not looking for a "code monkey" only but that person should also be responsible for jow everything looks (like the design and UI/UX of the site). How would you call that position? I've for now put "Frontend UI/UX Web-Developer" there.2
-
when you really wanna write an extension for this software but the only API is in node. gotta rewrite it for Ruby! 😓10
-
Am I the only one who thinks OOP in Javascript isn't always the best option? I really like structured code with classes and objects but sometimes it's just fun and satisfying to write a buttload of functions to do all sorts of things and build your code with that.1
-
Not strictly dev related...
I've been googling for minutes trying to find out the frigging sequential read speed for class 10 SD cards... I could only find the write speed and GAZILLIONS of SD ads.
It should be higher than write speed, right? I need this to give dd command the proper speed so I won't risk losing data (it's a backup) and I won't have to wait forever either. But I'm wasting more time looking up the frigging speed... I need dd cause it's a whole-disk backup (partition or file system seem damaged)
I can't rely on specs because I'm just not sure about the brand and model.
... Ah yes, fuck everything.4 -
Confluence WYSIWYG-editor shall burn in a thousand hells. This thing pretends to be smart, yet all its autoformatting achieves is to enrage me. I don't remember dropping so many f-bombs in such a short time frame.
I hoped to ease to the pain by writing markdown, yet I can only write markdown in a new insert markup window which does not even comprehend nested lists. And don't get me started that it wants to push its Confluence Wiki syntax first. Why does it need to reinvent the wheel?
Why can't I disable the WYSIWYG feel of it and just write plain old markdown?
Confluence, you are part of the problem!
I rather keep the documetnation inside the git repostory inside of md files. But no, confluence shall be our source of soon to be outdated documentation.
Sigh. -
Maybe one of you can help me, since I can't find something online.
I want to do a transfer.sh-like app in Go. So you can upload a file with curl, it gets stored there for some time and you can download it later.
The problem is, I only found tutorials for uploading files over html-forms, not over curl.
Does any of you know, how to write a handle-function, that accepts something Like
"Curl --upload-file SUPERIMPORTANT localhost:9999/upload"1 -
devRanters!
Do any of you find that you can type the solution faster than GitHub Copilot recommends?
That's how you know you're senior 😏
Also, on a serious note, does it only support JavaScript / TypeScript? Didn't really take time to investigate.
I thought there was also a feature you could tell it what to code and it would try to write a solution. Haven't really seen how to do that yet.7 -
Today, or wednesday (can't do anything tomorrow, family is coming over) I'm going to start writing documentation for my project.
Problem: Never wrote documentation before.
I only have the database done (still need to write the migrations and seed, but the structure is done). How do I even write documentation for a bunch of tables? I guess I'll learn that this week.
Wish me luck, I'll need it!! -
Imagine the nooblet hell it would create if Python would throw actual errors all over the place if pep8 has been violated...
If only...
sidenote: I post this rant because I had to help my girlfriend and her project partner (for her study) because partner refuses to write readable code (no comments in the code at all as well) and both refuse to write in compliance with pep8 "because it's useless"5 -
I'm looking for my replacement... Helping HR to validate the profiles, and I'm discarding people only because they write their code in Spanish... Name variables etc. I feel they are not following good practices.. ( We are a Spanish speaker country... )1
-
The only thing worse than having to write documentation as you code is procrastinating it to the end...2
-
Apparently some manager in the company found out that we produce less bugs if there are more meetings (there is literally no time to write actual code). At least that is the only explanation which comes to my mind WHY I HAVE TO SIT IN THESE SHITTY DISCUSSIONS THE WHOLE DAY TO DISCUSS THE SAME ISSUES AGAIN AND AGAIN.
-
I'm currently developing a Node.js tool. Now I want to write some unit tests, but I never wrote unit tests for a node app before and I don't know which framework I should use. Do any of you have any experience with the available unit testing frameworks? In the past I only used Karma and Jasmine for Angular unit testing.2
-
I wish I could stop forgetting how to write bash script. I have just spent about 5 hours on a 10minutes script.
This script allows you to run a command on a file for which you only have specified the last letters (the extension is not required). It's like an autocomplete from the end. Does it make sense ?
Whatever here's the link : https://gist.github.com/GarreauArth... -
"if compiler can infer this, there is no need to add "x ->" , simply use it" ..AAAGHH FUCK YOUUUUU KOTLIN!! what else should i fucking not write? why do't you take a number of my employee and ask his requirements, maybe add a ShoppingKartApp.kt in your compiler next time? it will be completely inferred when i write "Fuck you" in the gradle.
And fucking companies are promoting this! I wonder how those devs are living there
Person A knows only that lambda is
{name:Type,name:Type->code}, and thus writes a clean code.
Person B comes says "This shit suck", writes "{ acc, i -> acc + " " + i }" ,goes away
Person A : "wtf is this shit? why it works?"
Please for the love of god, follow some rules! My first language was python, i love its zen:
- Beautiful is better than ugly.
- Simple is better than complex.
- Readability counts.
- Special cases aren't special enough to break the rules.
- There should be one-- and preferably only one --obvious way to do it.
- If the implementation is hard to explain, it's a bad idea.
-...
I just wish it follows at least one thing from python's zen : "There should be one-- and preferably only one --obvious way to do it."3 -
First of all, this is a bit of spam. So maybe you don't want to read this. I don't want to waste your time.
----
I recently started a blog where I write about my experiences of dev life, git and others.
Currently it's only in Spanish but I don't discard to create an English one. :)
Blog: https://k-site.ghost.io/4 -
Is there some app that can record my internal rants and conversations?
The problem is I only have them in spurts when I'm outside or not at a desk and then can't remember then if I want to write them down later. Plus I think if I were writing them down as I thought it out, it would disrupt the flow...6 -
This is the most f*cking frustrating moment in my life. I am trying to install node-sqlite3, but I am constantly failing to install OR use the thing. The problem is, it is only compatible with node versions 4.x to 7.x. I tried my hardest to make it work with node 8 and higher, but failed miserably. If anyone has suggestions, write in the comments.2
-
everytime i try to learn kotlin, i can only think WTF is happening, why should it be happening?
after wasting last 4 hours, i came to this conclusion table regarding kotlin var and val notation.
And now my fucking compiler is saying that i can rather write :
val x:Int
and initialize it later, when i thought val is immutable and must be initialized at the beginning only(like public static final int x =5)
Who the fuck are those people that like this stupid language? why would you say some variable as immutable(meaning which can be changed 0 Times "ONCE" ASSIGNED A VALUE ) and when i can create a program with a variable that never got ASSIGNED A VALUE EVEN ONCE??10 -
To my surprise, I recently found a documentation page written by a specific co-worker of mine, which I thought could only mean he had decided to leave the company and thereby was forced to write that. Later I found out I was right about that. How sad is that? I mean that someone refuses to document his work in any way, not that this person has actually left the company. The only information on the page was something along the lines of: "Uses the gradle build system.". Ah, and "you have to have Java installed". Thanks, mate. Couldn't have figured that one out.
-
[POLL] How do you develop stuff?
1 - just write code. It doesn't need to be organized, it just need to work how you thought it would, and THEN you start organizing things, like editing/creating new files, letting things DRY, optimizing the sutff you did earlier;
OR
2 - you surgically write code, making sure you keep everything is organized from the beginning. Basically you only write when you are sure.
Or maybe it's a blend between the two or something.
I'm asking because I do like the #1 and I feel uncomfortable when people see my code when it's under development. It's a mess, there are tons of comments everywhere and a bunch of repetition. But, when I find the right stuff, I start writing modules to make my code work better, remove unnecessary things, add documentation, and so on.
My development process is not the best of the best, but I get things done with it.7 -
When you are trying to write event handlers in JavaScript and nothing is working so you spend hours and hours trying to figure out what the fuck is wrong with your js code only for it to be a duplicate id. Fuck sake. I really wish JavaScript warned you about duplicate ids, but then again that's what you get for using such a weakly typed language.
-
installed linux mint along side with win10.
alocated 25gb space on my ssd for mint (as i would only install couple of browsers, git, python tools and atom)
26hours of happiness. yess im finally back to Linux 💒
Today: Turns on pc, unable to read or write root fs.
turns out lint used 11gb for boot fs and 12gb for swap! and now I'm locked out of my dev environment (wrote so many codes which is in boot fs)
F. M. L9 -
!rant
I prefer to write desktop applications or mobile applications (android). Only time I touched web-applications so far was for school.
Tbh, I hate it the way have to do it in school. vanilla js, no css framework, JSP backend (sometimes php 5.4) and that rounded up with eclipse indigo.
Let's not even talk about the fact that we never really talked about js or css in school, so that was even harder for me too begin with (still suck at both of them imo)
I can't express my gratitude for js and css frameworks. They make web development much more fun for me.
💖 laravel, vuejs, materializecss💖
Feel free to suggest me other things, I only completed 2 project with these1 -
How should I explain to my colleagues why to use a object oriented approach or even dependency injection when they write mostly only static methods in our projects?
Points like testing and maintenance don‘t sadly work.2 -
Fucking Quarkus. Fucking Panache. Fucking ORM.
I wanted to do a fucking simple projection. First this piece of fuck, the Panache, won't let me do a Projection because of a fucking bug, that haven't implemented it properly until 2.12 (fuck and you call this v2?). Ok, upgraded, to the latest 2.16, cuz why the fuck, i'm upgrading already. But now the whole fucking quarkus app won't start! Noice! Ok, fuck it, let's go down exactly to 2.12. Quarkus started, perfect. But now, this pice of fuck Hibernate says 'collection was evicted' whenever i tried to read a collection in the setter (Access.PROPERTY), which worked just fucking fine before. But okay, fuck you. I'll write a @PostLoad method, fine, just fuck off.
But that's not the end! Now it says I cannot write `select parent.someColl is not null and parent.collection is empty as canProcess` because "is empty" only supported in where clauses. What fucking wonderful system! Well, fuck you. I'll write a union query. But guess what! JPA standard does not support union queries, nor HQL (Eclipse Link does, btw). Ok, fuck this shit, let's write a native query. But hey, fucking Panache does not support that. There is no fucking place in their fucking docs stating anything about how to use native queries.
So, fuck you quarkus, fuck you panache, fuck you hibernate, fuck you overcomplicated limiting bullshit called full-fledged ORMs. I'm moving to a fucking mybatis and fuck it. It's simple as fuck, does not fucking restrict me in writing whatever shit query I want to write and let's me map the shit just fine.1 -
There is this ERP/MES integration project in which I am involved as a developer who helps a team of industry engineers in my company to write some scripts (in Quickscript .Net god forbids) to consume a SOAP based web service developed by the ERP maintainer team from another company.
I will just keep every stupid technical aspect I ve seen unspoken and highlight the naming convention used in the web service methods.
One of the web methods named "zzwswo" which only after consulting a bunch of pdf nomenclature docs that I realized it means the following:
"zz" seems to be a prefix for custom db tables in the ERP system.
"ws" is probably Web Service.
"wo" is Work Order.
I lost hours trying to figure out methods. I think this is why not everyone should be allowed to write code. -
It happens with everybody or with me only. A year before I was able to write whole app and now switched to other tech. Now I am unable to write even hello app without help
-
Learning vue.js as the moment and loving it. However, it does make me wonder, when using a framework are you essentially cheating?
I wonder if framework only "users" can write raw code outside of a framework?3 -
My vision is to work part time as a dev and part time as a writer about mobile app development! I only started recently to write one article each week about interesting topics or my current side projects. Previously I never thought that it would be so much fun to write about what I am doing, but I really enjoy planing and writing these articles 🥳 Maybe some day I will try my luck and apply as an iOS author at raywenderlich.
PS: I would be very glad, if you could give me feedback to my new article! 😁 Help me to achieve my vision 😜 Here is my new article about music and sound effects in a SpriteKit game for iOS:
https://medium.com/@HeyDaveTheDev/... -
My task is to create a form for posting customer details to the server.
I've spent almost 2 days on the UI.
I mean, it doesn't look like I've been doing much if you consider the UI only, but I've been testing many scenarios of what works best, but unfortunately, the boss only cares about the code, and not how many concepts that have been tested.
So what the form basically does is if you click on the edit button, the inputs field will occur, and if you click on it again it will remove the lines around the input field for better presentation of the data.
How do you show to someone the work you've done, do you write notes or show them the code?3 -
The coming week will be super depressing, because I have to start handing over a scala project to another dev who only knows java. This means I have to dumb down everything, because anything other than Java and C# is obviously complex and management only has cheap Java devs available...
At least I don't have to write Java myself (yet), so I will hopefully keep my sanity a little bit longer. -
Hello, I'm new to programming and I need to write a website that allow some people to bet for sports match scores (without any money, just for fun). I want it to have leaderboard, personal statistics, easy way to add and remove teams from database (last one for administrator). My question is what programming language/maybe framework will be the best for that? I'm interested only in this bet system because rest is almost done. Thanks for help4
-
What are your opinions on antivirus programs?
I've just recently looked a bit deeper into it and it's scary how useless they've become... Especially signature based ones, as 82% of all malware only gets used once before they get changed again and 70% of them are only active for >1h.
Also, if you're able to google and have a slow sunday, you can easily write your own virus that won't be recognized by AV. It won't be a devilish masterpiece, but it'll work.
Do you think AV (especially paid ones) have a future?2 -
Why i cannot find partners to form a team to write mvp's and products ? Everyone either look only his company job either is too not-disciplined. I try to find what i am doing wrong in that. I can provide more info about that. Why no one wants to be a free "wizard" negotiating with his own terms (e.g. i want to work at night) and everything now is fitting on companies culture etc.4
-
I started programming when I was 11 and tried to write scripts for my gta San Andreas "server" in a language called pawno. It was fun but there were only few tutorials so I bought a book about c and immediately was hooked.
Now 8 years later I'm studying informatics and I learned a few other languages including c++ and java during those years.
I'm happy I played gta as a kid : D -
I had to write a js bpmn flow designer for a huge bpmn app on request and my crazy brain said fuck it I can do it in 2 months, let's just say I made my deadline with school and all. And it actually worked very well it needed only a bit of bugfixing when it hit QA.
-
I had to generate different kinds of graphs at compiletime and had to compile a graph and write down the code size for that specific width/height in addition to one of three implementations which all need to be evaluated. I computer scienced the shit out of it!
I wrote some Rust code that easily lets me build some graphs with the dimensions passed as input parameter. Then i wrote a method that converts the graph into the definition of the graph in a C header (sadly the only way) and wrote a bash script that executes that rust code with all possible dimensions and saves the header into my source folder. Then i build the application and write the programsize into a file.
In the next step i run a python script that reads all the generated files with the sizes and created a csv file which in turn can be used by excel/numbers to visualize the dependency between depth of graph and code size 😄
I had only some hours for it all, it is messy but works 😄 -
Integration of with another web service.
The only documentation it's a Skype chat.
😝😝😝
Save the chat content as text: It's the bible of this service.
Can someone write a text on the stone for future needs?
Please help me !!!!2 -
I want to build a program for my projects and generally to organize my different work/hobby related things.
I want to do this in a language I'd have to learn, so far I only know how to write in Bash, Python and JS(Node).
I do however, have some experience with the fundamentals of programming and are very comfortable with data structures.
So far, I've looked at using C or Rust, does anyone have some suggestions? (I've also looked at Electron but it seems too easy for this project)
The current overview of my thoughts for the application:
- Be secure
- Have a UI for visualizing projects
- Hopefully cross-platform (but I only need linux)
- Optimized for speed -
For those who are on my team, arguing on not putting comments in their code:
How much ever (un)readable your code is, any peer / reviewer / future team member can only understand what that code snippet is doing, but not why was it written in the first place or what the hell you were thinking while writing that logic. So, it'll be awesome if you write that as comments or at least link to the story/design doc which warranted that code.3 -
So I have some android device experience as well as scala with Play framework and someone has asked if I can build them and android and iOS for their business. Mainly information with a few tools for using their companies methodologies. I have never created an iOS app before only Android.
So my question is what should I do, write both natively or do hybrid using PhoneGap or alike (recommendations welcome)3 -
Am I the only person pissed off with PHP PSR-2? Maybe I like coding with snake_case instead of camelCase. I don't care what other devs use so why do I have a gang of controlling ass-hats telling me how to write my own code!?! >:(4
-
Is programming a website/basic backend program in TypeScript with NodeJS actually a good idea? Or should you be programming it in C#, Rust, (not PHP), Golang, etc?
I personally feel like NodeJS has pretty amazing performance considering how much less code you would write compared to the other options. Although I feel something like Rust (haven't used it yet) would be more robust but more work.
Note: I only currently know JS, TS, C#, Go and obviously HTML, CSS9 -
When you have a customer that is a pain and you have to do a new contract since months but they are no replying but at same time there is a bug in a plugin they are using.
They are not updating their plugins in production but only after a test in staging.
In production there aren't write permission from web server side, so only they have access.
And the plugin has a 0-day. -
Probably only one on earth but when I see or write "asbestos" I'm used to think of it like AsbestOS. :I
-
Waking up with a Red wine hangover only to find out the banks changed its cc processing system. That easy to set up extension I'd planned on using today won't work... I've got to write one from scratch.
Can someone please magic me to tomorrow? -
When you write a crawler to scavenge through a set of sites but only compare their 'uniqueness' through an on-startup hash map which doesnt reflect values already in DB and now you've duplicate values coz you didn't define uniqueness in DB either :v
I need to not be sleepy rn. -
I hate using fpdf and mpdf.
I'm sure the people working on them are great, pretty sure they have helped a lot of people, me included.
But boy do I hate not being able to write my html in peace only to find out the style I want to apply isn't supported within a table
It's making me want to jump out the window.
Anyway, I hope you whoever is reading this had a nice day, and if you didn't, you will tomorrow, you got this!1 -
When's the last time you've had to write raw SQL? Can you consider yourselves SQL experts even though you only use it through ORM's?9
-
As a marketer, there are a lot of things you've to face. Like I'm new in this field, therefore, I struggle to make plans for my marketing strategy because I don't have any senior and I'm the only one who handles everything from Social Media posts to what to write in blogs of our website.
So guys, do you have suggestions to help me out and makes my work more comfortable.5 -
I try to delete a partition from my sundisk Pendrive using GParted but when I do this I got the error that is shown in the image.
And If I try to use "fdisk" which run `sudo fdisk /dev/sda` following command it gives me ```welcome to fdisk (util-linux 2.34).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
fdisk: cannot open /dev/sda: Read-only file system```
following error does that mean my pendrive permanently broke can anybody help me!9 -
Working day 2 of 2023… (yes, I got the year right this time)
Another day of CDK, and cursing how far it can at points lack behind in features. It’s only annoying when you’d actually want to use one of those new features. 4 issues resolved today, only 3 (known issues) on my backlog before this one’s done.
Oh, and TIL that one of my first tasks in my new role (that I can transfer to once I’m done with this project) is to write some IaC. Happy days. It’s pretty much all I’ve done for gawd knows how long. So good nothing ever changes.2 -
Sometime I feel, god forget to write proper toggle command for me.
For others it is random, for me it is static. One sad life. Only hope is system run out of memory because it is recursion with no ending.
here is the dev-rant
After fucking with Laravel Passport for 3 days, I finally manage to find a way to do multi auth.
Yeah! dude I am the guy who is going to write a tutorial for that. So, you must -- this rant.1 -
Am I the only one that negatively judges people who listen to podcasts or audio books while they write code?12
-
When 10 months old article about possible problems and how to avoid with mocha, chai and es8 is outdated as hell...
But the problem is that only in the comments did they write that it is outdated!7 -
Arrgh...
I need to do a lot of refactoring and testing (%80 percent of which is integration) and ITS SO TEDIOUS!!!
Now, for anyone who says "oh, you write spaghetti code, your code shouldn't be so tedious to refactor". No. It's only tedious because it's a few thousand lines that I've been too lazy to refactor till now, and I need to go through it all.
Anybody have any advice for refactoring or testing in Go?17 -
Should I write my app as a pwa or in electron. The app needs to be on mobile devices too but I wont mind rewriting the app for another platform since the app is pretty small. It only needs notifications, network access and basic read and write access to write some pretty small configs. Most of the code will be for the ui anyways1
-
To you CPP-devs,
I want to write a small ask-password tool, like systemd-ask-password, but tty-only and non-systemd.
I use termios to switch the terminal into noncanonical mode and disable echo of stdin.
Now I want to read chars from cin and append them to a string, until I read an endl or an error occurs.
In C, I could use an input-loop with getchar, but how could I do this the CPP-way, since cin.get() is nonblocking?2