Hacker Newsnew | past | comments | ask | show | jobs | submit | CodeHz's commentslogin

Actually, it won't compile in msvc (the linking phase, to be precise), MSVC uses different names for methods with different visibilities


Windows do have this API, NtDeleteFile, AND it could be used to delete current running exe. https://twitter.com/jonaslyk/status/1345167613643661312 but it is undocumented...


Funiest thing is, in win11, the notepad use RichEdit again (but use winui's richedit control, not win32


from https://devblogs.microsoft.com/math-in-office/richeditd2d-wi...

"The Windows 11 Notepad uses the RichEditD2DPT window class with a recent Microsoft 365 RichEdit."


no, you can do it by define SQLITE_DEFAULT_FOREIGN_KEYS=1 while compiling sqlite3


”You can set it before compiling” is such a foreign concept to the real world that it’s almost meaningless, if that is the only way to change the behavior it’s pretty crazy.


I generally agree when it comes to standalone software, but not for libraries.

SQLite is both.

Setting a compiler flag is reasonable for the common case where it is included as a header file in a C/C++ application.

It is certainly inconvenient when you design with that feature in mind, but can't rely on it being part of the standard binary distributions.


Many applications use SQLite as an embedded library; that's how it's intended to be used anyway.

It doesn't really jibe all that well with things like Python though, where you typically don't do that. But it's certainly not a "foreign concept" or "almost meaningless".

For e.g. Python you can still just set the desired parameters when connecting, which should usually be handled by the database connector/driver for you.


Btw, you can even run a executable file which has been renamed to any extension (.txt or .whatever) in command line. (See PATHEXT env) It just recognized by the explorer (and shellexecute api’ third parameter). So that’s mean all files have “executable” permission by default.


Maybe it just a transparent div that blocked all the pointer events?


it could come from a template function which don't have a sfinae branch (or `if constexpr (std::is_empty<T>::value)`) for empty type


You could try adguard (android version), but it is paid.

And the biggest problem is most of sites are already upgraded to https, it needs MITM attack, but lots of applications won't accept any user certificate... (so adguard needs be installed to let those apps bypass its proxy, that's mean, you cannot just host a central proxy server to filter all ssl traffic)


BTW, the GitHub mobile app rendering them correctly (since it doesn't use html)


Tested on: Steam (search box), Apple (icloud), Minecraft (both server and client, just type PoC in chat box) (Tip: use dnslog to test(no payload), so it should not cause any problems)


Just tested and I can confirm it also works on samsung cloud storage and all Naugthy dog games. This is going to be big.

(also could not reproduce on iCloud, what url did you use?)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: