Unable to connect to dev tunnel

when trying to connect to dev tunnel, i get an Exception...  this happens on several computers.
HTTP: PUT https://euw.rel.tunnels.api.visualstudio.com/tunnels/amusing-pond-pc4n3qt/endpoints/84254436-e1fe-4066-bba7-fe7a41f07947-relay?api-version=2023-09-27-preview&connectionMode=TunnelRelay
HTTP: Authorization: github
HTTP: User-Agent: Dev-Tunnels-Service-CLI/1.0.1160+d54aaf0b07
HTTP: User-Agent: (OS:Microsoft Windows 10.0.19045)
HTTP: User-Agent: Dev-Tunnels-Service-CSharp-SDK/1.1.7+869adcec1c
HTTP: {
"id": "84254436-e1fe-4066-bba7-fe7a41f07947-relay",
"connectionMode": "TunnelRelay",
"hostId": "84254436-e1fe-4066-bba7-fe7a41f07947",
"hostPublicKeys": [
---deleted by me---
]
}
HTTP: DELETE https://euw.rel.tunnels.api.visualstudio.com/tunnels/amusing-pond-pc4n3qt?api-version=2023-09-27-preview
HTTP: Authorization: github
HTTP: User-Agent: Dev-Tunnels-Service-CLI/1.0.1160+d54aaf0b07
HTTP: User-Agent: (OS:Microsoft Windows 10.0.19045)
HTTP: User-Agent: Dev-Tunnels-Service-CSharp-SDK/1.1.7+869adcec1c
Unhandled exception: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken , ExceptionDispatchInfo )
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions )
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter , Boolean , Byte[] , Boolean )
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions , HttpRequestMessage , Boolean , Stream , CancellationToken )
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions , HttpRequestMessage , Boolean , Stream , CancellationToken )
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage , Boolean , CancellationToken )
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage , Boolean , CancellationToken )
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage )
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken )
at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage , Boolean , CancellationToken )
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage , Boolean , Boolean , CancellationToken )
at Microsoft.DevTunnels.Cli.Options.TracingHttpHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellation) in /__w/1/s/src/Tunnel/Src/CLI/Options/TracingHttpHandler.cs:line 42
at Microsoft.DevTunnels.Management.FollowRedirectsHttpHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellation)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage , HttpCompletionOption , CancellationTokenSource , Boolean , CancellationTokenSource , CancellationToken )
at Microsoft.DevTunnels.Management.TunnelManagementClient.SendRequestAsync[TRequest,TResult](HttpMethod method, Uri uri, TunnelRequestOptions options, AuthenticationHeaderValue authHeader, TRequest body, CancellationToken cancellation)
at Microsoft.DevTunnels.Management.TunnelManagementClient.SendTunnelRequestAsync[TRequest,TResult](HttpMethod method, Tunnel tunnel, String[] accessTokenScopes, String path, String query, TunnelRequestOptions options, TRequest body, CancellationToken cancellation, Boolean isCreate)
at Microsoft.DevTunnels.Management.TunnelManagementClient.DeleteTunnelAsync(Tunnel tunnel, TunnelRequestOptions options, CancellationToken cancellation)
at Microsoft.DevTunnels.Cli.Commands.HostCommand.HostAsync(UInt16[] portNumbers, String protocol, String sshUser, TunnelCommandOptions options, CancellationToken cancellation) in /__w/1/s/src/Tunnel/Src/CLI/Commands/HostCommand.cs:line 434

This can sometimes happen due to proxies blocking access.
Please verify that you can visit https://global.rel.tunnels.api.visualstudio.com/api/v1/clusters from your devices and that you do not see an error page.
The full list of domains that are required can be found at:
https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/security#domains

This can sometimes happen due to proxies blocking access. Please verify that you can visit https://global.rel.tunnels.api.visualstudio.com/api/v1/clusters from your devices and that you do not see an error page.
The full list of domains that are required can be found at: https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/security#domains

I will check that out on Monday. if it is a proxy blocking, what can I do to solve it? The computers are in a Lab at my High School where I work. is it a FIREWALL rule that needs to be set? or something I need to do on the specific computer level?

This can sometimes happen due to proxies blocking access. Please verify that you can visit https://global.rel.tunnels.api.visualstudio.com/api/v1/clusters from your devices and that you do not see an error page.
The full list of domains that are required can be found at: https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/security#domains

I checked and was able to access https://global.rel.tunnels.api.visualstudio.com/api/v1/clusters from all problematic computers but still receive the same error when trying to connect

Under normal conditions, the certificates should have "Microsoft Corporation" as the organization and the certificate chain should be trusted by your device.
However, your logs have the following error: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot
This indicates that the certificate chain is being modified by something on the network.

@derekbekoe this is a school network. some computers in the lab don't have this error and some have. So what should I say to IT? do you have any idea how do I identify the issue and have it resolved?

I would suggest referencing the error message The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot.
This article may help https://techcommunity.microsoft.com/t5/iis-support-blog/checking-the-certificate-trust-chain-for-an-https-endpoint/ba-p/1616682.


bugfix: remove empty superparticles (multiplicity of 0) in binned int…

bugfix: remove empty superparticles (multiplicity of 0) in binned interface

Thank you for your contribution. I adopted your modification.


Optimize the layout of Entry for ZSTs

This PR optimizes the layout of Entry to allow the discriminator to be embedded in the Vacant field. This makes Slab better to use for ZSTs.
ZSTs permits using Slab as a recyclable ID allocator without wasting the extra space for the discriminator:
let mut slab = Slab::<()>::new();

let id1 = slab.insert(());
let id2 = slab.insert(());
slab.remove(id1);
let id3 = slab.insert(()); // re-use of `id1`

This also means that the size of Entry<T> should always be optimizable mem::size_of::<T>() + mem::size_of::<usize>() with alignment.
Note that this does strictly speaking break public API, since it only allows for inserting std::usize::MAX - 1 entries instead of std::usize::MAX.

Note that this does strictly speaking break public API, since it only allows for inserting std::usize::MAX - 1 entries instead of std::usize::MAX.

I think this is fine, because the length of Vec will not be larger than isize::MAX / size_of::<T>.
https://doc.rust-lang.org/nightly/alloc/vec/index.html

Vectors ensure they never allocate more than isize::MAX bytes.


style: Long property pills are very, very long

Property pills can get way out of control when there's a lengthy spell component description.
Consider some options for controlling that better, whether it is

Truncate with ellipses + tooltip
Encourage word-wrap
Other?

The fix has been released.


