Better HN
topnewbestaskshowjobs
Log inSign up

__blockcipher__

2,266 karma · joined Nov 6, 2017 (9y ago) · 971 submissions

Submissions

comment 8y ago · link · parent

Nothing changed, but I’d estimate >50% of Americans still believe in “lie detectors”. They provide easy points when you don’t have actual evidence to bring forward

comment 8y ago · link · parent

I think perhaps you were looking for the word “experienced“ (experimented is a ‘false cognate’ in Spanish and similar languages)

comment 8y ago · link · parent

Heh, you can find apologists for anything these days huh

comment 8y ago · link · parent

Nit: “tengo dolor el estomago” does not read like valid spanish to me (pero no soy hablante nativo)

comment 8y ago · link · parent

That was an awesome response - that helped a lot. Thanks for sharing your knowledge.

comment 8y ago · link · parent

Thanks for sharing. I resonated with a lot of what you said. That's all, I have nothing to add :)

comment 8y ago · link · parent

>Perhaps you're creating a distinction without a difference?

There is certainly a difference. Your body, physically, will be fine without heroin. But emotionally, you feel empty without it, and as soon as some emotional trauma - stress, sadness, fear or despair rears its head, you relapse. I guess you could argue that emotional need is no different than physical need, but I don't think that's quite the point you're trying to make

comment 8y ago · link · parent

do you mind if I derail the thread for a little bit?

[if yes] I currently work at a small-medium sized company, and we have one BI guy. Our ops team is ~5 people, and 1-2 of the more junior guys are tasked with doing everything necessary to support the BI guy. which basically means making sure the BI software is installed properly on the container, configured properly, has access to the db, and it comes up properly etc

BI is a critical business function, so it's a pretty high priority, but the process is way less automated and skillfully crafted than the other parts of the system, mainly cause everyone hates it and only barely understands what the BI system (in this case, pentaho) actually does. it's no coincidence that the most junior engineers often end up doing it (with occasional but pretty infrequent help from the seniors when blocked)

what i've been wondering is, what exactly does "a BI guy" need their system to do? I read a bit about ETL systems, but haven't done much research. I assume the job of an ETL system is to pull data from the production database(s), clean it up as necessary, and use that data to calculate whatever business metrics are required? is the software more about making it easy for the BI team to use an interface to craft their queries/dataflow/etc?

basically my motivation is I've mulled over the idea of having the ETL system be written in-house. the benefits being potentially smoother and more native operation and in a way that's more seamless to integrate with monitoring, alerting, automated jobs etc. my guess is that such a project would end up being a waste of time in 98% of cases, especially because you need a usable frontend for the BI guy.

so, if I may, what exactly is business intelligence / what do you do on a day-to-day basis? I'm pretty experienced with traditional finance/investing jobs, eg reading 10-q's, 10-k's, balance sheets etc, and using the data to calculate cash flow, opex, gross margin, and every other metric you could conceivably want. But I'd never heard of "business intelligence" until starting an internship several months ago.

thanks, and no worries if you don't have time to respond / if this is too off-topic.

comment 8y ago · link · parent

Heh. I’m an intern on the ops team at a small-medium company (just under 150 employees, at least 50 or so engineers, ~$20 mil rev), and we use Chef for configuration management. I’ve observed that some members of the ops team are actually afraid to converge servers. I also find the precedence rules, node variable (?) rules etc to be horrifically confusing. I haven’t worked with Ansible before, but it sounds more similar to how I would implement it if I hacked away at the problem for a few months (my understanding is ansible basically just lets you run arbitrary scripts thru ssh).

Being able to have chef integration tests (or are they considered unit tests?) seems really powerful. But holy fuck does Chef have a ton of (what feels to me like) cruft

comment 8y ago · link · parent

I’m not an MIT grad but that sounds like downplaying the unique culture of SH imo.

comment 8y ago · link · parent

Also observed benzo addiction skyrocket, while most people consider them to be “safe” because they’re “anxiety medication”

Benzos + alcohol (+ possibly opiates) is a recipe for a really bad time. I’ve seen people take like 4mg xanax and 8-10 shots and get instantly sent to the ER

comment 8y ago · link · parent

It works for the output of kubectl get all, not kubectl get po unfortunately. [This is because without the resource name as a prefix, there’s no general regexes that will work for everyone’s situation] As a hack I sometimes end up doing kubectl get all | grep ‘pod/‘, which is a little inelegant. You can add your own regexes (see the readme of tmux-fingers, you do @fingers-pattern-0 your_regex) and then reload the config

Realistically I suppose it’s only marginally faster than kubectl get po -o name and then manually copying.

For any project I work on frequently I set up aliases that wrap it anyway. As you already know kubectl doesn’t allow regex matching so I just do something like: kubectl delete pod “$(kubectl get po -l app=MY_APP_SELECTOR)”, etc. naturally your deploy needs granular selectors otherwise you need to further pipe to grep or awk

comment 8y ago · link · parent

Check out tmux-fingers by morantron. It lets you copy any line that matches a pre-defined regex. I just recently got a PR merged that supports kubernetes resources. So now I don’t even have to click the line (in mouse mode) and then hit shift+4 and yank, instead I just hit prefix+F and then the corresponding letters that appear.

Kinda hard to explain, but it’ll make sense if you look at the gh repo.

[It’s always driven my insane how kubernetes names its pods. They still haven’t implemented regex matching - there’s an issue on github related to that that went stale. For now I use a combjnation of selectors and old school unix regexes (awk, grep, etc) when I’m passing around kubectl commands that I need to work rgardless of whether the container has restarted or not]

comment 8y ago · link · parent

Wait, what?

