profile
viewpoint

avian2/jsonmerge 118

Merge a series of JSON documents.

avian2/eagle-automation 29

Set of commandline tools for use with CadSoft Eagle

avian2/fimpp 18

FIM++ interpreter

avian2/ec3k 17

Use rtl-sdr to receive EnergyCount 3000 transmissions

avian2/faifa 5

Faifa can configure any Intellon-based Power Line Communication device using Intellon INT5000 and INT6000 series chips (6000 and 6300 chips). It supports all Intellon-specific management and control frames as well as standard management frames.

avian2/gimp-plugin-onion-layers 5

GIMP plug-in for convenient switching between frames in animations

avian2/gwinstek-tools 4

Python remote control for GW Instek instruments

avian2/interrupt-response-times 4

Measuring interrupt response times

avian2/contiki 3

Contiki OS port to the VESNA versatile sensor node

avian2/barebox 1

The barebox bootloader

issue closedavian2/unidecode

UTF-16 problems

First of all, thanks for this tool.

I'm trying to decode UTF-16 escaped strings to no avail.

For instance, \u00c1 is converted to A instead of Á:

>>> import unidecode
>>> unidecode.unidecode('\u00c1')
'A'
>>> unidecode.unidecode(u'\u00c1')
'A'

(I've used https://www.branah.com/unicode-converter to verify)

Is there an option to specify the UTF-16 encoding ?

Thanks.

closed time in 5 days

niloct

issue commentavian2/unidecode

UTF-16 problems

There is no option to specify UTF-16 encoding because Unidecode provides "ASCII transliterations". "A" output is correct. If you want your string encoded as UTF-16 there is no transliteration needed since UTF-16 can encode the "Á" character.

Please read the Unicode HOWTO for an introduction to character encodings in Python.

niloct

comment created time in 5 days

startedTtl/vna2

started time in 25 days

push eventavian2/jsonmerge

Tomaz Solc

commit sha 8ce3beb01010b64c3bf18a4798e67334b8d72e79

No longer test pypy2.7 with Travis. This seems to be broken and Python 2 has been EOL'd anyway.

view details

push time in a month

push eventavian2/jsonmerge

Tomaz Solc

commit sha ea6ef4c1ed777521be9a826fc06d5497e2a1fae9

Update copyright year.

view details

push time in a month

push eventavian2/jsonmerge

Tomaz Solc

commit sha 154204c5b527c05d26566e4b08861123211f8f46

Add a note about validating input documents.

view details

push time in a month

startedsi-covid-19/ostanizdrav-android

started time in 2 months

created tagavian2/python3-pjsip

tagv1!1.0.3

Python 3 bindings for pjsip sip stack

created time in 2 months

created tagavian2/python3-pjsip

tagv1!1.0.4

Python 3 bindings for pjsip sip stack

created time in 2 months

created tagavian2/python3-pjsip

tagupstream/1.0.4

Python 3 bindings for pjsip sip stack

created time in 2 months

push eventavian2/python3-pjsip

Tomaz Solc

commit sha 263b04560a190d291564115a632f5000193a7ba1

Create lists for proxy, auth_cred in each instance The lists initialized in the AccountConfig class declaration were shared between all object instances. This meant that each AccountConfig instance held AuthCreds for all other instances. This also created a memory leak if multiple AccountConfig objects were created and destroyed in a session, since the constructor only appends items to the list, but newer clears them.

view details

Tomaz Solc

commit sha 4b80342b3784c787cd32b289a7ae0f607c57777a

Fix gbp import-orig command line.

view details

push time in 2 months

push eventavian2/python3-pjsip

Tomaz Solc

commit sha 56105aee3ece15c67264c2e0c5cef11c5b46ccb0

A note about Debian packaging

view details

Tomaz Solc

commit sha 263b04560a190d291564115a632f5000193a7ba1

Create lists for proxy, auth_cred in each instance The lists initialized in the AccountConfig class declaration were shared between all object instances. This meant that each AccountConfig instance held AuthCreds for all other instances. This also created a memory leak if multiple AccountConfig objects were created and destroyed in a session, since the constructor only appends items to the list, but newer clears them.

view details

Tomaz Solc

commit sha 904b54f816687f54bf45d84a17551341c3644496

New upstream version 1.0.4

view details

Tomaz Solc

commit sha e5874add498b213d7a0bcada0ffda6dba5ec5e89

Merge tag 'upstream/1.0.4' into debian Upstream version 1.0.4

view details

Tomaz Solc

commit sha 7061454ddbe2670c1e5d0def52caa6926ddc4a7a

Update d/changelog.

view details

push time in 2 months

push eventavian2/python3-pjsip

Tomaz Solc

commit sha 56105aee3ece15c67264c2e0c5cef11c5b46ccb0

A note about Debian packaging

view details

Tomaz Solc

commit sha 263b04560a190d291564115a632f5000193a7ba1

Create lists for proxy, auth_cred in each instance The lists initialized in the AccountConfig class declaration were shared between all object instances. This meant that each AccountConfig instance held AuthCreds for all other instances. This also created a memory leak if multiple AccountConfig objects were created and destroyed in a session, since the constructor only appends items to the list, but newer clears them.

view details

Tomaz Solc

commit sha 904b54f816687f54bf45d84a17551341c3644496

New upstream version 1.0.4

view details

push time in 2 months

issue commentstoically/temporary-containers

Temporary containers not removed with new sync feature

To spare anyone else the time it took me to find the menu @krishnanunnir is talking about. It's not in the add-on preferences. It's in the main Firefox preferences, under the "General" tab.

image

neekt

comment created time in 3 months

issue commentavian2/jsonmerge

occasionally converts bool to string during version merge

Hi.

You provided very little information to go on. Are you sure you don't sometimes have "value": "false" (a string) in your data? Also, your schema seems to say that "value" property should be a string, which means that input data where "false" is a bool doesn't validate.

jsonmerge assumes that your input data is valid. I don't immediately see a reason why jsonmerge would behave randomly like you describe, but technically feeding it data that does not match the schema can produce unexpected results.

I suggest you fix your schema and first pass your input through jsonschema.validate() before passing it on to jsonmerge. This way you can be sure that your inputs are what you think they are.

Chaffelson

comment created time in 3 months

push eventavian2/unidecode

Tomaz Solc

commit sha 9aad82bde01fc933864e54c21f8c020d1a324338

Add some missing replacements in U+23xx page. Content of this commit by Marcoffee (Marco Ribeiro) on GitHub. https://github.com/marcoffee/unidecode/commit/705d91ad4c9c7755529d4be025170b11922f1dee

view details

Tomaz Solc

commit sha 349203e21c265c116a17bfcf1f6c43797c733a8d

Bump copyright date.

view details

Tomaz Solc

commit sha 0d2e52870ec3cfa6eb29fdf9a7e73e1a5454c0bf

Add warning about offensiveness and more FAQs.

view details

push time in 3 months

more