Consider Symbol.cancelSignal as a cross-platform protocol to support cancellation.

At the last TC39 meeting there were two main points of contention around the previous cancellation proposal:

The Cancellation API, as proposed, is not compatible with the cancellation mechanism specified by WHATWG
There is no syntactic abstraction over cancellation

One possible approach is to leverage a mechanism similar to iteration, by establishing a well-defined protocol that indicates support for the minimum capabilities of cancellation. As such, I propose the following minimal cancellation protocol:
interface Signal {
  signaled: boolean;
  advise(cb: Function): void;
  unadvise(cb: Function): void;
}

interface Cancelable {
  [Symbol.cancelSignal](): Signal;
}

The Signal and Cancelable interfaces above do not represent runtime values, but rather the shape of the protocol. This is similar to the relationship between an Iterable object (e.g. an object that has a [Symbol.iterator] method), and an Iterator object (e.g. an object that has, at the very least, a next() method).
Defining a standard protocol allows WHATWG to continue along its current course of innovating new types of controllers and signals, while at the same time allowing TC39 to establish a core set of primitives. This gives WHATWG the ability to special-case the handling of advanced features, such as progress notifications, while at the same time maintaining a minimal protocol for basic cancellation needs.
Defining a standard protocol also allows for the possibility of a future syntax that could leverage this well defined protocol.
edit: Updated the API above to use less divisive terminology, per https://github.com/tc39/proposal-cancellation/issues/16#issuecomment-328943800
edit: Removed Source from the api as it does not directly contribute to the discussion

// CC: @bterlson, @domenic, @wycats

As discussed, Chrome is not interested in supporting two separate mechanisms, one from TC39 and one for the web. A protocol for adapting between two incompatible APIs is explicitly not what we agreed upon; we need public API compatibility. I thought we were fairly clear on this.

@domenic I'm considering additional avenues, and this is one of them. I've removed the shim example above as it may be controversial and might derail this discussion. While I appreciate your position about API compatibility, I would at appreciate a more thorough discussion about the approach:

What are the benefits and limitations of this approach?
Is there a better shape for the protocol?
Does this align with existing principals of ECMAScript?

In the end we may not use this approach, but TC39's advancement of Cancellation to Stage 1 was under the condition that we investigate the problem domain. I would appreciate an open mind.

What does TC39 have against the AbortController API? I'm assuming that that is what @domenic  is referring to.
It appears to get the same job done as this proposal, but with a more DOM-y naming convention for the interfaces.

@RangerMauve, the issue is not with naming. We are exploring alternatives to find a consensus API that does not necessarily depend on ECMAScript natively adopting DOM events, but still meets the needs of DOM. It may be that TC39 will need to consider DOM events (or possibly a paired-down implementation) first, but its worthwhile to consider other options.
A native event system is a whole other complex topic I'd rather not discuss in this topic, to keep the topic focused.

I suppose even the terminology above is divisive. As such, perhaps we should consider a more abstract definition:
interface Source {
  signal: Signal;
  set(): void;
}
interface Signal {
  isSet: boolean;
  advise(cb: Function): void;
  unadvise(cb: Function): void;
}

Maybe someone from the fetch issue could weigh in on this?
It seems that the issue is that AbortController is dealing with an EventTarget for registering callbacks instead of functions that take callbacks.
I really doubt that TC39 will add DOM events to the spec, so there's really no way of adding the same interface to the language.
@domenic Saying that Chrome won't want to implement two types of cancellation, and the DOM answer to cancellation not being viable for JS really points to this effort being useless unless either the WHATWG decouple their spec from EventTarget, or Chrome starts being OK with the two ways to do the same thing (one of them only being used in the DOM)

My main concern about both DOM EventTarget and NodeJS EventEmitter is that there is no nominal definition of a specific event in either system. In both systems, events are de rigueur: While I can know that document.addEventListener("load", cb) will invoke cb when the document loads, I can't be certain that foreignObject.addEventListener("load", cb) will ever actually be raised. I have no contract guarantee that foreginObject supports the "load content and raise event" protocol. This can be somewhat mitigated in the DOM as it has a standard Event API, but things are worse with EventEmitter because event arguments are arbitrary.
On the other hand, symbols provide a nominal identifier for an established protocol. Consider Symbol.iterator: If an object has a Symbol.iterator method, then the runtime will treat the object as iterable. Here, Symbol.iterator indicates the object supports the iteration protocol.
Taking that one step further: If we had, say, a Symbol.cancelSignal that indicates an object supports the "cancellation signal protocol", then an object with a Symbol.cancelSignal method is expected to return a Signal primitive that the runtime understands. Symbol.cancelSignal is nominal, its presence on the object indicates it supports the protocol, while its lack indicates it does not support the protocol. This would then allow both native and host APIs a way to guard against invalid arguments and opens up the possibility of future syntactic sugar around cancellation that some on TC39 would prefer.

I'm not trying to propose "two ways to do the same thing", but rather "one way to do cancellation that is easily built upon in any environment". @domenic has already indicated that DOM wants to support other kinds of Signals and other kinds of Controllers. In my opinion, this design meshes well with that approach rather than takes away from it.
Just as every iterator need not be an ArrayIterator to be used in for..of, neither does every cancellation signal need to be AbortSignal or CancellationToken, etc. In this way implementers and the development community can augment and extend built in functionality and remain interoperable.

So what's the main argument for using a new Signal type instead of the existing Observable?

There isn't a specific one. We previously opted to not tie cancellation to Observable as there are still concerns in that proposal that are blocking its advancement. The initial api design I proposed in this issue used subscribe(cb: Function): { unsubscribe(): void; } which is actually fairly consistent with observable's API with respect to subscriptions.

In terms of fetch cancelation I defer to @domenic.
Abortable fetch is a long-awaited feature that's already seen years of delay. We have two implementations (Edge, Firefox) nearing completion, and I'm not particularly interested in throwing that away and subjecting developers to further delay. Especially as that delay may, once again, leave us no closer to shipping abortable fetch.

Looks like AbortController doesn't support cancellation graph (which is very useful in some scenarios). Is it right?

Correct. It may be added later, but in the meantime you can use events:
const controller = new AbortController();
otherSignal.addEventListener('abort', () => controller.abort());

@jakearchibald what is the delay you refer to? I believe the idea here is to find a suitable primitive for inclusion in ECMAScript that is compatible with existing functionality like AC/AS.

@bterlson we were originally blocked on cancellable promises.

And then on cancel tokens after that. The important thing here is the capability to abort a fetch and not the particular sugar. People can't both abort a request before the headers arrived and read a chunk from the response right now and that's a pain for years.
Can we please just stick with AbortController? Fetch is meant to be an API for exposing capabilities.

@jakearchibald, the reason I filed this issue is to investigate the feasibility of a cancellation mechanism that doesn't block or delay AbortController. Defining a protocol for cancellation, just as we have a protocol for iteration, allows it to be added to existing host objects just as iteration was added to NodeList, etc.

I agree with @rbuckton that alternatives should be explored. Sorry, but I'm just going to say what I think here: it would be insane to spec addEventListener in ECMA262. I'm not sure why the Chrome team would have any more say than any other group of stakeholders.

To expand a bit, adding DOM-compatible addEventListener as a language primitive does not make a whole lot of sense. Particularly so, since we've already gone through the exercise of designing a true push-notification primitive for JS (i.e. Observable).

What does TC39 have against the AbortController API? I'm assuming that that is what @domenic is referring to.

I defer to both @jakearchibald and @domenic here but that was actually the one fetch meeting I was in.
When we decided on an AbortController like API in the meeting we explicitly said we don't care about the API specifics and that we just needed the capability, something like AbortController was the most straightforward way to add cancellation as a capability to fetch (which is again, a low level API that enables capabilities XHR doesn't have).
I don't think AbortController should be our model for a cancellation API for the language in general - although it's "as powerful" as other token-based APIs.

@jakearchibald

 const controller = new AbortController();
 otherSignal.addEventListener('abort', () => controller.abort());

Correct me if I'm wrong, but this has the flaw that if otherSignal is already aborted, nothing will be propogated to signal, correct?

In an attempt to reframe this discussion, I am closing this issue and reopening it with a (hopefully) clearer set of goals and semantics in #22.


Determination Message Template

User Story
When I send a determination for approved/dissmissed/need more info I would like to have prepopulated text on determination forms. When creating a Fund/Lab these templates would be available to me in the WagTail Admin. Related to #2440
Proposed Solution
Set the templates for approved/dissmissed/need more info on each fund

When creating a Fund, I am unable to select determination templates I need

related https://github.com/HyphaApp/hypha/issues/2042
Good to have
Staff can upload attachments to a determination

Internal Approval Process

[ ] @OpenTechFund/design to add designs to issue
[ ] @OpenTechFund/devs to review designs for implementation
[ ] Di to help organise testing/feedback session with OTF users
[ ] @OpenTechFund/design do testing/feedback session with OTF users
[ ] OTF to sign-off
[ ] @OpenTechFund/design to make sure most up to date designs designs are attached to issue

Determination messages are implemented as wagtail setting, based on the outcomes we can set-up three different messages for various submission workflows.
This means we need to populate the message box when outcome is selected while adding determination.

In the standup we discussed creating as many message templates and then having an option to select one while adding determination. And then populate message box based on the selected template.

When creating a Fund, I am unable to select determination templates I need

In the issue description @di mentioned, we need a way to select determination templates while creating funds.
@frjo, these are three different implementations and the first one looks more promising to me..what do you think?

@sks444 let's go with the first option that looks most promising to you.
Users no longer require unlimited templates, they prefer to select from a narrow list of templates and make adjustments/edits when necessary.

On May 10 standup we discussed replacing the old hard code forms with new streamfield forms.

@fourthletter  @frjo @sks444  Currently, the old hard code forms are getting used as backup forms.
I noticed in my local that sometimes the determination form is attached to funds but it is not attached to its respective round and in that case, our old hard code form is getting rendered.
So, I think first we should remove the usage of old hard code forms and force/guide users to add a streamfield form to round via fund then we can remove the old forms' code as well.
And I think it should be a separate issue to remove old hard code forms. As determination message template for streamField form is fixed in #2844 and also does not create any issues with old forms.

When a new Fund or Lab is set up the determination forms are required so it is not possible to use the old hard coded forms on them. Just as we want.

And the round is supposed to copy the determination form from funds.  So it's shouldn't be the case the that a fund has the determination form but round doesn't. @sandeepsajan0 can you check on why this is happening?

