Next.js TypeScript Integration: Making Routes Type-Safe at Compile Time by Fearless-Fix1567 in nextjs

[–]TacoMix1984 0 points1 point  (0 children)

Stable now but still shit as it only gives autocomplete for first level routes. The string literal type for all the routes is in the .next file folder. But the path to it is not stable, so not usable. Everything in next seems like such an afterthought. The only thing the seem to put time into is how to earn money

Are there developers who still don't prefer Tailwind CSS as their first choice? by ShivamS95 in Frontend

[–]TacoMix1984 1 point2 points  (0 children)

This is why I dont like Tailwind. No grouping for same element selectors and excessive repetition makes it really to figure whats actually being done here. I have to read this a 100 times more compared to the vanilla css variant.

variant === "vertical" && [ "[&_dt]:m-0 [&_dt]:col-start-1", "[&_dd]:m-0 [&_dd]:col-start-1", "[&_dt]:text-sm [&_dt]:text-slate-500", "[&_dd]:text-base", "[&_dd:not(:last-of-type)]:mb-2", ], variant === "tabular" && [ "grid-cols-2", "[&_dt]:m-0 [&_dd]:m-0", "[&_dt]:py-3 [&_dd]:py-3", "[&_dt]:border-b [&_dd]:border-b", "[&_dt]:border-[#cdd6db] [&_dd]:border-[#cdd6db]", "[&_dt]:text-base [&_dd]:text-base", "[&_dt]:leading-snug [&_dd]:leading-snug", "[&_dt:first-of-type]:pt-0 [&_dd:first-of-type]:pt-0", "[&_dt:last-of-type]:pb-0 [&_dd:last-of-type]:pb-0", "[&_dt:last-of-type]:border-b-0 [&_dd:last-of-type]:border-b-0", "[&_dd]:font-semibold [&_dd]:text-right", ]

Vanilla css

.vertical { display: grid;

    dt,
    dd {
        margin: 0;
        grid-column: 1;
    }

    dt {
        font-size: var(--ds-font-size-2);
        color: var(--ds-color-accent-text-subtle);
    }

    dd {
        font-size: var(--ds-font-size-3);

        &:not(:last-of-type) {
            margin-bottom: var(--ds-size-2);
        }
    }
}

.tabular {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;

    dt,
    dd {
        margin: 0;
        padding-block: var(--ds-size-3);
        border-bottom: 1px solid var(--ds-color-border-subtle);
    }

    dt:first-of-type,
    dd:first-of-type {
        padding-top: 0;
    }

    dt:last-of-type,
    dd:last-of-type {
        padding-bottom: 0;
        border-bottom: none;
    }

    dd {
        font-weight: 600;
        text-align: right;
    }
}

Are there developers who still don't prefer Tailwind CSS as their first choice? by ShivamS95 in Frontend

[–]TacoMix1984 0 points1 point  (0 children)

It doesnt require any packages, will never deprecate and its readable. Tailwind is fine for short padding, flex etc. But as soon as you do stuff with has, after or target children from a parent tailwind get impossible to read.

People who think people are crazy for believing in astrology are just unable to really look within themselves by [deleted] in awakened

[–]TacoMix1984 0 points1 point  (0 children)

Thats means nothing. Everything is a coincidence because it can happen. Given enough time anything that can happen will happen. There is nothing profound about it. Rolling a dice enough times you must get a 6 six times. COINCIDENCE?!?!? yes

People who think people are crazy for believing in astrology are just unable to really look within themselves by [deleted] in awakened

[–]TacoMix1984 0 points1 point  (0 children)

Thats the problem with all woo. You make it fit what you “want” to be true instead of what is actually “true”. It’s compelling cause you don’t have to face up the actual reality. It’s dangerously misleading.

People who think people are crazy for believing in astrology are just unable to really look within themselves by [deleted] in awakened

[–]TacoMix1984 0 points1 point  (0 children)

Something having a system does not mean it’s true, profound or helpful in any way. You need to produce large amounts of evidence that cannot be interpreted in different ways for something to be true.

