Testing the NSS semaphore mechanism

I found that we had a test that failed on NSS but worked on others because of different assumptions from the original. It would now relate to the semaphore mechanism, discussed in https://github.com/solid/specification/issues/322 and elsewhere. So, I created passing tests for this.
This is not universally supported, so we might leave this as draft. It passes on NSS.

Closing as we need a different test for  https://github.com/solid/specification/pull/346


[FR] Images in tooltip

Can I have images in the tooltips?

I was able to do it with:
tooltip {
     border-radius: 4px;
     background-color: @base;
	 background-image: url("/tmp/waybar-mediaplayer-art");
	 background-size: contain;
	 background-repeat: no-repeat;
}

tooltip label {
  color: @text;
  padding-left: 6em;
}

I have 3 problems now:

The tooltip is set for every module. I would like to set it only for my mediaplayer module. That is, I would like per-module tooltip styling. See #1885
The image is not refreshed when it changes on disk. It's like saved in cache and not reload from disk on change. I found that reloading the configuration alos reloads the image. But waybar "flashes" and the other windows enlarge and then shrinks again when waybar reload configuration. Instead, if I set a "signal" to the module, sending signal does not reload the image. So I ask to reload the CSS when "signal" is sent
For some reason, setting mode: dock will make the tooltip below other windows. Leaving "mode" unset makes tooltip on top of other windows correctly.

have you found any solution yet for the css image reloading thing yet?

2. The image is not refreshed when it changes on disk. It's like saved in cache and not reload from disk on change. I found that [reloading the configuration](https://github.com/Alexays/Waybar/wiki/FAQ#how-can-I-reload-the-configuration-without-restarting-waybar) alos reloads the image. But waybar "flashes" and the other windows enlarge and then shrinks again when waybar reload configuration. Instead, if I set a "signal" to the module, sending signal does not reload the image. So I ask to reload the CSS when "signal" is sent

@ghost I mean, is it cause css or waybar, I don't know if even css does reload


Fix KeyError

Hi,
thank you for this amazing library!
I just found a small bug resulting in KeyError. So I just want to let you know, that the fix should be easy ;)
I know it has to be fixed in nbs/, but unfortunately I don't have proper dev environment set up.
I hope it will be OK for you.
Thanks for your work!

Good catch. Thanks for the PR.


Use Strict

Q
A

Bug fix?
no

New feature?
somewhat

Breaking change?
shouldn't

Deprecations?
no

Tests added?
no

Fixed issues
-

License
Apache-2.0

To improve compatibility with Node 4 (which is not officially supported by jsdoc, but as long as this doesn't break anything... ;)). See https://travis-ci.org/jsdoc2md/jsdoc-api/jobs/528647596.

JSDoc 3.6.x also has dependencies that depend on Node.js >=8. It's very unlikely that any amount of changes to JSDoc proper would make version 3.6.x compatible with Node.js <8.
For that reason, I'm closing this pull request.

I don't want to create compatibility, but improve it, so that my builds still work.

Maybe I'm missing something here. If your package depends on JSDoc 3.6.x, then it's not compatible with Node.js 4, right? Why does your CI build need to use Node.js 4, given that your package doesn't work with Node.js 4? It seems like it would make more sense to drop versions 4 and 6 from the package's .travis.yml file.

Yep, you're right. I just came to that conclusion too (https://github.com/jsdoc2md/jsdoc-api/pull/16#issuecomment-490724909).

Got it. Thanks for confirming.
And if you haven't seen my comments about this on other issues: I know that just about everyone wants JSDoc to adopt semver, and that many people have been frustrated by the breaking changes in 3.6.x. It's extremely likely that the next version of JSDoc with breaking changes will be 4.0.0, not 3.7.0. But JSDoc has been around since long before semver, and old habits die hard.
In the meantime, thanks to you, and other JSDoc users, for your patience and understanding.

Thank you for the kind reply! :)


Issue #3579: Incomplete draft of a solution

Employ memoization to speed up tag filtering.

This is a first draft.
Unit tests not edited at all.
Not sure about storing to self._memo everywhere.
Not sure if normalization is applied everywhere needed.

Normalization applied in most places.
Memo dictionary is passed from callers, created empty if needed.
Memo dictionary uses normalized pattern or tag as the key.
Multiple copies of the same pattern for SingleTagPattern do not duplicate matchers.
Each such matcher has memo dictionary to store (normalized) tag match results.
Calls to the same matcher with the same tag return the memoized result.

Matcher memo should probably have different name than result memo.

Signed-off-by: Vratko Polak<EMAIL_ADDRESS>

Codecov Report

Merging #3580 into master will decrease coverage by 49.84%.
The diff coverage is 13.34%.

@@             Coverage Diff             @@
##           master    #3580       +/-   ##
===========================================
- Coverage   74.21%   24.37%   -49.83%
===========================================
  Files         199       54      -145
  Lines       16466     3767    -12699
  Branches     2653      696     -1957
===========================================
- Hits        12218      918    -11300
+ Misses       3817     2819      -998
+ Partials      431       30      -401

Impacted Files
Coverage Δ

src/robot/model/filter.py
3.28% <0.00%> (-96.72%)
:arrow_down:

src/robot/utils/match.py
33.77% <14.82%> (-62.38%)
:arrow_down:

src/robot/model/testsuite.py
4.11% <0.00%> (-95.89%)
:arrow_down:

src/robot/output/logger.py
2.40% <0.00%> (-90.00%)
:arrow_down:

src/robot/output/output.py
2.23% <0.00%> (-84.44%)
:arrow_down:

src/robot/model/__init__.py
21.43% <0.00%> (-78.57%)
:arrow_down:

src/robot/utils/robottime.py
18.78% <0.00%> (-76.24%)
:arrow_down:

src/robot/utils/frange.py
20.00% <0.00%> (-74.28%)
:arrow_down:

src/robot/utils/recommendations.py
23.69% <0.00%> (-73.68%)
:arrow_down:

src/robot/utils/unic.py
23.81% <0.00%> (-73.01%)
:arrow_down:

... and 187 more

Continue to review full report at Codecov.

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

Based on the comment in #3579 this attempt didn't work.


[BEAM-10685] Added integration test for streaming for SnowflakeIO

This is an integration tests that uses TestStream to generate sequence and then write it via SnowflakeIO in streaming mode.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Spotless PreCommit

Run Java PreCommit

@mwalenia would you find time to take a look? :)

Thank you @mwalenia So I am merging it.


Spec and implement Module/Func/Call/Return ops

Open questions:

