@lyse@lyse.isobeef.org OK. So how I have worked things like this out is to have the interface in the root package from the implementations. The interface doesn’t need to be tested since it’s just a contract. The implementations don’t need to import storage.Storage
- storage/ defines the
Storageinterface (no tests!)
- storage/sqlite for the sqlite implementation tests for sqlite directly
- storage/ram for the ram implementation and tests for RAM directly
- storage/sqlite for the sqlite implementation tests for sqlite directly
- controller/ can now import both storage and the implementation as needed.
So now I am guessing you wanted the RAM test for testing queries against sqlite and have it return some query response?
For that I usually would register a driver for SQL that emulates sqlite. Then it’s just a matter of passing the connection string to open the registered driver on setup.
https://github.com/glebarez/go-sqlite?tab=readme-ov-file#connection-string-examples
(#s5iul4q) @emmanuel@emmanuel That’s not good mate 😢 Hope you’re feeling better? 🤗
@emmanuel @wald.ovh That’s not good mate 😢 Hope you’re feeling better? 🤗 ⌘ Read more
So… Cylone Alfred made landfall (whatever that means) last night, and I watched it hit my wife’s Uncle/Aunt’s place on one of the outer isla …
So… Cylone Alfred made landfall ( whatever that means) last night, and I watched it hit my wife’s Uncle/Aunt’s place on one of the outer islands, then move westwards and sort of fizzle out. It’s now been downgrade to a “Tropical Low” ( I guess not good enough for a Cat X anymore?), but we’re still in the Eye of it, and there’s still a swirling mass of winds ( just not as fast). Now we … ⌘ Read more
@lyse@lyse.isobeef.org Oh, so that’s the problem! 😅
@prologic@twtxt.net Brace for impact. 🫣 How stormy is it at the moment?
(#rudviwq)
⌘ Read more
(#6c3lbxa) @andros@andros I think you’ve done an amazing job of this client 🙌
@andros @twtxt.andros.dev I think you’ve done an amazing job of this client 🙌 ⌘ Read more
(#rudviwq)
⌘ Read more
(#rudviwq)
⌘ Read more
(#rudviwq)
⌘ Read more
(#rudviwq)
⌘ Read more
@lyse@lyse.isobeef.org No, it’s always in the shadow. But there’s not a lot of wind, maybe other things around it heat up … 🤔
@prologic@twtxt.net Ouch, that’s heading right towards you, eh? 🙈

(#rudviwq) Update:
Update:
⌘ Read more
(#rudviwq) Another view!
Another view!
⌘ Read more
This is what I’ll be facing into in the next few hours and over the next couple of days! Cyclone Alfred 🌀
This is what I’ll be facing into in the next few hours and over the next couple of days!
Cyclone Alfred 🌀 ⌘ Read more
@eapl.me@eapl.me@eapl.me@eapl.me I saw a few a while back.
(#qxt2gfa) @lyse@lyse Same I think it’s not worth it either
@lyse @lyse.isobeef.org Same I think it’s not worth it either ⌘ Read more
(#kjtw2hq) @xuu@xuu Awww thanks bro 😎
@xuu @txt.sour.is Awww thanks bro 😎 ⌘ Read more
@prologic@twtxt.net Got you bro.
(#kjtw2hq) @movq@movq I know right? 🤣 Fuck this geoip blocking censored shit™ 💩
@movq @www.uninformativ.de I know right? 🤣 Fuck this geoip blocking censored shit™ 💩 ⌘ Read more
@prologic@twtxt.net What the heck. 🫠
**(#kjtw2hq) @movq@movq Hmm
Video unavailable
🥲🥲**
@movq @www.uninformativ.de Hmm
Video unavailable
🥲🥲 ⌘ Read more
@lyse@lyse.isobeef.org Lyse, the man with feet of steel. 🦾
(#qmnnm5a) @eapl.me@eapl.me@eapl.me@eapl.me That should be fine 🤞
@eapl.me @eapl.me @eapl.me @eapl.me That should be fine 🤞 ⌘ Read more
@lyse@lyse.isobeef.org i appreciate you updating this with that info. been in the weeds at work so haven’t been tracking the conversation here much. let me sit on this for a bit because often times the edits are within seconds of first post so maybe maybe i just allow them within a certain time frame or do away with them all together. i really only do it because it bugs me once i notice the typo :)
(#jwfdkuq) This seems to be capable of supporting edits as you noted. But I need to think a bit more (~2am here now) of whether this can be abus …
This seems to be capable of supporting edits as you noted. But I need to think a bit more (~2am here now) of whether this can be abused in any way… The advantage of Content-based Addressing ( hashing the content) is that the hash is then immutable, meaning that we can have integrity that the hash actually represents that content from that author at that time. ⌘ Read more
(#jwfdkuq) @eapl.me@eapl.me@eapl.me@eapl.me I kind of like the idea of 96473B4F_1 – That is SHA256SUM(feed_url)_<monotomic_feed_post_id>
@eapl.me @eapl.me @eapl.me @eapl.me I kind of like the idea of 96473B4F_1 – That is SHA256SUM(feed_url)_<monotomic_feed_post_id> ⌘ Read more
(#jwfdkuq) Example feed I guess? ☝️
Example feed I guess? ☝️ ⌘ Read more
**(#jwfdkuq) “`
default_lang = en discovery_url = https://example.com/discovery/ follow = alice https://example.com/alice.txt ABCDEF12 fo …**”`
default_lang = en discovery_url = https://example.com/discovery/ follow = alice https://example.com/alice.txt ABCDEF12 follow = alice gemini://example.com/alice.txt avatar = avatar = gemini://example.com/avatar/alice.png1 2025-03-03T15:00:00-04:00 {lang=en} Hello, world! Welcome to my twtxt feed. UTF-8 check: é, ö, ü.
2 2025-03-03T15:05: … ⌘ Read more
hi there!! @arne@uplegger.eu \0/
(#jwfdkuq) @eapl.me@eapl.me Some really good idea in this post of yours 👌👌
@eapl.me @eapl.me Some really good idea in this post of yours 👌👌 ⌘ Read more
(#efimf3a) @xuu@xuu Oh 🤔
@xuu @txt.sour.is Oh 🤔 ⌘ Read more
(#jwfdkuq) @andros@andros Reading… 👀
@andros @twtxt.andros.dev Reading… 👀 ⌘ Read more
(#3wfusda) @lyse@lyse I meant “detect” lol 😂
@lyse @lyse.isobeef.org I meant “detect” lol 😂 ⌘ Read more
interesting.. my pod was looking for him as https://eapl.me/twtxt.txt but the correct path is https://eapl.me/tw.txt
(#fmgas3a) @xuu@xuu Is this why threads are getting a bit messed up lately? 🧐
@xuu @txt.sour.is Is this why threads are getting a bit messed up lately? 🧐 ⌘ Read more
(#efimf3a) @xuu@xuu redirects to for me?
@xuu @txt.sour.is redirects to https://text.eapl.mx/main-en for me? ⌘ Read more
I think @movq@www.uninformativ.de removed support for it in jenny. 🫠
@prologic@twtxt.net eapl.me comes up not found for me.
2025-03-02T13:20:00-07:00 (#<fmgas3a https://twtxt.net/user/prologic/twtxt.txt?t=2025-03-02T10:12:13Z>) @<prologic https://twtxt.net/user/prologic/twtxt.txt> its hard to change by consensus. Some things are won in implementation.
(#ajlefua) @xuu@xuu Um sorry?! A “smart” toilet?! 🤦♂️
@xuu @txt.sour.is Um sorry?! A “smart” toilet?! 🤦♂️ ⌘ Read more
(#qmnnm5a) @eapl.me@eapl.me@eapl.me@eapl.me This sounds great! 🙌 Will you coordinate this activity? 🙏
@eapl.me @eapl.me @eapl.me @eapl.me This sounds great! 🙌 Will you coordinate this activity? 🙏 ⌘ Read more
(#fmgas3a) @xuu@xuu What do you mean by this? 🧐 If we implement and other clients don’t, Then we end up forking the community no? ��� …
@xuu @txt.sour.is What do you mean by this? 🧐 If we implement and other clients don’t, Then we end up forking the community no? 🤔 ⌘ Read more
@prologic@twtxt.net its hard to change by consensus. Some things are won in implementation.
(#fmgas3a) @lyse@lyse Pros/Cons. I’m not so Vince’s that switching to location based addressing will be better.
@lyse @lyse.isobeef.org Pros/Cons. I’m not so Vince’s that switching to location based addressing will be better. ⌘ Read more
(#yg3krkq) @lyse@lyse Clients could detest edits 🤞
@lyse @lyse.isobeef.org Clients could detest edits 🤞 ⌘ Read more
(#na4skgq) @movq@movq I agree, extremism either way, and bad temper’s never amount of anything good 😢
@movq @www.uninformativ.de I agree, extremism either way, and bad temper’s never amount of anything good 😢 ⌘ Read more
@prologic@twtxt.net I formed my opinion about this before reading/watching any additional media coverage. And yes, this is extremely bad. These two have no place on the “world stage”. They are deciding on our future. (And I am well aware that my country is heading into a similar direction – unless we stop it.)
@lyse@lyse.isobeef.org Gotcha. That makes sense. Doesn’t hurt the systems but definitely can break the thread.