dys π
KPCKevin Powell - Community
β’Created by snxxwyy on 1/16/2025 in #os-and-tools
vim | extra files
Those are backups of the previous version in case you accidentally lose something.
How you turn them off, I dunno.
10 replies
KPCKevin Powell - Community
β’Created by ZNP on 1/15/2025 in #back-end
How do I make a download system for simple exe files
It's also a characteristic of many worms & viruses which automatically attempt to infect other machines in the same network.
Many exploits have a side effect of shutting down the program you're attacking because you corrupt its memory space or something like that.
It means that the attacker has to transmit all the code necessary to complete the attack in one go, because the service won't be around anymore after the attack. (Until someone one notices it has died and reenables it.)
49 replies
KPCKevin Powell - Community
β’Created by ZNP on 1/15/2025 in #back-end
How do I make a download system for simple exe files
There are some "single" files that are a little blob of shell script prepended to an archive of source files.
The
sh
script uncompresses it's own tailend after a user has agreed to a license or some other pre-install procedure.49 replies
KPCKevin Powell - Community
β’Created by ZNP on 1/15/2025 in #back-end
How do I make a download system for simple exe files
ΒΏAs opposed to an executable? The browser is likely to flag any of these formats as unsafe and require an override to download.
Really, your best bet would be to offer the software through some organization (like Steam or the Google Play Store) that vets software to try and help people avoid maliciousness. It'd definitely make people feel safer.
49 replies
KPCKevin Powell - Community
β’Created by aco on 1/15/2025 in #front-end
How do you recreate the holographic card effect from PokΓ©mon TCG Pocket?
5 replies
KPCKevin Powell - Community
β’Created by ZNP on 1/15/2025 in #back-end
How do I make a download system for simple exe files
Anchor (
a
) tags have a download
attribute.49 replies
KPCKevin Powell - Community
β’Created by πππππππ₯πππππ on 1/13/2025 in #os-and-tools
Wsl distro Installation issue:
As you're beginning to program, I recommend knowing the
code .
command typed in the terminal. I use it pretty much every day.
This will open the directory you're currently in in VS code. (In *nix, .
means βthe current directoryβ & ..
means βthe parent directoryβ.)59 replies
KPCKevin Powell - Community
β’Created by Doksuri on 1/13/2025 in #front-end
local css variable ?
It's funny that you edited the text saying that your previous text was a typo. πΈ
30 replies
KPCKevin Powell - Community
β’Created by Doksuri on 1/13/2025 in #front-end
local css variable ?
Are you responding to me? I set the color on
.c4
in the stylesheet.30 replies
KPCKevin Powell - Community
β’Created by Doksuri on 1/13/2025 in #front-end
local css variable ?
Yes, it is setting a value for the variable on the element. You can do the same thing in the stylesheet.
30 replies
KPCKevin Powell - Community
β’Created by Doksuri on 1/13/2025 in #front-end
local css variable ?
30 replies
KPCKevin Powell - Community
β’Created by πππππππ₯πππππ on 1/11/2025 in #os-and-tools
What operating system should I be using? How should I set up the root directory?
I seconded the Hypervisor setup change with some diagnostic commands in that thread.
I seem to remember having to tweak something in my BIOS to enable virtualization when setting up VM software in the past, but I didn't see any reference to that in the Windows docs.
58 replies
KPCKevin Powell - Community
β’Created by πππππππ₯πππππ on 1/13/2025 in #os-and-tools
Wsl distro Installation issue:
I'll second this. Not having hypervisor running can cause lots of weird errors. From the FAQ:
Run βbcdedit /enum | findstr -i hypervisorlaunchtype
β in an elevated PowerShell & if you seehypervisorlaunchtype Off
, run βbcdedit /set hypervisorlaunchtype Auto
β & then βRestart-Computer
β (also in PowerShell).
59 replies
KPCKevin Powell - Community
β’Created by πππππππ₯πππππ on 1/11/2025 in #os-and-tools
What operating system should I be using? How should I set up the root directory?
Since you just learned about different operating systems, you may not be seeking this level of knowledge, but running Linux generally puts you much closer to the actual operation of the machine than Windows.
Also, I definitely second the use of WSL if you're going to run Windows. There are several projects where Windows introduced niggling vagaries in the development process whose easiest solution was switching to WSL.
Despite the responses here, the 2024 Stack Overflow survey says that more devs are running Linux than Windows. (The chart doesn't show this clearly because different flavors of Linux are reported separately, but the total is ~58% are using sort of Linux for work. (Plus another ~17% using WSL, so ΒΎ of the market is Linux-based.))
Personally, I've been running Linux since I loaded Slackware on my Pentium β
‘ from 3Β½β floppies in 1998, and I can't take how little power over the operation of the system Windows users have. At the very least, you ought to consider trying out a beginner-friendly distribution like Ubuntu. Quite a few of your programs like Chrome, VS Code, Discord, etc. will be identical.
58 replies
KPCKevin Powell - Community
β’Created by ItsAmjed on 1/12/2025 in #os-and-tools
npm installing problem
Take a look at the CRA repo. The last updates were almost all about three years ago.
Whereas Vite's oldest changes are about three months. (They just released some pretty significant improvements with the introduction of v6.)
It's also worth noting that odd numbered Node.js releases are experimental & may contain features that go away. It's safer to use long-term supported even numbered releases.
20 replies
KPCKevin Powell - Community
β’Created by theller5567 on 1/1/2025 in #front-end
how to create a Dynamic SVG line path based on hover interaction.
Tracing a path is frequently done by manipulating
stroke-dasharray
& stroke-dashoffset
.
You create a dash array that has a blank space the length of your path followed by a dash the length of your path. Then you animate moving that dash to cover the path which gives the impression of tracing.
(See this cover art for an example. (There's an ~ 5 second delay before the animation kicks in.))
You can use pathLength="1"
attribute on elements to make it easier to compute the dash array. (Otherwise you have to figure out the actual path length in image units.)
The hover is trickier. I'm pretty sure all mouse interactions are disabled when a SVG is inserted into the page using an <img/>
tag.
You either have to inline it or use and <object>
tag. If you do that, you can either use a CSS :hover
selector, or set up a SMIL trigger on hover.3 replies
KPCKevin Powell - Community
β’Created by BlueBeka on 1/1/2025 in #front-end
Dropdown component made from popover
4 replies
KPCKevin Powell - Community
β’Created by Blanwhit on 12/26/2024 in #back-end
How to get from string to anagram in fewest number of swaps?
Search "minimum edit distance".
14 replies
KPCKevin Powell - Community
β’Created by i_lost_to_loba_kreygasm on 12/25/2024 in #front-end
how to make timeline and this layout as well ? flex or grid ?
Looks like a 3x3 grid to me.
5 replies