| Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc |
|
 |
Index ‹ java-programmer
|
- Previous
- 2
- JTable - DefaultTableModelHello,
I have a JTable with a DefaultTableModel. I have a search Methode which
searches in the database and displays the results in the JTable. Now I
want to extract the search from the class and put it in an extra class.
I have for both the JTable and the DefaultTableModel defined getters
and setters and now I want to write the following code in the
outsourced method:
Search.getTable().setVisible(true);
search.getModel().addRow(new Object[]{name,text});
Search is the class where the JTable and the DefaultTableModel is
defined. Both lines are in a loop of a Vector size and the data of the
vector are in the name and text parameters of the addRow Method. The
problem is that this does not work and the rows are not displayed when
I start my Java Application. When I put this code (without the Search
prefix and the get-Method) it works without problems.
Is it not possible to address the table and the model in that way from
another class?
lg
- 2
- 3
- M.I'5-Pers ecution ` hara ssment at w ork-=-=-=-=-=-=-=-=-=-=-=-=
-= harassment. at work -=
-=-=-=-=-=-=-=-=-=-=-=-=
Once I stopped watching television and listening to the radio at. the end of
1990, "they" had to find other ways of committing abuses. So they. took what
must be for them a tried and tested route; they. get at you by subversion of
those around. you. Since they wouldn't be able to do that with my family or
friends, that. meant getting at people in the workplace to be their
mouthpieces and do their dirty. work for them.
They supplied my employers in. Oxford with details from what was going on in
my private life, and what I and other people had said at my home. and
accommodation in Oxford.. So people at work repeated verbatim words which
had been said in my home, and repeated what I'd been. doing recently. Often
the most trivial things, the. ones from your domestic life, are the ones
which hurt most. One manager in particular at Oxford continuously. abused me
for ten months with verbal. sexual abuse, swearing, and threats to terminate
my employment. After ten months I was forced to seek psychiatric help. and
start taking medication, and was. away from work for two months. I spoke
later with a solicitor about what had happened at that. company; he advised
it was only possible to take action if you had left the company as a. result
of harassment, and such an action would have to be started. very soon after
leaving.
Over a. year later the same manager picked on another new worker, with even
more serious results; that. employee tried to commit suicide with an
overdose as a result of the ill-treatment, and was forced. to leave his job.
But he didn't take. action against the company, either. Abuse at work is
comparable to that elsewhere in that tangible evidence is. difficult to
produce, and the abusers will always have their denials ready. when
challenged. And even. if a court accepts what you say happened, it still
remains to prove that abuse causes the type of breakdown. I had at the end
of 1992. In a recent case before a British court, a former member. of the
Army brought a case against others. who had maltreated him ten years
previously.. Although the court accepted that abuse had occurred, it did not
agree that depressive illness. necessarily followed, and denied justice to
the. plaintiff.
3275
- 3
- Get external (public) IP from my Linksys routerI've been searching for a way to programtically get my public IP from my
router. After much research th eonly thing I came up with was going to a
site like privacy.net and returning the value it reads. What I'd like to do
is compile this into my .chm I give my remote users. So ideally they would
have a button to press that goes to the web site reads the site and returns
the ip to a text box.
I'd like to do it without the user actually seeing IE open the web site. Any
leads?
- 3
- Compiler trickJoona I Palaste wrote:
> If we have two
> threads, one of which does A and B, the other does C and D, then the
> actual physical sequence may be A-B-C-D, A-C-B-D, A-C-D-B, C-A-B-D,
> C-A-D-B or C-D-A-B. It is always guaranteed that all four operations
> are done, A is done before B, and C is done before D. Nothing else
> about the ordering is guaranteed. (This is assuming a strictly
> sequential intra-thread execution with no control structures.)
I may be missing your point here, but I think that without synchronisation,
there is no such guarantee. As it happens I've just written a passage in
another post which fits just as well here. Apologies to anyone who sees it
twice ;-)
This is discussed in the Java Memory Model JSR, see:
http://www.cs.umd.edu/~pugh/java/memoryModel/PublicReview.pdf
Two threads, two shared variables A and B, two passages of code that access
them without synchronisation:
Initially A == B == 0
Thread 1:
r2 = A;
B = 1;
Thread 2:
r1 = B;
A = 2;
A legal result of this is that r2 == 2 and r1 == 1. The JSR describes this as
"surprising behavoir". Which is a classic bit of understatement...
-- chris
- 4
- A scheduled java application?Hi,
I have a Linux box running Red Hat 9. There is a java application on
this box that is scheduled to run twice daily, once a night and once
in the morning.
My problem is that I do not know what java program is running or how
this java application is scheduled to run.
Initially I thought it must be a cron job running the java application
but I cannot find any listing for a java app in crontab.
If anyone has any ideas on how to find which java application is
running and where to find how it is being scheduled to run I would
really appreciate it.
Thanks
- 6
- 2D drawing library / painting programHi,
Does anyone know a good 2D painting program in Java with source? I
have to make a "conferance room" in Java where users can draw on a
shared whiteboard that they all can see. They have to be able to write
on it, draw rects, circles, freehand, fill with color, choose drawing
color etc. like the basic things you can do in any simple painting
programs like MS Paint. Im developing in JDK 1.4 so Java 2D is
available.
//Kasper, Denmark
- 6
- PKCS#10 support in Java.Hello
I am looking for some opensource Java library supporting PKCS#10 standard,
creating certificate signing request and processing answer from CA. I've
found Bouncycastle library, but it would be good to have support only for
PKCS#10, without other aspects of PKI. Do you know anything about such library?
Kubek
- 6
- Simple GUI application attempted.Some assistance in the development of a simple GUI application would
be appreciated.
Not long ago I completed a computer science degree, and right now I
want to get a bit more experience and confidence by trying to write
applications that are just a bit beyond what I had to write at
university. However, in the early stages of designing the application
that I have in mind, I have hit a brick wall. I can't write it the way
that I thought at first would work, because of the ColorModel classes
having no 'set' methods, so I'd like to know what _will_ work.
Please imagine the following scenario (this is not a description of
the application, but it is a simpler illustration of the same
problem). Suppose you are writing a graphical application that
simulates a digit on a traditional LCD display, as for example on
a handheld calculator. This should be achievable using a Raster that
encodes something akin to the following:
011110
200003
200003
044440
500006
500006
077770
and a changeable ColorModel, in which 0 always represents the
BACKGROUND colour and the other indexes 1 to 7 represent colours that
we will call ON and OFF. For example, if the digit to be displayed is
"4", then indexes 2, 3, 4 and 6 will be set to represent colour ON
whilst indexes 1, 5 and 7 will be set to represent colour OFF.
Similarly, if the digit to be displayed is "3", then indexes 1, 3, 4,
5 and 7 will represent ON and indexes 2 and 6 will represent OFF.
It would be nice if the ColorModel classes had 'set' methods, because
then you could make the relevant class (let's call it
DigitDisplayImage) a subclass of Image, and the rest would be elegant
and easy. But it doesn't, although I feel there _should_ be a similar
solution. Then you could write setIndex(int, Color) methods in the
DigitDisplayImage class, after which the following code example would
work to display the digit "4".
digitDisplay.setIndex(1, OFF);
digitDisplay.setIndex(2, ON);
digitDisplay.setIndex(3, ON);
digitDisplay.setIndex(4, ON);
digitDisplay.setIndex(5, OFF);
digitDisplay.setIndex(6, ON);
digitDisplay.setIndex(7, OFF);
This would be lovely.
In the absence of ColorModel classes with 'set' methods, how, in
practise, should I go about achieving a similar functionality? (In the
real application, the corresponding object needs a lot more than eight
index values and will be called upon to display far more than just
digits between 0 and 9, but I think it is better to discuss the
problem with reference to this simplified example.)
Thanks,
Adrian.
- 6
- How to pass an Array Attention Eric SosmanOne problem that I see is with the following.
for(int i = 0; i<len; i++)
{ a[i] = rand.nextInt(); // fill array with random num
System.out.println("a[" + i + "] = " + a[i]);}
return a;
}
The elements of an int array are initialized to 0. Because you have the
System.out.println and return statement within the body of the for
loop, the 1st element of the array will be set to a random int, and
then the array will be returned. When a return statement is executed,
the method exits at that point and nothing else in the method is
executed.
- 6
- Need help getting ant to runI'm running Windows ME. I downloaded the binary distribution of ant from
http://ant.apache.org/bindownload.cgi
I installed as directed. My path and ant_home variables seem to be set
correctly. When I try to run it by entering "ant -v", I get the following
message:
Apache Ant version 1.6.2 compiled on July 16 2004
Buildfile: build.xml does not exist!
Build failed
I searched for the file build.xml and it indeed does not exist. I'm sure
I'm just missing something really dumb and obvious, but please help me
anyway!
Thanks,
Maxine
--
mgusenet at pcg dot net
- 7
- TCHAR in c++ to string in javaHi-
I am developing file transfer application, the host is in c++ and the
client is in java. In c++ I am using win32_find_data to get all the
files list and i am sending it to the client through the stream.
The client will reads all the specified information, but i am getting
some blocks in the middle, I hope the problem will be at the reading
side. The host will sends the data in form of win32_find_data format,
and here i am reading the information, so i want how to process the
fileName which is the field of the structure win32_find_data, at the
client side (java side), should i use the charsetdecoder to convert the
type TCHAR(fileName) data to string at java???
Thanks in advance,
dwurity
- 11
- SPRY Collapsible Panels via Dreamweaver CS3I have a website with several Spry Collapsible Panels on each page. I
am trying to devise a way to have all the panels open before printing.
I believe I will need to use some kind of JavaScript to open all the
panels with a delay and then trigger a print function. Does anyone
have a good resource for doing this? Please help
- 16
- Digitally signing a J2ME application so that it runs in Operator domainWe are supplying a J2ME (Java) application to a mobile network
operator. We need it to be digitally signed so that it runs in the
Operator domain (as opposed to the Trusted Third Party, Manufacturer
or Untrusted domains). Can someone tell me the process for doing
this?
If there is a seperate process for each phone manufacturer, has anyone
gone through this process with Motorola, SonyEricsson or Nokia? What
are the details?
If the mobile operator needs to perform the process, that is fine, but
I still need to understand what they need to do.
Thanks.
- 16
- JSTL c:loop works but c:out doesn'tI have what I think is a weird config problem.
The following JSP
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<body>
<c:forEach var="i" begin="1" end="5" step="1">
<c:out value="${i}" />
<br />
</c:forEach>
</body>
</html>
produces:
${i}
${i}
${i}
${i}
${i}
instead of the expected
1
2
3
4
5
I'm on Tomcat 5.0
using JSTL 1.1.2
Placing jstl.lib and standards.lib in the app
tld files in app WEB-INF
which is defined in my web.xml
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
What could be wrong?
-Paul
|
| Author |
Message |
asjbiotek

