86 karma · joined Oct 2, 2010 (16y ago) · 29 submissions
cafesolo at gmail dot com.
comment 15y ago · link · parent
One of the most effective ways is publishing updates to the user's wall. However in this case it's tricky. You don't want everyone to know that you'll be notified when Pamela is single.
comment 15y ago · link · parent
All the modern Java tooling goodness minus the J2EE nonsense.
comment 15y ago · link · parent
I think it would be nice to have debugging support for JS code in those cases when it's evaluated from a string instead of loaded using a <script> tag.
comment 15y ago · link · parent
Hello World using GluePHP:
<?php
require_once('glue.php');
$urls = array(
'/' => 'index'
);
class index {
function GET() {
echo "Hello, World!";
}
}
glue::stick($urls);
?>
Another example with parameter matching and POST method handling: <?php
require_once('glue.php');
$urls = array(
'/' => 'index',
'/(?P<number>\d+)' => 'index'
);
class index {
function GET($matches) {
if (array_key_exists('number', $matches)) {
echo "The magic number is: " . $matches['number'];
} else {
echo "You did not enter a number.";
}
}
function POST() {
echo 'The value you entered was ' . $_POST['textbox1'];
}
}
glue::stick($urls);
?>comment 16y ago · link · parent
A couple of suggestions:
- An API to generate shortened URLs automatically would be great.
- Some mechanism for supporting custom domain names.
Say, someone has a link shortener service with a decent amount of traffic. Both shrtn.co and the shortener owner would benefit greatly from an API/custom domain combo.
comment 16y ago · link · parent
- Dell Studio 14" laptop
- Sennheiser HD202 headphones
- Nokia 5310 XpressMusic cellphone
Everyday software:
- Arch Linux
- Awesome window manager
- GNOME environment
- GNOME Do
- Rhythmbox
- Google Chrome
- Pidgin
- Dropbox
- Nexuiz (open source FPS game)
Programming tools:
- Eclipse Helios
- Java (Sun's JDK)
- Various Java frameworks and libraries (Wicket, GWT, Hibernate, Guice)
- Mercurial
- TortoiseHg
- gEdit - VirtualBox
- Windows XP (virtual machine)
- Adobe Flash Builder 4 (running on the virtual machine)
- Gimp
comment 16y ago · link · parent
There are Hacker News meetups here in BA every couple of weeks. Also, there's this thing called Palermo Valley (http://palermovalley.com). Check it out.
My email is in my profile.
comment 16y ago · link · parent
http://code.google.com/p/objectify-appengine/
The reason why Google chose JDO as the default interface to the AppEngine's datastore instead of JPA is because the datastore is not really a relational database and JDO is much better suited for non-relational backends.
However, there's a lot of stuff in JDO that you will never use in an AppEngine application.
Objectify is a thin wrapper around the low-level datastore API. It's a pleasure to work with and it will save you a lot of time.