Ludovic 'Archivist'
Vlad
I don't but I know plenty of people who somehow crash and burn instantly once they write C++
You just see 15 lines of code and they already have UB in there
Vlad
20 and they blatantly segfault
Vlad
Kinda hilarious but it is what it is
Ludovic 'Archivist'
There are indeed three types of people, those that are the reason vodka exists, those that are the results of vodka existing, and the rest
Ludovic 'Archivist'
1st category made the 2nd for sure
I would have said that the 3rd made the 2nd because of the 1rst
DaviChan
If you're schizo enough you can do frontend in wasm
its not even that bad with sth. like imgui and emscripten. Like not any more/less annoying than writing regular html+css tbh.
Asta2 and Yami
Can anyone suggest me best C ++ book to start ,which covers stuff from beginner to advanced ,and also some C++ dsa book .
DaviChan
Can anyone suggest me best C ++ book to start ,which covers stuff from beginner to advanced ,and also some C++ dsa book .
"a tour of C++" is good for DSA im really unsure. There are plenty. Ideally you might pick one up that utilizes the STL? There where 2 books that did that. "Effective C++" and the other one had a title along the lines of "crafting algorithms using the STL effectively"
DaviChan
I would suggest go for video lectures
The one on Pluralsight by Kate Gregory is a good introduction I think. Also there are playlists on youtube by people like the Cherno as well as myself (im not allowed to link it here) Also learncpp.org is recommended by many. I never got the time to read through it, but aside from ads it looks decent
Ludovic 'Archivist'
POCO 👌
Can the paid version handle more than a pathetic trickle of request? Last time I used the open source version, it was slower than literally any alternatives I could find, including python's Flask, Php/Apache...
DaviChan
there is a paied version of POCO?
DaviChan
i never knew. So far the throughput for me has been good enough for my microservices and REST backends
DaviChan
didn't notice any bottleneck there. But I also try to minimize the utilization of any ip comms or read/writes in general
DaviChan
But i also didnt run benchmarks and compared it to other solutions
Simple Sorcerer
I don't see why would you tbh
C++ or Java. C++ Only if optimization is needed. I don't see anything wrong with that
Simple Sorcerer
Everything fits the task
Nathaniel
I can't get past loops in C programming. Syntax isn't a problem for me. Any advice for a beginner?
Nathaniel
what is the issue then?
Problem solving. Are there tips that can help me as a beginner. I have reread C.N king book more than three times up to loops and the issue still persist.
Ludovic 'Archivist'
I can't get past loops in C programming. Syntax isn't a problem for me. Any advice for a beginner?
Let's start from a theoretical standpoint, what is a loop and what does it solve? Could you make a diagram explaining euclidian divisions and show the loop in a different colour. No C, just instructions in plain English?
Ludovic 'Archivist'
You are now muted, await your sanction at the end of time
Ludovic 'Archivist'
I understand loops to be a tool for iteration and repetition. On your second question, no I can't. I don't have a solid foundation on maths.
I mean, if you do not have elementary school level of maths, it will be very hard for you to understand even basic concepts of computer science
Nathaniel
https://www.cuemath.com/numbers/long-division/
Thanks for this. The thought of revisiting my college algebra has been on my mind for a while. Is there any math topics I should focus on. Thanks. Ps. I have no background in CS.
Vlad
I understand loops to be a tool for iteration and repetition. On your second question, no I can't. I don't have a solid foundation on maths.
Loops are the key for anything interactive beyond just calculating 2+2 and printing the answer
Vlad
Even the scanf to get your input number is done via loop
Ludovic 'Archivist'
Thanks for this. The thought of revisiting my college algebra has been on my mind for a while. Is there any math topics I should focus on. Thanks. Ps. I have no background in CS.
Listen, if you do not have elementary school math level, don't go around and try to learn calculus, you need to work your way up from scratch
Vlad
That's possible but unlikely if he's older than 10 years old
Ludovic 'Archivist'
That's possible but unlikely if he's older than 10 years old
At what age do the slavs learn long division? here that's like around 9yo
Vlad
Although I didn't really get it until I was 10 or smth
Ludovic 'Archivist'
Is it my teacher's mind that anyone that followed elementary school and above 14yo should be able to explain long division or are my expectations misguided?
Vlad
Otherwise they might have to unravel suppressed childhood memories
Nathaniel
If they were in school/uni recently yeah
I'm actually in my final year in university. I just intend to change career path.
Ludovic 'Archivist'
If they were in school/uni recently yeah
Your words fill me with dread and sadness Russia-boy
Ludovic 'Archivist'
Ludovic 'Archivist'
I aint ruzzia boy sorry
I am then ignorant of which slavic dominion you hail from
Ludovic 'Archivist'
I will go back to my giant state machine and reflect upon the lack of culture in the universe
Vlad
I am then ignorant of which slavic dominion you hail from
> dominion It's really starcraft 1 level of violence in there too
Ludovic 'Archivist'
> dominion It's really starcraft 1 level of violence in there too
Well, remember that it was the slavs in SC1 as well
Vlad
I know it as long division.
Can you describe it as an algorithm?
Vlad
What steps do you do?
Ludovic 'Archivist'
Yes. Jimmy is a slav 100%
I meant the UED leadership
Ludovic 'Archivist'
Stukov and co
Ludovic 'Archivist'
In the plot the entire Koprulu sector is a gulag where the UPL state police sends people that like freedom a bit too much, but that is very OT
honored
Does anyone know he implementation of in the program for example I want to send a list (p rho) to a function here p itself is a list and rho is a constant value in c programs
Pavel
Does anyone know he implementation of in the program for example I want to send a list (p rho) to a function here p itself is a list and rho is a constant value in c programs
You mean you want to overload the || operator for your list? Try this https://www.geeksforgeeks.org/operator-overloading-cpp/ And more technical info here: https://en.cppreference.com/w/cpp/language/operators (note that overloaded || are not short-circuited). If you don't want || be interpreted as a spoiler by telegram put it in double `
honored
No it is in the written algorithm they have noted it for some concatenation operation ( | |)in algo but I don't understand how to implement it (I am writing a hardware level code for cryptography which wants it to be very fast and all) in c language
Ludovic 'Archivist'
Arrays mostly decay to memory addresses
Ludovic 'Archivist'
Vlad
Unless you have a phd in it
Vlad
Which I think you don't possess
honored
You NEVER write your own crypto
Bro I am given a algorithm made by a professor to work on.
Vlad
Bro I am given a algorithm made by a professor to work on.
Ok, so it's an assignment and it will not go into production
Abbasi
It depends what kind of cryptography is meant I suppose.
Abbasi
You can do a lot with things like bit manipulation
Abbasi
oh I missed sth
Vlad
You can do a lot with things like bit manipulation
As a teaching exercise yeah, just don't put it on the internet
Abbasi
For instance TEA is a simple algorithm for that
Ludovic 'Archivist'
You NEVER write your own crypto
Yep, always steal it from OpenBSD's source code
Vlad
https://github.com/MaJerle/c-code-style
Eng Ali
yes ask me
Pavel
Unless you have a phd in it
Or it is a university assignment (pretty sure it is in this case)