If someone takes a "leave of absence" that ends up lasting several months, and that becomes a permanent leave of absence (read: they quit), that does indicate problems. Not in a one-off scenario, but in Tesla's case where they've lost dozens of executives once they realized that [possible bias here] Tesla is clearly engaging in fraud, it's not just a one-off thing. The smart executives are jumping ship, leaving behind either a) the not so smart executives or b) the smart people like Straubel who are close enough to Elon that they wouldn't leave.

see: bogus solarcity acquisition to avoid the dominos falling in Musk's highly coupled empire, clear intent to cause a short squeeze with the bullshit going private tweet [if you look at musk's actions/statements leading up to that, it's clear the shorts have been stressing him out], Musk having borrowed money to purchase even more Tesla shares, worker injury rate [this isn't fraud but I decided to throw it in there], etc etc etc

comment 8y ago · link · parent

[elon musk]

comment 8y ago · link · parent

Are you serious? Did you miss the obvious subtext?

>Please respond to this message to acknowledge that you have received it. If you can resolve the matters specified above in the next seven days, that would be excellent. If you anticipate that it will take longer, please let us know. I’ve cc’d our Legal alias so that in the event that I am unable to respond, one of our product counsels will be able to provide any necessary assistance.

tl;dr: respond and desist or they will escalate to the next step. Legal action is heavily implied, and it's outright foolish for you to read that and somehow think there's no threat to sue, whether implicit or not

comment 8y ago · link · parent

lol, how do you hire the right finance guys? You didn’t address the central paradox.

comment 8y ago · link · parent

Bullshit. Hire a bunch of consultants without any ability to judge which are worth the ticket, and you’ll spend a measly $10 mil in no time.

comment 8y ago · link · parent

Bullshit. He said funding was a done deal and it was just a matter of a shareholder vote, which to me is blatant fraud

comment 8y ago · link · parent

While we're at it:

   git_show_blame () {
   	if [ -z "$3" ]
   	then
   		printf "USAGE: git_show_blame filepath start_line_num end_line_num" && return 1
   	else
   		[ ! -z "$4" ] && printf "\\n${LPURP}[git_show_blame]${NC} Warning: extra arguments provided. Ignoring everything after the first 3\\n\\n"
   		git show $(git blame "$1" -L "$2","$3" | awk '{print $1}')
   		return $?
   	fi
   }
Use with recursive search `grep -Rn your_regex .` to track down the original commit that your pesky coworker added two years ago without any corresponding documentation for an alert that's going critical at 2am...(only slightly exaggerating there :P)

comment 8y ago · link · parent

I've been playing around with hub recently, but ended up commenting out the "source hub alias" line because a) since I use aliases, you might as well be explicit, b) I'm tired of having to pipe my aliases to `sed 's/hub/git/g'` when I do `which my_git_alias` to send to other people, and c) I don't want to support github conflating the two when it's not that hard to remember which does what even if you don't use aliases.

Another tip, I only occasionally need git autocompletion withh aliases, but in zsh you can do something like this:

  # Enable zsh git completion for our aliases. 
  # See     https://github.com/mislav/dotfiles/blob/d82e79b8a500891a02ab28171974d68be7a35e12/shrc/git.sh
  if [ -n "$ZSH_VERSION" ]; then
    compdef _git g=git
    compdef _git gc=git-commit
    compdef _git gco=git-checkout
    compdef _git gd=git-diff
    compdef _git gb=git-branch
    compdef _git gst=git-status
    compdef _git gp=git-push
    compdef _git gd=git-diff
  fi
And obviously bash has an equivalent.

comment 8y ago · link · parent

As someone who bas taken a bunch of LSD, psilocybin mushrooms, and DMT, as well as listened to a bunch of Terrence McKenna...the stoned ape theory is total horse shit. It’s a slap in the face to evolutionary biology and just a completely nonsensical “theory”

comment 8y ago · link · parent

Really dumb question here: how can I map cmd+ctrl+w to “close other tabs”? It’s the default in Terminal.app, but I just installed iTerm2 a day ago and havent found an option in the settings for it.

comment 8y ago · link · parent

Seems like an interesting assumption. I’m mot convinced there is a difference, but neither am I confident that there isn’t one.

comment 8y ago · link · parent

electrek is a tesla propaganda site. they literally posted montana skeptic’s identity in their article. since when is that acceptable behavior?

Montana skeptic wasn’t a troll, he wrote extremely insightful articles. I’m actually shocked how many people are trashing the dude

comment 8y ago · link · parent

Are you talking about the touchbar esc? Serious question, how the fuck do you use it without tactile feedback?

My approach was to remap caps lock to escape as a press and ctrl as a hold, and then disable the touchbar as much as possible (whoever put unmute and siri next to each other should be taken out and shot btw, that caused me so much annoyance)

comment 8y ago · link · parent

Map it to both. Single tap is escape, hold is ctrl.

https://github.com/jasonrudolph/keyboard

It works super well. I can hit key combos that would normally be tricky super easily.

Now if only I could find a way to standardize my hotkeys across sublime, chrome, vim, terminal and tmux. I’ve gotten close but not where I want to. (As an aside, does anyone know how to make ctrl+w delete the word left to the cursor in chrome and put it in the buffer like in the terminal (and also do the same for subl)?)

comment 8y ago · link · parent

The buzzwords are ultimately meaningless but that sounds more specific to ”infrastructure as code” than the meaning of “devops”. With iaac basically being one of the facets of devops. Does that sound right to you?

comment 8y ago · link · parent

Yes, I know of dads that bathe naked with their 4 year old daughters.

It makes sense in the context of your situation, though.

1
282930
33