HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mathisonturing

no profile record

comments

mathisonturing
·il y a 4 ans·discuss
that's not final though, like val in Kotlin
mathisonturing
·il y a 4 ans·discuss
> batching multiple transactions into IO blocks where feasible. If your average transaction is substantially smaller than the IO block size, then you are probably leaving a lot of throughput on the table.

Could you expand on this? A quick Google search didn't help. Link to an article or a brief explanation would be nice!
mathisonturing
·il y a 4 ans·discuss
Android has app system level options in the settings to disable WiFi/mobile data.

I tend to use that, and use Netguard as a fallback because the latter has an off by default config incase I forget to disable it for new apps.

Netguard on its own is insufficient because sometimes you'd need to use an actual VPN (which turns off Netguard)
mathisonturing
·il y a 4 ans·discuss
> everyone has spent the last twenty years getting really upset about it

Could you expand on this?
mathisonturing
·il y a 4 ans·discuss
Forget about DataClasses, TypedDict etc. Can't you achieve the same in python with a class and a dict? Is there a difference, other than perhaps being overloaded with options?