Show newer

Quora sent me an "interesting question."

"Is Linux dead? Why?"

I'm not even bothering to read that clickbait. Are some questions stupid? Actually, yes. Clickbait questions are stupid.

But when you still maintain that old code, the cringe becomes a cold sweat
---
RT @catalinmpit
Looking back at my old code and content makes me cringe.

Sometimes it's good to look back and see how far you've come.
twitter.com/catalinmpit/status

At this point I'm too far down the rabbit hole to imagine switching from emacs (far more than code usage). But I'm haunted by the possibility of specialized editors, even though webdev is intrinsically polyglot. Cross-pollination, though, rules my philosophy, and emacs triumphs.
---
RT @stylewarning
With that said, please build more language-specific IDEs. I get a lot of work done in Emacs, and it's the least bad option for me, but I'…
twitter.com/stylewarning/statu

RT @stylewarning
I switched to Emacs after about 12 years of coding. Prior, I was a huge fan of slick, glossy, command & control IDEs. (I probably still would be if they actually continued to innovate.)

Haven't switched since changing to Emacs. It's trusty and dependable, whilst being advanced. twitter.com/bluespacecanary/st

@abbienormal @veer66 it makes no assumptions about the shape of the migration/db you are at right now; it only reads the sql files, and keeps track of which ones have been run yet.

Migratus takes care of loading specified sql files in a particular order, and provides Clojure bindings to run/create said files. It takes an init file, run at the start to set up your schemas, then runs all the up and down migrations in numerical-sort order, where the recommended numeral is something like the Unix timestamp.

So it runs any number of SQL things on your database, and does it in the right order. It also supports knowing which ones have already been run, and being able to back-track them. So it's all about batching and ordering, with some features (which, I'm ashamed to admit I've never used) for versioning your database.

@abbienormal @veer66

The distinction here is whether it helps right queries as you access the db in business logic (HoneySQL does this, so you never need to actually type SQL), or whether it reads SQL code and implements it as migrations (Migratus does this)

@abbienormal @veer66 I think the comparison is to other tools. I didn't know Django did that, but I believe Scala also has a nifty migration-updater tool. For Clojure, I actually want to make something that will create migrations based on my current data. Right now, though, I just use Migratus plain.

@carce @DeveloperMemes I have an emacs plugin that coverts between cases on the spot, but fortunately I don't spend much time switching contexts so I don't have to deal with this too much. Just snake-case (clojure, elisp, scheme) most of the time, then camel (javascript) and whatever (php)

@abbienormal I may have done what you are doing before. For our migration needs we use migratus, and each project has init files and populate up/down files. We have several times converted from mysql to postgres, though it takes some manual work. What exactly is your project? github.com/yogthos/migratus

There is a productive joy to being able, once again, to go in one keystroke from my browser, to my email, to my daily agenda, to any bookmarks, notes, or current tasks.

RT @fvides
Finally biting the bullet with CLJS. Thanks to @ericnormand for his fine tutorial ericnormand.me/guide/clojuresc
It rocks!!

twitter

how it started: :blobcat3c: msn messenger but it doesn't beep when you post to it
how its going: [suing the worlds richest man to force him to buy it]

RT @openuk_uk
Hoping to see the UK use to support this “Standards-based compliance, allowing all suppliers to test solutions against standards in an open, neutral environment” and @JuliaLopezMP fiercewireless.com/tech/uk-out

@freemo ok. I was just going by the "about", which has a version number

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.