HNHacker News
TopNewBestAskShowJobs

nanidin

2,058 karma · joined December 29, 2010

submissionscomments
nanidin··on Show HN: C++ virtual_vec vector implementation
std::vector::push_back() has a documented complexity issue that occurs if a reallocation must occur as a result of the push (in order to grow the memory backing the vector).

To benchmark this virtual_vec fairly against std::vector, you would need to call std::vector::reserve() with the intended number of items you intend to store in the vector before you start calling std::vector::push_back() in a tight loop.

[0] https://www.cplusplus.com/reference/vector/vector/reserve/

nanidin··on FOSS app removed from the Play Store for linking to the project's website
I switched to Duck Duck Go on mobile as a direct result of AMP. So not only did AMP fail, but Google lost most of the eyeball time they were getting from me and they're not getting it back any time soon.
nanidin··on The 'Great Resignation' is really the 'Great Discontent'
> Why are you being downvoted?

Lack of proper capitalization.

nanidin··on Pentagon will require all troops to get Covid vaccine by Sept. 15
Guillain–Barré syndrome[0] is a rare reaction to vaccination that causes the body to attack its own nerves and damage the myelin sheath. Possibly related?

[0] https://en.wikipedia.org/wiki/Guillain-Barr%C3%A9_syndrome

nanidin··on Pentagon will require all troops to get Covid vaccine by Sept. 15
Guillain–Barré syndrome[0] is a rare reaction to vaccination that causes the body to attack its own nerves and damage the myelin sheath. Possibly related?

[0] https://en.wikipedia.org/wiki/Guillain-Barr%C3%A9_syndrome

nanidin··on Apps Getting Worse
I think it shows a shift in priorities from users to metrics like engagement and profit. Then the prioritized parties are Spotify or investors. It stinks, but it opens the door for competitors that can compete on things like user experience even though there are powerful competitors already in the space.
nanidin··on The Problem with Perceptual Hashes
In net terms, you're probably right. But at least the energy used for cryptocurrency is being used toward something that might benefit many (commerce, hoarding, what-have-you), vs against something that might result in the arrest of few.

The economics I'm thinking of are along the lines of cryptocurrency energy usage per participant, vs image scanning energy per caught perpetrator. The number of caught perpetrators via this method over time will approach zero, but we'll keep using energy to enforce it forever.

All this does is remove technology from the problem of child abuse, it doesn't stop child abuse.

nanidin··on Why Disney World doesn't have mosquitoes
Interesting the various words we use for such behavior: planting, seeding, astroturfing
nanidin··on The Problem with Perceptual Hashes
> Apple has over 1 billion devices. Assuming ten scans per device per day, you would reach one trillion scans in ~100 days.

People like to complain about the energy wasted mining cryptocurrencies - I wonder how this works out in terms of energy waste? How many people will be caught and arrested by this? Hundreds or thousands? Does it make economic sense for the rest of us to pay an electric tax in the name of scanning other people's phones for this? Can we claim it as a deductible against other taxes?

nanidin··on “People have asked if we'll adopt this system for WhatsApp. The answer is no.”
I imagine this is the result of some sort of negotiation with the US government. US government wants backdoors, Apple doesn't want to provide them. Apple also wants to store pictures on iCloud encrypted, without encryption backdoors. The compromise to protect the rest of encrypted things on iCloud was to implement this client side scanning before upload to iCloud to ensure iCloud does not contain any illegal material without exposing backdoors directly to the US government.

In light of that, I then imagine that other providers are already storing photos and data unencrypted and did not object to adding scanning on the server side, and also did not share anything about the scanning with the public.

nanidin··on Ticket Monkey
I worked under a director whose resume padding for the job was going to be switching from JIRA to Salesforce for tickets. JIRA worked well for engineers and QA, but management wasn’t getting the types of reports they wanted. Reportedly. Our JIRA implementation had evolved over several years and we had 50-100 people familiar with it and happy with it.

