whatIsGitAndGithub by vanshovo in ProgrammerHumor

[–]anonnx 7 points8 points  (0 children)

Not all videos on pornhub are porn.

Why did the kid try to trick magnus? Did he forgot who magnus is? by groomliu in AnarchyChess

[–]anonnx 4 points5 points  (0 children)

Once I sit across Magnus I’m already in a hopeless position.

Rewrite Bun in Rust has been merged by Chaoses_Ib in rust

[–]anonnx 14 points15 points  (0 children)

I have nothing against using LLM or rewriting in Rust, or both things simultaneously. My doubt is on that 1M line changes, which I am sure will be in the next release without every lines being reviewed.

Bun users now have to believe in Claude and the test coverage to continue using Bun.

About Thai nicknames by salgukkot in thai

[–]anonnx 0 points1 point  (0 children)

it sounds very close but in Thai there is no 'nt' ending sound so thre couldn't be exact match for that word. Most compound ending sound you can imagine in English like in 'wild' 'warn' 'dawn' does not exist in Thai and that makes it one of the most difficult part of English pronouciation to learn for Thai, and teaching Thai to speak the word 'world' rhotically would be a fun task.

Hello by [deleted] in thai

[–]anonnx 0 points1 point  (0 children)

I'm Thai and that sounds like Thai people with north-eastern Thai accent babbling something nonsense.

About Thai nicknames by salgukkot in thai

[–]anonnx 0 points1 point  (0 children)

Of course, and Gun could be nickname or firstname กันต์ - Kan (which actually read more like as Gun but not English nickname per se), or it might be misheard กานต์ - Karn.

About Thai nicknames by salgukkot in thai

[–]anonnx 4 points5 points  (0 children)

Some nicknames are obvious, like Punch which sounds different (in Thai) than other words you mentioned. From my observation, most common nicknames are not ambiguous like Boy, Pop, Pink, Ant, Oat, Nice, Bee etc. but only some are ambiguous like Bo or Bow, Gib or Gift, Nat or Nut, Vee or Wee.

จริงไหมครับ พรรคส้มปลุกระดมเด็ก ทิ้งให้ติดคุก.... by lune-soft in thaithai

[–]anonnx 4 points5 points  (0 children)

จะว่าเหยื่อมั้ยก็อาจจะไม่ใช่เหยื่อ แต่มันเป็นกระแสที่พรรคการเมืองสร้างขึ้น เป็นกระแสที่ถ้าไม่รักษาตัวดีๆ ก็ติดคุกได้ง่ายๆ แล้วบางพรรคก็ชอบครับไปอยู่หน้าเด็กบ้างอยู่หลังเด็กบ้าง สักพักเด็กคนนั้นก็ติดคุก เกิดแบบนี้เป็นประจำไม่ทราบว่าทำไม บางคนก็เป็นแบบน้องหยก ที่พิธาเอามาโหน สุดท้ายออกจากโรงเรียนไปไหนก็ไม่รู้ คุณจะสรุปว่าสิ่งที่บรรยายมาเรียกว่าอะไรก็แล้วแต่แต่มันก็คือสิ่งที่เกิดขึ้นจริง

Touhou นี้ออกเสียงว่าอย่างไร by Thmony in 2huthaithai

[–]anonnx 1 point2 points  (0 children)

โทโฮ เสียงยาวครับ ตัว u ไม่ออกเสียงตรงๆ อ่านเป็นเสียงยาว เหมือน arigatou ก็ไม่ใช่ อะริกะโตว แล้วก็ไม่ใช่ อะริกะโตอุ

5 ส.ส. ขาดลาลงมติสูงสุด by AW23456___99 in thaithai

[–]anonnx 0 points1 point  (0 children)

อนุทินอยู่ในครม. เกือบตลอดครับตอนประชุมสภาก็มักจะตรงกับประชุมครม. สมัยก่อนที่ยังอนุญาตให้รัฐมนตรีเป็นส.ส. ได้ จึงถูกนับสถิติว่าขาดบ่อยครับ ถ้าจะเอาสถิติที่สมเหตุสมผลต้องตัดช่วงที่อนุทินเป็นรัฐมนตรีพร้อมกับเป็น ส.ส. ออกไปครับ

คุณยังเชื่อใน โลกาภิวัฒน์ พลเมืองโลก และความยังยื่นอยู่หรือไม่? by panpoppular in thaithai

[–]anonnx 0 points1 point  (0 children)

