HNHacker News
TopNewBestAskShowJobs

coleifer

2,485 karma · joined November 3, 2009

submissionscomments
coleifer··on A multithreaded fork of Redis that is faster
Friendly reminder that Kyoto Tycoon might be an option. Has real persistence (not just dump everything / reload everything, or cripple performance by turning on aof), is multi-threaded, scriptable via lua, amazing performance.
coleifer··on Joint Statement on the GNU Project
I see this as an essentially "internet" reaction. It is cowardly in the extreme. I doubt any of these people would say to Stallmans face the things their letter implies. Furthermore twitter etc act as an amplifier for whatever words you throw in it, and as the news networks and talk show hosts figured out years ago, outrage sells. There's also white-knighting, probably a consequence of social awkwardness and discomfort, because nerds grow up but they may not grow out of it.

Sad and cowardly, hardly surprising.

coleifer··on Richard Stallman Has Been Vilified by Those Who Don’t Know Him
> our society

Whose? Isn't that exactly the issue?

coleifer··on Richard Stallman Has Been Vilified by Those Who Don’t Know Him
His life's been ruined by a shrieking Twitter mob. Who's next? These sjws are complete parasites. They never fork. Just go after vulnerable people at the top and insinuate their way into established institutions.
coleifer··on Richard Stallman steps down as as head of the GNU Project, effective immediately
So true. His life's been ruined by a shrieking Twitter mob. Who's next?

These sjws are complete parasites. They never fork. Just go after vulnerable people at the top and insinuate their way into established institutions.

And they seem to be winning.

coleifer··on Algorithm No One Knows About (2016)
The algorithm described in the article has other desirable properties:

* IDs are returned in sorted order

* IDs are generated one after another, ie could be implemented as a generator or coroutine

* No additional space required during the computation

Resulting in a single pass.

coleifer··on Turn off DoH, Firefox
There are two points:

1. centralization of all dns lookups is worrisome

2. Dns should not be handled by applications. It should be handled by the operating system.

I see a lot of people conflating the two in the comments.

coleifer··on Sunsetting Python 2
New features planned for python 4.0:

http://charlesleifer.com/blog/new-features-planned-for-pytho...

coleifer··on Toy Stories: Children around the world with their most prized possessions
Ehh sometimes kids like guns. My aunt was telling me how she wasn't going to let her kids have toy guns or watch violent shows. One morning she made toast, and my cousin had bitten his toast into the shape of a gun. He's now a writer for wacky kids shows.
coleifer··on WTF – A personal information dashboard for your terminal
It is better to give than to receive! Let me know if you want more, I can riff on this topic for...hmm... at least 250 words.
coleifer··on How to set up a perfect Python project
It seemed easier than vomiting.
coleifer··on How to set up a perfect Python project
What a bunch of shit. This is mere performance art. All you need is a setup.py and you're ready to package up a basic python project. Unbelievable.
coleifer··on WiringPi – deprecated
Party-pooper.
coleifer··on WiringPi – deprecated
I haven't used this library but I maintain a couple moderately well-used python libraries and completely sympathize with these frustrations. The absolute worst was a guy who asked for all sorts of changes then, when I had made it clear I was going a different direction, he tried to start a public shaming on Twitter, this site, Reddit, and even the Wikipedia page (since removed at my own request). It was un-believable. He was the cto of a company, too, at least at that time.

It is sad that there are people out there who will try to ruin your day if you don't do what they want. Especially considering the work we put into these libraries.

coleifer··on A Beginner’s Introduction to Python Web Frameworks (2018)
Class based views: I've got 99 methods and I can't remember the right one.
coleifer··on Show HN: I made online community for unusual people
Suggestion: hire a copy-writer and get help with all the copy on the pages.
coleifer··on Python Is Eating the World
What stood out to me: online bullying (dressed-up sometimes as concern/outrage) is what led to Guido stepping down.

Python is great, but it will never be perfect. But the outrage stuff, the entitlement stuff, essentially anything that happens on Twitter... Python seems like a victim of it's own success. Once it got popular, it couldn't scale the checks that might have stopped this runaway train of shit-tweets and bickering on the mailing list.

