jwenting 1,905 duckman Team Colleague

Even worse: the junk being deliberately fed to AIs is already at the stage where the results are useless BUT those results are blindly believed by many people BECAUSE they're generated by AI and therefore supposedly automatically correct!

Think Google's disastrous launch of their image generator which would under no condition generate Caucasian people because it had been fed exclusively black people because of the political ideology if its creators.

I've noticed similar things happening with inputs of climate models while working for our national weather agency, inputs which were deliberately filtered to exclude historical temperature extremes because the people in charge wanted a specific, politically motivated, output. And that wasn't even AI yet, but the results of those models are used as input for AI to make more sweeping predictions!

Now imagine similar things happening to AI being used to perform medical diagnosis, or worse yet medical procedures, just to give one example.

jwenting 1,905 duckman Team Colleague

Remember that ChatGPT has no real time connection with anything, it only knows that data was loaded into its database, which is a very selective dataset that is several years old.
That's part of the reason for all the disclaimers on not using it for financial advise, any advise you would get would of necessity be years out of date.

Siri, which just interfaces with existing search engines after using a speech to text algorithm to turn your voice input into a text string for an existing search engine (and I guess Google assistant and Alexa do the same thing) are far better suited for task. More isn't even needed, separation of concerns is in place.
You could probably make something that'd use a voice to text system to feed input to chatGPT but would purpose would it serve? ChatGPT is just a toy, a proof of concept and marketing tool for its creator. And a major annoyance for places like Stackoverflow that now have to contest with fools using it to create silly "questions" and "answers" the poison the site.

Dani commented: Major annoyance for DaniWeb as well +34
jwenting 1,905 duckman Team Colleague

Iiyama and MSI haven't let me down yet. Had 1 Iiyama fail on me last year, after nearly 10 years.

jwenting 1,905 duckman Team Colleague

Ideally you want a mix of experience and new blood. And why do you think experienced people can't be motivated or interested in new things?

What's more important in a team than anything else though is that the people can work together well. If you have 10 unicorns, each the top expert in their field, but they aren't talking and in fact actively sabotaging each others' efforts because they disagree on things and can't compromise that's worse than having no people at all. Something that happens with juniors as well in my experience, in fact even more so as they tend to be laser focused on religiously following the mantra drilled into them in their training, with no interest of capability to look beyond that way of working. A good senior can help guide those youngsters and teach them how things work in the real world.

jwenting 1,905 duckman Team Colleague

JSP is very old technology, I'd not advise it for new projects but if you're interested in learning it for the same of things or to work on maintenance of legacy code it's quite viable.

Yes, JSP is essentially a blend of servlets with html. If you look at the compilation stages of a JSP into a runnable artifact this becomes immediately obvious.
A JSP is first transformed into a Java servlet source file, which is then compiled into a Java class that is deployed to the application server.

But directly writing Java code in JSPs is much frowned upon, far better to make taglets and other fragments and include those in the main JSP, keeping it as clear of Java code as possible.

Yes, servlets can make use of any and all Java code, except those parts that create user interface components on screen (obviously). So most AWT and Swing is not going to do anything, though the image manipulation parts work, you just need to stream the resulting images to a ServletOutputStream rather than a Swing component.

jwenting 1,905 duckman Team Colleague

It means someone who can do everything, frontend, backend, server administration, database administration, security, graphics design, everything.
And don't expect to get away with being good at one thing on their bucket list and merely decent at the rest, you're expected to be a world expert at everything while working for peanuts.

The more delusional the hiring (or IT) manager, the longer the bucket list of skills, tools, and libraries you're required to have mastered, and the more likely they will be to fire you for incompetence the moment it shows you're less than perfect in any one aspect of the job.

rproffitt commented: "This guy gets it." Also, see what they did to the guy who walks on water. +16
jwenting 1,905 duckman Team Colleague

In finance, or anywhere where precision is important, you use fixed point numbers (integer math), not floating point.
In finance moreover, typically (and this is an internationally recognised standard employed by banks) only the first 5 digits are considered significant.
Anything over that is irrelevant.

