No module named 'crcmod'

Hi,
Looks like got 0.65 too fast and now have error on add-on startup:
s6-rc: info: service legacy-services successfully started Traceback (most recent call last):   File "/app/main.py", line 13, in <module>     import bmslib.models.ant   File "/app/bmslib/models/ant.py", line 21, in <module>     import crcmod as crcmod ModuleNotFoundError: No module named 'crcmod' s6-rc: info: service legacy-services: stopping

Same here just upgrade and batmon stop working, same error. Config asked MQTT port, I put 1883 by IANA
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
22:22:20 INFO [install_bleak] bleak 0.13.1a1 installed, want 0.20.2, running pip3 install bleak==0.20.2
Collecting bleak==0.20.2
Downloading bleak-0.20.2-py3-none-any.whl (135 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 135.6/135.6 kB 2.5 MB/s eta 0:00:00
Collecting dbus-fast<2.0.0,>=1.83.0 (from bleak==0.20.2)
Downloading dbus_fast-1.92.0-cp311-cp311-musllinux_1_1_x86_64.whl (4.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.8/4.8 MB 6.3 MB/s eta 0:00:00
Installing collected packages: dbus-fast, bleak
Attempting uninstall: bleak
Found existing installation: bleak 0.13.1a1
Uninstalling bleak-0.13.1a1:
Successfully uninstalled bleak-0.13.1a1
Successfully installed bleak-0.20.2 dbus-fast-1.92.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Traceback (most recent call last):
File "/app/main.py", line 13, in
import bmslib.models.ant
File "/app/bmslib/models/ant.py", line 21, in
import crcmod as crcmod
ModuleNotFoundError: No module named 'crcmod'
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Same bug...
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
Traceback (most recent call last):
File "/app/main.py", line 13, in
import bmslib.models.ant
File "/app/bmslib/models/ant.py", line 21, in
import crcmod as crcmod
ModuleNotFoundError: No module named 'crcmod'
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

hi, i have the same crc import error, did you fix it?

I accidentally pushed an update. You can just downgrade to an earlier version

Stop working with update 0.6.5
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
Traceback (most recent call last):
  File "/app/main.py", line 13, in <module>
    import bmslib.models.ant
  File "/app/bmslib/models/ant.py", line 21, in <module>
    import crcmod as crcmod
ModuleNotFoundError: No module named 'crcmod'
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

any easy way to downgrade? Or a web with the steps to downgrade?

hi, i have the same crc import error, did you fix it?

Restore from automatic backup before update is ok for me.

hi, i have the same crc import error, did you fix it?

Restore from automatic backup before update is ok for me.

yeah, i fix it restoring automatic backup

I just pushed an update 0.0.66, can't test it because my HA is broken. Let me know if it works
@alejandropradocabrero  https://github.com/fl4p/batmon-ha/blob/master/doc/Downgrade.md

@fl4p
0.0.66 works.
Didn't start automatically, I have to specify mmqt  port (possible better default value). But after that started without issues.

Batmon 0.0.66 works.
no problem!

crcmod fixed with 0.0.66 but I found another problem, going to open a new issue.


Re-arrange react folders to accommodate for React Native

Problem solved
react

web
core
mobile

exports:

react-native (exports core + mobile)
react (exports core + web)

Changes made

[ ] Public API changes: list the public API changes made if any
[ ] Internal API changes: explain the internal logic changes

How to test

[ ] Automated tests: link to unit test file
[ ] Manual tests: step by step instructions on how to test

Contributor NFT
Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.
Address:

PR-Codex overview
This PR updates file paths and imports to improve organization and maintainability.
Detailed summary

Updated file paths for better organization
Refactored imports to maintain consistency
Reorganized file structure for clarity

The following files were skipped due to too many changes: packages/thirdweb/package.json, packages/thirdweb/src/react/wallets/local/persist/LocalWallet_Persist.tsx, packages/thirdweb/src/react/wallets/embedded/types.ts, packages/thirdweb/src/react/wallets/local/persist/create/LocalWallet_Persist_CreationFlow.tsx, packages/thirdweb/src/react/wallets/local/utils/useSavedLocalWalletDataQuery.ts, packages/thirdweb/src/react/wallets/shared/InjectedConnectUI.tsx, packages/thirdweb/src/react/ui/ConnectWallet/ConnectWalletProps.ts, packages/thirdweb/src/react/providers/thirdweb-provider-ctx.tsx, packages/thirdweb/src/react/ui/MediaRenderer/useResolvedMediaType.ts, packages/thirdweb/src/react/hooks/pay/useSwapStatus.ts, packages/thirdweb/src/react/types/wallets.ts, packages/thirdweb/src/react/hooks/others/useChainQuery.ts, packages/thirdweb/src/react/utils/createQuery.ts, packages/thirdweb/src/utils/fetch.ts, packages/thirdweb/src/react/wallets/local/localWalletConfig.tsx, packages/thirdweb/src/react/wallets/local/persist/connectToSaved/overrideConfirmation.tsx, packages/thirdweb/src/react/ui/ConnectWallet/Modal/ConnectModal.tsx, packages/thirdweb/src/react/providers/wallet-ui-states-provider.tsx, packages/thirdweb/src/react/core/storage.ts, packages/thirdweb/src/react/wallets/headlessConnectUI.tsx, packages/thirdweb/src/react/wallets/shared/InjectedAndWCConnectUI.tsx, packages/thirdweb/src/react/wallets/embedded/EmbeddedWalletFormUI.tsx, packages/thirdweb/src/react/hooks/contract/useEstimate.ts, packages/thirdweb/src/react/ui/components/ChainIcon.tsx, packages/thirdweb/src/react/ui/ConnectWallet/Modal/ConnectModalInline.tsx, packages/thirdweb/src/react/hooks/pay/useSendSwap.ts, packages/thirdweb/src/react/wallets/local/LocalWallet_NoPersist.tsx, packages/thirdweb/src/react/ui/ConnectWallet/Modal/ConnectEmbed.tsx, packages/thirdweb/src/react/wallets/zerion/zerionConfig.tsx, packages/thirdweb/src/react/ui/ConnectWallet/screens/ExportLocalWallet.tsx, packages/thirdweb/src/react/wallets/rainbow/rainbowConfig.tsx, packages/thirdweb/src/react/wallets/metamask/metamaskConfig.tsx, packages/thirdweb/src/react/ui/ConnectWallet/Modal/screen.tsx, packages/thirdweb/src/react/wallets/local/persist/connectToSaved/LocalWallet_ConnectToSavedFlow.tsx, packages/thirdweb/src/react/wallets/embedded/embeddedWalletConfig.tsx, packages/thirdweb/src/react/hooks/contract/useSend.ts, packages/thirdweb/src/react/wallets/embedded/EmbeddedWalletSocialLogin.tsx, packages/thirdweb/src/react/ui/ConnectWallet/NetworkSelector.tsx, packages/thirdweb/src/react/wallets/shared/GetStartedScreen.tsx, packages/thirdweb/src/react/hooks/contract/useContractEvents.ts, packages/thirdweb/src/react/hooks/rpc/useBlockNumber.ts, packages/thirdweb/src/react/hooks/connection/useAutoConnect.ts, packages/thirdweb/src/react/wallets/embedded/EmbeddedWalletOTPLoginUI.tsx, packages/thirdweb/src/react/ui/ConnectWallet/ConnectWallet.tsx, packages/thirdweb/src/react/ui/ConnectWallet/screens/ReceiveFunds.tsx, packages/thirdweb/src/react/ui/ConnectWallet/screens/SendFunds.tsx, packages/thirdweb/src/react/ui/TransactionButton/index.tsx, packages/thirdweb/src/react/wallets/local/persist/create/LocalWallet_Persist_Create.tsx, packages/thirdweb/src/react/wallets/smartWallet/smartWalletConfig.tsx, packages/thirdweb/src/react/wallets/local/persist/create/ImportLocalWallet.tsx, packages/thirdweb/src/react/ui/ConnectWallet/WalletSelector.tsx, packages/thirdweb/src/react/wallets/coinbase/coinbaseConfig.tsx, packages/thirdweb/src/storage/upload.ts, packages/thirdweb/src/react/ui/ConnectWallet/Modal/ConnectModalContent.tsx, packages/thirdweb/src/react/hooks/contract/useRead.ts, packages/thirdweb/src/react/wallets/shared/WalletConnectConnection.tsx, packages/thirdweb/src/react/wallets/local/persist/ExportSavedLocalWallet.tsx, packages/thirdweb/src/react/ui/hooks/useSendToken.ts, packages/thirdweb/src/react/wallets/local/persist/connectToSaved/LocalWallet_ConnectToSaved.tsx, packages/thirdweb/src/exports/react-native.ts, packages/thirdweb/src/storage/upload/helpers.ts, packages/thirdweb/src/react/wallets/smartWallet/SmartWalletConnectUI.tsx, packages/thirdweb/src/react/wallets/walletConnect/walletConnectConfig.tsx, packages/thirdweb/src/react/providers/wallet-provider.tsx, packages/thirdweb/src/react/ui/ConnectWallet/Details.tsx, packages/thirdweb/src/react/mobile/ui/locales/types.ts, packages/thirdweb/src/wallets/manager/index.ts, packages/thirdweb/src/react/mobile/ui/locales/ja.ts, packages/thirdweb/src/react/mobile/providers/thirdweb-provider.tsx, packages/thirdweb/src/react/web/providers/thirdweb-provider.tsx, packages/thirdweb/src/react/providers/thirdweb-provider.tsx, packages/thirdweb/src/react/mobile/ui/locales/en.ts, packages/thirdweb/src/react/mobile/ui/locales/tr.ts, packages/thirdweb/src/react/mobile/ui/locales/es.ts, packages/thirdweb/src/react/mobile/ui/locales/tl.ts, packages/thirdweb/src/exports/react.ts

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

./release-pr

/release-pr


Docker-compose scripts should allow changing default log level (from INFO to DEBUG)

The default logging level for Stargate V2 is INFO which is probably good for production (could even consider WARN if necessary to prevent extra noise), but for testing it would sometimes be useful to change that level; most likely to DEBUG.
I think there is probably Quarkus override to pass as ENV variable, and script should have another switch (cannot use -l as that means "use local version"?) for users to pass it.
We could also consider possible defaulting to DEBUG if that makes sense: current output for working set up is not super verbose.

Looks like default log level is set with

System property quarkus.log.level
Matching ENV variable QUARKUS_LOG_LEVEL

I have partial PR, #2143, if anyone has time to look at it.


Introduce typescript-generic-sdk plugin

Possible solution for #2415 which abstracts over concrete graphql client implementation

It would be awesome to have higher kinded types feature in typescript to abstract over wrapper type. For example apollo return result in some wrapper and with this generic implementation we forced to unwrap it in requester.

Very nice! I think the effort of having to create a wrapper for client is fine.
I'll review it soon :)
Thanks @akozhemiakin !

Thank you for the response and for the great project. I just pushed another commit which allows to pass options to the requester.
Also I really want to find a way to generalize output type. Maybe I'll give a try to fp-ts HKT or something like that. In Scala it would be painless, but Typescript, unfortunately doesn't have so much power it its type system yet.

Btw, here is the Apollo requester implementation created to be used with this plugin:
https://gist.github.com/akozhemiakin/731b0c1e99eb89b01f80f08f9146b6b6

Sorry for the delay, @akozhemiakin .
We are currently working on a library that could use that feature, so I'm reviewing and testing it now. I assume we can merge this very soon.

Merged, I also pushed a fix to align the version number in package.json.
Alpha will be available very soon.

Alpha version now available: 1.12.2-alpha-085fe906.18.

I can only find documentation for typescript-graphql-request. Does this mean there is no typescript-generic-sdk or as https://github.com/dotansimha/graphql-code-generator/issues/3458 sugguests there is just no documentation for it. I am looking to use it with Apollo Client.

@DrChrispoper First of all, take my excuses for not providing docs along with the original request, I'll try to schedule it.
Meanwhile, have you seen this gist?
https://gist.github.com/akozhemiakin/731b0c1e99eb89b01f80f08f9146b6b6
It is how we use typescript-generic-sdk with Apollo in our project.

Thanks for reaching out so fast, yeah I've seen it thanks! The docs would be great mainly to know that it exists hehe!


wait_for_robot() throws connection error despite having connected

Code:
import pycozmo
import time

pycozmo.setup_basic_logging(log_level="DEBUG", protocol_log_level="DEBUG")
cli = pycozmo.Client()
cli.start()
cli.connect()
cli.wait_for_robot()
cli.set_head_angle(angle=0.6)
time.sleep(2)
cli.set_head_angle(angle=0.2)

Error:
Traceback (most recent call last):
  File "test.py", line 8, in <module>
    cli.wait_for_robot()
  File "C:\path\venv\cozmo\lib\site-packages\pycozmo\client.py", line 157, in wait_for_robot
    raise exception.ConnectionTimeout("Failed to connect to Cozmo.")
pycozmo.exception.ConnectionTimeout: Failed to connect to Cozmo.

Debug logs: https://paste.mod.gg/udesumuxef.log

Note that client does connect successfully and hardware info, animation state, and image imu data events are all received

Dependencies:
Package     Version
----------- -------
cozmoclad   3.4.0
dpkt        1.9.2
flatbuffers 1.11
numpy       1.18.1
Pillow      7.0.0
pip         19.2.3
pycozmo     0.6.0

Network info (connected before running code):
SSID:	Cozmo_31ABCF
Protocol:	802.11g
Security type:	WPA2-Personal
Network band:	2.4 GHz
Network channel:	3
Link-local IPv6 address:	fe80::1954:c4de:83b3:5abb%4
IPv4 address:	<IP_ADDRESS>
IPv4 DNS servers:	<IP_ADDRESS>
Manufacturer:	Intel Corporation
Description:	Intel(R) Wireless-AC 9260 160MHz
Driver version:	<IP_ADDRESS>
Physical address (MAC):	18-1D-EA-F4-37-B0

I not understand the Workflow for connection.
The official SDK works fine, when i try your Lib i get the same error.
1.Cozmo is connected to Smartphone
2.Smartphone is connected via adp to Pc
3.SDK is enabled on Smartphone
Whats going wrong?


[CSBindings] Don't allow leading-dot base inference from Escapable pr…

…otocol
Similarly to Copyable, Escapable shouldn't have any members declared and
as a result shouldn't be considered for leading-dot base type inference.

Narrow fix for now, can consider expanding it to all marker protocols once the impact is considered.


SMA

Boundary conditions for Silver-Müller Absorbing (SMA) are required in order to give the next step in the availability of basic boundary conditions.
Silver-Müller Absorbing boundary conditions are based on the consideration that the fields outside the computational domain propagate as plane waves normal to the boundary interface.
The implementation of SMA as a boundary condition requires the implementation of the Upwind Flux in the model.

After the implementation of #14, coefficients have been added to the model which now allow for the use of SMA boundary conditions.

A minor fix has been added to the solver, which now does not allow the use of SMA boundary conditions if the chosen FluxType is Centered.


[TEST] migration

/help

/assign

/help

/help

I believe that the bot only monitors open issues for any commands.


FIX: Remove references to non-existing fonts

This was fixed in the most recent release (2.6). Thanks for notifying me!


[Request] Support for Abfallkalender Landkreis Göttingen (Niedersachsen)

Is it possible to add support for the Abfallkalender Landkreis Göttingen (Niedersachsen)?
https://www.abfallplus.de/fuer-buerger/ states "Kreis Göttingen wird unterstützt".
I tried to find out the parameters with the help of the proxy app "postman" and the recommended Android App from https://www.abfallplus.de/, but failed so far.

BTW: I filed the same request for the other HA integration at https://github.com/mampfes/hacs_waste_collection_schedule/issues/230 .
The method of how to extract seem to be outdated or not available. If I get any hint how to extract the needed parameters I (software engineer and Linux user) am more than willing to work on this. So far I could not get them from the traffic generated by the Android app though.

Unfortunately I never found a semi automatic way for getting the parameters.
I also attempted to reverse the Android app but without any luck (would be nice if you could figure that out 🤩)
For the parameters you must search for the Abfall Kalender of your municipality and extract the parameters from there using the developer tools of your browser:
https://www.landkreisgoettingen.de/themen-leistungen/abfall-entsorgung/abfallwirtschaft-goettingen/beratung-und-entsorgung/abfallkalender
Hope that helps!

The Landkreis Göttingen has two keys: One for its core (the city and towns around it) and another for the former Landkreis Osterode which got merged into the Landkreis Göttingen. The URL you provided would have been great to analyse the old core, but does not help me as I need the other key and parameters.
I used the program "Postman" which can act as a proxy. I could intercept the HTTP traffic and from what I got I failed to get the HTTPS traffic where the Android app communicates. The problem was likely that a certificate needs to be installed in order to use Postman 100%.
Which tools did you use?

It seems that "Landkreis Göttingen" is using Abfall.io, they are listet on their website:

But "Stadt Göttingen" GEB Göttingen / Göttinger Entsorgungsbetriebe don't!
They are not listed and their website does not feature the usual dropdown for area selection.
Where did you get th einfo that GEP is using Abfall.io?
I tried to decompile the Android App but it seems that is kind of ofuscated and I never took the time to analyze the traffic due to the lack of a setup taht allows me to inject a SSL cert in order to decrypt the HTTPS traffic ...
If we could get that traffic analyzed, that would be awesome but I fear that the underlaying requests are as fucked up as that what they use via the websites.
They use arbitrary IDs which to look like database indexes for the lookup of data.
I asked them a few years ago for API access and they declined. That smells like the do not have a real API and they put their service togehther from Stackoverflow copy & pastes 😆

You are right, there is no support by Abfall.io for the entire Landkreis! There was a misunderstanding on my side which is explained in the "long story".
As I live in the area of "Abfallwirtschaft Altkreis Osterode am Harz" I am interested to analyse the traffic by the app with postman. The main problem is likely the HTTPS certificate within postman.
Short story about the support(in case TL;DR):
Abfall.io supports only "Abfallwirtschaft Altkreis Osterode am Harz" (via app) and towns near Göttingen via a webpage. The city of Göttingen is not supported at all by Abfall.io.

Here the long story:
Proof of no support for the entire Landkreis:
The result of the "Verfügbarkeit prüfen" test on the webpage https://www.abfallplus.de/fuer-buerger/ gives a different impression on first glance. There you can check it whether an app is availabe for your Landkreis. After selecting "Niedersachen" and Göttingen one gets the feedback "Ergebnis: Kreis Göttingen wird unterstützt" plus buttons with links to the app store and google play. The google play link is https://play.google.com/store/apps/details?id=de.k4systems.lkgoettingen . After registering and removing my location I could only select "Abfallwirtschaft Altkreis Osterode am Harz" for the location of a new "Standort" which is not the same at all as promised on the "Verfügbarkeit prüfen" page.
Interface for towns near Göttingen:
https://www.landkreisgoettingen.de/themen-leistungen/abfall-entsorgung/abfallwirtschaft-goettingen/beratung-und-entsorgung/abfallkalender . This provides a webpage where one can select towns which are located in the Landkreis Göttingen but are not located in the area of Abfallwirtschaft Altkreis Osterode am Harz. The page connects to api.abfall.io and the key plus other parameters are visible in the network traffic.
The city of Göttingen
The city of Göttingen has got an UI at https://www.geb-goettingen.de/index.php?id=29 which is not supported by Abfall.io.

Thanks for your detailed feedback!
I currently work on a config flow that allows easy setup of this component.
At the moment It works by pasting the URL of the waste management website that shows the drop down but I think I'll go for a curated list of URLs that lets a user choose his Bundesland + city and from there gets the rest of the data via the API ...

Any news about this?

No, had no time to look into this any further. As always PRs are highly appreciated 😅


Always pass --root to setuptools install.

I believe this is the minimal change resolving #1060, which arises from the change made in #1048.
For the non-DESTDIR case:
$ cmake .. -DCMAKE_INSTALL_PREFIX=./install -DPYTHON_EXECUTABLE=/usr/bin/python3
$ make install
$ find install -name *.py -o -name *.pth
install/_setup_util.py
install/lib/python3/dist-packages/catkin/builder.py
install/lib/python3/dist-packages/catkin/terminal_color.py
install/lib/python3/dist-packages/catkin/package_version.py
install/lib/python3/dist-packages/catkin/environment_cache.py
install/lib/python3/dist-packages/catkin/__init__.py
install/lib/python3/dist-packages/catkin/test_results.py
install/lib/python3/dist-packages/catkin/workspace.py
install/lib/python3/dist-packages/catkin/init_workspace.py
install/lib/python3/dist-packages/catkin/cmake.py
install/lib/python3/dist-packages/catkin/find_in_workspaces.py
install/lib/python3/dist-packages/catkin/workspace_vcs.py
install/lib/python3/dist-packages/catkin/tidy_xml.py
install/share/catkin/cmake/parse_package_xml.py
install/share/catkin/cmake/order_paths.py
install/share/catkin/cmake/interrogate_setup_dot_py.py
install/share/catkin/cmake/test/download_checkmd5.py
install/share/catkin/cmake/test/remove_test_results.py
install/share/catkin/cmake/test/run_tests.py

For the DESTDIR case:
$ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/ros/banana -DPYTHON_EXECUTABLE=/usr/bin/python3
$ DESTDIR=$(pwd)/install make install
$ find install -name *.py -o -name *.pth
install/opt/ros/banana/_setup_util.py
install/opt/ros/banana/lib/python3/dist-packages/catkin/builder.py
install/opt/ros/banana/lib/python3/dist-packages/catkin/terminal_color.py
install/opt/ros/banana/lib/python3/dist-packages/catkin/package_version.py
install/opt/ros/banana/lib/python3/dist-packages/catkin/environment_cache.py
install/opt/ros/banana/lib/python3/dist-packages/catkin/__init__.py
install/opt/ros/banana/lib/python3/dist-packages/catkin/test_results.py
install/opt/ros/banana/lib/python3/dist-packages/catkin/workspace.py
install/opt/ros/banana/lib/python3/dist-packages/catkin/init_workspace.py
install/opt/ros/banana/lib/python3/dist-packages/catkin/cmake.py
install/opt/ros/banana/lib/python3/dist-packages/catkin/find_in_workspaces.py
install/opt/ros/banana/lib/python3/dist-packages/catkin/workspace_vcs.py
install/opt/ros/banana/lib/python3/dist-packages/catkin/tidy_xml.py
install/opt/ros/banana/share/catkin/cmake/parse_package_xml.py
install/opt/ros/banana/share/catkin/cmake/order_paths.py
install/opt/ros/banana/share/catkin/cmake/interrogate_setup_dot_py.py
install/opt/ros/banana/share/catkin/cmake/test/download_checkmd5.py
install/opt/ros/banana/share/catkin/cmake/test/remove_test_results.py
install/opt/ros/banana/share/catkin/cmake/test/run_tests.py

The non-DESTDIR case is what's currently broken in 0.8.0. It looks like this without the change proposed here— the shared easy-install.pth and site.py files are the core of the problem:
$ find install -name *.py -o -name *.pth
install/_setup_util.py
install/lib/python3/dist-packages/easy-install.pth
install/lib/python3/dist-packages/site.py
install/lib/python3/dist-packages/catkin-0.8.0-py3.5.egg/catkin/builder.py
install/lib/python3/dist-packages/catkin-0.8.0-py3.5.egg/catkin/terminal_color.py
install/lib/python3/dist-packages/catkin-0.8.0-py3.5.egg/catkin/package_version.py
install/lib/python3/dist-packages/catkin-0.8.0-py3.5.egg/catkin/environment_cache.py
install/lib/python3/dist-packages/catkin-0.8.0-py3.5.egg/catkin/__init__.py
install/lib/python3/dist-packages/catkin-0.8.0-py3.5.egg/catkin/test_results.py
install/lib/python3/dist-packages/catkin-0.8.0-py3.5.egg/catkin/workspace.py
install/lib/python3/dist-packages/catkin-0.8.0-py3.5.egg/catkin/init_workspace.py
install/lib/python3/dist-packages/catkin-0.8.0-py3.5.egg/catkin/cmake.py
install/lib/python3/dist-packages/catkin-0.8.0-py3.5.egg/catkin/find_in_workspaces.py
install/lib/python3/dist-packages/catkin-0.8.0-py3.5.egg/catkin/workspace_vcs.py
install/lib/python3/dist-packages/catkin-0.8.0-py3.5.egg/catkin/tidy_xml.py
install/share/catkin/cmake/parse_package_xml.py
install/share/catkin/cmake/order_paths.py
install/share/catkin/cmake/interrogate_setup_dot_py.py
install/share/catkin/cmake/test/download_checkmd5.py
install/share/catkin/cmake/test/remove_test_results.py
install/share/catkin/cmake/test/run_tests.py

I haven't made any alterations to the Windows version of this logic as I'm not sure if anything is needed there or how to properly test it.
FYI @dirk-thomas @sloretz

Great, thanks for looking, @sloretz. I don't know if this would actually break anything in the catkin_make case; it would depend if anything protects multiple catkin_setup_python-driven setuptools invocations from happening concurrently.
But this definitely is an issue with explicitly-parallel tools like catkin_tools. Perhaps the only argument against is that those tools could be responsible to themselves pass in DESTDIR=/, but other than that I dislike the idea that the in-ws installspace is no longer expected to be always identical to what ends up in the shipped version of a package.
Obviously this change ripples out and affects all catkin python packages that have been recently switched to setuptools, but it also nicely brings python_qt_binding into alignment with the others; that one has been a setuptools package since https://github.com/ros-visualization/python_qt_binding/commit/0a2e678b141c2802b0b83b562bfd8d075a0535f7, and had the weird egg/pth installation in our bundle workspace. It didn't seem to be hurting anything since it was the only one, but I'm glad to have that loose end tied up:
install/python_qt_binding/lib/python3/dist-packages/python_qt_binding/__init__.py
install/python_qt_binding/lib/python3/dist-packages/python_qt_binding/QtBindingHelper.py
install/python_qt_binding/lib/python3/dist-packages/python_qt_binding/__pycache__
install/python_qt_binding/lib/python3/dist-packages/python_qt_binding/__pycache__/__init__.cpython-35.pyc
install/python_qt_binding/lib/python3/dist-packages/python_qt_binding/__pycache__/binding_helper.cpython-35.pyc
install/python_qt_binding/lib/python3/dist-packages/python_qt_binding/__pycache__/QtBindingHelper.cpython-35.pyc
install/python_qt_binding/lib/python3/dist-packages/python_qt_binding/binding_helper.py
install/python_qt_binding/lib/python3/dist-packages/python_qt_binding-0.3.6-py3.5.egg-info
install/python_qt_binding/lib/python3/dist-packages/python_qt_binding-0.3.6-py3.5.egg-info/top_level.txt
install/python_qt_binding/lib/python3/dist-packages/python_qt_binding-0.3.6-py3.5.egg-info/PKG-INFO
install/python_qt_binding/lib/python3/dist-packages/python_qt_binding-0.3.6-py3.5.egg-info/SOURCES.txt
install/python_qt_binding/lib/python3/dist-packages/python_qt_binding-0.3.6-py3.5.egg-info/dependency_links.txt

This was in a workspace that also included catkin, built with catkin_tools, so that ticks that box as well.

@seanyen Can you please try this patch on Windows.

This patch as it stands should have no impact on Windows at all, as it only modifies the sh setuptools wrapper. What I believe needs to be checked on Windows is whether this invocation (or the bat equivalent) produces the stray site.py and easy-install.pth files in the install tree:
# from inside a catkin checkout
mkdir build; cd build
cmake .. -DCMAKE_INSTALL_PREFIX=./install -DPYTHON_EXECUTABLE=/usr/bin/python3
make install

@mikepurvis Good point, thanks for clarifying.
@seanyen Please double check the behavior on Windows and if necessary contribute a pull request with a similar patch for the .bat file.

Thanks for the patch!

Note to myself: this might need to be backported to kinetic-devel since several packages have switched to setuptools which don't have Noetic-specific branches.

Cherry-picked to kinetic-devel: f953c43ba931563efad07b30d6a39d8be949b88d.

@seanyen Please double check the behavior on Windows and if necessary contribute a pull request with a similar patch for the .bat file.

Sorry I missed this ping. I am aware of setuptools migration causing the similar problems (egg files, and easy-install.pth stuff) on Windows build for melodic. Looking into that now...


Fix FlatList ItemSeparatorComponent type

Summary
FlatList's ItemSeparatorComponent type did not support passing in react element as per documented in docs.
Changelog
[GENERAL] [FIXED] - Fix FlatList ItemSeparatorComponent type
Test Plan
None needed

Welp from what I see in the code VirtualizedSectionList actually does not support react element as ItemSeparatorComponent, yet it's documented as supported? Do I make it support it or...

Welp from what I see in the code VirtualizedSectionList actually does not support react element as ItemSeparatorComponent, yet it's documented as supported? Do I make it support it or...

Does it work for FlatList, but not VirtualizedSectionList? It is does work for FlatList, but only FlatList, we could put this in FlatList typings instead of VirtualizedList typings.

@NickGerleman I believe problem is VirtualizedSectionList does not properly override VirtualizedList's ItemSeparatorComponent type, and thus this.props.ItemSeparatorComponent comes in as possible Element which it should not be according to both code and the type override attempt(?) here. Worth noting that SectionList docs actually state Element is supported as well, so we either support element in section list, or fix the type override and edit docs?

@NickGerleman hey, would this get any attention? I'm glad to modify the PR as long as I know what would be the best fit here

Thanks for the contribution, @bigcupcoffee!
It looks like support for elements was added in https://github.com/facebook/react-native/pull/32748.
However, there are Flow type errors surfaced by Circle CI. Can you look into fixing those? I can merge this after the errors addressed.

Also, I apologize for the delay in reviewing this. (For some reason, our internal tooling that helps surface PRs was not working correctly.)

@yungsters I'm not sure how to fix the SectionList flow error, there seems to be an override already here, which should mark the prop as Component only (since VirtualizedSectionList due to its own separator implementation doesn't support Element as for now, this code). I guess it comes from the info.section.ItemSeparatorComponent || this.props.ItemSeparatorComponent and one of these end up having Element as a possible type. I'm not good with flow so not sure how to resolve that, would really use some help here. While for VirtualizedList error, if I'm correct, you just need to add support for React.Element right here and that should fix it.
Awaiting your reply about SectionList, as once again, docs state that Element is supported, so that should be fixed too?


kubeadm-nspawn does not build because of CNI changes

$ make
...
go build -o kubeadm-nspawn ./cmd/kubeadm-nspawn
# github.com/kinvolk/kubeadm-nspawn/pkg/nspawntool
pkg/nspawntool/run.go:71: cniData.IP4 undefined (type types.Result has no field or method IP4)

IP4 was removed, see:
https://github.com/containernetworking/cni/pull/145/commits/befb95977ce2eb4a75aaff01f1356ef56beb271e#diff-34dfcb9f9c18e85cfeb1525b94b82572L81

I ran make following the instructions. This changed the version of cni used:
diff --git a/glide.lock b/glide.lock
index 84764ad..55c9585 100644
--- a/glide.lock
+++ b/glide.lock
@@ -1,27 +1,28 @@
-hash: 4fd9333c7f68ff1e551b0eb267aa915335782206a8501906e48ffc62e0400c1d
-updated: 2017-01-27T15:33:09.639904031+01:00
+hash: 72d0d4d2e5d4d7f27551716227fde0f5be2039524a16b66378da34a31d20730c
+updated: 2017-05-22T14:37:34.961254701+02:00
 imports:
 - name: github.com/containernetworking/cni
-  version: 5c3c17164270150467498a32c71436c7cd5501be
+  version: 8ea1605c26c50928e5fce74c2432d24c95ebd82c
   subpackages:
   - pkg/ns
   - pkg/types
.....


Authorization Headers

I am using https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/ , I think this conflict with WooCommerce Auth headers, is there any other way I can authenticate CK_KEY and CK_SECRET instead of Authorization headers, using this lib?

Reviewing also https://github.com/axios/axios#request-config I might get answer here.

When the Authorization header is conflict with JWT Authentication. You may consider to use Query String instead of Header to authenticate.
You may enable the this behavior by passing queryStringAuth: true in the WooCommerceRestApi options.
Sample Code:
const api = new WooCommerceRestApi({
  url: "http://example.com",
  consumerKey: "ck_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
  consumerSecret: "cs_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
  version: "wc/v3",
  queryStringAuth: true
});

Works well, thanks climba03003


Change Velocity speed of drag

Is it possible to change the speed/velocity whilst dragging?
FOr example, at the moment I can only drag 3 items per screen; id like to be able to drag and scroll twice as many.

I found the fix to this if anybody is ever interested. You need to adjust the touchRatio option


ros2_controller hardware plugin only for open_manipulator_x (ROS2 Humble)

Hello everyone,
This is more like a question than an issue. I have the actual hardware and wanted to know if there is any ros2_controller hardware plugin for the open manipulator arm so that I can control the arm using rviz?
I can move the arm using teleop but I cant control it with Rviz. I think I have to change the hardware plugin in the ros2_controller.xacro file. But I don't have any hardware plugin for open_manipulator_x. In this repo there is one plugin defined in turtlebot3_manipulation_system.ros2_control.xacro file but it is for turtlebot and open_manipulator arm together. (at line 26, "turtlebot3_manipulation_hardware/TurtleBot3ManipulationSystemHardware"). Is there any similar plugin for open_manipulator_x arm alone?
Can anyone help me or guide me in finding/creating the plugin? Or any similar plugin is available?
I am using ROS2 humble on Ubuntu 22.04.
Thank you.

Hi @Aki1608
The related package will soon be available.
Hopefully the TurtleBot3 Manipulation package using MoveIt on RViz for Humble and Iron will be updated by this month.
eManual documentation will need more time though.
Thanks!

Hi @ROBOTIS-Will, Turtlebot3 manipulation package is working for Humble. I can control the arm through moveit2 on RViz.
Is there any update on hardware plugin only for open_manipulator_x? Actually, I want to control only the arm using U2D2 board through RViz, and waffle through openCR.

Hi @Aki1608
Yes, we are currently working with both TurtleBot3 and OpenMANIPULATOR-X update.
Humble is WIP in humble-devel branch of the open_manipulator package
https://github.com/ROBOTIS-GIT/open_manipulator/tree/humble-devel

Okay. Thank you @ROBOTIS-Will.
I have one more question. Is it possible to add virtual joints in the hardware plugin and OpenCR firmware to control the real hardware?
Actually, I want to control the arm with moveit2 (inverse kinematics). But to my knowledge, the moveit2 has been written such that the arm should have minimum 6 DoF. I tried adding virtual joints in gazebo and I was able to control the arm using moveit2 and Rviz (inverse kinematics).
I tried adding joints in OpenCR firmware file and also in the hardware plugin but I was not able to successfully control the arm. So before I try any further I wanted to know if it is even possible to add virtual joints and control real hardware?

It seems your initial question has been resolved, so I will close this issue.


Uploading attachment becomes very slow if CouchDB is in a cluster

Create a document, and then uploading attachment one by one, for a single CouchDB instance, there's no problem, but if CouchDB is in a cluster, uploading becomes more and more slow.
Description
I have 3 CouchDB 2.3.1 instances and join them into a cluster (q=8 n=3), they work properly, if I make changes to documens on one server, the other 2 will soon get the change.
Now I create a document, and have 3 or 4 attachments to upload, one by one (json, zip or tar, 2MB-70MB), if CouchDB is not in a cluster, all that goes well, the time spent only depends on the file size. But if I do this to a CouchDB which is in a cluster, I found that 1st attachment can be uploaded normally, then it took more time than expected to upload 2nd attachment, and much more for the 3rd -- sometimes I even get 202 instead of 201, then that document is not readable. Is it as expected or abnormal ?
Expected Behaviour
CouchDB should work as normal when in a cluster. Is it true that we get 201 response after all instances sync the change? But it still cannot explain why uploading become slower and slower.
Your Environment

CouchDB Version used: 2.3.1
Operating System and version: Redhat enterprise 7 (x86-64, 40 core)

After an attachment uploaded, is the document in a "locked" status until attachment synchronized to other instances in the cluster? I find I may get response "202" instead of "201" if I continue uploding attachment to that document, and then, "GET document" is also blocked.

In our cluster we have another problem - after save document with attachments we request this doc with stubs and after save again(with "stub":true) we sometimes get a error "Invalid attachment stub". I think that attachments upload lazily and that's why after second save attachments not found. We get it only under heavy load.

@man4j It sounds reasonable that under heavy load the attachment was saved lazily (just like directly save attachment to a doc then get a 202 response). But my CouchDB instances are not busy at all, it cannot handle continuously uploading attachemnts to a document if in a cluster. Seems you did not have that issue, how did you config your vm.args and local.ini files?


ntdll doesn't analyze correctly

As discussed in the Slack: https://transfer.sh/qd0vV/ntdll.dll
after opening len(bv.functions) is zero

Fixed on dev build 769.

Thanks a lot! Just verified and it appears to be working great now 👍


Language Support

Hi
Would this model support more languages than English and Chinese?
Shall we wait for the new checkpoints with a wider language selection?

In progress...
And welcome to PR for sharing more language supported ckpts.
may refer to #5


when waiting on user notify

This was mostly to explore if it is a good idea or not to have it ask the user for attention (as one way of using goose is to let it go off and do its thing for a while).

closing this as was more an example


go mod doesn't work for github.com/gomarkdown/markdown/html

What version of Go are you using (go version)?
$ go version
go version go1.11 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
OS X 10.13.6
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/kjk/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/kjk/src/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.11/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.11/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/2k/p2_4052s70vd5_cfdm0k0l740000gn/T/go-build479826685=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?

make sure you're OUTSIDE OF GOPATH
git clone https://github.com/kjk/modtest.git
cd modtest
go mod init github.com/kjk/modtest
go build

What did you expect to see?
This should build.
What did you see instead?
$ go build
go: finding github.com/gomarkdown/markdown/ast latest
go: finding github.com/gomarkdown/markdown/html latest
go: finding github.com/gomarkdown/markdown latest
main.go:8:2: unknown import path "github.com/gomarkdown/markdown/html": cannot find module providing package github.com/gomarkdown/markdown/html

For some reason go mod has issue with github.com/gomarkdown/markdown/html even though it works for github.com/gomarkdown/markdown and github.com/gomarkdown/markdown/ast.
The source of the problem seems to be:
$ go get -v github.com/gomarkdown/markdown/html
go: finding github.com/gomarkdown/markdown/html latest
go: finding github.com/gomarkdown/markdown latest
Fetching https://github.com?go-get=1
Parsing meta tags from https://github.com?go-get=1 (status code 200)
go get github.com/gomarkdown/markdown/html: no matching versions for query "latest"

There is no problem when running same go get when in GOPATH.

@kjk I just looked into this, I was able to get your example working. I had to make a tiny modification as htmlHighlight is not defined, but after commenting out that line, I was able to run:
> git clone "https://github.com/kjk/modtest.git"
> cd modtest
> go mod init # To create a blank go.mod
> go mod tidy # To fill in the contents of go.mod
> go build
> ./modtest
Hello

Full output:
➜ git clone https://github.com/kjk/modtest.git
Cloning into 'modtest'...
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 7 (delta 0), reused 4 (delta 0), pack-reused 0
Unpacking objects: 100% (7/7), done.
➜ cd modtest
➜ go build
main.go:7:2: cannot find package "github.com/gomarkdown/markdown/ast" in any of:
        /snap/go/2635/src/github.com/gomarkdown/markdown/ast (from $GOROOT)
        /home/joe/dev/go/src/github.com/gomarkdown/markdown/ast (from $GOPATH)
main.go:8:2: cannot find package "github.com/gomarkdown/markdown/html" in any of:
        /snap/go/2635/src/github.com/gomarkdown/markdown/html (from $GOROOT)
        /home/joe/dev/go/src/github.com/gomarkdown/markdown/html (from $GOPATH)
➜ vim main.go
➜ go mod init
go: creating new go.mod: module github.com/kjk/modtest
➜ go build
go: finding github.com/gomarkdown/markdown/html latest
go: finding github.com/gomarkdown/markdown/ast latest
go: finding github.com/gomarkdown/markdown latest
go: downloading github.com/gomarkdown/markdown v0.0.0-20180907191918-6fda95a9e93f
➜ ./modtest
Hello

@josephlr I fixed the compilation error in the code.
However, I believe you did this inside GOPATH (as indicated by (from $GOROOT) messages).
As I've indicated, you have to checkout the code outside of GOPATH.
Try repro steps after cd $HOME.

@kjk Nope this was done outside of my GOPATH. The go build errors were just what happens if no go.mod file is present.

Just tried this on darwin/amd64, got the same result. go mod init && go build && ./modtest produced no errors for me (building outside of GOPATH).

@josephlr Are you using go 1.11 or master? Did you set GO11MODULE env variable to something? (I didn't so it's auto).
I just double-checked and am still getting an error:
Krzysztofs-MacBook-Pro:src kjk$ git clone https://github.com/kjk/modtest.git
Cloning into 'modtest'...
remote: Counting objects: 10, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 10 (delta 1), reused 7 (delta 1), pack-reused 0
Unpacking objects: 100% (10/10), done.
Krzysztofs-MacBook-Pro:src kjk$ cd modtest
Krzysztofs-MacBook-Pro:modtest kjk$ go mod init
go: creating new go.mod: module github.com/kjk/modtest
Krzysztofs-MacBook-Pro:modtest kjk$ go build
go: finding github.com/gomarkdown/markdown/ast latest
go: finding github.com/gomarkdown/markdown/html latest
go: finding github.com/gomarkdown/markdown latest
main.go:8:2: unknown import path "github.com/gomarkdown/markdown/html": cannot find module providing package github.com/gomarkdown/markdown/html
Krzysztofs-MacBook-Pro:modtest kjk$ go mod tidy
go: finding github.com/gomarkdown/markdown/html latest
go: finding github.com/gomarkdown/markdown latest
Krzysztofs-MacBook-Pro:modtest kjk$ go build
go: finding github.com/gomarkdown/markdown/html latest
go: finding github.com/gomarkdown/markdown latest
main.go:8:2: unknown import path "github.com/gomarkdown/markdown/html": cannot find module providing package github.com/gomarkdown/markdown/html
Krzysztofs-MacBook-Pro:modtest kjk$ go get -v github.com/gomarkdown/markdown/html
go: finding github.com/gomarkdown/markdown/html latest
go: finding github.com/gomarkdown/markdown latest
Fetching https://github.com?go-get=1
Parsing meta tags from https://github.com?go-get=1 (status code 200)
go get github.com/gomarkdown/markdown/html: no matching versions for query "latest"

Also, what does go get -v github.com/gomarkdown/markdown/html do?
$ go get -v github.com/gomarkdown/markdown/ast
go: finding github.com/gomarkdown/markdown/ast latest
go: finding github.com/gomarkdown/markdown latest

$ go get -v github.com/gomarkdown/markdown/html
go: finding github.com/gomarkdown/markdown/html latest
go: finding github.com/gomarkdown/markdown latest
Fetching https://github.com?go-get=1
Parsing meta tags from https://github.com?go-get=1 (status code 200)
go get github.com/gomarkdown/markdown/html: no matching versions for query "latest"

https://github.com?go-get=1 is suspicious and only happens for html sub-package, not for ast sub-package.

And just to be sure, do GO111MODULE=on go get -u -v github.com/gomarkdown/markdown/html.
It works with GO111MODULE=off and fails with on or auto if not in GOPATH.

@kjk Still no luck reproducing your bug on darwin/amd64
I'm outside of GOPATH, no Go environment variables set (except GOPATH), using go 1.11 installed from Homebrew latest. Here's my full output:
joe@Lust ➜  git clone https://github.com/kjk/modtest.git
Cloning into 'modtest'...
remote: Counting objects: 10, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 10 (delta 1), reused 7 (delta 1), pack-reused 0
Unpacking objects: 100% (10/10), done.
joe@Lust ➜  cd modtest
joe@Lust ➜  bash
bash-3.2$ exit
exit
joe@Lust ➜  GO111MODULE=on go get -u -v github.com/gomarkdown/markdown/html
go: creating new go.mod: module github.com/kjk/modtest
go: finding github.com/gomarkdown/markdown/html latest
go: finding github.com/gomarkdown/markdown latest
go: downloading github.com/gomarkdown/markdown v0.0.0-20180907191918-6fda95a9e93f
joe@Lust ➜  go build
joe@Lust ➜  ./modtest
Hello
joe@Lust ➜  pwd
/Users/joe/Documents/programming/funstuff/modtest
joe@Lust ➜  echo $GOPATH
/Users/joe/Documents/programming/go

Other versions of software that could help:
git --version
git version 2.16.2

wget -V
GNU Wget 1.19.4 built on darwin17.3.0.

-cares +digest -gpgme +https +ipv6 +iri +large-file -metalink +nls
+ntlm +opie -psl +ssl/openssl

Wgetrc:
    /Users/joe/.wgetrc (user)
    /usr/local/etc/wgetrc (system)
Locale:
    /usr/local/Cellar/wget/1.19.4_1/share/locale
Compile:
    clang -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/usr/local/etc/wgetrc"
    -DLOCALEDIR="/usr/local/Cellar/wget/1.19.4_1/share/locale" -I.
    -I../lib -I../lib -I/usr/local/opt/openssl/include -DNDEBUG
Link:
    clang -DNDEBUG -lidn2 -L/usr/local/opt/openssl/lib -lssl -lcrypto
    -ldl -lz ftp-opie.o openssl.o http-ntlm.o ../lib/libgnu.a -liconv
    -lintl -Wl,-framework -Wl,CoreFoundation -lunistring

Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally written by Hrvoje Niksic<EMAIL_ADDRESS>Please send bug reports and questions to<EMAIL_ADDRESS>

@josephlr Interesting. I tried to reproduce on another mac  machine and couldn't.
So it's something specific to a setup on one machine but I have no ideas on how to investigate this further.

@bcmills

@kjk please can you try the following:
export GOPATH=$(mktemp -d)
cd $(mktemp -d)
git clone https://github.com/kjk/modtest.git
cd modtest/
go mod init
go build

That works, but I already said it works inside GOPATH.
Krzysztofs-MacBook-Pro:src kjk$ export GOPATH=$(mktemp -d)
Krzysztofs-MacBook-Pro:src kjk$ cd $(mktemp -d)
Krzysztofs-MacBook-Pro:tmp.uw4hgRPe kjk$ git clone https://github.com/kjk/modtest.git
Cloning into 'modtest'...
remote: Counting objects: 10, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 10 (delta 1), reused 7 (delta 1), pack-reused 0
Unpacking objects: 100% (10/10), done.
Krzysztofs-MacBook-Pro:tmp.uw4hgRPe kjk$ cd modtest/
Krzysztofs-MacBook-Pro:modtest kjk$ go mod init
go: creating new go.mod: module github.com/kjk/modtest
Krzysztofs-MacBook-Pro:modtest kjk$ go build
go: finding github.com/gomarkdown/markdown/ast latest
go: finding github.com/gomarkdown/markdown/html latest
go: finding github.com/gomarkdown/markdown latest
go: downloading github.com/gomarkdown/markdown v0.0.0-20180907191918-6fda95a9e93f

@kjk

That works, but I already said it works inside GOPATH.

But this test was outside of GOPATH; notice GOPATH and your working directory are two different temporary directories, so by definition you are outside of GOPATH.
This therefore sounds like an issue with your build/module cache (most likely the latter).
Perhaps take a backup of $GOPATH/pkg/mod (in case we want to investigate further) and then run go clean -modcache and see whether your original problem persists.

I'm not able to reproduce the failure either.
I'm curious what happens if you run:
go get<EMAIL_ADDRESS>go mod verify

~$ cd $(mktemp -d)

$ git clone https://github.com/kjk/modtest.git
Cloning into 'modtest'...
remote: Counting objects: 10, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 10 (delta 1), reused 7 (delta 1), pack-reused 0
Unpacking objects: 100% (10/10), done.

$ cd modtest

modtest$ go mod init github.com/kjk/modtest
go: creating new go.mod: module github.com/kjk/modtest

modtest$ go build
go: finding github.com/gomarkdown/markdown/html latest
go: finding github.com/gomarkdown/markdown/ast latest
go: finding github.com/gomarkdown/markdown latest
go: downloading github.com/gomarkdown/markdown v0.0.0-20180907191918-6fda95a9e93f

modtest$ go version
go version devel +b0a1c5df98 Wed Aug 8 12:50:33 2018 -0400 linux/amd64

go clean -modcache fixed this.
So the cache was busted to the point of messing things up. Knowing what I know now, most likely<EMAIL_ADDRESS>and/or corresponding /Users/kjk/go/pkg/mod/cache/vcs/${sha1} and/or /Users/kjk/Library/Caches/go-build was corrupted.
Unfortunately by removing the cache I also lost all the info needed to investigate it.
A hint from earlier debug tries:
modtest kjk$ go get -v
go: finding github.com/gomarkdown/markdown/html latest
go: finding github.com/gomarkdown/markdown/ast latest
go: finding github.com/gomarkdown/markdown latest
Fetching https://github.com?go-get=1
Parsing meta tags from https://github.com?go-get=1 (status code 200)
github.com/gomarkdown/markdown/html
github.com/gomarkdown/markdown/ast
go build github.com/gomarkdown/markdown/html: no Go files in

no Go files in indicates that the git repository was corrupted because there are .go files in https://github.com/gomarkdown/markdown/tree/master/html
Also the error message is truncated or just badly phrased.
Some other thoughts.
-n flag for -modcache seems broken
$ go clean -n -modcache
cd /Users/kjk/src/modtest
rm -f modtest modtest.exe modtest.test modtest.test.exe main main.exe

I'm pretty sure go clean -modcache deletes more than that.
debugging tools for this area are not adequate
-v doesn't provide enough information.
GODEBUG allows printing a bit more information but not enough and it's not documented anywhere in full (as in: relevant to go toolchain as a whole; it's scattered in runtime docs etc.)
In retrospect it looks like local copy of github.com/gomarkdown/markdown in /Users/kjk/go/pkg/mod/cache/vcs/ was busted but I only figured it out after running strace (well, dtruss) on go get step (after I fixed it by cleaning the cache).
To properly debug this there should be a switch that makes go tool print all the files it's inspecting, all git commands its executing etc.
Realistically this bug can be closed because I don't see a way of making progress on debugging this further.
As a data point:

