public marks

PUBLIC MARKS with tags programming & java



ServerSocket (Java Platform SE 6)

by sylvainulg
SO_REUSEADDR for Java -- how to avoid (at the risk of odd TCP state) [code] ServerSocket x = new ServerSocket(); x.setReuseAddress(true); x.bind(new InetSocketAddress(port)); [/code]


Remonter silencieusement une checked-exception - adiGuba:Blog - Club des décideurs et professionnels en Informatique

by sylvainulg (via)
petit discours sur les exceptions en Java. j'aime bien le } catch (IOException e) { throw new RuntimeException(e); } et public class UncheckedException extends RuntimeException { public UncheckedException(Throwable source) { super(source); } @Override public Throwable fillInStackTrace() { // On empêche la génération du stacktrace. return this; } }

File.deleteOnExit is evil

by sylvainulg (via)
better tell the students not to use it.

Bug ID: 4199068 Please return the functionality of getenv()

by sylvainulg (via)
Due to overwhelming demand we are going to reconsider this position for the 1.5 release. -- xxxxx@xxxxx 2002/4/30 ... so is it available or not, after all ?


noop - Project Hosting on Google Code

by claire_ & 1 other
Noop (pronounced noh-awp, like the machine instruction) is a new language experiment that attempts to blend the best lessons of languages old and new, while syntactically encouraging what we believe to be good coding practices and discouraging the worst offenses. Noop is initially targeted to run on the Java Virtual Machine.

DataInput (Java 2 Platform SE 5.0)

by sylvainulg
Silverbullet when doing networking IO. Features readLine, readInt, readFully(byte[])

The For-Each Loop

by sylvainulg (via)
void cancelAll(Collection<TimerTask> c) { for (TimerTask t : c) t.cancel(); }

Java 2 Platform SE v1.3.1: Class BufferedReader

by sylvainulg (via)
you want readline() for implementing HTTP in java ? here it is, not in BufferedInputStream

Glazed Lists

by Regis (via)
list transformation in Java

Java and unsigned int, unsigned short, unsigned byte, unsigned long, etc. (Or rather, the lack thereof)

by sylvainulg (via)
"Well, you're probably not going to like this... The answer is, you use the signed types that are larger than the original unsigned type"

PUBLIC TAGS related to tag programming

context +   Custom-Software +   design +   E-Solutions +   IT-firm +   outsourcing +   web-development +  

Active users

last mark : 26/08/2013 10:37

last mark : 07/06/2011 08:38

last mark : 21/10/2010 07:38

last mark : 23/08/2010 08:29

last mark : 28/06/2010 23:46

last mark : 27/01/2010 17:42

last mark : 24/09/2009 11:37

last mark : 18/08/2009 11:59

last mark : 27/02/2009 00:32