Should we continue using func.func, func.call and func.return? (Probably not).
Should we use ml_program? (Probably yes, but this will need an RFC + ml_program.call will need to be introduced).
Or maybe we should add stablehlo.func and stablehlo.call? (Probably not, but this will be one of the alternatives in the RFC. upd: I've changed my opinion to "probably yes" given that there are StableHLO-specific func-level attributes + we will benefit from attaching helper methods to these funcs).
Also, what does this mean for stablehlo.return? (Probably should merge it into whatever return op we decide to use).
Similarly, should we introduce stablehlo.module?

ModuleOp/FuncOp should provide a landing pad for a bunch of metadata from HloModuleProto that has been in our blind spot until recently (MHLO uses builtin.module and func.func which unlike MHLO ops don't carry HLO-specific metadata except via unregistered attributes, so I didn't realize how much we're missing until recently).
  // Describes alias information between inputs and outputs.
  HloInputOutputAliasProto input_output_alias = 8;

  DynamicParameterBindingProto dynamic_parameter_binding = 9;

  repeated CrossProgramPrefetch cross_program_prefetches = 10;

  // True if the module contains dynamic computation.
  bool is_dynamic = 11;

  xla.OpSharding spmd_output_sharding = 12;

  repeated xla.OpSharding spmd_parameters_shardings = 14;

  // Uses AutoSharding pass or not.
  bool use_auto_spmd_partitioning = 16;

  // The type of optimization profile in use for module-level optimizations.
  enum ProfileType {
    INVALID = 0;
    FLAG = 1;
    FUSION = 2;
    LAYOUT = 3;
    DOT = 4;
  }

  // Information about the optimization profile that this module contains.
  message ProfileInfo {
    // The optimization profiles that this module contains.
    ProfileType profile_type = 1;
    // Speedup of tuned config compared to default config.
    double relative_speedup = 2;
    // The source of the optimization profile that this module contains.
    xla.ProfileSource profile_source = 3;
    // The compilation event that triggered the use of the profile.
    xla.CompilationEvent compilation_event = 4;
  }

  // Profile information for the HLO module.
  repeated ProfileInfo profile_info = 13;

  // DeviceAssignment object information.
  DeviceAssignmentProto device_assignment = 15;

It is likely that we won't want to add all of this metadata to StableHLO (e.g. ProfileInfo would need a bigger discussion for how StableHLO would want to support tooling), but there's a lot to do here.

https://github.com/openxla/stablehlo/blob/main/rfcs/20220912-compatibility.md provides a decision that we should "Add StableHLO forks of modularity ops... ModuleOp, FuncOp, CallOp". Now we need to spec these ops and implement them (the latter can happen just in VHLO if needed).

What's up with having a stablehlo.func? Could we just introduce one and evolve it over time with first-class attributes relevant to OpenXLA?
One immediate things I would be looking for is to have stablehlo.func define its default dialect to be stablehlo which will make the IR more readable.


Calling API for sending a presentation returns an error showing no revocation registry id is found even though i've set up a revocation registry

I have run two agents, one as Issuer(Verifier) and the other as Holder.  I've set up a revocation registry by calling below apis In the Issuer agent step by step:

/revocation/create-registry (POST),
 API Response: Result:   "revoc_reg_id": "VV9pK5ZrLPRwYmotgACPkC:4:VV9pK5ZrLPRwYmotgACPkC:3:CL:8:esg:CL_ACCUM:fd8d371a-b345-4867-ad01-591647a6f862", omitting other response
/revocation/registry/{id} (PATCH)
/revocation/registry/{id}/definition (POST) and
revocation/registry/{id}/tails-file(PUT).

The issuer has successfully issued a credential to the Holder and the credential can be found in the Holder's agent. After the Issuer(Verifier) sends a request proof request to the Holder, and calling the api: /present-proof/records/{pres_ex_id}/send-presentation, I've got the below error:
400: Error when constructing proof: Error: Invalid structure. Caused by: RevocationState not found by id: RevocationRegistryId("VV9pK5ZrLPRwYmotgACPkC:4:VV9pK5ZrLPRwYmotgACPkC:3:CL:8:esg:CL_ACCUM:b4ddc084-690a-4dc0-86d0-978b51ff359a"). CommonInvalidStructure.
When I checked the the Revocation registry Id shown in the error, it is a different ID as the one generated in the api call at step 1 as shown above. Mainly the last string (i.e. after "CL_ACCUM") in the two responses are different.
Also, when calling the send presentation api, there is no value I can set in the JSON body to tell the api which revocation registry id it should look at.
What's wrong in my process?

I think you are making it too hard on yourself.
When we first implemented revocation, we added the endpoints that you are using.  And it was difficult for a controller to have to manage everything.  We then went back and hid all the complexity of revocation, so that the only things you need to do are:

when creating a cred-def, flagging that you want to use revocation, how big a registry (default 1000).  It handles everything to do with the revregs on the ledger (it creates two at this time) and the tails file.  I think there is a startup param for the tails server URL.
when issuing credentials -- track the info needed for revocation.  ACA-Py figures if the active revreg is full, and if so, switches over to the next one and triggers the creation of another one.
use an endpoint to revoke a credential, optionally publishing it
use an endpoint to publish any revoked credentials not yet published (e.g. a batching capability)

That should be all you need to do.  Suggest you look at the "--revocation" option in the demos to see how the APIs work.

Thanks for your answer @swcurran. I've retried the process by skipping the four steps I put in my ticket and by only flagging using the revocation + its size when creating a new cred-def, and then checked the api for the registry as per your point 1, I can now see two registries ids are available, which looks good. However, I still got the same error when calling the api for sending a presentation. In my case, I don't think I need to revoke the credential following your points 3 and 4 here, right? As the purpose here is to let the holder to share a no-revoked presentation of its credential with the verifier.
Also, could you point me to url for the docs showing the right demos regarding how revocation works ?

@ianco -- can you help with this?  I'm not really hands on enough on this.

@ianco , please let me know if you need more info from me regarding how I run my Aries agent by using v6. Stuck with this problem at the moment. Thanks!

Hi @yunxi-zhang revocation is enabled in the alice/faber demo here:  https://github.com/hyperledger/aries-cloudagent-python/tree/main/demo.
You startup faber with an additional parameter ./run_demo faber --revocation , and depending on where you have your tails server setup, you need to pass in the url of your tails server.
In the demo, you just use options 3 and 4 (I think?) to revoke a credential.  Alice will try to use a revoked credential in a proof, so if you issue one credential from faber -> alice, and then revoke it, then when you ask for a proof alice will provide the revoked credential and the proof won't verify.
There's also a description here specifically issuing to a mobile app and then revoking:  https://github.com/hyperledger/aries-cloudagent-python/blob/main/demo/AliceGetsAPhone.md
As Stephen says, it's a pretty complicated process.  If you can get the alice/faber demo running, then you should be able to walk through the code and see exactly which api's are getting called and what payloads are provided, and then you can compare against what you are doing manually.

Thanks for the information, I've figured out the reason for the issue. It's simply because I put unnecessary information for some fields in the JSON body when calling the send presentation api. Removing them made me pass this issue. Will close this ticket.


Fix tests in PR #884 PHPUnit to Pest Converter

Todo
Remove shift-64622 branch from CI.

Looks great, thanks!


Text is copied to clipboard with a trailing space in Firefox (OS X)

I tested on Chrome and Safari without problems. Only Firefox does not work. The setup and Usage is the Basic explained in the clipboard documentation ("Copy text from another element").
Browsers affected
Firefox 51.0.1 (OS X)

Interesting... I just tested it out and can not duplicate the issue. Am I correct that your html looks something like:

<input id="foo" value="https://github.com/zenorocha/clipboard.js.git">

<button class="btn" data-clipboard-target="#foo">

</button>

I can't reproduce that problem either. Even on a newer version of Firefox.

Maybe i'm doing it wrong. I created a snippet with the code:
jsfiddle snippet

Having the same problem.
I can reproduce this on both Firefox 53 (Developer Edition) and Firefox 54 (Nightly).

Ok, I can reproduce it from the jsfiddle snippet you provided.
Here is a working fork of your example: https://jsfiddle.net/w7b5csc7/ .

Thank you. I'm going to adapt the html then.

Thanks @fhightower for providing a solution!

My pleasure.

That isn't really a fix for this issue, I would have hoped that the structure of the DOM was irrelevant.
I have the same problem as ignacioHermosilla but I don't want to move my trigger element.
However, this is probably a Firefox issue as much as it is a clipboard.js issue and as such, I appreciate that a fix may be hard to come by.

@fhightower is it possible to elaborate on the difference between the two solutions in https://github.com/zenorocha/clipboard.js/issues/382#issuecomment-283933208? I'm not familiar enough with Clipboard.js, but from what I can tell the same data is copied - and yet different content is pasted.
What is it about those two examples that means one works and the other doesn't? Is it worth raising a bug with Firefox? I'd be happy to do this if I can elaborate more on the difference.

Absolutely; I should have clarified this earlier. The difference (I think) is the location of the text you are trying to copy from relative to the copy button.
The simplest example I can come up with that exhibits this bug is: https://jsfiddle.net/n4j3x21w/9/ . The html code is:

  text

  <button data-clipboard-target="#text_to_copy" id="clipboard">Copy to clipboard</button>

A couple observations that may help identify the underlying bug:

The bug only occurs when the element with id text_to_copy is an or  (and possibly others). The bug does not occur if the element with id text_to_copy is something like
 or
 .
If you move the element with id text_to_copy into the same div as the button with id clipboard, the bug does not occur.

Is there a chance that the bug will be fixed?

I was able to recreate this with the following html. The key focus is in the card-body.
<button class="btn btn-default btn-sm pull-right copy " data-clipboard-action="copy" data-clipboard-target="#abc"> Copy</button>

         Card Title
         <button class="btn btn-default btn-sm pull-right copy " data-clipboard-action="copy" data-clipboard-target="#abc"> Copy</button>

My Text To Copy

To resolve the extra space issue I changed the card-body section of code to this. You can see that I removed the nested div. This resolved the issue for me. Hope this helps someone else.

My Text To Copy

I didn't see this issue so I posted the solution I found in another (older) issue:
https://github.com/zenorocha/clipboard.js/issues/147#issuecomment-613161030
Anyway, I think the fix for Firefox is to not have new lines or indentation in your HTML code.


Application aborted with error.

Windows Terminal version
1.18.1421.0
Windows build number
22621.1344
Other Software
WSL
FarManager
Steps to reproduce
Open profile entry.
Expected Behavior
Open screen of application.
Actual Behavior
WindowsTermninal application aborted with error:
Faulting application name: WindowsTerminal.exe, version: 1.18.2305.22001, time stamp: 0x646c16cf
Faulting module name: ucrtbase.dll, version: 10.0.22621.608, time stamp: 0xf5fc15a3
Exception code: 0xc0000409
Fault offset: 0x000000000007f61e
Faulting process id: 0x0xEB4
Faulting application start time: 0x0x1D98DEF4ED2D0CD
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.18.1421.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report Id: d5f35825-bb26-459f-91ef-20e1e8e5c9cc
Faulting package full name: Microsoft.WindowsTerminalPreview_1.18.1421.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

Fault bucket , type 0
Event Name: MoBEX
Response: Not available
Cab Id: 0
Problem signature:
P1: Microsoft.WindowsTerminalPreview_1.18.1421.0_x64__8wekyb3d8bbwe
P2: praid:App
P3: 1.18.2305.22001
P4: 646c16cf
P5: ucrtbase.dll
P6: 10.0.22621.608
P7: f5fc15a3
P8:<PHONE_NUMBER>07f61e
P9: c0000409
P10:<PHONE_NUMBER>000007
Attached files:
These files may be available here:
\?\C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_Microsoft.Window_c2d345a83ebd4f63f65431ce4b20f769d6644d_03f0cf04_e1e6e590-85ca-4740-a653-a1e60ec30e78
Analysis symbol:
Rechecking for solution: 0
Report Id: d5f35825-bb26-459f-91ef-20e1e8e5c9cc
Report Status: 4100
Hashed bucket:
Cab Guid: 0

Fault bucket<PHONE_NUMBER>268971424, type 5
Event Name: MoBEX
Response: Not available
Cab Id: 0
Problem signature:
P1: Microsoft.WindowsTerminalPreview_1.18.1421.0_x64__8wekyb3d8bbwe
P2: praid:App
P3: 1.18.2305.22001
P4: 646c16cf
P5: ucrtbase.dll
P6: 10.0.22621.608
P7: f5fc15a3
P8:<PHONE_NUMBER>07f61e
P9: c0000409
P10:<PHONE_NUMBER>000007
Attached files:
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.86404f2d-8a99-494e-9315-eeb0acc11a2a.tmp.WERInternalMetadata.xml
These files may be available here:
\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Microsoft.Window_c2d345a83ebd4f63f65431ce4b20f769d6644d_03f0cf04_e1e6e590-85ca-4740-a653-a1e60ec30e78
Analysis symbol:
Rechecking for solution: 0
Report Id: d5f35825-bb26-459f-91ef-20e1e8e5c9cc
Report Status: 268439552
Hashed bucket: 48cb60da2fa68c80e52b443845718ba0
Cab Guid: 0

BucketDetails?BucketIdentifier=48cb60da-2fa6-8c80-e52b-443845718ba0 seems to have... two different failures in it?

The first was from a test machine, so I'm not sure how real that is
Failure?FailureSearchText=99935d8e-2b64-88fd-6c7d-2215bf2e8270 is FAIL_FAST_FATAL_APP_EXIT_c0000409_TerminalApp.dll!winrt::Windows::Foundation::IUnknown::try_as_winrt::Microsoft::Terminal::Control::TermControl_

There's only a couple cabs here... maybe not enough to work with?
Filed as MSFT:44764490

Looks like the crash is attributed to L959 here:
https://github.com/microsoft/terminal/blob/c589784b54d46187289651fa6c04c49fe05826aa/src/cascadia/TerminalApp/TerminalTab.cpp#L953-L965
Do you happen to have focusFollowMouse enabled?
I suppose just looking at that code, we're taking the parameter by reference, which is bad for a coroutine. I don't really think this should have regressed in 1.18. Maybe there's another root cause hiding. I'll trawl through more dumps.

Well that's really helpful! If turning that off fixes this, then surely that must be the real source of this bug. That's something we can fix easily enough.

huh, does "focusFollowMouse": true, even work at ALL in 1.17? I don't think it does 😐

@dovholuknf Let's continue talking over here if you don't mind. I'm sorry that we broke your feature. As far as we can tell, it was already broken in 1.17 and we honestly don't know how it worked to begin with. It might've been a compiler update that broke it? It's definitely very weird.
If you're fine with waiting, we're planning to release an bug fix update possibly (hopefully?) next week already. Otherwise, I'd completely understand of course if you'd like to go back to 1.17 temporarily.  There's a way to disable updates in the settings:

I was already here reading this issue. I can wait a week, i'll survive as long as it's getting fixed with haste. :) My store has app updates on, but for some reason my 'old terminal' is 1.16 and not 1.17... Is there a third install of terminal I don't know about?

Our GitHub releases are being released independently of the store releases, because those are still sort of "manual" unfortunately. But they use the exact same .msixbundle, so it doesn't really matter which one you install. You can get 1.17 stable here: https://github.com/microsoft/terminal/releases/tag/v1.17.11391.0

focusFollowMouse crashes 1.17 too fwiw... i guess I'll just live with 1.18 and focusFollowMouse = false


replicate HHH-14329

See https://github.com/hibernate/hibernate-orm/pull/3645.

I'll try to do this today

I see we're lacking on tests for this area; tracking that as a separate issue: #447

Done & merged


Add a link to the GitHub repository for queue

This adds a link back to the GitHub repository for a project, from the queue.

This might not be the best place for a link, and it might not be the best way to do it if there are plans to support non-github repositories in future, I figured I'd throw the change together though since it's a one-liner and I'd find it useful.

It looks like repo_url is tied to the state and isn't available at the higher level.
I'm not familiar enough yet with the github3 library but something like this might work:
+++ b/homu/html/queue.html
@@ -30,7 +30,7 @@
         </style>

-
Homu queue - {{repo_label}}

+
Homu queue - {{repo_url}}

             <button type="button" id="rollup">Create a rollup</button>
diff --git a/homu/server.py b/homu/server.py
index 25f06fa..66dd66a 100644
--- a/homu/server.py
+++ b/homu/server.py
@@ -81,6 +81,7 @@ def queue(repo_label):
         })

     return g.tpls['queue'].render(
+        repo_url = g.repos[repo_label].html_url,
         repo_label = repo_label,
         states = rows,
         oauth_client_id = g.cfg['github']['app_client_id'],


chuangmi.gateway.ipc011 Will this camera ever start working?

chuangmi.gateway.ipc011 Will this camera ever start working?
I use the Xiaomi Gateway Cameras from Ali express.
I am wondering if these would ever be supported with streams and so on.

The device is not supported because no service is defined in its miot-spec.


KeyPoint labels don't automatically merge with SAM-generated masks.

Hi,
I was able to get the ML backend running and use SAM to interactively generate mask annotations based on keypoint and rectangle inputs. However, when the 'Auto-accept suggestions' option is turned off, the keypoint inputs don't get automatically merged with the SAM-generated mask annotations after I clicked accept. They'd just remain in the Regions window and become part of the inputs to the next predict call.

When the 'Auto-accept suggestions' option is on, the keypoint input would automatically merge with the mask.

Here's my labeling setup:

I'm mostly certain this should not be the expected behavior. Is there anything wrong with how I set up my labels?
Thank you for your time and looking forward to hearing from you.

There should be something like "1 suggestions √ ×" after u add prompts. But somehow I don't see it here (It should replace "Auto-Accept Suggestions" in the version I'm using). In this case, the mask can be adjusted by adding multiple positive and negative points (alt + left key) as prompts. And click √ will accept the mask.


