HNHacker News
TopNewBestAskShowJobs

WizardClickBoy

78 karma · joined March 17, 2021

submissionscomments
WizardClickBoy··on My second year without a job
I actually laughed out loud at how different this is to the usual "be yourself and to hell with what people think" advice. Can you elaborate on why it's so important to care if people like you?
WizardClickBoy··on Ask HN: What are your most regretted tech purchases?
Hopefully stupid question but were you replacing the pen nibs? My screen has been solidly responsive for several years of heavy usage, but the fiber nibs do get worn down and need replacing every few weeks/months (by design) or the pen starts exhibiting this behaviour.

I have to admit I have also switched back to real paper for a lot of tasks but I still like the remarkable as an e-reader, and enjoy writing on it occasionally, so I wouldn't say it's a big regret.

WizardClickBoy··on Desed: Demystify and debug your sed scripts
Thanks! Gippity did suggest the xargs approach as an alternative, but I found that

find [...] - exec [...] {} +

as opposed to

find [...] - exec [...] {} \;

worked fine and was performant enough for my use-case. An example command was

find . -type f -name "*.html" -exec sed -i '' -e 's/\.\.\/\.\.\/\.\.\//\.\.\/\.\.\/\.\.\/source\//g' {} +

which took about 20s to run

WizardClickBoy··on Desed: Demystify and debug your sed scripts
It's a case of convergent evolution - I don't know where I heard it first, but I asked GPT if it minded and it said "Of course, you can call me Gippity!", so I do, because it's more fun.
WizardClickBoy··on Desed: Demystify and debug your sed scripts
Primeagen is some kind of Youtuber? I am not familiar and don't understand what you are trying to convey here.
WizardClickBoy··on Greppability is an underrated code metric
There's undoubtedly a setting but if you don't want it on all the time you can always add \c at the end of the search term, like /foo\c to denote case insensitivity
WizardClickBoy··on Desed: Demystify and debug your sed scripts
100% agree. I'm currently preparing several 10s of GBs of HTML in nested directories for static hosting via S3 and was floundering until Gippity recommended find + exec sed to me. I'm now batch fixing issues (think 'not enough "../" in 60000 relative hrefs in nested directories') with a single command rather than writing scripts and feel like a wizard.

These tools are things I've used before but always found painful and confusing. Being able to ask Gippity for detailed explanations of what is happening, in particular being able to paste a failing command and have it explain what the problem is, has been a game changer.

In general, for those of us who never had a command line wizard colleague or mentor to show what is possible, LLMs are an absolute game changer both in terms of recommending tools and showing how to use them.

WizardClickBoy··on Greppability is an underrated code metric
Also just realised while looking at the docs it works for search as well as replacement, with:

:S/textToFind

matching all of textToFind TextToFind texttofind TEXTTOFIND

But not TeXttOfFiND.

Golly!

WizardClickBoy··on Greppability is an underrated code metric
This reminds me of the substitution mode of Tim Pope's amazing vim plugin [abolish](https://github.com/tpope/vim-abolish?tab=readme-ov-file#subs...)

Basically in vim to substitute text you'd usually do something with :substitute (or :s), like:

:%s/textToSubstitute/replacementText/g

...and have to add a pattern for each differently-cased version of the text.

With the :Subvert command (or :S) you can do all three at once, while maintaining the casing for each replacement. So this:

textToSubstitute

TextToSubstitute

texttosubstitute

:%S/textToSubstitute/replacementText/g

...results in:

replacementText

ReplacementText

replacementtext

WizardClickBoy··on Mastering Ruby Code Navigation: Ruby LSP Enhancements in the First Half of 2024
Curious if you have any examples of these pains? I'm not familiar with the late Python 2 era but I've been writing Ruby for a long time and wonder if I'm doing some of these as well.
WizardClickBoy··on Ask HN: My manager is bad. Should I care?
"Nice" is a very subjective concept and can be used to describe people in both complimentary and derogatory ways. In my experience niceness and competence are in no way correlated – I have known nice people who were good at their jobs and assholes who were good at their jobs, as well as some of both who were terrible at their jobs. It is perfectly possible to be both competent and nice.

Given the choice between two persons of equal competence, where one is nice and one is not, I would be surprised if anybody chose the less nice one, all other things being equal.

I suggest continuing to be genuine, rather than focusing on "niceness", and not allowing a single comment on the internet to make you feel self-conscious about your character.