Yes, @frjo and @sks444 you both are right. Actually, It was an issue with my local.
It was an older/existing round using an existing fund that doesn't have a determination form attached at the time of round creation. And maybe later, I edited the fund and attached the determination form to it but didn't change/update the round. That's why the determination form is attached to the fund but not to the round. It is a kind of edge case.
For the new funds or new rounds, it is working just fine.

On May 12 standup we discussed:
In the Determination Message Settings, there are currently options for two workflows: 1) Request (one stage) and 2) 2-Stage (concept note and proposal).
The approach we are choosing is to use Request for RequestComm and RequestExt. This would minimize the admin burden for maintaining these templates within WagTail, and streamline pre-populated templates/messages options for program managers.

Thank you! Works like a charm 🥇


fix r11s driver issue

fix #9163
Fix hang in r11s driver caused by response.clone()

please do check this minimal test in eventually. regression tests like this are usually great bug finders, as if something breaks once, it's more likely to break again

#9164
Looks like the issue was that response.clone() will hang if the response is too big

#9163

Curious, why did it hang?

Thanks for this fix, @wes-carlson!

@wes-carlson we're seeing this problem coming up for FRS. Are you able to push this past the finish line or can/should I take over to help get it there?

@znewton feel free to reassign #9163 if the fix is not right


EID-2020: Sweden prod proxy node smoke

Currently Sweden has an integration smoke test which use the same steps.
Named the first step 'SwedenProduction' as that is the easiest way to determine them apart.
It uses the same steps following that as the integration journey, it just uses a different url.
This feature can be tested locally by:

updating the run-tests.sh on line 80 to point at features/smoke/production
and then run the run-tests.sh script (use the run-tests.sh -c to run using chrome, this avoids selenium errors for me)

Subsequent PR in verify-terraform: https://github.com/alphagov/verify-terraform/pull/1340
https://govukverify.atlassian.net/browse/EID-2020

There may be a nicer way to determine the different URL's, but this is the easiest/simplest way I initially thought of


[FEATURE] Add commit offset test for Kafka clients of different versions

Fixes #681 #687
Motivation
#605 added a test framework for Kafka clients of different versions. However, it only added the basic e2e test, an important API commitOffset was not verified.
Modifications
Add commit offset test in BasicEndToEndPulsarTest and BasicEndToEndKafkaTest in io.streamnative.pulsar.handlers.kop.compatibility package.
This feature belongs to the compatibility issue between different versions of kafka client and kop.

@BewareMyPower Please help review this pr. In this pr, I lifted the restriction of Fetch ApiVersion=4. In fact, according to my investigation, the client version of kafka-<IP_ADDRESS> will still issue apiversion=2 even when the server returns Fetch ApiVersion=4. The Fetch request to the broker. Review this pr also need to read this issue #687

The failed test not related to this pr.  see #683

Overall LGTM, just leave one comment.


Wrong processing

Hello! Thanks  for the interesting application.
I executed your app several times ( Inpaint and InpaintWinForms ) and I couldn't get a result like in your screenshot.
The output file is much worse quality than your.

What's wrong?
The last commit I use is a75d652
Thank you!

I've got the result using Inpaint sample with some adjustments of settings (amount of iterations, etc). Inpaint sample saves each intermediate result to the disk with the file name pattern "r{levelIndex}_{IterationIndex}.png" and the best result was the first iteration of the last level.


Problem with station

So I've started a new world for testing, build a simple station, sent it into space, and the station id chips says it's station 1.
Then I made a rocket to go to the station, but when I tries to lift off, it says something like the destination is not valid.
Then I've used the command /advancedRocketry goto station 1, nothing is there.
When I type /advancedRocketry goto station 2, I found my station.
Something must be broken...

This is a 1.7.10 build, correct?

yep

Likely related to #556 and the 'patch' for #567


More then one page displayed in the presentation mode

Attach (recommended) or Link to PDF file here:
example-horizontal.pdf
Configuration:

Web browser and its version: Firefox 67, Chrome 75
Operating system and its version: Windows 10
PDF.js version: 2.1.266
Is a browser extension: no

Steps to reproduce the problem:

Open a PDF with horizontal pages on the portrait orientated display.
You can see one, two or even more pages at the same time, depends on the dimensions of the pages and the display.
The problem is caused by the page separation which is done just by the simple margin-bottom: 100%; assigned to the .page elements. But the 100% is computed from the PDF page width, not from the height of the display. So when the sum of the PDF page width and height is greater than the height of the display, this error occurs.

What is the expected behavior? (add screenshot)
To display only one PDF page in the presentation mode.
What went wrong? (add screenshot)
Note the next page header displayed on the bottom of the following screenshot.

This problem might be related to #10906. If the vertical centering is done correctly, this problem would disappear.


Ensure full blocks are not generated as part of vote-by-hash

This fixes #1089

We should also do what my commit intended: compute the election winner each round.


feature: add event government

Describe what this PR does / why we need it
Feature: add event government
Does this pull request fix one issue?

https://github.com/opensergo/opensergo-specification/issues/62

https://github.com/opensergo/opensergo-specification/issues/71

Describe how you did it

define crd models
define proto models

Describe how to verify it
Special notes for reviews

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


Panic on edns

Hey,
These days i received panic from dns servers. I checked debug logs and i found the problem.
The Log:
panic: runtime error: index out of range
The Line:
https://github.com/miekg/dns/blob/master/msg.go#L605
Thanks.

[ Quoting<EMAIL_ADDRESS>in "[miekg/dns] Panic on edns (#351)..." ]

Hey,
These days i received panic from dns servers. I checked debug logs and i found the problem.
The Log:
panic: runtime error: index out of range
The Line:
https://github.com/miekg/dns/blob/master/msg.go#L605
Thanks.

Yep, length check failing. Do you have a packet that triggers this (for the
test).
/Miek
--
Miek Gieben

Miek,
I dont have the packet but I think came from google public dns servers. I received heavy dns request from them. They are using EDNS opt.


fix(cli): proper defaults for dump

fixes this error; Error: output-file cannot be specified with --all-workspace flag
when using deck dump --all-workspaces.

Codecov Report
Attention: 18 lines in your changes are missing coverage. Please review.

Comparison is base (b3ccdd5) 32.87% compared to head (d28b95c) 32.86%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1094      +/-   ##
==========================================
- Coverage   32.87%   32.86%   -0.01%
==========================================
  Files         103      103
  Lines       12850    12853       +3
==========================================
  Hits         4224     4224
- Misses       8217     8220       +3
  Partials      409      409

Files
Coverage Δ

cmd/gateway_dump.go
0.00% <0.00%> (ø)

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


reviewing

reviewing https://github.com/ahangarha/Portfolio/pull/8 :
you realy did a great work 👏 . everything is great just one thing I can suggest that to make no scrollng when you oprn the mobile menu.

@ahangarha Nice work , 👌🐱💻Your menu drawer is better and more professional as per design. I think making one more change to the scroll ability, when the menu is open will push your site to the next level. 🐱🏍

Thank you my dear friends. I don't know why we  missed this scrolling issue and I am happy you noticed it in peer review session. Will work on it.
Have a good day

We just fixed this issue in today's task.


Choices renders HTML Invalid code

Describe the bug
When rendering a simple input field with Choices.js it generates multiple HTML validation errors.
To Reproduce
Steps to reproduce the behavior:

Add a simple input field. <input type='text' class='js-choice' />
Add the provided JS code from the documentation.

  const element = document.querySelector('.js-choice');
  const choices = new Choices(element);

Go to the browser and copy all the rendered HTML code and paste it on this website.

Screenshots

Desktop:

OS: MacOS Monterey
Browser: Chrome
Choices.js: "^10.1.0"

Thanks for flagging this. Happy to review a PR for this!


Yarn mappings for 24w33a and 24w34a behaving strangely. FabricLoader misinterpreting them and crashing on builds.

The newest mappings conflict with Fabric Modloader's mixins, causing crashes. I've made sure to double check my mappings, my fabric version, my gradle files, everything is up to spec.
Note that this only started occurring with version 23w33a build 1, but has been persistent since.
To reproduce, fork the fabric example mod, modify the gradle.properties file to the current settings:
minecraft_version=24w34a
yarn_mappings=24w34a+build.4
loader_version=0.16.2
fabric_version=0.102.0+1.21
Then, update your gradle, and run the following commands;
.\gradlew migrateMappings --mappings "24w34a+build.4"
.\gradlew genSources
Finally, try building and running. You should get the following errors, which will crash Fabric:

[13:42:57] [main/WARN] (FabricLoader/Mixin) Error loading class: net/minecraft/class_9175 (java.lang.ClassNotFoundException: net/minecraft/class_9175)
[13:42:57] [main/WARN] (FabricLoader/Mixin) @Mixin target net.minecraft.class_9175 was not found fabric-lifecycle-events-v1.client.mixins.json:ClientTagLoaderMixin from mod fabric-lifecycle-events-v1
[13:42:57] [main/WARN] (FabricLoader/Mixin) Error loading class: net/minecraft/class_3505 (java.lang.ClassNotFoundException: net/minecraft/class_3505)
[13:42:57] [main/WARN] (FabricLoader/Mixin) @Mixin target net.minecraft.class_3505 was not found fabric-resource-conditions-api-v1.mixins.json:TagManagerLoaderMixin from mod fabric-resource-conditions-api-v1
[13:42:57] [main/WARN] (FabricLoader/Mixin) Error loading class: net/minecraft/class_3505 (java.lang.ClassNotFoundException: net/minecraft/class_3505)
[13:42:57] [main/WARN] (FabricLoader/Mixin) @Mixin target net.minecraft.class_3505 was not found fabric-resource-loader-v0.mixins.json:KeyedResourceReloadListenerMixin from mod fabric-resource-loader-v0
[13:42:58] [main/WARN] (FabricLoader/Mixin) Error loading class: net/minecraft/class_2591$class_2592 (java.lang.ClassNotFoundException: net/minecraft/class_2591$class_2592)
[13:42:58] [main/WARN] (FabricLoader/Mixin) @Mixin target net.minecraft.class_2591$class_2592 was not found fabric-object-builder-v1.mixins.json:BlockEntityTypeBuilderMixin from mod fabric-object-builder-api-v1
[13:42:58] [main/WARN] (FabricLoader/Mixin) Error loading class: net/minecraft/class_5944$1 (java.lang.ClassNotFoundException: net/minecraft/class_5944$1)
[13:42:58] [main/WARN] (FabricLoader/Mixin) @Mixin target net/minecraft/class_5944$1 was not found fabric-rendering-v1.mixins.json:shader.ShaderProgramImportProcessorMixin from mod fabric-rendering-v1
[13:42:58] [main/WARN] (FabricLoader/Mixin) Error loading class: net/minecraft/class_9824$class_7777 (java.lang.ClassNotFoundException: net/minecraft/class_9824$class_7777)
[13:42:58] [main/WARN] (FabricLoader/Mixin) Error loading class: net/minecraft/class_9824$class_7777 (java.lang.ClassNotFoundException: net/minecraft/class_9824$class_7777)
[13:42:58] [main/WARN] (FabricLoader/Mixin) Error loading class: net/minecraft/class_9383$class_9384 (java.lang.ClassNotFoundException: net/minecraft/class_9383$class_9384)
[13:42:58] [main/WARN] (FabricLoader/Mixin) Error loading class: net/minecraft/class_3505 (java.lang.ClassNotFoundException: net/minecraft/class_3505)
[13:42:58] [main/WARN] (FabricLoader/Mixin) Error loading class: net/minecraft/class_3505 (java.lang.ClassNotFoundException: net/minecraft/class_3505)
[13:42:58] [main/WARN] (FabricLoader/Mixin) Error loading class: net/minecraft/class_281$class_282 (java.lang.ClassNotFoundException: net/minecraft/class_281$class_282)
[13:43:02] [main/ERROR] (FabricLoader/Mixin) Mixin apply for mod fabric-entity-events-v1 failed fabric-entity-events-v1.mixins.json:EntityMixin from mod fabric-entity-events-v1 -> net.minecraft.entity.Entity: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Critical injection failure: @Inject annotation on afterEntityTeleportedToWorld could not find any targets matching 'Lnet/minecraft/entity/Entity;method_48105(Lnet/minecraft/server/world/ServerWorld;DDDLjava/util/Set;FF)Z' in net/minecraft/entity/Entity. Using refmap fabric-entity-events-v1-refmap.json [INJECT_PREPARE Applicator Phase -> fabric-entity-events-v1.mixins.json:EntityMixin from mod fabric-entity-events-v1 -> Prepare Injections -> handler$zhk000$fabric-entity-events-v1$afterEntityTeleportedToWorld(Lnet/minecraft/server/world/ServerWorld;DDDLjava/util/Set;FFLorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;FLnet/minecraft/entity/Entity;)V -> Parse ->  -> Validate Targets]

You are using the wrong version of Fabric API.


[feature] Support Python SDK on MacOS

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug
/kind feature

What happened:
/cc @ZhuYuJin
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:

https://www.python.org/dev/peps/pep-0425/

/assign ZhuYuJin


Expect.notEqual might have issues in dotnet

does not fail

Solved! Should be fixed now. Also added tests


Change collection signature

This PR changes the new collection's function signature:
before
var page = create({
  users: collection({
    scope: 'table tr'
  })
});

after
var page = create({
  users1: collection('table tr'),

  users2: collection('table tr', {
    text: text()
  })
});

The main reason for this is that we don't have an easy way to distinguish uses of the legacy collection API from the new collection API.
This PR also renders a warning for missing itemScope property in legacy collection API.

@ro0gr @magistrula @pzuraq let me know your thoughts about this change. Or alternatives to it.

Coverage increased (+0.006%) to 98.634% when pulling 9b11462a5842b9ed26cc0f6df3b73d01730bda5a on change-collection-signature into 3fc7b7959b2eed22c289252d17ca85e902c2c71b on master.


Charging more then expected on Magic Eden

A concerned user is rather convinced the over charge on magic eden is a bug specific to Hiro because they do not see the overcharge on other wallets.
https://github.com/hirosystems/wallet/issues/3700
I have trouble understanding the input outputs, why so many (small ones) and I see CPFP’s again and overcharged fees too:
probably pending/returning sats? https://github.com/hirosystems/wallet/issues/3753#issuecomment-1564994621
Inputs and outputs on confirm screen. Should the wallet show a review page first that shows net bitcoin balance change?
Another user saw this before confirming

The concerned user uses this taproot and native segwit:
bc1p4u7kt22yww66y0pqjcz7z70qr6wa9gcgchxlsx4z66v67l8md4lsfk8sme (ordinals)
bc1qzl5xt45gazvj2j4su2xdm5tftqkckgst5hhald (also has stamps)
This transaction was for a marketplace buy:
They bought nft for 0.00095071 and paid 0.00170782 in the total.
https://mempool.space/tx/be16e2e2699dbed2522c4252a77222fc4afc17ab8c786e119b27c0ec2f891152
Similar transaction: https://mempool.space/tx/9a6aa048e672c3fd62027b8e3beb4071958b7c0af55a2fce6edbceaa059f336c
Further transaction history for the account here… https://magiceden.io/ordinals/wallet?walletAddress=bc1p4u7kt22yww66y0pqjcz7z70qr6wa9gcgchxlsx4z66v67l8md4lsfk8sme says it has been like this for a week. And they did not realize it earlier.
What are those small utxo’s input —> output?
A third user mentioned creating this transaction 2 weeks ago which spend about 100$ in fees where 14 times less would have sufficed based on current average network fees at the time. https://mempool.space/tx/768501fb4f5bb1dbff1e565223f11c2fe4d9e901571b5275f2ed48aece44084c

It seems we need to show fees in the UI to prevent users from getting caught from higher-than-expected (fee and overall) amounts here

Even if we display the fee for the user, we aren't controlling it. Magic Eden sends us the PSBT, we just sign the inputs. We don't determine the fee here. The user can simply check the advanced view to see the inputs/outputs of the PSBT we receive from ME.

+1 custom fees aren't appropriate here. If I understand correctly, depending on sighash type, you may or may not be able to adjust fee if yours is the last UTXO, but apps wouldn't want to let you do that as it might change the transaction in unintended ways.

In this case the user has issue with the transaction even without knowing what the fees are.
They expect a 25$ worth of value to be send where the input/outputs being reviewed actually result in a 125$ withdrawal from their account.
Showing a bottom line is what the user is after instead of determining what they are signing by going over every input and output individually, which is a good idea. They want confirmation they are interpreting the data correctly.
Something like:
If you sign this
Total (expected) bitcoin balance change in your account = minus 0.0141 BTC
I don't think it matters what (part of an) input is used to cover fees if the user is more confident about the total amount.

Unless it's easy to separate fees in the current UX and display them specifically on their own, we may need to tackle this underlying need with https://github.com/hirosystems/wallet/issues/3849


Running a describe skips all the tests

Let's take this example:
describe('test1', () => {
    it('should run this test', () => {
      expect(true).toBe(true);
    });
});

If I place my cursor on "test1", the describe statement, and run jest, it will run with -t '^test1$' which I think is wrong since it doesnt match any test, because of the $. No tests are ending with "test1". Maybe you should only add the $ when the cursor is on a specific test and not on a describe.

Yes i thought about this. There ist still the option that you Highlight the text an click. Then it would not do the exact match. But maybe i could still improve this

Running a describe block with my keyboard shortcut was a big part of my workflow so I'm sad to see this gone :(
Could something be done to treat a line that includes describe differently to a line that starts with it or test?
I've rolled back to 0.4.2 to get this functionality back for the time being.

@andypearson just note that you can still highlight/mark the text inside the describe and it will run describe correctly in 0.4.9.
i will fix this asap


Add basic stylesheet support

This adds very basic support for subreddit stylesheets. I didn't add POST support for stylesheets in this commit, because the only kind of response one gets from /api/subreddit_stylesheet is meant for parsing with reddit's handleResponse function and it's kinda awkward to parse right now.
This allows grabbing the source of a subreddit's stylesheet (html entities unencoded) and its images.

:fish: thanks!


Padding needed?

Hello!
Thank you for work on this project! It works great!
Nevertheless, I do have a question about the code: Is padding really needed?
I've run some tests with or without padding and I got the same result. In both case, it works really fine. Therefore, what's the danger to encrypt without using any padding methods?
Thank you for your response.
Leo

Hi @Granyy and thanks for the kind words :)
What kind of padding are you referring to? Value-wise or size-wise?
If you are using CBC or ECB-mode, your buffers need to be a multiple of 16 bytes, or the code will read beyond the allocated space - i.e. doing invalid memory accesses.
Value-wise, the padding is needed for added security, as it makes some types of cryptanalysis harder. The algorithm will work though without padding, as long as both ends assume the same default-values (e.g 0), but there is some loss of security.
You can read up on the justifications for padding on wikipedia or http://crypto.stackexchange.com/ :)

I was referring to value-wise padding. Now I've read your response, it makes sense that there is more security when a pad is added.
About your code, if you don't use padding, when you call AES_CBC_encrypt_buffer(struct AES_ctx ctx,uint8_t buf, uint32_t length), length HAS to be a multiple of 16 bytes then?
Thank you for your response.
Leo

Yes, using CBC and ECB requires the buffer-length to be a multiple of 16 bytes :)

Thank you for your response :+1:


switching system.out.println to use java.util.logging for ConsoleRepo…

…rter
This allows ConsoleReporter to run in production since it won't spew out logs.
In order to toggle the logging on the expectation is that a service would use
something like jul-to-slf4j converter.  Once this is setup services can toggle
this off and on by setting "trace" logging on ConsoleReporter
Issue: https://github.com/wavefrontHQ/wavefront-opentracing-sdk-java/issues/78

Should we consider building the seperate LoggerReporter, and keep the current ConsoleReporter? In case this affects others existing workflow.

Should we consider building the seperate LoggerReporter, and keep the current ConsoleReporter? In case this affects others existing workflow.

We should probably add a https://docs.oracle.com/javase/8/docs/api/java/util/logging/ConsoleHandler.html by default to the logger so the console output is still available.

Should we consider building the seperate LoggerReporter, and keep the current ConsoleReporter? In case this affects others existing workflow.

That's fine with me, just tell me how you want to proceed

Should we consider building the seperate LoggerReporter, and keep the current ConsoleReporter? In case this affects others existing workflow.

We should probably add a https://docs.oracle.com/javase/8/docs/api/java/util/logging/ConsoleHandler.html by default to the logger so the console output is still available.

It's very straight forward to point your logging output to stdout, stderr or any file handle.  This change just gives more flexibility


Add zsh completion for docker log options 'max-buffer-size|mode'

