add Kyverno Pod Security Standard instantiation links

Adds links to the Pod Security Standards instantiation section for Kyverno's implementation

/assign @tallclair

@tallclair are there any alternations needed to move this forward?

Page preview:
https://deploy-preview-25461--kubernetes-io-master-staging.netlify.app/docs/concepts/security/pod-security-standards/#instantiation-through-kyverno

@tallclair @chipzoller are you happy to close this PR? It doesn't seem like this change could be in line with the website content guide.
If these links to Kyverno need to be part of the Kubernetes docs, I'd suggest that we:

open a new KEP for a revised content policy
get that KEP approved
add the Kyverno content

@sftim we discussed this briefly in the sig-auth meeting yesterday. While the documentation guidelines make sense, the unique consideration here is that PSPs will be marked for deprecation in an upcoming release and we need to provide users guidance on how to secure their workloads.
Some items discussed were to add both Gatekeeper/OPA and Kyverno to the Policy Instantiation section and word as, "...available instantiations by CNCF projects."
Another related activity is that we are looking into approaches to validate the listed instantiations.
For Kyverno, we now had a documentation link which may be more suitable to reference here.

@sftim we discussed this briefly in the sig-auth meeting yesterday. While the documentation guidelines make sense, the unique consideration here is that PSPs will be marked for deprecation in an upcoming release and we need to provide users guidance on how to secure their workloads.
Some items discussed were to add both Gatekeeper/OPA and Kyverno to the Policy Instantiation section and word as, "...available instantiations by CNCF projects."
Another related activity is that we are looking into approaches to validate the listed instantiations.
For Kyverno, we now had a documentation link which may be more suitable to reference here.

How about combining this with the PR to update the PodSecurityPolicy page for deprecation? I assume that'll be a PR targeting dev-1.21
We can add a list of out-of-project products and hyperlink to each product's documentation on how to use them with Kubernetes. Another example might be OPA (Gatekeeper).
If you want to see how we list out-of-project solutions, take a look at https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/ or https://kubernetes.io/docs/concepts/cluster-administration/networking/#how-to-implement-the-kubernetes-networking-model
(we always add the 3rd party project disclaimer, and we always list projects in alphabetical order).

How about combining this with the PR to update the PodSecurityPolicy page for deprecation? I assume that'll be a PR targeting dev-1.21
We can add a list of out-of-project products and hyperlink to each product's documentation on how to use them with Kubernetes. Another example might be OPA (Gatekeeper).
If you want to see how we list out-of-project solutions, take a look at https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/ or https://kubernetes.io/docs/concepts/cluster-administration/networking/#how-to-implement-the-kubernetes-networking-model
(we always add the 3rd party project disclaimer, and we always list projects in alphabetical order).

@sftim - that sounds good to me.
Here is the Kyverno documentation link for pod security policies:
https://kyverno.io/policies/pod-security/
@ritazh can help confirm the link for Gatekeeper / OPA:
https://github.com/open-policy-agent/gatekeeper-library/tree/master/library/pod-security-policy
@tallclair does it also make sense to link the test YAMLs when ready?

@sftim - that sounds good to me.
Here is the Kyverno documentation link for pod security policies:
https://kyverno.io/policies/pod-security/
@ritazh can help confirm the link for Gatekeeper / OPA:
https://github.com/open-policy-agent/gatekeeper-library/tree/master/library/pod-security-policy
@tallclair does it also make sense to link the test YAMLs when ready?

Hi @chipzoller .
Just checking on the status of this pull request?
Do you want to close this PR or target the changes for the dev-1.21 branch?

As per before, since this was at the behest of @tallclair and he has yet to comment on this PR (to either myself of @JimBugwadia) I do not know the proper course of action here.

Thanks for the reply @chipzoller.
I'll place a temporary hold on this PR.
/hold


Accessing JS error object from MiniRacer::EvalError?

I'm wondering how I can access the JavaScript error object from MiniRacer::EvalError.
I want to run script snippets from users and I want to report errors to them. We have some extended attributes on custom errors which I would need to access.
The only way I found to solve this is by wrapping the script before sending it to MiniRacer::Context#eval like this:
wrapper = <<~JS
  try {
#{script}
  }
  catch(err) {
    var thrownError = err;
  }
JS

context.eval(wrapper)

With this I can access thrownError. But my issue is, that line numbers in backtraces are off. My current solution is to have a map that contains offsets accounting for the wrapper script.
Is there any other way to achieve this?

I think we need to fix our internals to account for the wrapper, can you give it a shot in a PR?

I'm not sure I can follow.
I took a quick peek at https://github.com/discourse/mini_racer/blob/master/lib/mini_racer.rb#L170-L184 but could not spot anything that looks like a wrapper or exception handling.
In case you are referring to the the C code in https://github.com/discourse/mini_racer/blob/master/ext/mini_racer_extension/mini_racer_extension.cc, I have to pass (I don't understand it).
Just in case we have a misunderstanding: I'd like to access the thrown javascript error object:
context.eval('throw new MyError("a message", { some: "meta data" });');

Is there a way to access the thrown error from miniracer?

I think you are talking about these lines:
https://github.com/discourse/mini_racer/blob/723958f4da3cc6de01530b390cd4803dfbf7de7f/ext/mini_racer_extension/mini_racer_extension.cc#L736-L749
At the moment we send  a very rudimentary exception back so what we would want to do is look at the return result there and maybe convert the object to JSON and attach to Runtime error. It is somewhat tricky but we could provide more info for sure.

I think you are talking about these lines:
https://github.com/discourse/mini_racer/blob/723958f4da3cc6de01530b390cd4803dfbf7de7f/ext/mini_racer_extension/mini_racer_extension.cc#L736-L749
At the moment we send  a very rudimentary exception back so what we would want to do is look at the return result there and maybe convert the object to JSON and attach to Runtime error. It is somewhat tricky but we could provide more info for sure.

Okay, this seems nothing I can directly contribute code changes too, sorry :( It would be great, if feasible, to have a method on the MiniRacer::EvalError exception to access the error object from JS land.


Add NetworkMode to RuntimeContainer

If a container uses the network_mode: container:xxxx, both the .Networks and .Addresses attributes are empty.
Making NetworkMode accessible will be a first step in resolving issue in  https://github.com/jwilder/nginx-proxy where people have to find workaround to alter the nginx .conf file to populate upstreams when they are routing their container network though an other container.

Any hope for this to be merged before a new release @jwilder ?

2 years later, I still want this!

Superseded by #574


Cookie Issue in Chrome 80 and Firefox too

https://web.dev/samesite-cookies-explained/
https://stackoverflow.com/questions/41736460/exception-this-browser-is-not-supported-or-3rd-party-cookies-and-data-may-be-di

https://stackoverflow.com/questions/58270663/samesite-warning-chrome-77


[stable/schema-registry-ui] can't connect to kafka cluster in k8s

Is this a request for help?:
Yes
If this is a BUG REPORT, please:

Fill in as much of the template below as you can.  If you leave out
information, we can't help you as well.

Which chart:
stable/schema-registry-ui version 0.1.0
What happened:
Pod starts gui shows error CONNECTIVITY ERROR
What you expected to happen:
It to properly connect to schema-registry
How to reproduce it (as minimally and precisely as possible):
Install incubator/schema-registry and use service url for example whimsical-angelfish was the schema-registry release name in default namespace so:
schemaRegistry:
  url: "http://wanton-angelfish-schema-registry.default.svc.cluster.local"

Anything else we need to know:
I can curl the endpoint successfully from schema-registry-ui pod:
curl  http://whimsical-angelfish-schema-registry.ops.svc.cluster.local:8081/subjects
["connect-jdbc-hours-value","connect-jdbc-reservation-value"]

So schema-registry seems to be working properly.
Logs aren't showing much:
$ kubectl logs roiling-cheetah-schema-registry-ui-7c49d7557b-6c6wx -n ops
Setting Schema Registry URL to http://whimsical-angelfish-schema-registry.ops.svc.cluster.local:8081.

Activating privacy features... done.
http://<IP_ADDRESS>:8000

@cristian04 any ideas, has schema-registry-ui chart been tested with incubator/schema-registry chart?

Got it, at least with the info I can setup an ingress that's accessible from my browser and use that.  Thanks for the reply, I'll be out of town for a few days so if I don't have time to test tonight I will early next week.

Make sure you have CORS enabled.
https://github.com/Landoop/schema-registry-ui#prerequisites

That worked, thank you kindly!  When I get back next week I'll try to add some info to the docs, and correct a few things I noticed in docs.


"In Sanskrit" gets migrated as Tibetan + Sanskrit

https://www.tbrc.org/xmldoc?rid=MW1KG4920

well, turns out it's because of
<pubinfo:printType type="dbuCan"/>

which of course makes 0 sense for a Sanskrit text... :facepalm:


Graphs

There is no Imperial course on graph theory, but there is a bit of graph theory in Liebeck's M1F book (he proves something about planar graphs) and there is loads of it in Bollobas' book on graph theory which is presumably in the library. I am not even sure that Lean has graphs defined!

I talked to Mario -- he said the biggest problem with graphs is that different people mean different things when talking about them, and this causes problems with what graph should mean. Maybe we should put these aside for a bit.


Don't force the Unicode API on Windows consumers.

We use Windows' Unicode API internally, but we shouldn't force that choice
on consumers. Make "#define UNICODE" internal in the modules that need it.

Thanks!


Refactor faqRedirect test

This PR refactors the Cypress test cypress/integration/app_to_web.js section which checks FAQ redirects. The source data of the redirect source and destination anchors stored in appToWebLinks.json is restructured for readability.
In the original submission of this data the relationship between redirect source and destination was displayed by keeping the data pair on one line. Unfortunately if the json file is reformatted using standard editor tools, then this relationship is lost. This affects readability only, not functionality.
To make sure that the redirect data is still readable after editor reformatting, the faqRedirect section in appToWebLinks.json is converted to an array of arrays and the Cypress test code is changed accordingly. Now the relationship is clear again, for instance in the example below, the test checks that #hc_prefix_invalid redirects to #eu_dcc. Source and destination are grouped together in one array with source followed by destination anchor. The brackets [ ] around this pair separate it from other pairs.
        [
            "#hc_prefix_invalid",
            "#eu_dcc"
        ],

@MikeMcC399 Thanks for the proposal and providing a PR, we will check this.

I'm running the tests at the moment to validate the results. However, from looking at the file changes there does not appear to be a functional difference. Nice refactoring!
Will approve when tests are done and passing

@MikeMcC399 thanks a lot, much nicer now!


JSX namespaced attribute syntax not supported

TypeScript Version:
1.8.2
Background:
I have been working on trying to get https://github.com/eslint/typescript-eslint-parser, a TypeScript parser plugin for ESLint, off the ground, and the job this weekend has been to begin adding JSX support.
ESLint uses espree and so the aim of the project is to convert the output of the tsc to an AST which espree expects. We already have a solid suite of JSX tests to develop against (taken from the espree project itself), but I have come up against a tsc error in one of them so far.
My issue is that it seems currently the tsc does not accept this "namespaced attribute" JSX syntax:
Code
 {value} <c />;

Expected behavior:
Please note the AST produced by espree (see in particular the tokens array): http://astexplorer.net/#/B46lew7I59
Actual behavior:
...compared to the one produced by the tsc (note the issues found in parseDiagnostics):
http://astexplorer.net/#/G5L3CptVNq
Removing the n: from n:foo resolves the parsing issues.

Strangely, while the JSX spec draft still specifies using colons (JSXNamespacedName), https://github.com/facebook/react/pull/760#issuecomment-39801582 specifies that dot separation ended up being the choice.
If you try it out on Babel's converter (see here, you'll get an error:

repl: Namespace tags are not supported. ReactJSX is not XML.

So the choice is whether or not to gracefully parse and give back an error. @RyanCavanaugh, what do you think?

Thanks a lot for your digging there @DanielRosenwasser, that is really useful to know.
@nzakas, just wanted to call your attention to Daniel's points above, in case that affects anything for you with how espree or typescript-eslint-parser should handle this situation.

It's important to understand that JSX is not directly tied to React, but rather is a syntax extension leveraged by React in certain ways. That's to say, just because React decides not to use some part of JSX, that doesn't mean it's removed from JSX. Namespaces are still part of the JSX spec: http://facebook.github.io/jsx/
So, this is valid JSX and should be parsed without error.

We didn't support namespaced names in the JSX parser because it seemed zero people were using it (in other words, this is literally the first bug report we've gotten on it). Without any real-world use it wasn't at all clear what the semantics of it ought to be.
We'd be happy to add this support if there's some real-world use of it. If it's just for the sake of some other tool that supports it (i.e. there are no actual downstream users), we'd take a PR but wouldn't implement it ourselves.

