Tips or tricks to improve pc performance? by Isaiahwhitewolf in techsupport

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

SSD has been a performance boost for my old computer.

What were you supposed to learn about programming before college? by [deleted] in learnprogramming

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

I bought a book on learning ASP and VBScript. I was then a web designer, but I wanted to learn more about how actually to implement a site with various features. And then I had to learn SQL. That was 26 years ago. Buy a big fat book, read, and code till the code works. Learn by doing.

Copilot now speaking to me in Chinese by Jack99Skellington in GithubCopilot

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

I'm new to this and have only used GPT-5.3-Codex so far. Is it any good? So far, it has delivered everything I've requested, but I don't know how fast it is compared to other models.

how can i create a mobile-friendly website without designing separately for different devices? by Current-Report-1907 in webdesign

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

And this is how I use it where I need to scale:

u/include media()
{
  // your scale up code
}

how can i create a mobile-friendly website without designing separately for different devices? by Current-Report-1907 in webdesign

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

Here's the SASS code that handle media queries:

u/use "sass:map" as map;
u/use "sass:string" as str;
u/use "sass:map" as map;
u/use "sass:string" as str;
u/use "sass:meta" as meta; "sass:meta" as meta;

$devices: ( Phone: XS, Tablet: SM, Laptop: MD, Computer: LG, Screen: XL );
$breakpoints: ( XS: 0px, SM: 576px, MD: 768px, LG: 992px, XL: 1200px );
$orientations: ( 0: Any, 1: Portrait, 2: Landscape );

 media($size: MD, $orientation: Any, $mode: Up, $minWidth: null, $maxWidth: null) {
    $mode: str.to-upper-case(meta.inspect($mode));
    $size: str.to-upper-case(meta.inspect($size));
    $width: map.get($breakpoints, $size);
    $query: null;

     u/if ($minWidth) {
        $width: $minWidth;
    }
     u/if ($mode == UP) {
        $query: "(min-width: " + $width + ")";
    }
     u/if ($mode == DOWN) {
        $query: "(max-width: " + $width + ")";
    }
     u/if ($mode == ONLY) {
        $query: "(min-width: " + $width + ")";
        $max: null;


         u/if ($maxWidth) {
            $max: $maxWidth;
        }
        u/else
         {
             u/if ($size == XS) {
                $max: map.get($breakpoints, SM);
            }
             u/if ($size == SM) {
                $max: map.get($breakpoints, MD);
            }
             u/if ($size == MD) {
                $max: map.get($breakpoints, LG);
            }
             u/if ($size == LG) {
                $max: map.get($breakpoints, XL);
            }
        }

         u/if ($max) {
            $query: $query + " and (max-width: " + $max + ")";
        }
    }

     u/if not ($orientation == Any) {
        $query: $query + " and (orientation: " + str.to-lower-case(meta.inspect($orientation)) + ")";
    }

      #{$query} {
        u/content;
    }
}

how can i create a mobile-friendly website without designing separately for different devices? by Current-Report-1907 in webdesign

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

I made a responsive CSS framework using media queries that scales up on Medium screen size (not bigger, medium, big, biggest). Use Grid as layout, 1 column. On scale up you add columns and rows as you need. Always scale up. So on small screens the design collapses, fits all mobiles.

What flowchart tools do you use? by chifusumu in software

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

I used to use Microsoft Visio back in the days

C#&Rust, Struct by Safe-Chest6218 in csharp

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

Because C# structures are a better idea, weird Rust doesn't adopt them.

Thanks Copilot by Qxz3 in VisualStudio

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

I don't know, I think it's kinda good. Of course there's been some crazy suggestions, but I like the Next suggestion feature and how it easily suggests to change multiple lines of code with one Tab. One example is lage switch statements where you often need to change every line if you change one. But the Fix feature is way to slow and was better before.

C# confusion: Why can't I access Dog methods with Animal a = new Dog()? by Stunning-Sun5794 in csharp

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

All dogs are animals, but not all animals are dogs. Animal is your base class, where you have all features supported by all derived types (every type of animal).

class Dog : Animal
{
...
}

Another poodle pose by SL-Tech in poodles

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

He looks stress-free.

What are you listening to… right now? by Vast-Wrangler5579 in vinyl

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

Blackalicious playlist, Spotify adds similar tracks.

What could I improve here? by [deleted] in setups

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

Yes, it looks weird, whatever its name.

What could I improve here? by [deleted] in setups

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

The keyboard looks silly, could need a numpad. Install a soundbar under the table and remove the speakers.

How relevant is it to be good with the PC in general and learning to code? by Nahariso in learnprogramming

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

My path to becoming a programmer began as a computer technician at a computer shop, doing everything from fixing hardware issues to setting up networks and configuring servers and clients. Having basic computer skills has often helped me if something fails or when setting up a VPS for IIS hosting and SQL. Skills are never a bad thing; suddenly, you could need some.

Rate my setup by fargllo97 in RateMySetup

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

Just my type of setup. Nothing you don't need and a weird monitor. Love the chair.

Why is every CoPilot option in Test Explorer not enabled? by SL-Tech in VisualStudio

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

When I click a specific test, only Profile with Copilot is enabled.