Pages

Thursday, April 9, 2026

past pimaster is a genius

 My beloved 24" monitor started playing up again.

 I turned to my blog to find out the values that I needed to order.

I placed an order with DigiKey this time. A friend has suggested they have a wider variety available at the cost of taking a little long to acquire.

I was frustrated trying to find 10,000 hour caps in minimal ESR ratings.

Order came. Work done. Monitor alive again.

 

It's weird using this blog as a historic reference of what got done when, but if it works... 

Tuesday, June 21, 2022

I wrote a Magic the Gathering deck viewer \o/

 decky

My theory being is that you shouldn't have to sign in and save something to a database to share an idea.

Here is a link to my 3 card giggle: Lure, Lunch, Launch.

Been a long time in development. Glad that github can host html pages without much work.
Shall be interesting to see if I get any contributions.

Saturday, May 14, 2022

Dell Monitor: 2405FPW Capacitor Replacements

Another day, another death of a monitor.

Image 

Well, this one started behaving badly. Blacks that were just 1 bit off were displaying in a mostly green. It wasn't good. Video was terrible.

Since I recorded what caps were replaced on the power board last time, thought I'd do it again.

470uF 35v x6. This is the one that showed most damage.
47uF 35v x2
1uF 100v x1 <- didn't replace.
120uF 450v x1 <- didn't replace as I couldn't find replacement.
220uF 35v x1 <- probably didn't need to be replaced as it looked like it was on the sound bar power line.

I'm amused that this repair involved less capacitors than my 19"

Only thing I'm annoyed with is I somehow missed a screw when putting it together. Don't think it is a problem. Not going through all the hassle to dismantle it again for ONE screw.

Wednesday, October 6, 2021

Dell Monitor: 1905fp Rev A02 Capacitor Replacements

I've been holding onto my monitors for a long time. I don't see a matching bezel style in 24" and 19", let alone the same base style.
So when my 19" failed to turn on. I was sad. I thought it was the Display Port > DVI cable as when I switched the cable, the monitor lit up. Now I'm guess there was just the right conditions for the power to be 'ok'.
But I want to keep a record of what was in there and what I replaced. I wasn't able to get them all from JayCar as the are required to be low ESR.
470uF 35v x4
1000uF 25v x1
1000uF 10v x3
220uF 50v x2
22uF 50v x1
2.2uF 50v x1
10uF 50v x1
4.7uF 50v x1

I could only get the 22uF in a 63V package. I understand that a higher voltage in a capacitor is fine.
I couldn't replace the 2.2, 10 and 4.7 because I couldn't get them in low ESR.
I also had to skip the 220 as my click and collect order was one short (and had an extra 470). They look like they are related to the backlighting.

My friend has suggested https://www.digikey.com.au/ so I'll have to check that out in the future.

Thursday, March 11, 2021

Twitter ban hammer

 

I got hit by the Twitter ban hammer. I'm not allowed to post anything for 12 hours even though I thought deleting the offending tweet was complying with their rules. I must have failed to understand that text.

Now that I've deleted the tweet I've given up my ability to challenge the decision. After going for a walk I wish that I had left it up. Sensitive topic but that doesn't mean it should be censored.

Which is amusing as I've tweeted about that before as well.

Twitter is my place to rant usually... 9 hours to go.

Saturday, February 27, 2021

Oh look, a link to a news article!

Ready, the amazing feature of the 'web'...
This is a link to news.
Since blogger is owned by Google and they have struck a deal with 'registered news businesses', does this mean the link is going to cost them? How unmanageable is that. A company has to shell out a price based on what a user can post. Maybe Google only have to pay if the link is clicked? What if no one reads this page?

I find the whole thing offensive. It was so exciting to see Facebook pull the plug on every piece of news in Australia and see the government throw a tantrum. 

