I'm trying to decide whether I want my future to steer toward mobile or web development. I've completed the Codecademy JS course but feel like I need to do certain parts of it to really cement my knowledge of it. I'm also trying to build some basic apps in Xamarin.iOS since C# is my bread and butter. I feel like I might struggle with this for some time :/ Outside of development, I'm studying Farsi, getting back into…
Ask HN: What new skills are you learning?
51–60 of 120 posts
Re: Ask HN: What new skills are you learning?
#52Re: Ask HN: What new skills are you learning?
#53Re: Ask HN: What new skills are you learning?
#54I'm trying to finally give Erlang, Scheme / Racket, and JavaScript the attention they deserve in my life.
Re: Ask HN: What new skills are you learning?
#55Re: Ask HN: What new skills are you learning?
#56Re: Ask HN: What new skills are you learning?
#57I have some ambitious goals, including learning management skills and data science, and I thought it wise to bootstrap this by learning about learning.
I'm going through Coursera for this: https://www.coursera.org/learn/learning-how-to-learn/outline.
Re: Ask HN: What new skills are you learning?
#58Haskell, and functional programming at the same time. In school I wasn't properly introduced to it (learned some Lisp on paper, during half a semester, and that's it). It's quite the steep road so far, especially since I can only work on it during spare bits of time.
I'm also looking into learning Haskell and I know a very little about functional programming (I'm still in university but I think no one will ever introduce me to that), any advice on where to start?
I'd advise not getting distracted by monads and other glamorous parts of the language. Monads are pretty abstract, and they won't likely make much sense until you've written enough Haskell to feel the pain-points they address.
I've learned a lot by reading blog posts from these people:
* Aditya Bhargava: http://adit.io
* Gabriel Gonzalez: http://www.haskellforall.com/
* Joseph Abrahamson: http://jspha.com/
* kqr (I don't know this person's full name. Avatar not withstanding, I'm pretty sure kqr isn't David Bowie): https://github.com/kqr/gists
* Edward Kmett: https://www.fpcomplete.com/user/edwardk
Most of all, I advise not getting discouraged. Haskell has a lot of concepts that seem intimidating. Many times I've spent days trying to figure out what the hell a contravariant functor is, only to get really discouraged. At times I've doubted my own abilities and whether learning the language was worth it. I stuck to it, and a year and a half later I'm pretty damn capable with Haskell (and I know what a contravariant functor is!) and I'm having the time of my life learning more about it.
Re: Ask HN: What new skills are you learning?
#59React/Flux of course! Who isn't at this time?
Re: Ask HN: What new skills are you learning?
#60I've finally decided that regular expressions are not witchcraft and that I need to learn how to use them.
I spent an entire day trying to decipher how to replace spaces with tabs. Wish I had been better with regular expressions.
For your specific problem at hand, I assume you want to replace spaces with a tab character.
In Perl, you could do:
# replace four spaces with a tab, globally
$line =~ s/ /\t/g;
You can do this directly on the command line as well: perl -e 'while () { $line = $_; $line =~ s/ /\t/g; print $line; }' foo_tabs.py
I have a gist [1] which has very slightly more comments, if you prefer. To paraphrase XKCD, there are now N+1 regex explanations, and I apologize that mine is comparatively worse than all of them. :)0: http://perldoc.perl.org/perlre.html 1: https://gist.github.com/gknoy/94c382299c4543f2e863