tput clear does not work under omvs and TERM=dumb

The definition of the dumb terminal has not capability for clear.  The /bin/clear sends a \f (x0c). I think there should be a   clear=\f.

The following one liner fixes the ob
infocmp dumb|sed '$ s/$/ clear=\f,/'|tic -

As a consumer, is this one of the expected workarounds?
thanks
if [ "$_BPX_TERMPATH" = "OMVS" ] ; then
alias clear="/bin/clear"
fi

As a consumer, is this one of the expected workarounds? thanks
if [ "$_BPX_TERMPATH" = "OMVS" ] ; then alias clear="/bin/clear" fi

Yes.


CORS to directline.botframework.com should not return * for Access-Control-Allow-Origin

According to MDN, in the spec, if the CORS is a credentialed request (i.e. request with Cookie or Authentication header), it must not return Access-Control-Allow-Origin: *. Instead, it must return a host name.
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
https://www.w3.org/TR/cors/
Traffic we observed:

Excerpt from MDN "Credentialed requests and wildcards", about the non-* requirement:

Excerpt from MDN "Requests with credentials", about the definition of "credentialed request":

Excerpt from W3C "6.1 Simple Cross-Origin Request, Actual Request, and Redirects", about the non-* requirement:

Excerpt from W3C "Terminology", about the definition of credentials:

Moved to an internally tracked item in the Bot Service devops instance.  Thank you!

Hi @jameslew , has this been fixed yet? If yes, where can I find the steps to reciprocate the solution?


Add new custom definitions for upstream pbr graphs

1. <colortiledimage>
New definition for geometric color stream mixed with image input. All tiledimage inputs are available.

Proposal to get this as core definition.

Key inputs

file: though glTF currently assumes sRGB input color space, but this can be set on instances.
texcoord: texture coordinate set (default is set UV0)
color : input color. default binding is to geomcolor set 0, but can be anything.
color mix : default is 0 = mix none of input RGB to 1 = mix none of input image RGB.
alpha mix : default is 0 = mix none of input alpha to 1 = mix none of input image alpha.

Logic
out color = mix(image color (converted to render color space), geometric color (untransformed))
out alpha= mix(image alpha (untransformed), geometric alpha (untransformed))

2. <extractimage>
Extract out float channels from input 3 channel image.

Proposal to get this as core definition.

Key inputs

flle : input file name
texcoord: texture coordinate set (default is set UV0)
index0: 1st output channel . Default is 0.
index1: 2nd output channel. Default is 1.
index2:  3rd output channel. Default is 2.

0, 1, 2 can be connected to occlusion, roughness, metallic respectively (given assumed default packing)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: kwokcb:x: vernalchenYou have signed the CLA already but the status is still pending? Let us recheck it.

@proog128 , @emackey : I will raise these two utility definitions as core "standard" definitions.
If not accepted they can be part of the gltf "standard" definitions so will be available whenever gltf_pbr is available.
First, I want to check that the definitions are good.
Thanks.

Extract resolved with Jonathan Stone to use channels on inputs instead.
gltf_coloredimage moved to interop pr as it's needed there.


Define ambiguous

@afmagee42 This is almost certainly stale and should be closed, right?

The PR is certainly stale. However, I can't recall if we fixed the issue in another commit or not?

99% sure we don't have a problem with the word "ambiguous" any more


UI change:clubs page

there are some modifications I need to make in the UI of the club's page like

navbar of the page.
2)filter section of the page.

i want to work in this issue under JWOC


[skillshare:class] Add support for skillshare.com classes

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Add support for Skillshare.com classes
Add support for skillshare.com urls such as This one using api calls reversed from the desktop website.

can only downlod entire classes, not single lessons as there are no separate urls for separate lessons
The website has Recaptcha on the login page, so only cookie authentication is supported

Read coding conventions.
Extraction must be implemented in terms of brightcove extractor.
You must provide account credentials.

L

3. You must provide account credentials.

Login via credentials is not possible as there is Recaptcha on login page.
Do you mean credentials for testing?

Do you mean credentials for testing?

Exactly.

email<EMAIL_ADDRESS>pass: D7Gp5TcDjUfkM2

1. Read coding conventions.

2. Extraction must be implemented in terms of brightcove extractor.

3. You must provide account credentials.

I have made the required changes, please verify.

Read coding conventions.

1. Read coding conventions.

Could you please point where I have violated coding conventions?

I have removed the unnecessary variables that were used only once.
I am using get() instead of try_get() as the data is not optional.
Should I add more fallbacks for title, description etc.?

Made more changes, please verify.

Hopefully made all the requested changes. Please Verify


v1.22 having issues with existing and new .keystore files.

I've updated to 1.22 and have deleted my .bubblewrap directory to allow BW to download everything it needs fresh.
When doing bubblewrap update / bubblewrap build I'm getting:
Failed to load signer "signer #1"
java.io.IOException: Keystore was tampered with, or password was incorrect
Two weeks ago I updated this app and I know the password is correct and the .keystore file has not been changed.
As an experiment I attempted to create a new app with bubblewrap init.  That process prompted to create the keystore and everything new, then bubblewrap build failed with an error not able to load the 'android' alias in the newly created keystore file.

The exact error after using BW to generate a keystore and then running bubblewrap build is:
_java.io.IOException: Failed to obtain key with alias "android" from /(PATH TO FILE)/android.keystore.


Otherbrain HF open data integration

Otherbrain is a free human feedback dataset for open models.
Here's a link with more info: https://www.otherbrain.world/human-feedback
Would ya'll be interested in adding 👍👎 to catai to help build the open data set? Happy to help if so.
For reference, here's what the flow looks like in FreeChat. I think we could do something similar in catai:

This is a really cool idea, but right now it is not the top priority feature,
if you want to contribute to CatAI by adding this, it will be welcome :)
Nevertheless, I will add this to the plan in the next major version of CatAI

makes total sense. thanks for taking a look!
if I get some free time I'll try to grok the code and see how I can add 👍👎.


 Follows "who creates, who destroys" rule.
What is the purpose of the change
Protect framework-executor from being destroyed by AbstractCacheManager.
Brief changelog
Introduce disposable resource register mechanism, simplify disposable#destroy implementation.
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Build and Test For PR / Samples Test on ubuntu-latest (JobId: 3) (pull_request) Failing after 17m
@AlbumenJ help! All tests passed on my local PC.

The change itself in the refactoring patch is right. The "who creates, who destroys" design introduced is indeed impressive, but I think it's not so demanded in this scenario in which all operations are restricted inside one instance, it can be more useful when need to release or close resources across different components.

The change itself in the refactoring patch is right. The "who creates, who destroys" design introduced is indeed impressive, but I think it's not so demanded in this scenario in which all operations are restricted inside one instance, it can be more useful when need to release or close resources across different components.

@chickenlj @AlbumenJ Since the change is right, may the PR will be merged back to 3.2? Thanks.

The change itself in the refactoring patch is right. The "who creates, who destroys" design introduced is indeed impressive, but I think it's not so demanded in this scenario in which all operations are restricted inside one instance, it can be more useful when need to release or close resources across different components.

@chickenlj Thank you for your comments. As mentioned, the change is right, is the PR ready to merged back?

From the description of this PR, it fixes the following issue Protect framework-executor from being destroyed by AbstractCacheManager.. But I see is only refactor, without any functionality changes, so I need to make sure if there's any bugfix or enhancement there before merging.

The change itself in the refactoring patch is right. The "who creates, who destroys" design introduced is indeed impressive, but I think it's not so demanded in this scenario in which all operations are restricted inside one instance, it can be more useful when need to release or close resources across different components.

@chickenlj Thank you for your comments. As mentioned, the change is right, is the PR ready to merged back?

From the description of this PR, it fixes the following issue Protect framework-executor from being destroyed by AbstractCacheManager.. But what I see is only refactor, without any functionality changes, so I need to make sure if there's any bugfix or enhancement there before merging.

Functional change: This PR is valuable only when CacheManager's lifecycle is different with Framework.


WIP - memory live set sampler

As discussed this is the current state:
Commits should stand on their own. The most interesting ones are probably "use sampler" and "use separate pool" which implement the meat.
It's not optimized yet to the last instruction as that will require reshuffling a bit of code but I first want to confirm we are happy with the general approach for a v1.
I am using this with https://github.com/redpanda-data/redpanda/compare/dev...StephanDollberg:redpanda:support-mem-profiling?expand=1 (seastar change not committed there):
I am using OMB benchrunner using this config: https://gist.github.com/StephanDollberg/3d51e3ea029708f7aed49a277220cb26 I am happy to try other ones if you think they are more fitting.
These are the last lines of three different runs each:
current dev:
[client 0:0] 16:45:01.158 [main] INFO - E2E Latency (ms) avg: 3.828 - 50%: 3.731 - 99%: 7.073 - 99.9%: 11.093 - Max: 19.623
[client 0:0] 16:45:01.413 [main] INFO - ----- Aggregated Pub Latency (ms) avg: 2.689 - 50%: 2.253 - 95%: 3.460 - 99%: 6.235 - 99.9%: 115.282 - 99.99%: 297.557 - Max: 566.035 | Pub Delay (us)  avg: 169.938 - 50%: 24.000 - 95%: 64.000 - 99%: 77.000 - 99.9%: 57342.000 - 99.99%: 68196.000 - Max: 72037.000

[client 0:0] 16:40:11.059 [main] INFO - E2E Latency (ms) avg: 3.922 - 50%: 3.798 - 99%: 7.706 - 99.9%: 11.915 - Max: 23.610
[client 0:0] 16:40:11.302 [main] INFO - ----- Aggregated Pub Latency (ms) avg: 2.711 - 50%: 2.288 - 95%: 3.703 - 99%: 6.601 - 99.9%: 101.424 - 99.99%: 250.523 - Max: 468.353 | Pub Delay (us)  avg: 157.477 - 50%: 25.000 - 95%: 64.000 - 99%: 77.000 - 99.9%: 53500.000 - 99.99%: 67445.000 - Max: 74282.000

