Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 879 880 [881] 882 883 ... 1065

Author Topic: Future of the Fortress: List of Remaining Items  (Read 3666361 times)

jamoecw

  • Bay Watcher
    • View Profile
Re: Future of the Fortress: List of Remaining Items
« Reply #13200 on: February 26, 2010, 01:36:55 pm »

Quote from: devlog
fixed some of the legends text export information (still unclear whether that's going to be replaced/augmented by xml)...
JSON looks nicer than XML, and there are libraries for reading and writing it in almost every language.

Strike 1: JSON has no comment syntax

Strike 2: sexp syndrome.  tell me in three seconds or less whether these "tags" are balanced.  Now tell me before I reach the last closing bracket.

{'a' : {'b' : 1, {'c' : {'d' : 1 }, {'e', 2}, 'f' : 3}}, {'g' : 5}}}
 

the last bracket is one too many, though i don't think with what you wrote it would have mattered.  usually having too many starting brackets is a problem, not so much with ending brackets.  any one who does parenthesis in parenthesis math, or spaghetti code can catch that pretty quickly, but as i said in your example it doesn't really matter.

personally i think is xml is overrated, it is simply the flavor of the month, i'd stick with text it has been around longer.  not to mention that anyone that can make good use of xml ought to be able to make something that can convert text to xml, or at least find a program to do it, heck one can convert it to json as well.

Quote
What are you guys talking about?

They're talking about what format they'd like to see exports of information from Dwarf Fortress in. JSON is the "new hotness", XML is the "old workingness".

JSON is good for certain things, but XML works in all cases.  ;D
if someone comes along and supports json then it will be the new hotness, until then it is just for the pie in the sky dreamers, in reality there is no serious functional difference between the two.
« Last Edit: February 26, 2010, 01:46:14 pm by jamoecw »
Logged

Cardinal

  • Bay Watcher
    • View Profile
Re: Future of the Fortress: List of Remaining Items
« Reply #13201 on: February 26, 2010, 01:46:53 pm »

As explained above, this is incorrect -- black panthers are not a separate caste of jaguars, just a color variation, and that coloration has genetic factors just like all the other color/appearance modifiers.

Of course, it's all for nought with spore breeding, unless you plan to wage a war of extermination against all on-map outside-gene carriers.
Logged
Engraved is an image of a Human and a video game. The Human is making a plaintive gesture.

Cardinal

  • Bay Watcher
    • View Profile
Re: Future of the Fortress: List of Remaining Items
« Reply #13202 on: February 26, 2010, 01:52:34 pm »

if someone comes along and supports json then it will be the new hotness, until then it is just for the pie in the sky dreamers, in reality there is no serious functional difference between the two.

There's lots of support for it.  MIT's Simile uses JSON for its data, and all the nerds who love Drupal seem to think JSON is sweet like a Jaguar XKE (Try breeding one of those...).
Logged
Engraved is an image of a Human and a video game. The Human is making a plaintive gesture.

smjjames

  • Bay Watcher
    • View Profile
Re: Future of the Fortress: List of Remaining Items
« Reply #13203 on: February 26, 2010, 02:12:28 pm »

As explained above, this is incorrect -- black panthers are not a separate caste of jaguars, just a color variation, and that coloration has genetic factors just like all the other color/appearance modifiers.

Of course, it's all for nought with spore breeding, unless you plan to wage a war of extermination against all on-map outside-gene carriers.

Even then, you have absolutely no control over who impregnates who with the spore breeding. In fact, spores will reach animals that are isolated from others. Even the animals brought by merchants seem to be able to send spores through their cages even though they shouldn't. I swear my tame GCS gave birth in this way.
Logged

Dr. Hieronymous Alloy

  • Bay Watcher
    • View Profile
Re: Future of the Fortress: List of Remaining Items
« Reply #13204 on: February 26, 2010, 02:18:48 pm »

As explained above, this is incorrect -- black panthers are not a separate caste of jaguars, just a color variation, and that coloration has genetic factors just like all the other color/appearance modifiers.

Of course, it's all for nought with spore breeding, unless you plan to wage a war of extermination against all on-map outside-gene carriers.

Shouldn't putting them in cages be enough? My plan was to cage all my below-average dogs.
Logged

jfsh

  • Bay Watcher
    • View Profile
Re: Future of the Fortress: List of Remaining Items
« Reply #13205 on: February 26, 2010, 02:43:16 pm »

The one thing I really want, aside from all the goodies we're getting already, is to be able to remove certain dwarves from the "idle" display.  It drives me crazy to have dwarves showing as idle, even though there are some that I don't mind chattering away - probably because I tend to trap a lot of dwarves accidentally, and it makes it hard to notice.

Anyone know if we're going to get that someday?

jamoecw

  • Bay Watcher
    • View Profile
Re: Future of the Fortress: List of Remaining Items
« Reply #13206 on: February 26, 2010, 03:16:56 pm »

if someone comes along and supports json then it will be the new hotness, until then it is just for the pie in the sky dreamers, in reality there is no serious functional difference between the two.

There's lots of support for it.  MIT's Simile uses JSON for its data, and all the nerds who love Drupal seem to think JSON is sweet like a Jaguar XKE (Try breeding one of those...).
so your example of support is someone using it?  the differences between the two are moot for the purposes of DF.  in a nutshell xml is a robust version of html, and json is a stripped down version of java.  since json is leaner than xml it can run faster, however since it uses java as its primary tool it won't run faster in the long run.  if that changes then it will run faster in the long run, but that is a big if.  now since we are using it for exporting information, which is done on a computer rather than over the net we don't have to worry about bandwith issues, or how well a tool can process the stuff inside of an open browser, nor how it affects other pages/tabs.  once that stuff is removed the only functional difference is that json reads closer to that of text, which is what it is now, thus changing it to something that reads worse (xml or json) is a step backwards.  you have the same info in the document, thus converting is trivial, and since converting a document rarely takes a noticeable amount of time when being run right before some sort of application it becomes pointless what format is used in regards of app compatibility other than whether or not the information is there.  in the end text is slightly better than json, which is slightly better than xml, at least for our purposes (and thus text is the clear winner since it is already in that format).
Logged

Sizik

  • Bay Watcher
    • View Profile
Re: Future of the Fortress: List of Remaining Items
« Reply #13207 on: February 26, 2010, 03:27:36 pm »

if someone comes along and supports json then it will be the new hotness, until then it is just for the pie in the sky dreamers, in reality there is no serious functional difference between the two.

There's lots of support for it.  MIT's Simile uses JSON for its data, and all the nerds who love Drupal seem to think JSON is sweet like a Jaguar XKE (Try breeding one of those...).
so your example of support is someone using it?  the differences between the two are moot for the purposes of DF.  in a nutshell xml is a robust version of html, and json is a stripped down version of javascript.  since json is leaner than xml it can run faster, however since it uses javascript as its primary tool it won't run faster in the long run.  if that changes then it will run faster in the long run, but that is a big if.  now since we are using it for exporting information, which is done on a computer rather than over the net we don't have to worry about bandwith issues, or how well a tool can process the stuff inside of an open browser, nor how it affects other pages/tabs.  once that stuff is removed the only functional difference is that json reads closer to that of text, which is what it is now, thus changing it to something that reads worse (xml or json) is a step backwards.  you have the same info in the document, thus converting is trivial, and since converting a document rarely takes a noticeable amount of time when being run right before some sort of application it becomes pointless what format is used in regards of app compatibility other than whether or not the information is there.  in the end text is slightly better than json, which is slightly better than xml, at least for our purposes (and thus text is the clear winner since it is already in that format).

FTFY
Logged
Skyscrapes, the Tower-Fortress, finally complete!
Skyscrapes 2, repelling the zombie horde!

Orkel

  • Bay Watcher
    • View Profile
Re: Future of the Fortress: List of Remaining Items
« Reply #13208 on: February 26, 2010, 04:03:38 pm »

Quote from: Devlog
There was kind of a violent explosion of boiling human blood when I was testing a human vs a magma man in the arena... it was a little weird, but I guess that's okay.

Now that's what I call fun.
Logged
Quote from: madjoe5
Dwarf Fortress: The game in which people place abducted children in a furnace to see what happens.

jamoecw

  • Bay Watcher
    • View Profile
Re: Future of the Fortress: List of Remaining Items
« Reply #13209 on: February 26, 2010, 04:18:15 pm »

FTFY

the first one is right the second is wrong, since the script is called javascript, and the tool is called java.
[edit: turns out both are right, i know a lot of people that have been saying it wrong]
good catch though.

here's a quick xml looking thing done in a spreadsheet, just to give an idea to all those people clamoring for xml.
Spoiler (click to show/hide)

keep in mind that this was done in a spreadsheet of all things and can work for all civ sections like this.  i didn't bother on the other half though.

if someone comes along and supports json then it will be the new hotness, until then it is just for the pie in the sky dreamers, in reality there is no serious functional difference between the two.
stuff about support existing
stuff about support not existing

