• 2 Posts
  • 112 Comments
Joined 27 天前
cake
Cake day: 2024年6月4日

help-circle


  • I should be more clear: specifically I was rebuilding a Docker image based on Debian and needed Node.js for one build step, then Ruby for another as well as the final image.

    In the Dockerfile there were a ton of weird commands for simply installing Node.js and Ruby whereas on Alpine Linux I could simply install the needed versions from apk. I understand it’s preferable to build these from scratch but in the case of Node.js I was looking to simply compile a bunch of assets then throw away the layer.

    I could’ve spent a bunch of time figuring it out for Debian but I wanted a smaller image in the end anyway too.







  • I do! I am self-taught but now have a great career going in it. My only complaint is that once you start requiring very specific gems, you’ll find a bunch of unmaintained stuff. Ruby was hyped up a lot in the beginning, kind of declined during the Node.js fad but is becoming a lot more stable and continues to show a ton of progress.

    These days if you want to get your foot in the door you can find work upgrading Rails versions as a lot of companies seemed to have released apps a long time ago then lost track of time.

    Realizing most of this sounds pretty negative but it’s a beautiful language that I love working in every day. The language is so flexible/usable that outsiders complain that it can encourage bad habits simply by being so maleable — my recommendation is to really know the difference between plain Ruby and Ruby on Rails.












  • What gets me is people migrating from VMs treating it like an entire host machine.

    There is a lack of knowledge among developers regarding precompiling assets and classes (if interpreted), and people are trying to do too much in startup scripts.

    Another thing I hate is wrapping the entire process in a script because people want to kill the main process without restarting the container. Yikes!