My favorite mod is not working

Mod Version
v1.18.0-rc.6_v1.10.1
Game Version
1.18.1
OS
Windows
Play mode
Singleplayer
Problem
Getting 2 errors in mod manager

Unable to resolve some mod dependencies
Unable to load mod.
Both say to check log files but I am not sure where to look or what to look for.

Logs
6.5.2023 09:24:52 [Notification] Client logger started.
6.5.2023 09:24:52 [Notification] Game Version: v1.18.1 (Stable)
6.5.2023 09:24:52 [Notification] Screens:
6.5.2023 09:24:52 [Notification] 0: {X=0,Y=0,Width=1920,Height=1080}, \\.\DISPLAY1 (primary)
6.5.2023 09:24:52 [Notification] 1: {X=-1920,Y=0,Width=1920,Height=1080}, \\.\DISPLAY2
6.5.2023 09:24:53 [Notification] OpenAL Initialized. Available Mono/Stereo Sources: 255/1
6.5.2023 09:24:53 [Notification] CPU Cores: 8
6.5.2023 09:24:53 [Notification] Available RAM: 16384 MB
6.5.2023 09:24:53 [Notification] Graphics Card Vendor: ATI Technologies Inc.
6.5.2023 09:24:53 [Notification] Graphics Card Version: 4.6.0 Compatibility Profile Context <IP_ADDRESS>.221020
6.5.2023 09:24:53 [Notification] Graphics Card Renderer: Radeon RX 580 Series
6.5.2023 09:24:53 [Notification] Graphics Card ShadingLanguageVersion: 4.60
6.5.2023 09:24:53 [Notification] GL.MaxVertexUniformComponents: 4000
6.5.2023 09:24:53 [Notification] GL.MaxUniformBlockSize: 131072
6.5.2023 09:24:53 [Notification] Cairo Graphics Version: 1.17.3
6.5.2023 09:24:53 [Notification] OpenAL Version: 1.1 ALSOFT 1.16.0
6.5.2023 09:24:53 [Notification] C# Framework: .net Framework 4.0.30319.42000
6.5.2023 09:24:53 [Notification] OpenTK Version: 3.3.2 (A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.)
6.5.2023 09:24:53 [Notification] Start discovering assets
6.5.2023 09:24:53 [Notification] Found 22 base assets in category lang
6.5.2023 09:24:53 [Notification] Found 0 base assets in category patches
6.5.2023 09:24:53 [Notification] Found 22 base assets in category config
6.5.2023 09:24:53 [Notification] Found 0 base assets in category worldproperties
6.5.2023 09:24:53 [Notification] Found 52 base assets in category sounds
6.5.2023 09:24:53 [Notification] Found 97 base assets in category shapes
6.5.2023 09:24:53 [Notification] Found 82 base assets in category shaders
6.5.2023 09:24:53 [Notification] Found 16 base assets in category shaderincludes
6.5.2023 09:24:53 [Notification] Found 131 base assets in category textures
6.5.2023 09:24:53 [Notification] Found 3 base assets in category music
6.5.2023 09:24:53 [Notification] Found 0 base assets in category dialog
6.5.2023 09:24:53 [Notification] Found 425 base assets in total
6.5.2023 09:24:53 [Notification] Loading sounds
6.5.2023 09:24:53 [Notification] Sounds loaded
6.5.2023 09:24:53 [Notification] (Re-)loaded frame buffers
6.5.2023 09:24:53 [Notification] Loaded Shaderprogramm for render pass .
6.5.2023 09:24:53 [Notification] Window was resized to 1920 1057, rebuilding framebuffers...
6.5.2023 09:24:53 [Notification] (Re-)loaded frame buffers
6.5.2023 09:24:53 [Notification] Begin loading shaders
6.5.2023 09:24:53 [Notification] Load shaders now
6.5.2023 09:24:53 [Notification] Loading shaders...
6.5.2023 09:24:53 [Notification] Loaded Shaderprogramm for render pass standard.
6.5.2023 09:24:53 [Notification] Loaded Shaderprogramm for render pass particlescube.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass particlesquad.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass sky.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass nightsky.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass woittest.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass transparentcompose.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass debugdepthbuffer.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass helditem.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass chunkopaque.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass chunkliquid.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass decals.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass final.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass gui.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass blur.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass chunktransparent.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass findbright.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass chunktopsoil.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass godrays.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass autocamera.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass blockhighlights.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass wireframe.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass entityanimated.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass luma.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass blit.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass particlesquad2d.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass shadowmapentityanimated.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass shadowmapgeneric.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass texture2texture.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass celestialobject.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass guitopsoil.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass colorgrade.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass guigear.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass ssao.
6.5.2023 09:24:54 [Notification] Loaded Shaderprogramm for render pass bilateralblur.
6.5.2023 09:24:54 [Notification] Cached session key is valid, validating with server
6.5.2023 09:24:55 [Notification] Server validation response: Good
6.5.2023 09:24:55 [Notification] Will search the following paths for mods:
6.5.2023 09:24:55 [Notification]     D:\Vintagestory\Mods
6.5.2023 09:24:55 [Notification]     C:\Users\felin\AppData\Roaming\VintagestoryData\Mods
6.5.2023 09:24:55 [Error] Multiple mods share the mod ID 'carryon' ('CarryOn-1.18_v1.0.0.zip', 'CarryOn-1.18_v1.0.0.zip'). Will only load the highest version one - v1.0.0.
6.5.2023 09:24:55 [Error] Multiple mods share the mod ID 'tpnet' ('TeleportationNetwork_v1.18.0-rc.6_v1.10.1.zip', 'TeleportationNetwork_v1.18.0-rc.6_v1.10.1.zip'). Will only load the highest version one - v1.10.1.
6.5.2023 09:27:16 [Notification] Exiting game now. Server running=False. Exit reason: Main screen quit button was pressed

Mods
No response
Screenshots
No response

Check your mod folders, you have the mod installed twice (carryon too):
D:\Vintagestory\Mods
C:\Users\felin\AppData\Roaming\VintagestoryData\Mods

Also, maybe you don't have CommonLib?

Thanks for the quick response!
Is CommonLib a mod?
Not sure why it installed in 2 places. My guess is it went to the C drive when I used the install from here option instead of downloading.
The mod rocks!! I love it.
Sent via the Samsung Galaxy S21 5G, an AT&T 5G smartphone
-------- Original message --------
From: DArkHekRoMaNT @.>
Date: 5/6/23 11:01 AM (GMT-06:00)
To: DArkHekRoMaNT/TeleportationNetwork @.>
Cc: Pkrbkrjer @.>, Author @.>
Subject: Re: [DArkHekRoMaNT/TeleportationNetwork] My favorite mod is not working (Issue #14)
Check your mod folders, you have the mod installed twice (carryon too):
D:\Vintagestory\Mods
C:\Users\felin\AppData\Roaming\VintagestoryData\Mods
Also, maybe you don't have CommonLib?
—
Reply to this email directly, view it on GitHubhttps://github.com/DArkHekRoMaNT/TeleportationNetwork/issues/14#issuecomment-1537171486, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7U2AKA6PKGBLDHILRZMKKLXEZYVXANCNFSM6AAAAAAXYE7YOY.
You are receiving this because you authored the thread.Message ID: @.***>

Yeah, CommonLib is a mod. You can also just open the world, the game will download the dependencies

I got it. Thanks for your help.
Sent via the Samsung Galaxy S21 5G, an AT&T 5G smartphone
-------- Original message --------
From: DArkHekRoMaNT @.>
Date: 5/6/23 1:22 PM (GMT-06:00)
To: DArkHekRoMaNT/TeleportationNetwork @.>
Cc: Pkrbkrjer @.>, Author @.>
Subject: Re: [DArkHekRoMaNT/TeleportationNetwork] My favorite mod is not working (Issue #14)
Yeah, CommonLibhttps://mods.vintagestory.at/commonlib is a mod. You can also just open the world, the game will download the dependencies
—
Reply to this email directly, view it on GitHubhttps://github.com/DArkHekRoMaNT/TeleportationNetwork/issues/14#issuecomment-1537196573, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7U2AKGVYQOOYNLZTQIRUHLXE2JHTANCNFSM6AAAAAAXYE7YOY.
You are receiving this because you authored the thread.Message ID: @.***>


Enable KpiResourceTest ,

Affected module
Does it impact the UI, backend or Ingestion Framework?
Backend
Describe the bug
Currently the KpiResourceTest are disable as they need handling one to one mapping
To Reproduce
Screenshots or steps to reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Version:

OS: [e.g. iOS]
Python version:
OpenMetadata version: [e.g. 0.8]
OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]

Additional context
Add any other context about the problem here.

@mohityadav766 any update on this one?

Complete


Speed up the shiny app

Now that most of the functionalities have been implemented for the final data product: the BC Chronic Disease Dashboard hosted on Shiny, we have noticed unreasonably slow performance issue. Specifically, when one or multiple filters change, the charts can take a long time to be drawn and sometimes even lead the app to freeze. This issue documents the methods Jessie and I have tried to speed up the app.

Based on the benchmark tests documented here, I replaced all %>% with |>. The loading is visually faster.

Attempted methods to speed up dashboard and their outcomes:

Subset data using dplyr instead of base R ( slight improvement)
Adding bindCache() and bindEvent() (no difference)
Using memoise on helper functions ( slows down app even more..??)
Profiling the app using profvis ( difficult to translate into useful fixes)
Eliminating renderUI elements ( moderate improvement)
Only read in required data (slight improvement on startup)
Close all other programs on computer and run only RStudio / Shiny App (biggest improvement)

More on using caching in Shiny to maximize performance:
According to the article, caching, where the application does the computation with a given set of inputs once and uses the saved results later, is most effective when the same computation or plotting is done multiple times. However, we do not expect a user to repeat creating the same plot. Moreover, given that we have many possible combinations for the six filters (such as 6 choices for rate types, 25 diseases, 5 HAs, and 195 CHSAs), it would be memory-consuming if we were to cache every set of inputs the user plays with. As a result, the tradeoff between time saved by caching outputs to rare sets of inputs and memory occupied by many set of inputs is not worthy for our app.

We also tried using isolate() to remove the dependency of graph outputs on reactive objects based on this article.
Right now, our app is implemented in such a reactive way that the plots will be rerendered every time a filter value has changed. And since plotting does take a longer time, frequent changes to filter values will lead to slow performance and even cause the app to freeze.
Using isolate() can allow the user to finish all filter selections before clicking a button or other trigger to execute the computation and plotting all at once. However, this design is fundamentally different from what we tried to build. We decide to keep the responsiveness and let the users to leave buffer time between changes.

Another suggested method is using promises with Shiny. This method is essentially applying asynchronous programming to Shiny apps to increase scalability when multiple users are active at the same time. Upon second thought, our goal is to increase performance for a single user. We do not anticipate many users to explore chronic diseases in BC simultaneously. So we did not research further. One can learn more here if scalability is the focus.


Conditional Start Event in an Event Subprocess should allow to configure variable events

Describe the bug
As in the title. See also https://forum.camunda.io/t/conditional-variable-event-field-missing-in-editor-for-conditional-start-event/44144 for details.
It's a regression compared to old properties panel.

Steps to reproduce

do this
do that
now this happens

Expected behavior
Variable events can be configured in a conditional start event if it is contained in an event subprocess.
Environment

OS: [e.g. MacOS 10.2, Windows 10]
Camunda Modeler Version: [e.g. 2.0.0]
Execution Platform: [e.g. Camunda Platform, Camunda Cloud]
Installed plug-ins: [...]

Additional context
No response

Fixed upstream via https://github.com/bpmn-io/bpmn-js-properties-panel/pull/925


This is a basic program using java language

What the program do ?
print Hello World.Welcome My new java project
In what programming language it is written?
java

This pull request do not contains files in specific folders. Please fix it and reopen


Make pgeon fully pip installable

On the current pip_only branch, start from a minimal environment.yml without pyarrow
name: pgeon-dev
channels:
  - conda-forge
dependencies:
  - cxx-compiler
  - git
  - libpq
  - python=3.11

On MacOS, installing with pip install . works ok given that we actually import pyarrow before import _pgeon, see pgeon.py
In the dev container though, the result is
>>> import pgeon
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/conda/lib/python3.11/site-packages/pgeon.py", line 5, in <module>
    from _pgeon import copy_query
ImportError: /opt/conda/lib/python3.11/site-packages/_pgeon.cpython-311-x86_64-linux-gnu.so: undefined symbol: _ZNK5arrow8DataType18ComputeFingerprintB5cxx11Ev

pip uninstall pyarrow numpy and micromamba install -c conda-forge pyarrow without reinstalling pgeon fixes the issue
I' suspect an issue with pyarrow pypi linux wheels but TBH I just don't know what's going on

The reason why it happens, I think it's related to the fact that you're installing pyarrow in the dev container from conda. That pyarrow is built against conda compiler, that is not manylinux compatible on Linux. So when you do pip install, it will use the build requires in the pyproject.toml, that is pyarrow built against manylinux, but when you run it, it will link against pyarrow from conda, that has different symbols.
That's why I was working on #7. You need to link against arrow built on manylinux to make it work.

In what I described there's just one pyarrow from pip (two since the build is isolated)

Don't you have the conda one in the environment.yml?
Maybe I'm misunderstanding the problem, but when you do  pip install ., it will first build in an isolated environment using pyarrow from pypi (i.e. the one compiled against manylinux). _pgeon will be linked against that one.
When you do the runtime import, the pyarrow available is the one from conda, then the dynamic linking will use the conda one, that has different symbols, and it will fail. No?

No I don't use conda in that case, see the environment I posted

CXX ABI issues


added GootLoader decoder

This operation decodes Gootloader obfuscated string.

References: https://malpedia.caad.fkie.fraunhofer.de/details/js.gootloader

 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.Rodel Mendrez seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Login/Authorization

Fix the login/authorization so the user can see their saved books.

Added this issue to the wrong repo by mistake.


Can we get in-built PDF viewer & Image grid view

When ever I open a pdf in the index it makes me download it. Can we get an in-built pdf viewer?
And can there automatically be grid view whenever we open images section like you can set that the folder named 'Photos' or 'Images' be open automatically to grid view

named will not be good option to do that what you can do is that if have folder has only images and video then it will open in FolderGridLayout you can do that. in that will be more reliable.
but you have to do it by your self.
for pdf this pkg will be helpfull
https://www.npmjs.com/package/@react-pdf-viewer/core

Please mark the issue as completed

Thank you for the great suggestion! I agree this would be a very useful feature to have.
Unfortunately, I don't have the capacity to work on implementing this right now as I need to focus on some other critical priorities. My time and resources are quite limited currently.
If you're interested in taking a stab at implementing this yourself, I'd be more than happy to review a pull request from you.


feat: Add storage for overflowing messages for later execution

          We drop the message.

https://github.com/galacticcouncil/cumulus/pull/3/files#diff-3d3febd8cfcd42ba5bb949d63fdafb9a71da3db1feb35a45601404b64fcd70c4R841
Originally posted by @apopiak in https://github.com/galacticcouncil/Basilisk-node/pull/636#discussion_r1263586140

I wonder whether we should just overflow into overweight messages?


Where can i find the Enable/Disable InteriorProp of CASINO? The full list

Well exactly that,
    EnableInteriorProp(penthouse, "set_pent_tint_shell")
DisableInteriorProp(penthouse, "set_pent_bar_party_1")
DisableInteriorProp(penthouse, "set_pent_bar_party_2")
DisableInteriorProp(penthouse, "set_pent_bar_party_after")
EnableInteriorProp(penthouse, "set_pent_media_bar_open")

Where is the list? The wiki has no casino.

If you were talking about the penthouse props, all InteriorProps should be located here.
If you were talking about the casino props, I don't know. Maybe this might help.


Cannot open Gists: Cannot read property 'files' of undefined

Hi there,
Great extension but doesn't work for me. When trying to open an existing Gist, I get this error
Unable to open '5cee0b498a71a39698c06fb95341xxxx': Unable to read file (TypeError: Cannot read property 'files' of undefined).

Hmm, I wonder what might be going on here. If you run the “New Gist” command, does that work? I’m just curious if there’s a general issue with the extension for you, or if there’s something up with that Gist?
Is the Gist that you tried to open, a secret Gist? Would you be able to share the ID with me so I could try to repro it?

I have the same problem with a public gist: https://gist.github.com/arturl/408c96b717a44a98a3af7546ecc6698c
Here is how the error looks like for me:

Also, you asked:

If you run the “New Gist” command, does that work?

No, that doesn't work either -- it simply doesn't do anything and doesn't show any errors. The gist isn't created in GitHub either.

This isn’t a GitHub Gist? Could you elaborate further? 😁 Are you using GitHub Enterprise?

This is normal gist -- see the link above: https://gist.github.com/arturl/408c96b717a44a98a3af7546ecc6698c

Same problem here. For me it's not working either.
I don't see any of my gists and when I try to create a new one I got the same error message stated above: 'Cannot read property 'files' of undefined'

I'm getting similar errors however the gists I can't load all have funky names (ie. contain whitespace, *, :, ?, etc. characters in their names).
eg.
Unable to open 'Solr name:* node query': Unable to read file (TypeError: Cannot destructure property `content` of 'undefined' or 'null'.).

Unable to open 'uwotm8': Unable to read file (TypeError: Cannot destructure property `content` of 'undefined' or 'null'.).

The gist names being reported in the errors are wrong, they're actually Solr *:* node query and uwotm?
refs:
https://gist.github.com/jimcroft/3272471
https://gist.github.com/jimcroft/777f3271712a12465c766ae684e0262b
Creating new gists and other functionality working well here.

Thanks for all the details! I was able to repro and fix this bug, and I'll ship the fix for it this evening 👍


152

https://simontoth.substack.com/p/daily-bite-of-c-coroutines-step-by

https://maskray.me/blog/2024-03-17-c++-exit-time-destructors

https://www.sandordargo.com/blog/2024/03/20/cpp23-encoding-related-changes

https://stackoverflow.com/questions/62501687/slow-performance-of-stdcomplex-operator-on-some-compilers

https://android.googlesource.com/platform/ndk/+/5de42e6621b3d0131472c3f8838b7f0ccf3e8963/sources/cxx-stl/llvm-libc++/libcxx/include/complex


Add option to set haproxy.cfg chmod

Description
Currently, default chmod is used (0644). Since haproxy.cfg can contain
sensitive data, it is a good idea to give an operator option to pick
what suits him.
By default, it still will be 0644, with an option to change it using
resource attribute.
In addition, I have added sensitive true to haproxy.cfg template.
Contribution Check List

[x] All tests pass.
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable

This change is

I'm a bit 50/50 on wanting a test on this one.
Approved anyway. Thanks!


Enable MarkdownString#supportThemeIcons in chat response stream

https://github.com/microsoft/vscode/issues/199908#issuecomment-2003901424

This was fixe


Add support for LoongArch64 architecture

@huajingyun01 did you sign our ICLA ? https://netty.io/s/icla

@huajingyun01 did you sign our ICLA ? https://netty.io/s/icla

@normanmaurer hi, thank you for your reminder, I just completed it

Thanks a lot ...merged


Upgraded from v1.1.0 to  v1.2.0 produces Hostname/IP does not match certificate's altnames: Host: smee.io. is not in the cert's altnames

Hi,
first of all thanks for the support. We are using smee.io service/client to communicate github events with our internal Jenkins instance (nothing new here). We upgraded smee-client npm library from v1.1.0 to v1.2.2 and then this error is produced https://issues.redhat.com/browse/BXMSPROD-983
Connected https://smee.io/
Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames: Host: smee.io. is not in the cert's altnames: xxxxx
....
  code: 'ERR_TLS_CERT_ALTNAME_INVALID',
  response: undefined
}

We decided to force our machine to use v1.1.0 [1] and now it's working. I've been analyzing your changes from v1.1.0 to v1.2.2 and I can see:

You added typescript and adapted client/index.js to client/index.ts (NOT AFFECTING)
You format target url using url.format (NOT AFFECTING)
You removed server code from there (SHOULD NOT AFFECT)
You upgraded these libraries (most probably by dependantbot):

<EMAIL_ADDRESS>to ^2.19.0 (NOT AFFECTING, treating command line args)
<EMAIL_ADDRESS>to ^1.0.7  (it shouldn't affect to us, since it's just treating HTTP events)
<EMAIL_ADDRESS>to ^1.9.1  (NOT AFFECTING, logger)
<EMAIL_ADDRESS>to ^10.11.0 (NOT AFFECTING, string validators and sanitizers)
<EMAIL_ADDRESS>to ^5.0.2 (this is most probably the one which is introducing the error since is the library they use for pushing events).

It's true we can setup our certificates to include smee.io stuff but I wanted to let you know, in case you are not aware, you introduced a new integration step to perform in case you want to use smee stuff, we liked smee as it was :cupid:
[1] https://github.com/kiegroup/kie-jenkins-scripts/pull/807
related to https://issues.redhat.com/browse/BXMSPROD-983

I'm seeing the same issue on RHEL 7. Only way to make 1.2.2 work was to use NODE_TLS_REJECT_UNAUTHORIZED. Once I downgraded to 1.1.0 it started working correctly.

Just wanted to mention that the host header is making trouble with smee.io redirecting to a Jenkins master running in OpenShift (the HTTP response to the redirect is 503). Merging this PR would help us a lot, thank you!

@gr2m any idea/update on this?
I would be glad to contribute but I would need a bit of guidance here, can you please provide it?
Thanks,
Kike

Also seeing this issue. Suggested user revert to 1.1.0 or set the NODE_TLS_REJECT_UNAUTHORIZED flag. Looking forward to the fix in #162 :)


Slicer and Autoscoper TCP/IP Socket Connection

Slicer and Autoscoper need to be able to "talk" to each other, because want 3DSlicer be able to run functions in Autoscoper, and read data from it. Autoscoper uses a static IP of "<IP_ADDRESS>" and "30007" port number for its Matlab connections.

Here is an example of code to start a process:
def onFinished(exitCode, exitStatus):
  print("exitCode [%d] exitStatus [%s]" % (
    exitCode,
    {qt.QProcess.NormalExit: "NormalExit", qt.QProcess.CrashExit: "CrashExit"}[exitStatus]))

process = qt.QProcess()
process.connect("finished(int, QProcess::ExitStatus)", onFinished)
process.start("/usr/bin/xcalc", ["-rpn"])
process.waitForStarted()

On Linux, this snippet can be copied in the Slicer Python interactor and it will start the xcalc executable asynchronously passing the -rpn argument.
It also illustrates how to connect signal to the QProcess object to be notified of state changed.

Here is an example of code to start a process:
def onFinished(exitCode, exitStatus):
  print("exitCode [%d] exitStatus [%s]" % (
    exitCode,
    {qt.QProcess.NormalExit: "NormalExit", qt.QProcess.CrashExit: "CrashExit"}[exitStatus]))

process = qt.QProcess()
process.connect("finished(int, QProcess::ExitStatus)", onFinished)
process.start("/usr/bin/xcalc", ["-rpn"])
process.waitForStarted()

On Linux, this snippet can be copied in the Slicer Python interactor and it will start the xcalc executable asynchronously passing the -rpn argument.
It also illustrates how to connect signal to the QProcess object to be notified of state changed.

Thanks. I got the QProcess running. There is a minor issue though. I want to have the "command prompt" open with Autoscoper. I couldn't make it work using "cmd.exe /K" in process.start --> Line 291 in "AutoscoperConnect.py"

Thanks. I got the QProcess running. There is a minor issue though. I want to have the "command prompt" open with Autoscoper. I couldn't make it work using "cmd.exe /K" in process.start --> Line 291 in "AutoscoperConnect.py"

I'm working on a TCP/IP connection, but I can't send the full message from Python to Autoscoper. I have my code in "Playground/TCP_IP_test.py". I can send the case number, but I can't send the path to Autoscoper.

I'm working on a TCP/IP connection, but I can't send the full message from Python to Autoscoper. I have my code in "Playground/TCP_IP_test.py". I can send the case number, but I can't send the path to Autoscoper.

running cmd.exe

In this case, you would have to do something like this:
process.start("cmd.exe", ["/K", "aut_path"])

That said, what is the motivation to use cmd.exe ? I anticipate this could make cross-platform use of the extension more complicated.

running cmd.exe

In this case, you would have to do something like this:
process.start("cmd.exe", ["/K", "aut_path"])

That said, what is the motivation to use cmd.exe ? I anticipate this could make cross-platform use of the extension more complicated.

re: name of variables

I suggest to be more explicit when naming variables: aut_path -> autoscoper_executable_path

re: name of variables

I suggest to be more explicit when naming variables: aut_path -> autoscoper_executable_path

re: connection

Instead of using socket, I suggest to use the class QTcpSocket, this would to nicely integrate with the server implemented here
For an example of client, you could look at https://doc.qt.io/qt-5/qtnetwork-fortuneclient-example.html

re: connection

Instead of using socket, I suggest to use the class QTcpSocket, this would to nicely integrate with the server implemented here
For an example of client, you could look at https://doc.qt.io/qt-5/qtnetwork-fortuneclient-example.html

running cmd.exe

In this case, you would have to do something like this:
process.start("cmd.exe", ["/K", "aut_path"])

That said, what is the motivation to use cmd.exe ? I anticipate this could make cross-platform use of the extension more complicated.

Thanks, but it's still not keeping the command prompt open. Autoscoper doesn't have any console/display window at the moment, so I usually "std::cout/std::cerr" the optimization outputs or filepaths in the command prompt.

running cmd.exe

In this case, you would have to do something like this:
process.start("cmd.exe", ["/K", "aut_path"])

That said, what is the motivation to use cmd.exe ? I anticipate this could make cross-platform use of the extension more complicated.

Thanks, but it's still not keeping the command prompt open. Autoscoper doesn't have any console/display window at the moment, so I usually "std::cout/std::cerr" the optimization outputs or filepaths in the command prompt.

Thanks, but it's still not keeping the command prompt open

When you run the application by double-clicking on it from the file explorer, is there a console displayed ?
If not, it may be worth evaluating if the flag /SUBSYSTEM:CONSOLE is properly associated with the linker.
It my also be worth updating how add_executable is called here and passing WIN32 to build the application with a console.
This approach would allow to remove this hard-coded linker flag here
For reference, here is how it is done in Slicer:

https://github.com/Slicer/Slicer/blob/ef9740575b5eb517f45b0da9c6ed9a6429070320/CMake/SlicerMacroBuildApplication.cmake#L393-L424
https://github.com/Slicer/Slicer/blob/ef9740575b5eb517f45b0da9c6ed9a6429070320/Base/QTApp/qSlicerApplicationMainWrapper.cxx

Thanks, but it's still not keeping the command prompt open

When you run the application by double-clicking on it from the file explorer, is there a console displayed ?
If not, it may be worth evaluating if the flag /SUBSYSTEM:CONSOLE is properly associated with the linker.
It my also be worth updating how add_executable is called here and passing WIN32 to build the application with a console.
This approach would allow to remove this hard-coded linker flag here
For reference, here is how it is done in Slicer:

https://github.com/Slicer/Slicer/blob/ef9740575b5eb517f45b0da9c6ed9a6429070320/CMake/SlicerMacroBuildApplication.cmake#L393-L424
https://github.com/Slicer/Slicer/blob/ef9740575b5eb517f45b0da9c6ed9a6429070320/Base/QTApp/qSlicerApplicationMainWrapper.cxx

The logic has been updated in https://github.com/BrownBiomechanics/SlicerAutoscoperM/pull/2
Before integrating, I still need to address the transfer of double

The logic has been updated in https://github.com/BrownBiomechanics/SlicerAutoscoperM/pull/2
Before integrating, I still need to address the transfer of double

@BardiyaAk Would be great if you could test the pull request.
Copying the following is expected to work (just make sure the paths are correct):
from AutoscoperConnect import AutoscoperConnectLogic
logic = AutoscoperConnectLogic()
logic.startAutoscoper(r"C:\Dev\autoscoper-git\build\install\bin\Release\autoscoper.exe")
logic.loadTrial(r"C:\Dev\autoscoper-git\build\install\bin\Release\sample_data\wrist.cfg")

Note that output of the autoscoper process is now expected to be reported in the Slicer log.
If you would like to compile the mock server, sources are available in the AutoscoperMockServer directory also available in the pull request.

@BardiyaAk Would be great if you could test the pull request.
Copying the following is expected to work (just make sure the paths are correct):
from AutoscoperConnect import AutoscoperConnectLogic
logic = AutoscoperConnectLogic()
logic.startAutoscoper(r"C:\Dev\autoscoper-git\build\install\bin\Release\autoscoper.exe")
logic.loadTrial(r"C:\Dev\autoscoper-git\build\install\bin\Release\sample_data\wrist.cfg")

Note that output of the autoscoper process is now expected to be reported in the Slicer log.
If you would like to compile the mock server, sources are available in the AutoscoperMockServer directory also available in the pull request.


Audio models support with optimum.exporters.onnx

What does this PR do?
Adds support for most of the audio models supported in Transformers for the ONNX export in optimum.exporters.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Issue on the navbar menulist when reducing size less than 1024px

I will fix this issue as there are minor issue on the menu list when reducing the size
Could you please assign this issue to me under GSSOC'24 extd?

please review my PR @swaraj-das


Event plug-in partially broken after GRAV update

This is a very strange situation as the GRAV update has partially broken event plug-in. After reversing the update, everything is ok. It doesn't work in parsing the events and displaying them on an event page using events.html.twig.

Well, this issue relates to https://github.com/getgrav/grav/issues/1222

I am seeing this just fine? Let me know if I don't see what the issue is

Well, it is the same event occuring each day. Try to display two or three different events. I can display only one event in my page instead of several defined events.

No problem:

Make sure your events respond to the events.html.twig query which is
{% set events =
    page.collection({
      'items': {
        '@taxonomy': {
          'type': 'event',
        }
      },
      'dateRange': {
        'start': datetools.today|date('m/d/Y'),
        'end': datetools.parseDate('+1 month')|date('m/d/Y')
      },
      'order': {
        'by': 'date',
        'dir': 'asc'
      },
      'limit': 10,
      'pagination': true
    })
%}

(I had the dates in the past so I could not see my events initially)

Well, I had changed
        'end': datetools.parseDate('+1 month')|date('m/d/Y')
to
        'end': datetools.parseDate('+12 month')|date('m/d/Y')
to be able to parse more future events but it still does not help to display more than one event for me.

Can you zip up your pages folder and send it to me? I can test it that way or at least where your events are stored?

Here they are:
pages.zip

I tried and I did not get events at first, but after adding sk to the supported languages (since the pages are translated - e.g. event.sk.md), it worked.

OK, I got it to work.

What was the problem?

I was listing events using featured events not by taxonomy.


serviceworker-webpack-plugin/runtime does not exist

Looks like it exists under lib.

Ew, good catch, I'm gonna fix the documentation to follow the example.


Priority Marker Emoji White Space Collapsed

On MacOS, the white spaces of priority marker emojis collapse. Probably related to this.

Proposed solution: use both ::before and ::after to enforce margin on the emojis.
My custom.css:
/* priority marker emoji white space collapse */
a[priority]::after {
  font-size: var(--ct-inline-code-font-size);
}

a[priority="A"]::before,
a.priority[href="#/page/A" i]:before {
  content: "🔴";
  visibility: visible;
}

a[priority="B"]::before,
a.priority[href="#/page/B" i]:before {
  content: "🟡";
  visibility: visible;
}

a[priority="C"]::before,
a.priority[href="#/page/C" i]:before {
  content: "🟢";
  visibility: visible;
}

a[priority="A"]::after,
a.priority[href="#/page/A" i]:after {
  content: "A";
  visibility: visible;
}

a[priority="B"]::after,
a.priority[href="#/page/B" i]:after {
  content: "B";
  visibility: visible;
}

a[priority="C"]::after,
a.priority[href="#/page/C" i]:after {
  content: "C";
  visibility: visible;
}

a[priority]::before,
a.priority:before {
  width: initial;
  margin-left: 0;
  margin-right: .5em;
}

a[priority]::after,
a.priority:after {
  border-radius: 50%;
  color: var(--ls-primary-text-color);
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  height: 1rem;
  line-height: 1rem;
  text-align: center;
  margin-right: .3em;
}

After fix:

No, the emoji' spaces collapse without the custom css. According to this stackoverflow post, it might be related to my ultra wide external monitor.

Let me take a look at it. In the meantime, can you try put to the fix in your custom.css with the solution provided in the StackOverflow post? Let me know if it works for you.

The solution in the StackOverflow post requires me to wrap the emoji in the pseudo element with another element. I am not sure how to do it. In my proposed solution, I just use two separate pseudo elements.

I have pushed a new implementation for rendering markers without using emojis. Please take a look.

Just realized the text in the marker is not completely centered


[feature] better version string using git

Use the git-version-gen file included in recent autoconf distribution
to generate a version string that includes the drift (number of git
commits) since the last tag.

LGTM otherwise.


Help Please !Multiple Platform items, multiple accessories, struggling in config,json