Out of curiosity, does it count as support that there is a PHP module for working with it? I mean, I know the whole point of JSON was to output a data structure that you could just slap into a JavaScript execute function, so having a PHP module for output is practically mandated by it's existence, but the module does do more than output(even if 'more' just means import a JSON string to PHP variables or arrays).

all the tools i have seen for json are essentially javascript tools that have been made to work with json, the xml equivalent was when xml was new and one would use tools originally made for html.  when someone comes along and creates something which will only parse json and not javascript, and do so in a way to make json excel over xml in the long run in regards to being light weight and quick then it will have arrived as a contender for xml.  even .txt was there once.
« Last Edit: February 27, 2010, 12:25:20 pm by jamoecw »
Logged

Reese

  • Bay Watcher
    • View Profile
Re: Future of the Fortress: List of Remaining Items
« Reply #13210 on: February 26, 2010, 04:21:55 pm »

if someone comes along and supports json then it will be the new hotness, until then it is just for the pie in the sky dreamers, in reality there is no serious functional difference between the two.
stuff about support existing
stuff about support not existing

Out of curiosity, does it count as support that there is a PHP module for working with it? I mean, I know the whole point of JSON was to output a data structure that you could just slap into a JavaScript execute function, so having a PHP module for output is practically mandated by it's existence, but the module does do more than output(even if 'more' just means import a JSON string to PHP variables or arrays).
Logged
All glory to the Hypno-Toady!

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Future of the Fortress: List of Remaining Items
« Reply #13211 on: February 26, 2010, 04:36:46 pm »

Quote from: Devlog
There was kind of a violent explosion of boiling human blood when I was testing a human vs a magma man in the arena... it was a little weird, but I guess that's okay.
Now that's what I call fun.
Yeah, explosions of boiling human blood are kinda a given when the enemy is heated up to two thousand degrees.
Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

smjjames

  • Bay Watcher
    • View Profile
Re: Future of the Fortress: List of Remaining Items
« Reply #13212 on: February 26, 2010, 04:42:02 pm »

if someone comes along and supports json then it will be the new hotness, until then it is just for the pie in the sky dreamers, in reality there is no serious functional difference between the two.
stuff about support existing
stuff about support not existing

Out of curiosity, does it count as support that there is a PHP module for working with it? I mean, I know the whole point of JSON was to output a data structure that you could just slap into a JavaScript execute function, so having a PHP module for output is practically mandated by it's existence, but the module does do more than output(even if 'more' just means import a JSON string to PHP variables or arrays).

Could we get off of that topic? Its really going nowhere useful.

Quote
There was kind of a violent explosion of boiling human blood when I was testing a human vs a magma man in the arena... it was a little weird, but I guess that's okay.
O.o

Was that on contact with the magma man or was it an area of effect thing? If a Magma man is that hot, then a SOF must be absolutely horrifying in the new release.

Of course though, you'd kind of expect that if you stuck your hand into lava.
« Last Edit: February 26, 2010, 04:46:20 pm by smjjames »
Logged

MrWiggles

  • Bay Watcher
  • Doubt Everything
    • View Profile
Re: Future of the Fortress: List of Remaining Items
« Reply #13213 on: February 26, 2010, 04:47:40 pm »



Quote
There was kind of a violent explosion of boiling human blood when I was testing a human vs a magma man in the arena... it was a little weird, but I guess that's okay.
O.o

Was that on contact with the magma man or was it an area of effect thing? If a Magma man is that hot, then a SOF must be absolutely horrifying in the new release.

Of course though, you'd kind of expect that if you stuck your hand into lava.

Melted Admantine?
Logged
Doesn't like running from bears = clearly isn't an Eastern European
I'm Making a Mush! Navitas: City Limits ~ Inspired by Dresden Files and SCP.
http://www.bay12forums.com/smf/index.php?topic=113699.msg3470055#msg3470055
http://www.tf2items.com/id/MisterWigggles666#

Nadaka

  • Bay Watcher
    • View Profile
    • http://www.nadaka.us
Re: Future of the Fortress: List of Remaining Items
« Reply #13214 on: February 26, 2010, 04:53:33 pm »

...
I'm not sure if I should take this bait.. but I think XML is definitely the better path to take for this particular scenario. JSON is lightweight, sure, but it's lacking some of the better toolsets that XML has like XPath and XSLT that really would help make sense of Legends data.

;)

https://www.p6r.com/articles/2008/05/06/xslt-and-xpath-for-json/
Logged
Take me out to the black, tell them I ain't comin' back...
I don't care cause I'm still free, you can't take the sky from me...

I turned myself into a monster, to fight against the monsters of the world.
Pages: 1 ... 879 880 [881] 882 883 ... 1065