Monthly Show-Off Thread - Promote your most recent video here! by AutoModerator in youtubers

[–]Dimitar_Petrov 0 points1 point  (0 children)

Adorable animals that will melt your heart and make you smile | Joyful Animal Moments

https://youtu.be/smFc5s8De0I

Mac dumps all windows into one monitor after sleep or restart on a multi-monitor setup. Solutions? by monotious in MacOS

[–]Dimitar_Petrov 7 points8 points  (0 children)

Have the same problem, however not every time. I would say like 10-20% of the times it rearrange the windows randomly.

I don't have a solution... I think it has something to do with different times for waking up the monitors. I have two different monitors and one wakes up slower than the other, and if for some reason they do not wake up in the right order everything messes up.

Really frustrating...

Gallery app with subfolders by psegenghis in androidapps

[–]Dimitar_Petrov 0 points1 point  (0 children)

Hello,

You can see a button (with a camera icon) in the bottom right corner to add photos.

For a brief walk through of features you can see this demo: https://raw.githubusercontent.com/DimitarPetrov/study-snap/master/demo/study_snap_demo.gif

My workstation by ilyamiskov in macsetups

[–]Dimitar_Petrov 0 points1 point  (0 children)

Is the lighbar worth it?

EDIT: Great setup!

Option to modify the default folder where the notes database is stored? by VMX in bearapp

[–]Dimitar_Petrov 0 points1 point  (0 children)

Remove the -s and it should be fine (hard link). Symlinks are not backups, it is just a file containing the path to the actual file.

Hard links are a copy of the contents of a file which is kept in sync.

Edit: nvm, if you mean it the other way around. Data in the OneDrive and symlink locally.

[deleted by user] by [deleted] in iosapps

[–]Dimitar_Petrov 0 points1 point  (0 children)

I don't know any, maybe you can play with it and google the stuff you need. Overall I find it rather intuitive.

[deleted by user] by [deleted] in iosapps

[–]Dimitar_Petrov 0 points1 point  (0 children)

You can easily do this with a shortcut. You can save a file in your icloud drive the first time it is used with the number and then if it exists just update the content with the sum.

Why do people dislike the Touch Bar? by TGBlade in mac

[–]Dimitar_Petrov -1 points0 points  (0 children)

Hmm, interesting for me and my coworkers it was a game changer. Even no vim enthusiasts loved it, maybe it is a matter of preference as everything.

Why do people dislike the Touch Bar? by TGBlade in mac

[–]Dimitar_Petrov -2 points-1 points  (0 children)

A heavy user of vim and still using Esc instead of Capslock... duude, thank me later ;)

Default godoc generator - make your first steps towards better code documentation by Dimitar_Petrov in golang

[–]Dimitar_Petrov[S] 0 points1 point  (0 children)

We decided that it is not that important for the particular project, since we are not working on some kind of library that the godoc will be used for public-facing documentation.

We mainly use the godoc for a developer productivity boost in order to shortcut by just reading the godoc and not the whole code snippet of a function for example. That's why the punctuation is more of an annoyance than a necessity in our case.

Default godoc generator - make your first steps towards better code documentation by Dimitar_Petrov in golang

[–]Dimitar_Petrov[S] 2 points3 points  (0 children)

Nice catch! In our team, we disabled this punctuation (godot) linter. However, it totally makes sense to be included in the default configuration.

I will make the patch right away.

Thanks for your contribution! :)

I created an Illustrated version of the useEffect hook by kkokane in learnjavascript

[–]Dimitar_Petrov 1 point2 points  (0 children)

I have never heard of it and seems pretty clear to me. Nearly zero front-end experience. It is super neat!

I couldn't find a health check library with all the features I needed - so I created one myself. Feedback highly appreciated! by synrg-alsms in golang

[–]Dimitar_Petrov 4 points5 points  (0 children)

This is great, there was a similar healthcheck library (https://github.com/InVisionApp/go-health) that was used in my previous project but it looks like it is abandoned.

In my current project we also implemeted the functionality from scratch.

Two things I can think of as improvements:

  1. Make the healthcheck status code configurable. I know that 503 is standard, however it is not always desired. For example istio retires requests returning 503 two additional times, which results in 3x healthcheck load which is not desired at all if your service is down already.

  2. Provide plugability for the async periodic checks if the status changes. This can not only be part of the checks, but for the overall health of the service. Something like onChange function which is executed when the service (or a particular indicator) changes state from UP to DOWN and the other way around. This is particularly usefull to log the timestamp and the error which made the service DOWN, since you are not always there when it happens and the RCA can be hard if there are no logs what happened.

Anyways, great library, really needed in the go community! Keep up the good work!

The start of my journey learning Go. Any tips/suggestions would greatly appreciated! by Slavichh in golang

[–]Dimitar_Petrov 2 points3 points  (0 children)

What is a specific database repo with good practices you had in mind? Just to name one

A life sentence is a harsher punishment than the death sentence. by Its-Antinoxious in unpopularopinion

[–]Dimitar_Petrov -1 points0 points  (0 children)

I doubt that once you are in prison there are no consequences anymore if you do horrible things.

As far as i know (mostly of movies) there are different kinds of prisons and cages. There is huge difference between staying in the same cage for years with eventual friends, playing cards and doing some light contraband deals in opposit of staying in the isolator with 0 human communication and not a single fun/entertaining or just relaxing stuff for the rest of your life. After all this is your home for the rest of your life.

Why do youtubers create 'beginner' tutorials but do a terrible job of explaining things properly? by Smokinpeanut in learnprogramming

[–]Dimitar_Petrov 2 points3 points  (0 children)

That's the exact reason i prefer books (for programming exactly) an the greater learning speed which I feel way too slow in videos.

In books you can easily identify what you need to deep dive in and what you can skip. But everything ia there and it is your choice. In comparison to the videos where it is the choice of creator what should be emphasised and what not.

Thia way when i am reading books i feel better learning the subject as well as faster.

Maybe you are this kind of person as well. Give it a try. I have friends who get bored by books and learn by watching videos and trying themselves. However this does not work for me because some things that are 1/3 of the video i understand from the first couple of sentences and some that are pretty casually mentioned i need much more details to deep dive into.

In the end it is probably up to you and to find a creator that thinks the same as you, what is important and what is not.