HNHacker News
TopNewBestAskShowJobs

coleifer

2,485 karma · joined November 3, 2009

submissionscomments
coleifer··on Prisma – Database tools for modern application development
Is this a library? A server? Something else? It looks like a business, so what's for sale?
coleifer··on SQL databases come up with algorithms you’d never have dreamed of (2017) [video]
"peewee" - https://github.com/coleifer/peewee
coleifer··on SQL databases come up with algorithms you’d never have dreamed of (2017) [video]
jOOQ is legit. I found it very helpful to read jOOQ as I was writing my own library in python. There's a huge difference between a query-builder and something like hibernate or sqlalchemy.

Query-builders make it easy to compose queries, leaning on your programming language to enforce syntactic correctness. When you're dealing with SQL directly, composition means string concatenation. A query builder gives you a data-structure that represents a query.

I think it's helpful to distinguish between query-building and object mapping when the "orm-vs-sql" thing comes up.

coleifer··on Pluggable Storage Committed in Postgres
Sqlite has a concept called virtual tables, which sit somewhere between "pluggable storage" and postgres foreign-data-wappers. They are fairly easy to implement and can be incrementally improved by providing more sophisticated hints to the planner. I think the folks at tarantool have done some work hooking deeply into sqlite's pager/wal, presumably others (the folks who connected sqlite to lmdb?). And of course Oracle, who ripped out the sqlite btree and replaced it with BerkeleyDB.

I think sqlite4 (defunct) was going to have pluggable storage, but they ended up scrapping it. Presumably over performance concerns, but please correct me if I'm wrong.

Anyway, interested to see how this feature is adopted and to learn more.

coleifer··on Why Don't Americans Understand How Poor Their Lives Are?
> Were we thinking of ourselves most of the time? Or were we thinking of what we could do for others, of what we could pack into the stream of life?

That final question he's quoting is from the alcoholics anonymous literature. I wonder if he knows that?

Another good one:

> Selfishness - self-centeredness! That, we think, is the root of our troubles. Driven by a hundred forms of fear, self-delusion, self-seeking, and self-pity, we step on the toes of our fellows...

coleifer··on You probably don't need that hip web framework
> your first version of your idea almost always doesn't need that hipster web framework you're thinking about using.

No, but I bet your last version will have. Right before it fades into obsolescence, never to be seen again.

coleifer··on On Being a Free Software Maintainer
In 10 years, really the only negative experience that in any way affected my well-being was the incident I wrote about in the linked blog post. That covers probably a couple thousand GitHub issues. So really overwhelmingly positive stuff. Amazing how much I let one guy fuck up my day, in retrospect.
coleifer··on On Being a Free Software Maintainer
Oh this is infuriating:

> You will be told that you need to develop a thick skin.

It's the equivalent of a bully taunting with "stop crying!"

I have been doing open source for about 10 years. A couple of my projects have 1000+ stars on gh for what it's worth.

Most people are chill. Some people disagree without being disagreeable. Then there's others who are completely toxic. A guy who was cto of a company and wanted to use one of my libraries made me absolutely miserable for weeks. Wrote about the experience here:

http://charlesleifer.com/blog/your-idea-sucks/

coleifer··on Paul Graham inspired the creation of Redis
Best not to read the comments. There's literally nothing you can do about the phenomenon you're describing.
coleifer··on On Learning Rust and Go: Migrating Away from Python
Which one did you feel I had broken? This post was just meme-filled gas.
coleifer··on On Learning Rust and Go: Migrating Away from Python
Dude wants a compiler and wants to go fast. And he picks rust? Guys been hanging out way too long on hackernews.
coleifer··on On Learning Rust and Go: Migrating Away from Python
So a typically unimaginative python programmer sees new Kool aid and is thinking about taking a drink. Decides to write blog post about it. And somehow it's #1 on hn.
coleifer··on Redis streams as a pure data structure
Can you read from a stream that doesn't exist yet?
coleifer··on Rebuilding My Personal Infrastructure With Alpine Linux and Docker
This is what existential terror looks like. In the face of something incomprehensible and impersonal, OP decides to spend a while rearranging the deck chairs. Nothing has changed, but perhaps OP felt a little better about himself for a while.
coleifer··on Winding down my Debian involvement
So some guy realizes that the vast resources and top-down direction available at large corporations don't translate to a huge open-source project (which itself is compromised of tons of open-source projects)? And it took him 10 years to realize this?

