Live data from Hacker News

“I have [bash] history back to ~2003”

twitter.com

121–130 of 148 posts

Re: “I have [bash] history back to ~2003”

#122
post #73

$ history | wc -l 56201 I use a simple prompt_command hook to push my history (from all my machines) to a central MySQL database( https://github.com/fredsmith/history-db ). Entries are de-duped and a tally is kept so I can do simple ad-hoc reporting: mysql> select * from history order by count DESC limit 10; +-------+---------------------+-----------+----------+-------+ | id | timestamp | command | hostname | count |…

cray good man

Re: “I have [bash] history back to ~2003”

#123
post #105

Earlier quoted context omitted.

I mostly do (MacOS), but: $ which ls /usr/local/opt/coreutils/libexec/gnubin/ls I'd say $392 seems like less than I should contribute.

Well, if it's shipped from Apple as part of their OS (I'm not sure it is from your path), then Apple would be responsible for licensing it. Which makes me wonder, does Apple have an official stance on supporting open source they use?

It's not. Default ls on Mac OS X is /bin/ls.

Re: “I have [bash] history back to ~2003”

#124

Earlier quoted context omitted.

Well, if it's shipped from Apple as part of their OS (I'm not sure it is from your path), then Apple would be responsible for licensing it. Which makes me wonder, does Apple have an official stance on supporting open source they use?

It's not. Default ls on Mac OS X is /bin/ls.

I figured as much. I'm sure Apple is using some BSD version, possibly modified in-house.

Re: “I have [bash] history back to ~2003”

#125

Earlier quoted context omitted.

It's not. Default ls on Mac OS X is /bin/ls.

I figured as much. I'm sure Apple is using some BSD version, possibly modified in-house.

OS X has been based on an amalgamation of several BSD flavors for a while now.

Re: “I have [bash] history back to ~2003”

#127

Why even store your bash history? It's like you store everything you ever said... Would you lose your precious time to go through the old stuff? I wouldn't.

I'm a computational biologist. I often need to know exactly how some piece of analysis was done months or years ago. In an ideal world all the details would be in scripts with carefully written READMEs cross-linked from my lab notebook, but it's not an ideal world and sometimes we're in a hurry. In those cases the history saves my bacon.

I'm not a computational biologist, but I've run into this once or twice. I only use the shell for quick summary statistics now though. I started doing most of my analysis in R, which made life easier on a lot of different levels.

Re: “I have [bash] history back to ~2003”

#128

Earlier quoted context omitted.

You owe the GNU coreutils project $392 https://github.com/diafygi/gnu-pricing

I agree with the general idea that contributing to these projects is good. However, the link is slightly misleading: "GNU programs are used billions of time every day all over the world. However, the intellectual property owners, the Free Software Foundation, don't make a cent from it. What a raw deal! This project aims to fix that by monetizing many popular command line tools that GNU maintains." Maybe true, but kee…

It's a joke

Re: “I have [bash] history back to ~2003”

#129
post #105

Earlier quoted context omitted.

I mostly do (MacOS), but: $ which ls /usr/local/opt/coreutils/libexec/gnubin/ls I'd say $392 seems like less than I should contribute.

Well, if it's shipped from Apple as part of their OS (I'm not sure it is from your path), then Apple would be responsible for licensing it. Which makes me wonder, does Apple have an official stance on supporting open source they use?

no, I installed gnu coreutils using homebrew. - /usr/local/opt/ is where homebrew puts installed binaries.

Re: “I have [bash] history back to ~2003”

#130

Earlier quoted context omitted.

I agree with the general idea that contributing to these projects is good. However, the link is slightly misleading: "GNU programs are used billions of time every day all over the world. However, the intellectual property owners, the Free Software Foundation, don't make a cent from it. What a raw deal! This project aims to fix that by monetizing many popular command line tools that GNU maintains." Maybe true, but kee…

It's a joke

It's a joke that's very much not obviously a joke. This is social commentary about the state of free software and/or Hacker News, I'm just not sure what the social commentary actually is.
Post reply on HN