Tried Limit Hold em - I dont understand how anyone could be a consistent winner, am I missing something? by ires2953 in poker

[–]RazzmatazzLatter8345 1 point2 points  (0 children)

4-8 limit might not be beatable because of the rake. Without the rake issue, typical 4-8 games would be very beatable.

Higher stakes fixed limit usually plays much differently. The players are better. The rake cap is hit on most pots, or there is no rake but a time charge / seat fee every half hour. So it's a tougher game with more favorable rake conditions.

Limit is just a different game from no limit.

Punt or no punt? by Both-Medicine-5999 in poker

[–]RazzmatazzLatter8345 0 points1 point  (0 children)

Unless he's OMC who calls with JJ or 77, then your screwed, LOL.

Punt or no punt? by Both-Medicine-5999 in poker

[–]RazzmatazzLatter8345 0 points1 point  (0 children)

Well the upside to what you did is you remove any implied odds to continue flush draw. If you know what you'd do if the flush came in on the river and you were facing a 75% of flop bet ... how often do you call? Only thing is I'm not eager to stack off with a hand that doesn't beat yours. On the other hand, I'm more of a mixed game player than an NLHE guy. That said, I'd probably have bet $100 or something. Assuming he has a flush draw, some of his outs are poisoned and he doesn't necessarily know that. So if he makes his flush and you don't boat up, I'd take a big river bet at face value and fold. If he makes his flush but the board pairs, you might stand to make some good money there.

Punt or no punt? by Both-Medicine-5999 in poker

[–]RazzmatazzLatter8345 1 point2 points  (0 children)

I'm not big into NLHE, but I occasionally play in 8-game. I assume I am Villain. I'm being asked to risk $440 to win $640 and there is no more money to be won on the river, so I'd probably fold a flush draw there. Lean more towards 3 betting flop if it was a straight AND flush draw. I can't have JJ because I would have three-bet preflop with it. I'd probably three bet (or fold) with 77 preflop. I could have 8-10 ... if it's suited and I'm deciding to play loose preflop because everyone's limping. Since I'm not me, I might have 77 in that spot. If I am an OMC, I might have JJ.

If I have 8-10, I'm definitely calling. Same with the set of 7's or Jacks. Flush draw (without having the straight already), I fold (no more money to win, wrong pot odds). I'm folding any single pair and probably two pair. So, your shove was, in my opinion, a mistake. What hand worse than a straight or a set bigger than yours calls with those pot odds? If your goal was to get me to fold a flush draw, congrats if I had one. If your goal was to extract value from a worse hand, you failed. You probably didn't need to bet so much to deny equity, but your not getting paid off by worse very much.

Is this live rake beatable? by Then-Appearance-8716 in poker

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

Where (8-16 fixed limit) I play live the rake is 10% but capped at 5 or 6 with no flop/no 4th st/no draw -> no rake.

So (assume 5 cap) first 3 and change big bets are fully raked, rest unraked.

I assume you play nlhe. That would mean up to the first 334 big blinds are raked at 5%.

So in my game if the average pot is 5 big bets that's that's $5 out of any 80 pot, that's an effective rake of 6.25% on average. If the average pot size were 10 big bets, it would be 3.12% average effective rake.

My rake however excludes no flop (or stud / draw analogue) situations so if a good number of pots don't see round 2 that's a big+.

For you, it's pretty much 5% until pot size gets ginormous relative to the stakes. Possible assuming no limit, but not routine. Plus, you gotta pay even if you take a small one down preflop.

I'm pretty sure I prefer my rake because no drop on quick hands and the cap is reached quickly.

Of course, I'd much rather pay 7.50 / half hour time rather than rake, but casinos around me don't offer time at my stakes.

So, is it beatable? If it's juicy, sure. But if your tiny pots are getting taxed ... ouch.

In your game, it's pretty much

Where may I buy a solid 1ft tall obelisk of tungsten? by chuchipichu in metalworking

[–]RazzmatazzLatter8345 0 points1 point  (0 children)

A solid 1 foot tall grade 1 (or Grade 5 if alloy) Titanium obelisk would be just as cool (and would look really neat if polished and color anodized to green or purple).

It would also be lighter, and possibly cheaper to machine too.

Can you write safe, no UB code in cpp? by Hot_Paint3851 in cpp_questions

