Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pletnes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
211.
▲
by
pletnes
3y ago
Probably pass through while generating secondary radiation also powerful enough to leave the body. Nothing you’d notice. Might cause cancer but so could other cosmic rays or radioactive rocks you encounter day to day.
212.
▲
by
pletnes
3y ago
Yep, and size wise, busybox is <1MB and python is much larger.
213.
▲
by
pletnes
3y ago
Agree, and also you have to write a few lines of shell to get your python going (and same for node or ruby or whatever).
214.
▲
by
pletnes
3y ago
This just isn’t true. Smart TVs run some linux/android, so do car infotainment, the list goes on. Old tumble dryers, vacuum cleaners - sure.
215.
▲
by
pletnes
3y ago
It’s a nightmare for the backend developers, compared to iso-strings, in my experience.
216.
▲
by
pletnes
3y ago
I share the sentiment. Still, this is «gantt chart thinking». I bike the kids around and myself to work and the store, so I can do two things at a time. Bonus, saves $€£ and time, since there’s traffic issues when driving to work. I realize
217.
▲
by
pletnes
3y ago
Not sure about anything nogil related, but future imports already have to be the first executable statement in a file.
218.
▲
by
pletnes
3y ago
Yes! Postman is git-hostile i.e developer unfriendly.
219.
▲
by
pletnes
3y ago
You mean, just? https://github.com/casey/just
220.
▲
by
pletnes
3y ago
I see your point, but only partially. Why can’t you write code on windows today? I can, for some/most projects. Why do you then want WSL?
221.
▲
by
pletnes
3y ago
Both intellij/pycharm/… and vscode work with WSL these days. Dev tools have to adapt or die, more people seem to use WSL every day. Where I’m now, one of the blockers is the VPN/network issues mentioned here, so I imagine eve
222.
▲
by
pletnes
3y ago
I use my 15 year old Panasonic heatpump down to -20 C. Add some wood to the fire on the coldest days. Works great although the «free energy» is really low at those temperatures.
223.
▲
by
pletnes
3y ago
I’ve done image annotation for ML / computer vision. I found it extremely useful to use my first annotations to train a poor model, then use results from that to annotate new data. You get feedback on model quality as you go, and looki
224.
▲
by
pletnes
3y ago
Good points. This means you can use LLMs to create an 80% accurate dataset, then manually correct the last 20% to get all the way.
225.
▲
by
pletnes
3y ago
Python’s growth is not limited in the number of software developers, as is the case for Java or what have you. It’s used by many other professions, and it just keeps exploding.
226.
▲
by
pletnes
3y ago
To me, the hype is about big flashy use cases. The usage is like google search - scattered throughout my work week. Generate a power BI function (I don’t know the syntax at all), extract info from a strange document in english (not my mothe
227.
▲
by
pletnes
3y ago
Does this principle apply if you have one or a few values that are very common? E.g an integer column with 90% of them being 0?
228.
▲
by
pletnes
3y ago
That’s good news! Fortran has always suffered from too few online resources of good quality. No wonder people prefer other languages - I bought some used Metcalf books, but an online, searchable reference is much better. I didn’t intend to
229.
▲
by
pletnes
3y ago
You’re right. But the alternative might be bash + perl or just bash. Or none of them. Perl is anyway the first one to go.
230.
▲
by
pletnes
3y ago
Remove perl, have less security issues. Some scanning tools flag it, too. Awk is found in more places, in my experience.
231.
▲
by
pletnes
3y ago
My impression, having programmed quite a bit of Fortran, is that it’s not official at all. Also the language is maintained in a completely different way (standards Committee) so it feels off.
232.
▲
by
pletnes
3y ago
New and old Fortran is incredibly compatible. Chances are you can rewrite or refactor to add new features directly into or along the old code. If you know what you’re doing.
233.
▲
by
pletnes
3y ago
Lots of science is «big data, small but important metadata». Also «big raw data, small result data» use cases are out there. (I used to do hyperspectral stuff for a while, which lets you record tons of sensor data to get a small and neat re
234.
▲
by
pletnes
3y ago
Looks like mac only? I’m often stuck on windows. But thanks!
235.
▲
by
pletnes
3y ago
Is it super fast on large files? (Large is 1 GB+) I’ve used vim or notepad++ for those in the past but would be happy to find something faster.
236.
▲
by
pletnes
3y ago
Wait - sqlite can register python functions to be used from sqlite https://simonwillison.net/2021/Aug/6/sqlite-utils-convert/ So you could, presumably, write a python function to process json using jq, i
237.
▲
by
pletnes
3y ago
I didn’t knoe about jq.py - any big known pros/cons?
238.
▲
by
pletnes
3y ago
Sure. 3 Watts of gamma rays will do a different job. But a cell phone works in the microwave range - visible light, infrared, UV are all more dangerous - and the sun will blast you with 1 kW on a nice sunny day. Cell phones are not the prob
239.
▲
by
pletnes
3y ago
Maybe relevant - pyjq lets you jq from your python! https://pypi.org/project/pyjq/
240.
▲
by
pletnes
3y ago
Containers/docker/kubernetes and embedded systems that use e.g busybox is what I’ve seen. Also macOS (used to?) ship ancient bash versions, but there’s recent zsh so that’s mostly fine.
More ›