The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for January, 2016

LSI MegaRAID 9361-4i, 9361-8i or 9380-8e: cables and BBUs

Posted by jpluimers on 2016/01/25

A few links just in case you want to get a BBU or SFF cables with SAS or SATA connectors for your LSI MegaRAID adapters 9361-4i, 9361-8i9380-4i4e or 9380-8e.

If you do hardware RAID over software RAID, use a BBWC or better: FBWC.

  • RAID adapters (HBAs):
    • LSI00406 or LSI00419: LSI MegaRAID Entry 9341-4i (1 internal connector)
    • LSI00407 orLSI00408: LSI MegaRAID Entry 9341-8i (2 internal connectors)
    • LSI00414 or LSI00415: LSI MegaRAID SAS 9361-4i (1 internal connector)
    • LSI00416 or LSI00417: LSI MegaRAID SAS 9361-8i (2 internal connectors)
    • LSI00438: LSI MegaRAID SAS 9380-8e (2 external connectors)
    • LSI00438: LSI MegaRAID SAS 9380-4i4e (1 external, 1 internal connector)
  • BBU (which is actually a flash based CacheVault. So it’s FBWC, not just a BBWC):
    • LSI00418 (LSICVM02)
  • Internal cable: SFF-8643 Mini-SAS HD to …
    • LSI00400: 0.6m straight SFF-8643 to straight SFF-8087
    • LSI00401: 0.8m straight SFF-8643 to straight SFF-8087
    • LSI00402: 1.0m straight SFF-8643 to straight SFF-8087
    • LSI00403: 0.6m straight SFF-8643 to straight SFF-8643
    • LSI00404: 0.6m straight SFF-8643 to straight SFF-8643
    • LSI00405: 0.6m straight SFF-8643 to straight SFF-8643
    • LSI00409: 0.5m straight SFF-8643 to4x straight SA​TA-SB
    • LSI00410: 0.6m straight SFF-8643 to4x straight SA​TA-SB
    • LSI00411: 1.0m straight SFF-8643 to 4x straight SA​TA-SB
    • LSI00412: 0.6m straight SFF-8643 to 4x straight SATA/SAS-8482 with power
    • LSI00413: 0.4m right-angled SFF-8643 to straight SFF-8643
  • External cable: SFF-8644 Mini-SAS HD to …
    • LSI00336: 1.0m straight SFF-8644 to straight SFF-8088
    • LSI00337: 2.0m straight SFF-8644 to straight SFF-8088
    • LSI00338: 6.0m straight SFF-8644 to straight SFF-8088
    • LSI00339: 1.0m straight SFF-8644 to straight SFF-8644
    • LSI00340: 2.0m straight SFF-8644 to straight SFF-8644
    • LSI00341: 6.0m straight SFF-8644 to straight SFF-8644

–jeroen

via: Which BBU should I use with my LSI RAID controller or Supermicro RAID controller based on LSI technology?  What do I include if I need to RMA my LSI BBU?

Video on the LSI00417:

Posted in LSI/3ware, Power User, RAID | Leave a Comment »

dig show only the answer section: specify both +noall and +answer – via: Server Fault

Posted by jpluimers on 2016/01/25

The solution: add both the +noall and +answer flags before the query.

dig +noall +answer google.de

–jeroen

via dig show only answer – Server Fault.

Posted in *nix, *nix-tools, Apple, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, Power User, SuSE Linux | Leave a Comment »

Hooking up a Sunny Boy 2500TL to the net

Posted by jpluimers on 2016/01/22

Out of the box, the BlueTooth equipped Sunny Boy models (the non network connected ones) can be monitored from your PC using the SUNNY EXPLORER software. But that has quite a few drawbacks:

  • The software is Windows-only.
  • It is not network connected.
  • The Sunny Boy aggregates historical data, so after a short while you loose the details it aggregated from.

There are scripts and apps that to download data via Sunny Explorer or directly over bluetooth and even export it to PVOutput.org a site that collects and publishes PV statistics. They even have a nice region donut about world wide performance.

