HNHacker News
TopNewBestAskShowJobs

coleifer

2,485 karma · joined November 3, 2009

submissionscomments
coleifer··on I ruin developers’ lives with my code reviews and I'm sorry
My experience with having my code reviewed was overwhelming positive, if frustrating at times. There was one reviewer in particular who had a way of asking just the right questions to point the way to a better approach. It also changed the way I write code, too. Little things like naming stuff, internal consistency...I grew to have an intuition about these things.

I try to view code review as my chance to pass this on. It's about teaching someone how to read their own code with a critical mind. It's definitely not about superlatives like best, perfect, whatever.

coleifer··on Ask HN: What books changed the way you think about almost everything?
The Hero with 1000 Faces, by Joseph Campbell.
coleifer··on If You're Often Angry or Irritable, You May Be Depressed
I didn't mean to contradict you. Speaking personally, I would go through these bouts of "trying to be good" and I could pull it off for a couple of days max before the mask dropped. I just couldn't ever stop judging, criticizing, blaming, etc. I love the analogy, by the way. Or, "I double-clicked it, it's right there! Why the fuck won't it open?"
coleifer··on If You're Often Angry or Irritable, You May Be Depressed
Yeah, I have a suspicious streak (paranoid? I don't know, maybe?), too. That comes with a deep fear of being taken advantage of, a fear of being a sucker, a mark, a rube, whatever. I am mistrustful of other people's motives, and assume the worst.

What has counteracted that tendency, which I think may be partly innate, partly learned (a paranoia spectrum?), is two things: 1) the only reason anybody ever wants to tear me down is to build themselves up, and having been guilty of that myself, I can have compassion for them, and 2) I have found that I can put faith in the universe that, so long as I do the right thing, I go to bed with a sense of dignity and am not so afraid. That's not to say I don't have boundaries. I can have boundaries without taking it personally when others cross them, though.

coleifer··on If You're Often Angry or Irritable, You May Be Depressed
Well, I wasn't talking about being kind in order to feel good about myself. That would be the same old turd (selfishness) just wrapped up in a nicer package. Like when I'm sitting on the airplane that's been parked outside the gate for an hour, my ass is killing me and I'm ready to go home and I start silently cursing everyone and everything that stands in my way -- YET, when I disembark, I still smile and thank the stewardess, and let the antsy types cut in front on their way off the plane. I go to bed with a feeling of dignity and peace.
coleifer··on If You're Often Angry or Irritable, You May Be Depressed
I definitely get that, too. I pull up at the stoplight next to a lady in the other car, she's on facebook, looking at pictures and videos of other people. I want to shout, "hey, what the fuck? Wake up." And then I think about her as a person. With needs, desires, fears. A complete person, just as much as I'm a complete person. The initial reaction softens and I have compassion for her because we're the same.
coleifer··on If You're Often Angry or Irritable, You May Be Depressed
In my head I refer to this perspective as "this toilet earth". And it's easy to get swept away by it. The antidote is in your own heart, and in the hearts of all people. An unselfish, hidden act of love. Taking actions that align with what we commonly understand to be good, kind and unselfish have literally changed the way I think and the way I see (most of the time, right?). I could never think myself into acceptance of the world, but by taking actions my perception has changed without any effort.
coleifer··on Dotfile madness
Easier to version your configs if they're all in one place. Easier to find a config file, less guess-work. Generally helps keep the home directory tidy of cruft. Not a huge deal, obviously, but programs should be well-behaved programs.
coleifer··on Consciousness as a State of Matter (2015)
Regardless of any of that, it sure is interesting to be alive and human. We feel emotions, can talk to one another...it's all very, very wonderful and strange.
coleifer··on Most People With Addiction Grow Out of It (2014)
It's my experience, and the comments seem like a relevant place to share it. You're welcome to disagree. You have your own anecdotes (drain on family), which you, too, are sharing.

For what it's worth, my wife, son, parents, siblings and co-workers all would say that 12 step has improved our relationships.

