Changing dark/ bright

Hello,
what do you guys think about changing current dark/ bright to an algorithm based color.
This way you could see a difference between 1, 4, 6 and 100 unique Orders.
Currently 1=4 and 6=100.
Additionally if we touch this, we should think about making it readable for people with red-green issue
Thanks and Greets
Theimo
Edit: Needed Tasks

[x] create a button that changes the color coding to something that red/green color-blind people can use
[x] implemented color based on unique orders in #37
[ ] discuss continuous dark/ bright vs slider with border

Hmm I know you closed this but it's an interesting idea @theimo1221, although I would take it a bit differently. Here's what I think.
I want to have a slider of sorts (I think this would be a Plotly callback) with which the user can control the parameter that changes the coloring. I.e. the default is 5, but they can change it to 10 which would then make it so that only price points with 10 or more unique orders are colored with the bright red / bright green.

[ ] create a button that changes the color coding to something that red/green color-blind people can use
[ ] create a slider or other input method by which users can control what number of orders they want to color-sort by (this would need to be something that is distinct for EACH currency pair.

@theimo1221  adding these next steps for this issue.

It´s not closed, I just referenced this from a closed issue.
I partly disagree with the slider.  We have to consider how much influence the visitor has on the Dash App, cause he changes data/ settings for other users as well, if it´s hosted from us.

In #37 I added the color based on unique orders and inverted dark/ bright to highlight the "bad boys"
If you are comfortable with changes in #37 you can close this issue after merge.

Closed cause of #41 was approved


Class:OrganisationalUnitIdentifier

Parent
OrganisationalUnit

Definition
Identifier used to refer to the organisational unit responsible for the care and management of the collection described by the record. The fields in this class describe the insitutional affiliation for the physical collection.

Repeatable
Yes

Relationships
OrganisationalUnit (1 to many) <-> OrganisationalUnitIdentifier (1 to many)

Potential standards/vocabularies/ontologies to adopt

Notes

Closed as replaced by generic Identifier class


Remove WPLANG

WPLANG has been deprecated since WP 4.0, which is four major releases ago. New installs with WPStarter shouldn't even consider using this, so I suggest it is removed.

Thanks @GaryJones done with 2f5e21c in dev branch, will be merged soon.


I have created a branch, created a file and made a commit, and opened a pull request

No description provided. I have created a branch, created a file and made a commit, and opened a pull request

I have created a branch, created a file and made a commit, and opened a pull request.


Refactor ArchiveResult filesystem calls to go through Django file storage backend

Instead of this:
class ArchiveResult:
    path = field.CharField(...)

ArchiveResult(path='./archive/warc/somefile.warc.gz')

We should be doing this:
class ArchiveResult:
    path = field.FileField(...)

ArchiveResult(path=Path('./archive/warc/somefile.warc.gz'))

settings.py:
MEDIA_URL = 'archive'
MEDIA_ROOT = 'archive'

DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
# or
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'   # or DigitalOcean, SFTP, etc.

https://django-storages.readthedocs.io/en/latest/
https://docs.djangoproject.com/en/4.0/topics/files/
related: https://github.com/ArchiveBox/ArchiveBox/issues/788

How do you imagine this interacting with the extractors? Will they write via Django storage?

Yeah, I have a big re-archictecturing plan to move to plug-in-style hooks system that allow components to modify any archivebox behavior, including filesystem calls, extractors, parsing, etc.

Actually I'm curious what you think of the new architecture, do you find this intuitive @mAAdhaTTah? https://gist.github.com/pirate/7193ab54557b051aa1e3a83191b69793

Interesting, I've been thinking about building a plugable extractor but if you are already working on this on a whole application scale I could help out with this instead.
I don't quite understand how available hooks in the internals will be defined.
Is it correct that, because of the deep merge behavior, the last plugin is called first?

This seems like a great solution to #940. Being able to use an external storage would be incredible.
What do you think are the pain points for integrating this solution? Would love to be able to help

FYI all I just created a new Wiki page covering how to set up ArchiveBox with a remote filesystem: https://github.com/ArchiveBox/ArchiveBox/wiki/Setting-Up-Storage
I confirmed it works myself with Amazon S3, Backblaze B2, SFTP, SMB, NFS. It should also work with Google Drive, OneDrive, DropBox, and all the other platforms that RClone supports.


Add cron testing

Even if the cron job doesn't push the rendered version, we should add one to see whether everything still works as it should.

Done in #28


Dropdown items height change 2nd time

Please complete the following information:

Library Version [e.g. v1.0.6]
Affected Device(s) [e.g. Realme x2 with Android 10.0]

Items height change when again click on the spinner

Items height change should remain the same

Hi,
It seems to recycle bugs since version 1.0.7.
it is fixed on 1.0.9.


split CI script to multiple files

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 31.60%. Comparing base (ae6b15d) to head (08576c2).

:exclamation:  There is a different number of reports uploaded between BASE (ae6b15d) and HEAD (08576c2). Click for more details.
HEAD has 2 uploads less than BASE

Flag
BASE (ae6b15d)
HEAD (08576c2)

lib
1
0

g3proxy
1
0

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #431       +/-   ##
===========================================
- Coverage   51.95%   31.60%   -20.35%
===========================================
  Files        1146      715      -431
  Lines      106275    55349    -50926
===========================================
- Hits        55215    17493    -37722
+ Misses      51060    37856    -13204

Flag
Coverage Δ

g3bench
31.60% <ø> (+<0.01%)
:arrow_up:

g3proxy
?

lib
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


FAQ Admin Page (Next.JS)

The Task
The non-profit administrator will be adding resources for caretakers to read and learn more about how to become better caretakers and gain support from others in the community through supplemental material outside of Motherhood Beyond Bars.
You Task:  For this sprint, you'll need to build the FAQ content manager with Question and Answer paired fields that can move around in priority. Both the Question and Answer must be present before allowing a successful save. In addition, there should be an "+ Add Question" (located bottom left)and a delete button to the right of each field to change the number of each Q&A set of fields.

Important Information

For this section, if the admin "saves", if only a question or answer is filled without a complete pair, an error must be shown
The add button should create an empty pair of Q&A fields at the bottom.
This is the first tab on the admin resources page to see.

Never hesitate to reach out for help!


Will CloudLAPS interfere with on-prem LAPS on co-managed devices?

We are in the begining of implementing Autopilot and came across CloudLAPS. This looks like a good solution since we are using LAPS on-prem today.
We have devices that will be co-managed in Intune that have on-prem LAPS on them.
Do CloudLAPS only affect Azure-joined devices or will CloudLAPS intefere with the on-prem LAPS function when we make the device co-managed in Intune?
I have searched but not found any answer to this.

Depends if you target the co-managed devices as well or not. And also if the account name youbare using is the same.


enhancement: add char/covert func

Proposed changes
add char func
mysql> select char(68, 111, 114, 105, 115);
+--------------------------------------+
| char('utf8', 68, 111, 114, 105, 115) |
+--------------------------------------+
| Doris                                |
+--------------------------------------+

convert func
MySQL root@<IP_ADDRESS>:(none)> select convert(1 using gbk);
+-------------------+
| convert(1, 'gbk') |
+-------------------+
| 1                 |
+-------------------+

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.11 seconds
stream load tsv:          534 seconds loaded<PHONE_NUMBER>9 Bytes, about 133 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.2 seconds inserted 10000000 Rows, about 342K ops/s
storage size:<PHONE_NUMBER>8 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 44.78 seconds
stream load tsv:          549 seconds loaded<PHONE_NUMBER>9 Bytes, about 129 MB/s
stream load json:         22 seconds loaded<PHONE_NUMBER> Bytes, about 102 MB/s
stream load orc:          66 seconds loaded<PHONE_NUMBER> Bytes, about 15 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size:<PHONE_NUMBER>4 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.86 seconds
stream load tsv:          540 seconds loaded<PHONE_NUMBER>9 Bytes, about 132 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.4 seconds inserted 10000000 Rows, about 340K ops/s
storage size:<PHONE_NUMBER>0 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.62 seconds
stream load tsv:          543 seconds loaded<PHONE_NUMBER>9 Bytes, about 131 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          66 seconds loaded<PHONE_NUMBER> Bytes, about 15 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.4 seconds inserted 10000000 Rows, about 340K ops/s
storage size:<PHONE_NUMBER>7 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.15 seconds
stream load tsv:          552 seconds loaded<PHONE_NUMBER>9 Bytes, about 129 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.6 seconds inserted 10000000 Rows, about 337K ops/s
storage size:<PHONE_NUMBER>2 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.43 seconds
stream load tsv:          535 seconds loaded<PHONE_NUMBER>9 Bytes, about 133 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.8 seconds inserted 10000000 Rows, about 335K ops/s
storage size:<PHONE_NUMBER>2 Bytes

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.4 seconds
stream load tsv:          548 seconds loaded<PHONE_NUMBER>9 Bytes, about 130 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.0 seconds inserted 10000000 Rows, about 344K ops/s
storage size:<PHONE_NUMBER>3 Bytes

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.92 seconds
stream load tsv:          547 seconds loaded<PHONE_NUMBER>9 Bytes, about 130 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          28.8 seconds inserted 10000000 Rows, about 347K ops/s
storage size:<PHONE_NUMBER>2 Bytes

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 49.78 seconds
stream load tsv:          546 seconds loaded<PHONE_NUMBER>9 Bytes, about 130 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size:<PHONE_NUMBER>3 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 51.72 seconds
stream load tsv:          547 seconds loaded<PHONE_NUMBER>9 Bytes, about 130 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.2 seconds inserted 10000000 Rows, about 342K ops/s
storage size:<PHONE_NUMBER>1 Bytes


Attempting to open css file from Elements Tool

tried to click on link in Element/Styles tab

And nothing happens, so checked output and found the following error
[2021-08-10 16:32:34.711] [renderer1] [error] cannot open file:///http%3A/localhost%3A8088/css/base.css. Detail: Unable to read file '\http:\localhost:8088\css\base.css' (Error: Unable to resolve non-existing file '\http:\localhost:8088\css\base.css'): Error: cannot open file:///http%3A/localhost%3A8088/css/base.css. Detail: Unable to read file '\http:\localhost:8088\css\base.css' (Error: Unable to resolve non-existing file '\http:\localhost:8088\css\base.css')
My launch.json file is
{     "configurations": [                        {             "type": "pwa-msedge",             "request": "launch",             "name": "Launch Reports page",             "url": "http://localhost:8088/qld-future-climate/reports",             "webRoot": "${workspaceFolder}/public",                     }     ] }
tried an external css reference, resulted the following error:
[2021-08-10 16:33:20.101] [renderer1] [error] cannot open file:///https%3A/cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/css/select2.min.css. Detail: Unable to read file '\https:\cdnjs.cloudflare.com\ajax\libs\select2\4.0.5\css\select2.min.css' (Error: Unable to resolve non-existing file '\https:\cdnjs.cloudflare.com\ajax\libs\select2\4.0.5\css\select2.min.css'): Error: cannot open file:///https%3A/cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/css/select2.min.css. Detail: Unable to read file '\https:\cdnjs.cloudflare.com\ajax\libs\select2\4.0.5\css\select2.min.css' (Error: Unable to resolve non-existing file '\https:\cdnjs.cloudflare.com\ajax\libs\select2\4.0.5\css\select2.min.css')
at vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2405:74011
appears an extra / character has been added in front of the reference
VSCode version is 1.58.2
vscode-edge-devtools version 1.2.1
Debugger works and stops at the breakpoint.
Great to be working all in one place!
Thanks for the extension...

Only happens when in headless mode (docked in VSCode)

I wonder if this is related to #436

Does look like the two issues could be somewhat related?

@infinitemind2 are you using it in any form of remote (WSL, SSH, Containers, etc.)? PR #467 is aiming to tackle the WSL story for #436 (Remote Containers and SSH have some other challenges), so I might be able to test your scenario

Straight vanilla use of the extension.
local code on local browser through local web server

Having the same issue with not being able to open CSS files from Elements in the extension when running local server. VS Code v.1.59.1, Edge DevTools extension v1.0.15.

Thanks everyone for reporting this issue,
We just released version 1.3.1 which should address this issue, please verify that you have the right mapping in your vscode settings.json file and give it a try.
e.g
"vscode-edge-devtools.pathMapping": {
"/":"C:/path/to/local/src/files"
},
Please feel free to reactivate if it you still encounter the issue.

I would have thought that was the purpose of the webRoot  setting in the launch.json file.
Have altered the settings.json file and it fixed error behaviour
thanks


Update docker registry

Move Docker registry from docker hub to GitHub

This has been completed

This has been completed


Fixes "make: Nothing to be done for 'all'."

Without this additional tabulator I got
==> argon2_elixir
make: Nothing to be done for 'all'.
Compiling 3 files (.ex)
Generated argon2_elixir app

during compilation, which lead later to ** (UndefinedFunctionError) function Argon2.Base.hash_password/3 is undefined (module Argon2.Base is not available) runtime.
This fixes it. I had not this problem before, it just happened today, but some of my colleagues had this problem for over a week.
I have no idea if it solves anything, I just read that make can stop compiling with make: Nothing to be done for 'all'. if there is no proper indentation if file, like wrong levels of indentation, or mixed spaces and tabs.

I will look into this issue and get back to you soon.

I don't think these changes are needed, so closing this PR.

I can confirm this issue is still happening on my M1 macbook running argon2 version 2.2 with elixir version 1.13 and erlang version 23

Can confirm that it was able to compile when running it in a terminal in VSCode after deleting my deps and _build folder and running mix deps.get && mix deps.compile. I referenced this issue when I got it to work.
https://github.com/elixir-lang/elixir_make/issues/46#issuecomment-754663944
It seems like there is an issue with elixir_make when running on intel vs apple arch(not really sure), but I use iTerm2 and Neovim. When I installed VSCode Universal build, and ran those commands it worked. I'm sure if I somehow set my shell to use the right architecture it would've worked too, but 🤷♂ .


Possible way to compile mchfuse for raspi ARM.

Is it possible to compile your GO lang code for raspi ARM processors?
I tried it on raspi 4, but I've got error:
mch/client.go:82: Errorf format %w has unknown verb w
mch/client.go:128: Errorf format %w has unknown verb w
mch/client.go:209: Errorf format %w has unknown verb w
mch/device.go:111: Errorf format %w has unknown verb w
mch/device.go:171: Errorf format %w has unknown verb w
mch/device.go:220: Errorf format %w has unknown verb w
mch/device.go:264: Errorf format %w has unknown verb w
mch/device.go:275: Errorf format %w has unknown verb w
mch/files.go:63: Errorf format %w has unknown verb w
mch/files.go:90: Errorf format %w has unknown verb w
mch/files.go:135: Errorf format %w has unknown verb w
mch/files.go:161: Errorf format %w has unknown verb w
mch/files.go:231: Errorf format %w has unknown verb w
mch/files.go:249: Errorf format %w has unknown verb w
mch/files.go:278: Errorf format %w has unknown verb w
mch/files.go:333: Errorf format %w has unknown verb w
mch/files.go:372: Errorf format %w has unknown verb w
mch/files.go:408: Errorf format %w has unknown verb w
mch/files.go:429: Errorf format %w has unknown verb w
github.com/mnencia/mchfuse/fsnode
fsnode/fsnode.go:166: Errorf format %w has unknown verb w
Go was correctly installed on the raspi.

What version of go you are using? The %w verb was added in go 1.13.

I see that Raspbian Buster ships go 1.11. You can try installing the latest version following the instructions at https://www.e-tinkers.com/2019/06/better-way-to-install-golang-go-on-raspberry-pi/ or cross-compile it on a different machine that has a more recent go.
The following command should generate an executable compatible with any Raspberry around:
GOOS=linux GOARCH=arm GOARM=5 make

I've added a precompiled binary for Raspberry PI (tested on 2, 3 and 4) the latest release. You can install it using the instructions at https://github.com/mnencia/mchfuse#installing-the-latest-release

Works thanks!!!


Export Dashboard

It would be useful to export a dashboard in a format which can later be uploaded to a new instance of Tessra.
Any way to do it right now?

I do this today using curl on linux.

curl --get -d "definition=true" http://servername:5000/api/dashboard/25 > template.json
curl -X POST --header "Content-Type: application/json" -d @template.json http://servername:5000/api/dashboard/

I just used that to export all of my dashboards from an old server and upload them to a new server.
I also use this to rapidly create new dashboards using a template.  I download the template, find/replace strings, then upload as a new dashboard.

Cool.
This is what I was looking for.


Show button to another page

Hello,
My nested form is working perfectly in a table. I would like to add show button which will direct user to another show page. (belongs_to and has_many associations have been built)
Right now  i am trying to use this:
<td> <%= link_to 'Show', product_path(:id=>(f.product_id)), class: "btn btn-outline-success", target: :_blank %> </td>
but getting this error:

undefined method `product_id' for #ActionView::Helpers::FormBuilder:0x00007fa4d96fc4a0

Any help will be appreciated!
Regards

So the f points to the FormBuilder as the error indicates. To reach the object that is being "built" you have to use f.object. So in your case f.object.product_id should work.

Thanks nathanvda, i think should work as well but did not :)
it started to give this error:

No route matches {:action=>"show", :controller=>"products", :id=>nil}, missing required keys: [:id]

when i tried it with index page instead of show it generated this url
http://localhost:3000/products.98
so i think it generates "." instead of "/".
Do you have any idea how i can solve this out?

Hey let me debug your code without actually seeing anything of it, and having no clue of any context of it.
But to state the obvious:

the product_id is actually set? (like, before save is it set? when adding a new item?)

You could try writing it like product_path(f.object.product) but product_path(id: f.object.product_id) should be correct, which means the product_id  is really nil imho. Which also could make sense if is not yet filled in when rendering the form (because the new item that has to be inserted is rendered before hand --but a lot of assumptions here as I have no idea what the product-id is, points to, is it the parent, should it be selected, how is it filled  in?).
You probably need to either:

if you know the product-id for some reason, fill it in with the wrap-object option (allows you to initialise some stuff before rendering the partial). See https://github.com/nathanvda/cocoon#wrap_object
or show the link conditionally (only when it is set), because it still has to be selected or filled in later ...

If, for some crazy reason (like have no context and no idea what your context/code actually is) this does not help you at all and is not relevant, please either give me more  context and information, or please ask this question on stackoverflow (and post the link here if you want).

Hey nathanvda,
i have posted a question on stack with. here is the link
https://stackoverflow.com/questions/55530517/show-button-to-another-page-using-cocoon-gem

Closed, question moved to stackoverflow.


[v2.8] Update ACI-CNI to <IP_ADDRESS>

There is ACI-CNI version <IP_ADDRESS> which is an upgrade to <IP_ADDRESS> we currently have included in KDM for RKE1 provisioned clusters.

Testing has been completed. No issues observed.

Ticket #43987 - Test Results - ✅
Tested w/ RKE v1.5.3-rc1 and on a Docker install w/ Rancher v2.8-97b35b27fe786d1707127923e2abfb93fad6ec65-head:

Scenario
Test Case
Result

1.
Rancher provisioned downstream RKE1 w/ k8s v1.27.8-rancher2-2
✅

2.
Import into Rancher a downstream RKE1 w/ k8s v1.27.8-rancher2-2, using RKE v1.5.3-rc1
✅

3.
Rancher provisioned downstream RKE1 w/ k8s v1.26.11-rancher2-2
✅

4.
Import into Rancher a downstream RKE1 w/ k8s v1.26.11-rancher2-2, using RKE v1.5.3-rc1
✅

5.
Rancher provisioned downstream RKE1 w/ k8s v1.25.16-rancher2-2
✅

6.
Import into Rancher a downstream RKE1 w/ k8s v1.25.16-rancher2-2, using RKE v1.5.3-rc1
✅

Scenario 1 -

Fresh install of Rancher v2.8-head
Provision a downstream AWS RKE1 Node driver cluster w/ k8s v1.27.8-rancher2-2
Once active, navigate to Cluster Explorer > Workloads and ensure all pods are active and running
Verified - all pods are active and running
Deploy a workload
Verified - workload successfully deployed; pod is active and running

Scenario 2 -

Fresh install of Rancher v2.8-head
Using RKE v1.5.3-rc1, create a standalone Custom RKE1 cluster w/ k8s v1.27.8-rancher2-2, then import it into Rancher
Verified - cluster successfully imports and is active
Navigate to Cluster Explorer > Workloads and ensure all pods are active and running
Verified - all pods active and running
Deploy a workload
Verified - workload successfully deployed; pod is active and running

Scenario 3 -

Fresh install of Rancher v2.8-head
Provision a downstream AWS RKE1 Node driver cluster w/ k8s v1.26.11-rancher2-2
Once active, navigate to Cluster Explorer > Workloads and ensure all pods are active and running
Verified - all pods are active and running
Deploy a workload
Verified - workload successfully deployed; pod is active and running

Scenario 4 -

Fresh install of Rancher v2.8-head
Using RKE v1.5.3-rc1, create a standalone Custom RKE1 cluster w/ k8s v1.26.11-rancher2-2, then import it into Rancher
Verified - cluster successfully imports and is active
Navigate to Cluster Explorer > Workloads and ensure all pods are active and running
Verified - all pods active and running
Deploy a workload
Verified - workload successfully deployed; pod is active and running

Scenario 5 -

Fresh install of Rancher v2.8-head
Provision a downstream AWS RKE1 Node driver cluster w/ k8s v1.25.16-rancher2-2
Once active, navigate to Cluster Explorer > Workloads and ensure all pods are active and running
Verified - all pods are active and running
Deploy a workload
Verified - workload successfully deployed; pod is active and running

Scenario 6 -

Fresh install of Rancher v2.8-head
Using RKE v1.5.3-rc1, create a standalone Custom RKE1 cluster w/ k8s v1.25.16-rancher2-2, then import it into Rancher
Verified - cluster successfully imports and is active
Navigate to Cluster Explorer > Workloads and ensure all pods are active and running
Verified - all pods active and running
Deploy a workload
Verified - workload successfully deployed; pod is active and running

Screenshot:


Configuring AMQP in ibmcom/mq

Is it possible to configure amqp in mq (https://hub.docker.com/r/ibmcom/mq/) ? How Can I add lib amqp in the docker ?
tks

It isn't enabled in the pre-built image available on Docker Hub.  You would have to build your own image using the code in this repository, altering the MQ_PACKAGES environment variable to install the extra package.

Hi @arthurbarr,
would also be interested to use a Docker image where AMPQ Service is activated.
Can you please elaborate in more detail what steps need to be taken in order to extend the existing image? Is it really that simple to extend the appearances of MQ_PACKAGES in all appearances with MQSeriesAMQP*.rpm?
Thank you!

@drmartinberger
Wondering if you figured out how to extend the existing image to AMQP packages? can you share? I am interested on the same thing.

@habaza84
did not get any feedback to my question above.

See Step 1 of this tutorial - https://developer.ibm.com/tutorials/mq-running-ibm-mq-apps-on-quarkus-and-graalvm-using-qpid-amqp-jms-classes/#step-1-set-up-the-amqp-channel-in-ibm-mq


White text only

Downloaded theme and syntax via Atom's Installer in the Settings Menu. After setting theme and syntax to Nebula I only get white text. Same in all fonts I tried; other themes/syntax unaffected. OS is Linux Mint Cinnamon 17.3.

Can you post a screenshot?

Hope this helps. Thanks!

@khipukamayuq That does help! But I am confused. I did a fresh install of Linux Mint (linuxmint-18.1-cinnamon-64bit) in Parallels and installed Atom 1.13.1 x64 via Dev, installed the latest nebula-ui and syntax, and made an HTML file (as per your screenshot) and this is what I see:

Dammit. I got it. It was all me. New to Atom and Linux both. I didn't know Atom wasn't upgrading from my CLI commands. I was on 1.7.3. Upgraded to 1.13.1 and everything is fine. Thanks for your trouble, though! Looks beautiful!!

Glad to hear that!! Enjoy it.


Replace RFC 7807 with RFC 9457

RFC 9457 obsoletes RFC 7807. We should update this repo accordingly:

[ ] Check if we are compliant with RFC 9457
[ ] Update API Spec
[ ] Update documentation comments
[ ] Update Code, if necessary

In order to be compliant with RFC 9457 we should make the following changes:

Update the 422 response to use JSON Pointers instead of the dot-syntax. This is not required by RFC 9457 but seems to be a more standardized way of handling these kinds of errors. See Section 3 of RFC 9457.
We should use the TAG scheme for error types to identify them as non-resolvable URIs (as long as we don't have dedicated documentation for error types). As long as we don't have a dedicated domain we could use the tag:codello.dev,2020:karman/problems:<id> namespace. I think the goal should be to provide this kind of documentation and thus use https URLs for problem types in the end.


Cannot find module '/usr/local/node_modules/bs-html-injector'?

hi.
root@localhost:/usr/local# es start easystatic-site
Cannot find module '/usr/local/node_modules/bs-html-injector'
root@localhost:/usr/local# npm install -g bs-html-injector
root@localhost:/usr/local# es start easystatic-site
Cannot find module '/usr/local/node_modules/bs-html-injector'
how to fix it?
thank you

also encountered this issue after following the instructions
Cannot find module 'PATH\node_modules\bs-html-injector'

You have to install bs-html-injector, it allows for the live updates to your HTML
npm install bs-html-injector

I got the same problem.
Shouldn't this be a dependency of the project ?


Project no longer runs on latest Node Red install, missing dependencies

The libatomic1 library is now required.

[hedss] This issue has attached support thread https://jel.ly.fish/#/1e4f096a-1cfe-4ec7-aa97-a85e56100ef7


Self relation where query is not returning results

Describe the bug
I have set up a type with a self-relation (see below), with the aim to create a nested folder structure where the top item has no parent, but you can create sub-folders by providing the parent folder id
type Folder {
  id: ID! @id
  name: String!
  parent: Folder @relation(name: "FolderRelation", link: INLINE)
}

To Reproduce
Steps to reproduce the behavior:

Create a top level folder:

mutation {
  createFolder(data: {
    name: "Top level"
  }) {
    id
  }
}

Create a Sub-folder with the previously created folder as the parent

mutation {
  createFolder(data: {
    name: "Bottom level",
    parent: {
      connect: {
        id: "cjvkag5n3006d0753eymur5pr"
      }
    }
  }) {
    id
  }
}

Run the following query using ID of the parent of subfolder

query {
  folders(where: {
    parent: {
      id: "cjvkag5n3006d0753eymur5pr"
    }
  }) {
    id
    name
  }
}

Prisma returns an empty array instead of the folder:

{
  "data": {
    "folders": []
  }
}

Expected behavior
Prisma should return the subfolder:
{
  "data": {
    "folders": [
      {
        "id": "cjvnwf64s001m082346rgp74d",
        "name": "Bottom level"
      }
    ]
  }
}

Versions (please complete the following information):

Connector: Postgres
Prisma Server: 1.32.2
prisma CLI: prisma/1.32.2 (darwin-x64) node-v12.2.0
OS:  MacOS 10.14.3 Mojave

Additional context
Ref: https://www.prisma.io/forum/t/self-relation-query-is-not-returning-any-results/6971

Can you please check whether this is already fixed in the latest version? I fixed this issue https://github.com/prisma/prisma/issues/4508 which sounds very similar  in 1.33

This is fixed now.


fix(file_upload): validate mimetype as configured

https://github.com/Chainlit/chainlit/issues/1458

Tests look very clean. Thanks this already great as it is, but I would prefer some slight changes to validation architecture -- separating HTTP logic from validation logic. Important as we'll add more such functionality going forward, good to have the API clean now.

Where would you put the validation logic?
It could be a method of SpontaneousFileUploadFeature or just some function somewhere else?

Tests look very clean. Thanks this already great as it is, but I would prefer some slight changes to validation architecture -- separating HTTP logic from validation logic. Important as we'll add more such functionality going forward, good to have the API clean now.

Where would you put the validation logic? It could be a method of SpontaneousFileUploadFeature or just some function somewhere else?

This is what I referred to in that comment: https://github.com/Chainlit/chainlit/pull/1459#discussion_r1830842616

Hi @dokterbob is anything else missing?


As a user, I want to sort a list of all cities in a specific region, organized by population from largest to smallest so that I can analyze the demographic landscape and identify the most populous cities within that particular region

SQL:
select city.Name, country.Name, city.District , city.Population  from city inner join country  on city.CountryCode = country.Code
where country.Region  ='%region%'
order by city.Population desc;
Parameters:
%region%


Why do we use Training Data for Shap, instead of Test Data

Dear Mr Lundberg,
I admire your work and am Greatfull for it.
in This Issue  You mentioned test data as one option for calculating SHAP values after the model ist trained.
Can I calculate SHAP values with the training data used to optimize the model?
why do we use training data instead of Test?
is there a difference in viability between usage of test and train data for SHAP value Calculation?
kind regards

@slundberg really interested in this. Would love your input.

Bumpety bump!

Bumping again because it's stale and I'm curious too


feat: Implement eth_getBlockReceipts

Returns all transaction receipts for a given block, the amount of gas used, and any event logs that might have been produced by a smart contract during the transaction.
Parameters :

blockNumber:[Required] Hexadecimal or decimal integer representing a block number, or one of the string tags:

latest
earliest
pending
finalized
safe
Returns : result: object Block object or null when there is no corresponding block.
Request :
curl https://mainnet.infura.io/v3/YOUR-API-KEY \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_getBlockReceipts","params":["latest"],"id":1}'

Response :
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    {
      "blockHash": "0x19514ce955c65e4dd2cd41f435a75a46a08535b8fc16bc660f8092b32590b182",
      "blockNumber": "0x6f55",
      "contractAddress": null,
      "cumulativeGasUsed": "0x18c36",
      "from": "0x22896bfc68814bfd855b1a167255ee497006e730",
      "gasUsed": "0x18c36",
      "effectiveGasPrice": "0x9502f907",
      "logs": [
        {
          "address": "0xfd584430cafa2f451b4e2ebcf3986a21fff04350",
          "topics": [
            "0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d",
            "0x4be29e0e4eb91f98f709d98803cba271592782e293b84a625e025cbb40197ba8",
            "0x000000000000000000000000835281a2563db4ebf1b626172e085dc406bfc7d2",
            "0x00000000000000000000000022896bfc68814bfd855b1a167255ee497006e730"
          ],
          "data": "0x",
          "blockNumber": "0x6f55",
          "transactionHash": "0x4a481e4649da999d92db0585c36cba94c18a33747e95dc235330e6c737c6f975",
          "transactionIndex": "0x0",
          "blockHash": "0x19514ce955c65e4dd2cd41f435a75a46a08535b8fc16bc660f8092b32590b182",
          "logIndex": "0x0",
          "removed": false
        }
      ],
      "logsBloom": "0x00000004000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000080020000000000000200010000000000000000000001000000800000000000000000000000000000000000000000000000000000100100000000000000000000008000000000000000000000000000000002000000000000000000000",
      "status": "0x1",
      "to": "0xfd584430cafa2f451b4e2ebcf3986a21fff04350",
      "transactionHash": "0x4a481e4649da999d92db0585c36cba94c18a33747e95dc235330e6c737c6f975",
      "transactionIndex": "0x0",
      "type": "0x0"
    },
    {
      "blockHash": "0x19514ce955c65e4dd2cd41f435a75a46a08535b8fc16bc660f8092b32590b182",
      "blockNumber": "0x6f55",
      "contractAddress": null,
      "cumulativeGasUsed": "0x1de3e",
      "from": "0x712e3a792c974b3e3dbe41229ad4290791c75a82",
      "gasUsed": "0x5208",
      "effectiveGasPrice": "0x9502f907",
      "logs": [],
      "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
      "status": "0x1",
      "to": "0xd42e2b1c14d02f1df5369a9827cb8e6f3f75f338",
      "transactionHash": "0xefb83b4e3f1c317e8da0f8e2fbb2fe964f34ee184466032aeecac79f20eacaf6",
      "transactionIndex": "0x1",
      "type": "0x2"
    }
  ]
}

DO NOT FORGET TO UPDATE methodsStatus.md (set this method as finished)
/rosettanet/docs/methodsStatus.md
methodsStatus.md

Hi

B


Links in documentation do not work

Please note that NONE of the links in the documentation in atmospherejs.com work: not one!
Please fix !

They work on GitHub. If they don't work on atmosphere, that's an atmosphere issue.

Ok, thanks, I'll use the documentation on Github
Il 24/03/15 22:19, Eric Dobbertin ha scritto:

They work on GitHub. If they don't work on atmosphere, that's an
atmosphere issue.
—
Reply to this email directly or view it on GitHub
https://github.com/aldeed/meteor-autoform/issues/818#issuecomment-85695011.


Adding mysql-router ssl issue

Checking if client_ssl_cert and client_ssl_mode is set
properly

in test code, I refered to DPKG_L_ROUTER but actually I need to check >= mysql router 8.0.23, Could you please advice anything to check version >= 8.0.23 ?

lgtm thanks seyeong!


LBaaS simple UI for load balancers

Purpose or Intent
Simple UI presenting Load Balancers and their connection to Vms, showing also states of the health checks.
Steps for Testing/QA
For Amazon cloud provider,  Load Balancers and their connection to Vms should be visible. States of the health checks in Vm detail or list of Vms should be visible.

@epwinchell hello, I will need load_balancer.png and Load Balancer PatternFly icon for Topology view.

@Ladas, looks like @epwinchell blasted through the icons already.  Can you update this PR with his fancy graphics?

@Ladas You need to add a line like the following into config/locales/en.yml under model:
ManageIQ::Providers::Amazon::NetworkManager::LoadBalancer:            Load Balancer (Amazon)

So that we'll see a nice load balancer type, rather than a titleized model type.

@Ladas Similarly, you also need to add the following:
LoadBalancer:             Load Balancer

So that for example breadcrumb names will be nicely translated.

This is what's happening to me when creating a new db:
$ rake db:drop db:create db:migrate db:seed
...
==<PHONE_NUMBER>4827 AddEmsIdToLoadBalancerPoolMembers: migrated (0.0153s) =======

==<PHONE_NUMBER>5803 ChangeLoadBalancerMToNTablesIndexesToUnique: migrating ======
-- remove_index(:load_balancer_health_check_members, {:column=>[:load_balancer_health_check_id, :load_balancer_pool_member_id], :name=>"load_balancer_health_check_members_index"})
   -> 0.0033s
-- add_index(:load_balancer_health_check_members, [:load_balancer_health_check_id, :load_balancer_pool_member_id], {:name=>"load_balancer_health_check_members_index", :unique=>true})
   -> 0.0122s
-- remove_index(:load_balancer_listener_pools, {:column=>[:load_balancer_listener_id, :load_balancer_pool_id], :name=>"load_balancer_listener_pools_index"})
   -> 0.0025s
-- add_index(:load_balancer_listener_pools, [:load_balancer_listener_id, :load_balancer_pool_id], {:name=>"load_balancer_listener_pools_index", :unique=>true})
   -> 0.0144s
==<PHONE_NUMBER>5803 ChangeLoadBalancerMToNTablesIndexesToUnique: migrated (0.0328s)

rake aborted!
GoodMigrations::LoadError: Rails attempted to auto-load:

app/models/miq_database.rb

Which is in your project's `app/` directory. The good_migrations
gem was designed to prevent this, because migrations are intended
to be immutable and safe-to-run for the life of your project, but
code in `app/` is liable to change at any time.

The most common reason for this error is that you may be referencing an
ActiveRecord model inside the migration in order to use the ActiveRecord API
to implement a data migration by querying and updating objects.

For instance, if you want to access a model "User" in your migration, it's safer
to redefine the class inside the migration instead, like this:

class MakeUsersOlder < ActiveRecord::Migration
  class User < ActiveRecord::Base
    # Define whatever you need on the User beyond what AR adds automatically
  end

  def up
    User.find_each do |user|
      user.update!(:age => user.age + 1)
    end
  end

  def down
    #...
  end
end

For more information, visit:

https://github.com/testdouble/good-migrations

@mzazrivec translation fixed. I don't see the that error in my env, nor it has shown up in the CI, the migrations are not part of this PR. @lpichler have you ever seen false positive like that?

@miq-bot remove_label "sql migration"

The db:seed problem from above post is described in https://github.com/ManageIQ/manageiq/issues/9602 and is not really related to this PR.

Blank database, added amazon provider, clicked on Network -> Load Balancers -> [load balancer] -> Instances:
Error caught: [ActiveRecord::StatementInvalid] PG::InvalidColumnReference: ERROR:  for SELECT DISTINCT, ORDER BY expressions must appear in select list
LINE 1: ...::CloudManager::Vm') AND "vms"."id" = 35 ORDER BY LOWER("vms...
...
lib/extensions/ar_virtual.rb:429:in `find_with_associations'
lib/extensions/ar_virtual.rb:431:in `find_with_associations'
...
app/models/miq_report/generator.rb:352:in `build_table'
app/models/miq_report/search.rb:106:in `paged_view_search'
app/controllers/application_controller.rb:1564:in `get_view'
app/controllers/mixins/generic_show_mixin.rb:68:in `nested_list'
app/controllers/mixins/generic_show_mixin.rb:55:in `display_instances'
app/controllers/mixins/generic_show_mixin.rb:43:in `public_send'
app/controllers/mixins/generic_show_mixin.rb:43:in `nested_list_call'
app/controllers/mixins/generic_show_mixin.rb:47:in `display_nested_list'
app/controllers/mixins/generic_show_mixin.rb:23:in `show'
...

@mzazrivec it's not again an issue of this PR. Something broke all Distinct relations. Trying to figure out what was it.

Fix for the error from above seems to be here: https://github.com/ManageIQ/manageiq/pull/10548/commits/27d44304e2e4437e85abcc15c3b78f00317bf63e


Running on Alfred 4.0

Hello,
As I understand this requires Alfred 5 to run. Is there a workaround/code-tweaking to run it on alfred 4? Any pointers will be appreciated.

Hello @r3ver53r,
The first thing you'll need to change to make it work on Alfred 4 is the way scripts access workflow variables. With the release of Alfred 5 came the configuration panel. I think you can make it work by manually creating the following environment variables here:

trigger1 => pdash
trigger2 => odash
user_mail =><EMAIL_ADDRESS>incognito_mode => 1
cache_bool => 1
sound => Submarine

Some of these variables are accessed through the utils.py file to be used in the workflow. Tell me if this works, otherwise, I'll try to further assist.

Hey @BenjaminOddou - Thanks for looking into this. Unfortunately, this dashlane workflow is not even showing the option to edit env variables, unlike other workflows. As if it's not even getting recognised. Attaching screenshot for ref.

Hello @r3ver53r, could you try to use this modified workflow ?

Wao, that got imported. Thanks @BenjaminOddou ! :D
Looks like getting stuck with another small bug, it is not able to detect dashlane cli. (screenshots attached)

Hello @r3ver53r, could you check that the environment variable alfred_workflow_cache corresponds to : ~/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.benjamino.dashlane ? Replace ~ by Users/yourusername.

Hi @BenjaminOddou  - Yes. This is my ENV: /Users/<MyUserName>/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.benjamino.dashlane

@r3ver53r, could you try to comment these lines from entry.py :

Line 128
Lines 176-189

and check the Alfred Logs ?

I guess I figured out the bug (though, not root cause)...It looks like the which() function in pexpect utils (https://github.com/BenjaminOddou/alfred-dashlane/blob/18fd7a12f3d33838b8fc06376f8cd6949cefabed/src/lib/pexpect/utils.py#L48) is not able to resolve my local dcli path
I did a patchy work-around by changing all 'dcli' references to '/opt/homebrew/bin/dcli' (exact path) and it seems to working. Thanks for your support so far :)
Happy to dig this further on why it's not able to find the dcli path in you plan to support (or add workarounds) Alfred 4 for other users.
Big thanks!

@r3ver53r Thanks for the feedback. I would be interested if you could share the alfred logs. I am closing the issue but don't hesitate to come back to me in case you need further assistance.


Bump version to v1.22.1

Bump version to v1.22.1

Basic Tests C++ iOS , Basic Tests Node MacOS, Basic Tests ObjC Examples, Basic Tests ObjC MacOS ,  Basic Tests ObjC iOS, Interop Cloud-to-Cloud Tests (internal CI) , Interop Cloud-to-Prod Tests (internal CI) --> https://github.com/grpc/grpc/pull/19937 all tests failing on a dummy CL


Rename the adoption github-check jobs using the new naming scheme

This renames the zuul github-check adoption jobs using the new names introduced with the depends-on
Depends-On: https://review.rdoproject.org/r/c/rdo-jobs/+/53788
https://issues.redhat.com/browse/OSPRH-8452

recheck

/lgtm


Converted all ansible tasks to match new schema

Can one of the admins verify this patch?

This covers ticket https://github.com/samsung-cnct/k2/issues/259

ok to test

there a couple of possible issues with this.  under normal circumstances I would file a review and we would work that path, however I am trying to close this out tonight so we're going to merge and work forward.


Installed VSTS-DropPlan, but the menu isn't showing up in sprints

Hello,
I've installed Drop Plan into our on-prem farm, but we don't see the Drop plan menu in the sprint planning menu, and none of the console output seems to be emitted either. I've verified the extension's installed in our collection and activated. I ran through the Visual Studio guide for debugging extensions and didn't see any sign it was loaded. Are there any version limitations that we're running into that might not be displayed in the install process? We're running TFS 2015 update 3 (Version 14.102.25423.0) and testing in Chrome 59.0.3071.115

There should be a new tab "Drop Plan" next to the sprint board.
Are you using the Scrum process template?


Model Management Patch

Just a dirty patch to solve the memory management issue happening in latest comfy. This isn't the best solution but it should work. Let me know if this makes it by tests as it's hard to tell if the same issues are persisting on a 4090. This pr also includes #44 as well for testing on latest and you won't have to mess with git too much.

Tested on my machine and at least one other confirmed this is working. Models are loading and unloading properly.


Cannot access 'knex_mock_client_1' before initialization

Hey there. I am getting an error when trying to set up this library and use it in a test.
db-client.ts
const DB = knex(config)
export default db

my.test.ts
import { createTracker, MockClient, Tracker } from 'knex-mock-client'

jest.mock('../../src/db-client', () => {
  // eslint-disable-next-line @typescript-eslint/no-var-requires
  const knex = require('knex')
  return {
    db: knex({ client: MockClient }),
  }
})

Error:
ReferenceError: Cannot access 'knex_mock_client_1' before initialization

Any ideas? Thank you!

Hi,
Your code exports a default property, but your mock is mot, maybe this is related to that.
If this doesn't solves the issue, can you prepare a small reproduction repo?

Ping?

I genuinely have the same problem. Probably I just did not understand how to set it up. I would just like to be able to mock the values returned by the DB queries in order to test the logic of the application, I copied everything from your README but I still can't seem to get it to work.
The repository I'm working on is actually public, if you want to take a look at it. It's still early in development so I'm just trying out simple things.
File in which I have the problem

I genuinely have the same problem. Probably I just did not understand how to set it up. I would just like to be able to mock the values returned by the DB queries in order to test the logic of the application, I copied everything from your README but I still can't seem to get it to work.
The repository I'm working on is actually public, if you want to take a look at it. It's still early in development so I'm just trying out simple things.
File in which I have the problem

I'll check it out, thanx

I've made a PR...
Looks like it is related to the fact that Jest started to hoist the mock block to be at the top, therefore, I've moved the MockClient import to be inside the mock block.

Thank you so much! It works now, I've modified the other tests and written a few more.
Thanks for taking the time to take a look at it!

Closing this issue, feel free to re-open if needed


Added support for default_orgname, for those with Chef Server 11 in their past

thank you for your contribution @griffint61 !


Add a prisoners pack link for Haiti

The FCO has prepared a prisoners pack pdf for Haiti. Make it downloadable.

Did none of the regression test artefacts need updating with this change?

No, it does not introduce any new code paths and Haiti had not been chosen to represent any of the existing ones. I'll add this to the commit note and merge, ok?


www.whichost.com/claim redirect to nowhere

The L description contains links to www.whichost.com/claim, which redirect nowhere.
A redirection will be established.

This should be fixed. The change have been pushed to master.

@lcoenen when I try to open www.whichost.com I'm being forwarded to https://www.whichost.com/claim/
This means that now no one can open the marketplace platform :D

@lcoenen can you please fix it as urgent?
@RohrerHope in case Loic is sleeping, can you maybe remove the forwarding, if this is something that you know hiw?

Ugh on it

Building

The change have been pushed to master


chore(main): release 1.18.0

:robot: I have created a release beep boop
1.18.0 (2024-12-12)
Features

is expression (558b846)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.18.0
:sunflower:


[5.1] Fixed int and bool validation aliases

Reverts uneeded changes in https://github.com/laravel/framework/pull/10469, and fixes the issue that if "int" was used, then the incorrect translation happens. We need to deal with the aliases at an earlier point.

:+1:


statsd cleanup

I was poking around and discovered the statsd subscriber.  In addition to being excited to test it out in prod, I noticed a couple small improvements we might make to simplify - using the &. operator to guard against nil objects, and adding test coverage...  what'd you think?

yeah, if someone explicitly plugs in the statsd subscriber but doesn't provide a client, failing loudly makes sense to me.  I just didn't want to change the functionality on my first pass...
we could also expose something in the config dsl that makes setup easier, eg.
Flipper.configure do |conf|
  conf.statsd = my_client
end


Add support for multiple service ports

Description
Add support for multiple service ports
Safety checklist

[ ] This change is backwards compatible and safe to apply by existing users
[ ] This change will NOT lead to data loss
[ ] This change will NOT lead to downtime who already has an env/service setup

How has this change been tested, beside unit tests?
YOUR_ANSWER

Files I'm using to test this PR:
# env.yaml
org_name: acme-corp
name: patrick-test
providers:
  aws:
    region: us-east-1
    account_id: "652824372180"
modules:
  - type: base
    total_ipv4_cidr_block: <IP_ADDRESS>/16
    private_ipv4_cidr_blocks:
      - <IP_ADDRESS>/24
      - <IP_ADDRESS>/24
      - <IP_ADDRESS>/24
    public_ipv4_cidr_blocks:
      - <IP_ADDRESS>/21
      - <IP_ADDRESS>/21
      - <IP_ADDRESS>/21
  - type: k8s-cluster
    node_instance_type: t3.medium
  - type: k8s-base
    nginx_extra_tcp_ports:
      - 9001
      - 48831

# service.yaml
name: foobar
environments:
  - name: patrick-test
    path: env.yaml
modules:
  - type: k8s-service
    name: app
    image: kennethreitz/httpbin
    ports:
      - type: http
        port: 80
        name: main
      - type: tcp
        port: 48831
        name: mq


Change color model ARGB to RGBA

Thanks for the submission @AndreyArapov! We do indeed have a bug here. I'm going to submit a slightly different change that should make this code more maintainable in the future.

Resolved by https://github.com/tangrams/tangram-es/pull/1689


Change heartbeat delay time

A heartbeat is supposed to be sent every 5 minutes (it does in the old backpack.tf automatic). Every 90 seconds causes errors.

Oh, ok. The documentation says 90 seconds, but if you say so.


expand section on Element Data Size

Note: the rules for unknown Data Size (that the master-element ends at the next element which is invalid at the sub-level of the master-element), presumes that the EBML Schema defines each Element and what levels it is valid at. I can add this info to the semantic section later.

I want to clarify that empty EBML Elements are allowed. The spec lists 0 as the bottom range of valid range for data sizes, but I think there should be a specific statement on zero-sized elements. Are there any odd notes about zero-sized elements?

Zero-sized elements are definitely allowed; it often happens in Matroska with master elements whose children are all set to their default value (and therefore omitted from the file). It's fine to state that such elements are indeed valid.
Note that I'm not sure if e.g. signed or unsigned integers with a data size of 0 octets are actually considered valid… libEBML always writes at least one octet for the data size, even if the data to encode is the value 0. Judging from the code libEBML should be able to read an unsigned integer with a data size of 0 octets; that would result in an unsigned integer of value 0.

I added a paragraph on when vint-data is zero filled in the Element Data Size as referred to Elements with this case as "Empty Element".

Note that I'm not sure if e.g. signed or unsigned integers with a data size of 0 octets are actually considered valid… libEBML always writes at least one octet for the data size, even if the data to encode is the value 0. Judging from the code libEBML should be able to read an unsigned integer with a data size of 0 octets; that would result in an unsigned integer of value 0.

My opinion, but I would suggest that a 0-octet signed/unsigned integer would have a different meaning than where Element Data is zero-filled. The latter explicitly means zero whereas the former would be unknown (perhaps invalid depending on the EBML Schema).
This would be similar in XML to:
<expected_unsigned_integer></expected_unsigned_integer>

vs
<expected_unsigned_integer>0</expected_unsigned_integer>

As you've said yourself a clarification that the list of known elements is defined by the semantics layer above EBML would be beneficial here. A pure EBML-only parser would not be able to parse such an element properly; parsing is only possible in conjunction with the semantic information.

I would propose that the EBML Schema define which Elements MAY have an unknown size, but this is change from version 1. Maybe to put on the wishlist for version 2 of EBML. At any rate I added some language on the dependency on the schema for the handling of unknown sizes.
Note I intend to add a section on EBML Schema soon that defines the requirements for declaring one.

changes made and rebased, please re-review

Elements without VINT_DATA bytes: hmm, yes, in XML these are different values semantically. However, I'd argue that we cannot or should not introduce a concept of an undefined value now. All of EBML's (and Matroska's) elements have defined values; introducing something fundamentally different is bound to lead to problems.
I think we should either state that integer/floating point elements without VINT_DATA represent the value 0 or that such elements are invalid. Not sure what would be better; probably the »value 0« case.

Just to be clear: certain EBML element types (strings, binaries, masters) are perfectly fine without VINT_DATA: empty strings, empty binaries, a master without children. I'm only talking about the scalar ones (signed integer, unsigned integer, float, date).

Suggestions on wording to address empty VINT_DATA? :)

So what's the call on VINT_DATA with length 0? I know my own parser (derived from mplayer's) considers it invalid.

