Better HN
topnewbestaskshowjobs
Log inSign up

iamthad

38 karma · joined Nov 8, 2012 (14y ago) · 23 submissions

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

comment 10mo ago · link · parent

Wasn't copying from disk to memory found to be infringing in the Glider lawsuit? https://en.wikipedia.org/wiki/MDY_Industries,_LLC_v._Blizzar....

> Citing the prior Ninth Circuit case of MAI Systems Corp. v. Peak Computer, Inc., 991 F.2d 511, 518-19 (9th Cir. 1993), the district court held that RAM copying constituted "copying" under 17 U.S.C. § 106.

comment 2y ago · link · parent

I think the intended link may be https://www.reddit.com/r/technology/comments/1d9yi7y/change_...

comment 3y ago · link · parent

Your LESS_TERMCAP_us is the issue here; it's literally putting "In" wherever an underline is supposed to start.

comment 4y ago · link · parent

I find the Horstmann indentation style [1], in which code is placed on the same line as the opening bracket, simultaneously disturbing and compelling. If it ever ends up added to clang-format as has been requested [2], it might become more popular.

[1] https://en.wikipedia.org/wiki/Indentation_style#Horstmann_st... [2] https://bugs.llvm.org/show_bug.cgi?id=27263

comment 4y ago · link · parent

https://www.bufferbloat.net/projects/codel/wiki/Cake/

comment 5y ago · link · parent

Equivalently, one can run `less +F <FILE>`

comment 5y ago · link · parent

Both Ecobee and Nest can do this:

- Ecobee "AC Overcool / Dehumidify Using AC": https://support.ecobee.com/hc/en-us/articles/115000268887-Ho...

- Nest "Cool to Dry": https://support.google.com/googlenest/answer/9294957?hl=en

comment 6y ago · link · parent

Perhaps "For The/Those Interested"?

comment 6y ago · link · parent

It's not clear to me what you mean by "longstrings" from that page. Are you referring to the double-bracket quoted style?

comment 7y ago · link · parent

It's an optional feature and isn't built by default. See http://www.doxygen.nl/manual/config.html#cfg_clang_assisted_...

comment 8y ago · link · parent

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...

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

It's alluding to the nabla symbol (https://en.wikipedia.org/wiki/Nabla_symbol) used in mathematics, and the similarity in sound between the two does not go unnoticed by many students of calculus.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

While it will end up being a little longer, these can all be defined as aliases within git (see https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases). Some users might prefer the aliases there rather than in their shell configuration.

comment 10y ago · link · parent

Some analysis on this topic has been done: https://en.wikipedia.org/wiki/Vacuum_airship#Material_constr...

comment 11y ago · link · parent

This seems to be similar to the Costco / Sam's Club membership model, but only on certain items. Costco's profits are largely from memberships, as items are sold close to cost. I imagine Amazon is selling these items at lower margin to the Prime members.

comment 13y ago · link · parent

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

comment 13y ago · link · parent

xz is clearly superior in many regards. My understanding is that xz can use significantly more memory upon compression/decompression.

http://pokecraft.first-world.info/wiki/Quick_Benchmark:_Gzip...

Some additional discussion about why xz is not as widely used: http://stackoverflow.com/questions/6493270/why-is-tar-gz-sti...

comment 13y ago · link · parent

Although this approach is obvious, there are complicating factors. The Coriolis force makes high-RPM centrifugal gravity unpleasant and perhaps dangerous to humans. So, to achieve 1g, structures would need to be very large (224 meters). Nonetheless, this is probably the best approach.

http://en.wikipedia.org/wiki/Artificial_gravity#Rotation

comment 14y ago · link · parent

This is off-topic, but you should know that there are a number of significant issues with W3Schools that prevent it from being a reputable source: http://w3fools.com/

comment 14y ago · link · parent

There seems to be a bug: when you reach the end of a line, you can no longer go back and correct letters, even though you have not yet advanced by pressing space.

comment 14y ago · link · parent

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.