Go Ogle 2010
Dec. 17th, 2009 | 09:41 pm
posted by:
arulster in
kqaquizzes
Come back here on 1st Jan for
GO OGLE 2010
The toughest quiz in the world.
1600hrs-2359 hours
GO OGLE 2010
The toughest quiz in the world.
1600hrs-2359 hours
Link | Leave a comment | Add to Memories | Tell a Friend
Say, Marimo
Dec. 10th, 2009 | 05:15 pm
posted by:
pjammer
You don't have to be a dog lover to appreciate the moving, powerful short film by Atsushi Sanada - "Say, Marimo."
Beautifully shot.
Link | Leave a comment {1} | Add to Memories | Tell a Friend
(no subject)
Dec. 8th, 2009 | 08:05 am
posted by:
dhempe
Tweetup :: Tweetup on Improving Collective Intelligence (via @dhempe, @dorait, @santoshp) #twtvite
Posted using ShareThis
Link | Leave a comment | Add to Memories | Tell a Friend
Vimperator
Dec. 7th, 2009 | 10:15 pm
posted by:
balaji
I discovered Vimperator about 3 months ago and I fell in love with it. Browsing with Firefox suddenly became so powerful and efficient. But a couple of days back, the status bar disappeared. Without the status bar, I felt crippled. Tried reading the help pages, asked around for tips, updated the extension, downgraded and what not? Nothing helped. Unfortunately, search did not help too. And finally I stumbled upon this tip in the mailing list. The status bar was disabled from the menu. How dumb? Interestingly, more than one person had faced the same problem but none had a solution. Looks like the mailing list is not archived and that is the reason why search did not help. Let us hope this blog post shows up soon in the indexes.
Link | Leave a comment | Add to Memories | Tell a Friend
It's getting hot in here
Dec. 7th, 2009 | 09:10 am
mood: bemused
music: Steve Miller Band - Space Cowboy
posted by:
jenarael
If you really, really want to see things heat up in a room full of scientists, there are only two words one need utter (and, surprise, they're not "I'm naked")...
Global warming
The worst part is, unlike most other things I complain about (e.g., high-fructose corn syrup being bad for you; the need for stem-cell research), my fellow educated scientists are actually divided about this topic.
And, in other news, this has to be the fifth time in as many weeks I've heard an MD or PhD actually refer to Wikipedia to define a term or settle an argument.
When I was a kid, I never dreamed grown-ups would pull out hand-held devices and use them to instantly access a bottomless font of information and opinion from satellites up in spa--

We need to listen to Star Trek nerds more.
The worst part is, unlike most other things I complain about (e.g., high-fructose corn syrup being bad for you; the need for stem-cell research), my fellow educated scientists are actually divided about this topic.
And, in other news, this has to be the fifth time in as many weeks I've heard an MD or PhD actually refer to Wikipedia to define a term or settle an argument.
When I was a kid, I never dreamed grown-ups would pull out hand-held devices and use them to instantly access a bottomless font of information and opinion from satellites up in spa--

We need to listen to Star Trek nerds more.
Link | Leave a comment {5} | Add to Memories | Tell a Friend
Finding the nearest in a sorted set of int to a given int
Dec. 5th, 2009 | 02:19 pm
posted by:
cr4k in
algorithms
Hi guys,
I'm in the middle of writing a connector to some accounting software and I've been implementing a lazy loading list of proxies because I'm dealing with huge lists of items which load slowly (even the item id s load slowly).
That's not important to the question I am asking though, basically, I want an algorithm which finds either the given search int in my sorted set (of indexes) or the nearest int contained in the list (it doesn't matter, but we can say that the algorithm has a preference for lower numbers if 2 values are equally near)
The essence of the problem is outlined here:
Thanks for any advice in advance!
I'm in the middle of writing a connector to some accounting software and I've been implementing a lazy loading list of proxies because I'm dealing with huge lists of items which load slowly (even the item id s load slowly).
That's not important to the question I am asking though, basically, I want an algorithm which finds either the given search int in my sorted set (of indexes) or the nearest int contained in the list (it doesn't matter, but we can say that the algorithm has a preference for lower numbers if 2 values are equally near)
The essence of the problem is outlined here:
import java.util.TreeSet;
public class Search {
static TreeSet sorted = new TreeSet();
public static void main(String...args){
sorted.add(1);
sorted.add(3);
sorted.add(5);
sorted.add(7);
sorted.add(10);
findNearest(2); // return 1
findNearest(8); // return 7
findNearest(10); // return 10
}
private static Integer findNearest(Integer search) {
return null; //TODO halp pls!
}
}
Thanks for any advice in advance!
