tag:blogger.com,1999:blog-201000852024-02-20T00:34:21.519+11:00do not adjust your mindZac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.comBlogger392125tag:blogger.com,1999:blog-20100085.post-15570324836200097922017-10-23T14:01:00.000+11:002017-10-23T14:01:03.553+11:00Windows 10 won't sleep and restarts instead of shutting down due to old iPadJust a quick note to myself, my windows 10 desktop wouldn't go to sleep, hibernate and would
always reboot itself after I asked it to shutdown.<br />
<br />
Turns out it was caused by an old iPad 2 which is no longer supported (stuck on 9.3.5)
which I had plugged in via USB, for testing purposes.<br />
<br />
Once I unplugged the old iPad, Windows 10 started to behave normally!Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-82045701544089895832017-09-03T10:48:00.002+10:002017-09-03T10:48:50.378+10:00Chrome is cutting off pages when printingJust a quick heads up for anyone struggling with Chrome not printing all pages.<br />
<br />
There are some known issues with Chrome<br />
<br />
If you're affected please log in to the Chrome bug tracker and <b>star</b> any of the following issues<br />
<br />
(but please don't post redundant me too comments)<br />
<br />
<span style="background-color: #e5ecf9; font-family: arial, sans-serif; font-size: 17.056px; font-weight: bold;"><a href="https://bugs.chromium.org/p/chromium/issues/detail?id=732834">Printing cut off when using bootstrap grid</a></span><br />
<br />
<span style="background-color: #e5ecf9; font-family: arial, sans-serif; font-size: 17.056px; font-weight: bold;"><a href="https://bugs.chromium.org/p/chromium/issues/detail?id=720110">Print page scaling cuts off content</a></span><br />
<span style="background-color: #e5ecf9; font-family: arial, sans-serif; font-size: 17.056px; font-weight: bold;"><br /></span>
<span style="background-color: #e5ecf9; font-family: arial, sans-serif; font-size: 17.056px; font-weight: bold;"><a href="https://bugs.chromium.org/p/chromium/issues/detail?id=654407">Print selection is missing some contents / pages</a></span><br />
<span style="background-color: #e5ecf9; font-family: arial, sans-serif; font-size: 17.056px; font-weight: bold;"><br /></span>
<span style="background-color: #e5ecf9; font-family: arial, sans-serif; font-size: 17.056px; font-weight: bold;"><a href="https://bugs.chromium.org/p/chromium/issues/detail?id=697233">getBoundingClientRect() wrong when printing</a></span>Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-44794532344182557902017-06-01T11:09:00.000+10:002017-06-01T13:10:55.089+10:00Safari: A problem occurred with this webpage so it was reloaded (Update)After filing an initial bug and reaching out to some Apple developers, Apple has been able to<br />
reproduce the problems causing these crashes in Safari, here is the list of bugs filed which<br />
reproduce the cryptic error message "A problem occurred with this webpage so it was reloaded"<br />
<br />
<a href="https://bugs.webkit.org/show_bug.cgi?id=172790" style="background-color: #f7f7f7; font-family: Verdana, sans-serif; font-size: small;">Out of memory crash with MapBox-gl-js</a><br />
<br />
<a href="https://bugs.webkit.org/show_bug.cgi?id=172533" style="background-color: white; font-family: Verdana, sans-serif; font-size: small;">Camera/Canvas file input crash: A Problem Occurred with this Webpage so it was Reloaded</a><br />
<br />
<a href="https://bugs.webkit.org/show_bug.cgi?id=172206" style="background-color: #f7f7f7; font-family: Verdana, sans-serif; font-size: small;">Pinch zoom crash: A problem occurred with this web page so it was reloaded</a><br />
<br />
<a href="https://bugs.webkit.org/show_bug.cgi?id=172728" style="background-color: #f7f7f7; font-family: Verdana, sans-serif; font-size: small;">Page that allocates and destroys canvas elements in a loop gets jettisoned on iOS</a><br />
<br />
It does somewhat concern me that after trawling thru github, I found lots of developers battling these<br />
problems but nobody had bothered to report the issue back to the webkit bug tracker (radar is simply<br />
a black hole from the late 20th century).<br />
<br />
By default iOS has reporting analytics turned off, which may be the reason why these kind of<br />
problems have been occurring for years without being resolved.<br />
<br />
The crash logs on iOS for these bugs indicate it's an out of memory, aka Memory leak/GC problem,<br />
but they only include a list of processes and doesn't even seem to include the url of the page which<br />
triggered the crash.<br />
<br />
Maybe does Apple get more detailed crash reports, but from an outside perspective it seems they<br />
don't and it's their users and web developers who are suffering as a result.<br />
<br />
<br />
<br />
<br />Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-8287735476076211902017-05-18T16:37:00.001+10:002017-05-24T13:02:32.460+10:00Mobile Safari: A problem occurred with this webpage so it was reloadedThis is one of the most frustrating and cryptic error messages thrown on the web today.<br />
<br />
There are legions of articles which suggest playing with various setting on iOS,
but in reality don't bother with them.<br />
<br />
Basically this message means Safari crashed (like Chrome Aw Snap, but without any
extra information or the ability to provide feedback),<br />
<br />
One of the most likely cause for this to happen is when Mobile Safari runs out of memory,<br />
in my current case it relates to a <a href="https://bugs.webkit.org/show_bug.cgi?id=172533">crash after attempting to take a photo from <input type="file"> and resizing via canvas</a><br />
<br />
You can find crash logs under Settings -> Privacy -> Analytics -> Analytics Data (iOS 10)<br />
<br />
As far as bug reporting goes, Apple operates their own <b>event horizon</b> with their radar system, but you can try a few of these public resources, <a href="http://www.openradar.me/">http://www.openradar.me</a>, <a href="https://bugs.webkit.org/">https://bugs.webkit.org/</a><br />
<br />
Meanwhile, other major browsers make developers life easier with a more open approach:<br />
<br />
<ul>
<li><a href="https://bugs.chromium.org/p/chromium/issues/list">Chrome's public bug tracker</a>, their developers actively engage with bug reports</li>
<li><a href="https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/">EdgeHTML issue tracker</a>, they are also very responsive, you can report IE11 problems too but unless it's a security problem, they will reject it as won't fix.</li>
<li><a href="https://bugzilla.mozilla.org/">Firefox Bugzilla</a>, depending on the problem you might get some response</li>
</ul>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com1tag:blogger.com,1999:blog-20100085.post-36675100234597766282016-12-24T15:53:00.002+11:002016-12-24T15:56:27.641+11:00Bill Shorten takes the piss out of Turnbull in the funniest speeches of 2016<iframe width="480" height="270" src="https://www.youtube.com/embed/iiMioDppSZE" frameborder="0" allowFullScreen=""></iframe>
<iframe width="480" height="270" src="https://www.youtube.com/embed/rgK5z4bQ3Zw" frameborder="0" allowFullScreen=""></iframe>
thanks to <a href="https://twitter.com/MSMWatchdog2013">MSMWatchdog2013</a> for the linksZac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-10533974227684753982016-10-05T16:07:00.000+11:002016-10-05T16:09:37.480+11:00How to stop a dead NBN battery unit beeping every 15 minutes<div style="max-width: 600px;">
When the battery backup unit for a NBN Fibre (FTTH) NTD (box on the wall) reaches the end
of it's life, it starts to beep every 15 minutes. BEEP BEEP BEEP<br />
<br />
These days most people have landlines and most likely any devices plugged into the NTD won't
have power to function anyway during a blackout, so you don't really need it and besides
we all have mobiles these days.<br />
<br />
<h2>
How do you stop the annoying beeping? </h2>
<div>
<br /></div>
<h2>
Just remove the battery from the box. Simple eh?</h2>
<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">so, turns out just removing a dead <a href="https://twitter.com/hashtag/nbn?src=hash">#nbn</a> backup battery stops the 15 minutes peeps and the internet still works... nobody suggested this :(</p>— Zac Spitzer (@zackster) <a href="https://twitter.com/zackster/status/783206673045422080">October 4, 2016</a></blockquote>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com2tag:blogger.com,1999:blog-20100085.post-34087073814779394082016-03-03T12:29:00.000+11:002016-03-03T12:29:11.406+11:00How to expand all child nodes in the Chrome Dev Tools Elements Panel<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr"><a href="https://twitter.com/zackster">@zackster</a> <a href="https://twitter.com/ChromeDevTools">@ChromeDevTools</a> Alt+<right arrow>, or Alt+<click expand> to expand recursively.</p>— Sam Li (@samdotli) <a href="https://twitter.com/samdotli/status/704172992775884800">February 29, 2016</a></blockquote>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
Here is the <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=590633">chromium bug</a> to expose this super useful feature via the UIZac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-34326140460543329562015-12-02T10:54:00.000+11:002015-12-02T10:56:27.153+11:00Firefox iOS: SecurityError: DOM Exception 18 with openDatabase()<div style="max-width:600px;">
<p>Firefox has been relased for iOS as another Safari/Webkit wrapper, but it's currently
unusable with Web SQL due to I think privacy settings.</p>
<p>
Bugzilla Bug: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1226025">SecurityError: DOM Exception 18: An attempt was made to break through the security policy of the user agent.</a>
</p>
<p>
<a href="https://jsbin.com/kimozuzuri/1/edit?html,js,console,output">Here is a very simple test case</a>
</p>
<p>Of course you might say, why not just use indexedDB? Well due to it being broken in the initial release in IE6, I mean Safari and Apple's terrible old school, we only update our browser with the operating system approach, that's not practical without doing version sniffing and writing Web SQL to IndexedDb migration logic. fun fun!</p>
</div>
Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-48283665686440063292015-10-23T14:28:00.000+11:002015-10-28T11:50:57.656+11:00Glyphicons showing up as Emoji in SafariWith the latest version of Safari 9 (iOS 9.1), I encountered a problem with Glyphicons<span style="-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.4px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"></span> (with bootstrap 3.3.5) showing up as Emoji.<br />
<br />
It only happens intermittently when offline using an appcache.<br />
<br />
Meanwhile, I also had <a href="http://fortawesome.github.io/Font-Awesome/">Font Awesome Icons</a> on the same page which were working fine.<br />
<br />
I found a few Stack Overflow posts <br />
<a href="http://stackoverflow.com/questions/32915485/how-to-prevent-unicode-characters-from-rendering-as-emoji-in-html-from-javascrip">How to prevent Unicode characters from rendering as emoji in HTML from JavaScript?</a><br />
<a href="http://stackoverflow.com/questions/30596607/how-to-prevent-bootstraps-glyphicon-rendering-to-emoji-opera-ff">How to prevent Bootstrap's glyphicon rendering to emoji (Opera, FF)?</a><br />
<br />
and a closed bootstrap bug<br />
<a href="https://github.com/twbs/bootstrap/issues/13488">Bootstrap v3.1.1: Wrong glyphicons on iPad </a><br />
<br />
But none of them had any solution which worked, but then doing some further research, I then discovered that <a href="https://github.com/twbs/bootstrap/issues/17877">Bootstrap v4 is dropping Glyphicons</a><br />
<br />
So, the solution I'm using is to get ready for Bootstrap v4 and just dump Glyphicons entirely<br />
<br />
<b>UPDATE: </b>Turns out it was a <em>PBKAC</em>, I didn't have a .woff entry in the appache manifest, as glorious <a href="http://caniuse.com/#search=woff2">IE6 (Safari) doesn't support woff2 yet</a><br />
<br />
<br />Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com1tag:blogger.com,1999:blog-20100085.post-14390236022589729642015-10-19T15:18:00.002+11:002015-10-19T15:24:08.898+11:00Some notes about developing offline web apps with ChromeI have been doing a fair bit of work developing offline support in web apps lately, I thought I'd share a few problems I've learnt along the way.<br />
<ul>
<li><a href="https://code.google.com/p/chromium/issues/detail?id=422956">Chrome's emulate offline mode doesn't trigger online/offline events</a></li>
<li><a href="https://code.google.com/p/chromium/issues/detail?id=379786">If you have Virtual box installed, Chrome won't detect if you are offline</a></li>
<li><a href="https://code.google.com/p/chromium/issues/detail?id=414319">Chrome's network throttling doesn't affect uploads</a></li>
<li><a href="https://code.google.com/p/chromium/issues/detail?id=511152">The workflow for toggling offline mode in Chrome is painful</a>, Firefox is much better and there is a nice extension <a href="https://addons.mozilla.org/firefox/addon/work-offline/">Work Offline</a> which gives you a toggle offline toolbar icon </li>
</ul>
The above links are all (nearly all) bug reports, <b>please star the issues if you care about them</b>, please don't spam the bug reports with useless "I'd like to see this fixed" messages.<br />
<br />
Hopefully this info might save you a bit of time <br />
<br />Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-68240102490244891702015-10-19T10:05:00.002+11:002015-10-19T10:05:37.237+11:00Safari - Web SQL - 14 unable to open database file [SOLVED]Just a quick post, if you ever encounter "14 unable to open database file" in Safari, it's probably due to Safari apparently not properly Garbage Collecting db handles from openDatabase calls.<br />
<br />
The solution is simply to re-use your database connections via a connection pool, as is common practice in many other application servers.<br />
<br />
Apparently this got a bit better with Safari 8, Safari 7 was much worse.<br />
<br />
I solved this myself after reading this issue <a href="https://github.com/pouchdb/pouchdb/issues/1068">https://github.com/pouchdb/pouchdb/issues/1068</a>Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-54368780764635855172015-09-08T10:22:00.003+10:002015-09-08T10:29:51.765+10:00Debugging web apps on iOS from Windows using Firefox's WebIDEThe WebIDE in Firefox Developer edition (Shift-F8) supports <a href="https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging">Remote Debugging</a> of browsers on iOS and Android devices all via a single interface.<br />
<br />
<div class="separator" style="clear: both;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGLBLl-nuN7na5XvCyzvWgoPFNh3ik9M_OiI7lYB8VkAdbCPFZIAAMA7_OLjd96sfPQ1xfaHiwlUUZT_wZWYP4ZKHXNTYvQatQWteHtt7Qm8icHD2Vo75nQnuKJ8RcEuux_o9j1w/s1600/webide+remote+debugging.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="296" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGLBLl-nuN7na5XvCyzvWgoPFNh3ik9M_OiI7lYB8VkAdbCPFZIAAMA7_OLjd96sfPQ1xfaHiwlUUZT_wZWYP4ZKHXNTYvQatQWteHtt7Qm8icHD2Vo75nQnuKJ8RcEuux_o9j1w/s320/webide+remote+debugging.jpg" width="320" /></a></div>
Once you have connected, just select the tab you want to debug from the Open App drop down menu.<br />
<br />
You might need to reboot after installing <a href="https://www.mozilla.org/en-US/firefox/developer/">Firefox Developer Edition</a> for the iOS link to work<br />
<br />
Internally it uses <a href="https://github.com/mozilla/valence">Valance</a><br />
<br />
Super useful, especially if you don't have a Mac handyZac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com1tag:blogger.com,1999:blog-20100085.post-37078140078270295692015-08-08T13:01:00.002+10:002015-08-08T13:01:51.396+10:00Is Pura Milk GMO Free?<blockquote class="tr_bq" style="background-color: white; margin: 0cm 0cm 0.0001pt;">
<blockquote class="tr_bq" style="margin: 0cm 0cm 0.0001pt;">
<span style="color: #222222; font-family: Trebuchet MS, sans-serif;">Dear Zac,</span></blockquote>
<blockquote class="tr_bq" style="margin: 0cm 0cm 0.0001pt;">
<span style="color: #222222; font-family: Trebuchet MS, sans-serif;"><br /></span></blockquote>
<blockquote class="tr_bq" style="margin: 0cm 0cm 0.0001pt;">
<span style="color: #222222; font-family: Trebuchet MS, sans-serif;">Lion is committed to providing products of the highest possible standards in terms of quality and food safety.</span></blockquote>
<blockquote class="tr_bq" style="margin: 0cm 0cm 0.0001pt;">
<span style="color: #222222; font-family: Trebuchet MS, sans-serif;"><br /></span></blockquote>
<blockquote class="tr_bq" style="margin: 0cm 0cm 0.0001pt;">
<span style="color: #222222; font-family: Trebuchet MS, sans-serif;">Lion products are not Genetically Modified (GM) or derived from Genetically Modified ingredients, and we ensure complete compliance with National, State and Territory Food Stan</span></blockquote>
</blockquote>
<br />
<blockquote class="tr_bq" style="background-color: white; margin: 0cm 0cm 0.0001pt;">
<blockquote class="tr_bq" style="margin: 0cm 0cm 0.0001pt;">
<span style="color: #222222; font-family: Trebuchet MS, sans-serif;">Lion will not accept milk which contains GM material.</span></blockquote>
</blockquote>
<br />
<blockquote class="tr_bq" style="background-color: white; margin: 0cm 0cm 0.0001pt;">
<blockquote class="tr_bq" style="margin: 0cm 0cm 0.0001pt;">
</blockquote>
<blockquote class="tr_bq" style="margin: 0cm 0cm 0.0001pt;">
<span style="color: #222222; font-family: Trebuchet MS, sans-serif;">Lion has an extensive QA program for its farm supply base, to ensure its milk supply is of the highest standards in terms of quality and food safety.</span></blockquote>
</blockquote>
<br />
<blockquote class="tr_bq" style="background-color: white; margin: 0cm 0cm 0.0001pt;">
<blockquote class="tr_bq" style="margin: 0cm 0cm 0.0001pt;">
</blockquote>
<blockquote class="tr_bq" style="margin: 0cm 0cm 0.0001pt;">
<span style="color: #222222; font-family: Trebuchet MS, sans-serif;">Scientific evidence establishes that GM material present in stock feed is not transferred to milk, because of the nature of the digestive system of the cow. Even so, in recognition of some consumer concern, Lion recommends that farmer suppliers avoid GM feed for their cows.</span></blockquote>
</blockquote>
<br />
<blockquote class="tr_bq" style="background-color: white; margin: 0cm 0cm 0.0001pt;">
<blockquote class="tr_bq" style="margin: 0cm 0cm 0.0001pt;">
</blockquote>
<blockquote class="tr_bq" style="margin: 0cm 0cm 0.0001pt;">
<span style="color: #222222; font-family: Trebuchet MS, sans-serif;">Routine testing on finished product is carried out to verify that products are confirmed as GM free.</span></blockquote>
</blockquote>
<br />
<blockquote class="tr_bq" style="background-color: white; margin: 0cm 0cm 0.0001pt;">
<blockquote class="tr_bq" style="margin: 0cm 0cm 0.0001pt;">
</blockquote>
<blockquote class="tr_bq" style="margin: 0cm 0cm 0.0001pt;">
<span style="color: #222222; font-family: Trebuchet MS, sans-serif;">Lion is committed to complying with the Australian and New Zealand Foods Standards Code, and other applicable legislation in relation to products manufactured or sold outside of Australia or New Zealand. </span></blockquote>
</blockquote>
<br />
<blockquote class="tr_bq" style="background-color: white; margin: 0cm 0cm 0.0001pt;">
<blockquote class="tr_bq" style="margin: 0cm 0cm 0.0001pt;">
</blockquote>
<blockquote class="tr_bq" style="margin: 0cm 0cm 0.0001pt;">
<span style="color: #222222; font-family: Trebuchet MS, sans-serif;">To that end, all products are labelled in accordance with the requirements of the Australian and New Zealand Food Standards Code.</span></blockquote>
</blockquote>
<br />
<br />
I thought this might be useful information for those who are concerned about GMO foods.<br />
<br />
<br />
Personally, having read this article below, I now regret previously financially supporting Greenpeace<br />
<br />
<h2 class="dek" style="background-color: white; color: #281b21;">
<a href="http://www.slate.com/articles/health_and_science/science/2015/07/are_gmos_safe_yes_the_case_against_them_is_full_of_fraud_lies_and_errors.html">The war against genetically modified organisms is full of fearmongering, errors, and fraud. Labeling them will not make you safer.</a></h2>
<br />Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-84143845277266262332015-08-05T10:01:00.001+10:002015-08-05T10:04:44.091+10:00iinet port forwarding http, https not working? SOLUTIONIf you are an iiNet customer trying to port forward a home web server, remember to first log into <a href="https://toolbox.iinet.net.au/">toolbox</a> and turn off the port forwarding first.<br />
<br />
It may take up to 15 minutes to take affect.<br />
<br />
Hopefully this might save you some frustration trying to solve this problem<br />
<br />
If you need to check if your port is open, <a href="http://canyouseeme.org/">http://canyouseeme.org/</a> is handy, as is <a href="https://www.grc.com/shieldsup">GRC's ShieldsUP</a><br />
<blockquote class="tr_bq">
<h4 style="clear: both; color: #4f575f; display: inline; font-family: pluto-bold; font-size: 1.2em; font-weight: normal; line-height: 1em; margin: 5px 0px 0.5em; position: relative;">
Port Blocking</h4>
<span style="background-color: #f3f3f3; color: #4f575f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"></span><br />
<div style="color: #4f575f; font-family: Arial, Helvetica, sans-serif; font-size: 1.1em; line-height: 1.5em;">
This facility allows you to enable or disable port blocking on your ADSL / Dialup / Naked DSL account.</div>
<div style="color: #4f575f; font-family: Arial, Helvetica, sans-serif; font-size: 1.1em; line-height: 1.5em;">
The following can be toggled:</div>
<ul style="color: #4f575f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; list-style-position: outside; margin: 0px 0px 1em 2em; padding: 0px;">
<li style="font-size: 1em; line-height: 1.5em; margin: 0px 0px 0.25em;">Port 25 (smtp) inbound and outbound</li>
<li style="font-size: 1em; line-height: 1.5em; margin: 0px 0px 0.25em;">Port 80 (http) inbound</li>
<li style="font-size: 1em; line-height: 1.5em; margin: 0px 0px 0.25em;">Port 135 DCOM SCM inbound</li>
<li style="font-size: 1em; line-height: 1.5em; margin: 0px 0px 0.25em;">Port 139 (netbeui/ipx) inbound</li>
<li style="font-size: 1em; line-height: 1.5em; margin: 0px 0px 0.25em;">Port 443 (https) inbound</li>
<li style="font-size: 1em; line-height: 1.5em; margin: 0px 0px 0.25em;">Port 445 Microsoft Windows File sharing / NETBIOS inbound</li>
</ul>
<div style="color: #4f575f; font-family: Arial, Helvetica, sans-serif; font-size: 1.1em; line-height: 1.5em;">
These ports are commonly used for security exploits and denial of service attacks. If, however, you would like to disable port blocking on the above ports, you can do so by clicking the toggle button above. Note: Please be aware that it may take up to 15 minutes for your port blocking settings to take effect</div>
</blockquote>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF43EI_48V_okqDM51eVt_dx78gECkA5mtlZhY7wA0Ucx24HUour-9pTNbp0EZzeXi3o2BBwWSyvuY8YKWIzLtDpnP0mn7YyS5sJxJqak7jrdEbSBXENVnU6efucdJR9Y6PiAd3Q/s1600/iinet+port+blocking.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF43EI_48V_okqDM51eVt_dx78gECkA5mtlZhY7wA0Ucx24HUour-9pTNbp0EZzeXi3o2BBwWSyvuY8YKWIzLtDpnP0mn7YyS5sJxJqak7jrdEbSBXENVnU6efucdJR9Y6PiAd3Q/s1600/iinet+port+blocking.JPG" /></a></div>
<br />Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-82965124599434116072015-04-14T15:33:00.000+10:002015-04-14T17:32:19.634+10:00BROKEN: Web apps launched from the iOS home screen always reloadSadly mobile Safari has a <a href="http://www.mobilexweb.com/blog/safari-ios7-html5-problems-apis-review">sordid history</a> of being broken in each new release, but mobile web apps have been broken for a very long time (since circa 2010). <br />
<br />
It appears that if you save a web page using a <a href="http://updates.html5rocks.com/2014/11/Support-for-installable-web-apps-with-webapp-manifest-in-chrome-38-for-Android">manifest</a> to the homepage, it doesn't really work. Each time you click the icon from the homepage or switch back to the application, the damn webpage is reloaded, which is fine for a simple webpage, but we are talking about Web Apps. <br />
<br />
It would appear that at blame is iOS and it's faux multitasking.<br />
<br />
There is a lot of stuff over on Stackover flow about this, i.e. <a href="http://stackoverflow.com/questions/6930771/stop-reloading-of-web-app-launched-from-iphone-home-screen">Stop reloading of web app launched from iPhone Home Screen</a> . Alas, no solutions but advice to persist your application state in localstorage (or you could <a href="http://www.raymondcamden.com/2014/09/25/IndexedDB-on-iOS-8-Broken-Bad">risk indexeddb which is another sad Safari story</a>) but that doesn't solve the underlying problem.<br />
<br />
Meanwhile, Chrome on Android just works a treat, Web Apps don't reload when you switch or launch them.<br />
<br />
My main frustration with Web Apps via Chrome on Android is that the Fullscreen API doesn't allow you to expose the browser chrome and thus settings from full screen mode.<br />
<br />
This means it's even more complicated for users wanting to re-enable navigator.geolocation support after ignoring or denying the first and only prompt. Try walking your parents thru that over the phone...<br />
<br />
Please prove me wrong or tell me the next iOS release addresses this issue?Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com1tag:blogger.com,1999:blog-20100085.post-33070145104888576322014-07-05T00:30:00.000+10:002014-07-05T00:30:11.846+10:00How to get real line numbers in Chrome when using a wrapped console.log functionIf you use a wrapped console.log function in your javascript, it's rather annoying that the console log entries always refer
to the wrapping function rather than the relevant line in your source code.<br />
<br />
Fortunately, Chrome has a workaround <a href="http://www.divshot.com/blog/tips-and-tricks/ignoring-library-code-while-debugging-in-chrome/">Tips and Tricks: Ignoring library code while debugging in Chrome</a> (remember to open and close dev tools as described in the article)<br />
<br />
There are a number of good reasons to wrap your console log calls, firstly handling old browsers which don't always have a console
and secondly, keeping a buffer of console logs which can be included when capturing and reporting client side errors<br />
<br />
While on the subject of client side errors, <a href="https://github.com/occ/TraceKit">Tracekit</a> is a useful library which provides stack traces for javascript errorsZac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-32613159143397298712014-06-28T13:05:00.000+10:002014-06-28T13:09:43.229+10:00Front runner for Political Meme of the Year<blockquote class="twitter-tweet" lang="en" style="height:500px;width:500px;">
We don't accept the science. Scientists are crazies, whackos, weirdos & freaks <a href="https://twitter.com/hashtag/ScienceDenial?src=hash">#ScienceDenial</a> <a href="https://twitter.com/hashtag/climatechange?src=hash">#climatechange</a> <a href="https://twitter.com/hashtag/auspol?src=hash">#auspol</a> <a href="http://t.co/iAHfTdxJyF">pic.twitter.com/iAHfTdxJyF</a><br />
— CO2 Is Good For You (@geeksrulz) <a href="https://twitter.com/geeksrulz/statuses/482363054428942336">June 27, 2014</a></blockquote>
<script async="" charset="utf-8" src="//platform.twitter.com/widgets.js"></script>
Liberals celebrate passing the Carbon Tax repeal bills in the HoR (again)Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-16986916723347224552014-01-19T04:29:00.001+11:002014-06-28T13:08:32.168+10:00SOLUTION: When OSX won't recognise an exFAT external hard driveA little gotcha with <a href="http://en.wikipedia.org/wiki/ExFAT">exFAT</a> (a disk format like FAT32/NTFS etc which both OSX and Windows support out of the box)
is that silly old OSX will only recognise the disk if the cluster size is 4,096 or less.<br />
<br />
So if you can't see an external exFAT disk from a Mac, you probably need to backup the data and then reformat
the disk with a cluster size of 4,096 or less.. if that doesn't work, carefully delete the partition from OSX and recreate it.<br />
<br />
4,096 is rather shit for large files like photos, mp3, etc but anyway, it worksZac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-80601665356240016662014-01-11T04:08:00.001+11:002014-01-11T04:08:37.138+11:00My obligatory Cory Bernardi op-edCory Bernardi is a dickheadZac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-59052372098000972162013-12-21T18:53:00.000+11:002013-12-25T23:23:25.154+11:00My Mum's Summer Pudding Recipe <div style="max-width: 700px;">
<div class="separator" style="clear: both;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwf_HEmTWj0MYDn-3Of0gh7IQxBNWwR7bYESKNGPeHXNLaL1H6EV01U8Fp6KmwoV1COFnk1phDrvNsM7CwX5yVidLhSdYmO5V40NY62yPVZntIFxpKnSSb78C_iBRV0Y5DA2Lzhg/s1600/IMAG1090.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="181" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwf_HEmTWj0MYDn-3Of0gh7IQxBNWwR7bYESKNGPeHXNLaL1H6EV01U8Fp6KmwoV1COFnk1phDrvNsM7CwX5yVidLhSdYmO5V40NY62yPVZntIFxpKnSSb78C_iBRV0Y5DA2Lzhg/s320/IMAG1090.jpg" width="320" /></a></div>
Serves 6
<br />
<ul>
<li>8-12 slices day old white bread
</li>
<li>900 g of frozen fruit blackberries/raspberries/mixed berries but not strawberries
</li>
<li>100g-170g white sugar</li>
</ul>
<div>
<br /></div>
<div>
<br /></div>
Mum adds 1 chopped green apple (per pudding) diced to make the fruit go further.
<br />
<br />
Rinse a 900 ml pudding basin with cold water. Trim the crusts from the bread slices. Cut a circle from 1 slice to fit the bottom of the basin. Cut enough wedge-shaped pieces to fit around the sides. Press bread in firmly to line the basin making sure there are no gaps. Reserve a few pieces of bread to cover the top.
<br />
<br />
Trim the fruits and put them into a saucepan. Add the sugar, cover with a pan lid, and cook gently for 5 minutes, or until fruit is softened. Turn hot fruits into the lined pudding basin. Cover the top with the remaining pieces of bread and put a weighted plate on top. Allow to stand overnight.
<br />
<br />
Remove the weighted plate and place a serving plate over the pudding. Invert pudding on to the plate and serve with cream.
<br />
<br />
<h3>
Mum's tips:</h3>
<ol>
<li>Very little extra trouble to make two instead of one (recipe is for one).
</li>
<li>If you add a little bit of extra fruit and sugar it will give you extra juice. (Sugar and fruit must be in the same proportions).
</li>
<li>Any type of pudding basin can be used (Not sure if metal OK because of the acidic action of fruit on metal).
</li>
<li>The pudding should come to about half a cm from the top of the bowl.
</li>
<li>If the top layer of bread is still white add a bit more juice.
</li>
<li>Then cover with two layers of glad wrap tightly. With weight on top put in fridge.
</li>
<li>When ready to eat remove glad wrap, loosen gently with a knife and put a plate on top and invert.
</li>
<li>However careful you are, there are always white patches and stain with juice.
</li>
<li>Remaining juice put in a bottle in the fridge and pour over pudding to serve plus cream.
</li>
</ol>
<div>
<b>Update: </b>Mum got the original recipe from Katie Stewart's Cookbook ISBN 0 330 28556 4 (1985)</div>
</div>
<br />
<br />
<br />Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-91291807759603927972013-12-20T03:13:00.000+11:002014-01-19T22:48:30.315+11:00Best German Prepaid Sim Card 2013<div style="max-width: 600px;">
Most German prepaid SIM cards generally suck with tiny 200mb 3G data allowances, don't even bother looking for prepaid LTE/4G...<br />
<br />
The best by far seems to be C<a href="https://www.congstar.de/">ongstar</a>, it's all in German, including text images, so Google Chrome translating isn't always helpful, so you will need to have a smattering of German to work it out and register.<br />
<br />
You can by a prepaid SIM card from <a href="http://www.dm.de/de_homepage/">DM</a> for <span style="background-color: white; color: #444444; font-family: arial, sans-serif; font-size: x-small; line-height: 14.545454025268555px;">€</span>8.49 which includes €10 credit, or from any <a href="http://www.telekom.de/">http://www.telekom.de</a> shop, lookout for the pink T sign, for €9.95.<br />
<br />
(BTW Congstar uses the t-mobile network, supposedly the best in Germany, but they only sell the SIM packs, no in store support)<br />
<br />
There are two SIM packs, one in plastic which lets you choose options, the other one has a choice of two plans.<br />
<br />
If you are like me, only after data, you can get 1Gb for €12:90 for 30 days which I think is the best you will find. 3Gb is only €19.90<br />
<br />
Viel spass!
<br />
<br />
<b>UPDATE</b><br />
<br />
1. You can find out how much data you have used via <a href="http://pass.telekom.de/">pass.telekom.de</a>, (not via WiFI or WLAN as the Germans call it)<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj16EJSAyYd2cMBBoDreu6aiTm5HKOMfGPEeIkC8DDGw72plvtXCSHRvtJlTw4Vz_rsccJ_SkAN5C_GsR48AXOYgqXsD0o9FtO5DOCFWYYj_w4D8ffhzESrYEsUKT9vM9IQaFEeaQ/s1600/Screenshot_2014-01-10-15-42-41.png" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj16EJSAyYd2cMBBoDreu6aiTm5HKOMfGPEeIkC8DDGw72plvtXCSHRvtJlTw4Vz_rsccJ_SkAN5C_GsR48AXOYgqXsD0o9FtO5DOCFWYYj_w4D8ffhzESrYEsUKT9vM9IQaFEeaQ/s320/Screenshot_2014-01-10-15-42-41.png" /></a>
<br />
2. This is annoying, surf packet (data) is per month, so once you have used up your data, you are speed limited to 64k. You can't upgrade to a higher plan until the next month, which is really dumb. You can however, via <a href="http://www.congstar.de/prepaid/speedon/">speed on</a>, purchase a 500mb upgrade, via the <a href="http://pass.telekom.de/">pass.telekom.de</a>, so I would really recommend the 3GB option<br />
<br />
3. The live chat support via <a href="http://www.congstar.de/">congstar.de</a> is quite good and if you ask them to speak English they can :)
</div>
Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com2tag:blogger.com,1999:blog-20100085.post-53583761200631369922013-12-01T23:22:00.002+11:002013-12-02T13:17:44.120+11:00How the LNP killed off the Election debate over #gonski with one lie<div class="separator" style="clear: both;">
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiQgmNJBEVmSuJwHbFktCWgc1FnLNszhunCNU86mDmZ_ZkcmXNuqmT9UvV8LvLkZSBT7L1ZiTF5JoZ2YM7VbNThVPx-iMaJbFHXg-5ZFQvmX0sYmbtItwDOz4RUAzh6YL9xrUG4Q/s1600/gonski+90+days.png" /></div>
<br />
Source: <a href="https://www.google.com.au/trends/explore?q=gonski#q=gonski&date=today%2012-m&gprop=news&cmpt=q">Google Trends</a>
<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="315" src="//www.youtube.com/embed/LvE69W9yPRo" width="560"></iframe>Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-91153917461237100152013-12-01T01:37:00.003+11:002013-12-01T01:39:02.133+11:00Windows Power Tip, right click task bar items for shortcuts to frequent usesI only just discovered this by accident, if you right click on start bar icons,<br />
you get a list of frequently accessed items.<br />
<br />
So for web browsers, you get most visited websites and recently closed sites,<br />
with Windows Explorer, you get your most frequently accessed folders.<br />
<br />
Can't believe I only just discovered this after all these years of using Windows!
<br />
<br />
You can also <a href="http://agsci.psu.edu/it/training-consulting/news/2012/04/how-do-i...-access-frequently-used-folders-in-windows-7">increase the number of items in the list</a><br />
<br />
EnjoyZac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-55811821985801936562013-11-23T15:23:00.001+11:002013-11-23T22:02:50.264+11:00Minister for Finance, Why did China dump Direct Action for Emissions Trading?<div style="max-width:700px;"><i><p>"Chinese officials have expressed their surprise and disappointment that Australia is seeking to repeal its carbon price, just as the world’s second largest economy and biggest polluter prepares to launch new carbon trading schemes of its own, and seek linkages with international markets.</p>
<p>Just hours after Australia’s Environment Minister Greg Hunt was hailing the passage of the carbon repeal legislation through the lower house in Canberra as a “victory for the people”, his somewhat more powerful and longer sighted Chinese counterpart, Xie Zhenhua, was hosting a presentation at the Chinese pavilion at the climate talks in Warsaw, <b>hailing the start of pilot carbon trading schemes in Shanghai and Beijing next week</b>."</i></p>
Source: <a href="http://reneweconomy.com.au/2013/china-surprised-and-disappointed-by-australias-carbon-repeal-11338">China surprised and disappointed by Australia’s carbon repeal</a>
</div>
<p>Our new Minister for Finance has some explaining to do, or is this an operational matter too?</p>
<br />
<blockquote class="twitter-tweet" lang="en">
<a href="https://twitter.com/seamussantos">@seamussantos</a> we are not suggesting inaction we're suggesting direct action. That's what Obama, China and India are doing too...<br />
— Mathias Cormann (@MathiasCormann) <a href="https://twitter.com/MathiasCormann/statuses/57426713486958592">April 11, 2011</a></blockquote>
<script async="" charset="utf-8" src="//platform.twitter.com/widgets.js"></script>
<br />
<blockquote class="twitter-tweet" lang="en">
<a href="https://twitter.com/seamussantos">@seamussantos</a> are u suggesting China & India will have ETS? Don't think so. Labor's economic modelling assumes they will & the US from 2010.<br />
— Mathias Cormann (@MathiasCormann) <a href="https://twitter.com/MathiasCormann/statuses/57426380782182400">April 11, 2011</a></blockquote>
<script async="" charset="utf-8" src="//platform.twitter.com/widgets.js"></script>
<br />
<blockquote class="twitter-tweet" lang="en">
Tony back in 2007 people thought the US would have an ETS by 2010 (they don't), China by 2015 (they won't). <a href="https://twitter.com/search?q=%23qanda&src=hash">#qanda</a><br />
— Mathias Cormann (@MathiasCormann) <a href="https://twitter.com/MathiasCormann/statuses/75168918376939521">May 30, 2011</a></blockquote>
<script async="" charset="utf-8" src="//platform.twitter.com/widgets.js"></script>
<br />
<blockquote class="twitter-tweet" lang="en">
When Labor's Carbon Tax is renamed an ETS in 2015 its cost is likely to at least double. <a href="https://twitter.com/search?q=%23auspol&src=hash">#auspol</a> <a href="https://twitter.com/search?q=%23myliberal&src=hash">#myliberal</a><br />
— Mathias Cormann (@MathiasCormann) <a href="https://twitter.com/MathiasCormann/statuses/89880533068292096">July 10, 2011</a></blockquote>
<script async="" charset="utf-8" src="//platform.twitter.com/widgets.js"></script>
<br />
<blockquote class="twitter-tweet" lang="en">
So China is going for Direct Action then Prime Minister? <a href="https://twitter.com/search?q=%23qanda&src=hash">#qanda</a><br />
— Mathias Cormann (@MathiasCormann) <a href="https://twitter.com/MathiasCormann/statuses/90392119709155328">July 11, 2011</a></blockquote>
<script async="" charset="utf-8" src="//platform.twitter.com/widgets.js"></script>
<br/>
Then again......
<br />
<blockquote class="twitter-tweet" data-conversation="none" lang="en"><p><a href="https://twitter.com/350ppmJames">@350ppmJames</a> We'll repeal the whole lot. The carbon tax is socialism masquerading as environmentalism</p>— Tony Abbott (@TonyAbbottMHR) <a href="https://twitter.com/TonyAbbottMHR/statuses/177929885669539840">March 9, 2012</a></blockquote>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0tag:blogger.com,1999:blog-20100085.post-89525421591372551812013-11-22T14:07:00.001+11:002013-11-22T20:19:16.843+11:00Pensions at 70, rubbish, tax super income above the minimum wageJust a quick post<br />
<br />
There have been stories in the media about moving the eligibility age for the pension up to 70,<br />
which is just a plain stupid idea. Why is this even an issue, because we can't afford the current system.<br />
<br />
When the ALP introduced PPL, they decided the minimum wage was right benchmark. <br />
<br />
I would suggest that any super income should also be progressively taxed starting at levels above the minimum wage, which is higher than the current tax free threshold but if that is considered a fair wage, that should be fine for people living off super.<br />
<br />
To quote the PM: "<span class="st">If you want to put a price on carbon why not just do it with a <em>simple tax</em>.</span>"<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />Zac Spitzerhttp://www.blogger.com/profile/02374370583117658384noreply@blogger.com0