Hello folks - this is my first post on GitHub - please be gentle
I'm trying to configure my Broadlink Mini 3 using this plugin without joy.
I've been playing with homebridge for the last two weeks with great success.  I've got my TV to switch on and off through IOS Home (with the home bridge SonyAndroidTV plugin) as well as switch on my wemo plug with Homebridge.plugin - in both cases I simply cut and pasted their sample config.json and corrected the odd quotation marks in order to achieve success.  I thought I was fast becoming a Homebridge / json pro.
What I've now noticed is that every contributor posts a sample config.json in order to get their plugin up and running.  But what happens to the existing config, and how do I add other accessories reliably using the sample .json supplied?
Sadly now I'm thinking that my two previously enabled plugins above were enabled quite by chance, because by my observation in my original config I have only got one platform and one accessory..
NOW - my quest is to add one or 2 Broadlink RM accessories. I just want to use it to turn on my air conditioner and perhaps my heater.  I don't care about temperature adjustments or anything.  Just switch it on 20 minutes before I get home.  I can do it with the Broadlink IOS app.  So they're working as they should.
The homebridge-broadlink-RM is recognised in my Homebridge startup - so it's up and running.
But if I add the sample.json with my personalisation, my config,json my homebridge won't work.
So I spent 3 days bumbling around to the point where I'm totally bamboozled.  I'm yet to get my first button in my IOS home to even trap my first code.
I'd appreciate any hand holding to get me on my way.  Thank you.
Rod
Here's the latest fail: but bear in mind I've added the "learn code", and many others just to get some sign of life.
pi@raspberrypi:~ $ homebridge
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister
[2017-12-17 07:16:03] Loaded plugin: homebridge-broadlink-rm
[2017-12-17 07:16:03] Registering platform 'homebridge-broadlink-rm.BroadlinkRM'
[2017-12-17 07:16:03] ---
[2017-12-17 07:16:07] Loaded plugin: homebridge-platform-wemo
[2017-12-17 07:16:07] Registering platform 'homebridge-platform-wemo.BelkinWeMo'
[2017-12-17 07:16:07] ---
[2017-12-17 07:16:12] Loaded plugin: homebridge-sony-android-tv
[2017-12-17 07:16:12] Registering accessory 'homebridge-sony-android-tv.SonyAndroidTV'
[2017-12-17 07:16:12] ---
[2017-12-17 07:16:12] Loaded config.json with 2 accessories and 2 platforms.
[2017-12-17 07:16:12] ---
[2017-12-17 07:16:12] Loading 2 platforms...
[2017-12-17 07:16:12] [Broadlink RM] Initializing BroadlinkRM platform...
[2017-12-17 07:16:12] [Broadlink RM] No accessories have been added to the undefined config.
[2017-12-17 07:16:12] [WeMo Platform] Initializing BelkinWeMo platform...
[2017-12-17 07:16:12] Loading 2 accessories...
/usr/local/lib/node_modules/homebridge/lib/api.js:50
if (name.indexOf('.') == -1) {
^
TypeError: Cannot read property 'indexOf' of undefined
at API.accessory (/usr/local/lib/node_modules/homebridge/lib/api.js:50:11)
at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:264:42)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:86:38)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3
AND HERE IS MY config.json
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"platforms": [
{
"platform": "BroadlinkRM",
"name": "Broadlink RM",
"hideScanFrequencyButton": false,
"hideLearnButton": false
},
{
"platform": "BelkinWeMo",
"name": "WeMo Platform",
"expected_accessories": "1",
"timeout": "25",
"homekit_safe": "1"
}
],
"accessories": [
{
"name": "Auto-off Switch",
"type": "switch",
"host": "<IP_ADDRESS>",
"disableAutomaticOff": false,
"onduration": "5",
"data": {
"on": "2600500000012...",
"off": "2600500000012..."
}
},
{
"accessory": "SonyAndroidTV",
"name": "Sony TV",
"ip": "<IP_ADDRESS>",
"psk": "my password"
}
]
}

EDIT
SO - I deleted my entire config.json to ONLY include the mini RM3 (mine)
changing it to something really simple:
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"platforms": [
{
"platform": "BroadlinkRM",
"name": "Broadlink RM",
"hideScanFrequencyButton": false,
"hideLearnButton": false
}
],
"accessories": [
{
"accessory": "Broadlink RM Learner",
"type": "learn-code",
"name": "Learn IR",
"host": "<IP_ADDRESS>"
}
]
}
And here's the sad result - I smell a rat.
[2017-12-17 10:43:59] Loaded plugin: homebridge-broadlink-rm
[2017-12-17 10:43:59] Registering platform 'homebridge-broadlink-rm.BroadlinkRM'
[2017-12-17 10:43:59] ---
[2017-12-17 10:44:03] Loaded plugin: homebridge-platform-wemo
[2017-12-17 10:44:03] Registering platform 'homebridge-platform-wemo.BelkinWeMo'
[2017-12-17 10:44:03] ---
[2017-12-17 10:44:08] Loaded plugin: homebridge-sony-android-tv
[2017-12-17 10:44:08] Registering accessory 'homebridge-sony-android-tv.SonyAndroidTV'
[2017-12-17 10:44:08] ---
[2017-12-17 10:44:08] Loaded config.json with 1 accessories and 1 platforms.
[2017-12-17 10:44:08] ---
[2017-12-17 10:44:08] Loading 1 platforms...
[2017-12-17 10:44:08] [Broadlink RM] Initializing BroadlinkRM platform...
[2017-12-17 10:44:08] [Broadlink RM] No accessories have been added to the undefined config.
[2017-12-17 10:44:08] Loading 1 accessories...
/usr/local/lib/node_modules/homebridge/lib/api.js:64
throw new Error("The requested accessory '" + name + "' was not registered by any plugin.");
^
Error: The requested accessory 'Broadlink RM Learner' was not registered by any plugin.
at API.accessory (/usr/local/lib/node_modules/homebridge/lib/api.js:64:13)
at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:264:42)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:86:38)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3

It looks like the main issue is that your configuration contains some invalid values. The "accessories" array for your Broadlink devices needs to be nested under the Broadlink platform. You also have an extra "accessory" parameter in the device definition.
You might see it better with the correct formatting.
Before:
{
	"bridge": {
		"name": "Homebridge",
		"username": "CC:22:3D:E3:CE:30",
		"port": 51826,
		"pin": "031-45-154"
	},
	"platforms": [{
		"platform": "BroadlinkRM",
		"name": "Broadlink RM",
		"hideScanFrequencyButton": false,
		"hideLearnButton": false
	}],
	"accessories": [{
		"accessory": "Broadlink RM Learner",
		"type": "learn-code",
		"name": "Learn IR",
		"host": "<IP_ADDRESS>"
	}]
}

{
	"bridge": {
		"name": "Homebridge",
		"username": "CC:22:3D:E3:CE:30",
		"port": 51826,
		"pin": "031-45-154"
	},
	"platforms": [{
		"platform": "BroadlinkRM",
		"name": "Broadlink RM",
		"hideScanFrequencyButton": false,
		"hideLearnButton": false,
		"accessories": [{
			"accessory": "Broadlink RM Learner",
			"type": "learn-code",
			"name": "Learn IR"
		}]
	}]
}

Note that the "host" is optional unless you have multiple units, so I removed it from your example.

