« first day (3051 days earlier)      last day (1954 days later) » 

1:12 AM
HAAATS!
 
2:04 AM
Keep your friends close, but your hats closer.
 
 
8 hours later…
nwp
10:06 AM
Thankfully they remember the network-wide "I hate hats" setting from years ago.
 
 
5 hours later…
2:57 PM
@nwp "You will be haunted," resumed the Ghost (of Winter Bash), "by Three Questions."
 
3:14 PM
"The first will be from a New Contributor to this site. Take care in asking for clarification, commenting, and answering."
"The second will might not be on-topic and will result in spirited (hahaha) debate on Meta."
"The third will require extensive edits and it itself will be haunted by answers that are never to be accepted despite many votes."
 
 
1 hour later…
4:39 PM
There's a SO meta post about improving user profile and settings. Frankly, I don't see what needs fixing on there, but I'm interested in hearing contrary opinions. What problems do others see about the current profile & setting UX?
 
 
1 hour later…
user4704
6:00 PM
@Pikalek I have no real issues.
 
7:30 PM
Hey guys!
I've just noticed something wrong with my window:
#define USE_GLFW

#ifdef USE_GLFW

#include "glfw3.h"

int main()
{
	glfwInit();

	GLFWwindow* window;

	window = glfwCreateWindow(800, 600, "Sanbox", NULL, NULL);

	while (!glfwWindowShouldClose(window))
	{
		glfwPollEvents();
	}

	glfwTerminate();
}




#else
#define VKFW_PLATFORM_WINDOWS
#include "..\..\..\..\Documents\GitHub\VKFW\VKFW\src\vkfw.h"
#include <malloc.h>

int main()
{
	VKFWWindow* window = VKFWCreateWindow("Sandbox", 800, 600);

	while (VKFWWindowShouldClose(window) != VKFW_TRUE)
I was using this code to switch between glfw and my library, and it seems that the window I am creating is slightly bigger than the one created by glfw
the window size should be 800x600, but my library creates an 980 x 740 -ish window
it seems to be a dpi issue; if i set dpi-scaling to 100% everything works fine. I still don't understand how glfw does it since dpi is not really something you can ask windows to tell you
 
user4704
8:02 PM
You probably need docs.microsoft.com/en-us/windows/desktop/api/winuser/… (AdjustWindowRect)
 
user4704
What you want is for the client area of the window to be the requested size (800x600).
 
user4704
So that it is the same size as the associated back buffers, etc.
 
user4704
But when you call CreateWindow, you tell it the size of the whole window, not just the client rectangle.
 
8:50 PM
Windows size management on Windows is a pain. Really.
 
9:19 PM
this outputs "width: 816, height: 639", which seems alright, but when you go count the pixels in a image editing program, you get a resolution (of the client area) of 1002 by 690+ pixels
not even close to 800x600
 
9:34 PM
hahahahaha
they litterally have the same height, but two different sizes :D
don't really know why the width is 816 though.. it should be 802 (since a window has a non-client-area pixel on each side)
 
9:56 PM
ok so, I was able to get the dpi from each window
glfw: 120
mine: 96
 
10:19 PM
@AlexandreVaillancourt yeah.. everything you do in Windows is a pain..
 

« first day (3051 days earlier)      last day (1954 days later) »