HNHacker News
TopNewBestAskShowJobs

mcovey

128 karma · joined December 4, 2010

submissionscomments
mcovey··on Things I’ve learned in 20 years of programming
First one was an immediate turn-off. Duplicating code once is fine. With the given example, there's no need to start building an abstract billing method and a data structure to encapsulate the differences in billing between different countries, because there are only two countries and one is new. Wait for a pattern to emerge before refactoring, especially when such refactoring will make the code more complex and harder to reason about.
mcovey··on Google Begins Testing Extension Manifest V3 in Chrome Canary
It took me about a year before I stopped getting any legitimate email at my gmail address. Start changing everything you can to your new email address at a domain that you own, and start forwarding your gmail to it. Every time a legitimate message comes in to your old gmail address, tell that person about your new email address, or update your email address with that service.
mcovey··on I Miss the Old Internet
Maybe I'm just getting old, but the internet does not entertain me like it used to. There used to be so many fun communities, now everything is Facebook, Reddit, etc. We used to make fun of people who took the internet too seriously, but nowadays the internet really is serious business.

I think the dawn of smartphones, high-speed wireless data, and the internet being in everybody's pocket is one of the primary drivers behind this.

mcovey··on Turn off DoH, Firefox
I simply don't like DoH because I use a DNS provider that I have chosen - OpenDNS - specifically because they log my DNS queries and let me see that log. I don't mind DNS lookups from my network being logged, as long as the provider does accurate, uncensored DNS lookups. It's helped me find domains to block such as tracking domains used by IoT devices that I can't configure myself.

I have my router directing all DNS traffic to OpenDNS so these devices can't pick their own servers, any outbound requests on port 53 will be redirected. If they start using DoH/DoT, I can't do that so easily. I'd have to start monitoring outbound traffic and do hostname resolution on the IPs.

I think the privacy argument for DoH in the browser is fairly weak, since doing a DNS lookup is not really an indication of, well, anything really. No matter what domain it was, there's no indication that the user intended to visit a website or use a service on that domain, it could be as simple as a lookup to load an embedded image in a spam email. The only good usage of it is to prevent censorship via DNS.

mcovey··on Android 10
My phone is going on 3 years. No removable battery, but I followed the iFixit guide and managed to replace the battery anyway a few months ago, since it had lost a lot of capacity. I intend to keep it for another 2-3 years at least.
mcovey··on I Can’t Stop Winning
I love the stable UI too, because I've applied my own custom CSS to it, and written a userscript to give myself some extra functionality I want, like some highlighted tags in the popup window, and it never breaks.

Even without any tweaks, it works, and that's way more important than being pretty (to Pinboard's userbase of nerds at least). Usually UI refreshes come with features being broken or dropped altogether.

mcovey··on Ask HN: How do you organise your hard drive?
Firefox defaults to remembering where you last downloaded a file for each site. This is useful for things like image sharing sites when you always want to drop pictures into your pictures folder, but you can disable it and always use the default downloads folder.

In about:config, set 'browser.download.lastDir.savePerSite' to false (you may have to create the preference), set 'browser.download.useDownloadDir' to true, and set 'browser.download.lastDir' to your preferred location.

More info - https://support.mozilla.org/en-US/questions/887248

mcovey··on Ask HN: How do you organise your hard drive?
I have my documents organized by topic, my code repos organized by... well, each folder is a repo in ~/code.

Stuff like bills and receipts I don't usually download, I just keep copies in my email archives and purge old ones once a year or so.

I keep everything that's pending review in ~/downloads, even if it's not a download, because my home folder is a bit cluttered with dotfiles and I like to keep hidden files visible. I don't use a desktop folder so this is my equivalent to what many people use their desktops for.

My pictures are generally just in folders with a date and meaningful name like "2018-11-FL-Vacation".

Music is just all piled into one folder since my car's USB reader can only read from the top-level folder and I mostly download stuff to listen to in the car.

