consult some question when bootstraping service

Hi
Firstly, when executing the script ./deploy.py -d -p /cluster-configuration/clusterconfig-service.yaml , there exists two errors:
1  Error from server (BadRequest): error when creating "rest-server.yaml": DaemonSet in version "v1beta1" cannot be handled as a DaemonSet: [pos 587]: json: expect char '"' but got char '1'
2 error: 'prometheus' already has a value (true), and --overwrite is false
the details of log in this
But sometimes there is no second error.
Second, I noticed that the tag of  image ( prom/node-exporter) is not marked in line 34, so the status of pods ( node-exporter-nsk5g) is ErrImagePull , although there exists the image of each version on my machine.
the details of executing this command kubectl describe pods node-exporter-nsk5g
I also tried to add tag for the image in service-deployment/bootstrap/prometheus/node-exporter-ds.yaml, but it didn't work.
Besides , there may be a bug: when I use ctrl+c  to interrupt this script ./deploy.py -d -p /cluster-configuration/clusterconfig-service.yaml , the terminal still outputs ***** is not ready yet. Pleas wait for a moment!
Thanks!

maybe you can try to add "imagePullPolicy: IfNotPresent" to service-deployment/bootstrap/prometheus/node-exporter-ds.yaml

@YanjieGao

@xwzheng1020 @ydye
Thanks!
I solve the second problem by assigning the specific tag (v0.15.2 other than latest ) in line 34.
Then, the status of pods (pylon-ds-c30xt) is ContainerCreating.
the details of executing this command kubectl describe pods pylon-ds-c30xt
Is this situation normal? Or how to solve thisproblem?

fix error: 'prometheus' already has a value (true), and --overwrite is false
#386

@gxfun Can you check the Log of kubelet on the machine which be scheduled with pylon?
With the command docker log

@ydye
Thanks!
the details of executing docker logs kubelet

@gxfun Have you tried to restart this service? By the script clean.sh and start.sh in bootstrap/pylon

let's use fixed node-exporter version tag #389

@ydye
Hi，
I solve the problem of  pylon by modifying the port in line 139, beasuse the port of 80 are often occupied by apache.
Thanks!

Issue has been solved. Closed this issue.

@ydye
Hi， there also has another issue Error from server (BadRequest): error when creating "rest-server.yaml": DaemonSet in version "v1beta1" cannot be handled as a DaemonSet: [pos 587]: json: expect char '"' but got char '1' . Now, it doesn't exist pod of  rest_server with command kubectl get pods . I this is a important problem, but I can't solve it.

@gxfun Can you paste tje rest-server.yaml after generated?

@ydye
the details of rest-server.yaml
Thanks!

@gxfun
 - name: LOWDB_PASSWD
    value: 123456

to
 - name: LOWDB_PASSWD
    value: "123456"

The value shouldn't be a number. If the string only contain digits, please add quotation.

#393

@ydye
Thanks, Everything is working fine now。
Beside，is NTP service necessary?

@gxfun
Suggest to setup NTP service on your infra node. Because too serious time drift will cause etcd cluster unstable.

NTP is required, as stated in https://github.com/Microsoft/pai#prerequisite


Fix some lint warnings

Don't use fmt.Sprintf if we don't use any formatting
append multiple elements instead of calling append multiple times
Comment out a dead if branch
Remove superfluous return

Thanks!


Walkthrough updates 20240715

Cleanup some missing images and walkthrough steps for clarity

@drkclw I made some major modifications to the walkthrough to make sure it was easy to follow.  This will not affect the overall flow or anything you are going to demo but should significantly reduce questions and problems during the workshop for this first part tomorrow.


Setup trial Okta account similar to prod Okta

[x] Get access to Okta trial instance through Terraform
[ ] MVP Okta setup
[ ] Next step?

Questions for UIAM:

Azure AppReg sufficient, or Enterprise App required?
Where does the b64 encoded certificate data come from? - https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/manage-certificates-for-federated-single-sign-on?
What is the minimum required Okta setup?
How does it make sense to group the Terraform files (sub-modules)?

Leave as-is for now. Fokus on forward-auth testing.


Support SWI-Prolog versions > 8.5.2

PL_version was renamed to PL_version_info in SWI-Prolog due to Exported symbol PL_version conflicts with symbol in Perl.
I noticed that this change resulted in a crash in PySwip, and opened swipl-devel #910.
After reviewing the notes added to that issue by @dgelessus, I decided to open this PR with a fix.

Jan recently had to rename SWI's PL_version function to PL_version_info, to avoid a name conflict with Perl - see #900 for the full context.
It looks like PySwip tries to access the PL_version function, and if it can't find it, it assumes SWI-Prolog 7. With the recent renaming, PL_version doesn't exist anymore, so PySwip is misdetecting SWI-Prolog 8.5 as version 7. It then uses an older set of constant definitions, which are not compatible with the current SWI version, and this is probably causing the assertion failure.
The way to fix this would be to extend your version check code to try calling PL_version_info first, and if that function doesn't exist, fall back to PL_version.
Perhaps it would also be a good idea to throw an error if neither PL_version_info nor PL_version can be found? It looks like PySwip requires at least SWI-Prolog 8.2.0 anyway - so if the SWI-Prolog library doesn't define any of the version symbols, it's either too old to work with PySwip, or the library is broken in some way.

@yuce, could you please merge this one.    It could also be done a bit simpler, e.g.,
    if _lib.PL_version_info != None:
       PL_version = _lib.PL_version_info
    else:
       PL_version = _lib.PL_version

Both will run on older versions as well as on the latest stable and dev versions.

@david-r-cox Would it be possible for you to incorporate @JanWielemaker 's suggestion?

@yuce I've added @JanWielemaker's suggested changes and tested them against swipl-devel V9.1.2 (see this Dockerfile).
Let me know if any further changes are required.

@david-r-cox Thanks for the update! Could you also add your name to CONTRIBUTORS.txt?

Thanks for your contribution!


qemu fails on mac

When building docker images with devtools-golang-v1beta1 on a mac qemu fails with a core dump.
❯ docker compose run --rm devtools build \
    APP_NAME=helloworld \
    APP_DOCKERFILE=/usr/local/share/devtools-golang/Dockerfile.app
...
...
hadolint /usr/local/share/devtools-golang/Dockerfile.app
qemu: uncaught target signal 11 (Segmentation fault) - core dumped

What process fails? Is it hadolint? Maybe try running without hadolint?
My local development flow for this is to build the image from here using:
make IMAGE_NAMES=devtools-golang-v1beta1 build

And then in the project I'm testing it with, specify:
services:
  golang-devtools:
     image: ocreg.invalid/coopnorge/engineering/image/devtools-golang-v1beta1:built

hadolint. I will explore this issue further and see if I can provide more context and detail.

It seems like hadolint runs under build as well during validate, this is not the case for building Go code. This is unrelated to the issue, but perhaps something we want to align.

This issue seems to be related to ours:

https://github.com/hadolint/hadolint/issues/823


The menubar icon does not hint when webuild.sg feed is updated

The menubar icon should change from the black/white version to a colored one to hint the users that the feed is updated.

:+1:

Relevant to https://github.com/maxogden/menubar/issues/2

closed with #19

thanks @coffeesam @cheeaun @uzyn ✨you can now download all these changes in the latest release :tada:


Using without AndroidX

Hey Pier,
Hope your doing well!
Can we use this without using AndroidX in a project.
Thanks

Hi, no you need to be using androidx. The support libraries are not supported anymore, even if you're not using this lib it doesn't make much sense not to use androidx.


GSE118555 MouseLungMyofibroblasts

Primary Wrangler:
Ray
Secondary Wrangler:
Marion

Associated files:
Google Drive: Folder
s3 bucket: TBC
Key Events

[x] Assign the Primary Wrangler
[x] Fill spreadsheet (to a sufficient standard to submit dataset)
[ ] Get CellType annotation (To a sufficient standard to submit to SCEA)
[ ] Upload data (to a sufficient standard to submit dataset)
[x] Curate metadata spreadsheet with ontologies
[x] Upload sheet to validate metadata (most likely in staging)
[ ] Check linking
[ ] Validate data files
[x] Ask the Secondary Wrangler for an end-to-end review of the project. Ask the Expertise Wrangler to review specific tabs if needed
[ ] Get final approval of submission from SCEA
[ ] Submit dataset to Production?

Please track the below as well as the key events:

Track date first spreadsheet received and final spreadsheet sent by editing ticket to include
date next to event.
Track spreadsheet iterations by placing asterisks next to receive spreadsheet event.
Track any metadata issues/tickets made for dataset with a bulleted list of links under
received spreadsheet event. Links should be to the ticket in the metadata repo.

This seems blocked by lack of response from contributors
2020-04-09: sent second query to lead author Xin Sun<EMAIL_ADDRESS>about critical 10x experimental details.
No reply yet.
This was copied from https://github.com/HumanCellAtlas/hca-data-wrangling/issues/446

This is a published mouse dataset.
I am closing this ticket, because there is no response from authors to clarify critical 10x experimental details.


Update cognitiveservices.bicep with networkAcls

