Custom Query (132 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 132)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#63 invalid % character cannot start a scalar value token xi sproaticus

Reported by sproaticus, 7 years ago.

Description

A scalar value cannot start with a % (percent sign) character, though the YAML specification only reserves that character at the beginning of a non-indented line for directives and tags (see  http://yaml.org/spec/current.html#id2523453 and  http://yaml.org/spec/current.html#id2524297 ). This character should be legal as the first character of a scalar value, e.g. for Python %s-style string substitution and templates.

>>> yaml.load('yaml: %')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 66, in load
    
  File "build/bdist.linux-i686/egg/yaml/constructor.py", line 38, in get_data
  File "build/bdist.linux-i686/egg/yaml/composer.py", line 27, in get_node
  File "build/bdist.linux-i686/egg/yaml/composer.py", line 34, in compose_document
  File "build/bdist.linux-i686/egg/yaml/composer.py", line 63, in compose_node
  File "build/bdist.linux-i686/egg/yaml/composer.py", line 112, in compose_mapping_node
  File "build/bdist.linux-i686/egg/yaml/composer.py", line 43, in compose_node
  File "build/bdist.linux-i686/egg/yaml/parser.py", line 95, in check_event
  File "build/bdist.linux-i686/egg/yaml/parser.py", line 446, in parse_block_mapping_value
  File "build/bdist.linux-i686/egg/yaml/scanner.py", line 116, in check_token
  File "build/bdist.linux-i686/egg/yaml/scanner.py", line 257, in fetch_more_tokens
yaml.scanner.ScannerError: while scanning for the next token
found character '%' that cannot start any token
  in "<string>", line 1, column 7:
    yaml: %
          ^

Environment:

  • Python 2.5.1 (r251:54863, May 2 2007, 16:56:35) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
  • PyYAML-3.05-py2.5.egg
#322 invalid A Review of the Top Fat Burning Meals xi ofeliagoodell@…

Reported by ofeliagoodell@…, 2 weeks ago.

Description
  1. Walnuts

All nuts do include some amount of the omega-3 fat alpha-linolenic acid, but most only include trace amounts.

The real fat hero in many nuts is mono-unsaturated fats. Walnuts are truly a rich source of omega 3s.

One oz supplies nearly 3g of alpha-linolenic acid.

  1. Ginger

Used for  centuries to help relieve digestive upset/interferences, ginger can also help boost the flow of blood to muscles, reduce inflammation and support muscle recovery.

It has also has been shown to foster calorie burn off when eaten.

  1. Oatmeal

This very slow-digesting carb keeps blood sugar and insulin levels low, therefore fat burning can remain high.

Actually,  studies have shown that athletes who have slow-digesting carbohydrates in the morning burn off more fat throughout the whole day and during workouts than those consuming quick-digesting carbs.

  1. Avocado

The mono-unsaturated fats found in avocados are combusted readily for fuel during exercise and really support fat burning.

Avocados also include a very intriguing carb called mannoheptulose, a sugar that really blunts insulin release and improves calcium absorption, each of which are crucial for supporting fat reduction.

  1. Salmon

This fish is among the most abundant sources of the omega 3 essential fats EPA and DHA. Unlike flaxseeds, which provide a form of omega 3 that has to be converted into EPA and DHA, salmon provides your body an immediate supply of them with no transformation required.

This way you understand you are getting a direct method of getting the fats that turn on fat burning and block fat storage.

  1. Soybeans (Edamame)

Soy are the direct origin of soya protein, that has been proven build muscle as economically as some other forms of protein like whey and beef.

Soya bean has also been shown to assist fat reduction, maybe by decreasing appetite and calorie intake.

  1. Water

This simply may be your very best ally in fighting bodyfat. When you loved this post and you wish to receive more information with regards to free list of foods that burn fat fast ( that guy) kindly visit our website. Studies have shown that drinking 2 glasses of cold-water can hike metabolic price by 30%.

It has been projected that drinking about 2 glasses of cold water before breakfast, lunch and dinner each day for a twelvemonth can burn off 17,400 extra calories, which means a bit a lot more than 5 pounds of bodyfat!

  1. Flaxseeds

They contain the essential omega-3 fatty-acid alpha  linolenic acid. These omega 3 fats have been identified to turn on genes that spark fat burning and turn off genes that increase fat storage.

  1. Grapefruit

A study in the Scripps Clinic (San Diego, Ca) reported that subjects eating half of a grapefruit or drinking 8 oz of grapefruit juice three-times a day while maintaining their normal diet lost an average of 4 pounds over 12 weeks - and some dropped a lot more than 10 pounds before dieting!

Results were likely due to grapefruit's skill to reduce insulin levels and into a substance in grapefruit known as naringin, which stops fat from being stored within the body.

  1. Honey

Yes, it is a sugar, but it's fairly low about the glycemic index. Keeping insulin levels low and continuous is vital for preserving a fat-burning surroundings within you.

Honey too is a rich source of nitric oxide (NO) metabolites; finally, that means it really supports fat release in the body's fat cells

  1. Peanut Butter

Another supply of useful mono-unsaturated fat that can assist fat loss. What's amusing is that several food manufacturers make low fat peanut butters!

Obviously, they replace these healthy mono-unsaturated fats with carbs, namely sugar. Avert these and stick to natural peanut butters that do not include the kind of fat you absolutely need to avoid - trans fats.

  1. Eggs

Yes, we recorded eggs in the muscle building foods.

Research supports the belief that individuals who begin their day with eggs maybe not simply consume fewer calories during the day, but in addition lose significantly more body fat.

  1. Chili Pepper Flakes

Hot peppers contain the active component capsaicin, a substance that will improve calorie burning at-rest as well as reduce hunger and food intake.

The increase in calorie-burn is especially enhanced when capsin is used in combination with caffein.

  1. Broccoli

This fibrous carb does not provide many internet carbs or calories, but it may make you feel full - one reason why itis a fantastic food for getting slim.

  1. Olive Oil

Like avocados, olive-oil is an excellent source of MUFA.

Not just do they lower degrees of the "bad" type of cholesterol and enhance cardiovascular health, however they're also more inclined to be combusted as gas, which means they're less likely to be sticking around your midsection.

#22 fixed Aliases break if there are temporary objects xi tim.hochberg@…

Reported by tim.hochberg@…, 8 years ago.

Description

If an object being passed to represet_data has a shorter lifespan than the representer, the results are unpredictable, but generally bad. In my case, I'm trying to represent a custom omap class. I register a representer like so:

def omap_representer(dumper, data):
    items = [[x, y] for (x, y) in data.iteritems()] 
    return dumper.represent_sequence(u'!omap', items)
    
yaml.add_representer(omap, omap_representer)

If I then dump something that contains multiple omaps, such as [one_omap,another_omap], the representer get's confused because it sees distinct objects that have the same id. Here's an actual example:

>>> a # Note that these are omaps not dictionaries, despite appearances.
[{1: 2, 2: 4}, {1: 99, 2: 88}]

>>> print yaml.dump(a)
- !omap
  - &id001 [1, 2]
  - &id002 [2, 4]
- !omap
  - *id001
  - *id002

Two approaches come to mind to fix this.

  1. Hold onto a reference to the original object as well as to the serialized object in represented_objects. This is what I did as a temporary fix.
  2. Do some sort of weak reference magic to track if an object dies and then delete it from represented_objects. This is more complicated and I'm not entirely sure it would work well. The upside is it's possibly more frugal with memory.

-tim

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.