HNHacker News
TopNewBestAskShowJobs

runald

118 karma · joined March 24, 2017

submissionscomments
runald··on Reducing technical debt by valuing comments as much as code
I'm going to disagree with you there. It's a convention that comments refer to the following lines of code, not above. Reading from top to bottom or bottom to top has nothing to do with this. A better way IMO is to disambiguate what specifically "this" refers to in the comment.
runald··on Ejaculation frequency and prostate cancer (2022)
Horse diffusion
runald··on Pipe Operator (|>) For JavaScript
Thrush combinator is neat. Here's another without using recursion:

  const thrush2 = (value, ...funcs) => funcs.reduce((value, func) => func(value), value);

  const thrush3 = (value, ...funcs) => { for (const func of funcs) value = func(value);  return value }
runald··on Pipe Operator (|>) For JavaScript
"There is an increasingly large population of "programmers" that have never known anything other than Python and don't understand the concept of "different languages for different purposes". They want Python to do everything so they don't have to leave their comfort zone."

Also, s/Javascript/$LANG_YOU_HATE/g

runald··on Ask HN: Concepts that clicked only years after you first encountered them?
Nah, none of what you described (encapsulation and separation of concerns) is specific to OOP, you could do that with FP or imperatively with plain structs and functions. It's more like you are starting finally understand how to program in the large.

I'm not completely against OOP, but written code that strictly adheres to this paradigm tends to be more convoluted than necessary.

runald··on Ask HN: Concepts that clicked only years after you first encountered them?
It's interesting to read that you slowly shift the narrative from accepting your faults to making excuses to blame externalities, like inherited narcissism and ADHD. Look the word up, it's essentially an umbrella term that pretty much describes anything that can be considered negative, almost to the point that it's meaningless, except as a convenient tool to antagonize people. Selfishness and self-admiration is spectrum, everyone possess it one way or another. To claim otherwise is inhuman. Clearly, there are actual extreme narcissists, but they are not as frequent as people use the term loosely nowadays. Disclaimer: not a psychologist, but probably neither are you.
runald··on Codeberg launches Forgejo – Gitea fork
I don't think shared accounts violates the guidelines since no accounts are routinely created from sharing it. Having an identity to relate seems to be an ideal preference, but not a hard requirement. Some people do routinely create new accounts anyway to avoid fingerprinting writing styles.

Anyway, shared accounts are interesting because it's a hack on the signin system to allow a more anonymous posting. It reminds of Stallman's aversion to password in the early days, and repeats his login ID as his password.[0]

[0] https://www.oreilly.com/openbook/freedom/ch07.html

runald··on Codeberg launches Forgejo – Gitea fork
Off-topic, but I'm really amazed that HN account lasted for 2 years. I've seen pwdis accounts before, but they quickly get vandalized and locked out. Is this a lucky account, or is there a mod intervention?

Edit: oh wait, never mind, the profile does confirm that dang is involved. Interesting stuffs.

runald··on Who knew the first AI battles would be fought by artists?
Sorry, I have no reason to be afraid of AI taking my job, not now, not ever. You seem to have a condescending idea of what programming is, given how you describe it as simple and dumb, but I can assure you, programming would be one of the last jobs to be deprecated by AI. If you think ChatGPT is enough to put programmers on the street, I would question what kind of programming you do.

I would turn this around to you: if a braindead AI can do these astonishingly difficult art, maybe art was never difficult to begin with, and that artists are merely finagling dumb, simple things to their work. Sounds annoying and condescending right? If you disagree what I said about art, maybe you ought to be more aware of your own lack of empathy.

