emotional_soup_88

joined 3 weeks ago

Self-hatred is my single biggest obstacle. Without learning to accept who I am, or where I'm at in my journey, I can't begin to tackle my actual trauma/problems/whatever.

Wait until you write code that is self-hosting!

Definitely! But speaking of pen-testing, there are some "funny" stories about pen-testers getting temporarily apprehended and questioned by security or the authorities when communication between their employer and their client wasn't done properly. I wonder if the IT Crowd at my agency would notice if I did an unsanctioned, unauthorized port scan from my office desktop...

Yep, true story. Besides from the particulars in the GDPR that affects EU citizens, I think there is a more generalized disclaimer in the nmap manual about doing certain scans.

[–] emotional_soup_88@programming.dev 15 points 1 day ago (7 children)

In my country, simply scanning for hosts/IP addresses could get you implicated, since IP addresses are under certain circumstances regarded as PII according to the GDPR. So... stay safe xD

[–] emotional_soup_88@programming.dev 3 points 1 day ago* (last edited 1 day ago)

I went to university in my home country in Europe. At first, I just wanted to pursue my passion, which was the Japanese language. I had no future plans whatsoever. While writing the thesis for my bachelor's degree, I was asked to help out the university staff with teaching some seminars. That in turn made me realize that I love working with people, that I love teaching and that becoming a Japanese teacher would simply give me the best of both worlds. That realization led me to applying for a university in Japan, where I did my master's degree in education. Also because the prefect at the university in my country told me that a degree in education from Japan would make me eligible for a full time contract as a Japanese teacher. After returning to my country, I learned that my government had implemented a policy that made it impossible for me to get hired as an adjunct (a teacher that only teaches and whose contract doesn't require them to produce a certain amount of papers per year). I had no intentions of becoming a researcher, even part time, so I gave up on becoming a Japanese teacher.

Looking back at my choices, even though I do something completely unrelated today (probation officer and case worker), I regret nothing. Going to college connected me with the world. It made me academically smarter, emotionally more intelligent and it opened up my eyes to my ignorance and made me humble.

In my country, you are only allowed to own firearms if you are 1) a hunter or 2) an active member of a shooting club. I just registered and now I am on the wait list. 2026 will be the year I buy my first firearm ever. Some kind of pistol. Eager to learn! :)

The poor fucking people around you. You seem to know it all. 🤮

Wait... WHAT? Here I thought Pokémon are real too D: wtf...

I agree. In this particular instance, I was just unlucky that the girl didn't take it too well. Others girl have simply told me no and that was that. In fact, I kind of appreciate that she felt that she is able to talk to our boss about it. I think it shows what an open workplace culture we have.

 

37, male.

I live in Europe, born and raised here too. Never really felt genuine joy or purpose in life until I moved to Japan, where I immersed myself in the language and culture. I moved back to Europe after taking my Master's degree in education, because I had a wife at the time and it's indisputably socioeconomically easier to have a family in my country, compared to Japan. We got divorced even before she got her residence permit. We had a good run. Eight years.

I've been back to Europe for six years now. I haven't felt happiness or purpose since. The contrast is just bizarre. To the point where it feels like a bad joke. In Japan I was a student, in my own country I work full time. Sure. But come on... I know that life isn't easy and that you can't always be happy and euphoric. I would accept being in some sort of "neutral" state 75% of the time and happy 25% of the time. But I'm sad, lonely and angry 90% of the time and "neutral" 10% of the time. I was diagnosed with medium to severe depression a year ago. Go figure. The antidepressants maybe have taken some of the edges off my feelings and I have learned a lot from my therapist.

But I am still sad. The depression seems unaffected. I still project this seemingly unfounded anger and hatred towards myself. What the heck were those euphoric years in Japan?

Anyway, I have spent about €100 per therapy session for the last year. Once a week the first six months and then once every second week the last six months. I'm considering taking a break. For the money and to explore other options.

 

~~While I usually don't condone proprietary software or hardware, I have to give a thumbs up to the One UI/Samsung devs.~~

I was "playing around" with my Samsung S23 - which by the way I have debloated to the point of it feeling snappier than all the bleeding edge iPhones - I "accidentally" messed up my recovery partition. Here comes the thumbs up part.

Instead of falling into a bootloop or becoming bricked in any way, some sort of failsafe mechanism kicked in, sending the user (me) to the download mode. So instead of leaving me with a brick containing all my music, contacts, banking stuff and, well, my everyday life, it allowed me to reflash a working recovery partition, albeit not the official one but TWRP since I - in my panicked state - could not find an image of just the Samsung recovery (I would have had to reflash all of Android...).

WELL DONE programming it so that it takes you to download mode! :D

PS: If you're going to experiment, don't do it on your daily driver. Don't be like me.

 

Uninitiated noon question below.

