Lurker News
What 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

Zhyl5 replies#
Weirdly, perl. I found myself on a client site in a locked down environment with only the Windows version of GIT installed. Powershell disabled, no other programs allowed. I had to produce reports on the log files for this machine, but had to obfuscate information before taking it off the server.

I discovered that git had bash installed quite early on, so my initial automation and reporting was based on UNIX pipelines. As the data volumes became bigger and the customer requirements became more demanding, I eventually bit the bullet and started learning perl one-liners to do some gymnastics that just weren't possible or practical with just bash (first big win was adding the MD5 of the line so that I could dedupe the obfuscated data).
This lead to eventually writing full scripts in perl and now I have basically all of my reporting automated, even able to take up some 'value add' reporting that I didn't think was going to be possible.
So yeah, not a new technology but I'm now a perl convert and will almost certainly use it in the future if I'm faced with a similar situation.

elorm1 reply#
Hey, there’s an old school community(they prefer monastery) called PerlMonks[0]where you can share your Perl oneliners and also pick up some mind blowing stuff. Come hang around sometime

[0]https://perlmonks.org/

collyw1 reply#
Worth noting that PerlMonks functions similarly to stack overflow (for Perl at least), with the difference that discussion is actually encouraged.
eitland8 replies#
Somebody should pick up that idea and create a site like stack overflow but that doesn't discourage discusssion or reward destroying useful knowledge.

Continue this thread — 8 replies

gronne2 replies#
Im curious to what tasks you felt you could not solve in bash incl. the nix toolchain?
Zhyl1 reply#
Many of my issues will be specific to the environment. The thing that made me use the first perl one-liners is because I was used to using 'rename' in the command line and I was able to emulate this with perl more easily (using a regex substitution) than 'mv'.

The second and more pivotal one liner was when I needed to create a primary key to ensure I wasn't getting any dupes later down the pipeline (a requirement that came about as some of the other contractors on the project were messing with my exports and then blaming my files for their conflicting numbers). My first approach was to use the MD5 tool included in GIT bash, but this was prohibitively slow, taking 45 mins to loop through each line of a 4mb file. Not sure if there was a performance penalty on the box I was using, but the perl one liner did the job in a couple of seconds for all the files I had.
After that it mostly became a question of maintainability, with the performance being a boosting factor. I found my perl deduping one liner was faster than either 'sort -u' or 'sort | uniq'. I was able to add new features and account for weird issues more easily. Regex was better than sed, syntax was more flexible than awk, there were more filtering options than grep.
Plus it was good fun. Perl has so many things that just feel so nice and tidy compared to bash.
Having said that, I still use Unix pipelines extensively, they just tend to be for ad hoc queries rather than for my automated reports.

gronne#
All right - thanks for the elaboration. The perfomance diff sounds interesting. I might check it out at some point :)
zdw1 reply#
perl has a less divergent set of options across different unix versions - for example, trying to run `sed` in place across MacOS and Linux you'll soon find that the options are different. There are similar issues with BSD vs GNU options in other programs as well.

There's an old quip that "perl is portable sed" - in my experience this is pretty true.

Ultimatt#
Yeah this is actually a major reason everyone should at least know or use some perl. macOS is a popular dev environment but the quirky macOS/BSD versions of grep and sed are super annoying for portable build scripts.
tmaly3 replies#
My team has used Perl successfully for 13 years. We use modern Perl and the code is clean. In the process of switching new team members to Python as it is hard to hire people with Perl. I still think the meta capability in Perl is stronger than Python.
lucb1e#
I'm a security guy but like to develop as well. I'd apply for a job in Perl any day, despite not knowing it very well and Python being my main language. But I guess it's easy to say when I just read that you're having trouble hiring, as my expectations of entry requirements are now different. Anyway, it's a shame you have to make such a big change for what shouldn't be a big deal. The language is a tool -- I've even written C# in Visual Studio on Windows 8 for a year in two different companies, which is about as Microsoft-oriented as you can get (I'd rather use something Linux-based). Unless there are major deficiencies and the team is looking to move away already, it shouldn't be a problem to adapt to the team's standards.
yellowapple1 reply#
Meanwhile, I had a hard time finding (or getting) a Perl programming job (though I resisted coming to the Bay Area for a long time, so that was likely a significant factor). I've had to settle with other languages (mostly Ruby, Elixir, and now Python professionally, though I did sneak a bit of Perl into the Ruby one ;) ).

Where are y'all based? I'm reasonably happy with my current job, but I'm definitely curious about what else is out there (especially if it's not in the Bay Area).

C1sc0cat1 reply#
You haven't tried training them ?
tmaly#
That is what I do now. But I find it easier to migrate older code to Python.
catacombs3 replies#
In this day and age, with Python and all, is Perl still worth learning?
Zhyl1 reply#
It's worth getting a few insights into what it does well. As with any language it _can_ do anything, but a few key features that made it stand out for me:

* Perl is set up for really terse one-liners. You can basically emulate or surpass most Unix tools with only a cursory knowledge of the syntax
* Perl syntax is highly geared towards text processing and regular expressions. File handling and regexes are so much quicker and easier to use than Python.
If I were in a situation where I had a bunch of files I needed to process and the task didn't easily fall into something that could be done with a bash command, I'd probably reach for perl over python for a quick and dirty disposable script.

catacombs3 replies#
> * Perl is set up for really terse one-liners. You can basically emulate or surpass most Unix tools with only a cursory knowledge of the syntax

