Toots for alecthegeek@mstdn.social account

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2025-01-20 at 09:02

Gave my #ValeTextLinter workshop at #eo25 #EverythingOpen today.

Thank you to everyone who came along. I'm sorry it was not streamed but the videos should be up in a few weeks.

Thank you audience for the positive feedback.

Sorry my demo had a small bug -- now fixed

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2025-01-11 at 21:55

I you plan to attend my workshop on the #ValeTextLinter at #EverythingOpen 2025 please make sure you have Vale installed, Git would be very useful as well.

The examples have been tested with Vale 3.9

https://2025.everythingopen.au/schedule/presentation/63/

[#]eo2025 #EverythingOpen

=> View attached media

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2025-01-01 at 00:02

Delighted to see that people are still talking about #SmallTalk #Programming

https://www.youtube.com/@UKSTUG

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2024-12-08 at 09:14

Dear Mastodon,

Can anyone offer an opinion on #PowerShell vs #NUShell. Specifically on a POSIX style system?

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2024-10-26 at 06:58

Most peeps on Mastodon probably already have a reasonable set of personal #CyberSecurity practices.

However if you are struggling with cyber security support for your nearest and dearest, you might want to share this handy security checklist from the AU Cyber Security Centre. I think it's a great resource and conversation starter (plus you don't even need to be Australian!)

https://www.cyber.gov.au/sites/default/files/2023-03/personal-security-guide-first_steps-summary-checklist.pdf

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2024-09-26 at 07:10

[#]ValeLinter now provides linux/arm64 container images on #Docker Hub.

makes life easier for those of us writing docs on Linux ARM hardware (I use a ChromOS tablet with Linux sometimes)

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2024-08-30 at 03:41

GAhhh!

And now I notice the spelling mistakes?

Time to fix Vale spell checking (I borked it, so no one else to blame!)

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2024-08-29 at 11:21

At last got around to writing up the easy way to manage #Git Hook Scripts using the core.hooksPath setting. If you struggle to manage your hook scripts it's a game changer.

https://alecthegeek.gitlab.io/blog/2024/08/manage-git-and-hook-scripts-the-easy-way/

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2024-07-12 at 03:17

If you are a #git user, then you should be #LazyGit curious.

Here is a nice vid to introduce it.

(tl;dr -- Lazygit is a TUI based Git client. IMHO it makes Git easier to use without without feeling it's in the way)

https://youtu.be/Ihg37znaiBo?si=WMhxOWiiFZricPaJ

/ht https://github.com/josean-dev

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2024-05-21 at 01:47

Dear #Accessibility Lazyweb

If I use

ℹī¸ : A Hunspell dictionary has two files, an .aff file and a .dic file.

Instead of

Note : A Hunspell dictionary has two files, an .aff file and a .dic file.

can screen readers understand it correctly?

i.e. Is using emojis in this way an accessibility issue?

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2024-05-02 at 02:26

The BASIC Programming Language Turns 60

https://developers.slashdot.org/story/24/05/01/1751243/the-basic-programming-language-turns-60

I wrote my 1st computer program on ICL Mainframe BASIC Sept 1978.

When I later worked at NCR we claimed BASIC stood for "Babies and Simple Idiots Code"

Very rude!

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2024-04-19 at 22:39

Thing i learned today.

There is a defined alternative to JSON lines (JSONL).

API payloads should contain JSON text sequences rather than JSONL formatted data.

https://www.rfc-editor.org/rfc/rfc7464.html

But JSONL is useful for processing JSON data using text processing tools, so it has a place.

https://jsonlines.org/

Q: I wonder how jq handles JSON text sequences?

h/t to @handrews and this answer https://github.com/OAI/OpenAPI-Specification/discussions/2707#discussioncomment-9170889

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2024-04-19 at 07:02

Are any of the cool kids still using #keybase or has that died?

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2024-03-30 at 10:38

[#]Neovim / #Vim top of the day.

You can jump around to specific lines numbers by hitting ":"

But how to know the line number?

Switch on line number display in your lua setup

vim.wo.number = true

In Vimscript its's

set number

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2024-03-29 at 00:04

Today's #Neovim / #Vim related tip follows on from my suggestion to master command mode

(a.k.a : mode),

Read Appendix 1 of the UNIX Programming Environment. It explains how to use ed, which : mode is based on.

It's in the Internet Archive so I guess it's free to download now.

https://ia600400.us.archive.org/24/items/UnixProgrammingEnviornment/unix_programming_environment_text.pdf

You might also find ch 6 of Software Tools of interest if you really want to down a rathole.

https://www.google.com.au/books/edition/_/doVKAAAAMAAJ

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2024-03-26 at 05:06

Australia made the front page of the BBC again. Makes you proud!

https://www.bbc.com/news/world-australia-68662201

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2024-03-22 at 05:29

Today's #Neovim tip is actually not Vim specific, but is directed particularly at junior developers.

  1. Learn and use regular expression (patterns) in your search commands

https://neovim.io/doc/user/pattern.html

Regex are generally useful, no just in Vim, so it's time well spent

  1. And learn to use back references in you substitute commands

https://neovim.io/doc/user/change.html#sub-replace-special

I often use these when other people would use macros.

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2024-03-17 at 03:55

Today's #Vim #NeoVim tip is a feature rather than a single command.

Use marks

=> =======

https://vim.fandom.com/wiki/Using_marks

Amongst other things, they help you jump around a file and move arbitrary lines of text with ease. e.g.

  1. find 1st line of interest and create a mark with "ma"

  1. Locate end of text block

  1. Delete the text block with ":`a,.d"

  1. Goto new location and hit "p"

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2024-03-16 at 07:15

And today's #Vim #Neovim command "de jour" is

z=

to spell check the word under the cursor (because I write a lot of text)

=> More informations about this toot | View the thread

Written by Alec :tux: đŸ‡ĻđŸ‡ē 👨‍đŸ’ģ on 2024-03-15 at 00:44

Now I've repented of my sins and gone back to #Vim #Neovim I am rediscovering my favourite motion commands.

Today's example

y%

yanks the current block delimited by the char under the cursor e.g. (,[,{

=> More informations about this toot | View the thread

=> This profile with reblog | Go to alecthegeek@mstdn.social account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/109258985017609543
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
522.367852 milliseconds
Gemini-to-HTML Time
4.825676 milliseconds

This content has been proxied by September (ba2dc).