jwenting 1,905 duckman Team Colleague

So you want someone to do your homework (because that's very clearly what it is, your school homework) for you.

The answer to that from any programmer worth the job name is HECK NO.
We don't want fakers with diplomas they didn't earn in the profession as it makes our work that much harder. If you can't even do your homework, you're not going to be able to program yourself out of a bug report or feature request at even the most junior level if you ever got hired, and someone who can will have to do double hours to cover for you.

jwenting 1,905 duckman Team Colleague

flipping schemes like this aren't the purpose of places like Etsy...
And most of them are scams anyway, promising shipment of items that don't exist until they are sold, mostly. Often the seller takes the buyer's money, invests it in something (often crypto), and either never ships the actual goods (because they never existed) or waits weeks or months to make a profit on investing the money before buying and shipping cheap knockoffs sourced from aliexpress.

Etsy has pretty strict policies that help reduce the incidence of such schemes, by handling the payment process themselves and being able to force chargebacks on the seller in case shipments don't arrive in a timely manner.
I've had to use that once so far when a seller had marked an item as "shipped" (which is when they get paid, Etsy holding the funds in escrow until then) but a month later having to admit that they'd never actually even had the item...

If you have a quality product though, and good customer service, your sales will take off.

AndersLarsson commented: How can a potential buyer tell that the product is flipped? +0
jwenting 1,905 duckman Team Colleague

spam forums like this one with the URL of your website, apparently.
A lot of people seem to do it so I guess it works.

jwenting 1,905 duckman Team Colleague

Ever more government agencies and some companies won't work with a supplier until they have specific ISO certifications, and this is the latest fad among those.

rproffitt commented: That's the only reason I'd bother with ISO certs today. +16
jwenting 1,905 duckman Team Colleague

Derby was included in Java7, it isn't in Java17 as it was removed with the release of Java9.
https://stackoverflow.com/questions/53911999/where-is-the-derby-jar-file-within-my-java-11-installation-on-mac
Java11 saw a whole bucket list of stuff removed as well, and some more pruning has been going on since.
Mostly these are features that were duplicated from Java EE or are simply almost never used any longer (like CORBA).
https://www.oracle.com/java/technologies/javase/11-relnote-issues.html
They're also slowly (and finally) removing deprecated functionality, especially where there are security implications.
http://cr.openjdk.java.net/~iris/se/11/latestSpec/api/deprecated-list.html

Together with your JDBC URL being incorrect that's why your application isn't working on your Mac, which no doubt comes with a version of Java way newer than 7 installed (if you're still using 7 on your computers, it's past time to replace it as it's no longer supported and has some known security vulnerabilities among other things, and with all the language changes since you shouldn't be writing for it anyway unless you're maintaining a very old legacy system where for some obscure reason the machines it is running on can't use a later JVM).

jwenting 1,905 duckman Team Colleague

do your own homework, or at least try and show where you are stuck.
Us doing your homework for you helps nobody, least of all any of us who may end up with an incompetent idiot who got his diplomas by cheating.

jwenting 1,905 duckman Team Colleague

Sounds like a poor project setup, and not having your classes as part of packages makes that even worse.
Not using a normal naming convention for classes makes things worse still.
Not knowing your tools doesn't help either.

jwenting 1,905 duckman Team Colleague

Google probably switched to a lower resolution provider.
Whether that's forced because of unavailability of other data (maybe a supplier went out of business, or isn't allowed any longer to sell them the data) or to save money (lower resolution images are cheaper than higher resolution ones) I don't know.

As to people wanting their property blurred out, it happens and often for good reasons beyond "muh privacy" (though that is in itself a valid reason). For example I met someone who has to have an extensive private security detail after several attempts on their life over the last several years, including attempts to shoot burning material at her house to cause fires, and an attempt to drive a truck through her fence and into her house in an attack similar to the 1983 Beirut attack on the US Marines.
Her place has not just been blurred, the entire area has been replaced with fake data for her protection (it now looks just like the forested surroundings, even the access roads are gone).