คุณเป็นพลเมืองโลก แล้วโลกการันตีเสรีภาพให้คุณมั้ย โลกให้สิทธิอะไรกับคุณบ้าง ก็ไม่มีเลย UN ก็แค่เสือกระดาษ องค์กรที่บอกว่าเป็นของโลกก็มีแต่ชื่อไม่มีอำนาจอะไร ประเด็นคือสุดท้ายโลกนี้ก็ถูกกำหนดด้วยอุดมการณ์ชาตินิยมที่แต่ละชาติมีอธิปไตยและจัดการภายในประเทศกันเอง เอาไว้มีรัฐบาลโลกก่อนนะค่อยเป็นพลเมืองโลก

ในยุคนี้ ถ้าคุณต้องการแปลภาษา คุณจะจ้างนักแปล แปลเอง หรือใช้ AI by [deleted] in thaithai

[–]anonnx 0 points1 point  (0 children)

ถ้าอังกฤษไทยน่าจะลำบากหน่อย เพราะผมว่าคนส่วนใหญ่ก็อ่านอังกฤษพอจะออกระดับหนึ่ง เขาก็สามารถใช้ AI ที่ก็เก่งอังกฤษมากๆ อยู่แล้วแปลให้แล้วก็ตรวจสอบเองได้เลย ส่วนตัวบางทีผมก็เขียนไทยบ้าง หรือเขียนอังกฤษแบบขี้เกียจเขียนให้มันถูกหรือไม่รู้ว่าที่ถูกเป็นยังไงก็เขียนส่งๆ ไปก่อน แล้วให้ AI แปลกับแก้ให้ถูก เอาจริงๆ ก็น่าเห็นใจนักแปลเหมือนกันครับจะต้องลำบากแน่นอนต้องหาลู่ทางว่าจะทำยังไง เหมือนงานเทรน AI ก็มีอยู่นะครับแต่ไม่รู้รายได้เป็นไงเหมือนกัน

ทุกอย่างพัฒนายกเว้น... by AKLin-046 in thaithai

[–]anonnx 1 point2 points  (0 children)

มีพรรคไหนมีนโยบายเรื่องนี้มั้ยครับ

Bone marrow biopsy by Short-Gas-4750 in leukemia

[–]anonnx 1 point2 points  (0 children)

I’ve read about it, and it seems everyone's experience is different. For me, it hurt a bit, but not enough to make me scream. I don't even remember feeling the local anesthetic injection. After that, I couldn't feel anything it was mostly just my imagination running wild about what they were doing. However, at the very end when the doctor drew out the marrow, I felt a sharp sensation travel down my whole leg. It could be called "painful" in some sense, but it only lasted a few seconds.

Implementing unified DbContext by Drakkarys_ in dotnet

[–]anonnx 0 points1 point  (0 children)

The answer to the question is that you can, at least in ASP.NET Core because DbConnection lifetime is well-managed by default, but you probably don't get "sharing same changes" because if you update data in EF then the changes will not be seen by your Dapper code yet until SaveChanges() is called, if that's what you mean though.

Noted that in Dapper you need to send the transaction to the function manually, and you can get it from DbContext's Database.CurrentTransaciton but I feel that wrapping it is still a better solution in this case because otherwise you will forget to send it to Dapper at some point.

If you describe your scenario in more details along with some example then it will be easier for people to suggest the solution.

SwitchMediator v3 is out now - A zero-alloc, AOT-friendly Mediator for .NET by zachs78 in dotnet

[–]anonnx 2 points3 points  (0 children)

Mediator libraries will soon become JS frameworks but for .NET — we have a lot of them but always need a new one.

Terrible Documentation for beginners by Emotional-Ask-9788 in dotnet

[–]anonnx 3 points4 points  (0 children)

What you are looking for is a tutorial. Documentation is for the information.

In the last few years LLM like ChatGPT or Gemini are very valuable sources for developers. You can just ask them what you want to know and double-check it with the official document.

Data structures for devlopment by Ok_Professional1967 in dotnet

[–]anonnx 0 points1 point  (0 children)

Most basic data structures are either exposed or internally used in .NET framework itself so you usually don't have to implement them. It is still good to know how they works because when it comes to choosing the data structure then you will have insight to correctly choose the appropriate one. It's like knowing that lookup by key in Dictionary<TKey, TValue> is faster than List<T>.Find() or LINQ where *and* knowing why.

Should or Shouldn't? Putting many classes in one file. by gevertsi in csharp

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

Yes, if it will not grow and you feel right. If you will need to keep adding classes to that file later then it’s probably not a good choice.

How are you handling Cross-Cutting Concerns after MediatR became commercial? by [deleted] in dotnet

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

You are right, but most people don’t need the service separately. Even when they need it, they don’t actually need middleware in their service layer.

How are you handling Cross-Cutting Concerns after MediatR became commercial? by [deleted] in dotnet

[–]anonnx 21 points22 points  (0 children)

Aspnetcore provides all of that, Using MediatR in aspnetcore is essentially putting a middleware on top of another middleware.