I can definitely maybe do this!

2 months ago by printf("%s", name); to c/programmer_humor

rumschlumpel 91 points 2 months ago

"networking" in the social sense or in the administration/programming sense?

path: 0 25502902, hotness: undefined, score: 91, children: 19
akunohana 68 points 2 months ago

Good one 🤣 I don't think I have ever used the word to mean "managing social networks" or the likes 🤣

path: 0 25502902 25502933, hotness: undefined, score: 68, children: 18
rumschlumpel 72 points 2 months ago

It's a trick question anyway, most programmers are probably bad at both Ü

path: 0 25502902 25502933 25502995, hotness: undefined, score: 72, children: 1
Jankatarch 9 points 2 months ago

Except Lain ﺕ

path: 0 25502902 25502933 25502995 25504572, hotness: undefined, score: 9, children: 0
akunohana 33 points 2 months ago

I am so going to start to use computer networking terminology when talking about social networking from now on.

path: 0 25502902 25502933 25502953, hotness: undefined, score: 33, children: 15
django 40 points 2 months ago

ACK

path: 0 25502902 25502933 25502953 25503182, hotness: undefined, score: 40, children: 12
lena 34 points 2 months ago

200 OK

path: 0 25502902 25502933 25502953 25503182 25503283, hotness: undefined, score: 34, children: 3
towerful 25 points 2 months ago

ARP ARP ARP ARP ARP

(like a socially acceptable seal)

path: 0 25502902 25502933 25502953 25503182 25504180, hotness: undefined, score: 25, children: 1
nymnympseudonym 16 points 2 months ago

I would ping her, but I have no handler in the event of NACK

path: 0 25502902 25502933 25502953 25503182 25503490, hotness: undefined, score: 16, children: 0
mumblerfish 8 points 2 months ago

It is very common to use ACK in social contexts as well if you work in IT I have found. Like "had a meeting about that issue, awaiting ACK from John"

path: 0 25502902 25502933 25502953 25503182 25504165, hotness: undefined, score: 8, children: 1
NaibofTabr 7 points 2 months ago

She was SYN flooded, if y'know what I mean...

path: 0 25502902 25502933 25502953 25503182 25504097, hotness: undefined, score: 7, children: 0
akunohana 5 points 2 months ago

RST + complementary shoulder to cry on

path: 0 25502902 25502933 25502953 25503182 25503737, hotness: undefined, score: 5, children: 1
Axolotl_cpp 2 points 2 months ago

I proposed to that girl, she sent me a 403 code

path: 0 25502902 25502933 25502953 25517094, hotness: undefined, score: 2, children: 0
MonkderVierte 2 points 2 months ago

403 connection not found.

path: 0 25502902 25502933 25502953 25511509, hotness: undefined, score: 2, children: 0
partial_accumen 62 points 2 months ago

If it helps, I'm from the other side of networking and infra. You could swap the labels and make the meme accurate for me.

In the mid 1980s I learn the BASIC programming command GOTO and fell in love for a lifetime. If you look any anything I used to write in Ruby script or today in Python you'll see my love affair with "if" "elfi" and "else" continues. My universe is nested "if" statements all the way down.

path: 0 25503788, hotness: undefined, score: 62, children: 21
libewa 31 points 2 months ago

Ahh, I found you, Toby Fox!

path: 0 25503788 25503890, hotness: undefined, score: 31, children: 1
Ertain 3 points 2 months ago

I'm sure he's fine, Sans/Susie.

path: 0 25503788 25503890 25506769, hotness: undefined, score: 3, children: 0
rockSlayer 17 points 2 months ago

If you like if statements, you'll love the python case statements for pattern matching

path: 0 25503788 25504476, hotness: undefined, score: 17, children: 4
partial_accumen 38 points 2 months ago

Ohhh nice! I could see replacing dozens of nested if statements with dozens of nested case statements!

path: 0 25503788 25504476 25504723, hotness: undefined, score: 38, children: 3
MonkderVierte 4 points 2 months ago

Also don't nest case statements. Please.

path: 0 25503788 25504476 25504723 25511463, hotness: undefined, score: 4, children: 2
partial_accumen 3 points 2 months ago

I remember one of the hardest transitions for me from scripting in Ruby to Python was the whitespace indent was larger by default in Python. With Python, I ran out of monitor width and would have to be constantly scrolling right and left when visually parsing the code because the nested loops were so deep.

