Ask HN: What technologies did you learn in 2018?
629 pointsWhat technologies have you invested time in learning that you are going to keep using/experimenting/learning about in the next year?
I'm a professional Android engineer, and as for me: I learned Kotlin and use it at work every day, and so far I like it a lot. I also learned a little bit of iOS development with Swift. I also experimented with Flutter developing non-trivial "Hello world" apps, and I feel that it reduces a lot of friction that a lot of native mobile developers encounter.
What's your favorite tech in 2018?
Comments (601) 304 threads
Earlier comments1. Docker. I resisted learning it for the longest time because of the stories about its unreliability in production (just do a hacker news search) and the constantly shifting APIs. But once I built and gave collaborators a few containers I realized it is a very complete toolkit for getting code to run reliably anywhere. Since research code is often a mishmash of Octave, Python, Pearl, Julia, and crufty C++, and anywhere often includes ancient government laptops, running anywhere is a real pain point. Docker’s complete configuration language, command line tools, and collection of minimal base images together make it feel like a big step forward compared to VMs for my use cases. And it will probably buy my team another 10 years of using scruffy code bases without doing a clean modern rewrite (for better or for worse).
2. Scikit-learn. Although there haven’t been any machine learning breakthroughs in my field (power systems), it was time for me to learn what all this ML hullabaloo is about. I found it really easy to use scikit-learn to build some simple models for load forecasting, and I appreciate the library’s clean and pythonic APIs. It’s also nice how complete the library is—if there’s a model you’ve heard about it’ll probably be in there and well-documented.
Things I tried and won’t end up using:
1. VSCode. It’s great, but it wasn’t a big enough improvement over Sublime for me to make the switch. I also am more of a minimalist, and VSCode wants you to use a generous set of panes/terminals/wizards.
2. Serverless (AWS Lambda, zeit.co). One of these days I suspect the interface to a cluster will be as clean as the Unix interface to the single machine, but for scientific computing I’m finding it easier to stick with older methods (single machines, occassionally a cluster built by hand).
Are you with a utility, University, national lab, or contractor?
Continue this thread — 2 replies
I decided to pick up Python and learned some Flask & Django while I was at it. Really liking it. I also took some machine learning courses and wrote an image recognition app w Pytorch. I started & finished two Udacity nanodegrees to help keep me on task with learning these tools.
I worked for a while on a cloud infrastructure team and enjoyed learning a decent bit of Go, AWS & Terraform. Also touched on Docker, K8s & that whole ridiculous devops ecosystem.
Lastly, for the first time in my career, I worked solely in Linux (used to work solely in Windows). Never going back to Windows!
Scala still on my mind though. Kotlin too.
I started 3d printing a ring with an embedded (existing) chip for 2FA.
Next I played with Rpi, usual tutorials with buttons + led. I picked up Android Things, and started building a led matrix controller.
However Android Things was too slow to directly control the matrix, thus I started playing with a STM micro controller (blue pill).
In parallel, I started working on Solo keys (https://solokeys.com), where I didn't build the hardware myself, but all the experience I gain was very helpful to keep up.
Next year will likely be more Rust and porting Solo to different platform, for example Arduino. Maybe I'll try to make my first schematic and manufacture it, we'll see how it goes (I have access to a good teacher :).
As far as the language itself goes, I have tried Rust, Nim, Go, and D, and I find crystal vastly preferable to all of them, probably because I have a ruby and C/C++ background. I just wish windows support and parallelism would get finished already as I have some cross-platform desktop app aspirations that I would love to fulfill in crystal rather than something horrible and ugly like Electron/node.
I am also working on a crystal-like language (with a crystal-based LALR(1) compiler) called Nojs (or just No) that compiles to javascript and has restrictions that make static analysis easy enough that you can include exactly the code needed and nothing more (e.g. don't include unreachable code) for whatever web page you are on, instead of importing entire libraries everywhere. This is really great because the dynamic nature of js normally makes this impossible as it is impossible to tell whether you are about to eval something into existence, etc, or call a method based directly off the value of a string... I am also using crystal-style require statements as I am not a fan of Node.js's module setup -- I'd rather have a global namespace to pollute and monkey-patch when I want to, with the option of using modules like in crystal/ruby, and the ability to require anywhere and have it literally import the required code at that point in the file. I don't have it on a public github yet but stay tuned.
Do you use any frameworks with Crystal or has it mostly been vanilla stuff? How would you gauge the maturity of the dev environment?
Continue this thread — 1 reply
Continue this thread — 1 reply
I faced it myself. It took me a year to being able to write a simple snippet (e.g. reverse UTF8 string) without getting compile-time errors. Now I'm a bit less productive then in C# with writing the code, but I'm much more confident about it.
All comments shown.
Couldn't load more comments. Check your connection and try again.