Sections Empty ( firstSectionPosition behavior )

I have a App that shows a timeline with name of people, sometimes some section have no content, my questions is, what must be the behavior of the section Id?
public  List<AdapterBaseRow> getData(){

    int firstSectionPosition = 0; //Header index

    List<AdapterBaseRow> adapterBaseRows = new ArrayList<>();

    //Header
    adapterBaseRows.add(new AdapterRowHeader(new User("Google I/O 2010"), firstSectionPosition));

    //items
    adapterBaseRows.add(new AdapterRowPicture(new Picture(R.drawable.picture_1), firstSectionPosition));
    adapterBaseRows.add(new AdapterRowPicture(new Picture(R.drawable.picture_3), firstSectionPosition));

    firstSectionPosition = 3; //Header index

    //Header
    adapterBaseRows.add(new AdapterRowHeader(new User("Google I/O 2011"), firstSectionPosition));

    firstSectionPosition = 3; //Header index

    //Header
    adapterBaseRows.add(new AdapterRowHeader(new User("Google I/O 2012"), firstSectionPosition));

    firstSectionPosition = 3; //Header index

    //Header
    adapterBaseRows.add(new AdapterRowHeader(new User("Google I/O 2013"), firstSectionPosition));

    firstSectionPosition = 4; //Header index

    //items
    adapterBaseRows.add(new AdapterRowPicture(new Picture(R.drawable.picture_3), firstSectionPosition));
    adapterBaseRows.add(new AdapterRowPicture(new Picture(R.drawable.picture_5), firstSectionPosition));
    adapterBaseRows.add(new AdapterRowPicture(new Picture(R.drawable.picture_4), firstSectionPosition));
    adapterBaseRows.add(new AdapterRowPicture(new Picture(R.drawable.picture_3), firstSectionPosition));
    adapterBaseRows.add(new AdapterRowPicture(new Picture(R.drawable.picture_2), firstSectionPosition));

    return adapterBaseRows;
}

fixed, when a section is empty just need to increase the current firstSectionPosition++.
int firstSectionPosition = 0; //Header index

List<AdapterBaseRow> adapterBaseRows = new ArrayList<>();

//Header
adapterBaseRows.add(new AdapterRowHeader(new User("Google I/O 2010"), firstSectionPosition));

//items
adapterBaseRows.add(new AdapterRowPicture(new Picture(R.drawable.picture_1), firstSectionPosition));
adapterBaseRows.add(new AdapterRowPicture(new Picture(R.drawable.picture_3), firstSectionPosition));

firstSectionPosition = 4; //Header index

//Header
adapterBaseRows.add(new AdapterRowHeader(new User("Google I/O 2011"), firstSectionPosition));

firstSectionPosition = 5; //Header index

...


ANC Subs Visit - Next Steps - Leg Redness [2h]

Issue
In subsequent encounters, a patient may identify a symptom for the first time which will result in a specific diagnosis. If they return and identify the same symptom again then the diagnosis may change.
When a patient identifies that they have leg cramps as a symptom at any visit, we provide health education (even if it is the 2nd or 3rd time they have had this symptom)

Supporting Documents:
You can see the logic for next steps here.
Notes:
Similar to the first ANC encounter, if a patient is receiving health education for multiple things they will stack in one health education sub-activity.
To Do:

Style next steps screens per design
Adjust logic per document

Closing this issue. It is being combined with Leg Pain.


Evaluate providing more capabilities in module

Description
Sysdig automation:

Creating team
Adding channel
Dealing with token

(See feasability - but this may belong more to a module provided by sysdig)
New or affected modules

By submitting this issue, you agree to follow our Code of Conduct

Just time bound this evaluation - eg: no more than 3-4h of evaluation / PoC, as unlikely to include in module given that this is specific to sysdig.

As discussed with @vburckhardt , we are not taking this further.


Parent projects improperly displayed on child projects for project admins

Steps to Reproduce

Create two users: User A, User B
As User A, create three nested projects: Grandparent > Parent > Child
Add User B as an administrator for the Grandparent project
As User B, visit the Child project.

Expected

The Parent project's name should be header.
The "up to parent project" link in the project navbar should take you to the parent project.

Actual

The Parent project's name is not displayed in the header - instead, "Private Project" is shown.
The "up to parent project" link in the project navbar is linked to nothing.

@caileyfitz could you verify this issue has been solved in production.

@nanchen47 Yes, this is fixed on prod :+1:


[iOS] NSOperation quality of service

Add a boolean parameter to push & pull operations to indicate the origin of the request.
With this information, set the quality of service parameter on NSOperation (available since iOS8) to NSOperationQualityOfServiceUserInitiated if true for user initiated and NSOperationQualityOfServiceBackground if false.
With this, the system would then be able to more aptly prioritise these operations. As an example pull with user initiated may occur for loading items to display in the UI. Whereas a pull occurring from a timer of some other background instigator could occur with a much lower priority.
To avoid a breaking change, the current -[MSSyncTable pullWithQuery:queryId:completion:] could stay and call the designated new method like -[MSSyncTable pullWithQuery:queryId:userInitiated:completion:] with a user initiated of YES to default behaviour like the current implementation holds

With #723 there is a new config option param that this would make sense to live in for Pulls.  Could offer a config bundle for Push as well to incorporate other minor tweaks like this going forward.

Moved to: https://github.com/Azure/azure-mobile-apps-ios-client/issues/13


Floating-Point Representation and Precision Error in transaction amount calculation

The issue is related to floating-point arithmetic in Python, which affects the accuracy of transaction amount calculations. Specifically, when performing arithmetic operations with floating-point numbers, the results can sometimes be slightly off due to the way floating-point numbers are represented in binary format and when these transactions accumulate, the final account budget result is different from the reality(sometimes by a significant amount). This can lead to incorrect financial tracking and budgeting
Example
For instance, the calculation -9.95 * 100 results in -994.9999999999999 instead of the expected -995 and results in amount of -9.94 added to ActualBudget instead of -9.95.
This might be a breaking change for some users that implemented float-type amount insert using actualpy
References

Python decimal module documentation
Floating-point arithmetic issues

Hello @maxtacu ,
I do not feel like we should drop support the float, but instead handle it better and round the result. It seems like the issue is due to the fact that the int function will truncate the number, rather than rounding it. I was actually unaware of this behaviour. We could get around this by rounding the final floating number, or first converting it to decimal before doing any operations.
For example:
>>> int(-9.95*100)
-994.9999999999999   # does not work
>>> round(-9.95*100)
-995                                 # works

Let me know what do you think, here are the proposed changes:
diff --git a/actual/database.py b/actual/database.py
index 07cd232..eda9750 100644
--- a/actual/database.py
+++ b/actual/database.py
@@ -594,7 +594,7 @@ class Transactions(BaseModel, table=True):
         self.date = int(datetime.date.strftime(date, "%Y%m%d"))

     def set_amount(self, amount: Union[decimal.Decimal, int, float]):
-        self.amount = int(amount * 100)
+        self.amount = int(round(amount * 100))

     def get_amount(self) -> decimal.Decimal:
         return decimal.Decimal(self.amount) / decimal.Decimal(100)
diff --git a/actual/queries.py b/actual/queries.py
index 7cc1a15..916e7bb 100644
--- a/actual/queries.py
+++ b/actual/queries.py
@@ -175,7 +175,7 @@ def create_transaction_from_ids(
         id=str(uuid.uuid4()),
         acct=account_id,
         date=date_int,
-        amount=int(amount * 100),
+        amount=int(round(amount * 100)),
         category_id=category_id,
         payee_id=payee_id,
         notes=notes,
(END)

@bvanelli rounding sounds good!
as long as Actual doesn't add support for 3 digits decimal numbers 😄

@bvanelli rounding sounds good! I will update the PR as long as Actual doesn't add support for 3 digits decimal numbers 😄

Yeah, I wonder if they will ever add that, I believe is required when they support multi currency because of cryptocurrency.
Anyways, would you mind adding a test for the failing case (i.e. adding one transaction with -9.95) as value?

Looks good to me, there is one issue with the pre-commit and one issue with the typing, but I'll fix that once merged. I created https://github.com/bvanelli/actualpy/issues/80 to also document the pre-commit stuff.


hostap: Use proper value when generating supplicant event

The previous NET_EVENT_SUPPLICANT_CMD_INT_EVENT is from "enum net_event_supplicant_cmd" but the supplicant_send_wifi_mgmt_event() has the event parameter as an "enum net_event_wifi_cmd" and those event number spaces are different.
This meant that the wrong event value NET_EVENT_SUPPLICANT_CMD_INT_EVENT maps to NET_EVENT_WIFI_CMD_TWT (from "enum net_event_wifi_cmd") which fortunately did not cause issue in this case because the supplicant_send_wifi_mgmt_event() has no handling for this TWT event value.
It is important we fix this as this can cause great confusion in the future.

Rebased to latest upstream

@krish2718 & @rlubos please take a look, the hostap PR is now merged


Segmentation Badly

Hi I trained u2net on refined supervisely dataset(including personal goods) and some of matting dataset images. Whole dataset has 60k images. After 20 epochs, I predict few of my images which should be easy to distinguish bg and fg, however it looks very bad. Personally I thought it was receptive field problem. I would now try to use dilation conv to increase it. Can anyone give me more advices on dealing with it?  Thanks

How long is the model trained ? According to the results. I think the problem is more training time is needed. Because the densely supervised mechanism converges slowly. So there are several suggestions.
(1) resize the supervisely dataset to 320x320 or 512x512 offline, because some of these images have very high resolution. If you load them and resize them online, each epoch of training time is probably slow and which further slow down the training speed.
(2) Train more epoches, e.g. 3 or 5 days.
(3) You can plot the -log(loss) to see if the training loss is flat and converged. Besides, you can show the probability maps to check the convergence based on the prediction confidence. If most of the predictions are blurring, that means the model is not well-trained and more epochs are needed.
(4) We released our model trained on supervisedly dataset. You can download it and give it a try.  If that doesn’t work, then you can try other options, e.g. deeper network, more dilation, rich receptive fields, etc.

On 30 Apr 2021, at 8:14 AM, nypzxy @.***> wrote:
Hi I trained u2net on supervisely dataset for experiments. After 20 epochs, I predict few of my images which should be easy to distinguish bg and fg, however it looks very bad. Personally I thought it was receptive field problem. I would now try to use dilation conv to increase it. Can anyone give me more advices on dealing with it? Thanks
https://user-images.githubusercontent.com/22143473/116647436-1dd70800-a9ad-11eb-8539-e8abe577716e.jpg
https://user-images.githubusercontent.com/22143473/116647437-1dd70800-a9ad-11eb-95d6-9a9b8d203df3.jpg
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/xuebinqin/U-2-Net/issues/198, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSGORNP3FRZNCW7A3PGE33TLIVARANCNFSM433I6LNQ.

Thanks for these useful tips. very appreciated.
1> online training for 1 day. I tested on your model as well, the results seems worse. By the way,  I trained on the u2net lite with mae loss only because when I roughly relabeled supervisely dataset (blur the masks to avoid bad label). So maybe 1day training time should be fine.
2> will keep training.
3> I didn't save training logs, but the loss keep reducing. will explore prediction confidence then.
FYI,


package routes

Folio Version
1
Laravel Version
10
PHP Version
8
Description
what is the recommended way of declaring package routes to be handled by folio?
is it like this?:
    public function boot(): void
    {
        Folio::path(base_path('vendor/myname/mypackage/resources/views/pages'))->middleware([
            '*' => [
                //
            ],
        ]);
    }

Steps To Reproduce
see description

We've documentation about this: https://github.com/laravel/folio#page-paths--uris.


UI Enhancement and Dark Mode

Is your feature request related to a problem? Please describe. The current UI feels outdated, with a static navbar and no dark mode, making the user experience less comfortable, especially during extended use. The theme also lacks consistency in design.
Describe the solution you'd like Implement a responsive navbar with a cleaner design, add a dark mode toggle, and improve the theme with more consistent colors and typography to create a modern, cohesive look.
Describe alternatives you've considered Using a UI library like Material UI or Bootstrap, but a custom solution would provide more flexibility in matching the current design.

I have assigned this issue to you! All the Best!!

you can assign this task to me...


[WIP] Respect position in reconciler

I'm surprised revery works as good as it does just ignoring this. But unfortunately I stumbled across a bug, as I do, which is likely caused by this. I've therefore changed node#addChild to insert by position, and removed _revChildren as it no longer serves much of a purpose other than to add complexity. I also believe the assumption that elements typically should be appended is wrong. But even if it isn't, an ordinary list is probably the wrong data structure to use here anyway. A double-ended linked list or skip list might be better.
We should probably implement moveNode properly as well, and removeNode might be made slightly more efficient by using position rather than id, but that's probably not all that significant.
There seems to be no significant difference in the benchmark despite significant alterations to the reconciliation code. But perhaps the benchmark doesn't really test this.
Before:
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|  BENCHMARK                                                     |  ITERATIONS |  TIME              |  MINOR GC  |  MAJOR GC  |  MINOR ALLOC  |  PROMOTED  |  MAJOR ALLOC  |
|----------------------------------------------------------------+-------------+--------------------+------------+------------+---------------+------------+---------------|
|  Node: create single node                                      |  10000      |  0.00162792205811  |  4         |  0         |  820302       |  307       |  307          |
|----------------------------------------------------------------+-------------+--------------------+------------+------------+---------------+------------+---------------|
|  Layout: layout single node (force re-layout)                  |  10000      |  0.00284290313721  |  3         |  0         |  540158       |  111       |  111          |
|----------------------------------------------------------------+-------------+--------------------+------------+------------+---------------+------------+---------------|
|  Layout: layout node tree (4 deep, 4 wide) (force re-layout))  |  10000      |  1.94358897209     |  821       |  273       |  179092661    |  22167906  |  22167906     |
|----------------------------------------------------------------+-------------+--------------------+------------+------------+---------------+------------+---------------|
|  Layout: layout single node                                    |  10000      |  0.00290989875793  |  3         |  0         |  540158       |  111       |  111          |
|----------------------------------------------------------------+-------------+--------------------+------------+------------+---------------+------------+---------------|
|  Layout: layout node tree (4 deep, 4 wide)                     |  10000      |  1.94690203667     |  852       |  273       |  179091066    |  21563312  |  21563312     |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

