WYGIWYG

  • 0 Posts
  • 14 Comments
Joined 5 months ago
cake
Cake day: September 24th, 2024

help-circle





  • We don’t have all the evidence.

    If he checked into the hostel with the same ID that was used to get the bus out of the city and they weren’t his identity, then there is the manifesto that may or may not have been planted in the gun that may or may not have been planted. Then there’s the manifesto in substack from before the event, well before the event.

    Together that’s probably enough for a trial.


  • Kinda, there’s a lot more play here than want you two are talking about.

    Prosecution has:

    • an online substack manifesto from well before the event and probably internet archive to prove the date.
    • A copy of or electronic records of a fake name and ID used to book a hostel in the city.
    • Maybe video of him entering that hostel
    • A copy of an or electronic records of a fake name and ID used to book travel out of the city
    • Him on video getting off the bus from New York City.
    • A likely image of him unmasked in the area and being at the scene in like (If not exact) clothing
    • They have a manifesto “found” with him self incriminating and apologizing

    Now, He’s innocent until proven guilty, But that is not to say that he doesn’t need to disprove all this mountain of evidence against him if he is going to get off based on evidential findings. You don’t have to prove your innocence, But he’s going to have to Make a shadow of down and face of overwhelming evidence.

    But honestly between you me and a couple hundred thousand of our best friends here, I suspect there’s not a chance in hell of him getting off in that way. It’s going to be jury nullification or something spectacular, or he’s getting life.




  • Ignoring the security aspect of it Bitwarden is responsible for hosting a fault tolerant, highly available web app.

    They have redundant networking, redundant servers, load balancers, redundant databases.

    While you could host this yourself to these tolerances it’s work and it’s not free.

    If you’re using your password manager to the fullest you have a different password for every resource out there. It’s more than a minor inconvenience if you get locked out of your passwords.

    Their service is dirt cheap and it’s absolutely worth every penny.


  • True, works fine.

    Then they said they didn’t log IP’s then handed over one of their users IP’s that got an activist locked up.

    There there was the bootlicking incident (it’s a paywall but you get the gist before it disappears)

    https://theintercept.com/2025/01/28/proton-mail-andy-yen-trump-republicans/

    He praised Trump publically, not a great look, but whatever, then tried to say he was not being political, while being even more political. His PR department swooped in to Reddit and started posting straw man attacks. I don’t trust their CEO at this point. If it were any other just email company, I’d be down with it, but their whole schtick is security and privacy, and apparently, they’re led by an idiot.

    If I’m taking my shit out of google, I’m not taking to some place that’s positioned to be more of the same if I can help it, and they really appear to be more of the same.




  • So, you don’t know Python at all AND you don’t know Bash, but you feel compelled to talk about how one is so much better than the other?

    1. Python has a lot of compatibility problems, you have to roll the env system and do requirements, and if your distro doesn’t have those packages available, you can’t run the script. Then you can’t always run python 2 code in python 3.

    2. Bash has error handling and try/catch.

    3. Cross platfoming a shell script to run in ba, bash in linux, wsl and mac is fairly straight forward. Worst case, if you don’t have a specific flavor of bash installed, you can always install it. You rely on the posix compliance of the OS binaries to get the job done.

    -------Bash------
    
    #!/usr/bin/env bash
    
    API_URL="https://api.example.com/data"
    
    CONNECT_TIMEOUT=5   
    MAX_TIME=10         
    
    response=$(
      curl \
        --silent \
        --write-out "\n%{http_code}" \
        --connect-timeout "$CONNECT_TIMEOUT" \
        --max-time "$MAX_TIME" \
        "$API_URL"
    )
    
    http_body=$(echo "$response" | sed '$d')        
    http_code=$(echo "$response" | tail -n1)
    
    curl_exit_code=$?
    
    if [ $curl_exit_code -ne 0 ]; then
      echo "Error: Failed to connect or timed out (curl exit code $curl_exit_code)."
      exit 1
    fi
    
    if [ -z "$http_code" ]; then
      echo "Error: No HTTP status code received. The request may have timed out or failed."
      exit 1
    fi
    
    echo "HTTP status code: $http_code"
    
    if [ "$http_code" -eq 200 ]; then
      echo "Request successful! Parsing JSON response..."
      echo "$http_body" | jq
    else
      echo "Request failed with status code $http_code. Response body:"
      echo "$http_body"
      exit 1
    fi
    
    exit 0
    
    
    -------------Python-------------
    #!/usr/bin/env python3
    
    import requests
    import sys
    
    def main():
        # API endpoint
        API_URL = "https://api.example.com/data"
    
        # Timeout (in seconds)
        TIMEOUT = 5
    
        try:
            # Make a GET request with a timeout
            response = requests.get(API_URL, timeout=TIMEOUT)
    
            # Check the HTTP status code
            if response.status_code == 200:
                # Parse the JSON response
                try:
                    data = response.json()
                    print("Request successful. Here is the parsed JSON data:")
                    print(data)
                except ValueError as e:
                    print("Error: Could not parse JSON response.", e)
                    sys.exit(1)
            else:
                # Handle non-200 status codes
                print(f"Request failed with status code {response.status_code}.")
                print("Response body:", response.text)
                sys.exit(1)
    
        except requests.exceptions.Timeout:
            print(f"Error: The request timed out after {TIMEOUT} seconds.")
            sys.exit(1)
        except requests.exceptions.RequestException as e:
            # Catch all other requests-related errors (e.g., connection error)
            print(f"Error: An error occurred while making the request: {e}")
            sys.exit(1)
    
    if __name__ == "__main__":
        main()