Anonymous
nor do you...
BinaryByter
Thats why he won't get anything :D
Silvestr
Guys I have task to sort big file, what linux API I can use to improve performance?
Silvestr
For now I have parallel solution on standard streams
Anonymous
acpi
Anonymous
shutdown
Silvestr
But I heard that file mapping can improve it
BinaryByter
acpi
nice meme :D
Wim
sort --help?
Anonymous
sort.exe not found
Silvestr
I need to write a program
Anonymous
#/bin/bash sort ...
Anonymous
done
olli
Dima
#/bin/bash sort ...
stop bullshiting please okay? good, good
Man
hi all sorry to ask this question ..just need help if there is a windows troubleshooting telegram.i found in spainish language not english ..again sorry .if have can share to me ..
Man
tq sir
Anonymous
Dear Mr Dima https://github.com/neurobin/shc
Dima
k.
Pro
I'm not a robot
Pro
Ok
Anonymous
How to study the language c++
olli
How to study the language c++
By writing code and practicing
Anonymous
Any books to studyc++
olli
Any books to studyc++
Here is a list of good C++ books https://stackoverflow.com/a/388282
olli
2 -16 GB, unsigned integers
Depending on your context and enviroment you might want to consider some kind of external sorting [1]. (Maybe let your OS handle the paging part and don't write to disk manually) If you are sorting a data-set of some complex structure by a unsigned member (and not an array of numbers) it could make sense to sort pointers to these entries instead, since this would avoid copying these entries multile times. [1] https://en.wikipedia.org/wiki/External_sorting
Anonymous
😊
Anonymous
It's legally not unauthorized
professor
Any idea at the code level https://stackoverflow.com/questions/56248247/move-running-exe-to-new-location-without-waiting-for-reboot ?
Dima
Why would you
Anonymous
I'm not a robot
are you da real rebot
Anonymous
@BinaryByter
Anonymous
/ot C++ is great /s
Dima
Lol
Oluwaseyi
Silvestr
Just need to clarify
Silvestr
I -Frame have constant time sending
Silvestr
I mean it sends only in some interval?
BinaryByter
constant time is unachievable on a real machine
Francisco
constant time is unachievable on a real machine
Depends on how you define complexity and what are the atomic operations
Ludovic 'Archivist'
constant time is unachievable on a real machine
It is if some criteria are valid, which are: The code fits in l1i cache, the data fits in l1d cache, the CPU frequency is locked, hyperthreading is disabled, all cores but one are disabled, the code uses no system calls, no branch is present in the code
Anonymous
BAGUETTE
Anonymous
/ot constant time is impossible
Ludovic 'Archivist'
/ot constant time is impossible
Not really OT, most software made to be constant timed is made in C++
Mihail
Ludovic 'Archivist'
Thanks @Neko_cpp, I was starting to lose hope in humanity
Ludovic 'Archivist'
About all of those criteria are to be matched in financial softwares like quotation engines
On that topic, the only part that is generally not constant time in such systems is the lookup system that generally uses two hashmaps (and not a single more) which imply less than 2 L3 cache misses each
Ludovic 'Archivist'
On that topic, the only part that is generally not constant time in such systems is the lookup system that generally uses two hashmaps (and not a single more) which imply less than 2 L3 cache misses each
This is made by ensuring some properties of the hashmaps, which are that you can lookup the right data within one line cache and that all of the data fits in one line cache
Ludovic 'Archivist'
This also means that in lots of cases, you can gain stability on the hashmaps by using 32bit mode instead of 64bit mode
Ludovic 'Archivist'
But in general, you can achieve a valid hashmap structure even on 64bit systems
Tolu
says im not allowed to use "prove you're human" button xd
Mat
says im not allowed to use "prove you're human" button xd
You can write ~> You've done what you were expecting to do
Tolu
am i supposed to write it here?
Tolu
I want to ask about a problem which i encountered while studying cs50 week1 on edx
Tolu
dude that was a pastebin link :c
Francisco
dude that was a pastebin link :c
Pass me it in private and I'll repost
Mat
dude that was a pastebin link :c
Sorry about it https://paste.ubuntu.com/p/KXPHVGBVQp/
Mat
dude that was a pastebin link :c
get_positive_int that's a pointer to a function
Mat
get_positive_int() that's a function
Ak47
In which header file main () is declared?
Ak47
Hey
Ak47
Can someone help?
Tolu
get_positive_int() that's a function
yea @fgallego96 also told me in pm just adding () to it solved the problem thank you both
Mat
In which header file main () is declared?
I wouldn't declare the header file for the main file
Ak47
Main is not a keyword so can I use main as a variable?
BinaryByter
though the linker expects the entry function to be called main
BinaryByter
so if you have a variable main, your code will execute the content of the variable as if it was bytecode
Roman reigns
Need bubble sorting pgm
BinaryByter
What is your question?
Mihail
Where Main() is declared?
It isn't and the linker expects you to do that
Anonymous
hello guys I am wondering what c++ does while passing a literal integer to a const int& argument. Does it create a temporary variable and let the internal pointer point to it or something else?
BinaryByter
No