Personally I don't like a lot of the things that have happened in 3 (asyncio, type whispering, fstrings). I can't help but wonder if, again, this is due to becoming too popular too fast. I say that because aesthetically these features seem to go against the Zen of python.

May you never have users, but if you do, may they not have Twitter accounts!

coleifer··on Are We Living in a Computer Simulation? Let’s Not Find Out
Who cares, because eventually the buck stops somewhere. In other words, it doesn't matter how many layers of simulations there are, because at the top presumably there's a "reality". It's easiest to just assume that's where we're at, but if not, all the questions we ask about the nature of reality/life/being are still just as valid (even if we're operating at some remove from it).
coleifer··on Ask HN: What are the “best” codebases that you've encountered?
I know it's a cliche but the sqlite code is the easiest to read C I've encountered. Followed closely by the code for Redis.
coleifer··on PEG Parsers
They're... beautiful.
coleifer··on PEG Parsers
I've made a few half-hearted attempts to use lpeg:

http://www.inf.puc-rio.br/~roberto/lpeg/

The operator overloads are a lot to reckon with, beyond just the concepts, but it seems like there's something there worthwhile of study and learning. Hope to give it another try.

Be interested in any introductory material, if anyone has some good links.

coleifer··on What's Coming in Python 3.8
Lua is a great small language.
coleifer··on Client side caching in Redis 6
Whether or not you like this feature or think it's a good idea, the brunt of this will be born by library writers. Yeah you can use a dedicated thread to listen to these push messages, but really this is tacitly blessing the asyncio's and whatever else.

As you can probably tell, I'm not at all a fan of the way Redis is moving. It hit a sweet spot as a "better memcached" but apparently aspires to be a real database, so now this nice simple tool is all crazy. The new protocol just kinda sucks for synchronous use.

I'd go with a hand-written in-memory caching scheme before I ever considered a Redis sandwich with this feature. Seems like a complexity nightmare and very difficult to reason about. Yeah maybe I'm being crusty, but I'm just thinking about maintaining and debugging something like this and having cold sweats. The linked redisconf talk clearly bears this out. Sounds like they had a hell of a time. But then that also provides some measure of job security?

coleifer··on I thought I made a hard game and then speedrunners destroyed it
He was saying that in self-mockery, something hn knows nothing about apparently /s
coleifer··on When Pepsi Had a Navy
Super grimy site, picked up that I'm on at&t and redirected me to some scummy "take our survey and win some shit" site with a fake message dialog.
coleifer··on The rise and fall of the company behind ‘Reader Rabbit’ and other games (2018)
I grew up playing number munchers, but we had reader rabbit as well. Since I already knew how to read at that time, we just referred to reader rabbit as "Evan's game" (my littlest brother). It seems, in my memory, like the computer was a source of wonder. The games were strangely austere and left a lot more room for my imagination to take over (kinda like the difference between reading a book and watching a movie). Miss those days!
coleifer··on I got asked LeetCode questions for a dev-ops systems engineering job today
Who cares. It might as well be experimental theatre for all I care. If I want the job, I'll put in the effort. It's that simple.
coleifer··on I got asked LeetCode questions for a dev-ops systems engineering job today
Yeah, I studied for an interview and it paid off huge. Just treat it like a cs exam and you'll be fine.
coleifer··on Ask HN: More tech-oriented HN alternative?
Yeah, the community/demographic seems like it has changed quite a bit since even a couple years ago. It's so politically charged these days, hardly anything that interests me (and what the fuck is the deal with this Boeing 737 fetish?). Privacy shit, security shit, cryptowankery, JavaScript shit, and the weird "motivational" posts? Seriously, my time wasting has really suffered under these changes.

Forgot to add: sleep shit. What's up with that?

coleifer··on National Park Typeface
Awesome to see the university of Kansas being repped. I saw the blurb showing "KU" and thought...no way! Great job by some talented people. Thanks for sharing.
← PreviousPage 4 of 17Next →