flat assembler
Message board for the users of flat assembler.

flat assembler > Heap > vivik's twitter

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Author
Thread Post new topic Reply to topic
vivik



Joined: 29 Oct 2016
Posts: 533
Apparently there is libjpeg-turbo 2.0.0 out, and I still use 1.5.3. Need to download the newer version.

https://github.com/libjpeg-turbo/libjpeg-turbo/releases

https://github.com/libjpeg-turbo/libjpeg-turbo/blob/master/ChangeLog.md

I'm not sure if build script is getting more easy or more difficult to understand. Is that a progress or a regress?

The only thing I changed in the sources as of now, is decompression method in turbojpeg.c / setDecompDefaults .

Code:
if(flags&TJFLAG_FASTDCT) dinfo->dct_method=JDCT_FASTEST;    


It can be changed to JDCT_FLOAT, just to see the simplest version of code in action.

https://github.com/libjpeg-turbo/libjpeg-turbo/commit/d5f281b734425fc1d930ff2c3f8441aad731343e

>SIMD: Fix c000001d exception on Win 7 w/o SP1

wow, I'd never find that, I'd never test my programs on every version of windows with every version of service pack. I don't get what they changed, maybe later.

When you have a new pc, and you can install the latest versions of software without much problems. As I said, many problems just went away.

Any job sites where there is a proper filtration by skill? Anything I open, they just ask too much.
Post 03 Oct 2018, 06:14
View user's profile Send private message Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 533
Added set(CMAKE_DEBUG_POSTFIX "d") , because it's a must on windows. Debug and release libraries are just uncompatible, because there are different versions of runtime libraries for them. I have no idea what they do yet, maybe give some checks for out of border reads and writes, and stuff like that.

I wonder if I should be proud of embarrassed by the fact that I know english. I wish you would learn russian instead. English is easier to learn for europeans than russian or chinese, and I guess this is what matters the most.
Post 03 Oct 2018, 06:49
View user's profile Send private message Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 533
Stackoverflow is such a shitshow. I answered my own question with "just install the latest version of a library", and they deleted my answer because "This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post.". Are they fucking retarded? I AM the author. I guess they found a loophole and a cheap way to gain reputation, so they spend more time on paperwork than actual problemsolving.

You can't have a place where random people talk with random people, without it slowly degrading. I need more longlasting contacts.
Post 03 Oct 2018, 20:36
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 16128
Location: Hyperborea
The Internet ...
vivik wrote:
... is such a shitshow.
Hehe, it isn't just Stackoverflow.
Post 03 Oct 2018, 20:39
View user's profile Send private message Visit poster's website Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 533
https://github.com/libjpeg-turbo/libjpeg-turbo/issues/293

So he recompiles the entire library with debug info every time he needs it. That probably takes 30 seconds every time. Hm, does adding debug info slows down compilation that much, why not always include it, except for when you are about to upload it somewhere? (I probably should ask him, instead of writing this here...)

https://cmake.org/cmake/help/latest/module/FindZLIB.html
https://cmake.org/cmake/help/latest/module/FindJPEG.html
https://cmake.org/cmake/help/latest/module/FindGIF.html

zlib has ZLIB_ROOT, but libjpeg and giflib have nothing?
Post 03 Oct 2018, 20:44
View user's profile Send private message Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 533
#using <MyComponent.dll>

https://docs.microsoft.com/en-us/cpp/ide/how-to-organize-project-output-files-for-builds?view=vs-2017

https://docs.microsoft.com/en-us/cpp/preprocessor/hash-using-directive-cpp?view=vs-2017

Wow, this sure is intriguing. But it needs some sort of metadata, so dunno. Can you include .lib files with it?

Ah, it's C# only, never mind. No, it's not. Eh, later.


Last edited by vivik on 04 Oct 2018, 07:52; edited 1 time in total
Post 04 Oct 2018, 06:16
View user's profile Send private message Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 533
https://docs.microsoft.com/en-us/cpp/ide/how-to-organize-project-output-files-for-builds?view=vs-2017

How to: Organize Project Output Files for Builds

>However, if you do not use dependencies, you must carefully handle this because builds can become very difficult to manage.

