draft0

Menu

Entries tagged 'cat:Shared'

Posts tagged with category Shared are where I show and usually link to something on the web that I find interesting, helpful or otherwise worth sharing. Posts categorised as Links are link lists or link collections with no descriptions.

On Notetaking; Minimalist Web Notepad (and an edit function for SBWG)

There are so many ways to take and organise notes… I stopped thinking about it. I stopped trying to organise the right kind of notes in the right place, right kind of software or in the right structure. Some things I write on a piece of paper, which may or may not lie around and in the way for weeks, or I put it in a file, or create a bookmark. Or a write it in a terminal so that I can grep it from the history later. Or I send myself an email. Yes, that's still something people do. I do it even though I know there are better ways to save and sync notes across devices. There are so many better ways that I can't decide on which I want to use. There are so cool, sweet and genius little (nd not so little) apps, CLI tools, TUIs and web UIs that people recommend. I don't want to spend years testing them so that I can decide which I want to use with which config. But there is one that I adopted qhickly and gladly. I guess I stumbled over it just at the right time or I wouldn't have installed it, and wouldn't still use it years later.

It's called Minimalist Web Notepad. I'm not sure if the linked Github is from the originl author. Feel free to check yourself. There are quite some forks. One reason for that may be that its name is very much a complete description of what it is, and the minimalism is enforced by the maintainer. If you want any feature on top of the core functionality, you have to add it yourself or look through the forks. Upon installation you choose or create a directory in which the notes are saved. Then you can pass a file path through the URL when you open the app, and it will display the contents of the file. If you edit anything in the notepad, it will be saved immedietly to the file (if JS is enabled). If the file didn't exist, it will be created. So, this notepad can be used as a simple addition to the practice of collecting a convoluted mess of text files that contain notes, which is perfect for me. There is no password protection (in the original version). But Apache can already do that.

And I found another use for minimalist-web-notepad. I started SBWG on the idea that more things should be files. The concept of everything being a file works great in Unix-like systems, which device drivers and kernel components that create those files as sensible interfaces to things. But I like the idea of things being files independently of sensibility and efficiency. Maybe that's why I like minimalist-web-notepad. There, notes are files, in SBWG, blog entries are files, in my etherpad-lite, pads are files. Wait a moment… if I use the entries directory of a SBWG web site as the notes directory of minimalist-web-notepad, I could edit blog entries in the web browser. And so I did that, and added a hook to the settings file of draft0 that includes a link to every entry that links to the notepad of that entry. For a while now there has been a hidden edit link in every draft0 entry that allows me to edit blog entries quickly without moving away from my principle of not adding any client-to-server interaction to SBWG.

See, that's why it's great to agree on formats (and standards in general). The author of this minimalist-web-notepad didn't know about SBWG, but just kept the tool simple and file-based, and thereby created a blog entry editor for SBWG web sites that fits perfectly, accidently.

Just in case anybody wants to add the same hook to their SBWG settings file, here it is:


# Add an edit link to every entry's title section (when the entry is displayed on its own page)
hook_entry_title_tags_after() {
  echo "edit" >> "${outfile}"
}

Replace https://edit.draft0.de with the URL to your minimalist-web-notepad (or other editor) installation. Make sure to protect it from anonymous access, unless you like surprises, I guess. If you want to hide the link, too, use CSS or change the link text to '.' or place it differently by using a different hook or be creative or use a browser extension instead of the hook.

Comment

Derpy did 9/11

I realise that the fun in this GIF, if you would have ever been someone who would smiled at a joke like this, is lost by now. But it was a popular and hated animation among bronies after the episode where Derpy demolished that building came out. I'd like to keep a backup here because the file is known to be reported (and removed) on image boards, discussion boards and other moderated web sites. (Imgur is almost the only one who kept it until now. But they started to remove old uploads. So it will vanish from there, too.)

