#code-talk

2 messages ยท Page 3 of 1

long raft
#

id rather not hear them

#

you explained it well enough in one sentence that i understood

pure sierra
#

wrong channel ?

long raft
#

nope

#

he says the game should be made in c++ instead of blueprints so it will use less cpu and be more mobile friendly, and that i have no idea about anything

pure sierra
#

ah, those blueprints

little briar
#

And I'm not saying it should be easy, or even ported to mobile

#

But I am saying I see a large part of the problems in the technical discussion

#

come from people on sub par hardware

long raft
#

lol now we're in the wrong room again haha

little briar
#

I mean this game doesn't look much better than counter strike 1.6

#

So I'm saying kids with laptops playing this game would complain less

long raft
#

im guessing the lighting model is more sophisticated than counter strike

little briar
#

Still code

long raft
#

and more post processing effects

#

its less code, and now more technical

#

as soon as you said c++ they made us leave

little briar
#

I'm not moving channels again

#

If they wanna move me they can

#

Technical chat AFAIK is "hAlP gaYme No rUnNiE"

long raft
#

i was programming games in c++ long before the fear of managed code

#

omg, we're wasting cycles! how can a game run with garbage collection! oh no

#

but then it was all nothing

#

and that managed layer makes portability a lot easier, i know with unity it sure does

little briar
#

I mean look at command and conquer Tiberian Sun, or Firestorm and the RTS games now

#

They're shit in comparison

#

Due to Westwood's tireless efforts of optimization

#

No unit caps

#

No frame drops

#

Excellent pathfinding

#

swooont

long raft
#

yea id also say older RTS games were geared at a narrower range of hardware

#

a thousand fold more narrow, in capability, and brands/drivers

#

its like programming for a console - you know exactly what youre targetting

little briar
#

It was still infinitely more complex than consoles

#

I mean you had voodoo graphics back then

#

and ATI

long raft
#

and a fixed graphics pipeline

#

but experience has taught me thats more likely over ambitious lighting models than micro optimizations or using c++

#

and the C purists scoff at them even

little briar
#

lol

#

You're not wrong.

long raft
#

and theres ALWAYS that person who brings up that roller coaster tycoon was made by 1 guy using assembly

little briar
#

you're full of shit

long raft
#

you havent heard that?

pure sierra
#

you cant compare sprite based performance against 3d

little briar
#

no fucking way

long raft
#

oh yea google it if you care

#

its real

#

mostly real

little briar
#

fuck yeah I'm gonna google that

#

that's insanity

#

sounds like TempleOS

long raft
#

temple lol

#

holy see smartest programming language name ever

little briar
#

I can't even type lol in chat

#

god damnit

#

so good tho

#

The guy died by getting hit by a train

#

its a conspiracy

#

globalists didn't want us to find the truth

long raft
#

the world will not miss his OS, probably not him, but maybe his sense of humor

little briar
#

The guy was a fucking nutjob and it was hilarious

#

poor guy he definitely had schitzophrenia

long raft
#

or the guy who made reiserFS

#

im guessing his name was reiser

little briar
#

oof

#

Yeah I just read the case file

#

It mean just from a speed read it looks like he was upset over custody

long raft
#

i took hayden's CV on accident once, and i thought he was gonna go reiserFS on me

little briar
#

I want to type "HAHAHAHAHA" in chat but I keep getting warnings for using all caps

#

innapropes humor ftw

long raft
#

yea sloppy regex maybe

#

[A-Z]{13,}

#

or 8 or something?

little briar
#

sorry for being a cvnt earlier. I probably should have been more descriptive in my suggestion and the plights of using interpreted blueprints.

long raft
#

cant remember where its triggered

little briar
#

It just kind of irks me that people get big dick praise for using blueprints compared to a big boy language.

#

but I'm an asshole

long raft
#

theyre a business, man

#

its not a hobby of passion

#

they gotta churn that butter

little briar
#

i feel u fam

long raft
#

not like the roller coaster tycoon guy

little briar
#

So u a game dev too or what?

#

I've been teaching myself UE4 as a hobby @long raft but WebDeveloper Fullstack by trade.

long raft
#

lol no wonder you hate interpreted languages

little briar
#

lets use node for everything said every fucking new developer

#

Its only in the past 3 years my raging node boner has subsided and I've seen the truth.

long raft
#

oh boy, perhaps you havent worked at one of those places that decides theyre gonna use ruby on rails or lisp or something way too exotic

little briar
#

I've worked for more startups than I can count. Back in 2011-2013 everything was ruby

#

Then 2013-2015 everything was node

#

Now the new hotness is Go

long raft
#

i dont know ruby, and i havent worked with node, but damn i hated when ruby was hip

#

go/rust are pretty sweet new languages, though

little briar
#

I tried to get into it but the package manager and environment managers were such trash.

long raft
#

and dotnet gonna make a big comeback, mark my words

little briar
#

ohgot

#

plsno

#

OpenSource4lyfe

long raft
#

dotnet is open source

little briar
#

wat

long raft
#

mit license

#

so like ... REALLY open source

#

not like communist open source

little briar
#

hahahahahahahahaha

long raft
#

and its cross platform, its on linux

little briar
#

I was just about to ask

long raft
#

some folks even compiling it on unix

little briar
#

Yeah because last time I used dotnet you still needed a windoze box

long raft
#

i think its going to get popular again for web

little briar
#

I mean

#

I'm of two minds

#

If Microsoft ditches the fullballmer they've pulled for the past 20 years

#

trying to kill Linux and all

#

then I'm all for it

long raft
#

theres good parts of ballmer too..

little briar
#

but, they've been trying to kill Linux for 20 years

long raft
#

microsoft always tried to please developers as their top priority

#

yea i know, theyre a major contributor to the linux kernel now

#

like, virtual machine drivers that are part of the kernel for hyper-v, etc

little briar
#

Except that VMware uses 4.14 kernel without paying licensing fees to the Linux foundation

long raft
#

i hear they run way more linux than windows on their cloud, azure

little briar
#

for like 5 years or longer

long raft
#

linux kernel comes with a license fee now? for what

little briar
#

Lemme get you link

long raft
#

also, vmware is vmware, not related to microsoft

little briar
#

But its the big 3 right

#

All of them embracing and extinguising

#

is what I've been afraid of

long raft
#

uhh they trade teceh on virtualization a little

#

but vmware is its own giant fortune 500 company

little briar
#

Correct

#

