greetings all
i have an app(spring+hibernate) that needs to send thousands of emails simultaneously
and i was told that the best solution here is to have a mail server
i don't have any idea where to start or if there's a framework or a service that is better
so please guys give me some info where to start, thank you.
consider this class,with no instance variables and only methods which are non-synchronous can we infer from this info that this class in Thread-safe?
public class test{
public void test1{
// do something
}
public void test2{
// do something
}
public void test3{
// do something
}
}
I'd like to write a simple decorator that I can put above functions in my controller to check authentication and re-direct to the login page if the current user is not authenticated. What is the best way to do this? Where should the decorator go? How should I pass cookie info to the decorator? Sample code is greatly appreciated.
Thank you!
Does anyone know how to convert tabs to spaces in Notepad++? I found a webpage that suggests it's possible (http://www.texteditors.info/notepad-replacements-compared.php) but I couldn't find any information about how to do it. I like to be able to do that because some web forms don't respect code with tabs in it.
We're montioring usage of a certain resources by monitoring users logins (We can see user logins growing daily). After filtering out repeat inter day logins for users, we'd like to track the # of users using the service each day, and then using that info to determine overall incremental gains for each calendar day. Our table is pretty simple:
class ServiceLogin
{
String login;
DateTime loginTime;
}
how i can make http request to my page
i dont know that you understand me or not
but i want to make a site like [www.break-rules.info][1]
how i can make all links and forms actions redirect back to my script
iam using php
**can you help me please**
I have a sinatra service foo.rb
To run it I on a different port I would type "ruby foo.rb -p 5000".
While the program is running I would like to be able to get the port (in this case 5000) and other information. Is there a way to get info like this while the app is running?
Thanks
I just came into work and found this where our site should be:
SQLException ERROR: connect failed [Native Error: Host 'linux7.fastname.no' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'] [User Info: Array]
What does it mean?
www.euroworker.no
I have an array of structs called leaders. The struct class looks like this, for contextual info:
class Leader < Struct.new(:rank, :user); end
Two questions:
How do I sort the array of structs by rank?
How do I sort the array of structs by rank and by user.created_at?
Hi, we need to send an http post from an iphone device to our server with some info which the device token (APNS) which we want to store. How on the server do you read the HTTP post and store what is in it? We just have a standard ISP hosted server which currently just has a website.
Thanks
I've had a look in the database, but have not been able to find it.
I'm talking about the caption, description etc.
I'm doing a custom gallery and I need to access this information.
So where does WordPress store this info?
Thanks
I have a small thermometer with a mini-usb connection. I would like to connect it via USB adapters to the 30pin connector on my iPhone. I am a paid dev ($99 version) and can't find much info on the hardware stuff. Is it possible to access this hardware with my current setup? I just want to access the data being generated via the temperature sensor.
Thank-you for any help!!
In runtime, I want to retrieve the expire time info about some items in memcached. I didn't find any related interface on memcached. Can I do this? something like:
mc.get_expire_time('key')
Thank you
Hi there. I need to get one page (can be cURL, or filegetcontent), get some info from it, then submit form on same page. I don't want to reload page, becouse some things will change. How to do it? Thanks
I some php code which gets info from a mysql database. The problem is that the date is coming out in the format : 2010-02-03 22:21:26
Does anyone know a simple solution to make the date more user friendly format. e.g 2nd march 2010 at 22:21.
Thanks
I am planning to give mobile phone development a shot and was thinking about making some simple multiplayer games. I know latency over local wifi is probably fine but what are the issues with latency over GPRS/3G?
I've searched and the best I've seen is someone saying it was 'high', without presenting any concrete numbers. I suppose latency fluctuations are important as well - does anyone have any info on this?
Hi All
I've been wondering how to do this for ages. I'm creating a little app, and I need to figure out how many apps or windows are displayed in the TaskBar.
I've yet to find any info on this at all, I'd appreciate any help at all.
Thank you :)
I recently came across this website: http://studiostyles.info, which contains a list of color schemes that people have already created.
However, I can't find instructions on how to import them into Visual Studio 2010, does anyone know how?
PS: I am sorry, if this question has been asked but I cannot find an answer, through search.
I was wondering if somebody use syslog to log his web application errors/warning/info ? It could be quite useful in a deployment environment with a lot of servers.
If yes, what kind of client visualisation you can get to watch errors and grouping the same errors into batch?
Do you use other techniques than syslog to achieve this kind of logging functionality?
The default panTo only pans to the edge of the screen.
I like setCenter but would like to pan to that point. Any ideas welcome
map.setCenter(mymarker.getPoint());
GEvent.trigger(mymarker,"click"); //open the info window
Could someone explain to me what should two following lines do:
s.httpheaderline[s.httpheaderlineptr] = *(char *)uip_appdata;
++((char *)uip_appdata);
This is taken from uIP code for microcontrollers.
s - structure
httpheaderline - http packet presented as a string
httpheadrlineptr - integer value
uip_appdata - received ethernet packet (string)
If some more info is needed please let me know.
BTW. Eclipse is reporting an error on the second line with message Invalid lvalue in increment so i'm trying to figure out how to solve this.
I cant seem to get any consistent info on this. Different sources appear to say different things and trhe venerable php.net iteslf (appears) not to explicitly state this - although I must admit, I only had a quick look.
In cases where I am passing around 'heavy' objects, I need to pass by reference, but I dont want to keep typing:
function foo(TypeName& $obj)
if I can get away with simply,
function foo(TypeName $obj)
So what does the standard say?
Hello , I was wondering from where i can get more info on how to build plugin based Apps (design patterns , etc ).
Any books and references with detailed information would be helpful.
Also i like how WordpPress was made , if someone can point me on how to build something like WordpPress did would be awesome.
Thanks !
How i can create pop-up window (with some text)when focus on TextInput (like in windows xp when i focus mouse cursor on file it shows short info).
ps: example of pop-up in windows xp