Kevin
Hello anybody whom can help me with python software 64bit
MᏫᎻᎯᎷᎷᎬᎠ
Is there anyway I could implement serializer/deserializer in C++?
MᏫᎻᎯᎷᎷᎬᎠ
Without the use of 3rd party library of course
Asad
Is there anyway I could implement serializer/deserializer in C++?
is it something that differentiates objects?
Asad
for example when object is converted into the stream of bytes you cannot tell it's type...
Asad
Is there anyway I could implement serializer/deserializer in C++?
anyways, you can write the technique yourself
Asad
and why not use 3rd party libraries?
MᏫᎻᎯᎷᎷᎬᎠ
and why not use 3rd party libraries?
What is the point then I wanna know how it is done
Asad
It's what?!
serialization is converting the object into a sequence of bytes in order to save it in particular form (text file, database or something else) ...
Asad
I meant What I cannot tell its type....
when you save different types of objects in one file, there you cannot tell the difference. i heard that there is a technique to differentiate them separately.
Asad
Boost has such thing
MᏫᎻᎯᎷᎷᎬᎠ
But the heck can someone turn class object into a stream of bytes dynamically
MᏫᎻᎯᎷᎷᎬᎠ
C++ doesn't even has reflections
Anonymous
Omg
Noor
Is there no screenshot program in your computer?
MᏫᎻᎯᎷᎷᎬᎠ
Is there no screenshot program in your computer?
It's "he doesn't have telegram in his pc"
Anonymous
Noor
Sorry i dont install tel on pc
web.telegram.org is handy
Anonymous
web.telegram.org is handy
Thanks. Sorry about that
Bhaskar
how can I copy the content of one file into another
Anonymous
Help me please
first count number of negative and positive elements. then allocate large enough buffers. then store positive an negative numbers into buffers
Bhaskar
fread/fwrite
Can you look into my code
Dima
no
Bhaskar
okay
Anonymous
/warn screen photo
Anonymous
I want to compressing 156KB data in c and decode this data in Javascript How i can do this? With Huffman encoding library or...? And how much data size is reduced?
Anonymous
use gzip
Please send a source, example or..... Thanks And with this method how much data size is reduced?
Anonymous
Asdew
If the data needs to be (de)compressed very quickly, you could use LZ4 or Zstd.
Anonymous
If the data needs to be (de)compressed very quickly, you could use LZ4 or Zstd.
web technologies have access to a fast gzip decompressor
Anonymous
If the data needs to be (de)compressed very quickly, you could use LZ4 or Zstd.
You can send me any example encoding source with lz4 or zstd? If true please send in private Thank you
Sabin
/notes
Anonymous
This is the first time I want to use this method and this method is complicated and one should guide me.
Abdulrahman
#cs50
Anonymous
#imhacker
Anonymous
#impowerfulhekker
Anonymous
no notes sed
Anonymous
I'll guide you: https://duckduckgo.com/?q=Zstd+manual
There is no example for c language :/ facebook.github.io/zstd
Asdew
There is no example for c language :/ facebook.github.io/zstd
https://facebook.github.io/zstd/zstd_manual.html
Anonymous
https://facebook.github.io/zstd/zstd_manual.html
After reading this page I can decompress data in Javascript?
Asdew
After reading this page I can decompress data in Javascript?
This for JavaScript: https://github.com/yoshihitoh/zstd-codec
Artöm
There is no example for c language :/ facebook.github.io/zstd
How do you want to do it? Directly from C? From a terminal?
Anonymous
This for JavaScript: https://github.com/yoshihitoh/zstd-codec
I want compress data in c and decompress in javascript So with this examples I want compress data in c and decompress in javascript?
Nils
std::string jsonrequest = "{\"content\": \"" + std::replace(message.begin(), message.end(), "\"", "'") + ""\"}"; It fails with: stray "\" in program Any idea?
Asdew
I want compress data in c and decompress in javascript So with this examples I want compress data in c and decompress in javascript?
With https://facebook.github.io/zstd/zstd_manual.html you can compress in C, with https://github.com/yoshihitoh/zstd-codec you can decompress in JavaScript.
Anonymous
How do you want to do it? Directly from C? From a terminal?
I have 153kilobyte image rgb data and I should sending this data over wifi For increase transmission speed I want compress data in c and decompress this in javascript
Nils
aah thx
Anonymous
Yes I know that But you can guess on average how much data size reduce? Suppose that half of data is same
Asdew
You'll just have to see.
TearDrop
I'm very confused,what does atomic<>::store(xxx,memory_order_release) mean?, does that means “every” thread can see both the “updated value” and the “side effect” simultaneously if it call atomic<>::load(memory_order_acquire) function with the same atomic variable?
Luca
guys
Luca
c #define MAX_STRINGS_SIZE 1024 int ricercaStringaInElencoIF(int n, char research[MAX_STRINGS_SIZE], char stringhe[n] [MAX_STRINGS_SIZE], int start, int end); int main() { int s=0; int e=0; int i=0; int nstring=0; //start, end, contatore, numero stringhe char sample[MAX_STRINGS_SIZE], string [nstring] [MAX_STRINGS_SIZE]; printf("Quante stringhe si vogliono inserire?\n"); scanf("%d", &nstring); for(i=0; i<nstring; i++) { printf("Inserire stringa\n"); scanf("%s", string[i]); }
Luca
it gives segmentation fault
Luca
and idk why
Luca
i know what segmentation fault is but idk how to solve it
-_-
a
Anonymous
b
Anonymous
c
safwan
anyone knows how to learn about hacking
Dima
no