When we started down the path toward Salesforce-ification, it involved lots of bulleted feature lists. Maybe 1-2 wireframes. Then this was handed to contractors who implemented it exactly as written without an eye towards usability. Simple things like saving a ticket with some fields blank or unknown we’re not supported and made the entire ticketing process miserable.

I eventually stepped in as the voice of the “customer”, customer in this case being fellow engineers and support staff. I eventually left the company before the final implementation, but even by then no one prioritized usability and design.

nanidin··on Beware of 'shrinkflation,' inflation's devious cousin
For a while, Walmart price tags showed $ per unit. I think that helps keep things fair.
nanidin··on Woman sues L.A. after being struck by car on a street where tents block sidewalk
Hmm. My takeaway from Amdahl's Law is that if one has a parallelizable problem, one can keep throwing processors at it, but eventually there is a slice of overall work that cannot be parallelized. Stepping back and refreshing myself on Amdahl's Law, I can see how this relates to Amdahl's Law. I like it.

Anyway, I agree with your general sentiment, and it tickles my mind. Thank you!

nanidin··on IPv4 pricing
I think I agree with you (RE: make a comprehensive write-up), but I also seem to remember thinking the same thing when I was setting up the latest iteration of the server and then googling it and finding that such a guide already exists :) Part of the problem is that it's an evolving system and things change over time.

Spam is an interesting problem. Assuming one self-hosts and makes their email address publicly available, then one can get a metric for how much spam is flying around. Eventually one will try to stop spam from coming to their inbox, and on doing so one might build a mental model for how the big mail providers combat spam and realize why one's emails are not being delivered. Then one might realize that one is sending mail that one would not willingly receive! And then take action to resolve.

In general though, there is some base effort to establish trust, and as long as you don't ruin it by sending spam, then you shouldn't end up on a blacklist. If you find that your IP was on a blacklist before it became yours, then work with the people that are blacklisting - but at that point it does become a bit of a job. I actually ran into an issue in my professional life where an AWS WAF rule started alerting on one of our own servers hosted in AWS because someone had previously used the IP for malware C&C.

Anyway - I will think on this and see if I can write something up. It's a good idea. My main concern is that there is a gap between the way I did things (sysadmin style) and the "new" way of doing things (containerized).

nanidin··on Woman sues L.A. after being struck by car on a street where tents block sidewalk
I like the reach for Amdahl's Law, but it's about how fast you can speed something up by doing it in parallel, isn't it? What's to say someone else can't be eliminating the other classes of homelessness in parallel, making the problem effectively embarrassingly parallelizable?
nanidin··on Woman sues L.A. after being struck by car on a street where tents block sidewalk
I have thought about this a bit as one of the parks I walk through has a few homeless people and a lot of litter. And I don’t like litter.

Picking up litter in a park isn’t a steady job, but it’s something they can do because they’re already there, and paying them to do it seems better than handouts of equivalent value. It’s a win-win in terms of value exchange, and it doesn’t push the recipient into the mental role of panhandler or beggar or unworthy-person. They did something, they got something for it.

When I've thought through this, some of the scenarios and questions that come up are interesting and I'm not sure how things would play out. Would homeless people litter more, in order to be paid more? Would everyday people litter more because they know the homeless will get paid to pick it up? Is there any net gain for society? Would I be exposed to liability if I were the one paying these people? Should the public be the one paying?

In a way, this thought pattern is akin to finding a way to gig-economize homeless people. idk. Just things on my mind, about my community that I would like to improve.

nanidin··on Life before smartphones (2020)
I’ve been suffering the same thing over the last few months. A helpful technique for me has been to swap out my smart watch for a dumb watch, and to put my phone in a drawer unless I intend to use it.

I also heavily limited the types of things Facebook will send push notifications for. It used to be that if I got a notification, it was because one of my friends actually interacted with me in some way. Now I get a bunch of junk notifications that I feel are designed to pull me into the app and not really inform me of anything, to get me back to scrolling a feed. Like I’ll get a notification that someone I don’t know made a post in a group I’ve been in for years without ever getting a similar notification in the previous years. So I basically turned off everything that doesn't involve my actual friends doing something relevant to me.