path: 0 25503788 25504476 25504723 25511463 25515578, hotness: undefined, score: 3, children: 1
chad 10 points 2 months ago path: 0 25503788 25506782, hotness: undefined, score: 10, children: 8
chicken 3 points 2 months ago

Early returns seems good, but personally I find code more confusing when things get arbitrarily separated out into functions, because to read it you have to keep scrolling back and forth between different parts of the page and either remembering where the other part is or typing a lot with ctrl-f, there's more variables to hold results, and if the section of code to be separated into a function is picked just because of nesting depth reasons then it's likely the function name isn't going to describe what it does very clearly, leading to more scrolling and more having to keep track of things in your head.

path: 0 25503788 25506782 25507582, hotness: undefined, score: 3, children: 6
PabloSexcrowbar 4 points 2 months ago

A good IDE makes it unnecessary to scroll back and forth like that, though.

path: 0 25503788 25506782 25507582 25509187, hotness: undefined, score: 4, children: 3
chicken 3 points 2 months ago

How? I'm using vscodium. There are right click menus that bring you to function definitions and uses, but that isn't necessarily faster than scrolling around and is still way more friction and more stuff you can't see to hold in your short term memory.

IDEs also have collapse/expand features which make nested or longer functions easier to navigate.

path: 0 25503788 25506782 25507582 25509187 25509404, hotness: undefined, score: 3, children: 2
MonkderVierte 2 points 2 months ago

I've had this too. It was cured by being forced to work with Java and enhance a PHP-framework. Dear god, the php-framework.
But it literally increased my mental "stack size". My shell and python scripts also got better.

Ah, and also keep the "do one thing and do it good" tenet also to functions.

path: 0 25503788 25506782 25507582 25511459, hotness: undefined, score: 2, children: 1
chicken 3 points 2 months ago

Getting good at reading bad code does seem like a worthwhile skill

path: 0 25503788 25506782 25507582 25511459 25511667, hotness: undefined, score: 3, children: 0
OpenStars 2 points 2 months ago

This seems geared more towards programming languages like C++, whereas in scripting such as BASH it seems to me like it absolutely would get to be a mess to have so many functions, particularly those called only once (either total for the execution of the entire program or within the context of being inside another function, so once per function).

I am curious now what would Linus Torvalds say about that?

path: 0 25503788 25506782 25516238, hotness: undefined, score: 2, children: 0
Zos_Kia 7 points 2 months ago

It was fashionable at a time to avoid ifs and other imperative structures, but I tend to like them. Functional is nice and all but I like my code to be smart in the way it works, not in the way it's written. Nested ifs are readable, collapsible, and easy to make sense of at a glance, there's often nothing wrong with using them.

path: 0 25503788 25505464, hotness: undefined, score: 7, children: 0
otacon239 5 points 2 months ago

Same here! I can put together a half-descent network in just a few hours, but even programming simple stuff on microcontrollers is a major endeavor. And the documentation is usually terrible or nonexistent. And the tutorials are usually barely able to cover basic questions. At least in the space of networking, there’s enough context clues in the UI that I can piece together the solution I need.

path: 0 25503788 25504693, hotness: undefined, score: 5, children: 1
ieGod 1 point 2 months ago

I'd argue programming for micros is an order of magnitude more involved than say a simple linux or windows terminal app. The former requires actual understanding of the architecture, chipset, features, instructions, interfaces, on and on... The latter has such advanced tool chains readily available you dont need to think about any of that.

path: 0 25503788 25504693 25513240, hotness: undefined, score: 1, children: 0
db2 4 points 2 months ago

My universe is nested "if" statements all the way down

Also known as AI 🤣

path: 0 25503788 25504864, hotness: undefined, score: 4, children: 0
Big_Boss_77 4 points 2 months ago

As a network engineer myself... python if/elif, and nested for loops are all you need

/s

path: 0 25503788 25515206, hotness: undefined, score: 4, children: 0
onlyhalfminotaur 42 points 2 months ago

In one college class we had to reimplement TCP in our own code on top of real UDP sockets. That was a fun class.

path: 0 25506089, hotness: undefined, score: 42, children: 5
LodeMike 13 points 2 months ago

Fun, sarcasm?

