2,069 karma · joined December 9, 2011
I built dreamcoder.ai, it's a coding harness for people tired of squinting at terminal windows and want a real UI without any compromises. It runs in your browser on your hardware. It has a tiling window manager, proper keyboard support, and oodles of quality of life features for those of us who runs dozens or hundreds of agents!
I am also the author of "Mastering Emacs" book and blog - see masteringemacs.org
I write a lot of (mostly emacs lisp) open source here:
http://github.com/mickeynp/
You can email me on mickey at semantical.co.uk.
You can instruct postgres to raise exceptions using the same error code that constraints use: that way your clients do not need to know the difference.
Reading the wikipedia page for it may make you rethink that thought though :(
In the 90s, sites did kinda look like that.
Dislocating DML from the code that triggers it creates many problems around ensuring proper data integrity and it divorces consistent reads of uncommitted data that you may want to tightly control before committing. By punting it to a dedicated writer you're removing the ability to ensure serialised modification of your data and the ability to cleanly react to integrity errors that may arise. If you don't need that? Go ahead. But it's not fud. We build relational acid compliant databases this way for a reason
It's that we need to contort our software to make sqlite not suck at writes that is the problem.
I mean it's not if he's got lock contention from BUSY signals, now is it, as he implies. Much of his issues will stem from transactions blocking each other; maybe they are long-lived, maybe they are not. And those 3-500 queries --- are they writes or reads? Because reads is not a problem.
PRAGMA foreign_keys=ON
PRAGMA recursive_triggers=ON
PRAGMA journal_mode=WAL
PRAGMA busy_timeout=30000
PRAGMA synchronous=NORMAL
PRAGMA cache_size=10000
PRAGMA temp_store=MEMORY
PRAGMA wal_autocheckpoint=1000
PRAGMA optimize <- run on tx start
Note that I do not use auto_vacuum for DELETEs are uncommon in my workflows and I am fine with the trade-off and if I do need it I can always PRAGMA it.defer_foreign_keys is useful if you understand the pros and cons of enabling it.
You can't. You have a single writer - it's one of the many reasons sqlite is terrible for serious work.
You'll need a multiprocessing Queue and a writer that picks off sentences one by one and commits it.
You need a brace of PRAGMAs to get it to behave reasonably sanely if you do anything serious with it.
Calling it flashy is an especially amusing critique. You couldn't kick your way through the 90s and 2000s without the endless parade of semi-transparent terminal windows running on various shades of windowmaker, enlightenment, kde, etc. all to show off how much more advanced the graphics pipeline and customisation was compared to Windows or Mac at the time. So this is hardly a new thing.
Let's hope this distro picks up steam; that it helps convert people who are fed up with Apple and Microsoft to another way of doing things. Arch + hyprland is a fine place to start.
https://www.gnu.org/software/emacs/manual/html_node/emacs/Gr...
You can change the exec-path to point to your cross compiled grep tool --- or you can change the command string to your tool of choice.
You can rail against its defaults, but do not make misleading claims.
Rock 'died' because it's been around for 50 years; were the favourite of boomers who ensured it always had air-time; and now they're out to pasture and other music styles reign. My dad was a pro drummer in the 70s and hated everything that wasn't rock or metal. He was incapable of appreciating anything else. Or so he said.
As a kid of the 90s, I could never quite find music that fit me. Sure, I liked some rock and roll, pop, and so on --- but when I was first introduced to techno (Antiloop - Believe, to be specific) at a LAN party I knew I'd found my home: techno and then trance.
But good luck finding Antiloop or the nascent trance on MTV or commercial radio in the 90s. The people who ran those things didn't like it, know about it, listen to it, or felt it had commercial value. So I had to learn about it from randos at a LAN party.
Actually I point out you can use webusb to flash it (if you use Chrome) further down ...
The real danger in all of this, swap or no, is the shitty OOMKiller in Linux.
I worked with Delphi personally and professionally for many, many years. You were at the precipice of unemployment in the 2000s if you used it then. To do it now? You're like a looney toons character suspended in mid-air. There's Delphi work around, to be sure, but you're competing against people with 30 years of commercial experience building -- or rather just keeping them limping along -- today, and they are as desperate as the Powerbuilder, Oracle Forms, FoxPro and Lotus Domino folk in scratching out an income in a stagnant pool.
Delphi died an ignominious death a long time ago, and it is truly sad. I miss it; frontend development today is a joke compared to what we could do with Delphi. But so what? It's dead. And it's not coming back.