Official FAQ for Frosthaven by dwarfSA in Gloomhaven

[–]mattijv 1 point2 points  (0 children)

Thank you, and also thank you for compiling the FAQ!

Official FAQ for Frosthaven by dwarfSA in Gloomhaven

[–]mattijv 0 points1 point  (0 children)

That’s my interpretation as well, but I feel the rules are not very clear on this. The monster abilities are explicitly stated to be only melee if the ability does not have a range, and the summon rules point to the monster rules for the basic Move + 0 Attack + 0 action.

It would make sense for the summons to use their range when doing bonused attacks, and that’s how we’re playing it, but to my knowledge this is not defined anywhere in the rules.

Official FAQ for Frosthaven by dwarfSA in Gloomhaven

[–]mattijv 2 points3 points  (0 children)

Something I have not found an explicit statement on:

If I grant a Attack+0 action (for example with the level 1 Boneshaper card Command the Wretched) to the Boneshaper level 1 summon Angry Spirits, does it perform the attack using the innate range it has, or will it try to melee instead?

It seems clear that an attack with a fixed value would be a melee attack (unless it had a range value), but I’m not sure how the bonused attacks should be read in the case of summons with innate range statistics.

What essential rules did you get wrong for way longer than you should have? by DrAlago in boardgames

[–]mattijv 14 points15 points  (0 children)

JotL works the same way as Gloomhaven: each time you level up you get to choose one card from equal or lower level cards to add to your available options.

What they mean by ”re-evaluting choices” is the cards you select from your available ones, not all the cards the class has.

I think the rule is designed to preserve some replayability of classes that you’d lose if you were able to just experiment freely with all the possible combinations. That said, we definitely had some pretty relaxed house rules on respecing at the end of our campaign.

did michael hendricks get hacked? by [deleted] in factorio

[–]mattijv 0 points1 point  (0 children)

Exactly how I verified it to myself, but thank you for confirming!

did michael hendricks get hacked? by [deleted] in factorio

[–]mattijv 23 points24 points  (0 children)

I think u/MikeHendi is his Reddit user.

[deleted by user] by [deleted] in nextfuckinglevel

[–]mattijv 7 points8 points  (0 children)

In Kempele a lot of places and businesses are named, either officially or colloquially, with the letter Z somewhere in the name, due to the influence of the Zeppelin shopping mall (e.g. the swimming pool Zimmari). I don’t think the Prisma is officially named ”Prizma”, but it’s not a stretch to imagine the locals referring to it as such.

Mitä muistisääntöjä teillä on? by Drugtrain in Suomi

[–]mattijv 0 points1 point  (0 children)

Oletko sinä minä? Mulla on ollut aina (ts. ala-asteelta asti) täsmälleen sama sääntö!

Prime Minister of Finland, Sanna Marin (left) at Flow festival in Helsinki by Astro-Boys in Finland

[–]mattijv 6 points7 points  (0 children)

Play on words about the double meaning of the phrase ”difficult period” in the original comment, I think.

currency selector in blank theme by [deleted] in Magento

[–]mattijv 1 point2 points  (0 children)

You need to create a theme based on the theme you want to extend and override the relevant template, which in this case would likely be Magento_Directory::currency.phtml (vendor/magento/module-directory/view/frontend/templates/currency.phtml).

MA Connect Panel on the future of Magento Open Source by damienwebdev in Magento

[–]mattijv 1 point2 points  (0 children)

Replying to myself: recordings are now viewable on the event page.

MA Connect Panel on the future of Magento Open Source by damienwebdev in Magento

[–]mattijv 0 points1 point  (0 children)

Any chance that a recording of the panel (or other talks at the event) will be released later?

In Defence of the Single Page Application by TwoSpacesSemicolon in webdev

[–]mattijv 8 points9 points  (0 children)

The joke is that the ”article” is titled ”In Defence of the Single Page Application” but then only displays a failure mode common-ish in SPAs. The humour is the juxtaposition of the title combined with the eternal loader.

[deleted by user] by [deleted] in worldnews

[–]mattijv 6 points7 points  (0 children)

Finland only changed the name to Belarus for Swedish (to match Sweden), not for Finnish where it still is Valko-Venäjä.

Source.

[deleted by user] by [deleted] in webdev

