murtaza64

joined 1 year ago
[–] murtaza64 9 points 4 months ago

My college dorm was like this. Every bathroom was ungendered. The stalls weren't fully floor to ceiling, but were slightly better than the average public bathroom. 99% of people got over it after a little culture shock at the very beginning (maybe 2-3 days).

There was still one women-only bathroom in my building; I believe it was for a few students who asked for religious consideration. No biggie though for almost every student.

It only led to one embarrassing moment for me: I (a guy) was singing Frank Ocean at the top of my lungs while showering. When I came out of the shower a girl was brushing her teeth and made eye contact with me and kind of snickered/giggled. Racewalked back to my room 💀

[–] murtaza64 1 points 4 months ago

I don't think there's any consistent association between side of the road and side of the escalator. E.g. within Japan, I think either Kansai or maybe Osaka specifically does it opposite to most of the rest of the country.

[–] murtaza64 4 points 4 months ago

I went to a trivia night at a local bar with a guy from high school and his family. We were in contention for the top. The whole night I was useless, since most of the questions were about European sports legends or actors or singers from the 20th century. The guy starts feeling up the last question:

"This is a tricky one and one of my favorites. Going to the realm of technology... What is the name for a unit of measurement, named after a Disney character, which is related to how far your mouse moves?"

The whole family looks at me, cause I'm known to be a tech guy.

Complete blank. Flustered. Uhhh uhmmm it's called DPI? Pointer speed?? Is there a Disney character called Peter Pointer?...

We lost. They were disappointed, but not as disappointed as I was in myself.

Went up to the trivia guy at the end to ask him to show his sources. He pulled up a legit looking wikipedia article so I accepted my defeat.

[–] murtaza64 3 points 4 months ago (1 children)

Thanks a lot for the pointers! Hoping to explore this in the next few months

[–] murtaza64 4 points 4 months ago (3 children)

Could you tell me more about how you've used it with macOS? I was planning to explore using it to provision some macs that we use for building an iOS app (and ideally also the dev environment, which we currently use docker for mostly). I imagine Xcode doesn't play nicely with nix though...

[–] murtaza64 8 points 4 months ago

I think neovim with kickstart has out-of-the-box support for go, or if not, should be configurable with two added lines (add the treesitter parser and LSP). Unlike nvchad and lunarvim and stuff, this is not a "distribution" of neovim but a good starting point for a config that makes it easy to slowly learn how to add stuff and change stuff as you see fit.

At the beginning, you can add languages that you need support for pretty easily by adding to a list of LSPs and Treesitter parsers that should be installed; later on you can start adding and configuring plugins as you wish.

I'd say it sets you up about the same level as Helix or a little less than VSCode.

[–] murtaza64 25 points 4 months ago (1 children)

Sequel to cocaine bear looking good

[–] murtaza64 2 points 5 months ago* (last edited 5 months ago) (1 children)

Nix being an expression based functional language, it doesn't really make sense to have something like let x=y; since this looks to most people like a statement (i.e. a line of code that gets executed as part of a sequence). This doesn't exist in nix—instead you have expressions that get lazily evaluated, possibly out of order compared to what you'd expect. let x=y in makes it more clear that the variable binding you're doing is only in scope for the current expression, which reads something like "let x refer to y in x + 3"

The function definition syntax is unusual but definitely not unintuitive imo. It captures the simplicity of the function semantics of nix—a function is just a mapping/transformation from one value (or set of values) to another. I don't think it's too much overhead to learn that they use : to mean this instead of =>

In terms of why they picked this syntax, it follows the traditions of other functional languages such as the ML family, Haskell etc.

[–] murtaza64 2 points 7 months ago (3 children)

I guessed the same. I have annoyingly wide feet, so I might give this a try, but I feel like it would leave too much loose lace

[–] murtaza64 7 points 7 months ago (7 children)

How exactly does the parallel lace one work? Like I don't see where the laces come out underneath

[–] murtaza64 3 points 7 months ago

Why? The quotes will be consumed by the shell when you execute the command, unless you do like "'{}'"

[–] murtaza64 13 points 7 months ago* (last edited 7 months ago) (1 children)

Look, Raymond: a yellow-crested warbler.

view more: ‹ prev next ›