it's possible to corrupt modules cache in a way that is not detected
earlier I've been running 1.11 from master post beta 2 so corruption might have been introduced by that version and subsequently the root cause of such corruption might have been fixed before release

I'm pretty sure go clean -modcache deletes more than that.

Yeah, go clean needs quite a bit of work for 1.12. (See also #27469, #27458, #27310, and #26991.)

earlier I've been running 1.11 from master post beta 2 so corruption might have been introduced by that version and subsequently the root cause of such corruption might have been fixed before release

That could certainly do it. go1.11beta2 was a pretty rough build for modules (sorry about that!).


Add a custom group to my formio builder[Question]

Hello,
I'm wondering how to add a custom group like basic, advanced, Layout ...
thanks

Hello @firadisaad, can you take a look at this example: https://formio.github.io/formio.js/app/examples/custombuilder.html

@wag110894 thanks for your replay,
i'm using angular 8 with typeScript, for that i need to know more information to implement it.
thanks.

You can pass in the options shown in the custombuilder example using the [options] parameter in the <form-builder></form-builder>

See https://github.com/dmenne/custom-radio/blob/master/src/app/app.component.ts for an example.

@dmenne  thank you so much !


upgrade to polkadot-v0.9.29

Signed-off-by: Gregory Hill<EMAIL_ADDRESS>Changes
https://github.com/paritytech/substrate/compare/polkadot-v0.9.28...polkadot-v0.9.29

https://github.com/paritytech/substrate/pull/12138
https://github.com/paritytech/substrate/pull/11407

Dependencies

https://github.com/open-web3-stack/open-runtime-module-library/pull/809

Thank you for the PR.


undefined symbol: __atomic_fetch_add_8

Hi,
I did your tutorial 3 times, but I keep getting the same error:
Traceback (most recent call last):
File "Object_detection_picamera.py", line 23, in
import cv2
File "/usr/local/lib/python3.7/dist-packages/cv2/init.py", line 3, in
from .cv2 import *
ImportError: /usr/local/lib/python3.7/dist-packages/cv2/cv2.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: __atomic_fetch_add_8
Did I do something wrong?
Thanks!

No same for me, but I found out you can use LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1 python3 Object_detection_picamera.py

But then I got this here: 2020-04-13 14:03:06.554427: E tensorflow/core/platform/hadoop/hadoop_file_system.cc:132] HadoopFileSystem load error: libhdfs.so: cannot open shared object file: No such file or directory
WARNING:tensorflow:From /home/pi/tensorflow1/models/research/object_detection/utils/label_map_util.py:138: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.
WARNING:tensorflow:From Object_detection_picamera.py:82: The name tf.GraphDef is deprecated. Please use tf.compat.v1.GraphDef instead.
WARNING:tensorflow:From Object_detection_picamera.py:88: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
: cannot connect to X server