After:
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|  BENCHMARK                                                     |  ITERATIONS |  TIME              |  MINOR GC  |  MAJOR GC  |  MINOR ALLOC  |  PROMOTED  |  MAJOR ALLOC  |
|----------------------------------------------------------------+-------------+--------------------+------------+------------+---------------+------------+---------------|
|  Node: create single node                                      |  10000      |  0.00154399871826  |  4         |  0         |  800302       |  299       |  299          |
|----------------------------------------------------------------+-------------+--------------------+------------+------------+---------------+------------+---------------|
|  Layout: layout single node (force re-layout)                  |  10000      |  0.00318002700806  |  3         |  0         |  540158       |  111       |  111          |
|----------------------------------------------------------------+-------------+--------------------+------------+------------+---------------+------------+---------------|
|  Layout: layout node tree (4 deep, 4 wide) (force re-layout))  |  10000      |  1.94854593277     |  841       |  259       |  179089613    |  21305774  |  21305774     |
|----------------------------------------------------------------+-------------+--------------------+------------+------------+---------------+------------+---------------|
|  Layout: layout single node                                    |  10000      |  0.00287389755249  |  3         |  0         |  540201       |  111       |  111          |
|----------------------------------------------------------------+-------------+--------------------+------------+------------+---------------+------------+---------------|
|  Layout: layout node tree (4 deep, 4 wide)                     |  10000      |  1.98566317558     |  847       |  269       |  179091657    |  21534614  |  21534614     |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Can confirm that this fixes the issue with virtualized tree rendering in Oni2.
cc @wokalski :tada:

/azp run


Fix scrolling behavior in menu while zoomed in

Fixes #80047

@jeanp413 thanks for the PR. and thanks for the pointer about the chrome issue. I notice some of the changes are just rearranging of lines and additionally some changes in the submenuviewitem. Are these changes strictly necessary to address the issue? If not, I would like to keep this PR to the minimum amount of changes.
Additionally, some of the changes are in actionbar, which I am hesitant to take anything that affects more than the menu widget. So, it might be better to pull more of that code up a layer.

@jeanp413 If it isn't necessary to fix the original issue, let's revert it. Testing it, I seet that it works and once we have it to a minimum we can see if we need to worry about the code change in actionbar.ts

Reverted some changes. Let me know if that's enough

@jeanp413 This is looking great, I hope you don't mind but I moved the logic you had in menubar.ts to avoid dismissing the menu on scrollbar clicking into menu.ts, since those clicks should not be propogated.

@sbatten yeah it's great, but I found a minor issue when you click on the scrollbar it doesn't stop tracking it. Seems like it's necessary to let the event propagate because it's used here
https://github.com/microsoft/vscode/blob/ede82b16387ecbebadadcc3a72f511be13434e20/src/vs/base/browser/globalMouseMoveMonitor.ts#L87-L93

@jeanp413 good catch, updated and merging


Data not appearing in Domoticz

I don't see the "INFO The request is http://<IP_ADDRESS>:8080/json.htm?type=command&param=udevice&idx=1053&nvalue=0&svalue=28.72;66;1&battery=74" line in my log file.
No data appearing in Domoticz.
When I use curl to post the data myself, I see it appear in Domoticz, so the error seems to be on the side of the script, not on the Domoticz side.
menno@quokka:~$ curl 'http://<IP_ADDRESS>:8080/json.htm?type=command&param=udevice&idx=1053&nvalue=0&svalue=20.0;66;1&battery=74'
{
"status" : "OK",
"title" : "Update Device"
}

It worked for me untill domoticz updated. No data appearing in Domoticz.
When i use the request http://<IP_ADDRESS>:8080/json.htm?type=command&param=udevice&idx=215&nvalue=0&svalue=24.69;75;3&battery=74, domoticz is updated.
The log file.. when crontab did his work.
2023-08-19 18:00:12 INFO     TH_IDX:215
2023-08-19 18:00:12 INFO     TH_IDX:215
2023-08-19 18:00:12 ERROR    Failed to connect to peripheral A4:C1:38:37:9F:97, addr type: public
2023-08-19 18:00:12 INFO     TH_IDX:216
2023-08-19 18:00:25 INFO     Temp: 24.69
2023-08-19 18:00:25 INFO     Hum: 75
2023-08-19 18:00:25 INFO     Voltage: 2.842
2023-08-19 18:00:25 INFO     Battery level: 74
2023-08-19 18:00:25 INFO     Comfort type: 3
2023-08-19 18:00:25 INFO     The request is http://<IP_ADDRESS>:8080/json.htm?type=command&param=udevice&idx=215&nvalue=0&svalue=24.69;75;3&battery=74
2023-08-19 18:00:25 INFO     The response is <Response [401]>
2023-08-19 18:00:25 INFO     TH_IDX:216
2023-08-19 18:00:25 ERROR    Failed to connect to peripheral A4:C1:38:79:23:A5, addr type: public
2023-08-19 18:00:26 INFO     Temp: 23.31
2023-08-19 18:00:26 INFO     Hum: 80
2023-08-19 18:00:26 INFO     Voltage: 2.767
2023-08-19 18:00:26 INFO     Battery level: 67
2023-08-19 18:00:26 INFO     Comfort type: 3
2023-08-19 18:00:26 INFO     The request is http://<IP_ADDRESS>:8080/json.htm?type=command&param=udevice&idx=216&nvalue=0&svalue=23.31;80;3&battery=67
2023-08-19 18:00:26 INFO     The response is <Response [401]>

I created a DzVents in Domoticz that calls the adres directly and the sensors are updated.
return {     on = {     timer = {'every 5 minutes'}}, -- some trigger     execute = function(domoticz)     domoticz.openURL('http://<IP_ADDRESS>:8080/json.htm?type=command&param=udevice&idx=215&nvalue=0&svalue=24.69;75;3&battery=74')     domoticz.openURL('http://<IP_ADDRESS>:8080/json.htm?type=command&param=udevice&idx=216&nvalue=0&svalue=24.69;75;3&battery=74') end }``

Error 401 means unauthorized.
I had the same problem since the update. For some reason Trusted IP addresses does not work.
What did work was adding credentials to the script.

Can you tell me how you did that? I'n not a scripter.

Ok, so i did it right but it still doenst work. See the error above. Any idea's?

See the update to my post, maybe try this script.

Still the same syntax error
sudo ./xiaomi03mmc
Traceback (most recent call last):
  File "/home/pi/xiaomi-mi-lywsd03mmc/xiaomiBleLywsd03mmc.py", line 2, in <module>
    import config
  File "/home/pi/xiaomi-mi-lywsd03mmc/config.py", line 14
    TEMPERATURE_PREC = 2
                     ^
SyntaxError: invalid syntax

That's weird. I have exact the same line on line 14, I don't get a syntax error.
Sorry, I'm afraid I'm not enough of a programmer to be able to help you further.

Did you check the "/home/pi/xiaomi-mi-lywsd03mmc/xiaomiBleLywsd03mmc.py"
file for proper end of line or end of file termination ?
There can be a false alert for line 14 caused by a previous error.
Luiz
On Wed, Aug 23, 2023 at 8:56 PM MennoLabs @.***> wrote:

