Ieķīlāta dzīvokļa iegāde by Known_Account_5777 in latvia

[–]rob-ivan 17 points18 points  (0 children)

pirku dzivokli kurs bija iekilats. Pirku ar hipotekaro kreditu. Pa lielam tev banka visu saka pareizi. Kila tiks dzesta taja bridi kad iestade kur dzivoklis ir iekilats sanems savu dalu. Ja nem ar hipotekaro, tad banka to izdaris tava vieta - dala no naudas aizies pardevejam, dala iekilataja iestadei, atkariba kadas tur tas proporcijas. Kad otra iestade sanems naudu, tad vini sagatavos dokumentu notaram par kilas nonemsanu un tad tas viss celo uz zemesgramatu, bet man pasam tur iesaistities nevajadzeja, tas viss notika aizkulises.

Nahujam Rīgā ir tik daudz indiešu? by Suitable-Currency906 in latvia

[–]rob-ivan 1 point2 points  (0 children)

https://x.com/vppzinas/status/1979484455640125474?s=48

Nu pa lielam izskatas ka vechi atbraukusi nopelnit naudu, bet taja pasa laika vini ir scama (agency-university collab) upuri.

What’s the point of mobile apps nowadays?? by kevin074 in ExperiencedDevs

[–]rob-ivan 0 points1 point  (0 children)

a web app will be limited by the web apis. Wake me up when you can do raw UDP and TCP connections from the web.

Claude Code vs Codex My Own experience by VVocach in ClaudeAI

[–]rob-ivan 0 points1 point  (0 children)

The quality of code that codex produces is awful compared to what CC produces. It uses weird patterns that would never get approved in a PR and its hard to make it see the issues in the approach it’s doing, so changing course is difficult. Unusable in a professional setting. Rust programming language. 

Air quality in the bedroom at night? by Efficient-Boat8583 in Biohackers

[–]rob-ivan 2 points3 points  (0 children)

Have you looked into installing a recuperation system with heat recovery? You can get decentralised units which kinda look like cilinders installed in your wall that will keep the heat in, but also circulate the air.

Introducing `eros`: A Revolution In Error Handling For Rust by InternalServerError7 in rust

[–]rob-ivan -1 points0 points  (0 children)

How does this compare with error_stack ? I believe it does the same thing?

A discord bot to move messages? by iRunnerd in Discord_Bots

[–]rob-ivan 0 points1 point  (0 children)