ref. #28762
This can be planned for 1.14.0.
Signed-off-by: Steve Durrheimer<EMAIL_ADDRESS>

PR fixed.


[Question] Displaying  Long tick values

Hi
This is a question and not an issue.
If the Tick value to be displayed is too long , what are some of the possible options ?
In this case I am trying to display Date and time. , as the tick value, and its pretty large.
Can we just show tick values for some of the intermediate ticks and not all  ( to save space )
Any other pointers are appreciated
The way I tried to do this by displaying the Date as the tick value, and the Time part as the Hint.
But I think there got to be a  more elegant solution
Thanks for any help.
Best Regards
Ani
Steps to reproduce

Demo: http://jsfiddle.net/cwhgLcjv/ (fork this example and update the link)
Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead

You can set a number value for the ticks to display a tick at specific positions. You can also use the legend option... There are a demo for each option on the website.

Closing as there was no answers for 15 days.


FirestoreShardedCounter Swift Client

[READ] Step 1: Are you in the right place?
Got the extension working with Javascript Sample Client but was wondering if anyone is aware of a Swift port.
[REQUIRED] Step 2: Extension name
Distributed Counter - https://github.com/firebase/extensions/tree/master/firestore-counter
What feature would you like to see?
Swift Client Library for firestore-counter
How would you use it?
In our iOS Application :)

Seems like a potential feature request, thanks for the submission.

@peterfriese would you be interested in giving this a try before we release it?


[xenial] ip6tables v1.6.0: can't initialize ip6tables table `filter': Address family not supported by protocol

On Xenial I'm getting:
# ip6tables  -w 30  -I  OUTPUT  1  -p  tcp  --dport 19080  -m comment --comment  'WindowsFabric:azure-service-fabric0 WindowsFabric Http Gateway (TCP-Public-Out)' -j ACCEPT
ip6tables v1.6.0: can't initialize ip6tables table `filter': Address family not supported by protocol
Perhaps ip6tables or your kernel needs to be upgraded.

The iptables equivalent command works as expected.
Is this something fixable by me/my boshrelease, something fixable in stemcell, or elsewhere?

@drnic you might have to enable ipv6 kernel module via env.bosh.ipv6.enable=true on your instance group: http://bosh.io/docs/manifest-v2/#instance-groups

Thanks, that fixed my issue!


Continuous Wave Program Concept

I have been finding this library quite useful, but have have discovered some issues driving stepper motors similar to #126, #382, and #146
Each of these issues seems to demand maintaining a continuous set of pulses, however the issue being its challenging to orchestrate wave deletion / waiting leads to issues with memory available.
Since this is a pretty common use case for things like CNC or other hardware where the PWM concepts dont work due to resolution / rate issues, and waves has issues pausing between wave TX.
I had an idea that a "Wave Program" could be implemented that would control a single pin with a defined on/off time, and where an internal counter could handle long pauses over a second or over the buffer size. This I think would be relatively simple to implement and would put another tool in the toolbox for pigpio. This program's rates / on-off times could be updated, paused or stopped. Applying another signal to the pin would override the functionality the same as other concepts in this library.
Waves is a really cool feature but involves some difficult concepts such as interleaving the pin programs. I believe the delete part is an issue as you've mentioned @joan2937. I think there should be a simple solution to this important problem where any failure of the waves program can lead to saftey risks (mechatronic issues like crashing for example).
Curious to hear your thoughts, or any additional ideas related to this topic.

Have you looked at the ‘wave_create_and_pad’ api?  This api addresses some
the concerns you raise.
On Mon, May 27, 2024 at 2:12 AM SoundsSerious @.***>
wrote:

I have been finding this library quite useful, but have have discovered
some issues driving stepper motors similar to #126
https://github.com/joan2937/pigpio/issues/126, #382
https://github.com/joan2937/pigpio/issues/382, and #146
https://github.com/joan2937/pigpio/issues/146
Each of these issues seems to demand maintaining a continuous set of
pulses, however the issue being its challenging to orchestrate wave
deletion / waiting leads to issues with memory available.
Since this is a pretty common use case for things like CNC or other
hardware where the PWM concepts dont work due to resolution / rate issues,
and waves has issues pausing between wave TX.
I had an idea that a "Wave Program" could be implemented that would
control a single pin with a defined on/off time, and where an internal
counter could handle long pauses over a second or over the buffer size.
This I think would be relatively simple to implement and would put another
tool in the toolbox for pigpio.
Waves is a really cool feature but involves some difficult concepts such
as interleaving the pin programs. I believe the delete part is an issue. I
think there should be a simple solution to this important problem where any
failure of the waves program can lead to saftey risks (mechatronic issues
like crashing for example).
Curious to hear your thoughts, or any additional ideas related to this
topic.
—
Reply to this email directly, view it on GitHub
https://github.com/joan2937/pigpio/issues/605, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHDHTDCCXPX42DTI5P6DV3DZEJ3ATAVCNFSM6AAAAABIKGW6SKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYTOOJZHA2DMNA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for the reply, I think part of my issue is that I haven't exactly got the mental model right for waves. I have been manually padding waves to account for timing. Is that similar?
My solution is currently more focused on preventing over-submission and buffer errors that disrupt functionality. I still feel like I'm fighting the API to get this to work in a clean / reliable way. I think there's an interesting space for a 3rd way here between PWM and the highly cool / customizable waves feature.
Also I am using this library which has let me approach timing and workload a bit differently than the synchronious approach here. https://github.com/spthm/asyncpio

The "padding" concept for creating waves was implemented to fix the buffer sizes used for the wave resources.  This avoids fragmentation and the problem associated with deleting one wave and replacing it with a wave of a different dimension.  So, in its simplest form (and the only way I've used it) when you pad a wave at 50% you have a double buffer scenario.  You create any arbitrary wave, using wave chaining, looping etc.   Assuming your wave playback time is long, as in tens or hundreds of msec, you have ample time to create the next portion of your 'continuous wave' then synchronize it to the currently playing wave.  Now you simply monitor the wave id status to know when a wave has completed, deleted it and begin initializing the next segment of your wave.  You can dimension each portion of the wave (total length, number and width of pulses) as you wish, it's only the memory resources that have been fixed.

Hmm thats interesting. That would certainly help solve the buffer issue. I'll give that a shot!
In my application I have three sets of async tasks generating and creating waves at the same time, where I expect python timing resolution to be between 1-5ms, and am batching groups of waves at the same time. I think this is probably not the intended usage as I think part of my problem orchestrating these multiple wave "tasks" make checking the current wave id less reliable as it isn't clear which one is currently being transmitted although most probably are.
I realize this may not be the intended application here but I do think its incredibly useful as I can do things that are significantly blocking like TCP networking / waiting on subprocesses ect while maintaining 1Mhz resolution GPIO thanks to pigpio :)
Perhaps this is more of a fork level of idea but I think having a stateful "pin program" would help organize the bookkeeping for complex wave interaction, which it sounds like is challenging mixing waves. Perhaps the current wave API is the low level interface and a simplistic / stateful interface exists to handle single pin orchestration which is probably 95% of GPIO use cases as opposed to multiple-pin orchestration for I2C, SPI ect.
Putting single pin ochestration as a higher level concept also solves these timing issues since the pigpio process can always perfectly orchestrate itself.

This library is presently in maintenance mode.  I can help you with questions on the APIs but will not be making significant enhancements.

Understood, thanks for helping me with my understanding!
I'll leave it up to you to close the issue or keep it open


config: update the list of auto-assigned reviewers for tidb-operator

In ti-community-blunderbuss, the config of pingcap/tidb-operator uses include_reviewers instead of exclude_reviewers.
related #311

/ok-to-test
/merge

/unhold


Issue 9274: read-while-writer readers can't find fragment inserted

When last_collision is set, dir_probe starts at the bucket head and skips all collisions until last_collision is reached, then continues the probe from that point. dir_insert always inserts new entries immediately after the bucket head. So unless last_collision is the bucket head, any new entries inserted with last_collision set will be inserted before last_collision and will never be found by rww readers.
Modify dir_insert to always insert new entries at the tail of the list. This will entail walking the entire list once on each insert. However, the lists should be entirely in memory and quite short, so this should not present too much performance hit.

[approve ci]

Thanks for addressing the issue. It looks like a regression test, Cache_dir, made warnings and hung with this change.
Please check the test.

Hanging CI Jobs

https://ci.trafficserver.apache.org/job/Github_Builds/job/debian/597/console
https://ci.trafficserver.apache.org/job/Github_Builds/job/rocky/1246/console
https://ci.trafficserver.apache.org/job/Github_Builds/job/fedora/607/console

Cache_dir regression test
https://github.com/apache/trafficserver/blob/acae44903ae30d5af57d3d2071b24239b0adffe4/iocore/cache/CacheDir.cc#L1414

Run specific regression test.

» /opt/ats-review-1/bin/traffic_server -K -R 1 -r Cache_dir
Traffic Server 10.0.0 Jan 16 2023 11:42:32 Masaoris-MBP-16
traffic_server: using root directory '/opt/ats-review-1'
[Jan 17 07:48:57.329] [TS_MAIN] NOTE: Traffic Server is running unprivileged, not switching to user 'nobody'
REGRESSION_TEST initialization begun
REGRESSION TEST Cache_dir started
RPRINT Cache_dir: clearing vol 0
RPRINT Cache_dir: insert test
RPRINT Cache_dir: free: 25098
RPRINT Cache_dir: inserted: 25098
RPRINT Cache_dir: delete test
RPRINT Cache_dir: newfree: 25098
RPRINT Cache_dir: insert-delete test
RPRINT Cache_dir: insert rate = 6910242 / second
RPRINT Cache_dir: probe rate = 8302348 / second
[Jan 17 07:49:01.222] [ET_NET 0] WARNING: cache directory overflow on '/opt/ats-review-1/var/trafficserver/cache.db' segment 0, purging...
[Jan 17 07:49:01.224] [ET_NET 0] WARNING: cache directory overflow on '/opt/ats-review-1/var/trafficserver/cache.db' segment 0, purging...
[Jan 17 07:49:01.226] [ET_NET 0] WARNING: cache directory overflow on '/opt/ats-review-1/var/trafficserver/cache.db' segment 0, purging...
[Jan 17 07:49:01.228] [ET_NET 0] WARNING: cache directory overflow on '/opt/ats-review-1/var/trafficserver/cache.db' segment 0, purging...
[Jan 17 07:49:01.231] [ET_NET 0] WARNING: cache directory overflow on '/opt/ats-review-1/var/trafficserver/cache.db' segment 0, purging...
[Jan 17 07:49:01.233] [ET_NET 0] WARNING: cache directory overflow on '/opt/ats-review-1/var/trafficserver/cache.db' segment 0, purging...
[Jan 17 07:49:01.236] [ET_NET 0] WARNING: cache directory overflow on '/opt/ats-review-1/var/trafficserver/cache.db' segment 0, purging...
[Jan 17 07:49:01.238] [ET_NET 0] WARNING: cache directory overflow on '/opt/ats-review-1/var/trafficserver/cache.db' segment 0, purging...
RPRINT Cache_dir: corrupt_bucket test

