Use correct directories for commands

wasmd add-genesis-account command was accessing the wrong folder for the key
Also added some tests from cosmos-sdk simapp

Closing this in favour of https://github.com/CosmWasm/wasmd/issues/308


track whether a user is in a specified game

it must be possible, as the ubi club has the green dots on people's names.

looks like the user needs to be friends with the account issued the token which is highly unlikely - skipping


OpenHPC repos

Is your feature request related to a problem? Please describe.
Use OpenHPC RPM repositories to provide HPC libraries and tools
Describe the solution you'd like
Enable the OpenHPC RPM repos in /etc/yum.repos.d/
Describe alternatives you've considered
We could rebuild the packages, but seems like duplicating work
Additional context
N/A

I'll take this one. I think we can integrate openHPC as a separate playbook.
Let's provide some documentation mentioning that it currently provides good MPI performance for OFED/Infiniband, but does not yet have UCX-based support for RoCE on Mellanox. This will be fixed with openHPC 2.0 (https://github.com/openhpc/ohpc/pull/1203).

OHPC 2.0 repos are now available on OBS (http://obs.openhpc.community:82/OpenHPC:/2.0:).
It appears that all RPMs are built for CentOS8. @j0hnL should we consider a base OS version bump?

The .repo file is at http://obs.openhpc.community:82/OpenHPC:/2.0:/Factory/CentOS_8/OpenHPC:2.0:Factory.repo
[OpenHPC_2.0_Factory]
name=Rolling development build (CentOS_8)
type=rpm-md
baseurl=http://obs.openhpc.community:82/OpenHPC:/2.0:/Factory/CentOS_8/
gpgcheck=1
gpgkey=http://obs.openhpc.community:82/OpenHPC:/2.0:/Factory/CentOS_8/repodata/repomd.xml.key
enabled=1

OpenHPC 2.0 is now officially released. The repo is available at: http://repos.openhpc.community/OpenHPC/2/CentOS_8/

Completely agree @j0hnL. It also appears that we can take Slurm directly from epel-release: https://centos.pkgs.org/8/epel-x86_64/slurm-20.11.5-1.el8.x86_64.rpm.html
Since this is the case. I would suggest we use the epel-release version of Slurm, and then use Singularity (#300) to deploy NGC, oneContainer, OpenHPC containers for user applications.

@j0hnL I'm closing this ticket. Since we are deploying the OpenHPC application environment via container, I think we can consider this task complete.


Higher order tests without description don't have the pest icon

One thing we need to figure out is how to generate the name of the test, when it's without description.
@nunomaduro What is the current approach for this so we can mimic it?

@olivernybroe You need the test name so you can filter it?

@nunomaduro Exactly, so if you only wanna run that test, I need the name for it.

@olivernybroe I think we may want to hold this for now. Having autocomplete on $this is like super crucial at the moment.

On hold https://github.com/pestphp/pest/issues/126

Closing here as the blocking pest issue was closed


Plot generated by read_by_callback.py is unusable. Is there another way to automate plot creation?

I generated a plot from read_by_callback.py for a duration of 1s and it is not readable

My goal is after using trigger.py to collect data, generate a plot for a 90s or longer capture and output an image like the main Joulescope GUI.

I think the easiest way is to have trigger.py capture to a JLS file and then open the JLS file in the Joulescope application. Is there a way to automate that?

That read_by_callback.py figure generated by Matplotlib simply displays the waveform, no nice min/mean/max lines per pixel.
If you just want to display the captured JLS file with the Joulescope UI, you can launch the Joulescope UI with the JLS path as the sole argument.  It looks like you are on Mac, so something like:
/Applications/joulescope.app/Contents/MacOS/joulescope_launcher /path/to/your/20210715_191227.jls

The Joulescope UI does not currently support automatically generating the PNG.  You will still need to export the PNG manually.
Does this get you what you want?

Opening Joulescope.exe with command-line arguments gets me very close to what I want.
Now I just wish there was a way to maximize the window. I tried changing the Joulescope preferences but could not find a way to maximize the window. But I did set it to open on the "Oscilloscope" profile.
This Ruby script is what I did to take the screenshot:
      logger.debug "Taking Joulescope screenshot"
      # Open Joulescope window
      pid = spawn("\"C:\\Program Files (x86)\\Joulescope\\joulescope.exe\" ./#{jls_file_name}")
      Process.detach(pid)
      sleep(5) # Wait for the window to open
      # Use screen capture program
      stdout, stderr, status = Open3.capture3("screenCapture.bat #{image_file_name} Joulescope:")
      output = stdout + stderr
      logger.debug output

      jls_URL = aws_s3_upload_file(jls_file_name)
      img_URL = aws_s3_upload_file(image_file_name)

      `taskkill /f /im joulescope.exe`

screenCapture.bat: https://github.com/npocmaka/batch.scripts/blob/master/hybrids/.net/c/screenCapture.bat
I tried changing this batch script to maximize the window before screenshot. But I was not successful. Will try again later.

Instead of spawn, perhaps you can somehow call start?  This seems to start Joulescope maximized:
cd "c:\Program Files (x86)\Joulescope"
start /WAIT /MAX joulescope.exe

I also came across this method that uses the "user32.dll" with ctypes in python.  Is something like this possible with ruby?

Yet another option is to modify the Joulescope UI to support a "--window_state maximized" argument that calls Qt's setWindowState(QtCore.Qt.WindowMaximized).  Turns out, this was really easy, and I already pushed the change to the develop branch.


Fixed the font pixel scaling

Found answer here
Fixes #223

PC is up and running again, so finally able to try this out for myself 😄
This has fixed a load of pixel fonts that were previously too blurry for me to use:

This is absolutely essential for the kind of games I want to make with Tetra, and it's been driving me crazy for literally years! Cannot thank you enough for figuring this one out ❤

PC is up and running again, so finally able to try this out for myself 😄
This has fixed a load of pixel fonts that were previously too blurry for me to use:

This is absolutely essential for the kind of games I want to make with Tetra, and it's been driving me crazy for literally years! Cannot thank you enough for figuring this one out ❤

Good to hear PC is up and running again! Those fonts look pretty crisp to my eyes  😄

Good to hear PC is up and running again! Those fonts look pretty crisp to my eyes  😄

I have rebased this onto the 0.6 branch and merged it :+1: It's turning into a fairly big release and I might want to do an alpha version, so wanted to make sure this was included.
Thank you for the PR 😄

I have rebased this onto the 0.6 branch and merged it :+1: It's turning into a fairly big release and I might want to do an alpha version, so wanted to make sure this was included.
Thank you for the PR 😄


close whole page when close non editing panel using c-w

OS/Web Information

Web Browser: chrome
Local OS: mac/windows
Remote OS:  Debian 5.10.24-1~bpo10+1 (2021-03-29) aarch64
Remote Architecture: aarch64
code-server --version:3.10.2 387b12ef4ca404ffd39d84834e1f0776e9e3c005

Steps to Reproduce
1.open md file
2.press preview button
3.focus on preview panel and click c-w shortcut
Expected
close preview panel
Actual
close whole page

This is because the global shortcut for closing pages in Chrome is c/cmd-w. We can't override this, but you can avoid this from happening by using the PWA.
Video
https://user-images.githubusercontent.com/3806031/123687145-6ec87880-d805-11eb-903d-9336a1b93349.mov

This is because the global shortcut for closing pages in Chrome is c/cmd-w. We can't override this, but you can avoid this from happening by using the PWA.
Video
Screen.Recording.2021-06-28.at.11.38.34.AM.mov

still close PWA while focusing on none editing preview panel

still close PWA while focusing on none editing preview panel

Hmm...you may need to change the binding manually then. Here I recorded a video showing you how to change the shortcuts and check what is set.
https://www.loom.com/share/7f043c1101b2494a80427412d7981522


Support macro caller blocks

Context
GDS components support passing HTML content inline or via a variable with separate set block. Often the structure of this content means that passing HTML content inline is messy or impossible. This results in many set blocks that are disconnected from their components, which is difficult to read.
A solution to this would be to support the caller() block within GDS macros. From Nunjucks documentation: A call block enables you to call a macro with all the text inside the tag. This is helpful if you want to pass a lot of content into a macro. The content is available inside the macro as caller().
{% macro add(x, y) %}
{{ caller() }}: {{ x + y }}
{% endmacro%}

{% call add(1, 2) -%}
The result is
{%- endcall %}

Since you can only have one caller block per component, this would only be appropriate for the canonical component body (where that makes sense per component) eg the content of govukWarningText.
I would expect that the GDS components implementation of this would use caller() as a fallback on top of the existing text and html options.
Alternatives
No alternative required, the library works fine as-is. This is just a nice-to-have.

Hi @axle-h 👋 I believe supporting call in more govuk-frontend components is already covered in an existing issue in this repository here: https://github.com/alphagov/govuk-frontend/issues/941 . Are you happy for me to close your issue as it duplicates #941 ?

ah apologies, I had searched for 'caller' but had no hits, yes please close this.

No problem @axle-h , it's still useful for our team as it means we know multiple people would find this feature helpful!


Add target element origin argument to snapPosition function

This will allow one of the following values to specify the origin of element positioning relative to the target element:
top-left
top-center
top-right
middle-left
middle-center
middle-right
bottom-left
bottom-center
bottom-right

Completed.


Direct Line GET messages retrieves only some of the messages returned by bot

I'm using the Direct Line API with an Azure hosted NodeJS bot using framework version 3.1.

There shouldn't be such a delay - in testing in the local emulator the messages arrive all together.
Does the API stagger the messages for some reasons? Can this be prevented? I am on mobile and can't 'poll' the API to get the messages - It already seems quite slow since already I have to make three calls to start off the first conversation!
{
  "messages": [
    {
      "id": "A58BmFW4bMg|000000000000000001",
      "conversationId": "A58BmFW4bMg",
      "created": "2016-08-12T08:33:52.6926914Z",
      "from": "someusername",
      "text": "how do I remove ink stain?",
      "images": [],
      "attachments": [],
      "eTag": "W/\"datetime'2016-08-12T08%3A33%3A53.5650638Z'\""
    },
    {
      "id": "A58BmFW4bMg|000000000000000002",
      "conversationId": "A58BmFW4bMg",
      "created": "2016-08-12T08:33:56.1513341Z",
      "from": "mybot",
      "text": "Ooops! Is the ink permanent marker or water based ink? (1. permanent or 2. waterbased)",
      "images": [],
      "attachments": [],
      "eTag": "W/\"datetime'2016-08-12T08%3A33%3A56.6163328Z'\""
    },
    {
      "id": "A58BmFW4bMg|000000000000000003",
      "conversationId": "A58BmFW4bMg",
      "created": "2016-08-12T08:34:13.7416316Z",
      "from": "someusername",
      "text": "permanent",
      "images": [],
      "attachments": [],
      "eTag": "W/\"datetime'2016-08-12T08%3A34%3A14.2552827Z'\""
    },
    {
      "id": "A58BmFW4bMg|000000000000000004",
      "conversationId": "A58BmFW4bMg",
      "created": "2016-08-12T08:34:16.3208277Z",
      "from": "mybot",
      "text": "First, before it dries, quickly blot as much off as possible without smearing ...",
      "images": [],
      "attachments": [],
      "eTag": "W/\"datetime'2016-08-12T08%3A34%3A16.986161Z'\""
    },
    {
      "id": "A58BmFW4bMg|000000000000000005",
      "conversationId": "A58BmFW4bMg",
      "created": "2016-08-12T08:34:17.1337688Z",
      "from": "mybot",
      "text": "Do you have rubbing alcohol, aerosol hairspray or antibacterial handwash? (1. yes or 2. no)",
      "images": [],
      "attachments": [],
      "eTag": "W/\"datetime'2016-08-12T08%3A34%3A17.3606828Z'\""
    },
    {
      "id": "A58BmFW4bMg|000000000000000006",
      "conversationId": "A58BmFW4bMg",
      "created": "2016-08-12T08:34:40.6945506Z",
      "from": "someusername",
      "text": "yes",
      "images": [],
      "attachments": [],
      "eTag": "W/\"datetime'2016-08-12T08%3A34%3A41.3308944Z'\""
    },
    {
      "id": "A58BmFW4bMg|000000000000000007",
      "conversationId": "A58BmFW4bMg",
      "created": "2016-08-12T08:34:43.4968844Z",
      "from": "mybot",
      "text": "Great! Put it on the stain ASAP to break it down ...",
      "images": [],
      "attachments": [],
      "eTag": "W/\"datetime'2016-08-12T08%3A34%3A44.0325173Z'\""
    },
    {
      "id": "A58BmFW4bMg|000000000000000008",
      "conversationId": "A58BmFW4bMg",
      "created": "2016-08-12T08:34:44.2312482Z",
      "from": "mybot",
      "text": ".. you might want to wear gloves and be careful of the fumes ...",
      "images": [],
      "attachments": [],
      "eTag": "W/\"datetime'2016-08-12T08%3A34%3A44.9023173Z'\""
    }
  ],
  "watermark": "8"
}

{
  "messages": [
    {
      "id": "A58BmFW4bMg|000000000000000001",
      "conversationId": "A58BmFW4bMg",
      "created": "2016-08-12T08:33:52.6926914Z",
      "from": "someusername",
      "text": "how do I remove ink stain?",
      "images": [],
      "attachments": [],
      "eTag": "W/\"datetime'2016-08-12T08%3A33%3A53.5650638Z'\""
    },
    {
      "id": "A58BmFW4bMg|000000000000000002",
      "conversationId": "A58BmFW4bMg",
      "created": "2016-08-12T08:33:56.1513341Z",
      "from": "mybot",
      "text": "Ooops! Is the ink permanent marker or water based ink? (1. permanent or 2. waterbased)",
      "images": [],
      "attachments": [],
      "eTag": "W/\"datetime'2016-08-12T08%3A33%3A56.6163328Z'\""
    },
    {
      "id": "A58BmFW4bMg|000000000000000003",
      "conversationId": "A58BmFW4bMg",
      "created": "2016-08-12T08:34:13.7416316Z",
      "from": "someusername",
      "text": "permanent",
      "images": [],
      "attachments": [],
      "eTag": "W/\"datetime'2016-08-12T08%3A34%3A14.2552827Z'\""
    },
    {
      "id": "A58BmFW4bMg|000000000000000004",
      "conversationId": "A58BmFW4bMg",
      "created": "2016-08-12T08:34:16.3208277Z",
      "from": "mybot",
      "text": "First, before it dries, quickly blot as much off as possible without smearing ...",
      "images": [],
      "attachments": [],
      "eTag": "W/\"datetime'2016-08-12T08%3A34%3A16.986161Z'\""
    },
    {
      "id": "A58BmFW4bMg|000000000000000005",
      "conversationId": "A58BmFW4bMg",
      "created": "2016-08-12T08:34:17.1337688Z",
      "from": "mybot",
      "text": "Do you have rubbing alcohol, aerosol hairspray or antibacterial handwash? (1. yes or 2. no)",
      "images": [],
      "attachments": [],
      "eTag": "W/\"datetime'2016-08-12T08%3A34%3A17.3606828Z'\""
    },
    {
      "id": "A58BmFW4bMg|000000000000000006",
      "conversationId": "A58BmFW4bMg",
      "created": "2016-08-12T08:34:40.6945506Z",
      "from": "someusername",
      "text": "yes",
      "images": [],
      "attachments": [],
      "eTag": "W/\"datetime'2016-08-12T08%3A34%3A41.3308944Z'\""
    },
    {
      "id": "A58BmFW4bMg|000000000000000007",
      "conversationId": "A58BmFW4bMg",
      "created": "2016-08-12T08:34:43.4968844Z",
      "from": "mybot",
      "text": "Great! Put it on the stain ASAP to break it down ...",
      "images": [],
      "attachments": [],
      "eTag": "W/\"datetime'2016-08-12T08%3A34%3A44.0325173Z'\""
    },
    {
      "id": "A58BmFW4bMg|000000000000000008",
      "conversationId": "A58BmFW4bMg",
      "created": "2016-08-12T08:34:44.2312482Z",
      "from": "mybot",
      "text": ".. you might want to wear gloves and be careful of the fumes ...",
      "images": [],
      "attachments": [],
      "eTag": "W/\"datetime'2016-08-12T08%3A34%3A44.9023173Z'\""
    },
    {
      "id": "A58BmFW4bMg|000000000000000009",
      "conversationId": "A58BmFW4bMg",
      "created": "2016-08-12T08:34:44.8998004Z",
      "from": "mybot",
      "text": ".. finally wash separately at normal temperature and only dry once you are sure the stain has gone",
      "images": [],
      "attachments": [],
      "eTag": "W/\"datetime'2016-08-12T08%3A34%3A45.510631Z'\""
    }
  ],
  "watermark": "9"
}

The Node.js SDK does have a batching behavior, @Stevenic can you shed some light on this?

This sounds like something with DirectLine. Dan???

I'd like to bump this since at the moment the DirectLine API is a little cumbersome.
As a workaround we have had to do the following ...

Deliver multiple bot messages as an escaped JSON string in a single message
Since we only ever get one (and only one) response, we can poll on the client side and stop when we get that one response

This means though that in all other channels, e.g. Skype, the bot response dumps a load of JSON into the chat window. It also means we have to manually remove artefacts added by the BotConnector framework which make messages invalid JSON e.g. confirmation adds '(1. yes or 2. no)' to the end of responses.

Hi @brendanarnold, performance should be better than when you used it prior. Messages are sequenced to make them more reliable for clients, and this can introduce delays -- you can see more information here: https://github.com/Microsoft/BotBuilder/issues/915
The channel does downrender cards into text (hence the "(1. yes or 2. no)" but you can add any structural data you want into the ChannelData field, which is passed untouched between client and bot.
Your use case -- receiving only one message and stopping -- is valid but unique. Even with a push channel (e.g. websocket) I'm not sure how you'd code this without introducing a message to indicate the end of the conversation.

I think all of these will be handled by the next version of Direct Line, including the ability to trigger the end of a conversation. We don't have a date for that yet, but it's in the works.


#[IntoResponses] does not impl Responder

Hello,
I am trying to leverage actix_extras to implement a ResponseBuilder that returns a response type that derives IntoResponses.
Here is how I generate the response types:
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, utoipa::IntoResponses)]
#[serde(untagged)]
pub enum #response_ident {
    #[response(
        status = 200,
        content_type = "application/vnd.api+json",
        description = "Success response.",
    )]
    Success(#[to_schema] #success_response_ident),
    #[response(
        status = "4XX",
        content_type = "application/vnd.api+json",
        description = "Client error response.",
        example = json!({
            "errors": [{
                "status": "404",
                "title": "Not found",
                "detail": "The requested resource cannot be found."
            }]
        })
    )]
    ClientError(#[to_schema] jsonapi::types::ErrorResponse),
    #[response(
        status = "5XX",
        content_type = "application/vnd.api+json",
        description = "Server error response.",
        example = json!({
            "errors": [{
                "status": "500",
                "title": "Internal server error",
                "detail": "The server has encountered a situation it does not know how to handle."
            }]
        })
    )]
    ServerError(#[to_schema] jsonapi::types::ErrorResponse),
}

