<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.text.yaml.general">
    <title>gmane.text.yaml.general</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3785"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3784"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3783"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3782"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3781"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3780"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3779"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3778"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3777"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3776"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3775"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3774"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3773"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3772"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3771"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3770"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3769"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3768"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3767"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.yaml.general/3766"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3785">
    <title>Re: Checksums</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3785</link>
    <description>&lt;pre&gt;I wouldn't use %CRC for this, YAML doesn't really go for user-defined
directives. One can easily just use a special document:

---
crc: ...
---
a: foo
...

Or some other valid YAML solution.


On Mon, Apr 29, 2013 at 5:30 PM, I Heart Robotics
&amp;lt;iheartrobotics-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:

------------------------------------------------------------------------------
Try New Relic Now &amp;amp; We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, &amp;amp; servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr_______________________________________________
Yaml-core mailing list
Yaml-core-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/yaml-core
&lt;/pre&gt;</description>
    <dc:creator>Oren Ben-Kiki</dc:creator>
    <dc:date>2013-04-29T17:41:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3784">
    <title>Checksums</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3784</link>
    <description>&lt;pre&gt;|Is there a better way of passing checksums of streams?
The use case is sending YAML data over a serial connection that occasionally gets errors or dropped characters.

%YAML 1.2
%CRC B8C5938E
---
a: foo
b: bar
c: baz
...
%YAML 1.2
%CRC 498BBC05
---
a: alpha
b: beta
c: gamma
...|


------------------------------------------------------------------------------
Try New Relic Now &amp;amp; We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, &amp;amp; servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
&lt;/pre&gt;</description>
    <dc:creator>I Heart Robotics</dc:creator>
    <dc:date>2013-04-29T14:30:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3783">
    <title>Re: PyYAML hangs when reading a large YAML file</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3783</link>
    <description>&lt;pre&gt;

Thank you for your suggestion.  I noticed that RAM usage grew slowly until
it consumed almost the entire available RAM (64GB) on my machine.

Why is this happening, and how can I get it to load the YAML file properly?
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis &amp;amp; visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter_______________________________________________
Yaml-core mailing list
Yaml-core-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/yaml-core
&lt;/pre&gt;</description>
    <dc:creator>Misha Penkov</dc:creator>
    <dc:date>2013-04-18T12:55:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3782">
    <title>Re: PyYAML hangs when reading a large YAML file</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3782</link>
    <description>&lt;pre&gt;
On 18.04.2013, at 15:17, Misha Penkov &amp;lt;misha.penkov-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


did you check resource-usage? could it be, that Python just grabbed all RAM it could reach and started to actively use swap?


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis &amp;amp; visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
&lt;/pre&gt;</description>
    <dc:creator>Alexey Zakhlestin</dc:creator>
    <dc:date>2013-04-18T12:11:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3781">
    <title>PyYAML hangs when reading a large YAML file</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3781</link>
    <description>&lt;pre&gt;Hi,

I'm trying to load data from a large YAML file (approx. 300MB).  PyYAML
hangs when I try to load using this code:

    import yaml
    y = yaml.load(open("/tmp/tmp6aJfKz"))

The YAML file itself is valid (it is being output by OpenCV).

Can anyone suggest a way to diagnose this problem?  I can provide the file,
but as I've already mentioned, it's fairly large.

Cheers,
Michael
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis &amp;amp; visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter_______________________________________________
Yaml-core mailing list
Yaml-core-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/yaml-core
&lt;/pre&gt;</description>
    <dc:creator>Misha Penkov</dc:creator>
    <dc:date>2013-04-18T11:17:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3780">
    <title>Re: Top level block scalar without indentation</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3780</link>
    <description>&lt;pre&gt;Hi Oren,

Thanks for the clarification! I created a ticket for this.

  http://pyyaml.org/ticket/288



Is YAML 1.1 same?

In YAML 1.1 spec, the rule [117] max(-1, 0) set n = 0.
So I think [166] detect(m) must return 0, not 1..

  [117] c-l+block-scalar(n) ::= c-l+folded(max(n,0)) | c-l+literal(max(n,0))
  [175] c-l+literal(n) ::= c-b-block-header(literal,m,t)
                                    l-literal-content(n+m,t)

I'm not sure I'm understanding these parametered production rules..

Anyway, I hope I can use top level block scalar with libyaml.


2013/4/14 Oren Ben-Kiki &amp;lt;oren-vmbulFz3td5g9hUCZPvPmw&amp;lt; at &amp;gt;public.gmane.org&amp;gt;:



&lt;/pre&gt;</description>
    <dc:creator>KOSEKI Kengo</dc:creator>
    <dc:date>2013-04-14T04:30:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3779">
    <title>Re: Top level block scalar without indentation</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3779</link>
    <description>&lt;pre&gt;Well, example 9.5 is pretty explicit in what the spec says. Note that the
auto-detect does not return 0, it returns at least 1, but since we start
with -1 this results with an overall 0 indentation (since production 207
uses -1 and not 0).

The same logic holds for both of your samples; example 9.3 shows an
unindented plain at the top level.

Oren.



On Sat, Apr 13, 2013 at 2:10 PM, KOSEKI Kengo &amp;lt;koseki-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis &amp;amp; visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter_______________________________________________
Yaml-core mailing list
Yaml-core-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourc&lt;/pre&gt;</description>
    <dc:creator>Oren Ben-Kiki</dc:creator>
    <dc:date>2013-04-13T16:25:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3778">
    <title>Top level block scalar without indentation</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3778</link>
    <description>&lt;pre&gt;Hi,

I noticed that LibYAML doesn't parse block scalar without indentation.

  Sample: 1
  ---
  XXX
  YYY
  ZZZ

  Sample: 2
  --- |
  XXX
  YYY
  ZZZ

I expected that these samples would be parsed like this:

  [{"Sample": 1}, "XXX YYY ZZZ"]
  [{"Sample": 2}, "XXX\nYYY\nZZZ\n"]

LibYAML can parse Sample 1 but not Sample 2.

  $ ./run-parser Sample1.yaml
  [1] Parsing 'Sample1.yaml': SUCCESS (11 events)

  $ ./run-parser Sample2.yaml
  [1] Parsing 'Sample2.yaml': FAILURE (10 events)

PyYAML returned error.

  expected '&amp;lt;document start&amp;gt;', but found '&amp;lt;scalar&amp;gt;'


I checked some implementations. The results are:

  Syck (YAML 1.0) - Ruby
    Sample1 ... PASS
    Sample2 ... PASS

  YAML.pm (YAML 1.0) - Perl
    Sample1 ... FAIL
    Sample2 ... PASS

  PyYAML (YAML 1.1) - Python / LibYAML
    Sample1 ... PASS
    Sample2 ... FAIL

  Psych     (YAML 1.1) - Ruby / LibYAML
    Sample1 ... PASS
    Sample2 ... FAIL

  SnakeYAML (YAML 1.1) - Java / based on LibYAML
    Sample1 ... PASS
    Sample2 ... FAIL

  JS-YAML&lt;/pre&gt;</description>
    <dc:creator>KOSEKI Kengo</dc:creator>
    <dc:date>2013-04-13T11:10:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3777">
    <title>Re: feature request for libyaml: support "\/" escape sequence for YAML 1.2/JSON compatibility</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3777</link>
    <description>&lt;pre&gt;That's up to Kirill. I just forked the libyaml svn repo onto github so that
the community could maintain it.

On Mon, Apr 1, 2013 at 4:46 PM, Patrick Pelletier &amp;lt;ppelletier-bXq66PvbRDbQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2_______________________________________________
Yaml-core mailing list
Yaml-core-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/yaml-core
&lt;/pre&gt;</description>
    <dc:creator>Ingy dot Net</dc:creator>
    <dc:date>2013-04-02T04:37:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3776">
    <title>Re: feature request for libyaml: support "\/" escape sequence for YAML 1.2/JSON compatibility</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3776</link>
    <description>&lt;pre&gt;

Thanks!  That's awesome!


Cool, great to hear libyaml has migrated to git.  But perhaps the 
libyaml home page should be changed to mention the git repository?  It 
still only mentions subversion.

--Patrick


------------------------------------------------------------------------------
Own the Future-Intel&amp;amp;reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
&lt;/pre&gt;</description>
    <dc:creator>Patrick Pelletier</dc:creator>
    <dc:date>2013-04-01T23:46:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3775">
    <title>Re: feature request for libyaml: support "\/" escape sequence for YAML 1.2/JSON compatibility</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3775</link>
    <description>&lt;pre&gt;Hi Patrick,

This was added to libyaml a couple months ago:

https://github.com/yaml/libyaml/commit/66bcb985569e7b643823c9ba1aeb47892583aeef

Note that it's on the yaml-1.2 branch. Also note that this new github repo
is the canonical source at this time.

Cheers, Ingy

On Wed, Mar 27, 2013 at 5:31 PM, Patrick Pelletier &amp;lt;ppelletier-bXq66PvbRDbQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2_______________________________________________
Yaml-core mailing list
Yaml-core-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/yaml-core
&lt;/pre&gt;</description>
    <dc:creator>Ingy dot Net</dc:creator>
    <dc:date>2013-03-31T15:09:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3774">
    <title>feature request for libyaml: support "\/" escape sequence for YAML 1.2/JSON compatibility</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3774</link>
    <description>&lt;pre&gt;I attempted to submit a feature request ticket for libyaml:

http://pyyaml.org/newticket?component=libyaml

but it rejected my ticket, telling me it was spam.  (I could go off on a 
whole rant about how so-called "spam filtering" makes it impossible for 
legitimate users to get anything done these days, but that would be 
off-topic.)

Anyway, since I can't submit a ticket, sending the feature request to 
this list seemed like the next-best thing.

Here is the text of the ticket I attempted to submit to libyaml:

YAML 1.2 adds support for the escape sequence "\/", which was not 
present in YAML 1.1:

http://www.yaml.org/spec/1.2/spec.html#id2776092

