z80

Discord ID: 117714549766881286


662 total messages. Viewing 100 per page.
Page 1/7 | Next

2018-08-21 12:03:41 UTC [/r/SargonOfAkkad (Sparta) #bot-commands]  

!agree

2018-08-21 12:22:58 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

haha

2018-08-21 12:23:02 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

you won't "git" gud

2018-08-21 12:23:35 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

dis gitta be eating baked commits

2018-08-21 12:23:44 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

yep

2018-08-21 12:24:02 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

gentoo lads unite

2018-08-21 12:24:10 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

sad

2018-08-21 12:24:57 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 12:26:09 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

i have Windows 10 Enterprise, so

2018-08-21 12:26:17 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

oh yeah

2018-08-21 12:27:20 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 12:27:28 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

as long as my servers run linux I'm fine

2018-08-21 12:27:44 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

my only problem with visual studio is the 69 GB download

2018-08-21 12:28:10 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

linux being free is only a benefit if you haven't already bought windows

2018-08-21 12:28:26 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

linux is.. sometimes.. faster

2018-08-21 12:28:34 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

but only for encryption

2018-08-21 12:28:51 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

the linux kernel is marginally better than NT at encryption

2018-08-21 12:28:59 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

because kernel encryption layer and some shit

2018-08-21 12:29:06 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

NT is windows' kernel

2018-08-21 12:29:11 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

aka Windows NT

2018-08-21 12:30:00 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

the kernel is where the system interacts with the hardware and where important tasks such as encryption can be called to improve speed

2018-08-21 12:30:41 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 12:32:05 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 12:33:07 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

with spectre it was more like the most secure programs actually became the most dangerous

2018-08-21 12:33:11 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

which was pretty funny

2018-08-21 12:34:10 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

IT has already become more important everywhere

2018-08-21 12:35:50 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

spooky

2018-08-21 12:38:24 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 12:39:52 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

if you want to start off making something fun, I guess you could try making a discord bot or something lol

2018-08-21 12:41:30 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

once you get into programming, you'll discover each language has a kind of personality

2018-08-21 12:41:56 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

python has a unique personality in the sense that you use python if you're programming for fun

2018-08-21 12:42:11 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 12:42:35 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

python is a language for programming out of curiosity to see if a method works, at least in my eyes

2018-08-21 12:42:39 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

oh yeah, I'd agree

2018-08-21 12:43:51 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 12:44:31 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

a lot of my projects run on python simply so that people can figure out what it does much more easily

2018-08-21 12:45:01 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 12:45:20 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

though nowadays I tend to do it the other way round because it's more efficient

2018-08-21 12:46:08 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

so yeah

2018-08-21 12:46:13 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

python is more flexible by far

2018-08-21 12:47:08 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 12:48:18 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 12:48:49 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

unless you're making a hello world program, in which case it'll just be one stackoverflow.com snippet

2018-08-21 12:52:53 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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.

2018-08-21 12:53:00 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

oh yeah

2018-08-21 12:53:04 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

and don't use Atom editor

2018-08-21 12:53:08 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

it's for people with severe brain damage

2018-08-21 12:53:40 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

VS Code is cool but still Electron-based (another reason why I hate Discord lmao), I'd recommend Geany but it's linux-only

2018-08-21 12:54:20 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

all Electron developers must be eradicated under the holy order of the C++ emperor

2018-08-21 12:54:54 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

yeah, VS code isn't entirely electron so that's probably why

2018-08-21 12:55:10 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

Electron is a web browser without the URL bar and with NodeJS built in

2018-08-21 12:55:22 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

aka Chromium Embedded Framework revised

2018-08-21 12:57:36 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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)

2018-08-21 12:58:39 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 12:58:57 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

don't touch it though

2018-08-21 12:59:09 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

there's a close button in the top right, only click that

2018-08-21 12:59:32 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

you don't want to mess with the developer console because you'll get HIV.js

2018-08-21 13:00:35 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 13:00:49 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

why would anyone want a calculator that uses a literal gigabyte of RAM

2018-08-21 13:01:15 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 13:01:17 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

1.3 GB

2018-08-21 13:01:19 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

for a chat client

2018-08-21 13:01:59 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 13:03:05 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

for reference, Teamspeak only uses around 25 MB for me

2018-08-21 13:03:35 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

OH YOU HAVE NO IDEA HOW BAD DISCORD'S SCREENSHARE IS FOR YOUR CPU

2018-08-21 13:03:42 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

they're doing VIDEO ENCODING and DECODING on the CPU

2018-08-21 13:03:49 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

what the ACTUAL FUCK

2018-08-21 13:03:59 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

HAHA 100% CPU USAGE HERE WE COME

2018-08-21 13:04:24 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

i have six cores and I still want to actually kill myself whenever I use screenshare on Discord

2018-08-21 13:05:46 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 13:05:56 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

not even doing anything and it spikes up to 25%

2018-08-21 13:06:17 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

obv

2018-08-21 13:06:35 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

as we've been talking out before, Discord's based on Electron

2018-08-21 13:06:42 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

aka aids.js

2018-08-21 13:06:59 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

whether it's cloud based or not doesn't matter

2018-08-21 13:07:05 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

it's still electron based

2018-08-21 13:08:23 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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 ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘

2018-08-21 13:08:58 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

well

2018-08-21 13:09:02 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

discord being 32-bit is actually a good thing

2018-08-21 13:09:09 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

because it can access/address less memory

2018-08-21 13:10:37 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 13:11:21 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

generally speaking, it's best if you compile your software for both 32-bit and 64-bit systems

2018-08-21 13:11:49 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 13:12:16 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

and honestly I don't blame them, it takes over 30 hours to compile Chromium, why would you bother?

2018-08-21 13:13:17 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

compilation is the translation of high level code into assembly code your system can understand

2018-08-21 13:14:32 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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

2018-08-21 13:14:57 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

interpreters do compiling on the fly, JIT interpreters do compiling ahead of time

2018-08-21 13:15:10 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

JIT interpreters, in rare cases, can actually be faster than compiled languages

2018-08-21 13:15:29 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

take the Julia language's default interpreter's JIT system, for example

2018-08-21 13:15:53 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

because Julia is like LUA on steroids

2018-08-21 13:16:18 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

uhh

2018-08-21 13:16:26 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

shit

2018-08-21 13:16:27 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

well

2018-08-21 13:16:47 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

LUA is typically used to make plugins and addons for stuff

2018-08-21 13:16:52 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

it's an embeddable language

2018-08-21 13:17:08 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

so a LUA interpreter usually gets crammed into different projects to help with modular code

2018-08-21 13:18:34 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

every CPU has a slightly different instruction set, but most of them all come under one architecture, like x86 or ARM

2018-08-21 13:18:53 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

when you compile a program, it only works on the platform you compiled it for, unless you cross-compile

2018-08-21 13:19:12 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

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