Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jzombie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
jzombie
3y ago
The website says they can be embedded in a web app, and export to a format called TensorFlow Lite. I am sure you could embed it. https://www.tensorflow.org/lite
92.
▲
by
jzombie
3y ago
I think this is more like fine tuning an existing model to recognize features you specifically intend it to, and be light enough to run locally in a browser.
93.
▲
by
jzombie
3y ago
Docker could be an alternative if virtual environments aren't your thing. I'd imagine they would provide a greater degree of isolation, too.
94.
▲
by
jzombie
3y ago
I am sure marquee could be easily polyfilled with a few lines of JavaScript.
95.
▲
by
jzombie
3y ago
Thank you. I have, actually (though not Pipsi). Some others have commented on that and lead me to them. Part of the "fun" of it was just doing it, I guess, and knowing exactly what went into it. Just a few lines of Bash, really.
96.
▲
Docker Lynx – A Browser in the Terminal
(github.com)
2 points
by
jzombie
3y ago
|
0 comments
97.
▲
by
jzombie
3y ago
I made a simple CLI wrapper that automates this, like Poetry does, except my wrapper uses pip. https://github.com/jzombie/pipper
98.
▲
Harlequin: SQL IDE for Your Terminal
(github.com)
183 points
by
jzombie
3y ago
|
85 comments
99.
▲
by
jzombie
3y ago
I agree. Simplicity is better.
100.
▲
by
jzombie
3y ago
Markdown-driven static site generators would probably fulfill a majority of those use cases as well.
101.
▲
by
jzombie
3y ago
Have heard a lot of good things about HTMX. I enjoy writing JS. It's actually my favorite programming language. But there are plenty of times when it's unnecessary.
102.
▲
by
jzombie
3y ago
Yeah, Markdown + a custom template is the approach that I've recently been taking, though using Python instead of the shell script (but the shell script would be more interesting, now that I think about it).
103.
▲
by
jzombie
3y ago
My point is that for certain types of content, especially simple blogs, relying solely on JavaScript can create unnecessary dependencies. It's not a hard stance but rather a consideration of the trade-offs between convenience and acces
104.
▲
by
jzombie
3y ago
Yeah, I think these days it is almost an art to not use JS. Saw a purely text-based blog use it the other day to generate the site nav... all in text... just links. Could not even see the text links without JS enabled.
105.
▲
by
jzombie
3y ago
Nice analogy about the stairs.
106.
▲
Ask HN: Does anyone write HTML anymore?
9 points
by
jzombie
3y ago
|
15 comments
107.
▲
by
jzombie
3y ago
If I come across a package that relies on pip, and I intend to fork it, introduce changes that might affect the requirements.txt file, and potentially submit a pull request to the original repository, I find it more straightforward to stick
108.
▲
by
jzombie
3y ago
Thanks!
109.
▲
by
jzombie
3y ago
Primary reason is that it works "out of the box" for Python packages that don't use Poetry. Of course, it could include a way to "convert" a pip-based package to Poetry, or whatnot.
110.
▲
by
jzombie
3y ago
Just checked it out. Yes, that's very similar indeed, and I'll probably draw some inspiration from it. My use case is to primarily help me understand pip/venv a bit better and do more experiments with bash.
111.
▲
by
jzombie
3y ago
Potentially! Part of my reasoning for doing this is to familiarize myself a bit with Rust/WASM, but if I get stuck, this could be an alternative.
112.
▲
by
jzombie
3y ago
I will check them out! Thanks!
113.
▲
by
jzombie
3y ago
Thanks for the feedback!
114.
▲
by
jzombie
3y ago
Poetry is indeed a great tool. It's what I use the most, and seems the easiest to set up.
115.
▲
by
jzombie
3y ago
Curious to know your thoughts on this, then: https://github.com/jzombie/pipper Coming from a "Poetry background", this makes my life easier to not have to remember the pip/venv commands.
116.
▲
by
jzombie
3y ago
I started a project, not sure if it's a good idea (but it is helpful to me), which helps to make pip/venv a little easier to work with. It's a set of Bash commands that wrap pip, basically. https://github.com/
117.
▲
by
jzombie
3y ago
I originally wasn't a huge fan of Python myself; avoided it for a number of years as much as possible, but have really grown into it lately as I've been doing experimentations in ML. Have since started using it for other projects
118.
▲
by
jzombie
3y ago
It's too bad that there are multiple package managers for Python that all have different approaches, but it is nice that there are at least ways around that, as you've mentioned (just seems like a lot of complexity to do something
119.
▲
Ask HN: Semantic Vector Searching in WASM?
5 points
by
jzombie
3y ago
|
6 comments
120.
▲
Ask HN: Pip, Poetry, etc. for Python package management?
11 points
by
jzombie
3y ago
|
24 comments
More ›