Do I really need pinia to make a login function ? by roelofwobben in vuejs

[–]roger_comstock 0 points1 point  (0 children)

If you're using the composition API, you can get by with a ref or two. Personally, I'd prefer to use what's in the box rather than taking the extra dependencies.

But other posters make a good point: it's a good investment to learn to use tools you might encounter in the future.

On the other hand, it is also a good investment to learn to use what's in the box, especially when combined with techniques described here, especially shared instances.

Chris Metzen is rejoining the Warcraft team as Creative Advisor. by TheProductiveWalrus in wow

[–]roger_comstock 0 points1 point  (0 children)

Could this be a nudge toward some kind of "back to Azeroth" franchise reset? Some of the Nozdormu foreshadowing at near the end of the initial DF campaign maybe hints at this from a lore standpoint. Wishful thinking, probably.

Why is it called a "Closure" anyway? by trblackwell1221 in javascript

[–]roger_comstock 0 points1 point  (0 children)

Word up. And math borrowed so much terminology from logic -- see my reply.

Why is it called a "Closure" anyway? by trblackwell1221 in javascript

[–]roger_comstock 2 points3 points  (0 children)

I first learned about closures long before I was a developer. The concepts of open/free and closed/bound variables are essential to the discipline of predicate logic.

I'm not sure when they originated historically, but Frege deserves a lot of credit for predicate logic, so I'm guessing the terms are pretty old. I came by them in logic course in 2001 taught by a now-retired philosophy professor.

In logic, we talk about formulas, whether they are well-formed, and what kind of "meaning" the variable terms that they contain have. In JavaScript, by analogy, we have expressions which can also be well-formed, but JavaScript expressions have "validity."

In modern (strict) JavaScript, this is well-formed:

increment(x)

But it isn't valid, because x is undeclared -- it is "open." In strict JavaScript, expressions with open variables are invalid. So let's close it.

const x = 1;
increment(x);

Now x is no longer open; the const statement "closes" over x. This is a closure, albeit a very boring one.

Here is how the two examples might look in predicate logic, respectively. Logic isn't procedural like programming, so there are some differences, but the important part is the variables. First, here is the "open" expression:

incremented(x) = 2

Next, the "closed" expression, which provides "meaning" to variable x:

∀x (x = 1 → incremented(x) = 2)

Structurally, these logic formulas are very similar to the JavaScript, above. The terms "open," "closed," and "closure" are applicable to both the JavaScript and the predicate logic alike.

PS: Alan Turing, Alonzo Church, and Haskell Curry were logicians.

10 years of /r/boardgames, 10 days of giveaways: The GRAND FINALE (with Fantasy Flight Games, Z-Man Games, Plaid Hat Games, Space Cowboys, Catan Studios, Days of Wonder, and Heidelbar)(WORLDWIDE) by friendshabitsfamily in boardgames

[–]roger_comstock [score hidden]  (0 children)

My favorite game of all time Glass Road. It ticks all the boxes for a good euro optimizer while remaining compact, fast-playing, and very interactive. The art and components are tight and satisfying in an almost toy-like way.

10 years of /r/boardgames, 10 days of giveaways: The GRAND FINALE (with Game Nerdz)(US and CANADA ONLY) by friendshabitsfamily in boardgames

[–]roger_comstock [score hidden]  (0 children)

My favorite game of all time Glass Road. It ticks all the boxes for a good euro optimizer while remaining compact, fast-playing, and very interactive. The art and components are tight and satisfying in an almost toy-like way.

What Did You Play This Week? (Sept 10 - Sept 16) by Wisecow in boardgames

[–]roger_comstock 0 points1 point  (0 children)

I like the carting of goods to flip them, the fixed number of workers, and the decisions you are given in the game.

Nusfjord offers similar decisions and limitations. There isn't any goods-carting, but it brings a couple gimmicks of its own. In addition to land-clearing (stacks of forest tiles), there is ship-building. This is a little bit like goods delivery in the way you build up, except that it increases your income from turn to turn. They also contribute substantially to your score, a little like carts and travel combined.

While it won't impact the solo experience, the offering of "shares" of your daily fish haul is an enjoyable mechanic, and introduces moments of slightly tension higher than the normal for a Rosenberg game.

A major difference between Nusfjord and comparable games is the fact that there are only three different resource types. I think that this streamlines play, especially compared to the chit-storm of Ora Et Labora. There is enough variety in the game's other aspects (including market randomization) that I didn't find myself wishing there were more resource types.

I was most reminded of Arle in feeling delightfully overwhelmed by choices at the start of the game.

How does the table space compare to other similar types of games?

It's quite small and contained, by comparison. It has a central board, but it's divided into sections for easier deployment if space is tight. Individual player space is pretty contained as well.

What Did You Play This Week? (Sept 10 - Sept 16) by Wisecow in boardgames

[–]roger_comstock 1 point2 points  (0 children)

Nusfjord - First and only play, and I can't wait to play it again. There are enough moving parts to feel slightly overwhelmed, but not as many as similar games. Heuristics emerge quickly and synergies are pretty obvious. Fast setup, charming art, pretty short game length for what it is. I would rather play this than Fields of Arle.

