HNHacker News
TopNewBestAskShowJobs

randlet

4,307 karma · joined May 2, 2010

http://randlet.com
submissionscomments
randlet··on Steve Wozniak: Life to me was never about accomplishment, but about happiness
2% is quite low. Most of the FIRE community would consider even 3% quite conservative.
randlet··on Steve Wozniak: Life to me was never about accomplishment, but about happiness
3 million invested means you can withdraw $100000 annual income with virtually no risk of ever going broke. That is financial independence. $10MM is way too high a bar.
randlet··on Show HN: Ten years of running every day, visualized
Talk to your Dr obviously, but you may just be running too fast. There's lots of Couch to 5k programs that start off with 30s run intervals with walking in between.

With running you need to play the long game and slowly build up your pace, total mileage, and number of weekly training days. It's hard to be patient, but it seems to be the secret to minimizing training injuries.

randlet··on Show HN: Ten years of running every day, visualized
I'm not a run streaker, but am an avid runner and if you "only" need to run a mile you really only need to find 15min in a day to keep your streak alive.
randlet··on Show HN: Ten years of running every day, visualized
A lot of runners (me included) are data nerds and record every runs date/time, distance, pace, weather, shoes worn, how we're feeling, temperature, elevation gain etc.
randlet··on Cloud Run GPUs, now GA, makes running AI workloads easier for everyone
Setting max instances effectively caps your spend right?
randlet··on Electron band structure in germanium, my ass
Yeah I want to say I remember this making the rounds (remember email forwards?) during my first year of undergrad ('99-'00) but I'm a bit fuzzy on the exact timing.
randlet··on BritCSS: Fixes CSS to use non-American English
wx got it right: https://docs.wxwidgets.org/3.2/classwx_colour.html
randlet··on Goodbye, Slopify
eMusic was so good!
randlet··on Take the pedals off the bike
Going slightly downhill can make it even easier to focus on balancing instead of propulsion.
randlet··on Django: Fix a view using a debugger with breakpoint()
Nice trick!
randlet··on Bottles of OOP now available in Python
There's already a bottle web framework [1]. It came out around the same time as Flask I think. It might have even started as a spoof of Flask even? Or vice versa?

[1] https://bottlepy.org/

randlet··on Pex: A tool for generating .pex (Python EXecutable) files, lock files and venvs
Pyinstaller can be a bit fiddly to get right initially if you have a lot of package dependencies, but other than that it works really well.
randlet··on Crokinole
> I got a lovely hand made board from Canada.

If anyone is interested Eddycrest [0] makes beautiful high quality boards also available with custom graphics. They are a very small family business producing great sewing furniture and game boards!

disclaimer: the business is near and dear to my heart as my brother is one of the carpenters/jack of all trades there.

[0] https://eddycrestco.com/collections/all-crokinole

randlet··on An e-waste dumping ground
"Emmanuel Akatire traveled about 500 miles from his home in Zorko, Ghana, to Accra, the nation’s capital, to find the only work he could — sifting through vast piles of discarded electronics to find valuable scrap metal. A week’s worth of painstaking, often dangerous work, earns him the equivalent of about 60 U.S. dollars."

I just finished The Grapes Of Wrath and this opening sentence feels like an odd futuristic parallel to that story.