And as said, military installations tend to be either blurred or get the same treatment and are simply not there at all. Or if they are they tend to have low resolution images only by design.

jwenting 1,905 duckman Team Colleague

It tells you EXACTLY where the error is and what the error is. You're passing a null value for an argument where an actual value is required.

It's for you to figure out what that actual value should be.

jwenting 1,905 duckman Team Colleague

having worked until very recently on ACTUAL airport software, I can tell you this is indeed not anything real. It's a simple homework assignment.

Nothing wrong with those, they're supposed to be simplified. But they're also supposed to be implemented by the pupil or student, and not strewn around the internet in the hope someone will provide you with an implementation you can then turn in as your own and get a good grade for without having put in the actual work.

jwenting 1,905 duckman Team Colleague

All depends on what you need it for...
A web application needs a server to run on, lots more infrastructure than a standalone desktop application.
Of course if you're just interested in a single static page, then yeah, it might be easier to make a rough outline in html and just ship the html file. But that's not what a complete product would look like.

dgrovespdxdgpdx commented: I am interested in single page apps and HTML/Javascript seem better suited for this than Java. Not everyone has Java on their computer,.. +0
jwenting 1,905 duckman Team Colleague

So you want us to do your homework for you.
That's not going to teach you anything, and would end up with your future colleagues having an unqualified coworker who graduated without deserving it.
Instead do it yourself and then if you don't feel comfortable maybe ask specific questions about details.

jwenting 1,905 duckman Team Colleague

An easier approach would be to store just the ingredients list per recipe in json or xml, allows you to use already existing languages to create an application that can combine those ingredient lists into a shopping list.
And if you want you can create a recipe repository to go with it, with the recipe and ingredient list stored as separate but linked entities (the links being either database records or other json or xml documents linking to the separate files).

That way you can also easily store everything into something like mongodb and use its advanced search capabilities so you don't have to write your own search engine either.

dubadub commented: Agree, that will make it easier for machine to process. I wanted to keep human-readability, so went this way. +0
jwenting 1,905 duckman Team Colleague

Do you have a few BILLION dollars to invest in that venture?
As that's what it'll take to create a viable competitor to both those giants (or even facebook alone) and the marketing to get it a large enough user base to get to the point it has critical mass and doesn't get swamped (which you have to achieve quickly).

And most of those billions won't be the coding (that'll be mere tens of millions for the initial investment) but hardware, marketing, hosting services, etc. etc. etc.

stratozyck commented: Keyword: prototype. +0
jwenting 1,905 duckman Team Colleague

I'm trying to use CLion (thus CMake) to create OpenGL applications using C++ on MacOS Monterey using a 2021 (so M1 based) Macbook.
Glew2 and GLFW3 are installed correctly using Homebrew, XCode and the commandline tools are installed as well.

Creating and compiling/running through XCode works fine, but using the same libraries and C++ source code from CLion doesn't work.
First it can't find the OpenGL library headers, I fixed that by placing a symlink from their location inside the XCode application libraries in a public location.
Problem is that now I get a linker error stating that Glew and GLFW are Arch64 and it's trying to build an x64 application from CLion. When forcing CLion to compile to arch64 I get an error that the OpenGL core libraries it's trying to link to are x64. Apparently XCode is smart enough to link to the correct libraries automagically but CMake can't find them.

Any ideas as to why this happens and what to do to resolve the problem?

jwenting 1,905 duckman Team Colleague

Unless you have access to a hardware Python interpreter, you're not going to use Python to build an operating system.
And even if you have, you're unlikely to succeed due to the limitations of Python when it comes to low level system operations.

jwenting 1,905 duckman Team Colleague

Beating yourself on the head with a sledge hammer while dancing barefoot on white hot razor blades blindfolded.

rproffitt commented: Ah, I see you have a machine that goes bing! +16
Reverend Jim commented: Not a fan of the language, I take it? +15
jwenting 1,905 duckman Team Colleague