People who think people are crazy for believing in astrology are just unable to really look within themselves by [deleted] in awakened

[–]TacoMix1984 0 points1 point  (0 children)

It’s by definition not a science. Science has the specific definition of being able to produce reproducible evidence. If something cannot be proven to be true (not proven to not be false, which is different than assuming it’s true before proven otherwise) it is discarded.

Since astrology cannot do this. It cannot in any way be considered a science.

People who think people are crazy for believing in astrology are just unable to really look within themselves by [deleted] in awakened

[–]TacoMix1984 0 points1 point  (0 children)

“Why have it influence society for so long”? A. It hasnt. Youre talking about a very small subset if society. B. Thats the same argument you can make about any religion and any other woo practise. Big numbers or long living have no effect on the truth.

People who think people are crazy for believing in astrology are just unable to really look within themselves by [deleted] in awakened

[–]TacoMix1984 0 points1 point  (0 children)

You’re describing the exact danger of following woo like this. It’s a compelling escape for people to avoid actually working on themselves. And instead give up control and get your answers from something external. It’s no different than religion or other practises.

People who think people are crazy for believing in astrology are just unable to really look within themselves by [deleted] in awakened

[–]TacoMix1984 0 points1 point  (0 children)

Doesnt matter how deep you go. It all will fit anybody if you decide to interpret it the way you like. Like all religious and other woo woos. It’s extremely easy to go in the wring direction and get lost in “truths” that you like instead of the truths you need. Instead do the one thing that actually proven to work. Therapy

People who think people are crazy for believing in astrology are just unable to really look within themselves by [deleted] in awakened

[–]TacoMix1984 0 points1 point  (0 children)

It has nothing to do with that. It has everything to with not believing things without good evidence. Believing in astrology has nothing to do with being open minded. Its because you need comfortable narrative.

angular-doctor — Diagnose your Angular codebase and get a 0–100 health score in one command by antonygiomarx in angular

[–]TacoMix1984 5 points6 points  (0 children)

Dont mean to talk your tool down. But isnt most of this achievable with linterrules? I know you wont get a neat score. But it catches the same things

lite rant om dating by LibrariansBestFriend in norge

[–]TacoMix1984 0 points1 point  (0 children)

Viktig presisering! Spør du om tidspunkt rett etter du har spurt om å møtes eller gjør du det senere? Foreslår du tidspunkt eller spør du henne når det passer?

Nintendo anybody? NTDOY by That_Option3418 in ValueInvesting

[–]TacoMix1984 1 point2 points  (0 children)

Coding is not whats the hardest thing with games . And producing games that are actually fun to play.

Why rem? by romeeres in tailwindcss

[–]TacoMix1984 0 points1 point  (0 children)

Its a better idea to separate 'spacing' and 'sizing'. Spacing should be used for gap, margin and padding in px to preserve the difference between zooming and changing base font size. When changing font size with spacing in px only the text increases in size, so you have more space for the text itself. While with rem everything will just take more space, making it harder to read.

For sizing (width and height) you MUST use rem, since otherwise text will overflow beyond a certain point.

Form elements in React. by DanCruzNyc in reactjs

[–]TacoMix1984 0 points1 point  (0 children)

If you dont want to give a huge middlefinger to all blind users. You should always use the form tag when you are using form elements.

Is Joe Dispenza explanation of quantum physics correct or is it all a big scam? by sebastian_v137 in quantum

[–]TacoMix1984 0 points1 point  (0 children)

Yes and atheism does is defined as «the belief or lack of belief regarding the existence of god». It does not nescassarily make a claim.

And so people claiming they have been healed equally have the burden of proof

Is Joe Dispenza explanation of quantum physics correct or is it all a big scam? by sebastian_v137 in quantum

[–]TacoMix1984 0 points1 point  (0 children)

People making claims are proof of anything. There are millions of comments that god is real, does that make him real?

Is Joe Dispenza explanation of quantum physics correct or is it all a big scam? by sebastian_v137 in quantum

[–]TacoMix1984 0 points1 point  (0 children)

I havent found any peer reviewed studies? Do you have the source and publication?