nanidin··on Ask HN: How to Do Accent Reduction?
I learned French using the Pimsleur method - basically you listen and repeat things as you hear them in an audio course. As a result, my accent in French threw off native speakers in a way that made them think I was a native speaker.

I would look into if there is some similar audio based course in your native language that targets English.

My experience learning Spanish and French in classroom settings was that once most people see a word written, they fall back into a way of pronunciation that leans toward their native language and causes an accent. Audio only courses can help break that pattern.

The Pimsleur method should also help your use of “a” and “the” feel more natural which is going to help with your rhythm when speaking. Even as a native speaker, if I drop “a” and “the” I’m going to sound strange.

nanidin··on IPv4 pricing
As the saying goes, the best time to plant a tree was 10 years ago, the next best time is today. Maybe it is tough to get trusted by the major providers in a short time period today, but if it’s something you’re interested in, don’t let that stop you!
nanidin··on IPv4 pricing
I have never had a problem sending to gmail or Microsoft addresses that didn’t involve at least making it to the spam box. I can’t speak with absolute certainty how every email admin handles things, but I have run into issues sending mail to some domains where I got a bounce and was able to reach out to the admins and get it corrected. Accepting mail for delivery but failing to deliver must be a violation of some RFC or email standard as it makes it impossible to send mail as a non-megacorp.

What I would like to get across is that self hosting is not impossible or unacceptably unreliable. If Google and Microsoft have policies that make it difficult to send messages to gmail or hotmail users, that isn’t a reason in and of itself that we should not self host. It’s a reason that we should work with Google/Microsoft to have better policies - but accepting things as they are and writing off self hosting as impossible is eventually accepting control of email by a limited handful of corporations, which I don’t think is a good thing.

nanidin··on IPv4 pricing
I have self hosted personal mail for over a decade. There are occasional hiccups with deliverability to new gmail addresses, but that is it. In those cases, once a recipient marks me as not spam once, there aren’t any more problems.

I think maybe once in the last 3 years I ended up in someone’s spam box, total. In fact I just sent to a new gmail address and to a university I have never contacted before this week and both were delivered without issue.

Setting up DKIM/SPF/etc isn’t that hard and it’s fairly easy to verify with existing tools FYI.

nanidin··on BirdNet – Identify Birds by Sound
I whistled to the app and it identified the sound as human. I haven't gotten a chance to try it with an actual bird yet.

Location (as well as date, time, light, air pressure...) is certainly a factor that should be used when classifying something though.

I think the problem is probably related to data collection / data integrity. At least in my case, I'm using an iPhone that has variously placed microphones and speakers. It isn't clear to me how to hold the tool to collect the sound. If it gets wet or grungy, it's not something that is user-serviceable. I don't have an easy way to tell if it even needs to be serviced. If you're relying on the microphone that follows you literally everywhere to remain clean & untarnished - maybe that's the problem?

My phone rides in my pocket, it picks up dust, it gets moist, it gets dropped, etc. Perhaps I'm projecting. Maybe your phone is untarnished and is working fine? Do you have data to back up the 100% fail rate across Europe and North America? It seems you might be projecting as well?

nanidin··on BirdNet – Identify Birds by Sound
FYI for anyone reading at Cornell - the donation page fails with "Fund Code This field requires a value." I wanted to make a contribution because a few months ago I was using the iSeek app[0] while hiking and I thought, "You know, with enough recordings of birds, it should be possible to build a classifier to identify birds based on their bird songs. Someone should make an app for that." And here it is!

[0] https://www.inaturalist.org/pages/seek_app

nanidin··on Mark Zuckerberg says Facebook will turn into a ‘metaverse’
My thoughts: your username starts the same as a very culturally sensitive word for USA. You come in and leave a short comment that does not really contribute to the discussion, just brings about negativity. That's kind of like running up to someone and punching them, then running away. Not cool - you should engage in rational discourse rather than snipe. Fight, but fight fairly. You have a green username (new)?

People see things like this and think, "Troll", hence the flagging. I did not flag or downvote in this case, as I came across it hours after it already occurred.