[client 0:0] 16:29:43.995 [main] INFO - E2E Latency (ms) avg: 4.033 - 50%: 3.884 - 99%: 7.773 - 99.9%: 11.462 - Max: 18.480
[client 0:0] 16:29:44.260 [main] INFO - ----- Aggregated Pub Latency (ms) avg: 3.001 - 50%: 2.337 - 95%: 3.967 - 99%: 7.399 - 99.9%: 170.877 - 99.99%: 398.539 - Max: 609.247 | Pub Delay (us)  avg: 219.166 - 50%: 24.000 - 95%: 64.000 - 99%: 77.000 - 99.9%: 79371.000 - 99.99%: 96960.000 - Max: 103688.000

1MB sampling:
[client 0:0] 17:04:58.938 [main] INFO - E2E Latency (ms) avg: 4.207 - 50%: 4.049 - 99%: 7.960 - 99.9%: 12.608 - Max: 26.739
[client 0:0] 17:04:59.205 [main] INFO - ----- Aggregated Pub Latency (ms) avg: 3.125 - 50%: 2.433 - 95%: 4.011 - 99%: 6.609 - 99.9%: 186.264 - 99.99%: 369.935 - Max: 591.547 | Pub Delay (us)  avg: 216.450 - 50%: 24.000 - 95%: 64.000 - 99%: 78.000 - 99.9%: 71178.000 - 99.99%: 97655.000 - Max: 99394.000

[client 0:0] 17:07:49.009 [main] INFO - E2E Latency (ms) avg: 4.190 - 50%: 4.027 - 99%: 8.137 - 99.9%: 12.315 - Max: 32.772
[client 0:0] 17:07:49.294 [main] INFO - ----- Aggregated Pub Latency (ms) avg: 3.164 - 50%: 2.464 - 95%: 4.232 - 99%: 7.424 - 99.9%: 173.275 - 99.99%: 417.215 - Max: 657.475 | Pub Delay (us)  avg: 312.114 - 50%: 24.000 - 95%: 64.000 - 99%: 80.000 - 99.9%: 99721.000 - 99.99%: 127613.000 - Max: 130623.000

[client 0:0] 17:12:33.201 [main] INFO - E2E Latency (ms) avg: 3.968 - 50%: 3.855 - 99%: 7.483 - 99.9%: 11.334 - Max: 18.778
[client 0:0] 17:12:33.452 [main] INFO - ----- Aggregated Pub Latency (ms) avg: 2.799 - 50%: 2.363 - 95%: 3.746 - 99%: 6.397 - 99.9%: 118.937 - 99.99%: 279.579 - Max: 449.807 | Pub Delay (us)  avg: 135.455 - 50%: 24.000 - 95%: 64.000 - 99%: 76.000 - 99.9%: 55372.000 - 99.99%: 79435.000 - Max: 85011.000

So it seems like it maybe has a ~2% perf impact but it certainly is in the noise. I am not sure whether we have nice ways of aggregating these or comparing them.
The following is a flamegraph generated during one such run (with the periodic logging printing the top-20 stacks):

Note the output-to-flamegraph script currently doesn't strip return types from functions so it looks a bit meh.
I will work on exposing the fullset from the admin API next.

Today I did a run with 64k sampling frequency:
[client 0:0] 10:45:36.295 [main] INFO - E2E Latency (ms) avg: 4.489 - 50%: 4.317 - 99%: 8.796 - 99.9%: 14.399 - Max: 33.170
[client 0:0] 10:45:36.557 [main] INFO - ----- Aggregated Pub Latency (ms) avg: 3.315 - 50%: 2.741 - 95%: 4.749 - 99%: 7.724 - 99.9%: 139.540 - 99.99%: 307.537 - Max: 488.957 | Pub Delay (us)  avg: 193.453 - 50%: 24.000 - 95%: 64.000 - 99%: 77.000 - 99.9%: 67339.000 - 99.99%: 93158.000 - Max: 96961.000k

Impact is more clearly visible there.
I also implemented the retrieval of the full stack in the Kafka API. Below is a full sample with 1MB sampling:

I will probably try to apply some hacky filtering for the return types in the script. But will also need to read up, maybe one can avoid that with addr2line or llvm-symbolize or something.

Thanks both @travisdowns / @ballard26
From the comments I understand we don't see any fundamental issues with approach taken.
Hence, as next steps:

I will write this down in the RFC
Clean this up a little bit more and then open for review/merge.

Unless you have any preference I will just work on top of the current set of commits. Then you guys don't have to re-review everything.

I have amended a few commits which address the cleaning up I still wanted to do and hopefully also some of the comments you guys had above.
The commits should stand on their own so reviewing commit by commit should be fine if you prefer that over the whole thing. If you prefer I can also do a rebase now and integrate the new commits into the old ones (instead of doing it later).
There isn't any major functional change, the areas of change are:

General clean up (more comments, sample_weight vs. should_sample). If you think anything is still undercommented please just let me know and I will expand.
Optimize the allocation and sampler a bit, we have less duplicate "should sample" checks now and the fast path in the sampler is also simpler.
I removed the python script. I am not entirely happy with it yet and there is no need to merge it now as it's not bound to a release
I am inclined to move the sampler to a different file as that potentially might make licensing questions easier and also rebasing if for example seastar people would want a dumb "sample every n" sampler instead

As mentioned further above, if you guys want me to run any specific benchmarks then just let me know which (spec). I will tomorrow try to get a better summary out of plot.py.
I will also shortly open the RP PR.

Moved the sampler to its own file and a note to the NOTICE file which in my understanding should answer the licensing questions.
Let me know if you feel differently.

As discussed, have moved the sampler changes into two separate commits (first adding, second our modifications)

Couple comments above touched on this so thought I put a summary and some background on changing sampling size, scoped profiling etc:
Fundamentally changing the sampling frequency doesn't really work right now. The reason is that for that we'd need to track the sample rate/sample weight per allocation so that on free we can reduce the allocation site size by the correct amount (given we store the weighted size and not the original raw size). Note this doesn't really change if you store the original size as then when taking a snapshot you'd have to collect each individual allocation plus its weighted size.
With sampling I am not sure how useful the scoped profiling still is. I guess it was for cases where one didn't want to impose the overhead on everything during an investigation and only look at a small bit but I feel like sampling should solve such usecases. As mentioned above, scoped does still work just changing sample rates in between doesn't really as per above reasons.
I think this is another area where we will just have to see what seastar people think/want. They reasons above are solvable but require more overhead so I don't think fixing them is worth it without a concrete usecase.

As discussed yesterday, I did run a longer 750MB / 50P / 50C OMB run today. Two runs each, one with latest dev build and another with dev+memory sampler PR.
Below, e2e latency distribution, p99 pub latency and p50 e2e latency. I think if anything it shows that OMB is too noisy to detect smaller changes.

Thanks @StephanDollberg. I agree with your assessment.

Just posting the microbenchmark results here again for clarity as they are now hidden int the commits:
v23.2.x

test                                      iterations      median         mad         min         max      allocs       tasks        inst
allocator.single_alloc_and_free_small      270469115     3.701ns     0.009ns     3.692ns     3.712ns       1.000       0.000       100.0
allocator_test.single_alloc_and_free_small_many    18155337    54.877ns     0.034ns    54.798ns    54.918ns      10.000       0.000       985.0
allocator_test.single_alloc_and_free_small_many_cross_page    47225352    21.082ns     0.017ns    21.049ns    21.116ns       5.000       0.000       491.0
allocator_test.single_alloc_and_free_small_many_cross_page_alloc_more     1036909   961.142ns     1.394ns   959.643ns   990.267ns     101.000       0.000     16881.0
allocator.single_alloc_and_free_large       82006844    11.830ns     0.002ns    11.823ns    11.840ns       1.000       0.000       348.0

sampler

test                                      iterations      median         mad         min         max      allocs       tasks        inst
allocator.single_alloc_and_free_small      232397269     4.302ns     0.001ns     4.298ns     4.303ns       1.000       0.000       112.0
allocator_test.single_alloc_and_free_small_many    19644117    50.888ns     0.001ns    50.802ns    50.889ns      10.000       0.000      1105.0
allocator_test.single_alloc_and_free_small_many_cross_page    46667620    21.507ns     0.006ns    21.501ns    21.593ns       5.000       0.000       551.0
allocator_test.single_alloc_and_free_small_many_cross_page_alloc_more     1065955   942.539ns     0.404ns   942.090ns   943.257ns     101.000       0.000     17907.0
allocator.single_alloc_and_free_large       79390976    12.607ns     0.002ns    12.590ns    12.610ns       1.000       0.000       392.0

Those numbers are fairly stable. Two things to note.
First is that these numbers are with sampling compiled in but not enabled. The fast path (i.e.: we are not taking a sample) in the current implementation is optimized for having the sampler turned on so there is actually no difference between having it turned on or off. We know that taking a sample is expensive because of the backtrace, equally microbenchmarking with sampling turned on is difficult because of the probabilistic nature, varying iterations and warmup etc.
Another thing to note, we could bring down the large_allocation overhead and instruction count by force inlining some of the intermediate large allocation layers. I haven't done this here because Travis mentioned his patches do something like that anyway.

First is that these numbers are with sampling compiled in but not enabled. The fast path (i.e.: we are not taking a sample) in the current implementation is optimized for having the sampler turned on so there is actually no difference between having it turned on or off. We know that taking a sample is expensive because of the backtrace, equally microbenchmarking with sampling turned on is difficult because of the probabilistic nature, varying iterations and warmup etc.

Is it possible to turn sampling on but set the period to be so large that it never samples?
Intuitively I'd expect the cost (espeically in something with less non-linear effects like "instrutions") to be something like a fixed cost for having it on C, plus a variable cost like V / p where p is the sampling period.

Is it possible to turn sampling on but set the period to be so large that it never samples?

