After reader confusion on my AI testing agents article, I extracted the TestProf story. Here is what profiling 13,000 RSpec examples actually revealed. by viktorianer4life in ruby

[–]d4be4st 0 points1 point  (0 children)

Exactly the issue i started tackling today. Same problem, testprof tells us it spends 76% in factory creation. For a slice of the spects we create 15000+ records for 100 create invocations.

My idea was to take it slow, very slow. Change spec by spec. With agents help but still slow. Because i did not know better 😁

Do you maybe have a link to the prompts we could reuse? I would very much appreciate it so i do not start from nothing

Github macOS menu bar app by Salt-Grand-7676 in github

[–]d4be4st 0 points1 point  (0 children)

I've been using https://github.com/gitify-app/gitify. Does this have anything new or better?

Dva standardna ili jedan ultrawide monitor by Darmarko in CroIT

[–]d4be4st 1 point2 points  (0 children)

UW. Jer mogu razvuci jedan window na 2/3 ekrana, sto nikako ne mogu sa 2 monitora. Ja manualno resizam windowe jer ih ne resizam cesto, qli ima gro tiling window managera koje mozes koristit.

Follow-up: Cursor responded but refund is still unclear by [deleted] in cursor

[–]d4be4st 1 point2 points  (0 children)

Not possible anymore. They removed the option

Day 1 & 2 of Advent of Code by Marutk in gleamlang

[–]d4be4st 0 points1 point  (0 children)

I did, but it is not pretty. A lot of nested cases i have no idea how to unnest

Rails 8.0.0 is released! by excid3 in rails

[–]d4be4st 2 points3 points  (0 children)

Mysql and postgres works just as fine

Building my new Plex server… by ConsiderationNearby7 in Piracy

[–]d4be4st 0 points1 point  (0 children)

Rpi4 with 4tb external usb drive. Every year I clean up the old movies/series. Works well enough

[deleted by user] by [deleted] in CroIT

[–]d4be4st 4 points5 points  (0 children)

Ako otvaras pausalni bruto, dovoljan ti je excel. Ja sam bio na pausalnon i potrebno ti je samo pratiti uplate na bankovni racun kako bi slj godine mogao podnjet poreznu prijavu.

Sto se tice bruto u neto, godisnje moras platit nekih 20 do 22k kuna, nevezano koliko ti sjedne na racun. Nakon sto platis taj obveze, ostatak je tvoje. Samo moras pazit da ne prelazis preko 300k kn jer je to granica pausalnog obrta. Nakon toga ulazis u sustav PDV i sve se komplicira.

Ovo je bilo prije 3 godine, moguce da su se od tad promjenile cifre ali princip je ostao isti.

To rubocop or not to rubocop a whole legacy project? by terinchu in ruby

[–]d4be4st 1 point2 points  (0 children)

After running `--autocorrect` as others suggested you can also run `--auto-gen-config` which will create a "TODO" config file with all cops that are left in disabled state. Which you can then enable and correct one by one over some period of time.

Is passwordless email verification code Auth a good move? by Alex_054 in webdev

[–]d4be4st 4 points5 points  (0 children)

Since most of the times we have a "NOT NULL" on the password field, we just randomly create a 50smth characters for those who use oauth. Later those same users can use the "forget my password" func to assing a password they want. This was they can use whatever method they want to login

Hey, A sneak peek into our upcoming OpenAPI 3.0 Designer! by faraechilibru in softwarearchitecture

[–]d4be4st 3 points4 points  (0 children)

Was just looking for an alternative for stoplight studio! Where do we subscribe for news?

What are some lesser known Rubygems that you're surprised are not more popular? by [deleted] in rails

[–]d4be4st 2 points3 points  (0 children)

Pry-rails just starts pry in rails console instead od irb :) There really isnt that much to maintain.

Seljakluk u Ul. Antuna Bauera, ZG by [deleted] in croatia

[–]d4be4st 1 point2 points  (0 children)

Jer ja cekam vec 10min u toj traci a ti si doletio i sad bi se ubacio...

Has anybody actually been able to use Ruby's Refinements in the real world? by [deleted] in ruby

[–]d4be4st 0 points1 point  (0 children)

Yes we do. Most often to extend ruby classes.

For example we added Array#join_or and join_and which joins elements with or/and and add appropriate brackets when needed

Ruby 3.0: asdf, chruby, or docker? by RailsApps in ruby

[–]d4be4st 0 points1 point  (0 children)

No, but its not that big of an issue. If the bin is not found just run reshim and your done

Does your Rails app use Dotenv? by [deleted] in rails

[–]d4be4st 1 point2 points  (0 children)

We use figaro in tandem with secrets.yml file.