HN user

iamthad

38 karma

[ my public key: https://keybase.io/iamthad; my proof: https://keybase.io/iamthad/sigs/b5P6Iiwt0Pvbwume_m-nlI5eFr-lApztKqxT0J32wZw ]

Posts0
Comments23
View on HN
No posts found.

strscpy seems like a nice interface. Is an implementation outside of the kernel available? Preferably one that is permissively-licensed?

Also, it doesn't appear to be specified what happens if the count argument is too large to be represented as a ssize_t. The destination buffer would have to be extremely large, so it probably doesn't happen in practice, but it'd be good to specify it, or at least explicitly state it's unspecified / undefined.

https://www.kernel.org/doc/htmldocs/kernel-api/API-strscpy.h...

I read PEP 394 (https://www.python.org/dev/peps/pep-0394) differently. It states

The more general python command should be installed whenever any version of Python 2 is installed and should invoke the same version of Python as the python2 command

Rather than permitting python to refer to python2 during a transition period, that is the recommendation. They later state

It is anticipated that there will eventually come a time where the third party ecosystem surrounding Python 3 is sufficiently mature for this recommendation to be updated to suggest that the python symlink refer to python3 rather than python2.

For what it's worth, git add, git checkout, and git reset all take the -p (or --patch) option, which allows selection of sub-sections of files to stage, discard, or unstage, respectively.

Ayn Rand (comic) 13 years ago

If you consider yourself a "good hacker", then "anything [you] might find interesting" is exactly what the guidelines say is on-topic:

On-Topic: Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity.

http://ycombinator.com/newsguidelines.html

I believe this is incorrect. If I remember correctly, transport was not the only issue with building the solid rocket boosters in one piece: physically pouring a solid rocket motor of that size was infeasible.