But then I got this here: 2020-04-13 14:03:06.554427: E tensorflow/core/platform/hadoop/hadoop_file_system.cc:132] HadoopFileSystem load error: libhdfs.so: cannot open shared object file: No such file or directory
WARNING:tensorflow:From /home/pi/tensorflow1/models/research/object_detection/utils/label_map_util.py:138: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.
WARNING:tensorflow:From Object_detection_picamera.py:82: The name tf.GraphDef is deprecated. Please use tf.compat.v1.GraphDef instead.
WARNING:tensorflow:From Object_detection_picamera.py:88: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
: cannot connect to X server

hi g2721,
I am facing the same problem.Did you find any solution for this error?
Thank you.

@lavanya5 Yeah i got it working. I guess you are running it on the console ? For me installing Pixel (the gui for raspberrys or the complete Gui) worked

Just look for install x server on pi

Just look for install x server on pi and type startX or so to activate the gui

Thank you


Fix #429 Removed attachment field from PostMessageParameters

Fixed https://github.com/nlopes/slack/issues/429
I removed attachment field from PostMessageParameters.
Could you review it, please?

Looks good. mind confirming that only send message uses this structure? if there are other areas then might want to hold off until we look at those.

@nlopes  Thanks. You mean you worry if PostMessageParameters is used by other than posting messages? I checked it by searching keyword PostMessageParameters and it seems PostMessage usesPostMessageParameters. Please Let me know if you think I didn't get correctly what you pointed out .

