HNHacker News
TopNewBestAskShowJobs

bglusman

695 karma · joined September 1, 2009

PepsiCo Digital Commerce / Recurse Center (recurse.com)

brian.endofmyusername@pepsico.com (for work related stuff) or brian@endofmyusername.me for personal/hacker stuff.

submissionscomments
bglusman··on Scientists Tie 52 Genes to Human Intelligence
I used to somewhat dismiss IQ for this reason, but the thing is, though the concept of "General intelligence" as a concept is, perhaps loaded, it's really an average of a number of independent measurements, each more well defined than general intelligence, and each easier to measure... there's a few different systems but WAIS breaks it up into 4 indices, divided between verbal and performance IQ[1]... much of the population seems to have all 4 of these indices closely correlated with each other, though I became interested in this partly when I discovered I was an exception... I have dramatically higher verbal comprehension index than I do processing speed, if I recall correctly, with, I think, the former perhaps two standard deviations above average and the latter perhaps a full standard deviation below average. I don't know what the correlation means for most people, or what my deviation means for me, but the test is at least capable of seeing differences, so the fact that it doesn't typically see them probably means something, though I don't know what. [1]https://en.wikipedia.org/wiki/Wechsler_Adult_Intelligence_Sc...
bglusman··on Wikimedia Foundation spending
Profits don't generally have a simple/strict meaning in business terms, AFAIK. Maybe you mean EBITDA? (earnings before interest, taxes, depreciation and amortization) I think even that is maybe not what you mean/wouldn't acheive your goals, even if it's theoretically unambiguous, because of what is invested in R&D/aquisitions/etc.

Also, presumably you're talking about new laws in the US here? What stops businesses from just moving their HQ overseas to places with different laws they like better?

bglusman··on No feigning surprise
Oh, whoops! hadn't finished to see she already included the XKCD in the post!
bglusman··on No feigning surprise
It's not mentioned here, but when Recurse Center explains this rule to recursers, it's explicitly discussed that despite the name, it doesn't actually matter if you're actually surprised, it's still a "violation" of the rule to express that surprise in the particular terms of "I can't beleive you don't know about x!". However, violations of the rules are not a "big deal" that you are made to feel terrible about either, it is more a vocabulary for telling you in turn that you made a misstep with your reaction, and let's move on.

Julia talks about it in your quote above, but she says not to "act surprised", but she doesn't mean act as in fake, or feign, she means the action of expressing surprise. Another good reference is xkcd[0]. The point is not whether you're surprised, but the chilling effect that the judgment that someone should have already known this thing can have on their confidence, willingness to admit to not knowing things, and to the social dynamic of interacting with you.

[0]https://xkcd.com/1053/

bglusman··on Show HN: Go from Docker-Compose to Kubernetes with a simple tool
This looks neat! I'd mirror what codebreaker said and probably in the long term you want to use something like helm.sh to manage your kubernetes yaml, but this may help get started. Also possibly useful for getting started (especially if coming from Heroku or using Foreman with a Procfile) is a gem I built, more or less in anger, out of inability to get a supporting partner to agree to using helm but not wanting to have duplication across deployment files and across environments, so while I don't necessarily reccomend as a long term tool, if you can't or don't want to initially use helm, ky[0] may be a useful stepping stone/bridge solution to avoid a ton of seperate manually maintained, unDRY deployment files with similar or identical env vars and small differences for web vs worker deployments etc.

[0]: https://github.com/stellaservice/ky

