HNHacker News
TopNewBestAskShowJobs

schlarpc

652 karma · joined July 29, 2014

Senior security engineer at Amazon.
submissionscomments
schlarpc··on Pi 1.0
Totally agree with this sentiment. On your plugin point, I recently did a PoC of QuickJS in wasmtime with a restrictive sandbox (10 syscalls total) for running untrusted plugin code and it was great. Took maybe 3-4 days to pull together and performed more than adequately for the kind of thing this class of software needs, with a security posture that beats pretty much anything widely deployed. When this level of engineering excellence is so cheap to achieve, we really need to bully companies that refuse to do it.
schlarpc··on LG says we're fake news [video]
That ribbon got slammed full of advertisements at some point, last I knew.
schlarpc··on Everything I own, owned
I suspect the bar will raise for some devices, but most will continue to be made cheaply and with poorly-defined requirements and threat models, and "it works" will continue be the only bar they're measured against before release.
schlarpc··on Everything I own, owned
Personal plan, but yes, my day job is being a security engineer for big tech.
schlarpc··on Everything I own, owned
I have CVP access, which removes the external refusals for Opus 5. I submitted my LinkedIn and Github and got approved in less than 10 minutes.
schlarpc··on Everything I own, owned
I understand what it does, I think the alert is annoying. It takes at least five minutes and automatically runs when the monitor is off. I’ve had it for a few years and have no burn in issues despite not doing this every eight hours on command.
schlarpc··on The best YouTube downloaders, and how Google silenced the press
Doesn’t work for livestreams as far as I know. There’s an open PR: https://github.com/yt-dlp/yt-dlp/pull/6498
schlarpc··on Mosh Mobile Shell
Interesting that it can’t reestablish the connection, as the application level protocol should support it just fine. The client should notice the GRE (game rules engine) TCP socket is broken, and reset everything. When you reconnect, the front door service should notify you to a GRE session still in progress, and the client should be able to rejoin that. At least, that’s how it works on desktop.
schlarpc··on Hidden interface controls that affect usability
And thankfully you won’t be looking at it much longer
schlarpc··on Why We're Moving on from Nix
Just wanted to say thanks for nix2container. I’ve been using it to do some deploys to AWS (ECR) and my iteration time between builds is down to single digit seconds.
schlarpc··on Deploying Containers on NixOS: A Guide
Thanks for the link, I've got a bunch of hacky code for running Immich's compose under Nix that this might be able to replace.
schlarpc··on Show HN: Building a 42-inch E-Ink frame for generative art
I have a similar display, and also use blue noise dithering. Mine is driven in the backend by a web browser, which means I was able to abuse CSS and mix-blend-mode to do the dithering for me:

  ha-card::after {
    content: "";
    background-image: url(/local/visionect-dither.png);
    background-repeat: repeat;
    position: absolute;
    height: 100%;
    width: 100%;
    display: block;
    mix-blend-mode: multiply;
  }
The dithering texture used is 128_128/LDR_LLL1_10.png from https://github.com/Calinou/free-blue-noise-textures
schlarpc··on Special-Use Domain Names
Whoa, .alt is finally a proposed standard with a real RFC number. Really happy about this, it's sorely needed in some spaces.
schlarpc··on Stable Linux mainline builds for Ubuntu
Another option for NixOS is bootspec-secureboot, I'm using it with no real complaints: https://github.com/DeterminateSystems/bootspec-secureboot
schlarpc··on The Amazon Prime Day 2023 AWS Bill
There kind of is, but it's not really made for that use case so there's a bunch of caveats (it's read/write, has a limited max number of attachments, io1/2 required, can't be the boot volume): https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volu...
schlarpc··on Downfall Attacks
https://docs.aws.amazon.com/whitepapers/latest/security-desi....
schlarpc··on You can deactivate anyone's WhatsApp account by simply sending an email
This was considered a feature back in the day; it was called MASE - Multiple Account, Same Email. I'm pretty sure you can just change the email on one of them to get out of that state.
schlarpc··on Easy HTTPS for your private networks
Somewhat related - I made a bridge server [1] that lets ACME clients use standard RFC2136 to solve DNS-01 challenges for internal names without them needing credentials for the actual DNS backend (Route 53 in my case).

[1] https://github.com/schlarpc/rfc2136_bridge/blob/main/src/rfc...

schlarpc··on Heisting $20M of Magic: The Gathering Cards in a Single Request
If anyone's interested in poking around a little bit more, here's a half-finished client for the MTG Arena wire protocol: https://gist.github.com/schlarpc/a58f2f647ee2a640baa62c23a51...

There may be something else more complete out there since I last worked on this, no idea.

schlarpc··on So this guy is now S3. All of S3
Just created it yesterday. I don't think there's as much incentive to squat on the S3 namespace like there is for domain names.
schlarpc··on AWS Support able to access any S3 object due to permission change
Kinesis Firehose uses an IAM role to deliver data, so delivery within the same account does not necessarily depend on permissions on the bucket. Removing s3:* permissions from that IAM role or adding an explicit deny statement to the bucket policy would stop the flow of data.

https://docs.aws.amazon.com/firehose/latest/dev/controlling-...

https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_p...

schlarpc··on Remote code execution vulnerability in SQLite
The Chrome update only bumped to 3.25.3, so it's likely a commit between 3.24.0 and 3.25.3:

https://chromium.googlesource.com/chromium/src/+/c368e30ae55...

schlarpc··on Molten: A modern Python (3.6+) web framework
In Python 3, all classes are "new style", so omitting the parent is the same as inheriting from `object`.
schlarpc··on The MacBook Air: A Decade’s Worth of Legacy
There's a couple recent products that hit similar niches:

GPD Pocket: https://www.indiegogo.com/projects/gpd-pocket-7-0-umpc-lapto...

GPD Win 2: https://www.indiegogo.com/projects/gpd-win-2-handheld-game-c...

Ockel Sirius A: https://www.ockelcomputers.com/sirius-a/

I have the original GPD Win, and it's a surprisingly competent PC for being roughly the size of a Nintendo 3DS XL. The keyboard is terrible for typing on, but that's kind of expected with its gaming focus.

schlarpc··on AWS Lambda Releases Go Support
Looks like the "Go support" is just running a precompiled binary that starts a TCP listener (https://github.com/aws/aws-lambda-go/blob/master/lambda/entr...), so might not be that hard to port...
schlarpc··on Show HN: An API to provision custom hostnames with SSL
And when you use a role like this, you really should use an external ID to avoid confused deputy attacks.

http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_cre...

schlarpc··on Amazon has as much office space in Seattle as the next 40 biggest employers
The relocation benefits have to be paid back (prorated) until two years, so it sounds plausible enough. For what it's worth (not much without numbers on growth and turnover), I've been with them for about 2.5 years and am around the 60th percentile for tenure among Seattle-based employees.
schlarpc··on Ask HN: What feature would you want the web to “force” next, after HTTPS?
SNI puts the DNS names you're connecting to in plaintext at the start of every TLS connection. Running your DNS over an encrypted channel won't stop someone from knowing or blocking the sites you connect to.
schlarpc··on DeepLearning10: The 8x Nvidia GTX 1080 Ti GPU Monster
There's at least one on the market: https://www.evga.com/articles/01051/evga-powerlink/
schlarpc··on AWS IAM Policies in a Nutshell
AWS uses this isolation pattern internally for just about everything, for what it's worth.
Page 1 of 2Next →