Yes, then you get the same numbers. As it's basically identical to setting _interval_to_next_sample to INT64_MAX which is what we do if turned off.
(single_alloc_and_free_small_many_cross_page_alloc_more perf test was actually showing a differnce because we had a leftover disable_backtrace_temporarily but that's fixed now)

I have incorporated Travis' optimizations now.

Rebased and squashed, this should be good to go.

Noticed that the cpp20 builds should actually all pass. Applied some minor fixes for gcc (rename and apply inline tag to all always_inline functions)


Bug report:  Failed to parse attributes field:

Prerequisites

[X] I am running the latest CosmPy version.
[X] I checked the documentation and found no answer to my problem.
[X] I checked the existing issues to make sure my problem has not already been reported.
[X] I have read the code of conduct before creating this issue.

Expected Behavior
Parsing of SimulateRequest Parse(response, SimulateResponse()) always works
Current Behavior
Parsing of SimulateRequest Parse(response, SimulateResponse()) does not work for Osmosis
To Reproduce
run simulate_tx using Osmosis rest+https://lcd.osmosis.zone
Context
Parse(response, SimulateResponse()) crashes for Osmosis
Failure Logs
google.protobuf.json_format.ParseError: Failed to parse result field: Failed to parse events field: Failed to parse attributes field: Failed to parse key field: Invalid base64-encoded string: number of data characters (9) cannot be 1 more than a multiple of 4....

I had the same problem using the rest interface. Using grpc with osmosis, I was able to get it to work IF i set the gas fee.

Thank you both for bringing this to our attention We will get back to you with a resolution soon.


Archive The Hack Series

Now that we have concluded The Hack Series (THS) it makes sense to collate all of the information from the event into one single place. I suggest this be hackclub/meta/the_hack_series which has already become a sort of unofficial home for this information.
In terms of what needs to be moved I have made a list below:

@jonleung's time schedules
@jonleung's landing page
Any texts we sent to students
Communication protocols
Scripts
Non sensitive notes

I totally support this. Let's do it.

@hackclub/staff  I'd really like to start getting this issue moving. I've assigned myself so I can now chase up all ye wrong doers.
To start, It'd be great to get everyones notes (preferably censored, ie. no sensitive information) of whichever cohorts they were able to note take for.
@zachlatta I'd like to have a note somewhere about the sign on the door, also it'd be great to have the text and twilio script you used to send out the reminder message
(that worked really well).
@jonleung You have your landing page and schedule still in the hackclub/hackclub repository. I know you have quite a workload at the moment, perhaps delegate this to @MaxWofford or myself.
@MaxWofford The email you sent to the Hack Camp participants is already in the repository, however I'd just like to be sure that we have everything.

@paked Thanks for getting this going! I can confirm that was the only email sent out. If I find any notes, I'll add them after everything is archived.

Closing this because everything has been merged in! Good job team!


Problem connect to CRM

Hello,
I'm starting with Microsoft Dynamics and I'm trying to ingregate a mobile application with Microsoft Dynamics CRM 2015 using the new Microsoft Dynamics CRM Mobile SDK for Android and I have problems making some requests: I can't access to the information of my CRM. I authenticate succesfully by means of SOAP (http://jlattimer.blogspot.com.es/2015/02/soap-only-authentication-using-java.html) instead of OAuth, I also generate CRM classes with the MobileSDKGen tool but I don't know how to make a correct request in order to get the information about my CRM. What data should I send in the message's header?
The class builder of OrganizationServiceProxy allows 2 parameters:

OrganizationServiceProxy(URI, SessionToken)
OrganizationServiceProxy(URI, RequestInterceptor)

On one hand, using SOAP authentication, the server returns a response message that contains not only one but three session tokens: securityToken0, securityToken1  and keyIdentifier.
On the other hand, I don't understand how to create a RequestInterceptor as I have never used before Retrofit library.
Could anyone help me? How can I make a request to CRM server with Mobile SDK, using SOAP authentication?
Thank you very much

Hello;
In past SDK releases we did provide a Java sample that was able to access CRM, so it is possible. However, our SDK team did not have the resources to support such a scenario and we pulled the code from all recent CRM SDK releases. Today, there are two recommended methods to authenticate with CRM using Java code and access the web services. The first is to use the crm-mobilesdk-library-for-android that we provide on GitHub. That download contains library code for OAuth authentication, plus a full set of SOAP and OData classes for sending requests to the server and receiving responses.
The second method is to use the new Web API (currently available for CRM Online only). While the Web API is currently in preview, it will go RTM in the next major CRM release coming soon. The Web API is our future recommended method for cross-platform web access to Dynamics CRM. We have Java sample code in development that demonstrates the Web API that will be published later this year.
Today, if you want to write Java code to access an on-premises Dynamics CRM, I would recommend you look at the crm-mobilesdk-library-for-android.
If you already have acquired the authentication access token, you would set the Authorize header of the HTTP request to the word “Bearer” +  and then populate the message request body with the SOAP information. Again, refer to the request and response SOAP classes in the Mobile SDK.
Thanks
Peter Hecke / Senior Programming Writer / Microsoft Dynamics CRM SDK team
From: chuwoman<EMAIL_ADDRESS>Sent: Friday, July 24, 2015 5:03 AM
To: DynamicsCRM/crm-mobilesdk-library-for-android
Subject: [crm-mobilesdk-library-for-android] Problem connect to CRM (#1)
Hello,
I'm starting with Microsoft Dynamics and I'm trying to ingregate a mobile application with Microsoft Dynamics CRM 2015 using the new Microsoft Dynamics CRM Mobile SDK for Android and I have problems making some requests: I can't access to the information of my CRM. I authenticate succesfully by means of SOAP (http://jlattimer.blogspot.com.es/2015/02/soap-only-authentication-using-java.html) instead of OAuth, I also generate CRM classes with the MobileSDKGen tool but I don't know how to make a correct request in order to get the information about my CRM. What data should I send in the message's header?
The class builder of OrganizationServiceProxy allows 2 parameters:

OrganizationServiceProxy(URI, SessionToken)
OrganizationServiceProxy(URI, RequestInterceptor)

On one hand, using SOAP authentication, the server returns a response message that contains not only one but three session tokens: securityToken0, securityToken1 and keyIdentifier.
On the other hand, I don't understand how to create a RequestInterceptor as I have never used before Retrofit library.
Could anyone help me? How can I make a request to CRM server with Mobile SDK, using SOAP authentication?
Thank you very much
—
Reply to this email directly or view it on GitHubhttps://github.com/DynamicsCRM/crm-mobilesdk-library-for-android/issues/1.

If you want to make a RequestInterceptor you should make it like this:
    requestInterceptor = new RequestInterceptor() {
        @Override
        public void intercept(RequestFacade request) {
            request.addHeader("Authorization", "Bearer " + currentSessionToken);
        }
    };

However, doing this is basically the same as passing in the SessionToken. It was just added to make it so you don't have to store both a header and the token. So Retrofit isn't actually required to use the SDK (I even removed the callback use for all of the requests so you don't have to even touch Retrofit if you don't want to).

This was completely changed in the latest build. I have removed everything except for just one constructor. You now just need the endpoint url and the session token. You should be building the application around a singleton structure for the org services so you should only have one of each instance making this an extremely easy to use system.


starcoder infer failed without inflight batch

The model is built with
python3 /app/tensorrt_llm/examples/gpt/build.py \
        --model_dir ${C_MODEL_PATH} \
        --parallel_build \
        --max_input_len 512 \
        --max_output_len 1024 \
        --output_dir ${TRT_MODEL_PATH} \
        --world_size 2

and I have changed config to
parameters: {
  key: "gpt_model_type"
  value: {
    string_value: "V1"
  }
}

When I attempt to perform inference with the following parameters, the tritonserver consistently gets stuck and does not return any results.
        parameters=dict(
            max_tokens=256,
            bad_words=[""],
            stop_words=[""],
            end_id=0,
            # test="",
        )

And I noticed through nvidia-smi that one of the GPUs is constantly at 100% usage while the other has already free.
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.129.03             Driver Version: 535.129.03   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA A800-SXM4-80GB          Off | 00000000:27:00.0 Off |                    0 |
| N/A   33C    P0              88W / 400W |  70619MiB / 81920MiB |    100%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   1  NVIDIA A800-SXM4-80GB          Off | 00000000:2A:00.0 Off |                    0 |
| N/A   28C    P0              60W / 400W |  65633MiB / 81920MiB |      3%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+

Then I do inference with max_tokens=128 and it returns correctly.
I suspect that end_id does not work correctly and leads to some GPUs getting stuck in an infinite loop.

The second case is to build model with:
    python3 ${BUILD_SCRIPT} \
        --model_dir ${C_MODEL_PATH} \
        --parallel_build \
        --max_input_len 512 \
        --max_output_len 1024 \
        --output_dir ${TRT_MODEL_PATH} \
        --use_weight_only \
        --remove_input_padding \
        --enable_context_fmha \
        --use_gemm_plugin \
        --use_gpt_attention_plugin \
        --paged_kv_cache \
        --use_inflight_batching \
        --world_size 2

And when performing inference on triton with
        parameters=dict(
            max_tokens=512,
            bad_words=[""],
            stop_words=[""],
            end_id=0,
        )

The output results in additional elements beyond what is expected. For example the end of result is '])']).
However, the result without end_id=0 is like ...'])<|endoftext|><fim_prefix><fim_suffix>...

I take a try but I cannot reproduce your issue. Since I don't see the input you use, I pass a simple input used in document
curl -X POST localhost:8000/v2/models/ensemble/generate -d '{"text_input": "What is machine learning?", "max_tokens": 512, "bad_words": "", "stop_words": ""}'