That's weird. I have exact the same line on line 14, I don't get a syntax
error.
Sorry, I'm afraid I'm not enough of a programmer to be able to help you
further.
—
Reply to this email directly, view it on GitHub
https://github.com/erdose/xiaomi-mi-lywsd03mmc/issues/13#issuecomment-1690552748,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB7AKMBIJOBPIDKZ45ZB57DXWZN5HANCNFSM5FVJNUDA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Euh, no I haven't. I'm not a scripter. How should it look like?

Something like this:
[image: image.png]
Pay attention to opening and closing quotes and the open and close brackets
for each sensor line and also the open and close brackets for the whole
pack of sensors. Also note that the last line of the file ends with an
Enter, so the prompt will appear in a separate line. If it does not have
the end-of-line, the prompt will be merged with the last line of the file
on the same line..
On Thu, Aug 24, 2023 at 5:15 PM Havym @.***> wrote:

Euh, no I haven't. I'm not a scripter. How should it look like?
—
Reply to this email directly, view it on GitHub
https://github.com/erdose/xiaomi-mi-lywsd03mmc/issues/13#issuecomment-1692003235,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB7AKMF6JG5GF3B5D3QUBDDXW543ZANCNFSM5FVJNUDA
.
You are receiving this because you commented.Message ID:
@.***>

I deleted all the files en downloaded new files from github, filled in the data but still the same error. Could someone check the files here? I messaged the author here and on domoticz forum. Still no responce.


Missing defaultValue for jitConfiguration in CreateUIDefinition template

Basically, I enabled JIT in my managed application via the below configuration in CreateUIDefinition template and by default, the value is always "YES".
Looks like we are missing the key-value pair "defaultValue": true/false here like other objects, so that we can configure whether to switch it ON by default OR not.
Is there a way to make it OFF by default? and if required the customer can switch it ON manually via the CreateUIDefinition when installing the managed application from Azure Marketplace.

{
    "name": "jitConfiguration",
    "label": "JIT Configuration",
    "subLabel": {
        "preValidation": "Configure JIT settings for your application",
        "postValidation": "Done"
    },
    "bladeTitle": "JIT Configuration",
    "elements": [
        {
          "name": "jitConfigurationControl",
          "type": "Microsoft.Solutions.JitConfigurator",
          "label": "JIT Configuration"
        }
    ]
}

"jitAccessPolicy": "[steps('jitConfiguration').jitConfigurationControl]"

URL for reference: https://learn.microsoft.com/en-us/azure/azure-resource-manager/managed-applications/request-just-in-time-access

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

ID: 068af6c1-f78a-b7cd-ab16-11f72ae79b23
Version Independent ID: 74b9351e-b8f6-04d7-b751-6815a83f628d
Content: Request just-in-time access - Azure Managed Applications
Content Source: articles/azure-resource-manager/managed-applications/request-just-in-time-access.md
Service: managed-applications
GitHub Login: @MSEvanhi
Microsoft Alias: evanhi

sunnybhambhani

+1

@sunnybhambhani
Thanks for your feedback! We will investigate and update as appropriate.

@sunnybhambhani Thanks for your feedback.
Assigning to content author  @MSEvanhi for review.

Unfortunately this issue wasn't reviewed in a timely manner. I created an internal work item and I'm closing this issue.
If this issue is blocking a deployment you might want to contact Azure support. You can also check Stack Overflow to see if your question was already answered or submit a new question.
#please-close

#assign:davidsmatlak


Feature: Avatars!

Choose whether or not you want the Star Wars theme avatar to be displayed in the background 🎉
Usage

Enabling is done by defining the avatar option inside of .hyper.js, and setting it to true
Disabling is done by setting it to false
Default State - Completely omitting the avatar option from your .hyper.js will have the same effect as defining it and setting it to true

avatar: 'true'  // Activates the feature and
avatar: 'false'  // Deactivates it

Issues Fixed
Fixes #1
Preview

Thanks!


Support with docker-compose use JWT [UI:localhost:4000]

Hello everybody! I run docker-compose.yml with security, branch Jakarta. After I ran docker, I tried to this page: localhost:4000 and then used the command to get kong-admin

sudo cat /tmp/edgex/secrets/security-proxy-setup/kong-admin-jwt

But I got a problem

Thank you!

That is the wrong token. Please see the documentation here: https://docs.edgexfoundry.org/2.1/security/Ch-Secure-Consul/#how-to-get-consul-acl-token

@bnevis-i , FYI

To get the API token, instead use
make get-token

The kong-admin-jwt is used by security-proxy-setup to configure Kong and it can only access the /admin API.

Closing as answered.


HBASE-27921: Bump up jruby to <IP_ADDRESS> and related joni and jcodings to 2.1.48 and 1.0.58 respectively

MOTIVATION
Current version of jruby (<IP_ADDRESS>) has snakeyaml dependency version 1.33 which is affected critical CVE https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1471
SOLUTION

Upgrading jruby to the latest version; <IP_ADDRESS>
Upgrading related joni and jcodings to 2.1.48 and 1.0.58 respectively
Adding -W0 option to JRUBY_OPTS as it outputs below warning when hbase shell is launched;

uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85: warning: parentheses after method name is interpreted as an argument list, not a decomposed argument

CHECKS

Launched HBase shell.
Executed unit tests without cluster;

[INFO] Running org.apache.hadoop.hbase.client.TestShellNoCluster
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s - in org.apache.hadoop.hbase.client.TestShellNoCluster
[INFO] Running org.apache.hadoop.hbase.client.TestTableShell
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.595 s - in org.apache.hadoop.hbase.client.TestTableShell

No more vulnerable snakeyaml dependency;

> jar -tvf ./lib/jruby-complete-* | grep -i snake
     0 Wed Mar 08 16:02:56 UTC 2023 META-INF/jruby.home/lib/ruby/stdlib/org/snakeyaml/
    22 Wed Mar 08 10:02:04 UTC 2023 META-INF/jruby.home/lib/ruby/stdlib/org/snakeyaml/.jrubydir
     0 Wed Mar 08 16:02:56 UTC 2023 META-INF/jruby.home/lib/ruby/stdlib/org/snakeyaml/snakeyaml-engine/
    34 Wed Mar 08 10:02:04 UTC 2023 META-INF/jruby.home/lib/ruby/stdlib/org/snakeyaml/snakeyaml-engine/.jrubydir
     0 Wed Mar 08 16:02:56 UTC 2023 META-INF/jruby.home/lib/ruby/stdlib/org/snakeyaml/snakeyaml-engine/2.6/
    30 Wed Mar 08 10:02:04 UTC 2023 META-INF/jruby.home/lib/ruby/stdlib/org/snakeyaml/snakeyaml-engine/2.6/.jrubydir
292124 Wed Mar 08 10:02:04 UTC 2023 META-INF/jruby.home/lib/ruby/stdlib/org/snakeyaml/snakeyaml-engine/2.6/snakeyaml-engine-2.6.jar
   305 Wed Mar 08 10:02:04 UTC 2023 META-INF/jruby.home/lib/ruby/stdlib/org/snakeyaml/snakeyaml-engine/maven-metadata-local.xml
>

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 31s
Docker mode activated.

_ Prechecks _

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

+0 :ok:
shelldocs
0m  0s
Shelldocs was not available.

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

_ master Compile Tests _

+1 :green_heart:
mvninstall
3m 33s
master passed

+1 :green_heart:
compile
5m 42s
master passed

+1 :green_heart:
spotless
0m 52s
branch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 32s
the patch passed

+1 :green_heart:
compile
5m 51s
the patch passed

+1 :green_heart:
javac
5m 51s
the patch passed

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

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

+1 :green_heart:
xml
0m  1s
The patch has no ill-formed XML file.

+1 :green_heart:
hadoopcheck
13m  4s
Patch does not cause any errors with Hadoop 3.2.4 3.3.5.

+1 :green_heart:
spotless
0m 51s
patch has no errors when running spotless:check.

_ Other Tests _

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

41m 24s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5274/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5274

JIRA Issue
HBASE-27921

Optional Tests
dupname asflicense spotless shellcheck shelldocs javac hadoopcheck xml compile

uname
Linux e58c96d0b9ad 5.4.0-1097-aws #105~18.04.1-Ubuntu SMP Mon Feb 13 17:50:57 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / d539917514

Default Java
Eclipse Adoptium-11.0.17+8

Max. process+thread count
78 (vs. ulimit of 30000)

modules
C: . U: .

 U: .

 U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5274/1/console

versions
git=2.34.1 maven=3.8.6

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 27s
Docker mode activated.

_ Prechecks _

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

+0 :ok:
shelldocs
0m  0s
Shelldocs was not available.

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

_ master Compile Tests _

+1 :green_heart:
mvninstall
3m  0s
master passed

+1 :green_heart:
compile
4m 55s
master passed

+1 :green_heart:
spotless
0m 44s
branch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 49s
the patch passed

+1 :green_heart:
compile
4m 52s
the patch passed

+1 :green_heart:
javac
4m 52s
the patch passed

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

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

+1 :green_heart:
xml
0m  1s
The patch has no ill-formed XML file.

+1 :green_heart:
hadoopcheck
10m 20s
Patch does not cause any errors with Hadoop 3.2.4 3.3.5.

+1 :green_heart:
spotless
0m 41s
patch has no errors when running spotless:check.

_ Other Tests _

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

34m 24s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5274/2/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5274

JIRA Issue
HBASE-27921

Optional Tests
dupname asflicense spotless shellcheck shelldocs javac hadoopcheck xml compile

uname
Linux 99ff64d60061 5.4.0-1097-aws #105~18.04.1-Ubuntu SMP Mon Feb 13 17:50:57 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / d539917514

Default Java
Eclipse Adoptium-11.0.17+8

Max. process+thread count
78 (vs. ulimit of 30000)

modules
C: . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5274/2/console

versions
git=2.34.1 maven=3.8.6 shellcheck=0.8.0

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 25s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+1 :green_heart:
mvninstall
2m 46s
master passed

+1 :green_heart:
compile
1m 46s
master passed

+1 :green_heart:
shadedjars
4m 56s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 46s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 35s
the patch passed

+1 :green_heart:
compile
1m 50s
the patch passed

+1 :green_heart:
javac
1m 50s
the patch passed

+1 :green_heart:
shadedjars
4m 58s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 43s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
284m 55s
root in the patch passed.

314m  7s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5274/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5274

JIRA Issue
HBASE-27921

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 8b0711632a75 5.4.0-1099-aws #107~18.04.1-Ubuntu SMP Fri Mar 17 16:49:05 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / d539917514

Default Java
Eclipse Adoptium-11.0.17+8

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5274/2/testReport/

Max. process+thread count
7229 (vs. ulimit of 30000)

modules
C: . U: .

 U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5274/2/console

