feat: initial preact support

What is it?

[x] Feature / enhancement
[ ] Bug
[ ] Docs / tests

Description
Add Preact Integration for Qwik just like React. This will fulfill this feature request https://github.com/builderIO/qwik/issues/2328.
Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

Hi @heinthanth 👋
Thanks a lot that you take the time to work on the initial support for preact 🙏 🎉 ! wanted to ask, what the current state of this PR is 👼 Thanks again

@zanettin I've implemented Preact as the same logic as React adapter. And example works well!

Hi @heinthanth . That's amazing! I'll hand this changes over to @manucorporat then 😄
Thank you very very much for doing that work! really appreciated! 🙏

Hey @heinthanth , this is a fantastic piece of work! Thank you!
We are figuring out the best way to integrate this and get it into the hands of our users. We have some ideas and we would like to hear your thoughts.
Option 1: Merge this into our mono repo
As you can imagine merging things into our mono repo has to meet a very high bar:

It has to be production ready. Now that we have announced v1.0 we have to be sure that what goes in is of sufficient high quality.
The implication of the above is that we are now on the hook to maintain that code. We may not be the right experts for maintaining it. Issues will be filed against our repo, and we may not be the best people to fix this issue.
We don't think this is scalable because we can imagine a world where many people will want to add many features to our monorepo, and we would be on the hook to maintain it. A more distributed way of doing this would be better.

Option 2: Merge this into Qwik Labs

This would be better as it would mean that we don't have to worry that it is of v1.0 quality.
However, it still means that we would be on the hook to maintain the code. Issues would be field with us etc...

Option 3: Have a community organization

Have a https://github.com/QwikDev organization that can publish to @qwikdev/____ The nice part of the org is that it still has the "seal" of Qwik without passing on the cost to the Qwik core maintainers.
This way, the core Qwik team is not on the hook to support the feature long time (as most of the time, they are not the experts)
Qwik core team is not involved in having to review the PR and make a judgment call if the quality is good enough (given that hey are not the experts in that area)

Would love to hear your thoughts.

Hi @mhevery, personally, I think option 3 is the best. So that we can separate issues, PR in a separate repo and this won’t affect Qwik core quality.

Great, let me know what repo name you would like and I can create one for you.

@mhevery how about qwik-preact? I think since we have qwik-react, qwik-preact is also a good name.

Great you are now a new owner of https://github.com/QwikDev/qwik-preact. Let me know when you need to publish it to NPM under @qwikdev/qwik-preact and I will give you those rights as well.

Sure! I'll prepare and let you know once it's ready for experimental use!

thanks for being awesome!

Hi @mhevery, I pushed my work here ( https://github.com/QwikDev/qwik-preact ) and I think it's ready to publish it.

What is your NPM account handle?
— Misko

From: Hein Thant @.>
Sent: Saturday, July 1, 2023 4:54:57 PM
To: BuilderIO/qwik @.>
Cc: Miško Hevery @.>; Mention @.>
Subject: Re: [BuilderIO/qwik] feat: initial preact support (PR #2742)
Hi @mheveryhttps://github.com/mhevery, I pushed my work here ( https://github.com/QwikDev/qwik-preact ) and I think it's ready to publish it.
—
Reply to this email directly, view it on GitHubhttps://github.com/BuilderIO/qwik/pull/2742#issuecomment-1615949427, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAA3KTZPGLNSPE56WFVZKZLXOA24DANCNFSM6AAAAAAUJOE5OE.
You are receiving this because you were mentioned.Message ID: @.***>

It's @heinthanth

Ok you should be ready to go.
On Sat, Jul 1, 2023 at 4:58 PM Hein Thant @.***> wrote:

It's @heinthanth https://github.com/heinthanth
—
Reply to this email directly, view it on GitHub
https://github.com/BuilderIO/qwik/pull/2742#issuecomment-1615950501, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA3KTY53OUC7NBU7SIVJ4TXOA3JBANCNFSM6AAAAAAUJOE5OE
.
You are receiving this because you were mentioned.Message ID:
@.***>

@mhevery I think we can close this pull request in favor of https://www.npmjs.com/package/@qwikdev/qwik-preact


Alt Gr + "+" key (square bracket) is not working in the editor

Description
Key combination Alt Gr + "+" in not working (closing square bracket).
Repro steps
Please provide the steps required to reproduce the problem

it is working in .cs files but not in .fs files.

don't know how to reproduce accurately.

Expected behavior
editor should output "]" when pressing Alt Gr + "+"
Actual behavior
editor outputs nothing. just sits still..
Known workarounds
no workaround found...
Related information

Windows 8
Extension version (e.g. 2.3.0)
Visual Studio version 2015 update 2
Resharper but disabled. codemaid but now disabled. still the same issue...

We've fixed this bug. Please try this release https://ci.appveyor.com/project/dungpa/visualfsharppowertools/build/artifacts and tell us if the fix works for you.

Thank you @vasily-kirichenko! Perfectly working now! :)

That was not me, that was @dungpa :)

so thank you @dungpa ! and sorry for my mistake.


Replace actix-web with axum

Please let me know if there is any desired format for commit message or other contributor guidance. Happy to address any feedback about the changes as well.

Sorry for the force-push, I missed my DCO on some of the additional commits.

This is great. Thanks a lot!
Quick comparison of compile times before and after:
actix-web 326 module - fresh cargo build
real	1m12.090s
user	6m37.061s
sys	0m27.005s

axum with 182 modules
real	0m46.762s
user	3m4.621s
sys	0m13.948s

pretty nice for a quick demo repo :-)


Errors and excessive verbiage on default startup

On default startup "roslaunch uuv_dave uuv_dave.launch" I notice some errors: Couldn't open joystick force feedback and We do not have clip. I get error "Couldn't open joystick force feedback!" and an indication at the bottom that a process has died.  Also there are diagnostics verbiage that might be removed.

Despite the exclamation point, this error is not fatal and the message is expected if you use a controller that doesn't have force-feedback capability: https://github.com/ros-drivers/joystick_drivers/issues/134
I think it's OK to leave diagnostic verbiage as-is for now unless there are specific messages you want to remove. If so, please re-open this issue.


How to insert 2 GptListIndex of GptSimpleVectorIndex nodes into another GptListIndex

Hey,
I want to store a GptListIndex for a document with multiple nodes as GptSimpleVectorIndex in db. for easy selection of knowlede-base based on the requirement.
but the problem lies how to insert 2 GptListIndex of GptSimpleVectorIndex nodes into another GptListIndex ?

Hi @siddhant01 , not sure what you mean by "store a gpt list index as a gptsimplevectorindex" - those are two separate indices, and i'm not quite sure why you'd want to convert a list index to a simple vector index

Closing since thread is stale.


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[x] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot
On Sat, May 22, 2021 at 4:40 PM google-cla[bot] @.***>
wrote:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project (if not, look below for help).
Before we can look at your pull request, you'll need to sign a Contributor
License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot
I signed it! and we'll verify it.
What to do if you already signed the CLA Individual signers

It's possible we don't have your GitHub username or you're using a
different email address on your commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.

Corporate signers

Your company has a Point of Contact who decides which employees are
authorized to participate. Ask your POC to be added to the group of
authorized contributors. If you don't know who your Point of Contact is,
direct the Google project maintainer to go/cla#troubleshoot (Public
version https://opensource.google/docs/cla/#troubleshoot).
The email used to register you as an authorized contributor must be
the email used for the Git commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
The email used to register you as an authorized contributor must
also be attached to your GitHub account
https://github.com/settings/emails.

ℹ Googlers: Go here
https://goto.google.com/prinfo/https%3A%2F%2Fgithub.com%2Fgoogle%2Fit-cert-automation-practice%2Fpull%2F14560
for more info.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/it-cert-automation-practice/pull/14560#issuecomment-846392810,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGGUKLAIWISQPSYQKZQC5KTTO6GLXANCNFSM45KRJWAQ
.

--
With Warm Regards,
முத்துகுமார் பரமசிவம் || MUTHUKUMAR PARAMASIVAM +91<PHONE_NUMBER>


dd47c16b-9c6b-41f8-b0b5-164cd81f3f78

this is for automated testing

fc93f2e6-2448-4886-9352-49ffe7a2138a


After install, errors with laravel db functions

Write a subject for the ISSUE
Having laravel function issues after installation
Server environment

PHP:      v7.2.17
Laravel:  v5.7
Database: MySQL 5.7.25

Description
After installation, I am getting popup errors and logs are showing me things like this in the various http calls:
    "message": "Call to undefined method Illuminate\\Foundation\\Application::select()",     "exception": "Symfony\\Component\\Debug\\Exception\\FatalThrowableError",     "file": "/home/xxx/xxx/vendor/launcher/mercurius/src/Repositories/ConversationRepository.php",
Seems like a basic error but I'm not sure what I'm missing. Any suggestions?
Thanks!

@rj1 Same here, did you get this resolved?  The DB is not being read.
In ConversationRepository.php this causes the error:
            $res = Mercurius::model('message')
                    ->select('sender_id')
                    ->where('receiver_id', '=', $user)
                    ->whereNull('seen_at')
                    ->count();

I tried setting config/mercurius to be a local model and I'm still getting the same issue.

@rj1 Same here, did you get this resolved? The DB is not being read.
In ConversationRepository.php this causes the error:
            $res = Mercurius::model('message')
                    ->select('sender_id')
                    ->where('receiver_id', '=', $user)
                    ->whereNull('seen_at')
                    ->count();

I tried setting config/mercurius to be a local model and I'm still getting the same issue.

HI, i resolve the issue by change package version in composer.json to ^1.0.0 and all work. Maybe help

How did you integrate routes into your project?  @rj1

Actually that did it for me composer.json to  ^1.0.0.  You're awesome @rj1 THANK YOU!

Actually that did it for me composer.json to ^1.0.0. You're awesome @rj1 THANK YOU!

All is great but i have another issue that says 403 forbidden ib broadcast/auth and when click 1 user to chat all users in sidebar take active class. Can't resolve this

Ya same here, I'm digging into that right now @DonxDaniyar

Still hitting other issues but as for the broadcast/auth moving Mercurius.js to your public js file fixed that.  In example I have a laravel project and I moved Mercurius.js to my own public/ directory that that solved that part.

Hello everyone!
I've been extremely busy with life, I'll do my best to fix Mercurius asap.
Meanwhile, please fell free to submit a PR for fixing this issue.
Thank you!

Still hitting other issues but as for the broadcast/auth moving Mercurius.js to your public js file fixed that. In example I have a laravel project and I moved Mercurius.js to my own public/ directory that that solved that part. @DonxDaniyar

