HNHacker News
TopNewBestAskShowJobs

jcsalterego

4,272 karma · joined April 27, 2009

submissionscomments
jcsalterego··on Historian: Because Please Stop Deleting My Bash History

    (o)))><
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
I've tried zsh many times and it's not for me :'(
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
Yeah unfortunately it's just an opaque number now, basically.
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
I think so: http://askubuntu.com/questions/67283/is-it-possible-to-make-...
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
You should

    ln -sf /dev/null ~/.bash_history

!
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
I think it's more about the MacOS's add-ons to bash here than bash vs zsh -- but who knows!
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
Nice!
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
I'm quite happy that at least three historian-programmers have come together, here.
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
Is your ssh password `ls`? That's not a great password.
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
Ah, interesting!
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
Most recently it seems to happen on a fresh restart.

Previously, it had to do with my usage of Terminal; I've had to touch ~/.bash_sessions_disable -- /etc/bashrc_Apple_Terminal has the nitty gritty.

jcsalterego··on Historian: Because Please Stop Deleting My Bash History
> Also, maybe you should consider backing up ~/.bash_history occasionally?

Oh yes.

jcsalterego··on Historian: Because Please Stop Deleting My Bash History
Sounds like good security though.
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
Based on the differences between /etc/bashrc and /etc/zshrc, I don't think so, but I don't know for sure.
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
There are more people like you, I bet!
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
BRAAAAAAHMMM
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
Per the README I'm hoping to introduce a scrub command, but yeah -- if you have inline passwords in the commands you run, that's less than great.
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
zsh history, from what I've seen a long time ago, can include timestamps, which is why I added a timestamp field in the schema, though it's currently unpopulated: https://github.com/jcsalterego/historian/blob/3bf7158b163d3f...

#soon

jcsalterego··on Historian: Because Please Stop Deleting My Bash History
Hooray!
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
FWIW, my understanding of sqlite is that it allows atomic operations against the same DB, even if there are different clients... so I would guess at worst the clobbering is minimal. I could be wrong, though.
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
The documentation has failed - it's actually just an incrementing ID right now, not a frequency! I should make a clarification soon.
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
I tried!
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
Dangit
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
OH THAT IS AWESOME THANK YOU
jcsalterego··on Historian: Because Please Stop Deleting My Bash History
I've lost the stackoverflow links since but it's something like http://apple.stackexchange.com/questions/218731/why-bash-his...
jcsalterego··on Ask HN: Who is hiring? (January 2017)
Union Metrics | Operations Engineer | Austin, TX | Full-time

We’re looking for an Operations Engineer to support, maintain and scale our fleet of servers powering unionmetrics.com and our analytics data pipeline. Millions of social events continuously flow and propagate through our systems every day, and our Operations Engineer will be responsible for keeping the lights on and blinking at the right frequency.

DUTIES

  * Maintain and scale existing services to maximize uptime and performance
  * Triage and resolve system alerts; participate in on-call rotation
  * Develop runbooks and other support materials as part of a continuous improvement process
  * Work with a talented team at a great company with all these benefits and perks
REQUIREMENTS

  * Strong mastery of and absolute comfort in Linux, including knowing when to
    trust a second-nature reflex of reaching for grep/sed/awk, and when to back away slowly
  * Strong background in configuration management, preferably Chef
  * Experience with monitoring and alerting systems such as Nagios, Munin/Monit
  * Experience with at least a handful of open source datastore technologies such as
    Cassandra, MySQL, MongoDB, Redis, Solr
  * Comfortable with at least one scripting language, e.g. Ruby, Python, Golang
  * Experience supporting a web stack, e.g. LAMP; Rails experience preferred
  * At least two years operations engineering experience
  * Familiarity with the construction and maintenance of highly available systems
    preferred, e.g. HTTP load balancing or distributed databases such as Cassandra,
  * Degree in MIS, Computer Science, or other technical field preferred
EXTRA CREDIT

  * Competency with Ruby, SQL
  * Experience with: Jenkins, Spark, Hadoop, Docker, Vagrant, Kubernetes
  * Know some good GIFs
  * Experience in small start-up environments
If you think this job is right for you email jobs@unionmetrics.com with the subject line Operations Engineer. Include your resume and a link to your GitHub account. If you don’t have a GitHub account, send us some code you’re proud of.
jcsalterego··on Ask HN: Who is hiring? (August 2014)
Union Metrics - http://unionmetrics.com - San Francisco, CA and Austin, TX

