feat: implement startPosition

Update the changelog

feat: implement startPosition prop

Provide an example of how to test the change

this change should test with source.startTime
this change should test with SSAI

Describe the changes

start any video with given position by startPosition prop (ignore negative numbers)
fix #2778

Point 1:
this change should test with source.startTime
--> should not be an issue, but the startPosition will be applied from startTime
Not sure this is clean, source.startTime / endTime are cutting the video so source.startTime become position 0. This position will be the base for applied startPosition.
this change should test with SSAI: -> I agree
Point 2:
Can I propose you to move this property inside the source object ?
Why am I asking that ?

What is the expected behavior if we just change startPosition without changing ? -> should it restart the stream with startPosition or should it just seek ?
do it have sense to change source and keep current startPosition ? (I think no)

the background of this request is also the real time issue your are pointing in the media3 PR. the postDelayed is necessary to ensure all props are well applied. If we correctly want to remove this delay when starting the stream, all props necessary to start the playback shall be stored in the same property.
Let me know if this is not clear !
(else the code looks good to me!)

should not be an issue, but the startPosition will be applied from startTime
I agree (I'll make sure to include that in the documentation as well)

this change should test with SSAI: -> I agree
Unfortunately, I don't have any sample to test

Can I propose you to move this property inside the source object ?
I deeply agree (I think DRM should be included for the same reason (all props necessary to start the playback shall be stored in the same property.))

I agree with all your points, but I think startTime and startPosition can be confusing because of their names (as an aside, I think contentStartTime is also unintuitive).
So, while it might be a breaking change, I was wondering what you think of the following modification.
source={{
  uri: "..."
  startPosition: 0,
  crop: {
    startTime: 0,
    endTime: 0
  }
}}

You are right...
For ads sample, It should be easy to test with the sample!
regarding to naming, I agree this is confusing.
I can propose you cropStart and cropEnd, it can be an easier change. (be carefull you need to warn this is a breaking API change ! ) but your proposal works for me also !

I deeply agree (I think DRM should be included for the same reason (all props necessary to start the playback shall be stored in the same property.))
Yes ! to be follow up in: https://github.com/react-native-video/react-native-video/issues/2693

I am wandering what if we do videofile imports through require, and still need to use cropstart/end feature, in that case we cannot directly get access to uri of that file. Maybe it will be better if you consider making it more flexible?

I am wandering what if we do videofile imports through require, and still need to use cropstart/end feature, in that case we cannot directly get access to uri of that file. Maybe it will be better if you consider making it more flexible?

 I think we should allow (or move ) the require usage inside uri prop of the source!


Refactor scopeForUser function

Nice job! This will shrink down some queries.

Thank you! I'm glad it helps optimize the queries


Custom style

Hi,
How can i set a custom .css file for the project?

Closing because this project is now deprecated.


#177 custom app URL for docs

Super simple check for optional app.docs_url config, a la #177

Codecov Report

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

@@            Coverage Diff            @@
##             master     #181   +/-   ##
=========================================
  Coverage     79.07%   79.07%
  Complexity      178      178
=========================================
  Files             7        7
  Lines           626      626
=========================================
  Hits            495      495
  Misses          131      131

Continue to review full report at Codecov.

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

Can this get merged, please 😄


white borders when downloading image

As introudced in readme, how can I disable the white borders when downloading an image?

See for example settings recommended for laion5B
On Mon, Jan 30, 2023, 10:00 Yongfei Liu @.***> wrote:

[image: image]
https://user-images.githubusercontent.com/24568308/215432070-a2a8e351-4712-42a3-8e18-b555c948ab4a.png
As introudced in readme, how can I disable the white borders when
downloading an image?
—
Reply to this email directly, view it on GitHub
https://github.com/rom1504/img2dataset/issues/274, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAR437SWRQLKCKKQJ4DUN2DWU57KBANCNFSM6AAAAAAUK362SE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


⚠ HawkeUno has degraded performance

In 4aa8526, HawkeUno ($UNO) experienced degraded performance:

HTTP code: 403
Response time: 1259 ms

Resolved: HawkeUno performance has improved in 665d999 after 1 hour, 14 minutes.


fix typos in docstrings

Summary

Fixes a few typos in ECSTask docstring.
Relevant Issue(s)

Checklist

[ x] Summarized PR's changes in the Unreleased section of the CHANGELOG.md

lol. Agree. Maybe the PR template should specify the Changelog is optional

now it wants a checkmark.

On Fri, Sep 16, 2022 at 12:04 PM Andrew @.***> wrote:

@.**** requested changes on this pull request.
In CHANGELOG.md
https://github.com/PrefectHQ/prefect-aws/pull/109#discussion_r973178777:

@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Removed
Fixed
+Typos in ECSTask docstring.
Perhaps this doesn't need to be in CHANGELOG
⬇ Suggested change
-Typos in ECSTask docstring.
—
Reply to this email directly, view it on GitHub
https://github.com/PrefectHQ/prefect-aws/pull/109#pullrequestreview-1110914174,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB2Y3GMFPWSXSATAIGFMY7TV6SLCBANCNFSM6AAAAAAQOLU67E
.
You are receiving this because you authored the thread.Message ID:
@.***>

I agree

Would you like me to wrap this up for you?

Thanks, Andrew. I didn't see you had made the change. I committed it.


Request of pre-trained model

Hi, nice work! I notice that FIDs of Surf-gan look great. Could you provide the pre-trained model which is trained on FFHQ@256?

Hi, thanks for your attention and i read your research before (FENeRF) interestingly!
To provide a pretrained model, we have to retrain the model because we changed name of variables and models for code cleaning and uploading. We will provide the pretrained model of CelebA and FFHQ before ECCV conf.


Recreate Ex2 mesh in gmsh

Hello,
I am trying gmsh recreate a mesh for use in example 2 while using the beam-tet.mesh. I haven't had any luck with getting the expected output and I am at a loss here. I did try to create the structure with two volumes as outlined by the example:

I have tried changing the following,

Change the which surface the ess_bdr is on
Change the index of the pull_force vector
Change which direction the beam is created x-dir in the zip file included
Tried ensuring Physical Volume and Physical Surface have unique identifiers
Tried ensuring Physical Volume and Physical Surface have same identifiers

GLVis shows that there is 3 attributes to interact with as seen below. I also show the output from the example, as well as the expected output from beam-tet.mesh
Does anyone have any guidance for using gmsh with mfem? I will be creating a more complicated structure, but was having issues in just replicating the example. Any help would be greatly appreciated.
Cheers,
PS I should be on v4.5.2
untitled.geo saved in msh22 format
// Gmsh project created on Thu Jun 22 09:03:42 2023
SetFactory("OpenCASCADE");
//+
Box(1) = {0, 0, 0, 10, 2, 2};
//+
Box(2) = {10, 0, 0, 10, 2, 2};
//+
Physical Surface(1) = {1};
//+
Physical Surface(2) = {8};
//+
Physical Surface(3) = {12, 6, 3, 5, 4, 10, 11, 9};
//+
Physical Volume(4) = {1};
//+
Physical Volume(5) = {2};

untitled.zip
Mesh from gmsh

untitled.msh output from example 2

beam-tet.mesh output from example 2

You don't generate 3D volume elements as you can see in the last picture. Also make sure to export from Gmsh as ASCII V2.

The problem with your mesh is that the two boxes you create are not connected — they are just considered two separate volumes that are adjacent. To "merge" them, you need to use Coherence. This will renumber some of the surfaces too. The following gmsh geo file should work for you:
SetFactory("OpenCASCADE");
//+
Box(1) = {0, 0, 0, 10, 2, 2};
//+
Box(2) = {10, 0, 0, 10, 2, 2};
//+
Physical Volume(1) = {1};
//+
Physical Volume(2) = {2};
//+
Coherence;
//+
Physical Surface(1) = {1};
//+
Physical Surface(2) = {7};
//+
Physical Surface(3) = {3, 4, 5, 6, 8, 9, 10, 11};

Thanks @jandrej and @pazner for responding!
@panzer, Your supplied geo file works great! However, I am at a loss now for another issue. As you said, surfaces become renumbered. But when I use the GUI, I generate
SetFactory("OpenCASCADE");
//+
Box(1) = {0, 0, 0, 10, 2, 2};
//+
Box(2) = {10, 0, 0, 10, 2, 2};
//+
Physical Volume(1) = {1};
//+
Physical Volume(2) = {2};
//+
Coherence;
//+
Physical Surface(3) = {1};
//+
Physical Surface(4) = {7};
//+
Physical Surface(5) = {9, 10, 8, 11, 4, 5, 6, 3};

Which increases the Physical Surface number, such that it continues where Physical Volume left off. The only way I know how to force the Physical Surface numbers is to do this manually in the geo file. Is this possible from the GUI?
From @pazner:

The problem with your mesh is that the two boxes you create are not connected — they are just considered two separate volumes that are adjacent.

To clarify the difference between Physical Surface and Physical Volume, let's say with the above example diagram with material 1 and material 2 are different materials, such as Aluminum and Steel. Defining lambda and mu from mesh.attributes.Max() is effectively assigning material properties to the Physical Volumes correct?

Also, with the 3rd Physical Surface surrounding the beam, that isn't saying the surface is one material but that they are bonded right?

Yes.

To clarify the difference between Physical Surface and Physical Volume, let's say with the above example diagram with material 1 and material 2 are different materials, such as Aluminum and Steel. Defining lambda and mu from mesh.attributes.Max() is effectively assigning material properties to the Physical Volumes correct?

Yes.

Which increases the Physical Surface number, such that it continues where Physical Volume left off. The only way I know how to force the Physical Surface numbers is to do this manually in the geo file. Is this possible from the GUI?

I think if you remove and then re-add the physical surfaces you can do this, however I would suggest just editing the geo file directly. My experience with gmsh is that while the GUI is convenient for some operations, usually at some point you will want to edit the geo files manually.

To clarify the difference between Physical Surface and Physical Volume, let's say with the above example diagram with material 1 and material 2 are different materials, such as Aluminum and Steel. Defining lambda and mu from mesh.attributes.Max() is effectively assigning material properties to the Physical Volumes correct?

In a 3D gmsh mesh, Physical Surface will set the attribute numbers for the associated boundary elements (triangles) in the MFEM mesh. Physical Volume will set the attribute numbers for the associated volume elements (tetrahedra) in the MFEM mesh. (There is some more info at the bottom of this page).
Once subsets of the boundary and volume elements are tagged with attribute numbers, physical interpretations (such as boundary conditions, material properties, etc.) can be assigned in the application itself.

Thanks again @pazner for the clarification and help! I will close this issue.

I couldn't find the old post I made, which was actually addressed in issue 2223. So I accidentally made this as a duplicate. I am sorry about that and I am referencing the old issue here so others can see it was in error
I had stepped away from this for a few years and had forgotten what I had don. Thanks again @pazner for helping out!


Adjustable font size

I always open the wrong app.  Font size matching more my finger size would help a lot

Done. Please check.


Rewrite dbi to normal dao layer

We can solve the specific problem in tr069 in regards to preloading by adding a cache layer above the dao layer. With spring this cache can distributed in a cluster. But for web we really dont need this cache.

All existing code will be reused where possible. But the thought is to stop using custom sql Builder and begin to use a jdbc abstraction

I will have to make a new domain model that maps more directly to the schema. Planning to make a dao for each table. And then aggregate those daos in one or more services. This lesds to drastically more simpler code at the dao layer. First use of these daos/services will be web and webservice. In web i almost never need anything else than data to display anyway. Caching and performance in web shouldnt have to be a thought.

Wont do


Add -f flag to cURL install instructions

Per @tianon's comment here: https://github.com/docker/docker/pull/15409#issuecomment-169171846
From the -f description:
(HTTP) Fail silently (no output at all) on server errors. This is mostly done
to better enable scripts etc to better deal with failed attempts. In normal
cases when an HTTP server fails to deliver a document, it returns an HTML
document stating so (which often also describes why and more). This flag will
prevent curl from outputting that and return error 22.

however
We may want to check if combining -f and -S gives the right result, given that -S does;
-S, --show-error
      When used with -s it makes curl show an error message if it fails.

ping @tianon could you have a look at this one, just a sanity check :-)

