Category: me

  • Starting Over

    So, I guess I’m starting over today.

    Not really with the blog, though. More like with the internet. My little corner of it, anyway.

    I’m fed up with social (or should I say so-shul?) media, and all those algorithms sprawling all over it, constantly feeding everyone (myself included) content that someone thinks we’ll find interesting, just to keep us on their platforms so we can make them some money.

    Thanks, but no thanks.

    The first time I encountered the actual internet was in 1994, as a first-year high school student, at the public library in Dunakeszi, Hungary.

    (more…)
  • Chairs

    Chairs. I have been working from home mainly for the past 3–4 years, so having a decent home office setup has always been important to me.

    I have a nice adjustable desk. I ordered the base from autonomous.ai, but the tabletop is a 200 cm long IKEA Linnmon tabletop, because my wife and I work together a lot.

    The chair I had been using for a long time was an IKEA Flintan chair. I bought it used from my old workplace for something like 15 euros. Bargain.

    I used it for a long time, but as the chair got older, the seat was no longer the best. It became less soft over time, so I decided to change it.

    I went to IKEA and bought a chair named Järvfjället. The strength of the mechanism was not adjustable, so after two days, I decided to bring it back to the store because my back had started to hurt. I got a different chair, named Markus. It was quite good for a while, but I noticed that my neck started to hurt in it, so after about six months, I gave it to my nephew and brought back my old Flintan chair.

    I used it again for several months, but it became less good again, so yesterday I made my decision and went to IKEA and bought a brand-new Flintan chair.

    I put it together yesterday and started to use it. It was comfortable to sit on, but it was not good to lean back in. The spring in it was much stronger than in the old one, and they changed the mechanism—the spring is not adjustable anymore.

    I made my decision, and I decided to swap the mechanism of my old Flintan chair with the new one… but I am not able to do it, because they redesigned the entire chair. All the screws are in different places, so I can’t do it.

    So now I have an old chair that I can’t sit on comfortably anymore, and a new one that I can’t sit on comfortably either.

    I am pretty grumpy about it. F*CK IKEA, why change something that was working well?

  • I forgot to format my Mac to case-sensitive – this way I solved it

    I have a new job, and a new computer, and I have to admit: when I moved to this machine, I was not able to resist the temptation of Catalina, so I installed the newest OSX on the laptop.

    Everything was quite nice – well, I could rant for a while about why it was important to drop 32bit compatibility, but eventually solved everything there – but there a major problem emerged: when I checked out a repo of ours, I’ve got the following message:

    $ git clone git@gwhatever.it.is:our/repo.git
    Cloning into 'repo'...
    remote: Counting objects: 20310, done.
    remote: Compressing objects: 100% (295/295), done.
    remote: Total 20310 (delta 254), reused 536 (delta 209)
    Receiving objects: 100% (20310/20310), 280.39 MiB | 2.38 MiB/s, done.
    Resolving deltas: 100% (12614/12614), done.
    Updating files: 100% (1849/1849), done.
    warning: the following paths have collided (e.g. case-sensitive paths
    on a case-insensitive filesystem) and only one from the same
    colliding group is in the working tree:
    
      'src/path/Configfile-1.0.cfg'
      'src/path/configfile-1.0.cfg'
    

    Oh gosh. I have to reformat my disk, and start everything over. Maybe I can create a Time Machine backup, and restore everything? I just don’t feel like it.

    Some people tend to have the same mistakes again and again, and it seems I am one of those, but this time, I decided to fight back.

    Ok, so what can I do? I can create a new disk image, format it to case sensitive, mount it, and use it as a ‘project’ folder.

    $ hdiutil create -size 10g -fs "Case-sensitive Journaled HFS+" -type SPARSE -volname Projects ~/Projects.dmg
    $ hdiutil attach ~/Projects.dmg.sparseimage
    $ sudo setfile -a V /Volumes/Projects/
    $ killall Finder
    $ mkdir /Volumes/Projects/projects/
    $ ln -s /Volumes/Projects/projects/ ~/projects

    So let’s see what is happened here?

    • I created a new disk image with case sensitive filesystem. The type is ‘spare’ which means it will automatically grow when needed, but initially it will take only 50mb on disk.
    • I mounted the image
    • I hide it on the desktop (This volume will be always mounted, so I don’t want to see the icon of it) – for this I set the invisible attibute with setfile, and restarted Finder
    • And finally I created the projects folder inside the volume, and linked it into my home directory.

    That’s all folks. For more convenience I added the volume into my login items, so the disk image is automatically mounted when I restart my computer.

    $ git clone git@gwhatever.it.is:our/repo.git
    Cloning into 'repo'...
    remote: Counting objects: 20310, done.
    remote: Compressing objects: 100% (295/295), done.
    remote: Total 20310 (delta 254), reused 536 (delta 209)
    Receiving objects: 100% (20310/20310), 280.39 MiB | 2.38 MiB/s, done.
    Resolving deltas: 100% (12614/12614), done.
    Updating files: 100% (1849/1849), done.
    $
  • Finally I am able to work under windows – with wsl 2

    I have to admit that I was not able to work on windows ever.


    I mean I tried, but my workflow was not fit windows. I use the terminal and gnu stuff mostly, I do not use an IDE, I use vim and shell, and that is good for me.


    That means I could work with Linux… mostly. But all the time I tried, I hit walls as there were a VPN software I had problems to work with, or some video chat app, or an admin tool for eg. Netware, or simply the computer my employer-provided was not working with Linux, it’s battery drained super fast, or the touchpad did not work well, you name it. And I know that there are machines which has excellent Linux support, like the Dell’s XPS developer edition or some Lenovo machines, but I never had those. – I even had a year back in the early 2000s when I used FreeBSD as my main OS because the PCI modem I had money for wasn’t working good with Linux. (It wasn’t worked well under Windows tbh.)


    Back in 2009 I bought my first iMac, and working on that machine was awesome! Everything worked out of the box, there was no hardware which would cause any problem, and when I had to code something, I just opened my terminal and started work in an environment, which was pretty close to a Linux experience. I needed to change a few utils for their GNU replacement, but that’s all. I was able to work on my Mac as I was able to work on my Linux box – but it was way better. Hooray.


    Years passed, and my main work environment became OSX, I loved it, I had a fine Macbook Air, and everything worked as it was planned for.


    One day I bought a PC for home because I wanted to play video games, and sometimes I tried to work with that, but I was not able to, as my work environment were just not fit there. I tried everything. I tried to run Virtualbox and ssh-d into that, but I hated all the terminal emulators I’ve found. It was simply inconvenient every possible way.


    In the meantime, my love with the Mac ended – the ‘new’ series for MacBook pros with touch bar and crappy keyboards just killed the experience for me. I am still working on a Mac because that is still the best option, but the love is gone.


    When WSL was released, I tried to use it, but it wasn’t good either. I missed locally starting my daemons such as MySQL or Docker, and it was not fit to my workflow. Of course, I was able to run my services under windows, and access them from my WSL installation, but it wasn’t good. It was a bad experience. The best thing I was able to do to spin up a cloud instance and use my WSL installation to ssh into that.


    When I first hear about WSL 2.0 it sounded great to me, so I decided to try it out as early as I can. I rolled into the insider program and I installed a version which had it included and started to work with.


    So far it is good. It provides me the Linux experience from the moment I open my terminal. All my workflows and utilities behave the same was as I was used to, and it has a seamless integration to my windows desktop.
    `

  • Going back to my Macbook Air

    I started to work at my current company at 2013. In that year I got a maxed-out MacBook Air, which I loved a lot, but it became a bit storm-beaten, I poured some coffee into it (two or three times) – the first one led to a mainboard replacement, but the others were forgotten, and once my son hammered it a bit – few damages on carousel, and a broken charge connector which was repaired.

    Last year I got a new 15″ maxed-out Macbook pro, and I really didn’t like it, so I was procrastinating the switchover for a few months after the machine was on my desk – I got the machine around May, and I moved on that around October.

    And I bought my old laptop from the company because I liked it.

    I use the new machine for three months so I can articulate my opinion about the new MBP series: they’re a glorious piece of shit. The keyboard is awful – the worst one I had for years, my fingertips are hurt a lot – I have to type really strong to get the feedback, and that is painful. The machine is too big for me, it is not convenient to put it into my lap, I have to hold it there, not just put down. The touch bar is useless, but at least it is easy to accidentally touching it, which will lead to funny moments like reloading a webpage which I use, and the apps I am using not getting any advantage from it. For example, I can change my terminals color scheme, or I CAN OPEN A F*CKING MANUAL. That’s just wow. I really needed that, thanks, guys! And as a heavy vim user, I really don’t need a physical escape button for sure.  The force click touchpad is useless as well, but at least I had to learn a new way to interact finder, and I just don’t want to talk about USB-c.

    So, I decided to move back on my old MacBook Air.

     

     

  • OSX and case-sensitive file system

    I am really angry now.

    A few weeks ago, when I was finished my MySQL backend checker I lost about two hours of work because I wasn’t commit anything to git, but I overwrote the working file with one of my doodle files – which file had the same name but with camel case. I had a default APFS filesystem (on High Sierra) – which is not case sensitive. This was a real amateur mistake I admit it, but the damage was done, I had to recreate everything (actually the second time I was way faster, it took around an hour.)

    (more…)

  • I guess I am back again

    This was fun!

    I mean, I did not create any new content here for a while, and I have very good reasons about that – but tbh I was lazy, and overwhelmed with stuff to do.

    We migrated everything to AWS – so be prepared for some Amazon related posts, I changed MySQL to Aurora and my company itself changed a lot.

    In this pause time, I tried to migrate everything to Jekyll, but it wasn’t a success, then I spent the time to migrate everything to Hugo … and now I am on WordPress again. Funny.

    In the future, I plan to make the posts here a bit more diverse, not just tech stuff. We’ll see it.

     

     

  • Moving to own domain

    Hi there!

    So far I was blogging on Kinja but I’ve decided that I move my blog content to an own domain, and a WordPress blog.

    Kinja is a great place to have good posts, and good conversations but the engine is not really made for tech blogs – it is really hard to insert preformatted text such as code or console dump, but I need to do it often.

    I was moved all of my previous posts here, maybe in the future, I’ll edit them to fix the code displaying, but now I don’t feel the power for that.

    Anyways, welcome here, let’s the blogging begin.