Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TonyTrapp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
TonyTrapp
1y ago
For reference, the quote is "I'd say maybe 20%, 30% of the code that is inside of our repos today and some of our projects are probably all written by software" Microsoft has humongous amounts of source code in their reposito
62.
▲
by
TonyTrapp
1y ago
As much as I'd like to also dunk on them because of their AI nonsense, this keeps being misquoted again and again. He said that about 20-30% of their code is written by software . If someone like Satya says "by software" and
63.
▲
by
TonyTrapp
1y ago
Code segments are not writeble by default on Windows, like on any modern OS, but you can make any memory segment in your own process writable using VirtualProtect. That is not unique to Windows as well, on Linux you could achieve the same w
64.
▲
by
TonyTrapp
1y ago
I signed up for domain search when it was still free. It requires verifying an email address that you shouldn't have access to, unless the email service in question is not set up according to RFCs.
65.
▲
by
TonyTrapp
1y ago
I used to have a primary email address as well (which occurs in several HIBP breaches). I never gave it up, I still have it to this day for sending personal mail. However, I started using service-specific email addresses (e.g. hackernews@ex
66.
▲
by
TonyTrapp
1y ago
example@example.org is at 65 breaches. Fun!
67.
▲
by
TonyTrapp
1y ago
I think there was an earlier blog post from Troy sometime ago describing that HIBP never stores unencrypted email addresses; i.e. they are all hashed and any lookups go against the hash, not the actual email address.
68.
▲
by
TonyTrapp
1y ago
And more specifically, "-lang qb" is more or less how FreeBASIC started out. The more modern dialects came later, and became the default, hence the addition of "-lang qb".
69.
▲
by
TonyTrapp
1y ago
I think FBEdit was the closest to that, but like with most other languages, it never reached the same level of integration and quality because forms are simply not first-class citizens in FreeBASIC, unlike VB where the whole development pro
70.
▲
by
TonyTrapp
1y ago
I'm not just thinking of trust in terms of whether the device will tamper with the data, but also stuff like: What happens if you just put the parcel in the locker and in that exact moment the internet connection cuts out? Normally the
71.
▲
by
TonyTrapp
1y ago
They always had internet access. Of course it is possible that they decided to rip out the internet connection in the new models together with the touch screen, but I heavily doubt that they want to trust the internet connection of a random
72.
▲
by
TonyTrapp
1y ago
> Are you sure that the locker has an Internet connection? Let's put it like this: The old ones (with a display) definitely do, because they can send email notifications. I would be very much surprised if the new ones didn't. T
73.
▲
by
TonyTrapp
1y ago
Reminds me of DHL parcel lockers in Germany. The new ones don't have a screen anymore, so you are forced to use their app to use the locker, which somehow requires both a working bluetooth connection to communicate with the locker, AND
74.
▲
by
TonyTrapp
1y ago
Great article! If you think it has too much detail, you probably selected the wrong mipmap level for it ;)
75.
▲
by
TonyTrapp
1y ago
It looks looks mingw actually has several options to base its own CRT on (including MSVCRT, UCRT and various VS runtimes). Still, in the context of OP's original post, we are talking about the mingw DLLs that may or may not redirect mo
76.
▲
by
TonyTrapp
1y ago
Note that the project is using mingw, so it's not using any Microsoft DLLs for the CRT anyway. mingw brings its own CRT along.
77.
▲
by
TonyTrapp
1y ago
This code is not from the Petzold books. It literally includes and uses string.h, stdlib.h and time.h. It is not using WinAPI equivalents of C functions.
78.
▲
by
TonyTrapp
1y ago
I really didn't want to get into the specifics, because the situation is already complex enough without MSVCRT, but: Yes, it is. If you wanted to do a size-optimzied version of this particular program, it would be a good enough choice.
79.
▲
by
TonyTrapp
1y ago
Regarding your edit: the CRT is responsible for headers such as time.h and string.h, which you can find being used in todo.h. Their implementations are not provided by the operating system but by the C runtime typically supplied by the comp
80.
▲
by
TonyTrapp
1y ago
The important thing in the context of the original question is that mingw uses its own C runtime (MSVCRT is old and incomplete - you would not be able to use it as a drop-in replacement for a modern CRT). You can link the mingw CRT statical
81.
▲
by
TonyTrapp
1y ago
Some people value being able to support older OSes without shipping the entire UCRT as an optional component. Granted, this will become less and less relevant in the future...
82.
▲
by
TonyTrapp
1y ago
The CRT is not part of the operating system, unless you count the UCRT on Windows 10 onwards (yes there is also a MSVCRT copy in the Windows folder that Microsoft strongly discourages you from using, so let's ignore that for now). So u
83.
▲
by
TonyTrapp
1y ago
That seems backwards. If you need to ship the DLLs with the program anyway (they are not part of the operating system, after all), they will contain their full functionality, each one potentially with its own C runtime, etc. If you statical
84.
▲
by
TonyTrapp
1y ago
For you, it's writing scripts so that things work the way you want. For the author, it's writing scripts to be able to use the computer at all . And how would that work if you have to write the scripts in a state the computer doe
85.
▲
by
TonyTrapp
1y ago
> Completely on your side, just wondering how far back do we go? The main difference is probably that many people had a C64 in their bedroom, so there's a lot of childhood nostalgia involved. Fewer people probably had a mainframe co
86.
▲
by
TonyTrapp
1y ago
GTA 3 triology = GTA3, Vice City, San Andreas
87.
▲
by
TonyTrapp
1y ago
None of the Acid House samples have anything to do with Acid House either. The Jungle samples sound more like Liquid Drum & Bass.
88.
▲
by
TonyTrapp
1y ago
A HTML color hex code does not use all available bits in a byte but has a strict format. It's of the form #abc, where # is fixed and abc are hex digits (0-9 A-F), one for R, G, and B. Thus, each channel has 4 bits of precision. PS: ASC
89.
▲
by
TonyTrapp
1y ago
Just to be clear, this isn't a note from the Debian maintainers, but from the company that runs a mirror for various projects.
90.
▲
by
TonyTrapp
1y ago
See also this classic: "Source Code Disclosure of every possible project" on the Mozilla bugtracker: https://bugzilla.mozilla.org/show_bug.cgi?id=949446
More ›