path: 0 25506089 25507241, hotness: undefined, score: 13, children: 1
SkyeStarfall 8 points 2 months ago

I had a class where we did a similar thing, except it was re-inmplementing basic forms of internet and transport protocols on top of the link layer

And it was a really really fun class imo, no sarcasm

path: 0 25506089 25507241 25510907, hotness: undefined, score: 8, children: 0
0ops 3 points 2 months ago

Same!

path: 0 25506089 25506302, hotness: undefined, score: 3, children: 0
socsa 2 points 2 months ago

Why use UDP sockets when you can use raw Linux sockets with no encapsulation at all?

path: 0 25506089 25516019, hotness: undefined, score: 2, children: 1
onlyhalfminotaur 1 point a month ago

I can't remember but I don't think this was on Linux. Solaris or Sun OS or something.

path: 0 25506089 25516019 25600655, hotness: undefined, score: 1, children: 0
onlinepersona 30 points 2 months ago

The problem with networking is debugging it. The worst is debugging iptables and nftables. Figuring out which chain they are going to is a massive hassle. How come we don't have any graphical tools whatsoever for this work?

path: 0 25511725, hotness: undefined, score: 30, children: 13
AnUnusualRelic 14 points a month ago

There's nothing to debug, it's fucking DNS again, you know it is.

path: 0 25511725 25520784, hotness: undefined, score: 14, children: 1
Brickhead92 5 points a month ago

And then, even when it's not DNS, it's probably DNS.

path: 0 25511725 25520784 25532087, hotness: undefined, score: 5, children: 0
akunohana 3 points 2 months ago

As for iptables, doesn't -j tell you where the packets are going? Or do you mean what their destination addresses and ports are? For that, on Linux, I use ss or lsof. I have never used it myself, but doesn't ufw have some GUI?

path: 0 25511725 25511956, hotness: undefined, score: 3, children: 5
onlinepersona 4 points 2 months ago

Reading the iptables dump is not for beginners. Far from it. A packet can go through all tables and chains or none. And allowing a packet in one chain then begs the questions which is the next table or chain. There are maybe 100 flags and nobody can memorise them all.

Ufw just allows adding rules, ss doesn't trace packages as they go through the firewall, it can show you open ports and established connections, but it can show you which tables and chains a packet went through. lsof is even more rudimentary than ss and literally means "list open files". Since everything is a file in linux, that's a lot of files. Again, no tracing.

Somebody will say "just tcpdump". Again, no that doesn't trace which tables and chains a packet goes through. The entire firewall is a blackbox to tcpdump. At least to my knowledge. All it sees is which packets arrived and which were sent on the selected interfaces, and whether they was successful or not.

Nothing I know of traces a packet through the firewall and presents in a TUI nor GUI. I know that it's possible to make copies of packets and send then to custom chains that can log the chain and packet it came from. There might even be a way of generating a trace by adding a rule to a chain, which means adding it to every chain, but I'm not sure I've seen something do that.

path: 0 25511725 25511956 25512231, hotness: undefined, score: 4, children: 4
akunohana 5 points 2 months ago

I digress. The documentation on iptables alone is an arduous read at best and requires dedication to get through and to understand. With that said, while you "cannot" (loosely said) follow any one singular packet from an iptables listing, using tcpdump will at least let you know wherefrom it connections originate and where they are terminating. Again, it is a hard read, not very beginner friendly, but I think it is also enough for the majority of threat models.

Question: does the person that feels that reading and understand iptables listings and tcpdumps really need to know - through an easy to read/understand UI - what chains and tables any one specific packet has traversed? What scenario/threat model/situation would that be? I'm all for discussing and widening my point of view, so don't hold back! 😊

path: 0 25511725 25511956 25512231 25512305, hotness: undefined, score: 5, children: 1
onlinepersona 2 points 2 months ago

Regarding your question, I've had trouble multiple times with docker (and other software) that required trying to find out just where a packet was getting stuck. The worst thing is when you open a port in the container to 0.0.0.0, send a request to it (HTTP, telnet, or otherwise) from the host via the container's IP and the packet doesn't arrive. Then you have to run through the gamut of:

  • are the interfaces up?
  • is it the IP address that's wrong?
  • is the the port wrong?
  • is the network mask correct?
  • is the gateway IP correct?
  • is the firewall somehow interfering?