@RyanCavanaugh I'm interested in your use of the word "semantics" there. JSX itself has no semantics, React overlays semantics on top of it. Do I take you to mean that TypeScript has baked-in some React semantics?

We haven't "baked in" anything per se -- things are mostly configurable, but the allowed range of configurations implied by the design was informed by the JSX consumers existing at the time (i.e. React and people wanting XAML-like syntax).
Since there were no consumers of JSX using the namespaced attribute syntax, we didn't implement parsing support for it since there were zero anchoring points in terms of what space of configurability to allow.

Sorry, I'm not familiar with some of these terms. What sort of configurability are you referring to? And what would you expect from a pull request to implement this?

See e.g. #5478 for how we do type resolution based on what interfaces and what members are in the JSX namespace.
For this issue specifically, I think we can safely say for now that namespaced attribute names do not contribute to typechecking in any way (e.g. they are not considered "error due to being surplus", and their supplied values do not have to be of any particular type). So a PR would just consist of work in the parser and preserve emitter, some very minimal work in the checker to make sure the expression values get checked (e.g. no <foo n:thing={3 * 'nope'} />), and an error in the react emitter that namespaced attributes are not supported.
If someone comes along with a framework that imposes meaningful types on these attributes, we can figure out how to add new stuff to the JSX namespace to support that.

Closing until some use case for JSX namespaces shows up

I also hope a universal solution to embed different template, such as like markdown.
return (```pug
svg
   use(xlink:href="....")
```)

return ```xhtml
<svg><use xlink:href="..."/></svg>
```

Facebook's FBT framework also uses the namespace syntax for translation parameters: <fbt:param name="username">{user.name}</fbt:param>. This is in element names and not attribute names, but the JSX specification allows JSXNamespacedName in both JSXElementName and JSXAttributeName anyway. While this is not completely blocking as the FBT library also supports a function-based syntax, the auto-parameterization feature only works with the JSX syntax.

@RyanCavanaugh Vue JSX 使用命名空间作为指令参数，TypeScript 有可能支持它吗？
https://github.com/vuejs/jsx#directives

非常的坑，自己用官方的@vue/babel-preset-jsx插件自己搭建脚手架，就可以解析tsx里面的jsx，包括vOn:keyup_enter这些，并且打包出来也是没问题的。但是用官方的脚手架，就解析不了tsx里面的jsx部分语法（vOn:click）

为什么用官方的@vue/babel-preset-jsx插件自己搭建脚手架，就可以解析tsx里面的jsx，包括vOn:keyup_enter这些，并且打包出来也是没问题的。但是用官方的脚手架，就解析不了tsx里面的jsx部分语法（vOn:click）


gian.toml

The transactions.toml file for 793ab11 was deemed invalid with error Invalid validator address: Source is not a pilot

The transactions.toml file for 793ab11 was deemed invalid with error Invalid validator address: Source is not a pilot

The transactions.toml file for 793ab11 was deemed invalid with error Invalid validator address: Source is not a pilot

The transactions.toml file for 793ab11 was deemed invalid with error Invalid validator address: Source is not a pilot

The transactions.toml file for 793ab11 was deemed invalid with error Invalid validator address: Source is not a pilot

The transactions.toml file for 793ab11 was deemed invalid with error Invalid validator address: Source is not a pilot

The transactions.toml file for 793ab11 was deemed invalid with error Invalid validator address: Source is not a pilot

The transactions.toml file for 793ab11 was deemed invalid with error Invalid validator address: Source is not a pilot

The transactions.toml file for 793ab11 was deemed invalid with error Invalid validator address: Source is not a pilot

The transactions.toml file for 793ab11 was deemed invalid with error Invalid validator address: Source is not a pilot


Adds notebook in google-colabs for easy prototyping and dissemination

It would be great to have a toy datasets along with  notebook in google-colabs for easy prototyping and dissemination.
More for google-colabs> https://colab.research.google.com/

https://colab.research.google.com/drive/1tou6lLY54CU1KMY4I767ZIZ-8bYc0VlF?usp=sharing

https://colab.research.google.com/drive/1Cbudr2g5qdC2LGBj_xYS-amgJQ-6OVM6?usp=sharing


[PW-4379] User Comments missing

Describe the bug
When i was testing the plugin, i added a Comment to every Order so i know what i was testing there, The Orders were done properly but in the backend i do not see the comment symbol, and there are also no contents in the comment section in the backend.
To Reproduce
Steps to reproduce the behavior:

Go to Checkout
Add a Comment
Proceed with a Adyen Payment selected
Finish the Payment Process
Finish the Order
Go into the Backend
Look into Orders

Expected behavior
Comments should be available in the Order-List/Order-Detail
Note
Normal Payment Methods and other Payment-Provider Plugins were able to set the info into the Order-Details, so it can not be a general problem of the shop. No Other Payment Provider Plugin was active when i tested the adyen payment, i just switched the plugin when i was done with them.
Update 1.7.1:
The Problem is still persistent

Hello @danielDigitalArt, I don't see a way to add comments in Checkout and our plugin does not provide this feature, are you perhaps using another plugin for this?

@peterojo
No Plugin is needed, it is just hidden behind another setting in the basic-settings of the shop:

After setting this field to "yes" and clearing all caches, you should see this in the last checkout page:


feat: add tar.xz

So https://github.com/kevva/gulp-decompress can use: https://github.com/kevva/decompress-tarxz
Btw I found that weird that we need to change that module to support a new file type
Shouldn't we add an array or a function: canHandle on each strategy?

Thank you! Published in 3.1.0.

:+1:


HDDS-8962. Ensure docker env is stopped

What changes were proposed in this pull request?
Currently, if acceptance test script exits abruptly due to failed command (e.g. timeout in wait_for_port), the docker environment is left running, logs are not saved, subsequent test scripts may fail due to port conflict, etc.  This is happening recently in HA-secure:
Timed out waiting on datanode4 9856 to become available
ERROR: Test execution of ozonesecure-ha/test.sh is FAILED!!!!

This change adds a trap to ensure stop_docker_env is executed.
https://issues.apache.org/jira/browse/HDDS-8962
How was this patch tested?
$ OZONE_ACCEPTANCE_SUITE=failing ./hadoop-ozone/dev-support/checks/acceptance.sh
...
Executing test ozone/test-failures1.sh
...
Safe mode is off
No OM HA service, no need to wait
Port 1234 is not available on scm yet
Port 1234 is not available on scm yet
Port 1234 is not available on scm yet
Port 1234 is not available on scm yet
Timed out waiting on scm 1234 to become available
...

Verified that logs are saved for failures1, too:
$ find target/acceptance -type f | grep -Fv '.stack' | sort
target/acceptance/log.html
target/acceptance/output.log
target/acceptance/ozone/failures1/docker-ozone.log
target/acceptance/ozone/failures1/scm-audit-28ee34c8bf11.log
target/acceptance/ozone/failures2/docker-ozone-ozone-test1-scm.log
target/acceptance/ozone/failures2/scm-audit-9076f47d8095.log
target/acceptance/ozone-failures2.xml
target/acceptance/report.html
target/acceptance/summary.html

Regular CI:
https://github.com/adoroszlai/hadoop-ozone/actions/runs/5424893835

Thanks @smengcl for the review.


pycryptodome and sshtunnel interfere with each other

As you know, asyncssh requires pycrypto to be installed. pycryptodome's documentation says:
One must avoid having both PyCrypto and PyCryptodome installed at the same time, as they will interfere with each other.
So we can't have both sshtunnel and C accelerations at the same time. Any workarounds?

asyncssh requires cryptography, different library from pycrypto.
cryptography and pycryptodome can be used together without problems.
😄

I am thinking of using only one of the two libraries to simplify the dependencies.
It may be good to switch from pycryptodome to cryptography in our project.

can we have some benchmarks comparing pycryptodome and cryptography?

there is an old benchmark two years ago: http://nlitsme.github.io/posts/benchmarking-some-python-crypto-libraries/

I know that pycryptodome and pycrypto are drop-in replacements for one another. But I think using cryptography instead of pycryptodome requires some modifications in the code, right?

sure, code should be modified and more tests should be done.

I'm working on changing the Docker image from Alpine to Tinycore to have glibc to provide ssh tunnel as well as crypto acceleration. After that, I'll try to write some scripts to benchmark crypto speed. I'm guessing you want to keep things as lean as possible (so am I) so we'll think of something after the benchmark

thanks for the work. waiting for result of your benchmark. 👍

https://github.com/mosajjal/python-crypto-benchmark
take a look at this project. Very basic benchmarks. Let me know if there's anything I can help with. My understanding is, cryptography is just as good maybe even better.

really appreciate your help. as the result suggests, I am planning to move to cryptography soon.

after several days of investigation, cryptography design is redundant.
for example, it has a design of changing backend, and now it is obsolete.
you should call get_default_backend() every time.
many useful apis have been labeled "hazardous materials"
so I don't think it is the right time to move from pycryptodome to cryptography
let's wait if there is some important reason in the future.

I agree. We could wait for a couple of months to see if any crypto library with Rust backend gets introduced as well


Define a license

Hi @dempfi !
I have been checking your code and I do not see any license specified and I guess you want it to be open source. Could you please add one?
Cheers!
Fran

Hey there, thanks for pointing out that. Done ✅


Publish the extension on open-vsx.org for VSCodium

Since the VSCode binary from Microsoft is under a proprietary license and has built-in telemetry, there's VSCodium; a free/libre build without those problems.
Unfortunately, as Microsoft prohibits usages of the Microsoft marketplace by any other products or redistribution of .vsix files from it, in order to use VSCode extensions in non-Microsoft products those need to be installed differently.
By default, VSCodium is set up to use open-vsx.org as extension gallery, which has an adapter to the Marketplace API used by VSCode.
Could you publish this extension on open-vsx.org so that it could also be used on VSCodium?
Guide:
https://github.com/eclipse/openvsx/wiki/Publishing-Extensions
Thank you.

@MasterKia Now the add-on is also available on Open VSX: https://open-vsx.org/extension/adguard/adblock
Happy coding!


Circuit equality should consider the arguments of the gates

Describe the feature you'd like
This should return False:
In [1]: c1 = braket.circuits.Circuit().rz(0, np.pi/3)

In [2]: c2 = braket.circuits.Circuit().rz(0, np.pi/5)

In [3]: c1 == c2
Out[3]: True

The call stack for circuit equality ultimately relies on equality of gates. However,
The current __eq__ only checks if the instructions are of the same type/name. As a result, c1 and c2 are considered equal, even though they have different arguments.
How would this feature be used? Please describe.
Like #209, this would help with unit tests and also be good for general circuit construction sanity.

Thanks for providing your input. This feature does not currently exists but we will add it to our queue for future consideration. You are also free to create a pull request that we will review and consider merging.

Will be fixed in #216

#216 has been merged; angles are now considered for equality

Thanks!


Pull Request - Changes to NFDI-Search_Engine

Hi Dear Colleagues,
I wanted to update you on the changes I made to the NFDI-Search_Engine in this pull request. Here's a summary of the modifications:
1. New Files and Folders:
I added new files and folders to accommodate the changes in the MVC (Model-View-Controller) architecture. This allows for better organization and separation of concerns.
2. Framework Change:
I migrated the application from Gradio to the Flask framework. Flask provides more flexibility and control over the web application, enabling us to customize and enhance its functionality.
3. Multithreading Implementation:
To improve the performance and speed of the application, I introduced multithreading. This enables the application to concurrently handle multiple tasks or sources, leading to enhanced responsiveness and efficiency.
4. Technology Stack:
I incorporated HTML, CSS, JavaScript, and HTML to enhance the user interface and overall user experience.
These updates aim to enhance the functionality, performance, and user interface of the NFDI-Search_Engine. Please review the changes and provide your feedback. I look forward to hearing your thoughts and suggestions.
Thank you all for your attention and collaboration.

Two ".DS_Store" files have been deleted. Meantime I have added it to the ".gitignore"

Closes #8


Add Message Of The Day MOTD

Per @dtarb , @mauriel133 @mjstealey Need a notice on the HydroShare home page (probably a green banner notice in a style similar to what you get when you create a resource) that says (for example):
Planned HydroShare Maintenance.  HydroShare will be offline Friday February 17 from 8 am to 11 am Eastern US Standard time for system wide storage maintenance at the RENCI data center.  We apologize for any inconvenience.

@pkdash , @hyi could one of you take care of this one? I'll be traveling until Thursday and I'm unavailable in the meantime.

@rayi113 I am not sure about the requirements here. Is this going to be displayed automatically based on some conditions? Or we just have a place holder for the notification in the template that we enable and disable manually as we need?

@mjstealey We can use the text of the content field of the Home page (which the Admin can edit in the admin interface) to dynamically display as the notification message on the home page.

We can use the text of the content field of the Home page (which the Admin can edit in the admin interface) to dynamically display as the notification message on the home page.

@pkdash - The "Home" page in the admin panel is overridden by our present setup and is a placeholder. None of the content there will display to the site.
The only editable fields I've found are from the Theme settings for the information found at the footer regarding contact information, release status, etc.
Please do try this on dev if you think it can be done from the admin panel b/c I don't see how it would be accomplished that way.

@mjstealey I have tested it and it works.

@mjstealey @pkdash I have tried to edit content for home page from admin but it did not work for me. However, @mjstealey you may directly edit theme/templates/pages/homepage.html on www to insert the site maintenance message when needed.

@pkdash - Place holder for the notification in the template that we enable and disable manually as we need.

Only editing in admin is not sufficient. The template needs to have code to display it.

Only editing in admin is not sufficient. The template needs to have code to display it.

@pkdash - Please implement for demo during today's call

@pkdash That makes sense, i.e., display content edited from admin in template page. Either doing that or directly editing homepage.html would work.

@pkdash @hyi what about editing theme/templates/pages/homepage.html  to put a motd under the text superimposed on the 3 rotating images on the landing page.  Would be very visible and easy to turn on and off.

Or is that what @hyi proposed just prior to this comment?

@rayi113 That is pretty much what I suggested since I took a look at homepage.html and it appears it is easy just to append a MOTD message there. But @pkdash may investigate to show content field that can be edited from admin panel in homepage.html, which is better in the sense that @mjstealey can just edit the content field without directly appending the message into homepage.html as needed.

@hyi Okay, thanks, sounds good.

Proposed MOTD on https://beta.hydroshare.org/

@mjstealey I assume you tested turning this message off.

@mjstealey Can this also display when a user is logged in since that status is cached for returning existing users?  I.e. There is the potential for a loggged-in HydroShare user to miss this message.

@rayi113 Should be possible.

Message has been applied to https://www.hydroshare.org

We can also add the feature where one can specify start date/time and end date/time during which the maintenance message should be displayed. Not sure how that would work with various time zones though.

Implemented on production as disposable code


Update example: make bot send messages as user

When sending a message without the as_user option, it does not use Bot's preferences as configured

When adding as_user=True though, it displays everything correctly.

Thanks, @dastergon.


kafka: inbound record distributor/store