>All essential output files (such as executables, incremental linker files, and PDB files) are copied into a common solution directory.
Post 04 Oct 2018, 07:21
View user's profile Send private message Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 533
Remember I told I use C:/src C:/build C:/install? I'm dropping it, I'm not installing anything ever, I'm adding include and linker paths instead. And I'll place build dir inside every source folder, like C:/src/libjpeg/build.

I'm deleting this

rem cmake -G"Visual Studio 8 2005" C:/_src/libjpeg-turbo-1.5.3

and I'm deleting this

rem cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=C:/install C:/src/lib-img/libjpeg-turbo-2.0.1

my _build.bat now only has this

mkdir build
cd build
cmake ..
pause

And I'm adding a shortcut to solution, and naming it _libjpeg-turbo.sln.lnk, just so it's always on the top of the folder. Now I can just go in the build folder and delete everything completely, this shortcut used to be in the build folder and I unselected _build.bat and _libjpeg-turbo.sln.lnk.
Post 04 Oct 2018, 07:23
View user's profile Send private message Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 533
Tried adding target_link_libraries(png debug C:\\src\\lib-img\\zlib-1.2.11\\build\\Debug optimized C:\\src\\lib-img\\zlib-1.2.11\\build\\Release) in the libpng/CMakeLists.txt , png is somewhere in the bottom of the file so it doesn't work.

add_library(png SHARED ${libpng_sources})

target_link_libraries(png ${ZLIB_LIBRARY} ${M_LIBRARY})

Tried just adding link_libraries(debug C:\\src\\lib-img\\zlib-1.2.11\\build\\Debug optimized C:\\src\\lib-img\\zlib-1.2.11\\build\\Release)

>WARNING: Target "png_static" requests linking to directory "C:\src\lib-img\zlib-1.2.11\build\Debug". Targets may link only to libraries. CMake is dropping the item.

Let's do this the official way then:

option(PNG_BUILD_ZLIB "Custom zlib Location, else find_package is used" OFF)

It's all temporary, I will delete everything cmake related eventually.
Post 04 Oct 2018, 08:21
View user's profile Send private message Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 533
My adblock filters:

superuser.com###hot-network-questions
superuser.com##.community-bulletin
stackexchange.com###hot-network-questions
stackexchange.com##.community-bulletin
stackoverflow.com###hot-network-questions
stackoverflow.com##.community-bulletin
stackexchange.com###sidebar
stackoverflow.com###sidebar
www.pornhub.com##div#age-verification-wrapper
www.pornhub.com##div#age-verification-container
mintmanga.com##.co_ba
mintmanga.com##.co_ba
readmanga.me##.co_ba
readmanga.me##.top_ba
youtube.com###items

because stackoverflow is fucking annoying without those


Last edited by vivik on 28 Oct 2018, 06:16; edited 1 time in total
Post 04 Oct 2018, 08:36
View user's profile Send private message Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 533
zlib/CMakeLists.txt:

if(NOT WIN32)
...
else()
# not needed on windows
set(M_LIBRARY "")
endif()

Excellent, I can just remove every mention of this. Wish somebody would do that for me.
Post 04 Oct 2018, 08:47
View user's profile Send private message Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 533
>Targets may link only to libraries. CMake is dropping the item.

YFKNSUSHD

Oh, right, this worked:

set(ZLIB_INCLUDE_DIR C:\\src\\lib-img\\zlib-1.2.11\\build)

Wait, no, need this, otherwise it wouldn't find the header file:

set(ZLIB_INCLUDE_DIR C:\\src\\lib-img\\zlib-1.2.11 C:\\src\\lib-img\\zlib-1.2.11\\build)

Okay, it at least /looks/ like the libraries are compiled. After this I need to compile the main program, either by writing cmake file, or by creating visual studio project and solution files.

After that, delete and forget everything about cmake, one piece at the time.

Mouse is glitchy again, sometimes right mouse clicks happen when I press wheel gently.
Post 04 Oct 2018, 09:07
View user's profile Send private message Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 533
https://www.youtube.com/watch?v=oQY2eyS-_kc

I thought I'd watch this letsplay of 天結いキャッスルマイスター, then I saw him eat 3 blue fruits raw at 20:56. Raw fruit recovers 10 hp, but you can use 2 of them to make a potion that recovers 30 hp. He's so far into the game, but didn't figure that out? I barely understand what I'm doing, yet I figured this much.

