Diary of a programmer
3 subscribers
125 photos
2 videos
3 files
13 links
Vlog by this guy: @lixelv
Suggestion: @anyon_bot
And can we get a boost please 👉👈:
https://t.me/boost/lixel_code
Download Telegram
I bought a laptop stand

I ordered a laptop stand from ozone, because after hours of sessions at the computer my neck doesn’t feel good, so by raising the computer higher I’ll stop constantly looking down, which I hope will help.

So now I’m busy with a calculator, but as an application on a PC, because electron (a thing for creating applications based on websites, written in JavaScript) is such garbage. I suffered with him for a very long time, you would know how much he infuriates me. Now I want to blame him on tauri, which is what I will do.

I'll let you know when everything is ready.
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
Calculator x3

I've been working on the calculator for the last week. I fixed its web version for phones, added new customization options, in general, a lot has been done.

Here's a link to the web version of the app, those who are on phones, don't worry, the previous bug with cut buttons has been fixed. And another joke with the fact that you couldn't log in because of Vercel's jokes. Here's a link to the site: https://web-calculator-tau.vercel.app/

And a little about customization. When you press ^ for the keys 0123456+-*/, the functionality changes, so here's what they are responsible for.
0 - change key transparency
123 - change theme
456 - change key rounding
+- - change window size (only in the application on a PC)
*/ - change font size

That's all, basically. I'll be very happy if you visit the site at least once, or, incredibly, download the .exe program. Oh, and according to the classic GitHub.
This is my current list of things to do in the calculator. What I crossed out, I did.
Calculator x4

Added new functionality to the site. 1 now there are 4 themes, place 2 before (the transparent theme for the site has been removed). 2 The control interface has been changed, now to change the theme just press ^1, to change the rounding ^2, and to change the font size ^3 (now */ do not work).

In general, that's all for today. And it is important to clarify that these changes have so far affected only the website and application for mobile phones. I will finalize the PC version later.

Oh, and one more correction. Because of my favorite sw.js, the site works according to the logic that it first takes the downloaded data, and if there is none, then it contacts the server. In other words, unless you delete your browser history before you visited the site, you will not receive a new version(. It shouldn’t work like that, I’ll fix it.
Calculator now on phones

As Vlad requested, you can now download the application to your phone. Be it android or ios (probably).

How to install it? Go to the website https://web-calculator-tau.vercel.app/ and then you should see the application installation sign. If it suddenly does not appear, then press 3 dots, then add to the main screen and download the application.

In general, everything. Now, if there is an Internet connection, the calculator will access the server, and if the application is offline, then everything will run locally. In general, everything will work both offline and online.

And I spent a lot of nerve cells on this garbage. What was especially unpleasant was the feeling that there seemed to be a lot of content on the topic of web applications (PWA), but there was none that would tell you how to properly create a PWA application! I was miraculously able to do this, thanks to neural networks and my stubbornness.
USE

Dedicated to all future 11th graders:
3 letters, but still, how much meaning,
And the main thing here is numbers.
Determine your life
And they’re pumping it up, you hold on.

After all, you are not alone at the trough,
And we all stand like a sieve,
What does the budget take?
It depends on which answer you strike.

Don't worry, good friend,
There are plenty of people like you around,
We all go through this
And know that time flies instantly.


Of course, my words may be annulled by the bill abolishing the Unified State Exam in October. But no matter how many such bills there have been, none have been adopted.
Calculator x5

Added new customization options, namely:

Now the red and blue themes have been removed, the ability to manually change the color and its intensity has been added using the ^4, ^5, ^6 keys. Also because of this, a bug appeared with the key press animation, so it was temporarily removed. Maybe I’ll completely demolish this update for this reason, since this animation, in my opinion, is very beautiful, and I wouldn’t want to lose it. This can also be solved using sass.

I sit at the computer too much, maybe I should go get some sleep or something. And for the future. If something doesn't work, reinstall the application. Good night everybody.
Crowdstrike bent the windows

Recently a truly epoch-making event took place. Today, millions, if not billions of computers are out of order. Airports, hospitals, self-service cash desks, regular Windows computers. All of them, having received the new crowdstrike firmware, began to produce a blue screen.

How did this happen? The crowdstrike company provides software to ensure the security of the device, and therefore the program works equally with windows, and 1 small error in the crowdstrike code broke the entire windows, and it could not start normally because of this.

And what makes the situation even more absurd is how this update reached users. 1 new employee of the company wrote code on 1 day of work, which then, after checks, ended up in the main version of the software, the result is obvious. So now this guy is the culprit of the largest computer collapse in history!

In general, you can’t blame him, because more experienced developers checked this code, but did not notice the error.
Apple slider successfully captured

Well, what can I say. 10 hours of work, and this is the result. Overall it’s ok for me. The hardest part here was getting the arrows to work and linking the cards to a specific area.
I won’t write a long post, in 2 words. I feel old, my back hurts, my hands are crunchy, my head is dizzy, in general I feel great) Reasons 2:
- I'm an IT guy
- I play the guitar in a shrimp position
Happy birthday to me 🎉🥳