|
Posted: 2007-6-30 11:25:00 |
Top |
java-programmer, Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
On Jun 29, 10:31 pm, Kurt <email***@***.com> wrote:
> In article <email***@***.com>,
>
> email***@***.com wrote:
> > This guy nailed it, although I think the iphone will just become like
> > any other smartphone as opposed to an outright flop, albeit a lot more
> > CRIPPLED because you actually can't do anything with it.
>
> LOL I'd love to repost this 6 months from now.
> We'll see how good your spinning skills are.
>
Perhaps you'd like to post valid arguments instead of vacuous taunts
to the writer of the article.
Since the iPhone has absolutely no application capability, no IM, no
email integration capabilities, and not even the ability to edit
documents or spreadsheets or powerpoint presentations, it
automatically won't affect the business smartphone market (thus, the
fact that Rim Blackberry shares went up by $34 today).
Since it does not play any of the thousands of consumer Java games and
apps (IM, messaging, picture sharing, social networking, etc) already
in the market today, it is also a crippled CONSUMER phones.
In other words, it's a pretty GUI with nothing underneath.
|
| |
|
| |
 |
gimme_this_gimme_that@yahoo.com

|
Posted: 2007-6-30 11:57:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
You're on the wrong track.
Most iPhone users have laptops. These aren't reasons not to buy an
iPhone.
Just wait for Apple's ultra slim MacBooks to come out.
> Since the iPhone has absolutely no application capability, no IM, no
> email integration capabilities, and not even the ability to edit
> documents or spreadsheets or powerpoint presentations, it
> automatically won't affect the business smartphone market (thus, the
> fact that Rim Blackberry shares went up by $34 today).
>
> Since it does not play any of the thousands of consumer Java games and
> apps (IM, messaging, picture sharing, social networking, etc) already
> in the market today, it is also a crippled CONSUMER phones.
>
> In other words, it's a pretty GUI with nothing underneath.
|
| |
|
| |
 |
asjbiotek

|
Posted: 2007-6-30 12:07:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
On Jun 29, 11:56 pm, "John" <email***@***.com> wrote:
> <email***@***.com> wrote in message
> The iPhone will be a tremendous success based on what I saw tonight at the
> Apple and ATT stores. Joe Sixpack wants it. Its appeal is not limited
> to techies.
J6P can't afford it....most people want a less than $100 phone.
It's actually pretty freaking funny when delusional macnuts here say
apple will "dominate" the cellphone industry...HELLLO????? There are
like 1 BILLION phones sold every year (forecast for iphone next year:
10 million), most growth being in Asia (esp China), where people
couldn't care less what an iPhone is, and where the most advanced
phones put the iPhone to shame because they are cool AND actually can
play games and applications..
Even in USA, there was actually a survey done that showed high
recognition of the iPhone, but when pressed about whether they would
consider BUYING it, a pretty low number said yes (I'll have to dig up
this stat).
Sure, it'll sell a lot, but the iPhone is never going to be as
successful as the iPod, as clearly elucidated by that writer.
And btw, there were like 10 people in the AT&T store near me. Not
exactly overwhelming numbers there...even a raving mac guy interviewed
in detroit said he was surprised there weren't more people in line.
|
| |
|
| |
 |
John

|
Posted: 2007-6-30 12:10:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
<email***@***.com> wrote in message
news:email***@***.com...
> On Jun 29, 11:56 pm, "John" <email***@***.com> wrote:
>> <email***@***.com> wrote in message
>> The iPhone will be a tremendous success based on what I saw tonight at
>> the
>> Apple and ATT stores. Joe Sixpack wants it. Its appeal is not
>> limited
>> to techies.
>
> J6P can't afford it....most people want a less than $100 phone.
>
> It's actually pretty freaking funny when delusional macnuts here say
> apple will "dominate" the cellphone industry...HELLLO????? There are
> like 1 BILLION phones sold every year (forecast for iphone next year:
> 10 million), most growth being in Asia (esp China), where people
> couldn't care less what an iPhone is, and where the most advanced
> phones put the iPhone to shame because they are cool AND actually can
> play games and applications..
>
> Even in USA, there was actually a survey done that showed high
> recognition of the iPhone, but when pressed about whether they would
> consider BUYING it, a pretty low number said yes (I'll have to dig up
> this stat).
>
> Sure, it'll sell a lot, but the iPhone is never going to be as
> successful as the iPod, as clearly elucidated by that writer.
>
> And btw, there were like 10 people in the AT&T store near me. Not
> exactly overwhelming numbers there...even a raving mac guy interviewed
> in detroit said he was surprised there weren't more people in line.
>
>
Joe Sixpack may not be able to afford it but hundreds of them were pulling
out their credit cards because THEY WANTED IT SO BAD. It will become
another "iPod" for Apple. No doubt!!!
|
| |
|
| |
 |
John

|
Posted: 2007-6-30 12:11:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
<email***@***.com> wrote in message
news:email***@***.com...
> On Jun 29, 11:56 pm, "John" <email***@***.com> wrote:
>> <email***@***.com> wrote in message
>> The iPhone will be a tremendous success based on what I saw tonight at
>> the
>> Apple and ATT stores. Joe Sixpack wants it. Its appeal is not
>> limited
>> to techies.
>
> J6P can't afford it....most people want a less than $100 phone.
>
> It's actually pretty freaking funny when delusional macnuts here say
> apple will "dominate" the cellphone industry...HELLLO????? There are
> like 1 BILLION phones sold every year (forecast for iphone next year:
> 10 million), most growth being in Asia (esp China), where people
> couldn't care less what an iPhone is, and where the most advanced
> phones put the iPhone to shame because they are cool AND actually can
> play games and applications..
>
> Even in USA, there was actually a survey done that showed high
> recognition of the iPhone, but when pressed about whether they would
> consider BUYING it, a pretty low number said yes (I'll have to dig up
> this stat).
>
> Sure, it'll sell a lot, but the iPhone is never going to be as
> successful as the iPod, as clearly elucidated by that writer.
>
> And btw, there were like 10 people in the AT&T store near me. Not
> exactly overwhelming numbers there...even a raving mac guy interviewed
> in detroit said he was surprised there weren't more people in line.
>
>
ATT Store got only a few phones(37 at my local store!) and told people that
only a few would be avialable. Each Apple Store GOT THOUSANDS!!!
|
| |
|
| |
 |
Todd Allcock

|
Posted: 2007-6-30 12:31:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
At 30 Jun 2007 03:25:17 +0000 email***@***.com wrote:
> Since the iPhone has absolutely no application capability, no IM, no
> email integration capabilities, and not even the ability to edit
> documents or spreadsheets or powerpoint presentations, it
> automatically won't affect the business smartphone market (thus, the
> fact that Rim Blackberry shares went up by $34 today).
Don't confuse hardware with software. Just because Apple didn't include
such things doesn't mean they can't add them if the unit doesn't live up
to expectations.
Hell, they could add an office suite to the same hardware and sell it as
the "iPhone Pro" for $100-200 more!
> Since it does not play any of the thousands of consumer Java games and
> apps (IM, messaging, picture sharing, social networking, etc) already
> in the market today, it is also a crippled CONSUMER phones.
Again, it's one JVM away from running your precious java apps. I use a
Windows Mobile phone from T-Mo, who left Java support off intentionally,
for whatever reason. I installed Intent's Midlet Manager eventually,
then realized there's no java app I really require (WM has native software
that works better for most tasks) so I removed the JVM to save storage
memory.
Java is great for "feature phones" with proprietary OSes, but WM, Palm or
Symbian phones get along fine without Java apps, as will the iPhone.
But, again, there's nothing inherently "java-incompatible" about the
iPhone except that Apple didn't deem such support necessary. If it's a
barrier to sales, they can squeeze out a JVM download if/when necessary.
> In other words, it's a pretty GUI with nothing underneath.
I'd say all of the "essentials" are there right out of the box. I'd wait
and see how this "widget" thing goes before shi--ing all over it's
expandability.
I have nothing against the iPhone except that it really brings nothing
new to cellphones except slick marketing and a pretty GUI.
|
| |
|
| |
 |
asjbiotek

|
Posted: 2007-6-30 12:56:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
On Jun 30, 12:31 am, Todd Allcock <email***@***.com>
wrote:
> Java is great for "feature phones" with proprietary OSes, but WM, Palm or
> Symbian phones get along fine without Java apps, as will the iPhone.
> But, again, there's nothing inherently "java-incompatible" about the
> iPhone except that Apple didn't deem such support necessary. If it's a
> barrier to sales, they can squeeze out a JVM download if/when necessary.
All Symbian and Linux phones have Java built-in (go to Symbian blogs
and most of the apps they talk about are Java apps), as does many new
Windows Mobile phones. The Blackberry is 100% Java. Most feature
phones also have it. The only exception in USA is Verizon, which has
Brew as the alternative.
As to apps, if you don't have Java, you lose out on the vast majority
of games and apps out there, which is why if you go to Windows Mobile
forums (especially when they first came out with no JVM) you kept
getting people trying to install it, a very funny situation since the
Microsoft people in there kept disparaging it anyways. I also find it
amusing to see windows mobile people keep installing Opera Mini or
Google Maps Mobile while others try to get them to switch. How's
Microsoft's Compact Dotnet Framework btw? LOL....
As to the iPhone, it's a useless pretty thing that is like a high-
priced hooker who just sits there doing nothing. Nice to look at, but
helpless in a pitch.
|
| |
|
| |
 |
Todd Allcock

|
Posted: 2007-6-30 14:00:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
At 30 Jun 2007 04:56:03 +0000 email***@***.com wrote:
> > Java is great for "feature phones" with proprietary OSes, but WM,
> > Palm or
> > Symbian phones get along fine without Java apps, as will the iPhone.
> > But, again, there's nothing inherently "java-incompatible" about the
> > iPhone except that Apple didn't deem such support necessary. If it's
> > a barrier to sales, they can squeeze out a JVM download if/when
> >necessary.
>
> All Symbian and Linux phones have Java built-in (go to Symbian blogs
> and most of the apps they talk about are Java apps), as does many new
> Windows Mobile phones.
True- I never said they didn't- I just tend to prefer "native apps."
Nothing against Java, but running a VM on a device is like running a DOS
program on a Windows PC- you can do it, if there's no alternative, but
running a "real" Windows program is usually preferable.
> As to apps, if you don't have Java, you lose out on the vast majority
> of games and apps out there, which is why if you go to Windows Mobile
> forums (especially when they first came out with no JVM) you kept
> getting people trying to install it, a very funny situation since the
> Microsoft people in there kept disparaging it anyways.
I've used it, it works fine, but it's, at least for me, fairly unnecessary.
> I also find it
> amusing to see windows mobile people keep installing Opera Mini or
> Google Maps Mobile while others try to get them to switch.
I'm amused as well, since Google's GMM for Windows Mobile works better
than the Java version, and Opera makes a better native browser for
Windows (Opera Mobile) that doesn't have the inherent security problem of
running all of my data through their proxy.
I find equally amusing that the two examples you came up with, which can
easily be considered two of the "killer apps" for java, exist in superior
native versions. Why should I run either program in a VM? It'd be
like running a Nintendo game on my PC in a emulator rather than simply
using the PC port of it!
> How's
> Microsoft's Compact Dotnet Framework btw? LOL....
Beats me, I could care less- I'm a user, not a developer. No program I
use has required me to install it, so my installed programs are either
using whatever version is already built into my MDA's ROM, or they don't
need it.
> As to the iPhone, it's a useless pretty thing that is like a high-
> priced hooker who just sits there doing nothing. Nice to look at, but
> helpless in a pitch.
I assume you meant "pinch."
Most of us, at least those of us old enough to have graduated beyond Game
Boys, get along fine without Java games.
I agree the iPhone is overpriced for what it offers, but it has a media
player, a camera, a browser, and e-mail. A decent feature set even
without the ability to play "Lemonade Tycoon."
There are plenty of reasons not to buy an iPhone, IMO, but lack of java
support isn't one of them. Java (for mobile phones) serves the same
purpose as Apple's browser Widgets- a way to develop for a device whose
manufacturer won't let you see what's behind the curtain.
--
Posted via a free Usenet account from http://www.teranews.com
|
| |
|
| |
 |