Hello alexymik:  Thanks very much for your reply.
The device worked as expected after implementing your suggestions.  The nesting was invaluable. The Broadlink displays the RF code in the console for the button presses of my Air Conditioner remote.
I was also able to successfully add-in my wemo platform as was shown in my earlier correspondence.  It was a matter of knowing where to put the comma.  To accomplish this, I pasted your code, duplicated your platform, and edited the fields in the construction pane on the RHS (on https://jsoneditoronline.org).
But some of my original confusions still remain.
(1) Once I have the rf codes I'd like to use them control the A/C switch on/off in homekit.
(2) I'm still failing in my attempts to reintroduce the lines of json that controlled my sonyAndroid TV
{
"accessory": "SonyAndroidTV",
"name": "Sony TV",
"ip": "<IP_ADDRESS>",
"psk": "my password"
}
I just don't know how to insert the lines of code in the right place in the config.json, despite various attempts.
Once I get these two accessories inserted in the code I should be in the box seat to interpret how the logic works.  I'm not just sitting on my hands - but finding the right place to learn as a rookie seems to be proving difficult.
Cheers

If your original config from your first post worked to control your tv then it work if you add it as an accessory in the main homebridge accessories list:
{
	"bridge": {
		"name": "Homebridge",
		"username": "CC:22:3D:E3:CE:30",
		"port": 51826,
		"pin": "031-45-154"
	},
	"platforms": [{
			"platform": "BroadlinkRM",
			"name": "Broadlink RM",
			"hideScanFrequencyButton": false,
			"hideLearnButton": false,
			"accessories": [{
					"accessory": "Broadlink RM Learner",
					"type": "learn-code",
					"name": "Learn IR"
				},
				{
					"name": "TV Power",
					"type": "switch-repeat",
					"sendCount": 1,
					"data": "260088000b3a0c170a180b1..."
				},
				{
					"name": "Air Conditioner",
					"type": "switch-repeat",
					"sendCount": 1,
					"data": "2600d6006e6f0d2a0e0e0e..."
				}
			]
		},
		{
			"platform": "BelkinWeMo",
			"name": "WeMo Platform",
			"expected_accessories": "1",
			"timeout": "25",
			"homekit_safe": "1"
		}
	],
	"accessories": [{
		"accessory": "SonyAndroidTV",
		"name": "Sony TV",
		"ip": "<IP_ADDRESS>",
		"psk": "my password"
	}]
}

Hello Alexymik.
Again, thanks so much for your help.  All is working as expected.  For me, it was not including the square brackets that caused the problem.
I'm starting to understand the code syntax a little better now and I think I'll be okay for the future accessories.
I'm so pleased that it's all set up and running.  I owe you a beer!

Use this JSON Formatter and Validator for JSON editing.
https://jsonformatter.org

I cannot fix the IP of the RM..(tried to fix via router assignment of Mac address, apple time capsule, did not work...) is there a way to specify the Mac address of the desired RM for a given accessory, TV, for instance.... ? i.e.: I want to specify the room to send the HEX_Code specifying Mac address of the appropriate RM, not the IP address... thanks

solve the fixed DHCP assignment. you’re doing something wrong.

I'm having the same issue. i can't add this the ip camera platform to my exiting code below.
{
"bridge":{
"name":"Homebridge",
"username":"CD:22:3D:E3:CE:30",
"port":50430,
"pin":"031-45-154"
},
"description":"Homebridge",
"accessories":[
],
"platforms":[
{
  "platform":"BroadlinkRM",
  "name":"Broadlink RM",
  "hideScanFrequencyButton": false,
  "hideLearnButton": false,
  "hideWelcomeMessage": true,
  "accessories":[
    {
      "name":"Auto-off Switch",
      "type":"switch",
      "enableAutoOff": true,
      "onDuration": 5,
      "data":{
        "on":"2600500000012...",
        "off":"2600500000012..."
      }
    },

    {
      "name":"TV ",
      "type":"switch",
      "data":{
        "on":"26007600093c0a19091a091a0919091a093c093d0919093d0919091a091a093c091a090001753932300606790829150001e309000119093c091a091a0919091a093c091a091a093c091a093c093c0a3c091a093c0900059b093c091a0919091a091a09190a3c093c091a093c091a091a0919093d091909000d050000",
        "off":"26007600093c0a19091a091a0919091a093c093d0919093d0919091a091a093c091a090001753932300606790829150001e309000119093c091a091a0919091a093c091a091a093c091a093c093c0a3c091a093c0900059b093c091a0919091a091a09190a3c093c091a093c091a091a0919093d091909000d050000"
      }
    },
    {
      "name":"Audio box",
      "type":"switch",
      "data":{
        "on":"260054004e1426151314261513142714131412161215131412161215260003514d15251612152714131427141314131513141314121612152700034f4e142615131427141315251612151314131413151314131427000d0500000000",
        "off":"260054004e1426151314261513142714131412161215131412161215260003514d15251612152714131427141314131513141314121612152700034f4e142615131427141315251612151314131413151314131427000d0500000000"

}
},
{
"name":"Cable On/Off",
"type":"switch",
"data":{
"on":"26004c000d091428080c040a04190424083e040b0428040005970a0006490c0a14140423041a12240712080907151309081813000bd90d0815150410041d050a14060715041504100523042913000d05000000000000000000000000260060000d091415072004191219041504290419042908000bd70c091514090b091904270424080c0423040b042805000bda0d081514080c081a140814090812080c04240429040908000bd80d1708120410041e130913240410081f05080a1704000d050000000000000000260032000d091415072e042704160811080c0820042913000bda0d07080607150410081a040a14220416080c08111309081804000d05000000000000260030000d0a1414081f041a1223061408250419082504000bda0e07151507080a1c14081415041504100424040a081704000d05000000000000000026002e000d190811082e141704240429040a0409052a07000bd70d0815150410081914080608151404100523043708000d050000000000000000000026005a001d0707140424040a040b0607050a04160415042906070806072806000bd90d0608080714060e061c0508061805140416050f05220508081913000bd90e0706090515041004101309050a05230514041006210607081904000d05000000000000000000000000000026002e000c09050908130410041e040a051814280423053704000bdb0d0715150809091b05191223080d0423141904000d0500000000000000000000",
"off":"260054004d1526151215271413142714131412161314131413151215260003504d1525161314271413142714121513151314121513151314270003504e142615121527141215261513141315131413141315131427000d0500000000"
}
},
{
"name":"Mute TV",
"type":"switch",
"data":{
"on":"260054004d1512161215271413142714121513151314131412161215270003634d1512161116251612152714141312161215131411161315250003644e151215121526151215271413151314121513151215121526000d0500000000",
"off":"260054004d1512161215271413142714121513151314131412161215270003634d1512161116251612152714141312161215131411161315250003644e151215121526151215271413151314121513151215121526000d0500000000"
}
},
{
"name":"Apple Tv Audio",
"type":"switch",
"data":{
"on":"260054004e1413152615121513141215271412161314121513151314260003644d1512152615131513141215261512151315121513141216250003654d151314261512151216131427141215121513151314131427000d0500000000",
"off":"260054004e14131427141215271412152714271413151314121513142700033d4e14131427141215271412152714271413151314131413152600033e4e141315261512152615131427142714121513151314131427000d0500000000"
}
},
{
"name":"O Apple Tv Audio",
"type":"switch",
"data":{
"on":"260054004e1427141314271427142714271427141314131413151215270003144e1427141315251527142714271427141315131412151314270003174e142813131427142714271427142714121512161314131426000d0500000000",
"off":"260054004e14131427141215271412152714271413151314121513142700033d4e14131427141215271412152714271413151314131413152600033e4e141315261512152615131427142714121513151314131427000d0500000000"
}
},
{
"name":"Channel up2",
"type":"switch",
"enableAutoOff": true,
"onDuration": 1,
"data":"26003c002c12070d070d05091507080608070912070d0614050807070806080e06000b872c13060e060e230617060913070d05141506170e05000b880d000d05000000000000000000000000"
    },
    {
      "name":"Android Audio",
      "type":"switch",
      "data":{
      "on":"260054004f13271413141315261512152615261512151215131512152600033d4f13271412151315261512152615271412151315121513142700033c4e132714131513142714121527142714131512151314121526000d0500000000",
      "off":"260054004e14131427141215271412152714271413151314121513142700033d4e14131427141215271412152714271413151314131413152600033e4e141315261512152615131427142714121513151314131427000d0500000000"

}
},
{
"name":"TV Audio",
"type":"switch",
"enableAutoOff": true,
"onDuration": 1,
"data":"260054004e14131427141215271412152714271413151314121513142700033d4e14131427141215271412152714271413151314131413152600033e4e141315261512152615131427142714121513151314131427000d0500000000"
    },

    {
      "name":"Volume Up",
      "type":"switch",
      "enableAutoOff": true,
      "onDuration": 2.5,
      "data": [
        {
          "data": "260034014e1413142714121514142714131413141315131412151315270003634e1412152615121513142714131513141215131513141314270003664e1412152714121512152714131512151314121613141314270003644e1413142714131413152615121512151215131513141314270003644e1413142714131412152714131512151314131513141314270003634e1412152714131413152615131413141216131413141315260003644e1412152714121513152615131413141215141413141314260003654d1612142516131512152615121512151315121513141315250003644e1515122616111512152715111612161115121612151216250003654d1611162516111611162615121513141116121613151116250003674d161017251512161215271412151215121612171015121625000d0500000000",
          "sendCount": 5,
          "interval": 0.6
        }
      ]
    },
    {
      "name":"Double Up ",
      "type":"switch",
      "enableAutoOff": true,
      "onDuration": 2.5,
      "data": [
        {
          "data": "260034014e1413142714121514142714131413141315131412151315270003634e1412152615121513142714131513141215131513141314270003664e1412152714121512152714131512151314121613141314270003644e1413142714131413152615121512151215131513141314270003644e1413142714131412152714131512151314131513141314270003634e1412152714131413152615131413141216131413141315260003644e1412152714121513152615131413141215141413141314260003654d1612142516131512152615121512151315121513141315250003644e1515122616111512152715111612161115121612151216250003654d1611162516111611162615121513141116121613151116250003674d161017251512161215271412151215121612171015121625000d0500000000",
          "sendCount": 10,
          "interval": 0.6
        }
      ]
    },
    {
      "name":"Double Down ",
      "type":"switch",
      "enableAutoOff": true,
      "onDuration": 2.5,
      "data": [
        {
          "data": "26008c004e14261526151314131427141315131413141315121513142700034f4e1427142714131413152615131413141315121512151314260003514e1427142714131513142615121513151215131413141315260003504e1427142714131413152516131412151315121513141314270003504e142714261513141314271412161314131413151314131427000d05000000000000000000000000",
          "sendCount": 10,
          "interval": 0.6
        }
      ]
    },
    {
      "name":"Volume Down ",
      "type":"switch",
      "enableAutoOff": true,
      "onDuration": 2.5,
      "data": [
        {
          "data": "26008c004e14261526151314131427141315131413141315121513142700034f4e1427142714131413152615131413141315121512151314260003514e1427142714131513142615121513151215131413141315260003504e1427142714131413152516131412151315121513141314270003504e142714261513141314271412161314131413151314131427000d05000000000000000000000000",
          "sendCount": 5,
          "interval": 0.6
        }
      ]
    },
    {
      "name":"HHHHHHHHH",
      "type":"switch",
      "enableAutoOff": true,
      "onDuration": 1.5,
      "data":[
        {
          "data": "260060002c13070d070d140726130613070d07122307090d07000b861c070912070d070d14070807080609130514070d0515050807070707080e07000b860e0707070814050f050f050807070707080707140515050e0614050807070807070f06000d050000000000000000",
          "pause": 0.3
        },
        {
          "data": "",
          "pause": 0.3
        },
        {
          "data": "HEX_3...",
          "pause": 0.3
        }
      ]
    },
    {
      "name":"etertsnment",
      "type":"switch",
      "data": [
        {
          "data": "2600a20070731c551c1d1b1d1c561a1e1b571b1d1c1d1b1d1b1e1c1d1a571b1e1a571a571c1c1b571b1d1c561a551e551b561c561c1c1c0004526f741a571b1d1c1d1b561b1e1c551b1e1b1d1b1e1b1e1b1d1b561b1e1c551c551c1d1b561b1e1c551b561b571c551b561c1d1c0004526f731c551b1e1c1d1b561b1d1b571a1e1c1d1b1d1c1d1c1d1a571c1c1b571b561b1e1a571b1e1a571a571b561c551c561b1d1b000d05000000000000",
          "sendCount": 2,
          "interval": 0.3,
          "pause": 2
        },
        {
          "data": "",
          "sendCount": 2,
          "interval": 5
        }
      ]
    },
    {
      "name":"Apple Tv V",
      "type":"switch",
      "data": {
        "on": [

          {
            "data": "260088000a3b091a09190a19091a093c0a3b0b180a19093c091a091a0919093d0a180b0005de0a3c0a180a190a1909190a19091a093c093d0a18093d093c0a3b0a19093c0a00059a0a3b0a190a19091a081a0a3c083d091a0919093d0919091a091a093c091a090005e00b3a0a190a19081a091a091a0a18093d0a3b091a0a3b09390d3c0a180b3b0a000d05",
            "sendCount": 4,
            "interval": 0.6,
            "pause": 0.3
          }
        ],
        "off": [
          {
            "data": "260088000a3b091a09190a19091a093c0a3b0b180a19093c091a091a0919093d0a180b0005de0a3c0a180a190a1909190a19091a093c093d0a18093d093c0a3b0a19093c0a00059a0a3b0a190a19091a081a0a3c083d091a0919093d0919091a091a093c091a090005e00b3a0a190a19081a091a091a0a18093d0a3b091a0a3b09390d3c0a180b3b0a000d05",
            "pause": 0.1
          },
          {
            "data": "260088000a3b091a09190a19091a093c0a3b0b180a19093c091a091a0919093d0a180b0005de0a3c0a180a190a1909190a19091a093c093d0a18093d093c0a3b0a19093c0a00059a0a3b0a190a19091a081a0a3c083d091a0919093d0919091a091a093c091a090005e00b3a0a190a19081a091a091a0a18093d0a3b091a0a3b09390d3c0a180b3b0a000d05",
            "sendCount": 9,
            "interval": 0.6,
            "pause": 0.3
          }
        ]
      }
    },
    {
      "name":" O Apple V",
      "type":"switch",
      "data": {
        "on": [

          {
            "data": "260088000a3b091a09190a19091a093c0a3b0b180a19093c091a091a0919093d0a180b0005de0a3c0a180a190a1909190a19091a093c093d0a18093d093c0a3b0a19093c0a00059a0a3b0a190a19091a081a0a3c083d091a0919093d0919091a091a093c091a090005e00b3a0a190a19081a091a091a0a18093d0a3b091a0a3b09390d3c0a180b3b0a000d05",
            "sendCount": 5,
            "interval": 0.6,
            "pause": 0.3
          }
        ],
        "off": [
          {
            "data": "260088000a3b091a09190a19091a093c0a3b0b180a19093c091a091a0919093d0a180b0005de0a3c0a180a190a1909190a19091a093c093d0a18093d093c0a3b0a19093c0a00059a0a3b0a190a19091a081a0a3c083d091a0919093d0919091a091a093c091a090005e00b3a0a190a19081a091a091a0a18093d0a3b091a0a3b09390d3c0a180b3b0a000d05",
            "pause": 0.1
          },
          {
            "data": "260088000a3b091a09190a19091a093c0a3b0b180a19093c091a091a0919093d0a180b0005de0a3c0a180a190a1909190a19091a093c093d0a18093d093c0a3b0a19093c0a00059a0a3b0a190a19091a081a0a3c083d091a0919093d0919091a091a093c091a090005e00b3a0a190a19081a091a091a0a18093d0a3b091a0a3b09390d3c0a180b3b0a000d05",
            "sendCount": 8,
            "interval": 0.6,
            "pause": 0.3
          }
        ]
      }
    },
    {
      "name":" Android V",
      "type":"switch",
      "data": {
        "on": [

          {
            "data": "260088000a3b091a09190a19091a093c0a3b0b180a19093c091a091a0919093d0a180b0005de0a3c0a180a190a1909190a19091a093c093d0a18093d093c0a3b0a19093c0a00059a0a3b0a190a19091a081a0a3c083d091a0919093d0919091a091a093c091a090005e00b3a0a190a19081a091a091a0a18093d0a3b091a0a3b09390d3c0a180b3b0a000d05",
            "sendCount": 6,
            "interval": 0.6,
            "pause": 0.3
          }
        ],
        "off": [
          {
            "data": "260088000a3b091a09190a19091a093c0a3b0b180a19093c091a091a0919093d0a180b0005de0a3c0a180a190a1909190a19091a093c093d0a18093d093c0a3b0a19093c0a00059a0a3b0a190a19091a081a0a3c083d091a0919093d0919091a091a093c091a090005e00b3a0a190a19081a091a091a0a18093d0a3b091a0a3b09390d3c0a180b3b0a000d05",
            "pause": 0.1
          },
          {
            "data": "260088000a3b091a09190a19091a093c0a3b0b180a19093c091a091a0919093d0a180b0005de0a3c0a180a190a1909190a19091a093c093d0a18093d093c0a3b0a19093c0a00059a0a3b0a190a19091a081a0a3c083d091a0919093d0919091a091a093c091a090005e00b3a0a190a19081a091a091a0a18093d0a3b091a0a3b09390d3c0a180b3b0a000d05",
            "sendCount": 7,
            "interval": 0.6,
            "pause": 0.3
          }
        ]
      }
    },
    {
      "name":"Blind Multi",
      "type":"window-covering",
      "totalDurationOpen": 5,
      "totalDurationClose": 2,
      "data":{
        "open":"OPEN_HEX...",
        "close":[
          {
            "data": "CLOSE_HEX_1...",
            "sendCount": 2,
            "interval": 0.3,
            "pause": 0.3
          },
          {
            "data": "CLOSE_HEX_2..."
          }
        ],
        "stop":"STOP_HEX..."
      }
    }
  ]
}

]
}


SMTP pipelining support

Supporting SMTP pipelining .Issue #2338
As @philipwhiuk described have also implemented the testes except the third one . I need @philipwhiuk  support here to implement that and also improve this commit .

PR #2344 will break this

I did not see that coming . will wait till that PR  accepted .

It's merged now :)

Fine then . I will modify accordingly and commit the pipeline support code .

Yes Its working with Gmail .

There is a design flaw in this PR.
The expectation for the server is:
SHOULD issue a positive response to the DATA command if and
only if one or more valid RCPT TO addresses have been
previously received.
However, this affects the behaviour. In the current implementation, if one of the email address is wrong, the email isn't sent.
I think we should retain this behaviour. We can do this fairly easily:
If we get any exception while pipelining, we store it. Once we have processed all pipelined commands, if we have an exception, we provide an empty message. The spec says this MUST result in the server not sending anything.
The test for this should include:

250 response for the sender
250 response for 1 recipient
550 response to another recipient
354 response to DATA

It should result in an exception being thrown and an empty message being sent to the server.

hey @philipwhiuk sorry for late comment . I was on a vacation .
As rfc says for server implementation

MUST NOT, after issuing a positive response to a DATA command
with no valid recipients and subsequently receiving an empty
message, send any message whatsoever to anybody.

Here it say that "with no valid recipients" but the case which you pointed out there will be a valid recipients hence I was wondering if it would be okay to just send a empty message.

That's what i was suggesting yes

I added a test and it did break. So I've fixed that. I'll just re-base it now.

I rebased this and squashed a bunch of commits to clean up the history. Unfortunately I can't force-push to yesalam's branch, so I made a new one, see #2724


get_chromosome_list failure in toil_compatibility branch

The most worrisome error to me looks like:
bash: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
I'm not sure how this would have succeeded before unless the Docker image changes (installing R) somehow removed a library/dependency?
The full TOIL error:
blade8-3-12.gsc.wustl.edu 2017-03-24 10:09:49,857 MainThread WARNING toil.leader: The job seems to have left a log file, indicating failure: 'file:///gscmnt/gc2764/cad/jwalker/toil_test/arvados_trial/pindel/get_chromosome_list.cwl' bash -c /bin/grep -v '^@' $1 | /usr/bin/cut -f 1 | /usr/bin/sort | /usr/bin/uniq -- L/z/jobk8JVde
---TOIL WORKER OUTPUT LOG---
L/z/jobk8JVde    INFO:toil:Running Toil version 3.6.0-f930a841e79d1032a44670b85c319411ca539ede.
L/z/jobk8JVde    [job get_chromosome_list.cwl] /gscmnt/gc2764/cad/jwalker/toil_test/full_exome/tmpArXRsN$ bash
L/z/jobk8JVde        -c
L/z/jobk8JVde        '/bin/grep -v '"'"'^@'"'"' $1 | /usr/bin/cut -f 1 | /usr/bin/sort | /usr/bin/uniq'
L/z/jobk8JVde        --
L/z/jobk8JVde        /gscmnt/gc2764/cad/jwalker/toil_test/full_exome/tmpwp5jAM/stg9e48aa17-a0d9-4f58-b079-d613cbddb7ca/xgen-exome-research-panel-targets.interval_list > /gscmnt/gc2764/cad/jwalker/toil_test/full_exome/tmpArXRsN/chromosome.list
L/z/jobk8JVde    INFO:cwltool:[job get_chromosome_list.cwl] /gscmnt/gc2764/cad/jwalker/toil_test/full_exome/tmpArXRsN$ bash
L/z/jobk8JVde        -c
L/z/jobk8JVde        '/bin/grep -v '"'"'^@'"'"' $1 | /usr/bin/cut -f 1 | /usr/bin/sort | /usr/bin/uniq'
L/z/jobk8JVde        --
L/z/jobk8JVde        /gscmnt/gc2764/cad/jwalker/toil_test/full_exome/tmpwp5jAM/stg9e48aa17-a0d9-4f58-b079-d613cbddb7ca/xgen-exome-research-panel-targets.interval_list > /gscmnt/gc2764/cad/jwalker/toil_test/full_exome/tmpArXRsN/chromosome.list
L/z/jobk8JVde    bash: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
L/z/jobk8JVde    [job get_chromosome_list.cwl] completed permanentFail
L/z/jobk8JVde    WARNING:cwltool:[job get_chromosome_list.cwl] completed permanentFail
L/z/jobk8JVde    Final process status is permanentFail
L/z/jobk8JVde    WARNING:cwltool:Final process status is permanentFail
L/z/jobk8JVde    Traceback (most recent call last):
L/z/jobk8JVde      File "/usr/local/lib/python2.7/dist-packages/toil/worker.py", line 340, in main
L/z/jobk8JVde        job._runner(jobGraph=jobGraph, jobStore=jobStore, fileStore=fileStore)
L/z/jobk8JVde      File "/usr/local/lib/python2.7/dist-packages/toil/job.py", line 1271, in _runner
L/z/jobk8JVde        returnValues = self._run(jobGraph, fileStore)
L/z/jobk8JVde      File "/usr/local/lib/python2.7/dist-packages/toil/job.py", line 1218, in _run
L/z/jobk8JVde        return self.run(fileStore)
L/z/jobk8JVde      File "/usr/local/lib/python2.7/dist-packages/toil/cwl/cwltoil.py", line 286, in run
L/z/jobk8JVde        **opts)
L/z/jobk8JVde      File "/usr/local/lib/python2.7/dist-packages/cwltool/main.py", line 240, in single_job_executor
L/z/jobk8JVde        raise WorkflowException(u"Process status is %s" % (final_status))
L/z/jobk8JVde    WorkflowException: Process status is ['permanentFail']
L/z/jobk8JVde    ERROR:toil.worker:Exiting the worker because of a failed job on host blade14-4-4.gsc.wustl.edu

