| |
Topic |
Replies |
Author |
Last Post |
|
Algorithmic panic - take 2
Shame, shame, shame.The Blog Writing RuleWriting at least one blog entry per month. That should be feasible, no? Unfortunately, last Friday, I was already more than 10 days late, so I had to do something!And, when pressing the "Post" button, I had this awkward feeling that something was not really right with my "solution". Not really on the...
|
0
|
Eric Torreborre
|
May 8, 2008 9:29 AM
|
|
Obligatory JavaOne post
The first two days of JavaOne have been precisely as expected. Big, silly, lots of hype. But there's been some good stuff as well. The big hype efforts this year seem to be around JavaFX and Glassfish. I don't care about JavaFX at all, and as far as I can tell, nobody really does. But my sample is surely biased. Glassfish looks like a...
|
0
|
Matt Hellige
|
May 7, 2008 7:42 PM
|
|
Baked parmesan and tomato polenta
This is the first food post on the new blog location. Hopefully the first of many, though my track record with foodblogging isn't amazing. :-) I cook very much on a whim. This is reflected both in how I cook and in what I cook. It's also reflected in what I ...
|
0
|
David MacIver
|
May 4, 2008 8:56 AM
|
|
Removing myself from Artima Scala Buzz
This is a minor announcement - I'm going to be taking this blog off Artima Scala Buzz fairly imminently. There are various reasons for this. The primary one is that Scala is a horrible, terrible language and its community is full of awful people with whom I don't want to be ...
|
0
|
David MacIver
|
May 4, 2008 6:56 AM
|
|
Scala for NetBeans Screenshot#11: Go to Remote Declaration and Doc Tooltip
Two crazy days of my spare time, I was coding between sleeping and eating, with a lot of cups of coffee. Now Scala plugins support Go-To remote declarations (CTRL + Click on var/function name), and when you put cursor on the identifier name with CTRL pressed, or under auto-completion, the doc will also be shown as tooltip. These features work...
|
0
|
Caoyuan Deng
|
May 2, 2008 5:04 PM
|
|
Algorithmic panic
Last week I read a blog post about an interview for Google and I thought: "Oh my god, I don't know how to do that, I'm lost, I have no idea, I will never find the solution".FlashbackTwo weeks ago, I've ordered and started reading the excellent book, "The Algorithm Design Manual". That book is very good. Teaching algorithms and data structures...
|
0
|
Eric Torreborre
|
May 2, 2008 10:19 AM
|
|
Scala for NetBeans Screenshot#10: Working on Auto-Completion for Java
I've done some hacking work to get Java classes to be completion enabled, but it's not full functional. Any way, it's a good start point for auto-completion for Scala plugins, I hope to get more type inference work to be finished, and finally support both Scala/Java classes smart-completion. Click on the picture to enlarge it
|
0
|
Caoyuan Deng
|
Apr 29, 2008 1:46 PM
|
|
Make your menu definitions less irritating
Anyone who has written a non-trivial amount of Swing will know the pain of menu definitions. They're amazingly verbose. Metascope used a reasonably large number of menus, and this verbosity had started to bother me, so I came up with a few syntactic hacks to clean it up. A "DSL" if ...
|
0
|
David MacIver
|
Apr 29, 2008 3:37 AM
|
|
Michael Galpin on Scala and XML, and some notes on xml.pull
Michael Galpin has written a nice overview of Scala and XML on developerworks. I wish he would also have gone into the scala.xml.pull package, but then I really should write documentation for it instead of leaving this to others.The point of pull-parsing is of course to avoid building up an in-memory representation of the XML. We might want to...
|
0
|
David Bernard
|
Apr 28, 2008 3:10 PM
|
|
QDBM Bindings
"So", I thought to myself, "I feel like learning how to use the Haskell Foreign Function Interface. I think I'll write a binding to a C library" As one does. Seeing as both my Haskell and my C are less than stellar this proved to be an interesting challenge, but I rose ...
|
0
|
David MacIver
|
Apr 27, 2008 9:37 AM
|
|
So You Like For Loops? Zip It Up!
I've written this little for loop many a time, it finds all duplicates in a sorted list of integers:List<Integer> nums=Arrays.asList(1,2,2,3,4,6,6,7,8,8); List<Integer> dups=new ArrayList<Integer>(); int prev=nums.get(0); for (Integer i: nums.subList(1)) { if (prev==i) dups.add(i); prev=i; }Now go and read your email or...
|
0
|
Ricky Clarkson
|
Apr 25, 2008 7:25 PM
|
|
Scala for NetBeans Screenshot#9: Working on Auto-Completion
With the indexed cache of project's Class/Trait/Object, and Scala standard library's source files, the auto-completion is a bit smarter now. If the val/var is declared with type, the auto-completion can know which methods will be suggested. To get this work, you should follow these steps: Update to newest Scala plugins (Editing version...
|
0
|
Caoyuan Deng
|
Apr 25, 2008 11:26 AM
|
|
Rediscovering Standard ML
Back when I was studying computer science in Edinburgh (1995-99), we all learned the ML programming language, specifically Standard ML, which was developed in my CS department in the 70s. Even though I think most people on my course quickly decided they didn’t like it, it grew on me as I became more familiar with [...]
|
0
|
Ian Clarke
|
Apr 24, 2008 7:28 PM
|
|
Instance read-only access modifier
Be it in C++, Java, or Scala, I have always been bothered by the fact that an instance of a class has access to the private members of another instance.Sure, it's mighty useful for copy constructors and other functionalities like adding, but I always felt there should also be a "private read-only" access modifier.Of course, there is no problem...
|
0
|
Jeff Heon
|
Apr 24, 2008 2:53 PM
|
|
SBinary progress
If things have seemed a little quiet on the SBinary front, do not despair! It's not because I've abandoned it. Partly I've been very busy recently, but I've also been held up with various issues on the implementation. One was waiting on Scala 2.7.1 as it fixes an issue I ...
|
0
|
David MacIver
|
Apr 20, 2008 3:47 PM
|
|