~qeef

~qeef/damn-project

Last active 2 months ago

~qeef/damn-dev

Last active 2 years ago

~qeef/public-inbox

Last active 2 years ago

~qeef/mapathoner

Last active 3 years ago
View more

Recent activity

[PATCH bare-py 5/5] Extend varint tests with data from RFC's appendix 10 hours ago

From Jiri Vlasak to ~martijnbraam/public-inbox

---
 bare/test_varint.py | 42 ++++++++++++++++++++++++++++++++++--------
 1 file changed, 34 insertions(+), 8 deletions(-)

diff --git a/bare/test_varint.py b/bare/test_varint.py
index 61e71f9..c20d065 100644
--- a/bare/test_varint.py
@@ -8,25 +8,51 @@ from bare import _pack_varint, _unpack_varint

class Test(TestCase):
    def test__pack_varint(self):
        self.assertEqual(_pack_varint(0), b'\0', 'uint zero')
        self.assertEqual(_pack_varint(0x7F), b'\x7f', 'uint 0x7f')
[message trimmed]

[PATCH bare-py 4/5] Fix unpack varint test comment 10 hours ago

From Jiri Vlasak to ~martijnbraam/public-inbox

---
 bare/test_varint.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bare/test_varint.py b/bare/test_varint.py
index d3cd034..61e71f9 100644
--- a/bare/test_varint.py
@@ -27,7 +27,7 @@ class Test(TestCase):
        self.assertEqual(_unpack_varint(b'\0', 0, signed=True)[0], 0, 'int 0')
        self.assertEqual(_unpack_varint(b'\x02', 0, signed=True)[0], 1, 'int 1')
        self.assertEqual(_unpack_varint(b'\x01', 0, signed=True)[0], -1, 'int -1')
        self.assertEqual(_unpack_varint(b'\xf1\x14', 0, signed=True)[0], -1337, 'int -1')
        self.assertEqual(_unpack_varint(b'\xf1\x14', 0, signed=True)[0], -1337, 'int -1337')
[message trimmed]

[PATCH bare-py 3/5] Compare none using "is" (accomply to PEP8) 10 hours ago

From Jiri Vlasak to ~martijnbraam/public-inbox

---
 bare/test_primitives.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bare/test_primitives.py b/bare/test_primitives.py
index 620b108..b5f477e 100644
--- a/bare/test_primitives.py
@@ -155,4 +155,4 @@ class Test(TestCase):
        ast = BarePrimitive(TypeKind.Void)
        packed = _pack_primitive(ast, None)
        result = _unpack_primitive(ast, packed, 0)[0]
        assert result == None
        assert result is None
[message trimmed]

[PATCH bare-py 2/5] Remove unused import 10 hours ago

From Jiri Vlasak to ~martijnbraam/public-inbox

---
 bare/test_primitives.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bare/test_primitives.py b/bare/test_primitives.py
index e18314e..620b108 100644
--- a/bare/test_primitives.py
@@ -1,7 +1,7 @@
from math import isnan
from unittest import TestCase

from hypothesis import given, note, seed
from hypothesis import given, note
[message trimmed]

[PATCH bare-py 1/5] Fix test_int typo 10 hours ago

From Jiri Vlasak to ~martijnbraam/public-inbox

---
 bare/test_primitives.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bare/test_primitives.py b/bare/test_primitives.py
index 5315629..e18314e 100644
--- a/bare/test_primitives.py
@@ -81,7 +81,7 @@ class Test(TestCase):
        assert result == number

    @given(integers())
    def test_i64(self, number):
    def test_int(self, number):
[message trimmed]

Re: Manager and Josm plugin + Notes 2 months ago

From Jiri Vlasak to ~qeef/damn-project

An (a bit late) update on this.

> 1.- It´s possible to add "back link" [...]

the "get areas" link has been added to the manager [1] and the mappy [2]
clients.

> 2._ I don't know if this is impossible [...]

This was about JOSM update to include changeset URL in note comment if
feasible [3]. Thanks to the Taylor Smock it will be available in the
next JOSM version. (Even the patch is "by qeef", it is by Taylor, who
more likely get inspired by what I drafted.)

Re: Manager and Josm plugin + Notes 2 months ago

From Jiri Vlasak to ~qeef/damn-project

>1.- It´s possible to add "back link" on manager specific area to go back "manage area" list? Make sense? ( actually you click the browser back button, it´s fine for me ).


This is completely legit and makes perfect sense. I will improve the navigation for all the web clients. A link to "list of all areas" is truly missing.


>2._ I don't know if this is impossible but i'm asking anyway... My actual workflow:


I need to check the JOSM documentation and I will let you know. I will start working on both issues after the weekend.

Thank you for your ideas!

Re: Josm plugin debug 3 months ago

From Jiri Vlasak to ~qeef/damn-project

The issue was solved [1], sorry for late reply here.

Indeed, the problem was in the redirection -- the header with the authentication is dropped, what is confirmed by the log.

Please, upgrade the damn JOSM plugin to version 0.13.0.

[1]: https://mastodon.social/@risturiz/110922561936537821

Re: damn-project.org outage on UTC night between Aug 16-17 3 months ago

From Jiri Vlasak to ~qeef/damn-project

Looks we are back online. Please, let me know if something does not work. Thanks.

Re: damn-project.org outage on UTC night between Aug 16-17 3 months ago

From Jiri Vlasak to ~qeef/damn-project

Short remainder that the outage happens today, UTC night.