Adds a new Branching middleware

What does this PR do?
Adds a new middleware to allow conditional activation of another middleware chain based on request data.
Motivation
A personal project :)
More

[X] Added/updated tests
[X] Added/updated documentation

Additional Notes
Potentially solves many use cases where a middleware or middleware chain should only be activated conditionally.

Do we have an idea of when this will be merged?

Hey @zikphil, we are currently reviewing it, but we hope it will be ready for 2.9, our next minor release. :)

This PR is invalid: middleware must not be used for routing.

it does not change routing from my perspective @ldez ;)
In the sense it doesn't touch servers endpoints, transport or matching rules but rather just conditionally triggers another chain of middleware

just conditionally triggers another chain of middleware

Trigger based on request -> routing

My design review: this middleware is doing routing (this is not an opinion, this is the reality), and the routing must not be handled by middleware but by routers.
This is broken by design.
This is an invalid solution to a misinterpreted and overrated problem.
As a Traefik maintainer, my opinion is to decline this PR.
Rule n°1 of open-source: no is temporary, yes is forever.

@ldez fair point, but I would argue there is no true reality here as everything is just an opinionated design choice in the end. I'm fine if Traefik's design as a product is to never touch routing from a middleware, and in that case I would look into improving the router mechanism instead.
Would you be satisfied if the solution was moved to the router? To something like this maybe:
http:
  routers:
    test:
      entryPoints:
      - web
      rule: Host(`test.docker.localhost`)
      service: test
      middlewares:
        - name: mycustomheaders
          condition: Header(`foo`,  `bar`)

        - name: mystripprefix

That would be a breaking change of course

I would argue there is no true reality here as everything is just an opinionated design choice in the end

The reality exists, not everything is a matter of opinion.

Would you be satisfied if the solution was moved to the router?

I will not discuss that in this PR. Understanding the real needs and finding a proper solution takes more than 5 min.

I'm not trying to find the proper solution here but rather to take a decision about this PR specifically.
Considering I got mixed feedback other maintainers and your hard no I'm closing it in favor of opening a design discussion for v3.


preprocess Name.fromString in order to increase performance

Call to Name.fromString(...)  should be replaced with Name(...) in preprocessing.

Already resolved it seems, replaces with Name.fromU64


Cant get support fragment manager in Flutter Plugin for Android

Hello, im trying to create a Flutter plugin that uses an sdk that requires i getSupportFragmentManager() in android
However, im having trouble getting the v4 support fragment manager, i can get the normal fragment manager just fine, but I cant seem to get the support one
override fun getSupportFragmentManager(): FragmentManager {     return this.registrar!!.activity().getSupportFragmentManager()   }
I have tried many things, activit().fragmentManager() which doesn't return the v4 support fragment manager that I need
I've tried to call context().getSupportFragmentManager(), nothing
please help me get the v4 fragment manager

i also tried the solution here, https://stackoverflow.com/a/53863614/2411667
but it didn't work for me

just extend your main activity to FLutterFragmentActivity


Question: Actual Python source code generation

I realize this would be something more appropriate for a GitHub Discussions thread, but Discussions seem disabled for this project, so I'm asking here instead:
The README gives an example of what a generated module looks like as Python code, but am I correct in my understanding that output in this form isn't supported and modules can only be created as their runtime representation?
Output as actual Python source code to be placed in .py files on disk would allow using them with static type checkers like Mypy or Pyright, hence the question.
If this is not supported, I guess a workaround would be to go through the dataclasses contained in the runtime module one by one, using the information in fields like __annotations__ and __mro__ to reconstruct their Python sources, but I'm not yet sure whether this wouldn't run into other issues.

I've generated and updated the mypy type declarations for my packages using mypy's stubgen which has generally worked.

Hmm, doesn't seem to work for me :thinking:
To ensure it's not an issue specific to my project, I also tried it with your py-tree-sitter-talon project, but even there, if I delete the existing dynamic.pyi and run any of
stubgen src/tree_sitter_talon                   # variant 1
stubgen -p tree_sitter_talon                    # variant 2
stubgen -m tree_sitter_talon._internal.dynamic  # variant 3

it always ends with out/tree_sitter_talon/_internal/dynamic.pyi remaining empty. If I add --inspect-mode to force runtime inspection, the result is the same for the -m variant, while for the others it crashes with some weird Mypy-internal error...
What am I missing? :thinking:

I genuinely don't recall what stubtest commands I ran to generate the type declarations, unfortunately.


[Chore] Documentation fixes

Some changes may be needed in the documentation :
GHCR
https://github.com/certmichelin/Redscan/wiki
-docker login https://docker.pkg.github.com
+docker login https://ghcr.io

dockprom
https://github.com/certmichelin/Redscan/blob/51b8a374ec842bd2c4ecca927ce0801f08a8e544/red.py#L127
https://github.com/certmichelin/Redscan/blob/51b8a374ec842bd2c4ecca927ce0801f08a8e544/red.py#L133
python red.py --demo and python red.py --fun fails.

Underneath it launches docker-compose -f dockprom/docker-compose.yml up -d
but dockprom requires creds cf. https://github.com/stefanprodan/dockprom#install
ADMIN_USER=admin ADMIN_PASSWORD=admin ADMIN_PASSWORD_HASH=JDJhJDE0JE91S1FrN0Z0VEsyWmhrQVpON1VzdHVLSDkyWHdsN0xNbEZYdnNIZm1pb2d1blg4Y09mL0ZP docker-compose -f dockprom/docker-compose.yml up -d

So then I have dockprom running but this stem fails with the same error
https://github.com/certmichelin/Redscan/blob/51b8a374ec842bd2c4ecca927ce0801f08a8e544/red.py#L134
error getting credentials - err: exit status 1, out: `exit status 2: gpg: decryption failed: No secret key`

So does something changed from the actual README steps to setup the demo environment that is not documented yet?
update: seems to be related to docker-credential-helpers not prompting for passphrase. I login to GHCR with a PAT and use docker-credential-helpers to store credentials in a safe way.

Hello, @noraj,
I've updated the wiki according to your remarks, thanks a lot for your feedback !!
I'm quite suprised with the issues you had with docker login we never had issues with this step.

I'm quite suprised with the issues you had with docker login we never had issues with this step.

No I didn't succeed but I know the origin. It's not a RedScan issue.


CLI: Improve listworkflow with friendly date range

Currently CLI workflow list takes -et -lt as UTC and UnixNano, which is not human friendly.
Need to improve it to list last 1 hour, last week etc.
We can also think about replace existing datetime parser to something like https://github.com/araddon/dateparse, which relax on datetime format.

@wxing1292 Is it still open to grab? If so, I would be more than happy to help.

@kaustubhmallik Yes it is. It would be great if you can take it.

@vancexu I would love to. Have you given any thought about it already? Or should I come up with my approach, and maybe you can guide me further.

Hi @vancexu, I have thought of doing it in the following manner.
The argument would look like - last <num><duration>
Users are supposed to put quotes (single/double) around the argument just like any other *nix argument to be treated as one argument.

num  - positive integral value (1e6 > num > 0 ). ZERO and negatives are considered invalid value. If num is skipped, a default value of ONE is considered.

duration - possible values for duration will be (full name/short name):
- second/s
- minute/m
- hour/h
- day/d
- week/w
- month/M
- year/y

The maximum duration can go as back as Unix epoch time (1 Jan 1970 00:00:00 UTC), as we are already using Unix timestamp, so it will be compatible with it.

Now that would be awesome! Do you want to add that in the same proposal, or you want to do that separately? I guess it might be better if we can handle it separately, but please suggest what you feel like.

Now that would be awesome! Do you want to add that in the same proposal, or you want to do that separately? I guess it might be better if we can handle it separately, but please suggest what you feel like.

