HNHacker News
TopNewBestAskShowJobs

z9znz

1,632 karma · joined May 1, 2022

submissionscomments
z9znz··on Why it’s hard to buy deodorant in Manhattan
> scary-looking guy in a biker jacket, helping his sister open a ballet studio

I think this illustrates the possible unspoken angle of the post. Is the post trying to show a surprising contrast? And if so, should I be surprised to see anyone, hijab or not, working in a family pharmacy store while also working on their MD?

With your example, a scary-looking guy in a biker jacket evokes a certain feeling (fear, worry, etc.), but then we find out that he's just a good guy helping his sister do something that's very unlike his nature - or the nature we would assume a "scary-looking" guy in a biker jacket would be about.

By this example, I would take it to mean that your interpretation is that a girl in a hijab is a scary person to worry about, but in reality she's just a good, smart, hard-working girl helping her family.

This is why I raised the initial question. These couple of extra specific details lead somewhere. I wanted to know where, because the perspective was not provided. The reader was left to make their own assumptions or draw conclusions. Based on your example, we see one conclusion: fear of people in hijabs, but that such fear is not appropriate.

I take the perspective that the hijab doesn't represent a special person nor a person to fear any more than a guy with a baseball cap on his head sideways means something other than "he likes to wear a cap in a way that doesn't block the light from his eyes".

z9znz··on Why it’s hard to buy deodorant in Manhattan
You either have phenomenal comedic deadpan skill, or you didn't notice the most interesting parts of the parent's comment.
z9znz··on Why it’s hard to buy deodorant in Manhattan
> she knows her place in the world. She is here to serve,

I know it's sort of an unspoken NoNo on HN, but given your bold comment I had to look (I thought maybe you were using confrontational comedy). But your bio: "Ethically challenged software engineer working for a major tech company you know. Used to have close to 1000 karma, got destroyed over time by hackernews cancel culture and a change in downvote algorithms. But now that the algorithm has been changed back to classic style, I'm rising up again."

There's no point arguing with you. I want so much to tear apart your lunacy, but it would do nothing here (and worse, it wouldn't change what you apparently have going on in your mind).

I will admit though, I never realized that a woman without a hijab would "chase her own self interests and hedonism".

But out of curiosity, assuming women with hijabs don't have self interests or hedonistic tendencies, what sort of clothing would a man wear if he wanted to demonstrate that he also was not self focused or hedonistic? (I ask because I want to be sure I'm never caught wearing such garb.)

z9znz··on Why it’s hard to buy deodorant in Manhattan
This has nothing to do with the hijab. This is a matter of mixing perspectives.

All of the descriptions of the situation are rather mundane and bland. Only two extra details stand out: "Upper East Side of Manhattan (think pooches inside Gucci bags)" and "in a Hijab and was studying medicine and was helping her parents who immigrated from Turkey".

A significant percentage of "regular" stores in big cities are owned or at least managed and operated by immigrants from very different backgrounds.

These details being present in the brief story seem to have some significance, so my question was, "Why is this significant?"

This is not a judgement on the people running the store or of people in hijabs. It's a question for the poster about why those details were significant.

