text:
When I installed the app to two android phones, one of the apps will close immediately after the registration of both phone.

After registration, the app cannot be opened simultaneously on two phone. One of the app will be closed and even killed automatically. The phone with the app opened will show meeting inserted. When I checked the firestore, I can find the meeting record. However, when I changed my status, no message is received by the other phone. Do u know the reason behind? During the setup for backend, do I need to make any changes in the firestore folder? I changed the default string in firebaserc to the default id of my firebase project. Is it correct? The googleservice.json file download straight away from the firebase right?

Hi @chewszeqi do you receive any error/crash logs in Android Studio's Logcat or another IDE? Then I can give better feedback about what the problem might be

logcat error only(no filter).txt
logcat(no filter).txt
logcat(show only selected application).txt
This is Android Studio's Logcat. Logcat with no filter is pretty long so I made one with only error.

I took a video of the app closing.
https://drive.google.com/file/d/1--mmak-UJTDbHeKEws3bHxxC4LRxHrYg/view?usp=sharing


text:
Компиляция css в произвольном порядке.

Добрый день. Есть проблема, что файл стилей компилирует медиа запросы в разном порядке. Запрос на 768px может находится ниже чем запрос на 480px, приходится перебивать стили каскадом. Не подскажете как решить данную проблему.

https://github.com/nicothin/NTH-start-project/blob/master/gulpfile.js#L47 — включена сортировка медиаправил.
я всегда иду по пути mobile first, для меня нужно, чтобы сначала шли медиаусловия малых значений, потом больших.

source: gharchive/issue

authors: dimavel nicothin

repo: nicothin/NTH-start-project

license: WTFPL

license_type: permissive

license_source: github-api


text:
download models

Using app to download models is too slow. Use the computer to download 10 models in 2.0 and copy them to the corresponding location. Why do you still need to restart downloading models when you open the app?

Why do you still need to restart downloading models when you open the app?

Because the sideloading is not yet supported by the app, but I'm working on it, and in the next few days it will be implemented, with a tutorial explaining how to do it too.

@sunheroxi The new release that supports sideloading is out 😁, and the guide for sideloading is here, let me know how it works.

The improvements were quick, dry and beautiful, so we can finally try it.

authors: niedev sunheroxi

repo: niedev/RTranslator


text:
add _I means bignum and _Zq means ZqElement obj

I Think big_int should be first class and I use _I represent big_int
for example:
constexpr auto number = 6513020836420374401749667047018991798096360820_I;
constexpr big_int<3> expected_result = {1315566964, 326042948, 19140048};
and I think ZqElement obj can be created use _Zq suffix directly:
using GF101 = decltype(1267650600228229401496703205653_Zq);
GF101 xb(8732191096651392800298638976_Z);
GF101 yb(27349736_Z);

Hello @niekbouman
I think change Zq call  to _Zq function , users use it more easily and more easy to understand.
_I I think is ok, because people often use same width fonts. Or can be replaced with _L , means large number. _big need more typing.
Also I want to know how to compile automatically when save vim, very useful. Thank you a lot.
Jiayuehua

source: gharchive/pull-request

repo: niekbouman/ctbignum


text:
enhance highgui module with hardware acceleration

cv::imread / cv::imdecode

[x] jpeg on milkv-duo
[ ] jpeg on yuzuki-lizard
[ ] jpeg on tinyvision

cv::imwrite / cv::imencode

[ ] jpeg on milkv-duo
[ ] jpeg on yuzuki-lizard
[ ] jpeg on tinyvision
[x] jpeg on luckfox-pico

cv::VideoCapture

[x] v4l camera on luckfox-pico
[x] v4l camera on tinyvision
[x] cvi camera on milkv-duo

1920x1080 jpg encoding

bcm2835
sw
sw-cpu
hw
hw-cpu

rpib+
766.26ms
97.2%
41.36ms
41.8%

rpi2
185.87ms
100%
29.92ms
22.4%

rpi3b+
65.02ms
100%
22.69ms
23.8%

rpi4b
31.81ms
100%
14.91ms
16.9%

rpi5b
15.83ms
100%
n/a
n/a

repo: nihui/opencv-mobile


text:
arabic language for country name and rtl support

hi this plugin only display english language but there is any option to list of country showing name of country in arabic or another language support?

I have the same question, is it possible to change the language in which the names of the countries are shown?

@ravi9376 @AllenPeter At this moment, the translation is available for en and es locale only. I would be happy to add more locale. Is it possible for you guys to provide the translation file in format countryCode: country name in uppercase?

yes i can
On Sat, Aug 17, 2019 at 7:00 PM Nikhil N notifications@github.com wrote:

@ravi9376 https://github.com/ravi9376 @AllenPeter
https://github.com/AllenPeter At this moment, the translation is
available for en and es locale only. I would be happy to add more locale.
Is it possible for you guys to provide the translation file in format
countryCode: country name in uppercase?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nikhiln/ngx-international-phone-number/issues/50?email_source=notifications&email_token=AEFGR6D3KQ4PPYKTWHJR4U3QE74P3A5CNFSM4ICDD2E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4QLGZY#issuecomment-522236775,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEFGR6AA5BM3IDLMKVL6ESLQE74P3ANCNFSM4ICDD2EQ
.

--
Thanks and Regards,
Raviprakash Dhanuka
+91 80000-52500
ravi9376@gmail.com

authors: AllenPeter nikhiln ravi9376

repo: nikhiln/ngx-international-phone-number

license: MIT


text:
List indexing with variables

Describe the Bug
When attempting to index a list using a variable, the expression A[R] does not produce the expected output. Despite R being set to 3 and A being a list with the values ["Yes", "No", "Yes"], the expected output should be the third element of list A twice, as in "Yes". However, the output is[ 3, 3, 3 ].
FEEL Playground Issue
Steps to Reproduce
evaluate('A[R]',{
"R": 3,
"A": ["Yes","No","Yes"]
})
Expected Behavior
The expression returns the value of the list on the index which matches the variable value; ie, "Yes"
Environment

Host (Browser/Node version), if applicable: Node v21.5.0
OS: macOS 14.2.1
Library version: 3.0.0

Additionally, this can be replicated in the playground -> FEEL Playground Issue

I'm not crazy:

@nikku  I'm wondering if there's an ETA on this, we'd like to use FEELIN for our project because it keeps things in javascript land. Would you endorse its use in production?

@sebastian9 I cannot confirm or deny that feelin is ready for production. Like any software it will have bugs. Also, I don't offer "enterprise support" so you'll need to wait a week or two before I pick up pull requests.
Alternatives exists, such as dsntk/feel-evaluator that could be transpiled to WASM and used in browserland, too. It sets the bar high and fully operates "in the spirit of FEEL", including context sensitivity, DMN-TCK compliance and friends. It may not be as approachable to you as a JavaScript engineer.

repo: nikku/feelin


text:
Failed pi install

