Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

Mat Anthony

Ranch Hand
+ Follow
since May 21, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
3
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mat Anthony

Hi All,
  can anybody help me with this, or provide a solution that includes multi image uploads, displayed as small images. Then allow the user to select one of the images and provide a zoom of that image.
  Trying to use just angular 5 libs if possible.

Mat
Hi,

I'm currently trying to upload/display max 3 images using angular2-image-upload and then use an image zoom on the first image.
I have updated/displayed 3 images successfully, but I’m unable to get hold of the 3 image (i.e. bytes) within my typescript class ImageUploadAndZoomComponent.ts
I have noticed that the onUploadFinished is called after all the images have been uploaded, but this only gives me the 1st image as a FileHolder.
The FileHolder does contain the image in bytes and also the name of the image.
I have also noticed that onBeforeUpload, does get called for the individual images, but only provides the image name and not its bytes.

file:imagezoom.component.html


file:ImageUploadAndZoomComponent.ts


Mat
Hi,
I have a java website that needs hosting on a VPS. Has anybody heard of a hosting provider called DailyRazor
I thought i would ask the java community for the best answer.

Mat
2 years ago
Hi,
   I currently have a live java web application deployed to Openshift. The application uses jsf, spring and hibernate, it connects to a MySQL database. Openshift are about to raise the price of hosting web applications, hence I cant afford the increase.
   I'm looking for a reliable 24/7 hosting company for around £18/month or less can any body advise.

  MatD
2 years ago
JSF
Hi Stephan,
that was a quick response

Just found the following link:-
https://developer.paypal.com/docs/classic/adaptive-payments/integration-guide/APCommands/

You were spot on
From development:-
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_ap-payment&paykey=
To production:-
_ap-payment Command
The sender can log in to paypal.com and approve a payment when you redirect the sender's browser to paypal.com with the _ap-payment command.
Redirect to PayPal using the _ap-payment command
https://www.paypal.com/cgi-bin/webscr?cmd=_ap-payment&paykey=value

Thanks

Mat
4 years ago
Hi All,

I'm using paypals adaptive api's. I use the following link within sandbox (i.e. development) to redirect
to paypal site from my site, so that users can log into paypal and be authenticated and then authorize payment to my site.
I would like to use the paypals live production connection, but I cant find it on the internet (or on the paypal site), had no
response from paypal via emails.

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_ap-payment&paykey=

Can anybody help

Mat

4 years ago
Hi All,
I got the following error with my latest configuration
Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: authentication-provider element cannot have child elements when used with 'ref' attribute

Mat
4 years ago
Hi All,
is the following configuration correct


Mat
4 years ago
Hi All,
I'm using the following configuration to override method authenticate. But I cant see how I can
integrate the passwordEncoder into my new configuration.


Previous configuration






Current Configuration:-






MatD
4 years ago
Hi All,
I'm calling google maps api to calculate the distance between two supplier post codes.
I'm displaying the result using prime face dataTable. I would like to be able to display all the
details of all suppliers without having to wait for the distance. Once the distance comes back
from google maps api, the result should then populate the distanceToSuplier within the table.
I have been looking at using primeface remoteCommand, but I'm not sure if this is the correct approach.
(i.e. supplierController.calculateSupplierDistance makes the call to google maps api)




Mat
4 years ago
JSF
Thanks Karthik,
lots to think about

Mat
Hi All,
I have developed an application that is deployed on openshift. I have a web front end that allows the users to upload images into a MySQL db.
Most of the images are taken from users phones. The site has not gone live yet, just testing. Is it better to store images in opneshift dir or within a database.

Mat

Hi Andreas,
thanks for getting back to me. I will try AWS free tier to deploy my web application to.
Just found out that AWS integrates with eclipse so it should make my life easier. Thanks for the advice.
Looking forward to seeing if AWS is a better solution to Openshift.

Mat
4 years ago
Hi Andreas,
thanks for getting back to me. I have not looked at AWS to deploy my application to. Do they provide a cut down free service that will allow me to test and run my application in test mode, so that
I can reduce the bugs found with multi user testing. I would then be in a position to pay for a scaled up environment to host my application. I have invested a lot of time already in development
and as you can appreciate testing is very time consuming. Yes cost is major factor because in some cases that would limit a developer with good ideas getting it live. I think their needs to be an
understanding that their needs to be more affordable services that will allow developers to experiment and become entrepreneurs; this would then lead to more entrepreneurial developers going live on AWS.

Mat
4 years ago
Hi,
I have developed a java website, using spring & hibernate etc. I deployed the application to OpenShift free gears, that allows a limited amount of resource to run the application, with constant issues with running out of memory.
I have looked around and the cost of paying a hosting provider seem to be very expensive. Would you consider AWS as an ideal platform for developers who have little money to kick start their entrepreneurial ideas, without
being restricted to cost, that could initially kill off their ideas.

Mat
4 years ago