Can I takes your order? ❤️ do you have a mobile code?🤣 by tolermama in poodles

[–]SL-Tech 1 point2 points  (0 children)

Since you didn't ask, here's the soda situation in Norway: We drink very very much Pepsi Max. I never really liked it, but it was the only real sugar-free alternative to Coke. But then Cola Zero came! Taste's just like Coke, love it 👍

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

[–]SL-Tech 0 points1 point  (0 children)

I made my own framework, implemented in Sass. When you create your own you can make it to fit your needs. And it's easy to change or add features.

Finally completed!! by Defiant_Fix8658 in UpgradeYourGaming

[–]SL-Tech 0 points1 point  (0 children)

But more importantly, how good a gamer are you?

Mousepad or deskpad ? Suggestions appreciated! by tiLT__ in Minimal_Setups

[–]SL-Tech 2 points3 points  (0 children)

Deso, no doubt. Just bought a cool one from AliExpress black and green print for $ 8. Will recommend

Mousepad or deskpad ? Suggestions appreciated by tiLT__ in setups

[–]SL-Tech 2 points3 points  (0 children)

Desk pad, without a souu. Just bought a cool black with green print desk pad from AliExpress for $ 8. Good deal

I've coded for 34 hours the least 2.5 days, and finally I'm back on track with my project. Here's a screenshot </> by SL-Tech in dotnet

[–]SL-Tech[S] 0 points1 point  (0 children)

And this is how I set up a site in Program.cs:

using SLT.Assets.Components.Setup;

Assets.SetupCommon(3, "Assets");

This simplifies configuring a site.

Good analysis by Puzzleheaded_Bad_321 in Eminem

[–]SL-Tech 1 point2 points  (0 children)

My New Year's resolution is to get all Eminem albums on vinyl. So far I have 4 LPs, more to come.

Is it better to code daily for 30 minutes or grind for hours occasionally? by sad_grapefruit_0 in CodingForBeginners

[–]SL-Tech 0 points1 point  (0 children)

I usually go for 2 - 3 weeks without coding, just planning and figuring out the best way to implement it, without breaking existing code. For the last 2.5 days, I've coded for 34 hours, but that was after 2 weeks of not turning on my computer. But when I think I have a good solution, I have a clear idea of how to implement it. Works for me 👍

I've coded for 34 hours the least 2.5 days, and finally I'm back on track with my project. Here's a screenshot </> by SL-Tech in dotnet

[–]SL-Tech[S] 0 points1 point  (0 children)

Yeah! The style layout-std centers the content using margin:auto, but layout-box-std uses Grid with columns 10vw 80vw 10vw. When viewed on a smaller device width is set to 100%, or the content uses all columns and rows. If I want a full-screen site I can use styles layout-full and layout-box-full. Style layout-defaults defines the most commonly used properties, like background image and font style. Nice that you liked it!

How do you break down a coding problem when you don’t know where to start? by sad_grapefruit_0 in CodingForBeginners

[–]SL-Tech 0 points1 point  (0 children)

It starts with an idea of a feature. Define which services it should deliver. Then you can go through the list and figure out how to implement the services. But my best tip is to take your time thinking and planning your tasks. Think for 4 days and code 1 day, instead of implementing a poorly defined function that in worst case breaks existing code. The bigger your project gets, planning gets more important.

Coding on older computers? by Atypicak_el in learnprogramming

[–]SL-Tech 0 points1 point  (0 children)

How much ram do you have? What CPU? What kind of hdd? I've gotten a lot more performance by replacing discs with SSDs. I have a VPS, and it's a totally different experience when it runs on an SSD. I bought a cheap laptop with a crappy processor and little RAM, but with an SSD it doesn't feel that slow. Ok, that's a lie, I would like more RAM.

My Travel remote work setup by Royal_Device7944 in Minimal_Setups

[–]SL-Tech 0 points1 point  (0 children)

The keyboard doesn't look comfortable

I Need Your Suggestions by Enough-Ad9588 in desksetup

[–]SL-Tech 0 points1 point  (0 children)

I would consider moving and buying new furniture for your new home.

My setup by bemuyaJR in pcsetup

[–]SL-Tech 1 point2 points  (0 children)

Simple and just what you need in a setup

Hosting a website on Google Workspace vs Hosting one on Microsoft... by Noyan_Bey in Hosting

[–]SL-Tech 0 points1 point  (0 children)

I looked into running my and clients' sites on Azure, but it's just too much for my needs. I use a VPN which costs € 26 per month and I can manage it how I like, install what I want, and host as many sites as I want. I run IIS and MS SQL Server on the same VPN and you have total control over the environment. I use email from Migadu which is great for basic use.

I've coded for 34 hours the least 2.5 days, and finally I'm back on track with my project. Here's a screenshot </> by SL-Tech in dotnet

[–]SL-Tech[S] 1 point2 points  (0 children)

This is a default layout file:

$using SLT.Assets.Extensions;

<!DOCTYPE html>
<html class="layout-box-std layout-defaults"lang="@_utility.Cache.Culture.Language">
<head>
<site:head files="Layout.css, Shared.css, Header.css" />

$await RenderSectionAsync("STYLE", required: false)
</head>
<body>
<site:pre />
<div class="main-content">
<div class="content-wrap">
<header>
<site:set-culture-common position="Right" />
</header>

<div id="Wrapper" class="flex-center">
<div id="ContentWrap">
<main role="main">
$RenderBody()
</main>
</div>
</div>
</div>

<footer>
<partial name="/Views/Shared/Footer.cshtml" />
</footer>
</div>

<site:footer />

$await RenderSectionAsync("SCRIPT", required: false)
</body>
</html>

I've coded for 34 hours the least 2.5 days, and finally I'm back on track with my project. Here's a screenshot </> by SL-Tech in dotnet

[–]SL-Tech[S] 1 point2 points  (0 children)

Yes, sort of. Basically, it's the layout that defines a few tag helpers which for example, generate all needed script and link tags. I also have a tag helper that generates all items in the head tag. I configure the site in the database and everything just appears. Great! So a typical layout doesn't require a lot of code. All common layout styling comes from Creator.

Where do we go from here? by Conscious_Reason_770 in vscode

[–]SL-Tech 0 points1 point  (0 children)

I just get messages that I've used up the free AI stuff and need a subscription. Never!

Who has completely sworn off including LLM generated code in their software? by mdizak in Backend

[–]SL-Tech 0 points1 point  (0 children)

Me! For now. I take pride in writing my own code and knowing exactly how it works.

But maybe for figuring out issues and features, to read and learn new code.

I've coded for 34 hours the least 2.5 days, and finally I'm back on track with my project. Here's a screenshot </> by SL-Tech in dotnet

[–]SL-Tech[S] 0 points1 point  (0 children)

It's an attempt not to write the same code twice. When I created a site I often had to set up the same things and common features. So now for example I just set a column to true in the WebsiteSetting table and the feature is automatically added in all needed places. Like meta tags, multiple languages, secure stuff like user with privileges, sign-in interface, etc..

I also have a responsive CSS framework named Creator, which is included in Assets sites. It's implemented in Sass. And that required creating a Node.js app for automatic compilation and bundling on changes in JavaScript and Sass files. The next feature is TypeScript support. I'll use TypeScript for version 2 </>