@wm4 Actually there's nothing ambiguous about it. Even the current specs say that u/s integers need at least one byte of VINT_DATA, float needs 4 or 8.
Therefore: they're invalid.

I expanded on the validity of Empty Elements on how it is conditional per Data Type. To summarize Empty Elements are valid with String, UTF-8, Master-element, and Binary and invalid with Signed Integer, Unsigned Integer, Float, and Date. Will rebase and push shortly.

I updated the PR to remove the statement about parsing unknown size being dependent on schema knowledge. At this point I think this clears all issues brought up in the discussion. Ready to pull in my view.

Unless @robUx4 objects I'll merge this on Friday (I'll be out of town until then anyway).

As there have been no objections I'm merging it now.


Extension

Description
This PR fixes #
https://user-images.githubusercontent.com/53532328/167496587-8ce53282-dbd1-420d-bfa6-f38e7b449c75.mov
The video of the latest behavior.
Just FYI, after login the UserId is shown, my system is working super slow that's why it didn't show up on the video.
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

Wow. Is the list of service meshes responsive? Will list line wrap?

No, it doesn't line wrap, but it doesn't clash with other things either. When the window size is reduced a horizontal scrollbar appears.


feat: Default Animation Support

Default Animation Support for Most or All of the Fluent Blazor Controls, Having Default Animation for Most of the Controls would brings in Character to Fluent UI Blazor and etc..
For Example, When it comes to Fluent Select Component, The Flyout Could Really use some animation when opening and closing likewise having animation other controls would be awesome in usability stand point and etc..

