Unable to install Plugins on v2

TASK [geerlingguy.jenkins : Install Jenkins plugins.] **************************
failed: [*******] (item=cloudbees-folder) => {"changed": true, "cmd": ["java", "-jar", "/opt/jenkins-cli.jar", "-s", "http://localhost:8080/", "install-plugin", "cloudbees-folder", "--username", "admin", "--password", "admin"], "delta": "0:00:00.151930", "end": "2016-07-25 19:42:42.309683", "failed": true, "item": "cloudbees-folder", "rc": 255, "start": "2016-07-25 19:42:42.157753", "stderr": "java.io.IOException: No X-Jenkins-CLI2-Port among [null, X-Required-Permission, X-Jenkins, X-You-Are-In-Group, X-Hudson, Content-Length, Expires, X-You-Are-Authenticated-As, X-Permission-Implied-By, Set-Cookie, Server, X-Content-Type-Options, Date, X-Jenkins-Session, Content-Type]\n\tat hudson.cli.CLI.getCliTcpPort(CLI.java:284)\n\tat hudson.cli.CLI.<init>(CLI.java:128)\n\tat hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)\n\tat hudson.cli.CLI._main(CLI.java:473)\n\tat hudson.cli.CLI.main(CLI.java:384)\n\tSuppressed: java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8080/cli\n\t\tat sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628)\n\t\tat hudson.cli.FullDuplexHttpStream.<init>(FullDuplexHttpStream.java:78)\n\t\tat hudson.cli.CLI.connectViaHttp(CLI.java:152)\n\t\tat hudson.cli.CLI.<init>(CLI.java:132)\n\t\t... 3 more", "stdout": "", "stdout_lines": [], "warnings": []}
	to retry, use: --limit @./jenkins.retry

Tried rerunning after creating the default user admin and same result. Guessing the hook changed in v2.

Ansible v2? I'm installing plugins with Ansible v2 on my system and it seems to work fine...
jenkins_plugins:
  - build-timeout
  - scp
  - credentials-binding
  - ssh-slaves
  - xtrigger
  - copy-to-slave

Sorry, I ment Jenkins v2. Hooks were in ref to Jenkins, should of been more clear. I'm also using ansible v2.

Odd... seems to work on Jenkins 2.14 for me...

Interesting. I just spun up a fresh debian 8 image at AWS and only ran the jenkins role, got the same error.
---
- hosts: jenkins
  become: true
  vars:
    - jenkins_plugins:
      - "cloudbees-folder"
  roles:
    - geerlingguy.jenkins

Thanks for testing, though.

Strange. FWIW I'm testing / deploying on CentOS.

@willfarrell I just did a full teardown and rebuild test, and now it looks like I'm hitting the same issue. I don't think the issue is with the playbook (because I didn't change my Ansible environment, just the VM environment).
I suspect it's a Jenkins issue with 2.15, because I was running fine on 2.14. I won't be able to investigate any further as I'm on vacation starting now (for a week). Based on what I've been seeing though, I think this is a Jenkins bug, not an Ansible role issue.

Okay, thanks for looking into it. I'll post it over at jenkins. Have fun on vacation.

@willfarrell sorry again... I looked further into this. I honestly have zero idea how this was working at all before for me. The plugins.yml task file has the Install Jenkins plugins. play and that uses a command that calls the jenkins-cli.jar file.
The arguments in use are --username and --password. According to this page (https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI) those arguments were removed in 1.419.
Not sure if the jenkins-cli.jar lines up exactly with the same version numbers as the full release. If so, I'm super confused how I had this working at all previously.

Version pinning will be doable in the next release... just working on a couple more tweaks before tagging a release to Galaxy. Hopefully we can get to the bottom of this!

@geerlingguy so I know the cause and am working on a fix now. Hoepfully I'll have a PR today. I'd like to consider this a blocker for the next tagged version.

@leifmadsen - Thanks! And I'm 50/50 on considering plugin install a blocker—there's a reason why I made it default to not installing anything, because it's been so fragile over the course of this role's lifetime (Jenkins seems to not have CLI/automated config management of itself as a high priority usually...).
But if you can get it working reliably (and want to add back a test of installing a plugin in one of the Travis environments), that'd be awesome!

@leifmadsen - Also note that I just merged in some other changes to follow up on #75 and get tests running on CentOS 7 (CentOS 6 tests are sloooow and inexplicably fail from time to time on Travis' Docker environment).

@geerlingguy awesome! Yea if the tests don't execute consistently, then there is kind of no point to them.
OK, after talking to @yrobla I understand now what the issue is. Basically, the version pinning introduced a regression that she had just fixed :) I'm now working through how best to address this. Having looked at the code some more, there are a few things I don't like about the version pinning as it stands now, and I want to address those at the same time (the use of /tmp/ to download the files, no clean up of the files, etc).
@willfarrell basically, this issue is already solved by #72 -- the issue was that the --username and --password options are not available to the jenkins-cli application when authentication isn't setup. Yolanda just recently added that functionality, and now it should work (but it won't work with version pinning right now -- I'm going to fix that soon).

Thanks everyone. I'm in no rush for it. I can hammer it with some test once everything is ready to go.

OK, #77 is ready for review.

I seem to be getting the same result with your changes (#77), even with version pinning to 2.14.

@willfarrell is this a clean install? Try removing the Jenkins package (with yum or apt) and then running again.

@leifmadsen Yeah, I do a clean Debian ami every time.

@willfarrell awesome thanks, I did the same thing locally (it takes a while to spin up in my environment). I just reproduced as well. I'll look into it this afternoon and hopefully have it sorted then. Thanks for the feedback!

Well, turns out I was wrong about the problem I saw. I hadn't switched over to using my own repo (which has this changed merged down). I just tested it again, and it seems to work fine with version pinning on my setup. I am using this in my requirements.yml:
- src: https://github.com/leifmadsen/ansible-role-jenkins.git
  version: master
  name: leifmadsen.jenkins

The main difference I see is that I'm using CentOS and you're using Debian. Can you try with my branch on Debian with a fresh deploy, just to see if it's a Debian thing, or maybe something I did wrong in the play?
I'm also going to attach some changes here to .travis.yml as well as it looks like there are tests to deploy a module, but it's just not being called in the Travis-CI.

Without version pinning: same result.
With: jenkins_version: 2.14:
TASK [galaxy.jenkins : Install our specific version of Jenkins.] ***************
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "failed": true, "module_stderr": "", "module_stdout": "\r\nTraceback (most recent call last):\r\n  File \"/tmp/ansible_Ow0AIZ/ansible_module_apt.py\", line 842, in <module>\r\n    main()\r\n  File \"/tmp/ansible_Ow0AIZ/ansible_module_apt.py\", line 798, in main\r\n    force=force_yes, dpkg_options=p['dpkg_options'])\r\n  File \"/tmp/ansible_Ow0AIZ/ansible_module_apt.py\", line 538, in install_deb\r\n    diff[\"prepared\"] += '\\n\\n' + out\r\nKeyError: 'prepared'\r\n", "msg": "MODULE FAILURE", "parsed": false}
	to retry, use: --limit @jenkins.retry

@willfarrell honestly that is kind of looking like a bug in the Ansible module at first glance. What version of Ansible are you running with?

That's what it looks like. I was updating while you posted. 2.0.x -> <IP_ADDRESS>
Same error for both use cases now. hmmmm

Well that's interesting. Did a quick Google search, found this:
https://github.com/ansible/ansible-modules-core/issues/3752
Looks to be resolved in the code, but possibly not released yet.

lol, well that's just super. Maybe we'll have to wait this bug out.

@willfarrell try going back to stable-2.0 as I saw someone else revert back to an older version of the 2.x deploy where it worked. Maybe it was a regression in a sub-release of 2.0. Worth a shot any ways.
I'm pretty confident based on my testing that my changes here all work fine. Seems to just be the version pinning that is broken on Debian (regardless of this change directly, since version pinning was added to this role in another commit).

@geerlingguy, @willfarrell, I've updated the Travis-CI yaml file to perform a larger set of tests (there were some tests that weren't actually being deployed in Travis-CI but were available in the tests/ directory).
I just realized I could probably add a version-pinning test as well. I might do that in a moment. It will probably fail on Debian though based on the feedback @willfarrell is providing :)

@willfarrell ok well.... good news and bad news :)  Good news is that I added the tests with version pinning and a plugin. The bad news is that I can't reproduce the issue. I wonder if this is specific to Debian, rather than Debian-derivative distributions (Ubuntu).

@leifmadsen - I was able to reproduce the issue with Ubuntu. The issue seems to be related to these 3 issues: JENKINS-23232, JENKINS-23110 and JENKINS-35197.
The workaround for this would be to have something in vars/Debian.yml that specifies the $JAVA_ARGS -Dhudson.diyChunking=false as a sane default and then using combine to merge the jenkins_init_changes with it, but messing with someones environment seems bad to me. I solved it by overriding the jenkins_init_changes with:
jenkins_init_changes:
  - option: "JAVA_ARGS"
    value: "-Dhudson.diyChunking=false"

which worked for me.

@johnpneumann awesome thanks for the info. I'm not entirely sure if there should be a change then... maybe just a documentation note? Should I actually attempt to address this?
CC: @geerlingguy

@leifmadsen - I've merged your PR, but do you think should we do anything else prior to tagging a new minor release or will this be good enough for now, and we can take some time to make anything else better?

@geerlingguy everything works for me, so any other issues are really somewhat outside the scope of this playbook directly (i.e. bugs in Jenkins or elsewhere).
I'm on CentOS, and clearly we want things to work for everyone, but we'd have to put in a bunch of work arounds, and I'm not sure that's really something I want to do (plus I don't use Ubuntu, so I can't really easily test).
From my viewpoint, nothing else is blocking a new release.

@leifmadsen - Okay, thanks so much for your help! Going to tag 2.5.0 now.

Would it be worth adding a note to the README referencing this issue for Debian/Ubuntu users?

@johnpneumann - I'd rather try to find a good fix for it... can you open a separate issue that's Deb/Ubuntu specific and we can work from there?


More detalied use for onemetric

Hi, im interesting in this project, but i dont now how to send the batches to mAP metric for yolo.
my yolo v2 generator generate batches like (batch_size, 13, 13, 5, 4 + 1 + n_classes), and the net produce a output shape like ground truth (batch_size, 13, 13, 5, 4 + 1 + n_classes). If i try onemetric it will be works well ?
And if i do with a yolov3 or yolov4 model ? it work to ? or only work with DarkNet api ? im build all in TF.
Thks a lot!

Hello, @kascesar yup it should work :) what yolov3 implementation are you using? https://github.com/ultralytics/yolov3 ?

