diff options
-rw-r--r-- | Index.page | 1 | ||||
-rw-r--r-- | scratch/artists.page (renamed from misc/artists.page) | 0 | ||||
-rw-r--r-- | scratch/common_as_air_book_nots.txt (renamed from tmp/common_as_air_book_nots.txt) | 0 | ||||
-rw-r--r-- | scratch/expat.txt (renamed from tmp/expat.txt) | 0 | ||||
-rw-r--r-- | scratch/newcomb-paradox.page (renamed from misc/newcomb-paradox.page) | 0 | ||||
-rw-r--r-- | scratch/numerical_computation.txt (renamed from tmp/numerical_computation.txt) | 0 | ||||
-rw-r--r-- | scratch/nz.page (renamed from tmp/nz.page) | 0 | ||||
-rw-r--r-- | scratch/payments.page (renamed from misc/payments.page) | 0 | ||||
-rw-r--r-- | scratch/review_nonblocking_verilog_kill (renamed from tmp/review_nonblocking_verilog_kill) | 0 | ||||
-rw-r--r-- | scratch/teaching-cs.page (renamed from tmp/teaching-cs.page) | 0 | ||||
-rw-r--r-- | scratch/topics-of-curiosity.page (renamed from tmp/topics-of-curiosity.page) | 0 | ||||
-rw-r--r-- | software/css.page | 20 | ||||
-rw-r--r-- | software/debian.page | 2 | ||||
-rw-r--r-- | software/ebook_reader.page | 3 | ||||
-rw-r--r-- | software/golang.page | 15 |
15 files changed, 38 insertions, 3 deletions
@@ -18,7 +18,6 @@ right in to: * [/places/]() * [/ideas/]() * [/products/]() - * [/misc/]() This wiki is run on gitit, a Haskell web application built on top of the Pandoc formating package and the git revision system; see the [Gitit User's Guide]() diff --git a/misc/artists.page b/scratch/artists.page index ac1cc86..ac1cc86 100644 --- a/misc/artists.page +++ b/scratch/artists.page diff --git a/tmp/common_as_air_book_nots.txt b/scratch/common_as_air_book_nots.txt index 6adfa66..6adfa66 100644 --- a/tmp/common_as_air_book_nots.txt +++ b/scratch/common_as_air_book_nots.txt diff --git a/tmp/expat.txt b/scratch/expat.txt index 0583474..0583474 100644 --- a/tmp/expat.txt +++ b/scratch/expat.txt diff --git a/misc/newcomb-paradox.page b/scratch/newcomb-paradox.page index 58ace89..58ace89 100644 --- a/misc/newcomb-paradox.page +++ b/scratch/newcomb-paradox.page diff --git a/tmp/numerical_computation.txt b/scratch/numerical_computation.txt index ca606b9..ca606b9 100644 --- a/tmp/numerical_computation.txt +++ b/scratch/numerical_computation.txt diff --git a/tmp/nz.page b/scratch/nz.page index 0c50c5d..0c50c5d 100644 --- a/tmp/nz.page +++ b/scratch/nz.page diff --git a/misc/payments.page b/scratch/payments.page index decf409..decf409 100644 --- a/misc/payments.page +++ b/scratch/payments.page diff --git a/tmp/review_nonblocking_verilog_kill b/scratch/review_nonblocking_verilog_kill index 296f8c5..296f8c5 100644 --- a/tmp/review_nonblocking_verilog_kill +++ b/scratch/review_nonblocking_verilog_kill diff --git a/tmp/teaching-cs.page b/scratch/teaching-cs.page index d441985..d441985 100644 --- a/tmp/teaching-cs.page +++ b/scratch/teaching-cs.page diff --git a/tmp/topics-of-curiosity.page b/scratch/topics-of-curiosity.page index c07b13c..c07b13c 100644 --- a/tmp/topics-of-curiosity.page +++ b/scratch/topics-of-curiosity.page diff --git a/software/css.page b/software/css.page new file mode 100644 index 0000000..bcf3467 --- /dev/null +++ b/software/css.page @@ -0,0 +1,20 @@ + +## CSS Microframeworks + +good overview: https://blakewatson.com/journal/surveying-the-landscape-of-css-micro-frameworks/ + +Prefered options: + +- https://simplecss.org/ +- https://picocss.com/ +- https://picnicss.com/ +- https://gdcss.netlify.app/ +- https://watercss.kognise.dev/ + +Other stuff: + +- https://purecss.io/ +- https://picturepan2.github.io/spectre/ +- http://getskeleton.com/ +- https://jenil.github.io/chota/ +- https://tdarb.org/typesafe-css/ diff --git a/software/debian.page b/software/debian.page index 2e8e474..da874e0 100644 --- a/software/debian.page +++ b/software/debian.page @@ -159,7 +159,7 @@ Persist Laptop Power Saving Flags `powertop` helps identify system flags that need tuning (`sysfs`, `iw`, etc), which are super helpful, but these tweaks don't persist through reboots. -You can automate setting *all* the `powertop` tunings at bood by adding +You can automate setting *all* the `powertop` tunings at boot by adding `powertop --auto-tune` to `/etc/rc.local` (and making sure `rc-local.service` is configured under `systemd` if you are using that for init). diff --git a/software/ebook_reader.page b/software/ebook_reader.page index 429e6d6..74f1612 100644 --- a/software/ebook_reader.page +++ b/software/ebook_reader.page @@ -5,6 +5,7 @@ dpt-rp1-py To get PDF uploading to work from Debian with my Quaderno digital reader, I installed the `dpt-rp1-py` package for just my user (not system wide): + # or, in a venv/pipenv pip3 install --user dpt-rp1-py Before running commands, ensure device and laptop are on the same local @@ -18,6 +19,6 @@ or, to upload files: To upload everything in a directory newer than a given date: - find . -iname '*.pdf' -type f -newermt "2022-05-01" | parallel dptrp1 upload {} Document/Papers/ + find ~/toread -iname '*.pdf' -type f -newermt "2022-05-01" | parallel -j1 dptrp1 upload {} Document/Papers/ TODO: sometimes this fails for some fraction of the documents? need a delay? diff --git a/software/golang.page b/software/golang.page index 729b6e5..9897b65 100644 --- a/software/golang.page +++ b/software/golang.page @@ -12,6 +12,21 @@ function itself is called (this is intuitive). The golang documentation gives the examples of closing file handles and printing HTML footers (defer right after printing the header). +Language Notes +---------------- + +`complex64` and `complex128` are built-in numeric types. `rune` is also built-in. + +Capitalization controls visibility. Everything is visible within a package; +only upper-case things are visible outside the package. + +All types have a "zero value" which they are automatically initialized with if +not defined otherwise. These include `false` for boolean, 0 for numerics, empty +string, and `nil` in many cases. This recurses down in to structs, collections, +etc. + +TODO: capitalization of struct fields + Learning Resources ------------------- In addition to the excellent dynamic Tour, documentation, and other things |