Add Support for BlackHole Music Player

Hello dev, Have a look at BlackHole music player, It provides music from Spotify, saavn, YT Music and other platforms for free. its also a open source app. I think you will definitely like it. Please add its support in UpNext GPT.
App Link : https://f-droid.org/en/packages/com.shadow.blackhole/

Thanks for the information, will add it when I'm available since I'm not currently focusing on this App.
Plus my OpenAI API key got banned, likely, so it may take more time to bring this App to be active again.

Hi, I have checked the BlackHole player but unfortunately, the player seems to lack support for the Play from Search feature, which is required to play specific songs from an external app (UpNext GPT).
This issue will remain open until Play from Search lands on the BlackHole player.


Add templated constructor for arc specifying is-high flag

Add a templated constructor for the arc class with a single templated argument bool is_high.
Tasks in arc class

[ ] Specialization for is_high = false is equivalent to arc(source, target) with an assertion that source already has an out-index of 0.
[ ] Specialization for is_high = true is equivalent to arc(with_out_idx(source, true), target).

Tasks in 'src/adiar/internal/algorithms'

[ ] Replace all arc constructors with the new templated constructor to hide away the need to flag the source.

This issue seems to be out of date with the changes in 2dd4875 . There might still be some things to gain, as the false option essentially does a few noop operations. But, this essentially is a minimal optimisation (by removing the noop part at compile time).


Future of nx-remotecache-custom with Nx 20+ changes

Hi,
With the upcoming changes in Nx 20+, particularly the deprecation of custom task runners and the introduction of Nx Powerpack for remote caching, I'm concerned about the future of nx-remotecache-custom.
Have you considered any potential workarounds or alternatives to keep this package functional with newer Nx versions? Some ideas that come to mind:

Creating a custom executor wrapper that could interact with Nx's new caching system
Implementing a CLI wrapper around Nx commands to handle custom caching logic

I think many users rely on this package for custom caching solutions. Any thoughts or plans you might have for adapting to these changes would be greatly appreciated.
Do not hesitate if I can help with any thing concerning this.

Hey @abarghoud, thanks for your regards.
After looking into this I think it's very clear that Powerpack is supposed to replace nx-remotecache-custom as it has its own support for custom caching implementations.
From my perspective this will mark the end of this package, which is completely built around the task runners from Nx. I'm also personally relieved, because it's nearly impossible for me to allocate a fair amount of time to this project, while I'm working full time as a Co-Founder on LastBIM (a contech startup).
If you have any questions feel free to discuss here with me or the community. I also think there's a respective issue on the Nrwl Nx repository which goes into a similar direction: https://github.com/nrwl/nx/issues/28150

@NiklasPor, thank you for your response. I completely understand the challenges of maintaining such a project alongside full-time commitments.
The shift towards paid solutions like Nx Powerpack raises concerns for users who rely on this "free" caching solution, particularly for smaller projects or those in early stages. This is why I am proposing these adaptation options, even if it's a significant undertaking.
If you're not planning to adapt the package for the new Nx versions, I could try to create a PR to implement some updates. If that doesn't align with your vision for the project, I’d be open to forking it to maintain a free option for the community.
Your insights and any advice you could offer would be very valuable if I proceed with a fork. Of course, I'd fully respect your decision either way.
Thank you again for your contributions to the Nx ecosystem and for considering this proposal.

I'll post a full response soon but their multiple solutions to keep this going for now. Speaking to NX their issue is moving to rust and it will take time to reimplement the API

As you stated at v21 and up, does that infer that there will be a v20 supported version? @NiklasPor

@EelcoLos yes, as Nx 20 still has the same API available I'll publish a version for nx-remotecache-* once 20 is officially released

Ah my bad, I always wait for my notification for the blog post 😂

Looks like he's responded https://github.com/nrwl/nx/issues/28434
I'm going to fork the NX core only to keep custom remote cache working and will make it work in rust too,Not sure if this is going to help

@abarghoud  would you accept a PR that helps enable it on the fork. It should make it easier as it same API as powerpack so doesnt require full task runner but will help allow others to integrate easier than figuring out the API


[9.401] Error 400 PHONE_CODE_EXPIRED 2 1

I have broken the login down into two steps:
STEP 1: Get code and hash
const {MTProto} = require('telegram-mtproto');
const {Storage} = require('mtproto-storage-fs')

const phone = '+19179999999'
const api = {
  layer: 57,
  initConnection: 0x69796de9,
  api_id: XXXXX,
  app_version: '1.0.1',
  lang_code: 'en'
}
const server = {webogram: true,dev: false}
const client = MTProto({api,server})

    let sendPhoneCode = client('auth.sendCode', {
      phone_number: phone,
      current_number: true,
      api_id: XXXXX,
      api_hash: XXXXXXXXXXXXX'
    })

    sendPhoneCode.then(codeResponse => {
      console.log(codeResponse)
    })

From that I receive the code on my phone and the codeResponse prints this code:
{ _: 'auth.sentCode',
  flags: 3,
  phone_registered: true,
  type: { _: 'auth.sentCodeTypeApp', length: 5 },
  phone_code_hash: 'f8a1ee55f04d8ae7a4',
  next_type: { _: 'auth.codeTypeSms' } }

STEP 2:
I then take the hash and the code and put it in this script:
const { MTProto } = require('telegram-mtproto');
const { Storage } = require('mtproto-storage-fs');

const app = { storage: new Storage('./storage.json') }

const phone = {
  num : '+19179999999',
  code: '12345',
  phone_hash : 'XXXXXXXXXXXXXX'
}
const api = {
  layer          : 57,
  initConnection : 0x69796de9,
  api_id         : XXXX
}

const server = { webogram: true, dev: false }

const client  = MTProto({ server, api })

//function login(client, phone){

let signIn = client('auth.signIn', {
  phone_number   : phone.num,
  phone_code_hash : phone.phone_hash ,
  phone_code     : phone.code
})

signIn.then(signInResult=>{
  console.log(signInResult)
})