hold on lemme get you link

#

You like Brian Lunduke? He's kind of a twat IMO but he makes good points.

long raft
#

a lot of microsoft's customers are running vmware, so they want advanced features on those, even if its in vmware, like remotefx

#

i dont know him

little briar
#

no wai

#

hold on

long raft
#

i dont think microsoft would ever risk using GPL code

little briar
#

Well here's his channel

#

He did the "Linux is trash" TED talks for the past 10 years

#

All of it jokingly

#

but as a way to focus the efforts of developers

long raft
#

i trashed linux seriously for years, but here i am using it extensively now ๐Ÿ˜ฆ

little briar
#

Microsoft has started to win me over by open sourcing VScode

#

and unlimited free private repos

long raft
#

hah, vscode pretty weak tho

little briar
#

Eh. All my experiences with big boy IDEs have been unpleasant

long raft
#

seems less capable than notepad++, definitely less than vim

little briar
#

I'd rather customize VIM or Atom, or Sublime within an inch of its life

long raft
#

visual studio is a magnificent wonder, and intellij stuff is great too

little briar
#

than use a JetBrainz product

#

its so expensive to use intellij

#

300 for ONE YEAR

long raft
#

wha? community license

little briar
#

Hold on lemme check

long raft
#

same with visual studio (windows only)

little briar
#

60 a year

#

okay

#

that's the price of Sublime

#

not bad

long raft
#

why am i using it free then?

little briar
#

wut

#

ur using intellij free?

long raft
#

yea for years

#

i must admit, i didnt read the license im using

little briar
#

must be educational

long raft
#

no, community version is free/open source

#

you dont see it?

#

apache license w00t

little briar
#

Ah

#

The languages I use are only supported in Ultimate Edition not community

long raft
#

i mean, i cant justify using a paid version unless youre using ... perforce

#

whos using perforce lol

#

people who can afford to pay for a yearly license

little briar
#

Nah

#

I use Vim and Atom

#

Atom is trash though

long raft
#

oh, yea perhaps its not a good web IDE

little briar
#

trying to switch to VScode

long raft
#

i use it for java development when i have to do java

#

I've found some languages just dont have any good IDEs, like php

little briar
#

Yeah

#

I loved their intellij for PHP

#

being able to see the variables in memory

#

set breakpoints

#

it was a life saver

long raft
#

its pretty awesome huh

little briar
#

But most the stuff I do these days is just ecommerce for shops

long raft
#

such conveniences im very used to with the old classic languages, but for a web stack its so helpful

little briar
#

All people want is to setup webshops

long raft
#

microsoft's contributions of rosalyn and dotnet are serious tho, i think way bigger than vscode

#

its like releasing all of java as open source under a super liberal license

little briar
#

Yeah you've piqued my intrest

#

There may be a resurgence of Microsoft yet

long raft
#

what do you mean? microsoft is more valuable than ever before

#

oh you just mean like with coders?

little briar
#

Well I saw Azure as dying

#

When compared to AWS

long raft
#

oh i heard azure was making lots and lots of money up until just recently

#

not really a rival to amazon but still very profitable i thought

little briar
#

I mean its not going anywhere anytime soon that's forsure. But the market force of docker and containers is undeniable.

#

And you need a linux kernel to run those containers on.

long raft
#

yea, im really hoping they complete the linux subsystem so that it can run docker

#

i mean you can run docker on windows, but its in a VM, so its just not as good

little briar
#

Yeah layers upon layers of emulation is no bueno

#

But here I am running windows within linux

long raft
#

not that anyone would really run a server farm full of docker on windows anymore, but just to keep developers using your OS

#

do you play foxhole in windows or linux?

little briar
#

Both

#

Depends on if I feel like rebooting or not

#

If I'm recording or streaming I reboot into windows

long raft
#

is one better than the other?

little briar
#

Nah

#

you get full speed emulation with DXVK

long raft
#

oh so its dual boot? not gaming in a VM?

little briar
#

You don't even need to emulate

#

Runs natively on Linux

#

Setup Wine with that get identical windows speeds.

long raft
#

wasnt there a new feature from valve for steam? play or something?

little briar
#

Proton

#

It uses a super old version of DXVK

long raft
#

oh so there is newer?? wow i had no idea

little briar
#

DXVK development is happening so fast they haven't even merged 1.0 yet.

long raft
#

i heard it was based on wine, not dxvk

little briar
#

And 1.0 has been around for like 2 months.

#

Oh Wine is dead

#

Developers hardly commit

#

Mostly out of fear of breaking old hacks to make shit like Photoshop work

long raft
#

i was toying with vga passtrhough to get windows in a VM with a video card, managed to get it to work with the single video card

little briar
#

There was an open source reverse engineering of the Windows kernel

#

It emulates upto Windows XP with like 99% accuracy

#

I forget what its called though.

long raft
#

but nvidia changes the drivers often to detect pass-through and disable acceleration

little briar
#

Wut

#

if you do passthrough

#

you lose video on host device

long raft
#

i totally had it working

little briar
#

You need 2 video card

long raft
#

yea, it would pass through to VM, start up windows VM

#

nope, you dont lol

#

i assure you i did it with just 1

little briar
#

bruh

#

r u fuking with me?

long raft
#

it was a huge pain in the ass to get a version of libvirt new enough to hide the virtualization from the nvidia drivers

#

and i never figured out how to give the video card back to linux host when guest shut down, but i didnt really try either

little briar
#

AFAIK VM passthrough works via VFIO and ROM-BAR.

#

VFIO prevents host device from initializing video card

long raft
#

rom bar i think is for VGA

#

i was able to flash my 670 with a UEFI firmware

#

did the whole thing in UEFI, the VM too

little briar
#

Yeah you need to

long raft
#

im not sure if it was necessary, but with a vga kernel i never got it to work

little briar
#

I too have done it to get HW acceleration in my MacOS VMs

#

but I always needed 2 video cards

long raft
#

it can be done with 1!

little briar
#

link pls

long raft
#

i onyl found like 1 other documented person doing it

little briar
#

Cause I have a few video cards

#

And being able to do it with 1

long raft
#

and his method didnt help me, it was kind of self derived

little briar
#

would allow me to have 1 compute card for openCV

#

and one for VMs

long raft
#

i dont have a tutorial i could link you

little briar
#

instead of 1 for desktop and 1 for VM

long raft
#

i could share my notes, but i didnt cull out all the stuff i didnt need

little briar
#

Well I use AMD

#

Maybe different?

long raft
#

me too

little briar
#

I'm using 2, 290x video cards

#

1 for VM

long raft
#

amd vs intel wasnt an issue

little briar
#

1 for Desktop

#

OH

#

You'

#

You're using the Intel integrated graphics for desktop

#

and using GPU for VM

long raft
#

amd vs nvidia was, lots of people had more success with amd video cards, but i had nvidia

#

no, i dont have onboard lol

little briar
#

wut

#

okay

#

yeah I need notes

#

Also

#

check out this project you'll probably love it

long raft
#

very poorly documented notes, i messaged you with them

#

it took me ... literally months

little briar
#

Yeah I mean

long raft
#

i tried several times for about 3 months

little briar
#

I love this kind of stuff

#

I'll never need to reboot again

#

I've been trying to get this to work

long raft
#

and the first time it was all on zfs (that was the goal, windows on zfs) which just complicated it all more

little briar
#

let me link you hold on

long raft
#

hmm

little briar
#

You should hop on the level1 forums they're hella smart over there

long raft
#

if you go down this route, you find a lot of people using uhh whats that linux freenas software..

#

unraided

#

trying to pass through their video cards, those are the most helpful posts, but not always useful

little briar
#

Looking glass, or your route?

long raft
#

the route i used, and some other people

#

honeyDiq you are the only person i have ever impressed by doing this

#

youre definitely the only person who ive ever talked to who understands the difficulty of it even

little briar
#

You need to hang out with more devops

#

My kind of mustard stain mouth breathers

#

all the same

#

Extremely impressive

long raft
#

i do! on irc. and they dont care.

little briar
#

They're idiots

#

Hang out with the old hat dudes

#

I guess they espcially don't care

#

But I understand the difficulty

long raft
#

i took those notes because i wanted to make a blog post one day, since i wasnt able to find any intel, but eventually i just figured nobody else would care to know

little briar
#

Mostly because I dabble in artificial intelligence and deep learning, but also like to play video games, but also have to do cross platform development

long raft
#

and especially now with dxvk, is this valuable to anyone anymore

little briar
#

Well yes

long raft
#

if you can run basically any game on linux now, and gpu compute is probably easiest on linux anyway

little briar
#

Because any game that uses anti cheat looks for libraries that hook or modify the DirectX library

#

and that's exactly what DXVK does

long raft
#

oh

little briar
#

so guess what

#

instant ban

#

For just playing games on Linux

#

So this is invaluable

long raft
#

does proton have that problem as well?

little briar
#

Yes

long raft
#

so perhaps the part not documented is the nvidia hiding stuff

#

its probably in that libvirt virtual machine definition (youll need to read it in a markdown reader to deal with the html encoding)

#

some small like xml attribute that handles hiding it from the drivers

#

otherwise, it works, it boots and you get video, but no accelleration

little briar
#

Yeah there's lots of weird undocumented attributes

long raft
#

yea i feel like i scoured all of google to find the settings in that document lol

little briar
#

I had to fuck with the xml config using virsh to get SMT (AMD equivalent of HyperThreading) working

long raft
#

it doesnt look like much, but its a LOT of research work

#

and a ton of testing

little briar
#

But yeah man I do all this stuff all day

#

Add me on steam

#

I see you play warden too

#

๐Ÿค˜

long raft
#

i like never use steam lol

#

socially

little briar
#

Well I mean I still play video games

long raft
#

god look at the nonsense in that kernel arg line: amd_iommu=on video=efifb:off nofb nomodeset pci-stub.ids=10de:1189,10de:0e0a,1002:4383,1002:4397,1002:4396,1002:4397,1002:4396,1002:4383,1002:4399,1002:4397,1002:4396,1b21:1042 vfio_iommu_type1.allow_unsafe_interrupts=1 pcie_acs_override=downstream

#

everything except the amd_iommu was a painful web dive

little briar
#

The only one I don't understand

#

is pcie_acs_override

long raft
#

hah i dont know, youd have to google it

#

i didnt document well

little briar
#

I've read the documentation to every kernel option for AMD virtualization

long raft
#

might be nvidia specific then

#

or to my motherboard.

#

i mean, i had to blacklist the nvidia drivers on the host too i think

little briar
#

That's typical. You don't want them being accessed before VFIO

long raft
#

i really was treating it like a headless machine, not one i would switch back and forth the video, so ... its obviously going to need work

little briar
#

Unless you compile the initRamFS from scratch with every kernel update and give VFIO first priority.

#

Then you don't need to blacklist

long raft
#

i was using ubuntu, so i think it was triggering initramfs-update

little briar
#

Yeah but are you controlling the module listing priority?

#

Ubuntu typically loads video drivers before VFIO

long raft
#

hmm i did add some modules in the initramfs

little briar
#

I use Arch

long raft
#

but i think they all come last

little briar
#

so we use mkinitcpio

long raft
#

im actually not sure

#

ah fancy mkinitcpio =\

#

wish i had some of those features available to me

little briar
#

Come to Arch

#

we have AUR

#

No more PPAs

#

PPAs give you cancer

long raft
#

why is AUR better?

#

im kind of more of a BSD user so i dont know much about arch really

little briar
#

Hey you want third party software?

#

yay tensorflow

#

done

#

no bullshit

#

that easy

long raft
#

what security price do i pay for that?

#

(not like i check hash codes)

little briar
#

None. Every update everything is checksummed. Keys are updated constantly. Packages are removed is developer is no longer active.

#

The only security price we pay

long raft
#

so some arch authority decides whos allowed into the cool software club?

little briar
#

Is when developer gives away package authorship to a random

#

and they inject malware

#

But that hasn't happened in a while.

#

Arch is a pretty tight knit group

#

Oh no

#

AUR you void your warranty

long raft
#

anyone can submit their repository?

little briar
#

Yes

long raft
#

so its like adding ALL the PPAs that are still active

little briar
#

But 99% of the time the AUR packages are maintained by the original package maintainers

#

Essentially

#

No needing to add and manage PPAs

#

its all centralized

#

But they do not distribute binaries

#

only source

long raft
#

ok that part sounds nice

little briar
#

This simply automates building the binary from source

long raft
#

im still waiting for canonical to bring zfs to the setup so i dont have to bootstrap this stuff anymore

#

same issue with arch

little briar
#

zfs?

long raft
#

๐Ÿ˜ฎ

little briar
#

You managing a server farm?

long raft
#

no

little briar
#

porque no btrfs?

long raft
#

omg btrfs? do you hate your data?

little briar
#

lol

long raft
#

im a nutty zfs evangelist

#

dont even get me started lol

little briar
#

I don't know the big debate over on phoronix has been the zfs guys vs the btrfs guys

long raft
#

its simple

#

zfs is the only enterprise level open source file system

#

perhaps before zfs, the definition of enterprise level was much lower

#

some distros are moving away from btrfs as default file system

little briar
#

Wendell over at level1 techs is a pretty big ZFS evangelist aswell

long raft
#

sometimes it just ... dumps your data. plus all the classic file system bit rot and z write problems

little briar
#

But problem I've heard with ZFS is it uses quite a bit of compute.

long raft
#

zfs not perfect, many problems, but its just the best available

little briar
#

I mean I guess I don't have to worry about that

long raft
#

there are many myths about zfs, biggest problems is that its not good for ssd, and it doesnt resize/reconfigure well

little briar
#

Switching to Zen2 soon

long raft
#

old myths about needing ecc ram, and catastrophic failures, etc

little briar
#

Yeah I'm using NVMe SSDs

#

and they're TLC

#

so they don't last very long

long raft
#

no trim support on zfs, thats the big downside for me

#

really? ive never burned out a TLC yet lol. in fact all mine says like 8 years left

little briar
#

no fucking way

#

I've been paranoid

#

I wanna keep these babies going as long as possible

long raft
#

theres tools that will measure their write rate and predict how much life left

little briar
#

So I farm all my write intensive tasks to my HDDs, and read intensive to SSDs

#

basically

#

/home is HDD

#

OS is NVMe SSDs

long raft
#

i think ... you can just count on ssd lasting longer than any of your hard drives

#

even with writes

little briar
#

That does make me feel a little bit better

long raft
#

it shouldnt lol

little briar
#

hahahahahahah

long raft
#

im saying youre not worried enough about your spinning hard drives

little briar
#

Eh

#

They're cheap

#

and 10TB HAMMR drives comming soon

long raft
#

hm yea true

#

what is HAMMR?

little briar
#

Heat Assisted Magnetic something something

#

Basically they super heat the rust

#

to store multiple bits per sector

#

Let me get you video

long raft
#

he says hard drives are boring - i love reading the quarterly backblaze hard drive loss report

little briar
#

lol

#

I mean the quota for that is 10% failure right

long raft
#

tl;dr - seagate sucks under 10TB

little briar
#

Failure hasn't changed. But storage has increased

#

current industry standard is 12TB correct?

#

or was it 6TB?

long raft
#

i havent seen a 12 TB in person yet

little briar
#

If we're talking about the same report

#

They're just enterprise drives

#

the shit AWS uses

long raft
#

well seagate drives were terrible before their 8TB

#

the last 3-4 reports i saw they were finally improving

#

but backblaze doesnt buy a lot of seagate so the sample is usually smaller

little briar
#

ah gotcha

#

Yeah I've some WDs here

#

the 4TBs

#

3 or 4 of them

#

3 in server

#

1 on worstation

long raft
#

so HAMR is faster reads writes, nice

#

thats what spinners need right now

little briar
#

and more density

#

20TB not 10TB

#

that's insanity

long raft
#

that guy is freaking me out the way he waves hard drives around

#

ive ruined drives with less

little briar
#

his other videos are just as bad

#

Literally drops brand new 1080ti

#

drops whole workstation

#

its a meme at this point

long raft
#

hold it like a baby, damnit!!

little briar
#

hahahaha exactly

#

Yeah I mean this game fascinates me

#

the technology they use

#

The AWS or Azure costs

#

are probably anally fisting them

long raft
#

im not totally clear, sometimes i think theyre steam servers?

#

but then are steam servers run on amazon?

little briar
#

I haven't done a packet capture in a while

#

on Foxhole that is

long raft
#

well thats cool, looking forward to some new seagate stuff

little briar
#

So you never answered my question

#

what kind of dev do yo do?

long raft
#

ive done everything except AI

#

oh, no low level driver/OS stuff either

#

lots and lots of data manipulation/processing, too...

little briar
#

Nice

long raft
#

i grew up on game programming though

little briar
#

I mean we didn't have many engines available to program with before UE4. There was UDK but that was trash. Unless you're much older than I am, and are talking about like Commodore type shit.

long raft
#

back in my day we considered directx/opengl engines

little briar
#

Hmm

long raft
#

i started programming 3d graphics on directx5

little briar
#

Okay

#

So you're like 82' I'm guessing?

long raft
#

i dont know what year that was, i was doing 2d stuff before that

#

yea

little briar
#

Word

#

Yeah a little older than me

#

When I first started dabbling in code it was like 2007-2009.

#

Before that I was just running CS1.6 servers at home.

long raft
#

wow you know a lot for ~a decade

little briar
#

Hah thanks brother. I took many breaks for girls and booze

#

I see other kids

#

Fucking wicked smart.

#

I've started to embrace my inner neckbeard the past 3 years and get back on the horse though.

long raft
#

i promise you none of those "wicked smart" kids know wtf templeOS is

little briar
#

hahahahaha oh that's just programming culture. They'll find out one day or another. Just cause I know obscure programming jokes and references doesn't mean I RTFM

#

And RTFM is what seperates the chaff from the wheat

long raft
#

programming culture probably what distinguishes the gurus from the people who were assigned homework

little briar
#

I guess. I didn't look at it that way. Thank you.

long raft
#

reading the manual is temporary value, until the manual is outdated. learning how to skim a manual for just what you need is everything

#

man how2life

little briar
#

you actually made me laugh out loud

#

hahahahahahahaha

long raft
#

i havent been on a job interview for a while, but do they still give you like a programming test?

little briar
#

Nah

long raft
#

like closed book programming test? lol

little briar
#

Only if you come from a coding bootcamp

#

FizzBuzz

#

Most of it is psudo code

long raft
#

or like, "whats wrong with this algorithm" rofl

little briar
#

I've had a few sorting tests in javascript for jobs

long raft
#

when most businesses are more concerned with how you spend their money, rather than if you know some obscure algorithm

#

oh, always quicksort.

little briar
#

I was using sort if(n-1)

long raft
#

god that is funny, we are living in a day when you dont need to know any of the benefits of sorting, all you need to know is that .sort() is quicksort

little briar
#

fuck now I need to open my IDE again

#

ugh I don't want to sort through commits

#

anyway yeah

#

I do sorting sometimes

#

I probably should be coding right now

#

Was just playing this stupid game while I nursed a massive hangover

long raft
#

its not a stupid game, this is my life!

languid jackal
#

also this one is broken cuz some of it is on success only

#

so it keeps trying to move there no matter what

#

also the AI CAN pin the player to walls

lunar cobalt
#

kinky

languid jackal
#

i also feel like there are too many values in the variables

long raft
#

ah so thats a blueprint

languid harness
#

Test boot of my Pi finally lol

#

next on the list: how the get actual fucking inputs without using a spliter because I am too lazy to order one

hidden path
#

Visual scripting is a sin

long raft
#

i never use my rpi direct as a console; although you perhaps could with synergy to deal with your mouse and keyboard

#

but i shell in, or use xrdp for a remote desktop connection

languid jackal
#

but its so nice watching your programme run in the visual script

pure sierra
#

dang these towers are getting good:
Umbral Wild Wood - The Strands Observation Tower was Upgraded to T24 by Colonials by 5:40 am, Mar 14 UTC+11 - Day 4

barren quarry
long raft
#

whats the active foxhole range on a t24 tower?

languid harness
#

-3 meters

summer bobcat
#

it hurt itself in confusion

royal glade
#

Like that guy who shot an rpg from inside a foxhole and had it blow up the foxhole.

neat fossil
#

me

neat fossil
#

_this makeGod true; _this setAmmo 9999; _this talkglobalChat ["What a beautiful day!"];

#

script booleans are fun

barren quarry
#

here's an interesting coding question for you

#

imagine 2 websites that need to use a steam api key

#

one steam account can only have one api key that can be tied to only one website

#

and creating a new one is not an option because you cant have an api key unless you've spent 5$ on the account

#

so lets get this out of the way that we are limited to only 1 website

#

Now we have a user that wants to be authorized on both websites

#

In a perfect world where each site has its own api key, the user simply clicks on the auth link, gets redirected to the steam website, enters his data there and the account data goes back to the website

#

the account data is set as user cookies and we consider that user logged on

#

but the problem is we can only use one website for authentication

long raft
#

i would imagine youd create your own API that handles your steam requests, and also manages the login, and both sites access that API

barren quarry
#

So we set up a third website that manages steam auth and has the key

long raft
#

id only call it a website in that it might be REST or whatever

#

but its only accessible by calls from your other 2 sites

barren quarry
#

yes

long raft
#

and it holds the authentication token and connection to the steam api

#

although, each site wouldnt need its own API key anymore, just this intermediate server

barren quarry
#

i will finish my text

#

Website A redirects to website C and the part of the URL that redirects to website C is something that tells website C that the website of origin is indeed A and not B

#

that is easy to implement

#

next, we need to store this info for a bit, so we save the website of origin as user's cookies

long raft
#

yea thats what i was imagining

barren quarry
#

then we redirect to steam

#

enter the data, and go back to website C

#

website C now has 1) user's steam data 2) the website of origin as cookies

#

Now, the goal is to set the user's steam data as cookies on website A and i don't know how to do that

long raft
#

website A could request user data from website C

#

if website C doesnt have it, then it requests it from steam

barren quarry
#

as XMLHttp request?

long raft
#

yea an ajax call would work, it doesnt have to be ajax though

#

you just mean as an XML interface?

barren quarry
#

you know how the foxhole war api works?

long raft
#

yea a little

#

ive toyed with it

barren quarry
#

yea it just outputs jsons to links

long raft
#

yea RESTful api

barren quarry
#

and the interactive map pulls the data from those links via xmlhttp requests

long raft
#

yep, same idea then

barren quarry
#

Anyway, here's the catch: the website A doesn't know what to request from the website C because we don't know what we need to get until the user authorizes on steam

long raft
#

do you have to request the pieces of info you want?

barren quarry
#

could you rephrase that question? i don't fully understand it

long raft
#

when you ask steam for user profile data, do you have to request each piece? i assume it just gives you all info your entitled to see

barren quarry
#

It just gives you the account data and then you choose which parts to save

long raft
#

ah

barren quarry
#

Specifically i save steam id, steam name and avatar

#

nothing else is really needed

long raft
#

so you can make sure website A and B always request the same data

#

although, it could pass-through many requests; the important part it cant pass through is just the authentication token to steam, right?

barren quarry
#

yes

long raft
#

is there any harm passing through the profile request into steam - even if they both request different data and it happens twice

barren quarry
#

Well technically a steam api can "just request the steam profile"

#

but that is not the functionality we are aiming for

#

we are aiming for the authentication system and that is only achievable when the user is present on the steam authentication page and personally enters the data

long raft
#

well you want to share the authentication - but do you really need to share any other data between the sites?

barren quarry
#

no

#

ok i have an idea

#

maaaybe

#

a user presses the authentication link on website A

#

he is redirected to a socket room with a randomly generated id, and also in a new tab he is redirected to the website B and passes the random id

#

the user authenticates on steam and sends back the user data and the random id

long raft
#

I'm wondering if the steam APi requests profile data with javascript? Is it done on the server side or client side?

barren quarry
#

then the server A emits to room <random id> the user data

#

@long raft tbh im slowly starting to forget how this works

#

its been 2 months since i coded steam auth

long raft
#

i just wonder if they hide personal data from server access

#

so website A handles the login, gets the steam token, passes that to server C for saving, with the session ID as an identifier from server A

#

and server C queries steam for the profile data requested and passes it back

barren quarry
#

idk if thats what you are asking for

long raft
#

yea its probably in there what i want to know

#

for example, if only the web client can query steam, then you do the login on website A (and maybe submit to website C for caching)

#

but if you can directly query that profile data might as well do it on website C

#

and then implement basic encryption from A to C, or keep it internal and not public

barren quarry
#

it appears i was extremely retarded

long raft
#

why so?

barren quarry
#

i can actually use the api key from multiple websites

#

i just had to change the return url

#

which is here

#

i wasted half a day trying to solve a nonexistent problem Hyperlmao

long raft
#

well thats hella good news

#

i wasted 2 weeks on a missing "break;" statement in a switch once

barren quarry
#

oof

lunar cobalt
#

Were you getting paid for those 2 weeks?

long raft
#

no i was like 15

lunar cobalt
#

Oh

#

Damn

#

If you had been then it wouldn't have been a waste.

long raft
#

but it was a frustrating 2 weeks for a fall-through case

#

or the classic one...
for (;;);
this_line_gets_called_only_once();

#

too many semicolons is worse than not enough

barren quarry
#

I use semicolons in javascript

#

cause i came from c++/c#

long raft
#

i came from a history of BASIC lol

barren quarry
#

the first thing i learned in school was Delphi

long raft
#

i dont think i even realized how many semi colons you can omit in javascript until recently

#

oooh delphi ... so sad thats defunct

#

how fitting you started on delphi and ended up doing stuff in c# tho

barren quarry
#

so we learned delphi in school then the first year in uni was pascal and some c++, i really liked c++ builder because it was a lot similar to my school delphi ide so i could relate, we also studied assembler but i didnt learn jack shit, and i slowly switched from c++ to c# because it had more libraries and i learned visual studio

#

Then i did several foxhole-related projects on c#

#

then sethfire senpai noticed me and invited to make interactive map on javascript

#

before that i despised javascript so my job consisted of basically synchronizing the region images with the world map roads so they perfectly match

#

while doing that i learned a bit of javascript

long raft
#

builder? is that ... borland?

barren quarry
#

Yeah, borland.

long raft
#

omg.

barren quarry
#

Yeah.

#

I know

long raft
#

i think i used that in high school for a class lol

#

well pascal was a great language, great one to learn on, the whole hejlsberg ecosystem is really amazing, c# and typescript also excellent

#

delphi was even better...

#

ok not everything he designed. J++ was ... wtf

barren quarry
#

does coordinate grid correspond to some size in meters?

languid harness
#

Fuck

#

Got a micro-usb to usb port hub for my arduino nano; has no additional energy support and can only be used to read USB-sticks and such. I want a damn keyboard damnit; how else am I supposed to program?

#

and if you now gonna tell me how to do that, imma go to your adress, and take a big dumb on your drive way

pure sierra
#

@barren quarry i guess its so you can scale each map against each other ?

long raft
#

maybe try a wireless keyboard

pure sierra
#

@long raft wrong channel ?

long raft
#

no

#

sorry was respondin to turtleandrabbit re: keyboard

languid harness
#

@long raft I am just a poor boi from a poor familie

#

I could I guess, but I'd have the buy one and I just bought a keyboard

#

also, I first have to fix the wifi of the thing before connecting anything wireless, and anything wireless in my budget uses fucking regular USB and not micro USB, so that doesnt help out either

long raft
#

thought you might already have a wireless one to test with

languid harness
#

I guessed I had a lot of other stuff which I didnt

modest lagoon
#

Anyone good here at python and Json

languid harness
#

I know a bit of python

#

@modest lagoon

modest lagoon
#

Just trynna make a script that could pull just Person2 info from a separate file

{
  "Person2": [
    {
      "DiscordID": "195933799857520640",
      "SteamID": "76561198168354424",
      "LastSeen": "2019-03-19T16:53:01.000Z"
    }
  ]
},{
  "Person1": [
    {
      "DiscordID": "217627662468775936",
      "SteamID": "76561198258704064",
      "LastSeen": "2019-03-19T18:53:18.000Z"
    }
  ]
}
#

Just don't seem to get any of it working

languid harness
#

with all due respect

#

wat the fuck

#

cant you just assign the whole thing to a variable and request value [0] from said variable set? @modest lagoon

#

wait

#

how the frick does this work

#

okay wait

#

@modest lagoon its weird, arent you already making two seperate libraries

#

also, how did you assign your libraries?

#

I have so many questions

#

((if you scroll down a bit, you can find how to pull things from libraries, that may help))

modest lagoon
#

I use the discord.py library basically bot that will store users input information into a json folder as displayed above

#

Basically all I need to find out now is how to pull only a certain part of the data out of the file

#

Using the json module for this

long raft
#

usually the json libraries load the entire thing in as an object

#

so after you load dict it wouuld be dict.a or dict.b

#

im sure there is a function specifically for loading json from a file, not a string

#

ah its just json.load, of course

languid harness
#

stores info as a json folder adamthinks

#

I always use .txt files julianlol

barren quarry
#

txt may be a bitch to parse

#

with json you just use the parse function and woosh you have an object

languid harness
#

true...

barren quarry
#

when there's a lot of data and its all plain text i guess there is no choice

languid harness
#

I just like using txt because that can also be loaded up in matlab if stored corretly lol

barren quarry
#

i must admit i never learned how to use matlab

#

i have used the program like twice but never figured it out

languid harness
#

it is a pain in the arse, but once you know how to work the infosheets and get some good error solving skilss, it is quite nice actually

#

I think I currently have spend like maybe 100 hours on it

barren quarry
#

in uni we were taught to use mathcad, and mathcad is quite good

languid harness
#

mathcad?

#

is that a cad?

#

with mathematics?

#

sounds cursed

barren quarry
#

you just write stuff wherever you want on the page and then write some function and then it calculates everything

#

pretty neat

languid harness
#

a, it is a kind of type setter which does calculations too

#

looks neat

#

wait, it is an WYSIWYG, never mind

#

nah, on our uni we use matlab for everything, because toolboxes, and we are slightly pushed to use Overleaf for reports, which (appearently) has also some calculation skills

barren quarry
#

About 2 months ago i suddenly realized that the browser console can be used as a decent calculator

#

and i have been using it since

languid harness
#

lol

barren quarry
#

whats the best thing matlab is capable of?

languid harness
#

you can make music with it, no joke

barren quarry
#

never wouldve thought

languid harness
#

I had to make a 1 minute track for an exersice

#

#epicdrumsolo

#

I think the nice thing about matlab is the clearity of it compared to programming languages; like I rarely have to mess with ( { [ stuff

#

yet, it is a kind of prgramming language, as in it follows that logic, so you can quite easily make complicated things

#

and the plotting ability is phenomenal

barren quarry
#

Mathcad can also make 3d plots and all that shit

barren quarry
#

not music tho

long raft
#

back in my day we did our linear algebra by hand or on our ti 83s

languid harness
#

I still have a graphic calculator, but if I need a sketch, I can do it faster by hand than with that piece of junk

long raft
#

i think i still have mine too

#

math teacher in 8th grade said it would be a lifetime purchase, she was right

barren quarry
#

does anyone here know react?

summer bobcat
#

react.js? kappaflyinchicken

barren quarry
#

yea

#

@summer bobcat

barren quarry
#

Nevermind

languid harness
#

lol

barren quarry
#

2 absolutely identical texts

#

for some reason the second one gives an error and the first doesnt

#

what the actual fuck?

#

help me i am losing my mind

languid harness
#

@barren quarry did you forgot to close the round brackets somehwere above?

#

or accidently opened one

barren quarry
#

this is so weird

#

apparently it didnt like the first curly bracket

languid harness
#

wait, I see what you are doing

barren quarry
#

i reentered it and it worked fine

#

but then

#

i pressed ctrl+z a bunch of times and it was still working

#

so i canceled my fix and it was still working

languid harness
#

I am not sure how it works here, but does debt account for anything?

#

like, in python, if you space soemthing wrong, it might not work at times because it thinks it is outside certain statements?

barren quarry
#

spacing means nothing in javascript

languid harness
#

alright, that is nice

barren quarry
#

it uses {} instead

languid harness
#

have used JS like 2 times in my life lol

#

but since the second gives an error and is spaced twice in, that will be the only thing I trigger on

long raft
#

can we see the code around it and the whole error?

#

oh just unexpected identifier

#

hard to tell without seeing that code tho

#

my guess why it doesnt flag an error on the first one is because it thinks youre still editing it shrug

pure sierra
#

Check editor line ending mode @barren quarry

gaunt ibex
#

which lang is it?

barren quarry
#

its react but i fixed it

gaunt ibex
#

How do you think, does functional programming have potential in game development?

barren quarry
#

i don't think its remotely possible

long raft
#

I remember reading a post-mortem about Jak and Daxter (which was programmed in lisp) and their deep regrets using lisp

#

this was like 2002 tho

#

their biggest problem was finding programmers who knew haskel

#

there arent many functional languages in use so you can barely find anyone who knows them

coral furnace
#

FUCK KARMA

#

FUCK ANgular

long raft
#

anyone know scala?

summer bobcat
#

O_O

royal glade
#

The only scala I know is scala media - a space that contains fluid in the inner ear.

#

๐Ÿคท๐Ÿพ

coral furnace
#

after pretty much a week of wrestling with this shit, my tests are green

#

feelsgoodman.mov

languid harness
#

I am so annoyed by my Pi

#

didnt get the mail client to work on that damn thing and the modern mail browsers are so big that it seems to kill himself when trying to load in

#

like, its on 100% gpu at all tumes

#

so sad

dark shuttle
#

what GPU do you have?

languid harness
#

also, I can only have either my mouse or keyboard plugged in, because the splitter doent have enough power to support both ffs

#

@dark shuttle no clue

#

it is a raspberry pi micro W

#

so its not a buff thing

#

overkill for what imma do with it perhaps, but not fast for desktop tasks lol

#

why did they default instal chrome, it is total shite

languid harness
#

trying to install a dictionary, but some weird ass errors pop up?

long raft
#

can use synergy for remote keyboard/mouse, @languid harness

#

through the network

languid harness
#

I have no remote keyboard/mouse

#

we have been over this before

long raft
#

are you on a phone now?

#

yea powered usb hub i guess is the answer

languid harness
#

...wat?

#

anyhow

#

I have trouble getting discord.py module on the damn thing

long raft
#

yea some of the usb hubs have a socket to plug in external DC power

languid harness
#

but not my problem rn

long raft
#

but you can use synergy to link the keyboard on a remote computer to the pi, so like ... with your desktop PC or laptop or phone

languid harness
#

hmmmm, will look into that later

#

once I get this fucking module on it

long raft
#

people sometimes do that when they have 2 computers, 1 set of keyboard/mouse

languid harness
#

fuck, this is python 2.7 ๐Ÿ˜‚

#

explains a lot

#

alright, because my system is in Dutch, the command window switches between English and Dutch and that can be confusing as hell

#

holy shit this all takes long to download

#

its been 5 minutes of this fucker checking for all kinds of stuff

#

getting ptsd for the words yes and no

#

that took fucking 15 minutes

barren quarry
#

im updating my website and based my array keys on coordinates, and the system started complaining there are identical keys

pure sierra
barren quarry
#

phil seems to be the one in charge of api so i'll tag him as well

#

@zealous sonnet

sleek fable
#

Code talk? How about adding to your report rules that you cant report on more than one account

#

its legit 1 line of text to type in to make your made up rules more clear

#

k thanks bye

languid harness
#

@sleek fable this is for like programming stuff, not game related stuff

#

((except it is about stuff like the foxhole api or things like foxhole stats))

gaunt ibex
#

What do you guys think about Godot engine for 2d games?

long raft
#

had never heard of it, it looks fine and all - but i cant help but wonder why did every game engine turn into lightwave c. 1998-2000

void robin
#

Ok so if anyone could help me with this. My lovely math teacher thought it would be funny for me to implement the property of Darboux in C++ and I have no darn idea how to do it. Any suggestions?

solar fog
#

@gaunt ibex Godot is a very powerful game engine

#

I work with it from times to times and it's incredibly efficient to create both 2D and 3D games, plus, it's free of any royalties, fees, taxes, ads as unity and/or UE4 can have

gaunt ibex
#

it sounds cool

solar fog
#

it is

#

I won't be surprised it would Eat alive Unity and UE4 in the next years if it keeps going as it is

#

Because It's developed by the whole Community ๐Ÿ˜ƒ

#

What Unity and UE aren't

#

They're actually planning to add a system of Ground voxel as Havok to to make it free for use in godot

#

Imagine to be able to use a havok's like engine without have to afford it cause it's free in Godot

gaunt ibex
#

Yeah, that would change the industry

solar fog
#

Completely

#

It also uses C# But with an improved version of it

#

making it less cramped and complex to understand when u useit on UE or Uni

gaunt ibex
#

I found additional language support modules for F# and even Haskell for Godot. I hope it is stable enough at least for some demo project

solar fog
#

it is

long raft
#

f# lol are you going to embark on functional game programming?

languid harness
#

F#, what have come to?

cinder thicket
#

Godot is neat, but its 3d render pipeline is trash, and the whole engine is years or a decade behind unity or unreal in terms of features

#

I wouldnt count on it taking the industry over

#

Even if its free, simply the extra amount of work you have to put in to make a game with it is a deficit

#

It could really shine with 2d games though. That part is fantastics

#

But at that point a lot of devs just write their own engine tailored to their game

solar fog
#

@cinder thicket I fear you're half true half wrong

cinder thicket
#

Big generalization obviously but thats what I think. I still like to use godot. But it needs a lot, lot of work, even from a hobby-ist perspective compared to unity

#

Ease of learning is another subject too.

#

Many small indie devs will choosd unity simply becauss they know if they get stuck they will most certanly get a solution fast googleing.

#

While theres very little material avaible about godot. The documentation is decent, but sometimes not specific enough and not practical.

languid harness
#

@pure sierra how come the bases are destroyed by colonials, but the other things by "someone"

#

Are you assuming no-one is gonna selfnuke anymore after the JC incident?

lunar cobalt
#

oh we will

languid harness
lunar cobalt
#

Sorry, it's 3AM and I'm hyperactively coding a JSON document.

long raft
#

there is no such thing as a real self nuke is there?

pure sierra
#

@languid harness its because those items reported as someone, are not reported as being held by a team i dont believe, but they report as nuked, so thats why

pure sierra
#

So resistance phase has started

coral furnace
#

stackoverflow lol

pure sierra
#

love it

deft quartz
#

Comic Sans Font ๐Ÿ˜˜

#

Dogoo aproves

gaunt ibex
#

Have you already tried release version of Visual Studio 2019?

#

I mean it feels great, not like preview garbage : )

long raft
#

they havent really had a bad VS release since probably 2008/2013

#

going to download it and check it out tho

umbral mulch
#

@edgy harness

#

delet this

edgy harness
#

@neat fossil sorry, it aint for this channel.

young pilot
#

this is the first time i rewinded the foxhole war map bot and the error still persist

#

its a fucking issue on glitch end

languid harness
#

you could say that it is a ..... glitch

young pilot
#

fixed by reenabling pnpm , it was a previous issue that happened 2 months ago that i did not realize was the exact same issue

sharp breach
#

heh

#

@young pilot You should try switching over to AWS or Google free tier or something

pearl flume
#

When does the narwal bacon

quick shoal
#

Anyone working on a mobile arty calc?

silk trout
#

there's one on android

#

but its not on the app store

#

ยฏ_(ใƒ„)_/ยฏ

#

im thinking about writing an overlay for foxhole

#

dont really want to trigger any anti cheat tho

quick shoal
#

Overlay would be nice๐Ÿ‘๐Ÿฝ

lunar cobalt
#

@quick shoal A few of the websites work on mobile I think..

#

There's also an Alexa Skill if you have that..

quick shoal
#

Oh okay didnโ€™t know they made the websites comparable with mobile yet

quick shoal
#

Compatible*

silk trout
#

tbh a little overlay wouldnt take much time

#

kinda stay away from code when im not at work tho

long raft
#

theres also a google assistant skill

#

and a website that can be loaded in the steam overlay

#

i made that alexa skill and i never looked back to check analytics or test it, i dont even know if it still works lol

#

i havent done arti calculations in a while

quick shoal
#

Iโ€™m still in school for computer science so Iโ€™m just looking for a side project get some experience.

balmy bridge
#

Is there a Foxhole public API?

languid harness
#

See the second pinned message on the bottom! @balmy bridge

balmy bridge
#

Aces, thanks

#

Hmm, itโ€™s blackbox

balmy bridge
#

Would it be a bannable offense to write plugins for the game

languid harness
#

what kinda plug-ins are we talking about?

long raft
#

to quote grace hopper its easier to beg for forgiveness than ask for permission

lunar cobalt
#

@balmy bridge What kind of plugins?

balmy bridge
#

C finding for howitzers

chilly burrow
#

how often the api sends data?

hidden path
#

Every 10 minutes I think

#

It may be every 5 minutes though, it has been a while since I messed with the API.

balmy bridge
#

@chilly burrow What you should really do is refer to the Headers you get back from an API call... They could change their refresh rate whenever.

neat fossil
#

huh what a coincidence

solar fog
#

hey guys Anyone knows how to use Elementor and Wordpress please ? I have a little but extremely precise question to ask about it

#

I created a "Button" element with Elementor and I need to put a link to a specific page when user will click on the button.
BUT, I don't find where is the logname of the page adress I need to put on the button "Link directory"

#

Nobody ?

umbral mulch
#

nope

solar fog
#

ERF ๐Ÿ˜•

oblique hare
#

quick question about socket connection and firewall, im about to start making a small chatroom program that will use my raspberry pi as host, so clients will be able to connect to it whenever it wants. However for now i'm going to keep it on the local network. I was wondering if I would have to deal with the firewall in the local network?

long raft
#

no firewall for 127.0.0.1

#

if however you use the LAN address, e.g. 192.168.1.xxx or whatever you may encounter firewall. if you are using websockets, firewall is irrelevant if web server is working properly

#

i assume most modern chatroom programs would use websockets and get around any firewall issues (because the web server has an open port already)

stone aurora
#

I think this belongs here soooo

languid harness
#

that is electro-engineering, so doubt

barren quarry
#

i find this funny

long raft
#

its computers, but not code

summer bobcat
#

logic gatessss

tawny oriole
#

Hello! I have a question. Associated with the code, sure

#

What's wrong with it?

long raft
#

does it break on line 3?

tawny oriole
#

No, it works the same without this "if"

long raft
#

my first guess was that these are exceeding the value of int, which sometimes happens with exponents

#

does it work if you use long instead of int?

tawny oriole
#

I don't know. I can't check it in the next 10 hours

long raft
#

maybe something to try, could be integer overflow; I'm not super familiar with python overflow mechanics

#

i noticed its a big number that fails, i notice this is training about weird number mechanics - that fits the bill, so...

#

In computer programming, an integer overflow occurs when an arithmetic operation attempts to create a numeric value that is outside of the range that can be represented with a given number of digits โ€“ either larger than the maximum or lower than the minimum representable va...

tawny oriole
#

Oh, thank you! I'll try it. In fact, I know programming a little bit, so also don't understand Python overflow mechanics :)

tawny oriole
#

Python overflow mechanics... Sorry, English

#

I think, you are wrong

#

Because in python you cannot specify the type explicitly

#

And... Therefore

#

It's clearly longer, than longint

long raft
#

he specifies the type explcitiyl, doesnt he? with the map(int, string)?

#

or did you write that code?

#

i could be wrong tho, very likely

#

oh integers have unlimited precision in python, hm ok

#

I am curious, why do you convert them to strings with str(n)?

tawny oriole
#

To convert a number into an array, where each element is a digit of this number

#

The "for" is loop needs an iterable object

#

A list() function too