News for hackers. Stuff that matters.

jamesralph8555

Re:MCP Run Python on Friday April 18, 2025 @12:30AM (#43725040)
How secure is this? I tried building something similar, but it was taking too long to setup a fully virtualized solution like kata container or firecracker.
Re:Ente Auth: open-source Authy alternative for 2FA on Friday July 05, 2024 @03:47PM (#40885443)
I’ve had a really poor experience with the (open source) 2FA app Raivo on ios. Developer got bought out. Ads got added, and a bug was introduced where users lost 2fa backup. Losing 2fa access was not as bad as I expected since I stored 2fa backup codes in bitwarden notes. A lot of sites also feature email recovery. I ended up migrating totp 2fa to bitwarden and its been very convenient.
Re:The unusual economics of the Birkin handbag on Monday June 24, 2024 @07:27AM (#40774722)
This model is not unique to Hermes. Watch and car brands work the same way. Early on in these markets, you can get one of the desirable items without spending too much on undesirable items.

Some examples:

Rolex - stainless steel models are desirable and appreciate, gold models go for below msrp

Porche - Bucking the trend a bit, Porche gives you the option of paying an additional dealer markup rather than making you buy a Macan to get a GT3 RS.

Over time, this arbitrage goes to equilibrium and resellers can’t make money. It is relatively easy to get into this market so naturally it gets flooded. Profit goes to 0. Resellers also carry a risk that the item loses market value while they hold it. The only real winner here is the brand.

Re:Testing Generative AI for Circuit Board Design on Saturday June 22, 2024 @01:00AM (#40756399)
I tried GPT-4o in May and had good results asking it to generate react+tailwind components for me. It might not get things right the first time but it is generally able to respond to feedback well.
I would recommend finding a good (modern/updated) treatment center near you that at least offers LASIK and PRK, then get a consultation. They will perform tests on your eyes and let you know which procedures will work for you. Due to factors like corneal shape and thickness, you might not be eligible for LASIK which at least makes the decision simpler. From what I’ve read, outcomes are very similar between the 3 types of surgeries. I ended up going with LASIK since you can get back to work in a few days instead of a week with PRK.
Its not the pressure, but the fact water blocks radio waves. Submarines can’t get GPS signals or transmit their location. Submarines have to rely on other means such as IMUs to track their own location.
If you don’t have a Mac but have an iPhone, iOS does the same thing - if you back up to iTunes you can access the database file.
These things come with a lot of limitations, like not being able to work with 4D and larger tensors, plus the 8 bit quantization. Getting models to run on them is a real pain.
Docker is the only way to do ML. One thing I didn’t think to do before for a while was make separate docker files for each project so all of the deps are installed automatically and that has since helped tremendously.

Ask HN: Python’s Prospects in a Copiloted World

Given that models are emerging that can write code at a competent level, do you think the attractiveness of dynamically typed languages like python will diminish while statically typed languages like C++ and rust will become more popular?My thought process here is that languages like python are easy for humans to write, but hard for computers to validate. The advantages somewhat go away when...

( Read More... | 5 comments | on HN )
Re:Ask HN: Can I see your scripts? on Monday August 15, 2022 @11:09AM (#32470665)
Wrote this simple one to create gzipped tar backups and send them over ssh. A lot faster than rsync if you just need to back up a whole folder on a schedule. It requires pigz, which is a parallel gzip implementation.

Variables: $HOSTNAME - the computer hostname $TOBACKUPDIR - the local directory you want backed up $N_CORES - the number of cores you want to use for compression $REMOTEUSER - the ssh user login on the remote server $REMOTEHOST - the remote server's IP $BACKUPDIR - where you want the file to be backed up to

#!/bin/bash

bfile=`date +%F`.$HOSTNAME.tar.gz

    /usr/bin/tar cvpf - \
            # You can exclude local directories here with
            # --exclude="dir" \
            $TOBACKUPDIR | pigz -p $N_CORES | \
            ssh $REMOTEUSER@$REMOTEHOST "cat - > /$BACKUPDIR/$bfile"