nope sounds like you did. then we're good.


[lexical] Bug Fix: spliting AutoLinkNode

Description

Closes #6628
Test plan
Before
https://github.com/facebook/lexical/issues/6628
After
https://github.com/user-attachments/assets/de32f92b-c246-41db-b82c-e12657414588

from the e2e test results, there seems to be a regression for copy paste

From the e2e test results, there seems to be a regression for copy paste

Hey @potatowagon, thanks for checking this PR. Before moving on try to fix the regression for copy-paste. I would like to know if the fix is good enough. I did the fix mostly to start a discussion around this issue and see that is the best solution.

While trying to debug the failing tests I see a strange behavior of the editor in the test and reproducing it manually

Here my trying to do the same as the test
https://github.com/user-attachments/assets/d64296ad-9bbb-4ccd-9a96-5af96d08be87
The result is different. What I am missing?


cargo run --bin uvx requires a manual step

To reproduce:

cargo clean
cargo run --bin uvx

fails with
> cargo run --bin uvx
   Compiling proc-macro2 v1.0.86
   Compiling unicode-ident v1.0.12
...[snip]...
   Compiling tikv-jemallocator v0.6.0
   Compiling uv v0.4.0 (/code/uv/crates/uv)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.71s
     Running `target/debug/uvx`