There was a missing library in the docker-cle image.


jsonschema validation

Addresses #930.
Changes proposed in this pull request:

use jsonschema for validation instead of openapi_spec_validator

Many of the tests seem to fail because the OpenAPI specs used for testing are actually invalid.
For example: https://travis-ci.org/zalando/connexion/jobs/530330378#L787
If "in: path", then you must have "required: true":
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#parameterRequired
Perhaps openapi-spec-validator was not handling this correctly.

Hey @patrickkwang - I'm excited for these changes - thanks for taking them on!

Could you make the tests pass?

No, the tests will fail because many of them are based on the invalid simple schema: https://github.com/zalando/connexion/pull/936#issuecomment-490949868
The tests are corrected in #1010, so this PR will be dependent on that one.

It looks like the jsonschema version doesn't check the case where a parameter default is the wrong type, and this results in two failing tests.
This is something that we can check at runtime, but it is somewhat unfortunate. Overall, it's probably worth the simplicity of this change, but we'll have to remove those tests.
I'll see if folks upstream have any thoughts on this.

The JSON Schema actually doesn't enforce that default values validate against the associated schema:
https://json-schema.org/understanding-json-schema/reference/generic.html#annotations
The OpenAPI specification is stricter:
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schema-object
So jsonschema is doing what it ought to. Someone could fork it to enforce that extra OpenAPI requirement.

Here's the relevant section from the spec.

Unlike JSON Schema, the value MUST conform to the defined type for the Schema Object defined at the same level. For example, if type is string, then default can be "foo" but cannot be 1.

This PR uses jsonschema to validate the openapi spec.
I think the jsonschema spec provided fails to validate that defaults are correct type properly.
I think this is a bug in their openapi spec validation as implemented with jsonschema.
(the language here is very confusing - ack!)

Also of note, this doesn't completely alleviate the need for openapi-spec-validator yet. We are still using it for remote '$ref' resolution for yaml files.

It turns out it's not too hard to extend jsonschema to enforce that all the default values validate against the associated (sub)schemas. The last two tests pass now! This instance_validator business feels janky, though; I intend to ask @Julian if there's a cleaner way to handle references when validating the defaults.

nice! I tried to ask in the swagger irc if there's a way to do it in jsonschema, but didn't hear back.

Coverage increased (+0.08%) to 97.103% when pulling 9fae14d898bf285f50db00878e1987fd2677b10c on patrickkwang:master into 2229831e80f55e1f8bfb536f73bc77013566df21 on zalando:main.


Faceting: Visualizations: Layout and placement of faceted and non-facted plots

