Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
c-jiph
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2 ms
·
1.
▲
by
c-jiph
8mo ago
Yeah using AI to do a first stage pass seems to work well. I did something similar with Nano Banana: https://github.com/c-jiph/bitmap-to-gcode I didn't actually end up playing with it too much but the problem I fo
2.
▲
by
c-jiph
6y ago
> (To the best of my knowledge, there is as of 2020 no purely pythonic way to write one-lined try-blocks.) You can do this using contexlib. For example the following in pwk: try: { print(os.listdir("/"+s.strip())) }