prologic

twtxt.net

"Problems are Solved by Method" 🇦🇺👨‍💻👨‍🦯🏹♔ 🏓⚯ 👨‍👩‍👧‍👧🛥 -- James Mills (operator of twtxt.net / creator of Yarn.social 🧶)

Recent twts from prologic
In-reply-to » Unfortunately not on that front. Still the same 404 posting errors and oddly occasional login errors.

But there should never ever be a GET /post – There is no handler/route for that, that will indeed 404, really strange you’re still seeing this? And what’s this login issue?

⤋ Read More
In-reply-to » Unfortunately not on that front. Still the same 404 posting errors and oddly occasional login errors.

Upgraded my Go compiler and I’m still not able to reproduce those 404(s) you’re seeing. For clarity, this is what you expect to see in the server logs:

DEBU[0163] no subscriptions found for http://10.0.0.164:8000/user/admin/twtxt.txt
[yarnd] 2024/06/19 23:13:23 (10.0.0.164:64888) "POST /post HTTP/1.1" 200 0 8.323709ms
DEBU[0163] reloading templates in debug mode...
[yarnd] 2024/06/19 23:13:23 (10.0.0.164:64888) "GET / HTTP/1.1" 200 18120 87.933208ms

for every post there should be a POST /post ... followed pretty quickly by a GET /

⤋ Read More

* 8eef4d5d - (HEAD -> main, origin/main) Add DB restore capability and tools/backu-_db.sh script (19 seconds ago) <James Mills>

Oh well 😅 It works wonderfully!

In the event of a database corruption or loss:

$ URL=http://10.0.0.164:8000 ./tools/backup_db.sh > db.json
mv db.json data/db.restore.json
yarnd ...

⤋ Read More
In-reply-to » @prologic Correct... epic fail 🤣 Been a long day and I just wasn't thinking, nor backing up properly. Oops indeed. My usual errors still exist though.

I’ll complete the work anyway, it’s just wrapping up existing code and making backups of the database a proper thing.

⤋ Read More
In-reply-to » @prologic Righteo, so rookie error - I obviously had some untracked, rather important files for starting my pod and I ran a make clean. Why I originally had them in the git directory is anyone's guess. Anyway it blew away those files including the database so that's that. So your good self and @bender etc - apologies but your profiles got nuked as well (as did my own but easily recreated).

Are the weird errors gone at least? 😅

⤋ Read More
In-reply-to » @prologic Righteo, so rookie error - I obviously had some untracked, rather important files for starting my pod and I ran a make clean. Why I originally had them in the git directory is anyone's guess. Anyway it blew away those files including the database so that's that. So your good self and @bender etc - apologies but your profiles got nuked as well (as did my own but easily recreated).

@eldersnake@we.loveprivacy.club Hold up wait… You effectively now have a fresh new pod with only yourself? 🤣 Ooops!

⤋ Read More
In-reply-to » Ukraine Turning To AI To Prioritize 700 Years of Landmine Removal MattSparkes shares a report from NewScientist: The Russian invasion of Ukraine has seen so many landmines deployed across the country that clearing them would take 700 years, say researchers. To make the task more manageable, Ukrainian scientists are turning to artificial intelligence to identify which regions are a priority for de-mining, thou ... ⌘ Read more

@slashdot@feeds.twtxt.net so the Ukraine had to land mines in 1324? 🧐

⤋ Read More
In-reply-to » @bender Btw how are you finding the new and improved UX at all? 🤔 (this Twt was authored by presing ^n, then @ and then bender<TAB> and the rest of this twt, finally ^ENTER)

@bender@twtxt.net If you think the keyboard shortcuts should be by default something else, LMK! Otherwise if interest levels pick up again for yarnd and there’s enough interest, it could become a user preference.

⤋ Read More
In-reply-to » @bender Btw how are you finding the new and improved UX at all? 🤔 (this Twt was authored by presing ^n, then @ and then bender<TAB> and the rest of this twt, finally ^ENTER)

Keyboard shortcuts:

  • ^n (Ctrl+n) – Compose new Twt
  • Esc (Escape) – Close the composer
  • ^t (Ctrl+t) – Refresh or navigate to Timeline
  • ^m (Ctrl+m) – Refresh or navigate to Mentions
  • ^d (Ctrl+d) – Refresh or navigate to Discover

There are shortcuts for Feeds, Settings and Profile too (similiarly))

⤋ Read More
In-reply-to » @bender Working on fixing that now actually 😅 I have to exchange 3 key pieces of information in every request, title, navigation and preference. I'm just refactoring the templating now so I don't have to duplicate this everywhere, just do it once.

This is fixed, improved, tested and rolling out shortly, Including dynamically reflecting the theme too!

⤋ Read More
In-reply-to » Noticing that, after login in, I need to do a hard refresh on the browser to get my preference setting (dark mode to show). Not a show stopper, of course, but something to look at on idle time.

@bender@twtxt.net Working on fixing that now actually 😅 I have to exchange 3 key pieces of information in every request, title, navigation and preference. I’m just refactoring the templating now so I don’t have to duplicate this everywhere, just do it once.

⤋ Read More
In-reply-to » @prologic righteo, this is interesting. After seeing @bender register and post without issues (thanks), I decided to go on my phone, register an eldersnake2 account and low and behold.. works fine. Still can't login with this admin account though 🤔

@eldersnake@we.loveprivacy.club I can’t think of why that might be? The bloody URL of feeds is always a problem and changing the Base IRL of the pod is rather problematic that I never solved. But otherwise hmmm I’m not sure!

⤋ Read More
In-reply-to » I think it is long due to cut a release, don't you think @prologic?

One thing I haven’t thought to rule out is the browser itself. When I tried to reproduce, I was using chrome and I wasn’t able to reproduce what you were saying from the client perspective.

⤋ Read More
In-reply-to » I just typed something that took me a while to enter, hit post, and lost everything because I was logged out. Can that be disabled? Let me be logged in for as long as I want (or for a very long time), unless I hit logout, or account for the previously entered text, and present it (or run the post action), after having to re-login?

@bender@twtxt.net Hmmmm I’m not sure about this… 🧐 Does anyone have any other opinions that know this web/session security better than me?

⤋ Read More