And the error I receive is:
[9.401] Error 400 PHONE_CODE_EXPIRED 2 1
Unhandled rejection (<{"code":400,"type":"PHONE_CODE_EXPIRED...>, no stack trace)
Even if I enter within a minute I keep on getting this error. Can anyone help me get this working?

auth.sendCode and auth.signIn must be in the same object MTProto. Without disconnection

@unger1984 Thank you! In this case how is it possible receive the code to the phone and enter it back into the auth.signIn in the same object?

@unger1984  OK I've switched up my approached based on your tip. Here's my new code:
Step 1: Still send code to phone
const {MTProto} = require('telegram-mtproto');
const {Storage} = require('mtproto-storage-fs')
const phone = '+19179999999'
const api = {
  layer: 57,
  initConnection: 0x69796de9,
  api_id: XXXXX,
  app_version: '1.0.1',
  lang_code: 'en'
}

const server = {
  webogram: true,
  dev: false
}

const client = MTProto({
      api,
      server
    })

    let sendPhoneCode = client('auth.sendCode', {
      phone_number: phone,
      current_number: true,
      api_id: xxxxx,
      api_hash: 'xxxxxxxxxxxxxxxxxxxx'
    })

    sendPhoneCode.then(codeResponse => {
      console.log(codeResponse)
    })

Step 2: Enter code, in phone object, but run full login from there:
const {
    MTProto
} = require('telegram-mtproto');
const {
    Storage
} = require('mtproto-storage-fs');

const app = {
    storage: new Storage('./storage.json')
}

const phone = {
    num: '+19179999999',
    code: '11092'
}
const api = {
    layer: 57,
    initConnection: 0x69796de9,
    api_id: xxxxxx
}

/*const server = {
  dev: true
}*/
const server = { webogram: true, dev: false}

const client = MTProto({
    server,
    api
})

let  getPhoneHash =  client('auth.sendCode', {
        phone_number: phone.num,
        current_number: false,
        api_id: xxxxxx,
        api_hash: 'xxxxxxxxxxxxxxx'
    })

let signIn = getPhoneHash.then(codeResponse=>{

    return client('auth.signIn', {
        phone_number: phone.num,
        phone_code_hash: codeResponse.phone_code_hash,
        phone_code: phone.code
    })

})

signIn.then(result=>{
    console.log(result)
})

The error I get now is this:
[6.995] Error 400 PHONE_CODE_INVALID 2 1
Unhandled rejection (<{"code":400,"type":"PHONE_CODE_INVALID...>, no stack trace)
I'm very confused about how you send the code to your phone, but enter it in the same object for sign in.
Thanks again for any help. Cheers!

For testing, I, for example, use this:
const read = (msg) => {
    return new Promise((resolve, reject) => {
        console.log(msg)
        let input = ''
        process.stdin.resume()
        process.stdin.setEncoding('utf8');
        process.stdin.on('data', data => {
            input += data;

            if (data.indexOf('\n') != -1) {
                input = input.replace('\n', '');
                process.stdin.pause();
                resolve(input);
            }
        });
    });
}

const testReal = async (phone) => {
    try {
        let phone_hash = await tg.sendCode(phone)
        let sms = await read("SMS Code?")
        let auth = null;
        if (await tg.checkPhone(phone)) {
            tg.pause(1)
            auth = await tg.signIn(phone, phone_hash, sms)
        } else {
            tg.pause(1)
            auth = await tg.signUp(phone, phone_hash, sms, "TestName", "TestSecond")
        }
        let user_id = auth.user.id;
        console.log("user", user_id);
        tg.setUserAuth(2, {id: user_id});
        tg.pause(1)
        tg.done()
    } catch (e) {
        console.dir(e);
        tg.done()
    }
}

tg - his is the wrapper class over MTProto. read - read sms code from stdin

I`m use SimpleFileStorage for save auth data between sessions

@unger1984 I see thanks. I have to figure out how to keep MTProto open (or pass the object) when I receive the code.

@dundas  did you figured out how to keep MTProto open when receiving the code?  I have similar issues with phone code verification.  (topic: https://github.com/zerobias/telegram-mtproto/issues/88) and think your solution can maybe help

Found a workaround to keep MTProto open when SMS code is received.  I saved the SMS code in an external JSON file and added a delay of 30 seconds between SendCode and SignUp.  This gave me 30sec to update the JSON file with SMS code.
config.json:
{     "sms" : "7****7" }
js code:
`const delay = require('delay');
let MTProto = require('telegram-mtproto').MTProto
const phone = {
num : '+35',
code_hash: 'b***d'
}
const api = {
layer          : 57,
initConnection : 0x69796de9,
api_id         : 1*****1
}
const server = {
dev: true //We will connect to the test server.
}           //Any empty configurations fields can just not be specified
const client = MTProto({ server, api })
async function connect(){
const { phone_code_hash } = await client('auth.sendCode', {
phone_number  : phone.num,
current_number: false,
api_id        : 11,
api_hash      : 'c**********************3'
})
await delay(30000);
var config = require('./config.json');
const { user } = await client('auth.signUp', {
phone_number   : phone.num,
phone_code_hash: phone_code_hash,
phone_code     : config.sms,
first_name      : 'YourName'
})
console.log('signed as ', user)
}
connect()
`

@Roy5000 To insert code block in markdown use triple backtick (```)
```
Code
```

To enter sms code you can use keyboard (see https://github.com/zerobias/telegram-mtproto/issues/124#issuecomment-347812568 read function)

Thanks @OwnageIsMagic .
The first Sign Up went successful and I received below response.  After restart I tried to run script again but Telegram does not sent SMS codes anymore.  Is this because I'm still signed up/in with phone number?
I assume the the signup with SMS code is only onetime needed and from then need to use the ID / AccessHash from response?
Looking for function / method how to SignIn after the first time.
{ _: 'user',
  flags: 1043,
  self: true,
  id: 5****,
  access_hash: '1*****************0',
  first_name: 'Roy',
  phone: '3*****5' }

https://translate.google.ru/#en/auto/signIn signUp

Thanks, I think I got the difference between SignIn and SignUp. The first time you need to SignUp to register, parameters for this function are phonenumber,  phone hash code, sms code and first name.
The next time you need to SignIn instead of SignUp. Parameters for this function are phonenumber,  phone hash code, sms code.
The SignUp went succesfull but when I run function sendcode again (to get phone hash) I don't receive a sms code. And if i understand the function correct this sms code is alsof needed for SignIn.  What could be wrong? (Could it be a limit of max. Sms messages received?)

You need registration(sign up) only once per phone number
After that log in(sigin in) into account using
async function login(client, phone){
  const { phone_code_hash } = await client('auth.sendCode', {
    phone_number  : phone.number,
    current_number: false,
    api_id        : 001,
    api_hash      : 'fb569'
  })
  const sigin = await client('auth.signIn', {
    phone_number   : phone.num,
    phone_code_hash: phone_code_hash,
    phone_code     : sms.code // <-- enter sms code here
  })

  console.log('sigin user info', sigin);
}

My issue with not receiving telegram SMS code is solved after I moved to version  3.2.11.

I solve this issue, here is my code

const readline = require('readline');
const { MTProto } = require('telegram-mtproto');

const  rl = readline.createInterface({
    input:process.stdin,
    output:process.stdout
});

const phone = {
    num : '+8613157064993'
};

const info = {
    first_name: 'xiaoming1',
    last_name: 'wang'
};

const app = {
    api_id: 115826,
    api_hash: 'aa866cf94d15ad9a9f9d69a399b1e588'
}

const api = {
    layer         : 58,
    initConnection: 0x69796de9,
    api_id        : app.api_id
};

const server = {
    dev: true //We will connect to the test server.
};        //Any empty configurations fields can just not be specified

const client = MTProto({ server, api });

async function checkPhone(){
    console.log('start to checkPhone');
    const result = await client('auth.checkPhone', {
        phone_number: phone.num
    });
    console.log('checkPhone result: ' + JSON.stringify(result));
    return result.phone_registered;
}

async function inputWait(inputDesc, next){
    rl.question(inputDesc,function(rel){

        next(rel.replace('\n', ''));
        rl.close();
    });
}

// console.log(inputWait('input'));

async  function startSignUp(code,phone_code_hash) {
    console.log('start to signUp, code: %s phone_code_hash: %s', code, phone_code_hash);
    const result = await client('auth.signUp', {
        phone_number: phone.num,
        phone_code_hash: phone_code_hash,
        phone_code: code,
        first_name: info.first_name,
        last_name: info.last_name
    });
    console.log('sign up completed, result: ' + JSON.stringify(result));

    await signIn()
}

async function signUp() {

    const phone_code_hash = await sendCode();

    await inputWait('input phone num: ', function (code) {
        startSignUp(code, phone_code_hash);
    });

}

async function sendCode(){
    console.log('await send code.');
    const result = await client('auth.sendCode', {
        phone_number  : phone.num,
        current_number: true,
        api_id        : app.api_id,
        api_hash      : app.api_hash
    });

    console.log('send code completed , result: ' + JSON.stringify(result));
    return result.phone_code_hash;
}
async function startSignIn(code, phone_code_hash) {
    console.log('start to signIn with number code: %s phone_code_hash: %s phone: %s' ,code, phone_code_hash, phone.num);
    const { user } = await client('auth.signIn', {
        phone_number: phone.num,
        phone_code_hash: phone_code_hash,
        phone_code  : code
    });
    console.log('signed as ', user)
}
async function signIn(){

    const phone_code_hash = await sendCode();

    await inputWait('phone num code: ', function(code){
        startSignIn(code, phone_code_hash);
    });

}

async function logOut() {
    console.log('start to logout');
    const result = await client('auth.logOut');
    console.log('logout completed, result: ' + JSON.stringify(result));
}

async function connect(){
    await signUp();
    if(await checkPhone()){
        // await logOut();
        //sign in
        await signIn();

    }else{
        //sign up
        await signUp();

        //sign in
        // await signIn();

    }

}

connect();

Hi guys,
I already have an account setup on Telegram. I want to use this code to read my incoming messages. I used the code on the front page and plugged in my phone number, api, hash,...but when i run the code below i get the Phone_Code_expired error message. I receive 5 digits code by SMS but it's not clear to me how i can sign in. I've tried the code above from Onezens but i get the same error (and it seems this code is to signup , i just want to sign in).
`
//var MTProto = require("MTProto")
const { MTProto } = require('telegram-mtproto')

//import MTProto from 'telegram-mtproto'

const phone = {
  num : '+41xxxxxxx',
  code: '12345'
}

const api = {
  layer          : 57,
  initConnection : 0x69796de9,
  api_id         : 123456
}

const server = {
  dev: true //We will connect to the test server.
}           //Any empty configurations fields can just not be specified

const client = MTProto({ server, api })

async function connect(){
  const { phone_code_hash } = await client('auth.sendCode', {
    phone_number  : phone.num,
    current_number: false,
    api_id        : 123456, // obtain your api_id from telegram
    api_hash      : '6rt765rf65rfdzertu8975rff' // obtain api_hash from telegram
  })
about:blank

`

you need to register on test server to use it
const server = {
  dev: true //We will connect to the test server.
}

Look at this example on how to enter sms code

i see.
But i don't want to use the test server if i want to get my messages , no ?
Following your example link, i see that node-storage.js uses dev: false. so that's prod server, right ?
I have updated my phone number, api ,....then i run node-storage.js and now i receive ->
not signed in
[1.343] Error 401 AUTH_KEY_EMPTY 2 1
[1.742] Error 401 AUTH_KEY_UNREGISTERED 2 1
and nothing else happens.
i tried to run login.js first but then i receive->
Error: Cannot find module '../lib'
??

@unger1984
thanks!
finally I did it.


Add support for summary fields

What changes are proposed in this pull request?
Adds support for creating and managing summary fields on datasets.
How is this patch tested? If it is not, please explain why.

Manual tests (✅)
Unit tests (✅)

Example usage
import fiftyone as fo
import fiftyone.zoo as foz
from fiftyone import ViewField as F

dataset = foz.load_zoo_dataset("quickstart-video")
dataset.set_field("frames.detections.detections.confidence", F.rand()).save()

# Generate a summary field for object labels
dataset.create_summary_field("frames.detections.detections.label")

# Generate a summary field for [min, max] confidences
dataset.create_summary_field("frames.detections.detections.confidence")

# Generate a summary field for object labels and counts
dataset.create_summary_field(
    "frames.detections.detections.label",
    field_name="frames_detections_label2",
    include_counts=True,
)

# Generate a summary field for per-label [min, max] confidences
dataset.create_summary_field(
    "frames.detections.detections.confidence",
    field_name="frames_detections_confidence2",
    group_by="label",
)

# List the summary fields on the dataset
fo.pprint(dataset.list_summary_fields())

# Inspect contents of these summary fields
fo.pprint(dataset.values("frames_detections_label"))
fo.pprint(dataset.values("frames_detections_confidence"))
fo.pprint(dataset.values("frames_detections_label2"))
fo.pprint(dataset.values("frames_detections_confidence2"))

# Verify that newly created summary fields don't needed updating
fo.pprint(dataset.check_summary_fields())

# Modify the source field
label_upper = F("label").upper()
dataset.set_field("frames.detections.detections.label", label_upper).save()

# Verify that the summary fields now need updating
update_fields = dataset.check_summary_fields()
fo.pprint(update_fields)

# Update the summary fields
for field_name in update_fields:
    dataset.update_summary_field(field_name)

# Summary fields are now updated and no longer need updating
fo.pprint(dataset.check_summary_fields())

# Delete summary fields
dataset.delete_summary_fields(dataset.list_summary_fields())
fo.pprint(dataset.list_summary_fields())

Summary by CodeRabbit
Summary by CodeRabbit

New Features

Introduced optional parameters info_keys and created_after for enhanced filtering in schema retrieval functions.
Added methods for managing summary fields in datasets, including creation, listing, updating, and deletion.
Enhanced functionality for validating field constraints based on metadata and creation dates.
Improved user interface for filtering sample fields and managing sidebar groups in the App.
New documentation on utilizing summary fields for efficient dataset queries.

Bug Fixes

Streamlined error handling in the drop_index method.

Tests

Added comprehensive tests for frame summary functionalities and summary fields to ensure accurate data handling and reporting.

Thanks @brimoor - this is awesome! I have a couple of thoughts:

create_field_summary is getting quite long, we should either consider refactoring it or add more comments to it. If we choose to refactor, we can do it in a separate PR (with TODO) so we can close this one.
If we delete all summary fields, does the summary sidebar group disappear automatically?

Thank you for the detailed review @minhtuev 🙌🏼

If we delete all summary fields, does the summary sidebar group disappear automatically?

If a sidebar group becomes empty, it will remain in the App sidebar with an X button that the user can click to remove the group if they want, so its easy to get rid of.


Another Content-Type issue with Alpakka

Hi, I'm trying to do exactly the same as @sfali in #35. The problem in #35 was addressed in #198 (release 2.1.18), but I'm still seeing a very similar error from Alpakka:
Unsupported Content-Type, supported: application/xml; charset=UTF-8

After a bit of investigation, I discovered that the completeMultipartUpload method is still returning a Content-Type of application/x-www-form-urlencoded, which causes Alpakka to choke.
Is this the expected behaviour? I couldn't see a specified Content-Type in the S3 docs, but Alpakka is definitely expecting application/xml.
Regards,
Stefans

@ChaithanyaGK provided a fix, which has been released with version 2.1.19 . @StefansM could you please verify if that fixes this issue?

Yes, that's fixed the issue! Thanks @ChaithanyaGK and @agudian :)


println! not printing to console

The console! macro documentation says

If you want to print things to the console in a standardized way, use println! instead.

But when I use println!, I don't get any output in the console.
All I've done is cargo new foobar, add stdweb="0.4.20" to my Cargo.toml, and do cargo web start, and all it ever says in console is

Finished loading Rust wasm module 'foobar'

I know it's otherwise working, though, because other code I put in there does stuff, like using stdweb::console!(log, "Hello World!"); instead of println! prints to console just fine.

I've had the same issue and just figure it's something I'm doing wrong. Haven't been able to figure out why either.


How to Include Links in Django Admin HTMLField?

I use the HTMLField in django admin but I can't seem to find anywhere that mentions how to include links (entering link text, and link url).
Here is the editor I see in django admin:

Does anyone know how can I include links?

The solution was to press Ctrl + K


Type preservation

Coverage remained the same at 100.0% when pulling 8018c3159aa0a4b32ee93cbd3914f1e37c061f13 on type-preservation into 9d79d144201cf77a4f79359b8e10a7d0de400002 on master.

Coverage remained the same at 100.0% when pulling 74b19c3c1b06b498abe4218b2a91e83f0bad41fe on type-preservation into 9d79d144201cf77a4f79359b8e10a7d0de400002 on master.

Coverage remained the same at 100.0% when pulling 79b07f9fae17a018dd8d6a1d85b5f2f966a18ad4 on type-preservation into 9d79d144201cf77a4f79359b8e10a7d0de400002 on master.

Coverage remained the same at 100.0% when pulling 8d2c6df4396d0254562db60bcae2d230502cd878 on type-preservation into 9d79d144201cf77a4f79359b8e10a7d0de400002 on master.


Recipe - Minor fixes

Same again. Will merge it later.

I'm closing this for now in favor of: https://github.com/deployphp/deployer/pull/173


docs: refine kubernetes core feature docs

Hey, I just made a Pull Request!
I am new at Backstage on this monday.
And i think there are confusing docs when you read kubernetes section on core features.
When i read the docs, i don't have context for entities because it is explained before catalog,
I propose to

rearrange kubernetes to after reading catalog, to get more context about entity and service component.
add how to get serviceAccountToken
add troubleshooting.md for k8s

:heavy_check_mark: Checklist

[x] Add and update docs
[x] A changeset describing the change and affected packages. (more info)
[x] Screenshots

Tugboat has finished building the preview for this pull request!
Link:

https://pr4743-7cfr6hvxhl5os64eft3gseo79ofpehfy.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d177365f8170272fd9756

Tugboat has finished building the preview for this pull request!
Link:

https://pr4743-7cfr6hvxhl5os64eft3gseo79ofpehfy.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d177365f8170272fd9756

Tugboat has finished building the preview for this pull request!
Link:

https://pr4743-7cfr6hvxhl5os64eft3gseo79ofpehfy.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d177365f8170272fd9756

Tugboat has finished building the preview for this pull request!
Link:

https://pr4743-7cfr6hvxhl5os64eft3gseo79ofpehfy.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d177365f8170272fd9756

Tugboat has finished building the preview for this pull request!
Link:

https://pr4743-7cfr6hvxhl5os64eft3gseo79ofpehfy.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d177365f8170272fd9756

Tugboat has finished building the preview for this pull request!
Link:

https://pr4743-7cfr6hvxhl5os64eft3gseo79ofpehfy.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d177365f8170272fd9756

I'll admit to also thinking the nuance of the selectors is a bit confusing, so a cc out to @mclarke47  (original plugin author) who may be able to give this a better review!

Tugboat has finished building the preview for this pull request!
Link:

https://pr4743-7cfr6hvxhl5os64eft3gseo79ofpehfy.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d177365f8170272fd9756

Tugboat has finished building the preview for this pull request!
Link:

https://pr4743-7cfr6hvxhl5os64eft3gseo79ofpehfy.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d177365f8170272fd9756

Tugboat has finished building the preview for this pull request!
Link:

https://pr4743-7cfr6hvxhl5os64eft3gseo79ofpehfy.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d177365f8170272fd9756

Tugboat has finished building the preview for this pull request!
Link:

https://pr4743-7cfr6hvxhl5os64eft3gseo79ofpehfy.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d177365f8170272fd9756

Tugboat has finished building the preview for this pull request!
Link:

https://pr4743-7cfr6hvxhl5os64eft3gseo79ofpehfy.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d177365f8170272fd9756

Tugboat has finished building the preview for this pull request!
Link:

https://pr4743-7cfr6hvxhl5os64eft3gseo79ofpehfy.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d177365f8170272fd9756

LGTM, I added some grammar suggestions!

Tugboat has finished building the preview for this pull request!
Link:

https://pr4743-7cfr6hvxhl5os64eft3gseo79ofpehfy.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d177365f8170272fd9756

LGTM, I added some grammar suggestions!

great, thanks !! i change it based on your review

Tugboat has finished building the preview for this pull request!
Link:

https://pr4743-7cfr6hvxhl5os64eft3gseo79ofpehfy.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d177365f8170272fd9756


Empty username

System information

node version: v15.11.0
npm or yarn version: yarn version 1.22.10
OS/version/architecture: osx 10.15.7
Applicable nodegit version: 0.27.0

 ❯❯❯ node -v
npm -v # (or yarn -v)
node -e "console.log(process.platform)"
node -e "console.log(require('os').release())"
node -e "console.log(console.log(process.arch))"
v15.11.0
7.6.0
darwin
19.6.0
x64
undefined

I have the following code
        const repo = await Git.Clone.clone("https://github.com/myprivate/repo.git", "./tmp", {
            fetchOpts: {
                callbacks: {
                    certificateCheck: function() { return 0; },
                    credentials: function (url, userName) {
                        console.log(`url is ${url}`)
                        console.log(`username  is ${userName}`)
                        const cred = Git.Cred.sshKeyFromAgent('paymahn');
                        console.log(`cred is ${cred}`)
                        return cred;
                    }
                }
            }
        })

And when I run this I get the following output
url is https://github.com/myprivate/repo.git
username  is
cred is [object Object]
node:internal/process/promises:245
          triggerUncaughtException(err, true /* fromPromise */);
          ^

[Error: remote credential provider returned an invalid cred type] {
  errno: -1,
  errorFunction: 'Clone.clone'
}

It looks like the username is empty which is causing invalid credentials to be created. Has anyone stumbled on this before? Why might the username be empty when this callback is called?

This looks like a difference in format between the expected object and what the remote sent you. Could you print the whole object you received ? Perhaps specify what kind of remote you are using and what git version said remote is using ?

Can you clarify what you mean by "remote"? That's a new term to me and I don't want to accidentally misinterpret it.
I don't think the primary problem is with the cred object - I think the primary problem is that the username is empty which ends up returning an invalid cred.

 The remote has the ability to answer various things. For example, when pushing, it can give you a link to create a merge request (GitLab remotes do this). In this case, if I understand your issue correctly, it answers w/ the cred object.
I see what you mean, yet the error states :
[Error: remote credential provider returned an invalid cred type] {
  errno: -1,
  errorFunction: 'Clone.clone'
}

which doesn't explicitly mention the username field. Having username === '' may be an accepted value, and the exception is caused by another "cred type" format.

Ah I see - the remote I'm trying to pull is a private github repo that I have access to.
I managed to fix this by using oauth authentication with const cred = Git.Cred.userpassPlaintextNew(process.env.GITHUB_TOKEN,'x-oauth-basic'); where I supply a github token through the environment.


Machine's Remote Control (I/O SHIT)

Since powernet need machines to work let's throw another Urist's concept to your consideration! Urist read thousands game design's books after all!
Overview
Devices (possible for other entities too but mostly devices; the gates, for example, probably wouldn’t be devices) send signals to each other using two components, RCInput and RCOutput (RC for Remote Control). Most complex interactions involve this standartized system - have the entity’s own code operate what it sends via RCO and how it behaves on receiving signals via RCI. A supplemental RCOutputUI component is used for when you need to provide the player with the means to edit which RCInputs an RCOutput is connected to.
Signals can be instant or continuous and contain a string as their value.

RCOutput component
An RCOutput’s properties are its range, connected RCInputs and current continuous signals being output. It can have any number of RCInputs connected to it at a time. When the entity or another component tells RCO to output a signal, it informs all connected RCIs of its value. If it’s a continuous signal, the RCIs remember it, and the RCO will tell them if it gets disconnected, the continuous signal stops or its value changes. If an RCI is connected to an RCO while the RCO is outputting a continuous signal, it gets told about the signal.
RCInput component
An RCInput’s properties are its connected RCOutputs and current continuous signals being input.
It can have any number of RCOutputs connected to it at a time. When it receives a signal or an update on a continuous signal it informs other entities/components that rely on that information about it.
An RCInput component can have a flag that on interaction with its entity requests the one performing the interaction to automatically try to perform an interaction with all the connected RCOs in its reach. This can be helpful for things mobs often interact with, like doors - a mob bumps into a door, the door asks it to press the connected button, the mob does so because it’s inside the mob’s reach, the door receives the signal and opens; all without the player doing anything sans bumping into the door.
RCOutputUI
A simple UI that gets all the RCIs within an RCO’s range and lets a player using it connect/disconnect them.

Examples of usage (Content?)

Logic gates - RCI, RCO.
AND: outputs an instant “true” signal when receives signals from all connected RCOs within a certain timeframe (property) and at least one of them isn’t continuous. Outputs a continuous “true” signal when all connected RCOs output continuous signals.
XOR: relays a signal from one of the connected RCOs while all other connected RCOs aren’t outputting signals.
OR: outputs an instant signal defined by a property when one of the other connected RCOs outputs an instant signal and not outputting a continuous signal. Outputs a continuous “true” signal when one of the other connected RCOs outputs a continuous signal.
NONE: outputs a constant signal defined by a property while none of the connected RCOs are outputting a signal.
Signal splitter - RCI, RCO. When it receives a signal, based on the signal’s string and the splitter’s settings, sends it to a specific connected RCI. For example, a splitter could be connected to an ID reader and send a signal to a door when it receives a “passed” signal and to a turret when it receives a “failed” signal.
Button - RCO. Sends instant signal defined by a property when used.
Switch - RCO. When used, switches between on/off. While on, maintains a constant signal defined by a property.

This is good, but how about instead of designing the circuit, you design code contained in a processor object instead?

So one could create many opposing logic gates that loop infinitely possibly clogging up server CPU.  I would exclude NONE if I were you since a looping NONE->OR combo would be possible.  Given that NONE creates a output according to your description of that logic gate above.

Might be solvable by limiting the speed of logic gates, ie, a gate won't detect a change in signal until the start of next tick. You'd still be able to slow down the server somewhat by spamming them, but that's true for pretty much any object.

Moved here


Give three-dot message menu enough space

In moderately narrow windows, we limit the width of the three-dot message menu, causing unfortunate line wrapping:

Instead, we should allow the menu to be wider to accommodate the options without line wrapping. We can use a version of the menu that doesn't have an up-triangle on top when having the up-triangle in the middle makes the menu too narrow.

I can manage to fix this issue,
Please assign this issue to me.

@HeetRaichura12  please post a comment describing your proposed approach. After that, you can claim the issue using Zulipbot, as described here: https://zulip.readthedocs.io/en/latest/contributing/contributing.html#claiming-an-issue

@alya @amanagr Sorry but i was not active because of my exams, Please give me 1 week from now i will fix the issue

@HeetRaichura12 No worries! Since this a release goal, please pick a different issue to work on when you have time contribute. Thanks!


[Bug]: I couldn't create a note

Whenever I try to create a note, I receive Command 'Notable: Create a note' resulted in an error (command 'notable.createNote' not found). Do I need to install additional package?
For context, I tested this on Mac Ventura M1.

Sorry, i forgot to answer. Why did you closed it ?


Enable support for wasm by disabling io primitives

Resolves #89. There are now two features, enabled by default: io and timer. io enables the Async type and timer enables the Timer type. A different reactor is selected depending on which system we're using. When both features are disabled, the implementation of block_on is changed to be a brief wrapper around futures_lite's version of it.
This is a breaking change.

I rebased on master, implemented the changes I made in #92 in this branch, and reimplemented the new system such that it only exposes the fallback when compiled for target_family = "wasm"

This PR has gotten stale, I'll make a new one for the current state.


yolox train customize dataset the loss_cls: 0.0000, loss_bbox: 0.0000

Prerequisite

[X] I have searched Issues and Discussions but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version (master) or latest version (3.x).

Task
I have modified the scripts/configs, or I'm working on my own tasks/models/datasets.
Branch
master branch https://github.com/open-mmlab/mmdetection
Environment
sys.platform: linux
Python: 3.7.13 (default, Mar 29 2022, 02:18:16) [GCC 7.5.0]
CUDA available: True
GPU 0,1: Tesla P100-PCIE-16GB
CUDA_HOME: /usr/local/cuda-10.0
NVCC: Cuda compilation tools, release 10.0, V10.0.13
GCC: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
PyTorch: 1.7.1
PyTorch compiling details: PyTorch built with:

GCC 7.3
C++ Version: 201402
Intel(R) oneAPI Math Kernel Library Version 2021.4-Product Build 20210904 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v1.6.0 (Git Hash 5ef631a030a6f73131c77892041042805a06064f)
OpenMP 201511 (a.k.a. OpenMP 4.5)
NNPACK is enabled
CPU capability usage: AVX2
CUDA Runtime 10.1
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_37,code=compute_37
CuDNN 7.6.3
Magma 2.5.2
Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPPER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON,

TorchVision: 0.8.2
OpenCV: 4.6.0
MMCV: 1.7.0
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 10.1
MMDetection: 2.25.3+e71b499
Reproduces the problem - code sample
base = ['../base/schedules/schedule_1x.py', '../base/default_runtime.py']
img_scale = (640, 640)  # height, width
model settings
model = dict(
type='YOLOX',
input_size=img_scale,
random_size_range=(15, 25),
random_size_interval=10,
backbone=dict(type='CSPDarknet', deepen_factor=1.33, widen_factor=1.25),
neck=dict(
type='YOLOXPAFPN',
in_channels=[320, 640, 1280], out_channels=320, num_csp_blocks=4),
bbox_head=dict(
type='YOLOXHead', num_classes=2, in_channels=320, feat_channels=320),
train_cfg=dict(assigner=dict(type='SimOTAAssigner', center_radius=2.5)),
# In order to align the source code, the threshold of the val phase is
# 0.01, and the threshold of the test phase is 0.001.
test_cfg=dict(score_thr=0.01, nms=dict(type='nms', iou_threshold=0.65)))
dataset settings
data_root = '/mnt/122.149-sr01/liangyzh/dataset/coco/exam_0409_0418/'
dataset_type = 'CocoDataset'
train_pipeline = [
dict(type='Mosaic', img_scale=img_scale, pad_val=114.0),
dict(
type='RandomAffine',
scaling_ratio_range=(0.1, 2),
border=(-img_scale[0] // 2, -img_scale[1] // 2)),
dict(
type='MixUp',
img_scale=img_scale,
ratio_range=(0.8, 1.6),
pad_val=114.0),
dict(type='YOLOXHSVRandomAug'),
dict(type='RandomFlip', flip_ratio=0.5),
# According to the official implementation, multi-scale
# training is not considered here but in the
# 'mmdet/models/detectors/yolox.py'.
dict(type='Resize', img_scale=img_scale, keep_ratio=True),
dict(
type='Pad',
pad_to_square=True,
# If the image is three-channel, the pad value needs
# to be set separately for each channel.
pad_val=dict(img=(114.0, 114.0, 114.0))),
dict(type='FilterAnnotations', min_gt_bbox_wh=(1, 1), keep_empty=False),
dict(type='DefaultFormatBundle'),
dict(type='Collect', keys=['img', 'gt_bboxes', 'gt_labels'])
]
train_dataset = dict(
type='MultiImageMixDataset',
dataset=dict(
type=dataset_type,
ann_file=data_root + 'annotations/instances_train2017.json',
img_prefix=data_root + 'train2017/',
pipeline=[
dict(type='LoadImageFromFile'),
dict(type='LoadAnnotations', with_bbox=True)
],
filter_empty_gt=False,
),
pipeline=train_pipeline)
test_pipeline = [
dict(type='LoadImageFromFile'),
dict(
type='MultiScaleFlipAug',
img_scale=img_scale,
flip=False,
transforms=[
dict(type='Resize', keep_ratio=True),
dict(type='RandomFlip'),
dict(
type='Pad',
pad_to_square=True,
pad_val=dict(img=(114.0, 114.0, 114.0))),
dict(type='DefaultFormatBundle'),
dict(type='Collect', keys=['img'])
])
]
data = dict(
samples_per_gpu=4,
workers_per_gpu=4,
persistent_workers=True,
train=train_dataset,
val=dict(
type=dataset_type,
ann_file=data_root + 'annotations/instances_val2017.json',
img_prefix=data_root + 'val2017/',
pipeline=test_pipeline),
test=dict(
type=dataset_type,
ann_file=data_root + 'annotations/instances_val2017.json',
img_prefix=data_root + 'val2017/',
pipeline=test_pipeline))
optimizer
default 8 gpu
optimizer = dict(
type='SGD',
lr=0.01,
momentum=0.9,
weight_decay=5e-4,
nesterov=True,
paramwise_cfg=dict(norm_decay_mult=0., bias_decay_mult=0.))
optimizer_config = dict(grad_clip=None)
max_epochs = 400
num_last_epochs = 15
resume_from = None
interval = 1
learning policy
lr_config = dict(
delete=True,
policy='YOLOX',
warmup='exp',
by_epoch=False,
warmup_by_epoch=True,
warmup_ratio=1,
warmup_iters=5,  # 5 epoch
num_last_epochs=num_last_epochs,
min_lr_ratio=0.05)
runner = dict(type='EpochBasedRunner', max_epochs=max_epochs)
custom_hooks = [
dict(
type='YOLOXModeSwitchHook',
num_last_epochs=num_last_epochs,
priority=48),
dict(
type='SyncNormHook',
num_last_epochs=num_last_epochs,
interval=interval,
priority=48),
dict(
type='ExpMomentumEMAHook',
resume_from=resume_from,
momentum=0.0001,
priority=49)
]
checkpoint_config = dict(interval=interval)
evaluation = dict(
save_best='auto',
# The evaluation interval is 'interval' when running epoch is
# less than ‘max_epochs - num_last_epochs’.
# The evaluation interval is 1 when running epoch is greater than
# or equal to ‘max_epochs - num_last_epochs’.
interval=interval,
dynamic_intervals=[(max_epochs - num_last_epochs, 1)],
metric='bbox')
log_config = dict(interval=50)
NOTE: auto_scale_lr is for automatically scaling LR,
USER SHOULD NOT CHANGE ITS VALUES.
base_batch_size = (8 GPUs) x (8 samples per GPU)
auto_scale_lr = dict(base_batch_size=4)
load_from = "/mnt/122.149-sr01/liangyzh/dataset/mmlab/mmdetection/yolox_x_8x8_300e_coco_20211126_140254-1ef88d67.pth"
work_dir = "/mnt/122.149-sr01/liangyzh/dataset/mmlab/mmdetection/output/20221121"
Reproduces the problem - command or script
python tools/train.py configs/yolox/yolox_x_1*8_exam.py --auto-scale-lr --gpu-id 0
Reproduces the problem - error message
2022-11-21 17:34:04,502 - mmdet - INFO - Epoch [1][50/2381]     lr: 1.764e-07, eta: 7 days, 6:09:22, time: 0.658, data_time: 0.064, memory: 12372, loss_cls: 0.0000, loss_bbox: 0.000$
, loss_obj: 375.9151, loss: 375.9151
2022-11-21 17:34:34,780 - mmdet - INFO - Epoch [1][100/2381]    lr: 7.056e-07, eta: 6 days, 23:10:02, time: 0.606, data_time: 0.006, memory: 14254, loss_cls: 0.0000, loss_bbox: 0.00$
0, loss_obj: 318.3267, loss: 318.3267
2022-11-21 17:35:07,847 - mmdet - INFO - Epoch [1][150/2381]    lr: 1.588e-06, eta: 7 days, 1:44:59, time: 0.661, data_time: 0.006, memory: 14254, loss_cls: 0.0000, loss_bbox: 0.000$
, loss_obj: 259.7934, loss: 259.7934
2022-11-21 17:35:35,278 - mmdet - INFO - Epoch [1][200/2381]    lr: 2.822e-06, eta: 6 days, 19:34:55, time: 0.549, data_time: 0.006, memory: 14254, loss_cls: 0.0000, loss_bbox: 0.000
0, loss_obj: 125.2541, loss: 125.2541
2022-11-21 17:36:01,379 - mmdet - INFO - Epoch [1][250/2381]    lr: 4.410e-06, eta: 6 days, 14:28:18, time: 0.522, data_time: 0.006, memory: 14254, loss_cls: 0.0000, loss_bbox: 0.000
0, loss_obj: 69.2520, loss: 69.2520
2022-11-21 17:36:28,697 - mmdet - INFO - Epoch [1][300/2381]    lr: 6.350e-06, eta: 6 days, 12:08:08, time: 0.546, data_time: 0.006, memory: 14254, loss_cls: 0.0000, loss_bbox: 0.000
0, loss_obj: 44.0446, loss: 44.0446
2022-11-21 17:36:58,185 - mmdet - INFO - Epoch [1][350/2381]    lr: 8.643e-06, eta: 6 days, 12:06:14, time: 0.590, data_time: 0.006, memory: 14254, loss_cls: 0.0000, loss_bbox: 0.000
0, loss_obj: 29.0738, loss: 29.0738
Additional information
No response

I've solved this problem. I forgot add classes in config.

I've solved this problem. I forgot add classes in config.

Hi，I meet the same problem. I 've already set num_classes to 80 on COCO, but still get zero loss_cls and loss_bbox. Could you elaborate your solution? Thanks.

我已经解决了这个问题。我忘了在配置中添加类。

您好，我在coco.py以及classes.py中修改了类信息，并且在配置文件中将classnum修改成对应的数目，但是依然出现了这个错误，请问您具体是怎么解决的呢

@EnzoLiang  I meet the same problem. can you share your config? I dont know how to modify the classes.

This Issue is a bit overdue, asking in case people are still facing the same problem ...
I have managed to set the classes correctly. Despite of that, I'm still getting 0.0 on bbox and classification loss.
Also, on the test step, when it tries to compute the COCO metrics, I get the following error.
" ERROR - ./mmdetection/mmdet/evaluation/metrics/coco_metric.py - compute_metrics - 465 - The testing results of the whole dataset is empty."
Any suggestions how to proceed from here?

This Issue is a bit overdue, asking in case people are still facing the same problem ... I have managed to set the classes correctly. Despite of that, I'm still getting 0.0 on bbox and classification loss.
Also, on the test step, when it tries to compute the COCO metrics, I get the following error.
" ERROR - ./mmdetection/mmdet/evaluation/metrics/coco_metric.py - compute_metrics - 465 - The testing results of the whole dataset is empty."
Any suggestions how to proceed from here?

Hi , Have you solved your problem? I have the same

I encountered the same issue. The problem of loss being zero was resolved by turning off the random affine data augmentation. I'm not sure if disabling random affine is the correct way to fix this issue or if there are other solutions available.

My solution is to run the code in pycharm and set the path of the dataset
in the config file as an absolute path. Problem solved.
HanWu @.***>于2023年12月26日 周二16:16写道：

I encountered the same issue. The problem of loss being zero was resolved
by turning off the random affine data augmentation. I'm not sure if
disabling random affine is the correct way to fix this issue or if there
are other solutions available.
—
Reply to this email directly, view it on GitHub
https://github.com/open-mmlab/mmdetection/issues/9359#issuecomment-1869355549,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQYNNPE6CZ5BAZGP34WSOFLYLKBWZAVCNFSM6AAAAAASGOGY3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGM2TKNJUHE
.
You are receiving this because you commented.Message ID:
@.***>


Few problems with sensors

What happened?

When HA is starting some sensors can be unavailable, but integration stores their states anyway and then throws error while calculating.

I fixed to this is by adding:
if new_state_obj.state in ["unknown", "unavailable"]:
    _LOGGER.debug(f"async_sensor_state_changed: wrong new state for {entity}: {new_state_obj.state}, ignoring.")
    return

after line 382 in init.py

When sensor state changes it is stored as string. I forced conversion to float, but I don't know if it can break other sensors that use integers instead of floats.
Fix:

float(new_state_obj.state),

at line 411.
How to reproduce
Set sensor as data source.
Relevant log output
No response
Which version are you running?
2024.6.4
Diagnostics file

[X] I have attached a diagnostics file

Additional information
No response

thank you, these fixes look great. I will add them in.

At lines 389 and 391 should be 'new_state_obj.state' :)


Footer circular link

See Footer for "Start Cooking with Ziti" https://openziti.io/docs/learn/quickstarts/network/ and https://openziti.discourse.group/t/duplicate-content-on-the-first-two-pages-of-the-docs/1429/2

Closed by #589
Fix applied by @qrkourier


for Python 3.8 lib

Dear Unitree
I tried the python commit, It works! (Python 3.7)
And I hope Could you add the ARM64 lib (.so)  for Python 3.8 ?
I need to use it with another host (Python3.8 / Ubuntu 20.04 / 64bit/ Raspi 4).
https://github.com/unitreerobotics/unitree_legged_sdk/tree/master/lib/python/arm64
Thanks :-)

Did this lib unsatisfy your need?
Because this lib could work under raspbian buster, 64bit.

@TrivasZhang
Thanks for you reply.
Maybe Is the lib file for python 3.7 ?
I think it can't use with python 3.8, right ?
I try it with raspi4 (ubuntu20.04/64bit/python 3.8 ), but It appeared the import error.

cd ./build
cmake ..
make -j4
//change the source, "sys.path.append('../lib/python/arm64')"
export LD_LIBRARY_PATH=/path-to-unitree_legged_sdk/lib/cpp/arm64:$LD_LIBRARY_PATH
python3 ../example_py/example_walk.py
ModuleNotFoundError: No module named 'robot_interface'

I need to use with python 3.8.
or, Should I install python 3.7 ?

fix

export LD_LIBRARY_PATH=/path-to-unitree_legged_sdk/lib/cpp/arm64:$LD_LIBRARY_PATH

export LD_LIBRARY_PATH=../lib/cpp/arm64:$LD_LIBRARY_PATH

So could this 3.7 version lib works with python3.8?
I know the 3.8 is more versatile, but the known issue is that many delivered robots are python 3.7.

No, It fix only the path string.
I tried, but It didn't work with python 3.8 yet. (It showed as screenshot.)
If unitree can provide the lib for python 3.8, It is convenient.
But If can't, I will try to add python 3.7.
Thank you, @TrivasZhang

I'll add 3.8.

fix

export LD_LIBRARY_PATH=/path-to-unitree_legged_sdk/lib/cpp/arm64:$LD_LIBRARY_PATH

export LD_LIBRARY_PATH=../lib/cpp/arm64:$LD_LIBRARY_PATH

Did absolute path not work?

I did again with absolute path, but same result.
( Off course Go1's raspi can work with this.)

cd to example_py folder then python3 example_walk.py

Thanks @littleggghost

same
I think because of module version.

Use sys.path.append('../lib/python/arm64')
By the way, where did you find this raspi4 (ubuntu20.04/64bit/python 3.8 ) system image?

Next, I try to rename the lib.
mv ./robot_interface.cpython-37m-aarch64-linux-gnu.so robot_interface.so

Then version mismatch log appeared.

import robot_interface
Traceback (most recent call last):
File "", line 1, in
ImportError: Python version mismatch: module was compiled for Python 3.7, but the interpreter version is incompatible: 3.8.10 (default, Mar 15 2022, 12:22:08)
[GCC 9.4.0].

Thanks.

Please wait for the 3.8 version lib.

Dear TrivasZhang,
Thanks for helping me. I really appreciate it.
I will wait for it.
devemin

Good to hear that! If everything stable, I'll make a release.

I will use and test this for a week :-)

Is there a python 3.10.6 solution for the: " No module named 'robot_interface' " problem
?

Hello,we have provided the python_wrapper,please check and any version of Python （>3.0） can be used to control the robot dog
(https://github.com/unitreerobotics/unitree_legged_sdk/tree/go1/python_wrapper)

Hello,we have provided the python_wrapper,please check and any version of Python （>3.0） can be used to control the robot dog (https://github.com/unitreerobotics/unitree_legged_sdk/tree/go1/python_wrapper)

Hi, I am using python3.10.12 and I am getting the same error saying "no module named robot_interface" Can I please know how to use python_wrapper to solve this error? Or do I need to use different version of Python


Include autobackup and .cache in gitignore.

created by clangd
Signed-off-by: Henner Zeller<EMAIL_ADDRESS>

Codecov Report

Merging #1842 (402a9b2) into master (d310b26) will increase coverage by 0.00%.
The diff coverage is 85.71%.

@@           Coverage Diff           @@
##           master    #1842   +/-   ##
=======================================
  Coverage    9.00%    9.00%
=======================================
  Files         470      470
  Lines      193337   193350   +13
=======================================
+ Hits        17404    17419   +15
+ Misses     175933   175931    -2

Impacted Files
Coverage Δ

src/DesignCompile/NetlistElaboration.cpp
28.53% <85.71%> (+0.29%)
:arrow_up:

...uild/third_party/UHDM/generated/uhdm/VpiListener.h
6.94% <0.00%> (-0.24%)
:arrow_down:

...uild/third_party/UHDM/generated/src/clone_tree.cpp
2.12% <0.00%> (+0.07%)
:arrow_up:

...ird_party/UHDM/generated/uhdm/ElaboratorListener.h
29.53% <0.00%> (+0.35%)
:arrow_up:

src/Design/ValuedComponentI.cpp
80.43% <0.00%> (+2.17%)
:arrow_up:

...ld/third_party/UHDM/generated/src/actual_group.cpp
53.33% <0.00%> (+6.66%)
:arrow_up:

Continue to review full report at Codecov.

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


Fixed (hopefully) line-numbers not inheriting font scale

Changed the builtin line-number face, linum face, solaire line-number face and the lsp-ui line-number face to inherit default, so as to propagate resizing through C-x -/+ as expected.

Will test now 👍

Looks great!


ci: Unpin Unexecuted Dependencies

PyYAML and requests dependencies aren't ever directly executed and are
only pulled within CI systems to avoid import errors in pylint. Keeping
pinned dependencies for Python packages executed directly to avoid
randomly picking up breaking changes.

(Also I wonder if workflow changes should trigger actions?)

I had added that myself as well, was going to ask your input on that


A Segmentation fault

just as pic show

when the libansilove parser crafted file, it will cause a OOB if the seqTok assignned wrong
as the valgrind detect, there is a "Invalid read"
root@Starry:~/fuzz/ansilove# valgrind ./ansilove -i poc.ans
==30030== Memcheck, a memory error detector
==30030== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==30030== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==30030== Command: ./ansilove -i poc.ans
==30030==
AnsiLove/C 3.0.9 - ANSI / ASCII art to PNG converter
Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
==30030== Invalid read of size 1
==30030==    at 0x50F9570: __strcmp_sse2_unaligned (strcmp-sse2-unaligned.S:24)
==30030==    by 0x4023C0: main (main.c:238)
==30030==  Address 0x81a82b0 is 0 bytes inside a block of size 144 free'd
==30030==    at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30030==    by 0x4051E6: sauceReadFile (sauce.c:34)
==30030==    by 0x4051E6: sauceReadFileName (sauce.c:22)
==30030==    by 0x40236F: main (main.c:230)
==30030==  Block was alloc'd at
==30030==    at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30030==    by 0x405198: sauceReadFile (sauce.c:31)
==30030==    by 0x405198: sauceReadFileName (sauce.c:22)
==30030==    by 0x40236F: main (main.c:230)
==30030==
Input File: poc.ans
Output File: poc.ans.png
==30030== Conditional jump or move depends on uninitialised value(s)
==30030==    at 0x4E3D5B4: ansilove_ansi (in /usr/local/lib/libansilove.so.1.0.0)
==30030==    by 0x4038A2: main (main.c:304)
==30030==
==30030== Invalid read of size 1
==30030==    at 0x5095454: ____strtol_l_internal (strtol_l.c:293)
==30030==    by 0x405D0F: strtonum (strtonum.c:50)
==30030==    by 0x4E3D481: ansilove_ansi (in /usr/local/lib/libansilove.so.1.0.0)
==30030==    by 0x4038A2: main (main.c:304)
==30030==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==30030==
==30030==
==30030== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==30030==  Access not within mapped region at address 0x0
==30030==    at 0x5095454: ____strtol_l_internal (strtol_l.c:293)
==30030==    by 0x405D0F: strtonum (strtonum.c:50)
==30030==    by 0x4E3D481: ansilove_ansi (in /usr/local/lib/libansilove.so.1.0.0)
==30030==    by 0x4038A2: main (main.c:304)
==30030==  If you believe this happened as a result of a stack
==30030==  overflow in your program's main thread (unlikely but
==30030==  possible), you can try to increase the size of the
==30030==  main thread stack using the --main-stacksize= flag.
==30030==  The main thread stack size used in this run was 8388608.
==30030==
==30030== HEAP SUMMARY:
==30030==     in use at exit: 3,361 bytes in 4 blocks
==30030==   total heap usage: 232 allocs, 228 frees, 285,685 bytes allocated
==30030==
==30030== LEAK SUMMARY:
==30030==    definitely lost: 0 bytes in 0 blocks
==30030==    indirectly lost: 0 bytes in 0 blocks
==30030==      possibly lost: 0 bytes in 0 blocks
==30030==    still reachable: 3,361 bytes in 4 blocks
==30030==         suppressed: 0 bytes in 0 blocks
==30030== Rerun with --leak-check=full to see details of leaked memory
==30030==
==30030== For counts of detected and suppressed errors, rerun with: -v
==30030== Use --track-origins=yes to see where uninitialised values come from
==30030== ERROR SUMMARY: 169 errors from 3 contexts (suppressed: 0 from 0)
Segmentation fault
poc

I just pushed a fix for this, thanks for reporting the issue!


Is there any way to clear notifications out from the app?

Hi,
We're trying to clear out notifications from our iOS app when in background mode.
Our notifications are very time dependent, we send personalised traffic information every 2-6 minutes to customers phones. If the customer is using the app and its in the foreground, then we can manage the information quite easily.
When the app is in the background, notifications keep getting sent and there can be a lot of them. A traffic incident could go on for 90 mins, so we could send 20 or so notifications updating the customer on the progress, if there are 2-3 incidents the customer is tracking then we could end up with 60-100 notifications, 95% of which are out of date and not longer relevant.
What we want to do is every time a new set of notifications come in AND the app is in the background, we want to clear out all the existing notifications and start again. This means that there should only be 3-4 notifications at any one time.
We've looked at doing this with phonegap-plugin-push and using cordova-plugin-local-notifications. If we send a silent notification using phonegap-plugin-push we can catch this in our app, and use cordova-plugin-local-notifications to send local notifications to the user. Since we control the local notifications, we can delete these as needed.
However when the app is not started, we no longer see any notifications as the app can't catch the silent notification, which means the app can't send the local notifications, which means the user is unaware.
So we have two choices (AFAIK),

We send normal notifications which are persistent BUT there could be lots of them which confuses the user.

We use silent notifications, manage the display of local notifications ourselves BUT this no longer works when the app is not in background or foreground mode.

Is anybody aware of how to clear out notifications from the app, @194 seems to indicate that this is intractable and not possible.
Thanks
Rob

hi @rwillett
this is what you want
https://github.com/katzer/cordova-plugin-badge
or use
options.android.clearNotifications
options.ios.badge
https://github.com/phonegap/phonegap-plugin-push#pushnotificationinitoptions

@bau720123
Thanks, we'll look at these and see if they help.
Rob

Or you could just use the stacking notification style so you can make a summary of the past notifications that belong to the same groupings.
Or you could even simply specify the notId on the payload so that only the latest on a group would be shown, making the previous one disappear when a new one arrives.
Read in details in here: https://github.com/phonegap/phonegap-plugin-push#stacking

@fredgalvao
Thanks, we were aware of stacking, we use it on the Android version and that seems to mostly solve the problem there. On the iOS version, stacking isn't an option for us. I realise I hadn't actually stated which OS we were using , so have updated the original post to state its iOS.
Rob

Bump... cannot make this work. Clearing notifications work on iOS but not Android.
Did anyone find a solution?

Can I request a label or a status for this issue?

@netomia Hey, not sure if we're allowed to post code here but I made mine work like this:
In the plugin file/src/android/com/adobe/phonegap/push/GCMIntentService.java I added the following code at the bottom:
private void deleteOldNotification(Bundle extras)
{
    try
    {
        int delete = parseInt("delete", extras);
        if (delete!=0) {
            NotificationManager notificationManager = (NotificationManager) this.getSystemService(Context.NOTIFICATION_SERVICE);
            String appName = getAppName(this);
            notificationManager.cancel((String)appName, delete);
        }
    }catch (Exception e){
    	Log.e(LOG_TAG, "EXCEPTION IN NOTIFICATIONS " + e.getMessage());
    }
}

And I'm calling the method before the if statement at line 97 where it says if(message!=null ...)...
This isn't necessarily the best solution but at the very least, from your server, you can send a delete tag in your payload ("delete" : 10) which will remove the notification you need. You can even send an otherwise empty push notification to clear it without creating a new notification.

@Moghul - thanks!
Although I can't seem to find the if(message!=null ...) at line 97. Would you mind checking and maybe c/p the lines where you call the function?

@netomia
Maybe it's because I am using an older version of the plugin. In the method onMessage(Context context, Intent intent), I have the following lines:
            //HOME MADE CODE
            deleteOldNotification(extras);

            // Send a notification if there is a message
            String message = this.getMessageText(extras);
            if (message != null && message.length() != 0) {
        		createNotification(context, extras);
            }

@Moghul
I just tried your code in the current version of the plugin, and I'm afraid it didn't work. I tested in on three devices with Android 4, 5 and 6.
Thanks for the attempt though.


ERR value is not an integer or out of range

const string script = " if redis.call('EXISTS', '{0}') == 1 then" +
" local user = redis.call('get','{0}')" +
" local value = cjson.decode(user)" +
" value['UserPreferences'] = cjson.decode('{1}')" +
" value['Timestamp'] = cjson.decode('{2}')" +
" local val=cjson.encode(value)" +
" redis.call('set', '{0}', val)" +
" redis.call('EXPIRE', '{0}','{3}')" +
" end";
        var redisScript = string.Format(script, "User_" + userId, JsonConvert.SerializeObject(userPreferences), JsonConvert.SerializeObject(DateTime.UtcNow), ConfigurationManager.AppSettings["RedisKeyExpiryTime"]);

            await Cache.ScriptEvaluateAsync(redisScript);

Please someone let me know what can be the issue I am getting this error.

Hi,
Are you sure you're posting this issue to the right place?  This repo is for the official C library to Redis, but that looks like javascript?

I am using c#

I'm not sure which client library you're using, but it'll be one of the C# clients listed here
This repo is for the C library (as in C/C++).  I'm closing this issue but I hope you find your solution.  😸


Strong name Microsoft.AspNet.Session.

https://github.com/aspnet/dnx/issues/2615
cc @davidfowl @Eilon @muratg @moozzyk @pranavkm @Tratcher

Hi @cesarbs, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

:shipit:


Consider changing the enum type under Server Variable

Right now the type is an array of primitive. Variables are not typed, we were just looking to restrict values to non-complex objects.
We can change it to string - which would simplify tooling. This will affect how the following example would be though:
    port:
      enum:
        - 8443
        - 443
      default: 8443

That would become:
    port:
      enum:
        - '8443'
        - '443'
      default: '8443'

which is a bit more annoying to write.
Changing the type of enum would also change the type of default.

Would this mean that the type: string is superfluous for a schema definition with enum, as other types would not be possible anyways?

Not sure I follow. I'm talking specifically about https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.md#serverVariableEnum.

I support changing from primitive to string. Under Server Object, variables is defined as "An object holding variables for substitution in the URL template."  We should not expect/suggest OAS users impose semantic types like "ports are integers" -- this is not a port number, it a piece of a larger URL string.
While you are in there, I suggest

Update the text in Server Obejct to say "An object holding string variables for substitution in the URL template."
Update "will be sent if " to "will be used if" (we don't "send" anything here.)
Please fix the markup typo OpenAPI Object's servers(#oasServers):
Please add doc clarifying how/where/when these variables are specified and when the substitution occurs. (Other uses of 'consumer' in the spec refer to the service consuming a request body, or users of the API service, so 'consumer' here may be confusing. Since I'm not clear when/how these parameters are used, I can't suggest another wording.)

@webron Sorry, I misunderstood this somehow thinking that you want to change the meaning of the enum keyword.
You are right, what we are doing here is describing a string variable (as @DavidBiesack elaborated), so the enum should also consist of strings.

@DavidBiesack "How/where/when" these variables are specified will depend on the purpose and implementation of tooling.  I don't believe this can be specified in the spec.  I also don't think it needs to be.

ok, but I still don't know what these variables are really for. I don't mean that we specify, only that we describe (perhaps in Server Object Example) some scenarios where the variables may be used... why these exist.


can supCon loss used in multi-label classification?

I have a text multi-label classification task，can i use supCon loss ?
supCon loss is accumulated by every label view，for example:
batch data label = [[1, 0, 1], [0, 1, 1], [1, 1, 0], [0, 1, 1] ]
from view label 0, positive examples = {0, 2}，negative samples = {1, 3}
from view label 1, positive examples = {1, 2,3}, negative samples = {0}
from view label 2, positive examples = {0, 1, 2}, negative samples = {2}
is this setting here reasonable ？

This is an interesting question! I think in this case SupCon might not be as good as simply using binary cross-entropy for each label.

How about using multiple classifiers for each label after a shared encoder (in this case ResNet), and that the loss is the sum of multiple SupCon?
It is just an idea, and I have no idea whether it works.

Would it be  sufficient to just modify the mask iand my input labels in such a way that the mask correctly identifies data points who share at least one class or is it necessary to modify more then just the mask for this?


Question

Can you use other client's ca instead of pingbypass'?

No, you would have to code that yourself


Tested ZHA, Z2M and updated page

Tested ZHA integration, Z2M integration with the Zigbee Bridge Pro successfully.
Wrote guides as close to original page as possible with extra guide for Zigbee2MQTT.

thanks a lot


[eCBIS FHIR] Infrastructure diagram

[ ] Create an infrastructure diagram for eCBIS project. The diagram to how the relationship between the eCBIS components.

@mberg @AnnieMungai What do you think about this iteration?

@dubdabasoduba this is much clearer now.

Looks pretty good, I don't think we need to show the client endpoints connected to the "Internet", I think we should add a "DNS <-> Internet" section connected to "Akuko/Canopy Dashboards", I also think we should rename "Akuko/Canopy Dashboards" to just "Dashboards", make that generic

On FHIR Core


Minor Changes, most notably singleton types

Singleton types were recently added (see https://devforum.roblox.com/t/luau-recap-march-2022/1738645 and https://github.com/Roblox/luau/blob/master/rfcs/syntax-singleton-types.md), this PR just updates Fusion to utilise them. All edits are based on existing comments. I also removed a completed (I think?) todo note.
Edit: Sorry for the close/reopen, I thought I needed to make a new PR to add the second commit but Github does it automatically.
Edit: Remove table.pack note

We use table.pack because it gives us a n field, which can later be used with table.unpack to ensure we don't miss out values returned after nils.

Closing in favour of a newer PR #215


fix(README): update for Less conversion

update the README for the Less conversion work and add a proper shared file for multiple components.
closes https://github.com/fabric8io/fabric8-ui/issues/1564

@mindreeper2420 snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1570-fabric8-ui.int.rdu2c.fabric8.io


Missing output property in GraphQLInvalidTestCase

Description
This is just a small TS type tweak to add a missing property to GraphQLInvalidTestCase.
If you create your own rule with a fix available, eslint throws the following error if the output is missing:
Message:
      The rule fixed the code. Please add 'output' property.

One can add the output property to the test case, but the package is missing the type support
ruleTester.runGraphQLTests('my-rule', rule, {
    valid: [
        {
            code: /* GraphQL */ `
                type Book {
                    _authorAge: Int! @tag(name: "experimental")
                }
            `,
        },
    ],
    invalid: [
        {
            code: /* GraphQL */ `
                type Book {
                    _authorAge: Int!
                }
            `,
            errors: [
                {
                    message: "The @tag directive is missing.",
                },
            ],
            output: /* GraphQL */ `
                type Book {
                    _authorAge: Int! @tag(name: "experimental")
                }
            `,
        },
    ],
})

Type of change

[x] New feature (type) (non-breaking change which adds functionality)

I copied over the type declaration from @types/eslint (since they don't have an alias for it)
Screenshots/Sandbox (if appropriate/relevant):
https://codesandbox.io/s/missing-output-5r52m7
Just run yarn test in the console.

How Has This Been Tested?
yarn test and yarn transpile-ts were still passing after the changes
Test Environment:

OS: MacOS 12.4 Monterey
@graphql-eslint/...: 3.10.6
NodeJS: 16
Eslint: 8.13.0

Checklist:

[x] I have followed the CONTRIBUTING doc and the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests and linter rules pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

@B2o5T Could you also approve the workflows, please? 🙏

@B2o5T All green 🎉 . Could you kindly merge it because it doesn't let me? 🙏

@Berger92 sure!
I will do a release later today with another bug fix https://github.com/B2o5T/graphql-eslint/issues/1117

@B2o5T Brilliant, thank you.

@Berger92 released https://github.com/B2o5T/graphql-eslint/releases/tag/%40graphql-eslint%2Feslint-plugin%403.10.7

@B2o5T Thanks a lot mate 🙏


Rework the API endpoints to be more restful

Feature Request
Proposal
The API is currently debug oriented and some endpoints path are not Restful:

/api/configuration/current ⇒ /api/configuration
/api/topology/current ⇒ /api/topology
/api/status/nodes ⇒ /api/nodes

Some REST endpoints should be removed or intentionally not documented.

@kevinpollet I'm not sure we want to document /api/nodes. This really debug oriented.

@jspdown I agree and I’m not sure that it makes sense to keep it.

did we ever need it really? :P

@SantoDE The API was used mostly for a debugging purpose. The only 2 endpoints that are really useful are the one for getting the dynamic configuration and the one for the topology.


MacOSX Exports fail: missing dependencies / DLLs

Release Type: Github
Version: Latest
Platform(s): Mac OSX
Describe the bug
All packages and DLLs for Xenko are not included when publishing to the Mac platform. Xenko.Graphics.dll seems to be missing, although others are there like Xenko.Rendering.dll
To Reproduce
Steps to reproduce the behavior:

Publish any Xenko project to the Mac OS platform
See the published output missing DLLs

Expected behavior
All DLLs and runtime files should be included for Mac OS to run properly.
Log and callstacks
macOSPublish phr00t$ ./GentrieveX.macOS
Unhandled Exception: System.TypeInitializationException: The type initializer for '' threw an exception. ---> System.TypeInitializationException: The type initializer for '' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Xenko.Graphics, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
at Xenko.Core.Serialization.AssemblyScan.Xenko_EngineAssemblyScan.Initialize()
at .cctor()
--- End of inner exception stack trace ---
at Xenko.Core.DataSerializers.GentrieveX_macOSSerializerFactory.Initialize()
at .cctor()
--- End of inner exception stack trace ---
Abort trap: 6

May be related to a merge I had trouble with on my fork, investigating...

The merges that supposedly fixes this issue broke Linux building, reported here: https://github.com/xenko3d/xenko/issues/544
Hopefully when that issue gets resolved, this one will be resolved too. Closing for now.


i cant find the path when it first launches

i tried to find the path for it even used the steam, launcher, and the microsoft store i cant findit in my drives, storaage, and files i could find my characters and use them to like change lvl and enchant lvl but cant find the files for the launch file path. i hope i can get help

i also bought minecraft dungeons from the xbox app


⚠ Bofrost.lu has degraded performance

In cd1ddc7, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1320 ms

Resolved: Bofrost.lu performance has improved in 32608b6 after 14 minutes.


When _id is an ObjectID

Hi,
I inserted  in my mongoDB a row ( so it was without Meteor.Collection) and it happened that mongoDB creates an ObjectID(meteor can do it too) instead of a string for _id.
And it looks like that smart-publish has some difficulties to handle it. So I removed that row and everything was fine.
Exception from sub u8TXuWx35cBTwEauk Error: Could not find element with id ObjectID("53fda8c3edcac19a2a8ee975") to change
    at Object.Future.wait (/var/www/upload/projectiz/bundle/programs/server/node_modules/fibers/future.js:326:15)
    at _.extend.runTask (packages/meteor/fiber_helpers.js:84)
    at _.extend.addHandleAndSendInitialAdds (packages/mongo-livedata/observe_multiplex.js:47)
    at MongoConnection._observeChanges (packages/mongo-livedata/mongo_driver.js:1108)
    at Cursor.observeChanges (packages/mongo-livedata/mongo_driver.js:783)
    at publishCursor (packages/smart-publish/smart-publish.js:171)
    at null.<anonymous> (packages/smart-publish/smart-publish.js:193)
    at null._handler (packages/collection-hooks/collection-hooks.js:199)
    at maybeAuditArgumentChecks (packages/livedata/livedata_server.js:1487)
    at _.extend._runHandler (packages/livedata/livedata_server.js:914)
    - - - - -
    at Object.Future.wait (/var/www/upload/projectiz/bundle/programs/server/node_modules/fibers/future.js:326:15)
    at _.extend.runTask (packages/meteor/fiber_helpers.js:84)
    at _.extend.addHandleAndSendInitialAdds (packages/mongo-livedata/observe_multiplex.js:47)
    at MongoConnection._observeChanges (packages/mongo-livedata/mongo_driver.js:1108)
    at Cursor.observeChanges (packages/mongo-livedata/mongo_driver.js:783)
    at publishCursor (packages/smart-publish/smart-publish.js:171)
    at packages/smart-publish/smart-publish.js:72
    at Function._.each._.forEach (packages/underscore/underscore.js:113)
    at updateChildren (packages/smart-publish/smart-publish.js:44)
    at smartAdded (packages/smart-publish/smart-publish.js:94)
    - - - - -
    at _.extend.changed (packages/livedata/livedata_server.js:180)
    at _.extend.changed (packages/livedata/livedata_server.js:392)
    at _.extend.changed (packages/livedata/livedata_server.js:1086)
    at updateFromData (packages/smart-publish/smart-publish.js:31)
    at smartRemoved (packages/smart-publish/smart-publish.js:135)
    at packages/smart-publish/smart-publish.js:77
    at Array.forEach (native)
    at packages/smart-publish/smart-publish.js:76
    at Function._.each._.forEach (packages/underscore/underscore.js:113)
    at updateChildren (packages/smart-publish/smart-publish.js:44)
    at smartAdded (packages/smart-publish/smart-publish.js:102)

@darkship should be fixed in v0.1.8 , feel free to re-open if it is not.

Nice, I will try it later.
Thanks


Update demo.md

add the missing "annotations:"

/ok-to-test
Great catch. Thanks for posting this PR @mx-zheng
Would you please sign off the commit? You can do git commit --amend -s to add you signature and then force push.

/release-note-none

https://github.com/k8snetworkplumbingwg/ovs-cni/commit/d49707a4e37bfbe3e382a172ffb5512cddc53367


Cannot sign into application under Ubuntu 15.10

I'm having an issue with the player where I cannot login upon startup--it looks like it freezes up graphically. If I resize the window or close it and reopen it I get some odd artifacting:
A screenshot:

It looks like it's loading a page in the background and just hasn't redrawn the canvas--if I randomly click and drag I can copy elements out of the page ("Enter your email: ", "One account, all of google", etc) that aren't visible. I can access the language menu by clicking the rectangular white artifact in a corner of the screen; screenshot:

Try starting the application with the --disable-gpu flag

It no longer freezes (and I can log in) but I have noticeable CPU usage (in the realm of 20%) when running animations (scrolling, opening albums, the 'playing' animation next to a song).

Obviously lol, it pushes everything to the CPU :/
It's a work around until electron fixes linux things.  Other people have also said that different GPU drivers fix things

Just a note: I was able to run it without --disable-gpu once I was signed in.


Issue 10

TODO:

[x] Implement add_info
[x] Implement add_format
[x] Split multi-allelic sites to multiple records
[x] Make multi-allelic sites genotypes splits consistent (e.g. 1/2 should turn into two records of 0/1 and 0/1)
[ ] Add tests (relevant to these new features)
[ ] Add PyPI to CI/CD deployment (@natir maybe should be done in another pull request?)
[ ] Add methods to push fixed size types... Maybe not necessary as arrow2 allows pushing vector into FixedSizeList (as long as the vector size matches).

[ ] Add PyPI to CI/CD deployment (@natir maybe should be done in another pull request?)

I think yes


Goal: Become a Flutter Favorite package

https://flutter.dev/docs/development/packages-and-plugins/favorites#metrics
Per requirements, can only happen once we reach a full stable release with feature completeness.

Version 1.0 has been released 🎉 and I have submitted macos_ui to the Flutter Favorite committee for consideration!


How to set it to 'dark'

After I PluginInstall, it gives me the light one.

iTerm2 on Mac

In your .vimrc you need to set the background to either dark or light.
You can do than on the fly also by typing the following command :set background=dark or :set background=light.
The colorscheme will than adapt automatically.

Updated the documentation accordingly 4b9cd69ca0263707399d5b8ce2be1ea5fc355669

you can close it.


feat: add support for IORING_CQE_F_SOCK_NONEMPTY flag during socket recv

This applies only for recent version of iouring.
In case the receive buffer was empty (i.e. we have not got IORING_CQE_F_SOCK_NONEMPTY flag) we can save the internal call to recv inside kernel by flagging the receive operation with IORING_RECVSEND_POLL_FIRST.

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

Comparison is base (321d4d6) 79.06% compared to head (9eef59a) 79.20%.

Files
Patch %
Lines

util/fibers/fiber_socket_test.cc
95.83%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #192      +/-   ##
==========================================
+ Coverage   79.06%   79.20%   +0.13%
==========================================
  Files         100      100
  Lines        7462     7496      +34
==========================================
+ Hits         5900     5937      +37
+ Misses       1562     1559       -3

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


chore: Add codeql3000.yml file for JS

Fixes #minor
Description
This file allows CodeQL analysis to run in YAML pipelines, per new security requirements.
See: BAP Global Static Code Analysis

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 84.614%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
19923

Relevant Lines:
22308

💛  - Coveralls


queueMessage not compatible

After updating my dependencies i get the following error.
[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command:
Fatal error: Declaration of Snc\RedisBundle\SwiftMailer\RedisSpool::queueMessage(Swift_Mime_Message $message) must be compatible with Swift_Spool::queueMessage(Swift_Mime_SimpleMessage $message) in /Applxxxxc/redis-bundle/SwiftMail
er/RedisSpool.php on line 17
I think something has changed.

Version 2.6.0 symfony/swiftmailer-bundle briefly allowed Swiftmailer version 6 to be installed. This change has been reverted in version 2.6.1. Running a composer update will fix the issue.

Cool thx :) it's working

Still doesn't work, I have such versions:
snc/redis-bundle: 2.0.2
swiftmailer/swiftmailer: 6.0.1
symfony/swiftmailer-bundle: 3.0.3
Here is the error
PHP Fatal error:  Declaration of Snc\RedisBundle\SwiftMailer\RedisSpool::queueMessage(Swift_Mime_Message $message) must be compatible with Swift_Spool::queueMessage(Swift_Mime_SimpleMessage $message) in /var/www/www.mydriver.de/current/mydriver-web/vendor/snc/redis-bundle/SwiftMailer/RedisSpool.php on line 17

@PhilETaylor Could you open a new issue if you think it is still relevant please?


Help🥺

Sorry this is soooo confusing I’m trying to hack the anigame bot and it’s telling me to download all this stuff- can your please help me?💜✨

do you have the bot token ?

do you have the bot token ?


Added newer models for split learning

Added ResNet-34 and ResNet-50.

Removed the new config files


UnsafeLoaderWarning from pwkwalify

Rasa Core version: 13.8
Python version: 3.6.5
Operating system (windows, osx, ...): OS X
Issue:
Running the following:
python -m rasa_core.run --enable_api --port 5005 \
    --credentials $CONFIG_DIR/credentials.yml \
    --endpoints $CONFIG_DIR/endpoints.yml \
    -d $MODELS_DIR/core \
    -u $MODELS_DIR/nlu

Results in the following warning logged to standard output:
py.warnings  - /usr/local/lib/python3.6/site-packages/pykwalify/core.py:99: UnsafeLoaderWarning:
The default 'Loader' for 'load(stream)' without further arguments can be unsafe.
Use 'load(stream, Loader=ruamel.yaml.Loader)' explicitly if that is OK.
Alternatively include the following in your code:

import warnings
warnings.simplefilter('ignore', ruamel.yaml.error.UnsafeLoaderWarning)

In most other cases you should consider using 'safe_load(stream)'
data = yaml.load(stream)

Is this a result of the dependency pykwalify<=1.6.0 in requirements.txt?
See https://github.com/Grokzen/pykwalify/issues/103 for the resolution of this issue.
The output is currently polluting the logs on docker-compose up. It would be helpful to correct this warning if it is not a configuration issue so as to reduce the amount of noise in logs output during runtime.
Content of domain file (if used & relevant):
N/A

Thanks for raising this issue, @tmbo  will get back to you about it soon.

@pgobin can you try running it with the latest version and create a PR for that to see if the travis checks still pass?


Exec tachikoma update<PHONE_NUMBER>3354

:hamster::hamster::hamster:   Strategy none
Powered by Interval Pull Request as a Service - Tachikoma.io Announcement: 2015-06-28 Updated permissions - Tachikoma.io

Coverage remained the same at 68.0% when pulling bc9374c5811e26aede68e29e1bde97f81da0d5cf on pazjacket:tachikoma/update-20161106163354 into 391307db508f29cde46957edf9baba38c7a2933e on sanemat:master.


nixos/promtail: add supplementary groups option

Motivation for this change
In order to access nginx logs, promtail has to be in nginx group.
This can be achieved through the SupplementaryGroups option of the systemd service, however this was not exposed in the module.
Here is an example use case:
  services.promtail.supplementaryGroups = [ ]
    ++ lib.optional (config.services.nginx.enable) "nginx";

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

While this is nice for convenience, you should just be able to specify that as systemd.services.promtail.serviceConfig.SupplementaryGroups = [ "nginx" ]; in your system config and it should be merged, as those are lists of the same priority.


fix(rust): don't replace path deps if they are already in source

@yusdacra Yeah this fixes it! Thanks.


Add a Jenkinsfile Runner demo recording to README

i think it would be great for users to see a simple Pipeline demo on the landing page. Later I plan to switch it to a Vanilla image demo so that everybody can launch the demo in minutes with Docker, but I think we could start from something.

Will merge so that users see it


Added hip-clang support for rocfft

Given that we're switching to the hip-clang compiler very soon, we need to add a 3rd CI job that tests the hip-clang compiler
Passed CI

After 5 weeks this is finally passing CI! Let's merge this


Remove empty lines at end of hosts file in removeFromHosts() method

Adding entries to hosts file adds an extra line break before the entries. When these are removed, the extra line remains. It would be nice if removeFromHosts() could strip empty lines at end on file, to prevent the whole thing to keep adding extra empty lines.
I do not know much of ruby, but it seems the change would be trivial. In file HostsUpdater.rb, apply this:
           File.open(@@hosts_path).each do |line|
             hosts << line unless line.include?(hashedId)
           end
+          hosts.strip!

Thank you!

Thanks @markus-altran - I'll get a release put together shortly.


Plumb a result SILType through SILGen's emitTransformedValue

This fixes an immediate bug with subst-to-orig conversion of parameter functions that I'm surprised isn't otherwise tested. More importantly, it preserves valuable information that should let us handle a much wider variety of variant representations that aren't necessarily expressed in the AbstractionPattern.

@swift-ci Please test and merge.


Fix typo

See #51

Cheers, thanks!

Huh, why is GH telling me this branch has unmerged commits. ?

Because I don’t use GHs interface to squash commits, you can ignore it!


Head revision of master returns illegal move infrequently

Hi,
I have been testing your engine against mine, I built it from source for a Raspberry Pi Zero 2 (arm7 cpu). No issues at all, but I discovered that infrequently it loses due to sending an illegal move (a1a1). I'm guessing your search terminated without backing up a legal move and this is your null move value.
Anyway, I though the information might be helpful to you. In 3705 games played, it lost 10 in this fashion, so fairly low rate, but should be reproducible. I was playing at 2+1 time control. I can give you the PGNs, if you think it would help debug. Probably not, as I expect it is based on timing, not the root position.
Anyhow, good luck with that ;)
Chris

Hi Chris,
I’m currently away from my workstation but I have a feeling that the issue has something to do with very low time left at the end of a long game.
If you could share the PGNs that would be great.
Sidhant

Here are the PGNs, I ran it for a bit longer, rate is now 11 in 4797 games. This is on a system with very little memory so it isn't a very usual test. I haven't seen any failures on my Raspberry Pi 4B, in like 2000 games there, at a longer time control (12:0+8).
Lux_illegal_moves.zip
Still It might be interesting to look into. BTW I was using cutechess to run the tournament: with command line
./cutechess-cli -engine conf="Eubos_Dev" option.Hash=16 -engine conf="Lux_4" option.Hash=16 -each restart=on tc=2:0+1 -concurrency 2 -resign movecount=5 score=600 twosided=true -maxmoves 125 -event vs_lux -games 2 -rounds 6000 -outcomeinterval 10 -openings file=Titus2_4.pgn format=pgn order=sequential -repeat -pgnout ../../Piz2_1_Tourney.pgn -site Piz2_1


AMBARI-24618. Ambari generates wrong zookeeper connection string for KMS HA configuration

What changes were proposed in this pull request?
Ambari generates wrong zookeeper connection string for KMS HA configuration
How was this patch tested?
manually
Please review Ambari Contributing Guide before opening a pull request.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3905/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3920/
Test FAILed.
Test FAILured.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3923/
Test PASSed.


ssh: handshake failed: ssh

`root@ubuntu:~/curve# curveadm deploy
Cluster Name    : my-cluster
Cluster Kind    : curvefs
Cluster Services: etcd3, mds3, metaserver*3
Pull Image: [ERROR]

host=<IP_ADDRESS>  image=opencurvedocker/curvefs:latest [0/1] [ERROR]
host=<IP_ADDRESS>  image=opencurvedocker/curvefs:latest [0/1] [ERROR]
host=<IP_ADDRESS>  image=opencurvedocker/curvefs:latest [0/1] [ERROR]
host=<IP_ADDRESS>  image=opencurvedocker/curvefs:latest [0/1] [ERROR]
host=<IP_ADDRESS>  image=opencurvedocker/curvefs:latest [0/1] [ERROR]
host=<IP_ADDRESS>  image=opencurvedocker/curvefs:latest [0/1] [ERROR]
host=<IP_ADDRESS>  image=opencurvedocker/curvefs:latest [0/1] [ERROR]
host=<IP_ADDRESS>  image=opencurvedocker/curvefs:latest [0/1] [ERROR]
host=<IP_ADDRESS>  image=opencurvedocker/curvefs:latest [0/1] [ERROR]
Error:
ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
See log file for detail: /root/.curveadm/logs/curveadm-2022-07-23_08-53-26.log
root@ubuntu:~/curve# cat /root/.curveadm/logs/curveadm-2022-07-23_08-53-26.log | tail -n 1
[2022/07/23 08:53:26.325 +00:00] [ERROR] [ssh.go:92] [SSHConnect] [user=root] [addr=<IP_ADDRESS>:22] [PrivateKeyPath=/root/.ssh/id_rsa] [error="ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain"]
root@ubuntu:~/curve# ssh<EMAIL_ADDRESS>-p 22 -i /root/.ssh/id_rsa
connection succeeded
`

root@ubuntu:~/curve# ssh -V OpenSSH_8.9p1 Ubuntu-3, OpenSSL 3.0.2 15 Mar 2022 root@ubuntu:~/curve# lsb_release -a No LSB modules are available. Distributor ID:	Ubuntu Description:	Ubuntu 22.04 LTS Release:	22.04 Codename:	jammy

@Waterman1997 can you provide the global section of your topology?

@Waterman1997 can you provide the global section of your topology?

Sorry, I have cleaned the environment
Some useful information as above


Expose QUIC ConfigBuilder

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #59

PR #61   👈

This stack of pull requests is managed by Graphite.

Merge activity

Jan 19, 9:46 AM: @mempirate started a stack merge that includes this pull request via Graphite.


possible missing content in readme

Describe the problem
I couldn't find info on what to do with the branch after successful PR to the list. maybe I overlooked it but please add if missing. if I did over look, point it out please. also this was my first PR ever that I noticed this.
To reproduce
looking at the readme. then pondering what to do about the branch. thinking, "is it truly safe to delete?"
Expected behavior
the info should be there. whether or not its OK to delete the branch after successful PR.
Additional context
FYI, I left the branch there for now.
Issue checklist

[X] I searched for previous reports in the issue tracker
[X] My report contains all necessary details

Hi @jmerc77. Thanks for your report. The branch is the property of your own GitHub account. You are free to do with it as you like just as in any other repository under your account. The pull request is your proposal for a change to be made to Arduino's repository. When the pull request is merged, the proposed changes are introduced into Arduino's repository. After that, any actions you take in the branch the pull request was staged from don't have any effect on Arduino's repository (unless you submit a new pull request from that branch).
The documentation in this repository is primarily focused on providing the information that is specific to using this repository's unique systems. We do include the steps necessary to submit a pull request, but the documentation is not intended to be a comprehensive guide to using GitHub's pull request feature. There is a lot of existing information about that subject outside this repository, and a link to some of that information is included in the documentation here:
https://github.com/arduino/library-registry#adding-a-library-to-library-manager

If you would like to make a library available for installation via Library Manager, just submit a pull request ...

So since no specific action is required of the user in regards to their branch or fork, and since that subject is universal to any pull request, I don't see the need to include it in this repository's documentation.

To answer your doubts, you are welcome to delete your branch after the pull request has been merged. I would even recommend you to delete your fork entirely. The reason you might want to delete branches and forks after they no longer have any purpose is to keep your repositories and GitHub account tidy.  If you don't do that, then your repositories will accumulate pointless branches over time as you work in the repositories and your account will accumulate pointless forks over time as you submit pull requests to other repositories. But an accumulation of pointless branches and forks is not terribly harmful so you are also welcome to leave the fork and branch as it is if you don't care about tidiness.