error: No such file or directory (os error 2)

My understanding is that "uv" (crate? lib?) is compiled but uv binary is not linked:
> ls -lt target/debug/
total 1112
-rw-r--r--@    1 dima  staff   15467 30 Aug 10:08 uvx.d
drwxr-xr-x@ 6082 dima  staff  194624 30 Aug 10:08 deps/
-rwxr-xr-x@    1 dima  staff  551992 30 Aug 10:08 uvx*
drwxr-xr-x@   44 dima  staff    1408 30 Aug 10:08 incremental/
drwxr-xr-x@   82 dima  staff    2624 30 Aug 10:07 build/
drwxr-xr-x@    2 dima  staff      64 30 Aug 10:07 examples/

Meanwhile, uvx parses arguments and exec's (I think) uv, which is not there.
To work around:

[opt] cargo clean
cargo run -- --help  # builds uv
cargo run --bin uvx -- --help  # ok!

You should just run cargo run -- tool run -- uvx isn't intended to be run directly during development :)

uvx depends on a uv binary existing alongside it.

For what it's worth, I do use cargo run --bin uvx sometimes to test things specific to the uvx interface — but yeah you need a compiled uv binary.


chore: improve mac quick-start guide

I had a few issues getting up and running, I think this was mostly due to some out of date paths/filenames