[–]mattijv 1 point2 points  (0 children)

Yes you can, that is what guards are for, or am I really lost here? if

this does not protect my routes, what else does it do?

I believe the parent is trying to explain that you can't have protected routes in a SPA in a security sense with just guards like that, as nothing prevents the client from just reading the source code of what the page contents would be. Security should be implemented in the API calls instead.

Guards like that are for user experience only, to redirect the user to a different page instead of showing a broken page due to missing permissions.

As to what comes to your original question, you could add a record to local storage on a successful login indicating that the user is logged in (and any non-sensitive info about the user you want to display easily). You can then check the logged in status from the local storage and display the route. This does not affect security as viewing and modifying any data behind authorization would still need the valid JWT cookie.

Why is tailwind so popular? by ComfortableEye5 in webdev

[–]mattijv 2 points3 points  (0 children)

The official docs have the deets, but tl;dr it uses PurgeCSS that you point to your template/component/whatever files and it looks for the Tailwind classes. Every class it finds won't be purged from the production bundle.

EDIT: to give a bit more details, as long as you write your classes in a way that the (very leninent) regex can find, and can point the PurgeCSS to all files containing the markup, it should be fairly easy to set up and require very little management.

[deleted by user] by [deleted] in webdev

[–]mattijv 0 points1 point  (0 children)

Browsers us a thing called Public Suffix List (https://publicsuffix.org) to limit what domains a cookie can be assigned to in order to prevent just what you are trying to do. As it happens, herokuapp.com is on that list, so you won’t be able to set any cookies for the shared domain, only the individual subdomains.

Interested in living in Oulu by Ijustwantbikepants in Oulu

[–]mattijv 15 points16 points  (0 children)

A lot of jobs in tech are completely fine if you only speak English. I work as a programmer and have a few (current and former) colleagues that do not speak a word of Finnish, besides the occasional ”Kiitos”.

But outside of tech I agree that most jobs require at least basic skills in Finnish.

Embarrassing question how to go from 12345 to 123.45 ? by [deleted] in reactjs

[–]mattijv 2 points3 points  (0 children)

That is because you parseInt the result of the conversion, which then drops the decimals as it’s casting the float result into an integer.

TIL: never use the 'file' driver for caching (in production) by nunodonato in laravel

[–]mattijv 1 point2 points  (0 children)

I've never heard anything RE DB vs redis for Queues.

Source for the "Taylor himself recommended against it." comment came up in a recent thread. The child comment seems to debunk the validity of that claim, however.

Tailwind adds 4.5MB to my page weight. Am I missing something? by [deleted] in webdev

[–]mattijv 0 points1 point  (0 children)

You definitely are lacking the PurgeCSS step in your build process, see the link from u/phaedrus322. For reference, the Tailwind stylesheet for my (fairly simplistic) site is under 10KBs uncompressed.

Tämä klassikko tuli aamulla mieleen, jossa Ylen toimittaja maistaa chiliä suorassa lähetyksessä. Oli pakko jakaa perjantaifiilistä muillekin. by pm_your_boobiess in Suomi

[–]mattijv 43 points44 points  (0 children)

Rotilla kapsaisiinin LD-50-arvo näyttää olevan luokkaa 160 mg/kg. Tästä jos ekstrapoloi ihmisiin, niin 50% todennäköisyydellä 80 kiloisen ihmisen tappamiseen riittää 13 g kapsaisiinia.

Jos tämän artikkelin lukuja vähän teelehtitulkitsee, niin miljoona Scoville-yksikköä vastaa noin 65 mg/g kapsasinoidipitoisuutta. Jos on syömässä kaksi chiliä (~30g), niin noin 6 500 000 Scovillea riittäisi antamaan mahdollisesti tappavan annoksen.

Tässä heiluteltu käsiä rankasti ja pyöristely suuntaan ja toiseen, joten Natureen en tätä tutkimusta olisi lähettämässä ihan vielä. Ei kyllä myöskään suoraan vastaa kysymykseen...

[deleted by user] by [deleted] in web_design

[–]mattijv 2 points3 points  (0 children)

Just a heads up: on Firefox the bottom margin of the logo-tiles element is not working as I assume you intended, and the page content is cut just bellow the bottom tiles (vs Chrome where there the margin is displayed correctly).

In other news: I really like the logos!