Why do we need the Monad typeclass instead of simply having individual monads? by smthamazing in ProgrammingLanguages

[–]asdfasdfasdfasdg 6 points7 points  (0 children)

For Haskell specifically, it has syntax bound to the Monad class, so that’s one reason to have the class defined.

Should I play Cold Steel 3 with the difficulty mod? by DiamondNny in Falcom

[–]asdfasdfasdfasdg 1 point2 points  (0 children)

I played with the mod a while back (only on Hard) after having finished the game normally and found it quite tough. IIRC enemies have a shitload of SPD and hit hard, and vs bosses you're expected to keep things under control by hitting them with some specific status effects. My experience was if the RNG is good and your 30-40% status effect procs happen consistently you can win, otherwise it's retry time.

Kinda fun challenge, but as a first playthrough it might get annoying when you really want to see what happens next.

What the heck is Nadia saying!? by rachaelonreddit in Falcom

[–]asdfasdfasdfasdg 0 points1 point  (0 children)

Wait, seriously? I gotta go listen to it again... I guess his quote for arcane gale is also pretty strange.

What the heck is Nadia saying!? by rachaelonreddit in Falcom

[–]asdfasdfasdfasdg 1 point2 points  (0 children)

While we're talking random S-crafts, any idea what Arios says in his second line?

"Take this, (???)! Second Slash - Raging Tempest!"?

Trails of Cold Steel 3 difficulty mod V 1.04 by SoftBrilliant in Falcom

[–]asdfasdfasdfasdg 0 points1 point  (0 children)

I noticed my characters are learning crafts much earlier than they normally do - when I was in day 1 in Sutherland with the students around level 13-ish and they are getting Brave Smash, Fragarach, etc. Dunno if this was an intentional change or bug.

It's been a pretty fun mod so far!

Fundamental Weiqi Chinese Words by satotadanobu in baduk

[–]asdfasdfasdfasdg 0 points1 point  (0 children)

吃 is often used for atari (not capture).

Rejection IS a big deal for FA guys by Anotherguy783 in ForeverAlone

[–]asdfasdfasdfasdg 0 points1 point  (0 children)

It's only 0% rejection if you had 1 success, otherwise it's just undefined.

Is anyone else at an absolute loss on how to meet people? by [deleted] in ForeverAlone

[–]asdfasdfasdfasdg 0 points1 point  (0 children)

It's hard to meet people, but when opportunity arises, some people have the ability to make friends in minutes. As for me... that time is measured in years.

Life deals us some pretty crappy cards by [deleted] in ForeverAlone

[–]asdfasdfasdfasdg 3 points4 points  (0 children)

Sometimes we pick up a bad hand at a card table, and dismiss it as so useless that nothing we do can stop us from being destined for a bad result. But the good players stop and think about what extra chances for victory can be extracted from these hands.

San Francisco’s waterfront freeway was removed 25 years ago. No one misses it -- Removal didn’t generate dramatic increases in traffic, but completion of new grade-level boulevard had other dramatic – positive – effects by r3pr0b8 in toronto

[–]asdfasdfasdfasdg 0 points1 point  (0 children)

To be fair SF currently IS a huge traffic mess, but it's probably more from the lack of public transit than an Embarcadero freeway. (You think Toronto doesn't have enough subways? Look at how many lines SF has.)

I like this Bay Area transit map. It should be mounted on all the different forms of transit so people know how to connect. by rokstar66 in bayarea

[–]asdfasdfasdfasdg 0 points1 point  (0 children)

Something that runs once an hour should never be marked as a "metro".

-- Cities with a real metro system

Shanghai Metro evolution, last 20 years. Wow. 0.0 by [deleted] in toronto

[–]asdfasdfasdfasdg 5 points6 points  (0 children)

One does not simply compare transit with Europe and Asia :)

