Qwhesi
But is there a particular website address that I can download the distro from
Francisco
I think you should choose language that you like and want to learn :D There is no “the best way” in programming, there is only practice, a lot of practice
Hell no! Programming machine learning models or deep learning neural networks in C++ must be hell itself. At best, you can look for some framework that does the job, but don't risk your sanity doing it all by hand. Btw, scikit-learn is easy to use and works quite good
Francisco
Always use the right tools for the right job
void
Oh, I don't really think so. In my opinion it's a good practice to write your own ML program from the basics and to understand how does it work internally
Francisco
Oh, I don't really think so. In my opinion it's a good practice to write your own ML program from the basics and to understand how does it work internally
I deeply disagree with you. There's lots of maths and statistics behind those models that you'll need some months or even years to really understand them
void
But as I mentioned earlier, it isn't the fastest way and in addition it isn't the right way if you just need programm and don't want to know a little bit more
Francisco
I'm doing maths and computer science at college, and trust me, it's not worthy spending that much time understanding them. In the end, you just end up trying many models and select the best one
void
Maybe ¯\_(ツ)_/¯ But I like to learn a lot of compicated topics :D I think we're completely in the opposite camps about it
Francisco
I like learning too, but in the case of machine learning, the real important part is the practice. Theory is okay to set a solid base, but rarely you'll need to understand it. Use your time wisely, it's not unlimited
Zorrito
Is it possible to store lookup tables in the instruction part of the L1 cache?
James
how can I express the positive infinity number in c++?
Mahbøøb
Hi
Mahbøøb
Guys anyone know about Data structure. ?!
01000001011011010100000101101110
Yes?
01000001011011010100000101101110
how can I express the positive infinity number in c++?
std::numeric_limits<ull>::max();
01000001011011010100000101101110
Setting an int to Infinity in C++ https://stackoverflow.com/q/8690567/8258801
Cetshwayo
Mihail
From there you can make a std::filesystem::recursive_directory_iterator
Mihail
And then use a range-based for while checking the extensions
professor
what about the unicode ?
professor
for example chinse or russian based language ?
n1coc4cola
can someone help me to improve my project by helping me or put me on the track of a mail receiver system?
Mihail
nicolas B: http://github.com/N1coc4colA/mails
n1coc4cola
I use Qt
n1coc4cola
And I found nothing serious about this question and how to use the IMAP and/or POP3 systems to receive mails...
Rashi
#include<studio.h> int main(){ float a,b; b=a+6.5; a=2.3; printf("a=%f b=%f",a,b); return 0; } Hey. I need a help with above question. Here b's definition is containing a , a being defined after b. On compiling result getting printed is a=2.3 b=6.5; Can anyone tell me why is this output getting generated. According to me , error should be there
Nikolas
a is defined after b but it is decladed before
Nikolas
so, it exists and it is valid to use it
Nikolas
just, do not rely on it being 0. Its value is undefined and in your case it is 0 but it is not guaranteed
Mihail
also yes a can be anything if you don't initialize it
Rashi
there is no header studio.h it's stdio.h (standard I/O)
Sorry. Ignore that typing mistake please .
Nikolas
<source>:5:4: warning: 'a' is used uninitialized in this function [-Wuninitialized]
Nikolas
this is the warning you get if you compile with the right flags
Rashi
But I am not getting any warning either
Rashi
No error ,no warning , output is getting generated smoothy and getting printed
Nikolas
you are not usign the right flag. If you use -Wall you will see it
Nikolas
The actual one that catches that particular case in "-Wuninitialized"
Nikolas
but I suggest you to use -Wall
Rashi
I have no idea what Wall or right flag is. I would search about it . Thanks .
un_known_
Why am getting error to execute this statement in CPP sum=n\2(2+(n-1))
Jussi
How would you guys write a program that needs to run different functions with different intervals in C++? I was thinking about some sort of loop that checks if the time interval has passed, and store the function pointers with their desired intervals in a struct with some timestamp when they have been executed last
Jussi
Also some sort of signaling would do it, but what would be the best way to do this in C++, I think that my way is a bit C'ish
klimi
If I were to do so I would calculate time till next event and sleep till that, but what's the c++ way ... Idk
Mihail
and if you want to time it precisely you'd be using std::chrono
Jussi
I was also thinking about something like a function that takes the function pointer and then launches a new thread which sleeps until the given time and always calls that function
Mihail
but why do you need to run diffrent functions with n interval?
progmatic99
How do you differentiate the code being c'ish or c++?
Mihail
How do you differentiate the code being c'ish or c++?
i guess he wants to avoid function pointers
Mihail
but i don't see why and there's std::function
Jussi
It is a kind of a surveillance program lol, take screenshot at a user-defined interval, send logs to server every n minutes etc
Jussi
void timer_start(std::function<void(void)> func, unsigned int interval) { std::thread([func, interval]() { while (true) { auto x = std::chrono::steady_clock::now() + std::chrono::milliseconds(interval); func(); std::this_thread::sleep_until(x); } }).detach(); } I found this from internet, it looks pretty good, just have to figure out how to end/change the interval of already-made periodic function call
Jussi
not really
Jussi
I'm not writing a virus
klimi
Spyware
Jussi
No
Jussi
Control software
klimi
Hm
klimi
Just virus?
Jussi
:DDD
Jussi
NO
klimi
Hm
klimi
Controlling the user... Sounds like windows