GHAE Status Page

Summary
Similar to GitHubstatus.com, we are launching a status page for GHAE at GHAEstatus.com.  The status page will report on the availability of GHAE services for each GHAE regions.
Intended Outcome
The goal is to enable all GHAE users - both end users and administrators - to have a single source of accurate, live and real-time information on the status of GHAE regions. In the case of a service degradation, we hope that GHAE end users will initially check the status page before contacting their administrator.
How will it work?
GHAE customers will be able to see the availability of GHAE regions, broken down by core service. No specific customer information will be published. The page will look and operate in a very similar fashion to the GitHub.com status page.
Here is a mockup of the page design.

🚢 Shipped!


Pretty printing: implement expr pretty printer for Elixir

I try to implement it in PR #21

I think we can consider it done.


XPSNR Tune

SvtAv1EncApp already has PSNR & SSIM RDO tunes, so I think an XPSNR tune would go a very long way. I am definitely in over my head with this one though, so let me know if you can help, or just make a PR!

https://github.com/gianni-rosato/xpsnr

https://github.com/gianni-rosato/xpsnr/commit/d86c164b5f8a685830ee52896b490c903c9e8d6c#diff-6b79ce28905155e61de292b88cd21d48015e3fbbc3bbe97cf1669cf2fb9211f1
this file is bugged.

https://github.com/gianni-rosato/xpsnr/commit/d86c164b5f8a685830ee52896b490c903c9e8d6c#diff-6b79ce28905155e61de292b88cd21d48015e3fbbc3bbe97cf1669cf2fb9211f1
this file is bugged.

Now is fixed.

It's important to note that the PSNR and SSIM tunes don't measure PSNR or SSIM, they're simply optimized to maximize the relevant metric. In essence, svt-av1-psy so far has become a "ssimulacra2" pseudo-tuned, in that we've been using that as the primary metric to measure against.

I don't think we're interested in pursuing this further, so I think it is a safe bet to say this should be closed.


README - Update fix command for MacOS

Hi
There is no -r arg for the xattr command anymore.

This command is enough for fixing MacOS problem:
sudo xattr -d com.apple.quarantine /Applications/Another\ Redis\ Desktop\ Manager.app

Thx, I've found this issue.
Actually, you  don't need to execute this command anymore, I had notarized it to Apple already since v1.6.4

But I am a little worried that removing the -r parameter will cause problems on lower versions of Mac


Offer Docker image?

That'll be much convenient.

Thanks @jostyee for a good suggestion!
I agree that it is useful to build docker image.
Would you be interesting in submitting a PR about Dockerfile?

I tried but the repo's releases tag versions & archs are really confusing.

Oh...I mistook the tag number to archives, sorry. I've fixed the version number of the archive names.
And archs follows the description of this site.
amd64 (also known as x86-64)
  A mature implementation.
386 (x86 or x86-32)
  Comparable to the amd64 port.

Do you have any other points that confused you?

uname -m returns x86_64 so you can't construct a download url based on the host arch simply pass this param.

Make sense, that's important.
I've fixed archs and version tag of release archive names.

Sorry for the delay, I've met another issue, this repo doesn't support GitLab OAuth login, which I need to test 'cause we have disabled user/passwd login method.

Thank you for reporting it! Yes, as you say matterpoll supports only user/passwork as login method.
I made issue #8 and I'll work on this. Please wait for closing #8.

We are focusing to develop Matterpoll plugin.
Please consider using this plugin.


[PartialAdmission] A partially admitted workload blocks admission when free resources

What happened:
A partially admitted workload does not allow other small workloads to get admitted, even if resources are available.
What you expected to happen:
A partially admitted workload does not block admission if there are free resources.
How to reproduce it (as minimally and precisely as possible):
I have the cluster structure as below:
# default-flavor.yaml
apiVersion: kueue.x-k8s.io/v1beta1
kind: ResourceFlavor
metadata:
  name: "default-flavor"
---
apiVersion: kueue.x-k8s.io/v1beta1
kind: ClusterQueue
metadata:
  name: "cluster-queue"
spec:
  namespaceSelector: {} # match all.
  resourceGroups:
  - coveredResources: ["cpu", "memory"]
    flavors:
    - name: "default-flavor"
      resources:
      - name: "cpu"
        nominalQuota: 9
      - name: "memory"
        nominalQuota: 36Gi
---
apiVersion: kueue.x-k8s.io/v1beta1
kind: LocalQueue
metadata:
  namespace: "default"
  name: "user-queue"
spec:
  clusterQueue: "cluster-queue"

we have also two Job types, small.yaml:
apiVersion: batch/v1
kind: Job
metadata:
  generateName: sample-job-
  labels:
    kueue.x-k8s.io/queue-name: user-queue
spec:
  parallelism: 3
  completions: 3
  suspend: true
  template:
    spec:
      containers:
      - name: dummy-job
        image: gcr.io/k8s-staging-perf-tests/sleep:v0.1.0
        args: ["600s"]
        resources:
          requests:
            cpu: "1"
            memory: "200Mi"
      restartPolicy: Never

and big.yaml:
apiVersion: batch/v1
kind: Job
metadata:
  generateName: sample-job-
  labels:
    kueue.x-k8s.io/queue-name: user-queue
  annotations:
    kueue.x-k8s.io/job-min-parallelism: "1"
spec:
  parallelism: 9
  completions: 9
  suspend: true
  template:
    spec:
      containers:
      - name: dummy-job
        image: gcr.io/k8s-staging-perf-tests/sleep:v0.1.0
        args: ["600s"]
        resources:
          requests:
            cpu: "1"
            memory: "200Mi"
      restartPolicy: Never

Steps:

create the cluster structure
create 2 small.yaml jobs, each consuming 3 pods, so 6 pods total.
create big.yaml Job, 3 pods are created (correctly), but the CQ misreports usage as 15 units (6 + 9).
delete the small Jobs, the big Job continues to use 3 pods, but reports consuming 9 resources
I create two new small jobs requesting 3 pods which should fit (as the big one only created 3 pods), but they remain suspended

/assign @trasc


Default context to fix bug with some requests returning 404

This change is to fix an issue with HTTP requests returning 404 for some URLs, despite the URL functioning as expected in browsers, curl, wget, etc. Only affects Python versions earlier than 3.10.
Bug Description:
When using a Python version earlier than 3.10, some HTTP requests return 404 through the urllib.request.urlopen function. This seems to be happening most often with Wordpress CDN urls. Some examples:
https://i0.wp.com/live.staticflickr.com/65535/51671200033_559f07d991_b.jpg?resize=450%2C300
https://i0.wp.com/live.staticflickr.com/65535/51882032946_514849a9c0_b.jpg?resize=450%2C300
https://i0.wp.com/live.staticflickr.com/65535/52563715365_4c0d7bd19b_b.jpg?resize=450%2C300

These urls work as expected in the browser, but fail with the aforementioned function.
Fix:
Adding a default context and setting the ALPN protocol seems to resolve the issue. The change should be pretty safe as it's the same change in Python 3.10+.
Discussion: https://bugs.python.org/issue40968
Source: https://github.com/python/cpython/commit/f97406be4c0a02c1501c7ab8bc8ef3850eddb962

@rom1504 Any interest in this bug fix?

thanks


Allow specifying client/server through env vars