versions
git=2.34.1 maven=3.8.6

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 54s
Docker mode activated.

_ Prechecks _

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

+0 :ok:
shelldocs
0m  0s
Shelldocs was not available.

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

_ master Compile Tests _

+1 :green_heart:
mvninstall
4m  1s
master passed

+1 :green_heart:
compile
5m 55s
master passed

+1 :green_heart:
spotless
0m 49s
branch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 33s
the patch passed

+1 :green_heart:
compile
6m 24s
the patch passed

+1 :green_heart:
javac
6m 24s
the patch passed

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

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

+1 :green_heart:
xml
0m  1s
The patch has no ill-formed XML file.

+1 :green_heart:
hadoopcheck
12m 47s
Patch does not cause any errors with Hadoop 3.2.4 3.3.5.

+1 :green_heart:
spotless
0m 56s
patch has no errors when running spotless:check.

_ Other Tests _

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

43m 40s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5274/3/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5274

JIRA Issue
HBASE-27921

Optional Tests
dupname asflicense spotless shellcheck shelldocs javac hadoopcheck xml compile

uname
Linux 1f3f7585a9ae 5.4.0-1099-aws #107~18.04.1-Ubuntu SMP Fri Mar 17 16:49:05 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / d539917514

Default Java
Eclipse Adoptium-11.0.17+8

Max. process+thread count
77 (vs. ulimit of 30000)

modules
C: . U: .

 U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5274/3/console

versions
git=2.34.1 maven=3.8.6

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 49s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+1 :green_heart:
mvninstall
2m 33s
master passed

+1 :green_heart:
compile
1m 34s
master passed

+1 :green_heart:
shadedjars
4m 30s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 26s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 14s
the patch passed

+1 :green_heart:
compile
1m 35s
the patch passed

+1 :green_heart:
javac
1m 35s
the patch passed

+1 :green_heart:
shadedjars
4m 32s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 30s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
350m 13s
root in the patch passed.

377m 42s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5274/3/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5274

JIRA Issue
HBASE-27921

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 501f3751b659 5.4.0-144-generic #161-Ubuntu SMP Fri Feb 3 14:49:04 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / d539917514

Default Java
Temurin-1.8.0_352-b08

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5274/3/testReport/

Max. process+thread count
7116 (vs. ulimit of 30000)

modules
C: . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5274/3/console

versions
git=2.34.1 maven=3.8.6

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

This message was automatically generated.

@busbey I think it is OK to bump the jruby version for master, branch-3 and branch-2, I'm not sure if it is OK to bump them for other 2.x release lines. WDYT?
Thanks.

@Apache9 @busbey please do not merge this PR.
Looks like jruby-complete-9.4.X.X breaks HBase Shell non-interactive mode, please refer to https://github.com/jruby/jruby/pull/7600#issuecomment-1452700930.
> hbase shell -n
ERROR NoMethodError: undefined method `conf' for IRB:Module
NoMethodError: undefined method `conf' for IRB:Module
  initialize at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/workspace.rb:72
         new at org/jruby/RubyClass.java:904
      <main> at /opt/mapr/hbase/hbase-1.4.14/bin/hirb.rb:246

We should wait for <IP_ADDRESS> release to address snakeyaml CVE https://github.com/jruby/jruby/issues/7570#issuecomment-1419393437

Close in favor of #5568


Table sorting: allow retention of sites w/o mutations.

Should allow for sites not attached to mutations to be retained.  The current behavior rebuilds the table.

no longer relevant


Allow short algebraic notation

It would be nice if we could input the moves using the short algebraic notation that is standard in the pgn format, e.g., e4 e5 Nf3, in addition to the long format currently supported.
The public api would get only one additional method, Game.apply_san_move(san_string). I have already implemented this and will open a pull request. I'd like to use Chessnut in a hobby project, but want to be able to read in pgn games.

@cgearhart would be great if you could take a look at this and merge if approved.


Fix Parameter Location in ACS

Fix Parameter location.
@salameer This really needs to be prioritized:
https://github.com/Azure/azure-openapi-validator/issues/84
FYI @mboersma

No modification for AutorestCI/azure-sdk-for-ruby

 https://github.com/Azure/azure-sdk-for-python/pull/1700


How can it support other kernel like JavaScript in VScode's Jupyter Notebooks