This has been discussed before. We are not going to add it ourselves (as it is not in the v2 web components and Fluent 1 design).
If it will be part of web components v3 (which follow Fluent 2 design), it will flow to our components as well.


Configure dialyzer and fix multiple warnings

This conventions the use of the binary type rather than String.t
There is still quite a lot of noise cause by -Wunmatched_returns, but I think
we should keep this flag. These warnings are annoying when we are just interested on
the side effects of a function call. However, it's important to know when we are
not matching on returns as sometimes we should have done it. I have an idea of
how to integrate these reports into PRs and just care about the new warnings.
For now, I'm ignoring some warnings related to:

guards that actually don't exist on the lines dialyzer points to and the code works fine
string interpolation that work fine

It's worth noting that we do not have to build the PLT files on Travis. To speed up the process, they are prebuilt on travis by iurifq/travis_poxa_plt_generator and sent to S3. However, some combinations of elixir and OTP versions fail when building the PLT, so not all jobs run dialyxir successfully.

LGTM. Do you plan to add something else? I'm keen to merge as it is.

Feel free to merge. I will later create another PR integrating it with pronto-dialyzer :dancer:


feat(validation): add option to exclude a list of commits by sha

This adds a new configuration option, excluded-commits, which allows the user to provide a list of commits (full SHA1; 40 characters) that will be skipped during validation runs.
This is useful for instance when having to merge branches from other, less strictly checked repo's.

