Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mbwgh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
mbwgh
3y ago
Can you use something similar for lock files? For instance, I have some script which looks like this: function cleanup() { pkill -P $$ # Kill child processes. rm -f myscript.lock } trap cleanup exit lockf
62.
▲
by
mbwgh
3y ago
> Finally, while I liked the article a lot, I disagree with the premise that projects _must_ be finished. To be fair, the author admits that including maintenance, a project is never really finished. Instead, he says that a project shoul
63.
▲
by
mbwgh
3y ago
Only if you want to abstract over them at usage-site. In my case I only ever used the concrete types and converted between them at some point.
64.
▲
by
mbwgh
3y ago
A simple example I could recall from the other day is something like this: export type LinkedWorksheetsRecord = Record<WorksheetId, Record<WorksheetId, ReferenceTypeId[]>>; export type LinkedWorksheetsMap = Map<Workshee
65.
▲
by
mbwgh
3y ago
One thing that comes to mind about comments. I think writing blog posts may be hard, but writing a constructive comment is hard also. People are not good at it, and I often find myself writing something and then just give up in the middle a
66.
▲
A Practical Guide to Executive Presence
(staysaasy.com)
3 points
by
mbwgh
3y ago
|
1 comments
67.
▲
by
mbwgh
3y ago
Executive presence is defined "as a set of behaviors that will influence others to fully listen to what you say". I found this an interesting high-density read, and I think some of the advice can be applied to non-workplace situat
68.
▲
by
mbwgh
3y ago
> In German there is the saying: Wer macht, hat recht which translates to who makes is right. Complaining is simple, just shut up and do it better. There's unfortunately also the saying "Nicht geschimpft ist genug gelobt",
69.
▲
by
mbwgh
3y ago
One might argue that this feature should not even exist, since it does not add anything (except probems) on top of a normal "delete" which you can do anyway. Edit: I think I got this wrong. Most likely, this is due to some "U
70.
▲
by
mbwgh
3y ago
The part about merkle trees is not readable for me (tested on Firefox and chromium) due to a `color: white` being applied to the corresponding <code> tags. Otherwise I found this a nice writeup.
71.
▲
by
mbwgh
3y ago
Thanks for mentioning this, wasn't aware of this potential alternative to poetry (which I keep making mistakes with, since I only use it every few months or so).
72.
▲
by
mbwgh
4y ago
> Anywhere you need text written, it can generate something. > Rather than asking it a question, feed it some bullet points and watch it convert it into paragraphs. Part of me is hopeful that this will have the effect of people recogn
73.
▲
by
mbwgh
4y ago
It was hinted at for a few months on the kagi discord. People could even vote for different pricing models.
74.
▲
by
mbwgh
4y ago
See also the linked projects ( https://kanjivg.tagaini.net/projects.html ), which seem like a valuable resource. I only looked at https://www.tanoshiijapanese.com/home/ and already thought this site is j
75.
▲
by
mbwgh
4y ago
Oh boy do I have news for you: https://www.bleepingcomputer.com/news/security/vodafone-plan...
76.
▲
by
mbwgh
4y ago
Why does every "Ask HN" I see come with a grey text color? Is this a stylistic thing or do people take issue with people asking questions and downvote?
77.
▲
by
mbwgh
4y ago
The site you linked (which is great by the way, thanks) seems to already be a great starting point: https://viewsourcecode.org/snaptoken/similarTutorials.html
78.
▲
by
mbwgh
4y ago
According to the Arch Wiki though, firejail relies on blacklisting by default (although this seems to be subject to change). So if it's necessary to be careful about the defaults and to audit everything carefully etc. (i.e. if it'
79.
▲
by
mbwgh
4y ago
Boy do I feel stupid now. I have been using newsboat for almost five years now, but it never occurred to me that I could apply filtering rules for the exact use case you described. It might be a fool's errand though if the spam is not
80.
▲
by
mbwgh
4y ago
Chuckled at the "How to quit wasavi" section.
81.
▲
by
mbwgh
4y ago
I keep putting off the decision on how to store my private keys remotely in case of disaster, and this looks like a good and very pragmatic solution. Thanks for creating this! My first reaction was "why not a password-protected zip&quo
82.
▲
by
mbwgh
4y ago
Yep, I use newsboat for this.
83.
▲
by
mbwgh
4y ago
The vim-adventures game introduces a surprising number of advanced concepts I would say. I'm currently on level 12 which is about text objects, for instance.
84.
▲
by
mbwgh
4y ago
If you use `htop`, you can press `s` while hovering over the process. In addition to providing the `strace -p` functionality, you also get some rudimentary helper functionality like searching, filtering, or manually scrolling vs. tailing th
85.
▲
Rules for Weird Ideas
(dynomight.net)
94 points
by
mbwgh
4y ago
|
35 comments
86.
▲
by
mbwgh
4y ago
I had a similar brick wall moment after having written a tool to sync Google Calendar events with the `when` calendar tool ( http://www.lightandmatter.com/when/when.html ). Which is why I never published it (although I h
87.
▲
by
mbwgh
5y ago
I use macros way more often than dot. With a macro I can include the movement action of getting to the correct position before the edit takes place, I'm not sure if this can be done with the dot key alone.
88.
▲
by
mbwgh
5y ago
Just implement `Num a => Num [a]`, easy.
89.
▲
by
mbwgh
5y ago
> Our $10 plan is likely going to give the user 1,000 searches. Do you intend to make the search limit a daily thing, or will it only apply over the whole month? For me at least, I have spikes in my search behavior, like when I'm wo
90.
▲
by
mbwgh
5y ago
To quote, "thanks, I needed to read this". Writing publicly visible texts like even comments is a hard thing to do for me. Even if I am sure I have something of value to add, I mull over all the variations of how to phrase my poin
More ›