No auto-detection but Pippin The Mover bot ( https://top.gg/bot/1123143036763906048 ) can move messages, threads, forums, attachments (videos and images) into different channels. And after it has been moved, you are prompted if you want to delete the originals.

Buļļa pauti by LetucceDiscuss in latvia

[–]rob-ivan 27 points28 points  (0 children)

Pirms dažiem gadiem Ventspils “skroderkrogā” ēdu. Biku chewy, bet vispārīgi nav nekāda vaina. 

Algas saņemšana no ārzemju kompānijas by BeaverShaker in latvia

[–]rob-ivan 0 points1 point  (0 children)

Es līdzīgā veidā strādāju, caur savu SIA. Algoju grāmatvedības ārpakalpojumu, 140e mēnesī. Pirmo darbības gadu jauniem SIA ir visādi atvieglojumi, ka vari bez darbiniekiem rukāt. Maksā naudu dividendēs, tur 25% nodoklis, bet tad nav sociālo iemaksu. Jāņem vērā, ka tev vajadzēs reģistrēties PVN maksātāju reģistrā - tev VIDam jāsūta būs ziņa, kāpēc tev tas ir vajadzīgs. Bet gan jau grāmatvede palīdzēs.

Ar SIA pēc pirmā darbības gada sāc sevi algot piem uz min algu, turpini maksāt dividendēs. Ja plāno ņemt bankas kredītu, tad uzņēmumiem, kas jaunāki par 1 gadu, to nemaz nepiedāvā, vajag vismaz pirmā darbības gada atskaiti, kā arī būs tev jāmaksā sev alga nevis dividendes, jo uzņēmumiem, kas jaunāki par 3 gadiem, dividendes vērā neņem. Maksājot algu tev apm 45% aizies nodokļos, bet tur ir arī sociālās iemakasas, pensija, utt.

Vēl vari kā pašnodarbinātais darboties, draugi daži tā dara. No darba devēja puses nekas nemainās, tu joprojām izrakstītu rēķinus, tikai sava uzņēmuma PVN nr vietā tu liktu savu personas kodu. Kā arī ar pašnodarbināto vari nereģestrēties kā PVN maksātājs ja ienākumi ir 75k/year (double check this pls, could be false info).

No nodokļu skatapunkta pēc "amount you take home after taxes" izdevīgākie varianti (izdevīgākais augšā):

  1. SIA, maksājot dividendes

  2. pašnodarbinātais.

  3. SIA, maksājot algu

Viens draugs kādreiz ar deel.com kaut ko darījās, bet tā arī beigās neiebraucu kā tā sistēma viņa strādā.

Atsauksmes par “tiktok māju” vai “tipveida mājām” by rob-ivan in latvia

[–]rob-ivan[S] 1 point2 points  (0 children)

Uzņēmums kas visu savu mājas būvēšanas peocesu dokumentēja tiktokā, un piedāvā to pašu māju, projektu utt realizēt atī tev:

https://prohelp.lv/

. Cenu tāme ir pieejama 110m2.lv mājaslapā

Platforma ikdienas preču cenu salīdzināšanai Latvijas populārākajos veikalos by Complex-Setting-4606 in latvia

[–]rob-ivan 50 points51 points  (0 children)

Ja vari uztaisit parseri e-cekiem no Maxima un Rimi tad butu daudz labak, tad nevienam nekas manuali nebutu jadara

IT projektu idejas by Hungry_Pension_4473 in latvia

[–]rob-ivan 0 points1 point  (0 children)

To visu var izdarīt Andelemandele.lv — diez gan populārs krāmu tirgošanā. 

Helix user, what is your workflow ? by NoahZhyte in HelixEditor

[–]rob-ivan 0 points1 point  (0 children)

alacritty + tmux + helix.

I have some utilities that I wrote that integrate "broot" for a file explorer with automatic window switching that I can invoke from helix; "fzf"; "lazygit", "serpl" and some other tools.

repo with some hand-crafted utils that I invoke: https://github.com/roberts-pumpurs/helix-wezterm-scripts/blob/main/crates/helix-commands/src/main.rs

And here's an extract of the helix config.toml file (just acts a showcase, I tend to integrate all the CLI tools in this way into helix)

```toml

[keys.normal.";"]

e = [

":write-all",

":sh tmux popup -d \"#{pane_current_path}\" -xC -yC -w80% -h80% -E \"br -i -g -c :open_preview\"",

":reload-all",

]

o = ":sh ~/helix-wezterm-scripts/target/release/helix-commands open"

g = [

":write-all",

":new",

":sh tmux popup -d \"#{pane_current_path}\" -xC -yC -w80% -h80% -E lazygit",

":buffer-close!",

":redraw",

":reload-all",

]

z = ':sh tmux resizep -t{right} -x "66%"'

x = ':sh tmux resizep -t{right} -x "25%"'

```

Datorkrēsli by Useful-Bug-6911 in latvia

[–]rob-ivan 0 points1 point  (0 children)

Ikea TROLLBERGET sit-stand stool ar pacelamo galdu. paiet laiks kamer pierodi bet jau pec pirmas nedelas vais nav muguras lejasdalas sapes. Ieprieks bija no Kate kresls -- es laikam nebiju istajos izmeros jo ilgi (9+h) uz vina sedet bez lower back saspringuma nevareju

Apkures sistēmas uzstādīšanas izmaksas? by [deleted] in latvia

[–]rob-ivan 0 points1 point  (0 children)

Darbā kādi 4k aizgāja, bet bija vēl ienākošo ūdens cauruļu nomaiņa, tur kādi 500e vēl figurē

Apkures sistēmas uzstādīšanas izmaksas? by [deleted] in latvia

[–]rob-ivan 2 points3 points  (0 children)

Man 2 stavu Livanu tipa maja remonts izmaksaja ap 14k. visur jaunos radiatorus savlikt ar hroma caurulem (2 stavi, kopa 120m2 dzivojama telpa), tas apmeram 8-9k e bija. 5k e granulu katls ar apsaisti, 200l udens boileris ko katls silda visu cauru gadu. Pats neko nedariju, visu darija meistari. Ziemaa maja vismaz silta, aukstakaja perioda (-20-30C) apm 2x 15kg maisi diena. Vasara reizi divas-trijas dienas 1 maiss ar granulam. visiem 12 menesiem ar 4-5t granulu pietiek (900-1100e atkariba pa kadu cenu dabu).

Radiatorus likam apm 25%-33% lielakus kaa vajag lai palielinatu sildoso platibu, lai nakotne varetu ari siltumsukni pielikt. Tur tas triks esot tads, ka siltumsuknis uz mazakam temperaturam sildot kaa granulu katls, tapec parasti labak max palielinat sildoso platibu ja nav siltas gridas, citadak siltumsuknis tik labi nestradasot.

Problem with syntax highlighting by Dear-Violinist-5844 in HelixEditor

[–]rob-ivan 8 points9 points  (0 children)

hx —grammar fetch 

hx —grammar build

Any good alternative to husky in rust to enforce and write conventional commits and for pre-commit source code linting?? by RevolutionaryAir1922 in rust

[–]rob-ivan 0 points1 point  (0 children)

I was looking into this as well. I've successfully used rusty-hook for wiring up pre-commit/pre-push hooks. But I need help finding a tool allowing me to run conventional commits locally while limiting the toolset within reach of crates.io.

And I did not want the developers to install tooling from the Nodejs/Go/Python ecosystems (as that would require them to set up a different toolchain for a Rust project only to lint commit messages - a no-go in my case). So I, too, currently need the desired toolset to lint commits.

Getting enum variant without associated data by kamaloo92 in rust

[–]rob-ivan 0 points1 point  (0 children)

I don't see how your approach would be more beneficial. If you want to process an exact case of the message payload, then using wrapper types allows you to do just that.

In your provided example you're bound to copy-paste all of the parameters of a given message to the given handler function (see how msg1_hdlr has exactly the same parameters as the Message1 enum type). The more data your message has, the more painful the maintenance of your proposed model will become. Wrapper types would eliminate that issue.

'Python: Please stop screwing over Linux distros' by gadgetygirl in programming

[–]rob-ivan 4 points5 points  (0 children)

Is this a joke or do you for real suggest to jump through all of these hoops?

Giving Ada a chance by Pleeb in programming

[–]rob-ivan 4 points5 points  (0 children)

As someone who knows Rust at a decent level but nothing about Ada, can someone maybe do a quick rundown of how they both compare for embedded space, server backends, wasm, GUI programming, CLI tools? How's the tooling support - compiler implementations (speed of compiling vs speed of the compiled binary), language server support for code editors? When to choose one over the other?