Pushed rebase to master.


task deletion

Is there a standard way to delete tasks?

@kfox1111
can you provide more detail? What is a task?
/priority awaiting-more-evidence

Ah, there's where this issue went. I'm sorry, I was trying to raise an issue in a different project and missed. I thought I was going crazy when I couldn't find it. :)
Sorry for the noise.


layoutCandidates for chinese layout not working

I'm trying to use layoutCandidates option to setup a chinese keyboard, but the candidatesBox does not appear.
The keyboard works for other languages, but I can't make the layoutCandidates option work.
Am I using it wrong?
chinese layout object reference: https://github.com/simple-keyboard/simple-keyboard-layouts/blob/master/src/lib/layouts/chinese.ts
// ...
import chinese from "simple-keyboard-layouts/build/layouts/chinese";
import Keyboard from "react-simple-keyboard";
import "react-simple-keyboard/build/css/index.css";

const KeyboardContainer = ({keyboardRef}) => {

    const keyboard = useSelector(state => state.keyboard);

    return (
        <div style={{visibility: keyboard.show ? '' : 'hidden'}}>
            <Keyboard
                keyboardRef={r => (keyboardRef.current = r)}
                layout={chinese.layout}
                layoutCandidates={chinese.layoutCandidates}
                onChange={keyboard.onChangeMethod}
                onKeyPress={keyboard.onKeyPress}
            />
        </div>
    )
}
// ...

