z80
Discord ID: 117714549766881286
662 total messages. Viewing 100 per page.
Page 1/7
| Next
!agree
haha
you won't "git" gud
dis gitta be eating baked commits
yep
gentoo lads unite
sad
i actually currently only use linux for my servers, I've found the newer versions of W10 much more helpful to work with as a daily driver as soon as you uninstall the 6000 different versions of Candy Crush Saga
i have Windows 10 Enterprise, so
oh yeah
and for all those tutorials or whatever I'd do them on my servers, because all the stuff I do with tutorials and whatnot happen to be server-related (because linux server market share is like, insane) so y'know
as long as my servers run linux I'm fine
my only problem with visual studio is the 69 GB download
linux being free is only a benefit if you haven't already bought windows
linux is.. sometimes.. faster
but only for encryption
the linux kernel is marginally better than NT at encryption
because kernel encryption layer and some shit
NT is windows' kernel
aka Windows NT
the kernel is where the system interacts with the hardware and where important tasks such as encryption can be called to improve speed
if you've ever heard of `ring 0`, that's where code runs directly in the kernel and you'll often see older task managers separating ring 0 usage and user usage
if you're talking about meltdown/spectre, thateffected both intel and AMD, and involved a problem with the design of the CPU's branch predictor that allowed access to memory that the CPU had wrongly predicted to be needed
with spectre it was more like the most secure programs actually became the most dangerous
which was pretty funny
IT has already become more important everywhere
spooky
oh yeah, i've always believed that if you want to get into programming, you set yourself a goal of a program you want to make, you do some research into different methods to compute a path to reach that goal and then you do it, being told what to make is a bad way to learn, you make what you want to make and then you can continue making whatever you want as you'll have learned (and will continue to learn) the language
if you want to start off making something fun, I guess you could try making a discord bot or something lol
once you get into programming, you'll discover each language has a kind of personality
python has a unique personality in the sense that you use python if you're programming for fun
you're not trying to make something solid and serious, you just want to see if something works and then maybe later you'll do it
python is a language for programming out of curiosity to see if a method works, at least in my eyes
oh yeah, I'd agree
there are plenty of solid and serious systems using python, but they were mostly designed by people who just wanted their code to work so that they could do something deep and complex without having to deal with stuff they didn't really care about during the planning of their project
a lot of my projects run on python simply so that people can figure out what it does much more easily
usually when I write implementations of algorithms I make, such as Sphinx2, i'll do it in c++ for speed and rewrite it in python so that people can understand it
though nowadays I tend to do it the other way round because it's more efficient
so yeah
python is more flexible by far
but it's nowhere near fast unless you use pypy (which is kind of a drop in replacement to CPython in a lot of ways), but the problem with pypy is that if you're calling C-based modules, it'll slow down like crazy which is why it's recommended to use something called CFFI with pypy, but not many modules support it so yeah
well I mean, if you want somewhere to start, let's just say your first project is going to be entirely made out of stackoverflow.com snippets
unless you're making a hello world program, in which case it'll just be one stackoverflow.com snippet
well I mean, everyone starts with Python, a lot of people end with Python- don't trick yourself into thinking Python is a beginner's language though- it's not. It depends on what you're making. when beginners use Python, they're likely using a very small and very simple fraction of it's capabilities- there's far more you could end up working with depending on what you make.
oh yeah
and don't use Atom editor
it's for people with severe brain damage
VS Code is cool but still Electron-based (another reason why I hate Discord lmao), I'd recommend Geany but it's linux-only
all Electron developers must be eradicated under the holy order of the C++ emperor
yeah, VS code isn't entirely electron so that's probably why
Electron is a web browser without the URL bar and with NodeJS built in
aka Chromium Embedded Framework revised
if you're still confused on what Electron is, if you hit CTRL+SHIFT+I in Discord, click the Console tab and type in `window.location.href = "google.com"` then your Discord will immediately transform into Google because the entire Discord app is a joke and only exists to do push to talk (notifications and whatnot could still be done in the web browser, they just don't want to enable it to force you to use this junk)
oh, you'll also notice that CTRL+SHIFT+I in Discord brings up the same inspect element developer tools window as your web browser does
don't touch it though
there's a close button in the top right, only click that
you don't want to mess with the developer console because you'll get HIV.js
I once saw a calculator, a fucking calculator, made in Electron- like, it had even less features than the calculator built into Windows, like why
why would anyone want a calculator that uses a literal gigabyte of RAM
i can't post images, but if I could, I'd show you a screenshot of my task manager right now where Discord is using literally 1.3 GB of RAM
1.3 GB
for a chat client
calling it lightweight was an absolute joke and Discord are a bunch of pseudo-intellectual crooks, this is so sad, alexa can we all use qTox
for reference, Teamspeak only uses around 25 MB for me
OH YOU HAVE NO IDEA HOW BAD DISCORD'S SCREENSHARE IS FOR YOUR CPU
they're doing VIDEO ENCODING and DECODING on the CPU
what the ACTUAL FUCK
HAHA 100% CPU USAGE HERE WE COME
i have six cores and I still want to actually kill myself whenever I use screenshare on Discord
and as for idle CPU usage by discord, it's using 15% for me and literally nothing else is using that much CPU right now
not even doing anything and it spikes up to 25%
obv
as we've been talking out before, Discord's based on Electron
aka aids.js
whether it's cloud based or not doesn't matter
it's still electron based
not only that, but the discord client itself is 32-bit yet the installer forces you to use a 64-bit system even if the software doesn't ๐ ๐ ๐ ๐
well
discord being 32-bit is actually a good thing
because it can access/address less memory
32-bit software actually runs slightly faster than 64-bit too, but due to architecture optimizations in modern processors, the effect is not really noticable
generally speaking, it's best if you compile your software for both 32-bit and 64-bit systems
but of course in the case of discord, the 32-bit/64-bit issue is mostly Electron's fault specifically, the people who made Electron probably have no idea how to use a compiler
and honestly I don't blame them, it takes over 30 hours to compile Chromium, why would you bother?
compilation is the translation of high level code into assembly code your system can understand
aka you go from a hello world program to a bunch of 64-bit or 32-bit instructions the system will understand, so when you open your compiled file up into a hex editor, you'll only see something like.. `<insert random garbage here, too lazy>`, because it's nothing like your normal code
interpreters do compiling on the fly, JIT interpreters do compiling ahead of time
JIT interpreters, in rare cases, can actually be faster than compiled languages
take the Julia language's default interpreter's JIT system, for example
because Julia is like LUA on steroids
uhh
shit
well
LUA is typically used to make plugins and addons for stuff
it's an embeddable language
so a LUA interpreter usually gets crammed into different projects to help with modular code
every CPU has a slightly different instruction set, but most of them all come under one architecture, like x86 or ARM
when you compile a program, it only works on the platform you compiled it for, unless you cross-compile
so if you compile for x86, which you probably will, it'll only run on computers with an x86 processor, like intel or AMD CPUs tend to be
662 total messages. Viewing 100 per page.
Page 1/7
| Next