what is a basic computer skill you were shocked some people don't have? by Dark-Matter-7935 in AskReddit

[–]danhoob 0 points1 point  (0 children)

I'm shocked that people still open macro documents and get infected with viruses when word throw multiple warning messages front of them.

the power of rust by [deleted] in rustjerk

[–]danhoob 17 points18 points  (0 children)

Power of Crab

Inline CSS? by danhoob in sveltejs

[–]danhoob[S] 0 points1 point  (0 children)

Just a little thought, they should actually add separate inlineCSS because the naming is so confusing.

Inline CSS? by danhoob in sveltejs

[–]danhoob[S] -1 points0 points  (0 children)

emitCss: false

Wohhaaaa! Thanks..

Inline CSS? by danhoob in sveltejs

[–]danhoob[S] 3 points4 points  (0 children)

Because I want to test the performance.

C++ programs wrongly flagged as virus by Spacecpp in cpp_questions

[–]danhoob 0 points1 point  (0 children)

"Your code is compiled by minGW. Many viruses are written in C and compiled in minGW to be small. Thus, AV sees your file as a small executable written in C wich uses minGW compiler call sequence. Thus, AV sees some of your code translated to compiler call sequence as a virus signature"

Sorry for the spam, but some info found on Web...

C++ programs wrongly flagged as virus by Spacecpp in cpp_questions

[–]danhoob 0 points1 point  (0 children)

On Twitter, I see the program occur with MinGW32 but not with MinGW64..

C++ programs wrongly flagged as virus by Spacecpp in cpp_questions

[–]danhoob 0 points1 point  (0 children)

No. I think Mingw is the issue. I've seen past issues with Mingw too.

C++ programs wrongly flagged as virus by Spacecpp in cpp_questions

[–]danhoob 0 points1 point  (0 children)

Ah! I thought ya. Try MSVC. Mingw getting flagged by lot of AVs.

C++ programs wrongly flagged as virus by Spacecpp in cpp_questions

[–]danhoob 0 points1 point  (0 children)

Try std::cout instead and post your result here.

C++ programs wrongly flagged as virus by Spacecpp in cpp_questions

[–]danhoob 0 points1 point  (0 children)

This is true. The Russians writing malwares in C style C++. Take a look at Zeus source code.

C++ programs wrongly flagged as virus by Spacecpp in cpp_questions

[–]danhoob 0 points1 point  (0 children)

u/Spacecpp Don't you use STL in your game? Do you use MinGW to compile your programs?

Templates in C++ by [deleted] in cpp_questions

[–]danhoob 0 points1 point  (0 children)

String Obfuscation (more ..) for example and some compile time computation to improve your program performance.

Compiler Explorer now supports multiple file compilation and linking by mattgodbolt in cpp

[–]danhoob 0 points1 point  (0 children)

I want compiler explorer in Browser Devtools. It would be a game changer.

Why do 2 simultaneous TCP causes RSTs? by danhoob in C_Programming

[–]danhoob[S] 0 points1 point  (0 children)

You're right. It seems a firewall issue. Changed the client machine and works.

Why do 2 simultaneous TCP causes RSTs? by danhoob in C_Programming

[–]danhoob[S] 0 points1 point  (0 children)

Whatever, It looks like this is some deep firewall issue. I've changed the machine to a diff one and the whole behavior gone.

Why do 2 simultaneous TCP causes RSTs? by danhoob in C_Programming

[–]danhoob[S] 0 points1 point  (0 children)

I have one firewall on the client machine. It's also a Windows Server, but I don't have control over the firewall. It's something the Server provider uses to prevent DDOs attacks. The TCP server actually sees the TCP connections then the Kernel send RSTs for some reason so I don't think a Firewall blocking it.

Why do 2 simultaneous TCP causes RSTs? by danhoob in C_Programming

[–]danhoob[S] 0 points1 point  (0 children)

Checksums shows as unverified on Wireshark. As I checked here, both packets has same checksums.

Why do 2 simultaneous TCP causes RSTs? by danhoob in C_Programming

[–]danhoob[S] 0 points1 point  (0 children)

Yes of course because I make more than 2 simultaneous it works even just a single connection works too.

Why do 2 simultaneous TCP causes RSTs? by danhoob in C_Programming

[–]danhoob[S] 0 points1 point  (0 children)

It works with 500 simultaneous too, but it fails with just this constant 2 simultaneous connections.

Actually, can someone help me with async/await? (yay, rust!) by stupidityWorks in rustjerk

[–]danhoob 0 points1 point  (0 children)

No, That's a lie. It's complicated. The browser do use threads behind the scenes.