Live data from Hacker News

Ask HN: What technologies did you learn in 2018?

news.ycombinator.com

531–540 of 620 posts

Re: Ask HN: What technologies did you learn in 2018?

#531
post #385

Earlier quoted context omitted.

Have you tried writing a doubly linked list? https://rcoh.me/posts/rust-linked-list-basically-impossible/

1. Do you often try to implement data structures like this? In my practice, arrays are almost always better. 2. Beside that, you may argue that I use "Don't have therefore is not required" argument. But it contained partial truth: if you fight Rust program model then you have to do some extra steps to achieve it. Rust borrowing model considers one owner who can share its data among consumers. And this is damn common…

To answer your first question:

> 1. Do you often try to implement data structures like this?

Any self-referential data-structure has this problem. So I guess my answer would be "yes".

Re: Ask HN: What technologies did you learn in 2018?

#532
I learned Spring MVC. Interesting framework for back end web development. It was hard at first to use Spring, coming from Django which is a lot easier to start using, however I prefer it in a lot of ways to Django. The controllers are pretty intuitive to make and I much prefer them to views in Django, and the actual database querying and using while at first is a lot harder than Django, it makes a lot more sense after getting over the initial hump. Static files are also very simple to setup and use.

If only there could be Spring for python, because Java is very painful to program in.

Re: Ask HN: What technologies did you learn in 2018?

#533

I learned Spring MVC. Interesting framework for back end web development. It was hard at first to use Spring, coming from Django which is a lot easier to start using, however I prefer it in a lot of ways to Django. The controllers are pretty intuitive to make and I much prefer them to views in Django, and the actual database querying and using while at first is a lot harder than Django, it makes a lot more sense afte…

Take a look at kotlin. Fully supported by spring. Writes like a scripting lang but has type safety better than Java.

Re: Ask HN: What technologies did you learn in 2018?

#534
post #529
post #468

Earlier quoted context omitted.

"after many years of working primarily with Java & Spring in large "enterprise" systems": thought you would choose Scala next :-)

Solid prediction. I've been THIS close to learning Scala a few times. I did pick up some Groovy/Grails a couple years ago and decided, while familiar & powerful, I'd try to venture outside of the JVM next. Scala still on my mind though. Kotlin too.

I’ve been all aboard the Kotlin train for a couple years now. Absolutely love it.

Re: Ask HN: What technologies did you learn in 2018?

#535
post #436

Earlier quoted context omitted.

Yeah, it has equivalents for each. Sed: perl -pe 's/foo/bar/' file1 Grep: perl -pe '/foo/' file1 uniq: perl -ne 'print unless $seen{$_}++' file1 But then you can combine conditions: perl -ne 's/foo/bar/ if /baz/ && /yot/; print "Line number $. changed to $_"' file1 And do some awk-ish line splitting: perl -F, -ane '$sum += $F[2]; END{ print "The sum of column 3 is $sum" }' file1 It absolutely flies in the face of the…

This blew my mind recently, when I had to delete millions of files in a directory and rm didn't make the cut (too many arguments), and find -delete took forever: https://unix.stackexchange.com/a/79656 perl -e 'for( ){((stat)[9] seems to be the fastest possible way to delete enormous amounts of files

Did you try xargs, to do groups of files at once? That's what I usually do:

  find -type f -print0 | xargs -0 rm

Re: Ask HN: What technologies did you learn in 2018?

#536
post #52

Earlier quoted context omitted.

How do you feel about the productivity for web development in Rust?

My priorities are unique to my situation, so a responsible answer to your question is "it depends on what you're trying to do". I am trying to create a scalable platform. Without having best practices to learn from, I had to discover what that required while trying to make the most of Rust. The discovery process involves many iterations of trying approaches out until a decent one emerges. On the other hand, once I la…

Do you have an example of where you’ve found writing raw SQL queries was more efficient in both time spent programming and time spent executing the query?

I built an API in Python and SQLALchemy. Originally, it was built in Flask and Flask-SQLALchemy, but I eventually decided to migrate it to Falcon + SQLService and saw greatly improved response times from my API (hosted on AWS Lambda). Am I likely to see as significant improvements from a switch to Rust + raw SQL queries?

I am kindly looking for a reason to learn Rust. :) With the recent improvements to AWS Lambda, a Rust run-time is a reality and I am open to migrating the project once again for any additional speed improvements.

Re: Ask HN: What technologies did you learn in 2018?

#537

Earlier quoted context omitted.

Mostly focused on distribution engineering analysis: distributed generation interconnection, energy storage dispatch, demand response planning. Hoping to do more transmission analysis in the future but for now work mostly with distribution utilities.

Interesting. I'm working a bit with energy storage modeling on the transmission side and am familiar with the other topics you mentioned although everything is 10x harder with distribution as the load flows are unbalanced as I understand it. Transmission systems are gargantuan, but at least you can assume steady-state in most cases. Are you with a utility, University, national lab, or contractor?

Cool! It’s a very fun time for energy storage work.

I’m part of a utility group but I mostly work with DOE and the national labs.

The unbalanced phasing in distribution can make solving powerflow harder, but the big problem we face is data quality and volume in the circuit models—one substation and its feeders typically have over 10k circuit components. The detail is needed since the model is used for outages, work orders, and engineering planning. On the plus side, at least the data security issues are way less severe than transmission models.

Re: Ask HN: What technologies did you learn in 2018?

#538

Earlier quoted context omitted.

Impressive. And I say that as an experienced embedded guy.

Thank you! Means a ton to me as I occasionally feel like a pretender(with my chem engineering degree). I have tried applying to Embedded jobs but I cannot get past HR. Guess I'm sticking with Electrical Engineering for a little longer.

I would send this video to people who work at Embedded focused companies you're interested in working at, especially team leads, find them on LinkedIn and message them, worse that happens is they ignore you, you lose absolutely nothing as a result though!

The best way to get past HR is to go around them and straight to the team lead if and when possible. I wouldn't have my current job as a Software Engineer if I had to go through HR first.

I would also definitely put this in your resume.

Re: Ask HN: What technologies did you learn in 2018?

#539
post #82
post #8

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 pipeline…

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.

You haven't tried training them ?

Re: Ask HN: What technologies did you learn in 2018?

#540

Earlier quoted context omitted.

I implore you to start a company if you're at all interested in working on this further. Seriously, please consider productizing it. I would pay thousands of dollars for a polished version of this in my home, especially if it matched the style and decor of my dining room furniture.

Thanks for the encouragement! Making big decisions over the next 1 month as I have 3 major projects. My (already popular) website, this dishwasher, and my finance app. Did mention this thread to my co-engineer, I'm pretty sure he is going to make this a reality. The biggest question regarding the dishwasher is- Do we go luxury and expensive since plumbing is already a multi thousand dollar requirement? Or, should we…

Go luxury, your clients will want high quality and integration with other IoT systems, leaning to your company growing as a luxury brand. Go do-it-yourself and you'll be piddling with too many small dollar problems to get ahead.
Post reply on HN