Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pletnes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
751.
▲
by
pletnes
8y ago
AFAIK putty.exe is tiny, standalone and runs from a usb drive / dropbox directory / network folder /... and on all windows versions ever. Almost.
752.
▲
by
pletnes
8y ago
Yes! The same can be said for git-bash which uses mintty and doesn’t require you to install a new operating system (almost).
753.
▲
by
pletnes
8y ago
I think it’s great too, but a lot of the community implementations somehow mess up the color codes in practice.
754.
▲
by
pletnes
8y ago
A large part is the fact that memory access is comparatively slow. Getting the data to the core is the challenge. Most processing is so fast that the operation you want to perform is latency-limited by IO issues. Some have suggested offload
755.
▲
by
pletnes
8y ago
Black is written by python core devs AFAIK (pip install black).
756.
▲
by
pletnes
8y ago
Dask has an out-of-memory dataframe implementation. Works great! I think it might support sql queries for that matter.
757.
▲
by
pletnes
8y ago
There is threading.local. https://docs.python.org/3/library/threading.html
758.
▲
by
pletnes
8y ago
Badger.
759.
▲
by
pletnes
8y ago
Useless use of seq spotted. Seq does not exist on many systems. Bash has {0001..0500} instead. Nice writeup though.
760.
▲
by
pletnes
8y ago
Programming is much worse. In the beginning, I spent just a few hours a week programming. Today, it’s a sizeable fraction of my work week. Programming is thus a complete waste of time.
761.
▲
by
pletnes
8y ago
Just get into the habit of typing < foo bar which is then easier to edit to < foo baz | grep hamspam.
762.
▲
by
pletnes
8y ago
No surprise there. But it can be good to get an actual number, to help your data analysis. Presenting this as representative for the python community would be inappropriate, of course.
763.
▲
by
pletnes
8y ago
Snap search?
764.
▲
by
pletnes
8y ago
I just «snap install pycharm» and it shows up ready for work. Never had an issue with a snap. Can’t recall where it’s stored, but that’s easy to determine with «which». This is on ubuntu 1{6,8}.04 fwiw.
765.
▲
by
pletnes
8y ago
Make is a great tool. I mostly use it to remember repetitive tasks, like running python tests, not as a build system. Works even better for this. What annoys me deeply is that gnu make isn’t available on windows, e.g git bash.
766.
▲
by
pletnes
8y ago
What about jupyter and root instead? https://root.cern.ch/notebooks/HowTos/HowTo_ROOT-Notebooks.h... AFAIK it uses clang for parsing, which is as good a C++ parser as any.
767.
▲
by
pletnes
8y ago
Glob() is (iirc) not sorted in any way on macos. I would prefer alphanumerical sort by name as it is stable across OSs. Parallelization is optimization so I think «make it right, then make it fast» is sound advice.
768.
▲
by
pletnes
8y ago
LFS works by installing hooks. This prevents me from adding my own. Also the one-hook-only policy makes it harder to share hooks.
769.
▲
by
pletnes
8y ago
Which is my main gripe with it. Does TST do that now?
770.
▲
by
pletnes
8y ago
They did a «pilot» experiment recently but apparently decided it’s not important enough. That code is available as another extension (don’t recall the name, perhaps tabcenter).
771.
▲
by
pletnes
8y ago
Unfortunately no. I experienced it when running software signed/hashed and it just would not run. The dev told me that this was well known and that I should not use the builtin zip. Sure enough, unzipping the file with 7zip worked like
772.
▲
by
pletnes
8y ago
Note that the windows implementation of zip/unzip does not always return the original file contents after a round trip. Yes, I’ve seen it myself. That’s an even more serious bug, but it’s been there since win7 at least. I don’t trust t
773.
▲
by
pletnes
8y ago
A different perspective: there’s probably a few command line perl scripts out there that could be nice web services or perform some task in a browser. This way you don’t have to rewrite those scripts.
774.
▲
by
pletnes
8y ago
Some programming communities honor compact notation, optimization of CPU cycles or even compatibility with nonexistent hardware (see Fortran and hole punch cards). Python’s success lies at least partly in its philosophy to make easy to use
775.
▲
by
pletnes
8y ago
If the log files aren’t cleaned up, you’ll hit this issue even if you don’t run it 30k times in a minute. I ran into a very similar problem with pytest (python) creating sequentially numbered temp dir/files under /tmp on linux. Re
776.
▲
by
pletnes
8y ago
Printing requires enabling macros. Most people knee-jerk-click «enable editing» anyway.
777.
▲
by
pletnes
8y ago
Pandas uses the openpyxl module, which can both read and write. It’s quite nice and pure python, too. Pandas is more high level and gives less control but also less code.
778.
▲
by
pletnes
8y ago
In my experience, TeX needs some packaging/distribution love. Also in my experience, overleaf/sharelatex (web based) blows all of the local installation approaches out of the water. Especially with respect to collaboration with co
779.
▲
by
pletnes
8y ago
Is win10 LTSB available to anyone who wants on win10 home/pro?
780.
▲
by
pletnes
8y ago
The unholy Word/excel/powerpoint trinity is what is keeping my win10 alive at work.
More ›