Jetty maxFormContentSizeJetty not working? Here’s the fix

People are generally prescribing something like this to configure maxFormContentSize for jetty in the jetty.xml:

<Configure id="Server" class="org.eclipse.jetty.server.Server">
	...
    <Call name="setAttribute">
        <Arg>org.eclipse.jetty.server.Request.maxFormContentSize</Arg>
        <Arg>10000000</Arg>
    </Call>
</Configure>

In my experience, in 2024 with a recent version of jetty (9.4.53), this isn’t working inside apache’s karaf or in embedded mode within maven, and may not be working in other containers as well.

Continue reading

Amazon Photos & Cloud Backup In General Sucks

What’s the point of making a website / blog / LLC / career and building up a modicum of a following if you’re not going to use it as a forum for shitposting once in a while? Right? Right.

I wouldn’t post something as stupid as this if it was possible to actually post something about bugs with Amazon’s shitty photos app on their forum, but even that’s impossible at this moment because of some other shitty internal error on their amazon photos forums page, so, let’s start, yeah?

Continue reading

Coronavirus Simulator

It seems that a lot of people don’t understand the purpose of flattening the curve with quarantine. I’ve made a crude simulator that demonstrates hospital resource exhaustion if the number of cases continues to grow at the current rate (25% per day as of March 22, 2020).

Check it out:

http://www.codercowboy.com/coronasim/

Coronavirus Resources Page

Yeah, I’m worried / confused about all of this coronavirus stuff too. To that end, I’ve started collecting some useful links and information here, in Jason’s Coronavirus Page.

Vintage Computer Software Resources In 2020

I’ve recently dived into collecting vintage computing hardware. Vintage software is somewhat hard to find these days, especially old boot disks and OS installation CDs. I found the following resources while reviving an old IBM Aptiva 2134 Pentium-era machine:

Continue reading

Collecting Vintage Computer Hardware In 2020

I recently purchase and Aptiva 2134 from a vintage computer collector on Facebook Marketplace in an effort to fully immerse myself in Windows 9x nostalgia while writing a book.

The 2134 is a Windows 95 era machine produced in 1996 that sports a 120mhz Pentium processor, 96MB of ram, three ISA slots, an on-board graphics chip with SVGA support, two PCI slots, an 3com Etherlink III ISA card, an awful horrible painful sound card called an MWave, and a 2GB hard drive – or, at least, that’s the configuration mine came in. I think the stock version came with perhaps 12MB of ram, and a choice of processor speeds.

If you’re looking for vintage hardware to collect, I’d recommend the following search terms to try on ebay, craigslist, and/or Facebook Markeplace: IBM, Compaq, Packard Bell, E-Machines, Gateway, Vintage Computer, Old Computer, XT, AT, 286, 386, 486, Pentium, 3dfx, Voodoo, Macintosh, Apple, Performa, Power PC, G3, G4, ThinkBook, iBook, Windows 95, Windows 98, etc. Also consider the Vintage Computers facebook group and/or the Computer Collecting subreddit. I’ve also made a reddit custom feed that collects retro computing subreddits.

Finding old hardware like the Aptiva will prove more difficult as time marches on, partially due to extreme obsolescence, but also because the old intel chips up to and including the Pentium 2 have gold in them. In recent years, the value of gold has risen so much that many of the processors are being recycled to extract the gold from them.

Thanks to Jack of Bachelor Uncle fame for helping me locate the Aptiva computer.

Wicket 7 Debug Bar Empty? Add a DebugBarInitializer to your app.

In Wicket 7.12.0, adding a DebugBar to your page will result in an empty / useless debug bar if you don’t add a DebugBarInitializer to your app. Hopefully this will be documented by the wicket project in the future, but it isn’t right now.

Continue reading

Java HashMap.hashCode() Not Unique With String Keys And Values

Java’s HashMap (AbstractMap really) hashCode() implementation sums the hash codes of its entries rather than multiplies them by a prime number like String.hashCode() does. This can cause weird collisions in very similar maps.

Continue reading

Non-Post.

Good news: I survived. Life’s much better now than the last time we spoke. Thanks for asking.

Also good news: I’m cleaning up the site / blog a bit, trying to bring it up to at least a 2012 fashionable look, and I’ve been working on a fun book.

Continue reading

Trash Bird Fix

Haven’t posted in a while, mostly because my life has been a complete fucking wreck for the past year or so.

Anyway. I fixed the trash bird with a chrome extension.

Continue reading