Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aragilar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
661.
▲
by
aragilar
3y ago
The first thing you should do is profile the code (py-spy is my preferred option) and see if there are any obvious hotspots. Then I'd actually look at the code, and understand what the structure is. For example, are you making lots of
662.
▲
by
aragilar
3y ago
One could flip that question around: given there's all these fast C/C++/Fortran libraries, why do we have all these scripting languages? The answer usually is there's a bunch of IO/parsing/configuration that we
663.
▲
by
aragilar
3y ago
And you don't think there might be a reason for all that (and that reason might correlate with people being happy to get one over them)?
664.
▲
by
aragilar
3y ago
Some platforms seem to require a large amount of effort to ship on by design (iOS being an obvious example), but if by the "web" you mean client side (server-side I agree is easier, but at some level any system where most of the w
665.
▲
by
aragilar
3y ago
But do you have users running their code on your system? I also run a few ARM SOCs, but I don't let random people run code on them.
666.
▲
by
aragilar
3y ago
I doubt this is related to the OS, more likely user home directories (e.g. people installing conda for x86 would run into issues running on arm), or shared software outside the standard OS setup.
667.
▲
by
aragilar
3y ago
You can use QEMU to do automatic emulation, but I suspect that's not common. Likely, the binaries are not from the OS, but from users/for users which run on different machines (and more likely than not NFS mounted across the syste
668.
▲
by
aragilar
3y ago
It's not on my desktop (not installable via my distro), not on my laptop (same), not on my router (same, and it's a completely different one!), not on my phone, not on any of the servers I interact with (and again, not installable
669.
▲
by
aragilar
3y ago
Most home routers have < 16MB of space.
670.
▲
by
aragilar
3y ago
But is micropython installed on my router (POSIX shell is)?
671.
▲
by
aragilar
3y ago
https://en.wikipedia.org/wiki/Apache_Spark right? My understanding was it was built on Hadoop ( https://en.wikipedia.org/wiki/Apache_Hadoop ) infrastructure.
672.
▲
by
aragilar
3y ago
That seems to be the status of the whole hadoop ecosystem unfortunately (we're switching away from it at work).
673.
▲
by
aragilar
3y ago
Which pickle version did you use (usually the default is relatively old)?
674.
▲
by
aragilar
3y ago
That difference (at least in the math->numpy case) is entirely down to conversions (or at least it was when I profiled it ~7 years ago). If you're careful with types (i.e. avoiding converting from float to numpy scalar values), then
675.
▲
by
aragilar
3y ago
Those will likely cause more problems (as per https://xkcd.com/927/ ). While bootstrapping Python is a problem, it's a symptom, not a cause. The underlying cause is there is a substantial part of the ecosystem (of
676.
▲
by
aragilar
3y ago
It's probably Python 2, which won't have venv.
677.
▲
by
aragilar
3y ago
I'm curious what input method you've found for unicode maths, most of it seems to be input via various TeX-like DSLs (e.g. mathjax), or people just take photos (or screenshots of the TeX and paste into powerpoint...)? Also, (La)Te
678.
▲
by
aragilar
3y ago
0.79AU and 0.46AU would be the normal way to write it.
679.
▲
by
aragilar
3y ago
Is TeX that widely used for traditional publishing? The areas that TeX is good at (e.g. academic STEM) don't seem to have reduced in output, and there hasn't been a reasonable replacement in the 45(!) years since it came out, so a
680.
▲
by
aragilar
3y ago
I suspect the issue rarely is the language itself changing, but the tooling around it (in the JS case: bundlers, minifiers, polyfills etc.). I think JS/TS the language is good enough, it's really taking the code that's been w
681.
▲
by
aragilar
3y ago
Not here, and the majority of ISPs have no real interest in IPv6 unfortunately.
682.
▲
by
aragilar
3y ago
I'm not sure how robust that support is though: https://discuss.python.org/t/requiring-compilers-c11-standar...
683.
▲
by
aragilar
3y ago
They're probably running lxd (which is only packaged for snap as far as I know), lxd is controlled by the "lxc" command (which isn't part of lxc...).
684.
▲
by
aragilar
3y ago
The "lxc" command runs lxd, you need to run "lxc-'command'" for actual lxc.
685.
▲
by
aragilar
3y ago
Is this a desktop/laptop? You can always run unstable if you think stable is too old (I run unstable on my dev systems, and stable on servers/anything I want to setup and let run). FYI, if you use a Ubuntu LTS release, then unless
686.
▲
by
aragilar
3y ago
But that wouldn't change needing to support an older gcc, nor change the "no breaking userspace" rule. CI won't run on every platform (nor all the different hardware that's out there). Random PRs will be just as ign
687.
▲
by
aragilar
3y ago
You assume there's code, and not an Excel sheet. More generally, who's doing the reviewing, and do they have the skillset needed (and how are they being compensated)? Additionally, are they limited to just the code provided, or ar
688.
▲
by
aragilar
3y ago
For things of sufficient complexity (e.g. maths), fixing the layout beforehand gives benefits to readers and writers of such documents. Also, receiving PDFs (over HTML) is much better for any processes which involve printing/sharing ou
689.
▲
by
aragilar
3y ago
I've played AOE4 (during the free load balance trial), and sure, it's not Age of Empires Online, that doesn't mean it's an AOE game (another example: Halo 4 and 5 may be called Halo games, it doesn't mean they are o
690.
▲
by
aragilar
3y ago
The new AOM is really buggy (c.f. the original), so "alive" probably only applies to AOE2. I'm not sure I'd call AOE4 "AOE" (yeah, it's branded as it, but so was "Age of Empires Online"), so the
More ›