Yes, agree it's better to do separately. Just share some idea for next.

In order to enter the time range, I can think of two ways:

To put some separator in the argument to separate the time range --et "<range_start_time> | <range_end_time>"
eg. --et "last 1d | last 3d".
We can make it mandatory to specify start time first, and end time second. In the absence of separator, it will behave as it is now, so it will be backward compatible. We can think of other separators also, but I will avoid comma as it usually means that you are giving a set of discrete values as an argument.

To add nested arguments to provide a time range, like --et --start "last 1d" --end "last 3d".

At first look, second looks more clear from a user perspective, but it might result in confusion also, if someone wants to use it the way before, as in that case no start or end args will be needed. Like, what if someone just gave one of them, assuming the other take some default value.
eg. --et --end "last 1d", so a user assumes in this case, the start time will be the current time.
Equivalently, a better way to write this is --et "last 1d". Similarly, if someone just gave the start and misses the end, we can’t know what the end time, and have to raise en error.
So, in my opinion, the first looks more concise and will work better with the existing users, who want to try out this new feature.
Let me know what you think about it. I would love to hear some suggestions/improvements to it. Also, please let me know if I should start working on the previous thing, in which case please assign the issue. It helps me to keep track of things 😃

@kaustubhmallik I might be missing something but CLI has already two options:
   --earliest_time value, --et value           EarliestTime of start time, supported formats are '2006-01-02T15:04:05+07:00' and raw UnixNano
   --latest_time value, --lt value             LatestTime of start time, supported formats are '2006-01-02T15:04:05+07:00' and raw UnixNano

What is the problem to keep using both of them without introducing the new ones? So your example becomes:
--et "last 3d" --lt "last 1d"

Hi @mfateev, thanks a lot for reviewing it. My sincere apologies, as I didn't know that we can use both options at the same time. It looks it's already serving the purpose perfectly.
@vancexu What your views on it?

Ok, then I think we can just do --et 3d --lt 1d (because last is redundant).
I previous thought --et followed by a during (not a timestamp) is a little bit inconsistent, so leaned on -last 3d. But now it looks like --et 3d --lt 1d has more benefits.
I assigned the task to you @kaustubhmallik

True! It make sense to drop last, also makes it a bit easier to use. Thanks for assigning it, I will try to finish the code changes soon and will let you know if I face any problem.

Thanks again for your contribution!


[v7] Support fastify

Informations
The goal is to provide a @tsed/platform-fastify package to support Fastify.
Take as example the @tsed/platform-express and @tsed/platform-koa as examples:
https://github.com/TypedProject/tsed/tree/alpha/packages/platform-express
https://github.com/TypedProject/tsed/tree/alpha/packages/platform-koa
Acceptance criteria

[ ] Ts.ED server start on Fastify

Fighting with the stale bot? Haha

Yes ^^. I haven’t started this feature, but it’s a goal ^^

It would be awesome if this framework could support fastify! I'm thinking of using this framework instead of nestjs. Leaning against tsed ☺

Hum, the PR is already started here:
https://github.com/tsedio/tsed/pull/2437
But no time to continu the dev :)

Hello @vibh1103
You help on this enhancement is welcome!
We can work together on this PR ;). We can split the issue in subtasks like this:

[ ] Remove all koa reference inside the fastify package (source files and tests files) (PR #)
[ ] Map Fastify Response to PlatformFastifyResponse (PR #)
[ ] Map Fastify Request fo PlatformFastifyRequest (PR #)
[ ] Implement the mapHandler() method in PlatformFastify (PR # )
[ ] Implement the mapLayers() method in PlatformFastify (PR # )
[ ] Implement the useRouter() method in PlatformFastify (PR # )
[ ] Implement the multipart() method  in PlatformFastify (PR # )
[ ] Implement the statics() method  in PlatformFastify (PR # )

You can make small PR for each tasks ;). It will me help a lot :). If you have any question. Tell me!
If you need dedicated issue, tell me also.
See you


Use short link for AMD doc

Found an okay way to do this with GitHub Pages: https://github.com/mmdriley/cpu.fyi/commit/e87c84876b6984c0fad5a6943bc68d02e6d37751
Thanks for indulging me these vanity PRs. :)

I did. All the old cpu.wtf links still work (redirect) but I thought cpu.fyi sounded a bit less snarky.


General Information

Hi again,
I have some general questions about the repo:

How many GPU's, GPU memory and RAM do you use to train the network?

I get a CUDAout of memory error for 2 GPU's with 12GB each.
The network is not so big, so I wonder why this needs so much memory
I can only train a model on a single datapoint with single GPU (DataParallel set to device_ids=[0])

In your paper the NW architecture contains a U-ResNet that predicts depth, normals and silhouette from a RGB image. Where can I find this in your repo? The SDFNet/model.py only contains encoder and 3D decoder.

Ok, I think I found this in GenRe-ShapeHD/networks/

Why do you need 2 different marching cubes algorithms, i.e. libmcubes for occupancy representation and the marching cubes in SDFNet/isosurface?

Best regards, Jan

Hi Jan,
Thanks for your questions. Please see the responses below.

We train our network with batch size 128 on 2 GPU's. Each should consume around 8-9GB. I'm not sure if you get CUDA out of mem error during training or validation. You might want to reduce the batch size of validation if it happens during validation.
Yes the 2.5D estimation network should be in GenRe-ShapeHD/networks/
Generally speaking we don't need 2 marching cube libraries. The one we are using is SDFNet/isosurface. The other package consists of multiple other libraries such as KDTree for computing Chamfer distance along with the libmcubes so we just included everything.

Hi Jan,
Just a follow up to see if everything works well for you. If it does should we close this issue?
Thanks

Yes we can close this issue, thanks for your comments.


build jemalloc failed with error "No such file or directory"

Describe the bug
When I tried to install jemalloc It reported error in command output:
The following packages will be built and installed:
    jemalloc[core]:x86-windows
Starting package 1/1: jemalloc:x86-windows
Building package jemalloc[core]:x86-windows...
-- Using cached D:/vcpkg/downloads/jemalloc-jemalloc-cmake-jemalloc-cmake.4.3.1.tar.gz
-- Using source at D:/vcpkg/buildtrees/jemalloc/src/make.4.3.1-c0500eb0e6
-- Configuring x86-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
    Command failed: D:/Apps/CMake/bin/cmake.exe D:/vcpkg/buildtrees/jemalloc/src/make.4.3.1-c0500eb0e6 -DGIT_FOUND=OFF -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON -Dwithout-export=OFF "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -DBUILD_SHARED_LIBS=ON -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/windows.cmake -DVCPKG_TARGET_TRIPLET=x86-windows -DVCPKG_SET_CHARSET_FLAG=ON -DVCPKG_PLATFORM_TOOLSET=v142 -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE -DCMAKE_VERBOSE_MAKEFILE=ON -DVCPKG_APPLOCAL_DEPS=OFF -DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON -DVCPKG_CXX_FLAGS= -DVCPKG_CXX_FLAGS_RELEASE= -DVCPKG_CXX_FLAGS_DEBUG= -DVCPKG_C_FLAGS= -DVCPKG_C_FLAGS_RELEASE= -DVCPKG_C_FLAGS_DEBUG= -DVCPKG_CRT_LINKAGE=dynamic -DVCPKG_LINKER_FLAGS= -DVCPKG_TARGET_ARCHITECTURE=x86 -DCMAKE_INSTALL_LIBDIR:STRING=lib -DCMAKE_INSTALL_BINDIR:STRING=bin -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/jemalloc_x86-windows/debug
    Working Directory: D:/vcpkg/buildtrees/jemalloc/x86-windows-dbg
    Error code: 1
    See logs for more information:
      D:\vcpkg\buildtrees\jemalloc\config-x86-windows-dbg-out.log
      D:\vcpkg\buildtrees\jemalloc\config-x86-windows-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:305 (vcpkg_execute_required_process)
  ports/jemalloc/portfile.cmake:22 (vcpkg_configure_cmake)
  scripts/ports.cmake:94 (include)

I checkout the config-x86-windows-dbg-err.log. It said that below error:
CMake Error: Remove failed on file: D:/vcpkg/buildtrees/jemalloc/x86-windows-dbg/GetPageSize/CMakeFiles/CMakeTmp/cmTC_40595.exe: System Error: No such file or directory
But I can find the file:
/cygdrive/d/vcpkg
$ find . |grep cmTC_40595
./buildtrees/jemalloc/x86-windows-dbg/GetPageSize/CMakeFiles/CMakeTmp/cmTC_40595.exe
Environment

OS: [cygwin under Windows 10 Enterprise 1809]
Compiler: VS 2019

To Reproduce
Steps to reproduce the behavior:

./vcpkg install jemalloc:x86-windows
See error in command line output and err log file

Expected behavior
Install is successful.
Failure logs
-(please attached failure logs)
[
config-x86-windows-dbg-out.log
config-x86-windows-dbg-err.log
](url)
Additional context
Add any other context about the problem here.

[
CMakeError.log
CMakeOutput.log
](url)
Add CMake output and error log

In SOURCE_PATH/include/jemalloc/internal/jemalloc_internal.h.in line 351:
#if __STDC_VERSION__ < 199901L
#  ifdef _MSC_VER
#    include <malloc.h>
#    define alloca _alloca
#  else
#    ifdef JEMALLOC_HAS_ALLOCA_H
#      include <alloca.h>
#    else
#      include <stdlib.h>
#    endif
#  endif
#  define VARIABLE_ARRAY(type, name, count) \
	type *name = alloca(sizeof(type) * (count))
#else
#  define VARIABLE_ARRAY(type, name, count) type name[(count)]
#endif

The alloca.h should not be included in Windows.

yes, I installed latest cmake version 3.15.5

Hi @soft-way, please install jemalloc again following these steps:

Uninstalling your cmake 3.15.5, vcpkg will use its own cmake.
Install jemalloc again.
If building failed, please use this file instead of the source file and install again.
Attach your build log.

Thanks.
The file: Utilities.zip
The file path: vcpkg\buildtrees\jemalloc\src\make.4.3.1-c0500eb0e6\Utilities.cmake

Hi @LilyWangL, If I used vcpkg's cmake-3.14.0, same issue happened.
It seems that anti-virus software McAfee resulted this error.
After checking the cmake code:
In cmCoreTryCompile.cxx: line 998 - 1015
#ifdef _WIN32
// Sometimes anti-virus software hangs on to new files so we
// cannot delete them immediately.  Try a few times.
cmSystemTools::WindowsFileRetry retry =
cmSystemTools::GetWindowsFileRetry();
while (!cmSystemTools::RemoveFile(fullPath) && --retry.Count &&
cmSystemTools::FileExists(fullPath)) {
cmSystemTools::Delay(retry.Delay);
}
if (retry.Count == 0)
#else
if (!cmSystemTools::RemoveFile(fullPath))
#endif
{
std::string m = "Remove failed on file: " + fullPath;
cmSystemTools::ReportLastSystemError(m.c_str());
}
}
In cmSystemTools.cxx: line 879-909
#ifdef WIN32
cmSystemTools::WindowsFileRetry cmSystemTools::GetWindowsFileRetry()
{
static WindowsFileRetry retry = { 0, 0 };
if (!retry.Count) {
unsigned int data[2] = { 0, 0 };
HKEY const keys[2] = { HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE };
wchar_t const* const values[2] = { L"FilesystemRetryCount",
L"FilesystemRetryDelay" };
for (int k = 0; k < 2; ++k) {
HKEY hKey;
if (RegOpenKeyExW(keys[k], L"Software\Kitware\CMake\Config", 0,
KEY_QUERY_VALUE, &hKey) == ERROR_SUCCESS) {
for (int v = 0; v < 2; ++v) {
DWORD dwData, dwType, dwSize = 4;
if (!data[v] &&
RegQueryValueExW(hKey, values[v], 0, &dwType, (BYTE*)&dwData,
&dwSize) == ERROR_SUCCESS &&
dwType == REG_DWORD && dwSize == 4) {
data[v] = static_cast(dwData);
}
}
RegCloseKey(hKey);
}
}
retry.Count = data[0] ? data[0] : 5;
retry.Delay = data[1] ? data[1] : 500;
}
return retry;
}
#endif
cmake did several retry to delete file, retry.Count and retry.Delay was from register.
After I added below two items into Windows register. It does work.
Computer\HKEY_CURRENT_USER\Software\Kitware\CMake\Config\FilesystemRetryCount 10
Computer\HKEY_CURRENT_USER\Software\Kitware\CMake\Config\FilesystemRetryDelay 1000
Can we write down this kind of issue somewhere?
Thank you so much,

The anti-virus software also cause some unknown issues, we haven't encountered this issue again. I think it's good to have this issue and a possiable solution here, we can search this kind of issue with 'anti-virus' in vcpkg, instead of adding a docs to vcpkg.


Links as links without Javascript

All links should work as links, without javascript.
When I want to open some package or any link in another tab, it does not work.
in macOS, I usually use cmd+click on a link, to open link in new tab, and this action reloads a page.

@daimor if it is done?

Nope, nothing was changed here.
I still can't open any package or any other page in another tab, from the context menu, or my cmd+click

This is known issue, will fix it soon

Could we close it?


🐛 [firebase_core] No implementation found for method Firebase#initializeCore on channel plugins.flutter.io/firebase_core

Bug report
Description
The app won't work when building for Windows, it works fine for Android and the Web
Steps to reproduce

Create a new Flutter app
Add Firebase to the app following the Firebase guid for Flutter ( Choose Android, Web and Windows )
Initialize Firebase on the app entry point before calling runApp
Now build for Web and Android to test if it is working
If step 4 is working fine build for Windows, you will get the problem on your console and the app will be just a white screen

Expected behavior
Well the app should just build haha
Sample project
I think its faster to just use the VS Code extension to create a new project

Additional context

I have used VS Code to create the Flutter project
I have used the fluterfire cli to add firebase to the app

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.0, on Microsoft Windows [Version 10.0.22621.1], locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Chrome - develop for the web
[✓] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.0)
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.67.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.17.0
Flutter SDK 3.0.0
odin 1.0.0+1

dependencies:
- cupertino_icons 1.0.4
- firebase_auth 3.3.18 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.17.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]

dev dependencies:
- flutter_lints 2.0.1 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]

transitive dependencies:
- async 2.8.2 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.2.0
- charcode 1.3.1
- clock 1.1.0
- collection 1.16.0
- fake_async 1.3.0 [clock collection]
- firebase_auth_platform_interface 6.2.6 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 3.3.15 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.4.0 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.6.4 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- intl 0.17.0 [clock path]
- js 0.6.4
- lints 2.0.0
- matcher 0.12.11 [stack_trace]
- material_color_utilities 0.1.4
- meta 1.7.0
- path 1.8.1
- plugin_platform_interface 2.1.2 [meta]
- sky_engine 0.0.99
- source_span 1.8.2 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- term_glyph 1.2.0
- test_api 0.4.9 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.1 [collection]
- vector_math 2.1.2

Hi! Windows isn't supported here, you need to add firebase_core_desktop first to get it supported. Please check this blog for more details on how to add it.

@pr-Mais but are there plans for Windows to be supported? I mean, the firebase cli now includes Windows in the initialize list

Officially no, but Invertase is sponsoring the FlutterFire Desktop project which add Windows and Linux support using the same platform interface of FlutterFire, this is the Roadmap, check this discussion.


How to download instagram stories by ddinstagram or instafix?

I tried to download stories using ddinstagram or instafix from discord but it only download image of story and can't download in mp4 format!
for example I tried a story url similar to following:
https://www.ddinstagram.com/stories/username/*******************/
and it shows me following with a image embed:
https://www.ddinstagram.com/images/[shortcode]/1
I even tried with video url but it still show me image of stories!
https://www.ddinstagram.com/videos/[shortcode]/1
How to fix this?

It will not be supported any time soon as long as it is impossible to get stories without an account

One of my friends claims that through an Instagram vulnerability, stories can be downloaded without cookies or logging into the account.
I couldn't find it and my friend never share with me!

If I login to an account then How can I remove instagram story download limit? I want to use story download api without limit of my account.

I do not know, please find it yourself.


nephio-controller-manager: missing Gitea secret stalls startup forever

If the secret is not available (or some other startup issue occurs), then this line:
https://github.com/nephio-project/nephio/blob/31b37fcf142b3b84c7d7980d28d777bdf784d85a/operators/nephio-controller-manager/main.go#L105
Never returns.  Or perhaps run the Go routine inside the Start method. Not sure.

https://github.com/nephio-project/nephio/pull/227
Please review this PR,
however, I am not able to test end-to-end, because my dev environment has missing dependencies for ipam and vlan, I am not sure what is required to be installed and what is the ip:port both reconcilers expect as a proxy client address.  Any link to an automation script that does the same will help.
-Sandeep

https://github.com/nephio-project/test-infra/pull/56#issuecomment-1565196836 will set up a complete environment, but I don't have IPAM and VLAN working there yet (nor bootstrap).
In any case, that one has merged so I will close this issue and open another one if there's a problem.


Use MDC Material Components

Description
Changes the UI to use non-legacy Material components. We need to do this to upgrade to Angular 17 and above, as the legacy components no longer exist in Angular Material 17.
Review Instructions
Issue
SEAB-6279
Security
If there are any concerns that require extra attention from the security team, highlight them here.
Please make sure that you've checked the following before submitting your pull request. Thanks!

[ ] Check that your code compiles by running npm run build
[ ] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[ ] If this is the first time you're submitting a PR or even if you just need a refresher, consider reviewing our style guide
[ ] Do not bypass Angular sanitization (bypassSecurityTrustHtml, etc.), or justify why you need to do so
[ ] If displaying markdown, use the markdown-wrapper component, which does extra sanitization
[ ] Do not use cookies, although this may change in the future
[ ] Run npm audit and ensure you are not introducing new vulnerabilities
[ ] Do due diligence on new 3rd party libraries, checking for CVEs
[ ] Don't allow user-uploaded images to be served from the Dockstore domain
[ ] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.
[ ] Check whether this PR disables tests. If it legitimately needs to disable a test, create a new ticket to re-enable it in a specific milestone.

1st commit is after running the migration tool. Immediately obvious problems, without any additional fixes:

Letter-spacing is too wide for buttons and menus
Facets on the search page are bold and have extra spacing
Buttons with icons have smaller icons than
Search on home page is laid out oddly.

This is failing on CircleCI for some reason; going to try creating a second PR to see if that works.


zeromq -> zmq for dependencies

The name of that package is changed to zmq.
Reference:
https://github.com/JustinTulloss/zeromq.node/commit/9e0b7411503d29e419a2cb0fe9001628ff8d660f

Thanks for reporting this. I'll update this and pull in other patches and released an updated version of m2node today.

Fixed in commit 96d8e7030


Feat: add DEX Pools and Pairs creation utils

Feature: Pool and Pair creation under utils folder
Overview: This utility has to allow users to quickly instantiate and create DEX pairs to enable broader test scenarios that depend on custom token pairs.

Leaving ideas that appeared while we kept working on this:
The ideal util should process input tokens that the attacker has and receive a parameter to determine the output tokens of the process. Inside the black-boxed util flashloans are made as well as swaps from the currently owned tokens to repayment tokens. Also, should handle the repayment.
Maybe we will need to have the util with separate functions. One to trigger the flashloan and another one to handle the swaps and the repayments as they will likely happen inside the flashloan callback (located in the attacker's contract).

It would be nice to be able to calculate how much input tokens are needed to generate certain price deviation in a different pool state scenarios.


Fix for issue 1751: fixes a crasher when running on Android 12

Fixes #1751
This PR is ready for review.
Risk
This PR makes no API changes.
Testing Plan

[x] I have verified that I have not introduced new warnings in this PR (or explain why below)
[x] I have run the unit tests with this PR
[x] I have tested this PR against Core and verified behavior (if applicable, if not applicable, explain why below).
[ ] I have tested Android, Java SE, and Java EE

Unit Tests
I have run SdlRouterServiceTests.
Core Tests
n/a
Core version / branch / commit hash / module tested against: 7.0
HMI name / version / branch / commit hash / module tested against: our own HMI test suite
Summary
This fixes a crasher when SDL app sets targetSdkVersion to 31, and running on Android 12.
Changelog
Breaking Changes

n/a

Enhancements

n/a

Bug Fixes

This fixes issue #1751

Tasks Remaining:

n/a

CLA

[x] I have signed the CLA

Included in #1771


macOS: WindowEvent::WillClose

So the clean up code doesn’t actually run. The frame timer has a reference to the view, and at least with iced_baseview, one more reference is kept to it at this point (meaning that in that particular case, retain count is 3 when cleaning should happen).
So the first step towards a solution is to use a different timer which keeps no reference:
https://developer.apple.com/documentation/corefoundation/1543570-cfrunlooptimercreate
https://docs.rs/core-foundation/0.9.1/core_foundation/runloop/type.CFRunLoopTimerCallBack.html
We control flow also needs to be done in a different manner, since apparently, the host sends the close signal to the vst plugin, which should tell baseview to close the window. If it frees its own references first,  the reference count to check for will be 1.

Closing in favor of #84


KAFKA-10195: Move offset management code out of ConsumerCoordinator

We are adding new features to ConsumerCoordinator and it's becoming more and more complex, the offset management code in ConsumerCoordinator can be moved to a new class because "offset management" almost don't interact with "partition assignment".
Below is the code change list:

move offset management code to OffsetManageCoordinator
remain methods which are used in KafkaConsumer but just a proxy method.
add methods in OffsetManageCoordinator for interacting with "assigning offset code"

Below is UML class diagram:

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

cc @hachikuji @abbccdda @guozhangwang @mumrah

ok to test

ok to test

Thanks for the refactoring. TBH, I'm not fully convinced this refactoring is simplifying the logical connections between internal classes. What is the goal for this refactoring? In terms of complexity, we further adds up the interaction between OffsetManageCoordinator and ConsumerCoordinator, and the total LOC is not reduced either. If we are just moving a group of methods to another class, the migration of test cases, interaction logic, etc, are all the non-trivial review costs incurred. It would be better to clarify the gain here before fully investing on making this change. cc @guozhangwang @vvcephei

Hi, @abbccdda ,
Thank you for your reply, here are some of my understandings:

ConsumerCoordinator has 3 main parts, below are interactions between the 3 parts.
Superclass AbstractCoordinator consists of "Group Registration" and "State Assignment", no "Offset Management".
the interactions of "Offset Management" with "Group Registration" and "State Assignment" are unidirectional, so it may simplify the structure.


Microverse Project Submission - Pull Request

This is a pull request to the first Microverse project (Embedding Video and Images)

PULL REQUEST UNDER REVIEW BY PETER ROBERT (TSE)

CHANGES REQUIRED:recycle:
**VERY IMPRESSIVE WORK :1st_place_medal: @happiguru  AND @umairarshadbutt **
The readme is descriptive :clap: your commit messages are perfect :clap: However there is a problem with your git-flow. You have committed your work in both the master and the feature branch. Also, you have opened your pull request from the master which is an improper use of git-flow.
Kindly read about git-flow here and fix your project by creating another repo and following the git-flow guidelines
I am going to mark this project as invalid so when you fix the issue just submit another code review request.
if you have any questions kindly reach me on slack @peterrobert
**HAPPY CODING :computer: **

Pull Request under review by @santiago-rodrig (TSE)


AMQP-780: Configurable consumer start timeout

JIRA: https://jira.spring.io/browse/AMQP-780
Log an error if a consumer doesn't start within the timeout; make the timeout configurable.
This can happen if the task executor doesn't have enough threads to support the concurrency.
cherry-pick to 1.7.x

... and cherry-picked to 1.7.x after resolving conflicts as: https://github.com/spring-projects/spring-amqp/commit/c320c2463eece4c9125921bd0dfcc3fed05f4827


Milehigh.world

System information

Android Device information (use adb shell getprop ro.build.fingerprint
if possible):
TensorFlow Lite in Play Services SDK version (found in build.gradle):
Google Play Services version
(Settings > Apps > Google Play Services > App details):

Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to or attach code demonstrating
the problem.
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem.
If including tracebacks, please include the full traceback. Large logs and files
should be attached.

@Milehigh-wrld,
Without the reproducible code, it would be difficult for us to debug the issue. In order to expedite the trouble-shooting process, could you please provide a minimal code snippet and the TensorFlow version you are using.
Also if you are trying to get the information on the tensorflow lite, I request to have a look at this official document for reference.
https://www.tensorflow.org/lite/guide
TensorFlow Lite is a set of tools that enables on-device machine learning by helping developers run their models on mobile, embedded, and edge devices.
Thank you!

@Milehigh-wrld,
Could you please confirm if the issue is resolved. if yes, please feel free to move this issue to closed status. Thank you!


Implement API Changes

We need to implement the latest API changes. They should go live within a week or so.
https://github.com/discord/discord-api-docs/pull/2615

h

h

Will do  tomorrow :shipit:


useCookieLocale composable does not work

Environment

Operating System: Linux
Node Version:     v16.14.2
Nuxt Version:     3.2.3
Nitro Version:    2.2.3
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      modules, i18n
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-g6uubx?file=app.vue,pages%2Ftest1.vue,pages%2Ftest2.vue
Describe the bug
Trying to use useCookieLocale throws an error Cannot read properties of undefined (reading 'useCookie'). It seems like the parameter default values for the composable are not being set.
See here: https://github.com/nuxt-modules/i18n/blob/182098bebc9cb8c952ec849333c133c920288048/src/runtime/composables.ts#L165-L166
By passing the parameters myself I get a bit further useCookieLocale({ useCookie: true, cookieKey: 'i18n_redirected' }); except this time I get the following error ReferenceError: ref is not defined.
That's here: https://github.com/nuxt-modules/i18n/blob/182098bebc9cb8c952ec849333c133c920288048/src/runtime/composables.ts#L172
Additional context
I ran into this issue while trying to create a workaround for #1905
Logs
No response

Error ReferenceError: ref is not defined. still exists.

@issenn can you reproduce the error using the next branch? It should be fixed but I don't think the latest release<EMAIL_ADDRESS>includes this change yet


Expose dispose lifecycle method for platform plugins

We're looking for a way to halt some native code during development if the developer performs a hot restart with shift-R or though IDE tooling.
To the best of my knowledge there is no lifecycle method for dispose/teardown that we can hook into to execute some code (in our case, stop playing audio, dispose of player state).
This issue was inspired by: https://github.com/ryanheise/just_audio/issues/134#issuecomment-667180589

I've finally got around to looking at this in just_audio, and there is good and bad news.
The good: On Android, I can do this in onAttachedToEngine via binding.getFlutterEngine().addEngineLifecycleListener() and when a hot restart is detected, stop and all active audio players.
The bad:  FlutterPluginBinding.getFlutterEngine() is deprecated. One proposal would be to remove the deprecated status and allow plugins to access this, because there will be other features of the flutter engine that will be useful to access and we couldn't just keep mirroring everything we need from FlutterEngine into the binding class. I would also find it useful to have the identity of the engine we're being attached to in my audio_service plugin because I want to know if it's the same engine that's hosting the audio handler, and the limited view FlutterPluginBinding gives me onto the engine isn't enough.
Maybe getFlutterEngine() will eventually be removed, but I think I will go ahead and implement the above approach in just_audio since there is no alternative. It is strange that with onAttachedToEngine we are not to know which engine we're being attached to.
We definitely want to stop any active audio players on a hot restart. The plugin needs a way to reset and clear all platform resources back to a clean slate, and that includes stopping any noise coming out of the players. Otherwise they will just continue to make noise with no way to turn them off, and that will annoy (is annoying) developers.


WIP: Example running OpenShift Origin as pod on Kubernetes

This is an example of running OpenShift Origin as a pod on Kubernetes.
It demonstrates the usage of secrets to allow OpenShift Origin to securely communicate with the Kubernetes provider.
This is very much work in progress, and does not fully work (yet).
/cc @smarterclayton @pmorie

Coverage decreased (-0.01%) to 53.83% when pulling c013c4a146b2c4e2ffaafc423e72e19130700a04 on derekwaynecarr:origin_example into 984fb2e6754207d3803dc9c3681a507e8aec0002 on GoogleCloudPlatform:master.

LGTM, merging.

I had this as WIP... not yet ready to merge, I need to send updates ;-)

It was so awesome we had to merge it. :-)