This probably would be the most popular My Little Pony GIF animation that I've made if most bronies weren't Americans. :)

Edit: Oh and I found this audio recording of an old version of the Google text-to-speech reading a excerpt of the transcript of the relevant MLP:FiM episode. I created that file for some other project. But I think it fits here as well and sounds kind

derpywtc.mp3 Download
Comment

YouTube channels that I find worth recommending

There is no other reason why I restrict this list to YouTube channels other than that is where I'm most likely to discover interesting videos. It's just where most online videos are. The channels in this list are in no particular order. Some pretty well-known and famous, some not that big, but all very interesting to watch to me.

  • World Science Festival - Science panel talks - I've written about it here already.
  • DIY Perks - Interesting electronics-related DIY projects, partly very elaborate. Nice voice.
  • Technology Connections - In-depth explorations and explanations of technical, electrical and electronics topics. Retro tech, home appliances, traffic lights, video technology, ...
  • TrackZero - Computer/digital electronics projects vlog. Homebrew computer hardware, vintage computer hardware.
  • Tipharot - Short videos on lucid dreaming
  • colinfurze - Weirdly over-the-top and professional-looking DIY builds
  • Pursuit of Wonder - Philosophical and thought-provoking stories nicely told
Comment

Zeo Mobile Teardown

2015 habe ich mir mal ein Zeo Mobile genauer angeschaut und im Schlafhacking-Blog darüber geschrieben.