Great, thank you @AlexsJones!


#0003: Implement ways to reduce the number of tokens used.

The prompt returns the entire updated code and writes it into the directed file, which while using OpenAI API requires alot of tokens to perform. Implement a way that it returns only the required code, reducing the  number of tokens required and then display it in the CLI.

Implementing functions for each task will be a great idea. One for directly writing into the file and another for just generating the code snippet.


Support cluster scoped limits

Description
What problem are you trying to solve?
I'd like Karpenter to be able to manage limits for the whole cluster, this would also including nodes that weren't created by Karpenter.

Single limit for Karpenter
Evaluate all provisioners
Evaluate non-Karpenter nodes (this could be via a Karpenter aware label)
Best effort

How important is this feature to you?
Without this functionality Karpenter limits aren't really usable for anything more complex than a single provisioner; we don't have any clusters where a single provisioner would work.
Cluster Autoscaler can already do this so not having it available makes migrating to Karpenter without losing capabilities impossible.

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Closing this as a duplicate to #2474. It would be great to add some of these ideas over there and continue that discussion to expand the proposed feature set.


added B letter in straight.h

Added B(capital) letter in straight.h
Referenced Issues
closes #30
closes #31

Thanks for contributing 😊


[Request] Add pnpm

Tool name
pnpm
Tool license
MIT
Add or update?

[X] Add
[ ] Update

Desired version
7.13.1 or latest
Approximate size
No response
Brief description of tool
pnpm is fast, disk space efficient Node package manager.
today, many monorepo developers use this pnpm. (vite, svelte, ...)
I also use it. very fast and helpful.
Please see the link below for more information.
https://pnpm.io/motivation
https://pnpm.io/feature-comparison
URL for tool's homepage
https://pnpm.io/
Provide a basic test case to validate the tool's functionality.
pnpm -v

Platforms where you need the tool

[ ] Azure DevOps
[X] GitHub Actions

Runner images where you need the tool

[ ] Ubuntu 18.04
[X] Ubuntu 20.04
[X] Ubuntu 22.04
[X] macOS 10.15
[X] macOS 11
[X] macOS 12
[X] Windows Server 2019
[X] Windows Server 2022

Can this tool be installed during the build?
Acturally I don't know.
Please see the link below for more information.

https://pnpm.io/installation

Tool installation time in runtime
maybe less then 10 seconds
Are you willing to submit a PR?
No response

A duplicate of https://github.com/actions/runner-images/issues/2279

Hi @mikhailkoliada ,
For Azure DevOps pipelines, I'd have to install pnpm though right each time it's needed?  The mentioned duplicate is for a Github Action task for functionality.  I was researching this morning if pnpm was installed already in image, and wanted to ask here before creating a new issue/request to add.


[FEAT]: support faiss to enable efficient search

Description
we should use faiss to accelerate
Additional Information
No response

Hi @lwaekfjlk,
Is FAISS integration required for accelerated retrieval of agent and paper retrieval?
If so, perhaps it could be achieved with an embedding database like Redis and creating appropriate ANN indexes on embeddings in that, as suggested in as mentioned in #430 .
Additionally, FAISS requires re-indexing whenever new embeddings are added, which could be managed asynchronously and more efficiently with an embedding database.

yes, @shreypandey, good point! thanks for mentioning that, you can check https://github.com/ulab-uiuc/research-town/issues/431 that we include redis support in the 0.0.2 version. Looking forward to futher discussion.

Hi @lwaekfjlk, I have proposed an implementation of redis integration on #428, Please review the proposed implementation.

sure.

this should be squashed together into #428. therefore, close.


Added weight vs range plot in readme

Added weight vs range plot in readme
Renamed BD to Black Diamond
Tests updated accordingly
Renamed tests folder
ipy updated accordingly

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.


How can I serialize an alloc::string::String or alloc::vec::Vec in no_std environment?

How can I serialize an alloc::string::String or alloc::vec::Vec in no_std environment?
I have been using these two data structures in a no_std rust project, but I have encountered a problem that #[derive(Serialize, Deserialize)] cannot generate the proper function
#[derive(Serialize, Deserialize)]
pub(crate) struct Test {
    pub(crate) test: String, // this is alloc::string::String in no_std environment
}

error[E0277]: the trait bound `String: Serialize` is not satisfied
  --> src/image/mod.rs:36:5
   |
36 |     pub(crate) test: String,
   |     ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `String`
   |
   = note: required by `image::_::_serde::ser::SerializeStruct::serialize_field`

error[E0277]: the trait bound `String: Deserialize<'_>` is not satisfied
  --> src/image/mod.rs:36:5
   |
36 |     pub(crate) test: String,
   |     ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `String`
   |
   = note: required by `next_element`

error[E0277]: the trait bound `String: Deserialize<'_>` is not satisfied
  --> src/image/mod.rs:36:5
   |
36 |     pub(crate) test: String,
   |     ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `String`
   |
   = note: required by `next_value`

Please take this question to one of the resources listed in https://github.com/serde-rs/serde/tree/v1.0.135#getting-help. Sorry that no one was able to provide guidance here.


Add events to calendar on schedule page

Parent issue: #61
Hours: 5

The events (student's courses) are now populated on the dynamic calendar. This issue can therefore be closed.
Hours worked: 5

Time: 6 hours
Missing:

Fix the first loading issue when accessing the schedule
Remove the half-hours in the weekly calendar view
Shorten the height of the calendar
Try to figure out problem with timeslots={2} versus timeslots={4} (causing a problem with position of events on calendar)

Time: 2 hours


Optimize site for desktop screens

I have made the following changes to the project:

optimized the website for desktop using media queries
arranged elements on the page using CSS flexbox and Grid

Hi @BertrandConxy  please I am unable to use Clippy, the tool you recommended I use to achieve the curving edge at the bottom left side of this headline section. Can you please please give me directions on how to use it?

Hello @BryteLitty. If the Clippy tool is challenging to use, I would suggest that you use the border-radius technique. Here  I have found a good YouTube tutorial that will help you get it done 😎. Try it out and you will inform me 👍


Attempt to invoke virtual method 'java.io.OutputStream' java.net.Socket.getOutputStream on a null object reference.

Description
When I click for the first time everything is fine. Sometimes I click a second time and it's also good, but there is such a random error
Steps to reproduce
Steps to reproduce the behavior:
const client = TcpSocket.createConnection({
            host: printer.ip,
            port: printer.port,
          }, () => {
            client.write(data);
            client.destroy();
          });

          client.on('error', (error) => {
          });

          client.on('close', () => {
          });
  });

Current behavior
I have print btn.
Attempt to invoke virtual method 'java.io.OutputStream' java.net.Socket.getOutputStream on a null object reference.
Expected behavior
Code to need works.
Screenshots

Relevant information

OS
android

