[–] 2 points 4 hours ago (2 children)

I agree that more supply would be great and building factories can pay off. It's still very expensive though, and some banks are growing skeptical of the ballooning costs of AI-related projects.

  • source
  • parent
  • context
  • [–] 1 point 4 hours ago*

    Unfortunately there's a huge number of MySQL servers that are using latin1 charset and collation, even when storing Unicode data. Surprisingly it "works" as long as your DB client treats the data as raw bytes (ie you don't do any sort of string manipulation in MySQL), the same way that UTF-8 "works" in PHP even though native strings are just raw bytes.

    ,Obviously sorting and filtering won't take any sort of case insensitivity / case folding into account though, which is an issue.

    I hit issues with this recently at work, because for some reason all our MySQL servers still use latin1 by default. Unicode characters were getting corrupted in JSON columns, because MySQL forces them to use utf8mb4 as per the JSON spec (JSON sent between multiple systems should always be encoded as UTF-8), and mixing "real UTF-8" with "fake UTF-8" (UTF-8 in latin1) doesnt end well.

  • source
  • parent
  • context
  • [–] 5 points 4 hours ago

    One of the big four banks in Australia (Westpac) used to limit you to a password of EXACTLY 6 characters, case insensitive. Another one (NAB) required 6 to 8 characters, case insensitive, with NO special characters.

    Thankfully they've both changed these limits.

    NAB no longer has a length limit, and they're actually planning on completely removing passwords in favour of passkeys. Westpac allow up to 30 characters now.

  • source
  • parent
  • context
  • [–] 3 points 4 hours ago* (1 child)

    I bought a new Nokia E63 for AU$199 in 2009 (around US$160 at the time). I liked that phone! It had a QWERTY keyboard. Replaced it with a Samsung Galaxy S3 in 2013.

    $100 or even $200 is likely not doable for a modern touchscreen phone, unfortunately.

  • source
  • parent
  • context
  • [–] 13 points 4 hours ago (5 children)

    and the reason manufacturers aren't building many more factories is because they're extremely expensive and there's no guarantee the same demand will still exist in 5 or 10 years. What if the AI bubble bursts, the market is flooded with second-hand supply, and all the new factories aren't needed?

    Micron is building new factories in New York, and they expect the first factory there to be online by 2030 at a cost of $50 billion (which is more than their entire 2025 revenue).

  • source
  • parent
  • context
  • [–] 3 points 1 day ago

    Technically they're correct though, in a way. If every account has a password, the system isn't vulnerable.

    You're also not vulnerable if you use two factor auth, because all 2FA modules require PAM, whereas this vulnerability only exists when PAM is disabled or not installed.

  • source
  • parent
  • context
  • [–] 6 points 1 day ago* (1 child)

    Not just rootless and read-only, but distroless/chiseled too. There's no reason to have unneeded parts of an OS in your Docker containers. It should just be one app along with any libraries it needs (or just statically compile the app)

  • source
  • parent
  • context
  • [–] 23 points 1 day ago

    "passwordless" here means that the account doesn't have a password. What the person you're replying to means is that password authentication should be completely disabled in the SSH config, as that's the only way to exploit this issue.

  • source
  • parent
  • context
  • [–] 27 points 1 day ago* (last edited 1 day ago) (8 children)

    Wireguard and apps based on it (like Tailscale) don't respond at all unless the data is signed with the key of a configured peer (or with Tailscale, a system on your tailnet that passes the ACL). It's literally impossible for an outsider/attacker to detect with a port scan since it just ignores unauthenticated packets.

    The Wireguard codebase is also extremely small. The core Wireguard implementation (the version in the Linux kernel) is around 5,000 lines long, so an experienced developer can read through all the code if they dedicate a day or two to it, and understand how it works.

    For comparison, OpenVPN is around 70,000 lines of code and OpenSSH is around 150,000 lines of code. There's a huge number of features in SSH!

  • source
  • parent
  • context
  •  

    I run dnstools.ws which lets you perform DNS lookups, pings, traceroutes, etc. from 25 locations around the world. Each location is powered by a VPS running Debian, running a C# service that's compiled to native code ahead-of-time using Native AOT. It uses ~60MB RAM.

    Six of the the locations are powered by tiny "NAT VPSes" (native IPv6 with shared NAT IPv4) that only cost a few dollars a year, sponsored by various server providers. These usually have 256 MB RAM and 4-5 GB disk space.

    This is great with OpenVZ and LXC. Since they're containers that share the kernel with the host, kernel memory doesn't count towards the container's memory limit. I'm using ~75 MB RAM on those systems: ~60MB for the DNSTools worker and ~15MB for everything else (sshd, systemd, cron, rsyslogd, and unattended-upgrades). Plenty of room left.

    I also have a few KVM systems with 256 MB RAM. These are what I'm struggling with.

    Debian 13 (Trixie) increased the minimum hardware requirements from 256 MB to 512 MB RAM. It seems like this is a hard requirement - When running on a system using 256 MB RAM, the installer complains about having too little RAM, and OOMs during the installation. Even with a successful installation (e.g. upgrading from bookworm to trixie), it kernel panics on boot: "System is deadlocked on memory".

    I could try debootstrap to bootstrap a basic system, or Clonezilla to clone a working disk image over the network, but I think I'd hit the memory deadlock too.

    Does Debian have smaller kernel images for VM environments, that use less RAM? Or should I just give up on Debian for this use case?

    Does anyone have a recommendation for another distro I should use? I've been considering trying Alpine. C# does support compiling to use musl instead of glibc, so that's not an issue. I'm also not tightly-coupled to systemd and can get rid of it.

    I can mount a custom ISO on the systems, so booting from an ISO isn't an issue.

    Thanks!

    Edit: Alpine looks very promising - no issue installing it and running my app on a 256MB VM. This is probably what I'll end up using.

    view more: next ›