and the results I get
{"cum_log_probs":0.0,"model_name":"ensemble","model_version":"1","output_log_probs":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"sequence_end":false,"sequence_id":0,"sequence_start":false,"text_output":"What is machine learning?\n\nMachine learning is the study of computer algorithms that improve automatically through experience. It is seen as a part of artificial intelligence. Machine learning algorithms build a model based on sample data, known as \"training data\", in order to make predictions or decisions without being explicitly programmed to do so. Machine learning algorithms are used in a wide variety of applications, such as email filtering and computer vision, where it is difficult or infeasible to develop conventional algorithms to perform the needed tasks.\n\nMachine learning is closely related to computational statistics, which focuses on making predictions using computers; but not all machine learning is statistical learning. The study of mathematical optimization delivers methods, theory and application domains to the field of machine learning. Data mining is a related field of study, focusing on exploratory data analysis through unsupervised learning. In its application across business problems, machine learning is also referred to as predictive analytics.\n\nMachine learning is employed in a variety of computing tasks where designing and programming explicit algorithms with good performance is difficult or infeasible; example applications include email filtering and computer vision, where it is difficult or infeasible to develop conventional algorithms to perform the needed tasks.\n\nMachine learning is closely related to computational statistics, which focuses on making predictions using computers; but not all machine learning is statistical learning. The study of mathematical optimization delivers methods, theory and application domains to the field of machine learning. Data mining is a related field of study, focusing on exploratory data analysis through unsupervised learning. In its application across business problems, machine learning is also referred to as predictive analytics.\n\nMachine learning is employed in a variety of computing tasks where designing and programming explicit algorithms with good performance is difficult or infeasible; example applications include email filtering and computer vision, where it is difficult or infeasible to develop conventional algorithms to perform the needed tasks.\n\nMachine learning is closely related to computational statistics, which focuses on making predictions using computers; but not all machine learning is statistical learning. The study of mathematical optimization delivers methods, theory and application domains to the field of machine learning. Data mining is a related field of study, focusing on exploratory data analysis through unsupervised learning. In its application across business problems, machine learning is also referred to as predictive analytics.\n\nMachine learning is employed in a variety of computing tasks where designing and programming explicit algorithms with good performance is difficult or infeasible; example applications"}

You can try the latest main branch (updated last week) first.
If you still encounter same issue, you can clone a repo and make changes on that, and share the end to end reproduced steps to help align the reproduced settings because it is hard to align the setting of backend.

I take a try but I cannot reproduce your issue. Since I don't see the input you use, I pass a simple input used in document
curl -X POST localhost:8000/v2/models/ensemble/generate -d '{"text_input": "What is machine learning?", "max_tokens": 512, "bad_words": "", "stop_words": ""}'

and the results I get
{"cum_log_probs":0.0,"model_name":"ensemble","model_version":"1","output_log_probs":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"sequence_end":false,"sequence_id":0,"sequence_start":false,"text_output":"What is machine learning?\n\nMachine learning is the study of computer algorithms that improve automatically through experience. It is seen as a part of artificial intelligence. Machine learning algorithms build a model based on sample data, known as \"training data\", in order to make predictions or decisions without being explicitly programmed to do so. Machine learning algorithms are used in a wide variety of applications, such as email filtering and computer vision, where it is difficult or infeasible to develop conventional algorithms to perform the needed tasks.\n\nMachine learning is closely related to computational statistics, which focuses on making predictions using computers; but not all machine learning is statistical learning. The study of mathematical optimization delivers methods, theory and application domains to the field of machine learning. Data mining is a related field of study, focusing on exploratory data analysis through unsupervised learning. In its application across business problems, machine learning is also referred to as predictive analytics.\n\nMachine learning is employed in a variety of computing tasks where designing and programming explicit algorithms with good performance is difficult or infeasible; example applications include email filtering and computer vision, where it is difficult or infeasible to develop conventional algorithms to perform the needed tasks.\n\nMachine learning is closely related to computational statistics, which focuses on making predictions using computers; but not all machine learning is statistical learning. The study of mathematical optimization delivers methods, theory and application domains to the field of machine learning. Data mining is a related field of study, focusing on exploratory data analysis through unsupervised learning. In its application across business problems, machine learning is also referred to as predictive analytics.\n\nMachine learning is employed in a variety of computing tasks where designing and programming explicit algorithms with good performance is difficult or infeasible; example applications include email filtering and computer vision, where it is difficult or infeasible to develop conventional algorithms to perform the needed tasks.\n\nMachine learning is closely related to computational statistics, which focuses on making predictions using computers; but not all machine learning is statistical learning. The study of mathematical optimization delivers methods, theory and application domains to the field of machine learning. Data mining is a related field of study, focusing on exploratory data analysis through unsupervised learning. In its application across business problems, machine learning is also referred to as predictive analytics.\n\nMachine learning is employed in a variety of computing tasks where designing and programming explicit algorithms with good performance is difficult or infeasible; example applications"}

You can try the latest main branch (updated last week) first.
If you still encounter same issue, you can clone a repo and make changes on that, and share the end to end reproduced steps to help align the reproduced settings because it is hard to align the setting of backend.

Thanks, the issue has fixed on main branch.


Unsupported feature warning mechanism

What would you like to be added:
A mechanism by which implementations can clearly indicate when they don't support a particular feature and raise that to end-users who try to use the feature.
Why this is needed:
Presently if an end-user tries to use a feature on any given implementation (without having first thoroughly read the docs) it may be very unclear why that feature doesn't work if the implementation doesn't support it. As an improvement to UX it would be nice if implementations can implicate the features they do or do not support so that this can bubble up to the end-users.
Additional Notes:
I'm aware of two proposed ideas for the implementation of this historically:

using statuses to do this on individual objects
using the status on GatewayClass to indicate feature support, therefore enabling the validating webhook to make enforcements before the offending configurations can even be stored

We should consider those and any other options and make a small GEP for this to make sure we have consensus amongst stakeholders.
This relates slightly to #1709 and we should consider where there may be cross-pollination.

/assign @LiorLieberman

Hey @LiorLieberman 👋 just checking in. Let us know if you need any help moving this forward, have any questions, e.t.c.

As discussed, I opened a discussion item about it https://github.com/kubernetes-sigs/gateway-api/discussions/2108.
Will try to follow up with a GEP OR expanding the conformance profiles GEP next week.
The first iteration would be enhancing the API, we will follow up with the webhook work once we have a few implementations already reporting features in the GWC status.

GatewayClassStatus enhancement to include the features is covered by #2163 and is implemented in https://github.com/kubernetes-sigs/gateway-api/pull/2461.
What do you want to do with this issue? I think we should wait until we see more implementations of the SupportedFeatures in status and then revisit the warning mechanism. It may also fit to be a gwctl command

I don't want to see it become only a gwctl command as I think functionality should be exposed through the API as much as possible, but obviously it would be fine if gwctl has some special handling of it for convenience.

/area gwctl


WhiteHouse.gov Drupal launch

I know it's WordPress now, but it'd be cool to highlight that the White House used Drupal – and the We the People petition platform.

Yes, very worthy. PR welcome.

https://dri.es/whitehouse-gov-using-drupal

Fixed by https://github.com/weitzman/drupal-timeline/commit/fa55bc19ebf02fdfaed145a8725fd031bf12408f


error deployed netcore node js

Does this occur consistently?
Repro steps:

Action: appService.Deploy
Error type: Error
Error Message: Failed to get status of deployment.
Version: 0.17.0
OS: win32
OS Release: 10.0.18363
Product: Visual Studio Code
Product Version: 1.47.0
Language: en

Call Stack
Object.<anonymous> extension.bundle.js:164:529064
rejected extension.bundle.js:164:528536
processTicksAndRejections task_queues.js:85:5

Please provide repro steps


Cleanup suggestions

Heya,
A few things that might be good to think about:

The design got updated and broke, again:

@updateURL and @downloadURL (as well as the readme) are currently relying on GH redirecting to your new username
May want to add a @homepageURL to metadata too, so it's easier to get back to the repo
May want to consider attempting to futureproof how we inject instead of relying on classes

Thanks again,
Elliott

Hi Elliott, thank you for your help, I have made the fixes.
Regarding to your idea to rid of rely on classes, it would be really nice, but unfortunately I have no idea how it can be done.
May be cloning existing element and reassigning some fields?


Can't set font path

This seems to hard-code the source URLs for the font files to ../../fonts/roboto/... but that CSS is in /assets/vendor.css meanwhile the fonts are in /fonts/roboto/.... How can I override the ../../? Could you make this work with SASS/SCSS/LESS?

@jacobq would you be able to make a PR to fix this?

