[request] Iconbook

Is there someone else interested in it?

I think it could be great to have an application

like Pixadex for WinXP.

I think there is not yet a similar application for

Windows users (I have not found) and surely it would

make happy a lot of people (firstly me :D ).

So, if some talented developer is hearing... ;)

In each case, congratulations to AndreasV for his

stunning applications.

#164376

i thinkind in this many times, it's not so dificult to do that :blink:, i guess, only to show and organize icons -_-

i want somethink too :D

#164381

I was just thinking that after the release of fontbook... how hard would it be to make fontbook read icons and png's instead?

#164396

I had a dream too last night. Only sexy girls were involved rather than iconbooks :icecream: :trombone:

#164400

speaking of dreams, did you see waking life?

anyway i don't understand the need for a windwos-ized pixadex/iconbox-esque app when you have explorer set to view as icons what's the point of a third-party app? explorer renders icons in 'icon view' superfast and, well, perfectly. you organize by creating.... *gasp*... subfolders.

pixadex has other functions which make it more than just a storage facility, but i believe you're just asking for a redundant storage app. go create some subfolders and leave andreas alone :moon:

#164406

I would love something like this, but AndreasV is Tired and Sleepy at the moment, so I'm going to take Ji Eun's advice (first time ever!) and leave him alone ;)

#164458

Andreas you should be a tired man... Thanks for all of your great work. As far as the icon book idea.. I know that it is totally uneccesary because explorer does a very good job and my icons are organized into subfolders... The only reason to have an icon book would be for icandy. Anways, I use nexplorer to browse all my icons... especially in column browsin mode. Who needs and icon book :naughty:

bzeitler

#164484

I'd rather have an iconbook than addressbook. just my opinion.

#164570

Again, wtf is an ICONBOOK?

#164573

That's a dream... :P

#164589

@bzeitler+Ji Eun: in a defense, exploror has to have the same icon size for every folder, so you have to view your icons in the same size as every other folder, and i dont want huge icons everywhere else :( . And in thumbnail view icons are rendered horribly

#164599

Originally posted by AndreasV@May 19 2004, 07:04 PM

Again, wtf is an ICONBOOK?

px_library.jpg

:D

i think some programer could use the neplorer source code(is vneuman will give permission) to mode it and to ad functionalities needed for an pixadex for windows, right? :blink:

#164605

What does pixadex do exactly?

#164613

Think of the FontBook, then change Font to Icon. You have IconBook (or Pixadex).

#164615

Originally posted by vneumann@May 19 2004, 08:03 PM

What does pixadex do exactly?

it's organizes colections, previews....

i think a moded version of nexplorer yould be awesome -_-

#164619

If someone wants to fix my Java-project, then I'll do the iconbook.

//	Project;  ST2-Project
// File:  ResourceManager.java
// First Author: Andreas Verhoeven
// First Date:  maandag 26 april 2004,12:25:36
// Version:  1

// List of changes:
//  - 1: initial version

import java.util.Vector;

public class ResourceManager
{
 private Vector devices = new Vector();
 private JobPool jobPool = null;

private Device getDevice(String name)
// pre:  name is not null
// post: the device with name has been returned
{
 assert name != null;

 // loop thru all devices to find the one with name name.
 // If it's found, return it, otherwise throw an exception, because it's not
 // this methods Job to handle an unknown device.
 int i = 0;
 while( i < devices.size() && !((Device)devices.get(i)).getName().equals(name))
 i++;
 
 if(i < devices.size() )
 return (Device)devices.get(i);
 else
 throw new UnknownDeviceException(name);
}

 public bool execute(Request r)
// pre:  r is not null
// post: true has been returned if the request was granted,
//  otherwise, false has been returned and the request
//  has been queued
{
 assert r != null;
 
 if(r != null)
 {
 // get the devicetype for this request. Device
 // is an abstraction of devicetype.
           Device device = getDevice(r.getDeviceName());
               
           // now, get an instance of the device; this can be either
           // a particular instance if so requested, or just a free
           // instan
 DeviceInstance deviceInstance = null;

 // the request wants a particular instance
 // so request the abstract Device to get that particular
 // instance by name.
 // OR, the request just wants some free instance.
        if(r.wantsParticularDevice() )
   deviceInstance = device.GetInstance(r.InstanceName() );
        else
   deviceInstance = device.GetInstance();

        if(deviceInstance == null || deviceInstance.isLocked() )
        {
            // if we didn't get a deviceInstance, or the deviceinstance was locked,
   // queue this request up. Also, indicate that the request hadn't been
   // granted by returning false
            device.addToWaitingQueue(r);
            return false;
        }
        else
        {
   // the request has been granted, so lock the deviceinstance and
            // add it to the process' locked-resources list. Also, return true
            // to indicate that the request had been granted
   deviceInstance.lock();
            r.getParentProcess().addResource(r.getAlias(),deviceInstance);
            return true;
        }
 }
 return false;
}

public bool execute(Release r)
// pre:  r is not null
// post: true has been returned if the release was executed,
//   otherwise false has been returned
{
       assert r != null;

       if(r != null)
       {
       // get the parent-process of this device, so we can access
       // its locked-resources queue
              Process p = r.getParentProcess();
               
           // remove the deviceInstance from the process'  locked-resources
           // queue and unlock() the deviceInstance.
 deviceInstance deviceInstance = r.removeResource(r.getAlias() );
 deviceInstance.release();

 // now, check if there are any requests pending for this resource.
 // if so, add that resource to the job-pool again so it can be
 // assigned to this resource when its getting scheduled again.
 // Also, don't forget to remove it from the waitingQueue for the
 // device, otherwise
 Device device = deviceInstance.getDevice();
 Request r = device.findFirstOnWaitingQueue(deviceInstance);
 if(r)
   jobPool.add(device.removeFromWaitingQueue(r) );
 
 // return true, to indicate the release has been executed
 return true;
       }
 return false;
}

public void addResource(String deviceName, String instanceName)
// pre:  deviceName and instanceName are not null
// post: A DeviceInstance of type deviceName and with name instanceName
//   has been added to the list of DeviceInstances
{
 assert deviceName != null;
 assert instanceName != null;

 if(deviceName == null || instanceName == null)
 return;

 // first, try to get the Device with name deviceName
 // if we get an UnknownDeviceException, the device does not exists yet,
 // so we need to create it
 Device device = null;
 try
 {
 device = getDevice(deviceName);
 }
 catch(UknownDeviceException e)
 {
 device = new Device(deviceName);
 }

 // now that we have obtained a Device object with name deviceName,
 // we can tell that Device to add an instance with name instanceName
 device.addInstance(instanceName);
}
};

I have 50 more files like this to fix and to review (and not everyone is using the same style-guides >.< )

I hope noone takes this serious... <_<

#164670

Originally posted by AndreasV@May 19 2004, 09:08 PM

If someone wants to fix my Java-project, then I'll do the iconbook.

[...]

I have 50 more files like this to fix and to review (and not everyone is using the same style-guides  >.< )

I hope noone takes this serious... <_<

The fix for all your Java woes, Ave...

#164674

I requested a fix Stevie, not a make-your-code-worser-thing. sealed.. <_

#164682

Originally posted by AndreasV@May 19 2004, 09:24 PM

I requested a fix Stevie, not a make-your-code-worser-thing. sealed.. <_<

You're obviously not as good a coder as I thought, if you blame an application framework for making your code worse :P

#164688

unsafe
{
  unchecked ( give me checked exceptions );
}

:canadian:

#164702

Originally posted by AndreasV@May 19 2004, 09:50 PM-->
QUOTE(AndreasV @ May 19 2004, 09:50 PM)
unsafe{   unchecked ( give me checked exceptions );<!--QuoteEBegin
[b]

:canadian:

Rather that I may use unsafe code knowingly than always be using "unsafe" code and potentially not realise (C++), or be restricted so much that I can't use "unsafe" code, even if it makes sense (Java).

Also, unsafe is obscure enough that your average user won't find it by accident.

Blaming the tools for your inadequacies again, Ave... :rolleyes:

#164708

You are missing the point about 'checked exceptions' <_

#164716

Originally posted by AndreasV@May 19 2004, 10:04 PM

You are missing the point about 'checked exceptions'  <_<

I'm not missing the point, I just understand the problems with checked exceptions, as well as their advantages, and think that your point is moot, when the coder is vaguely intelligent about the way they code...

#164720

Let's end this discussion here and on MSN with:

colina[1].jpg

#164741

Originally posted by AndreasV@May 19 2004, 10:51 PM

Let's end this discussion here and on MSN with:

[...]

A bald man with an extremely long thumb?

I don't get it :blink:

#164742