Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
schizoidboy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
schizoidboy
9y ago
The article quotes AMC about why they're complaining: they worry that if MoviePass fails, people will sour even more on theaters and that could be their death knell (btw, love the use of harrumphed!): > The largest theater chain in
62.
▲
by
schizoidboy
9y ago
I thought their business model was like a gym: hope that most people won't use it. (Source: I have MoviePass and I'm seeing less than 1 movie per month because I'm too busy :-D) Instead, this article claims it's: 1. Stud
63.
▲
by
schizoidboy
9y ago
I'm no expert, but I did a bit of research into this since I live in California, and here's data that supports the parent's assertion: https://radicaloptimism.org/wiki/In_The_News#California_Drou... It s
64.
▲
by
schizoidboy
9y ago
Similar tool: https://github.com/myplaceonline/posixcube
65.
▲
by
schizoidboy
10y ago
Is it fair to say that a major theme in The Great Gatsby is the decadence of rich people? If so, I don't understand why so many people seem to like the book, non-ironically, for the parties and the glamour. Am I missing something?
66.
▲
by
schizoidboy
10y ago
Agreed. I referenced this discussion in that issue and hopefully soon I'll get around to building it (would be wonderful if you could help). Thanks for the pointers; they'll save me some time learning Ansible.
67.
▲
by
schizoidboy
10y ago
Yeah, I'll add some of the most common parameter expansion/substitution, string functions, array functions, etc. as APIs. I had a thought yesterday for handling pipeline failures by using set -e in a sub-shell. I still need to tes
68.
▲
by
schizoidboy
10y ago
I want to see a fully fleshed out example for comparison. When I find some time, I plan to take this use case as an example, implement it in all major automation frameworks, and publish the comparison.
69.
▲
by
schizoidboy
10y ago
> On the other hand, after a few years playing with bash and posix shell -- I'm fairly certain I'd prefer bash, to posix shell What are some bashisms that you find particularly useful? I wonder if I can just reproduce them in P
70.
▲
by
schizoidboy
10y ago
Let's say I want to whitelist a set of IP addresses in the firewall configuration. Let's assume I know the commands to do this using firewall-cmd. Below is how I would do this with posixcube. Can you give an example with a declara
71.
▲
by
schizoidboy
10y ago
I agree the ambiguous return code is a major limitation of SSH. I think I'll just avoid any retry logic and treat every failure the same: fail immediately and let the user to decide how to retry. Since posixcube does most of its execut
72.
▲
by
schizoidboy
10y ago
Thanks, I understand your perspective much better. Regarding the last point, I've always just re-run my last command. If the commands are broken up into separate independent scripts (e.g. install ElasticSearch, install Kibana, etc.), t
73.
▲
by
schizoidboy
10y ago
> Because its architecture doesn't fit the job. The same situation is with Ansible or Salt being used for maintaining configuration of servers. > I don't say shell scripts are worse. I say the "push" architecture i
74.
▲
by
schizoidboy
10y ago
Again, thanks for the objections, they're making me think hard about the design choices. > Lucky you if your SSH client never failed to connect. How do you think it reports a network failure? Currently posixcube handles this by chec
75.
▲
by
schizoidboy
10y ago
First, I just want to say that I appreciate this conversation and debate. It's making me think hard about certain concepts, so thank you. > If you ask this question, it means you've probably never configured SSH in bigger envir
76.
▲
by
schizoidboy
10y ago
Please share if you can, I'd like to take a look.
77.
▲
by
schizoidboy
10y ago
You're welcome! Hope you might find this useful, and glad to hear feedback.
78.
▲
by
schizoidboy
10y ago
I agree shell scripting is a very limited language, especially when trying to keep them POSIX compliant.
79.
▲
by
schizoidboy
10y ago
Perl would play nicely with posixcube. Just do cube_package install perl, and then do with it as you wish. Posixcube is more about handling the things outside of Perl, Python, Go, etc. like distribution, installation, etc.
80.
▲
by
schizoidboy
10y ago
I like a lot of things about this including, first of all, the website describing it, and the screencast, and easy-to-follow instructions. It doesn't meet my needs including handling of encrypted variable substitution in file templates
81.
▲
by
schizoidboy
10y ago
Thanks, great idea. There's already optional Bash programmable tab auto-completion integration which auto-completes hosts from ~/.ssh/known_hosts (the auto-completion is installed using the `-b` option). I've created Git
82.
▲
by
schizoidboy
10y ago
> I'm not sure what you mean, can you please elaborate on a use case of a task queue? Answering my own question by re-reading your comment: I'm not familiar with systems automatically re-trying commands. What if there is some f
83.
▲
by
schizoidboy
10y ago
Yeah, I'm sure Ansible is good and I'm sure I would've liked it as much, or more, than Chef.
84.
▲
by
schizoidboy
10y ago
> but you have an agent anyway By agent, I meant something more narrow: a prerequisite that must be installed on a server before it works. In that sense, the agent here is sshd, but that can be presumed to always exist. > so once you
85.
▲
by
schizoidboy
10y ago
The impetus for this project was that I wanted to move away from Chef because it was costing me an extra administrative server per month. I wanted to try something new, so I didn't bother looking into chef-solo. I wanted something agen
86.
▲
Show HN: Posixcube, a shell script automation framework alternative to Ansible
(github.com)
53 points
by
schizoidboy
10y ago
|
53 comments
87.
▲
by
schizoidboy
10y ago
I guess this is true of almost all the big companies; nevertheless, it's interesting to see it written explicitly: "tie all of our products together, so we further lock customers into our ecosystem"
88.
▲
by
schizoidboy
10y ago
I created an app for this: https://myplaceonline.com/
89.
▲
Jobs are Like Relationships
(medium.com)
1 points
by
schizoidboy
10y ago
|
0 comments
90.
▲
by
schizoidboy
10y ago
This is one of my favorite comments ever. It captures so much. I often find myself in an infinite loop of "maybe X, but on the other hand Y" and periodically I just need to `kill -9`... until the next time curiosity forks.
More ›