[improvement] Add podman-desktop-companion formula to brew

It will be great to be able to pull the latest release using brew.

🦗

I've added templates for this https://github.com/iongion/podman-desktop-companion/tree/main/support/homebrew-cask so that anyone can take care of it. I can't maintain this though.


Add example for Web Animations API

Hope you don't mind another example in your collection

Nice one!
Many thanks.
@adanilo fyi


synonym scope of  pathogenesis in GO

GO:0001907    killing by symbiont of host cells
has synonym
pathogenesis | narrow
This should be related because pathogenesis is not a process it's a phenotype (or trait, or disease outcome or something else)  but definitely  orthogonal to any GO process.
Also check synonym scope of used elsewhere....

It's a narrow synonym of 6 terms. I'll make it related everywhere.


whitespace tidy

Seek and destroy tab indents in .c files.

Replaced by PR#55 due to merge conflict.

I think you can just force-push to the same branch and it will update
the pull request automatically.
--
Bruce Guenter<EMAIL_ADDRESS>https://untroubled.org/


Limit

https://jsonplaceholder.typicode.com/posts?_limit=2
not working !!

@kamalkech looks like it works now

@simo54 hhh look to date of my post !


Allow danger.import_dangerfile(path:) with full file path

Report
I'm trying to split Dangerfile into multiple smaller files.
For that, I am trying to use danger.import_dangerfile(path:'scripts/DangerExtensions/child_danger1.rb') method.
But this gives the error
[!] Invalid Dangerfile file: Not a directory @ rb_sysopen - scripts/DangerExtensions/child_danger1.rb/Dangerfile. Updating the Danger gem might fix the issue. Your Danger version: 8.5.0, latest Danger version: 8.6.1
What did you expect to happen?
When giving the full path to this method, danger should import the file and run it.
What happened instead?
When giving the full path to this method, danger blindly appends Dangerfile to it and tries to open the file.
https://github.com/danger/danger/blob/314bb927605beb862137498e36a3b4bfff413dc7/lib/danger/danger_core/plugins/dangerfile_danger_plugin.rb#L133-L137
With this, if I have multiple files, I have to place each file with the name Dangerfile in separate folders, which is a limitation I would say.
Your Environment

Which CI are you running on?
Github actions

Are you running the latest version of Danger?
Danger version 8.5.0

What is your Dangerfile?
danger.import_dangerfile(path: 'scripts/DangerExtensions/child_danger1.rb')

PS: I am happy to open a PR to fix this if maintainers agree with this 🙂

Yeah, seems reasonable to me 👍🏻


BHR

We need to show backup with Phrase as an option when the wallet has been created with Keeper or has been backed up with Keeper?

@summikhan11  any Update ?

not required


Constraints on Existential Parameters

One of the current limitations of existential parameters is the inability to describe relationships between two components' existential parameters. Currently in the type system (smt solver) we already represent (non-opaque) existential parameters as a result of a function on input parameters. Therefore, we could theoretically provide this information in existential parameter constraints.
For example, one of the cases where this issue pops up is when using floating point addition or negation.
We have something like the following:
comp FAdd[E, M]<'G:1>(
  X: ['G, 'G+1] W,
  Y: ['G, 'G+1] W,
) -> (
  R: ['G+L, 'G+L+1] W,
) with {
  some W where W == E + M + 1;
  some L where L >= 0;
} { ... }

comp FSub[E, M]<'G:1>(
  X: ['G, 'G+1] W,
  Y: ['G, 'G+1] W,
) -> (
  R: ['G+L, 'G+L+1] W,
) with {
  some W where W == E + M + 1;
  some L where L >= 0;
} { ... }