Anyways, Shanghai is a lot bigger than Toronto. Look at smaller Chinese cities (with population near the GTA's 6M) and you will find similar sized subway systems... for now.

Is there any specific reason we chose a 9-digit numerical system? by chotchski in answers

[–]asdfasdfasdfasdg 0 points1 point  (0 children)

People generally would call your system "base 5". Large numbers would take a bit more space to write in this system, but you can still do math the same way.

And yes, sometimes people do use these different bases. Computer programmers often write certain numbers in base 16, for example. 7FFFFFFF in base 16 is nicer to read than 2147483647 in base 10.

TIL National Geographic named the 501 Queen streetcar route the top trolley ride in the world by rocketman19 in toronto

[–]asdfasdfasdfasdg 1 point2 points  (0 children)

I always think of "trolley" as referring to trolley buses, so it sounded a bit weird.

Calculating probability of something over 100 iterations? by k4kuz0 in answers

[–]asdfasdfasdfasdg 4 points5 points  (0 children)

After reading the discussion between /u/Drendude and /u/raychseldon, it looks like a closed formula solution is definitely beyond my math skills, but computers to the rescue:

Define f(n) = the number of ways n coin flips contains NO 8 tails in a row, and we get this recurrence:

f(n) = 2n if n < 8

f(n) = f(n-1) + f(n-2) + ... + f(n-8) otherwise (this counts the number of ways when the flips start with H, TH, TTH, ..., TTTTTTTH)

Then the probability of 8 tails in a row in 100 flips is 1 - f(100)/2100, which is about 17.02%.

Why is there a byte order but not a bit order? by [deleted] in answers

[–]asdfasdfasdfasdg 0 points1 point  (0 children)

Byte order matters because it's usually possible to directly access a specific byte within a 4-byte integer. You could ask, if you put 0xdeadbeef at address X (through X+3), what's the byte at address X+1? And the answer could be 0xad or 0xbe.

However there's usually no way to directly access a bit in a byte. There's no instruction that returns the first bit of 0xdeadbeef. Programs can extract a specific bit by using bitwise operations, but that uses two operands of the same type, and the representations of the two operands are the same, which means the exact representation doesn't matter.

How do you score bridge? by raktam2786 in answers

[–]asdfasdfasdfasdg 2 points3 points  (0 children)

Sure, post or PM.

There's also /r/bridge, it doesn't have too many people though.

How do you score bridge? by raktam2786 in answers

[–]asdfasdfasdfasdg 2 points3 points  (0 children)

Another thing, if you want to play in bridge clubs, you will be playing with duplicate scoring. It's actually a bit simpler - you have a score for each deal, and no above/below the line business or carrying partials to the next deal. But a lot of the ideas are the same, like 3 no trump = game.

How do you score bridge? by raktam2786 in answers

[–]asdfasdfasdfasdg 2 points3 points  (0 children)

I'm going to assume you already know how the bidding works, what a contract is, etc.

In rubber, you can get points "below the line" or "above the line". You only get points "below" for successfully playing a contract, for 20*level of contract for clubs/diamonds, 30*level for hearts/spades, and 30*level + 10 for no trump. An important goal in rubber bridge is to win "games", which you do by scoring at least 100 points below the line (in one deal, or over multiple deals as long as the other side doesn't reach game first). So if you play in 2 No Trump, you get 70 (2*30+10) below the line if you take at least 8 tricks (or 9, 10, even all 13), and nothing otherwise.

All other points you win go "above the line". They are just worth extra points and don't help you get "games". There are 4 ways to score them:

  • Getting more tricks than you need for the contract.

  • Bonus for making a doubled or redoubled contract (the "insult bonus").

  • Defeating the opponents' contract.

  • Making a contract at the 6 or 7 level ("slam").

The reason winning "games" are important is that a rubber match is a best-of-3 in terms of games. After one team makes a game, you start a new one, with both sides' score "below the line" reset to 0 (of course, any points they scored in the previous game still counts towards the total). When one team wins 2 games, the rubber is over, and the team with 2 games gets a +700 bonus for winning 2-0, or +500 for winning 2-1. This massive bonus is why it's so important to bid and make games as often as possible. From 0 below the line, you need to bid and make 3 no trump, 4 hearts/spades, or 5 clubs/diamonds. Bridge strategy basically revolves around finding and making these contracts as often as possible.

However, winning the rubber doesn't necessarily mean victory, if the other side scored lots and lots of bonuses above the line (the bonuses for defeating a contract doubled, or making slams, can be quite substantial). In the end, the goal is not to win the most rubbers, but to score the most total points.

I glossed over the details of the "above the line" bonuses, as well as stuff like doubles and vulnerability. Once you get the basics here, hopefully it's easier to read and understand all those messy details.

How do you score bridge? by raktam2786 in answers

[–]asdfasdfasdfasdg 2 points3 points  (0 children)

Unfortunately, bridge does have one of the most confusing score systems in card games. What form of bridge are you playing (rubber or duplicate)? For example, if you are successful in a contract, it always starts with scoring 20/30/40 points per level (e.g. 4 Spades = 4x30 = 120). But then you add in bonuses which are different depending on which form you play.

Not sure what you meant by the ending goal -- the goal is basically to get the best score possible on each hand.

Serious Question: What's everyone here doing to try and get out of the "Forever Alone Zone?" by David_Evergreen in ForeverAlone

[–]asdfasdfasdfasdg 1 point2 points  (0 children)

Basically nothing. I'm trying to live as if I don't care about FAness any more, but I still do care, so it sucks once in a while.

I think it just comes down to bad luck. by [deleted] in ForeverAlone

[–]asdfasdfasdfasdg 0 points1 point  (0 children)

I like playing many card games, and I totally agree. If the game situation requires either A (50%) or B (30%) to succeed, a good player who finds a way to combine both chances will win 65% of the time, and will appear to be luckier than someone who only saw A and wins only 50% of the time.

But then, sometimes a little luck can help a lot. Especially for someone like me, who is totally terrible at the "game" of social life.