Skip Navigation
User banner

durinn

@emotional-soup-88.programming.dev.ap.tdpl.io

13 Posts3 Comments0 Memberships

Joined November 2026

But still the sunken stars appear \ In dark and windless Mirrormere; \ There lies his crown in water deep, \ Till Durin wakes again from sleep.

🌉 bridged from @emotional_soup_88@programming.dev by Tidepool

  • What my whole life feels like

    I ordered a MiniTools test clip to start experimenting with flashing EEPROMs. There was no information on the retailer's website regarding the width of the pins. This is what I got: image I asked MiniTools if they have any solution to this. They said "no". I then realized that this clip was probably meant for soldering. Which I haven't had the energy to learn yet. I ended up buying the expensive Pomodo one. The flashing went well.

  • Rotate VPN addresses

    Good day! Let me know if this post is not relevant to this community and I'll take it down.

    I am using a VPN provider whose IP addresses are mostly blocked by streaming services and YouTube. This is not a problem for me, since I can often just obfuscate the address with some of their proxy solutions.

    Without having any real understanding of how third party VPN providers work under the hood, my questions is, would it be possible for the VPN provider to implement an end user function, like a "vote button" or the likes, that reports when a certain address is blocked by a certain web service and then - for instance, when enough end users have reported a specific IP address as blocked - simply rotate/exchange that IP address to circumvent the blockage?

    I'd like to suggest this to my provider if it's viable at all.

  • Beginner
    C

    If we can represent true/false with 1/0, why do we need the stdbool library and boolean variables?

    I saw one example

     
    int x = 10;
    int y = 5;
    
    bool isGreater = x > y;
    
    printf("%d", isGreater);

    But I could write this

     
    int x = 10;
    int y = 5;
    
    printf("%d", x > y);

    I am a complete beginner and I have no real reason why I would or would not want to deal with boolean variables, but I want to understand their raison d'être. Edit: typo city

  • Lenovo 20L6S01Q2Y motherboard

    What is this button?

  • How did we arrive at today's common word sizes?

    Edit: this post and my questions within were poorly formulated, mostly because I made the assumption that there is a correlation between common word sizes in CPU architecture and why I couldn't find decimal to signed binary converters online that allow me to set "word size"/number of bits I want to work with. I am a complete beginner in the field of computers. I am reading Code - the hidden language of computer hardware and software by Charles Petzold (2009) and I just learned how we electronically express the logic of subtraction without using a minus sign or an extra bit to indicate positive/negative: we use two's complement (yes, I realize that the most significant bit incidentally acts as the sign bit, but we don't need an extra bit). Anyway, I experimented with trying to convert both decimal and binary values into their signed counterparts, just as an exercise. To be sure that I wasn't doing anything wrong, I wanted to double check my calculations with some "decimal to signed binary calculators" on the Internet. I was trying to express -255 in signed binary using 10 bits. I wanted to use only 10 bits because I wanted to save on resources. To express the 1000 possible values between -500 and 499, I only need 10 bits, which unsigned goes between 0 and 1023. I calculated -255 to be 1100000001 in 10-bit signed binary (because 255 is 0011111111, which you invert to get to one's complement and finally you add 1). I couldn't find any converters on the Internet that allows me to set the maximum value/length, in this case 10 bits. I found a few that are 8 bit and a few that are 16 bit, which made me think of our gaming consoles that to my knowledge evolved in increments of 8, 16, 32, 64. I understand that we use binary to express Boolean logic and arithmetics in electronics because regulating voltage to have transistors be in one of two values is consistent with the true/false values of Boolean logic and because of the technical difficulties in maintaining stable voltages in ternary and above. But why didn't I find any converters online that allow me to set the bit length? Why did the gaming consoles' maximum bit length evolve in those specific increments? Are there no processor architectures of other values than these?

  • Isn't geodata revealed when the packets leave a VPN node?

    If outgoing packets that leave a VPN node contain my endpoint's IP address - which it must, since how else would it later be routed back to me - how does the location of the VPN exit node spoof my endpoint's real location? Isn't it obvious when the receiver inspects the packets what/where the source IP is? If my endpoint's IP address is not included in the packets that exit the VPN tunnel, how then does that same node - or other nodes in case of multi hop - route the packets back to my endpoint? Are there perhaps VPN specific identifiers in the packet that only that node knows how to route back to me?

  • Speeds drop on ONT restart

    I have a 1 Gbps connection with an ISP that rents another telecommunications company's fiber. That telecom owns the ONT in my apartment. I had an electrician fix the heated floor in my bathroom a few weeks ago. He had to turn off the main breaker for safety reasons, which also cut power to the ONT. After turning the power back on, my speeds had dropped from 1 Gbps to circa 100 Mbps. I filed a ticket with my ISP, who resolved the issue by having the telecom do something at their end, they said. (Sounds software-y/configuration-y.) Yesterday, I f*cked my router (a raspberry pi with openwrt) up by flashing the latest pre-release firmware on it. I lost all connections and the Pi wouldn't recognize any of its hardware interfaces. As part or my "routine", I rebooted my devices in this order: my APs, my routers and, lastly, my ONT. After some diagnosing, I identified that the problem was indeed the new firmware on the router/Pi. But then I noticed that my speeds had dropped, so I gauged the speeds directly at the ONT and, lo and behold, they were down to 100 Mbps again. I have, yet again, filed a ticked with my ISP, waiting to hear from them now. My question, just out of curiosity, to those of you that have the knowledge/experience: what could be going on the telecom's end? Is there a correlation/plausible technical explanation between my connection speeds dropping and restarting or cutting the power to the ONT?

  • NAT vs firewall at home

    Why would I need to have software firewalls on my devices behind my NAT router at home? The topology is a basic consumer grade one: ISP -> my router (NAT) -> LAN, and vice versa.

    If NAT already obfuscates my private addresses through translation, how would a potential adversary connect to anything beyond it?

    What "good" would my public IP do for a hacker if I have no ports forwarded?

    Is a firewall a second line of defense just in case I execute malware that starts forwarding ports?

    I do have software firewalls on all my devices, but that wasn't an informed choice. I just followed the Arch Wiki's post installation guidelines.

  • Optimize for passive contribution

    I just installed and started i2pd following the Arch Wiki at https://wiki.archlinux.org/title/I2P I opened up the welcome page at 127.0.0.1:7070, which looks like this: image Are there any settings at the welcome page or tweaks that I can apply to the config file to optimize my router? All I want to do is to contribute bandwidth at the moment, not necessarily use the network myself. I have a 1 Gbps connection that never gets saturated. I saw for instance a setting called "Transit tunnels limit". Is it beneficial for peers if I increase this? Thanks in advance!

  • How did my ISP identify my AP?

    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?

  • How to efficiently troubleshoot your connection

    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.