Traveller Store CotI Features New Posts Mark Forums Read Register


Go Back TravellerRPG.com > Citizens of the Imperium > General Traveller Discussions > Software Solutions

Software Solutions Discussions on Traveller related software.

Reply
 
Thread Tools Display Modes
  #11  
Old August 4th, 2016, 07:49 AM
nobby-w nobby-w is offline
Citizen: SOC-13
 
Join Date: Jul 2013
Location: The High Weald.
Posts: 707
Gallery : 10
nobby-w Citizen+nobby-w Citizen+
Default

Quote:
Originally Posted by Leitz View Post
[ . . . ]
What's your Coding JotD?
The last RP-related bit of coding was a CT Book-6 (Scouts) style star system generator and a SVG renderer for sector maps. That was in Python.
Reply With Quote
  #12  
Old August 4th, 2016, 08:20 AM
Leitz's Avatar
Leitz Leitz is offline
Baron
 
Join Date: Mar 2009
Location: Wretched hive of scum and villany
Posts: 2,740
Gallery : 0
Leitz Citizen+Leitz Citizen+Leitz Citizen+
Default

Quote:
Originally Posted by nobby-w View Post
More like a cross between perl and smalltalk.
Not sure about Smalltalk, but there's a lot of difference between Perl and Ruby. Because of its innate OO nature Ruby is more like Python. Matz, the author of Ruby, acknowledges a lot of other languages, though.
Reply With Quote
  #13  
Old August 4th, 2016, 01:33 PM
whartung whartung is offline
Citizen: SOC-14
 
Join Date: Nov 2004
Posts: 2,591
Gallery : 0
whartung Citizen+whartung Citizen+whartung Citizen+
Default

No reason to miss smalltalk. There are several very capable implementations.

Squeak and Pharo (a fork of Squeak) have a great community about them and are really capable.
Reply With Quote
  #14  
Old August 4th, 2016, 08:21 PM
Leitz's Avatar
Leitz Leitz is offline
Baron
 
Join Date: Mar 2009
Location: Wretched hive of scum and villany
Posts: 2,740
Gallery : 0
Leitz Citizen+Leitz Citizen+Leitz Citizen+
Default

After realizing my chargen stuff didn't have hair and skin tone, added those easily.
Reply With Quote
  #15  
Old August 5th, 2016, 12:41 PM
robject's Avatar
robject robject is offline
Marquis
 
Join Date: Mar 2002
Posts: 13,926
Gallery : 9
Visit robject's Blog
robject has disabled reputation
Default

Quote:
Originally Posted by Leitz View Post
Not sure about Smalltalk, but there's a lot of difference between Perl and Ruby. Because of its innate OO nature Ruby is more like Python. Matz, the author of Ruby, acknowledges a lot of other languages, though.
Weirder and weirder: Perl6 has gone the innate OO route as well.
__________________
Imperiallines magazine
My Helpful Stuff for Traveller5
IMTU tc+ t5++ 3i(+) au ls+ / OTU 44% an+ dt+ ge- j- jf+ n- pi+ pp+ tr+ tv- uwp+ xb+
Tools Link
Reply With Quote
  #16  
Old August 6th, 2016, 12:41 PM
Leitz's Avatar
Leitz Leitz is offline
Baron
 
Join Date: Mar 2009
Location: Wretched hive of scum and villany
Posts: 2,740
Gallery : 0
Leitz Citizen+Leitz Citizen+Leitz Citizen+
Default

Spent the morning playing with Neo4J and Cypher. Created a very small set of relationships in the game I'm in. I think it will help map factions in an upcoming power struggle.
Reply With Quote
  #17  
Old August 13th, 2016, 07:53 AM
Leitz's Avatar
Leitz Leitz is offline
Baron
 
Join Date: Mar 2009
Location: Wretched hive of scum and villany
Posts: 2,740
Gallery : 0
Leitz Citizen+Leitz Citizen+Leitz Citizen+
Default

Able to make CharacterTools.muster_out() handle stat modifications and multiple awards of Gun, Blade, or Weapons. In under an hour or so after not having glanced at the code for a week. Yay Ruby!
Reply With Quote
  #18  
Old August 13th, 2016, 07:56 AM
Leitz's Avatar
Leitz Leitz is offline
Baron
 
Join Date: Mar 2009
Location: Wretched hive of scum and villany
Posts: 2,740
Gallery : 0
Leitz Citizen+Leitz Citizen+Leitz Citizen+
Default

Quote:
Originally Posted by robject View Post
Weirder and weirder: Perl6 has gone the innate OO route as well.
I'm trying to learn OOP. Sadly, even when using a pure OO language like Ruby my code tends to be not much different than my shell code. Still working on that. OOP seems to have some benefits, but some places just don't need it.
Reply With Quote
  #19  
Old August 13th, 2016, 08:39 AM
robject's Avatar
robject robject is offline
Marquis
 
Join Date: Mar 2002
Posts: 13,926
Gallery : 9
Visit robject's Blog
robject has disabled reputation
Default

I think one of the best ways to learn OOP is at work with a team dedicated to the rigor of OOP. That's how I learned it.
__________________
Imperiallines magazine
My Helpful Stuff for Traveller5
IMTU tc+ t5++ 3i(+) au ls+ / OTU 44% an+ dt+ ge- j- jf+ n- pi+ pp+ tr+ tv- uwp+ xb+
Tools Link
Reply With Quote
  #20  
Old August 13th, 2016, 11:08 AM
tjoneslo tjoneslo is offline
Citizen: SOC-14
 
Join Date: Feb 2001
Location: Ferrisburgh, VT, USA
Posts: 2,892
Gallery : 2
Visit tjoneslo's Blog
tjoneslo Citizen+tjoneslo Citizen+tjoneslo Citizen+
Default

My coding JotD was finding the Inflect library. The allow you to pass a couple of parameters to inflect and it correctly produces, depending upon number:
  • are no Hi pop worlds
  • is one Hi pop world
  • are two Hi Pop worlds

Plurals for nouns, verbs, and adverbs, number formatting, a/an done correctly. There's a version for both perl and python. I'm using the python version and not having to figure that out is awesome.

From their doc page:

BUGS AND IRRITATIONS

The endless inconsistencies of English
__________________
Archduke of the Solomani Rim - Terra (Solomani Rim 1827)
Duke Akumid - Akumid (Vland 1628)
Marquis Yeremyh - Yeremyh (Solomani Rim 1804)
Marquis Hysyl - Hysyl (Deneb 2425)
Baron Regina - Regina (Spinward Marches 1910)
TAS member - Vipan (Empty Quarter 1038)
Be part of the history of Traveller:

https://wiki.travellerrpg.com/Main_Page
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Foil" and "Blade" for sale Genegeorge Duty Free Shop 1 December 30th, 2013 08:05 AM
Question for "Piper" about "Vehicles" Old_Dr_Skull The Lone Star 1 April 30th, 2012 06:08 AM
Adapting "Pocket Empires" for "2300 AD" marginaleye 2300AD & 2320 19 December 4th, 2010 01:49 PM
Pentagon Plots Digital "Crystal Ball" to "See the Future" in Battle Andrew Boulton Imperial Research Station 27 December 30th, 2007 05:07 PM
"Rim of Fire" & "Interstellar Wars" for GT wanted! anders lager Duty Free Shop 1 October 11th, 2007 08:12 AM

This website and its contents are copyright ©2010- Far Future Enterprises. All rights reserved. Traveller is a registered trademark of Far Future Enterprises .
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2010-2013, Far Future Enterprises. All Rights Reserved.