OPA Constraints are not deleted until a refresh of the page

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Install OPA on a 1 node aws rke cluster.
Create a constraint
Delete the constraint

Result:
Constraint is still listed in UI and only disappears after refresh.
resource.create calls and resource.remove calls are seen in WS messages tab (dev tools)

Expected Result:
Constraint should be deleted without a refresh of a page.
Other details that may be helpful:
Related issue: https://github.com/rancher/dashboard/issues/371
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.5-head commit id: 71da1569f
Installation option (single install/HA): singlw

I don't see this happening in the latest.

Currently blocked by: https://github.com/rancher/dashboard/issues/1964

The bug fix is verified with Rancher server rancher\rancher:master-head version e129f92 and rancher\rancher:v2.5-head version 395b4fe
Steps:
Install OPA on a 1 node aws rke cluster.
Create a constraint
Delete the constraint
Result:
Constraint is deleted. UI is updated without refreshing the page.


32-bit version of Windows is not supported in 2.13.0

My Setup

Operating System: Windows7 32-bit version
App Version: 2.13.0

[ x ] I have tested with the latest version
[ x ] I can simulate the issue easily

Description
Installer with 2.12. * version of application supported the 32-bit version of Windows. Installation 2.13.0 does not work on the 32-bit version of Windows.

Current Behavior
Can't install 2.13.0 version of application on 32-bit version of Windows.
Expected Behavior
Have the opportunity to install 2.13.0 version of application on 32-bit version of Windows.

I know I do not have a whole lot of clout when it comes to decisions for the project 😿 . We use Rocketchat in our organization, where Windows 7, 32bit is a requirement for the foreseeable future. I'm just curious what is the reasoning behind no longer supporting 32bit?

@bkraul, we are in the same situation. We have a lot computers with Windows-7 32-bit. So we cant update or install Rocket.Chat app on them. Rocket.Chat app supports 32-bits installation on Linux distr, so I think supporting 32-bit Windows system will be the right decision.

@bkraul electron-builder issues introduced when we tried new build targets. It's near to impossible to build all targets without breaking at least one of them. The Windows was neglected due to some error when signing the AppX. I expect to fix everything ASAP, but testing will be harder now.

@tassoevan as I understand problem not exactly in 32-bits build?
if return previous state of release command:
"gulp.task('release:win32', () => build({ publish, ia32: true, x64: true, win: [ 'nsis', 'appx' ] }));"
And run it  then in the output I recived executable that work in 32-bit Windows.

@abicur This configuration was causing this error: https://ci.appveyor.com/project/RocketChat/rocket-chat-electron/build/1.0.745

@tassoevan Hm.. I am build it in Windows 10 x64 with:
gulp.task('release:win32', () => build({ publish, ia32: true, x64: true, win: [ 'nsis', 'appx' ] }));
Result:
E:\git-repos\Rocket.Chat.Electron>git status
On branch develop
Your branch is up to date with 'origin/develop'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        modified:   tasks/release.js

no changes added to commit (use "git add" and/or "git commit -a")

E:\git-repos\Rocket.Chat.Electron>yarn release
yarn run v1.9.4
$ gulp release --env=production
[22:16:58] Using gulpfile E:\git-repos\Rocket.Chat.Electron\gulpfile.js
[22:16:58] Starting 'public'...
[22:16:58] Starting 'i18n'...
[22:16:58] Starting 'bundle'...
[22:16:58] Starting 'less'...
[22:16:58] Starting 'environment'...
[22:16:58] Starting 'release:win32'...
  • electron-builder version=20.28.2
Circular dependency: src\scripts\sidebar.js -> src\scripts\webview.js -> src\scripts\sidebar.js
Circular dependency: src\scripts\sidebar.js -> src\scripts\menus.js -> src\scripts\menus\view.js -> src\scripts\sidebar.js
[22:16:59] Finished 'bundle' after 834 ms
  • loaded configuration file=E:\git-repos\Rocket.Chat.Electron\electron-builder.json
[22:16:59] Finished 'environment' after 973 ms
[22:16:59] Finished 'less' after 992 ms
[22:16:59] Finished 'i18n' after 1.16 s
  • writing effective config file=dist\builder-effective-config.yaml
[22:17:02] Finished 'public' after 4.22 s
[22:17:02] Starting 'build-app'...
[22:17:02] Finished 'build-app' after 70 μs
  • rebuilding native production dependencies platform=win32 arch=x64
  • rebuilding native dependency name=spellchecker
  • rebuilding native dependency name=@paulcbetts/system-idle-time
  • packaging       platform=win32 arch=x64 electron=2.0.8 appOutDir=dist\win-unpacked
  • building        target=AppX arch=x64 file=dist\rocketchat-setup-2.14.0-develop.appx
  • rebuilding native production dependencies platform=win32 arch=ia32
  • rebuilding native dependency name=spellchecker
  • AppX is not signed reason=Windows Store only build
  • rebuilding native dependency name=@paulcbetts/system-idle-time
  • packaging       platform=win32 arch=ia32 electron=2.0.8 appOutDir=dist\win-ia32-unpacked
  • building        target=AppX arch=ia32 file=dist\rocketchat-setup-2.14.0-develop.appx
  • building        target=nsis file=dist\rocketchat-setup-2.14.0-develop.exe archs=x64, ia32 oneClick=false
  • AppX is not signed reason=Windows Store only build
  • building block map blockMapFile=dist\rocketchat-setup-2.14.0-develop.exe.blockmap
[22:18:13] Finished 'release:win32' after 1.25 min
[22:18:13] Starting 'release'...
[22:18:13] Finished 'release' after 6.33 μs
Done in 77.85s.

The resulting installation files work in windows 32-bit:

I believe there was a corrupted cache in CI server. 2.13.1 should bring back the 32-bit build.


Cloud Build in service deploy - question not issue