I would be willing to, but I am not sure when I will have time to try :( For now I am working around the problem by bringing in roboto-fontface directly and manipulating the paths in my project's ember-cli-build.js file.

Ha so I am using the CSS version in this repo not the Sass version and i import the font files to a location and thus this should work out the box
https://github.com/devotox/ember-cli-roboto-fontface/blob/master/index.js

Hmm, since you say it should work out of the box I took a second look at my situation to see why I ran into problems. It seems like it was due to how materialize-css was coupling with Roboto. Now (1.0.0-beta / since 6f3a707b) it seems that their styling no longer attempts to define @font-face ... for Roboto, and when I use ember-cli-roboto-fontface again it appears to work fine. I must have been doing something wrong or had those paths overridden by materialize or something. (Dummy project here).

Ug, I just built a simple Ember app that gets deployed on a nested URL (i.e. ENV.rootURL = '/some/nested-path/') and tried to used ember-cli-roboto-fontface and ran into this issue again. I want it to fetch fonts from, say, /some/nested-path/fonts/roboto/... but the /some/nested-path/assets/vendor.css has src: url(../../fonts/... so they don't load (get 404 as the browser hits /some/fonts/... instead)


collectd.security-level defaults to empty string, which is invalid

I'm trying to receive collectd inputs to influxdb, but when i try to restart the service i get the following message:

influxdb0 influxd[24391]: run: invalid collectd config: Invalid security level. To generate a valid configuration file run influxd config > influxdb.generated.conf

My influx.conf is exactly like the documentation:
[[collectd]]
enabled = true
bind-address = ":25826"
database = "collectd"
retention-policy = ""
batch-size = 5000
batch-pending = 10
batch-timeout = "10s"
read-buffer = 0
typesdb = "/usr/share/collectd/types.db"
security-level = "none"
parse-multivalue-plugin = "split"

Worth mentioning that my security-level is defined as none, both in my influx.conf and in my collectd.conf (wich is running perfectly):
      LoadPlugin network

      <Plugin "network">
        <Server "my_influxdb_server" "25826">
          SecurityLevel "None"
        </Server>
        ReportStats true
      </Plugin>

So, in theory, there would be no reason to display this message.

System info: Linux 4.15.0-1040-gcp x86_64
InfluxDB version: InfluxDB v1.7.7

I don't see how you can get that error with that config you've shared. Are you sure you only have that one [[collectd]] section? Could you share the rest of your config file? Be sure to strip out any secret information before sharing.

I don't see how you can get that error with that config you've shared. Are you sure you only have that one [[collectd]] section? Could you share the rest of your config file? Be sure to strip out any secret information before sharing.

This is the whole content of my config. I have another input for graphite, i'm not sure if that will cause any conflict.
# Bind address to use for the RPC service for backup and restore.
# bind-address = "<IP_ADDRESS>:8088"

[meta]

dir = "{{influxdb_data_path}}/meta"
retention-autocreate = true

[data]
dir = "{{influxdb_data_path}}/data"
wal-dir = "{{influxdb_data_path}}/wal"
series-id-set-cache-size = 100

[coordinator]
[retention]
[shard-precreation]
[monitor]
[http]
enabled = true
flux-enabled = true
bind-address = "<IP_ADDRESS>:8086"
auth-enabled = false
log-enabled = true
access-log-path = "{{influxdb_log_path}}/access.log"

[[graphite]]

enabled = true
database = "graphite"
retention-policy = ""
bind-address = ":2003"
protocol = "tcp"
consistency-level = "one"

separator = "."
 templates = [
   ".host.resource.measurement.field"
 ]

[[collectd]]
enabled = true
bind-address = ":25826"
database = "collectd"
retention-policy = ""
batch-size = 5000
batch-pending = 10
batch-timeout = "10s"
read-buffer = 0
typesdb = "/usr/share/collectd/types.db"
security-level = "none"
parse-multivalue-plugin = "split"

[logging]
[subscriber]
[[collectd]]
[[udp]]
[continuous_queries]
[tls]

@avebreno the [[collectd]] line near the bottom of your config file is what's causing the error. If I modify the error message to print out the observed value for security-value, it's the empty string.
If you just remove that line, you should be able to start influxd properly.
I will repurpose this issue to fix setting the default value properly, as the intent was for security-level to default to "none" rather than the empty string.

@avebreno the [[collectd]] line near the bottom of your config file is what's causing the error. If I modify the error message to print out the observed value for security-value, it's the empty string.
If you just remove that line, you should be able to start influxd properly.
I will repurpose this issue to fix setting the default value properly, as the intent was for security-level to default to "none" rather than the empty string.

Thank you Mark, the service started when i removed the [[collectd]] line, but now i can't I connect to InfluxDB. When type influx i get the message:

Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp <IP_ADDRESS>:8086: connect: connection refused
Please check your connection settings and ensure 'influxd' is running.

The service is running perfectly and there's no errors in the logs.

I commented the [[collectd]] config in the file and restarted the service and now i can connect again.


v2 breaks references to nested objects

Issue description
Hi,
Today I updated the typescript and typedoc dependencies in a project to take advantage of new features, but found a regression in the new version of this plugin.
Before, getURL would get the full symbol path as a string, but now it only gets the first element, so {@link}s will render with incorrect link and caption.
Code sample
My externalConfig.js:
const packageNames = ['devtools-protocol'];

function getURL(packageName, type) {
    console.log(`getURL(${packageName}, ${type})`);
    const error = () => {
        console.error(`getURL failed for ${packageName}/${type})`);
        return undefined;
    };
    if (packageName === 'devtools-protocol') {
        const baseURL = 'https://vanilla.aslushnikov.com/';
        const prefix = 'Protocol';
        if (!type || type === prefix) {
            return baseURL;
        } else if (type.startsWith(prefix + '.')) {
            const cleanType = type.slice(prefix.length + 1);
            return `${baseURL}?${cleanType}`;
        } else {
            return error();
        }
    } else {
        return error();
    }
}

module.exports = { packageNames, getURL };

JSDoc:
    /**
     * Retrieve all browser cookies.
     *
     * @see {@link devtools-protocol!Protocol.Storage.getCookies |
     *   Storage.getCookies}
     * @returns {Promise<import('devtools-protocol').Protocol.Network.Cookie[]>}
     *   Array of cookie objects.
     */

In version 1.0.3, the console.log line tells me the function is called as getURL('devtools-protocol', 'Protocol.Network.Cookie') and the links are rendered as:
Cookie

See

Storage.getCookies

Whereas in version 2.0.0, the function is called as getURL('devtools-protocol', 'Protocol'), and the links are rendered as:
Cookie

See

Storage.getCookies

Package version
2.0.0
Node.js version
node 18.13.0, typescript 5.0.4
Operating system
Linux
I have tested this issue on a next release
No response

If I give all the symbols as multiple parameters of getURL function to not break existing behavior, will it solve your issue?
export type getURL = (packageName: string, ...types: (string | undefined)[]) => string | undefined;

like this

released a fix using the above mentioned type, https://github.com/imranbarbhuiya/typedoc-plugin-external-link/releases/tag/v2.1.0 check if it works for u
now your code will be
const packageNames = ['devtools-protocol'];

- function getURL(packageName, type) {
+ function getURL(packageName, ...types) {
+ const type = types.join('.');
    console.log(`getURL(${packageName}, ${type})`);
    const error = () => {
        console.error(`getURL failed for ${packageName}/${type})`);
        return undefined;
    };
    if (packageName === 'devtools-protocol') {
        const baseURL = 'https://vanilla.aslushnikov.com/';
        const prefix = 'Protocol';
        if (!type || type === prefix) {
            return baseURL;
        } else if (type.startsWith(prefix + '.')) {
            const cleanType = type.slice(prefix.length + 1);
            return `${baseURL}?${cleanType}`;
        } else {
            return error();
        }
    } else {
        return error();
    }
}

module.exports = { packageNames, getURL };

or better check types length and index

Closing it as a fix was implemented. Reopen if r still having issues

Thanks for the quick fix! Sorry I did not reply before, I was away for the weekend..
One issue I see with your fix is that I think the typing has a mistake, as ref.symbolReference.path is an array of strings (see https://typedoc.org/api/interfaces/SymbolReference.html). So this will be more precise and simplify user's code:
-export type getURL = (packageName: string, ...types: (string | undefined)[]) => string | undefined;
+export type getURL = (packageName: string, ...types: string[]) => string | undefined;

sorry for the late reply. I intentionally changed it because if I use string only, all the arguments u type in getURL fn will show string which is incorrect


Enable ci for windows

Motivation
Enable ci for windows
Test Plan
appveyor pass.
Related PRs
https://github.com/facebook/react-native/pull/21835
Release Notes
[GENERAL] [INTERNAL] [CI] - Enable ci for windows

Android build failure is due to circle ci bug on cache, I have submit a ticket to them.

@empyrical I add a todo for that one. So maybe they can fix it later.
Also, I this the failed issue not exists on latest  nodejs 10, appveyor is using node 10.10.

I took a look a few days ago, but it's too buggy for now.

can you try rebase, so we can check if test_android is green?

It is due to circle ci cache bug, the change is not related to android build.

ok gotcha :)

@hramos ping

@hramos I think this can be merged :)

@facebook-github-bot shipit


Support for a configuration file

It has been a long running request. Now, it is time. Trousseau should support the usage of an optional configuration file in $HOME/.trousseau directory.
Proposed format uses yaml and goes like this:
encryption:
  openpgp:
    gnupg_home: '~/.gnupg'

authentication:
  keyring:
    entry: 'trousseau_passphrase'
  gpg_agent:
    info_file: '/tmp/myinfo_file'
    master_key: '12983AB4E'

remote_storages:
  mys3: s3://aws_access_key:aws_secret_key@bucket:region/remote_file_path
  myothers3: s3://aws_access_key:aws_secret_key@bucket:region/remote_file_path
  gist: gist://user:mysupperduppertoken@:/gist_name
  ssh: scp://user:@host:port/remote_file_path

Proposed according behavior changes are:

trousseau push/pull should support whether trousseau push remote_storage_name and trousseau push myendpointdsn #106
trousseau should support both environment and configuration file variables. Environment priority is higher than configuration file and the former will always overrider the later.
trousseau should expose a configure command to interactively produce a configuration file #107
trousseau configuration file must be optional

Further enhancements:

Reference stores in configuration file

Depends on #103

I'd love to see this feature as I don't want to have to add my S3 details in all the time; for one thing this would mean that my AWS creds are littered throughout my bash history.
The default place for AWS creds which many other tools support (inc. AWS Go SDK) is $HOME/.aws/credentials which looks something like:
~/.aws/credentials
[profile-name]
aws_access_key_id=XXXXXXXXXXXXXXXXX
aws_secret_access_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Perhaps you could also support this where we could just have a profile named trousseau in that file or even better just allow an AWS profile to be specified in the trousseau config file.
Thanks for a great tool.

Hello, is this feature currently being worked on?


Function with object as parameters

Memoize works with strings and numbers but not with more complex parameters like objects like {x:1, y: 1}
Here the pice of code:
var m = require("memoizee");

// not a big deal!
var f = function(a,b)  { console.log(arguments);}

var mf = m(f);

// I had a miss
mf(1,2)
{ '0': 1, '1': 2 }

// I had a hit and that's fine!
mf(1,2)

// Now

// In both successive calls I always got a miss
mf(1,{ x:1, y:1})
{ '0': 1, '1': { x: 1, y: 1 } }

mf(1,{ x:1, y:1})
{ '0': 1, '1': { x: 1, y: 1 } }

I will be nice to have deep comparison, won't it?  May be there is a performance consideration to have.

It's expected, as in both cases you pass different objects, therefore different arguments.
It will pass if it would be done as following:
var obj = { x: 1, y: 1 };
mf(1, obj); // miss
mf(1, obj); // hit

You can however provide your own normalizer, so even if they're different object, they're recognized as same ones:
var mf = m(f, { normalizer: function (args): {
return String(args[0]) + JSON.stringify(args[1]);
} });

mf(1,{ x:1, y:1}); // miss
mf(1,{ x:1, y:1}); // hit


ACM-8593: Update ignition token on refresh

The call to Update was replaced by ensureSecretLabel in commit 83908f2e80bc. This introduces a bug because ensureSecretLabel calls Update only if a label doesn't already exist, whereas we need to call it every time.

/override e2e-ai-operator-ztp-capi

/override ci/prow/e2e-ai-operator-ztp-capi

/cherry-pick release-ocm-2.9


Re-format skip sections

Per http://conda.pydata.org/docs/building/meta-yaml.html#skipping-builds I've put all the skips as comments.
I've put them on one line, so you can grep for "skip: " and get a quick summary of what's not getting built.
If there's a comment explaining the skip, put it on one line before (so you can grep -B1).
We should make people explain their skips. There are a lot of skipped configurations whose reasoning is not obvious at all. This is important if someone wants to fix it

Or should this be merged first?

Let's do #650 first, then this, then leave #652 open until everything supports py3


Unable to read excel file using xlsx.readFile method

I created a electron application with AngularJS. I'm currently working on functionality where I'm tryng to manipulate an excel file. But using exceljs I'm I cannot read the file. What am I doing wrong?
import { Component, OnInit } from '@angular/core';
import * as Excel from "exceljs/dist/exceljs.min.js";
import * as stream from 'stream';
import { forEach } from '@angular/router/src/utils/collection';

@Component({
  selector: 'app-home',
  templateUrl: './home.component.html',
  styleUrls: ['./home.component.scss']
})
export class HomeComponent implements OnInit {
  constructor() {
    var remote = require('electron').remote;// Load remote compnent that contains the dialog dependency
    var fs = require('fs') // Load the File System to execute our common tasks (CRUD)
    const dialog = require('electron').remote.dialog;

    dialog.showOpenDialog({ properties: ['openFile', 'multiSelections'] }, fileNames => {

      console.log(fileNames)
      var inputFilePath = fileNames[0]
      var workbook = new Excel.Workbook()

      console.log('Run')

      workbook.xlsx.readFile(inputFilePath)
        .then(function (zz) {
          console.log('Success')
        });

        console.log('End trigger')
    });
  }

  ngOnInit() {
    // Parse a file
  }
}

I am facing the same problem.... When I use this statement :
workbook.xlsx.readFile(filename.xlsx)
.then(function (zz) {
console.log('Success')
});
Then i get this error: TypeError: d.exists is not a function
Is there anyone solve this problem?

@ashankasr, @timratha Did you manage to get this resolved ? I am facing the same issue and from another thread seems like the .readFile is a server side function and could not be used on UI.
https://github.com/guyonroche/exceljs/issues/336


Unable to enumerate tables after connecting using SAS (jit access)

Preflight Checklist

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

Storage Explorer Version
1.34.0
Regression From
No response
Architecture
x64
Storage Explorer Build Number
No response
Platform
Windows
OS Version
No response
Bug Description
Connected to Table endpoint.
Clicking on Tables to expand all tables in Azurite it throws error
Steps to Reproduce

Launch storage explorer
Connect to storage account using a list+read permissions
Expand Tables.

Actual Experience
Get jit access to list and read for table service.
 Can you elaborate, please, about your infrastructure/setup and on your repro steps? Specifically:

Are you trying to connect to public Azure or to a local instance of Azurite?
Is Storage Explorer running on a work/personal machine or in a VM somewhere?
How did you obtain the SAS you are using? Are you sure it's still valid when it is used (for example, not expired)?
Can you provide more repro steps, including what you do before launching storage explorer, how you connect to your storage resources, and when exactly the error occurs (and perhaps a screenshot of what you see)?

Closing due to inactivity. If you are still experiencing this issue, please leave a comment with additional details, and we can revisit.


Use default ZLIB1 on Windows

The treatment of --with-zlib-lib was a bit sloppy, if it wasn't given, the VC build ended up with the macro LIBZ being set to the empty string.  In all cases where this might be an issue, make sure that the default ZLIB1 is used explicitely.
Fixes #1772

Merged


Calculate page and column statistics

Calculate page and column statistics
Use pre-calculated statistics when available to speed-up when writing data from other formats like ORC.

Hi @zeevm, may you please kindly rebase (to fix the Rust failures) and open a JIRA for this PR

Opened a Jira.
Rebased but the build still fails
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From<EMAIL_ADDRESS>Sent: Tuesday, June 30, 2020 5:00 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [apache/arrow] Calculate page and column statistics (#7586)
Hi @zeevmhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fzeevm&data=02|01||ca14a889614d4f80571608d81cfdfdb7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637291224488922631&sdata=FCeGQFWlQuIH28J9pki%2FknKQZpsFWLxE8NDGK0GqRlk%3D&reserved=0, may you please kindly rebase (to fix the Rust failures) and open a JIRA for this PR
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Farrow%2Fpull%2F7586%23issuecomment-651810251&data=02|01||ca14a889614d4f80571608d81cfdfdb7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637291224488932626&sdata=N7LW7jjDiOU0qhspL1K9ryFlhV6qRo2I7UNX49WByMI%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAA33OJIDL4NW2BFYD5XXPLRZHVY7ANCNFSM4OLZDLIA&data=02|01||ca14a889614d4f80571608d81cfdfdb7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637291224488942623&sdata=mDPE4CcVSGBywy%2Bx5F7pAooHJamdZ1w38yNjMPZtcgE%3D&reserved=0.

Thanks @zeevm, the remaining failure can be fixed by running cargo +stable fmt from within the rust folder. We use the rustfmt from the stable toolchain, to avoid more frequent changes from a nightly one.

How do I complete/merge the PR, do I need to request write access or will it be completed by a maintainer?

@zeevm once approved, a committer will help merge this. Seems the PR now is a little messed up, can you clean it up so I can merge it?


custom dataset without mask

Hi, can I use your model on a custom dataset. If so, how to adjest the code.
Thanks a lot!

Hi, you can firstly extract the object mask with image-matting-app (mode: Generate Mask), or other segmentation methods (e.g., SAM). And then using the extracted masks for inference.


fixes Rotation of content

The tooltip-arrow class was used both, for the arrow and the content. Thus the content of a template was also rotated by 135 degree. This was introduced by a merge and seems to be a bug

@mikegeiss thanks


[Bug] current installation process totally broken

Describe the bug
here https://github.com/integr8ly/grafana-operator/blob/master/documentation/deploy_grafana.md#manual-procedure
documentation described manual installation process as kubectl apply -f deploy/crds
after remove deploy/crds folder
make install
doesn't work cause controller-gen require libc 2.32, which not available ubuntu 20.04 LTS
To Reproduce
clean latest ubuntu LTS (20.04) + runned locally minikube
git clone https://github.com/integr8ly/grafana-operator /tmp/grafana-operator
cd /tmp/grafana-operator
NAMESPACE=grafana VERSION=v3.10.1 make install

Expected behavior
created grafana namespace and successful grafana-operator
Actual behavior
/tmp/grafana-operator/bin/controller-gen: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/grafana-operator/bin/controller-gen)

Suspect component/Location where the bug might be occuring
operator-gen, controller-gen, kustomize
Runtime (please complete the following information):

OS: Ubuntu Linux 20.04
Grafana Operator Version 3.10.1
Environment: minikube

@pb82 could you clarify about properly way to install grafana-operator?

@Slach those binaries should not have been included in the repository. I'll remove them. The make targets will fetch them if not existing (using the correct arch).

Closed through #413 , thanks for reporting @Slach ! and thanks for addressing @pb82

@HubertStefanski @pb82
guys, are you sure downloading 300+ megabytes (including gcc) is necessary to run couple of kubectl apply *.yaml?
why you remove deploy/crds from the repository?
I dodn't see any reasons why we remove crds but stay other yaml files in deploy folder?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
commit 4d49d49218fa66d125f6bac76196616434834d94 ┃
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Author: Hubert Stefanski<EMAIL_ADDRESS>Date:   Fri May 7 19:51:55 2021 +0100

    fix lost commits

D       deploy/crds/Grafana.yaml

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
commit d7dba10b724c4c96ee3fe3c465ba464639387b18 ┃
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Author: Hubert Stefanski<EMAIL_ADDRESS>Date:   Tue Mar 2 16:13:45 2021 +0000

    add dashboard controller to main.go, fix required fields

D       deploy/crds/GrafanaDataSource.yaml

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
commit 10d16126b1af305209a1e12cfe42db0622f0e447 ┃
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Author: Hubert Stefanski<EMAIL_ADDRESS>Date:   Tue Jan 12 16:49:15 2021 +0000

    restructure project and begin moving grafana_controller

D       deploy/crds/GrafanaDashboard.yaml

how properly manually install operator to the exists kubernetes cluster?

Hi @Slach , We moved the CRDs to a new directory to adhere to operator-sdk standards, as for the Binaries, they we're uploaded by accident and excluded in git-ignore post-factum.

@HubertStefanski ok. could you share link where described how to install grafana-operator properly right now?


arch-riscv: Enable RVV run in Minor and O3 CPU

Changes in the PR:

Add IsSquashAfter flag to tell the cpu model force re-fetch the following instructions after executing the vset*vl* instruction
Add initial value for VL and VTYPE
Remove vtype checking in construction so that the minor and o3 cpu and decode the instructions after the vset*vl*

Related issue: #144
To enable run RVV in minor, #225 is required

I'll give this another day to give others a chance to see this. Looks good to me but I'm not a RISC-V expert.
@hnpl : Can you look this over?

cc: @vmskv @adriaarmejach @alvaromorenomv

The code LGTM to enable minor and o3 now. But I have a questions and a concern:
Why do we need to replicate the vtype and  vl register state in decode? I think that using the MISCREG architectural values will simplify things.
My concern is that with this path the issue #144 might still trigger. Say you execute and commit a vsetvl instruction, changing vtype and vl state, and then the vsetvl instructions is squashed due to a previous branch missprediction. The newly decoded instructions after recovering from the missprediction will see the modified vtype and vl state. Maybe I am wrong, but this might still be an issue.
I am all in on enabling Minor and O3 ASAP, so if #144 is easy to fix in this patch that would be great.
Since we are discussing, I am interested in trying to implement a proposal that does not always squash after. Making vsetvlinstructions behave like branches that update vtype and vl state at commit time make things quite easy. If at commit time new_vtype != previous_vtype or new_vl != previous_vl you squashAll (method already exists), otherwise do nothing. With this approach decode can use the current architectural state for vtype and vl. This will enable loops that have the same vsetvl instruction, common case, to execute much faster.

The code LGTM to enable minor and o3 now. But I have a questions and a concern:
Why do we need to replicate the vtype and vl register state in decode? I think that using the MISCREG architectural
values will simplify things.

It's better to remove the vtype and vl in decoder to make it more simply. However, the StaticInst of vector instructions require the vtype and vl parameters to decode(construct) them.

My concern is that with this path the issue #144 might still trigger. Say you execute and commit a vsetvl instruction, changing vtype and vl state, and then the vsetvl instructions is squashed due to a previous branch missprediction. The newly decoded instructions after recovering from the missprediction will see the modified vtype and vl state. Maybe I am wrong, but this might still be an issue.

I can't guarantee the issue #144 will be solved after the change applied, I have tested the vector with https://github.com/ksco/riscv-tests/tree/spike/isa/rv64uv, rvv-intrinsic-doc(all of examples are passed, except for str* since it require vleff* be implemented ) and riscv_o3_bad_vsetvl_execution_reproducer,all of them are passed. The example of #144 shows the correct result for both atomic and o3 cpu.

I am all in on enabling Minor and O3 ASAP, so if #144 is easy to fix in this patch that would be great.
Since we are discussing, I am interested in trying to implement a proposal that does not always squash after. Making vsetvlinstructions behave like branches that update vtype and vl state at commit time make things quite easy. If at commit time new_vtype != previous_vtype or new_vl != previous_vl you squashAll (method already exists), otherwise do nothing. With this approach decode can use the current architectural state for vtype and vl. This will enable loops that have the same vsetvl instruction, common case, to execute much faster.

OK, I will change the vset*vl* instruction to branch like instruction, there is the implementation I saw before https://github.com/hnpl/plct-gem5-1/commits/rvv-cpu.

Update only

The code LGTM to enable minor and o3 now. But I have a questions and a concern:
Why do we need to replicate the vtype and vl register state in decode? I think that using the MISCREG architectural
values will simplify things.

It's better to remove the vtype and vl in decoder to make it more simply. However, the StaticInst of vector instructions require the vtype and vl parameters to decode(construct) them.

I think having the decoder maintaining its own state of vtype and vl regs is okay because it looks like the RISCV decoder does not have access to the architectural state of the core, i.e. the core's ThreadContext (tc) or ExecContext (xc).

OK, I will change the vsetvl instruction to branch like instruction, I have saw the implementation before https://github.com/hnpl/plct-gem5-1/commits/rvv-cpu.

I want to note that this implementation takes a different direction than having the vtype and vl states in decoder.
Instead of having vtype and vl in decoder, the vtype and vl of an instruction are stored in the instruction's PCState, which is a part of every DynInst.
Having vtype and vl in PCState is necessary if the vconfig instructions are treated as branch instructions. This is because for branch instructions, the core will determine whether the branch instruction is correctly executed by comparing the PCStates. This is reflected in this change here, https://github.com/hnpl/plct-gem5-1/commit/b061650493901143ccf60585ef87e46687e2949a#diff-366ad84d19b6100d495edd74366ab39abe982fb2265e611baa839aa9d513b3d9R101.
This is how the vtype and vl are updated,
https://github.com/hnpl/plct-gem5-1/commit/3013eb0c5738bdc588d4d830cf33351d562176a7#diff-0c78d5a93acb1d90c9296beb8cfee1f57b97aec841507f8681158cb529168fa5R90
This is where the next vector instruction acquires the vtype and vl from the previous instruction,
https://github.com/hnpl/plct-gem5-1/commit/8d946c742ea093445e406e518a7e6b485e0f2a75#diff-93a5a8581aba54897a09350ea3f735d79ef1fd441f1970010c765647f6fb4489R130

Thanks @hnpl

Logging call to command: /__w/gem5/gem5/build/ALL/gem5.opt -d /tmp/gem5outppd_thks -re --silent-redirect /__w/gem5/gem5/configs/example/gem5_library/checkpoints/riscv-hello-restore-checkpoint.py
Starting Test Suite: test-gem5-library-riscv-hello-restore-checkpoint-ALL-x86_64-opt
Starting Test Case: test-gem5-library-riscv-hello-restore-checkpoint-ALL-x86_64-opt
Test: test-gem5-library-riscv-hello-restore-checkpoint-ALL-x86_64-opt Failed
Starting Test Case: test-gem5-library-riscv-hello-restore-checkpoint-ALL-x86_64-opt-MatchRegex
Test: test-gem5-library-riscv-hello-restore-checkpoint-ALL-x86_64-opt-MatchRegex Failed

@BobbyRBruce, We need to run util/cpt_upgrader.py to update the riscv-hello-example-checkpoint resource

@BobbyRBruce, we're just waiting on you to update the checkpoints in gem5-resources. Let me know if I can help.


german model fails to download

After installing spacy, I downloaded the English model
via spacy.en.download.
However, using spacy.de.download to download the German model throws an exception:
sputnik.package_list.PackageNotFoundException: de>=1.0.0,<1.1.0
Any recommendations?
Best,
Florian

Ah. Sorry.
Try now.

Hi,
it's working now. Thanks a lot!
Best,
F


Dciborow/linux template testing

Description

Related Issues

Checklist:

[x] I have followed the contribution guidelines and code style for this project.
[x] I have added tests covering my contributions.
[x] I have updated the documentation accordingly.

@dciborow Dan, I asked you a couple of questions, you mentioned earlier that this was work in progress, so not sure if the PR is finished or it is for discussion

@miguel-ferreira , it is ready for review

@miguel-ferreira , would it be a better PR if I backed out all of the templates I am adding, and only added the two pipeline files I need for test harness? I can move all the templates into my central repo.
One thing I really wanted to learn from going through all the reco build pipelines was what I could extract to begin creating a standard template for any future BP repos. This has given me a good sense of it, and would just like to understand what makes the most sense for you.
Basically, the reco repo is my test case, to make sure that my test harness interface for BP repos works.

You are mentioning the wrong Miguel.

@miguel-ferreira we would love to get your contributions :-)

closing this as it was very old and we are reactivating the test machines
https://github.com/microsoft/recommenders/issues/1215


request paging process on verdaccio web

Is your feature request related to a problem?
feature request : request paging process on verdaccio web
If there are many packages in the registry, the verdaccio main page will be slow.
Describe the solution you'd like
paging on web
Describe alternatives you've considered
Additional context

It was already requested,
https://github.com/verdaccio/verdaccio/issues/706
https://github.com/verdaccio/ui/issues/71
I agree, Verdaccio 5 hopefully helps in this area.


No support for arbitrary precision?

serde_json includes an arbitrary_precision feature flag which enables support for large integers. It seems an equivalent isn't available here, making i64 the largest possible integer
I ran into this while trying to use RedisJSON. Posted an issue there originally, but after tracking down a bit more seems the underlying problem is lack of support here
https://github.com/RedisJSON/RedisJSON/issues/869#issuecomment-1321193081
Would it be possible to implement something similar here?

yep. I did see that file. It felt like one big "if/else" with that feature flag splattered all over
but are you saying a similar approach would be acceptable here? I would be willing to try and hack it myself if so

Yes, but you'll need to uphold the existing guarantees of the INumber type. (eg. that you can do comparisons between two numbers regardless of their internal representation)

Just to add support to this: our use case is a bit different namely that we want the exact string that is present in the input. We have our own mechanism for parsing decimals from strings & internally representing them in our application. Having them as f64 requires us to first convert it back to a string & then parse it - which means we're losing both precision & performance without this feature.
As for the implementation, what would it take from serde-json to support this? I'm not sure how this works but is it not possible to just store the input as a string inside a new variant, perhaps copying a lot of functionality if required?

The way INumber works in ijson (you can read the README for more detail on this) is that it uses a number of different representations for numbers internally whilst hiding that from the user (ie. the API is the same regardless).
At the moment, the implementation first splits inputs into those with a decimal point, and those without. Numbers with a decimal point are always represented using an f64, whilst numbers without will an integer type depending on their size.
In order to support arbitrary precision, ijson would need to support a representation for both large integers and large decimal numbers. However, ideally it would still use a compact representation for small integers.
My suggestion would be to use a decodng algorithm like the following:

Check if the input has a decimal point
If so:

Convert the input into a canonical representation (we want 10.0 and 1.0e1 to be represented using the same string so that IValue comparisons are reasonably performant)
Store the canonicalized string, or an equivalent representation using base 10
Store an extra flag indicating that the value originally has a decimal point (or else retain the decimal point in the canonical representation, but this will make equality comparisons slower)

Otherwise:

Convert the input into a canonical representation (we want 10 and 1e1 to be represented the same way)
Check if the input can be represented in a u64 or i64, and if so follow the existing decoding path for those types.
Otherwise, store the canonicalized string representation.

We will need equality to still work regardless of representation, so 1.0 still needs to compare equal to 1 even if they are represented differently. We also need to handle the case where an INumber is constructed directly from an f64 - in that case we can either implement some complicated logic to convert inputs in f64s only when they can be exactly represented, or else we can drop the f64 representation entirely when arbitrary precision is enabled, and convert f64 inputs into the closest representable JSON number (ie. decimal number).


cannot split search and categories/attributes from @section('aimeos_nav')

i have tried creating a new files in templates creating new category/filter file but it cannot solve the problem. should i create a new extension for it?

The current dev-master version contains now separate components for attribute, search and tree parts of the catalog filter: https://github.com/aimeos/ai-client-html/commit/37f0cca3a77742f1227f8fd777ba05270e25079f


unable to boot

Hi,
I am unable to boot into the installer, I just get the apple logo stuck..
What am I doing wrong?

Hi,
To be honest, I have no idea as there's too little information available to troubleshoot.
A quick checklist to help you to start with troubleshooting:

Do you have the very same hardware configuration as I do?
Did you change board serial, MAC address, system serial and system UUID? What it is and how to generate these values is described here and here

In general, mostly everything I know, comes from Dortania Guides.

Hi, Do you have discord so we can talk?
Thanks

Unfortunately, I don't have a Discord, sorry for that.
I've quickly checked GTX 1070 and it seems that I have bad news for you - https://dortania.github.io/GPU-Buyers-Guide/modern-gpus/nvidia-gpu.html#pascal-series-gtx-10xx.
Re internal GPU - I have explicitly set to use external GPU in BIOS. Generally, you may want to try add -wegnoegpu to the boot flags as per https://dortania.github.io/OpenCore-Install-Guide/extras/spoof.html to ensure that you're on iGPU.
I've added possibility to install DEBUG version of OpenCore - just run OC_PKG_VARIANT=DEBUG prior running create-efi.sh and that would make it. So, at least you will have logs.
It would be hard for me to support you more as our hardware configuration differs and all can do is to provide you with links to the documentation (Dortania) and Google for the symptoms and solutions.

Is there any other way we can communicate am eager to get this working, I got my Dell XPS working.
Cant get this for the hell of it.
Please

Hi,
I am getting the exact same issue as @eeonee and get stuck on the Apple logo, after a while the system reboots. My hardware is nearly the same as in the hardware list I just have a Vega56 instead of the RX580. I am going to try the debug version next and will provide my findings here.
In the config.plist I couldn't find the {{MACADDRESS}} placeholder so I was following the dortania guide and put the mac address into Platforminfo -> Generic -> Rom

Hi,
I am getting the exact same issue as @eeonee and get stuck on the Apple logo, after a while the system reboots. My hardware is nearly the same as in the hardware list I just have a Vega56 instead of the RX580. I am going to try the debug version next and will provide my findings here.
In the config.plist I couldn't find the {{MACADDRESS}} placeholder so I was following the dortania guide and put the mac address into Platforminfo -> Generic -> Rom

Hi you can find the Mac address if you use a plist editor, its marked with {{MACADDRESS}}.

Yes my bad I found it here,
https://github.com/vovinacci/OpenCore-ASUS-ROG-MAXIMUS-XI-HERO/blob/e63f9244ea4dca04794bd8c1d5c47becc618c433/OC/config.plist#L898

Yes my bad I found it here,
https://github.com/vovinacci/OpenCore-ASUS-ROG-MAXIMUS-XI-HERO/blob/e63f9244ea4dca04794bd8c1d5c47becc618c433/OC/config.plist#L898

Also if you edit the config.plist add to the bootargs -v for verbose this will tell you where its hanging.

So I booted in debug mode and in the logs I find
12:098 00:035 AAPL: [EB|`LD:LKC] SB -> (System\Library\PrelinkedKernels\immutablekernel)
12:136 00:038 AAPL: [EB|`LD:LKC] BPDK -> (System\Library\PrelinkedKernels\immutablekernel.development)
12:176 00:040 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: System\\Library\\PrelinkedKernels\\immutablekernel.development, DP: 0
12:219 00:042 AAPL: [EB|`LD:OFS] Err(0xE) @ OPEN (System\\Library\\PrelinkedKernels\\immutablekernel.development)
12:257 00:038 AAPL: [EB|`LD:LKC] BPDK,!R -> (System\Library\PrelinkedKernels\immutablekernel)
12:296 00:038 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: System\\Library\\PrelinkedKernels\\immutablekernel, DP: 0
12:351 00:055 OC: Plist Kexts\USBMap.kext\Contents\Info.plist is missing for injected kext USBMap.kext (USB port mapping)

So the info.plist for the USBMap.kext is missing currently I am not sure where I find that file, but I try to investigate.

@hcwilhelm Normally it should be at EFI/OC/Kexts/USBMap.kext/Contents/Info.plist in EFI volume. Just quickly tested - it's there. There've been similar issue https://github.com/vovinacci/OpenCore-ASUS-ROG-MAXIMUS-XI-HERO/issues/16, when Coreutils were not present and Kext was placed to the wrong location. Could you please check?

@vovinacci I checked it and i found EFI/OC/Kexts/USBMap.kext/USBMap.kext/Contents/Info.plist so the kext is somehow double nested. I removed the nesting and it works like a charm. So what did is
Move EFI/OC/Kexts/USBMap.kext/USBMap.kext -> EFI/OC/Kexts/USBMap.kext

@hcwilhelm Thanks for the update! I'm very much curious about the setup you have (packages, path, etc.), so that I can address this issue.

@vovinacci sure so what I did is

I did follow your guide and used bash -c "$(curl -fsSL raw.githubusercontent.com/vovinacci/OpenCore-ASUS-ROG-MAXIMUS-XI-HERO/master/create-efi.sh)" to setup the EFI folder.

Configure {{SERIAL}}, {{BOARDSERIAL}} , {{SMUUID}} and {{MACADDRESS}}

And as I final step I moved EFI/OC/Kexts/USBMap.kext/USBMap.kext -> EFI/OC/Kexts/USBMap.kext to get rid of the nesting of a kext inside a kext

and that's it.

So now my Bluetooth is working now but my front header USB ports stopped working. I guess I have to create my own USBMap.kext to adapt it to my setup. This 15 port limit is annoying ;)

