Recent Posts

Subscribe to Recent Posts 7,914 post(s) found

Aug 5, 2004
Avatar (SF) samuel 4 post(s)

Comment Topic: JBidwatcher Tips and Tricks / some implementation questions

oh, and about the bounce, here’s the error i got

Permanent Failure: 550-Postmaster_verification_failed_while_checking

 
Aug 5, 2004
Avatar (SF) samuel 4 post(s)

Comment Topic: JBidwatcher Tips and Tricks / some implementation questions

it is a loaded question and i’m sorry if i’m asking too much.

regarding the mac os-ness of JBidWatcher: a lot of the things that make it seem foreign in the os stem from the fact that it wasn’t built from the tools provided by apple. it’s often the little things, but they quickly add up. for example, the toolbar icons shouldn’t have boxes around them, and they should have text underneath describing their function. then it’s all got to be customizable to what fits my needs. for an example of what toolbars act like, you can look at most mac applications. things like mail are a good example. this standard toolbar is evident all around and it’s consistency that makes a mac app what it is. it’s a lot of things like this. here’s a few more:

mac apps almost never have status text just there. status is usually indicated visually, and in the case where text is needed, it’s kept to a minimum.

many of the prefs seem superflous. for example, there doesn’t seem to be a real need to specify where the save file is. all mac os applications should save such data in the user’s library automatically. in addition, that arrow box for more prefs is nonstandard.

the text colors thing just clashes and seems like something you’d see on windows. i had an idea that in my app the list of items would have background highlighted styles to represent various states.

the “select” box is something i’ve never seen before. the mac equivalent would be a rounded search box that upon entering text the results would become filtered (ie the nonmatching results disappear).

i have a 1024*768 resolution and the text to the right of the select box runs into it.

and just in general the whole interface seems overly complex. i can maybe post some pictures of the interface i have in mind and it’s a whole lot simpler.

a lot of the things i don’t think will be able to be resolved in a java app. the menu bars are completely non-standard and match few other apps. on the other hand, a blank cocoa based app with zero code comes with a menubar that has all the standard functions and is organized just like other apps.

despite apple claiming java has equal ground with other apps, from what i’ve seen on mac os x, it seems java apps are at a severe disadvantage.

anyway, getting back to the topic, i’m writing this app only partially because what you’ve made doesn’t fit my needs. JBidWatcher an amazingly functional application, and i can accomplish anything i would want to with it. a lot of the reason i’m writing my own is to learn objective c. before this, i was only experienced in c++ and even then not in creating apps with real guis. in the end, i plan on making this application free for all and releasing the source.

so i wouldn’t mind your help. and like i said, don’t feel rushed. i’m still busy figuring out other bits of the code.

thanks!
sam

 
Aug 5, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Tips and Tricks / some implementation questions

Greetings,
Erf… I’ll try to get to this in a little while, it’s a bit complex.

I’ve heard the ‘not mac os-like’ a lot, but nobody seems willing to drill down and tell me what it is. I try very hard to make the program as OSX-like as possible, and VERY much like to know where I’ve failed. I spent a bunch of time on Apple’s interface guidelines page for that, with some very custom code to manage the menu bar, and app packaging, and everything… Help me out, tell me what I’m still doing wrong!

I think instead of ‘users.sf.net’ it’s ‘users.sourceforge.net’, but they seem to map to the same machine. What kind of a bounce was it, if you kept it at all?

By the way, the current version sucks MUCH more CPU time than the previous version did, because I mistakenly diked an optimization out.

Anyhow, I’ll try to address the bidding details in a later post, when I get home.

The basic idea is that you submit a bid, it challenges with a hidden key (form, input type hidden, name=key (iirc, I don’t have the source in front of me where I am)), you re-submit, and it bids.

You need to be logged in as the user, tracking cookies, following redirects (and the cookie changes that happen from redirect to redirect), but that’s really the core of it. There’s details about quantity, and stuff, but that’s only for dutch auctions.

— Morgan Schweers, CyberFOX!

 
Aug 5, 2004
Avatar (SF) samuel 4 post(s)

Comment Topic: JBidwatcher Tips and Tricks / some implementation questions

hi there,

my name’s sam. about a week ago i went searching for an application to search ebay items and snipe on them on my computer. i run a mac os x system, so my options were slim. of what i found, JBidWatcher was the only software that actually worked. however, it’s java base made it a tad slow and the user interface wasn’t very mac os-like (no offense). so, i decided i would build an application of my own! now, i’m having some trouble with some things and was wondering if you’d be willing to help. i’ve taken a look at your code and i don’t understand how you’re accomplishing a few things. this is probably derived from my lack of knowledge of java, so i’d be a very happy person if you could perhaps explain how you’re accomplishing the bidding procedure for ebay. i could go bidding on items to find out how ebay’s system works, but i’d rather a true and tried system be put into place rather than my guesswork.

to summarize: if you wouldn’t mind, and have the time, i’d be quite grateful for a quick rundown of the general bidding procedure for an item on ebay.

thanks
sam

ps, i tried emailing you using cyberfox at users dot sf dot net but the email bounced.

 
Aug 4, 2004
Avatar (SF) stuart ... 2 post(s)

Comment Topic: JBidwatcher Help / How do you start with debug mode

firstly anyone have any information about debug mode and how to activate it.

Secondly I installed the java runtime, how do I make it start automatically. createing a shortcut says class not found.

 
Jul 30, 2004
Avatar (SF) Pete Mi... 1 post

Comment Topic: JBidwatcher Tips and Tricks / Testimonial

Man! 18 seconds before the end? That’s some “play-it-safe” action, you got there. :)

Cut it to 4s man! JBW can do it! Live on the edge!!!

BTW, just send anti-snipers to…
http://members.cox.net/cruentidei/ebay/snipe.html

 
Jul 29, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Help / Exception in thread "main" java.lang.NoClassD

Greetings,
Very strange! The Java install should automatically add a .jar handler to your registry.

I don’t have a Windows box handy at this moment, but you should be able to look at your registry for the handler for ‘.jar’ files. (It should be in HKLM.) The .jar entry should have a ‘command’ (or something like that) subtree, which should have ‘open’ (or perhaps just the default?) entry which contains an entry like:

java -jar “%1”

or perhaps
D:\Programme\Java\j2sdk1.4.2_05\bin\java.exe -jar “%1”

If that’s not there, it might have a ‘jarfile’ reference, and then under the same area, you’d find ‘jarfile’, which again would have a command like that in it.

If you chose advanced or custom setup of the Java SDK, you might have not selected ‘associate with .jar files’, or something.

I hope this mostly random collection of thoughts helps…!

— Morgan Schweers, CyberFOX!

 
Jul 29, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Tips and Tricks / Testimonial

Greetings,
Coolness! Thanks very much for the testimonial!

I’m glad it’s working well for you, and I hope I can keep it that way!

— Morgan Schweers, CyberFOX!

p.s. Cool win, definitely… That’s why you always bid a few cents extra here and there, just in case you’ve picked the same price as someone else.

 
Jul 29, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Help / Memory & CPU utilization

Greetings,
Mea culpa, I removed an ‘unnecessary optimization’ in a sleeplessness-induced moment of stupidity.

It’s constantly doing redraws of the pages, when it doesn’t need to. (All that ever changes, except during individual item updates, is the time left to close.)

I’ve got a beta that just fixes that problem available if you want to try it out.

— Morgan Schweers, CyberFOX!

 
Jul 29, 2004
Avatar (SF) Alan Fr... 3 post(s)

Comment Topic: JBidwatcher Tips and Tricks / Testimonial

Hi Morgan,

I just wanted to thank you for continuing to support and update this software, and let you know that I’m enjoying it and not having any major issues.

Here’s my latest bit of fun:
http://offer.ebay.com/ws3/eBayISAPI.dll?ViewBids&item=3690216082

Not a very expensive item, but I won it by 4 cents! :-D

A.J.

 
Jul 21, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Help / Memory & CPU utilization

Greetings,
Weird!

Can you tell me if JBidwatcher is writing large amounts of logs, or anything? I could see that if it’s pounding the logs out, or something, but not under normal load…

(I’ve never even tested JBidwatcher on FreeBSD, although I’ve been told it works… I haven’t tested on Solaris, to my embarassment, in about a year and a half. I’ll have to see if my housemate still has his Solaris box up.)

I’m surprised, and pleased, that running as three different users works, although JBidwatcher will have issues if multiple of the users try to turn on ‘Use internal web server’, as I never did set the UI-based configuration to be able to choose the port. (It’s settable through the config file, though.)

One problem is that Java up through 1.4.x creates an entirely different memory space for every Java instance. 1.5 shares a great deal of memory between instances, based on some really cool work Apple did to port Java to their platform. That would reduce memory usage, but I haven’t tested under 1.5 yet, so I can’t personally recommend it yet.

I’ve had reports of out-of-control load on XP, as well, so I’ll try to investigate what’s going on. I may have nuked an ‘apparently useless’ few lines of code in a recent set of cleanups that existed solely to reduce the redisplay load.

— Morgan Schweers, CyberFOX!

 
Jul 21, 2004
Avatar (SF) Matthew... 2 post(s)

Comment Topic: JBidwatcher Help / Memory & CPU utilization

I’m having a problem with the latest jbidwatcher. I recently moved my jbw from freebsd to my solaris box and am seeing the following :

last pid: 11460; load averages: 2.78, 2.53, 2.38 10:37:22
108 processes: 106 sleeping, 1 running, 1 on cpu
last pid: 11461; load averages: 2.58, 2.50, 2.37 10:37:37
108 processes: 104 sleeping, 3 running, 1 on cpu
CPU states: 0.0% idle, 96.3% user, 3.7% kernel, 0.0% iowait, 0.0% swap
Memory: 512M real, 11M free, 503M swap in use, 44M swap free

PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 18770 mteton 31 0 10 116M 50M run 56.0H 86.28% java 11485 dakota 8 48 0 110M 60M sleep 5:42 0.00% mozilla-bin 18627 porkchop 31 18 10 109M 48M sleep 121:57 0.09% java 11455 dakota 30 46 7 106M 43M run 23:40 2.48% java 18342 root 1 48 0 83M 36M sleep 42:31 0.94% Xsun

[snip]

The 3 java processes are all jbidwatchers. The memory and CPU utilizations are HUGE! In fact, I regularly have snipes failing because of it. Is there anything I can do besides move back to the machine that I was ready to retire?

TIA

-matthew

 
Jul 20, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Help / Nuke Tab???

Greetings,
Sorry, I should have clarified.

Delete Tab actually just deletes the tab itself, and moves all entries that were in it, to ‘current’. (Or ‘completed’, although it suddenly strikes me that I haven’t tested deleting a tab that has items that have been moved post-delete…)

Nuke Tab was basically requested as a ‘more dramatic’ version of Delete Tab.

— Morgan Schweers, CyberFOX!

 
Jul 20, 2004
Avatar (SF) Michael... 2 post(s)

Comment Topic: JBidwatcher Help / Nuke Tab???

Hi Morgan,

So if “Nuke Tab” deletes all the entries in the tab and the tab itself, what does “Delete Tab” do differently? Does it delete the entries but leave the tab? Does it delete the tab and move the entries to a different tab automatically? Does it…?

Enquiring minds want to know. ;)

 
Jul 20, 2004
Avatar (SF) modnet25 2 post(s)

Comment Topic: JBidwatcher Help / Exception in thread "main" java.lang.NoClassD

thanks man, that’s it.
the double click does not work.
may be i can reconfigure my system to do the double click (only if u gimmi a hint :-)) )
thanks a lot

 
Jul 19, 2004
Avatar (SF) Don Har... 9 post(s)

Comment Topic: JBidwatcher Help / Dual boot bidwatcher?

Works great. Thanks again for the great tool.

Don

 
Jul 19, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Help / Dual boot bidwatcher?

Greetings,
This is a bit difficult, because of the ‘where files are stored’ issue.

Theoretically, you could do this reasonably well, with two seperate configuration files. The Windows configuration file can be mostly ignored, since you’re going to treat the Windows side as the one that won’t know anything about the Linux side.

The Windows configuration file would be in:
C:\Documents and Settings\{username}\.jbidwatcher
and the other would be in:
~/.jbidwatcher

So, pretending that your Windows drive is mounted and writable on /mnt/win98, for instance, you could change your ~/.jbidwatcher/JBidWatch.cfg like follows:

search.savefile=/mnt/win98/Documents and Settings/{username}/.jbidwatcher/searches.xml
savefile=/mnt/win98/Documents and Settings/{username}/.jbidwatcher/auctions.xml
auctions.savepath=/mnt/win98/Documents and Settings/{username}/.jbidwatcher/auctionsave

That list of changes should allow your Linux box to read the data from the Win98 side.

Now, if anyone else sees this, and thinks ‘Oh, I can run this network mounted to my Windows box, and keep them in synch!’, please don’t. The problem here is that the auctions save file is NEVER RE-READ while the program is running. This means that two programs running at once, pointing to the same location, will repeatedly overwrite each other, and the last one to close will be the only one whose auctions and searches save correctly.

This works for the dual-boot case, because it’s impossible for the two to be running at the same time.

I haven’t updated the ‘advanced configuration’ stuff in a long, long while. I suppose I should… :)

For what it’s worth, this also won’t ‘synchronize’ the display configurations. I believe you wouldn’t want to do that anyway, as the display situation on the two platforms would be so different.

— Morgan Schweers, CyberFOX!

 
Jul 19, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Help / Exception in thread "main" java.lang.NoClassD

Greetings,
The command is:
java -jar JBidWatcher-0.9.3.1.jar

The ‘-jar’ tells Java to run it out of the jar file.

You should also be able to double-click on the .jar file, because the standard Java install adds a handler to Windows allowing automatic execution of .jar files via double-click.

— Morgan Schweers, CyberFOX!

 
Jul 19, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Help / Nuke Tab???

Greetings,
Hey! Glad to hear you like it!

‘Nuke Tab’ should delete all entries in the tab, as well as deleting the tab itself. (I couldn’t think of a better name…)

— Morgan Schweers, CyberFOX!

 
Jul 19, 2004
Avatar (SF) Michael... 2 post(s)

Comment Topic: JBidwatcher Help / Nuke Tab???

Love the new tabs functionality, but what does the “Nuke Tab” option do differently from the “Delete Tab” option?

 
Jul 18, 2004
Avatar (SF) modnet25 2 post(s)

Comment Topic: JBidwatcher Help / Exception in thread "main" java.lang.NoClassD

hi folks,

i downloaded the latest version from here and saved it at the desktop. then is installed the java from java.sun.com and now i have this java version on my pc:

java version “1.4.2_05”
Java™ 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot™ Client VM (build 1.4.2_05-b04, mixed mode)

my CLASSPATH looks like this:
D:\Programme\Java\j2sdk1.4.2_05\bin
and i also tried out this:
D:\Programme\Java\j2re1.4.2_05\bin

All applets in browsers work.
i have win xp sp1.

when executing the following line in cmd.exe

c:\Dokumente und Einstellungen\mod>java JBidWatcher-0.9.3.1

i get constantly this error:

C:\Dokumente und Einstellungen\mod>java JBidWatcher-0.9.3.1.jar
Exception in thread “main” java.lang.NoClassDefFoundError: JBidWatcher-0/9/3/1/j
ar

any ideas what might be wrong?
please help me cause i know the prog and like it very much.

thanks in advance.
modnet25

 
Jul 17, 2004
Avatar (SF) Don Har... 9 post(s)

Comment Topic: JBidwatcher Help / Dual boot bidwatcher?

Hi I have a machine that dual boots to Fedora core2 and windows 98. 9.3.1 seems to work great on both. I would like to use the same files in both oses. I can see the windows in linux. Do you think this will cause any problems?
I see some details in the advanced config section. Will that be enough to do this?

Thanks for this great program! Don

 
Jul 8, 2004
Avatar (SF) Scott S... 11 post(s)

Comment Topic: JBidwatcher Help / Does Not Save or Exit in Windows XP

Ok, a new clue.
I did some testing, and found jbidwatcher hangs if you define a search such as ‘tmaxx’ to repeat every hour.

I have had it running without hanging for about 3 hours now, and the only difference is I did the initial search when I launched the application, but made sure the search was NOT set to repeat every hour like I usually have it….

 
Jun 29, 2004
Avatar (SF) Scott S... 11 post(s)

Comment Topic: JBidwatcher Help / Does Not Save or Exit in Windows XP

Here is an exception while I was actually using it and then it froze up like normal:

Exception in thread “AWT-EventQueue-0” java.util.ConcurrentModificationException

at java.util.AbstractList$Itr.checkForComodification(Unknown Source) at java.util.AbstractList$Itr.next(Unknown Source) at AuctionServer.toXML(AuctionServer.java:300) at AuctionServerManager.toXML(AuctionServerManager.java:149) at AuctionsManager.saveAuctions(AuctionsManager.java:341) at JBidMouse.DoSave(JBidMouse.java:1305) at JBidMouse.DoAction(JBidMouse.java:1507) at JTabManager.actionPerformed(JTabManager.java:125) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour

ce)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

Tue Jun 29 20:37:25 EDT 2004: Loaded 5905670251.
Tue Jun 29 20:37:27 EDT 2004: Loaded 5905870766.
Tue Jun 29 20:37:29 EDT 2004: Loaded 5905679780.
Exception in thread “AWT-EventQueue-0” java.lang.OutOfMemoryError: Java heap spa
ce
Exception in thread “AWT-EventQueue-0” java.lang.OutOfMemoryError: Java heap spa
ce

 
Jun 29, 2004
Avatar (SF) Scott S... 11 post(s)

Comment Topic: JBidwatcher Help / Does Not Save or Exit in Windows XP

By the way, I get these ‘freeze-ups’ even from a fresh run. For example, if I wipe out the settings files, download a fresh cvs (or use the release version), and put in a simple text search such as ‘tmaxx’, and just let the program run in the background (minimize it), it will at some point freeze up. It might take hours, or it might only take minutes, but it eventually will.

Almost every time it says ‘syncronized time with ebay’ at the bottom of the screen, but not ALWAYS

But I seem to always get this:
Exception in thread “Thread-9” java.lang.OutOfMemoryError: Java heap space
Exception in thread “AWT-EventQueue-0” java.lang.OutOfMemoryError: Java heap spa
ce