#ot2-the-original-pubsta
652 messages · Page 8 of 1
that and the fact that it keeps running even when you close a text editor
for me at least
it's a completley different app, u can close that
Kite is pretty good
also u can seach docs through it's app
show the auto completion @fresh pecan
I mean show what it does like do print()
like when I do clas and press tab it does this
i love the vsc autocompletion, thats the main reason i havent deleted it yet
it does that except u press enter and not tab
@slow valve no, yay -S visual-studio-code-bin
how do I remove sublime?
yay -R sublime-text
will it remove all dependencies too?
hmm idk, but i guess it should
, whats the prob if it doesnt anyway, its not like they are taking too much space, i bet it isnt even in mb
target not found
uh well whats the name of your sublime
I use sudo pacman -S sublime-text
wut
to install
hmm, try sudo pacman -R sublime-text then i guess
error
idk then bruh
it always works for me
try checking whats the actual name of your sublime application
and whats the error anyway
should I just do this?
uh for the official binary
ok
if that doesnt work then remove bin
worked!!
how to fix this error https://paste.pythondiscord.com/oxecixoret.lua
@fiery oyster why you post it in 2 ot's?
sudo pacman -S code
no one helping
check out #❓|how-to-get-help
no is helping to solve this bro
@fiery oyster is that django?
yes
BRUH just search on google
I got it thx
Code is like to vsc what chromium is to chrome
ohk
Wait, I am trying to prove to some friends why it's really bad to blindly format user input. If I know some code uses say .format or f strings, how can I execute code?
Like say something does this print("1{}2".format(var)) how would I set var so that I can freely as the user run code?
Typically it's eval() that you shouldn't arbitrarily allow users to input into, not f strings or format
or sql queries
but you could do smth like eval(‘os.system(“dangerous command”)’)
so eval is more important in some cases unless you arent root or in a vm etc
eval(‘import os; os.system(“dangerous command”)’) in case os is not imported yet
yeah i dont see how its bad to allow a user to input something and then print it out
One thing to keep in mind is “always assume that your users are psychopaths trying to exploit your program”
With that mindset, you’ll be very cautious when dealing with user input
what is this channel
an off topic.
so make sure that it cant be used as malicious?
Is this sentince technically gramatically correct:
In this hot house is a smaller cold house that is designed to keep the hot insides of the house designed to keep the cold insides of the house it is in out it is in from making the food hot.
I wouldn’t think so
would brackets showing where the descriptions of the objects tie to the objects help?
Just write that it’s a fridge/freezer lol
no
The sentence is sort of grammatically correct, but you can get a "catch all" of a run-on sentence.
use commas.
use oxford commas even
those are the ones that make the weird sentences right?
a comma used after the penultimate item in a list of three or more items, before ‘and’ or ‘or’ (e.g. an Italian painter, sculptor, and architect ).
that isnt necessary?
I dunno? Saying oxford comma sounds fun though
It's not technically necessary (and in certain languages, like Russian, it's actually a defined punctuation error), but it does help clarify that the and/or part still relates to the listed items
I'm a big fan of the oxford comma
Sign up for free with Brilliant at http://Brilliant.org/HAI
The first 200 to use that link will also get 20% off upgrading to premium
Get a Half as Interesting t-shirt: https://standard.tv/collections/half-as-interesting
Suggest a video and get a free t-shirt if we use it: http://halfasinteresting.com/suggest
Follow Sam from Half as Interest...
that youtube account is almost intresting.
(that was an intentional pun)
that failed
Or the absence of wakefulness coma?
why is github catopus
In Sweden, it’s incorrect to use a comma before “and” in a list of items
i see
Congrats
:D
Look at my best code:
print("Hello world")
Its so impressive lol
Im still a noob and i was playing with python for few weeks
Nicee
to think that i can get 40million just for a comma
Hmmmmm?
hrooooom
hrooom
I am smart because i always type space after commas
Wait did i just broke a chain
Sorry
hrooooom
Nice
tomato armpits
@tardy cedar
Oh hey did you guys know Discord now has a reply feature
Did you know tha—
I don't find myself enjoying it a lot
lol wut
xD
wutt
I am watching this Bastard Teacher anime
big oof qwerty
has anyone seen tomato's armpits?
something you dont know
😇
i am a poet 
Uh
🍅
lmao this is definitely from me and bisk talking about pruning tomato plants
:D
XD
have you ever just like
like cut open the tomato to reach its armpit
and then just nomd on it a bunch and mmmhhmm tasty
mmmmhm love armpits of tomatos
No. Never. Not gonna ever happen.
!kindling
Kindling Projects
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
Username generator: purely random? Based on a dictionary? Random but pronounceable? Lots of possibilities. i am going for this
Good luck 👍
thanks
what was your previous project on?
one friend had an old printer which needed a usb to connect to your computer or whatever to print. What I did was make the printer able to get the files and print them without connecting by usb
if u want i can send u the link to github repo
he had a rassberry pi installed
so that made it eassier
So you just replaced one computer connection with another? :^)
was it supposed to be green?
@past pulsar do you have any other questions about that?
uwu
@untold folio So if you want an example
I have three files: main .py file, _ui.py file which is generated by from .ui and .ui itself.
in main file i simply init _ui.py inside another window
class MainWindow(QMainWindow):
def __init__(self):
super().__init__()
self.ui: Ui_MainWindow = Ui_MainWindow()
self.ui.setupUi(self)
self.init_ui()
self.show()
It worked pretty well
and logic is contained in MainWindow class
Hmm ok
@untold folio you're living in spin?
Ye look at my pp
Good that you're not living in spain without the s
@untold folio btw
designer generates setupUi method
But you can pass anything as MainWindow
So i'm passing self in that constructor
References to those widgets would be help in UI_MainWindow object
But they would be placed in whatever you pass as MainWindow argument
Ok thanks. I'll look at this again tomorrow. This was very helpful @devout loom 👍
👍
@jovial island exact error
any feedback & suggestions, https://www.reddit.com/r/Python/comments/k1fosj/wikibot_a_wikipedia_bot_made_on_python/'
I skimmed through your readme and it looks good
I see a lot of except Exception as e:
And you do not use e
it'd be better to except specific exceptions
you can try incorporating logging into the bot and log errors
It's generally recommended to store tokens in a .env or something and load it
hold on i have some ss on that
you can do the same for your telegram token
install dotenv by pip install python-dotenv
Hey
So then, obviously Ernest Hemingway famously spoke "yeet me daddy, that's so on fleek."
@knotty patrol Im here
yea
Alr, so I'm better with linux, not so much with powershell on windows
If it works on windows?
yeah
and if it dont work im gonna search on google
ok im doing that
On linux it starts vim
humm
It won't work on windows
vim ??
Since windows uses powershell
im gonna search a command like that
vim is a command line editor
but what this do
vi? its a linux command for opening vim
Like I said, it won't work on windows
Theres probably downloadable scripts that'll do what you want
ok
It should spout a long message
but ik what it do
it gonna show every command i can do
Yes
but I wouldn't mess around with it without knowing what it does
Whats your goal here?
act like a hacker
|o|
Theres probably some downloadable script you can use that spouts nonsense that'll make you look like a hacker
i gtg, cya :D
theres lots

