Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pletnes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
301.
▲
by
pletnes
4y ago
Since the gzip’ed file is larger, it might well be slower since more IO is required. Depends on the case in question, obviously.
302.
▲
by
pletnes
4y ago
Yes, say you’ve got imaging data in 3 (or higher) dimensions as numpy arrays and want to run some sort of algorithm on multiple cores/machines. Could be both for data analytics and simulations. dask.bag has generic parallel processing
303.
▲
by
pletnes
4y ago
I actually thought polars’ lazy api would allow for out-of-ram computation? Also dask is more flexible than spark, since it lets you deal with numpy arrays and arbitrary objects better than spark can.
304.
▲
by
pletnes
4y ago
Not in managed kubernetes / container service cloud thing. And on docker desktop on mac/win it’s at least some hassle to get into that hidden VM (but let me know if I’m wrong) On linux-no-vm-bs it’s fine, sure!
305.
▲
by
pletnes
4y ago
I kinda «never» use strace, even after learning about it «annoyingly late». I find myself often in a container which has zero tools / no access to run strace/perf/… or on a win10/mac laptop with no strace. Would be great
306.
▲
by
pletnes
4y ago
Training in production, yes. Developing locally is still a thing for many reasons. More importantly, inference is more «sports car» - you want the app to stay interactive!
307.
▲
by
pletnes
4y ago
Fortran also has «default» / no intent. This is somehow different from inout.
308.
▲
by
pletnes
4y ago
Would you care to mention such a book? In the unlikely event that I ever encounter an individual that would need it.
309.
▲
by
pletnes
4y ago
I’d just like to give miniflux a mention. Web-based, self-hosted or SaaS. Available and synced across devices, no fluff, great UX / UI in my book. Not as snappy as some desktop keyboard driven ones, but I love it.
310.
▲
by
pletnes
4y ago
Sure, I didn’t intend to claim that. It’s just a hassle for me to compile my own C code, which I’d have to do if binaries weren’t bundled. That’s why anaconda python took off on windows - it’s hard work to compile scipy on windows!
311.
▲
by
pletnes
4y ago
Most of the libraries I use include compiled C/C++/Fortran/Rust code. Pandas, scipy, scikit-learn, … if I were limited to pure-python libraries, I would probably rather swap languages, or at least package manager, at great in
312.
▲
by
pletnes
4y ago
Pycharm and VS both have free / hobby versions that is, arguably, of high quality.
313.
▲
by
pletnes
4y ago
That’s what JVM promised! They just made Java so there would be at least one familiar-looking (to C++ devs) language for it. Indeed, there are quite a few JVM languages out there, just not as many as some had hoped in 1995.
314.
▲
by
pletnes
4y ago
I’d recommend Power Toys for that. AHK is cool but better for scripts and automations. Power Toys has lots of other neat functions and support by MS.
315.
▲
by
pletnes
4y ago
Some things are there, but real tedious, yes. I haven’t found something convenient and if you’re not root, some of the useful things are inaccessible.
316.
▲
by
pletnes
4y ago
I know about some of these tricks. However, containers are popular and typically don’t have the tools installed, and you can’t necessarily sudo either. What do people replace these tricks with, in some cloud container or k8s pods?
317.
▲
by
pletnes
4y ago
Absolutely. I think it depends on ruby, too, which is unusual. It’s anyway got some good ideas - declarative config files, etc.
318.
▲
by
pletnes
4y ago
Did you check out tmuxinator? Sounds like you reinvented it, cool, but maybe there’s some inspiration to be had.
319.
▲
by
pletnes
4y ago
Having spent tons of time in jupyter notebooks, I can tell you one thing - loading data and training ML models is not free. Keeping a running system/repl/notebook has immense value.
320.
▲
by
pletnes
4y ago
Data dumps and exports between systems. REST APIs, databases, that sort of thing. CSV is the most common utf8/ascii option.
321.
▲
by
pletnes
4y ago
I agree, mostly. But since when isn’t it obvious that posting data with a browser will send that data somewhere? And the users here are (from what I can tell) developers . I think this is a cool tool for public data and obviously I can’t p
322.
▲
by
pletnes
4y ago
I disagree, pick an interpreted language that doesn’t need compilers or other complicated setup. Python, javascript, something where there’s little friction to getting started, and which has a REPL. Pick a language that a friend or colleagu
323.
▲
by
pletnes
4y ago
Often true, but since many a corporation now prioritizes wifi or stops deploying ethernet to avoid the cost, AND wifi keeps getting better, the lines have crossed for me. Oh and I need a USB-C to ethernet dongle. Oh, and a cable. TL;DR for
324.
▲
by
pletnes
4y ago
Sqlite is in python’s stdlib, so how can this be an issue? Was there no local filesystem whatsoever?
325.
▲
by
pletnes
4y ago
I’m at 15 soon.
326.
▲
by
pletnes
4y ago
AC voltage can be changed up/down cheaply by making a couple of (relatively) simple wire coils. Also AC engines are simple, compact and reliable. Recall that the choice of AC was also taken over 100 years ago, before any electronics we
327.
▲
by
pletnes
4y ago
+1 for miniflux! It’s great for low-volume, high-quality blogs. It’s got features to keep track of more frequent updates too, if you can be bothered to categorize them.
328.
▲
by
pletnes
4y ago
Fancy IDEs perform code analysis and thus if you feed them something malicious I guess it’s feasible to run a shell command or similar. By definition, IDEs have to do that to compile code, run linters etc.
329.
▲
by
pletnes
4y ago
CI/CD servers, dev laptops etc could have more privileges than the production machines. For instance.
330.
▲
by
pletnes
4y ago
I seem to recall that a map refresh would be similarly priced to just buying a new one. The device was probably sold as a loss leader. Back then the devices were super nice, I recall thinking, but the business model doesn’t make any sense n
More ›