Thnks, i will be implemented in the near future. but, wee understand that the yolo out put are:
3 x (bz, gridX, gridY, n_ anchors, 4 + 1 + n_classes).
This work with this 3 head output as defect? or we need to do some code ?

@kascesar It will work, there will only be a need for a small function to going from your detection tensor to the required format. That should be easy.


skywalking agent 6.2.0 jvm memory footprint is huge and growing

skywalking agent 6.2.0 jvm memory footprint is huge and growing
Jmap monitor object occupancy:
num     #instances         #bytes  class name
----------------------------------------------
   1:       9050602<PHONE_NUMBER>  [C
   2:       3818194      459214360  [B
   3:       8140462      195371088  java.lang.String
   4:       3000237      168013272  org.apache.skywalking.apm.network.register.v2.Endpoint
   5:       1320025      165971680  [I
   6:       4834363      154699616  java.util.concurrent.ConcurrentHashMap$Node
   7:       4658610      149075520  org.apache.skywalking.apm.agent.core.dictionary.EndpointNameDictionary$OperationNameKey
   8:       3000237       72005688  org.apache.skywalking.apm.dependencies.com.google.protobuf.ByteString$LiteralByteString
   9:       1647448       68221432  [Ljava.lang.Object;
  10:          4643       43759112  [Ljava.util.concurrent.ConcurrentHashMap$Node;
  11:        934785       37391400  java.util.LinkedHashMap$Entry
  12:       1026014       32832448  java.util.LinkedHashMap$LinkedKeyIterator
  13:       1761775       28188400  java.lang.reflect.WeakCache$LookupValue
  14:        200596       18161200  [Ljava.util.HashMap$Node;

The class org.apache.skywalking.apm.agent.core.dictionary.EndpointNameDictionary
takes up very large memory, is it a bug？  the version number is 6.2.0
Eclipse mat tool analysis result

@david1228 Can you provide more detail? Do you really have such many endpoints in the application, if not, what does the endpoint look like, are there variables in the endpoint name?

@david1228 please add new comment instead of updating the original comment, otherwise we won't get notified. what's the framework are you using?

if it's Spring MVC and the endpoint is /api/checkTicket/tk/{ticketNumber}, they should be merged, see #2676

Dictionary#ENDPOINT_NAME_BUFFER_SIZE default way is 1000 * 10000 for keeping things safe. If you have tons of endpoint, which I think it is impossible, you could make it smaller.
But at the same time, this number of endpoint could be an issue to backend too. Make too many unnecessary payloads to backend cache. We set 100000 as the max cache size, more than that, you will make the payload to ElasticSearch directly.
@david1228 Please try to find out why you have so many endpoints, this should not happen.
@kezhenxu94 I am going to open configurable to the OAP cache size, which is not related to this, I just don't want it to be static config.

@david1228 please add new comment instead of updating the original comment, otherwise we won't get notified. what's the framework are you using?

Ok, Our own application uses springcloud framework, but /api/checkTicket/tk/{userToken} third part api called by spring web restTemplate, the {userToken} parameter is different for each user.

Ok, Our own application uses springcloud framework, but /api/checkTicket/tk/{userToken} third part api called by spring web restTemplate, the {userToken} parameter is different for each user.

This would be an issue, if we add pattern match in the core, it gives extra CPU payloads. Maybe we should consider adding an optional API to the plugin?
@kezhenxu94 @zhaoyuguang @IanCao @candyleer @JaredTan95 What do you think?

pattern match

The matching rule needs to be compatible with this case: such as http server. When the request resource does not exist, like HTTPCOE 404, and the operationName needs to be classified as a kind.

Ok, Our own application uses springcloud framework, but /api/checkTicket/tk/{userToken} third part api called by spring web restTemplate, the {userToken} parameter is different for each user.

This would be an issue, if we add pattern match in the core, it gives extra CPU payloads. Maybe we should consider adding an optional API to the plugin?
@kezhenxu94 @zhaoyuguang @IanCao @candyleer @JaredTan95 What do you think?

The matching rule needs to be compatible with this case: such as http server. When the request resource does not exist, like HTTPCOE 404, and the operationName needs to be classified as a kind.

The matching rule needs to be compatible with this case: such as http server. When the request resource does not exist, like HTTPCOE 404, and the operationName needs to be classified as a kind.

This looks like operation override, this should have been there, right? We have span#setOperationName. Let me start a new issue to discuss.

Provide a feature pull request at #3299. Then you could group the URLs with given rules.


Prod update

Remember to merge using the Merge pull request/Create a merge commit method and using Prod update (Merge) as commit title.
Wait until branches prod and prod-beta from https://github.com/RedHatInsights/policies-ui-frontend-build repository are updated.
Trigger the deployment in jenkins.

See prod deployment for more info.

Codecov Report

Merging #332 (ea8cc0f) into prod (55ef9a5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             prod     #332   +/-   ##
=======================================
  Coverage   90.69%   90.69%
=======================================
  Files         117      117
  Lines        2483     2483
  Branches      466      466
=======================================
  Hits         2252     2252
  Misses        230      230
  Partials        1        1


Using container images that acorn uses from ghcr (#1022)

Checklist

  The title of this PR would make a good line in Acorn's Release Note's Changelog
[x] The title of this PR ends with a link to the main issue being address in paranthesis, like: This is a title (#1216). Here's an example
[x] All relevant issues are referenced in the PR description. NOTE: don't use GitHub keyworkds that auto-close issues
[x] Commits follow contributing guidance
[x] Automated tests added to cover the changes. If tests couldn't be added, an explanation is provided in the Verification and Testing section
[ ] Changes to user-facing functionality, API, CLI, and upgrade impacts are clearly called out in PR description
[ ] PR has at least two approvals before merging (or a reasonable exception, like it's just a docs change)

We agreed that the ghcr token expiring is fine


Issues computing mappings from relational databases

We have been performing tests with the RODI benchmark and used -ontop- as mapping extractor.
We have found the following issues. The database dumps can be found in the folder folder "data" in https://github.com/chrpin/rodi

We could not compute the mappings for the databases mondial_rel and conference_nofks

Table name specified twice:

cmt_mixed database:
ERROR: table name "persons" specified more than once
mappingId    MAPPING-ID72
target        http://www.semanticweb.org/cp/ontologies/2015/9/untitled-ontology-25/persons/id={persons_id} http://www.semanticweb.org/cp/ontologies/2015/9/untitled-ontology-25/persons#ref-assigned_by_reviewer http://www.semanticweb.org/cp/ontologies/2015/9/untitled-ontology-25/persons/id={persons_id} .
source        SELECT "persons"."id" AS persons_id, "persons"."id" AS persons_id FROM "persons", "persons" WHERE "persons"."assigned_by_reviewer" = "persons"."id"
We got a similar error in cmt_structured_ci database.
Thanks
Ernesto

@ernestojimenezruiz I imported mondial_rel into our postgres server.
I tested bootstrapping mondial_rel using ontop 1.16 from command line. I see two problems:

The generated mapping files contain BNode( ... ) which currently is not recognized by the Ontop mapping parser.

In your mondial_rel database, there are multi schemas, the generated SQLs do not contain the schema part when referring to a table. Then later ontop cannot find those tables not in the default schema.

The first issue is a known issue and requires more efforts to fix. The second one should be easier to fix.
We will also check how develop branch works and how ontop-bootstrapper behaves on other databases.


Nltk download tool

This should fix the issue where NLTK was raising an error. Please try it.

Opened in error.

looks good to me. I'll review later. But thanks for adding the nltk_downloader.py file.

I'm glad you found that useful.


Support datatables in test mode

details of issue here - kelaberetiv#348
when datatable is used with test option, execution hangs after the first iteration. this is because casperjs test mode treats every parameter as in input file to test. when the datatable parameter is passed to casperjs it hangs because it is not a valid test js file. modified tagui and tagui.cmd to not pass parameters to casperjs in test mode.
technical details here - http://docs.casperjs.org/en/latest/testing.html#arguments
The casperjs test command will treat every passed argument as file or directory paths containing tests. It will recursively scan any passed directory to search for *.js or *.coffee files and add them to the stack.

Hi @ryzalk I created a PR to address issue #348, please help to merge with 'squash and merge' to make it cleaner on the master repo commit history. This PR allows the use of datatable for batch automation in test mode. more use case and technical details above. Thanks to @kurawadiprasanna for raising. This PR should be applied after the previous PR on live mode dynamic variables - https://github.com/kelaberetiv/TagUI/pull/350


Add missing lang lib doc comments

$subject.

Codecov Report

Merging #17101 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #17101   +/-   ##
=======================================
  Coverage   68.85%   68.85%
=======================================
  Files           5        5
  Lines         122      122
  Branches       21       21
=======================================
  Hits           84       84
  Misses         38       38

Continue to review full report at Codecov.

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


No default_date

There should be a possibility to not set a default_date. When you click the input for the first time, it should stay empty until a date is selected. The best way for this would be to add support for a 'false' bool value to the default_date option.

Please can you make demo and show exactly what is going wrong on your opinion?

This is actually a feature request, not a bug. I want to set no default_date. Which means, that after I initialize the plugin on an input, and when I focus on the input, when the calendar shows I don't want today's date to be selected. I want to select a date on my own.

Actually, this option was added, as I remember, just for that, that is why I was asking for demo.

I think you're not understanding me. Yes, default_date is added, but I want NOT to select a default_date. I want it to be empty. I want the input to be filled with a date only when I select one, and not immediately after the focus on the input.

Now I understand what you mean. I'll add it to TODO list, feel free to send pull request if you'll make it faster.
I can't promise it will be done very soon.

I am already doing it, I will send for review in a few minutes...

I did a pull request, please compare and test if everything works well.

Have you had some time to review the pull request?

Not yet, I hope tomorrow.


Editor : Scene Tree icons' tooltips dont match icon when narrow

Godot version
4.1.stable
System information
Windows 11 (x64), Intel(R) Core(TM) i5-9400 CPU, Vulkan,  NVIDIA GeForce GTX 1660 Ti driver version 528.24
Issue description
When resizing the Scene Tree view, making it narrow, the tooltips of the icons no longer match the position of the icons.
The tooltip rect is pushed off to the side.
Video showing bug:
https://github.com/godotengine/godot/assets/104696964/bc9918a0-4f4c-4722-aee3-7887d0e3dd5d
Steps to reproduce
Make your Scene Tree view narrow. Hover over the icons. The tooltip activation area does not match the icon.
Minimal reproduction project
N/A

I can confirm the bug for the version v4.1.1.stable.official.bd6af8e0e.
My system:
Windows 10.0.19045 - Vulkan (Compatibility) - GeForce GT 540M- Intel Core i7-2670QM CPU @ 2.20GHz (8 Threads)


Close button for Typeform on /survey not clickable on mobile

When the form on /survey is opened on a mobile device (by tapping on it), the close button (an X in the top right corner) is partway off the canvas. This makes it a little difficult to tap on iPhone (but still possible), but nearly impossible to tap on Android.
The button should be entirely on the canvas and easy to tap on all devices.

Something in the stack must be causing trouble with Typeform's CSS, but I couldn't find it. I put in one very specific line of CSS to override the problem, and the button is now properly aligned.

So,how do i do it? (Having the same problem over here)


Fix  .social-count underline

.social-count elements get an underline when pressing down (:active), then dragging out. I didn't see this behaviour in any of the other buttons or text-buttons, but feel free to close this PR if this was a design-choice, rather than something that was overlooked.
Also, I did not know how to "add tests", but maybe that isn't needed for such a small change.

Howdy—thanks for the pull request, @flovan!
Before we can merge your changes, we need you to review our Contributor License Agreement (CLA). We think of CLAs as an open source software license between you and the project, letting us and other users know that we have permission to use the code you contribute.
At the bottom of the pull request, you'll see the note about a failed test. Just click the Details link, review the CLA, and sign off at the bottom.
Questions? Just holler—I'm here to help :).
<3

Done!

Thanks! <3


[QA] Consider replacing 'request' by 'axios'

Request package is deprected.
Consider replacing it with axios.

fix with re-new adapter


Missing Query Parameters for GET /groups operation in beta.

Operation GET /groups is some query parameters such as $filter in beta.
There is no annotation in beta CSDL that restricts filtering on groups that I can see:

The issue also affects skip, count, and expand query parameters for GET /groups.
Expected result
A reference to filter parameter should be present in GET /groups operation.
Actual result
Filter parameter is missing:

Also Affects
All derived types of a directoryObject e.g:

GET /users in beta.
GET /applications in beta.

Transferred to https://github.com/microsoftgraph/msgraph-metadata/issues/208.


⚠ SceneTime has degraded performance

In f245577, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 2339 ms

Resolved: SceneTime performance has improved in 3b3a2f9 after 11 minutes.


Validate uploaded file type [delivers #156134769]

Description
With this patch, we only accept JPG, PDF, or PNG uploads.
Reviewer Notes
The filetype is determined using http.DetectContentType.
Code Review Verification Steps

[ ] All tests pass.
[ ] Code follows the guidelines for Logging
[ ] The requirements listed in [Querying the Database Safely (https://github.com/transcom/mymove/blob/master/docs/backend.md#querying-the-database-safely) have been satisfied.
[ ] Request review from a member of a different team.
[ ] (TRIAL) Have the Pivotal acceptance criteria been met for this change?

References

Pivotal story for this change

@tinyels The following is now returned to the client within the 400 response:
{
  "errors": {
    "content_type": "ContentType must be one of: JPG, PDF, PNG."
  }
}

I know we were planning to defer work on returning server-side errors to the client, so hopefully this addresses your concern and leaves us in a good place for that future discussion.


Add IPU6 camera support

https://hansdegoede.livejournal.com/27276.html
This is now in RPMFusion, we should investigate this.

What's required here? I glanced over the blog post... seems like it would be adding akmod-intel-ipu6 as another build in https://github.com/ublue-os/akmods
Is that all?
Does someone have this device to test?

@bsherman I do have a laptop with one of those cameras, if testing is needed.

+1 Also have one (XPS13 Plus) and willing to test.

i added the v4l2loopback akmods into a blue-build and also installed akmod-intel-ipu6 package, the webcam is detected but doesn't seems to work, i think i'm missing something else, not sure what tho

after installing akmod-intel-ipu6
i tried
akmods --force --kernels "6.8.7-300.fc40.x86_64" --kmod intel-ipu6
and getting the following error
2024/04/30 20:18:22 akmodsbuild: + make -C /usr/src/kernels/6.8.7-300.fc40.x86_64 M=/tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64 modules
2024/04/30 20:18:22 akmodsbuild: make: Entering directory '/usr/src/kernels/6.8.7-300.fc40.x86_64'
2024/04/30 20:18:22 akmodsbuild:   CC [M]  /tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64/drivers/misc/mei/spi-vsc.o
2024/04/30 20:18:22 akmodsbuild:   CC [M]  /tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64/drivers/misc/mei/hw-vsc.o
2024/04/30 20:18:22 akmodsbuild:   LD [M]  /tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64/mei-vsc.o
2024/04/30 20:18:22 akmodsbuild: /bin/sh: line 1: ld: command not found
2024/04/30 20:18:22 akmodsbuild: make[2]: *** [scripts/Makefile.build:439: /tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64/mei-vsc.o] Error 127
2024/04/30 20:18:22 akmodsbuild: make[1]: *** [/usr/src/kernels/6.8.7-300.fc40.x86_64/Makefile:1939: /tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64] Error 2
2024/04/30 20:18:22 akmodsbuild: make: *** [Makefile:252: __sub-make] Error 2
2024/04/30 20:18:22 akmodsbuild: make: Leaving directory '/usr/src/kernels/6.8.7-300.fc40.x86_64'
2024/04/30 20:18:22 akmodsbuild: error: Bad exit status from /var/tmp/rpm-tmp.bufqXA (%build)

i tried installing   binutils but still got the same error, not sure how to solve the missing ld command

Firmware instructions here, looks like we'll get everything else in the latest kernel:
https://github.com/ublue-os/bluefin/issues/1633#issuecomment-2335134725

I've tried the instructions in the comment above, and I hit 2 issues:

the path changed in the ipu6-camera-bins repo, so I had to find the new path.
there are now signed and unsigned bins, and the signed ones failed... so I used the unsigned one:
https://github.com/intel/ipu6-camera-bins/raw/refs/heads/main/lib/firmware/intel/ipu/unsigned/ipu6ep_fw.bin

Now, my system can see the webcam, but I am still unable to use it. Google Meet says no webcam found, and webcamtests says the webcam is found, but is being blocked or used by another app... but nothing it using it. Could it be related to the camera access control in settings? Firefox itself is enabled to access the camera, but the system never asked me

Same problem on my HP Elite Dragonfly Chromebook running Aurora - camera apps say "No Camera Found".


Library not loaded<EMAIL_ADDRESS>

Thanks for posting your project and accompanying video, I attempted to build and run the project via Visual Studio Code and the CMake Tools extension from Microsoft.
It appearsed to build successfully, but fails to run. It appears to be searching for Ogre dynamic libraries and not finding the files it expects.
Environment
$ system_profiler SPSoftwareDataType
Software:

    System Software Overview:

      System Version: macOS 12.6.6 (21G646)
      Kernel Version: Darwin 21.6.0
# ...

$ code --list-extensions
ms-vscode.cmake-tools
ms-vscode.cpptools
ms-vscode.cpptools-extension-pack
ms-vscode.cpptools-themes
# ...

$ code --version
1.79.0
b380da4ef1ee00e224a15c1d4d9793e27c2b6302
x64

Build
[main] Building folder: bric_a_brac
[build] Starting build
[proc] Executing command: /usr/local/bin/cmake --build /Users/jshbrntt/Projects/bric_a_brac/build --config Debug --target bab_sample -j 10 --
[build] [ 12%] Built target sdl_headers_copy
[build] [ 13%] Built target LinearMath
[build] [ 19%] Built target BulletDynamics
[build] [ 33%] Built target BulletCollision
[build] [ 60%] Built target SDL2-static
[build] [ 87%] Built target OgreMain
[build] [ 90%] Built target OgreOverlay
[build] [ 96%] Built target OgreRTShaderSystem
[build] [ 98%] Built target OgreBites
[build] [100%] Built target bab
[build] [100%] Built target bab_sample
[driver] Build completed: 00:00:01.150
[build] Build finished with exit code 0
[main] Building folder: bric_a_brac bab_sample, SampleBrowser
[build] Starting build
[proc] Executing command: /usr/local/bin/cmake --build /Users/jshbrntt/Projects/bric_a_brac/build --config Debug --target bab_sample SampleBrowser -j 10 --
[build] [ 12%] Built target sdl_headers_copy
[build] [ 13%] Built target LinearMath
[build] [ 19%] Built target BulletDynamics
[build] [ 33%] Built target BulletCollision
[build] [ 60%] Built target SDL2-static
[build] [ 87%] Built target OgreMain
[build] [ 90%] Built target OgreOverlay
[build] [ 96%] Built target OgreRTShaderSystem
[build] [ 98%] Built target OgreBites
[build] [100%] Built target bab
[build] [100%] Built target bab_sample
[build] [ 47%] Built target OgreMain
[build] [ 50%] Built target OgreBullet
[build] [ 52%] Built target OgrePaging
[build] [ 57%] Built target OgreOverlay
[build] [ 63%] Built target Plugin_PCZSceneManager
[build] [ 68%] Built target OgreVolume
[build] [ 73%] Built target OgreMeshLodGenerator
[build] [ 84%] Built target OgreRTShaderSystem
[build] [ 86%] Built target OgreTerrain
[build] [ 89%] Built target OgreBites
[build] [100%] Built target DefaultSamples
[build] [100%] Built target SampleBrowser
[driver] Build completed: 00:00:02.054
[build] Build finished with exit code 0

Error
$ /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/bin/SampleBrowser.app/Contents/MacOS/SampleBrowser
dyld[13777]: Library not loaded<EMAIL_ADDRESS>  Referenced from: '/Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/bin/SampleBrowser.app/Contents/MacOS/SampleBrowser'
  Reason: tried: '/Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/bin/SampleBrowser.app/Contents/MacOS/../Frameworks/libOgreBites.13.6.dylib' (no such file), '/Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/Dependencies/lib/libOgreBites.13.6.dylib' (no such file), '/Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/bin/SampleBrowser.app/Contents/MacOS/../Frameworks/libOgreBites.13.6.dylib' (no such file), '/Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/Dependencies/lib/libOgreBites.13.6.dylib' (no such file), '/usr/local/lib/libOgreBites.13.6.dylib' (no such file), '/usr/lib/libOgreBites.13.6.dylib' (no such file)

$ ls -l build/_deps/ogre-build/bin/SampleBrowser.app/Contents/Frameworks
total 0
lrwxr-xr-x  1 jshbrntt  staff   23 10 Jun 12:55 Cg_LIBRARY_REL-NOTFOUND -> Cg_LIBRARY_REL-NOTFOUND
lrwxr-xr-x  1 jshbrntt  staff   92 10 Jun 12:55 Codec_STBI.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//Codec_STBI.framework
lrwxr-xr-x  1 jshbrntt  staff   86 10 Jun 12:55 Ogre.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//Ogre.framework
lrwxr-xr-x  1 jshbrntt  staff   91 10 Jun 12:55 OgreBites.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//OgreBites.framework
lrwxr-xr-x  1 jshbrntt  staff   92 10 Jun 12:55 OgreBullet.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//OgreBullet.framework
lrwxr-xr-x  1 jshbrntt  staff  102 10 Jun 12:55 OgreMeshLodGenerator.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//OgreMeshLodGenerator.framework
lrwxr-xr-x  1 jshbrntt  staff   93 10 Jun 12:55 OgreOverlay.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//OgreOverlay.framework
lrwxr-xr-x  1 jshbrntt  staff   92 10 Jun 12:55 OgrePaging.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//OgrePaging.framework
lrwxr-xr-x  1 jshbrntt  staff   94 10 Jun 12:55 OgreProperty.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//OgreProperty.framework
lrwxr-xr-x  1 jshbrntt  staff  100 10 Jun 12:55 OgreRTShaderSystem.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//OgreRTShaderSystem.framework
lrwxr-xr-x  1 jshbrntt  staff   93 10 Jun 12:55 OgreTerrain.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//OgreTerrain.framework
lrwxr-xr-x  1 jshbrntt  staff   92 10 Jun 12:55 OgreVolume.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//OgreVolume.framework
lrwxr-xr-x  1 jshbrntt  staff  104 10 Jun 12:55 Plugin_BSPSceneManager.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//Plugin_BSPSceneManager.framework
lrwxr-xr-x  1 jshbrntt  staff   97 10 Jun 12:55 Plugin_DotScene.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//Plugin_DotScene.framework
lrwxr-xr-x  1 jshbrntt  staff  107 10 Jun 12:55 Plugin_OctreeSceneManager.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//Plugin_OctreeSceneManager.framework
lrwxr-xr-x  1 jshbrntt  staff   99 10 Jun 12:55 Plugin_OctreeZone.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//Plugin_OctreeZone.framework
lrwxr-xr-x  1 jshbrntt  staff  104 10 Jun 12:55 Plugin_PCZSceneManager.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//Plugin_PCZSceneManager.framework
lrwxr-xr-x  1 jshbrntt  staff   99 10 Jun 12:55 Plugin_ParticleFX.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//Plugin_ParticleFX.framework
lrwxr-xr-x  1 jshbrntt  staff   97 10 Jun 12:55 RenderSystem_GL.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//RenderSystem_GL.framework
lrwxr-xr-x  1 jshbrntt  staff  100 10 Jun 12:55 RenderSystem_Metal.framework -> /Users/jshbrntt/Projects/bric_a_brac/build/_deps/ogre-build/lib/macosx//RenderSystem_Metal.framework

That looks like it's failing to run the Ogre samples, does the project sample run?


Minor typo in data.py

Hi!
I have just started working with this repository, thank you for making this! I am trying to use the GenomicIntervalDataset to supply a sequence in fasta format, and I think I found a spelling mistake that creates an error. In the file enformer_pytorch/data.py and then in line 189, the line reads df = pl.read_csv(str(bed_path), sep = '\t', has_headers = False). However, according to the polars documentation, it should be has_header.
This is the error I got that lead me to this: TypeError: read_csv() got an unexpected keyword argument 'has_headers'.
Please let me know if you can change this!

@icdh99 hey! should be fixed in 0.6.1, thank you!

@icdh99 just curious, whose lab are you working for?

Hi Phil,
Thank you for fixing the issue so quickly! I just started my Master’s internship at the lab of dr. Mahfouz, at Leiden University Medical Center. I will most likely be working with your repo a lot, so I might bother you with more questions in due time :)
Best,
Inez

On 31 Jan 2023, at 20:23, Phil Wang @.***> wrote:
@icdh99 https://github.com/icdh99 just curious, whose lab are you working for?
—
Reply to this email directly, view it on GitHub https://github.com/lucidrains/enformer-pytorch/issues/19#issuecomment-1410941176, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNASQCP4QLJ4HXIE7EPN63WVFRCHANCNFSM6AAAAAAUMSUHAA.
You are receiving this because you were mentioned.


population pyramid

I am trying to develop a population pyramid using the stackdata. But when I convert them into horizontal format is messed up...
please check bellow image as reference

I want to develop a population pyramid like below image....please anyone able to help me to format  the chart like below image,

Hi @nehalasim
Thanks for requesting this feature. It's not supported yet. I will add this feature and release a new version in 1 or 2 days.

Thank you, i will wait for your update... thank you for your quick response...

hi,
is there any update?

Hi @nehalasim
Sorry for the delay. The code is ready, will deploy it today.

Hi @nehalasim 👋
Population Pyramid charts are now supported from version 1.3.29 onwards.🎉
See Population Pyramid props
Here's an example-
import React from 'react';
import {View} from 'react-native';
import {PopulationPyramid} from 'react-native-gifted-charts';

const PopulationChart = () => {
 const popData = [
   {left: 30, right: 40, midAxisLabel: '~115'},
   {left: 40, right: 44, midAxisLabel: '~105'},
   {left: 55, right: 57, midAxisLabel: '~95'},
   {left: 94, right: 87, midAxisLabel: '~85'},
   {left: 90, right: 88, midAxisLabel: '~75'},
   {left: 88, right: 86, midAxisLabel: '~65'},
 ];

 return (
   <View style={{backgroundColor: 'white', flex: 1}}>
     <PopulationPyramid
       data={popData}
       yAxisLabelTexts={[
         '0-10',
         '10-20',
         '20-30',
         '30-40',
         '40-50',
         '50-60',
         '60-70',
         '70-80',
         '80-90',
         '90-100',
         '100-110',
         '110-120',
       ].reverse()}
       yAxisLabelFontSize={9}
       showYAxisIndices
       showMidAxis
       midAxisLabelFontSize={10}
       midAxisLabelColor={'gray'}
       leftBarLabelColor={'blue'}
       rightBarLabelColor={'red'}
       midAxisLeftColor={'blue'}
       midAxisRightColor={'red'}
     />
   </View>
 );
};

export default PopulationChart;

The output is-

Try the showValuesAsBarLabels and showSurplus props for your requirement.


Deconstructing various structures yields base-game metal, not CM metal.

Description
Title

Reproduction

Find "metal" dismantlable structure
Deconstruct
Cry at lack of correct metal type

this issue includes structures like tables and chairs that may be dropping upstream steel due to parenting


Feature Request: Reviver

What happened to these bad boys?
this.http = new HttpClient().configure(x=> {
  x.withReviver((k,v) => {
    return typeof v === 'object' ? new Person(v) : v;
  });
});

HttpClient is now a fairly thin wrapper around the fetch API, so that configuration doesn't exist. You can accomplish the same result by adding a response interceptor that reads the response body as text and then uses JSON.parse() with a reviver.

Do you think it would be worth building it in?

My personal preference is to keep the library as small as possible, but perhaps it's a better question for the whole team.
We certainly could include some interceptor implementations in the library to cover common use cases. Or we could put them in a separate script so they're opt-in.

Let's keep it thin.

The docs need to be updated, then. There are still references to the reviver in aurelia-http-client.

I think you are confusing the two libraries. The http-client supports a reviver but the fetch-client does not.

Ah, ok. Thanks for the clarification. I’ll look more at why my usage of it in aurelia-http-client wouldn’t work.
From: Rob Eisenberg<EMAIL_ADDRESS>Reply-To: aurelia/fetch-client<EMAIL_ADDRESS>Date: Tuesday, July 12, 2016 at 11:26 AM
To: aurelia/fetch-client<EMAIL_ADDRESS>Cc: Bruce Denham<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [aurelia/fetch-client] Feature Request: Reviver (#66)
I think you are confusing the two libraries. The http-client supports a reviver but the fetch-client does not.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/aurelia/fetch-client/issues/66#issuecomment-232100679, or mute the threadhttps://github.com/notifications/unsubscribe/ABvmjqFh1GovhbcRtOoMT2t1K8_dNwQnks5qU8A7gaJpZM4I4suO.

Why doesn't fetch support a reviver?
This is not exactly the same as the suggestion to use a responseInterceptor, and it also makes the interface and behaviors between HttpClient and FetchClient more divergent.
The reviver approach seemed a more elegant and commonly useful solution.
Really, from my perspective there is a problem to be solved of casting data returned from an http call into client model types.  I.e., as described in Patrick's post:
http://patrickwalters.net/my-best-practices-for-aurelia-solving-the-m-in-mvvm/
This is a totally common requirement - I want to make a call to a RESTful service that retrieves either an array of items or a single item, and I want these items to be returned to the caller as instances of a defined model type.  I.e., I make a call to /api/customers, and  I would like the returned array to contain CustomerResource objects that are instances of a model class I've defined. Ideally, this would be integrated directly into the HttpClient and FetchClient, perhaps by specifying the type to be instantiated and the path to the collection of items in the JSON response.  The reviver seemed a fair stop-gap measure in lieu of not having this integrated directly into the http services.  However, having to create response interceptors for this seems to much removed and too much overhead on a repetitive basis, for such a common requirement.  Keep in mind that any given project may define many different model types, with many different http calls to retrieve them.
Is there any room for re-considering a solution for this?
Thanks,
Don

Don, I think we need to take up arms in a different forum. https://fetch.spec.whatwg.org/
Fetch seems crippled at best to me. They added promises at the cost of a clean API and important features. But my personal vision of Aurelia excludes this kind of library from start. aurelia-http-client and aurelia-fetch-client are in no way Aurelia specific. Aside from the configure function, they're not even first-class citizens. They're just well written wrappers on existing libraries. aurelia-bundler also falls in this category. The best we should ever expect from these libraries is that they are up to date.

@davismj @EisenbergEffect
Hi Matthew,
Thanks for the response.
I am not terribly attached to the use of Fetch vs. http-client.
However, I do think the Aurelia team itself needs to get internal clarity on this.  About 6-8 months ago, we started a new commercial project here.  Leading up to that I did an evaluation of what was currently available, and we decided to move forward with Aurelia as the framework.  In reading the posts by various Aurelia team members (like Jeremy, Patrick, etc.) as well as the Aurelia docs, it appeared that the Aurelia team was positioning use of the aurelia-fetch-client as a) the best practice in use of the framework, and b) the best path for forward-compatibility (with the assumption that Fetch is the future API).  So, for those reasons I adopted use of aurelia-fetch-client in all of the data services I'm creating (with the exception of file upload, which seems to be unworkable with Fetch).
If the Aurelia team consensus is now that their technology roadmap is to not support or be dependent on Fetch for the foreseeable future, and that their promoted best-practice is to use the aurellia-http-client rather than aurelia-fetch-client, then I don't have a particular problem adapting to that.  And, if the aurelia-http-client is the interface that explicitly supports JSON-to-model ORM-type transformation, then that could be a compelling reason for developers to use that client interface.
I'm not entirely clear on the comments about the vision of Aurelia and its supporting libraries.  The libraries like aurelia-http-client and aurelia-fetch-client are created by the Aurelia team in support of the Aurelia framework.  From the perspective of every developer who uses the Aurelia framework, they are a part of the Aurelia framework, and an essential part.  With a modern JS framework, it's really not the case that an Http library is an optional part of the framework, as no useful application could really be built without such support.  So, developer users of the framework expect Http functionality to be provided with the framework, with a well-tested and well-integrated library; the benefit of using a framework like Aurelia versus picking a set of libraries and putting them together ourselves, is that we can expect a well-designed set of functionalities that work well together in one framework.
With regard to the fetch-client vs. http-client question, I do feel strongly that there needs to be a clear and documented Aurelia team communication to the developer community, so that developers don't have a temptation to react to individual comments in JIRA issues, and potentially get frustrated with multiple changes of direction/practices.  It's also worth noting that one of the Aurelia plugins we're using (aurelia-auth) explicitly supports Fetch.
Thanks, and look forward to thoughts from the team on this.
Cheers,
Don

I'm not entirely clear on the comments about the vision of Aurelia and its supporting libraries.

This is just my personal opinion, not the vision or direction of the team.

With a modern JS framework, it's really not the case that an Http library is an optional part of the framework, as no useful application could really be built without such support.

Sure. But you have those tools already. aurelia-http-client is a wrapper on XMLHttpRequest, which lives on your browser. You don't need aurelia-http-client to use XMLHttpRequest. It just so happens that the aurelia-http-client has a much nicer API and in this way better designed than XMLHttpRequest. Likewise, aurelia-fetch-client is a wrapper on fetch. You don't need aurelia-fetch-client to use fetch. It just so happens that the aurelia-fetch-client is also better than fetch, for the same reasons.

With regard to the fetch-client vs. http-client question, I do feel strongly that there needs to be a clear and documented Aurelia team communication to the developer community

Noted. Nothing has changed in that regard. Fetch is still the future. But XMLHttpRequest and therefore aurelia-http-client aren't by any means deprecated. You have options, in case you don't like where the future is going.
I understand that many people are coming to us with a need for a cohesive framework with a recommended setup. I think the instructions you've received are great, and none of my comments in this thread detract from that recommendation.
Aurelia is still the convention over configuration, standards-based, flexible framework it has always been. One of the advantages of Aurelia is that, for example, if you don't like fetch you're free to swap it out at any time. I, personally, have different preferences than my colleagues. And Aurelia affords me and my colleagues the freedom to do things differently as individual developers.
Also, note that I use both aurelia-http-client and aurelia-fetch-client on various projects, depending on the needs of the particular project. All of my latest projects tend to use fetch, though I still like xhr a little better.


gosym/LineToPC: Doesn't work on macho files

What version of Go are you using (go version)?

$ go version
go version go1.18 darwin/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/yarden/Library/Caches/go-build"
GOENV="/Users/yarden/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/yarden/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/yarden/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/yarden/go/go1.18"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/yarden/go/go1.18/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.18"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/6y/b_gs76zj0bl0frr40g1hrp080000gn/T/go-build2100507712=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

I'm trying to use the LineToPC function in the gosym package. This is my parsing code:
https://go.dev/play/p/U1Rqy7nmrxd
You will have to use your own macho file to parse (pass to getTable) and fix the filename/lineno accordingly.
The macho file I try to parse was built with this command:
go build -gcflags="-N -l" -o helloWorld main.go
What did you expect to see?
The pc for the given filename and lineno
What did you see instead?
The filename and line I pass exist, but the error I am getting is:

no code at /Users/yarden/GolandProjects/playground/helloWorld/main.go

When I run the same code but try to parse an elf (I pass an elf to getTable), everything works as expected. The problem only occurs on macho files.

CC @aclements @cherrymui maybe?

Does this reproduce with older releases as well, or is this a regression in 1.18?

Works in 1.15, but not in 1.16 and 1.17

feels like this should be backported too.


Storage size limitation

What is the problem you're trying to solve
Storage size/inode limitation for containers to prevent storage resource exhaustion on host.

duplicate: https://github.com/containerd/containerd/issues/759


Add publicUrlBase to S3 configuration

Needed for Cloudflare R2.

See also tloncorp/landscape#252.
cc @Fang-.
Currently untested.

As mentioned in the other PR, fixed an issue with this, but would love help actually testing it on a fakezod.


Only return child function

What:
Removes the last opinion about the DOM.

Why:
I already hit a snag where I wanted a custom top level component to integrate better in my UI kit and I think this might be better since it follows suite to the other functions like getItemProps.

How:
I was able to get around the ref issue by just allowing a prop called refKey to be passed when you need to forward the ref in a non-traditional way like { refKey: 'innerRef' }. I'm not tied to the name of the prop, maybe getRef or something? After doing this I'm wondering if we can go back to just using refs for the other components. It's up to you though :)

Checklist:

[x] Documentation
[x] Tests
[x] Ready to be merged
[ ] Added myself to contributors table

Codecov Report

Merging #70 into master will decrease coverage by 0.59%.
The diff coverage is 66.66%.

@@           Coverage Diff            @@
##           master     #70     +/-   ##
========================================
- Coverage   12.29%   11.7%   -0.6%
========================================
  Files           3       3
  Lines         187     188      +1
  Branches       44      44
========================================
- Hits           23      22      -1
- Misses        122     124      +2
  Partials       42      42

Impacted Files
Coverage Δ

src/autocomplete.js
13.23% <66.66%> (-0.84%)
:arrow_down:

Continue to review full report at Codecov.

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

What do you think @souporserious?

I'm feeling pretty great about this API. So I'm going to merge this, publish a new beta, and then I'm going to start working on tests! :tada:
Feel free to comment. We can always make more changes :smile:

~/Developer/react-autocompletely (master)
🦄  $ npm publish --tag beta
+<EMAIL_ADDRESS>

Yay 🎉 thanks! I'm going to work on the multiple values stuff now 😁


[cross-cluster-replication] OpenSearch 2.1 Changes

Targeted fixes for OS 2.0 release

https://github.com/opensearch-project/cross-cluster-replication/pull/419
https://github.com/opensearch-project/cross-cluster-replication/pull/341
https://github.com/opensearch-project/cross-cluster-replication/pull/411
https://github.com/opensearch-project/cross-cluster-replication/pull/408

As the changes are merged, Closing this issue


Obtain Application roles in Access Token to pass to AAD secured API

I'm submitting a question how to obtain Application roles in Access Token to pass to AAD secured API

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[X] Documentation issue or request
[ ] Other... Please describe:

Browser:

[X] Chrome version XX
[ ] Firefox version XX
[ ] IE version XX
[X ] Edge version 79.0.309.40
[ ] Safari version XX

Library version

Library version: 1.1.3

Current behavior
Application consists of:
1 .WebApi on Core 3.1 secured by AAD using AzureADDefaults.JwtBearerAuthenticationScheme in Startup, and authorizations through services.AddAuthorization and setting up policies that match ones setup in Azure.
2. VueJs app that is using msal.js
I'm able successfully login in Vue App to AAD.
Call Web API by getting Id Token and then calling acquireTokenSilent and using Access token for that. This works fine for controllers with [Authorize].
But Access Token does not contain roles, so any API that is protected using role (eg [Authorize(Roles = "Manager")]) fails.
When running Web Api as Asp.net app and using AzureADDefaults.AuthenticationScheme roles are working fine, so Azure setup and authorization in WebApi is correct.
In Azure I created roles to be both User and Application (but either separately does not make difference), here is how it is defined in app registration manifest:
"appRoles": [ 		{ 			"allowedMemberTypes": [ 				"Application", 				"User" 			], ..., "value": "Manager"},
Expected behavior
Roles present in Access Token, so it can be pass to Web Api for validation.
According documentation: https://docs.microsoft.com/en-us/azure/active-directory/develop/access-tokens Roles could / should be present in Access Token.
Minimal reproduction of the problem with instructions

I believe this is a known issue, already tracked in #677

@jasonnutter what I'm missing in token are roles not wids, roles are specific to application so this should not fall under the same issue

@januszj Ah, apologies, my mistake. @hpsin would you know how to get the roles claim in the implicit flow?

Same issue as referenced in #677 - long form values are not put into length-restricted tokens since it breaks browsers. We don't have a way around this.

Closing, as there is nothing further for the library.


More typing

Added some more typing and switching to logs

Codecov Report

Merging #463 (b5d343e) into master (5c7ddc6) will decrease coverage by 0.36%.
The diff coverage is 59.35%.

@@            Coverage Diff             @@
##           master     #463      +/-   ##
==========================================
- Coverage   73.44%   73.07%   -0.37%
==========================================
  Files         115      115
  Lines       13986    14134     +148
==========================================
+ Hits        10272    10329      +57
- Misses       3714     3805      +91


UserInfo endpoint name translations

Hello,
We are looking for a way to translate the Userinfo endpoint output into std. OIDC known claims.
The current endpoint returns something like so:
{     "objectId": "",     "givenName": "John",     "surname": "Doe",     "displayName": "John Doe",     "signInNames.emailAddress"<EMAIL_ADDRESS>}
It should be noted that OIDC compliance requires given_name, family_name etc. to be emitted in this call. This is also correctly listed in the OIDC Well Known Configuration.
We have tried to add the PartnerClaimType but it seems like it is being ignored when claims are being sent out.
 <OutputClaims>
            <OutputClaim ClaimTypeReferenceId="objectId" PartnerClaimType="sub" />
            <OutputClaim ClaimTypeReferenceId="signInNames.emailAddress" PartnerClaimType="email"/>
            <!-- Optional claims to read from the access token. -->
            <OutputClaim ClaimTypeReferenceId="givenName" PartnerClaimType="given_name"/>
            <OutputClaim ClaimTypeReferenceId="surname" PartnerClaimType="family_name"/>
            <OutputClaim ClaimTypeReferenceId="displayName" PartnerClaimType="name"/>
          </OutputClaims>

Are we missing something?
The id_token and access_token does this correctly. The user info endpoint doesn't seem to.

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

ID: d95c19b5-d294-8ca6-da08-fffb512f2282
Version Independent ID: 1eb91f6c-664c-672e-c420-c55c3e2b85b7
Content: UserInfo endpoint
Content Source: articles/active-directory-b2c/userinfo-endpoint.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@hypertrends , thank you for your feedback. We'll review this and get back to you shortly!

Dear @hypertrends, thank for asking. To change the name of the claims, update the input claims partner claim type of the UserInfoIssuer technical profile.
<TechnicalProfile Id="UserInfoIssuer">
    <DisplayName>JWT Issuer</DisplayName>
    <Protocol Name="None" />
    <OutputTokenFormat>JSON</OutputTokenFormat>
    <CryptographicKeys>
      <Key Id="issuer_secret" StorageReferenceId="B2C_1A_TokenSigningKeyContainer" />
    </CryptographicKeys>
    <!-- The Below claims are what will be returned on the UserInfo Endpoint if in the Claims Bag-->
    <InputClaims>
      <InputClaim ClaimTypeReferenceId="objectId" PartnerClaimType="id" />
      <InputClaim ClaimTypeReferenceId="givenName" PartnerClaimType="given_name" />
      <InputClaim ClaimTypeReferenceId="surname"  PartnerClaimType="family_name" />
      <InputClaim ClaimTypeReferenceId="displayName"  PartnerClaimType="name"  />
      <InputClaim ClaimTypeReferenceId="signInNames.emailAddress"  PartnerClaimType="email" />
    </InputClaims>
    <OutputClaims />
  </TechnicalProfile>

I have tested this one and got the JSON in the format you expected. I'll update the document after you approve the solution. I'd appreciate if you keep us posted.
Yoel

Dear @hypertrends, thanks for the valuable feedback. I'm updating the article with the relevant information and a sample. A new version will publish later today or tomorrow, and this GitHub issue will be closed automatically (before the doc is published). If you have any questions or need further information, please open new GitHub issue.


Make a better introduction in the README

I think the "What is this" section in the README could do a better job of explaining how eth-cli can be useful. Not sure how, but the current content is too generic and doesn't really say much.

@fvictorio I'm facing a few issues getting my PR passed through travis, husky. Please have a look at the updated README


to_cypher with params?

Now that params are used by default, can to_cypher be modified to include them? Maybe a parameter to include or exclude them?

Oooh wait, I got it!

Do you by chance remember the solution here? If I can't use params with to_cypher (union_cypher also) I guess I have to use string interpolation on my where clause?

Oooh wait, I got it!

Do you by chance remember the solution here? If I can't use params with to_cypher (union_cypher also) I guess I have to use string interpolation on my where clause?


Did you resolve it?

No, I could not get it working. I had to manually create environment on my setup and it worked.

No, I could not get it working. I had to manually create environment on my setup and it worked.

can you share me any ways?

https://github.com/thanhtai9606/Diffpose.git
here is my fork working fine with checkout data + CUDA card if you have!


Tablet design.

Human and Economic Impact. -> I can not see part of "Daths" is hidden.

In Safari has problem. See image bellow

@artaabdullahu send a tablet screenshot since the task is to do tablet design fixes. If it's having issues in safari, create another task in bugs.

@partini Yesaaa

@partini In Ipad: part for show data, so to be more specific checkbox is not working well when I click on it. As i told you in practice.

[ ] When I click on checkbox is not displayed tick symbol.

@partini Look the picture bellow. I think is more better will be If you can separate those legends.


Fixed duplicate bit output

Previously features with multiple bits would incorrectly output the different bits. Instead of each unique bit location being printed, the first bit would be duplicated for however many bits there were. Each unique bit is now outputted into the grid .json files
Signed-off-by: Ben Glines<EMAIL_ADDRESS>

@kgugala Can you find someone to review this?

Fixes #8


Which files for CTest?

What files should i put into Test results files for CTest? The Testing\Temporary\LastTest.log file?

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

ID: 16bd8dd1-7650-8c18-2553-38a8bc54e892
Version Independent ID: f9fa517a-7adc-e327-d12e-256295a1ed52
Content: Visual Studio Test task - Azure Pipelines
Content Source: docs/pipelines/tasks/test/vstest.md
Product: devops
Technology: devops-cicd
GitHub Login: @PBoraMSFT
Microsoft Alias: pbora

@KUGA2 Thank you for the question, assigning this to the author for review.
In the meantime, please use the following resources:

Azure DevOps Support
Azure DevOps Community
Azure DevOps on StackOverflow

...for additional support options.

@KUGA2,  don't understand your question here. Are you asking what is the source file you need to pass while running ctest or do you want to generate the test result files while running ctest?

You need to execute ctest with parameter -T Test. This will generate a test results xml, something like Test.xml. You need to pass this xml to the testResultsFiles argument of the publish test results task.
PS: moving this to microsoft/azure-pipelines-tasks


Access to the open test suite

Hi, developers.
I am interested in this project and want to get access to the open test suite. But the link always shows you need access. I've requested the access, but still no response. Is there any requirement for the access? Thanks.

Sorry to late response, I have changed the access permission to allow everyone.


Numberbox header aligning

Description

To enable lightweight styling of header margin using the TextBoxTopHeaderMargin theme resource, we need to manually show and hide the presenter. This seems to be also the behavior TextBox and RichEditBox are using.
Motivation and Context

Fixes #2114
How Has This Been Tested?

Left textbox, right NumberBox; Both are aligning now

Add interaction test for rendering/not rendering the header
Screenshots (if appropriate):

/azp run

/azp run


jacfwd vs jacrev OOM differences

import jax
import numpy as onp
import jax.numpy as np

if __name__ == "__main__":

    num_elements = 10000000
    num_gathers = 10

    gather_idxs = onp.random.randint(0, num_elements, size=(10,))

    a = onp.random.rand(num_elements)
    b = onp.random.rand(num_gathers, num_gathers)

    def gather_mmul(a, b, si):
        return np.sum(np.matmul(a[si], b)) # returns a scalar

    print(gather_mmul(a, b, gather_idxs)) # Okay

    grad_fn = jax.grad(gather_mmul, argnums=(0,))
    print(grad_fn(a, b, gather_idxs)) # Okay

    grad_fn = jax.jacrev(gather_mmul, argnums=(0,))
    print(grad_fn(a, b, gather_idxs)) # Okay

    grad_fn = jax.jacfwd(gather_mmul, argnums=(0,))
    print(grad_fn(a, b, gather_idxs)) # OOM

Is the reason that this OOMs on forward mode because it tries to vmap over num_elements where as for reverse mode the vmap is over num_gathers?
Is there an easy way to specify reverse mode for the gather and forward mode for the matmul?
Does grad do anything special to try and optimize the order of jacrev/jacfwds? (eg. always do reverse mode for gather, forward mode for scatter)

I'm going to close this for now since I'm manually splitting out the functions to optimize the composition order of jvp/vjps


Update dependencies on conda

It seems like something changed in the dependencies for this package, but it maybe didn't get updated in conda-forge? After updating and/or re-creating our environment for PUDL, the software is broken because some of the tabulator dependencies are no longer satisfied (e.g. boto3). If the missing dependencies are installed manually via pip it works, but this will cause our conda packaging to fail.

Thanks @zaneselvans for the heads-up. Yea this conda packaging workflow is extremely fragile... I'm fixing it now - please try again

Seems to be working now, as of tabulator 1.26.1 from conda-forge


scalogram coi is wrong when time is set

The scalogram cone of influence is wrong when the time= parameter is set to put the axis in time units as opposed to sample indices.
import numpy as np
import matplotlib as mpl
from matplotlib import pyplot as plt
import cwt

# make signal
P = 17.0 # period, s
D = 100   # duration, s
N = 1000 # number of samples
x = np.linspace(0, D, N) # time, s
data = np.sin(2*np.pi/P*x)
label = 'P=%0.1f sine wave' % P

# plot signal
plt.plot(x, data)
plt.title(label)
plt.xlabel('Time [s]')
plt.ylabel('signal')

# continuous wavelet transform
scales = np.arange(200)
mother = cwt.Morlet(len_signal = len(data), scales = scales)
wavelet = cwt.cwt(data, mother)

# plot with builtin function
wavelet.scalogram(time=x, show_coi=True)

I'm thinking this may be related to not setting sampf. Let's work on the API of cwt, mother, before checking this one out, if that's ok.
Thanks!
Sean


Unity model option

Describe the problem that the feature should address
When calibrating the secondary we often assume it is a unity point source at the phase center which translates to unity visibilities on the diagonals. It would be great if we didn't have to populate the MODEL_DATA column when this is the case. Note Quartical currently falls over if input_model.recipe is None
Describe the solution you'd like
There should be a way to tell QuartiCal to treat the model as unity
Describe alternatives you've considered
Populating the MODEL_DATA column with ones on the diagonal works but it is wasteful

I think this should be the default (good enough for phase and delays) if no
model is available.
On Fri, 06 Jan 2023, 16:54 Landman Bester, @.***> wrote:

Describe the problem that the feature should address
When calibrating the secondary we often assume it is a unity point source
at the phase center which translates to unity visibilities on the
diagonals. It would be great if we didn't have to populate the MODEL_DATA
column when this is the case. Note Quartical currently falls over if
input_model.recipe is None
Describe the solution you'd like
There should be a way to tell QuartiCal to treat the model as unity
Describe alternatives you've considered
Populating the MODEL_DATA column with ones on the diagonal works but it is
wasteful
—
Reply to this email directly, view it on GitHub
https://github.com/ratt-ru/QuartiCal/issues/222, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4RE6UXUAYYDEWW4VE46YDWRAWZHANCNFSM6AAAAAATTE6PTM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Please let me know if this functionality doesn't work as expected.


disable sendgrid clicktracking

https://sendgrid.com/docs/API_Reference/SMTP_API/apps.html#clicktrack
We don't actually use this data and it makes it impossible to tell where the links in our emails go

We did this a long time ago.


Use new Noble-based temurin images, remove Focal

Temurin has finally released their Noble-based (24.04) images. This PR picks them up for our images.
I also removed the usage of Focal. Temurin only supports two latest Ubuntu LTSes, let's do the same.

LGTM! @Quantisan?

lgtm too! thanks, @alexander-yakushev!


fix compatibility issue with protobuf

fix compatibility issue with protobuf >= 5.26.0
protobuf crash when it handle huge data buffer
it fixed that in its newer version but its not compatible with pyease-grpc <=1.6.1 this will fix this issue

Thanks


OLS-1058 - Adding exception to operator installation for konflux

Description

Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)
[ ] CI configuration change
[ ] Konflux configuration change

Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

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

Project coverage is 92.45%. Comparing base (12c8083) to head (9d4487b).
Report is 24 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1673      +/-   ##
==========================================
- Coverage   94.88%   92.45%   -2.44%
==========================================
  Files          60       60
  Lines        2681     2679       -2
==========================================
- Hits         2544     2477      -67
- Misses        137      202      +65

Flag
Coverage Δ

92.45% <ø> (-2.44%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 6 files with indirect coverage changes

/approve

/override "Red Hat Konflux / lightspeed-service-on-pull-request"

/lgtm


rename FYPO:0006800

FYPO:0006800
Ontology | fission_yeast_phenotype
Term name | decreased centromere clustering at nuclear periphery during mitosis
A cell phenotype observed in the vegetative growth phase of the life cycle in which the localization of centromeres and associated kinetochores into a cluster at the nuclear periphery is decreased. Centromere-kinetochore complexes normally cluster near the old spindle pole body during interphase of the mitotic cell cycle.
to decreased centromere clustering at nuclear periphery during mitotic interphase

ooh, that one slipped past! fixed now.


Add CudaSlice<T> & remove CudaRc

Equivalent to Vec<T> on cpu. All APIs should accept this instead.
Notably this crate should not worry about compile time safety, and instead be as flexible as possible.

Equivalent to Vec<T> on cpu. All APIs should accept this instead.

So tensors and filter have a CudaSlice + Descriptor?

Notably this crate should not worry about compile time safety, and instead be as flexible as possible.

all unsafe?

Yep! The new cpu storage in dfdx looks like this:
struct StridedArray<S: Shape, E: Dtype> {
    data: Vec<E>,
    shape: S,
    strides: S::Concrete,
}

The cuda one will probably look pretty identical:
struct CudaStridedArray<S: Shape, E: Dtype> {
    data: CudaSlice<E>,
    shape: S,
    strides: S::Concrete,
}

all unsafe?

not unsafe, but moving to runtime tracked values instead of compile time. The current method of the type carrying the number of elements is more restrictive for dfdx now than it needs to be. all the compile time checks will be in dfdx, but not in this crate

ok

This was merged into main


Migrate ASTScope to CharSourceRanges

SourceRanges behave funny with string interpolation. A SourceRange always spans at least one token, and the end location points at the beginning of the last token that is part of the source range.
Since string literals and string interpolations are always a single token, a SourceRange that ends on a string interpolation will point at the beginning of the string interpolation. However, any source locations of expressions inside the interpolation itself now point into the middle of the string interpolation token. Eg, consider this code:
var x = "\(hello)"

The source range of the initializer expression for var x consists of a single token, so it's start and end location both point at the beginning of the token "\(hello)". However, the expression hello has a source range consisting of the single token hello. Notice that hello comes after "\(hello)" in the source file, despite being logically contained within the source range of "(hello)"`.
Since ASTScope lookup relies on SourceRanges of parent nodes containing the SourceRanges of their parents, adding a child scope would sometimes have to "widen" the parent's source range. This was error-prone and complex.
Instead, we can use CharSourceRanges. Since the end location of a CharSourceRange is a byte offset of the end of the last token of the CharSourceRange, we the required invariant around nested scopes for free, without having to "widen" source ranges.
This PR adds stronger assertions for detecting children which are not contained in their parents, or overlapping sibling children.
Builds upon https://github.com/apple/swift/pull/34205, which fixes all the non-string-interpolation cases where source range "widening" was required.
Fixes https://bugs.swift.org/browse/SR-12997, https://bugs.swift.org/browse/SR-12999, rdar://problem/64314753, rdar://problem/64316115.

@swift-ci Please smoke test

@swift-ci Please test source compatibility

@swift-ci Please test source compatibility

@swift-ci Please smoke test macOS

@swift-ci Please smoke test

@swift-ci Please test source compatibility

apple/llvm-project#1916
@swift-ci Please smoke test

@swift-ci Please test source compatibility


Facebook Pixel identify call update

What do these changes do?

Updated the identify section stating only cloud mode support.
Minor cosmetic enhancements to the doc

Type of documentation

[ ] New documentation
[x] Documentation update
[ ] Hotfix

We'll take up a separate task to separate the cloud and device mode-specific information in the docs.


[FAB-17632] Exclude unnecessary code from ecdsa.go

Fixed GenSKI() for clean code.

@VadimInshakov Thanks for your contribution. Please update your commit and PR with DCO sign-off.

@troyronda ok, done.

@troyronda is there any updates?


[sw, dif_aes] Introduce a set of AES changes

The aim of this PR is to merge in the main library with other TODOs (**described in #4833 **) addressed in follow-ups.
Please have a look at the #2382 , for the questions and suggestions that I have gathered whilst working my way through the DIF AES OpenTitan documentation.
Key points:

AES API is relatively straight forward, however there is a number of internal conditions that have to be met for correct operation of the peripheral. These are fundamental checks, and should be done at the DIF level rather than the driver level (in my opinion).

It does not seem practical to bring the input or output data pointers into alignment as it is done in HMAC and SPI. The data that AES operates on is 128-bits wide, and it would be costly to bring it into the alignment for every 128-bit read/write. I think it should be documented that for maximal efficiency the input/output buffers have to be aligned.

The bulk of the review boils down to replacing the individual behavior setters with combined start functions.

I was thinking about that as well, sounds good. I am planning to do some more AES work next week, so I will address the issues then - and also with that add test cases and implementation.
@lenary and @gkelly thank you for the review.

I have addressed all of the review comments, and have completely refactored the API as suggested. The implementation is completed as well, however has not been tested yet. Some of the implementation details probably could be further improved, like for example: CBC and CTR start functions can be probably internally split out into a common static function. However, I think having separate public API for these functions is a correct choice.
I think this PR needs at least one more high level header pass, and if there are not too many interface changes - I will promote this PR from "draft" to "open", and add other reviewers.

@vogelpi Thank you for your review, much appreciated. I will wait until @lenary and @gkelly have a chance to run through this PR again, and will fix up all outstanding comments in one go.

ECB mode changes can come in a follow-up PR (as should any other mode additions), I feel. Let's see if any of pirmin's comments should also go into a follow-up, or if they're small enough to fix quickly.

Still need to comment the data types, and refactor to match the DIF template that we have.

Still need to comment the data types, and refactor to match the DIF template that we have.

Hey @vogelpi , thanks for the review. Also there is this #4833. The additional modes implementation will go to @alphan as a part of handover. I will see how many of the above comments it makes sense to fix-up myself and how many leave for Alphan as part of handover. I am planning on going through the comments today.

Hey @vogelpi , thanks for the review. Also there is this #4833. The additional modes implementation will go to @alphan as a part of handover. I will see how many of the above comments it makes sense to fix-up myself and how many leave for Alphan as part of handover. I am planning on going through the comments today.


Semicolon as extension separator

Would it be possible to also allow semicolon ; to be used as an extension separator?
Currently you can at least ex, ext, ext., #, and , as separators, but it will fail if you try to use ;
It would make sense to allow ; too, since that indicates to the phone that it should wait, and allow the person that makes the call to select when to dial the extension. This works on at least android and iphones.

@afinne
Thanks for your inputs. We agree with you on this
We want to check internally the side effects of this change and get back to you.

http://libphonenumber.appspot.com/phonenumberparser?number=(800)+901-3355+%3B+7246433&country=US is Fixed


Re-adds FindBugs analysis

New Maven Findbugs plugin is compatible with Java 8.
(Refs #25)

Thanks for this solution!
Preparing for the next teaching season -- great!

:+1:


bugfix: 修复进程启动数量修改导致配置下发报错的问题 (fixed #52)

Codecov Report

Merging #54 (1efdedf) into V1.0.2rc (2f0f634) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##           V1.0.2rc      #54      +/-   ##
============================================
- Coverage     53.38%   53.37%   -0.02%
============================================
  Files           177      177
  Lines          8719     8721       +2
============================================
  Hits           4655     4655
- Misses         4064     4066       +2

Impacted Files
Coverage Δ

apps/gsekit/configfile/handlers/config_instance.py
17.85% <0.00%> (-0.33%)
:arrow_down:

Continue to review full report at Codecov.

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


CB-500 Cluster definition - Rename environment variables

it should be merged when helm charts changes and backend changes are approved


python36Packages.piexif: 1.0.13 -> 1.1.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.6-piexif/versions.
meta.description for python36Packages.piexif is: '"Simplify Exif manipulations with Python"'.

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.1.1 with grep in /nix/store/cr7bfq6a2bizfqp9551ivx8knpwwya08-python3.6-piexif-1.1.1

directory tree listing: https://gist.github.com/3e236f13f13dace10677b559b16b9c1f

du listing: https://gist.github.com/9c09ace7acb5d969d4c6eca267e858b3

Outpath report (click to expand)

Outpath difference report
16 total rebuild paths
4 package rebuilds
4 x86_64-linux rebuilds
4 i686-linux rebuilds
4 x86_64-darwin rebuilds
4 aarch64-linux rebuilds
First ten rebuilds by attrpath
python27Packages.piexif
python27Packages.thumbor
python36Packages.Nikola
python36Packages.piexif

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/cr7bfq6a2bizfqp9551ivx8knpwwya08-python3.6-piexif-1.1.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python36Packages.piexif https://github.com/r-ryantm/nixpkgs/archive/99bd81ecd6a812691349cd70e73fc08a567e4dd0.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/cr7bfq6a2bizfqp9551ivx8knpwwya08-python3.6-piexif-1.1.1
ls -la /nix/store/cr7bfq6a2bizfqp9551ivx8knpwwya08-python3.6-piexif-1.1.1/bin

cc @jluttine for testing.

Success on x86_64-linux (full log)
Attempted: python36Packages.piexif
Partial log (click to expand)
Pillow can't read pil2.webp
Pillow can't read pil3.webp
Pillow can't read pil_rgb.webp
Pillow can't read pil_rgba.webp
Pillow can't read tool1.webp
Pillow can't read pil1.webp
Pillow can't read pil2.webp
Pillow can't read pil3.webp
Pillow can't read pil_rgb.webp
Pillow can't read pil_rgba.webp

Success on x86_64-darwin (full log)
Attempted: python36Packages.piexif
Partial log (click to expand)
Pillow can't read pil2.webp
Pillow can't read pil3.webp
Pillow can't read pil_rgb.webp
Pillow can't read pil_rgba.webp
Pillow can't read tool1.webp
Pillow can't read pil1.webp
Pillow can't read pil2.webp
Pillow can't read pil3.webp
Pillow can't read pil_rgb.webp
Pillow can't read pil_rgba.webp

yes duplicate of #49409


"JavaScript heap out of memory" for rumors-api on production site

On 2/28 5:03 we had a downtime:

On rumors-site stdout & stderr, it seems that the system has gone through several OOM error and restarts.

This log is also reoccurred hundreds of times.
{"log":"\n","stream":"stdout","time":"2020-02-27T10:18:26.890163689Z"}
{"log":"\u003c--- Last few GCs ---\u003e\n","stream":"stdout","time":"2020-02-27T10:18:26.890618195Z"}
{"log":"\n","stream":"stdout","time":"2020-02-27T10:18:26.890630616Z"}
{"log":"[253:0x556bc498a0c0] 14313557 ms: Mark-sweep 2045.5 (2053.3) -\u003e 2045.5 (2053.3) MB, 186.1 / 0.0 ms  (average mu = 0.190, current mu = 0.003) last resort GC in old space requested\n","stream":"stdout","time":"2020-02-27T10:18:26.890635037Z"}
{"log":"[253:0x556bc498a0c0] 14313746 ms: Mark-sweep 2045.5 (2053.3) -\u003e 2045.5 (2053.3) MB, 189.0 / 0.0 ms  (average mu = 0.107, current mu = 0.000) last resort GC in old space requested\n","stream":"stdout","time":"2020-02-27T10:18:26.890639792Z"}
{"log":"\n","stream":"stdout","time":"2020-02-27T10:18:26.890653955Z"}
{"log":"\n","stream":"stdout","time":"2020-02-27T10:18:26.890657677Z"}
{"log":"\u003c--- JS stacktrace ---\u003e\n","stream":"stdout","time":"2020-02-27T10:18:26.890661023Z"}
{"log":"\n","stream":"stdout","time":"2020-02-27T10:18:26.890664707Z"}
{"log":"==== JS stack trace =========================================\n","stream":"stdout","time":"2020-02-27T10:18:26.890668103Z"}
{"log":"\n","stream":"stdout","time":"2020-02-27T10:18:26.890672453Z"}
{"log":"Security context: 0x3f62d4d008d1 \u003cJSObject\u003e\n","stream":"stdout","time":"2020-02-27T10:18:26.890675905Z"}
{"log":"    0: builtin exit frame: parse(this=0x3f62d4d1ec89 \u003cObject map = 0x375559ac3549\u003e,0x3c0268c3aac9 \u003cVery long string[517101925]\u003e,0x3f62d4d1ec89 \u003cObject map = 0x375559ac3549\u003e)\n","stream":"stdout","time":"2020-02-27T10:18:26.890679637Z"}
{"log":"\n","stream":"stdout","time":"2020-02-27T10:18:26.890684086Z"}
{"log":"    1: deserialize [0x12de3bfb2d71] [/srv/www/node_modules/elasticsearch/src/lib/serializers/json.js:~42] [pc=0x1c5017a54005](this=0x3caf862675c9 \u003cJson map = 0x1b1b5e342379\u003e,0x3c0268c3aac9 \u003cVery long string[517101925]\u003e)\n","stream":"stdout","time":"2020-02-27T10:18:26.890687493Z"}
{"log":"   ...\n","stream":"stdout","time":"2020-02-27T10:18:26.890691854Z"}
{"log":"\n","stream":"stdout","time":"2020-02-27T10:18:26.890695282Z"}
{"log":"FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory\n","stream":"stderr","time":"2020-02-27T10:18:26.893190984Z"}
{"log":"2020-02-27T10:18:34: PM2 log: App [rumors-api:1] exited with code [0] via signal [SIGABRT]\n","stream":"stdout","time":"2020-02-27T10:18:34.439108515Z"}
{"log":"2020-02-27T10:18:34: PM2 log: App [rumors-api:1] starting in -cluster mode-\n","stream":"stdout","time":"2020-02-27T10:18:34.484851615Z"}
{"log":"10:18:34 PM2           | App [rumors-api:1] exited with code [0] via signal [SIGABRT]\n","stream":"stdout","time":"2020-02-27T10:18:34.542056858Z"}
{"log":"10:18:34 PM2           | App [rumors-api:1] starting in -cluster mode-\n","stream":"stdout","time":"2020-02-27T10:18:34.54626033Z"}
{"log":"2020-02-27T10:18:35: PM2 log: App [rumors-api:1] online\n","stream":"stdout","time":"2020-02-27T10:18:35.440139913Z"}
{"log":"10:18:35 PM2           | App [rumors-api:1] online\n","stream":"stdout","time":"2020-02-27T10:18:35.441326366Z"}
{"log":"10:18:39 1|rumors-api  | Elasticsearch INFO: 2020-02-27T10:18:39Z\n","stream":"stdout","time":"2020-02-27T10:18:39.682718212Z"}
{"log":"10:18:39 1|rumors-api  |   Adding connection to http://db:9200/\n","stream":"stdout","time":"2020-02-27T10:18:39.683382154Z"}
{"log":"10:18:41 1|rumors-api  | Listening port 5000\n","stream":"stdout","time":"2020-02-27T10:18:41.294926111Z"}
{"log":"\n","stream":"stdout","time":"2020-02-27T10:19:07.04858235Z"}

See the full logs here: https://gist.github.com/MrOrz/63019de0f65fd320964770dd64bebbe0

2/27 18:00 - rumors-api:0 & rumors-api:1 encounters JS heap OOM and restarts sparaingly
2/27 22:50 ~ 2/28 05:29 - rumors-api:0 & rumors-api:1 encounters JS heap OOM and restarts alternatively. Each restart is within 4 seconds and there are ~ 30s gap between restarts of different processes, thus the service should be still available.

Regarding the "Very long string" error emitted by elasticsearch and triggers OOM, I highly suspect that it is because rumors-api is trying to access html field in urls index, and that triggers such error.
However we can never be sure and further investigation is needed (such as analyzing field size of each field in elasticsearch) to develop a step-to-reproduce, and then a solution (like blacklisting certain fields for searchResultLoader and docLoader) can be applied.


Unable to save images the first time after selecting

Describe the bug

When I select an image, the selection will be ignored. I have to select an image again for the image to "stick".
Occasionally the application will lockup when selecting an image and I am forced to kill the application.

To Reproduce
Steps to reproduce the behavior:

Go to "Images"
Click on any game
Either clear an image or start with a game requiring an image

It can be a grid, hero, logo, icon...any of these have the symptom

Choose an image
Notice that the image does not apply.
Without backing out to the games list, attempt to choose the same or different image.
Notice that the image now applies.

Expected behavior
Expect to click on image once and for that selection to "stick" the first time.
Screenshots
https://user-images.githubusercontent.com/9056483/188243992-480aa627-4bd6-4084-9d8e-b1bd3dce89d4.mp4
Desktop (please complete the following information):

OS: Steam Deck
BoilR Version v.1.4.7
Heroic and EmuDeck

Additional context

Not sure if it is related but a number of games in my list did not have grid images automatically chosen. I am having to go in manually to choose grid images, sometimes hero images, icons and logos.
Possibly related to #189
Great work with BoilR btw! I love using it ❤

Question, does it still update the image in steam?
I am wondering if this is a UI timing glitch, like it does not not update the ui, but it still does the download.

@PhilipK Yes, the image is still downloaded and put into the ../config/grid/ folder. It just doesn't immediately show up unless you reload the games index page or some combination of back and forth between locations.

Agreed, its bad UX, and it needs fixed. Just helps me identify what the problem is so it can be solved, thanks for reporting this.

This is solved in version:
https://github.com/PhilipK/BoilR/releases/tag/v.1.4.8


Rewrite gem to use Arel instead of concatenating strings

This pull request rewrites acts_as_geolocated methods to use Arel instead of concatenating strings together. This should prevent issues like #13 in the future and is less error-prone.
All tests have been checked and they are passing correctly.

Thanks again, sorry for the delay to merge


Add rel="noopener noreferrer" to sample 05.custom-components/e.card-components

Fixes #4564.

Changelog Entry
(No CHANGELOG for patching samples)
Description
The sample contains some HTML code snippets of <a>.
We should promote security by adding rel="noopener noreferrer".
Specific Changes

Update README.md and code snippet with rel="noopener noreferrer".

[x] ~I have added tests and executed them locally~
[x] ~I have updated CHANGELOG.md~
[x] ~I have updated documentation~

Review Checklist

This section is for contributors to review your work.

[x] ~Accessibility reviewed (tab order, content readability, alt text, color contrast)~
[x] ~Browser and platform compatibilities reviewed~
[x] ~CSS styles reviewed (minimal rules, no z-index)~
[x] Documents reviewed (docs, samples, live demo)
[x] ~Internationalization reviewed (strings, unit formatting)~
[x] ~package.json and package-lock.json reviewed~
[x] Security reviewed (no data URIs, check for nonce leak)
[x] ~Tests reviewed (coverage, legitimacy)~

Needs to recreate from official repo.


xgboost: 2.0.1 -> 2.0.2

Description of changes
Updating xgboost to 2.0.2. A patch release.
https://github.com/dmlc/xgboost/releases/tag/v2.0.2
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 268859 run on aarch64-darwin 1

2 packages failed to build:

python311Packages.shap
python311Packages.shap.dist

7 packages built:

python310Packages.shap
python310Packages.shap.dist
python310Packages.xgboost
python310Packages.xgboost.dist
python311Packages.xgboost
python311Packages.xgboost.dist
xgboost

Result of nixpkgs-review pr 268859 run on aarch64-darwin 1

1 package marked as broken and skipped:

xgboostWithCuda

9 packages built:

python310Packages.shap
python310Packages.shap.dist
python310Packages.xgboost
python310Packages.xgboost.dist
python311Packages.shap
python311Packages.shap.dist
python311Packages.xgboost
python311Packages.xgboost.dist
xgboost

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2963

The aarch64-darwin ofborg runner seems to disagree with your nixpkgs-review. Do you know the source of this flakyness?

Not sure, but I can rerun nixpkgs-review tonight on x86-linux and aarch64-darwin to try reproducing. Looks like it was a unit test failure in ofborg.

Would it make sense to disable that test and mark it flake in a comment? Failures like this is annoying to restart on hydra.

Closing in favor of https://github.com/NixOS/nixpkgs/pull/291469


Add events tab in app detail view

As a user, I want to see what's happening to my application tasks right now.
We should add a tab in the app detail view which displays events relating to the current app as they occur.  We should filter the events stream by appId to get the stream data.
We should investigate how to display these messages in a human-friendly format which is still useful for debugging.
We should derive ACs by answering the following questions:

What fields in the JSON response are relevant to the user?
How big should the buffer be? 1000 lines? Two minutes?
Should these lines be filterable, and if so how?

Ideally we would have server-side filter per #654; for the moment we will filter in the browser.

@cleverroffey, check this out!

Also see mesosphere/marathon#1784

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-3226. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-3226. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


Fixing the testimonials section

What happened?
I wanted to point out that the speaker and member tags are coming outside in some divs
Here's a look

How can we reproduce this bug?
I will fix it by preventing the overflow of content.
Desktop Information (Optional)
No response
Urgency (Optional)
None

Issue raised before already


Add configuration file for aeos module and update Dockerfiles

This PR adds a configuration file trying to address #335. This config file is similar to src/owl/config, with smaller number of compiling options.
I've tested compiling Owl on MacOS, RaspberryPi, Ubuntu, and several docker containers. Current Dockerfiles are therefore also fixed in this PR.

great, thanks for fixing this, jianxin 👍


请问是否支持chatglm3-6b？ enhancement

[ ] I checked to make sure that this is not a duplicate issue

Describe the solution you'd like
A clear and concise description of what you want to happen.

doing,可以先测试下

done