[CLOUD-2261] adding permisssion to list pods

https://issues.jboss.org/browse/CLOUD-2261
Adding new system role with permission to query api to get list of pods. This is needed for case the recovery of transaction is done via apy querying as discussed at CLOUD-2261 and at document https://docs.google.com/document/d/1JdOTMP6pdexJ__KYlw9hgwR6DOCHTtYCQy7PqyMk8OU/edit
/cc @rcernich

@rcernich thanks for your points. I've changed the template a bit to address them exept of the issue with the namespace. Without defining the namespace in role ref part of the template the image does not work. As I understand it' known issue, see https://github.com/openshift/origin/issues/11566#issuecomment-365543449
Do you think using view role would be more appropriate? Or would you have an idea how to get around of this? Many thanks!

hi @rcernich , what do you think about the change-set now? And what is your expectation for https://github.com/jboss-openshift/cct_module/pull/230 ?
Thank you


Problem wth nestjs

I'm using nestjs, with:

node version 14.16.0
square version 11.0.0
And I when I tried to run npm run build, or npm start, I faced many errors like this:
`node_modules/square/src/models/additionalRecipient.ts:23:14 - error TS2322: Type 'StrictObjectSchema<string, { locationId: ["location_id", Schema<string, string>]; description: ["description", Schema<string, string>]; amountMoney: ["amount_money", Schema<Money, any>]; receivableId: [...]; }>' is not assignable to type 'Schema<AdditionalRecipient, any>'.
The types returned by 'map(...)' are incompatible between these types.
Type '{ description?: string; amountMoney?: Money; locationId?: string; receivableId?: string; }' is not assignable to type 'AdditionalRecipient'.
Property 'locationId' is optional in type '{ description?: string; amountMoney?: Money; locationId?: string; receivableId?: string; }' but required in type 'AdditionalRecipient'.

23 export const additionalRecipientSchema: Schema = object({
~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/square/src/models/measurementUnitCustom.ts:14:14 - error TS2322: Type 'StrictObjectSchema<string, { name: ["name", Schema<string, string>]; abbreviation: ["abbreviation", Schema<string, string>]; }>' is not assignable to type 'Schema<MeasurementUnitCustom, any>'.
The types returned by 'map(...)' are incompatible between these types.
Type '{ name?: string; abbreviation?: string; }' is not assignable to type 'MeasurementUnitCustom'.
Property 'name' is optional in type '{ name?: string; abbreviation?: string; }' but required in type 'MeasurementUnitCustom'.
14 export const measurementUnitCustomSchema: Schema = object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/square/src/models/order.ts:199:14 - error TS2322: Type 'StrictObjectSchema<string, { id: ["id", Schema<string, string>]; locationId: ["location_id", Schema<string, string>]; referenceId: ["reference_id", Schema<string, string>]; ... 25 more ...; rewards: [...]; }>' is not assignable to type 'Schema<Order, any>'.
The types returned by 'map(...)' are incompatible between these types.
Type '{ id?: string; updatedAt?: string; createdAt?: string; source?: OrderSource; customerId?: string; state?: string; metadata?: Record<string, string>; totalTaxMoney?: Money; ... 20 more ...; pricingOptions?: OrderPricingOptions; }' is not assignable to type 'Order'.
Property 'locationId' is optional in type '{ id?: string; updatedAt?: string; createdAt?: string; source?: OrderSource; customerId?: string; state?: string; metadata?: Record<string, string>; totalTaxMoney?: Money; ... 20 more ...; pricingOptions?: OrderPricingOptions; }' but required in type 'Order'.
199 export const orderSchema: Schema = object({
~~~~~~~~~~~
node_modules/square/src/models/orderLineItem.ts:157:14 - error TS2322: Type 'StrictObjectSchema<string, { uid: ["uid", Schema<string, string>]; name: ["name", Schema<string, string>]; quantity: ["quantity", Schema<string, string>]; quantityUnit: [...]; ... 13 more ...; pricingBlocklists: [...]; }>' is not assignable to type 'Schema<OrderLineItem, any>'.
The types returned by 'map(...)' are incompatible between these types.
Type '{ name?: string; note?: string; uid?: string; metadata?: Record<string, string>; catalogObjectId?: string; basePriceMoney?: Money; quantity?: string; modifiers?: OrderLineItemModifier[]; ... 9 more ...; pricingBlocklists?: OrderLineItemPricingBlocklists; }' is not assignable to type 'OrderLineItem'.
Property 'quantity' is optional in type '{ name?: string; note?: string; uid?: string; metadata?: Record<string, string>; catalogObjectId?: string; basePriceMoney?: Money; quantity?: string; modifiers?: OrderLineItemModifier[]; ... 9 more ...; pricingBlocklists?: OrderLineItemPricingBlocklists; }' but required in type 'OrderLineItem'.
157 export const orderLineItemSchema: Schema = object({`
Please help to fix this. I coudn't find anything about square relates to this bug

Hey, I've got the same issue with my project. Could you please upgrade the typescript version & re-check the declaration data: OrderSchema, RefundSchema, TenderSchema, ...

Another option is to try using the skipLibCheck option. This Stack Overflow answer provides some further details about why it can be useful.

well,  skipLibCheck  is just used for .d.ts files. It's not helpful in this case, when you want to import some interface from it, like this:
import {   CatalogItem,   Client,   Environment,   SearchOrdersRequest,   UpdateOrderRequest,   UpsertCatalogObjectRequest, } from 'square'; import { ConfigService } from '@nestjs/config'; import { CreateOrderRequest } from 'square/src/models/createOrderRequest'; import { ApiResponse } from 'square/src/core';

hey @ducthang310,
It's been a while, and I was just wondering if you are still running into this issue with the latest Square SDK and Nestjs?

I am going to close this issue for now, but if anyone in the community comes across this and seeing similar errors and can provide more information, please feel free to re-open!
Cheers!


Issue with k8s.io/docs/tasks/extend-kubernetes/http-proxy-access-api/

This is a Bug Report

Problem:
kubectl create deployment node-hello --image=gcr.io/google-samples/node-hello:1.0 --port=8080
gives:
Error: unknown flag: --port
See 'kubectl create deployment --help' for usage.
Proposed Solution:
I cannot find anywhere when and who deleted that "--port" option, so I have no idea how to it properly.
Page to Update:
https://kubernetes.io/...

kubectl version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15T16:58:53Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15T16:51:04Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

There is a problem with this PR change. We are still in version 1.18, and there is no --port flag. It is a feature introduced in 1.19.Do you need to fix this version? @tengqm
/language zh
/kind bug

No, thank you, it's good. Closing.
https://github.com/kubernetes/website/pull/22433/commits/621e5e72362184411ee9c0ad3f287f3cafa91419


how to pause or resume

dear sir,
thank for great plugin,
how to implement pause, resume and stop scanning?

Hi,
It's not possible for the moment to do that.
But normally it doesn't take too much time to scan.
What's your use case please?


Made RouterElement a struct, moved Cookies to new file

Description
RouterRequest had a Cookies class on the bottom of the file. We are surfacing that class to the module.
Motivation and Context
#394
How Has This Been Tested?

TestCookies.swift

Checklist:

[ ] I have submitted a CLA form
[ ] If applicable, I have updated the documentation accordingly.
[ ] If applicable, I have added tests to cover my changes.

This change is

We can keep this as a PR if you want. Just tag the issues in the #348 epic that this covers.

Sure, I was about to do that- but I don't think I see any issues linked on #348 that are relevant.

I think this is invalid given our discussions.


info argument for Resolver as optional

Hi
Is there a config in yml or any other way where I can have info argument as optional in the generated types from resolvers?
I am having trouble to write some tests where it's complaining about not providing info but somehow it doesn't complain in the actual Resolver function for Query.
Thanks

@kamilkisiela can you please take a look?

TypeScript doesn't complain in the actual resolver function because all arguments are there, you just don't use them. The resolver function has 4 arguments that are always defined so if you want to test the resolver function, TypeScript requires from you to provide all, even GraphQLResolveInfo.
That's 100% correct because that's what graphql expects and TS wants to make sure you pass everything correctly.
Of course, you as a developer knows that the resolver function uses only first two arguments, no context, no info so from your perspective only those two are non optional.
Please take a look at this issue:
https://github.com/dotansimha/graphql-code-generator/issues/2124#issuecomment-517210839
@dotansimha I guess we could export a similar function in typescript-resolvers package so everyone could use it and it could be always up to date with codegen's output.

It can be done now with optionalInfoArgument: true (in recent versions)


Some exif data is corrupted after using insert()

Thanks for the work,
I want to modify exif orientation, which I'm able to do for most images, but for some images some exif data (like "Make", "Model", "X-resolution", "Y-resolution") gets corrupted or lost.
So I tried to compare exif objects before and after modification on those problematic images, but when I try to get exif object using load() after inserting modified exif, I'm getting this error:
Uncaught 'unpack' error. Mismatch between symbol and string length. 2:0.
If I just take the inserted jpegData and create a blob out of it, some of exif data becomes corrupted:
Before:

After:

Here is the code that I used:
function modifyOrientation(file) {

  var reader = new FileReader();

  reader.onload = function(e) {

    var origDataUrl = e.target.result;
    var exif = piexif.load(origDataUrl);
    console.log(exif);

    exif['0th'][piexif.ImageIFD.Orientation] = 1; // modifying orientation
    var dump = piexif.dump(exif);
    var inserted = piexif.insert(dump, origDataUrl);

    var modifiedExif = piexif.load(inserted); // <== error thrown here
    console.log(modifiedExif);

    debugger;
  };

  reader.readAsDataURL(file);
}

and here is the sample image:

Thank you. Fixed it.

Great, when are you going to publish 1.0.3 release?

Done : )


Layer shape compatibility check

Add utility for checking compatibility of layer input / output shapes in stack operation

This would especially be useful for  making sane error output for end users


Extension not called in production mode.

