DE server - Unable to get devices

Something has changed with auth to DE server (maybe others) but not CN.
Unable to get devices or tokens, still works in MiHome and CN server still working with integration.

Yes, I can confirm this issue as well. Devices unavailable.

Yes, I can confirm this issue as well. Devices unavailable.

I can also confirm - no devices are found. For me, even if I select China server, still finds none. Mi home everything is working and present.

I can also confirm - no devices are found. For me, even if I select China server, still finds none. Mi home everything is working and present.

Same as above with EU, only CN seems to be working

Same as above with EU, only CN seems to be working

Same here. Only Mi Home is working since yesterday.

Same here. Only Mi Home is working since yesterday.

Same for me. Only mi Home Is working. Not only vacuums but cameras has same problem

Same for me. Only mi Home Is working. Not only vacuums but cameras has same problem

I confirm, I have the same thing, the server is Europe

I confirm, I have the same thing, the server is Europe

Are there any related logs ?

Are there any related logs ?

Are there any related logs ?

Got xiaomi cloud devices for<EMAIL_ADDRESS>failed: {'code': 0, 'message': 'auth err'}

Are there any related logs ?

Got xiaomi cloud devices for<EMAIL_ADDRESS>failed: {'code': 0, 'message': 'auth err'}

Same with get token program, wrote everything correctly(checked twice) and it does not letting log in in Europe. Think that Xiaomi changed something with authorization or maybe it's a glitch with mi servers.

Same with get token program, wrote everything correctly(checked twice) and it does not letting log in in Europe. Think that Xiaomi changed something with authorization or maybe it's a glitch with mi servers.

I'm having the same issue, i don't think it's related to this intergration. the token_extractor is also not able to connect to the europe (de) server.
swapping to the cn server might be a quick fix for now.

I'm having the same issue, i don't think it's related to this intergration. the token_extractor is also not able to connect to the europe (de) server.
swapping to the cn server might be a quick fix for now.

I have the same problem 😕

I have the same problem 😕

Does the same problem exist in HA's built-in component xiaomi_miio ?

Does the same problem exist in HA's built-in component xiaomi_miio ?

Authorization and connection from the phone through MiHome passes without problems, but with Home Assistant in no way

Authorization and connection from the phone through MiHome passes without problems, but with Home Assistant in no way

Does the same problem exist in HA's built-in component xiaomi_miio ?

No

Does the same problem exist in HA's built-in component xiaomi_miio ?

No

Does the same problem exist in HA's built-in component xiaomi_miio ?

Bult-in component work, my roborock vacuum Is visibile and its working

Does the same problem exist in HA's built-in component xiaomi_miio ?

Bult-in component work, my roborock vacuum Is visibile and its working

Does the same problem exist in HA's built-in component xiaomi_miio ?

For me it also fails connecting to the 'de' server. unknown error. when i setup the integration for the 'cn' server i get no devices as expected

Does the same problem exist in HA's built-in component xiaomi_miio ?

For me it also fails connecting to the 'de' server. unknown error. when i setup the integration for the 'cn' server i get no devices as expected

Tested two more Integrations with same results.
Only DE server with problems

Tested two more Integrations with same results.
Only DE server with problems

@al-one they force rc4 on de region since yesterday ;d you may want to enable it by default, because all other cloud will proabably follow soon.

@al-one they force rc4 on de region since yesterday ;d you may want to enable it by default, because all other cloud will proabably follow soon.

the same problem here with DE serv. Unknown error occurred
Xiaomi app (android and ios too) working ok

to use rc4 by default try to change crypt=False to crypt=True in core/xiaomi_cloud.py

to use rc4 by default try to change crypt=False to crypt=True in core/xiaomi_cloud.py

Does it work for you ?

i dont use HA or know python, so cant check, but rc4 works for me on de.

to use rc4 by default try to change crypt=False to crypt=True in core/xiaomi_cloud.py

I tried this quick fix, but for me it's not working. (could still be someting wrong on my end)

to use rc4 by default try to change crypt=False to crypt=True in core/xiaomi_cloud.py

Does it work for you ?

Changing
-    def request_miot_api(self, api, data, method='POST', crypt=False, debug=True, **kwargs):
+    def request_miot_api(self, api, data, method='POST', crypt=True, debug=True, **kwargs):
        params = {}

does NOT solve the issue.
I can see
def request_rc4_api

being used (added some logging there)
But still get the Got xiaomi cloud devices for %s failed: {'code': 0, 'message': 'auth err'} from def get_device_list

@al-one it is php i use to talk to cloud. i can send some samples with encrypted/decrypted data if needed.
function rc4($key, $str) {
	$s = array();
	for ($i = 0; $i < 256; $i++) {
		$s[$i] = $i;
	}
	$j = 0;
	for ($i = 0; $i < 256; $i++) {
		$j = ($j + $s[$i] + ord($key[$i % strlen($key)])) % 256;
		$x = $s[$i];
		$s[$i] = $s[$j];
		$s[$j] = $x;
	}
	$i = 0;
	$j = 0;
	$res = '';

	for ($k = 0; $k < 1024; $k++) {
		$i = ($i + 1) % 256;
		$j = ($j + $s[$i]) % 256;
		$x = $s[$i];
		$s[$i] = $s[$j];
		$s[$j] = $x;
	}

	for ($y = 0; $y < strlen($str); $y++) {
		$i = ($i + 1) % 256;
		$j = ($j + $s[$i]) % 256;
		$x = $s[$i];
		$s[$i] = $s[$j];
		$s[$j] = $x;
		$res .= $str[$y] ^ chr($s[($s[$i] + $s[$j]) % 256]);
	}
	return $res;
}

(...)

$path = "/home/device_list";
$method = "POST";
$data = '{}';

$key = base64_encode(hash('sha256', base64_decode($ssecurity) . base64_decode($nonce),true));
$sigstr = $method . '&' . $path . '&data=' . $data . '&' . $key;
$rc4sha = base64_encode(hex2bin(sha1($sigstr)));
$dataenc = base64_encode(rc4(base64_decode($key),$data));
$rc4hash = base64_encode(hex2bin(substr(bin2hex(rc4(base64_decode($key),$data . $rc4sha)), -2*(strlen($rc4sha)))));
$sigstr = $method . '&' . $path . '&data=' . $dataenc . '&rc4_hash__=' . $rc4hash . '&' . $key;
$sig = base64_encode(hex2bin(sha1($sigstr)));
$send = 'data=' . urlencode($dataenc) . '&rc4_hash__=' . urlencode($rc4hash) . '&signature=' . urlencode($sig) . '&_nonce=' . urlencode($nonce) .  '&ssecurity=' . urlencode($ssecurity);

(...)

$result = rc4(base64_decode($key),base64_decode($result));

Should move to the new device list endpoint too now rc4 is enforced (/app/v2/home/device_list_page)

@rezmus , @al-one
I made this mitm script to make everyone's lives much easier.
It's got to catch the ssecurity token from serviceLoginAuth2 to work, or you can set it yourself.
from typing import Optional

from mitmproxy import contentviews, flow, http, ctx

from base64 import b64decode, b64encode
import hashlib
import json

ssecurity = None

class RC4:
    _idx = 0
    _jdx = 0
    _ksa: list

    def __init__(self, pwd):
        self.init_key(pwd)

    def init_key(self, pwd):
        cnt = len(pwd)
        ksa = list(range(256))
        j = 0
        for i in range(256):
            j = (j + ksa[i] + pwd[i % cnt]) & 255
            ksa[i], ksa[j] = ksa[j], ksa[i]
        self._ksa = ksa
        self._idx = 0
        self._jdx = 0
        return self

    def crypt(self, data):
        if isinstance(data, str):
            data = data.encode()
        ksa = self._ksa
        i = self._idx
        j = self._jdx
        out = []
        for byt in data:
            i = (i + 1) & 255
            j = (j + ksa[i]) & 255
            ksa[i], ksa[j] = ksa[j], ksa[i]
            out.append(byt ^ ksa[(ksa[i] + ksa[j]) & 255])
        self._idx = i
        self._jdx = j
        self._ksa = ksa
        return bytearray(out)

    def init1024(self):
        self.crypt(bytes(1024))
        return self

def create_key(ssecurity, nonce):
    return b64encode(hashlib.sha256(b64decode(ssecurity) + b64decode(nonce)).digest())

def response(flow: flow.Flow):
    if flow.request.path == "/pass/serviceLoginAuth2":
        if "ssecurity" in flow.response.text:
            resjs = json.loads(flow.response.text.replace("&&&START&&&", ""))
            global ssecurity
            ssecurity = resjs["ssecurity"]
            ctx.log(f"miotrc4 - ssecurity token: {ssecurity}")

class ViewMiOTRC4(contentviews.View):
    name = "miotrc4"

    @staticmethod
    def decrypt_data(pwd, data):
        return RC4(b64decode(pwd)).init1024().crypt(b64decode(data)).decode('utf-8')

    def __call__(
        self,
        data: bytes,
        *,
        content_type: Optional[str] = None,
        flow: Optional[flow.Flow] = None,
        http_message: Optional[http.Message] = None,
        **unknown_metadata,
    ) -> contentviews.TViewResult:
        global ssecurity
        if ssecurity:
            if "miot-encrypt-algorithm" in flow.request.headers:
                enctype = flow.request.headers["miot-encrypt-algorithm"]
                ctx.log(f"{self.name} - miot-encrypt-algorithm: {enctype}")
                if enctype == "ENCRYPT-RC4":
                    nonce = flow.request.urlencoded_form.get("_nonce", None).encode()
                    if nonce:
                        key = create_key(ssecurity, nonce)
                        ctx.log(f"{self.name} - Key: {key}, Nonce: {nonce}")
                        if isinstance(http_message, http.Request):
                            data = flow.request.urlencoded_form.get(
                                "data", data
                            ).encode()
                            ctx.log(f"{self.name} - [REQ] data: {data}")
                            decoded_data = self.decrypt_data(key, data)
                            ctx.log(f"{self.name} - [REQ] decoded_data: {decoded_data}")
                            form_data = flow.request.urlencoded_form
                            pretty = json.dumps(
                                json.loads(decoded_data), indent=4, sort_keys=True
                            )
                            form_data["data (decrypted)"] = "\n" + pretty
                            return self.name, list(
                                contentviews.base.format_dict(form_data)
                            )
                        elif isinstance(http_message, http.Response):
                            ctx.log(f"{self.name} - [RES] data: {data}")
                            decoded_data = self.decrypt_data(key, data)
                            ctx.log(f"{self.name} - [RES] decoded_data: {decoded_data}")
                            pretty = json.dumps(
                                json.loads(decoded_data), indent=4, sort_keys=True
                            )
                            return self.name, list(
                                contentviews.base.format_text(pretty)
                            )
                else:
                    ctx.log(f"{self.name} - Unknown miot-encrypt-algorithm ({enctype})")
        return "Raw", contentviews.format_text(data)

    def render_priority(
        self,
        data: bytes,
        *,
        content_type: Optional[str] = None,
        flow: Optional[flow.Flow] = None,
        **unknown_metadata,
    ) -> float:
        global ssecurity
        if ssecurity:
            if "miot-encrypt-algorithm" in flow.request.headers:
                if flow.request.headers["miot-encrypt-algorithm"] == "ENCRYPT-RC4":
                    return 1
        return 0

