Hacker Newsnew | past | comments | ask | show | jobs | submit | dhmiller's commentslogin

Some developers just write bad documentation. Some spend so much time in the weeds that when it comes time to write the documentation, they write a garbled string of words that tries to address all of the edge cases with not enough emphasis on the core usage. Others don't know how to express the concept of a feature in a simple and straightforward manner.

As a member of a Developer Experience team, I can confidently say that good documentation does not require a "certified" technical writer. Good API documentation just requires that another person, who has not worked on the feature, review the documentation in code review.

As a founder, it should be important to you that your business is providing the best possible value to your customers. If your business is providing an API, then you should cater to the developers who will be consuming that API as much as you are catering to the executives who will be signing the paperwork.


I was working from home about 2 or 3 days a week before the pandemic. I always found that the key to success is to maintain as much of my standard "going to the office" routine as possible.

- I wake up at the same time every day.

- I eat breakfast and have my morning coffee at the same time every day.

- I shower and dress the same way as if I were heading into the office every day.

- I have a dedicated place in my home that I work from every day.

- I stop working around the same time every day.

It is essential for me to do all of these things. Just because I'm not heading to an office doesn't mean that I can start my day any later. Just because I'm home and my work can be done from home doesn't mean that I should continue working any longer than I would in the office.

Maintain your schedule and routine to... maintain your schedule and routine.


There are things that vim does better. There are things that VS Code does better. There are things that Visual Studio does better. You can memorize all sorts of things about your particular editor of choice and you will be more efficient and effective in that editor.

If I wanted to cherry pick examples of what vim does better, I could start all of them with, "first ssh into a random server."

What makes vim great is that it has a tremendous number of features and is available nearly everywhere. Can VS Code do that?


VS Code can (sort of) do that: https://github.com/cdr/sshcode


sshing into a server invalidates all the time you spent on customizing your local vim.


If you’re on your machine, you can do all of your stuff because you can edit files remotely from within Vim using SSH as the transport: http://usevim.com/2012/03/16/editing-remote-files

If you’re on a new machine, you can grab your dotfile repo from wherever you keep it—like GitHub for example—and you’ve got your complete config, since there just text files. Takes 5 minutes.

But even plain vanilla Vim is more than enough for many tasks on a new Unix/Linux box.


Not if you use Emacs/evil. Tramp invalidates most of the "well, vim is available on all my remote servers, whereas Emacs never is". I just remote into a server from within Emacs.

Evil is also the best and most complete vim experience outside of vim.


> The APPLE DISK is different than most other drives because it ignores the timing hole, using the motor and ‘soft’ timing techniques instead.


I've said it many times before. Biometrics should be used as usernames and not as passwords. You should be able to change a password.


At least in the iPhone implementation, the finger print is neither user name nor password, it is more like a session key. You have to authenticate with username and password, then you can use your fingerprint (or faceID) to access that session for a multi-day period after which you have to reauthenticate with your password.


Good explanation of a good implementation. Thanks for bringing my attention to something that's been right in front of me for years but I didn't know about.


> I've said it many times before. Biometrics should be used as usernames and not as passwords. You should be able to change a password.

This guidance isn't unique, though it is certainly accurate. Case in point sourced from 1999 when the differences between identification v. authentication in a biometric context were being hammered out: https://web.archive.org/web/19990508102505/http://biometrics...


You could use a gut biome sample for a password. It changes slowly over time, so you’ve got rolling built in. And you can do a reset with antibiotics.


Gut biome actually changes pretty rapidly. IIRC some grad student did some kind of sequencing on his stool for a year, the the populations of different strains of bacteria would completely flip when he ate a salad one day and a cheeseburger the next.

His name was Lawrence David, but I can't quickly find the writeup that illustrates the point I'm making.


Is this sarcasm?

I have accounts I haven't logged into for years, but still need access to. Losing access over time is not a good feature. And a 'reset' with antibiotics doesn't make sense for a bunch of reasons.

Also, password diversity is a good thing. I don't want $COMPANY_A's data breach to expose my password to $COMPANY_B


> Is this sarcasm?

Yes


I like that if you eat a healthier and more varied diet you end up with a more complex password.


And you can share your password with the rest of your family with a fecal microbiota transplant.