Issue/4181 refactor query manager (#4190)

Pull request opened by the merge tool on behalf of #4190

Merged in 1e71e2e6a0b8079513a4944f91adee6ba2a35208


Remove PDFPageProxy.getJSActions caching, since it's unused, in the API

Note how, in the scripting initialization in the viewer, we only ever invoke PDFPageProxy.getJSActions once per page in order to improve overall performance; see https://github.com/mozilla/pdf.js/blob/a575aa13b9e4ce7e671be7794e7a7296406a3087/web/pdf_scripting_manager.js#L372-L375
Hence it really shouldn't be necessary to cache its result in the API, especially when that is done manually rather than using something like shadow.

/botio unittest

/botio integrationtest


SQLite support for columns with name 'values'

SQLite
failing sql:
CREATE TABLE Option (
    id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
    values TEXT AS List<String> NOT NULL
);

values overlaps with VALUES syntax in SQLite, but testing against a raw SQLite database and I am able to use values as a column name.

We're just more strict here because we're running a full parser, if you want to use this as the column name you can do
`values` TEXT


added easiest way to add package into Unity Package Manager

@Siccity any updates? What do you think about this change?


Added support for latest SDKs

Description
This updates the web demo application to use the latest standalone Maps, Places and Routes APIs, as well as the latest Auth SDK.

Closing this in favor of: https://github.com/aws-geospatial/amazon-location-features-demo-web/pull/272


License

Hi,
We are trying to use Puppeteer library for PDF generation which has a dependency on proxy-from-env. Our company requires License information for software approval. I see that package.json mentions MIT license. But there is no explicit license file or details as its usually mentioned in node libraries. Wondering if its possible to upload a license file.
thanks
Parvathi

I repeat here - this package is published under the MIT license.

@Rob--W Just to try to explain: the  "license": "MIT" in the package.json is similar to a forward-declaration as far as lawyers are concerned.  It declares that the MIT license should be expected. The LICENSE file is the value that satisfies the declaration.
The procedure of using the LICENSE file as the standard location for the open source license has been worked out over a long period of time. Software tools have been built to verify this file. It's like a standard protocol for communicating with lawyers.
I hope this explains PR #7.


Running on raw log data

Is proposed solution intended to work on raw log data?

@mykolav95 @vanhoanglepsa
How to test on raw log and how to produce output in meaningful manner not like just accuracy mentioned?

Dear @mykolav95
How we can generate a label data that contain timestamp, severit and content?. We have raw log data so how we can process it?

@khawar-islam I might be absolutly wrong then. Can you help me run the model on raw data?

Hi @khawar-islam , @mykolav95
LogPPT can work on both raw log data and semi-structured log data (with log headers).
Please refer to this to define the header for log data.
If your log data doesn't contain any header, just set log_format = "<Content>".

Hi @vanhoanglepsa
Can you describe how to use it? Like what code to keep and what to get rid of

@sxj19980519 could you provide some examples of your data? basically, you will need to define header fields and some pair of (log content, log template) to run LogPPT.

@sxj19980519 could you provide some examples of your data? basically, you will need to define header fields and some pair of (log content, log template) to run LogPPT.

Thank you for your reply,I have alread solved this problem.But when I switch model from roberta to Bert.The terminal report “RuntimeError: The size of tensor a (1576) must match the size of tensor b (512) at non-singleton dimension 1”.And I found some special long logs casued this problem.
For example, data with an index of 1580 in the dataset(HDFS_2k.log_structured)

@sxj19980519 would you please provide the way that you solved the problem, I am trying to run it on my own raw log file but it does not work because I do not have the labeled data

@sxj19980519 would you please provide the way that you solved the problem, I am trying to run it on my own raw log file but it does not work because I do not have the labeled data

Could you resolve the problem?
I have raw data, but for running the fewshot sampling, it required already structured or parsed data. I don't see the purpose for using another log parsing method if LogPPT is esentially made for log parsing :?

@vanhoanglepsa Hi Van, could you give response on how to create the structured and structured_corrected csv files?


remove obsolete url pattern usage for less then django 1.8

Coverage increased (+0.4%) to 91.27% when pulling 2e6e760ae476521bc6316ca9c69fd1dbcc141bbe on auvipy:url into 6607cbbadb93e61aabf59c47782bb744de89798f on justquick:master.


Add Search API

Reference: https://cmr.earthdata.nasa.gov/search/site/docs/search/api.html
Resources to support:

[x] GET /collections
[ ] POST /collections
[ ] GET /granules
[x] GET /concepts/:concept-id
[ ] GET /concepts/:concept-id/:revision-id
[ ] GET /humanizers
[ ] PUT /humanizers
[ ] GET /humanizers/report
[ ] GET /tiles
[ ] GET /tags
[ ] GET /tags/:tag-id
[ ] PUT /tags/:tag-id
[ ] DELETE /tags/:tag-id
[ ] POST /tags/:tag-id/associations
[ ] DELETE /tags/:tag-id/associations
[ ] POST /tags/:tag-id/associations/by_query
[ ] DELETE /tags/:tag-id/associations/by_query
[ ] GET /variables
[x] POST /variables/:variable-id/associations
[ ] DELETE /variables/:variable-id/associations
[ ] GET /community-usage-metrics
[ ] PUT /community-usage-metrics
[ ] POST /clear-cache
[ ] POST /reset
[ ] GET /caches
[ ] GET /caches/:cache-name
[ ] GET /caches/:cache-name/:cache-key
[ ] GET /health

Hi @oubiwann, this is my first try on clojure. I've a question from your document. Which command I should run to access http://localhost:3449/dev.html. I alredy had lein installed in my laptop. Thanks

@pangaunn I think the command is lein figwheel. I'm also trying to set up the development environment. It seems to me running CMR locally is another prerequisite.


—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

that's really weird, it should work out of the box.

I have encountered the same problem. Have you solved it

for iteration, (images, targets, _) in enumerate(data_loader[0], start_iter):


Use VueRemark programmaticaly

Hey all! 👋
Summary
I'd like to know if it's possible to use vue-remark to inject processed markdown (MDX) into the data layer.
I tried to do the following:
{
  use: '@gridsome/vue-remark',
  options: {
    typeName: 'Partial',
    baseDir: './content/partials',
    plugins: [
      ['gridsome-plugin-remark-shiki', { theme: 'nord', skipInline: true }]
    ]
  }
}

The issue in this example is:

It creates a page automatically with the ID of any "partials"
The content added in the data layer isn't processed

Basic example
What I'd like to do is be able to query those in any page and place them whereever I want using any kind of component (since VueRemarkContent can only be used in a template).
Given the following query:
<page-query>
query {
  showCaseTabs: partial(id: "show-case-tabs") {
    content
  }
}
</page-query>

I'd like to be able to display the content of this "partial" with the following:
<VueRemark :content="$page.showCaseTabs.content" />

Currently, $page.showCaseTabs.content contains the content of the file and it hasn't been processed.

Yes, it would be very nice to be able to display content like that :)
We have actually been experimenting with GraphQL schema extensions to process Vue in markdown. The idea is that you would use the filesystem source plugin instead, and then process content or any other field with the extension. Check out this readme for a more detailed explanation about how it would be done. What do you think about the schema extension approach?

This seems like a good start and I like the idea.
How could it also work with markdown processing?
My goal is to avoid to duplicated the configuration, otherwise I could simply add Remark (& plugins) and use a VueComponent to compute it.

Not sure if I fully understood your needs, but if you have the pre-processed markdown content on your pages, you could use a filter to generate the render-ready HTML like this:
// main.js
import marked from 'marked'
Vue.filter('markdown', (string) => marked(string))

<!-- component.vue -->
<div v-html="$options.filters.markdown(description)" />

@hacknug your suggestion is very cool, great to know you can renderer markdown so simply!
But I believe this sidesteps Vue-Remark entirely, which would not process any Vue components or imports if they are in the source file. It would be useful to be able to render markdown content that has this structure.


Feature Request: Expose Consumer Group Member UserData

For Example,  Add  Config.Group.Member.UserData []byte and propagate with JoinGroup requests.
The Kafka protocol appears to allow consumer group members to provide 'user data' for partition assignment balancing protocols.  This user- data is shared with the balancer, which is selected from one of the members of the consumer group. The balancer then allocates partitions to the group members, possibly based on the user-data.
Even though the current sarama-cluster balancer implementation does not act on user-data it provides value to external tools:  E.g. external routing of a web request to a specific partition-owner in consumer group (if the user data contained http host:port info).
External tools could extract this info from the broker without joining the group by something like:
client, err := scluster.NewClient(...)
broker, err := client.Coordinator(groupName)
req := &sarama.DescribeGroupsRequest{Groups: []string{groupName}}
resp, err := broker.DescribeGroups(req)
groupDesc := resp.Groups[0]

Not sure how one would watch for changes to the partition assignments without being part of the consumer group though.  In a reasonably stable environment this may not be too bad so long as there is a fall back for routing (e.g. a redirect).

Sounds like a good idea, but could you please submit a PR?

Sure, I'll try to get to it in the next few weeks.

Closing for now, please re-open as a PR


Remove var, prefer const or let

I saw you were using const in some places so I removed every instance of var and replaced it with const or let.
I'm using eslint to do a lot of these refactoring. Maybe we could do over what would be a good configuration for you and also possible formatting if that interest you.
I tested locally and everything seems to work.

Setting up a project eslint configuration is a good idea and may help working together on the code. I'm open to suggestions. I'm also going to setup a Discord server as you suggested, so we may discuss about details outside pull requests.


How to define custom infix operators?

Can I use Sweet e.g. to define a macro supporting equals operator (see https://github.com/fantasyland/fantasy-land#setoid) to be used as
a equals b

instead of the bulkier JS native way
a.equals(b)

Motivation
Mathematically speaking (I am a professional mathematician),
the equivalence relation is fundamentally an infix operator,
which is unnatural to be attached as method to one of the sides,
especially when closely related infix operators like == are already part of the language.

This is on the roadmap. See #517.

@disnet Can you reopen this? I'd prefer to keep a general design discussion about infix macros out #517.

@gabejohnson this request was for custom operators (the subject of #517) not infix macros.

@disnet so it was. My mistake.


After Magento 2.4.4 upgrade, Error : Signature method HMAC-SHA1 is not supported

Can not Login or Create account using the API ,we got this Error "Signature method HMAC-SHA1 is not supported"
The Signature method needs to be changed with HMAC-SHA256
file : lib/rest_client.js

@zfaty using my fork as a workaround at the moment: https://github.com/MEEVO-Healthcare-GmbH/magento2-rest-client

Solved in #40 by @zfaty


add CI

Thanks @bendichter
Any idea why the action is not triggered?

All seem active. I'll try to merge to main to see if it's triggered

Ok it does run on main! But the action only includes the install, and not the actual validation :)


[Manual] Revert Add bwcVersion 2.5.0

Description
In the middle of getting ready for the 2.4.0 release our backward compatibility tests for security started failing, which looks to be related to this change.
Reverting this commit to unblock pull request checks in to main.
How we can stage changes like this before the 2.5.0 build is ready, or do we need to careful make these changes when main branches won't be impacted?
Signed-off-by: Peter Nied<EMAIL_ADDRESS>Issues Resolved

Related https://github.com/opensearch-project/OpenSearch/issues/5076
Resolves https://github.com/opensearch-project/security/issues/2221

Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X] Commits are signed per the DCO using --signoff
[X] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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

@kotwanikunal @VachaShah would you be able to take a look?

My understanding is that this version has to match the version that is built by the OpenSearch/2.x branch, or else the backward compatibility tests in OpenSearch will fail. @VachaShah Can you weigh in here?

My understanding is that this version has to match the version that is built by the OpenSearch/2.x branch, or else the backward compatibility tests in OpenSearch will fail. @VachaShah Can you weigh in here?

+1 on this. It has to stay consistent AFAIK.

This doesn't feel right. @peternied says that security repo is running 2.4.0 -> 3.0.0 BWC tests, when 3.0.0 was updated to 2.5.0 security repro broke with: java.lang.IllegalStateException: Received message from unsupported version: [2.4.0] minimal compatible version is: [2.5.0]. I think this is expected, the idea is that only latest 2.x will be upgradable to 3.0 when that ships, and this is what we're seeing now since 2.5 is a new thing that will exist.
@nknize Is this something we still want? Should we relax it? How do we deal with this in plugins?

Happy to abandon this change if there are other fixes to unblock the security.

Execution failed for task ':distribution:bwc:minor:buildBwcLinuxTar'.
> Building 2.4.0 didn't generate expected file /var/jenkins/workspace/gradle-check/search/distribution/bwc/minor/build/bwc/checkout-2.x/distribution/archives/linux-tar/build/distributions/opensearch-min-2.4.0-SNAPSHOT-linux-x64.tar.gz

Looks like other dependent changes are already in, I'm guessing a revert is no longer possible without involving many branches.

I'm closing out this pull request since it will not be merged, it looks like the root cause has been found and is being worked on.  Moving forward seems like like the correct path.

https://github.com/opensearch-project/opensearch-build/issues/2854

FYI I've captured @dblock question into a new OpenSearch issue for further consideration

https://github.com/opensearch-project/OpenSearch/issues/5091


feat: Enrich quorum listextended rpc reply

Issue being fixed or feature implemented

What was done?

Added the fields numValidMembers and healthRation in quorum listextended RPC reply, as we need a quick way to see the health of all quorums with a single command.
healthRation range is [0.0 - 1.0]
Note: The decision to include both fields was taken because we need cover the case where a quorum was created with minSize members but all of them were valid.
How Has This Been Tested?

Breaking Changes

Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation

For repository code-owners and collaborators only

[ ] I have assigned this pull request to a milestone

@PastaPastaPasta Again, this is not a breaking change since this RPC was never released yet.


Korean translation

The translation is now included in Syncplay 1.7.0 RC 1: https://syncplay.pl/syncplay-1-7-0-release-candidate-1/


cloudstack-agent-<IP_ADDRESS>  run error  ，Unable to find the guid

[root@cloudstack ~]# /usr/bin/java -Djava.io.tmpdir=/usr/share/cloudstack-agent/tmp -Xms256m -Xmx2048m -cp /usr/share/cloudstack-agent/lib/:/usr/share/cloudstack-agent/plugins/:/etc/cloudstack/agent:/usr/share/cloudstack-common/scripts com.cloud.agent.AgentShell
log4j:WARN No appenders could be found for logger (com.cloud.agent.AgentShell).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
INFO  [cloud.agent.AgentShell] (main:) (logid:) Agent started
INFO  [cloud.agent.AgentShell] (main:) (logid:) Implementation Version is <IP_ADDRESS>
INFO  [cloud.agent.AgentShell] (main:) (logid:) agent.properties found at /etc/cloudstack/agent/agent.properties
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Unable to find the guid
[root@cloud ~]# cat  /etc/cloudstack/agent/agent.properties | grep -v '#'
guid=
resource=com.cloud.hypervisor.kvm.resource.LibvirtComputingResource
workers=5
host=localhost
port=8250
cluster=default
pod=default
zone=default
local.storage.uuid=
domr.scripts.dir=scripts/network/domr/kvm
hypervisor.type=kvm
iscsi.session.cleanup.enabled=false
[root@cloudstack ~]#
how can i resolve this problem？thank you very much ！！

@JustUse , the text "Unable to find the guid" occurs only in exceptions that should be logged more extensively to see the stacktrace. Could you edit the log4j.xml file to up the loglevel, please?
Did you start the agent with that command or use the initscript (or add it in cloudstack first)?

@JustUse , the text "Unable to find the guid" occurs only in exceptions that should be logged more extensively to see the stacktrace. Could you edit the log4j.xml file to up the loglevel, please?
Did you start the agent with that command or use the initscript (or add it in cloudstack first)?

hi，i found that when  running cloudstack-agent.service and failed in two seconds. is it need to initscript ?  how can i initscript  this?

@JustUse , the text "Unable to find the guid" occurs only in exceptions that should be logged more extensively to see the stacktrace. Could you edit the log4j.xml file to up the loglevel, please?
Did you start the agent with that command or use the initscript (or add it in cloudstack first)?

sed -i 's/INFO/DEBUG/g' /etc/cloudstack/agent/log4j-cloud.xml
[(https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+agent+debug)]

@JustUse the field
guid=

should have a value in the agent properties file. Did you add the host to cloudstack?
I am not sure, but I think  you can make one up and start it.


Other layouts possible?

I was wondering how much it'd be to have more the option for more than one layout. Your software looks good, and I rather not redo the work to get my preferred layout working.
Specifically, I was thinking of this: https://www.le-nouveau-clavier.fr/english/#1a-new-evolution-of-the-keyboard-is-still-possible-or-the-grand-return-of-the-symmetrical-piano
So it's two whole tone scales, the bottom one starting at c and the top starting at c#. The resulting layout is isomorphic. Given that there are 8 rows in the linnstrument, this pattern could be repeated four times on top of each other, shifted by 2 octaves each time, so there's no overlap. This arrangement would cover 8 octaves in the 200 model. So it'd be like having four pianos stacked on top of each other, with the benefit of an isomorphic layout. The layouts could be shifted by one octave as well, so that octaves are two squares above.
To be honest, I find all the layouts I've seen so far deficient due to the ergonomics of the linnstrument. Anything that requires a lot of vertical movement is going against the natural angles of the wrists. Not an issue if one could hold it like a guitar, which I've tried but is not exactly ergonomic either. And I own an eight-string guitar also tuned in fourths like my linnstrument, and it's a world of difference. So I am wondering if this layout could be an answer to have a more horizontal way of playing while keeping the isomorphic properties of the linnstrument. The main disadvantage mentioned in the article is getting lost due to the symmetry, but this issue is not an issue with the linnstrument because of the LED lights.

Yeah multiple layouts are planned to be supported.  I've heard of this and I do like the Janko layout, but I think Mech is better.  You can get someone who doesn't know anything about music to stack a bunch of triangles and have them play beautiful piano runs.  I don't know of another layout that can do something like that.  It's hard to explain how easy it is if you haven't tried it.  I'm working on a youtube video right now that will go over its benefits and techniques and demonstrate more of it.

How hard is it on the wrists? That's what's mostly worried about. With the default layout, it's not too hard when arpeggiating chords, but it's awful when trying to hold the chord.
I looked at the Janko layout, I think it's exactly what I am proposing with the only caveat that the rows are right on top of each other and not slightly shifted to the right like they would be on a normal keyboard.

I'm not an expert with ergonomics so I can't really say if something is better.  The chords are easier to hold for me and the motion seems smoother for most things I play, but I can only speculate how that translates long term.  I would be very surprised if it ends up being worse though.

And yes once I have custom layouts available you should be able to do the one you're talking about

Looks better than the default one for sure, but I lose easy chromaticism, which I don't really want to give up since they are very useful for the kind of music I like playing.
Looking forward to custom layouts then, I'll try it out.

Yeah, chromaticism on this layout takes practice.  The chromatic scale is a diagonal 2-3 or 3-2 pattern instead, see here:
https://i.imgur.com/Fg7qmea.png
Still possible with practice but for music that makes heavy use of it it might not be the option you want.
Thanks for your comments!

So in the hopes of getting you to prioritize this feature (lol), I'll share this trick I learned recently, which involves chromatic notes and why I need them.
So I bought this course: https://improviseforreal.com/ and have been working on it for a few months. Mostly in exercise 2, which contains one trick that I hadn't really figured out, even though it's so obvious from very basic knowledge of music theory. Also found the same trick described in the book "The Music Lesson" by Victor Wooten, which is very good and covers a lot more than harmony. The other course doesn't really deal with rhythm, for example, but you pick that up naturally if you follow the exercise.
So here's the trick if you want to jam along with other musicians: just play any note:

If you land in the key, with 7/12 probability, then there's no issue.
If you land outside the key, then the notes right above and below are in the key. So the "wrong" choice gives you twice the amount of information.
This works in every mode, since the notes are the same as the ones of one major scale. So it works in pretty much any song you are likely to hear. Difficult songs just do it again when there's a change of key/mode.

In practice, this translates to not being afraid of losing the tonality of the piece. Even if you do, you simply play another note, hear if it's in or out of key, and proceed from there. So I started jamming to songs using this and quickly became very fun.  Because I am practicing the actual thing that I want to learn. Not scales, or sight-singing, or theory, etc. Not that I won't try to learn them eventually, but because now I have a handle on the music that I didn't before, so they are secondary.
It's also a lot of fun, so I don't even think of it as practicing. There's no dichotomy between practice and play. If I want to study a song more in depth, just load it into a specialized music player called transcribe, which lets me loop, transpose, and slow down sections of the song. Then just play over it repeatedly and figure out what sounds good and repeat it to get it into my brain. It's really about getting the underlying patterns into your mind and body. Writing it down and getting it note for note can come later, but I don't think they are required for every piece.
So a few months ago I would have loved the fact that I was less likely to hit one of them, but now they are my bread and butter.
PS: Closing the issue after posting, since it doesn't give me the option to post without reopening. No issue on my end, just one cool trick for jamming.

I should revise what I said a bit because it might cause confusion.  It's not actually hard to play chromatically on this layout.  I think I might be misleading people a bit if I say it's "harder".  What I mean is the distance for a half step is over two and up one, which is the same distance of other notes on other layouts that you'll have to play as well.  But the note after that one is just the next note to your right.    This is still easier than other things you are expected to learn on most instruments, including being less of the distance you have to hold for most chords, so I'm not sure it's even a disadvantage, just different.  You can try it on your linnstrument by holding a note and then go left 2 and up one.  Then go to the right from the original note one space.  That's 3 half steps and it's not a big distance.  You'd use three notes like this if you were using the blues scale for instance.
As for the approach you're talking about I've heard Victor Wooten say something similar.  By starting with a passing tone you can hit the next nearest note and it can sound good.  It's introducing the idea that there aren't necessarily wrong notes unless you stop there.  What sounds good in music is more about change over time instead of where you are at any point.  It's probably best that it's not done using randomness though but it can be a good approach for changing the way you approach improv and writing.  Less useful in playing a particular piece correctly but can get someone over the fear of hitting a wrong note.
I have a number of things on the TODO and fortunately you're not the only one who has recommended different layouts, so that's definitely coming!  Thanks for sharing the resource!