Their own report was vague on what the definition of new was!
News and journalistic content are then defined in the CMT report as: 'A diverse range of informative content about matters of import that can be defined by characteristics such as timeliness. ... Deliberately elastic, it extends beyond content produced by journalists'
Official government document on the issue, page 15.

I wrote my local member of parliament. I got a call back the day after the bill was put into place so I don't know how much impact it had.

Holy cow, I’m starting on a website

Heads up. I have no idea when I started writing this and I don't know why it was only a draft instead of being published. I can't even remember what project it was for :( So yesterday and today were spent setting up the structure of a java web application using maven. I had previously used maven at work but focus is on the project rather than the tool (probably as it should be). So I got to bang my head against a fresh script.
And boy, am I not happy.
It shouldn't take 2 days to put together something that just displays a page when deployed. I must admit that it is doing a lot of things that I don’t need yet like running tests, javadocing, test reports, general “what is this project” website etc.
Some of the problem was over naming, cobertura-maven-plugin and maven-cobertura-plugin is just confusing.
I also had a configuration issue with cobertura. Apparently it is really hard to put the generated file into a specific directory (since it is a derived resource, it should exist in the target/ directory). So the work around is to clean the file specifically.
[xml]

maven-clean-plugin

${basedir}

cobertura.ser

The other stuff that has been slowing me down is because it is the kind of configuration that you do at the start of a project and forget.
Like a working log4j.properties file. For some reason I wasn’t able to generate one that just worked, so I had to google around to find a default one and I’ll move from there.

Just need to get automated deploy and web tests happening and I should be able to start coding functionality

Monday, May 9, 2016

Pyra got a quick overview

The biggest problem I saw with describing the pyra is that all of the individual parts are a little underwhelming. It is when they are thrown together in the one package that this device starts to shine. That's hard to do with text.

I'm not sure whether EvilDragon was planning on putting out a short video or whether my post inspired him but here is the video.




So glad it came out. Was a joy for me to watch too as it is the first video of a completed pyra.

Monday, May 2, 2016

I'm excited about the Pyra, successor to the OpenPandora

It's been a while since I've typed anything here but I thought I'd share my excitement about getting a new toy.

The Pyra is a portable ARM computer with a QWERTY keyboard and gaming controls. It's powerful enough to be a simple desktop and portable to be a gaming machine. Full details on the Pyra website.
Lots of people are excited about the emulation possibilities.

Render of the Pyra
18 of these units have been produced and they are ready to build more.
Unfortunately, you can't buy them yet. They are being produced by a small group of people and don't have the funding to lay out the capital.
You can put a down payment on one.
Pyra at the Dragon Box store
I was part of the pre-preorder crowd so as well as being guaranteed one from the first batch made, I got a sweet board, signed and numbered by the team.

Pyra pre-preorder board. Others were equally excited.
It's not a device for everyone. It might be a little expensive for what it does.
It is unique though and I'm looking forward to getting it.

Wednesday, September 24, 2014

The stats of playing lands at the right time.

I'm been playing a fair bit of Magic the Gathering and doing a lot of listening whilst on my walks.
I'm enjoying the challenge of improving myself.

When I first started playing over 10 years ago, I used to play with a deck that had a third of lands. When I started playing drafts in 2012, I was informed that a third was a little low and two fifths is what I should be aiming for.

I found that games were going much smoother.

As different sets came out, the requirement for how many lands you depended on changed.
I've tried looking at different sites for probabilities based on the number of lands in a deck but I could never grok them.
After producing my own numbers, I understand why. There is a lot to take in.

(or play with the whole thing)

This sheet allows me to see the number of lands I can expect in a given turn.
It should allow me to make decisions on whether I want to be sure I get to land X and what is the likely hood that I'll have more land in my hands than I need.
It shows me how one more or one less land affect my hand.
The thing that came out of the sheet that I didn't expect was, 'what does it mean if an outcome happens 10% of the time?'.
In a draft, you are guaranteed 6 games, with a maximum of 9. That means if something had a probability of happening more that 16%, you had to be prepared for it happening at least once during the night.
I was expecting to adjust the probabilities by around 5%. Swaying them closer to 15% seems a lot, but I'll see how I go.

Love a technical solution to a non-technical problem.

Friday, November 15, 2013

The final triumph

"Classic" companion cube.
I love the idea that Portal is going to be a game that will be talked about hopefully forever, like Pong and Pacman.
This one opens up to be a tiny container.
I contemplated putting a note in there to start it off as a box of thoughts, but left it to the receiver to use in how she seen best.

Wednesday, November 13, 2013

Yet another birthday present

It was fun making Pokémon so I made another one.
It was a little bit dull since the colour scheme is very similar but I was getting better at printing the wings.

Monday, November 11, 2013

Other breach of copyright

Could be posting more content to this blog.
Not code but most people get a buzz out of it.


Starbug from Red Dwarf.
This one lives at my house. Wanted more things on my shelf :)