Hi, this is a question vs an issue. I am following the install process for the services portion of the app. When i look through the deploy.sh, i see the gcloud command ot create the function, but where does it create a cloud build for it and where does it reference/create the source code (function-source.zip) in the GCS bucket? It just seems that that part of the build is missing in the build script code (it obviously isn't )
Thanks in advance!

https://github.com/google-marketing-solutions/vigenair/blob/main/service/deploy.sh#L91
Specifying the source directory as the current directory tells Cloud Functions to take all of the code in said directory, zip it and use it as the function source. This has the benefit that when you click "Edit source code" in the UI you can see the same set of files in the same folder hierarchy as you would in the local file system.


Issues when using zhCN language client

Hi, I am playing with zhCN language client and the addon didn't show any dialog when I talk to any NPCs.. Aslo, it report a Lua erro:
Message: Interface\AddOns\Immersion\Logic\Frame.lua:223: ImmersionFrameTalkBoxNameFrameName:SetText(): Font not set
Time: 11/03/24 19:46:24
Count: 1
Stack: [C]: in function SetText' Interface\AddOns\Immersion\Logic\Frame.lua:223: in function UpdateTalkingHead'
Interface\AddOns\Immersion\Logic\Frame.lua:162: in function HandleGossipOpenEvent' Interface\AddOns\Immersion\Logic\Events.lua:7: in function ?'
Interface\AddOns\Immersion\Logic\Frame.lua:11: in function <Interface\AddOns\Immersion\Logic\Frame.lua:7>
Locals: (*temporary) = ImmersionFrameTalkBoxNameFrameName {
0 =
FadeIn =  {
}
}
(*temporary) = "旅店老板法雷"

Could you fix that please? I really need this addon!
Thanks in advance for your time.

Sorry, I mean it didn't show any dialog then I talk to any NPCs.

@wutote hi, make sure you have original game font in the directory Fonts: "Fonts\MORPHEUS.TTF".
Otherwise, just make a copy of the supported game font (or download MORPHEUS.TTF from google), put it in your fonts folder (Your_Game_Directory\Fonts) and name it MORPHEUS.
If you don't have such a folder, then create it and do the same.

Hi, I am sorry for the late reply and thanks for you time!
I did as you instructed and it work! But the title of the dialog box shows a question mark.

Then I used 'nowar-fonts/Warcraft-Font-Merger' to complete the font and it work nicely!

However, when I change the scale value, the dialog scaled but fronts didn't.
What am I supposed to do now?

I try to remove the FrameXML.log file and login game again, the addon works nicely, just without scaling.
Then I remove the MORPHEUS.TTF file an login game again, the addon shows same bug and the FrameXML.log file created with same content.


core file included with latest image

The following command sequence
docker pull mcr.microsoft.com/mssql/server
docker run --rm -it mcr.microsoft.com/mssql/server bash
results in a core file clearly visible in the root of the built container, as shown below. You should figure out what caused the core, and then remove both the cause and the core file.

Thanks for letting us know. We'll look into it.


[test] Add PySpark check

I changed the number of tasks to 3 to test the case of multiple worker nodes. Now we have 1 master and 2 workers.

@jenkins-cscs retry daint


scene.wait_upto

Description of proposed feature
This feature will allow you to wait until the scene has run for a specific duration.
Lots of people overlay audio onto their videos and this will make it easier to sync audio and animation.
How can the new feature be used?
# play animations
self.wait_upto(60)
# scene has run for 1 minute

# play more animations
self.wait_upto(90)
# another 30 seconds have passed

Additional comments
I've been using it in my own projects and would be happy to implement it and submit a PR when if that's fine.
I just want to get a go-ahead and any comments about things I might not have thought of.

I find this an interesting idea but where is the benefit over just using your editing software to extend the animations?
And there is also a wait until function. That might be able to do something similar if I'm not completely mistaken.

I find this an interesting idea but where is the benefit over just using your editing software to extend the animations?
And there is also a wait until function. That might be able to do something similar if I'm not completely mistaken.

One of the benefits of this is that you can compile with ffmpeg for example, rather than using additional software that you have to pay for or has a watermark, etc. It also means you don't have to keep track of the runtimes of each individual animation as it runs.
The wait_until function is just a wrapper for the wait function and would not offer the same functionality:
  stop_condition
      A function without positional arguments that evaluates to a boolean.
      The function is evaluated after every new frame has been rendered.
      Playing the animation only stops after the return value is truthy.

Since the PR #3997 introduced a time property for Scene, this feature would be easier to implement in a PR.
I like the idea, but the name doesn't really convince me. Personally, I would like Scene.wait_until() to be renamed to Scene.wait_until_condition() before implementing this change, and I would call this Scene.wait_until_time().
In the meantime, another option, since Scene.time is now implemented, is to call self.wait_until(lambda: self.time >= 60), although it is verbose.

What about making it keyword-only?:
.wait_until(time=90) # valid
.wait_until(90) # invalid

What about making it keyword-only?

It could be an interesting idea, although it would require a complete rewriting on how .wait_until() works.
I'd like to read other people's opinions!


CI: Upgraded CI

Changes:

More labels
Caching
PR based setup, instead of pushes
Dependabot
GitHub CodeQL
Stale issue & PR cleaning
Releases action

CodeQL will fail while we're still on the waitlist. I'm opting to merge it in now regardless.
Push will also fail on this merge as the version hasn't been bumped. No project code has changed, so there's no need.


Use HDR image for the environment map

The currently used LDR envmap is very overexposed and doesn't do the justice to show the power of the PBR workflow. Has there been consideration to implement full HDR Probes (Radiance) file format parsing or RGBM encoding?

@bghgary Does BabylonJS support HDR in any form?

Yes. All the environment maps are HDR, for example.

@moneimne or @snagy Do either of you have some bandwidth to look into implementing this?

@emackey I don't have any time soon; I'm going to be prioritizing some cleanup and maintenance of the existing stuff over enhancements.

OK.  There doesn't seem to be a standard way of doing HDR environments in WebGL, unfortunately.  BabylonJS looks like they invented their own *.babylon.hdr file format for this purpose, but we can't reuse that here.

For HDR in WebGL 1.0, see http://webglinsights.github.io/downloads/WebGL-Insights-Chapter-16.pdf

Works now with the new glTF 2.0 sample viewer.


Allow throttling

Some APIs, most notably geonames, limit requests rate. It would be nice to be able to handle that.

Looks like geonames lifted the limit. At least for RDF data fetching API. Which makes me unable to replicate. Closing as for now.


workflows: Move actions to Ubuntu 20.04

GitHub's 18.04 additional repositories break NPM. As "ubuntu-latest" is
going to switch to 20.04 soon anyway [1], do the jump now.
[1] https://github.com/actions/virtual-environments/issues/1816
If you look into Actions tab, all actions were failing for some time now.

I manually ran po-refresh and npm-update and they succeeded.

I manually ran po-refresh and npm-update and they succeeded.

@marusak Thank you for noticing and fixing this

GitHub generates an email on failed actions

Unfortunately I just learned that I have to opt in to receive these notifications. I should receive them now.

@marusak Thank you for noticing and fixing this

GitHub generates an email on failed actions

Unfortunately I just learned that I have to opt in to receive these notifications. I should receive them now.


[SPARK-50121][INFRA] Add Python 3.9 Daily Python GitHub Action job

What changes were proposed in this pull request?
This PR aims to add Python 3.9 Daily Python GitHub Action job.
Why are the changes needed?
Previously, this is covered by PyPy3.9 GitHub Action job, but now it's moved to PyPy3.10 GitHub Action job.
According to Python Versioning Policy, https://devguide.python.org/versions/, we need to maintain it until October 2025.
Does this PR introduce any user-facing change?
No, this is an infra-only change.
How was this patch tested?
Manual review.
Was this patch authored or co-authored using generative AI tooling?
No.

Could you review this PR, @LuciferYang ?

Merged into master. Thanks @dongjoon-hyun

Thank you so much, @LuciferYang .

For the record, Python 3.9 Daily CI is healthy.

https://github.com/apache/spark/actions/workflows/build_python_3.9.yml

https://github.com/apache/spark/actions/runs/11525385608


WebKitBrowser: Add console.log support

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

https://jenkins.code.rdkcentral.com/job/github-triggered/957/ started

@MFransen69  @pwielders I would assume we want this to be a trace rather than always on, or would you like to have it always enabled?

This is a broader issue than is usggested here. This is due to the fact that originally we where pushing the console log through the InjectableBundle, but if the Injectable bundle is not available (or loaded) the console logging is not being published. So the issue is correct, but we need to broaden it a bit more.
Remove the Traces from Console log from the injectable bundle here:
https://github.com/rdkcentral/ThunderNanoServices/blob/master/WebKitBrowser/InjectedBundle/main.cpp#L267-L278
Suggest to create a dedicated Trace category, like done here:
https://github.com/rdkcentral/ThunderNanoServices/blob/master/WebKitBrowser/HTML5Notification.h#L27-L61
Call this class BrowserConsoleLog (or something identifying the purpose of this trace)
And than Trace it as done here, to avoid expensive parsing of the Trace is turned off:
https://github.com/rdkcentral/Thunder/blob/c8c91a18313b28392ce01e0a193143c5b47f100b/Source/WPEFramework/PluginServer.cpp#L362-L385
so in pseaudo code it would be like:
[](WKPageRef, WKStringRef source, WKStringRef, uint64_t line, uint64_t column, WKStringRef message, WKStringRef, const void* clientInfo) {
TRACE(BrowserConsoleLog , (message, line, column);
}
Where the constructor of the BrowserConsoleLog  would be something like:
BrowserConsoleLog ::BrowserConsoleLog (const WKStringRef&, const uint64_t line, const uint64_t column)
_text = '[' + Core::NumberType<uint64_t>(line).Text() + ',' + Core::NumberType<uint64_t> + ']'
+WebKit::Utils::WKStringToString(message);
    const uint16_t maxStringLength = Trace::TRACINGBUFFERSIZE - 1;
    if (_text.length() > maxStringLength) {
        _text= messageString.substr(0, maxStringLength);
    }

}
This will avoid 'two" copies of the same ConsoleLine in all WebKitBrowser login is turned on, and since we created a dedictaed category, called  "BrowserConsoleLog " you could add this to be default on (only these traces) during debugging.

https://jenkins.code.rdkcentral.com/job/github-triggered/999/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/1001/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/1008/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/1010/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/1012/ started


Fix C++ contributor ci

For some technical reasons we have a separate external-contributor ci setup which doesn't allow as-easy access to secrets etc. that we use for publishing. Currently the C++ part of this ci doesn't work at all which is a problem now that we're getting more and more contributions.

Related:

#1994

We should test if rerun-bot: full-check works for contributor PRs

Piggybacked ci fixes in https://github.com/rerun-io/rerun/pull/6053
rerun-bot: full-check isn't tested yet

calling this still done, rerun-bot handling is something else


优化ntp和tar包位置

THANKS for PR, those are some suggestions:

update dashboard cert needn't to restart master node.
one PR one feature.


Why does response()->turboStreamView() expect a view instance?

While playing around with this (awesome) package, I noticed the following:
return response()->turboStreamView(view('comments.turbo_created_stream', [
  'comment' => $comment,
]));

What is the reason you expect a view instance as the argument, and not just the view name + data? This feels way more natural to me.

That's because I don't want to replicate the functionality in Laravel itself. I would agree the naming looks off, so something like turboStreamUsing(view()) might read better?
Personally, I use PHPStorm, and the macros, while they are great, I don't get auto-completion, so I wanted to limit the about of "unkowns" or conventions using the package. I'll test it out again here to see if the auto-completion thing works with macros.

That's because I don't want to replicate the functionality in Laravel itself. I would agree the naming looks off, so something like turboStreamUsing(view()) might read better?
Personally, I use PHPStorm, and the macros, while they are great, I don't get auto-completion, so I wanted to limit the about of "unkowns" or conventions using the package. I'll test it out again here to see if the auto-completion thing works with macros.

Perhaps the most Laravel way of doing this, is t do a is_string($view). If true, wrap it in a view call with the optional second argument.

Perhaps the most Laravel way of doing this, is t do a is_string($view). If true, wrap it in a view call with the optional second argument.

Added an alternative syntax to the turboStreamView helper. Checkout the docs.


RAT-212,RAT-253: Support all valid ASF2.0-License urls

An https url is currently classified as invalid.
According to https://issues.apache.org/jira/browse/LEGAL-265 these should be valid too.
This pull request intends to fix this.

@nielsbasjes thanks for filing the PR - let's integrate it and see that ASF-licensed projects enjoy more flexibility :-) Maybe other licenses will follow with the same "problems" ....
Assuming you already have a proper ICLA I merge directly.
Thanks for your contribution to RAT!

Yes, ICLA is covered.
I'm PMC and committer for Apache Avro and have contributed to Hadoop, Pig, Parquet, HBase, Flink and several others.

@ottlinger Maybe you can perform the release?


Split up email list by date

Checklist

[X] I have used the search function to see if someone else has already submitted the same feature request.
[X] I will describe the problem with as much detail as possible.
[X] This issue only contains a request for one single feature, not multiple (related) features.

App version
8.0b4
Problem you are trying to solve
I'm migrating to Thunderbird from Outlook. In Outlook, conversations are grouped by the date they were sent. The current day's conversations are grouped at the top with no heading, then there are groups for Yesterday and any other days for the current week, then Last Week, This Month, etc.
Suggested solution
Add some sort of support for grouping conversations by date. It wouldn't need to be as complex as Outlook's version; just making a group for each day would be fine.
Screenshots / Drawings / Technical details
No response

Thank you for reporting! Would you mind filing this as an idea on Mozilla Connect? https://connect.mozilla.org/t5/ideas/idb-p/ideas/label-name/thunderbird android
I'm going to close it off here so we can organize the ideas a bit more efficiently.


Handle multipart/form-data in service generation in request payload

Description:
openapi: 3.0.1
info:
  title: testInlineRequestBody
  version: 1.0.0
paths:
  /user:
    post:
      summary: Post operation for the path /user
      operationId: addUser
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                userName:
                  description: User Name
                  type: string
                userPhone:
                  description: User Phone Number
                  type: string
              required:
                - userName
                - userPhone
      responses:
        200:
          description: Successful
          content:
            application/json:
              example: Ok
components: {}

generated code :
import ballerina/http;

listener http:Listener ep0 = new (9090, config = {host: "localhost"});

service / on ep0 {
    resource function post user(@http:Payload json payload) returns json {
    }
}

[ ]  Enable this test

Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Expected code generations
resource function post user(@http:Payload {mediaType: "application/x-www-form-urlencoded"} map<string> payload) returns json {
    }

Implementation on hold until `multi-part form-data media type support from http module.

Hi @lnash94  this needs to be
resource function post user(http:Request payload) returns json {
Thanks


chore: release 1.0.6

📦 Release PR
1.0.6 (2024-01-02)
🪲 Bug Fixes

npm-ci: fixed wrong _auth in npm release action (3c6e740)

🤖 This pull request was automatically generated. To publish the version, please merge the pull request.

:robot: Release is at https://github.com/Vertretungsapp/indiware-api/releases/tag/v1.0.6 :sunflower:


Rainlab Static Pages plugin ?

If I remember correctly, old version of Vuetober had support (or not?) of menus and Static Pages.
As I understand CMS Pages here are totally useless because we have Vue Pages instead. But what about those generates from Static Pages plugin? Can we lay them to REST? ;)

Hmm, I'll have to look into this. I've never actually used the static pages plugin. I bet it wouldn't be too difficult though to make static pages that are rendered with no layout. If we could do this, then one could simply use axios or whatever to fetch the page content, and inject it into the page with the v-html directive.

Static Pages plugin also generate menus that user can manage (any plugin can be integrated with it). That's why it is most used plugin from Octo marketplace.


RAKWireless libraries for RAK12010, RAK13005, RAK12004, RAK12008, RAK12009 WisBlock modules

Hi @beegee-tokyo. Thanks for your libraries. The RAKwireless-libraries branch you submitted this pull request from is very outdated, which resulted in the merge conflict. Please sync it up. It is now possible to do that via the GitHub web interface:
https://docs.github.com/en/github/collaborating-with-pull-requests/working-with-forks/syncing-a-fork
I think that will make it easy.
I'm happy to help out, but it's not clear to me what you intended to do in this pull request. You mention a list of libraries in the pull request title, but from what I can tell there is only one new library added here:
https://github.com/RAKWireless/RAK12010-VEML7700-Library
The good news is that the library is passing all the checks, so when the checks are triggered again when you sync your branch, the pull request should be automatically merged.

@per1234
Sorry for the confusion. It is indeed only one library to be added. But because of the merge conflict I saw multiple libraries.
Will sync my fork now and then again before I push the next library.
Thank you for your support.


feat(chart): Adding initContainers support for Vault Secrets Webhook chart

Q
A

Bug fix?
no

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
none

License
Apache 2.0

What's in this PR?

A simple change in the chart to add support for init-containers.
Why?

Having init-containers enable you to run automation tasks, validations or any other scripts prior to vault-secrets-webhook running. In my particular use case, we created an init-container that manages to create the Kubernetes auth method in Vault, so you don't have to integrate the cluster manually.
Additional context

Checklist

[X] Code meets the Developer Guide
[X] User guide and development docs updated (if needed)
[X] Related Helm chart(s) updated (if needed)

Just updated with upstream again, seems a commit was merged to master in the meantime.


[UI] Improve log out page view

Describe the bug
Log out page looks weird, suggesting to make more user friendly
Set up
https://www.kafka-ui.provectus.io/
Steps to Reproduce
Steps to reproduce the behavior:

Login to Kafka-ui
Press "Log out" in the right corner

Actual result: Log out page opens with weird design (Check attached screenshot)
Expected behavior

In case we should keep the log out page, let's make design better
Also we can add pop up dialog to confirm the log out action

Screenshots

Hey, just wanted to know if the problem is still available to be solved as the labels were removed? If so I would like to give it a try.

@kunzef Hey, currently it's not since we don't have a design ready for this. You can try looking up any other issue on the "up for grabs" board.


vendor/autoload not working in sage/function

sage/functions.php#L29 whats it for? it doesn't work or perhaps i missed something?

the sage 9 branch, yes? you need to run composer install first. it's for autoloading files
as stated in our contributing guidelines (that are linked at the top when you go to create a new issue), please don't use github issues for personal support requests.
https://discourse.roots.io/

@retlehs yeah Sage 9! i thought about but avoid the composer install, thanks for the tip! Very nice project btw, long live!


update custom driver docs

Update the documentation so it's obvious of how to use custom executable paths.

Thank you one more time for the contributions!


Update Cellranger for mkfastq

This PR updates the cellranger Dockerfile to also build bcl2fastq so that cellranger mkfastq can be run.
In order to build this, you now need to download bcl2fastq from Illumina as well as Cellranger, but I have not yet updated the documentation to reflect this fact, hence the draft status.

I have now updated the README, but part of me wonders if we should switch this image from ubuntu to centos, so that we can use the illumina provided RPM file, which should make building much faster (compiling bcl2fast1 is not fast) and should also result in a smaller image.
Probably a future problem.

Realized that this has been hanging out for a bit. I revised it to use the rpm file, but left the build script for posterity. Requesting rereview...


pool.end()

I have a pool and I call .end() but it seems that I still have a connection to the database when I call process.getActiveHandlers()
Is there anything else I need to do to completely destroy the pools connection to the database?

I may have a similar problem. When I call pool.end(callback), the callback is never triggered.
So my script never knows whether there was en error or not or if the pool is still available.

I think mine actually resolved and it was my mistake :)

Hi @guypaskar , sorry, my GitHub emails were not coming through for a bit so missed your issue. I'm going to close this if you have resolved your issue! If you're still having an issue, I would be happy to help, just post some information like Node.js version, version of this module, and example code to reproduce the issue :)

@guypaskar Would you mind describing your mistake? I'm trying to debug something similar with node-mysql leaving connections open even after pool.end() (which doesn't take a callback, unlike a few of the other end() methods).

@statico pool.end does indeed accept a callback. You can see this in our documentation: https://github.com/felixge/node-mysql#closing-all-the-connections-in-a-pool

@dougwilson Ah, I was confused -- Using a PoolCluster object returned by createPoolCluster(), its end() method doesn't take a callback. The problem eventually turned out to be some of our code not calling end() at all, which I diagnosed by looking at process._getActiveHandles() and seeing which ones were Sockets and what remote hosts and ports they were connected to.

Hi @statico, weird, as even the Pool Cluster should accept a callback to the .end method: https://github.com/felixge/node-mysql/blob/master/lib/PoolCluster.js#L58

Hi @statico, weird, as even the Pool Cluster should accept a callback to the .end method: https://github.com/felixge/node-mysql/blob/master/lib/PoolCluster.js#L58 The little bit of documentation for pool cluster in https://github.com/felixge/node-mysql#poolcluster even shows it taking a callback.

@dougwilson Ah, there's the problem -- we're on an ancient version of the module: https://github.com/felixge/node-mysql/blob/v2.0.1/lib/PoolCluster.js#L83

Oh, haha. I forgot that was added in later, in fact, from a comment that it was inconsistent :) Looks like it came in version 2.6.0 (https://github.com/felixge/node-mysql/blob/master/Changes.md#v260-2015-03-24)


Use withMiddleware with a middleware group

Laravel Version: 5.6.24

Description:
During tests I use the WithoutMiddleware trait to disable all middleware and bypass the authentication.
By disabling all the middleware, the web middleware group is disabled, but this is needed for using the $errors variable in the tests.
Is it possible to use the withMiddleware method with a middleware group? This would be handy.
Steps To Reproduce:

Use the WithoutMiddleware trait
call $this->withMiddleware('web');
Create a test to verify if the old data is loaded in a form.

why not just disable the middleware you want to disabled?

I assume a middleware be named with the same name as a group? If so, this could cause issues?

As @lagbox suggested I removed the WithoutMiddleware and simply disabled the middleware I wanted to disable.
The docs are completely missing any information about this functionality since L5.4
I'll close this issue as it is not a bug, but rather a vagueness of the docs.

Feel free to submit a PR to the docs if you think they're missing something.


Cannot connect from PHP to firebase firestore shared emulator

I have PHP running in docker, and serving up on local dev. Not in docker, I have the Firebase tools emulator running and firestore is exposed on 8088. Other applications like flutter can connect to my firestore emulator, but my PHP app cannot connect to the shared firestore emulator.
For my php application, I've added the FIRESTORE_EMULATOR_HOST env variable (stated in docs). I've tested combinations of <IP_ADDRESS>:8088, <IP_ADDRESS>:8088, my [ipv4]:8088.
Also, according to docs I've add the GOOGLE_PROJECT env variable, using my app project name and have also tried my app's project number.
Regardless of FIRESTORE_EMULATOR_HOST combinations or GOOGLE_PROJECT configurations  I get this error when trying to connect from firestore to the shared emulator:
code 14 - failed to connect to all addresses; last error: UNAVAILABLE: ipv4:<IP_ADDRESS>:8088: Socket closed

The firebase tools emulator is running, and I'm able to view the firestore emulator at http://localhost:4000 in my browser.
The docs state to run gcloud emulators firestore start --host-port=..., but I was hoping I'd be able to connect to the shared firestore emulator exposed on 8080, running in firebase tools.
Is this possible? If it is, I think a sample would be in order, as being able to test using emulators is a must.
Code snippet:
/// https://packagist.org/packages/google/cloud-firestore
/// https://github.com/GoogleCloudPlatform/php-docs-samples/tree/main/firestore/src
$firestore = new FirestoreClient([
    'keyFilePath' => PRODUCTION_CREDENTIALS_JSON_CONST
]);

$collectionRef = $firestore->collection(MY_COLLECTION_CONST);
$snapshot = $collectionRef->document($docId)->snapshot();

if (!$snapshot->exists()) {
    throw new RuntimeException('Document does not exist.');
}

After restarting Ubuntu, FIRESTORE_EMULATOR_HOST and GCLOUD_PROJECT, in my docker-compose.yml worked and were able to connect to my shared firebase tools emulator.
environment:
  XDEBUG_SESSION: docker
  CI_ENV: development
  FIRESTORE_EMULATOR_HOST: <IP_ADDRESS>:8088
  GCLOUD_PROJECT: [myprojectnumber]
```


Add wrapper for FormRectangular functions [wrapper-bform-dev]

The ParBilinearForm class has functions that form the linear system and system matrix using as input either an operator handle or an operator type. The ParMixedBilinearForm class only has functions to form the linear system and system matrix using an operator handle, but not an operator type.
In this PR I've added the wrappers to extend the functionality in ParMixedBilinearForm, so as to be analogous to that in ParBilinearForm.

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#1940
@alecampos2009
@tzanio
@cjvogl + @rcarson3
01/06/21
01/14/21
⌛due 01/21/21

@tzanio @cjvogl @homijan  To test these new wrappers, I have temporarily added a couple of lines to ex5p.cpp. This test, however, shows that the new wrappers give a seg fault. I'm not quite sure what the source of the seg fault is, or how to track it down.

Tested the wrapper using ex5p.cpp, following @cjvogl suggestion. No segfaults are now encountered and results seem equal to those from the original ex5p.cpp. The file ex5p.cpp has now been restored to its original state.

Tested the wrapper using ex5p.cpp, following @cjvogl suggestion. No segfaults are now encountered and results seem equal to those from the original ex5p.cpp. The file ex5p.cpp has now been restored to its original state.

Merged in next for testing...

Merged in next for testing...

The Travis failure for b090867 was interesting -- it was not due to the code in the PR itself, but rather due to the merging with master, which Travis performs automatically.

The Travis failure for b090867 was interesting -- it was not due to the code in the PR itself, but rather due to the merging with master, which Travis performs automatically.

Re-merged in next for testing ...

Re-merged in next for testing ...


send 404 status

When the page the user requests is not found, I just send him to a pretty page called /404.
I'm using
$location.path('404');

To redirect the user, how can I set the header code to be 404 when accessing that page?
thanks

How should this be handled then? Instead of routing to a 404 page with ui-router, I actually just make a http request to the 404 document on the server-side? Or does .htaccess do it for me? Sorry, I don't exactly understand how to solve this problem yet.
I have an express server running on the server side.


COR-136 make form readonly on case view

Lol I still don't understand what the filled property means?

For the moment, we use the same template (form_element.gohtml) for rendering a new case form as for rendering a filled-out case form on the case view.
When rendering on the case view we want to disable/make readonly all the input controls. My initial approach was to disable a control if the associated FormElement had a value.
You pointed out that some elements might not be required and therefore may not have any value, but should still be disabled on the CaseView.
My solution was to introduce a new Filled bool field on the form elements which gets set when a form is successfully submitted. Which is then used in the template thus:
{{ or .Attributes.Value (and (not .Attributes.Value) $filled)}}disabled{{end}}
Without this extra datapoint, how do we distinguish unrequired input fields with no value that should be disabled from those that shouldn't?
Perhaps Filled is a poorly chosen name, though, maybe Processed, or Set would be better?

@ludydoo you can re-review this

@shinroo the Dict template function I introduce in this PR could be useful for COR-160 if you choose to save the script as a template. Embedded templates (ie {{template "something" [pipeline]}}) can only be invoked with one "pipeline argument", the Dict function allows you to create a map so that you can pass in as many objects as needed: {{template "something" Dict "a" .A "b" .B}}


Exception from container-launch when running distributed demo

I follow the article "Distributed XGBoost YARN on AWS" but met a issue of "Exception from container-launch" when run the distributed demo.
any one have idea how to go one step further to debug the issue?
16/06/28 07:58:59 INFO dmlc.ApplicationMaster: [DMLC] Task 1 exited with status 250 Diagnostics:Exception from container-launch.
Container id: container_1467084431684_0007_01_000003
Exit code: 250
Stack trace: ExitCodeException exitCode=250:
	at org.apache.hadoop.util.Shell.runCommand(Shell.java:538)
	at org.apache.hadoop.util.Shell.run(Shell.java:455)
	at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:715)
	at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:211)
	at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:302)
	at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Container exited with a non-zero exit code 250