Hi!! Thanks for reply! In my case moving mercurius.js from vendor\launcher\mercurius\publishable\js to public\js and rename head script in master.blade.php doesn't work. When i trace network there are  2 requests broadcast/auth first send channel_name: private-mercurius.null and call error Symfony \ Component \ HttpKernel \ Exception \ AccessDeniedHttpException
No message
Second request channel_name: private-mercurius.conversation.null and call status 200 OK. I can't understand how to fix this. Still take all client active when click 1 user. I install webpack and rebuid all vue files, but this didn't help. Any ideas? Thanks

Hello everyone!
I've been extremely busy with life, I'll do my best to fix Mercurius asap.
Meanwhile, please fell free to submit a PR for fixing this issue.
Thank you!

Cool project. I love it. Want to add some functionality, but i can't use it from install)). Hope to fix all problems. In my case conversation object have this structure
avatar:"vendor/mercurius/img/avatar/avatar_noa.png"
created_at:"2019-09-13 14:19:28"
is_online:1
message:"Sure! on the way!"
seen_at:null
sender:null
slug:null
user:"Noa Robison"
Slug always null. Any idea why? Thanks!!!

I have the same issue also with the broadcasting:auth.  I’m wondering if it’s because there’s a routes/channel in the Mercurius package but also one in my package?   I’ve followed custom install and mixed the relative assets into my project.

I have the same issue also with the broadcasting:auth. I’m wondering if it’s because there’s a routes/channel in the Mercurius package but also one in my package? I’ve followed custom install and mixed the relative assets into my project.

I spend a lot of time to solve this and i can. In my variant i install fresh laravel 5.7 then install pusher-php-server ^3.2. Finally install mercurius ^1.0.0-alpha.2 without update. Directly install. And it works!!!

@DonxDaniyar
Any way you can detail steps?
I did all above installed Laravel 5.7, pusher php server, Mercurius 1.0.0 alpha 2 and I still get 403 error.
Here's part of my composer file:
        "launcher/mercurius": "1.0.0-alpha.2",
        "pusher/pusher-php-server": "3.2"

@DonxDaniyar
Any way you can detail steps?
I did all above installed Laravel 5.7, pusher php server, Mercurius 1.0.0 alpha 2 and I still get 403 error.
Here's part of my composer file:
        "launcher/mercurius": "1.0.0-alpha.2",
        "pusher/pusher-php-server": "3.2"

It looks like you don't uncommet BroadcastServiceProvider in config/broadcasting.php file.

Yes I did uncomment.
@DonxDaniyar can you push your whole build to git hub using laravel 5.7?


README.md: Add requirements section

This adds a section about requirements for running on each OS
To Do:

[ ] Add note about having to run bash preload.sh on Windows
[ ] Expand on why git is listed as a requirement on Windows

Connects To: #41

Closing in favor of #43


Allow 'success_query' on SLO

I'm trying to create a latency based SLO where I want to define an objective of '80% of requests return within 1000m' (for example).
The exporter uses a bucket of 1,000ms to allow me to assign le="1" on the query, but I can't work out a clean way to define the equivalent of;
...
spec:
  - name: "service-latency"
    objective: 80
    sli:
      events:
        success_query: sum(rate(service_duration_seconds_bucket{le="1"}[{{.window}}]))
        total_query: sum(rate(service_duration_seconds_bucket{le="+Inf"}[{{.window}}]))

As i can't have success_query i have to do something odd like this where i take the total over all, take away the group faster than my goal, to obtain the 'out of range' values.
        error_query: |
          sum(rate(service_duration_seconds_bucket{le="+Inf"}[{{.window}}]))
          -
          sum(rate(service_duration_seconds_bucket{le="1"}[{{.window}}]))
        total_query: sum(rate(service_duration_seconds_bucket{le="+Inf"}[{{.window}}]))

Hi @warmfusion!
At this moment I would prefer to not add multiple ways of doing the same thing in the API, mostly to keep it simple, however, I suggest using raw SLI in this use case, so the query gets simpler:
spec:
  - name: "service-latency"
    objective: 80
    sli:
      raw:
        error_ratio_query: |
          1 - (
            sum(rate(service_duration_seconds_bucket{le="1"}[{{.window}}]))
            /
            sum(rate(service_duration_seconds_bucket{le="+Inf"}[{{.window}}]))
          )

That's fair, I totally understand wanting to keep the spec streamlined.
Thanks for the pointer on the alternative method to use, happy if you want to close this ticket, or hold it open for others if they're in a similar position.
Cheers

Happy it's helpful and thanks for the response @warmfusion!
I'll close to maintain clean the issues, people most likely that will use the search issues feature and will see it, as it has a very descriptive title and content :)


Add Views and Define Routes to Access Them

Tutorials: https://developers.sap.com/tutorials/sapui5-101-add-routing.html
After creating file "List.view.xml" there are some errors.
It requires to add the attribute "ID" for the screen elements such as
<StandardListItem type="Navigation" press="handleListItemPress" title="{ProductName}"/>
My example:
<StandardListItem type="Navigation" press="handleListItemPress" title="{ProductName}" id="list_item1"/>

Hi, Conrad.
Yes, it is a challenge for beginner to find where ID should be created.
Best regards, Yurii пятница, 14 января 2022г., 18:52 +03:00 от Conrad Bernal  @.*** :

Hi there,
Sorry to see you had an issue with a tutorial. Just to ensure I am understanding correctly, your issue is that the need to create an ID is not mentioned in the tutorial? Or are you coming across a different error?
Thanks and regards,
Conrad (SAP UX Engineering)
—
Reply to this email directly,  view it on GitHub , or  unsubscribe .
Triage notifications on the go with GitHub Mobile for  iOS or  Android .
You are receiving this because you authored the thread. Message ID:  @ github . com>

Hi Yurii,
Thank you for getting back to me. I will reach out to the team to see if we can get this updated for future learners.
Kind regards,
Conrad

Hello, Conrad.
Thanks for excellent tutorial and quick answers
Best regards, Yurii
С уважением,
Юрий Злобин.  вторник, 18 января 2022г., 19:36 +03:00 от Conrad Bernal  @.*** :

Hi Yurii,
Thank you for getting back to me. I will reach out to the team to see if we can get this updated for future learners.
Kind regards,
Conrad
—
Reply to this email directly,  view it on GitHub , or  unsubscribe .
Triage notifications on the go with GitHub Mobile for  iOS or  Android .
You are receiving this because you authored the thread. Message ID:  @ github . com>

@zlob2k I'm working on the Fiori Tools development team and I've taken a look at the referenced tutorial. I was able to complete the tutorial, generating a SAPUI5 app and then extending the routing without any issues. The tutorial that you referenced expects that you already have a SAPUI5 project generated which will have created the webapp/view/View1.view.xml file already for you. There should be no need to create this file, the expectations is that you are changing it to allow a different view type to handle the data.
This is the group of tutorials https://developers.sap.com/group.cp-frontend-ui5-1.html which details how to create a SAPUI5 application.
I can review your project for you. Please attach ffproject.zip to this ticket, by running;
zip -r ffproject.zip ./your-project-name/ -x */\.* *.git* \.* *.zip *.mta *.rb *.bak *.swp *.back *.merge *.txt *.sh **/resources/\* **/gen/\* **/node_modules/\* **/mta_archives/\* **/dist/\*

Replace your-project-name with the name of your project folder and ensure this is executed outside of your actual project folder.
Please let me know if this resolves your issue?
John

@zlob2k Do you still require assistance here? My colleague @longieirl has offered to help troubleshoot above. If not, we can close this ticket.

Thank you for your feedback. We haven't heard from you in a while, so we are closing the issue.
If you still have questions, feel free to reopen the issue.


import error after installation

Great to see new life in this package!
Unfortunately, we are failing to import (after successful installation) on two different machines.
1. Macbook, EyeLink Dev Kit installed:
installing in base env (first creating dedicated conda env leads to the same issue)
(base) m0043843:~ uraiae$ pip install git+https://github.com/s-ccs/pyedfread
Collecting git+https://github.com/s-ccs/pyedfread
  Cloning https://github.com/s-ccs/pyedfread to /private/var/folders/ly/drwv1q0j4t977rvf2rqyvvq8gsq3lc/T/pip-req-build-zh_glvm7
  Running command git clone --filter=blob:none --quiet https://github.com/s-ccs/pyedfread /private/var/folders/ly/drwv1q0j4t977rvf2rqyvvq8gsq3lc/T/pip-req-build-zh_glvm7
  Resolved https://github.com/s-ccs/pyedfread to commit 475cf0feded65c69cadaa4aa8ec5ed892b8844a3
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting numpy (from pyedfread==0.3.0)
  Using cached numpy-2.1.0-cp312-cp312-macosx_14_0_arm64.whl.metadata (60 kB)
Collecting pandas (from pyedfread==0.3.0)
  Using cached pandas-2.2.2-cp312-cp312-macosx_11_0_arm64.whl.metadata (19 kB)
Collecting h5py (from pyedfread==0.3.0)
  Using cached h5py-3.11.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (2.5 kB)
Collecting python-dateutil>=2.8.2 (from pandas->pyedfread==0.3.0)
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting pytz>=2020.1 (from pandas->pyedfread==0.3.0)
  Using cached pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB)
Collecting tzdata>=2022.7 (from pandas->pyedfread==0.3.0)
  Using cached tzdata-2024.1-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas->pyedfread==0.3.0)
  Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Using cached h5py-3.11.0-cp312-cp312-macosx_11_0_arm64.whl (2.9 MB)
Using cached numpy-2.1.0-cp312-cp312-macosx_14_0_arm64.whl (5.1 MB)
Using cached pandas-2.2.2-cp312-cp312-macosx_11_0_arm64.whl (11.3 MB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached pytz-2024.1-py2.py3-none-any.whl (505 kB)
Using cached tzdata-2024.1-py2.py3-none-any.whl (345 kB)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: pyedfread
  Building wheel for pyedfread (pyproject.toml) ... done
  Created wheel for pyedfread: filename=pyedfread-0.3.0-cp312-cp312-macosx_11_0_arm64.whl size=3441241 sha256=aa12c418e2eda7556b777088e1ff6418c0aa13f006f9a1495ad633d05e819078
  Stored in directory: /private/var/folders/ly/drwv1q0j4t977rvf2rqyvvq8gsq3lc/T/pip-ephem-wheel-cache-mrnbu8d1/wheels/71/01/be/6437965794e8879933ae0e9f876a1163814a70d80320f928f9
Successfully built pyedfread
Installing collected packages: pytz, tzdata, six, numpy, python-dateutil, h5py, pandas, pyedfread
Successfully installed h5py-3.11.0 numpy-2.1.0 pandas-2.2.2 pyedfread-0.3.0 python-dateutil-2.9.0.post0 pytz-2024.1 six-1.16.0 tzdata-2024.1

then:
(base) m0043843:~ uraiae$ python
Python 3.12.3 | packaged by Anaconda, Inc. | (main, May  6 2024, 14:46:42) [Clang 14.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyedfread
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/miniconda3/lib/python3.12/site-packages/pyedfread/__init__.py", line 3, in <module>
    from pyedfread.parse import read_edf
  File "/opt/miniconda3/lib/python3.12/site-packages/pyedfread/parse.py", line 1, in <module>
    from pyedfread import edf_read
ImportError: dlopen(/opt/miniconda3/lib/python3.12/site-packages/pyedfread/edf_read.cpython-312-darwin.so, 0x0002): Library not loaded: @rpath/edfapi.framework/Versions/A/edfapi
  Referenced from: <9807F4DB-F490-3A45-B3DA-549D3065025D> /opt/miniconda3/lib/python3.12/site-packages/pyedfread/edf_read.cpython-312-darwin.so
  Reason: tried: '/opt/miniconda3/lib/edfapi.framework/Versions/A/edfapi' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/miniconda3/lib/edfapi.framework/Versions/A/edfapi' (no such file), '/opt/miniconda3/lib/edfapi.framework/Versions/A/edfapi' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/miniconda3/lib/edfapi.framework/Versions/A/edfapi' (no such file), '/opt/miniconda3/bin/../lib/edfapi.framework/Versions/A/edfapi' (no such file), '/opt/miniconda3/bin/../lib/edfapi.framework/Versions/A/edfapi' (no such file)
>>>

2. Windows (after following these instructions)
import pyedfread
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[2], line 5
      2 from pathlib import Path
      3 import numpy as np
----> 5 import pyedfread

File c:\Users\Philippa\miniconda3\envs\iblenv\lib\site-packages\pyedfread\__init__.py:3
      1 """Read eye-tracking information from EyeLink EDF files."""
----> 3 from pyedfread.parse import read_edf
      4 from pyedfread.edf_read import read_preamble, read_messages, read_calibration

File c:\Users\Philippa\miniconda3\envs\iblenv\lib\site-packages\pyedfread\parse.py:1
----> 1 from pyedfread import edf_read
      2 import numpy as np
      3 import pandas as pd

ImportError: DLL load failed while importing edf_read: The specified module could not be found.

Any idea as to what's going wrong in both cases (where the install doesn't throw any errors)?

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."


Add a dsl pass for class attribute APIs from Rails

This includes {c,m}attr_{accessor,reader,writer} and
class_attribute. These are from Rails and show up once in a while.
These are pretty much super charged versions of attr_accessor and friends.
Implementation wise, it's mostly straight forward, only a little cumbersome since the cattr_* and mattr_* are aliases, so there are a lot of test cases. The DSL_SYNTHESIZED change was necessary to stop Sorbet from complaining about the use of these in files that don't have sigils.
Motivation
These are APIs have been in Rails for a long time and every app has some usages. It makes sense to me to have first-class support for them, even though they don't show up as frequently as say, delegate.
Test plan
See included automated tests.

It looks like my branch was too old. I have rebased it.

Thank you, landing it!


comparison with http-shutdown

http-shutdown seems to do exactly what this package does
https://github.com/thedillonb/http-shutdown
Can you offer a comparison of the features?

@danielreus Are you sure it doesn't handle active connections?
My interpretation here is that it will close all idle on shutdown request, and anything active will be closed out with the req.socket.end() call since stopped is set in the stop call.
function onRequest (req, res) {
    reqsPerSocket.set(req.socket, reqsPerSocket.get(req.socket) + 1)
    res.once('finish', () => {
      const pending = reqsPerSocket.get(req.socket) - 1
      reqsPerSocket.set(req.socket, pending)
      if (stopped && pending === 0) {
        req.socket.end()
      }
    })
  }

Thanks for the info. Closing the issue which can remain as documentation.


Issue: Unable to Broadcast Bitcoin Transaction on Network - Error: bad-txns-inputs-missingorspent

Issue:
Unable to broadcast Bitcoin Transaction - bad-txns-inputs-missingorspent
Description:
When attempting to broadcast a Bitcoin transaction, the process fails with the following error: bad-txns-inputs-missingorspent.
Logs
2023-11-22 23:08:20.515 E: Planned fee:  9588  amount: 100000  avail_amount: 1214340  change: 1104752
2023-11-22 23:08:20.532 E: Signed BTC transactionx [TESTNET]:<PHONE_NUMBER>010193e25259bef539cb58072fcc7f01390b15342a8b219c1ecf78e9853857fd4c9401000000000000000002a08601000000000016001484e93a33d176ca5ca78366c0ac74b414c376325270db100000000000160014280c4bcfe801cff8087fe34ee1c56883aa1c398902473044022002ce5e0fb8e28860ab249ffc755d5992370534559435e891c7e2bbb676bc256f0220211998f9dd14fb53d4ab7cc7be206c915d9dc8ad802c1f5403c7a18804fcfd7101210269d7e7fb9cda349856f6b8a3b23dfa936f196e7e630595f857cfbea2e6333e2800000000

Signed Transaction for Verification on Decode Tool
Transaction Hash:
0100000000010193e25259bef539cb58072fcc7f01390b15342a8b219c1ecf78e9853857fd4c9401000000000000000002a08601000000000016001484e93a33d176ca5ca78366c0ac74b414c376325270db100000000000160014280c4bcfe801cff8087fe34ee1c56883aa1c398902473044022002ce5e0fb8e28860ab249ffc755d5992370534559435e891c7e2bbb676bc256f0220211998f9dd14fb53d4ab7cc7be206c915d9dc8ad802c1f5403c7a18804fcfd7101210269d7e7fb9cda349856f6b8a3b23dfa936f196e7e630595f857cfbea2e6333e2800000000
Click here to view on BlockCypher
To Reproduce:
After executing the function, success is received along with the signed transaction. However, attempting to broadcast it using Mempool or Blockstream results in the error: {"code":-25,"message":"bad-txns-inputs-missingorspent"}.
Kotlin Code:
private fun signAndBroadcastBitcoinTx(){
  try {
    //TESNET WALLET
    val privateKeyBtc = "---"
    val fromAddress   = "tb1qzcfl0nmsn3ztf0p8x4nwrlc7zegh7jg5t6507a" //CURRENT WALLET
    val changeAddress = "tb1q9qxyhnlgq88lszrlud8wr3tgsw4pcwvfnrh5yu" //change
    val toAddress     = "tb1qsn5n5v73wm99efurvmq2ca95znphvvjj9mpmn7" //TO

    val coinBtc: CoinType = CoinType.BITCOIN
    val scriptMyAddress = BitcoinScript.lockScriptForAddress(fromAddress, coinBtc).data()

    // Build a transaction
    val outPoint = Bitcoin.OutPoint.newBuilder()
        .setHash(ByteString.copyFrom("93e25259bef539cb58072fcc7f01390b15342a8b219c1ecf78e9853857fd4c94".toHexBytes()))
        .setIndex(1)
        .build()

    val utxo = Bitcoin.UnspentTransaction.newBuilder()
        .setAmount(1214340)
        .setOutPoint(outPoint)
        .setScript(ByteString.copyFrom(scriptMyAddress))
        .build()

    val input = Bitcoin.SigningInput.newBuilder()
        .setAmount(100000) // 0.001 BTC in satoshis
        .setHashType(BitcoinSigHashType.ALL.value())
        .setToAddress(toAddress)
        .setChangeAddress(changeAddress)
        .setByteFee(68) // 68 satoshis per byte or 101
        .setCoinType(coinBtc.value())
        .addUtxo(utxo)
        .addPrivateKey(ByteString.copyFrom(privateKeyBtc.hexStringToByteArray())) //.toHexBytes()

    // Calculate fee (plan a transaction)
    val plan = AnySigner.plan(input.build(), coinBtc, Bitcoin.TransactionPlan.parser())
    Log(TAG, "Planned fee:  ${plan.fee}  amount: ${plan.amount}  avail_amount: ${plan.availableAmount}  change: ${plan.change}")

    // Set the precomputed plan
    input.plan = plan
    input.amount = plan.amount

    val output = AnySigner.sign(input.build(), coinBtc, Bitcoin.SigningOutput.parser())

    assert(output.error == Common.SigningError.OK)
    val signedTransaction = output.encoded?.toByteArray()
    Log(TAG, "Signed BTC transactionx [TESTNET]: \n${signedTransaction?.toHexString()?.substring(2)}")

  }catch (e: AssertionError){
       Log.e(TAG, "${e.printStackTrace()}")
  }
}

Additional Information:
-The transaction is successful signed.
-The error occurs during the broadcast attempt using external services.
-The provided logs include the planned fee, amount, available amount, and change.
-The transaction is intended for the Bitcoin TESTNET.
-The Privatekey is for testing purpose.
I appreciate any assistance in resolving this issue. Your support means a lot.
Thank you!

utxo had spend?
https://mempool.space/testnet/tx/180f6ceb810b51f15c184ad6711ad356b37186a78d0c4c243335e797d4bcdc3f


Generic typecasters

This PR adds generic typecasters for geometry messages. For now, I've substituted the individual conversions using a macro, still need to work on fixing the inputs for the macro.
Resolves https://github.com/RobotLocomotion/drake-ros/issues/229

This change is

drake_ros/core/geometry_conversions_pybind.h line 29 at r1 (raw file):
Previously, sloretz (Shane Loretz) wrote…
What's the +1 for? The \0 byte appended below? If so, it might not be necessary. We don't seem to do it here: https://github.com/RobotLocomotion/drake-ros/blob/a6afd7e0eeca2745d1a6d4319f2a621124a9df8b/drake_ros/drake_ros/core/cc_pybind.cc#L58-L64

Hmm I thought that was more of a safety measure in case the buffers contain garbage data at the end, or is just not null terminated. Given the buffer length specifically, this should not happen, but I see the same used in unit tests here : https://github.com/ros2/rclcpp/blob/33dae5d679751b603205008fcb31755986bcee1c/rclcpp/test/rclcpp/test_serialized_message.cpp#L78-L90.
On the other hand I could add the same null termination when converting from the C++ type to Python, and that doesn't change things.

drake_ros/core/geometry_conversions_pybind.h line 27 at r1 (raw file):
Previously, sloretz (Shane Loretz) wrote…
Before we can serialize, we need to make sure the typesupport has been loaded. That's what the check_for_type_support here does.

Done

drake_ros/core/geometry_conversions_pybind.h line 29 at r1 (raw file):
Previously, adityapande-1995 (Aditya Pande) wrote…
Hmm I thought that was more of a safety measure in case the buffers contain garbage data at the end, or is just not null terminated. Given the buffer length specifically, this should not happen, but I see the same used in unit tests here : https://github.com/ros2/rclcpp/blob/33dae5d679751b603205008fcb31755986bcee1c/rclcpp/test/rclcpp/test_serialized_message.cpp#L78-L90.
On the other hand I could add the same null termination when converting from the C++ type to Python, and that doesn't change things.

Added the null termination character for the opposite conversion as well.

Previously, EricCousineau-TRI (Eric Cousineau) wrote…
Ah, incomplete thought:
... macro such as ROS_MSG_PYBIND_TYPECAST_ALL(), which will declare a type_caster<> that should bind to all type casters.
We should strongly caveat that this should only be used in translation units, not header files.

IIUC, do you mean the final usage should be something like :
ROS_MSG_PYBIND_TYPECAST_ALL(geometry_msgs::msg::Quaternion);
ROS_MSG_PYBIND_TYPECAST_ALL(geometry_msgs::msg::Point);
.
.
.
(and so on for all the needed types)

The macro would check if it the supplied type is a valid ros msg, extract the text form of the msg type, and invoke the specific type_caster<> for that type ?

Previously, adityapande-1995 (Aditya Pande) wrote…
IIUC, do you mean the final usage should be something like :
ROS_MSG_PYBIND_TYPECAST_ALL(geometry_msgs::msg::Quaternion);
ROS_MSG_PYBIND_TYPECAST_ALL(geometry_msgs::msg::Point);
.
.
.
(and so on for all the needed types)

The macro would check if it the supplied type is a valid ros msg, extract the text form of the msg type, and invoke the specific type_caster<> for that type ?

We'll still be supplying the required binding types, right ? I assume theres no way to figure out at compile type what all type castings are required automatically.

Previously, EricCousineau-TRI (Eric Cousineau) wrote…
Not exactly.
Users would still (maybe should?) specify ROS_MSG_PYBIND_TYPECAST(MyMessageType)
They should then use just ROS_MSG_PYBIND_TYPECAST() if they're writing a lot of bindings against message types and want everything to convert via serialization.

We'll still be supplying the required binding types, right ?

Not sure if I understand. These macros are meant to supply casting via serilaization, so as long as I have the C++ type and the Python type, I should be able to convert a message completely.
If the C++ type exposes something like ::package_name() and ::message_name(), then we can use that to dynamically look up the Python type.

I assume theres no way to figure out at compile type [...]

Also not sure if I understand.
pybind11 type casting works by effectively calling type_caster<MyType> and letting C++ specializations figure out where this ends up.
If there's a specialization that binds to the type (highest affinity), it will use that.
If there's no specialization, it will use type_caster_generic, and thus rely on the py::class_<> RTTI registry.
ROS_MSG_PYBIND_TYPECAST(Type) will provide a specialization for a specific type, and should have highest affinity.
If there is a SFINAE such that we can write is_ros_message_type_v<Type>, then we can write enable_if_t<is_ros_message_type_v<Type>>, and thus ensure type_caster<Type> binds to our serialization caster for all ROS message types.
Does this make sense?

Got it, added the ROS_MSG_PYBIND_TYPECAST_ALL() macro. The only caveat is that the second parameter to the PYBIND_TYPE_CASTER() macro, which is supposed to be a docstring for the method, needs to be a constexpr. rosidl does not provide that currently. Ideally the string should be a constexpr form of say "geometry_msgs.msg.Quaternion". I've left it as a blank string for now.

drake_ros/core/geometry_conversions_pybind.h line 14 at r3 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
Writing longform code in macros is very painful to grok, edit, etc.
We should strive to write this code in actual C++ as much as possible, and have the macro be as small as possible.
Can you write a base type caster to handle this core stuff, add arguments via template arguments, and have the macro just be used for defining the type_caster<> specialization?
For example:
https://github.com/RobotLocomotion/drake/blob/v1.14.0/bindings/pydrake/common/wrap_pybind.h#L60-L61
https://github.com/RobotLocomotion/drake/blob/v1.14.0/bindings/pydrake/common/cpp_param_pybind.h#L155-L158

Done.

drake_ros/core/geometry_conversions_pybind.h line 14 at r3 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
nit This macro does not indicate usage (for pybind11). This should be qualified, e.g.
ROS_MSG_PYBIND_TYPECAST(...)

Changed to the TYPECAST_ALL style macro.

drake_ros/core/geometry_conversions_pybind.h line 14 at r3 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
nit Does ROS IDL offer static / constexpr access to package / subdir / message name as strings?
If so, ideally we extract that from type traits, rather than requiring users to decompose it in the macro itself.
e.g.
https://github.com/RobotLocomotion/drake/blob/v1.14.0/bindings/pydrake/systems/lcm_pybind.h#L32-L33

I used the rosidl type traits for the actual conversions, but couldn't use for the docstring. Left that section as a black for now.

Reviewable status: 0 of 1 files reviewed, 6 unresolved discussions (waiting on @adityapande-1995 and @sloretz)

a discussion (no related file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
Ah, incomplete thought: ... macro such as ROS_MSG_PYBIND_TYPECAST_ALL(), which will declare a type_caster<> that should bind to all type casters. We should strongly caveat that this should only be used in translation units, not header files.

Do we need a macro in this case ? We could just have the code section as it is.

Converting to a draft until a couple of things are addressed :

Splitting serializing and deserializing into smaller functions
Do we need a macro at all ?
Is it okay to ignore the docstring in PYBIND11_TYPE_CASTER() macro ?

drake_ros/core/geometry_conversions_pybind.h line 18 at r4 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
Sorry for not being clearer, but I think we should provide users two entry points:

The *_ALL() flavor
A message-specific flavor

The guts of the ROS 2 IDL <-> pybind11 should happen inside of our own namespace drake_ros::core, e.g.
Does this make sense?

Split the namespaces, done.

drake_ros/core/geometry_conversions_pybind.h line 38 at r4 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
For succinctness / clarity of authoring, most of our code should live in our own namespace.
We should then make thin shells in pybind11::detail that shell out to our code.

Done, split namespaces.

Hi @EricCousineau-TRI  !
Yes, splitting the functions into separate ones is done. One question : Now that we have both macros, how do you want the test to work ? i.e. The typecaster ultimately is a part of cc_pybind.cc (and exposed using import drake_ros.core). IIUC, we want a the python test to run twice : once using the ALL() typecaster, and once using the per msg typecasters. So ultimately, these 2 sections are equivalent as far as the test is concerned :
In ros_idl_pybind.h :
// Generic typecaster for all ROS 2 messages.
ROS_MSG_PYBIND_TYPECAST_ALL();

In geometry_conversions_pybind.h :
// Generic typecaster for specific ROS 2 messages.
// This method can be used instead of the ROS_MSG_PYBIND_TYPECAST_ALL() macro.
// ROS_MSG_PYBIND_TYPECAST(geometry_msgs::msg::Quaternion);
// ROS_MSG_PYBIND_TYPECAST(geometry_msgs::msg::Point);
// ROS_MSG_PYBIND_TYPECAST(geometry_msgs::msg::Vector3);
// ROS_MSG_PYBIND_TYPECAST(geometry_msgs::msg::Twist);
// ROS_MSG_PYBIND_TYPECAST(geometry_msgs::msg::Accel);
// ROS_MSG_PYBIND_TYPECAST(geometry_msgs::msg::Wrench);
// ROS_MSG_PYBIND_TYPECAST(geometry_msgs::msg::Pose);
// ROS_MSG_PYBIND_TYPECAST(geometry_msgs::msg::Transform);

Do you want like an #ifdef flag in cc_pybind.cc that selects the appropriate #include during compile time ? So by default it can go with the ALL() style, and if we set the flag it goes for the per msg style.

Previously, EricCousineau-TRI (Eric Cousineau) wrote…

For the constexpr name, this is the generated function for say the Quaternion msg:

Yes, that makes sense that const char* cannot be used in a truly contexpr sense.
It seems defective to not provide contexpr access to generated types, though.
Can you file an upstream issue, and track it here via TODO?

Done

drake_ros/core/ros_idl_pybind.h line 21 at r6 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
You should be able to inherit form another typecaster; that should reduce the repeated code.
See prior example pointed out:
https://github.com/RobotLocomotion/drake/blob/v1.14.0/bindings/pydrake/common/cpp_param_pybind.h#L155-L158

Done

drake_ros/core/geometry_conversions_pybind.h line 1 at r4 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…

You should still make a header, geometry_conversions_pybind.h, that would do per-message declaration.

Can I ask if you can address this?

Added a geometry_conversions_pybind.h that uses the message specific declaration.

Previously, EricCousineau-TRI (Eric Cousineau) wrote…

One question : Now that we have both macros, how do you want the test to work ?

Let's keep it simple. ros_idl_pybind.h only declares the macros, it does not use them.
geometry_conversions_pybind.h only uses the per-type conversion marcos.
For testing, we should just create two entirely separate translation units (*_pybind.cc or _py.cc).
One that briefly tests a per-message macro, one that tests the *_ALL() macro.

Done !

drake_ros/drake_ros/core/cc_pybind_mock.cc line 38 at r7 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
nit Same as above.

Done

drake_ros/drake_ros/core/cc_pybind_mock.cc line 20 at r7 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
nit Per GSG, can you use CamelCase here?

Done

drake_ros/drake_ros/test/generic_typecaster_test.py line 10 at r7 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
nit Can you move these comments to the function, using docstring """ ... """?

Done

drake_ros/drake_ros/BUILD.bazel line 128 at r7 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
nit Name generic_typecaster is unclear.
I recommend renaming the test to something more specific, e.g. ros_message_type_caster_test

Done

drake_ros/drake_ros/BUILD.bazel line 43 at r7 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
nit These functions are for testing.
Can you place them in the appropriate test/ folder, and collocate them?

Done

drake_ros/drake_ros/BUILD.bazel line 41 at r7 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
nit This should be testonly = 1.
Can you add that attribute here?

Done

drake_ros/drake_ros/BUILD.bazel line 35 at r7 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
nit Purpose of this binding library unclear.
Can you place this closer to generic_typecaster_test, and perhaps change name to something as follows?
ros_message_type_caster_test_cc_py
You should also adjust cc_so_name = "ros_message_type_caster_test_cc"

Done

drake_ros/core/ros_idl_pybind.h line 118 at r7 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
nit Blank string for type will make it very hard to reason about error messages.
Can you perhaps put something like RosTypeCaster[Unknown] for the name, so users can search for it?

Done.

drake_ros/core/ros_idl_pybind.h line 116 at r7 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
This caster type should live in drake_ros::drake_ros_py.
Can you move it there?

Done

drake_ros/core/ros_idl_pybind.h line 113 at r7 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
nit Can you move this TODO closer to the usage of the name for PYBIND11_TYPE_CASTER?

Done

drake_ros/core/ros_idl_pybind.h line 26 at r7 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
Single-message declaration should ideally declare a name.
Can you change the macro to look something like this?
ROS_MESSAGE_PYBIND_TYPECASTER(T) \
   namespace pybind11 { namespace detail {
   template <> \
   struct type_caster<T> : public ros_message_type_caster<T> { \
     public: \
       static constexpr auto name = _("TypeCaster[" #T "]"); \
   } \

When pybind11 error messages crop up, then they should see something like:
incompatible function arguments... The following types are supported:
   1. (msg: RosTypeCaster[geometry_msgs::Vector3])

How should we handle this now the we are deriving from a common struct for the typecaster ?

drake_ros/drake_ros/cc_py_generic_typecaster.cc line 14 at r7 (raw file):
Previously, EricCousineau-TRI (Eric Cousineau) wrote…
This should have two translation units, and two functions. It should have functions that looks something like:
DefTypecastingViaSpecificTypes(m);
DefTypecastingViaAll(m);

I would recommend renaming those translation units to
test/ros_message_type_caster_test_via_specific_types_pybind.cc
test/ros_message_type_caster_test_via_all_pybind.cc

So in the module ultimately, we'll have both the specific and the generic typecaster at the same time ? How do we know if the module is internally using the all or the specific typecasters in that case ? The actual drake_ros geometry conversion has test for the specific types. I mean, in the test here :
import drake_ros.ros_message_all_typecaster_test_module as all_typecaster

def foo():
  assert all_typecaster.TestTypecasting(.....) == expected_msg

this assumes the module only contains the all style typecaster. Should we separate the modules if we want to make that clear ?

BTW @adityapande-1995 when using Reviewable, there is a big green "Publish" in the upper right, which publishes all of your responses in a batch.  The little  in the corner of each discussion thread should generally not be used, as it sends an email all on its own, leading to an email flood.

drake_ros/drake_ros/cc_py_generic_typecaster.cc line 14 at r7 (raw file):
Previously, adityapande-1995 (Aditya Pande) wrote…
So in the module ultimately, we'll have both the specific and the generic typecaster at the same time ? How do we know if the module is internally using the all or the specific typecasters in that case ? The actual drake_ros geometry conversion has test for the specific types. I mean, in the test here :
import drake_ros.ros_message_all_typecaster_test_module as all_typecaster

def foo():
  assert all_typecaster.TestTypecasting(.....) == expected_msg

this assumes the module only contains the all style typecaster. Should we separate the modules if we want to make that clear ?

I added a temp commit here : https://github.com/RobotLocomotion/drake-ros/pull/257/commits/918db4b3c0567896b1d4f651530a5b6f631c0a8a which adds 2 separate translation units, one with the all-style typecaster and one with the specific ones. For the test, the Polygon msg typecaster is not declared using the specific types, and the corresponding test should fail. Instead, see the test pass, probably using the all-typecaster internally. That is, in this arrangement, we can't have a test that would fail for specific typecaster but pass for the all() one.
Just added this temp commit to demonstrate, I can revert if we can't resolve this.
Internally, we're probably polluting the py::detail namespace with both typecasters, so AFA the python module is concerned, the translation units are not separating the typecasters.


Add TS:Git to new features

Together with https://github.com/mendix/docs/pull/4482, moving Team server Git to GA

This PR contains the same changes as https://github.com/mendix/docs/pull/4482. As we cannot announce the same change in two different versions, I am closing this PR and will keep the 4482 one.


[Event Request] codeunit 5780 "Whse. Cross-Dock Management" - OnAfterFilterWhseRcptLine

Describe the request
local procedure FilterWhseRcptLine(var WarehouseReceiptLine: Record "Warehouse Receipt Line")
    begin
        with WarehouseReceiptLine do begin
            SetRange("No.", NameNo);
            SetRange("Location Code", LocationCode);
            SetFilter("Qty. to Receive", '>0');
        end;

        OnAfterFilterWhseRcptLine(WarehouseReceiptLine, NameNo, LocationCode); // NEW Event here
    end;

    [IntegrationEvent(false, false)]
    local procedure OnAfterFilterWhseRcptLine(var WarehouseReceiptLine: Record "Warehouse Receipt Line"; NameNo: Code[20]; LocationCode: Code[10])
    begin
    end;

Additional context
We would like to exclude certain whse receipt lines from being used in the crossdock calculation logic.
Internal work item: AB#521246

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 17842.


Compiling Error : AiCoomand.OpenAiUltil.InvokeChat error

Dear Unity Guru.
I hope this message finds you well. Yesterday, I came across a new ChatGPT plugin that you recently released, and I am very eager to try it out. However, I've encountered a compiling error in one of the scripts and need your assistance to resolve it.
The error message I received is as follows:
"NullReferenceException: Object reference not set to an instance of an object AICommand.OpenAiUtilInvokeChat (System.String prompt) (at Assets/Editor/OpenAiUtil.cs:52)"
To ensure I followed the correct procedure, I took these steps:
-Downloaded the project.
-Installed the exact version specified in your sample (v2022.2.10).
-Navigated to Edit > Project Settings > AI Command and entered the generated API key. I tried various formats, including with and without the "sk-" prefix and the hyphen.
-Opened the "test" scene included in the project.
-Accessed the windows menu and ran the test prompt, which led to the error message.
-Could you please guide me in rectifying this issue?
I apologize for any inconvenience, and I truly appreciate your efforts in developing this plugin. I admire your work and am grateful for your contributions to the community.
For your reference, here are my system specifications:

NVIDIA GTX 3060 Ti
16GB RAM
1TB SSD
AMD Ryzen 5 1600 Six-Core Processor
Windows 10
Thank you in advance for your assistance.

Sincerely,
JPupper

the gpt api requires a paid plan. you likely don't have your account set up for that. try adding this line to the script OpenAiUtil and

if it gives you a quota limit reached error you can set up a billing account here
https://platform.openai.com/account/billing/overview

@Severencir thanks for the quick anwer.
I´ve added my credit card and now its working, thank you very much.


Unable to access history of each tracked object after the tracker.update() method

Describe the situation you are working on
@DiegoFernandezC
I cannot find any method that would let me access the bboxes associated with each tracked object as a list
Describe what is it that you need help with
A method/attribute that can help me retrieve the bbox history as  a list
Additional context
I have created a self-contained google colab file that contains the highlighted section of the code where I am facing difficulty
https://colab.research.google.com/drive/1Sq2v0T910ob3xNO5qdC-6UKqZfUvp2dM?usp=sharing

Hi @avadhut-00, I reviewed your notebook and saw that you were using TrackedObject.past_detections to access the list of past bounding boxes associated with the specific object. That's currently the way Norfair expects you to do it. So I don't fully understand the problem you are facing when using it. Are you getting empty lists? Are you getting an incomplete list of past bounding boxes? Can you provide some more information?

I have made the required changes in the public notebook to explain my point further:

Trying to get the list of past detections with 't1.past_detections' cmd gives an object memory location instead of bbox co-ordinates--->[<norfair.tracker.Detection object at 0x7f19c469a610>]

When I issue the command 't1.past_detections' I am expecting list of the form [[[x1,y1],[x2,y2]],[[x1,y1],[x2,y2]],[[x1,y1],[x2,y2]],[[x1,y1],[x2,y2]]]

The list above is for a single tracked object having its detection co-ordinate history for the frames it was detected & tracked on

Thanks for the detailed explanation, I now understand what's happening.
The output of TrackedObject.past_detections is a list of Detection objects with the past detections. So if you want to get the actual bounding boxes, you should access Detection.points for each of the past detections in the list.

@facundo-lezama : yes ,the explanation you provided above has resolved my query.


adds txMetadata as cbor into a bytea column on the tx_metadata table.

Yoroi requires this for Catalyst.
as the unique key on this table is (key, txid), it continues to split
up the tx_metadata by key.  it recreates the TxMetadata value for
each key.

Thanks @mebassett !


Throw an error in case of tfchain client can't connect

Description
Throw an error in case of tfchain client can't connect
Related Issues

#1932

Checklist

[ ] Tests included
[ ] Build pass
[ ] Documentation
[ ] Code format and docstrings
[ ] Screenshots/Video attached (needed for UI changes)

works fine


Fixes For PaqClean

Fixes issue where PaqClean does nothing on windows #69
Fixes PaqClean deleting paq-nvim if user didn't have explicitly stated in paq ' savq/paq-nvim' #63

Thanks!


Remove public constructor from HttpSessionState

There was no public constructor for this on framework. This was added initially as a way to override the current session implementation. However, now it can be changed by setting HttpContext.Features.Get<ISessionStateFeature>().State and it will be propagated in the session.
This is a breaking change, but we're already doing that for a few other APIs for v2. This will help guide people to the recommended approach to override behavior.

@joperezr this is not a required one, but figured with some of the other API cleanup I did as part of v2, I'd like to see this removed since it's not the recommended path to handle this.


API request hangs sometimes

Thank you for this incredible extension.
I sometimes have the problem that an API request hangs (may be due to rate limit or unreliable internet connection) and there seems no way to cancel it manually or have it timeout.

It would be nice if I could either manually interrupt a hanging API request or if requests would timeout automatically.

Anthropic's API can be slow sometimes, or it could be that Claude is coming up with a big response like a new file/change. I've been giving thought as to how I'd implement streaming Claude's response instead of waiting for the whole response at once. But currently working on OpenRouter and Bedrock support for when Anthropic API is slow.


fomu-flash requires two runs to reset flash

fomu@fomu-jig:~ $ fomu-flash -r
resetting fpga
fomu@fomu-jig:~ $ fomu-flash -i -t 4
Manufacturer ID: unknown (ff)
Memory model: unknown (ff)
Memory size: unknown (ff)
Device ID: ff
Serial number: ff ff ff ff
Status 1: 00
Status 2: ff
Status 3: 08
fomu@fomu-jig:~ $ fomu-flash -i -t 4
Manufacturer ID: unknown (c2)
Memory model: unknown (28)
Memory size: unknown (15)
Device ID: 15
Serial number: ff ff ff ff
Status 1: 00
Status 2: ff
Status 3: 49
fomu@fomu-jig:~ $

Swapping the initialization order of the FPGA and the SPI flash has solved this issue.


Once 2022.3 is stable, check if kotlinUIDslBuilderCompat.kt is still needed

Maybe by some chance the offending change (adding @JvmDefaultWithCompatibility on interfaces from com.intellij.ui.dsl.builder) is gonna be reverted 😅

One or two 2022.3 EAPs went out since then... no trace of such change so far ;D looks that we'll need to live with kotlinUIDslBuilderCompat as long as 2022.2 is supported 😅

Tested by @mkondratek, the issue remains. The compatibility shim is still needed.


Ubuntu 15.04 Roadmap

I have client that has server on 15.04. I presume since systemd has replaced Upstart as the standard boot and service manager that EE is not ready for this server release yet?
https://wiki.ubuntu.com/VividVervet/ReleaseNotes

Hi,

I have client that has server on 15.04

Ubuntu 15.04 will give support for 9 months only as it is not LTS release, so I recommend you to use 14.04 LTS version.

I presume since systemd has replaced Upstart as the standard boot and service manager that EE is not ready for this server release yet?

We are allready testing this, we hope EasyEngine will support this.
Supporting new release of Ubuntu and Debian with EasyEngine is always takes time, as for packages, PHP, MySQL, HHVM EasyEngine is heavily dependent upon external repositories.
So when all this repository create packages for new release of Ubuntu and Debian, then and then only we are able to give  support to that new release of Ubuntu and Debian.
Although we have future plan to create our own repository for all packages like we did for Nginx in past.

I am using easyenigne on  Ubuntu 15.04  running magento with redis hhvm support no issue so far.


Update Site Information

Currently the information listed on the site is a year out of date: members of the leadership have graduated and the guest speakers listed are the ones who spoke last year.

Can you assign it to me and share the updated information

Feel free to make a PR— although I don't have access to the updated information so you would have to contact the AI club's current leadership to ask for that.


Services getting random values from caller

Caveat, I am not sure the espidf component is the issue.

Hardware description: ESP32
RTOS: FreeRTOS
Installation type: esp-idf
Version or commit hash: humble, galactic, latest micro-ros from updating from github (84f1ab2), as well as older hash (357379ecde).

In code I inherited (here), we have services that run on the ESP, using our own service types but made of standard types (byte, uint8, bool, etc.).  When I call the services from a Linux computer (by hand using ros2 service call or from a program, the correct value is displayed in the message (on the command line), but the callback on the ESP receives a random value.
Maybe related, the service call never returns: I have to ctrl-C it from the command line.

I cannot access the code you provided, could you provide a replicator?

Grrrr, I had not noticed it was not accessible.  I'll try to come up with a minimum example.

Example here, expiring on 05/12/2022.  This contains an old (about 2 years old) version of micro-ros-espidf-component.  It won't compile with the latest (can't find rcl/rcl.h, as reported elsewhere).

I won't use rclc_executor_spin, instead use the approach here: https://github.com/micro-ROS/micro_ros_espidf_component/blob/d0e63d9ab1d4b1b2777e68b715c5ea6d20ad68f4/examples/addtwoints_server/main/main.c#L74-L78
BTW, does the provided example work for you? https://github.com/micro-ROS/micro_ros_espidf_component/tree/iron/examples/addtwoints_server

I can run addtwoints_server and client and they work, on my host computer (linux).  Interestingly enough, while the server is running, ros2 service list does not list the service, and I can't call on the CLI.  However, I do get the right values in the server, as sent by the client.  I now need to try this on an esp32.

I am not sure exactly what the issue was, but it now works.  What I have changed is that I now run humble, while I was using galactic before.  I noticed that if I compiled the simple example and run it on the esp32 connected to my ubuntu 22.04 laptop running humble, it all worked, while   when running it on the RPI running galactic I had the problem.  I now updated the RPI to ubuntu 22.04 running humble and it all works.
However, I am still using the micro_ros_espdif_component from galactic, cloned here.  Indeed, if I try any of the branches from the official github, my code does not compile, missing rcl/rcl.h, as reported in issue #187.  I am still investigating this.

Because my issue was a non-issue (maybe) but is solved in humble, I'll close it.


Run DrupalPod locally

Is your feature request related to a problem? Please describe

Users would sometimes prefer not using Gitpod, and work locally instead.
Describe the solution you'd like

Users who don't want to use Gitpod, can git clone DrupalPod, and thanks to ddev - run the project locally.

follow up with adding this feature to the browser extension

Describe alternatives you've considered

Additional context

Just started using DrupalPod extention but can see myself running out of GitPod hours quickly.
I'm only jkust starting my Docker journey but if there's something I can test for ...

@tyler36 If you need more Gitpod hours, I would suggest applying for their professional open-source plan. It is what I did and it works great for me - https://www.gitpod.io/docs/professional-open-source/
Regarding this PR, since it's based on DDEV, it should be fairly simple to make a local version of it (and update the extension to display the command line to run to get same results locally).
Another option - one could start a Gitpod workspace, go to Gitpod dashboard, click on the 3 vertical dots on the right of the workspace you just opened, click Download, and a 3GB file will be downloaded to your machine.
I didn't have a chance to play with that option, but interested to know how it works.

Thanks for the update. Although the Profession Open Source options seem generous, I don't yet qualify.

Regarding this PR, since it's based on DDEV
Um ... which PR?

Unforunately, the download option does work for me ... I get "Oh, no! Something went wrong! Error". I've logged an issue with them

So I had a though ... VSCode has an offical extention called Remote: Containers which basically run the setup in a seperated Docker instance. This is what we want right?
I tried cloning https://github.com/shaal/ddev-gitpod.git ,

then in VSCode I selected "Remote Containers: open folder in container"
this appears to detect the .docker file and pull down images

Between the .Docker file and a ./.devcontainer/devcontainer.json, I feel like we have all the pieces to make a dockerized & consistent VSCode environment. I'm unsure how to "pull-it-all-together" though.

Let me know if you want to get on a call, so I can show you how simple this is.
Because DrupalPod is based on ddev, in order to run it locally, all you need to do is install docker, and then install ddev (I recommend using the homebrew installation) - https://ddev.readthedocs.io/en/stable/#installation
Once ddev is installed on your machine - git clone drupalpod repo, and type ddev start. That's all.
The issue was created, to modify the extension so people who use it locally can run a command, to get the same setup as they would get when using DrupalPod in Gitpod.
You do not need any special vscode environments or extensions.
Please let me know if you have any questions.

Ahh  ... thanks.
I have DDEV, WSL2 setup and working.
I read the issue as a "Make DrupalPod work locally by allowing people to click the DrupalPod extension on a Drupal issue page and automatically build the environment locally". Therefore I was thinking you need to dynamically write a script that builds a docker environment and sets up Drupal, profile & patch as required.
Big dreams, I know.


expr evaluating to 0 are "false" so array_indexof returning 0 fails

There is a bug in my array_indexof implementation. If the value is at index zero, the expression is 'expr -1 + 1' which results in zero. Reading the man page for expr more closely, exit code is 1 if the expression results in 0, otherwise it is 0.
I am not sure of the most clever way to solve this, but this is my solution.

Any thoughts on this?

sorry i haven't followed it up :D i will check now

it looks promising, thanks for the pull-request.
in the mean time i found another bug with array_nth 2 in the test case.
What is expected is that it returns an empty array element, what happens is that the array_nth breaks with error code 1.


Missed a full stop.

Sorry! :)

@yegor256 please, pay attention to this pull request

Job gh:yegor256/threecopies#9 is in scope.

@yegor256 please, pay attention to this pull request

Oops! Job gh:yegor256/threecopies#9 is already in scope

@rultor release, tag is 0.2.3

@rultor release, tag is 0.2.3

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.2.3

@yegor256 Done! FYI, the full log is here (took me 4min)


Cover art as spinning music disc

Description

Add option to make the cover art turn into a spinning music disc.
I got this idea from a extension in spicetify called 'Spinning CD Cover Art'
Proposed solution
I'm not sure how this could be achieved since they did it using custom css and not rust. Still as reference, this is how they did it using custom css.
@keyframes rotating {from {transform: rotate(0deg);}to {transform: rotate(360deg);}}.cover-art {animation: rotating 360s linear infinite;clip-path: circle(50% at 50% 50%);position: relative;}.cover-art::after {content: '';position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 22%;height: 22%;background: radial-gradient( circle at center, rgba(24, 22, 35, 0.9) 0%, rgba(24, 22, 35, 0.9) 38%, rgba(255, 255, 255, 0.1) 38%, rgba(255, 255, 255, 0.1) 40%, rgba(24, 22, 35, 0.9) 40%, rgba(24, 22, 35, 0.9) 100% ), repeating-radial-gradient( circle at center, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 1px, transparent 1px, transparent 4px );border-radius: 50%;pointer-events: none;box-shadow: 0 0 10px rgba(0, 0, 0, 0.3) inset, 0 0 20px rgba(255, 255, 255, 0.1);}.cover-art::before {content: '';position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 6%;height: 6%;background: rgba(24, 22, 35, 1);border-radius: 50%;box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);z-index: 1;} .main-nowPlayingBar-left button {background: transparent;}

There is no CSS in terminal emulators, we are limited by what the various graphics protocols allow us to do.
rmpc supports animated cover arts with kitty and iterm2 with their respected caveats. If you want this effect you can create those as animated gifs and embed them in your files.


how to solve the question that sudo:must be setuid root?

Modify the owner of the /usr using the sudo chmod-R 777/usr command,Cause sudo:must be setuid root problem, that is sudo command can not be used. I want to into the Linux recovery mode, when the Ubuntu app star and I press the SHIFT key,.But I can not into the recovery mode.I want to know how to solve the problem that sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set? and how go into the recovery mode?

ubuntu.exe config --default-user root
or
wsl.exe --user root

Thanks 0xbadfca11. I have a suspicion this is a different or perhaps unrelated question; because the "SHIFT key" reference is curious. And sudo works out of the box on Ubuntu, without having to resort to logging in as root to diddle suid bits. But that's the answer to how to get in as root and mess with /usr/bin/sudo, if one wanted or needed to do that.
More information on sudo and sudoers here.

font{
    line-height: 1.6;
}
ul,ol{
    padding-left: 20px;
    list-style-position: inside;
}

Thank you very much.
    I already have solved that problem as you described.

On 9/17/2019<EMAIL_ADDRESS>wrote：

ubuntu.exe config --default-user root
or
wsl.exe --user root
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.


feat(payment): INT-4237 Add issuer for Mollie APMs

What? INT-4237
List Issuing Banks In Dropdown on Payment Step, adding a component for APMs where this issuers are listed in a dropdown
Why?
Some APMs such as Ideal have bank from where to choose,
Testing / Proof

Siblings
SDK
BCAPP
BIGPAY
ping @bigcommerce/payments @bigcommerce/apex-integrations @bigcommerce/checkout

@mauricio-sg  would you mind reviewing it again?

💚 Tested
QA Details: I tested Mollie's APMs KBC/CBC and IDEAL, checking that the drop-down menu displays correctly.


question on --update-freq and wamup-updated with transformer

When training a transformer model with --update-freq, do you also change --warmup-updates to a lower number?
I am currently training a base transformer model and due to memory constrains I am using a batch size of 16 and --update freq. The training set is around 110k.
EDIT: I forgot to say I am using adam with the same configuration reported in the README of the examples
  --optimizer adam --adam-betas '(0.9, 0.98)' --clip-norm 0.0 \
  --lr-scheduler inverse_sqrt --warmup-init-lr 1e-07 --warmup-updates 4000 \
  --lr 0.0005 --min-lr 1e-09 \

But I am planning to increase the lr in the next experiment given the simulated larger batch size

I tried experimenting with the number of warmup updates in the past. In some cases you can get faster training with a smaller warmup, but it was brittle so I usually leave it at 4k even when training with big batches.

Thanks for your reply! I'll experiment with warmup updates with this in mind then.


measure list display one table

changed measure list to one table. table displays columns of CMS ID, measure name, link to c1 task, and link to c2 task. each column is sortable

(sorry)


sridhar data

hi, Im trying to obtain the additional reference datasets and in [Human_RGC-iN]/[sc_data]/sridhar_fetal_rgcs/
there are 7970 barcodes and 33694 genes, however the matrix size is 33694x3335 - could you advise about the barcodes that match the matrix please?

Hi @mjstrumillo !
Very sorry for the extremely late response, but there is indeed a discrepancy. It seems that the barcodes.tsv file got mixed up somewhere along the way. I've just pushed a fix.
Thanks for catching that, and sorry again for the delay!


EP: Sign Request for Medication request

Sign Request for Medication request WS according to requirements
Requirements: вимоги

[x] Create WS spec
[x] Implement
[x] Deploy
[ ] Improve test scenarios

Check status == NEW
if invalid - return 403 error (message: "Invalid status Medication request Request for sign transition!")'
receive - 404


Multiple Version Layout Support - multiple test folders

Azure DevOps Extension you are using
There are a number of Azure DevOps (VSTS) extension in this repo so please say which one you are using, and if an extension contains multiple tasks which task also
Pester Test Runner from Black Marble v8.*
Where are you running it?
You can run the extensions in the cloud or on-premise

Azure DevOps Service (VSTS)

Version of Extension/Task
8.* (currently available public)
Expected behaviour and actual behaviour
I have multiple versions of my task available as documented here: https://docs.microsoft.com/en-us/azure/devops/extend/develop/build-task-schema?view=vsts#bundle-multiple-versions-of-build-tasks-within-one-extension
I'm using the "Multiple version layout" So I have Tests folder beneath each version folder. Ex:
extensionManifest.json
extensionIcon.png
Task1
--Task1V1
----Tests
------InterestingTestName.tests.ps1
----task.json
----icon.png
----taskScript.ps1
--Task1V2
----Tests
------InterestingTestName.tests.ps1
----task.json
----icon.png
----taskScript.ps1
Expected result:
If I provide a path using a minimatch globstar to multiple folders containing *test.ps1 I expect them to execute. I do not expect to have to hardcode to specific subfolders or run the task multiple times.
Steps to reproduce the problem
Input:
$(Build.SourcesDirectory)\Tasks\**\Tests\*.tests.ps1
Results:
2018-10-22T14:27:03.9635728Z Running Pester from using the script parameter [D:\a\1\s\Tasks**\Tests*.tests.ps1] output sent to [D:\a\1\s\Test-Pester.XML]
2018-10-22T14:27:03.9636019Z
2018-10-22T14:27:03.9636174Z
2018-10-22T14:27:04.0917989Z ##[error]System.Management.Automation.RuntimeException: You cannot call a method on a null-valued expression.
2018-10-22T14:27:04.0928923Z ##[debug]Processed: ##vso[task.logissue type=error;]System.Management.Automation.RuntimeException: You cannot call a method on a null-valued expression.
2018-10-22T14:27:04.0929315Z    at CallSite.Target(Closure , CallSite , Object )
2018-10-22T14:27:04.0929392Z    at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
2018-10-22T14:27:04.0929491Z    at System.Management.Automation.Interpreter.DynamicInstruction`2.Run(InterpretedFrame frame)
2018-10-22T14:27:04.0929560Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

Hi
Can you run the build with system.debug set to true and post the logs for this task?
Is there any reason you're specifying the path all the way to the tests? You could just point it at /Task1 and pester will find all of the *.tests.ps1 for you.
I'll look into this further when I get a chance but it might be a few days or a little more.

From: jdholbrook81<EMAIL_ADDRESS>Sent: Monday, October 22, 2018 10:54:25 PM
To: rfennell/vNextBuild
Cc: Subscribed
Subject: [rfennell/vNextBuild] Multiple Version Layout Support - multiple test folders (#389)
Azure DevOps Extension you are using
There are a number of Azure DevOps (VSTS) extension in this repo so please say which one you are using, and if an extension contains multiple tasks which task also
Pester Test Runner from Black Marble v8.*
Where are you running it?
You can run the extensions in the cloud or on-premise

Azure DevOps Service (VSTS)

Version of Extension/Task
8.* (currently available public)
Expected behaviour and actual behaviour
I have multiple versions of my task available as documented here: https://docs.microsoft.com/en-us/azure/devops/extend/develop/build-task-schema?view=vsts#bundle-multiple-versions-of-build-tasks-within-one-extension
I'm using the "Multiple version layout" So I have Tests folder beneath each version folder. Ex:
extensionManifest.json
extensionIcon.png
Task1
--Task1V1
----Tests
------InterestingTestName.tests.ps1
----task.json
----icon.png
----taskScript.ps1
--Task1V2
----Tests
------InterestingTestName.tests.ps1
----task.json
----icon.png
----taskScript.ps1
Expected result:
If I provide a path using a minimatch globstar to multiple folders containing *test.ps1 I expect them to execute. I do not expect to have to hardcode to specific subfolders or run the task multiple times.
Steps to reproduce the problem
Input:
$(Build.SourcesDirectory)\Tasks**\Tests*.tests.ps1
Results:
2018-10-22T14:27:03.9635728Z Running Pester from using the script parameter [D:\a\1\s\Tasks**\Tests*.tests.ps1] output sent to [D:\a\1\s\Test-Pester.XML]
2018-10-22T14:27:03.9636019Z
2018-10-22T14:27:03.9636174Z
2018-10-22T14:27:04.0917989Z ##[error]System.Management.Automation.RuntimeException: You cannot call a method on a null-valued expression.
2018-10-22T14:27:04.0928923Z ##[debug]Processed: ##vso[task.logissue type=error;]System.Management.Automation.RuntimeException: You cannot call a method on a null-valued expression.
2018-10-22T14:27:04.0929315Z at CallSite.Target(Closure , CallSite , Object )
2018-10-22T14:27:04.0929392Z at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
2018-10-22T14:27:04.0929491Z at System.Management.Automation.Interpreter.DynamicInstruction`2.Run(InterpretedFrame frame)
2018-10-22T14:27:04.0929560Z at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/rfennell/vNextBuild/issues/389, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQDqFqhYRmGw7MAzAqQZFOU53WiWjN0mks5undwggaJpZM4XziHR.

Hi Chris. I glossed over in your document that "Scripts Folder or Script" takes in the "root" folder for test scripts. I was explicit with the path because I thought I had to get all the way to the folder that contained the tests.ps1 files. I tried your suggestion and that works fine, thank you.
Maybe an example in the doc would help others?

Closing this as on re-reading I think we have a work around.
Reopen if this is not the case


'Go to definition' & 'Preview definition' commands not working

Both the commands are not working either from the command palette or shortcut.
I last remember testing/using these when I first installed it (0.5?), so not sure when things changed.
Maybe I'm having a false memory, but I remember there also being an option to go to the definition in the context menu that's no longer present.

There seems to be some issues with it, I'll look into fixing this

I've released a fix for this in 0.10.1, please let me know if you still face any issues with this


SAML - Migration existing site with users fails

After enabling SAML2 with Jumpcloud our users cannot log in. After successful login with Jumpcloud SSO we get an error:
2021-10-11 19:37:28] production.ERROR: A user with the email<EMAIL_ADDRESS>already exists but with different credentials. {"exception":"[object] (BookStack\\Exceptions\\UserRegistrationException(code: 0): A user with the email<EMAIL_ADDRESS>already exists but with different credentials. at /var/www/BookStack/app/Auth/Access/RegistrationService.php:68)
[stacktrace]
#0 /var/www/BookStack/app/Auth/Access/Saml2Service.php(344): BookStack\\Auth\\Access\\RegistrationService->registerUser(Array, NULL, false)
#1 /var/www/BookStack/app/Auth/Access/Saml2Service.php(380): BookStack\\Auth\\Access\\Saml2Service->getOrRegisterUser(Array)
#2 /var/www/BookStack/app/Auth/Access/Saml2Service.php(109<EMAIL_ADDRESS>Array)

This is due to missing values in users table (in external_id column).

Hi @vladaman,
This is expected. BookStack won't auto-match them up for security purposes, since existing users with a non-matching auth system ID may be a security concern. When migrating to an auth system like this, it's often best to populate the External Auth IDs of the existing users to match your auth system. This can be done either within-BookStack via editing users or via the database if preferred (Easier to batch edit via DB).

I solve with:
SAML2_EMAIL_ATTRIBUTE="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"
SAML2_EXTERNAL_ID_ATTRIBUTE="http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname"
SAML2_DISPLAY_NAME_ATTRIBUTES="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"
I find attributes with:
APP_DEBUG=true
SAML2_DUMP_USER_DETAILS=true


Move example invoice from InvoiceEditor to seeds

While exploring RedwoodJS, I wanted to get the example-invoice running on my machine. After a bit of struggling and exploration, I've got it working by moving the seed data from the  InvoiceEditor component into the seeds file (which was missing). I've updated the README accordingly.
Hope this helps!

Yes! I was working on it now, thanks for doing it 🥇


Split into rules specific and ui specific

It would nice to have ui independent library which may be used with other UI frameworks like Rum or on a backend.

Seems duplicate of https://github.com/CoNarrative/precept/issues/70


Use an array for printers

Not sure why I have them as separate, differently named objects...

Done via f971433a8e52856fff19dc717e089ad4a5c571ee


Bad Requst - Invalid Hostname

I can't get this sample to work - I've created the AWS pool and client, both manually and with CloudFormation -
I only get:
Bad Request - Invalid Hostname
HTTP Error 400. The request hostname is invalid.
Really struggling with this, any help would be appreciated!

the README.md has an error in the suggested appsettings.json
"AllowedHosts":"\\*",
Should not include the double slash! should be like this:
"AllowedHosts":"*",


YETUS-962. markdownlint is smashing lines together

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://builds.apache.org/job/yetus-github-multibranch/job/PR-106/1/console in case of problems.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
2m 52s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

_ Patch Compile Tests _

+1 :green_heart:
shellcheck
0m  2s
There were no new shellcheck issues.

+1 :green_heart:
shelldocs
0m  0s
There were no new shelldocs issues.

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

_ Other Tests _

+1 :green_heart:
asflicense
0m 12s
The patch does not generate ASF License warnings.

3m 24s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://builds.apache.org/job/yetus-github-multibranch/job/PR-106/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/yetus/pull/106

Optional Tests
dupname asflicense shellcheck shelldocs

uname
Linux 408e1e49d3c5 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
precommit/src/main/shell/personality/yetus.sh

git revision
master / 24d2c57

Max. process+thread count
46 (vs. ulimit of 2000)

modules
C: precommit U: precommit

Console output
https://builds.apache.org/job/yetus-github-multibranch/job/PR-106/1/console

versions
git=2.7.4 maven=3.3.9 shellcheck=0.7.0

Powered by
Apache Yetus 0.12.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://builds.apache.org/job/yetus-github-multibranch/job/PR-106/2/console in case of problems.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
2m 24s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
0m  9s
Maven dependency ordering for branch

_ Patch Compile Tests _

+0 :ok:
mvndep
0m  3s
Maven dependency ordering for patch

-1 :x:
markdownlint
0m  4s
The patch generated 1 new + 0 unchanged - 7 fixed = 1 total (was 7)

+1 :green_heart:
shellcheck
0m  0s
There were no new shellcheck issues.

+1 :green_heart:
shelldocs
0m  0s
There were no new shelldocs issues.

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

_ Other Tests _

+1 :green_heart:
asflicense
0m 13s
The patch does not generate ASF License warnings.

3m 15s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://builds.apache.org/job/yetus-github-multibranch/job/PR-106/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/yetus/pull/106

Optional Tests
dupname asflicense markdownlint shellcheck shelldocs

uname
Linux c4a5a3eaa1cc 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
precommit/src/main/shell/personality/yetus.sh

git revision
master / 24d2c57

markdownlint
https://builds.apache.org/job/yetus-github-multibranch/job/PR-106/2/artifact/out/diff-patch-markdownlint.txt

Max. process+thread count
43 (vs. ulimit of 2000)

modules
C: asf-site-src precommit U: .

Console output
https://builds.apache.org/job/yetus-github-multibranch/job/PR-106/2/console

versions
git=2.7.4 maven=3.3.9 shellcheck=0.7.0 markdownlint=0.22.0

Powered by
Apache Yetus 0.12.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://builds.apache.org/job/yetus-github-multibranch/job/PR-106/3/console in case of problems.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
2m  1s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
0m 12s
Maven dependency ordering for branch

_ Patch Compile Tests _

+0 :ok:
mvndep
0m  5s
Maven dependency ordering for patch

+1 :green_heart:
markdownlint
0m  4s
The patch generated 0 new + 0 unchanged - 7 fixed = 0 total (was 7)

+1 :green_heart:
shellcheck
0m  1s
There were no new shellcheck issues.

+1 :green_heart:
shelldocs
0m  0s
There were no new shelldocs issues.

-1 :x:
whitespace
0m  0s
The patch has 49 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

-1 :x:
whitespace
0m  0s
The patch 600 line(s) with tabs.

_ Other Tests _

+0 :ok:
asflicense
0m 28s
ASF License check generated no output?

3m 19s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://builds.apache.org/job/yetus-github-multibranch/job/PR-106/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/yetus/pull/106

Optional Tests
dupname asflicense markdownlint shellcheck shelldocs

uname
Linux 38cc665d711f 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
precommit/src/main/shell/personality/yetus.sh

git revision
master / 24d2c57

whitespace
https://builds.apache.org/job/yetus-github-multibranch/job/PR-106/3/artifact/out/whitespace-eol.txt

whitespace
https://builds.apache.org/job/yetus-github-multibranch/job/PR-106/3/artifact/out/whitespace-tabs.txt

Max. process+thread count
51 (vs. ulimit of 2000)

modules
C: asf-site-src precommit U: .

Console output
https://builds.apache.org/job/yetus-github-multibranch/job/PR-106/3/console

versions
git=2.7.4 maven=3.3.9 shellcheck=0.7.0 markdownlint=0.22.0

Powered by
Apache Yetus 0.12.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Hmm. Java crashed on ASF Jenkins. But that has no bearing on this patch soo...

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://builds.apache.org/job/yetus-github-multibranch/job/PR-106/4/console in case of problems.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 26s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
0m 16s
Maven dependency ordering for branch

_ Patch Compile Tests _

+0 :ok:
mvndep
0m  6s
Maven dependency ordering for patch

+1 :green_heart:
markdownlint
0m  6s
The patch generated 0 new + 0 unchanged - 7 fixed = 0 total (was 7)

+1 :green_heart:
shellcheck
0m  1s
There were no new shellcheck issues.

+1 :green_heart:
shelldocs
0m  1s
There were no new shelldocs issues.

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

_ Other Tests _

+1 :green_heart:
asflicense
0m 20s
The patch does not generate ASF License warnings.

2m 44s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://builds.apache.org/job/yetus-github-multibranch/job/PR-106/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/yetus/pull/106

Optional Tests
dupname asflicense markdownlint shellcheck shelldocs

uname
Linux 69f7e019f7bc 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
precommit/src/main/shell/personality/yetus.sh

git revision
master / 24d2c57

Max. process+thread count
52 (vs. ulimit of 2000)

modules
C: asf-site-src precommit U: .

Console output
https://builds.apache.org/job/yetus-github-multibranch/job/PR-106/4/console

versions
git=2.7.4 maven=3.3.9 shellcheck=0.7.0 markdownlint=0.22.0

Powered by
Apache Yetus 0.12.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


[FEA] Eliminate degenerate GpuColumnarToRow transition after file write

Is your feature request related to a problem? Please describe.
When a query ends by writing the output to a file, the SQL plan shows a trailing GpuColumnarToRow transition at the end of the plan.  This often confuses users examining the plan, causing them to believe something significant is running on the CPU after the write.  In reality the write produces no output to the next node in the query plan, so the transition is degenerate.
Describe the solution you'd like
It would be nice if we could eliminate this node from appearing in query plans.  I believe a normal ColumarToRow transition is being inserted by Spark when it sees the RDD[ColumnarBatch] output from the write exec and this is then updated to a GpuColumnarToRow transition by the plugin.  I'm wondering if GPU write nodes advertise RDD[ColumnarBatch] inputs but RDD[InternalRow] outputs would avoid Spark thinking it needs to insert a transition after the GPU write node.

Fixing this is relatively straightforward.  GPU write classes should not be columnar, but instead produce rows.  Most writes produce no output, and the ones that do only produce a single row, so this is not a performance problem.  That will eliminate the transition at the end of the plan, but then the transition moves above the write node since it is not columnar but the GPU exec child is.  To fix that, GPU write classes should also inherit from ColumnarToRowTransition so Spark knows not to inject an extra transition between a GPU write and its GPU exec child even though the GPU write does not produce columnar output.


MAUI SDK and samples

Hi Team I am migrating my Xamarin app to MAUI which is using Scandit Barcode Xamarin library.
But I am not able to find the MAUI version of the same.
Is there any plan for this ?
Please update.

My bad found it
https://github.com/Scandit/datacapture-dotnet-samples


Pass bandwidth to kde (and other parameters)

kde function only accepts two parameters at the moment, but many more are available in holoviews. Is it possible to support more options?

Thanks @birdsarah, seems like a straightforward addition, I'll try to add it today.


http publish api config

the following config in http publish api has problem
access	允许访问的IP地址段设置，例如: [{allow, “<IP_ADDRESS>/24”}]
only config [{deny , all}] works properly
however i set [{allow, "ip"}] format, all host can publish. it doesnt work.

@shsjshentao, please append '{deny, all}':
[{allow, “<IP_ADDRESS>/24”}, {deny, all}]

or
[{allow, "<IP_ADDRESS>"}, {deny, all}]


Use BlockArguments

This depends on hlint support: https://github.com/ndmitchell/hlint/issues/608.

I can't figure out how to make hlint help with redundant brackets, and auto-formatting (e.g. with hindent or ormolu) gets kinda wonky. So, I don't know if this is practical.


Did the Ajv validation change to strict mode in v3?

I add extra elements to my jsonSchema for various uses.  After upgrading to v3.0.0 I've started to receive a "strict mode: unknown keyword" error.  I see that we can customize the Ajv validator, but before I go down that route I wanted to double check if that was a change from v2 -> v3?

v3 updated to the latest Ajv (8.x). Nothing else has changed. Maybe Ajv changed some defaults in 8.x?

It must have been Ajv then... I downgraded objectionjs and the error went away.
I expect others to run into this as well if they have extra elements in their jsonSchema. Might be worth making a note in the changelog that others may run into this as well.

I ran into the same issue when upgrading from v2 to v3. I had to override ajv default values for "patch" function to work.
`
const AjvValidator = require('objection').AjvValidator;
class Model {
static createValidator() {
return new AjvValidator({
onCreateAjv: ajv => {
// Here you can modify the Ajv instance.
},
options: {
strict: false, // doesn't work with update function where we use patch for updating.
}
});
}
}
`
Reference:   https://vincit.github.io/objection.js/recipes/custom-validation.html#examples


Parsing the Dynatrace SLO Dashboard shouldnt be case sensitive for sli/slo metadata

Right now when the dynatrace service parses a dynatrace dashboard for SLI/SLO information it parses the header of a chart for meta data information such as SLI name, pass and warning criteria. Seems that the current implementation is expecting all lower case key/value pairs, e.g: sli=sliname;warn=expression. If by accident its written like SLI=sliname then this configuration will be ignored.
I suggest to make the name of these configuration elements case insensitive to avoid any accidential typing mistakes. I just ran into it and it took me a while to figure out why my dashboard wasnt correctly parsed

Its in common.go - in function ParsePassAndWarningFromString

Its in common.go - in function ParsePassAndWarningFromString

Implemented with https://github.com/keptn-contrib/dynatrace-sli-service/releases/tag/0.7.3


Please allow to select the target branches

Default branch is current branch.
./cicd branch=2024

php ci.php branch=2024

Is it really necessary?
In whats situations is it necessary?