HNHacker News
TopNewBestAskShowJobs

davchana

885 karma · joined May 31, 2017

[ my public key: https://keybase.io/davchana; my proof: https://keybase.io/davchana/sigs/BzVbWmi4FjZrfeXOnsfRqWcUmLVMPqeGbzR6z9_xssg ]

davchana.at.hn

submissionscomments
davchana··on Did you lose your AirPods?
Basically it's a QR code masking your contact details. You can put it anywhere. It costs about $5.
davchana··on Did you lose your AirPods?
https://app.ngf132.com/

Long time ago I came across very similar concept in use in India. Not much, but visible usage. I also came to know by looking at a sticker on car windshield.

davchana··on How to avoid losing items? Holding pens
Ask me. 100+ journals. 10 packets of 10 pen packets. Colorful index cards. A5 files. Cube notepads. Postit notes. Notepads, yellow, white, a5,letter,legal.
davchana··on Airlines are running out of 4-digit flight numbers
> Airport boards are conveniently sorted by departure time.

Not true always. Often I see them sorted alphabetically by Destination, then time (in west coast US). Or occasionally (in middle east) by Airline Name & then Time. All Qatar Airlines together. Sometimes even whole LCD Labeled (digitally, on screen) as A-E, F-M etc. and a bit frustrating way, because often I know my flight destination, but not precise time (& sometimes time shifts around), sorted by pure time.

davchana··on Don’t let your domain name become a sitting duck
Hosting can't make the challenge. Only way to prove is to make a TXT or cname record. Anybody where tha NS is pointing to, can make any DNS records.

Its like you put a lock (NS) on your box (Domain). After few months you don't care about that box anymore and leave that key in the wild. Anybody can pick that key and use the box. The box holder (domain registrar) can't make you verify that you are the original owner 'by' asking you to open the box, because by default, anybody who has key, can open the box. The correct way & responsible way is to destroy the box (delete the domain) or at least destroy the key (unpoint the third party NS records).

davchana··on Don’t let your domain name become a sitting duck
> so they can give the domain to some other customer of theirs without doing any verification

Hosting company can not "give" the domain to anybody. If domain is still pointing to Hosting with NS records, anybody could make an account at Hosting, and add that domain. Now that scammer controls whats visible at Domain, but he is not yet the owner of domain.

Owner is who control and can change NS records. Scammer can change all other records, but not NS. NS is at original domain registrar. Original owner can very easily change the NS and cut the scammer out of everything (& should).

Gitlab used to be like this. You add a domain to Gitlab. You add an A record to your domain registrar or NS Manager. Now your domain shows your Gitlab Page. After few months, you don't want the pages anymore. You delete the project from Gitlab. You ignore to delete the A Record. Scammer adds that domain to his Gitlab, and shows his content at your domain.

Now Gitlab asks you to add a verification TXT record when adding any domain. Scammer's veri record is different. He can't prove that he owns the domain.

davchana··on Don’t let your domain name become a sitting duck
> why you would ever switch your domain's NS entries away from your current registrar's nameservers,

I want my domains at dynadot or namecheap or hexonet, but want CloudFlare to manage all DNS. CF doesn't support al ccTLDs.

davchana··on Don’t let your domain name become a sitting duck
Gitlab also had same issue few weeks ago. Gitlab, once static pages are published, gives you a URL with gitlab.io ending. You can use your custom domain or subdomain by pointing CNAME or A record to Gitlab.

What users would do is, add DNS records to their DNS Manager to point their custom domain to Gitlab Pages, later will delete the Gitlab pages when not wanted any more. Scammer will simply point that same domain to his fake repository, thus hijacking customer domain.

Gitlab then made customer add a Txt Record for verification of domain. Scammer's txt record value is different from customer txt record, scammer can't modify DNS records.

davchana··on My first program ever coded in 2003
Hi HN, this blog post is about one of my first encounters with programming, logic, variables & related. Hope you will enjoy reading through the code. :)
davchana··on USPS shared customer postal addresses with Meta, LinkedIn and Snap
There are whole discussions on various forums and subreddit about image background, fonts of address, sending addresses of USCIS letters to immigrants applicants, to know or guess whats the content of the letter, due to anxiety and curiosity of can't wait until you actually open the letter, that if this letter is a routine acknowledgement, or interview request, or request for proof, or approval or something. Most of the time if the address section shows a part of green statue of Liberty, its a good news.
davchana··on USPS shared customer postal addresses with Meta, LinkedIn and Snap
I think the .us registry regulates the state name abbreviation subdomains, and school districts and county levels. I agree, not as good as .gov tld, but still, a layman lile me cant get a example.ca.us without some kind of proof showing actual connection with California government. (Not that California uses .ca.us, it uses .ca.gov)
davchana··on Why Google Takeout is sooo bad
My first struggle with then newly launched Google Takeout was, if you export all of your google keep notes, if you have any note without title, the whole takeout will fail, or will give you damaged zip file. I opened it with 7-zip, and then found that all notes with titles were there, and first note without title had a filename Error: something. So, the loop was failing at encountring first note without title.
davchana··on Sending emails to my three-year-old
Sure, I will post it on Gitlab, n will let you know. Need sometime to remove my own folder keys and stuff. Lots of things are simply hard coded.