YAML 1.2 added this escape sequence in order to be compatible with JSON. 
  (Since YAML's goal is to be a superset of JSON.)

Although libyaml is only a YAML 1.1 parser, it would be nice to have 
this feature, and adding it shouldn't cause any trouble with parsing 
YAML 1.1.

This is all that's needed:

{{{
--- a/scanner.c~
+++ b/scanner.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -3164,6 +3164,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; y&lt;/pre&gt;</description>
    <dc:creator>Patrick Pelletier</dc:creator>
    <dc:date>2013-03-28T00:31:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3773">
    <title>Re: Load Delegation</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3773</link>
    <description>&lt;pre&gt;Shoot. "good practice" != "enforce", so I will have to deal with the
implications of the possibility in the parser. :-(

Hey, btw, could you change the default respond-to address of the mailing
list to "yaml-core-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org"?  I try to remember to add it
every time I use respond, but I *always* forget eventually. It makes for a
very broken conversation for others trying to read on the list!!!



On Thu, Feb 21, 2013 at 1:08 PM, Oren Ben-Kiki &amp;lt;oren-vmbulFz3td5g9hUCZPvPmw&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:



&lt;/pre&gt;</description>
    <dc:creator>Trans</dc:creator>
    <dc:date>2013-02-21T18:22:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3772">
    <title>Re: Load Delegation</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3772</link>
    <description>&lt;pre&gt;

Yes, that *should* be the case. But people fudge. Ruby's Psych
implementation recognizes appox. 13 different tags when one defines a
single "full" tag. Perfect round-tripping is of course not necessary, but I
thought it would be nice if it were at least smart enough to have `document
== YAML.dump(YAML.load(document))`, i.e. if you immediately emit what you
just loaded it will come out exactly the same, local tags and all. Or is
that a bad idea in itself? Should all local tags always become the "one
full tag" when emitted? Note, the same goes for decoration. If a !!str, for
instance, was loaded using the literal `|` form, it seems like a nice idea
to remember that and emit it the same way.




Less likely to occur in the same document, but it could. For instance, a
schema could translate a !!int to an Integer object, but also !number to an
Integer object. But Integer is singleton in Ruby, so there is only ever one
object for a given number. So if a document has:

   ---
   a: !!int 42
   b: !number 42

Then&lt;/pre&gt;</description>
    <dc:creator>Trans</dc:creator>
    <dc:date>2013-02-21T16:47:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3771">
    <title>Load Delegation</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3771</link>
    <description>&lt;pre&gt;I'd like to get some feedback on an idea I have to implementing a YAML 
parser.

I was thinking that instead of instantiating the objects to native types 
directly, it could instantiate a delegator around the native type. e.g. 
instead of (in Ruby code):

     YAML.load('--- "string"') =&amp;gt; "string"

It would produce

     YAML.load('--- "string"') =&amp;gt; Y("string")

For all practical purposes Y("string") behaves just like "string".

The main reason for doing this is because of immutable types. Immutable 
types are difficult to load with self-referencing anchors --indeed the only 
solution I found was to forbid it. Immutable types also might not round 
trip well, b/c they are often singleton. So if the same object comes in via 
two different tags --say a schema supports both `!foo` and 
`foo.org,2000:foo`, it is only possible to emit it with on or the other. 
There is no way to remember which it came in with. Using the delegator is 
also nice b/c schemas then don't need to specify the type-class a tag goes 
with &lt;/pre&gt;</description>
    <dc:creator>Trans</dc:creator>
    <dc:date>2013-02-21T15:47:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3770">
    <title>Re: Tag Spec</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3770</link>
    <description>&lt;pre&gt;Using `/` for indicating a global tag would go against writing stuff like
`!ruby/sym` (I hesitate to mention this given the latest issues with this
being a security loophole... but anyway).

The current rules were intentionally designed to promote the use of
suffixes. Using !&amp;lt;...&amp;gt; is intentionally ugly. You "should not", in general,
specify full URIs unless under special circumstances. The idea is that you
"should" use suffixes and isolate the full-URI prefixes in there. Whether
or not this intent is "correct", it is what it is.

Getting rid of `!&amp;lt;...&amp;gt;` and replacing it with a rule saying "is a complete
URI if it contains :, is a suffix otherwise" - hmmm. I'm not convinced, but
there might be something in it. Either way, this is be YAML 2 material.

Have fun,

Oren Ben-Kiki

On Sun, Feb 3, 2013 at 9:39 PM, Trans &amp;lt;transfire-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps f&lt;/pre&gt;</description>
    <dc:creator>Oren Ben-Kiki</dc:creator>
    <dc:date>2013-02-03T20:02:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3769">
    <title>Re: Tag Spec</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3769</link>
    <description>&lt;pre&gt;

:-) Indeed!

It is a matter of ambiguity. The !&amp;lt;verbatim&amp;gt; syntax was added very late in

The thinking isn't "domain" vs. "local", the thinking is "full arbitrary

Though in practice that's what people see. Perhaps the better terminology
is "globally unique" vs "local" tags. Although determining if a prefix is
applied would depend on whether the tag contains a `:` or not, sticking
with current spec, !&amp;lt;...&amp;gt; tags would still not resolve. To clarify the
difference:

    %TAG ! tag:foo.org/
    ---
    - !foo                   =&amp;gt; !&amp;lt;tag:foo.org/foo&amp;gt;
    - !tag:bar.org/bar   =&amp;gt; !&amp;lt;tag:bar.org/bar&amp;gt;

Also, I think this would open up `!&amp;lt;foo&amp;gt;` to be a legal local tag, rather
then the degenerate global tag it is now b/c it is not a valid URI. So,
without a `%TAG !` directive:

    ---
    - !foo                 =&amp;gt; !&amp;lt;foo&amp;gt;

So the `!` would no longer have any significance if a tags *name*. It would
be used only to designate a tag and to sub prefixes, but a local tag would
not need to be `!foo` any more, just `foo`.

If w&lt;/pre&gt;</description>
    <dc:creator>Trans</dc:creator>
    <dc:date>2013-02-03T19:39:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3768">
    <title>Re: Tag Spec</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3768</link>
    <description>&lt;pre&gt;The question isn't one of ease of parsing (we all know YAML isn't easy to
parse :-). It is a matter of ambiguity. The !&amp;lt;verbatim&amp;gt; syntax was added
very late in the game, to allow avoiding the tag prefix games.

The thinking isn't "domain" vs. "local", the thinking is "full arbitrary
URI" (inside &amp;lt;...&amp;gt;) vs. "suffix added to some arbitrary URI prefix"
(without the &amp;lt;...&amp;gt;). The difference between "!", "!!" and "!foo!" is just
"which URI prefix should we use here".

If we said "we don't attach any prefix if what follows the "!" looks like a
complete URI" we'd be entering a world of pain. URIs can be in all sort of
forms: "urn:isbn:0-395-36341-1" is a URI and hence (if someone wanted) !&amp;lt;
urn:isbn:0-395-36341-1&amp;gt; would be a valid (if somewhat insane) tag. So
"looking like a complete URI" isn't really easy to define. "Looking like a
tag URI" is well-defined, but YAML really doesn't insist on using "tag
URIs", even though we call the "node type tags", well, tags.

Have fun,

Oren Ben-Kiki



On Sun, Feb 3, 2013 at 8:0&lt;/pre&gt;</description>
    <dc:creator>Oren Ben-Kiki</dc:creator>
    <dc:date>2013-02-03T18:31:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3767">
    <title>Tag Spec</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3767</link>
    <description>&lt;pre&gt;I was reading over the spec on Tags. There is an aspect of it that is
confusing. To the general viewer, it is not intuitive that the following
tag is not a "domain" tag:

    --- !tag:foo.org:org

It is actually a local tag with a very domain-esque name. The correct tag
is:

    --- !&amp;lt;tag:foo.org:org&amp;gt;

That's a very technical distinction and I think too difficult.

Would it be acceptable to just designate domain tags as any tag that
contains a `:` or `/`? I realize it might not be as efficient to parse, but
it would be a whole lot more comprehensible to humans.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan_______________________________________________
Yaml-core mailing list
Yaml-core-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/yaml-core
&lt;/pre&gt;</description>
    <dc:creator>Trans</dc:creator>
    <dc:date>2013-02-03T18:02:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3766">
    <title>Re: Help understanfing tag resolution confusion</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3766</link>
    <description>&lt;pre&gt;Ok. I think I understand. I also see now why it seems confusing. It's not
very intuitive that the initial `!` doesn't just mean "tag", it means
"local tag", unless that is if a `%TAG ! foo` directive has been used. Then
they are transformed into "domain tags" without any initial `!`.

In other words, when someone sees something like:

    --- !foo.org:person
    name: Tom

They think that's a domain tag b/c it resembles a domain tag. They do not
realize it needs to be.

    --- !&amp;lt;foo.org:person&amp;gt;
    name: Tom

In hindsight this was probably one of the arguments for using `!!` for
local tags instead of `!`.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan_______________________________________________
Yaml-core mailing list
Yaml-core-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/list&lt;/pre&gt;</description>
    <dc:creator>Trans</dc:creator>
    <dc:date>2013-02-03T09:04:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.yaml.general/3765">
    <title>Re: Help understanfing tag resolution confusion</title>
    <link>http://permalink.gmane.org/gmane.text.yaml.general/3765</link>
    <description>&lt;pre&gt;

On Friday, February 1, 2013 2:36:38 PM UTC-5, Trans wrote:

Sigh, Oren has answered this, but it appears the google groups to 
mailing-list bridge is busted. I am so sick of things not working !!! 
Actually, it would be nice if we were able to use a github issues page for 
some questions, like this topic for instance. But if doesn't seem like 
anyone frequents those "forums" --or honestly which github project is the 
"right" project. But I'm thread jacking, I come back to this in another 
thread.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan_______________________________________________
Yaml-core mailing list
Yaml-core-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/yaml-core
&lt;/pre&gt;</description>
    <dc:creator>Trans</dc:creator>
    <dc:date>2013-02-03T08:51:11</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.text.yaml.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.text.yaml.general</link>
  </textinput>
</rdf:RDF>