view = ViewMiOTRC4()

def load(l):
    contentviews.add(view)

def done():
    contentviews.remove(view)

Currently facing the same issues with also the integration of Xiaomi Gateway 3. So i assume the issue is at the DE servers itself.
I am also using Xiaomi MIOT auto and i cannot renew anything and it does also not show my current working devices up and running. I tried the workaround with the RC4 to set crypt false but it did not fix anything at all.

here is a solution used on the token extractor
https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor/commit/0e98bcae9aef525a7945e8c6a41df2c4e2d54ba5

Thanks! I have fixed the bug in the latest commit of branch v0.4.x. Please urgrade and try. If it works, I will publish the version and merge it into the main branch.

Tested and everything seems to work just fine! Amazing!

Thanks! I have fixed the bug in the latest commit of branch v0.4.x. Please urgrade and try. If it works, I will publish the version and merge it into the master branch.
To upgrade to latest commit of v0.4.x:
wget -q -O - https://cdn.jsdelivr.net/gh/al-one/hass-xiaomi-miot/install.sh | ARCHIVE_TAG=v0.4.x bash -

This fix works perfect for me. thanks for your effort!!!

I can confirm that fix in https://github.com/al-one/hass-xiaomi-miot/issues/345#issuecomment-1003857714 is working! Thank you!

Working for me as well!

fix is working like a charm. thx :)

works fine again!

works for me too 👍  💯

Hi,
It looks fixed at first sight!
But, i do have a bootup time from Home assistant which needed 149 seconds!
Yesterday i faced issues all over the place with Xiaomi cloud DE servers.
Now this has been fixed in Xiaomi miot auto and as well in your xiaomi cloud map extractor.
I use a roborock S7 , but after all the updates. I lost my map and it does not start up correct
Also my home assistant keeps starting , and waiting on something right now and became very slow
xiaomi_miot:
username:
password:
camera:

platform: xiaomi_cloud_map_extractor
host:
token:
username:
password:
draw: ['all']
attributes:

calibration_points

Using above settings in my config.yaml
All things working according in Xiaomi , except my robot. And as well , the booting time takes more than 140 seconds right now. So i guess, it is not completely fixed yet.

I'm afraid I still get the error with the DE server. Have tried reinstalling the integration but to no avail. What could I be doing wrong?

@mentalloflex the fix is not official yet, so you have to update manually, as it was explained earlier in the thread. When @al-one makes it official and pushes it to master, only then reinstalling will fix the issue OOTB.

Got it! Thank you!

Manual FIX Work OK!!!!!!!!  Fantastic
wget -q -O - https://cdn.jsdelivr.net/gh/al-one/hass-xiaomi-miot/install.sh | ARCHIVE_TAG=v0.4.x bash -

Hi, It looks fixed at first sight! But, i do have a bootup time from Home assistant which needed 149 seconds!
Yesterday i faced issues all over the place with Xiaomi cloud DE servers. Now this has been fixed in Xiaomi miot auto and as well in the xiaomi cloud map extractor.
I use a roborock S7 , but after all the updates. I lost my map and it does not start up correct Also my home assistant keeps starting , and waiting on something right now and became very slow xiaomi_miot: username: password: camera:

platform: xiaomi_cloud_map_extractor
host:
token:
username:
password:
draw: ['all']
attributes:

calibration_points

Using above settings in my config.yaml
All things working according in Xiaomi , except my robot. And as well , the booting time takes more than 140 seconds right now. So i guess, it is not completely fixed yet.

You have closed this bug in the other thread.
@al-one could you kindly merge this fix info the master branch?

Same 😃

Tried upgrading on MacOS but still can't login into integration (unknown error occured)

Tell me, maybe I'm doing something wrong, but this is what I get in the terminal

you miss the wget in the front. don't copy paste. Please type it in.

@balbulator I think it's spaces after ARCHIVE_TAG and equals sign, please remove them and try again.
Change ARCHIVE_TAG = v0.4.x to ARCHIVE_TAG=v0.4.x
Copy paste from al-one post should also work:
wget -q -O - https://cdn.jsdelivr.net/gh/al-one/hass-xiaomi-miot/install.sh | ARCHIVE_TAG=v0.4.x bash -

Thanks! Everything works as before!

Hi,
I tried
wget -q -O - https://cdn.jsdelivr.net/gh/al-one/hass-xiaomi-miot/install.sh | ARCHIVE_TAG=v0.4.x bash -

This installs the component as it should.
However I still can't connect to miio with this as a log:
Logger: aiohttp.server
Source: components/xiaomi_miio/config_flow.py:250
First occurred: 16:52:36 (1 occurrences)
Last logged: 16:52:36