react-native
0.64.3

react-native-tcp-socket
5.6.0

@sergeu90, you must take into account that socket.write() is asynchronous, so, in your code, socket.destroy() might be called first. This will destroy the socket and then try to write to it. That's why you get that error.
A workaround would be to use the callback provided by socket.write() to make sure you destroy the socket after writing.

@Rapsssito  Thanks a lot for helping. It is working.
 client.write(data, null, () => {
              client.destroy();
            });

Glad it worked! I will close the issue now.


#257: Bump version number to v0.3.0

Include version number in archive filenames
Ensure LICENSE.md is included in distributions
Center README badges, add description and links

Resolves #257.

Current coverage is 90.19%

Merging #258 into master will not affect coverage as of f75ff3f

Powered by Codecov. Updated on successful CI builds.


Restore from snapshot

It doesn't seem to work for moving shapes.
https://user-images.githubusercontent.com/490574/116529181-9f7c5680-a917-11eb-9d64-0736325454b8.mov

It doesn't seem to work for moving shapes.
Screen.Recording.2021-04-29.at.18.20.06.mov

That's odd, I'll have a look

This would be very nice! Did you notice my comment? https://github.com/dai-shi/excalidraw-claymate/issues/9#issuecomment-829059148 It would be nice if we can replace it.
Implementation-wise, I wonder if we need to keep canvas. But, we can revisit it later anyway.

This would be very nice! Did you notice my comment? #9 (comment) It would be nice if we can replace it.
Implementation-wise, I wonder if we need to keep canvas. But, we can revisit it later anyway.

No, I hadn't seen that but I'll check

So, right now it's "snapshot", but what would be interesting is "scene"

we edit one of scene at a time.
we can change a scene to edit by clicking it (right now "R" button, but can be the entire snapshot area)
we can "copy scene" and edit it.

It would be easier if you try https://excalidraw-slides.netlify.app/ and see how it behaves.

Yes, I think I understand your plan.
You'd be live editing the current snapshot/scene.
When you clicked on other snapshot/scene you'd switch to editing that and the "Add Snapshot" would change it behaviour to copying the current snapshot/scene to a new one which would then become the current scene.

Exactly!

Something like this?

Wow, you are already work on it!
Let me know your plan for this PR.
Is this going to be for what I named "scene" feature?

Yes, that's what I was thinking.  It's working but I'm not sure how much is required to make this robust

Great. I'm not sure either...
One minor request, if you agree, is to change the button to "Copy scene".
We also want to highlight the scene which we are editing.
Unless it won't break the basic use case, we can tackle remaining issues separately.

It's probably worth changing all "snapshot" variables to "scene"

It works great! I like it.


console error

Why I run AIcommand it show this error?
NullReferenceException: Object reference not set to an instance of an object
AICommand.OpenAIUtil.InvokeChat (System.String prompt) (at Assets/AICommand-main/Assets/Editor/OpenAIUtil.cs:52)
AICommand.AICommandWindow.RunGenerator () (at Assets/AICommand-main/Assets/Editor/AICommandWindow.cs:38)
AICommand.AICommandWindow.OnGUI () (at Assets/AICommand-main/Assets/Editor/AICommandWindow.cs:64)
UnityEditor.HostView.OldOnGUI () (at :0)

Please check FAQ on README.
(Check if your credit card with your OpenAI account is valid)

I close this issue. Please reopen it if it still reproduces.


Add repo and homepage info to package.json

So it appears in NPM and makes it easy to go to the repo on GitHub:

Would then look like this:

Makes sense, thanks!


Fix link to hsf

Codecov Report

Merging #2 (bfc2811) into main (0f9a027) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage   52.63%   52.63%
=======================================
  Files           3        3
  Lines          38       38
  Branches        2        2
=======================================
  Hits           20       20
  Misses         18       18

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


site: tweak the kubecon landing page a bit based on Mike's suggestions

Hello @hyu, @jazzdan,
Please review the following commits I made in branch nicks/kubecon3:
3761da105a3a7bc5b204b781efa6d5a2878679a1 (2019-11-12 16:57:33 -0500)
site: tweak the kubecon landing page a bit based on Mike's suggestions


Union and Intersection of 2 Array added in Java #216

Union and Intersection of 2 Array added in Java #216
@nakul-19 @rudrakshi99 @tarun26091999 @OjusWiZard
Please Review it

@yasharth291 Please Review my Code

@yasharth291 Please review it because Daily I get Conflicts in Readme File, I have to Resolve them Daily, Am I making any Mistake in Readme ?, can you please tell me why I am Getting Conflicts in Readme always, coz I am new to GIT and GITHUB

@yasharth291 Please review it and please tell me is any changes

@Rohan27s @tarun26091999  Please Review it and Let me Know if any changes

@Rohan27s  Conflict Resolved Sir

@rish-singhal  Done Sir


Pinning useful apps to the top of the app-drawer

This is a suggestion by Claude Cesa, who reached out to me in an e-mail:
The ability to pin useful apps to the top of Launchers App-Drawer (alias apps-list) would be quite useful.