Thanks for filing this issue.
You can install the ijavascript kernel (see here for more info https://github.com/n-riesco/ijavascript)
Another discussion related to this can be found here https://github.com/microsoft/vscode-jupyter/discussions/9317


tiscamera on arm32, DMx 41BU02, "Device did not provide ANY valid caps."

Hello,
I'm trying to get tiscamera running with a DMx 41BU02 USB camera on a raspberry pi, running Raspbian buster (linux 5.4.83-v71+).
Compiling works, and the camera is found by the tool:
tcam-ctrl -l
Model: DMx 41BU02 Serial: 23210037 Type: v4l2

However, if I want to start a stream using the provided python example, I get the following errors:
./03-live-stream.py
0:00:02.283877183 18401   0xa0bce0 ERROR            tcammainsrc gsttcammainsrc.cpp:727:gst_tcam_mainsrc_get_all_camera_caps: Device did not provide ANY valid caps. Refusing playback.
0:00:02.291359501 18401   0xa0bce0 ERROR                tcambin gsttcambin.cpp:1284:gst_tcam_bin_change_state:<bin> Unable to work with given caps: video/x-raw, format=(string)BGRx, width=(int)[ 1,<PHONE_NUMBER> ], height=(int)[ 1,<PHONE_NUMBER> ], framerate=(fraction)[ 0/1,<PHONE_NUMBER>/1 ], pixel-aspect-ratio=(fraction)1/1; video/x-raw, width=(int)[ 1,<PHONE_NUMBER> ], height=(int)[ 1,<PHONE_NUMBER> ], framerate=(fraction)[ 0/1,<PHONE_NUMBER>/1 ], pixel-aspect-ratio=(fraction)1/1, format=(string){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32 }
Press Ctrl-C to stop.
0:00:02.292374317 18401   0x8ce320 ERROR                tcambin gsttcambin.cpp:1284:gst_tcam_bin_change_state:<bin> Unable to work with given caps: video/x-raw, format=(string)BGRx, width=(int)[ 1,<PHONE_NUMBER> ], height=(int)[ 1,<PHONE_NUMBER> ], framerate=(fraction)[ 0/1,<PHONE_NUMBER>/1 ], pixel-aspect-ratio=(fraction)1/1; video/x-raw, width=(int)[ 1,<PHONE_NUMBER> ], height=(int)[ 1,<PHONE_NUMBER> ], framerate=(fraction)[ 0/1,<PHONE_NUMBER>/1 ], pixel-aspect-ratio=(fraction)1/1, format=(string){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32 }
0:00:02.292769329 18401   0x8ce320 ERROR                tcambin gsttcambin.cpp:1284:gst_tcam_bin_change_state:<bin> Unable to work with given caps: video/x-raw, format=(string)BGRx, width=(int)[ 1,<PHONE_NUMBER> ], height=(int)[ 1,<PHONE_NUMBER> ], framerate=(fraction)[ 0/1,<PHONE_NUMBER>/1 ], pixel-aspect-ratio=(fraction)1/1; video/x-raw, width=(int)[ 1,<PHONE_NUMBER> ], height=(int)[ 1,<PHONE_NUMBER> ], framerate=(fraction)[ 0/1,<PHONE_NUMBER>/1 ], pixel-aspect-ratio=(fraction)1/1, format=(string){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32 }
0:00:02.292813365 18401   0x8ce320 WARN                     bin gstbin.c:2832:reset_state:<bin> Failed to switch back down to PAUSED

Indeed, I cannot get any information from the camera:
tcam-ctrl -c 23210037
Available gstreamer-1.0 caps:
EMPTY

Am I missing something?

I just tested on an PI4 with Rasbpian 5.10. It works perfectly, after the tiscamera repository was built and cloned. Maybe you can use 5.10 too? Unfortunately I am guessing into the blue only.

Hi,
I also tested with Raspian 5.10, and also on an Ubuntu 18 Installation now, to no avail, similar response. Is this camera not compatible? Or am I missing an option?

I did the same test 27days ago and my old DMK 41BU02 worked perfectly.  Therefore, there is no incompatibility.
Please make sure, you have enough power. The camera needs the full 500mA provided by USB 2.0. (Ok, the PI4 has USB 3.0, so 900mA must be provided. If there is not enough power, there is a 4 color symbol in the upper right corner).
Also check the USB 2.0 cable.
You may check the UDEV rules, please refer to https://theimagingsource.deskpro.com/de/kb/articles/using-usb-2-0-ccd-cameras-in-linux. But the camera is listed as v4l2 device already.
Does v4l2-ctl --all show something with sense?
Does q4vl2 handle the camera?
If yes, then there is a Gstreamer issue, which I do not know at the moment.
I am very sorry for guessing again, because the camera works fine on my computers: PI4 and PC with Ubuntu 20.04.
Does the camera work on a Windows PC?

Oh, thank you, this brought me on the right track. It was a permission problem!

Very well! I had no idea about the permission on my list....
Ich wünsche Ihnen einen guten Rutsch und ein erfolgreiches 2022!
Stefan


[IPU] bert-base use paddle branch release/2.3

PR types

Others
PR changes

Models
Description

use paddle branch release/2.3
add compilation_progress_logger, print compile progress

@gglin001 Hi Allen, we will release PaddleNLP v2.3 in 5.18. Glad to add IPU support as our new feature.
@guoshengCS Please add BERT IPU support into our v2.3 formal release note before 5.18


attr_buff_override Error

L 06/30/2020 - 14:25:12: [SM] Exception reported: Client 16 is not in game
L 06/30/2020 - 14:25:12: [SM] Blaming: customweaponstf/custom-attribute-adapter/attr_buff_override.smx
L 06/30/2020 - 14:25:12: [SM] Call stack trace:
L 06/30/2020 - 14:25:12: [SM]   [0] IsPlayerAlive
L 06/30/2020 - 14:25:12: [SM]   [1] Line 129, D:\TF2 Testing Server\steamapps\common\Team Fortress 2 Dedicated Server\tf\addons\sourcemod\scripting\attr_buff_override.sp::OnPulseRageBuffPre

Duplicate of #27.


Have Bazel rules for creating shared libraries

Describe the issue
it is possible to build shared libraries with cmake with BUILD_SHARED_LIBS=ON
AFAIK, it is not possible to create them with Bazel.
According to https://ltekieli.com/linux-shared-libraries-with-cmake-and-bazel/
it requires additional cc_shared_library rules to setup up the needed dynamic deps.
The reason why it is important to have this feature setup, it is to allow to build other projects linking with abseil that are exclusively using bazel.
For example, https://github.com/google/tcmalloc is such project.
It currently statically links with abseil. This makes it impossible to build tcmalloc as a shared library and use the resulting so in a project also linking with cmake generated Abseil libraries without breaking the ODR rule.
Being able to build Abseil shared libraries within Bazel is a prerequisite to be able to build tcmalloc shared libraries that can be used with projects already dynamically linking with Abseil.
Steps to reproduce the problem
there is no cc_shared_library rules in abseil BUILD files or if it is possible to create shared libraries, it is not well documented.
I could not find anything on the topic.
What version of Abseil are you using?
20240722 LTS
What operating system and version are you using?
ArchLinux kernel 6.10.4
What compiler and version are you using?
gcc version 14.2.1 20240805 (GCC)
What build system are you using?
bazel 7.2.1
Additional context
No response

I have tried this:
cc_shared_library(
    name = "tcmalloc_shared",
    shared_lib_name = "libtcmalloc.so",
    user_link_flags = ["-Wl,-O1,--sort-common,--as-needed", "-Wl,-soname,libtcmalloc.so"],
    dynamic_deps = [
        "@com_google_absl//absl/base",
        "@com_google_absl//absl/debugging:leak_check",
        "@com_google_absl//absl/debugging:stacktrace",
        "@com_google_absl//absl/debugging:symbolize",
        "@com_google_absl//absl/status",
        "@com_google_absl//absl/status:statusor",
        "@com_google_absl//absl/strings",
        "@com_google_absl//absl/time",
    ],
    deps = [":tcmalloc"],
)

this does not work at all. I receive a bunch of cryptic errors:
ERROR: /nas/cloud/dev/tcmalloc/tcmalloc/BUILD:1498:18: in dynamic_deps attribute of cc_shared_library rule //tcmalloc:tcmalloc_shared: '@@abseil-cpp~//absl/base:base' does not have mandatory providers: 'CcSharedLibraryInfo'
ERROR: /nas/cloud/dev/tcmalloc/tcmalloc/BUILD:1498:18: in dynamic_deps attribute of cc_shared_library rule //tcmalloc:tcmalloc_shared: '@@abseil-cpp~//absl/debugging:leak_check' does not have mandatory providers: 'CcSharedLibraryInfo'
ERROR: /nas/cloud/dev/tcmalloc/tcmalloc/BUILD:1498:18: in dynamic_deps attribute of cc_shared_library rule //tcmalloc:tcmalloc_shared: '@@abseil-cpp~//absl/debugging:stacktrace' does not have mandatory providers: 'CcSharedLibraryInfo'
ERROR: /nas/cloud/dev/tcmalloc/tcmalloc/BUILD:1498:18: in dynamic_deps attribute of cc_shared_library rule //tcmalloc:tcmalloc_shared: '@@abseil-cpp~//absl/debugging:symbolize' does not have mandatory providers: 'CcSharedLibraryInfo'
ERROR: /nas/cloud/dev/tcmalloc/tcmalloc/BUILD:1498:18: in dynamic_deps attribute of cc_shared_library rule //tcmalloc:tcmalloc_shared: '@@abseil-cpp~//absl/status:status' does not have mandatory providers: 'CcSharedLibraryInfo'
ERROR: /nas/cloud/dev/tcmalloc/tcmalloc/BUILD:1498:18: in dynamic_deps attribute of cc_shared_library rule //tcmalloc:tcmalloc_shared: '@@abseil-cpp~//absl/status:statusor' does not have mandatory providers: 'CcSharedLibraryInfo'
ERROR: /nas/cloud/dev/tcmalloc/tcmalloc/BUILD:1498:18: in dynamic_deps attribute of cc_shared_library rule //tcmalloc:tcmalloc_shared: '@@abseil-cpp~//absl/strings:strings' does not have mandatory providers: 'CcSharedLibraryInfo'
ERROR: /nas/cloud/dev/tcmalloc/tcmalloc/BUILD:1498:18: in dynamic_deps attribute of cc_shared_library rule //tcmalloc:tcmalloc_shared: '@@abseil-cpp~//absl/time:time' does not have mandatory providers: 'CcSharedLibraryInfo'
ERROR: /nas/cloud/dev/tcmalloc/tcmalloc/BUILD:1498:18: Analysis of target '//tcmalloc:tcmalloc_shared' failed
ERROR: Analysis of target '//tcmalloc:tcmalloc_shared' failed; build aborted

I have come to the conclusion (maybe incorrectly) that abseil bazel files would need to be modified to support such usage...

I have found this page about bazel C++ rules:
https://bazel.build/reference/be/c-cpp#cc_shared_library
I don't know if Bazel is also a Google creation but IMHO, the reference page lack some details in order to be able to correctly understand how to use these rules appropriately... I feel like I am shooting in the dark with my attempts to use the system to make it do what I want to achieve...


[paconn] Allow client credentials authentication

Use case
As a developer, I want to be able to run paconn from inside my DevOps pipelines. For that, I need to use an AAD Service Principal for authentication, allowing for paconn to run with no user interaction in a transient environment (e.g.: a short-lived Docker container).
Additional context
As of today, paconn only supports device authentication, which requires user interaction - subsequent operations won't prompt for login, but then it requires a persistent environment for caching the token. Support for client credentials authentication would allow running paconn with no user interaction, making it possible to use it in several DevOps solutions (e.g.: ADO, Github Actions, Jenkins, Bamboo and so on).
How it could work
By having an additional --client_secret flag on login command, we could switch from device authentication to client credentials authentication.  In profile.py we could have an additional function, such as:
    def authenticate_client_credentials(self):
        """
        Do some stuff ...
        """
        mgmt_token = context.acquire_token_with_client_credentials(
            resource=self.resource,
            client_id=self.client_id,
            client_secret=self.client_secret)

        """
        Do some more stuff ...
        """

        return credentials.token

And, in auth.py:
        if profile.client_secret:
            credentials = profile.authenticate_client_credentials()
        else:
            credentials = profile.authenticate_device_code()

This would be very nice, however, Flow RP API currently doesn't support Service Principal authentication. The only way which we figured out for publishing custom connectors with client_credentials flow is via packaged solution and deploy via PackageDeployer or similar tools.

@hajekj is correct. Although we are aware of this, currently we don't have a plan to add this scenario at this moment.

@edguer , @hajekj  - If you guys can submit a PR, we can definitely roll that in.

@edguer Thank you again for kicking off this conversation. We have added this to our backlog and will prioritize accordingly.


CIRCULAR REFERENCE:com.orientechnologies.orient.core.exception.OStorageException: Cannot open the storage

OrientDB Version: 3.0
Java Version:
openjdk version "1.8.0_161"
OpenJDK Runtime Environment (build 1.8.0_161-b14)
OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)
I followed the documentation of OrientDB 3.0.0 to create a new DB using Scala API:
val uri: String = "remote:XXX.XX.XX.XX/database/GRAPH_TEST"
val username: String = "root"
val password: String = "123"
val uri: String = "plocal:target/database/scala_sample"
val factory: OrientGraphFactory = new OrientGraphFactory(uri,username,password)
val graph: OrientGraph = factory.getTx()

But I get this error:

[CIRCULAR REFERENCE:com.orientechnologies.orient.core.exception.OStorageException: Cannot open the storage 'GRAPH_TEST' because it does not exist in path: /root/opt/orientdb/databases/GRAPH_TEST]

@LianaNapalkova do you recall what the resolution to this issue was?


Pilot 1.1: concurrent map read and map write - release-1.1-20181109-09-15

Pilot encounters the following error under load.
Service.GetServiceAddressForProxy() reads from Service.ClusterVIPs map
and aggregate/controller.Services() updates it with new ClusterID address.
2018-11-12T11:45:43.440637Z     info    ads     LDS: PUSH for node:svc07-0-6-688c999899-nmnpf.service-graph07 addr:"<IP_ADDRESS>:58998" listeners:116 207398
fatal error: concurrent map read and map write

goroutine 42888 [running]:
runtime.throw(0x1ad307e, 0x21)
        /usr/local/Cellar/go/1.10/libexec/src/runtime/panic.go:619 +0x81 fp=0xc42e545e20 sp=0xc42e545e00 pc=0x42b381
runtime.mapaccess1_faststr(0x1847d40, 0xc421c41980, 0x1ab0830, 0xa, 0xc421927b88)
        /usr/local/Cellar/go/1.10/libexec/src/runtime/hashmap_fast.go:181 +0x421 fp=0xc42e545e90 sp=0xc42e545e20 pc=0x40ad91
istio.io/istio/pilot/pkg/model.model.Service.GetServiceAddressForProxy(...)
        /Volumes/Untitled/mjog/GOHOME/src/istio.io/istio/pilot/pkg/model/service.go:903
istio.io/istio/pilot/pkg/networking/core/v1alpha3.generateVirtualHostDomains(0xc433194d10, 0x3a9c, 0xc43dd48360, 0x2, 0x2, 0xc431e4f240)
        /Volumes/Untitled/mjog/GOHOME/src/istio.io/istio/pilot/pkg/networking/core/v1alpha3/httproute.go:191 +0x5d2 fp=0xc42e546040 sp=0xc42e545e90 pc=0x14bb8d2
istio.io/istio/pilot/pkg/networking/core/v1alpha3.(*ConfigGeneratorImpl).buildSidecarOutboundHTTPRouteConfig(0xc4201f14a0, 0xc4200dd0e0, 0xc43dd48360, 0xc43b11cb60, 0xc436db8240, 0x1, 0x1, 0xc42908d000, 0x123, 0x200, ...)
        /Volumes/Untitled/mjog/GOHOME/src/istio.io/istio/pilot/pkg/networking/core/v1alpha3/httproute.go:148 +0xbaa fp=0xc42e546740 sp=0xc42e546040 pc=0x14bac7a
istio.io/istio/pilot/pkg/networking/core/v1alpha3.(*ConfigGeneratorImpl).BuildHTTPRoutes(0xc4201f14a0, 0xc4200dd0e0, 0xc43dd48360, 0xc43b11cb60, 0xc425d58134, 0x5, 0xc42000ade0, 0x19d7b60, 0xc433488d60)

@rshriram @costinm

/assign
I can fix it.

How do you plan to fix it ?

Adding more locks or using concurrent hash map seem like obvious choices..., but not the best ones.

I plan to add a RW lock.

This is still an issue, I missed a spot in the last code review....
When object is constructed in buildSidecarOutboundHTTPRouteConfig the map reference is copied, so there is no unique lock protecting access to the clusterVIP map.

This is fixed by #10031 and #9952


[hotFix] Fix typo in HiveMetadataWriter

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[ ] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-XXX

Description

[ ] Here are some details about my PR, including screenshots (if applicable):

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:
build pass

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #3332 (d103e63) into master (00eb1f7) will decrease coverage by 2.60%.
The diff coverage is 57.80%.

