Live data from Hacker News

Ask HN: What programming tutorial/course/article/blog would you like to see?

news.ycombinator.com

21–30 of 93 posts

Re: Ask HN: What programming tutorial/course/article/blog would you like to see?

#21
post #12

thorough explanations of FP concepts like algebraic effects, linear programming, dependent types

I wouldn't describe those as being "FP concepts" - though the more you get into FP you'll run across more "academic" CS where you will see those concepts, sure.

* "Algebraic effects" are still a research topic, they aren't a feature of any production programming language today (as far as I'm aware): https://overreacted.io/algebraic-effects-for-the-rest-of-us/ - did you mean "algebraic data-types" instead?

* "Linear-programming" refers to a class of optimization problems in mathematics and statistics, it has little to do with FP.

* True dependent-types are... complicated (and seen in theorem-provers more than in any language); when most people say "dependent-types" they often really mean just "refinement-types", and while refinement-types are a feature of many FP languages, they aren't exclusive to FP: in fact you can implement practical refinement-types in any conventionally-typed (even non-FP) language with cheap value-types and user-defined implicit conversions (like C#, C++, Swift, but not Java).

Re: Ask HN: What programming tutorial/course/article/blog would you like to see?

#22

I don't know exactly how to name it but... Something along the lines of tutorials/courses how to make code for Error Handling (front/back), Defensive Programming, Observability, Tracing, Contexts/Stores at the Airbnb/Spotify/Basecamp level. That means, instead of hello world, show the best practices and all of the things that makes those things perform well, be maintainable.

I wrote a small guide on that: https://kulikalov.com/minimal-viable-logging

Not Spotify, but I have several decently loaded projects running with this setup for years.

Re: Ask HN: What programming tutorial/course/article/blog would you like to see?

#23
post #3

I like to read articles by people who feel they have something that's important to say. If you don't know what you should to write about, then anything you write is probably going to be pretty uninspiring. Good writing comes from a place of passion and urgency, a real drive to inform people about something that the author thinks is worth reading. This might be an answer you don't like very much, but seriously, all th…

> all the best articles that I've read and shared in the past have been been things that the author would probably have felt compelled to write even if no one bothered read their work

I've felt compelled to write this question on HN. Even if I don't draw anything for me, maybe someone else will. Additionally, remembering I asked this question and didn't get inspiring answer, I might finally be compelled to write my own thing without any other questions. You never know.

And if we already do meta talk: 1. Every rule has an exception. 2. Always do most exciting thing, today it's asking a question, tomorrow it's writing an article. Rule 1 works for points 1 and 2. And also works for your impressions about best articles. :)

Re: Ask HN: What programming tutorial/course/article/blog would you like to see?

#24
I think an under-served market is "intermediate to advanced programming for people who didn't study computer science but can already write half-decent Python and maybe some SQL, JavaScript or Matlab/Julia/R".

People who are fine with control flow, git, unit tests etc, but who would be lost if you start talking about things like state machines or depth-first search.

I'm largely talking about myself here, but I've worked with dozens of colleagues in several different jobs who would also match this description.

Re: Ask HN: What programming tutorial/course/article/blog would you like to see?

#25
Earlier tonight I was making a programming challenge list for experienced programmers. These are all small tasks but the question is can you do them.

Create a

1. Mandelbrot

2. Julia set

3. Ray tracer with shading and shadows of a few simple spheres

4. A simple virtual machine

5. Rewrite the first three programs in the virtual machines assembler

6. A simple language such as Forth for the virtual machine

7. Rewrite the first three programs in your implemented language

All of these 7 tasks together will likely take under 2,000 lines of code, maybe even under 1,000.

If you know what you're doing, each one individually should take under an hour.

Doing a write-up about your experience with this would be great. Each one of these tasks has tradeoffs and can reflect personality and approach.

This is version 1.0 of this, and I just came up with it a few hours ago so I'm open to slight modifications (perhaps an extremely easy game instead of one of the fractals)

Re: Ask HN: What programming tutorial/course/article/blog would you like to see?

#26
post #9

