|
 |
Articles |
|
|
|
 |
GEEK |
|
|
|
 |
User's box |
|
|
|
 |
Shoutbox |
| MaxMouse It's
Friday...
That's good
enough for
me! |
| CodeX non stop
lolz here
but thats
soon to end
thanks to
uni, surely
the rest of
the world is
going good? |
| stabat how things
are going
guys?
Here...
boring... |
| CodeX I must be
going wrong
on the
password
lengths
then, as
long as it
was done on
ECB |
| MaxMouse lol... the
key is in
hex (MD5: of
the string
"doit"
without the
"'s) and is
in lower
case. Maybe
i should
have
submitted
this as a
challenge! |
|
|
 |
Donate |
|
Donate and help us fund new challenges
|
|
|
|
Due Date:
|
May 31 |
|
May Goal:
|
$40.00
|
|
Gross:
|
$0.00 |
|
Net Balance:
|
$0.00 |
|
Left to go:
|
$40.00 |
|
|
|
 |
News Feeds |
|
|
|
|
 |
View Blog |
by bb on Wed 11th Mar 12pm
I love this graph
bubble graph

Related Blogs
| First one by Action on Tue 12th Jan 10pm
|
|
Yaw, this is the first blog post, just to begin with something. Nice site here, cool features like OSIDrive, and so on. However, strange that an "OpenSource Institute" uses non-OpenSource softare to host its site (Windows and IIS). It's not correct... I thought, they use Linux. |
| Action's blog
|
| Blog entry for Tue 5th May 6am by goldie on Tue 5th May 6am
|
|
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
import java.io.*;
import java.util.Properties;
public class SENDMAIL
{
public void sendMail(String mailServer, String from, String to,
String subject, String messageBody,
String[] attachments) throws
MessagingException, AddressException
{
// Setup mail server
Properties props = System.getProperties();
props.put("mail.smtp.host", mailServer);
// Get a mail session
Session session = Session.getDefaultInstance(props, null);
// Define a new mail message
Message message = new MimeMessage(session);
message.setFrom(new InternetAddress(from));
message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
message.setSubject(subject);
// Create a message part to represent the body text
BodyPart messageBodyPart = new MimeBodyPart();
messageBodyPart.setText(messageBody);
//use a MimeMultipart as we need to handle the file attachments
Multipart multipart = new MimeMultipart();
//add the message body to the mime message
multipart.addBodyPart(messageBodyPart);
// add any file attachments to the message
addAtachments(attachments, multipart);
// Put all message parts in the message
message.setContent(multipart);
// Send the message
Transport.send(message);
}
protected void addAtachments(String[] attachments, Multipart multipart)
throws MessagingException, AddressException
{
for(int i = 0; i<= attachments.length -1; i++)
{
String filename = attachments[i];
MimeBodyPart attachmentBodyPart = new MimeBodyPart();
//use a JAF FileDataSource as it does MIME type detection
DataSource source = new FileDataSource(filename);
attachmentBodyPart.setDataHandler(new DataHandler(source));
//assume that the filename you want to send is the same as the
//actual file name - could alter this to remove the file path
attachmentBodyPart.setFileName(filename);
//add the attachment
multipart.addBodyPart(attachmentBodyPart);
}
}
public static void main(String[] args)
{
try
{
SENDMAIL MAIL = new SENDMAIL();
String server="pop3.gmail.com";
String from="username@gmail.com";
String to = "other user href="mailto:name@gmail.com">name@gmail.com";
String subject="Test";
String message="Testing";
String[] filenames =
{"c:/somefile.txt"};
MAIL.sendMail(server,from,to,subject,message,filenames);
}
catch(Exception e)
{
e.printStackTrace(System.out);
}
}
}
i want to send mail using this code but i getting exception like this.
avax.mail.MessagingException: Unknown SMTP host: pop3.gmail.com;
nested exception is:
java.net.UnknownHostException: pop3.gmail.com
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1543)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:453)
at javax.mail.Service.connect(Service.java:291)
at javax.mail.Service.connect(Service.java:172)
at javax.mail.Service.connect(Service.java:121)
at javax.mail.Transport.send0(Transport.java:190)
at javax.mail.Transport.send(Transport.java:120)
at SENDMAIL.sendMail(SENDMAIL.java:46)
at SENDMAIL.main(SENDMAIL.java:85)
Caused by: java.net.UnknownHostException: pop3.gmail.com
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:267)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:227)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1511)
... 8 more
i have taken code from this siite only plz suggest me how to remove this exception.
thanks in advance. |
| goldie's blog
|
| Parapsychology - Fri 19th Dec 5am by Nightscript on Fri 19th Dec 5am
|
|
Yes i'm crazy but heres what ive been thinking about and it seems more reasonable that a lot of reality. Note that this ties into parapsychology/psychokinesis research.
Mind is not over matter. Thats the wrong state of thinking for sure.
Look, this is how i think i see it now, im enlightened or ignorant but such is the world. Every time.
The thing ive come across is that when we think it is Mind over matter we are convinced that we can directly influence an object or anything else. Thats because we figure that our Mind is stronger than anything we might put it up against. On a previous article i've written, I said that we would need to find out where the Mind interacts with our brain in order to initiate action.
ok gang here comes.
Its true what i said earlier..our Mind is most definitely NOT [over] matter. And since we dont really have any method scientifically to find the Mind itself can we not say that Mind IS matter? Yes we can, because if you will also think back to my discussion of Mind and conciousness, i said that we each exist in Our world and that everything can seemingly be based around us. Though most folks interact to some degree with things that will never have anything to do with them, the world I speak of is the one you live in, walk and talk through each day. So our Mind is everything that our world or our personal universe is made of. Mind is Matter.
With the fact or idea (whichever you prefer) that Mind is Matter, (not the literal sense, like..grey matter...idiot.) um with that idea...we have a seeming location of the Mind. We can say my mind is located in everything around me, it makes up every aspect of the world I personally live in, and my thoughts, my reactions, anything that must be initiated by energy from my Mind comes from my environment and surrounding things. Everything I see, everything I interact with from day to day, everything I come into any form of contact with contributes to my Mind because it will flow through thought. Therefore, once again, Mind is matter. Mind is composed of my personal world.
We have a location for Mind now people. Now where oh where would we consider an interaction point for the energies of Mind to be converted into reactions and movements? Our body itself MUST be the interaction point of Mind. Not only is it our brain, but since a stimulus has to occur to our body, (message then goes to brain to create an effect on our senses) it has to be our whole body. Our brain only tells us where the message is coming from and it also does things like reflex...Go ahead and think of your brain as being solely responsible for involuntary action. Mind guides our actions through thought. The initial energy that is put into actions with any form of thought behind it (this means exclude reflex) lets us see rather plainly, or not if youre blind, that Mind is connected to the world through our body.
So we know where we can possibly find our Mind, and we know now that its connected to the corporeal world through our body. When we commit action with the Mind, such as the entire goal of my research happens to be, we are basically forced to use our body to carry it out. This is a plain fact of life. So now the only thing that remains to be discovered is the way or method to take our Mind's interaction with the body and move it directly to what we wish to influence. To take the energy that we can call thought or want to...and instead of having to use any tools..such as our body...use the raw energy directly.
With the discovery (of sorts) of where Mind is, and where the interaction point is...we can move to the final step and are well on the way to experimentation.
Now I'd like to revisit something from earlier and maybe (expect recovering of some areas) elaborate on a couple things.. First. I have a suspicion that our brain is responsible for nothing more than involuntary actions. Hear me out guys. Nothing you do is voluntary by the body. Which means all of your muscles that move when you decide for them to move...are being forced to. Involuntary action, on their part..because you want it to happen.
I know that seems a little bit hard to grasp but here goes: You as a person are not held within your brain. Your Mind holds your personality and all your traits/flaws. So its partially safe to say that upon removal of Mind from the body..that the body cannot be called - You. right? Since your Mind exists in all things that make up your personal world, we can go deeper insomuch as to say that it is, in fact, not part of the body. Which also explains the need for an interaction point (the body) to the world. Are we all still on the same page here?
So every interaction that begins in the Mind...which is anything non-reflexive or voluntary...forces the body to commit what the action dictates. If you wish to go running, then the action is initiated in the Mind. "I THINK I'll go for a run." As you run the corporeal body will fatigue and want to stop...but you press on for the sake of exercise, you force the body to continue through willpower/thought. Tell me how the brain is involved in that in any voluntary action?
The only thing it has done in this (or most any) instance is send the signals to tell the muscles how to do the action you want. Running is created in a sort of chain reaction. You spark the idea with Mind. The energy is carried to the tools (brain), which, in turn signals secondary tools (muscles) to begin working. Do you still understand?
Comments (helpful ones) are welcome. Ill add more to this later on.
-NS |
| Nightscript's blog
|
| Why by auzzie on Thu 23rd Oct 2pm
|
|
No matter how you live your life, no matter how much right you try to bring you always end up in pain?
i spent the past couple of months grieving about losing someone that was in my heart and for some weird reason i happened to think of so many coding ideas and produced proberbly some of the best code i have done in years...... Idea's like a php based database backup system that basically switched to PHP's SQLite system if the server was unable to connect to the normal DB like MySQL or MSSQL etc |
| auzzie's blog
|
| Greed by Nightscript on Tue 1st Jul 7am
|
|
I guess...since so few people read anyway, im just writing these things so i dont forget them
Gang lets talk about the Greed of... i dunno, absolutely everything
Let it be known that nothing escapes Greed.
Everything is self purposed on some level.
[hell remind me to do one 'everything is everything..on some level']
Whats greed anyway?
My personal opinion is just that thing what drives people to further their own goals. And thats a pretty general statement considering Greed is supposed to be terrible. And i guess in the way it is used against us in the media...it is a monster.
But lets stop and figure out how such a terrible thing has infiltrated...no..always always been a part of existance. How can we live with that? Rather...how can decent people live with such an idea? Shouldn't conscience or some other dumb thing get in the way?
No, i dont think it would. Greed is a part of humanity...but not an evil part. Greed is just like i said...that drive for goals.
Greed is in every single thing these days...and its certainly the bad kind. Greed lies at the foundation of our very universe...nothing is left untouched, not even religion.
Everything anywhere is fueled by greed.
Our world will continue to thrive upon itself through greed....mainly the bad forms considering how times look now. There will never cease to be something to sell, somewhere to climb to, some other thing that, provided you can push your limits, is on the edge of reach. Fuel for the world...much like our vehicles. While its true the fossil fuels will burn out, alternatives are being made.
So lets look at that analogy:
The fossil fuels of greed are burning out and alternatives are being made.
On a similar note lets take a look at the valiant Knights of the past. (yeah thats us sonny haha)...those knights were driven to work through their king to help the people in most cases. Unlike popular belief that the knighthood was loyal to this and that...i mean look..the Knights would have to pledge loyalty to every single ruler...every time, and so doesn't that kindof take away from the live and die for my king bit? Loyalties changing over time?...yes. The greed of Knights...the force that had driven them to do things was not a bad greed at all.
In fact, it was what i want to call the fossil fuel of greed. And since there are probably only about 5 people left in the world who are driven to do good as the Knights were...we'll say it has burned out.
The Knights' and Honorables' [of other time periods] greed was that to do good deeds and to help or do the honorable thing. Live and die by honor and most believed heaven awaited them. They were so greedy, so driven for the good..that they could not accept less than that. Thus...Greed, that is...furthering one's personal goals...was not bad.
These days the alternatives to the Noble goals of men, and Sonny...the Greed that is stereotyped everywhere...is the terrible kind. The alternative to our old fuels are the kind that drive the world faster, meaner, and sound scarier. The goals of most people these days are the kind that are not noble at all.
This might be why i only call sonny a fellow Knight. It may be why the masters of ninjiutsu are just 2 old men..and a young fellow. Honorable ways are certainly past and not to come back anytime soon. You should think on what your goals are and which type of greed you embrace. I can tell ya that everything i do and say..is Just and good. Sure we all have our fun, but there is certainly a difference in taking down bad people..and hurting decent ones. Or not helping decent ones for that matter.
So which is it gang?
Are your goals...your Greed...are these aligned with decency or are you just another politician?
Do the things you seek help others?
Do they mean anything either way?
Can you be sure you play on the right side every time?
[crap...also remind me to talk about pros and cons of Good and Bad..and Grey]
Think Hard.
NS |
| Nightscript's blog
|
|
|
|
|
 |
About Me |
|
|
 |
bb's Slides |
|
|
 |
Recent Blogs |
|
|
 |
Link To Me |
|
|
|
 |