Seriously though, I'm amazed at how well Debian just works. And I know it's because enough people are willing to put up with these types of frustrations. Thanks for the hard work.

coleifer··on APL – A Glimpse of Heaven (2006)
I'm reminded that it's possible to be quietly weird and brilliant, in the world that moves on in ignorance of the latest JavaScript shit, kubernetes shit, database shit, ... Thanks for sharing!
coleifer··on On Tolstoy's “War and Peace”
I sometimes think about Andrei and Pierre, such opposites and yet best friends. The way their fortunes seem to move in counterpoint. I've often preferred Andrei to the dreamy, idealistic Pierre, but on my most recent reading I think I finally saw why Pierre is the true hero, and not Andrei. I think it is this: Pierre was a seeker...always looking for the meaning in life. He was life-affirming, while Andrei was ironic and focused on what was artificial, life-denying. The scenes with Karataev are my favorite in the whole book. Such a joy to read. Tolstoy had such a good bead on psychology, what motivates individuals. It feels so honest.
coleifer··on Microservices, Containers and Kubernetes in Ten Minutes
How do you want your spaghetti served? Baked-in the code, or the rpc variety?
coleifer··on Maya ritual cave ‘untouched’ for 1k years stuns archaeologists
It's like that one time we decided to do a rewrite... without tests.
coleifer··on Web Design 3.0: When Your Web Design Matters
> how to ensure you can stay employed to shit out JavaScript and bloated styles.
coleifer··on The sad state of font rendering on Linux
I don't know...turn on subpixel with slight hinting, disable autohinter, enable lcdfilter and the result is pretty damn good. For monospace truetype fonts I use grayscale instead of subpixel, which I think is cleaner in the terminal... unless of course I'm using a bitmapped font. It took me quite a while to get it looking good, but ultimately I guess it's a matter of taste. Do you want to preserve the look of the font? Do you want to smash it into the grid? Do you want colors on the fringes? With Linux I can choose.
coleifer··on A strange-looking fish washed up on a California beach
Ugh ok, I'll bite..
coleifer··on Zulip 2.0: Open source team chat
It literally has 950 GitHub issues. How is that possible?
coleifer··on How I'm still not using GUIs in 2019: A guide to the terminal
Narcissism of small differences. Pointless blogspam. Also, Neovim is much closer to visual studio than it is to something like nano or whatever.
coleifer··on In search of ET: Fear of what’s out there causes split among space scientists
Not discussed by the article, but I wonder...Is it more terrible to find out that nobody's out there? Nobody's listening?
coleifer··on The most popular docker images each contain at least 30 vulnerabilities
Can't tell if this is fud or not. For example with node, typically you'd only be exposing port 80, right? So as long as your http server isn't vulnerable you're ok. Or same with Redis, which I hope isn't anywhere near the public internet?
coleifer··on This Cat Does Not Exist
Yikes I hope not. What is this eldritch abomination?

https://i.imgur.com/xXZuQ5K.png

coleifer··on Redis Labs Raises a $60M Series E Round
Thank you for taking the time to respond so thoughtfully to my comment. If I had been talking directly to you, I hope I would have written something less entitled and expressed more gratitude for the gifts you've given the community, and which you continue to improve.

Redis is exactly the kind of software that gives me joy. Aesthetically and intellectually. Its pieces are orthogonal -- a word you used in your blog post. The code is small, tight, and well designed. It invites you to think more creatively. The lolwut command was also a very good innovation!

coleifer··on Redis Labs Raises a $60M Series E Round
I love Redis, but I'm a bit skeptical of some of the changes that are currently in development. The respv3 protocol has some features that, while they sound neat, also could significantly complicate client library code. There's also a lot of work going into a granular acl. I can't imagine why this would be necessary, or a higher priority than other changes like multi-thread support, better persistence model, data-types, etc.
coleifer··on I ruin developers’ lives with my code reviews and I'm sorry
Yeah I had to learn this lesson, and I think I will continue to find my ego cropping up in strange places, and again practice letting go.

My ego drove me to work extra hard to try and impress others. I would become petulant if I didn't get my way. I look back on the first few years of my career with so much cringe!

← PreviousPage 6 of 17Next →