Hacker Newsnew | past | comments | ask | show | jobs | submit | rtpg's commentslogin

I’ve used freezetime (Python) a decent amount and have experienced some very very very funny flakes due to it.

- Sometimes your test code expects time to be moving forward

- sometimes your code might store classes into a hashmap for caching, and the cache might be built before the freeze time class override kicks in

- sometimes it happens after you have patched the classes and now your cache is weirdly poisoned

- sometimes some serialization code really cares about the exact class used

- sometimes test code acts really weird if time stops moving forward (when people use freezetime frozen=true). Selenium timeouts never clearing was funny

- sometimes your code gets a hold of the unpatched date clsss through silliness but only in one spot

Fun times.

The nicest thing is being able to just pass in a “now” parameter in things that care about time.


there is something bitterly ironic about iPods (and their "sync" system to basically disallow arbitrary loading and sharing of music and "just" dropping music onto it) being now considered an example of an open device.

I don't believe there are residency requirements to ownership so the people doing that do not need to go through this flow at all. Just an entirely separate issue, though it might be tackled.

I do have the impression Tokyo is getting similar dynamics to the rest of the world on this front: builders don't care where the money is coming from and so if money from outside the country can get buildings built they're happy.

A friend of mine moved into a sold-out Yokohama tower mansion recently... and despite the bike and car parking being fully booked even more than 6 months in it was _quite_ empty. I have a feeling a lot of people are buying into the market expecting to get easy rental money and not really seeing it.


But if it's empty then it's not rented out, so why the whole exercise? Park their money?

I don't know how verifiable it is, but the general narrative has been a lot is Chinese parking their money outside the reach of the CCP. I've never quite understood the mechanics of this though.

basically, yes.

the chinese government owns all land and all banks. they snap their fingers and you have nothing.

you put it into japanese, usa, canadian housing, etc. etc. under a company flagged in bermuda and you're covered.


Apparently they’re listed but people aren’t biting? Though this was a while back so maybe things have changed

If its any solace the screen is very good and the build quality is very high. You also just get a good set of games "for free" as part of the system.

I do think it's beyond "impulse buy" for sure, though.


this has been my sort of big tent alignment with AI people. If I'm getting good CLI tooling that _actually works_ (or fixes to existing ones that have been busted forever) then I'm pretty happy.

Things that make systems more understandable to the LLMs ... usually make things more understandable for humans as well. Usually.

The biggest issue I've found is that vibed up tooling tends to be pretty bad at having the right kind of "sense" for what makes good CLI UX. So you still have awkward argument structures or naming. Better than nothing though


Its like major cities repairing their roads to incentivize autonomous vehicles to operate there. Win win for everyone.

Apart from pedestrians.

It never made sense to me why cars and pedestrians need to share the same spaces. Why can't we have more efficient walking routes that are away from cars?

Because cars took over the streets from pedestrians between 1900 and 1930 and no one noticed.

Hopefully when petrol hits $10 a gallon in the next few months more of the world will think about banning cars from high density areas.


Its already over $12 per gallon in Singapore. Let's see what happens.

Yes, we can do that by banning leisure cars trips from all dense areas.

What's that you say? Drivers are a major and rich political force and they will block such decisions?


if you have roads shared with pedestrians and cars (and bikes!) you can build denser cities.

I lived real downtown in Tokyo and my street was like "1.5" lanes wide (if cars were coming in both directions one basically needs to pull over and stop). I could just walk in the middle of the street. There was no sidewalk. No street parking of course. Cars would drive down at 15km/h or whatever, and slow to a crawl if people were in the street.

Straight lines are efficient walking routes, and ... well... that might involve just crossing the street directly! Every layer of grade separation gets in the way of that.

End result of all of this is less pavement to maintain, slower drivers (-> safer!), good walking and cycling conditions, etc etc etc.


Any textbooks or resources on getting better at naming things?

The Programmers Brain book was my go to


The Design of Everyday Things.

The conclusion I drew from that book is that I shouldn't be naming things.


Was kinda curious about the pricing and honestly the pricing[0] seems like one digit less than I expected. 10k JPY for the number, then 1k JPY per some of the various options (stuff like routing seems to be literally "we set up a phone tree and at the end of the phone tree we just dial a number you give us")

So it sounds like in the end you need to pay 10k JPY per queue + an extra bit of money to wire it all together. Maybe with Twilio you can set up something similarly fire-and-forget but "I explain to Docomo once how to set up my phone tree" sounds nicer than "I set up a twilio... thingy".

I'm sure somebody out there has at least considered being the layer over Twilio that just offers some of these straightforward services... but... toll-free numbers on Twilio cost 27 cents a minute in Japan. Sounds real close to that 33 yen.[1]

[0]: https://www.ntt.com/business/services/voice-video/freedial-n...

[1]: https://www.twilio.com/en-us/voice/pricing/jp


"jj new" is like "I'm going to make some changes", then you do "jj squash" to say "OK these look good enough to commit".

If you work this way you're "always" in a WIP state. And if you switch to another spot you won't lose your work, cuz it's persisted.

The end result if you work like this is you don't need stashing, since you get "free" stashing in your commit tree, which is more likely what people want (and if it's not... rebasing is easy so just move the node/`jj duplicate` it!)

`jj edit` exists but I think it's just not what people want in the default case at all. In exchange: rebasing "just works", stashing is not a thing to think about, and you don't lose your work


yeah interdiffing and being able to cherrypick in a review just there and getting it done is nice.

Perhaps a future iteration of this feature will at least allow us to do something like merge just steps of it if they can be reordered.


Is the problem here that everyone wants a different like 45% of the S3 API? Or is it that minio sucked all the oxygen out of the air in this space by being good at this, and now we need something else to show up?

Then why nobody forked minio?

Maybe nobody wants to spend effort maintaining it? I imagine it's simpler to build your own S3 alternative than maintain minio. Also nobody wants to test AGPL liability in court: https://www.reddit.com/r/minio/comments/1fnuv46/does_interac...

For me it went into the multi-node direction, where I'd use Ceph anyway (or build on-top of an existing solid distributed database) if I needed it.

Also think there is an abstraction mismatch with the object stores that store the objects with a 1:1 mapping into the file system. Obvious issues are that you only get good listing performance with '/' as delimiter and things like "keys with length up to 1024 bytes" break.


For hardware acceleration you might be interested in the remote hardware acceleration strategy...

https://jellyfin.org/docs/general/post-install/transcoding/h...

The jellyfin DB itself is unfortunately sqlite instead of being DB agnostic. Maybe you could hack together something such that only one node handles writes and everyone else handles reads... if getting multiple cheap nodes gets your more bandwidth. I have to imagine that jellyfin fairly quickly stops being in charge of the media stream directly.

But yeah I think the transcoding and the size of your data pipe is the only "hard" part. The DB read/writes themselves are going to not be an issue (I think)


The database changes late last year is laying the grounds for other database engines[1].

[1] https://jellyfin.org/posts/jellyfin-release-10.11.0/#the-lib...


If Jellyfin ever fixes the mountain of bugs from the "upgrade". They aren't even acknowledging major bugs that make Jellyfin unusable for like 20% of users.

Do not upgrade Jellyfin if you have a sizeable library. Backup first if you do.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: