#ot1-perplexing-regexing
1 messages · Page 466 of 1
I love how creepy cabal sounds
Because "haskell" ain't creepy?
It sounds as creepy as "cabal" IMNSHO
@plucky ridge Creepy build sizes you mean?
[pure@linux ~]$ du -hd0 .cabal .stack
1.2G .cabal
1.4G .stack
Package database + it downloads all of the packages to be built
Oh that's way less spooky than I thought
satanist
And is nothing compared to the bloat you need for Windows stuff
What about the 70Gb of dependencies for UE4 haha
The Haskell Language Server executables on Windows takes up 1.4 GBs in total
That's a lot
But then again, the size is unoptimized
Is it the pure source code, or precompiled code with headers?
That's actually not terrible
You have to put that into perspective though, it is a Gb of text, no media or anything
I guess?
I wonder how many chars that is
nah, at least 14
That's madness, who needs 14 chars?
What about 42?
Is it the pure source code, or precompiled code with headers?
@solid pollen That's the compiled size of all executables
It's been a while since I've booted into Windows and I'm not really sure
what should one do with ddr3 RAM sticks..
How large are they?
well, they're ddr3.. I imagine there's only one size
I mean, the memory, in Gb, how large is it?
I have 4GB x2 and 8GB x2
You could put the 8Gb into your computer, I guess
A motherboard with DDR4 slots cannot use DDR3, and you can't put DDR4 into a DDR3 slot
I think you confused it with the frequencies
Slots accepting both aren't a thing? which would mean a that the guy who sold me my motherboard scammed me
wanna buy a ddr3? lol
Well, no, but still
check this
it's pretty cool.. it's basically a case that converts an hdd to an external disk
Drive enclosure?
caddy
or drive enclosure
i have a couple so i can grab old data from some of my ancient drives :3
and here I was thinking.. I just happen to find it on amazon
I didn't know it was a thing..
I figured.. only way to recover was to supply power separately and get another adapter cable to read
why can't they come up with something like this for RAM
the cool thing with SSD's is that you can do it all through one cable
because RAM doesn't work like that :p
you mean power and data are same slots on an ssd?
noice
maybe laptop spinning discs, but i've had problems with that sometimes
problems?
ahh
i always have one in my work bag. super handy.
i also have one of these for easy disk cloning:
they can run in a standalone mode and just do pure physical copies
no computer needed
well I only have like this one disk lol..
I think this will be my first external hard disk
maybe I'll try to sell it after I copy my stuff lol
well the advantage of having a caddy or dock is that you can just store old harddrives when you're done with them
then in future if you feel nostalgic, just go browse some data on them
why not put them on the cloud
upload and pay to store terabytes of data i rarely use on some company's hard drive rather than just keeping it in a box in my cupboard?
terabytes huh.. I don't have that much stuff lol.. what do you carry around
every time i install a new OS i buy a new HDD for it. so there's about 4 different Windows installs
plus all my old IDE drives that are obsolete now
i've always self built my pc's
When I first built my PC I had lofty ideas of installing water cooling but never got around to it. I'm fairly tempted to do it now though
it's pretty easy now with the closed loops
classic systems are scaaaarrry
when i first looked at watercooling a lot of it was just stuff like pumps for fish tanks :D
I'm still running the stock cpu fan x_x
:O
What brand
if you use the closed loops you're pretty safe
if you're building your own loops and stuff that's where it gets a bit hairy
but even the kits for that these days are better than getting some aquarium tubing and spring clips
there was this one build i saw with copper tubing
ooof
it looked sooooo good though
i can imagine
very steampunk
i'd just worry about having solid pipes, idk why
break a solder joint or something
they were thin so they just heated them a little and bent them
intense
@high verge Intel i7 cpu
i'm a fan of clear tubing with UV fluid
ooh that sounds cool
That's actually some of the stuff I originally got. UV fluids that's blue
hah
my first enthusiast build was a DFI board so i had to get UV lights
rip DFI
all the plastic on the boards was UV reactive
but why
because case windows
DFI had some pretty good motherboards for overclocking too
UV plastics is just a bonus
check out their box art
:D
that looks like some weird boardgame or the cover for a choose-your-own-adventure book
circa 2005 nerd shit
@ruby hollow following up because you helped me in the help channel.
This is the laziest thing I have ever done
def grab_files_by_condition(
is_true, # function
path: Path = cwd) -> list:
"""
takes a path to directory to look in and a function
to conditionally add files from that dir to a list..
"""
return [i for i in path.iterdir() if i.is_true()] if 'function Path' in str(is_true) else []
I'll eventually learn the subscriping types for Callable in typing
Sure. Go for it. Btw, I think, give a function as an argument isn't safe.
Hm, Im inclined to consider that is possible.. Can you explain?
Why wouldn't it be safe?
It is possible. No worries. But it's just my assumption. Don't mind.
Well I am having trouble with it....Now it says AttributeError: 'PosixPath' object has no attribute 'is_true' but it literally does because if I print the value of is_true it says <function Path.is_dir at 0x7f38281d74c0> which does have that method.
does anybody think this is funny
Why do we tell actors to “break a leg?”
Because every play has a cast.
ah, I think the way I have passed it, the method is a class attribute not an isntance property. And there is not class attribute for that....
and no, i do not think thats funny lol
I cant pass a method of an indstance to a function that the instance doesnt exist until the function makes it exist
ok
no i dont disagree, that isnt funny
i think it's funny
oh u do
i have also heard it before though
well then gotta add it to my bot's jokes list
i have also heard it before though
@gentle moss ofc , i got it from the internet
boring fact: the term "break a leg" comes from the rigging that holds up the curtains at a theatre. the curtains are held up by "legs" and to "break a leg" is to have so many curtain re-openings for bows or w/e that the "legs" holding up the curtains break.
either that or it's the dude who assassinated Lincoln jumping off a balcony afterwards and breaking his leg
this is a valid dict right?
random_jokes = {
'What does a butcher do after travelling somewhere over a rainbow?What does a butcher do after travelling somewhere over a rainbow\n Weigh a pie!Weigh a pie!',
'I entered ten puns in a pun contest hoping one would win... \n But no pun in ten did!But no pun in ten did!',
'Whats the difference between a well dressed man on a bike and a poorly dressed man on a unicycle?Whats the difference between a well dressed man on a bike and a poorly dressed man on a unicycle? \n Attire!Attire!',
'Why do cows wear bells?Why do cows wear bells? \n Because their horns dont work!',
'How many times can you subtract 10 from 100? \n Once. The next time you would be subtracting 10 from 90.'
}```
@gentle moss that thing looks sweet without UV, all red and copper colored
the copper look is very nice.
@simple sand I don't think so
ok
huh, apparently there are lots of potential meanings for "break a leg"
and none of them are the one i thought i knew
@simple sand dict is like this:
dictionary = {'key1':'value1', 'key2':'value2'}
I always knew it as wish ya luck
Do you ever ask yourself after trying to improve a simple thing why you made it more complicated for no reason
is the right hand side being made mroe complicated
Yeah. I mean lot of the functionality is better and more reusable but it has issues that can be avoided by just using the first
for such a simple thing
there is no reason to deal with such issues
you could easily do this in bash
madman
its true
to be fair i wasa mainly trying to learn practices i dont do always with something simple
well, no harm in a bit of practice
I reverted a bit too far back to that older version, a couple line chages and additions and it works
incomplete as depicted
This is my home structure
[shaen@x ~]$ cat home*dirs*
/home/shaen:
bin - shell scripts are added to path
scripts - single files or snippets without x permissions
projects - mostly python projects, but also Java, and others
gets - incoming files from the net, unsorted in reveiving
gui - mostly kde and qt software themes, extentions, etc
vapor - when dirs from projects needs to be out of the way
dev - symlinks to paths mounted on the fstab for
media - contains pictures, sounds, videos, etc
repos - for clones, forks, and pulled down non-projects
docs - documents of any kind
desktop - current workspace -- files should not remain here
www -- things that consist mainly of html, csss, and js
typos lul
mine's a million nano.save files
I just (re)cloned the @royal lake repo
Could literally hear my SSD writing the data 👀
ha. I did that once on a VM because I was ignorrant and had installed debian for the django webserver
needed upgraded python version
it took longer to build tha anything else ive ever built from source
@narrow pecan FYI you could have swapped the remotes without recloning 
hm
how did akarys get his cute pfp
I think he went into settings and added it
@solid pollen what is that pfp even?
(yeah, it makes you look older ancient)
It is really random
That's a simplified drawing of the Dr. Casper Darling from Control
And it is a Personal Work ™
Hand drew, computer colored
You drew it?
Yeah
It looks better than the person it's meant to be hahah
Not my finest work for sure
Darling?
The original character
Ah, right
I just googled him when you told me about him earlier. Didn't quite remember the name
oh my god guys
the guy behind babish hired sohla for her own show
Welcome to Stump Sohla, where we use a big ol' game-show-style wheel to try and stump one of the internet's most talented chefs, Sohla El-Waylly! This week, a comfort food made complicated with no modern tools or stove; just an open fire and some incredible willpower. Will Soh...
this is aaaaaaaaawesome
wait that's cool
I love the babish + sohla duo. It's so good
I collected all these files from a repo and put them in a form so I could make random bootstrap themes and pygments mixes
It doesnt work out that well often haha
Thats pelican by the way, not django or flask. that post is from another blog just used for its metadata
I've been meaning to play around with sidebar navigation for a while
Gotta up my frontend game
This one is kinda outdated and powered by jquery but its on a static site. I just grabbed a theme and started modding it. I may actually do that. Normally I would do this with Vuetify if I was building some kind of thing like that from scratch. But often times I dont because its a lot of effort to deal with npm components
and depending on them
the project has to necessitate building a frontend experience to be worth it.
imo
owo
This one I did myself. I mean I hada toolkit to help me but i implemented it
got bored with it tho
lol
the terminal component isnt mine
but i worked on it.
Did you get it from github or something?
npm. vue-command. The material design spec toolkit is just vuetify. But with that component you really have to pull the developer repo and fix it and add things necessary to use it (ie, make your own commands)
the title animation on toolbar button click is css, i did that
thats the primary difference between npm and pip.
On pip you mostly know that you can trust things to a certain extent. You still check how long its been updaated since but...
on npm you know for a fact that everything is breaking constantly
and you have to fix it
or wait for it to get fixed
In germany they've taught and trained rats to operate a feeder with their brain
and in doing so, have increased their thought processing
Karvat et al. describe a real-time digital signal-processing method to detect neural oscillations in the form of short and narrowband bursts. Using this real-time method, they show that neurofeedback increases burst-related behaviours and that these bursts can be decoded from ...
interesting...
truly a thing only Germans would think of doing
making rats more efficient
granate
they used dogs too in ww for carrying bombs?
or was it russians
poor doggos rip
@feral harness
Is it okay to give it away to them?
No, would you give your username and password to them?
Those credentials are used to communicate to the API as a specific user, i.e. upload images, edit images and so on.
So if you get those credentials, you get access to your stuff.
Its Oauth

API Status
Status for the API can be found at status.imgur.com!
Getting Started
Imgur's API exposes the entire Imgur infrastructure via a standardized programmatic interface. Using Imgur's API, you ca...
Then should I ask every user to fill it? It doesn't make much sense
@shell raptor
@feral harness cute doggo
@feral harness I mean you could have a something pop up and give them instructions on how to use it and have it prompt for the token they get from the api thingy
Just have it store it locally
truly a thing only Germans would think of doing
making rats more efficient
@cosmic ravine german seriousness is vital ofc
to achieve the level of german efficiency that's exhibited by german engineers
@plucky ridge you asked yesterday about my disassembly project if it was a raspberry pi something, what was the question again?
Oh right I was wondering if the processor it has is based on something like ARM or x86 or something
Or if it uses its own architecture or something
oh, the Python VM?
The Pi itself
the raspberry pi uses arm
Ah dope
what model
I dont know where a raspberry pi surfaced in my project because I've never even touched one
I for some reason thought you had
I ran my project using the https://repl.it interpreter, which I think runs on an x86 linux server
Repl.it is a simple yet powerful online IDE, Editor, Compiler, Interpreter, and REPL. Code, compile, run, and host in 50+ programming languages: Clojure, Haskell, Kotlin, QBasic, Forth, LOLCODE, BrainF, Emoticon, Bloop, Unlambda, JavaScript, CoffeeScript, Scheme, APL, Lua, Pyt...
Okay then yeah, I'm not sure where that came from
¯_(ツ)_/¯
I need to get a library of those faces made so I can call one up on the command line :D
!e print(b'\xc2\xaf\x5c\x5f\x28\xe3\x83\x84\x29\x5f\x2f\xc2\xaf')
You are not allowed to use that command here. Please use the #bot-commands channel instead.
well okay then
!e print(b'\xc2\xaf\x5c\x5f\x28\xe3\x83\x84\x29\x5f\x2f\xc2\xaf')
@plucky ridge :white_check_mark: Your eval job has completed with return code 0.
b'\xc2\xaf\\_(\xe3\x83\x84)_/\xc2\xaf'
!e print(b'\xc2\xaf\x5c\x5f\x28\xe3\x83\x84\x29\x5f\x2f\xc2\xaf'.decode('UTF-8'))
@plucky ridge :white_check_mark: Your eval job has completed with return code 0.
¯\_(ツ)_/¯
There we go
guess I'm a little late with that :\
that's from a pi 3b
my pi 4 arrived today, but I forgot it uses usb type c -.-
that's from a pi 3b
my pi 4 arrived today, but I forgot it uses usb type c -.-
also PoE
Well you can only use that if you have a particular HAT with it
which I still need to figure out
my pi is collecting dust, I cant figure out what to do with it still
gib me
that's from a pi 3b
my pi 4 arrived today, but I forgot it uses usb type c -.-
@cosmic ravine I'm getting a... rpi gen 1 model b
very soon
for free
once i thought I ordered a rpi 3 b+ but I accidentally got an rpi b+ lol
OK, I want to know the story behind this name
well, clearly they are a space craft. And they like standard pressure, but only in millibars.
basically when i was 9 i wanted to make an email acct, (ik youre supposed to be 13 but idc) and i really liked space back then, still like it a lot now but not as much, but anyways, I put my name as spacecraft, it was taken, then tried spacecraft101 (cus 101 is a cool number), also taken, so then i just stuck with spacecraft1013 and left it as that
I kept the same username for literally everything cus it's never taken
yeah no one wants it
lmao
Das bad
That means once I know your name is spacecraft
Everywhere I go ill find a trail
Yea man u have quite an Internet trail
Actually maybe that's a good thing who knows
my username is from runescape like 14 years ago
not that anyone asked xD
but I think yours is a valiant origin story
Btw, is it your pasta that is savage or is it you?
Did you actually have the username fisher on RS?
that must have been damn hard to get
oh nvm
or was it like xx_fisher_xx_55454353454345435_xx
It is Fisher60
that's pretty good
across the board, unless they let me use fisher xD
doodspav is much easier to find 😉
I was happy to get only double digits
where does yours come from?
not charlie obv
it's always been my online nickname - play on the fact that when i was 8 i couldnt spell dude, and my irl nickname
yeah, pretty much
also a thoroughly shit given name
honest to god - Charles would be better. Charlie is just terrible.
did ppl call u charlie the unicorn at school?
Charlie the unicorn and Charlie bit my finger - still today people will squawk those two things at me
charles is a pretty sweet name.
I cannot read your name without a british accent btw
neither can I - but I guess we have different reasons for that...
the logic checks out
charlieeeee 🙂 candy mountain charlieee
this is why we cant have nice things xD
charlie, you better follow me back, I see you not following anyone
@undone berry you have a flight tracker? Is it using ADS-B
The only time I ever do anything public on Github is when I forget to make it private
and yeah - it was/is using ADSB
Flightaware running on a Raspberry Pi
nice. I am well versed in this
cool, I had one of those up for awhile. Now it is just linked to my charts
I really liked the idea of setting up a bunch of them in different countries and crowd sourcing it - then I discovered ADSB exchange has done exactly that
LOL, yep. Flightaware gives you all the data for free if you are a contributing station
When I looked - they didn't give it to you in a nice programmatic form. They have a hosepipe api, but you don't get access to that by default
that is true, I could not find good data
I really want to do stuff with adsb and weather. As there is a massive, untapped area for some reliable services it can provide. It is currently being worked on by boeing though
Messing about with ADSB and that kind of data is pretty fun - I intend to do some more with it in the future
I have some nice machine learning projects that incorporate adsb data, I should really start on those
are they the type of project that uses a gpu?
I really want to mess about with data science + maps in some way
and planes is a great way to do that
mmmmm tasty cuda cores
i really need a data science project to justify getting a 3080 (or ti if it comes out when i buy it)
why not use the 3080 for ML?
I REALLLY want to do some ai image gen
1060 for some deep learning
ill put it on my server xD
you have a server?!
damn ok
haha, it is my old gaming pc
is this like a proper server, or just your pc that you can connect to remotely?
ah ok
My new one is upgraded to be ready for a 3080 😎
Screw using a desktop GPU for compute - just use some server somewhere
they're expensive tho :/
yeah, it is a gaming pc. Ubuntu, it runs a few websites, discord bots, stock trading scripts
and with a desktop gpu i only need to justify the cost once, not every month
Azure gives you a bunch of free credit
i thought collab wasn't very powerful
azure keeps spam emailing me
collab is pretty powerful - moreso than most desktop GPUs
as in, more than the 1050m in Gary's laptop
ah ok so not comparable to 3080
TPU delivers 180TFlops and provides a 64GB RAM.
hmm
I can't find anything concrete about google collab's sppeds
ok this makes me feel better
i can persuade myself that i need 64GB ram in my new build 🙂
Yeah colab is pretty nice
Like even if i could run it on my computer colab is just nicer cause i can start it up and leave without worrying about my computer blowing up
64 is not enoughbruvyou need terabytes of ram
Bazzinggabyte
no next after yotta
guys bear in mind i only have a single cpu
there's a limit to how much memory i can have, and it's in the GB range
no other core counts?
just one?
echobot?
no i am doing it on my own lmao
why lol
idk
mac supports 4 TB ram afaik
mac is an OS
Mac Pro
has an intel xeon 🙂
hmm only? lemme check the cpu specs
i feel like that might be becase it only has 12 slots, not because of cpu limitations
lol it's a lot of hardware, in a very sleek package
yeah their own
but i'm surprised it has 1.5TB ram available, i can't find an intel xeon W with more than 0.5TB available
i think it's called silicon not sure though
That That is stupidity
why? they've been designing their own mobile processors for over a decade
i don't think they're replacing it in top tier quite yet
think they're starting with laptops
where power efficiency is very beneficial
i can't find an intel xeon W with more than 0.5TB available
Have you tried seeing it on servers' motherboard
I think motherboard also plays a role here
https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/w-processors/w-3275m.html ok it think this is the cpu the top end mac pro uses, and they only support up to 1.5TB because they only have 12 slots for ram, and who tf sells a stick of ram with more than 128GB
Buy SK hynix Gold S31 SSD on Amazon: https://geni.us/x6HG
Thanks to SK hynix for sponsoring this video!
Discuss on the forum: https://linustechtips.com/main/topic/1154562-how-many-chrome-tabs-can-you-open-with-2tb-ram/
Linus Tech Tips merchandise at http://www.LTTStore.com/ ...
oh that viid
I swear i don't like linus that much but that video
I waited for it for 2 weeks
after he posted a teaaser in his yt story
I have never seen a Ram stick higher than 128 GB
holy sheeeeeeeeeeeet
ngl I have never noticed that bump
when I ejected my Ram stick
I was like oh fuck I broke it
10$
hmm, but also almost no one is gonna complete this survey
like i almost gave up 3 times
what if everyone else says that too?
What if not
then i lose :/
what is this conditional test checking for
if 7 <= datetime.now().hour < 22:
Whether the our is greater than or equal to 7 and lesser than 22
is it me or our projects are like highschool level 🤔
i made one like this in highschool. now i am wondering if my college degree just scammed me
Wait this is in college
oh lmao
Base pairing in college
that seems a bit suss
Unless it ends up going into a bit more detail
it is okay if it is a refresher. but.. i dont think it is
its been a month we were talking stuff like this
i really need a decent education but i cant cause i am poor and so untalented
i made one like this in highschool. now i am wondering if my college degree just scammed me
yesssss, join the dark side. We can complain about our college together
https://canary.discordapp.com/channels/267624335836053506/696351646976049242/758965222421037057
@edgy crest Yes, that is one of the things you should keep in mind while implementing data structures
yea
i found another solution by someone
def validBraces(s):
while '{}' in s or '()' in s or '[]' in s:
s=s.replace('{}','')
s=s.replace('[]','')
s=s.replace('()','')
return s==''```
@quick ledge
yes, that looks hella neat
ikr
Kdenlive is interesting
hmmmm sounds too good to be true for it to be open sauced
how is it too good to be true
Bitcoin Core is open source 🤷
Blender too
Open Sauce is very nnice
That's how the protocol work, when you make a transaction you attribute yourself some reward
Right so it's basically just making sure that the integrity of the network is intact, from what I'm reading at least
but bitcoin is limited right?
like
it will ran out around 2040-2060 or something
Bloatcoin mining
Yeah, the hashchain is here to make sure that no one tamper with the history
bitcoin is stilla mystery
Nearly there
pure are you mining?
Mining as an individual nowadays is useless
So if I understand correctly, you do/verify transactions, you get rewarded for doing so
Because of how large the network is, the reward is so low that it isn't worth it anymore
hmmm who invented bitcoin is still a mystery
Yes pure
FINALLY
It isn't a mystery though
I thought that was a myth
That's why a millionth of a bitcoin is called a Satoshi
hmmmm downloading new information to brain
So clearly, the actual monetary value of a Bitcoin banks on the users of the network itself I assume
Yeah, on the current flux
bitcoin currency is fragile right?
If no one uses a cryptocurrency, it's about as worth as play money
Makes sense
so you need to withdraw when it is best
Yup
Stocks?
Bitcoin trading is like, very fast or any cryptoconcurrency for that matter
stonks
Stocks? What about them?
Was just reminded about them lol
I want to get into them some time in the future
But I probably can't be bothered to do so either way
Copy trading for the win ☕
One of these day I'd like to do neutral learning from scratch about trading
Not really putting too much money into it though
One of these days I'll have my "programming from scratch" blog
days
oh shit here comes the internet maintenance i think. internet just slowed down
also so much soup topics in #ot0-psvm’s-eternal-disapproval. Probably because no one was convinced that cereal is porridge
but it is right?
Cereal is soup
~meow~
I know cereal is soup I just want to troll the new core dev
why are you meowing
@cosmic lotus I am a cat shark
what's your diet as a cat shark
i eat fish. and chicken. and meat
how about beans
wow kdenlive is so lightweight. pure this is the best thing i have ever seen
i eat beans. it is called monggo
With chicharon?
and malunggayyyyyyyy
🅱️ ruh
so here i have it setup so that u cant ping the helpers role in my test server but look at this
i am still able to ping it whyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy????
are you the server owner
in my test server
then you always have admin permissions
ik but I want to make it so that u cant ping the helpers role
u cant
@hoary steppe in the template u can
use an alt account
oh ye let me try
@young shoal u were right the alt cant
breh
@young shoal public static void Main(string[] args){}
what.
have a consistent sleep schedule (for enough time), eat healthily, exercise
its ok afaik
no it's fucking not. keep it PG
how is "don't forget to poop" not PG
Aw gee, dude.
Everything alright here?
Just talk about good gastro-intestinal habits
If you have a user subscriptions app in your django project, among many other apps, all of them needing to have an api... mostly... do you partition away into another app to make the subscriptions app with web forms and another one just to serioalize json and share an /api/ endpoint. I'm not sure how you get multiple apps to share tnat end point without fucking up your name spacing.
Unless you can just write all of the /api/things/ in the root url conf
I thought i was starting to understand Django. It just keeps having more layers of things that i dont get ha
nevermind, you pass it the exact view if you want to instead of including the entire set of url patterns
The thing that is mainly confusing is that, the way I am doing things is the way i need to stop doing things now that Im deep in this
I need to do generic class views
But i couldnt have understood that when i started
Yeah, certain libraries do be like that
hi
I think I prefer parser combinators over this https://paste.pythondiscord.com/ejozuzaziy.py
I'm personally not a fan of imperative parsing as well
it did get me to 4kyu though, so I guess thats fine. Would've done hs, but it was not an option, and reusing my clj shunting yard seemed cheaty
the neat thing is this could be rewritten to C pretty much 1:1
How might I go about simulating wifi/ethernet communication?
for a pentesting ctf simulation on a broader scale
so it would allow for ARP spoofing and wifi MITM attacks naturally
and would therefore not only have to simulate subnets but also MAC traffic
which afaik isn't possible with any cloud solution
you could probably get a simple plugin to create a virtual network connection. Might be able to write that in python.
Similar to how a VPN software takes over as your network device
Ah right
My concern was having to write a network driver
Which uh
Ain't happening
Also I have zero experience with like
Enterprise on prem cloud vm deployment
I.e. dynamic ec2 instances but not
Well I was considering that lol
Idea was watch dogs 2 but it's all real machines
I.e. physical pentesting simulation without the physical
And without the forms
ohhh that is cool.
Just set up a vulnerable Pi haha
except that is physical xD
Im no help sorry
Wait... the crap? Does ReScript not have BigInts?
CURSES
Whelp, there go my dreams of making an incremental game with absurdly high numbers
I wonder how large integers can go until the computer crashes
as much memory as you have
I wonder how large integers can go until the computer crashes
@rich rover signed:2**63-1
unsigned: 2**64-1 on a 64 bit system xD
iirc
Oh, this is gonna be fun
what are you trying to do? xD
https://www.codewars.com/kata/5518a860a73e708c0a000027/train/python this is a cool one if you are interested in the topic
perfect exercise for 3.30am.. guess I'll go to bed Oo
I decided to start making fake websites for NPCs in the story ive been playing over in my head for a while now. Bring the world to life.
C-3PO from the original Star Wars was Silver and never Gold. They changed it. No one even noticed but I did. I know that someone else out there must see through it, too. Vertico is lying about C3PO and altering our memories. No one is talking about this.
This is one of them
@cosmic ravine hmmmm thats hyperskill.org
it is, yea
right after I finished my project they shoved me one more activity in the face - and of course it had to be about truthy and falsy
welp i still need a refresher. i gotta go back next month if im still alive
i will learn Java and Javascript after
76% oO
I'm at...uh...
Topics completed: 121 / 258 (47%)
just finished my 6th project
I really got to hurry, my free trial runs out in dec 31
my free trial runs out on january 1
i am not worried though. i realized it is not the only best source
yeah, I wanted to do the java course after this one, but judging by the time left that won't happen :\
have you done any of their django stuff?
I've heard it's not the best experience and am scared
i finished all of them
i jumped on the difficulty
it is quite easy. for some reason, it is way easy
have you completed "smart calculator" by chance?
if so, how hard was the last stage for you?
just so I have a baseline for my next question: how hard was the django stuff? :p
smart calulators last stage killed me and the fun at once.
django isnt hard (on the basic side of things), as long as you understand how it works or maybe thats just me.
django is also the coolest thing ever™️
Though it is in the Challenging Level
that's what scares me
@cosmic ravine same Smart Calculators killed me too, and i remembered i have a code snippet from three years ago when i made a smart calc
smart calc was "just" hard - but the last stage was just...hell no, never again
that was when i still use Python 2 because teacher is not very knowledgeable on what will happen to python 2
i just copied the logic
tbh I cheated a bit with eval()
I'd have gone crazy otherwise~
most projects are doable
except the math side of things
i have low proficiency in math
anyway i gotta go take this refresher course
My advice is to get into the web if youre not a math guy.
huh, they seem to have a new project "regex engine"
regex seems very useful, but it's regex..
guess I'll decide tomorrow. either regex or django :x
fuck web dev, back end cool
Regex is not a thing you should spend a lot of time mastering. Learn the basics and how to construct one when you need it from manuals and tools
I'm about to get beaten up
it just seems so helpful when checking input
what I did with 3 elif and an else some other dude did with regex in 2 lines
It is often helpful but spending time writing regexes youre not using isnt helpful because you haave to spend a lot of time putting them together if they are complicated no matter what
what i mean is,. its not somethin you should be able to vomit from memory in any situation
you need tools to verify they are safe anyway
and you ahvae to check them
django is one of my focuses right now. Its a lot of stuff but just keep at it
anyway, 3.55am, I'll head to bed
thanks for the tips @mild abyss and @rough sapphire
have a nice...day? night?
thank yopu
whatever it is over there
i dont have my glasses so i cant see very well lol
Is it worth learning java? Or is it just unnecessary torture with the available languages that make life easier, not harder?
Depends on what you want from it. If you want a fun language to make cool things in - then no
if you want a language to get a job with, then yes
if you just want something different to Python - then it might be a good learning experience
I personally would not learn it more than necessary.
it is still used in industry quite a lot afaik though
ruby 3 is looking really nice https://www.ruby-lang.org/en/news/2020/09/25/ruby-3-0-0-preview1-released
it might get me to start using ruby instead of python for some stuff...
I'm thinking that as much as I dont want to... it's worth starting my Django project over so that I can start doing things the modern way (class based, generic views) way. Its either I wait for the next idea that I will approach with a desire to learn the generic views.... Or I sink a lot more time than I need to into maaking a lot of tedious funnctionality that I now know the new way will just automate
It wouldnt even be fully starating over, id have it as a guide, and i also have the frontend still which is not affected
Also worse than any of that, is that I slightly modified the way the structure is becaause I thought that I could and I did
But its more trouble thaan its worth
gives a slight idea
Mainly, look at where all the apps are in relation to where they normally are. It works but... its a pain.
i open chrome and my cpu goes up to 99%
geez
def whoIsNext(names, r):
while r > 5:
r = (r - 4) / 2
return names[r-1]```
AHHHHHH MY BRAIN IS GETTING FRIED WITH THIS MUCH MATHS
the question is this
that solution is bigBrain
how do i improve my math :<
@edgy crest use deque
what
@edgy crest using from collections import deque is the solution to solve this problem.
i have the solution
i am just saying i wanted to solve it myself
thats why i was asking how do i improve my math
;-;
or my logical reasoning power
i dont wanna be dumb ;-;
@edgy crest practice math
everyday
even if you hate it
well not everyday thats overkill
but you get what i mean
complaining is understandable but it isnt the solution. you start from basic algebra to calculus
i am not complaining, i am just asking for the correct path
and rip i am typing with one hand
anyway can someone explain that solution to me
i didnt understand why did thye do (r-4)/2
@edgy cresthttp://www.pythontutor.com/visualize.html#code=def%20whoIsNext%28names,%20r%29%3A%0A%20%20%20%20while%20r%20%3E%205%3A%0A%20%20%20%20%20%20%20%20r%20%3D%20%28r%20-%204%29%20/%202%0A%20%20%20%20return%20names%5Br-1%5D%0A%20%20%20%20%0Aprint%28whoIsNext%28%5B'Sheldon',%20'Leonard',%20'Penny',%20'Rajesh',%20'Howard'%5D,%203%29%29%0A&cumulative=false&curInstr=1&heapPrimitives=nevernest&mode=display&origin=opt-frontend.js&py=3&rawInputLstJSON=%5B%5D&textReferences=false maybe this will help you visualize what happens
@mild abyss that is yakuake drop down ability widget wrapper on konsole , which is kde yeah
alr thx
mhmm
its good but heavy, the drop down on hotkey that is
yakuake is heavy? 👀
You never wonder where the terminal is or wish it would go away
i mean its not heavy but its a lot of graphical movement
that is for some people
ah yeah i am using yakuake for some time now too
i only recently switched to it but ive used konsole for awhile
it is good for quick switching
it very much is, it might as well be another monitor
if only i have a second monitor
@edgy crest python def whoIsNext(names, r): while r > 5: r = int((r - 4) / 2) return names[r-1] i think this is the correct solution since / returns a float
but yeah i cant explain math cause i suck at explaining
i fixed that alr, but the prob is i dont understand whats going on with that formula
just the r-4, just that
ik why /2 is there,
and whats it isdoing
but not r-4
i think it will remove the first two duplicates
Hi anyone good at R? i have just started learning it and im stuck please @me if u can help.
Hi anyone good at R? i have just started learning it and im stuck please @me if u can help.
@lost valley what about R? i forgot about it :((
I learned R because of statistics class in highschool so i am not confident. can you tell me your problem?
maybe something in my brain can help me remember
@lost valley what about R? i forgot about it :((
@mild abyss ``````{R}
Load data
data = read.csv("heart (1).csv")
select sex and heart disease rate
sex = data$sex
age = data$age
data1 = table(sex, age)
data1
barplot(data1, main = "Rates of heart disease by Age and Sex", xlab = "Age",
col = c("lightblue", "lightgreen"), legend = rownames(data1), beside = TRUE)
```
Error in table(sex, age) : all arguments must have the same length
Calls: <Anonymous> ... withCallingHandlers -> withVisible -> eval -> eval -> table
Execution halted```
i get that error
when i try from my pc
but on rcloud it works it works fine
i googled it it didnt help lmao
your sex and age indices might not be at the same length
@mild abyss like in the .csv
there at 304 values for both
hmmmm lemme remember...
i would use rcloud but its notoriously bad
@lost valley i just realised that youre using = instead of <-
do i replace all = with <-?
# Load data
data = read.csv("heart.csv")
# select sex and heart disease rate
sex = data$sex
age = data$age
data1 = table(sex, age)
data1
barplot(data1, main = "Count of heart disease by Age and Sex",xlab = "Age", ylab = "Count", col = c("blue", "green") ,beside = TRUE)
that works in r cloud lmao
i havent touched R for a very long time. but = still works though dont worry
@lost valley that works in R cloud?
yea
its a group project so im uploading my code to rcloud then my desktop rstudio thing didnt knit
wow... yeah i was kinda doubting why it didnt work when you told me it has equal lengths
then ultra wtf
this is what it supposed to look like as well
but im doing that step by step
as soon as i fix the error
it might be something to do with R studio.
i might try on a new account
do you want to increase the number of xlabels?
i think barplot has an option for that
i might just keep working on rcloud
@lost valley yeah you should
i find it weird why it didnt work on R studio
I am so bad at frontend implementation.
i find it readabe and not disttracting
except when that slider pops up
the color turns magenta?
coming from java, the fact that this is legal in Python
for i in range(10):
pass
print(i)
``` makes me err so much
exactly
now that becomes a PITA when you're working in Jupyter
so like I had this
def func():
print(i)
and that would actually print something and I was like where the heck is it even getting i from
it was getting i from another block of code, in one of the previous cells and I'm like duuude...
Imagine this
def a():
print(i)
for i in range(10):
pass
a()
this is legal
Altho yes, this:
def a():
print(i)
a()
for i in range(10):
pass
is illegal but still
I just wish there was a way to make the code above throw an error instead of it working fine, the scope resolution >.<
in my case, I was writing this dynamic programming code for finding minimum edit distance and in a place I used 'i' instead of 'row' and that just caused an hour of headache
fml
Sometimes I feel, it's like you just CAN'T know for sure whether your python program is buggy, or not, can you?
Like yes that thing exists for every language, less so for a compiled language than an interpreted one but I'm curious how like the professional devs deal with that
but it's harder with Python than it would be with a compiled language, innit?
like, the tests just have to be more extensive
it is actually sometimes easier, since you can mock more things. If I have some complex superobject in java that depends on sth I cannot run in a testing env, it is far harder to mock it than it is in python
okay maybe Java loses with the duck typing, how'd you compare it to something like Golang tho? Go is compiled, and you've got duck typing there
I have no idea, I never tested in go
mmm
is go a language
Go(ogle)Lang
Weird, skipping too fast in Spotify breaks genius' notification scrapper
What do you use to make games in python?
This channel is gud
Arcade is so much better than pygame
so now pydis is a big company I guess https://www.youtube.com/watch?v=ZH26PuX3re0
What is Python Discord?
We're a large Discord community focused around the Python programming language. We believe anyone can learn to code, and are very dedicated to helping novice developers take their first steps into the world of programming. We also attract a lot of expe...
I wonder who voiced it
I think it might have been Inver
haha, I would've said Joe's voice is deep
It doesn't sound like Joe I don't think, but I could be wrong
Also the recording is too high quality haha
It was voiced by a professional voice over artist
feeeevvveeerrrr ( ͡° ͜ʖ ͡°)
why is everyone changing their nickname/pfp
today
are you guys playing a joke on me 
a professional british
professional british
🫖
nice
yeah idk whats up with that embed
the enraged lemoji looks dam cool
@edgy crest which one?

Aaah
wait mines different to lmao
LOL
I thought that was a mango
wut
lmao
Seems like it was 427194066216681474
i am not a bot..
mango
BAnAnA
otn a I-thought-that-was-a-mango
wot is otn
so i have a question
off topic name add
why
it only happened for some reason idk.
You on a linux distro?
Huh
probably i bumped it
bumped it
I was about to recommend you try for help in Discord Linux
this is bold, wow
even cooler
😌
breh the relieved emoji looks like you are meditating
you mean Hyper Discord Disorder?
lmao

a mango with a beard
^ hyper pleased
hMMm
Mango? It’s a lemon. Not just a lemon. It’s the lemon
a lemon huh
hyper-discord-disorder
That sounds a bit cold
Hahah alright
People keep telling me I sound like a text-to-speech engine. 😁
hmm i didnt hear you yesterday
Hahahah
i would like to hear akarys' voice
I guess we all have different ambitions in life ¯_(ツ)_/¯
Ooo
i like the yt vid from the announcement
^
It’s awesome
yep