I'm submitting a ...  (check one with "x")
[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request

Current behavior
I have a hooks extension whose job is to convert the hook function from strings to actually FormlyHookFn.  This is done during the prePopulate() method. This works fine during development build. However, if compile in production, the extension's method is never called.
Expected behavior
Work the same in production mode as development
Minimal reproduction of the problem with instructions
export const FieldHooksExtension: FormlyExtension = {
prePopulate(field: FormlyFieldConfig) {
try {
const toHookFunctions = (options: object = {}) => {
let hookFns = {};
_keys(options).forEach((option) => {
hookFns[option] = _isString(options[option])   ? Util.toFunction(options[option]) :
_isFunction(options[option]) ? options[option] : null;
});
return hookFns;
};
        // Since we cannot store hook functions directly in our JSON, we will need to convert
        // strings to functions.
        field.hooks = toHookFunctions(field.hooks);
    } catch(e) {

    }
},

onPopulate(field: FormlyFieldConfig) {},
postPopulate(field: FormlyFieldConfig) {}

};
In the main module, it is then added as follows...
FormlyModule.forRoot({
extensions: [
{
name: 'field-hooks',
extension: FieldHooksExtension
}
],
...
What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Angular version: 8.0

Browser: all

Language: [all | TypeScript X.X | ES6/7 | ES5]

Node (for AoT issues): node --version =

I need a reproduction repo for this :pray:

I will try, but I need some time. I am in crunch time...

FormlyModule.forRoot is called only once. However, it is called in a custom angular library. The main application then imports that library module

It turns out that the extension was not properly being registered in production mode.
FormlyModule.forRoot({
extensions: [{name: 'field-hooks', extension: FieldHooksExtension}],
...
})
HAD TO CHANGE:
export const FieldHooksExtension: FormlyExtension = {
prePopulate(field: FormlyFieldConfig) { ... }
}
TO:
export function prePopulateFieldHooks(field: FormlyFieldConfig) { ... }
export const FieldHooksExtension: FormlyExtension = {
prePopulate: prePopulateFieldHooks
}

FormlyModule.forRoot is called only once. However, it is called in a custom angular library.

Note,forRoot should always only be called in the AppModule. That's a common pattern in Angular and important to follow to avoid misbehavior 😃

NgxFormly was not imported into main app module directly; the main app only needs to import the custom angular library.

HAD TO CHANGE:
export const FieldHooksExtension: FormlyExtension = {
prePopulate(field: FormlyFieldConfig) { ... }
}
TO:
export function prePopulateFieldHooks(field: FormlyFieldConfig) { ... }
export const FieldHooksExtension: FormlyExtension = {
prePopulate: prePopulateFieldHooks
}

or use the following way:
export function fieldHooksExtension(field: FormlyFieldConfig) {
  ..
}

@NgModule({
  imports: [
    FormlyModule.forRoot({
      extensions: [
        { name: 'field-hooks', extension: { prePopulate: fieldHooksExtension } },
      ],
    }),
  ]
})

that's an angular limitation which we hope the next ivy solve it!


Makefile test case about the bug fix with "@,-,+" colorizing in the recipe

I updated make.tmbundle, there is a little bugfix. So need to update test cases in VSCode.
Bug: regex [@-+] means "from @ to +", so "." and "" was also colorized.
Bug is fixed in make.tmbundle, test case is added to vscode.

Test cases will pass after grammar update!


fix missing rego/json toggles

Description
connected to #50 this somehow skipped a couple of the json/rego toggles. it's now there and double checked, not one-checked.

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate)

Types of changes

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes if appropriate.
[ ] All new and existing tests passed.

@ebeuerle that's the one regarding the comment I just added to #50
Thanks!

@ebeuerle that's the one regarding the comment I just added to #50
Thanks!

No worries.. Thanks!

No worries.. Thanks!


Rate login solutions

As a login PO/PM I need a feedback from development teams regarding the login solutions that have been evaluated.
Acceptance criteria

The received document has been filled and returned

Tasks

[x] ~Evaluate javascript sample.~
[x] Fill received document.
[x] Return document to the GD.

Done and sent.


Alpha Wallet doesn’t connect after OTP code entered and signing on mobile browsers.

name: Bug Report
about: Using AlphaWallet, but it's not working as you expect?

Describe the bug
Alpha Wallet doesn’t connect after OTP code entered and signing on mobile browsers.
Steps to reproduce (REQUIRED)

Open Hotel Bogota Example Dapp
Click Book button
Click Use token button
Enter OTP code and Confirm
Click Wallet Connect
Click Alpha wallet and connect to wallet
Sign in wallet
Open browser

Browser: Safari, Edge+ios
App Area: token negotiator
Expect
Redirect page closed and Bogota site opened with payment modal and Pay Now button.
Observed
Attestation stuck in redirect page
Screenshots
https://user-images.githubusercontent.com/233818/219018783-c093b939-0100-4d49-a179-49cf7523c2ed.mp4
Version or build number number
iphone xs max, ios 16.3, AlphaWallet 3.61

@huweihong thanks!

@oa-s this is the other one.

checking

@oa-s can you try to reproduce it with the App Store version? But I’ll do a TestFlight too

i am not quite sure, that it works for me in prod, web page stucks for me, and can't access to the attestation page, tried in safary and web browser as well
https://tokenscript.github.io/token-negotiator-examples/hotel-bogota-passive-negotiation-website/

Oh. Anything we can fix? Is it a bug in AlphaWallet?

in appstore version attestation doesn't work, that is fixed i guess with latest version.

Ah ok. Yeah. Thanks.

@oa-s if you want me to check, would you help let me know exact steps to reproduce? Couldn't figure it out.

Yes, please

Would you help share exact steps to reproduce? I can't figure it out :)

@hboon
Steps to reproduce (REQUIRED)

open safari on simulator or real device
Go to ticket issuer to create a ticket https://tokenscript.github.io/token-negotiator-examples/ticket-issuer-url-website/
Open https://tokenscript.github.io/token-negotiator-examples/hotel-bogota-passive-negotiation-website/
Click Book
Select Ticket and complete Attestation
Click WalletConnect v1
Scan QR code and confirm in Alpha wallet
Sign eip712 message

let me know if you need some other details

I see this after the WalletConnect connection and click the "PAY NOW" button:

I thought I signed the EIP712 message. But I'm not sure.
What do you see when there's an error?
Tested with macOS Safari + AlphaWallet on device (current TestFlight)

after appearing this popup Deluxe room, tap on ticket. to open attestation initialization

you should see something like this

Yes. That works for me. I used macOS Safari

Do you have the option that blocks pop up enabled maybe?

not clearly understood, what popup do you mean?

Near the bottom. There's a similar setting for macOS. Is the site trying to open a new window (pop up)?

Yes, got it enabled too

if i am not mistaking there is an error in this popup,

it should be reloaded after we sign a message, but when we reload page it reloads all entire window, that cause starting attestation again

because on our side we only sing a message and return response, that all we do.

Hi @huweihong,
I tried to reproduce the issue, but I get this on macOS and iOS:
macOS:

iOS:

This is when it's successful right?
Vlad was able to reproduce it earlier. I can sometimes too.
Just to be sure, is the issue where mobile Safari displays this message?

If you are using AlphaWallet with WalletConnect, please launch the AlphaWallet app

like this:

If I manually switch to AlphaWallet app, the signing request did go through:

I notice that the URL in mobile Safari is this:
https://outlet-stage.brandconnector.io/#evtid=1677150873255&action=get-proof&token={"devconId"%3A"6"%2C"ticketIdNumber"%3A1235%2C"ticketClass"%3A1%2C"commitment"%3A{"0"%3A4%2C"1"%3A5%2C"2"%3A186%2C"3"%3A85%2C"4"%3A76%2C"5"%3A46%2C"6"%3A91%2C"7"%3A233%2C"8"%3A224%2C"9"%3A120%2C"10"%3A97%2C"11"%3A26%2C"12"%3A98%2C"13"%3A71%2C"14"%3A80%2C"15"%3A79%2C"16"%3A167%2C"17"%3A76%2C"18"%3A118%2C"19"%3A92%2C"20"%3A128%2C"21"%3A242%2C"22"%3A225%2C"23"%3A154%2C"24"%3A91%2C"25"%3A35%2C"26"%3A11%2C"27"%3A204%2C"28"%3A117%2C"29"%3A53%2C"30"%3A151%2C"31"%3A204%2C"32"%3A16%2C"33"%3A25%2C"34"%3A66%2C"35"%3A224%2C"36"%3A194%2C"37"%3A109%2C"38"%3A196%2C"39"%3A200%2C"40"%3A207%2C"41"%3A218%2C"42"%3A182%2C"43"%3A58%2C"44"%3A163%2C"45"%3A53%2C"46"%3A156%2C"47"%3A237%2C"48"%3A214%2C"49"%3A38%2C"50"%3A105%2C"51"%3A250%2C"52"%3A79%2C"53"%3A126%2C"54"%3A187%2C"55"%3A199%2C"56"%3A174%2C"57"%3A13%2C"58"%3A120%2C"59"%3A45%2C"60"%3A121%2C"61"%3A167%2C"62"%3A213%2C"63"%3A185%2C"64"%3A56}}&token={"devconId":"6","ticketIdNumber":1235,"ticketClass":1,"commitment":{"0":4,"1":5,"2":186,"3":85,"4":76,"5":46,"6":91,"7":233,"8":224,"9":120,"10":97,"11":26,"12":98,"13":71,"14":80,"15":79,"16":167,"17":76,"18":118,"19":92,"20":128,"21":242,"22":225,"23":154,"24":91,"25":35,"26":11,"27":204,"28":117,"29":53,"30":151,"31":204,"32":16,"33":25,"34":66,"35":224,"36":194,"37":109,"38":196,"39":200,"40":207,"41":218,"42":182,"43":58,"44":163,"45":53,"46":156,"47":237,"48":214,"49":38,"50":105,"51":250,"52":79,"53":126,"54":187,"55":199,"56":174,"57":13,"58":120,"59":45,"60":121,"61":167,"62":213,"63":185,"64":56}}
The way WalletConnect works in this case is like this:
Dapp request to sign a message using WC library and:

WC library routes the request through their server/WC session
AlphaWallet listen to the session and picks up the signing request and display the signing request but it can't switch to the app
WC library follows step (1) immediately by visiting in the browser the URL "https://aw.app/wc"
iOS sees https://aw.app/wc and knows that AlphaWallet has registered it as a deeplink which it will handle so iOS switches over to iOS app (so the user can see the signing request)

Do you know if we are doing anything special in step (3) which causes it not to work? Because in the screenshot for https://outlet-stage.brandconnector.io/… URL above, it seems like the "https://aw.app/wc" is embedded, I don't think that will let iOS do step (4). But I don't understand why it seems to work sometimes.
Tagging @foxgem as I think he face a similar issue earlier working on this?

Refer to https://github.com/AlphaWallet/attestation.id/issues/161


Playing multiple bots starts two individual games

I am trying to run one bot against another bot and two separate games start instead of one game with two bots.  I am running on Mac/OSX.
Below is the code that does not work (running identical bots against each other):
# mybot is a functional bot and is known to work, however, this starts two games instead of a single game
run_game(maps.get("AbyssalReefLE"), [
        Bot(Race.Protoss, mybot),
        Bot(Race.Protoss, mybot)
    ], realtime=is_realtime, save_replay_as=replay_path)

I have looked at issue #136 which states that this may not work with all versions of starcraft - my version is: <IP_ADDRESS>326 (which I believe is reasonably current) and think it should work with this version.
Is there something else I need to do to make this work?

Also confirmed that example program, "bot_vs_bot.py", also has same problem.
    from zerg.zerg_rush import ZergRushBot
    run_game(maps.get("Abyssal Reef LE"), [
        Bot(Race.Zerg, ZergRushBot()),
        Bot(Race.Zerg, ZergRushBot())
    ], realtime=False, save_replay_as=replay_path)

I think this is my mistake... It looks like this is the desired behaviour (one bot in each instance of startcraft)


Update gnark-crypto to v0.11.0

📝 Summary
Update's gnark-crypto the new version that was just released.
⛱ Motivation and Context
There are some notable bug fixes in this release.

✅ I have run these commands

[x] make lint
[x] make test
[x] go mod tidy

Closing in favor of dependabot.


Team Mars Task 2 Preferences

Option 2
Option 3
Option 4
Option 1
Also Safi Hoque is a part of our group.

thanks


RFC: 4.x releases

Context
Now that we've got a release pipeline back in action, there is lots we can do to make things nicer.
I am raising this issue in order for community to gather and talk about what should be fixed as priorities and what improvements we want to add.
Known Issues
We know there are several areas we want to improve:

We want to thin out dependencies where possible - prefer giving a ready container but not be biased on how you should connect to the container. Example: postgres containers enforcing SqlAclhemy, as seen in #445
We want to improve package typing so people have better developer experiences, as seen in #305 and the PRs it spawned so far
Adding new containers, as there is demand for it #439, #441, #389, etc

[!NOTE]
The list above is not conclusive, please comment on this issue and show your support!

@totallyzen  PS: I just checked for an M1/M2 GitHub runner. It is actually available since January 2024.
But it comes without a Docker installation and has other quirks. I just did a proof of concept with it: because of the mentioned issues I was not able to run the tests in the pipeline.

Revise documentation after the poetry workflow change. Most of the docs refer to the previous workflow.

Correct usage/mental model of extras and community modules. I get the desire for keeping dependencies low. I think the downside of not including a client dependency is while you can verify that the container is running, you can't verify that the connection details you might return are valid for the eventual client. Some want a full uri, others perhaps host and port. Or maybe I didn't expose the correct port etc.

I'm the committer on https://github.com/testcontainers/testcontainers-python/pull/439 There is AFAIK on one supported python client to interact with NATS, so it seems natural to include it. I could take or leave any approach.

Might be more appropriate to get that in a 5.x.
AFAIK ARM runners aren't generally available yet - https://resources.github.com/devops/accelerate-your-cicd-with-arm-and-gpu-runners-in-github-actions/ . Not sure you'd want to correlate ARM with MAC OS.
In general not too difficult to get that working with github actions using a matrix - https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#using-a-matrix-strategy

Yes, I agree here. I was not aware of the general ARM runner approach.
And yes, it quite straight forward to achieve this with a matrix. I already did a little POC: https://github.com/max-pfeiffer/testcontainers-python/pull/3

@max-pfeiffer thanks for the summary on mac! It helps a great deal indeed to know!
For the matrices, I think you'll find it that I've used them extensively in this project already.
We can easily add a PoC PR that piles up all the fixes for MacOS, Windows and ARM and I'm glad there are people who care about this! :)
For me I'm running on a vanilla Ubuntu and not an ARM machine so as you might imagine, testing can be kinda difficult. I also have a young child so time is limited sometimes. If you find me responding somewhat slowly, this is why (managing energy and time).

@bearrito Good points overall, I started on the documentation for CONTRIBUTING.md and update the issue templates so we can communicate how things fit together. I'll add all the current active members to that PR as a reviewer so you can have your say! :slightly_smiling_face:
As for "what about auto-including clients" I think I am gravitating towards "let's add them as dev dependencies to prove the clients are working, but don't enforce it in live dependencies". This way we can show the users how we intended to use it, without enforcing the specific library (even if there is only one right now).
Deal?

I'll check with @kiview on giving you both some level of permissions so you can auto-run some tests yourself on PRs. Not write permissions, just so that your PRs get auto-approval for the GH runs. Same goes for @jankatins as he is also actively contributing with other things!
I think with your dedication and activity you have earned it.

@totallyzen  Deal. I implemented what I think should be satisfactory in a new pr at https://github.com/testcontainers/testcontainers-python/pull/462/files. That could be an overall good approach to managing clients.

found another good fix to get merged #457 for 4.0.x

alright im unsubscribing from notifications from this repo for half a week - its too much - so many people are so busy pushing commits and updating the project with feedback. good job everyone :+1:

what if we only maintained semver for core, and we treated all community changes as "fix"?

Maintaining a module ecosystem in itself complex and we have explored different options for this in the past (monorepo vs multirepo, synced versioning, etc.). Since tc-python currently follows the monorepo approach for its modules, they are released as part of a synchronized release job, together with a synchronized version (even if certain modules won't contain changes themself).
For other languages we learned, that this is generally an easy process, not without its drawbacks, but straight forward to maintain.
However in this case, I agree with @alexanderankin that changes in the modules should not be able to significantly contribute to the semver version of core, since I would assume this to be counterintuitive for the majority of users.

@totallyzen @santi any objection to this idea which i have proposed above:

what if we only maintained semver for core, and we treated all community changes as "fix"?

@totallyzen @santi any objection to this idea which i have proposed above:

what if we only maintained semver for core, and we treated all community changes as "fix"?

Having looked through how things are done in tc-java, it seems like they are following the approach with updating (including breaking changes) in community modules as fix/patch changes. At least that's what I gather from this example, where they make breaking changes to the mysql module, which was later released as part of the 1.19.4 patch.
So yes, you have my support. If we were to follow semver for all community module changes we would release a lot of major versions rapidly, which would be like shouting "wolf, wolf" repeatedly and users would stop thinking of that as "dangerous territory" / likely requiring a small code fix.

:wave: Gotcha! Agreed then, I'll document it in #460 to let users know that we guarantee best-effort semver for community modules.

cosmos, went out in 4.7.0, cockroachdb also released. for 4.8.0:
fixed dind tests in #622 - going to hopefully also fix dind there and then scylla, BQ, and the others from my last comment - https://github.com/testcontainers/testcontainers-python/issues/446#issuecomment-2060940820


task creation does not complete

From time to time the task creation timeouts. The task seems to be created fine in the cloud but never ready for TF

terraform {
    required_providers {
        iterative = {
            source = "iterative/iterative",
        }
    }
}

provider "iterative" {}

resource "iterative_task" "tpi-examples-basic" {
    name      = "tpi-examples-basic"
    cloud     = "az"
    region    = "us-west"
    machine   = "Standard_D2S_v3"
    spot      = 0
    directory = "."

    environment = {
        EPOCHS = 1
    }

    script = <<-END
    #!/bin/bash
    sudo apt update && sudo apt-get install -y software-properties-common build-essential python3-pip
    python3 --version
    pip3 install -r requirements.txt
    python3 train.py
    END
}

It would be really helpful if you could provide TF_LOG=INFO terraform apply logs when this happens.

Does this also happen on Azure?

That example is azure indeed.

🤦🏼♂

This issue is fun and is created in many ways.

It may happen for deadline timeout
╷
│ Error: write error: -> github.com/Azure/azure-pipeline-go/pipeline.NewError, /iterative/terraform-provider-iterative/vendor/github.com/Azure/azure-pipeline-go/pipeline/error.go:157
│ HTTP request failed
│
│ Put "https://66sv8j5mfp591uvv.blob.core.windows.net/66sv8j5mfp591uvv/data/vendor/github.com/moby/spdystream/handlers.go?blockid=7YjBIIroTXqN0cNHioWeLwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA%3D%3D&comp=block&timeout=1": context deadline exceeded
│
│
│   with iterative_task.task,
│   on main.tf line 11, in resource "iterative_task" "task":
│   11: resource "iterative_task" "task" {
│

when timeout in spot:

│ Error: storage.BlobContainersClient#Get: Failure sending request: StatusCode=0 -- Original Error: context deadline exceeded
│
│   with iterative_task.tpi-examples-basic2,
│   on main.tf line 43, in resource "iterative_task" "tpi-examples-basic2":
│   43: resource "iterative_task" "tpi-examples-basic2" {
│
╵

this can be found also in the official azure terraform provider

One thing @0x2b3bfa0 that I have noted is that the provider is not honouring the timouts

the provider is not honouring the timeouts

🤔 We don't enforce them beyond context deadlines, and behavior is specific to the provider's API. Does it happen on every cloud?


should we hide allele details by default?

https://github.com/pombase/website/issues/1174
Should we hide allele details by default and have  two levels of showing detail instead?
show "allele details" and "show all" at the top of the sections.
Maybe we could do a mini-survey to see what people would prefer here?
We could begin by asking Jurg/Mata lab and the advisory board?

Lets say no for now. Can always revisit.


Tool to comment text

Tool to comment selected text in Toolbar

Hi @SmartManoj!
Please be more specific. What do you mean by "comment selected text"? Maybe you want to use r? It's a keyboard shortcut to copy the selected text into a new comment as a quote.

r not working

kbd tag also missing in toolbar

Also classify the userscripts as categories in ReadMe

Almost all of those suggestions have already been implemented in GitHub Comment Enhancer - it's been deprecated, but I believe it still works.

classify the userscripts as categories in ReadMe

They are all classified, sort of, on the main wiki page.
r is GitHub's built-in shortcut. It's working for me in Chrome (as you can see above), but if it's not working in your browser, then I would contact GitHub.

r is GitHub's built-in shortcut.

Then How to type r

comment to <!-- comment -->

I meant html comments


Add LoggingClient to GrpcClientTest to log failures, which can be us…

…ed to investigate unexpected failures.
Also share some common code to fix cancellations not having cause logged.
To help investigate #822

https://ci.appveyor.com/project/trustin/armeria/build/master.1673#L2380 Got some clues? :-)

Oops - nope, I needed to decorate the client, not the server, since it's a client test!

Thanks, @anuraaga


New internal endpoint for Trial instances expiration

Description

The issue is an improvement request created after resolving https://github.com/kyma-project/control-plane/issues/3024. Kyma Environment Broker should have a new internal endpoint for handling the expiration of Trial instances.
Reasons

New endpoint will encapsulate the instance expiration process. The process flow will be clear and serve just the purpose of expiring instances with Trial plan instead of mixing processes of the instance update and instance expiration, as it is now in the instance update endpoint. The new endpoint can be set as an instance expiration request target in Trial cleanup Job.
AC

[x] 1) New endpoint designed for expirations only, called only by trial-cleanup-cronjob. Adjust documentation about this job. Document how expiration works, and how active=true/false works. https://github.com/kyma-project/kyma-environment-broker/pull/142
[ ] 2) Find a way and create "e2e" tests for cronjob and new endpoint. If KEB or cronjob has a change then the test should be executed. https://github.com/kyma-project/kyma-environment-broker/pull/234
[ ] 3) Cleanup existing update endpoint from expiration logic. ! We still need to keep some things about that !
[ ] 4) Include the new endpoint external request test in KEB's endpoints test.

Trial expiration endpoint proposal
Sending a request triggers a Service Instance with Trial plan expiration. KEB sets ERSContext.active field to false and expiredAt to the the current local time (request processing start time). KEB creates a suspension operation to keep the record of the instance in the database until the instance's owner triggers the instance deprovisioning. The instance cannot be unsuspended.
Request
Route
PUT /expire/service_instance/:instance_id
:instance_id MUST be the ID of a previously provisioned Service Instance with Trial plan.
Response

Status Code
Description

202 Accepted
Returned if the Service Instance expiration is in progress.

400 Bad Request
Returned if the request is malformed or missing mandatory data.

New endpoint designed for expirations only, called only by trial-cleanup-cronjob. Adjust documentation about this job. Document how expiration works, and how active=true/false works.

PR: https://github.com/kyma-project/kyma-environment-broker/pull/142

Trial suspension E2E test: https://github.com/kyma-project/kyma-environment-broker/pull/234

New endpoint will replace the expiration flow in update endpoint in the next release: https://github.com/kyma-project/kyma-environment-broker/pull/280. Closing the issue.


The nonlinear model of a PMASyR machine

The nonlinear model for the 5.5-kW PM-SyRM (Baldor ECS101M0H7EF4) has been added to the examples in the flux_vector folder.
Also the experimental current to flux maps have been uploaded in the file named "ABB_400rpm_map.mat".
The maps obtained experimentally and with the fitted model are compared.
The control system used does not take into account the saturation of the machine.

Forgot to say that @all-contributors please add @Francesco-Lelli for examples and ideas as well


SDK Sync - Bump for ed180a9 - v0.4.0

Overshadowed by https://github.com/Modern-Treasury/modern-treasury-python/pull/12


Update jupyter server command

jupyter serverextension has been deprecated. I noticed this while working with a new QIIME2 installation:
(qiime2) yoshiki:~$ jupyter serverextension enable --py qiime2 --sys-prefix
usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]
               [--paths] [--json] [--debug]
               [subcommand]