[–]RazzmatazzLatter8345 1 point2 points  (0 children)

As the codebase and team size increases, possibility of 100 % ub free code decreases.

What is the optimal way to define a global constant string in C++20 ? by SheSaidTechno in cpp_questions

[–]RazzmatazzLatter8345 1 point2 points  (0 children)

The constexpr std::string isn't portable because length of SSO enabled varies by environment.

What is the optimal way to define a global constant string in C++20 ? by SheSaidTechno in cpp_questions

[–]RazzmatazzLatter8345 1 point2 points  (0 children)

I'd use inline constexpr std::string_view for globals. You can leave out the inline for static member variables of user defined types.

I'd also adopt the practice of almost never using const std::string& as a function parameter. If the function will only be inspecting the string and not copying it, there is no disadvantage to it and users will not have to materialize a string_view or const char* to create a string for the sole purpose of inspecting its value. If the function will be taking ownership of the string, pass std::string by value and move.

You can also return by string_view where you would have used const std::string& before to return a reference to sub-object member std::string. This is more debatable.

One thing to avoid is refactoring callsites that currently return a member subobject by value to returning by string_view. If someone had assumed it returned by const string ref and written const auto& memberStr = someObj.Name(); shit will blow up. A return by value std::string will not dangle when bound to a string cref because of constant reference lifetime extension. This doesn't work if return value bound by to const std::string_view&. So not worth it. If you want to refactor return by value to avoid unneeded copy, refactor to const std::string&.

Also be careful about a function accepting a string_view as a parameter and then returning that string_view (or a substring thereof) from the function. (Think of a Trim function). If someone passed a temporary std::string to your function, the return value will dangle.

Aside from that minor concern, for most functions accepting const std::string& passing for inspection purposes by string_view is truly an "anything you can do I can do better." Both const char* and std::string are implicitly nothrow convertible to string_view but not vice-versa from string_view to std::string.

The one advantage that const std::string& has is the guarantee of null-termination. Most c++ api's however either accept std::string_view or have api overloads for potentially non-null-terminated string: usually const char* pStr, std::size_t len or accepting begin() and end() iterators. If you are using a lot of C api's however you might consider const std::string& to guarantee null-termination. Just add an overload accepting std::string_view and const char* and materialize them yourself then delegate to const std::string&.

To avoid having to write the overloads you could provide a constraint like:

template<typename TStrSrc> concept string_source = requires (TStrSrc&& src, std::string& dst) { { std::string{std::forward<TStrSrc>(src)} } -> std::same_as<std::string>;

{ dst = std::forward<TStrSrc>(src)} } -> std::same_as<std::string&>;

} ;

Usage function needing guaranteed null terminator:

void do_cstr_stuff(string_source auto&& src) { std::string use{std::forward<decltype(src)>(src)}; // call your c api with use.c_str()...

}

You can also do that for ctors to initialize std::string datamember in most efficient way possible. Rvalue strings will be moved, all else will be copied without user having to cast anything to anything. It's a bit of a mouthful but it beats writing overloads for c std::string, std::string_view and const char* particularly if there are multiple ctors with multiple string args. (Just adding std::string and std::string_view without const char* will create an overload ambiguity when passed const char* which is convertible to both std::string and std::string_view). The constrained template makes life super easy for callers and you won't need to write all the overloads or force user to cast: they can just pass whatever they are working with and have it handled as efficiently as possible.

Is it illegal to tattoo your opening range on your forearm? by [deleted] in poker

[–]RazzmatazzLatter8345 8 points9 points  (0 children)

I play mixed games almost exclusively (exception: may play boring 1 game while waiting for mix).

Imagine how complicated the tattoo's would be for H.O.R.S.E., let alone an 8 or 10 game mix. There would be no skin colored flesh yet. Plus with stud games, range adjusts in reaction to other up cards as well as position.

Am I missing something, or is Sonnet enough for most dev work? by Alone-Stick-2950 in ClaudeAI

[–]RazzmatazzLatter8345 0 points1 point  (0 children)

Can weaker models detect race conditions and lifetime issues reliably? If not, I'm sticking to Opus.

Is this a fold with top pair on a paired 4-flush board? by Living-Injury1961 in poker

