Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pletnes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
481.
▲
by
pletnes
5y ago
Not an expert at all and can’t vouch for quality but there’s at least wxpython, pyqt, and wrappers of gtk, win32 and cocoa out there. There’s also a .net interop lib which might talk to windows libraries. Many others exist, too. Most are wr
482.
▲
by
pletnes
5y ago
From a practical perspective you have to use some BLAS library. If there is a working alternative from AMD, it would be great if you share it. They did have one in the past although I don’t recall its name.
483.
▲
by
pletnes
5y ago
c4s?
484.
▲
by
pletnes
5y ago
Aluminum and silicon is very common in the earth’s crust, so I don’t believe it is correct. Maybe there’s some jargon definition at play, like astronomers referring to anything heavier than hydrogen/helium as «metal».
485.
▲
by
pletnes
5y ago
This is very true in dim lighting. Take a photo in low light and any skin imperfections are washed away. Less true in daylight conditions, which is when mobile cameras shine, in my opinion.
486.
▲
by
pletnes
5y ago
Fire safety is not great. (Many other things are. )
487.
▲
by
pletnes
5y ago
It can be configured and the default has to be something. The main problem is that it’s just too slow, at least in my experience. Even stripped of some bloat it can take >1s to get the prompt printed. Not worth it, at all.
488.
▲
by
pletnes
5y ago
It’s just-ahead-of-time compiled and no «interpreted mode» so it’s always slow to start, if I understand correctly. Really annoying, especially the first time you use it.
489.
▲
by
pletnes
5y ago
Pandas does have read/write to sqlite. You can dump a dataframe to sqlite, transform, then load from sql again. If it’s worth it depends on your case I guess.
490.
▲
by
pletnes
5y ago
I agree that it can’t replace a database, for most use cases. But an in-memory database I’ve yet to find a «real» usecase for.
491.
▲
by
pletnes
5y ago
I’ve heard this before, but what do you get over pandas, which has groupby, filtering etc? Skip one dependency? Usage in other languages than python?
492.
▲
by
pletnes
5y ago
True, although sometimes mawk is installed, as others mention. If you need gawk, put gawk in your shebang, and if nothing else the end user has a chance at understanding why they’re seeing a crash. Also it will crash on line 1, nice and lou
493.
▲
by
pletnes
5y ago
How does that work out in the at-rest frame of reference, when the particle is not moving?
494.
▲
by
pletnes
5y ago
This is the feature firefox needs to be in the default browser. All these tweaks to the top tab thingy is just a band-aid on the fire.
495.
▲
by
pletnes
5y ago
I imagine today’s stdlib converted to a pip installable package. The python.org installer would still come with it. Only software engineering types would use the stripped down version actively I’d think. Kind of like miniconda vs anaconda t
496.
▲
by
pletnes
5y ago
Repeated docker builds. Other build automation. Mobile/apps. Raspberry pis. For teaching, less overhead is better.
497.
▲
by
pletnes
5y ago
Personally, my wish for 4.x backward incompatible changes is simply to separate the core language from today’s huge stdlib. A small, lean stdlib with pip and basic text, numbers and io support would make for a smaller and more easily distri
498.
▲
by
pletnes
5y ago
License servers taught me the lesson of open source software.
499.
▲
by
pletnes
5y ago
The most expensive coffee making gadget in my house (and I’m not going to count them) is the standard drip machine which most people have (around here). The other stuff (e.g moka, french press, aeropress) which coffee enthusiasts prefer, ar
500.
▲
by
pletnes
5y ago
Even on windows xp/7, I know people running hours-to-days long simulations routinely unplugging their ethernet so the IT department / windows daemons / tooth fairy won’t randomly reboot it and make a project late.
501.
▲
by
pletnes
5y ago
The Fluent python book is fantastic for exactly that.
502.
▲
by
pletnes
5y ago
FastAPI happily supports both options in a gradual manner. Just start out sync and convert to async if you want on a per-route basis.
503.
▲
by
pletnes
5y ago
Also «open somefile.txt» can open, well, any file or directory, just as if you double clicked it. It works on multiple files, too. And possibly URLs, but I don’t have a mac anymore to check.
504.
▲
by
pletnes
5y ago
Exactly - linux was built only once in real life.
505.
▲
by
pletnes
6y ago
Wow, cool! Since rg (which is awesome) understands which programming languages map to which file suffixes, could it make sense to do per-language frequency analysis? {}[] are common in C-style languages, but much less so in lisp, python, et
506.
▲
by
pletnes
6y ago
Most people don’t have an antenna and RF transmitter capable of reaching Mars.
507.
▲
by
pletnes
6y ago
Great, then my comment was worth it! Not sure there’s anything to prevent you from foot-shooting if you’re operating on the same array. I’d expect that this is only safe to do if, as you say, arrays are not overlapping. Let me know what you
508.
▲
by
pletnes
6y ago
Numpy operations release the GIL (usually at least) so you can use a threadpool and, indeed, share memory. Just try it and you may be pleasantly surprised. Dask is great if you’re processing large amounts of data, and it recommends and supp
509.
▲
by
pletnes
6y ago
Or maybe they didn’t have whiteboard markers, only permanent ones.
510.
▲
by
pletnes
6y ago
Alright guys, so we’ve got the herd, say, over here. I’ll just sketch’em real quick on the wall so we’re on the same rock here. So at first, a couple of the youngsters chase them down the ravine, which is this crack in the rock over there.
More ›