What I would find interesting is a page which lists all steps to be performed on the command line to create a web application from scratch. Say we start with a fresh Debian install, the first line might be apt update && apt upgrade The second line might be apt install php Or Python or Node. And then the commands to create the project directory, switching to it, installing a webserver etc would follow. At some point t…

I feel like there are so many of these tutorials. The problem is that a person who wants to learn React generally does not care about Debian and something like apt update && apt install nginx.

Then depending on who's writing the tutorial, the content ranges from "create a VM and issue these commands" to gcloud commands to spawn VMs.

Usually, when a student doesn't know anything about React, they won't know anything about Debian, and the whole tutorial will go over their head. Alternatively, it will be highly shallow. Or, usually, both.

Re: Ask HN: What programming tutorial/course/article/blog would you like to see?

#27
post #3

I like to read articles by people who feel they have something that's important to say. If you don't know what you should to write about, then anything you write is probably going to be pretty uninspiring. Good writing comes from a place of passion and urgency, a real drive to inform people about something that the author thinks is worth reading. This might be an answer you don't like very much, but seriously, all th…

> all the best articles that I've read and shared in the past have been been things that the author would probably have felt compelled to write even if no one bothered read their work

I beg to differ. Might be true for the most interesting articles, but the most useful articles are day to day stuff like How to do X in Y imho.

Re: Ask HN: What programming tutorial/course/article/blog would you like to see?

#28

"How to read an error message." This would help countless people new to development. Lots of systems (I'm looking at you, Java) throw up vast splats of tracebacks. Others chunder out great chunks of poorly digested code. Sometimes daunting even for experienced people. An article with basic advice about looking for the one or two useful lines in error messages would be great.

My experience is that you learn reading Java stack traces by reading Java stack traces. There's nothing to it other than the initial stress of wall of text. Not sure about other languages though.

Re: Ask HN: What programming tutorial/course/article/blog would you like to see?

#29
post #9

What I would find interesting is a page which lists all steps to be performed on the command line to create a web application from scratch. Say we start with a fresh Debian install, the first line might be apt update && apt upgrade The second line might be apt install php Or Python or Node. And then the commands to create the project directory, switching to it, installing a webserver etc would follow. At some point t…

I feel like there are so many of these tutorials. The problem is that a person who wants to learn React generally does not care about Debian and something like apt update && apt install nginx . Then depending on who's writing the tutorial, the content ranges from "create a VM and issue these commands" to gcloud commands to spawn VMs. Usually, when a student doesn't know anything about React, they won't know anything…

The difference to the other tutorials is that this one would not have prerequisites in terms of tools and services. It would not require anything but to copy+paste lines to go along. And that the format of shell commands makes the different approaches very easily compareable. And reproducable. You can put all of the commands into a script and have your own automated template to start new projects.

A single Docker container can be used like a fast, lightweight VM. And from there on it is just copy+paste.

So on a Linux machine the process would be:

    1: docker run -v $(pwd):/var/www --rm -it -p 80:80 debian:11-slim
    2: Copy+Paste the lines
    3: Enjoy the running web app

Re: Ask HN: What programming tutorial/course/article/blog would you like to see?

#30
post #3

I like to read articles by people who feel they have something that's important to say. If you don't know what you should to write about, then anything you write is probably going to be pretty uninspiring. Good writing comes from a place of passion and urgency, a real drive to inform people about something that the author thinks is worth reading. This might be an answer you don't like very much, but seriously, all th…

I’m an individual contractor. I design and implement cloud architectures that replace entire teams of developers and charge way above the average. Yet the things I do seem so obvious to me that I can’t help but wonder why they didn’t see that obvious solution I’ve implemented. This idea continuously make me doubt if my experience is valuable enough for other engineers.

> I design and implement cloud architectures that replace entire teams of developers

I'm curious: How do you replace entire teams of devs by choosing cloud architectures? Is it because cloud architectures bring so much stuff out of the box that is otherwise implemented in a custom way by individual developers? What would be an example?

Edit: Found your blog post about it: https://kulikalov.com/how-to-make-sense-of-cloud-architectur...

Post reply on HN