And then the ResponseBuilder return such response type. Example:
#[utoipa::path(
    tag = "BufferView",
    responses(BufferViewResourceResponse),
    params(BufferViewResourceQueryParameters)
)]
#[get("/bufferviews/")]
async fn list(
    db: web::Data<Surreal<Client>>,
    query: web::Query<BufferViewResourceQueryParameters>,
) -> impl Responder {
    let resolver = Resolver {
        database: db.clone().into_inner(),
    };

        ResponseBuilder::new(Box::new(move || {
            let db = db.clone();

            Box::pin(async move {
                db.select(BufferViewResourceObject::TYPE_NAME)
                    .await
                    .and_then(|docs| {
                        Ok(docs
                            .into_iter()
                            .map(Document::<BufferView>::into_inner)
                            .map(BufferViewResourceObject::from)
                            .collect())
                    })
            })
        }))
        .includes(query.get_includes())
        .sparse_fieldset(query.get_fields())
        .relationship_resolver::<BufferResourceObject>(resolver)
        .build()
        .await
}

Again, ResponseBuilder::build() returns a response type that does #[derive(IntoResponses)], and yet the code above does not work because the response type does not implement Responder.
So basically everything defined in my response type, such as the status code, the mime type, etc... is useless: I have to rewrite it in every endpoint:
let res = ResponseBuilder::new(...).build().await;

match res {
  BufferResourceResponse::Success(res) => HttpResponse::Ok().json(res), // handle the mime type...
  BufferResourceResponse::ClientError(res) => HttpResponse::BadRequest().json(res), // handle the mime type...
  BufferResourceResponse::ServerError(res) => HttpResponse::InternalServerError().json(res), // handle the mime type...
}

So #[derive(IntoResponses)] does not much use at all...
What am I missing?

Using cargo expand I found that the code generated by #[derive(IntoResponses)] is along the lines of:
impl utoipa::IntoResponses for MeshResourceResponse {
        fn responses() -> std::collections::BTreeMap<
            String,
            utoipa::openapi::RefOr<utoipa::openapi::response::Response>,
        > {
            utoipa::openapi::response::ResponsesBuilder::new()
            // ...

Which makes sense since it matches with the IntoResponses trait.
But then the documentation has the following example:
#[derive(utoipa::ToSchema)]
struct BadRequest {
    message: String,
}

#[derive(utoipa::IntoResponses)]
enum UserResponses {
    /// Success response
    #[response(status = 200)]
    Success { value: String },

    #[response(status = 404)]
    NotFound,

    #[response(status = 400)]
    BadRequest(BadRequest),
}

#[utoipa::path(
    get,
    path = "/api/user",
    responses(
        UserResponses
    )
)]
fn get_user() -> UserResponses {
   UserResponses::NotFound
}

In this case, a variant of the response type is returned. And I assume it is supposed to work like this.

As a workaround, implementing ::actix_web::Responder for my generated response types does the job:
            impl ::actix_web::Responder for #response_ident {
                type Body = ::actix_web::body::BoxBody;

                fn respond_to(self, _req: &::actix_web::HttpRequest) -> ::actix_web::HttpResponse<Self::Body> {
                    match self {
                        #response_ident::Success(res) => {
                            ::actix_web::HttpResponse::Ok()
                                .content_type("application/vnd.api+json")
                                .json(res)
                        },
                        #response_ident::ClientError(res) => {
                            ::actix_web::HttpResponse::BadRequest()
                                .content_type("application/vnd.api+json")
                                .json(res)
                        },
                        #response_ident::ServerError(res) => {
                            ::actix_web::HttpResponse::InternalServerError()
                                .content_type("application/vnd.api+json")
                                .json(res)
                        },
                    }
                }
            }