By the way, since you mentioned PDFs, a handy tool to use is pdfgrep (https://pdfgrep.org/) to do text searches of PDF documents. I also use the 'locate' command a lot to quickly find files by filename/directory.

mcovey··on 'Talent Wants Transit': Companies Near Transportation Gaining the Upper Hand
A lot of NIMBY-ism is because of money. Having an apartment complex go up in your backyard often reduces property values. It's not that people don't want other people to have a place to live, they retain want to retain their property values. It sucks selling your house for less than you paid, or worse, being upside down on your mortgage.
mcovey··on Tulsa Remote
This is very true. I had a fantastic apartment that I got by walking in and asking about availability. They always seem to have something available within a few months, but don't advertise at all, anywhere. Yet remain at near-100% occupancy.

Actually the only ad they really have is a "now leasing" sign with a phone number near the entrance.

mcovey··on Let Teenagers Sleep In
I also think I'm non-24. Unfortunately its only considered a real disorder in the blind. Taking melatonin helps a bit -- I'm convinced my pineal gland is broken somehow.
mcovey··on Ask HN: Got a CS degree, but I’m unable to be programmer. What can I do?
For every job I've had, I never had a coding challenge during the interview. I had one where I had a homework assignment beforehand that we discussed during the interview, and mostly just talking interviews discussing my experience etc. I also work in a small city on the east cost and make less than half of what most people here do ($65k so maybe not really less than half) so that might have something to do with it...
mcovey··on Remote Only
Even though I'm much better at expressing myself with writing than through speaking, I get some anxiety about bothering people or keeping their attention that makes it difficult to "work through" a problem remotely. When I know exactly what I'm doing and just need to communicate it, everything's great. When there's an issue that two or more people need to look at and discuss at the same time, it gets much more difficult. I'd be the perfect remote worker for a company without tight deadlines where there are never any "fires" that need to be put out. But there aren't very many of those.
mcovey··on If wages are to rise, workers need more bargaining power
I had to negotiate working several days a week remote, because my job doesn't pay enough to live in or within 45 minutes of the city it's in. Starting this July I'll be working in-office 2 days a week and commuting over an hour. This is so I can afford housing. I basically offered my employer a very gentle ultimatum - I explained that my rent was going up and I'm being priced out of the city, that I like my job and would like them to invest in me, and offered them the two solutions of a raise or working more time remote so I could live somewhere more affordable. They picked the latter. I feel less invested in to be honest.

I am ambivalent about this solution. On one hand, even if I were to lose my job, I'd be able to afford my house just with unemployment pay, and even if I take a job that pays less after, it will likely still remain affordable. On the other hand, it ties me more to my employer because not all are willing to allow remote work and if I have to take a new job in the city, it may require a very long commute 5 days a week. But not all, or even most employers in the city pay enough to live in or near it. That's just the way it is.

I understand many people are not lucky enough to have either choice.

mcovey··on Ask HN: What's your favorite way of getting a web app up quickly in 2018?
I don't run a MySQL server on my personal computer. I don't want to run one. If I want to start writing code right away to flesh out an idea, SQLite is the tool I can use, it enables me to develop locally with no SSH/FTP overhead or setting up a VM. It lets me start writing code instantly. And it's performant enough for most any MVP, and the SQL dialect is pretty standard so you can upgrade to Postgres or SQLAnywhere or whatever you please when the time comes.
mcovey··on Ask HN: What's your favorite way of getting a web app up quickly in 2018?
Sure it can. Almost every website on the internet right now has undiscovered security holes. Obviously you won't be leaving them open on purpose, but not using a framework is a legit choice and "it provides security that you can't implement without one" is a bad argument.

Yes there's convenience in "somebody already thought about everything you need before you did" but there are also security libraries, checklists, tutorials, and other tools besides a full framework with all its baggage to help developers write secure code.

mcovey··on Why Is Location Data No Longer Private?
I spent a while not carrying a phone with me at all. It was kind of a pain. I went back to carrying the dumbphone, turned off. I turn it on during my breaks to check if I missed anything.
mcovey··on Ubuntu 18.04: Unity is gone, Gnome is back, and Ubuntu has never been better
For some reason I can only run the snap with sudo, and thus any processes it spawns (clicking links or opening a file manager for example) run as root.
mcovey··on Dumber phone
I like being able to use it in bed with one hand, and occasionally to have pocketability, to bring it to things where I'll have to do a lot of waiting, like doctor appointments or being a passenger on a long ride.

I looked into small tablets a while ago and found that the selection was pretty limited and none of the few that looked reasonable could easily run LineageOS.

But a phone with no SIM card or plan is basically just a really small tablet anyway.

mcovey··on Now Is the Perfect Time for an RSS Renaissance
YouTube killed it's new subscription videos feed a few years ago, it's no longer possible to get a single combined feed of new videos from all channels you're subscribed to. The only alternative is to export the entire subscription list in OPML format (youtube at least provides this) and import them into a feed reader.

I stopped subscribing to channels on YouTube after this and only subscribe in my RSS reader, because it was too difficult to manage synchronizing subscriptions between the two.

mcovey··on Dumber phone
I prefer disconnected by default. I connect when I want/need to.
mcovey··on Dumber phone
Yes, of course many people still use phone calls and SMS.

You can also email via SMS if you so desire, both sending and receiving works, although finding out your SMS email address usually involves sending yourself an email from the phone first.

mcovey··on Dumber phone
I own a smartphone, but I use it like I'd use a tablet - wifi only, at home. My primary phone, the only one I take with me to work most of the time, is just a pay-as-you-go flip phone.

In fact, I didn't downgrade to this from a smartphone. I've never had a smartphone with phone service, that I carry around with me or use. Maybe I don't know what I'm missing. Maybe I don't want to know.

The only real thing I wish I had was an easier way to carry on text conversations. Typing on a phone dialpad is not very fast. Most of the time I can use Verizon Message+ which works in a web browser and lets me send SMS from my own phone number. But when I'm not near a computer, I can't do that.

mcovey··on Tell HN: Slack decides to close down IRC and XMPP gateways
It's certainly possible using BitlBee - https://www.bitlbee.org/

But as far as I can see nobody has written a Slack-API plugin for it, yet.

mcovey··on Show HN: Investment Calculator – A simple retirement calculator
I think it's asking how much you've saved for retirement, not what your net worth is.
mcovey··on Show HN: Investment Calculator – A simple retirement calculator
All this does is scare me. I honestly hope I die before I have to retire, because there's no way I'm going to have saved enough money to live off of, even modestly, and no way I'm going to remain sharp enough to continue earning through and beyond my 60s.
mcovey··on In an Era of ‘Smart’ Things, Sometimes Dumb Stuff Is Better
Having to get out of bed and go turn the switch off with your hand builds character.
mcovey··on Square announces the Register, a $999 point-of-sale device for larger businesses
It looks like this is called "Level 3 data" and primarily for corporate cards, not standard consumer credit cards. I'm not sure if that data is still collected for consumer purchases - I've never been offered any opportunity to see more detail about what I purchased, even for a price.

One significant benefit of having that data would be that it would be easier to remember and prove things you owned for insurance purposes after a loss.

mcovey··on Square announces the Register, a $999 point-of-sale device for larger businesses
I understand they know where I shopped, that is clear on my statement each month. But they don't know what I bought, unless I shop at a store that only sells one thing.
mcovey··on Square announces the Register, a $999 point-of-sale device for larger businesses
I've never had one, and it's as difficult for me to understand why people think they need one, as it is for them to understand how I survive without one.
← PreviousPage 2 of 6Next →