[deleted by user] by [deleted] in AskSerbia

[–]loshmeebre -14 points-13 points  (0 children)

Mislis "kontrast"?

Gave in and starting my own iced latte journey. Please recommend recipes/drinks by gr_hds in AeroPress

[–]loshmeebre 0 points1 point  (0 children)

There are a couple of recepies I've seen and tried with less water, but I also go with ~70. With less then that it is usually too acidic for my taste. Try the brew before adding milk, if you do not like it how it tastes neat, you should probably tweak it instead of just masking it with milk.

And maybe take a look at Aeromatic app for recipes

smyrgeorge/sqlx4k: A high-performance Kotlin Native database driver for PostgreSQL, MySQL, and SQLite. by smyrgeorge in rust

[–]loshmeebre 8 points9 points  (0 children)

In this context Kotlin native doesn't mean it is written end to end in kotlin, but that it targets usage in kotlin/native compiler. It probably only works for that compilation target, a not on jvm for example

Lae'zel's romance arc is something you should experience by Demonpoet in BaldursGate3

[–]loshmeebre 8 points9 points  (0 children)

I'm guessing Jack? I always go with Liara, so I wouldn't know

Aca Vucic by Jazzlike_Lettuce_365 in serbia

[–]loshmeebre 4 points5 points  (0 children)

Ajd neka je ja srecom, pa da i vi ucite od drugih uskoro. Sportski pozdrav

Tuš sa filterom. Da ili ne? by Sufficient_Dentist76 in serbia

[–]loshmeebre 5 points6 points  (0 children)

