[iCubHamburg01] Wrong Value of MotioncontrolVersion in yarprobotinterface

Hello,
Currently, I'm updating our iCub on the newest versions. I assume that everything was installed properly, but there seems to be a general Problem of our robot-configuration files. The installed embObjMotionControll driver seems to expect version 5, but receives version 3. This is a problem we seem to have since last year.
How could I fix this problem?
icub@icub-head:/usr/local/src/robot/old_versions/Nov18/robots-configuration/build$` yarprobotinterface
||| configuring
||| default config file specified as yarprobotinterface.ini
||| checking [/usr/local/src/robot/old_versions/Nov18/robots-configuration/build/yarprobotinterface.ini] (pwd)
||| checking [/usr/local/src/robot/old_versions/Nov18/iCubContrib/share/ICUBcontrib/robots/iCubHamburg01/yarprobotinterface.ini] (robot)
||| found /usr/local/src/robot/old_versions/Nov18/iCubContrib/share/ICUBcontrib/robots/iCubHamburg01/yarprobotinterface.ini
||| finding file [config]
||| checking [/usr/local/src/robot/old_versions/Nov18/robots-configuration/build/./icub_all.xml] (pwd)
||| checking [/usr/local/src/robot/old_versions/Nov18/iCubContrib/share/ICUBcontrib/robots/iCubHamburg01/./icub_all.xml] (robot)
||| found /usr/local/src/robot/old_versions/Nov18/iCubContrib/share/ICUBcontrib/robots/iCubHamburg01/./icub_all.xml
[DEBUG]Reading file /usr/local/src/robot/old_versions/Nov18/iCubContrib/share/ICUBcontrib/robots/iCubHamburg01/./icub_all.xml
[DEBUG]yarprobotinterface: using xml parser for DTD v3.x
[DEBUG]Reading file /usr/local/src/robot/old_versions/Nov18/iCubContrib/share/ICUBcontrib/robots/iCubHamburg01/./icub_all.xml
[DEBUG]Preprocessor complete in:  0.0150881 s
||| finding paths [plugins]
||| checking [/usr/local/src/robot/old_versions/Nov18/robots-configuration/build/plugins] (pwd)
||| checking [/usr/local/src/robot/old_versions/Nov18/iCubContrib/share/ICUBcontrib/robots/iCubHamburg01/plugins] (robot)
||| checking [/home/icub/.config/yarp/plugins] (YARP_CONFIG_HOME)
||| checking [/home/icub/.local/share/yarp/plugins] (YARP_DATA_HOME)
||| checking [/etc/yarp/plugins] (YARP_CONFIG_DIRS)
||| checking [/usr/local/src/robot/old_versions/Nov18/yarp/build/share/yarp/plugins] (YARP_DATA_DIRS)
||| found /usr/local/src/robot/old_versions/Nov18/yarp/build/share/yarp/plugins
||| checking [/usr/local/src/robot/old_versions/Nov18/icub-main/build/share/iCub/plugins] (YARP_DATA_DIRS)
||| found /usr/local/src/robot/old_versions/Nov18/icub-main/build/share/iCub/plugins
||| checking [/usr/local/src/robot/old_versions/Nov18/iCubContrib/share/ICUBcontrib/plugins] (YARP_DATA_DIRS)
||| found /usr/local/src/robot/old_versions/Nov18/iCubContrib/share/ICUBcontrib/plugins
||| checking [/usr/local/src/robot/old_versions/Nov18/icub-tests/suits/plugins] (YARP_DATA_DIRS)
yarp: Port /icub/yarprobotinterface active at tcp://<IP_ADDRESS>:10002/
[INFO]startup phase starting...
||| finding paths [plugins]
[DEBUG]eth::parser::print(pc104Data) for PC104:
[DEBUG]PC104/PC104IpAddress:PC104IpPort =  <IP_ADDRESS>:12345
[DEBUG]PC104/PC104TXrate =  1
[DEBUG]PC104/PC104RXrate =  5
[DEBUG]EthSender is a PeriodicThread with txrate = 1 ms
[DEBUG]EthReceiver is a PeriodicThread with rxrate = 5 ms
[WARNING]in EthReceiver::config() the config socket has queue size =  2097152 ; you request ETHRECEIVER_BUFFER_SIZE=
[DEBUG]eth::parser::print(boardData) for BOARD head-eb20-j0_1
[DEBUG]ETH_BOARD/ETH_BOARD_PROPERTIES:
[DEBUG]ETH_BOARD/ETH_BOARD_PROPERTIES/IpAddress =  <IP_ADDRESS>
[DEBUG]ETH_BOARD/ETH_BOARD_PROPERTIES/IpPort =  12345
[DEBUG]ETH_BOARD/ETH_BOARD_PROPERTIES/Type =  mc4plus
[DEBUG]ETH_BOARD/ETH_BOARD_PROPERTIES/maxSizeRXpacket =  768
[DEBUG]ETH_BOARD/ETH_BOARD_PROPERTIES/maxSizeROP =  384
[DEBUG]ETH_BOARD/ETH_BOARD_SETTINGS:
[DEBUG]ETH_BOARD/ETH_BOARD_SETTINGS/Name =  head-eb20-j0_1
[DEBUG]ETH_BOARD/ETH_BOARD_SETTINGS/RUNNINGMODE/(period, maxTimeOfRXactivity, maxTimeOfDOactivity, maxTimeOfTXactivity, TXrateOfRegularROPs) =  1000 400 300 300 5
[DEBUG]ETH_BOARD/ETH_BOARD_ACTIONS/MONITOR_ITS_PRESENCE
[DEBUG]ETH_BOARD/ETH_BOARD_ACTIONS/MONITOR_ITS_PRESENCE/(enabled, timeout, periodOfMissingReport) =  true 0.02 60
[DEBUG]eth::EthMonitorPresence::config(): monitoring of presence is ON for BOARD <IP_ADDRESS> (head-eb20-j0_1) with timeout = 0.02 sec and period of missing report = 60 sec
[DEBUG]TheEthManager::requestResource2(): has just succesfully created a new EthResource for board of type mc4plus with IP =  <IP_ADDRESS>
[ERROR]embObjMC BOARD head-eb20-j0_1 (IP <IP_ADDRESS>)  ------ ATTENTION!!!! Wrong value of <MotioncontrolVersion> parameter !!!! ---------------------------------------------------------------------------------------
[ERROR]embObjMC BOARD head-eb20-j0_1 (IP <IP_ADDRESS>)  ------ This means that the configuration files of this device are not compatible with my parser, so I cannot start.
[ERROR]embObjMC BOARD head-eb20-j0_1 (IP <IP_ADDRESS>)  ------ I need version  5 , but in configuration files have version  3 .
[ERROR]embObjMC BOARD head-eb20-j0_1 (IP <IP_ADDRESS>)  ------ Please update configuration files in robots-configuration repository. (see http://wiki.icub.org/wiki/Robot_configuration for more information).
[ERROR]embObjMC BOARD head-eb20-j0_1 (IP <IP_ADDRESS>)  ------ If the problem persists contact<EMAIL_ADDRESS>.
[ERROR]embObjMC BOARD head-eb20-j0_1 (IP <IP_ADDRESS>)  ----------------------------------------------------------------------------------------------------------------------------------------------------------------
[ERROR]BOARD head-eb20-j0_1 (IP <IP_ADDRESS>)  Missing motion control parameters in config file
yarpdev: ***ERROR*** driver <embObjMotionControl> was found but could not open
[WARNING]Cannot open device head-eb20-j0_1-mc
[WARNING]Cannot open device head-eb20-j0_1-mc
[DEBUG]eth::parser::print(boardData) for BOARD head-eb21-j2_5
[DEBUG]ETH_BOARD/ETH_BOARD_PROPERTIES:
[DEBUG]ETH_BOARD/ETH_BOARD_PROPERTIES/IpAddress =  <IP_ADDRESS>
[DEBUG]ETH_BOARD/ETH_BOARD_PROPERTIES/IpPort =  12345
[DEBUG]ETH_BOARD/ETH_BOARD_PROPERTIES/Type =  mc4plus
[DEBUG]ETH_BOARD/ETH_BOARD_PROPERTIES/maxSizeRXpacket =  768
[DEBUG]ETH_BOARD/ETH_BOARD_PROPERTIES/maxSizeROP =  384
[DEBUG]ETH_BOARD/ETH_BOARD_SETTINGS:
[DEBUG]ETH_BOARD/ETH_BOARD_SETTINGS/Name =  head-eb21-j2_5
[DEBUG]ETH_BOARD/ETH_BOARD_SETTINGS/RUNNINGMODE/(period, maxTimeOfRXactivity, maxTimeOfDOactivity, maxTimeOfTXactivity, TXrateOfRegularROPs) =  1000 400 300 300 5
[DEBUG]ETH_BOARD/ETH_BOARD_ACTIONS/MONITOR_ITS_PRESENCE
[DEBUG]ETH_BOARD/ETH_BOARD_ACTIONS/MONITOR_ITS_PRESENCE/(enabled, timeout, periodOfMissingReport) =  true 0.02 60
[DEBUG]eth::EthMonitorPresence::config(): monitoring of presence is ON for BOARD <IP_ADDRESS> (head-eb21-j2_5) with timeout = 0.02 sec and period of missing report = 60 sec
[DEBUG]TheEthManager::requestResource2(): has just succesfully created a new EthResource for board of type mc4plus with IP =  <IP_ADDRESS>
[ERROR]embObjMC BOARD head-eb21-j2_5 (IP <IP_ADDRESS>)  ------ ATTENTION!!!! Wrong value of <MotioncontrolVersion> parameter !!!! ---------------------------------------------------------------------------------------
[ERROR]embObjMC BOARD head-eb21-j2_5 (IP <IP_ADDRESS>)  ------ This means that the configuration files of this device are not compatible with my parser, so I cannot start.
[ERROR]embObjMC BOARD head-eb21-j2_5 (IP <IP_ADDRESS>)  ------ I need version  5 , but in configuration files have version  3 .
[ERROR]embObjMC BOARD head-eb21-j2_5 (IP <IP_ADDRESS>)  ------ Please update configuration files in robots-configuration repository. (see http://wiki.icub.org/wiki/Robot_configuration for more information).
[ERROR]embObjMC BOARD head-eb21-j2_5 (IP <IP_ADDRESS>)  ------ If the problem persists contact<EMAIL_ADDRESS>.
[ERROR]embObjMC BOARD head-eb21-j2_5 (IP <IP_ADDRESS>)  ----------------------------------------------------------------------------------------------------------------------------------------------------------------
[ERROR]BOARD head-eb21-j2_5 (IP <IP_ADDRESS>)  Missing motion control parameters in config file
yarpdev: ***ERROR*** driver <embObjMotionControl> was found but could not open
[WARNING]Cannot open device head-eb21-j2_5-mc
[WARNING]Cannot open device head-eb21-j2_5-mc
[INFO]/icub/head : no ROS initialization required
[INFO]/icub/head  initting YARP initialization
yarp: Port /icub/head/rpc:i active at tcp://<IP_ADDRESS>:10003/
yarp: Port /icub/head/command:i active at tcp://<IP_ADDRESS>:10004/
yarp: Port /icub/head/state:o active at tcp://<IP_ADDRESS>:10005/
yarp: Port /icub/head/stateExt:o active at tcp://<IP_ADDRESS>:10006/
[INFO]created wrapper <controlboardwrapper2>. See C++ class yarp::dev::ControlBoardWrapper2 for documentation.
||| finding paths [plugins]
[INFO]created device <parametricCalibratorEth>. See C++ class yarp::dev::parametricCalibratorEth for documentation.
[WARNING]There was some problem opening one or more devices. Please check the log and your configuration
[ERROR]One or more devices failed opening... see previous log messages for more info
[ERROR]Error in startup phase... see previous messages for more info
[WARNING]Interrupt # 1 # received.
[INFO]Interrupt received. Stopping all running threads.
[INFO]interrupt1 phase starting...
[INFO]Entering action level 1 of phase interrupt1
[ERROR]park device do not exists
[ERROR]Cannot run park action on device head-calibartor
[INFO]All actions for action level 1 of interrupt1 phase started. Waiting for unfinished actions.
[INFO]All actions for action level 1 of interrupt1 phase finished.
[WARNING]There was some problem running actions for interrupt1 phase . Please check the log and your configuration
[INFO]interrupt1 phase finished.
[ERROR]Error in interrupt1 phase... see previous messages for more info
[INFO]shutdown phase starting...
[INFO]Entering action level 5 of phase shutdown
[ERROR]head-mc_wrapper is not a wrapper, therefore it cannot have detach actions
[ERROR]Cannot run detach action on device head-mc_wrapper
[INFO]All actions for action level 5 of shutdown phase started. Waiting for unfinished actions.
[INFO]All actions for action level 5 of shutdown phase finished.
[WARNING]There was some problem running actions for shutdown phase . Please check the log and your configuration
[INFO]shutdown phase finished.
[ERROR]Error in shutdown phase... see previous messages for more info
[INFO]RFModule failed to open.
yarp:
 Warning an issue has been found, please update the code.
     Clock is not initialized: This means YARP framework has not been properly initialized.
     The clock can be initialized with one of the following methods:
     - Create yarp::os::Network object or call yarp::os::Network::init()
     - Call useSystemClock()
     otherwise use yarp::os::SystemClock::nowSystem() and yarp::os::SystemClock::delaySystem() instead of Time::now() and Time::delay()

Hi @stu105502 ,
please open an issue on icubSupport, so they can help you to update your robot.
cc @julijenv

Thanks!


[ethercats-founder-series] added ethercats nft strategy

@naomsa#5548 Also there is a heap memory error on GitHub action and test cases fail

I think we should try the solution with subgraph  https://thegraph.com/hosted-service/subgraph/alexvorobiov/eip1155subgraph

I think we should try the solution with subgraph https://thegraph.com/hosted-service/subgraph/alexvorobiov/eip1155subgraph

This subgraph reports ownership incorrectly for the collection. This subgraph probably shouldn't be used for anything without a patch and full audit. It's not really an edge case either, it will affect all collections using Chainlink VRF I believe to start with.
Is there another subgraph we can validate against?


MessageType HTTP headers are incorrect for confirmations and rejections (charge + links)

The HTTP header MessageType does not contain correct values for Charge + Charge Links confirmations and rejections.
According to SME Christian, the values shall match the messages' CIM names, located in this guide.
Acceptance criteria
Given an actor peeks one of below messages,
When checking the HTTP header 'MessageType'
Then the value must be as listed below:

Message
MessageType

Charge confirmation
ConfirmRequestChangeOfPriceList

Charge rejection
RejectRequestChangeOfPriceList

Charge link confirmation
ConfirmRequestChangeBillingMasterData

Charge link rejection
RejectRequestChangeBillingMasterData

Deployed PR 1343 as a prerelease to U-001 and verify that it didn't conflict with existing data in MessageHub receipt table. As expected, existing data will use the incorrect header value, but data received after deployment use the new correct value.
Confirm:

Rejection:

Charge Link part deployed as well, here seen on U-001:

For the tester:
The Charges part can easily be tested on T-001.
Charge Links however, might be best doing in U-001 og B-002.

Test 10 May: Use environment  t-001
Acc.
Given an actor peeks one of below messages:
Message	MessageType
Charge confirmation	ConfirmRequestChangeOfPriceList
Charge rejection	RejectRequestChangeOfPriceList
Charge link confirmation	ConfirmRequestChangeBillingMasterData
Charge link rejection	RejectRequestChangeBillingMasterData
Charge:
Greate fee confirm:
ConfirmRequestChangeOfPriceList_MarketDocument xmlns:cim="urn:ediel.org:structure:confirmrequestchangeofpricelist:0:1">

OK

Test chargelink messagetype Environment B-002 10. May
Create link - Confirm


VCF/Genotype Functionality

Coverage remained the same at 80.18% when pulling 71a501d16c96e89d232d46bd36bb3c583222dbea on abhim00:master into 50ac4d8a9a8183060536098af1fda8e4184a0549 on bigdatagenomics:master.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/895/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/896/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/899/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/902/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/906/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/907/
Test FAILed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/909/
Test PASSed.

Nice @abhim00 glad you got it working!

Thank You! @akmorrow13

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/910/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/911/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/912/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/914/
Test PASSed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/915/
Test FAILed.

Jenkins, retest this please.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/916/
Test PASSed.


Error: Unable to resolve module

Description
Happens only in iOS
Error: Unable to resolve module ./Libraries/Components/DatePicker/DatePickerIOS from /Library/MyFolder/App/Mobile App/App/node_modules/react-native/index.js
None of these files exist:

node_modules/react-native/Libraries/Components/DatePicker/DatePickerIOS(.native|.native.ts|.ts|.native.tsx|.tsx|.native.js|.js|.native.jsx|.jsx|.native.json|.json)

React Native Version
0.70.8
Output of npx react-native info
System:
OS: macOS 13.4.1
CPU: (8) arm64 Apple M1
Memory: 67.48 MB / 8.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 19.8.1 - /opt/homebrew/bin/node
Yarn: Not Found
npm: 9.5.1 - /opt/homebrew/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.12.0 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
Languages:
Java: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.8 => 0.70.8
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Open terminal
enter: npx expo start
enter: i
After opening app in iOS simulator the console shows the error.
Snack, code example, screenshot, or link to a repository
.

DatePickerIOS is deprecated. Please consider using one of the community packages instead.

DatePickerIOS is deprecated. Please consider using one of the community packages instead.

That is not the issue. I tried commenting the line causing the warning. Then the same warning occurs with component in the next line, say for example TextField.

Hi Team, I am unable to import / require 3gp extension files. Able to require mp3, mp4 extension files. Tried adding the 3gp extension to .flow_config. But still facing the same issue. Kindly help.


Bug with "redo" button

Bug with the redo button when we add an icon and move this icon on the layer.
Steps to reproduce the behavior:

Go to http://nhn.github.io/tui.image-editor/latest/tutorial-example01-includeUi

Click on the add icon

Move the icon in the container to someplace

Add several steps to add something to the history stack

Try to make undo and redo all steps

And after that, I have an error in the console logs and my history buttons blocked.

@bershek
I checked. Thank you for the information.


Discover API option: OpenAPI with modified template or wrapper

Definition of done

[ ]Implement:

[ ] GetObject
[ ] UploadObject
[ ] (Optionally) something with streaming or pagination

[ ] Use a single port on the lakeFS side
[ ] Show calls from:

[ ] Web browser (GUI) [TypeScript]
[ ] Hadoop client (without JNI!) [Java]

[ ] Object validation on client must be optional

New client SDK is out :-)


user-agent manipulation

Hello,
we want to test some apps that blacklist some user-agents. Actually in Firefox the Samsung SmartTV 2015 user-agent is used and it is not possible to define a different configuration. It would be nice to test different options to test different blacklist behaviors.
Would i be possible to add an option to customize the complete user-agent?

Sure I had this in mind and the UI design is already in place inside the extension popup.
In fact I just need to transfer properly the given user-agent to the injected Javascript code.
I am working on it and it will be in next release.


I have Lotus running locally. How do I access?

I want to connect to the local Docker instance of Lotus, so I can run the API query below.  How do I do that?
I have both the mongo and lotus-online containers running, but I only see command line access via the Docker dashboard.
https://lotus.naturalproducts.net/api/search/simple?query=inchikey

Hi @stuchalk!
It is difficult to understand what you are looking for following your previous issue.
Maybe you could reach out for more details about your motivations
Anyway, to be able to "see" your local LOTUS instance, if everything went well, you should be able to add a port of your choice to docker-compose.yml and you should be able to access a local version.
services:
  lotus-online:
    build: '.'
    restart: always
    image: nponline/lotusweb:latest
    container_name: lotus-online
    volumes:
    - ./data:/data
    ports:
      - '8092:8092' // This is the port you want to add

And then, after running
docker-compose up -d --no-deps --build lotus-online

If you run
docker ps -a

You should see
CONTAINER ID   IMAGE                      COMMAND                  CREATED          STATUS          PORTS                                 NAMES
c43eaf307982   nponline/lotusweb:latest   "java -Xmx10000m -Dj…"   3 seconds ago    Up 1 second     <IP_ADDRESS>:8092->8092/tcp                lotus-online
84f068ba15fe   mongo:4.0.6                "docker-entrypoint.s…"   10 minutes ago   Up 10 minutes   27017/tcp, <IP_ADDRESS>:27019->27019/tcp   npoc-mongo-db

And opening <IP_ADDRESS>:8092in your browser should show you your local LOTUS.
Hope this helps and sorry if your question was misunderstood.

This is exactly what I was looking for, thank you!.
I followed the directions, added the latest download of the mongo db and I get a website at port 8092 :)
Sadly though this happens when I go to the site at port 8092…
https://www.dropbox.com/s/q6zbpxg2jbkmkbj/lotus.mov?dl=0
(This video was to big to send over email but it is only 10 secs)
There is also the following error in the lotus-online container command line…
java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:415) ~[tomcat-embed-core-9.0.30.jar!/:9.0.30]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:260) ~[tomcat-embed-core-9.0.30.jar!/:9.0.30]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.30.jar!/:9.0.30]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860) [tomcat-embed-core-9.0.30.jar!/:9.0.30]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1598) [tomcat-embed-core-9.0.30.jar!/:9.0.30]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.30.jar!/:9.0.30]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_171]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_171]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.30.jar!/:9.0.30]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_171]
I can use the CName, the IP address or <IP_ADDRESS> and they all give the same thing.  Any ideas?
Stuart
On Oct 17, 2022, at 10:56 AM, Adriano Rutz<EMAIL_ADDRESS>wrote:
Hi @stuchalkhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fstuchalk&data=05|01|schalk%40unf.edu|009a4d914c9748dfd01508dab04fc1e7|df29b2fa8929482f9dbb60ff4df224c4|1|0|638016153845812915|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=nkZ88APSEqK5zzGg8Wf2afJreR8sEEpGu2DeLQTfrzs%3D&reserved=0!
It is difficult to understand what you are looking for following your previous issue.
Maybe you could reach out for more details about your motivations
Anyway, to be able to "see" your local LOTUS instance, if everything went well, you should be able to add a port of your choice to docker-compose.yml and you should be able to access a local version.
services:
lotus-online:
build: '.'
restart: always
image: nponline/lotusweb:latest
container_name: lotus-online
volumes:
- ./data:/data
ports:
- '8092:8092' // This is the port you want to add
And then, after running
docker-compose up -d --no-deps --build lotus-online
If you run
docker ps -a
You should see
CONTAINER ID   IMAGE                      COMMAND                  CREATED          STATUS          PORTS                                 NAMES
c43eaf307982   nponline/lotusweb:latest   "java -Xmx10000m -Dj…"   3 seconds ago    Up 1 second     <IP_ADDRESS>:8092->8092/tcp                lotus-online
84f068ba15fe   mongo:4.0.6                "docker-entrypoint.s…"   10 minutes ago   Up 10 minutes   27017/tcp, <IP_ADDRESS>:27019->27019/tcp   npoc-mongo-db
And opening <IP_ADDRESS>:8092in your browser should show you your local LOTUS.
Hope this helps and sorry if your question was misunderstood.
—
Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flotusnprod%2Flotus-web%2Fissues%2F32%23issuecomment-1280998646&data=05|01|schalk%40unf.edu|009a4d914c9748dfd01508dab04fc1e7|df29b2fa8929482f9dbb60ff4df224c4|1|0|638016153845812915|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=8DXL9HLc9koXhfYfYFPnmeRvaR6Nt9LLYNdGqV4H0Ps%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAED35RVOKEAI5FZY3QMEUDWDVSJNANCNFSM6AAAAAARFQC6UI&data=05|01|schalk%40unf.edu|009a4d914c9748dfd01508dab04fc1e7|df29b2fa8929482f9dbb60ff4df224c4|1|0|638016153845812915|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=5AdKzE4XLn4XrQR2W3bTHq3eXUyEh6pI%2BG2MUsvZ40k%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

Sadly, I am not able to reproduce your issue. It might be some platform/network/version specific one we did not encounter yet.
Anyway, I still did not understand your use case entirely so do not hesitate if there is something we can help with!

So, my use case is I want to host Lotus locally to speed up access to the data during the process of creating over 400,000 files (one lotus API query per file) which currently takes four days to complete in Python.
My specific issue here is that running Lotus in Docker, the interface does not allow me to see the data on the Lotus (Docker) homepage.  Could I ask you to review the instructions you have in the README.md file to create the Mongo DB with all of its indexes?  It have executed all the commands at the end of the readme file and I am wondering if there is/are other commands that should also be run.
If the commands are correct, are there any other commands that I can run in the Docker container to check/test that my Mongo/container setup is what you expect?
Stuart
On Oct 25, 2022, at 11:19 AM, Adriano Rutz<EMAIL_ADDRESS>wrote:
Sadly, I am not able to reproduce your issue. It might be some platform/network/version specific one we did not encounter yet.
Anyway, I still did not understand your use case entirely so do not hesitate if there is something we can help with!
—
Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flotusnprod%2Flotus-web%2Fissues%2F32%23issuecomment-1290246159&data=05|01|schalk%40unf.edu|f3b6f4bafa584ed27d5308dab66a025d|df29b2fa8929482f9dbb60ff4df224c4|1|0|638022863687465321|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=6vvXyWFm3%2F4ZNEdG9aIqUbr7HoFH2kaNEqVuPXrCxuU%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAED35UUPHS5NW4TFNFAUFTWE6QZXANCNFSM6AAAAAARFQC6UI&data=05|01|schalk%40unf.edu|f3b6f4bafa584ed27d5308dab66a025d|df29b2fa8929482f9dbb60ff4df224c4|1|0|638022863687465321|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=dJq37T4RmLIld5L%2BrmG8fWNz%2F8Tt7ddgGORjRNx3IK0%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

Rebuilding the website is probably not the way to go then.
There are multiple ways to access the data locally:

https://zenodo.org/communities/the-lotus-initiative/?page=1&size=20
Live on Wikidata (see https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry/Natural_products)
Through PubChem (https://pubchem.ncbi.nlm.nih.gov/source/25132), where you also can download everything locally for later on.

I have difficulties understanding your question about the indices of the DB. Those are to speed up the website later. If you built the MongoDB correctly, you shall be able to "visualize" it through any app of your choice to do so (DataGrip as an example). This is independent from Docker or indices

I have looked at each of these resources and I do not see another copy of the database in MongoDB, which is what I would like to use the data.  If I am missing something please let me know...

You did not miss anything, this is because the mongoDB is only used by the website.
You should be able to fill the DB with the last Zenodo version using https://github.com/Adafede/LOTUSfiller. There is a small R helper to get the huge csv in the correct format to get into the DB. Hope this helps...

OK, I try this.  Thanks for the help!


Reveal animation issues

Kind of a bug but not really.
Currently reveal animates using height or width - this makes things harder because it's affecting the flow of the page. Performance isn't the main worry here - it's the position of the focal element changing because its parent containers dimensions are changing.
In the #75 PR up we work around this in two ways:

Props to turn off XY transitions when appropriate (really just a band aid solution)
Prop to optionally transition using clip-path which means the parent container never has its dimensions changed. This results is the transition working in all scenarios, but sacrifices browser compatibility (IE/Edge).

I think there can probably be a middle ground where we can force the parent to always have a fixed size then animate the contents, but its a little more involved for the consumer than I would have liked.

Add troubleshooting to the docz for this. If it aint broke don't fix it.


A successful message was displayed even if InjectDll failed

I tried to use inject  against a protected process which wouldn't allow to be opened. Despite the OpenProcess API was failing, the tool was displaying a successful message on the command prompt.
On failing, InjectDll was rcorrectly eturning EXIT_FAILURE,  but the subsequent check here wasn't correct.
This PR fixes this issue.

Woot awesome - thanks for the contribution!
I've just added a few minor comments :)
Cheers


ColorDistanceSensor: What are those additional modes doing?

@highstreeto
Do you know / found out hwat the additional modes of the 88007 do?
public byte ModeIndexIRTx { get; protected set; } = 7;
public byte ModeIndexSPEC1 { get; protected set; } = 8;
public byte ModeIndexDebug { get; protected set; } = 9;
public byte ModeIndexCalibration { get; protected set; } = 10;
IR sounds like Infrared; and it is an ouptput. Can we use it like an IR-control? Controlling PowerFunctions-devices?? That would be fun!
SPEC1 is neither input nor output according to "CLI device list" I have no idea! Sounds like "SPECIAL"
What can be done by calibration (input) on this device?

Not really. I played around a bit with CALIB, but it seems to just shut off when "triggering" this mode.
My current understanding is that the sensor does a self-calibration on startup, as it switches through different modes (indicated by the color) and maybe the CALIB mode is for getting the calibration values? (more testing required).
If I find more out, I will add it to my PR at the sharpbrick/docs repo.

I highly recommend not playing around with calibration call. Who knows what calibration procedure is executed in the LEGO facilities. Executed the wrong way, you might brick your brick 🙂

@dkurok you will find out that in most devices there are undocumented modes.

Can we use it like an IR-control? Controlling PowerFunctions-devices?? That would be fun!

Yes, this is possible with both the official Powered Up Control+ app and Pybricks.
I think SPEC1 is just a precursor to the multi-mode stuff on newer sensors. It allows measuring multiple values at the same time.

@highstreeto May I present @dlech. He and his team are the level deeper and with some guys measuring the electric cables are the folks with the most knowledge outside of LEGO.
If you are interested in doing some stuff in this area, checkout their codebase, learn and apply it here and the docs repo ;)
@dlech As always, thanks for helping out!!!

I highly recommend not playing around with calibration call. Who knows what calibration procedure is executed in the LEGO facilities. Executed the wrong way, you might brick your brick 🙂

Yeah, I just tested it once and never touched it again

Can we use it like an IR-control? Controlling PowerFunctions-devices?? That would be fun!

Yes, this is possible with both the official Powered Up Control+ app and Pybricks.
I think SPEC1 is just a precursor to the multi-mode stuff on newer sensors. It allows measuring multiple values at the same time.

Ah good to know. As I have no PF things, I cannot test/implement this.

@highstreeto May I present @dlech. He and his team are the level deeper and with some guys measuring the electric cables are the folks with the most knowledge outside of LEGO.
If you are interested in doing some stuff in this area, checkout their codebase, learn and apply it here and the docs repo ;)
@dlech As always, thanks for helping out!!!

Will do

@highstreeto & @tthiery
I would like to extend ColorDistanceSensor-device with the output-functions for
- Mode 5: Name: COL O, Symbol: IDX, Capability: Output  (letting the LED of the device shine)
- Mode 7: Name: IR Tx, Symbol: N/A, Capability: Output (trying to get PF-motors/PF-devices to run; I've got enough of them)
and the reading of

Mode 8: Name: SPEC 1, Symbol: N/A, Capability: (this seems to be a one-go fetch of values for distance, color and reflection)

This would change ColordistanceSensor.cs and extend the example for the sensor.
Want to avoid two or more of us working on it.
So is there interest in it from your side that I do it or is someone else working on it?

This would change ColordistanceSensor.cs and extend the example for the sensor.
Want to avoid two or more of us working on it.
So is there interest in it from your side that I do it or is someone else working on it?

No interset from my side, so go for it


⚠ Bofrost.es has degraded performance

In 44cb2fb, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1502 ms

Resolved: Bofrost.es performance has improved in 2fd4901 after 6 minutes.


Schema issues. . .

Steps to reproduce:

clone - https://github.com/tezosmiami/hicdex.git
run readme commands
dipdup schema approve for more errors

What did you expect to happen:
hicdex to run. . .
What actually happened:
errors - see attached. . .
Environment
on ubuntu 22.04 server

Python version:
3.10.7
DipDup version or commit hash:
6.5.5
Database engine version:
postgres:14
Hasura version:
2.22.1
Are you in docker?
yes
Can you reproduce this issue on master?
yes

config.txt
errors.txt
models.txt
schema.txt

Oh, I remember this one from Discord! Definitely need to be on the F.A.Q. page.
$ dipdup schema export > schema.sql
$ dipdup schema export > schema-2.sql
$ diff schema.sql schema-2.sql
116c116
<     "timestamp" TIMESTAMP NOT NULL  DEFAULT '2023-04-19T21:16:31.183036',
---
>     "timestamp" TIMESTAMP NOT NULL  DEFAULT '2023-04-19T21:16:36.231221',

You need to make the following change in models.py:
<     timestamp = fields.DatetimeField(default=datetime.utcnow())
>     timestamp = fields.DatetimeField(auto_now=True)

Let's keep this one open until docs are updated.

made the change - getting same error. . .

much thanks again to @droserasprout - realized had to run -  dipdup -c dipdup.yml -c dipdup.prod.yml schema wipe - now getting the following error - tried on local and server. . .
WARNING  dipdup.database      Can't establish database connection, attempt 1/60
...

Fixed in 8eaf61a6. . . Thanks!


New validation logging

Summary
This pull requests adds more detailed log information when a resource within the extracted bundle fails validation.
It introduces use of the compile function in AJV to generate a validator object that comes with errors we can filter and display in a more detailed manner.
We also now use the subSchema motif to pul off refs to specific resources in the schema that we wish to validate from within the loop, allowing us to collect all the error messages present for that resource rather than short circuit after one.
New behavior
New log messages to the console when a resource fails validation. E.g.:
# Warning level
15:20:21.41 [warn]:     Extracted bundle is not valid FHIR, the following resources failed validation: Patient-789 at .gender

# Debug level
15:20:21.41 [warn]:     Extracted bundle is not valid FHIR, the following resources failed validation: Patient-789 at .gender
15:20:21.41 [debug]:    Patient-789 at .gender - should be equal to one of the allowed values

The default behavior now logs the resource ID and any attributes on that resource that failed validation. When debug is enabled, the specific error message will be displayed too for every error.
Code changes

Modify fhirUtils to use ajv compile and the sub schema
Update BaseClient to join all errors and resources failing during log warn and debug statements
Update some test fixtures to adhere to new validation behavior

Testing guidance
To cause some validation errors, I would recommend making some changes in our templates. Some test cases that I tried included changing properties that were supposed to be dates and making them just strings or booleans or something, and also changing attributes that are enums (e.g. gender) to have a value that doesn't exist in that enum.
Feel free to experiment with other cases that you might expect to fail validation smartly.
Run without debug to see just the basic warning message that lists the resources that are failing and where they are failing. Run with debug to see the detailed error messages.

How do you feel about updating the README section that talks about date filtering here? I know it doesn't related to this PR specifically, but I want to reflect the conversation we had at stand up earlier this week. In the "Extraction Date Range" section, I updated the second line and added a third to result in the section reading like this:
### Extraction Date Range

The mCODE Extraction Client will extract all data that is provided in the CSV files by default, regardless of any dates associated with each row of data. It is recommended that any required date filtering is performed outside of the scope of this client.

If for any reason a user is required to specify a date range to be extracted through this client, users _must_ add a `dateRecorded` column in every relevant data CSV file. This column will indicate when each row of data was added to the CSV file. Note that this date _does not_ correspond to any date associated with the data element.

Note that some resources should always be included and should not be filtered out with a `dateRecorded` column and date. For example, every extraction should extract patient information to a Patient resource, so no `dateRecorded` column should be provided in a CSV that contains the Patient information.

Let me know if you think this is overstepping this PR or if you don't like how this reads.

Added some test cases!


[6.x] Fix validation rule 'required_unless' when other field value is boolean.

Validator::make(['a' => false ], [ 'b' => 'required_unless:a,false']);

This validator should pass, but fail, this PR fix it.

@driesvints Thanks


Don't need functions_open-source.txt

Anything in there should be in defs/refs

Little more integrated than I though. Pushing to next version


Get system info on command start and export it to the scripts

Pull Request
Title
Get system info on command start and export it to the scripts
Type of Change

[x] New feature
[ ] Bug fix
[ ] Documentation Update
[x] Refactoring
[ ] Hotfix
[ ] Security patch
[ ] UI/UX improvement

Description
We could lower the barrier of entry for contributing commands by providing a "shell" that takes care of any distro specific tasks that the scripts can then leverage. This is the first step towards that.
Instead of relying on every script having to import common-script.sh, it's very easy for us to do that detection before running and export those variables to the temporary shell.
I'm hoping this will also reduce:
  if command -v apt-get >/dev/null 2>&1; then
    sudo apt-get update
    sudo apt-get install -y zsh
  elif command -v yum >/dev/null 2>&1; then
    sudo yum install -y zsh
  elif command -v dnf >/dev/null 2>&1; then
    sudo dnf install -y zsh
  elif command -v pacman >/dev/null 2>&1; then
    sudo pacman -Syu zsh
  elif command -v zypper >/dev/null 2>&1; then
    sudo zypper install -y zsh
  else
    echo "No compatible package manager found. Please install zsh manually." >&2
    exit 1
  fi

and the like by also providing variables for install, remove and update commands.
Testing
I added the info.sh command which should display all the variables that are exported. I have only tested it with my distro, so if you're running something other than Fedora I would appreciate a quick check on this.
Impact
Easier command development.
Additional Information
I just want to be sure I accounted for all the distros/package managers.
Checklist

[x] My code adheres to the coding and style guidelines of the project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no errors/warnings/merge conflicts.

Package names are different between distros, so I'm not convinced that this is a particularly good idea in general. This execution is not particularly good either. Failure to find a package manager should not result in a panic. You've also rewritten a std function and allocated a few strings for no reason. Using a variable containing spaces in execution probably also isn't going to work, try running "apt install" or the equivalent from your distro (including quotes) and you'll see the issue. It's parsed as one command.

@lj3954 Thanks for the feedback! This is my first time writing Rust so I'm not surprised I made mistakes along the way. Do you mind being a little more specific in what I could fix?
As far as the variable goes, wouldn't using eval() work? Or am I thinking about it wrong?

Do you mind being a little more specific in what I could fix?

Pull down https://github.com/lj3954/linutil/commit/74b75eb29dc400716f2b0bf4e7abb37954203f46.

wouldn't using eval() work?

Eval usually isn't recommended for security reasons, it's probably better to just split the command out.

we could still account for that using $SYS_ID

Or through the package manager's name. Which is what's already being done throughout the scripts.

@lj3954 I really appreciate you taking the time to do this :pray:
I'm going to implement your changes and put up a new commit. Just want to take some time to learn from it first.

As far as splitting the commands, I see you removed the package manager name from the install, update, and remove commands which makes a ton of sense. I understand your points when it comes to this idea.
What I'm trying to work towards is creating a slight layer of abstraction so the actual scripts are easier to write. I'm also new to daily driving linux so I'm not as familiar with the slight differences between distros. How often would the package names be different?
If they are the same more than they are different, then I would find it helpful if we could reduce the amount of scripts in which we have to check for a specific distro just to know what install command to use.
Example:
Kitty is kitty in most distros as far as I know. So instead of having to do:
case ${PACKAGER} in
            pacman)
                sudo "${PACKAGER}" -S --noconfirm kitty
                ;;
            *)
                sudo "${PACKAGER}" install -y kitty
                ;;
        esac

It could just be "$PACKAGE_MANAGER" "$INSTALL_COMMAND" kitty

@lj3954 Implemented your changes :+1:
Thanks again. I learned a lot of the insane string manipulation features rust has.

Sorry for the inconvenience. We had a massive restructure of the codebase to improve future development. Because of this can you update your PR to the new structure. Thank you for your assistance and contribution.


after 19.7 upgrade VIRTIO NICs not detected anymore

I run OPNSense on UNRaid VM (Q35) using virtual NICs (VIRTIO).
On 19.1 only Q35-2.6 worked, using other Q35-x.x there were no NICs detected in OPNsense.
So I ran Q35-2.6, everything fine.
Since update to 19.7 there are no NICs detected anymore!! I tried other Q35 versions, also tried a fresh install an a new VM. => 19.1 shows NICs, 19.7 does not find NICs!!
Now I run a Backup on 19.1 again.

The kernel we use for 19.7 is quite similar to the one in the latest 19.1.
To pinpoint the issue, can you test the following and let us know when/if your issue appears:

Install 19.1.4 (https://pkg.opnsense.org/releases/19.1/)
Install new netmap kernel, run from a console : opnsense-update -kr 19.1.4-netmap
Reboot

I was able to Install 19.1.4 in VM (NICs okay)
I was able to update Kernel in same VM
After reboot I have 100% CPU-usage on host and VM does not start correctly

root mount issues can't really be related to the netmap kernel. No clue what the issue with your setup is, but it looks broader than a network driver issue.

please tell me if I can test something else to explore the issue in more detail.
thank you.

I have exactly the same problem.
in 19.1 it was working, after the upgrade networks cards were not detected.
I am using q35 3.1 and the nics are passthough to the VM. I am using IOMMU
If it worth something I had the same issue with pfsense 2.5
It looks like is not an isolated issue
https://forum.opnsense.org/index.php?topic=13607.0

This issue does happen with Q35 but not i440fx. I'm not sure if this is a opnsense issue at all. Have any of you opened a bug report with QEMU?

@pmoser1976 maybe you can post the bug here
https://bugs.launchpad.net/qemu/
I could do it but I think you are more tekkie than I do and I won't know how to anwer their questions.
I think it might be a problem between the FreeBSD version that opnsense 19.7 and pfsense 2.5 are running and Qemu.

This issue does happen with Q35 but not i440fx. I'm not sure if this is a opnsense issue at all. Have any of you opened a bug report with QEMU?

i440fx isn't suppose to be for windows sysmtems? would it have a worse performance compared with Q35?

Link me to where you heard i440fx is windows only.

I don't know this unraid-thingie, but is it possible to switch Q35/i440fx to virtio/virtio-net?
I use bhyve on FreeBSD and HardenedBSD/OPNsense has these virtio-drivers built in.

I don't know this unraid-thingie, but is it possible to switch Q35/i440fx to virtio/virtio-net?
It could need a fresh install of the vm, but I think it's worth the shot.

Yes. Enable virtio in tunables. You swap a setting in the QEMU config and done. No need to reinstall.

I think it might be related to this
Bug 236922 - Virtio fails as QEMU-KVM guest with Q35 chipset
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236922
FreeBSD 12-RELEASE guest in QEMU/KVM
https://forums.freebsd.org/threads/freebsd-12-release-guest-in-qemu-kvm.70207/

In case it's relevant, I am also getting this error, but not only is the virtio not being detected, neither are the passthrough nics.

This might be a FreeBSD 11.3 -ish related patch issue. We're still on 11.2 but with a few networking patches for better netmap support which landed in 11.3.


Created JavaScript apiView diff is unexpected, which misses diffs

The created JavaScript apiView diff is unexpected because there are are lots of diff not shown in apiview. You can find the details by comparing ApiView link and Github PR diff

@praveenkuttappan Is this still an issue?

I am not sure what's the issue here. I see only two export lines in generated API review file but this package has lot of other lines in API extracted md file. API extractor library is the one generate document model to create API review.
@jeremymeng @joheredi  Can you please let us know if this is some issue in APIView extractor which is not generating all public surface info for @azure-rest/purview-administration
Here is the api-extractor MD file: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/purview/purview-administration-rest/review/purview-administration.api.md
Corresponding API view file I generated on staging: https://apiviewstaging.azurewebsites.net/Assemblies/Review/ad1f02281c3d4b4ab50bc441dfe4d6eb

@praveenkuttappan where can we find code relevant to use api extractor library to generate document model?  When I build locally, I see expected api.json generated under ./temp folder.

@jeremymeng  is this still a thing?

Closing issue as we don't have enough information to follow up on it


memory leak when calling ConnectHelper.get_all_connected_probes()

Issue:
When calling ConnectHelper.get_all_connected_probes() multiple times memory consumption increases indefinitely.
System:

Linux
libusb-1.0.24-2
python3.8, python3.9
pyocd-0.28.3, pyocd-0.29.0

Steps to reproduce:
>>> from pyocd.core.helpers import ConnectHelper
>>> while True:
>>> ... ConnectHelper.get_all_connected_probes(blocking=False)
I also tried to call garbage the collector manually, however this didn't help. Presumably there is still a reference somewhere to something?! The background of the whole thing is, that I have a daemon that checks periodically for new probes and after some time the daemon occupies the whole memory.

Thanks for reporting. Definitely an issue if you need to continually check for new probes!
I agree there's probably a reference left dangling somewhere. Hopefully it's not somewhere in pyusb that can't be easily fixed.

Thanks for reporting. Definitely an issue if you need to continually check for new probes!
I agree there's probably a reference left dangling somewhere. Hopefully it's not somewhere in pyusb that can't be easily fixed.

What type(s) of probe(s) are you using? That could narrow down the possibilities.

What type(s) of probe(s) are you using? That could narrow down the possibilities.

The memory leak seems to be independent from the type of probe as there is a leak even if no probe is attached. However typically I use J-Link and/or ST-Link probes where the error also occurs.

Very interesting, I'm surprised it leaks with no probe attached. That's very helpful.

I can reproduce it on macOS 10.15 with one CMSIS-DAPv1 (hidapi), one CMSIS-DAPv2 (libusb), and an STLinkV2-1 (libusb).
It doesn't seem to leak when no probes are attached. I need to try it on Linux and Windows next, and start trying to narrow down the root cause.

I also confirm this is happening, I have 3 Raspberry Pi Debug Probes attached and after making O(10) consecutive connections on a Raspberry Pi 3 I see the same MemoryError:
Traceback (most recent call last):
File "/home/pi/sram/swdtest.py", line 366, in cycle_dut
session = ConnectHelper.session_with_chosen_probe(unique_id = debug_id,
File "/home/pi/sram/.env/lib/python3.9/site-packages/pyocd/core/helpers.py", line 257, in session_with_chosen_probe
probe = ConnectHelper.choose_probe(
File "/home/pi/sram/.env/lib/python3.9/site-packages/pyocd/core/helpers.py", line 154, in choose_probe
allProbes = ConnectHelper.get_all_connected_probes(blocking=blocking, unique_id=unique_id)
File "/home/pi/sram/.env/lib/python3.9/site-packages/pyocd/core/helpers.py", line 94, in get_all_connected_probes
allProbes = DebugProbeAggregator.get_all_connected_probes(unique_id=unique_id)
File "/home/pi/sram/.env/lib/python3.9/site-packages/pyocd/probe/aggregator.py", line 57, in get_all_connected_probes
probe = cls.get_probe_with_id(unique_id, is_explicit)
File "/home/pi/sram/.env/lib/python3.9/site-packages/pyocd/probe/jlink_probe.py", line 84, in get_probe_with_id
jlink = cls._get_jlink()
File "/home/pi/sram/.env/lib/python3.9/site-packages/pyocd/probe/jlink_probe.py", line 58, in _get_jlink
return pylink.JLink(
File "/home/pi/sram/.env/lib/python3.9/site-packages/pylink/jlink.py", line 293, in init
lib = library.Library(use_tmpcpy=use_tmpcpy)
File "/home/pi/sram/.env/lib/python3.9/site-packages/pylink/library.py", line 293, in init
self.load_default()
File "/home/pi/sram/.env/lib/python3.9/site-packages/pylink/library.py", line 351, in load_default
return self.load(path)
File "/home/pi/sram/.env/lib/python3.9/site-packages/pylink/library.py", line 401, in load
outputfile.write(inputfile.read())
MemoryError


simple-router branch reference in README

Sorry, i'm not expert in english :)
Does it work?

I committed a simpler change to the README here: https://github.com/erikras/react-redux-universal-hot-example/commit/697da08d6f40ae164c017b9606de9fff0f1c1724

@quicksnap , thanks


Postpone type processing to Elixir land and add tests

Since the queries were returning sizes as formatted
strings (i.e. 8 Kb) instead of integers, it was
impossible to sort the data afterwards the query.
This means tools like the Phoenix Live Dashboard
would order entries incorrectly.
This commit changes it so the formatting to bytes
happens in Elixir land and the queries return
integers.
We also improve the formatting of Postgrex.Interval,
from %Postgrex.Interval{days: 1, secs: 1, microsecs: 654_321}
to "1 day, 1.654321 seconds".
Finally, tests were added. The tests validate the
formatting rules and make sure all queries export
valid info metadata (some of the info metadata
was invalid).
The behaviour remains the same except that nothing
(i.e. an empty string) will be printed for ratios
instead of the previous "Insufficient data".

Hold on a sec. I am adding some of this functionality directly to Postgrex. :)

Done, this should be good now!

@josevalim thanks, I'll release it as 0.3.0.


Fix to handle vector2 parameter value changes

Issue
Update #52
Change
Handle 2 parameter input to map to Gf.Vec2f type.
Tested with issue file.
Changed value on uvtiling (vec2 type) and got this as debug output instead of erroring out with incorrect type.
DEBUG:QuiltiX.qx_nodegraph:property changed uvtiling - [1.0, 1.0]

Perfect, thank you Bernard!


A.2.4

This issue has been extracted from the issue list on:https://ies-svn.jrc.ec.europa.eu/issues/2685
Comment
In the purpose the word 'properly' is used. This is a vague word to use in the purpose of a test. The next question is then what is meant with 'properly'.
Proposed Change
Tighten up the purpose.

Proposed Resolution
Rephrase test purpose to:
"Verification whether the discovery service metadata parameters are included in the GetCapabilities response."

Missed this because the status was changed before I looked. Also, the text seems to have been changed as per the proposed resolution. So the text in GitHub doesn't have the problem described in the Comment.
Propose: close issue.


feat: Makes file token group public

Description

This pulls file token group out of internal and into the public folder.
This PR is part one of multiple for file upload decomposition, to make the pull requests easier to review.
Full plan:

[x] File dropzone (internal)
[x] File input (internal)
[x] File token group (internal)
[ ] File dropzone (external)
[ ] File input (external)
[ ] File token group (external)  - this PR
[ ] Adding file-upload variant to button group

Related links, issue #, if available: n/a
How has this been tested?

Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness

Changes include appropriate documentation updates.
Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
Changes do not include unsupported browser features, see CONTRIBUTING.md.
Changes were manually tested for accessibility, see accessibility guidelines.

Security

If the code handles URLs: all URLs are validated through the checkSafeUrl function.

Testing

Changes are covered with new/existing unit tests?
Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Closed in favor of combined PR: https://github.com/cloudscape-design/components/pull/3001


Define production environment requirements

What must our production environment capabilities be? Supports API integration... containerization...

Minimum requirements for Deployment:

AWS Account (Free Tier)
Rate-limited API Token (Google Places, Instagram, FourSquare Places, Yelp, etc)


Extend DCNA API with Contract negotation offers

As a lawyer or auditor
I want to have access to all DataOffers and Contract Negotiation{}
so that to audit if policy enforcement is done within the company and data assets are shared according to compliance regulations.
Hints / Details

Acceptance Criteria

[ ] DCNA API exists as REST Controller

[ ] API provides POST entitites Contract Offer Negotations

[ ] DCNA persists Contract Offer Negotations in database

Out of Scope

UI (Only Insomnia or Postman http request collection )
Identifiers contractOfferId and contractnegotationId are not persisted on Trace-X and IRS side - reference between concrete asset and contractOfferId and contractnegotationId is not possible in phase 2.

might be a duplicate


Bug with infinite=true and slidesToScroll=1

I've inited slider with this settings:
let sliderSettings = {
      autoplay: false,
      infinite: true,
      useCSS: true,
      swipe: true,
      slidesToShow: 5,
      slidesToScroll: 1,
      arrows: true,
      dots: false,
      className: 'slick-slider_common',
      responsive: [ { breakpoint: 1600, settings: { slidesToShow: 4 } },
                    { breakpoint: 1200, settings: { slidesToShow: 3 } },
                    { breakpoint: 800, settings: { slidesToShow: 2 } },
                    { breakpoint: 600, settings: { slidesToShow: 1 } } ]
    };

And when I press 'prevArrow' button, it slides something far to right instead 1 slide left.
But if I set slidesToScroll parameter to value bigger than 1 — everything is OK.

+1

+1

I couldn't reproduce this issue with latest release (0.14)
Can you check and re-open if you still face this issue


update ignores limit 1

All concerned:
I have an update query that I had to rewrite as a raw query, because the knex query builder ignored .limit(1).  "LIMIT 1" is a valid portion of an update command, at least for MySQL, as my raw query has proven.
Very respectfully,
Rich
PS: I saw knex added a raw order by; great job!  Wish I had it a month ago.

Is it me or does this, that is, ignoring LIMIT, still happen with PostgreSQL?

@moll afaik LIMIT isn't supported in update commands https://www.postgresql.org/docs/9.1/static/sql-update.html

You're right. I didn't even humor the idea that this isn't supported on PostgreSQL. 😇 Thanks!


run the notebook with new instantiations rather than producing a new file

Is there a way to execute the notebook with newly instantiated values (the arguments passed in) directly rather than producing a new copy of that notebook with the instantiated values?

The notebook is executed "directly". You can just not save the notebook (ipynb file) after the execution using  save_ipynb=True.

I did that; however the link to the default template keeps on appearing. But more importantly, I don't see any output from the template code ... seems like the call to the template is not executing any code on the template ??

No output from the template notebook is ever shown in the master notebook. Normally you save the executed notebook either in ipynb or html to "see" the results. You can also save the results from multiple execution in a single CSV file and display that file as a table in the master notebook after the execution finishes. For an example see https://github.com/tritemio/multispot_paper/blob/master/index.ipynb


Live

Docs Build status updates of commit 8a19711:
:clock10: Pending: waiting for processors (31 builds ahead of you)
:warning: Docs Build is busy, currently there are 31 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 8a19711:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/develop-your-app/BuildingAppsForIoTCore.md
:white_check_mark:Succeeded

windows-iotcore/manage-your-device/AzureIoTDA.md
:white_check_mark:Succeeded

windows-iotcore/tutorials/quickstarter/DeviceSetup.md
:white_check_mark:Succeeded

windows-iotcore/windows-iot-core.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Remove existing Deploy GitHub workflow

What
Remove the deploy GitHub workflow used for deploying to PaaS
Why
We're no longer hosted on PaaS
Who needs to work on this
Developers
Who needs to review this
Developers
Done when

[ ] The workflow is no longer in the codebase

Blocked until we've actually shifted to Netlify.


Blank screen when I open the map

When I open the page with the map I have a blank screen with no error in the console... I don't understand why

Would you mind providing some details? Like plugin version, iOS/Android, device, and most importantly: code.

I use my phone (android 7.0.0), the version of the plugin is 2.5.2, here the xml code:

Version 2.5.2 doesn't use map:MapboxView but map:Mapbox, sorry for the inconvenience.


Number of face mesh landmarks

Hi there
I am going to implement a face availability check function in order to detect only direct gaze faces in given frames and to do so i intend to use mediapipe face mesh landmarks.
Is there a way to calculate number of landmarks for a sample detected face?

Hi @EverLookNeverSee ,
You can capture the "face_detections" stream from the graph, in a similar way as the "hand_landmarks" from here , through 'addPacketCallback'.
See the detections to render data calculator (used in the face detection graph) on how to interpret the "face_detections" data

Thanks @sureshdagooglecom

Hi @EverLookNeverSee, have you developed the "direct gaze" program?
I'm interested in the same functionality: detect number of faces who gaze to a specific frame (like, computer screen)


translation loader is not updating translations on change

I'm submitting a ...  (check one with "x")
[ ] bug report => check the FAQ and search github for a similar issue or PR before submitting
[x] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request

Current behavior
I'm using a custom loader, similar to FIREBASE_EXAMPLE.md, to get translations from Firebase. But it seems like if I change the db (from the FB dashboard), the changes are not reflected in the views.
Expected/desired behavior
The changes should be reflected when the translations observable emits.
Reproduction of the problem
If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar. You can use this template as a starting point: http://plnkr.co/edit/tpl:XXwyUYS6ZL7qVD9I2l0g
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:

ngx-translate version: 9.0.1

Angular version: 5.0.3

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

It won't reflect the changes from the Observable AngularFireDatabase.object() because it only takes the first emitted value.
At lib/src/translate.service.ts:267, the TranslationService.getTranslation() uses take(1) from RxJS.
Please, feel free to implement the solution and submit MR.

@alexndreazevedo I would like this to be in the library as well. I have a slightly less intrusive solution open in a PR right now. It would be great if either the solution that @kkotak implemented (#777) or the one I implemented (#1028) could be merged

@MKhowaja, I'm not actively contributing to the library. Please address it to some active contributor: https://github.com/ngx-translate/core/graphs/contributors


withFaceLandmark slow in Slackware

Hi @justadudewhohacks! I have a problem with this API. At first, I tried this API in intel nuc system unit with ubuntu os and it works perfectly. It can detect faces and create face landmarks less than a second. After, I change the os to Slackware. I transfer all the codes to Slackware with the same system unit and the code works but the thing here is that it is slower than the usual. It can detect the face fast but the withFaceLandMark was not. It can create face landmark about 10s. I don't know what is the cause of this problem.  Maybe with the os?

Nodejs or browser? Which backend are you using on both machines (cpu / webgl / node gpu)?

I'm using a browser. I'm sorry I don't know what backend I'm using. Here is my code.

Biometric Facial Recognition

code.txt

You can run console.log(tf.getBackend()) or console.log(faceapi.tf.getBackend()) on both machines to verify whether the webgl backend is utilized. If it outputs 'cpu' then that's the reason why it's running so slow.


A bug about $take?

I'm using version 0.99.10.
I was trying to figure out how would Nadeko react when I take a number of currency more than a user's own.
What I excepted is that Nadeko would reply that there wasn't enough flower to take, or just set the user's flowers to 0.
But what I get is:

The Bot send a successful message, but actually nothing happened.
Although it just a small question, I still want to resolve it.
Thanks.

Yea, it just doesn't send a message saying its not successful. It will be fixed in 1.0. You have to take exact amount he has if you want him to be at 0


701: Automatic versioning and release

Description
Enables automatic release and versioning.
Changes

Checks commit messages adhere to the angular format.
Automatically creates a release for any merge to master.
Calculates the new semantic version based on the commit messages provided.

Additional notes
BEFORE MERGING, REQUIRES THE CIRCLECI SSH KEYS TO BE SETUP
Issue
Resolves #701

If someone accidentally pushes major version update.
will the release be revertable?


How can I configure hostconfiq for adaptive card in botbuilder-dotnet

How can I configure hostconfiq for adaptive card in botbuilder-dotnet

Thank you for the question, @Shivang007-del
The Bot Builder SDK is for building bots. HostConfig is something only Adaptive Cards renderers are concerned with, and bots can only author Adaptive Cards and not render them. As my blog post explains, your bot is not supposed to have any control over the Adaptive Cards renderer: https://blog.botframework.com/2019/07/02/using-adaptive-cards-with-the-microsoft-bot-framework/
If you are using Web Chat then you will have control over the renderer, but you have to supply the host config on the client side and not the bot side so that's still irrelevant to botbuilder-dotnet. If you're using any channel other than Direct Line then you will not be able to provide your own host config.
We do prefer to have how-to questions asked on Stack Overflow instead of GitHub. This reaches a larger audience, allowing more people to possibly answer the question and more people to be helped by the answer. If you use the botframework tag then my team will be sure to see the question.
I am closing this question as answered.


Add windows start script

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

hey @muamichali , there's no actual need for the existing scripts to execute files like they do now, so instead of adding start-windows script can you change the start, build and cypress scripts to execute react-app-rewired and cypress the way you did in the new script you added?
that way we won't have different scripts for different os's


[stable/sealed-secrets] fix RO tmp

fix: https://github.com/bitnami-labs/sealed-secrets/pull/202
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/chart])

/ok-to-test
/lgmt

/lgtm


Mod Bug - HeXeReTiC Fantasy: Keys don't open doors.

When attempting to play Heretic with HXRTC Fantasy, it is impossible to progress in E1M1, the Yellow Key failing to open its respective door.
Mod Page https://forum.zdoom.org/viewtopic.php?t=58009

Until I get this detection fixed, you can use a workaround by typing this in the console.
HXDD_USE_KEYDEF_MODE false

Fixed with: https://github.com/Lemon-King/HXDD/commit/9f3c5a47feb8e5887fb48effcc86c5c19eb2a31e


fix wrong translation string being used on user edit page for mods & improve stats.go

Coverage remained the same at 39.38% when pulling bdf92581fd6eb179ea8d5e771fa6c638b30ce9b6 on small-fix into 61d1aa4195d58d29683a24930d74d9b091f2c71d on dev.

Coverage remained the same at 39.38% when pulling bdf92581fd6eb179ea8d5e771fa6c638b30ce9b6 on small-fix into 61d1aa4195d58d29683a24930d74d9b091f2c71d on dev.

Coverage remained the same at 39.38% when pulling 1335180c88e8ce1f3706fe4d6676358a21787586 on small-fix into 61d1aa4195d58d29683a24930d74d9b091f2c71d on dev.

Coverage remained the same at 39.38% when pulling 849fb6dffe88fbfe66ebff90cbc9693796c85253 on small-fix into 61d1aa4195d58d29683a24930d74d9b091f2c71d on dev.

Coverage remained the same at 39.38% when pulling 1d280373166b728e3c104f024f3d65db6244bfef on small-fix into 61d1aa4195d58d29683a24930d74d9b091f2c71d on dev.

Coverage remained the same at 39.38% when pulling 3b4bd0526b3117a7fc7ee8aef7f9c67a69100678 on small-fix into 61d1aa4195d58d29683a24930d74d9b091f2c71d on dev.


IMKClient Stall detected

I was trying to test the application on Mac. The approach of using microphone input is working fine, but there is problem with the approach which is using File input. I'm getting error message like this:
java[72481:674880] IMKClient Stall detected, *please Report* your user scenario attaching a spindump (or sysdiagnose) that captures the problem - (imkxpc_attributesForCharacterIndex:reply:) block performed very slowly (1.15 secs).
It's being shown as soon as popup window for choosing file is being opened.

I also got microphone input working on Mac just fine. However, file stream does not work for me at all. On a longer files it will detect one word, and that's it. However, I am not getting any errors in the application. Not sure if related to this.


Scalebar on Android uses wrong converted MapScale

The scalebar implementation for android delivers not the same results for scale calculations as UPW or iOS. The used mapScale seems to be off for a constant factor.

@P-e-t-e-r could you share some examples/screenshots?

Hey @dotMorten ,
I just did something like this:
<esriUI:MapView Grid.RowSpan="3" x:Name="MapView" Map="{Binding Map, Source={StaticResource MapViewModel}}" />
<forms:ScaleLine Grid.Row="1" HorizontalOptions="Start" VerticalOptions="End" Margin="20"
MapView="{x:Reference MapView}"/>
practically taken from your own samples.
Tested on an windows 10 machine and an android tablet (samsung Galaxy Tab S5e)

Cheers,
Peter

the upper sreenshot is android
the lower windows UWP

Thank you. Very helpful. I do think I just found an issue with the API for Forms: The UnitsPerPixel that is used here is reported wrong for Android when using Forms (it's reporting it using raw pixels and not the DIPs that Forms uses), and that's actually not a toolkit bug, but in the main Runtime Forms SDK.
One way you could work around that for now is to set the MapScale instead of the MapView property: MapScale="{Binding MapScale, Source={x:Reference MapView}}"
Just note that this won't try and calculate the scale for the center of the view, so for some projections the distortion starts becoming a factor.
As a quick workaround, you could change this line here:
https://github.com/Esri/arcgis-toolkit-dotnet/blob/master/src/Toolkit.Forms/ScaleLine/ScaleLine.cs#L125
And alter the view.UnitsPerPixel by the screen scale of your device when running on Android.
There's a similar bug in the native android scaleline control, because that one "forgot" to take into account that android doesn't report this value in DIPs, so that's easily addressable by applying this fix. However I'm a little reluctant to make the same fix to Forms, because the bug isn't actually in the toolkit (I'm fixing this bug in the Runtime as we speak, so 100.8 would have the fix).

Verified fixed with the upcoming v100.8 release:

Very nice! Looking forward to use it!


Unable to get started based on README

I attempted to use this software per the Installation and Usage instructions in the project README and am unable to get far. I first install rethinkdb:
brew update && brew install rethinkdb

then install brozzler per the README instructions:
pip install brozzler

I attempt the first command in the Usage section of the README but receive an error:
$ brozzler-worker -e chromium
Traceback (most recent call last):
  File "/usr/local/bin/brozzler-worker", line 4, in <module>
    __import__('pkg_resources').run_script('brozzler==1.1.dev1', 'brozzler-worker')
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 719, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1504, in run_script
    exec(code, namespace, namespace)
  File "/usr/local/lib/python2.7/site-packages/brozzler-1.1.dev1-py2.7.egg/EGG-INFO/scripts/brozzler-worker", line 8, in <module>
    import brozzler
  File "/usr/local/lib/python2.7/site-packages/brozzler-1.1.dev1-py2.7.egg/brozzler/__init__.py", line 48, in <module>
    from brozzler.site import Page, Site
  File "/usr/local/lib/python2.7/site-packages/brozzler-1.1.dev1-py2.7.egg/brozzler/site.py", line 12, in <module>
    class Site(brozzler.BaseDictable):
  File "/usr/local/lib/python2.7/site-packages/brozzler-1.1.dev1-py2.7.egg/brozzler/site.py", line 13, in Site
    logger = logging.getLogger(__module__ + "." + __qualname__)
NameError: name '__qualname__' is not defined

Figuring this might not be a fatal error, I also create a sample job based on the Job Configuration section of the README:
$ echo -e "id: test\nseeds:\n  - url: http://example.com" > testJob.yaml
$ brozzler-new-job testJob.yaml
Traceback (most recent call last):
  File "/usr/local/bin/brozzler-new-job", line 4, in <module>
    __import__('pkg_resources').run_script('brozzler==1.1.dev1', 'brozzler-new-job')
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 719, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1504, in run_script
    exec(code, namespace, namespace)
  File "/usr/local/lib/python2.7/site-packages/brozzler-1.1.dev1-py2.7.egg/EGG-INFO/scripts/brozzler-new-job", line 7, in <module>
    import brozzler
  File "/usr/local/lib/python2.7/site-packages/brozzler-1.1.dev1-py2.7.egg/brozzler/__init__.py", line 48, in <module>
    from brozzler.site import Page, Site
  File "/usr/local/lib/python2.7/site-packages/brozzler-1.1.dev1-py2.7.egg/brozzler/site.py", line 12, in <module>
    class Site(brozzler.BaseDictable):
  File "/usr/local/lib/python2.7/site-packages/brozzler-1.1.dev1-py2.7.egg/brozzler/site.py", line 13, in Site
    logger = logging.getLogger(__module__ + "." + __qualname__)
NameError: name '__qualname__' is not defined

OS X 10.11.5
Python 2.7.10 (Is this the issue due to warcprox needing py3?)

How do I get started with brozzler?

Brozzler requires python 3.4 or 3.5! I apologize, I haven't had time yet to write proper documentation.

Switched to use brozzler w/ py3, fired up rethinkdb, and can now proceed. Thanks, @nlevitt


Optimize RegExpRouter

Hi,
I tried to optimize RegExpRouter.
Summary
I think most middleware is applied to paths like '*' or '/path/to/*' that take no parameters.
In that case, parameter handling is not needed, so match can be optimized as follows.
https://github.com/yusukebe/hono/compare/master...usualoma:optimize-reg-exp-router?expand=1#diff-06f981941f95eecd6e249629fd9d5d4badaf8dfbe96ade6219e67691359df679R35-R38
And by optimizing the '*' commonly used in middleware separately as described above, we can make it simpler for normal routing as well.
https://github.com/yusukebe/hono/compare/master...usualoma:optimize-reg-exp-router?expand=1#diff-06f981941f95eecd6e249629fd9d5d4badaf8dfbe96ade6219e67691359df679R43
Benchmark
Since TrieRouter and RegExpRouter are already fast enough, the ranking may not be stable due to minute environmental influences, but the following results were obtained in my environment.
hono x 413,307 ops/sec ±3.71% (78 runs sampled)
hono with RegExpRouter x 445,681 ops/sec ±6.82% (66 runs sampled)
hono with RegExpRouter in this PR x 479,019 ops/sec ±6.31% (66 runs sampled)
itty-router x 67,901 ops/sec ±3.32% (88 runs sampled)
sunder x 115,183 ops/sec ±2.73% (80 runs sampled)
worktop x 72,526 ops/sec ±4.84% (80 runs sampled)
Fastest is hono with RegExpRouter in this PR

However, this is more than just a speedup on this benchmark.

Speeds up middleware routing.
Hopefully, even the following cases may be faster than TrieRouter 😛

https://twitter.com/yusukebe/status/1502069834712219650

Hi @usualoma

I think most middleware is applied to paths like '' or '/path/to/' that take no parameters.

I'm thinking about same things. This PR looks good to me!
The score of RegExpRouter has been about the same as a score of TrieRouter in this case.

I'll merge it!


There is a way of saving image in specific sizes?

Hello, dude! I know that question probably is more for back-end part, but may be you have implemented in your plugin smth that can solve it in front end :
If user uploads a full hd image, I fixed the minimum width and height of crop-box as 200x200, and disabled resize of the box. I also set img#image as max-width: 100%; So, when I upload a photo full hd photo, it opens in a modal like thumbnail of 468x263. And with my "200x200 crop-box" after crop, uploaded image has size of 863x863px. Is there a way how can I trick it to achieve output as images of 200x200 px?
Thank you!

Please check out the docs of getCroppedCanvas method.
In short:
$().cropper('getCroppedCanvas', {
  width: 200,
  height: 200,
}); // Generate a image with 200 * 200 px

It works. Thanks!


Warning! HDF5 library version mismatched error

Here is the error message:
The HDF5 header files used to compile this application do not match
the version used by the HDF5 library to which this application is linked.
Data corruption or segmentation faults may occur if the application continues.
This can happen when an application was compiled by one version of HDF5 but
linked with a different version of static or shared HDF5 library.
You should recompile the application or check your shared library related
settings such as 'LD_LIBRARY_PATH'.
You can, at your own risk, disable this warning by setting the environment
variable 'HDF5_DISABLE_VERSION_CHECK' to a value of '1'.
Setting it to 2 or higher will suppress the warning messages totally.
Headers are 1.8.17, library is 1.8.18

This issue pertains to the HDF5 library on your machine, not to
DBSCAN_multiplex.
Gregory
On May 30, 2017 4:05 PM, "Jiuru Shao"<EMAIL_ADDRESS>wrote:

Here is the error message:
The HDF5 header files used to compile this application do not match
the version used by the HDF5 library to which this application is linked.
Data corruption or segmentation faults may occur if the application
continues.
This can happen when an application was compiled by one version of HDF5 but
linked with a different version of static or shared HDF5 library.
You should recompile the application or check your shared library related
settings such as 'LD_LIBRARY_PATH'.
You can, at your own risk, disable this warning by setting the environment
variable 'HDF5_DISABLE_VERSION_CHECK' to a value of '1'.
Setting it to 2 or higher will suppress the warning messages totally.
Headers are 1.8.17, library is 1.8.18
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GGiecold/DBSCAN_multiplex/issues/7, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AK3j52L7yIVe3dmhYeMYBKkcxa2uQb27ks5r_HaEgaJpZM4Nqx9_
.


Version checking on SAML response processing

When validating the SAML response, java-saml now checks that the Version attribute of Response is 2.0.
However it does not check the Version attribute of the Assertion.
Shouldn't it be checked as well?

I don't think a SAMLResponse Version 2.0 gonna have an Assertion 1.0 or 1.1 ... but if that the case the xsd validation will raise an error, so I believe we can omit it.

I don't know how 1.0 or 1.1 assertions look like and I don't know whether some of them may be forward compatible with 2.0 assertions. What is sure is that the SAML 2.0 schema for assertion does not mandate that the Version attribute of AssertionType must be equal to 2.0, so, for instance, if a (malicious/erroneous?) response is received with a Version="3.0" on the assertion, the schema validation performed by java-saml won't fail: should it instead? I think that it should as much as a Response with Version="3.0" causes it to fail ;-)

Im ok if we verify the assertion version as well.
The check on the response was important to detect valid saml 1.1 responses to be identified and rejected.
I dont think an attack could be executed exploting the version attribute, to be honest.


Update mouseEvents list

Sigma.js has added a mousemovebody MouseCaptorEvent that should be accessible through the useRegisterEvents hook.

Thanks !

@sim51 Thanks for merging---do you have a sense for when this might get pushed to npm? I have a bug that would be much simpler to address with this fix in the official release.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I should be able to do a release this week
-------- Message d'origine --------
Le 31 oct. 2022 à 21:00, Jakob Hansen < @.***> a écrit :

@.***sim51 Thanks for merging---do you have a sense for when this might get pushed to npm? I have a bug that would be much simpler to address with this fix in the official release.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

-----BEGIN PGP SIGNATURE-----
Version: ProtonMail
wnUEARYIACcFAmNg+T8JkIjws6pGFZNUFiEEXaYpcPYCsYZOIgesiPCzqkYV
k1QAAOCWAP9HCzMLEzqAOuxWZ/Fjf9v28PJwB5ROZwct1UGd+6AqTAD/TFER
/B8w8bQ4ZXmFjyXMcIt1QjO1IxhnyerJwlf+ygE=
=bpIF
-----END PGP SIGNATURE-----

@jakobhansen-blai release has been done !

Many thanks!


chore(deps): update renovate/renovate docker tag to v35.17.0

This PR contains the following updates:

Package
Update
Change

renovate/renovate
minor
35.15.0 -> 35.17.0

Release Notes

renovatebot/renovate
v35.17.0
Compare Source
Features

packageRules: add merge confidence matcher (#21049) (1615d26)

v35.16.0
Compare Source
Features

replacements: support for replacement name templating (#20905) (b250220)

Miscellaneous Chores

improve bug issue template (#21051) (036aba7)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 4.4.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


eval question

HI , @arthurchen0518   dose eval have to execute the process code with training process, the provided eval did not run successfully,my tf version is 2.8, and i update evaluation.evaluate_repeatedly to evaluation.evaluate_once is not work. i'm looking forward to your reply,thanks very much

The eval code should be stand-alone. Can you show me your error messages? I've tried tf 2.8. If it's urgent, you can add me WeChat: arthurchen518.

thanks  and I add you

@YIFanH Hi, were you able to run the eval.py script? If yes, could you please share the TensorFlow version that you used, also any errors that you encountered.
I am currently stuck at this error below:
Exception has occurred: TypeError       (note: full exception trace is shown but execution is paused at: _run_module_as_main)
Input 'records' of 'DecodeCSV' Op has type float32 that does not match expected type of string.
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/autograph/impl/api.py", line 427, in converted_call
converted_f = _convert_actual(target_entity, program_ctx)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/autograph/impl/api.py", line 269, in _convert_actual
transformed, module, source_map = _TRANSPILER.transform(entity, program_ctx)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/autograph/pyct/transpiler.py", line 282, in transform
return self.transform_function(obj, user_context)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/autograph/pyct/transpiler.py", line 466, in transform_function
nodes, ctx = super(PyToPy, self).transform_function(fn, user_context)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/autograph/pyct/transpiler.py", line 359, in transform_function
result = self.transform_ast(node, context)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/autograph/impl/api.py", line 237, in transform_ast
node = self.initial_analysis(node, ctx)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/autograph/impl/api.py", line 225, in initial_analysis
node = activity.resolve(node, ctx, None)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/autograph/pyct/static_analysis/activity.py", line 704, in resolve
return ActivityAnalyzer(context, parent_scope).visit(node)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/autograph/pyct/transformer.py", line 441, in visit
result = super(Base, self).visit(node)
File "/usr/lib/python3.7/ast.py", line 271, in visit
return visitor(node)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/autograph/pyct/static_analysis/activity.py", line 574, in visit_FunctionDef
node = self._visit_arg_annotations(node)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/autograph/pyct/static_analysis/activity.py", line 550, in _visit_arg_annotations
node = self._visit_arg_declarations(node)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/autograph/pyct/static_analysis/activity.py", line 555, in _visit_arg_declarations
node.args.posonlyargs = self._visit_node_list(node.args.posonlyargs)
During handling of the above exception, another exception occurred:
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/framework/op_def_library.py", line 557, in _ExtractInputsAndAttrs
preferred_dtype=default_dtype)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/profiler/trace.py", line 183, in wrapped
return func(*args, **kwargs)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 1605, in convert_to_tensor
name=name))
During handling of the above exception, another exception occurred:
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/framework/op_def_library.py", line 579, in _ExtractInputsAndAttrs
raise TypeError(f"{prefix} expected type of "
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/util/traceback_utils.py", line 153, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/media/vispro/New_Volume/Basit/WB/DirectionNet/dataset_loader.py", line 78, in load_images
tf.stack([tf.decode_csv(rotation, [0.0] * 9)], 0), [3, 3])
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/autograph/impl/api.py", line 458, in _call_unconverted
return f(*args, **kwargs)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/autograph/impl/api.py", line 484, in _fall_back_unconverted
return _call_unconverted(f, args, kwargs, options)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/autograph/impl/api.py", line 434, in converted_call
return _fall_back_unconverted(f, args, kwargs, options, e)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/autograph/impl/api.py", line 689, in wrapper
return converted_call(f, args, kwargs, options=options)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/data/ops/structured_function.py", line 177, in wrapper_helper
ret = autograph.tf_convert(self._func, ag_ctx)(*nested_args)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/data/ops/structured_function.py", line 248, in wrapped_fn
ret = wrapper_helper(*args)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/framework/func_graph.py", line 1141, in func_graph_from_py_func
func_outputs = python_func(*func_args, **func_kwargs)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 2636, in _create_graph_function
capture_by_value=self._capture_by_value),
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 2711, in _maybe_define_function
graph_function = self._create_graph_function(args, kwargs)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 2533, in _get_concrete_function_garbage_collected
graph_function, _ = self._maybe_define_function(args, kwargs)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 2568, in get_concrete_function
*args, **kwargs)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/data/ops/structured_function.py", line 271, in init
self._function = fn_factory()
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 5288, in init
use_legacy_function=use_legacy_function)
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 3870, in map
preserve_cardinality=False))
File "/media/vispro/New_Volume/Basit/WB/DirectionNet/dataset_loader.py", line 96, in data_loader
ds = ds.map(load_images, num_parallel_calls=50).apply(
File "/media/vispro/New_Volume/Basit/WB/DirectionNet/eval.py", line 313, in main
load_estimated_rot=FLAGS.model == 'T')
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/absl/app.py", line 258, in _run_main
sys.exit(main(argv))
File "/media/vispro/New_Volume/Basit/environments/wb_new/lib/python3.7/site-packages/absl/app.py", line 312, in run
_run_main(main, args)
File "/media/vispro/New_Volume/Basit/WB/DirectionNet/eval.py", line 351, in
app.run(main)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.7/runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "/usr/lib/python3.7/runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main (Current frame)
"main", mod_spec)

@basit-7 Hi basit, I have the same problem. Did you figure it out?
File "/home/user/MyComputer/DirectionNet/dataset_loader.py", line 81, in load_images  *
rotation = tf.reshape(
TypeError: Input 'records' of 'DecodeCSV' Op has type float32 that does not match expected type of string.

@CBS5181 I have the same problem, did you solve it?


feat: make the doc website a pwa

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[x] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

The official website is now a PWA.

Icons could be cached, yay!

And install-able.

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information
Refresh the service worker everyday. And use hash to track other resources.

I guess all external links should be write in HTML with target="_blank".


Migrate dataset/tab matching markers from hardcoded into database

Reasons for implementation
The current version of the F&E tool is hardcoded to only consider a fixed subset of NPD datasets.
The real scope of the tool is wider, and the admin users should have the ability to import datasets that are not currently included in the fixed subset of imported NPD datasets.
To allow that, we need to remove the hardcoded logic and make the system more flexible.
Details

Add the database structure needed to support the new implementation
Migrate the currently hardcoded markers from code into the database
Change the code to use the new markers from database

@cacquani Looks good, thanks. I just tinkered with the wording slightly.
Assigning to @GMcGill-DfE to approve.

Just replaced the word "should be much wider" to "is much wider".  Otherwise approved

Ticket is approved, so removing Gwen McGill from list of assignees

This functionality has been released to production. so ticket can be closed.

This functionality has been released to production. so ticket can be closed.


Fix download behind proxy

If you build HexFiend on a system behind a proxy server, the download
of Sparkle fails --> use nscurl instead of curl
see https://github.com/ridiculousfish/HexFiend/issues/152

Thanks!