#⌨coders-cave
1 messages · Page 73 of 1
use neovim
Hi there
Just don't forget, how to exit)
esc + :q
i know vim stuff
like save, force quit, save & quit
search
and stuff
i call myself the self claimed expert
of vim

vim is nice
vim is bad
bru
why you think vim is bad
no no you cant just slip away like that
@barren shale explain yourself
im skipping hexadecimal printing
useless imo and hard
skipping to the next most annoying thing, the GDT table
this will be so fucking annoying to explain
my sdcard came
im gonna install alpine on it
or void
or just rpi software

void arm platform image is for 2gb
so i have to partition myself
if i want more space
also alpine way of running os in the ram is neat
although a bit too heavy
since you need memory intensive work
omw to install golang now
preview of the GDT table setup 👀 https://pastebin.com/KheE1N6B
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Damn people on pastebin are actually reading this
I have a following on there
260 people have opened my stuff
290*
same reason why this is bad
Visit https://www.squarespace.com/LTT and use offer code LTT for 10% off
Buy a Seasonic Ultra Titanium Power Supply:
On Amazon: https://geni.us/q4lnefC
On NewEgg: https://lmg.gg/8KV3S
Split ergonomic keyboards have been increasing in popularity in recent years as use of computers and the internet has become more frequent. Options like the Ergo...
takes too much time to learn
probably wont make a difference
why
why suffer
i tried learning javascript
i would say its harder then assembly itself
You know that your computer is really fucked up when your disk reading lamp is in a constant strong white
lmao
I would disagree with you but I can't argue with fact.
same
.
assembly is for sure easier to learn than most languatges
but using it is hard
it takes tons of code to make simple stuff

✈︎ II
Actually I'll have to agree with you hamza. It's just a shit ton of keywords but using them is the hard part.
Here's quite nice deal if anyone's interested:
https://www.humblebundle.com/software/javascript-software?utm_campaign=07_0562&utm_medium=paid&utm_source=facebook&utm_content=2021_infrastructureandopsoreilly_msrp&utm_term=2021_javascript_software_bundle_mobile&fbclid=PAAaZRRnlv405wQp6II0VU5_bLCtHCXd4Sa_DibolnIZZbgit5R2G0Dsvgt_4
I have begun C++ template metaprogramming.
Kill me before it's too late.
Also I'm gonna try to get NASM working today.
Hello

don't regret it
nice
this store
uses ubuntu
as its system on the computers
instead of a custom made fork
so its straight up ubuntu desktop
ur mum fat
Template metaprogramming is arcane but cool.
@barren shale
yes
we know
my mom is fat
@orchid frigate ALSO
my rpi worked
turns out my 256gb had issues

with the partition
due to its size
i used 16gb and it worked

omw to use actual linux environment
where i can control the actual system
Ima also download linux
But not myself
My bios, monitor, cpu or motherboard is broken and i have no idea which so ima send my pc to actual professionals to check the pc and UEFI's health and install arch
So finally gonna switch

best setup
turns out my network is already configured
so i literally waste 1h for nothing

indeed
honestly the new version is better though
with useState
better than the nested class
literally as simple as
[ setCount, count ] = useState(0)
return <button>{count}</button>
and use it wherever
i forgot some part of react
im using svelte now
a better framework

it uses its own syntax
instead of the standard .js
it has ssr
instead of react csr
why is it better
okay so first off
every view in a svelte has its own context
so if you like have a css
that css only works here
instead of applying it globally to everything

<script>
let a = 69;
</script>
<h1>{a}</h1>
<style>
h1 {
color: red;
}
</style>

i recommend using svelte-kit
yeah i mean
you can apply react to some part of your existing app
svelte is full fledge
should i use a vncserver to access my rpi as a desktop
plus i really wanna use vscode

xfce4 is good since its lightweight
someone who has a map of the world in world box that can pass it to me
So i don't know much about linux and i'm using Manjaro, I tried running worldbox from the terminal using ./ and it failed with this debug info
Debug info from gdb:
mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb
I tried google searching it but came up with a bunch of crap I didn't understand since im stoopid, can anyone make sense of this here?
Uh yeah.
You're running a program that relies on Windows to run on something that isn't Windows.
Not here, sorry. This channel is for something very different. Try #🌐map-discussion or #🌐map-downloads.
where did you get that
did you compile them yourself or-
you just downloaded the exe file
and then just ./worldbox.exe
i have a wisdom to pass to you
don't ask that in here