There might be other things I'm missing, but once I get to the firewall stage, most of the time I just give up, put the service into a VM and try accessing it from there - if I really really care. Otherwise, I drop it and move on.

I did just find this Network address translation part 1 – packet tracing which allows tracing a packet through the firewall via xtables-monitor. It's in my notes now, so if I run into the problem again, I might have a place to start next time.

But still, that's just on my machine. Once things happen on the network and there are routers and other things involved, it's very difficult for me to debug.

path: 0 25511725 25511956 25512231 25512305 25513790, hotness: undefined, score: 2, children: 0
pishadoot 1 point a month ago

I'm struggling to think of a situation where you'd be trying to get to that level of granularity of how a single packet is flowing end-end. Can you give an example of why you want to do that?

In all my years I've never needed to do that, which is probably pretty common, which I'd guess is why there isn't an available solution for that.

path: 0 25511725 25511956 25512231 25531808, hotness: undefined, score: 1, children: 1
onlinepersona 1 point a month ago path: 0 25511725 25511956 25512231 25531808 25533116, hotness: undefined, score: 1, children: 0
Saffire 1 point 2 months ago

Packet Tracer?

path: 0 25511725 25515371, hotness: undefined, score: 1, children: 4
onlinepersona 2 points 2 months ago

That's a very generic name. Do you have a link?

path: 0 25511725 25515371 25518840, hotness: undefined, score: 2, children: 3
Saffire 1 point a month ago path: 0 25511725 25515371 25518840 25522037, hotness: undefined, score: 1, children: 2
onlinepersona 2 points a month ago

Cisco Packet Tracer is a comprehensive networking simulation software tool for teaching and learning how to create network topologies and imitate modern computer networks.

That's for simulation. I don't think it's possible to analyse a running system to find trace packets as they go through the firewall.

Cisco Packet Tracer is available for free to all Cisco Networking Academy instructors, students, and alumni. Sign up for our free Getting Started with Cisco Packet Tracer course to learn how to download, install, and get started.

And it also requires a paid account to use.

path: 0 25511725 25515371 25518840 25522037 25523141, hotness: undefined, score: 2, children: 1
naught101 24 points 2 months ago

I was like this 5 years ago. Networking a lot is still effort for me, but it is just another learnable skill, and it has lots of benefits (depending on your aims, I guess)

Edit: hah, just realised this is about connecting computers, not about talking to people...

path: 0 25505987, hotness: undefined, score: 24, children: 1
akunohana 5 points 2 months ago

Same diff

path: 0 25505987 25508570, hotness: undefined, score: 5, children: 0
PlexSheep 16 points 2 months ago

Only wizards can configure iptables for ipv4 and ipv6 port forwarding. Only wizards.

path: 0 25504271, hotness: undefined, score: 16, children: 2
tatterdemalion 3 points 2 months ago

What about nftables?

path: 0 25504271 25507450, hotness: undefined, score: 3, children: 1
onlinepersona 3 points 2 months ago

Extraterrestrials

path: 0 25504271 25507450 25511733, hotness: undefined, score: 3, children: 0
Goldholz 15 points 2 months ago

And my boss shattering all with mean comments. Not letting me explain my code but still tearing it all down, removing all security features like checking for directory existing, connection is open aso. and then saying im not qualified for the job! Good thing i got already laid off. Bad that i'll still have to spend 3 months at this company

path: 0 25510092, hotness: undefined, score: 15, children: 9
akunohana 6 points 2 months ago

I'm so sorry about your job. :(

Do you mean that you were trying to write network conscious/safe code and your boss disagreed and laid you off for that reason?

path: 0 25510092 25510324, hotness: undefined, score: 6, children: 6
Goldholz 3 points 2 months ago

No. This whole laying off story is bigger and longer Shortly said. Last year i did a project, alone, for a customer. I didn't know that the version i gave him for review, was supposed to be the finished polished version. For me it was the rough work that he could have a look at, if the UI and functions roughly are as he expected them and whether he wants other changes. That brought the stone rolling.

