SMS con números reales https://www.smspool.net y https://www.textverified.com [$].
I played around with parsers. This time I experimented with parser combinators for twt message text tokenization. Basically, extract mentions, subjects, URLs, media and regular text. It’s kinda nice, although my solution is not completely elegant, I have to say. Especially my communication protocol between different steps for intermediate results is really ugly. Not sure about performance, I reckon a hand-written state machine parser would be quite a bit faster. I need to write a second parser and then benchmark them.
lexer.go and newparser.go resemble the parser combinators: https://git.isobeef.org/lyse/tt2/-/commit/4d481acad0213771fe5804917576388f51c340c0 It’s far from finished yet.
The first attempt in parser.go doesn’t work as my backtracking is not accounted for, I noticed only later, that I have to do that. With twt message texts there is no real error in parsing. Just regular text as a “fallback”. So it works a bit differently than parsing a real language. No error reporting required, except maybe for debugging. My goal was to port my Python code as closely as possible. But then the runes in the string gave me a bit of a headache, so I thought I just build myself a nice reader abstraction. When I noticed the missing backtracking, I then decided to give parser combinators a try instead of improving on my look ahead reader. It only later occurred to me, that I could have just used a rune slice instead of a string. With that, porting the Python code should have been straightforward.
Yeah, all this doesn’t probably make sense, unless you look at the code. And even then, you have to learn the ropes a bit. Sorry for the noise. :-)
1-to-1 Scale
⌘ Read more
Pinellas County - Long run: 12.41 miles, 00:09:56 average pace, 02:03:12 duration
go mills() 😅
@chunkimo@twtxt.net lol. go walrus!!
Il y a près de vingt ans, alors qu’Internet se payait au forfait horaire […] 🔗 https://yom.li/notes/20230407222233 🔖 https://www.youtube.com/watch?v=dtRwbvMBlec
user/bmallred/data/2023-04-07-13-19-28.fit: 1.52 miles, 00:08:59 average pace, 00:13:37 duration
user/bmallred/data/2023-04-07-12-40-02.fit: 3.29 miles, 00:10:13 average pace, 00:33:36 duration
Paleontology Museum
⌘ Read more
user/bmallred/data/2023-04-06-05-28-56.fit: 5.91 miles, 00:07:08 average pace, 00:42:11 duration
https://mullvad.net/en/browser un nuevo navegador para andar seguros por la red.
https://mullvad.net/en/browser un nuevo navegador para andar seguros por la red.
https://lichen.sensorstation.co intentaré probar esta maravilla a ver que tal va.
https://lichen.sensorstation.co intentaré probar esta maravilla a ver que tal va.
user/bmallred/data/2023-04-05-06-24-03.fit: 1.55 miles, 00:07:43 average pace, 00:11:57 duration
user/bmallred/data/2023-04-05-05-34-47.fit: 4.48 miles, 00:10:16 average pace, 00:45:56 duration
Easily Confused Acronyms
⌘ Read more
slides/go-generics.md at main - slides - Mills – I’m presenting this tomorrow at work, something I do every Wednesday to teach colleagues about Go concepts, aptly called go mills() 😅
user/bmallred/data/2023-04-04-05-23-06.fit: 5.88 miles, 00:06:43 average pace, 00:39:26 duration
@prologic@twtxt.net I always liked bit.
I am disappointed that a GUI app would not at least have screenshots.
My Favorite Things
⌘ Read more
Pinellas County - Long run: 12.03 miles, 00:10:38 average pace, 02:07:56 duration
https://strykerdefence.com parece una interesante app de pentesting, es de pago.
https://strykerdefence.com parece una interesante app de pentesting, es de pago.
user/bmallred/data/2023-03-31-05-29-32.fit: 3.65 miles, 00:08:21 average pace, 00:30:27 duration
Towed Message
⌘ Read more
Je ne comprenais pas le succès de The Office. Ça ne me parle peu, l’humour de la gênance. Jusqu’à […] 🔗 https://yom.li/notes/20230330134434
user/bmallred/data/2023-03-30-05-24-26.fit: 4.04 miles, 00:09:21 average pace, 00:37:46 duration
user/bmallred/data/2023-03-29-05-18-51.fit: 7.32 miles, 00:10:18 average pace, 01:15:23 duration
Qualifications
⌘ Read more
user/bmallred/data/2023-03-27-08-54-02.fit: 4.87 miles, 00:08:50 average pace, 00:42:57 duration
Effect Size
⌘ Read more
user/bmallred/data/2023-03-26-05-28-52.fit: 7.00 miles, 00:09:46 average pace, 01:08:22 duration
user/bmallred/data/2023-03-25-09-07-11.fit: 4.01 miles, 00:09:36 average pace, 00:38:29 duration
The Homelab Show — https://dbohdan.com/homelab-show
user/bmallred/data/2023-03-24-04-59-07.fit: 3.10 miles, 00:10:32 average pace, 00:32:41 duration
Relative Terms
⌘ Read more
user/bmallred/data/2023-03-23-05-23-00.fit: 3.02 miles, 00:09:11 average pace, 00:27:46 duration
Et allez, on continue sur la ligne idéologique du travail comme unique accès aux richesses […] 🔗 https://yom.li/notes/20230322131837
user/bmallred/data/2023-03-22-05-25-36.fit: 3.02 miles, 00:09:33 average pace, 00:28:50 duration
Air Handler
⌘ Read more
Lo que hace el soporte técnico de Microsoft: irm https://massgrave.dev/get