where subtraction has the same latency of an addition, only adding an inverter on Ys sign bit.
I propose being able to rewrite FSub's constraints on L as follows:
comp FSub[E, M]<'G:1>(
  X: ['G, 'G+1] W,
  Y: ['G, 'G+1] W,
) -> (
  R: ['G+L, 'G+L+1] W,
) with {
  some W where W == E + M + 1;
  some L where L == FAdd[E, M]::L;
} { ... }

Which will then allow us to place additions and subtractions in parallel without having to add assumptions or unused registers.

Is this issue the same as https://github.com/cucapra/filament/issues/406?


[BUG] Connection lost automatically when the robot is not in use for a while

Version information

RDK: v0.8
Robot software: v2.10.5
OS: Ubuntu 20.04 - x86_64

Describe the bug
The server automatically lost connection when the robot is not in use for a while. And it prints:
[2023-09-11 12:46:25.690] [info] ================================================
[2023-09-11 12:46:25.690] [info] ===              Flexiv RDK 0.8              ===
[2023-09-11 12:46:25.690] [info] ================================================
[2023-09-11 12:46:25.690] [info] [flexiv::Robot] Network service started [RT:99]
[2023-09-11 12:46:26.190] [info] [flexiv::Robot] Connection established
[2023-09-11 12:46:27.691] [warning] [Comm] Heartbeat service lost connection
[2023-09-11 12:46:31.191] [info] [flexiv::Robot] Network service closed
[2023-09-11 12:46:31.191] [info] >>>>> Flexiv RDK exited <<<<<
[2023-09-11 12:46:31.192] [error] [flexiv::Robot] Failed to obtain server version
Steps to reproduce

Start the robot
Run a program to move the robot
Quit the program
Wait for a while, usually 10 mins
Run another program to move the robot

Expected behavior
The robot will move according to the new program
Screenshots
Additional context
Add any other context about the problem here.

@acf986 Thanks for bringing up the issue to us. In the upcoming v0.9 release, this issue will be addressed.


Refactor: From extractAndClear .. inject approach to extract .. clearAndInject

Draft to explore refactoring the approached used on messaging instrumentation (1) where context is first extracted and cleared from headers to later inject if needed, to an approach (2) where context is extracted to later clear context form headers if needed to then inject.
Messaging instrumentation has mainly 2 features on consumer side: onConsume that under (1) it extracts and clear headers, start/finish on-consume span, and injects context. And nextSpan that under (2) it extracts and clear headers, and creates a span from extracted context.
Current effects of approach (1):

By clearing context after extracting we make sure context is not "leaked" and propagated downstream.

On on-consume feature we eventually inject context again, then this is not as critical.
On nextSpan feature this restrict users to have only one child from onConsume span as we remove headers. This (potentially) could restrict users on how to continue a trace. There could be scenarios where users do a batch of operations after a message is consumed, requiring multiple spans to be created from onConsume span.

Following approach (2) we can allow users to continue onConsume span multiple times.
A side-effect of approach (2) is to reduce impact on current JMS consumer implementation:

JMS consumed message properties (i.e. headers) need to be "resetted" before injecting context. This currently requires to cache non-context properties, reset all properties, and write non-context properties again. All these to inject context later. Under approach (1) we do the reset after extracting context, to at the end of instrumentation inject new context, impacting both features onConsume and nextSpan
With approach (2) we can move reset logic right before injecting. By doing this only onConsume we remove this overhead from nextSpan feature.

at the layer of abstraction of JMS, I wouldn't encourage changing things based on features not defined there. For example, a potential of a batch operation to change the common-course "nextSpan" logic where the behavior already in place might be relied on.
Instead, I'd suggest aiming more precisely, looking at the layer of abstraction where the use case discussed is defined, then decide how to address that, whether that's via a hook or an alternate approach.

PS one nice way to pickup whatever happens here is including a diff from here https://github.com/openzipkin/brave/blob/master/instrumentation/messaging/RATIONALE.md

https://github.com/openzipkin/brave/pull/1229 will drift this a bit

@adriancole as JMS issues are not there anymore, I'd argue this change is not required anymore:

breaking extract and clear into 2 steps was more of an enabler to solve ActiveMQ issue.
only extracting context and not cleaning in nextSpan was a nice side-effect as it removes one intermediate span when trying to reuse (e.g. for batching); but the same can be achieved by creating a span with nextSpan and use that one as root for batching.
as you mentioned, users might be relying on current nextSpan behavior.

I'm ok closing this if there's no additional comments :)

thanks for the feedback and follow up!
On Tue, Jul 7, 2020, 5:20 PM Jorge Esteban Quilcate Otoya <
<EMAIL_ADDRESS>wrote:

@adriancole https://github.com/adriancole as JMS issues are not there
anymore, I'd argue this change is not required anymore:

breaking extract and clear into 2 steps was more of an enabler to
solve ActiveMQ issue.
only extracting context and not cleaning in nextSpan was a nice
side-effect as it removes one intermediate span when trying to reuse (e.g.
for batching); but the same can be achieved by creating a span with
nextSpan and use that one as root for batching.
as you mentioned, users might be relying on current nextSpan
behavior.

I'm ok closing this if there's no additional comments :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openzipkin/brave/pull/1047#issuecomment-654718938,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAPVV7XHNHIUYARATN4OPTR2LSEXANCNFSM4JU3SCTQ
.


Homepage improvements

This pull request makes a variety of improvements to the homepage based on feedback I've been receiving from people that have seen it.
Notably:

A bunch of copy changes
Reorganizing the photos in "Meet the Hack Clubs"
Moving the workshops, resources, and supporters sections to their own "How It Works" page (which is currently incomplete and not linked to from anywhere).
Simplifying navbar

@LabLayers: can I have you take a glance at this? If you give me a LGTM, I'll go ahead and merge to make these changes live.

I'm actually just going to go ahead and merge this because we don't have any other full-time contributors to the website.
@LabLayers: I'm still very keen to hear your feedback, if you have any. Just comment on the PR and I'll make sure to keep up to date.

It makes sense to move a lot of the content to a separate page since the homepage was a bit lengthy - good call. :+1:

There may be a bit of confusion (or lack of information) on what Hack Club provides for clubs, which happens to be one of our major reasons for starting a club.
I suggest adding a link to the new page called "Our Resources" in the navbar and an extra FAQ item linking to that page

Other than that, I like the minor design and content changes.


Add PlotWidget.getItems

This PR adds a PlotWidget.getItems method which returns all items of the plot.
In the long term, this is a replacement for getAllCurves, getAllImage and any missing getAll* methods.
One can then filter out what he wants from the returned tuple.
Use case: PR #2112 add some methods to marker items, but there is no way from the public API to retrieve the marker items....

In case of filtering the result, an iterator should be better here no? That's now a common thing with Python3.

We can use an iterator indeed.


Cannot change font and background color

when I change these it will throw out this error but the .lnk file is actually there.

same to #13091


Form switch

Implement form switch

Changes 👷♀

Added functionality to switch forms

How to test 🧪

Go to protection tab
You should be able to switch between implemented adjust form and mocked cancel form (to be implemented in separate PR)

Definition of done ✔

[ ] Acceptance criteria for each issue met
[ ] Unit tests written where needed and passing
[ ] End-to-end tests for happy path
[ ] Documentation updated
[ ] Project builds without errors
[ ] Non-functional requirements met
[ ] Code reviewed and functionality tested by the reviewer (locally, Heroku, etc.)
[ ] Feature verified and accepted by Product Owner
[ ] Project deployed to production environment

Great job, especially appreciate moving card to "DefaultVaultLayout" where is it's rightful place (I've put it originally in a wrong place)

It's impossible to get it right in the first try ;)


How to pass extra parameters to Chatterbot's Statement object and get those parameters with get_response() method or get_response.serialize()

I am using Chatterbot's logical adapters to generate different responses including calls to external APIs such as weather and news. My problem is simple, I would like to pass an extra parameter to the Statement object when I am returning a response from a logical adapter. This extra parameter would be something like 'message_type' explaining the data returned as in message_type='weather_data'. To illustrate that, here is some code:
what I am doing now:
class WeatherAPIAdapter(LogicAdapter):

    def __init__(self, chatbot, **kwargs):
        super().__init__(chatbot, **kwargs)
        # varibales
    def can_process(self, statement):
        """
        Return true if the input statement contains
        'what' and 'is' and 'temperature'.
        """
        # verification code here
        return True

    def process(self, input_statement, additional_response_selection_parameters):
        from chatterbot.conversation import Statement
        weather_data = call_to_api()
        response_statement = Statement(
            text=weather_data
            )
        response_statement.confidence = 1.0
        return response_statement

what I need:
class WeatherAPIAdapter(LogicAdapter):

    def __init__(self, chatbot, **kwargs):
        super().__init__(chatbot, **kwargs)
        # varibales
    def can_process(self, statement):
        """
        Return true if the input statement contains
        'what' and 'is' and 'temperature'.
        """
        # verification code here
        return True

    def process(self, input_statement, additional_response_selection_parameters):
        from chatterbot.conversation import Statement
        weather_data = call_to_api()
        message_type = "weather_data"
        response_statement = Statement(
            text=weather_data,
            message_type=message_type
            )
        response_statement.confidence = 1.0
        return response_statement

and then be able to get the message_type using like the following:
message_type = bot.get_response(input_data).message_type
response = bot.get_response(input_data).text

or with the serialize() method:
data = bot.get_response(input_data).serialize()

Thank you very much for your help.

@gunthercox do you please think this is possible? Perhaps in future releases?


Does not compile on OSX - conda recipe

I tried to make a Conda recipe, it compiles well on Linux, but I got into trouble on OSX, see here: https://github.com/bioconda/bioconda-recipes/pull/20135 and here https://circleci.com/gh/bioconda/bioconda-recipes/93537?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-checks-link
Could you help?

@glesica Is there a plan/policy for macOS support? OpenMP makes things a bit tricky because the compiler that comes with macOS does not support it - you have to get a compiler via brew, conda, etc.
If the only other barrier is clock_gettime and related functions, it should be fairly easy to fix and I am looking into it now.

Tools using OpenMP compile on OSX with conda.  We use llvm-openmp for it.

I'm able to build it with GCC on a Mac. Installing OMP manually would be a another great option. We'll take a look at this before we do the 1.0.0 release.

It's easy to remove clock_gettime: https://github.com/TravisWheelerLab/NINJA/compare/cluster...jebrosen:cluster-no-gettime
It only appears in two places, neither important: TreeBuilderManager.cpp in the develop and cluster branches only - not in the avx branch - and not used by default anyway, and in ClusterManager.cpp where values are calculated but not used.

Did you have time to work on it?

Apologies for the slow response on this. We've been clearing the decks on other projects, and are now turning some attention to this. Hard to give any exact timeline, but expect to see movement here shortly.