WizardClickBoy··on Tom Waits vs. Frito-Lay, Inc (2003)
The m3u link is broken but the recording of the "corn chip sermon" Waits was referring to is on the same site: http://www.tomwaitslibrary.info/audio/fritolay.mp3. I can see why he was upset, I'd fall for it.
WizardClickBoy··on Anger is eliminated with the disposal of a paper written because of provocation
I not infrequently find myself prefixing my own code review comments with some variant of "I'm mostly asking this to make myself sound smart, but..." and then usually (not always) I delete the comment. But it's not a high proportion of my total review output, assuming I'm impartial enough to tell the difference.

My point is, it definitely happens, but if it applies to _most_ PR comments I think the code review practices of your project may need improving. My experience has been that most code review comments are either seeking to impart or gain knowledge that the commenter genuinely finds useful.

WizardClickBoy··on Screen time robs average toddler of hearing 1,000 words spoken by adult a day
Pacifiers.
WizardClickBoy··on Haier hits Home Assistant plugin dev with takedown notice
My advice would be never to purchase anything from Haier, IoT or not. We had a washer drier that had to be repaired three times because of an enormous design flaw causing it to overheat to a dangerous extent. I did eventually somehow manage to persuade them to collect it, after more than a year of back and forth with their nice, hardworking and entirely powerless customer service team. After the device was collected it then took more than six months for me to get my money back. Never again.
WizardClickBoy··on Losing my son
I feel like there's a misunderstanding here of there being a choice for victims of complex trauma to make between "suffering" and "coping". It is not as binary as this and I know people to whom this advice would be not only unhelpful but actively destructive.

> What else can you even say?

Try: nothing.

WizardClickBoy··on Losing my son
Telling victims of trauma that they are "allowing something external to defeat you daily" comes perilously close to blaming the victim, doesn't it?
WizardClickBoy··on Ask HN: What's your "it's not stupid if it works" story?
I guess you're getting downvoted because this is basically video spam, but it's still clever!
WizardClickBoy··on A City on Mars: Reality kills space settlement dreams
Even if every single technological hurdle is removed the human aspect is the largest likely source of catastrophic failure IMO. A company town with ultra-limited resources and no escape? It will be a cold day in hell before I voluntarily imprison myself in such a high stakes social experiment.
WizardClickBoy··on I skipped to the ending
This sounds like an absolute nightmare and I see stories like this very frequently. Is this the "normal" experience of working at FAANG in 2023, and how long has it been like that? I have never worked for (or been tempted to apply to) any business remotely approaching that scale (currently in largest ever company, 3-400 employees total, only because my previous much smaller company was acquired) and I can't really understand why anybody would ever want to.

Surely the delta in terms of earnings at FAANG vs literally anywhere else is not worth this kind of horror – can anybody explain? Or do people just not find out until it's too late?

WizardClickBoy··on Cooking and bird safety
I have nothing to back this up with* but my understanding is that simple carbohydrates like sugar are more readily converted to bodily fat. Dietary fat is digested and processed by the body into component parts that are less readily converted into bodily fat. It's not like your body just takes fat and stores it directly in your love handles unmodified.

*Found this though: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1199523/

WizardClickBoy··on Hidden manuals: gittutorial, giteveryday, gitglossary, gitworkflow
Not useful exactly but I occasionally enjoy typing `man -a tee` into my terminal. Not even an Easter egg but it usually cheers me up (jury's out on du ./gong)
WizardClickBoy··on Ask HN: Old Folks with Unix Skills
AGUE (Aged Group of UNIX Experts)

OLD (Old Linux Devs)

SENIORS (Some Elderly 'Nix InventORS)

... Chat GPT could probably do better.

WizardClickBoy··on Show HN: Open-source Postman alternative with type safety
Any plans to add GraphQL support? Feels like it would be a great match, since in many cases you can fetch the schema directly from the URL.
WizardClickBoy··on LK-99: The live online race for a room-temperature superconductor
This month ends in about 10 hours depending on timezone, so they'd better get their skates on.
WizardClickBoy··on The first room-temperature ambient-pressure superconductor?
Holding... But I do so badly want this to be true.
WizardClickBoy··on Speed running Monkey Island
Maniac Mansion?
WizardClickBoy··on Show HN: Image background removal without annoying subscriptions
How does it compare to Command+Shift+K in Preview on Mac OS?
WizardClickBoy··on DreamWorks releases OpenMoonRay source code
I came looking for this comment! Madness.
WizardClickBoy··on LLaMA: A foundational, 65B-parameter large language model
I somehow have a strong intuition that Winamp is going to beat this thing.
Page 1 of 2Next →