First programs I wrote I wrote on double spaced paper, then had reviewed by someone else who wrote his comments in between the lines.
Then the corrected program was written again on double spaced paper and submitted for review.
Rince and repeat until all parties involved are happy with the code at which point it was entered very carefully, double checking each character before entering the next, into the single computer we had for the department.

I continued the practice for a while after, writing the beginnings of a chess engine in Pascal while on vacation in a hotel in Austria, on a yellow legal pad. Didn't have a laptop, cellphones were pretty much non-existent and mobile data hadn't been heard of.

When I got home I entered the code into source files and compiled it.

jwenting 1,905 duckman Team Colleague
rproffitt commented: Went there, Apple store and Apple could not resolve. Told to buy new phone. +16
jwenting 1,905 duckman Team Colleague

there already is one: amazon.
Find them for free, then pay the author to read it.

rproffitt commented: Much better answer to the question. They asked about "finding"! +16
jwenting 1,905 duckman Team Colleague

Another thing to take into account is that the first build of any Gradle (or Maven) project will take a lot longer than subsequent builds because it needs to download all your (direct and indirect) dependencies and plugins.
Once everything is available locally it works a lot faster (and other projects using the same dependencies and plugins with the same version will also go faster).

jwenting 1,905 duckman Team Colleague

I've been involved with projects outsourced to India several times.
All but one of those I got involved because the results coming out of India were so bad a local team was put together to rebuild the product from scratch.
The one that wasn't as bad wasn't mainly because the company had their own offices and staff in India AND sent senior developers and scrum masters to India on a rotation to oversee the people there.

And that's not specific to India. The same experience I've had with Pakistan, Indonesia, Romania, Poland, and several other countries.
Maybe all those companies just got unlucky, but I see a pattern and the general trend towards outsourcing seems to indicate that it's a common theme (meaning, ever more companies are stopping their outsourcing efforts and reinstituting IT departments at home).

jwenting 1,905 duckman Team Colleague

s=sql.connect(username=root,password=<correctpassword>,host=localhost,database=empl) gave error:NameError: name 'root' is not defined ;database exists

Seems you didn't create a root user when setting up mySQL, so you can't log in using that user either. You may have to log in anonymously...

See what credentials work on the commandline and use those.

DB12 commented: I checked the user and host of mysql commandline after logging in with the password and found root@localhost +0
jwenting 1,905 duckman Team Colleague

why is this flagged with Java, C++, and other irrelevant tags?

jwenting 1,905 duckman Team Colleague

that's not how the world works, kid.
You do your own work, and only when you are stuck you ask detailed questions about parts of the implementation you have problems with.
You do NOT ask other people to do your homework for you.

And oh, any airline who in 2021 buy their first computer and then expect to write an entire reservations system from scratch deserves to fail just as much as a kid who expects other people to do their homework for them deserves to fail.

jwenting 1,905 duckman Team Colleague

Question is: what level of technology.

The clothes you wear are the product of technology after all. So is most if not all of the food you consume.
Your toothbrush is the product of technology.

jwenting 1,905 duckman Team Colleague

child class with 3 uncles

jwenting 1,905 duckman Team Colleague

Government here gives you a vaccination card with printed on it in bold that it can't be used as proof of vaccination...
IOW it's a nice memento of your time in the vaccination location but other than that it's useless.

Wonder how they're going to integrate with the EU wide "vaccine certificate" program that is supposed to go life next month.
Will everyone need to be vaccinated again to qualify for that given that we have no official way to prove we've already been vaccinated? It wouldn't surprise me.

