Where answers come from

Some pages can ask a language model questions. Set this up once; your choice is remembered in this browser for the whole site.

Model source
Use another source instead

Smallest-to-largest weight downloads. Qwen3.5 0.8B is our starting choice for page Q&A. GPU estimates are not total RAM: leave room for the browser, context and temporary buffers. Hardware changes speed and capacity; answers still need checking.

Session-only loading avoids saving model weights, uses extra RAM and downloads again after unloading. Turn it off to save downloads. Delete-data-on-exit or private browsing may impose a much smaller storage limit than the displayed estimate.

You sign in on OpenRouter; it gives this page a key for your account.

A free account does not make every model free. Choose a model with a listed :free variant; merely adding that suffix does not create one. Check free-model availability and pricing.

Chat

AI assistant, not Shawn Hartsock. It does not speak for him.

Inspect the page excerpt

Up to 4,800 characters, not the whole site. Recent conversation turns are retained within the model’s context limit.

Ask about this page, or just say hello.

Ready when you are.

Not saved or uploaded automatically. Closing keeps this conversation in this tab; changing pages starts a new one. Model replies can be wrong.

A terrible hibernate hack... for Grails...

Originally published .

I’m still “under water” this week but I felt this really deserved an entry. I found this blog entry by Sorin Postelnicu that solved a problem I was having with my Grails configuration. I’ve set up my database to use utf8 everywhere but my tables are still getting created as latin1 tables. What to do… using Sorin’s example I did this:


package org.hibernate.dialect;

/**

 * Extends MySQL5InnoDBDialect and sets the default charset to be UTF-8

 * @author Sorin Postelnicu

 * @since Aug 13, 2007

 */

public class MySQL5UTF8InnoDBDialect extends MySQL5InnoDBDialect {

    public String getTableTypeString() {

        return " ENGINE=InnoDB DEFAULT CHARSET=utf8";

    }

}

The trick here is that Sorin had over-ridden the default table string from hibernate which says “CHARSET=latin1”. I’ve just named the class differently. I put this class in the right package in my Grails project’s “src/java” directory and modify my Datasource.groovy to read like this:


dataSource {

 configClass = GrailsAnnotationConfiguration.class

 pooled = false

 driverClassName = "com.mysql.jdbc.Driver"

 dialect= **org.hibernate.dialect.MySQL5UTF8InnoDBDialect**

 url = "jdbc:mysql://localhost:3306/grails?zeroDateTimeBehavior=convertToNull**&useUnicode=true&characterEncoding=UTF-8**"

 username = "grails"

 password = "grails"

 dbCreate = "update"

}

… now my GORM generated tables show up in UTF8. But my question to you is … is this a plugin? is this a patch to hibernate? Is this a hack? You tell me.

Explore the map · Browse by topic and date