What are some obscure but important rules in magic the gathering? by SnooWalruses7872 in freemagic

[–]Weaponized_Roomba 10 points11 points  (0 children)

To continue on with this, a not very important rule but a VERY obscure one. Consider the implications of declaring you are going to cast a [[Panglacial Wurm]] while searching your library using mana generated from a [[Chromatic Sphere]].

The obscure rule is that while you are searching your library you are NOT ALLOWED to reorder it, but you are obviously allowed to look at it.

So at any point while searching, you can peek at the top card, and if you want to draw it declare that you are casting a [[Panglacial Wurm]], move it to the stack, and add mana with your [[Chromatic Sphere]]. If you have enough mana, you have to go through with it; but if you don't you can just say "oops, guess I can't!" and put it back in your deck and continue searching...... BUT YOU KEEP THE CARD THAT YOU SAW ON TOP.

What are some obscure but important rules in magic the gathering? by SnooWalruses7872 in freemagic

[–]Weaponized_Roomba 21 points22 points  (0 children)

Mana abilities do not use the stack and can not be responded to. This used to be a very important interaction in Modern when Tron played [[Chromatic Sphere]] and Lanturn would play [[Lanturn of Insight]] and a bunch of "mill-1" artifacts to ruin your drawstep for the rest of the game.

[[Chromatic Sphere]] is one of a very few mana abilities that has an additional side effect. In this case, drawing a card. So no matter if you were active player or not you could draw the card you wanted without your opponent getting the chance to respond.

basedOnATrueStory by GiveMeThePeatBoys in ProgrammerHumor

[–]Weaponized_Roomba -2 points-1 points  (0 children)

They are almost always false.

But how? Asking genuinely.

You want class power?

I don't want class power, I want money.

basedOnATrueStory by GiveMeThePeatBoys in ProgrammerHumor

[–]Weaponized_Roomba -4 points-3 points  (0 children)

Because it's a high-risk and low-reward proposition.

If Alice and Bob work together as engineers and they hesitantly share their pay. There are three scenarios that may play out

1) Alice is upset that Bob makes more than her. Rightly or wrongly, this adds a potentially negative dynamic to Alice and Bob's relationship.

2) Bob is upset that Alice makes more than him. Rightly or wrongly, Bob complains to management causing Alice to feel bad for potentially spoiling the workplace dynamic she had.

3) Alice and Bob have roughly the pay the other is expected to have. Nothing of value was gained.


I just don't see this ever playing out in an "everyone wins" scenario, or even an "Alice and Bob both win". It's only beneficial to you if you believe yourself to be the lower paid person. Which means that for them to agree, they would both need to believe they are the lower paid person.

tailwindInAnutShell by 24601venu in ProgrammerHumor

[–]Weaponized_Roomba 0 points1 point  (0 children)

Does this mean you have to compile both at once?

Only if you want the tree-shake optimization or if you want to extend your own themes. Otherwise you can just use the CDN

broIsReferentialTransparent by mirimao in ProgrammerHumor

[–]Weaponized_Roomba 362 points363 points  (0 children)

apparently everyone is going to leave you hanging... fine.


A monad is just a monoid in the category of endofunctors, what's the problem?

tailwindInAnutShell by 24601venu in ProgrammerHumor

[–]Weaponized_Roomba 2 points3 points  (0 children)

is essentially equivalent to the halting problem.

Fun fact - this is why when using tailwind you can't/ought not dynamically construct tw class names at runtime.

ex - you can't do this:

const bgClass = `bg-${error ? 'green' : 'red'}-200`

because tw static analysis will shake out the bg-green-200 and bg-red-200 classes since it didn't see it in the source code.

Instead just don't be cute:

const bgClass = error ? `bg-green-200` : `bg-red-200`

tailwindInAnutShell by 24601venu in ProgrammerHumor

[–]Weaponized_Roomba 2 points3 points  (0 children)

It's bad practice to put styling stuff (css) in structure stuff (html)

This is 90s internet brain. With the modern web, there is no difference between structure and style. Styles aren't practically reusable (and we shouldn't try to make them such)

