Elektrine
EN
Log in Register
Paige Chat Timeline Communities Gallery Videos Email DNS VPN Uptime Kairo
Back to Timeline
Remote

John B

@jbert@hachyderm.io
mastodon 4.6.6
  • Open on hachyderm.io

General specialist. Coding is fun. People are interesting.

0 Followers
0 Following
5 Posts
Joined November 12, 2022
Github:
https://github.com/jbert
LinkedIn:
https://www.linkedin.com/in/johnberthels/
Pronouns:
He/Him

Posts

Open post
jbert
John B @jbert@hachyderm.io · Apr 12, 2026
John B
@jbert@hachyderm.io

General specialist. Coding is fun. People are interesting.

hachyderm.io
Replying to @ZachWeinersmith@mastodon.social

@ZachWeinersmith maybe

  1. Play with the 2x2 matrices but just the diagonal matrices with same real in all positions (multiples of identity). Work out together that addition, multiplication etc all work the same. "So for doing maths, these are pretty much the same thing"
  2. Set up lack of soln to x^2+1=0 as motivating problem.
  3. (ask for ideas) then drop the soln matrix on the board and ask them to play with it (and the diagonal matrices)
  4. They can see that this is a soln to the equation
  5. Play with this matrix and the others a bit. Discover soln squared is -1 matrix. Discover the other soln. Discover that, no matter what they do, all the matrices they can generate can be written as sum of multiples of the diagonal and the soln.
  6. Maybe bring it back and name the identity and soln matrices as 1 and I. Maybe talk about rotations by theta in the plane and discover what they get when theta =90 Deg

Fun idea to think about, thanks.

0
0
0
0
Open post
jbert
John B @jbert@hachyderm.io · Feb 04, 2026
John B
@jbert@hachyderm.io

General specialist. Coding is fun. People are interesting.

hachyderm.io
Replying to @unchartedworlds@scicomm.xyz
@organicmaps @unchartedworlds not sure of the underlying data source but bustimes.org always seems to have good live data
1
0
0
0
Open post
jbert
John B @jbert@hachyderm.io · Dec 16, 2025
John B
@jbert@hachyderm.io

General specialist. Coding is fun. People are interesting.

hachyderm.io
Replying to @vaurora@mstdn.social
@vaurora@mstdn.social @etchedpixels@mastodon.social I just had the horrible thought that presumably such projects could be generated on the fly using your search terms. "Always find what you're looking for, because we'll make it for you" sounds far too plausible a feature not to happen at some point.
14
2
7
0
Open post
jbert
John B @jbert@hachyderm.io · Oct 30, 2025
John B
@jbert@hachyderm.io

General specialist. Coding is fun. People are interesting.

hachyderm.io
Replying to @sminez@hachyderm.io
@sminez@hachyderm.io i think you can do the same with streaming, _if_ you know all the matching which needs to happen on a chunk (or up to an offset) has happened? Hence API above. I get that the parallel bit was hard, but it sounds like you have got that working for non-streaming case (well done :-) ) I think I mean...run your first pass on the stream and periodically ask your matchers for the offset they are finished with. You can then run your second pass on the stream up to that point, emit and discard.
1
7
0
0
Open post
jbert
John B @jbert@hachyderm.io · Oct 30, 2025
John B
@jbert@hachyderm.io

General specialist. Coding is fun. People are interesting.

hachyderm.io
Replying to @sminez@hachyderm.io

@sminez@hachyderm.io I'm not sure I'm understanding the problem with streaming + parallel execution.

I'm guessing the issue is knowing whether there is still a match "pending" on received data before you can commit to running the actions/substitutions?

If that is the case, is it possible to chunk the input and at the end of each chunk, ask each matcher if it is waiting on more input to see if it should match? (Alternative api - ask each matcher for the offset up to which there is no ambiguity for whether it is matching or not).

i.e. if the input stream is currently: aaaaa abaaa

then the matcher /ab/ could report an offset of 9. It doesn't (yet) know if the last 'a' is the start of a match or not.

That would allow you to process up to the minimum offset which all matchers are OK with.

Sorry if this is nonsense. Interesting stuff though.

Ideally I'd like to be able to run "structex" scripts

Or perhaps "stawk"? :-)

1
10
0
0

Remote instance

hachyderm.io
Open on original server
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

Platform

  • Email
  • Chat
  • Timeline
  • Communities
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ

Legal

  • Terms of Service
  • Privacy Policy
  • Warrant Canary
  • Lite (no JS)
  • VPN Policy
  • Source code

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 06:43:41 UTC