karlkrandall

|
Posted: 2007-6-30 16:05:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
On Sat, 30 Jun 2007 03:25:17 -0000, email***@***.com wrote:
>On Jun 29, 10:31 pm, Kurt <email***@***.com> wrote:
>> In article <email***@***.com>,
>>
>> email***@***.com wrote:
>> > This guy nailed it, although I think the iphone will just become like
>> > any other smartphone as opposed to an outright flop, albeit a lot more
>> > CRIPPLED because you actually can't do anything with it.
>>
>> LOL I'd love to repost this 6 months from now.
>> We'll see how good your spinning skills are.
>>
>
>
>Perhaps you'd like to post valid arguments instead of vacuous taunts
>to the writer of the article.
>
You're the one who posts insults when someone posts links proving what
a resounding success iPhone is.
http://www.engadget.com
|
| |
|
| |
 |
asjbiotek

|
Posted: 2007-6-30 20:58:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
On Jun 30, 1:59 am, Todd Allcock <email***@***.com> wrote:
> > All Symbian and Linux phones have Java built-in (go to Symbian blogs
> > and most of the apps they talk about are Java apps), as does many new
> > Windows Mobile phones.
>
> True- I never said they didn't- I just tend to prefer "native apps."
> Nothing against Java, but running a VM on a device is like running a DOS
> program on a Windows PC- you can do it, if there's no alternative, but
> running a "real" Windows program is usually preferable.
lol....Notice I never said that Java is somehow superior to native
apps for end-users in PCs.
To a consumer end user, there usually isn't (and should not be) any
difference.between the two (Since we're talking PCs, the fact is that
the some of most popular desktop apps are java apps - Limewire and
Azureus, to name two, although I agree Java on desktops has faltered,
unlike in server and mobiles, where it is strongly dominant).
The advantage overall is that to developers Java is a superior
development platform in general than creating native apps in terms of
ease of development, range of target markets, and safety.
> I'm amused as well, since Google's GMM for Windows Mobile works better
> than the Java version, and Opera makes a better native browser for
> Windows (Opera Mobile) that doesn't have the inherent security problem of
> running all of my data through their proxy.
Uh...DUH...since Google Maps Mobile for Windows (and also the Palm
version) was developed SPECIFICALLY for windows mobiles and Palms, I
would rather hope that it is somehow better than an app that was
developed for several hundred different models of cells, including
phones that have barely any memory. Please think before opening mouth,
it helps save spit.
You actually highlighted a FEATURE of java, not a disadvantage. The
ability to be able to write to an enormous range of devices and thus
blanket a market.
As to Opera Mobile, LOL, that must be the reason why so many users are
flocking to Opera Mini away from Opera Mobile (and all the Windows
Mobile browsers)...again, the speed of Opera Mini because of the
superior architecture is what makes the difference. The user honestly
does not care about anything else, whether the app is native or java
or whatever, so long as it renders their pages quickly and correctly
(and Opera Mini continues to improve leaps and bounds after every
version release on this score).
>Beats me, I could care less- I'm a user, not a developer. No program I
>use has required me to install it, so my installed programs are either
>using whatever version is already built into my MDA's ROM, or they don't
>need it.
Like i said, too bad you don't represent several billion other people
on this planet. I honestly don't give an owl's fart about what you do
or do not prefer. All I care about is that there is a huge target
market for my apps.
PS. CF dotnet was Microsoft's answer to Java ME...didn't do very
well ,,,ROTFLOL....
|
| |
|
| |
 |
Kurt

|
Posted: 2007-7-1 0:43:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
In article <email***@***.com>,
email***@***.com wrote:
> On Jun 29, 10:31 pm, Kurt <email***@***.com> wrote:
> > In article <email***@***.com>,
> >
> > email***@***.com wrote:
> > > This guy nailed it, although I think the iphone will just become like
> > > any other smartphone as opposed to an outright flop, albeit a lot more
> > > CRIPPLED because you actually can't do anything with it.
> >
> > LOL I'd love to repost this 6 months from now.
> > We'll see how good your spinning skills are.
> >
>
>
> Perhaps you'd like to post valid arguments instead of vacuous taunts
> to the writer of the article.
>
> Since the iPhone has absolutely no application capability, no IM, no
> email integration capabilities, and not even the ability to edit
> documents or spreadsheets or powerpoint presentations, it
> automatically won't affect the business smartphone market (thus, the
> fact that Rim Blackberry shares went up by $34 today).
>
> Since it does not play any of the thousands of consumer Java games and
> apps (IM, messaging, picture sharing, social networking, etc) already
> in the market today, it is also a crippled CONSUMER phones.
>
> In other words, it's a pretty GUI with nothing underneath.
Bwaaaaa..
--
To reply by email, remove the word "space"
|
| |
|
| |
 |
Kurt

|
Posted: 2007-7-1 0:46:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
In article <email***@***.com>,
email***@***.com wrote:
> On Jun 29, 11:56 pm, "John" <email***@***.com> wrote:
> > <email***@***.com> wrote in message
> > The iPhone will be a tremendous success based on what I saw tonight at the
> > Apple and ATT stores. Joe Sixpack wants it. Its appeal is not limited
> > to techies.
>
> J6P can't afford it....most people want a less than $100 phone.
iPhone data plan alone saves you $720 for 2 years over the standard PDA
data plan.
You've paid for your phone with this savings.
--
To reply by email, remove the word "space"
|
| |
|
| |
 |
asjbiotek

|
Posted: 2007-7-1 1:06:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
Kurt wrote:
> In article <email***@***.com>,
> email***@***.com wrote:
>
> > On Jun 29, 11:56 pm, "John" <email***@***.com> wrote:
> > > <email***@***.com> wrote in message
> > > The iPhone will be a tremendous success based on what I saw tonight at the
> > > Apple and ATT stores. Joe Sixpack wants it. Its appeal is not limited
> > > to techies.
> >
> > J6P can't afford it....most people want a less than $100 phone.
>
> iPhone data plan alone saves you $720 for 2 years over the standard PDA
> data plan.
> You've paid for your phone with this savings.
>
dude, i that $19 plan is a standard...that's what i have.
|
| |
|
| |
 |
William Michael Greene

|
Posted: 2007-7-1 1:20:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
<email***@***.com> wrote in message
news:email***@***.com...
>
> Kurt wrote:
>> In article <email***@***.com>,
>> email***@***.com wrote:
>>
>> > On Jun 29, 11:56 pm, "John" <email***@***.com> wrote:
>> > > <email***@***.com> wrote in message
>> > > The iPhone will be a tremendous success based on what I saw tonight
>> > > at the
>> > > Apple and ATT stores. Joe Sixpack wants it. Its appeal is not
>> > > limited
>> > > to techies.
>> >
>> > J6P can't afford it....most people want a less than $100 phone.
>>
>> iPhone data plan alone saves you $720 for 2 years over the standard PDA
>> data plan.
>> You've paid for your phone with this savings.
>>
>
> dude, i that $19 plan is a standard...that's what i have.
>
Then that is almost what you will pay for the data plan for the iPhone. $1
more.It will not be in addition to what you are paying for the data package
now.
I think if people hate the iPhone so much, don't get one. Why bother
spending time putting down the phone and people wanting one. Just be happy
with what you have and leave others alone.
'Oh well, I guess people have to have a cause to champion" .
It's just beyond me why people have to complain as if they are forced to get
one.
|
| |
|
| |
 |