@masaori335 the WARNINGs happened even before this code change, and are actually to be expected based on the  regression test implementation -- the "insert-delete" test intentionally inserts a Dir entry into every bucket to measure insert and probe rates, but never frees any of the entries. So when the next loop after the "probe rate" message is printed attempts to insert additional entries, it will not be able to find any and it needs to purge due to the directory overflow.  Does the test need to be modified to free some or all of the entries at the end of the insert-delete test, or is it okay to leave those warnings and see that the system deals with the condition appropriately? Either way, that is probably separate from this PR.
However, the hang does appear to be from the code change.  It appears that during the corrupt_bucket test loop, a bucket is selected that was already intentionally corrupted from one of the previous iterations (seems strange that with only 10 loops we would end up back at the same bucket with a rand_CacheKey call), and then the new code that attempts to walk to the end of the list to do the insert gets stuck in an infinite loop.  Need to find the best way to add some protection against that without destroying performance.
Is there any way to stop the build that is still spinning since 3 days ago? I don't appear to have the Jenkins permissions to do that.

[approve ci]

[approve ci fedora]

I realized the WARNING shows up with debug build on the master branch. (I was trying the test with the release build). Thanks for pointing that out. I agree this should be done in a separate PR.
Let's figure out to avoid the hang. @SolidWallOfCode, any idea?
Evan stopped the build. I got the privileges, so if we got the hang again, I'd stop them next time.

I tried putting a loop counter into the dir_insert loop and set the value to 100, to match what was already in dir_bucket_length, however the regression test still failed because it is coded to add every single directory entry to the same bucket. It is certainly not expected that any given bucket will have over 100 entries in it, but in order to pass the test I will probably need to set the loop counter to something like 65536 in order to match the highest possible number of directory entries available in a segment

Given the general size of caches these days, dropping a segment isn't that much of the cache. The general view of the logic is that since it's a cache, none of the data is essential and evicting it is acceptable. The lost fragments will eventually be cleaned up when the cache wraps back to that location.

Would this be a candidate for 9.2.x?

Cherry-picked to v9.2.x


[ENH] replace warnings with logging to elephant.utils.round_binning_errors

This PR aims to suggest a solution to Issue #567 .
The warnings in function round_binning_errors() from elephant/utils.py are replaced by log calls.
t.b.d.

[ ] decide on loglevel, e.g. logging.warning ?
[ ] default log level for the logger

coverage: 86.681% (+0.01%) from 86.667% when pulling 5a698de5d5563b8a4125a03e16d3b08707600ed1 on INM-6:enh/logging_utils into 5b464ecd358e871719b47990c48ac039871cfd63 on NeuralEnsemble:master.


Provide additional configuration for MedUni HPC cluster

This is the CeMM cluster profile dedicated to being used on CeMM's HPC. Please feel encouraged to use the provided link to the SLURM profile cookiecutter to create a similar repo for the MUW HPC.


[DataStructure] Circular Linked List [Java]

Will do it.

@iremlaya are you still working on this? I'd be happy to take it up.

Hi @sangamcse
is it done? or still open?
Thanks

It is still open @VershaCoder. Make sure to go through contribution guidelines


How to Hint language or define list of expected language

Hello, is it possible to use list of languages for detection like ["en", "wit", "da"]?
Thank you in advance.

@yurilla56  This can be done. This is why we have language_detection_function argument in the Constructor. Write your own custom_detection_function and then return python object you want. This will be stored in doc._.language


Obtain extracted features

Thanks for your job, Is there a link of Baidu cloud ？

Sorry for the late reply.
I asked a friend to upload the feature to the Baidu cloud.
The link and the password are as follows.
link: https://pan.baidu.com/s/16Pgor7DNdwSB8zYleqh2mA
pwd: 1234
Hope this will help.

Sorry for the late reply.
I asked a friend to upload the feature to the Baidu cloud.
The link and the password are as follows.
link: https://pan.baidu.com/s/16Pgor7DNdwSB8zYleqh2mA
pwd: 1234
Hope this will help.

Thanks!


[BUG] No Timber Post object when invalid slug is called

Expected Behavior
I would expect that a Timber/Post object (having the methods like ->meta) exists even when calling a page that does not exist.
Actual behavior
I get a warning finally resulting in a fatal error in an other step of my code when calling an URL with a non existing slug - there is no Timber Post at all.
Steps to reproduce behavior
in my controller if have this lines (reduced to the involved lines here):
Producing PHP Warnings
Warning: Undefined array key "post"
Warning: Attempt to read property "meta" on null
Warning: Trying to access array offset on value of type null
$data = Timber::context();

$mediastage_slider_items = (int)$data['post']->meta['mediastage_slider_items'];
if ( $mediastage_slider_items > 0) {
    $data['has_mediastage'] = true;
}

And further methods working with the Timber Post Obejct / $data['post'] like:
Producing a PHP Fatal Error
Fatal error: Uncaught Error: Call to a member function meta() on null
private function get_page_template_name( $post_object ) // here I pass: $data['post']
{
	$post_meta_data = $post_object->meta();

	if ( isset( $post_meta_data['_wp_page_template'] ) && strlen( $post_meta_data['_wp_page_template'] ) > 0 )
	{
		return $post_meta_data['_wp_page_template'];
	}
	else
	{
		return FALSE;
	}
}

Notes
Correct me if I'm wrong but I think Timber 1.x didn't produce this issue.
What version of Timber are you using?
2.1
What version of WordPress are you using?
6.5.2
What version of PHP are you using?
8.1
How did you install Timber?
Installed or updated Timber through Composer

Hi @Luckyfella73,
Timber 2 does return null instead of an empty Post object. We recommend firmer checking in your codebase.
$mediastage_slider_items = isset($data['post']->meta['mediastage_slider_items']) ? $data['post']->meta['mediastage_slider_items'] : false;

Same for your get_page_template_name method.
private function get_page_template_name( $post_object ) // here I pass: $data['post']
{
        if (null == $post_object) {
           return false;
        }

	$post_meta_data = $post_object->meta();

	if ( isset( $post_meta_data['_wp_page_template'] ) && strlen( $post_meta_data['_wp_page_template'] ) > 0 )
	{
		return $post_meta_data['_wp_page_template'];
	}
	else
	{
		return FALSE;
	}
}

Ah ok - good to know that this is intended to be like this :) I'm going to check for existence of the post object than like you suggested. Thank you for answering that fast!


My XML file has many declarations, which distributed in different node level, thus lead to parsing fails

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<PAK MODEL-VERSION="1.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="avater.xsd">
<!--created by nathon on 2020-01-22T10:47:42+08:00-->
<?Manufacturer 36?>
	<?Owner Ses?>
	<?TemplateName Winter-22?>
	<?TemplateVersion 1.12?>
	<?ProtocolStandard DoIP?>
	<CONTAINER ID="_DTD_SESSION_646">
         <...>

Appreciate if anyone could help


Write more tests

Just a reminder I need to write more tests!

We're almost there, we just need tests for the CircleCI plugin


Add TOC items for new content

https://github.com/Microsoft/visualfsharpdocs/pull/187

Should be done.


Patch6

What does this PR do?
Improve repo
For resources
Description
Deleted the Hindi Course From English File and Added It To The Hindi One.
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[ ] Search for duplicates.
[ ] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

@eshellman Kindly Merge this PR.


Road connectivity warnings don't update when connected

Description
Under some circumstances when making additions to the road network, a newly created (unconnected) road will display a warning upon its addition to the map, but not get rid of this warning when a new road is created connecting it to the rest of the network. The warning seems to only go away if the original way is modified further after having been connected to the network.
Version
2.1.1
What browser are you seeing the problem on? What version are you running?
Firefox 117.0.1 (64-bit)
The OS you're using
Windows 10 Home
Steps to reproduce

Find an area with incomplete road mapping:

Create a way that is not yet connected to the pre-existing road network, and tag it appropriately:

Noting the error that has appeared, create a new way connecting this road to the existing road network:

Observe that the existing way still has a now-incorrect warning:

At this stage, any movement of any node attached to the way created in step 2 will result in the error message going away, even if the modification is immediately undone. So the engine is aware that the way is connected, it's just not checking to see if the status of the way has changed on connections, only on modifications.

The browser URL at the time you encountered the bug
https://rapideditor.org/edit#background=Bing&datasets=fbRoads,msBuildings&disable_features=boundaries&id=w-81&map=19.42/-33.72847/150.88405&overlays=osm-gps&poweruser=true
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
No response

Already reported since 2.0, still not solved..

Yeah, this one is something that has been around since the iD code
https://github.com/openstreetmap/iD/issues/8758

By the way this issue create a permanent "Issue (errot)" in OSMI for routing, likewise when you add a NoExit tag at the end of the road, if it's close to another way. OSMI and OSMOSE both keep the issue open...


⚠ Bofrost.at has degraded performance

In fb0202f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1809 ms

Resolved: Bofrost.at performance has improved in 07e2da4.


HELP: Get value in Document