randlet··on SAML: A Technical Primer
They specifically said "customers" not "users" and in my experience (healthcare) they're correct. Being able to tell customers IT departments you support SSO via SAML goes a long way towards getting a purchase approved.
randlet··on Show HN: SQL Explorer – Open-source reporting tool that Just Works
Just wanted to say thank you for all your effort on SQLExplorer, I incorporated it into our open source radiotherapy quality assurance project (https://qatrackplus.com) years ago and it's been a great addition and is used in hospitals around the world :)
randlet··on AI headphones let wearer listen to a single person in a crowd by looking at them
"One thing that the HN crowd should appreciate is just how expensive and shit hearing aids are."

Expensive, yes. My hearing aids cost ~$2500CAD each but "how shit hearing aids are" is not my experience at all. My hearing aids (Widex) are awesome! The quality of audio in normal situations is fantastic. My only real complaint is that they're not completely waterproof so I have to plan ahead a bit if I'm going to be outdoors in the rain.

randlet··on Deaf girl is cured in world first gene therapy trial
I have moderate to severe hearing loss mostly in the low frequency region from otosclerosis...I use Widex Moment 440s BTE with custom ear moulds. They sound fantastic. My only complaint is that require a necklace pendant to get Bluetooth connectivity but other than that I love them. They're expensive but worth every penny IMO.
randlet··on Tesla recalls all cybertrucks for faulty accelerator pedals
I don't know about the Cybertruck specifically, but yes, brakes are virtually always capable of providing more stopping force than the engine can oppose.
randlet··on Ask HN: C/C++ developer wanting to learn efficient Python
Ooh that ipython extension is nice. Thanks!
randlet··on How do MRI Headphones work? (2022)
If it was ferromagnetic you would likely feel it tugging as you got close to the magnet. Gold, silver, titanium are ok in MRI. However, next time, the second you realize you have metal on your person you should immediately inform the techs rather than try to just hold onto it! Aside from the risk of injury, it can be a real pain to get stuck items off the machine.
randlet··on Motorcycle Ergonomics
It's like anything, you just need to practice and build up to it. If you go out day 1 and try to ride 800km you're going to have a bad time. Being physically fit also helps a lot imo. The r1100r also doesn't have much in the way of wind protection which is tiring. An 800km day on an RS or RT would likely feel significantly easier.
randlet··on Nile: Serverless Postgres for modern SaaS
Nice! Thanks for the response.
randlet··on Nile: Serverless Postgres for modern SaaS
> We let you place the virtual tenant DB either on one multitenant Postgres DB or a dedicated Postgres.

Sounds promising, but by "a dedicated Postgres." do you mean a different server or just a different db on the same server? I'm trying to get at how the cost would change between the two solutions. Right now we can run N databases on the same Postgres server for roughly the same cost as running a single multitenant db. Switching to "server per customer" seems like it would be cost prohibitive.

randlet··on Nile: Serverless Postgres for modern SaaS
> why not deploy a postgres database for each user so co-mingling is not even possible

This is the approach we took and I think it helps with IT review docs.

randlet··on Nile: Serverless Postgres for modern SaaS
> is this how multi-tenancy is typically implemented (a per-tenant-database)?

There's a few different approaches and deciding which to use can be tough. When I was adapting a formerly single tenant Django application to a multi-tenant solution, I went for a "db-per-customer" (with many databases on a single db server) for a few main reasons:

1) Allows you to backup and restore databases on a per customer basis.

2) Helps with IT reviews if you can say "your data exists in its own DB and is not co-mingled with other customers data"

3) Implementation seemed like it was going to be simpler, especially for adapting an existing single tenant application to a multi-tenant one.

4) Makes it easy to migrate existing single tenant-db's to the multi-tenant app.

The main drawback for us I would say is that it makes managing database migrations/schema changes a bit more challenging since you now need to update N db's every time there's a schema change. This was not super difficult though.

Overall I am very happy we decided to go with a multi-db multi-tenancy solution.

randlet··on CLI tools hidden in the Python standard library
If you serve on localhost you can usually access from other devices by using the "servers" ip address. So if your desktop where you're running the server has ip 192.168.1.10 then you can go to http://192.168.1.10 in the browser of another device on the same network.
randlet··on My 24 year old HP Jornada can do things an iPhone still can't do
Poe's Law.
randlet··on Pytz: The Fastest Footgun in the West (2018)
Thank you so much for your work on zoneinfo. I spend my days working on a legacy Django app and can't wait to switch from pytz to zoneinfo. In my experience, timezones are always a struggle so your efforts to make them easier to deal with is hugely appreciated.
← PreviousPage 2 of 24Next →