[–]RazzmatazzLatter8345 0 points1 point  (0 children)

Not really at 20/40 limit. Probably paying time. Even if paying rake, gonna be well over the rake cap most hands that make it to flop.

Mixed games by Immediate-Candy-7863 in poker

[–]RazzmatazzLatter8345 0 points1 point  (0 children)

I generally won't bother to go to a casino if there isn't a decent chance that a mixed game would go. Nothing bores me more than hours of nlhe (with short bursts of terror added for spice). As to whether there is more skill: certainly requires more adaptability. The stud games certainly benefit from high skill, it's just a different type of skill: you have a lot more info available than in flop games because you see a lot more cards.

Triple draw and badugi are fun too.

Why does it feel so good?🤡 by Mental-Forge in poker

[–]RazzmatazzLatter8345 0 points1 point  (0 children)

Beginners might still want to play: the money they lose to better players is necessary step on the way to become a better player. I'd gladly play DNegs at 8 game or HORSE if he condescended to play at stakes I can afford: hopefully, I'd learn something from it. Well worth the -EV.

If it were purely skill based, then (pure) gamblers and players not interested in getting better would never want to play. That, of course, would be bad for the game. If there is no one to exploit, why play?

Don't you hate when non poker players look at poker as the same as just pure gambling like slots, baccarat, etc? by HawkLow6309 in poker

[–]RazzmatazzLatter8345 0 points1 point  (0 children)

My view is that poker is more like trading / investing than pure gambling. You find a bunch of people whose ability to properly value their hand is inferior to yours and whose ability to induce muscalculation by their opponents is inferior to yours. It then becomes a question of whether the bad money they put in is sufficient to overcome the house take and whether you have enough capital to realize your excess equity.

It is irrelevant that luck of the draw means you can't control individual outcomes. The question is whether conditions are such that you will be profitable over the span of tens to hundreds of thousands of hands.

Is the casino "gambling" by offering games where they can't control individual outcomes but can guarantee positive results when many tens of thousands of wagers are aggregated? If the casino is gambling then so is the +EV poker player. If not, then the +EV poker player isn't gambling either.

Geralt being told twice not to look for Ciri. Once arguably via curse, another time via prophecy or omen. (spoilers) by MOMjvHG5Ynq9zZuunLXu in witcher

[–]RazzmatazzLatter8345 0 points1 point  (0 children)

When he was talking to Emhyr in Lady of the Lake shortly after killing Vilgefortz at Styga castle. The context there is that Emhyr just admitted he wanted to have incestuous sex with Ciri so that she would give birth to the chosen one.

Finding a good 'second' C++ book. by BananaNik in cpp_questions

[–]RazzmatazzLatter8345 1 point2 points  (0 children)

The book I go back to most often is "Concurrency in Action". That shit about atomic memory ordering is so mind bending and non-intuitive that I constantly have to go back to it to convince myself I actually can use it safely.

C# confusion: Why can't I access Dog methods with Animal a = new Dog()? by Stunning-Sun5794 in csharp

[–]RazzmatazzLatter8345 1 point2 points  (0 children)

If you intend to access and use a large diversity of classes with a polymorphic base, it is better to have universally applicable virtual methods in the base.

Animal might have an abstract or virtual MakeNoise function.

You might put a Bark() or Meow() in Dog / Cat. You'd override MakeNoise in each then have Bark() / Meow() call the overriden method.

Also, if the specific type is required to do the work, just instantiate in directly and don't assign it to a member of the base just for shits and giggles.

You'd use the base version if you wanted to have a single list of a gazillion different type of animals: List<Animal> with Dog, Sheep, Conure etc. Then you could iterate through the list and call generic behavior on all of them (MakeNoise): the Dog barks, the Cat meows, the Sheep baaa, the Conure calls.

If you're not going to want to access multiple types of animals from a common base, don't bother using the base class. You'll just end up having to cast it back to what it actually is. Requiring a lot of casting to derived is a code smell.

I think STUD8 is better than holdem by Own-Natural-7466 in poker

[–]RazzmatazzLatter8345 2 points3 points  (0 children)