Error handling request
Traceback (most recent call last):
  File "/Users/kimheymans/Documents/homeassistant/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
  File "/Users/kimheymans/Documents/homeassistant/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/Users/kimheymans/Documents/homeassistant/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/Users/kimheymans/Documents/homeassistant/lib/python3.9/site-packages/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/Users/kimheymans/Documents/homeassistant/lib/python3.9/site-packages/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
    return await handler(request)
  File "/Users/kimheymans/Documents/homeassistant/lib/python3.9/site-packages/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/Users/kimheymans/Documents/homeassistant/lib/python3.9/site-packages/homeassistant/components/http/ban.py", line 78, in ban_middleware
    return await handler(request)
  File "/Users/kimheymans/Documents/homeassistant/lib/python3.9/site-packages/homeassistant/components/http/auth.py", line 181, in auth_middleware
    return await handler(request)
  File "/Users/kimheymans/Documents/homeassistant/lib/python3.9/site-packages/homeassistant/components/http/view.py", line 137, in handle
    result = await result
  File "/Users/kimheymans/Documents/homeassistant/lib/python3.9/site-packages/homeassistant/components/config/config_entries.py", line 157, in post
    return await super().post(request, flow_id)
  File "/Users/kimheymans/Documents/homeassistant/lib/python3.9/site-packages/homeassistant/components/http/data_validator.py", line 62, in wrapper
    result = await method(view, request, *args, **kwargs)
  File "/Users/kimheymans/Documents/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/data_entry_flow.py", line 110, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
  File "/Users/kimheymans/Documents/homeassistant/lib/python3.9/site-packages/homeassistant/data_entry_flow.py", line 252, in async_configure
    result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
  File "/Users/kimheymans/Documents/homeassistant/lib/python3.9/site-packages/homeassistant/data_entry_flow.py", line 325, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
  File "/Users/kimheymans/Documents/homeassistant/lib/python3.9/site-packages/homeassistant/components/xiaomi_miio/config_flow.py", line 250, in async_step_cloud
    devices_raw = await self.hass.async_add_executor_job(
  File<EMAIL_ADDRESS>line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/Users/kimheymans/Documents/homeassistant/lib/python3.9/site-packages/micloud/micloud.py", line 251, in get_devices
    return json_resp['result']['list']
KeyError: 'result'

I'm running Monterey on an M1 mini.
Thanks in advance!

@kimme1024 xiaomi_miio is not this custom component.

With https://github.com/al-one/hass-xiaomi-miot/commit/6ef3e24b9f3742b586135c0371efad9b27ae1a34 being merged, I'm going to close this issue now.
Thanks @al-one 😄

An update has come, thanks to the author


Iso lang curator

check that we are getting a valid iso codes in dc.language.iso

Is this about updating/replacing iso_langs.json with the codes from https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3.tab? I've taken a look: it looks like this would result in the addition of 524 codes, and the removal of 361 codes.

this was meant as a check on the stored metadata (part of the weekly healthcheck or standalone); I sometimes see other things than the 3 letter codes when I'm reviewing a submission

But that's already being checked, no?
https://github.com/ufal/clarin-dspace/blob/clarin/dspace-api/src/main/java/cz/cuni/mff/ufal/curation/ItemMetadataQAChecker.java#L281

But that's already being checked, no?
https://github.com/ufal/clarin-dspace/blob/clarin/dspace-api/src/main/java/cz/cuni/mff/ufal/curation/ItemMetadataQAChecker.java#L281

Good point 😏  I really do need to test this; because I'd swear the "run all curations" during item approval does not report invalid codes 😕

seems that run all curation task reports invalid codes correctly


lazy isbot

Make isBot and botName lazy and idempotent:

Will only calculate when requested
Will only calculate once per request

Codecov Report

Merging #182 into master will increase coverage by 0.10%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #182      +/-   ##
==========================================
+ Coverage   71.44%   71.54%   +0.10%
==========================================
  Files          51       51
  Lines        1891     1898       +7
  Branches      478      481       +3
==========================================
+ Hits         1351     1358       +7
  Misses        539      539
  Partials        1        1

Impacted Files
Coverage Δ

packages/bot-detector/src/index.ts
100.00% <100.00%> (ø)

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 3d7515b...5cb6e0a. Read the comment docs.

LGTM, merging

@all-contributors add @omrilotan for code


#7351: Test mobilenetv2 in ttnn

This is a draft PR for the implementation of mobilenetv2.

Issue running the test:
Reproducible steps:
Commit here
Download the pre-trained model from here
move the file to tests/ttnn/integration_tests/mobilenetv2
Use pytest tests/ttnn/integration_tests/mobilenetv2/test_tttnn_mobilenetv2.py to run the test.
(Similar steps are mentioned in the readme file of the commit as well)


Goto definition on "import modulename" no longer works

import os

place caret on os and press F12
result: Cannot go to definition of "os".
expected: os.py is opened
also does not work with modules defined in your project
failing test: NavigableTests.ModuleDefinition

@huguesv - is it supposed to work on os.path as well (opening ntpath)?


No generative tag for aurora drop

https://canary.kodadot.xyz/ahp/gallery/120-2404157147

there should be tag on the card

animation_url  is null that's why it doesn't have the generative tag
query
{
  "data": {
    "nftEntity": {
      "id": "120-2404157147",
      "metadata": "ipfs://bafkreifxfdb7erwygqsw5ofvlsppf4g6jt7u255kaq5kx4gwtzhkb26ee4",
      "issuer": "1cQB9WUTtwyH3H4Ksn7pLfJvMLCxtzQHbUNhZtVBasoX3X9",
      "currentOwner": "1cQB9WUTtwyH3H4Ksn7pLfJvMLCxtzQHbUNhZtVBasoX3X9",
      "blockNumber": "6083153",
      "burned": false,
      "__typename": "NFTEntity",
      "name": "Aurora",
      "sn": "2404157147",
      "price": "0",
      "collection": {
        "id": "120",
        "name": "Aurora",
        "floorPrice": [
          {
            "price": "9900000000",
            "__typename": "NFTEntity"
          }
        ],
        "__typename": "CollectionEntity"
      },
      "events": [
        {
          "interaction": "MINT",
          "timestamp": "2024-04-18T13:13:24.000000Z",
          "meta": "",
          "__typename": "Event"
        }
      ],
      "meta": {
        "id": "ipfs://bafkreifxfdb7erwygqsw5ofvlsppf4g6jt7u255kaq5kx4gwtzhkb26ee4",
        "name": "Aurora",
        "description": "Artist: [Cartist](https://twitter.com/cartist00) \n\n\n Aurora is an enchanting generative art piece created within a p5.js framework, designed to simulate a mesmerizing scene of raindrops cascading across the canvas. Each raindrop, unique in color, length, and thickness, mimics the diverse nature of rainfall, creating a visually stunning array. The artwork's appearance is intricately linked to a specific hash input, ensuring that each iteration is distinct. Aurora alternates between dark and light backgrounds, with each choice influencing a carefully selected color palette to enhance visual contrast and highlight the raindrops' beauty. This dynamic interplay of code and artistry generates a captivating visual experience, where technology and creativity converge to produce endlessly varied displays of natural beauty.",
        "image": "ipfs://bafybeihqjx6raosuyvqhkbglurrrteiinndhkq3imsa4cm5fdzub2v6rkq",
        "animation_url": null,
        "attributes": [],
        "__typename": "MetadataEntity"
      },
      "royalty": null,
      "recipient": null
    }
  }
}

metadata

{
    "name": "Aurora",
    "image": "ipfs://bafybeihqjx6raosuyvqhkbglurrrteiinndhkq3imsa4cm5fdzub2v6rkq",
    "description": "Artist: [Cartist](https://twitter.com/cartist00) \n\n\n Aurora is an enchanting generative art piece created within a p5.js framework, designed to simulate a mesmerizing scene of raindrops cascading across the canvas. Each raindrop, unique in color, length, and thickness, mimics the diverse nature of rainfall, creating a visually stunning array. The artwork's appearance is intricately linked to a specific hash input, ensuring that each iteration is distinct. Aurora alternates between dark and light backgrounds, with each choice influencing a carefully selected color palette to enhance visual contrast and highlight the raindrops' beauty. This dynamic interplay of code and artistry generates a captivating visual experience, where technology and creativity converge to produce endlessly varied displays of natural beauty.",
    "external_url": "kodadot.xyz",
    "type": "image/png"
}

cc @vikiival

metadata never got updated?

Yes, let me trigger that to update the metadata.
@exezbcz @hassnian, can we prevent users from closing the tab and modal after they click the "mint" button on the drops page? This approach did not cover 100% of the issue, but it can help to reduce the risk of metadata not being updated

updated
Continue in https://github.com/kodadot/private-workers/issues/121#issuecomment-2088442621 to handle this issue


Investigate multiplexing digitalWrite

Points

internal R?
channel change is not instantaneous, result intermediate values for channel. For input this is no problem.

bit mask version AVR? Fixed pins?
disable when change flag? Portability!

pull up / down
Z is constant 5V scenario
muxed IO scenario? Even possible?
examples + readme.md

Not all points need to be addressed. The "ghost channels" are the most important by far.


Add make servedocs to watch for changes and recompile docs

Hey @audreyr,
This adds a make servedocs target that does what make docs do and then watch for changes in the docs recompiling whenever you save.
It uses the watchmedo utility from the watchdog package available in PyPI.
I've been using it in a few projects for a while, it has proved handy. :)
Does this look good?
Thanks,
Elias

This is a good idea.
Can you add watchdog to requirements_dev.txt?

@audreyr sure thing, it's done! :+1:

Thanks @eliasdorneles!


Pass Context to OpenRepository

Replace context.TODO with a real context.

This PR has dependency on #2772 so it is rebased on top of it.


Previous content briefly showing on load

Currently known:

It shows the state of the keyboard from the last time it was opened, not the last time it was closed
Seems to only affect face ID devices with the extended keyboard layout
Our delegate is only being called once, so issue doesn't seem to be on our end

It seems this was related to layout and was inadvertently fixed in ac5379f8b58d2de935cb74b8ced1d2c3f2fbffa8

Actually, it seems that ac5379f8b58d2de935cb74b8ced1d2c3f2fbffa8 just made the loading faster so this was less noticeable. It still happens, and is visible if the app is run in a debugger. That said, it's practically unnoticeable at this point, so I'm still considering this fixed.

Nevermind, it seems it does still happen. However, it only happens when you switch the keyboard and switch back. If you dismiss the keyboard by swiping it away, this behavior does not occur.


Axolotl does not respect tokenizer.json and changes BOS, EOS and first token mapping for Yi

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
I have trained Yi 34B which uses LlamaTokenizer, but has different pre_processor post_processor and decoder. It also uses atypical BOS and EOS tokens.
You can see the differece in resulting tokenization here:
hello world
01-ai/Yi-34B-200K
['hello', '▁world']
[33228, 1504]
dreamgen/opus-v1-34b
['▁hello', '▁world']
[33653, 1504]
----
<|startoftext|>
01-ai/Yi-34B-200K
['<|startoftext|>']
[1]
dreamgen/opus-v1-34b
['<|startoftext|>']
[64000]
----
<s>
01-ai/Yi-34B-200K
['<', 's', '>']
[59666, 59575, 59644]
dreamgen/opus-v1-34b
['<s>']
[1]
----
<|endoftext|>
01-ai/Yi-34B-200K
['<|endoftext|>']
[2]
dreamgen/opus-v1-34b
['<|endoftext|>']
[64001]
----
</s>
01-ai/Yi-34B-200K
['</', 's', '>']
[1359, 59575, 59644]
dreamgen/opus-v1-34b
['</s>']
[2]
----

First token of each sequence is tokenized differently, because Yi should not be adding virtual space at the start, unlike Llama 2.
You can see the config diff here:
https://huggingface.co/01-ai/Yi-34B-200K/raw/main/tokenizer.json
https://huggingface.co/meta-llama/Llama-2-7b-hf/raw/main/tokenizer.json
Also, this seems to affect token ids and/or token id mapping for the BOS and EOS tokens. For Yi, these should be <|startoftext|> and <|endoftext|> not <s> and </s>.
Current behaviour
(Mentioned above)
Steps to reproduce
You can fine-tune Yi 34B for 1 step, with no token changes in the yaml and inspect the generated tokenizer files. You will see that tokenizer.json is not generated. You can then load the tokenizer from the output dir and run the tests above.
Config yaml
I had the following in my yaml, but it should not and does not have any influence:
special_tokens:
  additional_special_tokens: ["<|im_start|>", "<|im_end|>"]
tokens:
  - "<|im_start|>"
  - "<|im_end|>"

Possible solution
No response
Which Operating Systems are you using?

[X] Linux
[ ] macOS
[ ] Windows

Python Version
N/A
axolotl branch-commit
Don't have the env anymore, but should be still reproducible
Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of axolotl.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

Can you also provide screenshots of the out directory here for reference?


Bump sentry-core to 0.28

Checklist

[x] I have read the Contributor Guide
[x] I have read and agree to the Code of Conduct
[x] I have added a description of my changes and why I'd like them included in the section below

Description of Changes
Upgrade to the latest available Sentry release: https://github.com/getsentry/sentry-rust/releases/tag/0.28.0

The deny config has quite a few errors and warnings...


Improve level tips

Codecov Report

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

@@           Coverage Diff           @@
##           master     #150   +/-   ##
=======================================
  Coverage   91.14%   91.14%
=======================================
  Files          82       82
  Lines        1050     1050
  Branches      171      171
=======================================
  Hits          957      957
  Misses         77       77
  Partials       16       16

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 8bd2fd5...f64f88f. Read the comment docs.


Cannot install v2.3.4 for Resharper 1.0.2

I have Resharper 1.0.2. Trying to install plugin 2.3.4 from Resharper Extension Manager. Resharper says that it is installed, asks for VS restart and after restart of VS it is still not installed.

What symptoms are you seeing that show that it's not installed?

Actually - almost nothing. May be Resharper shows download progress too fast and then says it's installed. I've tried several times.
Are there any logs?

Yes, the installer writes a log to %LOCALAPPDATA%\JetBrains\Shared\v04 for 10.0.2. Feel free to attach, or upload to gist or some such.

It's a bit strange - now it shows error:

Loading an assembly “JetBrains.ReSharper.Resources, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=1010a0d8d6380325” which is not listed in assembly references of assembly “JetBrains.ReSharper.Plugins.CyclomaticComplexity, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null” when trying to resolve the type JetBrains.ReSharper.Resources.Settings.CodeInspectionSettings. A type reference points into an assembly not listed among assembly references.

Installer Log

Hmm. There's no mention of xunit in the log files. You can safely ignore the Cyclomatic Complexity error - it's the installer getting upset while trying to load the plugin to see if it has custom install steps (it doesn't).
I'd suggest closing all instances of Visual Studio, and going to %LOCALAPPDATA%\JetBrains\plugins and delete all CitizenMatt.Xunit folders. Then look in the repositories.config file in that folder and edit the packages.config file(s) it points to, removing any lines that contain CitizenMatt.Xunit. Then try and reinstall. That should clear it all up, and hopefully allow it to install.

Yeah. It seems it's a bug in Resharper.
https://resharper-support.jetbrains.com/hc/en-us/community/posts/206009199-Confusing-error-upon-installing-ReSharper-10
I removed plugin JetBrains.ReSharper.Plugins.CyclomaticComplexity manually from %LOCALAPPDATA%\JetBrains\plugins (it even wasn't listed in installed extensions). And that nasty bug with loading assembly vanished, but plugin hadn't installed. No errors in InstallLog.
I completely uninstalled Resharper - including folders %LOCALAPPDATA%\Local\JetBrains and
%APPDATA%\Local\JetBrains and restarted Windows.
After clean install of Resharper plugin successfully installed.
Thank you for your support!
Unfortunately, I wasn't able to collect enough information why it's occured.

I am facing the same issue. Uninstalling Resharper/ Restarting .. did not help.
Uploading log file.
InstallerLog013.txt


Support the exports field

https://nodejs.org/api/esm.html#esm_package_entry_points
https://github.com/snabbdom/snabbdom/issues/718

This would be great. For example uuid has both node and default, where UNPKG.com could use the default field to automatically return the browser bundle.

@codemirror/next (the upcoming v6, which is a rewrite) is also unloadable because of this.

@codemirror/next (the upcoming v6, which is a rewrite) is also unloadable because of this.


KMS module returns iso8601 dates instead timestamp as per official API reference

I'm using moto version:
Name: moto
Version: 1.3.7
Summary: A library that allows your python tests to easily mock out the boto library
Home-page: https://github.com/spulec/moto
Author: Steve Pulec
Author-email<EMAIL_ADDRESS>License: Apache
Location: /usr/local/lib/python2.7/site-packages
Requires: requests, backports.tempfile, Jinja2, boto3, werkzeug, cfn-lint, python-dateutil, mock, botocore, docker, jsondiff, responses, cryptography, six, idna, pytz, boto, PyYAML, aws-xray-sdk, xmltodict, python-jose
Required-by:

The KMS module is not returning dates in the format specified in the AWS API Reference (https://docs.aws.amazon.com/kms/latest/APIReference/API_KeyMetadata.html#KMS-Type-KeyMetadata-CreationDate)
The official API uses timestamp for the dates but moto returns iso_8601_datetime_without_milliseconds
That causes issues with mocking when use moto[server] with statically typed languages that use mappers and expect the date fields with a timestamp.

From the boto3 example output it seems that the datetime format is correct (as returned by iso_8601_datetime_without_milliseconds). Have you observed differences with the actual AWS response?

You can reproduce it easily with:
21:32 $ aws kms describe-key --key-id alias/aws/s3
{
    "KeyMetadata": {
        "Origin": "AWS_KMS",
        "KeyId": "*******-3441-4073-8189-***********",
        "Description": "Default master key that protects my S3 objects when no other key is defined",
        "KeyManager": "AWS",
        "Enabled": true,
        "KeyUsage": "ENCRYPT_DECRYPT",
        "KeyState": "Enabled",
        "CreationDate":<PHONE_NUMBER>.021,
        "Arn": "arn:aws:kms:eu-west-1:************:key/*******-3441-4073-8189-***********",
        "AWSAccountId": "************"
    }
}

*** = masked info
as you can see the creation date is a timestamp, and also the documentation mentioned in the ticket reports the AWS API returns a timestamp and not a iso8601 date

Fixed with https://github.com/spulec/moto/pull/2193


[FR] Allow to add bookmark location in modal

It would be nice if I we could manually write any file location in the add bookmark modal and not just TOP and BOTTOM

Thanks for you work!

I saw that you can select the text beforehand

I saw that you can select the text beforehand


Alternatives to a Database for Storage

I'm really interested in seeing your project gain features over time - what a great idea. I looked at your roadmap and wondered whether you would consider looking into alternatives for the database.
For example, instead of storing the data and paying for a cloud-hosted database you could use Azure functions to gather the data when requested. I am not familiar with other storage hosting options, but hosting a database with such little data seems expensive. I'm not sure if blob storage or some other storage option would be more economical/feasible if this ends up being hosted on the internet.
Let me know your thoughts on this! Thanks!

Speaking as an Azure person (I could put another word but it might fail a bad word censor...  lol) Azure is MUCH better now.  A LOT faster and a LOT cheaper.  But your mileage will vary.
And you know GitHub is owned by Microsoft now right?


how to  replace ddim with dpm-solver in the origin stable diffusion? (img2img)

i had tried to replace
z_enc = sampler.stochastic_encode(init_latent, torch.tensor([t_enc]*batch_size).to(device))
samples = sampler.decode(z_enc, c, t_enc, unconditional_guidance_scale=opt.scale,
                                                    unconditional_conditioning=uc)

with
noised_sample = sampler.stochastic_encode(init_latent, opt.strength)
samples, _ = sampler.sample(
                                                opt.ddim_steps,
                                                noised_sample.shape[0],
                                                noised_sample.shape[1:],
                                                conditioning=c,
                                                unconditional_guidance_scale=opt.scale,
                                                unconditional_conditioning=uc,
                                                method="multistep",
                                                order=2,
                                                lower_order_final=False,
                                                t_start=sampler.ratio_to_time(opt.strength),
                                                x_T=noised_sample,
                                            )

but the results don' well.(same step not better than ddim) . Is there any other better way?

have you got any solution?

Hey,
I think you have to replace the opt.strength with 1-opt.strength in your codes (two places).
e.g. when the strength of input image is 0, it's equivalent to a text2img generation (start from pure noise), then the input time t for stochastic_encode should be 1; and when you set the opt.strength=1, the output should be same to the input image.
PS: I still find that the output of img2img with dpm solver different from ddim. Could you also compare these two methods, if you are able to make dpm solver work?


MdDialogRef doesn't exist, Directives from material.angular.io had changed

Hi, im pleased to say that id love to use this image editor on my work but the directives from Material.angular.io have been changed since you used it to perform the latest version of ngx-image-editor, i've seen that Md is now a Mat preffix so the plugin is not working, should update the code to use the latest version of material.angular.io to make it running again?
I've tried to do some manual replacement from MdDialogRef to MatDialog but doesn't work, i have no clue to do it by my own, im a newbie into ng2+ and using the material.angular.io library but i really want to use it, that do you think about this fix?
thanks a lot for your time, hope you answer.

ERROR in node_modules/ngx-image-editor/lib/ngx-image-editor.component.d.ts(2,10): error TS2305: Module '"/.../node_modules/@angular/material/material"' has no exported member 'MdDialogRef'.

The issue should be fixed now. The editor will be used as a component now not as Material Dialog component.


Add support for increasing maximumPoolSize pool size in env

When we do this, maybe let's also add the database port to .env? That's the only other option we're currently missing. It's also been asked about on the forum: https://forum.getodk.org/t/upgrade-to-2023-2-custom-db-port/41752


Drafting: Publishing page

A page linked from the menu describing what data publishing in GBIF actually means.
Blocked by #82

Expand overview available here

Could well be publishing, and classes of data should be merged.  I just felt with only the classes of data, something was missing...

New publishing guide in place (/publishing-guide) with links out to relevant tools and docs.


Alamofire extension update

Adds a convenience method and type so that responseSerializable can be used for requests with no response data.

[Current coverage][cc-pull] is 100%

No coverage report found for master at 84614f0.

Powered by Codecov. Last updated by [84614f0...eeb4f69][cc-compare]
[cc-base-branch]: https://codecov.io/gh/nodes-ios/Serializable/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/nodes-ios/Serializable/compare/84614f0173796b016be8c5b9d32826b16dffdc3f...eeb4f69e3c2a5a689bf96cccd536b2a36703865c
[cc-pull]: https://codecov.io/gh/nodes-ios/Serializable/pull/80?src=pr


Chore/update packages

Updating packages with major change from docusaurous 2 -> 3 included. Had to add backslashes in two files due to changes in mdx markdown parsing between mdx 1 and mdx 3. Might be good to run visual regression tests to check that nothing has changed, guide if needed

And problems galore... I give up on this one for now. npm run build is failing and I can't for the life of me figure out why.


v0.14.0-alpha endgame

DRIs

DRI

Endgame
@sgrebnov

QA
@digadeesh

Docs
@ewgenius

Comms
@karifabri

Milestone Release Timeline

Date
Description

Planning
Mon, Jun 10

Release
Mon, Jun 17

Announcement
Tue, Jun 18

Planning Checklist

[ ] Review the specific GitHub Milestone

Release Checklist

[ ] ~All features/bugfixes to be included in the release have been merged to the release branch (e.g. release-v0.14.0-alpha) following the Branching Policy~

[ ] ~Verify all commits that should be included are in by viewing the GitHub compare view: i.e. https://github.com/spiceai/spiceai/compare/trunk...release-v0.13.2-alpha~

[x] Full test pass and update if necessary over README.md @digadeesh
[x] Full test pass and update if necessary over Docs @ewgenius
[x] Full test pass and update if necessary over existing and new Samples @y-f-u
[x] Full test pass and update if necessary over existing and new Quickstarts @digadeesh
[x] Merge Docs PRs @ewgenius
[x] Merge Registry PRs sgrebnov
[x] Merge Samples PRs @sgrebnov
[x] Merge Quickstarts PRs @sgrebnov
[x] Update release notes @lukekim

[x] Ensure any external contributors have been acknowledged.

[x] Update acknowledgements by triggering Generate Acknowledgements workflow @sgrebnov
[x] Verify version.txt and version in Cargo.toml are correct using docs/RELEASE.md @sgrebnov
[x] Ensure E2E Test CI is green on the release branch. @digadeesh
[x] QA DRI sign-off @digadeesh
[x] Docs DRI sign-off @ewgenius
[x] Release the new version by creating a pre-release GitHub Release with the tag from the release branch. E.g. v0.14.0-alpha @sgrebnov
[x] Release any docs updates by creating a v[semver] tag. @sgrebnov
[x] Trigger algolia search crawler workflow, to reindex updated docs. @sgrebnov
[x] Update the Helm chart version (image.tag version & chart version). Ensure docker build for the tag from the release branch completed (~2 hours) and trigger the Release Chart workflow. @sgrebnov
[x] Final test pass on released binaries @sgrebnov
[x] Run E2E Test Release Installation @sgrebnov
[x] Update version.txt and version in Cargo.toml to the next release version. @sgrebnov
[x] Update versions in brew taps @sgrebnov
[x] Remove the released version from the ROADMAP @sgrebnov
[ ] ~Create a new branch release-v[semver] for the next release version from the current release branch. E.g. release-v0.14.0-alpha~

Announcement Checklist

[x] X: @spice_ai
[x] Reddit: reddit.com/r/spiceai
[x] Discord: #announcements
[x] Telegram: spiceai
[x] Blog: blog.spiceai.org

PR reference

PR 1.
PR 2.
etc.

Release is done


[BULK] Metadata - 2034371 Remove ms.technology value: sharepoint-framework (manual)

Category

[x] Content fix
[ ] New article

Related issues
Task https://mseng.visualstudio.com/TechnicalContent/_boards/board/t/Aquent QandM/Stories/?workitem=2034371
What's in this Pull Request?
Per the Task description:

Remove ms.prod = sharepoint from all content where it is paired with ms.technology = sharepoint-framework
Replace with ms.service = sharepoint paired with ms.subservice = sharepoint-framework

There were 505 instances of ms.technology: sharepoint-framework in this repo, all applied by the docfx.json to the /general-development and /spfx folders. The /spfx folder also had ms.prod: sharepoint applied by the docfx.json to 170 files, while /general-development had ms.prod: sharepoint hand-applied to 335 files.
I updated the docfx.json to apply ms.service: sharepoint and ms.subservice: sharepoint-framework instead of ms.prod: sharepoint and ms.technology: sharepoint-framework to the /general-development and /spfx folders. I also removed the hand-applied instances of ms.prod: sharepoint in those two folders.
(I also decided to remove ms.technology: sharepoint-framework from the spfx-apis folder in the docfx.json even though that folder doesn't exist in the current repo so there are no instances applied. That would help in getting rid of ms.technology: sharepoint-framework altogether.)
(Ms.prod: sharepoint is still being applied by docfx.json to the solution-guidance folder, but with no associated ms.technology.)

Ready for review - removes and replaces the metadata pairing specified in the opening comment. If the sensitive language Warnings prevent this from merging, I'm pretty sure that <WhiteList> element is arbitrary and could be replaced with <AllowList>, but not familiar with the REST API so not 100% sure.

I'm pretty sure that <WhiteList> element is arbitrary and could be replaced with <AllowList>, but not familiar with the REST API so not 100% sure.

This can't be changed... that's part of a schema that's also included in on-prep SharePoint deployments that hasn't changed so we can't update the docs as they'd no longer be correct. While the warning is legit, it's irrelevant as it would make the docs inaccurate.


Deeplink to registration is broken

This issue is imported from pivotal
After the update for MFA, the deeplink to creating a new eduID is broken.

https://login.test2.eduid.nl/register

https://github.com/OpenConext/OpenConext-myconext/compare/36a82d8ea7cc...c531e0993f59 (Peter Havekes - Jul 12, 2022)

A logged in user can request an new eduID, his account is displayed in the registration screen. A logged-in users should be sent to https://mijn.... when trying to register an new account. This is the current behaviour in v6.0.0 (Peter Havekes - Jul 12, 2022)


Updated elgohr/Publish-Docker-Github-Action to a supported version (v5)

elgohr/Publish-Docker-Github-Action@master is not supported anymore

@elgohr Thanks:+1:


Only redirect if a partner admin is active

Overview
At Bloom, we have partners who have a specific version of Bloom. These partners have administrators who give out access codes to users. These administrators are called partnerAdmins. If on the user state, the user.partnerAdmin is not null, this user is a partnerAdmin. These administrators predominantly use the /partner-admin/create-access-code page. Therefore when one of these administrators log in we redirect them straight to that page.
In pages/auth/login.tsx, if a user is a partner admin we redirect them to /partner-admin/create-access-code. We not only need to check if the partner admin exists, we need to check if the partnerAdmin is still active. We can do this by checking partnerAdmin.active instead on line 86.
Action Items

[ ] Update the check on line 86 from     if (partnerAdmin?.id) to     if (partnerAdmin?.active)
[ ] Run Cypress tests to ensure everything is still working
[ ] Create a PR and tag @kyleecodes

@eleanorreem can you assign me this issue?

Hi there ! I am a new contributor to this repository and would love to contribute by solving this issue. Could you please assign this issue to me ?

Hi there ! I am a new contributor to this repository and would love to contribute by solving this issue. Could you please assign this issue to me ?

Thank you for your interest @AhmedFaizanDev! Issues are assigned to those who ask first. Please check out other issues and stay tuned as we publish more!

Hey hi there, I am a new here to this repository and would love to
contribute by solving some issues. Could you please assign any issue to me,
preferably something basic or simple?
On Thu, 18 Jul 2024 at 11:40 PM, github-actions[bot] <
@.***> wrote:

Thank you @nipunh https://github.com/nipunh you have been assigned this
issue!
Please follow the directions in our Contributing Guide
https://github.com/chaynHQ/.github/blob/main/docs/CONTRIBUTING.md. We
look forward to reviewing your pull request shortly ✨
Support Chayn's mission? ⭐ Please star this repo to help us find more
contributors like you!
Learn more about Chayn here https://linktr.ee/chayn and explore our
projects https://org.chayn.co/projects. 🌸
—
Reply to this email directly, view it on GitHub
https://github.com/chaynHQ/bloom-frontend/issues/1044#issuecomment-2237197572,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BJVYITNVNWMH62IBNCCEIYDZNAAKHAVCNFSM6AAAAABLCOWYKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZXGE4TONJXGI
.
You are receiving this because you were mentioned.Message ID:
@.***>


Fix error

When intersecting two paths, an error thrown: Cannot read property 'removeMultipleRootsIn01' of undefined. This PR fixes it by adding missing export. Other solution - this can be fixed by replacing module.exports.Utils.removeMultipleRootsIn01 with removeMultipleRootsIn01. (3 times)

Thank you for submitting this bugfix and sorry, it took me so long to respond.
I'd prefer replacing module.exports.Utils.removeMultipleRootsIn01 with removeMultipleRootsIn01 as you suggested. This seems cleaner and also gets rid of the unnecessary exports. Care to update your PR?

Thank you for response. I've updated PR


Fix gradle build scripts

Adapt to new Nexus

New Nexus reconnected in commit c030d6a.
It is still bugging on mpssign.sh like this:
/tmp/groovy-generated-tmpdir-18160084751518739679
ls: cannot access '/tmp/groovy-generated-tmpdir-11756844351268161337/RCP.app/Contents/Resources/': No such file or directory
for signing the application RCP.app: SIGN_PW, SIGN_KEY_CHAIN and SIGN_IDENTITY needs to be provided
chmod: cannot access '/tmp/groovy-generated-tmpdir-11756844351268161337/RCP.app/Contents/bin/*.py': No such file or directory

Task :build_dmg FAILED

@arimer do you know how to fix this signing issue that is remaining?
Any other tips to upgrade the build to a more proper/modern structure are, of course, also appreciated!

Not really no. I don't think that the signing feature was used in the last couple of years. So the impl. is probably outdated. It might also explaint that the signing task expects something in '/tmp/groovy-generated-tmpdir-11756844351268161337/RCP.app/Contents/bin/*.py', but the MPS directory structure changed. But this is only a gueess.
You could have a look at mpssign.sh  to see if it requires adaptions.


Token counting for Audio input

Description of the feature request:
It would be great to know a close estimate of how many tokens it costs per minute of audio. In this guide, it mentions "Audio and video are each converted to tokens at a fixed rate of tokens per minute." Using the audio example you used in the guide as a reference point, for ~44 minutes of audio, it would cost ~1,899 tokens/minute of audio (83552/44). Is my understanding correct? Also, would the number of tokens change based on the audio input type (eg. wav vs mp3)?
What problem are you trying to solve with this feature?
Estimating the count of tokens for audio input.
Any other information you'd like to share?
No response

Token count depends upon the length of the audio rather than the size or type of the audio input
I investigated how audio format and file size affect the number of tokens generated from audio. I used audio clips of the same length (3.07 minutes) in various formats (mp3, wav, flac, aac and m4a). Interestingly, the token count did not depend on the format or file size of the audio. Instead, it solely relied on the audio's duration. In other words, clips with the same length resulted in the same number of tokens, regardless of format or file size.
Please find the gist

I think this is answered now. Feel free to open another issue if you think there's more we can do.


Conditional health checks

We have a situation where we would like to execute only a set of specific health checks depending on the incoming REST call. This is because we run multiple tenants on the same instance and would like to show only "tenant A"-relevant health checks if the request runs in the context of "tenant A." On the other hand, we would like to see all health checks if there is no tenant-specific context.
Registering/unregistering health checks inside of a Vertx router filter is not an option, as it seems hacky and mainly beacuse this changes the configuration of the system rather than only being effective for the current request.
SUGGESTION: A new interface ConditionalHealthCheck which extends  HealthCheck that holds an additional method, e.g., boolean runCheck(). The Health Registry can then check if a health check needs to be executed or not.

@xstefank we probably can close this. What is your opinion?


Given install command returning 404

The following command, returns a 404 error, even though it was given by pkg.pr.new:
pnpm add https://pkg.pr.new/sequelize/umzug@678

However, the command works when using:
pnpm add https://pkg.pr.new/sequelize/umzug@a5198db

Thank you so much for reporting this!
Do you have any link to the pull request itself? I'd like to investigate it.

@Aslemammad Here

Will check soon! Thank you 🙌

Ok, I see!
I think because the PR is created before the installation of the app!
Can you try another creating another test PR and let me know?


It's safe?

If parallel requests go to php, will the wallet work correctly? Reading the source code, I did not find such protection

sorry, it isn't corrent repo


How to reference a project using EF Core in UWP and Website applications?

Hi,
I posted this question of http://stackoverflow.com/questions/39395465/how-to-share-a-net-core-project-with-a-net-core-website-and-uwp-app but thought I might get possibly more help here.
I'm in the process of creating a proof on concept solution that will have a project using Entity Framework Core.  I would like the project to be referenced by a UWP project and also by a .Net Core website.  I was able to get the Website referencing the project and using Entity Framework Core correctly.  When I try to get the UWP app to use the same code, it compiles, but fails at run time.  I've also tried changing the frameworks around using NetStandard1.4 and NetStandard1.6 but then the Entity Framework Core doesn't work correctly.
My shared project is a .Net Core class library (not an actual Shared Project type in VS).
Here's the error that I get when I run the UWP application.  It occurs when I try to create a new Context class that inherits from DbContext:

An exception of type 'System.IO.FileLoadException' occurred in
mscorlib.ni.dll but was not handled in user code
Additional information: Could not load file or assembly
'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The
located assembly's manifest definition does not match the assembly
reference. (Exception from HRESULT: 0x80131040)

Here's the project.json that I have for the shared project.
{
  "version": "1.0.0-*",

  "dependencies": {
    "Microsoft.EntityFrameworkCore.Sqlite": "1.0.0",
    "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final",
    "NETStandard.Library": "1.6.0",
    "System.ComponentModel.Annotations": "4.1.0",
    "Microsoft.NETCore.App": {
      "version": "1.0.0",
      "type": "platform"
    }
  },

  "frameworks": {
    "netcoreapp1.0": {
      "imports": [
        "dotnet5.6",
        "portable-net45+win8"
      ]
    }

  }
}

Here's the project.json for the UWP project
{
  "dependencies": {
    "Microsoft.EntityFrameworkCore.Sqlite": "1.0.0",
    "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final",
    "Microsoft.NETCore.UniversalWindowsPlatform": "5.2.2"
  },
  "frameworks": {
    "uap10.0": {
      "imports": [
        "netcoreapp1.0"
      ]
    }
  },
  "runtimes": {
    "win10-arm": {},
    "win10-arm-aot": {},
    "win10-x86": {},
    "win10-x86-aot": {},
    "win10-x64": {},
    "win10-x64-aot": {}
  }
}

Here's the project.json for the website project
{
  "dependencies": {
    "Domain": "1.0.0-*",
    "Microsoft.AspNetCore.Diagnostics": "1.0.0",
    "Microsoft.AspNetCore.Mvc": "1.0.0",
    "Microsoft.AspNetCore.Razor.Tools": {
      "version": "1.0.0-preview2-final",
      "type": "build"
    },
    "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
    "Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
    "Microsoft.AspNetCore.StaticFiles": "1.0.0",
    "Microsoft.EntityFrameworkCore.Sqlite": "1.0.0",
    "Microsoft.EntityFrameworkCore.SqlServer": "1.0.0",
    "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final",
    "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
    "Microsoft.Extensions.Configuration.Json": "1.0.0",
    "Microsoft.Extensions.Logging": "1.0.0",
    "Microsoft.Extensions.Logging.Console": "1.0.0",
    "Microsoft.Extensions.Logging.Debug": "1.0.0",
    "Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
    "Microsoft.NETCore.App": {
      "version": "1.0.0",
      "type": "platform"
    },
    "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0"
  },

  "tools": {
    "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final",
    "BundlerMinifier.Core": "2.0.238",
    "Microsoft.AspNetCore.Razor.Tools": "1.0.0-preview2-final",
    "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final"
  },

  "frameworks": {
    "netcoreapp1.0": {
      "imports": [
        "dotnet5.6",
        "portable-net45+win8"
      ]
    }
  },

  "buildOptions": {
    "emitEntryPoint": true,
    "preserveCompilationContext": true
  },

  "runtimeOptions": {
    "configProperties": {
      "System.GC.Server": true
    }
  },

  "publishOptions": {
    "include": [
      "wwwroot",
      "Views",
      "Areas/**/Views",
      "appsettings.json",
      "web.config"
    ]
  },

  "scripts": {
    "prepublish": [ "bower install", "dotnet bundle" ],
    "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
  }
}

I'm not sure if UWP projects work well with .NET Core projects. Maybe you could try changing your EF project to a Portable Class Library project.

@bricelam You're awesome!  I tried using a PCL and I wasn't able to add EF Core becuase I chose Class Library (Portable for iOS, Android and Windows) instead of Class Library (Portable).  I chose the correct library option and selected UWP and .Net Core and was able to add EF and get it compiling and not throwing an exception at runtime for both projects.
Thanks Again!


Testing aggregating of data from multiple firebase queries [DO NOT MERGE]

Found a way to combine results of multiple Firebase queries into one live data stream.
@MarcusBoay this could be interesting to you.

This is just some experiments, not intended to ever be merged.

Was never meant to be merged, so I'm closing it.


added "which" to tools installed by yum in Dockerfile

things like bmtagger make use of "which" to check paths. sigh.

Which paths are determined like that?

Notably bmfilter: ftp://ftp.ncbi.nlm.nih.gov/pub/agarwala/bmtagger/bmtagger.sh (line 46)
(Currently looking at adding bmtagger to bioconda)

So in a sense, which would be even a runtime dependency. On the other hand, it should be present in any linux distro. I am very surprised that it is not installed per default in the CentOS image.
Let's just assume it is there, or patch it away in the script. Whatever you prefer.

I was surprised too. I had to verify it by dropping into bash in the docker image:
docker run -i --entrypoint /bin/bash -t bioconda/bioconda-builder


Switching tabs removes decorations

Issue Type: Bug

Decorations return after modifying the document. But is it possible to keep them even after switching?
Extension version: 1.0.0
VS Code version: Code 1.28.2 (7f3ce96ff4729c91352ae6def877e59c561f4850, 2018-10-17T00:23:51.859Z)
OS version: Windows_NT x64 10.0.17134

Back onto this project at last. Looking at this now.

Now published to Extension Marketplace as v1.1.0.


Add build/release workflow

We need to have a github workflow to build this package and push it to pypi. It should be triggered by the publishing of a new github release. The release process should be documented in RELEASE.md. That process is likely just compiling the release notes in CHANGELOG.md, finding the next appropriate tag version, then drafting and publishing the release with the relevant notes and correct tag version.

how about using conventional commits with commitizen for message linting (as a pre-commit hook), CHANGELOG automation and version bumping?
it's a bit awkward at first sometimes, but in 90% of commits it's using an feat:  or fix:  prefix only.

@c-wygoda I believe that an effective CHANGELOG requires some level of curation to be useful--commit messages are not always sufficient documentation. I also think right now simpler is better, so I'd rather just get a workflow in that can build and publish this package to pypi and if we want to do something more later we can always bring up this idea again in the future. Sound okay?

well, agree with moving forward. I would say than an CHANGELOG curation is a sign of missing automation at best, inefficient commit messages at worst.


VSC prompting: "Save changes" but there are no any changes in files.

VSCode Version: Code 1.3.1 (e6b4afa53e9c0f54edef1673de9001e9f0f547ae, 2016-07-12T13:35:06.227Z)
OS Version: Windows_NT ia32 6.1.7601

Steps to Reproduce:

Open a file
Close the file
VSC prompting "Save changes". But I have not changed anything...

I am very sorry to hear you are having issues with VS Code. I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line, execute: code --disable-extensions and try your steps again to see if it reproduces. If you see it is an issue with the extension, please file it against the extension repository itself.

Thanks,it helped.


Support for scenario-level parallel execution

🤔 What's changed?
Implementing support for scenario-level (method-level) parallel execution for MsTest and NUnit based on the work of @obligaron in #119.
⚡ What's your motivation?

🏷 What kind of change is this?

:zap: New feature (non-breaking change which adds new behaviour)

♻ Anything particular you want feedback on?

📋 Checklist:

[x] I've changed the behaviour of the code

[x] I have added/updated tests to cover my changes.

[x] My change requires a change to the documentation.

[x] I have updated the documentation accordingly.

[x] Users should know about my change

[x] I have added an entry to the "[vNext]" section of the CHANGELOG, linking to this pull request & included my GitHub handle to the release contributors list.

This text was originally taken from the template of the Cucumber project, then edited by hand. You can modify the template here.

Hi @gasparnagy, thanks for rising this PR. i forked this change and used in my Realtime project (Which is using MSTest provider + UI automation) and found two issues

when initializing the web driver we had to use AsyncLocal to initiate the browser this i am doing because when test run in browser its returning same webdriver session id to all scenarios which will do the action in that webdriver session only (Is there anything we can do on reqnroll project to solve this?)
when running in parallel run with this change + AsyncLocal i am able to run scenarios in parallel without any issues but the issue starts at the reporting when i see the report i can see the standard out is not having the proper output such as if i run 4 scenarios and all scenarios got executed then only one scenario have the standard output for all 4 scenarios along with thread Id so i did some changes on
https://github.com/reqnroll/Reqnroll/blob/cda031838f23cd3e2f1d4d280c1d09ae7c4b872c/Reqnroll/Tracing/TraceListenerQueue.cs#L54
i removed invers condition on this and it started logging the output properly i checked with MSTest only i am not sure how it will behave on other test providers. I also see some Anis getting printed in the log like this <-[22;33;11;3 so i had to do some changes to strip those Anis values when we trigger the tracing function

can you please consider this as well fix which will benefit me and my project

It might be nice to have a test that proves steps are running concurrently (e.g. by having them all wait on a semaphore that is reduced by each parallel step and only proceeds when all the parallel steps are blocking together)

@Code-Grump I think we have this. Just maybe not that visible. I have ported the concept we used for the Specs tests earlier:

In the beginning of the when step definition we receive a current unique execution index: var currentStartIndex = System.Threading.Interlocked.Increment(ref startIndex);
At the end of the when step definition we compare the "actual" step execution index with the one we remembered if these are different (ie another step have been started in the meanwhile), we log out a parallel: true statement.
In the test we assert that at least once the statement has been logged (ie there were at least one step definition that was running parallel with another one).

Do you think this is sufficient?

It will be sufficient, provided the steps are only used within a single feature. If that step is used by another feature, it will only prove that we can run features in parallel, rather than individual scenarios.

@Code-Grump Ah, I see. No, this does not prove the scenario-level parallelization only parallelization in general. Actually scenario-level parallelization (that requires method-level parallelization) only possible with MsTest and NUnit.
I was wondering if it is our responsibility to have an ongoing check whether the test frameworks did proper method-level parallelization or it is enough to prove that our solution works with their method-level parallelization setting, this is why I did not do an extra check. But the tests were failing before the implementation was done, so they are correct.

@Code-Grump I have finally added the extra check for the scenario-level parallel execution.

@sampath-ganesan thx for pointing this out, let's discuss it there.


fill parmeter in translate has no effect

When using the translate operation, the empty part of the result image should be filled with the tuple provided with the "fill" argument. It's currently not being used and thus the background will always consist of (0,0,0).

Hello @tfriedel, Which transform are you referring to ? I don't think FFCV comes with a translate transform does it?

this one: https://github.com/libffcv/ffcv/blob/main/ffcv/transforms/translate.py

When using the translate operation, the empty part of the result image should be filled with the tuple provided with the "fill" argument. It's currently not being used and thus the background will always consist of (0,0,0).

It's actually worse than that, it's uninitialized and once in a while it contains a random value other than 0.0!

I didn't know we had that augmentation. Sorry about that, I'll try to fix that soon, but if someone wants to go ahead and make a PR it should be pretty straightforward

This should be fixed in #184 !

Now fixed on PyPI!


suggestion for the github actions workflow

you don't need those 2 lines:
https://github.com/CleanMachine1/DollarSkip/blob/42f5bb1c5ebcc2567f4532bb2c544d5db607a0d6/.github/workflows/main.yml#L28-L29
the checkout action does that already.

btw i just realized that you have unlimited github actions minutes for public repositories!

I didn't actually mean to leave it there, it was only me compiling on a different computer to test

btw i just realized that you have unlimited github actions minutes for public repositories!

cool

also congratulations on becoming a tldr maintainer!

https://github.com/CleanMachine1/DollarSkip/runs/2591397067?check_suite_focus=true

you already are inside the repo. just run make test and you are done.

fixed
Thanks


CASMCMS-8769 - fix formatting for helm chart example.

Description
https://jira-pro.it.hpe.com:8443/browse/CASMCMS-8769
This just fixes the indentation on example code creating a helm chart.
Checklist

[X] If I added any command snippets, the steps they belong to follow the prompt conventions (see [example][1]).
[X] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in [Cray-HPE][2].
[X] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.5 release/1.4 release/1.3


Setting options with a callback no longer works as expected: Config option "xxx" does not exist when using a function call

Deployer version: v7.0.0-beta.15
Deployment OS: osx
Reproduction Repo: https://github.com/leevigraham/deployer-bug

Setting options with a callback no longer works as expected.
Run:
✅ Success -> vendor/bin/dep test static -vvv
❌ Fail -> vendor/bin/dep test function -vvv
Deployer.php:
namespace Deployer;

localhost('function')
    ->set('db_password', function() {
        return 'password';
    });

localhost('static')
    ->set('db_password', 'password');

task('test', function() {
    runLocally('echo "{{ db_password }}"');
});

Yes, you're right. Nice catch. Will try to look at this today evening.

Fixed! Please update and test.

Seems to be working :)


Lab 11 issue

Lab: 11
###Second Exercise 3
Task: 1
Step: 5
Description of issue
Can't get a Resource Group to appear, despite restarting the lab numerous times and changing filter settings in the Select a Scope template. One time, a subscription briefly appeared, showed no resource groups beneath it, and then disappeared. My students didn't have this issue however.

Was a support ticket posted for Skillable?

Yes, I emailed Skillable this morning

From: Serling1225 @.>
Sent: Friday, November 24, 2023 8:57 AM
To: MicrosoftLearning/AZ500-AzureSecurityTechnologies @.>
Cc: Mark Ingram @.>; Author @.>
Subject: Re: [MicrosoftLearning/AZ500-AzureSecurityTechnologies] Lab 11 issue (Issue #395)
You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
Was a support ticket posted for Skillable?
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftLearning/AZ500-AzureSecurityTechnologies/issues/395#issuecomment-1825919597, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADRZI3VICJCIXB2B6GGUNLDYGDGXBAVCNFSM6AAAAAA7Y773A6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRVHEYTSNJZG4.
You are receiving this because you authored the thread.Message ID: @.***>


add gameplay to readme

I have added the gameplay info in the readme. Please check one and merge the pull request.

star my repository

Starred it... 👍
On Sat, Oct 30, 2021, 12:38 PM Prathviraj Prabhu @.***>
wrote:

star my repository
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/itsprathvi/TICTACTOE/pull/4#issuecomment-955163090,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUSBIXI2ROWSX5YVCBMWGULUJOKVDANCNFSM5G5NKG6Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


[CRASH] Completely crashes if GApps are not installed

Since a few versions now, the app crashes upon startup. I am running a GAppsless phone, so I am missing Firebase, and new code has caused this to crash the app.
Logcat:
06-15 19:33:25.120 E/AndroidRuntime(23328): java.lang.RuntimeException: Unable to instantiate service com.google.android.gms.measurement.AppMeasurementService: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.measurement.AppMeasurementService" on path: DexPathList[[zip file "/data/app/chat.rocket.android-HYGTQFUiHwzXBCS2OSKv0g==/base.apk"],nativeLibraryDirectories=[/data/app/chat.rocket.android-HYGTQFUiHwzXBCS2OSKv0g==/lib/arm64, /data/app/chat.rocket.android-HYGTQFUiHwzXBCS2OSKv0g==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]

My device is a OnePlus 3T running Lineage (Android 8.1.0).

@vynmera this is a known issue...
There is a user working a FOSS version of the app -> https://github.com/RocketChat/Rocket.Chat.Android/pull/1232
Soon we will have a flavor that doesn't depends on the PlayStore and will publish it on f-droid

Any news on the f-droid version?

@himpierre You can follow the progress here: https://github.com/RocketChat/Rocket.Chat.Android/pull/1232.

Fixed already.


cigien: Blacklist twrpupdate.com

cigien requests the blacklist of the website twrpupdate\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

twrpupdate\.com has been seen in 9 true positives, 2 false positives, and 1 NAA.

Approved by Spevacus in Charcoal HQ


Fog enhancement

Hello,
Would it be possible to add a config so that the distance of the fog can be configured to suit the situation (when we are in caves, at the layer of the bedrock, etc...)?
Cave fog example at layer 13:

By the way, when the cave fog is activated on a flat world, it's extremely high because we are at a low layer. Is there a solution to this problem?

The bedrock fog is a complicated calculation.  Essentially its the same logic that MC used back before they removed bedrock fog.  I would have to check to see if it would be possible to assign distances.  As for superflat - I am aware.  There were changes in 1.16.4 that hid some things from me and I am looking for a way to detect superflat worlds.

The bedrock fog is a complicated calculation.  Essentially its the same logic that MC used back before they removed bedrock fog.  I would have to check to see if it would be possible to assign distances.  As for superflat - I am aware.  There were changes in 1.16.4 that hid some things from me and I am looking for a way to detect superflat worlds.


EventGrid: New preview API version with support for additional destination types, CloudEvents 1.0, and batching support.

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[X] I have reviewed the documentation for the workflow.
[X] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[X] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[X] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

Commit 1 is an exact snapshot of the last preview API version (2019-02-01-preview) to make diffs easier. Hence, the main changes are in commits 2, 3, 4. Commit 5 is a change to merge the changes already done in our last GA version (2019-06-01) into this new preview API version.

Can one of the admins verify this patch?

hi @ruowan could you pls help to look at what's the avocado error?

Hi, @kalyanaj  For avocado validation error. You need to add /specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json to your readme file as an input file. Because if the readme doesn't contain this file, then SDK will not be generated and avocado report UNREFERENCED_JSON_FILE error.

Thanks @ruowan for the info!  I have updated the README files now and CI is green now. Please let me know if you have any additional feedback Can you please help review/merge this PR?


test: remove the use of CARGO_RUSTC_CURRENT_DIR

What does this PR try to resolve?
The environment variable has been removed in #14799.
Switch to plain old CARGO_MANIFEST_DIR
because snapbox's current_rs favors furthest Cargo.toml,
blocking tests running in rust-lang/rust as a submodule.
See also build failures in rust-lang/rust#133533
How should we test and review this PR?
Pull this change into rust-lang/rust and run
./x.py test src/tools/cargo

Snapbox also uses CARGO_RUSTC_CURRENT_DIR.  However, that is only on test failure when SNAPSHOTS=overwrite is specified which is why it isn't a problem.

Do we know why this doesn't work for bootstrap but it works for everything else?  Are they running our tests outside of our repo, making it so the config isn't loaded?  Could that change?

Do we know why this doesn't work for bootstrap but it works for everything else? Are they running our tests outside of our repo, making it so the config isn't loaded? Could that change?

I believe that is because bootstrap invokes cargo with --manifest-path without cd to the package root.

:umbrella: The latest upstream changes (presumably 3908f64086a3d7b9af8d87b4da2bd100776c3e61) made this pull request unmergeable. Please resolve the merge conflicts.

[…] Are they running our tests outside of our repo, making it so the config isn't loaded? Could that change?

It might be possible to change, but that requires bootstrap team's involvement. I would suggest we unblock this first, and then discuss with other folks for any further refactors.

Suggest a patch to that PR: https://github.com/rust-lang/rust/pull/133533#issuecomment-2508666180.

Close as this patch works.


Flutter web not returning any credential after completion of login with audience.

Checklist

[X] The issue can be reproduced in the auth0_flutter sample app (or N/A).
[X] I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
[X] I have looked into the API documentation and have not found a suitable solution or answer.
[X] I have searched the issues and have not found a suitable solution or answer.
[X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
[X] I agree to the terms within the Auth0 Code of Conduct.

Description
i am trying to perform login in flutter web by passing audience but the onload function does not return any credentials after completion of login with auth0. if i try to login with out passing audience it working fine. i also try this sample app i am facing the same issue.
on load function
@override
void initState() {
  super.initState();
  auth0 = Auth0(domain,clinetId);
  auth0Web = Auth0Web(domain,clinetId);
  // webAuth =
  //     auth0!.webAuthentication(scheme: dotenv.env['AUTH0_CUSTOM_SCHEME']);

  if (kIsWeb) {
    auth0Web!.onLoad().then((final credentials) => setState(() {
          _output = credentials?.idToken ?? '';
          _isLoggedIn = credentials != null;
        }));
  }
}

login function
Future<void> webAuthLogin() async {
    String output = '';

    // Platform messages may fail, so we use a try/catch PlatformException.
    // We also handle the message potentially returning null.
    try {
      if (kIsWeb) {
        return auth0Web.loginWithRedirect(redirectUrl: 'http://localhost:3000',audience: audience);
      }

      final result = await webAuth.login();

      output = result.idToken;
    } catch (e) {
      output = e.toString();
    }

    setState(() {
      _isLoggedIn = true;
    });

    // If the widget was removed from the tree while the asynchronous platform
    // message was in flight, we want to discard the reply rather than calling
    // setState to update our non-existent appearance.
    if (!mounted) return;

    setState(() {
      _output = output;
    });
  }

Reproduction

just pass audience on web login

Additional context
No response
auth0_flutter version
1.2.1
Flutter version
3.10.2
Platform
Web
Platform version(s)
No response

Hi @ranjitIN, thanks for raising this.
I can only reproduce this when I don't configure the Allowed Web Origins URL:

Have you configured this value in your Auth0 app's settings, as explained here?

All these things are configured and it's working fine if I am not passing the audience . When I passed the audience the onload  function did not catch any credentials.
The easiest way to reproduce this issue is to pass the audience when you try to login.

If the Auth0 application is configured as described, I'm unable to reproduce on the sample app:
https://github.com/auth0/auth0-flutter/assets/5055789/5a9b6f94-7f9e-4ba9-98b2-cec9c63ddce0

is threre any update on this

@ranjitIN you can't use HS256 with a mobile app, because it's a symmetric algorithm, meaning it requires a secret on both sides; but mobile apps are public clients, not confidential clients. You need to use an an asymmetric algorithm, like RS256.

@ranjitIN if you open the developer tools, can you spot any errors coming back from the login page (on the "Networking" tab)?

Yup There are some errors.
https://github.com/auth0/auth0-flutter/assets/78366707/89122093-30b0-4491-8473-6815baf3c65b

Thanks for the information. Could you please include the error response from the Dev Tools "Network" tab?

Thanks for the support the issue is resolved after adding my web URL in allowed web origins. when is see the but its not throwing any exception.

thanks for the support but i am facing refresh token  web
iam using loginWithPopup on flutter web but not able to fetch the refresh token is there anything i need to pass
  credentials = await auth0.loginWithPopup(
            audience: audience,
            scopes: {'openid', 'profile', 'email', 'offline_access'});

please let me know am i doing anything wrong

@ranjitIN we use GitHub issues for bug reports and feature requests only. For help with usage, please raise a support ticket or refer to the community forums.


Add up-for-grabs issues

I love an idea behind the project and I sure there are plenty of engineering problems new contributors might help with. Could you please add (or label) up-for-grab issues? Thank you!

I'll get on that. I've been considering a massive overhaul and I'll create a punch list of things to fix.

Hi @matthewcrews, I am loving the FLIPS library.  I would like to extend the FLIPS library to use a quadratic programming solver for portfolio optimization within the investment management realm, similar to choosing "GRG nonlinear" for the solver in the Solver add-in for Excel.  I would incorporate this by effectively wrapping the open source Accord .NET library and we would specify the solver...  Any thoughts about this idea (like or dislike)?

I do like this idea. As I mentioned above, Flips needs a massive overhaul. I wrote it before I had much experience with creating libraries and supporting them. There are several mistakes in it that cause far more allocation than should be required, and this becomes burdensome with large models. Flips also went 1.0 well before it should have. It should really be ~0.8 based on how people are versioning their libraries these days.
I have re-written Flips for an internal project at my company, and I have been letting it bake to ensure it's production worthy. I will then migrate these changes into the main branch.
I want to extend Flips to be able to model Quadratic Programs. I would like also to be able to differentiate between LP Models, MIP models, and Quadratic Models. Right now, both LP and MIP models become just a Model type, and only the solver you choose cares about the types of decision variables: Continuous vs. Binary vs. Integer. This can cause confusion on the output for the user because some solvers will take an Integer or Binary decision variable and just treat it as continuous. Google's GLOP solver is an example. This has caused problems with debugging solver output.
I would like the API to cleanly "promote" models from LP or Binary to a MIP and for the Solvers to output an LP Result, Binary Result, or MIP Result. This then provides extra guard rails for non-Mathematical Programming Experts to use the API correctly.
Adding Quadratic Expressions to the solver would open Flips up to being used in more scenarios, and I would like that. It does make the name a bit of a misnomer because Flips stand for F# LInear Programming System. The truth is that the Flips name has always been a misnomer since it supported MIPS models from the beginning.
Perhaps I'm overcomplicating it, though. I could just raise a warning when you are using an LP solver with a non-LP Model.
My dream is for Flips to be an easy-to-use library for mathematical modeling of optimization problems. I do think Quadratic Programming would be a worthwhile addition.

I would love to help out refactoring any way I can!  I hope you also think about using the refactoring process as a set of videos with the Fast F# YouTube channel!  Please let me and others know where we can contribute!


Update Maven Java stack

What does this PR do?:
Summarize the changes. Are any stacks or samples added or updated?

update schema to 2.2.2;
use https protocol for the java-maven devfile

Which issue(s) this PR fixes:
Link to github issue(s)
https://github.com/eclipse-che/che/issues/22869
PR acceptance criteria:

[ ] Contributing guide
Have you read the devfile registry contributing guide and followed its instructions?
[ ] Test automation
Does this repository's tests pass with your changes?
[ ] Documentation
Does any documentation need to be updated with your changes?
[ ] Check Tools Provider
Have you tested the changes with existing tools, i.e. Odo, Che, Console? (See devfile registry contributing guide on how to test changes)

How to test changes / Special notes to the reviewer:
https://workspaces.openshift.com/#https://raw.githubusercontent.com/azatsarynnyy/registry/java-maven-update/stacks/java-maven/1.3.1/devfile.yaml

also, I opened https://github.com/odo-devfiles/springboot-ex/pull/5

/ok-to-test

@thepetk can we merge ?

@thepetk can we merge ?

@ibuziuk I've pinged the owner directly. Once is approved by the stack owner I'll merge it :)


udemy catches our downloads

udemy captures your downloads and fines the account, how can we protect from this situation?

What's this fine about? Do they charge on your saved payment methods?
Also duplicate of #554


Add first? and last? query methods that use existing implementation

Closes #152
I used the existing first? and last? methods and rescued RecordNotFoundError to avoid duplication.

Lookin good!


Add drag and drop support for concepts and schemes

We should implement a plugin that makes it easy to add drag and drop of concepts and schemes between components. Several components in jskos-vue could add this, either as a source for dragging (ItemName, rows in ItemList), or as a drop target (ItemDetails).
The plugin implementation can be adjusted to Vue 3 from Cocoda's drag and drop mixin.

[x] Implement drag and drop plugin
[ ] Add documentation and examples
[ ] Add unit tests?
[ ] Add dragging to ItemName
[ ] Add dragging to rows in ItemList
[ ] Add dropping in ItemDetails

In Cocoda, in addition to saving the dragged concept object, we added the URI as text data to the drag event:
event.dataTransfer.setData("text", concept.uri)

However, I'm not sure why this was needed, so I didn't add it for the implementation here. Posting this comment in case there's a bug when using this in production because this might be related.


[testing] flaky test

The dynamic import test is flaky, it sometimes fails in the CI because the dynamic import takes longer than the configured timeout. We could either increase the timeout, but we already set it to 20sec.
Alternatively we can change the test, we don't really need to test if the dynamic import resolves but just that it didn't throw a syntax error. We could check if it returns a promise, and leave it at that.

This is the problematic test https://github.com/open-wc/open-wc/blob/master/packages/testing/test/module-features.test.js#L10

yeah we really should fix it... just had it 2 times that it was green in the PR but then on master it failed... so way tooo flaky 😭

fixed it for now like this
https://github.com/open-wc/open-wc/pull/1007
if you wanna revisit please reopen 🤗
maybe we wanna reduce the timeout again?

apparently even testing for a promise is flaky 😭

The element snapshot test is also flaky on IE11 :(
They work fine locally on IE11, and when I run only IE11 in browserstack. It's really a problem of concurrency. Perhaps it's even a bug in es-dev-server with concurrent requests?

This was fixed


Fix incorrect error when variable is assigned in a destructuring pattern

…ng pattern
The linter fails to recognize an assignment to a variable and complains that the variable is not marked readonly.
For example:
...
private background = new Color(0, 1, 255);
private foreground = new Color(0, 0, 255);
[this.background, this.foreground] =
this.calibrator.step(n === this.currentNumber);
...
PR checklist

[ ] Addresses an existing issue: fixes #0000
[x] New feature, bugfix, or enhancement

[ ] Includes tests

[ ] Documentation update

Overview of change:
Is there anything you'd like reviewers to focus on?

CHANGELOG.md entry:

Thanks for your interest in palantir/tslint, @rishipal! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

Hi @rishipal, just a heads up, this repository is no longer accepting bug fixes or feature requests that are not urgent security fixes: #4534. You'll likely want to look at typescript-eslint.io.


List of changes is empty, no errors in the log file.  IntelliJ 2016.1.3

I am noticing that on occasion the list of changes in the gerrit plugin is empty.  I have found that the only way to once again show the list of changes is to quit and restart IntelliJ.  I tried looking for errors in the IntelliJ log file but did not find any.  I am not 100% sure, but it may be related to re-starting of the gerrit server.  Is it possible that the plugin gets confused and cannot establish a new session if the old session has disappeared?

@gkrasnow: Yes, it is very possible that this is because of Gerrit server restarts. Once the server restarts, the server does not recognize the session anymore and it is handled as anonymous user. In your setup, most probably anonymous users are not allowed to view changes.
Please try this when this situation occurs again: type owner:self into the filter field and press enter. Then post the error message you get.

Seems that adding the owner:self may forced it to try to establish a new session.  Thanks!

Probably related to #203 and #178.

I have the same problem since updating IntelliJ.
When I change the filter I'm getting the following error message: Request not successful. Message: Forbidden. Status-Code: 403. Content: Must be signed-in to use owner:self.
The test connections from the setting is working well.

@tgrip: Can you also reproduce this issue after restarting IntelliJ?

Yeah, same problem after restarting IntelliJ

@tgrip: Please check the plugin settings if your credentials are still available. It looks like to plugin tries to request data without your credentials. If they are still entered, please try to remove and re-enter them.

Removing and adding again the credentials didn't help. The Gerrit plugin still works with 2016.1.2 version.
When I removed my credentials and put them again, an IntelliJ error was sent, which said something about credentials sending. Unfortunately I can not find the bug report again.
We have Gerrit version v2.9.3

Is there any update on this?

@tgrip: Unfortunately not...
How do you login when you use Gerrit in your browser? HTTP auth? Or some single sign on solution?

i'm connecting with HTTP auth. When I use the test button in the settings, it works

It is working now. The problem was with the password saving in IntelliJ. It probably didn't send then the password right to Gerrit or something along these lines