Articles in category 14

My code review model: LGTM-5.6

I trained my very own LLM for code review.

Called it LGTM-5.6.

It has just one token: LGTM.

For any input, it responds with

LGTM

On code review quality benchmarks, it’s no worse than 80% of senior developers. :)

Creative Plans

I taught at the Kharkiv National University of Radio Electronics from 2008 to 2016. When I was a student, I didn’t think I would become a lecturer and educator. Closer to graduation I realized that: a) I liked helping other students figure things out; b) in some things I …

The Internet Makes Kids Dumber

It’s funny to watch how, in the chase for instant results, people degrade into complete morons. Here’s a popular public page teaching kids to sight-read:

image

By the way, not everyone will be able to perform it correctly anyway: the note durations aren’t indicated here, and that matters …

Lame Student Excuses

What surprises me most are lame student excuses. Here’s a real conversation with a student who skipped all the labs. I edited it so you can’t tell from the context who it is. Spelling is the author’s own.

— Good evening. i understand that i attended your course …

The Most Important Guideline

The most important guideline when writing code is to separate method implementations with several blank lines and a comment line. Despite modern IDEs’ capabilities for searching and structuring source code, visual orientation still plays an important role.

Consider the example below. There is an implementation of a class in Objective-C …

Because I Couldn’t Before

13-day trip along the route Kharkiv-Kyiv-Katowice-Beauvais-Paris-Grenoble-Paris-Beauvais-Katowice-Krakow-Warsaw-Katowice-Auschwitz-Katowice-Bielsko-Biała-Szczyrk-Bielsko-Biała-Katowice-Kyiv-Kharkiv has successfully wrapped up. The memorable places have been seen, the postcards have been sent, the Olympic ski slopes have been tested out.

IMG_3551

Photo, video, and letter reports will be created and published later.

In the last few days before departure I managed to …

An error in the portmone.com.ua interface

The scenario is this: when you start entering the CVV2, a virtual PIN-code keyboard pops up, while the window size doesn’t change, and 2/3 of the keyboard isn’t visible. I wonder how many users won’t figure out that they need to scroll the window? Or is …

Aligning Numeric Data in Tables

I’ve been using Microsoft Outlook for a long time, but only now noticed this little detail. The “Received” and “Size” columns aren’t aligned by place value. With dates and times it’s not so bad, but with size it’s a complete mess.

image

Do the designers at Microsoft …

Error Messages in clang

One of the requirements for clang — the new C++ compiler — was to provide the user with detailed information about errors. Let’s look at a small example.

[]double UniversalGravitation(double G, double mass1, double mass2, double distance) {     double F = G * ((mass1 * mass2)/(distance * dsitance));     return F; }

There’s a typo …