Jump to content

  • Log In with Google      Sign In   
  • Create Account

Calling all IT Pros from Canada and Australia.. we need your help! Support our site by taking a quick sponsored surveyand win a chance at a $50 Amazon gift card. Click here to get started!

Don Carnage

Member Since 21 Aug 2003
Offline Last Active Aug 27 2015 02:45 PM

Posts I've Made

In Topic: 99 bottles Challenge thread 2

28 July 2015 - 06:39 AM

Shortest I could manage in Powershell ph34r.png (251 chars):
function n($n, $c) {
    $s = 's'
    $( switch ($n) {
        -1 { '99' }
        0  { $c + 'o more' }
        1  { $s = ''
             "$n" }
        default { "$n" }         
    }) + " bottle$($s) of beer"
$w = ' on the wall'
99..0 | % { 
    "$(n $_ 'N')$w, $(n $_ 'n')."
    $( if ($_ -eq 0) { 
        'Go to the store and buy some more' 
    } else { 
        'Take one down and pass it around' 
    }) + ", $(n($_-1)'n')$w.`n" 

In Topic: "unofficial" programmer rant thread

07 August 2014 - 01:19 PM

Last steady job had me doing a JPA web app with a JSF frontend and Android client. Code was stored on SVN, built by Maven, all from inside Netbeans/Eclipse.


Sometimes I think the universe is out to get me.

In Topic: Sample Collada Animation

21 July 2014 - 10:22 AM

Tree.js has a Collada loader. They had this among their examples:


http://threejs.org /examples/models/collada/monster/monster.dae


In Topic: Super Planet Crash ... scores?

21 April 2014 - 07:50 PM

Two brown dwarfs close to the sun no problemcool.png  3M pts.


Edit: wrong link. I'll try again.

In Topic: Super Planet Crash ... scores?

21 April 2014 - 07:22 PM

Fun little app. Was fooling around with something like this back in the Delphi days. Does anything like this exist for phone/tablet?

Earth is habitable but influenced by single outer dwarf star. Fast forward for cool corona-like effect of Earth's orbit. 17,734,857 points.

Earth is habitable but with strange orbit caused by inner dwarf star causing the Sun to wobble. An outer brown dwarf completes the pretty picture. 16M pts.

Wonder how crazy these systems can get without causing instability?

Also wonder if they could be cheating in anyway in their calculations, since we are dealing with a "simulation" game.

If you were doing the exact measurements, and modelling and simulation of a distant star system, how long a simulated stability period would you consider "ok for settling"?