• 0 Posts
  • 16 Comments
Joined 2 years ago
cake
Cake day: July 1st, 2023

help-circle

  • Limonene@lemmy.worldtoMemes@lemmy.mlRednote right now
    link
    fedilink
    arrow-up
    8
    arrow-down
    5
    ·
    2 months ago

    I’ve been to China. VPN access requires jumping through insane hoops and disguising your traffic as different traffic. Tor is blocked. Most commercial VPNs are IP blocked. HTTPS proxy or HTTP proxy over SSH tunnel gets blocked very quickly due to traffic analysis.






  • I wonder if this was from Milwaukee. There used to be a crazy guy in Milwaukee that drove around with a car like this, with writing all over it, and the handwriting was just like this. It also had a busted loudspeaker on the top, playing a fried voice that you couldn’t understand.

    Most of the stuff seemed to be about abortion conspiracy theories.


  • Software engineer here. I find the petition to be very specific, and totally feasible.

    Anyway, this isn’t a true referendum where its text would become immediate law as soon as it passes. It’s a petition that would be presented to legislators who would write the actual law. The petition doesn’t need to be written in legalese.

    (Also: if the customer paid them even one cent, then they DO owe the customer something. Also: They should be forced to release the server software when they shut down the servers.)


  • Looks like this program is really old. It appears to be designed for a 32-bit system, the way it casts between unsigned int and pointers.

    unsigned int is probably 32-bit even on your 64-bit system, so you’re only printing half the pointer with the printf, and only scanning half the pointer with the scanf. The correct data type to be using for this is uintptr_t , which is the same as uint32_t on a 32-bit system, and the same as uint64_t on a 64-bit system.

    Try changing the type of addr to uintptr_t , and change lines 14-17 to this:

    	printf("Address of main function: %p\n", (void *) &main);
    	printf("Address of addr variable: %p\n", (void *) &addr);
    	printf("\nEnter a (hex) address: ");
    	scanf("%p", &addr);
    

    You may have to include <stdint.h> . These changes should make the code portable to any 32-bit or 64-bit architecture.