I have done
make test/filesys_test
and seems it have problem when trying to access s3:
ubuntu@ip-172-31-41-90:~/xgboost/dmlc-core$ ./test/filesys_test ls /
/opt    4096    is_dir=1
/home   4096    is_dir=1
/disk   4096    is_dir=1
/vmlinuz        5815680 is_dir=0
/lost+found     16384   is_dir=1
/media  4096    is_dir=1
/var    4096    is_dir=1
/sys    0       is_dir=1
/usr    4096    is_dir=1
/sbin   4096    is_dir=1
/etc    4096    is_dir=1
/mnt    4096    is_dir=1
/root   4096    is_dir=1
/tmp    4096    is_dir=1
/proc   0       is_dir=1
/boot   4096    is_dir=1
/run    680     is_dir=1
/initrd.img     7266051 is_dir=0
/bin    4096    is_dir=1
/lib    4096    is_dir=1
/lib64  4096    is_dir=1
/srv    4096    is_dir=1
/dev    3920    is_dir=1
ubuntu@ip-172-31-41-90:~/xgboost/dmlc-core$ ./test/filesys_test ls s3://
[06:19:10] include/dmlc/logging.h:235: [06:19:10] src/io/s3_filesys.cc:755: Check failed: path.host.length() != 0 bucket name not specified in s3
terminate called after throwing an instance of 'dmlc::Error'
  what():  [06:19:10] src/io/s3_filesys.cc:755: Check failed: path.host.length() != 0 bucket name not specified in s3
