#ot1-perplexing-regexing
1 messages Β· Page 486 of 1
how spanish are you?
please speak English to the best of your ability.
great song btw
0 spanish.
but I took three years and eat mexican food 3x a week xD
lol
I'm jealou
How do you tell? what are the first signs?
and how did you learn to write in Spanish?
when mariachi music makes you hungry, you know you are in too deep
Also how can you tell if you are turning Spanish or Portuguese?
I cannot speak spanish. I just have fragments from high school LOL
so boring
si, senior
my classes are easy too π
I wonder if I should get my AS in CS first or just apply to transfer to an uni
I wonder if I should get my AS in CS first or just apply to transfer to an uni
@frozen thorn hard to decide
yeah. I have like 2 sems left
maybe I should finish GE pattern and get AS in CS. That's what I decided for now
uni overrated imo, plenty of good instructors elsewhere as well.
Although generally the quality of education should be at least a bit higher
- thats a lot
hmm

is that a joke? lol
depends on the courses tho
bc if they are all intro or for non majors
its kind of not worth
prob start looking at phys or math department for numerical methods or sth if thats the case
@tall canopy
bAnNeD
Big brain name
what is the actual issue?
im trying to install manjaro
and i need to partition my disk
when i try to shrink the volume
its only letting me shrink 5gb
it is probably full
that just proves it is full
hmmmmm
well that is a very small drive, so I would be hesitant to partition it
I do not really think this is an issue, but probably a safe guard to prevent you from shrinking your drive too much
Windows has protections against shrinking drives too little
yea but whats with the amount of recovery drives?
theres like 5
and i ran reagentc /info
bisk told me to
bisk is a pro at this haha
I've had to defragment mine/disable swap/disable recovery to get to shrink 150 GBs
yeah, this could be tricky. I generally would not shrink it if it was my drive xD
well i woulnt need to shrink if those revoery partitions werent fat
I dont really want to give disk advice because I would not play around too much with this on my system. Kinda risky
Bisk is probably your best bet.
yes, windows protects you from destroying your system xD
personally I recommend not messing with it, but I would trust bisk's guidance.
But this is the type of thing I do not play with on windows, it can be easy to make a mistake and do damage
I would not recommend a dual boot with that little storage as well
hm
guys
what u doin
I would not recommend a dual boot with that little storage as well
@eternal wing dual boot always gets screwed IMO
hello
someone wanted me?
oh, to remove the recovery partition you'd have to use diskpart
still not sure why you're not able to shrink the partition lower than 5gb though
and i don't really recommend removing the recovery partition
thinking about it you might be able to solve your partition resize problem by using diskpart
i plan to use a separate drive. but i am wondering where to install the grub boot loader. should it be on /?
they say if i install it into boot efi of windows, it will mess things up.

so okay it is root then
i think i've heard of the windows bootloader messing up grub during updates? not sure.
i virtualise Β¬_Β¬
yeah. i mean most of the tutorials i found installed the bootloader on /
i just asked here for further clarifications
this is a psa
anyone unable to launch discord after a system update today on arch should rollback opera-ffmpeg-codecs to 85.0.4183.102-1-x86_64
https://bugs.archlinux.org/task/68364
this has been a psa
:o
:0
whut happened
idk, i didnt have a prob, maybe its only for arch ig
discord canary wont have those kind of problems i guess (i hope)
what happened? arch being bleeding edge
π©Έ
If you update discord in arch based systems it breaks ig
and that is due to opera-ffmped-codecs ig
@peak flare what operating system are you using?
windows 10
Open disk management by typing "Create and format" into start menu and selecting this option https://i.imgur.com/oSacDFe.png
yeah i used that
made a partition D from the C
installed a bunch of apps
deleted the apps, cuz C was too small
the deleted D and combined it to C
and now im downloading my apps again
@uneven pine why do you have two efi partitions π
the more, the better 
the more, the better
@quick ledge so that means he will choose where to boot?
nah i was kidding
nah i was kidding
@quick ledge uhm since youre very good on linux
uhm
so this is still yet to happen, so i have two separate drives, one is already installed with windows. the other one is a blank drive. and i wanna install a linux distro. where should i put grub?
@quick ledge uhm since youre very good on linux
@mild abyss im not π³