@hcwilhelm Thanks again. Do you have Coreutils installed on the machine where you did run bash -c "$(curl -fsSL raw.githubusercontent.com/vovinacci/OpenCore-ASUS-ROG-MAXIMUS-XI-HERO/master/create-efi.sh)?  I'm really curious. Thanks in advance!

@hcwilhelm Can you post your efi and config.plist please.
@vovinacci how do you run the create-efi.sh if you can't boot into the Mac OS?
Thanks

Yes I have coreutils coreutils: stable 8.32 (bottled), HEAD
Bash is GNU bash, Version 5.0.18(1)-release (x86_64-apple-darwin19.5.0)

Anything else that you need to know?

@eeonee Yes, I have discord.

@eeonee Yes, I have discord. Anyways I can share my EFI folder

please can you share it and send me your discord
Thanks

@eeonee My discord name is hcwilhelm#0568

hcwilhelm#0568

req sent

@eeonee I run it from my old Mac mini or wife's Macbook. Generally, I also have USB stick with last working EFI and macOS installer to be able to boot.

@hcwilhelm Thanks for the update! These are exactly the versions I have as well. As a matter of one more courtesy, can you share your PATH variable value?

@vovinacci sure
echo $PATH
/Users/hcwilhelm/zalando-cli/bin:/usr/local/opt/python@3.7/bin:/Users/hcwilhelm/.jenv/shims:/Users/hcwilhelm/.jenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Library/Apple/usr/bin

