Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Pawamoy
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
Pawamoy
9mo ago
No. When such upper bounds are respected, they contaminate other packages, because you have to add them yourself to be compatible with your dependencies. Then your dependents must add them too, etc. This brings only pain. Python 4 is not ev
2.
▲
by
Pawamoy
11mo ago
A friend shared his technique with me, and after adapting it to my needs, it works well. None of the other commonly mentioned techniques ever worked for me, because they ask for focus, which is the opposite of what my brain needs to fall as
3.
▲
by
Pawamoy
1y ago
I'll get a closer look at the code tomorrow, but maybe you can provide an answer in the meantime: how do you handle line numbers? Bash's LINENO is unreliable, contrary to Zsh's, see https://gist.github.com/paw
4.
▲
by
Pawamoy
1y ago
I follow a sponsorware strategy: public version with basic features, paid version (monthly subscription) with more features. When a funding goal is reached (dollars per month), a subset of paid features become available to everyone. Paying
5.
▲
by
Pawamoy
2y ago
Following the /llms.txt standard proposition, I create a MkDocs plugin that generates an /llms.txt file at the root of your site. So, same thing, but generates the Markdown document from your docs (possibly containing API referenc
6.
▲
Show HN: Griffe, load Python APIs, find breaking changes
(mkdocstrings.github.io)
3 points
by
Pawamoy
2y ago
|
0 comments
7.
▲
by
Pawamoy
2y ago
I maintain git-changelog, which is a similar implementation in Python (started two years before git-cliff). When I discovered git-cliff a few months ago, I was very impressed by the number of things they support. Also, being written in Rust
8.
▲
Show HN: Python) Markdown Exec, execute code blocks and render their output
(pawamoy.github.io)
2 points
by
Pawamoy
2y ago
|
0 comments
9.
▲
by
Pawamoy
4y ago
> But again they don't export a Sphinx inventory so I cannot cross-reference their units But they do! So you can! The inventory is right here: https://textual.textualize.io/objects.inv . It's generated by mkdocs
10.
▲
by
Pawamoy
4y ago
Author here (I'm a bit late!): indeed Griffe's goal is to be able to support any Python code, natively or thanks to extensions. Thanks for sharing by the way!
11.
▲
by
Pawamoy
5y ago
This is probably a bit off-topic, but I wonder if you know about the GenIDA project: https://genida.unistra.fr/ . It's basically a research website where families can register and answer questionnaires about the everyda
12.
▲
by
Pawamoy
6y ago
Why not checking the contributors instead of the forks? Just pick the most regular ones, or the ones that contributed the most (in number of PRs).
13.
▲
by
Pawamoy
6y ago
My favorite as well. I think Terminator gave me a real boost on productivity. The split feature is great. And it has a lot more good things, like increase/decrease/reset text size, resize/rotate/expand or even drag-and-d
14.
▲
by
Pawamoy
6y ago
To expand on this, yes, you can force Bash to read more lines and keep them in memory before executing them by wrapping them in blocks. These blocks can be (), {}, functions, and maybe other structures. In addition to this, you can make sur
15.
▲
by
Pawamoy
7y ago
I even have this problem with bikes. Not motor bikes, just bikes. Some of them have a front light that just blinds me. I can't determine their speed anymore, not the direction they're moving in, nor if there is something else betw
16.
▲
by
Pawamoy
7y ago
Check out Basher: https://github.com/basherpm/basher
17.
▲
by
Pawamoy
7y ago
Shameless plug: aria2p. I built an interactive interface very similar to htop to see your aria2 downloads progress. https://github.com/pawamoy/aria2p
18.
▲
by
Pawamoy
7y ago
Woops, "didn't read", will delete later
19.
▲
by
Pawamoy
7y ago
Similar to https://github.com/dumb-password-rules/dumb-password-rules
20.
▲
Ask HN: How do you find developers with same interests, for side projects?
2 points
by
Pawamoy
7y ago
|
2 comments
21.
▲
by
Pawamoy
7y ago
echo -n hello world considered wrong as well. Also Question: Write the command that you use if you finish working with the terminal and you want to log out from the current session. Your answer:logout Correct answer:exit
22.
▲
by
Pawamoy
7y ago
There's git-bug: https://github.com/MichaelMure/git-bug
23.
▲
by
Pawamoy
7y ago
I don't know if it's because I'm so used to find, but I had a bad UX with fd. This is my thought process each time I use it: "Why separating the extension from the filename? Is this a default? Can we change it? What is t
24.
▲
by
Pawamoy
7y ago
Then throw it into space, whatever the direction. The universe is so vast, even if the entirety of the earth was garbage it would be nothing compared to it ;)
25.
▲
by
Pawamoy
7y ago
But using Python is very painful as well for shell use-case. Do you really want to open files, subprocesses, and create fifo manually instead of typing "cmd1 | cmd2 > output"? Then you have Xonsh, but in my opinion, switching b
26.
▲
by
Pawamoy
7y ago
I have to say that the LINENO variable does not have the expected behavior in process substitutions, especially when using multi-line commands (with backslashes at the end, or using multi-line strings). LINENO will use the last line number
27.
▲
by
Pawamoy
7y ago
What about a simple "die" function that echoes a message and return an error code? Could be used both in scripts and in the interactive shell. It would use "exit" when SHLVL is more than 1, and "return" otherwi
28.
▲
by
Pawamoy
7y ago
I use it in combination with a trap on DEBUG signal to compute information about each interactive command (start/stop timestamps, type, working dir, return code, and more) and save it in a big log file. I can then transform the data in
29.
▲
by
Pawamoy
7y ago
But aliases are not supposed to be available in subprocesses/scripts, unless you use shopt -s expand_aliases. Even if they were, you cannot ask all your users to rewrite their scripts to use \ls instead of ls.
30.
▲
by
Pawamoy
7y ago
Is its brightness slowly increasing or do you get flashed all of a sudden? For me, the latter would immediately trigger a very painful headache for the next 4 hours!
More ›