Maybe it was just the ramblings of an old person (which I can say as I'm an old person). But it is still fair to ask for clarification.

z9znz··on Why it’s hard to buy deodorant in Manhattan
Seriously?

Perhaps I really am missing something obvious.

What kind of doctor will she be?

z9znz··on Why it’s hard to buy deodorant in Manhattan
You are filling in so many details that are not there. But whether that is correct or not is not the point.

The point is, why mention it? Should we be surprised, or should we be impressed that an immigrant Muslim family was involved? I just don't know what the OP wants me to feel. It's touchy, but it is ambiguous.

Is that good? Is that bad? Is it stereotypical? Is it challenging expectations?

z9znz··on Why it’s hard to buy deodorant in Manhattan
In a brief recall such as the parent post, certain details would seem either superfluous or meaningful if they don't appear to relate to the topic.

If you mentioned that the guy at the counter of the CVS was wearing a baseball cap, we would wonder why that was a significant detail, or maybe "what team was on the cap".

Saying someone had a hijab is clearly leading with some meaning, but the post didn't go into that detail. I can only guess that it implied something related to Muslims; but I don't even know. They didn't expand on that. So we are left to wonder WHY they mentioned it.

z9znz··on Why it’s hard to buy deodorant in Manhattan
Sorry, was this a reply? Did you have something to say?
z9znz··on Why it’s hard to buy deodorant in Manhattan
Maybe I'm not putting all the pieces together correctly.

What is the significance of her wearing a hijab? Why is that worthy of mention, or the fact that the owner family was from Turkey? And also the Thanksgiving eve bit?

z9znz··on Almost everything on Amazon is becoming an ad
This comedy skit illustrates the same in humor: https://youtu.be/nQpxAvjD_30
z9znz··on Emacs on an iPad
A real keyboard is absolutely necessary for real work, as you say. I think what makes the iPad Pro attractive is that it can have a real, decent keyboard (and trackpad) that is optional depending on your momentary need.

Unless one flies business class, there is often not enough space between seats to comfortably use a traditional laptop. With a tablet, you can at least do something.

The other big thing is that iPad Pros have very high screen brightness. For working outside it's a big benefit, as most portable laptops don't get that bright. The M2 Air and the M* Pros do, but you can't just pull the screen off when you only need a screen.

The best of both worlds, imo, is to have an M2 Air and an iPad Pro. When you're at a desk to do real work, you get the full laptop benefit plus the big iPad Pro as a second monitor. When you're on the daily outing, you take either or depending on your expected need. But you do now have a $5000 setup, which is more than many people would like to spend for a little more flexibility.

If Apple hadn't done such a great job with the M* Air, it would be easier for me to consider some other vendors' 180 degree folding laptops. But the silence of my Air and the amazing battery life are hard to give up.

z9znz··on Emacs on an iPad
To replace or supplement remote, you can carry a little Raspberry Pi. This guy makes a nice video about it: https://www.youtube.com/watch?v=A3qn1nqw-Gw

I have previously setup a Hetzner server (EU) with openVPN and Code Server, and then I was able to really have the benefits of pretty secure dev environment that was always on, easily accessible, and powerful. Of course it required a connection to use, but the bandwidth requirements were low. Latency requirements were more important, but they weren't as harsh as if you were using a remote desktop.

z9znz··on Ask HN: What are 100K dollar ideas but not million dollar ideas?
I think kitten-hair mittens would be big. And if they were also shaped like kitten paws, it would be HUGE.
z9znz··on Ask HN: What are 100K dollar ideas but not million dollar ideas?
This is probably an underserved area, actually. There are a lot of patterns of behavior we each have which involve our browsers, and there's probably room for some usage optimization extensions.

Do you know of a good site that focuses on browser extension reviews and discussions? I now realize I could probably find things which would improve my life, but I don't feel like doing a random walk through the general extension page of Firefox.

z9znz··on Ask HN: What are 100K dollar ideas but not million dollar ideas?
This is one of those examples that I liken to the dry cleaning business.

In any given city there may be lots of dry cleaners available. Some will be much better than others (service, performance, etc.). Some will be much cheaper than others. Some may be the perfect combination of all these things.

Unfortunately, we often don't know where the best one is. And perhaps because of another person's suggestion "affiliate marketing", it is now virtually impossible to search online to get actual reviews of things (as there are now more SEO-d review sites which are just thinly veiled affiliate marketing sites).

So we use the service we see nearby or stumble upon. It may not be the best, but we don't really know better.

The same applies to so many things in life, business or otherwise (people, friends, relationships). Thus, yet-another-monitoring-service can succeed if it gets enough customers, even if there are much better services out there.

z9znz··on Ask HN: What are 100K dollar ideas but not million dollar ideas?
Ugh. Don't we have enough of those already?

The target markets haven't increased in size, unless you're in developing countries with upwardly mobile populations.

So more affiliate marketers just means more duplication of noise, with everyone gaming ways to get the same business (or direct the same business to your companies).

If I have to watch another NordVPN ad baked into a youtube video, ...

z9znz··on Ask HN: What are 100K dollar ideas but not million dollar ideas?
This idea could be scaled (and likely is implemented somewhere) to big $$$. This is essentially a last-mile care system which could be contracted by governments to do what, in this case (not all cases), private industry can be more efficient at doing.
z9znz··on Ask HN: What are 100K dollar ideas but not million dollar ideas?
You have golden handcuffs :).

