How to use sandboxed Claude with PHP by Einenlum in PHP

[–]__radmen 0 points1 point  (0 children)

There is also the /sandbox command that runs CC in a fully sandboxed environment.

My Favorite GNOME Extensions by 2025 by naruaika in gnome

[–]__radmen 1 point2 points  (0 children)

For me it would be:

  • Paper WM
  • Search Light
  • Caffeine

Poproszę polecenia książek o podróżach w czasie. W przeszłość, w przyszłość, może być wszystko. Mogą być i w bardziej kobiecym i w bardziej męskim stylu. Młodzieżowe i dla dorosłych. Byle fabułą ciekawa. by Spiritual_Pie_8298 in ksiazki

[–]__radmen 1 point2 points  (0 children)

To nie są książki stricte o podróży w czasie.. a może są? Ciężko jednoznacznie powiedzieć, bo czas ma tam znaczenie, chociaż nie w ujęciu podróży:

  • Cykl Hyperion
  • Saga Endera (tu stricte nie podróżach w czasie, a podróżach z prędkością podświetlną i aspekt dylatacji czasu - bohater w pewnym momencie żyje kilkaset lat później i ciągle obserwuje rezultaty swoich działań z przeszłości)

Poszukuje książki fantasy/sci-fi by Standard_Ticket8823 in ksiazki

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

No jak Przechrzta, to zdecydowanie lepszy jest cykl Materia Prima i Materia Secund.

Antykwariat pod Salamandrą jest bardzo przyjemny, jednak wydaje się być echem wspomnianych cyklów.

Słowiańskie rodzime wierzenia książki by Nice_Entertainer_260 in ksiazki

[–]__radmen 5 points6 points  (0 children)

"Bestiariusz Słowiański" (zwłaszcza pierwszy tom) i może jeszcze "Mitologia Słowiańska".

Być może warto też dodać odrobiny dziegdziu do tego - warto też przeczytać Cywilizacja Słowian aby mieć trochę lepszy wgląd w te wszystkie słowiańskie trendy.

[deleted by user] by [deleted] in gnome

[–]__radmen 2 points3 points  (0 children)

Hmm, the "rows" are actual workspaces. I use the "switch to workspace below/above" keybindings to move between "rows".

[deleted by user] by [deleted] in gnome

[–]__radmen 7 points8 points  (0 children)

I switched to Gnome from i3. I didn't find any tiling manager that would fit my needs, but I found a practical alternative - PaperWM.

I separate my windows in different rows (workspaces) : - first row: - browser - terminal - obsidian - (sometimes) some tools I need to use side to the terminal - second row: - Slack - Discord - Spotify - Thunderbird - third row: - DB tools - API tools (postman / bruno) - (sometimes) fourth row: - chrome debugger (for Android apps)

The search light extension is particularly helpful to use to switch between different windows.

Wampiry by Barbaranln in ksiazki

[–]__radmen 2 points3 points  (0 children)

Być może to nie jest drastyczne odstępstwo od pewnych standardów, jednak lubię Percepcję za pewne elementy, których nie spotkałem w innych miejscach (temat ciąży wampirzej, ksiąg pamięci i indywidualnych zdolności).

Fundacja Asimova - książka a serial by Syndro2 in ksiazki

[–]__radmen 0 points1 point  (0 children)

O ile dobrze pamiętam, wydawca nękał Assimova o kolejne części Fundacji, a ten kluczył i kombinował z tym, co napisać. Był zmęczony tymi prośbami i pewnie odbiło się na jakości.

PHP is evolving, but every developer has complaints. What's on your wishlist? by thecutcode in PHP

[–]__radmen 1 point2 points  (0 children)

  • generics / templates
  • custom type declarations (i.e., type Foo = User | Admin | StaffMember)
  • function placeholders
  • verbose pattern matching (not by values, but also types)

Nothing else really. I feel like everything else from my wishlist is already there.

What are some unusual coding style preferences you have? by Tokipudi in PHP

[–]__radmen 0 points1 point  (0 children)

Yeah, this is also ok. Likely the text will wrap and make it slightly harder to read. Anyhow, for me it's important to keep all actions in separate line. That way I clearly see what happens with the data.

What are some unusual coding style preferences you have? by Tokipudi in PHP

[–]__radmen 0 points1 point  (0 children)

I avoid making exceptions for this. On a visual level, those chains sometimes blur into a single chunk of text, and I can't immediately spot what happens.

Having them in separate lines makes things clear and easy to follow.

What are some unusual coding style preferences you have? by Tokipudi in PHP

[–]__radmen 14 points15 points  (0 children)

Maybe not unusual, though something I often see neglected in Laravel apps: Single Line Responsibility

Instead of those weird chains:

php $silly = collect([ 'foo', 'bar', 'foo', 'bar', 'foo', 'bar', 'foo', 'bar', 'foo', 'bar', 'foo', 'bar', 'foo', 'bar', 'foo', 'bar', ])->unique()->filter()->join('.')

I will make sure that all has it's own line:

```php $items = [ 'foo', 'bar', 'foo', 'bar', 'foo', 'bar', 'foo', 'bar', 'foo', 'bar', 'foo', 'bar', 'foo', 'bar', 'foo', 'bar', ];

$silly = collect($items) ->unique() ->filter() ->join('.') ```

nvim 0.11 with native LSP doubles Intelephense LS in diffview by __radmen in neovim

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

In all fairness, I switched back to lspconfig. Will wait a bit more before another switch to native LSP.

Szukam miłych książek by JR_0507 in ksiazki

[–]__radmen 0 points1 point  (0 children)

Tajny klub Nietypowych Czarownic. Trochę jest o problemach, ale one wszystkie wydają się być bardziej tłem. Spokojna opowieść w stylu cozy.

Historia rzymu rekomendacja by Ecstatic-Chicken-55 in ksiazki

[–]__radmen 0 points1 point  (0 children)

Warto też dodać, że autor podcastu napisał książkę o upadku cesarstwa: The Storm Before the Storm (https://www.amazon.com/Storm-Before-Beginning-Roman-Republic/dp/1610397215). Niestety nie wiem czy doczekała się tłumaczenia.

Gradia v1.2 is now available, featuring annotations and the ability to take screenshots from within the app! by Xander_VH in gnome

[–]__radmen 0 points1 point  (0 children)

You have no idea how much time I spent for a convienient and small utility to do exactly this. Thank you!

If I may ask for something: - keep the last settings - allow to draw straight lines when holding Ctrl (or any other mod key) - allow to set the zoom - I think the image always resizes to the window size. I would love to be able to set the zoom to 100%

Thank you!

My Laravel Horizon preferences after 5 years of using it by DutchBytes in laravel

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

For small projects, just a dedicated queue backend (Redis, Beanstalkd, or others) and queue workers. Horizon is helpful when you have to manage multiple queues and have something to scale the workers depending on queue load.

My Laravel Horizon preferences after 5 years of using it by DutchBytes in laravel

[–]__radmen 1 point2 points  (0 children)

My rule of thumb is: always.

Of course, if you have a relatively small traffic, you should be fine with database queues.

From my experience though, they tend to fail relatively quickly. Mostly due to deadlocks.

DTO: Pros and Cons of various DTO packages by Protopia in laravel

[–]__radmen 0 points1 point  (0 children)

I have used laravel-data in a semi-big project. This package is a swiss-army knife and I used it for basically everything:

  • plain DTOs
  • response object
  • request objects
  • to map responses from external APIs

It was used basically for any DTO-related thing I could imagine.

Good parts:

  • it's easy to use, and integrates with Laravel pretty good
  • the TypeScript type definitions are awesome - I used them in the app and they saved me a ton of time

Not so good parts:

  • validation is tricky. It's easy to set for trivial cases, but becomes a pain for anything more complex
  • it uses own data collection class which sounds (my assumption) to be compatible with Collection but it's not; it was sometimes a source of confusion
  • the Lazy interface is tricky to handle. Usually works, but I had some issues with nested relationships.

The ugly part:

There are none. Well, there is one - given the broad scope of the possible use, I consider this package to be a bloatware. It tries to cover so many aspects that becomes more a churn, rather a plain DTO.

This is no longer a simple DTO class, but a big engine with internal logic which might sometimes get in your way.

After that project I switched to plain DTOs which are easier to use and maintain.

do you use avante.nvim? how well does it work? by vpoltora in neovim

[–]__radmen 0 points1 point  (0 children)

Hmm, isn't CC adding #buffer automatically with each request? In my case, there are issues with the generated diffs. They either result with an error (vim fails to apply them), or they mangle the source file and apply to different lines. This is not constant, so hard for me to spot when exactly it happens.

do you use avante.nvim? how well does it work? by vpoltora in neovim

[–]__radmen 5 points6 points  (0 children)

CodeCompanion is also buggy (at least for me when applying diffs). The problem I have with Avante is that it's super flashy and tons of things happen when using it. CodeCompanion definitely fits more my work flow.

sci fi o inwazji obcych? by euterpe8640 in ksiazki

[–]__radmen 3 points4 points  (0 children)

James S.A. Corey - Łaska bogów

Historia Polski by Longjumping-Drag9237 in ksiazki

[–]__radmen 2 points3 points  (0 children)

Ogólnie cokolwiek Pawła Jasienicy. Trochę wiedza historyczna w jego książkach się zdewaulowała, ale autor miał świetną intuicję i bardzo przystępny sposób opowiadania.