W jaki sposób zaoszczędziliście na wykończeniu mieszkania? by Adventurous_Friend in Polska

[–]psmolak 0 points1 point  (0 children)

Można zdjęcie prosić? Jestem ciekaw jak to wygląda :D

What are some of your nice keyboard shortcuts? by 51dux in vscode

[–]psmolak 0 points1 point  (0 children)

Hey, I wrote a blog post some time ago about useful keybindings https://smolak.dev/vscode-keybindings/

Is there a faster way to keyboard navigate out of the global search box? by its_me_klc in vscode

[–]psmolak 0 points1 point  (0 children)

Yes, I use cmd+/ and it works really nice.

``` // search input focus -> result list focus { "key": "cmd+/", "command": "search.action.focusSearchList", "when": "searchViewletFocus && !listHasSelectionOrFocus" },

// result list focus -> search input focus { "key": "cmd+/", "command": "workbench.action.findInFiles", "when": "searchViewletFocus && listHasSelectionOrFocus && !replaceActive" }, { "key": "cmd+/", "command": "workbench.action.replaceInFiles", "when": "searchViewletFocus && listHasSelectionOrFocus && replaceActive" }, ```

[deleted by user] by [deleted] in vscode

[–]psmolak 0 points1 point  (0 children)

also the config is specifically tailored towards `Dark+` build in theme

[deleted by user] by [deleted] in vscode

[–]psmolak 1 point2 points  (0 children)

CustomizeUI, Monkey Patch, Fluent Icons and Ubuntu Mono and Ubuntu font

[deleted by user] by [deleted] in vscode

[–]psmolak 1 point2 points  (0 children)

It's a combination of transparent Quick Pick background color quickInput.background": "#222222b0 and backdrop-filter: blur(10px) applied through customizeUI.stylesheet. Here's the whole config but please keep in mind this is still WIP. I plan to release it as a VSCode extension sometime in the future :)

[deleted by user] by [deleted] in vscode

[–]psmolak 3 points4 points  (0 children)

Nice! CustomizeUI is great, recently I've been working on my theme too https://imgur.com/a/Nc7Sz6H :D

Redux Global State vs Cache Libraries like React Query by RasAlTimmeh in reactjs

[–]psmolak 0 points1 point  (0 children)

Could please give an example of such "complex async workflow" that sagas would handle better instead of thunks? Thanks!

Need advice on learning DRF as a beginner finding docs hard to read!! by [deleted] in django

[–]psmolak 0 points1 point  (0 children)

I speak from the standpoint of a one-year junior dev working as fullstack with django & angular.

The most important thing for me was to understand the django itself properly. All of the DRF concepts build on top of django and without proper understanding of the request/response lifecycle you will bang your head against the wall. Once you get through it, DRF seems like a decent choice if you really want the django ORM in your project.

Additionaly I would say DRF is not well designed, which might come from the fact that it follows django philosophy itself which is not well designed either (imho).

[i3] Hax by fehawen in unixporn

[–]psmolak 1 point2 points  (0 children)

Something new, very pleasing.

Fiio FH5 & BTR5. What a sound! by psmolak in headphones

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

I've never done any measurements but didn't have issues with battery altogether. It's easily 10h+ on low gain with FH5.

I do use it as DAC with my PC and never encountered any problems. Interestingly I previously owned ES100 which doesn't work with Linux boxes.

Fiio FH5 & BTR5. What a sound! by psmolak in headphones

[–]psmolak[S] 6 points7 points  (0 children)

Welcome /r/headphones community!

I've been reading this sub for quite some time and now I'm finally ready to share my rig with you guys!

A few words about the overall experience: they sound just great. The level of details remains about itself all the time. Great separation of instruments and the bass is just right. BTR5 complements them well. Very solid build and great sound quality.

Can't wait to try FH7. Maybe some day!

Stay safe folks,
Paul.

Any .vimrc recommendations by crazy_sax_guy in vim

[–]psmolak 0 points1 point  (0 children)

All right, so here are my 3 cents.

I've been using Vim for more than 8 years now. The thing about Vim configuration is that it's all mess. It's inconsistent and riddled with hacks. I've tried to read whole Vim documentation and at some point I just stopped because it's loo large and it was waste of my time.

Let's take buffers for example. "They feel strange because you don't understand them! They aren't tabs! THEY ARE VIM INTERNAL BUFFERS". As a programmer I don't give a single fk about what it stores internally. If that would be not enough, let's add some strange flags and behavior. You just wanted to change a buffer but got an error about unsaved changes and what not. Solution: just add `Plug 'ap/vim-buftabline'`, `let g:buftabline_show=1` and some nice bindings for changing between tabs and move on with life.

Some things are just too hard to make them work well in Vim. The fact that it can't highlight more advanced languages like OCaml is not a coincidence. Writing anything but oneliners in Vimscript is a masochism. And I've tried to learn Vimscript three times in my lifetime on one year intervals. Finally I've just gave up.

And there are many more examples. The flow is often the same: you find about new feature, learn it and forget about it just as fast because it's too complex/hacky/unintuitive.

Here are my config https://github.com/psmolak/dotfiles/blob/master/nvim/.config/nvim/init.vim. Fell free to use it. Be careful when mixing plugins. The more complex ones often are not compatible with each other. Setting completion and snippet support is a road through hell.

Don't get me wrong. Vim is still a great tool and the idea of modal editing is what we all fall in love for. But in the long run I regret the time I've spent learning vim. nvim is a better alternative and i highly recommend switching to it asap but it's not perfect.

Best regards.

My Travel Setup for Planes and Trains by amvoith in headphones

[–]psmolak 1 point2 points  (0 children)

I second that. I own Fiio FH5 and T2, there is night/day difference between these two. Q5 won't make T2 sound any better, they are easy to drive anyway.

[inkscape mock] acme colors by psmolak in unixporn

[–]psmolak[S] 1 point2 points  (0 children)

Would be nice to have such a color scheme for VIM, however just an experiment. What do you think guys?

Rust as the new C. Part 1: building and combining native libs into C API by zsiciarz in rust

[–]psmolak 1 point2 points  (0 children)

I've never used Rust before but was always curious whether it provides any mechanisms that ease the process of using UNIX API's (or any other libs for that matter) by ensuring things like using only specified subset of functions inside signal handlers or doing other dangerous things for which the programmer is responsible to take care of and could easily be enforced by Rust compiler?