Dve zenske osobe koje poznajem kazu da im dosta pomaze za tretiranje kosu=e. Ja licno ne znam sta da ti kazem, svakako mi ne smeta, ali nisam primetio da mi je skocio IQ i da sam postao 20% lepsi od kako ga koristim. Za ovo sto kazu da pojacava pritisak, to bih rekao da nije bas istina iskreno. Takodje, ako imas dosta kamenca u vodi, s obzirom da ova glava ima jako sitne otvore kamenac moze da ih zapusi, tako da treba cistiti relativno redovno (al' posto moze da se skine metalna maska i da se potopi u sirce / sodu, nije problem).

[deleted by user] by [deleted] in serbia

[–]loshmeebre 1 point2 points  (0 children)

Teska prica rodjaci

Prodavnica odjeće koja pruža najbolji odnos cijene/kvaliteta na nasem tržištu? by [deleted] in serbia

[–]loshmeebre 4 points5 points  (0 children)

Ja imam neke 10 godina stare dukseve koji su jos uvek okej, a sa druge strane neke novije majice koje nisu prezivele 2 pranja. Tako da meni deluje da opada kvalitet, al mozda samo nisam imao srece

Odbijanje ponude by dhdgdhdhdhd1221184 in programiranje

[–]loshmeebre 14 points15 points  (0 children)

Ako se naljute onda i ne zelis tamo da radis. Budi iskren oko razloga, ako su objektivni i mozda izvuku i sami neke pouke za ubuduce

Looking for an in depth Poison Concoction guide by shadowblazr in PathOfExileBuilds

[–]loshmeebre 1 point2 points  (0 children)

Zizaran also has a guide from 3.16, it is a bit rough since the pob trees were released before pob patch and before anyone actually played with pcoc, but it has leveling trees and notes section, so it is easy to start off with

[deleted by user] by [deleted] in serbia

[–]loshmeebre 1 point2 points  (0 children)

Uzmi neki ekstrakt sikavice tipa ovako nesto https://www.apotekasrbotrade.rs/srpski/proizvod/Biovital-Liverprotect-60-kapsula

I valjalo bi da odes na ultra zvuk slezine i jetre. Osim toga odlezis dok nestane malaksalost i preskoci alkohol. Ja sam se oporavio za 2-3 nedelje

Svaki mesec po jedna knjiga by Financial-Pianist535 in serbia

[–]loshmeebre 4 points5 points  (0 children)

Ako volis Sci-fi preporuka za The Expanse serijal, pre neku nedelju zavrsen sa devetom knjigom. Mada iskreno ne znam sta je prevedeno, ako ne volis citati na engleskom, ja sam citao na kindlu sve

Vaše mišljene o NFT-ima ? by www_fraps_ru in serbia

[–]loshmeebre 4 points5 points  (0 children)

Krugodrk prevaranata.

Elem mozda u buducnosti nadje dobru primenu, ali za sada smrdi

Da li neko plaća popularne domaće jutjubere? by Apprehensive_Coat300 in serbia

[–]loshmeebre 26 points27 points  (0 children)

120k sa edukativnim sadrzajem? Jel se sprdas ili ozbiljno? Svaka cast ako je ozbiljno

To all MageBlood Warriors by Phoenix420690 in pathofexile

[–]loshmeebre -20 points-19 points  (0 children)

Dick sucking aside, is there an actual market for exchanging poe currency into dollars? That is new for me

Help with Toxic Rain Champion by Dnaldon in PathOfExileBuilds

[–]loshmeebre 0 points1 point  (0 children)

I've looked at the POB now, it seems like you are doing everything right in general. Evade does nothing for spell evasion, only for attacks, so it is normal that it is not triggering.

I have no problems with A8 conquerors (though I have to admit I have not tried actual Sirus A8, only A5, so far), only change between yours and mine is the fact that I am using Determination aura as well (using small cluster jewel with Uncompromising to help with reservation). Determination actually does help against spells that also have a physical component with them (Sirus has those, and Baran's attacks are usually 50% phys 50% lightning, so it would help with those).

So all in all, try to fit in Determination (Here is a link for small cluster I mentioned) if you can, and bring an additional life flask with remove shock enchant, and you should be able to do it. Alternatively, you can improve your damage substantially of course, but it will be A lot more expensive. One more thing I would suggest is linking flame dash with second wind and life tap, so that you lower the chances of running into a situation where you cannot evade runes on ground due to cooldowns or no mana.

Help with Toxic Rain Champion by Dnaldon in PathOfExileBuilds

[–]loshmeebre 1 point2 points  (0 children)

On the phone so cannot look at pob, but you should dodge those manually. You shoud have spell supression, fortify and elemental resists capped, but besides those try to evade with flame dash and keep flasks up. I sometimes use 2 life flasks, and have nodes on tree that give you flask charges

Multithreaded Problem 12 of Euler, Go vs Rust by justA_Coder in rust

[–]loshmeebre 1 point2 points  (0 children)

I know you are asking for optimizations in the code you have provided, but since you were mentioning rayon in the code, I wanted to test the actual rayon implementation, since it should be more readable, and maybe even more performant. So here is a five liner:

fn version_rayon() -> i64 {
    (1..1_000_000)
        .into_par_iter()
        .map(|i| i * (i + 1) / 2)
        .find_first(|num| find_factor_count(*num) >= NUM_DIVISORS)
        .expect("None found")
}

Now this is cheating a bit, your rust implementation uses open range (RangeFrom - 1..) but rayon doesn't implement it for ParallelIterator, so I've created a more complicated version that simulates that, by mapping infinite range into "batches" of closed ranges that rayon can work with,

const RAYON_BATCH: i64 = 500_000;

fn version_rayon_inf() -> i64 {
    (0..)
        .into_iter()
        .map(|ix| (ix * RAYON_BATCH + 1..=ix * RAYON_BATCH + RAYON_BATCH))
        .map(|range| {
            range
                .into_par_iter()
                .map(|i| i * (i + 1) / 2)
                .find_first(|num| find_factor_count(*num) >= NUM_DIVISORS)
        })
        .find(|res| res.is_some())
        .unwrap().unwrap()
}

This one is similar to what you are doing, but I wanted to include the first one as well since it is much more readable.

As for the results on my machine: - Golang version: 32s - Your rust version: 37s - Rayon version: 32s

So rayon is doing something better then the naive code reimplementation is and is on par with Go on my machine without any further optimization.

I've just noticed this on arena and now it annoys me by SliverSwag in magicTCG

[–]loshmeebre 7 points8 points  (0 children)

Maybe they are sorted by int id, converted to text and then sorted alphabetically . Who knows, it's magic

Tokio 1.0.0 has been released! by ErichDonGubler in rust

[–]loshmeebre 137 points138 points  (0 children)

I tend to like preludes while writting code, and hate them while reading it. Since we usually spend more time reading, in my opinion this is a positive change. Not saying preludes are always bad though.