This libary is save me.
I use fbdo.playload() to print my document in firestore and here result:
15:15:20.919 -> {
15:15:20.919 ->   "name": "projects/prjtest22222/databases/(default)/documents/users/oQz5x6rtlcP3i2Gyufjx8m8YjtC3/devices/ObjectName",
15:15:20.919 ->   "fields": {
15:15:20.919 ->     "relay-1": {
15:15:20.919 ->       "stringValue": "false,true,false,0:0:0,0,client"
15:15:20.919 ->     },
15:15:20.919 ->     "relay-4": {
15:15:20.919 ->       "stringValue": "false,true,false,0:0:0,0,client"
15:15:20.919 ->     },
15:15:20.919 ->     "relay-5": {
15:15:20.919 ->       "stringValue": "false,true,false,0:0:0,0,client"
15:15:20.965 ->     },
15:15:20.965 ->     "relay-2": {
15:15:20.965 ->       "stringValue": "false,true,false,0:0:0,0,client"
15:15:20.965 ->     },
15:15:20.965 ->     "relay-0": {
15:15:20.965 ->       "stringValue": "false,true,false,0:0:0,0,client"
15:15:20.965 ->     },
15:15:20.965 ->     "relay-6": {
15:15:20.965 ->       "stringValue": "false,true,false,0:0:0,0,client"
15:15:20.965 ->     },
15:15:20.965 ->     "relay-7": {
15:15:20.965 ->       "stringValue": "false,true,false,0:0:0,0,client"
15:15:20.965 ->     },
15:15:20.965 ->     "relay-3": {
15:15:20.965 ->       "stringValue": "false,true,false,0:0:0,0,client"
15:15:20.965 ->     }
15:15:20.965 ->   },
15:15:20.965 ->   "createTime": "2021-04-15T05:35:14.027754Z",
15:15:20.965 ->   "updateTime": "2021-04-15T07:51:34.013816Z"
15:15:21.012 -> }

I have looked for examples,
I try use FirebaseJsonData or fbdo.jsonString() but the result is empty.
`
    FirebaseJsonData jsonData;
    FirebaseJson js = fbdo.jsonObject();

    for (int i = 0; i < relays_length; i++) {
        js.get(jsonData, "relay-" + String(i));
        if (jsonData.success) {
            data[i] = jsonData.stringValue;
        }
    }
    //or
    Serial.println(fbdo.jsonString());

`
I need get key value. And when i try update the document with update mask, it print failed Invalid property path \"relay-0\".
Can you help me with the optimal solution.
Thanks,

You need to parse the Firestore payload yourself.
This is the design of library APIs due to the complex structure of Firestore payload and it can be many types e.g. collections, documents and the fields.
To pare the JSON payload,
FirebaseJson js;
js.setJsonData(fbdo.payload());


Haskell "stack" package doesn't update to 1.6.1

Issue description
I believe that the Haskell "stack" package is at version 1.6.1 in nixpkgs-unstable. I have confirmed this by looking at the Nix channel repository on Github (in the nixpkgs-unstable branch), where the version number 1.6.1. However, locally I only have version 1.5.1, which is missing a few crucial bug fixes.
Steps to reproduce
$ nix-channel --list
nixpkgs https://nixos.org/channels/nixpkgs-unstable

$ nix-channel --update
downloading Nix expressions from ‘https://d3g5gsiof5omrk.cloudfront.net/nixpkgs/nixpkgs-18.03pre122585.b212125b541/nixexprs.tar.xz’...
downloading ‘https://d3g5gsiof5omrk.cloudfront.net/nixpkgs/nixpkgs-18.03pre122585.b212125b541/nixexprs.tar.xz’... [5823/9422 KiB, 5817.2 KiB/s]
unpacking channels...

$ nix-env --upgrade

[no output]
$ ~/.nix-profile/bin/stack --version | head -n1
Version 1.5.1 x86_64

Technical details
$ nix-shell -p nix-info --run "nix-info -m"
these paths will be fetched (0.01 MiB download, 0.03 MiB unpacked):
  /nix/store/sgqgphi83sy17ifijjcgvzl4p1cp24p2-DarwinTools-1
  /nix/store/y23k84515l03j01jrdyp4ls8b1bms0yv-nix-info
fetching path ‘/nix/store/sgqgphi83sy17ifijjcgvzl4p1cp24p2-DarwinTools-1’...

*** Downloading ‘https://cache.nixos.org/nar/0xww4pk0w6d9gh3j2clmp0hx8kf94pzp2k99h54raidb6wf0s1ni.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/sgqgphi83sy17ifijjcgvzl4p1cp24p2-DarwinTools-1’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4648  100  4648    0     0   4648      0  0:00:01 --:--:--  0:00:01 22133

fetching path ‘/nix/store/y23k84515l03j01jrdyp4ls8b1bms0yv-nix-info’...

*** Downloading ‘https://cache.nixos.org/nar/0sa0vfimafqz6n0pxhpsmws24qlb27bwalcbkv53a770yx7gwghp.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/y23k84515l03j01jrdyp4ls8b1bms0yv-nix-info’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1680  100  1680    0     0   1680      0  0:00:01 --:--:--  0:00:01  8275

 - system: `"x86_64-darwin"`
 - host os: `Darwin 17.3.0, macOS 10.13.2`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 1.11.15`
 - channels(eschnett): `"nixpkgs-18.03pre122585.b212125b541"`
 - channels(root): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/eschnett/channels/nixpkgs`

Also:
$ nix-channel --list
nixpkgs https://nixos.org/channels/nixpkgs-unstable

As you see, the output of nix-channel --list and the actual channel differ. Is this to be expected? Is the respective channel nixpkgs-18.03pre122585.b212125b541 the current one? If not, how can I update?
This is MacOS, and I've had a few problems installing Nix. The default install doesn't quite work. It subscribes me to a channel that is managed by root, and I cannot issue any Nix commands since I don't have write permissions to /nix. My remedy was (as I am told by Google) to set NIX_REMOTE=daemon, and to manually remove the symbolic link to root's channel in my .nix-defexpr directory.

You need dba09a202b69540be3c1780a9fde04ff84551aa2 and nixpkgs-unstable channel is not there yet: https://howoldis.herokuapp.com/
You can override the channel for one operation with nix-env -f https://github.com/NixOS/nixpkgs/archive/master.tar.gz -iA stack.

Thank you! This worked. https://howoldis.herokuapp.com/ is exactly what I was looking for.


Fix apitool from producing empty tables

Prevent apitool from creating empty tables when there are only breaking changes but no additional changes

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] The PR targets the latest branch.
[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] Apache v2 license headers are included in each file.

Can one of the admins verify this patch?


How much data did you use to train the model?

Hi. Thank you for you great work!
I was wondering how much data did you use to train the model, and did you augment the data?
I notice that you put the LJSpeech dataset here as an example, but the sample rate of LJ is 22050khz, so I think it is not the data you actually used when training the model...?

I used LibriTTS, a subset of LibriSpeech with a higher sampling rate (24kHz).


ICD procedure codes

Is there a way to access ICD procedural codes for patients? In the diagnosis table, the ICD9Code provides ICD9 diagnosis codes for the hospitalization but in searching this element, does not appear that procedural code is included. Is this accessible elsewhere or an element that can be added?

hi @mtwayne
Unfortunately we don't have the procedure codes in eICU-CRD.


Python3 support, both 2 and 3 are supported.

Unittests removed to separated file.
Setup.py created, package can be installed.
A few code cleanups

Aggrrr. It's not nice, that I can't see what was changed in number_to_text.py file, since it was also renamed. Can you, please, add a few notes (say, inline comments) to places, where you change smth in it?

There is no point to do it anymore. I've found pytils. Apology for
interrupting.
пт, 1 мая 2015 г. в 12:08, Sergey Prokhorov<EMAIL_ADDRESS>
Aggrrr. It's not nice, that I can't see what was changed in
number_to_text.py file, since it was also renamed. Can you, please, add a
few notes (say, inline comments) to places, where you change smth in it?
—
Reply to this email directly or view it on GitHub
https://github.com/seriyps/ru_number_to_text/pull/2#issuecomment-98060192
.


Edge mixer template. Stackdriver Adapter: Add support to write to Context Graph

This includes #6408, so I'll close that one.
Add Mixer template for edge instances. These can be used by adapters to construct graphs of the Istio mesh.
Add support to Stackdriver adapter to write to the Stackdriver Context Graph API.
The Context Graph client is not available upstream yet. So vendor it inside the Stackdriver adapter until it is available.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: jeffmendoza
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: wattli
Assign the PR to them by writing /assign @wattli in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jeffmendoza: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
a734a094a8f2491490d384aedc1d2890759f8421
link
/test istio-unit-tests

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

@jeffmendoza: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4f416e6f2e4e0e28ebb8586d384bedba0075d74d
link
/test istio-unit-tests

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

@jeffmendoza: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4f416e6f2e4e0e28ebb8586d384bedba0075d74d
link
/test istio-unit-tests

prow/istio-presubmit.sh
4f416e6f2e4e0e28ebb8586d384bedba0075d74d
link
/test istio-presubmit

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