Apparently it's pronounsed Amayui Castle Meister. I keep calling it Ten Something-i Something Something. 天結い (Amayui) is probably "heaven binded", "binded by heaven", "connected by heaven", and Meister is like Master but more German. Amayui Kyassuru Maisutaa. Remember I said I can't remember the name of almost everything?

I guess I'll watch this instead then.

https://www.youtube.com/user/bjmusafe/playlists

https://www.youtube.com/watch?v=Fngtu9hCXOU

He actually translated somewhat what is going on. I can't read 90% of text, I can only read simple commands like "Go there, bring this, clear all map, kill all enemies, good boy". I'm pretty much on a level of a dog. Reminds me of "Stanley Parable". You played one rpg, you played them all. You watched one tv show, you watched them all.

I want you to see the way one character there is cooking, is't amasing. It's amasing amasing. It's fucking amasing. Can you express strong emotions in english without using the "fucking" word? Hm, written speech should be more sterile than spoken, simply because people are usually too lazy to write down every trash word, while in spoken speech it just gets out uncontrollably.

The main heroine is supposed to be a goddess (one of), but she plays more like a priest, miko. She summons other spirits to battle, her attacks are more effective on ghosts than anything else, and she heals. Legacy of shintoism is strong in this one, it's not like the christian god who created all matter and controls everything. Interesting mishmash of cultures, fantasy rpg came from final fantasy, which came from dungeons and dragons, which came from european folclore on medieval times (whith knights and princesses), which was created at the times when christian church was very powerful. Interesting how things keep morphing in the process, till they contradict the source. Not sure if I can call christian religion "source", I heard they just purged all other religions, and originally it was many different gods that made rain, thunder and other unexplainable by the time things.

https://www.youtube.com/playlist?list=PL6mfSW1ue21tDuvNEZtswi4GTN87hqny1

Now at part 103

https://www.youtube.com/watch?v=ohlu1ouCPpk&index=103&list=PL6mfSW1ue21tDuvNEZtswi4GTN87hqny1

https://www.youtube.com/watch?v=ohlu1ouCPpk


Last edited by vivik on 12 Nov 2018, 21:07; edited 5 times in total
Post 07 Oct 2018, 06:53
View user's profile Send private message Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 533
How did you fit in that cat???

Sentence nobody should never say.
Post 07 Oct 2018, 10:42
View user's profile Send private message Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 533
Hell counts as swearing? What? I understand what you don't want to say "fucking" in front of children for some reason, but what is wrong with hell? Why heaven isn't swearing then.
Post 07 Oct 2018, 17:25
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 16128
Location: Hyperborea
vivik wrote:
Hell counts as swearing? What? I understand what you don't want to say "fucking" in front of children for some reason, but what is wrong with hell? Why heaven isn't swearing then.
It all depends upon your POV. Perhaps to some Satan worshippers the word "heaven" is offensive to them?
Post 07 Oct 2018, 17:46
View user's profile Send private message Visit poster's website Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 533
From that I've seen, they react funny when called "religious". Beliving in devil is same as believing in god, if you believe in one, you believe that another exists too.

Haven't heard about them much since around 2000.
Post 08 Oct 2018, 12:36
View user's profile Send private message Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 533
When I need some burning awesomeness in my life:

https://www.youtube.com/watch?v=ofwE8oaS5QY
Saint Seiya - Pegasus Fantasy Full (Opening 1 Japan)
Kids don't deserve something this awesome. I need to actually watch this one day. The famicon game is super odd, the "you need to know the plot already to win", kinda like captain tsubasa. The "super bonk / pc genjin - twilight space" https://www.youtube.com/watch?v=aRTLF__1IpU&index=23&list=PL1D8726F580E3DAFB reminds me of this.

https://www.youtube.com/watch?v=Mn9UtHlNuzo
ETO Rangers - Juuni Senshi Bakuretsu Eto Ranger OP

https://www.youtube.com/watch?v=W2RkPi5oPN8
(Amiga 500 Music) Turrican 2 - The Final Fight (Main Theme) (Remastered)
https://www.youtube.com/watch?v=K0FaAs4M3d0
Turrican 2 - Complete Soundtrack

When I want to die in 7 days:

https://www.youtube.com/watch?v=co_L7WQRHbA
Tom & Jerry 3 NES

When I'm running from / is a serial killer:
https://www.youtube.com/watch?v=wDhSyWkD_jU
CICADAZ CrieZ (Higurashi No Naku Koro Ni Main Theme J-Core)

When reaching the heaven:
https://www.youtube.com/watch?v=pDBA2_lyxJw
NES Ver. AIR OPENING DEMO ファミコン版 AIR オープニングデモ

When... just what the fuck are you doing?
https://www.youtube.com/watch?v=tr3RUHuS_Lk
[Vinesauce] Joel - DJ Joel Beefzone

To explode planets to:
https://www.youtube.com/watch?v=xS7cCYsgNUA
Jon Wins - Game Grumps Remix

To be lost to:
https://www.youtube.com/watch?v=hKMDuv7282Y
Yume Nikki OST: Ghost World (Extended)


Last edited by vivik on 08 Oct 2018, 16:57; edited 4 times in total
Post 08 Oct 2018, 14:41
View user's profile Send private message Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 533
When I said in one "web developer" resume that I made a game in javascript, and they asked for a portfolio. First, this game is porn. Second, it's not my game, I just extracted all graphics, music and text from it, and rewrote it in javascript. How the fuck I'm supposed to show this? I've sent them all the javascript code, without any graphics or original text, they still haven't reply. Fucking cunts.

The graphics in that game are made in a way that made me want to compress it more. First, it was either in png or in zip compressed bitmap, I'm not sure. Second, graphics were in groups that share a lot in common. What I did is, I encoded the first image in the group as a png, and all the others as difference between that first image and current one. I pretty much reinvented photoshop layers. I used png with transparency, and I got this difference with "imagemagick" program. The problem I had is, it's not displayed that well if image isn't displayed at 100% scale, edges of transparency were noticiable when filtering was used. Probably can work around this with html canvas. Whatever, I haven't touched that in 4 years, it's not like I'm going to make some changes in this.

Also I made it so all javascript is placed at the beginning of html file, and all the text that ever appears in this game just follows, but isn't shown. Just so it loads faster.

It was quite easy to make saves too, I just modified #this_part of url at every new sentence. You could just copy the url, and you'll have instant access to this place later.

I can understand why they wouldn't want to hire me. I don't know modern technologies, I learned html ages ago, it is a bit different. In examples I showed them I used experimental (by those times) css expressions, that had "moz-" prefix and didn't work for example in opera at that time. Fuck, why nobody wants to make games in my city, why nobody hires for that. Well I know why, it doesn't make me less frustrated.

I showed them my unfinished "comics viewer" too, in php. Only 2 files from it actually, "main page" and "download.php". One is the core of the program, shows the actual pages, with or without javascript on. Second is just for downloading everything as one zip file, it generates zip on the fly without compression and with support for pausing and reenabling downloads (can read range http headers). There were more, but I didn't figure out how to make the actual interface properly with php.

I just sent them a few source codes in folders "php" "javascript" "c_sharp" "golang". I need to clean these up, make them runnable. Just source code is a bad demo. I know, but, I'm bisy with something else right now. With that game, right. You know how much work it is to clean that up? Anyway, I need to write my text editor first.

All my programs look super confusing to people. But fuck them. They like proposing splitting one big turd into many little little packets of shit. Like it's going to make it less smelly, it's still the same amount of shit, but with more boilerplate code just on function/class declaration.
Post 08 Oct 2018, 15:11
View user's profile Send private message Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 533
I wonder if you need registering to watch this. Music is PUMPING. Porn that you want to dance to is the best.

https://ecchi.iwara.tv/videos/qevqkslgxxhlzk422

https://www.youtube.com/watch?v=LHdlw9F3KP4

http://vocaloidlyrics.wikia.com/wiki/LUVORATORRRRRY!

>Do me so hard I don't have time to breathe.

Fuck, this line!

If you want to play video games, go to youtube. If you want to listen to music, go to pornhub. If you want to view movies, go to torrent sites. If you want to fap, read comics scans. Everything is so backwards.


Last edited by vivik on 08 Oct 2018, 20:18; edited 1 time in total
Post 08 Oct 2018, 19:04
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2018, Tomasz Grysztar.

Powered by rwasa.