The switch to the unified binary caused some issues (unless I'm missing something) when it comes to running the server through coc.nvim. The lack of something like rust-analyzer.server.extraArgs makes it impossible to run specifically the server or client since there is no way to pass the appropriate subcommand (without resorting to things like wrapper scripts)
This change remedies that issue by allowing for running the client and server by setting the RA_MUX_RUN_CLIENT and RA_MUX_RUN_SERVER env vars respectively to truthy values. This makes ra-mux workable with a coc config like (related #28)
{
	"rust-analyzer.server.path": "/usr/local/bin/ra-multiplex",
	"rust-analyzer.server.extraEnv": {
		"RA_MUX_RUN_CLIENT": true,
	}
}

Hi, I've now changed main to support LSP clients which don't easily allow passing extra cli arguments by making the "client" subcommand the default (this was the intention all along but I didn't notice it wasn't working with clap).
Unless you think there's still some usecase for this I'd close the PR.

Nope, that sounds great!


Provide a template function to create dictionaries from YAML values

What would you like to be added:
Currently, all parameters of an operator are handled as strings. For some scenarios it will be helpful to provide parameters as multi-line dicts in YAML. With a function to convert this YAML to a dictionary, sprigs dict functions could then be used to access values. An example would be to define a node topology for a rack-aware operator like
NODE_TOPOLOGY: |
    regions:
      - name: us-east-1
        zones:
          - name: us-east-1a
            nodes: 2
          - name: us-east-1c
            nodes: 1

With such a function, e.g., called yamlToDict and sprig, the following would be possible in a template:
{{ with $topology := yamlToDict .Params.NODE_TOPOLOGY }}
  {{ range (values (get $topology "regions")) }}
    {{ printf (values (get . "zones")) }}
  {{ end }}
{{ end }}

Why is this needed:
Support complex deployment scenarios for operators. The above example defines a topology for a rack-aware operator.

Allowing parameters to be of any value should work as well. Currently, parameters are stored as map[string]string, but storing them as map[string]interface{} instead would allow to storage another map as value. This should all be accessible from Go's template engine. Will run some tests to confirm this.

I wonder how this relates to https://github.com/kudobuilder/kudo/issues/1221 which is also about supporting more than plain strings... :thinking:

Very much related, yes. I'll create a KEP that covers the use cases of this ticket as well as #1221 and #988.


MongoDB Aggregation: TypeScript Error and Issues with aggregateRaw on Date Fields

Bug description
I'm encountering an issue with Prisma's aggregateRaw method when using date filters ($lt or $gt) in MongoDB pipelines. Specifically, the query returns an empty array, as shown in this screenshot:

However, when I run the identical query directly in MongoDB Compass, it works as expected and returns the correct results.
Interestingly, I've also noticed that the aggregate method's type handling is not aligning with the examples provided in the Prisma Data Guide for MongoDB Aggregation Framework, as evidenced in this screenshot:

I am looking for insights or solutions to resolve the discrepancy in behavior between aggregateRaw and MongoDB Compass, particularly regarding the handling of date fields in aggregation pipelines.
How to reproduce
Run the query specified in prisma client side code.
Expected behavior
No response
Prisma information

model Invoice {
  id              String   @id @default(auto()) @map("_id") @db.ObjectId
  pdf             String?
  invoiceNumber   String
  currency        String
  date            DateTime
  dueDate         DateTime
  invoiceSeriesId String   @db.ObjectId
  adjustment      Float
  totalTax        Float
  totalCGST       Float
  totalSGST       Float
  totalIGST       Float
  total           Float
  totalInWords    String?
  accountId       String   @db.ObjectId

  customer        Customer
  status          InvoiceStatus
  type            InvoiceType
  sellerAddress   Address
  billingAddress  Address
  shippingAddress Address[]
  payment         Payment?

  remarks  String?
  metadata Json?

  series      InvoiceSeries @relation(fields: [invoiceSeriesId], references: [id])
  items       InvoiceItem[]
  creditNotes CreditNote[]
  account     Account @relation(fields: [accountId], references: [id])
}

Environment & setup

OS: MacOS
Database: MongoDB
Node.js version: v18.18.2

Prisma Version
Environment variables loaded from .env
prisma                  : 5.7.0
@prisma/client          : 5.4.2
Computed binaryTarget   : darwin-arm64
Operating System        : darwin
Architecture            : arm64
Node.js                 : v18.18.2
Query Engine (Node-API) : libquery-engine 79fb5193cf0a8fdbef536e4b4a159cad677ab1b9 (at node_modules/.pnpm/@prisma+engines<EMAIL_ADDRESS>Schema Engine           : schema-engine-cli 79fb5193cf0a8fdbef536e4b4a159cad677ab1b9 (at node_modules/.pnpm/@prisma+engines@5.7.0/node_modules/@prisma/engines/schema-engine-darwin-arm64)
Schema Wasm             : @prisma/prisma-schema-wasm 5.7.0-41.79fb5193cf0a8fdbef536e4b4a159cad677ab1b9
Default Engines Hash    : 79fb5193cf0a8fdbef536e4b4a159cad677ab1b9
Studio                  : 0.495.0

Sorry my bad! I was using wrong database.


Pad the OS/2 achVendID value with spaces per the OpenType specification.

Fixes #3280.

but what sets that field? should that be fixed to do the padding instead? In this case, I'd prefer if fonttools OS/2 table reader/writer keep whatever was there to begin with, rather than fix things up upon compile...

yeah, I think this is not the job of fonttools, I prefer we pad with spaces in ufo2ft instead

@anthrotype The field is set by outlineCompiler.py in ufo2ft. I thought it would be the job of the library that generates the binary data to ensure it is correctly written.


Add a rest API to run a flow in pilotage

Method: POST
Body: Flow yaml data
Return: 201/400

ping @wangkirin @crystaldust

pong !
I will write down the interface definition later.

see PR #556  @genedna

Closed By #556


Multiple Fix

MatchesTable.vue :

Adding the name of the server where the match will be played
Adding a connect button
Fix the display of the team1 name wasn't  show

MatchInfo.vue

Adding a connect button with the name of the server you will join

Translation.json

Adding multiple value in FR / EN relative to this update

Fix : Using a relationship to show the right TeamName in place of using match.team1_string and match.team2_string to keeping the information up-to-date

Also, please continue to use the match specifically, or have it choose the Team name if it is not a pug, or the team exists :) that way the API would not need to be changed as much, either.

What is "pug" ?


LazyTraceThreadPoolTaskExecutor.getQueueSize() does not call a delegate and always returns 0

Describe the bug
When enabled, Sleuth instruments ThreadPoolTaskExecutor beans by wrapping them in LazyTraceThreadPoolTaskExecutor proxies.
Unlike the other ThreadPoolTaskExecutor methods, LazyTraceThreadPoolTaskExecutor for some reason does not
override/delegate getQueueSize(), which is always returning 0.
Sample
sleuth-instrumentation-thread-pool-bug.zip
It is a simple Spring Boot application with an async method and custom ThreadPoolTaskExecutor for it.
There is a test emulating a concurrent workload by submitting more tasks than the custom executor can process simultaneously.
The test runs twice, with Sleuth on and off respectively.
Just execute mvn clean verify

Hey thanks for filing the issue. Are you willing to file a pr with a fix and a test? 🙂

Hey thanks for filing the issue. Are you willing to file a pr with a fix and a test? 🙂

Sure, just raised one:
https://github.com/spring-cloud/spring-cloud-sleuth/pull/2316

Done via https://github.com/spring-cloud/spring-cloud-sleuth/commit/20a9aa6342b3688e55d88f73dc0c6293c80a2856


Protected branch VS Actions Bot Push

Protecting the main branch and using GitHub Actions to bump the version and change log seem to be mutually exclusive.

https://github.community/t/allowing-github-actions-bot-to-push-to-protected-branch/16536/8

I have created a token with every scope and I still can’t publish from a GitHub action. Everything works fine locally using this token. What could possibly be going wrong?

Another response was also using Semantic Release:

it is important to either set the persist-credentials: false for the checkout action, or to use your own token for the checkout action.

Looks like it’s still an issue as of last January.

Figured it out: https://github.com/SafeEval/hello-python-packaging/blob/98d927a7f98df01f4fc8026797b9cd0e52b4c643/.github/workflows/semantic-release.yaml
Use persist-credentials: false  and a PAT.


UseDpopNonce in openapi spec make oapi-codegen fail generating client-code

I am trying to generate a http client for Go using oapi-codegen from the open-api specification exposed at docs/v1/api-doc/openapi.json but I get an error due to UseDpopNonce being defined as possibly being a string or a nullable string
UseDpopNonce definition
{
 "type": "object",
 "required": [
   "UseDpopNonce"
 ],
 "properties": {
   "UseDpopNonce": {
     "type": "array",
     "items": {
       "allOf": [
         {
           "type": "string",
           "nullable": true
         },
         {
           "type": "string"
         }
       ]
     }
   }
 }
}

The only change I need to do is to remove the {"type": "string"} from the allOf, and it seems to generate fine. Is this something I could see if I find how to change the code for in the project (so that the definition always only can be a nullable string) and would that potentially be a welcomed change? From what I understand the rauthy open-api spec is code-first, then some tool generates the spec from the code, and I have not yet dug that far into the codebase to know how exactly I would have to change this, so wanted to ask before I spend that much effort on it. Hope you don't mind.
If so desired, I could also look into how easy (or hard) it would be to create some sort of CI job that generates client-code to continuously verify that it is possible to generate said http client, although I think that would require some way of generating the openapi-spec via the cli without spinning up a full rauthy system (at least that would make it easier).

oapi-codegen error
error generating code: error generating type definitions: error generating Go types for component schemas: error converting Schema ErrorResponseType to Go type: error generating type for oneOf: error generating Go schema for property 'UseDpopNonce': error resolving primitive type: error generating type for array: error merging schemas: error merging schemas for AllOf: merging two schemas with different Nullable

oapi-codegen-config.yml
package: rauthy_api
output: rauthy-api/client.gen.go
generate:
  models: true
  client: true

This is not an or but an and, this is a tuple. It's coming from the ErrorResponseType::UseDpopNonce in src/error/src/error_impls.rs:98.
The first Option<String> is an ACCESS_CONTROL_ALLOW_ORIGIN header value which may not exist.
The second String is the nonce value itself.
I don't know how to translate this into proper go code (last time using go was a long time ago for me), but the type is a tuple (Option<String>, String) inside a rust enum.
I am not sure what exactly you are trying to do, but if you want to have a type safe mapping for the ErrorResponseType, you can probably ignore both of these values. These will never be returned directly inside the JSON. The tuple values will be converted to header values.
The same is true for all the other ErrorResponseType values like DPoP, TooManyRequests and WWWAuthenticate. All values they wrap will be returned as different header values.

From what I understand the rauthy open-api spec is code-first, then some tool generates the spec from the code

That's correct. The OpenAPI file and SwaggerUI docs are generated automatically. This is the reason why these inner values to exist for the ErrorResponseType even though they would only ever be returned as header values, not as the error type itself.
The only solution I could think of right now, to get rid of these in the OpenAPI json is to define the type twice, but then we would not have the possibly additional header values. Not sure what the best approach would be right now.
Something else I see here is the
"required": [
   "UseDpopNonce"
 ],

which I am not sure about if this is correct. Depends on what you want to achieve. Each of these values is only an option because the type is an enum, so only one of them is required while all others cannot exist then.

This is not an or but an and, this is a tuple. It's coming from the ErrorResponseType::UseDpopNonce in src/error/src/error_impls.rs:98.

Indeed you are right, I am not that familiar with raw openapi YAML, so I initially thought it was a union-value, where the value could be either string or optional string.

don't know how to translate this into proper go code (last time using go was a long time ago for me), but the type is a tuple (Option, String) inside a rust enum.

AFAIK go does not have "real" support for tuples, but it can be emulated to a degree using  a struct with anonymous field.

I am not sure what exactly you are trying to do...

I wanted to create a http client from the openapi spec to use during bootstrapping of rauthy.

The only solution I could think of right now, to get rid of these in the OpenAPI json is to define the type twice, but then we would not have the possibly additional header values. Not sure what the best approach would be right now.

Neither do I honestly, but at least I know I can't just fix the type as I was alluding to. I am probably going to look into how to configure the codegenerator to either handle it, or ignore generating code for the spec it has issues with for now, if it isn't something I need immediately.
Thanks for the help!


"Invalid file" error doesn't include filename.

$ how_is how-is/how_is --report test.html_partial
Error: Invalid file: . Supported formats: json, html
$

Fixed by #157.


Add language, hl and region params

Hi
I've added language, hl, region params:  http://code.google.com/intl/en/apis/maps/documentation/javascript/basics.html#Localization
Please consider to merge

just integrated, would you mind documenting how to use your add-ons here: https://github.com/apneadiving/Google-Maps-for-Rails/wiki/Map-Apis
Thanks,
Ben


Squash pip freeze on startup [ENHANCEMENT]

Is your feature request related to a problem? Please describe.
The Marqo startup process outputs a lot of text, and we want this to be cleaner.
Describe the solution you'd like
Pip freeze should only be logged if log level is set to DEBUG or higher.
This can be done via an if statement in the run_marqo.sh script.
Screenshots of Marqo's startup, before and after, at the default and at DEBUG log levels, attached to the PR would demonstrate that the feature works as expected.
Additional context

Documentation for configuring Marqo's log level can be found here
Pip freeze and logging configuration logic is found in the run_marqo.sh script

Pip freeze call
Logging configuration logic
This is the actual command used to start Marqo.

@pandu-k Thank you for writing clear instructions. May I grab this issue?


[Backport] [1.3] Fixing org.opensearch.monitor.os.OsProbeTests::testLogWarnCpuMessageOnlyOnes when CGroups are not available (#2101)

Signed-off-by: Andriy Redko<EMAIL_ADDRESS>Description
Backporting https://github.com/opensearch-project/OpenSearch/pull/2101 to 1.3
Issues Resolved
Closes https://github.com/opensearch-project/OpenSearch/issues/2592, addresses https://github.com/opensearch-project/OpenSearch/pull/2067#issuecomment-1135160622
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@dblock any objections getting this one in? Seems like people do make own 1.3 builds but tests are failing ... Thanks!


[Subcategory pages] Section with Rating functionality

https://www.macquarie.com.au/help/personal/home-loans/apply-for-a-home-loan/getting-home-loan-documents-witnessed-or-certified.html

This will be authorable now as confirmed by customer, and so will be part of content import

covered in import


Slow healthz and livez endpoints cause liveness and readiness probe failures

Describe the bug:

After upgrading from 1.1 to 1.7.2 I have noticed increased webhook timeouts. We use fluxcd and that causes frequent reconciliation using server-side dry-run.
After looking at the pod, I can see frequent probe failures. And even restarts with exit code 0.
...
    State:          Running
      Started:      Tue, 17 May 2022 14:19:20 -0400
    Last State:     Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      Tue, 17 May 2022 13:13:00 -0400
      Finished:     Tue, 17 May 2022 14:19:20 -0400
...
Events:
  Type     Reason     Age                   From     Message
  ----     ------     ----                  ----     -------
  Warning  Unhealthy  5m49s (x23 over 80m)  kubelet  Liveness probe failed: Get "http://<IP_ADDRESS>:6080/livez": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
  Warning  Unhealthy  44s (x60 over 81m)    kubelet  Readiness probe failed: Get "http://<IP_ADDRESS>:6080/healthz": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

Exploring the probes, I manually started probing using kubectl port-forward. I did notice that with some requests, the response could be pretty delayed, by a few seconds. The default probe timeout is 1s, so I imagine that is the cause.
Expected behaviour:

Faster probe response times.
Steps to reproduce the bug:

Install cert-manager 1.7.2, trigger a webhook validation dry run every minute.
Anything else we need to know?:
Environment details::

Kubernetes version: 1.22
Cloud-provider/provisioner: GKE
cert-manager version: 1.7.2
Install method: helm

/kind bug

/milestone v1.9


Fix issue #692, directedly call table->GetValidIndexCount()

Instead of creating a new variable, so that no unused variable error occurs when LOG_LEVEL is low.

Coverage increased (+0.04%) to 71.54% when pulling 1a7657bd7aba8e12a5842afc233da3826559ecd0 on ChTimTsubasa:692 into 03c1764d2cbb1087c3909d9b13dd95ec8d304ad1 on cmu-db:master.


How to call other original functions in native c++

I use A1 and B1 function to hook A and B function, now I want to call the original B function in A1 function, how can I do this?

Use LocalHook.BypassHookAddress (be careful that you don’t uninstall the hook while using that address)

The native equivalent is LhGetHookBypassAddress

      The native equivalent is LhGetHookBypassAddress

Thank you


[BUG] oak-ffc-4p cannot be triggerred by external signal

Describe the bug
OAK-FFC-4P connects 4  oak-ffc ov9282(https://shop.luxonis.com/products/oak-ffc-ov9282-pair). I use 1.8V pulse to trigger camera in every 100ms on COM_AUX_IO2 pin (PSRBS connector). But I couldn't see any incoming image. But I did use probe to check every camera fsync pin. All fsync pin shows 1.8v pulse.
Minimal Reproducible Example
can check this code https://gist.github.com/ryanESX/4c05a6b948a782f99cec7dd1efbd996a
Expected behavior
It can show 4 images in similar timestamp

Hey, we're also trying to work with the HW sync stuff and we know that we should work with 12-24V


chat heads - suggested feature

Chat heads like facebook messenger could easily be implemented... popup with the room logo on the mobile desktop/launcher in a moveable bubble to the side. If there are multiple rooms with outstanding messages from rooms that have "chat heads" enabled it become a generic link to the messages.
Something in the room settings, for the user to set on/off which only effects their own interaction with that room would probably be the least disruptive to the platform.
I'm not a github pro, so apologies if I didn't post this in the right place. Also if anybody thinks this would be better/easier developed as a companion app I would love to hear any of those thoughts also.

@knfiey
You are welcome to make a PR if it "could easily be implemented"


[Workflows] Expose CancellationToken as part of RunAsync

Describe the feature
Currently the CancellationToken isn't exposed by the RunAsync abstract method.   Traditionally, async methods include the token to be passed to subsequent async calls.
While there isn't currently any support for cancellation tokens, there is discussion about introducing them in the future.   Since including it as part of the method signature would be a breaking change, it would make sense to introduce it at this time, during the beta period, in preparation for future use.   A CancellationToken.None can be passed for the time being.
The run method signatures should look like the following for workflows and activities respectively, with the interfaces also being modified accordingly.
public abstract class Workflow<TInput, TOutput> : IWorkflow
{
  public abstract Task<TOutput> RunAsync(WorkflowContext context, TInput input, CancellationToken cancellationToken);
}

public abstract class WorkflowActivity<TInput, TOutput> : IWorkflowActivity
{
  public abstract Task<TOutput> RunAsync(WorkflowActivityContext context, TInput input), CancellationToken cancellationToken);
}

Yes Please

cc @cgillum can you put a label for priority on this issue?

For the sake of not creating APIs that we hope to implement (the future often plays out differently than how we expect), I would prefer we plan to add cancellation token support as a property of the context object rather than as a parameter in RunAsync. This would be a non-breaking change that we can implement when we're ready to do so.


Unable to resolve regenerator/runtime - constant error

Hey there,
I used to be able to run react-native apps just fine but since I restarted my computer today I'm getting this error constantly:

It's pretty annoying since I have no idea what could be going on or what has changed. I even tried setting up a brand new react-native project but still get the same issue...
I'm on a mac and using these versions:
react-native: 0.24.1
node: v6.0.0
Any ideas??
Thanks a lot

I ran into this issue as well and found a hack to make it work for now... the issue seems to stem from react native's dependency on regenerator which is deprecating regenerator/runtime in favor of regenerator-runtime/runtime.
So all I did was npm install --save regenerator and my app is running again, though it's warning me that above is being deprecated.
It seems the issue is coming from here https://github.com/facebook/react-native/blob/master/Libraries/JavaScriptAppEngine/Initialization/InitializeJavaScriptAppEngine.js#L25

Ah wicked @spencercarli thank you so much. I still wonder how this happened though as I literally restarted my macbook and it stopped working..
I'll close the issue for now!

Yeah it's very odd. I ran rm -rf node_modules/ && npm i just prior to everything going downhill for me.


Formatting

https://github.com/drtshock/Essentials/issues/25
Related to PermissionsEx, not Essentials, this occurs on the latest PermissionsEx with the latest EssentialsX and Spigot.

PermissionsEx does not actually do any formatting of names. Bring this up with the appropriate chat plugin. However, the issue is probably the fact that there is a maximum length of 16 characters for names in certain places, and adding color codes may cause that limit to be reached.

I have done this, it's not an issue there, it happens in tab too.

Well PEX doesn't actually apply prefixes, so this is not an issue with PEX.


Staff Page - Issue while filter in staff page

Describe the bug
https://www.berrycast.com/conversations/74ee67c7-227f-5215-b421-e5e1ba75605b

give better description, video is for reference to find, but Problem, Suggestion should be there, without that i can not give  priority to this
Steps to reproduce, Problem, Suggestion, Clast with any other Module, any issue which we can link all things needs to be here

https://www.berrycast.com/conversations/b962cef5-a01a-5469-8ef5-3f73f1c996c6


Question and/or Feature Request: HTML in sensors value

HA is up-to-date (0.90.1) running on RP3
The TileBoard is also up-to-date
The type of items use is : type: TYPES.DEVICE_SENSOR
I have a sensor that sends CO2 level to HomeAssistant (and many others in that style too!, like aquariums parameters).

When the level is OK :
500 (number, no unit [unit can be add and then it's text])

But... when the level is high :
 3000 ppm  (as text)

The number part is showing ok, but the second one is showing the text [ 3000 ppm   ] and not the supposed red text
My questions :

is there a way (or another type to use) to make it "use" the HTML code in the sensors value (like with HADashboard [appdeamon])

can I replace the HTML part (  ...  ) with something else that will be use to define the text color/size... or else!?

Are you passing that whole HTML string from HA to TileBoard? I would recommend just passing the number and then using a function in customStyles to set the color dynamically based on the value. See my comment on your other issue for customStyles examples.

Are you passing that whole HTML string from HA to TileBoard? I would recommend just passing the number and then using a function in customStyles to set the color dynamically based on the value. See my comment on your other issue for customStyles examples.

We can do that!!! Awww nice :) I'll take a look, thanks a lot 👍
And yess i'm the string is pass from node-red to HA to TitleBoard.


Need to upgrade beyla chart

Need to upgrade beyla chart immediately from 1.4.2 to 1.4.3 as it's breaking the beyla metrics in new release.
How can we fix current release temporary ?

Working on it!

1.5.6 should have the new version of beyla! Let me know if this solves your problem


Fix ReentrantMutex locking inside Fiber spec for ruby-3.2

It raises ThreadError since https://github.com/ruby/ruby/pull/6680

First-time contributors need a maintainer to approve running workflows.

Sending to review, specs are green locally with ruby-3.2-preview3

Also, should reach here is copypasted from existing spec, shouldn't it be should not reach here?

The old spec didn't fail with ruby 3.2.0dev (2022-10-26T15:29:12Z master fa0adbad92), and it doesn't fail now with ruby 3.2.0dev (2022-11-17T18:58:56Z master 0446d961a0).
The breaking change in Ruby was made between those runs.
We skip sub-builds for ruby-head, so it's not possible to confirm the failure from rspec-mocks build.
I intend to:

stash the changes temporarily
reproduce the failure
get the changes back

A failing 3.2 build 👍

Realistically this should be a pending spec on Ruby 3.2 as its something we should look to fix... (Its not expected to error, it just does)...

I've been working on reworking the spec to run, I don't think its a change in behaviour it's just the way of testing it that changed.

It's a behavior change in Ruby, the deadlock is detected and so it doesn't hang.
I think it's difficult to design a test that works with both and is still readable, so I think this is a good solution.
An alternative would be to use a Fiber scheduler, then it would behave as before, since with a scheduler it makes sense to wait. A Fiber scheduler is probably the reason we needed to fix RSpec ReentrantMutex. Would need to make a dummy Fiber scheduler for tests, it's probably fairly short if only used for this example.

https://github.com/rspec/rspec-support/issues/501 is the original issue

I'm closing this for now, we currently skip this on Rubies were its broken, I'd like to fix this spec rather than a no op expect an error (probably needing a fiber scheduler) especially as on my machine its definielty a broken spec (the raise leaks rather than a deadlock)


Communication via USB to iCEstick - how?

I find it to be beyond my immediate capabilities to figure out how to communicate with the HX1K via USB. I can follow the instructions on https://wiki.debian.org/FPGA/Lattice, can modify that code, all fine. I have a USB-TTL converter and could imagine to use that to communicate with the device via some extra cables, basically along the examples for the IrDA. But if somehow possible I would want to use the USB port that the device is using already.
Does anybody reading this have any respective code (host and fpga) available? Maybe something along the "echo" example at ztex (http://www.ztex.de/firmware-kit/example.e.html)?
Many thanks
Steffen

Hi Steffen,
I think this tutorial (and the tutorials leading up to it) answer your question. You can use e.g. google translate to translate it to english:
https://github.com/Obijuan/open-fpga-verilog-tutorial/wiki/Capítulo-24%3A-Unidad-de-transmisión-serie-asíncrona
Please note that this is NOT a general discussion board but an issue tracker. If you are not reporting a potential bug, please consider posting on the Yosys subreddit instead: https://www.reddit.com/r/yosys/

Thank you, Clifford!
Well, this issue is the missing example that icestorm could ship to get people going ;o)  Thank you for the pointer to that tutorial. It happened, that via YouTube I found the also helpful and at first sight simpler setup of Paul Martin at https://youtu.be/s7fNTF8nd8A?t=34m38s and his code repository at https://github.com/nesl/ice40_examples/tree/master/uart_transmission . So, let us see what I can come up with and if you allow I will eventually craft a patch with that "missing" example I moaned about.

So, let us see what I can come up with and if you allow I will eventually craft a patch with that "missing" example I moaned about.

I'm looking forward to it.

I just adapted Paul's TX direction for the HX1K and it worked like a charm, see https://github.com/nesl/ice40_examples/pull/1/commits/e613665af53c9b79b3afa98281963d763e845b75 . I now preserve that moment of deep satisfaction and address the RX direction over the weekend.

If I might chime in here: Jame Bowmans' Swapforth/j1a SoC core runs on the icestick and uses the serial link quite heavily to enable the user to reprogram the soft-core whilst it runs.
Here's the uart.v which it uses.
It interfaces to the core via a simple 16 bit processor IO bus, documented in the j1a.v top code.
(disclaimer: I am a huge fan of swapforth on j1a, and I wrote the j4a. It is perfect for what I do: Laboratory control / data logging systems, although it needs at least a ice40??4k chip. Apologies for the advertisement).

Sigh, I read this too late. There is now a little educational echo application on
https://github.com/nesl/ice40_examples/pull/2
and I hope this gets accepted. It is a bit (six lines) more than just doing the RX and TX, actually getting the flow from RX to TX I failed to implement - piece of cake for Ruben, though. So it is not completely redundant to the uart implementations out there and hopefully as educational for others as it was for me.  @RGD2, I admit that I had felt those CPUs implemented on FPGAs would be mostly for fun - unless you call it Zync on a very large chip. I am somewhat enthused to hear that (after quadrupling my chip) one can do something useful and was suprised about the environment with which to program your environment. Your advertisment was much appreciated. Could you possibly describe your use case of such smallish FPGA sticks somewhere on/beneath wiki.debian.org/FPGA? With enough detail for others to implement such a laboratory control / data logging system? Does Debian feature everything you need or should we add anything?
My initial certainty that there should be more examples shipping with icestorm has mostly vanished. However, even if there are more intelligent ways to search than what I had done (like using github rather than google and youtube - I did check opencore but apparently used the wrong keywords and felt a bit lost upfront), some home page for an Open Source icestorm with various examples or references to such would certainly help. The one of Paul Martin to me felt very natural to follow, better than the Spanish one.

You can also find some examples here:
https://github.com/FPGAwars/FPGA-peripherals/wiki
I will add more examples soon: servos, pwm, spi and so on
El 07/08/2016 22:29, "Steffen Möller"<EMAIL_ADDRESS>escribió:

Sigh, I read this too late. There is now a little educational echo
application on
nesl/ice40_examples#2 https://github.com/nesl/ice40_examples/pull/2
and I hope this gets accepted. It is a bit (six lines) more than just
doing the RX and TX, actually getting the flow from RX to TX I failed to
implement - piece of cake for Ruben, though. So it is not completely
redundant to the uart implementations out there and hopefully as
educational for others as it was for me. @RGD2 https://github.com/RGD2,
I admit that I had felt those CPUs implemented on FPGAs would be mostly for
fun - unless you call it Zync on a very large chip. I am somewhat enthused
to hear that (after quadrupling my chip) one can do something useful and
was suprised about the environment with which to program your environment.
Your advertisment was much appreciated. Could you possibly describe your
use case of such smallish FPGA sticks somewhere on/beneath
wiki.debian.org/FPGA? With enough detail for others to implement such a
laboratory control / data logging system? Does Debian feature everything
you need or should we add anything?
My initial certainty that there should be more examples shipping with
icestorm has mostly vanished. However, even if there are more intelligent
ways to search than what I had done (like using github rather than google
and youtube - I did check opencore but apparently used the wrong
keywords and felt a bit lost upfront), some home page for an Open Source
icestorm with various examples or references to such would certainly help.
The one of Paul Martin to me felt very natural to follow, better than the
Spanish one.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cliffordwolf/icestorm/issues/51#issuecomment-238106450,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABOfrv1HtUgJXXrUU0pfmvy1FdGVVftdks5qdkAxgaJpZM4JbonV
.

more tutorial examples here: https://github.com/peepo/verilog_tutorials_BB

@smoe I'm not sure when I'll get around to documenting on wiki.debian.org - probably after I have the acquisition side of things done. But documentation with enough detail to reproduce is in my APA. ;)
I hadn't actually noticed icestorm appearing in debian - I've just been running straight from github. (also  occasionally under MacOSX). But I do end up doing most of my work under ubuntu or debian (also armbian) for convenience of duplication.
So far as everything I use being in debian - not quite: jamesbowman/swapforth would be nice ;)
In fact, James' paper on the J1a is a good place to start, assuming at least an icestick (or hx8k breakout board).
On the data acquisition side of things, I've been using a few old ztex.de 'usb-fpga' dev kits, all of which are Xilinx based. This because I needed >10 MB/s BW, but had not the budget for jumping to a PCIe card. I ended up able to sustain 30 MB/s (for >TB - until the disc filled) from ADC's through USB 2.0, but not through an FT2232.
I looked very briefly at firewire, and then saw that most of the day had passed whilst I was still coming to terms with it's architecture. Beautiful: Reliable, DMA built in, real time priority built in - democratic (it's peer to peer) utopian, really, where USB is really just the host being an absolute dictator: everyone else will speak only when spoken to! Perhaps some day someone will release a functional open-sourced verilog module implementing fw400. That'd be nice.
The really critical trick turns out to be to have at least about 8MiB deep of fifo available just ahead of the USB-fifo chip: for it will only have (at most) a few kb, far too little for reliable HiSpeed USB2.0 streaming. And when USB 2.0 appeared, the spec didn't tell root hub designers to use hardware timed DMA capable bus masters, so most require CPU polling, which depends on how busy the OS is... On a good intel root hub controller, linux sometimes drops the ball for ~800 usec every now and again, maybe once or twice overnight... windows, about 4 ms several times per second. Either way, to keep the capture from losing data at 30,000,000 Bytes per sec, one needs several 100 ms worth of buffer to weather sequential glitches.
This pretty much requires an sdram chip.
The FX3 doesn't have much more local buffer, but at least 'use DMA at the host adaptor' got added to the rules for USB3 root hubs, which means the host's RAM can be the buffer. FX3's are fairly expensive though - probably practical if up to several hundred MB/s is needed, though by that point you're playing in a different ball park entirely, where costs start to skyrocket if you want to be able to keep up with it. You'll probably still want the local deep sdram fifo though.
I'm seriously considering designing a board with a '8k, some SDRAM and an FX2LP, possibly in addition to the FT2232 to keep the data acquisition side separate from the FPGA configuration side.
I think I recall one ice40 board which had the FT2232 hooked up for the only 'fast enough' interface it has: 8bits synchronous parallel at 60 MHz - but most don't have all the wires attached correctly, and i found getting a parallel bus to work reliably above 30 MHz or so over hookup wires between boards is an exercise in futility. (serial LVDS over twisted pair at >160 MHz between FPGA pcb's is child's play by comparison.).
Doing both bulk data transfer and fpga config in the fx2's horrible 8051 firmware hurts a lot, needlessly when Wolfgang's 'fx2pipe' exists, and works quite amazingly well on the faster armbian hardkernel boards. ztex do have an open source SDK to do that, but you'll need to install fpc and sdcc (and jdk) for it. fx2pipe won't do FPGA config, but it just works, an so long as you wire the fx2 as 16bit parallel synchronous 'slave fifo' mode @ 30 MHz, you'll find it works very reliably. (please note, you need much more BW between usb-fifo and fpga than your budget, since the data will stop moving entirely every time the host end is late to pick it up out of the tiny fx2 fifo buffers, and this will happen very often.)
From what little testing I've done so far, it looks like just fx2pipe and nc are enough to stream data at around 38 MB/s through a relatively cheap SBC from an fx2 over gigabit ethernet, provided it's one (unlike the RasPi's) which doesn't use the only usb 2.0 root hub to handle the ethernet as well, but which actually includes a true Gbit controller on the SoC or via separate usb3. (almost everyone besides broadcom seem to be good at this).
This is a good thing in a larger (dustier, wetter) laboratory, since it's easy to deploy an inexpensive SBC into an electrical box to do that job, and just run ethernet to wherever is kinder for computers.
Of course if you only need a few kb/s of data capture, the j4a/j1a core can just spit it out over the rs232 link. And since it's so easy to append more rs232 links onto the j1a/j4a, I quite imagine one could do enough with just a ice40, some flash memory (to hold a few 10-100kb of client-side js), and an esp8266 module.
There seems to be some interest in running yosys through emscripten, so that hardware combination might conceivably also be just enough - assuming a thick enough browser at the byo client, say a good smartphone, with memory enough to load an emscripten'd icestorm - to meet the 'tools+source included' philosophy too. Food for thought.).
But for now - linux SBC's are cheap enough and good enough to spare one per such lab control system. And provided something in the enclosure to pipe captured data to (and somewhere on the lan to save it): Well, differential logic is really easy to use to link FPGA's via 'SPI' like links, at easily ~160 Mbps, even for the ice40, and even over wirewrapped AWG30 twisted pairs between boards (just don't forget a ground return path).
This means it's actually really easy to add small fpga's as needed, pipe data where it needs to go, and just get the job done 'well enough'. This is all more than sufficient for electronic direct-injection engine management (and measurement) systems.
It may not be as convenient as plugging some proprietary modules into some proprietary PLC system, but it actually performs a lot better than almost all of those, and for something like 10 to 30 times less cost. (and small FPGA's take far less time to compile for than the giant ones, and segmenting a system across multiple FPGA's means one can avoid fixing what isn't broken too).

Also @smoe : I have some Zynq's (about 6, but I've never deployed any). They're actually quite big FPGA's, and relatively poor SBC's. Very high I/O performance, but you also have the downsides of dealing with Vivado and it's licensing. They can't host their own tools. They usually max out at 1 GB ram.
An ice40 attached to a linux SBC can host its own tools.
You can also install cloud9 ide locally to that SBC. (there's a script in the c9/core repo which does the trick on debian).
Ergo, all of the programmer's UI, tools and documentation can be kept in the same box as the actual deployed equipment, which makes it far more useful to whoever inherits the gear, either for maintenance or reuse.
Having had to work with inherited systems, I can tell you this is a very desirable feature. Ever more so in my field which is essentially 'industrial experiment/development', since the person 'inheriting' it is likely to be me - comp. eng on the team - after it has collected dust for a few years while we go pursue some other contracted work. I already have...  8 (? huh, time flies) such systems to maintain/support/develop extensions to, this one with the ice40 + SBC is the 9th one, and I am certain that it, too, will suffer mission creep.
But even after 7 years at this, I don't find the performance specs (in terms of data rate / timing accuracy, at least) getting any higher than what small FPGA's can comfortably handle. This leads me to believe that they aren't likely to, either. Linux SBC's over the same time have gone from 'possibly could implement a touch screen UI with video on a small one for maybe <$1000/unit' to 'effortless. fast enough to run quake3 playably, cheap enough you might spend more dining out than on the whole system'.

@RGD2 , thank you for this amazing collection of gems. I'll start with the J1a paper as suggested.
Anything that helps to see the wider public adopting FPGA technology with Debian and beyond I happily help with. This apparently now starts with looking into preparing packages for jamesbowman/swapforth and fx2pipe. I also have a ztex.de fx2+Spartan-6 and once packaged their SDK. All its build+runtime dependencies like the sdcc to program the fx2 are in Debian.
My plan for the upcoming months is to provide a decent FPGA for accelerating the http://distributed.net efforts. It seems like everyone is up to it - I asked - we just need for something as easily deployed as an iCEstick to help. Once there are a couple of thousands of users I anticipate that we will see more projects aiming at FPGA for their acceleration. Communication for these problems is minimal. The advantage of an USB (or Ethernet) attached FPGA is that we can have multiple connected to a single computer and the also run with your OpenWRT WLAN router. If you have an idea how to position the Lattice 8K (or multiple 8K chips on a single board) to best perform as an application accelerator, maybe even without compromising your demands, then please consider me (and maybe many d.net contributors) a customer.
As a pleasant side-node: There are now close to 140 users of yosys+icestorm on Debian alone (https://qa.debian.org/popcon.php?package=yosys) which I find amazing. Many thanks to @rubund for his packages. The package for hopefully-at-some-point-usable-for-mere-mortals fpgatools (https://github.com/Wolfgang-Spraul/fpgatools) has 15.

Regarding the fx2, there are a bunch of resources you should look at;

fx2lib - The library provides a lot of infrastructure to build stuff on the FX2 chip. I have a fork at http://github.com/mithro/fx2lib where I'm trying to improve a lot of the examples and reusing Linux Kernel headers to make it easier to develop USB devices.
ixo-usb-jtag - This enables the FX2 to emulate a Altera USB Blaster JTAG programmer. See my fork at https://github.com/mithro/ixo-usb-jtag
makestuff / libfpgalink - Another library for interfacing with FPGAs using the FX2. https://github.com/makestuff/libfpgalink

@mithro  Very interesting, thanks for the links!
Kudos for your work on fx2lib, too: libusb (of any version) is a bottleneck, fx2pipe also goes the route of avoiding it in favor of the linux kernel headers - and it performs much better because of it. I had seen fx2lib some time ago, and had passed on by precisely because it was so messy and used libusb. The ztex guys have a custom C preprocessor so 'app' firmware becomes very succinct, which is nice, but their preprocessor is written in freepascal!
All that said - one problem with changing between the 'host side' software talking to fx2's (and with fx2 + FPGA in general), is that there are a few different, (and, sadly, incompatible) ways to wire an fx2 to the FPGA.
For instance, the fx2 comes in different packages, with different pins connected or not, and some of the cheap 56 pin SOIC's also have the undocumented 'feature' that the inputs to the GPIF master FSM module may not have been wirebonded where they're supposed to be, so that only the slavefifo mode works properly, and the GPIF master FSM doesn't respond to inputs, and so can only be run in counted bursts. (I learnt this the very hard way - with unchanged code suddenly working flawlessly when I first ran it on the very overpriced CY3687 FX2LP18 official dev kit.. (I wanted to interface to 2.5 V LVCMOS at the time, and I was trying to avoid adding an FPGA at all. Doesn't work, at least, not reliably. not enough buffer. The fx2lp18 can go down to 1.8V, and has a Vio control pin, but any FPGA seems to be happy with 3.3V these days.)
Most of the real incompatibility isn't to do with the actual fifo interface though - same pins used for GPIF master or slavefifo controller -- but rather with how the FPGA is wired to be configured. This varies even among ztex's boards, but it looks like you have it in hand there with ixo-usb-jtag, So I will be looking more closely into that...

fx2lib has nothing to do with libusb. fx2lib is for the code which runs on the FX2. (There is some libusb code for getting the fx2 firmware onto the chip but once that is loaded you can do anything you want.) Normally you emulate an existing device like a UVC camera, USB bulk or other device.

@mithro Sure,  In general.
Sorry -  I'm overly accustomed to having to do raw bulk transfers, not going through some existing device class.
But you are technically correct - one can just have an fx2 be any kind of standard USB device one likes, and then let the OS use an appropriate driver. One only needs to implement the functionality expected of said class in the '8051 on the fx2, and fx2lib does provide a nice starting point for this.
The problem (from my perspective) is that there doesn't seem to be widespread support for virtual serial ports at 240,000,000 baud. Which is a pity, because a "rs232 3.3v ttl" extended to 2.5v or 3.3v differential logic signaling encoded 8b/10b at some rate from 160 MHz to 320 MHz or so would be ideal for interfacing to FPGA's, since that would happily go over even footlong or so twisted pair hookup wires between boards, and you'd only really need 5 wires or so: A twisted pair for each direction, and an earth return. Kind of ends up looking sorta like a poor man's PCIe lane. Or you could abuse a set of sata connectors and cable.
Does anyone know if the linux CDC ACM SE support would (or could) stretch that far? I didn't look too deep into this because I assumed going so much faster than the expected max ~1MB/s for such a device class might get broken by someone else's probably reasonable assumptions with regard to buffering and timing.
Honestly though I don't know. It could work, and it would avoid needing a driver.
At the time I was trying this on - a few years ago now  - I couldn't see the point of trying to penetrate the documentation for that, when one can just use 'vendor specific' bulk transfers directly. (although it's really a pity there isn't support for USB isochronous transfers at such speeds, since that's really what I want.).
But this isn't covered by any of those convenient device classes, so one has to have one's own driver.
And so this brings us to libusb. It acts as the driver, and works on just about everything. So almost everyone seems to be using it with fx2lib for every application not neatly pigeonholed into a USB device class.
It'll do about 32 MB/s, on the same hardware which will do closer to 38 MB/s via the linux headers for direct bulk transfers (assuming you give it a nice queue of requests to keep it busy, like fx2pipe does).
I think I quite like the idea of libfpgalink though, it would be nice to have some kind of standard OSS way to do this, and it's the first I've met.
Cool. May have to reconsider my advice re: using fx2 not for FPGA configuration then.

Thank you both for this nice thread. @mithro I just gave fx2lib a spin on Debian which compiled nicely (https://github.com/mithro/fx2lib/pull/30 with a request to help the README). The libfpgalink is also pretty impressive. I'll have a look at that, too.
Still, for a regular noob much like me one needs something with no risk to start out - like buy this board, buy this JTAG adapter, compile this, and see the echo to the device working/LEDs blink/some success.

Yet another web search brought my attention to https://github.com/cyrozap/iCEstick-UART-Demo which I found to be in perfect sync with my noob's mind. It does not answer my question on recipes to orchestrate the data exchange between host application and the FPGA but was close enough to let me help myself. I'll eventually submit an additional noob-helping-example as a pull request to that repository. Many thanks to you all again.


Cao social auth

Hey @caocmai, this is great progress. Please investigate the following before we merge:

Password Changing in Django: you may want to start by looking at the docs for the built-in django.contrib.auth.views.PasswordChangeView, and you can look at the views.py and urls.py in this other Django project I created, for an example of how we may be able to use it in the accounts app: https://github.com/UPstartDeveloper/explorer_buddy/tree/master/explorer/accounts

Also please look into why Facebook social login failed for me, even though I had the same environment variables as you gave me - perhaps it has something to do with the app being in development?

Thanks again for your efforts!

It seems like FB works, but Google doesn't for the disconnect functionality. But is that a feature we for sure want to implement? Or do we just want a user to change their password if they signup using our site and not from social auth.

From my research it looks like the app is still in development mode so only approved individuals are allowed to connect. To go live, we need to have a site domain to enable everyone to connect to FB.

You're right @caocmai the disconnect functionality is a nice-to-have - we didn't ask you to implement it in the first place, and it shouldn't be a blocker.  In that case, there shouldn't be a button to let users disconnect. So how would you take out the disconnect feature?

That's great! I think we do have a domain for the production site - would the https://carbon0.herokuapp.com/ address work?


test(none-driver): test basic networking and DNS resolution

This test should pass once #110 is fixed.

@medyagh Yes, this blocked by #110. It requires review and merge of kubernetes/minikube#16143 and a new release of Minikube


[ENH] Support for NDui

NDui
or alternatively to be able to add the Button Name manually ;-)
Thank you very much

I need to be a little bit transparent here.  It’s not just a case of adding a box so you can type in your own button.  For the mods that have been supported so far I have had to hack and rewrite sections of those kids to make this work.  For each addon it is unique and a lot of work.  To do this for NDUI would take about 80-90 hours work.  (2-3 weeks)
For a piece of work of that scale I need to confer with GSE’s Patrons as they are the ones paying for the time it takes to do this.  It would mean stopping work on their specific fixes to incorporate something that potentially none of them are using.  The similar request #1720 was requested by a patron.

appreciate and understand if not every wish can be incorporated easily ;-) more my noob thinking that it would be easy to just add a "custom" paging of an actionbar name could do the trick ;-) thank you for your quick response ... can also live with the solution of keybinding anyhow.


feat: add commitlint and husky

What kind of change does this PR introduce? (check at least one)

[x] Build-related changes

Does this PR introduce a breaking change? (check one)

[x] No

The PR fulfills these requirements:

[x] All tests are passing

Other information:

[x] Ensures that the code pushed has no linting errors

Thank you but I think it's too early to add this and I prefer not having it


Microsoft.Data.SqlClient.SqlException (0x80131904): The statement terminated. The maximum recursion 100 has been exhausted before statement completion.

Here another small issue I just discovered:
BTW, Nevermind the bad chart values. I have been (and still am) struggeling with the developers to do something about similar cases. It is a wonder that the big blue circle is not covering the whole Chart! :D. Looking at the situation from positive point of view, if there where no so many blockings, I could not file this exception. ;D

************** Ausnahmetext **************
Microsoft.Data.SqlClient.SqlException (0x80131904): The statement terminated. The maximum recursion 100 has been exhausted before statement completion.
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.Read()
at System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping)
at System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue)
at System.Data.Common.DataAdapter.Fill(DataTable[] dataTables, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at DBADashGUI.Performance.RunningQueries.runningQueriesSnapshot(DateTime& snapshotDate, Int32 skip) in D:\a\dba-dash\dba-dash\DBADashGUI\Performance\RunningQueries.cs:line 282
at DBADashGUI.Performance.RunningQueries.loadSnapshot(DateTime snapshotDate, Int32 skip) in D:\a\dba-dash\dba-dash\DBADashGUI\Performance\RunningQueries.cs:line 299
at DBADashGUI.Performance.RunningQueries.RefreshData() in D:\a\dba-dash\dba-dash\DBADashGUI\Performance\RunningQueries.cs:line 148
at DBADashGUI.Performance.RunningQueriesViewer.RunningQueriesViewer_Load(Object sender, EventArgs e) in D:\a\dba-dash\dba-dash\DBADashGUI\Performance\RunningQueriesViewer.cs:line 60
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
ClientConnectionId:299b14a9-644d-4e06-92ec-5330660cf912
Error Number:530,State:1,Class:16

I can reproduce this by creating a circular reference in the blocking chain - a deadlock. These situations should be resolved by the deadlock monitor but you might occasionally catch these in the running queries snapshots.  I'll see if I can fix it now I'm able to reproduce it.

Issue found due to re-creating the bug.  This issue occurs if wait_time is NULL and query is blocked - this situation shouldn't occur and is down to manual manipulation of the data.  Still worth fixing just in case.

System.InvalidCastException: Object cannot be cast from DBNull to other types.
at System.DBNull.System.IConvertible.ToInt64(IFormatProvider provider)
at System.Convert.ToInt64(Object value)
at DBADashGUI.Performance.RunningQueries.<>c.b__26_3(DataRow r) in C:\Git\TrimbleOSS\dba-dash\DBADashGUI\Performance\RunningQueries.cs:line 340
at System.Linq.Enumerable.Sum[TSource](IEnumerable1 source, Func2 selector)
at DBADashGUI.Performance.RunningQueries.getCounts() in C:\Git\TrimbleOSS\dba-dash\DBADashGUI\Performance\RunningQueries.cs:line 340
at DBADashGUI.Performance.RunningQueries.loadSnapshot(DateTime snapshotDate, Int32 skip) in C:\Git\TrimbleOSS\dba-dash\DBADashGUI\Performance\RunningQueries.cs:line 301
at DBADashGUI.Performance.RunningQueries.RefreshData() in C:\Git\TrimbleOSS\dba-dash\DBADashGUI\Performance\RunningQueries.cs:line 149
at DBADashGUI.Performance.RunningQueriesViewer.RunningQueriesViewer_Load(Object sender, EventArgs e) in C:\Git\TrimbleOSS\dba-dash\DBADashGUI\Performance\RunningQueriesViewer.cs:line 60
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

Fix is coming soon.  This can be applied manually to the repository DB as a hotfix:
CREATE OR ALTER FUNCTION dbo.RunningQueriesBlockingHierarchy(
	@InstanceID INT,
	@SnapshotDateUTC DATETIME2(7),
	@BlockingSessionID SMALLINT
)
RETURNS TABLE
AS
RETURN
/*
	Get the blocking hierarchy for a blocked session starting with the current blocking session
	For example session 123 might be blocked by session 64.  Session 64 is blocked by session 72.  Session 72 is blocked by session 96 (root blocker)
	We pass in 64 as the current blocking session and get: 96 \ 72 \ 64.
 ELSE '' END + ' \ ' + CAST(Q.blocking_session_id AS VARCHAR(MAX)) + H.BlockingHierarchy,
			calc.IsDeadlock
	FROM H
	JOIN dbo.RunningQueries Q ON H.blocking_session_id = Q.session_id
	-- Check for a loop (deadlock).  Break execution on the next iteration when a deadlock is detected
	OUTER APPLY(SELECT CASE WHEN Q.blocking_session_id = @BlockingSessionID OR H.BlockingHierarchy LIKE '%\ ' + CAST(Q.blocking_session_id AS VARCHAR(MAX)) + ' \%' THEN 1 ELSE 0 END AS IsDeadlock) calc
	WHERE Q.InstanceID = @InstanceID
	AND Q.SnapshotDateUTC = @SnapshotDateUTC
	AND Q.blocking_session_id <> 0
	AND H.IsDeadlock=0 -- Stop if a deadlock was detected on the previous loop
	AND H.Sort < 100 -- Stop before we break max recursion
	)
SELECT TOP(1) ISNULL(STUFF(BlockingHierarchy,1,3,''),'')  as BlockingHierarchy
FROM H
ORDER BY Sort DESC

Hi,
Thx for the fix. I just updated the application to the last version (2.22.4) and applied the fix on top. Things are working correctly now.
Do I have to close the issue or will you do that?

That's great - thanks for letting me know it's working.  I'll close this case off once I create a new release next week.
An open case that is marked complete is fixed and pending to go out in the next release.

The fix is included in 2.22.5 🎉


Have Dummy/Test Container for testing purposes?

PSR Logger has a Null Logger which can be used easily for testing purposes.
Is there any thought about creating a Dummy/Test/Null container for the same reasons?

I believe that starting with PSR6+, the decision has been made not to add any implementations to the PSR packages.
Instead, a "psr/xxx-util" package is proposed for common utility classes. For instance: https://github.com/php-fig/cache-util
We could definitely use such a package, although I don't know what could be put in it apart from a Dummy container (maybe EmptyContainer would be a better naming). Maybe a CompositeContainer?

Hello,
I haven't seen any related package being created since the report of these issue (although it's not so old issue). But because there was a need in my projects I have started creating various DummyContainers in here and there order to do some tests . So I decided instead to create this package:
https://github.com/webthinkgr/psr-test-container
If you like it I am willing to make any necessary to be compatible with PSR (like namespaces etc) and transfer it if you wish.


Remove extra SitePermissionInline's. Fix #1366.

Extra defaults to max_num (or 3, whichever is lesser) if extra is not set. In this case max_num was 1 so we were getting 1 extra inline.

Hey Ryne, thanks for this - I'm keen to properly fix it without the JS hack, but I tried your patch and it doesn't work quite right.
With the patch and an existing user, I still see two inlines. With a new user, I get opne inline, but the changes don't persist - it's actually the invalid one (for lack of a better term) that gets removed by the JS hack.
I guess it's related to some recent changes in Django admin - if you look at the form field that the existing JS hack removes, and that remains with your patch, its actual field name contains the string __prefix__ within it - I think Django runs some JS which modifies that, and that's not running at the moment, but that's all a guess at this stage.
I'll leave this open for now since the code changed in it is probably partially correct, but it's incomplete.

I think Django runs some JS which modifies that, and that's not running at the moment, but that's all a guess at this stage.

Good guess. It's not running because grappelli-safe overrides the tabular.html template which would otherwise call the relevant JS.

Wrong. See grappelli-safe 56.

Of course, the js hack still ought to be removed.


[1.3.z] Propagate quarkus OPTS to openshift deployment

Summary
Backports https://github.com/quarkus-qe/quarkus-test-framework/pull/1047, it is needed to fix OpenShiftExecutionModelIT test in TS 3.2 branch
Please check the relevant options

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Dependency update
[ ] Refactoring
[x] Backport
[ ] Release (follows conventions described in the RELEASE.md)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change requires a documentation update
[x] This change requires execution against OCP (use run tests phrase in comment)

Checklist:

[ ] Example scenarios has been updated / added
[x] Methods and classes used in PR scenarios are meaningful
[x] Commits are well encapsulated and follow the best practices

run tests

OpenShiftStrimziOperatorKafkaWithoutRegistryMessagingIT is known flaky test and you had already sent me ticket with this test

OpenShiftStrimziOperatorKafkaWithoutRegistryMessagingIT is known flaky test and you had already sent me ticket with this test

yeah, I just saw it in 1.4.z 13:40:37,008 INFO  oc: 5m33s       Normal   InstallWaiting        clusterserviceversion/strimzi-cluster-operator.v0.43.0   installing: waiting for deployment strimzi-cluster-operator-v0.43.0 to become ready: deployment "strimzi-cluster-operator-v0.43.0" not available: Deployment does not have minimum availability.


Need OVF deploy example including static ip assignment

Greetings, I hope this is the right avenue for a feature request regarding a sample of OVF deploy which should include provisioning network (static ip) as I don't seem to be able to deduce this from the documentation. If I should be looking for support elsewhere, please advise. Thanks in advance :)
ps. here is a link to stackoverflow question : http://stackoverflow.com/questions/43767814/example-deployment-of-ovf-with-rest-api-including-network-ip-provisioning

Hi @ReinsBrain, while we don't have an example in the REST SDK for deployment we have two samples here and here that may help on the deployment question. What specifically were you tripped up on with the documentation? I'd like to pass that information on to the CL team.

@ReinsBrain It would also be good to know what OVF you are trying to deploy, is this a custom OVF or a pre built vendor OVF, the reason why is that built OVF's sometimes have configuration data where you can set the static IP address during deployment (supported in this API), if not and its a custom OVF that you are looking to use Guest Customization on as you deploy then that is currently not available via the REST API.

{
"name": "com.vmware.vapi.rest.httpNotFound",
"localizableMessages": [
{
"defaultMessage": "Not found.",
"id": "com.vmware.vapi.rest.httpNotFound"
}
],
"majorErrorCode": 404
}
any idea ???

@hocineKHE : i think this happens when you are trying to hit an API that was released in a higher version of vSphere and you are running an older version of vSphere.


Can't find any code for intermediate layer feature learning

Does the published code not include the implementation of dictionary learning necessary for learning intermediate features? Why is the published code very limited and doesn't include everything in the paper?

If I recall correctly, intermediate feature learning does not exist on the two layer model. Correct me if I am wrong.


Add special hub boot routines to docs.

  I found the following in my notes (it has been a while), but it would be good if someone wants to confirm:

Hold left during boot: Do not mount file system, so skip executing boot.py and main.py.
Hold right during boot: Mount file system, run boot.py but skip main.py.
Hold left + right: Mount, but then reset the file system, creating a new boot.py and main.py.

I don't know if left+right will work if the file system is already corrupted. If it's the same as the Pyboard reset then it should probably work.
And if not, you should still be able to hold only left, and then use the REPL to reset the filesystem instead.
Originally posted by @laurensvalk in https://github.com/gpdaniels/spike-prime/discussions/41#discussioncomment-4054845

It turns out that the Left+Right combination does not work.
I made this page for that purpose instead: https://dfu.pybricks.com/fix-update


Fix image-full modifier to use the correct prefix in the card component

The code examples in the docs weren't using the reactive prefix for the image-full modifier.
This fixes the issue.

Thank you


Relative partial context - #1880

I ran into this in a late night coding session. The fix, more-or-less as suggested by @Crisfole, is to simply not allow whitespace in refinements if the relaxedNames flag is set. Any objections?
For reference in #1880, whitespace is normally allowed in refinements because all of the following are equivalent in js:
const foo = { bar: 'baz' };
foo.bar;
// and
foo  .  bar;
// and
foo.
   bar;
// and
foo
  .bar;
// and
foo    ['bar'];
// and
foo
    [
       'bar'
];

LGTM :+1:

So relaxedNames is more strict? Maybe should be strictNames or strictRefinements?

@martypdx yeah, I started to do that initially, but went the slightly lazier and less flaggy way instead. I have added an additional flag to avoid confusion.

:+1:


Update documentation for new keepAlive and socketTimeout

Documentation for PR #177, resolving issue #175

See my comment on #177 - removing the header constants is not acceptable

No longer required as the other PRs have been closed. Will be making separate updates to the dos for the new functions once the new version is published.


cannot create resource "pods/eviction" in API group

actually just followed this PR in an unrelated kubernetes repo: https://github.com/kubernetes-sigs/descheduler/pull/64/files
was getting an error:
{"error":"pods \"{REDACTED}\" is forbidden: User \"system:serviceaccount:{REDACTED}:pod-reaper-service-account\" cannot create resource \"pods/eviction\" in API group \"\" in the namespace \"uat-nucleus\"","message":"unable to delete podpods \"{REDACTED}\" is forbidden: User \"system:serviceaccount:{REDACTED}pod-reaper-service-account\" cannot create resource \"pods/eviction\" in API group \"\" in the namespace \"{REDACTED}s\"","pod":"{REDACTED}","severity":"warn","time":"2023-08-23T00:05:01.423715449Z"}", "logtag":"F", "stream":"stderr", "tag":"{REDACTED}T"}

Is your use case specifying the EVICT configuration? If not, it feels really odd that this permission would be needed. If it is using the EVICT configuration this would make perfect sense and I should update the readme to make it easier to understand!

yep. using evict :)


setup.py 有语法错误

user@ubuntu:/home1/dzzHD/mmdetection-master$ python setup.py install
File "setup.py", line 40
print(f'Compiling {name} without CUDA')
^
SyntaxError: invalid syntax

Did you want to install mmdet?


move img_mask@get_attn_mask() to hpu

In certain 1x systems , we notice a drop in performance for swin models as get_attn_mask gets executed in cpu instead of hpu. This was seen after pytorch upgrade to 2.2
This fix allows img_mask in get_attn_mask() to be moved back hpu.

https://github.com/huggingface/optimum-habana/pull/795


fixed panic in network_policy_controller

I have rebooted a newly created k3s etcd cluster and this panic was triggered:
k3s[948]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x45f2945]
k3s[948]: goroutine 1 [running]:
k3s[948]: github.com/rancher/k3s/pkg/agent/netpol.NewNetworkPolicyController(0xc00159e180, 0x61b4a60, 0xc006294000, 0xdf8475800, 0xc011d9a360, 0xc, 0x0, 0xc00bf545b8, 0x2b2edbc)
k3s[948]:         /home/x/git/k3s/pkg/agent/netpol/network_policy_controller.go:1698 +0x275

Would it be better to block and retry instead of returning the error?

Would it be better to block and retry instead of returning the error?

I think @erikwilson makes a good point here. Since this is making a call via the REST API, it might make better sense to implement a retry here.

Looks like #1800 will implement the retry, so returning the error here should be fine.
Thanks for submitting this PR @mschneider82!
As part of our application to CNCF k3s has adopted the typical DCO sign-off requirement. Please git commit --amend --signoff and force push, thanks for your patience & help in getting this fixed :^)

@dweomer sorry but this pull was auto closed on my force-push. please reopen. I signed off the commit


DG successfully HP connected to his previously terminated session according to dashboard...

David's steps today:

ran the osx app with username DavidGeddes
Disconnected a few times (3 I think) and relaunched the app under different usernames - these would all of course be duplicates as far as the dashboard is concerned
Disconnected again when he came downstairs (therefore IP address change) and reconnected with no username - this has lef to him connecting successfully to his 1st session from earlier

Unable to be reproduced

Closing as unable to reproduce this in the various stages of internal testing, or in v2 production


Create Spy for Wheel class

Been writing unit tests for drive system and I believe the HomeWheel() function is causing problems when testing rover_drive_system. Ideally I want to spy on Wheel class and just return the HomeWheel() function. However that isn't working properly as I can't spy on the GetSteerAngle() as shown below.
  SECTION("Spying on Wheel")
  {
    Mock<drive::Wheel> spy(wheel);
    When(Method(spy, GetSteerAngle)).AlwaysReturn(10);
    drive::Wheel & test = spy.get();
    CHECK(test.GetSteerAngle() == 10);
  }

Results in the following:
ERROR: CHECK( test.GetSteerAngle() == 10 ) is NOT correct!   values: CHECK( 0 == 10 )
I must be doing something wrong...

The solution was making the function virtual. In order to spy on a function it needs to be virtual.


Multi PV support

useful for analysis

I actually have time today to write a PR for this. I’ll keep you posted.


struct mi_heap_area_t "used" member documentation misleading

The documentation of mi_heap_area_t::used says: "bytes in use by allocated blocks".
This suggest that the the value is a number of bytes.
Actually, though, it appears to be a number of blocks; to get a byte value you need to multiply by the block size.
So it seems that either the documentation is not quite correct, or there's a multiplication lacking.
(Though for compatibility reasons it would probably be wiser to adjust the documentation.)

Thanks for the PR :-)


How to manually generate a PIT file for Heimdall (GT-I5510)?

I bricked my phone with Odin, because it won't connect to the device. I tried out number 17 of OEM ROMs that work with my device and the given radio.
So what's the state?

My phone is a Callisto (I5510GSMH from Poland (unbranded), I'm in Germany)
I can not boot into anything else than recovery mod or the last flashed CWM variant installed from the stock recovery mod. This is falsely flashed to /system instead of /recovery and I don't know why.
Softbricked, no bootable kernel.
Power + T for stock recovery mod
Power + E for Emergency DLoad Mode
Power + Q for Downloading...(???) Mode is available
I compiled omniarmv6 and tried to install it via adb sideload in the CWM 6.x variant, sideload worked - but failed at partition setup (file_contexts errors).

I can boot into CWM <IP_ADDRESS> or CWM <IP_ADDRESS>, but none of both variants can flash an update.zip formatted file.
I have the proven correct stock ROM available (same variant from first boot before I bricked the phone), but it is in tar.md5 format. I extracted it and I have all the required files for recovery.img, amss etc. available.
I have no possibility to get Odin (3.09 or 4.34) working, both variants will get stuck at setup connection. Drivers correctly installed (tried out 7 different drivers), I know the KIES bug, I know the cable length bug etc. Not working in VM, not working on Win7, not working on WinXP, not working on Win7 or WinXP of other computer. It's simply not working and a dead end. Seriously. Driver connects fine on Windows machines. My standard machine here is Ubuntu 14.04.
When trying to use Heimdall (my final choice after reading the whole dead link internet of the device) it gave me the typical interface error and I don't know what to do:
Initialising connection...
Detecting device...

        length: 18
      device class: 2
           S/N: 0
       VID:PID: 04E8:6601
     bcdDevice: 0100
   iMan:iProd:iSer: 1:2:0
      nb confs: 1

interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 02.02.01
       endpoint[0].address: 82
       max packet size: 0010
      polling interval: 09

interface[1].altsetting[0]: num endpoints = 2
   Class.SubClass.Protocol: 0A.00.00
       endpoint[0].address: 81
       max packet size: 0200
      polling interval: 00
       endpoint[1].address: 01
       max packet size: 0200
      polling interval: 00
Claiming interface...
Setting up interface...
libusbx: error [op_set_interface] setintf failed error -1 errno 71
ERROR: Setting up interface failed!
Releasing device interface...

Is there a way to setup a pit file manually? I have all the required partition image files laying around, but no access to a running kernel except the CWM on /system which can't flash anything.
My OS is Ubuntu 14.04, using heimdall-flash package (Heimdall v1.4.0).

Hey, I still got no reply. This still blocks me from using your awesome software :-(

Closing this issue because it leads to nowhere.


Vulkan: DirectionalLight3D PSSM 2 Split Blending blends 2nd & non-existant 3rd split

Godot version
v4.0.dev.custom_build [89cf449fe]
System information
Windows 10, Vulkan, Nvidia Quadro K2000 461.92
Issue description
Blending is broken when using 2 splits instead of 4, as it treats the shadowmap as if it were 4 splits and not 2, resulting in the last split blending with non-existant splits that causes a Fade out effect, not related to the Fade Start.
Steps to reproduce
Create Directional light and Enable shadows and make a shadow
Go near the end of Max Distance, with Fade start at 1
Toggle Blend Splits on and off (On will result in a Fade, Off will result in expected result.)
Minimal reproduction project
No response

Related to https://github.com/godotengine/godot/issues/59232.

Still reproducible on 4.2.dev 691634969 (Linux, NVIDIA 535.113.01). This does not occur when using Compatibility, only Forward+ and Mobile.


Build artifacts from master/develop branches and all release tags

Right now artifacts are only built off of master, which is a problem when it comes to publishing releases as well as building artifacts from multiple branches.  This is especially important since I with to publish a M1 release of 0.7.0 and currently can't do so from travis.
The plan going forward will be this:

"master" and "develop" will be our snapshot branches.  Master is for ongoing work on 0.6.x and develop is for 0.7.0, so as soon as we release 0.7.0 we'll go back to just master.
To publish a stable release (whether it's a milestone, candidate, or final release), we'll cut a branch just to change the version, the create a tag off that branch.  This way master and develop are always on "x.x.x-SNAPSHOT" versions and we never accidentally trigger a stable build from one of them.
any tag that starts with "v*", for example "v0.7.0-M1" will be considered a release tag and have artifacts published.

I'm open to other ideas, but I think this will work.

Current coverage is 80.28%

Merging #301 into master will not affect coverage as of a34fc4e

@@            master    #301   diff @@
======================================
  Files           70      70
  Stmts         3530    3530
  Branches       450     450
  Methods
======================================
  Hit           2834    2834
  Partial          0       0
  Missed         696     696

Review entire Coverage Diff as of a34fc4e

Powered by Codecov. Updated on successful CI builds.

I wasn't really able to test this in a PR, but I did get it working properly in the develop branch, so we'll just leave this as-is until that branch is merged to master.


az upgrade fails on Windows 10: The system administrator has set policies to prevent this installation.

This is autogenerated. Please review and update as needed.
Describe the bug
When I run az upgrade, the MSI is downloaded and script generated (first progress dialog) but then I get an error shown below. I am on a Microsoft-managed (employee) machine, so there may be additional policies in place.
Command Name
az upgrade
Errors:

The MSI log (I have logging enabled with "voicewarmupx") shows:
MSI (c) (58:C8) [11:07:07:434]: Using WinHttp to perform URL download
MSI (c) (58:C8) [11:07:07:435]: File path is a URL. Downloading file. . .
MSI (c) (58:C8) [11:07:07:452]: Msi WinHttp: Performing auto proxy detection
MSI (c) (58:C8) [11:07:07:455]: MSI WinHttp: Proxy Settings Proxy: (none) | Bypass: (none) | AccessType: 0
MSI (c) (58:C8) [11:07:08:374]: StatusCode is:[200]
MSI (c) (58:C8) [11:07:08:377]: Downloading https://aka.ms/installazurecliwindows to local file C:\Users\heaths\AppData\Local\Temp\MSIEA5E.tmp
MSI (c) (58:C8) [11:07:12:144]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (58:C8) [11:07:12:284]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'https://aka.ms/installazurecliwindows' against software restriction policy
MSI (c) (58:C8) [11:07:12:288]:
MSI (c) (58:C8) [11:07:12:290]: Deleting URL local copy C:\Users\heaths\AppData\Local\Temp\MSIEA5E.tmp.
MSI (c) (58:C8) [11:07:12:295]: MainEngineThread is returning 1625

The existing package, 2.26.1, is installed per-machine. The new package, 2.27.0, also has ALLUSERS=1 authored in the Property dialog so this should be allowed. In the past, I was prompted for UAC confirmation, but even now running az upgrade from an elevated prompt fails.
Installing the MSI myself succeeds.
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az upgrade

Expected Behavior
Installs, which it did some time ago (maybe a few months ago).
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.8.9
Installer: MSI

azure-cli 2.26.1 *

Extensions:
azure-devops 0.18.0

Additional Context

@jiasli for awareness

Note I can't repro this when executing "msiexec /i https://aka.ms/installazurecliwindows" directly. In fact, using python interactive I can run the following (similar to what you do here but without the unnecessary invocation of powershell.exe, which forces additional dependencies) with err:
subprocess.call(['msiexec.exe', '/i', 'https://aka.ms/installazurecliwindows'])

Note, however, this runs in interactive mode, which when I run az upgrade doesn't happen. You appear to run basic mode, which would require passing, for example, /qb.

Thanks @heaths for reporting this issue to us. I am also using a Microsoft domain-joined machine but couldn't repro this issue...
This issue was previously report at https://github.com/Azure/azure-cli/issues/18566 but I haven't find the root cause yet.
The code CLI uses to launch the MSI installation is
https://github.com/Azure/azure-cli/blob/3d14ca21e648f4fc0124132a43156a85a50251cd/src/azure-cli/azure/cli/command_modules/util/custom.py#L133-L135

without the unnecessary invocation of powershell.exe, which forces additional dependencies

The author of this line of code can't remember why powershell.exe is called here. If it is truly unnecessary, I can remove it.

In fact, using python interactive I can run the following with err

Just want to confirm, you can hit the same The system administrator has set policies to prevent this installation error in a Python interactive shell?
What if you use python.exe to initiate the installation in Command Prompt?
"C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe" -c "import subprocess; subprocess.call(['powershell.exe', '-NoProfile', \"Start-Process msiexec.exe -Wait -ArgumentList '/i https://aka.ms/installazurecliwindows'\"])"

Thanks for the information.

I can repro this issue now on my laptop. Looks like some policy gets pushed/updated recently.
Commands I used to trigger this error:
"C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe" -c "import subprocess; subprocess.call(['msiexec.exe', '/i', 'https://aka.ms/installazurecliwindows'])"

or even
msiexec.exe /i https://aka.ms/installazurecliwindows

Adding Display options like /qb and /qf doesn't help. I still see this error.
msiexec.exe /i https://aka.ms/installazurecliwindows /qb
msiexec.exe /i https://aka.ms/installazurecliwindows /qf

Running these commands from an Admin Command Prompt doesn't help either.
However, it works if I download this package to a local folder and install with
msiexec.exe /i D:\azure-cli-2.27.0.msi

I think it only appeared to work for me because it was installed, and MSI years the cached MSI on that case, so the discouraged copy wasn't used.
So it would be good to download it first. I've worked with MSI for over 20 years and letting it download the package was never ideal.
Optionally, if the install fails you could print the path to the downloaded copy and not delete it so the user can install it themselves. Though, I suppose you do print the URL so that's probably fine as well.

I think it only appeared to work for me because it was installed, and MSI years the cached MSI on that case, so the discouraged copy wasn't used.

I don't really understand this sentence. Do you mind rephrasing it?

So it would be good to download it first. I've worked with MSI for over 20 years and letting it download the package was never ideal.

True, and this issue is only hit when we let msiexec.exe do the downloading.

Optionally, if the install fails you could print the path to the downloaded copy and not delete it so the user can install it themselves.

Suppose we still let msiexec.exe do the downloading, do you happen to know how to retrieve the .msi file downloaded by msiexec.exe?

Though, I suppose you do print the URL so that's probably fine as well.

Using the URL will require the user to re-download the .msi file with a web browser. If we can retrieve the .msi file downloaded by msiexec.exe, the user won't need to download the .msi file again.
Alternatively, CLI can download the .msi file first and install it with msiexec.exe, then it will also work.

When an MSI detects that the ProdcutCode and ProductVersion are already installed, it uses the MSI already in the undocumented cache location (I replied offline where that is, but you must not mess with anything in there ever or you could corrupt it and cause the whole thing to be deleted, breaking every MSI on the machine).
If you let msiexec.exe download the MSI it is deleted when processing is finished, which also occurs right before the error dialog comes up.


Needing help understanding XML configuration for custom splash screen

Hello,
I have no background with using XML files and was wondering if I could get some better understanding on how to set up the custom splash screen for my Microsoft Teams rooms that I'm working to deploy. Thank you.

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

ID: 25a70665-5bf1-14f7-1df0-7596effcaf48
Version Independent ID: 813cf005-2777-9419-d1ce-3f9401ac267c
Content: Remotely manage Microsoft Teams Rooms device settings - Microsoft Teams
Content Source: Teams/rooms/xml-config-file.md
Service: msteams
GitHub Login: @dstrome
Microsoft Alias: dstrome

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


V2

Completely redesigned the site along with performance and quality of life features! This is gonna be awesome!!!

Alr that's good enough!


revokeRole spec mismatch

revokeRole emits {RoleRevoked} event if account has been revoked role
Greetings from ChainSecurity!

PR Checklist

[ ] Tests (does not apply)
[X] Documentation
[ ] Changelog entry (does not apply)

Thank you @simon-perriard for finding this typo.

Note, this typo is not present in the parent repository.
This should automatically be fixed with the next release transpilation.

Okay thanks! I'll open a PR in the openzeppelin-contracts repo and close this one


[engsys] remove typedoc dependencies and docs npm script

We removed this for most of packages but missed these.

API change check for @azure/dtdl-parser
API changes are not detected in this pull request for @azure/dtdl-parser

API change check for @azure/opentelemetry-instrumentation-azure-sdk
API changes are not detected in this pull request for @azure/opentelemetry-instrumentation-azure-sdk

API change check for @azure-rest/iot-device-update
API changes are not detected in this pull request for @azure-rest/iot-device-update