Better HN
topnewbestaskshowjobs
Log inSign up

AlexSW

174 karma · joined Aug 5, 2020 (6y ago) · 84 submissions

Submissions

comment 3y ago · link · parent

You may not be as far as you think.

If you've done 'proof by induction', that's listed there (beginning of post 6), and should hopefully give you some grounding.

Several of these are not as complicated as they may look. Though some of them I certainly have no ideas on at all.

comment 3y ago · link · parent

For what it's worth, you can just do this using Alt (i.e. 'meta'). No special terminal required. Just use `bind -n M-<X>` to say 'no prefix' and use meta-<X>.

For example, `bind -n M-1 select-window -t 1` means Alt-1 goes to Window 1 for me.

I use Alt-h, Alt-j, Alt-k, Alt-l for vim-aware pane switching (with some vim config too), e.g. via `bind -n 'M-h' if-shell "$is_vim" 'send-keys M-h' 'select-pane -L'`. I have a load of Alt-<X> mappings.

I use iTerm and Windows Terminal primarily, but it works on everything, really. Though sometimes you need to adjust what 'alt' means; in iTerm, you need to make Alt be Esc+ (I think).

comment 4y ago · link · parent

Just to add another data point, I really like it! I'm an enormous fan of the Social Network's soundtrack and I feel you really captured the feel and sound that some of its pieces give (obviously particularly the main theme).

Would love to add it to some of my Spotify playlists if you're on there (but I very much understand if you're only on Soundcloud).

comment 4y ago · link · parent

Not sure Erlang is strong on the basic types front on the whole though; I've never been a fan of strings in Erlang. Greatly prefer C++ on this front.

comment 4y ago · link · parent

I use it as an excuse to get the friends together for dinner and often games after.

comment 4y ago · link · parent

For me, it's simply the grouping of tabs. I use both, but if I ever want to keep my tabs organised (which is often) I cannot use Firefox.

comment 4y ago · link · parent

It seems to me hard sometimes to know what all of the 'state-of-the-art' and historic techniques are; in practice there'll likely be far too many to enumerate on a variety of platforms. But I do wonder if there are good lists or compilations anywhere that would include these.

comment 4y ago · link · parent

Brazilian Jiu-Jitsu always seems like a good choice whenever I talk to people about it. However it's more physically demanding; more peaceful options may be preferable (e g Tai chi).

comment 4y ago · link · parent

Genuine question: how do you know such things? I'd love to learn them, so I'm wondering how others learn them (other than remembering random comments from here).

comment 4y ago · link · parent

Judging by the post and the user's post history, almost certainly 'we' refers to Mozilla.

comment 4y ago · link · parent

Not sure whether you know something I don't but I'm not aware of any VM when I'm running Docker containers directly on my Mac?

comment 4y ago · link · parent

Ah good spot, thanks! I'd agree with you there...

comment 4y ago · link · parent

That's a local variable

comment 4y ago · link · parent

I had a quick look at the code to see how it worked and I feel like I'm being daft; where is line 28 getting the variable `soup` from?

https://github.com/trakBan/spongebob-cli/blob/eac7eded094a48...

comment 4y ago · link · parent

Materialistic is a good mobile app for Hacker News which has a dark mode. No affiliation, I just greatly like using it (Android).

comment 4y ago · link · parent

That all makes a lot of sense. And I think you've helped something 'click' for me (and hopefully others) in understanding some things here, thank you for your time writing all of this up! It's really appreciated.

A quick final questions on pronouns, if you have time: I'm contemplating the idea of just using they/them pronouns for everyone. I quite like the idea currently for a few reasons, and I can't imagine people being offended by it(?). But one negative I could see is that, when someone asks for others to use particular pronouns for them (e.g. she/her), using those pronouns I can imagine would be a nice acknowledgement/validation/show of support etc., which using they/them instead probably wouldn't give. Did you have any opinion on people making such a choice, given any insight you might have from your own experiences or an understanding of the LPGTQ+/etc. community? I'd definitely like to be able to reasonably justify it as a rule (even if someone's specified certain pronouns).

comment 4y ago · link · parent

Nothing to add to the other comments, just wanted to add another data point that the website (on mobile) was perfectly clear and the information was all laid out and explained very well; I have no (constructive) criticism to give.

comment 4y ago · link · parent

Am I reading you correctly in that, at the end of the day, you simply just want breasts and a vagina? Or do you want something more broad here?

I broadly thought transgenderism was about a desire to be perceived and feel/identify on all levels as a man when assigned female at birth and woman when assigned male at birth, as opposed to just wanting particular sex organs.

comment 4y ago · link · parent

Which limitations of C++, sorry?

comment 4y ago · link · parent

The output length/size of a hash function is fixed, whereas it takes an arbitrary-length/size input.

comment 5y ago · link · parent

I think Xinjiang is different for a variety of reasons, one of which being it's happening under the Chinese government. Ethiopia threatening to slap on heavy quotas/etc. on exports or other retaliatory action is nowhere near as impactful for many nations, so hopefully countries will be much more prepared to heavily lean on the Ethiopian government diplomatically, which is just not as feasible with the Chinese government.

comment 5y ago · link · parent

This first one entertains me greatly; how'd that go? Sounds like a pain!

comment 5y ago · link · parent

I really appreciate the sentiment you're conveying here, and you put it well. A quick browse of your profile suggests this isn't an anomaly in your posts, either.

comment 5y ago · link · parent

I compile React frequently in a docker container on my M1 MacBook Air and I, similarly to the other commenter, get no such problems.

comment 5y ago · link · parent

If you need another, saving a file using sudo after opening not as sudo is much more annoying and the normal strategy in vim (which often includes `tee` but I prefer to use `mv`) doesn't work at all.

I still use Neovim, but this is my main gripe. Broadly I like it a lot, for reasons others have covered.

comment 5y ago · link · parent

I'm not sure of the point you're getting at. You can do this with effectively anything. Replace "gay marriage" with "child sexual exploitation" in "I support gay marriage". Does that mean we shouldn't support anything?

comment 5y ago · link · parent

For what it's worth, I think this is the NCSC in the UK.

comment 5y ago · link · parent

To add to the comments not mentioned any UX reasons, I wanted to use Firefox on my phone as I do on my desktop and laptop but when using it I disliked the tab organisation compared to Chrome, and that's pretty much all I need the Web browser to be good for on my phone, where I'll often have up to 100 tabs open. Maybe it's changed now but Firefox had an impractical 3D scroll through tabs showing only the top IIRC, whereas Chrome has a much more practical grid of page previews that allowed for easy navigation. It also now allows one to group tabs very nicely.

I hope Firefox has changed, or that there's a setting hidden away somewhere for these.

comment 5y ago · link · parent

This seems to me to be a very disingenuous comparison and you're not responding to my question. Are you seriously arguing that superior weaponry doesn't help in a war? I think it's reasonably clear that the situation of the Aztecs differs to the conquest of Afghanistan not only by many hundreds of years.

I am not making the statement that all winning a war takes is superior weaponry, as your strawman would suggest. It doesn't take any one factor. Many factors add up. I'm saying this is one of them.

comment 5y ago · link · parent

I agree with the majority of what you're saying, but like so many wars throughout history, surely superior weaponry played a huge role in the conquests? Particularly here where the difference is so large. Not the only role, certainly, and maybe not the biggest (compared to disease), but a very sizable one still. I struggle to imagine Spanish success had the weapons been reversed.
123