bglusman··on Ruby terminal apps toolkit
See comment about Thor
bglusman··on Ruby terminal apps toolkit
It's what rails uses by the way!
bglusman··on Ruby terminal apps toolkit
Have you looked at Thor? It has amazingly simple interface for commands including short and long forms for flags and hierarchical commands
bglusman··on Building a CQRS/ES web application in Elixir using Phoenix
Would you care to expand on what "the whole point" of CQRS is, or how they missed it? You seem to imply that the existence or creation of a library to support the pattern is, in some sense, against the spirit of the pattern, which is a) not at all obvious to me, and b) seems like something you should expand upon if you're criticising the article and/or author for HN's civil dialogue guidelines.
bglusman··on Ask HN: Successful one-person online businesses?
Gabe Weinberg started DuckDuckGo solo, as well as his previous businesses... I think it was several years before he brought on anyone else, and while other early stage investors talked about preferring to fund a small team of at least two, he talked about how he was willing to fund individual founders :-)
bglusman··on Why the Elixir language has great potential
I think the Erlang question is misleading perhaps, because using erlang functions in elixir doesn't actually involve/require learning erlang... any erlang function is available to call directly from Elixir, generally just namespaced under an atom, like :crypto.block_decrypt(:aes_cbc256, key, iv, cipehrtext) You don't have to "know erlang", just read some docs and make a slightly different syntax function call.
bglusman··on Why the Elixir language has great potential
It's not a coincidence, Clojure was a big influence on Elixir... I think actually it's a bit of a funny parallel with Ruby, I know Matz has said the biggest influences on Ruby were Smalltalk, Lisp (or eLisp via Emacs) and Perl, and Elixir has a similar relation to Ruby, Clojure and Erlang (I think Jose has talked about this somewhere also).
bglusman··on ‘Diamond-age’ of power generation as nuclear batteries developed
er... which numbers? can someone expand on this?
bglusman··on OAuth 2.0 Hack Exposes 1B Mobile Apps to Account Hijacking
This seems relevant...[1] I've implemented OAuth once or twice, but it's painful, and I've been hesitant to recommend it as a login or security method both because it's a pain, and because of this article's concerns.

[1] https://hueniverse.com/2012/07/26/oauth-2-0-and-the-road-to-...

bglusman··on An Open Source, Self-Hosted Heroku
Sorry I didn't see this sooner! The repetition is definitely something that bothered me in the early working versions of our app on kubernetes, and also the general lack of reproducibility and manual fiddling that might be required to make changes or create new services, and the difficulty of having the configuration live in the code so it can change on a per branch basis, and have that branch built correctly by CI when it goes to QA/staging.

ky is definitely still just in the "maybe useful/maybe practical" territory, but now that the basic concept of compiling from a Procfile seems to work, I suspect adding some configuration and more environment aware and extensible/overrideable templating could make it pretty practical, but I also had/have my eye on Helm. There may be some practical/logistical complications in using Helm, and I think if we went that way we'd probably go full hog and use Deis Workflow (https://deis.com/workflow/), which also deserved mention in this thread's discussion, but the k8s clients like the python one you point to or the ruby one (https://github.com/abonas/kubeclient) may be worth bringing into the mix depending on how this all works out... Thanks for the links and for having a look!

bglusman··on An Open Source, Self-Hosted Heroku
Yeah, definitely think you guys are both top notch projects, but the article focused on you guys as the end solution and mentioned so many other things en route, I felt people should see one of the other high profile contenders, though forgot to add it was AWS only (added below). It's been a few months now since I kind of timeboxed an hour or two to play with each of 3 I narrowed down to as most likely to offer the easiest transition off of Heroku without being single node like Dokku (you guys, Convox and Tsuru were the 3 I think I tried, and got furthest with and was most impressed with Convox and Flynn). It wasn't a totally fair comparison, as I think I ran Flynn and Tsuru locally via Vagrant, because I could for both I think, but had to actually use real AWS for Convox... but this was all just because I was hoping to make a case at work that we should try one of these actual PaaS-like solutions rather than go for a non-PaaS solution like Kubernetes, as I knew it would not be a trivial transition, as the articles' author discovered. If I ever have time to try it again I'll try and go a little further and provide feedback if I have any!
bglusman··on An Open Source, Self-Hosted Heroku
Yeah I initially linked the .com then thought people might appreciate seeing the product, rack and its open source repo more :-) Weirdly when I set it up, it looked like with only a small change or two to our existing docker-compose.yml it "just worked", but the funny thing was once it was running I couldn't quickly manage to find the web service exposed anywhere to actually test... but it deployed painlessly and showed up running in several ec2 instances and a load balancer in our AWS console! Oh, that't another point, unlike Flynn, Convox is AWS only, so it's more opinionated/less flexible, but for many people that's not really a downside if you only plan to run it on AWS for now anyway. It's also built by a bunch of former Heroku engineers, including David Dollar (https://github.com/ddollar)
bglusman··on An Open Source, Self-Hosted Heroku
Me too! We've been considering migrating off Lambda native to serverless or Chalice[1], but I keep thinking kubernetes is perfect for self-hosting this (or could be? Maybe?). I have one thing bookmarked in this direction, funcktion [2], and another that looks less... mature, open lambda [3] but would love to hear thoughts/other options if anyone has tried any of these.