@fluid plank among us?
hmmm?
ah no i dont have time for that
ok
also you can just google
ok
and there is py2exe
is it cmd tool
sup
hey @cedar leaf what's the deal with Search-Mailbox? i've run a search and specified a target mailbox and folder to copy the results to, but i'm just getting a log report.
no way ~50mb of emails takes over an hour to replicate
O365?
Exc 2016
you specific target email and target folder?
yah
something like: Search-Mailbox -Identity "User Name" -SearchQuery "Query" -TargetMailbox "administrator@domain.com" -TargetFolder "Search and Recovery"
Do you believe the emails to be deleted?
no.
are you sure of it?
yup.
what does get-mailboxsearch say?
do get-mailboxDatabase and make sure the catalog is up to date
also, to do searches, you need to have Search Role which by default is given to no one
well i'm getting search logs
Ok
so i can see how many hits
Sure, but to copy content, you need Mailbox Search role but ALSO Mailbox Import/Export Role which again, isn't granted by default
you can granted it using ECP to Organization Admin or whatever that top role is (I haven't touched Exchange in 3 years, can you tell?)
That might not be the problem but I'm giving my "This is standard stuff that trips people up, check these really simple things before worrying about big issues"
yeah, weirdly i've been googling and didn't even find that
good luck
still this god damn GDPR request i've been working on for like a week
Also, when you grant the role, there is replication time between granting the role which happens in AD and Exchange server scanning AD to see the role
Oh no, you're still on this
you can speed it up by restarting ExchADTopology Service but that will cause a service outage
good to know
i can wait
and yeah Ak
my python for searching all the .doc, .xls, etc etc files worked flawlessly
so now i'm onto the exchange server
same GDPR request?
yeah
as much as that will cause hissing in horror, Office365 has all in one search that could have handled this
if you think amount of requests will increase, something to mention to the client
i was thinking about that as i opened the exchange shell
they are actually moving towards O365, but it's a long term goal
understood
our apprentice was having a little moan about how we support so many disparate different pieces of software
and how it's a pain in the arse to remember all this shit
gotta agree with him in some sense
The same apprentice that locked himself out of the servers 4 times or so?
him ripping his trousers crouching to pick up a server is still the biggest crackup for me
Hahaha
"careful, it's heavy. lift with your knees."
rrrrrrrrrrrriiiiiiiiiiiiiiiippppppppppp
i couldn't stop laughing for like 10 minutes
Poor guy
Woops
please help me in: help-vanadium
urrrghhhhh i implemented this hellish CMS thing for my school
which used to be yaml file + file system
but now i have to use fucking google docs
as the cms
because this is a coding outreach project, and none of the people writing the resources know how to use fucking git
arrghhh
goodluck
yuckkk
I actually was playing with f1re earlier. wowzers

🗿
Hot
@terse jackal Sorry for the warning, I misused the command. You're alright
woo the google docs CMS is almost done
i rewrote the entire resource fetching system
to be object oriented
Noice
how hard could animation possibly be?
the animation tutorial is 2 hours long
!e
# `programs` stores a dict mapping a module name to an AST:
programs = {
"__main__": [
("import", "foo"),
("import", "bar"),
("set", "x", "Value Of X"),
("print", "Hello, world!"),
("print", ["foo", "y"]),
("print", ["foo", "z"]),
("print", ["bar", "u"]),
],
"foo": [
("import", "bar"),
("set", "y", "This is Y, defined in `foo`!"),
("set", "z", ["bar", "u"]),
],
"bar": [
("set", "u", "This is U, defined in `bar`!")
],
}
# `modules` maps names to `Env`s, in this case dicts.
modules = {
}
# Execute a single command in the context of some module:
def run_command(module, cmd):
name, *args = cmd
if name == "print":
[arg] = args
print(compute_value(module, arg))
elif name == "set":
var_name, value = args
module[var_name] = compute_value(module, value)
elif name == "import":
[module_name] = args
if module_name not in modules:
modules[module_name] = run_module(programs[module_name])
imported_module = modules[module_name]
run_command(module, ("set", module_name, imported_module))
else:
raise ValueError(cmd)
# if it's [module_name, attr] -- take the attr out of the module, which must be defined locally
# otherwise, just take the value as is
def compute_value(module, value):
if not isinstance(value, list):
return value
else:
[module_name, attr] = value
return module[module_name][attr]
# create a new Env and populate it by running commands in its context, then return the resulting dict
def run_module(program):
env = {}
for cmd in program:
run_command(env, cmd)
return env
run_module(programs["__main__"])
print()
print("modules:", modules)
@shadow elk :white_check_mark: Your eval job has completed with return code 0.
001 | Hello, world!
002 | This is Y, defined in `foo`!
003 | This is U, defined in `bar`!
004 | This is U, defined in `bar`!
005 |
006 | modules: {'bar': {'u': 'This is U, defined in `bar`!'}, 'foo': {'bar': {'u': 'This is U, defined in `bar`!'}, 'y': 'This is Y, defined in `foo`!', 'z': 'This is U, defined in `bar`!'}}
@languid osprey This is what I'm suggesting ^
Hey, thanks :D
Do you understand the general idea?
Sort of yeah, basically, you have a dict with some programs you can import, and your checking for keywords in the run_command function, and then evaluating them. With the import, your putting the module inside the modules dict, and then assigning it with an env, and then running it
oh no dinoman

ooooh nooo he got teeeny tiny armsu

That emoji lmao
lol
+ 🧠 = 
Hello, what is firebase used for plase?
@jovial island why are u sending
that in all ot channels
does it answer my question? or you're just here to make silly remarks?
what?
you are spamming which is agianst the rules if u didn't know @jovial island
Hello
hello
well read the rules
you're really helpful, thank you mister
how?
What happened to the No-dms tag?
It doesn't seem to work? Or is it something other than !dms ?
Doesn't look like we have one
it was overused, so we ended up removing it
multiple emojis
they are actually different parts









like this lol
oh yeah

Wait
You changed your pfp and name >:(
because uhm because fisher called me "Mr. I just got my guitar back"
also thicc waifus are exceptions
:((
I mean, fine
T_T
Hi
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
That’s a lemonsaurus 
Can anyone help me out in #help-lemon
please don’t spam in ots
What's the "insights team" role?
Right
We have an annual survey on the server and do some work with, well, insights. That’s what people in the insights team work on
Oh. That sounds fun. Kind of like stackoverflow developer survey
A bit like that, yeah. Right now, there’s a lot of work with creating the backend for https://forms.pydis.com/
Python Discord Forms is the surveying system for the Python Discord server.
I’m not personally too involved in that process, but we have some other people like ks123 who help out a lot with that
I'd help if I knew how stuff like that worked
I'm more of a simulation/data processing kinda guy
No worries. If you’d like to contribute in some way, we have @clever salmon, @rustic harbor, the site and branding. These are our main areas of contributing. I personally do a lot of our branding
Ah
Everything is on GitHub, if you think it sounds interesting
Aight, thanks
Happy to help. If you have any questions about contributing, feel free to ask in #dev-contrib
Does anyone have experience with the MIT Opencourseware for Python? I'm currently working my way through it and was hoping to discuss and/or potentially get feedback on some of the code I'm writing.
i don't, but we can still probably help you
Right on! The course currently has me making a hangman game and I can't help but get the feeling my coding style isn't very efficient. lol
I don't expect to be coding with peak efficiency where I've only recently started programing, but I would like to know if I'm making proper use of the things I've learned so far through the coursework.
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
Before I do that, I just want to make sure that this is the appropriate channel to be doing this. 😛
probably a help channel would be better ¯_(ツ)_/¯
doesn't really matter what happens in ot though
o7
I was provided a couple of premade functions and others that I was to define based off of the descriptions provided in the docstring.
The game works but I can't help but feel I could make it cleaner.
do you guys know if updating your repo license apply to all previous commits/versions?
No, it doesn't. You can't change the terms under which previously released versions of your software are licensed. You can remove the old commits, or rewrite them to use the new license, but if someone has an old copy of the code from an old commit, and that commit says it was MIT licensed, you can't just check in a new license and say "Oh, and now you owe me $100,000 for using that thing that used to be free"
@wicked hollow makes sense, thanks fam
the more pythons the merrier
print("Hello Welcome to my class on python tutorials ")
PasswordCount=0
Name=input("\nEnter your name")
print(" Welcome",Name )
print("\nPlease login ")
UserName=input("Please Enter your Username")
Password=input("Please enter your passowrd")
ConfirmPassword=input("Confirm your password here ")
PasswordCount=0
if Password !=ConfirmPassword:
while PasswordCount==5:
PasswordCount =PasswordCount+1
Please tell me where i went wrong
Dang, I got rusty on Python fast
what are you trying to achieve in first place 😅
while PasswordCount != 5:
PasswordCount = PasswordCount + 1```
is the same as
```py
password_count = 5```
unless something's missing
in other words. here self = tim right?
Funny how ot is now just another help
help with pictures xD
You can post pictures in help channels
not all pictures aren't related to help
I mean those ones certainly do
but going off off topic is a thing 
and general is cancer + hiv
light mode?
?
?
If your gonna keep talking about stuff other than python?
As in image editors
GIMP is my favorite btw, so thats why I recommended it
but it does work well
but all ppl prefer a good cracked app than a old app that no one use it
tbh i did never seen it or heard abt it
and i dont think its better than adobe
adobe its like popular and ez to use and there is a lot of vids on ytb that explain how to use it and there is a lot of programs on it
who uses light mode?
light mode eh? your eyes must be bleeding on a daily basis
You know, there are ways to see therapy without it hurting your finances.
lol "high performance" they say
idts "high performance" is worth blinding your eyes for but that's just my opinion anyways
try dark tho
dark is the new cool

I would appreciate if google foobar told me if I timed out or returned the wrong result
CONSTRUCT ADDITOINAL PYLONS
well, optimizing a bit did not help, so I probably need to actually do something smarter than naive BFS
yes
one of my favroite rts games
age is def better, but starcraft has a place in my heart
yeah
@keen ginkgo , the console is black (unless you change it).
Hey, can someone help me with mathematical induction please?
That's a new one. My code crashed pycharm
That's what I get for storing dozens of images in memory
lmao
maybe sleep time for most people here
i am doing well and what about you?
ah, i forgot to check timestamps before posting
oh nice
coming to friendo soon™️

i is burrito
@fluid plank starship successfully installed now how do I open it?
go to https://starship.rs for instructions
@slow valve what shell do you use?
okay
Terminal Emulator I think that is bash
echo "eval "$(starship init bash)"" >> ~/.bashrc
ok done
do I do both
yeah
because for example
if you switch to zsh
you wont have the custom prompt enabled
screeny pls
lol
this is zsh
replace that with eval "$(starship init zsh)"
then for bashrc replace the same thing with eval "$(starship init bash)"
yeah
it is in the end of the line
wait did you replace zshrc?
removing all of bashrc is like removing the entire startmenu from windows
@fluid plank I removed that line and instead of that I typed that
there was nothing else than that one line
oh okay youre good then
bashrc is just bloat, rm it /s
so in bashrc where do I put eval "$(starship init bash)"
what
dude ..
/s implies sarcasm
@slow valve it should look like this
ok
it is located near the end of the file
if u see some starship already, delete that
the starship with the wrong syntax i mean
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
yea idk what it is
i never thought of that haha
so much stuff
@fluid plank when did ya start using neovim? 🤔
edited it
so quick
you sonic
two months ago i guess
ok
watch me crash it
haha no it wont
lol I don't even have that file
touch ~/.config/starship.toml
then you can start configuring starship.toml
to look like this
depending on how you config it
in case you need it
ok
okie
Disable the package module, hiding it from the prompt completely huh what does this mean
it means you will disable the python rust and other langs from showing up in the prompt i guess
ohnvm
ok then I won't do that
i think it means package managers like npm
ok
The version being shown is that of the package whose source code is in your current directory, not your package manager.
mhm
what
vinam
I am setting up starship
[python]
symbol = "👾 "
I want to put the python logo
ah
rather than this weird thing
lol
how did you get that
i dont remember
F
wait let me see if it is visible on github
bruh fk Image to Text also only gives
[python]
symbol =
bruh github doesnt support it either
lol
@tranquil ridge try pastebin
ah k
nerd font k
u are in xfce after all
@fluid plank yeah but he needs to put that right
you need nerd fonts haha
what that haha
starship
the ending name of the font should be Nerd Font not NF not Nerd Font Mono
@slow valve yep. just copy the block thing and nerd font will render it
yeah else it becomes tinyyyyyyyyy
mine is big though 
which nerd font do you use
what
well you asked
not the icons folder
ok
extract it, put it inside a folder, then move it to ~.fonts or what vinam said
i prefer putting it in ~/.fonts
it is a hidden folder
well if it does not exist
just make it by mkdir $HOME/.fonts
i just put things like this inside /usr/share 
I can't even put anything in /usr/share/fonts/
permission denied?
idk I can't move any folder there
I will just make that dir
after moving to any of the folders, do fc-cache -fv
to reload the fonts
but i prefer reloggin in or rebooting haha idk habits
put it in ~/.fonts
yes
I didn't knew that thx that is why my ms-fonts were not loading
it should be at home or it will become sad
got the python symbol
imagine your pet fonts crying?
pat pat
ah you need to be in a directory where python will be detected
and no
thats not how it works
haha
if you look at it i am using pyenv
I don't have pyenv lol
which is setting my python version to the system python
u dont need it haha
it aint necessary but if it detects a directory having python-version file for example
it will show that python logo
so how I go to that directory
pyenv is more like having many python versions and is designed for switching versions. pipenv is designed for projects and locking pip packages
i dont recommend using pipenv to switch python versions
even though it is possible
because it is not designed to be that way
hmm, do you use pyenv for projects too?
umm I can't get what I need lol
yeah you can definitely, but it is designed to just switch python versions and other custom versions of python
why would you wanna switch between python versions, if not for projects?
you'd want to use the global system python for linux tools
3.9 and 3.8 won't you like the switch?
yeah, using pipenv
pyenv can also do that
ah no
wait I get it
pipenv for packaging your shit
so that the versions on your development machine and production machine match
i rather not risk using system python for production environments
thats why pyenv comes in handy
?
How can I get pyenv
Mono?
check which font you are using in terminal preferences
and tell me the exact name
changed it
but same thing
oh nvm
I chose DaddyTimeMono NF Book
@tranquil ridge how does this look
bigger 
ok
Python\ Programs hmm
don't judge on that file name btw
lol too late
lol I was going to say that only
yeah i got really weirded out by that
I have a space
and a backslash
you can rename it
space goes brrrrrrrrrr
ik
but I am too lazy
nvm changed it
I just press tab so I am fine anyways
I will learn Rust from tomorrow
holy mother
nice
👍
use celeb - less chance to type it wrong :P
finaly
now you only need to add a space at the end of each string so the output looks good and you're done
use, I dunno, vsc or sublime or some lightweight editor and you'll get warnings for such errors
im done coding for the day i need to read for school and my teacher is a pain or else i would code all night long
that was your code 🙃?
this is one of the best ot names tbh
hahaha agree
Milk godly
Water 🤌 👑
WhatsApp messaging system using Kafka Python
https://github.com/anshumanpattnaik/python-kafka-messaging
^
bruh imagine sleeping
-this post was made by student gang
lol
My history in Java, C, and C++ probably helped me quite a lot with rust
well I have history with None
Probably the only reason I haven't learned Rust yet is because I don't know what to build with it
It's a practical language after all
Have fun with fusefs!
My plan is to make a cheap yubikey with that lmao
i have a history with java and js in highschool
fuse..fs..
I tried to learn Java but then got mad
the worst thing I did is learn Java at the beginning when I had no programming knowledge
I think that's why I got mad lol
@prisma river what does fusefs do?
i forgot what ive learned in highschool
It allows you to create a custom filesystem without the need for a kernel module
xD
do installers for manjaro offer fusefs?
ooooooooooooooooooooooooooooooooooooooooooooooh
Or it would be pretty much useless
If I post childish programs like number guessing on github do I look dumb xD?
wait when???!!!!!
it aint
aint what
it aint childish
okay but it is very very simple xD
Debian and Arch has it, for instance, which is.. most of the existing linux distros
i never heard when they defaulted to it
i mean fedora defaults btrfs now
but fusefs hmmm
nah i will just stick to xfs for now
haha
My github has 0 repos lmao
then make one
add some projects you have in mind
and try to complete it
Well, it isn’t a really a default, they just decided to include it
should I add the number guessing lmao
does it have benefits over other filesystems?
what are its advantages
The benefits is that you can control the behavior of the filesystem with user code, no kernel module needed @fluid plank
wow
but idk how to control the behaviour xD
let alone modifying a kernel module
xD
Well, the goal of fuse is to not write a module
Here is an exmaple of what you can do https://github.com/zargony/fuse-rs/blob/master/examples/hello.rs
Basically, fusefs is a kernel module, and will link at runtime with your user code, and that’ll control how the fs will react
Oooh overlayfs is fuse, interesting
did you try it or?
Yeah, I’ve just started
Fuse is a tool intended for devs, not for using it as a daily filesystem
yeah i read the docs i just realized the purpose of it
i will stray away from it for now
I don't understand why we learn java at school, instead of Python, etc...
Kinda sad
memory management
static typing
I see
The problem is
Like half the class doesn't understand whats going on, because the teacher sucks at teaching and java itself isn't self explaining
where you from?
Like if you see ```
System.out.print();
it's confusing.
if you see a ```
print()
you can imagine whats going on
Austria
probably the teachers are from those generations i guess
you cant force them to change curriculum now
Could be, but I guess that's just the languange the teacher have to teach us
I asked one of them
He said, he doesn't like java
well java is fine
after that you can just switch to kotlin or C or rust
yeah, that's true
you can still learn while learning a lang in school so thats a win win
haha
but yeah i know how it is frustrating to learn java
i wonder how i got a high grade in comsci lmao
regretting taking a major in microbiology
For me it isn't hard at the moment, because I have like 2 years experience in Py, C#, and a few others
So I kinda understand everything
My problem is, when you look at it from an other persons view, for a student, who never did anything like programming, even basic commands are the hardest ****
youre in highschool right?
Austria is a bit different than other countries with their school system.
This year I switched from the 8th grade secondary school to the 9th grade in a so called "HTL". HTL means "Höhere Technische Lehranstalt" which is like an high school based on technical things.
and there I am right now
you can say its a high school
but somehow its not
its different
ohhh I see
i kinda like your school system for some reason
I mean I can't complain
it sounds somewhat efficient
It is absolutely
haha
so what langs are you learning now? other than python and java?
I am currently still learning Python, besides learning Java for school
That's my main languange I learn
i think i will be resting away from python until xmas haha
Why? :D
lol I've done pretty much zero programming for a good month or two
i was learning rust and js at the moment. and i will go back learning python because of this package
cause school got rather busy
But have had plenty of time to collect ideas so I can get back to it soon
yeah i only code for one hour every other day because of school
but then, it got too hectic
so i do that on weekends
Me too, got no time for that anymore, except on holidays
excuse me
once there is xmas break, i will proceed learning this package https://biopython.org
I got a few machine learning projects in mind
Oh wait- is it like for biomedical engineering?
i plan to translate all my python code to rust as much as possible haha
bioinformatics and genetics
i plan to apply my biology knowledge in order to not regret choosing biology xD. i still love biology but the college sucks at teaching it haha
Wait...
So it's what I said? biomedical engineering? I'm bad at english, I'm sorry
Because if it is
Thats freaking awesome, because you have to know, that's the category on which my school class is based on
idk i think biomedical engineering is another field but somewhat related to genetics
That's cool
also this pushed me to learn rust https://www.nature.com/articles/d41586-020-03382-2
thanks sexpistol for this nice article xD

+ 🧠 = 