Correct abstraction layer for USB access

I'm working on adding USB support to stm32g0[bc]1, and I've encountered a bit of a decision point.
Because these chips support USB Host mode, a lot of the functions have different names. For example, EPR is CHEPR, FSUSP is SUSPEN, etc.
My question is: should I try to modify embassy_stm32::usb::usb to accommodate these renames, in the form of a macro a la  the stm32xx_hal crates? Or would it be better to just rename the fields in my usb_v4.yaml?

here's the rough mapping

register
existing name
g0 name

EPRn
CHEPRn

CHEPRn
CTR_RX
VTRX

EP_MEM
not real (?)

USB_CNTR
FRES
USBRST

USB_BTABLE
(always zero)

USB_CNTR
FSUSP
SUSPEN

USB_CNTR
LP_MODE
part of SUSPEN

USB_ISTR
RESET
RST_DCON

Or would it be better to just rename the fields in my usb_v4.yaml?

This.
The goal of stm32-data / stm32-metapac is to allow easily writing a HAL that supports all stm32 families. If ST itself is inconsistent with the naming, we "fix" it for them :)
Otherwise the HAL would get full of cfgs to accomodate all the inconsistencies, which quickly becomes unmaintainable.

Closing since G0 usb is already done.

oh excellent, glad to hear it's been done! Is there a PR I could look at?

only thing I can find is yours https://github.com/embassy-rs/stm32-data/pull/161
but it seems everything's already building fine in the embassy-stm32 side, usb is there on G0 chips. So I guess it should be working already?

Hi,
Anyone verified that is it working?
I'm trying to use STM32G0B1KET6 chip on my custom board.
for the quick test, I tried to run modified USB-Serial Example like below gist.
https://gist.github.com/daehyeok/8aad353e9e2d7fa1d73b83b07448b6aa
build and flash success without any issue. but any usb device is not appeared on my M2 mac. (I checked "DFU in FS mode" is on System infomration before flash firmware.  so i think hardware is okay).

As far as I know, there's no support for STM32G0B1s in Embassy, and it'll require a nearly from-scratch driver. It's on my personal list, but obviously it's a huge undertaking and I don't have any estimates.

@Dirbaio Thanks for reply.
According to application note AN5096, USB use HSI48, but i couldn't find any related config on rcc/g0.rs. is it missing parts?

update
I turn on HSI48 directly through pac
pac::RCC.cr().modify(|w| w.set_hsi48on(true));
pac::RCC.ccipr2().modify(|w| w.set_usbsel(pac::rcc::vals::Usbsel::HSI48));

Then usb_serial and HID working well!

Do you happen to have a gist or an example repo? I haven't been able to get
mine working
On Mon, Jul 17, 2023, 22:07 Daehyeok Mun @.***> wrote:

update
I turn on HSI48 directly through pac
pac::RCC.cr().modify(|w| w.set_hsi48on(true));
pac::RCC.ccipr2().modify(|w| w.set_usbsel(pac::rcc::vals::Usbsel::HSI48));
Then usb_serial and HID working well!
—
Reply to this email directly, view it on GitHub
https://github.com/embassy-rs/embassy/issues/1107#issuecomment-1639481781,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD724GHNBUEM4GV7FCYFTDXQYK23ANCNFSM6AAAAAAS2SIQYA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Here is my keyboard firmware repo with STM32G0B1KET6
https://github.com/daehyeok/corne-eec-rs


Resume refreshing after FC

From email:
I still offering feature "RESUME"
The idea for Manage -> Refresh All.
After every succsessfull cache downloading put its number (just number in cgeo, not the name)
into some file at the disk.
If in time of download cgeo is crashes, user could start cgeo againg, then choose Manage -> Resume Refresh All
to start downloading not from the 1-st cache, but from last downloaded. As I see it will be a solution for this
issue. Every can download GPX file, and Refresh it again and again :)
This is something between bug, refactoring and future request. What do you think?

That c:geo should not crash when refreshing caches in the first place. This never happened to me. Maybe the user got confused because the progress dialog disappears if the screen goes off but caches continue to get refreshed anyway.

Made a PQ with 1000 caches.
Import it, and then on list select "refresh all"
People do that to get spoiler images, static maps, ....
After 50-150 caches c:geo will crash with OOM in native space (Image handling)

I'm with Samuel. Creating such a workaround for the "refresh" use case absolutely doesn't help for any other use case. Just imagine that the application did not crash after refreshing many caches. It will still consume much memory and crash at some other feature if you use it further. That's why I also prefer to fix the real issues behind. And those can be found using a memory profiler.

This "images memory probles" is here since Carnero's times.

@rsudev, I'm completely with you. I've thought exactly the same yesterday when I read the comment of @mucek4. A normal user should be able to plan a caching trip in such a way that he doesn't need more than 100 "up to date" caches. And all other caches should be left as they are.
Therefore I also suggest to have hard limit of 100 caches/day to be downloaded (and probably a warning already at 60 to make the user aware). I know that this can be circumventend in open source and I know that some people will complain, but sometimes you really need to actively prohibit users mis-using your software.

I would not like a per day limit as well. A throttling as I had it in mind could be implemented perhaps much easier in our situation as with the described 'token buckets' as we know the amount the user is requesting in one go up front and therefore could communicate the rate limit we will employ clearly as well. And I would agree with downloading up to 20 or 50 caches without any limitation but doing 15 second sleeps in between later and perhaps even longer pauses after say 200/300 or so...

The problem is that after 40 or 50 (no matter the speed limit) c:geo crashes. If I will have time I'll made special version with delays between refreshed and try to refresh 1000 caches.

@rsudev : token buckets are very simple to use and implement, and I would use them for every detailed cache request. Looking at a cache details before refreshing would count towards the limit.

I (generally) love the bucket idea. But there is one problem.
Let's say now we are going to Hannover. I will use live map and store a lot of traditional caches to c:geo. Cause I get more than GPXes. I get static maps, I get spoiler images, I get GCVote, ...
That would take some time to do it if bucket "thing" would be implemented.

@samueltardieu If you want to let every request count against some limit such a solution is easier to implement and maintain for sure. But I do not think this is necessary, as such requests (look at details either from a search result or live map, interactively switching back and forth) need not to be rate-limited, as they IMHO mirror or just encapsulate the legitimate usage patterns of the gc.com website. If I use c:geo just as a specialized browser we should not limit it. Mass operations are a different thing, and therefore I had these in mind specially. And I would even see a benefit in to reflect this distinction in our implementation.
But please do not get me wrong. I normally take an opposing view in a discussion if I find an opening for that as this tends to further the discussion towards the best solution in terms of the resulting feature, implementation effort and maintainability. And I learn a little bit more from the upcoming counter-arguments as well.

@rsudev: Good to know that. Will present my arguments to you in negated form in the future to get you into the wanted direction... ;)


Ensure consistency with split read/write order

The split method produces a read/write pair, while methods like spsc::channel produce a write/read pair. We should ensure consistency across the stack (and with std).

Io::split() (rd, wr) is also inconsistent with Framed::split() (rw/sink, rd/stream).

Heh, we have competing conventions!
Io::split was modeled after std::io::copy returning (read, write)
Framed::split was modeled after std::sync::mpsc::channel returning (tx, rx)
Alas!


Track navigation2 dashing branch instead of master

Navigation 2 just created their Dashing release. You can find the latest release code on the dashing-devel branch. This branch will track the ROS 2 Dashing release.
We've had a lot of trouble keeping the Turtlebot 3, Navigation 2, and ROS 2 repos all building together. Now that ROS 2 and Navigation 2 have a Dashing release version, Turtlebot 3 can use those releases and, hopefully, we'll have fewer problems keeping everything working together.  :-)
Our dashing release hasn't been pushed to OSRF yet. That will happen next week. The binary release will happen sometime after that.

@crdelsey  Great! Thank you for your contribution :)


Fix Verify Email Code method

Description
Documentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

Current dependencies on/for this PR:

users

PR #209   👈

This comment was auto-generated by Graphite.

Codecov Report

Merging #209 (46c2960) into users (cbc9f99) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
@@           Coverage Diff           @@
##            users     #209   +/-   ##
=======================================
  Coverage   87.72%   87.72%
=======================================
  Files          32       32
  Lines        1157     1157
=======================================
  Hits         1015     1015
  Misses        142      142

Files Changed
Coverage Δ

workos/users.py
95.04% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add conventional commits linter

See https://github.com/marionebl/commitlint.

We probably should use the angular convention. Additionally, check if standard-version needs to know that we are using the angular convention so that the changelog considers all the message types..


ISPN-1472 Caches should be started within test itself

https://issues.jboss.org/browse/ISPN-1472
This is to make sure that failures on startup still result in cache managers being shut down properly.

merged


Increment version for os_info

As per issue #170, some behavior was broken on FreeBSD platforms for identifying the proper package provider. The culprit is the os_info library. Best explanation is some behavior in FreeBSD 13.1 changed behavior that os_info relied for identifying it as FreeBSD. A patch has been accepted by upstream with a new version release.
os_info 3.4.0 should not break any expected behavior in comtrya. The main difference in 3.4.0 is the patch for FreeBSD and added support in identifying Gentoo systems. None of this changes the API that comtrya expects from os_info.

Hey,
I bumped os_info to 3.4.0 in my PR #173. After merging we can close yours. Hope this is okay for you @martintc?
Best
Stefan


Can't delete a user due to a relationship constraint.

An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.
INNER EXCEPTION: A relationship from the 'BadgeTypeTimeLastChecked_User' AssociationSet is in the 'Deleted' state. Given multiplicity constraints, a corresponding 'BadgeTypeTimeLastChecked_User_Source' must also in the 'Deleted' state.

Hi PhonicUK,
Could you please share information 'how to reproduce this issue' ?
Thanks

Create a new user, validate and login
New user visits their own profile page (/profile/USER)
Admin user finds the user via Manage Users and hits delete
Exception shows in log

On the [BadgeTypeTimeLastChecked] table, there is a relationship constraint to the [MembershipUser] table via the [Id] field. The constraint do not cascade deletes and remove the rows from the [BadgeTypeTimeLastChecked] table, hence you issue.
Change the "Delete Rule" on the relationship to "Cascade" and it should resolve your issue.


Invalid module found.

When using lazy loading components with piral-cli-webpack, something went wrong during runtime.
upgrade the latest version and use<EMAIL_ADDRESS>
Lazy loading code:

And the diff.

I'll have a look!

Fixed in piral-cli-webpack 0.5.3. I've updated the webpack branch!


Play/Pause icons no longer displayed in Windows 10 Taskbar

See issue #3201. Just started happenign agian on 4.6.1.

They are definitely there, I can see them on all my windows machines and confirmed with several colleagues on windows they can see the icons.  My guess is you somehow have an old version of GPMDP being launched.


Fails to generate correct template in certain circumstances