This PR adds networkAcls to cognitiveservices.bicep. It defaults to "Allow" which is not the most secure option but is needed for OpenAI deployments (https://github.com/Azure-Samples/azure-search-openai-demo/issues/133), Azure AI studio usage, etc.
It also permits passing in IPs to specifically allow, which can be used in conjunction with a VNet (as demonstrated in this PR: https://github.com/Azure-Samples/azure-search-openai-demo/pull/864/files#diff-8a64001dc63e4053382af7bbd6519e074e3a637a9e0a50b5b6e8ca136b4224ce), for heightened security.

cc @tonybaloney @mattmsft

/azp run azure-dev - cli

/check-enforcer override


Create Part Extended detailed View

As a User ,
I want to have a extended View on a Parts ,
so that I can see all information about a Part .
Hints / Details

Miro UI Concept Board : LINK

full detailed View
Layout Like Detailed View
Also with actions
With Back Button logic (history)

Acceptance Criteria

Extended Part detailed View is created and implemented as viewed in the concept
Back button needs to use the pagination from the opening point of the detail view (page 2 -> open detail view -> back button -> back to page 2)

Out of Scope

...

Tested on E2E-A for parts and other parts AsBuilt&AsPlanned. All of them are now on a separate page as seen in the concept. Back button works as intended + functionality of top-right icons works only for users logged in with the appropriate role.
Specific layout differs from part to part and is slightly different than in the concept -> Discussion with @ds-mmaul: Was discussed and approved during the creation of the concept.
Ready for review @jzbmw


Implement concurrent eval of cells

REQUIRES SYSTEM FOR TRACKING CELL DEPS

Actually the current model of evaluating cells within the helper reference calls IS a system for making sure cells are evaluated in the correct order.
Figure out how to put co currency into this system

Done but needs more testing and protection against race conditions


State.math unnecessary

All methods in the Math class are static.
So there is no need to be a reference anywhere (e.g. in the State class).
The math-member is confusing and not usable anyway for anything.

You're right there isn't a need for a reference any longer (Phaser.Math used to have a bunch of functions in there and was a proper class, but isn't any more) - however it does actually work perfectly, so there's no harm in keeping it either.
this.math.snapTo(345, 16)

etc.

Okay, maybe this works with javascript.
It doesn't work with TypeScript, though.

Issue a PR to remove it from the TS defs for State, it will remain in the actual code though.


Copy without style information

When you set to copy the contents of a div, I want to copy the content and any html that is in it like bold, italic etc but dont want the styles that are being inherited from other divs. EG if no styles are set, the font is auto new times romand, and when pasted into a mail editor etc the styles from the page it was copied from are being carried over, I want to copy without any style information. Is that possible?

I actually think copy without any style (plain text) should be the default.

Hey @moddish, try using this https://github.com/zenorocha/clipboard.js#copy-text-from-attribute or https://github.com/zenorocha/clipboard.js#advanced-options.


Remove redundant code

This goes very far in removing code... and you please explain reasoning for the various removals in the commit message or split things up into separate commits that have more info?
We need to be sure we are not removing stuff that is actually used or needed and we just dont know details yet.
I would also love some input after these details are provided from @willmostly @vishalya and @Chaho12


Is the code used for pre-training this public?

Is the code used for pre-training this public?

We used https://github.com/EleutherAI/gpt-neox for all training runs :)


PowerShell 7 issue

I'm getting the following error when I try to use this:

Hi Troy,
Are you using PowerShell 7.0 or Windows PowerShell 5.1?
Thanks,
Michael.
Sent from my iPhone
On 9 Feb 2023, at 7:21 am, Troy Taylor @.***> wrote:

I'm getting the following error when I try to use this:
[image]https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F44444967%2F217653614-36649a6f-3a3c-4a66-94d4-08743eacf62c.png&data=05|01||c558d55fbfa544e0073708db0a1a6656|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638114880747936391|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=Ip1ytJaWc5KjIDZVUQO3aMGaw%2BMva9lrIABF0%2FIhCYo%3D&reserved=0
—
Reply to this email directly, view it on GitHubhttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FZanattaMichael%2FSelMVP%2Fissues%2F61&data=05|01||c558d55fbfa544e0073708db0a1a6656|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638114880748092604|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=if%2FliFl9EV3ghbOSg5qu%2F2emnst9lx2mGySZueAUUJw%3D&reserved=0, or unsubscribehttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAF7JW5HVP3M5BRW6ZHPDIVLWWQE4LANCNFSM6AAAAAAUVYMJD4&data=05|01||c558d55fbfa544e0073708db0a1a6656|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638114880748092604|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=ZMzlEIozn7ckvA56KkE0ABXdfm6E7ZSHgF2HVAtxKkg%3D&reserved=0.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

PowerShell 7 - do I need to use 5.1?

With 5.1, I get the following:
ConnectTo-MVPPortal -URLPath https://mvp.microsoft.com/en-us/MyProfile/EditActivity
Selenium MVP Module Loaded. Use 'ConnectTo-MVPPortal' to get started.
An Error occured when attempting to connect to the portal. Details: 'Exception calling ".ctor" with "2" argument(s):
"Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary'
capability provided, and no binary flag set on the command line (SessionNotCreated)"'
At C:\Program Files\WindowsPowerShell\Modules\SelMVP\1.0.2\Module.psm1:1692 char:9

    Throw ($LocalizedData.ErrorConnectToMVPPortal -f $_)

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : OperationStopped: (An Error occure...onNotCreated)"':String) [], RuntimeException
FullyQualifiedErrorId : An Error occured when attempting to connect to the portal. Details: 'Exception calling "
.ctor" with "2" argument(s): "Expected browser binary location, but unable to find binary in default location, no
'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line (SessionNotCreated)"'

Yup 5.1.
Do you have Firefox installed and using the latest gecko driver?
Cheers,
Michael.
Sent from my iPhone
On 9 Feb 2023, at 8:11 am, Troy Taylor @.***> wrote:

With 5.1, I get the following:
ConnectTo-MVPPortal -URLPath https://mvp.microsoft.com/en-us/MyProfile/EditActivityhttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmvp.microsoft.com%2Fen-us%2FMyProfile%2FEditActivity&data=05|01||8e1e2433fe9b423b7ebf08db0a216e38|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638114910953564812|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=OR4P35KEHFlccO1SLfZHEpxX%2FlxYiLrRn%2F4cyDF571o%3D&reserved=0
Selenium MVP Module Loaded. Use 'ConnectTo-MVPPortal' to get started.
An Error occured when attempting to connect to the portal. Details: 'Exception calling ".ctor" with "2" argument(s):
"Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary'
capability provided, and no binary flag set on the command line (SessionNotCreated)"'
At C:\Program Files\WindowsPowerShell\Modules\SelMVP\1.0.2\Module.psm1:1692 char:9

Throw ($LocalizedData.ErrorConnectToMVPPortal -f $_)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 *   CategoryInfo : OperationStopped: (An Error occure...onNotCreated)"':String) [], RuntimeException
 *   FullyQualifiedErrorId : An Error occured when attempting to connect to the portal. Details: 'Exception calling "

.ctor" with "2" argument(s): "Expected browser binary location, but unable to find binary in default location, no
'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line (SessionNotCreated)"'
—
Reply to this email directly, view it on GitHubhttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FZanattaMichael%2FSelMVP%2Fissues%2F61%23issuecomment-1423307298&data=05|01||8e1e2433fe9b423b7ebf08db0a216e38|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638114910953564812|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=sgROLsm28NTFwQ17Ce9BBPnUaeLaXtKhtu590o6QZcA%3D&reserved=0, or unsubscribehttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAF7JW5HTTEGL67R3DYIZ3LTWWQKZDANCNFSM6AAAAAAUVYMJD4&data=05|01||8e1e2433fe9b423b7ebf08db0a216e38|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638114910953564812|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=lChkskJ%2FxL1DNPOqYu41nONzOTIO8Q0QChUOkjOqlRQ%3D&reserved=0.
You are receiving this because you commented.Message ID: @.***>

Hey @troystaylor. I recreated your issue and got to the bottom of it. The latest gecko build was a 32-bit built, and PSSelenium was trying to use access using a 64-bit browser. To resolve this issue, download the latest 64-bit version (https://github.com/mozilla/geckodriver/releases/download/v0.32.1/geckodriver-v0.32.1-win64.zip).
Thanks for letting me know. I'll raise an issue to update the documentation. :-P

Linking #63 as well. Please close if you are happy with the solution. :-D


Exception Thrown by CosmosDBInput Decorator When Item Not Found in CosmosDB

Description
I am currently exploring the functionality of the CosmosDBInput decorator based on an example provided in your documentation. I have successfully implemented a case where I retrieve an item from the database using an ID passed through Query Parameters, and it works as expected. However, in an error scenario where I provide an ID via Query Parameters that is not found in the database, the behavior is not as anticipated (in my opinion).
According to the provided example, I understand that the decorator should return a null object in case the element is not found, allowing me to handle this scenario programmatically. However, I noticed that the decorator deliberately throws an exception when it fails to retrieve the element. If this behavior is intended, it would be beneficial for the example to address the scenario where a element is not found.
While I acknowledge the importance of handling null objects defensively, I would like to understand the rationale behind throwing an exception in this particular case. It seems that allowing the decorator to return a null value could provide developers with more flexibility in error handling and tracing. The ability to choose between returning null or throwing an exception might cater to different use cases and preferences.
I have examined the decorator's code and observed that it intentionally raises an exception when the element is not found (One of the expected behaviors). If this is the intended behavior, it would be beneficial for the example to address the scenario.
This is my source code:
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.Functions.Worker;
using Microsoft.Extensions.Logging;

namespace My.Function;

public class Bookmarks(ILogger<Bookmarks> logger)
{
    [Function("Bookmarks")]
    public IActionResult Run([HttpTrigger(AuthorizationLevel.Function, "get", "post")] HttpRequest req,
        [CosmosDBInput(
            databaseName: "func-io-learn-db",
            containerName: "Bookmarks",
            Connection  = "CosmosDBConnection",
            Id = "{Query.Id}",
            PartitionKey = "{Query.Id}")] BookmarksItem bookmarks
        )
    {
        logger.LogInformation("C# HTTP trigger function processed a request.");

        if (bookmarks == null)
        {
            return new BadRequestObjectResult($"Not Found");
        }

        return new OkObjectResult($"Found Bookmarks, Url={bookmarks.Url}");
    }
}

public class BookmarksItem
{
    public string Id { get; set; }
    public string Url { get; set; }
}

It is built with Net 8, Worker 1.21.0, Worker.Extensions.CosmosDB 4.6.0
Steps to Reproduce:

Create an Azure Cosmos Db NoSql with some entries (Id, value)
Set up a Function App with an HTTP trigger in your local environment.
Deploy Function App to Azure
Set the "CosmosDBConnection" environment variable with the connection to Cosmos DB.
Send an HTTP request to the Function App URL with the "Id" query parameter configured with a value that does not exist in the Cosmos DB.
Observe that the request results in a 500 error instead of returning a 400 Bad request handled to my code in case of null value object, as expected based on the logic of the CosmosDBInput decorator.

I am curious about this one as well as I am having the same exact issue.

@brandonavantsj Wow, I thought this post was going to be forgotten. But yes, no one responds, I don't know why.

Note for investigation - we should compare this to the WebJobs behavior and see if this is a behavioral bug.

I have the same issue, and had commented on another ticket about it last week - https://github.com/Azure/Azure-Functions/issues/1670
We are being forced to move to the 4.x version of the extension by August 31 2024, and yet this seems to be a widely experienced issue.
For now I have worked around it by removing the use of the CosmosDBInput binding, and instead querying using Cosmos Client within the code.

Is there any chance there’s an update available about this?
Our deadline for upgrading is drawing near (I relieved a reminder from Microsoft the other day, so assume there’s no changes in the timeline), and without a solution to this we would have to remove the use of Input bindings altogether, which seems like a poor solution.

I can't use the binding due to this; it doesn't even return the response locally so the request hangs.

Supposedly this is by design #2545.


Added macrobenchmark for app startup and browser tab startup (no onboarding).

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #3429   👈

This comment was auto-generated by Graphite.


NotificationEventData struct should be EventData enum

Describe the bug
Thanks for this fantastic library!
Stripe webhooks send events (https://stripe.com/docs/api/events).
The Event struct is defined as (partially)
...
pub data: NotificationEventData,
...

(source: https://docs.rs/async-stripe/0.18.2/stripe/struct.Event.html)
Examination of NotificationEventData shows that it's a unit struct with no impl.
However, there is another type, enum EventData (https://docs.rs/async-stripe/0.18.2/stripe/struct.EventData.html) that looks like it should occupy that field instead.
As a consequence of all this, deserializing stripe webhook Event JSON into Event always produces an empty data field:
{"api_version":"2022-11-15","created":1676683497,"data":{},"id":"evt_1McfAbIHpLLUnAWDGwPuZqiP","livemode":false,"pending_webhooks":2,"request":{"id":"req_IyoaUtGIeIh3hf","idempotency_key":"7526092e-b6f5-4ecc-ab96-2448c354855f"},"type":"customer.created"}

When I instead deserialize into raw serde_json::Value, we can see the webhook POSTed a more complete customer object:
{"api_version":"2022-11-15","created":1676683841,"data":{"object":{"address":null,"balance":0,"created":1676683841,"currency":null,"default_source":null,"delinquent":false,"description":"(created by Stripe CLI)","discount":null,"email":null,"id":"cus_NNQ6MntvErqcPD","invoice_prefix":"250FDE08","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{},"name":null,"next_invoice_sequence":1,"object":"customer","phone":null,"preferred_locales":[],"shipping":null,"tax_exempt":"none","test_clock":null}},"id":"evt_1McfG9IHpLLUnAWD51Hr6Yzi","livemode":false,"object":"event","pending_webhooks":2,"request":{"id":"req_zeSLVaMU1NXBZW","idempotency_key":"a42e4efb-ac71-4675-83ec-50aeb75eae29"},"type":"customer.created"}

Unfortunately I can't propose a fix because I don't (yet) have a handle on how the automatic generation works from OpenAPI schema.
To Reproduce

Set up webhook
Deserialize POSTed data into stripe::Event
Alternatively, deserialize POSTed data into serde_json::Value and observe difference

Expected behavior
The Event object's data field should be of type EventData, not NotificationEventData
Code snippets
No response
OS
mac os x 12
Rust version
rustc 1.67.0 (fc594f156 2023-01-24)
Library version
0.18.2
API version
2022-11-15
Additional context
No response

I noticed the same issue, and can confirm that making my own version of the Event struct with the type-swapped field pub data: EventData seems to work.

I notice that Webhook::construct_event delivers a type WebhookEvent rather than Event. WebhookEvent has field data: EventData, so it solves the problem I was having with Event.
Note also that construct_event validates the webhook payload signature, so that's probably the right way to handle incoming webhook events.
I'm not sure why there are two types (Event and WebhookEvent) that seem to represent the same stripe object, but if they're both needed then I think Event should still be fixed because e.g. Event::retrieve returns the Event missing the data contents.

Hi! The reason we have two types is because NotificationEventData doesn't output in the correct format. To be honest, I think we should have just overridden this case originally but I don't use webhooks personally and this is a very big library :)
I agree that WebhookEvent is probably not really needed, but we currently don't have any mechanism for overriding certain types so that is why it is there.

@arlyon can I ask what you mean by "NotificationEventData doesn't output in the correct format"?
I tried replacing NotificationEventData with EventData, and it did work for me, so I guess I'm not understanding what the issue is.
In my experience WebhookEvent works well (i.e. I am able to deserialize webhook events) but Event is a bit broken (most of the data I would want is trapped behind the data field that doesn't get deserialized). So I hope WebhookEvent doesn't go away in favor of today's Event implementation.

The stripe api doesn't specify what NotificationEventData should actually be and so when the codegen generates that type, it generates an empty struct. This is not a deficiency of the code generation, the openapi definitions literally just don't give us any more info than the fact it is an 'object'. The goal is to remove as much hand-written code as possible, so if we build a mechanism to override NotificationEventData with the correct type, then the auto-generated Event type is correct, and we can remove our hand-maintained copy.


add custompatch tests

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

Comparison is base (aea2a96) 52.78% compared to head (56e8509) 54.92%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
+ Coverage   52.78%   54.92%   +2.14%
==========================================
  Files          16       16
  Lines         934      934
==========================================
+ Hits          493      513      +20
+ Misses        378      361      -17
+ Partials       63       60       -3

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


Assign Problems to Codeforces Contest

Assign Problems to Codeforces Contest for Extension.
Based on User Rating
Select 5 Problems -
Steps -
Filter Problems of Codeforces and Regular Contest
Filter and Exclude Problems that were solved by User
Select Problems in range +-200.

/cib assign problems

User Status - Seen Problem
Problem.objects.filter(platform = 'F' )
Gym Filter ->
Contest Filter ->
contest.objects.filter(Type = 'R' )
Make a list of all ids.
contest.id
Problem.objects.filter(contest = contestsID)
After all Problem Filter
Regular Contest
Excluding seen problems
SolveProblemsAPIView - Read and Understand
-> Rating CodeforcesUser.rating
Problem Filter Select 5 Problems
( Rating % 100 == 0 )
=> Random Rating
Difficulty None


Added my code (arbitrary cloud)

Hey, I added by code to the generators.js file, please pull it :)

That does seem pretty arbitrary!

Thanks ! This is also my first time making a pull request :)
Thanks again :)


Remove number format hex

Caused too much confusion for users.
Default to int format and remove hex from config_spec

Is this just changing line 464 of config_spec.py from
config_number_format: single|str|hex
to
config_number_format: single|str|int

Essentially yes. Probably adjusting a test or two and updating the documentation.

Ok cool thanks, I'm just trying to figure out how to submit a pull

Looked into it some more. In a second step, we could remove the complete line in config_spec (to remove the setting) and just use int as default branch here https://github.com/missionpinball/mpf/blob/dev/mpf/platforms/fast/fast.py#L286.

@gabriellim how are you? can i help you with anything?


Development branch: Alexa instructions - Skill information page errors

Typo - should be 'Custom Interaction Model'
Don't invert font colors for skill and invokation names (makes it look like these are buttons to be clicked (per usage of this style on previous page). Suggest using monospaced (courier) font for text to be entered.
This page in the developer console has a 'Save' button, not a 'next' button

fixed in v2


Can you please make a new release?

I'm working on Project Calico, and I would really like to be able to have everyone use a released version of python-etcd, instead of a Calico-specific or nonreleased version.  Now that the required patches have landed in master, would it be too much to ask to get a new release up on pypi?

Sure. Will do overnight.

Thanks!

Released as 0.4.2


strconv: fmt.Sscanf "0x" "%v" regression in 1.13beta1/tip

What version of Go are you using (go version)?

$ go version
go version devel +01d137262a Mon Jul 29 21:07:49 2019 +0000 linux/amd64
go version go1.13beta1 linux/amd64

Does this issue reproduce with the latest release?
Not with stable releases, yes with latest beta.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/peter/.cache/go-build"
GOENV="/home/peter/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/peter/tmp"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/peter/tmp/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/peter/tmp/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/peter/tmp/go/src/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build986871235=/tmp/go-build -gno-record-gcc-switches"

What did you do?
https://play.golang.org/p/rQsfk3s-_ai

What did you expect to see?
 as with stable releases
What did you see instead?
strconv.ParseInt: parsing "0x": invalid syntax
go-gcfg/gcfg#17

It's not clear to me that it's a regression so much as catching a previously missed error. "0x" is indeed invalid syntax.

Thanks for the issue.
0x is in fact invalid syntax. 1.13 has just made it more strict. I’m going to close this issue. If you feel this is in error then please comment.


Add generic state machine abstraction

This PR adds a generic finite state machine abstraction, called FSM. It does not use it yet. In my next PR, I will use an FSM instance to implement our new connection manager with this. But we can reuse this generic abstraction beyond this one direct use case. I've developed this API based around our specific needs, and optimized it for our own ergonomics, which will make it really neat to implement the new client's internals soon based on the state diagram.
Think of this abstraction as something super generic, not Liveblocks-specific. Inspired by other state machine libraries out there, but not as heavyweight, yet still as powerful. Building it ourselves avoids an external dependency, which is undeseriable for @liveblocks/client.
Most state management libraries define the machine using a big JSON object, but in my experience the larger the state machine gets (and they can get large in practice), the less clear those big config objects become to read.
Basic example
const machine = new FSM({ /* context */ })
  // Define all states
  .addState('red')
  .addState('green')

  // Define all transitions
  .addTransition('red', { GO: 'green' })
  .addTransition('green', { HOLD: 'red' })
  .start();  // After calling start you can no longer configure the machine

fsm.currentState;  // 'red'
fsm.send({ type: "GO" });
fsm.currentState;  // 'green'
fsm.send({ type: "GO" });  // Throws: invalid
fsm.send({ type: "HOLD" });
fsm.currentState;  // 'red'

For the best overview of all features, see the documentation of each method, and/or the unit test suite.
Basic API
The machine can be configured before starting it. Once started, you cannot mutate it anymore. The class has the following methods to configure/define it:

addState()
addTransition()
addTimedTransition() (see below)
onEnter() (see below)
onEnterAsync() (see below)

Advanced features
Wildcard patterns for state groups
To be practical for our needs, it supports state grouping, based on wildcard patterns using dotted state name syntax:
const machine = new FSM({ /* context */ })
  // Define all states
  .addState('aaa')
  .addState('bbb.one')
  .addState('bbb.two')
  .addState('ccc')

  // Define all transitions
  .addTransition('aaa', { GO: 'bbb.one' })
  .addTransition('bbb.*', { ERROR: 'ccc' })
  .addTransition('bbb.one', { GO: 'bbb.two' })
  .addTransition('bbb.two', { GO: 'bbb.one' })

  ...

Here, the "bbb.*" wildcard pattern will allow ERROR transitions from any substate.
onEnter / onExit
You can assign onEnter and onExit handlers for each state, or state group! Nesting these is possible. For example:
const machine = new FSM(/* context */)
  /* Define all states… */

  .onEnter('foo.bar', () => {
    console.log('State foo.bar entered')
  })

  // onEnter functions can return a cleanup function, which will be installed as the onExit handler
  .onEnter('foo.bar', () => {
    console.log('Entered foo.bar');
    return () => { console.log('Left foo.bar'); }
  })

  // onEnter functions can be nested
  .onEnter('foo.*', () => {
    console.log('Entered the foo.* substate');
    return () => { console.log('Left the foo.* substate'); }
  })

  .start();

fsm.send(/* suppose we jump to foo.bar */);
// => Entered the foo.* substate
// => Entered foo.bar
fsm.send(/* suppose we jump to foo.qux */);
// => Left foo.bar
fsm.send(/* suppose we jump to baz */);
// => Left the foo.* substate

This also happens upon fsm.stop(), as you may expect.
Timed transitions
You can define a timed transition for a state.
The simplest case is this:
fsm
  .addTimedTransition('green', 10000, 'red')

This will jump to state red 10 seconds after entering state green, unless another transition out of green has happened in the mean time. This is all automatically managed with timers and cleaned up. (Internally, this nice API is just a special case of .onEnter().)
Promise-based states
The last nice feature is a "promise based state". This will trigger a promise when entering a state, and lets you define what to do when the promise resolves and when it is rejected. What's nice is that if any transition is made out of the state that triggered the promise, and then the promise resolves much later, it will be ignored automatically.
  .onEnterAsync(
    'connecting',
    () => fetch('/auth', { method: "POST" }),

    // When OK
    (result) => 'good',

    // When failed
    (err) => err.status === 401 ? 'failed' : 'backoff',
  )

One argument for the JSON configuration approach is that it's easier to add types. I'm personally in favor of a large up-front setup and be able to call methods with auto-completion and guaranteed correctness. Maybe there's another way we can do add that typing but it'd probably result in a typeset as large as the config right?

I realize I haven’t made something clear enough in the PR description and in these examples. The way I have been playing with this in my local playground (basically trying to use this API to implement the new client) is by explicitly providing type annotations for these machines in the initial constructor.
It’s a bit of a compromise between full type inheritance (which you get from one giant config) and this method based API for configuration. The small price you pay is that you have to duplicate the state names and allowed events (and their payloads), but beyond that, everything is fully type-safe. Even the group wildcard patterns will be inferred correctly, and autocomplete works everywhere.
A more complete usage example showing the types too would be:
type State =
  | "idle.bla"
  | "idle.foo"
  | "xyz"

type Event =
  | { type: "KICK" }
  | { type: "PUNCH" }
  | { type: "SING”, song: string }

const fsm = new FSM<State, Event, Context>(…)
  .addTransition("
//                ^ Will auto-complete with "idle.bla", "idle.foo", "xyz", "idle.*", "*”

Having these explicit State and Event types at the top of your state machine implementation makes it more readable to see what the machine contains at a glance.

One argument for the JSON configuration approach is that it's easier to add types. I'm personally in favor of a large up-front setup and be able to call methods with auto-completion and guaranteed correctness. Maybe there's another way we can do add that typing but it'd probably result in a typeset as large as the config right?

I realize I haven’t made something clear enough in the PR description and in these examples. The way I have been playing with this in my local playground (basically trying to use this API to implement the new client) is by explicitly providing type annotations for these machines in the initial constructor.
It’s a bit of a compromise between full type inheritance (which you get from one giant config) and this method based API for configuration. The small price you pay is that you have to duplicate the state names and allowed events (and their payloads), but beyond that, everything is fully type-safe. Even the group wildcard patterns will be inferred correctly, and autocomplete works everywhere.
A more complete usage example showing the types too would be:
type State =
  | "idle.bla"
  | "idle.foo"
  | "xyz"

type Event =
  | { type: "KICK" }
  | { type: "PUNCH" }
  | { type: "SING”, song: string }

const fsm = new FSM<State, Event, Context>(…)
  .addTransition("
//                ^ Will auto-complete with "idle.bla", "idle.foo", "xyz", "idle.*", "*”

Having these explicit State and Event types at the top of your state machine implementation makes it more readable to see what the machine contains at a glance.

Cool! As long as we have that I'm on board.

Added two changes here, based on practical needs:

696ad4e As expected, it's better to have .send() ignore events that cannot be handled by the current state, than to throw. So basically I've removed .sendIfPossible(), and those semantics are now the default for .send(). Sending a completely unknown event still throws, because that would be a configuration error.
3126f9c I've added event sources, so a user of this API can observe the changes within the machine from the outside, e.g. to produce a debug trace. This is going to be a major power tool for finding bugs!


Automate the generation of release change log draft

PR Summary
Automate the generation of release change log draft.
For a commit that is breaking change, Get-ChangeLog assumes that a [breaking change] tag is put in the commit description body so that it can incorporate this information in the generated changelog entry.
So to @PowerShell/powershell-maintainers, please put the [breaking change] tag in the description body when you squash merge a PR that is a breaking change.
PR Checklist
Note: Please mark anything not applicable to this PR NA.

[x] PR has a meaningful title

[x] Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[NA] User facing Documentation needed

[NA] Issue filed - Issue link:

[x] Change is not breaking
[NA] Make sure you've added a new test if existing tests do not effectively test the code changed

[NA] Add [feature] if the change is significant or affectes feature tests

[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

We have three places where we mark a breaking change - PR description, PR label and now commit description. Can we reduce this amount? Can we use the Breaking change PR label in the script?

@daxian-dbw Thanks for clarify. I agree that keeping the breaking change label in commit description is useful.
Continuing to think about simplifying this process  - can we assign a template to commit description in GitHub and/or Git?

@iSazonov Thank you for the research! Let me play with the hook.
I'm also planning to update the maintainer README.md about the commit message requirement.

@daxian-dbw If you plan to play with Git hooks please take attention on #3504 too.

@iSazonov Will do, thanks!

We should investigate what git hooks can do for us, but I cannot find any docs that GitHub supports these.  I doubt that these would be supported as it would allow fairly arbitrary code to run on GitHub's servers.


Added arm64 support for all OS fixes issue #46

I have also added targets option as below:
    targets:
      - linux_amd64
      - linux_arm64
      - linux_386
      - windows_amd64
      - windows_arm64
      - windows_386
      - darwin_amd64
      - darwin_arm64

Removing the unwanted os configuration will stop making it's binaries

Hey, sorry for the late comment. You should also update the RELEASE_BUILDS variable in the env key of the yml file. Also I wanted to switch the whole build from travis to GitHub actions. If you could do that too, it would be a lot easier

Hey, sorry for the late comment. You should also update the RELEASE_BUILDS variable in the env key of the yml file. Also I wanted to switch the whole build from travis to GitHub actions. If you could do that too, it would be a lot easier

@athul what do you want to add on RELEASE_BUILDS env?

I guess this can be closed due to #49


Noisy results from rendering

Hi I used your code in ./pcn/render/ to generate partial pointclouds from ShapenetV1 models under Ubuntu16.04 with Blender 2.79. But seems like the results are quite noisy and in low resolution (compared to the ones in the ./shapenet/test/ on Google drive).
As shown in the figure below, the upper one (purple airplane) is my rendering result, and the lower one (blue airplane) is the result from your dataset (./shapenet/test/partial/02691156/6ca6c7920c62773073d96deff5ddb8e5.pcd). My points are less than yours (245 points vs 1992 points) and much more noisy from another angle of view. Is it because the partial point clouds in the testset are generated from a different set of camera intrinsic (other than width:160 height:120 with focal:100)? Thanks for your help.

mine-02691156-6ca6c7920c62773073d96deff5ddb8e5.txt
pcn-6ca6c7920c62773073d96deff5ddb8e5.txt

What are the size of the depth images you use? My data was generated with 320x240 depth scans, which should give you 1000~2000 points on average for an airplane. I'm not sure what you mean by the point clouds being noisy. It's really hard to see it from your visualization. The provided data do not contain any noise.

Thanks for the reaching out. Here(pcn_render.zip) is the minimal system for this test (I only fixed the pose angle and changed the resolution for the depth map). There are some pre-generated figures under ./figs. Or if you want to run it, first use blender -b -P render_depth.py shapenet_lite ./model.list ./tmp 1 then python3 process_exr.py model.list ./tmp/intrinsics.txt ./tmp 1.
This time I ran it with the resolution as you suggested (width = 320, height = 240 and focal = 200) and got 1032 points. The following figures are the mesh model, and then the pcl visualizations for the same two point clouds but from different angles (The red one was generated from this python code, and the green one was fetched from the test dataset in google drive)
Notice that there are many noisy points in the red point clouds-"noisy" means they are not belong to the mesh surfaces. One of the possible reason is that they are lying on the boundary of the 2d depth images, and due to some numerical reason, they are not back-projected to the right place in 3d space. But I just wonder why this did not happen in the green point clouds. Do you use any post-processing methods (like filtering or outlier detection, or re-sampling from multiple pointclouds) for that? Thanks for your help.

@mengyuest  Do you have some new findings?

Hi there. Right now the only solution I could come up with is using filtering method. Check this outlier removal from open3d and hope that helps~

@mengyuest @TonythePlaneswalker
Im trying to generate partial model too, but I failed at the very beginning because I can't import both 'Imath' and 'OpenEXR'. I install them both in the common way(pip install) which leads to the disabled result. Can you please give some tips about how to install them correctly?

What are the size of the depth images you use? My data was generated with 320x240 depth scans, which should give you 1000~2000 points on average for an airplane. I'm not sure what you mean by the point clouds being noisy. It's really hard to see it from your visualization. The provided data do not contain any noise.

Is 320x240 and focal=100 for all categories?


Added treeitem role to tree items. Updated a few devDependencies.

Here's the pull request with what I was talking about in #181 issue. Could you merge and release as 0.2.70?

Second commit updating all the possible dependencies without breaking the build. The only dependency that wasn't updated was rollup-plugin-vue that stayed at  4.6.1  because 4.6.2 onward with the latest being 5.1.4 breaking the build.
If you don't want to merge this one, at least merge the first one that was just a small change.

I've updated eslint and introduced vue-cli-service. As a suggestion you could try and convert the entire project to vue-cli-service and use it instead of rollup for a version 0.3.
Please check the commits (and don't mind the broken .eslintrc.js on the 3rd commit, I fixed it on the 4th) and see if it's something useful for the project and merge it.
With this I'll close #180 now.

Just saw PR #183 that was a lot more elegant fix than my way to get rid of the errors I mention in the 3rd commit.

@amsik could you review the pull requests?

@amsik done.


Diagnostic Endpoint URL's need to be udpated

The URL's posted here https://docs.microsoft.com/en-us/sccm/desktop-analytics/monitor-connection-health#windows-diagnostic-endpoint-connectivity need to be updated to match the URL's posted here: https://docs.microsoft.com/en-us/sccm/desktop-analytics/enable-data-sharing#endpoints

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2d515f55-4e5f-4096-865d-799ec7d2f2fd
Version Independent ID: 525deae7-d300-6128-a082-6da52ea45ce2
Content: Monitor connection health - Configuration Manager
Content Source: sccm/desktop-analytics/monitor-connection-health.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

@brianbar-MSFT. Sir will you create a new PR on based on your comment.

Thanks @brianbar-MSFT 😄
I'll review this today so that they are consistent

I made the language consistent between the two articles. The revision should publish live later today.


Reusable release workflow

Adds reusable release workflows for

creating releases with creating mac/windows/linux installer artifacts
uploading a release to pypi

tested on alphapeptdeep (see https://github.com/MannLabs/alphapeptdeep/pull/206) and largely inspired by alphaDIA (so should be usable also for that)
also, works around
https://github.com/erocarrera/pefile/issues/420

thanks for the thorough feedback @ammarcsj , I made some (hopefully) clarifying additions to the Readme.

I think we need to merge this asap, see https://github.com/MannLabs/alphashared/issues/5


feat(dx): add version draft by default

Closes https://github.com/storyblok/storyblok-nuxt/issues/220
@alvarosabu

Hey @alexjoverm @Dawntraoz this is a nice one to have, is this something we could align with the other sdks to have as a global solution?

Agree @alvarosabu let's align with the team to add it as a common behavior!

Hi @Baroshem I have some feedback for you regarding this one after aligning with the rest of the SDKs.
To implement this properly we would need to do it on the js client SDK level so all the rest of the SDKs are aligned, so we consider that the effort outweighs the potential benefits of saving a line or two of code.
Feel free to propose it on the https://github.com/storyblok/storyblok-js-client but is not something that we would directly prioritize
That being said thanks for submitting this PR, we love that you are always thinking about how to improve the DX 🤗


sdp request

I have codico red carrier board. I have used stm32f4 to communicate with qca chip. I have used https://github.com/uhi22/ccs32clara. Can I make a ccs charge controller with this code. I know that I have to implement cp duty cycle and pp reading. How can I test stm32f4 and red carrier board as a pev side.
Also I have white carrier board EI. I have ran Seventax FreeV2G code. I have connected CP and PP pins to red carrier board. But I havent set connection between these modules. I have raspberry pi, 3 red carrier board, white carrier board EI. CAn you help me about testing ccs charge controller with these board? How can I test these boards
SLAC matching succesfull. Im using white carrierd board EI with freeV2G as evse side. stm32 and red carrier board as pev side.
/* our link-local IPv6 address. Todo: do we need to calculate this from the MAC? Or just use a "random"? /
/ For the moment, just use the address from the Win10 notebook, and change the last byte from 0x0e to 0x1e.
You wrote these comments in code (ipv6.c). Idont understand here. Can you explain
Also after slac matching succesfull. [SDP] initiating SDP request. I dont pass the [SDP] initiating SDP request. How can I do sdp
thanks

I have received these outputs over uart
thanks

Seems the codico is crashing. You could try to use pyPLC as evse, this would make it possible to record a pcap trace, which would help analyzing the topic.

Can I run pyPLC on raspberry pi with codico(red-carrier-board-p)?

Yes, the pyPLC runs on Raspberry, and according to the datasheet of the redbeet, it is compatible with the QCA linux driver. I never used this combination, but others did successfully.

Can I coontrol all charge process with pyPlc as pev side on raspberr pi

Johu from openinverter forum uses a beaglebone successfully for real world charging. I use Raspberry for the light bulb demo charging. So the short anser is: yes.

I have changed pevmac with my mac adress in pyPlcHomeplug.py
run with "sudo python3 pyPlc.py" command
I m getting this error
what is the local mac
Also what is the cause of this error
thanks a lot for your supports

I have connected raspberry pi to qca7000(red-carrier-board-p) with spi lines. I didnt use the ethernet cable. I will not use because of cp pe pins in the real world charge process. right?

Yes, you do not need the ethernet cable.


Adding options for hiding drawer buttons (always and desktop only). Fixes #1462.

This touches tabs as well because they need to be aligned to the title.
@surma @addyosmani PTAL!

For reference, here are some desktop and mobile views.
Drawer button:

No drawer button:

LGTM

@sgomes Before I whip something up on my own again, do you have a codepen at hand for cross-browser shenanigans?

Can't really codepen this very well, because it's not a one-line fix. I suggest you instead pull the branch locally, gulp serve and just add the classes to the layout demos in the docs with DevTools.

Changes LGTM, @sgomes

Two LGTMs is probably fine :) If @surma finds something, I'll patch it up separately.
Thanks for the review, @Garbee and @addyosmani!

:fire:

“4 out of 5 browsers agree…” :wink:
Didn’t to the full cross-browser run, but worked fine so far. Thanks, @sgomes!

To be fair, I'd be very surprised if there were any browser differences, given this is just using very basic layout stuff. But, well, you never know! ;)


Add HTTPServer

I've recently been putting time in extending my own CHelper-compatible extension so that it works with other tools aswell. More information about that can be found here. At the moment the extension (on the feature/universal branch) has 21 problem parsers and 13 contest parsers (the supported websites are listed here).
I've added the necessary functionality to Hightail so that it can receive problem data via HTTP POST requests, which my extension can send to a running Hightail instance. I have added the org.json library to parse the JSON data that is sent by my extension.
Here is a little demo: YouTube.

Extremely interesting! Please give me a longer while to review it though, I'm a bit short on time these days. :)

No worries, there's no deadline to this :)

The latest commit adds a link to the extension in the project's readme and brings the window to the front when a problem or a contest is parsed.
If you want to try it yourself, install the extension for Chrome or Firefox, run the project from my fork and go to a problem page like this one. In Chrome the little plus icon should go green and on Firefox a green plus button will be added to the top-right of the url bar. Just click on it and see the magic happen.

Some weeks has passed, do you have an estimate of when you might have some time to look at it?

I made a new release with this functionality, including some comments in README, About dialog, and a pop-up at the beginning. Also made it only listen to localhost (for security reasons and to suppress a prompt from the Windows Firewall).
Thanks again!


asking for help,thx

hello，when i according to tutor，
client.handshake(protocol='rdp', hostname='localhost', port=3389)
it returns an error:
AttributeError: 'NoneType' object has no attribute 'endswith'
all logs output:

from guacamole.client import GuacamoleClient
client = GuacamoleClient('<IP_ADDRESS>', 4822)
client.handshake(protocol='rdp', hostname='localhost', port=3389)
Traceback (most recent call last):
File "", line 1, in
File "/root/py/integrate-server/flask/lib/python3.6/site-packages/guacamole/client.py", line 159, in handshake
instruction = self.read_instruction()
File "/root/py/integrate-server/flask/lib/python3.6/site-packages/guacamole/client.py", line 127, in read_instruction
return Instruction.load(self.receive())
File "/root/py/integrate-server/flask/lib/python3.6/site-packages/guacamole/instruction.py", line 69, in load
if not instruction.endswith(INST_TERM):
AttributeError: 'NoneType' object has no attribute 'endswith'

thx for your help.

oh,i am figure out that,i met that error due to guacamole's version,and i am updating to lastest,it's ok! thx !

are you going to close this now?

Closing as it seems to be resolved.


Admin Login Page

@TarekRamesses @Arti012
Since there is no description about the functionality, I'm cannot Test or close this ticket. Thanks.


Improve article 1409.1259

Most of the images are missing with "NO IMAGE AVAILABLE".

This has been resolved in the latest latexml, and should be visible after the next full ar5iv HTML reconversion.

Upgrade is now visible in the latest ar5iv update.
We still have \AND undefined, leaving open for now.


vnc的连接失败, 如下图

执行下:
docker logs 395e，贴一下日志
以及看下32772端口的chrome远程调试是否能连接上。
最后如果方便的话，提供下相关的docker run命令。

提供下相关的docker run命令
docker run 命令:   docker run -dit -P --name reb -v pwd/rebirth_alo7/logs:/etc/www/logs -v pwd/rebirth_alo7/video:/root/Downloads -e MATERIAL_URL="https://www.alo7.com/en/" -e START_VNC="yes" reb

早上重新启动了下 container: docker container start 395e32d94c46
再docker ps -a:

连接: vnc://<IP_ADDRESS>:32775 失败
浏览器打开:  http://<IP_ADDRESS>:32774 ,  无法打开
以下是 docker logs reb 的信息
root@vagrant-ubuntu-trusty-64:/home/vagrant# docker logs reb
{"source":"Server","message":"Server running at http://<IP_ADDRESS>:80/","level":"info","hostname":"395e32d94c46","material_url":"https://www.alo7.com/en/","timestamp":"2020-08-31 00:04:46"}
{"source":"Server","message":"chrome open","level":"info","hostname":"395e32d94c46","material_url":"https://www.alo7.com/en/","timestamp":"2020-08-31 00:04:47"}
{"source":"Controller","message":"get record task","level":"info","hostname":"395e32d94c46","material_url":"https://www.alo7.com/en/","timestamp":"2020-08-31 00:04:50"}
{"source":"Browser","hostname":"395e32d94c46","material_url":"https://www.alo7.com/en/","level":"info","message":"set action to waiting","timestamp":"2020-08-31 00:04:50"}
{"source":"Browser","hostname":"395e32d94c46","material_url":"https://www.alo7.com/en/","recordInfo":{"material_url":"https://www.alo7.com/en/"},"level":"info","message":"open url","timestamp":"2020-08-31 00:04:50"}
31/08/2020 00:04:51 passing arg to libvncserver: -passwd
31/08/2020 00:04:51 x11vnc version: 0.9.13 lastmod: 2011-08-10  pid: 288
31/08/2020 00:04:51 Using X display :76
31/08/2020 00:04:51 rootwin: 0x298 reswin: 0x800001 dpy: 0x1b525990
31/08/2020 00:04:51
31/08/2020 00:04:51 ------------------ USEFUL INFORMATION ------------------
31/08/2020 00:04:51 X DAMAGE available on display, using it for polling hints.
31/08/2020 00:04:51   To disable this behavior use: '-noxdamage'
31/08/2020 00:04:51
31/08/2020 00:04:51   Most compositing window managers like 'compiz' or 'beryl'
31/08/2020 00:04:51   cause X DAMAGE to fail, and so you may not see any screen
31/08/2020 00:04:51   updates via VNC.  Either disable 'compiz' (recommended) or
31/08/2020 00:04:51   supply the x11vnc '-noxdamage' command line option.
31/08/2020 00:04:51
31/08/2020 00:04:51 Wireframing: -wireframe mode is in effect for window moves.
31/08/2020 00:04:51   If this yields undesired behavior (poor response, painting
31/08/2020 00:04:51   errors, etc) it may be disabled:
31/08/2020 00:04:51    - use '-nowf' to disable wireframing completely.
31/08/2020 00:04:51    - use '-nowcr' to disable the Copy Rectangle after the
31/08/2020 00:04:51      moved window is released in the new position.
31/08/2020 00:04:51   Also see the -help entry for tuning parameters.
31/08/2020 00:04:51   You can press 3 Alt_L's (Left "Alt" key) in a row to
31/08/2020 00:04:51   repaint the screen, also see the -fixscreen option for
31/08/2020 00:04:51   periodic repaints.
31/08/2020 00:04:51
31/08/2020 00:04:51 XFIXES available on display, resetting cursor mode
31/08/2020 00:04:51   to: '-cursor most'.
31/08/2020 00:04:51   to disable this behavior use: '-cursor arrow'
31/08/2020 00:04:51   or '-noxfixes'.
31/08/2020 00:04:51 using XFIXES for cursor drawing.
31/08/2020 00:04:51 GrabServer control via XTEST.
31/08/2020 00:04:51
31/08/2020 00:04:51 Scroll Detection: -scrollcopyrect mode is in effect to
31/08/2020 00:04:51   use RECORD extension to try to detect scrolling windows
31/08/2020 00:04:51   (induced by either user keystroke or mouse input).
31/08/2020 00:04:51   If this yields undesired behavior (poor response, painting
31/08/2020 00:04:51   errors, etc) it may be disabled via: '-noscr'
31/08/2020 00:04:51   Also see the -help entry for tuning parameters.
31/08/2020 00:04:51   You can press 3 Alt_L's (Left "Alt" key) in a row to
31/08/2020 00:04:51   repaint the screen, also see the -fixscreen option for
31/08/2020 00:04:51   periodic repaints.
31/08/2020 00:04:51
31/08/2020 00:04:51 XKEYBOARD: number of keysyms per keycode 7 is greater
31/08/2020 00:04:51   than 4 and 51 keysyms are mapped above 4.
31/08/2020 00:04:51   Automatically switching to -xkb mode.
31/08/2020 00:04:51   If this makes the key mapping worse you can
31/08/2020 00:04:51   disable it with the "-noxkb" option.
31/08/2020 00:04:51   Also, remember "-remap DEAD" for accenting characters.
31/08/2020 00:04:51
31/08/2020 00:04:51 X FBPM extension not supported.
31/08/2020 00:04:51 X display is not capable of DPMS.
31/08/2020 00:04:51 --------------------------------------------------------
31/08/2020 00:04:51
31/08/2020 00:04:51 Default visual ID: 0x21
31/08/2020 00:04:51 Read initial data from X display into framebuffer.
31/08/2020 00:04:51 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/8192
31/08/2020 00:04:51
31/08/2020 00:04:51 X display :76 is 32bpp depth=24 true color
31/08/2020 00:04:51
31/08/2020 00:04:51 Listening for VNC connections on TCP port 5920
31/08/2020 00:04:51 Listening for VNC connections on TCP6 port 5900
31/08/2020 00:04:51 Listening also on IPv6 port 5920 (socket 12)
31/08/2020 00:04:51
31/08/2020 00:04:51 Xinerama is present and active (e.g. multi-head).
31/08/2020 00:04:51 Xinerama: number of sub-screens: 1
31/08/2020 00:04:51 Xinerama: no blackouts needed (only one sub-screen)
31/08/2020 00:04:51
31/08/2020 00:04:51 fb read rate: 2169 MB/sec
31/08/2020 00:04:51 fast read: reset -wait  ms to: 10
31/08/2020 00:04:51 fast read: reset -defer ms to: 10
31/08/2020 00:04:51 The X server says there are 10 mouse buttons.
31/08/2020 00:04:51 screen setup finished.
31/08/2020 00:04:51
The VNC desktop is:      395e32d94c46:20
PORT=5920

Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval.  It should work with any VNC viewer.  Try it by running:
x11vnc -ncache 10 ...

One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
{"source":"Browser","hostname":"395e32d94c46","material_url":"https://www.alo7.com/en/","level":"info","message":"initTimeout","timestamp":"2020-08-31 00:09:50"}
{"source":"Controller","message":"record failed","level":"info","hostname":"395e32d94c46","material_url":"https://www.alo7.com/en/","timestamp":"2020-08-31 00:09:50"}
{"source":"Server","hostname":"395e32d94c46","material_url":"https://www.alo7.com/en/","killMessage":"custom code execution complete","level":"warn","message":"the process was kill","timestamp":"2020-08-31 00:09:50"}
caught XIO error:
31/08/2020 00:09:50 deleted 64 tile_row polling images.
{"source":"Server","message":"Server running at http://<IP_ADDRESS>:80/","level":"info","hostname":"395e32d94c46","material_url":"https://www.alo7.com/en/","timestamp":"2020-08-31 10:35:01"}
{"source":"Server","message":"chrome open","level":"info","hostname":"395e32d94c46","material_url":"https://www.alo7.com/en/","timestamp":"2020-08-31 10:35:02"}
{"source":"Controller","message":"get record task","level":"info","hostname":"395e32d94c46","material_url":"https://www.alo7.com/en/","timestamp":"2020-08-31 10:35:05"}
{"source":"Browser","hostname":"395e32d94c46","material_url":"https://www.alo7.com/en/","level":"info","message":"set action to waiting","timestamp":"2020-08-31 10:35:05"}
{"source":"Browser","hostname":"395e32d94c46","material_url":"https://www.alo7.com/en/","recordInfo":{"material_url":"https://www.alo7.com/en/"},"level":"info","message":"open url","timestamp":"2020-08-31 10:35:05"}
31/08/2020 10:35:06 passing arg to libvncserver: -passwd
31/08/2020 10:35:06 x11vnc version: 0.9.13 lastmod: 2011-08-10  pid: 103
31/08/2020 10:35:06 Using X display :76
31/08/2020 10:35:06 rootwin: 0x298 reswin: 0x800001 dpy: 0xdae6c990
31/08/2020 10:35:06
31/08/2020 10:35:06 ------------------ USEFUL INFORMATION ------------------
31/08/2020 10:35:06 X DAMAGE available on display, using it for polling hints.
31/08/2020 10:35:06   To disable this behavior use: '-noxdamage'
31/08/2020 10:35:06
31/08/2020 10:35:06   Most compositing window managers like 'compiz' or 'beryl'
31/08/2020 10:35:06   cause X DAMAGE to fail, and so you may not see any screen
31/08/2020 10:35:06   updates via VNC.  Either disable 'compiz' (recommended) or
31/08/2020 10:35:06   supply the x11vnc '-noxdamage' command line option.
31/08/2020 10:35:06
31/08/2020 10:35:06 Wireframing: -wireframe mode is in effect for window moves.
31/08/2020 10:35:06   If this yields undesired behavior (poor response, painting
31/08/2020 10:35:06   errors, etc) it may be disabled:
31/08/2020 10:35:06    - use '-nowf' to disable wireframing completely.
31/08/2020 10:35:06    - use '-nowcr' to disable the Copy Rectangle after the
31/08/2020 10:35:06      moved window is released in the new position.
31/08/2020 10:35:06   Also see the -help entry for tuning parameters.
31/08/2020 10:35:06   You can press 3 Alt_L's (Left "Alt" key) in a row to
31/08/2020 10:35:06   repaint the screen, also see the -fixscreen option for
31/08/2020 10:35:06   periodic repaints.
31/08/2020 10:35:06
31/08/2020 10:35:06 XFIXES available on display, resetting cursor mode
31/08/2020 10:35:06   to: '-cursor most'.
31/08/2020 10:35:06   to disable this behavior use: '-cursor arrow'
31/08/2020 10:35:06   or '-noxfixes'.
31/08/2020 10:35:06 using XFIXES for cursor drawing.
31/08/2020 10:35:06 GrabServer control via XTEST.
31/08/2020 10:35:06
31/08/2020 10:35:06 Scroll Detection: -scrollcopyrect mode is in effect to
31/08/2020 10:35:06   use RECORD extension to try to detect scrolling windows
31/08/2020 10:35:06   (induced by either user keystroke or mouse input).
31/08/2020 10:35:06   If this yields undesired behavior (poor response, painting
31/08/2020 10:35:06   errors, etc) it may be disabled via: '-noscr'
31/08/2020 10:35:06   Also see the -help entry for tuning parameters.
31/08/2020 10:35:06   You can press 3 Alt_L's (Left "Alt" key) in a row to
31/08/2020 10:35:06   repaint the screen, also see the -fixscreen option for
31/08/2020 10:35:06   periodic repaints.
31/08/2020 10:35:06
31/08/2020 10:35:06 XKEYBOARD: number of keysyms per keycode 7 is greater
31/08/2020 10:35:06   than 4 and 51 keysyms are mapped above 4.
31/08/2020 10:35:06   Automatically switching to -xkb mode.
31/08/2020 10:35:06   If this makes the key mapping worse you can
31/08/2020 10:35:06   disable it with the "-noxkb" option.
31/08/2020 10:35:06   Also, remember "-remap DEAD" for accenting characters.
31/08/2020 10:35:06
31/08/2020 10:35:06 X FBPM extension not supported.
31/08/2020 10:35:06 X display is not capable of DPMS.
31/08/2020 10:35:06 --------------------------------------------------------
31/08/2020 10:35:06
31/08/2020 10:35:06 Default visual ID: 0x21
31/08/2020 10:35:06 Read initial data from X display into framebuffer.
31/08/2020 10:35:06 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/8192
31/08/2020 10:35:06
31/08/2020 10:35:06 X display :76 is 32bpp depth=24 true color
31/08/2020 10:35:06
31/08/2020 10:35:06 Listening for VNC connections on TCP port 5920
31/08/2020 10:35:06 Listening for VNC connections on TCP6 port 5900
31/08/2020 10:35:06 Listening also on IPv6 port 5920 (socket 12)
31/08/2020 10:35:06
31/08/2020 10:35:06 Xinerama is present and active (e.g. multi-head).
31/08/2020 10:35:06 Xinerama: number of sub-screens: 1
31/08/2020 10:35:06 Xinerama: no blackouts needed (only one sub-screen)
31/08/2020 10:35:06
31/08/2020 10:35:06 fb read rate: 2347 MB/sec
31/08/2020 10:35:06 fast read: reset -wait  ms to: 10
31/08/2020 10:35:06 fast read: reset -defer ms to: 10
31/08/2020 10:35:06 The X server says there are 10 mouse buttons.
31/08/2020 10:35:06 screen setup finished.
31/08/2020 10:35:06
The VNC desktop is:      395e32d94c46:20
PORT=5920

Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval.  It should work with any VNC viewer.  Try it by running:
x11vnc -ncache 10 ...

One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching

应该是网页本身，在预期内的时间内没有调用 rebirth.init()导致的。尝试使用: https://www.bugs.cc/self_page/github/rebirth/webm2mp4/ 地址看下
具体可见: https://github.com/alo7/rebirth/tree/master/examples/webm2mp4

辛苦了, 是我网络配置的问题. 没有访问到虚拟机导致的.
想问问声音录制上是怎么解决的

通过设置 chrome.tabCapture.capture 的参数，来开启声音录制，具体可见:
https://github.com/alo7/rebirth/blob/master/src/chrome-extension/lib/recording.ts#L24
https://github.com/alo7/rebirth/blob/master/src/chrome-extension/lib/config.ts#L4

好家伙, 感谢. 可以随时关闭这个issue了. 我还想复杂了.

好的


lint: Add make lint to github workflow

Summary
Adds make lint to the github PR workflow
Test Plan
Locally run (requires act): act pull_request -j lint
Closes https://github.com/algorand/conduit/issues/75

Any objections to adding a check to ensure that go mod tidy doesn't make any changes?
@algorand/lamprey

Any objections to adding a check to ensure that go mod tidy doesn't make any changes?
@algorand/lamprey

In my opinion that's going to cause a lot of failures for unrelated PRs and be pretty noisy.

Any objections to adding a check to ensure that go mod tidy doesn't make any changes?
@algorand/lamprey

In my opinion that's going to cause a lot of failures for unrelated PRs and be pretty noisy.

It's not clear to me why this would be a problem with unrelated PR's. Let's discuss next standup.


Autowiring with proxy

Hard way
Using type association and intersection with the Lazy class, we can generate proxies and decorators.
class Service {
    public function __construct(
        Lazy|OrmInterface $proxy, // magic proxy
        Lazy&OrmInterface $decorator,
    ) {
        \assert($proxy instanceof Lazy);
        \assert($proxy::class === Lazy::class || $proxy::class === Proxy::class);
        \assert(!$proxy instanceof OrmInterface);

        \assert($decorator::class === 'AutoGeneratedDecoratorClassName');
        \assert($decorator instanceof Lazy);
        \assert($decorator instanceof OrmInterface);

        $proxy->getSchema();
        $decorator->getSchema();

        # Problems
        ## There are the same problems with properties like in Cycle ORM proxy entities
            $proxy->list[] = 'foo'; // error if proxy is not resolved
            $foo = &$proxy->list;   // error
        ## Decorator will have very difficult code
        ## Decorator is non-compatible with final classes and methods
    }
}

Simple way
Make the proxy without magic, just with get() method.
/**
 * @template TDefinition
 */
class Proxy {
    /**
     * @return TDefinition
     */
    public function get(): mixed;
}
class Service {
    /**
     * @var Proxy<OrmInterface> Use template for autocompletion
     */
    private Proxy $orm;

    public function __construct(
        Proxy|OrmInterface $proxy,
    ) {
        $this->orm = $proxy; // Mb psalm will throw some warning here
    }

    public function doSomeAction() {
        $this->orm->get() // Resolve ORM
            ->getSchema();
        // ...
    }
}

Love it. We can also use attributes.


Fresh Fleek install emits "Could not find suitable profile directory" error, other usability notes

Describe the bug
Fleek failed to apply after following the installation instructions
To Reproduce
sh <(curl -L https://nixos.org/nix/install) --daemon # I installed nix for this :)
mkdir -p ~/.config/nix\
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
nix run github:ublue-os/fleek -- generate --help\
nix run github:ublue-os/fleek -- init
nix run github:ublue-os/fleek -- apply

And I observed the error : Could not find suitable profile directory, tried /home/james/.local/state/home-manager/profiles and /nix/var/nix/profiles/per-user/james
I created the first directory and tried to reapply and saw the same failure -- after I created /nix/var/nix/profiles/per-user/james fleek worked like a charm
Expected behavior
There should be no failure. Very likely that this is a nix specific because i didnt use the zero to nix installation. Figure I'd post for posterity :)
Environment

OS: Ubuntu 20.04
Shell: zsh
fleek version:  boostrapped, 0.9.0

Additional context
Following the error message resolved this issue! Figure I would post anyway so people aren't suprised in the Future. Excited to explore fleek! Seems like a great tool.
Would love to have some sort of forum how to do a little Q+.  Now im trying to figure out how I can customize my zshrc and have fleek version control that. After some googling, I see that nix programs are the way to go. The concept of a program makes sense and seems very powerful  but how they plug into fleek is a little bit confusing.  (e.g. where do I create a file to describe my program? Or is a file required at all?).
UPDATE 1: I found the programs.nix file! Its in the same directory as the fleek.yml file -- just had to follow the symlink

@1024bees I tried this steps but I was still getting the same error. Was there any content in those files you created?

@adefemi171 unfortunately no, all i did was mkdir -p /nix/var/nix/profiles/per-user/james and mkdir -p /home/james/.local/state/home-manager/profiles

Thanks, for some reason I retried it again after few hours and it worked

No, I think I just opened a new shell

https://github.com/ublue-os/fleek/issues/194#issuecomment-1587622987 appears to provide a workaround for this issue


What Are You Using To Build FFMPEG???

What OS?
What Build Env?
I'm looking to build at this "EXACT" commit but have everything enabled all demuxers all codecs etc everything....
https://github.com/FFmpeg/FFmpeg/commit/fe95a37144077d1f652088fcb25b2949e4a3da19
trying to use it with Audacity For Windows 64bit

I'm not sure I understand what you're asking? The docker images and Dockerfiles used to build them are all in the images directory of this very repository.
It's based on Ubuntu 21.10, but the base os is mostly irrelevant anyway.

like what dependencies are required to actual build the thing

To use this set of scripts you mean?
bash and docker.
See scripts.d for all the available ffmpeg dependencies.

Am I able to have it build at that exact commit of FFmpeg and somehow ./configure --enable-all ????

It's very unlikely --enable-all is going to work.
Modifying build.sh to checkout a specific commit before building should be fairly simple. Literally just add git checkout after git clone.

git checkout fe95a37144077d1f652088fcb25b2949e4a3da19

Nothing. Github cloud is building it.

is it maybe possible to see which demuxers your auto builds are missing and not enabled? maybe they are not enabled because they are not gpl / lgpl compliant?

Not easily, but I'd assume it's the vast majority of them.
If you want to find out exactly, you'll have to grep the ffmpeg code for all possible demuxers, and compare it what the ffmpeg binaries here list.

its just funny that your ffmpeg build contains SOL (Sierra SOL) which is for old MS DOS games but not MOD which is used in games like Unreal Tournament 99
kinda curious why you would leave out so many codecs and demuxers in your build is that to save space or as mentioned not gpl / lgpl codecs
VLC media player for example will play MOD files just fine and VLC is a pretty big project

What do you mean, "leave out so many codecs and demuxers"?
This build is close to 100MB binary size, it's the opposite of leaving stuff out.
Anything that's not outrageously huge of a dependency is or can be included if someone requests it.

These builds have support for playing mod files via libopenmpt just fine.
Just confirmed by downloading a random file (https://api.modarchive.org/downloads.php?moduleid=179345#unatco_music.umx) and playing it with ffplay successfully.
So I blame Audacity for that.

I blame Audacity for alot of things......... they dont want to support ffmpeg 59 because its not released yet but thats a whole other can of worms..........

maybe just this specific build does not??????

That's a really old build, from long before openmpt was added.

ok ya this is a "let me stick my middle finger up Audacity's ........... " (long beep.wav)

I fail to see how that's related to audacity. Just download a more up to date build?

one of your builds??????? did you not see that I tried that and audacity was like....... nope we dont like ffmpeg 59

Download 4.4 then.

feel free to comment on this
https://opensource.stackexchange.com/questions/12505/gplv3-restricting-end-user

Audacity merged 4.4 ffmpeg support patch recently, i commented on it.

4.4 is lavc soname 58.
5.0/current master is 59.

5.0 should be supported too...

If 4.4 support was just recently merged, that's highly unlikely.

could I just pay you or someone a bunch of money to basically just build me a copy of ffmpeg with all the codecs and formats available using the commit I talked about in the OP because it is basically the last commit that will work with Audacity

That makes no sense. Audacity claims to support FFmpeg 4.4, and there's downloads for that in the releases of this very repository.

FFmpeg 4.4 is AVformat 58? or 59? sorry thats the part I am lost on

Just download the archive and check, can't tell you at the top of my
head either.

on FFmpeg's website...........
April 8th, 2021, FFmpeg 4.4 "Rao"
the commit I posted in the OP was Apr 27 2021 a couple days after 4.4

also for the record they have even been testing removing version checks with 0 success
https://github.com/LWinterberg/audacity/actions/runs/1670996747

I tried using LWinterberg's stupid version that tried to remove the version checks and attempted to load in ANY of your builds after Apr 27 2021 and none of them worked


model_tag_values does not tag some technologies correctly

New_Build column in the generator data frame has some anomalies. For instance, although I say
model_tag_values:
New_Build:
Natural Gas: 1
in settings file, natural_gas_fired_combined_cycle and natural_gas_fired_combustion_turbine have 0 in New_Build column of the data frame. I thought that it would be enough to write Natural Gas: 1 in model_tag_values because str.contains() will do the job and make every natural gas 1.
There was a similar problem for Landbased Wind. It is a new resource according to atb_new_gen parameter, but New_Build column of generator data frame had 0 for this resource. I checked New_Build of model_tag_values parameter and it was Landbased Wind: 1. I removed the space and made it LandbasedWind: 1. After running this, New_Build column turned to 1 for this resource.

The string matching includes spaces. Existing resource names are based on EIA technology names and have spaces. New-build resource names are based on _<tech_detail> from ATB. So Natural Gas is a good string match for existing Natural Gas Combined Cycle or Natural Gas Combustion Turbine. And NaturalGas is a match for NaturalGas_CTavg.
Capitalization is ignored in the string matching.
You can take a look at the associated code here.

@fikrikscg Did this solve your problem? If so, I'm going to close the issue.

Yes, it solved the problem. Thank you for the clarification.
I have a related question. I realized that there are some generators both in EIA (existing resources) and ATB (new build resources) with spaces in their names. For instance, existing coal unit has a name of "Coal Integrated Gasification Combined Cycle" and new build resource has name of "Coal" and technology detail is "newAvgCF". How do I distinguish existing and new build resources? Something like the following?
New_Build:
Coal Integrated: 0
Coal newAvgCF: 1

Okay, I understand. Correct format for new build resources is Coal_newAvgCF or CoalnewAvgCF for the above example. You can close the issue.


Flash area erase doesn't support full erase

Describe the bug
We have a custom sequence in our bootloader (mcuboot) that programs to the primary flash partition using a USB mass storage device. It does a flash erase by calling flash_area_erase(fa, fa->fa_off, fa->fa_size); where fa->fa_off is 0x40000 (start of partition) and fa->fa_size is 0x300000 (3MB slots) in our case. This should delete the whole partition but instead, It fails on the is_in_flash_area_bounds function. This is because fa->fa_size is being used to ensure that the area is within bounds but this should be off+fa->fa_size as that's where the end address of the flash area is.
static inline bool is_in_flash_area_bounds(const struct flash_area *fa,
					   off_t off, size_t len)
{
	return (off >= 0) && ((off + len) <= fa->fa_size);
}

See zephyr/subsys/storage/flash_map/flash_map.c for flash_area_erase function definition.

To Reproduce
Steps to reproduce the behavior:

Have flash with partitions in your DTS.
Open the flash primary partition and erase it completely as below:

  const struct flash_area* fap;
  int ret = flash_area_open(1, &fap);
  if (ret != 0)
  {
    BOOT_LOG_INF("flash_open fail(%d)", ret);
    return ret;
  }

  ret = flash_area_erase(fap, fap->fa_off, fap->fa_size); // Erase the partition completely
  if (ret != 0) //fails
  {
    BOOT_LOG_INF("Erase fail(%d)", ret);
    return ret;
  }

Expected behavior
The expected behaviour is flash_area_erase should delete the whole partition.
Impact
Unable to delete the flash area beyond the fa->fa_size.
Environment (please complete the following information):

OS:  Zephyr 3.7

You're using the wrong parameters, this isn't a bug, the erase offset is the offset from the flash area, fa_off is the internal offset from the start of the flash device, so if you have a 3MiB flash device and partition starting at 1MiB of 1MiB then fa_off will be 1MiB, that doesn't mean you pass 1MiB into the erase function, it will rightfully fail because you are trying to erase at offset 1MiB from the partition, which would be 2MiB from the base flash device

@nordicjm  Thanks, that makes sense. Sorry for the misunderstanding.


Set ARA plugin directories as environment variable on startup

Add a short script which runs at login to ensure ARA plugin location is added to the environment

This one hit me, when I was trying to configure ARA the way I do so on my bare metal Ansible installation: via an export (like descripted in the official documentation):
export ANSIBLE_CALLBACK_PLUGINS="$(python3 -m ara.setup.callback_plugins)"
Unfortunately, setting the environment with an env variable or env-file does not resolve the path of ARA properly. This ahs to be done on "shel startup".

Added this feature to the planned 6.6.0-b3 release


ReferenceError: onshow_callback is not defined in Firefox

Steps to reproduce the issue in Firefox.

Add onshow="onshow_callback" attribute on form element
Add dropdown-menu in form
Click Edit button, everything is OK, the callback is triggered correctly.
Click dropdown-menu, it doesn't show. Console shows: ReferenceError: onshow_callback is not defined

jsfiddle example

This is a strange one.
It works in chrome/safari but not Firefox.
I tried a bunch of things, but couldn't get it to work in Firefox.
It's as if bootstrap/jquery is hijacking the click event meant for xeditable, or maybe xeditable is handling it, but it then falls through to bootstrap/jquery.

@ckosloski it could work if the dropdown-menu is created by angular-bootstrap library.

I can see if I can get something added in the next couple of weeks.
Or, your welcome to create a PR yourself :)

@sinall how do you plan to use the dropdown-menu in an editable form?

@ckosloski I use it to refresh the select list and view/create new item.

@sinall so the inputs are linked?
An item is selected in the dropdown-menu and this populates the select with values?  Then a value is in the chosen in the select and the form submitted?

The inputs are editable-select, a dropdown menu is next to it.
The items in the select could be viewed/created/refreshed by choosing one of the dropdown menu item.

Maybe two editable-select's with e-ng-change would work for you?
I updated the jsFiddle from #521 here

Doesn't work on firefox, did you change the code? I can not find 'e-ng-change'.

Sorry, I pasted the wrong link.
Try this one

I tried several times. But it doesn't display correct.
It shows like this:

Brand: Ford
Model: havent selected
car { "brand": "Ford", "model": "havent selected" }
brands [ { "value": "Ford", "text": "Ford" }, { "value": "Toyota", "text": "Toyota" }, { "value": "Nissan", "text": "Nissan" } ]
models{ "Ford": [ "Focus", "Fiesta" ], "Toyota": [ "Camry" ], "Nissan": [ "Siesta", "Sentra" ] }

OK, so it seems there is an issue with the value being initially set..
If you select Toyota, then select Model, it only shows Camry.


Authentication in NextJS - NextAuth's capabiltities, signing in with Metamask

This would be a great talk, because
Next.js is a React framework that has been gaining a huge traction in recent years. NextAuth is the quasi-official authentication solution for Next, and while it has it's drawbacks it is a very powerful and easy-to-integrate authentication solution. We can demonstrate it's capabilities by solving a harder problem, authenticating users via their Metamask wallets.
Abstract
Nextjs is a framework that handles most aspects of frontend development, from routing through static/server side rendering to dynamic pages. Authentication handling is not built-in to Nextjs. The most popular library that specifically targets authentication in Nextjs is NextAuth.
NextAuth is mainly built to handle OIDC flows with various providers like Github or Google but it is possible to create custom authentication providers. With the increasing popularity of Web3 dapps there'll need to be a strong authentication layer in most applications that currently has to be custom written to a huge extent. Authenticating without giving out personally identifiable data or contact information is an ever increasing need. In this talk we implement an authentication flow that only requires access to a crypto wallet to prove user identity.

I'm Peter Karolyi, CTO of Dakai Group, a driver of emerging technologies in the tech world. Our company has been at the forefront of El Salvador's bitcoin roll out, we helped Spotify, Lufthansa and others adopt new technologies as well as we're working with Binance and Solana on their next big products including the Solana mobile phone that will be the first Android smartphone with a hardware wallet.

Details
What language would you prefer to present this talk

[ ] english
[X] hungarian

Would your employer / company host the Meetup for this talk?

[ ] yes!

Can we please talk about Sign in with ethereum instead of Metamask.
I assume this is the intended focus of the talk. https://login.xyz/
https://tally.cash/ also supports this, and incidentally I work on that project ... 🙃

Looking at percentages, how much is this about NextAuth / Next and how much is about Metamask auth?
Context for asking this: would the audience adopt what they learn easily with GH/Goggle/FB or Okta Auth for example?

Another question: the abstract looks pretty nice in English, you sure this is a talk presented in Hungarian? :D

@necccc I am flexible about the direction of the talk based on what the audience is most likely to be interested in. The providers you list are all Oauth capable and as such, they are easily integrated with NextJS without any additional hassle. I can talk more in-depth about the limitations of NextAuth around non-OAuth providers like email/password login.
I can present this in English if there is a need for that, but I prefer talking in Hungarian.
@greg-nagy to your point this is not about SIWE, when we first solved this problem I'm not sure if that even existed. But the solution we used and I want to present is very similar. We generate a nonce, ask the user to sign it, and check the signature with the public key. If I see correctly SIWE abstracts away the nonce generation/validation portion of this and is able to work with multiple wallets, is that correct?

@pkarolyi Thanks, I'd like to keep it simple as possible, the auth logic itself can be complex enough for newcomers.
I'd love to see this talk with NextAuth, Next.js and one of the OAuth provider, whichever you prefer.
Would it be possible to have this talk ready by the end of November?

@necccc Can you send me an email with the details of the event<EMAIL_ADDRESS>I will answer this week if I'm able to make it, thanks!


Plans for editions

Hello
I've started to edit the lifetimes chapter because NLL is coming with the 2018 edition and there are some differences (and some „should not compile“ examples actually compile under that edition). Then I noticed that even nightly still doesn't use NLL on the 2015 edition and my new examples fail the mdbook test (and I haven't found a way to enable the 2018 edition in mdbook).
My question is what should nomicon do about editions. Should it mostly aim for the latest one and optionally point out differences to previous editions? Should it start getting „ported“ as soon as possible? If so, what about the failing examples? Or should I postpone the migration and just make sure that one example (https://doc.rust-lang.org/nightly/nomicon/lifetime-mismatch.html) successfully fails to compile?

In general, most documentation focuses on just the “latest” edition, and I’d think that applies to the nomicon too.
That said, I can also see it having a 2015 section...

On Nov 3, 2018, at 8:19 PM, vorner<EMAIL_ADDRESS>wrote:
Hello
I've started to edit the lifetimes chapter because NLL is coming with the 2018 edition and there are some differences (and some „should not compile“ examples actually compile under that edition). Then I noticed that even nightly still doesn't use NLL on the 2015 edition and my new examples fail the mdbook test (and I haven't found a way to enable the 2018 edition in mdbook).
My question is what should nomicon do about editions. Should it mostly aim for the latest one and optionally point out differences to previous editions? Should it start getting „ported“ as soon as possible? If so, what about the failing examples? Or should I postpone the migration and just make sure that one example (https://doc.rust-lang.org/nightly/nomicon/lifetime-mismatch.html) successfully fails to compile?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

yeah as a matter of policy, the nomicon tries to stick to the present, with references to versions when it's a potentially volatile issue (e.g. "as of rust x.y.z, ..."). Old versions are always available for the interested reader.

As for migration, we can always land the examples as ignore as a transitional measure.

According to https://github.com/rust-lang/rust/blob/master/src/doc/rustdoc/src/documentation-tests.md, you can use ```edition2018 to make your doctest compile with the new edition.

Thank you, yes, I was already pointed to that direction :-). I must have been reading the stable-rustdoc documentation.
It is working for me now (I'll see if it actually passes CI once I submit the PR).
I guess this can be closed, then.


[doc] Socket States Diagram

Description
This PR closes https://github.com/demikernel/demikernel/issues/728

Can you change the socket state from connected to established?

@iyzhang do you mean fixing the source code?

Can you change the socket state from connected to established?

@iyzhang do you mean fixing the source code?

Yes, the diagram should match the code, so either change one or the other.


Channels clean ups

Description:
This is a follow up to #12937 to clean some things up on the Channels media player.

All the review issues have been addressed. This is ready for 👀s again.
Thanks!