Hello @bruno-irc,
This seems to be working as intended here: https://codesandbox.io/s/amazing-booth-x1vszm

Please feel free to provide a reproducible example if you still have the issue.
Regards,
Francisco Hodge

The problem here was with: 'layout={chinese.layout}' instead of {...layout}. layoutCandidates object was not set :)


Debugger, Gitignore Whitelist

changes files in the .vscode folder to now work with the playdate debugger extension, changed .gitignore to work as a whitelist instead of a blacklist

Looks good. Could you also change the link in Line 61 in the readme to this extension? Here's the new link: https://marketplace.visualstudio.com/items?itemName=midouest.playdate-debug

the original playdate extension is still required, so i'll add the debugger extension link alongside it


Fix Liqoctl Output

Description
This pr fixes some minor output issues in the liqoctl install command
How Has This Been Tested?

[x] locally

/test

/merge


Major version update for caret version (^3.6.1 suggests 5.1.0)

We're using dependabot in a javascript project. Today we got a pull request from Dependabot to upgrade a lib to a new major version, while our package.json defines the version ^3.6.1, which should mean not to change the most left digit.
.dependabot/config.yml:
version: 1
update_configs:
  - package_manager: "javascript"
    directory: "/applications/webapp"
    update_schedule: "weekly"
    target_branch: develop
    default_labels:
      - "dependencies"

