Threads for mcksp

  1. 3

    I’ve started work on a new personal project, I’m not ready to talk about it yet (when I talk about it, I tend to lose inertia) but I’m very excited and I think I can make this one give me a bit of a side-income which is a first for me. I’m using a very very very weird stack (although not unknown to me) because I think it will benefit the project in the long run. (C for a internet service, am I crazy?). I got a hetzner dedicated server for 42 eur/month and I’m setting up the infra there (there’s very little tbh, I just need lots of memory and threads.

    1. 1

      I recently come across this - https://learnbchs.org/ (bsd, c, httpd, sqlite), maybe you will some ideas there. I really like C and all my personal projects are mostly written in C, but as soon as it has to be exposed on internet I am scared about all the security stuff tbh :D

      1. 1

        I’ve seen this before yeah! In this case I’m relying on a couple of linux goodies and there is no database (just a huge 33GB mmaped file). It’s been… interesting. Lots of weird considerations you have to make when there is no database and you have to build everything yourself.

      2. 1

        Subscribing to your future success! I want to hear about it when it’s done!

      1. 16

        On our uni we could ssh to basically any lab computer, so we would log in on random computer in class and then eject and close CD-ROM tray many times. To this day it’s pretty magical to me that command line utility has such physical output :D

        1. 5

          I have had the same experience of doing something over a network that has a physical effect on reality and finding it almost magical, even though it is technically unremarkable. I think it’s because in some sense it breaks implicit mental abstractions that we create to facilitate our interactions with technology. When we shell into a remote, we often cease to consider it as a physical device, but instead view it as a sort of virtual machine. No wonder the success of the cloud, then; in a way, it gives truth to the flawed abstraction we had already constructed in our minds.

          1. 3

            I had a daily cronjob which sent my org-mode agenda to the printer at 6am each morning. It was a similar experience having that piece of paper waiting to be read over a morning cup of tea.

            1. 3

              We had a similar setup. I enjoyed SSH’ing in and using mplayer to find out which computers had a speaker on board, while giving the other students enjoyable background music for their work.

              1. 1

                When I was an undergrad, we had a few 32-bit SPARC machines that we used ask dumb X servers. They had floppy disk drives with no eject button and a power button where people expected the eject button to be. The only way to eject the floppy was to log in as root and run eject. For extra fun, they took ages to boot, so someone who hit the power button thinking it was eject had to wait five minutes and find someone with root access who could log into the machine and eject the disk for them.

              1. 4

                Hacking on my NIH cgit replacement in Go. cgit is woefully out of date—and I really don’t like the kind of HTML it spews (tables everywhere, not responsive). I’ve got nearly all the views done: repo listing, file tree, log, refs and commit diffs, the only thing left is to clean up the templates and write the CSS (all of which is customizable). I’m pretty excited about how well this is turning out.

                Some progress screenshots here: https://h.icyphox.sh/u/icy/h/G1CX461PXy1tcS6tZx

                1. 1

                  funny, I’m working on my stagit (static git page generator) replacement :D

                1. 4

                  Visiting Warsaw, 🇵🇱 to see Coldplay for the first time. Worked out roughly about the same cost for travel & concert as seeing them in the UK, and I get to come back to Poland for the first time in a couple of years. Also looking forward to spending an afternoon in Piw Paw (Beer Heaven).

                  1. 2

                    This reminds me of the story about London student, who moved to Gdańsk and was taking plane for lectures, because that was cheaper than living in London xD. Hope you will have great time! :D

                    1. 4

                      That doesn’t surprise me in the slightest! I recall hearing the EasyJet CEO say living in Spain a few years ago and commuting to London was cheaper than living near London. Also planes were on time more often.

                  1. 4

                    Mainly building my indoor hydroponics setup. I got sick of the store running out of basil and other herbs, so I figured I should learn how to grow stuff hydroponically.

                    1. 1

                      Do you have any good resources on that topic to share?

                      1. 2

                        Sure!

                        I’m a complete newbie when it comes to gardening, so I’m mostly learning as I go. My setup was entirely sourced from Amazon / Lowes.

                    1. 12

                      I’m trying a new side-project strategy: Getting up early, and working on them in the hour or so before my first morning meeting at work. The goal is to give me reason to go to bed, and to not stay up super late with side projects, as the sleep disruption has been getting to me.

                      For now, I’m working on a very basic Vector Art program designed for one thing: making it easy to build polylines and polygons for use in Love2D, and exposing Fennel (and eventually Lua) codegen to make it easy to import into Love2D projects.

                      So far, I’m still getting my feet wet with Fennel, but I’ve become charmed by paren syntax, especially in Janet, and Fennel is close enough, and a far sight easier to web-deploy (which matters to me a fair bit).

                      Once I get Vectron into a half-decent state, I’ll show it off here, but it’s not there yet.

                      1. 1

                        Exactly the same strategy is my new year’s resolution, but it’s not going well for me :D

                        1. 1

                          Yeah, we’ll see how well it lasts, especially given that I have ADHD, but I’m trying to weaponize the “work on fun/shiny things” in this case. I seem to have an endless barrage of ideas to work on, but have had a hard time actually working on them consistently, because I tend to burn out of a project when I work on it at nights, and it turns into a Bad Time because of how much sleep it costs me.

                          If it continues to go well, you’ll be hearing from me about Vectron next week, and the week after that and so on, if not, feel free to remind me later for a post mortem.

                      1. 3

                        My new battlestation: a maxxed out Dell Precision 3650 and my trusty Vortex Vibe keyboard https://cdn.masto.host/fedi9tilde/media_attachments/files/107/428/915/557/590/187/original/9d53a1db069eccbf.jpeg

                        1. 2

                          That’s a nice wallpaper, do you have a link to it?

                          1. 1

                            I would love to have balcony with that much light in my home office :D How do you like “crafting interpreters”?

                          1. 2

                            idk, what should I be doing? :)

                            1. 3

                              I’m planning to start a little side business, first thing will be to write a little online shop. I decided to go with haskell + scotty. I know that correct business decision will be to use some existing shop solution, but to keep me interested in this project i need to write it by myself :D

                              Also I need to finally finish setup of my self hosted email server + decide on cli client for this and customize it. Recent email threads motivated me to do this.

                              1. 2

                                Out of curiosity, may I ask what the business is?

                                Also, what are you using for email? I’ve self-hosted email for a couple years now and IMO it’s a great move.

                                1. 2

                                  I plan to start a little shop with custom mechanical keyboards, but its far from done :D

                                  When it comes to email - postfix

                              1. 8

                                We’re in the process of transferring the of leadership for KISS Linux to the community-elected Benevolent Dictator For Now. The old BDFL, Dylan Araps (@dyl) had vanished without a trace ~4 months ago, and despite our attempts to reach out to him we were unable to ascertain what could have happened. When February arrived and the old website’s domain expired, the community decided it was time to move on, and we began the process of getting control of KISS’s infra (GitHub, freenode org, website, etc). All that’s left right now(?) is buying the old domain back when it goes up for auction in March.

                                1. 2

                                  Damn, remember him from r/unixporn, hope he’s good.

                                  1. 2

                                    Reminds me of Void Linux and the situation with Juan RP.

                                  1. 3

                                    Just bought SSD which I want to put into my librebooted X200, it will be my 3rd attempt to install OpenBSD on this machine, but i guess libreboot doesn’t like it.

                                    1. 1
                                      • Ends of vacations, so going back to work: goodbye sun :’(
                                      • Starting to work again on requestz (Zig HTTP client): I want to finish the interface for request/response streaming.
                                      • Buying a car, and then looking to buy a smol house in the countryside
                                      1. 1

                                        Buying a car, and then looking to buy a smol house in the countryside

                                        mondays, right? damn, I wish my todo lists look like that :P

                                        1. 2

                                          Ahah, actually it took me time ! It was in the back of my head for 2/3 years but with all the bloody lockdowns in my country I just could’nt stand being in a city with all these restrictions; I take the opportunity and see where it leads :)

                                      1. 1

                                        For me it feels like a hack to give yourself permit for bad behavior.

                                        1. 6

                                          A quite interesting idea. I find it quite aesthetically pleasing that this whole 3x3 block of keys gets used with AltGr now. Personally I have no issue with AltGr+{n,l,o} as my keyboard (Planck) has its AltGr in a very comfortable place but I know some keyboards—especially in laptops—have it MUCH worse and I struggle with entering Ł or Ń when I need to work with them.

                                          1. 2

                                            I am also Planck user and what I have done is to make space key behave like AltGr on hold while still working as space on tap. It makes working with Polish text much nicer.

                                            1. 1

                                              Can you share where do you have your AltGr key? :D I just bought Planck and I set it in place where left arrow is in default layer, but it’s not ideal for me.

                                              1. 1

                                                Two keys to the right of the spacebar, so probably the same place as you now.

                                                In general you can find my config here: https://github.com/vifon/qmk_firmware/blob/personal/keyboards/planck/keymaps/vifon/keymap.c

                                                Feel free to snatch some ideas.

                                            1. 3

                                              Opening up my old T430 to figure out why it constantly beeps on boot. I’ve tried re-seating the RAM and even replacing it, but nada! nothing worked. If anyone has had any experience with this before and could guide me about it, that would be pretty helpful!

                                              1. 2

                                                Maybe this list of beep codes could help you isolate the problem: https://www.thinkwiki.org/wiki/Error_Codes_and_Beep_Codes

                                                1. 1

                                                  Very helpful! Thanks a lot.

                                                  Hm, according to the list, it says that the laptop’s motherboard is dead. What I find amusing is that while I hear a continuous beep, I can also see the laptop’s boot-up screen; which kind of means that the motherboard isn’t really dead. I think the only way to find out is to reseat all of the laptop’s internals and see where it takes me.

                                                  1. 2

                                                    Can you test the voltage on the bios battery while it’s open?

                                                      1. 1

                                                        Unfortunately I don’t have a multimeter with me. Could a bios battery failure be the cause for “Unable to detect boot disk”? If so, then I can try getting a replacement battery for this.

                                                        1. 2

                                                          I wouldn’t be surprised! And it’s a very cheap battery available everywhere.

                                                          1. 1

                                                            Alright, I’ll try that as well and let you know how it goes. Thanks a lot for the help!

                                                  2. 1

                                                    I have x200, it beeps on low battery, maybe you have some issue with power measurements during boot? I guess you can turn off beeping on low battery in BIOS.

                                                    1. 1

                                                      Could be, although the thing is that you could run this laptop without a battery—by directly connecting it to a power source—and it still keeps beeping constantly. I doubt some connector inside the laptop has run loose.

                                                  1. 8

                                                    Working out whether or not to quit my job and start hacking on small software businesses.

                                                    pros:

                                                    • i have enough savings to not have any income for at least six months
                                                    • i can fall back to part time remote contracting
                                                    • i can finally spend time with my partner who works nights
                                                    • constantly stressed and anxious in my current job

                                                    cons:

                                                    • leaving behind 3/4ths of a potentially very lucrative options package
                                                    • it might take me a very long time before i equalise income with where i am now
                                                    • there is a lot of opportunity for growth where i am now
                                                    • it’s objectively the best job i’ve had
                                                    • i’m wondering whether this is just due to SAD and i might regret this in a few months when i’m feeling better

                                                    I’ve been wanting to do this for so long, but it’s a big leap to make, especially without having established a viable business on the side before making the leap. I’m also seriously concerned about regretting this and being bitter down the line.

                                                    1. 8

                                                      Maybe ask if working part-time in current job is an option, and try to hack something without quitting.

                                                      1. 5

                                                        Before you quit your job, I recommend checking out Growing Gills, by Jessica Abel. It might give you a tool set to start the side business before you quit your day job.

                                                        Also, is the anxiety internal or external? Is it related to deadlines/your boss etc? Or is it hard to pin down, or internal? If it’s internal, it might be worth looking into counseling, since going solo won’t fix that.

                                                        1. 2

                                                          Can I have your old job? Sounds great :) I really think you should stay, for what it’s worth.

                                                          1. 2

                                                            I suggest don’t quit. Work on modifying the current work conditions.

                                                            1. 2

                                                              Ouch. FWIW I’ve told my boss at the company that there’s a good chance of mms leaving (back to freelancing) due to some potential family developments. And a day doesn’t go by without questioning of I should do it or not.

                                                              But I’ve been here before: did I leave a really great job to something I’m not certain is good for me. And i know it’ll end up well no matter what. We’re lucky to be in well paid line of work and can risk things - even with less then 6 months worth of stash and with kids.

                                                              What I’m trying to say is that you shouldn’t worry, whichever you choose it’ll most likely turn out just fine.

                                                              1. 2

                                                                6 months seems like a very short runway, I’ll have to make the go/no go decision for putting your project aside with enough time to find and start a job, then make it to the first payday. If you plan on at least 2 months for that process, and another 2 months buffer in case something goes wrong and you have to start over, then you have two months to make that business bring in enough income to sustain yourself.

                                                                I’d recommend a) reading around the FIRE community for a little while to get a sense for sustaining yourself on investments and safe withdraw rates. Then b) reading about how long it usually takes for a small software business to start generating enough income to cover your expenses. From there you need to get a larger than b with enough of a buffer in case something goes wrong, say like the stock markets dropping 5% in two days.

                                                                edit: also really dig into what’s wrong with your current job, and talk to your boss about fixing it. They’d probably rather smooth things out than have to replace you.

                                                              1. 1

                                                                I’m not familiar with books mentioned in the article, but personally I find http://learnyouahaskell.com easy and funny to use.

                                                                1. 1

                                                                  mcksp.com - static jekyll website with custom theme.

                                                                  I have to finally produce some new posts :)