It's going to be difficult to keep the sensor completely clean for the next person to use.


I already use it as my signature.


Why?


Because it’s funny imagining taking a stool sample to log into Snapchat.


Or, we can develop solutions based on existing [proven] cryptographic primitives, with a focus of abstracting authentication / signing / encipherment functionality to an external key or secure-device.

Example: iPhone (and Andorid) both have "secure enclaves" where cryptographic keys are stored. However when you step into the basic PC/Linux realm the concept of a secure-device for key storage (TPM) is pretty non-existent outside of corporate players. We can do better, without totally going pie in the sky.


Why? If you can reliably determine that a fingerprint actually belongs to a person... it's not as if I can make my fingerprint mimic yours if I happen to come across a photo of your fingerprint... Of course, simple sensors such as phone fingerprint readers can easily be tricked, but that's an issue with that specific implementation (similarly to how you can sometimes see greasy traces of unlock pattern on phone screens), not of the general idea...


People keep forgetting that there are two parts that ought to be (as) secret (as possible) in authentication.

This is why major organisations don't allow usernames to be name_surname or nsurname. They pick random usernames. I remember when I was a student my username was a random string with characters and numbers.

This makes it more difficult to hack my account (without prior knowledge, shoulder surfing, etc.) since it was highly unlikely you could guess my username and my password.


> This is why major organisations don't allow usernames to be name_surname or nsurname. They pick random usernames. I remember when I was a student my username was a random string with characters and numbers.

sounds more like an artifact of early garbagey email systems than any sound security policy. certainly i've seen nothing of the sort from any organization since a VM/CMS system in the early 90's.

> This makes it more difficult to hack my account (without prior knowledge, shoulder surfing, etc.) since it was highly unlikely you could guess my username and my password.

this doesn't make any sense.

if i generate my passwords by a perfectly reasonable, robust procedure, and then prepend them with the string "password", and disclose this fact publicly, they become no less secure.

the username is just like a publicly announced string prepended onto your (hopefully) securely generated password.


Authentication includes both username and password. In a bank I used to work my username was a random 10 digit number. Very annoying to type all the time. The good thing is, if you want to use my account, good luck guessing both my username and my password.

Does that make sense? I do not imply that password should not be complex etc. I am merely pointing out the benefits of having a difficult to guess username.


> Does that make sense?

no, it does not. just add more bits of entropy to your password if you want more "unguessability". there's no benefit to putting it into the username.

the username and password fields can be imagined as a single field; whether the entropy is at the start or end of the field makes no difference. we just split them up for database efficiency reasons. (and because the username ends up displayed some places.)

> I do not imply that password should not be complex etc.

I do understand that's not your implication

> I am merely pointing out the benefits of having a difficult to guess username.

i'm saying that if your password is good enough, it doesn't matter what your username is.

the same way that if the last 50% of your password is "good enough", it doesn't matter if you plaster the first 50% of it onto billboards.


Is this any more secure than just making the password longer?


Absolutely 100% this. Been saying the same for a long time.


I remember when their max password length was 8 characters. It blew my mind that a (effectively) bank had such terrible requirements. At least they fixed that


The 8-character limit was probably because the web site was just a fancy front-end to some decades-old mainframe system. You'd be surprised the age of technology and software big banks rely on. They tend not to fuck with a working system, partly because their reputation and millions or billions of dollars are on the line, but also because no manager wants to be the reason for a critical outage.


What you describe as a Product Engineer, I call a Senior Engineer/Developer/Programmer/etc.

Your examples essentially differentiate between 1) a person who accomplishes an assigned task because it was assigned to them and 2) a person who knows that there is more to completing a task than meeting the defined requirements.


"These videos come from YouTube. They were uploaded in the last week and have titles like DSC 1234 and IMG 4321. They have almost zero previous views."

That is from the initial page load. So it would seem that the title pattern that you observed is intentional


It's probably a strategy to find videos that were recorded IRL by real people.

There's a ton of content on YouTube that's generated automatically, as well as marketing videos, screencasts, etc. but those are not going to be nearly as interesting as something that someone recorded and uploaded by hand.


There are plenty of videos without that format. Those titles are just sequential file names of many cameras.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: