Loser story
901 subscribers
153 photos
22 files
142 links
Пишу всякое интересное про распределенные системы, базы данных и тд
https://github.com/MBkkt
Download Telegram
Easy
This media is not supported in your browser
VIEW IN TELEGRAM
Hi, in general, it turned out that I am a stupid, because i didn't pass the retellings in English, so I remain to study at the mkn, I hope that this isn't a bad...

But on the other hand, I passed "the offset by graph"(please tell me how to write this correctly) by 5, although formally, of course, there is no assessment, but it's still nice

Now I need to prepare for a analysis, without a clue how I will pass it, but I believe in the best.

I dunno whether to go to the cs center or not, because I will have a job and about the same amount of study. Probably I don’t have time, on the other hand I want to try very much
go to the cs center
Anonymous Poll
81%
Yes
19%
No
graphs_dk.pdf
2.9 MB
By the way this is a very good book on graph theory
Nice art
What do you think that in С++ templates you can write class or typename, and the difference will be only for a person?
Anonymous Poll
17%
useful (code more readable)
33%
useless (not obviously and two ways to do the same)
8%
neutral (historical reason...)
42%
I'm a Batman
False == False in [False]
Anonymous Poll
56%
True
44%
False
2/3 complete?
csc get ready(i will not pass)
I went to interview to CS Center. The interview consists of two parts, 30 minutes each.

In the first part they give you 3 problems. I had folllowing problems:
1) How many ways to make a tower of height N from red and blue cubes so that not a single red would stand on red.
I didn't have time to solve this problem at the interview, but solved it later. In the comments I will give a hint and then a solution
2) Write code that finds an element in an array that occurs in more than half of the positions. Time: O(n) Memory: O(1)
I solved it, the solution will be in the comments
3) A boring task with equations and graphs, I solved it

In the second part you tell about your motivation, how good you are, and how much free time you have
I hope I will pass (but don't believe it)
By the way, yesterday (tonight) I wrote a bot for Discord, which doesn't use the bot API, and I'm surprised at how indifferent Discord is to data security.
In general, this year I read 3 python books, perhaps these are the only books that I can recommend on it somehow:
1) Cookbook by David Beazley is very cool book, I like the format in it: different features of the language, and even what you know is revealed in an unexpected example, the only drawback is that it is 2013, and for example there is no async
2) I also read Fluent Python, this is a classic book on python for non-beginners, I can't say that I really liked it, but it’s good and the only one of the “general” python books that I can recommend.
3) Python Tricks is an easy-to-read book that has interesting examples, but it’s not big and fairly simple, and as a result I learned a little from it.
#python #book
I will write about the internship in the evening, otherwise I constantly postpone this
I'm writing a review about my internship just now, after 3 weeks of work, because I'm lazy chmony. If anyone doesn't know, my internship is in the C++ backend team in Wartsila Transas.
I'm starting with minuses:
1) The office is a little poor on my floor
2) No free food except fruits/cookies. On the other hand, it can be a plus, because I wouldn't really want to eat in the canteen
3) The road to work takes 1 hour to one side
But there are a lot of pluses, such as:
1) Tasks are interesting, for example, I invented a new config backup and track label generalization algorithms, but, of course, there are a bit boring tasks too
2) A rather flexible schedule, I'm not afraid to oversleep) And I can always skip a day and work on a day off, I try not to do it because there are few other people on a day off
3) Colleagues are smart and helpful, they write useful comments on my pull requests) They are always ready to answer the questions I ask.
4) Salary is good for intern;)
5) The working computer is cool and workplaces are quite far apart
6) I also like the workplace, it isn't boring, nor too intensive

At first, I was feeling dumb because of the fact that I read the task and had no idea how to start. There is also a lot of code that I don’t understand, but everything works out for itself)