[1] https://github.com/awslabs/chalice [2] https://github.com/fabric8io/funktion [3] http://www.open-lambda.org/

bglusman··on An Open Source, Self-Hosted Heroku
This is a great overview of the kubernetes/self-hosted PaaS landscape, but is also clearly a bit of marketing for Flynn. Flynn looks awesome, but also as/more awesome at a glance from my research and test runs is https://github.com/convox/rack which I got closer to working more quickly than Flynn, though it helped that Convox builds on top of docker-compose.yml files, which we were already using for development.

For better or worse, we're going the full kubernetes route though, and still working out what deployment etc looks like. So far a lot of un-DRY looking YAML files have inspired a spike at a tool to help manage creating and maintaining kubernetes yaml[1], which others reading this are welcome to try and I'd love to hear better alternatives to or get feedback/pull requests/etc. I may push up a branch I'm working on later that partially automates creating deployments from a Procfile, but we discovered having seperate Procfiles may make applying env-variable only changes harder, curious to hear if others have any guidelines on that, it's so easy to edit an ENV var on Heroku we took it for granted.

[1] https://github.com/stellaservice/ky

bglusman··on The Neuroscience Behind Bad Decisions
See above replies from myself and whack
bglusman··on The Neuroscience Behind Bad Decisions
Oh, sorry was typing same thing at the same time :-) Also had to go find link for https://en.wikipedia.org/wiki/Independence_of_irrelevant_alt... which I couldn't remember the name of at first, but same money quote!
bglusman··on The Neuroscience Behind Bad Decisions
The article explains it's not comparing it in a vacuum, it's specifically comparing when there's 20 candy bars including your favorite to two including your favorite. quote: "When Glimcher would remove all the choices except the Snickers and the selected candy, participants would wonder why they hadn’t chosen their favorite." Basically saying it's only irrelvant in the strict sense defined by https://en.wikipedia.org/wiki/Independence_of_irrelevant_alt...
bglusman··on Akasha: A Social Media Network Powered by Ethereum and IPFS
Ooh, good solution and good problem to point out on controversial stuff! Why not, while allowing upvoting, also allow independent assessment of risk/controversy/value, and these somehow weight things to reward such gambits, as long as a substantial minority of users vote them up or something? Maybe a sliding percentage, so that if even people who downvote it mark it as controversial or whatnot, the more people thing it's controversial/provocative, the smaller the percentage who have to agree with it/up vote it? Just a quick reaction, I'm sure with some iteration and/or thought you could develop a better similar (or different) idea with some models to support it as optimal, or pareto optimal given some constraints.
bglusman··on Umberto Eco has died
Probably Julian Jaynes/Origin of Consciousness in the Breakdown of thr Bicameral Mind?
bglusman··on What the diamond industry is really selling
Who says there's a single justification? And how would you carry a gold bar about on your person? Part of the security of gold jewelry is arguably that you will have it with you in an emergency, or if you have to flee quickly. The gold bars sitting in your vault will be much harder to access quickly.
bglusman··on The Implementation of Functional Programming Languages (1987)
This is why TCO (Tail call optimization) exists... but of course not all recusion is tail recursion, but I think it can always be written this way, and should always be for arbitrary depth recursion.
bglusman··on The xkcd survey
Mine was 'correct horse battery stapler comic'
bglusman··on The xkcd survey
For anyone curious, it looks like this would be what he was shown, assuming spaces omitted and all lower case: "aaaaabccddddeeeeeeeffggggghiiiilllmnnnoooooooppprrrrrrssssssssstttwwy"
bglusman··on Automated reasoning in F#, Scala, Haskell, C++, and Julia
Was also hidden for me, agree, small funny easter egg
bglusman··on First Round 10 Year Project
But isn't this the point of removing outliers, to avoid a single data point overly clouding the significance? To be fair, by similar logic they should arguably remove one or more of the least successful businesses, but all failures are generally 'equally unsuccessful' but no two successes are equivalent.
← PreviousPage 5 of 7Next →