Then the best friend of the only senior dev in this small company got into the position of team lead. There he constantly changed things up but i thought yeah what ever i write the texts differently. That was in december 2025. But the big issues then came in january and stronger in february. He bickered at how i named my variables, saying they werent accurate, leaving classes empty (just like the structure he build up was and i wanted to emulate it because i thought 'well it got to have a reason why he did it that way'). For example the variable for a list for a table of employee time entries i called "employeesheet". He marked it as completely wrong and that this isnt appropriate, giving as example that one of the translation of the word into german is "time note" and i should rather call it just "employeecollection". I argued, that it does fit because sheet also can be used for a listing and this not being a collection could lead to confusion with wrongful expectations and this is only being a list to be displayed and printed. And asked for better clarification why he thinks that would be a better name. I never got that. Note that all other classes and lists were called "sheet" and not "collection" He also was constantly passiv aggressiv and i cant even recall all of it because its some time ago and lot has happened since then. During a "meeting" to clarify things. He got loud, mad and angry that the bosses didnt read the emails he send them complaining about me. This person had a history and i wasnt the first to be feeling his power tripp. Another collegue felt it at the same time and one even before it. We went to the bosses. This was all due to unclear communication. I even offered to write them a manial on how to phrase things so i understand it better. Got told it was not neccessary. I did it anyways after senior developer asked in an email exchange between me and the ass-leader

Then i was tasked to do a version 2.0 for that customer project. Alone. As the project began i was on the verge of ending up on the street and had to juggle housing search, my grandma (and mother figure) being diagnosed with end stage Thyroid cancer and my dad suddenly landing in hospital due to a huge cepsis. Due to all that stress i oversaw something major for the project. That i then ofc admitted to be my fault and worked hard to fix it all. Then i noticed (after having done this fix just in time) that without telling me this project got given to the senior developer instead.

What a motivation booster. At the time i also got told (end of june) that i'll be laid off due to the financial situation. But in the case for the states approval (im 50% disabled meaning they have to get the states approval first) they stated "lack of skills for the position" as reason. In my statement i wrote how it all went down and that it was not due to lack of skill but due to stress in private that i oversaw that thing for the project.

Then the last few weeks i got tasked to programm something for a technologie which hasnt been in use since the 90s! And therefor ofc barely any documentation. I programmed it all regardless to the best of my abilities, having never interacted with Paradox (.px) database files or Oracle OR Borland Software before. Did it all dynamic, as i was taught in traite school, how i was always told to do things, even here). This still somehow was wrong lol. The safety things were: check that the repository exists before calling it. If not exists create it. Before trying to send a SQL Query to the Database, check that the connection is established and open.

Both i got told (along with gas lighting that apperently the call i had with my boss last friday according to him didnt happen) were unnecessary because "the folder will always be there". I told him "nobody can gurantie that!". He told me to shut up. I did for the rest of the call. He used the word "clone files" not "copy files" which in my book are 2 different things. And then got upset that i didnt copy the files but created new once from the templates. He treated me litterly like i never programmed. Didnt give me a few minutes to find the connections and how i arranged the methods, in the code i didnt touch in a week. It's all so frustrating.

And yes they were aware from before they hired me that i have adhd and autism

path: 0 25510092 25510324 25510882, hotness: undefined, score: 3, children: 4
luciferofastora 2 points 2 months ago

The whole thing is obviously fucked up, but one thing that stuck out to me was this:

one of the translation of the word into german is "time note"

Technical names being oriented around specific localisations are one of my pet peeves. Particularly when I'm trying to explain something to an international colleague who doesn't speak German and can't find the relevant, unintuitively named objects. Bonus points when the name itself is in German.

The safety things were: check that the repository exists before calling it. If not exists create it.

I could see an argument here, depending on your business context, that a missing repository shouldn't be a "silent" fail in order to catch potential data entry errors. If the assumption is that the folder will always be there, it might be worthwhile to throw if that assumption turns out to be false.

I had a "silent" fail logic built into one of my products that ended up heavily distorting the results when it eventually turned out that the input data was heavily skewed due to sloppy human work.

Of course, given the general situation, I assume that your solution was sensible in your case. The response of "shut up" doesn't exactly sound like "there is a good reason we want this to fail if it isn't there".

Before trying to send a SQL Query to the Database, check that the connection is established and open.

Uhhhhh... So, like, basic SQL connection handling? And they took issue with that?

If ever anyone brings up the stereotype of Germans being hyper-accurate to the point of being anal, I think that company is the counterexample.

path: 0 25510092 25510324 25510882 25511744, hotness: undefined, score: 2, children: 3
Goldholz 1 point 2 months ago

technical names

