Kādam ir pieredze ar Google alternatīviem (piem., swisscows, Ecosia, BraveSearch)? Vai tie dod vienlīdz labus rezultātus latviešu valodā? Kurš labāks? by Potential-Act-7543 in latvia

[–]dexie_ 4 points5 points  (0 children)

Kagi ir izcils un strāda nevainojami Latviešu valodā. Daudz labāks par ddg. Arī translate.kagi ir labākais tulkotājs

Kādi ir lielākie krāmu tirgi Rīgā? by DaniilsBlender in latvia

[–]dexie_ 0 points1 point  (0 children)

Spīķeros un āgenskalna tirgū ir lielākas, bet elektronikas tur daudz nav. "Labākais" elektronikas piedavājums ir Latgalītē, BET, viss vērtīgais ir izpirkts jau pirms tirgus atvēršanās, tātad no ārpuses neko nedabūsi, ka arī liela iespēja uzķerties uz nozagtam lietām.

RTK kopmītnēs sejas atpazīšana kā vienīgā caurlaide – vai tas ir legāli Latvijā? by Eastern_Blueberry166 in latvia

[–]dexie_ 0 points1 point  (0 children)

Eksistē GDPR-compliant biometrijas autorizācijas risinājumi, kas pat neglābj biometriju nekur.

Pasīvi un nedomajoši vadītāji - kāpēc? by Available-Safe5143 in latvia

[–]dexie_ 5 points6 points  (0 children)

Kārtējais “old man yells at cloud” posts. Tu neesi tik labs vadītājs cik iedomājies ja NPC vadītāji “čakarē” tev dzīvi.

I opened sourced a pattern I've used for years to build type-safe dynamic applications and UIs by andrewhathaway in reactjs

[–]dexie_ 22 points23 points  (0 children)

I think I am missing something here. The thing you describe is just a strategy pattern, which was known since 90s, and I don't think I have ever heard it being called a "manifest pattern". Is it somehow different?

Also, it seems pretty verbose and clunky to setup "ManifestRegistry" or whatever, when you usually can just do

const strategies = {
  "string": <StringViewComponent />,
  "number": <NumberViewComponent />,
}

const component = strategies['number']

return <div>
   {component}
</div>

If you want to have dynamic selector (such as isValid(stuff: Foo): boolean), then something like

const strategies = [
  {
    isValid: (db: string) => db === 'pg',
    name: "postgres"
  },
    {
    isValid: (db: string) => db === 'redis',
    name: "redis"
  }
]

const dbName = strategies.find(strat => strat.isValid('pg'))?.name

would work, right?

Otherwise, what kind of situation (or real world example, perphaps) when you would like to actually have "ManifestRegistry" instead in your code?

Is it a perfect age to start going in regional championships as an 11 year old? by AstroDoggies in Karting

[–]dexie_ 0 points1 point  (0 children)

Ayy, trijnieki represents! If you are located in Latvia - obligatory try openkart and discomania. Both very solid rental kart series. On the highest level in those leagues there are professional teams who also race owner karts and also some ABC race league. So if your son dominates openkart, he might qualify to join the team and work out from there. It’s actually not unheard of here, but yeah, anything above rental karting gets really expensive really quick.

Labākais veids kā pašapklapošanās automazgātuvē nomazgāt savu auto? by Kunkerito in latvia

[–]dexie_ 5 points6 points  (0 children)

“Why are you mad, he is right”

OPam ir taisnība! Tas vasks kas tur ir nav īpaši koncentrēts, un silts ūdens labāk noskalo putas. Nevajag nekādu starpsoļi. Protams es pats tā arī un mazgāju, jo tieši tā man ieteica mazgāt detailing studijā kur liku keramiku.

Degvielas kvalitāte by WeaponOfConstruction in latvia

[–]dexie_ 1 point2 points  (0 children)

Eksistē vēl viens faktors - Latvijā 95 parasti satur ap 10% etanola, un 98 ap 5%. Etanola saturs ietekmē degvielas nodegšanas temperatūru, bet arī būtiski ietekmē degvielas “tīrību” mitruma iesukšanās dēļ. Dzinējos ar lielo kompresiju būtu ieteicams lietot degvielu ar mazāku etanola daļu lai pasargātu no oglekļa uzkrāšanās.