Jupyter: Interactive Computing

positional arguments:
  subcommand     the subcommand to launch

optional arguments:
  -h, --help     show this help message and exit
  --version      show the versions of core jupyter packages and exit
  --config-dir   show Jupyter config dir
  --data-dir     show Jupyter data dir
  --runtime-dir  show Jupyter runtime dir
  --paths        show all Jupyter paths. Add --json for machine-readable
                 format.
  --json         output paths as machine-readable json
  --debug        output debug information about paths

Available subcommands: dejavu events execute kernel kernelspec lab
labextension labhub migrate nbclassic nbconvert notebook run server
troubleshoot trust

Jupyter command `jupyter-serverextension` not found.

The correct command is now jupyter server extension ....

looks great, thanks for catching this @ElDeveloper!


linux router - require ctrl address

The linux router shouldn't generate a config unless the ctrl address is provided. The ziti default is the hostname which is unlikely to match the controller's DNS SAN in prod environments.

For Linux routers, only the ctrl endpoint address should be required to generate the router config. The other inputs can have defaults: router address (localhost) and port (3022), and ctrl port (1280).
I estimate the correct ctrl address matching its DNS SAN has a low probability of being "localhost" or hostname.
If the default value for any of the other answers is incorrect the fix is to edit the config.yml and bounce the service. The router will auto-renew its certificate with the new DNS SAN.


