I had a bit of a rant over at my personal blog:
This model seems to have an issue whereby the disc tray won’t open, even if the front panel flap is correctly open. You press the Open button and nothing happens, though on the screen it’ll say Open.
Some recommend putting it into Standby mode (off) then holding down Stop and Channel Up. That didn’t work for me.
Putting it in Standby and holding down Open did work… it first started up, then after about 10 seconds, the disc tray opened.
(Possibly it needs a firmware upgrade… I’ll check that out eventually, though it’s not my unit.)
Go looking for any help on LinkenIn, and you get lies and incompetent software construction:
Flickr has altered its default embed HTML to include a header and footer, which includes Flickr branding and the title of the picture.
Sometimes I suppose this is okay, but sometimes I just want the picture.
Fortunately it seems to be relatively easy to get rid of. In the example above:
<a data-flickr-embed="true" data-header="true" data-footer="true" href="https://www.flickr.com/photos/danielbowen/19038778583/in/dateposted/" title="PT in the Sense8 titles 01"><img src="https://farm1.staticflickr.com/313/19038778583_3149e7e01a.jpg" width="500" height="282" alt="PT in the Sense8 titles 01"></a><script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>
…remove the data-flickr-embed, data-header, and data-footer attributes of the a href, and remove the script tags, like this:
<a href="https://www.flickr.com/photos/danielbowen/19038778583/in/dateposted/" title="PT in the Sense8 titles 01"><img src="https://farm1.staticflickr.com/313/19038778583_3149e7e01a.jpg" width="500" height="282" alt="PT in the Sense8 titles 01"></a>
The result should be just the photo, with the usual linking back to Flickr.
It’d be nice if they made this a built-in option when generating the HTML code.
Of course, it also makes me ponder if I should be finding another photo host.
Update 2015-07-20: They seem to have modified their default embedding code a bit so the branding and picture details now only appear over the photo when you mouse over it. Not so objectionable.
Flickr’s modified code now excludes
data-header="true" data-footer="true" which presumably added the header and footer.
My old hand-me-down laptop is getting too slow under Windows.
I tried reinstalling, and it’s still slow. Perhaps it’s the patch upon patch upon patch that needs to be applied to make it safe that explains why Windows installations always slow down over time — and why reinstalling didn’t solve the problem.
So I went looking around for lightweight Windows-like Linux distros… and ended up with LXLE.
The steps were pretty simple.
- Windows Disk Management to shrink the main partition enough so there was space for Linux.
- Download LXLE (silly me, I could have chosen 64 bit, but went with 32 because Windows was 32… the specs say it’s actually 64-bit… though with only 2Gb of memory, 32 might be better, as it is with Windows?)
- Used UNetbootin to create a bootable USB drive
- Boot onto the USB and follow the steps. Easy.
- Two things I’ve done apart from installing the default OS: install Chrome so I could sync my bookmarks, passwords etc
- And install gpointing-device-settings via Synaptic, to turn off the annoying touchpad click (which I keep firing accidentally)
The laptop seems rejuvenated. The speed is nice. I mostly use it for web and a little word processing (which Libre Office, installed with the distro, should cover).
The interface is similar enough to Windows that I’ll get by fine with it. (And unlike trying to move to OSX, no annoying differences in keyboard shortcuts.)
And if I desperately want something in Windows, I can still boot it up if I need to.
Still to investigate:
- Compatibility with VPN for work
- RDP for work and other uses
- See if GIMP will cover the same stuff I use Paint.Net for, or if I need to find something else
It has had some problems with waking up after sleep, and forgetting the touchpad No Click setting when rebooting.
And now, after a week…
Now it won’t boot.
The whizzes on Twitter suggest it might be a hard disk corruption… which it might be, though Windows is still booting fine.
Or it might be that grub needs reinstalling. I’m not even sure how or why I’d do that.
The other suggestion people have is to try a different (more stable?) distro, such as Lubuntu. Might be worth a look, though I’m wondering how much better it would be.
As I get time I’ll keep testing.
From the Things I’ve Found That Might Affect Other People But There’s Not Much Detail In Google About It department
Not that I have much to add to the sum total of published knowledge on this, but our situation is we have a COM object (legacy code) calling .Net 2 objects (not-quite-as-old legacy code).
We’re upgrading it all to .Net 4.5, but the .Net stuff is an easier change, so we’ve been doing that first, naturally in a carefully planned, staged manner.
It turns out that COM+ objects have a 1 Gb memory limit.
And it appears that when you have them calling a mix of .Net 2 and .Net 4 objects, the overhead of being able to call two different .Net Framework versions becomes an issue.
At least that’s our theory based on what we’re seeing — looking at ProcessExplorer showed about a dozen assemblies loaded for each version of .Net.
One blog post I read suggested a 600-800 Mb overhead for each .Net version. I can’t confirm that, but certainly we’ve had more Out Of Memory exceptions than we expected.
We’ve resolved it by going back to our .Net 2 code (so only one version is held within the COM+ process at once), and we’ll do the big switch all at once. Hopefully that’ll resolve it.
The COM object will also be switched too of course, and once that’s done, running everything in .Net 4, plus a move from 32-bit to 64-bit machines, apparently will lift that 1 Gb limit to 8 Tb!
I found a computer on the nature strip; it was enormous, but had a couple of DVD-RWs, dual DVI connectors and USB3, so I figured it was reasonably modern.
When I got it home and inspected it closely, I realised it wasn’t USB3 but eSATA instead, and my hopes deflated. Booting it up showed a BIOS from 2006 and I figured I just bought myself another trip to the council’s transfer station. However, checking out the CPU (Intel i7 920), full-height full-length graphics card (MSI R4870X2) and RAM (6Gb of DDR3) I realised I had found something special. Dropping in a SATA drive that I salvaged from a machine we decided was past it’s use-by date, I built it into a Linux Mint box.
Yet again, the most powerful machine in the house was found in hard rubbish. It’s twice as powerful as the last computer we bought, and nearly twice as powerful as the most recent desktop machine. The RAM is a bit light-on, but DDR3 is still widely available. The TPD (power consumed by the CPU) is 130 watts, which is… a lot. Not a machine to run in a small room on a hot day. Add in the graphics card that consumes between 120 and 220 watts depending on load, and a meaty power supply is needed; the one in the case has 1000W written on it, whatever that really means.
At the end of last year I found my local primary school had unceremoniously tossed about a dozen PCs into a dumpster filled with detritus such as broken plastic tubs, desks without legs and out-of-favour books (like a perfectly good Macquarie dictionary). Figuring I could cannibalize multiple machines into a single working machine, I pulled a half dozen monitors and three computers out and loaded them into the car. When tested at home, everything worked just fine. Everything. Confronting the authorities the next day, I was told that the PCs were “broken”, but after some haranguing I got a concession that next time the machines would be donated to a computing charity. As a result of this find I have a three-computer cluster of dedicated Minecraft machines, which now provide adequate performance after extensive tweaking.
Have you found anything good, or would you never take home strange hardware?
This post is for Tony!
Worried about accidentally overwriting critical data with a typo in your database commands?
SQL Server Management Studio has an option for that: SET IMPLICIT TRANSACTIONS, which you’ll find (in 2008 / 2008 R2 at least) under Tools / Options / Query Execution / SQL Server / ANSI.
Anything you do (from the next query window you open) will automatically be in a transaction, so you can ROLLBACK if you realise you’ve done the wrong thing.
Be warned, you’ll need to get into the habit of manually COMMITting everything. Don’t be tempted to just add the COMMIT at the bottom of your query… that would defeat the purpose.
It’ll prompt you do to so if you close a query window without having done a ROLLBACK or COMMIT. It can get a little irritating, but knowing you can’t accidentally trash all your data may give you piece of mind in return.
From the I’ve been trying to get this to work — this tip may save you some time department:
Apache FOP is for doing graphics with XML and XSLT.
FOP version 0.95 came out in August 2008. 1.0 in July 2010. 1.1 in October 2012.
ZXing is for doing QR codes.
ZXing 0.1.2 was released in March 2012, and seems to no longer be in active development.
The important bit: As far as I can see, ZXing works fine with FOP 0.95 (which was current when it was released), but not with later versions.
I kept getting these errors:
SEVERE: Image not available. URI: (instream-object). Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for null (No context info available)
org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for null
With any amount of fiddling, I couldn’t get it to work on Windows and Java 1.7. Nobody online appears to have noted this issue. You might have more luck…
Or maybe there is no solution to it. If so, I hope this saves you some time.
(Barcode4J, which we also use, seems to work with all currently available versions of FOP. It also has QR functionality, provided via ZXing, but this is only available in the unreleased code, which presumably has alpha status, and you have to build yourself. Barcode4J also hasn’t been updated in some years, last released in December 2010.)
Just… just… wrong. So wrong.
Firstly, note the error message “Enter a valid email addresss”. Where, pray tell, ought I do this? Why do I need to upload any attachment again? Why do I have to prove I’m a human time-after-time, when all I’m doing is wrestling with your completely broken attempt at a web form?
Have they noticed that no-one is submitting help requests via this form, what with its refusal to accept said requests?
Dear Flickr: stop sucking balls.
My Google Nexus 5 finally received the Android 5 update… well, the notification for it at least.
Eventually I decided to upgrade it.
It seems pretty speedy on the Nexus 5.
Some good, useful functionality, like priority contacts (who it looks like can be set to ring when nobody else does — something I’ve used an app called Auto Ring for in the past, which still seems to work). Beware though, “Priority” apparently means low battery alerts are allowed to make sounds. Didn’t appreciate being woken up by that.
Better links from contacts to recent activity such as calls and texts.
Torch. Wasn’t there before.
Google Fit… it turns out this is compatible with Android 4. I hadn’t seen it, but it added itself with the upgrade. Quite neat, I’ve been tracking my steps.
The new look may take some getting used to. I don’t understand why they’ve got rid of most of the lines between things. The keyboard is now one big lump, with no distinguishing lines between the virtual keys.
Gmail now handles the stuff that used to go through the email app, such as Exchange ActiveSync. I find that a bit painful, as I liked to keep my work/Exchange email separate from my Gmail.
Worse, it now enforces Exchange’s device restrictions (did Android 4 do this? I don’t recall that it did). This includes scary things like the ability to wipe your device if you get your password wrong too many times. Given how apps sometimes go crazy polling the server when the password changes, I’m not sure I trust it with this power.
I ended up deleting the Exchange account from Gmail. It wasn’t easy — you can’t simply remove the account. It turned out the way to do it was via Settings / Security / Device Administrators. Turning that back off forces the accounts relying on it to be removed.
I might need to find a new Exchange app. Touchdown looks good — They do a good job of hiding much it costs (appears to be US$20 after a month’s trial), but it looks like a good Exchange app that limits security restrictions to itself, not the whole phone. CloudMagic also appears to work okay, but has a completely free option, as well a paid (US$4.99/month) option.
More as I explore the new version.
I’m really liking Google Fit. Sure, it doesn’t track very much information, but I gather the Nexus 5 has a pedometer built in, so it’s nice to be able to see some results from it.
Response times seem to be a little bit slower, going onto the home screen, but nothing worth worrying about (yet).