Paul Sutton

Paul Sutton – personal blog

Freenode IRC – Information

If you are using a software client it is recommended that you use SSL and connect via SASL . Information can be found here Please see screenshot below for illustration.

You will need to have registered your nickname (username) before hand, once done you can set the client to connect via SASL. Please see the Knowledge base

hexchat-ssl

If you are going to be on IRC on a regular basis you may want to autojoin channels. (not that being IDs is a prerequisite for some channels) You can do this by right clicking on the channel list and select autojoin.

cc-by logo

#irc,#setup,#sasl,#hexchat,#freenode

You can find me on Friendica at [email protected]


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

Hg and Au Recovery from Tailings

Recovering Hg and Au, with a Shaker Table from Tailings, Sudan, Africa

One of the really nice things about IRC, is the number of interesting channels and discussions, with numerous knowledgeable people. There was a link and discussion in ##chemistry on Freenode the other day, which showed the extraction of Mercury (Hg) and Gold (Au) from mining waste material, Tailings.

Interesting process and idea, especially, if this can be demonstrated to be commercially viable.

Granted anyone watching this video, who has a knowledge of Health and Safety issues around Hg, may want to look away.

Interesting reaction between Mercury (Hg) andNitric Acid ($HNO_3$).

#mercury, #gold, #recovery, #mining, #tailings, #process,

LibrePlanet 2020 Update

This year LibrePlanet, is a fully virtual conference. This is due to the Corona Virus Outbreak.

Talks will be livestreamed. please join IRC chat

  • Freenode Web Chat

  • You need to complete a captcha as part of the sign in process, or use a software client.

For comprehensive support, with using software clients to connect to the Freenode IRC network, please check the knowledge base.

#fsf, #virtual, #conference, #libreplant, #freesoftware

A few years ago, Linux Voice published a really simple IRC bot project in the magazine. I took this and managed to get it to connect to a minecraft Pi game and I could use IRC to send instructions to the game.

In the screenshot below the bot has received an instruction to execute uname -a and the output is directed to the game screen.

mc-irc-bot-thingy

To get all this to work you need:-

  • An IRC client
  • A raspberry pi which should be running Minecraft Pi and the python program, once the game has started the bot should connect.

You also need to connect to either:-

  • An existing IRC server or
  • Your own irc server, which can be another Raspberry Pi on the same network running an IRC server.

note You need to ask if it is Ok to connect bots to IRC servers.

In my code it is connecting to a Raspberry Pi (original model) running an IRC server.

It does work, but there is probably potential here for expansion and improvement.

Resources

#python, #development, #irc, #application, #minecraft, #network,#sockets #irc, #project,#abandonware,#github

Have fun.

You can find me on Friendica at [email protected]


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

A few years ago, I wrote a Python script (probably badly) that created a TkInter graphical user interface, that would link to some of the Minecraft Pi API functionality. The idea being that a few common commands, would be available at the touch of a widget button.

mc-pi-gui

The program is pretty basic. It may, be useful to someone out there, at least a starting point. I have therefore put the project back on GitHub.

I am happy for someone to fork and or take over the project or contribute further. I can be found on IRC (freenode) as zleap.

Resources

#python, #development, #tkimter, #application, #minecraft, #graphicaluserinterface, #gui, #project,#abandonware,#guthub

You can find me on Friendica at [email protected]


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

2020 Six Nations Rugby Results 7th / 8th March 2020

This weekend is the Forth weekend of the 2020 six nations Rugby

Sat 7th March

Ireland vs Italy PP England 33-30 Wales (16:45)

Sunday 8th March

Scotland 28-17 (HT 14-7) France (15:00)

Ireland vs Italy seems is off due to CoronaVirus.

JabRef Update

Not quite following on from my previous post The JabRef bibliography software has been updated.

JabRef is a bibliography manager, to help make .bib files easier to create and manage. It should be possible to upload the output .bib file to Overleaf too.

  • Screenshots from Jabref 3.8.2

jabref1

jabref2

References

There is a #latex channel on the Freenode IRC network.

#LaTeX, #bibliography, #manager, #software, #windows, #linux, #apple, #overleaf, #ctan,#tex-live,#overleaf, #jabref,#references,


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

cc-by logo

Applications for students to join this years Google Summer of code open next week.

This period runs as follows

March 16 – 31, 2020 Students can register and submit their applications to mentor organizations. All proposals must be submitted by March 31, 2020 19:00 (British Summer Time).

#gsoc, #google, #summer, #code, #student, #coding, #projects, #GoogleSummerOfCode


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

FreeBSD 6

Further to my previous post or probably more specifically the post before that I am sharing a little more about setting up twm.

I have been trying to find a way to share my config files here. The easiest way to this, so I thought, would be to copy the files to a removable media, this failed. So this morning I created a github repository and uploaded copies of the two files there.

So firstly there is the xinitrc file as below

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/local/etc/X11/xinit/.Xresources
sysmodmap=/usr/local/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then

    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /usr/local/etc/X11/xinit/xinitrc.d ] ; then
	for f in /usr/local/etc/X11/xinit/xinitrc.d/?*.sh ; do
		[ -x "$f" ] && . "$f"
	done
	unset f
fi
twm &
#afterstep
#xclock -geometry 50x50-1+1 &
#xterm -geometry 40x25+494-0 &
exec xterm -geometry 40x25+0+0 -name login

The end section of this tells the X11 system to load twm as the window manager, the last line creates a special xterm window that, if exited will exit the X11 system too.

Following on from this is the system.twmrc file which is sets up the twm system.

#
# Default twm configuration file; needs to be kept small to conserve string
# space in systems whose compilers don't handle medium-sized strings.
#
# Sites should tailor this file, providing any extra title buttons, menus, etc.
# that may be appropriate for their environment.  For example, if most of the
# users were accustomed to uwm, the defaults could be set up not to decorate
# any windows and to use meta-keys.
#

NoGrabServer
RestartPreviousState
DecorateTransients
TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
#ClientBorderWidth

Color
{
    BorderColor "slategrey"
    DefaultBackground "rgb:2/a/9"
    DefaultForeground "gray85"
    TitleBackground "rgb:2/a/9"
    TitleForeground "gray85"
    MenuBackground "rgb:2/a/9"
    MenuForeground "white"
    MenuBorderColor "black"
    MenuTitleBackground "gray70"
    MenuTitleForeground "rgb:2/a/9"
    IconBackground "rgb:2/a/9"
    IconForeground "gray85"
    IconBorderColor "gray85"
    IconManagerBackground "rgb:2/a/9"
    IconManagerForeground "gray85"
}

#
# Define some useful functions for motion-based actions.
#
MoveDelta 3
Function "move-or-lower" { f.move f.deltastop f.lower }
Function "move-or-raise" { f.move f.deltastop f.raise }
Function "move-or-iconify" { f.move f.deltastop f.iconify }

#
# Set some useful bindings.  Sort of uwm-ish, sort of simple-button-ish
#
Button1 = : root : f.menu "defops"

Button1 = m : window|icon : f.function "move-or-lower"
Button2 = m : window|icon : f.iconify
#Button3 = m : window|icon : f.function "move-or-raise"
Button3 = m : window|icon : f.quit "quit application"

Button1 = : title : f.function "move-or-raise"
Button2 = : title : f.raiselower

Button1 = : icon : f.function "move-or-iconify"
Button2 = : icon : f.iconify

Button1 = : iconmgr : f.iconify
Button2 = : iconmgr : f.iconify

#
# And a menus with the usual things
#
menu "defops"
{
"Twm"	f.title
"Iconify"	f.iconify
"Resize"	f.resize
"Move"		f.move
"Raise"		f.raise
"Lower"		f.lower
""		f.nop
"Focus"		f.focus
"Unfocus"	f.unfocus
"Show Iconmgr"	f.showiconmgr
"Hide Iconmgr"	f.hideiconmgr
""		f.nop
"Nethack"	f.exec "exec vulture-nethack &"
"Doom"		f.exec "exec prboom &"	
#"Xterm"	f.exec "exec xterm &"
"LXTerminal"	f.exec "exec lxterminal &"
"Thunar"	f.exec "exec thunar &"

"XCalc"		f.exec "exec xcalc &"
""		f.nop
"Kill"		f.destroy
"Delete"	f.delete
""		f.nop
"Restart"	f.restart
"Exit"		f.quit
}

IconManagers{
"Frame"	"=100x50+100+100"	1
"XTerm"	"=300x50+120+100"	2

It is fairly basic at the moment, but feel free to git clone from here.

I am sharing as they are more of a guide rather than something that should be just used.

#bsd, #config, #desktop, #settings, #configuration, #tool, #freebsd, #twm, #window, #icoms, #xinitrc, #system.twmrc

You can find me on Friendica at [email protected]


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

South Devon Tech Jam – March 2020

sdtjlogo

The next Tech jam will be on Saturday 14th March 2020. Following on from the previous jam in February

Paignton Library and information Centre.

Time : 11am to 15:00 Cost : £2

Website : http://www.sdtj.org.uk.

What have :-

It may be good to have a discussion on the Tech Pledge which I posted about a while back.

#southdevon,#technology,#meetup,#event,#paignton,#coding,#hardware,#retropie

You can find me on Friendica at [email protected]