When did AVG become so shit?
I used to swear by it and now it corrupts windows?
Apparently it has since win10's inception and hasn't been fixed.
So now I'm switching.
avira or avast?
Kommen Einsicht 2017
>>59779591
I switched to Avira, the popups got annoying.
All consumer anti-virus programs collect user data outside of the scope of telemetry. Their privacy policies are harrowing to read - so much for protecting when the very program meant to guard is itself malware and rootkit. I recommend common sense, which should eventually lead you to Linux.
my goal is to count the number of 1 bits in an input.
The inputs are done in C, just have to write the asm.
I think I have the counter done I just don't know what to do from here...
Currently it runs but there is no output.....
Here is my asm:
.CODE ; contains our code
isBitCountEven PROC PUBLIC
PUSH ebp ; save caller base pointer
MOV ebp, esp ; set our base pointer
SUB esp, (1 * 4) ; allocate uint32_t local vars
PUSH edi
PUSH esi
; end prologue
MOV al, [ebp + 8]
AND al, 1 ; convert to binary
;now walk down the variable and count the number of 1
SHIFT:
SHL al, 1
JNC SKIP
INC ebx
SKIP:
loop SHIFT
FINALE: ;see if it adds up to ebx
CMP ebx, 2
JE TRUE
CMP ebx, 4
JE TRUE
CMP ebx, 6
JE TRUE
CMP ebx, 8
JE TRUE
JMP FALSE
TRUE:
MOV eax,1
POP esi ; start epilogue
POP edi
MOV esp, ebp ; deallocate locals
POP ebp ; restore caller base pointer
RET
FALSE:
MOV eax, 0
POP esi ; start epilogue
POP edi
MOV esp, ebp ; deallocate locals
POP ebp ; restore caller base pointer
RET
isBitCountEven ENDP ; end the procedure
END isBitCountEven
here is the C/C++
//--------------------------------------------------------------------------------------------------------------------
#include <stdint.h>
#include <stdio.h>
#include <iostream>
using namespace std;
extern "C" {
bool isBitCountEven(int32_t);
}
static int32_t testData[] = {
0x0,
0x1,
0x2,
0x4,
0x8,
0x40000000,
0x80000000,
0x00000002,
0xe,
0xff770001,
0xffeeeeff,
0xdeadbeef,
0xbaddf00d,
0xd00fefac,
0xfaceecaf,
0xffffffff,
0xaaaa5555
};
#define NUM_TEST_CASES (sizeof (testData) / sizeof (*testData))
int main()
{
printf("ICE#10 \n\n");
for (int i = 0; i < NUM_TEST_CASES; i++) {
printf("isBitCountEven(0x%8x) yields: %s\n", testData[i], isBitCountEven(testData[i]) ? "true" : "false");
}
system("PAUSE");
return 0;
}
Pop a popcnt in there.
>>59779473
what does that do and where? we haven't learned that...
>>59779488
>POPCNT — Return the Count of Number of Bits Set to 1
http://www.felixcloutier.com/x86/POPCNT.html
Would you pay $2000 for a Haswell laptop with no dedicated graphics /g/?
>>59779295
>>59779295
you can get a kaby lake xps with better specs for that price
Yes, because its not a gaymen rig. I'm not looking for 14444444Hz 128k gameplay.
>>59779453
This autistic pajeet humor will never be funny.
** Life is so bitter, all my friends are sour, my girlfriend is a whore, my life is misery **
This is my impression of myspace classic and this is a myspace thread.
^_^ Any of you guys watch the new ep of scandal? I really want to try this at school tomorrow XD
>>59779188
I mean, settle down guys, I didn't know she was a whore until she started yelling in public that I called her whore many times.
>>59779220
I was as surprised as you are!
Hi /g/,
Do you think Safari will ever play .webm? Why doesn't it already?
money
Not until Apple invents moving images with sound.
apple doesn't want to pay licensing fees so they fuck over their users.
incidentally I just switched to ungoogled-chromium last week after using mostly Safari for ~4 years.
safari's 10.1 update introduced a bug where, whenever I drag anything, the page crashes and has to reload. and of course there's no easy way to roll back because apple.
Why would you use anything but Arch on your personal machine? If your computer isn't used solely for work there's no reason not to install the best distro. You are literally a drooling fucking retard if you run anything else on your personal computer.
because im not an autistic hobbyist retard who wants to waste time setting up operating systems when my current one does everything i need already
> If your computer isn't used solely for work there's no reason not to install the best distro
Which is precisely why I'm not using Arch. Because it's not the "best" distro except for being a hobbyist who can't figure out how to use Gentoo.
>>59779096
Because I want my machine to just work. I don't have time for dealing with drivers
>Try to get Stock quotes from Yahoo finance, google finance, morning star to put into LibreOffice Calc™®© spreadsheet
>Literally not possible to do
Who even uses this shit at this point. Why is it so bad?
>>59779064
No one's fault you are incompetent
>>59779082
Hi! Few things to start off with =] 1. Yes I added you because you're a female gamer, 'tis an awesome thing to see! 2. I'm Brian. 3. Don't be intimidated, but I'm not a stereotypical guy. If anything, I'll be the one in the kitchen =D
>>59779082
Sorry not everyone is a transvestite like you
>Tfw go to a tech site nowadays
>download our free app for a better experience
>anti-malware site
>has malware
inb4 hurr windows
>>59778918
>tech site
Garbage
>>59778958
I thnk that's his point, it wasn't always THIS bad.
>command prompt window appears for a split-second
usoclient.exe
yadungoofd
>>59778882
>MRxNet
>MRcls
>lsass.exe x2
Old thread: >>59775004
What are you working on, /g/?
first for trap love
Fuck off, tranny
>>59778843
nigga you ghey
I hope this is at least better than Mr Robot
it wasn't
it was ok
except the Muh Obama
and the retarded romance scenes
also there was barely any tech in it at all, and the stuff that was so normie tier dumbed down it was fucking stupid
JGL voice was fucking crazy too, like it was a good inpersonation, but it was just jarring seeing his face, and you know what his normal voice sounds like, then hearing his snowden voice come out.
Citizenfour was way better
ITT: /g/ characters
>>59778765
The queen of /g/ characters
>mfw there's no AMD GPU that's comparable to a Nvidia 1070/1080
wtf when did AMD become so shit? Im tired of Nvidia and wanted a good AMD GPU
>>59778720
RX 480 is AMD's 14nm pipe cleaner product. Vega is probably being released at COMPUTEX Taipei in June.
then ati got bought out and went full poojeet
Get a sapphire r9 fury for $250
so, what is some practical, cool, shit that can be with with ml/nlp/ai/etc.?
examples of cool things done?
You can shit your pants with one? That's pretty cool
>>59778647
MUH DICK
>>59778647
Her dress looks like a penis
What kind of black magic is this shit???
Why can they see text on this clear piece of glass while we can't???
Explain this bullshit /g/!
Because it's just a reflection of a screen on the floor
Half silvered mirror
>>59778653
But why can't the people behind the screen see the text????
There's something very fishy going on and we need to solve it.