Hintergrund: Das Zeo war ein Gerät ("war, weil es schon lange nicht mehr hergestellt und vertrieben wird), das anhand von Bewegungsdaten, EOG und EEG ein Schlafprofil des Trägers eines Stirnbandes erstellte. Es war wahrscheinlich das erste Gerät seiner Art, das diesen Einsatzzweck einfach benutzbar, mit cloudbasierter Software für Normalconsumer und - dafür, dass es quasi kein richtiges Konkurrenzprodukt gab - ziemlich günstig, bedient hat. Ich weiß gar nicht, woran der Hersteller, Zeo, Inc., ehem. Axon Labs) gescheitert ist. Er war dem heutigen Trend so weit voraus und hat alles geboten, was den Benutzern von heutigen, ähnlichen Geräten für den Zweck der Verbesserung der Schlafqualität wichtig ist, dass man ihn eher als Innovator als als seiner Zeit voraus bezeichnen kann. Anyways, es gab/gibt hauptsächlich zwei Geräte: Das Zeo Bedside, bestehend aus Nachttisch-Empfangsgerät, Kopfband, USB-/serieller Schnittstelle und Windows-Software, und das Zeo Mobile, ein Bluetooth-fähiges Kopfband mit Smartphone-App. Für ersteres wurde von einem (Ex-)Entwickler des Gerätes eine modifizierte Firmware (Version 2.6.3R) in Umlauf gebracht, die es ermöglicht, über USB die Rohdaten der Sensoren zu empfangen und so eigene Software zu benutzen. Damit hat während des kommerziellen Untergangs Zeos nicht nur er meinen Respekt gewonnen, sondern auch das Zeo Bedside neue Einsatzmöglichkeiten und eine Fan-Community von technik-interessierten Klarträumern. Für das neuere Zeo Mobile gibt es zwar auch eine Android-App, mit der man das Gerät ohne Konto auf dem nicht mehr existeierenden Zeo-Server weiterbenutzen kann, aber aus dem einfachen Grund, dass es nicht einfach möglich ist, Rohdaten aus dem Gerät zu bekommen, haben die Zeo Mobiles bei weitem nicht die Beliebtheit unter Hobbyisten, die die wenigen noch in Umlauf befindlichen Zeo Bedsides genießen.

Also, 2015 habe ich mir mal ein Zeo Mobile genauer angeschaut und im Schlafhacking-Blog darüber geschrieben: Zeo Mobile Teardown

Eigentlich wollte ich noch einige weitere Links hier einbauen, wie zum Beispiel zu der Entwickler-Webseite und zu ein paar interessanten Software-Projekten, die die Daten der Rohdaten-Firmware des Zeo Bedside nutzen. Leider kann ich die Firmware selbst nicht mehr finden und auch die relevanten Informationen sind nur noch im Internet Archive zu finden. Dort sind die Software-Downloads aber nicht archiviert, weshalb sich der Rest erübrigt. Sehr schade. Ich hoffe jemand wird die Sachen noch mal öffentlich zur Verfügung stellen. Ich habe sie leider nicht bei mir, weil ich nie ein Zeo selbst bespielt habe.

Vielleicht nehme ich den letzten Absatz wieder zurück. Hier ein paar URLs, die oben vielleicht fehlen (habe gerade keine Lust, sie in line zu bringen):

  • https://www.gwern.net/docs/zeo/index
  • https://www.gwern.net/docs/zeo/firmware-v2.6.3R-zeo.img
  • https://www.openyou.org/2013/06/11/zeo-firmware-and-raw-data-api-on-openyou-github/
  • http://eric-blue.com/2013/06/09/life-beyond-zeo/
  • https://github.com/evsc/zeoLibrary
  • https://github.com/openyou/zeo-firmware
  • https://github.com/openyou/zeo-raw-data-api
  • https://github.com/openyou/zeo-android-api
  • https://www.klartraumforum.de/forum/showthread.php?tid=9523
  • http://www.sleepstreamonline.com/rdl/
  • https://web.archive.org/web/20120422001938/http://sourceforge.net/projects/zeorawdata
  • https://web.archive.org/web/20110307193953/http://sourceforge.net/projects/zeodecoderview
  • https://sourceforge.net/projects/rxtxlibrary/files/rxtxlibrary/
  • https://sourceforge.net/projects/zeolab/
  • https://sourceforge.net/projects/zeolib/
  • https://web.archive.org/web/20120924070141/http://developers.myzeo.com/raw-data-library/
  • https://www.klartraumforum.de/forum/forumdisplay.php?fid=29 (Inhalt nur eingeloggt sichtbar)
Comment

World Science Festival

The World Science Festical is an event that seems to bring scientists from different fields with highly interesting or intriguing thoughts and ordinary humans together once a year. I don't really know much more about it than the Wikipedia article says. But after wathing several of the panel recordings on YouTube I feel like sharing some of the (to me) most interesting topics.

This is just a small selecltion from similar videos that are way worth watching. The videos on their YouTube channel are sorted into playlists by topic category.

Comment

Displaying Images In The Teminal

18.04.2021 11:27:01 steeph@fatty:~ 0 $ viu /mnt/happy/B/pony/pinkie.gif -h 37
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄

I had a look around recently for a way to display images on a linux command line, e.g. to check image files over ssh quickly. Turns out there are several prominent projects. I shouldn't be surprised by that. But now I feel a bit stupid that that's apparently a pretty common idea that I could have had a lot sooner.

Anyway. I went with viu because it's easy to install and to use and doesn't require a graphics card or anything other than a terminal connection. It plays animated GIFs, supports more than 256 colours if the terminal does and is written in rust (for those who care, I guess). The image resolution isn't high (because it's actually text characters). But that's a trade-off I'm willing to take for the advantage that it works in a text-only terminal.

Simply install it with

cargo install viu

and use it like this:

viu image.jpg

or

viu /path/to/image/diretory/

(You may have to add your cargo bin directory to PATH first.)

Github: https://github.com/atanunq/viu

18.04.2021 11:38:59 steeph@fatty:~ 0 $ find /mnt/happy/B/dinge -iname *6*finger*hand*.jpg -exec viu -h 20 -t {} +
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄
▄▄
▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄

There are other similar tools that use the framebuffer or aalib (ASCII art) to display images. But those aren't my first choice because I don't always have a framebuffer to write to and ASCII art in low resolution is a bit too little image quality sometimes.