As long as you're not unhappy with your day job, that's great. If you are unhappy, then you have a passion project/domain that you already have good progress in.

It's easy to give advice, so I'll give some. Make a 6 month plan toward quitting your day job (reducing financial burdens, winding down unnecessary expenses, generally preparing for no income). Make some potential plans for how you might fill your days with regard to your audio work. If you don't do this step, you may find yourself feeling lost or aimless and consequently not as happy as you would have expected.

But here's the best part, I think: start using some of your free time to go to conferences and shows where audio tech is a feature. Show some of your stuff, or at least talk to others about it. Where this could lead is vast and somewhat unpredictable, but it might be a lot of fun and it likely could lead to something solid.

Meanwhile, focus on one or two of your projects and try to get them polished enough to setup a storefront and promote (assuming you're not already doing this).

Maybe it never reaches your current job income, but it might get close enough that you decide it was worth it. And if not, there will always be more jobs waiting.

z9znz··on The case for dynamic, functional programming
IMO, Ruby is a better general purpose "scripting" language like Python that has cleaner and more consistent features - including ones that lend themselves to functional approaches. Outside of web development it doesn't have the same appeal as Python due to the larger Python ecosystem... (many companies think they want to and will do "data science!")

Also, in my experience, Pythonistas tend to be more resistent to paradigm changes. So often I have heard, "Why would you want to do that?", or "This works fine as it is.". Not that I'm a fan of list comprehensions in Python (I think they're awkward and ugly compared to Ruby collection operations), but Python codebases I have had the displeasure of working in had lots of nested loops, mutations everywhere, copy-pasted code, and 30+ line methods. Trying to encourage single-responsibility, composability, less OOP, and more pure functions is like shoveling water uphill.

With both Ruby and Python you do need to be a bit thoughtful about unnecessary collection copies (which you would tend to favor when writing pure functions); but often you have a good sense of how large a volume of data you are handling and where copies will be particularly slow or heavy to do. When necessary, you can have an impure function that mutates input data, and at least in Ruby you can warn callers of the impending mutation by adding the ! to the function name. update_order!(order).

z9znz··on The case for dynamic, functional programming
Fair enough. My comment above was unnecessary.

I did elsewhere in a top level comment go into detail about why I thought TFA wasn't good. https://news.ycombinator.com/item?id=33722399

z9znz··on The case for dynamic, functional programming
Raising an exception affects control flow, which is the execution state of the program.

TFA example misuses exceptions as just another return value, requiring the caller to have additional code to handle "normal" and "other" return values. So as we and others seem to agree, that is not even a good example. At this point we kind of get stuck in the whole discussion about exceptions and how to handle them. This is probably a hot area that I should avoid getting into, but here is an _example_ of how to handle errors without having exceptions (and without impacting execution states): https://go.dev/blog/error-handling-and-go

