profile
viewpoint
Alexei Boronine boronine @simple-affiliate Toronto, ON www.boronine.com

boronine/colorspaces.js 115

A tiny jQuery and node.js library for manipulating colors. Also works as a stylus plugin.

boronine/pypyenv 39

Easily install PyPy in a virtualenv without touching CPython.

boronine/nspawn2go 12

Quick provisioning for nspawn Debian containers

boronine/discipline 3

An advanced version control system for Django

boronine/base16-api 1

API for generating syntax theme files

boronine/python-halftone 1

A python module that uses PIL to give images a halftone effect

boronine/babel-repro-10140 0

Repro for https://github.com/babel/babel/issues/10140

boronine/base16-iterm2 0

Base16 for iTerm2

boronine/base16-prompt-toolkit 0

Base16 templates for prompt-toolkit and ipython

issue openedzafercavdar/fasttext-langdetect

ModuleNotFoundError: No module named 'wget' (undeclared dependency?)

macOS on M1 (aarch64), Python 3.8.9

(venv) alexei@m1 heftoscms % python3
Python 3.8.9 (default, Aug  3 2021, 19:21:54) 
[Clang 13.0.0 (clang-1300.0.29.3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from ftlangdetect import detect
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/alexei/Heftos/heftoscms/venv/lib/python3.8/site-packages/ftlangdetect/__init__.py", line 1, in <module>
    from .detect import detect
  File "/Users/alexei/Heftos/heftoscms/venv/lib/python3.8/site-packages/ftlangdetect/detect.py", line 5, in <module>
    import wget
ModuleNotFoundError: No module named 'wget'

After pip install wget the problem went away. Probably need to declare the dependency.

created time in 5 days

issue commentbsolomon1124/pycld3

Unable to install on window 10 with issue: "google/protobuf/port_def.inc': No such file or directory"

Same issue on macOS aarch64 - M1 MacBook Air

mickeyzo12

comment created time in 5 days

PR opened twitterdev/twitter-python-ads-sdk

Add media_url and media_key properties to CardsFetch

When fetching a WebsiteCard through the CardsFetch interface, I could not access media_key and media_url. This change fixes this.

+2 -0

0 comment

1 changed file

pr created time in 6 days

create barnchdive-networks/twitter-python-ads-sdk

branch : wip-cardsfetch-media

created branch time in 6 days

push eventdive-networks/twitter-python-ads-sdk

Alexei Boronine

commit sha cc83f9cd19c42c45b0ee60bd1b138572dc2a4ea7

Add media_url and media_key properties to CardsFetch

view details

push time in 6 days

issue commenthsluv/hsluv-sass

Solution for division operator not available through NPM

Hi @MichelReij, thanks for the heads up, just published v2.0.1: https://www.npmjs.com/package/hsluv-sass

MichelReij

comment created time in 8 days

issue closedhsluv/hsluv-sass

Solution for division operator not available through NPM

Hi, I would like to use hsluv-sass through NPM, but the latest version on NPM (v2.0.0) still gives the deprecation warning about the division operator. Could you bump the solution that you have for this to NPM?

Many thanks!

Michel

closed time in 8 days

MichelReij

push eventhsluv/hsluv

Alexei Boronine

commit sha 2df36bd35f46161732a1e5a42122f1a036eddd4d

Publish hsluv-sass v2.0.1

view details

push time in 8 days

created taghsluv/hsluv-sass

tagv2.0.1

Sass implementation of HSLuv (revision 4)

created time in 8 days

push eventhsluv/hsluv-sass

Alexei Boronine

commit sha 062c73ef7a8413d97aa527f629103bb22d6aadda

Bump version to v2.0.1

view details

push time in 8 days

delete tag hsluv/hsluv-sass

delete tag : v2.0.1

delete time in 8 days

created taghsluv/hsluv-sass

tagv2.0.1

Sass implementation of HSLuv (revision 4)

created time in 8 days

startedR32/lex

started time in 12 days

issue commenthsluv/hsluv

npm tarball has files with timestamp 1970-01-01

@josch I understand, thank you for taking the time to explain!

Upon consideration, I think your workaround may be the overall best solution. Closing this now.

josch

comment created time in a month

issue closedhsluv/hsluv

npm tarball has files with timestamp 1970-01-01

To reproduce:

curl -s https://registry.npmjs.org/hsluv/-/hsluv-0.1.0.tgz | tar tvz
-rwxr-xr-x 1000/1000       462 1970-01-01 01:00 package/package.json
-rwxr-xr-x 1000/1000      2110 1970-01-01 01:00 package/README.md
-rw-r--r-- 1000/1000      9421 1970-01-01 01:00 package/hsluv.js
-rwxr-xr-x 1000/1000      1185 1970-01-01 01:00 package/hsluv.d.ts

Please publish a tarball containing files with a valid date.

closed time in a month

josch

issue commenthsluv/hsluv

npm tarball has files with timestamp 1970-01-01

Actually I meant something else, but I appreciate knowing about the git tag issue and the non-DFSG issue, this is something I'm going to start thinking about.

Regarding the tarball, I was confused by the missing-sources directory and came to the conclusion that you decided to not download any tarball. After reviewing your code again I see you are downloading it using the watch file.

Now that I know that, I would ask a more correct question: why are you choosing to rebuild the Haxe sources? Does Debian policy prohibit using generated code like that contained in the hsluv NPM tarball?

josch

comment created time in a month

issue commenthsluv/hsluv

npm tarball has files with timestamp 1970-01-01

Ok, I understand that, thanks. I'm just looking at your workaround code, so seems that your approach is not to download the tarball but to vendor the source files instead? Why not download the tarball and then override the timestamps there? Or is there another reason why you chose against the tarball?

I'm just curious to know because I'm a long-time user of Debian and would be happy to make my stuff more amenable to packaging. I realize Nix is probably at odds with Debian packaging since it's whole world of its own.

josch

comment created time in a month

issue commenthsluv/hsluv

npm tarball has files with timestamp 1970-01-01

Interesting, thanks for the info as I was not aware of this Debian policy.

It is definitely fixable on our end, but I have to research a bit for the way to approach it.

Do you have any insight on how this Debian policy is reconciled with the Reproducible builds initiative? Does Debian recommend any approach in setting these timestamps?

josch

comment created time in a month

issue commenthsluv/hsluv

npm tarball has files with timestamp 1970-01-01

I just discovered that ZIP does not support timestamps < 1980, it's referenced in the Nix docs" https://nixos.org/manual/nixpkgs/stable/#python-setup.py-bdist_wheel-cannot-create-.whl

Most likely you ran into issues when creating ZIPs? In any case this is a legitimate issue, we should at least override the timestamp with 1980-01-01.

josch

comment created time in a month

issue commenthsluv/hsluv

npm tarball has files with timestamp 1970-01-01

This timestamp comes from our build system Nix, this is 0 in UNIX time. Is is causing any issues on your end?

josch

comment created time in a month

startedflowtick/xmls

started time in a month

issue commentboronine/nspawn2go

dont work for 512 RAM Rpi Model B

Are you sure you ran the latest code and included the VMARCH=armel environment variable? Based on your output it looks like either the script is not up-to-date or it's not picking up VMARCH.

Could you try again? Note also that if you don't delete the old script before downloading the new one, wget will append a suffix to the new one.

cirrusUK

comment created time in a month

issue commentboronine/nspawn2go

dont work for 512 RAM Rpi Model B

Thanks for testing!

The error E: cache directory should be specified with an absolute path is probably because your XDG_CACHE_HOME is set to a non-absolute path. I removed this variable in the master version so you can try again.

I also added support for VMARCH environment variable. You should be able to use the master version of the script like so:

wget https://raw.githubusercontent.com/boronine/nspawn2go/master/nspawn2go.py
sudo su
VMARCH=armel python3 nspawn2go.py
cirrusUK

comment created time in a month

push eventboronine/nspawn2go

Alexei Boronine

commit sha a6f666fa3329f9c5940a0583f78eeb87ada069d4

Don't use XDG_CACHE_HOME, try to make cache dir absolute

view details

push time in a month

push eventboronine/nspawn2go

Alexei Boronine

commit sha 930278e000304dfbe2f6e3ba4ee87086a50e72d6

Allow passing explicit architecture with VMARCH environment variable

view details

push time in a month

issue commentboronine/nspawn2go

dont work for 512 RAM Rpi Model B

@cirrusUK ^

cirrusUK

comment created time in a month

issue commentboronine/nspawn2go

dont work for 512 RAM Rpi Model B

Installing Arch on ARM QEMU is too time consuming, I'm not willing to go through with it. For reference, this seems to be the instructions: https://archlinuxarm.org/platforms/armv6/raspberry-pi

I believe in Debian-land this architecture is called armel. So perhaps this issue can be worked around by passing the architecture to debootstrap explicitly via the --arch parameter.

Can you try running this version of the script? This is just a testing branch. If it works, I will add a parameter to the script to override the architecture.

wget https://raw.githubusercontent.com/boronine/nspawn2go/wip-armel/nspawn2go.py
cirrusUK

comment created time in a month

create barnchboronine/nspawn2go

branch : wip-armel

created branch time in a month

issue commentboronine/nspawn2go

dont work for 512 RAM Rpi Model B

From the link

Model: Raspberry Pi Model B 512MB RAM Chip: Broadcom BCM2835 Processor: ARM1176JZF-S 700 MHz https://en.wikipedia.org/wiki/ARM11

cirrusUK

comment created time in a month

push eventboronine/nspawn2go

Alexei Boronine

commit sha 3fa99e4c259f6a6fe15d673f8554718a3e410c50

Tweak README

view details

push time in a month

more