rproffitt commented: Typical gov program (i.e. f### up again.) Sure let's mention what party is fighting over vaccine passports. +0
jwenting 1,905 duckman Team Colleague

What have you actually tried?
What exactly is your problem?

We're not here to do your homework for you...

jwenting 1,905 duckman Team Colleague

Got the second dose and still don't have the promised 5G connection in my brain.
Where do I file a complaint?

dmacdougall commented: Since the second dose I've had that urge as well,and I can see in the dark too. Do you wake up in crazy places? I do. +0
jwenting 1,905 duckman Team Colleague

It's time to do your own homework, kiddo.
We're not your free homework service.

My current rate is $125 an hour plus taxes, minimum of 80 hours, prepaid.

jwenting 1,905 duckman Team Colleague

got my first shot about 2 weeks ago. Apart from the usual stiffness in the arm for a few hours after the injection (I have that with any vaccine), I didn't have any side effects except this very bad urge to bite people in the neck and suck out their blood.
Help?

jwenting 1,905 duckman Team Colleague

And your problem is?
That's a pretty basic assignment, typical for a school homework thing.

You should have no problem figuring it out on your own if you've been paying a minimal level of attention in your math and programming classes.

jwenting 1,905 duckman Team Colleague

You can write most things in most languages and have it perform either horribly or quite good enough.

And often people have a completely incorrect idea about performance.

I've just completed a project in Java for a customer who was insistent that Java would never be able to offer the required performance (they needed it to handle messages in under 80 milliseconds per batch of several hundred messages).
We delivered an application that didn't just match their requirements, but blew them out of the water.

We could have however just as easily written something that was so glacially slow it'd still be processing the first message 2 weeks after the test began. It all depends on proper application architecture, design, and implementation.

Problem is, if you're asking the question you are asking you're in no position to design such a system let alone implement it.

jwenting 1,905 duckman Team Colleague

And? What's stopping you?

jwenting 1,905 duckman Team Colleague

Seems like you at least failed for lack of even bothering to try.

jwenting 1,905 duckman Team Colleague

Don't bother with obfuscators. Nobody is going to want to look at your code anyway.
And even if, it's extremely unlikely your code is so brilliant people are going to want to steal it.

The SOLE reason to use obfuscators and stuff like that is if your code has such serious security implications if it gets compromised that you need to do everything possible to prevent that.
And if you were in that situation you'd not be here asking about this, you'd have a dedicated and highly trained security team working on it already.

jwenting 1,905 duckman Team Colleague

"give me the code" is NEVER a good way to start.

At the very least be polite and ask nicely.

As said, there are many examples of how to do this, and many scenarios to think of that would lead to different ones depending on how the images actually arrive on the server.

I've implemented it several times, and am not going to give you any code both because of your attitude but also because said code is not mine to give away but belongs to my employers.

Quite often you can do it in just a few lines of code.

jwenting 1,905 duckman Team Colleague

You may want to start by having a hybrid environment, with both Java and PHP, implementing new projects in Java while maintaining the old ones in PHP for the time being until a change to them is required that warrants a complete rewrite.

That's how we've over the years got rid of (most of) our extensive Perl code base.

jwenting 1,905 duckman Team Colleague

Looks to me like he's running against JavaSE compact1 profile, which doesn't have JDBC (along with quite a few other things).

https://netbeans.org/kb/docs/java/javase-jdk8.html Netbeans can indeed now switch profiles in the IDE, maybe he did that inadvertently.

http://www.oracle.com/technetwork/java/embedded/embedded-se/documentation/compact-profiles-overview-2157132.html

jwenting 1,905 duckman Team Colleague

Don't insult people by claiming your problem needs urgent attention. It doesn't, a blocking problem at a customer site that's costing a million dollars an hour until it's fixed is urgent, a school assignment isn't.

You've gotten a lot of help, if you think none of it is valuable, you clearly don't consider anything except a ready made solution to your homework you can then turn in as your own to be valuable.

I'd not want someone who thinks like that as a future colleague.

Learn the language, learn to think, learn to solve problems. That's the most valuable advise anyone can honestly give you here.

jwenting 1,905 duckman Team Colleague

before or after taxes? :)

rproffitt commented: Also, tariffs. Can't get around that now. +15
jwenting 1,905 duckman Team Colleague

So you want people without practical experience to build you something for free which you then sell, after which you may give them some money if you make enough of a profit.

Sounds like a scam to me.

rproffitt commented: The Pope said that the cup didn't run over, the cup got bigger. +14