Marek Knápek (@marekknapek) 's Twitter Profile
Marek Knápek

@marekknapek

Level 33 C++ sourcerer.

ID: 174443885

linkhttps://about.me/marek.knapek calendar_today03-08-2010 23:14:49

2,2K Tweet

230 Followers

819 Following

Grzegorz Tworek (@0gtweet) 's Twitter Profile Photo

Do you remember the story about Polish trains fitted with DRM not allowing 3rd party services to support them? Take a look how it evolves. It's not funny at all. streaming.media.ccc.de/38c3/relive/336

Do you remember the story about Polish trains fitted with DRM not allowing 3rd party services to support them? Take a look how it evolves. It's not funny at all. streaming.media.ccc.de/38c3/relive/336
Marek Knápek (@marekknapek) 's Twitter Profile Photo

Dobrý den UniCredit Bank, posíláte elektronicky podepsané e-maily (technologie S/MIME). GMail, bohužel takové e-maily neumí správně zpracovat. Výsledkem je, že uživatel vidí velký červený vykřičník ohledně neplatného podpisu a může se domnívat, že se jedná o spam.

Dobrý den <a href="/UniCredit_CZSK/">UniCredit Bank</a>, posíláte elektronicky podepsané e-maily (technologie S/MIME). GMail, bohužel takové e-maily neumí správně zpracovat. Výsledkem je, že uživatel vidí velký červený vykřičník ohledně neplatného podpisu a může se domnívat, že se jedná o spam.
Marek Knápek (@marekknapek) 's Twitter Profile Photo

Guess what compiler defines the `__STDC_VERSION__` macro to the value of `202311L` aka C23 and does not understand the `bool`, `true` nor `false` keywords? It is the Visual C++ Microsoft Visual Studio when in `/std:clatest` mode.

Marek Knápek (@marekknapek) 's Twitter Profile Photo

Doing templates in C (macros everywhere). This is new for me: number of sections exceeded object file format limit: compile with /bigobj

Slim Jimmy (@slimjimmy_dev) 's Twitter Profile Photo

DB abstraction is useless for 99% of applications like, how many times have you swapped out the DB? how many times have you done it and it’s been smooth, despite the abstraction? oh, you’ve chosen postgres? now you can’t take advantage of it you’re forced to build against

Marek Knápek (@marekknapek) 's Twitter Profile Photo

Why is everybody hating on Windows? They are maintaining API backwards compatibility for over 30 years. Try using OpenSSL, what a joke. Copy & pasted code from their own documentation does not even compile.

Marek Knápek (@marekknapek) 's Twitter Profile Photo

JavaScript's window.crypto.subtle does not have streaming support. What if I want to hash several GB big file? Should I read it all at once into memory? Who designs these things? They don't even look at existing practice before standardisation. JavaScript is language for babies.

Marek Knápek (@marekknapek) 's Twitter Profile Photo

Heh, for some time already, I write all my C casts like this: geneve_opt* opt; opt = ((geneve_opt*)(opts->m_u.m_bytes)) + opts->m_elements; or like this: opt = ((geneve_opt*)(opts->m_u.m_bytes + opts->m_bytes)); Ugly? Yes! Prone to errors? No! I have been burned in the past.

Marek Knápek (@marekknapek) 's Twitter Profile Photo

Windows kernel experts: I found my machine crashed. Is there bug when disconnecting something? Or is some attacker trying to put a break-point into my computer? pastebin.com/j4sBU4is

Marek Knápek (@marekknapek) 's Twitter Profile Photo

In 2012 Keccak was selected as the winner of the SHA-3 competition. In 2015 NIST approved the SHA-3 standard in the FIPS 202. Windows implements it since Windows 11, version 24H2. Huzzah! Look for the keyword BCRYPT_SHA3_512_ALGORITHM.