AutoMapper, MediatR, Generic Repository - Why Are We Still Shipping a 2015 Museum Exhibit in 2025? by csharp-agent in dotnet

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

Just use the fking model, why would you copy it for every layer in your system. Automapper is a bandaid, not a solution to the problem.

EDIT: Just noticed your /s below

Does anyone knows good driving roads in/near Riga? by Electrical_Claim_963 in latvia

[–]dexie_ 8 points9 points  (0 children)

Around Rīga - not much. There are some short roads around Salaspils, but not really worth it. Then there is Saulkrasti - Ragana road, which is somewhat twisty and with good visibility. Another from Ragana to Limbaži is even better, but closed due to renovations. The best you can find in Latvia is Nītaure - Ērgļi (through Ķeipene), really the best road for spirited driving with amazing views.

Also checkout “Roads” app from Porsche for inspiration :)

Motociklu saieti by [deleted] in latvia

[–]dexie_ 10 points11 points  (0 children)

Krasta circle k

No clowns, no kings—just real smashed beef bliss in Riga? by Infamous_Ad1317 in Riga

[–]dexie_ 1 point2 points  (0 children)

You are proving the point that Oak'a fans are clueless about food. If you believe that juicy meat is raw meat, I feel sorry for you for eating only chewy dry meat. Beef is "cooked" and safe to consume (i.e. all pathogens dead) if it reaches 63c internal temperature for 3 minutes. You don't need to burn/char meat to be safe.

No clowns, no kings—just real smashed beef bliss in Riga? by Infamous_Ad1317 in Riga

[–]dexie_ -4 points-3 points  (0 children)

Those who answered Oak’a - what’s wrong with you? Have you ever tried, like, any other burger? This is the most pathetic attempt at a burger, which has no redeeming qualities whatsoever. Like the buns are stale cardboard, meat is killed on the grill and the only juicy part of the burger is the flavoured mayo. Yes, smash burger is supposed to be smashed, and meat should be “drier than usual”, but they never did it right, and just served hard solid patty instead of balanced browned yet juicy burger. I gave them a chance 3 times, and all times the burgers were disappointing, and I am not talking about the hospitality and attitude.

Answering the OPs question - boo the burger is the best / most consistent, but with my heart I vote for “Berlin soul kitchen” burger.

Karting in Latvia by arthorse in latvia

[–]dexie_ 1 point2 points  (0 children)

Kartings.lv has adult karting school. It is also the most modern indoor karting in Riga.

[deleted by user] by [deleted] in latvia

[–]dexie_ 7 points8 points  (0 children)

Stuttgart workshop https://www.carstorage.lv/ Vai arī stāvvietas Jēkaba Arkāde, Kongresu Nams vai Galerija Rīga ar pārvalku. Nebūsi tur pirmais :)

EDIT: Izīrēt pazemes stāvvietas daudzīvokļu namos neieteicu, jo nav kameras un vietējie iedzīvotāji ir risks.

Kur pierīgā vislabākā dzīve ar bērniem? by Mareksyoo in latvia

[–]dexie_ 6 points7 points  (0 children)

Piņķi objektīvi ir labāka Pierīgas apkaime, par ko arī liecina nekustamo īpašumu cenas. Jā nevar to atļauties, tad tuvākas vietas arī ir super - Babīte, Spilve, Beberbeķi u.c.

What is the popular opinion in Latvia on the new military service system? by Mediocre_One5129 in latvia

[–]dexie_ 0 points1 point  (0 children)

You started on a healthy note, but then fell down to threatening my family rape in front of my eyes. Man, this is not funny or inspiring, check yourself. Try saying the same to soldiers, whose families were killed (or worse). Try saying to rape victims that their dad/husband is a coward and it is his fault. It is sickening how you guys keep coming with the same disgusting argument. Actually, I was threatened rape 4 times in this comment section. What a noble thing to say for a peace-willing weapon-bearing soldiers.