I had a working system but messed up my pi install and had to rebuild again, so I followed the instructions in the software directory again. I'm using the trapdoor variant.
The pi command works on the Amiga side but the SANA driver no longer works. This is the log from systemctl (a314d)
Dec 07 17:29:51 a314 systemd[1]: Started a314d.service - A314 Daemon.
Dec 07 17:29:52 a314 a314d[541]: ERROR, 2024-12-07 17:29:52,646, main, line 218: Unable to open tap device at tap0
Dec 07 17:29:52 a314 a314d[541]: Traceback (most recent call last):
Dec 07 17:29:52 a314 a314d[541]:   File "/opt/a314/ethernet.py", line 263, in
Dec 07 17:29:52 a314 a314d[541]:     tap.close()
Dec 07 17:29:52 a314 a314d[541]:     ^^^
Dec 07 17:29:52 a314 a314d[541]: NameError: name 'tap' is not defined. Did you mean: 'map'?
ifconfig does not list any tun0 inferface
This is the output from the install script:
g++ -DMODEL_TD=1 a314d/a314d.cc -O3 -o bin_pi/a314d-td
dtc -I dts -O dtb -o bin_pi/spi-a314.dtbo a314d/spi-a314-overlay.dts
created virtual environment CPython3.11.2.final.0-64 in 1570ms
creator CPython3Posix(dest=/opt/a314/venv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv)
added seed packages: pip==23.0.1, setuptools==66.1.1, wheel==0.38.4
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Processing ./bpls2gif
Preparing metadata (setup.py) ... done
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f8289c9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pyudev/
Collecting pyudev
Downloading https://www.piwheels.org/simple/pyudev/pyudev-0.24.3-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 67.9 kB/s eta 0:00:00
Collecting websockets
Downloading websockets-14.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (169 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 169.4/169.4 kB 937.9 kB/s eta 0:00:00
Collecting python-pytun
Downloading python-pytun-2.4.1.tar.gz (8.5 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: python-pytun, bpls2gif
Building wheel for python-pytun (setup.py) ... done
Created wheel for python-pytun: filename=python_pytun-2.4.1-cp311-cp311-linux_aarch64.whl size=28170 sha256=f464f5e52f9bfd8bc69dbb53358c1d3ebc55e5ae5d0a42838aa9b2f43c9fe280
Stored in directory: /root/.cache/pip/wheels/96/05/30/49ad90b4a08cc1fd6a875874f2c3f11b1650ae00ed279bec7b
Building wheel for bpls2gif (setup.py) ... done
Created wheel for bpls2gif: filename=bpls2gif-1.0-cp311-cp311-linux_aarch64.whl size=14423 sha256=ad20d7f726fd1cd9727d2b2126be862a66ae036d93bd565c9917617ea30727e2
Stored in directory: /tmp/pip-ephem-wheel-cache-yv0ws32i/wheels/3f/57/8a/5111eee2bf6156a17289951e2ecf8e60a4b4678cf303d0402c
Successfully built python-pytun bpls2gif
Installing collected packages: python-pytun, bpls2gif, websockets, pyudev
Successfully installed bpls2gif-1.0 python-pytun-2.4.1 pyudev-0.24.3 websockets-14.1
./install-pi.sh: line 15: /etc/network/interfaces.d/tap0: No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/a314d.service → /lib/systemd/system/a314d.service.
Created symlink /etc/systemd/system/multi-user.target.wants/a314net.service → /lib/systemd/system/a314net.service.
Installation complete
Restart the Raspberry Pi (sudo reboot now) to automatically start a314 software

Hi, can you try running the script again? It looks in the output like the network connection was broken at some point, so something was likely not downloaded properly.

I just redid everything from scratch - reimaged the SD card using raspberry pi imager to Lite 64bit then followed the instructions exactly. This is the output from the script:
g++ -DMODEL_TD=1 a314d/a314d.cc -O3 -o bin_pi/a314d-td
dtc -I dts -O dtb -o bin_pi/spi-a314.dtbo a314d/spi-a314-overlay.dts
created virtual environment CPython3.11.2.final.0-64 in 1567ms
creator CPython3Posix(dest=/opt/a314/venv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv)
added seed packages: pip==23.0.1, setuptools==66.1.1, wheel==0.38.4
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Processing ./bpls2gif
Preparing metadata (setup.py) ... done
Collecting pyudev
Downloading https://www.piwheels.org/simple/pyudev/pyudev-0.24.3-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 813.9 kB/s eta 0:00:00
Collecting websockets
Downloading websockets-14.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (169 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 169.4/169.4 kB 1.0 MB/s eta 0:00:00
Collecting python-pytun
Downloading python-pytun-2.4.1.tar.gz (8.5 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: python-pytun, bpls2gif
Building wheel for python-pytun (setup.py) ... done
Created wheel for python-pytun: filename=python_pytun-2.4.1-cp311-cp311-linux_aarch64.whl size=28169 sha256=e1e687cdfea72a4f2700c0ba30bd2b5158a377ae472413569453d177e58354e0
Stored in directory: /root/.cache/pip/wheels/96/05/30/49ad90b4a08cc1fd6a875874f2c3f11b1650ae00ed279bec7b
Building wheel for bpls2gif (setup.py) ... done
Created wheel for bpls2gif: filename=bpls2gif-1.0-cp311-cp311-linux_aarch64.whl size=14423 sha256=ed922da99e6e219d2fbb2c14e0b1362e6cdf9cd16388f99a32e517a63485fd18
Stored in directory: /tmp/pip-ephem-wheel-cache-umiecv69/wheels/3f/57/8a/5111eee2bf6156a17289951e2ecf8e60a4b4678cf303d0402c
Successfully built python-pytun bpls2gif
Installing collected packages: python-pytun, bpls2gif, websockets, pyudev
Successfully installed bpls2gif-1.0 python-pytun-2.4.1 pyudev-0.24.3 websockets-14.1
./install-pi.sh: line 15: /etc/network/interfaces.d/tap0: No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/a314d.service → /lib/systemd/system/a314d.service.
Created symlink /etc/systemd/system/multi-user.target.wants/a314net.service → /lib/systemd/system/a314net.service.
Installation complete
Restart the Raspberry Pi (sudo reboot now) to automatically start a314 software
The SANA driver still fails; it seems like the line to add the tap0 inferface didn't do anything. There is no inferfaces.d in /etc/network

In https://downloads.raspberrypi.com/raspios_lite_armhf/release_notes.txt it says " * Removed ifupdown from default install as it is not used and slows down boot", maybe this is the problem.
If you do sudo apt install ifupdown, and then run install-pi.sh again, does that help?
If you have a Discord account you could join the A314 discord server (link on https://github.com/niklasekstrom/a314?tab=readme-ov-file#do-you-want-to-get-involved) to get help more interactively.

Installing ifupdown did the trick. Looks like it just needs adding to the dependencies in the install instructions.

Ok great, thanks for reporting the issue!
If you know of some better way to configure the tap interface (than the current method) then feel free to drop by the discord server and let us know. Otherwise I'll add the ifupdown package to the dependencies in the install instructions.

authors: SanguineBrah niklasekstrom


text:
cannot render correct content when several div with same z-index stacked

Bug reports:
When I have several DOM Nodes with same z-index, and let them stacked by absolute position, in real render process, the content in last node can be displayed. But when screenshot with h2c, it can't show.
jsfiddle example.
Specifications:

html2canvas version tested with: 1.0.0-rc5
Browser & version: Chrome
Operating system: Win10

To be more clear, when several nodes stack, the content in the last node will be displayed in real. But in html2canvas, it shows the content in the first node. jsfiddle this code fragment can show it clearly.

I also encountered this problem when using htmlCanvas to intercept maps rendered with leaflet.js.
Because in leaflet.js, the z-index of the rendered background layer is the same as the z-index of the annotation layer, resulting in incomplete interception.
This forced me to try to change the parameters of leaflet.js in depth

I also encountered it and just submitted a PR. Should be able to fix this
https://github.com/niklasvh/html2canvas/pull/2089

I encountered this problem, too, with a Gridlayer.
The solution was to create a map pane for my layer with z-index of 300 which appears between tile layers and markers etc.
see Working with map panes.

authors: Dec-F jdsxzhao lzw1604748707 t-sch


text:
SVG rendering with embedded/external css not working

jsfiddle

See also #95.

Seeing the same—externally included fill rule is ignored, black is rendered instead. This also affects stroke external style. Writing them directly in SVG as attributes makes it work.

Is there another way to get this working besides writing all styles directly into the SVG?

authors: NPC arzyu n1try usmonster


text:
rotate feature

nice to have rotate feature
so that the output (*.stl) can be either lay down (horizontal)
or
straight up (vertical)
in x, y, z value
e.g.

Just like with the scaling feature, it's hard to see any reasons not to utilize the slicer. Could you elaborate?

authors: niljub sugizo


text:
Allow mutator attributes

To enable server-side processing of attribute values, Eloquent mutators could be used. To enable them for e.g. relationships they have to be included in the class properties. This pull request adds them to the mapping.

There is this existing PR, which main repo do you mean?

license: mit

license_source: bigquery


text:
builtins.complex

[ ] complex(string)
[ ] imag/real= shall error

closed since https://github.com/nimpylib/pylib/commit/a1f77b68f56d51c5db214e33e95ef9e5c5143795

repo: nimpylib/pylib


text:
txt2raw_XPS_depth.pyを実行するとエラーになる

python txt2raw_XPS_survey.py ***.txt xps_raw_template.xml raw.xml

を実行すると以下のようなエラーが出る。
Traceback (most recent call las):
  File "txt2raw_XPS_survey.py", line 82, in <module>
     if typename.get("type") != None:
AttributeError: 'NoneType' object has no attribute 'get'

【原因】
入力ファイル（***.txt）に含まれるキー名とテンプレートファイル（xps_raw_template.xml）に含まれるキー名は一致することが前提で作成していたために、入力ファイルに存在するキーがテンプレートファイルに含まれない場合、上記のエラーが出る。
【対応】
入力ファイルに存在するキーがテンプレートファイルに含まれない場合、そのキーは出力ファイルに出力しない。
l.80 if typename.get("type") != None:

↓

if typename is not None:
                if typename.get("type") is not None:

fixed @8646b5c93149272d8147e51896381090c7d7118c


text:
the icons of  the marketplace and apps are hidden

Did you read the README?

[X] I have read the README, the theme is installed/configured correctly and the "Troubleshooting" section contains no information related to my problem

Do you have the latest versions of Spicetify, Spotify and Bloom?

[X] I'm using the latest versions of Spicetify, Spotify and Bloom

Is there already an issue for your problem?

[X] I have checked older issues, open and closed

Is your problem definitely caused by the theme?

[X] I have checked the app behavior without the theme and it is different

Environment & Computer Info
- Spotify version:1.2.31
- Installed from: ( Spotify site)
- Spicetify version:2.36
- Color scheme:
- Extensions:ad blocker/keyboard shortcut
- Custom apps:name the tune
- Bloom installation method: (Spicetify Marketplace)

Description
it was normal at first but today when i open spotify i notice the market place icon hidden i restart it many time but nothing happend
Screenshots

I don't think it's really "hidden" but rather the resource failing to load. Can you try reinstalling Bloom using the instructions in the README?

I have the same issue. I tried reinstalling but it doesn't seem to work.

It s the same still to this moment the icon is hidden even after reinstalling and even updating spicetify

Then I'll try to inspect this myself. I'm still pretty sure that the resource is failing to load.

Well you could try to work on the code if you can bear with JS since Spicetify themes are generally just JS scripts that override the Spotify defaults IIRC.

Fixed it its alright now

@NotJellyPig , the issue was fixed by pull requests from @sanoojes & @yanus ! could you please update bloom and confirm the fix? so we can close this issue

Fixed for me ❤

authors: BLACK4585 NotJellyPig lucabosul nimsandu sanoojes stel-bl

repo: nimsandu/spicetify-bloom


text:
File dependency not detected when French language is used.

Hi,
I'm currently developing a project using Visual Studio 2019 (latest version) using a CMake project. I have detected a problem in the generation of the dependencies. I have created a small test project. This project uses two classes. ClassA calls a function of ClassB. I perform a first compilation of the project. Then, I changes ClassB.h by adding "private:" before the definition of the function. ninja does not detect that ClassA must be recompiled. ninja -t deps answers that there is no dependency between the files.
A colleague to me, tried on his computer, that is in English. For him everything works well. And ninja - t deps detect the dependency. We suspect that this issue might be related to another anomaly. On my computer the text "Remarque : inclusion du fichier : " ("Note: include file:") is not filtered. We have also seen, in this string, that the character before the ":" is not an ASCII one. Its code is 0xa0.
The whole test project is in the added zip file.
test.zip

Probably related to: https://github.com/ninja-build/ninja/pull/1671

Seems to be duplicate of https://github.com/ninja-build/ninja/issues/1766

authors: AKA-MMM jonesmz

repo: ninja-build/ninja


text:
Make the layout more random

Any ideas on where I can go about making the layout more random so there isn't a pattern?

@anthonycastelli: At the comment, the layout is fixed. Maybe in next version, you can define the layout yourself. Pull request is welcome though.

authors: anthonycastelli ninjaprox

repo: ninjaprox/NVBnbCollectionView


text:
[Feature request] Remove fog

Option to remove fog

Maybe DPF_FOG flag can disable it:
https://github.com/nipkownix/re4_tweaks/blob/7cfcf5c4272f7d68d177661ffe84e9d1e0d2f383/dllmain/GameFlags.cpp#L1664
There's some other flags that mention fog as well, could be worth testing.

Hey emoose will there be future development for re4_tweaks or it's done for now?

authors: Whorespawn qqqbbb

license: Zlib


text:
fmriprep 21.0.1 FileNotFoundErrors on a HPC cluster

What happened?
Hello everybody,
I am running fmriprep (21.0.1) on a HPC cluster with a singularity image. I had no problems with previous versions of fmriprep (e.g. 20.0.1). But with the newest version, I am running into FileNotFoundErrors and I can't seem to find a good solution. You can find an example of the command I used and the errors I got below.
Based on previous bug reports of other users, it seems to be a filesystem synchronization issue.
I tried the following things, but had no succes:

Running the singularity from different directories
Using different work directories
Creating different singularity images
Creating a singularity image locally and then using it on the HPC cluster
unset PYTHONPATH
nthreads 1
using only one cpu (the cluster says you always needs 2)

I did manage to not get the error by using a workaround from a previous bug report. The workaround uses the following plugin:
plugin: LegacyMultiProc
plugin_args: {maxtasksperchild: 1, memory_gb: 250, n_procs: 16, raise_insufficient: false}
However, this severely slows down fmriprep and causes it to pause on certain analysis steps.
Are there any other things I could do to solve the issue?
What command did you use?
singularity run --cleanenv -B /vsc-hard-mounts/leuven-user/333/vsc33337/ -B /vsc-hard-mounts/leuven-data/333/vsc33337/ -B /scratch/leuven/333/vsc33337/ -B /scratch/leuven/333/vsc33337/fmriprep_work/ /vsc-hard-mounts/leuven-data/333/vsc33337/fmriprep_latest.simg /vsc-hard-mounts/leuven-data/333/vsc33337/BIDS /scratch/leuven/333/vsc33337/fmriprep_OUTPUT_sub_$subject participant --output-spaces anat MNI152NLin6Asym:res-2 MNI152NLin2009cAsym --use-aroma --work-dir /scratch/leuven/333/vsc33337/fmriprep_work --resource-monitor --fs-no-reconall --participant-label $subject --fs-license-file /vsc-hard-mounts/leuven-data/333/vsc33337/license.txt

What version of fMRIPrep are you running?
21.0.1
How are you running fMRIPrep?
Singularity
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
exception calling callback for <Future at 0x2b01b287b1c0 state=finished raised FileNotFoundError>
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/plugins/multiproc.py", line 67, in run_node
    result["result"] = node.run(updatehash=updatehash)
  File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 512, in run
    savepkl(op.join(outdir, "_node.pklz"), self)
  File "/opt/conda/lib/python3.8/site-packages/nipype/utils/filemanip.py", line 721, in savepkl
    os.rename(tmpfile, filename)
OSError: [Errno 61] No data available: '/scratch/leuven/333/vsc33337/fmriprep_work/fmriprep_wf/single_subject_125_wf/func_preproc_task_ddt2_wf/initial_boldref_wf/gen_avg/_node.pklz.tmp' -> '/scratch/leuven/333/vsc33337/fmriprep_work/fmriprep_wf/single_subject_125_wf/func_preproc_task_ddt2_wf/initial_boldref_wf/gen_avg/_node.pklz'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/concurrent/futures/process.py", line 239, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/plugins/multiproc.py", line 70, in run_node
    result["result"] = node.result
  File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 216, in result
    return _load_resultfile(
  File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/engine/utils.py", line 291, in load_resultfile
    raise FileNotFoundError(results_file)
FileNotFoundError: /scratch/leuven/333/vsc33337/fmriprep_work/fmriprep_wf/single_subject_125_wf/func_preproc_task_ddt2_wf/initial_boldref_wf/gen_avg/result_gen_avg.pklz
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/concurrent/futures/_base.py", line 328, in _invoke_callbacks
    callback(self)
  File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/plugins/multiproc.py", line 159, in _async_callback
    result = args.result()
  File "/opt/conda/lib/python3.8/concurrent/futures/_base.py", line 437, in result
    return self.__get_result()
  File "/opt/conda/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
FileNotFoundError: /scratch/leuven/333/vsc33337/fmriprep_work/fmriprep_wf/single_subject_125_wf/func_preproc_task_ddt2_wf/initial_boldref_wf/gen_avg/result_gen_avg.pklz

Additional information / screenshots
No response

The problem was solved by --work-dir $VSC_SCRATCH_NODE as the $VSC_SCRATCH_NODE can be accessed more quickly.

repo: nipreps/fmriprep


text:
Get rid of the config file?

I almost always find the config_opts dictionary to be a huge pain. The lack of tab completion in IPython means I always have to hunt to find the right name for the keys, and it's weird to pass an extra dictionary of keyword arguments.
I can't even remember why those options were implemented this way, though I suspect it made reading them from the config file easier. I would like to get rid of the config_opts dictionary and make its entries first-class keyword arguments in Brain. (We can keep config_opts for a release cycle or two and fire a warning when people use it, to avoid too much disruption).
But more generally, it's worth thinking about just killing the config file itself. I've come to really dislike this approach to customization because it means the scripts/notebooks you write aren't fully reproducible without metadata, and there's no indication in the code that the metadata existed at the time it was executed. (i.e., the script won't even crash, you'll just get a result that looks different).
I also suspect that the config file is relatively underutilized.
Would anyone object to just getting rid of the config file and making everything be specified in the Brain constructor?

Soliciting comment from @Eric89GXL, @agramfort, and anyone else who wants to weigh in on whether they feel the config file is an integral part of their pysurfer workflow and is worth keeping.

+1
and I personally don't use the config file

+1, same here (including the annoyances with working with config_opts)

Closed with #121

authors: Eric89GXL agramfort mwaskom

repo: nipy/PySurfer


text:
When taped on date its returning calendar instead of date.

I pressed on a date and the app crashes, then i found out that "tap.view.tag" is returning a calendar instead of date. in lblDateTapped method.
this is the point where i am getting the error
selectedLbl = (UILabel *)[self viewWithTag:tap.view.tag];
but this "selectedLbl" is returning calendar instead of date.
dateLbl.text  = selectedLbl.text;
The exception is as follows.
Exception is :- -[NVCalendar text]: unrecognized selector sent to instance 0x7f96e8d65dd0
so could you help regarding this.
its very urgent for me.
Thanks in advance

I didn't find any label named "selectedLbl", and I am able to run the code without crash. I also checked the tap method on UILabel. But everything works fine.
Did you change my code ?
Please let me know so I can help you out.
Regards

repo: niravspaceo/NVCalendar


text:
Not connecting to MG4

Hey All,
I seem to get stuck with connecting to my MG4.
I tried using:

Raspberry pi zero w 2
Raspberry pi 4 2GB
Raspberry pi 4 4GB

The results varied, from being able to connect to bluetooth (only on the pi zero w image 0.3) to the raspberry pi 4 saying it's not compatible with what's on the sd card (same sd card doesnt give that problem on the 2gb).
However, the pi 4 units all do not even broadcast the bluetooth, and the zero w disconnects instantly when connected on bluetooth.
I want to debug, and did setup a manual connection to the known SSID. but I am not finding that network.
So a few questions:

Is the ssid supposed to be broadcasted?
Did anyone get this to work on an MG4
Connecting to the 4GB raspberry pi 4 made it blink yellow 4x slow, and 4x fast, which suggests incompatible operating system, is that supposed to happen?
I tried flashing the sd cards with raspberry pi imager, but also win32 diskimager, results are the same. Are those correct ones to flash the sd cards with?

Can you elaborate on the sequence of events that will happen on the raspberry pi
I tried using 0.31, 0.3 and 0.2 all have the same outcome when I use a raspberry pi 4 (2gb).
Am I supposed to see the BT AA_Wireless first, or the SSID, or are both visible at the same time?
Same question for the Zero 2W.

In versions 0.3.0 and 0.3.1, you should see both the Wifi and Bluetooth at once. But you don't need to connect to the Wifi manually. Just pair the bluetooth and it should work. The bluetooth gets disconnected just after connecting and that is okay.
In 0.2.0, the bluetooth will be visible once the headunit starts the usb connection first. Again, you just need to pair the bluetooth for the first time.
If it is not working, you can get the logs out by connecting to the Wifi directly and using ssh to get the logs.

Well, for now the issue seems to have been resolved.
I flashed V0.3.1 onto a raspberry pi zero 2 W using the win32diskimager as I had done before.
Cleared out all mobile phones on the bluetooth connections (previously only removed the one I was using and left my wife's phone in there).
After a moment, it got available on BT, then connected it and it worked.
So far only a few reboots have been done, but have been succesful.
I will keep this ticket open for now, will come back in a day or two with updates :)

Update from my end.
It keeps working, however I do often need to "reset" after initial bootup.
I think my car powers on too slow.
When I unlock my car, the USB power goes on (It's fully electric).
But only when I open up my door, my infotainment system will power on.
When "starting" the car, which is nothing more than setting it in drive mode, it will not reset the USB power like some other cars.
Would it be possible to setup like a file to "wait" with continuing to boot as others might have the same problem and boot times can be different from car to car, or to loop when it's not succesfully connected to the car with a configurable amount and wait time per loop?

Yes, we can add retries. But #72 might also be useful in this case. With this, the phone would wait for the headunit's bluetooth connection before trying to connect to dongle via wifi.

Although I like the idea, and in some cases this could result in the desired outcome, my car is already making a BT connection when I leave my house. It's BLE will connect even if I haven't unlocked the car yet.

authors: Gdenge nisargjhaveri

repo: nisargjhaveri/WirelessAndroidAutoDongle


text:
feat(frontend): aggregated risk map layer (risk hotspots)

New raster layer showing aggregated risk values for:

variables: "exposure value", "population affected", "loss GDP", "demand affected".
hazards: "none", cyclone, "all flooding".

Includes:

New aggregated risk map layer and params in src/state/layers/modules/risks.
New config in src/config/risks. Parameters defined in src/config/risks/domains.
New sidebar controls in src/sidebar/risks.
New legends and tooltips in src/config/risks.
Makes a start on generic formats for data values eg. financial or population.
towards #8.

With the new code here, to format map values with units, the tooltip popups look good but the values in the map legend still need to be updated. Currently, legend units can be either omitted or duplicated.

Map legend units are fixed.

repo: nismod/irv-jamaica


text:
New release 1.2.8

== Break changes

N/A

== New features

Add support of filtering via NetStateFilter. (f128da4, c130bb6)
SR-IOV: Include SRIOV VF information per VF interface. (fd3c489)
New bond options: (77ede43)

BondInfo.lacp_active
BondInfo.missed_max
BondInfo.ns_ip6_target

== Bug fixes

Expose MptcpAddressFlag. (dd2a427)

Breaking nmstate for showing invalid bond options after switched to rtnetlink without filtering.

repo: nispor/nispor


text:
NPOI 2.5.2 Release Notes

We are going to release 2.5.2 soon. Here is the release notes
#448 Add ifs, maxifs, minifs functions to analysis tool pack
#410  fix Match function for compatible
#423 AddPicture doesn't work, corrupts DOCX file
#397 LocalUtil.GetUserTimeZone NullReferenceException
#167 Unable to add image to a word document header or footer using XWPF
#346 NullReferenceException when copying sheet in some Excel files
#413 fix: Rich strings hash for texts with the color set as RGB
#444 Update RANDBETWEEN
#158 NPOI Excel Merging Causing “Repaired Records”
#345 Excel unreadable content error after editing existing file
#358 Remove static locale state
#367 fix incorrect footnote handling
#372 NPOI requires GDI+ dependency even on sheet creation without using column auto-sizing
#281 InvalidOperationException on XSSFSheet.GetColumnStyle
#377 AutoSizeColumnTracker to Lazy, fix build errors
#339 improve performance of CreateRow for bigger excel sheets

Please,When will the next official version be released

@fu827707013 very soon. I'm trying to build since tonight. The release candidate will be ready in 2 days.

please let's know when it is ready in nuget.org

NPOI 2.5.2 released on nuget!  Please help test this nuget package. Thank you!

Hi Tony,
I tested the new version 2.5.2 and unfortunately, I got errors in running the following command in C#
Cell.SetCellFormula(string.Format("SUM(C{0}:C{1})", HeaderRowOffset + 1, totalRow.RowNum - 2 + 1));
Cell.SetCellFormula("NOW()");
System.ArgumentNullException
HResult=0x80004003
Message=Value cannot be null. (Parameter 'stream')
Source=System.Private.CoreLib
StackTrace:
at System.IO.StreamReader..ctor(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean leaveOpen)
at System.IO.StreamReader..ctor(Stream stream)
at NPOI.SS.Formula.Function.FunctionMetadataReader.CreateRegistry()
at NPOI.SS.Formula.Function.FunctionMetadataRegistry.GetInstance()
at NPOI.SS.Formula.Function.FunctionMetadataRegistry.LookupIndexByName(String name)
at NPOI.SS.Formula.PTG.AbstractFunctionPtg.IsBuiltInFunctionName(String name)
at NPOI.SS.Formula.FormulaParser.Function(String name)
at NPOI.SS.Formula.FormulaParser.ParseNonRange(Int32 savePointer)
at NPOI.SS.Formula.FormulaParser.ParseRangeable()
at NPOI.SS.Formula.FormulaParser.ParseRangeExpression()
at NPOI.SS.Formula.FormulaParser.ParseSimpleFactor()
at NPOI.SS.Formula.FormulaParser.PercentFactor()
at NPOI.SS.Formula.FormulaParser.PowerFactor()
at NPOI.SS.Formula.FormulaParser.Term()
at NPOI.SS.Formula.FormulaParser.AdditiveExpression()
at NPOI.SS.Formula.FormulaParser.ConcatExpression()
at NPOI.SS.Formula.FormulaParser.ComparisonExpression()
at NPOI.SS.Formula.FormulaParser.IntersectionExpression()
at NPOI.SS.Formula.FormulaParser.UnionExpression()
at NPOI.SS.Formula.FormulaParser.Parse()
at NPOI.SS.Formula.FormulaParser.Parse(String formula, IFormulaParsingWorkbook workbook, FormulaType formulaType, Int32 sheetIndex, Int32 rowIndex)
at NPOI.XSSF.UserModel.XSSFCell.SetFormula(String formula, FormulaType formulaType)
at NPOI.XSSF.UserModel.XSSFCell.SetCellFormula(String formula)
at PacificLife.RSD.ClientServer.ExcelBatchMacroRunner.Macros.DataImportMacro.AddTotal(RowFactory rowFactory) in C:\Users\yguo\source\repos\TAX\Code\PacificLife.RSD.ClientServer.ExcelBatchMacroRunner\Macros\DataImportMacro.cs:line 153
at PacificLife.RSD.ClientServer.ExcelBatchMacroRunner.Macros.DataImportMacro.LoadFile(String dataFile) in C:\Users\yguo\source\repos\TAX\Code\PacificLife.RSD.ClientServer.ExcelBatchMacroRunner\Macros\DataImportMacro.cs:line 92
at PacificLife.RSD.ClientServer.ExcelBatchMacroRunner.Macros.DataImportMacro.Execute(String inputFile, String outputFile) in C:\Users\yguo\source\repos\TAX\Code\PacificLife.RSD.ClientServer.ExcelBatchMacroRunner\Macros\DataImportMacro.cs:line 59
at PacificLife.RSD.ClientServer.ExcelBatchMacroRunner.Program.Main(String[] args) in C:\Users\yguo\source\repos\TAX\Code\PacificLife.RSD.ClientServer.ExcelBatchMacroRunner\Program.cs:line 23
Thanks,
Daniel Guo

From: Tony Qu notifications@github.com
Sent: Saturday, December 5, 2020 1:25 PM
To: nissl-lab/npoi npoi@noreply.github.com
Cc: yafeiguo888 yfguo@hotmail.com; Comment comment@noreply.github.com
Subject: Re: [nissl-lab/npoi] NPOI 2.5.2 Release Notes (#465)
NPOI 2.5.2 released on nuget! Please help test this nuget package. Thank you!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnissl-lab%2Fnpoi%2Fissues%2F465%23issuecomment-739418146&data=04|01||5c964a1580a949b3fc1208d899644dd6|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637428003360252839|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=vrec6PeiFHAdEnh7rWB7qw7E%2Fm38lxII07FuzNnEVT0%3D&reserved=0, or unsubscribehttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAH7RXGUMDTAM5KN6JP2VGU3STKQM5ANCNFSM4UC7TLBQ&data=04|01||5c964a1580a949b3fc1208d899644dd6|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637428003360262835|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=CZPGtQMt6RV49G1X%2B3MbJc3KxT6IeycIWqmCuf8oCUo%3D&reserved=0.

@yafeiguo888 which environment are you in? windows or linux? I didn't see error of SetFormula

@yafeiguo888 I did test SetFormula. It works fine on my box. Please create new issue for your case. This issue will be closed.

#373 add and fix？nuget 2.5.2 Run.AddPicture()  still unfix

Hi Tonyqus,
I still the same problem that @wangafei told to you.
I can add an image in the header OR in the body (content) of the document, however when I try to put the same image in the header AND in the body of the document, it displays the error.
Look a litle bit of the code:
uint numImage=0;
foreach (var p in list_XWPFParagraph)
{
var runs = p.Runs;
foreach (var run in runs)
{
using (FileStream picData = new FileStream(@"C:\Images\myImage.jpg", FileMode.Open, FileAccess.Read))
{
numImage++;
run.AddPicture(picData, (int)PictureType.JPEG, $"{tag.Tag + numImage}", largura, altura);
var docPr = ((NPOI.OpenXmlFormats.Dml.WordProcessing.CT_Drawing)run.GetCTR().Items[run.GetCTR().Items.Count - 1]).inline[0].docPr;
docPr.id = numImage;
}
}
}

Hi Tonyqus,
I still the same problem that @wangafei told to you.
I can add an image in the header OR in the body (content) of the document, however when I try to put the same image in the header AND in the body of the document, it displays the error.
Look a litle bit of the code:
uint numImage = 0;                             foreach (var p in list_XWPFParagraph)                             {                                 var runs = p.Runs;                                 foreach (var run in runs)                                 {                                     using (FileStream picData = new FileStream(@"C:\Images\myImage.jpg", FileMode.Open, FileAccess.Read))                                     {                                         numImage++;                                         run.AddPicture(picData, (int)PictureType.JPEG, $"{tag.Tag + numImage}", largura, altura);                                         var docPr = ((NPOI.OpenXmlFormats.Dml.WordProcessing.CT_Drawing)run.GetCTR().Items[run.GetCTR().Items.Count - 1]).inline[0].docPr;                                         docPr.id = numImage;                                     }                                 }                             }

Hi Tonyqus,
I still the same problem that @wangafei told to you.
I can add an image in the header OR in the body (content) of the document, however when I try to put the same image in the header AND in the body of the document, it displays the error.
Look a litle bit of the code:

`
                        uint numImage = 0;

                        foreach (var p in list_XWPFParagraph)
                        {
                            var runs = p.Runs;
                            foreach (var run in runs)
                            {
                                using (FileStream picData = new FileStream(@"C:\Images\myImage.jpg", FileMode.Open, FileAccess.Read))
                                {
                                    numImage++;
                                    run.AddPicture(picData, (int)PictureType.JPEG, $"{tag.Tag + numImage}", largura, altura);
                                    var docPr = ((NPOI.OpenXmlFormats.Dml.WordProcessing.CT_Drawing)run.GetCTR().Items[run.GetCTR().Items.Count - 1]).inline[0].docPr;
                                    docPr.id = numImage;
                                }
                            }
                        }

`

repo: nissl-lab/npoi


text:
Revert "Enable udev by default (it can be useful when using usbip)"

Reverts nix-community/NixOS-WSL#225
Going to revert this because it draws in firmware which is 300MB big and cannot easily be disabled.

Totally fair, I wonder what I did wrong when I compared sizes in the tarball

We could do
  hardware.firmware = mkOverride 60 [ ];

but I guess usbip will need the firmware files

Also reversing that is in question much harder than just reenabling udev.

authors: KoviRobi SuperSandro2000 nzbr

repo: nix-community/NixOS-WSL


text:
added type method for mqtt_proxy.rb

adding this type method that runs type_id fixes the matt proxy for my mqtt server .
fixes error message - ERROR -- : undefined method `type' for #MQTT::Packet::Connect:0x007f9d3a9b0dc8
Did you mean?  type_id

Sorry I already fixed this in 85a802c4cb0e812de8fa86e0bbbd68948cd0dff7

authors: amias-channer njh

repo: njh/ruby-mqtt


text:
Error while running helper function

I am getting follwoing error when used with bluebird. Please help.
Debug: internal, implementation, error
Error: Missing helper: "message"
at Object. (/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js:19:13)
at Object.eval [as main] (eval at createFunctionContext (/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:254:23), :6:117)
at main (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:175:32)
at Object.ret (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:178:12)
at Object.ret [as views/components/sidebar/my] (/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:526:21)
at Object.invokePartialWrapper [as invokePartial] (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:72:46)
at eval (eval at createFunctionContext (/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:254:23), :5:31)
at Object.prog [as fn] (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:221:12)
at Object. (/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js:19:22)
at Object.eval [as main] (eval at createFunctionContext (/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:254:23), :11:32)
at main (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:175:32)
at Object.ret (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:178:12)
at Object.ret [as views/type/appformtagpage] (/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:526:21)
at Object.invokePartialWrapper [as invokePartial] (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:72:46)
at eval (eval at createFunctionContext (/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:254:23), :5:31)
at Object.prog [as fn] (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:221:12)
at Object. (/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js:19:22)
at Object.eval [as main] (eval at createFunctionContext (/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:254:23), :5:35)
at main (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:175:32)
at ret (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:178:12)
at ret (/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:526:21)
at Object.renderer (/node_modules/vision/lib/manager.js:141:36)

Could you share the code how you register the message helper?

Sure, here is the code ....
const promisedHandlebars = require('promised-handlebars');
const pHandlebars             = promisedHandlebars(require('handlebars'), { Promise: require('bluebird') });

pHandlebars.registerHelper('message', function(id) {
  MessageModel.findOne({_id: id}), function (err, obj) {
   return obj.subject;
  })
})
Following are npm versions
"bluebird": "^3.5.0",
"promised-handlebars": "^2.0.1",

looks ok, are you sure you are using the same pHandlebars when rendering stuff? Is it all in the same file? I suspect you might be registering the helper somewhere and then using another instance of it.

All are in the same file. I am struggling to make it for couple of days now. I have about 50 other regular helpers in the same file and all expect this promised helper work fine. I am using it with Node 8.4.0 and HAPI 16.5.1

I think you are mixing promises and callbacks. The helper must return a promise, but yours is only returning value from within the callback.
Try the "pify" package or use "new Promise(...)" As return value.

Not sure if this is really the cause of the problem though.

I get the same error when I return a string instead of resultset.

did you fix it?

Not yet. Was distracted by other issues.  Will get some time today to debug the problem today.

authors: Gottwik nknapp unagi2020

repo: nknapp/promised-handlebars


text:
wifi.connectAP hangs when invalid password is sent

I am testing connectAP with invalid passwords. The relevant part of the code is:
ESP_LOGI(TAG, "calling connectAP");
wifi_t.connectAP(ssid, password, true);
ESP_LOGI(TAG, "returned from connectAP");
The second msg is never printed. I have a wifieventhandler defined and it catches esp_err_t staDisconnected() event.
Also tried wifi_t.connectAP(ssid, password);
but that didn't change anything since it looks like you did not implement waitForConnection logic

Ouch ... that's ugly.   Sincere apologies for that.  A fix for this is now number 1 on my list.

Phew ... thankfully that seemed easy.  I didn't test but it compiles cleanly and my "thinking" says it should now work.  Can you pull and test for me?

worked for me. thanks


text:
Update WifiEventHandler and support Ethernet interface

Hey!
I have updated the WifiEventHandler Class. Now all idf-supported events are included, als well as the ethernet events. To support also the ethternet interface, i wrote a suitable class. This is totaly not a final and good looking peace of code, but it works so faw.
By adding the etheret events to the "WiFiEventHandler" I relaced, that the name WifiEvent is not longer the best choise.. Maybe, it's better to change that to NetworkEventHandler. ;)
In the attachments are my current Ethernet class, als well as the new, updated NetworkEventHandler class.
What do you think, makes this sense?
NetworkEventHandler.zip

Hi,
I am using esp32 gateway.
I want use ethernet and wifi both simaltaneously.
is it possible??
if yes, then how it can be use?

I think it's great to have both, Ethernet and WiFi connectivity.

authors: burkulesomesh43 mseerig pinki


text:
GNOME - Add button to show/hide groups

Making groups list scrollable creates some UI problems that are not easy to fix, so instead I added show/hide button as was suggested by @brunnogama. Closes #140

LGTM! What do you think about adding an option to the configuration, similar to SortFirstToLast, that remembers whether the user has the groups hidden or not?

If a user has only one account, ability to remember groups visibility is useful. But if a user has multiple accounts and want to hide groups only in some of them, remembering groups visibility would be irritating. So we either keep it as it is, or add an option in settings to let users enable remembering groups visibility (and it will be disabled by default).

repo: nlogozzo/NickvisionMoney


text:
GNOME - Use Gtk.FileDialog for GTK 4.9+

Hello a ton of marshalling, long time no see 😄
The problem
When running with GTK 4.9+, Gtk.FileChooserNative becomes unusable (missing labels and icons - screenshot - trying to blindly open a file crashes the app).
I'm not entirely sure what causes the problem, but I guess it's somehow related to gir.core because I didn't find any other app other than Denaro and TC that has this bug. But I think gir.core devs have more important stuff than fixing deprecated things, so I didn't report it.
Temporary solution
Gtk.FileChooserNative and Gtk.FileChooserDialog are deprecated in favor of Gtk.FileDialog added in GTK 4.9.1. In this PR Denaro uses this new widget when running with supported GTK version.
I tested this PR in Fedora 37 (GTK 4.8.3), Fedora 38 Beta (GTK 4.9) and in Arch distrobox (GTK 4.10).
Long-term solution
When GNOME 44 Platform runtime will be released with GTK 4.10 I suggest to use it and completely remove Gtk.FileChooserNative. This will make 4.10 minimum required version of GTK, but I think people who use distros with old libraries should use Flatpak anyway, so this will not be a problem. And when gir.core will support GTK 4.10 we'll get rid of marshalling.
Because the code will be changed, I don't think we should copy everything to Application now. But after accepting this PR I will open a new PR for TC.
A new small issue
Gtk.FileDialog when used to open a file has a checkbox to open a file in read-only mode that can't be hidden. This doesn't break Denaro, because we only use resulting Gio.File to get the path and then Denaro opens the file read-write anyway. But this can be misleading for users, so maybe we should consider adding read-only mode to Denaro in the future.

Will test tonight when I get home on WSL, make sure it's ok then merge :)

Will test tonight when I get home on WSL

LGTM. If you could just test the latest commits to see if that opening file on startup is fixed.

https://github.com/nlogozzo/NickvisionMoney/releases/tag/2023.3.0-beta1

authors: fsobolev nlogozzo


text:
docs.rs build is currently broken due to cmake version

The cmake version available in the docs.rs build-env is too old, installing a newer version would require a distro upgrade to ubuntu 22.04. From the build logs:
[INFO] [stderr]
[INFO] [stderr]   --- stderr
[INFO] [stderr]   CMake Error at CMakeLists.txt:15 (cmake_minimum_required):
[INFO] [stderr]     CMake 3.20 or higher is required.  You are running version 3.16.3
[INFO] [stderr]

Related upstream issue: https://github.com/rust-lang/crates-build-env/issues/84

This should be resolved when a #47 is released.

h3ron 0.15.1 has been pushed to crates.io and the docs are being build again: https://docs.rs/h3ron/latest/h3ron/
There are no new releases for h3ron-graph and h3ron-ndarray yet, so the docs of these two will remain broken for a while.


text:
Documentation

Types

Overall API documentation
Inline code documentation

Documentation generator
Ideally a documentation generator like used in Backbone Annotated source code documentation might be used. This is generated using docco.

Hey @AaronNGray thanks for your suggestion. Just to have an estimate of the urgency of this: how do you feel about the current documentation? How is it lacking? https://github.com/nmaro/ooth/wiki

Hi Nick, yeah I have had a quick look, I also tried building your code on Windows and Linux an had npm install problems so have to been able to evaluate it properly as of yet. I will try on Mac hopefully within the next few days as I am also very busy :)

The documentation is now prettier :) https://nmaro.github.io/ooth/
I still keep this open for generated docs...

The documentation looks a lot better.
One thing though is Ooth OAuth/OAuth2 compatible as it does not mention this at all in the documentation ?

Talking about documentation, do you have a way to customize the password validation for ooth-local?

Ok thanks. Another question related to ooth-local. Calling register set the email and the password, but not the username? Is that intended? Am I supposed to also call set-username after to actually set a username so a user can login with it?

@MickaelBZH correct. If you are motivated, the feature you are mentioning could be implemented by copying some logic from  set-username to register.

authors: AaronNGray MickaelBZH nmaro

repo: nmaro/ooth


text:
Application Exception: Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

This is an issue created automatically by GrammarNazi when an exception was captured.
Date (UTC): 11/10/2022 02:36:27
Exception:
Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
---> System.ComponentModel.Win32Exception (258): Unknown error 258
at Microsoft.Data.SqlClient.SqlCommand.<>c.b__188_0(Task1 result)    at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)    at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func4 operation, Func4 verifySucceeded, CancellationToken cancellationToken)    at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable1 source, CancellationToken cancellationToken)    at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable1 source, CancellationToken cancellationToken)
at GrammarNazi.Core.Repositories.EFRepository1.GetAll(Expression1 filter) in /src/GrammarNazi.Core/Repositories/EFRepository.cs:line 43
at GrammarNazi.App.HostedServices.BaseTwitterHostedService.PublishScheduledTweets() in /src/GrammarNazi.App/HostedServices/Twitter/BaseTwitterHostedService.cs:line 57
at GrammarNazi.App.HostedServices.TwitterBotMentionHostedService.ExecuteAsync(CancellationToken stoppingToken) in /src/GrammarNazi.App/HostedServices/Twitter/TwitterBotMentionHostedService.cs:line 142
ClientConnectionId:a0f8c357-36aa-4ce4-be8e-b0358e830225
Error Number:-2,State:0,Class:11
Exception caught counter: 1.

This seems to be an open issue with SqlClient https://github.com/dotnet/SqlClient/issues/1530
I'll just close this issue since it doesn't seem to happen very often.

It's happening. I am getting the same problem everyday. I am using docker in redhat server. .net 6. Still i am struggling with this.

@bddotbd Hi, they have an open issue in https://github.com/dotnet/SqlClient/issues/1530

Issue still happening #562

authors: bddotbd nminaya

repo: nminaya/grammar-nazi-bot


text:
feat(spinner): add spinner and details information when error happens

"closes #9"
What does this MR do?
add spinner and details information when error happens
Are there points in the code the reviewer needs to double check?
Nope
Why was this MR needed?
for making it more elegant

:tada: This PR is included in version 1.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: nmrony/hlsdownloader-cli


text:
metadata: Use helper to determine iface state

Use a function helper to determine if the interface state destine its
removal.
Depends on #764

Coverage increased (+0.1%) to 66.019% when pulling 7aee0c21ba502b96bd6d54e204c1a97d8d1e9b14 on EdDev:metadata-state-helper into 7b0f97dc461407e1565323e66e8d55f6e359ed2d on nmstate:master.

Coverage increased (+0.1%) to 66.019% when pulling 7aee0c21ba502b96bd6d54e204c1a97d8d1e9b14 on EdDev:metadata-state-helper into 7b0f97dc461407e1565323e66e8d55f6e359ed2d on nmstate:master.

authors: EdDev coveralls

repo: nmstate/nmstate


text:
Particle Identifier

Particle Identifier is not always are particle property, leading to errors f.e. when opening a h5 file instead of a lammps dump. Can be fixed f.e. by using the compute property modifier to set "Particle Identifier" to ParticleIndex+1.

Thanks for the suggested workaround. Starting from version 2023.1 (bcc669f) the overlay will automatically use particle indices if no particle identifiers are present in the data collection. Note, this release requires the upcoming OVITO Pro 3.9.3.


text:
MISSING "ACCEPT" at dashboard.tizen.org

The nntrainer submit-request, submit/tizen/20200911.081348, is missing "accept".
If this intentional?
Did you simply for to add?
or you you need my reaction? (need to tell me)
You are missing Tizen 6.0 M2 RC2.

:octocat: cibot: Thank you for posting issue #536. The person in charge will reply soon.

@myungjoo  It's accepted.

authors: jijoongmoon myungjoo taos-ci

repo: nnstreamer/nntrainer


text:
[Fix/Optimizer] Fix decay_rate application

There was a bug that decay_rate were always applied when it is set to
default value. Becuase decay_steps != -1 was evaluated to true.
This patch fixes the issue.
Self evaluation:

Build test: [X]Passed [ ]Failed [ ]Skipped
Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee jhoon.it.lee@samsung.com

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #674. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

decay_steps should be made integer as it counts the number of steps which can't be float.
Please update decay_steps to unsigned int type to resolve this issue than this hot fix.
Also, add a check that decay_step must be positive, (decay_step of 0 is also an error)

Fixed. Thank you for the suggestion :)

authors: taos-ci zhoonit


text:
Updated configuraiton file of gbs for Tizen

This commit is to update a configuraiton file of gbs
for Tizen software platform.
Signed-off-by: Geunsik Lim leemgs@gmail.com

[Template] PR Description
In general, github system automatically copies your commit message for your convenience.
Please remove unused part of the template after writing your own PR description with this template.
$ git commit -s filename1 filename2 ... [enter]

Summarize changes in around 50 characters or less

More detailed explanatory text, if necessary. Wrap it to about 72
characters or so. In some contexts, the first line is treated as the
subject of the commit and the rest of the text as the body. The
blank line separating the summary from the body is critical;
various tools like `log`, `shortlog` and `rebase` can get confused
if you run the two together.

Further paragraphs come after blank lines.

**Changes proposed in this PR:**
- Bullet points are okay, too
- Typically a hyphen or asterisk is used for the bullet, preceded
  by a single space, with blank lines in between, but conventions vary here.

Resolves: #123
See also: #456, #789

**Self evaluation:**
1. Build test: [ ]Passed [ ]Failed [*]Skipped
2. Run test: [ ]Passed [ ]Failed [* ]Skipped

**How to evaluate:**
1. Describe how to evaluate in order to be reproduced by reviewer(s).

Add signed-off message automatically by running **$git commit -s ...** command.

$ git push origin <your_branch_name>

:memo: Version: 1.20180820. Thank you for submitting PR #225. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://invain.mooo.com/.

We generate a report if there are dangerous coding constructs in your code. Please read http://invain.mooo.com/TAOS-CI/ci/repo-workers/pr-format/201809071106220.51944303512573-225-8481c9cf52e211b09a0b57060eb9c60430d88a9b/report/.

Info: You can read if there are misspelled characters at our misspelling check report. Please read http://invain.mooo.com/TAOS-CI/ci/repo-workers/pr-format/201809071106220.51944303512573-225-8481c9cf52e211b09a0b57060eb9c60430d88a9b/report/.

authors: leemgs taos-ci

repo: nnsuite/TAOS-CI


text:
Inside E2EE: Draft

This PR adds a new author file and the first draft of a new post called "Inside E2EE". The post has not been fact checked and proofread yet!

I've updated the way content collections works. Now you don't have to import components using:
import Note from "../../components/Note.astro"
import Warning from "../../components/Warning.astro"

You can just use them directly.
You also have to move your post to posts/tech/psa/ after rebasing.

repo: noClaps/blog


text:
Anyway to show only the one button instead of a menu?

the title says everything

Don't add any buttons inside . Specify ng-click event for the component ( ) and don't forget to add the following to CSS otherwise you will see wrapping  element during the click.
.mfb-component--br {
outline: 0px solid transparent;
}

Hi,
And about the animation icon when clicked? Any suggestions?
Thank you!

repo: nobitagit/ng-material-floating-button


text:
🛑 Rur is down

In 5853786, Rur (https://www.rur.rs) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Rur is back up in 8d0def4 after 17 minutes.

repo: nocturo/status


text:
torch.aten.reflection_pad1d

Support torch.aten.reflection_pad1d in torch MLIR

I am working on the torch.aten.reflection_pad2d operator and it is essentially done, but I won't be able to finish the PR before Christmas. I am not sure if it is worth to do a separate implementation of the 1d operator, i.e. it should be possible to reuse and simplify the 2d implementation.

@kumardeepakamd / @frederik-h can you coordinate?

@kumardeepakamd / @frederik-h can you coordinate?

@kumardeepakamd I have created a draft PR for the 2d operator: https://github.com/llvm/torch-mlir/pull/2693. I think the 1d operator is just a special case, i.e. it should probably be converted to the 2d operator, but it will still require separate testing etc.

[AMD Official Use Only - General]
I am thinking I still take care of pad1d and will make use of pad2d work by @frederikhttps://github.com/frederik-h. Is that okay?
Sent from my T-Mobile 5G Device
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Frederik Harwath @.>
Sent: Friday, December 22, 2023 6:46:25 AM
To: nod-ai/SHARK-Turbine @.>
Cc: Deepak, Kumar @.>; Mention @.>
Subject: Re: [nod-ai/SHARK-Turbine] torch.aten.reflection_pad1d (Issue #293)
Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
@kumardeepakamdhttps://github.com/kumardeepakamd / @frederik-hhttps://github.com/frederik-h can you coordinate?
@kumardeepakamdhttps://github.com/kumardeepakamd I have created a draft PR for the 2d operator: llvm/torch-mlir#2693https://github.com/llvm/torch-mlir/pull/2693. I think the 1d operator is just a special case, i.e. it should probably be converted to the 2d operator, but it will still require separate testing etc.
—
Reply to this email directly, view it on GitHubhttps://github.com/nod-ai/SHARK-Turbine/issues/293#issuecomment-1867771018, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5OMX3ZTRLLIZOYHUSPQBVTYKWMLVAVCNFSM6AAAAABA6WCOUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRXG43TCMBRHA.
You are receiving this because you were mentioned.Message ID: @.***>

@kumardeepakamd Is it ok to close this issue since https://github.com/llvm/torch-mlir/pull/2706 has been merged? Or is there anything else left to do?

repo: nod-ai/SHARK-Turbine


text:
Add to and tweak vulkan configuration environments.

Adds VK_KHR_shader_integer_dot_product (a vulkan extension exposing the SPIR-V extension SPV_KHR_integer_dot_product) for some compatible Vulkan environments which is included in core Vulkan 1.3, it can have the potential to improve (most commonly) int8 inferencing/training speeds and better performance as dot products may be more optimal and most importantly accelerated on capable hardware.
This does likely require some changes to the backend to see any full use out of if possible, and I may have written this commit in an erroneous way that may not properly define capabilities or create problematic issues across other architectures. (This commit defines it for Nvidia, AMD, and Intel GPUs, with no apparent compatibility issues at least for a reasonable time range of GPUs based off of GPUinfo.org data.)
(Edit: forgot to mention, explicitly turned off ShaderFloat16 on Nvidia Pascal, as it doesn't seem to support them.)

Thanks for the PR. Please run the black linter. Also we are moving to the vulkan env but the old way of doing it is still there (Here is an example https://github.com/openxla/iree/pull/12911/files ). Looks like it has been added but we have to verify it is enabled for the cards we care about here: https://github.com/openxla/iree/blob/main/compiler/src/iree/compiler/Dialect/Vulkan/Utils/TargetTriple.cpp

Thanks for the PR. Please run the black linter. Also we are moving to the vulkan env but the old way of doing it is still there (Here is an example https://github.com/openxla/iree/pull/12911/files ). Looks like it has been added but we have to verify it is enabled for the cards we care about here: https://github.com/openxla/iree/blob/main/compiler/src/iree/compiler/Dialect/Vulkan/Utils/TargetTriple.cpp

So I should black lint what I have, and adjust the configuration within the .cpp and other appropriate locations?

yes please. the lint commands are in https://github.com/nod-ai/SHARK/actions/runs/5128191414/jobs/9225128359?pr=1475
You may not have to adjust the cpp (just verify it matches the changes you are making).

authors: Foxlum powderluv

repo: nod-ai/SHARK


text:
Port zero-padding from mlir-aie

https://github.com/Xilinx/mlir-aie/pull/1613

@MaheshRavishankar @yzhang93 @newling what did we settle on today - this hipri or not?

This will have to wait until erwei lands because the dma_bd op needs to be updated to support the attr.

repo: nod-ai/iree-amd-aie


text:
Could not catch Premature close error

Reproduction
Steps to reproduce the behavior:
const fetch = require('node-fetch');

(async () => {
  try {
    await fetch()
  } catch (e) {
    console.log(e);
  }
})();

Expected behavior
try catch block should be able to catch fetch block and instead it throws outside of the block
C:\Users\Windows\test\node_modules\node-fetch\lib\index.js:400
                                reject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err));
                                       ^
FetchError: Invalid response body while trying to fetch https://<SOME_URL_HERE>: Premature close
    at Gunzip.<anonymous> (C:\Users\Windows\test\node_modules\node-fetch\lib\index.js:400:12)
    at Gunzip.emit (node:events:525:35)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'ERR_STREAM_PREMATURE_CLOSE',
  code: 'ERR_STREAM_PREMATURE_CLOSE'
}

Node.js v18.16.1

Screenshots

Your Environment

software
version

node-fetch
2.6.12

node
18.16.1

npm

Operating System

Additional context

Found that other library responsible for decoding response was the issue, closing

repo: node-fetch/node-fetch


text:
"request" call is not intercepted

I have tried to use "request" instead of "http". But  the call is not being intercepted by nock as below.
If I use http.get(), then nock works fine.
Does nock intercept only http.get calls? I can see request calls in unit test cases so that I think it should support.
Can you please let me know whether or not request calls are supported?
nock('http://myapp.iriscouch.com').persist()
    .get('/users/1')
    .reply(200, {
        _id: '123ABC',
        _rev: '946B7D1C',
        username: 'pgte',
        email: 'pedro.teixeira@gmail.com'
    });

request({
    uri:'http://myapp.iriscouch.com/users/1',
    method:'GET',
    headers: {
        'Content-Type': 'application/json'
    }
}
, function (error, response, body) {})

I thought I was having the same issue earlier today, it was working with http and request-promise but not request.  After some debugging I figured out it was me.  I was expecting an error to be printed to the console, which it won't if you don't check the error in the callback and console log it.  :-)
`
let nock = require("nock");
nock.disableNetConnect();
// let http = require("http");
// var req = http.get('http://google.com/');
// req.on('error', function(err){
//     console.log(err);
// });
// let rp = require("request-promise");
// rp('http://www.google.com')
//     .then(function (htmlString) {
//         console.log(htmlString);
//     })
//     .catch(function (err) {
//         console.log(err);
//     });
var request = require('request');
request('http://www.google.com', function (error, response, body) {
if (error) {
console.log(error);
}
if (!error && response.statusCode == 200) {
console.log(body);
}
})
`
Let me know if this is not the same issue for you.  Here are the versions I used:
"nock": "^9.0.2",
"request": "^2.79.0",
"request-promise": "^4.1.1"

Hi, guys! Nock works fine with the request, request-promise, and many other HTTP request library, as far as I understand. It overrides http.ClientRequest class inside node. Your example also works great both with request and with request-promise 😃
nock('http://myapp.iriscouch.com')
    .persist()
    .get('/users/1')
    .reply(200, {
      username: 'pgte',
      email: 'pedro.teixeira@gmail.com'
    })

request({
    uri:'http://myapp.iriscouch.com/users/1',
    method:'GET',
    headers: {
      'Content-Type': 'application/json'
    },
}, (error, response, body) => {
  console.log('request: ', body)
})

rp.get('http://myapp.iriscouch.com/users/1').then(res => console.log('rp: ', res))

// => request:  {"username":"pgte","email":"pedro.teixeira@gmail.com"}
// => rp:  {"username":"pgte","email":"pedro.teixeira@gmail.com"}

try link

Thanks for checking n30n0v 👍

repo: node-nock/nock


text:
Arch Arm Linux: "[warn] Cannot find Pi RPi.GPIO python library" with installed RPi.GPIO

Hello,
I use the following system:

Rasperry Pi 2
Node-RED version: v0.14.5
Node.js  version: v4.4.7
RPi.GPIO version: v0.6.2

At Raspbian (Linux 4.4.13-v7+ arm LE) everything is working fine. With Arch Linux (Linux 4.4.15-1-ARCH arm LE) everytime I start node-red i get:
[warn] Cannot find Pi RPi.GPIO python library
[warn] [rpi-gpio] Warning : Cannot find Pi RPi.GPIO python library

But RPi.GPIO is proper installed. I can use it in python and I also be able to call
$ node-red/nodes/core/hardware/nrgpio ver
0.6.2

A closer inspection of "node-red/nodes/core/hardware/36-rpi-gpio.js" shows this lines:
try {
    fs.statSync("/usr/share/doc/python-rpi.gpio");
} catch(err) {
    RED.log.warn(RED._("rpi-gpio.errors.libnotfound"));
    throw "Warning : "+RED._("rpi-gpio.errors.libnotfound");
}

At my Arch system I don't have the "/usr/share/doc/python-rpi.gpio" directory. If I create this dir, node-red is working without warnings, as aspected.
Perhaps there is a better way to check if RPi.GPIO is available.

Where did arch install that file to ?

Did you mean this?
>>> import RPi.GPIO as GPIO
>>> print(GPIO.__file__)
/usr/lib/python2.7/site-packages/RPi/GPIO/__init__.pyc

Actually I meant the doc/python-rpi.gpio dir

I don't know. Perhaps there is no documentation.

should be closed by 53ca3046b34d88210cea3a4b1aad52f3f505e47d

FYI I had the same issue on HypriotOS, had to manually create /usr/share/doc/python-rpi.gpio to get it to work.

can you report where it does install it ?
(same as Coolchip above..."Did you mean this...") Thanks

@dceejay It was found here:
/usr/lib/python2.7/dist-packages/RPi/GPIO

Whereas to make it work on my Raspberry Pi 2 running OSMC (4.4.27-9-osmc) I had to modify 36-rpi-gpio.js file and point the fs.statSync  to /usr/local/lib/python2.7/dist-packages/RPi/GPIO

authors: coolchip dceejay goliatone pokryva

repo: node-red/node-red


text:
Error while setting up Qode

npm ERR! Error while setting up Qode:  Error: Error while downloading Qode v2.1.0:https://github.com/nodegui/qode/releases/download/v2.1.0/qode-darwin-arm64-v2.1.0.tar.gz. Not Found
npm ERR!     at download (/Users/bastinald/Apps/svelte-nodegui-starter/node_modules/@nodegui/qode/src/downloader.js:33:11)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:94:5)
npm ERR!     at async setupQode (/Users/bastinald/Apps/svelte-nodegui-starter/node_modules/@nodegui/qode/src/setup.js:19:3)
npm ERR!     at async main (/Users/bastinald/Apps/svelte-nodegui-starter/node_modules/@nodegui/qode/install.js:7:5)

This should be filed on the @nodegui/qode repo, with steps to reproduce the problem, as it’s a subdependency of Svelte NodeGUI, not a part of Svelte NodeGUI itself.

authors: bastinald shirakaba

repo: nodegui/svelte-nodegui


text:
Task :nodejs-mobile-react-native:buildCMakeDebug[x86] FAILED

Hi. I followed all the steps in the documentation for Android Studio but at the end, I get this error:
`> Task :nodejs-mobile-react-native:buildCMakeDebug[x86] FAILED
C/C++: ninja: error: '../../../../libnode/bin/x86/libnode.so', needed by '../../../../build/intermediates/cxx/Debug/1518q515/obj/x86/libnodejs-mobile-react-native-native-lib.so', missing and no known rule to make it
Execution failed for task ':nodejs-mobile-react-native:buildCMakeDebug[x86]'.

Build command failed.
Error while executing process /home/user/Android/Sdk/cmake/3.18.1/bin/ninja with arguments {-C /home/user/Desktop/SampleNodeJs/node_modules/nodejs-mobile-react-native/android/.cxx/Debug/1518q515/x86 nodejs-mobile-react-native-native-lib}
ninja: Entering directory `/home/user/Desktop/SampleNodeJs/node_modules/nodejs-mobile-react-native/android/.cxx/Debug/1518q515/x86'

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Build command failed.
Error while executing process /home/user/Android/Sdk/cmake/3.18.1/bin/ninja with arguments {-C /home/user/Desktop/SampleNodeJs/node_modules/nodejs-mobile-react-native/android/.cxx/Debug/1518q515/x86 nodejs-mobile-react-native-native-lib}
ninja: Entering directory `/home/user/Desktop/SampleNodeJs/node_modules/nodejs-mobile-react-native/android/.cxx/Debug/1518q515/x86'
ninja: error: '../../../../libnode/bin/x86/libnode.so', needed by '../../../../build/intermediates/cxx/Debug/1518q515/obj/x86/libnodejs-mobile-react-native-native-lib.so', missing and no known rule to make it`

package.json:
{   "name": "SampleNodeJs",   "version": "0.0.1",   "private": true,   "scripts": {     "android": "react-native run-android",     "ios": "react-native run-ios",     "start": "react-native start",     "test": "jest",     "lint": "eslint ."   },   "dependencies": {     "nodejs-mobile-react-native": "^16.17.0",     "react": "18.0.0",     "react-native": "0.69.8"   },   "devDependencies": {     "@babel/core": "^7.12.9",     "@babel/runtime": "^7.12.5",     "@react-native-community/eslint-config": "^2.0.0",     "babel-jest": "^26.6.3",     "eslint": "^7.32.0",     "jest": "^26.6.3",     "metro-react-native-babel-preset": "^0.70.3",     "react-test-renderer": "18.0.0"   },   "jest": {     "preset": "react-native"   } }

[Y]  Ubuntu 22.04 LTS
[Y]  Android Studio Dolphin | 2021.3.1 Patch 1

Task :nodejs-mobile-react-native:buildCMakeDebug[x86] FAILED
C/C++: ninja: error: '../../../../libnode/bin/x86/libnode.so'
"nodejs-mobile-react-native": "^16.17.0"

Notice x86 and nodejs-mobile-react-native 16.17.0. This version of nodejs-mobile doesn't support x86, only x86_64: https://github.com/nodejs-mobile/nodejs-mobile/releases
That's because I had difficulties compiling the new version for x86, so I decided to just drop support for it since it seems to me that x86 Android devices are very rare. Can you double check whether you strictly need it, and if not, then disable building for x86?

Task :nodejs-mobile-react-native:buildCMakeDebug[x86] FAILED
C/C++: ninja: error: '../../../../libnode/bin/x86/libnode.so'
"nodejs-mobile-react-native": "^16.17.0"

Notice x86 and nodejs-mobile-react-native 16.17.0. This version of nodejs-mobile doesn't support x86, only x86_64: https://github.com/nodejs-mobile/nodejs-mobile/releases/tag/nodejs-mobile-v16.17.0
That's because I had difficulties compiling the new version for x86, so I decided to just drop support for it since it seems to me that x86 Android devices are very rare. Can you double check whether you strictly need it, and if not, then disable building for x86?

thanks for reply,
May I ask how to disable building for x86?

I ran into this too, and downgrading to 0.8.2 worked well for my needs.
@staltz since React Native builds x86 by default, maybe it would be worth adding a note to the readme so people know they should disable it when using this package? In my case, I only noticed when doing my final play store build (since there's no reason for me to build x86 otherwise), and I didn't find the info in this issue until I already knew how to fix it.
Thanks for maintaining this package, by the way!

try disable abiFilter x86 in build.gradle of ./node_modules/nodejs-mobile-react-native

When removing x86 from my abiFilter, the compiler is still using x86 ....... do you have any idea?

@Sailoshi
На свежайшей версии RN ( 71 ) мне помогло следующее:
android->app->build.gradle
В конец defautlConfig дописать
ndk {
    abiFilters reactNativeArchitectures()
}

На более старых, у которых не определён метод reactNativeArchitectures:
ndk {
    abiFilters "armeabi-v7a", "x86_64", "arm64-v8a"
}

Разумеется, перед этим убрав все упоминания x86 из этого файла
Но почему даже для случаев когда сборка проекта не делается для x86, гениальный NDK пытается это делать пока явно не указать обратного - не совсем очевидно

I went down the rabbit hole and tried to understand what was happening here. Here's what I found:
This code in nodejs-mobile-react-native/android/build.gradle
        ndk {
            abiFilters = project(":app").android.defaultConfig.ndk.abiFilters
        }

Doesn't point to anything because the defaultConfig doesn't include an ndk.abiFiters property.
There is a configurable reactNativeArchitectures() private method which is used in splits.abi.include.
So there are a few options to solve the problem:

Add a ndk.abiFilters property in the android/app/build.gradle file.

android {
   (...)
    defaultConfig {
       (...)
        ndk {
            abiFilters (*reactNativeArchitectures())
        }
    }

Doing this makes project(":app").android.defaultConfig.ndk.abiFilters properly resolve and the build works. Note that this is very close to a troubleshooting step that's suggested here in the official docs for building with --active-arch-only. Unfortunately, this won't work with expo and expo prebuild unless you use a custom template which does seem like a reasonable option.

The other option is to add the abiFilters as a fallback in nodejs-mobile-react-native/android/build.gradle file, if project(":app").android.defaultConfig.ndk.abiFilters isn't set.

android {
    (...)
    defaultConfig {
       (...)
        externalNativeBuild {
          (...)
        }
        ndk {
           abiFilters = project(":app").android.defaultConfig.ndk.abiFilters ?: ["armeabi-v7a", "x86_64", "arm64-v8a"]
        }
    }

This is probably the most sustainable fix since it will prioritise the project level setting if it exists and default to the constant if not. It could probably be further improved on to throw an more user friendly error message if "x86" is set at the project level.
I'll submit a PR with this fix.

another option is if you can add the new arch in the default config in the build.gradle file directly.
defaultConfig {
applicationId "com.yourProject"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
ndk {
abiFilters (*reactNativeArchitectures())
}
}

authors: Sailoshi jelllyam jmatsushita makibibo mastersam92 msolomon staltz ubaidimranofficial


text:
Option to Drop support for Proxy-Connection

Currently, http-parser will always support the: Proxy-Connection header. This header is not standard, and not required for any real legitimate client:

https://jdebp.eu/FGA/web-proxy-connection-header.html
https://en.wikipedia.org/wiki/List_of_HTTP_header_fields

are two examples explaining this weird header.
As a result, everything built on top of http-parser implicitly has to support this unstandard header (which can lead to some bugs if you're not expecting this unstandard case to be handled see: https://github.com/envoyproxy/envoy/pull/6749 ),
It'd be great if we had a flag to turn off (or just didn't support at all) this header that isn't part of the standard.

cc @indutny (also, llhttp seems to handle Proxy-Connection in a similar way).

authors: PiotrSikora SecurityInsanity

repo: nodejs/http-parser


text:
size_t converter

can we please have a size_t converter?
size_t len = To<size_t>(info[1]).FromJust();

even if a size_t ends up being unsigned 64 bit ints on whatever platform and these are not supported in v8, couldn't NAN just do the cast for us? I mean it'd be real nice to have the size_t converter.

eh.. maybe that's too complicated a feature request.. especially when we can go:
size_t len = (size_t)To<int64_t>(info[1]).FromJust();

repo: nodejs/nan


text:
Weird and inexplicable crashes when using TypedArrayContents

I'm getting really weird crashes with v8 array buffers / typed arrays
Base:
size_t numEntries = 2 * TOTAL_NUM_BANDS;
size_t numBytes = sizeof(float) * numEntries;
v8::Local<v8::ArrayBuffer> dataBuffer = v8::ArrayBuffer::New(v8::Isolate::GetCurrent(), numBytes);
v8::Local<v8::Float32Array> dataArr = v8::Float32Array::New(minMaxDataBuffer, 0, numEntries);

works:
 auto dataPtr = static_cast<float*>(dataBuffer->GetContents().Data());

segfaults:
auto test = Nan::TypedArrayContents<float>(dataArr);

...but it doesn't segfault immediately, but rather a couple of seconds later, probably when some GC happens.
I don't even need to do anything with the pointer. It is enough to construct a (temporary) Nan::TypedArrayContents
I have digged through the nan_typedarray_contents.h header
once I comment out
data = static_cast<char*>(buffer->GetBackingStore()->Data()) + byte_offset;

there is no crash.
I tried to find out what this is, but now it's getting really weird:
auto dataPtr2 = static_cast<float*>(dataBuffer->GetBackingStore()->Data());
//auto dataPtr3 = static_cast<float*>(dataBuffer->GetBackingStore()->Data());

works.
Where as
auto dataPtr2 = static_cast<float*>(dataBuffer->GetBackingStore()->Data());
auto dataPtr3 = static_cast<float*>(dataBuffer->GetBackingStore()->Data());

(just the first call repeated)
segfaults immediately... I suppose this is a node bug?
I'm compiling against electron 8.0.0, node version should be 12.13.0
I'll try with a later node / electron version now

Based on auto dataPtr = static_cast<float*>(dataBuffer->GetContents().Data()); working and it not crashing when you comment out https://github.com/nodejs/nan/blob/main/nan_typedarray_contents.h#L37, I suspect that something is off in a mismatch between the version of V8 being linked against and the V8 headers.
https://github.com/nodejs/nan/blob/main/nan_typedarray_contents.h#L36-L40 identifies whether to dereference a class pointer or reference based on the V8 version indicated by the headers.

suspect that something is off in a mismatch between the version of V8 being linked against and the V8 headers.

If this is the case, my guess would be that this is a std::shared_ptr<> ABI mismatch (for the temporary std::shared_ptr<v8::BackingStore>). We’ve had problems with that on at least arm64 and Windows.

@robinchrist Can you maybe share the exact compiler version and flags used when building the addon?

Strange, I did get a compile time error with Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin19.6.0 when trying it.

bt
* thread #1, name = 'electron', stop reason = signal SIGILL: illegal instruction operand
  * frame #0: 0x000055d4a39df572 electron`v8::base::OS::Abort() at platform-posix.cc:457:5
    frame #1: 0x000055d4a39d9ad5 electron`::V8_Fatal() at logging.cc:167:3
    frame #2: 0x000055d4a39d96a5 electron`v8::base::(anonymous namespace)::DefaultDcheckHandler(char const*, int, char const*) at logging.cc:57:3
    frame #3: 0x000055d49fc07b20 electron`::Unregister() at backing-store.cc:662:5
    frame #4: 0x000055d49fc074a3 electron`::~BackingStore() at backing-store.cc:166:3
    frame #5: 0x000055d49f81dec7 electron`::__on_zero_shared() [inlined] operator() at memory:2378:5
    frame #6: 0x000055d49f81deba electron`::__on_zero_shared() at memory:3551:5
    frame #7: 0x00007f8a82b50fd5 addon.node`std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release(this=0x0000197ae65b07c0) at shared_ptr_base.h:155:6
    frame #8: 0x00007f8a82b50f8a addon.node`std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count(this=0x00007ffc5baea030) at shared_ptr_base.h:730:11
frame #9: 0x00007f8a82b50f59 addon.node`std::__shared_ptr<v8::BackingStore, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr(this=0x00007ffc5baea028) at shared_ptr_base.h:1169:31
    frame #10: 0x00007f8a82b50e25 addon.node`std::shared_ptr<v8::BackingStore>::~shared_ptr(this=0x00007ffc5baea028) at shared_ptr.h:103:11
    frame #11: 0x00007f8a82b50c83 addon.node`CVO::node::CalculateSync(info=0x00007ffc5baea0c8) at sync.cc:25:18
    frame #12: 0x00007f8a82b4fba9 addon.node`Nan::imp::FunctionCallbackWrapper(info=0x00007ffc5baea450) at nan_callbacks_12_inl.h:176:3
    frame #13: 0x000055d49f8878d7 electron`::Call() at api-arguments-inl.h:158:3
    frame #14: 0x000055d49f886094 electron`::HandleApiCallHelper<false>() at builtins-api.cc:111:36
    frame #15: 0x000055d49f884227 electron`::Builtin_Impl_HandleApiCall() at builtins-api.cc:141:5
    frame #16: 0x000055d49f883d0a electron`::Builtin_HandleApiCall() at builtins-api.cc:129:1
    frame #17: 0x000055d4a07e349f electron`Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit + 63
    frame #18: 0x000055d4a05c5bb5 electron`Builtins_InterpreterEntryTrampoline + 213
    frame #19: 0x000055d4a05bc65a electron`Builtins_JSEntryTrampoline + 90
    frame #20: 0x000055d4a05bc438 electron`Builtins_JSEntry + 120
    frame #21: 0x000055d49f9b1f4c electron`::Invoke() [inlined] Call at simulator.h:142:12
    frame #22: 0x000055d49f9b1f41 electron`::Invoke() at execution.cc:367:33
    frame #23: 0x000055d49f9b0d68 electron`::Call() at execution.cc:461:10
    frame #24: 0x000055d49f95ab80 electron`::Global() at debug-evaluate.cc:54:32
    frame #25: 0x000055d49f811286 electron`::EvaluateGlobal() at api.cc:10119:7
    frame #26: 0x000055d4a026ae09 electron`::evaluate() at v8-runtime-agent-impl.cc:288:24
    frame #27: 0x000055d4a02206b3 electron`::evaluate() at Runtime.cpp:2084:16
    frame #28: 0x000055d4a0201b28 electron`::__call_impl<std::__1::__function::__default_alloc_func<(lambda at gen/v8/src/inspector/protocol/Console.cpp:235:10), void (const v8_crdtp::Dispatchable &)>>() [inlined] operator() at Console.cpp:241:5
    frame #29: 0x000055d4a0201ab8 electron`::__call_impl<std::__1::__function::__default_alloc_func<(lambda at gen/v8/src/inspector/protocol/Console.cpp:235:10), void (const v8_crdtp::Dispatchable &)>>() [inlined] __invoke<(lambda at gen/v8/src/inspector/protocol/Console.cpp:235:10) &, const v8_crdtp::Dispatchable &> at type_traits:3529:1
    frame #30: 0x000055d4a0201ab8 electron`::__call_impl<std::__1::__function::__default_alloc_func<(lambda at gen/v8/src/inspector/protocol/Console.cpp:235:10), void (const v8_crdtp::Dispatchable &)>>() [inlined] __call<(lambda at gen/v8/src/inspector/protocol/Console.cpp:235:10) &, const v8_crdtp::Dispatchable &> at __functional_base:348:9
    frame #31: 0x000055d4a0201ab8 electron`::__call_impl<std::__1::__function::__default_alloc_func<(lambda at gen/v8/src/inspector/protocol/Console.cpp:235:10), void (const v8_crdtp::Dispatchable &)>>() [inlined] operator() at functional:1590:12
    frame #32: 0x000055d4a0201ab8 electron`::__call_impl<std::__1::__function::__default_alloc_func<(lambda at gen/v8/src/inspector/protocol/Console.cpp:235:10), void (const v8_crdtp::Dispatchable &)>>() at functional:2071:16
    frame #33: 0x000055d4a0293d83 electron`::Run() [inlined] operator() at functional:2203:16
    frame #34: 0x000055d4a0293d7d electron`::Run() [inlined] operator() at functional:2473:12
    frame #35: 0x000055d4a0293d7d electron`::Run() at dispatch.cc:501:3
    frame #36: 0x000055d4a0263ca2 electron`::dispatchProtocolMessage() at v8-inspector-session-impl.cc:378:39
    frame #37: 0x000055d4a470abb8 electron`::DispatchProtocolCommandImpl() at devtools_session.cc:223:18
    frame #38: 0x000055d49f6ae459 electron`::Accept() at devtools_agent.mojom-blink.cc:835:13
    frame #39: 0x000055d4a21124af electron`::HandleValidatedMessage() at interface_endpoint_client.cc:554:54
    frame #40: 0x000055d4a2118fcb electron`::Accept() at message_dispatcher.cc:41:19
    frame #41: 0x000055d4a2113c95 electron`::HandleIncomingMessage() at interface_endpoint_client.cc:356:22
    frame #42: 0x000055d4a2444f1f electron`::AcceptOnProxyThread() at ipc_mojo_bootstrap.cc:933:24
    frame #43: 0x000055d4a244193c electron`::RunOnce() [inlined] Invoke<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, mojo::Message> at bind_internal.h:489:12
    frame #44: 0x000055d4a2441913 electron`::RunOnce() [inlined] MakeItSo<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, mojo::Message> at bind_internal.h:623:12
    frame #45: 0x000055d4a2441913 electron`::RunOnce() [inlined] RunImpl<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), std::__1::tuple<scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, mojo::Message>, 0, 1> at bind_internal.h:696:12
    frame #46: 0x000055d4a24418c9 electron`::RunOnce() at bind_internal.h:665:12
    frame #47: 0x000055d4a1dd3842 electron`::RunTask() [inlined] Run at callback.h:98:12
    frame #48: 0x000055d4a1dd37e2 electron`::RunTask() at task_annotator.cc:142:33
    frame #49: 0x000055d4a1df0124 electron`::DoWorkImpl() at thread_controller_with_message_pump_impl.cc:324:23
    frame #50: 0x000055d4a1defdf2 electron`::DoWork() at thread_controller_with_message_pump_impl.cc:248:7
    frame #51: 0x000055d4a1d94064 electron`::Run() at message_pump_default.cc:39:55
    frame #52: 0x000055d4a1df08d7 electron`::Run() at thread_controller_with_message_pump_impl.cc:429:12
    frame #53: 0x000055d4a1db7d22 electron`::Run() at run_loop.cc:124:14
    frame #54: 0x000055d4a6340d65 electron`::RendererMain() at renderer_main.cc:226:16
    frame #55: 0x000055d4a0d5e9cb electron`::Run() at content_main_runner_impl.cc:882:10
    frame #56: 0x000055d4a3846df6 electron`::Main() at main.cc:454:29
    frame #57: 0x000055d49f622871 electron`content::ContentMain(content::ContentMainParams const&) at content_main.cc:19:10
    frame #58: 0x000055d49e51480f electron`main at electron_main.cc:231:10
    frame #59: 0x00007f8a87a8b0b3 libc.so.6`__libc_start_main + 243
    frame #60: 0x000055d49e51452a electron`_start + 42

I think this is related to what happens here : #892

Oh yeah, I forgot to follow up.
TL;DR
I'm almost certain that this is an ABI issue
Electron and Node are built against libc++ whereas the default on Linux is still libstdc++
Everything was fine until "now" (meaning the point when I upgraded electron and thus node). The native node API was very C-ish, so the ABI issue which was there all the time didn't matter.
But at some point, the node guys decided that it would be a clever thing to change the API and now pass a non-trivial object, aka shared_ptr across an ABI boundary.
Spoiler: It is not a good idea.
While I understand the reason (more intuitive and idiomatic code within node), it is a huge issue for everyone using the native node API.
They do offer an alternative, N-API, but it may be a whole lot of work to port your addon from native node API to N-API.
So for me, the only viable solution was to port the entire addon (more than 10k lines) to N-API / node-addon-api.
I am still a bit mad about that decision from the node devs, but I have successfully ported the addon to node-addon-api / N-API and everything is working fine.
My personal recommendation:
Stop using nan and switch to node-addon-api. There is not a single feature I am missing (and I use quite a lot).
node-addon-api / N-API avoids subtle ABI issues and inherently solves the context awareness issue.
**nan should be abandoned / archived, its use officially be discouraged and superseded by node-addon-api`

I am still a bit mad about that decision from the node devs

Not to deflect, but unfortunately we weren’t given a choice here – this came from V8/Chromium. They don’t prioritize situations like the Node.js one, where the V8 “embedder” doesn’t consist of a monolithic codebase and instead potentially includes sub-embedders like Electron and users who write addons against the V8 API.

Stop using nan and switch to node-addon-api

:+1: :+1: :+1:

Maybe this should be added to the "Known issues" section? And it would probably be good to place a warning at the very top
like
Please be aware that nan, as the name says, uses the native Node.js API
Due to the way Node.js (and Chromium) work, using nan or the native Node.js API may lead to a variety of issues, most importantly ABI issues which may crash the application when certain features are used.
This is especially important if you're planning to write an addon for Electron
Unless you're sure you want to go this way and know what you're doing, please consider using node-addon-api (based on the ABI stable Node-API / N-API) instead

Opinions on this?

Not to deflect, but unfortunately we weren’t given a choice here – this came from V8/Chromium. They don’t prioritize situations like the Node.js one, where the V8 “embedder” doesn’t consist of a monolithic codebase and instead potentially includes sub-embedders like Electron and users who write addons against the V8 API.

Well, in that case I'm mad at the Chromium / V8 devs now :)

This is for sure a previously unknown issue and should be noted among the known issues. NAN, being a header-only library, has never promised a stable ABI. node-addon-api was created in order to provide a stable ABI.
On November 23, 2021 12:55:09 PM GMT+02:00, Robin Christ @.***> wrote:

Maybe this should be added to the "Known issues" section? And it would probably be good to place a warning at the very top
like
Please be aware that nan, as the name says, uses the native Node.js API
Due to the way Node.js (and Chromium) work, using nan or the native Node.js API may lead to a variety of issues, most importantly ABI issues which may crash the application when certain features are used.
This is especially important if you're planning to write an addon for Electron
Unless you're sure you want to go this way and know what you're doing, please consider using node-addon-api (based on the ABI stable Node-API / N-API) instead

Opinions on this?

NAN, being a header-only library, has never promised a stable ABI.

Right – to be clear, there’s also nothing wrong with NAN here. It’s Node.js that does more or less promise to expose a stable ABI through its module version number, and fails to do so here.

authors: addaleax devyetii kkoopa robinchrist


text:
Mutable default arguments in Python code

https://github.com/nodejs/node-gyp/blob/f90ce122fe564be68368d0c0dec5dacd9e770233/gyp/pylib/gyp/common.py#L456 is wrong because https://docs.python-guide.org/writing/gotchas/#mutable-default-arguments

Pull requests are gladly reviewed.
Please look to see if there are any others by running ruff check --select=B006
Also, try ruff rule B006
https://docs.astral.sh/ruff/rules/mutable-argument-default

authors: artshipulin cclauss

repo: nodejs/node-gyp