« first day (3102 days earlier)      last day (1848 days later) » 

12:00 AM
One recent, interesting application of graphs is pixel connectivity. You can imagine that neighboring pixels are connected by a graph, for example, a 2D pixel has a 4/8 edges. Now stuff becomes fun you allow pixels from different regions and patches to be connected.
 
The North Carolina stuff? Fortunately I'm in Sweden where there is still some semblance of sanity.
@Mikhail Isn't that the basis for x264 encoding?
 
Somehow doubt it because the techniques are relatively new
For images, the algorithms become "how to best connect the pixels", and connect them in some non-trivial way.
Although AWG is complete bullshit, and most authors perform the so called "inverse crime" (simulating noise, and then removing the simulated noise)
 
12:16 AM
So, how does drawing work under the hood in Win32?
 
 
4 hours later…
3:48 AM
According to this, on 2019 Nov 11, there would be a transit of Mercury.
 
4:37 AM
Am I the only one who is into hard science fictions?
Hard science fiction is a category of science fiction characterized by concern for scientific accuracy and logic. The term was first used in print in 1957 by P. Schuyler Miller in a review of John W. Campbell's Islands of Space in the November issue of Astounding Science Fiction. The complementary term soft science fiction, formed by analogy to hard science fiction, first appeared in the late 1970s. The term is formed by analogy to the popular distinction between the "hard" (natural) and "soft" (social) sciences. Science fiction critic Gary Westfahl argues that neither term is part of a rigorous...
The reason why Star Wars does not appear to me, is because it's not based on hard science.
 
 
3 hours later…
7:30 AM
@TelKitty One can be into hard science fiction and also appreciate softer science fiction. I tend to prefer HSF, but find some softer SF enjoyable as well. That said, I'm not sure I really consider Star Wars SF at all. It's closer to pure fantasy--even with the "midiclorians" nonsense, its single biggest plot element (the Force) has no basis in science at all.
@Mikhail Much of the success of Win32 comes from being able to specify (fairly flexibly) what parts the hardware/driver can handle, and what parts Windows needs to do. As such, unless the hardware and drivers are precisely identical, what happens often varies.
 
@JerryCoffin yo, you didn't answer any questions
 
@Mikhail I did answer the question. The answer is: "it depends".
 
ah, the Standard Programmer's Response #1
 
What drawing do you care about?
 
7:48 AM
Is there any limitation to slingshot entire spacecraft into ozone layer height? Assume you have access to all resources on earth.
 
The standard win32 stuff, so when you have a drawing happening inside BeginPaint how does it actually get rendered by Windows? I assume there is some shared level of indirection that then goes to the GPU drivers.
 
@Mikhail The driver sets up a device description structure: docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/…
 
I have a 'great' idea again :p ... to build a giant slingshot on one of the tallest mountain (i.e K2), then use hot air balloon to transport almost assembled parts onto slingshot. Use the slingshot to launch spaceship another few kilometers. Then use fuel to do the rest.
 
First off, Windows has a unifying driver architecture for nvidia/amd GPUs. So, it passes it off to them. I'm trying to figure out the rendering flow.
 
8:03 AM
Keep in mind that since Vista, you have a compositor. Final drawing to the hardware normally goes through it (and in Windows 10, always goes through it). I believe it always uses the DX 12 pipeline.
 
How does a Win32 program that isn't explicitly directx enter that pipeline?
 
8:20 AM
Well, my tests passed and I have nothing to do. Maybe spread Republican propaganda: youtube.com/watch?v=n-y2ox2HPnc
 
9:11 AM
@Mikhail It just uses normal GDI calls. The compositor traps those, so they render to a buffer. It does the compositing, and writes out the results via DX. I haven't kept close track of all the details though--by the time compositing was routine, I was writing more for the Linux than Windows.
 
9:23 AM
So, if Win32->DirectX (is it user space?) could you grab the DirectX buffer to facilitate viewing a GUI that is paused in the debugger?
 
 
1 hour later…
10:30 AM
How are GMP's mpz_class and mpz_t related?
 
11:10 AM
@TelKitty I like star wars but to me it is a space opera. Just fiction.
 
 
8 hours later…
6:52 PM
what's of the purpose of empty when you have size on a vector
there is literally no difference in the number of character between "!list.size()" and "list.empty()"
 
7:14 PM
it's just API decisions, same thing with contains and count on maps
sometimes doing conversions and other boilerplate for common operations can just be really annoying. Also, code-clarity can sometimes be greatly improved with the more specialized version.
Even without ranges I started just writing wrappers for all <algorithm> functions when I use them on whole collections.
`auto res = std::find_if(my_container_thing.begin(),my_container_thing.end(), func);`
can be so much harder to read in larger contexts than just
`auto res= std::find_if(my_container_thing, func);`
 
7:34 PM
yo wus good
 
8:01 PM
A space gun, sometimes called a Verne gun because of its appearance in From the Earth to the Moon by Jules Verne, is a method of launching an object into space using a large gun- or cannonlike structure. Space guns could thus potentially provide a method of non-rocket spacelaunch. It has been conjectured that space guns could place satellites into Earth's orbit (although after-launch propulsion of the satellite would be necessary to achieve a stable orbit), and could also launch spacecraft beyond Earth's gravitational pull and into other parts of the Solar System by exceeding Earth's escape velocity...
crazy the space gun was almost built, but the guy was killed
Gerald Vincent Bull (March 9, 1928 – March 22, 1990) was a Canadian engineer who developed long-range artillery. He moved from project to project in his quest to economically launch a satellite using a huge artillery piece, to which end he designed the Project Babylon "supergun" for the Iraqi government. Bull was assassinated outside his apartment in Brussels, Belgium in March 1990. His assassination is widely believed to be the work of the Mossad over his work for the Iraqi government. == Early life == Bull was born in North Bay, Ontario, Canada, to George L. Toussaint Bull, a solicitor,...
 
 
2 hours later…
9:50 PM
@TelKitty The main trouble is that the spacecraft would undergo massive forces whilst being fired, which would annihilate the contents.
 
10:04 PM
@northerner In short mpz_class is a C++ wrapper that is there for "convenience". I assume the authors wanted to have some modicum of C compatibility, but also wanted to use C++, mostly for its pretty printing and easier syntax.
 
10:23 PM
Is there some fast way to open files by filename in MSVC? I'm dealing with a 600+ file project and navigating the solution explorer is taking too much time. Is there some keyboard shortcut?
"Although it add an enormous amount of boilerplate, mapping every configuration structure to a widget will facilitate unit testing" (Friday)
"Oh, wait, I have no tests" (Sunday)
 

« first day (3102 days earlier)      last day (1848 days later) »