My "Note Stream"
A streaming diary of rather random stuff I'm taking notes on to keep track of shit. I can dump notes from here and organize them later into the website if they warrant it. These notes are mostly for me but feel free to take a peek from time to time to see what I'm up to.
2022
July
5th
- Two different shootings yesterday that caused chaos
- both at 4th of July events
- one outside of Chicago
- the other in Philadelphia
- both at 4th of July events
4th
- worked on a Raku tutorial notes/raku/Cool-Raku.html
May
29th
26th
- getting this rolling again
- got caught up on github notificationg
- re-installed some raku modules
- check taskwarrior server still works
- set netgear router to work in AP mode to free up a port
- can now plug into WAN
- slow wifi problems
- seems work fine on speed test
- sean says it's dropping out on facetime calls
- netgear router
- password in lastpass works
march
24th
- tmux-navigator-like navigation in Comma/IntelliJ
- downloaded fig from fig.io
- visuall completion in shell like with an IDE
- looks interesting
22nd
- bash function to find arguments in a command
- actually, going to do everything in perl
- zsh wrappers for perl script, use zsh functions as a wrapper
20th
- spent a good chunk of time getting familiar with Command IDE
- Markdown
19th
Taskwarrior
- lots of taskwarrior configuration and troubleshooting last couple of days
- see taskwarrior notes
16th
copying file from remote server that you don't have permissions for
- typically, you'd use
scp
command to copy a fie - but if credentials you are using for ssh don't have permission to copy, use rsync
rsync --rsync-path="sudo rsync" <LOCALFILE> USER@SERVER2:/root
15th
no way to wrap plain text for outgoing mail in Apple mail
- some old plugin to try to fix. Doesn't install:
- https://github.com/arachsys/mailwrap
- looks like it's written in python2
- python2 has been removed from macos
annoying zsh problem
jon stewart gets panned on his piece on fossil fuels company
- Jon Stewart to Big Oil: You Are Valid: www.gawker.com
- I didn't watch the full piece, doesn't sound good
workin' more
- lara logan is a nutjob
- working on improving integration of TW with vimwiki and projec portals
- more tweaking of scripts
- working with TW contexts
- found a way to create contexts for different shells
- easier than switching betwen vimwiki files with tasks by client
- see TW notes
- found a way to create contexts for different shells
14th
Raku: rewriting for loops
- upgraded apples devices
- universal control is here
- upgrading my 5 main computing devices simultaneously
- this is what I do for fun
- let's hope universal control doesn't break synergy
40 million pixels of screen space now at my fingertips
- can never have enough
- but I think I got at least 90% of what I need
- got m1 on synergy
- going to use it primarily for messaging apps
- use 4 regularly
- discord
- skype
- messages
- messenger
- use 4 regularly
- going to use it primarily for messaging apps
- ipad now controlled via universal control
- seems a bit buggy
- m1 would frequently disappear
- no hot keys to switch between screens
- seems a bit buggy
possible to upgrqde late 2014 imac to monterey?
- Trying to install Monterey on late 2014 iMac 5k with Open core, receiving an error in making a bootable flash drive on terminal. : MacOSBeta: www.reddit.com
- Working great on Imac 5k Late 2014 : MontereyPatcher: www.reddit.com
- What is OpenCore? | OpenCore Legacy Patcher: dortania.github.io
- looks interest for a project for another day
- would allow me to use universal control on 2014 imac
a question I posed on SO
workin' workin'
- worked more hours on set configuration scripts for client portals
13th
WW III is looking more possible with every passing day
- really not good
- Russia now looking for weapons from China
- Russia threatening to nationalize companies that pull out
working on automation tasks today
- mostly for getting new clients set up with portals
- got a lot done, pretty much all I did
need to find an easy way to add images to vimwiki
- need to resize images
12th
cleaned up task list
- got rid of a lot of stale tasks from taskwarrior
small problems/annoyances with taskwarrior completion
need to theme the task id numbers
- another job for the raku post processor
added a way to inject output of tree command into file
- could not find a plug-in
- I asked on reddit
- ended up rolling my own simple solution using
tree
command as a basis for the output - problems with my solution that have to be ironed out are spelled out there
- most now ironed out in the code below
function! ListFiles()
let path = expand('%:p:h') . '/files'
let out = '# Files' . "\n" . '<ul><div class="file-listing">'
let html = system("tree -nDhH files" . ' ' . path)
let html = substitute(html, '<.*Tree</h1><p>', '', 'g')
let html = substitute(html, '\s<hr>.*</html>', '', 'g')
let html = html . '</div></ul>'
:put =(out . html)
endfunction
way to suppress css?
- done with vimscript in function
- css added to
css/style.css
file
client portals
- building private one-page portals for client to share information with them about the status of projects
- mostly one-way now
- will add more two-way communication later
- upload files
- asking questions
- adding tasks
- will add more two-way communication later
- password protected
- need to write server-side script to automate getting them set up
choosing files with vimwiki
- seems broken with current config
- setting up clean nvim config to test
11th
Got taskwarrior working
- seems to have crashed
- certificate was also expired
- will be used more as part of the new client portal feature I'm building
Problems embedding youtube vids with time codes
- need to parse out the time argument in query string
- then modify embed code with it
- check examples on youtube
<iframe width="560" height="315" src="https://www.youtube.com/embed/NAvLEXK3jaI?start=65" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
- query string key gets changed to "start" followed by number of seconds for value
Password protection of directories
- set up site with basic auth to password protect directories
- needed to add in apached
authz_groupfile
module - clients will be able to see the content in their that I've posted but will be restricted from navigating to other directories
Early CO₂ experiment from the 1850s
- woman named Eunice Newton Foote did an experiment with CO₂ to show it would heat up the planet
- How scientists found out that climate change is real and dangerous | Science News: www.sciencenews.org
Possible to mirror tmux pane in another window?
-
tmux - mirroring a pane between two windows - Unix & Linux Stack Exchange: unix.stackexchange.com
- apparently not a feature
- some hacks offered in thread as possible solutions
What is good acting?
- an amateur, non-actor's take
- so why am I watching this?
- clickbait works
- so why am I watching this?
On the term "note stream"
- I never heard the term before thinking of it tonight
- apparently it's a product from Microsoft
- looks kind of dumpy
- Get Note Stream - Microsoft Store: www.microsoft.com
adding "Notes" to menu
- good progress tonight on the site
- and for the last week
- feeling I can relax on this project a bit and work on something else
Listening music while I code my site tonight
10th
having issues with disply of youtube videos with note headers
- showing up as raw html wrapped in a
<pre>
tag - probably will require more modifications to raku post processor script
- put youtube videos in a bulleted list
- look for iframe element in a bullet
- add class to parent bullet
- modify css to remove bullets for li items in that class
- the above did the trick
- put youtube videos in a bulleted list
old/new imacs connected well through ethernet
- having issues with disply of youtube videos with note headers
- showing up as raw html in a
<pre>
tag - probably will require more modifications to raku post processor script
- showing up as raw html in a
- faster transfer speeds
- can also be used to stream audio from 2020 to 2014
- using audio hijack/loopback (see below)
2014 imac software installs
- vlc, via homebrew
- audio hijack
- loopback
moved tech notes to their own folder
- Is there any good reason to separate snips from notes?
- I may just fold them into the notes.
- Even better by may to have them get copied out automatically from notes file and then separated out into separate files automatically.
set up streaming between 2020 imac and 2014
- using audio hijack/loopback
- I can now use dictation using a high-quality mic which gets streamed over via ethernet to the old iMac
this guy has a site pretty similar to mine:
- Git errors and how to solve them - Technotes: technotes.adelerhof.eu
- also done in markdown
- less of a wiki, though
- finally got private pages working with submodule on ccc site
- had a lot of trouble with submodules
- kept getting errors trying to set md_private_dir
- just removed it from server
- potential fix:
Jon Steward interview Shell CEO
- first interesting thing I've seen Jon do on his new show
- I haven't watched the show at all
Reaction to new mac Studio
set up private part of climate change chat website for private notes
- "private" directory set up as a git submodule
- directory on server is password protected with apache auth_basic
investigating why old mac crashes at high resolutions
9th
battled a lot today wem crashes on imac 2014
- having kernel panic every 15 min or so
- pram reset seems to have finally fixed the issue
- nope, still happening
- crashes not happening in safe mode
- screen res is lower in safe mode
- maybe part of the problem
- think I need a technician to look at this
- screen res is lower in safe mode
- does not seem to crash at lower screen resolutions when not in safe mod
- indicates a problem with the gpu?
power to chernobyl plant cut off
- only 48 hours of fuel left on backup generators
- Ukrainian official claims there is grave risk of radiation leak
- IAEA, a UN body of atomic scientists, says there is no reason for alarm
- Ukrainian utility company says there is a danger
debug of responsive issue with this website
- the site slides a little from left to right while scrolling up and down
- a litle annoying
- possible solution:
html, body { max-width: 100%; overflow-x: hidden; }
switched over to Barrier
- open source version of Synergy
- they are the same piece of software
- both pretty buggy and not user friendly
- but Barrier is free
- will ask for a refund for synergy
debugged a problem where I was losing ctrl-j/k functionality on client computer with Barrier
8th
more notes on my new computing setup (imac 2020/2014 combo)
- things seems to be faster when primary machine is not on wifi
- connected directly to router
- may break handoff though?
- nope, still works
- so far, use it for notes
- ssh into primary
- attach to an existing tmux session
- don't have to worry about managing config files
- commands issued on client machine get played out on primary machine
- ssh into primary
- frees up a lot of real estate
- use f13/f14 hotkeys to toggle betwen machines
- bit of a reach but:
- just a single key press
- can easily feel way to the correct key
- swiching between two different apps now just takes one keystroke
- nice side benefit
- bit of a reach but:
- my main programming machine is now right in front of me instead of off to the side
- there is a slight bit of lag on client machine
- best not to use mouse on client machine
- also a little laggy
2014 iMac software installs
- homebrew
- perlbrew
- 5.34.0 installed
- karabiner-elements
resurrected old 2014 imac workhorse today
- using it as a second machine/slash 3rd monitor
- I now have 3 monitors again
- I now have 33,523,200 pixels at my command
- way bigger than Putin's army
- 2 5K monitors and an old thunderbolt display
- you can never have enough screen real estate
- I now have 33,523,200 pixels at my command
- it's actually pretty snappy
- connected the computers using software that acts as a "virtual" KVM switch
- called "Synergy"
- works pretty well
- sometimes there mouse is a bit laggy on second machine
- just move mouse cursor over the 2nd machine and the kvm automatically kicks in
- you can use hotkeys to switch between machines as well
- this should open up more possibilities for me
- maybe even better than having the 2nd machine in "target" mode
- had target mode set up with old 2010 iMac
- target mode not compatible with "newer" macs like my 2014 iMac
- but now I can use this third machine for running tasks I wouldn't want bogging down my main machine
- maybe smoke tests for perl
- or for safari, a memory hog, on the old machine
- or for note taking
- share the files via icloud
- or synology drive
- share the files via icloud
- had target mode set up with old 2010 iMac
- upgrading old imac to latest versino of big sur
- nearly 6 GB large
- download speed is very slow
- perhaps heavily throttled by apple?
- and now I get to enjoy installing and configuring software for hours
Mac Studio: To Buy or Not to Buy?
- make studio ultra looks tempting as hell
- lots of sticker shock, though
- 4k starting price with no monitor
- thought I do get a 10% vet disounted
- so 3600
- I could trade in my imac 2020 though...
- apple will only give me $1500 for it
- would bring cost down to 2100
- if it were 2 grand I might be tempted
- disappointing
- the computer has lost almost 2/3rds of its value in just 18 months
- that's nuts
- the computer has lost almost 2/3rds of its value in just 18 months
- going for well over $2500 on ebay
- knock off maybe about $300 in fees
- net $2200
- knock off maybe about $300 in fees
- and i'd be stuck wih just one crappy thunderbolt monitor
- would have to spring for a new screen
- about 1450 for their cheapest display
- total package would be close to 4 grand with taxes
- ugh, no
- but I may
- but wait, I have a used car I'm looking to sell
- how much could I get for that?
- would have to spring for a new screen
- apple will only give me $1500 for it
- 4k starting price with no monitor
- lots of sticker shock, though
- other option is to get the one with the max chip
- much more reasonably priced at two grand (to start)
- with trade in, could get for just $300 after vet discount
- extremely tempting
- still have to buy a monitor
- or coud just use the one crappy thunderbolt display
- not really an option
- or coud just use the one crappy thunderbolt display
- however, that monitor could be used for newer computers I buy
- so could end up saving me money
- but would take a huge hit on storage space
- 4 TB hard drive is $1200!
- that's insane
- 4 TB hard drive is $1200!
- $400 extra for memory upgrade to 64GB
- what I have now but need much less for m1 chips
- likely not needed
- also still have the 2015 imac
- could maybe get 4 or 500 hundred for it
- which means I would only have to spend about $1000 out of pocket
- $2200 with 4tb of storage
- probably not needed
- for a much faster computer
- maybe slightly better screen
- selling old imac would offset that down to about $1800
- $2200 with 4tb of storage
- I could probably scale it back to a 1TB drive and get away with it
- would save me $1000
- far fewer ports than I need
- would need to drop about $100 for adapters and such
- other options is to live with just the thunderbolt display for a while
- so (2399 + 1800) - 10% discount - 1500 trade-in = 2699
- OK, after a lot of hemming an hawing, I'm not going to do this
- going to wait another year or two
- will be faster macs by then
- what I have is perfectly fine
Galaxy Brain newsletter
- The Information War Between Ukraine and Russia Is Far From Over - The Atlantic: www.theatlantic.com
- about the spread of info during wartime on the net
- discusses what we know about following disinformation networks
- quotes experts on dissemination of Russian propaganda and their operations
- upshot: it's too early to tell how prop war is going
Stack overflow question on inline perl raku module
- Yup, I can be a real dummy sometimes
- raku - Inline::Perl5 not working with Lingua::En::Titlecase perl 5 module - Stack Overflow: stackoverflow.com
Anderson Cooper on Stephen Colbert
- talks about coomplications of covering war and what he think Putin is afraid of
- Upshots:
- it's hard collecting news during wartime
- CNN is working hard
- war is horrible
- Russians are behaving badly
- Putin is scared of an 80 year old womand protesting
- sign of weakness and fear
Computering expert talks about why crypto is bullshit
- Listened with half an ear to while coding
- guest mentions podcast at end which sounds good
- The Economict
- Babbage is the name of the podcast
- started to listen to it but fell asleep
- Babbage is the name of the podcast
- The Economict
7th
Watching bill joy ted x talk from 2008
- from 2008
- seems like a bit of a doom an gloomer
- but still named "joy"
- civiliation is engaged in an asymmetric warfare against individual bad actors
- because they have extraorindary amounts of power as a result of new tech tools
- hard to stop bad actors
- venture capitalist now
- founded Sun microsystems
- wrote vi text editor in 1976
- concerned about future
- climate change
What is Bill Joy up to now?
- seems to have dropped off the map
- looks like he's retired from venture capitalism
- good chance he's disillusioned
- seems to have gone silent on things
- or could just be trying to enjoy the rest of his life
- more recent video about crispr genetic tech
Tried out HackMD
- collaborate with others using git markup
- an idea I have long had
- pretty impressive but a bit confusing
- not easy to figure out how to create navigation between pages
- got it working, but menu items are tiny
- want it to look somethingmore like this
- not easy to figure out how to create navigation between pages
- editor kind of sucks
- has a vim mode, but no key repeat
- it most respects, much easier to work with vim
- but can make it easier to add media
- changes to documents are instant
- you can allow anyone to make changes to docs
- unsure how you might revert vandalism
- integrates with github
- unclear why this was built into their offering
- do versioning?
- if so, kind of kludgy as far as I can tell
- doesn't seem to integrate in with live edits
- if so, kind of kludgy as far as I can tell
- do versioning?
- can presumably get exported to a proper website from there
- unclear why this was built into their offering