Starting with BarplotVisualization in https://github.com/VEuPathDB/web-eda/pull/640 (which will hopefully be merged by the time we start on this ticket), figure out a clean and responsive way to lay out the components in the two modes: faceted and non-faceted.
See mock-up here

I have qa-ed the layout of faceted plots for barplots. Using the following criteria from the mock ups.

Limit by number of variable values in the whole dataset. Limit 7

The faceted plots scroll

There is no wrapping of flots

Thumbnails show only 4 facets

There is only one level (row) of facets

I will qa for scatter plot when the disappearing plots get fixed.

I have confirmed the same above functionality in the scatterplots.


Start and Stop Logic

The start and stop logic when reading needs to be fine tuned.
Things we should be looking for is :

The user just wants to temporarly pause.
The user wants to stop reading one section and go to another.

Make sure to create tests for this..


Logging doesn't always match API calls

When restarting crowdsec, I see cloudflare bouncer logs saying it picked up XXX new decisions.
However, the bouncer maintains cache and won't do actual API calls.
Can we fix the logging so that it reflects better what API calls it does ? (ie. at least saying it was in cache and won't call api again)

Fixed via https://github.com/crowdsecurity/cs-cloudflare-bouncer/pull/54 . We have dedicated logging for http requests know when using -lc flag.


⚠ ClamAV has degraded performance

In eaf048f, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 65 ms

Resolved: ClamAV performance has improved in 2d9187a.


pythonPackages.asyncpg: fix hash of patch

Motivation for this change
This has been broken for as long as this package has existed, on both master and 19.09.
This should probably be backported.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @eadwu

Worked when initially pushed until the hash changed. Fix is here too https://github.com/NixOS/nixpkgs/pull/70256.

Obsolete as #70256 got merged and will be backported.


Split Authenticator to decouple orthogonal functions

Our current authenticator interface handles two orthogonal checks:

HTTP client authentication (e.g., basic auth or kerberos)
Permission-checking for service creation (e.g., checking for prestashed kerberos tickets in the target compute cluster)

These should be decoupled to make reuse of the client authentication portion easier when we need to change the permission-checking portion.

I think the check-user can become part of a (validate-service service-id) function in the scheduler.


update plugin and intellij

support 232
tbh,  I haven't tested this yet. but it's just a version change.

Ok, let me to test it now.

I have committed the plugin to review, maybe it needs two days to be approved.


Investigate fixes-replacements for several UCO domain types currently misnamespaced with xsd

Investigate fixes-replacements for xsd:BasicString, xsd:Identifier, xsd:NativeFormatString, xsd:StructuredText, & xsd:PatternExpression

This issue was raised by DarkLight

Propose: Replace xsd:BasicString with xsd:string

Propose: Remove xsd:StructuredText as superfluous.
Extend existing types:StructuredText to fully define as appropriate.

Propose: Remove xsd:NativeFormatString

Propose: Remove xsd:Identifier for now and simply use xsd:string as Range for core:id.
In the future if we wish to add formatting constraints for the string we can do so.

xsd:PatternExpression is merely a typo.
Propose to fix typo and cleanup some related inconsistencies/issues in pattern.ttl

Draft fixes complete in the turtle-cleanup branch


ocaml/redis: make fetched sources match package version

Right now package claims to be version 0.4 but it's actually version 0.6

Thanks!


RE2022-301: add collection metadata

LGTM, I'm assuming it tested fine

yea. The metadata is saved/retrieved correctly locally.


I'm confused by your fetch example:
<img src={result.value.message} alt={result().value.message} />

I thought alt for for a text description of the image (for blind or folks with slow download speeds).  But you return the image again?
https://yoast.com/image-seo-alt-tag-and-title-tag-optimization/

This is just a minor issue that is for the demos only.


Egress routing for internet

Is your feature request related to a problem? Please describe.
I want to be able to route to the internet out of any of my nodes. Netbird does this easily through egress but netbird restricts routes to /7.
Describe the solution you'd like
Netmaker has the concept of Egress. I can route to <IP_ADDRESS>/0 through another node. This cannot be done with netbird.

Hi @brandonkal, I feel that this is similar to what was requested as Exit node in https://github.com/netbirdio/netbird/issues/289. I'm closing this one as duplicated.


crypto/rsa: rsa.SignPSS doesn't handle opts as nil as described

What version of Go are you using (go version)?
Probably 1.13.1
I was browsing source code on https://golang.org and the new web page doesn't display version number.

$ go version

Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
N/A
go env Output
$ go env

What did you do?
I was reading the source code for cypto/rsa.SignPSS. That text indicate that "opts" may be nil, see description. However the first thing that function is doing is using "opts" as a non-nil value. Later the function indicate that "opts" may be nil as the description is saying.
Links:
Description:
https://github.com/golang/go/blob/c1e46af62f2893a6beb2341ef71ffe8d3787975b/src/crypto/rsa/pss.go#L247
First usage, assume opts != nil
https://github.com/golang/go/blob/c1e46af62f2893a6beb2341ef71ffe8d3787975b/src/crypto/rsa/pss.go#L250
Later usage, check that opts can be nil
https://github.com/golang/go/blob/c1e46af62f2893a6beb2341ef71ffe8d3787975b/src/crypto/rsa/pss.go#L258

What did you expect to see?
That SignPSS could handle nil for opts as indicated by the description.
What did you see instead?
If "opts" is passed in as nil, an runtime exception will be thrown.

rsa.VerifyPSS have the same problem.

If "opts" is passed in as nil, an runtime exception will be thrown.

This is incorrect. You can call functions on nil values: https://play.golang.org/p/89OmxZa5X7d
See https://github.com/golang/go/blob/master/src/crypto/rsa/pss.go#L238-L243


Use correct length to build header

The original Zoo code produces correct headers when the input file names have directories; but for some reason, direntry->var_dir_len is no longer correct when dir_to_b is called. This change does not trust direntry->var_dir_len to be correct, but recalculates it from direntry->dirlen and direntry->namlen. The resulting binary produces correct headers.
This fixes issue #2.

@troglobit ^

Hi, sorry for the late reply.
After some bisecting I've found the root cause for all this to be caused by these two commits:

257a5dd
4329584

I'm working on fixing the test(s) and after that I'll see to revert the above and add some proper fixes instead of this PR.
Thank you for bringing this to my attention, @johnsonjh! For some reason notifications for this repo had been turned off for me.


[PID/(Q)EAA Data Model - Parameters] vct

The "vct" claim is defined as "Credential type as a string, MUST be set in accordance to the type obtained from the PID/(Q)EAA Issuer metadata...." Link
As there will be large number of credential types, it would be preferable here to refer to the attestation's SCHEMA identifier assigned into the Trust Schema Chain/Registry. This will create a more dynamic approach to credential typology (for example for the same EEA type there could be different schemas in different EU Member States)

this requirement regarding vct is mandated by the SD-JWT VC specification
while the credential's schema provider  for SD-JWT is going to be defined here: https://github.com/italia/eudi-wallet-it-docs/issues/199

already there and implemented


Update build

Bringing the nunit 2 adapter build up to the same standard as nunit 3. Also updated the framework version used by the demo project from 2.6.3 to 2.6.4. Fixes #14

Looks fine to me. 😄


ClusterTimeSimulation

Fix #6 closes #18
Fix #10

For posteriority:

fix on 32-bit
write tests for MSD
end simulation if there are no sheep on the grid anymore
refactor msd and mqd thresholds to be part of the MQD/MSD structs and make those fields of the ClustertimeSimulation to ease requesting values
implement getMSD(simulation)/getMQD(simulation)


python311Packages.plugwise: 0.33.0 -> 0.33.1

Diff: https://github.com/plugwise/python-plugwise/compare/refs/tags/v0.33.0...v0.33.1
Changelog: https://github.com/plugwise/python-plugwise/releases/tag/v0.33.1
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 258538 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.plugwise
python310Packages.plugwise
python310Packages.plugwise.dist
python311Packages.plugwise
python311Packages.plugwise.dist

@OfBorg eval


[Bug]: Re-authorization issue in datasource

Is there an existing issue for this?

[X] I have searched the existing issues

Description
I have created a datasource with Authentication Type: Oauth 2.0 and Grant type : Authorization code, and saved the datasource in my app. When I  tried to run an API using this datasource, it failed because access token was expired within 1 hour. So I need to re-authorize datasource in every hour to run the API. I need to know that how to re-authorize without coming to datasource.
Steps To Reproduce

Create new datasource (Autheniticated API) with Authentication Type: Oauth 2.0 and Grant type : Authorization code
Create an API using this datasource.
API run without any error initially. But after every hour, access token was expired and we need to re-authorize datasource to fix the error.

Public Sample App
No response
Version
Appsmith v1.7.8

@SreelakshmiV12 are you working with some 3rd party API or an internal API? With most 3rd party APIs like google, I've seen that you may need to request offline access in the scopes of the API
https://developers.google.com/identity/protocols/oauth2/web-server#offline
Do re-open this if you're still facing this issue

I am using zoho books as authenticated API data source on self-hosted instance of latest Appsmith. We are getting the same issue as described above.

@jessydm have you tried requesting for offline access?
We would be happy to debug the issue with you

Yes...the offline access was requested. Everything works fine till Token
expires and one it expires, the only way to make it work is to go back to
data source and reauthorize it.
On Fri, Nov 15, 2024, 3:04 AM Nikhil Nandagopal @.***>
wrote:

@jessydm https://github.com/jessydm have you tried requesting for
offline access?
We would be happy to debug the issue with you
—
Reply to this email directly, view it on GitHub
https://github.com/appsmithorg/appsmith/issues/15244#issuecomment-2478460026,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHSV2OCN64DT73TEJY3XVZ32AXBKBAVCNFSM6AAAAABRX35RUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZYGQ3DAMBSGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

For sake of issue, I use this datasource on Zoho Books API

Hey @jessydm, we apologize for the inconvenience caused.
Can you please share some more details about this issue to help us debug this better.
You can do so by sending an email to<EMAIL_ADDRESS>The details we require would be:

Are you appsmith cloud or self-hosted?
Which version are you using?
What is the Authorization URL you added while configuring the datasource?
What is the Access token URL added?
What are the scopes added?
Is it possible for you to share the App JSON with<EMAIL_ADDRESS>


Cannot install @vanilla-extract/next-plugin on Ubuntu LTS

Describe the bug
Cannot install @vanilla-extract/next-plugin on Ubuntu LTS. This fails even in a completely fresh repo (see the minimal repro).
@vanilla-extract/css installs fine, but other plugins also fail (tried rollup, webpack, esbuild).
Reproduction
https://github.com/arturmuller/vanilla-repro
System Info
System:
  OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
  CPU: (12) x64 AMD Ryzen 5 2600X Six-Core Processor
  Memory: 4.77 GB / 15.55 GB
  Container: Yes
  Shell: 5.1.16 - /bin/bash

Used Package Manager
npm (also tried with pnpm with the exact same result)
Logs
The npm log is too long to fit into the max length of a GitHub issue, but can be found in full at https://github.com/arturmuller/vanilla-repro/blob/main/2022-12-30T12_49_22_369Z-debug-0.log
Validations

[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

Based on some more poking around, this seems to be an issue specifically with<EMAIL_ADDRESS>which is a dependency of @vanilla-extract/integration. If I try to install this version of esbuild in a fresh repo it fails with the same issue.
Latest version of esbuild installs just fine, so bumping that dep would fix this installation problem.

I'm facing the same issue with Vanilla Extract webpack and rollup plugins on Ubuntu 22.04.1 LTS.
Here's the full error log when running npm install:
npm ERR! code 1
npm ERR! path /home/abhijeet/Documents/github/hazel-ui/node_modules/@vanilla-extract/integration/node_modules/esbuild
npm ERR! command failed
npm ERR! command sh -c node install.js

I'd recommend anyone else bumping into this issue to also replace their installed Node. The Snap Store distribution has different permissions from the apt-get distribution which can cause issues with other libraries too.

@cseas thanks! That is a really valuable thing to know!


Add support for PNLGRP syntax

This change will add support for panel groups, which are used for online help for IBM i commands.
IBM i commands should always have online help to assist the user, and it is quite easy to create this using the markup language for panel groups, that IBM created several decades ago.
All panel group tags are included and will be color-coded, and attributes and values for tags used in online help will also be color-coded.

Oh wow very cool, I've never seen heard of this before. Thanks for your work on this!

You're welcome - I use it all the time and would love to have it in VS Code via your great extension... and it was fun to juggle all the regular expressions and try catching all possibilities.
And thank you for all your work with this extension!

Btw, I used the Application Display Programming manual as the reference guide - chapter 20 shows how to create help panels and Appendix A shows every command/tag and attributes.

@chrjorgensen Nice, that's a good find. Thanks for the link too!


Full Size Orientation

When the player is in full size I can't change the orientation by simply flipping the phone (it's set to be portrait only but youtube allows you to do that) (actually even if it's in rotation mode it doesn't allow you to choose your own orientation)

related to auto rotate issue, closing for that issue #97


Fix hero sizes

Use proper sections in index.html to comply with bulma styles
Update default value of header height to "fullheight" (shows navbar)

For the record I just tested this patch locally, and that fixes the long standing issue I had with the hero sizes since the big theme refactoring. Looking forward to it getting merged!


ArcBox deployment fails

Is your issue related to a Jumpstart scenario, ArcBox, or HCIBox?

ArcBox Full
Describe the bug
The deployment fails:

To Reproduce
Follow the documentation to deploy the "Full" flavor of ArcBox.
Expected behavior
The deployment should succeed.
Environment summary

Have you looked at the Troubleshooting and Logs section?
Yes

The issue is related to this upstream issue.


Logging parameter

Added a parameter for log level for the /query and /query_result endpoints. The default level is error. Also created better error handling for KP requests.

I wasn't sure exactly what you wanted to see split into a separate PR. The only thing I found that was easily removable was the change to the KP error handling.

I wasn't sure exactly what you wanted to see split into a separate PR. The only thing I found that was easily removable was the change to the KP error handling.


Run mix format

Since in the meantime a couple of other code-changes were made, I've used the .formatter.exs from this PR but ran mix format myself after the changes instead. :wink:

good


noisy

Describe the bug
This lib is very noisy when running tests within jest. It outputs a ton of console.logs
To Reproduce
Use it in jest with shouldInitialize set to false.
Expected behavior
eliminate the logs or provide a prop to not log to console
Screenshots

This is expected behavior and I plan to keep this functionality. I suggest running your test environment against the production bundles of your external modules


Client side validation in event form

In the event form, certain fields depend on other fields and only specific combinations are possible. To enhance the user experience, we should add the "required"-attribute via Javascript whenever the associated checkbox is activated and vice versa.
Example:

[x] start_time and end_time should be required when is_all_day is not checked.
(fixed in 5426559e25114897d99773e57bed39191c3391fe)
[ ] recurrence_end_date should be required when has_recurrence_end_date is checked.

@florianhofhammer I unassigned you since I wasn't sure whether you wanted to complete the issue - if you're still interested though, I can of course re-assign you :wink:
Greetings from Berlin!

Looking at the existing code under
/integreat-cms/cms/forms/events,
where the first part of the issue was fixed at
event_form.py[124-147],
it seems as if the second part of the issue was already fixed when the recurrence_rule_form.py script was created:
recurrence_rule_form.py[112-122]


Fix documentation of XMLParser::get_node_name()

Closes #89120
The described condition for error was wrong.
Also adds a note for the unintuitive API name.

Thanks!


Should we implement covid19-stream ?

Twitter provides new API covid19-stream. I'm annoying to should implement these. This API may be deprecated in the future (I hope it). As a result, If library user use these API, the user library isn't working. Of cource we can keep these API , but  I worry about if it's good way. What do you think ?

cc @mmmommm @thinca

I have no plan to use that API.
It does not need for me.

OK, I close this issue for this API is ambiguous if it's necessary or not.


[FLINK-12511][table][hive] make variable 'comment' in all catalog metadata classes final

What is the purpose of the change
Because of historical reasons, currently the variable "comment" in all catalog metadata classes are not final yet, it has a default value and can be overwritten in constructor. It creates problems like overloaded constructors are built in a weird, if not wrong, way. (See code below).
This PR removes the default value of "comment" and make it final that can only be assigned value upon construction, and ends the not-so-well-designed overloaded constructors for catalog metadata classes.
Brief change log

made 'comment' in catalog metadata classes and removed its default value
rebuilt constructors for catalog metadata classes

Verifying this change
This change is already covered by existing tests, such as CatalogTestBase.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

merging...


ARXIVNG-323 increase test coverage for process.transform and services.index

Coverage increased (+6.6%) to 88.184% when pulling 70843bf446386e1577690ab08b93ac329e6fcc8d on task/ARXIVNG-323 into 75bbcb91773f46130ebed221eb3e806614f24fdf on develop.


CLAS,INTF: Support for component documentation

After https://github.com/abapGit/abapGit/pull/5786, Ref https://github.com/abapGit/abapGit/issues/5774
Test case:
https://github.com/abapGit-tests/CLAS_docu
https://github.com/abapGit-tests/INTF_docu
Support for CLAS and INTF component documentation

attributes
methods
events
types

Closes https://github.com/abapGit/abapGit/issues/5373

run the pretty printer on the full class source and add another commit to the branch

@frij-aws check the findings by the linter, https://github.com/abapGit/abapGit/pull/5575/checks?check_run_id=6509585553
we enforce static analysis, to get consistent code style, and the check must be green for the PR to be merged

lint successful now I think

I'm undecided about this... The implementation works but...

The docu logic would be in zcl_abapgit_objects_program, which then calls back to zcl_abapgit_oo_class and zcl_abapgit_oo_interface. Why not put the logic into zcl_abapgit_oo_base?

With the logic in zcl_abapgit_objects_program, it would be good to use it also for documentation of function modules and parameters. But there's too much class/interface specific code related to document types.

There is already logic in zcl_abapgit_objects_super->serialize|deserialize|delete_longtexts. It's another way to handle documentation but not compatible with the xml format currently used by class/interface.

Here's my preferred option...

Extend zcl_abapgit_objects_super->serialize|deserialize|delete_longtexts to make it work with document types that have subtypes/parts (as required by class/interface/function)
Call these extended methods from zcl_abapgit_object_clas and zcl_abapgit_object_intf. This requires increasing the metadata version. An example for this is in zcl_abapgit_object_dsys. The current deserialize_docu needs to remain and be called for v1.0.0 format. For v2.0.0 it needs to call the extended methods. The current serialize_docu needs to support only the new format.

The result should be that documentation is consistently serailized/deserialized using the objects super class instead of having different formats for different objects.

@frij-aws see comments above, plus check conflicts

I will help get this done once the AFF work has settled down

Updates?

https://github.com/abapGit/abapGit/pull/5755 needs to go first (related to shorttexts). Then I will come back to this and tackle the longtexts, too.

Hi Jon,
I hope you don't mind me updating the PR. After reworking zcl_abapgit_longtexts, the implementation here became straight forward. I updated the initial description to reflect the changes. It lists two test cases that you might want to try.
Once https://github.com/abapGit/abapGit/pull/5786 is merged, we can merge this PR as well.
Thanks for getting it started! 🙏

رمز واتساب
مُرسل من بريد Yahoo لجهاز iPhone
بتاريخ الجمعة, مايو 20, 2022, 10:42 م، Jon Friesen @.***> كتب:
Sorry I'm relatively new to Github -- what is the next action on this? I see there is a requested change, do I need to make a new commit?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

It's completed. No action required


Division by zero error

Traceback (most recent call last):
File "/home/bradley/venv/lib64/python3.7/site-packages/kwola/tasks/RunTrainingStep.py", line 356, in prepareAndLoadBatchesSubprocess
differenceRatio = abs(traceWeightData['weight'] - sampleRewardLoss) / traceWeightData['weight']
ZeroDivisionError: float division by zero

this issue has been fixed in kwola release 0.0.53


contributor: Support order by the number of commits

https://github.com/pingcap/tidb/pull/3311

\w/

GitHub is weird:

The result is a little different from github, it seems that GitHub doesn't treat merge commit as a commit.

Close via #25


[chip-test,sival] chip_sw_rv_core_ibex_rnd

Test point name
chip_sw_rv_core_ibex_rnd
Host side component
None
OpenTitanTool infrastructure implemented
None
Silicon Validation (SiVal)
Yes
Emulation Targets

[ ] None
[X] CW310
[ ] Hyperdebug + CW310

Contact person
GregAC
Checklist
Please fill out this checklist as items are completed. Link to PRs and issues as appropriate.

[ ] Check if existing test covers most or all of this testpoint (if so, either extend said test to cover all points, or skip the next 3 checkboxes)
[ ] Device-side (C) component developed
[ ] Bazel build rules developed
[ ] Host-side component developed
[ ] HJSON test plan updated with test name (so it shows up in the dashboard)
[ ] Test added to dvsim nightly regression (and passing at time of checking)
[ ] For SiVal test cases, test is running relevant FPGA or silicon regression

estimate 0.5

See https://github.com/lowRISC/opentitan/pull/20319


Wrong Board selected in Arduino

Hello,
I tried to use your library but even the examples don't compile. It says the wrong board is selected..
I use Arduino 1.8.19 on os x 12.2.1, core and library with arduino library manager, all up to date.
RPi pico is selected in the board manager and I use RP2040 since a while with success.
/Users/simonjuif/Documents/Arduino/libraries/MBED_RPI_PICO_TimerInterrupt/src/MBED_RPi_Pico_TimerInterrupt.hpp:47:4: error: #error This code is intended to run on the MBED RASPBERRY_PI_PICO platform! Please check your Tools->Board setting.    47 |   #error This code is intended to run on the MBED RASPBERRY_PI_PICO platform! Please check your Tools->Board setting.       |    ^~~~~ exit status 1
Thank you,
Simon

Hi,
With the careless post to the wrong library, you'd have more problem in the future, especially while using hardware interrupt. Be much more careful in the future.
#error This code is intended to run on the MBED RASPBERRY_PI_PICO platform! Please check your Tools->Board setting

The MBED_RPI_PICO_TimerInterrupt is designed for RP2040 using ArduinoCore-mbed core
While this library is designed for arduino-pico core
Retry using the correct core for the library by at least reading Prerequisites.
Good Luck,