Better HN
topnewbestaskshowjobs
Log inSign up

dflock

2,546 karma · joined Nov 23, 2008 (18y ago) · 839 submissions

I'm Duncan Lock, living the UK. I'm a Senior Developer at photonic.com. Contact:

Website: https://duncanlock.net/ Email: duncan (dot) lock (at) gmail (dot) com

meet.hn/city/gb-Bristol

[ my public key: https://keybase.io/duncanlock; my proof: https://keybase.io/duncanlock/sigs/NOd2vERXDgkax-fOVXbQt4pgY-BQ7dynDUPMGVpBf1w ]

Submissions

comment 1w ago · link · parent

I've been using this skill with Claude on a new project and it's nice, but it's quite expensive, token wise. It's ~$5 per use, on my codebase, which seems fairly high to me. This is according to the crappy stats in the claude usage thing, so not sure how accurate that is.

comment 1mo ago · link · parent

Good at research, terrible at product?

comment 1mo ago · link · parent

From https://en.wikipedia.org/wiki/The_Garin_Death_Ray if anyone else was wondering.

comment 1mo ago · link · parent

You need example product pages.

comment 2mo ago · link · parent

I like you blog and tried to add it to my feed, but it doesn't appear to have an RSS or Atom feed. I know beehiiv supports feeds - any chance you could switch it on?

comment 4mo ago · link · parent

That's an interesting - and maybe correct - point. Looking at the examples, it seems very long winded and not something I would want to write myself - but maybe I don't need to care about that anymore, as you say!

comment 4mo ago · link · parent

This looks interesting, and I've been keeping an eye on this for a while - but does anyone have experience from actually using this for real?

comment 6mo ago · link · parent

I see people are doing scripts or other things to remove shorts from their feeds, but there is a simpler solution. Take your RSS URL of a channel, e.g.:

https://www.youtube.com/feeds/videos.xml?channel_id=UCxSGC9B...

Replace the `channel_id` with `playlist_id` and replace `UC` with `UULF`. This prefix will only list normal videos:

https://www.youtube.com/feeds/videos.xml?playlist_id=UULFxSG...

----

From this comment: https://news.ycombinator.com/item?id=48032508

comment 7mo ago · link · parent

No one knows how many vulnerabilities there are in closed source medical record software - because we can't check. There are _probably_ loads though, because that medical software is super terrible in every way that we _can_ check.

comment 7mo ago · link · parent

Before. I could, probably, now get an LLM to refactor everything to be inside the statechart - but I'm not sure if I actually want that.

comment 7mo ago · link · parent

I've tried to use state charts for frontend development a couple of times, but bounced off. IIRC, I was using xstate with vue, and I found that they were hard to retrofit to existing systems, and where I tried, I found that the boundary between the part of the system controlled by xstate and the rest of the system problematic. It felt like it would work better with everything "inside" the statechart, but that's a big lift for an existing codebase.

comment 10mo ago · link · parent

Recent Claude will just look at your code and copy what you've been doing, mostly, in an existing codebase - without being asked. In a new codebase, you can just ask it to "be conscice, keep it simple" or something.

comment 1y ago · link · parent

There are a bunch of libraries that will do this - here's one example of a python one: https://github.com/yuce/pyswip - and a ruby one: https://github.com/preston/ruby-prolog

comment 1y ago · link · parent

There are a bunch of libraries that will do this - here's one example of a python one: https://github.com/yuce/pyswip - and a ruby one: https://github.com/preston/ruby-prolog

comment 1y ago · link · parent

Interesting! There are ~2 starlink satellites re-entering the atmosphere _every day_ now - and this is only set to increase. I wonder if this was caused by starlink debris?

comment 1y ago · link · parent

You can still do this, it all still works, technically. You will have a spam/malware/security issues that wouldn't have been an issue back in the day. You will also have discoverability issues - but that hasn't actually changed, if it's just for you or your friends.

comment 1y ago · link · parent

- [supply-chain-security · GitHub Topics · GitHub](https://github.com/topics/supply-chain-security)

- [GitHub - safedep/vet: Protect against malicious open source packages](https://github.com/safedep/vet)

- [GitHub - AikidoSec/safe-chain](https://github.com/AikidoSec/safe-chain)

- npm audit

comment 1y ago · link · parent

The store in the case of pass, is a plain text file, whose contents are encrypted strings. If you trust the encryption, you can put it anywhere you like. Keep the keys secret and safe, though!

comment 1y ago · link · parent

If you could mash this together with this: https://www.newsminimalist.com/ - that would be great.

comment 1y ago · link · parent

Please ingest the biotech industry!

comment 1y ago · link · parent

Show examples of things built with it?

comment 1y ago · link · parent

https://github.com/unkyulee/micro-journal

comment 1y ago · link · parent

Dark Mode, and media queries are both just options/hints - they are implemented on the client side - by the user agent.

The actual problem is that most browsers have forgotten that they're "user agents" - and have stipped away all the configurations and options that they used to have, removing control from the user.

Vivaldi is still very configurable, and still behaves like the users agent.

comment 1y ago · link · parent

I want this too! I discovered a really esotieric way to get this: https://duncanlock.net/blog/2024/01/04/super-fast-reader-mod... - but it would be really nice if there was just a way to switch reader mode on permenantly in modern browsers. Apparently Safari can do that, but afaik no other browsers support it.

I really wish browsers were more modular - if the rendering engine and network fetching were easily separable - and you could insert your own steps into that pipeline, you could do all sorts of neat stuff. If I could insert some code of my own in between the fetch and the render, that would be ideal - strip out all ads and malware, optionally remove all scripts or css, run it through readability, etc...

comment 1y ago · link · parent

Probably this place: https://cat.org.uk - Llwyngwern Quarry, Machynlleth, Powys, SY20 9AZ

comment 1y ago · link · parent

Great idea!

- What country/ies do you accept users from and which jurisdiction do you store their data in?

- Get a HIPPA/GDPR/PHIPA audit by a legal professional ASAP!

comment 1y ago · link · parent

Inkscape does have multi page, now, if you still want that.

comment 1y ago · link · parent

It's all a language trick.

comment 2y ago · link · parent

The UK climate is, currently, very good at growing grass. You can continuously graze cattle all year round in most of the country, as long as you rotate them between fields every few days. If you have enough space, by the time they get back round, the grass is back. The cow shit fertilizes the grass, and silage made on the farm does a lot of the winter feed top up. As long as the density isn't too high, it can be pretty low input.

comment 2y ago · link · parent

Infrastructure is care at scale, as Deb Cachra would say: http://debcha.org
12345
28