Perfect, thanks! :+1: :heart:
LGTM
(I use -fsSL just about everywhere these days, and only drop -s when I want a progress bar to be output too, and it's very successful, but most importantly exits non-zero properly on failure.)

Thanks for checking @tianon, I was slightly confused after reading the -S description :smile:

ping @moxiegirl for the merge :)

LGTM!


CI: trigger PL for lite

What does this PR do?
As PL is not dependent on Lite, it makes sense to run testing of PL when ever we make changes in Lite...
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃
cc @carmocca @akihironitta @borda @justusschock @awaelchli

Can you add the new accelerator jobs to checkgroup?

I think it is fine, but if you suggest, I can do it :)

Done!
Note that this is a bit overkill because Lite does not support HPUs or IPUs, so there's very little code shared. But it's okay since tests run fast.


Add "Haybridge High School and Sixth Form"

@Mqlvin First stage of verification passed, official domain for Haybridge High School and Sixth Form is haybridge.worcs.sch.uk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Mqlvin Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Model keeps running forever

What is the issue?
Hi!
I'm using ollama as a backend for code completion. I'm running OpenWebUI for authentication, which proxies requests to my ollama instance locally. However, after some requests (I've been unable to find any similarities so far), the model is stuck running forever (loaded and uses 100% GPU). In my case, this unfortunately ends up thermal throttling the GPU, wastes a lot of power, but also prevents running more workloads on the model until I restart ollama.
A sample log is attached:
always-on.txt
I'm running Ryzen 5700X, but the model runs in a virtualized environment via proxmox, 2x Nvidia tesla P40 are passed in, 48GB system RAM.
Under some workloads (specifically some models), I also suffered issues from GPUs dropping off the bus, I'm not sure it's related and I haven't gathered enough information to say for sure the problem is with ollama or some hardware/virtualization in that case. I suspect this was due to bad model though (I was trying to evaluate deepseek-coder-v2:16b-lite-base-q4_0 and found this is a common problem), but I think I've seen this once running codellama:7b-code.
There are no relevant events in dmesg, the GPUs have persistent mode enabled.
Let me know what further debugging steps should I take.
OS
Linux
GPU
Nvidia
CPU
AMD
Ollama version
0.3.10

Oct 02 11:40:28 grasshopper-tesla ollama[23633]: DEBUG [update_slots] slot context shift | n_cache_tokens=2048 n_ctx=8192 n_discard=1021 n_keep=5 n_left=2042 n_past=2047 n_system_tokens=0 slot_id=1 task_id=10 tid="140304693719040" timestamp=1727869228

This model is codellama:7b-code.  It's stuck in a loop, it appears to have forgotten how to send an EOS token.  ollama has some heuristics to try to catch this, the main one being num_predict, or the maximum number of tokens to predict.  The default for this is 10 * num_context, which should be 20480 in this case.  Since the generated tokens are exceeding the context window, the model has to do a context shift which, looking at the statistics in the log, is incredibly slow.  So it's taking a long time to reach the num_predict limit: slot 1 has been processing for 4 hours at the end of the log with what looks like a completion request for def t.  It's not clear why it's so slow.  You have OLLAMA_NUM_PARALLEL unset or set to 4, so the runner is doing 4 concurrent requests, but I can't imagine why that would cause such a performance hit.
Something else that's interesting is that the the request to the model doesn't contain any special tokens, while the template in the ollama library does.  The model has been updated since it was published, so re-pulling the model might update the template and give the model more guidance on when to emit an EOS token.
The other thing I suggest is setting OLLAMA_NUM_PARALLEL=1 in the server environment to see if that makes a difference.

Thanks. I'll try to run with OLLAMA_NUM_PARALLEL=1. A few questions:

Is there a way to play with num_predict default? Or even cap it to prevent bad requests? This query is from a VS code plugin that doesn't seem to support setting num_predict (I think that needs to go to the query body, right?) I mostly plan to use this for code completion, so having a num_predict would be OK (actually, i could use large context and small predict).
How do you know the context switch takes long? To me I though it takes a long time generate all the tokens to fill the context window and trigger a swap. This might be because my GPU is thermally constrained and clocks down quite a during continuous load. Cooling those beasts (quietly) is more challenging than I anticipated unfortunately.
Who is responsible for applying the template? Ollama or the API client? I expect ollama does it. I pulled codellama:7b-code

Interestingly, the template is in the modefile:
krakonos@grasshopper-tesla:~$ ollama show --modelfile codellama:7b | head -n 10
# Modelfile generated by "ollama show"
# To build a new Modelfile based on this, replace FROM with:
# FROM codellama:7b

FROM /ollama/blobs/sha256-3a43f93b78ec50f7c4e4dc8bd1cb3fff5a900e7d574c51a6f7495e48486e0dac
TEMPLATE "[INST] <<SYS>>{{ .System }}<</SYS>>

{{ .Prompt }} [/INST]
"
PARAMETER rope_frequency_base 1e+06

krakonos@grasshopper-tesla:~$ ollama show --modelfile codellama:7b-code | head -n 10
# Modelfile generated by "ollama show"
# To build a new Modelfile based on this, replace FROM with:
# FROM codellama:7b-code

FROM /ollama/blobs/sha256-8b2eceb7b7a11c307bc9deed38b263e05015945dc0fa2f50c0744c5d49dd293e
TEMPLATE "{{- if .Suffix }}<PRE> {{ .Prompt }} <SUF>{{ .Suffix }} <MID>
{{- else }}{{ .Prompt }}
{{- end }}"
PARAMETER rope_frequency_base 1e+06
LICENSE """LLAMA 2 COMMUNITY LICENSE AGREEMENT

However, I think this might be a red herring, since I have my own vim plugin configured to hopefully use the right template (I'm using the -code variant and insert the <...> tags into the prompt.
My prompt looks like this:
Oct 02 17:29:40 grasshopper-tesla ollama[852]: time=2024-10-02T17:29:40.893Z level=DEBUG source=routes.go:211 msg="generate request" prompt="<PRE> \nstruct TestStruct {\n    int a;\n    int b;\n    int c[];\n};\n\nint main() {\n    static_assert(sizeof(TestStruct) == 2*sizeof(int));\n     <SUF>\n\n\n    return 0;\n}\n <MID>" images=[]

And I will watch out for it, but I'm pretty sure I was able to trigger the same condition.

What I use to experiment with num_predict is just define 2 models, with as only difference the num_predict option. Just name 1 _large and the other _small.
On disk Ollama will use the same files.
It will reload the model on a change, but imho that is not the end of the world.

You can set num_predict as a parameter in a copy of the model:
$ ollama show --modelfile codellama:7b-code | sed -e 's/^FROM.*/FROM codellama:7b-code/' > Modelfile
$ echo "PARAMETER num_predict 1024" >> Modelfile
$ ollama create codellama:7b-code-np1k

It takes the model 13 minutes to generate 1021 tokens and do a context shift:
$ grep task_id=276 ~/Downloads/always-on.txt | tail -2
Oct 02 11:30:16 grasshopper-tesla ollama[23633]: DEBUG [update_slots] slot context shift | n_cache_tokens=2048 n_ctx=8192 n_discard=1021 n_keep=5 n_left=2042 n_past=2047 n_system_tokens=0 slot_id=3 task_id=276 tid="140304693719040" timestamp=1727868616
Oct 02 11:43:45 grasshopper-tesla ollama[23633]: DEBUG [update_slots] slot context shift | n_cache_tokens=2048 n_ctx=8192 n_discard=1021 n_keep=5 n_left=2042 n_past=2047 n_system_tokens=0 slot_id=3 task_id=276 tid="140304693719040" timestamp=1727869425

but you're right that we don't know if that time was actual shift or generation.  You can check the throttling parameters with
nvidia-smi -q -d TEMPERATURE,PERFORMANCE

ollama applies the template.
The log line you quote is a generate request, ie /api/generate.  The requests in always-on.txt are chat requests, ie /api/chat.  I pulled the model and it does very poorly in low/no context completions without the special tokens for both chat and generate endpoints, like the chat requests in the log.  I think it comes down to the model is only suitable for FIM usage, so if you are inserting the <...> tags then I wouldn't expect the looping behaviour from earlier.
Note that you can have ollama apply the template and skip having to insert the tokens yourself by using the suffix parameter:
$ curl -s localhost:11434/api/generate -d '{"model":"codellama:7b-code","prompt":"<PRE> def hello(s: str) <SUF>  return 0 <MID>","stream":false,"options":{"seed":42}}' | jq .response
" -> int:\n import re\n if s == 'hello':\n     print('success')\n else:\n   "
$ curl -s localhost:11434/api/generate -d '{"model":"codellama:7b-code","prompt":"def hello(s: str)","suffix":"  return 0","stream":false,"options":{"seed":42}}' | jq .response
" -> int:\n import re\n if s == 'hello':\n     print('success')\n else:\n   "

Also note that codellama is an old model, counted in internet time.  There are other models which may perform better, depending on your requirements.

Thanks for the tips. I've created a new model with num_predict 512, I'll see if it will get stuck eventually.
I'm actually testing with a friend and we didn't find a way to convince his plugin to put in the FIM markers. I'm using llm.nvim and that works reasonably well.
If the num_predict fixes the loop issue, I think we'll manage to tune out the rest. When these initial issues are solved, I have a list of other models to test. But I found codellama to be widely support by plugins (specifically found some vs code that didn't support other models due to different FIM markers) and want to make this work first so the infrastructure is solid, then tinker with the models.
But TBH for my uses, codellama does reasonably well. My primary use is to put together click boilerplate in python and such things, which it does nicely.
As for the suffix parameter, I love that and I need to check if my plugin can support it (and possibly add the support), that would make trying out and switching models much more convenient.
I'll keep you posted, we'll run more prompts tomorrow!
In the meantime, thanks for the great software, I'm having a great time overall!

Ok, a few observations:

OLLAMA_NUM_PARALLEL=1 doesn't help
Applying num_predict in modelfile works to some extent. However, it's a bit prone to error, since I can easily select other models in different UIs. TBH I'd prefer a time limit for each query, since running large models is so slow, a single query would bog the server for a looong time. Maybe I could do a proxy to apply custom rules, or check if openwebui supports something like it. Applying this globally, for example as environment variable would be highly preferred (both num_predict & time restrictions could be implemented).

One thing that would help me a lot would be an API to list running prompts & cancel them. I could then easily implement a custom supervisor. However, I haven't found a way to do this (maybe it would be possible through nvidia-smi and killing processes, but that seems a bit extreme).
In any case, I don't think there is a fault in ollama, since the issue is caused mostly by hallucinations. I'm closing this issue. Thanks for the help with diagnostics!


PowerShell self-signed certificate code needs corrections

The current code in the PowerShell for Self signed certificate leads to an error when used for creating an Enterprise Security Package based HDInsight Cluster.  The error is related to the domain names that need to be used in the Subject and Dns name.
The issue was also partially addressed in the link  https://docs.microsoft.com/en-us/azure/active-directory-domain-services/active-directory-ds-admin-guide-configure-secure-ldap.
Please change the PowerShell code to the below

New-SelfSignedCertificate -Subject .contoso100.com '
-NotAfter $lifetime.AddDays(365) -KeyUsage DigitalSignature, KeyEncipherment
-Type SSLServerAuthentication -DnsName ".contoso100.com","contoso100.com"

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

ID: 41c4b68f-055e-3983-68dd-fc37c3f72da9
Version Independent ID: 0008043c-8703-85b4-ff09-3a087a65c29b
Content: Configure Secure LDAP (LDAPS) in Azure AD Domain Services
Content Source: articles/active-directory-domain-services/active-directory-ds-admin-guide-configure-secure-ldap.md
Service: active-directory
GitHub Login: @eringreenlee
Microsoft Alias: ergreenl

@arnabganguly Thanks for your feedback! We will investigate and update as appropriate.

@arnabganguly I am able to run the command as mentioned in the document.

@arnabganguly I am able to run the command as mentioned in the document.

@arnabganguly  I have assigned this issue to content author to investigate and update the document as appropriate.

@SaurabhSharma-MSFT please assign to me

@MikeStephens-MS
Thank you Mike.

We reported this to the HDI team and they told us this issue is resolved.
#please-close


How to train model with camera backbone ResNet50?

I found that there had been configs for resnet50 at "bevfusion/configs/nuscenes/det/transfusion/secfpn/camera+lidar/resnet50/convfuser.yaml", but now there is only swin-T, how to train with resnet50 now? Does it not available forever?

Same question

Have you solved it? Can I have further communication with you? Please contact me at<EMAIL_ADDRESS>

We've currently released the configuration files and pre-trained models only for the results reported in the paper. For any other configurations and models, you would need to train the model yourselves. Thank you for your understanding.


Connect another geth or embark instance

Currently I only test locally, how can I add another instance of embark (or geth) to test a contract from two different machines?
Currently I run embark blockchain followed by embark run. How do I connect another node?
I then edited the blockchain.json and set "nodiscover": false, as well as     "maxpeers": 0,
What else must I do?

Hi! see the replies here https://github.com/iurimatias/embark-framework/issues/256 and let me know if it helps, I'll eventually put this in the documentation


can't set minzoom=0

Setting minzoom to 0 doesn't produce any effect, presumably because the 0 is mistaken for a false somewhere like here (the same applies to --maxzoom=0). Values > 0 work fine.

doesn't produce any effect

@tyrasd do you mean that there is no 0/0/0 tile generated here? I just tested with this geojson (I know, very unrealistic) and it tiles at 0/0/0 when minzoom is set to 0.
Something to keep in mind is that mapbox-tile-copy uses Mapnik when tiling particular data types - Mapnik makes some decisions about simplification that can lead to no geometry at z0, even if you specify a tile to exist at z0. The mapbox-tile-copy operations for min/maxzoom only say that the library should attempt to generate a tile here, if it results in an empty tile we throw it away.

Yes. Our use case was here: https://github.com/hotosm/osm-analytics-cruncher/blob/f2b71fc9c70e2279707e20f630a0402ce4aa2107/hotprojects.sh#L4, where we're uploading a large-ish geojson file as vector tiles to s3. Using minzoom=1 everything works fine, but with minzoom=0 results only get calculated up to zoom level 6 (if I remember correctly).
I'm pretty sure conditions like https://github.com/mapbox/mapbox-tile-copy/blob/master/bin/mapbox-tile-copy.js#L42 and https://github.com/mapbox/mapbox-tile-copy/blob/master/lib/tilelivecopy.js#L52 are causing issues when the supplied value is a literal numeric 0.

Ah, you're right! I tested with a case that also set info.minzoom to 0 so it didn't occur to me that options.minzoom was skipped. The following js snippets prove you are correct:
bangbang
var minzoom = 0;
var maxzoom = 15;

[minzoom, maxzoom].forEach(function(zoom) {
  if (!!zoom) {
    console.log('zoom is set to ' + zoom);
  } else {
    console.log('zoom does not exist');
  }
});

// => zoom does not exist
// => zoom is set to 15

check for defined value
var options = {
  minzoom: 0,
  maxzoom: 15
};

var minzoom = options.minzoom || 'there is no minzoom set';
var maxzoom = options.maxzoom || 'there is no maxzoom set';

console.log(minzoom); // => there is no minzoom set
console.log(maxzoom); // => 15

I think if we check for a numeric value here, i.e minzoom >= 0 we should start fixing things. I'll start working on a fix here, thanks for the report @tyrasd!

Hi @tyrasd I'm trying to find a more streamlined workflow for setting min/maxzoom instead of using tippecanoe and ran into this issue. Did you ever find a solution?


Document that HTML formatting not supported in feature labels

When configuring display rules for vector projects in Fusion, HTML tags can be added to apply additional formatting to the label name. This formatting appears in the label textbox within Fusion:

However, when viewing these labels in EC, the HTML tags are passed straight through, resulting in unformatted text and HTML tags appearing in the labels:

Since EC doesn't have any provision for HTML formatting in the labels, please document that:

Only color and size may be specified for feature labels
HTML formatting is unavailable for feature labels

If no other client support the HTML tag, we can validate on fusion UI so they would not be used at all.


Thundagun 1.2.0

Update to 1.2.0: https://github.com/Frozenreflex/Thundagun/releases/tag/1.2.0

Add a new version entry instead of replacing the existing one please

Added new entry alongside previous one.


Remove staging connection api in dataprep

Describe the bug
checking staging connection api is no longer used
To Reproduce
Steps to reproduce the behavior:
Go to create dataset -> click staging db -> getStagingConnection API should not be called
Expected behavior
/stagedb API should be used instead of /getStagingConnection
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Confirmed by @joohokim1
use /stagedb instead !!
1 . Do not use api/preparationdatasets/getStagingConnection (create dataset staging type)
2 . Do not use hive_info  in /transform/configuration. (Create snapshot popup)

hive_info in /transform/configuration should be deleted soon

Related issue #1203

1st integrated test passed.


ffmpeg_2: drop

Motivation for this change
It's outdated and insecure.
closes https://github.com/NixOS/nixpkgs/issues/93984 and closes https://github.com/NixOS/nixpkgs/issues/120371
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I did not test whether the packages actually still work, just whether they build and run.
Two packages remain:

stepmania might compile with a newer Ffmpeg if we use a more recent revision (no release made though) or with the vendored Ffmpeg. cc @RubenAstudillo
Package needs a new maintainer.
pcsxr should also work if updated to 1.9.95. See https://aur.archlinux.org/packages/pcsxr. I gave it a try but stopped after some complications. cc @rardiol

Does ultrastardx still work with ffmpeg3?

Does ultrastardx still work with ffmpeg3?

I was able to build and run it. It played some sounds but I didn't test any functionality.
However, we are also trying to get rid of ffmpeg_3: https://github.com/NixOS/nixpkgs/issues/120705

backport: https://github.com/NixOS/nixpkgs/pull/121908


Auto select newly created item

Currently when we create any element we have to click it manually in order to update the context menu on the left, would be cool to make it update as soon as you create anything.
Example: Figma and Microsoft Office

I have the intention to work on this but I don't know when I'll be able to do it

While planning on how to implement I noticed that doesn't make sence, most users will add more than one item in a row that add one and edit it, so making the the NodeControls show right after placing a new icon isn't the best UX.
The only scenario where this would be great is when the NodeControls doesn't use the same space as the ToolMenu, but for now this isn't possible.


[IOS] Application crash in production (undefined is not an object (evaluating 'r.default'))

Environment
React Native Environment Info:
System:
OS: macOS Sierra 10.12.6
CPU: x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 420.62 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.6.0 - /usr/local/bin/node
Yarn: 1.3.2 - /usr/local/bin/yarn
npm: 6.1.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.2, macOS 10.13, tvOS 11.2, watchOS 4.2
IDEs:
Android Studio: 3.1 AI-173.4819257
Xcode: 9.2/9C40b - /usr/bin/xcodebuild
npmPackages:
react: ^16.4.1 => 16.4.1
react-native: ^0.56.0 => 0.56.0
npmGlobalPackages:
create-react-native-app: 1.0.0
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
Description
Only in production app fails with (in debug all is ok).
TypeError: undefined is not an object (evaluating 'e.default')
at
const { width, height } = Dimensions.get('window');
But Dimensions is imported

@kufufu9 how do you find error cause?

How does your import statement look?

I dont really know where to find the cause of problem, my index.js
import { AppRegistry } from 'react-native';
import App from './App';

AppRegistry.registerComponent('SCards', () => App);

@godofmadness  I was found the cause on https://sentry.io/

This also affects Android release builds (debug is ok)

Do you use react-navigation. This helped for me: https://github.com/aksonov/react-native-router-flux/issues/3124#issuecomment-405212736

@ebaynaud yes, i'm using RNRF, i will try this approach

issue related to react-navigation: https://github.com/aksonov/react-native-router-flux/issues/3124


CosmosClient with wrong key throws DocumentClientException instead of CosmosException

This ticket relates with another one that was been previously closed (https://github.com/Azure/azure-cosmos-dotnet-v3/pull/785). I have basically implemented exactly what was described on that ticket.
I am trying to create a cosmos client with a wrong key. I am able to get a DB and a container but as soon as I try to do a container action I get a DocumentClientException.
new CosmosClient(_appSettings.CosmosDbEndpoint, wrongKey,
       new CosmosClientOptions()
       {
           ConnectionMode = ConnectionMode.Direct,
           SerializerOptions = new CosmosSerializationOptions
           {
              PropertyNamingPolicy = CosmosPropertyNamingPolicy.CamelCase
            }
         });

_database = client.GetDatabase(_databaseId);
_container = _database.GetContainer(_transactionsContainerId);

try
{
   var response = await _container.CreateItemAsync(item);
   response.Resource.ETag = response.ETag;

   return response.Resource;
}
catch (CosmosException e)
{
 ...
}
catch (DocumentClientException e1)
{
...
}
catch (Exception e)
{
... The exception comes here as nothing seems to be able to catch a DocumentClientException
 }

We are using Microsoft.Azure.Cosmos 3.13.0
One of my colleagues did some research and he found that the issue might be on this line of code. It might need to be inside the try catch: https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/Microsoft.Azure.Cosmos/src/Resource/ClientContextCore.cs#L332
Some more details I have found. If we initialize the client with a valid key and then the key gets rotated, we get the CosmosException as expected with the following details:
Response status code does not indicate success: Unauthorized (401); Substatus: 0; ActivityId: XXX; Reason: (Message: {"Errors":["The MAC signature found in the HTTP request is not the same as the computed signature. Server used following string to sign - XXX...
However, as I mentioned above, the DocumentClientException is still thrown if the client is initialized already with an invalid key.

How are you catching the DocumentClientException it is an internal type?
Is the incorrect key a resource token? Is there any chance you can provide a repro of the issue? I just ran the following test and it passed. It seems to be testing the exact scenario you are describing.

How are you catching the DocumentClientException it is an internal type?
Is the incorrect key a resource token? Is there any chance you can provide a repro of the issue? I just ran the following test and it passed. It seems to be testing the exact scenario you are describing.

1 - I am not catching it. If I debug I can see the type of the exception. I did try to import the nuget package "Microsoft.Azure.DocumentDB.Core" which imports the type (DocumentClientException), however the exception still does not fall on that catch block, although while debugging it shoes the type as being DocumentClientException
2- I will need some time to create a test repo as I am currently experiencing this on a repo from my organisation (I will update here once I get to create a small test repo)

Could it be that you are getting some logs / events? Sometimes the SDK does have DocumentClientException internally that might popup in event tracing, but the public facing type is CosmosException (there are places where we convert the DocumentClientException to CosmosException before doing the actual throw).

As I mentioned. I won't be able to create a test repo that quickly. But here are some pics attached so show what I am getting

In regards to the way we set the client, I have attached the picture below. We have a DI which gets sorted at runtime. All I doin order to reproduce the error is while debugging, just change a letter on the primary key obtained and that makes the exception occur.

Can you provide the full exception with the stack trace?

@j82w This reproes on Write operations:
[TestMethod]
public async Task EnsureUnauthorized_ThrowsCosmosClientException()
{
    string authKey = ConfigurationManager.AppSettings["MasterKey"];
    string endpoint = ConfigurationManager.AppSettings["GatewayEndpoint"];
    // Take the key and change some middle character
    authKey = authKey.Replace("m", "M");
    CosmosClient cosmosClient = new CosmosClient(
        endpoint,
        authKey);
    CosmosException exception = await Assert.ThrowsExceptionAsync<CosmosException>(() => cosmosClient.GetContainer("test", "test").CreateItemAsync<dynamic>(new { id = "test" }));
    Assert.AreEqual(HttpStatusCode.Unauthorized, exception.StatusCode);
}

@NRam0s was right about the location for the fix, sharing PR in a min

Thanks guys 👍


feat: add proxy checks to doctor

What does this PR do?
The doctor will now look for proxy environment variables and add those values to the diagnostic report.  Also adds checks to ensure values match between upper and lower case env vars.
What issues does this PR fix or reference?
@W-16510822@

🟢  no vars set
❯ sf doctor
 ›   Warning: @salesforce/plugin-deploy-retrieve is a linked ESM module and cannot be auto-transpiled. Existing compiled source will
 ›   be used instead.
 ›   Warning: @salesforce/plugin-info is a linked ESM module and cannot be auto-transpiled. Existing compiled source will be used
 ›   instead.
=== Running all diagnostics

 ›   Warning: @salesforce/plugin-deploy-retrieve is a linked ESM module and cannot be auto-transpiled. Existing compiled source will
 ›   be used instead.
pass - salesforcedx plugin isn’t installed
fail - you have at least one linked plugin
pass - http_proxy and HTTP_proxy environment variables match
pass - https_proxy and HTTPS_PROXY environment variables match
pass - no_proxy and NO_PROXY environment variables match
pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org
pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com
pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/
pass - using latest or latest-rc CLI version
pass - can access: https://test.salesforce.com
pass - can access: https://appexchange.salesforce.com/services/data
pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest
pass - [@salesforce/plugin-auth] CLI supports v2 crypto
warn - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion

Wrote doctor diagnosis to: /Users/mdonnalley/repos/salesforcecli/plugin-info/1724792030335-diagnosis.json

🟢  mismatched no_proxy and NO_PROXY
❯ NO_PROXY=true no_proxy=false sf doctor
 ›   Warning: @salesforce/plugin-deploy-retrieve is a linked ESM module and cannot be auto-transpiled. Existing compiled source will
 ›   be used instead.
 ›   Warning: @salesforce/plugin-info is a linked ESM module and cannot be auto-transpiled. Existing compiled source will be used
 ›   instead.
=== Running all diagnostics

 ›   Warning: @salesforce/plugin-deploy-retrieve is a linked ESM module and cannot be auto-transpiled. Existing compiled source will
 ›   be used instead.
pass - salesforcedx plugin isn’t installed
fail - you have at least one linked plugin
pass - http_proxy and HTTP_proxy environment variables match
pass - https_proxy and HTTPS_PROXY environment variables match
fail - no_proxy and NO_PROXY environment variables match
pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org
pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com
pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/
pass - using latest or latest-rc CLI version
pass - can access: https://test.salesforce.com
pass - can access: https://appexchange.salesforce.com/services/data
pass - [@salesforce/plugin-auth] CLI supports v2 crypto
pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest
warn - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion

Wrote doctor diagnosis to: /Users/mdonnalley/repos/salesforcecli/plugin-info/1724792316386-diagnosis.json

🟢  mismatched http_proxy and HTTP_PROXY
❯ HTTP_PROXY=http://localhost:8080 http_proxy=http://localhost:8081 sf doctor
 ›   Warning: @salesforce/plugin-deploy-retrieve is a linked ESM module and cannot be auto-transpiled. Existing compiled source will
 ›   be used instead.
 ›   Warning: @salesforce/plugin-info is a linked ESM module and cannot be auto-transpiled. Existing compiled source will be used
 ›   instead.
=== Running all diagnostics

 ›   Warning: @salesforce/plugin-deploy-retrieve is a linked ESM module and cannot be auto-transpiled. Existing compiled source will
 ›   be used instead.
pass - salesforcedx plugin isn’t installed
fail - you have at least one linked plugin
fail - http_proxy and HTTP_proxy environment variables match
pass - https_proxy and HTTPS_PROXY environment variables match
pass - no_proxy and NO_PROXY environment variables match
pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org
pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com
pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/
pass - using latest or latest-rc CLI version
pass - [@salesforce/plugin-auth] CLI supports v2 crypto
fail - can't access: https://test.salesforce.com
fail - can't access: https://appexchange.salesforce.com/services/data
pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest
warn - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion

Wrote doctor diagnosis to: /Users/mdonnalley/repos/salesforcecli/plugin-info/1724792582094-diagnosis.json

🟢  mismatched https_proxy and HTTPS_PROXY
❯ HTTPS_PROXY=http://localhost:8080 https_proxy=http://localhost:8081 sf doctor
 ›   Warning: @salesforce/plugin-deploy-retrieve is a linked ESM module and cannot be auto-transpiled. Existing compiled source will
 ›   be used instead.
 ›   Warning: @salesforce/plugin-info is a linked ESM module and cannot be auto-transpiled. Existing compiled source will be used
 ›   instead.
=== Running all diagnostics

 ›   Warning: @salesforce/plugin-deploy-retrieve is a linked ESM module and cannot be auto-transpiled. Existing compiled source will
 ›   be used instead.
pass - salesforcedx plugin isn’t installed
fail - you have at least one linked plugin
pass - http_proxy and HTTP_proxy environment variables match
fail - https_proxy and HTTPS_PROXY environment variables match
pass - no_proxy and NO_PROXY environment variables match


Perfectnumber

Related Issue

#547

Proposed Changes

Check weather a number is a perfect number or not , A perfect number is a positive integer that is equal to the sum of its positive divisors, excluding the number itself.

Example:
6 is a positive number that is completely divisible by 1, 2, and 3. We know that the number is also divisible by itself but we will not include it in the addition of divisors. When we add these divisors (1 + 2 + 3 = 6), it gives 6, which is equal to the number that we have chosen. So, we say that 6 is a perfect number.

Additional Info
Formula to check perfect number :
If 2k -1 is prime for k>1, then 2k-1(2k -1) is a perfect number.
Checklist

[x] ✅ My code follows the code style of this project.
[x] 📝 My change requires a change to the README.
[x] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

Enter the number.
finding the divisors of the number.
adding the devisors in variable sum.
checking weather a number is a perfect number or not.
printing the result.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Output Screenshot

You need to follow particular guidelines for your README , please follow
these guidelines click here
also you can see how your README should look like see here
for more please go through these here

Why have you committed 3 files ?

Ma'am I have committed only two files.


use new modules api

I'm :-1: on this as it breaks backwards compatibility

@bcardarella my understanding (and anecdotal experience) is that compatibility is based on the version of ember-cli-babel the addon ships with.  Is there some other incompatibility that I'm not aware of?

@Dhaulagiri you are correct, apologies. LGTM :)

@bcardarella at your convenience could we get a release cut with this change in it?

@Dhaulagiri we are planing on deprecating this addon so no new releases will be produced. We will be blogging about this as well as a migration path away from this addon in the near future.

That makes sense.  If it's not too much work it'd be nice to have a final release with the latest changes in it while we wait to migrate, but it's not a huge deal.


Adding JavaScript Audio Visualizer Background

It is basically a background made using html canvas on which visual art changes according to user voice input in microphone.

i wanted to work on this issue under GGSOC 2022


add giovannixxiiicosentino.txt

@philipto

@pietrodev07 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


using allocator for bson

[Describe your pull request here. Please read the text below the line, and make sure you follow the checklist.]

Pull request checklist
Read the Contribution Guidelines for detailed information.

[ ]  Changes are described in the pull request, or an existing issue is referenced.
[ ]  The test suite compiles and runs without error.
[ ]  Code coverage is 100%. Test cases can be added by editing the test suite.
[ ]  The source code is amalgamated; that is, after making changes to the sources in the include/nlohmann directory, run make amalgamate to create the single-header files single_include/nlohmann/json.hpp and single_include/nlohmann/json_fwd.hpp. The whole process is described here.

Please don't

The C++11 support varies between different compilers and versions. Please note the list of supported compilers. Some compilers like GCC 4.7 (and earlier), Clang 3.3 (and earlier), or Microsoft Visual Studio 13.0 and earlier are known not to work due to missing or incomplete C++11 support. Please refrain from proposing changes that work around these compiler's limitations with #ifdefs or other means.
Specifically, I am aware of compilation problems with Microsoft Visual Studio (there even is an issue label for this kind of bug). I understand that even in 2016, complete C++11 support isn't there yet. But please also understand that I do not want to drop features or uglify the code just to make Microsoft's sub-standard compiler happy. The past has shown that there are ways to express the functionality such that the code compiles with the most recent MSVC - unfortunately, this is not the main objective of the project.
Please refrain from proposing changes that would break JSON conformance. If you propose a conformant extension of JSON to be supported by the library, please motivate this extension.
Please do not open pull requests that address multiple issues.

coverage: 100.0%. remained the same when pulling cf81aa75b61ab8fab93471ca274f85e6798908aa on swissQprint:feature/afi/RtBson into fac07e22c5d7dd0423ccf31c02db5603d27e6556 on nlohmann:develop.

@alexfishgait1234 You made your changes in the single_include file, which is generated from the individual files in the include directory.  You need to change the individual files and then update the single_include version using make amalgamate.

Hoi.thanks a lot for writing. Sorry for the mess.i wanted to create pull
request in our forked local repo in order to test it but by mistake did it
for your develop.its still draft of course. We want to use bson format
without any memory allocation with our real-time string and allocator.i
found all places where this allocator support is missing and trying to
implement it.this lib is really greater and we want to integrate it in our
real time product.thanks a lot .alex
On Fri, Sep 29, 2023, 17:31 Niels Lohmann @.***> wrote:

@.**** requested changes on this pull request.

Please amalgamate.
Please add a proper description of the changes. Why are they needed?
What is the benefit?
Please add a test case using the allocator and the string type.

—
Reply to this email directly, view it on GitHub
https://github.com/nlohmann/json/pull/4167#pullrequestreview-1651036275,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AODNI3FSYIBLO3STSUFCEJTX43SVVANCNFSM6AAAAAA5MKXRBQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

how can i remove single_include/hnohmann/json.hpp from pull request please?


Add quality test to main branch

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Unable to delete configuration when name contains "/".

Hello
Unable to delete configuration when configuration name contains "/".
delete file content:
delete:
- 'anomaly-detection-metrics/EC_WCM_LOCAL_DISK_Critical_ers-csp_ec/prod'

Result:
///////////////////////////////////////////////////////////////////
ERROR deletion failed: config anomaly-detection-metrics/EC_WCM_LOCAL_DISK_Critical_ers-csp_/ec contains more than one '/' delimiter
///////////////////////////////////////////////////////////////////
Encoding "/" characters does not help
delete:
- "anomaly-detection-metrics/EC_WCM_LOCAL_DISK_Critical_ers-csp_\u002Fec"

Escaping with "\" neither.

@patrickpichler would this be something that is resolved when we are going for the new yaml syntax?

I didn't plan (at least yet) to rework the delete.yaml. So sadly no.

@miha-anzur on what OS are you?

Actually I just noticed, do you really have a / in your config id name?

Hello
We are using linux.
Linux filesystems are containing "/".
When we are configuring rules for specific filesystem on specific host we have to have an option to see what is the rule about.
The only place is the name.

As of right now, this will cause issues. I would recommend switching away
from names containing /. Maybe replace it with a dash -.
@dynatrace-oss/mac-maintainers we should probably prohibit it on a config
level that a config id can contain a /, or what do you think?

@patrickpichler we should consider moving delete.yaml also to the new configuration where using any supported characters would be possible. Delete.yaml anyways need a rework so it can be executed on per tenant/config basis.

As @kristofdynatrace pointed out in #218 it might beneficial to redesign the whole
delete.yaml feature.

This should be fixed with #351

Will be fixed with release of version 2.0


WIP - CSS Cleanup: ".button_row"

.button_row class appears across:

Form.css (also has .simple_button_row)
MoreOptionsModal.css
StepEditForm.css
IngredientPropertiesForm.css (where it is flex)

IngredientPropertiesForm.css uses flex and the others use lost-grid
Does Run App also have a few different ways to set up buttons in a row with different widths & offsets as well? (I half-remember talking about this)
Should a grid system manage this?

The only time we have buttons in a row (besides in alert modals - which have a set width and usually live in a flex container) is jog controls. Because they are generated from props and are very position specific, I used CSS grid, rows, cols, and spans.
https://github.com/Opentrons/opentrons/blob/edge/app/src/components/JogControls/styles.css#L8
Thats a one off. We dont have many buttons


Castlevania: Lords of Shadow – Ultimate Edition (Steam) Black screen, REMIX message is stuck on startup

Describe the bug

A clear and concise description of what the bug is: white screen on startup

Which Remix version (include branch and commit info for dxvk and bridge if not a stable build): remix-0.2.0

Which GPU: RTX 4090

Which GPU driver version: 531.79

Which game build (and whether it is from Steam/GOG/Other): <IP_ADDRESS> (Steam)

Attach logs!

NvRemixBridge.log
d3d9.log

To Reproduce
Steps to reproduce the behavior: copy the RTX-Remix files to the folder with the executable file and run game
Expected behavior
Game with RTX Remix
Screenshots
If applicable, add screenshots to help explain your problem.

A clear and concise description of what the bug is: Black screen, REMIX message is stuck, but there is audio
Which Remix version (include branch and commit info for dxvk and bridge if not a stable build): remix-0.3.0
Which GPU: RTX 4090
Which GPU driver version: 545.84
Which game build (and whether it is from Steam/GOG/Other): <IP_ADDRESS> (Steam)

Hello! Will you please test this on the latest release and let us know if the issue persists? Thank you!

Hello! Will you please test this on the latest release and let us know if the issue persists? Thank you!

Hello!
still the same
Black screen, REMIX message is stuck, but there is audio
Which Remix version (include branch and commit info for dxvk and bridge if not a stable build): remix-0.5.0
Which GPU: RTX 4090
Which GPU driver version: 552.22
Which game build (and whether it is from Steam/GOG/Other): <IP_ADDRESS> (Steam)

Thank you for confirming! Will you please attach logs from your latest attempt to launch the game? This will help us troubleshoot the problem.

I'm sorry for the delay
CastlevaniaLoSUE_d3d9.log


PlayerJoinEvent & PlayerQuitEvent

Info

Server version: Paper 1.13.2
OldCombatMechanics version: 1.6.6
Server log file: https://hastebin.com/ozelejukep.md
OldCombatMechanics config file: https://hastebin.com/bitohefimu.bash

Problem Description

When people join and leave the server some errors pop up in the console. I do not know if there is any fix for this but it is spamming my console when I have ~30 players online. Hopefully you can help me. If there is anything else you need, just ask.

Plugins: AuctionHouse, BuyCraftX, ChestShop, Citizens 2, Clearlag, CombatLogX, CoreProtect, CrateReloaded (Premium), DGSCOnTime (Own plugin), DGSCXray (Own plugin), EnchantControl, EssentialsX, EssentialsXChat, EssentialsXSpawn, FeatherBoard, HolographicDisplays, JobsReborn, Litebans, LuckPerms, mcMMo, MendingFishBlock (Own plugin), Multiverse Core, Multiverse Portals, MVdWPlaceholderAPI, NightVision, NuVotifier, OldCombatMechanics, PlayerVaultsX, ProtocolLib, Quests, ShopGUIPlus, Skript, Spartan, SuperVanish, Tab, TokenManager, Towny, TownyChat, TownyNameUpdater, Vault, VotingPlugin, Websend, WorldBorder, WorldEdit, WorldGuard and WorldGuardExtraFlags.

Please update to the latest test version of the plugin.


How does the Yolov8 handle multiple bounding boxes in the dataset?

I have changed my dataset into xml files for each image, however I have multiple  tags as I have multiple bounding boxes in my dataset. When running the tutorial 11, the train_yolo.py has some problems. The dataset loads correctly, [None, path to annotations].
Has anyone found a way to train the model for multiple bounding boxes?

Give me your dataset and code you try to run. We'll solve it

Thank you! I tried two attempts, one was to change the VOCannotationsclass to read the CSV files and another attempt which converted the dataset into xml files for each image. I will attach the code files to this comment and here is the link to the dataset:https://www.kaggle.com/datasets/robikscube/textocr-text-extraction-from-images-dataset?select=train_val_images
XML_attempt.zip
CSV_attempt.zip


How to create custom plugin in React?

Hi! Im trying to create a custom plugin in React but, in the docs only show how to in JS. (https://xdsoft.net/jodit/pro/docs/how-to/create-plugin.md)
I tried the same way as create new buttons (using object notation) without success.
Has anyone been able to, or knows how to do it?
Thanks!

@xdan , do we have any update on this, can u post an example of how to create and use a plugin in react

can we get a sample for react version, please, really blocked on this ! @xdan

Hi, added example in README https://github.com/jodit/jodit-react#jodit-plugins

Thanks @xdan , let me try and get back on this.

@xdan , thanks for your help, this works well !

@xdan , this seems not work for jodit-pro-react
its not detecting the plugins

@xdan ,I had previously built two custom plugins using the above technique you showed

Hi, added example in README https://github.com/jodit/jodit-react#jodit-plugins works since 1.3.19

And we are evaluating jodit-pro-react, and we are planning to buy a license, however, the existing custom plugins we wrote are no longer detected in the pro version, I would request your help here !

@xdan , Can you help me here or, can you direct me to a different channel, if there exists one for pro users

@xdan , thanks for the help!

@SandeepVattapparambil
I bought pro license and I'm in same trouble. How did you solve this problem?

@SandeepVattapparambil I bought pro license and I'm in same trouble. How did you solve this problem?

There is example with ppro version https://xdsoft.net/jodit/pro/docs/getting-started/examples.md

@happyGyu , try this example https://codesandbox.io/s/paste-link-gjrm34?file=/src/index.tsx,
it was shared by @xdan

@xdan , @SandeepVattapparambil  Thanks a lot! 👍

@xdan , thanks for your help, this works well !

Hi @SandeepVattapparambil im new to react and enjoying neverending learning. can you share where to add the custom plugin code in react project to get it working?
Thanks!

@edwin1222 , try this example,
https://github.com/jodit/jodit-react#jodit-plugins


Formatter fallback methods for very big numbers

Q
A

Is bugfix?
yes

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
#14950

This one is tricky and I'm not sure if you want it that way.
I couldn't find any reliable way to check when normalized value are mispresented because of internal casting, floating point numbers presentation or precision configuration of PHP but my tests show that comparing normalized value to original one as strings gives a pretty good hint that final output may be broken.
Unfortunately internal casting of very big numbers can't be fixed even with fallback methods since the original value is already corrupted when passed to the method. That is why I've added hint in phpdoc to pass numbers as strings in case of very big ones.
I've added more tests for other formatters to see if these are subjects to the same issue and yes, integer, percent and currency needed to be fixed as well.
Strictly intl formatters are basically fine except ordinal where I've added phpdoc warning for v. big numbers (it should not be used with them anyway).

Merged. Thank you!


Added INI File Support

Modified colour codes for .ini files.

Do I need to add anything else?

Made a few changes to the colors and font style, to bring them more in line with the Material Theme for VS Code.


Fix FunctionDefinitionBuilder for function definition without parameters

Function definitions without the Parameters property or Parameters.Properties property will make OpenAI API respond with an error.
For example, function:
new FunctionDefinitionBuilder(
    "get_current_datetime",
    "Get the current date and time, e.g. 'Saturday, June 24, 2023 6:14:14 PM'"
).Build();

response:
'parameters' is a required property - 'functions.0'

So I made these properties be assigned without adding parameters.

I would support merging this in as well!

I merged this into PR #320, so if that one gets merged in, these commits will as well.

Hey there, thank you for your contribution. It seems that the changes you made were already addressed in https://github.com/betalgo/openai/pull/320. Therefore, since I plan to merge that pull request, I will close this one.


With a composed model (allOf), only set the model which holds a discriminator field as parent

As per swagger spec's definition of allOf, inheritance should only be used in the case the parent model has a discriminator field.
The current implementation is to set the first model as parent but this results in issues with generated code (see https://github.com/swagger-api/swagger-codegen/issues/2096)

After looking at the code, it seems difficult to do it in the parser because we only have the RefModel and not the ModelImpl and thus we don't know if it holds the discriminator.
So maybe allOf shouldn't set the parent at all and it should be done afterwards by the codegen for the interface that has the discriminator.


New ASReview Homepage

This PR implements a new design (by @MartijnUX) of ASReview homepage. The project cards are replaced by a project table that can display more information about each project.

@terrymyc Where are the dots ;)

@terrymyc Where are the dots ;)

As we still need the individual project page, the project-related features stay there for now...

Thanks a lot, @terrymyc, for this great improvement!


UNKNOWN ERROR. PLEASE HELP!

your csv seems empty or the path is wrong.
could you adapt generate_TFRecords.py displaying the file it opens and maybe the first line (which should fail)


Support interval task

close #1

When the previous scheduled task is still retrying but the next scheduled task has started, there will be problems with error accumulation.
Timed tasks can be replaced by creating delayed tasks in the logic of the callee. So close this PR and related issues.


Enable dev/bots/ build_tests for Windows

Description
Enables build_test for Windows. Currently only flutter_gallery has platform directories for the desktop platforms, so this will run only that build, but this will provide an end-to-end build test for Windows.
Once this lands, other example/test projects can be brought online for Windows in the future just by adding the windows/ directory to the project.
Related Issues
https://github.com/flutter/flutter/issues/54295
Tests
I added the following tests: build_test for Windows
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change.

Currently includes https://github.com/flutter/flutter/pull/68656; will be rebased once that lands.


Ratelimit kbfs notifications

Here's a quick and dirty ratelimiting of KBFS notifications.
After sending out a few notifications, here's what the sentNotifications object looks like:
{
  Decrypting:
   { Starting: { '/private/cjb': Tue Dec 01 2015 16:22:07 GMT-0500 (EST) },
     Finished: { '/private/cjb': Tue Dec 01 2015 16:22:07 GMT-0500 (EST) } },
  Verifying:
   { Starting: { '/public/chris': Tue Dec 01 2015 16:23:46 GMT-0500 (EST) },
     Finished: { '/public/chris': Tue Dec 01 2015 16:23:46 GMT-0500 (EST) } }
}

Style-wise, was splitting out rateLimitAllowsNotify() a good idea?
Also includes a fix for Linux runMode==prod.

@keybase/react-hackers PTAL, thanks!

:+1: % comments

Thanks!  Made fixes for every comment, retested on Linux + OS X, merging in.


0.4.7 路径无中文识别闪退

refresh_locale_list [476]: GetKeyboardLayoutList(0, NULL) found 4 layouts.
refresh_locale_list [493]: Received 4 locales.
load_input_helper [866]: refresh_locale_list() found 4 locale(s).
[2021-05-21 00:36:46][LOG][MAIN] cocogoat v0.4.7
[2021-05-21 00:36:46][LOG][MAIN] confd = C:\Users\shizuno\AppData\Roaming\cocogoat\config
[2021-05-21 00:36:46][LOG][MAIN] build = REL2105201725
[2021-05-21 00:36:47][ERR][MAIN] (node:16220) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
[2021-05-21 00:36:55][LOG][MAIN] { width: 410, height: 810 }
[2021-05-21 00:36:55][LOG][MAIN] OCR Datadir is E:\Games\GenshinTools\resources\data\ppocr-data
[2021-05-21 00:36:55][LOG][MAIN] no non-ascii characters in path, read model directly
[2021-05-21 00:36:55][LOG][ocr-0] Worker started :ppocr

--------------------------------------
C++ Traceback (most recent call last):
--------------------------------------
Not support stack backtrace yet.

----------------------
Error Message Summary:
----------------------
PreconditionNotMetError: The third-party dynamic library (mklml.dll) that Paddle depends on is not configured correctly. (error code is 1114)
  Suggestions:
  1. Check if the third-party dynamic library (e.g. CUDA, CUDNN) is installed correctly and its version is matched with paddlepaddle you installed.
  2. Configure third-party dynamic library environment variables as follows:
  - Linux: set LD_LIBRARY_PATH by `export LD_LIBRARY_PATH=...`
  - Windows: set PATH by `set PATH=XXX; (at C:\home\workspace\Paddle\paddle\fluid\platform\dynload\dynamic_loader.cc:252)

嘤嘤嘤

收到，在尝试复现了。


Revalidate Minimum Charge Voucher, after loading Record

When the discountMode of the voucher is Percental and the minimum charge is less then discount charge it shows on opening the voucher detail a error. The error should be only shown in discountMode absolute. This pr fixes the error display, with revalidation the field after loading the record in the form.
Gif (before): http://i.imgur.com/VzhWnnw.gifv
Gif (after): http://i.imgur.com/JuNKCrp.gifv

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/#/issues/SW-15072.
Please use this issue to track the state of your pull request.

Hey,
i changed the validation logic by using the form validation after the record loaded.
See: https://github.com/shopware/shopware/commit/5ebc1081f3635767a63372533961b8d2538658a6
Your linked test suite works with this fix.


Block timestamps?

Would it be possible to display block timestamps as well, in addition to page timestamps?

I once wondered if something similar could be achieved. From what I've researched, Logseq doesn't record timestamps for each block.
With any of the following intentions:

If provide a timestamp for every block

The only way by a plugin is to force the property to be retained each time using a plugin. It may be possible to make it a hidden property and display it using a plugin. The plan is to display a timestamp on mouse hover.  But, adding a timestamp to every block can make the graph bloated.

A pattern that the user assigns only to the blocks that they want to keep records on

User assigns properties to specific blocks each time. It is possible to provide shortcut keys by a plugin to quickly assign properties with timestamps. This is the most feasible.

Currently, I use "date-nlp" plugin to create date links and assign them to their child blocks, but the number of date links increases on pages. If edit that block later, the date will be inconsistent, so I feel it is necessary to separate it into creation date and modification date (time). In that case, it seems appropriate to create two properties in the parent block.

Taking this opportunity as an opportunity, I am thinking of creating a "Block Timestamp Shortcut" plugin.
Please tell me your opinion. I am planning to create a shortcut key that will give the creation timestamp property or the update timestamp property.

It was posted on Logseq discuss about wanting to know when a block was written, so I would like to integrate it with that. https://discuss.logseq.com/t/displaying-block-timestamps/24594

Logseq provides created-at and updated-at properties for blocks, but this functionality is off be default. To enable it, you'd need to change the config
https://discuss.logseq.com/t/how-to-show-created-at-and-updated-at-in-block-properties/21631/4
I've done this and can see the timestamps for blocks. I'm also not aware of any negative consequences of having this flag set to True
I've also recently discovered that logseq is planning to migrate to a DB structure, and I'm not sure if they'll keep the same property names. So for now it's probably not worth doing anything fancy beyond simply showing these existing properties

Is true. That flag is valid.
However, it is not easy to achieve this with a plugin. This is because Logseq does not expose that property. Currently, When displaying, it is necessary to read the database for each block.  It may be faster to change the script of Logseq itself. I'm thinking of a way to do that.  It seems that this cannot be achieved without issuing a pull request to Logseq.

@mtravers submitted a pull request. I will finish here.
https://github.com/mtravers/logseq/pull/2

Thanks for your work :) I'll follow that pr there


The automated release is failing 🚨

:rotating_light: The automated release from the master branch failed. :rotating_light:
I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
 You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here are some links that can help you:

Usage documentation
Frequently Asked Questions
Support channels

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.

Invalid vsce personal access token. Additional information:
Error: Command failed with exit code 1: vsce verify-pat
ERROR  Can not read the publisher's name. Either supply it as an argument or run vsce from the extension folder. Additional information:
Error: Manifest needs the 'activationEvents' property, given it has a 'main' property.
Unfortunately this error doesn't have any additional information. Feel free to kindly ask the author of the semantic-release-vsce plugin to add more helpful information.

Good luck with your project ✨
Your semantic-release bot :package::rocket:

:rotating_light: The automated release from the master branch failed. :rotating_light:
I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
 You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here are some links that can help you:

Usage documentation
Frequently Asked Questions
Support channels

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.

Invalid vsce personal access token. Additional information:
Error: Command failed with exit code 1: vsce verify-pat
ERROR  Can not read the publisher's name. Either supply it as an argument or run vsce from the extension folder. Additional information:
Error: @types/vscode ^1.78.0 greater than engines.vscode ^1.55.0. Consider upgrade engines.vscode or use an older @types/vscode version
Unfortunately this error doesn't have any additional information. Feel free to kindly ask the author of the semantic-release-vsce plugin to add more helpful information.

Good luck with your project ✨
Your semantic-release bot :package::rocket:

:rotating_light: The automated release from the master branch failed. :rotating_light:
I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
 You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here are some links that can help you:

Usage documentation
Frequently Asked Questions
Support channels

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.

Invalid vsce personal access token. Additional information:
Error: Command failed with exit code 1: vsce verify-pat
ERROR  Can not read the publisher's name. Either supply it as an argument or run vsce from the extension folder. Additional information:
Error: Manifest needs the 'activationEvents' property, given it has a 'main' property.
Unfortunately this error doesn't have any additional information. Feel free to kindly ask the author of the semantic-release-vsce plugin to add more helpful information.

Good luck with your project ✨
Your semantic-release bot :package::rocket:


Gemmolo 140:  Update registration page to include display name

@Ntu2koTrevor please help  add the profile alias input field to display on registration page.

@miltontony @codiebeulaine please review
Added additional register field for Display Name Alias

LGTM 👍


Upgrade to version 8.0.20

Checklist

[y ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[y ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

@conda-forge-admin, please rerender

@nehaljwani, please suggest any improvements for the build

@conda-forge-admin please rerender

I have a pull request for this at https://github.com/conda-forge/mysql-feedstock/pull/8


ppp: termination packet not sent

Describe the bug
When working with ppp protocol, everything connects okay, and I have a ping from my linux machine.
When I run net iface down from the shell I expected that the ppp stack will send termination packet to pppd.
To Reproduce
Build any sample with ppp and shell.
Impact
It has an impact on the cellular stack, since ppp_stop does not really disconnect the modem from the internet,
so when calling start after that, the modem is in data mode and not in command mode.

I am not so sure that we net iface down should map into "administrative Close" of PPP link. It is something to discuss how it should behave. In Linux for example, pppd is a userspace process that is responsible for setting up PPP link and configuring network interface. It creates ppp0 network interface, communicates over serial to setup a link and if everything is ready (PPP link is up) it sets ppp0 interface up, so that userspace applications can start using it. When userspace wants to shut down PPP, then it sends signal into pppd process (this is what poff does) to gracefully shut down PPP link. Note that you do not call ip link set ppp0 down or similar to achieve that, as it would just disable network interface and leave PPP link up.
So the question is: what are net_if_up() and net_if_down() responsible for in Zephyr? So far they are called both by network drivers to tell that network drivers are ready, as well as they are the mechanism applications can use for enabling/disabling network interface. This is why #28998 was started.


fix: add additional column while updating cart items

Issue Reference
#10380

@phyothiha ,
Please update the PR with the latest code from the 2.2 branch.

@amit-webkul
Should I merge the 2.2 branch into this branch or rebase this branch on top of 2.2?


DisabledWorlds UseAsWhiteList seems broken in recent update

*Description of issue:
I think this broke with the last update:
  DisabledWorlds:
    # By setting this to true, Jobs plugin will be disabled in given worlds
    # Only commands can be performed from disabled worlds with jobs.disabledworld.commands permission node
    Use: true
    # If true, will changes the list behavior, so if a world is added to list
    # the payments will only works in the given worlds.
    UseAsWhiteList: true
    List:
    - survivalworld

I had to set Use: false to get Jobs working in survivalworld
Prior to disabling, the error I would receive is "You cannot use this command in this world"

Server Type (Spigot/Paperspigot/etc): Paper
Server Version (using /ver): Paper 214 / 1.16.3

https://github.com/Zrips/Jobs/issues/929


Tock 2.0: touch api and example app for 2.0 API

This pull request adds the touch driver API and example.
It should close #126

bors r+

bors r+


[bazel] add remaining lint rules that are run in ci/jobs/quick-lint.sh

There are Bazel BUILD, C/C++, and license header lint rules that are easy to run with Bazel. However, there are several other lint checks that are run in CI, including checks for:

[ ] Python code
[ ] Rust code
[ ] autogenerated code
[ ] non-ascii characters
[ ] exe bits

We should add Bazel rules for these and perhaps

[ ] a single rule to run them all
so that the quick-lint.sh CI script may be replaced with a single bazel run ... command.

Lastly, we should

[ ] update the website documentation on how to run these checks

@timothytrippel @cfrantz have any of these enhancements been implemented yet?

no it doesn't look like it yet

Since they're being implemented as tests they're pretty easy to run comprehensively now so I'm checking that off

Miles said he would start looking into migrating the quick-lints to //quality.


Yank Arpack_jll v3.8.0

According to @giordano and https://github.com/JuliaLinearAlgebra/Arpack.jl/issues/138 and https://github.com/JuliaLinearAlgebra/Arpack.jl/commit/d014b07135ce907c0d9ad536074a66af0eea6cb1 this release appears to be broken.
@ViralBShah is this right?
Without this being yanked I'm getting v3.8.0 resolved, and Arpack.jl held down at v0.5.0.
And seeing issues on aarch64 machines

Yes we can yank this.

I noted that Arpack_jll 3.5 also suffers from the same issue, and that this may not have to do with Arpack at all. https://github.com/JuliaLinearAlgebra/Arpack.jl/issues/138#issuecomment-1286760090
We should un-yank this - if that is a term.

We should revert this PR.


How to achieve off-screen rendering wiht framebuffer on Android?

Android.

See our RenderTarget API, it is not Android specific:
https://github.com/google/filament/blob/main/filament/include/filament/RenderTarget.h
Here's an example:
https://github.com/google/filament/blob/e8a7d9f0c29b26dd028306d27e4e6d44dd25b1fa/samples/lucy_bloom.cpp

If you're interested in rendering into a surface from outside of filament, you can see our camera and stream samples in /android/samples/.

I looked at this part of the code, but how do I get final texture ID, which I need to render and codec

My Programe like this: https://ftp.bmp.ovh/imgs/2020/08/a649af4131bdd782.jpg

My program like this:


Add documentation for graphblas.matrix_reduce_to_vector

graphblas.matrix_reduce_to_vector is entirely missing from the docs.

https://github.com/metagraph-dev/mlir-graphblas/pull/191 adds the missing documentation.


hive: Reduce hive trace logs to debug level

The cilium-agent logs get spammed with this information in standard
environments, but these logs are not generally useful for users to
understand what's going on. The vast majority of them take microseconds
to run so they don't have any meaningful impact on startup.
Create a threshold to only report long-running tasks at info level,
while leaving most such reporting at debug level.
See also corresponding Hive library PR https://github.com/cilium/hive/pull/2.

/test

/test

CI hit #32038, not a required workflow.

Probably it makes sense to align behind the proper implementation for the library and just update this to match, so we can be sure both trees are in sync? I'll iterate in https://github.com/cilium/hive/pull/2 for now.

I didn't realize how far cilium/hive has diverged already. In the interests of providing the option for this PR to be backported, I think it makes sense to merge it as-is, even though the implementation is considerably different from https://github.com/cilium/hive/pull/2.


"mvn install" fails

Details:
mvn --version
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: C:\apache_software\apache-maven-3.9.6
Java version: 21.0.1, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-21.0.1
Default locale: en_US, platform encoding: UTF-8
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
Error:
mvn install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< it.lb.rasp:raspimaven-archetype >-------------------
[INFO] Building raspimaven-archetype 1.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------[ maven-archetype ]---------------------------
[INFO]
[INFO] --- gplus:1.12.1:addSources (default) @ raspimaven-archetype ---
[INFO]
[INFO] --- gplus:1.12.1:generateStubs (default) @ raspimaven-archetype ---
[INFO] Using isolated classloader, without GMavenPlus classpath.
[INFO] Using Groovy 3.0.7 to perform generateStubs.
[INFO] Generated 1 stub.
[INFO]
[INFO] --- resources:3.2.0:resources (default-resources) @ raspimaven-archetype ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 10 resources
[INFO]
[INFO] --- gplus:1.12.1:compile (default) @ raspimaven-archetype ---
[INFO] Using isolated classloader, without GMavenPlus classpath.
[INFO] Using Groovy 3.0.7 to perform compile.
[INFO] Parallel parsing disabled.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.679 s
[INFO] Finished at: 2024-01-10T10:44:19-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.gmavenplus:gmavenplus-plugin:1.12.1:compile (default) on project raspimaven-archetype: Error occurred while calling a method on a Groovy class from classpath.: InvocationTargetException: BUG! exception in phase 'semantic analysis' in source unit 'C:\Users\rascal\Downloads\pi4j-maven-archetype-main\src\main\resources\META-INF\archetype-post-generate.groovy' Unsupported class file major version 65 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

New groovy version needed according to feedback I got on Mastodon.
See https://github.com/Pi4J/pi4j-maven-archetype/commit/63f9c9ab39cc3a9ee138e0b2c7e8dd3e0ebd8308
@myvikes can you validate this change please?


Does a child directory with it's own justfile allow running recipes from parent?

Related to #761 (creating new for ease of discussion)
Hi, say my directory structure is as following:
foo/
.justfile (recipes a, b)
bar/
.justfile (recipes c, d)
Doing a just b inside bar doesn't currently work for me. I wonder if it's only me? And if not, is this something you think might be a useful addition? If you think it would be useful, and would be kind enough to point me to the files that need to be changed (should be hopefully a quick couple of minutes) I'd be very interested in submitting a PR. I'd also be interested in spending time designing if you'd like to implement some ideas from #761.

I'm not sure I understand, is bar a child directory of foo?

Yes it is, I somehow missed the backticks.

Duplicate of #1036, sorry


GM Info dialog: Hide value and payload when null

eg. GroupValueRead has no value and payload - so we don't need to render these rows. Same for telegrams we have no value for, but only a payload.

Cool! Great idea.


confusing debugger behavior for uncaught exception in async function

Using  1.23.0-dev.10.0 (as shipped by Flutter):
To reproduce, here is a simple program that throws a NoSuchMethodError:
main(List<String> args) async {
  var f = new Foo();
  print(f.a.length);
  print('Should not get here');
}

class Foo {
  String a;
}

In IDEA I set a breakpoint at the first line in main and run the program. When paused at the breakpoint, I open Observatory and go to the debugger. Then press 'n':
Paused at breakpoint 1 at main.dart:2:15
$ n
Continuing...
Paused at main.dart:3:11
$ n
Continuing...
Paused at main.dart:3:13
$ n
Continuing...
Paused at main.dart:5:1

It jumps from line 3 to line 5 (at the end of main), but there isn't any indication why it stopped there. In a larger program this is mysterious (since it also stopped a couple lines after the end of main).
If you remove 'async' and debug it again, the behavior is clear: it stops in Object._noSuchMethod with a message:
Paused at an unhandled exception (type 'continue' or [F7] to exit the isolate')

https://codereview.chromium.org/2815863002


Becoming Extremely SLOW when handling large (~100MB) file

Hello,
I explored almost every XML editors and feel that XML Notepad is the BEST OF BEST, really thank you Mr. Chris Lovett.
Recently, I started to handle huge (around 100 MB or more) XML file, and experiencing very slow response from XML Notepad, showing 'no response from application' via Windows Task Manager.
BTW, Windows Resource Monitor also saying that XML Notepad is using less than 10% of CPU (I saw only 1 or 2 CPU core are busy among 16 cores), and also uses around 15% of memory, and very low disk % usage of my PC.
Is there any possibility to speed up the application by using multi-core and more memory allocation ?
(As we know latest computers are having large enough CPU core count and memory capacity...)
Thank you for valuable reply in advance... FYI, I attach big sample XML.
sample.zip

Hello and thanks for your feedback.  I agree the performance is not good on very large XML files around 100Mb.  Thanks for the sample file, I will do some analysis and see if there's any easy fixes.  I suspect however the app will need a redesign to handle super large files.  I tested your sample, and it does load in a few seconds.  notepad.exe takes about 30 seconds to load.  It seems the biggest performance problem is in the "Find" dialog - is that what you are seeing too ?

Dear Mr. Lovett,
Thank you for your kind and quick reply.
For the global find (or search & replace), I typically use another text editor in parallel.
In my specific purpose, major concern is to add(or duplicate)/remove a big size node in a certain location. e.g, Inserting 30MB sized sub-tree in a 4th position of 2nd 'node_2' inside a sample.xml (I've sent), without waiting for few minute (sometimes I have no information how much time I should wait) . I hope there is any method I can use for such a purpose...
Thank you again !!


Auto recomment

Is there any way to automatically reconnect if the conection timed out?  Some type of function for it or something like that?

Without having access to a machine I can code from, this should be fairly easy to do.
Create a function that connects to rcon for you and return the rcon object back to the calling function.
When trying to read / write from the object, create a catch / try for attempting to use rcon.  If it fails, call the function that connects to rcon for you and attempt what you just did again.
Let me know if you need an example.  I'm no pro, but I've used this code for a while.

I think I know what you mean. Anyway, send me an example as I don't know exactly how to make the reconecting thing

If the connection times out during the connect() method, it should return false, and any errors can be retrieved by immediately calling the get_response() method.
$rcon = new Rcon($host, $port, $password, $timeout);

$success = $rcon->connect();

if ($success != true)
{
    $error = $rcon->get_response();

    // try to reconnect
}

Though to be honest, I haven't tested it much so it may not function as expected. If any exceptions are thrown, you'll need a try/catch clause.
I'm not quite sure if this is what you mean, though.

The idea is to use this class on a script that's constantly being executed, never ends, sometimes the server will be restarted and I want to be able to reconnect without restarting the script

In that case you could do as SomKen suggested and and use try/catch when sending commands. Should the command fail to send for any reason, such as a connection that has been closed the error should be thrown in which you can proceed accordingly.
try {
    $rcon->send_command("say Hello World!");
} catch (Exception $e) {
    echo 'Caught exception: ',  $e->getMessage(), "\n";

    // todo: run logic to re-open the connection.
}

http://php.net/manual/en/language.exceptions.php


Pages infrastructure

I think most pages of the website might best be implemented through cryogen pages to allow markdown files backed by css and html templates.
It would probably allow for easier management of page content and an avenue for community-contributed pages, curated through pull requests.
These may exist as community-contributed pages:

Tutorials
JavaScript synonyms
REPL page
Language spec (was discussed here))

These contributed pages will have some overlap of content and purpose with the official ClojureScript wiki.  Perhaps the website should only have pages that should be at the forefront of a user's attention, which will require some curation of course.

I looked into this some more and I think a static site will simplify deployment and will encourage more contributors.  It would also make it easier for the website to trade ownership over the years as well.

React is a good example of a static site for a popular technology that meets all its doc needs, though it's generated by a similar technology, Jekyll.
More reasons that compelled me:

the ClojureScript Unraveled book can probably be imported with ease since it is written in asciidoc, which is supported by cryogen
we can generate markdown pages for each API/syntax doc
simple SEO
easy to create News posts

The API quick search will be somewhat tricky to implement with this static model, but worth it I think since it'll make everything else much easier.

About the Quick search, or could ne done client side. It is what github use for their help pages. If i recall correctly they open sourced their js search engine. You'll only need to provide the content of the site un an other form ( surely json)
Envoyé de mon iPhone

Le 2015-08-11 à 22:06, Shaun LeBron<EMAIL_ADDRESS>a écrit :
I looked into this some more and I think a static site will simplify deployment and will encourage more contributors. It would also make it easier for the website to trade ownership over the years as well.

React is a good example of a static site for a popular technology that meets all its doc needs, though it's generated by a similar technology, Jekyll.
More reasons that compelled me:
the ClojureScript Unraveled book can probably be imported with ease since it is written in asciidoc, which is supported by cryogen
we can generate markdown pages for each API/syntax doc
simple SEO
easy to create News posts
The API quick search will be somewhat tricky to implement with this static model, but worth it I think since it'll make everything else much easier.
—
Reply to this email directly or view it on GitHub.

thanks @benzen, will look at that.
closing this since the new site repo handles pages really well through jekyll.