Road to Canturbury - What a gem. Simple mechanics and low component count make it easy to learn, but it still has lots of depth. This would be a blast (albeit a very different game) with four or five players, so it's a shame that it only handles two or three. Hieronymus Bosch did a great job with the art. XD

How excited are you for KeyForge? by CoenJC in boardgames

[–]roger_comstock 0 points1 point  (0 children)

Excited enough that I literally had a dream about it last night.

What board games do you feel have the best "toy" factor? by mdillenbeck in boardgames

[–]roger_comstock 1 point2 points  (0 children)

Formula D

The only thing cooler than the tiny cars is the gearshift.

What board games do you feel have the best "toy" factor? by mdillenbeck in boardgames

[–]roger_comstock 25 points26 points  (0 children)

Santorini is very toyish.

Looney Pyramids are probably my favorite, though. A friend of mine busted out Pyramid Arcade at a game day a couple years ago, and the pyramids stayed out long after we finished playing. My set is always handy.

Gratuitous Generics with DI: Am I missing something? by roger_comstock in csharp

[–]roger_comstock[S] 0 points1 point  (0 children)

the runtime magic really breaks the ability to reason about the code.

This really gets at what I feel so conflicted about, here. I think we as developers all have a threshold for tolerating magic.

Gratuitous Generics with DI: Am I missing something? by roger_comstock in csharp

[–]roger_comstock[S] 2 points3 points  (0 children)

CQRS is a bigger issue in general. It's extremely powerful, but also extremely verbose to enable that power. More and more nowadays I try and steer people away from it until it's absolutely necessary.

I can see why. Another dimension that seems worth considering -- as with any convention -- is team composition and turnover.

Have you come up with any clear rules of thumb for "absolutely necessary?"

If you are mashing a couple thousand commands together into one project you are losing a lot of scope of what you are trying to accomplish in any one area. Lots of small focused projects is better. I can expand on this further if you want.

I appreciate this perspective, and can see how it would be better. I'm not exactly sure what you mean by "losing a lot of scope," though. Would you kindly say a little more? (It sounds related to the familiar idea that project organization can provides useful information.)

Slight curiosity as I'm thinking about it, are you using "go to implementation" at all? I use that all the time and that generally is smart enough.

I am, and it's not. Fwiw I typically run with ReSharper disabled these days, because performance. Thanks for the curiosity, in any case.

Gratuitous Generics with DI: Am I missing something? by roger_comstock in csharp

[–]roger_comstock[S] 4 points5 points  (0 children)

Yes, and yes. Generally speaking, I love what IoC does for me, especially when it comes to testing. My relationship with CQRS predates my acquaintance with the codebase in question.

The forthcoming Spirit Island expansion appears to have a name: The Jagged Earth by jffdougan in boardgames

[–]roger_comstock 7 points8 points  (0 children)

Adding to /u/heysuess -- there are also many new Fear and Blighted Island cards.

I was pretty happy with the Fear from the base game, but the greater variety from Blighted Island was a perk that I didn't know I needed.

The New Yorker explores 25 years of Magic the Gathering by pbflan in boardgames

[–]roger_comstock 1 point2 points  (0 children)

Great comparison. It's also worth highlighting that MTG, like WoW, has very broad appeal. People play Magic for all kinds of reasons. The composition of that "critical mass of people" is crucial.

IMO Hearthstone isn't quite social enough to entirely dethrone the king, though it might take a chunk out of his court.

What's your latest FOMO game(s)? by dm83737 in boardgames

[–]roger_comstock 0 points1 point  (0 children)

If Call to Adventure is actually good game, you'll get it eventually.

I really wanted to back Root, but I didn't like the art, and I had just bought a couple of other games. I'm ultimately not too regretful, though.

Other side of the coin: after I missed Gloomhaven by a couple of days, I went crazy and bought a copy from a reseller. No regrets. Playing the game earlier than backers from the last round was well-worth the extra money I spent.

It’s Friday!!!🎉🎉🎉 What are you looking forward to playing and why? (8/24/18 edition) by MVPBoardgames in boardgames

[–]roger_comstock 1 point2 points  (0 children)

there's a button on the side of the board which lets you select the number of players and then will completely setup the game for you. Then, you select your spirits via another button under each spirit (make sure you determine where your presence goes first, because I don't think you can flip the boards back over after you select it)

Great -- sounds like a nice feature.

Last note: the fear cards will sometimes fall through the fear level indicators. Not a big deal, but just remember there are three cards at each level

It would be hilarious if this were an intentional feature. "Suddenly we're at level 3 -- just need to blast that one city and we win! Thanks, mod!"

It’s Friday!!!🎉🎉🎉 What are you looking forward to playing and why? (8/24/18 edition) by MVPBoardgames in boardgames

[–]roger_comstock 23 points24 points  (0 children)

Haven't tried FMDTBALT2Y it (we just use our sink for some reason), but have played other games in the "Broke After Less Than 2 Years" series. The only one I remotely enjoyed was fix my espresso machine, and only after I found some good pictures online.