nanidin··on Judges reject Viasat’s plea to stop SpaceX Starlink satellite launches
I'm a westerner, but lived in a village in Indonesia for 6 weeks. I agree the cost of a base station + monthly fees would be exorbitant for most living in the village as currently priced for the US market. Interesting note though, they had satellite dishes with pirate decoders to watch satellite TV, which gave them access to things like American movies. This is in a place where a cup of coffee was $0.10 and a pack of cigarettes was something like $1. The family I lived with had four kids, the father climbed trees to collect juice to ferment into tuak, which they sold at a roadside stop for something like $0.05/bottle. They also had a small farm. They were able to afford running non-potable water, electricity, TV + satellite dish + decoder, and cheap cell phones with data connections. I'm sure Starlink would be priced in a way that was affordable in the local economy should it get there, and that people that have no other internet options will take it up and join the modern world. I think that will be a net win for society.

Not a direct reply, but Starlink will also enable some interesting scenarios around open internet access in places where it doesn't exist today - like the Middle East during the Arab Spring, or in China, or in North Korea.

nanidin··on It doesn't take much public creativity to stand out as a job candidate
I have a traditional Computer Science background and I'm still intimidated to even apply to Google. I got out of bigCo Software Engineering in part because I wasn't interested in putting myself through the wringer of whiteboarding memorized solutions.

I'm also the guy that found low hanging fruit in a huge codebase to replace things like frequent linear array lookups with hash table lookups for 10x+ speed improvements in the build process. This is IMO precisely the type of capability that "Oh, that's O(n^2), surely we can do better. Is there any way to do this in O(1)?" is designed to tease out in the interview process. I did it! In a build process effecting 1000+ engineers, used to build for millions of shipped units! But talking about this in an interview makes eyes gloss over as we prepare to move on to sort algorithm trivia, how would I design search, or doubly linked list implementations.

nanidin··on It doesn't take much public creativity to stand out as a job candidate
I highly recommend interested readers to follow through to the Quora page. It’s more or less a public apology, and helped break me out of the echo chamber that occurs here and on Reddit related to interviewing at Google.
nanidin··on From Macy’s to Ace Hardware, facial recognition is already everywhere
Home Depot is a monopoly? Here in my midwestern city in addition to Home Depot we have Lowes, Ace, Harbor Freight, plus access to online places like McMaster-Carr.
nanidin··on A foreign seller has hijacked my Amazon Klein bottle listing
It's a bit strange because if you go to actual Israel, there are ways around Shabbat rules that align with the Torah/Talmud. For example, on Shabbat, there is an elevator that stops at every floor (so no one has to push the button).

It's also my understanding that it's kosher for gentiles to perform actions outside of the constraints of the rules of Judaism, like turning on/off fans on behalf of those respecting the rules of the sabbath.

nanidin··on Bring back menus, QR codes are terrible
A lot of places I frequent in Kansas City switched to QR codes on tables that redirect to an online menu. I like it - less clutter on the table, no giving back of printed menus, no asking for the drinks menu back when the server comes around for another round, and no asking for the dessert menu at the end of the meal if I'm actually interested in dessert.

Another great aspect of the QR code driven menus is that after my meal or drink arrives I still have the menu readily available, so I can check what is in the dish or drink that's in front of me. It's great for foodie restaurants that give lots of description in the menu - before, when the meal came out I would sometimes find myself wondering what that odd shaped component was on my plate, but with a first class phone accessible menu I can get back to the description of what I ordered and figure out what's on my plate, or figure out what might be making my drink taste like bitter orange.

I didn't notice how much I liked these things until I recently traveled to Santa Fe, where every place was still using printed menus. One drink menu for a table of five? Let's all pass it around and tell the server to come back in a few minutes after we've had a chance to look one by one. Server took all of the menus after ordering, then comes around after the meal inquiring if we want dessert? I don't know what's on the menu, but I'm not interested in waiting for the server to come back with the menu. I ordered posole as a side, but forgot what the description was? I guess I'll google it...

← PreviousPage 15 of 24Next →