For example, when using process_an_example, '[Cl:1][C:2]1=C:9[CH:8]=[CH:7]C:4=[CH:3]1>>[Cl:1][C:2]1=C:9[CH:8]=[CH:7]C:4=[CH:3]1' gives: [CH3;D1;+0:1]-[c:2]>>[CH2;D2;+0:1]-[c:2] which seems to be incorrect.

That input SMILES string is not a valid one. Also, your reaction has the same reactant string as product string, so I don't know what you're trying to do


handling of invalid UTF-16 strings

This PR add tests to demonstrate how to handle invalid UTF-16 strings from the #US heap. It relies on https://github.com/malwarefrank/dnfile-testfiles/pull/3 being merged and the submodule updated.
It also adds a routine to UserStringHeap to access the raw data used to form the string. This enables a user to fallback to the raw data if the string cannot be decoded as expected.

looks good

submodule sync'd. ready to go.

(background research supporting this PR)

#US Array of unicode strings. The name stands for User Strings, and these strings are referenced directly by code instructions (ldstr). This stream starts with a null byte exactly like the #Blob one. Each entry of this stream begins with a 7bit encoded integer which tells us the size of the following string (the size is in bytes, not characters). Moreover, there's an additional byte at the end of the string (so that every string size is odd and not even). This last byte tells the framework if any of the characters in the string has its high byte set or if the low byte is any of these particular values: 0x01–0x08, 0x0E–0x1F, 0x27, 0x2D.

https://ntcore.com/files/dotnetformat.htm

https://www.ecma-international.org/wp-content/uploads/ECMA-335_6th_edition_june_2012.pdf
in this sample, the final byte is set to 0x01, "signif[ying] Unicode characters that require handling beyond that normally provided for 8-bit encoding sets."
looks like dnlib doesn't even try to read that final byte or do any special processing:
https://github.com/0xd4d/dnlib/blob/086cda2c737f34b3085f1d30a970e4adfb421ae3/src/DotNet/MD/USStream.cs#L37
mono also does something naive:
https://github.com/mono/mono/blob/70481876a0d77a385d975a0f7d8f5a7d870cb8c3/mcs/tools/cil-strip/Mono.Cecil.Metadata/UserStringsHeap.cs#L58-L70
Some potentially related details here:
https://github.com/xamarin/xamarin-android/issues/4909

