News for hackers. Stuff that matters.

iamthad

Re:Ask HN: May an Agent accepts a license to produce a build? on Saturday January 24, 2026 @12:22PM (#46745469)
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.

Re:I Didn’t Learn Unix by Reading All the Manpages on Friday May 26, 2023 @09:47PM (#36091336)
Your LESS_TERMCAP_us is the issue here; it's literally putting "In" wherever an underline is supposed to start.
Re:Ask HN: Examples of Unusual Code Formatting Styles? on Sunday January 30, 2022 @12:00AM (#30134186)
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

Re:Use the 'tail' command to monitor everything on Monday July 12, 2021 @06:57PM (#27816065)
Equivalently, one can run `less +F <FILE>`
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

Re:Emacs 27.1 on Tuesday August 11, 2020 @07:52AM (#24119353)
Perhaps "For The/Those Interested"?
Re:Notes on the M4 Macro Language (2008) on Friday April 03, 2020 @01:21PM (#22771751)
It's not clear to me what you mean by "longstrings" from that page. Are you referring to the double-bracket quoted style?
Re:Improved Doxygen documentation and search for C++ projects on Thursday January 03, 2019 @06:03PM (#18820234)
It's an optional feature and isn't built by default. See http://www.doxygen.nl/manual/config.html#cfg_clang_assisted_...
Re:Stop using strncpy already (2013) on Friday August 31, 2018 @11:44AM (#17886470)
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...

Re:Fedora Loves Python on Wednesday July 12, 2017 @09:23AM (#14752269)
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.

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.
Re:FreeBSD on a MacBook Pro on Thursday November 24, 2016 @07:11PM (#13033628)
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.
Re:Lesser known Git commands on Friday September 30, 2016 @12:38PM (#12613538)
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.
Re:Airlander 10: Longest aircraft damaged during flight on Thursday August 25, 2016 @09:40AM (#12358883)
Some analysis on this topic has been done: https://en.wikipedia.org/wiki/Vacuum_airship#Material_constr...
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.
Re:Ayn Rand (comic) on Tuesday October 29, 2013 @01:34PM (#6635972)
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

Re:Use multiple CPU Cores with your Linux commands on Thursday October 17, 2013 @07:11PM (#6568797)
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...

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

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/
Re:A better, prettier, cross-browser OK plateau typing tutor on Sunday November 25, 2012 @10:03PM (#4830219)
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.
Re:Elon Musk: 'Europe's rocket has no chance' on Monday November 19, 2012 @01:04PM (#4805548)
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.