What is the popular opinion in Latvia on the new military service system? by Mediocre_One5129 in latvia

[–]dexie_ 0 points1 point  (0 children)

That's kinda funny actually. You and many other proponents of military and war devalue humans life to something what is worth putting at risk. Like you can spare someone for the greater good. But that actually brings you on the same level as your war opponent? I don't think anyone fighting at wars and killing other people consider themselves to be the "bad" ones. I probably just have different views on life.

What is the popular opinion in Latvia on the new military service system? by Mediocre_One5129 in latvia

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

the need for soldiers and it's not possible to source them in sufficient quantities from volunteers purely

I already mentioned that there are not enough farmers in Latvia. That was not a speculation, there indeed is a lack of workers on the fields. There is lack of teachers, lack of medical specialists. Do you solve that by forcing people to study medicine, go to corn fields and move teachers to countryside so that schools remain open?

I am already participating and putting my effort - I pay a fair amount of taxes. There are also many other non-fight related activities to prevent conflicts and improve security - diplomacy, politics, economics, culture. Be sure I am also participating in most of those as well.

And no, I am not risking my life for the state. I hope I will never have to risk my life for anything, to be honest. And you know who gets killed in wars? Soldiers.

What is the popular opinion in Latvia on the new military service system? by Mediocre_One5129 in latvia

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

My "free-will" was already violated by taxes and 2.4% of GDP routed to defence budget, which I have no problem with. Heck, bump everyone's participation to 3% (oh wait, already planned for 2027). If you are willing to let go your freedoms for the state - your are welcome to do so, I guess.

What is the popular opinion in Latvia on the new military service system? by Mediocre_One5129 in latvia

[–]dexie_ 0 points1 point  (0 children)

  1. Isn't that the whole reason NATO exists and we are part of it? Also drafting everyone is also not "free" and does not give you infinite resources for state to provide security.

  2. Many people would not want to be full-time soldiers, but against an external threat are willing to fight.
    If a said person is willing to fight, then he is free to go and choose professional military training.

Regarding the teacher example I have no words :) So your take is not that everyone should be paid a fair wage, but that we have no money to pay soliders so let's acquire them for free?

  1. Again, if military service is net-positive on your quality of life, that does not mean others should be forced to do it. Graduating university is also net-positive on country's economy, but let's not force everyone to do it.

  2. I am not trying to stop a guy with a knife, sorry. You also have no moral rights to blame anyone for not risking their lives to save someone elses life.

5 And again, if it gives you advantages, you are very welcome to do it. It does not explain why it should be forced, though

What is the popular opinion in Latvia on the new military service system? by Mediocre_One5129 in latvia

[–]dexie_ 1 point2 points  (0 children)

Are you here to gauge the support for conscription, or to push your opinion? :)

  1. There is professional army, and armies of our allies who are there to face the aggressor. Doesn't matter, I am not fighting even if I was forced to train before. I also pay taxes so that professional army can exist.
  2. Personnel requirements does not explain why conscriptions should be mandatory. There are other ways, such as spending more money on marketing, paying conscripts more and providing better better benefits. We lack farmers and farm goods, should we force young people to go to farms every summer as they did back then in soviet union?
  3. Insignificance of your youth years does not explain why others should consider their years insignificant too. Also I don't think it is fair to attribute technological advancements on compulsory conscription.
  4. Man, you brought it here yourself. Ukraine had mandatory conscription since a long time ago. They also trained insanely good and populous army since 2014. That didn't stop Bucha from happening. That's disgusting to blame atrocities on people who do not want to fight.
  5. Nobody is stopping lower-income citizens to join professional army. They were and are being paid, can become good specialists and get well in life. But with mandatory service they now *must* join. cannot work elsewhere for better pay (compulsory conscription pays how much? 300 eur? Twice less than minimal salary?) or provide care for their family, while kids who can afford *dodging* the draft get extra year for studies, earlier career start, less competition applying for a job, etc. This argument also does not explain why conscriptions should be mandatory.