package.json:
// devDependencies:
"fuse.js": "^3.6.1",

Corresponding log from Dependabot:
updater | INFO <job_28821646> Checking if fuse.js 3.6.1 needs updating
  proxy | 2020/04/06 09:04:17 GET https://registry.npmjs.org:443/fuse.js
  proxy | 2020/04/06 09:04:17 200 https://registry.npmjs.org:443/fuse.js
  proxy | 2020/04/06 09:04:18 GET https://registry.npmjs.org:443/fuse.js/5.1.0
  proxy | 2020/04/06 09:04:18 200 https://registry.npmjs.org:443/fuse.js/5.1.0
updater | INFO <job_28821646> Latest version is 5.1.0
  proxy | 2020/04/06 09:04:19 GET https://registry.yarnpkg.com:443/fuse.js
  proxy | 2020/04/06 09:04:19 200 https://registry.yarnpkg.com:443/fuse.js

Is this a bug in Dependabot?

it seems that dependabot has a general issue with the caret: in my Python project I have ^0.8 which allows versions >= 0.8.0 && <1, nevertheless, I get a PR with the requested change:
-pygls = {version = "^0.8", optional = true}
+pygls = {version = ">=0.8,<0.10", optional = true}

to allow pygls-0.9, see https://github.com/cp2k/cp2k-input-tools/pull/12

I believe we are experiencing this issue as well.
We have in our package.json: "graphql": "^14.7.0",
But dependabot is opening a PR to change this to: "graphql": "^15.3.0",
Not sure how to find dependabot logs but would be happy to attach them if someone can tell me where they are.

I believe we are experiencing this issue as well.
We have in our package.json: "graphql": "^14.7.0",
But dependabot is opening a PR to change this to: "graphql": "^15.3.0",
Not sure how to find dependabot logs but would be happy to attach them if someone can tell me where they are.

Maybe I am wrong, but I would see that as intended behavior: the "caret" usually acts on the last segment, meaning that ^14.7.0 is equivalent to >=14.7.0 && < 14.8, right? Hence the PR to upgrade the requirements to a new range.

I believe ^14.7.0 is equivalent to >=14.7.0 <15.0.0.  https://classic.yarnpkg.com/en/docs/dependency-versions/#toc-caret-ranges
I could be fundamentally misunderstanding what dependabot is supposed to be doing.  I thought that it evaluated whether a project could be updated to a newer version of a dependency based on the version constraint.  I don't quite understand why it's opening a PR and completely changing the version constraint.  Apologies if I've hijacked this issue.

Apologies, I think what I'm observing is not related to this issue and is intended behaviour.  See https://dependabot.com/blog/ignoring-major-version-bumps/:

Previously, Dependabot would troll you every time a new 4.x release came out. We liked to call it reminding, but let's be honest. Specifying a version constraint in your package.json wouldn't help either - Dependabot would just bump that constraint for you, too.

Cheers!

You can configure the desired behavior: https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/configuration-options-for-dependency-updates#versioning-strategy by default Dependabot will update to the latest version available. I think lockfile-only is what you'd want to configure for this

I think this can be resolved by adding the suggested configuration, so I'm going to close this issue out.


Swap out using childNode for firstChild and nexSibling

See issue #25

I investigated this and it is not an issue nanomorph has.

@kristoferjoseph ohey, interesting - do you mean this does not speed up iterating things? How'd you measure that?

@yoshuawuyts in a node env firstChild is not exposed on the element returned from bel so this is a non-starter.

@kristoferjoseph ah yeah, fair enough :sparkles: - agree we should just go with whatever's available to us and not complicate things by going down different paths or whatever; unless it's a huge improvement but with caching I doubt it will matter too much

@yoshuawuyts right. It started to look like we would need a branching strategy based on environment which felt wrong.
There is however a firstChildElement property that may give us what we want, but I have not looked into it much.
I feel you are correct in your idea that aggressive caching and early returning will be where most of the performance increases will come from. As it is this lib is smoking... hoping that fixing all the edge cases doesn't slow it down too much.
With that said, we could possibly consider using an immutable structure for quick comparisons of elements in a tree. again caching

@yoshuawuyts check this idea out:
https://github.com/kristoferjoseph/first-child-shim/blob/master/index.js
https://github.com/kristoferjoseph/next-sibling-shim
am I crazy?

Innnnnteresting - I wonder how this will perform. Gut feeling is telling me
we should wait on merging any of these optimizations at least until after
we've landed swapping sibling nodes as it might change the algo a bit +
gives us some time to bench this
On Wed, Jan 25, 2017, 00:41 kj<EMAIL_ADDRESS>wrote:

@yoshuawuyts https://github.com/yoshuawuyts check this idea out:
https://github.com/kristoferjoseph/first-child-shim/blob/master/index.js
https://github.com/kristoferjoseph/next-sibling-shim
am I crazy?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/yoshuawuyts/nanomorph/issues/29#issuecomment-274975260,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWlekv-XVa4AjMWagfBRNUb8X-YW2p7ks5rVowlgaJpZM4Lfnv4
.

totally agree that this is a farther down the road optimization... BUT the approach is super interesting to me.
We can use this same approach for attributes possibly as well.
It allows us to have different handling in server or browser context but maintain the same interface.
This specific firstChild/nextSibling optimization seems to make a big difference in the browser during large operations.
We will def need to add some benchmarks for these types of additions.


feat: generate SLSA level 3 provenance for release artifacts

This PR

refactors the build and release Actions workflows to remove unnecessary third-party GitHub Actions.
generates SLSA level 3 provenances.

Closes #25

generates SLSA level 3 provenances.

Also, it looks like we‘re pretty close to level 4 then?

Refactoring the pull-request.yaml to remove the dependency on conventional-pull-request-action is a separate PR, huh?

generates SLSA level 3 provenances.

Also, it looks like we‘re pretty close to level 4 then?

That needs to be assessed more carefully, but we are close :slightly_smiling_face:

@jenstroeger addressed your comments in a88a8f09f0f6bd6f53c164a7d24f54d2dd3cc114.

Two more thoughts:

We should make name/email changeable e.g. using environment variables so that users can set the user who commits to the repo: https://github.com/jenstroeger/python-package-template/blob/3180dcab4f114ec74bf96124e00c0b60a8b12898/.github/workflows/build.yaml#L70-L71 That’ll be useful when using an organization’s “dev ops” user for whom special branch protection exemptions exist (e.g. no PR required for that user). If not set, we can fall back to the current values. Python Semantic Release has a similar setting.
Publishing sdist/wheels to a public or self-hosted PyPI server is currently missing, we should add that. Python Semantic Release has that built in and we’ve disabled it: https://github.com/jenstroeger/python-package-template/blob/e5a047f9b0eeef74d06250eb1b63f73c6b63849b/pyproject.toml#L189 We could use the official twine package or use flit’s publish command (which, funnily enough, sends a POST request).

@behnazh within a workflow job, each step runs as a separate process and shell, yes?
Because if we have one step that creates and activates a virtual environment:
https://github.com/jenstroeger/python-package-template/blob/e5a047f9b0eeef74d06250eb1b63f73c6b63849b/.github/workflows/build.yaml#L33-L39
then the . (source) shell builtin does the following:

Read and execute commands from the filename argument in the current shell context.

Note the in the current shell context!
I think that shell context closes when the step finishes, and that means the next step
https://github.com/jenstroeger/python-package-template/blob/e5a047f9b0eeef74d06250eb1b63f73c6b63849b/.github/workflows/build.yaml#L47-L48
does not run inside of an activated venv (log):
Makefile:26: No Python virtual environment found, proceeding anyway

and so on. Take a look at the remaining steps in any of the recent Action runs here and here 🤦🏻♂
The fix would be to activate the virtual environment in every step, i.e.
    - name: Install dependencies
      run: |
        source .venv/bin/activate
        make setup