Saturday, November 9, 2013

Breach of copyright?

A while ago I bought a 3D printer with no specific purpose.
It's come in handy a few times but it is more of a laugh than a useful toy at this point.
Did this for a friend birthday though. It's obviously Dragonite from Pokémon and I have not asked permission to reproduce this model.

Do I go to jail for this work or does he?

Making this post as I've just stumbled upon http://www.creationistas.com and believe it is important.

-edit-
Since my post was approved so quickly, thought I'd link directly to my post so the circle is complete: http://www.creationistas.com/bringing-2d-objects-to-life/

Monday, September 23, 2013

A green cape

Trying to take a picture of yourself can be hard.
Love the challenge.
I've added the new cape to the collection of capes page. Still need to do my blue basketball material one.

Thursday, August 22, 2013

Minecraft got me onto github

I've been playing Minecraft for a long time now and I've always enjoyed knowing the fact it is written in Java. Things became interesting when I started playing with a friend on a private server. We hang out on Skype and basically make our own fun.

The guy running the server felt a little out of his league and was struggling to keep up with updates. Always that frustrating balance of work and life.

So I offered a hand. I've ran a few servers and I love looking after Java stuff.

The first trick I needed to do was be able to set up a testing environment that wouldn't affect the people playing the game. Easy enough to use my little netbook. It took a little while to work out how to separate the server configuration from the server data but I managed to do it with a bukkit server. I think the main bit was moving the world data outside the home directory via world-container and launching the app with "-log-pattern ../minecraftData/server.log"

We were using the https://github.com/gamerx/Backup plugin to take snapshots of the world but this plugin didn't recognise the world-container configuration. Was super simple to fork it at https://github.com/pimaster/Backup, build and deploy.

I believe the changes have been pulled into gamerx's copy but a new version hasn't been released for such a minor change.

dynamap took a lot more fiddling around trying to understand what it setup and expected.
tilespath: ../../../minecraftData/dynmap/web/tiles
webpath: ../../../minecraftData/dynmap/web
I then copied some of the html that needed to be served into this directory so it knew how to server up the basic data. Fortunately it still looked in the plugins directory for some of the more dynamic resources.

With this set, I was able to symlink the data directory to a directory in Dropbox. It meant the same configuration I was testing inside Eclipse was also used on my netbook. When I was happy with my testing, I used a diff application to move new settings and plugins to another folder in Dropbox that was synced the hosted server.

I was in admin heaven :D

Then came a request to have multiple worlds hosted by the same process. The requirement was we wanted people to be creative in some areas without the hassle of mobs but still be able to have the challenge of fighting of mobs without access to the creative tools.

There were a couple of plugins that changed a players gamemode per world but none had the ability to remember a players state in a mixed world.
So I wrote https://github.com/pimaster/GameModeRememberer.
Forces players into a game mode on some worlds.
Remembers if a player has a certain game mode on others.
Also has some basic inventory management when switching worlds.
Need to work on enforcing certain rules in worlds. At the moment I believe a player in a survival world can be given resources from a player with operator status in creative worlds. Would be nice to stop this.