@@             Coverage Diff              @@
##             master    #3332      +/-   ##
============================================
- Coverage     45.61%   43.01%   -2.61%
+ Complexity     8970     1939    -7031
============================================
  Files          1902      394    -1508
  Lines         71296    16875   -54421
  Branches       7862     2075    -5787
============================================
- Hits          32522     7258   -25264
+ Misses        35781     8815   -26966
+ Partials       2993      802    -2191

Impacted Files
Coverage Δ

...n/java/org/apache/gobblin/cli/CliTablePrinter.java
0.00% <ø> (ø)

...a/org/apache/gobblin/aws/GobblinAWSTaskRunner.java
0.00% <ø> (ø)

...gobblin/cluster/ContainerHealthCheckException.java
0.00% <0.00%> (ø)

...apache/gobblin/cluster/ContainerHealthMetrics.java
0.00% <ø> (ø)

...bblin/cluster/GobblinClusterConfigurationKeys.java
0.00% <ø> (ø)

.../gobblin/cluster/GobblinClusterMetricTagNames.java
0.00% <ø> (ø)

...er/GobblinHelixDistributeJobExecutionLauncher.java
57.93% <0.00%> (ø)

...va/org/apache/gobblin/cluster/GobblinHelixJob.java
0.00% <0.00%> (ø)

.../gobblin/cluster/GobblinHelixMessagingService.java
63.04% <0.00%> (-2.13%)
:arrow_down:

...pache/gobblin/cluster/GobblinHelixTaskMetrics.java
97.61% <ø> (ø)

... and 1557 more

Continue to review full report at Codecov.

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


feat: cli password from stdin

Codecov Report

Merging #11 (f38c117) into main (23eca40) will decrease coverage by 1.06%.
The diff coverage is 11.76%.

@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
- Coverage   20.95%   19.88%   -1.07%
==========================================
  Files           6        6
  Lines         167      181      +14
==========================================
+ Hits           35       36       +1
- Misses        132      145      +13

Impacted Files
Coverage Δ

crates/chamber-cli/src/app.rs
0.00% <0.00%> (ø)

crates/chamber-cli/src/args.rs
75.00% <33.33%> (+0.80%)
:arrow_up:

crates/chamber-core/src/lib.rs
7.24% <0.00%> (-0.45%)
:arrow_down:

Continue to review full report at Codecov.

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


chore: try to fix the 404 page

plz don't take this seriously, this is my initial attempt to fix the 404 page

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.192%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5259

Relevant Lines:
5562

💛  - Coveralls


star64: init

Description of changes
Mostly based on the visionfive 2 config.
No GPU yet.
Sample image built directly on the board: https://app.cachix.org/api/v1/cache/fgaz/serve/hj72i7znp0rvc4dxs2xslw6b3ik3wifb/sd-image/nixos-sd-image-23.11pre-git-riscv64-linux-pine64-star64.img.zst (8GB RAM, user/pw: nixos)
Things done

[x] Tested the changes in your own NixOS Configuration
[x] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input

bors merge


Readme improvements

Just some minor formatting changes and re-wording.

Just some minor formatting changes and re-wording.

Pretty sure I put this on cdb, if you want to link that


selected category gets removed from the search in RTL

Bug report
Title
selected category gets removed from the search in RTL
Issue Description
selected category gets removed from the search in RTL
Preconditions
1. framework Version- master

Steps to reproduce
1. step1- set the locale in RTL and open shop view
2. step2- from the search bar, selected any category

Expected result
the selected category should remain selected
Actual result

fixed


Filter inheritance

The filter inheritance section states

Higher-level filters continue to apply at lower levels, which means that higher-level draw parameters will be inherited by lower levels, unless the lower level explicitly overrides it.

I originally thought this was wrong about the use of overrides for where additional filters apply additional criteria. Now I see it's talking about the draw parameters, which is confusing in this context.

Can you explain your first interpretation of this section? Familiarity makes these things harder to see from fresh perspectives.

I guess the question is if the "unless the lower level explicitly overrides it" clause applies to the "Higher-level filters continue to apply at lower levels" or "which means that higher-level draw parameters will be inherited by lower levels" clause.
My experience tells me that it applies to the second clause, which is what Tangram actually does. I think this is backed up by a strict parsing of the sentence, but I'm not 100% sure. It should be clearer.


update compose-go to 2.4.3

Update compose-go 2.4.3

Withdrawing PR, better option to create a PR against compose-go repo.


Car racing (Ideation)

Make a new folder in games directory and add Markdown file with idea

@aritra1804 Assigned


SampleHolder small changes

Few things have been changed:

insert reduction wrapped with the usual EntityReference subclass
material -> holder_material
substrate_holder label
insert_reduction reference is now included in the FilledSubstrateHolder, as it is not usually lodged in an empty one

Looks good except for the name of the class

Definitely, it was an overlook from my side.
Thanks for quick review, i'm gonna merge it now


Prevent av commit amend and av commit create for merged branches …

…#312
Todo

[ ] add tests
[x] sync branch state before checking

Unsure how best to test this given it uses the github api. I have at least made sure that the commands pass the tests by not blocking the command if UpdatePullRequestState fails, this also ensures the CLI can be used offline


adds support for appregistry

Brought back the old make ocs-registry which build ocs-registry in appregistry format.
We can still use make operator-bundle and make operator-index to use the new format.
All CI and Build scripts will use appregistry format by default.

/test images

/retest

/override ci/prow/ocs-operator-e2e-aws

/override ci/prow/images


filter zero-valued notes from spendable note set

zero-valued notes should not be in spendable note record (SNR) set, since it may cause a transaction to fail. see https://github.com/penumbra-zone/penumbra/issues/2135 and https://github.com/penumbra-zone/penumbra/issues/2142
currently, we filter them out in the wasm planner, but it's probably better to just not include them in the SNR in the first place.

https://github.com/penumbra-zone/web/assets/70081547/2ab01352-33f7-41db-bf70-ffc51067a339

I have already attempted to filter out zero-valued notes before saving them in the IDB. The issue is that we require zero-valued notes to display some transaction actions
https://github.com/penumbra-zone/web/pull/1138#issue-2308672184

I have already attempted to filter out zero-valued notes before saving them in the IDB. The issue is that we require zero-valued notes to display some transaction actions

https://github.com/penumbra-zone/web/blob/main/packages/wasm/crate/src/planner.rs#L500 defaults to the 3rd option: "Save zero notes, but filter them only on retrieval where necessary". Can we close out this issue?

I think we can close this issue for now


RANGE type unsupported

Hi @goccy, support for the RANGE data type was added in this commit https://github.com/google/zetasql/commit/5133c6e373a3f67f7f40b0619a2913c3fcab8171
It'd be great to update the mirrored source code and bindings to use a new version of zetasql. There are other improvements that have been made that would make some things in go-zetasqlite nicer.
What is the process for updating the mirrored source and bindings?

I was able to get the new source by running make build && make export && make update in internal/cmd/updater
The internal/cmd/updater/Dockerfile needed to be updated:
FROM golang:1.21-bookworm

RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certificates gnupg
RUN curl https://bazel.build/bazel-release.pub.gpg | apt-key add -
RUN echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list
RUN apt-get update && apt-get install --no-install-recommends -y make g++ git python3 openjdk-17-jdk unzip
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 100
RUN go install github.com/bazelbuild/bazelisk@latest

COPY zetasql /zetasql

WORKDIR /zetasql

RUN BAZEL_CXXOPTS="-std=c++17" bazelisk build '//zetasql/public:sql_formatter'

COPY export.sh export.sh

@goccy Are the YAMLs for bridge.yaml, config.yaml, imports.yaml written by hand?


I am a picky person

as discussed on chat + License fix

Merged.
Thanks especially for the license fix!


Add an optional Google Tag Manager container to the "Cookie House" sample app

Is your feature request related to a specific problem?
For testing the fides.js Google Tag Manager (GTM) integration (aka window.Fides.gtm()), it'd be useful to have GTM set up in the sample application for manual & automated testing. This is similar to #3277 - the more "realistic" we can make the Cookie House, the better it will be as a testbed for us.
Describe the solution you'd like
I'd like an optional environment variable, FIDES_SAMPLE_APP___GOOGLE_TAG_MANAGER_CONTAINER_ID that defaults to null. If set, we should include the tag manager <script> in the head of the sample app (see https://developers.google.com/tag-platform/tag-manager/web)

Hah, good news: this is literally already implemented here: https://github.com/ethyca/fides/pull/2949, just needs to be brought up-to-date with the clients refactor.

moving to done


add controlnet lora support

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


Persist data/settings after quit

[ ] Settings menu options

[x] filepath
[x] patch range with drop-down selection (data validation)
[ ] custom expiration of data
[ ] User can force clear cache

[x] Save frequent API calls

[x] Hero stats (population data)
[x] player stats

[x] most recent game displayed, never refresh (i.e. show empty screen when game finishes)

Remaining tasks are unnecessary.


Proxy server configuration

Can you add an option to specify a proxy server instead of just using the default system proxy?
Can I specify this on command line when starting ModernDeck?
https://www.electronjs.org/docs/latest/api/command-line-switches

Sounds like a good thing to add to the app, thanks for the suggestion!


Maya: Vray fix proxies look assignment

Fix
Fix problems with look assignment and scene with vray proxies. Fixing Get All Assets functionality.
There was a bug when there were vray proxies with alembics and vrmeshes combined loaded in scene, that look assigner failed during applying the look. This fix is also restoring functionality of Get All Assets button.
How to test:
Load into scene vray proxy published with OpenPype - that one should be in abc format. Load some vrmeshes manually via vray menu and try to apply look to some of the loaded proxies. Look should be applied correctly. Also - Get All Assets button in look assigner should return all loaded assets (list was previously empty due to the bug).
Close #2231

Task linked: OP-2016 Maya: Vray - handle vrmeshes in look assignment

Added more fixes.

Task linked: OP-2022 Updating Looks fails if vrmesh is in scene

It should be fixed now


runAfter code completion adds "null" as name

The code completion for runAfter adds null as the name of the task:

It should be either an empty string or something like "taskName"

Fixed with https://github.com/redhat-developer/yaml-language-server/pull/277


Hookshot not rendering properly on screen

Bug Report
Description
When using any Terra component that utilizes the Hookshot component, it appears that it does not:

translate to the proper location on the screen
render the proper styles from the scss (including z-index)

This has been noticed across the Application Navigation & Select components:

See image above from Application Navigation
From some initial investigation, it appears that other Terra components are having their styles properly imported, as the Select component is functional with the Dropdown styles and Dialog windows are functional with their respective styles. Additionally, the exported css-loader code can be seen in the Debugger tab under the Hookshot folder, yet it is the only style that does not seem to be passed along (this is confirmed by doing an inspection of the page and seeing all other styles with the exception of the HookstotContent_module__* CSS.
I presume that this is an issue with the Webpack configuration and how it is handling the different imports. Our project is utilizing Rails with a React front-end. We are also using TypeScript, and have been declaring custom typing modules for the Terra Components -- to the best of our knowledge, this is not causing the issue, as this issue only occurs with some Terra components and not all. I will attach a copy of the config files below to see if there is anything glaring.
Steps to Reproduce

Include component with a Hookshot dependency
Use component
Notice Hookshot styles not being utilized

Additional Context / Screenshots
Application Navigation SCSS included properly:

Hookshot on same element/inspection window not being displayed:

Webpack Config:
// Note: Rest can be found with @rails/webpacker default config
const { environment } = require('@rails/webpacker');

environment.loaders.append('typescript', {
    test: /.(ts|tsx)$/,
    loader: 'ts-loader'
});

environment.config.merge({
    performance: {
        maxEntrypointSize: 512000,
        maxAssetSize: 512000,
    }
});

module.exports = environment

Sample Render:
// Note: Not using Terra-Base due to another issue Terra-i18n -- assuming similar Webpack issue could be causing this
render(
    <IntlProvider
      locale="en"
      messages={messages}
    >
          <ApplicationNavigation
          id="admin-header"
          titleConfig={adminTitleConfig}
          userConfig={currentUserConfig}
          activeNavigationItemKey={currentUser?.userType ? route : "configuration"}
          navigationItems={
            currentUser?.userType === "system"
              ? systemAdminNavigationItems
              : contentAdminNavigationItems
          }
          onSelectNavigationItem={handleSelectNavigationItem}
          onSelectLogout={() => logUserOut()}
        >
          <Configuration />
        </ApplicationNavigation>
    </IntlProvider>,
    document.body.appendChild(container)
  );

Expected Behavior
When using the Hookshot, it should render properly.
Possible Solution
Currently, my best guess would be a Webpack issue, so if you have any input on how to better configure a Rails application for use with Terra, that would be incredibly helpful!
Environment

Component Name and Version: Hootshot
Browser Name and Version: Firefox@latest
Node/npm Version: Node v16.13.0, yarn v1.22.17
Webpack Version: 4.46.0

Hello, and thanks for posting. We appreciate such a detailed issue report.
My team took a look at your issue, and the first thing we noticed is that the examples of hookshot in action, which are running our latest code, appear to be styling and rendering correctly.  Since our examples seem to be working correctly, and since we have not received any other reports of this bug from our many users of this lib (it's used quite widely in our software stack here at Cerner), we think  the issue is probably with the config and asset setup - as you mentioned in your report.
Here is the tricky part - Your setup of using @rails/webpacker and a custom webpack config, while not wrong, is something we can't debug ourselves. What we can help you troubleshoot with is using our standard webpack config that we support people extending (that getting started page links to the webpack config we support in more detail).  My idea for the next thing you should try would be making a new, empty project that extends our standard webpack config and see if you are still having the same problem. If you do, then we can help you investigate further from more of a common ground.
If you have questions about trying the standard webpack config idea let us know. Also, if you have any questions about the hookshot examples feel free to ask!
Hope this helps.

Hi, thanks for the speedy response! I took your advice and spun off a new branch to play with the config. After installing the @cerner/webpack-config-terra package, I merged it in with the default @rails/webpack config and got this:
{
  mode: 'development',
  output: {
    filename: '[name].js',
    chunkFilename: '[name].js',
    hotUpdateChunkFilename: 'js/[id]-[hash].hot-update.js',
    path: '/Users/cjgood/my-care-team/build',
    publicPath: ''
  },
  resolve: {
    extensions: [
      '.tsx',         '.ts',
      '.mjs',         '.js',
      '.sass',        '.scss',
      '.css',         '.module.sass',
      '.module.scss', '.module.css',
      '.png',         '.svg',
      '.gif',         '.jpeg',
      '.jpg',         '.js',
      '.jsx'
    ],
    plugins: [ [Object] ],
    modules: [
      '/Users/cjgood/my-care-team/app/javascript',
      '/Users/cjgood/my-care-team/app/assets',
      '/Users/cjgood/my-care-team/app/javascript/models',
      'node_modules',
      'node_modules',
      'aggregated-translations'
    ],
    mainFields: [ 'browser', 'main' ]
  },
  resolveLoader: {
    modules: [ 'node_modules', '/Users/cjgood/my-care-team/node_modules' ],
    plugins: [ [Object] ]
  },
  node: {
    dgram: 'empty',
    fs: 'empty',
    net: 'empty',
    tls: 'empty',
    child_process: 'empty'
  },
  devtool: 'eval-source-map',
  stats: { children: false },
  bail: true,
  optimization: { minimizer: [ [TerserPlugin] ] },
  performance: { maxEntrypointSize: 512000, maxAssetSize: 512000 },
  entry: {
    'admin/Configuration': '/Users/cjgood/my-care-team/app/javascript/packs/admin/Configuration.tsx',
    'admin/Home': '/Users/cjgood/my-care-team/app/javascript/packs/admin/Home.tsx',
    'admin/Index': '/Users/cjgood/my-care-team/app/javascript/packs/admin/Index.tsx',
    'admin/LogIn': '/Users/cjgood/my-care-team/app/javascript/packs/admin/LogIn.tsx',
    'admin/Providers': '/Users/cjgood/my-care-team/app/javascript/packs/admin/Providers.tsx',
    'admin/Reset': '/Users/cjgood/my-care-team/app/javascript/packs/admin/Reset.tsx',
    'admin/Users': '/Users/cjgood/my-care-team/app/javascript/packs/admin/Users.tsx',
    'admin/Welcome': '/Users/cjgood/my-care-team/app/javascript/packs/admin/Welcome.tsx',
    application: '/Users/cjgood/my-care-team/app/javascript/packs/application.js',
    'mycareteam/AddProvider': '/Users/cjgood/my-care-team/app/javascript/packs/mycareteam/AddProvider.tsx',
    'mycareteam/Index': '/Users/cjgood/my-care-team/app/javascript/packs/mycareteam/Index.tsx',
    'mycareteam/InitialAdd': '/Users/cjgood/my-care-team/app/javascript/packs/mycareteam/InitialAdd.tsx',
    'mycareteam/Profile': '/Users/cjgood/my-care-team/app/javascript/packs/mycareteam/Profile.tsx',
    'mycareteam/Scanner': '/Users/cjgood/my-care-team/app/javascript/packs/mycareteam/Scanner.tsx',
    'mycareteam/Search': '/Users/cjgood/my-care-team/app/javascript/packs/mycareteam/Search.tsx',
    'mycareteam/Welcome': '/Users/cjgood/my-care-team/app/javascript/packs/mycareteam/Welcome.tsx',
    'utils/createStyled': '/Users/cjgood/my-care-team/app/javascript/packs/utils/createStyled.ts'
  },
  module: {
    strictExportPresence: true,
    rules: [
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object]
    ]
  },
  plugins: [
    EnvironmentPlugin { keys: [Array], defaultValues: [Object] },
    CaseSensitivePathsPlugin {
      options: {},
      logger: [Object [console]],
      pathCache: Map(0) {},
      fsOperations: 0,
      primed: false
    },
    MiniCssExtractPlugin { options: [Object] },
    WebpackAssetsManifest {
      hooks: [Object],
      options: [Object],
      assets: [Object: null prototype] {},
      assetNames: Map(0) {},
      currentAsset: null,
      compiler: null,
      stats: null,
      hmrRegex: null,
      [Symbol(isMerging)]: false
    },
    CompressionPlugin {
      options: [Object],
      algorithm: [Function: asyncBufferWrapper],
      compressionOptions: [Object]
    },
    CompressionPlugin {
      options: [Object],
      algorithm: [Function: asyncBufferWrapper],
      compressionOptions: [Object]
    },
    OptimizeCssAssetsWebpackPlugin {
      pluginDescriptor: [Object],
      options: [Object],
      phaseAssetProcessors: [Object],
      deleteAssetsMap: {}
    },
    MiniCssExtractPlugin {
      _sortedModulesCache: [WeakMap],
      options: [Object],
      runtimeOptions: [Object]
    },
    PostCSSAssetsPlugin {
      test: /\.css$/,
      plugins: [Array],
      log: [Function (anonymous)]
    },
    DuplicatePackageCheckerPlugin { options: [Object] },
    DefinePlugin { definitions: [Object] }
  ],
  devServer: {
    host: '<IP_ADDRESS>',
    publicPath: '',
    stats: { colors: true, children: false }
  }
}
[terra-aggregate-translations] Aggregating translations for en,en-AU,en-CA,en-US,en-GB,es,es-US,es-ES,de,fr,fr-FR,nl,nl-BE,pt,pt-BR,sv,sv-SE locales.

For some reason though, I am getting this error from source-map:
    at Object.getArg (/Users/cjgood/my-care-team/node_modules/source-map/lib/util.js:24:11)```

Do you have any advice on how to proceed? I will also attach the script that is merging these two:

// config/webpack/production.js
process.env.NODE_ENV = process.env.NODE_ENV || 'production'
const environment = require('./environment')
const { merge } = require('webpack-merge')
const defaultTerraConfig = require('@cerner/webpack-config-terra')
console.log(defaultTerraConfig())
console.log(environment.toWebpackConfig())
const mergedConfigs = merge(environment.toWebpackConfig(), defaultTerraConfig())
console.log(mergedConfigs)
module.exports = merge(environment.toWebpackConfig(), defaultTerraConfig())

Additionally, for completeness' sake, when I run this (reversing the order for merging), I get this error for each Terra Component:
ERROR in ./node_modules/terra-visually-hidden-text/lib/VisuallyHiddenText.module.scss (./node_modules/css-loader/dist/cjs.js??ref--4-oneOf-1-1!./node_modules/postcss-loader/src??ref--4-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--4-oneOf-1-3!./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js??ref--9-1!./node_modules/postcss-loader/src??ref--9-2!./node_modules/sass-loader/dist/cjs.js??ref--9-3!./node_modules/terra-visually-hidden-text/lib/VisuallyHiddenText.module.scss)
    Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
    SassError: expected "{".
      ╷
    1 │ import api from "!../../style-loader/dist/runtime/injectStylesIntoStyleTag.js";
      │                                                                               ^
      ╵
      node_modules/terra-visually-hidden-text/lib/VisuallyHiddenText.module.scss 1:79  root stylesheet

// config/webpack/production.js
process.env.NODE_ENV = process.env.NODE_ENV || 'production'
const environment = require('./environment')
const { merge } = require('webpack-merge')
const defaultTerraConfig = require('@cerner/webpack-config-terra')
const themeConfig = { theme: 'terra-dark-theme' }
const mergedConfig = merge(
defaultTerraConfig({}, {}, {themeConfig}),
environment.toWebpackConfig()
)
console.log(mergedConfig)
module.exports = mergedConfig;

I'm assuming this is then one step closer, as the errors are shifting a bit, but not sure what to change to resolve this one. I did try and change the version of `sass-loader`, but that didn't yield any promising results.

Hi again, so I made a little more progress on a dummy application (https://github.com/Csgoodjr/terra-rails)
I implemented the Terra-Form-Select component and was able to get it to properly compile and run with TypeScript and all; however, I am still seeing the same issue as before.
Feel free to give this a run and let me know what you think -- it is using the default Webpack-Terra-Config as well.
Getting Started:

Clone Repo
Run yarn build
Navigate to localhost:3000/test in your browser
You should then be able to see the Terra component on the screen

Note: The issue we are seeing causes the Terra-Hookshot component to render unexpectedly on the page (even when setting the position style of the page to fixed). It can also be observed that the translations do not seem to be working properly either. This was also observed before TypeScript was added as well.

I tried cloning and building your project, but hit this error:
ERROR in ./app/javascript/packs/hello_react.tsx
Module build failed (from ./node_modules/ts-loader/index.js):
Error: A file specified in tsconfig.json could not be found: /Users/eh012472/Code/terra-rails/app/assets/javascripts/*.tsx
    at Object.loader (/Users/eh012472/Code/terra-rails/node_modules/ts-loader/dist/index.js:18:18)

error Command failed with exit code 1.

and indeed, I think you are referencing a non-existent dir:

I think if you investigate/fix this error we'll be a bit closer to the root cause of the problems.

Would it be possible to get a typical config with Rails and Webpacker for a Terra project? I keep running into build issues and then issues serving up that build.

I'll check with my team this morning to see what we've got handy.

First, the bad news: I spoke with my team, and we don't have any examples of using Terra with webpacker/rails since the terra project tries to be neutral about how it is integrated into various popular web frameworks (Rails, Django, etc.).
The good news (kinda?), is that there is no reason to think you can't use Terra with webpacker/rails. In theory it can work fine - we just don't have a best practice we can refer you to. In theory - and I know this is cold comfort to you - it can work just fine to integrate Terra with your stack.
Bonus: I have gotten my hands on a sample empty project showing how to configure Terra in a "Hello, world!" fashion. I will post it back to you, but since it's company code (not open source) here at Cerner, it will take me some time to redact it and get it suitable to share. Once I have it, I will post back the relevant bits.
This is shown my team we have a gap in our documentation - that we don't do a very good job of showing a person who they can go from zero to "Hello, Terra!". Now that we know this, my goal is to turn the internal info I'm going to share with you on this thread into an update to our doc site (terra-ui.com) that will serve as a guide for our future users.
I expect I'll have this "Hello, world" example posted back to you early next week. Stay tuned until then 😄 .

OK slight change in plan: the code I thought would be a good example turned out to be highly confusing once I redacted out each of the proprietary bits.
Instead, if you are still interested in getting a webpack config for Terra up and running take a look at this page: https://engineering.cerner.com/terra-dev-site/dev_tools/terra-dev-site/terra-dev-site/about
It's a bit meta, but that above page is a how-to guide for how to use Terra + webpack to spin up that very same site. Give it a try and see if that gets you to a working state; a site running using webpack and terra, and which will be rendering static content.
Please let me know how it goes.

After reviewing this page, it still doesn't seem like this is what we are asking for/need to integrate Terra into our site. From that working example, would it be possible to only get the config/webpack/environment.js and config/webpack/production.js files? Those are the only two files that we really need to make Terra Hookshot work in our Rails environment.

Hmmm, I'm not following. Best I can do is link you to the actual wepack config file for that project. If this doesn't help, then I'm out of steps to try. Lemme know and I can bring in another set of eyes who might be able to help.
https://github.com/cerner/terra-application/blob/main/webpack.config.js

Closing due to lack of activity. This can be re-opened if you have more questions.


Cannot find ckpt from None

im have this error when running testing python test.py --cfg_path="./configs/arc_res50.yaml" , im already put the pretrained model checkpoint  on checkpoints folder and i just read closed issue but i still cant understand it , can u guys explain to me how to solve this problem?

Yes, you have to specify a sub_folder in the yaml file that either contains a .cpkt or an empty one to start from 0

im have this error when running testing python test.py --cfg_path="./configs/arc_res50.yaml" , im already put the pretrained model checkpoint on checkpoints folder and i just read closed issue but i still cant understand it , can u guys explain to me how to solve this problem?

you have to specify a subfolder name "sub_name" in the yaml file that does contain a cpkt or an empty folder if you want to start from 0. In both cases the folder has to exist inside the checkpoint path


use eact-native-facebook-login to request publish permissions

Hi all,
Has anyone been able to request publish permission using this project successfully, after user logs in and read permissions are asked?
I am requesting read permission at the user login using code below:
return (
      <FBLogin
        ref={(fbLogin) => { this.fbLogin = fbLogin }}
        permissions={["email","public_profile","user_location","user_hometown","user_birthday","user_about_me","user_friends","user_likes","pages_show_list","user_education_history","user_work_history"]}
        loginBehavior={FBLoginManager.LoginBehaviors.Native}
        onLogin={function(data){
            _this.props.onLogin(data.credentials.token, _this.props.navigator);
        }}
        onLogout={function(){
            _this.props.onLogout(_this.props.navigator);
        }}
        onError={function(data){
        }}

      />
    );

And then in another file, I am trying to request publish permission like this:
var {FBLogin, FBLoginManager} = require('react-native-facebook-login');
...
FBLoginManager.loginWithPublishPermissions(["publish_actions"],function(error, data){
                if (!error) {
                    console.log("Login data: ", data);
                } else {
                    console.log("Error: ", error);
                }
                });

And this is the result:

Please help if you know what needs to be done.
Cheers.

@saeed2402 There is no method for loginWithPublishPermission that this package exports.
Currently the package wraps only the native logInWithReadPermissions.

in v2.12 there is now LoginManager.logInWithPublishPermissions


fix client use sub-protocol (Sec-WebSocket-Protocol), server accept response message error

when websocket client  connect to server , with sub protocol,   server response 101,  should has header Sec-WebSocket-Protocol

Currently there is no api to support/handle Websocket Sub-protocols, so I think we can not agree to something that's currently not implemented. Can you describe your use case or problem? I can put Sub-protocol (server+client) support to the roadmap or maybe you can extend this PR (that would be a nice feature).

steps to test:

use re library write an simple websocket server, listen on port 5000
use chrome browser as client,  F12 open console, input
ws = new WebSocket('ws://<IP_ADDRESS>:5000', 'aa')    // sub-protocol
'aa',   when server response 101,  chrome will close websocket connection
ws = new WebSocket('ws://<IP_ADDRESS>:5000')     // without sub-protocol,
all things work right
ws.send('hello')    // send message

when client has sub-protol,  request message has the head
'Sec-WebSocket-Protocol': 'aa',
server side 101 response message, also should has this head, Otherwise
negotiation fails.
Sebastian Reimers @.***> 于2021年4月2日周五 上午12:32写道：

Currently there is no api to support/handle Websocket Sub-protocols, so I
think we can not agree to something that's currently not implemented. Can
you describe your use case or problem? I can put Sub-protocol
(server+client) support to the roadmap or maybe you can extend this PR
(that would be a nice feature).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/baresip/re/pull/91#issuecomment-812026183, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADANAVQY4A2UMRZNG5UN3C3TGSNZFANCNFSM42HIYCNA
.

@sreimers hi,  I see the re code , websocket  client connect api,  websock_connect,  should also add  an sub_protocol param,
which will add the header 'Sec-WebSocket-Protocol'.   i will add this change.

@sreimers  I use chrome console to test this feature.   If use  re  library websocket client api  websock_connect() to connect to server,   should  add  the header the head 'Sec-WebSocket-Protocol'.

err = websock_connect(&test.wc_cli, test.ws,
			      http_cli, uri, 0,
			      cli_websock_estab_handler,
			      cli_websock_recv_handler,
			      cli_websock_close_handler, &test,
			      "User-Agent: %s\r\nSec-WebSocket-Protocol:%s\r\n", custom_useragent,  sub_proto);

Your workaround accepts any value of subprotocol and does not check if its really supported.
The RFC says:
This enables scripts to both select a subprotocol and be sure that the server agreed to serve that subprotocol.

Accepting a subprotocol is only useful if there is full support and a selection mechanism, one use case could be api versioning:
ws = new WebSocket('ws://<IP_ADDRESS>:5000', 'v1')
ws = new WebSocket('ws://<IP_ADDRESS>:5000', 'v2')

But at the moment there is no way to specify and select which subprotocol is implemented by the websocket server.
If you need only multiple websocket endpoints you can use path:
 ws = new WebSocket('ws://<IP_ADDRESS>:5000/chat')
 ws = new WebSocket('ws://<IP_ADDRESS>:5000/ping')

This enables scripts to both select a subprotocol and be sure that the server agreed to serve that subprotocol.

@sreimers  I think it mean before accept client connection,   can check the sub-protocol , to select deny or accept.   The logic should do by app
// get sub-protocol from request headers
// and check sub-protocol
if sub-protocol !='xx'
    deny
else
websock_accept()

webscoket server sample code,   only  allow sub-protocol 'aa'
static void http_req_handler(struct http_conn *conn,
			     const struct http_msg *msg, void *arg)
{
	int err;

    struct websock_conn *wc = NULL;

    /*
	TEST_ASSERT(http_msg_hdr_has_value(msg, HTTP_HDR_USER_AGENT,
					   custom_useragent));
    */
    fprintf(stderr, "path is %.*s\n", (int)msg->path.l, msg->path.p);
    const struct http_hdr *sub_proto_hdr = http_msg_hdr(msg, HTTP_HDR_SEC_WEBSOCKET_PROTOCOL);
    if (!sub_proto_hdr)
    {
        fprintf(stderr, "No sec-websocket-protocol\n");
        http_conn_close(conn);
        return;
    }
    fprintf(stderr, "sec-websocket-protocol is %.*s\n", (int)sub_proto_hdr->val.l, sub_proto_hdr->val.p);
    if (pl_strcasecmp(&sub_proto_hdr->val, "aa"))
    {
        fprintf(stderr, "sub proto is not aa\n");
        http_conn_close(conn);
        return;
    }

    err = websock_accept(&wc, ws, conn, msg,
                         0, srv_websock_recv_handler,
                         srv_websock_close_handler, wc);
    if (err)
    {
        fprintf(stderr, "accept new websock fail, err:%d\n", err);
    }
}

I have added Websocket sub-protocol support to roadmap.