Commit Message: kafka: inbound record distributor/store
Additional Description: distributor/store object that's responsible for routing records to callbacks (downstream Fetch requests) that are waiting for these requests. Needs to be thread-safe just like it's owner SHM, as it's going to be accessed by multiple threads (from the callback side: multiple filters -> multiple worker threads, from the message side: kafka consumer's worker thread that pushes the messages in). Part of https://github.com/envoyproxy/envoy/issues/24372
Risk Level: Low
Testing: unit tests, integration test with a full stack
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Needs some cleanup, I left debugging in  :(

/assign @mattklein123

Thank you!


Make sure broadcast queue is valid broadcasting

When broadcasting table event, make sure the broadcast queue is
valid. The network may have been removed while in the process of sending
the broadcast.
Signed-off-by: Jana Radhakrishnan<EMAIL_ADDRESS>

LGTM


[FEATURE REQUEST]:

Contact Details
<EMAIL_ADDRESS>Feature Description
darts framework (time series forecasting framework), we can implement this with our superduperDB there is no framework related to time series forecasting
Why Darts?

The forecasting models can all be used in the same way, using fit() and predict() functions, similar to scikit-learn.
Less learning curve
The library also makes it easy to backtest models, combine the predictions of several models, and take external data into account.
Darts supports both univariate and multivariate time series and models.
Darts also offers extensive anomaly detection capabilities. For instance, it is trivial to apply PyOD models on time series to obtain anomaly scores, or to wrap any of Darts forecasting or filtering models to obtain fully-fledged anomaly detection models.

Use Case Description
It will help a lot of companies, who are consuming time series data and making applications on that.
Organization
weather forecasting, e-commerce, social media, supply-demand. It's used by small to big companies.
Who are the stake-holders?
No response

Hey @makkarss929 ,
Thank you for reaching out.
Yes, Darts does look promising based on our quick scan
An integration idea makes sense as well.
However, at the moment, we do not support time dimensions in our data-layer
Theoretically, a function to "initialize" a table or a collection as a time-series object must be defined.  Also, some customizations on the .predict API call need to be done.
How do you plan on integrating with our framework?

It’s simple. We can add a time dimension to our data layer.
In darts, We need 2 things time and value in a table or collection to specify a series.  darts will do parsing and sorting according to time for us.
There will be different parameters for different models.

Generally, deep learning models need input_chunk_length, and output_chunk_length while initializing models
.fit() needs epochs and series and covariates
.predict() needs n (number of forecasts) and covariates.

NOTE: covariates are those who are not part of the forecasting, but help in the forecasting, like day, week, month, temperature, and sales, It can be anything that helps to forecast.

See the below example of LSTM

my_model = RNNModel(
    model="LSTM",
    hidden_dim=20,
    dropout=0,
    batch_size=16,
    n_epochs=300,
    optimizer_kwargs={"lr": 1e-3},
    model_name="Air_RNN",
    log_tensorboard=True,
    random_state=42,
    training_length=20,
    input_chunk_length=14,
    force_reset=True,
    save_checkpoints=True,
)

my_model.fit(
    train_transformed,
    future_covariates=covariates,
    val_series=val_transformed,
    val_future_covariates=covariates,
    verbose=True,
)

pred_series = model.predict(n=26, future_covariates=covariates)

There are lots of models and Darts has very neat and clear documentation for all of them like SKlearn.

we can start with simple models with fewer parameters.
Later we can addon Deep learning models.

What are your thoughts? @anitaokoh

Hi @makkarss929 it's a great idea to potentially add a time-dimension to the Datalayer, but how would you do this concretely?
Currently, when we do predictions, we use single data points. So the documents look like this:
{
    "input_data": [0, 1, 3, 6],
    "_outputs": {"input_data": {"my_model": {"0": <output-of-model>}}}
}

However with time-series, I would think you have multiple inputs relevant to a prediction. How would you handle that?

Hi @blythed we can something like this see the example below
{
    "input_data": [
        {"time": "2024-01-01", "values": [0, 1, 3, 6]},
        {"time": "2024-01-02", "values": [1, 2, 4, 7]},
        {"time": "2024-01-03", "values": [2, 3, 5, 8]}
    ],
    "_outputs": {
        "my_model": {
            "2024-0-01": <output-of-model-at-2024-01-01>,
            "2024-01-02": <output-of-model-at-2024-01-02>,
            "2024-01-03": <output-of-model-at-2024-01-03>
        }
    }
}

Ok that's fine, but it doesn't really reflect the real world scenario that new time series data is probably inserted into new records.

We can do something, like this
{
    "data": [
        {
            "time": "2024-01-01",
            "input_data": [0, 1, 3, 6],
            "_outputs": {
                "my_model": <output-of-model-at-2024-01-01>
            }
        },
        {
            "time": "2024-01-02",
            "input_data": [1, 2, 4, 7],
            "_outputs": {
                "my_model": <output-of-model-at-2024-01-02>
            }
        },
        {
            "time": "2024-01-03",
            "input_data": [2, 3, 5, 8],
            "_outputs": {
                "my_model": <output-of-model-at-2024-01-03>
            }
        },
    ]
}

HI @blythed
splitting the data into separate documents based on a time range criterion


logging when io.cucumber.core.Main is runned

All logging when testing is eaten unless logged with cucumbers Scenario component.
Set up Logback so it will persist log at logs.adeo.no

closing issue, reported on wrong project. should be bidrag-cucumber-cloud


Project problems

Hi when i open AsyncRat solution on visual studio, it gives to me an error from a base class that doesn't exist, the error is System.void. https://docs.microsoft.com/it-it/previous-versions/43fzdd42(v=vs.110)?redirectedfrom=MSDN

This issue is caused when UI NuGet components are missing. Try running NuGet restore then then re-opening (or reloading) the project in visual studio 2019, if this doesn't work please attach a build log


Refactor MArray to Decouple Scene

Description
The MArray class currently requires a Scene object to be passed when it is constructed. This is an example of tight coupling and should be removed.
Task
Remove all Scene references from within the MArray Class.

Duplicate of https://github.com/ufosc/manim-data-structures/issues/2


Embed Details into tab

I like details for obvious reasons but I never really need to look at it in combat in general.
Details has an embed chat option but doesnt seem to quite work with Glass.
This would be a nice cool cherry on top feature for Glass :D

Cool! I didn't know about this Details feature. Will definitely look into it. Thanks for the feature request!


Speed up IDEA classpath computation

By only retrieving the model when there are changes to the buildscript block between requests.

Just would like to mention that I implemented that one among changes I'm preparing now.

Great to hear, @ligee. Looking forward to try them out.

One thing we should keep in mind is that this approach will yield false negatives when the Kotlin build script is not the main Gradle build file as it is the case right now with gradle-script-kotlin itself.
In that case, the buildscript classpath will be controlled by build.gradle.
And to complicate matters further there's always the chance that some out of band mechanism could be influencing the classpath as well, for instance a project property maintained in gradle.properties or some other external file that is read within the buildscript block.

Yep, that's understood. Actually this implementation is more like initial point, it is clear that we should take more complicated model into account.
I was thinking about possible solutions, but I haven't found a good one yet.
The relatively simple one would be to keep track of all dependencies' dependencies in the DepsWithBuldscriptSectionHash and check whether they are changed as well.

Resolved in 7a6bd9d4fcf1c31adb08bea5e1a33efbb3267a0d. Superceded by #110.


Web Job deployment support in Azure Web App or Azure RM Web App deployment Tasks

As of now, we don't have an option to create web job and configure it in the web App deployment tasks. Is there any plan to include it or should this be handled separately using powershell script? I would like to have a separate task or embed this in web app deployment. I can try creating a task for this.

Supporting webjobs is on our backlog. We are few sprints away from it. For now you need powershell task to accomplish it

Thank you for the update. We will continue using the powershell until this is implemented.

Closing this issue since it is already on team's backlog. We will announce when it is available through release notes.

Can you let us know what is the status of this? Also if it's not ready what is the poweshell task to acomplish WebJob deployment?


[Bug] Modmanager downloads Forge artifacts

Could you add some way to detect which mod loader the mod updates are? Because it keeps prompting me to update to the forge version of mods when I am using fabric.
Thanks

Which ModManager version are you using?

I am currently using 1.0.2

Update to v1.1.1+.17
(Note: As of 1.1.0 ModManager uses fabric-language-kotlin)


[BASH] Theme change does not apply properly to settings UI

originated in 4/2 bug bash

@zadjii-msft just to be clear, this is an "easy-starter" because you have to basically do what we did in https://github.com/microsoft/terminal/pull/9732 to the entire SUI?

I think it's even easier than that. We probably don't need to do the whole recursive dance. We might be able to just set RequestedTheme on the MainPage itself. I only did the recursive-upwards thing because I presumed that TeachingTips were the same weird edge case that ContentDialogs were.

I cannot reproduce it - any specific steps?

I was able to get a similar issue over in #9949. Couldn't get the resource to appear when the app's theme was different from the Windows OS theme.
Setting RequestedTheme on MainPage didn't fix it 😢

Hey! Can I work on this?

@Albert-Jokelin Sure, go right ahead! Though, we maybe should have yanked Easy-Starter off this one... if "Setting RequestedTheme on MainPage didn't fix it", then I'm not really sure where to start with this.

I'll try my best and if I need any help, I'll reach out to you guys.

@zadjii-msft I'm unable to recreate the issue. I'm running Windows 10 Home Ver. 20H2, Build: 19042.928

Son of a gun, you're right. Huh. Wonder when that got fixed? Glad to know it is though! Thanks for helping check that one out!


Docs(web-react): Separate stories and demos #DS-873

Description

All component stories moved to demo folder
Created demo for all react components
Storybook now only have 1 example (2 if there is uncontrolled variant of component)

Additional context

Select component already have normal demo - merged&rebased from main branch

Issue reference
Storybook: rozdělit stories a demo

oof

Please check CI lint. There are some issues that need to be solved. Thanks.

Please check CI lint. There are some issues that need to be solved. Thanks.

I had to put back ESlint disable comments what i removed previously


Hyundai: Car Port for Creta (Non-US only) 2024

Checklist

[x] added entry to CAR in selfdrive/car/*/values.py and ran selfdrive/car/docs.py to generate new docs
[ ] test route added to routes.py
[ ] route with openpilot:
[x] route with stock system: b89913b6091ceb05/00000000--690edc369d
[x] car harness used (if comma doesn't sell it, put N/A): Harness A

Thanks to community 2024 Hyundai Creta owner ricardohalfeld.

I noticed a lot of fingerprints are included in this if statement related to LKAS. I wonder if adding Creta's FP to it would resolve the steering issues. Haven't looked into it too much yet.

That's for the LKAS HUD UI and really should be detected soon. What steering issues are you experiencing?

That's for the LKAS HUD UI and really should be detected soon. What steering issues are you experiencing?

The change has been updated, but still awaiting user feedback.

That's for the LKAS HUD UI and really should be detected soon. What steering issues are you experiencing?

Longitudinal control was working, but not lateral. It works now, although it feels a little weird, turning in steps. I'll look into the code some more to see if there's something to be done about that, but only after resolving a work crisis. Be back soon.

We've moved the car interfacing code to our opendbc repository, which is now the new home for car ports and fingerprints. Please re-open your pull request against opendbc at your convenience by using this command below. This will transform all changes under selfdrive/car/ to opendbc_repo/opendbc/car/. Make sure you have initialized submodules beforehand and have checked out the latest opendbc commit.
PR_NUMBER=33045
curl -L https://github.com/commaai/openpilot/pull/$PR_NUMBER.patch | sed -e 's/selfdrive\/car/opendbc_repo\/opendbc\/car/g' | git apply -v --reject

Simply replace the PR number with your own. Once done, add the files, fix any conflicts, and open a new PR. Alternatively, you may start a new PR from scratch if that is easier for you.


cannot dump rdb from cluster

my source redis cluster version is 3.0.7
client-output-buffer-limit is: slave 4G 2G 60
rmt.conf:
[source]
type: redis cluster
servers :
-<IP_ADDRESS>:8888
-<IP_ADDRESS>:6379
-<IP_ADDRESS>:8888
[target]
type: rdb file
[common]
listen: <IP_ADDRESS>:9999
when run src/redis-migrate-tool -c rmt.conf -o log
here is log:
[2017-02-15 06:58:44.558] rmt_core.c:525 Nodes count of source group : 3
[2017-02-15 06:58:44.558] rmt_core.c:526 Total threads count : 4
[2017-02-15 06:58:44.558] rmt_core.c:527 Read threads count assigned: 1
[2017-02-15 06:58:44.558] rmt_core.c:528 Write threads count assigned: 3
[2017-02-15 06:58:44.558] rmt_core.c:836 instances_by_host:
[2017-02-15 06:58:44.558] rmt_core.c:840 <IP_ADDRESS>:8888
[2017-02-15 06:58:44.558] rmt_core.c:840 <IP_ADDRESS>:6379
[2017-02-15 06:58:44.558] rmt_core.c:842
[2017-02-15 06:58:44.558] rmt_core.c:840 <IP_ADDRESS>:8888
[2017-02-15 06:58:44.558] rmt_core.c:842
[2017-02-15 06:58:44.558] rmt_core.c:2417 Total threads count in fact: 3
[2017-02-15 06:58:44.558] rmt_core.c:2418 Read threads count in fact: 1
[2017-02-15 06:58:44.558] rmt_core.c:2419 Write threads count in fact: 2
[2017-02-15 06:58:44.558] rmt_core.c:2428 read thread(0):
[2017-02-15 06:58:44.558] rmt_core.c:2434 <IP_ADDRESS>:8888
[2017-02-15 06:58:44.558] rmt_core.c:2434 <IP_ADDRESS>:6379
[2017-02-15 06:58:44.558] rmt_core.c:2434 <IP_ADDRESS>:8888
[2017-02-15 06:58:44.558] rmt_core.c:2461 write thread(0):
[2017-02-15 06:58:44.558] rmt_core.c:2467 <IP_ADDRESS>:8888
[2017-02-15 06:58:44.558] rmt_core.c:2467 <IP_ADDRESS>:6379
[2017-02-15 06:58:44.558] rmt_core.c:2461 write thread(1):
[2017-02-15 06:58:44.558] rmt_core.c:2467 <IP_ADDRESS>:8888
[2017-02-15 06:58:44.558] rmt_core.c:2524 migrate job is running...
[2017-02-15 06:58:44.560] rmt_redis.c:1706 Start connecting to MASTER[<IP_ADDRESS>:8888].
[2017-02-15 06:58:44.560] rmt_redis.c:1740 Master[<IP_ADDRESS>:8888] replied to PING, replication can continue...
[2017-02-15 06:58:44.560] rmt_redis.c:1706 Start connecting to MASTER[<IP_ADDRESS>:8888].
[2017-02-15 06:58:44.560] rmt_redis.c:1740 Master[<IP_ADDRESS>:8888] replied to PING, replication can continue...
[2017-02-15 06:58:44.560] rmt_redis.c:1051 Partial resynchronization for MASTER[<IP_ADDRESS>:8888] not possible (no cached master).
[2017-02-15 06:58:44.560] rmt_redis.c:1051 Partial resynchronization for MASTER[<IP_ADDRESS>:8888] not possible (no cached master).
[2017-02-15 06:58:50.208] rmt_redis.c:1110 Full resync from MASTER[<IP_ADDRESS>:8888]: ddd01a2b6c6d62060d1bb7a61d0ac0f8908d7a7e:1734727795
[2017-02-15 06:58:50.239] rmt_redis.c:1512 MASTER <-> SLAVE sync: receiving streamed RDB from master[<IP_ADDRESS>:8888]
[2017-02-15 06:58:50.239] rmt_redis.c:1548 Error: I/O error trying to sync with MASTER[<IP_ADDRESS>:8888]: connection lost
[2017-02-15 06:58:50.394] rmt_redis.c:1110 Full resync from MASTER[<IP_ADDRESS>:8888]:<PHONE_NUMBER>615097308f4183b5125b7a49fa92f2:1743474157
[2017-02-15 06:58:50.437] rmt_redis.c:1512 MASTER <-> SLAVE sync: receiving streamed RDB from master[<IP_ADDRESS>:8888]
[2017-02-15 06:58:50.437] rmt_redis.c:1548 Error: I/O error trying to sync with MASTER[<IP_ADDRESS>:8888]: connection lost
[2017-02-15 06:58:50.569] rmt_redis.c:2037 srnode->ctx->target_type: 4, srnode->rdb->received: 0
[2017-02-15 06:58:50.569] rmt_redis.c:2044 Reconnect to node[<IP_ADDRESS>:8888] for replication
[2017-02-15 06:58:50.569] rmt_redis.c:2037 srnode->ctx->target_type: 4, srnode->rdb->received: 0
[2017-02-15 06:58:50.569] rmt_redis.c:2044 Reconnect to node[<IP_ADDRESS>:8888] for replication
[2017-02-15 06:58:50.569] rmt_redis.c:1706 Start connecting to MASTER[<IP_ADDRESS>:8888].
[2017-02-15 06:58:50.569] rmt_redis.c:1706 Start connecting to MASTER[<IP_ADDRESS>:8888].
[2017-02-15 06:58:50.569] rmt_redis.c:1740 Master[<IP_ADDRESS>:8888] replied to PING, replication can continue...
[2017-02-15 06:58:50.569] rmt_redis.c:1740 Master[<IP_ADDRESS>:8888] replied to PING, replication can continue...
[2017-02-15 06:58:50.570] rmt_redis.c:1051 Partial resynchronization for MASTER[<IP_ADDRESS>:8888] not possible (no cached master).
[2017-02-15 06:58:50.570] rmt_redis.c:1051 Partial resynchronization for MASTER[<IP_ADDRESS>:8888] not possible (no cached master).
[2017-02-15 06:58:56.250] rmt_redis.c:1110 Full resync from MASTER[<IP_ADDRESS>:8888]: ddd01a2b6c6d62060d1bb7a61d0ac0f8908d7a7e:1734727809
[2017-02-15 06:58:56.278] rmt_redis.c:1512 MASTER <-> SLAVE sync: receiving streamed RDB from master[<IP_ADDRESS>:8888]
[2017-02-15 06:58:56.278] rmt_redis.c:1548 Error: I/O error trying to sync with MASTER[<IP_ADDRESS>:8888]: connection lost
[2017-02-15 06:58:56.450] rmt_redis.c:1110 Full resync from MASTER[<IP_ADDRESS>:8888]:<PHONE_NUMBER>615097308f4183b5125b7a49fa92f2:1743474157
[2017-02-15 06:58:56.497] rmt_redis.c:1512 MASTER <-> SLAVE sync: receiving streamed RDB from master[<IP_ADDRESS>:8888]
[2017-02-15 06:58:56.497] rmt_redis.c:1548 Error: I/O error trying to sync with MASTER[<IP_ADDRESS>:8888]: connection lost
[2017-02-15 06:58:56.582] rmt_redis.c:2037 srnode->ctx->target_type: 4, srnode->rdb->received: 0
[2017-02-15 06:58:56.582] rmt_redis.c:2044 Reconnect to node[<IP_ADDRESS>:8888] for replication
[2017-02-15 06:58:56.582] rmt_redis.c:2037 srnode->ctx->target_type: 4, srnode->rdb->received: 0
[2017-02-15 06:58:56.582] rmt_redis.c:2044 Reconnect to node[<IP_ADDRESS>:8888] for replication
[2017-02-15 06:58:56.582] rmt_redis.c:1706 Start connecting to MASTER[<IP_ADDRESS>:8888].
[2017-02-15 06:58:56.582] rmt_redis.c:1706 Start connecting to MASTER[<IP_ADDRESS>:8888].
[2017-02-15 06:58:56.582] rmt_redis.c:1740 Master[<IP_ADDRESS>:8888] replied to PING, replication can continue...
[2017-02-15 06:58:56.582] rmt_redis.c:1740 Master[<IP_ADDRESS>:8888] replied to PING, replication can continue...
[2017-02-15 06:58:56.583] rmt_redis.c:1051 Partial resynchronization for MASTER[<IP_ADDRESS>:8888] not possible (no cached master).
[2017-02-15 06:58:56.583] rmt_redis.c:1051 Partial resynchronization for MASTER[<IP_ADDRESS>:8888] not possible (no cached master).
[2017-02-15 06:58:56.594] rmt_redis.c:1110 Full resync from MASTER[<IP_ADDRESS>:8888]:<PHONE_NUMBER>615097308f4183b5125b7a49fa92f2:1743474157
[2017-02-15 06:58:56.635] rmt_redis.c:1512 MASTER <-> SLAVE sync: receiving streamed RDB from master[<IP_ADDRESS>:8888]
[2017-02-15 06:58:56.635] rmt_redis.c:1548 Error: I/O error trying to sync with MASTER[<IP_ADDRESS>:8888]: connection lost
[2017-02-15 06:58:57.584] rmt_redis.c:2037 srnode->ctx->target_type: 4, srnode->rdb->received: 0
[2017-02-15 06:58:57.584] rmt_redis.c:2044 Reconnect to node[<IP_ADDRESS>:8888] for replication
[2017-02-15 06:58:57.584] rmt_redis.c:1706 Start connecting to MASTER[<IP_ADDRESS>:8888].
[2017-02-15 06:58:57.585] rmt_redis.c:1740 Master[<IP_ADDRESS>:8888] replied to PING, replication can continue...
[2017-02-15 06:58:57.585] rmt_redis.c:1051 Partial resynchronization for MASTER[<IP_ADDRESS>:8888] not possible (no cached master).
[2017-02-15 06:59:02.289] rmt_redis.c:1110 Full resync from MASTER[<IP_ADDRESS>:8888]: ddd01a2b6c6d62060d1bb7a61d0ac0f8908d7a7e:1734727809
[2017-02-15 06:59:02.318] rmt_redis.c:1512 MASTER <-> SLAVE sync: receiving streamed RDB from master[<IP_ADDRESS>:8888]
[2017-02-15 06:59:02.318] rmt_redis.c:1548 Error: I/O error trying to sync with MASTER[<IP_ADDRESS>:8888]: connection lost
[2017-02-15 06:59:02.592] rmt_redis.c:2037 srnode->ctx->target_type: 4, srnode->rdb->received: 0
[2017-02-15 06:59:02.592] rmt_redis.c:2044 Reconnect to node[<IP_ADDRESS>:8888] for replication
[2017-02-15 06:59:02.593] rmt_redis.c:1706 Start connecting to MASTER[<IP_ADDRESS>:8888].
[2017-02-15 06:59:02.593] rmt_redis.c:1740 Master[<IP_ADDRESS>:8888] replied to PING, replication can continue...
[2017-02-15 06:59:02.593] rmt_redis.c:1051 Partial resynchronization for MASTER[<IP_ADDRESS>:8888] not possible (no cached master).
[2017-02-15 06:59:03.546] rmt_redis.c:1110 Full resync from MASTER[<IP_ADDRESS>:8888]:<PHONE_NUMBER>615097308f4183b5125b7a49fa92f2:1743474171
[2017-02-15 06:59:03.594] rmt_redis.c:1512 MASTER <-> SLAVE sync: receiving streamed RDB from master[<IP_ADDRESS>:8888]
[2017-02-15 06:59:03.594] rmt_redis.c:1548 Error: I/O error trying to sync with MASTER[<IP_ADDRESS>:8888]: connection lost
[2017-02-15 06:59:04.596] rmt_redis.c:2037 srnode->ctx->target_type: 4, srnode->rdb->received: 0
[2017-02-15 06:59:04.596] rmt_redis.c:2044 Reconnect to node[<IP_ADDRESS>:8888] for replication
[2017-02-15 06:59:04.596] rmt_redis.c:1706 Start connecting to MASTER[<IP_ADDRESS>:8888].
[2017-02-15 06:59:04.597] rmt_redis.c:1740 Master[<IP_ADDRESS>:8888] replied to PING, replication can continue...
[2017-02-15 06:59:04.597] rmt_redis.c:1051 Partial resynchronization for MASTER[<IP_ADDRESS>:8888] not possible (no cached master).
in source redis cluster, log is:
13817:M 15 Feb 06:58:44.561 * Slave <IP_ADDRESS>:43930 asks for synchronization
13817:M 15 Feb 06:58:44.561 * Full resync requested by slave <IP_ADDRESS>:43930
13817:M 15 Feb 06:58:44.561 * Delay next BGSAVE for SYNC
13817:M 15 Feb 06:58:50.208 * Starting BGSAVE for SYNC with target: slaves sockets
13817:M 15 Feb 06:58:50.236 * Background RDB transfer started by pid 10662
13817:M 15 Feb 06:58:50.239 # Connection with slave client id #59608 lost.
13817:M 15 Feb 06:58:50.337 # Background transfer error
13817:M 15 Feb 06:58:50.570 * Slave <IP_ADDRESS>:43932 asks for synchronization
13817:M 15 Feb 06:58:50.570 * Full resync requested by slave <IP_ADDRESS>:43932
13817:M 15 Feb 06:58:50.570 * Delay next BGSAVE for SYNC
13817:M 15 Feb 06:58:56.249 * Starting BGSAVE for SYNC with target: slaves sockets
13817:M 15 Feb 06:58:56.275 * Background RDB transfer started by pid 10663
13817:M 15 Feb 06:58:56.278 # Connection with slave client id #59609 lost.
13817:M 15 Feb 06:58:56.376 # Background transfer error
13817:M 15 Feb 06:58:56.583 * Slave <IP_ADDRESS>:43935 asks for synchronization
13817:M 15 Feb 06:58:56.583 * Full resync requested by slave <IP_ADDRESS>:43935
13817:M 15 Feb 06:58:56.583 * Delay next BGSAVE for SYNC
13817:M 15 Feb 06:59:02.289 * Starting BGSAVE for SYNC with target: slaves sockets
13817:M 15 Feb 06:59:02.315 * Background RDB transfer started by pid 10672
13817:M 15 Feb 06:59:02.318 # Connection with slave client id #59610 lost.
13817:M 15 Feb 06:59:02.515 # Background transfer error
13817:M 15 Feb 06:59:02.593 * Slave <IP_ADDRESS>:43938 asks for synchronization
13817:M 15 Feb 06:59:02.594 * Full resync requested by slave <IP_ADDRESS>:43938
13817:M 15 Feb 06:59:02.594 * Delay next BGSAVE for SYNC
13817:M 15 Feb 06:59:08.328 * Starting BGSAVE for SYNC with target: slaves sockets
13817:M 15 Feb 06:59:08.357 * Background RDB transfer started by pid 10673
13817:M 15 Feb 06:59:08.429 # Connection with slave client id #59611 lost.
13817:M 15 Feb 06:59:08.559 # Background transfer error
13817:M 15 Feb 06:59:08.604 * Slave <IP_ADDRESS>:43940 asks for synchronization
13817:M 15 Feb 06:59:08.605 * Full resync requested by slave <IP_ADDRESS>:43940
13817:M 15 Feb 06:59:08.605 * Delay next BGSAVE for SYNC
13817:M 15 Feb 06:59:14.373 * Starting BGSAVE for SYNC with target: slaves sockets
13817:M 15 Feb 06:59:14.402 * Background RDB transfer started by pid 10682
13817:M 15 Feb 06:59:14.475 # Connection with slave client id #59612 lost.
13817:M 15 Feb 06:59:14.604 # Background transfer error
13817:M 15 Feb 06:59:14.613 * Slave <IP_ADDRESS>:43942 asks for synchronization
13817:M 15 Feb 06:59:14.613 * Full resync requested by slave <IP_ADDRESS>:43942
13817:M 15 Feb 06:59:14.613 * Delay next BGSAVE for SYNC
13817:M 15 Feb 06:59:20.427 * Starting BGSAVE for SYNC with target: slaves sockets

<IP_ADDRESS>:8888的redis执行info命令，贴出来

Server
redis_version:3.0.7
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:c6d5789fc1555e48
redis_mode:cluster
os:Linux 3.19.0-64-generic x86_64
arch_bits:64
multiplexing_api:epoll
gcc_version:4.8.4
process_id:13817
run_id:ddd01a2b6c6d62060d1bb7a61d0ac0f8908d7a7e
tcp_port:8888
uptime_in_seconds:590062
uptime_in_days:6
hz:10
lru_clock:11252281
config_file:/var/vcap/jobs/dedicated-node/config/redis-slave.conf
Clients
connected_clients:1
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0
Memory
used_memory:4105133872
used_memory_human:3.82G
used_memory_rss:4174630912
used_memory_peak:4123168744
used_memory_peak_human:3.84G
used_memory_lua:36864
mem_fragmentation_ratio:1.02
mem_allocator:jemalloc-3.6.0
Persistence
loading:0
rdb_changes_since_last_save:0
rdb_bgsave_in_progress:0
rdb_last_save_time:1487142168
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:10
rdb_current_bgsave_time_sec:-1
aof_enabled:1
aof_rewrite_in_progress:0
aof_rewrite_scheduled:0
aof_last_rewrite_time_sec:14
aof_current_rewrite_time_sec:-1
aof_last_bgrewrite_status:ok
aof_last_write_status:ok
aof_current_size:1734609517
aof_base_size:1271246932
aof_pending_rewrite:0
aof_buffer_length:0
aof_rewrite_buffer_length:0
aof_pending_bio_fsync:0
aof_delayed_fsync:0
Stats
total_connections_received:59691
total_commands_processed:6985901
instantaneous_ops_per_sec:1
total_net_input_bytes:1761012840
total_net_output_bytes:1776762863
instantaneous_input_kbps:0.05
instantaneous_output_kbps:0.00
rejected_connections:0
sync_full:123
sync_partial_ok:0
sync_partial_err:0
expired_keys:0
evicted_keys:0
keyspace_hits:0
keyspace_misses:0
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:28341
migrate_cached_sockets:0
Replication
role:master
connected_slaves:1
slave0:ip=<IP_ADDRESS>,port=8888,state=online,offset=1735433661,lag=0
master_repl_offset:1735433661
repl_backlog_active:1
repl_backlog_size:268435456
repl_backlog_first_byte_offset:1466998206
repl_backlog_histlen:268435456
CPU
used_cpu_sys:607.00
used_cpu_user:538.22
used_cpu_sys_children:15.96
used_cpu_user_children:120.94
Cluster
cluster_enabled:1
Keyspace
db0:keys=6308936,expires=0,avg_ttl=0

可能是开启了无盘复制


Release version 0.1.33

Release Version 0.1.33:
What's New:
Fluent V2:
Fix/Enhancement:
1. Added Functionality to the BottomSheet with TestCases: Enable/Disable Swipe Down Dismiss with more intuitive accessibility controls
2. ToolTip Alignment Bug Fixed: Resolved an issue where ToolTips were not aligning correctly, ensuring a visually consistent and user-friendly interfac
3. CardNudge Enhancement: Fixed a right-to-left (RTL) issue affecting swiping left and right within CardNudge, ensuring a smoother interaction.
4. Vertical Lists Icon Color Consistency: Addressed an issue where disabled icons in vertical lists had inconsistent colors. Icons now maintain uniform appearance for improved visual clarity


displays: added atWindow and intersectingWindow functions

Happy to change names/organization, but it seems we'll need functions like these (for instance to drive openfl's Capabilities.screenResolutionX/Y), and it looks like we have enough information to process them now.

Thank you, this is a great idea!
This is implemented now as window.display, it will return the display showing the center point of the window :smile:


🐛 BUG: ENOMEM: not enough memory, open '<FILENAME>' when attempting wrangler pages publish <FOLDER>

What version of Wrangler are you using?
2.0.26
What operating system are you using?
Linux (Ubuntu 22.04)
Describe the Bug
Hi,
trying to upload files via wranger to pages.
Invoking wrangler pages publish <DIRECTORY> gives the below error:
✘ [ERROR] ENOMEM: not enough memory, open ''
The upload fails at this stage. I'm using an existing empty project, and have successfully initiated and linked to the CloudFlare account. There are 1407 files in a total of 318MB to upload.
The machine has 32GB memory available, and no changes to any environment have been made - yarn/npm/nvm are fresh out of the box installations and the OS is a fresh installation.
Memory usage is at 376MiB normally, 414MB when node is started, and it crashes with the ENOMEM error at 451MiB.
free -m:

Using node v18.7.0 (npm v8.15.0)
Help?

Hi!
Can you try running your wrangler command with the following environment variable?
NODE_OPTIONS=--max-old-space-size=4096 wrangler pages publish <directory>

This will try to override the amount of RAM that Node gets allocated.

Hi,
thanks for following up; I ran the NODE_OPTIONS switch as above, but that resulted in the same error.

Are you running this on your own machine, or on some cloud machine? Can you try again with 8192 just to be absolutely sure?

I tried all the way up to 32768 but to no avail.

Ah, that's maybe interesting. If you run this on your host machine, does it work?

Ubuntu machine causing the issue; host machine (Mac) working happily.

That's really useful information. Thank you! We'll dig into it and see if we can reproduce and find a fix.

This should already be fixed, let us know if you still have this issue!


Add thrift server

This makes it easy to run dbt against Spark

Hi @Fokko , how do you connect dbt with thrift server? I setup my profile based on this  and I seem to get Database Error: failed to connect on both ports 10000 and 10001


Socket re-connects very frequently

Flutter log
I/flutter (26449): Connected.
I/flutter (26449): Client SocketID: Z7es9T-Jd3jpb3gDAABT
I/flutter (26449): Connected.
I/flutter (26449): Client SocketID: kJVTof882MdnjbIYAABV
I/flutter (26449): Connected.
I/flutter (26449): Client SocketID: 9_NmokUh8lQs6HfZAABX
I/flutter (26449): Connected.
I/flutter (26449): Client SocketID: -aNQtz3GgPKdWTfHAABZ
I/flutter (26449): Connected.
I/flutter (26449): Client SocketID: Ifc2c9EJHmTUVCZvAABb
I/flutter (26449): Connected.
I/flutter (26449): Client SocketID: yVa9UGjlib66LmI1AABd
I/flutter (26449): Connected.
I/flutter (26449): Client SocketID: PQUAD_zZzRHnmKBJAABf

NodeJS Socket.IO server log
Socket disconnected for user 1
Socket disconnected for user 1
Socket disconnected for user 1
Socket disconnected for user 1
Socket disconnected for user 1
Socket disconnected for user 1
Socket disconnected for user 1

@vinicioslc this doesn't occur frequently. Will create an example app and share in a few days

If this helps,. This is the example code though.
I'm calling this function and getting a socket instance after app initializes.
The issue occurs when hot reloading multiple times.
import 'package:socket_io/socket_io.dart';

Future<SocketIO> createSocket([String uri='http://localhost:5000/']) async {
    final _socket = await SocketIO.createNewInstance(uri);
    await _socket.on(SocketIOEvent.connecting, () async {
      print('Connecting...');
    });
    await _socket.on(SocketIOEvent.connect, () async {
      print('Connected.');
      final id = await _socket.id;
      print('Client SocketID: $id');
    });
    await _socket.on(SocketIOEvent.connectError, (error) {
      print('Error: $error');
    });
    await _socket.connect();
    return _socket;
  }


Add key to rendered item

Not sure why I did not came across this earlier, but I'm getting the keys warning when using the component.
Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `Autocomplete`. See https://fb.me/react-warning-keys for more information.
    in div (created by Autocomplete)
    in Autocomplete (created by MyComponent)
    ...
    in div (created by App)

The addition in the PR fixes this, although index is probably not the best key for this.
It would be better to let the user provide the right keys. But that would involve changing the cloneElement from line 281 to React.addons.cloneWithProps...
Any thoughts?

As far as I know specifying key in the renderItem render callback works fine. Have you experienced something else?

Yeah, I'm getting the error described above. Did you try it with the latest React version?

The examples work without warnings using React 15.4.1. Could you provide a reduced test case?

Closing this for now. I've tried to reproduce this, but I can't seem to provoke the same error.

It would be better to let the user provide the right keys. But that would involve changing the cloneElement from line 281 to React.addons.cloneWithProps

We already copy ref from the source node using cloneElement, the successor to cloneWithProps. Read more about it here.

Sorry, yeah I was trying to reproduce the error yesterday but failed at it as well, seems to have been a problem at my end.


Implement support for regression tasks

@K0MPLEXWorksTogether Can i work on this?

Sure.

Have you read the code?

Not fully but will look into it and will try to work it out.


German Preprocessing

When calling method getPreprocessing(String languageCode) in de.unidue.ltl.escrito.examples.basics.Experiments_ImplBase.java with language code "de", null is returned (language code "en" works fine).
Not sure what's going on, since processing definitely happens in the "de" stem (no "Unknown language code" output to Stderr + system exit).

I could not reproduce the problem. Could you provide more details?

Thanks for checking! It seems I had an old version of the code. The current version indeed doesn't have this issue.
Ulrike
On 25 Aug 2018, at 21:11, Torsten Zesch wrote:

I could not reproduce the problem. Could you provide more details?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/ltl-ude/escrito/issues/49#issuecomment-415990357

Prof. Dr. Ulrike Pado
Professorin für Informatik, Fachgebiet Computerlinguistik
Fakultät Vermessung, Informatik und Mathematik
Hochschule für Technik Stuttgart
University of Applied Sciences
Schellingstr. 24
70174 Stuttgart
www.hft-stuttgart.de
Büro: Bau 2, Zimmer 449
T +49 (0)711 8926 2811
F +49 (0)711 8926 2553
<EMAIL_ADDRESS>


cover: invalid coverage report for packages without tests

Assume we want to check coverage for packages that doesn't contain any tests.
Expected output
Running task 'cover'...
  - cover
    Coverage report: 0
    Total coverage: 0%
Task 'cover' ran successfully

Got
Running task 'cover'...
  - cover
    Coverage report:
    Total coverage: NaN%
Task 'cover' ran successfully

To be included in next release


Unity XR Hands provider

Next phase of #66: actually creating the hands provider wrapping Unity's XR Hands API.

Creates the HandsSubsystem implementation wrapping Unity's XR Hands API.
As a result, adds Unity's XR Hands package as a hard dependency to the Input package.
DOES NOT yet change any MRTK profiles or sample scenes. That will come in the next PR.

Does not complete https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/issues/66 but is a major step along to completion.

@AMollis  Could you give me simple introduce about  HandsSubsystem ,how to use, for example : how to get click position when your are click, and if your  hand ray  line point position


Ginkgo VMs: host only network interface DHCP conflict

I tried to provision new ginkgo VMs on my Linux machine and hit the following error message:
$ ginkgo -failFast --focus "K8sValidatedHealth" -- -cilium.holdEnvironment
level=info msg="environment variable \"K8S_VERSION\" was not set; setting to default value \"1.10\""
Running Suite: k8s-1.10
=======================
Random Seed:<PHONE_NUMBER>
Will run 1 of 290 specs

SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSpinning up vagrant VMs... ◌SSSSSSSSSSSS

------------------------------
• Failure in Spec Setup (BeforeEach) [202.383 seconds]
K8sValidatedHealthTest [BeforeEach]
/home/joe/work/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:341
  checks cilium-health status between nodes
  /home/joe/work/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:373

  error starting VM "k8s1-1.10": exit status 1

  /home/joe/work/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:451
------------------------------
Bringing machine 'k8s1-1.10' up with 'virtualbox' provider...
==> k8s1-1.10: Preparing master VM for linked clones...
    k8s1-1.10: This is a one time operation. Once the master VM is prepared,
    k8s1-1.10: it will be used as a base for linked clones, making the creation
    k8s1-1.10: of new VMs take milliseconds on a modern system.
==> k8s1-1.10: Importing base box 'cilium/ubuntu'...
==> k8s1-1.10: Cloning VM...
==> k8s1-1.10: Matching MAC address for NAT networking...
==> k8s1-1.10: Checking if box 'cilium/ubuntu' is up to date...
==> k8s1-1.10: Setting the name of the VM: test_k8s1-110_1527878192116_62431
==> k8s1-1.10: Clearing any previously set network interfaces...
A host only network interface you're attempting to configure via DHCP
already has a conflicting host only adapter with DHCP enabled. The
DHCP on this adapter is incompatible with the DHCP settings. Two
host only network interfaces are not allowed to overlap, and each
host only network interface can have only one DHCP server. Please
reconfigure your host only network or remove the virtual machine
using the other host only network.

$ VBoxManage -v
5.2.10_Ubuntur121806
$ vagrant version
Installed Version: 2.1.1
Latest Version: 2.1.1

You're running an up-to-date version of Vagrant!

I worked around this by destroying all of my virtualbox VMs, virtualbox networks, then re-running the ginkgo script.


[travis deploy] .travis.yml: re-enable s390x, consolidate builds

Description of the change:

Re-enable s390x builds
Consolidate docker image builds into single jobs based on architecture.

Motivation for the change:

Support s390x
Reduce number of build machines required to build master branches and tags. This should increase overall build throughput in Travis by reducing the number of VMs that are used after PRs merge and tags are pushed.

Checklist
If the pull request includes user-facing changes, extra documentation is required:

[x] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] ~Add or update relevant sections of the docs website in website/content/en/docs~

Successful full CI run (including deploy stage) in my fork: https://travis-ci.org/github/joelanford/operator-sdk/builds/725769192

/cherry-pick v1.0.x


Update for raft logger changes

This PR updates cuvs to use raft's updated logger implementation using rapids-logger.
This PR requires https://github.com/rapidsai/raft/pull/2530.
Contributes to https://github.com/rapidsai/build-planning/issues/104

/ok to test

/ok to test

/ok to test

/ok to test

/ok to test

/ok to test

/ok to test

I'll be on vacation next week and this PR has downstream consequences so I've marked it as "DO NOT MERGE" until I get back, but I would love to get it reviewed in advance so that I can safely merge when I'm ready.

The devcontainer failures are expected here until we merge the raft PR.

/merge


feat(package): prepare for npm release

Fix #113

Has this been published to npm then? I cannot find it on npmjs. * I have a watch on this repo!


mutation

It would be great to have a way to specify permissions for a mutation, something similar to what we did for the fields

It would be great to have a way to specify permissions for a mutation, something similar to what we did for the fields

Hey @musavirchukkan! This looks like a duplicate of #112, so I'm going to close it for now. Please have a look at the solution proposed there and let me know if that works for you.


[rv_dm,dv] Support "late enable through register" mechanism

The main change here is the second commit, with the following message:
The logic for whether debug is enabled in the dut looks like:
  if ((otp_dis_rv_dm_late_debug_i is mubi true) ||
      (the late_debug_enable register is mubi true)) {
    enabled = lc_hw_debug_en_i;
  } else {
    enabled = lc_dft_en_i;
  }

Before this commit, we always set otp_dis_rv_dm_late_debug_i to true. This commit makes it possible to depend on the register because otp_dis_rv_dm_late_debug_i doesn't have the "true" value.
We still aren't handling the situation where neither is a mubi true value, but that will come in a following commit.

Force-push simplifies things. Rather stupidly, I was reimplementing some of SystemVerilog's constrained randomisation functionality. Don't do that!

The CI failure is FPGA tests, which definitely won't be touched by this PR. Merging.


Added exception handler around link type code in case rel string is i…

…nvalid.
produces 400 bad request exception/status

getTypes() in CreateResourceServiceImpl.java uses java stream to parse the
rel type in a link header. if the rel type is invalid or corrupt, it causes
a stack trace in the server as it equals a null string object that it tries
to operate upon. The fix is to add an exception handler around the parsing
code to throw a 400 bad request exception that should pass back a 400 status
to the client.

Resolves https://jira.lyrasis.org/browse/FCREPO-3367
The title of this pull-request should be a brief description of what the pull-request fixes/improves/changes. Ideally 50 characters or less.

JIRA Ticket: (link)

Other Relevant Links (Mailing list discussion, related pull requests, etc.)

What does this Pull Request do?
A brief description of what the intended result of the PR will be and/or what problem it solves.
How should this be tested?
A description of what steps someone could take to:

Reproduce the problem you are fixing (if applicable)
Test that the Pull Request does what is intended.
Please be as detailed as possible.
Good testing instructions help get your PR completed faster.

Interested parties
Tag (@ mention) interested parties or, if unsure, @fcrepo/committers

Travis build is failing on something that isn't related to this fix. what to do?

Travis build is failing on something that isn't related to this fix. what to do?

Travis is being flaky. Seems to be working now.

Thank you for fixing that

Thanks again, @robyj !


Temporary Method to fix the WebAuthn Capability issue on Kiwi browser.

Issue #396 mentioned a capability problem of WebAuthn. In the replies someone suggested to use GMS Flags to solve the problem.
However, in my Android 12 Workaround, GMS Flag did no help. I came up with a new method to fix the problem.
Requirements

Superuser Access
Latest Kiwi Browser Installed
GMS installed properly
A competent file explorer Installed
A competent SQLite database editor Installed.

Procedure
Locate database
The target database is usually located at
/data/data/com.google.android.gms/databases/phenotype.db

You can copy the file to your PC, wherever it feels easy to make some modifications.
Modify the Database
First, you will need to find the table called Flags. There are usually more than 20000 rows of data encompassed.
In the Flags table, search the columns that contain Fido2ApiKnownBrowsers__fingerprints
It may take a while to search. After search, you should find three rows.

As you see in the picture, modify all the three StringVal columns.
You may append a comma, and paste the SHA256 fingerprint(below) of Kiwi Browser.
C069EA966332E91E0A0C3CC577E6F509FE3D9DDAF7015AD0C5C5EF8FDA3F8628
Make sure you change all three columns. If you missed any, it might end up not working.
Finish
If you complete the modification on PC, you may copy and replace the original file.
After all the above is done, reboot your phone.
To check if your effort actually makes a difference, visit https://webauthn.io
I hope google could fix the problem on their side.

Not working for me

It seems I can't view or modify the file located in /data/data/com.google.android.gms/databases/phenotype.db since I couldn't root my phone. Is there any other methods for this strategy.


[bug] Tauri v2 on Ubuntu does not automatically use system proxy, unlike v1

Describe the bug
In Tauri v2 running on Ubuntu, the system proxy is not automatically detected or used, while Tauri v1 automatically uses the system proxy under the same conditions.
Additionally, both Tauri v1 and v2 work as expected on Windows, the system proxy is automatically used.
I found the workaround for Tauri v2 by setting the proxyUrl in the tauri.conf.json to the system proxy address.
https://v2.tauri.app/reference/config/#proxyurl
This allowed the application to use the proxy.
However, there are several downsides to this manual configuration:

If the system proxy changes during the runtime of the application, the proxy does not switch automatically, causing potential network issues.
It requires the user to know their system's proxy address and configure it manually, which raises the barrier for non-technical users.

When proxyUrl is set to null, the application in Tauri v2 on Ubuntu does not use any proxy at all. There is no option for Tauri v2 on Ubuntu to automatically detect and use the system proxy without manual configuration.
This issue was discovered when I was trying to solve #11238
Reproduction
Follow these steps to reproduce the issue on Ubuntu 22.04:

Create a new Tauri project:

pnpm create tauri-app@latest
✔ Project name · tauri-app
✔ Identifier · com.tauri-app.app
✔ Choose which language to use for your frontend · TypeScript / JavaScript - (pnpm, yarn, npm, bun)
✔ Choose your package manager · pnpm
✔ Choose your UI template · Vanilla
✔ Choose your UI flavor · TypeScript

Install dependencies:

cd tauri-app
pnpm install

Modify the lib.rs

pub fn run() {
    tauri::Builder::default()
        .plugin(tauri_plugin_shell::init())
        .invoke_handler(tauri::generate_handler![greet])
        .setup(|app| {
            let window = app.get_webview_window("main").unwrap();
            window.open_devtools();
            window.eval("window.location.replace('https://tauri.app/')")?;
            Ok(())
        })
        .run(tauri::generate_context!())
        .expect("error while running tauri application");
}

Set your system proxy. In my case, I used the proxy http://<IP_ADDRESS>:7890.

Run the application:

pnpm tauri dev

You will encounter the following error:

To resolve the issue, set the proxyUrl in tauri.conf.json as follows:

"app": {
  "withGlobalTauri": true,
  "windows": [
    {
      "title": "tauri-app",
      "width": 800,
      "height": 600,
      "proxyUrl": "http://<IP_ADDRESS>:7890"
    }
  ],
  "security": {
    "csp": null
  }
},

Expected behavior
Tauri v2 on Ubuntu should automatically use the system proxy, just like Tauri v1 do on Ubuntu, and how both Tauri v1 and v2 do on Windows.
The main problem is that there is currently no way for Tauri v2 on Ubuntu to automatically detect and use the system proxy. Instead, Tauri v2 on Ubuntu either completely ignores the proxy or requires manual configuration, which is not ideal.
Full tauri info output
[✔] Environment
    - OS: Linux Mint 21.2.0 x86_64 (X64)
    ✔ webkit2gtk-4.1: 2.44.2
    ✔ rsvg2: 2.52.5
    ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
    ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
    - node: 18.18.0
    - pnpm: 9.9.0
    - yarn: 1.22.19
    - npm: 9.8.1

[-] Packages
    - tauri 🦀: 2.0.1
    - tauri-build 🦀: 2.0.1
    - wry 🦀: 0.44.1
    - tao 🦀: 0.30.3
    - @tauri-apps/api : 2.0.1
    - @tauri-apps/cli : 2.0.1

[-] Plugins
    - tauri-plugin-shell 🦀: 2.0.1
    - @tauri-apps/plugin-shell : 2.0.0

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - bundler: Vite

Stack trace
No response
Additional context
No response

It seems that this issue is caused by Tauri v2 using webkit2gtk 4.1, while Tauri v1 uses webkit2gtk 4.0, so it doesn't have this problem.
Perhaps I should open another issue over at wry regarding this.

Experiencing the same, apparently

I think I'm having a similar issue in MacOS, though I'm not exactly sure.
in dev mode, when I try to reach a video, I get the following error:
"Failed to load resource: the server responded with a status of 500 (Internal Server Error) blablavideodress.mp4"
But this is not the case in the production app! When I try to open the app in production mode, apple asks me "do you trust this app bla bla" and the video appears on the front end in the end.
Note that, this never happens on the Windows side. in Windows, everything is working very well both in production/dev mode.
Note 2: I m in v2.0
this is my permissions:
{
  "identifier": "migrated",
  "description": "Permissions that were migrated from v1 and additional required permissions",
  "local": true,
  "windows": [
    "main"
  ],
  "permissions": [
    "core:default",
    "os:default",
    "dialog:default",
    "dialog:allow-open",
    "dialog:allow-save",
    "dialog:allow-ask",
    "dialog:allow-message",
    "fs:allow-remove",
    "fs:allow-read-dir",
    "fs:allow-read-text-file",
    "fs:allow-app-write",
    "process:default",
    "shell:default",
    "log:default"
  ]
}

Was glad when I saw the option to set a proxy on the window, but it seems proxies with authentication don't work?(
.proxy_url(Url::parse("http://user:pass@IP:PORT").unwrap())
It seems even without authentication it doesn't work, not even a request comes to the proxy
.proxy_url(Url::parse("http://<IP_ADDRESS>:58846").unwrap())


OpenApi fixes

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

@Rens-Braspenning Checking in on things regarding the conflict resolution. Any questions we could help with?


Customising the actionBarButtonItem and closeBarButtonItem via subclassing the PhotosViewController

I was trying to override the actionBarButtonItem and closeBarButtonItem (just for the look and feel) via subclassing the PhotosViewController.  The Swift compiler have this warning "Overriding non-open var outside of its defining module". To get this working, I have to change the method declaration from public to open. I wonder if this the only option for just changing the look and feel.

Hi @deepmode, thanks for the report. All exposed overrideable variables should have the ‘open’ qualifier. If they don’t, it’s a mistake on my part. I can fix this later today and push out a new release.

Fixed in: 51073b36564813b96dd275a56241bbf629c0f156

Thanks!


Reimplement auditing

Now that most of the database refactoring is done, it's now necessary to ensure that all operations write something to the audit log.

Also, switch to the HSTORE design from northpike.

All operations that change the database are now audited. There currently isn't any way to fetch audit records.

Done.


initial commit of jenkins.template

lgtm if you can reformat to make syntax more terse and human readable


README format error

@enddo Please check the project readme file.

Table of Contents

Windows stack overflows
Windows heap overflows
Kernel based Windows overflows
Windows Kernel Memory Corruption
Return Oriented Programming
Windows memory protections
Bypassing filter and protections
Typical windows exploits
Exploit development tutorial series

Corelan Team
Fuzzysecurity
Securitysift
Whitehatters Academy
TheSprawl
Expdev-Kiuhnm

Tools

## Windows stack overflows
*Stack Base Overflow Articles.*
+ [Win32 Buffer Overflows (Location, Exploitation and Prevention)](http://www.phrack.com/issues.html?issue=55&id=15#article) - by Dark spyrit [1999]
+ [Writing Stack Based Overflows on Windows](http://www.packetstormsecurity.org/papers/win/) - by Nish Bhalla’s [2005]
+ [Stack Smashing as of Today](https://www.blackhat.com/presentations/bh-europe-09/Fritsch/Blackhat-Europe-2009-Fritsch-Bypassing-aslr-slides.pdf) - by Hagen Fritsch [2009]
+ [SMASHING C++ VPTRS](http://phrack.org/issues/56/8.html) - by rix [2000]


build libmysql in mac is successful,but in centos all  failed ,because of  BGL and  icu

HI:
when I install  libmysql package with vcpkg ,on  mac  is  build successfully final ,but also meet so many failed try times,  on centos7 ,use vcpkg install libmysql ,straightly failed , cannot install, meet  icu4c-71_1-src.tgz    * icu[core]:x64-linux -> 71.1 and  Boost Graph Library  boostorg-graph-boost-1.80.0.tar.gz  not found.
thanks

Thanks for posting this issue. Please provide the error log file. Did you install it on the latest vcpkg?

Thanks for posting this issue. Please provide the error log file. Did you install it on the latest vcpkg?

yeah,the lastest vcpkg is install

Please provide the error log file.

We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info.

Thanks for posting this issue. Please reopen this issue if this is still a problem for you.

Hi ,Now  I have clear the linux disk,can not find the log, in my opinion , the error should  be remeet by  all the linux  environment, We need to deal with  the execute-logical of  vcpkg install dependency packages, you can try any linux  machine  to execute the command  [vcpkg install libmysql ] ,will meet the same error

I can't reproduce this issue. I use the Ubuntu, this is my output log:
Elapsed time to handle libmysql:x64-linux: 7.855 min
Total elapsed time: 24.32 min

The package libmysql provides CMake targets:

    find_package(libmysql REQUIRED)
    target_link_libraries(main PRIVATE ${MYSQL_LIBRARIES})

I can't reproduce this issue. I use the Ubuntu, this is my output log:
Elapsed time to handle libmysql:x64-linux: 7.855 min
Total elapsed time: 24.32 min

The package libmysql provides CMake targets:

    find_package(libmysql REQUIRED)
    target_link_libraries(main PRIVATE ${MYSQL_LIBRARIES})

please try to use centos7

I can't reproduce this issue. I use the Ubuntu, this is my output log:
Elapsed time to handle libmysql:x64-linux: 7.855 min
Total elapsed time: 24.32 min

The package libmysql provides CMake targets:

    find_package(libmysql REQUIRED)
    target_link_libraries(main PRIVATE ${MYSQL_LIBRARIES})

please try to use centos7

I don't have centos machine, I will reopen this issue. Maybe someone have idea about this issue.

Thanks for posting this issue. Please reopen this issue if this is still a problem for you.


Manifest does not include files referenced in included twig templates

If a twig template includes another template, and the included template calls webpack_asset with an image reference, that file is not included in the manifest and will throw an exception during rendering:
An exception has been thrown during the rendering of a template ("No information in manifest for @app/file-that-exists.png (key file-that-exists-{file-hash}). Is maba:webpack:dev-server running in the background?").

E.g.,
{# template.html.twig #}
{% block content %}
    {{ 'welcome.welcome_message'|trans }}
    {% include 'sponsors.html.twig' %}
{% endblock %}

{# sponsors.html.twig #}

<img src="{{<EMAIL_ADDRESS>}}" alt="Foo">

<img src="{{<EMAIL_ADDRESS>}}" alt="Bar">

Testing the same call to webpack_asset directly in a primary template and not an included partial, it works (showing this is not a case of an erroneous path). Incidentally, if you previously include the same image and it is already in the manifest, loading the image in an included twig template works fine, but that is not practical.
I have not tested loading other asset types besides images, but I'd imagine using images inside an included partial twig template is a common use case for the sake of re-use, organization, and keeping templates slim.

Actually, include tags are not parsed. Bundle just scans configured directories for *.twig files, parses them and processes webpack_asset function calls.
So, probably your included twig file is in some different directory, which is not scanned for twig templates. Could that be the case?
Do you have enabled_bundles or twig.additional_directories configured in config.yml?

The partial template I experienced this with was directly in my AppBundle's Resources/views/ directory and not in a subdirectory or another directory.
I do not have enabled_bundles or twig.additional_directories configured, but I can verify in my var/cache/dev/appDevDebugProjectContainer.xml file that my actual collection of enabled_bundles includes my AppBundle. Other twig files (including sibling twig files in the filepath) in my AppBundle have assets added to the manifest when webpack_asset is called.

I figured out my issue - the bundle was globbing for twig templates expecting the .twig extension, but some of my partials omitted the extension (e.g. partial.html instead of partial.html.twig). I tried checking that before, but I must have not cleared the app cache fully before troubleshooting other possibilities.
Once I changed my partial to {name}.html.twig, it worked perfectly. Thanks!


[Suggestion] "Save to Noto" without having to open it

I suggest that you make the function of the "Save to Noto" option that appears in the text selection bar is to save but without the need to open Noto (I mean save in the background), and that the text is saved in the " General" folder by default, I was using an application that includes this feature  And I loved sharing the idea with you, I see it as an easy, fast and useful way to share texts with Noto and you only need one click!.
As for the current method, which requires choosing the save folder every time, it can be adopted with the application icon when using the “Share” option.
What's your opinion?

Great suggestion.

How do you think the setting should be named?

I think the current name is appropriate for that

You mean "Save to Noto"?

Yes

Don't you think it's a bit ambiguous?

Well give me some time, until I find a suitable name

What do you think of these two names?
Collection to Noto
QuickNoto

I think Quick Note is good. I'll also add a description explaining it.

How do you the user should be notified about the note being saved? I tried with showing a Toast, but then switched to showing a notification as I think it's better and more useful as you can click on it and it directs you to the note.

Now there are few options on how notification can be used:

notification can stay in the notification panel or it can have a timeout; Disappears after like 10 seconds or so.
notification can vibrate or make a sound.

What do you think is the best configuration?

I prefer showing a Toast for only 1 second, just pick up useful articles along the way and without interruption, to read and organize them later

Notifications can have a timeout, just like a toast. In addition, they can be clicked to direct you to the saved note.

Plus, they can be silent and do not vibrate.

No please, I don't see any difference between the current method and the sharing method except that it is restricted to a specific folder

Like, do you want to be other differences or what?

I meant that the method you proposed to me would be a kind of duplicate of the sharing method, we only need one click and it's all over

You mean notifications method? If so, with sharing you'd be directed immediately to the note with editing mode, and there are no notifications at all.

I meant to click on the notification that directs me to the note, in general this method can be useful for others, it is okay to implement it :)

I've made it to only show the notification for 5 seconds, and then it disappears. There are no sounds or vibrations.

Don't you see that five seconds is a lot? It might make the notification a little annoying

Actually, 5 seconds is the default time it takes by the system showing the notification.

There will be a beta releases moving forward, so you can test it before it gets released.

Very nice work, but I think changing the phrase "Save to Noto" in the text selection options to (Quick Note) would be more clear and consistent.

I agree it's more consistent, however, it might be a little ambiguous, since it doesn't mention the app. But, I'm going to rename as you suggested.
The text position depends on the text itself. Meaning, if the text contains an empty line (space) between two texts, then the first one is going to be the title, and the second one is going to be the body.
Try copying this text for example.


Trunk

Coverage increased (+3.8%) to 53.271% when pulling 822ea2a50f3655b13981b89138d4acdefbdacba8 on trunk into e664f75fe8ba02b3df72c2974458a170fbae2ea6 on master.


Notebook to run the model on Snellius and CRIB

In this PR, we show the user how to launch the model (incl. preprocessing and postprocessing) in a jupyter notebook.
The whole workflow is executed using python and all the required packages are listed in a environment.yml file.
The execution of the model includes following steps:

[x] create exe file
[x] update/set config files
[x] create input directories, prepare input files
[x] run the model
[ ] create output directories, prepare output files

Hi @SarahAlidoost , the notebook is almost done, except that when I try to run the model it throws an error:
Not enough input arguments.

Error in STEMMUS_SCOPE_exe (line 8)

MATLAB:minrhs

I think this seems to be relevant with the executable. Do you have any clue what is happening there? You can check the error message in the notebook. (btw, it seems the subprocess.run(["export", "MATLAB_LOG_DIR=../out"], shell=True) generates many lines of messages and it is not working yet...I will fix it later.)

Note that the matlab modules must be loaded in run_jupyter_on_compute_node.sh. I tried to execute following codes in the notebook but the second line will give an error.
module load 2021
module load MCR/R2021a.3

We may as well find a better solution for it, or maybe add some explanations in the readme.md. I made an issue #2 for it. We can discuss it later.

Note that the matlab modules must be loaded in run_jupyter_on_compute_node.sh. I tried to execute following codes in the notebook but the second line will give an error.
module load 2021
module load MCR/R2021a.3

We may as well find a better solution for it, or maybe add some explanations in the readme.md. I made an issue #2 for it. We can discuss it later.

Yes, those commands can be added to the bash script run_jupyter_on_compute_node.sh. Please also add the bash script to this PR, thanks.

Hi @SarahAlidoost , the notebook is almost done, except that when I try to run the model it throws an error:
Not enough input arguments.

Error in STEMMUS_SCOPE_exe (line 8)

MATLAB:minrhs

I think this seems to be relevant with the executable. Do you have any clue what is happening there? You can check the error message in the notebook. (btw, it seems the subprocess.run(["export", "MATLAB_LOG_DIR=../out"], shell=True) generates many lines of messages and it is not working yet...I will fix it later.)

@geek-yang thanks, STEMMUS_SCOPE executable file needs the config file as its input argument. It seems that the current syntax in subprocess i.e. (["exe/STEMMUS_SCOPE", path_to_config]) does not work. We can put everything in one string variable as: [f"exe/STEMMUS_SCOPE {path_to_config}"]. This will fix the problem. Also, I found another issue in the function input_dir in the section # update config file for ForcingFileName and InputPath where:
elif i == "InputPath":
         f.write(i + "=" + str(work_dir) + "\n")

The paths in config file should end with "/". So this line needs a fix as f.write(i + "=" + str(work_dir) + "/" + "\n"). When the PR is ready, I will review the whole notebook.

Thanks for your comment @SarahAlidoost ! It works and now the execution is fixed. 😄 And thanks for spotting the missing '/' as well.

Note that the matlab modules must be loaded in run_jupyter_on_compute_node.sh. I tried to execute following codes in the notebook but the second line will give an error.
module load 2021
module load MCR/R2021a.3

We may as well find a better solution for it, or maybe add some explanations in the readme.md. I made an issue #2 for it. We can discuss it later.

Yes, those commands can be added to the bash script run_jupyter_on_compute_node.sh. Please also add the bash script to this PR, thanks.

Thanks for your reply. I have added the run_jupyter_on_compute_node.sh to the repo now.

@geek-yang great job on the notebook, thanks a lot. :+1: I added my comments on the notebook, see the NBreview version here.  We can talk more about it tomorrow :)

@geek-yang many thanks for the nice work. when I tried the notebook on my local system, I got an error related to the executable file. This can be fixed in another pull request. For now, let,s merge this one :)

Thanks for your comment @SarahAlidoost . Maybe you can create an issue for the error you got? There is an issue about #3 mcc. If the error you have also relates to the mcc, you can consider leave your comment there as well. Thanks again 😸 .


Google Analytics 4?

Hello there.
With GA4 only a few months away, will this plugin be ready to work with the new Google Analytics system?

It has already been working for a few years now:

Did you try?


feat!: rewrite and add @npmcli/template-oss

BREAKING CHANGE: breaking changes:

the packages is now compatible with the following semver range for
node: ^14.17.0 || ^16.13.0 || >=18.0.0
the callback option has been removed from the async method. it will
now only return a promise

Closing in favor of https://github.com/npm/fs/pull/62