Static type checking: hybrid mode in Groovy1049 (11/16/2011 8:41:36 AM) comp.lang.java.programmer Folks, we recently had this discussion about the benefits of STC: Groovy now takes a hybrid approach and allows to use both. For the interested reader: http://www.jroller.com/melix/entry/groovy_static_type_c... Robert
Macro criticism249 (8/23/2011 5:15:32 PM) comp.lang.scheme All, finally I got around to investing some time to really learn Lisp. I picked Scheme mostly because of "Structure and Interpretation of Computer Programs". Since I always wondered how macros in Lisp wor... Robert
[OT] functional paradigm taking over7447 (3/30/2011 7:29:02 AM) comp.lang.ruby Hi, just notice there seems to be a trend in industry to include functional language features everywhere - now it's even in the new C++: http://www2.research.att.com/~bs/C++0xFAQ.html#lambda JDK 8 will also i... Robert
Enums: Properties vs. Methods3546 (3/29/2011 3:18:28 PM) comp.lang.java.programmer All, I am just musing about the pros and cons of using boolean properties in enum classes vs. custom methods. So far I found pro Properties: - less classes - when adding enum values to an enum you cannot for... Robert
Another issue with spamassassin243 (10/6/2010 8:51:56 AM) comp.lang.ruby Hi, that's the second time I get a reply like this. Is there a way to make spamassassin more robust (new version)? Cheers robert ---------- Forwarded message ---------- From: Mail Delivery System Date: We... Robert
Spamassassin assasinated074 (9/10/2010 11:13:03 AM) comp.lang.ruby Well, of course it's a Perl program. ;-) Cheers robert ---------- Forwarded message ---------- From: Mail Delivery System Date: Fri, Sep 10, 2010 at 12:58 PM Subject: Undelivered Mail Returned to Sender To... Robert
Dowload JDK 6u21469 (8/15/2010 4:18:06 PM) comp.lang.java.programmer Hi there, I get a fairly cryptic "Your download transaction cannot be approved. Contact Customer Service." when trying to download the JDK (Win 32bit) from http://www.oracle.com/technetwork/java/javase/down... Robert
About java program.382 (6/15/2013 8:38:48 PM) comp.lang.java.programmer import acm.program.*;
public class askYesNoQuestion extends ConsoleProgram {
public void run(){
String str=readLine("Would you like instructions");
println(askYesNoquestion(str));
}
7. private b... rajbhaumik(1)
Alternative to TreeSet?713 (5/6/2013 3:10:48 PM) comp.lang.java.programmer Hi,
We're using Java 6. Is there a java.util.Set data structure that can retur=
n a sorted list of elements and can contain two elements even if compareTo =
returns 0 against those two elements but callin... laredotornado(856)
Virtual Databases1011 (5/15/2013 7:05:20 PM) comp.databases.oracle.server I'm posting this discussion here, because of the moderator on one of the
LinkedIn forums. The post that has probably irritated the moderator was
the following:
"Nuno, everything is virtual these days. Th... gogala.mladen(1077)
Conversions in Java145 (5/21/2013 3:23:13 PM) comp.lang.java.programmer Someone has a good introduction to conversions of values in Java?
I am working in a project that I need to use this and I'm having some trouble about this.
Thanks!
... lucasreis3000(2)
simple pipe : `echo -n "#{@prefix}" | pbcopy`25 (5/29/2013 4:19:27 PM) comp.lang.ruby @prefix is a string i want to put on the pasteboard (Mac OS X)
if from zsh :
echo -n "${prefix}" | pbcopy
this works well, i get the prefix in the pasteboard.
if from ruby :
`echo -n "#{@prefix}" | pbc... unbewusst.sein88(52)
Shortcut for c = (c.nil? ? d : c+= d) ?36 (5/29/2013 8:58:42 PM) comp.lang.ruby Hi all,
I'm growing weary of writing checks like this:
c = (c.nil? ? d : c+= d) ?
I'd really just like to write
c+= d
and have Ruby deal with the fact that c might be nil for the assignment.
... tim.griffin(2)
color coding of text517 (5/31/2013 2:38:51 PM) comp.lang.java.programmer In Word you can select a color for highlighted text. I'd like to be able to
do this in eclipse or some other java editor. It would allow you to show a
programs structure nicely. Is there such a thing?
... thedon(6)
Proper use of ipaddr library?53 (6/4/2013 3:14:06 PM) comp.lang.ruby Greetings,
I'm very new to Ruby, but have been playing around with validating IP addresses from a .yml file. Everything works but would like to make sure I'm doing things the proper Ruby way (I program i... zihav(22)
IO.popen hanging35 (6/11/2013 1:59:03 PM) comp.lang.ruby if i do, on terminal :
echo -n "something" | /usr/bin/xclip -selection c
the time to exec is instantaneous.
however using either :
`echo -n "#{@prefix}" | /usr/bin/xclip -selection c `
or :
... unbewusstsein(34)