# F1rst ? 15 chars aaaaarggghhhhhh

**URL:** <https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40>\
**Category:** Sin categoría\
**Created:** [3 Abril, 2020 18:49 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40 "2020-04-03T18:49:53Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccanepa](https://yyz2.discourse-cdn.com/free1/user_avatar/pyar.discourse.group/ccanepa/32/30_2.png) [@ccanepa](https://pyar.discourse.group/u/ccanepa)\
**Post date:** [3 Abril, 2020 18:49 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/1 "2020-04-03T18:49:53Z")

</div>

f1rst???:trollface:

30 chars 30 chars 30 chars.

---

<div class="post-metadata">

**Author:** ![SAn](https://yyz2.discourse-cdn.com/free1/user_avatar/pyar.discourse.group/san/32/247_2.png) [@SAn](https://pyar.discourse.group/u/SAn)\
**Post date:** [3 Abril, 2020 20:08 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/2 "2020-04-03T20:08:56Z")

</div>

O responde a este correo para publicar. A ver

---

<div class="post-metadata">

**Author:** ![gilgamezh](https://yyz2.discourse-cdn.com/free1/user_avatar/pyar.discourse.group/gilgamezh/32/20_2.png) [@gilgamezh](https://pyar.discourse.group/u/gilgamezh)\
**Post date:** [3 Abril, 2020 20:34 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/3 "2020-04-03T20:34:33Z")

</div>

uyyy un @SAn !

---

<div class="post-metadata">

**Author:** ![facundo](https://yyz2.discourse-cdn.com/free1/user_avatar/pyar.discourse.group/facundo/32/7_2.png) [@facundo](https://pyar.discourse.group/u/facundo)\
**Post date:** [3 Abril, 2020 20:50 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/4 "2020-04-03T20:50:04Z")

</div>

Ahí puse que el mínimo del topic sea 10, porque…

```python
>>> len("hola mundo")
10

```

---

<div class="post-metadata">

**Author:** ![ssebastianj](https://avatars.discourse-cdn.com/v4/letter/s/ed8c4c/32.png) [@ssebastianj](https://pyar.discourse.group/u/ssebastianj)\
**Post date:** [3 Abril, 2020 21:08 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/5 "2020-04-03T21:08:25Z")

</div>

```python
>>> import this
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

```

---

<div class="post-metadata">

**Author:** ![ccanepa](https://yyz2.discourse-cdn.com/free1/user_avatar/pyar.discourse.group/ccanepa/32/30_2.png) [@ccanepa](https://pyar.discourse.group/u/ccanepa)\
**Post date:** [3 Abril, 2020 21:13 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/6 "2020-04-03T21:13:49Z")

</div>

Ohhh, tenemos medallas y likes !!!

A ver algo de code:  
Corto y pego desde un .py:  
Con simple o triple ´ la indentacion de las primeras lineas se perdio  
Triple ´, lo mismo, y seleccionando el texto y dando al boton de texto preformateado igual.

```
def handle_notify(ev_id, pin, mode, ts):
    global traceback_in_handle_notify, tb_sys_exc_info
    if ev_id >= ev_name_to_id["unknown_e"]:
        sender = ev_name_to_id["unknown_e"]
    else:
        sender = ev_id_to_name[ev_id]

    if ((sender == "serial_e") and
        (pin // 256 == se_cmd_name_to_id["print_double_se"])):
        val = mode.f2
    else:
        val = mode.ul

    exception_rised = False
    try:
        if sender == "serial_e":
            text = helper_handle_serial(pin, val, ts)
            multi_out.out("[%10d] %s:" % (ts, text))
        elif sender == "unknown_e":
            msg = "[%10d] unknown_e: ev_id, pin, mode - %d, %d, %s" % (ts, ev_id, pin, val)
            blinker.signal("error").send(message=msg, timestamp=ts)
            multi_out.out(msg)
        else:
            multi_out.out("[%10d] %s: %d, %s" % (ts, sender, pin, val))
        blinker.signal(sender).send(pin=pin, val=val, timestamp=ts)
    except Exception as ex:
        exception_rised = True
        msg = "Err: Exception in handle_notify: " + repr(ex)
        traceback_in_handle_notify = ex
        tb_sys_exc_info = sys.exc_info()
    except KeyboardInterrupt as ex:
        exception_rised = True
        msg = "info: exit arduino program by Ctrl + C"
    if exception_rised:
        blinker.signal("terminate").send(message=msg)

```

A ver si en un editor convierto tab a espacios:

```
def handle_notify(ev_id, pin, mode, ts):
    global traceback_in_handle_notify, tb_sys_exc_info
    if ev_id >= ev_name_to_id["unknown_e"]:
        sender = ev_name_to_id["unknown_e"]
    else:
        sender = ev_id_to_name[ev_id]

    if ((sender == "serial_e") and
        (pin // 256 == se_cmd_name_to_id["print_double_se"])):
        val = mode.f2
    else:
        val = mode.ul

    exception_rised = False
    try:
        if sender == "serial_e":
            text = helper_handle_serial(pin, val, ts)
            multi_out.out("[%10d] %s:" % (ts, text))
        elif sender == "unknown_e":
            msg = "[%10d] unknown_e: ev_id, pin, mode - %d, %d, %s" % (ts, ev_id, pin, val)
            blinker.signal("error").send(message=msg, timestamp=ts)
            multi_out.out(msg)
        else:
            multi_out.out("[%10d] %s: %d, %s" % (ts, sender, pin, val))
        blinker.signal(sender).send(pin=pin, val=val, timestamp=ts)
    except Exception as ex:
        exception_rised = True
        msg = "Err: Exception in handle_notify: " + repr(ex)
        traceback_in_handle_notify = ex
        tb_sys_exc_info = sys.exc_info()
    except KeyboardInterrupt as ex:
        exception_rised = True
        msg = "info: exit arduino program by Ctrl + C"
    if exception_rised:
        blinker.signal("terminate").send(message=msg)

```

Ah, okey, no le gusta los tabs parece.

No tenemos colereado de sintaxis? ```python no lo hace.

---

<div class="post-metadata">

**Author:** ![ccanepa](https://yyz2.discourse-cdn.com/free1/user_avatar/pyar.discourse.group/ccanepa/32/30_2.png) [@ccanepa](https://pyar.discourse.group/u/ccanepa)\
**Post date:** [3 Abril, 2020 21:15 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/7 "2020-04-03T21:15:53Z")

</div>

Ahh, el preview perdia la indentacion del primer bloque, pero luego de publicar se vé bien.

---

<div class="post-metadata">

**Author:** ![ccanepa](https://yyz2.discourse-cdn.com/free1/user_avatar/pyar.discourse.group/ccanepa/32/30_2.png) [@ccanepa](https://pyar.discourse.group/u/ccanepa)\
**Post date:** [3 Abril, 2020 21:22 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/8 "2020-04-03T21:22:56Z")

</div>

Replica desde el correo ?

---

<div class="post-metadata">

**Author:** ![ccanepa](https://yyz2.discourse-cdn.com/free1/user_avatar/pyar.discourse.group/ccanepa/32/30_2.png) [@ccanepa](https://pyar.discourse.group/u/ccanepa)\
**Post date:** [3 Abril, 2020 21:24 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/9 "2020-04-03T21:24:09Z")

</div>

Si, funciona contestar desde el correo.

---

<div class="post-metadata">

**Author:** ![ccanepa](https://yyz2.discourse-cdn.com/free1/user_avatar/pyar.discourse.group/ccanepa/32/30_2.png) [@ccanepa](https://pyar.discourse.group/u/ccanepa)\
**Post date:** [3 Abril, 2020 21:31 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/10 "2020-04-03T21:31:50Z")

</div>

> [@ccanepa](#):
>
> Ohhh, tenemos medallas y likes !!!

Seleccionar texto y click Responder abre el editor con el texto quoteado, bien.

Medallas custom:

- elegante\_pythonista
- improvisador\_impresionante
- comunicador\_untrolleable

---

<div class="post-metadata">

**Author:** ![mavignau](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@mavignau](https://pyar.discourse.group/u/mavignau)\
**Post date:** [3 Abril, 2020 22:50 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/11 "2020-04-03T22:50:30Z")

</div>

Este mensaje quizá lo deje, quizá lo borre. Es solamente para aprender a usar discourse, first time user, sorry.  
Tenemos 👱🏼‍♀️ emoticons, elijo directamente el tono de piel y todos los emoticons se agregan con el mismo tono.

> Puedo citar a alguien

Agregar imágenes

 ![](https://global.discourse-cdn.com/free1/uploads/pyar/original/1X/2169f2b2bea8648dc0fc25c2715c024a91f19ef9.png)

Poner fechas  
2020-04-25T19:00:00Z → 2020-05-24T03:00:00Z

> [@ccanepa](#):
>
> > [@ccanepa](#):
> >
> > Ohhh, tenemos medallas y likes !!!
> 
> Seleccionar texto y click Responder abre el editor con el texto quoteado, bien.
> 
> Medallas custom:
> 
> - elegante\_pythonista
> - improvisador\_impresionante
> - comunicador\_untrolleable

Este texto será borroso

Agregar un link  
[pyar](http://www.python.org.ar/)

Mostrar texto preformateado:

```
import rodi
import time

robot = rodi.RoDI()

n = 10000
robot.blink(100)

while True:
    if robot.see() < 10:
        robot.pixel(100, 0, 0)
        robot.move_right()
    else:
        robot.pixel(0, 100, 0)
        robot.move_forward()

```

---

<div class="post-metadata">

**Author:** ![martinv](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@martinv](https://pyar.discourse.group/u/martinv)\
**Post date:** [4 Abril, 2020 00:45 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/12 "2020-04-04T00:45:50Z")

</div>

def hi():  
print(“hi”)

esto es solo una prueba con código

> cita

👋

---

<div class="post-metadata">

**Author:** ![luri](https://yyz2.discourse-cdn.com/free1/user_avatar/pyar.discourse.group/luri/32/136_2.png) [@luri](https://pyar.discourse.group/u/luri)\
**Post date:** [4 Abril, 2020 00:57 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/13 "2020-04-04T00:57:59Z")

</div>

Hola, solo venia a jugar con el chiche nuevo. Gracias a quienes se hayan encargado de la mudanza y gracias a quienes mantuvieron tanto tiempo la lista!  
✌🏾

---

<div class="post-metadata">

**Author:** ![Tinolin](https://avatars.discourse-cdn.com/v4/letter/t/5fc32e/32.png) [@Tinolin](https://pyar.discourse.group/u/Tinolin)\
**Post date:** [4 Abril, 2020 15:15 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/14 "2020-04-04T15:15:54Z")

</div>

dfffffffffffffffffffffffffffffffff

> fdhhhhhh

hhhhhhhhhhhhh ⚽

---

<div class="post-metadata">

**Author:** ![presidencia](https://yyz2.discourse-cdn.com/free1/user_avatar/pyar.discourse.group/presidencia/32/5_2.png) [@presidencia](https://pyar.discourse.group/u/presidencia)\
**Post date:** [4 Abril, 2020 16:37 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/15 "2020-04-04T16:37:36Z")

</div>

Me parece que Discourse silención a Tinolin automáticamente por algo como “escribió muy rápido” (ya lo des-silenciamos).

Creo que es por este post.

Corolario: no escriban boludeces.

---

<div class="post-metadata">

**Author:** ![Tinolin](https://avatars.discourse-cdn.com/v4/letter/t/5fc32e/32.png) [@Tinolin](https://pyar.discourse.group/u/Tinolin)\
**Post date:** [4 Abril, 2020 20:17 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/16 "2020-04-04T20:17:32Z")

</div>

soy solo una vìctima ja escribo esto muy despacio.

---

<div class="post-metadata">

**Author:** ![gilgamezh](https://yyz2.discourse-cdn.com/free1/user_avatar/pyar.discourse.group/gilgamezh/32/20_2.png) [@gilgamezh](https://pyar.discourse.group/u/gilgamezh)\
**Post date:** [5 Abril, 2020 09:01 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/17 "2020-04-05T09:01:02Z")

</div>

para referencia [https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/](https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/)

---

<div class="post-metadata">

**Author:** ![WenZul](https://yyz2.discourse-cdn.com/free1/user_avatar/pyar.discourse.group/wenzul/32/112_2.png) [@WenZul](https://pyar.discourse.group/u/WenZul)\
**Post date:** [6 Abril, 2020 15:32 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/18 "2020-04-06T15:32:00Z")

</div>

Muy lindo el discourse, muy moderno 🙌🏽

---

<div class="post-metadata">

**Author:** ![matias](https://yyz2.discourse-cdn.com/free1/user_avatar/pyar.discourse.group/matias/32/117_2.png) [@matias](https://pyar.discourse.group/u/matias)\
**Post date:** [6 Abril, 2020 18:21 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/19 "2020-04-06T18:21:01Z")

</div>

Está quedando muy bueno!

---

<div class="post-metadata">

**Author:** ![ccanepa](https://yyz2.discourse-cdn.com/free1/user_avatar/pyar.discourse.group/ccanepa/32/30_2.png) [@ccanepa](https://pyar.discourse.group/u/ccanepa)\
**Post date:** [6 Abril, 2020 18:41 UTC](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40/20 "2020-04-06T18:41:46Z")

</div>

> [@presidencia](#):
>
> Corolario: no escriban boludeces.

pero…pero…esto es internet!!!🚎

[Página siguiente](https://pyar.discourse.group/t/f1rst-15-chars-aaaaarggghhhhhh/40.md?page=2)