which sucks if we want to continue supporting Windows, or running all remaining build goals in the same step:
    - name: Create virtual environment and build artifacts
      if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }}
      run: |
        make venv
        source .venv/bin/activate
        make setup
        make dist docs
      env:
        PYTHON: python

Asked for confirmation in https://github.com/actions/setup-python/issues/359#issuecomment-1191450368.

We should make name/email changeable e.g. using environment variables so that users can set the user who commits to the repo:

:+1:

2. We could use the official twine package or use flit’s publish command (which, funnily enough, sends a POST request).

I would probably do the POST request because we need to upload the provenance too.

The fix would be to activate the virtual environment in every step, i.e.

Remind me why we need to activate the venv in Actions workflows?

I would probably do the POST request because we need to upload the provenance too.

…to the PyPI server, in addition to the python package?

Remind me why we need to activate the venv in Actions workflows?

I think, uhm, because

then we’re consistent with the local development and use of the Makefile, and
we switched to using venvs in the Actions with PR https://github.com/jenstroeger/python-package-template/pull/248 (see the first commit to that PR which breaks, and the second commit which fixed it) because we need the .venv/ folder to store the .upgraded-on file.

…to the PyPI server, in addition to the python package?

Yes, if we can't accompany our package with the provenance, then how should people find it?

We should make name/email changeable e.g. using environment variables so that users can set the user who commits to the repo:

+1

I addressed you comment here.

Does PyPI support the provenance? The twine upload command doesn’t seem to and only offers a --cert command-line option

Doesn't look like. And twine only uploads the wheel and source tarball (and .asc files to resign). It throws InvalidDistribution for other file formats.

Doesn't look like. And twine only uploads the wheel and source tarball (and .asc files to resign). It throws InvalidDistribution for other file formats.

One more item for our final writeup. It looks like the PyPI infrastructure itself isn’t (yet) equipped for a more thorough provenance management 🤔

Regarding publishing to the PyPI server, I prefer to use twine upload because I can explicitly pass the verified artifacts as args and it doesn't try to build the package. However, flit publish might build the package and publish an unverified artifact at the release step.
@jenstroeger WDUT?

@behnazh thanks for pointing that out! Interesting (somewhat disagreeable) design choice by flit:

Build a wheel and an sdist (tarball) from the package, and upload them to PyPI or another repository.

I would have expected that flit publish fails if there are no artifacts to publish, instead of building them without me asking it. But I can also see the point: I guess in general that’s more convenient to the user? Wonder what @takluyver’s reasoning was.

I prefer to use twine upload because I can explicitly pass the verified artifacts as args and it doesn't try to build the package.

Agreed, let’s do that then.

I would have expected that flit publish fails if there are no artifacts to publish, instead of building them without me asking it. But I can also see the point: I guess in general that’s more convenient to the user? Wonder what @takluyver’s reasoning was.

Roughly that I want to be thinking about publishing the project, not about creating and uploading artifacts.
To look at it another way, there are two kinds of issue that can arise: one where the artifacts you build and examine are not exactly the same as the artifacts you build and upload, and one where you forget to rebuild artifacts after a last minute change before uploading, or select the wrong artifacts to upload. Flit's approach minimises the risk of the latter, by building artifacts from your source code as part of the publication step. For the former, the aim is to make building artifacts as deterministic as possible, so rebuilding with no changes in the source files should ideally generate identical artifacts.
Finally, if someone really feels the need to check the exact artifacts that will be uploaded, it's easy to use flit build to create them and then twine to upload them.

@jenstroeger I addressed your comments. Please see 61002f72a7ff68cb8138b509b02de1e1efcf8c61.


Problem with enrico_plot_lc

Hi,
I am using the most recent version of enrico and when use enrico_plot_lc I get the following error
[LightCurve]: Reading files produced by enrico
Saw kwargs [u'ls', u'linestyle'] which are all aliases for u'linestyle'.  Kept value from u'linestyle'
/home/enrico/enrico/plotting.py:343: RuntimeWarning: divide by zero encountered in log10
optimal_markersize = (0.5+4./(1.+np.log10(len(y))))
/home/enrico/enrico/plotting.py:344: RuntimeWarning: divide by zero encountered in log10
optimal_errorlinewidth = (0.2+2./(1.+4.*np.log10(len(y))))
Traceback (most recent call last):
File "/home/enrico/bin/enrico_plot_lc", line 30, in
lcobject.PlotLC()
File "/home/enrico/enrico/lightcurve.py", line 216, in PlotLC
self._PlotLC()
File "/home/enrico/enrico/lightcurve.py", line 443, in _PlotLC
uplimIndex[~uplimIndex],bblocks=True)
File "/home/enrico/enrico/plotting.py", line 386, in plot_errorbar_withuls
edges = bayesian_blocks(x,y,yerr,fitness='measures',p0=0.5)
File "/home/enrico/enrico/extern/astropy_bayesian_blocks.py", line 154, in bayesian_blocks
return fitfunc.fit(t, x, sigma)
File "/home/enrico/enrico/extern/astropy_bayesian_blocks.py", line 334, in fit
block_length = t[-1] - edges
IndexError: index -1 is out of bounds for axis 0 with size 0
If I fix the photon index in the config file this error disappears.
Please, can someone help me to understand what is the problem?
Thanks

There should be a check when we call the bayesian block code to check the number of data points. Could it be perhaps that the source is not detected or you have only upper limits when the index is left free?
Perhaps changing in enrico/plotting:381 from
if bblocks and len(x[uplim])>2:
to
if bblocks and len(x[~uplim])>2:
does the trick.


Undefined variable contents

Wrong variable name here
https://github.com/TaffoVelikoff/imagekit-adapter/blob/master/src/ImagekitAdapter.php#L34

Good find, I can submit a PR to fix but its as easy as @sinnbeck mentioned with a change to the correct variable name.?

Good find, I can submit a PR to fix but its as easy as @sinnbeck mentioned with a change to the correct variable name.?


Create an API Proxy

Tutorials: https://developers.sap.com/tutorials/hcp-apim-create-api.html
In step 10 of the turoial the API Proxy is tested. this is not possible in the trial environment. In the trail environment the generated URL for the API proxy is wrong. In the trial environement it is necessary to manuyll adjust the URL in the test environment.
I found the following question related to the issue: https://community.sap.com/t5/sap-learning-q-a/developing-with-sap-integration-suite-how-to-modify-th.... This post shows that it is possible to invoke the API Proxy by manually adjusting the URL in the test environment.

Dear @Kakabira - can you please assist this user?

@ceedee666:
This tutorial is written for the production environment and doesn't cover the steps for trial environment. It's not possible to include a note about manually adjusting the URL in the test environment in this tutorial.


Does client go work for windows container? Cannot find service account token.

I run windows container on Kubernetes, I tried to use client go to access API server from in cluster pod. But the call rest.InClusterConfig() always gives error "open /var/run/secrets/kubernetes.io/serviceaccount/token: The system cannot find the path specified". I have the service account created with an admin role bound. But always the same error. I wonder if client go works for windows container? Any idea?

Actually I figured this is a bug in rest.InClusterConfig code, it hard codes token path to be "/var/run/secrets/kubernetes.io/serviceaccount/token". However in Hosted Process Windows Container. The token path is $CONTAINER_SANDBOX_MOUNT_POINT\var\run\secrets\kubernetes.io\serviceaccount\ as describe here

It's not a bug, the envvar path was a temporary solution while the feature was in alpha development, which we didn't add to the client libraries because there wasn't a feature-gate / conditional way to embed that logic. More details are at https://github.com/kubernetes/enhancements/pull/2865#discussion_r704941990
In beta versions, the token was expected to be at the normal path and resolvable by client-go without using the envvar prefix.
cc @marosset @jsturtevant

The ablity to use the incluster config is avalible in containerd 1.7+.
Linking the initial issue related to this: https://github.com/kubernetes/kubernetes/issues/104562


JSON Column Converting to Text

I ran into an issue when running artisan migrate:generate where json columns converted to text.

This is probably due to MariaDB support since that doesn’t use the json table format.  Instead it dynamically links all calls for “json” to “text” in the background.
If you’re using MySQL you do get JSON column support and can safely change that back to JSON.
Note that MariaDB will just ignore JSON and treat it as text if you do this.

jsonb convert to text! why??


Add r2_score based on requested changes.

This PR is a continuation of the PR #72.
I applied the requested changes.

Thanks for a PR. I think that for now, we don't need to implement sample_weight option, because I will make a PR which adds them to all metrics when they will be implemented. However, I think that it is worth to add similar option to sci-kit r2: force_finite. What do you think about it?

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


AppArmor profile absence default policy behavior

Hi,
Trying different policy fields and found out that in AppArmor profile policy I can't put an empty value
And AppArmor regex returns simple string regex template
Looks like it's okay because obviously the value of the AppArmor key can't be empty, but how to handle deployments with undefined AppArmor field?
I tried things like unconfined, runtime_default and localhost, like it's done in seccomp regex
But seems like it still doesn't handle it properly(according to the code and the behavior) and I get:
Container 'container1' has AppArmor profile type ''
Is there a way to handle undefined AppArmor field without changing deployment's and host's configs via adding explicit annotations?
Thanks in advance

Hey @TrueBad0ur,
could you describe the expected behviour you would like to see?
To me it sounds like you are creating a policy enforcing an AppArmor configuration but also want to allow an empty AppArmor config, e.g. because the deployment is using a default AppArmor profile?


Package dependencies fail

This is stopping openshift #134 and appveyor.

travis and openshift are now happy.  appveyor is still failing; needs to use later release of nodejs.


error: 'static is a reserved identifier' when running in strict mode

I am running the latest code compiled from master, but when trying to compile in the browser under strict mode it is throwing this error.
The problem is caused by a function parameter in emitter.ts called 'static' which needs to be renamed to something else.
function getInitializedProperties(node: ClassLikeDeclaration, static: boolean) {
                let properties: PropertyDeclaration[] = [];
                for (let member of node.members) {
                    if (member.kind === SyntaxKind.PropertyDeclaration && static === ((member.flags & NodeFlags.Static) !== 0) && (<PropertyDeclaration>member).initializer) {
                        properties.push(<PropertyDeclaration>member);
                    }
                }

                return properties;
            }

thanks @frankwallis


Fix linting errors indentified by cpplint

Ran the code through cpplint and fixed all the errors it identified. Mostly just a bunch of trailing whitespace but some other minor issues.

:+1:


Items played using preview/postcard functions do not update current item information

While using the postcard/preview function to temporarily play images on the Canvas, the currently played item information is not updated. This is by design in the Canvas, as the preview function is a temporary override that will automatically disappear - the currently played item is still playing, it's just showing something else right now.
However, this may be confusing for users for whom the HA interface offers no difference between playing or previewing images.