where is private segment memory allocation for kernel load ?

Hi,
I did not found see the private segment memory allocation process in kernel.go?

AMD generally does not use private segment memory. If the kernel requires, AMD compiler will use registers. Do you have any specific example that allocates private memory?

AMD generally does not use private segment memory. If the kernel requires, AMD compiler will use registers. Do you have any specific example that allocates private memory?

I do not have an example.  But i think private memory is necessary ? the number of private variable can be greater than the number of reigster in GPU hardware ?

I actually do not know exactly how AMD handles private memory. If I were the designer, I have three choices.

Use register as private memory. If too many registers are needed, I can spill the register to either LDS or the global memory.
Use LDS as private memory. If there is no sufficient LDS, the kernel crash and returns an error code.
Use global memory as private memory. This is bad because accessing private memory is supposed to be fast, but it is actually slow.

MGPUSim really implements features whenever we see a need. So we will need to see concrete examples so that we can consider working on it. If you do not have an urgent need, is it OK to close the issue and reopen it when you encounter one?

OK, thank you for your answer.
I think option one is an general solution. When kenrnel has private memory allocated in global memory, I think they just provide a base address in code object and it will be pre loaded into scalar register before kernel starts. So the hardware can access private variable through explict private load instrucion.
By the way, thanks for open source MGPUSim, it is very helpfull to understand the GPGPU archicture

@bufans Thank you for your kind words. If you are interested, please consider joining our Akita/MGPUSim Community workshop on March 13. You can find more information here. https://sarchlab.org/akita/akita24


Added docs for AWS Secrets Manager Vault trait

Docs related to AWS Secrets Manager Vault for #3031

you're doing a great job lads


Draft responsive table guidance

What
Add guidance for the responsive table component to the design system.
Why
The responsive table component is being released in NHS.UK frontend v4.0.0.
Done when

[x] speak to @Fenwick17 regarding draft content
[x] add code example
[ ] display code example on the page - @AdamChrimes
[x] draft guidance
[ ] need to consider guidance for the research section
[ ] content review - @sarawilcox
[ ] peer review

@sarawilcox - example of the responsive table component
user: nhsuk
pass: tables

Content reviewed. A few changes made.

The code examples will get added and reviewed as a part of this issue 734


refactor: move example apps outside of packages

Description
Refactor to follow app/package structure we have used in multiple projects.
Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own changes
[x] I have run yarn lint to make sure my changes pass all tests
[x] I have run yarn test to make sure my changes pass all linters
[x] I have pulled the latest changes from the upstream main branch
[x] I have tested both the react and the CDN versions on local and integration environments
[x] I have added the necessary labels to this PR in case a new release needs to be published after merging into main (e.g. release and patch)

Contribution guidelines
For contribution guidelines, styleguide, and other helpful information please
see the CONTRIBUTING.md file in the root of this project.

:rocket: PR was released in v2.20.0 :rocket:


Remove non add-on names from addonNames list in Addons Registry. Up…

…date the list in the addonsInfo for the addons loader as well.

@tiberiuichim a bit puzzled now, the tests should have failed long long ago, when I introduced the version...


Fix fluentgem td agent2

fixed rspec tests for the new sort_by in the template.
We need to because we are still in a RHEL6/ruby 1.8.3 environment where accessing the ruby hash is random without any sort.

I have a manheim branch running in my fork that incorporates:

PR #40
PR #41
PR #53
PR #54
some additional rspec test fixes.

I currently have that tagged as pr40,41,53,54_and_spec_fixes. Feel free to use if you wish.


Add OSDF Institution Count Metric Collection

This PR implements a metric for tracking the number of participating institutions in OSDF mode. It includes:

A goroutine that periodically collects and updates the institution count metric.
Support for fetching institutions from both configuration values and a URL.
Integration with Prometheus to expose the metric as pelican_osdf_institution_count.

This PR addresses the issue #1424

@patrickbrophy can you please link the issue this PR can close? so that we can keep track of the development metrics


Docs Adjustments

Adjust the docs script to use redis vars for the 'default_version'. This will let us update these docs once more and from then on we can adjust the current version via redis instead of modifying the script directly when new versions come out.

@machuga can someone setup a var on the server and let me know what that var is named, and I will update the script.
should be set to 5.1 atm.

It's just a file store. We can prob just tell the brain to remember it and pull from there?

Yea that would work.

I will put this feature into place shortly, since the brain is way easier to deal with than originally expected.
Main concern is our issue with google search, I am afraid we have to change search engines.

Either that or the server, tough to say without knowing if there are
errors, or what response the bot is getting from Google.
Could you get an account created on the liona server to let you test
from that IP, in case of captcha etc? It's known to work other places,
just a matter of figuring out why it doesn't work here =\
On 29/03/16 05:29, lagbox wrote:

I will put this feature into place shortly, since the brain is way
easier to deal with than originally expected.
Main concern is our issue with google search, I am afraid we have to
change search engines.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/laravelio/LioBot/issues/54#issuecomment-202703911

I have made the target version dynamic by using the brain.
Also have added the ability to switch out google for bing on demand.


Add gzip fallback

Closes #9
Adds gzip_fallback argument to compress with gzip when br is not in the Accept-Encoding headers.

Great job @kylebarron . Thanks a lot for your contribution.
One last thing, may you just update de README file to reflect the new changes?

I modified the README to document the new gzip_fallback argument. I also changed brotli-middleware to brotli-asgi in the README since on PyPI brotli-asgi is newer than brotli-middleware (should also resolve #8).

Thanks! Would you be interested in pushing a new release to PyPI?

Great. Thanks for it. I will soon update as well the pip repo version.


Sensu website issue

I did not know where else to post it, so here it goes.
Sensu Packages page [http://sensuapp.org/docs/0.16/packages] contains the link to packages:
"http://repos.sensuapp.org/index.html" link however points to "http://repos.sensuapp.org", which displays an XML file.

Closing due to inactivity, and because I'm pretty sure we resolved this issue ages ago. Please feel free to create a new issue if this matter is not resolved. #monitoringlove


Video supported setup

Hello, although I try to install it using translation, unfortunately I'm stuck somewhere. Everyone works very well if you publish a video-supported setup so that users can setup more easily.

@Redalii Yes I can but now I don't have time.


hibernateEmailValidator: also return 'true' for NaN input

Ran into this in our project, where the input was NaN at some time.

I think this should only happen if you have an input of type number as your e-mail input field. Which actually does not make sense at all. :) Can you give some details about how you got NaN there?

Thanks for your reply!
Agreed on the type="number" ;-). In our case, the type="email" (hardcoded), so that shouldn't be the cause.
The problem does not occur when we directly open the URL where the form is located(http://localhost:8000/ui/#/user/register).
The problem only happens when we switch from another state to the state with the form (i.e., browse to http://localhost:8000/ui/#/user/login and click 'create user', which navigates to http://localhost:8000/ui/#/user/register).
We're using Angular, angular-ui-router, TypeScript and valdr. I saw it happen both in Chrome and Firefox.
Any ideas?

Any updates on this?

@philippd I'd like to close this as we seem to agree that number types for email input fields is not a legit use case. The real issue appears to be unrelated to valdr and should be handled as a support request. Agree?

Go ahead Marcel, the value should never become NaN and if it does, the cause lies somewhere else.


"Resource temporarily unavailable" while trying to update

user@rpki:~$ routinator -x local_exp_total.json update
Failed to open store database at /home/user/.rpki-cache/repository/store: could not acquire lock on "/home/user/.rpki-cache/repository/store/db": Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }
Is there another Routinator running?
Fatal error. Exiting.
running 0.9.0-rc2

This happens if there currently is another Routinator instance running. Do you perchance have a Routinator server running in the background?
On a side note: local exceptions are not considered by the update command as it only updates the local copy of the repository but doesn’t produce any output – which is when the local exceptions are applied.

Thanks Martin,
I'm still learning how to use this tool. Just going with how other
colleagues were using it. I basically testing rpki and want to simulate
changes in the database.
So I first run with routinator -x localexp --rtr ip --http ip
then make changes to localexp file and run the update. Which is when I get
the exception that routinator is already running. Using older version
(0.7.1) works or the git master 0.10.0. But when I do it with 0.9.0 I get
error. What would be the way to simulate what I'm trying to do?
Alex
On Mon., Jul. 26, 2021, 6:08 a.m. Martin Hoffmann, @.***>
wrote:

This happens if there currently is another Routinator instance running. Do
you perchance have a Routinator server running in the background?
On a side note: local exceptions are not considered by the update command
as it only updates the local copy of the repository but doesn’t produce any
output – which is when the local exceptions are applied.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NLnetLabs/routinator/issues/623#issuecomment-886563044,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADC65FEKAWAIAK3P4SE2523TZUXYLANCNFSM5A4X4RQQ
.

So if I want routinator to send updates manually how would I accomplish this?

Apologies, I somehow missed the question at the end of your response.
The local exceptions aren’t entered into the “database,” rather are considered every time Routinator produces a new data set. Thus, if you are running routinator server where this is done periodically, you can just change your files, wait for a new validation run to happen (you can set the time via the --refresh command) and then look at the output after. Alternatively, on the command line you can just run routinator vrps which does a single validation run and therefore uses the current local exceptions. The latter is probably better if you are testing your setup as it will error out before a validation run if your files are broken somehow. In the server, it will also not validate, but you will have to look at the logs to find that out.

Ok so for example I'm trying to simulate RPKI server sending updates with announced and withdraw prefixes.  In the local file I put say 10 prefixes.  I see those 10 prefixes sent from RPKI server to my client.  I then make changes to the file, so add or remove prefixes and run routinator vrps, I don't need to use the -x or knows which file I used?  Sorry if I sound ignorant, I just want to be able to simulate the server sending updates to my client, and instead of waiting for changes to occur on one of the anchors I want to manually do it.

You will always have to provide the SLURM file(s) to use via the -x argument.
What I meant was that if you run the server command, you don’t need to restart Routinator to pick up your changes to the file(s). It will re-read the files every time it does a validation run.

Ok Gotcha thanks.


Panel unstyled

Hi,
When using boostrap panels of class e.g. panel-info, the panel header gets the default colour, not the Paper colour
e.g.

A Title

A body

A footer

@FirstWarden thank you for the information. It seems we've missed the creation the style for the colored panels. We've noted it and we will add the colors for the panels in the next update.
Best,
Alex


Content script should filter video

[x] disable autoplay
[x] apply grayscale filter
[x] mute by default

controlling audio levels at video element level was unreliable - opted for ham-fisted tab muting via background script instead


Clear Utilities section

There are a lot of apps in utility section. Need to create new categories and move some applications there.

I can start sorting through these some time soon.