Quantcast
Channel: adrianwalker.org
Browsing all 65 articles
Browse latest View live

HTML5 Video Pseudostreaming with Java 7

Adapted from the byte range request servlet code from the The BalusC Code, here is a Java 7 pseudostreaming servlet for playing video using the HTML5 video tag. The servlet takes the name of a video...

View Article


Image may be NSFW.
Clik here to view.

Java EE 6 Cookbook for Securing, Tuning, and Extending Enterprise...

Java Enterprise Edition is Oracle's enterprise Java computing platform. The platform provides an API and runtime environment for developing and running enterprise software, including network and web...

View Article


Iterate over first n files in a directory with Java 6 and JNA on Linux

I needed to be able to iterate over the first n number of files in a directory, without bringing them all back at once using File.list(). This is simple enough to do in Java 7 using the new...

View Article

Email Sky Router Public IP Address with Gmail in Python

As far as I know, Sky Broadband don't offer a static IP address. You're going to want a way of keeping track of your externally available dynamic IP, so you can access your machine from outside of...

View Article

Properties design pattern and Prototype-based programming in Java

After reading Steve Yegge's post about the properties design pattern and how it can be used to create a prototype-based object system, I thought I'd have a go at an implementation in Java to...

View Article


Selected Blog Posts Sources In GitHub

The source code for some of my most viewed posts is available in GitHub here:- github.com/adrianwalker Projects currently available:- PostRepositoryProperties design pattern and Prototype-based...

View Article

Image may be NSFW.
Clik here to view.

Learning JavaScriptMVC Review

Review of Learning JavaScriptMVC coming soon. Available from Packt publishing here: http://link.packtpub.com/hFZPlQ

View Article

Java Collection Literals

The blog post I've had by far the most feedback on is Java Multiline String. It seems to have found a niche with a few programmers for quickly defining formatted SQL and XML for unit testing. After...

View Article


Image may be NSFW.
Clik here to view.

Rigging the National Lottery (Is Hard)

As I’ve never won the National Lottery jackpot, I’m pretty sure the whole thing is rigged. If you were in charge of taking peoples hard earned cash off of them and redistributing it back to a few of...

View Article


Image may be NSFW.
Clik here to view.

eCoster.co.uk – free recipe costing website

eCoster.co.uk is a free and simple recipe costing website for calculating a break down of what your meals cost. eCoster.co.uk features:- Recipe cost calculation - total cost and per serving cost....

View Article

Image may be NSFW.
Clik here to view.

Database Backed Map

I wanted an RDBMS backed Map, with it's keys and values immediately persisted to a relational database for use with a properties design pattern for prototype based programming. I'm not sure if it'll...

View Article

Image may be NSFW.
Clik here to view.

Optimise Your Own Fuckin' Tail Calls

I've heard a few people moaning that Java 8 still doesn't optimise tail calls. Not having programmed in a functional language since Moscow ML at University, I didn't really give a shit, but thought I...

View Article

Image may be NSFW.
Clik here to view.

Fundamental 2D Game Programming With Java Review

Review comming soon(ish). Available to buy here. Downloads From CENGAGESample Chapter - 9781305076532_ch01.pdfDownloads From Indie Game ProgrammingBook Information -...

View Article


Lispy Java 8

After reading Peter Norvig's post (How to Write a (Lisp) Interpreter (in Python)), I thought I'd have a go at doing the same thing in Java 8: Lispy.java package org.adrianwalker.lispy; import...

View Article

Continued Fraction Database File System

After reading Joe Celko'sSQL for Smarties on representing hierarchies in SQL databases, I wanted to have a go at creating a database backed file system. Representing a file system using the Adjacency...

View Article


Image may be NSFW.
Clik here to view.

Rule 30

Wolfram's Rule 30 is proper interesting, isn't it? Here is a Java implementation: Wolfram.java package org.adrianwalker.cellularautomation; import java.awt.Color; import java.awt.image.BufferedImage;...

View Article

Random Gutenberg

Random Gutenberg is a Twitter bot which tweets random sentences from random Project Gutenberg eBooks. RandomGutenberg.java package org.adrianwalker.randomgutenberg; import java.io.BufferedReader;...

View Article


Desktop Upgrade – Part 1

I've not upgraded my desktop hardware for nearly seven years, so it's time for some new kit. To know how much extra bang for my buck I'm getting, I want to do a direct comparison between my current...

View Article

Image may be NSFW.
Clik here to view.

Desktop Upgrade – Part 2

My new hardware came and it looks a bit like this: Looking sexyFirst things first - time to rag out my old kit and clean out seven years of accumulated dust.Before: I wish my girlfriend was this dirty...

View Article

Image may be NSFW.
Clik here to view.

Desktop Upgrade – Part 3

With my hardware tested and running well at stock speeds in part 1 and part 2, it's time to try for an overclock. The Asrock Z97 motherboard detects the G3258 on boot up and prompts you to press the P...

View Article
Browsing all 65 articles
Browse latest View live