bartlebyshop replied to your post: iâm drunk and sentimental
tell us some sentiments
reveal yourself, coward
Iâm not great at performative drunkenness but I love you guys and I donât do enough for you ;;Â
seen from China

seen from United States
seen from Sweden
seen from Hong Kong SAR China

seen from Uruguay

seen from United States
seen from United States

seen from United States
seen from United States

seen from United States
seen from Malaysia
seen from United Kingdom
seen from TĂźrkiye

seen from United States
seen from Yemen
seen from United Kingdom
seen from Panama

seen from United States

seen from United Kingdom
seen from United Kingdom
bartlebyshop replied to your post: iâm drunk and sentimental
tell us some sentiments
reveal yourself, coward
Iâm not great at performative drunkenness but I love you guys and I donât do enough for you ;;Â

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
me visiting a new town: ok so tell me where the cats are
Building my own rasteriser: 15.6 - escaping from libpng hell
bartlebyshop replied to your post âhahaha it turns out i didnât even need to do all that crap with libpng...â
me, upon hearing canmom is using libpng: "free her"
the story:
I was using the CImg header-only library to manipulate images in my renderer
CImg does not natively handle PNG, but invokes an external call to ImageMagick or GraphicsMagick to convert between PNG and formats it can use
I was saving things to PNG just fine but...
I tried to make CImg open a PNG file to use as a texture in my renderer program. an error came out reporting some incorrect parameter involving a PNM file in my %LOCALAPPDATA%/Temp, and then segfaulted. I assumed that CImg was using GraphicsMagick to convert the PNG to a PNM file it could load and storing the result in %LOCALAPDDATA%/Temp, but there was a bug in CImg that was making this fail. That seemed like Iâd have to modify CImg itself to fix...
I looked around and discovered if you link libpng and define a flag before the CImg header, it can handle PNG natively without invoking GraphicsMagick. âEasy enoughâ, thought I, in an especially foolish way
at first, I tried installing libpng using the Conan package manager. It wouldnât build because there was a space in the path to my installation of MinGW.
"I shouldnât have to build it, Iâll just use a binaryâ I resolved. After some reading, I worked out how to make CMake search for a library.
CMake discovered I had copies of libpng and zlib from my installation of the Anaconda scientific python distribution. âPerfectâ, I thought, but the linker thought otherwise, and complained about not recognising the .lib file for libpng that had been picked out by CMake.
âItâs probably a problem with the version of libpng used in Anacondaâ I thought, in a spirit of special naivete. I downloaded binaries of libpng and zlib from the GNU-Win32 project.
This time, the linker was able to recognise the files and the compiler was able to use its headers, but when it came to linking the files, it complained about just about every possible libpng file being an undefined reference.
At some ill-defined point in that mess, I tried going back to the Conan distribution of libpng, with MinGWâs GCC now moved to a nice safe space-free path. It compiled! Yay! But when it came to link it, the linker couldnât make sense of the target that Conan or CMake or something had defined.
I switched over to my Linux laptop. I had to install libpng, which I did with a single console command from the distroâs package repo. I compiled my project! It linked without trouble! ...but the segfaults were still happening.
With the help of my girlfriend @whatnothuman, I used the GNU debugger to work out what was causing the segfaults, and fixed it. My program worked, except that I was calculating the texture coordinates wrong, but that was a far more solvable problem.
But I didnât want a program that would only work on Linux. So I went back to try and solve the issues with Windows. The binaries distributed by GNUwin32 seemed to be the closest Iâd got. Maybe, I thought, the problem is that I am running a 64-bit compiler and trying to link a 32-bit library. I could tell the compile to build 32bit, but then Iâd have to redownload all my Conan files. Well, I thought, Iâll just download the libpng source code directly from the project home page, and compile it with my 64-bit compiler, and have a nice 64-bit linkable version of libPNG.
I ran CMake with default options, and tried to compile libPng. The linker had a problem. Of course, it would need a 64-bit version of ZLib as well. I downloaded the ZLib source, and compiled it. It actually compiled without any problems! I put the compiled result on my path, and ran cmake again.
This time, the compiler got further... and then hit a bunch of compiler warnings and errors trying to build one of the libpng files. Nobody else seemed to be having these exact errors.
Then I thought, wait a minute, now I know the segfault wasnât associated with GhostScript, and the fact it got far enough to segfault suggests the error wasnât fatal. So what if I removed all the libpng stuff from my project and built it again?
I did that. The same error message about the PNM file came up... but the program carried on executing, loaded the file it was supposed to, and rendered an image. So... libpng wasnât needed at all.
At least I learned something. (Mostly that libpng is a pain.)
(The texture coordinates are still fucked up. But thatâs a much smaller problem than working out whatâs wrong with libpng, and I have a plan in mind to correct my formula and make it closer to OpenGL.)
đĽ bicameral legislatures
this isnât an unpopular opinion, but I think theyâre bad
do you drink coffee out of saucers?? no!! nobody does!!
how have the alberta ndp been doing?
I dunno! I donât follow Canadian news

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
bartlebyshop replied to your post:âlikingâ someonesâ selfies has either this strange...
thereâs the counter-problem of âwill I seem creepy for liking thisâ that I stress about a lot
itâs so much easier to like selfies that have already gotten, like >5 likes
Aww, does Bot-Chan have daddy issues?
Nope! Â He clearly had issues when I was around, but Iâve been great to him since Iâve been back. Â You should probably talk to him and see what I mean about him not being a dick.
đĽ (are you still doing these? continuing in my legislature theme) i-can't-believe-it's-not-westminster vs us style """legislative branch"""
partisan polarization is fine if you can hold parties accountable for their platforms, but US-style legislative institutions make that hard -- fine, but not ideal
on the other hand, partisan polarization seems to keep talent away from politics -- the pool seems shallower in polarized systems (e.g., the Gilded Age, the Gingrich Age) than non-polarized systems (e.g., the Founding, the Cold War)
I guess Iâd prefer a non-polarized system, but institutional change seems easier than changing political attitudes