Todd Allcock

|
Posted: 2007-7-1 2:08:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
At 30 Jun 2007 05:57:35 -0700 email***@***.com wrote:
> lol....Notice I never said that Java is somehow superior to native
> apps for end-users in PCs.
Yet you bash a phone for not supporting Java, even when it has it's own
apps available. Java is great for when there's no other alternative.
With more advanced phones it's basically a low-end phone emulator.
> To a consumer end user, there usually isn't (and should not be) any
> difference.between the two
Sure there is- there's yet another "layer" between the code and the
processor running it, which slows it down, or limits it's access to the
device's resources.
> (Since we're talking PCs,
Not really- I just used them as an analogy...
>the fact is that
> the some of most popular desktop apps are java apps - Limewire and
> Azureus, to name two,
Your dictionary must have a different definition of "popular" than mine.
"Word" is a popular desktop app- "Photoshop" is a popular desktop app.
BT clients don't really crack the top 50.
> although I agree Java on desktops has faltered,
> unlike in server and mobiles, where it is strongly dominant).
It's only dominant where there's no other realistic choice- there are too
many phones with proprietary OSes to develop for each one separately .
> The advantage overall is that to developers Java is a superior
> development platform in general than creating native apps in terms of
> ease of development, range of target markets, and safety.
Easier for YOU as a developer, but it results in a slower, less-
fulfilling app for the end-user. Again, that's fine for when there's no
other choice, like with a typical mobile, but why would I want to run an
app inside a VM on a Palm or WinMo device where native apps are available
to do the same job better or faster? Putting java on the iPhone would be
a marketing disaster- why "admit" the $600 iPhone has the same software
availability as a free Nokia 6030?
> > I' amused as well, since Google's GMM for Windows Mobile works better
> > than the Java version, and Opera makes a better native browser for
> > Windows (Opera Mobile) that doesn't have the inherent security
problem of
> > running all of my data through their proxy.
>
> Uh...DUH...since Google Maps Mobile for Windows (and also the Palm
> version) was developed SPECIFICALLY for windows mobiles and Palms, I
> would rather hope that it is somehow better than an app that was
> developed for several hundred different models of cells, including
> phones that have barely any memory. Please think before opening mouth,
> it helps save spit.
I'm not the one who's touting Java as the ultimate feature of a
cellphone, or implying it's the iPhone's achille's heel. If iPhone's
widgets accomplish the same task, end users won't care if it's Java or not.
> You actually highlighted a FEATURE of java, not a disadvantage.
Sometimes they're the same thing- backwards compatibilty is what held
back PCs for years- the DOS 640k limits, etc.
> The
> ability to be able to write to an enormous range of devices and thus
> blanket a market.
Just like with a BASIC interpreter in the 70's! How many "bestselling
programs" were written in BASIC?
> As to Opera Mobile, LOL, that must be the reason why so many users are
> flocking to Opera Mini away from Opera Mobile (and all the Windows
> Mobile browsers)...again, the speed of Opera Mini because of the
> superior architecture is what makes the difference.
It's not the "superior architecture" of Mini- it's the Opera servers
doing all the work! Some employers might not like having their data
funnelled through Opera! Opera Mini is really only widely used on WinMo
because it's free, and the best alternative on non-touchscreen devices
that can't run Mobile or Netfront.
> The user honestly
> does not care about anything else, whether the app is native or java
> or whatever, so long as it renders their pages quickly and correctly
> (and Opera Mini continues to improve leaps and bounds after every
> version release on this score).
I'm glad you're happy with it. I'll stick with Opera Mobile. Mini can't
render a corporate website I require access to for work, whereas Mobile
can. I don't have a choice (other than drag a laptop around with me!)
> >Beats me, I could care less- I'm a user, not a developer. No program I
> >use has required me to install it, so my installed programs are either
> >using whatever version is already built into my MDA's ROM, or they
don't
> >need it.
>
> Like i said, too bad you don't represent several billion other people
> on this planet.
I don't, because my phone runs a better OS. Java's for RAZRs and Nokia
series 40 phones.
> I honestly don't give an owl's fart about what you do
> or do not prefer.
Really? I sometimes lie awake at night worried about your preferences...
> All I care about is that there is a huge target
> market for my apps.
Which proves your concern about the iPhone's lack of Java support is more
about your needs, not the needs of iPhone users. Thanks for clearing
that up for us!
>
> PS. CF dotnet was Microsoft's answer to Java ME...didn't do very
> well ,,,ROTFLOL....
You seem to be the only one here "LOL"ing at yourself.
Again, I'm not a developer, so it's not my problem- it's yours. Good
luck porting your apps to Safari widgets. As of today, there's
apparently a new market of a few hundred thousand phone users you have
nothing to sell to...
--
Posted via a free Usenet account from http://www.teranews.com
|
| |
|
| |
 |
Todd Allcock

|
Posted: 2007-7-1 2:22:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
At 30 Jun 2007 09:45:58 -0700 Kurt wrote:
> iPhone data plan alone saves you $720 for 2 years over the standard PDA
> data plan.
Except it isn't a PDA!
> You've paid for your phone with this savings.
And maybe have enough left over to buy a PDA!>
|
| |
|
| |
 |
asjbiotek

|
Posted: 2007-7-1 4:18:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
Todd AllcockNoBalls wrote:
> Yet you bash a phone for not supporting Java, even when it has it's own
> apps available.
actually i bash phones that are so crippled they cannot take advantage
of the largest library of apps out there.
>Java is great for when there's no other alternative.
must be news to all those large companies who are heavily java like
google, ebay, and probably 80% of all financial institutions in the
world. The nasdaq is even moving to real time java...
> yet another "layer" between the code and the
> processor running it, which slows it down, or limits it's access to the
> device's resources.
there are both benefits and disadvantages to that obviously. and yet
there are many studiesthat show java surpassing even C++ in speed.
>
Your dictionary must have a different definition of "popular" than
mine.
>
hello??? i suggest getting off ur ass and looking them up because
they are two of the most popular apps out there, more so than
photoshop in terms of usage.
> there are too
> many phones with proprietary OSes to develop for each one separately .
hey, no kidding allcock and noballs. that's what it was meant for....a
way to write across devices.
> Easier for YOU as a developer, but it results in a slower, less-
> fulfilling app for the end-user.
1. it's better for all because the market for apps becomes very large
and consumers get lots of choice.
2. Please show me some studies that indicate large consumer
dissatisfaction. in fact, i can show u a hell lot more people
complaining about windows mobile in general than their apps.
> app inside a VM on a Palm or WinMo device where native apps are available
hey ballsie, maybe it's because there are not that many native apps
available? Is it our fault windows on mobiles are so niche that not
that many write to it? maybe if the phones actually didn't crash every
minute running native apps more peopl would use it.
> why "admit" the $600 iPhone has the same software
> availability as a free Nokia 6030?
hey cockhead, maybe because THEN it would NOT run much LESS apps than
free phones?
>the iPhone's achille's heel. If iPhone's
> widgets accomplish the same task, end users won't care if it's Java or no
ayah, ballcock, seen any 3d widget games lately? any IM widgets on
phones?
>
> Just like with a BASIC interpreter in the 70's! How many "bestselling
> programs" were written in BASIC?
hey mr ballcock, u do know there are more than desktop apps nowadays
right? and btw, java runs on more than 3.5 billion devices today, from
set top boxes and tivos, to blu ray high definition discs, to SIM
cards on ur phone and the security and health cards of the US military
and several entire countries, to servers running the biggest
businesses today hell more than basic in the 70s....
> I don't, because my phone runs a better OS. Java's for RAZRs and Nokia
> series 40 phones.
then i suggest telling that to the tons of users on high end nokia and
windows and linux phones running java apps. like i said, i don't give
a ballcock what u want or don't want. the market says differently.
lol.
btw, i wouldn't call an unstable os like windows mobile a "better os"
than pretty muc.h any other os out there.
> You seem to be the only one here "LOL"ing at yourself.
>
i'm lolling at u, mr cock and no balls.lol
>Good
> luck porting your apps to Safari widgets. As of today, there's
> apparently a new market of a few hundred thousand phone users you have
> nothing to sell to...
you ever heard of webapps? iphone users will just have to make do with
less feature-laden html i guess they'll just have to wait several
minutes for the pages to show up....
* getting ready to watch movie while tapping on my opera mini
|
| |
|
| |
 |