Thursday, March 14, 2013

Building Browser Plugins

You know those moments when you are asked to build something that just cannot be done from a web app?
Was asked how we could take a screen shot of a web page being viewed for annotation and review.

The good thing being, this is what browser add ons are for.

So I started with Chrome, being the browser most used after Internet Explorer.
Took a little bit but finally got everything sorted.
Was then able to take most of that knowledge and apply it to Firefox.
Safari was meant to look stupidly simple, but it took me a while to work out that plugins weren't being activated on files served from the file system. Had to set up a http server :/

You'll notice that I skipped IE even though it is the browser that sees the most use amongst the customers.
That's because it doesn't have an add on system like the other browsers do.
You have to build an add on that technically exists in the operating system and then targets the browser. I can't write javascript like I was for other browsers.

What did I take away from building the plugins?
Chrome was the favourite. Building the plugins was rather easy. There is a clear path for reloading the plugin and bundling it for delivery. Documentation was good.

Safari was the next easiest. Building the plugin was straight forward although I hated having the extra 'plugin builder' window open that is where I reloaded the plugin for. Filling out the details for the plugin via a UI is a very mac way of doing things. Documentation was a pain to navigate and sometimes missing some detail. Building the plugin for delivery was easy enough.

Which leaves Firefox near the bottom of the list. You have to disable some caching options so that it always picks up the latest version of the plugin you are building. You also have to open a new window every time you want to reload your plugin which for me meant restarting Firefox for every change. Documentation was excellent though. Building the plugin for deployment was a little trickier than the others.

At least I built add ons for those browsers. I just couldn't make it happen for IE.

Getting a grip on verbage.
I keep wanting to use the word plug-in.
Plugins are generally used for features like embedding the Flash player.
Extension was sometimes used for other things as well, like supporting different image/video formats.
Minor thing but annoying.

Tuesday, February 19, 2013

Drawing lines in the sand

I don't think anyone reads this blog any more so I may as well put this here.

I don't mind losing something I may never have had.
My problem is with trusting someone whom maybe I shouldn't have trusted. Really thought I was past that.
It would have been nice to find out if everything changed and maybe I just wasn't to trust her in the dying moments.

I was terrified with the way you wanted to continue playing the game your way.

12 years is a long time to not know someone.
There were some fun moments but I was looking forward to discussing the bigger things in life with you.

I like knowing why.
I put all my eggs in one basket.
I never want to be in a rush.
I rarely have a backup plan.

Friday, February 1, 2013

Testing certficates on a server

Just been facing one of those problem where if you were dealing with it every day, you'd solve it in no time.
On some of my browsers across my many machines, I was able to access my works https site without any warning of being an untrusted source.
Firefox however, did not want to behave.

Apparently a browser can optionally look up the intermediate certificate from the one the server provides. Obviously this sort of automatic trust can be a bit of a security issue.

Finally found a site that did an independent test (wanted something automated and outside the network).
https://www.wormly.com
Pointed out the problem and even gave a hint on how to fix it.
Explained it to the network admin and he was able to track it down.

Wednesday, November 14, 2012

Picture is worth 1000 words

It's funny when you compare API's.
Java's drawImage method:
drawImage(Image img, 
          int dx1, int dy1, int dx2, int dy2, 
          int sx1, int sy1, int sx2, int sy2, ImageObserver observer)
Javascript drawImage:
drawImage(img, sx, sy, sw, sh, dx, dy, dw, dh)

With Java your focus is on the destination first and then where you are reading the information from.
With Javascript, you grab some part of an image and put it onto the canvas.

I found that working with the width and height easier as well instead of doing things like "x + width" all the time.

When I was trying to get it right though, seems I was trying to be too creative.
Found a site with a nice image explaining the situation though: 
Props to the guys for making it look easy.