@orchid frigate should i use my normal fan to cool down my rpi
most tips suggest using the mini fan for your cpu
which is hella costly
I just used tar xvf on the worldbox.tar.gz and tried using ./on the file called worldbox that was inside
lol no but the debug seems weird for something that isn't
humblebundle
eh?
sounds unofficial
whaaa?
The official site exists
the official site took me to humble bundle
ah
Oh
what's the content
do ls on the folder
it shows show you colour code too
to tell what file is what
Well I did
If it has no color it's a windows file.
And therefore not a Linux thingy.
Meaning it cannot and will not run on Linux.
Get a windows 10 vm with virtual box or VMware.
or use wine...
Haven't heard of wine.
its a way to run exe file in linux
Idk why tf the "linux" version would have windows stuff
Oh.
Hold up
send us the output smh
bleh
this is why i code on my phone
blazing fast

no need to login to my non-existent pc
no adult shinobu :(
what
nvm
I do it because it's convenient as hell at school where I can't focus on anything else.
No one asked for English to be so boring.
wtf why can't I send images
oof
Just dm me the image and I'll send it.
IS it fine if I post the huge block of text that comes after
Sure.
There is very little color.
there's a colour yes
But there is a .gz with color.
but not an executable one
probably manjaro thing
me neither
i never tried it
I wanna get a clean slate of Arch on my main pc but my bios is terrible
damn no gif :(
but i mostly use lightweight os
indeed
I mean manjaro is just arch with a bunch of stuff bloating it right?
yes
exactly
i use alpine and void
im planning to install alpine on my rpi
AFTER I FIGURE OUT HOW PARTITION WORK
apparently im gonna partition using windows
and the guide uses linux
so no fdisk, msdosfs, dd
void is a good alternative for almost all non desktop designed os
because it have 2 variety
glibc and musl
I can barely remember from when I installed linux on my laptop but from what I do remember isn't partitioning the easy part?
no
you have to partition the system
to FAT32
and then make a filesystem to it
and make it bootable
and then other shit
the hard part is
im on windows
partitioning in windows 10 is easy af
not here
best way to run rpi

im gonna use a lan cable instead of wireless
and also
it powers nicely
without hdmi and usb keyboard & mouse
i don't think it has low voltage
nice cooling
i know
oo nice
docker seems pretty hard but interesting af
yay
docker is working
turns our the fucking docker daemon is already running
also alpine image 3.13 >= broken
on armv7
kewl stuff
NEAT looks neat ngl
u get some neat stuff
even tho i didnt fully implement it yet
Hmm?
haha
the fan worked
my rpi stay at a stable 45°C

even though i literally compiled shit
atleast 6 times
yay now my server is online

@wet girder great news
i learned how to use docker
yes
i honestly don't expect this much
since i bought $1 data cable for the charger

usually it cost $2 or $4
or even $10
i even bought $2 sdcard
Your mom is fatter than the universe
node modules are denser than black hole
we know
pi@raspberrypi:~ $ /opt/vc/bin/vcgencmd measure_temp
temp=40.2'C
pi@raspberrypi:~ $ /opt/vc/bin/vcgencmd measure_temp
temp=39.7'C
pi@raspberrypi:~ $ /opt/vc/bin/vcgencmd measure_temp
temp=40.8'C
pi@raspberrypi:~ $ /opt/vc/bin/vcgencmd measure_temp
temp=39.7'C
pi@raspberrypi:~ $
hmmm
getting too cold here
omw to turn it off
well yes its normal temperature
by normal i mean
its literally not hot not cold
although it has a little heat on the cpu
just reminding you
is this idle temps ?
well yes and no
but im not iddling
it was literally like
47°C - 43°C
when im configuring docker
by that i mean
compiling yarl
multiple times
because my Dockerfile sucks

and apparently it didn't cache the pip install part
GRAPHS
:OOO
things that use 1 core and has a lot of waiting dont do shit
you dont need data
when you can make data
YOU GATHER IT
nO
YES
:/
IM RIGHT
UR WRONG
you can't dather gata if it doesnt exist
:)
djqkwejqiwokueqoewq
there would be bigger problems
do you write AI in python
no

sometimes
rekt
what
python SUPERIOR
average C# user is way better than python user
python is not fun
python is like coding with a blindfold on
ew
at least we can all agree lua is even worse
C# > python > lua
assembly
lmao
xdd
everything else
is unpractical
windows uses C
not assembly
why you ask ?
cuz assembly is bad
unpractical
shit
and C++ and some other things
assembly would make that trillions
kek
imagine not being able to count all the disjoint connections in 1 line
LMAO
this is using LINQ which is slow
still faster than python tho

who cares if python is slow
its slos
slow
if you want speed
use assembly
like the cool kid haydot
Actually not true
Assembly needs very little lines to do things as it doesn't have many of the functionalities other languages do which make the code longer
It doesn't need much explaining
rarely
most of the times its longer in assembly
Wdym you havent written a single line in assembly
Cap
Plus have you seen win11?
The whole os is a fucking joke
has nothing to do with the arguement
windows 10 still made in C++ and C
and its the most used OS
That doesn't mean it doesn't suck
Why do you think everyone that knows anything about computers wants to switch to linux
It's windows 10 but + 1 feature.
And + 8000000000x ram requirement.
@orchid frigate haydot haydot haydot haydot haydot haydot haydot haydot haydot haydot haydot haydot haydot
go scheduler sucks a bot
bit*
when you run go routine
it literally
run in a undefined order
behave literally like a thread

using a Mutex won't work
because the first order is undefined
so if we make 4 routine
the first running could be the 2nd or 4th
or anything else
It also may either improve or decrease performance depending on hardware
usually decrease it seems
Linux always improves tho
all is compared to win10
quick fact: go just fucking dominated my cpu by just installing like 5 dependencies
Linux is not that heavy
because as you know it
its Unix
NOT LIKE THAT FREAKING WINDOWS
im somehow still unfamiliar with Windows filesystem
even though i used it for my whole life
and linux these past 2 years
almost 3
once i have a suitable charger head
TIME TO drop in
a storage server
for my family

windows 10 uses 1-2 gb of ram
which is pretty ok in today's standards
why are people using it if windows isnt better
me with 1gb to run raspbian lite with 600mb on the buffer and 200mb free: yes, indeed
because
windows is user friendly
it doesn't introduce you to the systems
just casual experience
its like primary school
on the other hand
linux is
military
same tbh
nice
GASP
i lied, i like males more than females
geyh
i do cars
i don't
you dont cars ?
i have severe car sickness
no
bad boy
none cares for some reason

no police
well i mean
😳
if you're in the city
its a small town on a hill
police are almost on every corner
even in cities
bleh
not a lot of police
yes
for bigger one
like a department
its usually located super close
to the other government buildings
we do need them
same here
we have military checkpoints everywhere
usually the government buildings is literally filled
in my town there's like 4
with military personel
holy cow
there's literally a military brigade infront of my neighborhood
in the small towns they are bored
and they dont check anything
they are just there
same here
but in the areas leading to governorates that have war in them
they check everything
they look in the car
someone checking your stuff is literally a gift
you got someone attention and they wanted you

yeah
they looking for bombs and weapons tho
they look under the car
under the seats
imagine the queue

yes it sucks
atleast better than THIS ONE TIMR
i went to a mall
a new shopping retail opened
Uniqlo
literally like
hundreds of people lining up
for some autograph
or something
its literally circling
these are normal to syria
but on essentials

like gas for cooking or for cars
or diesel for heaters
or food
bleh
you could get gasoline on every corner here
just drive half a km
you find a gasoline seller
for some reason i wanna ara ara hamza now

what ara ara
geyh
geyh
fax!!!!
lol
code
its mainly the background
too high definition for the pixel art
and since its space
you need darker shades
then it would be kewl af
true
who has S&Box
what is that
also @barren shale quick test: what is the magic number in a boot sect
assembly dev

writing the gdt table is so annoying
too many flags to remember
didnt learn that in the 2 weeks of reverse engineering
🙄
excuses
cant wait for linux
where i will actually be able to compile, link, assemble and run my code
so you cant do that on windows
also its not
i just rather spend my time on more useful stuff
i probably can but its way too complicated
bruv
ive seen someone run assembly code
linux makes in way easier
wanna see how many commands i gotta execute to run it?
and see it doesnt work]
thanks
np
btw there are so many commands for testing an os
people make MakeFiles for the run
@barren shale c# is best language
No, C++ or C is better
(I know but he likes c# so im doing a bit of trolling)
dont tell him tho
Tf is this...
no, assembly
i actually like assembly
like no joke
No 🤫
🤫
i mean like matters what assembly
are we talking bear metal assembly or os dependant assembly
why assembly for bots tho
i was gonna ask a really dumb question but i stopped myself
assembly the language

Ohhh
Okay
I understand now
Welp
Its not like that used for bots
Bots are mase with C++, Java, Js and I think also Python??
isnt it needed for the pc of the robot? I always imagined these robots work on os like software
so you got the boot sector first in assembly link the kernel and boom
you can now use high level languages
but idk how the software on robots work
may be different
Bots are mase with C++, Java, Js and I think also Python??
ok
Because marketing gave Windows such an extreme hold in the early days of computers.
It was the "easy" operating system.
You just popped a CD in, went through setup, and your computer was just ready to serve.
Windows did everything for you. Just sit back and use the Microsoft Office Suite or play computer games.
Linux was very similar but never branded itself the same way.
Linux was for the people who were super good at computers despite only just being more customizable.
It's like IOS vs Android.
In the end they're the same thing but one just has more customizations.
Windows is actually a very shitty operating system.
PC locked during updates, huge performance impact.
Not a good environment for software development.
The only reason it's popular now is because it was popular then.
All it takes is a little effort and dropping a chromosome to realize that Windows isn't as great as you think it is.
win10 eats like half my ram by just existing
IOS and Android are both Linux

and here iam, alpine consuming just 5%
how many giga do you hav
3
bleh
that's why
i don't use windows
even if i do
i use it to ssh to my server

which made it good
companies are focusing more on windows
when i tried to use blender in linux
crashed every 5 mins
wasnt fun
overmarketing is bad
plus on early days
not much people know how computer works
advertising linux is eh
plus its open source
things that most people does not care about
Ye xd
Thats bad
I love linux except for that

Hello
Hi
i hate marketing so much for this reason
if microsoft didnt market windows like its wheel 2.0 now more people would use something different then windows on a regular basis
and maybe i wouldnt be stuck with this trash
every day i just start hating windows more and more
Windows being more popular made it a better os than anything else
I think we have a different understanding of quality
For me a quality product is something i enjoy using ans see that there is thought put in it
Your quality is as long as more people use it its a good product
No
I’m just pointing out that Linux is free and windows is still used more
The main reason i see for that is linux is always advertised to be more difficult and thus pulling everyone that doesnt wanna read 2 line documentation away
And compatibility with windows programs but that all came with windows gaining popularity
Because it’s better in general
Look i dont agree to that
I have been using windows my whole life
And i would say its not a good os
Its good for lets say
Gaming or using one of those office softwares which i think are also pretty shit but still
But for anything else? Nah man it sucks
Its like unity
Too many unnecessary features making it run and perform like shit
I’ve tried both
Linux preformed worse for me
Also windows is the main platform for most productivity apps
Its not customisable what so ever
No different desktop environments
And file system is trash
indeed i agreed with you
so if your system went wrong
get ready for a rollback
linux: haha yes just delete this file
also
turns out
my memory has 600mb left to use

have fun having 5 apps not working because you deleted 1 app
I would rather that then having to fully reinstall because there is like 1 virus that barely exists
that's literally
what's called
dependencies
right
my system anti virus on windows just
"this file is a trojan"
when all i did was download a tar.gz
go scan it on virustotal
it will say its a trojan
its just something that some files have and virus uses
so to be on the safe side anti viruses say its a trojan
that literally never happened to me
idk if ur bad with fake download links or something
downloading ram ?
imagine deleting dependencies even tho they are used by other apps
newer dep tools don't do thst
conflict can happen
and that's why
so if you need multiple dependencies
and one of your app is deleted and depends on that dependency
it'll try to warn you
ask you
or heck even just ignore it
and purge other unused ones
example, python poetry
yarn, npm
who would want to delete dependencies if they are used by other apps
...
what the

that's not the point
i guess hamza is hard to talk to as always
block time

linux bad
windows good
linux is too specific
windows is more general
not gonna argue about it anymore
no
windows is good for development
linux is good for production
libs mostly provide that information
"it is not recommended to run [lib name here] on windows for production"
do not run linux (a python libary) on windows
yes
and also stuff like
iocp on windows
while on linux its like
epoll or select
which both are available on unix
its basically
lets see
a multiplexer
if i remember
so like your code blocks until a file descriptor event is ready
interesting
Hi
so if your fd is waiting to be read, it'll block until its ready to be read
its mostly useful on networking
👀
how many years of coding experience do you have
👀 i have like 9 months

that's considerably quite a while
ig
most people either got consumed by overconfident
or gave up at some point
9 month is nice progress

lel
i recently found out that there's some pretty cool coding bootcamp program
for ai
👀 signed up for it
hopefully i'll get in
python :D
ye
lmao
i got into js recently
and by that i mean 2 days
my brain's melting when im trying to write smth
so for now im pretty much just copypasting code from docs or stackoverflow
bleh
while learning how it works
probably
it's much easier and faster to copy paste code, test it and then learn what it does
running this rn
don't
its literally gonna delete your whole disk
wtf i've been bamboozled
see what i mean
i suggest doing shits on a chroot honestly
or a vm
like running a shady code
👀 i haven't stumbled upon malicious code on SO yet
good
pretty sure people call that stuff out
and i always read the entire thread or whatever
good
some people ended up like this
50% "ill learn how it works"
50% "yay it works, now im not gonna learn why it works"
great
if not then i eventually come back to the code and i just dont understand what it means so i have to re-research everything i didnt comment
if there's one thing i hate about programming its not knowing what thing X does
especially if thing Y is dependent on thing X and it just snowballs from there
bleh
i code on windows
been doing it for 6 years
no problems
i code on windows too
¯_(ツ)_/¯
i think you're very unlucky
hamza is like
















well yeah