Aborted (core dumped)

i can manually access hdfs but fail with the tool: ./test/filesys_test
ubuntu@ip-172-31-41-90:~/xgboost/dmlc-core$ hadoop fs -ls /tmp/temp-dmlc-yarn-application_1467189669261_0004
Found 4 items
-rwxrwxrwx   1 ubuntu supergroup      21416 2016-06-30 03:42 /tmp/temp-dmlc-yarn-application_1467189669261_0004/dmlc-yarn.jar
-rwxrwxrwx   1 ubuntu supergroup       2696 2016-06-30 03:42 /tmp/temp-dmlc-yarn-application_1467189669261_0004/launcher.py
-rwxrwxrwx   1 ubuntu supergroup        857 2016-06-30 03:42 /tmp/temp-dmlc-yarn-application_1467189669261_0004/mushroom.aws.conf
-rwxrwxrwx   1 ubuntu supergroup    2033116 2016-06-30 03:42 /tmp/temp-dmlc-yarn-application_1467189669261_0004/xgboost
ubuntu@ip-172-31-41-90:~/xgboost/dmlc-core$ ./test/filesys_test ls hdfs://tmp/temp-dmlc-yarn-application_1467189669261_0004
loadFileSystems error:
(unable to get stack trace for java.lang.NoClassDefFoundError exception: ExceptionUtils::getStackTrace error.)
hdfsBuilderConnect(forceNewInstance=0, nn=tmp, port=0, kerbTicketCachePath=(NULL), userName=(NULL)) error:
(unable to get stack trace for java.lang.NoClassDefFoundError exception: ExceptionUtils::getStackTrace error.)
[06:40:20] include/dmlc/logging.h:235: [06:40:20] src/io/hdfs_filesys.cc:95: Failed to load HDFS-configuration:
terminate called after throwing an instance of 'dmlc::Error'
  what():  [06:40:20] src/io/hdfs_filesys.cc:95: Failed to load HDFS-configuration:
Aborted (core dumped)

after fix the classpath issue with adding hadoop classpath --glob to CLASSPATH,
seems i dont have authentication to HDFS, and all the logs write to there?
ubuntu@ip-172-31-41-90:~/xgboost/dmlc-core$ ./test/filesys_test ls hdfs://
hdfsBuilderConnect(forceNewInstance=0, nn=, port=0, kerbTicketCachePath=(NULL), userName=(NULL)) error:
java.lang.IllegalArgumentException: Expected authority at index 7: hdfs://
        at java.net.URI.create(URI.java:852)
Caused by: java.net.URISyntaxException: Expected authority at index 7: hdfs://
        at java.net.URI$Parser.fail(URI.java:2848)
        at java.net.URI$Parser.failExpecting(URI.java:2854)
        at java.net.URI$Parser.parseHierarchical(URI.java:3102)
        at java.net.URI$Parser.parse(URI.java:3053)
        at java.net.URI.<init>(URI.java:588)
        at java.net.URI.create(URI.java:850)
[06:52:08] include/dmlc/logging.h:235: [06:52:08] src/io/hdfs_filesys.cc:95: Failed to load HDFS-configuration:
terminate called after throwing an instance of 'dmlc::Error'
  what():  [06:52:08] src/io/hdfs_filesys.cc:95: Failed to load HDFS-configuration:
Aborted (core dumped)

finally, we ask our AWS admin to rerun the xgboost distributed tutorial, then success.
we were wondering  if it's caused by our default VPC has complex subnetwork rounting made some internal request fail?

now i can run demo/distributed_training, and a dataset with 6G successfully,
but when i try to train with data size 160G(30M rows, 2000 columns), i still met message:
16/07/14 23:55:53 INFO dmlc.ApplicationMaster: Task 0 failed on container_1468536895752_0002_01_000002. See LOG at : http://ip-172-16-11-208.ec2.internal:8042/node/containerlogs/container_1468536895752_0002_01_000002/yarn
[23:55:52] rabit/include/rabit/./internal/../../dmlc/././logging.h:245: [23:55:52] src/io/s3_filesys.cc:792: Check failed: data.str() == "false" the returning list is truncated
terminate called after throwing an instance of 'dmlc::Error'
what():  [23:55:52] src/io/s3_filesys.cc:792: Check failed: data.str() == "false" the returning list is truncated
any advises to debug?

it's due to the input data corrupts.
after remove all the bad formated lines, it works.

@sparktsao I also encountered this error. Could you let me know your solution?
my error as following:
hdfsBuilderConnect(forceNewInstance=0, nn=, port=0, kerbTicketCachePath=(NULL), userName=(NULL)) error:
java.lang.IllegalArgumentException: Expected authority at index 7: hdfs://
at java.net.URI.create(URI.java:859)

@shengshen i am not quite sure the detail root cause.
My environment is complex, because i am not the root(admin) of the EC2,
We are wondering permission is the root cause. so the secret key and private key can not do something.
So i request the help to our EC2 account administrator use he account to run the demo.
and it works.
are you admin of your EC2 account?
The other possible reason is the default subnet routing is too complex in my precious env,  it might block some traffic between computing nodes.
by the way, now we can use EC2 EMR to run the distributed XGBoost, too. FYR.

