What I'm wondering is why anyone would ask such a question during a job interview in the first place...
And if they did, why they'd put it in such terrible English.
What I'm wondering is why anyone would ask such a question during a job interview in the first place...
And if they did, why they'd put it in such terrible English.
Think of what you're trying to do...
The jsp:include tag includes the result of running a JSP through the JSP engine at runtime.
You're trying to pull an XML file through the JSP engine, it won't be able to handle that very well.
OpenOffice is the best. Not that happy with it myself but it's the best out there.
MS Works is cheaper than office, and office itself comes in different flavours at different prices.
As she's a student she can almost certainly get a very cheap license herself through her university or whatever.
Check whether your license expired, most if not all virus scanners are sold on a subscription basis and will disable themselves when your subscription expires.
Whatever you do, steer far far away from Norton.
Personally I'd suggest Kaspersky for overall quality but it may be a tad heavy.
Do your own homework. We're not here to help lazy kids.
>>Maybe Narue would get them too were she a decade younger.
>I'm not that much older than Dani, you know.
True, but to the kind of person I was referring to the difference is huge :)
Small recap:
- full integration of Delphi, C#, and C++ in a single product. You can have project groups containing projects in all 3 languages and have them work together seemlessly.
- yes, you get Delphi32, Delphi .NET, C++, and C# compilers all for the price of one. The product may be called Delphi but it's C# Builder and C++ Builder as well.
- ECO III will be in all versions, only restriction on the Pro version is that you won't be able to save to an RDBMS (it's limited to XML serialization).
- full integration of Together for Delphi and C# in the Enterprise and Architect versions. Seemless code-model transition.
Many of the new editor features (code folding, templating, automatic insertion of begin-end blocks, etc. etc.) we know from JBuilder 2005 are now included as well.
A very nify new feature demonstrated were visual clues on the form designer showing you how your components line up.
When vertical or horizontal lineup is nearly achieved you get a bar helping you get it perfect. No more messing with selecting controls and using the context menu to line them up.
Similar with control margins (NEW!!). Set the margins (if you don't like the defaults) and a clue will appear when you have the control set to the proper distance from the previous one. When inserting a control into another one, it will autosize to respect those margins where needed.
NEW controls for …
Rep is overrated anyway.
Unless you respect the opinion of the person telling you you done good (or bad) who cares what they think of you?
In my experience on most sites it's used either as a popularity contest (people giving their friends good rep, everyone else bad) or to cuddle up to the bosses (hi Dani ;)).
Don't be surprised at the "I love you" comments. You look good, and are a girl in an environment dominated by boys with an overload of hormones and a lack of girls overall.
Maybe Narue would get them too were she a decade younger.
The best selling beginners' book at the moment is "Head First Java" by Kathy Sierra and Bert Bates, published by O'Reilly.
You need nothing more than the JDK (which you can get from Sun at http://java.sun.com) and a text editor.
Don't start using an IDE until you know the language and are proficient in using the commandline compiler and runtime.
Never use a null layout!
jList1 = new JList(data);
jScrollPane1.getViewport().add(jList1);
This should work. You might want to add a minimum size as well to prevent the list from being made smaller and smaller when there's few items in it (until it disappears when there are no items).
jList1.setMinimumSize(new Dimension(100,100));
Lots of them, probably most of them. Strikers in general aggressive and spurred on by militant union functionaries, especially towards their colleagues who don't support them, which often leads to confrontations and people ending up getting bullied, cars getting damaged, etc. etc.
Less frequently company property gets sabotaged or vandalised.
If I were you I'd start with using proper Java naming conventions, so variable and method names using CamelCase and starting with a lowercase letter, class and interface names similar but starting with an uppercase letter.
Also use meaningful names for your variables and members to make it easier to comprehend what's going on.
What is "Calculate", what is "Reset", etc. etc.?
Are you sure you're intending to use a comparison of the reference values there rather than a comparison of content?
Are you sure that your math is correct? Isn't there an implicit cast somewhere which is causing you to loose precision?
only reason you should ever sue them is if they do something illegal, like not pay your salary.
If you do otherwise you'll get branded a troublemaker which will hurt your career chances for years if not decades.
Remember it's a relatively close knit industry, many people (especially at management levels) know each other and things like that talk around.
I am constantly surprised when at trade shows and fairs about the number of people who don't know me but do know the owner of the company I work for from some social function or earlier professional contact.
You'll have to read in the entire file (that's the way a URL works), parse it, and distribute the lines yourself.
Game development will burn you out very quickly.
Game companies hire very young people fresh out of college and university for a reason, and that's because experienced people aren't going to work themselves to death (sometimes literally) for a rather meagre salary.
Expect 12 hour work days as standard, getting up to 20 hours during crunchtime (which will be most of the time).
At the same time expect no overtime pay, and no more benefits than anyone else working a real work schedule.
Certs no longer get you a job, there are so many useless ones that they're no longer a sign of excellence.
What SOME certs will do is get you a foot in the door, get your CV past that first screening in which all the obvious crap is thrown in the paper shredder.
After I got my SCJP 1.4 cert earlier this year (and started working on SCJD) and updated my online CV I noticed a marked increase in headhunters cold calling me.
This may well have been chance though as the economy started to slowly thaw out of the deep freeze of the last 4 years at around the same time, but it can't have hurt.
Now those are relatively rare certs (especially SCJD) around here.
The same doesn't hold for MCSE and MCSD, those are so common and useless that there are companies (and I used to work for one) who won't even invite anyone who has them unless they also have 5+ years' experience (of course I now have 10 years' experience with my SCJP so that helps a lot as well).
There are so many MCSE holders out there who don't know an RJ45 connector from a DIMM that the cert has lost all value.
Check out the documentation, there's books been written about it.
Ugly? Swing Metal is very nice indeed, and Swing has fully pluggable LAF so you can create your own if you want to.
The package shows it to be a custom class from someone.
cluck :)
happy turkey day to all Americans, and happy thanksgiving to all turkeys elsewhere :)
not many people do.
Remember history is written by the winning party in any war and they will generally portray the loosing party as the greatest villains of all time, completely obscuring anything positive about them.
Even now, were I to write that in most European magazines or books I'd be accused of being a Nazi and might even get arrested for it. Any non-negative commentary about Hitler is actively suppressed here.
Without seeing the code that is mentioned in the stacktrace it's impossible to say more, but it sounds like a method is being called with a null argument where that's illegal.
Seen in the context of his time his ideas (at least his initial ideas, later he went a bit overboard to put it mildly) made a lot of sense.
Germany had been disgraced, he wanted to make Germans proud of their country and its heritage again.
Unemployment was skyhigh, he provided jobs in large numbers.
German infrastructure was seriously ignored after WW1, he constituted large programs to improve that.
Germans were given vacations, decent work conditions, etc. for the first time under Hitler.
German industry was neglected under Weimar, it was made strong again and innovative.
Increased focus on self-reliance as a nation meant the country became less dependent on food imports among other things.
Germany was the first nation to start nonstop transatlantic air travel under Hitler (using the Zeppelins), a little recognised feat.
Hitler's rule lifted Germany out of the economic depression of the early 1930s, when the rest of the world was still suffering from mass unemployment and famine.
Of course all of that has been painted black by historians as only a means to an end (recognition that a strong modern economy and infrastructure was needed to support a large scale foreign war of conquest), and not an end in itself.
But I'm not so sure that was the initial goal of Hitler when he took power.
Even his annexation of the Sudetenland, Rheinland, and Austria, can be seen in historical context as taking back …
Click on a link that says only "click here"?
It's definitely a beginner's book. Many people like it, I don't :)
Sun has excellent tutorials on their own site (if sometimes a bit dated) which are in fact the complete text and illustrations of some of their printed books which are classics.
I recommend you get either "Head First Java" (Kathy Sierra and Bert Bates, O'Reilly, 2005) or "Agile Java" (Jeff Langr, Prentice Hall, 2005).
Both excellent books to learn from.
Java is case sensitive, keep that in mind.
Standard convention is to use CamelCase for everything except constants.
ClassNames start with a capital letter, and have every First Character of Every Word capitalised.
method and attribute names start with a lowercase letter.
CONSTANTS are in all uppercase.
This isn't enforced by the compiler but is generally accepted. The number of people who don't do it is very small and they're disliked by everyone else.
Classpath should contain the current directory (".") as the very least. You can add downloaded libraries you use a lot, though adding those dynamically when compiling and running is often preferred.
Sounds like a power problem.
Any new hardware installed recently? Could be your CD-ROM player is pulling enough power when used that your powersupply can't keep up and your system goes down as a result.
Had something similar when installing a DVD writer, had to disconnect 2 of my 6 harddisks to get it enough juice to run stable.
How are the dreams going?
My daydreaming is giving me sleepless nights :cheesy:
./secondprogram | python firstprogram.py
1.5 (5.0) is the latest version and likely the one you should get (unless you have a clear business need to use only an older version).
And what exactly have you done, and where/why doesn't it work?
Every file is binary data by definition.
A text file contains only data in the specific code page/character set you're using. Which that is would depend on your locale.
You'd have to attempt to read the file and throw an exception if you encounter data that doesn't map to text in your expected codepage.
<<include>> indicates composition.
<<extends>> indicates inheritance.
Composition would have one usecase enclose/use another (for example making a reservation for a hotel room would include looking up a customer).
Inheritance would have a use case be a special version of a more generic one.
For example booking the bridal suite might be a special case of booking a normal room that requires some more actions.
Ever more OO gurus are advocating against inheritance unless there's a really strong case for it (in this case for example the booking for the bridal suite could contain a normal room booking and some other things instead of BEING a normal booking and some other things), but it all depends on the circumstances.
Yeah, I get very bad pains in my fingers, hands, and arms as well. I try to type as little as possible.
I used to, until I got myself an MS Natural Keyboard and a top quality mouse (in my case a Logitech MX700 or MX1000 now).
Makes a world of difference. I used to have onset of RSI (which it sounds like you have too), just those changes cured that (plus taking regular short breaks, just a few minutes away from the keyboard once an hour or so).
Most mice are too small, preventing your hand from having a natural posture.
Most keyboards prevent your hands from flowing normally, causing strain in wrists, elbows, and shoulders.
Get quality gear before it's too late and you are permanently prevented from using a keyboard!
I've had that with a mouse that was running out of life (in that case the mousewheel was malfunctioning).
Try another mouse and see what happens.
not known, only suspected :)
what context?
And don't close your frame with System.exit(0) as that will terminate the entire JVM and thus stop the application dead in its tracks.
Yes, ANT is rather complicated. The authors have by now realised that using an XML based buildfile was probably not a good idea :) but of course it's far too late to change it.
The commandline tools are easy to use if you take a few minutes to RTFM.
I'll be visiting the Delphi 2006 launch in the Netherlands on the 29th.
First time to meet DavidI and other dignitaries in several years.
In the beginning there was Niklaus Wirth, the allfather.
He created Pascal as a language to teach structured programming to his students.
Then came along Frank Borland (or so the legend goes, Frank doesn't actually exist) who commercialised the language into its most successful version ever, Turbo Pascal.
Then came the guys who had this funky newfangled idea about everything being an object who created a language they called Smalltalk along those ideas.
This became a hit in certain circles, along others with a partially bald guy called Bjarne Stroustrup who adapted C to use the same principles and called it C++ (I think because the name D was already taken).
Frank heard about this and created an OO version of his Turbo Pascal, aptly named "Turbo Pascal with objects" (don't laugh, that's what they called it).
This used a syntax similar to very early C++ versions, but was later abandoned when the C++ syntax was standardised on what's now ANSI C++. Among other things it called the things we now call classes 'objects' which was rather confusing to many people.
Frank created a new OO version of Pascal and named it simply "ObjectPascal".
This came with a library for creating text-based windowed screen applications called Turbo Vision.
Turbo Vision was extremely powerful but rather cumbersome (I've used it, creating for example a menu bar could result in several dozen nested constructor calls, trying to keep track of the braces was …
It's all explained in your compiler documentation and the documentation for your operating system.
It's so basic in fact that you shouldn't consider programming anything until you can use the commandline comfortably.
Sigh, more IDE idiocy...
And what do you do when you don't have netbeans?
Maybe you should learn to use the compiler and runtime, but of course that would mean you'd learn something and we can't have that, now can we?
Something working doesn't mean it's good (especially in an academic environment) ;)
Proper OO design is more important when you're a student than just producing working code, it should become so automatic that you don't even consider writing something that's not properly designed and start to gag on seeing poorly written code.
And yes, I've had teachers who rejected working solutions that weren't created according to the laid out specifications while accepting faulty solutions that did meet the specs.
This is not quite what happens in business (in business both would be rejected), but it's a start.
and oh, if you believe any infomercial out there claiming something built into Windows is bad and telling you to buy alternative XXX instead I have this nice snake oil to cure all your diseases.
what's so weird about not having had a virus infection since 1994?
Goes to show that I'm smarter than the average virus :)
Yes, I've only ever had one virus infection in now nearly 20 years of working with computers and that was 1994 (give or take a year, could have been '93).
And I take no special precautions except common sense. While I do run a virus scanner it's never caught anything that I hadn't caught myself (like stuff in the deleted messages section of my mailserver).
It's more for peace of mind than anything else.
Most mp3s and especially movies are distributed as archives, often executable archives.
And those formats all have options for comments sections in which viral code can hide.
Or a virus is distributed as XXX.mp3.exe which on most peoples' computers will show as XXX.mp3 but if you doubleclick it to play it executes instead.
He doesn't even know how to compile his sources... Read carefully.
Another victim of the IDE. Learns the tool, not the language, and gets stuck when there's no nice shiny "run" button for something.
They're 90% databases for the companies running them in which willing victims input massive amounts of information that can be used against them for direct marketing purposes.
They're MARKETED to those victims as "new ways to meet people with the same interests", as if it really matters to know that someone 10.000 miles away is also interested in collecting used teabags with little green labels.
It's been suspected that some people have a natural immunity against the virus, or rather immune systems that can successfully fight it off, but this is the first case in which it has been shown under controlled conditions (meaning, no chance of mixups in the samples and results, results verified and retested under lab conditions) that it has indeed happened (all previous results were suspect as they were reported by bush hospitals in places where record keeping routines are at best suspicious and therefore there was no guarantee that the infected and free samples were indeed from the same person).
IF this is indeed a case of a person fighting off the virus successfully (rather than a bodged test, which is still being verified) AND the person is willing to cooperate in further research this could according to an expert who talked to the Beeb last weekend potentially lead to a vaccine or some other treatment but don't hold your breath as it will take years at least.
Could be useful for DEsoldering electrified fences :)