nessex | 5 months ago | on: Redis is fast – I'll cache in Postgres
nessex's comments
nessex | 7 months ago | on: M8.7 earthquake in Western Pacific, tsunami warning issued
So saying it's not waves is dangerous, and saying it's not a sea level rise is dangerous. It's not useful to try and delineate between a tsunami being one of the two when it's in reality an event that consists of both.
(Ignoring that a sea level rise and a long-wavelength wave are the same thing)
nessex | 7 months ago | on: M8.7 earthquake in Western Pacific, tsunami warning issued
nessex | 7 months ago | on: M8.7 earthquake in Western Pacific, tsunami warning issued
The news mentioned a previous similar event where the largest wave was 4 hours later.
nessex | 7 months ago | on: M8.7 earthquake in Western Pacific, tsunami warning issued
Waves can get bigger due to earthquakes not being instantaneous or necessarily a single movement, due to amplification by geography, by reflections, by aftershocks, and many other things. The news is suggesting waves lasted about a day for a previous event in a similar area.
nessex | 1 year ago | on: Apple says it will add 20k jobs, spend $500B, produce AI servers in US
Being able to chat casually with low latency, correct yourself, switch languages mid-sentence, incorporate context throughout a back-and-forth conversation etc. turns talking to these kinds of systems from a painful chore into something that can actually add value.
nessex | 2 years ago | on: How Tokyo became an anti-car paradise
This is a bit of a stretch. There are cars everywhere you go in Tokyo, it's pretty well set up for driving given the size and population. That said, I've lived here without a license for years, and rarely had the need to hop into any cars. Speed limits are generally low, and lights are everywhere, which often makes the train or sometimes even a bike a faster option than a car or a bus.
It's only when you have multiple connections in your route or when you get well outside the city that you start to see consistent benefit from a car.
One reason it's so easy to get by without a car in most of Tokyo is that the shops and attractions are distributed well. Zoning means there are tiny shops everywhere, and the bigger shops are present at many of the train stations in the city. You are pretty much always within walking distance of everything essential. One more reason is that the postal system is excellent. If you order something from Amazon, you'll receive it about 24 hours later in most parts of Tokyo. Who needs a car when you pick up everything essential on a 10 minute walk from your house, and everything you want will be at your door tomorrow?
nessex | 2 years ago | on: How Tokyo became an anti-car paradise
Also, there are plenty of terraces to have a nice coffee on. The difficult thing in Tokyo is you need to search in advance for what you want. It's so crammed full of options, that you might never realize all the interesting things you're walking past. It's a very three-dimensional city, there's stuff hidden everywhere.
nessex | 3 years ago | on: We updated our RSA SSH host key
github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
You can search for this in your codebases, hosts etc. to see if there are any areas that need updating. The new value is linked from the blog post, you can find it here:
https://docs.github.com/en/authentication/keeping-your-accou...[1] https://github.blog/changelog/2022-01-18-githubs-ssh-host-ke...
nessex | 4 years ago | on: Resource efficient Thread Pools with Zig
[1] https://github.com/kprotty/zap/blob/blog/benchmarks/rust/ray...
nessex | 4 years ago | on: Scaleway announces measures against abusive Chia plotting and farming
nessex | 4 years ago | on: I’ve had the same supper for 10 years
Living in Japan now, I had a few months with a padded mat + quilt on the floor as is tradition (and a damn cheap one), but upgraded to a mattress on the floor because the floor was too cold in winter as you mentioned.
There's as much to be gained from taking stuff away that isn't useful, as there is from adding useful stuff to your life.
nessex | 4 years ago | on: I’ve had the same supper for 10 years
There are so many better things to spend time on than the mundane parts of life.
nessex | 4 years ago | on: I’ve had the same supper for 10 years
nessex | 4 years ago | on: I’ve had the same supper for 10 years
nessex | 4 years ago | on: I’ve had the same supper for 10 years
The index fund investing with scheduled transfers is exactly what I meant by automated financial services. I probably micro-manage it a little too much right now for no real benefit.
nessex | 4 years ago | on: I’ve had the same supper for 10 years
I see a lot of comments that seem to see all the things you miss out on in this situation. But in my mind, it frees up a lot of mental effort, time and stress. If I ever get bored I can go to a restaurant and eat something wild and it will be all the more exciting given I don't optimize for excitement or luxury in my everyday steady-state.
When Soylent came out I was super excited about this idea. Don't think about three meals a day that you normally fuss over, and instead have two predictable, quick meals and optimize to make the third one amazing. Soylent was OK, and DIY soylent offered some hope too. The third meal WAS always amazing, in a relative sense, and tasted better somehow than when I had the same thing before this diet. Unfortunately liquid diets are just not satisfying to me and so frozen meals won out.
I'd love to find other areas of my life that can be similarly optimized. I have hope for bill management services to take the annoyance out of juggling payments etc., and roboinvestors or similar automated financial services. Doing these things manually offers no excitement and no added value beyond the transitively provided service so I don't think they should take up my life.
The amount of time wasted across the whole human population on things like preparing meals, choosing outfits and managing everyday responsibilities must be huge and that is all time that could be spent doing other exciting or valuable things.
nessex | 4 years ago | on: Dave Herman’s contributions to Rust
It is absolutely apples to oranges, but if you just care about the everyday local workflow and ability to iterate and test, it's close enough most of the time to not be much of a problem in either case.
I'm sure this experience isn't guaranteed for all codebases, and it certainly helps that I make heavy use of crates, which would minimize the work required during incremental compilation. Though I'm not actively going out of my way to optimize for incremental compilation really, beyond the config linked above.
nessex | 4 years ago | on: Dave Herman’s contributions to Rust
[1] https://bevyengine.org/learn/book/getting-started/setup/#ena...
nessex | 4 years ago | on: Fines up to $66k or five years prison for Australians returning home from India
- There is an income test for permanent residency, which is required for most pathways to citizenship. Apart from family-stream visas which require a direct relationship with an Australian citizen, most visas eligible for permanent residency are work-related and you won't get one of those without an income test[1].
- There is an employment test, as above
- There is a language test, see the section on Language Ability[2], this has been a significant bottleneck for personal friends who speak English perfectly well
- Student visas don't make you eligible for permanent residency, let alone citizenship[2]
- Australia's community values explicitly state that dual/multiple citizenship doesn't exempt you from being Australian[3]
- Australia's pathways to citizenship (via PR, work visa etc.) are some of the most expensive and time-consuming in the world
[1] https://immi.homeaffairs.gov.au/visas/permanent-resident/vis...
[2] https://immi.homeaffairs.gov.au/citizenship/become-a-citizen...
[3] https://immi.homeaffairs.gov.au/citizenship-subsite/Pages/Le...
In that sense, seeing if the latency impact of postgres is tolerable is pretty reasonable. You may be able to get away with postgres putting things on disk (yes, redis can too), and only paying the overhead cost of allocating sufficient excess RAM to one pod rather than two.
But if making tradeoffs like that, for a low-traffic service in a small homelab, I do wonder if you even need a remote cache. It's always worth considering if you can just have the web server keep it's own cache in-memory or even on-disk. If using go like in the article, you'd likely only need a map and a mutex. That'd be an order of magnitude faster, and be even less to manage... Of course it's not persistent, but then neither was Redis (excl. across web server restarts).