coleifer··on Most People With Addiction Grow Out of It (2014)
Almost everyone I know who is successfully clean and happy in 12-step had long ago exhausted all the options: doctor, priest/preacher, psychologist, moving to a new town, "going to the gym", etc. Nobody would ever (myself included) do 12-step because we actually think it would work. And yet it has worked for me when nothing else did.
coleifer··on Most People With Addiction Grow Out of It (2014)
I think about that often-quoted statistic about Vietnam veterans, most of whom used heroin while deployed, yet only about 5% came back and were full-on junkies. Stuff like 12-step is for that 5%...the folks who have already been to the doctor, the priest, the psychologist, and still can't get clean. Personally, I had to try everything else and completely run out of options before I was willing to try 12-step, which has worked. I also take meetings into detox, it's been very helpful for me and hopefully others. And of course, I don't believe there's any one way to get clean. I have my own experience, though, and that's what I can share.
coleifer··on New Raspberry Pi Compute Module 3+
Excuse the ignorance, but how does one use it? What would be some applications for this?
coleifer··on Design of LuaJIT 2.0 (2009)
I use luajit in a few places in my own stack (Redis, Kyoto Tycoon) and appreciate how magically fast it is. I have no idea how to approach a post like this. SSA, FOLD, it's all Greek to me. I feel pretty satisfied swapping an n^2 loop for an nlogn implementation, but this is a completely different level. Grateful for this library and for the fact that I don't have to understand it to use it (it's good to be humbled).

Also anecdotally, I think raptorjit is a kind of next incarnation of luajit. https://github.com/raptorjit/raptorjit

Actually, found this on the raptorjit readme, a list of helpful optimization resources: https://github.com/raptorjit/raptorjit/blob/master/README.md...

coleifer··on Lapis – A web framework for Lua or Moonscript
OpenResty looks pretty cool. Have any patterns emerged for building large-ish apps on it?
coleifer··on How Hacker News Stays Interesting
I'm reading the hero with one thousand faces right now. Absolutely enchanting.
coleifer··on Why Are Young People Pretending to Love Work?
Precious!
coleifer··on Why Are Young People Pretending to Love Work?
How can you tell when someone is an atheist?

> me as an atheist

Oh wait...they'll tell you.

coleifer··on Why Are Young People Pretending to Love Work?
My own sense is that without a relationship with God, I'm going to miss the mark with my family.
coleifer··on Why Are Young People Pretending to Love Work?
Perhaps we're both right, in a way?
coleifer··on Why Are Young People Pretending to Love Work?
If you're going to stick by your company, why are you interviewing?

PS, good luck staying clean. Hit me up if you want to talk, I've been through similar stuff.

coleifer··on Why Are Young People Pretending to Love Work?
You're projecting! The author did not strike me as being incredulous. I think your own comment, your reading of the article, and your insistence (nobody is arguing with you) that you love your work -- this is the phenomenon being examined in the article.

Edit: sorry to see this downvoted. Guess it's a little on the nose.

coleifer··on Why Are Young People Pretending to Love Work?
I think some people are confusing the point. It's not about whether or not you enjoy your work. It's about the glamorization of working more than others.

I think a critical mass of people have bought into the belief that overwork is equivalent with success. That dedication to work is heroic. So there's signalling going on, a desire to cultivate the image of being a winner (in this narrow sense). There's also naivety... people who buy into this and aren't just signalling but truly think working in this way is somehow reflective of the superiority they desire to possess. So there's a cyclical effect, one group feeding back into the other.

coleifer··on Google Memo on Cost Cuts Sparks Heated Debate Inside Company
Perhaps some people are content with their role. I know many engineers, who, by virtue of being productive, got themselves promoted into managing roles where they hardly ever write code.

Perhaps this system works because it allows "climbers" to proceed up the ranks, ensuring they don't become resentful, while ensuring productive engineers get to stay productive?

coleifer··on Running Fast SQL on DynamoDB Tables
Running (expensive) SQL on dynamodb tables.
coleifer··on Ask HN: What are must-know concepts for back end development?
Depends on what you want to do. Php and MySQL, available on any shared hosting provider, can take you far. In 2008 I wrote an online food-delivery platform that served a busy college town. Plain old php and MySQL. It's still running today.
coleifer··on Programming Fonts – Test Drive
I put together a list of my own, including screenshots with a small code snippet. Might be helpful as this list does include some that are not listed on programmingfonts.org: http://charlesleifer.com/blog/monospace-font-favorites/
coleifer··on Kubernetes Failure Stories
I'm not sure but would something like docker swarm qualify?
coleifer··on ArangoDB: Multi-model highly available NoSQL database
Yes. I'm also curious about what kind of tradeoffs I would be making by choosing arangodb over postgres, etc. For example, with Postgres you have acid but not much in the way of horizontal scale-out. With Redis you have speed (single thread, though), but data must fit in ram. What am I giving up by choosing this DB?
coleifer··on Sacklers Directed Efforts to Mislead Public About OxyContin, Documents Indicate
This isn't about prescribing pain meds to those who need them (post op, broken leg, etc). It is about a company making fraudulent claims about the addictiveness of the drugs.
← PreviousPage 7 of 17Next →