Normally this might not be a problem, but Dotfuscator takes advantage of a technical fact of how the .NET runtime treats user strings (those stored in the assembly's #US blob heap). Specifically, while strings are stored as sequences of UTF-16 code units, the runtime allows any sequence of 16-bit values, not just a sequence that is a well-formed UTF-16 string. For instance, .NET (and the C# compiler) allow strings to have unpaired UTF-16 surrogates. Dotfuscator's knowledge of this fact results in scenarios in protected code similar to the minimal repro: an ill-formed UTF-16 string constant is passed to one method, which returns a well-formed UTF-16 string (only known at runtime) for use in reflection.

and reference here: https://codeblog.jonskeet.uk/2014/11/07/when-is-a-string-not-a-string/
also note example file linked in xamarin issue.


0 files found in sourceFolder wiki folder updater

Azure DevOps Extensions
WIKI Updater
Platform
Azure DevOps Services
Azure DevOps Server (TFS) Version
No response
Extension Version
No response
Describe the bug
I use a PS script which generates md files from bicep files located in a folder in my repository. After this I want to update the devops wiki using the WikiFolderUpdaterTask.  However, the task is unable to find files in the source folder which contains the md files.
The variables in this pipeline are:
variables:
          - name: acr
            value: crazcoresupwes001
          - name: modulesFolder
            value: "$(System.DefaultWorkingDirectory)/CodeRegistry/Modules"
          - name: markdownFolder
            value: "$(System.DefaultWorkingDirectory)/CodeRegistry/Documentation"

My tasks are:
- task: PowerShell@2
  displayName: 'Docs - Generate scripts documentation'
  condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
  inputs:
    filePath: '$(System.DefaultWorkingDirectory)/CodeRegistry/Pipelines/create-md-documentation.ps1'
    arguments: -TemplateFolder $(modulesFolder) -OutputFolder $(markdownFolder) -PAT $(personalAccessToken)
    pwsh: true

- task: richardfennellBM.BM-VSTS-WIKIUpdater-Tasks.WikiFolderUpdaterTask.WikiFolderUpdaterTask@2
  displayName: "Git based WIKI as code Updater"
  inputs:
    repo: 'dev.azure.com/org/repo/_git/wikiname.wiki'
    targetFolder: "Documentation"
    replaceFile: true
    sourceFolder: $(markdownFolder)
    Filter: 'acr.md'
    message: 'Update markdowns in wiki'
    username: 'AzureFoundation'
    password: $(personalAccessToken)

Repo Steps
Run the pipeline which contains the mentioned tasks
Expected Behavior
The task should detect the md files located in the source folder. Then the wiki should be updated with those files.
Logging Information
Logs of the PS task -> notice that D:\a\1\s\CodeRegistry\Documentation indeed contains the generated md files.

Content of the outputfolder: D:\a\1\s\CodeRegistry\Documentation.order D:\a\1\s\CodeRegistry\Documentation\acr.md D:\a\1\s\CodeRegistry\Documentation\keyvault.md D:\a\1\s\CodeRegistry\Documentation\resourceGroup.md D:\a\1\s\CodeRegistry\Documentation\storageAccount.md
The result of the wiki folder updater task:

Have you already figured out a solution by chance? I am also encountering the exact same issue.
Thanks!

I have retested my tasks, both within a pipeline and using the local tester (you need to update the file with suitable parameters and make sure there is test data on the source folder).
In both cases it is working and I see logs in the form

Pull in case of post clone updates from other users
Checking for files using the filter C:/projects/github-rf/AzurePipelines/Extensions/WikiUpdater/WikiFolderUpdaterTask/testdata/**/*.md
Found 4 files
Processing C:/projects/github-rf/AzurePipelines/Extensions/WikiUpdater/WikiFolderUpdaterTask/testdata/1.md
Copying the C:/projects/github-rf/AzurePipelines/Extensions/WikiUpdater/WikiFolderUpdaterTask/testdata/1.md to c:\tmp\test\repo\folders/1.md
Added c:\tmp\test\repo\folders/1.md to repo c:\tmp\test\repo
Processing C:/projects/github-rf/AzurePipelines/Extensions/WikiUpdater/WikiFolderUpdaterTask/testdata/2.md
Copying the C:/projects/github-rf/AzurePipelines/Extensions/WikiUpdater/WikiFolderUpdaterTask/testdata/2.md to c:\tmp\test\repo\folders/2.md
Added c:\tmp\test\repo\folders/2.md to repo c:\tmp\test\repo
Processing C:/projects/github-rf/AzurePipelines/Extensions/WikiUpdater/WikiFolderUpdaterTask/testdata/3.md
Copying the C:/projects/github-rf/AzurePipelines/Extensions/WikiUpdater/WikiFolderUpdaterTask/testdata/3.md to c:\tmp\test\repo\folders/3.md
Added c:\tmp\test\repo\folders/3.md to repo c:\tmp\test\repo
Processing C:/projects/github-rf/AzurePipelines/Extensions/WikiUpdater/WikiFolderUpdaterTask/testdata/folder/1.md
Creating the directory c:\tmp\test\repo\folders\folder
Copying the C:/projects/github-rf/AzurePipelines/Extensions/WikiUpdater/WikiFolderUpdaterTask/testdata/folder/1.md to c:\tmp\test\repo\folders\folder/1.md
Added c:\tmp\test\repo\folders\folder/1.md to repo c:\tmp\test\repo
Committed "c:\tmp\test\repo" with message "A message" as SHA 38ee2a718802be08ad4a2a5d8971a21a36d2dac4
Attempt 1 - Push to dev.azure.com/richardfennell/Git project/_git/Git-project.wiki
Push completed

But I looked a little more closely and see I set my sourcefolder using / whereas you have a mixture of \\ and /.
It turns out this is the issue, the var files = glob.sync(${sourceFolder}/${filter}); call is sensitive to the slash type, and my tests only tested one form.
There is the workaround to make sure you only use /, but I am just deploying an updated version of the task make make sure the slashes are in the correct direction.
Thanks for reporting the issue

Shipped as 2.2.2

It's perfectly working now, thank you so much! :)


Yield once to VM per quantum, another thread prio crate, some timings, use condvar instead of crossbeam; no improvements

Not really sure what to make out of all this. My CPU load goes down by a factor 2 but now my real-time issues are back.
Leaving this here for further consideration, my advices would be:

keep padenot's thread prio crate, it looks solid
keep the condvar, more lightweight than crossbeam and also some code improvements
remove the tick processor and still yield to V8 continuously (old behaviour) - somehow my mac seems to go in deep sleep if the worker thread has nothing to do and may wake up only milliseconds later?

Hey, thanks
I will need to have a closer look (and play a bit with CondVar in a more simple setup I guess :) to understand your changes more clearly.

now my real-time issues are back....

Weird cannot reproduce on my side, I tried to have a quick look to libuv issues and docs but couldn't find any mention of some dynamic priority management of the threads, so the mystery still holds...
In any case, I agree with your recommendations, having no clicks is far more important than having this one per quantum tick! This can clearly wait for clean solution


Filters for mobile view

[x] I have read the Contribution & Best practices Guide.
[x] My branch is up-to-date with the Upstream development branch.

I am just trying to finish off #1793, which fixes #1781.
I will upload a test site in a moment...

A generated demo site is here: https://joeytwiddle.github.io/open-event-webapp/MozillaAllHands2017.mobile-view-filters/
Outstanding issues:

It doesn't work with the dark theme (main dropdown text is white on white)
Some of the CSS (flexbox) may be too modern for old mobile browsers

@joeytwiddle your travis build is passed, please resolve merge conflicts.

Done @agbilotia1998

Thank you!
The dropdown of filters is not visible on Chromium. Please check screenshot below.

I have fixed the issue with the dark theme, and a few other issues.
Test link (same as before): https://joeytwiddle.github.io/open-event-webapp/MozillaAllHands2017.mobile-view-filters/
A new problem I noticed:

The rooms list appears immediately below its parent button. Because it is wide, it was sticking out the right of the page, causing the page to grow wider.

I tried a "good" solution but didn't get that finished. So I went for a simple solution: Just move the filter button to be the left-most of all the buttons. :wink:

What has changed today?

Gave the new dropdown its own classname, so CSS and JS can target it semantically.
That fixed the click bug above.
Margins and padding for filter buttons were redefined separately for each different button. I combined them all under the .filter class.

I followed a couple of houndci's suggestions, but the remaining suggestions are I think unhelpful. (They would break related styling into separate parts of the file, making related rules harder to find.)
Test link: https://joeytwiddle.github.io/open-event-webapp/MozillaAllHands2017.mobile-view-filters/
Screenshots:

Please merge if there are no outstanding issues. Scroll up for screenshots, test page, and info.

Thanks Travis and you @agbilotia1998. So much for last minute tweaks!

Thanks Travis and you @agbilotia1998. So much for last minute tweaks!

@joeytwiddle please resolve the conflicts.

OK, resolved and rebased.

@joeytwiddle I guess 'Clear Filter' button is not functional in mobile view. Please check it once.
Test Env. - Chrome Browser

Hi @agbilotia1998, the only problem I found with the Clear Filters button was that sometimes it didn't appear at all!
That was actually a problem with the filter not being set. If we clicked on one of the room or track list items, but not directly on the text, then the menu would be closed without actually doing anything. I fixed that by moving the classes from the title <span> up to the wide container <a> link.
The new test link is: https://joeytwiddle.github.io/open-event-webapp/MozillaAllHands2017.mobile-view-filters-2/

Screencast:

I have fixed that bug and squashed the commits.
New test URL: https://joeytwiddle.github.io/open-event-webapp/MozillaAllHands2017.mobile-view-filters-5/


Trigger a keyboard event by code

As in the title, how can i do that?
What i've in mind is something similar to JQuery trigger() command http://api.jquery.com/trigger/
thanks for your help

do you mean something like this?
http://stackoverflow.com/questions/17280341/how-do-you-check-for-keyboard-events-with-kivy

Github is for reporting bugs, not for support. See https://kivy.org/#support for how to get support.

@vjgaero not really. What you linked refers to how to bind event. What i meas is now to trigger them by code (JQuery api reference explain very well what it means). In any case, after some researches i found that this can't be done in kivy at the moment.
@matham Perhaps it would be more accurate to view it as a feature request, since (for what I understand) kivy has not yet implemented this mechanism, although in my humble opinion, would be a very useful feature.
Maybe, it could be left open this issue, so when I have a bit of time (and at the time no one else is interested in the development) could try to implement it myself?
thank you

You can already dispatch a keyboard event, that should achieve the same thing.

I think what you mean is that you can "link" a keyboard event to a specific callback right.
Instead what a trigger event do is to call all binded event to that particular event (in this case a keyboard event, like a key press) and all all its callbaks like if are you to press the key (but instead you do it by code).
At least this is what i understand. It is correct?

Instead what a trigger event do is to call all binded event to that particular event (in this case a keyboard event, like a key press) and all all its callbaks like if are you to press physically the key (but instead you do it by code)

This is what an event dispach does in Kivy.

So, i'm in the wrong way. I do not understood how event dispatcher works in Kivy. In any case thanks.

I think what you want is observer pattern. Look into the documentation for Kivy Properties.


[Event Request] codeunit 7307 "Whse.-Activity-Register" OnAfterSetQtyInWhseBase

Hello,
Is it possible to add the following Event:
      LocationGet("Location Code");
        if Location."Directed Put-away and Pick" or
           ("Activity Type" = "Activity Type"::"Invt. Movement")
        then begin
            WhseEntry.SetCurrentKey("Item No.", "Location Code", "Variant Code", "Bin Type Code");
            WhseEntry.SetRange("Item No.", "Item No.");
            WhseEntry.SetRange("Location Code", "Location Code");
            WhseEntry.SetRange("Variant Code", "Variant Code");
            SetTrackingFilterToWhseEntryIfRequired(WhseEntry, WhseItemTrackingSetup);
            WhseEntry.CalcSums("Qty. (Base)");
            QtyInWhseBase := WhseEntry."Qty. (Base)";
            // DINNL <<
            OnAfterSetQtyInWhseBase(WhseEntry, QtyInWhseBase, "Location Code");
            // DINNL >>

            BinTypeFilter := CreatePick.GetBinTypeFilter(0);
            if BinTypeFilter <> '' then
                WhseEntry.SetFilter("Bin Type Code", '<>%1', BinTypeFilter); // Pick from all but Receive area
            WhseEntry.CalcSums("Qty. (Base)");
            QtyOnPickBinsBase := WhseEntry."Qty. (Base)";

[IntegrationEvent(false, false)]
local procedure OnAfterSetQtyInWhseBase(var WarehouseEntry: Record "Warehouse Entry"; var QtyInWhseBase: Decimal; LocationCode: Code[10])
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Make Next Action Bold

In the main screen, the date of the next action (either Next Refill or Next Assessment) for each patient should be bold, whichever comes first. This should help the user identify the next action more quickly.

Implemented with 55fd6b2d1572bf83aacb1348bb3a300513c538d6.


All podcast ads not blocked

🧐 Have you fully read the README and viewed similar issues?

[X] I have read the README
[X] I have read the FAQ
[X] I have checked previous issues, open and closed
[X] I have completed all troubleshooting steps and the issue is not present on stock but returns after re-applying SpotX-Bash

Сountry of your account
Germany
What is your Spotify Plan?
Free
Do you have Spicetify installed?
No
ℹ Computer information
- Spotify version: spotify-1:<IP_ADDRESS>5-2
- OS: Manjaro
- Shell: Bash

📝 Description
After applying, audio ads still play. Here an ad plays at the beginning.
I do have the Spicetify package installed, but I used spicetify restore before applying SpotX. I also performed the reinstallation steps from the troubleshooting page without doing anything Spicetify-related in the meantime.
(I removed a ton of locale warnings (and the ASCII art) from the output, which appear all the time on my system, but never have any effects. I tried to fix them, but did not succeed. It should be unrelated to this problem.)
🖥 Terminal Input/Output
Searching for Spotify directory...
Found Spotify Directory: /opt/spotify
Latest supported version: <IP_ADDRESS>3
Detected Spotify version: <IP_ADDRESS>5
✔ Created backup
✔ Applied free-tier plan patches
✔ Enabled experimental features
✔ Finished
📸 Screenshots
No response

Without full input/output it's hard to be completely sure.. but the link you shared is for a podcast. If all the ads you are receiving are with podcasts then this is expected behavior at this time.
 You'll have to decide if you want to downgrade to <IP_ADDRESS>7 for podcast ad block or use 1.2.31+ and deal with podcasts ads.
Banner ads in client and ads between music should be blocked, so everything seems to be working as expected.

I just replaced the spotify package with spotify-snapstore, which lists its version as <IP_ADDRESS>2.g794acc0a-1, then re-applied SpotX, but still nothing. I do not know how I would get an older version of the spotify package. The downgrade script finds nothing for it.

spotify-snapstore being the snap version of Spotify? If so, snap builds are not supported since they are "read-only containers"... this is covered in the FAQ.
Not sure how you're installing Spotify client but you may want to look into flatpak builds or spotify-launcher and see if older builds are possible there. Or deal with podcasts ads on the latest version and wait for podcast ads to be blocked again for future builds.
But how to downgrade or install Spotify client is outside the scope of the initial issue reported here as well as this repo in general. As previously mentioned, podcast ads are to be expected for now while using Linux client v1.2.31. The initial issue reported is something currently expected so nothing to fix for now.

I did essentially this now:
flatpak install com.spotify.Client
sudo flatpak update --commit=d22ab2f6059cca52bc56754ca1860fb41b0d9c6333975bd8f2eb375fde5a4d84 com.spotify.Client
spotx -P /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/d22ab2f6059cca52bc56754ca1860fb41b0d9c6333975bd8f2eb375fde5a4d84/files/extra/share/spotify
flatpak run com.spotify.Client

Still ads. flatpak info com.spotify.Client confirms the version as <IP_ADDRESS>7.g36b715a1.

Are the ads still only podcast ads? You never specifically answered this question when I asked previously but I'm assuming this is still the case. I can't replicate this behavior on the v1.2.26 Linux client. I have specific podcasts which always play ads and use them for testing -- unpatched and ads play.. patched and ads stop (I'm also confirming with additional logging that the patches are indeed working and it's not just by chance that ads aren't playing during the test run).
If it's still ONLY podcast ads playing then this will still get marked as a "won't fix" for now. But I am curious about what could be happening.

Full input and output from terminal (minus any personal info) would be nice. Cleaning anything beyond that may or may not be removing helpful info. If re-patching Spotify to get terminal output you'd need to run it with the -f flag to force re-patching.

Screenshot showing full client when this happens

output of the following two commands:

ls -la /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/d22ab2f6059cca52bc56754ca1860fb41b0d9c6333975bd8f2eb375fde5a4d84/files/extra/share/spotify/
2. ```
ls -la /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/d22ab2f6059cca52bc56754ca1860fb41b0d9c6333975bd8f2eb375fde5a4d84/files/extra/share/spotify/Apps/

upload Spotify binary located at /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/d22ab2f6059cca52bc56754ca1860fb41b0d9c6333975bd8f2eb375fde5a4d84/files/extra/share/spotify/spotify

Since ads in between music tracks are only intermittent and I normally never use Spotify, I know nothing about those.
[fabian@laptop ~]$ spotx -fP /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/d22ab2f6059cca52bc56754ca1860fb41b0d9c6333975bd8f2eb375fde5a4d84/files/extra/share/spotify
*

████╗███╗  ███╗ █████╗█╗  █╗  ███╗  ██╗ ████╗█╗ █╗
█╔══╝█╔═█╗█╔══█╗╚═█╔═╝╚█╗█╔╝  █╔═█╗█╔═█╗█╔══╝█║ █║
████╗███╔╝█║  █║  █║   ╚█╔╝██╗███╔╝████║████╗████║
╚══█║█╔═╝ █║  █║  █║   █╔█╗╚═╝█╔═█╗█╔═█║╚══█║█╔═█║
████║█║   ╚███╔╝  █║  █╔╝ █╗  ███╔╝█║ █║████║█║ █║
╚═══╝╚╝    ╚══╝   ╚╝  ╚╝  ╚╝  ╚══╝ ╚╝ ╚╝╚═══╝╚╝ ╚╝

Using Spotify Directory: /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/d22ab2f6059cca52bc56754ca1860fb41b0d9c6333975bd8f2eb375fde5a4d84/files/extra/share/spotify

Latest supported version: <IP_ADDRESS>3
Detected Spotify version: N/A

*
✔ Detected & restored backup
*********
✔ Applied free-tier plan patches
*********************************************************************************************************************
✔ Enabled experimental features
***************************************************
✔ Finished

Each * represents this locale error that I have been getting everywhere for a few weeks now, which do nothing except spamming the console:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_GB:de:ja",
        LC_ALL = (unset),
        LC_ADDRESS = "de_DE.UTF-8",
        LC_NAME = "de_DE.UTF-8",
        LC_MONETARY = "de_DE.UTF-8",
        LC_PAPER = "de_DE.UTF-8",
        LC_IDENTIFICATION = "de_DE.UTF-8",
        LC_TELEPHONE = "de_DE.UTF-8",
        LC_MEASUREMENT = "de_DE.UTF-8",
        LC_TIME = "en_SE.UTF-8",
        LC_NUMERIC = "en_GB.UTF-8",
        LANG = "en_GB"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

A screenshot would do nothing, it just looks as if it was playing the podcast. But it clearly does not, since the ads are in German.
[fabian@laptop ~]$ ls -la /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/d22ab2f6059cca52bc56754ca1860fb41b0d9c6333975bd8f2eb375fde5a4d84/files/extra/share/spotify/
total 309016
drwxrwxrwx 5 root   root        4096 Mar 26 16:47 .
drwxr-xr-x 3 root   root        4096 Dec  4 17:42 ..
drwxrwxrwx 2 root   root        4096 Mar 26 16:47 Apps
drwxrwxrwx 2 root   root        4096 Dec  4 17:42 icons
drwxrwxrwx 2 root   root        4096 Dec  4 17:42 locales
-rw-rw-rw- 1 root   root      687134 Nov 30 07:16 chrome_100_percent.pak
-rw-rw-rw- 1 root   root     1072982 Nov 30 07:16 chrome_200_percent.pak
-rw-rw-rw- 1 root   root    10717392 Nov 30 06:01 icudtl.dat
-rw-rw-rw- 1 root   root      255064 Dec  4 17:38 libEGL.so
-rw-rw-rw- 1 root   root     6508624 Dec  4 17:38 libGLESv2.so
-rw-rw-rw- 1 root   root   207641280 Dec  4 17:38 libcef.so
-rw-rw-rw- 1 root   root     4050304 Dec  4 17:38 libvk_swiftshader.so
-rw-rw-rw- 1 root   root      617576 Dec  4 17:38 libvulkan.so.1
-rw-rw-rw- 1 root   root     8163591 Nov 30 08:56 resources.pak
-rw-rw-rw- 1 root   root      281350 Nov 30 07:35 snapshot_blob.bin
-rwxrwxrwx 1 fabian fabian  37855840 Mar 26 16:47 spotify
-rwxrwxrwx 1 fabian fabian  37855840 Mar 26 04:14 spotify.bak
-rw-rw-rw- 1 root   root      647433 Nov 30 09:03 v8_context_snapshot.bin
-rw-rw-rw- 1 root   root         107 Nov 30 07:13 vk_swiftshader_icd.json
[fabian@laptop ~]$ ls -la /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/d22ab2f6059cca52bc56754ca1860fb41b0d9c6333975bd8f2eb375fde5a4d84/files/extra/share/spotify/Apps/
total 19712
drwxrwxrwx 2 root   root      4096 Mar 26 16:47 .
drwxrwxrwx 5 root   root      4096 Mar 26 16:47 ..
-rw-rw-rw- 1 root   root   3519048 Dec  4 17:38 login.spa
-rw-rw-rw- 1 fabian fabian 8318398 Mar 26 04:14 xpui.bak
-rw-rw-rw- 1 fabian fabian 8320176 Mar 26 16:47 xpui.spa

Binary: https://drive.google.com/file/d/1wuIxSVoR_eHkEprqTOPLTFAnb_r8bLfP

A screenshot would do nothing, it just looks as if it was playing the podcast. But it clearly does not, since the ads are in German.

If the track does not switch to an ad-track during ad-playback then the ad is being embedded into the podcast stream itself. This won't be blocked.

Some other Spotify adblockers want to mute ads, that would also be OK, but they also currently do not work. I tried browser extensions, client modifiers like this one, custom clients, downloaders, other podcast platforms, … The ads are all the same on all the podcast platform, but not originally part of the podcast (so not the host talking about sponsors). They seem to all be ≈28.5s long. Spotify could of course just stream a file to me that contains both, then it would be basically impossible to differentiate, but then I am surprised that the ad is exactly the same on Google Podcasts, Amazon Music and Deezer. So either there is one system which all these four podcast services use as an ad source or the uploader actually just inserted German ads into an English stream (probably not).
There seems to be no SponsorBlock-like service for anything other than YouTube, so I will contact the host to please upload the full episodes on YouTube, that is the only option I still see.

Actually, I won't say blocking this will not be possible... but.. not something which is expected of this repo at this time. Something to add in the future perhaps.
Interesting that you're seeing same ad on all sources. I guess everyone's doing this now. The ad you are hearing is certainly not part of the original audio, but is dynamically inserted into the stream.. the ad is also targeted and based on your IP and possibly other metrics.
I've managed to target the ad and see how it's being inserted into the audio stream... but not sure how to handle it just yet. We'll see what the future holds.


Running example pact broker doesn't render expected output

I'm probably doing something silly here, but I can't figure out what I'm doing wrong when trying to run the example.
 $ bundle exec rackup -p 8080
[2017-01-16 13:54:12] INFO  WEBrick 1.3.1
[2017-01-16 13:54:12] INFO  ruby 2.3.1 (2016-04-26) [x86_64-darwin16]
[2017-01-16 13:54:12] INFO  WEBrick::HTTPServer#start: pid=85118 port=8080
<IP_ADDRESS> - - [16/Jan/2017 13:54:14] "GET / HTTP/1.1" 200 814 0.0025

when navigating to localhost:8080, all I see is this template:

instead of the expected https://raw.githubusercontent.com/wiki/bethesque/pact_broker/images/index.png.

For some reason, you're getting the response for the JSON content type, not the HTML content type. Have you got any content type settings on your browser?

Did you check out the project and are you running the rackup from within the project root? That won't give you the UI. You'll need to go into the example project and run that.

Yep, that is indeed my problem. Thanks for clearing it up!


Test failing in codespaces-linux - php not in path

Since updating to the latest oryx image, the codespaces-linux image no longer appears to have PHP in the path.  We should either remove it from test.sh or correct that.
codespace:~/workspace$ test-project/test.sh

🧪  Testing vscode-server: [ 1 -ge 1 ]
🏆  Passed!

🧪  Testing non-root-user: id codespace
uid=1000(codespace) gid=1000(codespace) groups=1000(codespace),800(docker)
🏆  Passed!

🧪  Testing /home/codespace: [ -d /home/codespace ]
🏆  Passed!

🧪  Testing sudo: sudo -u codespace echo sudo works.
sudo works.
🏆  Passed!

🧪  Testing git: git --version
git version 2.11.0
🏆  Passed!

🧪  Testing command-line-tools: which top ip lsb_release
/usr/bin/top
/sbin/ip
/usr/bin/lsb_release
🏆  Passed!

🧪  Testing oryx: oryx platforms
Platform  : dotnet
Versions  : 1.0.16
            1.1.13
            2.0.9
            2.1.17
            2.2.7
            3.0.3
            3.1.3
Properties: project - Relative path of the project file to build.

Platform  : nodejs
Versions  : 4.4.7
            4.5.0
            4.8.0
            6.2.2
            6.6.0
            6.9.3
            6.10.3
            6.11.0
            6.17.1
            8.0.0
            8.1.4
            8.2.1
            8.8.1
            8.9.4
            8.11.2
            8.12.0
            8.15.1
            8.17.0
            9.4.0
            10.1.0
            10.10.0
            10.14.2
            10.16.3
            10.19.0
            12.16.1
Properties: npm_registry_url - Custom npm registry URL. Will be written to .npmrc during the build.
            compress_node_modules - Indicates how and if 'node_modules' folder should be compressed into a single file in the output folder. Options are 'zip', and 'tar-gz'. Default is to not compress. If this option is used, when running the app the node_modules folder must be extracted from this file.
            prune_dev_dependencies - When using different intermediate and output folders, only the prod dependencies are copied to the output. Options are 'true', blank (same meaning as 'true'), and 'false'. Default is false.
            require_build - Requires either 'npm run build' or 'yarn run build' or custom run build command  to be run. Default is false. If value is not provided, it is assumed to be 'true'.

Platform: php
Versions: 5.6.40
          7.0.33
          7.2.28
          7.3.15
          7.4.3

Platform  : python
Versions  : 2.7.17
            3.6.10
            3.7.7
            3.8.2
Properties: virtualenv_name - Name of the virtual environment to be created. Defaults to 'pythonenv<Python version>'.
            compress_virtualenv - Indicates how and if virtual environment folder should be compressed into a single file in the output folder. Options are 'zip', and 'tar-gz'. Default is to not compress. If this option is used, when running the app the virtual environment folder must be extracted from this file.
            packagedir - If provided, packages will be downloaded to the given directory instead of to a virtual environment.

🏆  Passed!

🧪  Testing python: python --version
Python 2.7.13
🏆  Passed!

🧪  Testing dotnet: dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   3.1.201
 Commit:    b1768b4ae7

Runtime Environment:
 OS Name:     debian
 OS Version:  9
 OS Platform: Linux
 RID:         debian.9-x64
 Base Path:   /opt/dotnet/sdks/3.1.201/sdk/3.1.201/

Host (useful for support):
  Version: 3.1.3
  Commit:  4a9f85e9f8

.NET Core SDKs installed:
  1.1.14 [/home/codespace/.dotnet/sdk]
  2.1.805 [/home/codespace/.dotnet/sdk]
  2.2.402 [/home/codespace/.dotnet/sdk]
  3.0.103 [/home/codespace/.dotnet/sdk]
  3.1.201 [/home/codespace/.dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.17 [/home/codespace/.dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.7 [/home/codespace/.dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.17 [/home/codespace/.dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.7 [/home/codespace/.dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.0.3 [/home/codespace/.dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.3 [/home/codespace/.dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 1.1.13 [/home/codespace/.dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.17 [/home/codespace/.dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.7 [/home/codespace/.dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.3 [/home/codespace/.dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.3 [/home/codespace/.dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download
🏆  Passed!

🧪  Testing node: node --version
v12.16.1
🏆  Passed!

🧪  Testing php: php --version
test-project/test.sh: line 15: php: command not found
💥  php check failed.

🧪  Testing bash: bash --version
GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
🏆  Passed!

🧪  Testing fish: fish --version
fish, version 2.4.0
🏆  Passed!

🧪  Testing zsh: zsh --version
zsh 5.3.1 (x86_64-debian-linux-gnu)
🏆  Passed!

💥  Failed tests: php

(Also, I assume php should be available in the path, so this is not a test bug.)

Resolved in #362


App crash at alarm expiration

Hello Blacky,
with 2.10, all is fine except alarm expiration with my phone.
When I set an alarm with few time (between 1 min. to few hours), expiration is going well.
Otherwise, an alarm with expiration after many hours results in an app crash (Clock crashed etc ...).
My phone : Google Pixel 4 with Android 13.
Perhaps a compatibility issue with my launcher ? (MS Launcher)
Thanks.
Emmanuel

@timofort
Really sorry for this inconvenience; I am closing this topic because it is a duplicate of #136.
You can download the new version here, where I unfortunately had to disable the "Set an alarm for a specific date" feature because it was at the root of this major bug.
I hope to find the solution soon.

Thanks. I will read it.
PS : tu es français ? J'ai vu dans le topic que tu es sur le temps parisien.
Le lun. 25 nov. 2024 à 12:56, BlackyHawky @.***> a
écrit :

@timofort https://github.com/timofort
Really sorry for this inconvenience; I am closing this topic because it is
a duplicate of #136 https://github.com/BlackyHawky/Clock/issues/136.
You can download the new version here
https://github.com/BlackyHawky/Clock/releases/tag/2.10.1, where I
unfortunately had to disable the "Set an alarm for a specific date" feature
because it was at the root of this major bug.
I hope to find the solution soon.
—
Reply to this email directly, view it on GitHub
https://github.com/BlackyHawky/Clock/issues/146#issuecomment-2497813613,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2QXUGE5J4MG3MEHOVX2TXD2CMF5ZAVCNFSM6AAAAABSNZASCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJXHAYTGNRRGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

@timofort
Oui je suis français 😉


What polymer bring to us?

Thanks to polymer bring a web component world.
However, Opensource World has a lot of JQuery libs & tools,  such as DataTable\Select2 etc.
They are so cool, and make front-end development more faster!
If I turn to use Polymer, I just cannot re-use it anymore? any idea about this?

Normally Polymer does not mess up jquery, just make your own components. In short Polymer is just an abstraction to make custom html tags and some fancy binding stuff thats it. The paper elements are only pre made building blocks.

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.


otl.gg/match/* - Include weapon damage statistics

Incorrectly closed, e5034a7 closed #85 instead.


Office on Mac ‘one-time purchase’ versions missing from Office applications table in article on ‘Dialog API requirement sets’

Article URL

Website: https://docs.microsoft.com/en-us/office/dev/add-ins/reference/requirement-sets/dialog-api-requirement-sets
Source: https://github.com/OfficeDev/office-js-docs-pr/blob/aacbe26fb231c18a38d758382259d794da1dc165/docs/reference/requirement-sets/dialog-api-requirement-sets.md#dialog-api-requirement-sets

Issue
The table at the top of the article “lists the Dialog API requirement sets, the Office client applications that support that requirement set, and the build or version numbers for the Office application”. However: the table lists the ‘one-time purchase’ versions of Office on Windows only, those on Mac seem to be missing. For Mac, only ‘Office on Mac (subscription)’ is listed.
Could you extend the table to include the ‘one-time purchase’ versions of Office on Mac? I’m in particular looking for details on support for ‘DialogApi 1.2’ in ‘Office 2021 on Mac (one-time purchase)’.

Thanks for reporting this @Rinzwind.
@Rick-Kirkham, can you please investigate and add the requirement set information as needed?

@Rinzwind I found the info for one-time purchase Office on Mac on this page: Office client application and platform availability for Office Add-ins. It appears that DialogApi 1.2 is not supported in Office 2021 on Mac (one-time purchase), only 1.1.
I'm investigating internally why none of our requirement set tables have a column for one-time purchase Office on Mac. There may be a good reason, but I suspect it is just an oversight. If that turns out to be the case, my team will add the column to all the tables where it is needed. In the meantime, I'll leave this issue open.

@Rick-Kirkham note that that page also only lists ‘DialogApi 1.1’ for ‘Office 2021 on Windows (one-time purchase)’ as well (markdown source link), while the one on ‘Dialog API requirement sets’ says ‘DialogApi 1.2’ is supported in ‘Office 2021 or later on Windows* (one-time purchase)’ in ‘Build 16.0.14326.20454 or later’ (markdown source link). I had assumed this meant the first page didn’t list ‘DialogApi 1.2’ for Office 2021 on Windows due to it not being supported in the first build. I presumed ‘DialogApi 1.2’ would have similarly been added to Office 2021 on Mac after its first build, but just wanted to make sure. Am I misinterpreting this?

Hmmm. It looks like the page that I linked to is not being updated in some cases. I'll research that too.

@Rinzwind The experts tell me that, for Mac, the subscription and one-time purchase support for requirement sets and version numbers are always the same. So, you can use the "Office on Mac (subscription)" column for single-purchase too. I will get these column headings corrected and update the out-of-date article too.

Ok, thanks for the info!
So, just to make sure I understood correctly: ‘DialogApi 1.2’ is supported by the latest build of ‘Office 2021 on Mac (one-time purchase)’?
I assume the requirement set support being the same as for ‘Office on Mac (subscription)’ only applies to the most recent ‘one-time purchase’ release, so Office 2021, but not Office 2019 and earlier? Presumably, ‘DialogApi 1.2’ is not supported in any build of ‘Office 2019 on Mac (one-time purchase)’ (it’s not supported in the Windows counterpart either)?

Yes. I think you've summarized it accurately.


fix filter-comments-by-you for enterprise

in github enterprise the old html template is still in use
at least for Enterprise v2.18.8
hint, i am using getUserName() instead of @me, in enterprise @me is not available.

@fregante @busches I decided to rewrite this, so it copies an existing list element, overwrites the href and text and then prepends it.
this way it works for a list of<a/> tags and <li/> tags.

I think this approach is fine, but I don't have access to an older GHE to test.

I made some changes directly instead of writing further comments. Untested though

@fregante now it is working even though the type from the first select is not really always a HTMLAnchorElement

the type from the first select is not really always a HTMLAnchorElement

Indeed, I wasn’t sure if menuItem as HTMLAnchorElement would work right away (I’m editing from my phone) and just used my solution. Feel free to use that assertion if it works.


docs: format changelog

What I did

reformat the changelog

@zeroedin can you give this a nod, please?

@bennypowers is there an issue and/or XD file for this one?


pure virtual method called terminate !

I am facing this problem in the following function (place highlighted), Error -(pure virtual method called terminate called without an active exception Aborted)
Thanks in advance!
Fun:
void StreamData(const Aws::Vector& data)
{
std::cout <<"inside StreamData" <<std::endl;
PutRecordsRequest putRecordsRequest;
putRecordsRequest.SetStreamName(m_streamName);
    for(auto& datum : data)
    {
        PutRecordsRequestEntry putRecordsRequestEntry;
        putRecordsRequestEntry.WithData(datum)
                .WithPartitionKey(m_partition);

        putRecordsRequest.AddRecords(putRecordsRequestEntry);
    }
    std::cout <<"inside StreamData B4 call put" <<std::endl;

    **m_client->PutRecordsAsync(putRecordsRequest,
           std::bind(&KinesisProducer::OnPutRecordsAsyncOutcomeReceived, this, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4));
}**

Caller:
  Aws::String LogDataHead("AP Logs");;
  Aws::String LogData("testing";

  producer.StreamData( {
                               ByteBuffer((unsigned char*)LogDataHead.c_str(), LogDataHead.length()),
                               ByteBuffer((unsigned char*)LogData.c_str(), LogData.length())
                       });

used a wrong credentials file format. issue is solved now.


Add pylint checking to GitHub workflow

See https://github.com/Senzing/stream-loader/issues/303

Pull requests:

https://github.com/Senzing/g2snapshot/pull/37


Debugging with inspect mode

If node is ran with the --inspect switch, then you can connect a debugger and step through your programs.
Read more about inspector

How about adding an --inspect switch to lib http?

Hey @omarchehab98 -- I'm going to tag this as an enhancement. I can look into this, but it might be a little out in terms of implementation.


Add non compliant and compliant samples for Go detectors

Add non compliant and compliant samples for Go detectors.
Note: All the test cases have 100% recall and precision.

Can we have the same move these samples to go/src/detectors?


Roll engine 5f03c7e35d71..fa161274fb5d (2 commits)

git@github.com:flutter/engine.git/compare/5f03c7e35d71...fa161274fb5d
git log 5f03c7e35d71..fa161274fb5d --no-merges --oneline
2019-08-22<EMAIL_ADDRESS>Switch to an incremental runloop for GLFW (flutter/engine#11368)
2019-08-22<EMAIL_ADDRESS>Update scenarios readme (flutter/engine#11374)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5141578094477312

Commit queue failed; closing this roll.


Second batch

cc @sbesson @will-moore @jburel

Okayed in https://openmicroscopy.slack.com/archives/C1PJHN2D7/p1590489808067400
Merging


lxd/device/disk: Ignore ErrNotRunning for virtfs-proxy-helper

Testsuite passed

@monstermunchkin out of interest, did the virtfs-proxy-helper stop somehow unexpectedly?

@tomponline no. I believe it terminates automatically once it's not used anymore, i.e. the VM is shut down. virtiofsd does the same thing.

@monstermunchkin interesting, that would make sense, although not something I observed originally. It maybe related to some of the changes in device ordering shutdown that have made it occur later now though. Thanks.


tls_redirection_port feature

fixes #178

I will update rpxy on https-redirection branch by merging @akostadinov 's commit! After that I will publish 0.9.1 😄


v1.0.0: React + Flux application restructure

React + Flux Application Restructuring
For Yeogurt v1.0.0, a revamp/restructure is needed for all generated applications. That being said, React + Flux projects need quite a bit of love in order to work well with a modular structure. Of course, I would like to keep the user base informed on the direction the project is taking when creating and scaling applications, so feel free to comment and leave feedback in this issue.
Old Structure
Here is an example of what the generator currently produces for react + flux projects:
├── client
    ├── bower_components
    ├── scripts
    │   ├── actions                      # Flux actions
    │   │   ├── page.js
    │   │   └── routes.js
    │   ├── components
    │   │   ├── index.jsx                # Index page (required)
    │   │   └── layouts
    │   │       └── default.jsx
    │   ├── constants                    # Flux constants
    │   │   ├── defaults.js
    │   │   ├── page.js
    │   │   ├── payload-sources.js
    │   │   └── routes.js
    │   ├── dispatchers                  # Flux dispatcher
    │   │   └── default.js
    │   ├── main.js                      # Main bootstrap file
    │   ├── routes.js                    # Define all routes here
    │   └── stores                       # Flux stores
    │       ├── default.js
    │       └── page.js
    ├── images
    └── styles                          # Styles folder (All Stylesheets)
    |   └── main.scss                   # Main stylesheet (import everything to this file)
    ├── favicon.ico
    ├── index.html                      # Base template
    └── robots.txt

New Proposed Structure
Here is an example of what could be produced for react + flux projects:
├── client
    ├── app                              # Application specific code
    |   ├── __tests__                    # Holds all tests for current folder
    |   |   ├── main.spec.js
    |   |   └── routes.spec.js
    |   ├── index                        # Homepage (all related files)
    |   |   ├── __tests__
    |   |   |   └── index.spec.js
    |   |   ├── index.jsx
    |   |   └── index.scss
    |   ├── layout                       # Layout structure for app
    |   |   ├── base.jsx
    |   |   ├── base.spec.js
    |   |   └── base.scss
    |   ├── modules                      # Reusable modules
    |   |   └── navbar
    |   |       ├── __tests__
    |   |       |   └── navbar.spec.js
    |   |       ├── navbar.jsx
    |   |       └── navbar.scss
    |   └── lib                          # Base Classes, Misc scripts, etc
    |   |   ├── __tests__
    |   |   |   └── store.spec.js
    |   |   └── store.js
    |   ├── main.js                      # Main bootstrap file
    |   ├── main.constants.js            # Main constants file (global constants)
    |   ├── main.dispatcher.js           # Main dispatcher file (handles all dispatched events)
    |   ├── main.actions.js              # Main actions file (global actions)
    |   ├── main.store.js                # Main store file (store global data)
    |   └── main.scss                    # Main stylesheet (import everything to this file)
    |   └── routes.js                    # Handles all routes
    ├── assets                           # Other static files (images, fonts, txt, etc)
    |   ├── images
    |   └── fonts
    ├── bower_components                 # Stores all bower files
    ├── vendor                           # Third-party (non-bower) files
    ├── favicon.ico
    ├── index.html                       # Base template
    └── robots.txt

This slightly updated structure is inspired by a few [angular] styleguides (johnpapa, mgechev, and toddmotto). I realize that these cover mostly angular applications, but I have found that the structure they outline can be converted to be used with React + Flux quite well. I tried to pick some of my favorite features and techniques used between all of these great resources. Of course, I would like throw out some questions and get some feedback on the proposed changes.
Proposed/Existing Sub-generators
Below are the proposed sub-generators that would be usable for projects creating React + Flux applications.
Module

Creates a new folder inside of app/ folder (confgurable)
Creates new files based on name (ex. react)

react.spec.js
react.jsx
react.scss

Flux

Creates a new folder inside modules/ (confgurable)
Creates new files based on name (ex. flux)

flux.store.js
flux.action.js
flux.constant.js
flux.spec.js

Questions
Feel free to offer your opinion on these questions (or any others) within the comments section.

Folders

Do their names make sense?
Do you like the structure?

General

How can this be improved in your opinion?
Is anything confusing?

Routing (What library should be used?)

React Router?
Director? (Currently being used)

Feedback
As stated above, I would love to get some feedback on what you all think about this new structure. I think it is a massive move forward to the old "sock-drawer" style structure, but there is always room for improvement.
Let me know what you think!

NOTE: I continue to update this issue as more information comes in and feedback is gathered

Ever thought about an option for Reflux? Or any other flux style abstractions?

With the new structure, are there any intentions to allow Jest for React applications?

@joshhornby, I haven't really looked at other flux solutions as I wanted to stay as close to vanilla Facebook flux as possible.
@bmanth60 The new structure will allow for use with Jest by having test folders use the jest prefix and suffixes: __tests__. I haven't been able to successfully get Jest running with Yeogurt, but in theory it should work if you would like to add it to a generated project. I will look further into it after the 1.0 launch.

Closing this in favor of generator-neopolitan


Add cmctl

cmctl command should be able to list users and remove (all) users

"doveadm user '*'" already lists users thanks to #226 .  and users can be removed with "rm -rf /home/vmail/mail/{mail_domain}/{user}" if need be.  Maybe still makes sense to have a "cmctl" command but let's discuss what it should do, and then re-create this issue. closing for now.


Check for page content and links in Monetization

Is your feature request related to a problem? Please describe
Currently, we are making batteries for each and every website. Instead, we can improve our Monetization battery which is essentially built as a fallback to other batteries.
But the Monetization battery checks only for the lightning meta tag but not the content of the page and the embedded links. It would be good to add them as well as that would help us save time.
i.e. by adding checks for document.body.innerText and document.querySelector("a[href*='getalby.com']")
Additional context
Can we remove all other batteries after adding this then?
No. Because there still are some cases where this doesn't work (like in the case of MixCloud where we used APIs) or if we decide to embed our own ("send satoshis") buttons in future in the websites to open our extension from there, as we can't generalize the place for our button as it varies from website to website (and hence can't be generalized)!
Are you working on this?
Would like to if approved!

https://github.com/consenlabs/token-profile
can refer to the way to add tokens to the Ethereum community mobile client wallet, and make templates of the things you need to add and submit them through github


about output rtmp run error

hello, I find gstEncoder support rtmp stream outpu in https://github.com/dusty-nv/jetson-utils/blob/1f3709f48258c2d75500c35605e8f6f4a3447afc/codec/gstEncoder.cpp, it's exciting! but when I run, it get error like this:
{
[gstreamer] gstEncoder -- codec not specified, defaulting to H.264
[gstreamer] gstEncoder -- pipeline launch string:
[gstreamer] appsrc name=mysource is-live=true do-timestamp=true format=3 ! omxh264enc bitrate=4000000 ! video/x-h264 !  rtph264pay config-interval=1 ! rtmpsink location=rtmp://<IP_ADDRESS>
[gstreamer] gstEncoder -- failed to create pipeline
[gstreamer]    (could not link rtph264pay0 to rtmpsink0)
[gstreamer] gstEncoder -- failed to create encoder engine
}
emm..., my jetson ip is <IP_ADDRESS>, so I set rtmp address is "rtmp://<IP_ADDRESS>:8554/live/xxx", and my test is "./build/aarch64/bin/video-viewer /dev/video0 rtmp://<IP_ADDRESS>:8554/live/xxx", what should I do?
and I test rtp is work, the message like this, just run command "./build/aarch64/bin/video-viewer /dev/video0 rtp://<IP_ADDRESS>:8554/live/xxx", only change rtmp to rtp:
{
[gstreamer] gstEncoder -- codec not specified, defaulting to H.264
[gstreamer] gstEncoder -- pipeline launch string:
[gstreamer] appsrc name=mysource is-live=true do-timestamp=true format=3 ! omxh264enc bitrate=4000000 ! video/x-h264 !  rtph264pay config-interval=1 ! udpsink host=<IP_ADDRESS> port=8554 auto-multicast=true
[video]  created gstEncoder from rtp://<IP_ADDRESS>:8554/live/xxx
gstEncoder video options:
-- URI: rtp://<IP_ADDRESS>:8554/live/xxx
- protocol:  rtp
- location:  <IP_ADDRESS>
- port:      8554
-- deviceType: ip
-- ioType:     output
-- codec:      h264
-- width:      0
-- height:     0
-- frameRate:  30.000000
-- bitRate:    4000000
-- numBuffers: 4
-- zeroCopy:   true
-- flipMethod: none
-- loop:       0
}

rtmp support is exciting, hope rtsp support .. :-)

nx@nx-desktop:~$ gst-inspect-1.0 | grep 264
x264:  x264enc: x264enc
videoparsersbad:  h264parse: H.264 parser
libav:  avmux_ipod: libav iPod H.264 MP4 (MPEG-4 Part 14) muxer
libav:  avdec_h264: libav H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 decoder
libav:  avenc_h264_omx: libav OpenMAX IL H.264 video encoder encoder
omx:  omxh264enc: OpenMAX H.264 Video Encoder
omx:  omxh264dec: OpenMAX H.264 Video Decoder
nvvideo4linux2:  nvv4l2h264enc: V4L2 H.264 Encoder
rtp:  rtph264pay: RTP H264 payloader
rtp:  rtph264depay: RTP H264 depayloader
typefindfunctions: video/x-h264: h264, x264, 264
uvch264:  uvch264src: UVC H264 Source
uvch264:  uvch264mjpgdemux: UVC H264 MJPG Demuxer
nx@nx-desktop:~$ gst-inspect-1.0 | grep 265
videoparsersbad:  h265parse: H.265 parser
libav:  avdec_h265: libav HEVC (High Efficiency Video Coding) decoder
omx:  omxh265enc: OpenMAX H.265 Video Encoder
omx:  omxh265dec: OpenMAX H.265 Video Decoder
nvvideo4linux2:  nvv4l2h265enc: V4L2 H.265 Encoder
x265:  x265enc: x265enc
de265:  libde265dec: HEVC/H.265 decoder
rtp:  rtph265pay: RTP H265 payloader
rtp:  rtph265depay: RTP H265 depayloader
typefindfunctions: video/x-h265: h265, x265, 265

Hi @lzcchl, see this post:  https://github.com/dusty-nv/jetson-utils/issues/53#issuecomment-788455778
I just patched this in https://github.com/dusty-nv/jetson-utils/commit/ebf55857d60ba0be5c655cacf8eb8e9348ace714
So updated/re-clone your jetson-inference repo and try again please.

emm... I had re-clone jetson-inference repo and try again, the error "could not link rtph264pay0 to rtmpsink0" be solved, however   there is a new bug, that seems like "https://github.com/dusty-nv/jetson-utils/issues/56", pipeline fll, skipping frame.
I just rebuild jetson-inference, and run example with command "./video-viewer /dev/video0 rtmp://<IP_ADDRESS>:8554/live/xxx"

emm... I had re-clone jetson-inference repo and try again, the error "could not link rtph264pay0 to rtmpsink0" be solved, however there is a new bug, that seems like "dusty-nv/jetson-utils#56", pipeline full, skipping frame.
I just rebuild jetson-inference, and run example with command "./video-viewer /dev/video0 rtmp://<IP_ADDRESS>:8554/live/xxx"


[RR2] Plugin for serving static files [Static]

Static plugin for RR2
CI and Makefile update
closes #405

linked #368


Remove event listeners on unmount in useFlag and useVariant

About the changes
I discovered that the event listeners are not removed properly in useFlag and useVariant. The original author's intention was correct but a return statement were missing by a mistake. It can cause "Can't perform a React state update on an unmounted component." error and unallocated resources.
Important files
I wrote tests first to prove the error so you should start the review with the new tests. The fix is simple, I've just added the missing returns in the implementation.
Discussion points
In the test suites I moved the mockClear calls inside the beforeEach, I think it's better to call them before every tests.

This fixes #90 which should be reopened as the original PR #96 had not fixed the problem.

Wow. Thanks for spotting that! LGTM

Thank you very much for your quick response!
When could you merge it and release a new version to npm?

@6uliver Thanks for the contribution! It's merged now and we're aiming to get the release out some time this week 🚀  Great work 🥇

Pre-released in v3.5.3-beta.0.


Update documentation and workflows

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (61661fc) 100.00% compared to head (e3ff746) 100.00%.

:exclamation: Current head e3ff746 differs from pull request most recent head 253709c. Consider uploading reports for the commit 253709c to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #42   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           23        23
  Lines          307       307
  Branches        21        21
=========================================
  Hits           307       307

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


Error on downloading PDF in Sidekick browser

Description
I downloaded a small PDF file (a utility bill) from Sidekick web browser while Files was running in the background showing the downloads directory. When the download had finished, Files popped up a generic error message ('Something went wrong'). There don't seem to be any problems with Files - it shows the newly downloaded file.
I tried another browser download with Files in the background showing a different directory and got no error message.
When I downloaded another PDF with Files showing the downloads directory again, there was no error message, so I was unable to replicate the error.
Nothing shows in the Status Centre. The log file shows "The system cannot find the drive specified."
Steps To Reproduce

Files running showing 'downloads' folder
Download a small PDF from browser to 'downloads' folder.
Files generic error appears.

Note: I could not replicate this.
Requirements
Fix the error message that occurs when small PDF is downloaded as described above.
Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.1848
Log File
debug.log

Thanks for the report. The relevant error is:

2023-07-11 09:54:46.1235|Error|System.ArgumentOutOfRangeException: This collection cannot work with indices larger than Int32.MaxValue - 1 (0x7FFFFFFF - 1). (Parameter 'index')
at ABI.System.Collections.IList.ToAbiHelper.EnsureIndexInt32(UInt32 index, Int32 listCapacity)
at ABI.System.Collections.IList.ToAbiHelper.GetAt(UInt32 index)
at ABI.System.Collections.IList.Vftbl.Do_Abi_GetAt_0(IntPtr thisPtr, UInt32 index, IntPtr* result)

Unfortunately we had this for a veery long time and never quite manged to fix it.

@dlorde thank you for reporting this issue, we believe it's fixed in the dev branch and will be included in the next release.


Enable standard AAD authentication for Azure EventGrid binding component, specifically on the output binding (create)

Describe the feature
Currently, it appears that the Azure EventGrid output binding supports authentication with AccessKey only.  It is preferable to enable all of the standard AAD authentication methods described in https://docs.dapr.io/developing-applications/integrations/azure/azure-authentication/authenticating-azure/.
Current Work-Around:

Configure an Azure Key Vault secrets component using the AAD authentication method of choice (preferably a managed identity).
Add a KV secret containing the EventGrid access key.
Configure the EventGrid binding component with accessKey using a secretKeyRef to retrieve the value via the KV secrets component.

Release Note

RELEASE NOTE:

I agree this should be improved.


[Automation] Generate Fluent Lite from iothub#package-2023-06

[Automation] Generate Fluent Lite from iothub#package-2023-06

/azp run java - iothub - mgmt - tests

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-resourcemanager-iothub

/azp run

/azp run

/azp run java - iothub - ci