Function application, where you apply a function to a collection of data, requires that the application function returns a value (and does not throw an exception). As a Python example (not the prettiest, but it's Python...), imagine you have a list of strings which you want to strip the leading and trailing whitespace.

x = [' a', 'b ', None]

list(map(str.strip, x)) => TypeError exception because you can't strip on None

To work around this, you have to do something like an anonymous function to validate your inputs before calling strip:

list(map(lambda s: s.strip() if s is not None else None, x)) => ['a', 'b', None]

In this case it's clear why Python throws an exception, and we were able to avoid it by validating the input during the mapping. But if a normal behavior of the mapped function was to throw an exception as just another type of result, we couldn't prevent/avoid that, and we would either not be able to apply the timer() function to a list of inputs or we would have to have a form of map() which also accepted an exception handler function and then somehow wove its results into the normal map output. Such a thing may exist, but I don't know Python well enough; and if it does exist, it would only make the language even uglier ;). [Edit: on second thought, the solution would be to make a better_timer() function wrapper which called timer() and handled the exception, then more appropriately returned [time_remaining, complete_flag]. Then we would pass better_timer() to the map().]

There are even nicer benefits to purity if you are using higher order functions that may be called later/elsewhere. Instead of taking data through some series of transformations, you take data and build a series of operations which can later be used in a transformation. Then somewhere more toward the edge, well beyond your core business rules, you execute the series of transformations (functions) on your starting data to get an end result. This approach can't be used all the time, but there are cases where it works well. But like the map() example above, if you have to also handle exceptions as normal results returned from functions, then you have to have additional exception handler functions that you carry around with the other functions in case they are needed. Yuck.

z9znz··on The case for dynamic, functional programming
Raising an exception is not returning a value; it is essentially a GOTO.

A pure function has no side effects. Maybe it takes an input, and maybe it returns a result. But whatever it does internally has no affect on the outside world. Raising an exception is definitely a side effect.

Worse yet, in TFA example it wasn't even necessary to use an exception in place of a returned state. I would argue that the exception example was, irrespective of functional vs imperative principles, a bad use of exceptions.

z9znz··on The case for dynamic, functional programming
I suspect the point of the article was to be seen again and remind people of his book.
z9znz··on The case for dynamic, functional programming
Unfortunately this toy example isn't even pure functional because it raises an exception as a way of providing an alternative return from the function.

A better example, if one wanted to keep a single function pure and still keep (two) states would be to return a tuple of (current_count, is_expired). Further, since it uses zero as the implicit boundary to determine when the counter is complete by counting down from the provided value, the function should be named countdown_timer() or something more descriptive.

Honestly I'm not sure who this little article was written for. The references to C++ were irrelevant. The OOP Python example, however, was a pretty common example of how Python people write code. It's a shame, really. We should (edit: not) have to deprogram people to get them to choose something more like the latter "functional" approach over the former pointlessly-OOPy example.

z9znz··on AP fired reporter after dangerous blunder – Slack chats reveal chaotic process
A cursory glance (which ironically is probably what created this dangerous misinformation) suggests to me that news agency haste to be first to announce something was the primary factor in this miscommunication.

I now wonder if pre-internet news was as prone to these kind of mistakes since it took so much longer to publish news (thereby giving sources more time to confirm things).

z9znz··on RimWorld: A sci fi colony SIM driven by an intelligent AI storyteller
I too gave up on this game, even though I really wanted to like it. I like the idea of it.

In my limited experience in gaming, we were reminded to periodically ask about game mechanics: "But does this make the game more fun?"

Simulating realism is cool, but reality is full of boring or unpleasant stuff. Why suffer that extra? "Oh no, it seems you cut your finger while making dinner. Now you have an infection! And since you didn't eat dinner, you are now faint and must lie down. You need a doctor! Oh no, you _were_ the doctor!"

z9znz··on Ask HN: What's your favorite video game soundtrack?
Gameplay video: https://www.youtube.com/watch?v=4qK6vlE-KiI
z9znz··on The Artisan Keycap – Art on Your Keyboard
I'm waiting for the haptic-feedback keycaps. We already have shapes and lights, but if you touch type those mean little.

Imagine haptic key feedback that was also related to game/app/editor state.

z9znz··on Woodworking through the mind of an engineer
I'm used to hearing tall Os from Canadians, but I guess this was the first time I've ever heard a Canadian talk about a mouse. If I hadn't first seen the creature, it would have taken some time for me to realize what he was talking about :).
z9znz··on Woodworking through the mind of an engineer
The downside is that CNC woodworking videos are less interesting. I know it's not "easy", but it looks too easy compared to less automated methods.

Some of the most enjoyable videos I've watched are of people using Japanese techniques and only traditional hand tools.

Page 1 of 19Next →