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 - "i know it works"
-
Client: This works correctly, but I don’t like the code.
Me: What exactly do you not like?
Client: There are barely any lines of code. You need to add more to make it better.
I...I don’t know what to say.25 -
I just remembered the first time I set up a Linux-Server. It was a simple Apache webserver at my first internship anf I didnt have a clue about literally anything.
My mentor guided me through and gave me literal step-by-step instructions (alright, now type... and now type...).
At the end he told me "OK, now run 'sudo rm -rf /*' to finish setting up". Me, being the naive and clueless motherfucker I am, happily nuked the everloving shit out of my newly setup server. I was like "Alright, WTF just happened??" He then told me "Now that you know how it works, do the entire thing again all by yourself. And you just learned an important lesson: NEVER exexute commands you dont know what theyre doing". I really did learn a lot on that day and still follow that lesson :D8 -
How not to give support..
Me: Creates ticket on support site, letting them know their webservice returns "maintenance" page.
Support: "It works on our end."
Support: *closes ticket*
Euhm.. excuse me?
Me: Creates another ticket with a screenshot and the curl response information..
Support: Sends screenshot back that it works on their end. "Maybe check your firewall"
Support: *closes ticket*
I ain't playing these games..
Me: Creates new ticket with more curl responses from 4 different servers to prove it's not "firewall" related.
Support: ..
2 days later
Me: Sends *friendly* reminder.
Support: ..
6 days later
Me: Creates ticket again saying I'm still having issues.
Support: "I'm forwarding this to our technical support"
Support: *closes ticket*
10 minutes later.
Technical Support: "Here's the manual for our integration .pdf."
Excuse me, you say what now? I KNOW HOW IT WORKS, I'VE WRITTEN THE INTEGRATION ALREADY. THE SERVICE JUST SEEMS TO BE DOWN FFS.. pls..
Me: Sends mail to their project manager who manages the clients dossier with support history and such.
Him: "I'll check it out and let you know."
1 day later.
Support: "We had some issues this and that, wasn't publically availble, works now, .."
What a nice way to waste your time..6 -
Guy: dot net dev (C#) on windows. (desktop + server)
Team(not his team, he just happened to sit next to us): php/frontend devs and Linux (server) people.
Team: starting a new project! We'll have to see what framework to use and what server :D
Guy: i know it's none of my business...... but I'd recommend dot net and windows server!
Me: respectfully, that hardly makes sense, you know our skillset/field... i understand that it works for you but it doesn't really for us :).
Next to that we'd rather not use windows for security reasons.
It's fine if that happens once.
When it happened for the 1748472823'th time, I had a real hard time controlling myself.10 -
A while ago (few months) I was on the train back home when I ran into an old classmate. I know that he's a designer/frontend/wordpress guy and I know that he'll bring anyone down in order to feel good. I also know that he knows jack shit about security/backend.
The convo went like this:
Me: gotta say though, wordpress and its security...
Him: yeah ikr it's bad. (me thinking 'dude you hardly know what the word cyber security means)
Me: yeah, I work at a hosting company now, most sites that get hacked are the wordpress ones.
Him: yeah man, same at my company. I made a security thing for wordpress though so we can't get hacked anymore.
Me; *he doesn't know any backend NOR security..... Let's ask him difficult stuff*
Oh! What language did you use?
Him: yeah it works great, we don't get hacked sites anymore now!
Me: ah yeah but what language did you use?
Him: oh it's not about what language you use, it's about whether it works or not! My system works great!
Me: *yeah.....right.* oh yeah but I'd like to know so I can learn something. What techniques did you use?
Him: well obviously firewalls and shit. It's not about what techniques/technology you use, it's about whether it works or not!
That's the moment I was done with it and steered the convo another way.
You don't know shit about backend or security, cocksucker.16 -
So I cracked prime factorization. For real.
I can factor a 1024 bit product in 11hours on an i3.
No GPU acceleration, no massive memory overhead. Probably a lot faster with parallel computation on a better cpu, or even on a gpu.
4096 bits in 97-98 hours.
Verifiable. Not shitting you. My hearts beating out of my fucking chest. Maybe it was an act of god, I don't know, but it works.
What should I do with it?241 -
Every time I hear "if it's stupid but it works..."
NO Fucking No!!!
If you know that it's stupid you should fucking correct it!!!21 -
Manager: Everyone will be required to switch to Mac in the next couple of months.
Dev: Um, why?
Manager: Macs are more professional and developer focused than windows machines, I read it in an article. Plus they look way nicer.
Dev: Half of the applications we use don’t have a version that works on iOS.
Manager: What? How do you know?
Dev: I have a Mac for occasionally doing some work on the iOS app we support. I ran into that when I was setting it up as a development environment.
Manager: You have a Mac?
Dev: Yes
Manager: Why? How come you don’t use it for development?
Dev: …15 -
This is a true story
I am a freelance developer, i recently had this conversation with my client:
Client: Add multi language option to my website
Me: Ok, I need for it 3-5 days
Client: Why?
Me: I need to create multi language system, this
website is built from scratch without using any
framework
Client: No need to built it, Just enabled it i need it fast
Me: Sir there is no such thing to enable features that
does not exit
Client: Listen me, I need this feature today, enable it
and we are done.
Me: Thats not how it works..
Client: I know how it works, i have hacking certificate15 -
What people say : My computer is a mess and it works damn slow.
What I hear : I don't know fuck about using a computer2 -
Went to an interview for the position ‘PHP Web Developer’. Interviewer scans through my CV for 2mins and then starts the interview.
Interviewer: Do you know Java?
Me: I know Java but I don’t have any professional experience
Interviewer: Do you know Hadoop?
Me: No. I’ve never worked on it
Interviewer: Our company works on Hadoop hence you should be able to work on that after joining.
Me: I thought this is a PHP web dev position.
Interviewer: Of course. But you will have work on various other things too!
Me: I don’t think I want to become jack of all trades. Thanks for the opportunity!
I got up and left the interview...7 -
On call part 3: I'M BACK ON THE CAL FROM YESTERDAY FOR THE LAST 6.5 HOURS AND THEY'RE JUST DOING WHAT I TOLD THEM TO DO YESTERDAY. Is it because I'm female? Does having boobs mean I don't know how ssl works and that I can't possibly know about networks? I'm seriously about to just hang up and tell them to deal with it on their own.
Cup is there because it expresses my mood.12 -
Conversations between 2 java programmers.
Me: How it's possible that your code works?
Frank: I don't know. I try 10 times, and each time, I get an error.
Then I take a break...
Eat a humburger, play ping pong, drink coffee.
Me: That's it?
Frank: Yes
Me: I need a break...3 -
*Doing a Peer Code Review of someone senior to me*
Me: This fix doesn't look like it will work, but maybe I don't understand. How does this fix the defect?
Senior Dev: *Blinks* It works on my machine
Me: But how does it work?
Senior Dev: It works when I run it on my machine...
Me: Do you know if this will fix the issue?
*Silence*
Never seen QA punt an issue back to development so fast.7 -
Hey. This code look broken. What should I do?
It isn't broken. It's doing what it's supposed to.
Well, it's hard to follow, but it certainly doesn't look right. And it isn't doing what I expect. Also, why is it calling method(a_class1_or_class2) with a class3?
It isn't hard to follow, and it works just fine. Let me show you. ... huh. looks like it isn't right. and there's a comment here saying the calls aren't clear. but it works just fine. Just copy it over and do it the same way.
I already did that. and it isn't working.
What are you talking about? Of course it works fine. Did you check your code?
------
Really, dude? It doesn't work fine. but, guess what? It works fine* when I change it to call that method with a class2 like it asks for. (Surprise!) But I can't tell him that. Nope. Bossmang get offended. Still won't admit I was right about anything, either.
Ahh... the continual joy of working with (and for) trash.
* well, more fine; the rest of the feature is still wrong. but nope, i'm not allowed to fix it. because why would they want anything to work properly? Already-accepted wrong behavior is good enough. Can't clean up the code, either, because that "muddies the waters." Bitch, I couldn't see the bottom of this sewer if it was half an inch deep! Which is more important: the last contributor entry beside the code, or that code being readable and maintainable? or it, you know, working?
doot doot.
need to scoot.8 -
Me: "Hey <coworker>, I got this mistake do you know why?"
Coworker: "Seems to me like you didn't put <thing> in there"
Me: "No way, I just edited it here"
*looks at file*
"Oh, I didn't save that"
*saves file*
"Oh hey, it works now 😅"
Office: 🤣🤣🤣
Mondays, I guess 🤷♂️3 -
i hate the phrase "It's working but I don't know why". If you don't know how it works, it means it doesn't work at all and will fuck you up soon.6
-
Series of events between me (Mi) and dude in office (DIO).
Instance 1
DIO: There is not psql installed on staging.
Mi: Install it.
DIO: YUM is not working.
Mi: *tries yum it works* It is
DIO: Oh. Didn't work earlier.
Mi: *blank* Make sure you install 9.6
DIO: Cannot find psql
Mi: *types psql, it is already installed*
DIO: Oh, didn't work earlier.
Instance 2
DIO: Made this change to the API, the endpoint is not returning the right value
Mi: *restarts server, shit starts working*
DIO: I am pretty sure I did that, don't know what happened.
Instance 3
DIO: Cannot alter role to give login to this db user.
MI: *runs alter role db_user with login* works
DIO: Don't know why it wasn't working before.
Instance 4
DIO: I have been stuck on this test for the past 1 day, cannot get the API to return the right data while the Rest Endpoint works fine.
Mi: You are hitting the wrong endpoint in the test.
DIO: Oh, I put an extra 's'
Mi: BTW you are testing Spring-Boot with that test and nothing else.
DIO: Yes but what if Spring Boot has a bug?
Mi: ok.7 -
Holy shit balls it works (so far)
-
So I’ve been working on a project... well feature for the past year (yes 12 whole fucking months - anti agile I know)
And today I got to merge that bitch of a pull request into the current working branch and deploy it to UAT - no conflicts 😵I think I need to put the lottery on tonight!
And some how, by some stupid lucky roll of the dice it just works.
I have never felt so afraid and delighted in my life!6 -
Me: I've been using ubuntu with i3 for 6 months. Is awesome. Everything works great.
Brain: Have you seen debian or arch linux. They're better than ubuntu. Just try' em
Me: Brain shut up. I don't have time to reinstall everything + I'll 100% fuck my pc up. I'll do it another time.
Brain: Trust me. I know what's better for you. Try it now
Me: No.
Brain: Pleeeeease.
Me: Ok fine.
Me: Now windows doesn't work, debian doesn't work. I need to format my hard drive and do this shit all over again.
Brain: ¯\_(ツ)_/¯. Hey. Install arch linux.9 -
Published a well documented and tested API with project examples for basic use cases
- "Yeah we didn't use yours because we didn't know how to use it"
- "Did you look at the documentation or code examples?"
- "What where?"
- "In the repo you just cloned"
- "Yeah no <random guy> found a hacky way of doing what we want, his thing just works"
- "I..."4 -
Today I was wandering through the code of the project I work on. The project is on JS, turns out someone named an object key `undefined`. They had the wonderful idea since they didn't want to pass a key through on the side where the info stored in the object is used(or at least that's what I assume).
Look at the image. (not the actual implementation but you get it and it actually works if you want to try it)
👏🏼 I don't know who did it and I rather not git blame it, but pray to the 7 gods you never do something like that again while I'm around or you are going to be in need of prosthetic fingers to code again motherfucker.16 -
Me: ya hi, we integrated with your API and I'm receiving error x
Provider: ok we'll disable validation, plz check
Me: ya it works, what's the problem? I used a GUID for id and I'm sure it's unique, here is URL and request body
Provider: you have something wrong in your implementation. Fix it and it will work
Me: aaand what's the wrong part of my implementation?
Provider: id is not unique, fix it. *Hangs up*
I sometimes sit and wonder, how and why does this kind of people get hired, FOR FUCK SAKE YOU ARE THE PROVIDER AND YOU DONT KNOW WHAT THE FUCK IS WRONG!
fucking useless ...7 -
An interview scene today:
Me (interviewer): Ok so tell me this.
Candidate: Umm, aaaa, blaa blaa blaa blaa, this and that.
Me: But I didn't ask you this.
Candidate: I don't know the answer to that but I know blaa blaa blaa blaa, this and that.
Me: It's okay if you don't know the answer to my questions, we will skip to the next question.
Candidate: Ok.
Me: Asks how "X" works and why should we use.
Candidate: Umm, aaaa, "X is a .." blaa blaa blaa blaa, this and that.
Me: Okay, I already know what "X" is, please tell me how it works and why would you use that.
Candidate: Umm I don't know, but I know X is blaa blaa blaa blaa, this and that.13 -
Our University professors taught us very little. If one wanted to actually learn something they had to go out of their way to learn it. I was one of the few who actually did that and as a result I ended up being the "top coder" in class.
This meant that I developed an ego.
Then came internship. It was two months of systematic breaking me down and building me up again, forcing me to stop thinking of a solution that just works and actually think of a good design to a solution.
I know I still have a long way to go but I know those helped me grow as a developer. -
Linux... Is shitty... Ok it just is. I've tried all kinds of variations and they all just... Urgh
Now I know... I know devs are meant to love it ... But compare it to windows
(Yes windows fucks up more) but when it works it works.
... Windows isn't perfect... But it doesn't try to be.
Linux has that feel of... Clearly made by a dev... It works consistently but doesn't take into account how people want to use something...
Linux is something you have to learn to love. And I'm sure I could.
But with windows it's intuitive it's straight forward
I feel like if I was to pick up windows having never used it... I would know how it works. I could at least use it go online and watch videos do the basics... In Linux ... No it's not as easy, sometimes not possible
An os you should just know how to do everything you want to do, and not have to download tonnes of shit to get it that way
It is, the future... But holy fuck get your act together Linux65 -
'hey honey look what i made! It works!'
- fiance looks, error messages over error messages, program crashes, files disappear, data loss, pure horror
To this day I don't know what happened. I had to restore my project and re-write the last half hour.4 -
From the guy who wrote all the Programming Microsoft books and the Annotated Turing book. Comes this book.
This book is great for beginners great for people who don’t know a lot about software and how computers work, simple read. I like it because it also gives a different prospective, beginning at Morse code and works up from there all the way up to high level languages.
The book gives snippets of code to discuss it not really a tutorial book. It’s a different type of book that all people could understand.
Good read32 -
OMG! I fucking hate it when people who have no idea about technology whatsoever have a conversation about some 'technical stuff' and I've got to listen to trash like:
A: "It's a wonder that all of this stuff actually works!"
B: "Yeah, I heard that it all connects over some kind of WAVES or something like that..."
FFS! I know you can't know everything, but please for the love of god ... just don't!
- Currently sitting on the train and cringing like a madman -11 -
Ok google, set an alarm in 20min works great but when you say ok google, cancel my alarm it just says you can do that in the app. I know I can do it in the alarm app, but I am a lazy piece of shit, that's why I asked you to do it!4
-
You know that feeling, when you code, compile, run. It just works ?
That’s the moment I get insecure8 -
I've been fired today and somehow it was an relief :)
As I know that I am pretty much the only one who knows how the infrastructure works and I am the only one who actively tried to get the company to a better level of coding (tests, code reviews, proper deployment / continuous integration,...) It somehow feels like that gif.10 -
When the university finds out you're a pentester:
Usual underclassmen: Can you hack my bf/gf? I think they're cheating on me.
Delusional underclassmen who think they know everything: I can hack too! Who's your master? I learned how from master jimmy *runs a batch script that has "tree" on loop. See? What batch script do YOU have?"
The IT teachers: can you show us how a payload works?4 -
I saw a piece of code that, to my knowledge of software engineering, should have never worked in the first place. The code doesn't know that, and it works anyway.
I call this a "bumblebug".3 -
I dont know if I should hate it or love it that I had to teach "certified microsoft engineers" about how Exchange works.14
-
I know people complain about Android Gradle takes so long to build (and I know the reason why, thanks to @DRHAX34) but for me that isn't what I have to wait for.
It's the shitty WiFi at work that causes issues/bugs I'll never experience normally lol
When my app builds I have to also connect to the internet and check for updates against the umbraco server, and it works if it fails to connect (naturally) but our internet somehow manages to stay connected enough to trick the app into doing continuous checks or some form of tiny and long downloads
I've been tempted and sometimes do use my own mobile data which would waste my tiny data (at the time)
Anyways fuck you shiternet lol -
Friends' Boss: You're one of the programmers, right?
Friend: Yes sir.
Boss: I need you to fix this layout problem for me.
Friend: But sir, I'm a back end programmer, I hardly know anything about style stuff...
Boss: You're a programmer, you'll figure it out.
That's not how it works, that's not how any of this works.1 -
Processing is WHAT?!
So is it just me or is processing like the most fun thing to do with coding ? I mean, it's perfect for relax; it's fun like playing games but it still gives you something.
I've never been so keen to code like I am after weekend with processing. OMG!
And it's not just that you can do everything, understand how M$ Paint/Photoshop does things, understand how games work and how EVERYTHING around graphics works, it's also that there are SO MANY REAAAAALLY GOOD resources that you enjoy ""studying"". Things like pong, game of life, Gaussian blur (the one you use in Photoshop daily, yeah, do you understand how it works ?), Painting or edge detection OR ANY OTHER THING RELATING TO GRAPHICS.
It's simply amazing so if you don't know about it, give it at least 10 minutes(at that point, you'll be programming GTA 6/Photoshop 2 or something..), you won't regret it.
Anyaway, feel free to share your creations!10 -
Me: I don't know why people hate CSS so much. It works fine for me 😑
Inner me: Liar, Liar, Pants on fire 🔥 😂7 -
Guys, i found it, the peak of modern technology. This usb cable can be inserted either way and it works (and it's not usb c) . I don't know how does it handle inverse polarity but it works !9
-
That awkward moment you go from being the developer of an online store, to being the customer of said online store, and pray the ordering system behind the scenes doesn't fall over due to a bug you haven't fixed yet 😅
Here's something I never thought I would do, I just returned this weeks pay check back to the company!rant who needs drugs it's all fun and games until it's not i know it works don't break on me now i built it online shopping6 -
Proton by Valve.
I know it’s technically a Wine but slightly modified, but the fact how stupidly simply it works is stunning to me.
https://github.com/ValveSoftware/...2 -
I wish the apple review team shove them white polished apples up their fucking asses
A problem solved over a month ago... Ipv6 works it's tested.
Now you come back with a very specific old iPad on a very specific os and say it doesn't work !?
The topping on this shit (apple) pie? They sent me a screenshot of the issue.
It's a screenshot of the fucking login page. I know what the fucking thing looks like you assholes.
Absolute tossers2 -
A 40 ish woman who works with economics said "you don' know anything about AI because you're only 16". I then proceeded to show her my shitty AI me and my friend made and explained how it worked. (It was really shit but would still consider it an AI)
She just stood there and was pretending to understand so when I was done explaining about it, I told her not to assume you're smarter than a 16 year old just because you're older and have read some article about AI on The Daily Mail.18 -
I honestly don’t know how my coworker has been a software engineer for 10+ years, doesn’t know and or understand a single Linux command, only works from windows... also doesn’t understand the concept of proper version control ... thinks zip folders is completely sufficient... AND doesn’t understand why someone would need to refactor something... says it works... I’m like you have a 2000 line function... yes it works, but it’s not testable nor reusable... he says he’s tested it (at his desk) ... and so what if it’s not reuseable... he’ll copy and paste and rewrite something for another project. “That’s what we are paid todo” .... HORSESHIT!!!
I don’t understand how the system hasn’t weeded people out like this.... and he blindly doesn’t want to take criticism, or learn.. saying his Years of experience proves he knows what he’s doing... bullshit
I’m just happy management is on my side.20 -
Be careful when you go down the rabbit hole of creating custom observables (rxJS).
I wasted half a day just to find out that there are hot and cold observables and that the whole time I tried to use the wrong one.
It finally works. 01:00 in the morning.
My boss will be proud when he pulls the changes and the code looks completely fucked up (clean, well structured code, but he doesn't really know observables).
Now something different: Sleep. Cya. -
GitLab CE crashed after doing a reconfigure, something with the LetsEncrypt client. Hours of debugging later it suddenly works again and the letsencrypt client doesn't throw errors either.
Happy that it works again but I'd like to know WHY it suddenly works again after I pretty much changed nothing (or, I did, but I put everything back to the original values every time a suggestion doesn't work).
Grrrrrrr.2 -
Wrote some code that solved a program in a semi unique way for the codebase. As in not oft used functionality of language.
Some time later... This might be hard to understand. Maybe I should do a different way.
Some time later... No, I will leave a comment to describe what is going on.
Some time later... That comment is kind of cryptic. Maybe should rethink.
Some time later... No, if the next dev doesn't know how this works then they should learn how it works. (reasoning here is that the functionality requires a knowledge of internals of language)
Some time later... Also, if nobody else gets this then they have to ask me how it works. Job security?
Some time later... STOP THINKING ABOUT THIS CODE AND MOVE ON!6 -
This compiles and works in C++:
int arr[10];
5[arr] = 42;
cout << 5[arr] << endl;
I know why it works technically. Its just pointer math. But I have to ask "Why?" Of all that is unholy, WHY?!11 -
And after copy paste when it doesn't work, I read the text and come to know only works in x version, which I never have.2
-
!rant
Heres a Tip someone showed me a while back, thought I shared it here if somebody didn't knew. It works with Browser bookmarks and keywords that you assign.
Use-case:
typing "java: String" into the search bar will show searchresults in Google that only returns Pages from the Java API about Strings.
Steps:
1.Search for "https://docs.oracle.com/javase/7/...: %s" in Google.
2.Bookmark it
3.Edit the Bookmark and assign the Keyword "java: "
4.??? (Search "java: Sring". duh)
5.Profit!!1!1
Use-case:
Or typing "stack: help" will search for help in stack overflow.
Steps:
Search %s in SO, bookmark and assign a keyword.
As far as I know this works in FF and Chrome. Cheers2 -
so my co-worker uses emojis in comments
ex:
// i don't know what's this i just copied it from stackoverflow and it works 😂2 -
Just wanted to spread awareness about a Windows 10 devRant app called "devRant Unofficial". It's literally a 1:1 clone of the Android and iOS apps.
Maybe the devRant team could contact the dev for come co-operation and get an official app for Windows 10 with little to none effort?
It works on mobile and PC so I can easily use it on my Lumia and Surface. I know most of you guys here use macOS, but for us Windows devs, having an official app would be cool.
I know Valve talked to an unofficial developer of the Steam app for Windows Phone, and gave him approval for removing the "unofficial" tag. I suggest you guys do the same.
Happy 2016's death everyone, and sorry for the long and boring post!13 -
"It works on our end", the sentence that made me lose my shit.
I've been working on a project were we're supposed to integrate an API into our system.
When trying to get some user id's (UUID) from said API, we got a type-error in the response (???), so I called their integration support and asked what the fuck they were doing (not really, i was kinda calm at this point).
The answer I got was following:
Integration guy: "Uh, bro, like, I don't even know, it's probably on your end"
Me: "We literally used this endpoint with the same parameters yesterday, and got a result we expected. I noticed you updated your API this morning, did you make any major changes?"
Integration guy: "Yeah we changed the type of user id from string to number"
Me: "So, you changed the type of a UUID (uuid4) from string to number? How did you not think that would be an issue? I can see in your forums that everyone else is having the same issue."
Integration guy: "Nah, it's probably a bug in your code, it works on our end"
Me in my mind: *IT WORKS ON YOUR END?!? IT DOESN'T FUCKING MATTER IF IT WORKS ON YOUR END, FUCKTARD.*
What I actually said: "Uhm, I'm not sure if works on your end either, I'm not even sure how this change made it to production. But hey, thanks I guess, bye."
WHY AM I NOT ABLE TO YELL AT PEOPLE WHEN THEY ARE BEING RETARDED???
But really though, when you're maintaining an API, you shouldn't fucking care if things work on your end in your dev environment. What matters is how it works in production, for the end user/users.
And I know that 99% of cases it's the users fault by entering the wrong parameters or trying to request with wrongly setup auth and what not, but still.
Don't ASSUME nothing's wrong on your end. It's your fucking job to fix the issues.
And guess what? The problem was on their side.
I'm going fucking bald.2 -
I want to know what brings you Joy while programming/coding?
I've been trying to catch that certain feeling...
For me it's having everything make sense and a logical flow through the code and it works every if it is adding two vars.
And please definitely not the money if you're coding for money then you're not enjoying it.12 -
After 10 years maintaining the same codebase, I sometimes find features in the system that I wrote years ago and I forgot they existed, like "Cool, I didn't know the system was able to do that, I completely forgot, I wonder how it works, and God knows how I wrote this shit, let's see..".
I've even found myself starting to implement features that already exist, and then having to revert the changes.3 -
I received this special picture per WhatsApp. It changes its color the first time while downloading and the second time after you tap on it.
It goes from about #ff96e1 to #42000d
(Yes, I know these Thumbnail-Faker but in this case it keeps changing its color even after opening and closing the pic multiple times)
I did not find anything by inspecting it on PC...
Does anyone have an idea how it works?21 -
I got my first computer when I was in 3rd grade. I don't know yet how to search for web pages. What I would do is take a keyword/topic and prepend "http://www" and append ".com" to it.
So if I wanted to search for games I would type "http://www.games.com" on the URL.
Sometimes it works, most of the time I land on some familiar 'buy this domain' web page -
TL;DR: Why does that online shop NOT support paypal?
I'm a LITTLE pissed.
I wanted to buy some stuff online (since my gf birthday comes closer and I have no city, no car nearby to go shopping) - and this website doesn't support paypal. You know why? Because they had to high fees.
Why on earth don't they do it like any other online shop?! - the user can pay with paypal for a little more % or €.
I don't have an actual credit card but the thing you can get <18yo. Paypal works with it but I can't use any other payment option.13 -
I just found a new WhatsApp Crash Exploit. Full denial of service right there. An attacker could send a message to a Chat (be it private Chat or group Chat) and everyone who receives the message has no chance of starting WhatsApp again. It crashes and won't restart.
Tested on latest version on Samsung Galaxy S6 and S8. Don't know if it works on other versions but I am pretty sure it does. (It's midnight here, noone online to test)
The fun thing is, I knew this Bug for a long time but when I last tested it, nothing happened. Which means this Crash is only possible because someone at WhatsApp programmed a new Feature...19 -
So a friend of mine is starting to learn PHP and HTML and he tells me:
"I wrote some code in HTML but I can't run it through the browser"
I'm not brave enough to tell him you can't "run" HTML
But later, he told me "so now i'm writing PHP just to understand how it works, but don't want to install the program to run PHP"
How the fuck you gonna learn?
I already know I'm gonna have to build what he wants to do :/ at least a couple thousand euros incoming :D2 -
I got an internship as a Software Developer!.... So I thought.
I have been here for 4 months now, all I have done is manually insert data into a excel spreadsheet and upload it to the backend system through a UI. I haven't done any coding whatsoever or even spoke about it.
The boss's excuse was that I need to know how the system works. I understood and carried on...but 4 months later I am doing the same thing over and over again and it's not looking like any sort of progression will happen.
What should I do? Do I leave....I want to get expirence but I am not learning anything.
HELP!9 -
Seriously? Microsoft does not support ed25519 SSH keys in neither Azure DevOps nor the actual Azure Virtual Machines? Like seriously? No there has to be a joke. There just ain't no way
It has been in OpenSSH since 2013.
2013.
We're in 2023, if you've forgotten.
10 years ago, OpenSSH implemented this standard.
Did you know what they tell you when you enter your valid Ed25519 SSH key into their system?
Did you know they tell you that "Your SSH key is invalid"?
WHAT DO YOU MEAN INVALID???!?! IT WORKS EVERYWHERE ELSE JUST FINE!!! YOU'RE THE ONE THAT HAS NO FUCKING BRAINS!!!
Composure.
I am calm, I am calm.
I have always. Been. CALM!
There is no one more calm than me....
I guess RSA it is then.
A second SSH key, just for Microsoft.5 -
As someone who used to be a full-time Dev, but now works in other areas that sometimes don't quite scratch that tech itch, I find that each visit to Deviant inspires me more and more to work on personal Dev projects. Don't know how or why, but it just does. Go DevRant!3
-
So I'm not sure I understand this question fully, if it is meant only through code, than I guess none or those people I got to know while I was doing my algorithms and data structures project last semester where we were helping each other with our code
If it's meant generally through code related activities then I gained lots of friends in uni in classes and here on devRant of course and actually yesterday I got to talk unexpectedly about coding and programming languages on an event with a guy who actually studied financial maths in Vienna but now works as a tester and works with databases, that was nice6 -
Hey guys,
I think the topic of this week is very important.
Older, experienced devs are giving their skills and advices to the younger one.
Some of you maybe know it, I'm a young developer, who started his apprenticeship at september.
I'm feeling good there, the others are friendly. I learn a Lot there. I had experience before I started there. It's my Hobby to code so I started coding when I was 14.
You can't know anything, everyone makes mistakes, this is what I've learned and this is important to remember.
There are these days like today, when your Boss isn't there and you have to work alone. You have to do many things, and you are desperated because nothing Works, you can't ask anyone, you are completly alone. There are these days, when nothing seems to work. But there are also these days when everything Just Works fine and you are happy with yourself.
This is important to remember.
For me its very hard. Days like today are driving me crazy and I'm very sad, even when I know, that this is Kind of normal not to know everything and have Problems, especially when you are young as me and started your first apprenticeship 3 months ago.
Tomorrow I'm also alone, I'm a Little Bit feared of tomorrow (you say that in that Way? :P) When I think of tomorrow and that I don't know How to proceed and sitting there, I'm getting frustrated and Kind of sad. But I know that this will Make you even better some day, because you learn and gets better - day for day.
At least there was something good today. My stickers finally arrived! To Germany! That was fast! Thanks everyone, Thanks! And Thank you @dfox for building this great community!
What are you advices? And how you handle these situations? I hope tomorrow everything Works fine :/2 -
Built a C#/.NET application with support for a serial device. Tested it on systems A, B, C initially, all Windows system, same .NET version, same targeting, same build tool version, same initial connection configuration etc, etc.
Testing - works on A and C, B nopes.
...
OK, let's check the source, is there something about B that makes it impossible to execute that bit? - No, there is not, you checked that already, stop poking around, it definitively should work on B.
...
OK, maybe admin privileges, there is I/O involved, didn't need that on A and C, but who knows - nope, doesn't work on B.
...
OK, maybe something wrong with the connection settings? First try at reinstalling driver - but no, it doesn't work on B.
...
OK let's try with another device - more/less devices on B. Other USB ports. No. Still does not work on B.
...
OK, this is stupid, but, is the cabling alright? It is, of course it is, stupid - but it still does not work on B.
...
OK, at that point I'm just gonna ask a colleague, GrumpySoftwareDev whether he has any clue why it doesn't work on B. GrumpySoftwareDev knows nothing, but discovers that one of his applications doesn't work on Windows 10. You know nothing, Jon Snow, but it doesn't work on B.
...
OK, now I'm just going to ask another colleague TheLastOfHisKind who handed B down to me somewhat bluntly if he ever experienced problems when working with B and its serial configuration. TheLastOfHisKind tells me he does not and kindly offers me some input on the situation. Still no progress to get it working on B but he hinted he might have fucked up B's driver. I already reinstalled the driver but didn't reboot, which comes after reinstall.
...
OK, I'm just gonna remove and re-install the driver, then restart. Hu! Now the UI is gone but another serial device reacted on a general call. Not fully working on B but we're getting there.
...
OK, I don't know, I'm getting frustrated, let's borrow another system D - which has roughly the same configuration as B - from my colleague StrongCurrentGuy. StrongCurrentGuy borrows me his system and cautions me not to break it. I install the driver, plug the device and copy the application from B. It just works on D. Not on B though.
...
OK, you know what. I'm done. For shits and giggles I'm gonna remove that driver again, reinstall it and restart, maybe it'll magically work afterwar- WHAT THE HELL, I JUST OPENED IT AFTER RESTARTING, IT JUST WORKS - ON B!
... seriously, what the fuck. But yeah, at least it works now.4 -
Okay so this Is my first actual rant before its been questions or experiences but today has been really stressful. So one of my last posts I talked about how I don't know when to use what syntax whenever and I've been practicing but every fucking time I try to start something I can't fucking get it I don't even know how to start and yeah I planned it out and Im not getting anywhere I can't this is something I wanna do for the rest of my life and I can't even manage to make simple shit its like what the living fuck. Then then I tell my friend who's also in my class who programs what I'm trying to do AND HE DOES IT IN LIKE A MINUTE OR LESS AND IT WORKS AND ITS REALLY FUCKING STUPID BECAUSE I TRY AND STUDY SO HARD AND I CAN'T GET IT NO MATTER WHAT I DO I JUST CAN'T AND IT SUCKS SO FUCKING MUCH I HATE IT I JUST WANNA BE ABLE TO UNDERSTAND HOW I CAN PUT THIS WITH THIS TO DO THIS AND ITS DEPRESSING ME SO MUCH I JUST WANT TO BE GOOD5
-
Halfway through typing my password and I know I've gotten it wrong, but keep going to the end just in case it magically works.3
-
I am a senior Android dev, and I have an old colleague (iOS senior dev). We work on the same project, but in every estimation session he pushes a lot on the lower side: he estimates 4h a task that normally takes 6h or 8h, and the reason is that he has no social life. Right after work he starts working again from home (I can see all his commits), he also works almost entire weekends. I would say he works as average 12/13 h per day.
I don t want to work extra time (unpayed).
About him, it is his life, so I don t care...but at the same time this makes me pressure. I care a lot about quality of code, and I don t want to sacrifice it just for catching up. Most of the people in the team know that he works a lot extra time.
How would you handle this?28 -
Added a bond interface in my Proxmox installation for added cromulence, works, reboot again, works, reboot once more just to be sure, network down.. systemctl restart networking, successfully put the host's network back up.. lxc-attach 100, network in containers is still down apparently.. exit container, pct shutdown 100, pct start 100, lxc-attach again... Network now works fine in containers too.
Systemd's aggressive parallelization that likely tried to put the shit up too early is so amazing!
I'm literally almost crying in despair at how much shit this shitstaind is giving me lately.
Thank you Poettering for this great init, in which I have to manually restart shit on reboot because the "system manager" apparently can't really manage. Or be a proper init for that matter.
/rant
And yes I know that you've never had any issues with it. If you've got nothing better to say than that then please STFU. "Works for me" is also a rant I wrote a while back.12 -
I'm not a programmer by trade, so the only language I know well is bash. But as sysadmins we do use bash often.
Looking at other sysadmins' scripts though, there are interesting things in it every so often. Like for example `touch file` which creates a file. I've seen some sysadmins just do this instead `> file`. Genius! Or perhaps a `cat file >> elsewhere`. You can do that with `< file >> elsewhere`. It's something that if I hadn't seen it elsewhere, I wouldn't have thought about. But yeah, it saves a program call and it works!10 -
I don't know how to feel about it. What story it tells? Python is so easy that even vandals use it or maybe someone bleed on the wall how much she/he hates python. Or maybe it is scream of inner Vandal closed in cubicle who works with AI and blockchain for life's. What is the story behind this?6
-
Student here.
For those who got a degree in CS or similar, what is some advice you can offer to a sophomore in school?
The education I have gotten so far for a Software Engineering degree seems like it isn't enough. So far, I only know C++ and front end web development. Besides the little tiny projects they give us, they do not teach us how the field works.
One of my most lingering questions of all is.. what technologies should I know before interning and/or job hunting?!?! There are dozens of languages for everything; I'm lost. I feel the pain for developers in the future who have to catch up on technologies.
I have heard that learning C++ will make it easier to learn other languages. I won't know until I start another language (too busy working in the summers).
What regrets do you have? What do you wish you could've known while studying as a student or self-teaching yourself?8 -
You know when you can't code something, and you start to rethink everything? (logic, life, the laws of physics) Then it works and your like "you're goddamn right."
Well here's my short story:
Been working on some logic for a week now. Client has been a twat about it. "It's a simple count, can't take that long." It's gotten to the point to where some co-workers were underestimating my skills. When I try the old "you do it then" trick, they laugh and walk away quickly.
But I did it.
I'M SO GOOD AT THIS SHIT! -
I built a basic MVP for a client as a proof of concept for his startup. It was a quick thing just to prove a point do I rattled it out in procedural php.
Sadly it was successful and has somewhat taken off. It’s also grown arms and legs.
It works. The user will never know, but the code is SHIT. I never thought it would still be here.
I’m want to re-write it now in laravel.
But...... ugh1 -
I feel like an imposter. I am running an IOT startup alone and it's in development phase.
Product and the app ecosystem is working so well that it's scaring me. Other products are quite finicky. I haven't worked long enough. I imagined it would take an year to develop. My code is quite simple. I just don't know why it's working so well compared to the works of others. I am scared I missing something huge.
I am in depression because work is going smoother than my expectations.10 -
So, these guys came to me at work, asking if I knew how the "Low Orbit Scanner" worked...
I said: "no, what's that?"
They said: "It's that tool used for DDoS attacks"
So I replied: "Oh you mean Low Orbit Ion Cannon"
them: "yea that, you know how it works?"
me: "ye, but what do you want to use it for?"
them: "just want to learn how it works"
me: "you download it, run it then fill out the things?"
them: "but I tried it and it doesn't take out the server I tried"
me: "Means your PC is to much of a filthy casual, buy a new one"
them: "can't you help us getting it more effective"
me: "yes, but I rather not end up in jail... I have a job and a clean document..."
The looks of their faces, love to see that disappointment of my colleagues when I say (or atleast hint): "go figure it out yourself"1 -
A funny story I just remember while my code is compiling :
Back in high school, in Math, we were taught how algorithm works, and we made some exercises with practical examples.
I didn't know anything about it back then, so was curious. Was pretty fun, but one day, my teacher said that a IF is a loop. I said "no, this is a test" but she keeps saying that it was a loop, ignoring me (I dunno if she actually heard me) and no one actually noticed it as she repeated it several times (while I was saying that it's not). I just gave up trying to say it's wrong.8 -
"I know this guy who works in the service centre where they fix ATMs. He reckons if you could create a hacked copy of the OS, he could install it on a machine, then we can go and withdraw unlimited money from it!"
-
You know what's fucking horrible?
Implementing new features to an Android app in production that another dev wrote...
...which has no architecture, no documentation, no modularity, no testability, everything runs on the UI thread, filled with spaghetti code and it somehow works smoothely so I have to not fuck it up.
Oh and I'm also a junior. So fuck me, right?1 -
The most C++ I know is from 5 weeks of 'learning' it in college. Now I've been handed a legacy C++ project from sometime before 2004 and am expected to figure out how it works, update it to either a newer C++ version, and compile it to NOT a 16 bit dll (like the current version is) to replace the one on our servers.
Ummmm... wish me luck2 -
So... Today I started using my first Python web framework, web2py. At a first glance I liked it, the templating system, the view/controller thing ecc. But there is one thing in frameworks that I really don't like: they make me feel dumb.
I mean, in just one line of code I can generate an entire form, but if I wanna customize it a little bit... I can't. Or better, it is very hard, also if there is a bug, I have to look for a problem in an entire system that I DID NOT wrote.
I don't like the idea that the frameworksl handles everything for you, like it is teasing me, I don't even know how it works, it just works, and man, I don't like it. There's some kind of hacker in me, I dont like a system that just works, I want to know how it works. But the sad thing is that I will have to learn web frameworks if I want to work in the IT, right? Please If you can help me or share your experience with web frameworks do so.3 -
It's always fun to see some less experienced folks struggle with the shell :D
- quotes (single/double)
- subshells (and lost updates)
- variable substitutions (#, ##, %, %%, /, //)
- IFS
- environments vs variables
- associative arrays' limitations
and many more ways to drive the person crazy :)
I remember the times when I used to spend days-weeks over some problem - only because I didn't know how shell works. But it was worth it :)
Now I can watch others be tortured in the shell because they refuse to listen to my advice :popcorn:6 -
"Hey guys, we should start using ESLint. It's a popular linter. There's 13,000+ styling inconsistencies it could streamline using `--fix`"
"Yeah... But these errors, they're not really errors, right? So, we don't need to fix them."
...
1. I never said they were errors. Do you know how a linter works?
2. Sure, I guess being consistent and familiar are overrated qualities of a codebase. Carry on!4 -
I kinda hate to admit it but they were right. Data structures and algorithms are kinda the shit and you should try to learn and appreciate them. Not just so you’ll use them. But in that learning them helps you become a better problem solver.
There’s a self taught dev that my company works with for really bespoke applications. A senior dev that works with him and helps manage the development process told me that the dev in question doesn’t really know how to implement the finer details. Very telling indeed.3 -
Fucking fuck fuck fuck outdated superiors that know jack shit about how software development works. Dnt even know about git, docker, cloud services. Everything is done on premise with network that is fucking crap and when an app is down "hey why is it down?" ask the fucking server and network admin how the fuck am i supossed to know? i have to create workaround codes when other devs just need to deploy their app and its fucking running as it should be. why the fuck do i need to spend my time debugging Ping timeouts? im a fucking dev. I have done designs, analyze requirements, build frontend, backend, optimize codes, paying attention to security and now i have to fix network problems as well? fuck off
Create Innovation my fucking arse. you just Keep saying that but then wondering "what is this new thing youre trying? its new and different why do that?" because you asked for innovation you fuck. If i copied some other concept its not innovation is it pricks.
Fuck them and all the brown nosers as well.1 -
Don't. Especially while you're not a senior specialist. It doesn't really matter bad company or good: they all have something bad, they all have something good. From the bad examples you will learn WHAT, HOW and *WHY* should not be done. From the good examples you will learn what and why works and how efficiently.
Next month I'm gonna be working on a project that is SO bad I will flood DR with rants. But I'm looking forward to it, because I know I will learn what else should not be done.
Better learn from their mistakes than your own2 -
i do not know how i fixed it, but it works so i’m done for the day.
any potential repercussions are a problem for future me3 -
I've been asking myself this question for a while lately.
Can I combine the music coming out of my phone with the sound from games on my PC?
"Why?", you ask.
Because I want it!
So I started reading man pages and documentation about ALSA and PA. A couple of hours later it just works. I don't know how or why, but I did it, all by myself, because no one does such weird stuff.
I'm way too excited about this.11 -
Working on my personal projects really shows me how rushed the work is were I work, and it drives me crazy.
I know my code works 100% in my current project as it is unit and e2e tested, so I can edit it until the cows come home.. at work though, different story. -
Well I feel like an idiot thanks to my IT teacher. This guy, this fucking guy thinks that we’re seeing computer for the first time. He’s literally saying “You see this black bar on the bottom? That’s taskbar.”. It’s like he’s teaching 7 years old childs 😤
But the worst part is my class mated don’t know such basics! They don’t know how binary code works, what is motherboard, how to login to school domain on Windows.
But on the flip side, they look at me like at the God 😏7 -
I'd say it was when I did a Codereview and the dev said that he doesn't really know how the code works and he doesn't quite know what it's purpose is supposed to be.
We are talking about less then 200 lines, all written by himself, this is not copied code.1 -
It works locally, it works in Dev, it works in Test, but fails to deploy in UAT. Is it a data issue? I don't know, I don't have permissions to see the UAT database. Literally all I know is that this API is returning 500 instead of what it's supposed to return, but only sometimes.
Guess I'll sit here all day and try to solve the problem telepathically as there is literally no way of troubleshooting other than scrolling through the code and hoping that a cartoon lightbulb appears above my head.2 -
I am so fucking drunk but still I ended up completing a task which is a feature request.... I have no idea how I did it... But it works in staging... That's what I remember.... Will see tomorrow.... I am also the tester in the hierarchy which starts and ends with me... I don't know whether this qualifies as a rant3
-
once I downloaded a zip from MediaFire from an "idiot kid" (you know the kind) and I opened it. The format was invalid. I open it in notepad and guess what? IT'S A FUCKING RAR FILE! so I rename the extension to rar, lo and behold, yeet, it works. Don't trust idiot kids. ever.4
-
Short angry rant
What the fuck is wrong with the SalesForce Authenticator logic?! How in the hell do you fuck up a simple 2FA system this hard?!!
Login -> Waiting for Notification... nothing... -> Reload Page -> Login -> Waiting for Notification... nothing -> Click "Use Code instead"... nothing happens... -> Reload Page -> "Login -> don't even wait for notification and just pres "Use Code instead"... nothing -> Reload Page -> Notice there's a "Use Code" button on this page as well -> Finally be able to log into the fucking Aloha piece of shit...
How TF is it, that Duo is able to send me a push notification within 1 second and it ALWAYS works... and THIS FUCKING SHIT NEVER FUCKING WORKS THE FIRST TIME AND AT WORST JUST DOESN'T WORK AT ALL!!!!!
Fucking hell.... Don't offer me a push notification service if you don't know how to make one... jesus fucking christ... All of Salesforce security is fucking stupid, but at least the others mostly work, but this retarded piece of crap is making me actively surprised when it works on first try... Maybe it's because I'm on a slow connection, but again Duo Mobile doesn't have this problem and works *instantly*... so what sort of retarded monkey coded the SF one I don't know, but I hope they are making better products now, because this is a disgrace to programming and security6 -
You know you're in for a fun time when you open code you wrote the previous night and a comment starts with "Fuck this, it works, sober me can deal with it"
Why do I do this to myself .-.3 -
Shouting to my chromecast for more than a week because it kept crashing.
Factory reset -> total 1h re-configuring, works perfectly again. One hour was all that was needed.
I know the list with alternatives comes now, but I really see this as the perfect device. Does exactly what I want.
Damn, this experience made me violent as F.2 -
The saddest and funniest side of our industry is (atleast in India): someone works hard and makes it to the best colleges, do great projects on AI, ML; get a good score on Leetcode, codechef; gets a job in FAANG-like companies...
Changes colors in CSS and texts in HTML.
And, why is there so much emphasis on Data Structures and Algorithms? I mean, a little bit is fine, but why get obsessed with it when you never write algorithms in production code?
Now, don't tell me that, we use libraries and we should know what we are doing, no, we don't use algorithms even in libraries.
Now, before you tell me that MySQL uses B-tree for maintaining indexes, you really don't need to solve tricky questions to be able to understand how a B-tree works.
It's just absurd.
I know how to little bit on how design scalable systems.
I know how to write good code that is both modular and extensible.
I know how to mentor interns and turn them into employees.
I know how to mentor junior engineers (freshers) and help them get started.
Heck I can even invert a binary tree.
But some FAANG company would reject me because I cannot solve a very tricky dynamic programming question.4 -
Spent half the day trying to make something work. It wasn’t working before I started and I wasn’t making any progress. I don’t know why my changes weren’t working. So I yanked out everything I changed and put it back the way it was before I started. It works now. I don’t know why it works. I give up. 😂
-
TL; DR;
I'm one with code and the code is one with me.
Everything in my life has been inconsistent and as soon as I start building expectations from someone or something, it disappoints. Be it my friends (😂😂) or my ex girlfriend or my studies or my college or my professors or work, or food (sometimes).
Coding, or programming, has been the only consistent and non disappointing thing since 2010 for me. It just works. If I write a wrong program, I know its why and where its wrong and then fixing it works. Sometimes it works in one go. And sometimes is works beyond my expectations. Its like coding chose me rather than me chosing coding. -
If you also programm in your free time you probably know this kind of situations.
Situation: I'm currently creating my own PHP framework (I know there are plenty... I do it for "fun").
The database Connector Class wasn't working so after an eternity (around 2h) I just went to bed.
11pm: My Eyes open. I'm sure I just solved the problem in my dreams. (Spoiler alert: I didn't)
2am: I go to bed again. It didn't work.
Next day: I open the file add a missing required file. It works. I'm now tired AF and feel like dying and above all: I now get all the suicide PHP memes. Good night guys. I'm getting some sleep.3 -
Guys...
I finally switched from eclipse to netbeans! *hurray*
But it was not easy...
Netbeans didnt want to import first, so i coded myself a little program that prints a complete config file for my project...
So that was done.
But the colors... So ugly.
So i changed them to my eclipse colors.
Finally, after 3 hours of configuration and getting to know how exporting works, I AM DONE!
EclipseUsers--;6 -
So I am young 14 year old programmer that just started high school yesterday. What are some good things to try and do for a future job? Should I stop coding until hs is over, do I code casually with free time and then after High-school I will know a lot more? Not sure how it all works15
-
Stackoverflow #1
Me posting question about how to prevent error.
User1: You answered your question. Its because of the error.
Me: I know. And want it gone.
User1: Proposes working yet somehow horrible workaround.
Me: Yes, that works, already did that. But i want to know why it happens.
User: Your question says you want a solution and it is one.
Me: One that doesn't solve the problem.
User2: Just give up. Don't try to find a better one.
Stackoverflow 2:
UserQ: Question how to...?
Me: Use this and that.
UserR: That is not an answer, so i downvoted and requested review.
I don't know a second community that is anti-encouraging like SO. -
I am surrounded by incompetent fucking idiots, from the team lead that does a half arsed job at coding and then wonders why nothing further down the chain works to whole component teams that seem to be lagging so far behind they don't even know what the current code base looks like.
And who's in the middle of it all running around fixing all the problems these fucktards create, why yes it's me.
I would leave to let it implode and see what they'd do but I already know, they'd leave it till I got back so I could fix it all for them.
Feel like going around with a rolled up news paper and whacking each of them on the back of the head while screaming "no, bad code monkey, bad, fix your own bugs"
I hate being the go to fix it guy sometimes.1 -
I am currently working as a consultant and I like it. It also makes upset/happy/schadenfroh (not entirely sure how I feel about it) when we tell the client what work needs to be done in which order and why just so they can throw it all overboard and we do it the way they want it and it bites them in the ass a few month down the line.
They hire us for the external professional experience that we bring, so listen to us. We did this before, we know what works, and we know way your way does not work.7 -
Dev, boss and guy who know logic is looking at the server.
Problem: it's not responding
Boss: we need this running now! Otherwise the sales won't go through
Dev: give me a chance, I just got here
Guy: have you tried turning it off and on again?
They did so and at works.
Boss: guess we don't need to hire another dev, this guy knows what he is talking about, he is some kind of server expert..
Really.........1 -
When you're an idiot who doesn't know what you're talking about since you've always used Google, and people give you shit for it anyways instead of just being cool about it.
😧🔫
Come on guys. This is ridiculous. My school uses Google services, so I'm pretty much forced into it. I've never really ventured outside of Google because it works just fine. I clearly don't know what I'm talking about. That much is obvious. How about trying to be a good person and help me out instead of talking down to me and --'ing my rants and comments.
This is why humanity is doomed to fail. Half the population is comprised of complete fucking idiots, and the other half is mostly assholes.4 -
What do you think of pair programming?
Does it automatically allow for (much) higher quality code?
Is there truth and practicality in it?
Have you applied this in your company?
I think it's a bit of a dogma and its benefits depend on whom you're working with. Sometimes two incompatible people will waste each other's time, or a person who works much better alone will instead work in a worse manner.
I know for a fact there are colleagues (including myself) who can't stand it when someone else is looking at their screen.
source:
http://extremeprogramming.org/rules...13 -
I think the worst thing I’ve seen from devs is lacking the curiosity to know how some software library works before using it which then almost always leads to bad design and code.
-
How come something works absolutely perfectly in dev but not in prod?
I was making a desktop app in election js and everything is working perfectly. No problem at all. But then I create the installer/distributable and nothing shows on the screen. And out of curiosity, I wanted to see the error log and it shows an unknown error, I didn't even know from what thing the error is being generated. And after I fixed that, another problem came with Asana Api. I mean, if it's a public API, why do you have to block it with cors? I hate cors!
And after all of it, there's more to it. I mean, why can't you just show the errors in dev?4 -
Just got to test the app from the frontend team... Oh God why!!
5 minutes, found 5 bugs (c'mon testers!!)
Worst (and now it's a rant) why do designers insist on working with big screens and don't test it on a standard screen? You know? Those typical screens your users are using?
So, it looks great in a 24" screen but the focus is terrible in a 15.6" screen... No time to fix it... What should I tell the users? Works better at 85% zoom out? -_-
You just fucked up the main feature of the app! Congrats!!! The rest looks okay I guess3 -
I slowly relise that "modrn" developpers don't know a minimal things about programming (yes, i'm using "programming" instead of "evelopping")
They copy paste shit, it works. They resolve some problems it works.
But... They have have ZERO understading of what they are doing.
Just couple of days, got a discution with a person who is "Blazor expert". who will be paied 200$ / hour to find problem in current implementation. I KNOW there are problems because couple of them I introduced my self.
We at server side. I provided test logins, plus 10 page document explaining infrastracture.
One of his first question in interview : "Oh. I cannot see ajax calls in network in chrome".
WTF DUDE ? Do you even understand how server side blazor works ?!
Welp, he is hired. FOrt 120 hours.
I' want to see what he will present, as it's clear as day he doesn't know a thing about server side blazor architecture.8 -
A friend is currently building a 'dating and matching' open source app for developers. Let's say Tinder for developers.
Don't know how it works but I think it'll make sense.7 -
So my manager mentioned off hand that we might look at updating our company website to look a little more modern...
Me being me jumped right into action and now that I've finished I remember why I haven't built my personal site.. Fuck static web pages man...
Don't know why I did this, not even happy with it but I think it'll do, CSS and HTML is messy but fuck it, it works...1 -
I know that if something looks stupid but it works, it ain't stupid... but this is just plain borderline.
Basically, a cast from int to String to int to String from some legacy code I'm working with7 -
I'm a huge js fanboy who hates this library storm going on.. but ffs vue.js is awesome. I mean.. you .. just.. use it. You know? An oldschool script tag to include it and you're ready to go! And it's easy and it works beautiful. When did a js lib deliver that in the past 3 years.😁1
-
I've been working on a shader for the past few days. Lots of doing math on paper and switching to code to implement it. Yesterday after 3 or 4 hours of trying to figure out why nothing is rendering, I realized that I wrote all my * for multiplication as x. Visual Studio never let me know its a syntax error, and my fried brain saw no issue. Needless to saw my shader is still bugged to hell, but at least my multiplication works.3
-
My fiancé bought me a new laptop for my birthday. Not the greatest but it works. I put Mint 19.X (don’t know which version but latest) on it and I’m in love.
-
Co-worker put up a pull-request for his work, with no build file, no readme, no gitignore, and shell scripts for running the app (but not compiling it). O_o
The guy has been using atom editor even though we have license for Intellij for everyone, which .. whatever .. if it works for you...
In our daily stand, people offered to help him add the build files and he was like, "No, I know how to do it, I was just trying to avoid using Gradle until I had to."
It just made me think, "Yea I know you have all these nice screw drivers and hammers, but I'm going to keep using my hands and this stick so I can avoid using tools until I have to." -
Does anyone know of any tools for deobfuscating a batch script?
I got one of those scam emails with a .doc file attached and wanted to pull it apart, embedded in that file is a VBA script that runs as soon as the document is open. I have figured out how the script works I just have no idea when it comes to the batch script that its running, any help would be appreciated.
heres a pastebin link with the script, https://pastebin.com/SDWnQc4812 -
Today I wrote the most epic code.
The kind that breaks your brain, but when you're done with it you know it's time to go home and kick back coz you've done good.
It used recursion, did backflips to avoid unnecessary db calls, featured no code repitition. Hell I even commented the business rules it was following in there to explain what was happening.
I hope it works tomorrow when I test it 😂😂😂5 -
I remember when I was in elementary school, there was a teacher, who taught me and 3 other kids, how a PC works and how to use it. He booted it up and told us that it would take quite some time before interaction was possible (a few minutes?). He described it as a person that just got up. It would first stretch, get some breakfast, so on and so forth.... those memories😌😁😅
Today I know that the hard drive and the CPU (and the other internals) were just fucking slow...😂1 -
I feel like a fraud ...
So I recently joined a mobile dev company as an intern
I submitted the application
Got to coding interview passed the coding interview because thank god it was one of the sums i solved on geeks4geeks
Then came then interview did as best i could
Got the acceptance mail in next 10 mins
First day was chill it's work from home thing
Second day they gave me an app a previous intern had already build its layout and authentication code
But it wasn't working so I reported it so they told me to debug it so I found where the problem was occurring
Now I know the problem but i have no idea how to fix it
They gave me assignment to fix the authentication basically it's taking info creating a json and request an API call
But I feel i cant remember the concepts
I can't remember basic meaning of words the other day i forgot what SSID are
I just I don't know shit
And i feel like I'm going to get kicked soon
I don't understand what the previous guy wrote and i don't know how to fix it
Previously i have built my own apps but not like a real world project like this which works in regards to network management basically an wifi portal kind of Authorization application5 -
I don’t give a fuck about crypto currency, bitcoin and all the shit. I don’t even want to know how it works.
I’m an arrogant or dumb ??
Roast me.10 -
part of my workflow i want to improve?
in general, take more time to get to know better the technologies and tools i'm working with.
e.g. learn all the fancy hacks and features of my IDE or of a certain language or framework.
i tend to be in the mode "i don't have time for that, it already works the way i use it". if i spend "too much" time on learning stuff, i feel bad, since i could also spend that time working on my ever growing list of tasks. but i think, that's not a good habit... -
Went to a Big Data workshop, now I know why there's a elephant as hadoop's logo and how it came. Still no clue how it works.
-
I know you pals know much more than me about privacy. I have these questions to you all:
- can google still know trends about me if I only use google docs and google drive to store files I share with other people and rarely update it? Let’s say I don’t use google search or any other google service ON REGULAR BASIS
- does chromium actually works as the measure to get rid of google tracking if I don’t want to use Firefox?
- how safe is apple (miss me with that Apple hate)? How bad is the fact that I let apple store my regularly updated health information and I use iPhone?
I’m not talking about triple letters here (FBI, CIA, etc), I’m only talking about collecting and selling data across companies12 -
Trying to setup a ltsp server for fun. Neve done server things before.
The server and the thin client are in VMs. So I start, install openssh, and them when I try to ssh... WHY CAN’T I FUCKING CONNECT, I CHECKED THE IP WITH IFCONFIG, oh shit, forgot to configure the vm network... so ssh works! Then I setup dhcp (I really don’t know what I’m doing, just following the tutorial), the ltsp configs thing, build the client image and then, I HAVE NO FUCKING INTERNET CONNECTION. Continues, boot up the thin client... WHY CAN’T YPU FUCKING FIND THE SERVER!! Then I realise the vm is not an ubuntu one, so delete it and make a new one... WHY DOES IT STILL DOESN’T WORK!!!!!! Oh wait forgot to connect to the network! Goes to put the network adaptor, and: wait! I don’t need NAT! So I replace the NAT by the correct network, and: Wait it lets me choose the weird thingy intel/pce thingy, oh I remember now! It said we needed the “...III FAST...”! Activate it and... IT WORKS ! !!!! CONNECTS TO THE SERVER!!! GOT THE DHCP!!! WAIT!!!!! What is THAT 🤬 TFTP LOADING THING!!!:
TFTP open timeout
🤬 YOU!!!!!!!!>> -
Fack I hate this CMS we have. Using Fetch and sending data as encoded JSON doesn't get parsed nor recognized by the CMS. I was pulling my hair out, understanding the differences, switched back to XHR... and then noticed the buggar:
XHR sends data as "FormData()".
I switched everything to FormData and TADAAA IT WORKS MOTHERFUCKA
Lost a whole fucking day on this trying to understand whether it was my code or the CMS the problem.
Ah yes, of course, I had to reproduce the CMS on my machine, instead of having the developers lend us a "development" platform on it, so obviously I don't know what's happening under the hood :))))))))rant are we in 1999 light swag cms as a shitty service life joy yolo hate death losing time for nothing darkness2 -
Android studio emulators suck dick. I've been trying to put some goddamn files on the emulator in order to film my app working- hey, whaddaya know, the app doesn't see any of the files (On my phone it works flawlessly) and when I try to get to "emulated" folder- access is denied. What the actual fuck android studio?
-
I've just spent the last hour or so banging my head against a brick wall trying to figure out why I'm unable to retrieve some data via AJAX even though I know data is being returned as I can see it in my error log.
Turns out the permission system I wrote a few days ago actually works and because I didn't specify a permission it automatically denied my user from retrieving the data. One thing I forgot to add was an error message to tell me when I don't have sufficient permission to do something. Adding a message could have just saved me a lot of time :/1 -
me, testing my software:
"ok, well it works for this case.. let me make a spreadsheet of all cases and test them one by one"
*doesn't create spreadsheet
*3 use cases later..
"Ah, you know what, this seems fine, I didn't change too much...............................
...........................................................
..........................
...............
.... it should be ok"
*cough*
you know what happens from here. -
Being someone's IT Bitch sucks. Yes I could just say that I won't help you but that will just make everyone think I am an asshole. It's even worse when it comes to printers. There isn't a single fcking 2D Printer that just 'works' and it isn't my fucking fault.
Then again maybe I am just salty because a girl that I love since I am 13 asked me to get her castrated LTE Router to port forward something so she can play animal crossing online today.... She usually doesn't even respond in simple WhatsApp conversations ..... Ffs I am sometimes feeling like a wreck @ 19 and what for? Just so I know Computers? Math? Science? I know damn well that this post is pure self-pity but maybe its better than drinking myself to sleep....9 -
Sometimes code behaves weird !!.
Spent all night trying to get something to work but now it works weirdly and I honestly don't know what to do anymore as it's not the type of thing you would be able to explain on tack overflow.
Time to sleep 5:51 AM1 -
I've seen far worse people doing what I'm doing, applying terrible practices and still being valued af.
Even if I do smth wrong after doing all the research and alternatives' analysis I know I'll do a proper post-mortem RCA, document it and learn from it, as a result I'll make a better choice to fix the problem and I'll know better next time.
I think I'm alright compared to them. So I don't wory about being an impostor.
Learning by good examples is a good approach. Learning by bad ones might be even better. The "good ones" are yet to fail and be replaced by better (or worse) ones. The "bad ones" are already failing and you can learn WHY you should not be doing it like that and HOW should you do instead to solve the problem.
Learning from good examples only works well if you know the back-story, all the WHYs and HOWs. People usually don't :) -
We have all experienced inheriting a project and crying because of quality of coding. Somehow the project works but you can't explain how.
I guess I will not blame the previous developer. I guess in most cases it's the teacher who teaches that horrible method of coding.
I may be a self taught developer. But I can gladly say that I know how to code. However I can't say the same about my professor. Who makes you add percentage based margins and paddings (CSS) And make a fluid layout calling it responsive.
Fuck you Professor.1 -
what's your opinion on search engine marketeers? I think they're smurky and don't know how the internet works. I once had a 'SEO specialist' even telling me that my HTML wasn't correct because it didn't had the same markup as Google's documentation. For the record: it díd have all the microdata, but I used <ol> instead of <ul>. So yeah...1
-
Xcode is pissing me off:
- Suddenly it starts force quitting every 2 minutes
- Every second time it doesn't know everything and only can autocomplete words that were already in the document
- Playground pages: Good idea, works horribly.
- when I use modules from CocoaPods the first time, I need to restart Xcode and the computer 5 times till I don't run into build errors
- it likes to just throw random errors everywhere and leaving you unable to build anything
- it only copies new files every second or third time into the project folder.
I'm really pissed. I just wanted to code... -
I am some Kind of angry right now.
Some of you may know the App "Jodel" (for those who don't: it is an app which lets you talk to strangers at in your city/near your location)
I am in an informatics-Channel and I feel a bit annoyed.
There is a groundless hate against JavaScript or Java, it seems because... People feel cool? It remembers me of the PHP-Hate. Clueless people are talking shit, even if the web is not even their programming-field of activity.
Someone just said that in js you can do any shit and it works.
- you can leave out semicolons. wow.
Another one meant that one problem is the unlogical backwards-conpatibility. "You have to look if the script is running on the browsers and on your engine."
- Isn't that part of any programming language? To see if it works?
I don't know what to say right now.
#ilovejs
Uhm btw.: Can someone explain me, what he meant with "engine"? I mean there is an interpreter, but "engine"?!10 -
When I hear the word "service" I think of something that just runs in background and you can do stuff with it. I have no idea how to create one, I almost had to make one on Android and use it properly, now I'm back to Windows and Java and we have something working as a service, I have no idea how it was created and how it does work, I just know how to start, restart and stop it. If you asked me how it works and how to communicate with it - XD no idea lol but let me google that. I have almost 4 years of professional software development experience.
And at this point I'm too afraid to ask ;____;7 -
That LOL feeling when incompetent backend wants you to fix their bug on the frontend!
How about NO!?
And why tf I know more about how backend works on this system than devs that are actually working on it???6 -
So the other day I kept seeing too many of "if it fits, it sits" jokes. It was one of the days I was messing around with my app. So I did something to make it work. I didn't know what and I went "If it works, it twerks". I know it's stupid but I crack myself up every time I say it. 😂
-
Finally got my first dev job. I am looking at the code base for my company. And it’s like I know how to code in this language. But I don’t know half of the advanced shit they’re doing. I understand they have more experience than me. But I’m just not sure how to catch up to them. Or be even on the same level as them? I guess just more out of office learning?
I can read what they’re putting in the code and understand how it works. But like how they came up with it I have no clue. I guess I’ll learn over time and have to put in some extra man hours.5 -
New Marketing Person: [via slack] Hey! I left a comment on the JIRA ticket. I didn’t know how to tag you so I’m messaging you here to make sure you see it.
Me: [slack] Ok, thanks for letting me know. It works the same way it does in slack. Type “@“ followed by a name.
Me: [inner monologue] 🙄 You could have also just Googled it instead of expending energy and time on this slack exchange.
Same person leaves another JIRA comment later… and doesn’t tag me…Why do I even bother to be helpful…2 -
I love Mikrotik. Just fucking love them. I also love my residential fiber service. Small company. Synchronous 125M service. No caps. Bandwidth is always there.
BUT... They use PPPOE (seriously guys?), and the IP changes on *every single re-connect*. Also: no IPv6 support. I know. I don't need it. But I want it.
Enter DNSMadeEasy's DDNS, Hurricane Electric's 6to4 tunnel service, and my Routerboard AH100x4. I wrote a script that runs on the router whenever my IP changes. It updates my DDNS record, updates my 6to4 tunnel IP using HE's API, and updates my local 6to4 interface's IP.
It just works. My public IPv4 may change, but the /48 IPv6 networks on my LAN side stay fully routeable.4 -
Looking for someone to test a new factorization script I wrote.
https://pastebin.com/Td2XTKe6
Tested against a set of products from all primes under 1000. Worked even on numbers up to 87954921289
Worked for about 66% of the products tested.
Obviously I'm cheating a little bit because I'm checking for four conditions n%a == 0, n%a == 1, n%b == 0, and n%b == 1
It appears it is possible to generate the series from just the product, and then factor each result. The last factor in each each set of factors becomes x, and we do p%x and check for zero.
if it works, we've found our answer.
Kind of wonky but basically what its doing is taking p, tacking on a 0 to the right, and then tacking p to the right of *that*.
So if you had a product like
314
The starting number we look at is
3140314
The middle digit becomes i, and the unit digit becomes j.
Don't know why it works more often then not, and don't know if it would really be any faster.
Just think it's cool.9 -
I am using Manjaro as the main OS on my computer. But I have an original Windows 10 license, as well as an Office 2013.
I want/need to have them installed on PC, as I need to use it sometimes.
But if I install my Windows 10, it will certainly destroy my grub and I know I will have a hard time to make it work again.
Would it be a good idea to install them on a virtual PC? I know it would not be good with games, but the only game I have is GTA IV (that I am not even sure if it still works on Windows 10).
Thanks!4 -
I started working on a multiplatform mobile app for streaming and I already decided to implement it in react native using cause I found already the tools that I needed, I was curious about if I could do the same in flutter without having to write my own custom wrappers for each native app, and I found this question response and I just couldn't stand the comments, how is that someone can proudly say that he doesn't know how something works but he just copy and paste some scripts from the internet?
What kind of programmers are these now days??
BTW #firstPostHere2 -
I'm getting really astounded by how little my co-workers know about anything about server setups. I've created a local Docker environment that is to be used by everyone to help manage the applications, but NO ONE seems to understand what I made let alone know what Docker is. For some reason they see it as another VM.
They're just content with it works, I can run my PHP application, and if they have a problem, rather than try and find out themselves, they just come straight to me.
I can pretty much tell that this team is going to be screwed when I move onto my next role. -
Question to the Americans here..
Just out of interest.
How many of you know the metric system?
I feel like as a dev you need to know it to communicate with the rest of the world on the same level. But I meet so many Americans that have no clue how metric even works.. (as if it was less logical than imperial 😄)
No offense, just truely curious..10 -
Has this ever happened to you? Some code you're trying to execute does not work at home. Then the next day when you're showing it to the team it works perfectly (yes, I know I'm a bad coder). 😁 programming: the art of creating things without knowing how you did it3
-
Today, another colleague of mine said a client wanted three logos at the top of their website. As if it wasn't clear enough what site your on...sheesh. I swear clients have the best ideas and know how everything works...2
-
macs... I know I didn't like them before, but recently I wanted set up a vpn on another person's pc and first it didn't want to install because it was a third party program. understandable, change security settings, try again, works. and now... EVERY TIME the user wants to connect it asks for a password, because the vpn client is "changing system settings". whenever the pc is locked, it disconnects and asks for a password whenever you log in again.
The saying that macbooks "just work" has to be extended to "the most basic functionality kind of works, most of the time".
Or maybe I'm just ignorant and unable to handle the glory of mac osx4 -
Yesterday I spent my whole fucking day solving a bug from a Drupal multistep form, the kind of bugs you know it worked for a year then suddenly start to go full retard and simply not working at all
Took me half a day to get how it worked, half the rest to get why it stopped working and how to to make it work again, knowing that the "old fashion way" can't be applied anymore for dumb reasons (unless the client wants his user and payment history tables to be dropped, which I doubt)
I don't know if my solution is the best, but it works without too much tweaks, and hey, it still works today!! -
I don't know how it works in other countries, but in Hungary the best workplace where you can have a beer and good time with your colleagues after work. Is it same thing at your country? :)7
-
Just lost 2 days of works, don't ask me why.
git is good, but someone doesn't know how to use it, I will never tell you that's me.2 -
We had programming classes in school today and I was using same computer yesterday but today it wouldn't boot up properly. So what I did is I have just restarted it multiple times and now it works again. I don't know why this happened but if it works I won't question it. ¯\_(ツ)_/¯1
-
If there's one problem with rust, it's that it expects you to know how to use it.
One of my first projects was to try and use the SDL2 crate to make something, and I got stuck wrangling the borrow checker about how long my textures live.
I try again a year later, now knowing intuitively how the lifetime system works, and I come up with a solution easily.
This sort of thing is probably very discouraging to new users of the language4 -
Anyway Github has launched its app.
Positioning as a social network and trend aggregator is becoming increasingly clear.
It doesn't make much difference to me, I almost always prefer the web version and Github's works well.
But do you know what we really need?
- Native dark mode2 -
!dev
my problem with gaming in linux is not really inherent to linux.
my problem is that there are no linux game torrents.
and torrenting for me is a way to know if I'll be playing a certain game for a while, and eventually buy it.
I can watch all the trailers in the world for a game, but I truly make up my mind after the first few hours of direct playtime.
so I'm not interested in spending money on a game that I might like because it looked nice on the trailer only to find out I hate playing it.
the problem with torrents is that once users get the game, and the game works, they're probably like
"why bother buying it? the game works right? why risk losing the progress i achieved so far by moving save files?"
on top of that on linux, you need to check protondb to see how compatible the game you found is, so an extra layer of difficulty.
I guess I would like to have legal demo versions of games, but I see very little devs doing that so maybe that commercial model failed? I don't know really.16 -
Goddamned apple. "Just works" my ass.
My girlfriend's 2014 MBP told her an update had already downloaded and she had no choice but to install it, which doesn't bother me. Now, though, it tries to update, then fails, and tells you to run diagnostics. Diagnostics says nothing is wrong, and says to contact support and it boots a minimal version of the OS that only runs a minimal version of safari. You try to access the chat feature and it never fully loads the chat interface. I can probably restore it, but I wanna know what was wrong. It's a really expensive brick right now.3 -
I am a junior developer, two weeks ago I got a job for the first time in my life as a fullstack web developer, I have felt bad for the times that "I should have read the code better before coding", I think I am distracted and impatient. I make mistakes because I don't know how the system works in some parts and I write repeated or unnecessary code, my boss has corrected me, but I feel very stupid and I'm afraid of being fired. Is it normal to feel like this?2
-
if you ask me how the method i wrote works because you don't understand it, and you don't let me finish my sentences without interrupting me, then you deserve to be punched.
LET ME FINISH WHAT I HAVE TO SAY YOU DUMB SHIT
I WROTE THAT FUCKIN METHOD
I KNOW WHAT IT DOES AND WHY -
I encounter a bug that appears randomly and doesn't break the whole application but after reload it magically goes away and everything works fine during development. The worst thing is that I don't know how to replicate that bug and have no idea what is causing that bug.1
-
!Rant (sorry for that)
But does anyone know of a good 'raw' php book? (preferably an audio book) I want to learn a lot more about the core of php, how garbage collection works (for example) I have tried reading it from php.net but I only understood parts of it1 -
!rant
Finally (kinda) done with the nicknames addon. I wanted to hook into the sites actual modal menus for the UI, but I don't know JQuery and I somehow doubt modifying the existing javascript of a site from a plugin is possible, so we're stuck with knockoffs for now. But it works, it saves and loads nicknames correctly and displays them everywhere except on the notifications because I didn't add an onload listener to them.3 -
Hey, know that joke where people say it runs yesterday but for some reason it doesn't run the next day? The same thing happens to me here with Hecker (a Hacker News 'client' written in Go that I am currently working on)... Oh wait a second it works again!
Btw, if you care about this, then the error seems to be a JSON error, which means that one of the submissions the program scrape has wrong JSON format, and its error is an invalid character error. Bruh.2 -
Legend says there is an Atom installation where the "Open empty editor at start" option actually works.
I don't know why but it never worked for me. First the editor always opened a specific file I hadn't edited for days, now it always restores the previous session and opens TWO fucking tabs with the welcome page.
Back to Vim.7 -
Okay so I'm pissed. My JavaScript form validation doesnt work so I went tried it on the most simple fucking html form and it fucking works and I dont fuckign know what the problem is since I literally copy and pasted the form from the one that doesnt work10
-
"uhhh, whenever I want to install something on windows, it works unlike x"
MAN GO FUCK YOURSELF.
WINDOWS STOPS WORKING RANDOMLY. SOME APPLICATIONS ARE JUST PEW GONE.
YESTERDAY, I COULD PLAY LOL. TODAY, I NEED TO SPEND HOURS TRYING TO FIX IT.
"JUST REINSTALL"
YOU STUPID SACK OF SHIT, DO YOU KNOW HOW OFTEN I REINSTALLED WINDOWS?
DOTA IS BETTER
yeah, maybe. 2hard for me tho3 -
I fucking hate being put on the spot. I'm trying my best over here to learn and improve but I don't know my entire project by memory and how every single little thing works, and it makes me feel like shit constantly having to say "I don't know" when asked about task estimates and work difficulty
Now I've made myself look like an incompetent moron because it's stressful and the one thing I was left in charge of I screwed up
Christ man since when did programming become a social management activity?4 -
The internet has interesting quirks.
If someone offers me something for "FREE", I immediately close the tab. On the other hand if it's for "free", I might consider it.
I don't know why marketers think "FREE" works on customers.4 -
Visual Studio and its compatibility with Linux applications.
I don't know if I'm the only one, but this is my setup:
- Visual Studio 2017 on Windows 10
- Ubuntu 18.04 subsystem on Windows
I just can't do any Linux coding in Visual Studio... it is using my subsystem as a Remote Compiler and debugger, and a simple Hello World program does build and run successfully, but EVERY SINGLE LINE HAS ERRORS! It can't find stdio.h! Not a single include file works! They get auto-completed so it knows where the files are, but apparently opening them to see all the methods is too much for Visual Studio! I'd say the problem has something to do with IntelliSense since only inside the IDE my code has errors, compiling (which happens on the subsystem) works like a charm.2 -
Hey everyone, need some help/opinions, I quite literally have almost no time anymore for alot of thing specially try share alot of news here (not the Intel mess, I reported some of that stuff before it exploded) I share most of that news in my site though, but I really wanted to ask people here that may work for hostings companies if they know about the retardation of Nvidia in their change of Terms of Services for their GPU usage (https://legionfront.me/posts/1936 ) and also want to know if users here are if they are looking for dedicated servers, mainly GPU servers for their works and what are you look for (specs and such) or rather where
-
Damn, mozart, i am trying to install it for the whole day, and now when i am able to finally install it, i dont know how to compile and run a piece of code in it. Why does anyone create such a language that works majorly on emacs, and also has no well enough documentation how to work with it, if by fluke someone installed it.2
-
Linux, you never fail to amaze me!
Started using Arch based Manjaro with xfce de couple of months ago. Everything was mostly fine even though I've never used anything that was based on Arch but it had a learning curve.
Couple of weeks ago I couldn't update my packages, I thought it would fix it by itself but I was wrong as you already probably know.
So yesterday I tried to manually fix it. Famous last words. After a lot of googling, trying some terminal commands - and failing, I see a warning labek on some text on the arch wiki - sudo pacman -Syi --force. I said fuck it and did it. Let's see if it works, I try to install a package, I mistype the name, press backspace - it puts a space instead of deleting?!?!?
I tried restarting, googling - nothing...
Guess I'll switch back to Debian based OSes.5 -
rant!
Hei guys, i'm new here and i have a big problem with stack overflow...
Why when people ask questions and then you provide an answer their that you know it works and other people apparently know the same since they upvoted my answer... then you have a crappy op who tells you that this can't be the problem. Nevertheless after i have to argue with him for a while to try to solution he then says thanks in the comment and doesn't even approve my answer ... seriously wtf is wrong with some people!!!!3 -
I setup ELK for our team and went live with it on Production VM.
I'm the only one that knows how it works, is setup... Because no one else cares or wants to know as long as it works...
And well if it doesn't, let's just say they hope that I'm around...
On a side note, I think I'll leave a bit early today since I cut or main projects build process time by 50%.
Root cause: SONAR complains if you implement that using if else to match each field... it is pretty ugly...
And can use Lombok to clean it up, last rant.
So shaved off 10 minutes in each build... And well I'm like seriously? No one else bothered to figure this out for the last year or 2?
I mean I've been pretty busy too but the team had like 20 ppl and at least 4 senior devs and well u don't even need to be senior? Just inquisitive and proactive?2 -
spent 3 days at internship looking for a bug that's stopping the program from running correctly all the way though
5 minuets before i have to leave I change a single value up 1 increment just because I've had it with the program and for some reason works perfectly just how I want it to SOME GOD DAMN REASON I DON"T KNOW YET
Today is just about me going through some reading for the next step and trying to figure out why the hell that worked1 -
The age-old question between `DD/MM/YYYY` or `MM/DD/YYYY`.
After some shower thoughts, my new preference is `YYYY/MM/DD` for Americans and Lithuanians (only 2 that I know) it just looks like the year has been placed first, otherwise, they read it as normal. To everyone else, the date is reversed and therefore will be read in reverse leading to the same answer.
In addition, `YYYY/MM/DD/some-dated-file` as a file path works exceptionally well for storing files as it uses the least amount of repetition.12 -
I know , it is shared host, subdomain and all the little things you seem to find just not up to your hipster fucking standards but frankly if my require_once(__DIR__."/../blah/blah.php) fucking works then I think your pompous ass should stop trying to find shit starting at my neighbours website and telling me you can't find a class that is right there , next to you! Loook motherfucker ! Use your fucking eyes!
** PS will obviously still see if it is a config issue but right now just fuck it .
REQUIRE_ONCE FOR LIFE! -
Do you want to know why all the popular open source projects have less-than-optimal, sometimes really dirty code?
It's because their developers ditched all the unnecessary stuff to just get the damn thing done. When I choose an open source dependency, I don't need unfinished stuff. I need a stuff that works and has all the features I need from the very start. If it works, I don't care about code quality in my deps.
This is the reason why dirty, rushed stuff with a great idea behind it gains popularity. PHP, Git, jQuery, the list is quite large.
While you've been busy polishing your files hierarchy, these guys already shipped their product, gained adoption, and their userbase doesn't need your product anymore.
This is applicable only for true open source, not "it's developed by a full-time team of principal developers and the CTO is fucking Kent Beck, it costs $1m per month but yea we have it on github".3 -
Use
git branch --merged
to get, you guessed it, all the branches you have merged.
Use
git branch -d <branch-name>
To delete a branch if it has been merged (use -D for forced)
And Use,
git branch --merged | egrep - v "(^\*|master|dev)" | xargs git branch - d
To delete all the branches that you have merged (but not anything with master/dev in their names)
Sorry for the formatting, I don't know how coder formatting works on DR..4 -
I wish music made money
and also that I didn't have to write a library to be able to make the music I wanna make, raaghhh
I wrote one in JavaScript but javascript is poor at timing and for music timing is important. it's mostly fine if you don't listen too hard but it could be so much better
I want to make something like it in rust but I'm fish out of water. I want bit-level control of output but I don't have the precursory knowledge to know how to do it
*lazily works on secret evil plan instead*
wish my head would stop hurting also, that would be great8 -
Why my brain dogshit.
I try to focus on something and then my brain flashes thousand things through my brain which i need to do. Then me getting angry and frustrated and no fucking concentration. Then i smoke a cig in hope that it helps(spoiler it does not). Then like 2 minutes it kind of works and then the exact same.
My fucking brain is fucked up.
I hate it here. My psychiatrist hopefully says something good this wednesday or i don't know any further..
Why can my only hope be some good drugs. Why not function without psychopharmaceuticals.
🚬🧠
⬇️⬇️
🗑️🗑️8 -
!rant
I currently don't have access to my good computer, so I installed a remote control software on it. I also made sure I could turn it on over the internet (Wake on LAN).
This worked well for some time: I powered it on remotely and after a few seconds I was able to connect to it.
Now what I didn't know was that WoL only works if the computer has been shut down completely. It does not work if it's in standby mode.
So I turned it on today, but didn't establish a connection immediately, and after a few minutes, it apparently fell asleep (standby). Now I can't reach it remotely, and I also can't wake it up again with WoL. And as I don't have physical access to it for about a month, so my only hope is that there is a power cut and it will be shut down the hard way.2 -
For iOS and OSX devs. Do you really know how auto layout works? It is something I do but don't know how it works6
-
Who just accidentally volunteered to go through an apps code and write down how it all works?
This guy!
Asked what I thought was a simple yes no question and have now caused an entire department to question everything they know.
On the plus side at the end of this I'll be the go-to guy for this app. And I can document it as I go.
So win win? -
wrote myself a toml parser, it works alright but the official specification's in ABNF and boy, oh boy, half the work was figuring that shit out. But, hey, at least I didn't need to actually KNOW enough toml to do it
-
Me: *ask well detailed questions around Ruby on Rails and responses in JSON that won't fucking work because I don't know how to make it work my way*
Someone : *Answers*
Me: *tests the solution. Nothing works, his ruby syntax is from 1995, and it doesn't help me
Me: "Sorry but there's a syntax error in your answer, I don't know how to make your answer work. Plus, how should I edit my json.jbuilder file with your answer?
Dude: " I am not a RoR developer by trade, I just know how HTTP works :)"
WE ARE BOTH FUCKING LOOSING TIME HERE YOU FUCKING MORON
Same dude: " I don't see any of that in your code and I'm not sure what you want to edit? Seems to me like you don't really need to, but I'm not sure"
YOU ARE NOT A FUCKING ROR DEVELOPER, YOU SAID IT YOURSELF, SO WHY DO YOU KEEP BOTHERING?
(n.b. : I litteraly pasted his two last answer. Didn't edit anything) -
I have this system that receives an image on Base64 or the URL (in that case the system makes an HTTP request and saves re response to disk). It works beautiful when I run the tests, it doesn't work at all in production (all the resulting files are corrupted). I don't know how to start to debug it so I'm going to bed and let my future self to resolve the issue.4
-
I don't know if many rememeber me but at one point this year I had to turn UDP basically into tcp, handshake, packet ordering, resend on failed, ACK response, and 4k bit aes encryption. Fucking done, it works, signed the last version and pushed to client, client loved it, just what he wanted, paid out contract then turned around and asked me to setup his server for one day with no further expectations and an extra 250, said sure don't mind, as I am setting shit up I decided to test if his business isp really blocks tcp, guess what? NOPE IT WORKS JUSY FUXKIJG FINE AND I COILD HAVE KUST RIPPED A PREMADE CORE AND GOT PAID AND SET IT UP AND HE WOULD NEVER know, but maybe theirs some weird circumstances that require the core to be made only with udp, so after I was done I asked why only udp if his line allowed tcp? Requirements maybe? NOPE HE JUST DOSENT UNDERSTAND TCP FUUUUUUUQQQQHDJDIOAJEJDICJDNXIKZMZJDJCU2
-
How stupid am i?
1. I tried to learn programming language.
- It just so freaking hard for me to understand. Failed at logic.
2. Tried to learn aws.
- Technically know how it works but often forgot the services name. (Was thinking to get aws cert).
3. Tried to learn OpenSource DB.
- Can do up to db setup only. Else i didnt understand sh*t.
4. Tried to learn cybersecurity.
- Ended up bunch of unwanted process in my vm.
I was envy that some of my friend only read documentation once & he is like know what to do.
Guys, any pro tips for poor man here?
I want to code, but somehow i stuck.
I feel dumb...12 -
My team has a pathological need to NOT comment! What the fuck!! I think it is because a lot of it is actually magic, so they don't want to admit ignorance. My code is full of "not sure why it works, but breaks when removed." Chunks. That way, when debugging, I actually know what is going on????
I am currently going through and editing someone else's code, and I see code that has no clear purpose, even when removed! Does it do something I don't see??? Does it do nothing?? Fuck! -
Creating my first mobile application in Xamarin Forms. Still figuring out how that framework works, but I'm excited!
Application is for my internship. Helping students study better with metacognitive strategies.
I don't even know what it is, so this is going to be fun. -
Today, I decided to learn build a c++ project using cmake. Since I've never done a big project in C++ I have no experience with these stuff.
Couple of hours for researching and trying to understand how that thing works, how to specify things, this and that. Wrote a small program for testing.
Everything was fine. Makefile was generated and program was worked.
Then.... Somehow, sublime text started to give me error messages like, 'the header file you included is not found.' I hit the makefile again, the built was successfull... I know that, need to add -I to compiler flag so that it can find the files. But in sublime text constantly refuses my 'possible' solutions.
Even ycm in vim does this. They expected me to write includes like '../thispkcg/include/header.h'
Where did i go wrong ..............
Btw it works like a charm in cLion I don't know why..2 -
Employed a lady to work for me , after 3weeks she said she wants to buy equity of 50%..
But am afraid I don't know how it works I guess I have to learn fell free to drop a resource for me to learn oo..books pls.9 -
Anyone here uses vim as an ide? I just read about it and was wondering if that is possible ... And if it really works well ...
I know, if I want an ide I should use an actual ide, but I thought this might be interesting, since vim is so powerful like everyone said.10 -
Writing on a small c programm that somewhere calls a method that has a pwrite() in it.
I now wanted to know how long that method takes.
So I add a:
startTime = clock();
In front of it.
The funny thing is, that makes the pwrite fail.
I remove it, it works.
I add it, and it fails again.
What the actual fucking hell.3 -
why do all erp solutions i know have a poor design?
one of you guys surely works for a company which sells erp solutions. as i am a user AND a programmer.
i just have to ask: do you have the feeling that your UI is bad?
and if - why is it like this?
i dont want to attack someone. just want to know the reason why all of the solutions i saw have bad UI or are just "user-unfriendly" (like you would say in german :D)1 -
Why am I so curious?
You are always talking about Arch linux. Well, I got a second hand (very old) laptop to use as a backup, as I am going to working from home and I just have a desktop pc. So I decided to install Arch on it just to know how does it works. After this first experience, I would change it to a lubuntu (I am talking about a Celeron with 2GB RAM).
Well... I managed to install Arch. It is up and running. Lot's of problems to fix yet, sound, native wifi (I am using a wifi adapter that just works on any linux distro) etc but I am fucking in love with Arch! And I can't use it to work, as it is very unstable and I really need everything always up and running to work. I cannot have any glitch with the computer or I can lose a deadline.4 -
I was asked to fix a bug delaying the app's email notification. When I opened the notification code file, I saw this comment previous developer wrote, it goes like
-----*This code works 70% of the time, if I try to change anything, the whole profile breaks. Please do not touch this code!. It does not worth the try*-----
Now I don't know what to do😂😂 -
I can't connect the fucking safari debugger to the fucking iPad.
It opens the window and closes it after a few seconds, or sometimes (1 time out of 20) it just works, without no fucking reason.
And you should wonder "why are you asking for help here, that's not the fucking StackOverflow" the problem is that I don't know where else to ask. The next step will be resurrect Steve Jobs and just ask him why10 -
Finally did it!
Replaced my desktop pc (which I use for gaming) which had Windows 7 with Arch Linux! It was not hard because I already use it on my laptop.
OK it was a bit struggle with nvidia and cinnamon due to missing libraries I had to install which I don't know before.
But it is possible to play games on Arch?
Yes definitely!
CS:GO - works (native, steam)
League of Legends - works (wine)
World of Tanks - works (wine)
All I need is working (:1 -
So, the main system we develop and "maintain" is a horrible monolithic huge project that has the majority of the code in one and only one god class.
On top of that, all the main logic is implemented directly in the "main" method (yes, the "public static void main"). Now every time you have to create a method to use it in the main logic, it has to be static!
God, I hate to even look at this class, let alone touch it, I feel dirty, like I'm touching a pile of shit. -
It's more annoying for me when my code works and I don't know why (when actually it has not work) than when my code doesn't work and I don't know why.2
-
I have a love hate relationship with the Java garbage collector I love it when it works but when I notice it gcing in performance tests I know bad days are ahead
-
Anyone here knows how rpg programming works? How hard it is?
Although it is an old technology, I know people still use it.
Any devs here who has some ideas about the language?3 -
so many things happened this week.
First I told my colleague about torent :P she doesn't know what is it . Hope she enjoy much more content now :)
Second I was working with a client and she is herself a developer and she works like 24 hours. During lock-down she hardly slept for 4-5 hours and I came to know this week that she is 72 years old. I mean omfg in this age she is doing code and so much work :) that is indeed fucking awesome1 -
I love JS. And then this things happen... I want to learn TypeScript so much (not really related as I don't know if it avoids this).
Btw, I ended up finding ++n works too, so in the end it was 'Question '+ ++n;7 -
Came across this comment on r/programminghorror/
> We're you talking with my co-worker? He's extremely abrasive, especially when it comes to anyone touching his code because "Now I don't know how it works anymore" -
You know what, fuck this. I want a functionality that is supported on browser versions back to 2016 of the major browsers... Besides IE, where it isn't supported.
But honestly fuck IE users, they can have invisible characters. Certainly no other people above me in the management structure will be using old computers enough to lose it, or at least the head honcho should be able to overrule, as from past experience if it works on my machine and my boss' boss' machine, my boss' machine doesn't matter.1 -
Every, single, time, Windows, updates, and reboot...
I do not know what I did wrong with this Mint. It works perfectly until I reboot to Windows. So Windows update itself, I have to reboot and, after finishing all Windows boots, when I come back to Linux it does not work anymore.9 -
Okay, I know that osTicket, code-wise, is a fucking joke but know what? We upgraded our server to PHP7, osTicket stopped working. Okay, I need the newest version that it works, I downloaded it. It failed at database migration cause it's not PHP5 but I need it cause it should support PHP7...Wtf??!
-
Guys, i just placed a div of class row in my form legend,i don't know if this is a best practice but it works 😅7
-
Hi guys! I'm new here, it seems fantastic!
Any of you is a front-end enthusiast that want to learn about UI & UX design? I'm a student, I don't know about work world. Is someone out there works as front-end dev and designer? Is it possible?
It seems developers are descriminated about graphic design. What do you think?2 -
Started online college. I don’t have a problem with the class or anything but right now I’m just trying to figure out times I can actually fucking program. I want to finish my current project so I won’t feel like I’m shit and can’t do anything even though I know I can.
On the brighter side of college. I have to eventually take a C++ class and a class on algorithms in my degree and I’m very excited because I’m not good with algorithms yet and it’s a perfect way to help me learn. And I’ve intended to revisit C++ and make it my bitch so that works out too. I just wish instead of Two Java classes I could take two C++ classes and one Java class. But whatever I know I won’t use Java after I get the degree for anything professional so I’m fine with it.3 -
i need an adult. I know noone who would understand my worries, so you guys need to be it.
i have a nextcloud running on my raspberry pi. performance is horrible, dont ask, but it works.
i mostly use it to backup the photos of my phone sd card every night when my phone charges. Internally this works good. If i am elseplace it wont for obvious reasons.
In my youthful joy of doom i opened port 443 and forward it to my raspi. I get internet via cable and my ip is pretty much static (it was the same for 10 months). So external access is provided.
Now i thought, its stupid that i cannot sign an ssl certificate cause i dont have a domain. Lets buy domain. But before i do that i did some try runs with duckdns to test the principle.
Some back and forth, it works now. Pretty god, i could even make a cron job on the raspbi to renew (that should work right?). Only problem. randoname.duckdns.org doesnt work internally. Or should not at least.
So i googled a bit and it turns out that my router (a cable fritz!box i bought myself) can be a local network dns. Or cannot. Regardless what i try, it doesnt accept the changed config file.
Now the problem.
It works anyway. randoname.duckdns.org points to my external "static" ip and resolves to that from my internal network..so it works on my phone or laptop. if i traceroute the thing it goes via two hops out and finishes in less than 1ms.
Now to the problem:
I have no fokkin clue why. The expected behaviour would be that it shouldnt work. If i do what i intended todo on pc in the hosts file tracert works correctly, directly pointing to the internal ip.
What i cannot figure out, is it the fritz!box being smart? Is it my ISP being smart?
Reason to rant: i have absolutly NOONE to ask, i know not a single person who would even understand what troubles me. I want to learn, i want to know WHY not just some mindless russian patchwork of "if it works its good enough".
thats depressing.8 -
I know some of y'all will judge the fuck outa me
But I had a "I've no idea how this works, but it works" moment today on a pet-project...
It's so inefficiently made coz I was frustrated by it failing so thought il let it work first then worry about shrink-wrapping the logic
Yet with NO-CACHE, from DB -> Service/API -> HTTP response, is just 350ms...
WITH In-memory Cache it goes down to 40-50ms...1 -
I'm stuck on loading assemblies in a child appdomain with C#
Does anyone know a good book or site with fundamentals about assembly loading, appdomains? About how it works... I don't just want a solution to my problem only I also want to understand what's going on.
(Don't refer me to MSDN)1 -
Does this happen to you guys too?
Yesterday I was coding auth for node.js with help of tutorial (I'm pretty new to node.js). I was pretty sure that I understood how it works and I turned off my computer. Then when I was in bed ready to go to sleep I tried to go through the code in my head, but I completely forgot everything I wrote. I guess I was just copying the code without even noticing I didn't know how it works. Now I'm trying to learn it once more. -
Ranters, I need help
Does anyone know how can I run something as a systemd service and still have access to the "console" - the input and output of the program, when I need it?
(It is a minecraft forge server and there are multiple people managing the physical server and one of them managed to corrupt the map yesterday by rebooting the machine without stopping the minecraft server... so there comes the need for a service so it can shut down before the machine reboots... but I also need the access to the console of said minecraft server because sometimes when some modded items are misbehaving the rcon will stop responding while the console still works)
Edit: currently I am running the minecraft server in a detached screen (ddg "screen linux" if you don't know what I am talking about)5 -
I recently started playing around with Alfred for Mac. I made a pretty neat workflow that allows you to query a YouTrack server from Alfred with YouTrack Query Language autocomplete.
Although I'm not sure if Alfred's export feature bundled the Python dependencies properly lol can someone try it and let me know if it works?
https://github.com/mrjones2014/... -
Again idiotic language or documentation.
I want to just draw stupid arrow on chart. Took code from example. It just does not draw. No fucking error.
mql language.
Just in case somebody knows:
ObjectCreate(name, OBJ_TEXT, 0, 0, 0, 0, 0);
ObjectSetText(name, name);
ObjectSet(name, OBJPROP_COLOR, Green);
//ObjectSet(name, OBJPROP_TIME1, Time[0]+2*Period()*60);
ObjectSet(name, OBJPROP_TIME1, Time[0]);
ObjectSet(name, OBJPROP_PRICE1, High[0]);
this code is in onTick() method.
It looks like there are tons of posts on how to do it but nothing works what I have tested.
I really from time to time think about writing some trading bot but probably thats why I stop doing it because it takes so much time to do simple things with this language.
I could do with languages which I know - php, js , but still if i want to run it with brokers who have metatrader, I would need to know mql language :(3 -
So i just learned aws elastic beanstalk (EBS, ECS, ALB, EC2, Amplify, S3, RDS, SQS)
Essentially i learned how to operate with aws to deploy a full stack web application with custom backend i built, with security and jwt token, certificate manager, ssl/tls to set up https and redirect from http, and react/angular/nextjs on frontend
All with custom CI/CD pipelines docker and other devops shit
But i still feel like im missing on A Lot of stuff regarding aws. I havent worked with Fargate for example and dont know how it works or when to use it, but i heard other devs use it
Can someone list me a number of things i as a dev should know more regarding aws?3 -
`load pubkey "/Users/karunamon/.ssh/id_rsa": invalid format`
The fuck? I've been using this keyfile for ages. And that's the private key, not the public key.
Maybe I'll try converting it to a different format.
(20 minutes of ssh-keygen command attempts)
Same error. I don't freaking get it. It works. I mean, I know my public key is..
(public key is actually completely mangled with newlines everywhere)
..yknow what, my fault, but you could have at least given me the public key filename, ya jerk.1 -
I've been working for so long with API integrations and one part of that is security. We perform ssl key exchanges for 2-way verification and a large percent of those partners provides me with their own pkcs12 file which contains their private and public keys! What's the sense of the exchange!? I think they just implement it just to boast that they "know" how ssl works,
-
i made projects in Verilog HDL for fpga and stuff for the past few months in uni and did not get time for projects in languages like c or python.
now my dumb brain can't think in a normal programming language when I'm switching back to C.
P.S. if you didn't know verilog, it works a little different from normal programming languages. everything in Verilog runs parallelly.4 -
I am a cs student at first class. Obviously we take an algorithm lesson. However, despite we have learned all things related to OOP , we didn't even learn switch case statement not even bubble sort algorithm or anything related to the algorithms. Because of that in my free time I learn this stuff individually. I know we will learn these things in the second class but it doesn't make sense to program anything without knowing them because you need to use them. You can use standard library but that doesn't mean you don't need to know how that works.
-
Is Cmake really worthwhile ? Like, I see the point of autotools, and it seems pretty worthwhile, but why make something you have to hand configure from the looks of it with a vast array of tags you'll use maybe once per project ?
Is there a frontend maybe for it ? I mean I know the concept they state but it hasn't seemed to work very well the last number of projects I tried to build using it, on windows. On linux everything works LOL But if the point is cross platform building whats the deal ?10 -
Lately I am working using icestorm!
I know very few people know it, mainly beacuse not a lot of us works with FPGAs.
It is foundamental for the open source scene because is the only FOSS that gives you the ability to "compile" for FPGAs, otherwise you would have to use some proprietary tool.
People are building lot of things on top of that, and I hope more people start workin with FPGAs: dealing with them is still quite hard, especially if compared with MCU programming.
I am sure that in very few years we will see something very interesting in that field.4 -
damn sorry devs , i know you ppl are here for relaxation , but please help me out.
i am creating a browser and wanna have an edittext which works something like this :
>>user enters 'fb' , there should be a google search for fb(i.e load the string "https://www.google.com/search?q=fb")
>> user enters fb.com , webview should open it directly (i.e load the string "https://www.fb.com" )
>> some nerdy user enters http://www.fb.com or https://www.fb.com , it should load that
I know the function to make it load, what i don't know is how to modify that string to show such behaviors .
The webview is dumb enough to not behave like tht by default. although it feels good having such a raw and tool in hand, but hell, its a fucking google's webview! , why can't they just throw in some built in ways to show their search results by default when user enters a malformed url ?? that would be a great source of branding --__--7 -
Idk if any of you remember
A while ago i tried to make a router from a raspberry pie and i had trouble with connecting the pie to an internet cable wich requires user and pass from the provider
Done it like 5 minutes ago using pppoe and rc-pppoe
Took me a couple weeks to figure it out
Tho i need type a command
"sudo route add default dev ppp0"
And bam it works
Damn happy cuz u know , i got no electricity... still ... and this is just great to run on a power bank
Cheers ya'll! -
Many of engineer blogs like to write about how he made the tool work, but rarely explain the back ground... like why it works, what's happening in the background, and why he chose that commands, methods, or options out of other stuff he could chose. I know it's impossible for a person to know everything, but I hope I wouldn't feel so much difficulty to find information which provides a little bit broader scope of knowledge about the tools.
-
I'm asking for your help, once again, because I couldn't find any similar problem online.
I've written this neat thingy here, in Go
https://github.com/thosebeans/wento
And i try to integrate the wren-interpreter with it (is written in C).
All compiles and works, but I can't print to Stdout from the C-Code.
Any of you know what could cause this?1 -
Super random question 😄
Anybody know of a nice way of running tests for my NPM library but with Deno? So like I've tested manually it with Deno and it works, but I want to include it in my test suite in GitHub Actions. Feels tricky as I probably can't use Jest, so then I'll have to rewrite the tests in Deno...3 -
Backstory:
Got into a "fellowship" program with a community. They provide the templates for their website and we have to work and edit it to suit their needs. Now with a bunch of colleagues who have also been selected I finished the first part (i.e building the site) now they are training us to use their APIs and include it in their site and build the backend.
All of this I am doing without pay and according to them the benefit I get is "understanding how the industry works" and that "it will benefit us" with a promise that if we finish their sites, companies and startups will give us paid internships. I already know how APIs function and I'm not that invested in frontend stuff.
Jumping to the main question:
Should I continue here or should I quit?
Is this how the tech industry works?
Also an explanation to your answer will be great too!2 -
Honestly, am I the same guy who wrote this code 4 years ago? How comes I never commented it! Shit man. What do you do with code that works just fine but you don't know how it works..???2
-
Bought a Chromecast audio so I can get sound in my bedroom instead of blasting it from the living room where my computer is (I put music from my PC on timer when I go to sleep). Since I still use Winamp 2 had to install an app to send my Windows audio to Chromecast. It works. Already programmed a remote from my phone to turn off the lights, monitor and set the timer... Now I'm too lazy to program a remote for Winamp which I just know I'm gonna regret not doing at some point...
-
Don't know how it works but I am really confused why orgs are so obsessed with kubernetes native infra .and migrating hell all to it1
-
Do you know when you're testing your code and anything works as it should, even when everything looks all right? I dunno how about you, but... everytime this happens, I just change var/function name to something like "fuckingCalculate()" or "suckerAvg". It's similar as punching an old TV everytime it stops, or kicking a door that doesn't open.
.
.
Once I change the var/function to It's previous name, everything stops working as before.
.
What a shame... -
Do you know something I hate? It is when you run the software it works fine in the dev environment, but then when you actually publish it outside, it just doesn't work.
That gets me so angry...1 -
I have a personal opinion and correct me if I'm wrong
Why does a programmer need to learn behind the scenes stuff (memory allocation).
I know it helps to understand the concepts better.
Why would I learn how the engine of a car works in order to drive a car ?.
And the only task is required from you to drive a car.
And literally you can code without knowing any of these stuff and since companies only need clean and efficient code.
Will it be really helpful to enhance your coding skills if you know behind the scenes stuff ?6 -
I don't have many friends. I don't know if I need them or not. I feel like I should be focusing on my works rather than making friends or talking to people. But I don't if it will work4
-
Ran a windows registry error fixer 5 times, each time it says there are only 512 errors. I don't know if it is failing to delete them, or hitting some type of self imposed RAM limit...
Also half of the comments on Cnet say they think it's pretty good, and half say it's spam ware, but I haven't seen any ads. (average 4.5/5)
Anyone know if "Windows Registry Repair" actually works?2 -
Do you know of any free tools to limit the network of a specific application on windows?
NetLimiter works but I have to buy it after the test period. Could not find anything else.5 -
Hey so if anyone works for/know someone in MSFT, here's an idea if you can get it in front of someone that can do something with it.. (I tried Twitter.
Have Windows feature/app to transcribe/caption any audio (videos, zoom chats, etc).
Like this without all the setup and using your voice engine (Translator).
https://docs.google.com/document/d/...
Think of it this way, your still dominate computers and you can one-up Google.... And Apple.15 -
Do you do overtime? How much? Do you think it "works"? I had 1 month of overtime a while ago, and I only noticed a stressed team for a tiny gain in speed. I know that if it went on for even longer I would've quit.4
-
Microsoft? what a fucking joke
I do /remotelogout in skype. Next thing you know you can’t relogin with skype for WP. It says “*login successful, but we can’t log you in right now*”. Peace of shit.
On Android works with no problems, I wonder why WP has 0,00000000NULL% market share. -
Help
how to stop a Android phone from changing IPs
hey guys
Don't know why, sometimes my Android server changes IPs (without restart), that fucks the exit of services....
Like, don't know why, http always works even when IP changes
but WebDav stops working.... I mean, I can use inside the network but I want to access it from the outside.
Thanks8 -
!rant
What I tell every Admin Padawan and I hope it will help you, too...
---
Whatever you do on any system, always make sure you know and are able to revert your changes so you can return to the last working system state.
---
It is basically somewhat similar to "always have a backup". But it goes much further in my opinion because it also implies that you know for certain that a recovery works as well since:
"Nobody wants backup, everybody wants recovery" -
ITS VBA again!
I made two misstakes today.
The first one was touching vba, the second one was assuming things.
The two statements are almost the same except the braces. VBA uses IF [condition] THEN..i soo foulhardly assumed that, when you just chain conditions together with an AND its taken as one statement. While in reality it apparently ignores some conditions and not some others.
I really dont bother with VBA a lot and try to avoid it, but upon occassion the need arises. I still dont know why the brace variant does the expected behaviour while the without does not. It seemingly does not ignore thew first two conditions but the third which makes it even more confusing. But as i dont know enough about VBA to say with confidence its on Excel and not on me i squelch my rage and tend the happiness that it now works..somehow. -
I don't know how it works with my team but almost always I'm the one who is at the frontier when there is a need to migrate to new technology or to do something that nobody in my team knows how to do including me. So usually when we have planning and nobody wants to take the task I take it because someone has to do it. I think it's not my job to only do the things that I know but I'm expected to work outside my comfort zone and I wish others did the same. What happens after I'm done reading docs, testing and learning new thing is that I have to deliver training about it. The funny thing is that I also have to train experts and I'm below expert6
-
While building this site I decide to check if it works in internet explorer (you know, would be kinda nice) only to find out that apparently even edge does not support the js notation:
class MyClass {
// Stuff here.
}
Throws an exception 'MyClass' is undefined... Fuck you ie. Making me rewrite my damn classes.2 -
Does anybody have any good analogies for explaining the difference between frontend and backend?
I have been thinking about a possible keyboard analogy since a keyboard is very well understood these days. This only really works for membrane keyboards, but that's fine.
We can all guess where this is going. If you remove the keycaps from a membrane keyboard, you pretty much cannot use it unless you poke into the membrane with something else. So the keycaps are the frontend. They are generally labeled so you know what they do, they are organized into some form of layout which can vary even on a country-by-country basis, they may have pretty colors and they make it easier to interface with the backend. The backend is the rest and the users don't really have to know how it works, its just supposed to work.
For mechanicals, obviously, the removal of the keycaps means it becomes a shitty frontend that is not easy to use, but does have great potential.5 -
Need help/advice.
I’ve a raspberry pie 3B.
The pi boots up with the OS previously installed on it, theHDMI port works perfectly,
The problem is , I can’t get the USB ports to work, nor does the LAN port works. And the wifi also doesn’t connect automatically donno why , not sure if the wifi wasn’t setup or the chip is gone bad, just need to know what I can do with it4 -
I don't know much about how search engines works and all that stuffs. I started a Blogspot and tried the Google Console to index my web on Google. But it sucks. I get redirect errors. "Crawled- but not indexed.", "Discovered not crawled". I don't know shit. And every video is just a crap on YouTube. I tried several methods and sometimes I feel like giving up.6
-
So... Here it is
I am working in a web application thay only works on IE (I know, it is not my fault), and I asked the programmers that started this project, if we can start using it in another browsers but they told me that it is not possible because 'some javascript may not work in other browsers'.
Is this really possible or they just don't want to code for compatibility with other browsers?3 -
I don't deal with it. I just believe my code is trash and everything is trash and as long as it works well and noone has to touch it, it's fine, so I pay extra attention to making my code work well for sure. I pay extra attention that it can be hosted on literal potato and I do a lot of defensive programming. Also every single crash dings my e-mail box so I for sure notice if something goes wrong.
I know Im far from perfect but that's how I deal with it. I believe Im at least good enough to do my job.1 -
i'm so tired... i don't know how much longer i can keep up the 4-or-less-hours-a-night routine, but I can't afford meds or appointments to fix it. I've tried most everything, even not touching anything digital for like a week and all the home remedies ever, but nothing works. It's been forever since i've had a good rest.
i don't know why but my body has locked itself into a "sleep 6AM to 8-10AM and no more" routine and i can't break it. i can't even stay up anymore, as i just fucking collapse at 7 or 8AM if i'm not out by 6.
why?3 -
Is is possible to still update Win7 to Win10 for free? I know they dont offer the upgrade option free like they did a couple years ago.
I've read several articles stating a Win7 key will work for Win10. Can anyone verify this still works as of recently? I want to update my main dev machine but want to make sure I dont massively screw it up.
kthx17 -
Serious question - how does one learn basics of higher level networking, beyond stuff I can mess with on my local machine?
Today, I was completely caught off guard when I had to set up BGP-based loadbalancing on a machine and I just... Didn't know how the whole topology looks or behaves...
Once I go beyond the server in the network, I tend to get lost. Especially around how routing works and stuff like that... All I know is my machine has one or more gateways to which it sends data going to specific network segments...6 -
!rant
Often times while working/debugging I get to a state where the app/whatever works but then I realize that it didn't, so some more changes and I get to a new state.
Question is, does there exist something which lets me switch between these states without messing up my git? I do have a solution in mind but want to know if it already exists.16 -
I know it !
But when it finally works (reSharper) it's really not 'that' bad.
But my poor AMD Ryzen 9 3900X is not good enough I think lol.
About 30 seconds init time.2 -
!rant && !question
If anyone has some info on this behaviour :P
I've got this website and it loads fine and stuff, but for some reason when I pop chrome into mobile mode on my desktop (you know the mobile emulator thingymabob) and reload the page the server returns a 500 error, like how does that even work?
(works on an actual phone btw, safari, edge, IE, Firefox, ....)
FYI I use lighttpd as a webserver4 -
Lately I am facing this issue. I spend a lot of time and did hard work on some specific thing! but it doesn’t seem to work as it should be, so because of this I am disappointed. I don’t know I should be feeling like this or not, but I am questing myself that I am a good developer or not!
It’s not like that I don’t know stuff, I start working on laravel , few months ago. It’s been 4 months, and I already develop a backend of the whole app, but it was not that complex. Recently , I am assigned to this new project, which is very complex, and It was already made by some other developer, so I am new to this and I don’t know how it actually works. But I was assigned to add new functionality to it, and It was kinda complex, like maths and calculation and depending upon the data coming and updating calculations changed. So, I almost work hard and over time for this, and I think I did a good job, but turns out it didn’t. So, I worked again on this, but again turns out it didn’t work out as it suppose to be.
So , After all of my hard work, the code was not right, and that led me to question myself and I am feeling bad. Is this normal? Is it okay to feel at something?3 -
Hi everyone am a CS student.
Along with C/C++ taught in colleges, Am learning C# side by side and getting used to it.
So am learning it from internet PSA. I already did one C# course on udemy. And also practices a lot about the language features.
As it's very big language am really confuse what should I know more about that language. I mean which C#.NET classes are important in industry and which not and other stuff too.
So am just wanting answer from a specifically a C# developer which works in industry and uses it everyday.2 -
I usually review my code and if it doesn't look right it needs improving (even if it works). I hate when I see code that I know is flawed. My coding skills are weak but it's easy to spot crap code
-
Does anyone, that works/has worked with laravel know how to give id a minimum length?
For example, instead of 1 I would want 000001, 10 would be 000010, and so on.
I know uuid does something similar, but it's not exactly what I want. Also, I had a bad experience with uuid, where I wanted to delete the field but it would still show up every time I migrated 🙃 but it wasn't it the migration file 🙃 so now I try to avoid using it 🙃4 -
So I have a MEAN app that is super simple just basic CRUD operations.
Everything works fine. Decide to extend it by bringing values over into fields on an Edit page. More work than I thought it would be but got it working, just passed values through an array in the URL. Pretty simple. So then I click save and it's broken. _id is apparently now undefined. Oh I posted it on the Javascript chat on SO and got nothing, instead everyone is talking about porn folders, a tweet, a random picture that looks like either a woman doing oral to a guy or a guy reading a book, and now Obamacare. FFS just answer my damn question >.< So I post it on SO itself and still crickets there. Worst part is I know its something simple I just don't know what it is because I'm still new to programming in general only been a few months in a bootcamp just learning the basics of MEAN stack (which I do like a lot tbh)
Man SO is so frustrating. -
!dev but rant/q
How fucking hard can it be to create a BTC transaction to override an unconfirmed one. Tried two tools but the resulting transaction gets rejected by the network.
Does anyone know one that works and is maybe even automated by any chance? Maybe I can try it if its still unconfirmed when I get home.1 -
XFCE keeps crashing in the weirdest way when I boot, 50% of the time it works, the other 50% the startup applications launch like normal but the window frames and the bars are gone and none of the positioning shortcuts work. It's like an issue specifically with xfwm but I have no idea how the wm in particular could be fucked. I already know that the compositor can fail without taking the wm with it.
-
Seeing as I will be scorned for asking this on SO, and there's a ton of devs here that probably had this conundrum: how have you solved horizontal scrolling when working? I know shift + mw+/- works but what's the use having a mouse with macro functionality if not to simplify that? My current software supports lua scripting (but I don't know how to write it). I see some people requesting this while googling I but cannot find anyone that has a solution. The closest I get is a user requesting it from Logitech as they apparently have the same but for ctrl+mw in their products.10