berry120

United Kingdom

berry120.blogspot.com

Age: 25

I'm an avid programmer, enjoy creating things, enjoy a good puzzle and especially enjoy foxing people with a Java puzzle now and again!

Outside of my coding life, I have a number of other interests, including outdoors activities such as hiking / geocaching / letterboxing. I'm also fond of music - I enjoy listening to it as well as playing the piano and violin.

1d
awarded Nice Question
May
20
awarded Notable Question
May
18
awarded Necromancer
May
17
awarded Electorate
May
16
reviewed Close Finding all rows with class attribute string match using Nokogiri and Ruby
May
16
reviewed Leave Open GOTO still considered harmful?
May
16
reviewed Close What would be the best way to push dynamic content into separate html files
May
16
reviewed Close Memory performance of a Java class
May
16
reviewed Close Why does the Linux kernel repository have only one branch?
May
16
reviewed Close Making a HTML Button rounded
May
16
awarded Autobiographer
May
10
comment Solar battery charger with load sharing
Thanks very much, that's exactly what I was after - the current project I'm using this for is in deep sleep consuming microamps for all but 5 seconds every minute, so I may just connect across the battery. For future projects though using the linear amplifier definitely looks like a neat trick!
May
10
accepted Solar battery charger with load sharing
May
8
revised Solar battery charger with load sharing
added 355 characters in body
May
8
asked Solar battery charger with load sharing
May
7
comment Array list "get" issues
+1, I was just writing something akin to this but you beat me to it. The ArrayList being copied into an array seems rather redundant.
May
7
comment java.lang.Class generics and wildcards
@TavianBarnes The key is that String does not take any generic arguments - as you point out, if Impl doesn't have any generic arguments it also works fine. (Note that both these classes inherit from other classes that do have generic parameters, that is ok - it is if the class has a generic parameter itself that presents the a difficulty to the compiler (because of type erasure.)
May
7
comment Is WeakReference what I need?
Why wouldn't you just hold the details in an object as the employee is entering them, and only save them all to the database when the customer has confirmed the order? In either case, the long id sounds like it should be a key on the database layer, not something you decide on the Java layer (if you specify AUTO_INCREMENT on your id on the db, you get the guarantee of consistency for free.)
May
6
comment JavaFX MediaPlayer drawing vertical lines on wide videos
@JoLau I wanted to take a look at this issue but can't reproduce it - could you possibly update the link to the video in the ticket? (It gives a 404 at the moment.)
May
6
answered Generate video with ffmpeg for JavaFX MediaPlayer
1 2 3 4 5