Some ways to do this:

Note: PV BeanCounter understands the Currentcost EnviR power meter, and the Currentcost Optismart works with Landis+Gyr ZME120ACd (and many other power meters too). Which means I can use PV Beancounter to watch my power consumption as well.

Cloud based Sunny Portal

There are two ways to connect to the cloud based SMA Sunny Portal. There are is an Android app and an iOS app connecting to the portal

Easy way:

  1. Get a SMA Speedwire network interface Webconnect module (Europe: model SWDM-10, USA: model SWDM-US-10)
  2. Connect to the Sunny Portal.
  3. Register your Sunny Boy using the PIC and RID identifiers on your network interface module.

The cool thing: all Sunny Boy equipment produced from October 2014 up come with Webconnect; too bad by SB 2500TL ST-21 was just a few months too old. If you live in the USA, the even younger and one model bigger models 3000TL and up have now have Secure Power Supply.

Slightly more difficult way: more expensive, superseded by the easy way.

  1. Get an RS-485 interface (for Europe: model DM-485CB-10, for USA: model DM-485CB-US-10).
  2. Get an SMA WebBox module (for Europe: model SWebBox-BA, for USA: model SWebBox-BA-US).
  3. Connect the SMA WebBox to the Sunny Portal using the Sunny WebBox Assistant (now called SMA Connection Assist).

Note: WebBox should be able to do ModBus too.

Do it all yourself without the cloud

Then there is the do it yourself way that gives you more insight (not just multi-string aggregates).

It’s also the hard way using the built-in BlueTooth and a stack of software to do it yourself.

There are a couple of choices to get started software wise:

I got most of the above from Best way to monitor SMA SunnyBoy inverters? – Solar Panels – Solar Panels Forum.

For instance you can use SBFSpot for connecting to PVOutput.org on PV generated power:

PVOutput.org – share, compare and monitor live solar photovoltaic output data

Source: PVOutput

PVOutput.org supports WebBox out of the box, but for WebConnect you will have to do a bit more work.

SMASpot Monitoring in Domoticz – Domoticz explains how to use SBFSpot with Domoticz.com

Domoticz is a lightweight Home Automation System

Source: Domoticz

–jeroen

Sunny Boy 2500TL that's just 4 months tool old to include WebConnect Sunny Boy 2500TL that’s just 4 months tool old to include WebConnect

Posted in LifeHacker, Power User, Solar Power | 1 Comment »

Getting Fritz!Box LAN-LAN VPN to work for @xs4all connections despite lack of @AVM_DE support

Posted by jpluimers on 2016/01/22

This is a follow-up of my post Fritz!Box VPN error messages.

I had been failing to get a LAN-LAN connection between two xs4all Fritz!Box internet connections working, despite the description in [WayBackAdapting a VPN connection from FRITZ!Box to FRITZ!Box (LAN-LAN) | AVM International.

I was keeping the 0x1C error, and eventually contacted the customer support. At first they redirected me again to the documentation, so I replied with detailed PDFs for both Fritz!Box devices containing detailed information about:

  • both their internet connectivity
  • both their internal network settings
  • both their error logs
  • both their VPN configuration (including LAN-LAN and personal entries)

I got a reply back that – paraphrased – went like “We cannot provide network-administration-support, but VPN support of Fritz!Box in general works fine, so please read these pages”:

Given that they knew both connections were xs4all (which out-of-the-box doesn’t firewall), the PDFs didn’t indicate any firewall configuration and support not asking if the individual VPN connections worked (they do) but just blaming me or the Firewall is blatant, especially since they did not explain what the error codes meant.

Besides I already had read those pages and tried all the suggested solutions (more than a day work, as there are many suggested steps, Fritz!Box devices tend to reboot on many configuration change types and their DSL training is slow at best).

After the email, I went back to the drawing board based in this one twitter conversation that was partially useful (but failed to indicate more error codes and also pointed me to their email helpdesk which failed miserably).

The IKE-error 0x1C can mean that the remote IP doesn’t match the expected IP.

So I tried this:

Read the rest of this entry »

Posted in Fritz!, Fritz!Box, Hardware, Network-and-equipment, Power User | 1 Comment »

10 Articles Every Programmer Must Read – I am programmer

Posted by jpluimers on 2016/01/21

10 Articles Every Programmer Must Read – I am programmer.

Posted in Development, Encoding, Software Development | 1 Comment »

Registry trick now fails to work for the Yahoo Search Engine update in Java 8 – was: Registry keys to prevent Java installs from adding sponsors (Ask/Google/Yahoo Toolbar, McAfee virus, etc) via: Super User

Posted by jpluimers on 2016/01/20

Anyone who knows a trick to prevent Java 8 from installing the Yahoo search/toolbar in Chrome and Internet Explorer?

This trick used to work in the past, but fails as of Java 8:


Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft]
"SPONSORS"="DISABLE"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft]
"SPONSORS"="DISABLE"
; http://windowsitpro.com/windows-server/how-do-i-place-comments-reg-file
; a semi-colon starts a comment line
; http://superuser.com/questions/549028/how-can-i-prevent-ask-com-toolbar-from-being-installed-every-time-java-is-update/562869#562869
; this switch not only disables the Ask.com toolbar installation and prompt, but disables all of the sponsors potentially bundled with the Auto-update setup/Online setup (Google toolbar, Yahoo toolbar, McAfee something, etc…)

–jeroen

The old trick from Registry keys to prevent Java installs from adding sponsors (Ask/Google/Yahoo Toolbar, McAfee virus, etc) via: Super User « The Wiert Corner – irregular stream of stuff

Posted in Development, Java, Java Platform, Power User, Software Development, Windows, Windows XP | Leave a Comment »

How to keep a young coder occupied | CommitStrip

Posted by jpluimers on 2016/01/20

Source: How to keep a young coder occupied | CommitStrip

So mean and yet so many people that think it can work.

Hopefully they one day read: html – RegEx match open tags except XHTML self-contained tags – Stack Overflow

Posted in Fun | Leave a Comment »

One Hacker Way – Erik Meijer

Posted by jpluimers on 2016/01/20

Push vs pull. Hacker vs Scrum (they should both be Agile). The meaning of life. Async await (and the whole development stack behind it). Just a few of the topics he covers in two version of this great talk:

(embedded versions of the videos are further on)

Summary of the first: Erik Meijer’s Hacker’s Way. Feedback on the second Erik Meijer’s Hacker’s Way and One Hacker Way – Erik Meijer : programming.

A few quotes and paraphrased parts I took from this (more are in Keynote: One Hacker Way – Erik Meijer with subtitles | Amara):

Thanks Kees Ks for pointing me at this.

–jeroen

Read the rest of this entry »

Posted in Development, Software Development | Leave a Comment »

Computer Color is broken: averaging and blurring colors – via Kristian Köhntopp – Google+

Posted by jpluimers on 2016/01/20

When everybody uses (a+b)/2 but should use sqrt((a*a+b*b)/2) or even [Wayback/Archive.is] weigh the RGB parts.

–jeroen

via: Kristian Köhntopp – Google+.

Read the rest of this entry »

Posted in Algorithms, Color (software development), Conference Topics, Conferences, Development, Event, Software Development | Leave a Comment »

The forks of SynEdit (in case I need it in Unicode)

Posted by jpluimers on 2016/01/19

Just in case I need SynEdit in Unicode:

Old SVN versions are at

Newer Github repositories are at

The finaly one has a Demos folder and links to the original ANSI version. It seems the only version for which SynGen works in Unicode Delphi versions.

–jeroen

via Missed link? Anyone know what happens there? :) Once again: 1.SynEdit?  ….

Posted in Delphi, Delphi 10 Seattle, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, Software Development | Leave a Comment »