Threads for betoissues

  1. 1

    Sure you don’t “need” one but eventually you’ll end up writing your own.

    Maybe not because you need the components, the pieces I use the most out of these frameworks are the helpers and utilities so spacing, alignment, layout. All these utilities are so common it’s worth having “at least” a personal framework to work with.

    1. 1

      Tried this with “Hide Font Names” toggled and ended up with the same font I currently use.

      Would be nice to see the braces once you hit the result so there’s also the option to pick from the closest to first fonts.

      1. 1

        Well here’s my workstation and a closer picture

        I use mostly this two computers, both are pretty much the same in terms of software with KDE with 2bwm, polybar and rofi as launcher.

        Work Laptop: Lenovo Thinkpad T430u

        Desktop: custom build, details are on this screenie

        Details on what’s on top of my desk:

        Monitor: LG 29UM69G-B Ultrawide. Currently I don’t need more than one monitor, although I’d like to switch to a 16:9 1440p

        Keyboard: Ducky One 2 Mini with MX Browns

        Mouse: Logitech G305

        Audio: Mic CAD GXL1200, UR22mkII audio interface and for headphones I switch betwween SACB1-SM and Sennheiser 4.50 BTNC

        Camera: Sony a6000

        Misc: KVM to switch between desktop and work laptop, two fake plants, some rock I got gifted, Yootech wireless charger.

        1. 1

          Would you recommend using a Sony alpha like that for webcam usage? I’ve been curious about using something more adjustable for improving my exposure and lighting.

          1. 1

            If you’re not going to do streaming or content creation there are cheaper alternatives, I just happened to have this one since I use it for photography. It’s a clear step up compared to a regular webcam.

            When I did my research I found out there are some Canon alternatives which don’t require a capture card in order to work as webcam.

        1. 1

          I’m in, dropping my site just in case there’s feedback about it.

          Just a static blog using Zola.

          1. 10

            Taking control of your personal knowledge is one of the greatest experiences I’ve had. I switched to emacs purely for Org-mode, stayed for the elisp in ~2006 or so.

            Plain text also has a wonderful property of being a super sturdy format you know you’ll be able to read. I’ve made all kinds of quick reports out of my org files because I can just run grep | sed | awk quickly, and then write up elisp if I want to keep it around longer.

            Unfortunately, it also has the property of being a filesystem/local interface, and thus most mobile/ipad/etc users would balk at the steps you need to go through to get your notes where you’d like them. Dropbox is probably the only solution that works well for users, but then it’s dropbox. Note the auto-committing logic here makes it very difficult to actually use your backups as you’re fighting against ongoing commits running in the same workspace. I really need to write the emacs extension that allows me to use tramp w/arbitrary binary that handles data reading/writing.

            1. 3

              Taking control of your personal knowledge is one of the greatest experiences I’ve had

              I’m in the same boat. I strongly believe that personal knowledge, such as one’s personal notes, should be based on a future-proof system.

              Unfortunately, [plain-text note taking] also has the property of being a filesystem/local interface, and thus most mobile/ipad/etc users would balk at the steps you need to go through to get your notes where you’d like them

              We may not be able to create as smooth an UX as all those mobile note taking apps, but I believe we should be able to come close enough. I currently dogfood my own app (called Cerveau based on the open-source neuron project) which allows me to edit git-backed plain text notes from web browser and mobile. It basically allows you to use Git(hub) as storage, while providing a nice editing and browsing interface.

              1. 2

                I’m in the same boat. I strongly believe that personal knowledge, such as one’s personal notes, should be based on a future-proof system.

                Strongly agree here.

                I manage my knowledge via a web-based system which uses text files as its base data storage format, which I can always zip, move, and adapt to a new system.

                1. 1

                  That sounds interesting, what tool do you use?

                  1. 1

                    Thank you for your interest.

                    I use a system called “hike” at this time, which you can see a demo of here:

                    The username and password are both admin, I use that to keep out crawl bots, because at this time they fill the system with lots of junk.

                    It’s still a work in progress, and I think only useful to myself, but here are some general ideas:

                    Textfiles are identified by their hashes.

                    You can attach something an existing file using the >>hash format

                    Hashtags are used for grouping and categorizing.

                    A hash-tag in a parentless item is assigned to that item. However, if an item has a parent (using >>), the hashtag is assigned to the parent item.

                    Let me know if you have any questions.

              2. 2

                Unfortunately, it also has the property of being a filesystem/local interface, and thus most mobile/ipad/etc

                This is something that has held me back many times from using such system. In the past I did only use markdown notes in a single directory more like a journal (so no wiki and pretty messed) and syncing with Syncthing or Dropbox, which I believe is one of the best big providers for just plain text. And still editing on mobile was a pain back then, not sure if currently there’s any better interface to work on plain text.

                When that started not filling my needs I tried Evernote and moved to which I have been using since then. I’m open to explore alternative, which made me end up here looking at VimWiki which I could couple up with WebDAV to sync with my vps.

                On a note: Notion has a nice export to Markdown and CSV, that almost nails it for me. Basically following up directory structures for the content you have in the platform.

                1. 5

                  This is why Joplin fits my need perfectly.

                  • Syncs via WebDAV
                  • Great mobile apps
                  • Markdown everything.
                  • On desktop it has an option to spawn your favorite external editor of choice so Vim away!
                  • 100% open source

                  I’m in love. I haven’t ever felt this ‘together’ in terms of my personal and professional knowledge bases ever (no hyperbole).

                2. 2

                  I’m not sure how great plain text is compared to say sqlite. Faster tagging, full text search, one file, are all things that would make a note-system better in my eyes, than having free-format files lying around in a file system. And it’s not like data has to be plain-text for it to survive, sqlite and a lot of other formats with public domain/free software parsers are just as accessible, perhaps even more when considering how file-system unfriendly mobile devices are (often there’s not even a proper file manager).

                  1. 1

                    SQLite is one of the more compatible formats, but I still can’t edit it by hand.

                    My solution is to have a tree of plaintext files, which are then indexed into SQLite for indexing and searching.

                    1. 1

                      This feels like putting the cart before the horse to me. If you want optimized search why not retain the power and recoverability of plain text and use sqlite for indexing and metadata storage?

                      1. 2

                        I don’t recognize any special power in plain text. You just need a tool to access the database, and it’s as good as plain text, when it comes to unix utilities. Plus you don’t have to bother with duplicate states and updating the indexing or metadata storage, since it’s all in one file.

                        1. 1

                          Your sqlite file gets corrupted - Game Over.

                          One text file gets corrupted? You lose whatever bytes from that one text file.

                          Every decision is a trade off between utility and convenience.

                          1. 2

                            Your sqlite file gets corrupted - Game Over.

                            Not necessarily, I mean first of all it’s easy to create a backup, and then there are tools to recover as much as possible. Sure you could engineer an attack to corrupt just the right bytes, but then I could just as well say “what if you run rm -f *.md.

                      2. 1

                        Doing this now and it’s great. Title and content of notes are text fields, tags and links are structured many-to-many relations. Keeping metadata out of the note contents means I don’t have to parse anything and querying notes is super easy.

                        1. 1

                          What tool do you use for that?

                          1. 1

                            I wrote my own.

                    1. 2

                      Have you thought about using Netlify? It basically builds and publish the site for you, or even set up a CDN, file compression/aggregation. With a .netlify.toml in your repo you can set up zola version and build command, integrating directly with GitHub.

                      I’ve been using it for a few months, although recently I’ve been moving my services to my vps and will probably end up just writing a server side git hook to handle this process there.

                      1. 1

                        Haven’t heard of Netlify before – I’ll check it out.

                      1. 6

                        I started in 2011 with Ubuntu to discover what Linux is, and switched to Arch in 2012 do go further into details. When the distro switched to systemd as the default init, I was still eager to tinker with the system so I searched an alternative, to finally settle on crux, which has now powered my personnal computers since 2013 !

                        As I learnt about Linux, package management and writing more C, Crux offered me the simplest package building system I could find, so even if it did not have as many packages in base than the big ones, it was still easy and quick to package them. I could grab a source for an unknown program and package it in 5mn, which was the killer feature for me, even if that means compiling everything (it doesn’t take that much time for a single package, and big updates can be done overnight).

                        I am slowly moving toward OpenBSD (crux is based upon its ideas), but I am not there yet. I still dualboot debian steam when I want to play games, and my company laptop runs debian as well, because I need it to “just works”, and not use it as a lab for my ideas :)

                        1. 1

                          How would you compare Crux’s initial setup to something like Arch? I did try Crux before but it was too “from scratch” for my expertise level at the moment.

                          Also, I get the idea of “just works” for company computers. As soon as I got employed I set up something that let me do my work out of the box without having to spend my whole first day (prob week) at work tweaking my environment.

                          1. 4

                            The install is fairly easy, though I agree it is manual. You have to generate your locales, configure network, install bootloader, … The handbook is really great for this all.

                            The hardest part is compiling your own kernel, though after you did this a couple times, it is fairly simple.

                            To me, the simplicity of the system outweights the manual process drawbacks.

                        1. 1

                          btw, i use arch.

                          But yeah, I started back in 2010 with Ubuntu and since then I had been hopping distros til’ about 2015 where I settled with Fedora and started contributing to the local community, which was the only active at the moment in my country.

                          Time had passed by and I started using AntergOS on my personal computers and Fedora/Ubuntu for servers. I liked having bleeding edge software without wasting too much time setting up my machine (as it did a few years ago), plus the documentation and control over packages given was more flexible.

                          It was this way until I started using Ubuntu at work (for the sake of having something more stable). Like one or two months ago I (finally) noticed I had to do something about my laptop having a discontinued distro so I cleaned my antergos machine and ended up with a “look-like” Arch.

                          This week a new SSD arrived for my desktop and I installed Arch, I spent a night setting it up and now with the packages I require to work and be comfortable it has more than 1k packages less than the AntergOS installation. I’d like to keep testing more setups if I had a spare machine, but since I’m already familiar with these (Arch, Ubuntu, Fedora) I’d rather not changed my daily drivers for testing purposes like I did with Crux in the middle of college finals.

                          1. 1

                            I mostly do PHP development for work where I use PHPStorm (makes debugging easier) but besides that my setup goes like this:

                            • Alacritty as terminal emulator
                            • Zsh with antigen, using only some of the oh-my-zsh features.
                            • tmux, I only use 1 session and manage everything there.
                            • neovim with a few plugins I don’t consider minimal but gets me through my needs as I’m usually moving between languages (Rust and Python mainly, but from time to time I have to do some JS/HTML)
                            • fzf, exa, ripgrep for search and navigating directories.

                            So regardless of the DE/WM I use at least 3 workspaces in fullscreen for Browser, Alacritty & PHPStorm on a regular day at work.

                            Also I’m one of those with vim-style keybindings everywhere (except shell) so Firefox, wm (2bwm) and PHPStorm have their Vim mode. Only use mouse for browser.

                            1. 1

                              I’ve started migrating my website from Jekyll to Zola and adding Netlify CMS to make content authoring easier when not on my computer.

                              Managed to recreate most of the functionality I wanted today but still have some to go to make the static site more “dynamic”.

                              1. 2

                                Couldn’t help but notice how Brad Fitzpatrick’s commits to memcached and go have complementary hours. This guy codes all day(?

                                1. 1

                                  Does he still work on memcached? I assumed that was historical…

                                  Edit: indeed

                                  1. 4

                                    I don’t believe he actually codes all day long, definitely there was a behavioral change from one to another. For instance, this could also be analyzed in a range of dates which may also be interesting.

                                    Fear metadata.

                                1. 18

                                  Ever since I was a child, I’ve been a night person. I get my best work done between about 11 PM and 3 AM, with maybe an hour or two of variance on either side.

                                  Now I have kids, and they get up early. My wife (bless her) gets up with them in the morning, but they’re still noisy and such and so it’s hard for me to stay asleep.

                                  People told me that I’d adapt and start falling asleep earlier. Nope, just turns out I’m tired all the time.

                                  1. 4

                                    This reminds me of a post about night owls, here’s the link I’m sure you’ll agree in some aspects The Dawning Truth About Night Owls.

                                    1. 2

                                      I’m with you on that. Even close on the timing except maybe shift it an hour or two earlier. I would go to sleep by 3am on most night back in the day. My current position has me getting up early in the morning leaving in the afternoon or evening. Keeps my brain in a tired fog most of the time. It was an interesting experiment to see if I’d adapt and to learn some new things. I’ll probably try to switch shifts, positions, or something soon since it sucks so much.

                                      1. 2

                                        Wow, this is exactly my situation as well. I feel you buddy!

                                      1. 3

                                        There are some things I want to do this weekend.

                                        • Write a new entry for my blog and have the draft for the first post of my “Skills to get past entry level programming” (Need help with that name).
                                        • Get everything set up to start recording videos for YouTube next week. Trying not to overlap to much the content I want there with what I’ll be posting on my blog.
                                        • Start a project (any) in Rust just to get familiar with the language.
                                        1. 2

                                          Asking V8 for help from a PHP application to execute some user-made JavaScript.

                                          Most likely start studying for AWS Associate Solutions Architect Certification

                                          1. 1

                                            Will have to work on Saturday but I plan to use my Sunday to retake my writing and write some blog posts for next week.

                                            1. 1

                                              Using Jekyll and GitLab but been considering a cleaner codebase and maybe contribute something. Hugo is the one I’ve been thinking.

                                              1. 2

                                                Just got a T480, so will be setting it up and maybe go do some canopy outside.

                                                1. 1

                                                  At the moment I’m hosting my IRC client, but the plans are hosting a VPN, some websites and bitwarden as starting point. Been considering Chef to manage configurations

                                                  1. 2

                                                    I starteed doing this at work and while I’ve been slower I’ve been able to handle more complex code be it software development or even infrastructure as code. When dealing with AWS lambdas, SNS, S3, EC2.. It becomes necessary not only to know how services interact with each other but to get into the logic inside each of the instances.

                                                    1. 1

                                                      If anybody applies (all) these features on its project it’ll start to feel like a work. They’re good indeed, but also adds some complexity for maintainers and people who only wants to contribute.