ed

|
Posted: 2007-7-1 4:19:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
"Todd Allcock" <email***@***.com> wrote in message
news:46868fdc$0$16386$email***@***.com...
> At 30 Jun 2007 05:57:35 -0700 email***@***.com wrote:
>
>> lol....Notice I never said that Java is somehow superior to native
>> apps for end-users in PCs.
>
> Yet you bash a phone for not supporting Java, even when it has it's own
> apps available. Java is great for when there's no other alternative.
> With more advanced phones it's basically a low-end phone emulator.
even with more advanced phones, it's good to have java available, because
the app you want may not have a native version available. for example, with
the iphone, the native google maps app is obviously the prefereable choice-
however, on the same phone, the java gmail app *would* be a much better
choice than the web based mobile gmail, but it's not an option, and there's
also no native version.
<snip>
|
| |
|
| |
 |
Mitch

|
Posted: 2007-7-1 5:38:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
In article <email***@***.com>, Kurt
<email***@***.com> wrote:
> > Perhaps you'd like to post valid arguments instead of vacuous taunts
> > to the writer of the article.
> >
> > Since the iPhone has absolutely no application capability, no IM, no
> > email integration capabilities, and not even the ability to edit
> > documents or spreadsheets or powerpoint presentations, it
> > automatically won't affect the business smartphone market (thus, the
> > fact that Rim Blackberry shares went up by $34 today).
> >
> > Since it does not play any of the thousands of consumer Java games and
> > apps (IM, messaging, picture sharing, social networking, etc) already
> > in the market today, it is also a crippled CONSUMER phones.
> >
> > In other words, it's a pretty GUI with nothing underneath.
>
> Bwaaaaa..
I like this guy's criticism of 'vacuous taunts' -- and then 9 (!)
silly and exaggerated taunts of the device.
He is totally wrong about not integrating e-mail, which shows just how
informed he is.
He notes, oddly, that it cannot edit a spreadsheet. He doesn't seem to
be aware that reading a file is the most important function.
He foolishly ignores all the included apps just to cite that it won't
play someone else's programs. (So what? It has the major apps already!)
He (extremely foolishly) suggests it has nothing underneath this pretty
GUI. Everyone who has heard anything about it knows that isn't true --
every single demonstration shows it doing stuff.
Apparently, for this guy, Apple's apps and designs just aren't ever
enough. He must be a Windows or Linux user, trained to think he needs
to fix everything to get basic operations out of it.
|
| |
|
| |
 |
Mitch