Theoretically we could override the current item information when we call the code to preview an image, but we don't know when the Canvas stops previewing. Displaying the preview image data when the preview has ended and we've gone back  to the 'normal' item would be just as confusing.


Update RootCertUrl?

Currently, in the PowerShell bootstrap script, a variable ($RootCertUrl) is bound that takes a type of String. However, the Install-RootCerts function allows for a list of strings to be passed in and it will iterate through each string allowing for retrieving certs from various hosts.
Should the bound variable be updated to allow for a list of string to be passed and thus passed on to the function?  Or shall we just ignore this minor discrepancy, i.e. the function can handle the list of strings but the script itself only allows for one host to be passed in?

@KevinPlus3, perhaps we can make that change on watchmaker. We don't really have a use case for passing in multiple cert hosts at this time, and we're trying to minimize changes to SystemPrep to those with immediate user impact.


Allow sort-classes to match property-function: properties whose values are functions or arrow-functions.

Description
Solves https://github.com/azat-io/eslint-plugin-perfectionist/issues/189.

Adds a new selector: property-function, with a higher priority than property. This selector will only match properties whose values are functions or arrow-functions. Properties typed as a function but without values will not be recognized as property-function.

Additional context
I have been wondering if this feature should be implemented as a custom-group feature instead. (c.f: https://github.com/azat-io/eslint-plugin-perfectionist/issues/189#issuecomment-2276853937)
I agree with @OlivierZal that this is probably worth adding as an official group.
What is the purpose of this pull request?

[x] New Feature

@hugop95, I would just add the call-signature (TSCallSignatureDeclaration) use case in the scope of this PR, since this type is kind of an unassigned arrow-function signature.

@hugop95, I would just add the call-signature (TSCallSignatureDeclaration) use case in the scope of this PR, since this type is kind of an unassigned arrow-function (signature).

Ok, I'll add it!

@OlivierZal Some notes and questions regarding call-signature:

a: () => {} can be detected with TSFunctionType. Classes can't have call signatures if I recall, so I don't think TSCallSignatureDeclaration will be used. We could rename call-signature to function-type-property ?
Take the following case:

type MyFunctionType = () => void; // A very complex function type

class Class {
   a: FunctionType
}

Should a be marked as function-type-property?
For information,
class Class {
    a = () => {}
    b = a
}

will not mark b as function-property currently.

I think that all elements marked as function-property should also be marked as function-type-property. What do you think? In that case, the selector priority order related to properties would be: function-property > function-type-property > property.

@hugop95, all these are good questions and need some research from my end, because I think that call signatures do belong to classes.
There's also another case to handle I've just thought about: TSConstructSignatureDeclaration, e.g.
const a = new () => any

@hugop95, maybe this could help: https://babeljs.io/docs/v8-migration-api

There's also another case to handle I've just thought about: TSConstructSignatureDeclaration, e.g.
const a = new () => any

These types of cases are why I was thinking of adding this feature in custom groups. In the proof of concept branch that I made:
https://github.com/hugop95/eslint-plugin-perfectionist/blob/c67783c9222425dc7e5e7de7e0d5c9cbb709a159/rules/sort-classes-utils.ts#L177
There is the possibility to explicitly enter patterns to match things types like the example you showed.

Alright then!
@azat-io PR is ready.

Released in v3.2.0.
Thank you!


HDDS-4248. Add ratis log parser to ozone script.

What changes were proposed in this pull request?
Add ratis log parser to ozone script
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4248
How was this patch tested?
Tested it on a local laptop. Now able to use ratislogparser. (Already integration tests are there, as it is missing script to run command tested locally)

bin/ozone ratislogparser om -s=/Users/bviswanadham/log_7433987-7440022

	 State Machine: cmdType: CommitKey traceID: "" clientId: "client-A28FC444970F" userInfo { userName: "root" remoteAddress: "xx.xx.xx.xx" hostName: "xx.xx.xx.xx" } commitKeyRequest { keyArgs { volumeName: "vol1" bucketName: "bucket1" keyName: "6tnsw11izq/116775" dataSize: 1048576 keyLocations { blockID { containerBlockID { containerID: 367 localID:<PHONE_NUMBER>07658477 } blockCommitSequenceId: 3059494 } offset: 0 length: 1048576 createVersion: 0 pipeline { members { uuid: "cc57411d-1bd6-4ffa-8eaa-57bce2b7a65e" ipAddress: "<IP_ADDRESS>" hostName: "vc1326.halxg.cloudera.com" ports { name: "RATIS" value: 9858 } ports { name: "STANDALONE" value: 9859 } networkName: "cc57411d-1bd6-4ffa-8eaa-57bce2b7a65e" networkLocation: "/default" uuid128 { mostSigBits: -3722434973721538566 leastSigBits: -8166618505513818530 } } members { uuid: "5e747ca2-9ee7-4fef-b849-bba157093455" ipAddress: "<IP_ADDRESS>" hostName: "vc1334.halxg.cloudera.com" ports { name: "RATIS" value: 9858 } ports { name: "STANDALONE" value: 9859 } networkName: "5e747ca2-9ee7-4fef-b849-bba157093455" networkLocation: "/default" uuid128 { mostSigBits:<PHONE_NUMBER>756167663 leastSigBits: -5167392795806583723 } } members { uuid: "95425b01-6066-44e8-87d7-4d9962c09028" ipAddress: "<IP_ADDRESS>" hostName: "vc1332.halxg.cloudera.com" ports { name: "RATIS" value: 9858 } ports { name: "STANDALONE" value: 9859 } networkName: "95425b01-6066-44e8-87d7-4d9962c09028" networkLocation: "/default" uuid128 { mostSigBits: -7691485152124975896 leastSigBits: -8658366437414367192 } } state: PIPELINE_OPEN type: RATIS factor: THREE id { id: "5fc02703-4568-4ee5-9680-b23fd2b49e56" uuid128 { mostSigBits:<PHONE_NUMBER>134448869 leastSigBits: -7601880183813661098 } } leaderID: "95425b01-6066-44e8-87d7-4d9962c09028" creationTimeStamp:<PHONE_NUMBER>754 leaderID128 { mostSigBits: -7691485152124975896 leastSigBits: -8658366437414367192 } } } modificationTime:<PHONE_NUMBER>757 } clientID:<PHONE_NUMBER>07609688 }

Thanks @bharatviswa504 . I can see RatisLogParser is available in Ozone debug cli.
`sbanerjee-MBP15:bin sbanerjee$ ./ozone debug
Incomplete command
Usage: ozone debug [-hV] [--verbose] [-conf=]
[-D=<String=String>]... [COMMAND]
Developer tools for Ozone Debug operations
-conf=
-D, --set=<String=String>
-h, --help      Show this help message and exit.
-V, --version   Print version information and exit.
--verbose   More verbose output. Show the stack trace of the errors.
Commands:
chunkinfo       returns chunk location information about an existing key
ldb             Parse rocksdb file content
ratislogparser  Shell of printing Ratis Log in understandable text
`

I can see RatisLogParser is available in Ozone debug cli.

Yes, ratislogparser was moved from top-level command to sub-command of ozone debug in #684.

Now able to use ratislogparser.

You should be able to use it without any change as: ozone debug ratislogparser om -s=....

Thank You @bshashikant and @adoroszlai for the info.
I will close this PR.


Add withValue to Shared, deprecate direct mutation.

Currently we allow for unfettered mutations to @Shared, and while the underlying storage is locked and so it won't crash, that doesn't mean there isn't a possibility for a race/data corruption.
We were hoping that some of the new isolations tools from Swift may have made it more possible to make this safe and ergonomic at the same time, but we're not sure how that will work, and also it would only be Swift 6+ (and in Sept '24).
So, we think a safer thing to do for now is deprecate wrapperdValue { set } on @Shared and instead force withValue just like with our LockIsolated type.
There are more changes to make to this PR before merging, such as updating docs and tutorials, but wanted to get this out there early so people know it's coming.

Could you also add the map function to the Shared and SharedReader modules? I tried to extend them quickly but couldn’t since initializers are not exposed. It would be great to have the possibility to import as SPI for their initializers as well.

Could you also add the map function to the Shared and SharedReader modules? I tried to extend them quickly but couldn’t since initializers are not exposed. It would be great to have the possibility to import their initializers as SPI.

Hi @OguzYuuksel, since this is asking for new functionality that is not related to this PR, would you mind starting a discussion instead? And can you please provide as much detail as possible, because it's not clear what you want from a map function that isn't already possible from @dynamicMemberLookup.

We weren't super happy about the ergonomic regression of mutating shared values, so we explored some middle ground. In the latest version of this PR, mutations are only forbidden from asynchronous contexts. This means you will still be free to mutate shared state from a reducer:
case .incrementButtonTapped:
  state.count += 1  // ✅

But you will get a warning with a helpful message when updating from an effect:
case .delayedIncrementButtonTapped:
  return .run { _ in
    @Shared(.count) var count
    count += 1  // ⚠ Use '$shared.withValue' instead of mutating directly.
  }

And this warning will be an error in Swift 6 mode.


passThroughProps seems overkill

Version: 5.1.0
Environment: DOM / Server
Type: Feature / General

Description
Hi there. Just starting out with your library this past week and I'm really enjoying it so far.
But one thing that I find a bit too verbose and I think might become a headache in the future is the passing down of props to my components, especially those props such as onClick and other regular DOM element props.
Right now, it seems the only way to achieve this behaviour is like this:
on createComponent() :
const ClickableList = createComponent(props => ({
  backgroundColor: "purple",
  color: "orange",
  fontFamily: "Roboto",
  fontWeight: "500",
  padding: "2em",
  userSelect: "none",
  cursor: "pointer",
}), "ul", ["onClick"]);

Or directly on the component itself:
<ClickableList passThrough={["onClick"]} onClick={this.flyMap}>
   {links}
</ClickableList>

Having to do this on every single component I would like to directly interact with seems overkill. If it is absolutely necessary that you don't have a white list that includes these kinds of props, then I propose a solution:

Proposal
Perhaps a global place to set your white list?
Code Example:
// Either at the creation in the config (probably best):

renderer = createRenderer( { ... , passThroughProps: ["onClick"]} );

// or on the actual renderer...

renderer.passThroughProps = ["onClick"]

Because I can see a lot of props that I know I will never use as style props. This would make working with Fela a bit more natural.

Hey, createComponentWithProxy might work for you, it passes everything that you don't use in the rule function :)

Ah okay great. That seems to be what I'd like, thanks :)
Is there any reason this isn't the default ? Such as performance etc. ? I want to keep things as lean and performant as possible, so if that's the case I might still go the regular route.

It's not the default behaviour as we do not really know much about proxies and there possible issues. One would be performance, although we found out it's not really slowing anything. Just like ~5ms or sth.
You should be with the the proxy version :)