515 karma · joined Dec 27, 2017 (8y ago) · 421 submissions
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
For mobile apps, it takes a lot more gymnastics, and you have to use something like Charles proxy.
But once you get the API, it's very exciting and can potentially save you a lot of money in API subscriptions!
comment 6y ago · link · parent
And the tariff here is kinda rigged to make you buy data. The economics don't work out unless you subscribe to a daily data plan in addition to the voice plan.
comment 6y ago · link · parent
This. Although India has the cheapest data next to Finland, the ground reality is quite different.
I tried using 4G as my primary internet connection after COVID, and I got frustrated by "hidden" limits and random throttling from the ISP - ended up getting a fiber line.
The 4G modem was a complete waste of money.
comment 6y ago · link · parent
But there's also the problem of fragmentation in open source.
I've been using caprover from the early days, and I've seen how much work githubsaturn has put into making it really easy to use.
I think digital ocean has left a lot to be desired on their new offering, which could have been avoided, if they considered collaborating.
And ofcourse I never said digital ocean is just rsync. Just like caprover isn't just docker swarm. The whole is greater than the sum of its parts.
But their new offering is definitely inferior in terms of functionality.
comment 6y ago · link · parent
The argument of "some code won't get faster" is null, since you typically only want to use `@njit`, which ensures that you're in `nopython` mode.
I guess that's a double edged sword, in that when it says `nopython`, it really does mean no python.
This means you can only use features from the python interpreter that the numba team has re-implemented in LLVM IR.
---
IIRC `@njit` does involve an overhead in `lowering` the types from python -> LLVM when the first njit function in the call graph is invoked, but not after that.
All this means that if you use `for-loops` in nopython mode, they are guaranteed to run faster, at least in my experience.
comment 6y ago · link · parent
https://en.m.wikipedia.org/wiki/Science_and_technology_in_Is....
comment 6y ago · link · parent
Intel has has a library that lets you use pandas in numba code, so it's I feel pretty confident using it in production without breaking cpython compatibility
comment 6y ago · link · parent
Like Obviously, the sheer resources required to create a router are minuscule compared to a phone, so then who exactly will be pocketing these extra resources that I'm paying for, and why?
comment 6y ago · link · parent
I suspect its because the event loop gets blocked doing trivial things like json/csv parsing, but it could just be python's slowness.
Asyncio seems super hard to profile too..