Live data from Hacker News

Ask HN: What overlooked class of tools should a self-taught programmer look into

news.ycombinator.com

271–280 of 416 posts

Re: Ask HN: What overlooked class of tools should a self-taught programmer look into

#271
post #270

Monitoring From the beginning of my career in web development I worked in companies that had good to great monitoring capabilities in place to log and measure performance, resource usage, availability, errors, etc. in all parts of the system. so I took it as something self-evident that you would add that first thing, before deploying a new project. Only recently as I started mentoring people in other companies did I…

Can you recommend books/tools? Thanks!

Re: Ask HN: What overlooked class of tools should a self-taught programmer look into

#273

1. Profiler. There's a standard tool that tells you what part of your code is slow. Over half the time it'll find something dumb and easy to fix instead of whatever you expected. 2. SQL / relational database schemas. Persistence opens up a lot of capabilities. And databases themselves are very well-optimized; if you do any nontrivial data manipulation it's likely that whatever the query planner comes up with will be…

> Particle Filters have lower quality but are applicable to more problems and dirt simple to code.

Particle Filters have lower quality than Kalman Filters?

Re: Ask HN: What overlooked class of tools should a self-taught programmer look into

#274
tldr: redis

Hey man, I went down an eerily similar path as you. Seld taught and building a trading system. Wading thru sockets and pipes before discovering zmq and having my whole paradigm for programming completely shifted. Absolutely love zmq, and enjoy thinking of new projects to use with it.

More towards your actual question, I don't think it's as ground shifting of a discovery as zmq, but Redis has also helped me a lot with the trading bot. I use Interactive Brokers, and how their api examples are set up, I haven't figured out how to design my system using only message requests like you see in micro-service style programs. Also when requesting a price for any given contract, I don't like the idea of having to request it once I need the price and then waiting on the network for the brokerage to receive my request and then the price to come back to me. By that point the price or whatever data you're requesting can get stale depending on the speed and timefrime you're wanting to play. So what I did was just request ahead of time streaming data for contracts I'm interested in, and I write that continuously to a localhost redis server. And then whenever any of my bots need information, they check to pull the latest value from that redis server first before going out to the brokerage platform to request the data directly. Basically cuts the full round trip time in half if it can find the data locally first. I believe this is a similar programming paradigm as using redux if you have experience with that, but I've never personally used redux so don't quote me on that.

Re: Ask HN: What overlooked class of tools should a self-taught programmer look into

#275
post #261

The premise that self-taught programmers necessarily have core holes in their knowledge and skills that would have been filled if they had a CS degree is entirely false. Start with the example you gave of messaging middleware. There are many BS CS curricula that do not address this at all. Also he mentioned that he had already learned about named pipes on his own. For many applications, named pipes could be a perfect…

My experience has been quite different. True that some of the most technically skilled programmers I know of had no degree, but the polished ones, the ones I find easier to work with, tend to have one. Further it's pretty easy for me to tell if a person's degree was a CS degree or not just by talking to someone about the problems they have and how such problems might be solved with code. That's not to say it's requir…

The argument that I was making was clearly stated at the beginning of my comment. It is significantly different from the supposed argument that you seem to be refuting.

Notice how I did not say that "the developers that certain degree holders find to be most 'polished' and easiest to work with will on average not have a degree".

Notice how I also did not say that a CS degree was not worth people's time.

Re: Ask HN: What overlooked class of tools should a self-taught programmer look into

#276
post #105
post #91

Earlier quoted context omitted.

Edit: I meant Patterns of Enterprise Application Architecture by Fowler in my comment above. Recommended by DHH.

My advice would be to skip it completely. It's just packed full of standard GoF OO dogma.

Thanks. So, what you're saying it is redundant if you've read GoF?

Re: Ask HN: What overlooked class of tools should a self-taught programmer look into

#277
post #197

Earlier quoted context omitted.

Will not be a problem for much longer :) https://www.theverge.com/2019/5/6/18534687/microsoft-windows...

Hopefully Windows 11 is just a reskinned Ubuntu running all the old Windows programs through Wine.

I'll be surprised if there will ever be a Windows 11.

Re: Ask HN: What overlooked class of tools should a self-taught programmer look into

#278
post #198

Earlier quoted context omitted.

Are there any resources out there you would recommend for learning testing techniques in a Python context?

TDD with Python : https://www.obeythetestinggoat.com/

Is that useful if you’re never writing django apps?

Re: Ask HN: What overlooked class of tools should a self-taught programmer look into

#279

Read the curriculum of an undergraduate computer science course and read up on the things you haven't heard of. Some courses will even have lecture notes available. E.g. these four pages are the university of Cambridge masters in computer science: https://www.cl.cam.ac.uk/teaching/1819/part1a-75.html https://www.cl.cam.ac.uk/teaching/1819/part1b-75.html https://www.cl.cam.ac.uk/teaching/1819/part2-75.html https://www…

FWIW, I've found many undergraduate computer science courses to lag behind on tooling, so take the recommendations they have with a grain of salt.

Re: Ask HN: What overlooked class of tools should a self-taught programmer look into

#280
post #165
post #40

Earlier quoted context omitted.

One of the worst problems with using windows (in my opinion) is that there’s no native GNU make.

> One of the worst problems with using windows (in my opinion) is that there’s no native GNU make. GNU Make even comes with a vcproj file for building a native binary with Visual Studio. Worked fine for me. Building it with Guile support though is difficult, but fortunately Eli Zaretskii provides native binaries through his ezwinports, and they worked pretty much flawlessly for me. Of course you will usually need a s…

Scoop has it in their repos as well (the gow package).
Post reply on HN