|
Posted: 2007-7-1 5:55:00 |
Top |
java-programmer >> Apple Flops: iPhone will flop like Mac Mini, Cube, Newton, etc, etc
In article <46868fdc$0$16386$email***@***.com>, Todd Allcock
<email***@***.com> wrote:
> > Like i said, too bad you don't represent several billion other people
> > on this planet.
Neither does ANYTHING you have ever said.
Let's not get stupid -- at the very very highest, you MAY be talking
about a few million potential users.
NEVER "several billion," dummy.
> > All I care about is that there is a huge target
> > market for my apps.
Aha; you aren't criticizing what you perceive as a real missing feature
for users, then. You're just annoyed that everyone doesn't make more
customers for YOU.
Well, since that has been the case in every industry for all time, you
get no sympathy at all.
> > PS. CF dotnet was Microsoft's answer to Java ME...didn't do very
> > well ,,,ROTFLOL....
It doesn't take much to entertain the simple.
No, .Net was not an answer to Java. That's not just an
oversimplification, it's a foolish conclusion.
> As of today, there's
> apparently a new market of a few hundred thousand phone users you have
> nothing to sell to...
And rather than do some work, he's going to whine about it and tell
people that Apple screwed up.
Even though he never had any reason to assume phone makers would always
support Java, he's going to pretend everyone has that obligation.
Apparently, if it makes sense to him, it's stupid for anyone else to
decide otherwise.
Sounds like a lot of Windows users in here. They accept it, many others
do, and therefore it must be good enough and good enough for everybody.
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- 1.5 ignoring networkaddress.cache property?I've noticed that 1.5 seems to be ignoring the value set for
networkaddress.cache.negative.ttl in
$JAVA_HOME/jre/lib/security/java.policy when a DNS request times out.
In one of my forms I validate user-provided URLs by trying to fetch them
and ensuring I get a reasonable response (e.g., not 404, 403, 500, etc).
If the DNS request for the hostname in the URL times out once, the JRE
never tries a lookup again. I've verified that it isn't asking by
snooping DNS traffic on my loopback with tcpdump.
Positive lookups do cache properly. Negative lookups that *don't* time
out (ie, they get an NXDOMAIN response) also seem to obey the
networkaddress.cache.negative.ttl property.
So the behaviour seems to be that a DNS timeout is cached forever, whereas
postive or negative responses are cached according to
networkaddress.cache.*.
Nick
--
"Courage isn't just a matter of not being frightened, you know. It's being
afraid and doing what you have to do anyway."
Doctor Who - Planet of the Daleks
This message has been brought to you by Nick Johnson 2.3b1 and the number 6.
http://healerNick.com/ http://morons.org/ http://spatula.net/
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
- 2
- Using Java To Implement RSA AlgorithmHi I'm looking for SOME advice on how to simulate the following:
http://i71.photobucket.com/albums/i140/carpinate/RSA.jpg
http://i71.photobucket.com/albums/i140/carpinate/RSA2.jpg
Ive done this so far:
package RSAalgorithm;
public class SecurityAlgorithm {
public static char[] StartSymbolic =
{'A','B','C','D','E','F','G','H','I','J',
'K','L','M','N','O','P','Q','R','S','T',
'U','V','W','X','Y','Z'};
public static int[] numeric =
{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,
16,17,18,19,20,21,22,23,24,25,26};
public static void main(String[] args) {
long P3 = 0;
long P3mod33=0;
long C7=0;
long C7mod33=0;
for(int counter = 0; counter < numeric.length; counter++){
for(int i = 0; i < StartSymbolic.length; i++) {
int temp = numeric[counter];
P3 = (long) (temp*temp*temp);
P3mod33 = P3%33;
C7 = (long)
(P3mod33*P3mod33*P3mod33*P3mod33*P3mod33*P3mod33*P3mod33);
int tp = numeric[counter];
C7mod33 = C7%33;
}
System.out.println("*******************************************");
//System.out.println(StartSymbolic[i]);
System.out.println("Numeric: " +
numeric[counter]);
System.out.println("P3: " +P3);
System.out.println("P3mod33: " + P3mod33);
System.out.println("C7: " +C7);
System.out.println("C7mod33:" + C7mod33);
// System.out.println(StartSymbolic[i]);
System.out.println("*******************************************");
}
}
}
Output:
*******************************************
Numeric: 1
P3: 1
P3mod33: 1
C7: 1
C7mod33:1
*******************************************
*******************************************
Numeric: 2
P3: 8
P3mod33: 8
C7: 2097152
C7mod33:2
*******************************************
*******************************************
Numeric: 3
P3: 27
P3mod33: 27
C7: 10460353203
C7mod33:3
*******************************************
*******************************************
Numeric: 4
P3: 64
P3mod33: 31
C7: 27512614111
C7mod33:4
*******************************************
*******************************************
Numeric: 5
P3: 125
P3mod33: 26
C7: 8031810176
C7mod33:5
*******************************************
*******************************************
Numeric: 6
P3: 216
P3mod33: 18
C7: 612220032
C7mod33:6
*******************************************
*******************************************
Numeric: 7
P3: 343
P3mod33: 13
C7: 62748517
C7mod33:7
*******************************************
*******************************************
Numeric: 8
P3: 512
P3mod33: 17
C7: 410338673
C7mod33:8
*******************************************
*******************************************
Numeric: 9
P3: 729
P3mod33: 3
C7: 2187
C7mod33:9
*******************************************
*******************************************
Numeric: 10
P3: 1000
P3mod33: 10
C7: 10000000
C7mod33:10
*******************************************
*******************************************
Numeric: 11
P3: 1331
P3mod33: 11
C7: 19487171
C7mod33:11
*******************************************
*******************************************
Numeric: 12
P3: 1728
P3mod33: 12
C7: 35831808
C7mod33:12
*******************************************
*******************************************
Numeric: 13
P3: 2197
P3mod33: 19
C7: 893871739
C7mod33:13
*******************************************
*******************************************
Numeric: 14
P3: 2744
P3mod33: 5
C7: 78125
C7mod33:14
*******************************************
*******************************************
Numeric: 15
P3: 3375
P3mod33: 9
C7: 4782969
C7mod33:15
*******************************************
*******************************************
Numeric: 16
P3: 4096
P3mod33: 4
C7: 16384
C7mod33:16
*******************************************
*******************************************
Numeric: 17
P3: 4913
P3mod33: 29
C7: 17249876309
C7mod33:17
*******************************************
*******************************************
Numeric: 18
P3: 5832
P3mod33: 24
C7: 4586471424
C7mod33:18
*******************************************
*******************************************
Numeric: 19
P3: 6859
P3mod33: 28
C7: 13492928512
C7mod33:19
*******************************************
*******************************************
Numeric: 20
P3: 8000
P3mod33: 14
C7: 105413504
C7mod33:20
*******************************************
*******************************************
Numeric: 21
P3: 9261
P3mod33: 21
C7: 1801088541
C7mod33:21
*******************************************
*******************************************
Numeric: 22
P3: 10648
P3mod33: 22
C7: 2494357888
C7mod33:22
*******************************************
*******************************************
Numeric: 23
P3: 12167
P3mod33: 23
C7: 3404825447
C7mod33:23
*******************************************
*******************************************
Numeric: 24
P3: 13824
P3mod33: 30
C7: 21870000000
C7mod33:24
*******************************************
*******************************************
Numeric: 25
P3: 15625
P3mod33: 16
C7: 268435456
C7mod33:25
*******************************************
*******************************************
Numeric: 26
P3: 17576
P3mod33: 20
C7: 1280000000
C7mod33:26
*******************************************
I was looking to achieve what is shown in the 1st image.
I can get the numeric, P3, P3mod33, C7, C7mod33 to print out but not
the symbolic information for some reason?
I want to be able to allow the user to enter in a string then the
plaintext and ciphertext can be displayed.
Like this:
String input: SUZANNE
Output:
Plaintext: S U Z A N N E
Ciphertext: 28 21 20 1 5 5 26
Thanks.
- 3
- Does it usually take a day for post to appear??I have posted a thread yesterday and although the message told me that
my post will appear "momentarily" it didn't appear until today. I have
posted a reply to the psot and I have now waited for at least 4-5hours
and it hasn't appeared yet. I have posted in other forums before and
it took usually 15 minutes or less for the psot to appear. Is it
normal for this forum that it takes a day or two?
I just want to know which VM to install for Swing for IE. I am using
Borland JBuilder 2006. If anyone happens to look at this before I get
any replies for the other posts.
Thanks for any help.
- 4
- variable "retriever" might not have been initialized - confused[CODE]
String message = "", send = "", quit = "", errorMsg = "", cookie =
"";
boolean hasSubmittedMessage;
HTMLRetriever retriever;
// SEND MESSAGE TO SERVLET
if (hasSubmittedMessage && send.length() > 0) {
try { // USING NEW VERSION OF URLEncoder.encode() THAT REQUIRES
try{} BLOCK DUE TO NEW 2ND PARAMETER OF ENC-TYPE
retriever = new HTMLRetriever(ChatGlobals.SERVLET_SELF +
"/ppowell.ChatServlet?message=" +
URLEncoder.encode(message, "UTF-8") +
"&nickname=" +
URLEncoder.encode(cookie, "UTF-8")
); // SEND MESSAGE
} catch (UnsupportedEncodingException uee) {
errorMsg = "Error involving message submittal: " + uee.toString();
} catch (Exception e) {
errorMsg += "Unknown error: " + e.toString();
}
} else if (hasSubmittedMessage && quit.length() > 0) {
try { // USING NEW VERSION OF URLEncoder.encode() THAT REQUIRES
try{} BLOCK DUE TO NEW 2ND PARAMETER OF ENC-TYPE
retriever = new HTMLRetriever(ChatGlobals.SERVLET_SELF +
"/ppowell.ChatServlet?message=" +
URLEncoder.encode("/q", "UTF-8") +
"&nickname=" +
URLEncoder.encode(cookie, "UTF-8")
); // SEND "QUIT" COMMAND
} catch (UnsupportedEncodingException uee) {
errorMsg += "Error involving message submittal: " + uee.toString();
} catch (Exception e) {
errorMsg += "Unknown error: " + e.toString();
}
}
try {
if (retriever.getHTML() != null && quit.length() > 0)
out.println("<script type=\"text/javascript\">\n<!--
self.parent.close();\n//-->\n</script>\n");
} catch (Exception e) {} // DO NOTHING
// STUFF
[/CODE]
Produces this error:
[ERROR]
/~ppowell/includes/chat_submit_message.jsp:63: variable retriever might
not have been initialized
if (retriever.getHTML() != null && quit.length() > 0)
[/ERROR]
I can't figure out why since I'm capturing all errors because
"retriever" might not be initialized, which is the case if
hasSubmittedMessage = false. You see, if the user hasn't yet submitted
a message, nothing can be sent to the servlet, thus, the HTMLRetriever
variable "retriever" will not be initialized into a class object
because it can't unless it receives a value, which it can only do so
upon the right conditions, otherwise, no value can be passed into
"retriever".
Anyone know what I can do about this? I'm sorry but once again in PHP
this is not a problem, and I'm sorry but I have no choice but to
"translate" PHP scripts into JSP due to client dropping PHP support.
Thanx
Phil
- 5
- Problem understanding a java statement!Please could somebody help me understand what this statement is doing,
k = (k1 > s0) ? k1 : s0;
what is this statement doing?
what will k be equal to if
k1 = 3 and s0 = 2 ?
- 6
- JTable model's issueHi:
I have got a JTable and its cells are JPanel's (to make Java2D inside)
displaying numbers.
The problem is that I want the cells to be editable, so when you click on
the cell, you could write some number, and the new one be redisplayed.
I wrote a method called setValue() on the AbstractTableModel class which
updates the selected JPanel numerical value, but there is a little problem:
when you click a cell, you get a line full of info about the JPanel, so if
you want to enter a number, you have to clear the cell to avoid getting an
error.
so the question is, is there a way to avoid the info to get displayed? note
that my AbstractTableModel getValue() method needs to return a JPanel..
Thanks !!
--
PGR
- 7
- String ManipulationAlternatively, if you have the ability to change the XML, put them as
two separate fields in the XML. After all, the use of a comma is a
means of overloading the field.
On Jul 13, 8:57 am, "email***@***.com" <email***@***.com> wrote:
> Hey everyone, I have a string that is returned from an xml file as two
> coordinates for example 23.424242,42.13131 exactly like that with no
> spaces, what is a way to break it into two seperate integers?
- 8
- Initialization order brain-damageHi y'all,
So after spending a particularly frustrating afternoon debugging
through constructors and browsing the Java Language Specification 3.0
in some detail, I have come to the conclusion that I actually know
nothing and need to ask a question:
What is the standard order of evaluation of expressions during object
construction w/rt constructors, super-constructors, and instance
variable initializers? Specifically with the code:
class A
{
AType a1 = new AType();
A() { aDoesSomething(); }
}
class B extends A
{
AnotherType b1 = new AnotherType();
B() { bDoesSomethingElse(); }
}
B bongo = new B();
when do all of the various bits get executed? If there's a section of
the language spec that tells me this, I would really appreciate the
pointer, as well...
david rush
- 9
- looking for a Java decompilerHello!
Is there a good byte-code de-compiler in the ports? It does not
need to be fancy/GUI -- just a straghtforward .class->.java utility.
Thanks for any pointers. Thanks!
-mi
- 10
- Bind to a specific interface
Hello:
One of my peers just asked if there is a way to
bind a socket to a specific interface on a dual
homed machine in a Java Application. I believe there
is but I cannot find this documented. Could someone
forward me a pointer to where this is described?
Thanks,Steve
- 11
- GUI designed with NetBeans 4.1 has repaint issuesI used netbeans to make a few forms, and all the components seem to
vanish anytime an event happens. For instance, if I select an item in
a comboBox all of the components disappear until I select each one
(via tab/shift-tab).
Any ideas?
Thanks in advance,
Zach
- 12
- How to separate interface from implementation when using JARs?Hi,
In an engineering world where I used to be working with C++ I am now
shiftnig to Java. In C++ I would publishe my interfaces in header
files. In Java I can use the interface concept.
However this is not sufficient for me. I want to be able to full
separate the implementation from the interface of e.g. a class method.
Example:
public interface MyMath {
- 13
- [Quantian-general] Weka Machine Learning Environment
Bob,
[ BTW I had to manually approve your post as you're not (yet ?) subscribed
here -- please consider subscribing to that you can post directly. ]
On 5 November 2005 at 12:09, email***@***.com wrote:
| I would be very interested in seeing the Weka machine learning environment
| added to a live-DVD, such as Quantian. Weka is a powerful, open-source
| data mining package with many artificial intelligence algrorithms, created
| at the University of Waikato in New Zealand. It is written in Java, and so
Sure, I'm aware of Weka and their book, but have never installed it as I find
Java so tedious to work with.
I also have limited time and bandwidth for figuring out suggested packages.
If you could help with Weka, for example by installing Knoppix 4.0.2
(possibly the cdrom version) to disk and then documenting what you to do to
install Weka, and make it work well, I'd be helped quite a bit. Ideally, of
course, would be a Debian package encapsulating all this. It may be
worthwhile mentioning this to the good folks over at debian-java -- cc'ed. [
Debian-java'ers, please CC us back directly on follow-ups. ]
| is platform independent. There is also a version that can be set up in a
| cluster configuration, called Cluster Weka.
I didn't know that. What messaging toolkit do they use? Something like PVM or
LAM, or something homegrown?
| If you are interested, the website is:
|
| http://www.cs.waikato.ac.nz/ml/weka/
|
| Your work on the Quantian project is marvelous, and I applaud your efforts,
| and your contribution to the open-source community.
Thanks for your interest in Quantian, and the kind words.
Cheers, Dirk
| Bob McPherson
|
|
| _______________________________________________
| Quantian-general mailing list
| email***@***.com
| http://lists.alioth.debian.org/mailman/listinfo/quantian-general
--
Statistics: The (futile) attempt to offer certainty about uncertainty.
-- Roger Koenker, 'Dictionary of Received Ideas of Statistics'
--
To UNSUBSCRIBE, email to email***@***.com
with a subject of "unsubscribe". Trouble? Contact email***@***.com
- 14
- modificare un modello della libreria jgraphAvete mai usato la libreria jgraph per i vostri progetti?
Devo graficare lo schema di un datawarehouse che ho in XML, e modificarlo
attraverso l'interazione dell'utente (per la modifica e la visualizzazione
sto cercando di usare jgraph).
Una volta modificato il grafico, devo salvare i dati nel file XML.
Il mio problema ?che riesco a visualizzare i dati XML nel grafico Jgraph, e
modificare quest'ultimo, ma a causa delle classi utilizzate
(DefaultGraphCell) non riesco a salvare queste trasformazioni in termini di
nodi del file XML.
Dalla documentazione in rete ho capito che devo estendere e modificare la
classe GraphModel e la classe DEfaultGraphCell, ma senza un esempio o
documentazione precisa non riesco a capire quali metodi devo sovrascrivere
e cosa devo modificare per ottenere il risultato voluto.
Per questo motivo sono bloccato da giorni nella mia tesi, e ci sto perdendo
un
po' la testa, vi prego di darmi una mano (anche dirmi dove devo leggere).
Grazie in anticipo!
- 15
- Spring and hibernate: all these jars?All,
just downloaded the latest spring RC. I've set up a super simple test, and
had to work through a lot of classpath issues, starting with just the
spring, logging, and hibernate jars and then adding jars to the classpath
until the errors went away. here's what i finally ended up with. Does this
look correct?
I'm not so much concerned about it if it's really what's needed, but I don't
want to run into conflicts and such down the road. So mostly i'm worried i
might have screwed something up. Here's what I have (from eclipse):
<classpathentry kind="lib" path="lib/activation.jar"/>
<classpathentry kind="lib" path="lib/antlr-2.7.6.jar"/>
<classpathentry kind="lib" path="lib/c3p0-0.9.1-pre6.jar"/>
<classpathentry kind="lib" path="lib/commons-collections-2.1.1.jar"/>
<classpathentry kind="lib" path="lib/commons-lang-2.1.jar"/>
<classpathentry kind="lib" path="lib/commons-logging-1.1.jar"/>
<classpathentry kind="lib" path="lib/dom4j-1.6.1.jar"/>
<classpathentry kind="lib" path="lib/ehcache-1.2.jar"/>
<classpathentry kind="lib" path="lib/hibernate3.jar"/>
<classpathentry kind="lib" path="lib/cglib-nodep-2.1_3.jar"/>
<classpathentry kind="lib" path="lib/jta.jar"/>
<classpathentry kind="lib" path="lib/jtds-1.2.jar"/>
<classpathentry kind="lib" path="lib/log4j-1.2.13.jar"/>
<classpathentry kind="lib" path="lib/spring.jar"/>
|
|
|