But they have their advantages as well, so let me mention them at least.

img2sexel - Using sixels to accomplish higher resolution with text only. Sadly I don't always hava a terminal emulator that supports sixels.

fbvs (FrameBuffer Viewer Simple) - Also probably a very fine tool but not for my main use case. Maybe I would have used it if it had simply worked after installation.

FIM (fbi improved) - Supports framebuffer device method and several other graphical libraries as well as ASCII art.

lsix (Like "ls", but for images.) - I like that one a lot, too because it can display image thumbnails in a grid out of the box. But again, sixtel is not an option for me at the moment.

There are more, but those are the main ones I saw mentioned and recommended all over. fbi is an older one. There are implementations for some applications (w3m, mutt, VIM, ...) but I didn't look into those because I don't need them.

Comment

Web Links

Here are just a few random links to web pages I find interesting or relevant in some way. Can be used to kill some time of discover some random web pages I find interesting or relevant in some way. I'll not list this as incomplete although such a list can of course never be complete. I may remove from or add to this list at different intervals.

  • ASCII Art Archive
  • asciiflow (Draw on a canvas with ASCII charactters)
  • xero's linux dotfiles
  • http://shapecatcher.com/
  • https://soundcloud.com/spaceweather
  • A typical, good and short XKCD comic strip (#703: Honor Societies)
  • Uhrzeigersinn (Kamelopedia-Artikel)
  • www.led-rechner.de (Sadly discontinued. It was the best web current limiting resistor calculator I've ever seen.)
  • https://winworldpc.com/library/
  • https://computerarchive.org/
  • A photo of a large penis
  • Raipats Schlafhacking-Blog
  • http://search.lores.eu/
  • http://hackertyper.com/
  • Lucid Sage: The Lucid Dreaming Podcast (a good podcast about lucid dreaming topics)
  • http://unicodeemoticons.com/cool_text_icons_and_pictures.htm
  • http://www.schnappmatik.de/TFFFFF/
  • https://apps.timwhitlock.info/emoji/tables/unicode
  • YaCy (a distributed web search engine, based on a peer-to-peer network
  • https://rarbg.to/torrents.php
  • The Eye (free public collections from a group of data hoarders)
  • Nineties-looking World Wide Web-sites
  • defaultfile.name (website for watching videos that were uploaded to YouTube without renaming the camera's files first)
  • Library Genesis (Libgen IPFS project - Alternative domains: libgen.io, libgen.gs, libgen.lc, libgen.li, genesis.lib)
  • https://web.archive.org/web/20191015084544/http://www.homebrewcpu.com/
  • Unsplash (freely-usable image database)
  • https://github.com/hackerb9/lsix
  • https://ngrok.com/
  • https://librivox.org/
  • https://drive.google.com/drive/folders/0B4phpFQDxF9VSnl4V3pmRGVuWXc
  • http://betteros.org/tut/graphics1.php
  • https://minix1.woodhull.com/
  • https://drive.google.com/drive/folders/1RU63d0rIZHZb0BIrXY3dg_JifIzBsVZo
  • https://www.retrogames.cz/play_007-NES.php?emulator=retrocc
  • https://supermarioemulator.com/mario.php
  • https://snapdrop.net/
  • https://pbnify.com/
  • http://www.modding-faq.de/
  • https://jspaint.app/
  • Steeph's Web Log
  • draft0
  • Dietrich Drahtlos - Die offizielle Fan-Seite für den großen Ingenieur und Erfinder D.Drahtlos (http://www.dietrich-drahtlos.de scheint nicht zu funktionieren.)
  • Elektronik und Mikrocontroller - Burkhard Kainkas Webseite
  • B. Kainkas Elektronik-Logbuch
  • Directory of text-only websites
  • A clock that has its hh:mm:ss hex values as background color
  • Comment