runald··on Ask HN: 2 weeks off work, what to do?
Nothing. Do nothing. Bore yourself out of your mind. Resist wanting to do anything useful or productive. Look, listen and smell your surroundings. Remind yourself what it means to be alive. You now have time to gaze what the sky looks like again, or appreciate how nice your floors or walls are. Do this until you genuinely want to do something again.
runald··on Ask HN: Which books have made you a better thinker and problem solver?
Strange, the only place I only ever see someone mention hpmor is on HN. In fact, I first heard it from here.
runald··on Body Doubling
https://en.wikipedia.org/wiki/Man-Bat
runald··on How to communicate effectively as a developer
The word completely does over-assert that quote, but it's disingenuous to pretend that the quote does not follow from your overall point. People with good "theory of mind" would supposedly read between the lines, but I guess it was never that simple. Spoiler alert: there's no such thing as one true generalized theory of mind.
runald··on Moving from React to htmx
As someone living in one of those countries, I beg to differ. Cheap maybe, but mobile internet is neither fast nor stable.
runald··on Obsidian 1.0 – Personal knowledge base app
Not quite what you are demanding for, but you can use ∕ instead of / https://www.compart.com/en/unicode/U+2215
runald··on Ask HN: Help me pick a front-end framework
Strongly disagree. TS is very useful for UI, among other things, especially for lots of throw-away or prototype code that changes fast quite often. TS makes it really painless to move and change things around, as opposed to plain JS where things will break quite often on runtime.
runald··on Zig VP of community comments on Rust
As someone considering whether to learn rust or zig next for hobby projects, this does seem a pretty big deal breaker for zig, at least in its current state. But since zig still hasn't really even reached the 1.0.0, it is expected to have compiler bugs like this? Or do you believe this is something that can't be fixed due to fundamental language design?
runald··on Zig, the Small Language
Is that why you ignored all the other responses to your comment?
runald··on Cognitive loads in programming
> Always aim for declarative programming

> limit the depth of the function calls

These two are at odds with each other. The more declarative your code is, the deeper your function calls will be. At the extreme case, you will have an DSL-like code that has an intractable stack trace.

runald··on Coping with Copilot
Ask canned questions, expect canned answers as well. Dumb or lazy incompetent students will look up solutions to problems like fibonacci sequence or sum of numbers without understanding them or solving them first on their own. This has always been the case, even before copilot came along. Copilot only made it even easier and accessible to even dumber students, and made it harder for dumb teachers to lazily give canned programming questions.

I haven't used copilot yet, so I don't know how intelligent it is at producing solutions that it hasn't seen before. Assuming it's not that intelligent, one solution would be to just add small, tricky variations or constraints to well-known programming problems. So instead of just asking "find the sum of numbers", ask "find the sum of foo numbers", where foo is some made-up property, like a number contains even number of odd digits. Then require the implementation to count down instead of counting up.

runald··on GraphQL kinda sucks
> trust the words

> pure, unfiltered truth

noone is forcing anyone to believe in anything, it's just some guy expressing his strong opinions about a subject, but no, you act like someone uttered a blasphemy against the lord's name

runald··on GraphQL kinda sucks
and let all the non-browser clients parse html?
runald··on GraphQL kinda sucks
Did you try reading the thread? What do you mean by data?

> Or is it a completely subjective opinion dictated by frustration likely caused by the lack of understanding of it?

You can ask this this very same question when people say graphql is an amazing piece of software/paradigm, except s/frustration/hype/

runald··on Xournalpp++ – closs-platform, open source note taking software
"Once" still qualifies as rare. And are you sure it was really a typo, and not intentional or some foreign word?
runald··on Xournalpp++ – closs-platform, open source note taking software
You mean japanese? They do mix up r-l on pronunciations, but I rarely see a written r-l typo. Plus, it looks the HN title was manually typed, so it's unlikely you would mix up r-l with a reference text. Most importantly, the submitter is already too fluent to make that mistake, regardless of his native language is.
runald··on Xournalpp++ – closs-platform, open source note taking software
a typo that only users of dvorak layout could make
runald··on Bubble Tea: fun, functional and stateful way to build terminal apps
You can lower the frame rate when the window is not focused, or entirely avoid drawing if it's not visible.
runald··on 1x Programming
I heard of a creature like that. I think they are called human being. Someone who was assigned to a team of highly efficient robots that never make mistakes and produces bug-free code. Production defects? Yeah, it's obviously that guy's fault alone. /s

If I didn't know any better, it sounds like you are just using the guy as someone to conveniently blame.

runald··on Ask HN: How to improve as a struggling junior software engineer?
For those struggling to google what PIP means in this context (as I did), PIP means Personal Improvement Plan. Being put on python pip sounds kind of funny though.
runald··on Why don't more languages offer flow typing?
Not quite what you are dreaming for, but there's https://typescripttolua.github.io/
← PreviousPage 2 of 4Next →