HNHacker News
TopNewBestAskShowJobs

charesjrdan

57 karma · joined August 15, 2021

submissionscomments
charesjrdan··on Triplit: Open-source DB that syncs data between server and browser in real-time
This looks super useful for anything requiring optimistic updates, but how do you get data from triplit into another db? Perhaps for analytics or audit purposes.

With something like electric-sql you can just use one of the many Postgres tools, and other local-first options like https://ably.com/livesync have database adaptors for replication. I think this is an important requirement whenever you build your own database

charesjrdan··on Polar Signals Cloud: Always-on, zero-instrumentation continuous profiling
Is there any support for profiling js applications? I see node.js but seems like browser js isn’t supported?
charesjrdan··on Datomic is Free
You could look into http://xtdb.com/ if you want an open source alternative
charesjrdan··on Datomic is Free
There are also similar datalog immutable databases with fully open source codebases out there too like https://www.xtdb.com/ or https://datahike.io/
charesjrdan··on Please help improve Magit
https://github.com/TimUntersberger/neogit Is a port of magit to neovim. Still some stuff missing (rebase/reset iirc) but mostly does the job
charesjrdan··on Babashka is a fast-starting scripting environment for Clojure
I think this is one of my favourite pieces of tech in the past five years tbh.

I still use bash for short <5 line scripts but everything else is bb (though I’ve started looking into nbb because you can use node libs like ink which seems pretty cool)

And repl integration with neovim and conjure is great!

charesjrdan··on Biff tutorial: build a chat app with Clojure
What’s the reasoning behind using some database I’ve never heard of vs Postgres etc?

Interesting project though

charesjrdan··on Clojure Scripting on Node.js
I love babashka but always find nbb scripts hard because everything returns a promise which makes the normal REPL workflow tricky.. maybe I’m doing it wrong though
charesjrdan··on What’s new in Emacs 28.1?
Craft.do is a good solution to your problem if you don’t mind closed source.

I personally have started using logseq.com though, it is a good fully open source file system based approach. It supports markdown and org mode, and I store the files in an iCloud Drive folder so I can access stuff on my phone (though it’s not quite as slick as craft, and setting up an auto deployed website would have to be done manually whereas craft does it for you)

charesjrdan··on DabbleDb (2012)
Twitter bought them for the devs and shut the project down. I just thought it was a very interesting project and even though it’s 10 years old I don’t think I’ve seen any DB tool that allows you to dynamically change the data modal like this
charesjrdan··on Abstract Clojure
Great pointers, I started learning Clojure for a hobby project and was initially put off by the lack of ‘frameworks’ like nextjs or rails, but after effectively piecing my own stack together from components like Reitit and Integrant I’m really glad I didn’t use a framework.

I actually feel like I understand everything that happens in the system now, and when problems arise I can REPL in and hunt them down with confidence.

Though I don’t use Clojure professionally, I’ve definitely become a better developer just from playing with it, a contrast to JavaScript where I feel like learning it actually lowered my iq…

charesjrdan··on Next.js 12
Not sure I agree with your first point. Next can output static sites easily, I've used it for some tiny marketing sites recently and I think its fine for small sites. You get auto routing, and can use react components without any hassle.

And 'sufficiently dynamic web apps still will want a SPA' doesn't make much sense to me because you can just use nextjs in full SPA mode and its just as 'dynamic' as any react app

charesjrdan··on What do I need to read to be a CSS dev?
I also am taking that course (1/3 completed so far, it’s a long course) and have some things to say. Not affiliated in any way, my company paid for it.

I think it doesn’t teach anything you couldn’t learn yourself by reading the spec or css-tricks etc, however there’s just no way I would have bothered reading those things myself as in depth as I am going with the course. There’s definitely some information in the course that I don’t feel is useful, and I already knew quite a lot about css so most of it is familiar, but I still learn important things every time I sit down and go through a module. And I love the interactivity and actual practical challenges included.

So overall I give it an 8/10, and would recommend to anyone working (or who aspires to work) on the frontend.

Is it worth $350? If you’re on an average dev salary then yes, if you’re in school or not exactly floating in money, then I’d say stick to just reading free content online or making things you enjoy and learn by doing.

charesjrdan··on Ask HN: What does one look for in a laptop these days?
I caved earlier this year and got an M1 MacBook Air, $1000 (for the 16gb of ram model) and it’s significantly faster than my (2 year old but much more expensive) thinkpad, it doesn’t have a touchscreen but meets every other requirement you have, and you can now put Linux on it and it works pretty great, and will only improve as marcan and team keep up their great work
charesjrdan··on Amazon asks Ring owners to respect privacy after court rules usage broke law
There is no expectation of privacy in public in the Uk either, it’s perfectly legal to take photos/videos of strangers in public. However in this case, I think the microphones where picking up conversations from private gardens and the camera could see over the fence (which usually have a height limit and can’t easily be raised).

I think you’d also have issues if you had a camera pointed into someone’s garden in the US

charesjrdan··on Tricks I wish I knew when I learned TypeScript
Is there ever a reason to use interface over type? From what I’ve seen it looks like they can both do the same thing but with slight differences in syntax
charesjrdan··on Kei Car
An electric k car (i-MiEV) was the one of the first mainstream electric vehicles, made in 2009, but since then charging infrastructure has not been growing at a very fast rate and is quite a way behind smaller European countries. There are several companies announcing electric k cars for release in the next couple of years but they are much more expensive than petrol and I think it will be decades before they are widespread.
charesjrdan··on Kei Car
There were some strict laws on emissions passed about 20 years ago which led many Japanese car manufacturers to focus on reducing particulate pollution levels. Diesel engines are still used, but are rare compared to petrol because you need relatively expensive filters to meet the new requirements on a diesel.
charesjrdan··on Writing Mobile apps in ClojureScript in 2021
Wow that video of the repl workflow was pretty eye opening! I’ve always wanted to learn clojure but rely on js tools too much, this hybrid approach is intriguing for sure though