We are a fast-growing, profitable startup building powerful social media analytics software. Every day our systems process more than 130 million social events and deliver analytics for thousands of paying customers.

We have two open engineering positions:

=== Data Engineer (Austin, TX) ===

We need an engineer who wants nothing more than to wrangle massive amounts of data. Do you love to build on top of open source technologies like Hadoop and Cassandra using hundreds of servers? Do you enjoy working in a polyglot environment with plenty of variety? If you’re passionate about building the infrastructure to process, analyze, and store hundreds of millions of events every day, then we want to talk to you.

Responsibilities:

    * Implement stream processing pipelines to handle hundreds millions of messages and events daily with Java and Ruby
    * Use open source tools and data stores to analyze and store billions of data points
    * Build workflows to make data accessible to end users
=== Full Stack Ruby (& Rails) Engineer (Austin, TX) ===

We’re looking for an experienced Ruby (and Rails) engineer who’s passionate about the craft of building software. If you’re interested in working with a small team of engineers to build software that not only scales but delivers an amazing user experience, then we’d love to talk to you.

Responsibilities:

    * Implement core user-facing functionality in a Ruby on Rails application within a large service oriented architecture
    * Design and build backend services and APIs
    * Integrate with massive analytics systems and data stores
You can find more info about these positions at https://unionmetrics.com/company/careers and you can find out more about us at https://unionmetrics.com/company/about/ or email us at jobs@unionmetrics.com.

I'm a member of the engineering team and I'd be happy to answer any questions about us or the positions: mando@unionmetrics.com

jcsalterego··on Ask HN: Who is hiring? (July 2014)
Union Metrics - http://unionmetrics.com - San Francisco, CA and Austin, TX

We are a fast-growing, profitable startup building powerful social media analytics software. Every day our systems process more than 130 million social events and deliver analytics for thousands of paying customers.

We have two open engineering positions:

=== Data Engineer (Austin, TX) ===

We need an engineer who wants nothing more than to wrangle massive amounts of data. Do you love to build on top of open source technologies like Hadoop and Cassandra using hundreds of servers? Do you enjoy working in a polyglot environment with plenty of variety? If you’re passionate about building the infrastructure to process, analyze, and store hundreds of millions of events every day, then we want to talk to you.

Responsibilities:

    * Implement stream processing pipelines to handle hundreds millions of messages and events daily with Java and Ruby
    * Use open source tools and data stores to analyze and store billions of data points
    * Build workflows to make data accessible to end users

=== Full Stack Ruby (& Rails) Engineer (Austin, TX) ===

We’re looking for an experienced Ruby (and Rails) engineer who’s passionate about the craft of building software. If you’re interested in working with a small team of engineers to build software that not only scales but delivers an amazing user experience, then we’d love to talk to you.

Responsibilities:

    * Implement core user-facing functionality in a Ruby on Rails application within a large service oriented architecture
    * Design and build backend services and APIs
    * Integrate with massive analytics systems and data stores
You can find more info about these positions at https://unionmetrics.com/company/careers and you can find out more about us at https://unionmetrics.com/company/about/ or email us at jobs@unionmetrics.com.

I'm a member of the engineering team and I'd be happy to answer any questions about us or the positions: mando@unionmetrics.com

jcsalterego··on Learn Emacs: Keyboard Macros
Ow, that hurts my brain more than usual. How would one leverage registers with text instead of incremental numbers? (I will have to RTFW later.)
jcsalterego··on Learn Emacs: Keyboard Macros
I know exactly what you mean -- but perhaps it doesn't even have to be a macro, but a more powerful search-and-replace, with changing replacements.

My lisp-fu isn't good enough to implement this today, but I would find it really easy to:

* copy `#define a 0` with C-k, M-w, C-y, RET, C-y, RET, C-y, RET, ... (so copy the line and paste N times)

* begin interactive search-and-replace, with usual keybindings (Y for replace, N for skip, . for replace and stop)

* but with additional keybinding, e.g. + for change replacement and apply

Alternatively, the replace argument in M-% would be a [somehow-delimited] list of replacements, and + or capital Y would pop off the next replacement and begin using that.

Page 1 of 7Next →