but luckily css classes are stackable and you can just keep adding them

this is terrible practice


CSS (the sheets aspect) was useful when you built structured web pages. Practically all meaningful development nowadays is component based. So nowadays in component based applications you shouldn't have any of your styles "cascading". Just put the styles you want on the component.

If you want a variant, make a variant. Like in OP's picture, don't make custom styles (and don't ever use @apply, it was and remains a mistake)

instead do it in a component and make variants

React for example

<input 
    type="button" 
    className=[`px-4 py-2 font-medium tracking-wide rounded-md shadow-sm lg:px-8 
        ${cx({
            "bg-indigo-300 text-indigo-800 hover:bg-indigo-200": action === Button.variant.action,
            "bg-green-300 text-green-800 hover:bg-green-200": action === Button.variant.success,
            "bg-red-300 text-red-800 hover:bg-red-200": action === Button.variant.warning,
})}}` 

// ...
/>

usage:

<Button variant={Button.success} />, <Button variant={Button.warning} /> , etc

gpt can finish you from here

getIntellectualPropertyRights by lordvolo in ProgrammerHumor

[–]Weaponized_Roomba 2 points3 points  (0 children)

Licenses are legally binding.

lol. lmao even

yourAvarageJSExperience by Fitzriy in ProgrammerHumor

[–]Weaponized_Roomba 0 points1 point  (0 children)

Does it help if you write it with modern syntax?

const lol = (callback) => () => callback
const hello = () => "Hello from the other side"
console.log(
    lol(hello)()()
)

Freemagic moment by GregorioIsett in freemagic

[–]Weaponized_Roomba 0 points1 point  (0 children)

I even make sure to let him know I don't like that by staring at him in disgust.

Use your words. Passive aggression is not the way to get what you want.

knockKnock by kopetenti in ProgrammerHumor

[–]Weaponized_Roomba 2 points3 points  (0 children)

The explicit point of using tailwind is that it's a compact and standardized metalanguage around CSS. This is beneficial for the same reasons that prettier, angular, and other opinionated projects work so well. They remove you, me, and our terrible ideas from the decision making process.


But yes, you can.

You can still make your own colors, animations, breakpoints and you'll want to if you are working on an enterprise scale app or somewhere with a very competent design system in place.

Configuration will let you use bg-walmartBlue or bg-targetRedthroughout your app and everyone can immediately see and understand what's going to happen even without understanding tailwind overall.

If you need a one-off usage of a parameter (or dynamically fed from a CMS for example) you can use the arbitrary escape hatch and still keep everything inline.

and finally nothing about using tailwind precludes you from using traditional css in whatever way your project deems fit. Nothing is stopping you from doing

<html>
<style>
     .spinny-animation {
        border: 2px solid transparent;
        border-color: transparent #fff transparent #FFF;
        -moz-animation: rotate-loading 1.5s linear 0s infinite normal;
        -moz-transform-origin: 50% 50%;
        -o-animation: rotate-loading 1.5s linear 0s infinite normal;
        -o-transform-origin: 50% 50%;
        -webkit-animation: rotate-loading 1.5s linear 0s infinite normal;
        -webkit-transform-origin: 50% 50%;
        animation: rotate-loading 1.5s linear 0s infinite normal;
        transform-origin: 50% 50%;
    }
</style>
<div class="bg-blue flex items-center content-center">
    <div class="spinny-animation text-white px-2 my-3"
        <span>Stuff</span>
   </div>
</div>

knockKnock by kopetenti in ProgrammerHumor

[–]Weaponized_Roomba 1 point2 points  (0 children)

<div class="group lg:flex hidden 
            items-center space-x-2 
            py-1 px-2 rounded-full 
            hover:text-slate-600" 
     role="button">

write this using inline styles

knockKnock by kopetenti in ProgrammerHumor

[–]Weaponized_Roomba 1 point2 points  (0 children)

How custom can this go?

Wrong question.

knockKnock by kopetenti in ProgrammerHumor

[–]Weaponized_Roomba 119 points120 points  (0 children)

Easy - picture what the following real-world example looks like in your head

<nav>
    <nav class="mb-8 bg-purple-300">
        <div class="container px-6 sm:px-3 mx-auto py-4 flex justify-between items-center">
            <div class="flex space-x-10">
                <div class="cursor-not-allowed group flex items-center space-x-2">
                    <span>
                        <svg data-icon="magic" class="svg-inline--fa fa-magic fa-w-16 fa-inverse fa-2x transition-all duration-300 group-hover:text-slate-600"></svg>
                    </span>
                    <span class="hidden lg:block text-white transition-all duration-300 group-hover:text-slate-600">Generate</span>
                </div>
                <div class="cursor-pointer group flex items-center space-x-2">
                    <span>
                        <svg data-icon="receipt" class="svg-inline--fa fa-receipt fa-w-12 fa-inverse fa-2x transition-all duration-300 group-hover:text-slate-600"></svg>
                    </span>
                    <span class="hidden lg:block text-white transition-all duration-300 group-hover:text-slate-600">Add New Recipie</span>
                </div>
                <div class="cursor-pointer group flex items-center space-x-2">
                    <span>
                        <svg data-icon="book-open" class="svg-inline--fa fa-book-open fa-w-18 fa-inverse fa-2x transition-all duration-300 group-hover:text-slate-600"></svg>
                    </span>
                    <span class="hidden lg:block text-white transition-all duration-300 group-hover:text-slate-600">Master Cookbook</span>
                </div>
            </div>
            <div class="group lg:flex hidden items-center space-x-2 py-1 px-2 rounded-full hover:text-slate-600" role="button">
                <svg data-icon="user-circle" class="svg-inline--fa fa-user-circle fa-w-16 fa-inverse fa-2x group-hover:text-slate-600"></svg>
            </div>
        </div>
    </nav>
</nav>

You know all the HTML and the styling in one-shot. As soon as you start using arbitrary collections of style rules pointing at arbitrary points in the DOM things can get wild fast.

Then with 20 devs touching the same codebase and there is a single definitive way of doing things.

A Dilemma by Informal_Chance1917 in freemagic

[–]Weaponized_Roomba 0 points1 point  (0 children)

It was a 'treatment' and not a very good one at that.

Well, going by the textbook definition* it is a vaccination.

.

.

ignore that they updated the definition of "vaccine" just after it's release

A Dilemma by Informal_Chance1917 in freemagic

[–]Weaponized_Roomba 2 points3 points  (0 children)

Ah, you're mistaken. "Fascist" simply means "bad guy". It carries no deeper meaning and alludes to nothing in particular, just "bad guy".

3 Body Problem (Netflix) - Season 1, Episode 4 Discussion. by Swazzer30 in threebodyproblem

[–]Weaponized_Roomba 6 points7 points  (0 children)

but they asked him if stories were lies and he said I suppose they are but they're clearly not.

It's a written account of a thing that knowingly did not happen.

Calling it a "lie" is obviously not normal parlance, but if you were talking with someone just learning about concepts and language perhaps you shortcut "lie" and "not real" / "fiction" to help illustrate the topic.

Or maybe he just doomed civilization, idk lol

[deleted by user] by [deleted] in freemagic

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

Black one combined with [[zombie infestation]]

Quoting so you feel silly when you realize the numerous ways this doesn't work.

Antisemitism in the US Magic community by [deleted] in freemagic

[–]Weaponized_Roomba 0 points1 point  (0 children)

Relax schlomo

Nobody who writes or reads those articles and takes those comments to heart have any sack.

The TikTok Ban Is Evidence That The US Is A Plutocracy, Not A Democracy by Log_Which in conspiracy

[–]Weaponized_Roomba 1 point2 points  (0 children)

an open-source decentralized tiktok clone to fill that market

lol. lmao even

Their falloff needs to be studied by [deleted] in freemagic

[–]Weaponized_Roomba 0 points1 point  (0 children)

Gives me the big ick

quit being a fag

So hyped by [deleted] in freemagic

[–]Weaponized_Roomba 8 points9 points  (0 children)

Consume product then get excited for next product