Better HN
topnewbestaskshowjobs
Log inSign up

enw

841 karma · joined Nov 27, 2020 (5y ago) · 233 submissions

Submissions

comment 2y ago · link · parent

In what situations does this solve a problem?

In our projects we only enable squash merge in GitHub and the PRs can have any commits you want. The squashed commit includes link to PR, and PR has detailed summary (which wouldn’t be practical in the commit message).

comment 2y ago · link · parent

Yes.

comment 2y ago · link · parent

The following goes a long way:

    setopt PROMPT_SUBST
    HISTFILE=~/.zsh_history
    HISTSIZE=100000
    SAVEHIST=100000
    PROMPT='%B%(?..%F{red}%?%f )%F{blue}%~ %F{green}%#%f%b '
    RPROMPT='%B%F{red}$(git branch --show-current 2> /dev/null)%f%b'
And if you want autosuggestions:

    brew install zsh-autosuggestions
Then add the following to your ~/.zshrc:

    source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh

comment 3y ago · link · parent

It's ridiculous. If we measured all past without nuance and with the fleeting standards of some people of today, everything would be abhorrent. I'm sad to see this way of thinking permeate so deep in our culture.

comment 3y ago · link · parent

And some gay men.

If straight guys talked seriously about astrology they'd immediately get clowned on.

comment 3y ago · link · parent

What should an open-minded nonbeliever do to maximize the chance of seeing what's behind the curtain and find the peace you describe?

comment 3y ago · link · parent

Life is absurd. Why anything exists at all is absurd. So absurd in fact I find it unconvincing that life is nothing but a large deterministic automaton without initial cause. Maybe religions are a coping mechanism for deluded people, but I hope they point to some deeper truths that we may never fully grasp.

In any case, pain and other conscious beings are as real as it gets, so no matter how brief one lifetime is, you can have a real impact by making it better for those around you.

comment 3y ago · link · parent

Yet, as expected, when threatened to take their online “authority” away so many Reddit mods buckled and opened the subreddits in a hearbeat.

comment 3y ago · link · parent

I don’t use Reddit much anymore, but I liked the official app. Curious what’s considered bad about it?

comment 3y ago · link · parent

I low-key like some dress codes, as it gives me an incentive to dress well without looking like a dork, and that I can brush off as "oh it's just the company rules".

comment 3y ago · link · parent

How do you prevent the straps and padding from getting nasty with sweat?

comment 3y ago · link · parent

The silhouette of the white part with the envelope is in the shape of a chat bubble.

comment 3y ago · link · parent

This always surprises me.

How come there are seemingly zero tests for what’s essentially critical infrastructure?

How do you make sure things keep working? How do you prevent regressions as team members change and tribal knowledge and intuition is lost? How do you ensure all future humans working on the project can make meaningful changes with confidence?

comment 3y ago · link · parent

No tests?

comment 3y ago · link · parent

I have to admit I never got the “99% similar” and “octopi are so smart” thing.

May sound like an ignorant meme, but if they’re really so smart and similar, why can’t they build cities or create cultures or do anything better than just survive?

comment 3y ago · link · parent

Why is capitalization inconsistent?

Some use sentence case, some title case.

comment 3y ago · link · parent

The channel owner responded:

> We didn't know that he doesn't have proper windows, we were shocked as well. It was our first time meeting him and he doesn't have any mobile connection. It's very difficult to reach his place, it took us 3 hours by car and 1 hour by snowmobile (which got broken while we were filming). Thank you for your concern, we will replace his windows soon.

comment 3y ago · link · parent

What would be the “me” if I were to clone myself 1:1? Would there be two “me”s? Or a the same old “me”, a single consciousness but two bodies?

comment 3y ago · link · parent

If something's too easy to misuse, it's bad design.

comment 3y ago · link · parent

All these evolutionary arguments (e.g. “head of penis is shaped as such to clean out semen of competitors”) all sound conveniently convincing, but I’m curious if there’s any data validating them?

It’s easy to shoehorn any number of plausible theories, but how do we know one evolutionary theory is the correct one?

comment 3y ago · link · parent

https://web.archive.org/web/20200420054424/https://www.wefor...

comment 3y ago · link · parent

Saved you a click: https://web.archive.org/web/20200420054424/https://www.wefor...

comment 3y ago · link · parent

For me honestly it's one of the (many) things I dislike the most about Ruby.

Sure, I understand the "elegant" aspect, two symbols are shortened to one (although I'd argue that's not that important when it comes to clarity and legibility).

But every time I read "unless" in code it's quite jarring. I have to consciously translate it to "if not", and even then seeing the "unless" keeps tripping me off, perhaps because it's awkward in English to start a sentence out of the blue with "unless".

comment 3y ago · link · parent

If used sarcastically this can be great. If anyone uses it genuinely in a serious setting I would feel abused.

comment 3y ago · link · parent

It's already here: https://gptlabs.us/upg

comment 3y ago · link · parent

Consistency is great, but why exactly is consistency helpful in this case?

Seems surprisingly defensive to not be in favor of a small change that eliminates an entire category of confusion and improves accessibility.

12345
8