We need this PR in ASAP to make the 1.0 release cut. We can make small adjustments to the code moving forward, but I see no major blockers in my review.
/lgtm
/approve
/retest

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: douglas-reid, jeffmendoza
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [douglas-reid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jeffmendoza: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
4f416e6f2e4e0e28ebb8586d384bedba0075d74d
link
/test istio-presubmit

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

New changes are detected. LGTM label has been removed.

@douglas-reid Yay, all tests pass.

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: douglas-reid, jeffmendoza
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [douglas-reid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jeffmendoza: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
f990f0fe43387f184f631cd8eca51e5c8d94bea1
link
/test istio-presubmit

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

/test istio-presubmit

Docker Hub!!
 error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/21/219e59ae4605f1a61d4f33dbc6dc46f170a8be109b3ba59cba317b7633a87b9b/data?verify=1530379542-2YTxCF70uquWqfVJSgIQqGuQg98%3D: dial tcp: lookup production.cloudflare.docker.com on <IP_ADDRESS>:53: server misbehaving


Fix ScrollTransform

ScrollTransform have a number of minor bugs:

Duplicates count towards to limit making the actual result unpredictable
Limit check is off-by-one
If the number of results is exactly one more than the limit, isLimited is incorrectly set to false, because the limit check happens in the beginning of the loop

This patch addresses all of the above.

@udoprog , @juruen : Please review

Current coverage is 45.04% (diff: 100%)

Merging #112 into master will increase coverage by 0.01%

@@             master       #112   diff @@
==========================================
  Files           596        596
  Lines         15377      15377
  Methods           0          0
  Messages          0          0
  Branches       1581       1581
==========================================
+ Hits           6924       6926     +2
+ Misses         7992       7991     -1
+ Partials        461        460     -1

Powered by Codecov. Last update c05e7dc...2264b9b


[BUG] System Chocolatey doesn't work since 3.1.0 stable

Please confirm these before moving forward

[X] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
[X] I have tested that this issue has not been fixed in the latest (beta or stable) release.
[X] I have checked the FAQ section for solutions.
[X] This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version
3.1.0
Windows version, edition and architecture
Windows 10 Education 19045.4291 x64
Describe your issue
When using Chocolatey installed on my system ('Use system chocolatey' is enabled), Chocolatey doesn't get listed on Software Updates, Discover Packages and even on Installed Packages. On 3.0.2, this worked fine.
UniGetUI does see Chocolatey and the executable file of it exist on my computer.
When disabling 'Use system Chocolatey' and rebooting UniGetUI, Chocolatey does work. Re-checking that option and rebooting the program, the issue returns.
Steps to reproduce the issue

Install Chocolatey on you system outside of UnigetUI
Enable Chocolatey in UniGetUI
Make sure the option 'Use system chocolatey' is enabled in the settings menu under Chocolatey.
Reboot UniGetUI.
When searching packages, Chocolatey packages doesn't show.
Go to the settings menu, open the Chocolatey section and you see that Chocolatey is being recognised.

UniGetUI Log
[03/07/2024 17:07:21]
                         __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                      \____/_/ /_/_/\____/\___/\__/\____/___/
                          Welcome to UniGetUI Version 3.1.0
[03/07/2024 17:07:21]
[03/07/2024 17:07:21] Version Code:  3,1
[03/07/2024 17:07:21] Using bundled GSudo at C:\Program Files\WingetUI\Assets\Utilities\gsudo.exe
[03/07/2024 17:07:21] Loaded language locale: en
[03/07/2024 17:07:21] Randomly-generated background API auth token for the current session: er7taqup5fy2fjg5nnkkgehbq86f0w7tz3a4mjwbykte64mwto89f4tgredrxqyl
[03/07/2024 17:07:21] Api running on http://localhost:7058
[03/07/2024 17:07:21] Moving Bundled Chocolatey from old path to new path...
[03/07/2024 17:07:21] An error occurred while migrating chocolatey
[03/07/2024 17:07:21] System.ArgumentException: The path is empty. (Parameter 'relativeTo')
                         at System.IO.Path.GetRelativePath(String relativeTo, String path, StringComparison comparisonType)
                         at UniGetUI.PackageEngine.Managers.ChocolateyManager.Chocolatey.LoadManager() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.Chocolatey\Chocolatey.cs:line 278
[03/07/2024 17:07:21] Lang files were updated successfully from GitHub
[03/07/2024 17:07:21] The restored geometry did not have exactly 5 items (found length was 1)
[03/07/2024 17:07:21] Downloaded new icons and screenshots successfully!
[03/07/2024 17:07:22] UniGetUI is up to date
[03/07/2024 17:07:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[03/07/2024 17:07:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Winget
                      █ Enabled: True
                      █ Found: True
                      █ Fancye exe name: winget.exe
                      █ Executable path: C:\Users\username\AppData\Local\Microsoft\WindowsApps\winget.exe
                      █ Call arguments:
                      █ Version:
                      █   Naive WinGet CLI Version: v1.8.1791
                      █   Microsoft.WinGet.Client PSModule version:
                      █   Using Native WinGet helper (COM Api)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[03/07/2024 17:07:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Pip
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[03/07/2024 17:07:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Npm
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[03/07/2024 17:07:23] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey
                      █ Enabled: True
                      █ Found: True
                      █ Fancye exe name: choco.exe
                      █ Executable path: C:\ProgramData\chocolatey\bin\choco.exe
                      █ Call arguments:
                      █ Version:
                      █   2.3.0
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[03/07/2024 17:07:23] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell
                      █ Enabled: True
                      █ Found: True
                      █ Fancye exe name: powershell.exe
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -Command
                      █ Version:
                      █   Name                           Value
                      █   ----                           -----
                      █   PSVersion                      5.1.19041.4291
                      █   PSEdition                      Desktop
                      █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
                      █   BuildVersion                   10.0.19041.4291
                      █   CLRVersion                     4.0.30319.42000
                      █   WSManStackVersion              3.0
                      █   PSRemotingProtocolVersion      2.3
                      █   SerializationVersion           <IP_ADDRESS>
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[03/07/2024 17:07:24] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Scoop
                      █ Enabled: True
                      █ Found: True
                      █ Fancye exe name: scoop
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop
                      █ Version:
                      █   Current Scoop version:
                      █   d337bb1f chore(release): Bump to version 0.4.2 (#5964)
                      █
                      █   'main' bucket:
                      █   3c39f8dac x265: Update to version 3.6+33-ad1a30a
                      █
                      █   'extras' bucket:
                      █   50b978a4a wingetui: Update to version 3.1.0
                      █
                      █   'versions' bucket:
                      █   63720399d rstudio-daily: Update to version 2024.07.0-daily-271
                      █
                      █   'nirsoft' bucket:
                      █   62f97d6 Update README.md
                      █
                      █   'sysinternals' bucket:
                      █   7b0f09e ProcessMonitor: Update to version 4.01
                      █
                      █   'nerd-fonts' bucket:
                      █   d16f2562 SarasaGothic: Update to version 1.0.15
                      █
                      █   'nonportable' bucket:
                      █   305bb04 powertoys-np: Update to version 0.82.0
                      █
                      █   'java' bucket:
                      █   fdb41b89 temurin17-nightly-jre: Update to version 17.0.12-6.0.ea
                      █
                      █   'games' bucket:
                      █   9ae0edbdc pcsx2-dev: Update to version 1.7.5955
                      █
                      █   'brawl' bucket:
                      █   c3f0e2a pwsh-stock: Update to version 7.4.1
                      █
                      █   'confetti' bucket:
                      █   615ddf6 staxrip: Update to version 2.41.6
                      █
                      █   'Cypher' bucket:
                      █   729ea64 tvrename: Added post_install to delete the PLUGINSDIR and Uninstaller files
                      █
                      █   'dank-scoop' bucket:
                      █   fe865b5d rustdesk-nightly: Update to version<PHONE_NUMBER>
                      █
                      █   'Darkatse' bucket:
                      █   c3724aa Clash-Verge: Update to version 1.7.2
                      █
                      █   'dorado' bucket:
                      █   a812984a<EMAIL_ADDRESS>Fix hash (Closes #860)
                      █
                      █   'emulators' bucket:
                      █   512adec32 retroarch-nightly: Update to version 2024-07-03
                      █
                      █   'iquiw' bucket:
                      █   c145a77 ghc96: Update to version to 9.6.6
                      █
                      █   'jetbrains' bucket:
                      █   e4f497e4 IntelliJ-IDEA-Ultimate-EAP: Update to version 2024.2-242.19890.14
                      █
                      █   'kazanami' bucket:
                      █   d8b6c3f neeview: Update to version 39.3
                      █
                      █   'knotuntied' bucket:
                      █   4d19fd0 minify: Update to version 2.20.35
                      █
                      █   'MAI' bucket:
                      █   ce2b4d6 Updated readme
                      █
                      █   'naderi' bucket:
                      █   9f85c188 xpipe: Update to version 10.0.4
                      █
                      █   'peach' bucket:
                      █   6c74ef7 Update schedule.yml
                      █
                      █   'retools' bucket:
                      █   c5687f1 flare-floss: Update to version 3.1.0
                      █
                      █   'scoops' bucket:
                      █   9d28b36 pfm2afm: fix URL
                      █
                      █   'stasjok-bucket' bucket:
                      █   b7611aa duplicati: Update to version <IP_ADDRESS>
                      █
                      █   'wangzq' bucket:
                      █   c4daa53 perfview
                      █
                      █   'yuusakuri' bucket:
                      █   06b4cc5 dotnetversions: Update to version 1.1.1
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[03/07/2024 17:07:25] Found 0 available updates from Chocolatey
[03/07/2024 17:07:25] Found 0 installed packages from Chocolatey
[03/07/2024 17:07:25] Dependency WinGet PowerShell Module for manager Winget is present
[03/07/2024 17:07:25] Dependency Scoop-Search for manager Scoop is present
[03/07/2024 17:07:25] Dependency Git for manager Scoop is present
[03/07/2024 17:07:25] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[03/07/2024 17:07:25] Found 90 installed packages from Scoop
[03/07/2024 17:07:26] Found 2 installed packages from PowerShell
[03/07/2024 17:07:29] Found 7 available packages from Winget with the query Firefox
[03/07/2024 17:07:29] Found 0 available packages from Chocolatey with the query Firefox
[03/07/2024 17:07:29] Found 31 available packages from Scoop with the query Firefox
[03/07/2024 17:07:30] Found 244 installed packages from Winget
[03/07/2024 17:07:30] Found 12 available updates from Winget
[03/07/2024 17:07:32] Found 1 available updates from PowerShell
[03/07/2024 17:07:40] Found 90 installed packages from Scoop
[03/07/2024 17:07:54] Upgradable scoop package not listed on installed packages - id=adb
[03/07/2024 17:07:54] Upgradable scoop package not listed on installed packages - id=ubisoftconnect
[03/07/2024 17:07:54] Found 0 available updates from Scoop
[03/07/2024 17:08:01] Found 0 available packages from PowerShell with the query Firefox

Package Managers Logs
Manager Chocolatey with version:
2.3.0

——————————————————————————————————————————

Logged subprocess-based task on manager Chocolatey. Task type is ListSources
Subprocess executable: "C:\ProgramData\chocolatey\bin\choco.exe"
Command-line arguments: " source list"
Process start time: 03/07/2024 17:07:22
Process end time:   03/07/2024 17:07:23

Return code: FAILED (1)

——————————————————————————————————————————

Logged subprocess-based task on manager Chocolatey. Task type is ListUpdates
Subprocess executable: "C:\ProgramData\chocolatey\bin\choco.exe"
Command-line arguments: " outdated"
Process start time: 03/07/2024 17:07:24
Process end time:   03/07/2024 17:07:25

Return code: FAILED (1)

——————————————————————————————————————————

Logged subprocess-based task on manager Chocolatey. Task type is ListPackages
Subprocess executable: "C:\ProgramData\chocolatey\bin\choco.exe"
Command-line arguments: " list"
Process start time: 03/07/2024 17:07:24
Process end time:   03/07/2024 17:07:25

Return code: FAILED (1)

——————————————————————————————————————————

Logged subprocess-based task on manager Chocolatey. Task type is ListSources
Subprocess executable: "C:\ProgramData\chocolatey\bin\choco.exe"
Command-line arguments: " source list"
Process start time: 03/07/2024 17:07:25
Process end time:   03/07/2024 17:07:25

Return code: FAILED (1)

——————————————————————————————————————————

Logged native task on manager Chocolatey. Task type is FindPackages
Process start time: 03/07/2024 17:07:29
Process end time:   03/07/2024 17:07:29

The task reported success

——————————————————————————————————————————

Logged subprocess-based task on manager Chocolatey. Task type is ListSources
Subprocess executable: "C:\ProgramData\chocolatey\bin\choco.exe"
Command-line arguments: " source list"
Process start time: 03/07/2024 17:07:29
Process end time:   03/07/2024 17:07:29

Return code: FAILED (1)

——————————————————————————————————————————

Relevant information
Running the chocolatey commands listed on the Package Managers logs do work in Windows Terminal.
Screenshots and videos

What happens if you run UniGetUI as administrator?

What happens if you run UniGetUI as administrator?

Same "An error occurred while migrating chocolatey"

Please try to move the contents of a folder named %localappdata%\Programs\WingetUI\choco-cli to %localappdata%\UniGetUI\Chocolatey and delete the choco-cli folder

Please try to move the contents of a folder named %localappdata%\Programs\WingetUI\choco-cli to %localappdata%\UniGetUI\Chocolatey and delete the choco-cli folder

Done, regardless of running as administrator now there is no error about migrating and I can search for Chocolatey packages on "Discover Packages", but on "Software Updates" section still there is no updates for my Chocolatey apps.
Found 0 installed packages from Chocolatey I see in UniGetUI log, but I had a lot of them before 3.1.0

Please share the Verbose Chocolatey logs

Yes

please run echo %chocolateyinstall% on a command prompt window

It's C:\ProgramData\chocolatey
Just in case, I tried to check "Use system Chocolatey" in options, restarted, but result is the same - "Found 0 installed packages from Chocolatey".
And re-checked at ChocolateyGUI - there still are all my installed choco apps.

Ok, please downgrade to 3.0.2 until I can find the root cause of this issue.

Yep, Chocolatey packages are back after downgrade

I can confirm this behavior. No chocolatey packages are shown when I unset "Use system chocolatey". They only will show up, when I set this option. Additionally, the packages of my individually added sources don't show up, even if I use the chocolatey version shipped with UniGetUI.

I can further confirm that I was able to observe this behavior since the first 3.1.0-alpha0.

Ok, please downgrade to 3.0.2 until I can find the root cause of this issue.

Tricky because once I install 3.0.2, even with "Automatically Update Winget" option unchecked, a green banner pops up and says that it will upgrade to 3.1.0 as soon as I close.

Hello, please follow this guide in order to downgrade WingetUI

Hello,
Please try this beta release, which should have this issue fixed: https://github.com/marticliment/UniGetUI/releases/tag/3.1.1-beta1
Direct downloadm URL: https://github.com/marticliment/UniGetUI/releases/download/3.1.1-beta1/UniGetUI.Installer.exe
Please let me know if the issue gets resolved or not

The issue is fixed! I still see one issue in the logs however, but i don't think it's related to the issue and might be related to my Chocolatey config.
Manager Chocolatey with version:
This is try 1/3. Retrying after 400 milliseconds.
 Error converted to warning:
 Access to the path 'C:\ProgramData\chocolatey\config\chocolatey.config.4156.update' is denied.
This is try 2/3. Retrying after 600 milliseconds.
 Error converted to warning:
 Access to the path 'C:\ProgramData\chocolatey\config\chocolatey.config.4156.update' is denied.
Maximum tries of 3 reached. Throwing error.
2.3.0

Issues are fixed for me as well. Thank you! 🥇

While the problem is gone when using system Chocolatey, I said in Issue #2425 (which was closed as a duplicate of this one) that Chocolatey bundled with UnigetUI does not work and it still does not work in newest beta.


Adding DSMS endpoints to firewall rules

@pvbchak : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Add license file

We should add a license file to this repo.

License file added in #12 . Closing the issue.


Unexpected token function,cliEntry.js Document error reporting

React Native version:

Steps To Reproduce
Scheme--->Run(Info---release)
3.product--->build
-->

@DamonIOS this needs more information see this

Closing since there has been no follow up nor the needed info - btw thanks @ecreeth 	for helping out triaging 🤗

This issue still exists in 0.61.1 :/


[FEAT ADD]: Add Azure AI Search and Azure OpenAI Vector Store and Embeddings

https://learn.microsoft.com/azure/search/search-what-is-azure-search

Sure, you can create a PR for this feature. Happy to help

Assigned the feat add here: #29
Closing this issue. All the best.


docker: include risectl binary in docker image

The developers may use risectl tool for better debugging in the cloud environment. It'll be much better if we can build and pack the binary into the image.
cc @huangjw806 ❤

The all-in-one binary includes risectl 🤣 (But the individual binaries don't)

The all-in-one binary includes risectl 🤣 (But the individual binaries don't)

Currently, docker pipeline will build all-in-one binary and individual binaries, and cloud will pull all-in-one image to set up risingwave cluster.

@huangjw806 Does anyone use individual binaries? If answer is nobody, let's remove it from the pipeline.
related https://github.com/risingwavelabs/risingwave/issues/5326

@huangjw806 Does anyone use individual binaries? If answer is nobody, let's remove it from the pipeline.

I think almost no one uses individual binaries, so we can completely remove it.


[SPARK-19134][PYTHON][EXAMPLE] Fix several Python mllib and status api examples not working

What changes were proposed in this pull request?
binary_classification_metrics_example.py
LibSVM datasource loads ml.linalg.SparseVector whereas the example requires it to be mllib.linalg.SparseVector.  For the equivalent Scala exmaple, BinaryClassificationMetricsExample.scala seems fine.
./bin/spark-submit examples/src/main/python/mllib/binary_classification_metrics_example.py

  File ".../spark/examples/src/main/python/mllib/binary_classification_metrics_example.py", line 39, in <lambda>
    .rdd.map(lambda row: LabeledPoint(row[0], row[1]))
  File ".../spark/python/pyspark/mllib/regression.py", line 54, in __init__
    self.features = _convert_to_vector(features)
  File ".../spark/python/pyspark/mllib/linalg/__init__.py", line 80, in _convert_to_vector
    raise TypeError("Cannot convert type %s into Vector" % type(l))
TypeError: Cannot convert type <class 'pyspark.ml.linalg.SparseVector'> into Vector

status_api_demo.py (this one does not work on Python 3.4.6)
It's queue in Python 3+.
PYSPARK_PYTHON=python3 ./bin/spark-submit examples/src/main/python/status_api_demo.py

Traceback (most recent call last):
  File ".../spark/examples/src/main/python/status_api_demo.py", line 22, in <module>
    import Queue
ImportError: No module named 'Queue'

bisecting_k_means_example.py
BisectingKMeansModel does not implement save and load in Python.
./bin/spark-submit examples/src/main/python/mllib/bisecting_k_means_example.py

Traceback (most recent call last):
  File "/Users/hyukjinkwon/Desktop/workspace/repos/forked/spark/examples/src/main/python/mllib/bisecting_k_means_example.py", line 46, in <module>
    model.save(sc, path)
AttributeError: 'BisectingKMeansModel' object has no attribute 'save'

elementwise_product_example.py
It calls collect from the vector.
./bin/spark-submit examples/src/main/python/mllib/elementwise_product_example.py

Traceback (most recent call last):
  File "/Users/hyukjinkwon/Desktop/workspace/repos/forked/spark/examples/src/main/python/mllib/elementwise_product_example.py", line 48, in <module>
    for each in transformedData2.collect():
  File "/Users/hyukjinkwon/Desktop/workspace/repos/forked/spark/python/pyspark/mllib/linalg/__init__.py", line 478, in __getattr__
    return getattr(self.array, item)
AttributeError: 'numpy.ndarray' object has no attribute 'collect'

How was this patch tested?
Manually via
./bin/spark-submit examples/src/main/python/mllib/binary_classification_metrics_example.py

PYSPARK_PYTHON=python3 ./bin/spark-submit examples/src/main/python/status_api_demo.py

./bin/spark-submit examples/src/main/python/mllib/bisecting_k_means_example.py

./bin/spark-submit examples/src/main/python/mllib/elementwise_product_example.py

@yanboliang Could I please ask to take a look please?

Hm.. actually, it seems there are more. Let me open a JIRA and sweep it.

Test build #71077 has started for PR 16515 at commit 9a4fd40.

Test build #71078 has started for PR 16515 at commit 1f8c11e.

Test build #71077 has finished for PR 16515 at commit 9a4fd40.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/71077/
Test PASSed.

Merged build finished. Test PASSed.

Test build #71078 has finished for PR 16515 at commit 1f8c11e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/71078/
Test PASSed.

Test build #71080 has started for PR 16515 at commit 1ce29fb.

Test build #71080 has finished for PR 16515 at commit 1ce29fb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/71080/
Test PASSed.

Merged build finished. Test PASSed.

LGTM, merged into master. Thanks for catching this.

Thank you all!


Can't use mqtt communication in my pc

Expected Behavior
I should be able to communicate though mqtt between my pc and my devices.
Current Behavior
I try to use mqtt to communicate with my device and I can't.
Steps to Reproduce
Steps to reproduce the behavior:

Try to connect your device through mqtt

Context (Environment)

Default setup
OS: Windows 11 Pro
Edición	Windows 11 Pro
Versión	23H2
Instalado el	28/11/2023
Versión del sistema operativo	22631.3007
Experiencia	Windows Feature Experience Pack 1000.22681.1000.0
Browser: Chrome
Environment: dev (start-dev-full)
I'm using Avast Antivirus
Hardware:
Nombre del dispositivo	jurgi-s
Procesador	11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz   3.00 GHz
RAM instalada	16,0 GB (15,7 GB usable)
Identificador de dispositivo	19B6899A-EB48-4CA8-80B3-DF9ABF4B47D9
Id. del producto	00330-80000-00000-AA997
Tipo de sistema	Sistema operativo de 64 bits, procesador basado en x64
Lápiz y entrada táctil	La entrada táctil o manuscrita no está disponible para esta pantalla

Issue demo

Hi @mars1pial!
How are you testing the mqtt connection?
What is your OS wifi configuration? Is it a public or private network?
Could you check if disabling the Avast firewall the mqtt works again?
Thank you,

Hi! I'm using mqtt explorer. My wifi connection was configured as public. I've reinstalled my computer and without Avast it works. I'm still using wifi as public.
Thanks for the answer!!

Hi @mars1pial!
The antivirus firewall could interfere to the port usage. We added this as a reminder to documentation. https://github.com/Protofy-xyz/Protofy/blob/main/docs/getting-started.md
Thanks!