I got custom layouts working but it still needs some tweaking.  Have not pushed any changes yet.

That's the janko layout! I'm really interested in this feature, as well as the midpoint between this and midimech -- where the sharps are diagonally up and to the left.


Limiting SOC

With my S10X, I´d like to make use of limiting SOC (Set the maximum SOC to limit charging the battery).
In the docs I found the tags

e3dc/limit/charge/soc
e3dc/set/limit/charge/soc
set this one, but it doesn´t work.

I read "it uses the Idle Periods described previously". So, do I need to just switch that on at the device or also define idle periods?
Thanks a lot.

Hello Jens,
you must switch on "Idle Periods" / "Sperrzeiten" at your S10X device.
Nothing else.
Turn on the limiter for charging the battery up to i.e. 80%, use
mosquitto_pub -h mqtt_host -t "e3dc/set/limit/charge/soc" -m 80
If you like to set it also for the next days, use
mosquitto_pub -h mqtt_host -t "e3dc/set/limit/charge/durable" -m true
(if it's "false" (default) the limiter will only work for the current day)
Best regards
Thomas

Hi Thomas,
thanks, it works like you described. I just missed to switch it on.
BR Jens


Fix title patterns to not use unsupported proc

This change will allow puppet generate types to function
Error:
Error: /etc/puppetlabs/code/environments/production/modules/windows_env/lib/puppet/type/windows_env.rb: title patterns that use procs are not supported.

https://tickets.puppetlabs.com/browse/MODULES-4505?focusedCommentId=418416&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-418416
https://github.com/treydock/puppet-module-keycloak/pull/21

Thanks @treydock ! Can you take a look at the failing rubocop job?

@bastelfreak Fixed failing job

Thanks!


Question about prisma in nuxt

Hi,
I have a small question:
Why do you use prisma in the server/api  and not directly in a component (with a composable for example)? What is the benefit to use a api?
Thanks for your help
Benjamin

Hi Benjamin,
Prisma can't be used in components because the database connection is only available at the server, so the connection would fail client-side. Instead, Prisma is used server-side, API calls are routed internally on the server (thanks to Nitro) and done via HTTPS from the client.
Cheers!


We want more soil layers

We discovered that two soil layers are not enough to capture the different processes that happen across models. At the moment, we have the layer heights that are set up by the plant model and a few extra one-dimensional layer depths in the soil and new abiotic model (in core.constants). There are some uncertainties around what the soil temperatures that the abiotic model produces actually mean for the soil column.
We need to discuss what sensible layer depths are and if we need a way of interpolating/integrating variables vertically. One solution is to just add a few more layers that cover all required depths. Alternatively, we could think about interpolating between depths or looking at the gradient of change for microbial activities.
At some point this will also affect the plants model.

resolved with #421


Update searcher-component.yaml

Signed-off-by: 9427kk<EMAIL_ADDRESS>Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

您好，你的来信我已经收到.感谢您对我的支持。

Hi! This seems to have been made by mistake? Closing for now.


astc-encoder: 2.5 -> 3.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/ARM-software/astc-encoder/releases.
meta.description for astc-encoder is: "An encoder for the ASTC texture compression format"
meta.homepage for astc-encoder is: "https://github.com/ARM-software/astc-encoder"
meta.changelog for astc-encoder is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/vi48h96x68kdxz6892fs857snhnyi92n-astc-encoder-3.0/bin/astcenc-sse2 passed the binary check.

/nix/store/vi48h96x68kdxz6892fs857snhnyi92n-astc-encoder-3.0/bin/astcenc passed the binary check.

2 of 2 passed binary check by having a zero exit code.

0 of 2 passed binary check by having the new version present in output.

found 3.0 with grep in /nix/store/vi48h96x68kdxz6892fs857snhnyi92n-astc-encoder-3.0

found 3.0 in filename of file in /nix/store/vi48h96x68kdxz6892fs857snhnyi92n-astc-encoder-3.0

directory tree listing: https://gist.github.com/80e0b510837ee3161b056c297db9fcad

du listing: https://gist.github.com/53e4e20e8f3dacd0f137be057aef8025

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
astc-encoder

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vi48h96x68kdxz6892fs857snhnyi92n-astc-encoder-3.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A astc-encoder https://github.com/r-ryantm/nixpkgs/archive/fc4848763761f022c272f9f4763be5d133e4e15a.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vi48h96x68kdxz6892fs857snhnyi92n-astc-encoder-3.0
ls -la /nix/store/vi48h96x68kdxz6892fs857snhnyi92n-astc-encoder-3.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

astc-encoder

Maintainer pings
cc @dasisdormax for testing.

The build worked (macos, linux-x86_64, linux cross-compile to arm), and on macos the binary did what it should.
No extra changes necessary from my side.
Also, great to have an auto-updater like that!


Typo in spanish translation

Language
Spanish
What improvement are you suggesting?
Problem
In src/data/es.yml, the tagline5 and tagline6 are duplicated.
Solution
The tagline6 should be the translation for the power of Processing times the reach of JavaScript
Would you like to work on the issue?
No

If someone else wants to work on this issue, please, feel free to do so.
In case no one wants, I can fix it.

@raphaelavelar You can go ahead and submit a fix. Thanks.

PR opened and waiting for the translation stewards to review.


PackageId:CPython39.Exe.x64;PackageAction:DownloadPackage;ReturnCode:0x80070002;

This issue has been moved from a ticket on Developer Community.

Describe your issue here
===DO NOT EDIT BELOW THIS LINE===
PackageId:CPython39.Exe.x64; PackageAction:DownloadPackage; ReturnCode:0x80070002;

Original Comments
Feedback Bot on 8/21/2023, 08:10 PM:
(private comment, text removed)

Original Solutions
(no solutions)

Hi there, thanks for the issue. It seems the problem occurs when the CPython installer fails. This could be due to network timeouts, corporate firewall policy, VPN configuration, anti-virus, or other problems. See if a retry helps, and if not, see if you can download the Python runtime directly from https://python.org/ and install it manually.
If that doesn't solve your issue, we could use more detailed logs to see what's really going on. Can you please collect more logs by running http://aka.ms/vscollect.exe and uploading %temp%\vslogs.zip if it persists? Thank you!😊

Going to close this out. If the issue still persists, please reopen with the information requested. Thanks.😊


Remove the key-converter module

Remove the key-converter module and move corresponding classes to the Enclave module.
It was a single class module and the functionality of converting from configuration to value objects is within the purview of the Enclave (specifically the key management area).

Codecov Report

Merging #796 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #796   +/-   ##
=========================================
  Coverage     99.43%   99.43%
  Complexity     1917     1917
=========================================
  Files           288      288
  Lines          5700     5700
  Branches        289      289
=========================================
  Hits           5668     5668
  Misses            5        5
  Partials         27       27

Impacted Files
Coverage Δ
Complexity Δ

...ava/com/quorum/tessera/enclave/EnclaveFactory.java
100% <ø> (ø)
7 <0> (ø)
:arrow_down:

...a/com/quorum/tessera/enclave/KeyPairConverter.java
100% <ø> (ø)
7 <0> (?)

Continue to review full report at Codecov.

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


SVM: Revert minibatch-related work

This commit is a partial revert of a8bbe08.
Minibatch was not found to be useful for SVM and broken due to recent
changes. We're disabling and reverting that work, with the task of
revisiting this again when the minibatch interface is stable.
There were some changes in a8bbe08 that were unrelated to minibatch and
useful in general context. These changes have not been reverted.

@iyerr3
I compared this PR with the original commit and it looks good. Just a couple of minor questions

This change to model.hpp was not reverted. It looks like it's not related to minibatch but just wanted to confirm it with you

-        for (k = 1; k <= N; k ++) {
-            u.push_back(Eigen::Map<Matrix >(
-                    const_cast<double*>(data + sizeOfU),
-                    n[k-1] + 1, n[k]));
-            sizeOfU += (n[k-1] + 1) * (n[k]);
+        for (k = 0; k < N; k ++) {
+            // u.push_back(Eigen::Map<Matrix >(
+            //     const_cast<double*>(data + sizeOfU),
+            //     n[k] + 1, n[k+1]));
+            u.push_back(MutableMappedMatrix());
+            u[k].rebind(const_cast<double *>(data + sizeOfU), n[k] + 1, n[k+1]);
+            sizeOfU += (n[k] + 1) * (n[k+1]);

A function named initialize was added to model.hpp but I didn't see it getting used anywhere. Should this be reverted as well ?

I also cherry picked this revert commit on top of the mlp minibatch branch mlp-minibatch-with-preprocessed-data-rebased and successfully ran install check for svm and mlp with greenplum.

@kaknikhil
Yes, both those changes are related to MLP and ideally should have been in a different commit. We can still make it that way by reverting them here and then reintroducing these changes.
The 1. is for not copying the coefficients every time we rebind and 2. is for moving the coefficient initialization from python to c++, since the model is a c++ variable. They're both optimizations not necessarily required immediately.
My suggestion is that we keep the changes here and avoid a redundant commit. We've another task of fixing MLP's initialization (jira pending) - as part of that ticket we can also utilize the initialize function. What do you think?

@iyerr3
Thanks for the detailed explanation. I agree, we should avoid a redundant commit and take care of this in a future commit.


Preserve the search string?

Find remembers the search string.  If I hit cmd-f, type something, hit esc, and then hit cmd-f again, the string is still in the text box.
Lazy Motion doesn't seem to remember the search string.  I hit ctrl-s, type something, hit esc, and hit ctrl-s again, the search box is empty.
I think it would be nice if Lazy Motion remembered the search string like Find.

(and, hope things are going well.  Trying to devote some more time to Atom.  I'm blown away by the vim-mode work you've done.)

Aside from issue(ill check later).
Did tou tried vim-mode-plus?
Im mainly use inclemental search on vim-mode-plus rather than this package recentlly.
Off course ill maintain this pack.

I haven't but this will inspire me to try it sooner
On Nov 13, 2015 6:38 PM, "t9md"<EMAIL_ADDRESS>wrote:

Aside from issue(ill check later).
Did tou tried vim-mode-plus?
Im mainly use inclemental search on vim-mode-plus rather than this package
recentlly.
Off course ill maintain this pack.
—
Reply to this email directly or view it on GitHub
https://github.com/t9md/atom-lazy-motion/issues/7#issuecomment-156612797
.

When I released vim-mode-plus what was in my mind is how you  say about this!? Im very looking forward feedback from you!


[PDI-13820] Incorrect value of "Minimum length" setting is applied wh…

…ile importing repository with "A job requires a description" rule
I've also "normalized" the code between Job and Transformation rules and added unit testing for both classes for several scenarios.
@pentaho-lmartins

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/imp/rules/JobHasDescriptionImportRule.java
  engine/src/main/java/org/pentaho/di/imp/rules/TransformationHasDescriptionImportRule.java
  engine/src/test/java/org/pentaho/di/imp/rules/JobHasDescriptionImportRuleTest.java
  engine/src/test/java/org/pentaho/di/imp/rules/TransformationHasDescriptionImportRuleTest.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.job.entries.ftpsget.JobEntryFTPSGet

Branch Change: -0.6% :small_red_triangle_down:
Complexity Change: -0.5% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL

Branch Change: -0.8% :small_red_triangle_down:
Complexity Change: -1% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.job.Job

Branch Change: -0.4% :small_red_triangle_down:
Complexity Change: -0.4% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:
Line Change: -0.4% :small_red_triangle_down:

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Branch Change: -2% :small_red_triangle_down:
Complexity Change: -1.7% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.dbproc.DBProcMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Method Change: -1% :small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -2.2% :small_red_triangle_down:
Complexity Change: -2.6% :small_red_triangle_down:

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupsert.SalesforceUpsertMeta

Instruction Change: -0.1% :small_red_triangle_down:


what is worldtracking meaning

I run your demo day04
Task {
try await session.run([worldTracking])
        for await update in worldTracking.anchorUpdates {
            switch update.event {
            case .added, .updated:
                print("Anchor position updated.")
            case .removed:
                print("Anchor position now unknown.")
            @unknown default:
                break
            }
        }
    }

is that camera position? but it dose not work on my mac. i want get the camera position ,i can not find the correct api

I've tried implementing this, but it didn't make sense at this point.
I will try to test it again at a later date.


v1.2.0 Release Planning

Release Coordinator: @halspang
Release Buddy: TBD
Code freeze: 05/14/2021
Endgame starts: 05/20/2021
Release date: 05/25/2021
Note This release is gated by the e2e tests passing consistently on aks
Milestones in scope for this release:
Dapr: https://github.com/dapr/dapr/milestone/8
Java-SDK: https://github.com/dapr/java-sdk/milestone/1
Python-SDK: https://github.com/dapr/python-sdk/milestone/2
CLI: https://github.com/dapr/cli/milestone/3
PHP-SDK: https://github.com/dapr/php-sdk/milestone/7
Docs: https://github.com/dapr/docs/milestone/4
Components-contrib: https://github.com/dapr/components-contrib/milestone/3
Kit: https://github.com/dapr/kit/milestone/1
Dotnet-SDK: https://github.com/dapr/dotnet-sdk/milestone/6

PHP-SDK: https://github.com/dapr/php-sdk/milestone/7

any news about dapr in apple silicon

any news about dapr in apple silicon
Please see:
dapr/cli#582

Will dapr support javascript or typescript server side? Or is it just planned for using js on client side?

Will dapr support javascript or typescript server side? Or is it just planned for using js on client side?

@W7T2A What do you mean by server-side?

Will dapr support javascript or typescript server side? Or is it just planned for using js on client side?

@W7T2A What do you mean by server-side?

As I understand currently you are only able to use .net, java and go for creating server extensions (?)
Is there also a plan to support JS/Node for this ?

you listed all SDKs except js-node :)

release complete


partners/mistral ai: Added support for mistral chat models

The main objective of this issue is to extend LangChain's capabilities by supporting Mistral chat models hosted on Azure. While LangChain already supports OpenAI models deployed via Azure, it currently lacks support for non-OpenAI models such as Mistral.
Issue: #26147

would also recommend checking out langchain-azure-ai! https://pypi.org/project/langchain-azure-ai/
will close this for now, and let me know if either of those work for you


Fix locating firefox on OS X

Some mac installations don't link firefox into '/Applications', (e.g. homebrew links into '~/Applications'). A more reliable method is to use the app id for getting the path, (i.e. 'mdfind kMDItemCFBundleIdentifier==org.mozilla.firefox').
For path fallbacks, '~/Applications/...' added in addition to '/Applications/...'.

Thanks! A few minor comments:
If you add a space after the comma on line 178, the linter will be happy :)
Instead of environ['HOME'] can you please use `os.path.expanduser('~'), because AFAIU it does the same but is a bit more generic.
I feel a bit uncomfortable with calling a subprocess while firefox is in a "standard" place 95% of the time. Do you think it makes sense to put that code in the else that iterates over the possible paths? In other words: check the two standard places, and if that does not work, try using mdfind.

Any progress on this?

Superseded by #147


Manipulate address form on the order screen

I cannot manipulate the form data (src / components / ShippingAddressForm / AddNewShippingAddressForm) of address. I need to input values in the fields as well as in the form (src / components / ShippingAddressForm / AddressFormContent).
You can suggest the best way to do this, because I tried to bind it in different ways without getting success.

Please use Spectrum or Stack Overflow to ask questions, we only use GitHub for development and reporting bugs.


Make gzipped markdown source reproducible

By avoiding setting the embedded timestamp in the gzip-encoded
markdown source, we avoid a variation based on time of build.

Aside from my general preference for reproducible software, i find it pretty important to be able to compare versions of different drafts.
When comparing two copies of XML, the embedded markdown is either different or it is not different.  If the only difference is in the embedded mtime, it shows up as a difference in the b64-encoded gzipped source.  to determine that it's only the difference in the embedded mtime, and not, say, a difference in the metadata block at the start of the markdown, i have to either know the exact placement of the mtime in a gzip header and be able to visually identify it in b64  (a weird and very unfriendly skill!) or i have to un-b64 and decompress the embedded markdown and diff it.
Let me try asking the question in a different direction: where and when do you use that mtime?  what is the advantage of having it?  if the only thing it encodes is "now" (meaning, when kramdown-rfc is run) then surely that information is better recorded (or not recorded, if not needed) explicitly in the xml source, not in this obscure and difficult-to-read location.  If it's supposed to encode the filesystem timestamp of the original markdown file, why is that useful?  if i'm working from a new git checkout, the timezone will record when i did the clone, not when the file was modified.  why would that information be something someone else needs to use?

I agree that deterministic builds are highly desirable.
Having the time in the generated XML is occasionally useful to find out what happened, but maybe not that useful.
So I'll cherry-pick this PR and make a fix.


IE Issue

I used this library on a site.  Works great in everything but IE.  I've even checked some of the examples you have published out on the web and those seem to not render either.  example 1 Example 2.
I know that in the documentation on this it says that it is compatible in IE 7,8,9.  Any tricks to get it working? Thanks a ton!

Hey. It has been working on my tests although there was an issue a
couple of versions back. I'm pretty sure it works on http://the-taylors.org/jquery.kinetic
could you double check. I can look a bit later

Sent whilst mobile
the-taylors.org
twitter.com/davetayls
On 31 Jan 2012, at 22:23, ohshibby44<EMAIL_ADDRESS>
wrote:

I used this library on a site.  Works great in everything but IE.
I've even checked some of the examples you have published out on the
web and those seem to not render either.  example 1 Example 2.
I know that in the documentation on this it says that it is
compatible in IE 7,8,9.  Any tricks to get it working? Thanks a ton!

Reply to this email directly or view it on GitHub:
https://github.com/davetayls/jquery.kinetic/issues/12

closing because it worked in my test and not heard back from @ohshibby44


Vectorized support analytic eval operator

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.74 seconds
load time: 426 seconds
storage size:<PHONE_NUMBER>6 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221202142445_clickbench_pr_57002.html


dll can't be free after it call bio_new and bio_free APIs in windows platform

Hi Team
I meet a strange problem when i use Openssl library.
Background
My project need to upgrade a DLL dynamically, so in application, it will load the DLL first and free it after application get a new version DLL. Then application will load the new DLL and run by new DLL.
But now, my application can't free the DLL after it call bio_new and bio_free APIs. It's still in loading modules.
If i don't call bio_new and bio_free，my application can free the DLL success.
Openssl is complied to a static library and linked in this DLL.
I want to know if bio_new will use some system resource (file handle/network/memory) which will not be freed by bio_free.
I doubt those resources block application to free DLL.
My Openssl version is openssl-1.1.0h.
Thanks
Forston

This is due OpenSSL's use of atexit() to automatically clean itself up. In order to avoid problems if a dll gets unloaded before the process exits the DLL is "pinned" via GET_MODULE_HANDLE_EX_FLAG_PIN. See:
https://docs.microsoft.com/en-us/windows/desktop/api/libloaderapi/nf-libloaderapi-getmodulehandleexa
PR #7388 has a possible workaround but it needs rework based on the comments received.

Hi mattcaswell
I tried your suggestion, it can unload now.
When will you release new version with this fixed?
Best regards
forston

Unknown at this stage. Firstly I have to rework the PR based on the comments received (it's on my TODO list - but hasn't yet made it to the top) and then a decision has to be made whether to backport it.

hi mattcaswell
Got it. Thank you
forston

See #7647.


feat: implement cpp local test

Info
This pull request adds preliminary cpp local test support. #11
Tested on linux / gcc 12.2.1
How it works
After pick command
It creates new folders for each new question. The code that you write is in an automatically created file solution.h.
It automatically generates a file solution.cpp, which contains the testing code, and includes solution.h.
After test command with -L parameter
It executes command g++ -O2 -std=c++17 solution.cpp -o solution.exec
Then it writes the test case into input.txt, and executes command solution.exec input.txt output.txt
After the testing program finishes, it checks the content of output.txt against expected output, and shows the result.
If multiple test cases exist, the previously mentioned process is repeated.
Note:

No special judge implemented at this point, the judging function is a simple raw string comparison.
If you'd like to run custom tests, make sure to follow leetcode input format.
solution.exec takes exactly two arguments, which are paths for input and output files. It will exit prematurely if an incorrect number of arguments are provided, or if one of the file fails to open.

Prerequisites

Recent version of gcc / clang (that supports c++17 compilation)
If you use clang, make sure to create an alias (macOS does this automatically)
If you're on Windows, make sure to install tools like MinGW and add it to PATH

Completion Status

[x] Implement I/O for basic data types

[x] Implement I/O for LC DS (Linked List, Binary Tree)

[x] Implement Local Testing

[x] Implement Support for System Design Problems

[x] Execution time output

[x] Check for CE, RE, TLE, ~MLE~ and automatically stop the program if Time ~/ Memory~ exceeds a certain value

Example of a generated testing code

Click to Expand
// Code generated by https://github.com/j178/leetgo
#include <bits/stdc++.h>
using namespace std;

// definitions
struct ListNode {
	int val;
	ListNode *next;
	ListNode() : val(0), next(nullptr) {}
	ListNode(int x) : val(x), next(nullptr) {}
	ListNode(int x, ListNode *next) : val(x), next(next) {}
};

struct TreeNode {
	int val;
	TreeNode *left;
	TreeNode *right;
	TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
};

#include "solution.h"

// helper funcs
auto &operator>>(istream &is, ListNode *&node) {
	node = nullptr;
	ListNode *now = nullptr;
L0: is.ignore();
L1: switch (is.peek()) {
	case ' ':
	case ',': is.ignore(); goto L1;
	case ']': is.ignore(); goto L2;
	default : int x; is >> x;
	          now = (now ? now->next : node) = new ListNode(x);
	          goto L1;
	}
L2: switch (is.peek()) {
	case '\r': is.ignore(); goto L2;
	case '\n': is.ignore(); goto L3;
	case EOF : goto L3;
	}
L3: return is;
}

auto &operator<<(ostream &os, ListNode *node) {
	os << '[';
	while (node != nullptr) {
		os << node->val << ',';
		node = node->next;
	}
	os.seekp(-1, ios_base::end);
	os << ']';
	return os;
}

auto &operator>>(istream &is, TreeNode *&node) {
	deque<TreeNode *> dq;
L0: is.ignore();
L1: switch (is.peek()) {
	case ' ':
	case ',': is.ignore(); goto L1;
	case 'n': is.ignore(5); dq.emplace_back(nullptr);
	          goto L1;
	case ']': is.ignore(); goto L2;
	default : int x; is >> x;
	          dq.emplace_back(new TreeNode(x));
	          goto L1;
	}
L2: switch (is.peek()) {
	case '\r': is.ignore(); goto L2;
	case '\n': is.ignore(); goto L3;
	case EOF : goto L3;
	}
L3: int n = dq.size();
	for (int i = 0, j = 1; i < n; ++i) {
		auto root = dq[i];
		if (root == nullptr) { continue; }
		root->left = j < n ? dq[j] : nullptr;
		root->right = j + 1 < n ? dq[j + 1] : nullptr;
		j += 2;
	}
	node = n ? dq[0] : nullptr;
	return is;
}

auto &operator<<(ostream &os, TreeNode *node) {
	queue<TreeNode *> q;
	int cnt_not_null_nodes = 0;
	auto push = [&](TreeNode *node) {
		q.emplace(node);
		if (node != nullptr) { ++cnt_not_null_nodes; }
	};
	auto pop = [&]() {
		auto front = q.front(); q.pop();
		if (front != nullptr) {
			--cnt_not_null_nodes;
			push(front->left);
			push(front->right);
			os << front->val << ',';
		} else {
			os << "null,";
		}
	};
	os << '[';
	if (node != nullptr) {
		push(node);
		while (cnt_not_null_nodes > 0) { pop();	}
		os.seekp(-1, ios_base::end);
	}
	os << ']';
	return os;
}

template <typename T>
auto &operator>>(istream &is, vector<T> &v) {
L0: is.ignore();
L1: switch (is.peek()) {
	case ' ':
	case ',': is.ignore(); goto L1;
	case ']': is.ignore(); goto L2;
	default : v.emplace_back();
	          if constexpr (is_same_v<T, string>) {
	              is >> quoted(v.back());
	          } else {
	              is >> v.back();
	          }
	          goto L1;
	}
L2: switch (is.peek()) {
	case '\r': is.ignore(); goto L2;
	case '\n': is.ignore(); goto L3;
	case EOF : goto L3;
}
L3: return is;
}

template <typename T>
auto &operator<<(ostream &os, const vector<T> &v) {
	os << '[';
	if constexpr (is_same_v<T, string>) {
		for (auto &&x : v) { os << quoted(x); os << ','; }
	} else if constexpr (is_same_v<T, double>) {
		for (auto &&x : v) { { char buf[32]; sprintf(buf, "%.5f", x); os << string(buf); } os << ','; }
	} else {
		for (auto &&x : v) { os << x << ','; }
	}
	os.seekp(-1, ios_base::end);
	os << ']';
	return os;
}

// main func
int main(int argc, char **argv) {
	if (argc != 3) {
		return 1;
	}

	ifstream ifs(argv[1]);
	if (!ifs.is_open()) {
		return 1;
	}

	ofstream ofs(argv[2]);
	if (!ofs.is_open()) {
		return 1;
	}

	// scan input args
	vector<int> weights; ifs >> weights;
	int k; ifs >> k;

	// initialize object
	Solution *obj = new Solution();

	// call methods
	auto &&res = obj->putMarbles(weights, k);

	// print result
	ofs << res;

	// delete object
	delete obj;

	ifs.close();
	ofs.close();
	return 0;
}

Future plans for improvement

make I/O more robust, for potential custom input (accept a variety of white spaces)
optimize the output function for binary trees (memory usage could potentially be cut in half)
more accurate time measurement, omitting time consumed by I/O operations

Tested problems

Click to Expand

suppoted
reason
qid
name
return type
arg1 type
arg2 type

no
unsorted return
0001
two-sum
vector
vector
int

yes
n/a
0002
add-two-numbers
ListNode*
ListNode*
ListNode*

yes
n/a
0003
longest-substring-without-repeating-characters
int
string
n/a

yes
n/a
0004
median-of-two-sorted-arrays
double
vector
vector

yes
n/a
0005
longest-palindromi-substring
string
string
n/a

yes
n/a
0006
zigzag-conversion
string
string
int

yes
n/a
0460
lfu-cache
SystemDesign
SystemDesign
SystemDesign

yes
n/a
0542
01-matrix
vector<vector>
vector<vector>
n/a

yes
n/a
0814
binary-tree-pruning
TreeNode*
TreeNode*
n/a

yes
n/a
0981
time-based-key-value-store
SystemDesign
SystemDesign
SystemDesign

yes
n/a
2551
put-marbles-in-bags
iint64_t
vector
int

@w43322 Hi, thank you for your hard work and contributions!
Your work is truly impressive and I'm looking forward to reviewing it in detail over the weekend.
I was also wondering if you would be okay with me making modifications to your code for further development?

@w43322 Hi, thank you for your hard work and contributions!
Your work is truly impressive and I'm looking forward to reviewing it in detail over the weekend.

Thank you for your kind words! I really enjoyed working on this project. I'm fairly new to golang, so there might be some imperfections in the code, and many things may be simplified, or could be done in a better way. I'm going to write some comments and documents so other developers can add support for more languages in a similar manner.

I was also wondering if you would be okay with me making modifications to your code for further development?

Of course it's okay, that's what open source is all about. :-)
Still have some work left to do, but everything should be ready by Sunday.

Regarding the generated input.txt, solution.exec, and output.txt, can we incorporate testcases into the source code, the program takes a string as input and serializes the output of the function into a string, and the library level handles the string comparison to avoid generating additional input.txt, output.txt files. I also want to place the compiled binary in a temporary directory similar to go run so that it does not generate additional files in the current directory. What do you think of this approach?

Regarding the generated input.txt, solution.exec, and output.txt, can we incorporate testcases into the source code directly, the program does not need to read from stdin and write to stdout. We get the return value from function and serialize it to string, compare it with the expected string directly, avoid generating an additional output.txt.

I actually thought about this before implementing everything, but decided on the I/O approach because this approach has some serious drawbacks.

It needs to recompile the binary for every new test case, and that alone can take quite some time with -O2, and if your program is complicated, it'll be even worse. (Although we can incorporate all test-cases into the program and just do a one-pass, the following reasons still stand.)

This can complicate things when the user wants to provide custom input for testing. Although one can argue that, how do you get the expected output for the custom input? There's only one way - from LC online testing. But if we come to this, then people might say, why bother with local testing when we can do everything through LC API? IMO the main benefit of local testing is to reduce waiting time, both the latency that comes from the Internet and LC's restrictions (for non-premium users, if you submit code too frequently it will often refuse that).

Constructing pre-defined vectors in C++ is rather inefficient, especially when it's a vector of strings, or a vector of vectors. The resulted binary will initialize the vector objects by appending elements one by one, which is not much better than using I/O to initialize it.

The I/O approach is how most OJ systems do it, and I think LC's too. And the current implementation does not interfere with stdin/stdout, because it does the I/O on files. So users can output stuff onto stdout and it'll work as intended.

This can help make a more streamlined process when adding local test support for more languages in the future, as the maintainer will only need to implement the I/O interface. If we do it by comparing results inside the generated executable, then there would be a lot more work involved with each new language.

I also want to place the compiled binary in a temporary directory similar to what go run does, so that it does not generate additional files in the current directory. What do you think of this approach?

I think this is okay. Or we can delete the files after testing, which more or less yields the same result. It might become a problem if the user want to use solution.exec independently, though.

5. This can help make a more streamlined process when adding local test support for more languages in the future, as the maintainer will only need to implement the I/O interface. If we do it by comparing results inside the generated executable, then there would be a lot more work involved with each new language.

Good point, then I suggest we clarify things a bit:

Similar to most OJs, the generated binary reads input from stdin and serializes the result to stdout.
The file input.txt contains test cases, each case contains input parameters and expected output. leetgo test retrieves the input parameters from input.txt as stdin and calls the binary to obtain the binary stdout output, which is then compared to the expected output. This part of logic can be reused by every language.
Users can add their own cases to input.txt, where the expected output can be left blank. In this case, the case can be submitted to LC to obtain the expected output.

I agree with this approach. There is one issue though: I think we still need a temporary file to store the serialized output, instead of using stdout directly. Because on LeetCode the stdout is independent from the judging process, and many users use stdout for debugging. So I think we should to respect this behavior and leave stdout to the user.

Also I suggest we implement a caching mechanism for the retrieved output for each custom input. Because as I explained earlier, LC doesn't allow frequent requests for online testing.

many users use stdout for debugging

Good point, I didn't think of that. Maybe we can add a special marker to wrap the serialized result, then we can extract it from the output.

Also I suggest we implement a caching mechanism for the retrieved output for each custom input

We can write the output back to input.txt as the caching mechanism.

the expected output can be left blank. In this case, the case can be submitted to LC to obtain the expected output.

This part can be left in future work, no need to implement in this PR.

Maybe we can add a special marker to wrap the serialized result, then we can extract it from the output.

That's a brilliant idea. We can also add wrappers for timestamp outputs, so we can get more accurate timing information for the actual function, which doesn't count the time for all the I/O operations.

the expected output can be left blank. In this case, the case can be submitted to LC to obtain the expected output.

This part can be left in future work, no need to implement in this PR.

Okay, I'm going to implement these changes tomorrow as I've just realized there's a LC contest tonight. :joy:

there's a LC contest tonight.

go head and leetgo contest 💯

I've implemented most features we've talked about, apart from two:

Moving the header files to testutils/cpp; go:embed can't embed files in parent directories, so I don't know how to embed the header file without too much hassle.
Using stdout + wrappers for output; I still feel like using a separate temporary file for output is cleaner. Furthermore, using cout will be slower than using file output, and it makes the cpp I/O functions more verbose. (When printing arrays, the current implementation prints "[elem1,elem2,elem3,...elemn,", and then roll back one character and overwrites it with "]". But you can't roll back on stdout, so we need to setup a temporary stringstream object in the function, write to it first, then retrieve the string from its buffer, and finally write that onto stdout. It's adds a lot more unnecessary operations.)

This is what it looks like currently, please let me know what you think.

Thank you for your efforts, I will review the Pull Request as soon as possible 👏🏻

I made some code movements and minor adjustments, hoping they won't conflict with your code :)
I tested the newly generated code with some abnormal code, here are two strage cases I don't know why:
Case 1: no return statement, it will hang forever

click to expand
#include <bits/stdc++.h>
#include "LC_IO.h"
using namespace std;

// @lc code=begin

class Solution {
public:
    vector<int> twoSum(vector<int>& nums, int target) {
    }
};

// @lc code=end

int main() {
	ios_base::sync_with_stdio(false);
	stringstream out_stream;
	vector<int> nums; cin >> nums;
	int target; cin >> target;

	Solution *obj = new Solution();

	auto &&res = obj->twoSum(nums, target);

	out_stream << res;
	cout << "output: " << out_stream.rdbuf();

	delete obj;
	return 0;
}

Case 2: Case 2: return an empty list, output contains a single ]

click to expand
#include <bits/stdc++.h>
#include "LC_IO.h"
using namespace std;

// @lc code=begin

class Solution {
public:
    vector<int> twoSum(vector<int>& nums, int target) {
        return {};
    }
};

// @lc code=end

int main() {
	ios_base::sync_with_stdio(false);
	stringstream out_stream;
	vector<int> nums; cin >> nums;
	int target; cin >> target;

	Solution *obj = new Solution();

	auto &&res = obj->twoSum(nums, target);

	out_stream << res;
	cout << "output: " << out_stream.rdbuf();

	delete obj;
	return 0;
}

the output:

Case 1: no return statement, it will hang forever

This is to be expected since it's undefined behavior. The compiler should issue a warning. However on my machine it compiles and says runtime error instead of hanging. (x86-64, linux, gcc12)

Case 2: return an empty list, output contains a single ]

This is due to a bug in my I/O library implementation, which I will fix just in a minute. Basically I output a list and overwrite the last character (expected to be ',') with ']'. When the list is empty, it just overwrites the starting bracket.

If it hangs during the compilation phase we probably should add a timer to the compilation process.

Interesting, for case 1, It compiles with a warning on my machine (x86-64, Windows 11, gcc 11.2.0):
D:\projects\goland\leetgo\out\cpp\0001.two-sum\solution.cpp: In member function 'std::vector<int> Solution::twoSum(std::vector<int>&, int)':
D:\projects\goland\leetgo\out\cpp\0001.two-sum\solution.cpp:13:5: warning: no return statement in function returning non-void [-Wreturn-type]
   13 |     }
      |     ^

but when it runs, it will hang.

Everything should be functional now. :)

Thank you very much. I will play with it for some time before merging it. However, since I have absolutely no knowledge of C++, I may need another C++ pro to review it. I will give you feedback as soon as possible.

Thanks, I might start working on C when I have more free time. It's going to be a lot harder due to the lack of templates and dynamically allocated containers though.

Wouldn't it be a bit difficult to use C to solve algorithmic problems? I'm not sure how many people have this need, and I don't know if it's worth the effort to support C. But it's okay, if you want to do it, just do it. I will try my best to provide help.

Yes, I doubt that many people will benefit from this. I used to use C on leetcode when I don't need STL or strings, but later switched to all C++ because it's too much hassle with C as soon as you step into nd arrays or strings. :rofl:

haha, I know that pain.

merged, thanks @w43322 ! 🎉


fix: validation token

Summary of changes

Report of required housekeeping

[x] Github issue OR spec proposal link
[x] Wrote tests
[ ] Added a relevant changelog entry to CHANGELOG.md

(FOR ADMIN) Before merging

[ ] Added appropriate labels to PR
[ ] Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)
[ ] Confirm added tests are consistent with the intended behavior of changes
[ ] Ensure all tests pass

Avoid conflicts, rebase on next


Share DRI and SND cards

To fix LibGL and audio issues on start, share the device, so these options should be added on creation (not sure if applies when using network access):
--device=/dev/dri --group-add video --device=/dev/snd

Done. Version 1.0.14 added these options.


add: alamin-karno

Description

I added my profile to the data.
Related Issues

N/A
Changes Proposed

I have added my profile to the database.
Checklist

[x] I have read and followed the Contribution Guidelines.
[x] All new and existing tests passed.
[x] I have updated the documentation to reflect my changes.
[x] My code follows the code style of this project.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers
N/A

@alamin-karno Thank you so much for your contribution! Your efforts are greatly appreciated and will go a long way in improving our project. Please feel free to share it with others and help us grow even further!


Tokenization bugs with examples

"30minutes" is tokenized as "30m inutes";
"Search for comedy movies that are rated R." is tokenized as "search for comedy movies that are rated r." (no space between r and period)
"4-5 rating" is tokenized as "4 -5 rating"
"Show me all profiles with the last name 'Johnson'." is tokenized as "show me all profiles with the last name 'johnson ' ."
In "Search for hotels with a pool, no more than hundred miles away.", "hundred" is not tokenized as 100.

This is literally a bug in the tokenizer, right? We can fix it without significant changes.

This is literally a bug in the tokenizer, right? We can fix it without significant changes.

yeah, I will just use this issue to report a list of bugs in tokenization.

Are you going to fix these any time soon?


Notifier.Send can't leak exceptions

Notifier.Send must be enclosed in a try/catch to never ever leak an exception (except maybe if the debugger is attached?) Basically, right now, if there is no network it will bring down the process.
Say, I have an event I want to notify (that's non fatal) I call Client.Notify() bug I have no network - crash.

This should be fixed by #33

Did you guys publish a new Nuget package for this yet?

Done - apologies for the delay!


Mobile/Desktop: Recover Existing Wallet

Not able to recover mobile existing wallet to desktop due to passports not containing 24 words mobile only contains 12 also when you go to recover in mobile it requests the same action which is not available. Also when going to getzen.cash and adding on new address to verify and claim it states I already have used the address even though my desktop is setup as new wallet and created address

Hi @Sleviin
Let me break my response in parts:
Not able to recover mobile existing wallet to desktop due to passports not containing 24 words.
As of now, we do not offer backup phrase compatibility between Sphere and our Android app, this is mainly to the fact that the Android wallet is not currently being worked on due to a resource constraint. It seems to me that you are trying to sync you wallets between you desktop and your mobile. Doing this will add an additional vector of attack to your funds and seed, this is not a recommended security practice, and right now this is not possible.
Also when going to getzen.cash and adding on new address to verify and claim it states I already have used the address even though my desktop is setup as new wallet and created address3
I need to see a screenshot to see what's going on and this is not the correct place to raise a Faucet issue, since this is the mobile wallet repo.
Could I raise a support ticket on your behalf on our support system (support.horizen.global)? I just need an email. We could provide you better support over the helpdesk :)


Systems/Privacy Declaration Dictionary Migration

Partially closes #3833 and https://github.com/ethyca/fideslang/issues/139
❗ Contains schema and data migrations; check downrev before merging
❗ Temporarily pinned to fideslang commit.  Need fideslang release as a prerequisite
Description Of Changes
Pins to a new fideslang branch and adds an additive data migration that only adds new fields to Systems and Privacy Declarations and migrates data from old locations where appropriate.  New fields are not yet removed.
Context is here: Confluence Dictionary Forms and Fideslang Updates
Code Changes

[x] Fideslang upgrade
[x] New fields added to System and PrivacyDeclaration models
[x] 2 migrations: schema migration that adds new fields followed by data migration that migrates/transforms data from previous location without altering original location
[x] Tests

Steps to Confirm
For testing the data migration: See [Migrations and Changes to Data Models] to note the data that is being migrated (https://ethyca.atlassian.net/wiki/spaces/PM/pages/2742648890/Dictionary+forms)

Checkout main
nox -s dev -- shell
In separate terminal: cd /fides/clients/admin-ui and run turbo run dev
Modify a data use in the taxonomy by adding special category, legal basis, recipient, and legitimate interest.
Similarly modify a dataset by adding retention period, geographic location, and identifiability
Create a system, and add a privacy declaration.  Attach the data use and datasets above.  Try to fill out all the fields on the system and privacy declaration
Checkout this branch
Bring down fides, and bring it back up again.
Navigate back to the system and look at the system response in the network tab and note any values that have been moved
Also note brand new fields in system repsonse

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[x] Update CHANGELOG.md
[ ] For API changes, the Postman collection has been updated

@TheAndrewJackson and @jpople marking you for review as you're integrating with this; let me know if anything seems off!

Thanks very much for your review @ThomasLaPiana!

Thanks again for your comments Thomas, ready for another pass when you are -


another trickle demo: measuring setup time

Since the original trickle demo is now more a demo of candidate gathering here is one that lets the user compare trickle ice and non-trickle. Mashed up from the trickle and munge demos.
Online version: http://fippo.github.io/webrtc/samples/web/content/peerconnection/trickle-effect/
It measures the time between createOffer and iceconnectionstatechange->connected. For the biggest effect I recommend disabling trickle, using a TURN/TCP or TLS server and having a virtualbox interface.
@samdutton: might be useful as part of the codelab since it demonstrates why trickle ice is such a great idea :-)

I'm not sure we need another sample page for this - since it is so similar to the existing ice-servers page, could something like this be added into that page (i.e. some estimate of the time saved by trickling?)

if my lxcbr0 interface is ignored (soon) this doesn't really make a good example anymore.


Prefix parameters with namespace

To avoid parameter name collisions, parameter names should be prefixed with the name of the rule.

So a couple of problems I've discovered with this. I don't think the rule parameters shouldn't know or care about their namespace, but when the parameters are namespaced this breaks the function.
Right now, I've got it namespacing the parameters during template generation, which is then fed to streambot in the format 'repositoryRulenameParametername'. When the function runs and Streambot sets its environment, the function is looking for 'Parametername' not 'repositoryRulenameParametername'.
Because the repository name is determined at runtime, I think that we could namespace the parameters by providing a helper function in lambda-cfn to generate the correct parameter names.
I haven't figured out exactly how the helper function would derive the correct parameter names though... so this may not be possible without changing the rule format.

fixed by #29


[Feature Request] Depth Selector for trail or grid views

An option to limit the trail to a certain number of crumbs, as discussed here:
https://discord.com/channels/686053708261228577/929513881041248266/938324102450675732

It seems to be implemented by now in some way. But currently we can't set a fixed number for the notes thats saved. We can just hide some as soon as we open the a note. I think it would be more helpful and clean if we could set a fixed number or a fixed note to which the breadcrumbs are trailed. Currently I often find myself to open a note and then click a few times at the minus at the top to bring down the trail.

Gonna close this as the original request is implemented.
However, @Pummelfisch please do open a new FR to save depth per-note, if you're still interested.


Panel decorator from derived to base class

Good morning @volkanceylan
I have an normal dialog
    @Serenity.Decorators.registerClass()
    @Serenity.Decorators.responsive()
    @Serenity.Decorators.maximizable()
    export class XYZDialog extends Serenity.EntityDialog<XYZRow, Service.ObjectRequest> {

    [...]

and a derived panel
   @Serenity.Decorators.panel()
    export class XYZDialogPanel extends XYZDialog  {
       constructor(option: Service.ObjectRequest) {
            super(option);

            this.element.addClass('flex-layout');
        }
   }

This becouse I need the same dialog in a panel and a normal dialog in two different situation.
The problem is that when I use the normal dialog, in Serenity.CoreLib.js
        function TemplatedDialog(options) {
            var _this = _super.call(this, Q.newBodyDiv(), options) || this;
            _this.isPanel = ss.getAttributes(ss.getInstanceType(_this), Serenity.PanelAttribute, true).length > 0;

_this.isPanel is true. Seems that if a derived class as the Panel decorator, also the base class get the Panel decorator.
I have make a workaround adding a _this.setIsPanel(_this.isPanel) function that I override in the XYZDialog class.
TemplateDialog.ts in Serenity.TypeScript.CoreLib that I have modified:
        constructor(options?: TOptions) {
            super(Q.newBodyDiv(), options);

            this.isPanel = (ss as any).getAttributes((ss as any).getInstanceType(this),
                Serenity.PanelAttribute, true).length > 0;

            // ADDED
            this.isPanel = this.setIsPanel(this.isPanel);

            if (!this.isPanel) {
                this.initDialog();
            }

            this.initValidator();
            this.initTabs();
            this.initToolbar();
        }

        // ADDED
        protected setIsPanel(isPanel: boolean): boolean {
            return isPanel;
        }

in dialog
        protected setIsPanel(isPanel: boolean): boolean {
            return false;
        }

Can I send you a pull request with this change?

This will be fixed in 2.9.7, it's a bug related to __extends helper of TypeScript and Saltaralle type system not being compatible.

Thank you very much @volkanceylan


grouping layers

This would be a great addition.
I just tried deptrac for the first time and being able to define layers within another layer is the only thing I seem to be missing. It should be possible to define high level dependency rules (controllers -> services -> repositories), and then additional dependencies withing the layer (services/A -> services/B).

thanks @jakzal,
i am working on #76 which will allow more complex configurations. this won't help to visualize high level dependencies, but it would be much more easy to define and enforce them.
i didn't tryed it, but for example you could build a configuration this way:
paths: ./
exclude_files: []
layers:
  - name: controllers
    collectors:
      - type: className
        regex: .*Controllers.*
  - name: services
    collectors:
      - type: className
        regex: .*Services.*
  - name: repositories
    collectors:
      - type: className
        regex: .*Services.*
  - name: servicesA
    collectors:
      - type: bool
      - must:
        # every rule form service
        - type: className
          regex: .*Services.*
        # every rule from servicesA
        - type: className
          regex: .*ServicesA.*
      - must_not:
        # every rule from servicesB
        - type: className
          regex: .*ServicesB.*
  - name: servicesB
    collectors:
      - type: bool
      - must:
        # every rule form service
        - type: className
          regex: .*Services.*
        # every rule from servicesB
        - type: className
          regex: .*ServicesB.*
      - must_not:
        # every rule from servicesA
        - type: className
          regex: .*ServicesA.*
ruleset: []

don't be scared of the verbosity of this solution #76 will help to build such depfiles much more comfortable.
the goal of this ticket would be generating a nice looking output based on such a (bit more complex) configuration.

@jakzal on my end I solved it by having several files to run different level of analysis, cf. #68

@slde-flash I actually solved it exactly the same way and that's why I came here to report we need a better way ;)
@theofidry not ideal! :)

@jakzal for the reasons explained in #68, this solution doesn't suit ;)

i am still playing with different solutions. #90


How to define unique constrain based on two fields

Hi, I did not found how to define unique constrain base on two fields, could be that done?

Wondering the same thing here, need a unique constraint based on multiple fields.