Anonymous
how do i get allowed ?
olli
you are allowed to read memory from your stack, or to read the allocated area returned by e.g. malloc
Anonymous
cause the os had made save precaution from malicious code ?
V
I have a piece of code in c++ for user interface on linux. Webkitgtk is used in that code and it works fine for ubuntu. But when i run the same on fedora 29 it wont. I found that webkitgtk has some dependencies for ICU(international components for unicode) library and this is the reason behind the issue. On fedora 29 there is no library namely libicu. Could anyone please help me to find out the  alternate library for ICU which is available on fedora 29?
olli
cause the os had made save precaution from malicious code ?
in many cases you don't get access to the phyiscal address of the memory anyway, your hardware detects illegal access and notifies the OS which then likely terminates your application
V
https://apps.fedoraproject.org/packages/libicu-devel ?
https://koji.fedoraproject.org/koji/packageinfo?packageID=25881
olli
such as ?
on Windows one can use SetWindowsHookEx, CreateRemoteThread, ReadProcessMemory and WriteProcessMemory On Linux one might use ptrace
Jussi
You can also do it from kernel level using RtlCopyMemory or MmCopyMemory, thrn solve the problem how to load the unsigned driver properly
Jussi
There it is easier to do it from kernel
Jussi
But I think on linux you are not writing game hacks, are you?
Jussi
Wdym?
Anonymous
such as dirty cow maybe.
Jussi
Mmmh depends on use case I guess
Jussi
Try to search for tools on how to write to userland process memory from a kernel driver
Jussi
Shouldnt be hard on loonix
Anonymous
Shouldnt be hard on loonix
haha, why you dont linux ?
Jussi
I do
Abel
Hey everyone, I know this question will probably get me alot of hate but I think I will just go ahead and ask anyways... What is the best way to prepare for programming competions? I am in my 2nd year at Uni and I just started to take my DS&A course this year, it was pretty interesting. But now I want to go a step further and challenge myself with competitions... how did you guys start and what do you guys suggest I do to get into the world of competitive programming?
Dima
Imo instead of doing stuff in competitive programming it's better to find a job
Anonymous
Ανδρέας 🇮🇹
Anonymous
no it's hex
Ok i got it
Mad Software
I am human
Dima
Mad Software
Hi
Mat
Hi
Hey :)
S
Can someone send me links of programming groups
S
Lol
Anonymous
What will be the output of this pseudocode for n=2? Int fun(int n) If (n EQUALS 4) return n else return 2 * fun(n+1)
Errol
Hi, can somebody take a look at my code, i don't know what's wrong. Please pastebin.com/HRV8EA17
So the code compiles now. But the problem that i have is that i can't use the counter inside my for loop when listing players. I don't now how! I tried tweaking it like: printf("Player %i : ", &i); ...but unfortunately it gives me strange numbers
Errol
I'm referring to line 36. I want to loop that with the counter. I want the output for example to be: Player 1: Player 2: ..etc.
Errol
This is the output. And i spotted another bug, as you can see the first prompt “Player: ” is skipped, i don't know why
Errol
I want to prompt the user to enter numbers between 4 and 12, not below or beyond these numbers, otherwise re-prompt until a valid number.
Errol
Oh OK this one works now, thanks!
Errol
No, not really. So any idea about that skipped first prompt?
Anonymous
/mln Mn b
Anonymous
Guys, I would like to know good framework models for generic c programming. Using function pointers, threads, etc.,
Dima
I'd recommend you taking a step forward to cxx for such stuff, but if you are more into this just read some litrature
John
Hyr guys
John
Im new in c#
John
Totally new
John
I need an advice...how do i can learn c# effectively
𝕊𝕒𝕟'𝕒𝕥𝕓𝕖𝕜
hi
𝕊𝕒𝕟'𝕒𝕥𝕓𝕖𝕜
everyone
huluhulu
hi
𝕊𝕒𝕟'𝕒𝕥𝕓𝕖𝕜
how are you
𝕊𝕒𝕟'𝕒𝕥𝕓𝕖𝕜
where are you from
huluhulu
China
huluhulu
And you?
𝕊𝕒𝕟'𝕒𝕥𝕓𝕖𝕜
im from uzbekistan
𝕊𝕒𝕟'𝕒𝕥𝕓𝕖𝕜
do you know programming on c++
𝕊𝕒𝕟'𝕒𝕥𝕓𝕖𝕜
??
huluhulu
huluhulu
Oh,sorry.I'll go to sleep,it's too late for me
𝕊𝕒𝕟'𝕒𝕥𝕓𝕖𝕜
ok
𝕊𝕒𝕟'𝕒𝕥𝕓𝕖𝕜
good night
huluhulu
bye~
𝕊𝕒𝕟'𝕒𝕥𝕓𝕖𝕜
if someone is able to give me advice about c++ book tell me please best books
𝕊𝕒𝕟'𝕒𝕥𝕓𝕖𝕜
bye~
👍
BinaryByter
HI 帅
Anonymous
Hello
Mihail
Hi
Mihail
INDIA
You seem to have forgotten your caps lock on
Saurabh
I want to ask one stupid question This is the question https://www.hackerearth.com/practice/data-structures/arrays/1-d/practice-problems/algorithm/digitial-sequence-ee0ea080/description/ And this is the solution https://pastebin.com/x69N2EV0 Can anyone tell which algo is applied on the question ? And solution follows which algo This is dynamic programming ? Or solution uses hashing technique ?
j
https://gist.github.com/rexto/5dcf0fd549bdd439c038dfc6ce205824