2,485 karma · joined November 3, 2009
If it were a desktop app with a local sqlite DB then, yes, definitely (for single user). If I could run a network security and host it on my company intranet, absolutely.
I wrote about it, more here if you're curious:
I don't think that's right. More than anywhere else, it seems like on HN there's an idea of the infallibility of human rationality. Would anyone in their right mind a) shoot dirty dope filtered through a cigarette butt, b) gamble themselves into debt with the mafia, c) overeat to the point they can't leave the house, d) play videogames compulsively for days on end, etc?
I have shared in meetings that I sometimes think AA/NA is a cult. Everyone understood. And over time I've come to see the importance of the word "Anonymous", which is found in the name (obviously) but also in the traditions, and means exactly this: that everyone is equal within the group. There is no "great leader", nobody that is "right", nobody that is "wrong". It is about sharing one's experience -- the things one has done, the actions one has taken -- which speak for themselves.
> and don't agree that telling people they are helpless is the right way to help them
The actual word is "powerless", not "helpless". And this powerlessness describes:
- the addict's inability to stop despite earnest and sincere desire.
- the inability, once clean for a short time, to keep from returning to drug use
Before I started attending 12-step, I had read the Bible, Marcus Aurelius, Tao Te Ching, various self-help books, The Power of Now, How to Win Friends and Influence People, and on and on and on. I had within me all the beliefs and understanding needed to live in a good way, in accordance with my principles. In short, to live with dignity. And yet I could not live according to my own principles. This wasn't just about drug use...it was about being patient, kind, tolerant, loving, helpful. I think that's the root of the powerlessness talked about in AA/NA. What I've found is that, with the belief in a higher power, I'm able to go to bed with a sense of dignity most days.
* renunciation of self
* acceptance of the world / reality, including suffering
* love of mankind
* love of the gift of life
Religion as an institution, however, is something different than the "message" contained within the sacred texts or traditions of religions (lower-case r).
Some religion attracts fanatics, those who believe "We are right and everyone else is wrong." Within that statement there is a marked absence of acceptance, love of mankind, love of life.
There is also spiritual pride, which is more subtle. In Christ's parable of the pharisee and the publican, we see the publican, who prays in all humility for God's mercy, and the pharisee, who thanks God that he is better than the publican. And many Christians reading that parable will think, "and thank God I'm not like the pharisee"!
This struck me as the revelation that changed the protagonist's perspective. And Dostoyevsky presents this using the irrational, symbolic language of dreams: a vision of human dignity. He concludes by quoting Christ's commandment... showing that this isn't new knowledge. It's been known for a very long time, but one must experience suffering and a spiritual death before the full significance of the commandment can be understood.
Kierkegaard's book on Christian love provides an in-depth (and sometimes tedious) discussion of the necessity of love of ones neighbor. Recommend checking it out if you're curious to read why one could come to view such love as necessary for life.
I highly doubt this would affect, say, a blog running with a sqlite database. From the alarmist nature of this post, though, it's unclear.
I see chromium, in their patch, switched to using new flags when opening the DB. There are also some sqlite changes that seem to prevent meddling with virtual table shadow tables (eg inverted index for the fts3 extension).
The question I think everyone is asking is how much sqlite needs to be exposed by an application in order to be vulnerable?
Just my thoughts. Eager to learn more.
Me? I'll stick to my brand name athleisure thank you very much.
http://media.charlesleifer.com/blog/photos/p1473037171.1.JPG
I'm more interested in these types of meta-features if I'm planning to make a potentially multi-year bet on a framework.
> ...my fame, while certainly categorized under “cult of personality” is not necessarily accidental. It’s called marketing. I worked very hard at becoming well known within the Python community, and toiled away at it for years.
I see this as the real issue, which led to premature adoption of a tool that wasn't stable, and the subsequent backlash.
Also, I have been using virtualenv for years and if I want to freeze my dependencies, running `pip freeze > requirements.txt` is sufficient for me.
I don't know...it's recently added upsert compatible with Postgres syntax as well as support for window functions.
Additionally, sqlite has a sophisticated json extension.
> it can only ever do one write or read to the database predictably
WAL mode addresses this, allowing an arbitrary number of readers with a writer.
For concurrent applications just use a dedicated write thread and enqueue writes...your example is contrived. Connection management, transaction scope management, etc, can all work in your favor. Writes occur in a few milliseconds, meaning you only need to hold the exclusive lock very briefly in most situations.
More information here: http://charlesleifer.com/blog/going-fast-with-sqlite-and-pyt...
I wrote about it, discussing my motivations for open source: