🎙️

iPad - Do You Need It?

iPad - Do You Need It?

I decided to share this thoughts, cause of purchasing new iPad pro. I was thinking for last few years, do I really need an iPad? I used to think that it’s completely useless device. If I have MacBook as main working machine and iPhone as secondary/helper. I’m going to talk about this device from programmer/manager perspective.

Zoom, right?

MacBook has the shittiest camera on the market, for some of my coworkers it doesn’t sound as disadvantage, because they simply don’t use camera for syncs and meetings. True for programmers who sit in the most dark corner of the room. But for me it’s important to clearly see the person to whom I’m talking to. Hope I’m not only one who has this preferences. iPad has brilliant front camera for that kind of use and you can plug and play it to your zoom or any other conference apps. While you on the meeting via your iPad you can use your main laptop without any losses and slow downs. I hate how zoom opens on MacBook, it crashes time to time, on other hand on iPad I didn’t have such an experience - one tap and you online. If you use g-calendar + zoom, jitsi or any other meeting tools you can jump to the sync with one single tap, by moving your calendar to “Today View”.

Read more →

Bad HR experience or How new repo was born

Bad HR experience or How new repo was born

Logektor ⚡️

Forewords

This repo has some background, let me tell about it. Once, quite some time ago, I came to the company on the interview, for quite good and interesting position. We were talking about what they need and what I will need to do on this position. Meeting it self was good and I was so excited about that position.

But after few days I received tests assignment from them. I was a bit confused, because for that kind of positions there is no test assignment usually. I was busy and working 24/7 in another company and had a business trip for 3 days (two days of the trip were weekend) that week and I told them about it.

Read more →

Testing Mailer in Go

Testing Mailer in Go

Forewords

I needed a way to test mail confirmation. When you are dealing with deb authentication you would like to be sure that this email exist. And usually I use is_email_confirmed column next to user credentials in the database table. Once user hits siging endpoint as last step I send an email with confirmation token.

I was looking on few popular tools across the Internet:

What I found

My requirements were: run in docker, easy to config, basic functionality to render email. All things above quite heavy apps with complex configuration. After that I found found nice and lightweight way how to test it locally.

Read more →

Flexible Env in Go

Flexible Env in Go

Forewords

I was doing hobby project, nothing special, server with authentication few endpoints and connection to database. I wrapped this project in docker to distribute project to another developer, he wanted to help with fronted but not that fluent at the backend part. Then I realized that my friend does not want to struggle with database setup and so on. So, solution was straight forward - docker-compose.

Problem

I prefer using .env instead of typing stuff to cli. I found out really elegant solution. You can still use .env and parse it easily with github.com/caarlos0/env/v6, specify default values or even load file (certificates etc). But in docker-compose you need to specify same ports for database for example. Here comes github.com/joho/godotenv, if you provide environment variables via dockerfile or docker-compose it will override constants in your .env.

Read more →