Author Archives: Blender Fox

Unknown's avatar

About Blender Fox

Recreational road-runner, blender/CG rookie, linux user (LE-1, LPIC-1, SUSE CLA 11, SUSE 11 Tech Spec), programmer, avid tinkerer (I'm always breaking things), self-confessed anime & manga otaku & japanophile

C25K – Week 3 Day 2

I completed C25K Week 3 Day 2 (1.83 km), in 13:18, pace 07:16 min/km, with @RunDouble http://rndb.co/z50E

GPS fritzed during the run, messing up my pace time.

 

Virtualisation

Wow, you learn something new everyday. I’ve just found out about two variations on virtualisation. Linux Containers (LXC) and Vagrant.

Linux Containers (LXC) is known as OS-level virtualisation, meaning the kernel looks after the virtualisation, and there is no need for some extra management software along the lines of VMWare or Virtualbox. The guest OSes run as containers, similar to chroot jails, and all containers, including the main one you booted from, share the same kernel and resources as your main container. As such, LXC only supports linux-based guest OSes. You can’t (easily, anyway) run Windows under LXC. Homepage, Wikipedia.

Vagrant is a strange one. It sells itself as being a way to keep development environments consistent, and I can understand why — if you have a team of people all with a VM of the same OS, but end with different results because they have tinkered with the settings on the VM OS, Vagrant prevents this by keeping the core one in the cloud, and each time the machine is started up, it checks itself against the cloud version, updating itself if needed. That guarantees consistency. Homepage, Wikipedia.

I haven’t tried both of these tools in great detail yet, but here’s some related links for you to check out:

Sharing

I didn’t realise WordPress tracks shares of my posts. Some interesting stats.

Turns out the most shared post is this one:

https://blenderfox.com/2013/04/03/snippet-chromium-snapshot-download-cygwin/

And the most popular share site is Pinterest (654 shares). Least popular share site is Tumblr (574 shares)

Game (And Software) Release Stages

This is a Google Developers episode detailing how best to avoid releasing broken or defective games on Google Play. It speaks of three release stages: Alpha, Beta, and Canary/Staged Rollout. Alpha and Beta, almost all people are aware of. But Canary/Staged Rollout is a new term for me, but makes a lot of sense.

If you develop and/or release software, this is probably worth a watch.

C25K – Week 3 Day 1

I completed C25K Week 3 Day 1 (1.83 km), in 09:25, pace 05:08 min/km, with @RunDouble http://rndb.co/G4Vb

First workout of Week 3, distance training now. Pretty easy – relatively short distances for the intervals, and only four intervals. But, I’m not going to jinx myself

Nike+ Track

 

C25K – Week 2 Day 3

I completed C25K Week 2 Day 3 (timed) (3.26 km), in 18:56, pace 05:48 min/km, with @RunDouble http://rndb.co/c4Xn

Final workout of Week 2, next run start Week 3 and begins the distance training.

Nike+ Track

 

Krum – an action RPG made in Blender GE | BlenderNation

The last time I mentioned Krum was over a year and a half ago. The game has progressed a lot since them!

Hey guys, I’ve made a new trailer video for my game KRUM.

It’s a cartoon-ish style, third-person, role-playing game. KRUM has medieval settings, with some fantasy elements…yeah well, actually it’s just a brutal melee game with advanced combat tactics.

And most important about it – the game it self is using Blender GE and Python 2.62. and all its assets and animations are made in Blender.

Krum – an action RPG made in Blender GE | BlenderNation.

Get Yesterday’s date in MS DOS Batch file

A useful snippet of DOS Batch Scripting to get yesterday’s date (or any other historical date for that matter). Very useful to then use with other DOS commands like xcopy or forfiles.

Linux though, it’s a hell of a lot user, just add options to the find command

@echo off
set yyyy=
set $tok=1-3
for /f "tokens=1 delims=.:/-, " %%u in ('date /t') do set $d1=%%u
if "%$d1:~0,1%" GTR "9" set $tok=2-4
for /f "tokens=%$tok% delims=.:/-, " %%u in ('date /t') do (
for /f "skip=1 tokens=2-4 delims=/-,()." %%x in ('echo.^|date') do (
set %%x=%%u
set %%y=%%v
set %%z=%%w
set $d1=
set $tok=))
if "%yyyy%"=="" set yyyy=%yy%
if /I %yyyy% LSS 100 set /A yyyy=2000 + 1%yyyy% - 100
set CurDate=%mm%/%dd%/%yyyy%
set dayCnt=%1
if "%dayCnt%"=="" set dayCnt=1
REM Substract your days here
set /A dd=1%dd% - 100 - %dayCnt%
set /A mm=1%mm% - 100
:CHKDAY
if /I %dd% GTR 0 goto DONE
set /A mm=%mm% - 1
if /I %mm% GTR 0 goto ADJUSTDAY
set /A mm=12
set /A yyyy=%yyyy% - 1
:ADJUSTDAY
if %mm%==1 goto SET31
if %mm%==2 goto LEAPCHK
if %mm%==3 goto SET31
if %mm%==4 goto SET30
if %mm%==5 goto SET31
if %mm%==6 goto SET30
if %mm%==7 goto SET31
if %mm%==8 goto SET31
if %mm%==9 goto SET30
if %mm%==10 goto SET31
if %mm%==11 goto SET30
REM ** Month 12 falls through
:SET31
set /A dd=31 + %dd%
goto CHKDAY
:SET30
set /A dd=30 + %dd%
goto CHKDAY
:LEAPCHK
set /A tt=%yyyy% %% 4
if not %tt%==0 goto SET28
set /A tt=%yyyy% %% 100
if not %tt%==0 goto SET29
set /A tt=%yyyy% %% 400
if %tt%==0 goto SET29
:SET28
set /A dd=28 + %dd%
goto CHKDAY
:SET29
set /A dd=29 + %dd%
goto CHKDAY
:DONE
if /I %mm% LSS 10 set mm=0%mm%
if /I %dd% LSS 10 set dd=0%dd%
REM Set IIS and AWS date variables
set IISDT=%yyyy:~2,2%%mm%%dd%
set AWSDT=%yyyy%-%mm%-%dd%

PowerCram: Get Yesterday’s date in MS DOS Batch file.