A couple of days ago, this haprogram https://programming.dev/post/41491279

Now, during the phonecall with my ISP, the guy asked, "is your router an ASUS?" to which I answered, "yes and no, because it's sold as a router but I have it in AP mode and my actual router is OpenWrt on a Raspberry Pi." To which he replied "noice!"

How did he know the make of my access point? A few of my own thoughts are:

  1. he was referring to historical data (I've been a loyal customer of theirs for a looong time...) from a time when I was using the same topology (setup?) but without a VPN on the router, so the hostname of the AP (stored in /etc/hostname on the ASUS OS/firmware ?) was simply displayed on whatever software an ISP uses for troubleshooting through... an ARP? But aren't ARPs limited to a LAN/they cannot resolve beyond a hop? Or perhaps a variant of DNS? How indeed do hostnames transmit? Are they in the IP header by default?
  2. as in 1 above, but he actively used nmap or some other recog program
  3. as in 1 above but from a time when I was in fact using the ASUS machine as a router
  4. my VPN is "leaking" - not likely, because all my traffic either goes through the wireguard interface on OpenWrt/RPi, or it doesn't go anywhere...

If 1, 2 or 3: why do they keep historical data on me? Is it praxis?

 

EDIT: Got an email from my ISP saying "the fiber owner has resolved your issue, we are closing the ticket." I immediately called my ISP out of curiosity, since they earlier had told me that they need to change my ONT for me to get my full speed. Well, it turns out, the fiber owner (don't know the English word for them) can manage speed per port on the ONT. Sic. So for some reason, they had limited the speed to 100 Mbps.

I purchased a 1 Gbps down/up connection and noticed that I was consistently getting 95 Mbit/s down/up, regardless of hardware configuration (router, no router, switch, no switch, connecting directly to the ONT, cat 6/6a cables, etc) and regardless of software configuration (VPN on/off, firewall on/off, OS Linux/Android, driver updates, etc).

When nothing seemed to help on my end, I finally called my ISP. They could confirm that my ONT is a decade old and that they can see that each port only allows for 100 Mbit/s down/up.

I went through these steps before finally testing a direct connection to the ONT which finally made me call the ISP.

The ISP is going to replace the ONT for free.

 

Please excuse - and do not hesitate to point out - any violation against etiquette that I might be committing here... I am new here.

I started to learn C a few months ago as a hobby as part of a bigger project, namely to learn about computers in general. I have had so much fun reading Code - The Hidden Language of Computer Hardware and Software by Charles Petzold. But that's another story...

I was about to buy a few new SSDs and needed to do some budgeting. Instead of using my phone's calculator, I decided to try to write a calculating program in C, because I hadn't touched programming for some weeks or months because life and I wanted to see if my knowledge had matured some.

The goal was to have it do the four standard arithmetics and also save the last result in a variable, which I just called "memory" for lack of bette phrasing on my part. Maybe next week I'll figure out how to make it possible to use the value saved in memory instead of having to type a number.

I welcome any constructive criticism on how and why this code is up to code or not(sorry...), if it can be improved and how or even if it's just garbage and why that is. I am just proud that it worked without gcc throwing any errors.

#include <stdio.h>

int main(void) {

        int num1 = 0;
        int num2 = 0;
        int choice = 0;
        int memory = 0;

        printf("Welcome to the Calculator of the century!\n\n");

        while (1) {
                printf("What would you like to do?\n\n");
                printf("(1) Add two numbers\n(2) Subtract two numbers\n(3) Multiply two numbers\n(4) Divide two numbers\n(5) Show memory\n(6) Exit\n\n");
                printf("Enter 1, 2, 3, 4, 5 or 6: ");
                scanf("%d", &choice);

                if (choice >= 6 || choice < 1) break;

                if (choice == 5) {
                        printf("\n%d in memory.\n\n", memory);
                } else if (choice < 5 || choice > 0) {
                        printf("\nEnter the first number: ");
                        scanf("%d", &num1);
                        printf("Enter the second number: ");
                        scanf("%d", &num2);
                }

                if (choice == 1) {
                        printf("\nThe sum of %d and %d is %d\n\n", num1, num2, num1 + num2);
                        memory = num1 + num2;
                } else if (choice == 2) {
                        printf("\nThe difference of %d and %d is %d\n\n", num1, num2, num1 - num2);
                        memory = num1 - num2;
                } else if (choice == 3) {
                        printf("\nThe product of %d and %d is %d\n\n", num1, num2, num1 * num2);
                        memory = num1 * num2;
                } else if (choice == 4) {
                        printf("\nThe quotient of %d and %d is %d\n\n", num1, num2, num1 / num2);
                        memory = num1 / num2;
                }
        }

        printf("\nWe hope to see you soon again!\n");
        return 0;
}
view more: next ›