@hcwilhelm PATH looks familiar. :) The only thing that differs is that you don't have /usr/local/opt/coreutils/libexec/gnubin in PATH like I do. I'll create PR quickly to add it to the install script and would ask you to test if you have time.

@vovinacci Sure no problem

@hcwilhelm You may want to run install script as bash -c "$(curl -fsSL raw.githubusercontent.com/vovinacci/OpenCore-ASUS-ROG-MAXIMUS-XI-HERO/add-coreutils-path/create-efi.sh)". Seems like I've introduced regression when added DEBUG version support. Need to write tests to track issues like this.

@vovinacci Anyways I tested it and it's fine now. No nexted USBMap.kext anymore 👍

@eeonee Can this issue be closed? I'm anyway cannot help you efficiently with different hardware setup. To help you to troubleshoot OC DEBUG version support been added. But I would be curious to know what was the root cause when it is all fixed.


Custom programming

Allow users to specify custom XMLtv files so you get accurate programming information.

I'm hoping to have something ready by the end of the month.

Any way to use a ics/Google Calendar? TWiT.tv is a great source and they have an auto-updating Google Calendar with the latest info. https://www.google.com/calendar/ical/mg877fp19824mj30g497frm74o%40group.calendar.google.com/public/basic.ics

I don't think I'll go the calendar route. For live streams that run 24/7
most seem to use an XML format.