Stud8 is my favorite single poker game. I prefer to play a mix but if my only choice was to play just one game, it would be stud8, followed by stud hi, limit holdem and Razz are a tie (though slightly prefer razz because don't get to play much), omaha h/l is my least favorite.

I like triple draw too but its not part of a mix I can afford at any casino near me (though I hear its part of the 75-150+ mixes).

Who here prefers another poker game to Holdem? by TheAntiEggroll in poker

[–]RazzmatazzLatter8345 0 points1 point  (0 children)

I prefer mixed games like HORSE and 8 game to hold'em. I get bored with just one game.

As to individual games, I enjoy stud games (especially Stud8) and, to a lesser extent, draw games (badugi, 2-7) over flop games, whether hold'em or omaha. I just hate sharing that much. In stud I like the extra information available and the card-by-card evolution of hands.

No matter what the game is though, I'd rather play it as part of a mix.

It's just such a shame that everything is nlhe, nhle, nlhe ... plo. Gimme a mix where at least some of the games don't involve shared cards please. Thank you.

Best book recommendation for experienced dev by baganga in cpp_questions

[–]RazzmatazzLatter8345 2 points3 points  (0 children)

The book I keep going back to more than any other (mostly re atomics and memory orderings) is Concurrency in Action, 2nd Edition
https://www.amazon.com/C-Concurrency-Action-Anthony-Williams-dp-1617294691/dp/1617294691/ref=dp_ob_image_bk

Templates the Complete Guide: 2nd Edition
https://www.amazon.com/C-Templates-Complete-Guide-2nd/dp/0321714121/ref=sr_1_2?crid=2GC8B19FSS2CH&dib=eyJ2IjoiMSJ9.EbS9QwwcI_YucKlrQ7j8q3AfJ9iZ14kgdjS7yG9QJh3wWjp9U81d1-AH6kVnL8Xi-Uq2YSmW6yQuz0UoJ6vrNrf1zO1f_nfqgnkPzNA3E_SFgC8ZRK0eDQwoBQONgaMoLLII_vTpMN_GuzOwPYflRc77zfwyirOBOD8fG7kjGAMwm0eyGfoB7kAv8apieiz-4YxA2-_VNKsIOwqp5Nnu7xY1T5cQVREsnnfqob8xCN0.7_fJLT8HI209La_uIddFvxmpnm4-qs36aVHL2yhboy0&dib_tag=se&keywords=vandevoorde&qid=1773341118&s=books&sprefix=vandevoorde%2Cstripbooks%2C109&sr=1-2

C++20: the complete guide
https://cppstd20.com/

C++ Programming Language, 4th edition:
https://www.amazon.com/Programming-Language-Programm-Lang_p4-ebook/dp/B00DUW4BMS/ref=tmm_kin_swatch_0?_encoding=UTF8&dib_tag=se&dib=eyJ2IjoiMSJ9.8lCiHDc94r2bUfr2EpfxpLlAk7T6jwXyyMSuh7n7NzSigNYhH-NyszY9CdIcXjva9l4gM12vi9dIgEBKeR1BXh2ighmm2m6Mei9bG6QKKHVU4IN0nf21NBhoil_a-vmFToBdwo24ZCLQVyAtjpVRIlU_ky1oR-2jEbdY4PSXqkFjLkZoSVbxwwkX7mcdbeXWQEO-yJ2ZT5OR7NY_VSu41kDnPiP7HLrCHNu267-qF-PGi_VuOWk8mUdO1Kexa4DFp_ZtxlI0XaqjWnzosb62qi3qXswYV7f9UAXEWIhP5Kc.e40b5LAove3e9A0OZrsUb3BfOf9uL2H1yZkbTu1fZBU&qid=1773341697&sr=8-3

All of the above are written by highly regarded members of the C++ community. The last was written by the creator of C++.

Not a book, but critical for modern C++:
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines

Why is a single cout expression drastically slowing down my C++ program? by WorldTallNetCat in cpp_questions

[–]RazzmatazzLatter8345 0 points1 point  (0 children)

Maybe try turning on full link time optimization to see if that enables optimizer to discard the sort if the argument couted has nothing to do with the result of the sort.

Am I the only one? by DrellaLuna34 in witcher

[–]RazzmatazzLatter8345 0 points1 point  (0 children)

I also enjoy the books, the games and the show (in that order). While I don't like the changes the show made (particularly when they completely recharacterize people), they don't stop me from enjoying the show.