I implemented a version this as part of my fork.Pinning to the top was also suggested there, however I decided to instead add a separate list of favorite apps (see the discussion here).
Since many of the changes I made are a matter of taste (and this repo doesn't seem to be actively maintained any more) I decided not open a PR but just publish it as a separate app.


feat: Updated workflows and added badges

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
:information_source: You can also turn on project coverage checks and project coverage reporting on Pull Request comment
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Window Transparency

It would be interesting if there was a way to make the game window transparent, showing the user desktop behind it:

This would allow the creation of things like transparent splash screens, like Photoshop has:

Applications like the Shimeji-ee desktop mascots:

And unusual borders and UI, like Winamp has:

Note that there's a WIP here: #14622 (cc @bruvzg).

It's nice to know that there's already a PR addressing this!

Related: #6511


Async Messenger

It would be great if it was possible to await a Messenger.Send method when the registered method is async.
For example:
class Caller : ViewModelBase
{
	async Task CallingMethod()
	{
		// Do things

		await this.MessengerInstance.SendAsync(new Message());

		// Do other things
	}
}

class Receiver : ViewModelBase
{
	Receiver()
	{
		this.MessengerInstance.RegisterAsync<Message>(this, OnMessageAsync);
	}

	private async Task OnMessageAsync(Navigation msg)
	{
		await AsyncThingsOnReceive();
	}
}

I don't even know if this is possible regarding to your architecture. This guy made an attempt to solve this issue but I think it is not compatible with the last version of MVVM Light : https://github.com/runceel/AsyncMessenger.

just out of curiosity, why would you need that?
Any practical example?

I am not sure my practical example is relevant here, since I do not have anything particular in it except the use of an awaitable registered method (async void OnMessageAsync(Message obj)). I guess this case is pretty frequent with the async/await feature.
In my case, when the the execution hit the await keyword in the registered OnMessageAsync method, the execution stops and resumes on the CallingMethod. When the CallingMethod is finished, the execution resumes on the the registered OnMessageAsync and finish its execution.
Because of that, every instructions written after the call to the Send method is not ensured to be executed after the registered method.

I have the exact same problem. Before, the send was blocking the execution until the end of the message method. When I put async to the message method to be able to await async methods, the send resume at the first await in the message method and all the logic is screw.

I could see where you could need this if you're using messages to open different windows and you don't want to block from the VM that you are sending the message from.   Especially i the dialog that you call isn't modal, or, it needs to be modal but you still want to pump messages from the previous window.

I am not sure my practical example is relevant here, since I do not have anything particular in it except the use of an awaitable registered method (async void OnMessageAsync(Message obj)). I guess this case is pretty frequent with the async/await feature.
(...)

This should've already warned you that you're doing something completely wrong.
Never, never, never, never, never ever use async void anywhere in your code!
Read here for why: https://johnthiriet.com/removing-async-void/


Schedule job failed due to "azkaban.utils.UndefinedPropertyException: Missing required property 'azkaban.native.lib'"

17-11-2016 01:13:13 PST foo INFO - 1 commands to execute.
17-11-2016 01:13:13 PST foo INFO - effective user is: azkaban
17-11-2016 01:13:13 PST foo ERROR - Job run failed!
azkaban.utils.UndefinedPropertyException: Missing required property 'azkaban.native.lib'
at azkaban.utils.Props.getString(Props.java:478)
at azkaban.jobExecutor.ProcessJob.run(ProcessJob.java:120)
at azkaban.execapp.JobRunner.runJob(JobRunner.java:595)
at azkaban.execapp.JobRunner.run(JobRunner.java:446)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
17-11-2016 01:13:13 PST foo ERROR - Missing required property 'azkaban.native.lib' cause: null
17-11-2016 01:13:13 PST foo INFO - Finishing job foo attempt: 0 at<PHONE_NUMBER>806 with status FAILED
This is the error log when I try to schedule a simple command job on solo server.
I tried adding azkaban.native.lib in the job file and azkaban.properties file, the error is the same.

I was following this guide to setup the solo server and I didn't install any plugins
http://azkaban.github.io/azkaban/docs/latest/#solo-setup

I have the same issue

I was trying to evaluate whether to use Azkaban versus another workflow management tool but the fact that the example doesn't work is disconcerting

@hderms This issue is fixed by #827, and is under review now.

Am not using Solo server mode but trying to install stand alone executor and webserver , but am also running into the same issue , I haven't installed any plugins
29-11-2016 17:02:49 IST dim_date ERROR - Job run failed!
azkaban.utils.UndefinedPropertyException: Missing required property 'azkaban.native.lib'
at azkaban.utils.Props.getString(Props.java:478)
at azkaban.jobExecutor.ProcessJob.run(ProcessJob.java:120)
at azkaban.execapp.JobRunner.runJob(JobRunner.java:685)
at azkaban.execapp.JobRunner.run(JobRunner.java:537)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
29-11-2016 17:02:49 IST dim_date ERROR - Missing required property 'azkaban.native.lib' cause: null
29-11-2016 17:02:49 IST dim_date INFO - Finishing job dim_date attempt: 0 at<PHONE_NUMBER>261 with status FAILED


Add Missing fields on Card

The common fields on cards are there but not every single field is present

Await the need


prisma2 lift save creates two new .db files for SQLite

I have this Prisma schema in a new project:
generator photon {
  provider = "photonjs"
}

datasource db {
  provider = "sqlite"
  url      = "file:dev.db"
}

model User {
  id    String  @default(cuid()) @id
  email String  @unique
  name  String?
}

This is the file structure:
$ tree .
.
├── README.md
└── prisma
    └── schema.prisma

1 directory, 2 files

When I run prisma lift save from the project root dir, two .db files are being created, one in the project root dir, the other one inside the prisma dir:
$ tree .
.
├── README.md
├── dev.db
└── prisma
    ├── dev.db
    ├── migrations
    │   ├──<PHONE_NUMBER>2229-init
    │   │   ├── README.md
    │   │   ├── schema.prisma
    │   │   └── steps.json
    │   └── lift.lock
    └── schema.prisma

3 directories, 8 files

I'm on:
<EMAIL_ADDRESS>binary version: b72fd0a786adc77ba6c61d0a9637ff0371e433b0

I can also confirm this bug.

I'm also seeing this for prisma2 init with Blank Project > SQLite > JavaScript, Demo Script.
One DB file is in the project root (0KB in size) and the other one is in the prisma directory.
Quite possibly the same issue.

We reproduced the bug and found where it comes from, but there is no spec regarding on the right thing to do. Issue: https://github.com/prisma/specs/issues/329

I think we found a related issue:
When the url to the sqlite-db contains .., i.e. something like url: "file:../../<some_folder>/data.db", the process hangs after selecting Yes            Create new Sqlite database <some_folder>/data.db.
Let me know if this is unrelated and I should create a separate issue.

Can you please check if there is any error thrown when tracing is on @frntmp
To enable tracing, run export DEBUG=* or run set DEBUG=* if you are on windows.

@frntmp looks like someone else also reported the same, I can confirm this bug.
It is being tracked here: https://github.com/prisma/lift/issues/219

Thanks for reporting! A fix is available on the latest prisma2 alpha.
You can try it out with npm i -g prisma2@alpha.


Run eslint then I got some code error, but vscode didn't give me any tips.

Run eslint then I got some code error, but vscode didn't give me any tips.
How to resolve it?
I expected vscode can give me the error code tips.

Do you have the eslint extension install and setup. If so anything special in the ESLint Output channel?

Oh thanks. I found something wrong in my eslint config file.


OpenStreetMap port

Hi,
It won't compile with OpenStreetMap, require some specifics.
Is there one?
thanks,
Ofer

This library was never designed to work with OSM so you would have to port it yourself.


Sass @import between Symfony bundles

I'm wondering if there's any work being done on a way to import sass files between Symfony bundles
For example, I have a style.scss file in my CommonBundle which contains standard site styles. In my UserBundle, I have a userDashboard.scss file which need to use styles, mixins, etc from style.scss.
Is there a way to do something like:
@import 'bundles/appcommon/scss/style.scss'

Instead of the oh-so-elegant:
@import '../../../../../../src/app/CommonBundle/Resources/public/css/style.scss';

I know there are currently issues with the sass filter compiler not finding changes in imported files, so this may be a moot point until that's fixed.
This may be a duplicate of an open pull request, I'm just not familiar enough with the internals of assetic to say for certain.

+1

+1
Solution with "load_paths" just works ™
I'm using Symfony 2.6 and Assetic bundle 2.7


HDWallet: New method to derive address directly from wallet.

Description
New shortcut method TWHDWalletGetAddressForCoin() to derive an address from HD wallet directly, without need to handle private key.
Fixes #740 .
Testing instructions
Unit tests
Types of changes

Small new feature (non-breaking change which adds functionality)

Checklist

[x] Prefix PR title with [WIP] if necessary.
[x] Add tests to cover changes as needed.
[x] Update documentation as needed.

/azp run


Derive the original Discovery document URL

Codecov Report

Merging #1372 into master will decrease coverage by <.01%.
The diff coverage is 86.66%.

@@             Coverage Diff              @@
##             master    #1372      +/-   ##
============================================
- Coverage     86.58%   86.58%   -0.01%
- Complexity     3905     3908       +3
============================================
  Files           382      382
  Lines         15636    15649      +13
  Branches       1727     1728       +1
============================================
+ Hits          13539    13550      +11
- Misses         1635     1637       +2
  Partials        462      462

Impacted Files
Coverage Δ
Complexity Δ

...pi/codegen/discovery/config/TypeNameGenerator.java
83.78% <ø> (ø)
20 <0> (ø)
:arrow_down:

...ry/config/ApiaryConfigToSampleConfigConverter.java
98.97% <100%> (ø)
39 <0> (ø)
:arrow_down:

...main/java/com/google/api/codegen/ApiaryConfig.java
93.75% <100%> (+0.24%)
40 <2> (+2)
:arrow_up:

...java/com/google/api/codegen/DiscoveryImporter.java
90.74% <100%> (+0.06%)
62 <0> (ø)
:arrow_down:

...degen/discovery/config/js/JSTypeNameGenerator.java
83.33% <75%> (-16.67%)
6 <2> (+1)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a3a7e2b...86049cd. Read the comment docs.


Generate import maps

Command
build, serve
Description
Our application has a plugin system where it needs to  load external modules that are not known at build-time. These external modules are often (but not always) Angular components, and they share dependencies with the application. Think:
// Application
const { PluginComponent } = await import("https://cdn/plugin.js"); // NOTE: The URL is not known at build-time

// https://cdn/plugin.js
import { Component } from "@angular/core";
@Component(/* ... */)
export PluginComponent {}

The above does not work, since there is no way for plugin.js to resolve the "@angular/core" import.
We have solved this by making sure the plugins are SystemJS modules rather than ES Modules, and they are imported with System.import() with some custom resolvers (see below).
However, we would really like to drop SystemJS and use ES modules instead. But this is not possible today.
Describe the solution you'd like
In order to load external modules that depend on bare specifiers, I think the cleanest solution would be to use Import Maps. A possible solution would be for Angular CLI to generate import maps for some chosen dependencies. Like:
angular.json
{
  "builder": "@angular-devkit/build-angular:application",
  "options": {
    "generateImportMaps": [
      "@angular/core",
      "@angular/common",
      "rxjs",
      "some-other-dependency"
    ],
  },
}

index.html
<script type="importmap">
{
  "imports": {
    "@angular/core": "/chunk-foo123.js",
    "@angular/common": "/chunk-bar456.js"
  }
}
</script>

Alternatively, there could be a way to write & use plugins for esbuild (or vite?) that does this, if it is possible to get the generated chunk name in there.
Describe alternatives you've considered
We are currently forcing the plugins to be built as SystemJS modules, and they are imported with System.import. Like:
// Application
/* Custom SystemJS resolve & instantiate with import("@angular/core") and lots of hacks */
const { PluginComponent } = await System.import("https://cdn/plugin.js");

// https://cdn/plugin.js
System.register(["@angular/core"], function (_export, _context) {
  let angularCore;
  return {
	  setters: [
		  angularCoreDep => angularCore = angularCoreDep,
	  ],
	  execute: function () {
		  _export({
			  PluginComponent: /* uses angularCore.Component and more */,
		  });
	  }
  };
});

Support for imports map are something that we are looking at as part of https://github.com/angular/angular-cli/issues/17556
One way to achieve this to, would be to mark these packages as external using the externalDependencies and build the import map yourself.

+1 to externalDependencies and adding your own import maps, that seems like a reasonable solution to that specific problem.
However externalizing @angular/core and using it from a dynamically loaded plugin sounds a lot like https://github.com/angular/angular-cli/issues/17556 as Alan referenced. Micro-frontends are a lot more complicated than just externalizing dependencies I don't think this is a good solution on its own, we'd need something a lot more comprehensive to cover that use case.
Since import maps are possible to do manually and micro-frontends are tracked separately, I'll close this as a dupe since there's nothing actionable here specifically.
Duplicate of #17556


fix(streaming): release ptfx asset after use

The PTFX asset used in the createPlayerModePtfxLoop() function is never released after use. Note that the 'core' PTFX asset alone streams 21.95 MiB.

Hmm, is that a memory leak?
Does every use of RequestNamedPtfxAsset(PTFX_DICT) increase the memory by 22mb?

It only increases streaming the first time it requests. Memory is not changed.
But if it is not released the script will keep streaming it
Before changes. After streaming (idel)

After changes. After streaming (idel)

I haven't personally experienced any problems, but I do know that unreleased assets can cause streaming issues.

If the asset request gets spammed, it could potentially cause some lag while it's being used? But the usecase is the same with troll actions when the animal model asset is requested and then released using SetModelAsNoLongerNeeded().
However, I'm not familiar enough with FiveM streaming to provide a definitive answer.

Maybe we should start a timer to reset it after 120s, and each use resets the timer.

I don't think that's necessary. I just tested spamming with and without release, and I didn't notice any change in lag spikes or FPS drops. However, keep in mind that it's a client-sided resmon.
With changes:
https://streamable.com/q1vf0o
Without changes:
https://streamable.com/06b3qg

Ohh streamable... This video isn't available anymore.

Maybe we should start a timer to reset it after 120s, and each use resets the timer.

Personally, I think this would be the better way, since it uses the effect with toggling both on and off, and since people mainly use noclip to get to somewhere fast, it makes sense to hold onto it, when its going to be used within the next minute or so anyway, and the release after that.

Or use the network version of StartParticleFxLoopedOnEntity and mix it with some of that magic. Then we can make the code only request assets and run for the user switching mode?
https://docs.fivem.net/natives/?_0x6F60E89A7B64EE1D

Thanks for the PR.


Trying knapsack, but not able to pass arguments to rspec

This is how I have rspec builds configured on semaphore bundle exec rspec --tag ~ci_skip -f p spec but I am not able to pass the arguments to knapsack:
bundle exec rake knapsack_pro:rspec[--tag ~ci_skip -f p]
rake aborted!

In case anyone will find this issue, you missed quote marks.
 bundle exec rake "knapsack_pro:rspec[--tag focus]"

https://github.com/KnapsackPro/knapsack_pro-ruby#passing-arguments-to-rake-task


Roll-Out = mid-February ... why not rolled out mid-March ?

This post says the new feedback system will start to be rolled out in mid-Feb, but we are mid-March and I do not see much rolled out. What to expect about time ?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0193ed76-3eec-18ac-512f-45f8118dde34
Version Independent ID: 8e693833-3e45-2bb8-ddc2-d0c54936c3c1
Content: A New Feedback System Is Coming to docs.microsoft.com
Content Source: teamblog/a-new-feedback-system-is-coming-to-docs.md
Service: unspecified
GitHub Login: @EisenbergEffect
Microsoft Alias: EisenbergEffect

Hi @MarcioAB - we are in the process of rolling it out. It's already available for several large documentation sets.

@dend Is there visibility of this anywhere, such as a status page? I keep wanting to reply to comments and then remembering they'll disappear imminently as the new feedback system replaces comment threads.
If there is, could a link be added to this page under the roll out section?

@MarcioAB Thanks for taking the time to share your feedback.
I'm closing this issue as roll-out is complete.
Feel free to re-open if/as you feel it is needed.


currentPage starts from 0

currentPage counts from 0 but displays 1 or am I doing something wrong?

I'm happy with it. It's easier for me to slice my dataList

@airfortech most other paginate libraries also start at 0 for the first page. If you mean the "Pagination" story, the currentPage is added with 1.