@Fleker Google Cal also has a XML: https://www.google.com/calendar/feeds/mg877fp19824mj30g497frm74o%40group.calendar.google.com/public/basic

True, although it's in a different format/spec. So calendar support could appear down the line but it'll be farther down on my priority list.

I looked online for a way to convert to XMLTV and all the links are the opposite, XMLTV to ICS. LOL I think more people want ICS online.

If I'm writing a custom parser for one, I think xmltv overall is more popular. I don't know if there's an ics library I can import.

@Fleker This maybe? https://github.com/ical4j/ical4j

I'll look at it. If I can find a way to convert XMLTV it'll be easy to
handle both.
On Sun, Aug 16, 2015, 1:23 PM Brandon Giesing<EMAIL_ADDRESS>wrote:

@Fleker https://github.com/Fleker This maybe?
https://github.com/ical4j/ical4j
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/13#issuecomment-131585155.

I'm closing this issue because I have successfully created an XMLTV parser within the app. With regards to its integration in current channels, please refer to #36
As for using iCal, refer to #37.


How can I draw a horizntol line from the last dot in LineChart?

I managed to draw only the last dot(that was easy)
But how can draw a line that comes from the dot?
Any idea how to proceed with this?

There is an example for this in the DOCS
Missed it. Closing the issue.


Use Linux path separators in .ssh/config

This is a Linux standard and should use / even on Windows.
Also, the whitespace in config is pretty gnarly 🤢

Could you confirm that the configs are less gnarly with this change?
https://github.com/microsoft/vscode-azurevirtualmachines/compare/nat/sshConfigFormat?expand=1


Cant add bot to server

When I try to add the bot to a server, I get the following error:
This bot can't join more servers as it has not been verified or is requesting gateway intents it has not been verified for. Ask the bot's developer about https://dis.gd/bot-verification so you can add it to your server!

The bot cannot be added to more servers for now because it has hit Discord's 100-server limit. We have requested the message intent a week ago and are awaiting approval.

Nice one, thanks for the update :)

Intents are now approved and restrictions removed


Expired events title are grey now.

Hi! I've added gray color for expired events. Code is very easy as you can see 😊

Thanks! 👍

Submitted a new version to App Store with your contribution, should be live soon.
Thanks and have a great weekend @AlexanderSutul !


Add a verbosity parameter to TableReport to control the printing of messages in stdout when opening summary report

Towards #1175

The last thing we need to take care of will be to edit the changelog, so that when we release the next version of skrub users can easily find out about this nice addition!
could you add an entry to this part of the changelog, you can see the formatting in other entries below in the same file.
in particular it needs to contain a sentence like
:pr:`123` by :user:`My Name <mygithubusername>`

to link the changelog entry to the PR and your GitHub account

all green, merging! :tada:  thanks @priscilla-b  :)

as a follow up we could also expose that option in the patch_display function (which is used in the upcoming course I mentioned yesterday)?

Sure, going to look into this @jeromedockes

great, thanks! I'm on the discord even when I'm not in the skrub room so don't hesitate to ping me there if you have any questions