flat assembler
Message board for the users of flat assembler.

Index > Windows > download MSDN parts as .chm

Goto page 1, 2  Next
Author
Thread Post new topic Reply to topic
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
http://www.codeplex.com/packagethis
this tool should allow you to select parts of MSDN and save them in CHM format.

I haven't tested it now (bandwidth...), someone please try it and report how it works.
Post 02 May 2007, 11:24
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 9092
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
sounds like a nice tool, the msdn .chm i got is from October 2001
although still relevant, but see, no harm to have a msdn .chm up to latest info Wink

couldn't get the index working Sad
this program store the temporarily downloaded files in C:\Documents and Settings\YourAccount\Local Settings\Temp

just wonder could we change it to somewhere else?

i will try to download all, (and its check doesn't seem to function so well), if i check on the parent node, i expect it to check all those child nodes, but this doens't happen, i need to chceck those child nodes manually Sad

Image


Description:
Download
Filename: MSDN.zip
Filesize: 41.89 KB
Downloaded: 69 Time(s)

Post 02 May 2007, 12:10
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
Quote:
this program store the temporarily downloaded files in C:\Documents and Settings\YourAccount\Local Settings\Temp
just wonder could we change it to somewhere else?

try playing with envvar "TMP" or "TEMP". For more info see winAPI proc GetTempDirectory

Let me know if it worked
Post 02 May 2007, 21:14
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
Would be nicer if there was a tool to convert .hxs to .chm... would probably end up being a faster download (assuming that this tool reads the .aspx pages via HTTP).
Post 02 May 2007, 22:43
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
like this? (first link)
Post 02 May 2007, 23:03
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
Wonder how well it works, I haven't looked much at the .hxs format, and it was my impression that it was pretty damn closed (and generally I don't understand why it was necessary, .chm seemed more than sufficient... and the .hxs viewer is damn slow and keyboard-unfriendly).
Post 02 May 2007, 23:06
View user's profile Send private message Visit poster's website Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
That simple program eats more memory than Firefox here.
I wonder why people still use .NET. Rolling Eyes
Post 04 May 2007, 14:21
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
Ozzy: I bet .net runtime does some "smart" caching of data...
Post 04 May 2007, 21:37
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
sleepsleep: so, did it work? is result worth of it?
Post 31 May 2007, 08:04
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 9092
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
man .... need to click too many times if i want to get the whole msdn... and that is really boring and taking lots of time.
Post 31 May 2007, 11:30
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
sleepsleep: how about rightclick (context menu) and "select this node and all children) ? Wink
Post 31 May 2007, 12:31
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 9092
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
omg, i swear, i didn't know the context menu is there. omg... lol
ok, i just resume the download from vmware Razz my line not so fast, i hope i could have it before end of this week. (if nothing goes wrong)
coz if you stop the download or exit it somehow, all the cache will get cleared)

thanks for the tip, vid ... i swear, i didn't know the right click context menu is there. ... lol
Post 31 May 2007, 13:26
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
you are trying to download ENTIRE MSDN? How much free space do you have?

you could burn it to DVD(s) and bring it to next FASM session Wink
Post 31 May 2007, 14:16
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 9092
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
yah, i set the vmware d drive to 11GB, hopefully enough to store those cache html file and compiled them into a .chm file.

next fasm session, hmmm... if in singapore or malaysia or thailand, i will come? Very Happy no worry, i will put it somewhere so that everybody could download it.
Post 31 May 2007, 15:13
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 9092
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
i downloaded some 16 mb file using it already, but task manager showed this program consumed some 67MB memory... wat the hell is that.

Image

if i close it now, i might lost everything. if i continue, it will consumes more... now. what should i do.
Post 31 May 2007, 23:53
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 9092
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
ok, just after posted this, the solution came. wtf..... (always like this)
i minimize it and restore it back, it consumes 4mb memory now.

so, now question comes, does .net (or any other programs) behaves like this?
Post 31 May 2007, 23:57
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
That column shows the total PHYSICAL memory the process is consuming at the moment but it not always matchs the total allocated memory by the process. When you minimized the app probably Windows decided to swap out some pages. I think you should not worry about this, increment the swap size if you want to be sure, this will not slow down your computer much because is very possible that every page the application allocates is not accessed frecuently so you will not notice much HDD activity by this.
Post 01 Jun 2007, 01:07
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
Quote:

That column shows the total PHYSICAL memory

Wrong Smile

Quote:

When you minimized the app probably Windows decided to swap out some pages.

And wrong again Smile

That column is the "working set size" of the application. Get Process Explorer from sysinternals, it has more accurate names, and more stats it can show.
Post 01 Jun 2007, 11:27
View user's profile Send private message Visit poster's website Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
Process Working Set wrote:
The working set of a program is a collection of those pages in its virtual address space that have been recently referenced. It includes both shared and private data. The shared data includes pages that contain all instructions your application executes, including those in your DLLs and the system DLLs. As the working set size increases, memory demand increases.
A process has an associated minimum working set size and maximum working set size. Each time you call CreateProcess, it reserves the minimum working set size for the process. The virtual memory manager attempts to keep enough memory for the minimum working set resident when the process is active, but keeps no more than the maximum size.

To get the requested minimum and maximum sizes of the working set for your application, call the GetProcessWorkingSetSize function.
The system sets the default working set sizes. You can also modify the working set sizes using the SetProcessWorkingSetSize function. Setting these values is not a guarantee that the memory will be reserved or resident. Be careful about requesting too large a minimum or maximum working set size, because doing so can degrade system performance.


Right, but seems to give a good estimation of physycal memory used anyway (except for counting the shared pages).

Not sure about if I'm really wrong with the second one, though.

Anyway, thanks for the corrections, I learnt something today Razz
Post 01 Jun 2007, 13:19
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
Well, if the app uses the SetProcessWorkingSetSize(pro, -1, -1) trick then there will likely be some paging - but a lot of simple decommitting as well. I run my system without a pagefile, and that trick still trims a lot from the working set, obviously withoung paging out to disk...
Post 01 Jun 2007, 13:23
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page 1, 2  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 cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.