We are a german company with only german customers. That variable name wouldnt have shown up anywhere

fail check In that directory are .DB and .PX files which it is supposed to connect to or with another function, clone them to a curtain directory of the users choice. Now i doubt i need to elaborate on where the problem could be if the directory path of the user doesnt exist.

sql connection Yes

AND NOW THERE IS EVEN MORE! Just as i wrote the earlier comment i got more FUN interactions with my boss :D

Told him these files seem to be damaged or faulty in some way. They cant be accessed via SQL querys. No select, no alter table, no drop, no delete, nothing! So i spend the entire yesterday afternoon trying to firgure out what the issue could be. My boss doesnt belief they are corrupt (which i never said. I just put it as a possibility) because a Paradox file reader programmed with C++ can read them. Then he went on an angry writing about how dare i test with similar files with which i tested the functions so faar because it is easier to see changes in a 3 row table, than a 2374 row table. And rejected the idea these files could be different versions. Then i broke a bit, litterly showed him that they are 3 different paradox versions and told him that "i must be halucinating it all just the same as the meeting" I got this as a reply: "Please keep communication technical." Instead of making the version selection dynamic, i got told to hard code it all. So: making 3 DIFFERENT CONNECTION STRINGS!!! AND 3 DIFFERENT EXTRA INSTANCES FOR ALL OF THEM!! On one hand they laid me off for not enought skills, now they get mad i am constantly keeping everything dynamic and in accordance with basic coding principles! Mind you, he told me to hard code the versions and the entire connection string in the first place! And instead of drawing the entire connection string from the registry, only the directorys path from there.

I replied this:

"sure yes you can hard code everything. You'd just go against basic coding conventions. The way i am being treated is making it hard staying technical. Even when the versions are being hard coded it doesnt resolve the problems with the files. But like you demand i wont say anything anymore and try magic to fix these files."

It is REEEAALLY hard for me not to tell him to fuck off or march out of the office

My boss' reply:

"CREATE A CONNECTION. NOTHING ELSE"

I didnt know i spoke mandarin! I must be, because NO WHERE did i say i cannot create a connection to these files!

So i wrote 2 whole things, explaining all analytical steps i took and again that i didnt say i can not connect to the files but the files cant be altered Connection: yes Query: no

They do want to make me go crazy, im telling you!!! I am SO glad now that i got kicked. Idk why SUDDENLY this is happening. My assumption is that he, due to that snake collegue, views me of a dumb idiot and so ofc naturally antagonises me in his mind and treats me automaticly in this manner now.

I wish they'd put me on leave like i asked when i got told i get laid off.

Sorry but this can not NOT be on accident this behaviour. It frustrates me so much the fact i litterly gave them an instruction manual on how i need to be communicated with and it got just ignored. I knew from beginning of this whole sharad, they only play as if it were a fair decision making and chance of me not being laid off.

This company, and i know it, leaves me wanting to from now on build even less friendly ties to collegues of future companies

path: 0 25510092 25510324 25510882 25511744 25513090, hotness: undefined, score: 1, children: 2
Goldholz 2 points 2 months ago

No. This whole laying off story is bigger and longer Shortly said. Last year i did a project, alone, for a customer. I didn't know that the version i gave him for review, was supposed to be the finished polished version. For me it was the rough work that he could have a look at, if the UI and functions roughly are as he expected them and whether he wants other changes. That brought the stone rolling.

Then the best friend of the only senior dev in this small company got into the position of team lead. There he constantly changed things up but i thought yeah what ever i write the texts differently. That was in december 2025. But the big issues then came in january and stronger in february. He bickered at how i named my variables, saying they werent accurate, leaving classes empty (just like the structure he build up was and i wanted to emulate it because i thought 'well it got to have a reason why he did it that way'). For example the variable for a list for a table of employee time entries i called "employeesheet". He marked it as completely wrong and that this isnt appropriate, giving as example that one of the translation of the word into german is "time note" and i should rather call it just "employeecollection". I argued, that it does fit because sheet also can be used for a listing and this not being a collection could lead to confusion with wrongful expectations and this is only being a list to be displayed and printed. And asked for better clarification why he thinks that would be a better name. I never got that. Note that all other classes and lists were called "sheet" and not "collection" He also was constantly passiv aggressiv and i cant even recall all of it because its some time ago and lot has happened since then. During a "meeting" to clarify things. He got loud, mad and angry that the bosses didnt read the emails he send them complaining about me. This person had a history and i wasnt the first to be feeling his power tripp. Another collegue felt it at the same time and one even before it. We went to the bosses. This was all due to unclear communication. I even offered to write them a manial on how to phrase things so i understand it better. Got told it was not neccessary. I did it anyways after senior developer asked in an email exchange between me and the ass-leader

Then i was tasked to do a version 2.0 for that customer project. Alone. As the project began i was on the verge of ending up on the street and had to juggle housing search, my grandma (and mother figure) being diagnosed with end stage Thyroid cancer and my dad suddenly landing in hospital due to a huge cepsis. Due to all that stress i oversaw something major for the project. That i then ofc admitted to be my fault and worked hard to fix it all. Then i noticed (after having done this fix just in time) that without telling me this project got given to the senior developer instead.

What a motivation booster. At the time i also got told (end of june) that i'll be laid off due to the financial situation. But in the case for the states approval (im 50% disabled meaning they have to get the states approval first) they stated "lack of skills for the position" as reason. In my statement i wrote how it all went down and that it was not due to lack of skill but due to stress in private that i oversaw that thing for the project.

Then the last few weeks i got tasked to programm something for a technologie which hasnt been in use since the 90s! And therefor ofc barely any documentation. I programmed it all regardless to the best of my abilities, having never interacted with Paradox (.px) database files or Oracle OR Borland Software before. Did it all dynamic, as i was taught in traite school, how i was always told to do things, even here). This still somehow was wrong lol. The safety things were: check that the repository exists before calling it. If not exists create it. Before trying to send a SQL Query to the Database, check that the connection is established and open.

Both i got told (along with gas lighting that apperently the call i had with my boss last friday according to him didnt happen) were unnecessary because "the folder will always be there". I told him "nobody can gurantie that!". He told me to shut up. I did for the rest of the call. He used the word "clone files" not "copy files" which in my book are 2 different things. And then got upset that i didnt copy the files but created new once from the templates. He treated me litterly like i never programmed. Didnt give me a few minutes to find the connections and how i arranged the methods, in the code i didnt touch in a week. It's all so frustrating.

And yes they were aware from before they hired me that i have adhd and autism

path: 0 25510092 25510324 25510881, hotness: undefined, score: 2, children: 0
LawfulPirate 3 points 2 months ago

That's awful. I hope you'll find somewhere better for you. Good luck!

path: 0 25510092 25510317, hotness: undefined, score: 3, children: 0
drmoose 2 points a month ago

Ah man sorry to hear that. Trust in your skills, now it's actually a good time to make something.

path: 0 25510092 25533016, hotness: undefined, score: 2, children: 0
DeadDigger 12 points 2 months ago

Oh networking is easy first you go to linkedin Then... You run

path: 0 25515494, hotness: undefined, score: 12, children: 0
blazeknave 12 points 2 months ago

Only computer thing I still needed to call dad about as an adult.

path: 0 25506619, hotness: undefined, score: 12, children: 0
floquant 12 points 2 months ago

tcpdump looks scary but is super neat and helpful, learn it if you haven't ;)

path: 0 25503314, hotness: undefined, score: 12, children: 13
nymnympseudonym 11 points 2 months ago

Still doesn't help with things like understanding routing and subnet masks and frame sizes and jfc how does any of this work

path: 0 25503314 25503518, hotness: undefined, score: 11, children: 2
akunohana 5 points 2 months ago

Yeah, for this, I started with this and this. With that said, it's still mostly arcane witchcraft. 🤣

path: 0 25503314 25503518 25503825, hotness: undefined, score: 5, children: 0
floquant 3 points 2 months ago

Of course not, but I've found that seeing the protocols in action and looking at real headers can be very helpful in making them click. Understanding DHCP or ARP or mDNS or BGP or whatever is much easier by inspecting a pcap than it is by reading RFCs

path: 0 25503314 25503518 25505725, hotness: undefined, score: 3, children: 0
Cheebus 8 points 2 months ago

ack

path: 0 25503314 25505644, hotness: undefined, score: 8, children: 0
ohshit604 3 points 2 months ago

As someone who understands the concept of network but has never professionally entered the field, i assume this just dumps a TCP packet to be inspected, correct?

