Error importing monitoring namespace

Hi all,
I'm wondering how can I import the Namespace created for a project which has monitoring option enabled
for example:
const gatekeeperProject = new rancher2.Project("gatekeeper", {
    clusterId: clusterId,
    enableProjectMonitoring: true,
    projectMonitoringInput: {
      answers: defaultMonitoringNsSettings
    }
  });

It will create a Project in Rancher, but also a namespace cattle-prometheus-projectID
I was trying to get the Namespace into Pulumi like this:
const monitoringNamespace1 = rancher2.getNamespace({name: `cattle-prometheus-${projectParts[1]}`, projectId: projectParts[1]});

where projectParts is the id of the project, when I execute the code I got this error:
Error: Invoke of 'rancher2:index/getNamespace:getNamespace' failed: rpc error: code = Unknown desc = invocation of rancher2:index/getNamespace:getNamespace returned an error: invoking rancher2:index/getNamespace:getNamespace: [ERROR] Getting clusted ID from project ID: Bad project id format p-xwdnh ()
        at deserializeResponse (C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\runtime\invoke.js:317:15)
        at invokeSyncWorker (C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\runtime\invoke.js:208:25)
        at invokeSync (C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\runtime\invoke.js:101:12)
        at Object.invoke (C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\runtime\invoke.js:84:24)
        at Object.getNamespace (C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\getNamespace.ts:34:65)
        at C:\Users\seboso\seo\repos\pulumi-rancher\gatekeeper.ts:68:47
        at C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\output.js:249:35
        at Generator.next (<anonymous>)
        at C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\output.js:21:71
        at new Promise (<anonymous>)
    Error: Invoke of 'rancher2:index/getNamespace:getNamespace' failed: rpc error: code = Unknown desc = invocation of rancher2:index/getNamespace:getNamespace returned an error: invoking rancher2:index/getNamespace:getNamespace: [ERROR] Getting clusted ID from project ID: Bad project id format p-xwdnh ()
        at deserializeResponse (C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\runtime\invoke.js:317:15)
        at invokeSyncWorker (C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\runtime\invoke.js:208:25)
        at invokeSync (C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\runtime\invoke.js:101:12)
        at Object.invoke (C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\runtime\invoke.js:84:24)
        at Object.getNamespace (C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\getNamespace.ts:34:65)
        at C:\Users\seboso\seo\repos\pulumi-rancher\gatekeeper.ts:68:47
        at C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\output.js:249:35
        at Generator.next (<anonymous>)
        at C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\output.js:21:71
        at new Promise (<anonymous>)

    error: Running program 'C:\Users\seboso\seo\repos\pulumi-rancher' failed with an unhandled exception:
    Error: Invoke of 'rancher2:index/getNamespace:getNamespace' failed: rpc error: code = Unknown desc = invocation of rancher2:index/getNamespace:getNamespace returned an error: invoking rancher2:index/getNamespace:getNamespace: [ERROR] Getting clusted ID from project ID: Bad project id format p-xwdnh ()
        at deserializeResponse (C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\runtime\invoke.js:317:15)
        at invokeSyncWorker (C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\runtime\invoke.js:208:25)
        at invokeSync (C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\runtime\invoke.js:101:12)
        at Object.invoke (C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\runtime\invoke.js:84:24)
        at Object.getNamespace (C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\getNamespace.ts:34:65)
        at C:\Users\seboso\seo\repos\pulumi-rancher\gatekeeper.ts:68:47
        at C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\output.js:249:35
        at Generator.next (<anonymous>)
        at C:\Users\seboso\seo\repos\pulumi-rancher\node_modules\@pulumi\rancher2\node_modules\@pulumi\pulumi\output.js:21:71
        at new Promise (<anonymous>)

Any idea or suggestion?
thanks in advance

I believe the projectId should be a cluster-id and project-id pair, e.g. c-7q96s:project-j6z6d

Hi @leezen thanks for your answer, indeed you are right .
Now, I'm able to get the namespace an access its properties, however it's not present in the state file, which means  if I execute **pulumi destroy**, it does not get destroyed.
In order to accomplish it, I tried to "import" the namespace but it's not working. I'm also not sure if this is the right approach. do you have any idea or example as reference?
const monitoringNamespace = rancher2.getNamespace({
      name: `cattle-prometheus-${projectParts[1]}`,
      projectId: name
    });

    const temp = new rancher2.Namespace(
      "gatekeeper-monitoring",
      {
        projectId: monitoringNamespace.projectId,
        name: monitoringNamespace.name
      },
      { import: monitoringNamespace.id }
    );

What's not working about the import? You're correct that for it to come into your stack, you should use the import resource option.

@leezen  this is the error that I get:
Diagnostics:
  rancher2:index:Namespace (gatekeeper-monitoring):
    error: Preview failed: importing cattle-prometheus-p-5qb94: [ERROR] Rancher Cluster Client: cluster ID is nil

  pulumi:pulumi:Stack (pulumi-rancher-dvlp):
    error: preview failed

    The Pulumi runtime detected that 33 promises were still active
    at the time that the process exited. There are a few ways that this can occur:
      * Not using `await` or `.then` on a Promise returned from a Pulumi API
      * Introducing a cyclic dependency between two Pulumi Resources
      * A bug in the Pulumi Runtime
    Leaving promises active is probably not what you want. If you are unsure about
    why you are seeing this message, re-run your program with the `PULUMI_DEBUG_PROMISE_LEAKS`
    environment variable. The Pulumi runtime will then print out additional
    debug information about the leaked promises.

I'm not super familiar with this provider, but can you please try the following:
pulumi config set rancher2:clusterId <your_cluster_id>
I believe the provider is looking for this value in the config. Please let me know if that works and we'll make sure to update the documentation if so.

Hi @leezen  I did tried your suggestion but unfortunately it didn't work. I got the same error.

Sorry for the delay in reply. I took further look and it's actually the format of the id that's very specific:
cluster:project.namepsace
So, for example, c-fnxgl:p-rs5zp.default
I would try rewriting your import as:
const temp = new rancher2.Namespace(
      "gatekeeper-monitoring",
      {
        projectId: monitoringNamespace.projectId,
        name: monitoringNamespace.name
      },
      { import: `${monitoringNamespace.projectId}.${monitoringNamespace.id}` }
    );

I tried with my own setup and was able to get that working. Hopefully it works for you as well. Closing for now, but please re-open if you can't get that to work.

hi @leezen  thanks for your answer,
I did try your suggestion but it didn't work, it seems that there is an issue importing resources which are deploy in a namespace different than 'default'
new rancher2.Namespace(
    "gatekeeper-monitoring",
    {
      projectId: "c-c8pcx:p-wvsm7",
      name: `cattle-prometheus-p-wvsm7`,
    },
    { import: `c-c8pcx:p-wvsm7.cattle-prometheus-p-wvsm7`}
  );

this is the error that I got:
rancher2:index:Namespace (gatekeeper-monitoring):
    error: Preview failed: importing c-c8pcx:p-wvsm7.cattle-prometheus-p-wvsm7: action [move] not available on [&{cattle-prometheus-p-wvsm7 namespace map[remove:https://rancher.dvlp.delen.be/v3/cluster/c-c8pcx/namespaces/cattle-prometheus-p-wvsm7 self:https://rancher.dvlp.delen.be/v3/cluster/c-c8pcx/namespaces/cattle-prometheus-p-wvsm7 update:https://rancher.dvlp.delen.be/v3/cluster/c-c8pcx/namespaces/cattle-prometheus-p-wvsm7 yaml:https://rancher.dvlp.delen.be/v3/cluster/c-c8pcx/namespaces/cattle-prometheus-p-wvsm7/yaml] map[]}]

Okay, one more thing to try. I determined the above cluster:project.namespace format from https://github.com/terraform-providers/terraform-provider-rancher2/blob/master/rancher2/import_rancher2_namespace.go
It seems that if you give it a fully-qualified name like that, you'll see on Line 26, it attempts to then move the namespace if the project ID is not empty. It also appears you can import the namespace just based on name. So, monitoringNamespace.id is a partially qualified name and doesn't work (it doesn't include the project id), but monitoringNamespace.name should (because it doesn't include the project nor cluster ids).

@leezen it does not work, if I do it with name, then I got the initial error:
error: Preview failed: importing cattle-prometheus-p-wvsm7: [ERROR] Rancher Cluster Client: cluster ID is nil

Here's my complete example that worked for me if it's helpful to you:
import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";

const projectId = "c-fnxgl:p-rs5zp";

const myNamespace = rancher2.getNamespace({
    name: "default",
    projectId: projectId
});

const temp = new rancher2.Namespace("myns",
    {
        projectId: myNamespace.projectId,
        name: myNamespace.name,
    },
    { import: `${myNamespace.projectId}.${myNamespace.id}` }
);

exports.projectId = myNamespace.projectId;
exports.name = myNamespace.name;
exports.id = myNamespace.id;

@leezen can you try running your code against a namespace different from default?
something like:
const myNamespace = rancher2.getNamespace({
    name: "testing",
    projectId: projectId
});

I tried your code and I got the same error.
I'm running Pulumi 1.12.0

I just happened to name the namespace default. I tried again with a different namespace name and was still able to import properly:
const myNamespace = rancher2.getNamespace({
    name: "my-ns",
    projectId: projectId
});

const temp = new rancher2.Namespace("myns",
    {
        projectId: myNamespace.projectId,
        name: myNamespace.name,
    },
    { import: `${myNamespace.projectId}.${myNamespace.id}` }
);

mmm weird. It doesn't work here. Thanks for your help.
I'll test it in a new empty project.


[slack] Setting the channel topic from within matterircd crashes the instance

If a user sets the topic:
/topic <new_topic>
from within a matterircd session, it crashes.

@christian-blades-cb


[SPARK-5904][SQL] DataFrame Java API test suites.

Added a new test suite to make sure Java DF programs can use varargs properly.
Also moved all suites into test.org.apache.spark package to make sure the suites also test for method visibility.

Test build #27920 has started for   PR 4751 at commit a6ca53b.

This patch merges cleanly.

I don't see any other issues

Test build #27922 has started for   PR 4751 at commit 1e8b8e4.

This patch merges cleanly.

Test build #27920 has finished for   PR 4751 at commit a6ca53b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27920/
Test PASSed.

Test build #27922 has finished for   PR 4751 at commit 1e8b8e4.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public class JavaApplySchemaSuite implements Serializable
 public static class Person implements Serializable
public class JavaDataFrameSuite
public class JavaRowSuite
public class JavaUDFSuite implements Serializable
public class JavaSaveLoadSuite

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27922/
Test PASSed.


[MB-11010] PPM booking dates and location form storybook

Jira ticket for this change
Summary
This PR creates the new DatesAndLocations.jsx form component for the PPM Booking Dates and Location page and adds it to storybook.
The component has conditional fields displayed for the secondary ZIPs, these become required when the has additional ZIP questions are set to "Yes".
The origin ZIP can be prefilled with the residential address if the checkbox is selected.  The destination ZIP can be prefilled with the destination duty location ZIP if the checkbox is selected.
The ZIP codes have an async validation to check if they are valid according to the rate engine.  This is an existing endpoint in the Internal API that is called from elsewhere in the Customer app.  It checks different tables depending on if it's the origin ZIP or the destination, not sure if this behavior is still desired.
We also talked about possibly disabling the ZIP text boxes if the checkbox to use the residential address or destination duty location is chosen so we don't send a payload to the API that says we're using an existing one but then the user has edited the field.  This may not matter too much for the estimate but something to consider about weird states.
Zeplin hi-fi mocks
TODO

[x] Add section styling
[x] Add mobile layout styling
[x] Add button styling
[x] Add additional storybook stories (existing PPM, optional fields, validations)
[x] Fill set origin/destination ZIP values (residential ZIP, destination duty station ZIP) when checkboxes are selected
[x] React Testing Library component unit tests

this article explains more about the approach used.
Setup to Run Your Code

💻 You will need to use three separate terminals to test this locally.
Terminal 1
Start the Storybook locally.
make storybook

Terminal 2
Start the UI locally.
make client_run

Additional steps

Open storybook locally and find the Customer Components -> PPM Booking -> Dates And Locations component http://localhost:6006/?path=/story/customer-components-ppm-booking-dates-and-location--blank-dates-and-location

Verification Steps for Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

Frontend

[ ] User facing changes have been reviewed by design.
[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] There are no new console errors in the browser devtools
[ ] There are no new console errors in the test output
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.

Backend

[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

Screenshots

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

Messages

:book:
:link: MB-11010

  Generated by :no_entry_sign: dangerJS against 57ee780f2ee881da8010e6efc5e60c5cb9dc51ec

@dinabeigelman You should be able to view this PR's storybook at this URL https://598411-114694829-gh.circle-artifacts.com/0/storybook/index.html?path=/story/customer-components-ppm-booking-dates-and-location--blank-dates-and-location
There are 6 new Happo diffs (2 flakey unrelated diffs) you can review here https://happo.io/a/488/p/603/compare/235b98dc2b65acc1a61f3fdaa74d11caab61fb1a/d2b01f0a7518e53a6311aa94fea07a4bc5ce665a

Recommended for a later story:
When a customer checks "use my existing ZIP", then edits the ZIP field manually, the checkbox for "use existing" should automatically un-select.
This avoids scenarios where a customer types a different ZIP but the "use my current ZIP (96766)" field is active/checked and shows a different ZIP code.
(What we have now matches what happens already in HHG and other shipments, so this change should be consistent throughout.)

ZIP validation message should be Enter a 5-digit ZIP code (should be true everywhere in the onboarding/booking experience, not just PPM)

A 9-digit ZIP without a hyphen should not show an error — ideally would just autoformat to add the hyphen XXXXX-XXXX


Provide custom config in cypress [after #4086]

After ticket #4086 is done, the next step is to do this: (To be able to run E2E tests for the toggle feature)

ability to easily provide custom config in cypress, either by modifying index.html on the fly, or providing fake JS file (also on the fly) that will be loaded in our app

merged together with #4086


Envoy's proxy protocol filter now sanitizes TLV values, breaking some existing use cases

Description:
I believe the commit from this PR to sanitize the proxy protocol values seems wrong. The sanitizeUtf8String function used modifies the bytes in a non-recoverable way, but the actual value isn't always meant to be a valid utf8 string. I believe the proxy protocol spec allows for this.
Materially, Google's private service connect (PSC) feature encodes a TLV value as a binary encoded int64. With this commit there's no way to recover the original value in most cases. Example value bytes that should be a valid PSC id
00 22 6b cf 0a 00 00 02 (decodes to<PHONE_NUMBER>336770)
I think either using set_bytes within ProtobufWkt::Value (which doesn't seem to exist today) or escaping the bad bytes in a reverseable way would be necessary.
Severity:
This is an upgrade blocker for us as it'll break our production critical traffic since we won't be able to accurately compare private link ids. We'd either avoid upgrading envoy or need a local patch to undo the fix.
Repro steps:
The above commit's unit test already covers a relevant example, it's just the expected assertions makes existing use cases non-functional. Data should be stored as is for consumption by other filters (like the lua filter) or at least needs to be escaped to be proper utf8 in a reversible way.
Potential fixes:
Fix with least side effects is probably to try to only escape/sanitize the value when actually serializing it since memory binary data is ok. But this is pretty fragile since the field we're storing it in is just a string, suggesting serializing is ok. Ideally something like ProtobufWkt::Value has a bytes type, but it doesn't seem to because I guess it's meant to represent a Json value and that doesn't support binary data?
A less ideal fix is to save the data encoded in some reversable way (e.g. base64) and then document that for consumers. If they want the original data they can decode the value back out.
I guess another approach is to provide a bytes value separate from ProtobufWkt::Value for the proxy protocol filter to save data to. Then it's clearer during serialization that encoding/sanitization is necessary, and until that happens other filters can keep working with the exact payloads but this is probably the most intrusive from a code perspective.
cc @ggreenway

cc @nezdolik

@fedya-at-db can you clarify how to fails for you please? Do you have proprietary Envoy filter that uses TLV values from proxy protocol header?

Hi @yanavlasov !
Oh shoot, I forgot our PR to envoy to upstream that change never got submitted. So this PR allows a lua filter to access connectionStreamInfo and the associated dynamicMetadata, which is where the proxy_protocol filter writes TLV values. We have this in our local fork. This means we can use the TLV values in lua, and we base64 encode the PSC id (and AWS privatelink id, but that one is valid utf8, though the first byte is a 0x01) into a header to proxy to upstream.

Hi @yanavlasov !
Oh shoot, I forgot our PR to envoy to upstream that change never got submitted. So this PR allows a lua filter to access connectionStreamInfo and the associated dynamicMetadata, which is where the proxy_protocol filter writes TLV values. We have this in our local fork. This means we can use the TLV values in lua, and we base64 encode the GCP PSC id (and AWS privatelink id, but that one is valid utf8, though the first byte is a 0x01) into a header to proxy to upstream.

Does your fork allow to set TLVs from Lua (to pass to the upstream)?

Hi @yanavlasov !
Oh shoot, I forgot our PR to envoy to upstream that change never got submitted. So this PR allows a lua filter to access connectionStreamInfo and the associated dynamicMetadata, which is where the proxy_protocol filter writes TLV values. We have this in our local fork. This means we can use the TLV values in lua, and we base64 encode the GCP PSC id (and AWS privatelink id, but that one is valid utf8, though the first byte is a 0x01) into a header to proxy to upstream.

Does your fork allow to set TLVs from Lua (to pass to the upstream)?

Yes, it does. The idea is to expose the connection-level metadata to LUA and read the TLVs from the Proxy Protocol filters and add those as HTTP headers which could be forwarded to the upstream.
cc @wbpcode I know the original PR was blocked on the refactoring which is non-trivial work. Is it fine to get this feature in and do follow-ups for the refactoring you suggested?

There is #33146 that modifies how TLV are stored in the metadata, which may solve this problem in the LUA filter.


Application icon lost

After update to 4.2.5. Xubuntu

And more annoying is the missing icon in the task switcher thing (this is windows 7):

Also confirmed on Windows 8/8.1 and 10.

Thanks for report.
Something went wrong in 4.2.6 product branding configuration.


⚠ BeyondHD has degraded performance

In aad8dc2, BeyondHD ($BHD) experienced degraded performance:

HTTP code: 200
Response time: 1397 ms

Resolved: BeyondHD performance has improved in de3507a after 10 minutes.


User specified memory usage and timeout warning thresholds

Added two config options to allow for configuring the thresholds to trigger the timeout and memory usage events. The default values fallback to the current hard-coded ones if these options aren't specified.
config options:
timeout_warning_threshold (environment variable: SENTRY_TIMEOUT_THRESHOLD)
memory_warning_threshold (environment variable: SENTRY_MEMORY_THRESHOLD)
These are float values that represent the percentage for the threshold trigger.
For example: To have a timeout warning at 30 seconds on a function with a max runtime of 60 seconds, set timeout_warning_threshold = 0.50

Coverage decreased (-0.2%) to 89.057% when pulling 0cb202c564464ab9b14f3a8f5a875289519e499a on aspotton:set_warning_thresholds into f06e664368ac25dd53411239cc9513dc60634837 on Netflix-Skunkworks:master.


chore: data update

Sorry for being late
I've updated to the latest data containing ships introduced in this event


Update Registrere klienten i applikasjonen .NET 6

Description

including the code line "using Altinn.App.AppLogic.DataProcessing;" in the decription for .NET6.
Included version selector for .NET5 and .NET6.
Related Issue(s)

#{issue number}

Verification

[ ] Your code builds clean without any errors or warnings
[ ] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[ ] All tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

@andreas-didriksen
.NET 5 is unsupported, and has been since May 2022.
Does it make sense to keep and maintain the .NET 5 dok? @RonnyB71, thoughts?
Also, remember english ;)

The majority of apps in production today use .NET5. App owners may need old documentation if they for some reason don't want to use .NET6

The majority of apps in production today use .NET 5.

That's a problem... :(
So, should we help them stay on a non-supported version with potential security issues by creating new documentation, or should we instead point to the upgrade guide?

I was not aware of the security issue in .NET5. See your point and I will make some changes to this pull request. The only problem is that many of the launched apps are on a very old version number and have to go through several changes and breaking changes to be able to implement .NET6. Which is a pretty boring job.

Yup, but I guess we have no choice? I guess there are two things we should do:

Do a cleanup and remove very old apps in Studio, automate it. We've done this before.
Create PRs for all "real" apps, especially those in prod, if the app owners themselves are not able

If we don't do this https://github.com/Altinn/altinn-studio/issues/5762 will be hell :)
//cc: @FinnurO @nkylstad @elwal


[Feature Request] Enable relative paths for file picker

Is your feature request related to a problem? Please describe.
Files within an ARC are identified by their relative paths to the isa file. This means that when annotating computational workflows, input and output files must be annotated via relative paths (to the isa file). See https://github.com/nfdi4plants/ARC-specification/issues/59 for further insights/discussion.
Describe the solution you'd like
Easiest solution would be adding a text input field that can apply prefixes to all selected/copied file paths. A more sophisticated solution would automatically resolve relative paths from the current annotation file.
Describe alternatives you've considered
Well, you can use something like excels CONCAT function and copy the result into the original column but that's rather cumbersome and more of a workaround.

Took me some time to get to this, but i created the logic for this to work under all operating systems, just to find out... Browsers do not give path information. For security reasons, which makes sense.

Easiest solution would be adding a text input field that can apply prefixes to all selected/copied file paths.

I do not really see this as a useful alternative from both a UI or UX perspective, but i will enable the automatical path resolving in a future electron version.

Stupid question since I'm interested: Doesn't the File Picker return a full path?

Only the name

Easiest solution would be adding a text input field that can apply prefixes to all selected/copied file paths.

The solution is back on the menu boys!
Will implement this solution 👍

https://github.com/nfdi4plants/ARC-specification/issues/59

This will be done as part of #383 in ARCitect only. Will close this for now 🙂


[GHSA-369m-2gv6-mw28] WEBrick RCE Vulnerability

Updates

Affected products

Comments
The vulnerable software component that should be updated is Ruby, not WEBrick. Therefore, this report, which mixes up Ruby version with WEBrick one, should be deleted.

Should be handled in
https://github.com/github/advisory-database/pull/2526


Accessing globals from boot-server prerendering

Hi,
In Angular 2 and Asp.Net core app, I am using the DI system to make some global data available with some arbitrary key, e.g., by adding this to the providers array in boot-server.ts:
ngCore.provide('myCustomKey', { useValue: params.data.yourValue }),
... and then receiving this as a constructor parameter in a component:
constructor(@ng.Inject('myCustomKey') myValue: any) {
// Do something with myVaue, e.g., prepopulate the component's data properties
}
After this i need to declare the same provide('myCustomKey', { useValue: params.data.yourValue }), in boot-client.ts otherwise application shows error - provider not available.
The issue is the data is coming in the pre-render but after a fraction of second it got overridden by the boot-client provider data.
Is there any way to get the pre-render data in boot-clien.ts?

Yes, in your boot-server.ts, as well as returning html, you can return a property called globals, and then it will be made available to your client-side code as a property on window (that you can capture and then optionally delete from window if you want to).
This is exactly how the ReactReduxSpa template transfers the Redux store state from the prerendered application to the client-side application (see it go from here on the server to here on the client).

Already tried this. this is what mentioned in the document.
But window is not available on ts file.
Getting error as window is undefined while trying to access the global variable from window.

I'm not sure what you mean by "not available". Are you talking about a TypeScript compilation error, or a runtime error?

I'm not sure what you mean by "not available". Are you talking about a TypeScript compilation error, or a runtime error?

I'm having the same issue. I get window is not defined at runtime


Testing: TypeError: 'undefined' is not an object (evaluating 'response.config.ignoreLoadingBar')

When Unit Testing my App I am seeing:
Testing: TypeError: 'undefined' is not an object (evaluating 'response.config.ignoreLoadingBar')

Apparently I did not mock out the LoadingBar HTTP Interceptor. How to achieve this or surpress this error message while running tests (with karma and jasmine in my case). I tried injecting cfpLoadingBarProvider into my beforeEach hook but it fails because it is not a injectible module .

There shouldn't really be any difference in your unit tests, meaning it should just work.  My guess is you have an interceptor that is not working properly, or perhaps you've mocked out an interceptor and you're not returning a config object.  See #50 for more information on this.


Explorer never opens even though i am logged in to Azure and i can add storage resources successfully

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.26.0
Regression From
1
Architecture
x64
Storage Explorer Build Number
1.26.0
Platform
Windows
OS Version
Windows 10 enterprise
Bug Description
I can log into azure, add new connection, but i cannot view any connection as the explorer does not open even after clicking multiple times.
Steps to Reproduce
Launch storage explorer
connect to azure
launch Explorer/view azure resources already connected
Actual Experience
I can log into azure, add new connection, but i cannot view any connection as the explorer does not open even after clicking multiple times.
Expected Experience
No response
Additional Context
No response

When i click on the first icon on the left, nothing happens.

@venkaus when you first start Storage Explorer, if you don't do anything and just leave it, what do you see after ~30 seconds?
Can you describe and if possible share a screenshot? Thanks!

Closing due to lack of response. If you still use Storage Explorer, please try to bump the timeout parameter as suggested and see if it helps.


PhantomJS 1.9.7 with Ruby 2.1 always crashes when I try to upload a file via web interface

I try to upload images to a popular website via its web interface. I am using Ruby 2.1 and Watir-Webdriver gem, Arch linux 3.12.9. When clicking submit button I always get an error message "EOFError: end of file reached" and PhantomJS eventually crashes. Minidump generated by minidump_stackwalk: http://pastebin.com/ZupsBhTV
dmp file: http://pvlv5wptjx.1fichier.com/2aeb91c8-2bd8-8393-0bd747db-3849daf3.dmp

Please upgrade to PhantomJS 2. 1.9.x is no longer supported, and known to have many crasher bugs that are fixed in 2.0.


Coloring of Rect

Hi there.
First of all, thank You for react-konva! It has helped me alot, and it is, well.. mostly simple to use.
The problem I am facing is:
I have a  component wihich contains:
<Group> <Rect /> <Text /> </Group>

In the parent component called <Tables/>, I iterate throguh an array of attributes for each <Table> and I render all the <Table> components.
The problem: <Text/> component gets the fill property which is a string with a color (like 'blue'), and the <Rect /> doesn't. My code is below:
<Group draggable={true}
     x={this.props.x} y={this.props.y}
     ref={this.props.id} // this is unique - from DataBase
     onDragEnd={()=>this.handleDragEnd(this.props.id)}
     onClick={()=>this.props.tableClick({id: this.props.id})} //, x: this.props.x, y: this.props.y
  onMouseEnter={this.props.cursorPointer}
  onMouseLeave={this.props.cursorDefault}>
<Rect
  ref={`R-${this.props.id}`} // I know it doesn't affect anything but..
  x={this.props.x} y={this.props.y}
  fill={this.props.color} // this doesn't work   <-----------------------------------------***
  width={this.props.width} height={this.props.height}
  stroke={'black'} strokeWidth={2}
/>
<Text
  text={`${this.props.chairCount}`} fill={this.props.color} // this works.. *How?* <----***
  fontSize={30}
  padding={25}
/>

Please answer as soon as possible, since time is really of the essence, and I've already lost a day on this issue.
Thank You for Your time
Greetings,
Aleksandar

Probably because you set x and y to the Rect, so absolute position of the Rect is {2 * x, 2 * y} (position of group plus position of the Rect). So you don't see it.
This demo works fine: http://jsbin.com/norasuvedu/1/edit?js,output

Thank You for a fast response, but it is not working.
I've set a cursor change to a pointing hand (👆) on mouse enter and back to normal on mouse leave.
Interesting thing is that when I enter the Rect with my cursor, it changes to a 👆, so I know the rect is on the good position.
Also, when I draw new tables, they are normally visible, but I can't tell why.
I am writing messages about the colors to the console window, and the color matches (see the image below).
What else can I try?

I've just realized that I was setting the width to a undefined value, and the new tables had the width defined automatically. Sorry for bothering.
Thank You for Your time.
I would also like to get a small sample of the contentClick event (found on Konvajs docs).
Thanks once again!


docs: reference of INSERT INTO ~ DEFAULT VALUES.

This PR removes restriction notes from syntax rules of DEFAULT VALUES clause in INSERT statement in the document SQL Feature list.

related to: https://github.com/project-tsurugi/tsurugi-issues/issues/941.


Automatic odometer records not working with API injection

When inserting a fuel record via the API, no automatic odometer record is created (the setting is indeed turned on). When manually adding a fuel record it works fine.

this is being worked on, will be released tomorrow.

Released in 1.1.4


Update UI to setup all assets of an org from one form

💡 Summary
Add new UI page to fully setup orgs assets.
Motivation and context
We currently have a UI form that sets up the cyhy assets but doesn't set up all the other portions we need to run all of our scans
This will greatly simplify setup
Implementation notes
We will add a new page that has a form that takes in the required information for the stakeholder.
It will then enumerate sub_domains and ips for the org and setup the accounts in cybersix
Acceptance criteria

[ ] New UI page is created
[ ] Page has a form to launch stakeholder insert functions
[ ] page has additional buttons to launch other scans that are necessary for stakeholder asset management i.e. link subs and ips

The UI adjustments have been made, however if any of the scripts takes more than 30 minutes they close when run from the UI, needs to managed through celery to make sure they complete.

@DJensen94 let's go ahead and close this and create a bug ticket for the issue you listed concerning timeouts.


Fix statusCode condition for Translation response

Loco respond statusCode 200 for newly created Translation. I fix it here to fix https://github.com/php-translation/symfony-bundle behaviour too

You're welcome ;)


Failed to ingest events

Failed to ingest events .catch() JSON.parse: unexpected character at line 1 column 1 of the JSON data
Machine ID: undefined

[!NOTE]
Book a call

key
value

id
tAjgBapiLSQ2rfv7pelWz

url
http://localhost:3000/

wifi

cpu
8

mem
undefined

gpu

time
1726648569226

items
0

bytes
0

@VedantRaut-sudo Hi, looks like the compiler wasn't configured correctly, or you are running in a purely server components environment. Happy to help get this resolved for you https://cal.com/aiden


Allow for null metadata.annotations

Signed-off-by: Kevin Cormier<EMAIL_ADDRESS>https://github.com/stolostron/backlog/issues/20588

/cc @zlayne


More string literals

Currently the only string literal available is "abc", which is inconvenient for a few use cases:

No way to disable escape sequences
No way of writing ASCII characters, akin to Rust's b'a'
Hard to store code in literal strings

Therefore I propose the following new literals:

Double-backslash like Zig:code =
\\Hello, world!
\\This is a multiline string literal.
assert(code == "Hello, world!
This is a multiline string literal.")

This gives the developer nice control over the indentation level of content inside the literal.

Binary character literals: assert(b'a' == 97)
Raw string literals: \r"C:\Windows\calc.exe"

We use a backslash before the r because I'd rather not have the lexer have to backtrack or do other funny stuff.

Related: #8


Add indexer feature to Rosetta

This PR implements Rosetta indexer feature. This endpoint (/search/transactions) allows searching for transactions matching certain conditions. The specification can be found here. Some existing logic was moved around to allow it to be reused by different endpoints.
This has been tested by manually calling the endpoint and comparing the response with the expected result. This PR also includes a property-based test executable that takes a postgres URI to an archive DB and checks this implementation against the defined properties.

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-toolchain-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

Hey @joaosreis.  Is indexer_test app used in CI ? from description looks like it need archive_uri so i guess it is component test on real postgres data. Where i can see it run?

@dkijania it's not used in CI for that specific reason, it needs to connect to an archive DB. Locally, I've ran it against qanet and devnet archive DBs.

!ci-build-me

Adding the indexer test to CI will be worked on #15641

!approved-for-mainnet


Collection preview

Some collections preview img looks like this

happens on desktop as well, for example on generative collection

https://canary.kodadot.xyz/ahp/collection/21

:wave:


add issue assign bot

Codecov Report

Merging #408 (9120e72) into master (f2f7f59) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #408      +/-   ##
==========================================
- Coverage   74.14%   74.09%   -0.05%
==========================================
  Files          52       52
  Lines       10539    10539
==========================================
- Hits         7814     7809       -5
- Misses       1978     1981       +3
- Partials      747      749       +2

Impacted Files
Coverage Δ

master/task_manager.go
85.71% <0.00%> (-3.58%)
:arrow_down:

Continue to review full report at Codecov.

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


How to fix warning: Incompatible pointer types assigning to 'NSMutableArray<SyncEntity,ConvertOnDemand> *' from 'NSMutableArray *'

I have this line of code that is giving me a warning:
    syncItem.syncEntityList=[[NSMutableArray alloc]init];

The warning is:
Incompatible pointer types assigning to 'NSMutableArray<SyncEntity,ConvertOnDemand> *' from 'NSMutableArray *'

@property(nonatomic,strong) NSMutableArray<SyncEntity,ConvertOnDemand> *syncEntityList;

The SyncEntity class:
#import <Foundation/Foundation.h>
#import "JSONModel.h"

@protocol SyncEntity @end

@interface SyncEntity : JSONModel
@property(strong,nonatomic) NSString *synctitle;
@property(strong,nonatomic) NSString *syncrequestcode;
@end

Can someone please enlighten me?

The problem here is that JSONModel uses Objective-C protocols to declare specific attributes of the properties you specify in your model classes. However, this protocols also have a meaning for the compiler: The compiler now complains that a default NSMutableArray does not implement ConvertOnDemand or SyncEntity.
But none of these marker-protocols require any methods to be implemented, so you can safely cast your array to the appropriate protocol like this:
syncItem.syncEntityList = (NSMutableArray<SyncEntity,ConvertOnDemand> *)[[NSMutableArray alloc] init];

Cool,Best wish for you.

thanks ;-)

For anyone coming back to look at this, it is worth noting that ConvertOnDemand is no longer supported.


Many connections at once

First of all I want to say a huge thank you for this great plug-in!
As I was trying to create a group chat using this plug-in I first realized that a room is full when two peers have entered it. To create the group chat my next solution was to let one device be the host and brodcast all incomming messages to then realize that one device is limited to only keeping one connection at once.
Depending on what is easiest to implement, multiple peers in the same room or multiple p2p connections at once on the same device, that solution would be sufficient.
Many tanks in advance!!

The two peers limitation is determined by the apprtc server. Actually this
plugin is a very basic demonstration, it use signaling code from the
official demo, to use it in production, bunch of work is needed.
Sorry for the late response,  I'm on vocation these two weeks.
Best regards.
此致，祝好！
Piasy Xu
许建林
https://github.com/Piasy
https://www.linkedin.com/in/piasy
On Wed, Aug 21, 2019 at 8:01 PM Oscar Linnarsson<EMAIL_ADDRESS>wrote:

First of all I want to say a huge thank you for this great plug-in!
As I was trying to create a group chat using this plug-in I first realized
that a room is full when two peers have entered it. To create the group
chat my next solution was to let one device be the host and brodcast all
incomming messages to then realize that one device is limited to only
keeping one connection at once.
Depending on what is easiest to implement, multiple peers in the same room
or multiple p2p connections at once on the same device, that solution would
be sufficient.
Many tanks in advance!!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Piasy/FlutterWebRTCDataChannel/issues/3?email_source=notifications&email_token=AAXUQUAJWQBOYFXS74VKDKTQFUG7FA5CNFSM4IOETRN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGO6DFQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXUQUCHBWFXTH2QNHJTFPLQFUG7FANCNFSM4IOETRNQ
.

Ahh, ok, good to know. Then I'll continue browsing for a good plugin as I'm not to familiar with how to implement these protocols.
Best regards and sorry for the delayed response.


Realsense viewer crash D435

librealsense
2.49.0 RELEASE

OS
Windows

Intel RealSense Viewer / Depth Quality Tool has crashed with the following error message:
Program terminated due to an unrecoverable SEH exception:
Access Violation!

Hi @amc-smith  There is a currently open case at https://github.com/IntelRealSense/librealsense/issues/10187#issuecomment-1026043386 that is dealing with the same issue, so I recommend reading down through the comments for suggestions of actions to try regarding this error.  Thanks!

Hi @amc-smith  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


vTaskSuspendAll bug can cause incorrect core to be suspended. (IDFGH-12996)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
5.2.1
Espressif SoC revision.
N/A
Operating System used.
Windows
How did you build your project?
Eclipse IDE
If you are using Windows, please specify command line type.
PowerShell
Development Kit.
Any
Power Supply used.
USB
What is the expected behavior?
vTaskSuspendAll must suspend the core on which the task is run
What is the actual behavior?
It is possible for vTaskSuspendAll to suspend the wrong core. Consider the code below from xt_utils.h, if TaskA calls vTaskSuspendAll and taskB is made to run after the "rsr.prid %0" instruction then TaskA moves to another core, but prid was already read and so xt_utils_get_core_id() will now return wrong core ID, and then wrong core is suspended.
`
FORCE_INLINE_ATTR attribute((pure)) uint32_t xt_utils_get_core_id(void)
{
/*

Note: We depend on SOC_CPU_CORES_NUM instead of XCHAL_HAVE_PRID as some single Xtensa targets (such as ESP32-S2) have

the PRID register even though they are single core.

*/

#if SOC_CPU_CORES_NUM > 1
// Read and extract bit 13 of special register PRID

uint32_t id;

asm volatile (

    "rsr.prid %0\n"

    "extui %0,%0,13,1"

    :"=r"(id));

return id;

#else
return 0;

#endif // SOC_CPU_CORES_NUM > 1
}
`
Steps to reproduce.
Repeatedly call vTaskSuspendAll() and then xTaskResumeAll(), after a while you get assert failed:
assert failed: xTaskResumeAll tasks.c:2554 (( ( xTaskGetSchedulerState() == ( ( BaseType_t ) 0 ) ) ? ( ( BaseType_t ) 1 ) : ( ( BaseType_t ) 0 ) ) == ( ( BaseType_t ) 1 ))
Debug Logs.
No response
More Information.
No response

Check if v5.2.2 fixed this issue.
https://github.com/espressif/esp-idf/releases/tag/v5.2.2 mentioned
Fixed a bug where vTaskSuspendAll() could suspend the wrong core (9f4f8e2)

v5.2.2 solves it, thx.


Azure workload identity throws 403 error

Describe the bug:

I have been trying to use the dns01 challenge with Azure DNS and federation credentials to generate a DNS certificate for my host, it throws a 403 unauthorized error:
Status=403 Code="AuthorizationFailed" Message="The client '<principal_id>' with object id '<principal_id>' does not have authorization to perform action 'Microsoft.Network/dnsZones/TXT/write' over scope '/subscriptions/<sub_id>/resourceGroups/<resource_group>/providers/Microsoft.Network/dnsZones/<dns_zone>/TXT/_acme-challenge' or the scope is invalid. If access was recently granted, please refresh your credentials.
I have verified that my identity has the DNS Contributor role and that the federation credentials have been configured with correct namespace and service account name.

Expected behaviour:

Well I guess the certificate should have been issued without any errors.
Steps to reproduce the bug:

We need to follow https://cert-manager.io/docs/configuration/acme/dns01/azuredns//#managed-identity-using-aad-pod-identity and then try to issue a certificate via ingress-nginx
Anything else we need to know?:
Environment details::

Kubernetes version: 1.24.6
Cloud-provider/provisioner: Azure
cert-manager version: v1.11.0
Install method: e.g. helm/static manifests

/kind bug

My bad I was using the wrong resource group name


Guid bytearray access

Hi,
First, I would like to thank you maintaining this project. It is a very useful piece of code.
My use case needs to transmit the GUID through a network layer. As GUID are stored on 16 bytes, I would like to transmit those bytes directly through the network.
Currently, I'm converting the GUID to a string on the server side, and then converting the string back to GUID on the client side. This conversion eats few CPU cycles, and also takes much more space to transmit.
Do you mind adding an accessor to the std::array ?
Thank you in advance,
All the best

up?

So nice. Thanks!


Reenable AzSecPack on ubuntu.2204.armarch[.open] image

In the fix for #813 (!34863, I disabled AzSecPack. After the Azure/azure-linux-extensions#1815 / Azure/azure-linux-extensions@0b91dacd98e1ea63933a52d7899609956114471e fix to the "Agent for Linux Server Monitoring" extension (aka Microsoft.Azure.Monitor.AzureMonitorLinuxAgent) is rolled out, we can revert https://dev.azure.com/dnceng/internal/_git/dotnet-helix-machines/commit/d1bf3852d61b29c1fb19bbc89a204aee53e49262 and slightly improve our security stance.

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[x] Internal Infrastructure Improvements

Release Note Description
Re-enabled AzSecPack  on the  ubuntu.2204.armarch[.open] image.

According to https://learn.microsoft.com/en-us/azure/azure-monitor/agents/azure-monitor-agent-extension-versions#version-details, a new version of the Azure Monitor agent extension should be available that will avoid our need to disable AzSecPack. Waiting to hear back about which extension version (v1.29.4 contains the fix, we hope) we're currently picking up…

@AlitzelMendez didn't the !36234 fix roll out today❔

yes, the fixed rolled out. Closing this issue 😄


Adding Common utils, Job Scheduler to 2.7.0 manifest

Description
Adds common utils and Job Scheduler to 2.7.0 manifest
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.

Yes, Common Utils and Job Scheduler 2.x has been bumped up to 2.7


[feature] Added ExprChars

This pull request includes a new expression.
Patterns:
[all] upper[ ]case char(acters|s) in %strings%
[all] lower[ ]case char(acters|s) in %strings%
[all] digit char(acters|s) in %strings%
[all] special char(acters|s) in %strings%
[all] [white[]]space char(acters|s) in %strings%

Usage:
on script load:
    set {_lower::*} to all lower case chars in "Hell0 W0rld!"
    set {_upper::*} to all upper case chars in "Hell0 W0rld!"
    set {_digit::*} to all digit chars in "Hell0 W0rld!"
    set {_special::*} to all special chars in "Hell0 W0rld!"
    set {_space::*} to all space chars in "Hell0 W0rld!"
    print "Lower: %{_lower::*}%" # Lower: e, l, l, r, l and d
    print "Upper: %{_upper::*}%" # Upper: H and W
    print "Digit: %{_digit::*}%" # Digit: 0, 0 and !
    print "Special: %{_special::*}%" # Special: !
    print "Space: %size of {_space::*}%" # Space: 1

Maybe [all] could be changed to [all [of the]]
Might be unnecessary patterns though.

Is it really important to add [of the]?

Is it really important to add [of the]?

I think this might be a good change as this is a valid English statement.

This applies to the whole file: I am not a fan of using a private enum just to distinguish patterns. This can be easily achieved using a matchedPattern field.

This applies to the whole file: I am not a fan of using a private enum just to distinguish patterns. This can be easily achieved using a matchedPattern field.

Yes I could do that with matchedPattern, but it makes not readable, plus the toString method must use a switch case

This applies to the whole file: I am not a fan of using a private enum just to distinguish patterns. This can be easily achieved using a matchedPattern field.

Yes I could do that with matchedPattern, but it makes not readable, plus the toString method must use a switch case

Even then you could use a simple PatternInfo instance or a simple String array with all the patterns in their toString() form. I don't really think using a switch statement is a huge deal but if we need to do this for each syntax class that has more than 1 pattern, it will become a bit cumbersome to manage.


How to set z-index attribute in the image preview container?

This function solves the problem (这个功能解决的问题)
I use the drawer component and set the z-index to 5000, while I use the image component in the drawer component. However, I encountered a drawer layer level that is higher than the image preview, resulting in the image not being displayed
Expected API (期望的 API)
:z-index="5000"

I tried using deep, but it didn't work
:deep(.n-image-preview-container){
  z-index: 5001 !important;
}

I tried using deep, but it didn't work
:deep(.n-image-preview-container){
  z-index: 5001 !important;
}

n-image-preview-container元素是跟app同级的，把deep去掉，并且去掉scope就可以了

我在index.css中写入解决了，如果在App.vue上不添加上deep的话，Vue会额外处理类名的 @667-1


re-enable video/audio autoplay

Was disabled in Chrome 77: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
Should be able to add flags to the Windows and Linux builds. Unclear (https://stackoverflow.com/questions/49921453/how-to-allow-video-autoplay-in-a-google-chrome-kiosk-app-in-version-66-or-later) that it will be possible to work around on Chrome OS. Perhaps by injecting a wrapped iframe though this needs to be done with extreme caution, if at all.
https://cookcompany.zendesk.com/agent/tickets/639
https://cookcompany.zendesk.com/agent/tickets/668
https://cookcompany.zendesk.com/agent/tickets/761
https://mail.google.com/mail/u/0/#inbox/FMfcgxwDqxJhGxgFRbqMDLfbvSTrtXfg
https://mail.google.com/mail/u/0/#inbox/FMfcgxwDqxSvgdrZlxgLmQPgKJkSTKFC

+1

Does the “Media Engagement Index” apply here? Can we incorporate this as workaround?


Error: Cannot resolve dependency MODULE_NOT_FOUND

I was testing the new version and discovered a new bug.
Maybe it's because I'm using babel-plugin-root-import
babel:
"babel": {
    "plugins": [
      "babel-plugin-root-import"
    ],
    "presets": [
      "next/babel",
      "@zeit/next-typescript/babel"
    ]
  },

Version: 7.0.3-alpha.0
Error:
$ next build src/
🚨  /Users/rodrigooler/projects/clubinvest-workstation/clubinvest/core/web-frontend/src/pages/2fa.tsx:15:39: Cannot resolve dependency '~/src/atoms/Card' a
t '/Users/rodrigooler/projects/clubinvest-workstation/clubinvest/core/web-frontend/src/pages/~/src/atoms/Card'
    at Resolver.resolve (/Users/rodrigooler/projects/clubinvest-workstation/clubinvest/core/web-frontend/node_modules/parcel/src/Resolver.js:70:17)
{ Error: Cannot resolve dependency '~/src/atoms/Card' at '/Users/rodrigooler/projects/clubinvest-workstation/clubinvest/core/web-frontend/src/pages/~/src/
atoms/Card'
    at Resolver.resolve (/Users/rodrigooler/projects/clubinvest-workstation/clubinvest/core/web-frontend/node_modules/parcel/src/Resolver.js:70:17)
  code: 'MODULE_NOT_FOUND',
  loc: Position { line: 15, column: 39 },
  fileName:
   '/Users/rodrigooler/projects/clubinvest-workstation/clubinvest/core/web-frontend/src/pages/2fa.tsx' }
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
MacBook-Pro-de-Rodrigo:web-frontend rodrigooler$

Sounds like babel-plugin-root-import was not executed, as otherwise the path with ~ would be an absolute file path.

@timneutkens yes, thanks.


BigNat gadget optimization

Define lookup table in main_gate, and use 16-bits (this is similar size for our ivc circuit, close to optimal) lookup to range check big int limbs. E.g 96 limb size will need 6 lookups
Use as much as linear combination before modular reduction.

Reference repos:
https://github.com/axiom-crypto/halo2-lib/blob/community-edition/halo2-ecc/src/fields/fp.rs


Mooove this on over to the googleapis org

Not a high priority, but as of right now this is the only github repo we have in the google org :)

I think we're ready to do this. @JustinBeckwith @broady @theacodes are one of y'all able to do the repo move? I can do the metadata updating for vanity URLs.

I cannot. Do we need to ask OSPO? Will file a bug if we can't self-service.

We need to email github-requests.  @broady leaving this to you :)

Friendly ping - @broady anything I can do to help?

Sorry, missed this. Figuring it out.

Done


feat: make command and args configurable via file

Signed-off-by: Maria Kotlyarevskaya<EMAIL_ADDRESS>fixes #2
Make command and args configurable via file. Those options are independent and can be set separately or together - depends on the docker image.
tested config 1:
name: curl
image: nicolaka/netshoot
command:
- "curl"
args:
  - "-s"
  - "https://example.com"

output
./run-job -f job.yaml
Created job curl.default (5d66e0d9-4049-4e9e-aaf1-9bdbe8d422fd)
....
Job curl.default (5d66e0d9-4049-4e9e-aaf1-9bdbe8d422fd) succeeded
Deleted job curl

Recorded: 2022-09-06 05:35:47.486519 +0000 UTC

<!doctype html>

   <title>Example Domain</title>

   <meta charset="utf-8" />
   <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
   <meta name="viewport" content="width=device-width, initial-scale=1" />

Example Domain

This domain is for use in illustrative examples in documents. You may use this
   domain in literature without prior coordination or asking for permission.

More information...

And then
name: curl
image: ghcr.io/openfaas/curl:latest
command:
- "whoami"

output
./run-job -f job.yaml
Created job curl.default (8ce1135b-295d-4ed1-81b5-b5ec6defa6db)
....
Job curl.default (8ce1135b-295d-4ed1-81b5-b5ec6defa6db) succeeded
Deleted job curl

Recorded: 2022-09-06 05:37:25.742354 +0000 UTC

app

I like the testing output here. What I'd also like to see is a "nothing broke" test by running a container with a pre baked command in its Dockerfile like my multi arch cows image.

I like the testing output here. What I'd also like to see is a "nothing broke" test by running a container with a pre baked command in its Dockerfile like my multi arch cows image.

Sure.
./run-job -f cows.yaml                                                              07:48:59 (colima:default)
Created job cows.default (f70f95c6-7571-4436-b21c-6165339b646b)
....
Job cows.default (f70f95c6-7571-4436-b21c-6165339b646b) succeeded
Deleted job cows

Recorded: 2022-09-06 07:46:40.334881 +0000 UTC

         (__)
    >----(oo)---->
  /-------\/
 / |     ||
*  ||----||
   ^^    ^^
Steve Martin's cow


fix responseCollection to emit value if not null

The null check added in #10 was inverted. This pull change fixes it and adds two tests to specify the behavior of not emitting items for not existing storage keys.

thanks!


[TrOCR] Image aspect ratio

Hi,
I have following 3 questions and would be really grateful if anyone could provide some insights:

While pertaining the model on the text lines extracted from the PDFs and synthetic data, do you maintain the aspect ratio of the image while resizing it to 384x384 size? Using the HuggingFace's TROCR preprocessor, I noticed that it does not maintain the aspect ratio and therefore, would like to understand if this would affect model's performance.
Did "textline" contain multiple words in a single image or did you split the image further at word level before feeding it to the model?
Did you try training the model at word level instead of line level  and notice any difference?

Hi

Could someone respond to this?

Hi, I have following 3 questions and would be really grateful if anyone could provide some insights:

While pertaining the model on the text lines extracted from the PDFs and synthetic data, do you maintain the aspect ratio of the image while resizing it to 384x384 size? Using the HuggingFace's TROCR preprocessor, I noticed that it does not maintain the aspect ratio and therefore, would like to understand if this would affect model's performance.
Did "textline" contain multiple words in a single image or did you split the image further at word level before feeding it to the model?
Did you try training the model at word level instead of line level  and notice any difference?

they use 384x384 setting for both printed (word-level) and handwriting (line-level). I think they use square image to fit with DeiT model.
Textline contain multiple words in a single image


Support type parsing for rows with complex types

Summary
Type parsing didn't work for some rows with complex types before, i.e.,
ROW[MAP[STR, STR], STR, ARRAY[STR]]

This change adds support for these types of arbitrarily nested values in rows by switching from solely using a regex matcher to using a custom function that takes a given type string and parses the nested structure based on the parentheses. For example:
>>> from dj.typing import parse_type
>>> parse_type('ROW[MAP[STR, STR], STR, ARRAY[STR]]')
[['ROW', [['MAP', ['STR', 'STR']], 'STR', ['ARRAY', ['STR']]]]]

This nested list is then used to construct the ColumnType object.
Test Plan
Added some unit tests.

[X] PR has an associated issue: Related to #339
[X] make check passes
[X] make test shows 100% unit test coverage

Deployment Plan
N/A

LGTM. Do we still need to add some logic for column type inference based on ROW/STRUCT types? I'm thinking about the STRUCT<field1_name: field1_type, field2_name: field2_type, …> type in Spark that looks like a map when accessed but the type can vary based on the key.

Just for reference, here is how the Row looks with names right now:
ColumnType.Row[ColumnType.STR, "INT id", ColumnType.ARRAY[ColumnType.bytes]]

Just for reference, here is how the Row looks with names right now:
ColumnType.Row["STR name", "INT age"]

Nice! So this means if this column is accessed in a downstream node as upstream_column.name, then we'd be able to infer that as a type STR? I just remembered there's also upstream_column.* that expands the row out into columns, but I don't know how commonly that's used.

I just remembered there's also upstream_column.* that expands the row out into columns, but I don't know how commonly that's used.

When I get a chance I'll have a look at the column type inference for ROW types. That can be the third round of this set of changes 😃


Configure C++ intellisense automatically

https://github.com/beriberikix/zephyr-vscode-example/blob/main/.vscode/settings.json#L6-L7
The official C++ Extension from Microsoft can be configured for intellisense by setting the compiler path and compile commands. The extension likely knows this information and could easily set it automatically.

Any thoughts on how to deal with multiple builds/ multiple compile commands.
As a reference here are a couple of answers on the web.
https://stackoverflow.com/questions/77517796/intellisense-configuration-for-multiple-builds
https://stackoverflow.com/questions/77394438/merge-multiple-compile-command-json-files
The first reference mentions using cmake, which I am not sure is viable.
The second reference just merges all the json files into one. Which I am also not sure if that will just work.

This is how the ESP app does it and may be the way to go.
https://github.com/espressif/vscode-esp-idf-extension/blob/81dea08d84874231a6250f946d2cc0d21b028ceb/templates/.vscode/c_cpp_properties.json#L6

Ah, good question! I've only used single build at this point. Interesting problem :thinking:

Implemented in v1.0.43.


Upload of stemcell fails with AWS us-west-1

Version 0.11.4
Uploading stemcell                  |oo                      | 1/11 00:00:01  ETA: 00:00:09create stemcell failed:
No route to host - connect(2) (http://<IP_ADDRESS>:80):
/usr/local/var/rbenv/versions/1.9.3-p392/gemsets/bosh-bootstrap/gems/httpclient-2.2.4/lib/httpclient/session.rb:775
:in `initialize'
Does that IP need to be a DNS name?

i am having same error message with eu-west-1, is there a trick to get it working?


Issue Report: /en-us/guides/amazon-marketing-stream/overview

If you need help troubleshooting a problem with the Amazon Ads API, visit the Amazon Ads API service desk. Issues are for reporting documentation bugs and requesting enhancements only.
Describe the bug
AWS Workshop section's link is not found
URL of the content
https://advertising.amazon.com/API/docs/en-us/guides/amazon-marketing-stream/overview#aws-workshop
Description of what the documentation currently says
The https://catalog.us-east-1.prod.workshops.aws/workshops/3ce6b6b0-eec1-45cc-9936-809c297900f5/en-US page shows
Page not found
The page you are looking for does not exist. You might have typed the address incorrectly or you might have used an outdated link. Please check the link and try again.
Description of what the documentation should say
The right content
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Thanks for reporting this issue! I am looking into why the link is no longer working.

Can you tell me which api I am getting from which campaign report I am seeing on Amazon console, I am getting wrong campaign from version 2 of api and it has migrated to version 3 because I am getting the campaign from that api.
I get more data from the Advertising Console than from the Campaigns report

Since the workshop is no longer functional, I've removed it from the documentation. If we are able to get it working again, I'll update you here.


TextBar

This adds TextBar v1.5.210 by @richie5um.
It is a trial version which expires after 7 days, but you can upgrade in-app.

Thank you for the contribution. It needed some fixes, so they were made in 59746a38a34b6809bb9e7b2f025d8bb10a4f28a5. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.


Using relativistic Hartree-Fock with coupled cluster?

I'm trying to set up a calculation where I get the CC energy for a number of small dimers at different bond distances. The setup I use goes like this at the moment:
mf = scf.RHF(mol).run()
mycc = cc.CCSD(mf)
ker = mycc.kernel()
E = mf.energy_tot()+ker[0]+ccsd_t.kernel(mycc, mycc.ao2mo())

If I don't understand it wrong, this is the way to get the energy corrected fully to the CCSD(T) level of theory. However, if I try switching to a relativistic Hamiltonian:
mf = scf.dhf.RHF(mol).run()

then it gives me an error message, saying that the mf object is incompatible. Is there something else I should do to make it work with the CCSD algorithm? I'm using an ano-rcc basis set. Thanks!

We don’t support 4 component relativistic CC currently. However that may
not be what you are looking for. It is likely that what you want is a two
component relativistic correction. If so use the x2c option.
On Wed, Nov 27, 2019 at 3:46 AM stur86<EMAIL_ADDRESS>wrote:

I'm trying to set up a calculation where I get the CC energy for a number
of small dimers at different bond distances. The setup I use goes like this
at the moment:
mf = scf.RHF(mol).run()
mycc = cc.CCSD(mf)
ker = mycc.kernel()
E = mf.energy_tot()+ker[0]+ccsd_t.kernel(mycc, mycc.ao2mo())
If I don't understand it wrong, this is the way to get the energy
corrected fully to the CCSD(T) level of theory. However, if I try switching
to a relativistic Hamiltonian:
mf = scf.dhf.RHF(mol).run()
then it gives me an error message, saying that the mf object is
incompatible. Is there something else I should do to make it work with the
CCSD algorithm? I'm using an ano-rcc basis set. Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pyscf/pyscf/issues/450?email_source=notifications&email_token=AAN5NRGWXVMW5KIKTOSSEE3QVZMZLA5CNFSM4JSFTTHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H4MNLHQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN5NRHKSPAMIGEB2Z2ZPTLQVZMZLANCNFSM4JSFTTHA
.

--
Sent from Gmail Mobile

Where does that option go? In my call to the cc.CCSD constructor?

Scalar relativistic effects can be addressed by changing the SCF object, e.g.
mf = scf.RHF(mol).sfx2c().run()
mycc = cc.CCSD(mf)
...

Nothing else needs to be changed.
For 2c or 4c relativistic effects, the generalized CCSD (GCCSD) method is available in CC module. In principle, no-pair-4c-DHF-CC or x2c-CC can both be computed with the GCCSD module if the relevant integrals are provided. We didn't implement the 4c or x2c integral transformation. To make GCCSD work with 4c or 2c Hamiltonian, you may need a bit of coding. The integrals can be generated like this example
https://github.com/pyscf/pyscf/blob/master/examples/ao2mo/22-rkb_no_pair_ints.py
Then you can update the integrals for GCCSD. Note that the integrals need to be anti-symmetrized in GCCSD
https://github.com/pyscf/pyscf/blob/master/pyscf/cc/gccsd.py#L303


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 2004 ms

Resolved: Bofrost.lu performance has improved in 4e570e0 after 6 minutes.


update issue

hi
there was an update problem
Failed to connect to github.com port 443 after 75003 ms: Couldn't connect to server

what the f is git.homegu? pull update from github or just download as zip

what the f is git.homegu? pull update from github or just download as zip

Lol 😆😆😆


Add the Czech language

We are all native Czech speakers and we would like to work on the Czech translation of the docs. We are co-workers from STRV and We are using React on a daily basis.

@pchalupa přidáš mě prosím také, rád vám pomůžu s překladem  🙌🏻

@pchalupa přidáš mě prosím také, rád vám pomůžu s překladem 🙌🏻

@Rados51 I would be happy to add you! 👏  Could you please briefly describe your experience with React and translation?

@pchalupa
Motion.page - created most of the code from the ground up alone  (custom components & hooks + Recoil).
As for translation, I was working as a translator for a Lego group in Kladno (Czech - Serbian translation).

@pchalupa
Motion.page builder - created most of the code from the ground up alone (custom components & hooks + Recoil). As for translation, I was working as a translator for a Lego group in Kladno (Czech - Serbian translation).

@Rados51 welcome to the team! 🎉

As a part of fixing the permission sync process, we've changed how we track languages — please see https://github.com/reactjs/translations.react.dev/commit/63a10c4be3f7b10ffaf58fe144e2d5abca5dacc9.
Could you please update this PR:

Rebase on top of latest main, and add the language to lang/langs.json instead
Include the list of maintainers into the PR comment body instead

Thank you, and sorry for the churn.

As a part of fixing the permission sync process, we've changed how we track languages — please see 63a10c4. Could you please update this PR:

Rebase on top of latest main, and add the language to lang/langs.json instead
Include the list of maintainers into the PR comment body instead

Thank you, and sorry for the churn.

@gaearon I have just updated this PR.


should have polyfill

This is amazing lib. and it is using modern dialog element.
But it should have polyfill for old/unsupported browsers.. I don't have much time otherwise could create a PR.
looking forward for this update!

To make the library work in older browsers (depending on the version), it would be necessary to add polyfills for dialog (https://github.com/GoogleChrome/dialog-polyfill) and getAnimations (https://github.com/web-animations/web-animations-js -><EMAIL_ADDRESS>Problems may still occur, e.g.

opening and closing the dialog would not wait for css transitions or animations to complete
broken accessibility,
inability to style the ::backdrop pseudo element, see https://github.com/GoogleChrome/dialog-polyfill#limitations

Any user can add the above described or similar polyfills to their project. Even so, the library may not behave correctly. Sorry, but for these reasons polyfills will never be part of the library itself.


Improve edit sample (With Buttons and Layer selection with Widget instead of real Buttons)

I have now migrated all the Editing Functionality to the Sample. So I could remove now the Wpf.Editing Sample project.

Things done:
A fully fleged Editing Sample:
Fixed Widget were not rendered in Skia Render Tests.
Added TextBoxWidgetRenderer
Added BoxWidget and Renderer.
Improved ButtonWidget to Allow Text.

I have now migrated all the Editing Functionality to the Sample. So I could remove now the Wpf.Editing Sample project. what's your opinion @pauldendulk

Yes, please! Deleting is the best thing you can do in software development, and also the most satisfying, enjoy!


Suggestion for the Shield.

Suggestion(s) for the shield,

99% Blocking.
A Strong thorns effect. (reflecting 75% of damage done, which is always active).

While granted with how OP the gem armor is, the 99% blocking is probably only useful before you upgrade from Red Matter to Gem and/or if the shield is the first red matter item you make, but the thorns would help with clearing out hordes of opponents attacking as well as bosses, especially if it's reflecting a percentage of damage being dealt.

I had a similar idea with thorns based on charge level costing emc. For an active ability a knock-back based on charge level, possibly deflecting projectiles in range as well.


I can login to my site, but the pot wont show up, it just keeps saying loading...

Hey Everybody.
I can login to my website, but the pot and the chat keeps saying loading. I have hardcoded the passwords and api key into the code.. This is the changes i made when i did hardcode it in.. And this is a picture of the problem. http://imgur.com/KdLVsql
Regards
Frederik

Did you setup the MySQL database and are you getting connections to it?

Yes i did that :) and i have putted in the password :)

Where can i see if i got connection to the Database? In the update.php?

Try just making a simple PHP script to get data from the MySQL server. My guess is that your site can't connect to your database.

I'll try that, but cant i just see if it have connection through the update.php file?

The website got connection to the website, because i did just deposit an skin to my bot, and then the update.php file updated.. Before the deposit: http://i.imgur.com/dokQRjb.png And after the deposit: http://i.imgur.com/Lq4nikY.png

I have tested it twice know with two different things, and both did connect, but i still doesent show up on the website..

Yep that all looks good. What's your website URL?

http://csgobottle.com :)

http://imgur.com/OSZxAHd Here's your issue. Add a chat message directly to the MySQL database and see if that fixes your issue.

I have forgot about that, for sure it might solve the problem.. But it might sound stupid, but how do i add an chat message in there.. http://imgur.com/hww1whD Which one of theese do i need to add something to? :) I'm not that known in Mysql..

I did figure it out! But yeah that worked! Thanks alot for your help man!

Are you still in here, because now i got an new problem.. The timer on the website dosent start.. The update.php file does get the items, but the check-items.php and the timer-end.php makes this error message.. http://i.imgur.com/wbRPyLG.png Is it because i dosent have connection to the database? Thanks in advance

https://github.com/ztizzlegaming/CSGOWinBig/blob/83c2b02383c22926a078e6da8a27097520262ae6/src/php/timer-end.php#L9-L12
You didn't supply a password

so i need to put the database password in that field?

or where should i supply an password?

No, you need to put the password that is defined as "default-password" in your passwords.txt
(see https://github.com/ztizzlegaming/CSGOWinBig/blob/83c2b02383c22926a078e6da8a27097520262ae6/src/php/timer-end.php#L20)

Okay, but i did code the password in to the code because that my host doesnt allow me to put anything outside of the web root... So how can i supply it?

I can send you an Pastebin with my files in, so you can see what i have changed.. if you want me to?

Change this:
# Get the password from config file and make sure it matches
$fileLoc = $_SERVER['DOCUMENT_ROOT'] . '/../passwords.txt';
if (file_exists($fileLoc)) {
	$fh = fopen($fileLoc, 'r');
	$jsonStr = fgets($fh);
	$arr = json_decode($jsonStr, true);
	$realPassword = $arr['default-password'];
	fclose($fh);
} else {
	die('no file found');
}

to
$realPassword = "XXX";

Then, when making a request, use http://site.com/timer-end.php with a POST field of password equal to XXX. If you don't have a way to make POST requests easily, try Postman, a free Chrome extension.

so like this: $password = isset($_POST['password']=xxx) ? $_POST['password'=xxx]
The password = xxx
?
But you dont know how glad i'm for you help dude! It means alot!

No. So let's just make this easy for now. Change
# Get the password from config file and make sure it matches
$fileLoc = $_SERVER['DOCUMENT_ROOT'] . '/../passwords.txt';
if (file_exists($fileLoc)) {
    $fh = fopen($fileLoc, 'r');
    $jsonStr = fgets($fh);
    $arr = json_decode($jsonStr, true);
    $realPassword = $arr['default-password'];
    fclose($fh);
} else {
    die('no file found');
}

to
$realPassword = "XXX";

AND change
$password = isset($_POST['password']) ? $_POST['password'] : null;

to
$password = isset($_GET['password']) ? $_GET['password'] : null;

Now you can end the timer with http://site.com/timer-end.php?password=XXX.

Arh, okay.. But my problem is that i want the timer to start, it just keeps saying 0, and there is 4 people in the pot and 32 items in it.. can you solve that problem aswell?
Btw, cant i just put my passwords.txt in an folder, and then edit this: # Get the password from config file and make sure it matches $fileLoc = $_SERVER['DOCUMENT_ROOT'] . '/../passwords.txt'; if (file_exists($fileLoc)) {     $fh = fopen($fileLoc, 'r');     $jsonStr = fgets($fh);     $arr = json_decode($jsonStr, true);     $realPassword = $arr['default-password'];     fclose($fh); } else {     die('no file found'); }
So that it find the file passwords.txt in that folder? Wouldnt that fix it all?

If you put it on your web host, that's an ENOURMOUS security risk, as someone can simply go to http://site.com/passwords.txt or /folder/passwords.txt and get all your passwords. The best way to do it is to put them all in a PHP file, and I'm not sure why that's not what @ztizzlegaming did. I'll fix that in my branch.

 But i cant be awake 24/7 and type that url in, can i fix it on another way? And how to fix the bug with the timer that doesnt start?
Again i'm really glad for all you help dude!

If i buy my host on an host that allows me to save my files outside of the web root, wouldnt that fix it all aswell?

It should. If it's a fresh installation of CSGOWinBig, it should work fine.

But, again if the check-items.php and the timer-end.php files cant get the password, and i need to type that url in every time i want it to work, then i'll need to stay awake 24/7, is there anyway that i can fix it another way with that server i got now?
Thanks in Advance

@andrewda I just bought VPS at Bluehost, everything works fine now. Besides one thing.. The timer, i have tried to do everything that all the other suggest, but nothing really helps.. Can you help me with this as well? And again thank you very much for all your help!


Separate dhkemSecp256KHkdfSha256 from core module.

Codecov Report

Merging #196 (f1996fe) into main (f1c5dc7) will increase coverage by 0.21%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #196      +/-   ##
==========================================
+ Coverage   96.67%   96.89%   +0.21%
==========================================
  Files          22       21       -1
  Lines        2530     2413     -117
  Branches      219      216       -3
==========================================
- Hits         2446     2338     -108
+ Misses         84       75       -9

Flag
Coverage Δ

unittests
96.89% <100.00%> (+0.21%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

src/kems/dhkem.ts
100.00% <ø> (ø)

src/cipherSuite.ts
100.00% <100.00%> (ø)

src/identifiers.ts
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes


Errors following Airflow tutorial install from book

I'm generating more errors than progress with this book, written in 2020 and seems to have only been installed in an isolated and edge case, vs being a well thought out book. Even if it was for its time they need to be updated or referenced, the author or PacktPub should be updating them and they are not.
It looks like the repo has been deppreciated as nobody has posted replies, the book was a waste of money as I'm barely to page 42 and have generated 7 errors, really its 12 but 5 are due to updates.
I could submit a PR but research is showing Airflow was depreciated for mac and I need to now add docker, debian and more devops than a simple Airflow Mac install as the book was sold.

Thank you for reaching out regarding the issue with the book. We apologize for any frustration you may have experienced with outdated information. Please note that PacktPub or the author may not be actively maintaining the repository. However, if you find any specific errors, we would be happy to review and consider a pull request.

Hey there, Check out this: https://github.com/vishalmhjn/data-engineering/blob/main/README.md
This might be helpful.

@vishalmhjn The page you gave provided instructions that didn't match the tutorial. @datatalking How were you able to install the airflow program and or NiFi platform on MacOs since that's what I'm building on as well.

@roundmammouth yes I've been unable to install Airflow/Nifi unless I use docker.


Add License

Hello,
I would like to know if it would be possible for you to inform us/add a license for this software?

Sorry for the delayed response, ended up not seeing this issue.
I've added the missing licensing information so feel free to use this code.


Any user with Write access will be able to bypass the protection?

Hello,
Firstly, thanks for sharing this proposal. I've been thinking about the potential implications and wanted to discuss a hypothetical scenario. I haven't had the opportunity to test this, so this is purely a theory.
I think that the biggest advantage of limiting access from specific branches to an environment is that these branches would have branch protection. Consequently, this would mean that even users with write access might not be allowed to access secrets stored within the environment.
Now, supposing that the intended configuration aims to implement branch protection for v*.. and permit the PAT user to bypass this safeguard. If my understanding is correct and the PAT is stored as a repository or organization secret, there seems to be a theoretical scenario where:

A user with write access could create a branch with no branch protection.
This user might then be able to craft an action to exfiltrate the PAT.
Subsequently, using the acquired PAT, they could potentially generate a v*.. branch and bypass the protection.

Of course, there might be aspects I'm overlooking. Still, I wanted to bring this potential scenario to your attention.
Thanks!

❤ Thank you for the feedback!

I think that the biggest advantage of limiting access from specific branches to an environment is that these branches would have branch protection. Consequently, this would mean that even users with write access might not be allowed to access secrets stored within the environment.

That's true. In general I've mainly been using branch protection to be able to keep different sets of secrets for different stages  – no concern about rouge repo-users.

Now, supposing that the intended configuration aims to implement branch protection for v*.. and permit the PAT user to bypass this safeguard. If my understanding is correct and the PAT is stored as a repository or organization secret, there seems to be a theoretical scenario where:

1. A user with write access could create a branch with no branch protection.

true

2. This user might then be able to craft an action to exfiltrate the PAT.

yes

3. Subsequently, using the acquired PAT, they could potentially generate a v*._._ branch and bypass the protection.

yea

Of course, there might be aspects I'm overlooking. Still, I wanted to bring this potential scenario to your attention.
Thanks!

Again, thank you for pointing that out. The PAT is vulnerable against users with write-access. Maybe a CODEOWNERS file could protect the workflows folder – but I never looked into that.

Sadly, CODEOWNERS doesn't seem a valid solution because even if the workflow folder is protected, you can create a new branch and, for example, create an action that leaks the secret when there is a push to this new branch. CODEOWNERS will only protect the branches with Branch Protection.
In this issue there are also comments about using CODEOWNERS:  https://github.com/actions/runner/issues/458


Skip weights non vpermit

This PR skips the weights and bonds of neurons without a vpermit when the call for neuronInfo_getNeurons is made

Closing as not useful


Feature/fix metal

This is a naive fix for metal inference and log trampoline

@tazz4843 reformatted code

See review comments

@tazz4843 Hey I have found a new possible way here.
whisper.cpp has now supported WHISPER_METAL_EMBED_LIBRARY build options that enable us to embed metal lib string into the build output. But we need to upgrade the whisper.cpp branch to a newer version.
See the CMakeLists in whisper.cpp here
https://github.com/ggerganov/whisper.cpp/blob/08981d1bacbe494ff1c943af6c577c669a2d9f4d/CMakeLists.txt#L78C12-L78C39
https://github.com/ggerganov/whisper.cpp/issues/2110
maybe we should consider finalize https://github.com/tazz4843/whisper-rs/pull/142 first then I can start implement a new build option here?

#142 has been merged, took me super long, sorry about that. Embedding the library is a much better idea imo and we should favour that.

I tried it using WHISPER_METAL_EMBED_LIBRARY=ON. it works, I can see in the logs that metal framework loaded (and without it doesn't)
and it works much faster.
I believe we should enable WHISPER_METAL_EMBED_LIBRARY by default if metal feature enabled.

updated. please help check the new build config. also I v updated the metal log callback setup function.
@tazz4843

I don't have macOS to test on, will wait for a positive test from someone with macOS before merging

I don't have macOS to test on, will wait for a positive test from someone with macOS before merging

I have self-tested it since I m using it for a private project. But its okay if one more tester passed it.

I have tested @hlhr202's latest changes by adding whisper-rs = { git = "https://github.com/hlhr202/whisper-rs.git", branch = "feature/fix-metal", features = ["metal"] } to my Cargo.toml and it works on my M1 Pro.
whisper_init_with_params_no_state: use gpu    = 1
whisper_init_with_params_no_state: flash attn = 0
whisper_init_with_params_no_state: gpu_device = 0
whisper_init_with_params_no_state: dtw        = 0
whisper_model_load: loading model
whisper_model_load: n_vocab       = 51864
whisper_model_load: n_audio_ctx   = 1500
whisper_model_load: n_audio_state = 768
whisper_model_load: n_audio_head  = 12
whisper_model_load: n_audio_layer = 12
whisper_model_load: n_text_ctx    = 448
whisper_model_load: n_text_state  = 768
whisper_model_load: n_text_head   = 12
whisper_model_load: n_text_layer  = 12
whisper_model_load: n_mels        = 80
whisper_model_load: ftype         = 1
whisper_model_load: qntvr         = 0
whisper_model_load: type          = 3 (small)
whisper_model_load: adding 1607 extra tokens
whisper_model_load: n_langs       = 99
whisper_backend_init: using Metal backend
whisper_model_load:    Metal total size =   487.00 MB
whisper_model_load: model size    =  487.00 MB
whisper_backend_init: using Metal backend
whisper_init_state: kv self size  =   56.62 MB
whisper_init_state: kv cross size =   56.62 MB
whisper_init_state: kv pad  size  =    4.72 MB
whisper_init_state: compute buffer (conv)   =   22.54 MB
whisper_init_state: compute buffer (encode) =  284.81 MB
whisper_init_state: compute buffer (cross)  =    6.31 MB
whisper_init_state: compute buffer (decode) =   97.40 MB

Would be great if we can merge this, and thanks @hlhr202 for your fix!


add field level descriptions and doclink to github webhook (closes 1102)

This PR does the following:

fixes the main description to render the provider name more accurately as "GitHub", rather than the previous "github"
adds field-level descriptions to web hook
adds a doclink attribute to the accessToken and events fields

closes #1102
PG1 243 [clean]

@csantanapr i have updated the PR as you have suggested, i.e. to mention that the username field can be your GitHub organization name, too.

@starpit Sorry for chiming in late, but @csantanapr's suggestion about the username field is not correct. Please review these new comments I just posted:
https://github.com/openwhisk/openwhisk/pull/1103#discussion_r75861966

Thanks Justin, see what I mean ?
I was not sure how repos under orga are supported.
So it means that repository should be in the form of [org/]reponame were is  org is optional

is there anything more you need from me on this?

is there anything more you need from me on this?

@starpit I think it would be great to mention how the repository value can optionally include the organization. Apart from that, this LGTM.

how about we put this in the sampleInput? right now, it reads "repository": "WhiskRepository"
how about changing this to "repository": "[myOrganization/]myRepository"

The square brackets were (I'm supposing) intended by Carlos to show that it is optional, and is not actually part of the value. In this case, the sample input should be "repository": "myOrganization/myRepository".
However, I worry that using this sample input might imply that the organization is required.
How about changing the repository description to

The name of your GitHub repository. Optionally this can be prefixed with the GitHub organization followed by a slash (e.g. myOrganization/myRepository).

Too long?

i've updated the PR in response to the comments. here is an idea of how these updates might be reflected in a UI:

rebased/squashed/merged as 328b9b138455ec77df023dcf029c8549db0d0ed4
Thanks @starpit!

@starpit remember that we are in dual mode and need to sync with "openwhisk-catalog"


Blog Card design improved

fixes #268
https://github.com/Suchitra-Sahoo/AgriLearnNetwork/assets/146661411/ef00a8b6-71c0-48da-a879-aeb8e4fc0831

@sau-mili remove these unnecesseasry spacing in headings and content of all cards and also make sure that date and time are aligned at same level in all cards.

Do these change then i'lll add the label

check #390 I have changed those


add registry parameter to reporting examples

In the reporting examples, use registry that user created previously.
It wasn't immediately clear to me that my reporters were using the default registry while all the previous examples used a custom registry. I wasn't getting any data reported because the reporter was looking at the empty default registry.
It might be simpler to use the default registry on the other pages too, but this is where I was when I noticed the inconsistency.

Thank you!


Mantainance (task names, deprecations, ..)

close #234
To-do:

[ ] Update changelog (and also point to v0.5)

I'm fine with all the changes and the renaming.
Regarding the tests that are being removed for the measurement task: Could we run those tests with the napari workflow wrapper? Don't have the full overview of test coverage, but it would be useful to have some tests where we save the AnnData tables and ensure that their content is correct.
If this is available somewhere else already, then not necessary to move it. Just didn't see anything of the sort in the napari wrapper tests.


Auto generated file, why can't we edit ?

Inside configurations files from the slapd.d directory, there is a comment in every files:
# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.

I need to add the following features :

access control read and read/write.
required and protected email field in my user schema

I have tried to mount a volume in ./scripts:/scripts and execute this command :
docker exec -ti openldap ldapadd -x -D "cn=admin,dc=mydomain,dc=com" -W -f /scripts/exampleConfiguration.ldif

With exampleConfiguration.ldif : sample configuration file from the [OpenLDAP Admin User Guide 2.4](http://www.openldap.org/doc/admin24/slapdconf2.html#Configuration Example)
# example config file - global configuration entry
dn: cn=config
objectClass: olcGlobal
cn: config
olcIdleTimeout: 30
olcLogLevel: Stats
olcReferral: ldap://root.openldap.org

# internal schema
dn: schema, cn=config
objectClass: olcSchemaConfig
cn: schema

# include the core schema
include: /scripts/core.ldif

# global database parameters
dn: olcDatabase=frontend,cn=config
objectClass: olcDatabaseConfig
olcDatabase: frontend
olcAccess: to * by * read

# set a rootpw for the config database so we can bind.
# deny access to everyone else
dn: olcDatabase=config,cn=config
objectClass: olcDatabaseConfig
olcDatabase: config
olcRootPW: {MD5}b295ab91a73ae7049c0ba523c03511e3
oldAccess: to * by * none

# BDB definition for mydomain.com
dn: olcDatabase=bdb,cn=config
objectClass: olcDatabaseConfig
objectClass: olcBdbConfig
olcDatabase: bdb
olcSuffix: dc=mydomain,dc=com
olcDbDirectory: /var/lib/ldap
olcRootDN: cn=Manager,dc=mydomain,dc=com
olcRootpw: secret
olcDbIndex: uid pres,eq
olcDbIndex: cn,sn pres,eq,approx,sub
olcDbIndex: objectClass eq
olcAccess: to attrs=userPassword
 by self write
 by anonymous auth
 by dn.base="cn=admin,dc=mydomain,dc=com" write
 by * none
olcAccess: to *
 by self write
 by dn.base="cn=admin,dc=example,dc=com" write
 by * read

# BDB definition for mydomain.com
dn: olcDatabase=bdb,cn=config
objectClass: olcDatabaseConfig
objectClass: olcBdbConfig
olcDatabase: bdb
olcSuffix: "dc=mydomain,dc=net"
olcDbDirectory: /var/lib/ldap
olcRootDN: "cn=Manager,dc=mydomain,dc=com"
olcDbIndex: objectClass eq
olcAccess: to * by users read

But I have the following error :
Enter LDAP Password:
adding new entry "cn=config"
ldap_add: Insufficient access (50)

Is it safe to edit these files?
If I edit the files, will it be re-generated at next container start?
what is the appropriate way to make permanent modification?
Is cn=admin the super-user?

partially solved.
There is an example on how to extend in example/extend-osixia-openldap.
I managed to create users, groups, organizationalUnit, countries.
But I wasn't able to load any configuration file like:
dn: cn=module,cn=config
changetype: add
cn: module
objectClass: olcModuleList
olcModuleLoad: memberof
olcModulePath: /var/lib/ldap

Everytime I end up with error:
 ldap_add: Insufficient access (50)

Regarding theses links: http://idmoim.blogspot.com/2014/05/ldapadd-insufficient-access-50-openldap.html , there might have an error with the admin that should be named manager. It is not very clear. Does anyone has ever noticed this ?

please refer to the openldap documentation

@osixia By any chance could you be more specific about why this was closed? I am unsure how to move forward, despite copying precisely the examples per https://github.com/osixia/docker-openldap/issues/48#issuecomment-290112983


Good to have support similar to "soft assertions" in testng

Good to have support similar to "soft assertions" in testng. This will help to get all the list of failures in one shot instead of running the tests multiple times

Please mark this request as "enhancement". Seems like i do not have the permissions to do so.

I found this discussion on the Cucumber GitHub which explains why this may not be such a good idea: https://github.com/cucumber/cucumber/issues/79

see previous comment for reason, closing as wontfix.
there is a also an interesting workaround. collect an array of booleans for each assertion that you make. use match each on the last step to validate that all assertions passed.

for those coming across this issue in future, note that a Scenario Outline will run all rows even if one failed. the same applies to using call to loop over a JSON array.


New logging configuration

Problem
This needs to specify --log or --log-config-file. New logging api can't be used with old one
Details: https://github.com/cockroachdb/helm-charts/issues/103
Changes
Do not append --logtostderr if value not exists
Questions
Should we support conf.log? Now --log can be applied with statefulset.args
Draft:
{{ if conf.log }}
-- log=...
{{ else }}
--logtostderr=...
{{ end }}

Usage:
conf:
  log: ...logging config...

Hey folks, this is blocking us a bit as ngrok parsing keeps breaking on corner cases - any way I can help move this along?

In our case we need slow log with query time correctly parsed

My next steps is to add cm for log config, mount it to all pods and pass log file path flag if enabled
It would be better and more... Native and transparent then operating on strings and do helm conversions
Also you will not have a very long logs config args on process start
But the main bottleneck is a review... I can't speed it up ;c

@sergeyshaykhullin can you add some test cases for this change please? You can see an example here https://github.com/cockroachdb/helm-charts/blob/master/tests/template/cockroachdb_helm_template_test.go

@udnay Seems like done


Change color of only one dot in LineChart?

I love this package.
Is it possible to change the color of just one dot in a LineChart?
I'm charting an estimate of how long you'll wait in line at a ride in Walt Disney World, from 8 am to midnight.  I'd like to change the color of the dot that represents the current time, to show the user where they are on the chart.

There is getDotColor it takes the value and the index

How did I miss that?  Thank you!


Expose functionality to compile dart to kernel for the VM

Description

FYI @fkorotkov lots of tasks on my PRs are hitting a "Fetch failed with a timeout!" issue when trying to fetch

@jonahwilliams weird. I've tweaked some setting will see if it will mitigate occasional network slowness


render laucnh template button on release within readme

on TL;DR. Also drop the existing EIP parameter by default and offer it as an option

implemented. use make release .