Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bihla
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
bihla
4y ago
In case I can save anyone a click, there isn’t a single sentence of that article worth reading. The author simply fails to understand that BMI is a helpful indicator for population metrics, and contorts into crazy positions to fill out a “t
32.
▲
by
bihla
4y ago
Jonathan Haidt is not a random guy. I don't think you're being fair to the article or to this forum.
33.
▲
Hard is not a useful term
(andrewbihl.com)
1 points
by
bihla
5y ago
|
0 comments
34.
▲
Ask HN: Most reliable CI/CD service?
4 points
by
bihla
5y ago
|
6 comments
35.
▲
My highlighting system for reading technical content
(andrewbihl.com)
2 points
by
bihla
5y ago
|
0 comments
36.
▲
by
bihla
5y ago
Exact same thing happened with rats in Hanoi under French rule.
37.
▲
by
bihla
6y ago
I guess I see fewer under-concerned parents than I do over-concerned parents. Of course there are both.
38.
▲
by
bihla
6y ago
Children are not clay to be molded, and they are not computer systems to be planned and carried out. They are individuals. And there are no clear solutions to mental health, substance abuse, or suicide--but there are clear non-solutions lik
39.
▲
by
bihla
6y ago
So much of the "research" is not research at all. It's no surprise to see anti-vaccine sentiment run strong among Grace Manning-Devlin types.
40.
▲
by
bihla
6y ago
It's possible you're coming from a very different background than me... I can understand your point of view if your context is being raised under real impoverished conditions; I agree a parent should do anything they can to meet a
41.
▲
by
bihla
6y ago
I've recently move to using a git repo has my store for notes, and different clients for access and editing. On Desktop I use Obsidian (although most anything will do) and on mobile I use GitJournal which easily links into an existing
42.
▲
by
bihla
6y ago
> GitHub, do better. Give us the dark mode experience we deserve. Does anyone else find this to be unnecessarily abrasive? It's a really harsh note to end the post on when describing a product that many people use for free. It seems
43.
▲
by
bihla
6y ago
Tesla and Oracle have no similarity in this regard.
44.
▲
by
bihla
8y ago
Forgot to say it in the other comment but regardless of whether we proceed with this, thank you for offering to help. It means a lot to get a positive response from people, especially to the extent that individuals will contribute to the pr
45.
▲
by
bihla
8y ago
I agree, if it were entirely Perl it would have essentially no dependencies. Right now the audience is limited to those with a currently functioning Python3 environment or willing to configure one. My only concerns are: I do not know what t
46.
▲
by
bihla
8y ago
I wish I could disagree, but your point is true. Hopefully soon the python 2 vs 3 disease will be mostly cured, but right now anyone not currently using python3 is unlikely to use bsed given that the value is convenience and simplicity--a v
47.
▲
by
bihla
8y ago
Good to know this, thank you.
48.
▲
by
bihla
8y ago
The interpretation is only translating into standard Perl one-liners, and by default the execution writes to stdout instead of modifying the file. I haven't written code to actually do the text transformations. My normal workflow is to
49.
▲
by
bihla
8y ago
Perl is actually executing the text transformations. The python is a translation layer between the bsed syntax and the Perl command, so you get the performance of Perl with a very minor time cost for interpretation done in Python.
50.
▲
by
bihla
8y ago
Fair point. I mostly put those commands together to illustrate concepts. Two things you've touched on though that I haven't implemented yet: compound conditionals, and a nice way to indicated word boundaries (as opposed to the reg
51.
▲
by
bihla
8y ago
Can you elaborate? The tool doesn't require you to learn/know perl, that's just what operates under the hood. I actually chose to exclude any reference to Perl in the title, though it appears a moderator changed it.
52.
▲
by
bihla
8y ago
The python code only carries out translation into Perl. The actual execution of the text transformation is Perl, which is generally the fastest of the available tools.
53.
▲
by
bihla
8y ago
I agree. For anything longer term, I'd recommend finding the right bsed command and then using -t flag to get the Perl translation. Perl is installed by default on common operating systems.
54.
▲
by
bihla
8y ago
In my experience, Perl outperforms sed on most equivalent commands. I should do some benchmarking and add it to the documentation.
55.
▲
by
bihla
8y ago
I'd love to hear any questions or feedback. I've gotten quite a bit of use from this tool personally and have had a lot of fun making it.
56.
▲
Show HN: Bsed – Simple, English syntax on top of Perl text processing
(github.com)
178 points
by
bihla
8y ago
|
67 comments