@sparktsao thank you for your message. Your solution about xgboost yarn on AWS is helpful. I have fixed my issue too. (when I set the full path of the hdfs, it works. You can see the detail:https://github.com/dmlc/xgboost/issues/1374)
So i will have a try about  xgboost yarn on AWS, just follow you. Wish a good luck~


[Release-1.7] Enable TCP Telemetry v2 export via Stackdriver filter (#25646)

Enable TCP Telemetry v2 export via Stackdriver filter (#25646)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@gargnupur: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio_release-1.7
deea092f7eb22312d5def3b1e88ea2a61c962982
link
/test release-notes_istio_release-1.7

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Document steps giving issue while starting MirrorMaker. Workaround Mentioned

[Enter feedback here]
Hello Team,
I have tried all the same steps in the document. When I went to the step to Start MirrorMaker in the secondary Cluster, I received this error It mentioned that there were no resolvable hosts in bootstrap.servers

The workaround I used in this case was that I used Broker Hosts of the primary Hosts as bootstrap.servers in consumer.properties instead of Zookeeper Hosts from the Primary Cluster, after which the mirroring process worked.

Please look into this and let me know

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

ID: 59e5fa6f-ff5f-7c88-99f1-295896a5354f
Version Independent ID: 7d27c2a6-6b75-b3c1-c3db-54ce1523b2f9
Content: Mirror Apache Kafka topics - Azure HDInsight
Content Source: articles/hdinsight/kafka/apache-kafka-mirroring.md
Service: hdinsight
GitHub Login: @JasonWHowell
Microsoft Alias: jasonh

@ss4aman I am checking internally with the products team and get back to you on this.

@ss4aman As per internal discussion this looks like this information needs to be added to current documentation.  We are working internally to update the documentation.  Thanks again for pointing this out, I am closing the issue based on this update, please let us know if there is something else that we can help you with.


the KCOV not working on pixel4

Hello all,
I tried to run syzkaller to fuzz the pixel4 phone.
And i compile the kernel refer https://source.android.google.cn/setup/build/building-kernels, use  build.config.kasan build the Image.lz4 and boot.img.
After build I fastboot flash the phone(pixel4), but syzkaller says"Manager.Check call failed: machine check failed: got no coverage".
Then I check the kernel build out file, CONFIG_KCOV=y ,but  no __sanitizer_cov_trace_pc in functions.
Does anyone know how to fix it?
Thanks

not a bug in syzkaller, asked on the mailing list


Cannot connect to a remote Jupyter server created via AWS Sagemaker

Environment data

VS Code version:

1.39.2
6ab598523be7a800d7f3eb4d92d7ab9a66069390
x64

Extension version (available under the Extensions sidebar): 2019.10.44104
OS and version: macOS 10.14.6 (18G103)
Python version (& distribution if applicable, e.g. Anaconda): N/A (remote session)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A (remote session)
Relevant/affected Python packages and their versions: N/A (remote session)
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info microsoft/vscode-python#3977): N/A (remote session)

Expected behaviour
Can connect to the remote server
Actual behaviour

Executing code failed : Error: Failed to connect to remote Jupyter notebook. Check that the Jupyter Server URI setting has a valid running server specified. https://test-notebook-instance.notebook.us-east-1.sagemaker.aws/ Error: Invalid response: 200 OK

Other reports: https://superuser.com/questions/1492931/how-to-connect-sagemaker-notebook-from-vs-code
See Logs further down.
Steps to reproduce:

Start the Sagemaker notebook

aws --profile personal-sagemaker --region us-east-1 sagemaker create-notebook-instance --notebook-instance-name test-notebook-instance --instance-type ml.t2.medium --role-arn  <my_role>

# wait for instance to start
aws --profile personal-sagemaker --region us-east-1 sagemaker create-presigned-notebook-instance-url --notebook-instance-name test-notebook-instance

The above gives a https://test-notebook-instance.notebook.us-east-1.sagemaker.aws?authToken=<LONG_TOKEN> url.

On a Python file opened:

# %%

print('hey')

I enter the URI in Python: Specify Jupyter Server URI and Type in (...)
Note

I can use this notebook on the browser.
 I cannot connect with awsToken created with presigned URL?

I have still this issue? I cannot connect with awsToken created with presigned URL?


Op-Panel changes for new system Bonnell

Addition of LCD Device Path, IM Keyword for New System Bonnell support.

Can one of the admins verify this patch?

add to approvelist


add release script

Codecov Report

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

@@           Coverage Diff           @@
##           master      #41   +/-   ##
=======================================
  Coverage   79.68%   79.68%
=======================================
  Files           2        2
  Lines          64       64
  Branches        7        7
=======================================
  Hits           51       51
  Misses          9        9
  Partials        4        4

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 1028a01...b6c7038. Read the comment docs.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat: get earliest version

Description
Can be useful if you want to read the earliest version possible.
Related Issue(s)

closes https://github.com/delta-io/delta-rs/issues/1037

I will take this over and add the necessary changes. Since this is an update to LogStore some version parameters need to change in Cargo.tomls too.


[Feature request] Accept both token versions

Describe the feature you'd like

Sometimes your API needs to accept tokens from both versions, for example:

V2 Tokens for browser/other API calls
V1 Tokens for azure internal services. When you use system assigned managed identities, the token version issued is V1

Is that possible to accept both token version even though the Swagger UI and other visible UI elements display info only for v2?
Additional context

But yes - this can be fixed and is easy to implement.
Normally, the backend, when set to v2 tokens only in the manifest, will force all tokens to be v2, even when the token is requested through a v1 token appreg.

Thanks for the response. I think my request wasn't correct anyway. Sometimes, tokens are created in different contexts and different clientId's. So accepting those kind of tokens is actually wrong.

contexts and different clientId's

Sounds like the token would have an audience not intended for your backend? Then yes, that token would be denied regardless of token version.
I'll close the issue for now, since changing token version in the manifest should enforce all tokens with the audience for your backend to be of v2.

The graph token is not intended to be accepted, so no matter the token version, it won't work. The aud in the token must match your application registration client ID in Azure.
If you need a graph token, you should use the OBO flow.


fix: bootstrap reload in offline mode.

After adding support for client and frontend tokens, we did not extend the reloader to check client and frontend token Vecs, this PR extends tokens with FE and Client tokens, to ensure that we refresh the data for all our tokens.
In addition we make /internal-backstage/tokens useful for offline mode as well, to at least be able to see which tokens you added to Edge.
In addition, since offline mode did not set up a token validator, I extended the auth middleware to check if our offline token has a token type set and if they do, limit their access to what they were intended for (client for /api/client, frontend for /api/frontend | /api/proxy)
Fixes: #594

@chriswk Thanks for fixing both things. The question is, when is a new release with the fix available? Do you have an information for me?


[Search] Add SearchType component to storybook search collection

🗒 General
It would be useful if the SearchType component could be added to the Storybook search collection.
Read about how to create a new Story.

can i work on this

Hi @Rajat-patel19!
Sorry, last week I forgot to mention here that I had already picked up the issue: #7079


[Release] sdk/resourcemanager/compute/armcompute/5.0.0

https://github.com/Azure/sdk-release-request/issues/4059

The breaking changes are introduced and approved in this PR.

@JeffreyRichter , please approve this major version release by adding Approved Major Version label, thanks.


Implementation of graph browsing

Code-wise implementation of the browser part of the graph browsing, along with a set of current data files.

The precomputed browser data has been removed. The website repo may be populated with ci/cd precomputed data by triggering a new tagged release (workflow works only for main branch)

Was this tested?

Yes, we tested this on a fork of repository through github pages.

Something broke in the CI... not sure due to which team's change, but please go and have a look at it, OK? https://github.com/OpenCS-ontology/OpenCS/issues/39


Create updating report with figure download buttons

Rather than emailing figures as they are updated, render a .Qmd to github pages with updated figures and notes along with download buttons for the figures.

Also maybe hook it up to Giscus so Dave can make comments and they turn into GitHub issues

https://cct-datascience.github.io/SW_Biomass/report.html


incorrect date at 'blog' page

my blog page is updating the article post date every single day, i'm not understanding:

source code: https://github.com/ViniciusTheCoder/vinicius.dev

Sorry, I have been busy with other things before. I have fixed this issue and added many new things in the latest version. You can try updating the code to the latest version.

thanksss :D, in the meantime I ended up creating a fix in my repository kekeke, but appreciate it anyway

这是自动回复的邮件。您好，我最近正在休假中，无法亲自回复你的邮件。我将在假期结束后，尽快给你回复。

谢谢:D，与此同时，我最终在我的存储库 kekeke 中创建了一个修复程序，但无论如何都很感激
Thank you again, then I will close the issue first. If you have any questions, please feel free to bring up the issue with me again


Add IPageFactory and IPageActivator

Redoing this PR because I borked https://github.com/aspnet/Mvc/pull/5536.
cc @rynowak


Define rules for across specific study type USDM checks

This is a link to the brainstorm to identify and add rules  - https://github.com/cdisc-org/ddf-core-poc/discussions/101#discussion-5949596
The discussion will inform the rules to define.

This work is being done elsewhere with the DDF team.


MongoDB cursor sort does not order parameters

Because the sort function of the MongoDB cursor takes an associative array, there is no well-defined ordering to the parameters that should be sorted (ie: no preference that A be sorted before B if A is listed before B as a sorting parameter). This is contrary to the function of the original cursor sort function in MongoDB which maintains the order of the sorting parameters.

To clarify, from BSON spec (emphasis mine):

BSON is a binary format in which zero or more ordered key/value pairs are stored as a single entity. We call this entity a document.

Does vibe.data.bson support the creation of ordered key/value pairs?


Downgrade segyio back to 1.9.3

doesn't have 1.9.11 on conda yet..

Checklist

[X] Used a personal fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[X] Reset the build number to 0 (if the version changed)
[X] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Failing due to segyio-feedstock. Will pass after https://github.com/conda-forge/segyio-feedstock/issues/26 is resolved.

@conda-forge-admin, please rerender


Change echojwt from using jwt.Token to map[string]interface{}

Closes #30

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

7 of 9 (77.78%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 93.175%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

oidcechojwt/echo_jwt.go
7
9
77.78%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
628

Relevant Lines:
674

💛  - Coveralls


Add pre-commit hooks for code style

I think that it's a good idea to have pre-commit hooks which will check code style.
Of course, we must add information about it to README.

I know about useless of pre-commit hook from my experience. It is much smarter to use pre-push. So you may commit with errors, but not push with errors.


Constraints not autoinstalled

I have a relatively simple set of constraints I am trying to fulfill (trying to keep a table view pinned to the visible regions of the screen, however, when trying to install the constraints, it does not seem to be installing any. I am creating the table view in pure code. Any ideas as to what the issue is?
// in init
self.tableView = [[UITableView alloc] initForAutoLayout];
self.tableView.delegate = self;
self.tableView.dataSource = self;
[self.view addSubview:self.tableView];

- (void)updateViewConstraints {
    if (!self.didSetupConstraints) {
       [self.tableView autoPinEdgesToSuperviewEdgesWithInsets:UIEdgeInsetsMake(0, 0, 0, 0) excludingEdge:ALEdgeTop];
       NSLayoutConstraint *topLayoutConstraint = [self.tableView autoPinEdge:ALEdgeTop toEdge:ALEdgeBottom ofView:self.navigationController.navigationBar withOffset:0.0];

        NSLog(@"%@ constraints after auto installation: %@", self.tableView, self.tableView.constraints);

        self.didSetupConstraints = YES;
    }

    [super updateViewConstraints];
}

Output:
<UITableView: 0x157862400; frame = (0 0; 0 0); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x174252ab0>; layer = <CALayer: 0x174233180>; contentOffset: {0, 0}; contentSize: {0, 100}> constraints on setup: (
)

Note: they seem to be working, however, I am trying to do some debugging but they aren't showing up in the constraints for the view. Am I over looking something or looking at the wrong property?

If you are doing po tableView or po tableView.constraints in the debugger, note that this does not print out the constraints that affect tableView -- this prints out constraints that have been added to tableView.
If you aren't sure what that means, before iOS 8, you had to manually add constraints to a common superview of the views being constrained. This has always been handled automatically for you by PureLayout (and was one of the very nice features it provided). As of iOS 8, there is now an active property on NSLayoutConstraint that does this for you behind the scenes. But of course, you may not know exactly which view the constraint was added to (it can be on any view as long as that view is a parent of both views being constrained).
Anyways, for debugging purposes only, there is a solution! Apple has an API to help (declared in a category on UIView in UIView.h): -[UIView constraintsAffectingLayoutForAxis:] This will return the list of constraints you are expecting, when you call it on a view. And since the horizontal and vertical axes are independent, you pass which you'd like to inspect and will only see one set at a time.
Hope that helps!

@smileyborg, thanks for the tips! AutoLayout has always been one of those libraries I've been meaning to get my head around and your library definitely makes it a delight. I owe you a beer, cheers!


Gull Tony: juvenile + end date

@EricStienen, regarding gull "Tony" H908157/6321:

In the Excel it is indicated he is 5kJ. I assume that is juvenile? And so far the only juvenile bird we have tracked with UvA-BiTS?
You also mentioned he was "Found dead 2019-10-04". Do you have more information about cause, location, and until when his tracking session is valid?

5kJ (or 5cy = 5 calendar years) seems right. The bird almost fully looked like an adult but with a few brown feathers in its tail. However, it was not the typical appearance of a 4cy. So best expert judgement is that is a bird in its fifth calendar year.
The bird was found dead on 04/10/2019 in Lombardsijde at the beach. Finder stetes that it was dead for a while, but without indication how many days "a while" is.

Updated in database. Now states in track session remarks:

OOST_MIJN | life_stage: 5cy | Found dead on beach in Lombardsijde (BE) on 2019-10-04, last active day is 2019-07-22.

2019-07-22 is the last active day in the data, when it was near the vismijn. Not sure how it moved to Lombardsijde, but if it died shortly after 2019-07-22, then it was dead for over 2 months.


cargo fetch does not actually use all target architectures as the default.

Hello. I have an issue with cargo-fetch behaving differently than cargo-vendor. In a part of the help section of cargo fetch, it says for the flag --target

Fetch for the given architecture. The default is all architectures. The
general format of the triple is <arch><sub>-<vendor>-<sys>-<abi>.
Run rustc --print target-list for a list of supported targets. This flag may
be specified multiple times.

However, I believe this is untrue since in some architectures, they cannot find their dependencies. I haven't tried the --target flag yet as a workaround but given that some target architectures cannot find their dependencies is weird to me, since it says that the default is to use "all" target architectures.
Here is a comparison between cargo vendor vs cargo fetch.

Vendor https://build.opensuse.org/package/show/home:uncomfyhalomacro:branches:editors:vendor/kak-lsp
Fetch https://build.opensuse.org/package/show/home:uncomfyhalomacro:branches:editors:registry/kak-lsp

You can see here that in https://build.opensuse.org/package/show/home:uncomfyhalomacro:branches:editors:registry/kak-lsp, only aarch64, x86_64, and ppc64le are able to find their dependencies and compile (whether it fails or not). i586, armv7l, and s390x are the architectures that were not able to find their dependencies.
Everything in https://build.opensuse.org/package/show/home:uncomfyhalomacro:branches:editors:vendor/kak-lsp are able to find their dependencies and are able to compile (whether it fails or not).
I would like to know if there is an inaccuracy with the documentation or not.
For context, I've been helping out to build a tool to ease the process of vendoring dependencies in openSUSE/SUSE. https://github.com/openSUSE-Rust/obs-service-cargo.

Thanks for the bug report. Could you attach some additional information, like

The version of Cargo (the output of cargo -vV) was observed with this behavior.
If this is a regression, the last successful version of Cargo.
The exact Cargo commands or scripts ran in that service.
Any other [source] replacement or proxies configured in the server or not.

cargo vendor and cargo fetch has no difference in the sense of dependency resolution (except cargo vendor accepts multiple workspaces). However, there are slightly different when filtering platforms:
cargo fetch fetches only packages in the dependency resolution (also seen as packages recorded in Cargo.lock) that could be reached from workspace members.
https://github.com/rust-lang/cargo/blob/cb088dc7538c635064c3f226d8a7323d34a35da7/src/cargo/ops/cargo_fetch.rs?plain=1#L35-L64
cargo vendor, in contrast, fetches everything in the dependency resolution. And there is no way for cargo vendor to filter packages by platforms at this moment.
https://github.com/rust-lang/cargo/blob/cb088dc7538c635064c3f226d8a7323d34a35da7/src/cargo/ops/vendor.rs?plain=1#L119
Bugs might be there if they exist.

Hi @weihanglo . This the version of cargo running on my container installed through zypper.
cargo 1.82.0 (8f40fc59f 2024-08-21)
release: 1.82.0
commit-hash: 8f40fc59fb0c8df91c97405785197f3c630304ea
commit-date: 2024-08-21
host: x86_64-unknown-linux-gnu
libgit2: 1.8.1 (sys:0.19.0 vendored)
libcurl: 8.10.1 (sys:0.4.74+curl-8.9.0 system ssl:OpenSSL/3.2.3)
os: openSUSE 20241106.0.0 [64-bit]

The commands ran in that service is as follows.

cargo-fetch with flags --manifest-path. If my service is set with respect-lockfile to true, a --locked flag will be added.
cargo-vendor with flags --manifest-path. Additional manifest paths will be passed with --sync. If my service is set with respect-lockfile to true, a --locked flag will be added.

If this is a regression, the last successful version of Cargo.
I wouldn't know of a regression as this is the first time that I noticed this and my first bug report about it.

Any other [source] replacement or proxies configured in the server or not.
None. I just use whatever is the default.

cargo fetch fetches only packages in the dependency resolution (also seen as packages recorded in Cargo.lock) that could be reached from workspace members.

So shouldn't the help section of cargo-fetch be updated?

If --target is not specified, then all target dependencies are fetched
This seems to confuse me more as this was the only assumption I have from the help section but the behaviour for what I expected was different than what you described. Should fetch at least have the same behaviour  as vendor that they both fetch everything in the dependency resolution by default?

Hi. I tried using the --target flag in this commit https://github.com/openSUSE-Rust/obs-service-cargo/commit/a34992cbf696150573cd89e2a0e607b1f2380a45 for my project but it seems it's still not budging in https://build.opensuse.org/package/show/home:uncomfyhalomacro:branches:editors:registry/kak-lsp

So shouldn't the help section of cargo-fetch be updated?

Either this or make the behavior of both commands aligned. Let me try to get a minimal reproduction first.

Let me try to get a minimal reproduction first.

I've re-read cargo-fetch logic. While it may fail to fetch packages that have unstable features like forced-tarrget or artifact depenedencies, for normal circumstance it should just work.
It is surprising that in your build log it's crossbeam-channel missing
[   66s] + /usr/bin/cargo auditable build -j8 --offline --release --all-features
[   66s] error: no matching package named `crossbeam-channel` found
[   66s] location searched: registry `crates-io`
[   66s] required by package `kak-lsp v18.0.3 (/home/abuild/rpmbuild/BUILD/kakoune-lsp-18.0.3)`
[   66s] As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without the offline flag.
[   66s] error: Bad exit status from /var/tmp/rpm-tmp.8OUc67 (%build)

If I read it correctly, crossbeam-channel is not even a platform-specific dependency. I wonder what is inside the registry.tar.zst tarball. Maybe it is corrupted or missing something when packing?

It's not corrupted or missing since doing the following
raw -t registry.tar.zst -d registry/
cd registry/.cargo/registry/cache/index.crates.io-6f17d22bba15001f
fd crossbeam

gives me this output
crossbeam-channel-0.5.13.crate
crossbeam-utils-0.8.20.crate

The other variant which uses the vendor method produces a file vendor.tar.zst
Extracting it and running fd crossbeam to it will give me this output
crossbeam-channel-0.5.13/
crossbeam-channel-0.5.13/benches/crossbeam.rs
crossbeam-utils-0.8.20/

So I am not really sure how cargo-fetch and cargo-vendor is any different when they both have crossbeam.

registry/.cargo/registry/index/index.crates.io-6f17d22bba15001f
Do we have the correct index files under this location? Perhaps you can upload a tarball that failed to build and we can investigate together.

registry/.cargo/registry/index/index.crates.io-6f17d22bba15001f
Do we have the correct index files under this location? Perhaps you can upload a tarball that failed to build and we can investigate together.

Hi. It seems I am not able to download a tarball. One thing you can do to perform a reproduction is by doing the following
cargo install --git https://github.com/openSUSE-Rust/obs-service-cargo
git clone --depth 1 --branch v18.0.3 https://github.com/kakoune-lsp/kakoune-lsp/
cd kakoune-lsp
cargo_vendor --src $PWD --outdir /tmp
cd /tmp/
mkdir vendored-sources/
tar xf vendor.tar.zst -C vendored-sources/
cd vendored-sources/

by now you can check the inside. It should contain a Cargo.lock and the .cargo directory which contains the registry stuff.

@uncomfyhalomacro the current obs-service-cargo https://github.com/openSUSE-Rust/obs-service-cargo/commit/bde030067fa40e61894d89082e9b2a348700efb2 generates only vendored source.There is no registry index file at all.  I am not sure which commit I should use to reproduce.
BTW, you could also run fd -hidden crossbeam under registry/index/index.crates.io-6f17d22bba15001f/.cache and check if there is any index file called crossbeam-channel. If no, there you need to pack it.

@uncomfyhalomacro the current obs-service-cargo openSUSE-Rust/obs-service-cargo@bde0300 generates only vendored source. There is no registry index file or tarball at all. I am not sure which commit I should use to reproduce.
BTW, you could also run fd -hidden crossbeam under registry/index/index.crates.io-6f17d22bba15001f/.cache and check if there is any index file called crossbeam-channel. If no, there you need to pack it.

Oh i forgot to add the flag --method registry in the command. my bad.
Just to keep you updated, doing your command does this,
cr/os/crossbeam-channel
cr/os/crossbeam-deque
cr/os/crossbeam-epoch
cr/os/crossbeam-queue
cr/os/crossbeam-utils

I was so dumb! Just realized the hash of index.crates.io-<hash> is endian and bit-width dependent. i586, and armv7l is 32-bit arch, and s390x is big-endian. I have been poking around the hash algorithm but didn't realize earlier 😅. This is a PR using a cross-platform hash for SourceId, which should make the situation better this. It is not going to make the hash value permanently stable. Cargo may change the algorithm between versions, but if we adopt whatever from that PR, it should generally stable within a version for all platforms. Using cargo-vendor is a better long-term solution for your use case I believe.
Given that, I believe cargo fetch works correctly in this regard. I will tweak the issue title a bit and plan to close it if you have no further question.

Sure! So the plan now is to create

one single index cache for all platforms

not sure when that will happen but for now you can close this issue as that literally answered all my questions!

Yes. As I said the stable path is best-effort. We don't guarantee the permanent path of it.
I'll propose to the team for a stable hash next week (if I remember)
Thanks for your understanding!

Going to reopen and use this for proposing using stable hash for source URLs.
During the course of designing remap rules for -Ztrim-paths, we found that the source URL hash in Cargo is never platform-dependent. I propose we switch to a cross-platform hash algorithm for source URL hashes. It benefits debugging when sharing source and debug info between different platforms, especially for -Ztrim-paths in the future.
The remaining question is the hash algorithm.
In https://github.com/rust-lang/cargo/pull/14116 we tried out rustc-stable-hash to experiment cross-platform (i.e., endianness and bit-width independen) hash algorithms for stable SourceId hashes, including the default one SipHash and BLAKE3. The benchmarking shows that

The performance of stable SipHash is on par with or a bit faster than the original one, while BLAKE3 is 2-3x slower.
The actual time spent is around 1ms more when using BLAKE3 on medium-size projects like cargo for 4000+ hashes on 10-core Apple M1 Pro.

Therefore, I favor and propose BLAKE3 as our stable hash algorithm for these reasons,

The real world performance regression is neglectable comparing to other parts in a cargo invocation.
BLAKE3 is a cryptographic hash function. While it is not a problem for crates.io itself, it is still possible for other registry or git repo to intentionally make collisions for source URL hashes. It's better if we take preventive course now than later.

@rfcbot fcp merge

Besides, I'd like to call out some area this stable hash proposal doesn't cover:

File paths on Windows have prefixes like C:\, D:\. When using path, local registry, or directory sources, these prefixes will be included in hash and lead to a different hash output. While I don't think it is a big issue, w had better keep in mind the “cross-platform” source URL hash is not truly cross-platform in this regard.

@weihanglo whats the cost if we change our mind on which hash we use in the future?  The important part is its stable across platforms, right?  And we're mainly signing off that the small performance hit for blake3 is fine?

The cost of changing hash algorithm is it thrashes global caches (index files, git/registry sources) between Rust toolchain versions when we switch. We want to avoid that unless really really needed.

Double checking, It doesn't thrash the cache (throw out on each switch, like RUSTFLAGS today for rlibs) but keeps the caches between the old and new version separate (like my PR for RUSTFLAGS for rlibs)?  This would be a one-time extra download and extra space taken up until the user cleans it up or we stabilize GC.  Not great but not the worst.
iirc there are other parts of the project that are seeking out crytograhically secure hashes, making this line up with those, right?

Can you say more about where this hash shows up?  IIUC, it is ~/.cargo/registry/*/$name-$hash? And that also ends up in every artifact hash? Where else?
Can you say more about the current situation? IIRC, it is using SipHash, correct? And that is not cross-platform for some reason?

Sorry I should have copied them from https://github.com/rust-lang/cargo/pull/14116. Here they are:

StableHasher is used in several places. We should consider if there is a need for cryptographyic hash (see https://github.com/rust-lang/cargo/issues/13171#issuecomment-2179705494).

Rebuild detection (fingerprints)

Rustc version, including all the CLI args running rustc -vV.
Build caches

Compute rustc -C metadata

stable hash for SourceId
Also read and hash contents from custom target JSON file.

UnitInner::dep_hash

This is to distinguish same units having different features set between normal and build dependencies.

Hash file contents for cargo package to verify if files were modified before and after the build.
Rusc diagnostics deduplication
Places using SourceId identifier like registry/src path,
and -Zscript target directories.

Can you say more about the current situation? IIRC, it is using SipHash, correct? And that is not cross-platform for some reason?

Cargo currently uses SipHash as its stable hash, but the hash output is not cross-platform stable like the one rustc-stable-hash provides a cross-platform provides.
This FCP proposes we use the cross-platform stable hash from rustc-stable-hash and swap the underlying hash algorithm to BLAKE3.

@rfcbot concern path-length
if cryptographically secure, we need the full hash, which might blow path lengths on windows

@epage
I think the "path-length" concern is kinda resolved, as we don't need cryptographic secure hash at this moment. See https://github.com/rust-lang/cargo/pull/14917.

Yes, switching fixes that
@rfcbot resolve path-length

Resolved by https://github.com/rust-lang/cargo/pull/14917


Use the correct path syntax and highlight with bash

Bash has prettier formatting than shell.

A previous PR broke the type checking step for python
009fefd0ce978deffa914a0c4ce227ab3e331e0e4ba04fe5edea0c7c884efe01L166
mypy is not clever enough to deduce that something is no longer optional :)
I have a fix for it https://github.com/kaskada-ai/kaskada/pull/237/files#diff-009fefd0ce978deffa914a0c4ce227ab3e331e0e4ba04fe5edea0c7c884efe01R167
But please make sure if you are changing python code that all steps pass before merging to main


Moving Python files into their correct folders.

What a job!
Hopefully everything is OK.

Thanks!


Version reporting not working

Using the version installed via cargo install --git https://github.com/stjude/fqlib.git --tag v0.7.0 I cannot get the program to report its version. Running fq lint -V I only get fq-lint as output with no version info. I'm on Mac Big Sur 11.6.

Thanks for the report, @rorynolan! This is fixed in 0.7.1.

I have a different problem now @zaeleus
The version isn't reporting correctly.

The commit hash is the right one but the version number is missing.


Install fails because version.get_version fails

pip install from pypi fails
$ mktmpenv
Using base prefix '/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5'
New python executable in /Users/muyloco/Dev/Envs/tmp-5c77e50baa5495b6/bin/python3.5
Also creating executable in /Users/muyloco/Dev/Envs/tmp-5c77e50baa5495b6/bin/python
Installing setuptools, pip, wheel...done.
This is a temporary environment. It will be deleted when you run 'deactivate'.
(tmp-5c77e50baa5495b6) muyloco at cambria in ~/Dev/Envs/tmp-5c77e50baa5495b6
$ pip install pygtrie
Collecting pygtrie
  Using cached pygtrie-2.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/dm/nyn5y95d4mqbwvcz1jsgpg8w0000gn/T/pip-build-ap34m_ri/pygtrie/setup.py", line 6, in <module>
        import version  # pylint: disable=relative-import
      File "/private/var/folders/dm/nyn5y95d4mqbwvcz1jsgpg8w0000gn/T/pip-build-ap34m_ri/pygtrie/version.py", line 128
        print get_version()
                        ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/dm/nyn5y95d4mqbwvcz1jsgpg8w0000gn/T/pip-build-ap34m_ri/pygtrie/
(tmp-5c77e50baa5495b6) muyloco at cambria in ~/Dev/Envs/tmp-5c77e50baa5495b6

pip install from master branch fails
$ pip install git+https://github.com/google/pygtrie.git@master
Collecting git+https://github.com/google/pygtrie.git@master
  Cloning https://github.com/google/pygtrie.git (to master) to /private/var/folders/dm/nyn5y95d4mqbwvcz1jsgpg8w0000gn/T/pip-d79a4kzy-build
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/dm/nyn5y95d4mqbwvcz1jsgpg8w0000gn/T/pip-d79a4kzy-build/setup.py", line 8, in <module>
        release = version.get_version()
      File "/private/var/folders/dm/nyn5y95d4mqbwvcz1jsgpg8w0000gn/T/pip-d79a4kzy-build/version.py", line 122, in get_version
        raise ValueError('Cannot find the version number')
    ValueError: Cannot find the version number

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/dm/nyn5y95d4mqbwvcz1jsgpg8w0000gn/T/pip-d79a4kzy-build/

pip install from local repo fails
$ git clone https://github.com/google/pygtrie.git
Cloning into 'pygtrie'...
remote: Counting objects: 247, done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 247 (delta 11), reused 0 (delta 0), pack-reused 220
Receiving objects: 100% (247/247), 150.25 KiB | 0 bytes/s, done.
Resolving deltas: 100% (135/135), done.
(tmp-5c77e50baa5495b6) muyloco at cambria in ~/Dev/Envs/tmp-5c77e50baa5495b6
$ cd pygtrie
$ git describe
v2.0-14-g2785d76
(tmp-5c77e50baa5495b6) muyloco at cambria in ~/Dev/Envs/tmp-5c77e50baa5495b6/pygtrie on master*
$ git describe --long --match 'v[0-9]*.*'
v2.0-14-g2785d76
(tmp-5c77e50baa5495b6) muyloco at cambria in ~/Dev/Envs/tmp-5c77e50baa5495b6/pygtrie on master*
$ pip install .
Processing /Users/muyloco/Dev/Envs/tmp-5c77e50baa5495b6/pygtrie
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/dm/nyn5y95d4mqbwvcz1jsgpg8w0000gn/T/pip-573kfusl-build/setup.py", line 8, in <module>
        release = version.get_version()
      File "/private/var/folders/dm/nyn5y95d4mqbwvcz1jsgpg8w0000gn/T/pip-573kfusl-build/version.py", line 122, in get_version
        raise ValueError('Cannot find the version number')
    ValueError: Cannot find the version number

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/dm/nyn5y95d4mqbwvcz1jsgpg8w0000gn/T/pip-573kfusl-build/

I haven’t yet pushed the new version with Python 3.0 compatibility to PyPi so that’s why the first one fails. The latter two are due to my stupidity; thanks for the fix in #14.

Happy to help, #14 was much easier to write than the package :smile:


Fixing broken ACS retirement links

Category

[X] Content fix
[ ] New article
[ ] Example checked item (delete this line)

What's in this Pull Request?

Fixing broken ACS retirement links.

The title & description of the PR says this is fixing broken ACS links, but there's a LOT more than that in here and most looks totally unrelated to ACS. Please update the title & description to be accurate as what the PR contains.

The title & description of the PR says this is fixing broken ACS links, but there's a LOT more than that in here and most looks totally unrelated to ACS. Please update the title & description to be accurate as what the PR contains.

Updated the PR details


WIP - Use MariaDB archive instead of main yum repo

5.5.65 has been removed from their main repo. The archive still has a copy that seems to work. Basically "one more hack" until we've upgraded to 10 series.

This will be WIP until I've tested a rebuild

Looks good to me


Library Usage

I'd like to try out and possibly use this zip library in my "zigup" tool: https://github.com/marler8997/zigup
I'm currently using zarc but it's slow and the maintainer seems to be too busy to be able to maintain it.
This project just seems to be missing a few things to be able to use it as a library, such as making some of the functions public like extract_file and maybe creating an "index file" which provides a single module that exposes all the modules with public members, i.e.
hufman.zig
pub const deflate = @import("deflate.zig");
pub const huffman = @import("huffman.zig");
//...

I'd like to [...] use this zip library

I'm sorry but hwzip.zig is not meant to be used as a library, it is merely educational.
Its purpose is to serve as code examples for the following article.

I'm currently using zarc but it's slow

hwzip.zig is also slow.
Currently zarc uses the old slow deflate decompressor (inflateStream) from the Zig standard library.
If you update zarc to use the new one (deflate.decompressor) zarc might become faster.

the maintainer seems to be too busy to be able to maintain it

I don't see any LICENSE file in the zipup repository, but my guess is that you will use a compatible license to the MIT license. So you could just copy zip.zig (and the zarc/LICENSE.md) from the zarc project and modify zip.zig to replace inflateStream.
Just for the meantime for someone to release a decent Zig library to read zip archives.

Thanks for all the info that was very helpful. I'll consider your suggestions.


Style1 to patternfly in Automate-Customization-Buttons

Parent issue: #3139
Commit1:
1.1
Before:

After:

Commit2:
2.1
Before:

After:

@epwinchell @skateman please review

@dclarizio Looks good


Pipelines as Code CI has failed -- when using GitHub webhooks

For some repos we are using webhook / PAT and others we are using GitHub App. After the OpenShift operator upgraded to 1.9 (with Pipeline as Code 0.15.2), the first ones started failing with:
Pipelines as Code CI has failed.

There was an issue validating the commit: "the webhook secret is not valid: error using token to

access API: GET https://<company>/api/v3/rate_limit: 404 Rate limiting is not enabled. []"

thanks for reporting this bug, we will make it fail gracefully, in the meantime as a workaround using a token which has the rate limiting right enabled would work


Network communication between two tier 3 vnets

Benefit/Result/Outcome
So that customers have clear guidance, and possibly some automation, to allow two tier 3 vnets to communicate with each other.
Description
Network traffic is enabled by default between every tier 3 vnet and tiers 0, 1, and 2. However, each tier 3 vnet cannot communicate with other tier 3 vnets by default. This work involves adding guidance to the tier 3 example explaining how to enable traffic between the vnets, and possibly some Bicep automation code.
Acceptance Criteria
Choose one of the following outcomes for the spike:

Documentation exists in the tier 3 example README.md to describe how to enable traffic between two tier 3 vnets.
Optional: automation exists in the tier 3 example (either within the Bicep template or as an additional Bicep template).
If the optional automation (above) is not implemented with this work, then an AZ CLI command or commands should be shown in the tier 3 example README.md along with the documentation to show how to implement the settings.

I will update the ACs on this to enable peering between every tier 3 and tiers 0, 1, 2.

Done.


Use /mnt/resources as resource path

Replace /resources with /mnt/resources for Docker volume.

Setup:
sudo mkdir -p /mnt/resources
sudo mount --bind "$HOME/Downloads/resources" /mnt/resources

/etc/fstab:
# Add this line below
/home/user/Downloads/resources /mnt/resources none bind 0 0


Current status of rousette

What is the current status of rousette?
What is missing for the first release?

Hi, the latest "devel" patch can be found here: https://gerrit.cesnet.cz/c/CzechLight/rousette/+/7230/2 You can checkout it using the Download button.
Currently we are working on notification streams, they should hopefully land soon(TM).

FYI, that rather large queue of pending changes has just been merged.


Support data extract by OpenTopography

User Story

So that I can publish my point cloud elevation data to my users, as a Data Maintainer (Elevation), I want my data publishing channel, OpenTopo, to extract all the data they need from the Geostore into OpenTopography (3rd party service).
See https://portal.opentopography.org
Note: current process is to provide data to Open Topography via FTP server, but they can copy data to their AWS account in the US.

Acceptance Criteria

[ ] Given a LiDAR dataset is ready for publishing, when I notify (email?) OpenTopography, then they are able to extract the data they need
[ ] ~~Given a non LiDAR dataset and a LiDAR dataset, when I notify OpenTopography, then the non-LiDAR dataset is unable to be extracted (Could do this one later?) ~~

Additional context

Tasks

[x] Add some (test?) LiDAR data
[x] Set up role for Opentopo to assume
[x] Test role access with Opentopo dev (Matt Beckley)
[ ] Confirm data copied successfully
[ ] Confirm egress fees are as expected

Definition of Ready

[ ] This story is ready to work on, according to the team's definition

Definition of Done

[ ] This story is done, according to the team's definition

I created test environment of our new Geostore system and uploaded test file called "test.zero".
Steps to test access:

Assume opentopography-s3-access-read-test role (this will give you temporary credentials which you are going to need in next step)

$ aws sts assume-role --role-arn "arn:aws:iam::099672678701:role/opentopography-s3-access-read-test" --role-session-name test --external-id opentopography-bahX0

Using credentials from previous step, download "test.zero" file

$ AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID> AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS_KEY> AWS_SESSION_TOKEN="<AWS_SESSION_TOKEN>" aws s3 cp s3://test-linz-geostore/test.zero /tmp/

Matt Beckley confirmed that he was successfully able to download test file using opentopography-s3-access-read-test role.


extract carstore postgres backend

the labeler/labelmaker stuff is gone now, so rebase/merge should be simple with that ripped out.


Set up API Endpoint Structure

Part of #5826
Create a new API structure to serve as the foundation for the Library Data Link Explorer backend. Utilise the architecture of the content-api as a reference.
Ensure the basic structure is ready for deploying the Lambda function and includes a route for fetching graph data based on workIDs.
Set up AWS Lambda Function URLs (FURLs) for direct testing of the endpoint.

[x]  build API structure is created and ready for deployment.
[x]  the basic Lambda handler is functional and returns a placeholder response.
[ ]  AWS Lambda Function URL is configured and accessible for testing.

Lambda is functional and console-tested. Need to set up the FURL securely.


Want to export complete dashboard to Google sheet

Can someone explain the way to export complete dashboard to Google sheet

There's no such feature, but if you have a proposal of how/why you would like this to work, or any ideas for its implementation, you could take it up in an Ideas thread on the Discussions tab above. Thanks!

We have a business case to export data from to google sheet from a superset dashboard @rusackas

@architmmmec fair enough... we just haven't heard any outcry for this as a feature, so it's not on the roadmap. We'd welcome a feature discussion on the Ideas thread or on Slack, and see if it gets any traction. Otherwise, we'd be more than happy to review a PR if you're so inclined. There might be other ways, getting fancy with scripts to export the chart data as CSV, repeatedly. More details about your use case may help in finding/defining a solution that works.


/skipnight yes not working

The command /skipnight yes is not working.
The server says the command is unknown :').
/skipnight is working as it should.

I'll look into this ASAP. Probably an issue with ACF. Still trying to perfect my implementation.

Latest commit should have fixed this. Still not sure how to get command suggestions working.


Replace golang.org/x/text version

Refs:

https://github.com/stolostron/backlog/issues/26346

Signed-off-by: Justin Kulikauskas<EMAIL_ADDRESS>

/cherry-pick release-2.6


fix bugs #3579

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: Jadmin3:x: JadminJadmin seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: Jadmin3:x: JadminJadmin seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


GEODE-8082: Refactor GeodeRedisServer

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

It looks like you may have accidently mixed in: GEODE-8098: Refactor RedisSetCommandsFunctionExecutor to this PR.

didn't mean for that other code to be on this pull request...i removed it.  Thanks for the catch @dschneider-pivotal


NOx Binning - GHG Tracking Display Example

As an enhancement, tabular displays of the forthcoming NOX Binning and GHG Tracking Arrays are proposed. There will be approximately 75% reduction in printed lines, compared to a non-tabular approach.
With this enhancement, scaled data displays for individual PGs would not be provided after the PG in the log.
This example is outdated, and was deleted. See comment below for updated content.

SPs 12691, 12694, and 12697: Common Active Technology Key Table for SPN a
The index numbers allowed for SPN a in each active technology tracking PG are described in the table below.
Standardized GHG Active Technology Enumeration
0, SAE/ISO Reserved
1, [Engine Controlled] Waste Heat Recovery
2, Cylinder Deactivation
3, [Engine Controlled] Active Aerodynamics
4, [Engine Participating] Intelligent Control
5, [Engine Controlled] Vehicle Speed Limiting Technology
6, [Engine Controlled] Predictive Cruise Control
7, [Engine Controlled] Auto Neutral
8-242, SAE/ISO Reserved
Manufacturer Defined GHG Active Technology Enumeration
243, Manufacturer Defined Active Technology 8
244, Manufacturer Defined Active Technology 7
245, Manufacturer Defined Active Technology 6
246, Manufacturer Defined Active Technology 5
247, Manufacturer Defined Active Technology 4
248, Manufacturer Defined Active Technology 3
249, Manufacturer Defined Active Technology 2
250 (FAh), Manufacturer Defined Active Technology 1
251-255, SAE/ISO Reserved
Note: 251-255 (FBh, FCh, FDh, FEh and FFh) shall not be used as they convey special values according to SAE J1939- 71.
Note: Additional Standardized GHG Active Technology Enumerations may be assigned starting at the lowest value in the SAE/ISO Reserved range. Additional Manufacturer Defined GHG Active Technology Enumerations may be assigned starting at the highest value in the SAE/ISO Reserved range.

Added Active Technology Legend Need xEV examples
Example NOx Binning GHG Tabular Displays.docx

With xEV examples
Example NOx Binning GHG Tabular Displays May12-2021.docx

Example NOx Binning GHG Tabular Displays May12-2021.docx

Statement of work artifact complete


Documentation channels: 2nd part of docs

Description
Documentation channels: 2nd part of docs
Type of change

Documentation update

Testing steps
N/A
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report
Base: 60.56% // Head: 60.56% // No change to project coverage :thumbsup:

Coverage data is based on head (0b0cff1) compared to base (2ec050b).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #976   +/-   ##
=======================================
  Coverage   60.56%   60.56%
=======================================
  Files          23       23
  Lines        3231     3231
=======================================
  Hits         1957     1957
  Misses       1053     1053
  Partials      221      221

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


feature flag audit logs backend changes

This PR contains all backend and db changes for feature flag audit logs.

@VivekFitkariwala will take a fresh look


Meaning of Selection

It is unclear what profiles and selections mean. By default, an empty value is selected. I assume this means that everything will be blocked? Why not explicitly state “Everything Blocked”?

But even if you select something, it is unclear what these options mean. What does the profile HTTP actually do? I assume it allows TCP port 80 but blocks everything else? Or does it also allow TCP port 443? Not knowing helps neither security nor does it help when you look for issues.
Worse still, what does “Multipurpose” mean? All TCP and UDP ports open?

It is nice to have profiles for the most common settings, but it would be far better if you could still edit the resulting settings.
Also, instead of trying to build combined profiles, make them additive so that you can simply select “SSH”, “HTTP” and “HTTPS” to build a combined profile.

While this is usability wise important, refactoring in the sense of #12 would be more helpful for us