This definitely interests me. How does perl surpass Unix tools? I guess perl has the benefit of handling the equivalent of sed and awk.

Continue this thread — 3 replies

marcosdumay#
People keep saying Perl6 is great, and I have no reason to think it's any worse than Python (but I don't know it).

One may also want to learn Perl5 for dealing with legacy stuff (either keeping or getting rid of it). There is a lot of it out there.

kamaal#
Yes, if you don't want to be forced to write exception handling and doing a dozen different tricks for merely writing and using one single regular expression.

A lot of forced indentation and absence of braces, and absence of sigils makes it harder to read Python scripts. However that's not the only problem with Python. If you are scripting you want the regular `unix_command` command thingy to work fine. More-so you want to read the output of that thing using a syntax like my @command_output = `unix_command`;
You also want heredocs. And you want multiline anonymous functions. I could go on and on.
But Python seems to be more like a tool trying to compete with Java than Perl.

singingfish#
perl is a fine language. It scales quite well from terse one liners to large (and with appropriate application of discipline, readable) applications. It's a shame it's so unfashionable at the moment.
dsiegel227510 replies#
Machine Learning.

In 2018 I went from "zero to sixty", so to speak. At the beginning of the year I knew nothing about ML, and my math skills had gotten so rusty I couldn't even remember how to do simple derivatives or multiply two matrices.
In the first half of 2018 I relearned the college math that I had forgotten by working through MIT OCW's Linear Algebra, Calculus, and Probability courses.
In the Fall, I enrolled in Carnegie Mellon's 10-601 course, graduate "Introduction to Machine Learning". It was hard, it was a ton of work, but I did well and it was completely worth it as I now have a solid understanding of the basics of the field and can continue studying this upcoming year and into the future.

p2detar3 replies#
Thanks a lot for the MIT OCW lectures hint! I want to do the same in 2019. What works for me in general is diving into a side project and learning by hacking, but I fear ML won't be susceptible to this approach.
anotheryou1 reply#
fast.ai looks promising for just that
p2detar1 reply#
Looks pretty cool! Thank you.

Continue this thread — 1 reply

Drdrdrq#
I also learn by doing, and it works with ML too (dived into it last year, though I'm currently not doing it anymore). Find a project and jump... Happy learning!
pvarangot#
The Linear Algebra OCW is great if you do all the exercise and read the book as you study. For Calculus it's not so great, though the ODE course is fine.

This kind of courses from UPenn are really good if you need to refresh single variable, though I did an older version were all the courses were given together than I can't find in the current Coursera: https://www.coursera.org/learn/single-variable-calculus

dominotw#
curious, what you are planning to do with the new knowledge
hekillno3 replies#
can non-CMU student learn that class online?
senorsmile#
I would like to know the same.
dsiegel2275#
No, that specific class isn't available to non CMU students or staff (of which I am the latter).

There are several CMU courses, however, where the full collection of lectures are available to watch on YouTube. The Fall 2017 offering of Mathematics for Machine Learning lectures are all on YouTube.

mrfusion1 reply#
Where did you get that kind of motivation? Sounds almost super natural.
dsiegel22751 reply#
It isn't supernatural, trust me. Very simply: I set a goal, understood what prerequisites I needed to fill, and just worked hard to get there. I put in about 5 - 10 hours a week in the first half of the year working through the OCW courses, then probably 10-15 hours a week during the CMU class. I work fulltime as a software engineer, so my 'class' time was usually a couple hours a night, after the wife and kids go to bed.
bruhbruhbruh1 reply#
I struggle to focus after a full day of work and other tasks. I especially struggle to focus on technical work, and learning new things is difficult. How do you have the energy to sit down for another few hours of technical work after a full day of work?

Continue this thread — 1 reply

masteruvpuppetz1 reply#
That's amazing :) What do you plan on using ML knowledge? Like does having this skill have a market (for non-PhDs)?
petrbela#
Applied ML is one of the hottest CS jobs these days :-) From startups to big cos, everyone's looking for data scientists.
gcb05 replies#
> derivatives or multiply two matrices

> college math
Those should be high school on most places

Continue this thread — 5 replies

Continue this thread — 4 more replies

parmesan2 replies#
Nothing. Strangely enough, I can't think of anything new techy that I learned this year.

I've worked full time remote in mobile and machine learning the last 3 years, but this year is special. This year has required me to set my own motivations and goals aside to really be there for my 18 months old daughter, and for my wife. At first I tried to resist and focus on both my family and my career, but I found it hard to be my best self for them.
I took a step back from the stress and greed. I learned that I need to keep my career out of my head when I'm caring for my daughter. I'm more motivated than ever to do some cool projects in 2019. And I've learned that I need to maintain a mental balance between work/passion/me and my family.
Towards new beginnings, and growing as a person.. :)

Continue this thread — 2 replies

Dowwie17 replies#
Rust! :)

I've been working full time with Rust this year for web development using postgres. The language and ecosystem have largely been sufficient for creating a robust platform. I have been working with the latest version of stable Rust all year and have never experienced breaking changes. Working with futures was unnecessarily difficult. Async/await is releasing next year, hopefully in Q1. This will simplify future asyncio development and make it much more legible, but regretfully trivializes hard work of the past. Aside from asyncio, though, my work doesn't seem vulnerable to future language improvements.
I strongly recommend anyone who is waiting for the right time to jump in, to not hesitate any further. By the time you have a handle on the language, the new and improved asyncio will be at your disposal in the stable version of the compiler.

Continue this thread — 17 replies

Load more comments