so this is still yet to happen, so i have two separate drives, one is already installed with windows. the other one is a blank drive. and i wanna install a linux distro. where should i put grub?
@mild abyss does the drive with windows have free space?
@peak flare everything looks fine, what is the issue you're having?
sorry for the slow response, got distracted in another conversation
same
so this is still yet to happen, so i have two separate drives, one is already installed with windows. the other one is a blank drive. and i wanna install a linux distro. where should i put grub?
@mild abyss im not reaaly sure. im guessing install linux on the second drive and follow the gui installer. mark the efi as boot
I think /dev/sda2 will be the boot partition of windows
@mild abyss im not reaaly sure. im guessing install linux on the second drive and follow the gui installer. mark the efi as boot
@quick ledge u mean the free space i made, i will make it into /boot/efi?
then point grub to install there?
I think /dev/sda2 will be the boot partition of windows
@rough sapphire do you have any suggestions?
you can inatall on 2nd drive, but the drive should be always present on your system
yeah mine is always present on the system
can i uninstall this default file manager? i only need dolphin
maybe sudo grub-update will help me detect other OS
can i uninstall this default file manager? i only need dolphin
@edgy crest you can
also why isnt it working then
also why isnt it working then
@edgy crest ah dont
@mild abyss im not reaaly sure. im guessing install linux on the second drive and follow the gui installer. mark the efi as boot
@quick ledge then you gotta change the boot order too
ohok
because xfce needs it
kk
okay thanks Vivekgurkan. i will try messing some things in december then
maybe
sudo grub-updatewill help me detect other OS
@mild abyss you gotta do that at the end.
when you install grub you will create some confs in your OS
sudu grub-update will make it read the new changes in the conf or MBR or w/e
*sudo update-grub
okay. me will try that i will note it inside my mind
@uneven pine thx for helping i was able to delete it
@peak flare well I didn't really do anything but glad you figured out out
*Text* or _Text_
Text
**Text**
Text
> Text
Text
__Text__
Text
~~Text~~
Text
||Text||
||Text||
`Text`
Text
@heady storm
||
||
@heady storm https://www.writebots.com/discord-text-formatting/ have fun trying things out
**
**
@mild abyss thanksπ I'll sure check it out
So I figured it'd be pretty hard to add an export list mechanism to my LISP
Turns out that's not true
π
I can basically just take a snapshot of the current execution environment, running the given module that has a (provide func1 func2 func3) macro that saves stuff to another mapping internally, before ultimately doing set operations against the new environment, old environment, and the export list
Basically tells you what can be imported from a module
ahhh
Python has one through specifying __all__ although that works for star imports
yeah, thought of that when you explained what it is
Is there a conversational going on?
recovery's disabled. π
yes
Is there a conversational going on?
@gleaming thicket I'll take that as a yes
so can i just force delete all the partitions?
carefully, but probably.
( @gleaming thicket regardless of whether there is any conversation going on, image dumps are not appreciated here, ty)
Ya I give up
brug*
as long as you're not going to hold me liable for anything you do to your system
yes it's fine to delete all the recovery partitions.
Looks like I am going to be the only one finding that image cursed today
but didnt u say that resetting needs recovery partitions?
It will probably add another one
when you install windows you're asked what partition you want to install it on
if you remove all the existing partitions so the drive is empty
and install windows again from scratch
it'll install windows + 1 recovery partition
so you don't have the install media?
no
like a win10 cd
not for free iirc
the tool is free
ye, media creation tool is free
yea
oh nice, well done microsoft.
lol
what is the problem you're trying to solve again?
you want to shrink the windows partition?
lma
im trying to get manjaro
yes i need partitions
is 128gb too less for a manjaro dualboot?
have you tried using the command line diskpart instead of disk manager?
cuz im getting cold feet now
uh no
i entered diskpart
but thats it
i didnt know any commands
lol
thx
make sure to launch cmd as admin
kay
oh yea
also
the c drive doesnt let me shrink more than 5gb
tho it has 53gb left
a lot of problems
it makes me want to not get manjaro
how is codingplusplus for a blog name ?
Sounds good if you do a C++ blog :P
not just c++ but the whole programming
thinking of some names
need help
im thinking one more
How can I make it so that my every screenshot doesn't get saved in desktop
no mac
idk on windows when u take a ss with (win+printscreen) the screenshot is sent to clipboard
The answer is poorly
I'm lucky I have a boss that doesn't care which days or times I work as long as projects are moving along on schedule
How's everyone today?
Hello
I'm new here
I know a little about python basics
and wish to expand my knowledge by learning more
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Yessss
There were two items left for my coworkers baby shower
One of them cost 10 bucks, the other 1000
Got the 10 dollar one π
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
I'm trying to link a html file with node js, but require is not defined at... even though I have installed it. rip
Did you import it, or whatever the JS equivalent is?
No I didn't import anything
Yeah. I have a node js script or smth so I can't load html file. I need to link html file in js
<script src="path or file name if in same path"></script>
var http = require('http')
function onRequest(request, response){
response.writeHead(200, {'Content-Type': 'text/plain'})
response.write('index.html')
response.end();
}
http.createServer(onRequest).listen(8000)
That should work. But require is not defined
uh
how are you going to start a HTTP server in a browser
require is for node, when you are running javascript on the backend
im confused
node is for running code like python, on your computer or on a server. browser JS runs your JS on your clients browsers. for obvious reason you can't do stuff like boot up http servers or touch the filesystem at all, it's heavily sandboxed
u can still use node as a backend
hmm. I'm pretty new to node js lol
like django
I'm saying the difference between node is that node.js code cannot be run on the browser
yeah
To run that code above you need to install node.js separately from https://nodejs.org/en/, open a command line and run node myscript.js
that code snippet works, but is not working how you are expecting, hahaha
dont u need an init
oh ok
is the content in index.html file?
no
it is sending the literal string index.html
you are telling node to write the text index.html to the browser
to actually read index.html, you need to follow the code here https://stackoverflow.com/a/10047018
which opens the file and then streams the file contents back to the browser
var http = require('http'),
fileSystem = require('fs'),
path = require('path');
http.createServer(function(request, response) {
var filePath = path.join(__dirname, 'myfile.mp3');
var stat = fileSystem.statSync(filePath);
response.writeHead(200, {
'Content-Type': 'audio/mpeg',
'Content-Length': stat.size
});
var readStream = fileSystem.createReadStream(filePath);
// We replaced all the event handlers with a simple call to readStream.pipe()
readStream.pipe(response);
})
.listen(2000);
that right
well, you'll need to edit it
Yeah
and ideally understand it
If I run it, require is not defined even though I installed it. Am I understanding this wrong?
well are you running it in the browser
you can't do that
you need to run node.js code in the command line
using node script.js
similar to running python scripts
https://nodejs.dev/learn i highly recommend this resource
Yeah. I meant running in the browser or smth. I have it online with
https://nodejs.dev/learn/differences-between-nodejs-and-the-browser and this will explain why you can't do what you are trying to do
node.js code does not work in the browser
nodejs is javascript outside browser.
yep
it does use the same engine under the hood, but there are fundamental differences because node has no sandboxing
What if I added another js file? that's not node
huh?
well
you need to separate your definition of node.js code and browser js code
node js is javascript but like lets say nodejs is modified
eh
bad definition
node.js code runs on your backend to process your data and works like python.
browser code is delivered to your clients to run on their machines in a sandbox
Node.js is an open-source, cross-platform, back-end, JavaScript runtime environment that executes JavaScript code outside a web browser.
yep
and ig its also uses something called chrome engine v8
both run on top of the v8 engine, but essentially node.js has no protections and browser JS does
yes
ye
super cool stuff
it uses JIT compiling
something that cpython may have one day!
well
read the thread title lol
the plan is outlined at uhhhhh
lol
Well I finally got it
const html = `<!DOCTYPE html>
<body>
<h1>Hello World</h1></p>
</body>`
async function handleRequest(request) {
return new Response(html, {
headers: {
"content-type": "text/html;charset=UTF-8",
},
})
}
^
nice!
I didn't realise how good the v8 engine was until recently
Things got some insane speed
it's fairly standard tbqh
V8 first generates an abstract syntax tree with its own parser. Then, Ignition, the V8 interpreter, generates bytecode from this syntax tree using the internal V8 bytecode format. TurboFan is the V8 optimizing compiler, it takes this bytecode and generates machine code from it. In other words, V8 compiles JavaScript directly to native machine code using just-in-time compilation before executing it. The compiled code is additionally optimized (and re-optimized) dynamically at runtime, based on heuristics of the code's execution profile. Optimization techniques used include inlining, elision of expensive runtime properties, and inline caching. The garbage collector is a generational incremental collector.
but the way it typically works is like
analyse the paths, figure out of the cost of compiling something outweighs running it in an interpreted mode
if so: do the thing
So it doesn't actually compile everything?
depends on the implementation
most of the time the majority of the program is not compiled
but maybe you have an algorithm that costs
the speedup gained from compiling that (which is a fairly big cost) will by far outweigh interpreting the algorithm on every iteration
Hm that is pretty cool
lol
wowee
here i am again
it almost feels as if i was in the channel name 2 days ago..
lol
Well, it sounds like you are holding them hostage.
Lemon: change ot twice if f1re is using himself against you xD
lol
i just finished about 25 pages of history assignments
this is what happens when you do everything the night before it's due
i have never typed faster in my life lol
now, time to sleep
goodnight all
that is the best way to assignment. haha gn
plz send it...
song credit to: @jellyfernandez
Discordβhttps://discord.gg/AcGx3qA
Twitchβhttps://www.twitch.tv/userwilliam
Instagramβhttps://www.instagram.com/sirwilliamyt/
Second Channel:βhttps://www.youtube.com/channel/UC0TOfFx-I_qKetNjuyjAHiQ
Twitterβhttps://twitter.com/Si...
Wait.. I thought the trebuchet was our official weapon?
@terse sluice is the trebuchet
Ooh do they shoot flaming projectiles?
If you haven't shot a flaming projectile in your life, are you even living?
I know right? Like one of my goals is to fire a tank
what did the tank do at work to you?
geez melinda, you gotta give harold some breathing room, he's still cleaning up his divorce with the panzer
lmao
Letβs use out weapon
hello guys, what specs do the python pros need?
huh?
like what computer specs do the professionals have?
oh ok. what if you need it for a software degree in college?
yeah
Depends what you're doing
And you have a computer right?
Some developers could just use a laptop and be fine
yeah
For some areas anyway
But if you're into stuff like
data science
machine learning
etc
You'll want a better pc
get something better than i5 thats all you will need
actually buying a new laptop, but i'm choosing between a thinkpad, a latitude or asus. which do you guys prefer?
ummm that actually depends on the specs π
the brand wont be of use if pc suck you know what i mean
i use something called g40 ig
it has an i7 processor, 6gb ram so its fine for me
but you cant do a lot with the coding wont be a problem
but watching youtube vids in 8k is something that i can only dream ofπ
thats a powerful rig
it also has 2gb graphics
how long do you have it?
what's g40? is it the motherboard?
how long do you have it?
@pliant crystal about 4 years now π
that's nice
what's g40? is it the motherboard?
@quick ledge its the pc i dont remember the name
its a lenovo, right?
yea.
do you have problems with the lenovo super fish incident?
wait I think there are Dell laptops named G30 or something
i dont even know what that is lol
wait I think there are Dell laptops named G30 or something
@quick ledge prolly idk
how do i know my pc model lol it only gives me a code
like theres a virus thingy in lenovo laptops and everyone is angry and disappointed at lenovo or something
search the code on the internet
like theres a virus thingy in lenovo laptops and everyone is angry and disappointed at lenovo or something
@pliant crystal actually i think i know what youre talking about
it installed shit on its own during the regular updates once
and then i cleared some stuff
so my pc stopped overheating
then i paid for mcafee shit never happened again
is your pc all good now?
yea...
theres this antivirus called saguzaro dont trust thatπ
it installs itself
search the code on the internet
try this monidagawd
yea wait
i dont think that model is still under production also whats your budget
i dont live in the us but it's around 700
I think you can get better specs for what monidagawd payed
because they bought it 4 years ago
yea exactly
right, forgot it was 4 years ago
i still cant find my pc model π¦
how much did the laptop cost?
i still cant find my pc model π¦
@tender silo did you try dxdiag?
it was around 68000 inr which converts toaround 900 usd ig
i would rather buy a laptop with discrete graphics card
wouldnt it drain the battery?
@tender silo did you try dxdiag?
@pliant crystal whats that π
type dxdiag in cmd
nice talking to you @tender silo and guys. thanks, i need to do stuff lol
wouldnt it drain the battery?
@pliant crystal it will kinda switch off if you are not using it
so some power is saved
he has baguettes for sale
@cosmic lotus im interested!
You had me at baguette.
Perhaps you would like my other offer, traveller?
An arm and a leg!
For only a baguette!
thats the same one ig -_- π
I shall not part with my baguettes, thank you very much
Perhaps you would like my other offer, traveller?
@cosmic lotus hmm reminds me of Genshin impact
@viral parrot Is your name 'evil' with a typo and you kinda stick with it or there are some lore behind?
it is some lore behind it
so my birth name was Eivind Larsen
and when i was in high school i wrote en schools user authentication login system for Word Perfect
thats an old Novel application
from a list of names i generated four letter usernames
three from the first name and one from the last name
eiv + l
that was mine
after 10-20 user generations i had a collision
so i had to change it to do 3 + 3 making a 6 char username
but i kept mine
because i kinda liked it
pronounced AI-vol, right?
cool!
more like eyv-l
but TL;DR is that its not a typo, its just a username generated from my birth name
hm
Does anyone know how to index in a matrix in javascript?
ex:
a=[[1,2],[3,4]], how would change/use the 3? in python I would use a[1][0] but that doesnt work
a=[[1,2],[3,4]]
print(a[1][0]) # print 3
a[1][0] = 5
print(a) # print [[1,2],[5,4]]
That works for me
function generate_field(){
let simple_field=generate_simple_field();
for (let i=0;i<field_height;i++){
for (let j=0;j<field_width;i++){
console.log(i);
if (simple_field[i][j]=="bomb"){
lol how did you use backward backticks
haha I am using azerty, I dont know if it exists on qwerty
I am trying to create a minefield for a minesweeper game, but it says simple_field[i] doesnt exist
the simple_field is a matrix of 10 rows and 10 columns with zeros and "bomb" values
[["bomb",0],[0,0]]
field_height and field_width both are numbers (10)
Never thought I'd see "pointers" and "fun" in the same sentence
βIf itβs not fun, you donβt understand it well enoughβ
I understand pointers pretty well and really see no joy in them
pretty well isnβt well enough hahah
I know way too little C++ to understand that
the Cpp way would be std::reinterpret_cast<float>(i)
Oh? What language is this, then?
because Cpp doesn't really use pointers
C/C++
works in both
just is bad in C++
it is also bad in C tbh, should be using memcpy
Ah, I just knew too little C, then
cause memory alignment
Or just use Python Β―_(γ)_/Β―
does python let you reinterpret the bits of an int as a float
I assume not
yes actually
(Maybe?)
with struct
Ah, you were trying to trick me hahah
If I ever have that question, Iβll probably just simplify the program or stackle it
Hahah yeah
it is useful in some specific cases where you parsing binary files with floats in them
such as some sound formats
anyway, to get back on topic, if you are using * as either pointer declaration or pointer dereference in CPP you are doing it wrong
I guess if they mean std::shared_pointer and std::unique_pointer, those are pretty fun
Iβll probably just have to revisit this once I know more about pointers hahah
Oh yeah smart pointers sound pretty cool
I'm still trying to work through the basics of C++ though
It's fun to write stuff in python and then in C++ and see how much faster it is in C++
Gotta love that -Ofast speeeeed
neeeeeeeeeeeeyooom
pencil
no, pen
digital drawing? meh
have the GPU do it
on a scale of 1 to 10 how much do you rate your c++ knowledge
3
-3
2
even the creator says 8
i can do cout and cin and thats it
i.e. 'i can make my arduino unconvincingly make beeping sounds'
honestly, the best reason to learn cpp is so you can understand cppcon talks
they are invariably excellent and interesting
have the GPU do it
I am using the GPU, I'm going to implement it in 3D
the GPU should have its own hardware for line drawing afaik
Yes OpenGL does that, but I'm only using fragment shaders
then test both and see which is faster
or just make one, see that it is good enough and never worry about it again
No
I NEED SPEED
I already have the DDA implemented, I'll go and do the Brensenham
Guys best languages for networking (except python)? Probably gonna need basic networking , so the shorter the code , the better
you need more speed even though you have GPU?
Guys best languages for networking (except python)? Probably gonna need basic networking , so the shorter the code , the better
And probably faster than Python
raku
Raku?
raku.
Should check it out
haskell would probably work too
Haskell? I've not reached monads yet is it enough?
you need more speed even though you have GPU?
There is always the need for speedβ’
nah, you would need monads for networking
GPUs are slow if misused
!eval
You are not allowed to use that command here. Please use the #bot-commands channel instead.
use puts or printf("%s"
so that you do not segfault when you pass "%d %d %d to PRINT
here?
no, for printing strings
yeah
What's the point?
Valk so u "cin" and process the input afaik?
You get the data , and process it?
Like scanf?
Or you read a file?
Or u have a lexer or something
i dont understand
u read files
waht?
i have lexer and parser and so yeah
and an emitter
I see
mhm yeah yeah I got it
what does (int)(x) do in printf()?
haha
(int)(x) will convert it to int and print x?
not like that I think
x is already an int
Well , I'm a C++ programmer , not C so ... yeah
Yeah I'm C++ programmer as well. Never seen that
remove tHAT RADER
no not really
It is
if i change this to something else is what controls
If it's an int , it will return an int . If it's a char , it will return the char code , and if it's a float , probably gonna floor it and return int
You can change it to %s and it will return whatever it gets
u can still get a float value even if there is an int
So , (int)(x) will convert x to int
no not really
If u were a pro you wouldnt've said this π
yeah im generating c bro π
Looks like Lua
lua
noo
π
let and if and end are in lua , while in "your" lang it is LET and IF and ENDIF
Lua has then tho
u do know there is langs that have same keywords too
u do right?
and even if it was a lua copy or whatever its a test
~~That is straight up copying π ~~
ok lemme change that to raderisNoob

true
is there a bot which shows someone previous pfps?
You can make one :3
@hoary steppe Are you an Idris programmer? π
looks like youtube-dl is shutdown
i documented a little bit about idris..its a very interesting language
oops i forgot some ppl dont know what jokes are
Object Oriented Programming s?
yeah, functional programmers use that as a curse, obviously
*hits finger with hammer*
-- Java!
XD
Can I post a meme
@rough sapphire Don't post the same question in multiple channels.
Can I post the meme, itβs about server?
No.
Wait did youtube-dl get pulled from GitHub
I saw the DMCA but whew
Including those examples in the docs was a really stupid idea
lmao
Actually it was a distribution group not YouTube I think
Yeah, a recording group filed a DMCA against youtube-dl and it was taken off of github
Hmm. Discord members?
yeah
was insane to see the growth this year
yes
very bonkers
lol wonder how much data metricity is storing right ow
table_name | size
-----------------+------------
users | 121 MB
messages | 451 MB
channels | 544 kB
categories | 80 kB
alembic_version | 8192 bytes
(5 rows)
wew
Yeah, hi
alright
@covert scroll Anything that easily compiles to machine code (C, C++, Rust, Haskell) will not require installing anything to run the program, I think. But it's not a really good criterion to choose a language.
Never heard of Rust and Haskell lol
Rust is pretty good
π€
rust is quite popular nowadays
@low chasm Not if you compile to a native binary.
right
@ancient minnow we're in h ere
C, Rust and C++ can even run on some embedded stuff
Cool
ye, like arduinos etc
rust is somewhat at a higher capability than python, but it doesn't stop the fact that python was made for the user to cope with easily
Rust looks odd xD
Rust is very cool.
Do any of you know rust/c/c++?
@ancient minnow we're in h ere
@young shoal oh I see
i hate managing with {} and []
Rust is very cool.
Rust syntactically isn't so cool
Yeah, isn't it similar to python in some ways? I may be wrong
definitely many c/cpp programmers here
but it's nice overall
Do any of you know rust/c/c++?
@low chasm I know c++
@low chasm I haven't worked with them professionally, but I've used them for personal projects to various degrees.
I like syntax in Rust so far (learning it). Maybe I'm just weird.
xD
i only have enough cpp knowledge to read code from competitive programming solutions, i've never coded in it myself
Yeah, the syntax wasn't horrible
I have no complaints about Rust syntax.
it looks really odd for me it looks like java idk why
It makes perfect sense for what it is, imo.
Its sort of different, and I like that
It's not as bad as cpp or c
cuz i know java has alot of [] {}
i only have enough cpp knowledge to read code from competitive programming solutions, i've never coded in it myself
@young shoal do u program in Java?
that's the only reason that makes it bearable
I like syntax in Rust so far (learning it). Maybe I'm just weird.
Except closures. All the languages secretly compete to invent the weirdest syntax for closures.
yeah i use java for cp
I know the extreme basics of c++ and Java
planning to learn c and python
I know some C in the context of programming arduinos with it, but not a lot
I was going to learn more, but got distracted by some project
yeah i use java for cp
@young shoal what do u mean with cp?
Learn with one language first
competitive programming
too much to learn at once
ikr
Ohh I see, that's cool
Lol
Except closures. All the languages secretly compete to invent the weirdest syntax for closures.
@shell raptor It's better than Python's
I don't understand anything in cp
i learned some c by learning about compilers and interpreters and still
i wish we can learn all the Programing langs at once
Cool
It's just pure evil syntax that i can't even read
I like syntax in Rust so far (learning it). Maybe I'm just weird.
The part I like the most is the type system. It's kind of similar to Haskell's (if you include some experimental extensions or whatever)
rust is interesting
@rich rover I mean, the syntax isn't incredibly difficult
@hoary steppe @topaz aurora We are in the same cult
It's easy enough when you get ahold of it
Rust's borrow checker is very cool
i like python's syntax maybe because i am use to it
That works for everything lol
i like python's syntax maybe because i am use to it
@covert scroll Its simple, and thats appealing to many people
oh
Same level of control as C++, but with safety guaranteed.
Lisp's syntax is very simple, but it's not appealing to that many people :0
well yeah
yeah i can see why
lol
lisp is minimal.
is python powerful? wait what do we use python for? do we even use it or programing or just for kids xD
Python is not minimal, but human readable and not overly complex
no no noo
python is quite powerful
python is powerful..but slow
Python is very very powerful
is python powerful? wait what do we use python for? do we even use it or programing or just for kids xD
@covert scroll it's used for data science and shit
@covert scroll Python is a widely used language in commercial projects.
Yeah its powerful
It's also a great language to "glue" other tech stacks together and for testing
@covert scroll It's mainly used as a web backend language, and for data science/machine learning applications.
hmm?
would python be like c++ if we dont count speed
@hoary steppe nah
in cpu intensive applications (number crunching), python is like 200x slower than a lang like cpp. that's why you call compiled code from python (like numpy) to do it for you instead of writing pure python
yes, somewhat
Python can't interact with the OS like C /C++does
oh
C++ can fuck with memory and shit
you mean in terms of having a huge standard library?
Python can't do that
Yeah, python can't
python's std lib is massive
C++ is hard for that very reason
Oh wait i gtg cya
Hmm is possible to make a OS with Python?
no
and load in a pc
@hoary steppe All Turing-complete languages are capable of implementing any computable program.
@ancient minnow
C++ can fuck with memory and shit
Python can't do that
ctypesgo brrr
hm
You need a language that interacts with the hardware to make an os
@ancient minnow
ctypesgo brrr
@shell raptor yes but that's cheating lol
You can make an OS with python, but you need C implementations too
You probably can with python, but you're gonna use lots of c or something
Yeah
oh... to use the hardwere so python is not possible to use those
You can't handle memory with Python
and dementati, care if i ask what is your career?
@hoary steppe So all programming languages are essentially equally expressive. It's just that some languages can express themselves more compactly, or more readably.
and some are much better than others in different cases
It usually really depends on the libraries
Have you all realised, that #python-discussion died because of this conversation?
which programing langs has more support?
Why are there so many people called gurkan in this server?
we all know that you're a stone statue 
like libraries
It's a gurkult.
@shell raptor Why can't stone statues be software engineers?
@wooden silo I'm not saying that π€·ββοΈ
production speed would grind to a halt
^
nice lol
I feel like theres a bad pun in there somewhere
I wanted to say something but i didn't want to be muted
even though I don't get the pun
smfh
unless it's something absolutely horrendous, you're probably not going to get muted π
I've been using Python for a while it doesnt seems like it needs really high level of math i was thinking programing langs needs high level of math
@shell raptor also, you're bad at making puns
is that true or false
You haven't used high level of maths in python yet
typically, computer graphics requires lin alg, and ML requires lots of math
you probably won't need to unless you go into those fields
You're a good person then, i forgive you @shell raptor
soooo much linear algebra @_@
wait what is ML?
Python usually uses a lot of math lol
typically it's a lot of discrete math, which you probably are quite comfortable with already
Machine learning
!note GurkanArven insulted my puns 
:ok_hand: applied note to @rich rover.
yikes
oh shit
xD
lmfao
saw that
Lmao I like this emoji. 
Maybe improve your puns, and then come back here and have a second try
I'll pass it this first time
What is the math needed for embedded development?
anything in particular?