path: 0 25503314 25504228, hotness: undefined, score: 3, children: 6
mkwt 6 points 2 months ago

The tcpdumps I've worked with can also dump UDP, ICMP, and even ARP.

path: 0 25503314 25504228 25504599, hotness: undefined, score: 6, children: 1
borari 4 points 2 months ago

Tcpdump can also capture USB traffic!

path: 0 25503314 25504228 25504599 25506232, hotness: undefined, score: 4, children: 0
floquant 3 points 2 months ago

Yes, but before I used it I assumed that its scope was pretty much limited to what you just mentioned. Instead it can operate on most protocols both above and below layer 4, and it is incredibly useful as a traffic capture tool to produce a .pcap on a remote headless machine which you can then load into Wireshark. The "dump" part is the interesting one, not the "tcp" ;)

path: 0 25503314 25504228 25505684, hotness: undefined, score: 3, children: 0
Brkdncr 2 points 2 months ago

Yes. Also learn about certs if you need to deal with encryption https etc.

path: 0 25503314 25504228 25504401, hotness: undefined, score: 2, children: 2
ohshit604 0 points 2 months ago

Thank you for the affirmation, I got reverse proxies and certificates relatively down, however I am struggling to understand headers and their purposes, I know Mozilla has great documentation regarding headers but lately I’ve gotten lazy, haha.

path: 0 25503314 25504228 25504401 25504474, hotness: undefined, score: 0, children: 1
floquant 3 points 2 months ago

HTTP headers or headers in general? For the former I suggest Burp Suite to inspect and manipulate headers to see how things change, for the latter tcpdump/wireshark, to supplement your theory reading :)

path: 0 25503314 25504228 25504401 25504474 25505763, hotness: undefined, score: 3, children: 0
akunohana 2 points 2 months ago

Thanks! I started with Wireshark, settled on tcpdump for a while and now I'm too busy learning electrical engineering to give any fucks at all. 🤣 Nah but seriously, tcpdump gave me lots of insight! :)

path: 0 25503314 25503786, hotness: undefined, score: 2, children: 1
towerful 6 points 2 months ago

Electrical engineering is just layer 1 on the OSI model.

path: 0 25503314 25503786 25504205, hotness: undefined, score: 6, children: 0
uen3 10 points 2 months ago

That's why I decided to build my first online multi-player game as an offline single-player game, and just figure out how to add the networking stuff when everything else is done- an architectural choice I definitely won't come to regret later...

path: 0 25503601, hotness: undefined, score: 10, children: 0
OwOarchist 9 points 2 months ago

I've enabled all the relevant permissions. I've disabled firewall protection. I've enabled file sharing on both sides. I've checked for connectivity to the other machine from the command line...

Why is my shared folder still not accessible!??!

path: 0 25503971, hotness: undefined, score: 9, children: 0
Scoopta 7 points 2 months ago

I may actually be the other way around. I'm probably better at networking than programming? Not sure, I love them both but do neither professionally.

path: 0 25509867, hotness: undefined, score: 7, children: 0
slacktoid 7 points 2 months ago

My confidence in disk management and partition tables is made of horse hair, single strand.

path: 0 25505433, hotness: undefined, score: 7, children: 0
pineapplelover 6 points 2 months ago

Opposite for me lol

path: 0 25506912, hotness: undefined, score: 6, children: 0
rockSlayer 5 points 2 months ago

I've been trying to remotely connect to a relational database of medical data. I've been smashing my head against a keyboard for days trying to get my fucking code to work. I can't even connect to their db on their Jupyter Spark cluster

path: 0 25504446, hotness: undefined, score: 5, children: 2
Valmond 5 points 2 months ago

Ooh medical data, bet there is some security involved that "gets in the way".

path: 0 25504446 25505246, hotness: undefined, score: 5, children: 1
rockSlayer 4 points 2 months ago

It absolutely is. I'm dealing with genetic data, so I'm on their high security tier. Right now, the signs point to some poorly documented environment variables that aren't sourced on startup for some reason

path: 0 25504446 25505246 25505318, hotness: undefined, score: 4, children: 0
programmer_humor
programmer_humor

@programming.dev

login for more options
33583
2551
7101

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn't find it funny, you're banned. Ha-ha!... For real: do not use the community for "statements". There are other places for such content. Keep it chill and funny.

go to feed...