This post was my inspiration:

https://www.labnol.org/code/download-gmail-eml-201028

davchana··on Sending emails to my three-year-old
Not OP, but I have a Google Apps Script running on daily schedule which extracts every email older than 30 days as .eml file, renames it as YYYY MM DD HH MM SS SUBJECT.eml, saves in a Google Drive Folder with YYYY as subfolder. Drive itself is synced instantly with my hard drive, and I backup that drive occasionally (like around 3 to 5 weeks) to another local & rclone to Dropbox.

30 days so that I can have enough time to delete it. Trash & Spam is excluded, and every successful downloaded email is labeled to prevent it getting downloaded again in next run.

Originally 4 years ago when I started this script, it was timing out because of about 15 years of emails. I ran it for 6 minutes only, every hour. Now once it caught up, it needs only few seconds, and there are only like 5 to 20 emails caught in its daily net.

davchana··on Uganda's surveillance state is built on national ID cards
OP is wrong. Only the number is required, not proof. OP was right in 2018.
davchana··on Uganda's surveillance state is built on national ID cards
You are welcome.

This is not a corner case (SSN required, not card). I would say its more like 90%. Since 2021 nobody needs proof of SSN, they just need the SSN number itself.

To quote CA DMV website:

> Applying for a REAL ID requires proof of identity, proof of California residency, and a trip to DMV. You will be asked to provide your Social Security number on your REAL ID application (exceptions may apply).

https://www.dmv.ca.gov/portal/driver-licenses-identification....

davchana··on Uganda's surveillance state is built on national ID cards
In California, you need social security (number only, not card), only if you are eligible for one, or has one. If you are on a non immigrant non work visa, and thus are not eligible to work/ssn, you still can get REAL ID.

Not every REAL ID holder is a citizen & thus eligible to vote. Real ID needs only proof of legal status (citizen, permanent resident, tourist, work permit, study vis etc) and address.

davchana··on Special-use domain 'home.arpa.' (2018)
Numerical 6 to 9 digit .xyz domains are 0.99 cents a year, $10 for 10 years.
davchana··on Special-use domain 'home.arpa.' (2018)
Emirates airlines use .email as their email only domain for booking emails, but their customer service center emails comes from Emirates.com
davchana··on German state ditches Microsoft for Linux and LibreOffice
Yes, my pet peeve is printing as pdf. You can control line thickness, size, placement of row borders to pixel perfect in Excel & it will get printed to pdf or paper exactly as it is. But not from Google Sheets or Excel Web, even same excel sheel imported in these & then printed will have slight difference in what you see on screen and what gets printed. I understand its because of browsers limitations to place stuff on pixel scale.
davchana··on IrfanView
I like that you can simply start a text file or files, and close the program, it will save the session without any exit dialogs.
davchana··on Visa, Mastercard Agree to Lower Swipe Fees, Settling Long-Running Lawsuit
Yeah, when I saw that letter, I was like man, did I miss a payment and its a penalty apr?
davchana··on Visa, Mastercard Agree to Lower Swipe Fees, Settling Long-Running Lawsuit
Shell MasterCard Rewards upped their APR to 34%, (,it doesn't matter because I too pay in full), but yikes!!
davchana··on Cloudflare loses 22% of its domains in Freenom .tk shutdown
Those sites are still up, the control panel is at freeservers.com my Site davinder.8m.net is still up after 22 years. I chose .net because it was cooler than .com :)
davchana··on Cloudflare loses 22% of its domains in Freenom .tk shutdown
My site davinder.8m.net is still up after 22 years. Only 2 years ago I managed to find its password.
davchana··on Scenes from the last operational Morse-code radio station in North America
On older nokia phones un 2000-2004 (when I had them), I could text as long as I know I am on the typing screen. I knew pressing 2 three times gives you c, one 3 gives you D, # changes case, 0 gives you space. Two zeros gives you dot.

I remember texting a lot while phone is under the table, or simply in pocket.

davchana··on Ask HN: Did you encounter any leap year bugs today?
I am gald that in excel, deleting a day from March 1st automatically gives Feb 29 or 28 depending on the year in formula. Before that, I struggled a lot to find last day of month by tracking if its a leap year or not, and keeping an array of months & number of days. Now I simply add 1 to month, and from resulting daye I subtract 1 day. The Date value of that gives me 31 or 30 or 29 or 28.
davchana··on Ask HN: Did you encounter any leap year bugs today?
Are you sure? My F91W doesn't even ask for year in settings. How would have it known it is a leap year or not.

Some other models (not F91W) does track year.

davchana··on Ask HN: Did you encounter any leap year bugs today?
My Casio F91W I assumed would know that year YYYY is leap, and would show 29th as Date. No, it showed 1 as in March (it doesn't show months). I had to manually set it back to 28th so that tomorrow it shows correct date.

To be fair, it doesn't ask for year anywhere in settings. It simply doesn't know what year it is.

davchana··on Indian government moves to ban ProtonMail after bomb threat
What if it comes by postal mail i.e. India Post?
← PreviousPage 2 of 31Next →