~toastal

Eastern Thailand

https://toast.al

Pronouns: he/him | เขา​ | ລາວ Pronunciation: [ˈtʰo̞stɫ̩]

I do remote front-end dev & incidental travel.

PureScript | JavaScript | Dhall | Nix | Nickel | OCaml

Wishes for SourceHut: reStructuredText support

~toastal/github-less-social

Last active 1 year, 1 month ago

~toastal/nvim-tree-sitter-unicode-conceal

Last active 1 year, 4 months ago

~toastal/Chanthaburi-Linux-User-Group

Last active 1 year, 6 months ago

~toastal/purescript-vim

Last active 2 years ago

~toastal/purescript-web-devel

Last active 3 years ago

~toastal/purescript-web-announce

Last active 3 years ago

~toastal/purescript-emitters-devel

Last active 3 years ago

~toastal/purescript-emitters-announce

Last active 3 years ago

~toastal/english-conversation-club-chanthaburi

Last active 3 years ago
View more

Recent activity

Basic HTML5 element support 3 months ago

From toastal to ~rkta/w3m

Long-time w3m fan, but I have had issues developing for w3m since it doesn’t respect elements such as <main> &  <nav> as block elements ala <div>. An obvious use case is creating a ‘skip link’ for accessibility (created for TUI browsers too!), but when clicking the anchor on a <main id="content"> element, but I get an error `content is not found` for the anchor. IMO this could be broadened so all unknown elements behave like a <div> which matches the spec.
-- 
toastal ไข่ดาว | https://toast.al
PGP: 7944 74b7 d236 dab9 c9ef  e7f9 5cce 6f14 66d4 7c9e

Re: Atom plugin still working ? 3 months ago

From toastal to ~dmbaturin/soupault

Not sure if it helps, but here is my atom fork <https://codeberg.org/toastal/toastal-website/src/branch/trunk/plugins/atom.lua>
-- 
toastal ไข่ดาว | https://toast.al
PGP: 7944 74b7 d236 dab9 c9ef  e7f9 5cce 6f14 66d4 7c9e

Re: Is soupault's capability to process sites that don't fit in RAM important to you? 10 months ago

From toastal to ~dmbaturin/soupault

It’s easy to download more RAM! 😅

Can instructions on how to set up swap files/page files help? I suppose it doesn’t in the case of a limited builder but maybe if processing Wikipedia. Is there anything that could used to reduce the size of the in-memory representation more generally to make the chances of running into a memory issue less likely?

I don’t know I would personally ever run into the ceiling, but making sure the bases are covered.
-- 
toastal ไข่ดาว | https://toast.al
PGP: 7944 74b7 d236 dab9 c9ef  e7f9 5cce 6f14 66d4 7c9e

Re: How to add this plugin to the Mattermost NixOS module 11 months ago

From to ~thejonny/mattermost-unifiedpush

This could be as simple as a fetchTarball, if the CI artifacts had a tag
to attach to tho :P I’m sure this is in the works, but I want to use the
plugin now!

How to add this plugin to the Mattermost NixOS module 11 months ago

From toastal to ~thejonny/mattermost-unifiedpush

Given the current state of the repository, you can add this derivation
to `services.mattermost.plugins` array (but modify as needed):

.. codeblock:: nix

	pkgs.buildGoModule {
  	  name = "mattermost-plugin-unifiedpush";
  	  src = pkgs.fetchFromSourcehut {
    	 owner = "~thejonny";
    	 repo = "mattermost-plugin-unifiedpush";
    	 rev = "dc177958d1a79b3846fb99c53878e1798e11960a";
    	 hash = "sha256-ptc2nTN06BE1H4jSkX7+UDe/Xm2ryqDp5ZevbOu/SMU=";
  	  };
  	  overrideModAttrs = _: {

Re: plugins for htmx boost and preload 1 year, 30 days ago

From toastal to ~dmbaturin/soupault

> soupauld --init

Typo.

> CDN

You’ll want to vendor that code <https://httptoolkit.com/blog/public-cdn-risks/>

> mousedown

click triggers on touchscreens, but does mousdown?

---

Re: Can there be a UserCSS alternative? 1 year, 1 month ago

From toastal to ~toastal/github-less-social

> cookies

Ah. I just block all third-party cookies & rely on the browser isolation
as ‘good enough’.

> Nix experience

No worries. Nix most things you throw at it.

> :has-text

As the README.rst points out *strike-thru* sane markup. The
Tailwind-ification, BeTailwinding of the internet has made getting
actual selectors quite difficult. You have to start relying on things

Re: Can there be a UserCSS alternative? 1 year, 1 month ago

From toastal to ~toastal/github-less-social

> No, I just keep using it since I basically need the per-request type
> filtering.

uBlock can do this, it’s just under more menu with lower
discoverability, but easier to share once settings are in place

> have them coexist, rather than removing the filter lists

If you have something in mind along the lines of a script (ideally thru
`nix run gen-userCSS` & not Python or anything with a bunch of
dependencies (actually a good use case for Raku & its builtin grammars? 
🤔) that I could then append to my git hooks. For easy maintenance, I
really don’t want to have duplicate lists to keep in sync. If it’s
automated, then it’s no problem to add things.

Re: Can there be a UserCSS alternative? 1 year, 1 month ago

From toastal to ~toastal/github-less-social

> This repository has been archived by the owner on Jul 21, 2021. It is
> now read-only.

Is there something new to know about the project? Has it found a new
maintainer? I stopped using it a year after it was discontinued unsure
of its future & while it’s a little more obtuse to use the interface for
uBlock Origin, it _can_ do the same things but with actually supported.
uBlock Origin can also be installed & have all the default filters
turned off.

I already have a userStyle for smaller visual changes, but some of the
filter rules in here are for network requests—not just element hiding
via display: none. I think being able to share the network blocking more
easily was on of the motivators for archiving uMatrix.

Re: [PATCH github-less-social 0/1] Replace avatars with a placeholder 1 year, 2 months ago

From toastal to ~toastal/github-less-social

Accepted, thanks.

I had been hiding the avatars with CSS for similar reason. It’s nice to
learn about this feature.

--
toastal ไข่ดาว | https://toast.al
PGP: 7944 74B7 D236 DAB9 C9EF  E7F9 5CCE 6F14 66D4 7C9E