Automatic package updater

Updating packages manually is tedious, so having a way of doing this automatically will be great for keeping govuk-guix up-to-date with new package releases.
This will be easier once #6 is completed, as that will provide a way of computing the expected hashes for the bundler packages.

Done in e40d1921ced08118adfbe7ed4f76d20ba0c3be04 and f93efcdfd241d80c47c0577c76b420f79d71a50f.

This has been done in 9d1173ed09d27fda2ddbf2a2ecdaeb42486499c7 with the addition of the govuk refresh command.


The accuracy of your teacher model

Hello,
Thank you for your nice work!
I would like to know the models of the teacher networks used for each dataset (CIFAR-10, CIFAR-100, Tiny ImageNet, ImageNet1k) and their corresponding validation accuracies. This information would be very helpful for understanding the baseline performance.
Thank you!

hi there,
thx for your interesting!
The teacher model used for cifar-10/100 is convnet-w128, just the same settings as the previous work mentioned in the related works (DM, MTT, Tesla etc.).
Also, for imagenet-like datasets, their teacher models are resnet families (18-50-101).
The Acc. is listed in our exps tables marked as “whole datasets”.
You could find more details and supplementary materials in our arxiv’s paper.
---- Replied Message ----
@.>Date09/30/2024 08:22 @.> @.>Subject[suduo94/D4M] The accuracy of your teacher model (Issue #7)
Hello,
Thank you for your nice work!
I would like to know the models of the teacher networks used for each dataset (CIFAR-10, CIFAR-100, Tiny ImageNet, ImageNet1k) and their corresponding validation accuracies. This information would be very helpful for understanding the baseline performance.
Thank you!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.>

tips：whole dataset -> full dataset.
Sorry for the mistake :P
---- Replied Message ----
@.>Date09/30/2024 08:22 @.> @.>Subject[suduo94/D4M] The accuracy of your teacher model (Issue #7)
Hello,
Thank you for your nice work!
I would like to know the models of the teacher networks used for each dataset (CIFAR-10, CIFAR-100, Tiny ImageNet, ImageNet1k) and their corresponding validation accuracies. This information would be very helpful for understanding the baseline performance.
Thank you!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.>

Thank you, I got it!


Meltano 2.0 - including deprecations and "Hub-first" approach to plugins

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3292
Originally created by @aaronsteers on 2022-02-26 05:33:49

IMPORTANT:

Please use the ~"v2.0" label for anything that should be "in scope" for the release!
For a full ~"v2.0" burndown list, please use this link.
The timeline of when each ~"v2.0" issue is expected to be picked up is here.
The list of issues with the ~"v2.0" label but no Iteration are here.
The 2.0 Launch Spreadsheet is here

In an effort to move more quickly towards our goal of being the end-to-end DataOps platform, we want to remove some legacy BI features (dashboards, models, and transforms) which are being replaced by open source BI tools such as Lightdash, Superset, and mProve. We also want to make sure the Hub is the primary source of truth, and introduce a hard requirements that all plugin definitions are locked within projects going forward (#3031).
If we bump to a new major version we could trim out these parts of the product which are no longer part of our long-term vision, and at the same time introduce breaking changes around #3031 and #3283 so that we can cleanly migrate to the Hub as source of truth.
Roundup of items which might be good to bucket into a 2.0 release:

#3031
#3283
Remove support for dashboards plugins (https://gitlab.com/meltano/meltano/-/issues/3293)
Remove support for models plugins (https://gitlab.com/meltano/meltano/-/issues/3293)
Move to a revised yaml plugin spec, per https://gitlab.com/meltano/hub/-/issues/203+
Maybe: Remove support for transforms plugins (no issue open yet) and/or migrate to hub.dbt.com packages (#2794).
Disable the auto-add feature which automatically installs transform and model plugins when they match the tap name or namespace.
Maybe: Remove support for env_aliases and replace with settings aliases, per #3209
https://gitlab.com/meltano/meltano/-/issues/3431+
Maybe: #3275
#3218

Cc @tayloramurphy, @afolson, @edgarrmondragon, @pandemicsyn, @kgpayne

Closing as 2.0 was launched.


[llm-load-test] subproject: bump llm-load-test

Bump llm-load-test to include the openai_plugin refactor and dropping of warmup support.

thanks @sjmonson, merging


Populate authenticated user header

Part of https://trello.com/c/6nDCqZXi/729-user-id-into-event-log
This ensures that GdsApi::GovukHeaders.headers[:x_govuk_authenticated_user] is set and repopulated in an sidekiq worker jobs.

Thanks @elliotcm updated.


available_colors catches first character of stdin

Calling stdout.available_colors() before stdin.keys() causes the first character of input to be lost.  Using the keys.rs example,
fn main() {
    let stdin = stdin();
    let mut stdout = stdout().into_raw_mode().unwrap();

    // Add available_color() here.
    let colors = stdout.available_colors();

    write!(stdout,
           "{}{}q to exit. Type stuff, use alt, and so on.{}",
           termion::clear::All,
           termion::cursor::Goto(1, 1),
           termion::cursor::Hide)
            .unwrap();
    stdout.flush().unwrap();

    for c in stdin.keys() {

The first character typed will be lost. Full source of example attached.
main.rs.txt

I can reproduce but I'm not really sure why it's happening.
In theory, available_colors() only reads up to a BEL (from the terminal answer) and this should all happen before any user input.
What's weird is in this example colors has a value before any key was pressed by the user, so available_colors() must have terminated.
Why does stdin ignore the first input then?
I would understand if this was data lost from stdin because it predates the call to available_colors() (it would be similar to #64 then), but this more mysterious.

Additional info: It will catch the first byte, of the input. Pressing F1 in this case will catch the escape and return '[11~' instead of '^[[11~'.
Thank you for the help!

Indeed. Using gdb shows that the very call to StdIn.next() skips the first byte. So the problem apparently happens before the byte is even sent to the application, as if the terminal itself was handling the first byte differently.

if reading the byte wasn't blocking, we wouldn't need an AsyncReader at all

Well then we might as well go the route proposed in #7 and do actual O_NONBLOCK operations.


where is TEMPLATED_DOCS_LIBREOFFICE_PATH for MAC?

Templated-docs version: 0.3.1
Python version: 3.5
Operating System: osx 10.12
OpenOffice5.3

Description
Hi, I am trying to test this package on local mac machine.  I found that it needs pylokit
from pylokit import Office
But it seems pylokit only support linux.
[https://github.com/xrmx/pylokit/blob/master/pylokit/lokit.py]
What I Did
I am trying add:
`/Applications/OpenOffice.app/Contents/program` in TEMPLATED_DOCS_LIBREOFFICE_PATH,
but there are no `TARGET_LIB = ("libsofficeapp.so", "libmergedlo.so")`,
in mac, there is only  `libsofficeapp.dylib`.
I do not know how to set TEMPLATED_DOCS_LIBREOFFICE_PATH for environment var.
Any suggestions?

Hi!
As far as I know, LibreOfficeKit (the LibreOffice bridge to interface it from within other programs) works only on Linux. If you have some evidence LibreOfficeKit works on Macs too, please let me know. I think, we could ask pylokit's author then to incorporate the OSX support into the library.

A relevant ticket to track: https://github.com/xrmx/pylokit/issues/10

Please note that LibreOfficeKit is needed only to convert from one format to another, i.e. from odt to docx/pdf or such.
If you don't need this, the template engine works. Then, if you are on mac OSX, as a workaround, you can use either UNO or simply invoke
/Applications/MACOSXpath/soffice --invisible --headless --convert-to pdf --outdir /tmp/spool <FILENAME>
with a dirty system call :)

@zontarian thanks for a tip! You're absolutely right. If there's no need to convert a document to another format, we don't even try to mess with that LOKit stuff.
As a side note - we have a project running against an UNO-based solution. It mostly works, though it's much slower and crashes randomly several times a month, so we have to have a sentinel in place. Command-line approach works great for ad-hoc operations, since the cold LibreOffice startup takes too much time for a web-based solution.
Just my two cents.

@alexmorozov you are right. We too experimented with UNO for performance issues, but in the end, for one off requests, the difference in time was not noticeable, and the stability of a direct invokation is greater.
But in the end we will deploy to Linux, so we are just using this kludge to be able to develop and test on MacOSX. Great work, thanks!


[Bug]: Mailpit template should expose smtp port

Error Message and Logs
The mailpit template exports the web dashboard port but not the actual smtp port (1025). i.e It's missing a:
    ports:
      - "1025:1025"

Steps to Reproduce

Add mailpit as a service
Try to connect to it using telnet

Example Repository URL
No response
Coolify Version
v4.0.0-beta.360
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 24.04.1 LTS
Additional Information
No response

I deployed the service yesterday, and I can confirm this is a problem.


Dcos custom label fix

I missed a couple changes that came in after Dcos 1.9 PR was started. in the PR.

@JackQuincy,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@acs-bot please test this

@acs-bot test this please


Bug: Wrong install URL shown after selfupdate

Bug report
After updating sdkman itself, a message is shown:
To join our BETA channel, simply follow the instructions on:

   http://sdkman.io/install.html

Enjoy!!!

However, that URL is 404 – only the version without the .html at the end works.
To reproduce
Update sdkman. Try opening the shown URL.
System info
Ubuntu 20.04 – but I don't think this is relevant for this bug :wink:

Hi @hho, thanks for that tip! This error is actually not in the CLI, but in the sdkman-hooks project. I'm moving this issue to the appropriate project.
Also, feel free to raise a PR for this. It's a very easy one and it would be great to have you contributing too! The two affected files are install.scala.txt and selfupdate.scala.txt.


iOS app rejected after adding this plugin

After adding this plugin, my iOS app gets rejected when I try upload it to iTunes Connect because of missing NSCalendarsUsageDescription.  I didn't have this issue until I added this plugin.  Apparently this was a problem with an older version of Admob SDK and the required permission was removed in version 7.11.0.  I don't have the problem when I use the AdMob plugin, only when I use the AdColony mediation plugin.

@moldstadt you need to include in plist:
NSAppTransportSecurity

NSAllowsArbitraryLoads

NSAllowsArbitraryLoadsInWebContent

LSApplicationQueriesSchemes

fb
instagram
tumblr
twitter

NSCalendarsUsageDescription
Adding events
NSMotionUsageDescription
Interactive ad controls


Fix the issue "Cannot Scan Barcode Horizontally after 2.2.0 updates [iOS]"

My iOS app is using Xamarin Forms and using the ZXing.Net.Mobile.Forms. And the app just allow portrait orientation. Also I have tried the sample that your provided.
After these trying, found this issue:
The scanning cannot recognized the barcode at horizontal, but it work on vertical.
After Investigation, seems the problem occur after version 2.2.0 [ZXing.Net.Mobile] updates which make this happen. Even using MobileBarcodeScanningOptions.TryHarder, it is still not work.
#544

This is fixed in master now, sorry for the trouble.


score without prompt

Hi, thanks for the great work!
Just wondering is ImageReward able to score a single image without prompt? For example, something like the aesthetic predictor.
Thanks!

It's a good question that we haven't explored carefully enough. In our experience, you can use some prompts such as "a nice/beautiful/intricate picture/painting" for scoring.


Add screenshot of project in README file

I am gssoc contributor and want to add screenshot of project to help other people to understand the project.

/assign

@Ashish4321-hub if u want to contribute then contribute to the project.


New lemmatizer resource format

New lemmatizer resources format, according to spaCy maintainers proposal.

Hey Guys,
Do you have any clue when polish lemmatizer will be available? I believe that whole Poland is waiting for the results of your great work!


[Internal] Variable storage

Closes #16129
Adds a variable storage for storing random names and retrieving them in future tests.

After #16355  is merged, I will prepare this for release and merge.


Functionality not correct for 1 model & 2 diagnostics

Hi there
I have just tried to run rosesnip for one model (u-az513) and two diagnostics, tas_global and tas_tropics.
The files in tmp are generated correctly...
> pwd
/home/williamsjh/rosesnip/results/tmp/nc/awmean
> ls -l
total 512
-rw-rw-r-- 1 williamsjh williamsjh 17150 May  5 00:09 az513_apy_m01s00i024_global_0.nc
-rw-rw-r-- 1 williamsjh williamsjh 17245 May  5 00:09 az513_apy_m01s00i024_tropics_1.nc

... but the final data is being combined into one file rather than two...
> pwd
/home/williamsjh/rosesnip/results/nc/awmean
> ls -l
total 256
-rw-rw-r-- 1 williamsjh williamsjh 39793 May  5 00:09 az513_apy_m01s00i024_global.nc

This appears to be due to an incorrect call to cdo mergetime...
> ncdump -h az513_apy_m01s00i024_global.nc |grep -i history
		:history = "Tue May 05 00:09:46 2020: cdo mergetime
/scale_wlg_persistent/filesets/home/williamsjh/rosesnip/results/tmp/nc/awmean/az513_apy_m01s00i024_global_0.nc
/scale_wlg_persistent/filesets/home/williamsjh/rosesnip/results/tmp/nc/awmean/az513_apy_m01s00i024_tropics_1.nc
/scale_wlg_persistent/filesets/home/williamsjh/rosesnip/results/nc/awmean/az513_apy_m01s00i024_global.nc\n2020-05-05T00:09:41Z: Afterburner v1.3.1b3: Statistical data generated by the Climate Model Monitor v2 application." ;

Please let me know what I can do to assist here in testing.
Many thanks
Jonny

Update
I've now tried it with tas_global and sw_rad_flux and it works as expected for one model.
Therefore the issue appears to lie with the fact that the two original files in the issue had a common prefix, that is...
az513_apy_m01s00i024_
I guess that the cdo mergetime call needs to take this into account?
I'll take a look at the code. 😄
Cheers
Jonny

Update
I've found the bit of the code. I think it needs two further loops.

Over _land_, _sea_ and neither.
Over region name, e.g. _global_ and tropics.

Cheers

Thanks @jonnyhtw. It looks like we cannot assume that the merge operation takes place over time....Looking into this.

Thanks @jonnyhtw. It looks like we cannot assume that the merge operation takes place over time....Looking into this.

OK thanks @pletzer. Sounds good. 😄

Hi @jonnyhtw,
This has been resolved in PR #3.


Sharing Messenger Url for Android

Sharing Url via Messenger Successfully

LGTM, I merged.
Thank you @frank-nhatvm


Set the opam variable "ci" to true to be able to remove packages from the CI perspective

Implements the solution devised by myself and @emillon in https://github.com/ocaml/opam-repository/issues/23697 to remove packages from opam-repository from the CI perspective

Hi, @kit-ty-kate! Is this something that would still be helpful? Or has it been superseded by https://github.com/ocaml/opam-repository/issues/23789 ?

I believe this has indeed been superseded by https://github.com/ocaml/opam-repository/issues/23789. Feel free to close this


Fail broker start if broker-znode created by other zk-session

Motivation
Sometimes, broker restarts without completing clean shutdown which may miss to delete broker-registration-znode (/loadbalance/brokers/<broker>). And when broker restarts, it sees broker's ephemeral znode is already present as previous broker-zk-session is not expired yet and it starts pulsar-service successfully. But after sometime, previous zk-session expires and broker-znode gets deleted that removes broker from available list and current broker logs following exceptions while writing load-report.
18:41:07.966 [pulsar-load-manager-11-1] WARN  o.a.p.b.l.i.ModularLoadManagerImpl   - Error writing broker data on ZooKeeper: {}
org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /loadbalance/brokers/broker:4080
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:111) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
        at org.apache.zookeeper.ZooKeeper.setData(ZooKeeper.java:1270) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
        at org.apache.bookkeeper.zookeeper.ZooKeeperClient.access$2501(ZooKeeperClient.java:60) ~[bookkeeper-server-<IP_ADDRESS>-yahoo.jar:<IP_ADDRESS>-yahoo]
        at org.apache.bookkeeper.zookeeper.ZooKeeperClient$20.call(ZooKeeperClient.java:800) ~[bookkeeper-server-<IP_ADDRESS>-yahoo.jar:<IP_ADDRESS>-yahoo]
        at org.apache.bookkeeper.zookeeper.ZooKeeperClient$20.call(ZooKeeperClient.java:794) ~[bookkeeper-server-<IP_ADDRESS>-yahoo.jar:<IP_ADDRESS>-yahoo]
        at org.apache.bookkeeper.zookeeper.ZooWorker.syncCallWithRetries(ZooWorker.java:122) ~[bookkeeper-server-<IP_ADDRESS>-yahoo.jar:<IP_ADDRESS>-yahoo]
        at org.apache.bookkeeper.zookeeper.ZooKeeperClient.setData(ZooKeeperClient.java:794) ~[bookkeeper-server-<IP_ADDRESS>-yahoo.jar:<IP_ADDRESS>-yahoo]
        at org.apache.pulsar.broker.loadbalance.impl.ModularLoadManagerImpl.writeBrokerDataOnZooKeeper(ModularLoadManagerImpl.java:739) ~[pulsar-broker-1.19.2-incubating-yahoo.jar:1.19.2-incubating-yahoo]
        at org.apache.pulsar.broker.loadbalance.impl.ModularLoadManagerWrapper.writeLoadReportOnZookeeper(ModularLoadManagerWrapper.java:105) [pulsar-broker-1.19.2-incubating-yahoo.jar:1.19.2-incubating-yahoo]
        at org.apache.pulsar.broker.loadbalance.LoadReportUpdaterTask.run(LoadReportUpdaterTask.java:41) [pulsar-broker-1.19.2-incubating-yahoo.jar:1.19.2-incubating-yahoo]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_131]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_131]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_131]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_131]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_131]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_131]

Modifications
Fail broker start if ephemeral broker-znode is created by other zk-session.
Result
It will prevent broker to go in condition where it becomes unavailable after successfully restarted.

SUCCESS
--none--


.github: add PR test

Add a PR testing workflow where we can start to add autotests.
At the moment, it just checks that the Makefile workflows function, but it could be expanded to include unit tests and (if we get a NILRT runner) integration tests.
Testing

[x] Tested this on my own repo with a branch based on #22.

Procedure

[ ] Blocked on #22. This pipeline will fail until its changes are in.
[x] I certify that the contents of this pull request complies with the Developer Certificate of Origin.

Patch V2

Rebased to master.


git checkout step-? doesn't work, please help

In Node command line, I type "git checkout step?", but a error message is returned that "fatal: Not a git repository...". What's wrong? pls help, thanks

This sounds like a general support question. Please, use one of the appropriate support channels for these types of questions.
GitHub issues are reserved for bug reports and feature requests.
Thx!

That said, it sounds like you are not executing the command from inside the directory that you have cloned the repo (or you haven't cloned it at all). Make sure you follow the instructions here.


Remove property from word class

Associated Issue: #35
Summary of Changes
We need to remove justify-items: auto because has an invalid value.

Nice, thank you!


IndexedDB: DOMException: IDBDatabase.transaction: 'tablename' is not a known object store name

I'm getting a weird bug
this works fine:
await alasql(['CREATE INDEXEDDB DATABASE IF NOT EXISTS ixbase']);
await alasql(['ATTACH INDEXEDDB DATABASE ixbase']);
await alasql(['USE ixbase'])

await alasql.promise("CREATE TABLE cities");
await alasql.promise("select * from cities");

but this does not work
await alasql(['CREATE INDEXEDDB DATABASE IF NOT EXISTS ixbase']);
await alasql(['ATTACH INDEXEDDB DATABASE ixbase']);
await alasql(['USE ixbase'])

await alasql.promise("CREATE TABLE IF NOT EXISTS entries");
await alasql.promise("select * from entries");

is entries a keyword in IndexedDB? If so that would help explain my past three hours... maybe a better error message is possible?
does the table exist or not?
await alasql.promise(['CREATE TABLE IF NOT EXISTS entries'])
Array [ 0 ]

await alasql.promise(['select * from entries'])
Uncaught DOMException: IDBDatabase.transaction: 'entries' is not a known object store name [alasql.min.js:2:432916](http://localhost:3000/node_modules/alasql/dist/alasql.min.js)

await alasql.promise(['CREATE TABLE entries'])
Uncaught (in promise) Error: Can not create table 'entries', because it already exists in the database 'RuntimeDB'
    execute alasql.min.js:2
    dexec alasql.min.js:2
    exec alasql.min.js:2
    gi alasql.min.js:2
    i alasql.min.js:2
    i alasql.min.js:2
    promise alasql.min.js:2
    promise alasql.min.js:2
    <anonymous> debugger eval code:2
    <anonymous> debugger eval code:3
[alasql.min.js:2:361786](http://localhost:3000/node_modules/alasql/dist/alasql.min.js)

Once I renamed the entries and watched table in my code it started working...
but to be sure I deleted .mozilla/firefox/*.xxx/storage/default/http+++localhost+3000/ and it stopped working. so I guess it's just an issue with my code


Can't find cfg.MODEL.SOTR.FPN_SCALE_RANGES

I encountered the following problem when running SOTR with a new data set.
File "/home/xxx/EndoCV2022/detectron2/SOTR/adet/modeling/sotr/sotr.py", line 33, in init
self.scale_ranges = cfg.MODEL.SOTR.FPN_SCALE_RANGES
I checked the configuration file R50.yaml and found that there was no such variable. Do you know how to solve it?

Configs of MODEL and other things are in the adet/config/defaults.py
To deal with your problem, you may use
`
from adet.config import get_cfg()
cfg = get_cfg()
soft = SOTR(cfg)
`
However, it is better to run the tools/train_net.py file directly according to the guidance of  the author, since it is a detectron2 based project.


java version

as you guys mentioned in your readme file that we need java jdk1.8.0_20 but i am unable to find this exact version on google can you give me link of this please

Hi,
We provided a URL to all java versions in the README, as well as a screenshot of which versions you should look for.
Hope this helps :slightly_smiling_face:

Hi, We provided a URL to all java versions in the README, as well as a screenshot of which versions you should look for. Hope this helps 🙂

yea got it now working thanks and closing report you guys so  helpful


5.62: Layouts don’t display properly in XSplit

When loading layouts in XSplit Broadcaster, (Both in local mode and webserver mode) layouts exhibit display errors ranging from misalignments to not displaying at all. Webserver seems to be loading significantly slower as well.

FGC Layout as displayed in XSplit

For reference: FGC Layout as displayed in OBS

I believe this is more related to the XSplit built-in browser not supporting newer browser features and CSS functionalities. As XSplit is a severely un-used portion of the TSH community, this will more than likely not be resolved as OBS updates regularly to stay more up-to-date with proper browsers than XSplit does.


Slack App "Jenkins CI" is nowhere mentioned. Instead, steps are provided to create custom App

Describe your use-case which is not covered by existing documentation.
Accidentally I found out an App named "Jenkins CI" in my office's Slack channel which was installed from one of my senior developer, who no longer works in our company.

I Googled around about that App.
From Slack, installed that app to the workspace to where I wanted to send slack notifications.
Once the app was added, some configuration instructions were auto generated in the Slack's website and followed it.
And used "slackSend" syntax

And it was so easy that I started getting slack notifications within 15 mins.
But if this was mentioned in this documentation, it would have been very easy, instead of creating our own App.
Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.
No response
Are you interested in contributing to the documentation?
Yes. especially, I want to add the above instructions mentioned.

Its easy but half of the modern slack features don't work, the method you are using is whats known as a 'legacy integration' in Slack. It comes from before they had their app extensions when they built all the integrations into their own code base. They haven't added support for a number of features like blocks, file upload and possibly others.
A lot of user support has came from issues relating to that so that documentation was removed in favour of the approach that worked in all cases.

Its easy but half of the modern slack features don't work, the method you are using is whats known as a 'legacy integration' in Slack. It comes from before they had their app extensions when they built all the integrations into their own code base. They haven't added support for a number of features like blocks, file upload and possibly others.
A lot of user support has came from issues relating to that so that documentation was removed in favour of the approach that worked in all cases.

So, building our own app is the best approach currently and going forward?

Yes definitey

OK. Thank you @timja .


Can't install @matter.js/nodejs-shell

Follow this guide:
https://github.com/project-chip/matter.js/tree/main/packages/nodejs-shell
I run below command in my CMD of Administrator previledge:
npm install @matter.js/nodejs-shell
But get this error below, what's wrong?
npm install @matter.js/nodejs-shell
npm error code E404
npm error 404 Not Found - GET<EMAIL_ADDRESS>- Not found
npm error 404
npm error 404  '@matter.js/nodejs-shell@*' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: C:\Users\xuejd1\AppData\Local\npm-cache\_logs\2024-09-23T08_28_46_131Z-debug-0.log

What was the solution?


[Feature] Publish ARM images in addition to x86

Description
It would be great if the CI/CD system published ARM images in addition to the x86 images for those of us interested in running this workload on ARM machines (like local dev on newer macbooks)
Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.
No response
Some information to help us out

[ ] Tick this box if you plan on implementing this feature yourself.
[X] I have searched the issue tracker to make sure this issue is not a duplicate.

Seems like it's not stale anymore – there's a PR https://github.com/graphprotocol/graph-node/pull/5626 🙏


feat: support using lambda context in the aws lambda context extractor

Which problem is this PR solving?
Implements feat #855 - it exposes the lambda context object to the custom event extractor to allow this to carry context.
Short description of the changes

Changes the signature of the eventContextExtractor to add context as a second argument
Passes this through in via _determineParent
Updates tests and README

Checklist

[x ] Ran npm run test-all-versions for the edited package(s) on the latest commit if applicable.

hi @chrisrichardsevergreen ,
Can you please fix your CLA so we can merge this?
Thanks

hi @chrisrichardsevergreen , Can you please fix your CLA so we can merge this? Thanks

Just waiting on a support ticket with EasyCLA - it's a corporate contribution.

Thanks, this is ready to be merged.
Can you please merge main into your branch once again?
or select "Allow edits from maintainers" so we are able to do that


Apache Arrow Support

Describe what you are looking for
It would be great to be able to use search results in other Apache Arrow-based tools with zero-copy overhead.
Can you contribute to the implementation?

[ ] I can contribute

Is your feature request specific to a certain interface?
It applies to everything
Contact Details
<EMAIL_ADDRESS>Is there an existing issue for this?

[X] I have searched the existing issues

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@thatcort to clarify, you want to be able to export Matches and BatchMatches in to Arrow tables, or allow indexing or brute-force search over the input tables? The latter seems to make more sense, as in other cases the overhead of copying is very negligible and the implementation is surprisingly complex. Can you provide an example of a use-case please? 🤗

If the implementation is complex, then probably don't worry about it. I'm imagining use cases like taking the top n distance matches and then doing bulk operations on that group of vectors. For example, subtracting a constant vector from each, taking their norms, etc.


Enable user defined trace exporters

Allow users to pass a trace exporter as an option to NewInstrumentation or specify it via the OTEL_TRACES_EXPORTER environment variable.
Resolve https://github.com/open-telemetry/opentelemetry-go-instrumentation/issues/234
Resolve #427

Should the change to the default OTLP output protocol be separated from allowing user defined exporters?

This was requested in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/426#discussion_r1374135438 to be included here.


use a working revision of boringssl

The latest master revision does not work.
This fixed Issue #166

 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.

Thanks for fixing this problem!


TOKEN param

Is there any way we can have the token set as maybe and ENV variable or some other way to configure it? I usually don't like baking those into my images.

Sorry, the "image" portion is irrelevant. I just happen to be working with docker.

@ghjnut Currently no, but you can wrap this container with another one that pass the token to the right place.
@idohalevi Lets add it to our feature list?


Low download speed of youtube videos (another)

DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): www.youtube.com:443
DEBUG:urllib3.connectionpool:https://www.youtube.com:443 "GET /watch?v=m3MgAOe2zSs HTTP/1.1" 200 None
[youtube] m3MgAOe2zSs: Downloading webpage
[youtube] m3MgAOe2zSs: Downloading player 8c7583ff
WARNING: [youtube] Unable to decode n-parameter: download likely to be throttled (Unhandled exception in decode; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last):
  File "/home/ubuntu/venv/lib/python3.10/site-packages/youtube_dl/extractor/youtube.py", line 1674, in _n_descramble
    raise ExtractorError('Unhandled exception in decode')
youtube_dl.utils.ExtractorError: Unhandled exception in decode; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
)
[dashsegments] Total fragments: 4
[download] Destination: Temp/5cf7061a-c3c5-40e0-b7d7-3ccd7903c74f/How To Cook Meals Kids Will Love.f135.mp4
[download]  57.5% of ~40.00MiB at 66.87KiB/s ETA 04:20

Description
Hey there, I got stuck today with a low-speed download again.
used python -m pip install git+https://github.com/ytdl-org/youtube-dl.git in order to fix
Usually, updates help, but not today (
command options
options = {
"format": "bestvideo[vcodec=h264][height<=?480][ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]",
"outtmpl": f"{temp_subfolder}/%(title)s.%(ext)s",
'nocheckcertificate': True,
'ignoreerrors': True,
"ffmpeg_location": "/usr/bin",
'postprocessors': [{
'key': 'FFmpegVideoConvertor',
'preferedformat': 'mp4',
'preferedcodec': 'h264',
}],
}

I was about to post this exact same issue.  Thanks for reporting it first.
I started seeing very slow download speeds today, but couldn't figure out why.
Then I noticed that same log
WARNING __main__.report_warning #617 - [youtube] Unable to decode n-parameter: download likely to be throttled
I tried reinstalling the latest nightly build of youtube-dl, which I do via
pip install --upgrade --force-reinstall "git+https://github.com/ytdl-org/youtube-dl.git"
but that did not fix it for me either.

Duplicate of #32292 for yt-dl, but the log mentions urllib3, not directly used by yt-dl, leading me to wonder if the module installed as youtube_dl is in fact it.

@RobustCoder, please try to reproduce your other problems with the yt-dl command-line program and raise a new issue/new issues (subject to #30839) if that doesn't resolve them.

@dirkf, what do you mean??? just for you, I put a part of the code:
import youtube_dl
logging.basicConfig(level=logging.DEBUG)

......

    options = {
        "format": "bestvideo[vcodec=h264][height<=?480][ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]",
        "outtmpl": f"{temp_subfolder}/%(title)s.%(ext)s",
        'nocheckcertificate': True,
        'ignoreerrors': True,
        "ffmpeg_location": "/usr/bin",
        'postprocessors': [{
            'key': 'FFmpegVideoConvertor',
            'preferedformat': 'mp4',
            'preferedcodec': 'h264',
        }],
    }

    url = youtube_link
    try:
        with youtube_dl.YoutubeDL(options) as ydl:
              ydl.download([url])
....
_the rest of the code_

Read my comment again. I think it was clear enough (also study #30839).
Your command is basically
yt-dl --f "bestvideo[vcodec=h264][height<=?480][ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]"-o  "wherever/%(title)s.%(ext)s" --no-check-certificate -i --ffmpeg-location /usr/bin --recode-video mp4 whichever_URL
preferedcodec isn't a known parameter of the yt-dl FFMpegPostProcessor.
If, as usual, there are no paths in the $PATH ahead of /usr/bin that might have ffmpeg, that option is redundant.

Sorry. yes. postprocess was from my test repo. But the server has options without it, and logs above were from the server.
Options on server are:
options = {
        #"format": "bestvideo[height<=360][ext=webm]+bestaudio[ext=webm]/best[height<=360][ext=webm]/best[ext=webm]",
        "format": "bestvideo[height <=? 480][ext = mp4]+bestaudio[ext = m4a] / best[ext = mp4]",
        "outtmpl": f"{temp_subfolder}/%(title)s.%(ext)s",
        'nocheckcertificate': True,
        'ignoreerrors': True,
        "ffmpeg_location": "/usr/bin",
    }

and it doesn't work now but it worked one week ago.

@ProvisionlabTeam
Respectfully, why didn't you follow and adhere to the Broken site report "New issue template" ? Your log contains:
[youtube] m3MgAOe2zSs: Downloading webpage
[youtube] m3MgAOe2zSs: Downloading player 8c7583ff
WARNING: [youtube] Unable to decode n-parameter: ...

and a search on recently submitted new open/closed issues would have pointed to #32292, which I submitted 2 1/2 days ago...

I was about to post this exact same issue. Thanks for reporting it first.

Same comment applies here, I guess 😜 ; OP wasn't "first", in any case...

Usually, updates help, but not today

I tried reinstalling the latest nightly build of youtube-dl, ... but that did not fix it for me either.

To both: If one stumbles upon a new breakage, it'd be worthwhile to first check the youtube-dl master branch,
https://github.com/ytdl-org/youtube-dl/commits/master
to inquire whether such a breakage has been addressed in code - if not, attempting to update via git+https://github.com/ytdl-org/youtube-dl.git would be moot as far as that specific breakage is concerned (but, OTOH, might prove advantageous with respect to other bugs fixed since the last time you updated 😉 ) ...
To avoid any possible misunderstanding, I'm not being overly argumentative here, just trying to be helpful (as a simple yt-dl user) in any eventual, future, yt-dl predicament you find yourselves in 😉 ...
Best regards ...

@dirkf, your last commit in master was two weeks ago. Indeed I see that one guy provided a clear fast fix two days ago. But I missed it in the thread because it had not explained my issue explicitly. About search- agree. My bad. I could check it, lol. Will be appreciated if you make a fast patch, if any. and thanks for the fast turnaround

There's a lot to do, both here and IRL. But the equivalent fix is almost ready to be uploaded.

@dirkf, in any case, many thanks for what you are doing!! Appreciate it!

@RobustCoder, please try to reproduce your other problems with the yt-dl command-line program and raise a new issue/new issues (subject to #30839) if that doesn't resolve them.

@dirkf: I think that my issue is likely the same as what has already been reported here and in 32292, so I will wait for your patch for this issue before I investigate further to see if it also clears up my mp3 tag issue or not.

so I will wait for your patch for this issue before I investigate further

... No need to wait any longer though 😉 , the fix for original issue #32292 has already been committed in master :
a2534f7b888416e872d5afd1862eb3e30fc69fc7
, so you only need to update your yt-dl instance...

@dirkf , I am very sorry, but I still have the same issue. Maybe I missed something?
  Cloning https://github.com/ytdl-org/youtube-dl.git to /tmp/pip-req-build-91r7iz9j
  Running command git clone --filter=blob:none --quiet https://github.com/ytdl-org/youtube-dl.git /tmp/pip-req-build-91r7iz9j
  Resolved https://github.com/ytdl-org/youtube-dl.git to commit a2534f7b888416e872d5afd1862eb3e30fc69fc7
  Preparing metadata (setup.py) ... done

made clone of your fresh version
and still see the same
[youtube] 03OZsmDV56k: Downloading webpage
WARNING: [youtube] Unable to decode n-parameter: download likely to be throttled (Unhandled exception in decode; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last):
  File "/home/ubuntu/venv/lib/python3.10/site-packages/youtube_dl/extractor/youtube.py", line 1674, in _n_descramble
    raise ExtractorError('Unhandled exception in decode')
youtube_dl.utils.ExtractorError: Unhandled exception in decode; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
)
[dashsegments] Total fragments: 2
[download] Destination: Temp/7ac53038-6b71-44bc-9e8e-fe7aa4469784/iPad Killer or Clone.f397.mp4
[download]   8.1% of ~20.00MiB at 43.99KiB/s ETA 07:07

I still have the same issue. Maybe I missed something?

Purge the cache first via the  --rm-cache-dir commandline flag?

Yeah. You are funny.
On Mon, Jun 12, 2023, 01:19 Vangelis66 @.***> wrote:

I still have the same issue. Maybe I missed something?
Purge the cache first via the --rm-cache-dir commandline flag?
—
Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/32295#issuecomment-1586358905,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABY467PSH62MCSDUH2WRPHDXKY76BANCNFSM6AAAAAAZBVEKFY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@Vangelis66

Same comment applies here, I guess 😜 ; OP wasn't "first", in any case...

Sorry for missing 32292.  I found this thread first, and wrongly assumed it was the first report.  In my defense, I was searching for slow download speeds!

To both: If one stumbles upon a new breakage, it'd be worthwhile to first check the youtube-dl master branch,
https://github.com/ytdl-org/youtube-dl/commits/master
to inquire whether such a breakage has been addressed in code - if not, attempting to update via git+https://github.com/ytdl-org/youtube-dl.git would be moot as far as that specific breakage is concerned (but, OTOH, might prove advantageous with respect to other bugs fixed since the last time you updated 😉 )

I am very new to youtube-dl.  And git is a complex beast of vast mysteries to me.  So I would appreciate it if you could clear up a few things for me.
I know that the last official release is 2021-12-17, I guess what you get from executing
pip install youtube-dl
I read here to use:
pip install --upgrade --force-reinstall "git+https://github.com/ytdl-org/youtube-dl.git"
But now that I read that comment more carefully, I have no idea what the above gives you.  Do you?
Based on your suggestion to use the master branch, I found this post by dirkf that recommends either of these commands to install the master branch:
python3 -m pip install --force-reinstall 'git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl'
python3 -m pip install --force-reinstall 'https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz'

(I never bother with the python3 -m prefix myself, because I am always installing in my Anaconda's base environment, so I know exactly what python is being used.)
I post the above here for the benefit of any other newbies.

In my defense, I was searching for slow download speeds

For starters, I'm not a prosecutor, so I did NOT accuse you of anything for that matter 😜 😄 ; I simply emphasised the correct procedure when about to submit a new issue here in this tracker, which is always visit first pinned issue #30839, read it in its entirety and with close attention paid to its content, then, if you indeed decide to go through with filing an issue, use the available new issue templates...
You are right, though, that a "proper" search term in the current issue list is somewhat "subjective"; one has to first "study", so to speak, and understand what the given errors are about, and then proceed to search for relevant info in the issues tracker; doesn't help if, as you said, one's new to the app; Unable to decode n-parameter is a very common/frequent (at least in the past) error associated with youtube.com, when Google, in their constant strive to thwart downloaders, push out specialised player code to induce throttling (and make downloading unappealing/impractical...).
What I do myself is visit in my browser successively
https://github.com/ytdl-org/youtube-dl/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
https://github.com/ytdl-org/youtube-dl/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aclosed
and then manually search those two lists for anything related 😜 ; with youtube.com itself being a popular service the app supports, any eventual breakage report is bound to appear therein, sooner or later...

I guess what you get from executing
pip install youtube-dl

In this scenario, pip behaves as a package manager and will fetch+install the latest version of the youtube-dl python module that is available on PyPI

pip install --upgrade --force-reinstall "git+https://github.com/ytdl-org/youtube-dl.git"

But now that I read that comment more carefully,
I have no idea what the above gives you. Do you?

In this scenario, pip will fetch+install the source code of youtube-dl NOT from PyPI, but from its GitHub repository, more specifically it will install the very latest code snapshot in the master branch; the "git+" part in the command implies you have a working version of git in your system (not the default under Windows, though...); to learn more about the posted commands, you should visit the relevant pip documentation:
https://adamj.eu/tech/2019/03/11/pip-install-from-a-git-repository/
https://pip.pypa.io/en/stable/cli/pip_install/#pip-install-examples
Greetings 😄


replace graphemer by unicode-segmenter

Same as https://github.com/bluesky-social/atproto/pull/2563
I also noticed that graphemer in social-app isn't specified in the package.json, but imported as a phantom dependency from the atproto package, which could be broken as the atproto package bumped.

fyi the perf benchmark for React Native (hermes) target
https://github.com/cometkim/unicode-segmenter/pull/47


test: refactor VecCoder tests

Related to #753
This PR will:

Introduce a seperate test file for the service under test
Seperate test cases for encode and decode
Remove snapshot tests to bring expectations into the same test file
Remove redundant tests to more clearly report on code coverage

@arboleya more than happy to add more test cases. What would we expect this to look like? A single vector containing all possible sub-types? Or a separate test case for each sub type within a vector?

@danielbate Good question; I suspect a single Vector might be cleaner.
However, I'm not sure about which types we currently support:

https://github.com/FuelLabs/fuels-ts/issues/933

Additional test cases could be added alongside the issue above.

@camsjams What do you think about the above comments?


feat: introduce OpenShift Oauth (part 2)

None of those are secret. Even the GitHub Oauth secret since the browser will use it as described here:
https://tools.ietf.org/id/draft-parecki-oauth-browser-based-apps-01.html

We will use secret instead of configmap


Add support for Habana accelerator (HPU)

What does this PR do?

A new accelerator to support Gaudi devices added
DDP support for habana multi-card runs enabled
HPU precision plugin for bf16 added
HPU checkpoint io plugin added
Distributed overrides updated for HPU tensor types support
Accelerator tests with an example model added

Fixes #10214
Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

As discussed offline, the focus of the subsequent PRs would be:
[ ] Add support for HPUProfiler
[ ] Demo with Habana optimized DataLoader
[ ] Demo with Vision Models (Reference)
[ ] Add support for passing dictionary of operations for precision handling on Habana framework's side.


Optional results email placement

Optional collection of email address data will be at the end of the tool, most likely within the results page?
This is more of a design and interface issue - need to make sure there is clear copy explaining the benefits of having their results emailed to them.
Link #5

Closed, new designs in #97


explorer: display package module execute tab

adds feature flag - on only in dev
adds execute tab in package module view
displays each entry function in a collapsible box with function details as json

https://user-images.githubusercontent.com/10210143/203170415-fb2002e9-72d5-4722-a1e1-964658ce2eca.mov
part of APPS-41

Thanks @Jordan-Mysten, I think I addressed all the comments. Let me know if there is anything else!


Invalid JSON payload when using CustomClaims with T that serialize to an JSON object

Describe the bug
If you pass a serializable struct to CustomClaims the builder will generate an invalid JSON payload due to the trimming of multiple object delimiters.
The builder will still build a token successfully, but the validation will fail with a JSON error.
See my quick fix attempt here: https://github.com/xbb/rusty_paseto/commit/00b1a9075e94f472e6c48b56f800b571847308e7

Thanks I'll have a look

Closing issue #39 as it has been addressed in PR #40. Please refer to the closing notes in the PR for a description of the fix. Credit and thanks to @xbb for reporting the issue and offering a suggestion on the fix.


Directory fixes

Add functionality to fix https://github.com/RangerMauve/agregore-browser/issues/14 by appending '/' to the end of directory names in directory listings.
Additionally adds the ability to create empty directories via PUT request if a path name ends in a trailing '/'. It seems that this is generally non-standard behaviour for HTTP servers, so I'd love input if there's a more idiomatic way to do this.

This changes the JSON output for directory listings so this is a breaking change.

I cleaned up the code like you suggested, thanks for the tip! Also TIL that ES6 template literals are even faster than concatenation on modern browsers

Out in 4.0.0


readme impl issue

From README:
async function scan() {
  console.log("SCANNING..")

  EscPos.addListener("bluetoothDeviceFound", (event: any) => {
    if (event.state === EscPos.BLUETOOTH_DEVICE_FOUND) {
      console.log("Device Found!");
      console.log("Device Name : " + event.deviceInfo.name);
      console.log("Device MAC Address : " + event.deviceInfo.macAddress);
    }
  })

  EscPos.addListener("bluetoothStateChanged", (event: any) => {
    if (event.state === EscPos.BLUETOOTH_CONNECTED) {
      console.log("Device Connected!");
      console.log("Device Name : " + event.deviceInfo.name);
      console.log("Device MAC Address : " + event.deviceInfo.macAddress);
    }
  });

  EscPos.scanDevices();
}

I've got the following issue:
[Unhandled promise rejection: TypeError: EscPos.initBluetoothConnectionListener is not a function. (In 'EscPos.initBluetoothConnectionListener()', 'EscPos.initBluetoothConnectionListener' is undefined)]

Is
$ react-native link @leesiongchan/react-native-esc-pos --verbose
debug Available platforms: iOS, Android
debug Package to link: @leesiongchan/react-native-esc-pos

a standard link output? I think the linking doesnt work.

Ok, it seems to be related to Expo that can't be used with native libraries.


tests: disable iscsigw testing (container)

Temporarily disable iscsigw testing for containerized deployments
because it's broken upstream on ceph@master.
non-containerized deployments use stable build for iscsigw to get around
this issue.
Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>

jenkins test centos-non_container-all_daemons

jenkins test centos-container-all_daemons


Cannot define recursive schema

I discovered this last night while trying to build good tests for https://github.com/jml/graphql-api/pull/92.
I tried to change our example schema by:

making dog's owner a Sentient
giving humans two new fields:

pets: [Pet]
catsAndDogs: [CatOrDog]

However, this will not compile, since it means the type definition of Dog needs to include the type definition of CatOrDog which needs to include Dog which… is circular.
I don't know what the right answer to this is. Presumably either newtypes, a language extension, or abandoning large chunks of the type-based approach.

Here's a minimal example that doesn't work:
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE DeriveGeneric #-}

module Examples.Rec where
import Protolude hiding (Enum)

import GraphQL
import GraphQL.API
import GraphQL.Resolver (Handler)

type Directory = Object "Directory" '[] '[Field "subdirs" Directory]

directory :: Handler IO Directory
directory = pure directory

FWIW, if we can figure out a plausible solution and have something hacky that demonstrates it, I'm OK with releasing without this being fixed.
However, if we can't prove that this is possible, then I'm reluctant to release. It's kind of a make-or-break feature, IMO.

For recursive types I don't think we'll get around newtyping. The following code doesn't work because it doesn't implement resolve correctly (it needs to look through the selection set ss and dispatch accordingly), but it shows how recursion can be implemented in principle:
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE ScopedTypeVariables, FlexibleInstances, MultiParamTypeClasses #-}

module Examples.Rec where
import Protolude hiding (Enum)

import GraphQL
import GraphQL.API
import GraphQL.Value.ToValue
import GraphQL.Resolver (Handler, HasResolver(..))

newtype Directory = R (Object "Directory" '[] '[Field "subdirs" Directory, Field "x" Text])

instance forall m. Monad m => HasResolver m Directory where
  resolve _ ss = (pure . pure . toValue) ("broken" :: Text)

directory :: Handler IO Directory
directory = directory

example :: Text -> IO Response
example = interpretAnonymousQuery @Directory directory

OK. I'm convinced. Removing this from the milestone, but think it should be top priority for next release—writing a file server should be obvious to any newbie.

This turns out to be more tricky than expected. Sticking to the directory example I can't write the following instance because the type family computation is recursive, and therefore will never terminate:
instance forall m. Monad m => HasResolver m Directory where
  type Handler m Directory = Handler m Directory :<> Handler m Text

Just to add more context: We also care about mutual recursion as pointed out in the opening comment of this issue. For pure self-recursion we could add a Self combinator that gets transformed into recursive calls at the value level.

Here's a working example though I don't fully understand yet why this specific combination introduce recursion, as I am still calling resolve recursively (but that's probably it). I will try to extract the core of it into a nice interface (we don't need everything that's going on ATM).
 (Monad m) => HasResolver m R where
  type Handler m R = RD m
  resolve (RD rd) = resolve @m @Directory rd

instance HasAnnotatedType R where
  getAnnotatedType = getAnnotatedType @Int

directory :: Handler IO Directory
directory = pure (RD directory :<> pure "tom")

run :: Text -> IO Response
run = interpretAnonymousQuery @Directory directory

example :: IO LByteString
example = encode <$> run "{ subdirs { name subdirs { name subdirs { name } }} }"
-- "{\"data\":{\"subdirs\":{\"subdirs\":{\"subdirs\":{\"name\":\"tom\"},\"name\":\"tom\"},\"name\":\"tom\"}}}"

And an example with mutual recursion - the trick is to include a judiciously placed loop-breaker that's an actual data type with a constructor, which is how mutual recursion works in Haskell of course.
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TypeOperators, ScopedTypeVariables, RankNTypes #-}
{-# LANGUAGE DeriveGeneric, UndecidableInstances, StandaloneDeriving #-}
{-# LANGUAGE GADTs, KindSignatures, FlexibleInstances, MultiParamTypeClasses, TypeFamilies #-}

module Examples.Rec where
import Protolude hiding (Enum)

import GraphQL
import GraphQL.API
import GraphQL.Resolver
import Data.Aeson (encode)

newtype RecIssue m = RecIssue (Handler m (Issue m))

type User m = Object "User" '[] '[Field "issues" (List (RecIssue m)), Field "name" Text]
type Issue m = Object "Issue" '[] '[Field "owner" (User m), Field "title" Text]

instance forall m. (Monad m) => HasResolver m (RecIssue m) where
  type Handler m (RecIssue m) = RecIssue m
  resolve (RecIssue rd) = resolve @m @(Issue m) rd

instance forall m. HasAnnotatedType (RecIssue m) where
  getAnnotatedType = getAnnotatedType @Int

issues :: Handler IO (Issue IO)
issues = pure (user :<> pure "issue-title")

user :: Handler IO (User IO)
user = pure (pure [RecIssue issues] :<> pure "tom")

run :: Text -> IO Response
run = interpretAnonymousQuery @(User IO) user

example :: IO LByteString
example = encode <$> run "{ issues { owner { name } } }"
-- "{\"data\":{\"issues\":[{\"owner\":{\"name\":\"tom\"}}]}}"

Interesting!

Note that HasAnnotatedType returns garbage, but that doesn't matter because we aren't really using that information yet.
If HasAnnotatedType  used getAnnotatedType @Directory it'd lead to infinite recursion. In order to break that we need to change the code to recognise cycles by some identifier (e.g. the object name) and then store a pointer. This would imply globally unique object names which I think is something that facebook do.

You mean globally unique type names, right? That's a requirement for a valid schema.
We'll need HasAnnotatedType for introspection.

"Type" is overloaded :). I specifically mean GraphQL types, i.e.:
type X = Object "X" '[] '[...]
                ^^^ this


Enable Grafana Loki writer syncer in rk-boot family which will send logs to Loki directly.

Implemented with bellow versions.


Source for v2 (mobile inference engine)

Hello there!
I came across the v2 paper yesterday, and saw the updates on the project readme.
I am interested in porting the v2 framework to iOS. The goal is to complete a naive port at first, and then include metal shaders.
Any plans on releasing the source and instructions for running v2 on Android?

PowerInfer-2 will be open-sourced in the future. We’re refining it to untangle from our testing platform and making it accessible on PCs for the community.

Can't wait to test your amazing work!

same here! I wish to test it on low resource pc with no gpu or an old and small one.

This is fantastic!, on my old smartphone with 6 Gb of memory the Meta-Llama-3-8B-Instruct-Q4_K_M.gguf model ran, I hope for v2 in the near future.

when can i use it on anroid phone ?

PowerInfer-2 will be open-sourced in the future. We’re refining it to untangle from our testing platform and making it accessible on PCs for the community.

Is it possible you could release the testing platform and the code entangled with the testing platform, so that the reported results can be reproduced?