problem when running accumulated batchsize with MultistepAdamOptimizer

Description
when I run the accumulate batchsize with MultistepAdamOptimizer with step=8, on WMT en-fr translation model. The loss is very high, the loss should be below 10, but the loss is more than 500 with MultistepAdamOptimizer.
Have you ever verify this code, have you met similar problems?
I use tensor2tensor 1.2.9, and tensorflow 1.4.0, So I modify the tensor2tensor/utils/multistep_optimizer.py file to my code, with some slightly changes on this file due to the tensorlfow API changes.
loss logs:
INFO:tensorflow:loss = 10.122, step = 1
INFO:tensorflow:loss = 6.18374, step = 101 (46.639 sec)
INFO:tensorflow:loss = 6.14092, step = 201 (41.133 sec)
INFO:tensorflow:loss = 9.47875, step = 2
INFO:tensorflow:loss = 6.19239, step = 102 (189.436 sec)
INFO:tensorflow:loss = 5.58047, step = 202 (41.086 sec)
INFO:tensorflow:loss = 5.66014, step = 302 (41.950 sec)
INFO:tensorflow:loss = 5.44744, step = 402 (41.807 sec)
INFO:tensorflow:loss = 5.13551, step = 502 (41.701 sec)
INFO:tensorflow:loss = 5.42552, step = 602 (41.885 sec)
INFO:tensorflow:loss = 5.3761, step = 702 (41.941 sec)
INFO:tensorflow:loss = 5.47784, step = 802 (41.670 sec)
INFO:tensorflow:loss = 5.34478, step = 902 (41.726 sec)
INFO:tensorflow:loss = 5.33199, step = 1002 (41.854 sec)
INFO:tensorflow:loss = 5.74657, step = 1102 (41.652 sec)
INFO:tensorflow:loss = 5.50258, step = 1202 (41.995 sec)
INFO:tensorflow:loss = 5.48534, step = 1302 (41.915 sec)
INFO:tensorflow:loss = 5.92809, step = 1402 (41.691 sec)
INFO:tensorflow:loss = 4.60018, step = 1502 (41.739 sec)
INFO:tensorflow:loss = 6.00927, step = 1602 (42.109 sec)
INFO:tensorflow:loss = 5.58784, step = 1702 (41.685 sec)
INFO:tensorflow:loss = 5.97269, step = 1802 (41.991 sec)
INFO:tensorflow:loss = 6.01503, step = 1902 (41.689 sec)
INFO:tensorflow:loss = 5.6937, step = 2002 (42.356 sec)
INFO:tensorflow:loss = 9.19391, step = 2102 (41.657 sec)
INFO:tensorflow:loss = 9.24044, step = 2202 (41.596 sec)
INFO:tensorflow:loss = 10.6264, step = 2302 (41.812 sec)
INFO:tensorflow:loss = 9.32772, step = 2402 (41.886 sec)
INFO:tensorflow:loss = 10.9151, step = 2502 (41.556 sec)
INFO:tensorflow:loss = 7.1575, step = 2602 (41.598 sec)
INFO:tensorflow:loss = 9.30962, step = 2702 (44.236 sec)
INFO:tensorflow:loss = 10.0476, step = 2802 (41.533 sec)
INFO:tensorflow:loss = 22.3421, step = 2902 (41.369 sec)
INFO:tensorflow:loss = 26.0195, step = 3002 (41.660 sec)
INFO:tensorflow:loss = 36.6381, step = 3102 (41.527 sec)
INFO:tensorflow:loss = 60.19, step = 3202 (41.466 sec)
INFO:tensorflow:loss = 72.2689, step = 3302 (41.597 sec)
INFO:tensorflow:loss = 57.5796, step = 3402 (41.501 sec)
INFO:tensorflow:loss = 71.8269, step = 3502 (42.120 sec)
INFO:tensorflow:loss = 78.6678, step = 3602 (41.606 sec)
INFO:tensorflow:loss = 65.2495, step = 3702 (41.199 sec)
INFO:tensorflow:loss = 56.8085, step = 3802 (41.214 sec)
INFO:tensorflow:loss = 98.4963, step = 3902 (41.407 sec)
INFO:tensorflow:loss = 89.1331, step = 4002 (45.393 sec)
INFO:tensorflow:loss = 74.6041, step = 4102 (41.784 sec)
INFO:tensorflow:loss = 101.833, step = 4202 (41.613 sec)
INFO:tensorflow:loss = 96.3843, step = 4302 (41.733 sec)
INFO:tensorflow:loss = 118.482, step = 4402 (41.390 sec)
INFO:tensorflow:loss = 99.5724, step = 4502 (41.503 sec)
INFO:tensorflow:loss = 131.074, step = 4602 (41.688 sec)
INFO:tensorflow:loss = 128.016, step = 4702 (41.471 sec)
INFO:tensorflow:loss = 135.102, step = 4802 (41.399 sec)
INFO:tensorflow:loss = 138.732, step = 4902 (41.399 sec)
INFO:tensorflow:loss = 184.302, step = 5002 (41.510 sec)
INFO:tensorflow:loss = 173.179, step = 5102 (41.106 sec)
INFO:tensorflow:loss = 177.313, step = 5202 (40.863 sec)
INFO:tensorflow:loss = 197.261, step = 5302 (41.113 sec)
INFO:tensorflow:loss = 225.013, step = 5402 (41.227 sec)
INFO:tensorflow:loss = 220.586, step = 5502 (40.783 sec)
INFO:tensorflow:loss = 241.493, step = 5602 (40.931 sec)
INFO:tensorflow:loss = 267.513, step = 5702 (45.297 sec)
INFO:tensorflow:loss = 235.015, step = 5802 (40.712 sec)
INFO:tensorflow:loss = 236.259, step = 5902 (41.209 sec)
INFO:tensorflow:loss = 283.957, step = 6002 (41.336 sec)
INFO:tensorflow:loss = 273.576, step = 6102 (40.753 sec)
INFO:tensorflow:loss = 224.212, step = 6202 (40.882 sec)
INFO:tensorflow:loss = 233.976, step = 6302 (40.972 sec)
INFO:tensorflow:loss = 259.749, step = 6402 (41.279 sec)
INFO:tensorflow:loss = 244.262, step = 6502 (41.030 sec)
INFO:tensorflow:loss = 305.853, step = 6602 (41.331 sec)
INFO:tensorflow:loss = 353.021, step = 6702 (40.948 sec)
INFO:tensorflow:loss = 244.931, step = 6802 (41.089 sec)
INFO:tensorflow:loss = 368.809, step = 6902 (40.906 sec)
INFO:tensorflow:loss = 392.986, step = 7002 (41.300 sec)
INFO:tensorflow:loss = 396.258, step = 7102 (41.097 sec)
INFO:tensorflow:loss = 401.663, step = 7202 (41.055 sec)
INFO:tensorflow:loss = 408.524, step = 7302 (40.875 sec)
INFO:tensorflow:loss = 358.088, step = 7402 (41.063 sec)
INFO:tensorflow:loss = 380.768, step = 7502 (40.506 sec)
INFO:tensorflow:loss = 378.887, step = 7602 (40.914 sec)
INFO:tensorflow:loss = 400.1, step = 7702 (41.023 sec)
INFO:tensorflow:loss = 492.419, step = 7802 (41.079 sec)
INFO:tensorflow:loss = 460.063, step = 7902 (40.871 sec)
INFO:tensorflow:loss = 452.072, step = 8002 (41.183 sec)
INFO:tensorflow:loss = 454.302, step = 8102 (41.120 sec)
INFO:tensorflow:loss = 389.908, step = 8202 (40.899 sec)
INFO:tensorflow:loss = 613.68, step = 8302 (41.326 sec)
My tensor2tensor/utils/multistep_optimizer.py file:, I just change how to get the variable of "iter" in function  _create_slots(self, var_list) and _get_iter_variable(self)
https://gist.github.com/tobyyouup/cff40aec99eea2bb5387f61e4edb9ed5
Do you have any suggestions?
...
Environment information
OS: Ununtu

$ pip freeze | grep tensor
# tensor2tensor==1.2.9
tensorflow-gpu==1.4.0
tensorflow-tensorboard==0.4.0rc3

$ python -V
#Python 3.6.3 :: Anaconda custom (64-bit)

I guess you have a strong reason for staying with the old T2T 1.2.9 (BTW: you could upgrade at least to T2T 1.4.2 and still stay compatible with TF 1.4), otherwise I suggest to update to the newest T2T.
My wild guess what is the cause of your problem:
Adam has a different optimal range of learning rates, compared to SGD and SGD+Momentum etc. T2T uses a multiplier constant of 500 (or 0.02) to make the optimal lr range of Adam and SGD similar. However, the place when this multiplier is applied has been changed in different T2T version. If you are mixing old code with new code, you may need to handle this as well.

@tobyyouup Hi,friend, I have read your issue about distributed training , now I met some problem, can you give me some advice ? I use 1 master and 2 ps (both 8 gpus), but the training speed is 180 secs per 100 step, singel machine is just 55 secs ,and 1master 1 ps is 60 secs. I user sync training mode , I wonder if it is normal ?


Incompatibility of v0.27.8 with Python <3.9 due to importlib.resources.files

Hi there,
The latest version of lifelines, v0.27.8, has started using importlib.resources.files for data loading. This feature was introduced in Python 3.9.  Therefore, lifelines v0.27.8 is not compatible with Python 3.8 and earlier versions. I noticed that this was not reflected in the changelog. I suggest mentioning this in the documentation or changelog for clarity.

Hi @TonyYanOnFire,
You're correct, this should be made explicit in the setup.py, too. The error appears when trying to load data only, is that correct?

Yes, that is correct.
On Wed, Oct 25, 2023 at 20:18 Cameron Davidson-Pilon <
@.***> wrote:

Hi @TonyYanOnFire https://github.com/TonyYanOnFire,
You're correct, this should be made explicit in the setup.py, too. The
error appears when trying to load data only, is that correct?
—
Reply to this email directly, view it on GitHub
https://github.com/CamDavidsonPilon/lifelines/issues/1568#issuecomment-1779147356,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANIROSWRZBH2XDG2T2B34LTYBD7R3AVCNFSM6AAAAAA6OXOVDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZZGE2DOMZVGY
.
You are receiving this because you were mentioned.Message ID:
@.***>


[Bug]: Collection ___ does not exist

What happened?
In one application i made collection:
client = chromadb.PersistentClient(path=idex_path)
collection = client.get_or_create_collection(name="test_collection", embedding_function=openai_ef)
collection.add(
ids=ids,
metadatas=metadatas,
documents=documents
)
collection.count() returns 20
In other application i try to get collection:
client = chromadb.PersistentClient(path=idex_path)
collection = client.get_collection(name="test_collection", embedding_function=openai_ef)
and i get
ValueError: Collection test_collection does not exist.
Use Google Colab
Before 17/07 all works, when i use .persist() . Now it is not available, and i can't get collection
Versions
chromadb-0.4.2
python 3.10.6
Relevant log output
ValueError: Collection test_collection does not exist.

@gitzev any chance you can provide some more code / context so we can reproduce and fix this?

It looks like I can only request a collection from the application in which I created it
It is practically all the code. I one google colab file i do:
!pip install openai
!pip install chromadb
import chromadb
from chromadb.utils import embedding_functions
from chromadb.config import Settings
import openai
openai_ef = embedding_functions.OpenAIEmbeddingFunction(
api_key=openai.api_key ,
model_name="text-embedding-ada-002"
)
client = chromadb.PersistentClient(path=idex_path)
collection = client.get_or_create_collection(name="test_collection", embedding_function=openai_ef)
collection.add(
documents=["This is document1", "This is document2"],
metadatas=[{"source": "notion"}, {"source": "google-docs"}],
ids=["doc1", "doc2"],
)
idex_path -path to colab. After code execution in this path i see this

Then (when first file is working) in other file google colab i do:
!pip install openai
!pip install chromadb
import chromadb
from chromadb.utils import embedding_functions
from chromadb.config import Settings
import openai
openai_ef = embedding_functions.OpenAIEmbeddingFunction(
api_key=openai.api_key ,
model_name="text-embedding-ada-002"
)
client = chromadb.PersistentClient(path=idex_path)
collection = client.get_collection(name="test_collection", embedding_function=openai_ef)
and i get
ValueError: Collection test_collection does not exist.
but if i do
collection = client.get_collection(name="test_collection", embedding_function=openai_ef)
in my first working google colab file - it works and returns the collection
If i close first working google colab file - appears  chroma.sqlite3. In intexpath i see this file after 7 minutes after i make collection.add() in first colab file.

Now if i opened again first colab file it works:
collection = client.get_collection(name="test_collection", embedding_function=openai_ef)
In the second file - does not work anyway
It looks like I can only request a collection from the application in which I created it

And if you need.

And if you need.

And if you need.

I hope you can help me.

@HammadB this could be related to #868?

I checked. Now my error is not reproduced.
Thanks a lot, you are the best!!!
A little like https://github.com/chroma-core/chroma/issues/868.
But there is a difference: In my case, I can still access the collection after I terminate the session. But i can do it in google colab file from which I created collection. Вut perhaps in my case the connection actually "did not break" and somewhere in the folder persist directory connection information is stored, so I could get collection from one google colab file

@gitzev glad to hear it!

I have this error again. Now like https://github.com/chroma-core/chroma/issues/868

@gitzev can you share more details? sorry you ran into this and would love to help

I don't know what else to add. May be yo ask, what information  you need
Google Colab
chromadb-0.4.2
python 3.10.6
All code
!pip install openai
!pip install chromadb
import chromadb
from chromadb.utils import embedding_functions
from chromadb.config import Settings
import openai
openai_ef = embedding_functions.OpenAIEmbeddingFunction(
api_key=openai.api_key ,
model_name="text-embedding-ada-002"
)
client = chromadb.PersistentClient(path=idex_path)
collection = client.get_or_create_collection(name="test_collection", embedding_function=openai_ef)
collection.add(
documents=["This is document1", "This is document2"],
metadatas=[{"source": "notion"}, {"source": "google-docs"}],
ids=["doc1", "doc2"],
)
collection = client.get_collection(name="test_collection", embedding_function=openai_ef)
this return collection. In path i see files

After that i disconnect, and conect Google Colab
!pip install openai
!pip install chromadb
import chromadb
from chromadb.utils import embedding_functions
from chromadb.config import Settings
import openai
openai_ef = embedding_functions.OpenAIEmbeddingFunction(
api_key=openai.api_key ,
model_name="text-embedding-ada-002"
)
client = chromadb.PersistentClient(path=idex_path)
collection = client.get_collection(name="test_collection", embedding_function=openai_ef)
Collection "test_collection"  does not exist

hey, facing the same issue with almost the same code. any fix to this?

I have the same issue. Basically I created the persistent db in a file, and when I try to query it from another file it doesn't find the collection.

I have the same issue, as well. My colleague created the persistent db on her machine using the same version of chroma==0.4.20, and when I try to load it, I get the error "ValueError: Collection <collection_name> does not exist." The weirdest part about it is that she created 10 different persist dbs for different purposes and 3 of the 10 persistent dbs load just fine.
chromadb==0.4.20
python==3.11.7

Hi there. We apologize we didn't get to this issue in a timely manner. We have made many improvements to Chroma in the meantime in versions 0.5.x. If you still have this issue with up-to-date Chroma please open another issue and we will do our best to tackle it right away.


Add rule for Mercury API tokens

Description:
This adds a rule to detect API tokens from Mercury (https://docs.mercury.com/reference/getting-started-with-your-api).
Checklist:

[x] Does your PR pass tests?
[ ] Have you written new tests for your changes?
[ ] Have you lint your code locally prior to submission?

@blx Similar to my comment on https://github.com/gitleaks/gitleaks/pull/1086#discussion_r1150880907, can you update this PR to reflect a more strict regex


which-key support or a way to add keymaps separately

I would like to have a way to add the treesitter queries without having to register a keymap. Based on the filetype, it will show the relevant captures.
nm.set('filetype', {
    query = [[
        ;; query
        ((query_goes_here) @cap)
    ]],
})

wk.register({
    ['<leader>'] = {
        n = { nm.open, 'Open mini map' }
        ... = ... other keymaps
    }
})

Oh, you mean you want a Lua function to open minimap?

You can try:
nm.browse(opts)

Example:
nm.browse({
	query = [[
;; query
((for_statement) @cap)
((function_declaration) @cap)
  ]],
	search_patterns = {
		{ "function", "<C-j>", true },
		{ "function", "<C-k>", false },
	},
})

Hi @s1n7ax I'm closing the issue for now due to inactivity. Please feel free to open it if you have further issues regarding the browse() method.


Memcached Admin GUI

ISSUE TYPE

Feature request

SUMMARY

A nice GUI for Memcached (perharps an alternative to Memcached info devilbox menu
Goal

Because i've begin to work with Memcached in one of my project today, I've searched an GUI to exploit it !
Memcached info devilbox menu seesm a bit too raw for me, and perharps for other users.
I suggest to add this project https://github.com/elijaa/phpmemcachedadmin.
Simple to install. Download latest Asset 1.3.0 and extract full contents in .devilbox/www/htdocs/vendor folder.
Read interface from  http://localhost/vendor/phpmemcachedadmin-1.3.0/ and you should see such interface

@llaville
I tried this project a while back. There's actually not much you can do with it. It only shows you some information.
What precise information does the UI give you that you need to be aware of?

@cytopia I've just been discovered this project, and i don't have much experience/feedback about it.
My goal to suggest this one is to have a GUI missing for memcache, when we have PhpMyAdmin, PhpPgAdmin, PhpRedMin

Yes I agree. Having a GUI for memcache would complement the stack. The above listed project however only shows a few stats, afaik there's nothing really to add/edit/del from/to Memcached. I don't see any immediate benefit, but rather would look for something which can actually do those operations on Memcached.

Did you see you can process commands set delete get with this GUI ?
Perharps i am wrong but i think its not only a READ interface

It was added here: https://github.com/cytopia/devilbox/pull/529


Functions shouldn't get re-evaluated on outro

Fiddle: http://jsfiddle.net/rdgs7rv2/3/
I have a list with some strings inside of it. I want Ractive to turn each string into an image through a function called get_url.
The relevant part of the template looks like
 {{#game.cards}}
        <img intro-outro="slideh" src="{{get_url(.)}}" width="100em" height="100em">
    {{/cards}}

When the list is emptied, the images should slide out. But somehow the get_url function is getting called again with an empty argument after the list is emptied and the images are replaced with a default image (in this case a bee instead of a chair).
I'm pretty sure this is not the desired behavior, is it?

I also noticed this behavior and found it undesirable.
For the record, this behavior occurs with nodes being removed, even without the outro directive. In the above fiddle, try removing the intro-outro attribute and adding a call to console.log or alert inside the get_url function. You will see that get_url is called 4 times (once for each image) immediately before the images are removed.
For my own purposes I used a work around, which is sufficient, but I do think changing it to only compute/render within existing nodes (including nodes being "intro"d, but not nodes being "outro"d or simply removed) would be an improvement, although I currently have no idea how hard this would be to implement.
Agree? Disagree?

If I'm understanding the changes from #1740 correctly, this issue should become fixed with 0.8. The new logic is a lot more choosy about when to attempt to evaluate a keypath, which helps improve performance, but should also prevent get_url from being evaluated again unnecessarily.

this is fixed in edge.
updated the fiddle.
http://jsfiddle.net/9sy4upj8/

Fantastic! I will close the issue.


Update HttpServer.hx

One-line fix for securely downloading client files through the server :)

Fixed in https://github.com/RblSb/SyncTube/commit/5abb726dc80decc2e3a73164905f1b8cccf9c47d


ContentFilter Parameter it's doesn't exists for Exchange Online

Trying this out:
Install-Module ExchangeOnlineManagement -AllowClobber -Force
Connect-ExchangeOnline
Get-Help New-MigrationBatch

Brings 10 Parameter Sets but in none of them, it's said or explicitly mentions that this parameter is only applicable for On-Premises and not for the Exchange Online Environment as mentioned.
Please double-check this and make corrections in order to fix this issue.

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

ID: 68325010-9605-22b4-4b6c-b61f332dc321
Version Independent ID: 47ce5d33-5483-8c8e-2aa2-532178bf466a
Content: New-MigrationBatch (ExchangePowerShell)
Content Source: exchange/exchange-ps/exchange/New-MigrationBatch.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@j0rt3g4, the help that's available at the command line is always going to lag behind what's available on the web. It's the same content; it just takes a while for the code check-in process to happen.

Hello @chrisda  I'm glad to talk to you again!.
I've got some tickets regarding this and the issue is true. The customer is willing to use the contentFilter parameter and it's available on the web, and not even updating into the latest ExchangeOnlineManagement doesn't contain this filter.
So What else should I be thinking if the documentation for the cmdlet itself is not showing the parameter but online do? is it something related to the versions? what version should be the correct to have this parameter online?

If the web version of the topic is incorrect, we can fix it. That fix will take a long time to get checked back into code, that code deployed to datacenter servers, etc.
Not helping in all of this is: it's been a really long time since we've checked help files back into code. I know that very recently (last week) a check-in was done.

@chrisda Thank you very much for sharing this explanation. @j0rt3g4 Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


WSL2 Kernel Add Bluetooth Support to microsoft-standard-WSL2 kernel

I am trying to use the development environment for Home Assistant in VS Code using Docker Desktop.  The Integration I am working on requires bluetooth connection to a piece of hardware.  So the easiest way to get that working would be to pass a USB Bluetooth adapter to WSL.
That much works but once the USB bluetooth adapter is recognized by the container it wont load the bluetooth drivers/module because the WSL kernel does not have those enabled.
Once the USB bluetooth device is passed to the WSL container it should be able to use it.
Tried to build a custom kernel for using with WSL & Docker but didn't get it working.
(https://github.com/docker/for-win/issues/14284)

/feature

Did you build a custom kernel with this config?
CONFIG_BT=y
which Bluetooh adapter/brand is it?


Install SUSE certs and enable SSL warnings

Install SUSE certs and enable SSL warnings

Thank you for the changes. Looks great from my perspective.

I think we also need to tweak Dockerfile_dev so we won't see this warnings during developing new features


Does this plugin expose the compiler API?

See for example: https://github.com/sveltejs/svelte/issues/820#issuecomment-345598850

Yep — any options passed to the plugin are also passed to the compiler, unless they have special meaning to the plugin (e.g. the plugin allows css to be a function for intercepting bundle-wide styles, which would make no sense for the compiler).


Optional prioritized filtering for the ModelSelect2Mixin

In case when you need to filter options by two or more fields, sometimes you have intersections between two field values participating in the filtering.
For example, filtering over airports list by the code, you expecting find airport with specified code, but first option will be that one, which having search term in any searchable field (ordered by PK)

I modified ModelSelect2Mixin to prioritize filtering by search_fields ordering.
Demo app, have two users.
User:1,  username: ccc email: aaa@aaa
User: 2, username: aaa email: ccc@ccc
Default behaviour (as it was previously)
class AuthorWidget(s2forms.ModelSelect2Widget):
    search_fields = ["username__istartswith", "email__icontains"]

New behaviour (optional)
class AuthorWidget(s2forms.ModelSelect2Widget):
    order_results_by_search_fields = True
    search_fields = ["username__istartswith", "email__icontains"]

Hi @codingjoe
Worth to add, if you agree with this PR I will also add mentioning of this to the docs before you merging.

Hi @rez0n,
How are you? Thanks for the contribution. However, I do have some suggestion, that might help you improve your implementation. Like Django's admin search functionality, this package keeps things simple but enables uses to extend functionality via inheritance. I am hesitant to add new features to this library, as its maturity demands excellent stability and support.
In your example, I think the best approach is to add a dedicated full-text index on the database table. It will yield a much improved performance. I don't know which database you are using, but Django has excellent support for full-text indexes for Postgres. If you would rather not implement it yourself, django-watson is an exceptional implementation.
With a custom index, you'd simply override the filter_queryset and implement the behaviour that suits your use case.
With all that being said, I hope you don't mind, that I am closing this PR. However, if you find the documentation lacking. I'd appreciate a pull-request for that.
Thanks!
Joe


🌐  Add Persian translation for docs/fa/docs/index.md

🌐  Add Persian translation for index.md #2041

hello @tiangolo, Should this PR be closed because of this 3b5839260f916ac416585ef0452f101105884834?


Update what-are-communications-credits.md

Update of the admin roles name.

Docs Build status updates of commit a7819d7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/what-are-communications-credits.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@CarolynRowe PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@CarolynRowe PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Edit KM200.csv

The Adapter is working perfectly, but i want to edit the km200.csv file because i get lot error because there are to many fields in dont need.
how i can do that ???
I think there are many people out there with the same problem as me.

What errors are you talking about?

error is maybe not the correct word… iobroker tells me that many values are out of range or something likewise … because the plugin can‘t get the values from my heating system … thats why i want to adjust the KM200.csv … to only get the datapoints in need

The api reads the definitions and values that do not fit in your case. Run the instance that only warnings are written to log. Please use forum for questions, not github.
You can edit the csv file in different ways. E.g. use winscp for windows.


[Feature] Add 'Improve this page on GitHub' button.

Adding a link to the corresponding source file in GitHub. This way, users can quickly fork and add content.
https://github.com/OpenCodeEra/OpenCodeEra
Additional context Samples
Nextjs docs

FreeCAD Home page

Can I work on this one?

@yr1404 go Ahead !!🚀

Can you confirm where you would want this button?
I thought of placing it in already created footer div.

@yr1404  Yes, definitely choose the footer section.


Pretrained RoBERTa model on BOOKS + WIKI

Hi,
Thank you for your great codebase. I am wondering if it is possible for you to release the pretrained RoBERTa (base and large) model on the BOOKS + WIKI (16G) dataset or the reimplementation of BERT that you mentioned in the paper.

You can download it here: https://dl.fbaipublicfiles.com/fairseq/models/roberta.large.bookswiki.100k.tar.gz
I didn't test it that closely with the latest code, so please first double-check that you get comparable results to those reported in the paper.
You should be able to load the model like so:
from fairseq.models.roberta import RobertaModel
roberta = RobertaModel.from_pretrained('/path/to/roberta.large.bookswiki.100k', 'model.pt')

Note that it uses a slightly smaller dictionary, which contains a few hundred fewer tokens at the end. This shouldn't make a difference, just something to keep in mind in case you try to use the main roberta dictionary and have trouble loading the checkpoint.

Can you release the RoBERTa base model trained on BOOKS + WIKI?
Or Can you provide scripts that can transfer a BERT TensorFlow checkpoint to fairseq Pytorch checkpoint?


AWS: Backups

We should have a backup schedule + continuity in place for S3, DynamoDB, IPFS (our own node on EC2), and Geth (EC2).

https://www.tarsnap.com/
https://rsync.net/

The latest word was using rsync.net

35-day AWS backups enabled for users table.

This is ok, but I think we should have it in perpetuity and daily.
This is actually not a huge table so I don't think the costs would be large.


remove redundant code

Not clear to me what this code was trying to do but it doesn't seem to be anything useful.

I have in mind that this was still required at some point when we moved the code from poetry to the export plugin and a test failed without it. Since no tests are failing it may not be required anymore.
Maybe, @abn has a better memory.

The code in the locker did get a big rework at https://github.com/python-poetry/poetry/pull/5156, I wouldn't be at all surprised to learn that this made some workaround unnecessary

A lot of things change in core too since the groups work started. I recall from the initial rework for locker done in poetry 1.1.0 release a, lot of things were fudged.
From what I can tell it is no longer required and I am good with that.


System unavailable: build-alibaba-ubuntu1804-armv8-1

Please put the system name in the title of this issue.

Link to any log file showing the problem: https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-linux-aarch64-dragonwell/ (Jobs not being run just now)

Please describe the issue: Dragonwell aarch64 builds are locked to the alibaba machine at present. It is quite likely that these will run ok on the new Altra systems so we should test whether those builds work ok on there (they have additional prereqs such as targetted armv8.2 which we weren't able to support on all machines previously.

@joeyleeeeeee97 Do you know what has happened to the aarch64 alibaba build machine (<IP_ADDRESS>)? It doesn't seem to be contactable any more.

(I've disabled the build job until this gets resolved one way or another)

Two new systems now available. @Haroon-Khel is setting them up:
build-alibaba-ubuntu1804-armv8-2 	<IP_ADDRESS>
test-alibaba-ubuntu1804-armv8-2 	<IP_ADDRESS>

build-alibaba-ubuntu1804-armv8-2 is in jenkins. Build and tests running here https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-linux-aarch64-hotspot/993/console

test-alibaba-ubuntu1804-armv8-2 is now in jenkins. Running an openjdk sanity test
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/2561/console

https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-linux-aarch64-dragonwell/158 has ran ok on the machine too and that job has now been re-enabled in jenkins so will be included in future pipelines. Thanks Haroon - closing.


[Bug] IterBasedRunner does not  work with distributed training

Branch
master branch (0.x version, such as v0.10.0, or dev branch)
Prerequisite

[X] I have searched Issues and Discussions but cannot get the expected help.
[X] I have read the documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version.

Environment
sys.platform: linux
Python: 3.9.13 | packaged by conda-forge | (main, May 27 2022, 16:56:21) [GCC 10.3.0]
CUDA available: True
GPU 0,1,2,3,4,5,6,7: A100-SXM-80GB
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 11.3, V11.3.109
GCC: gcc (Debian 8.3.0-6) 8.3.0
PyTorch: 1.10.0
PyTorch compiling details: PyTorch built with:

GCC 7.3
C++ Version: 201402
Intel(R) Math Kernel Library Version 2020.0.0 Product Build 20191122 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v2.2.3 (Git Hash 7336ca9f055cf1bfa13efb658fe15dc9b41f0740)
OpenMP 201511 (a.k.a. OpenMP 4.5)
LAPACK is enabled (usually provided by MKL)
NNPACK is enabled
CPU capability usage: AVX512
CUDA Runtime 11.3
NVCC architecture flags: -gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80
CuDNN 8.4.1  (built against CUDA 11.6)

Built with CuDNN 8.2

Magma 2.5.2
Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.3, CUDNN_VERSION=8.2.0, CXX_COMPILER=/opt/rh/devtoolset-7/root/usr/bin/c++, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.10.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON,

TorchVision: 0.11.1+cu113
OpenCV: 4.6.0
MMCV: 1.6.2
MMCV Compiler: GCC 9.3
MMCV CUDA Compiler: 11.3
MMSelfSup: 0.9.2+3ac192d
Describe the bug
When I use iter_based_runner to train a model with DDP, I find that current version seems not support iter_based_runner
Here is the bug report.

raceback (most recent call last):                                                                                File "/mnt/bd/music-lqbd32-31t-dxj/mmselfsup_new/tools/train.py", line 224, in                    main()                                                                                File "/mnt/bd/music-lqbd32-31t-dxj/mmselfsup_new/tools/train.py", line 214, in main                                                                          train_model(                                                                                File "/mnt/bd/music-lqbd32-31t-dxj/mmselfsup_new/mmselfsup/apis/train.py", line 226, in train_model       runner.run(data_loaders, cfg.workflow)                                                                                File "/opt/conda/lib/python3.9/site-packages/mmcv/runner/iter_based_runner.py", line 130, in run self.call_hook('before_epoch')                                              File "/opt/conda/lib/python3.9/site-packages/mmcv/runner/base_runner.py", line 317, in call_hook    getattr(hook, fn_name)(self)                                                File "/opt/conda/lib/python3.9/site-packages/mmcv/runner/hooks/sampler_seed.py", line 15, in before_epoch if hasattr(runner.data_loader.sampler, 'set_epoch'):                        AttributeError: 'IterBasedRunner' object has no attribute 'data_loader'

And I found the following annotation under the definition of class 'DistSamplerSeedHook', saying that

'When distributed training, it is only useful in conjunction with
:obj:EpochBasedRunner, while :obj:IterBasedRunner achieves the same
purpose with :obj:IterLoader.'

It seems that simply annotating the corresponding call function makes the code run.
I annotated the line here.
https://github.com/open-mmlab/mmselfsup/blob/1b098964e0ca9c58c0eb1fb7ba575af4c0d1e6aa/mmselfsup/apis/train.py#L162
But does it lead to further mistakes? I have no idea why we need 'DistSamplerSeedHook'
So any official guidance about using IterBasedRunner in distributed training?
Reproduces the problem - code sample
No response
Reproduces the problem - command or script
No response
Reproduces the problem - error message
No response
Additional information
No response

Hello, it is a potential bug here. You may comment out the code, IterBased doesn't need 'DistSamplerSeedHook', it has IterLoader, you could refer to this doc

You could try it as I commented above. If you have any other questions, feel free to comment here

Thanks a lot. It works after the line is commented. But I wonder if there is any futher potential bug owing to the commented line? For example, if I want to use ' EpochBasedRunner', is DistSamplerSeedHook necessary ?

Thanks a lot. It works after the line is commented. But I wonder if there is any futher potential bug owing to the commented line? For example, if I want to use ' EpochBasedRunner', is DistSamplerSeedHook necessary ?

For EpochBasedRunner, DistSamplerSeedHook is needed, because it will update the epoch information in sampler, which influences the randomness behavior

The issue will be closed. If you have any other questions, feel free to open a new one.


Use rel for CesiumCartographicPolygon

Based on discussion in https://github.com/CesiumGS/cesium-omniverse/issues/632 there a few disadvantages of CesiumCartographicPolygon being a subclass of BasisCurves. We should consider using rel instead.

Decisions from standup

Prefered UX approach is to keep a single CesiumCartographicPolygonprim, vs splitting into two
@corybarr will look further into isolating the issue
If we can't figure it out prior to release, we'll likely update CesiumPolygonRasterOverlay to support pointing directly to BasisCurve + Globe Anchor combo, rather than the relapproach to keep UX simple
CesiumPolygonRasterOverlay can be re-added at a later time if needed

@corybarr will look further into isolating the issue

Having created a minimal example that does touch our codebase, I don't think we can keep a single CesiumCartographicPolygon prim for this release.


PERF: avoid to_pandas call when calling left join

Closing in favor of https://github.com/modin-project/modin/issues/6849.


Removing tf.contrib

Would you be open to accepting a PR to remove code using tf.contrib as it won't be available in TF 2 ?

Hi, Thanks for the suggestion!
However, currently TRFL depends on tf.contrib only via tf.contrib.nest,
and we are waiting for nest to be exposed either as a standalone library or as part of core TF.

alrighty, sounds good thanks


The walkthrough that happens at the beginning would be useful in these review slides.

The walkthrough that happens at the beginning would be useful in these review slides.
Author: Emmanuel Geanrd
Slide: Local,Public

I like this one, would be fun to brainstorm interesting way of representing information


How to enable yaw control

Hi
I am really impressed by your work.
I would like to try your algorithm out in tier2 and tier3 as well (combining with perception, of course).
My idea is to detect gate in the FPV then infers its position and relative orientation and use this as one of the point to go.
However, to do so, I would need the drone to control yaw angle as well.
Could you please let me know of where to start to look at?
Best Regards,
Surfii3z

Hi @surfii3z. glad that you like it!
I wish you good luck with the tier2 and tier3. Frankly I had planned to do that as well, however it turned out much more difficult that I thought: The rendering was just too pretty to reliably detect the gates :rofl:
What I had in mind:

At the end of planning stage, compute an additional yaw correction that is necessary and assume a smooth transition so that you can directly add it to the planned trajectory. So the planning algorithm originally doesn't care about yaw as it is independent. However, you know roughly how the gates should look so you could try to align yourself in that orientation already. Obviously the realistic cases are much more complicated than that (gate can oriented such that it looks up or downwards), so you need to be careful with how you decompose rotation.

Be also very careful in the control stage. If you know some drone dynamics, you will realize that a drone has much control in yaw axis than in the rest of them. Ideally you want to incorporate that into your control problem and avoid unrealistic control problem as we try to operate on the limit.

Good luck and have fun!

Thanks for the ideas!


Automate the running of a new or existing tool that diffs the GitProviderReceiver code between the liatrio-otel-collector and otel-collector-contrib repos

We manually sync code changes between the liatrio-otel-collector and opentelemetry-collector-contrib repos. We don't currently know of a good way to automate this process. Instead, we should build and/or implement a tool to diff the code bases regularly.
Note that these two repos are not forks and we should not diff commits.

The more and more I think about this, I don't think it's necessary and should be done by a human making a decision. Happy to re-evaluate if this becomes something painful and urgent. But for now, I'm going to close this as wont do.


How to render a mesh model with two materials?

I have a mesh model with two materials.

Not enough information.


SWC-6775: change icon for entity view, materialized view, and virtual…

… table

And brought up the Entity Title Bar in SRC to verify mapping (for a few known Table types):


Issues with Validation messages and incorrect redirect in Laravel 9 Inertia.js Jetstream

Hi, before installing this package, everything works okay with the validation messages and redirects to the intended location (URL). After doing some operations, I wanted it to be redirected to an intended URL but instead to a previous location with or without validation errors thrown. Also, the validation messages are like this: validation.required

because lang folder  #59

Fixed in the latest version.


rtk.Entry : Not  Support Chinese input

Can it solve the problem that does not support Chinese input

Can it solve the problem that does not support Chinese input

Hi, there is a small way to fix this:
entry.onkeypress = function(self, event)
    local new_char = utf8.char(("0x%08x"):format(event.keycode & 0x0000FFFF))
    self:insert(new_char)
and

)

How do I enable Chinese input on macOS?


Add support for DBADash database in AlwaysOn Availability Group

I installed the dbadash database in an AG, but there is no option to set the MultiSubnetFailover parameter, so from time to time we get an unhandled exception because of a time-out.

In the service configuration tool you can edit the destination connection string and manually and add:
;Multi Subnet Failover=True
Note: I don't have the DBA Dash repository DB in an availability group, but I do have some AGs which are monitored by DBA Dash.  Each node in the AG is added as source connections in DBA Dash rather than the listener.


Remove unneeded seed blocks with structurally invalid transactions

Via https://github.com/OmniLayer/omnicore/pull/325#issuecomment-168745414:
There are around 50 blocks that can be safely removed from the current seed block list, which are related to structurally invalid transactions.

Just noting the blocks to be removed here, I'll remove them from the seed block list and reformat to clean it up shortly.
259439
259446
259453
260118
260126
260754
260763
262051
262329
262353
262355
262358
262371
262700
263222
263781
263797
265589
265970
268283
269792
269832
269833
269834
270020
272877
280374
280465
285642
288704
289842
293016
296365
296383
304952
306853
306868
306870
306878
306894
314416


feat($resource): add $composeResourceUrl service

I don't believe this contains a BC!
The docs look like:

If $resource doesn't use $composeResourceUrl, then what's the utility of the service? You can built urls the same way as $resource. I only remember that one person wanted to use this to check the length of the generated urls. What other use cases are there?
Changing the composition inside $resource was imo a good reason to make this a service, but without it the utility is so low that it's not useful to include this service - unless there are some use cases that I'm not aware of.

I forgot what we decided to do about this @Narretz. Anyone remember?

We've decided not to add this as the number of people that benefit from it would be minimal.


Manifests with the same filename are added to the same Addon

Environmental Info:
K3s Version: k3s version v1.29.1+k3s2 (57482a1c)

Node(s) CPU architecture, OS, and Version: Linux f6a339e937f5 6.6.12-linuxkit #1 SMP Fri Jan 19 08:53:17 UTC 2024 aarch64 GNU/Linux

Cluster Configuration: Reproducible with just a single server, and no agents.

Describe the bug:

If have a nested folder structure for the manifests, and there is two files with the same name, it creates just a single Addon with that filename, since it uses basename here.
Steps To Reproduce:

Installed K3s server, no agents are needs, but off-course also happens with agents.
Inside /var/lib/rancher/k3s/server/manifests

Create a folder a with a single file named configmap.yaml that contains a ConfigMap on the namespace a.
Create a folder z with a single file named configmap.yaml that contains a ConfigMap on the namespace z.

Expected behavior:

That both namespace a and z have their respective ConfigMap applied.
Actual behavior:

Only namespace z have a ConfigMap. Although for a few ms namespace z loses it's ConfigMap and a have it, until it re-apply z and remove a.
Additional context / logs:

This was bit tricky to understand, since I was not familiar with the internals of k3s, logs would only say the the resource was successfully applied even though I couldn't find the resource.
After digging a bit more, I that the resources had an Addon custom resource attached to it, and it all made sense.
Looking at the code also confirmed the issue.

The manifest system is designed around individual files, not nested folders. You are welcome to open a PR to expand this functionality.

I am going to close this out, as it is covered in the docs
https://docs.k3s.io/installation/packaged-components#file-naming-requirements

The AddOn name for each file in the manifest directory is derived from the file basename. Ensure that all files within the manifests directory (or within any subdirectories) have names that are unique, and adhere to Kubernetes object naming restrictions. Care should also be taken not to conflict with names in use by the default K3s packaged components, even if those components are disabled.


Token Renewal Timeout Failure In IE 11 For Social Provider

Using msal 1.3 i'm receiving a timeout error after authenticating to the google provider and then calling acquireTokenSilent. This doesn't occur in other browsers. Also, acquireTokenSilent works when authenticating to the local azure b2c provider. I have loaded bluebird.js as documented in the docs. The complete error thrown is "Token renewal operation failed due to timeout: null"

@rohitnarula7176 Social login ended up not being a requirement for the project i'm working on. If I get time to experiment with social login, and I run into this issue again I will reopen


How can i get the audio file size in iOS

Please fill the template to help you out. Also, please try the Example project compare before submiting the issue when you have certain issue with your project setup.

Version of react-native-audio-recorder-player
3.1.1
Version of React Native
61.5
Platforms you faced the error (IOS or Android or both?)
IOS
Expected behavior
Should get the file information using RNFetchBlob.stat(pathToFile).
I'm getting the file path only. And I use RNFetchBlob.stat to access the file details.
Actual behavior
I'm getting the error failed to stat path because it does not exist or it is not a folder
Steps to reproduce the behabior

My code.

conststopRecord = useCallback(async () => {
constresult = awaitaudioRecorderPlayer.stopRecorder();
audioRecorderPlayer.removeRecordBackListener();
const { stat } = RNFetchBlob.fs;
const { size } = awaitstat(pathFunction());
setFilePath(result);
setFileSize(bytesToSize(size));
setShowStop(false);
setShowPlay(true);
 }, [audioRecorderPlayer, pathFunction]);

pathFunction

const pathFunction = useCallback(() => {
const { dirs } = RNFetchBlob.fs;
const path = Platform.select({
ios: `${fileName}`,
android: `${dirs.CacheDir}/${fileName}`,
 });
return path;
 }, [fileName])
;

Note:

Its working file in Android, but getting error in iOS

@arundev-kv im using react-native-fs which I think has a similar api and have managed to get it working doing this
const uri = `${RNFS.CachesDirectoryPath}/sound.${Platform.OS === 'ios' ? 'm4a' : 'mp4'}`;
const result = await RNFS.stat(uri);
const size = result.size; // size is in bytes;


allow transformers 0.5.x (#8)

Cf #8

I should have said: lightly tested here, seems to work.

Closing this as #10 was merged.


dart-services, Route not found

Hi!
I have deployed dart-services to cloud run (port 8082), but it shows Route not found.
The same message is displayed in all the following URLs.
Does anyone have a solution?

https://dart-services-test-aqoi5bfw7a-uc.a.run.app/
https://dart-services-test-aqoi5bfw7a-uc.a.run.app/api/
https://dart-services-test-aqoi5bfw7a-uc.a.run.app/api/dartservices/
https://dart-services-test-aqoi5bfw7a-uc.a.run.app/api/dartservices/v2/
https://dart-services-test-aqoi5bfw7a-uc.a.run.app/api/dartservices/v2/analyze

You'll see the same thing on https://stable.api.dartpad.dev/
Have a look at https://github.com/dart-lang/dart-services/tree/master/example for a sample web app that talks to dart-services

@domesticmouse Thank you fr your quick reply!
I will check it out 😄

@domesticmouse
If I remember correctly, I think I could open index.html, could you tell me how to access it?


explain necessity of latex packages for displaying figures

Could you expand on the necessity of all the LaTeX packages at
https://github.com/gillescastel/inkscape-figures/blob/59d7d30290a9b06b93e95355fd4fd1818804f95e/README.md#L24-L27
For example, why is xifthen necessary for displaying those figures?

You're right, the xifthen package is not needed for including figures – I removed it from the README. As for the other packages:

import is needed for correct relative import of files.
transparent and xcolor are used for transparent and colored text (if not included, text will always be black and opaque)
pdfpages is used for actually including the figures.

Hope that helps. Closing this issue.


Move write_slim_per_instance_stats from benchmark-summarize to Runner

See the TODO in the summarize.py.

Decided not to do this.


Bindables v4.0.0 reference problem .NET Core 3.0 preview

Hmm. In my case issue #11 appeared again with v4.0.0.
In v0.6.0 the project built successfully with
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
line deleted. Now line missing after package updated and cannot build project again.
VS2019/.NET Core 3.0 preview.
Why Bindables package has no dependency on Fody? Is it okay?
UPD:
Please, add .NET Core support.
#11 behaviour was the same both in .NET Framework 4.7.1 and in .NET Core 3.0 - Bindables worked with  the line deleted.

I use 4 other weavers in my solution, and all of them works well both in Framework and in Core. Nothing changed after migration. This problem appears only in Bindables and I bet if I switch back to .NET Framework the problem in v4.0.0 will not disappear. Bindables is great, very useful for me . I hope it will be fixed.

I use 4 other weavers in my solution, and all of them works well both in Framework and in Core. Nothing changed after migration. This problem appears only in Bindables and I bet if I switch back to .NET Framework the problem in v4.0.0 will not disappear. Bindables is great, very useful for me . I hope it will be fixed.

Please, take a look at this issue. Our development is almost stopped because project cannot build with new Fody version.

Should be resolved with 6.0.0.


Replaced ifend per endif

As Delphi complains a bit about that:
Legacy '$IFEND' directive found. Consider changing to '$ENDIF' or enable $LEGACYIFEND at line 39 (39:3)
Then ZDesigner compiles perfectly.

Thanks! I'll change to $endif everywhere. I had forgotten about this


MH-12963 Localize dates/times in add-event summary

Localize the start and end dates and times in the summary of the
add-event dialog when creating a scheduled event. Also don't show the
seconds for the duration since they can't be set, so are always 0.

I will /review/ this

Hi @slampunk
Thanks for taking the review! I've assigned this to @rrolf as he is your "mentoring committer".

LGTM, can be merged as is.


transport: with option.WithHTTPClient, hitting "unsupported HTTP client specified" error

Hi,
To setup a logging client with the V1 API, we used to do:
serviceAccountFile := "/home/joe/foo.json"
jsonSlurp, err := ioutil.ReadFile(serviceAccountFile)
if err != nil {
	return fmt.Errorf("error reading service account file: %v", err)
}
jwtConf, err := google.JWTConfigFromJSON(jsonSlurp, logging.Scope)
if err != nil {
	return err
}
logc, err := logging.NewClient(context.Background(), "someProjectId", "someLogName", option.WithHTTPClient(jwtConf.Client(context.Background())))
if err != nil {
	return fmt.Errorf("error creating logging client: %v", err)
}

which, migrated to the V2 logging API, becomes:
serviceAccountFile := "/home/joe/foo.json"
jsonSlurp, err := ioutil.ReadFile(serviceAccountFile)
if err != nil {
	return fmt.Errorf("error reading service account file: %v", err)
}
jwtConf, err := google.JWTConfigFromJSON(jsonSlurp, logging.WriteScope)
if err != nil {
	return err
}
logc, err := logging.NewClient(context.Background(), "someProjectId", option.WithHTTPClient(jwtConf.Client(context.Background())))
if err != nil {
	return fmt.Errorf("error creating logging client: %v", err)
}

and that now errors as:
error creating logging client: unsupported HTTP client specified

which I tracked down to google.golang.org/api/transport/dial.go, in DialGRPC. So that hinted to me that I could now do instead:
logc, err := logging.NewClient(context.Background(), "someProjectId", option.WithServiceAccountFile(serviceAccountFile))

And that seems to be working out for my use case.
But it seems that the version where I provide the http client should still work, shouldn't it? Or if not, what's the point in being able to provide the http client to logging.NewClient?
Regards,
Mathieu

Cc: @bradfitz

As you found out, the new logging client is on gRPC, and you can't pass an HTTPClient. True, gRPC runs over HTTP(2), but that's at level below where we (as gRPC users) can operate. gRPC wants us to use its own kind of connections.
The fact that that's a runtime error and not a compile-time one is a tradeoff in how complex we want to make client options. Now there is one type for all of them (option.ClientOption). And almost all of them can be used for both HTTP and gRPC clients. Instead of duplicating options or doing something complicated with interfaces, we just kept it to the one type.

Right, thanks.
I've only understood that a few minutes ago when rereading the doc, which clearly states, "This option may only be used with services that support HTTP as their communication transport.", and connected the dots that gRPC might be what logging uses.
The client options tradeoff is fair enough, but I'm not sure the connection between the error message and the fact that logging does not use net/http at all is obvious enough. It wasn't to me at least.
(But the issue is fixed as far as I'm concerned since I now understand what's going on).


Improvements to EKF2

Utilises https://github.com/PX4/ecl/pull/57
Reduce latency of published control data
Report filter position and height uncertainty in global position topic.
Don't publish control and position data unless EKF is initialised.

Travis is unhappy about a mathlib include - so need to take a look at that tomorrow.

The ECL PR is being spit into two PR's. We will modify and reopen this PR when ready


[BUG] spark reported that betterTeams too many threads,It causes the server tps to be too low

What is the bug?

spark reported that betterTeams too many threads,It causes the server tps to be too low
report: https://spark.lucko.me/kMt7RgKUgd

when i stop the server ,the server log show that: [18:22:53 INFO]: [BetterTeams] Disabling BetterTeams v4.5.0
and it stuck all the time, i have to force total thread shutdown, this will make my server rollback

Expected Behaviour
fix this bug.
In my opinion, it may be caused by database connection
How to Reproduce
It's hard to say.
This happens when my server runs for a period of time
Error message
No response
Output of /teama version
4.5.0
Additional Information
No response

This bug has been fixed and the patch will be included in the next update. Thank you for reporting.


Update Cilium to 0.19.0, CoreDNS to 1.21.0 and enable renovate on HelmReleases

This PR:

adds/changes/removes etc

Testing
Description on how {APP-NAME} can be tested.

[ ] fresh install works
[ ] upgrade from previous version works

Other testing
Description of features to additionally test for {APP-NAME} installations.

[ ] check reconciliation of existing resources after upgrading
[ ] X still works after upgrade
[ ] Y is installed correctly

Checklist

[ ] Update changelog in CHANGELOG.md.
[ ] Make sure values.yaml and values.schema.json are valid.
[ ] Update /examples if required.

/run cluster-test-suites

/run cluster-test-suites

/run cluster-test-suites

tested manually


File Manager: after file upload UI unresponsive

I've used the file manager to upload a file to a directory. The file upload completed successfully but then the UI was grayed out and unresponsive (--> any click on the UI did not have any effect).
I had to refresh the page (browser reload) to get back to normal operation.
This is happening with Safari, Firefox and Chrome.
Any hints ?
Server:
Ubuntu 16.04.2
Winmin 1.860
Usermin 1.721
Virtualmin 6.01-3
Authentic Theme V 19.03
Client:
OS X 10.11.6
Safari 11.0.1
Firefox 57.0
Chrome 62.0.3202.94

Yes,
This part of UI on my closest to do. After 19.04 release I will try enrolling multiple uploads for other modules and for File Manager in particular.
You can see the of upcoming improvements and number 11 in the list.

There will be no improvemt, I think. I'll just completely replace it with multiple uploads feature without using old pop-ups.
There is still higher priority issues but it's going to be fixed for sure.

This issue has been fixed with the latest commit.
I will try to add nice uploads, without popups quickly. If it works, I will add it to 19.07 release very soon, otherwise it will go for the next 19.10 feature release within next two weeks or so.


Implement OpensearchVectorStore document deletion

Description
Implements document deletion by ID for the OpensearchVectorStore. The existing implementation was a placeholder which just errored out when called. Deletion from Opensearch requires using an Elasticsearch query request body.
Fixes Issue 10464
Type of Change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] I stared at the code and made sure it makes sense
[ ] Tested that a VectorStoreIndex built over an OpensearchVectorStore can successfully invoke its index.delete_ref_doc() and index.update_ref_doc() methods, and that the documents actually get deleted.

Suggested Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added Google Colab support for the newly added notebooks.
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I ran make format; make lint to appease the lint gods

@logan-markewich sorry forgot to lint, need you to re-approve


LCFS - Remove or hide roles for inactive users

Description:

Remove roles or perhaps hide the display of roles in UI for users that are inactive (whatever is easier)
A inactive users roles are displayed in the user tables for both BCeID and IDIR users, when you click on an individual user to view their specific profile, and when editing an individual user.

Wireframe:
https://preview.uxpin.com/59145260c7d8cc48969ac79401cc03d84843c3d9#/p/164331526/tfrs-2023/bceid-org-details-and-users-inactive?mode=fm
Purpose and benefit to user:

Several organizations have implemented a practice of stripping a BCeID user of all of their roles and then giving them the Guest role when marking them as inactive (as part of the revoking access process)
User research indicates that some BCeID users find that marking a user as inactive is not enough to revoke their access and they don't like seeing how they still have all of these different roles assigned to them in the main user tables
So as an added precaution they switch their role to Guest only
Removing (or hiding) roles for inactive users will better communicate to users that a specific user is not able to take any actions in the system

Acceptance Criteria:

[ ] Given I am a , When I am , then
[ ] Given I am a , When I am , then

Development Checklist:

[ ] A
[ ] B
[ ] C

Notes:

Hey team! Please add your planning poker estimate with Zenhub @AlexZorkin @jig-patel @prv-proton

Card #178 must be resolved to be able to test IDIR side. Also requires access to BCeID user account to test on that side.


x-editable combodate broken in bootstrap4 templates

Thanks so much for adding bootstrap 4 support! Ran into an issue with x-editable combodate fields (other x-editable fields like number and boolean are working as expected). Clicking on an editable date produces the following exceptions. Note: In order to produce a more useful stacktrace, I replaced bootstrap4-editable.min.js with the non minified version from this fork where I believe the minified version came from (https://github.com/Talv/x-editable)
Uncaught TypeError: Cannot read property 'setAttribute' of undefined
    at s.i.show (tooltip.js:259)
    at HTMLAnchorElement.<anonymous> (popover.js:161)
    at Function.each (jquery.min.js?v=2.1.4:2)
    at w.fn.init.each (jquery.min.js?v=2.1.4:2)
    at w.fn.init.s._jQueryInterface [as popover] (popover.js:144)
    at Popup.call (bootstrap4-editable.min.js?v=1.5.3:1037)
    at Popup.innerShow (bootstrap4-editable.min.js?v=1.5.3:4807)
    at Popup.show (bootstrap4-editable.min.js?v=1.5.3:1097)
    at Editable.show (bootstrap4-editable.min.js?v=1.5.3:1809)
    at Editable.toggle (bootstrap4-editable.min.js?v=1.5.3:1831)
i.show @ tooltip.js:259
(anonymous) @ popover.js:161
each @ jquery.min.js?v=2.1.4:2
each @ jquery.min.js?v=2.1.4:2
s._jQueryInterface @ popover.js:144
call @ bootstrap4-editable.min.js?v=1.5.3:1037
innerShow @ bootstrap4-editable.min.js?v=1.5.3:4807
show @ bootstrap4-editable.min.js?v=1.5.3:1097
show @ bootstrap4-editable.min.js?v=1.5.3:1809
toggle @ bootstrap4-editable.min.js?v=1.5.3:1831
(anonymous) @ bootstrap4-editable.min.js?v=1.5.3:1554
i @ jquery.min.js?v=2.1.4:2
dispatch @ jquery.min.js?v=2.1.4:2
y.handle @ jquery.min.js?v=2.1.4:2

Seems like this fix works fine with bs2, bs3 and bs4.
@rammie can you create a PR?

@michaelbukachi
Is there any reason why $el.removeAttr('data-template'); from here became el.removeAttribute('data-template') in your PR? The new line is broken, el is not even defined in the context :'(

Stumbled upon that while debugging an admin page, wondering why most editable fields stop to work (because of some unhandled JS exception) when I add something that uses x-editable-combodate.
Originally proposed line works great though. I'll create a PR.

@michaelbukachi
Is there any reason why $el.removeAttr('data-template'); from here became el.removeAttribute('data-template') in your PR? The new line is broken, el is not even defined in the context :'(

Stumbled upon that while debugging an admin page, wondering why most editable fields stop to work (because of some unhandled JS exception) when I add something that uses x-editable-combodate.
Originally proposed line works great though. I'll create a PR.

Oops! An oversight on my part. Thanks for catching this.

@mrjoes This can be closed as it was already addressed in #2146


How to remap fn to ctrl

How would you remap the 'fn' key to 'ctrl'?
I've seen that fn may be installed as a modifier - how do you remap modifier keys?

I've found this modifier-only remap in the examples:
left cmd      -> {    right cmd     -> }
however,
fn                -> { ctrl ->}
doesn't work

On key remapping: https://github.com/koekeishiya/khd/issues/50

Alright, thank you!

Modifiers can't be remapped with Khd. Use Karabiner-elements for this.


Fix NO-GAP run to also have a hypsometric plot

Currently, the NO-GAP run skips fill_ddem_local_hypso hence no plot is generated for that part. The hypsometric bins should yet be calculated and the plot generated, maybe outside of the function, by passing all needed data.

I think you fixed that issue somewhere, @ShashankBice, no?


Stuck on a blank website page after clicking a link

I've been stuck on a blank page after clicking on a link to register to cloud.rocket.chat.
I happened on 2.14.7, as the link is not working I'm stuck on a blank page, leading me to assume it was a bug.
Actually, opening Rocket chat today on a Wifi connection with a login portal, I realized that Rocket was only stuck on a non-loading/blank webpage because it loaded the portal login page.
So the issue in my case is: Rocket seems stuck on a webpage after clicking on a link with no apparent way to go back to the chat mode.
The problem persist after upgrading to 2.15.0 today.
I've only tried common Macos shortcut to go back (like Cmd+left arrow) or some others. I can't see any button to help me get out of this.

View > Back should be a work around for this issue.

I know it sounds very stupid: I never use menu with Electron apps, just totally forgot about it.
But I've tried the shortcut indicated in the menu before though (Cmd+[) and to no avail.
Using menu it doesn't work either.
I just can't get away from this blank page, I'm stuck with it.
Here's what I get in the console log on Reload:
DevTools failed to parse SourceMap: https://cloud.rocket.chat/Applications/Rocket.Chat.app/Contents/Resources/app.asar/app/preload.js.map
react-dom.production.min.js:188 TypeError: Cannot read property 'userData' of undefined
    at t.value (index.js:87)
    at t.value (index.js:196)
    at kn (react-dom.production.min.js:167)
    at Hn (react-dom.production.min.js:180)
    at Gn (react-dom.production.min.js:202)
    at $n (react-dom.production.min.js:203)
    at fr (react-dom.production.min.js:212)
    at lr (react-dom.production.min.js:211)
    at cr (react-dom.production.min.js:211)
    at or (react-dom.production.min.js:209)
Nn @ react-dom.production.min.js:188
Un.n.callback @ react-dom.production.min.js:195
tn @ react-dom.production.min.js:144
nn @ react-dom.production.min.js:145
pr @ react-dom.production.min.js:220
fr @ react-dom.production.min.js:212
lr @ react-dom.production.min.js:211
cr @ react-dom.production.min.js:211
or @ react-dom.production.min.js:209
Jn @ react-dom.production.min.js:207
Cr @ react-dom.production.min.js:224
Or @ react-dom.production.min.js:225
Sr.render @ react-dom.production.min.js:232
(anonymous) @ react-dom.production.min.js:236
yr @ react-dom.production.min.js:222
Hr @ react-dom.production.min.js:236
render @ react-dom.production.min.js:238
(anonymous) @ index.js:7
t @ bootstrap bc40f7ff8ccf97bc2d6e:19
(anonymous) @ main.f54cc8f6.js:18490
t @ bootstrap bc40f7ff8ccf97bc2d6e:19
(anonymous) @ bootstrap bc40f7ff8ccf97bc2d6e:62
(anonymous) @ bootstrap bc40f7ff8ccf97bc2d6e:62
index.js:87 Uncaught TypeError: Cannot read property 'userData' of undefined
    at t.value (index.js:87)
    at t.value (index.js:196)
    at kn (react-dom.production.min.js:167)
    at Hn (react-dom.production.min.js:180)
    at Gn (react-dom.production.min.js:202)
    at $n (react-dom.production.min.js:203)
    at fr (react-dom.production.min.js:212)
    at lr (react-dom.production.min.js:211)
    at cr (react-dom.production.min.js:211)
    at or (react-dom.production.min.js:209)

Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.
Thank you!


ots field no longer defined in NIP-03

Came across this line:
https://github.com/penpenpng/nostr-typedef/blob/af6eb51c3b08fe99578a32847f82eeb3f230305c/index.d.ts#L14-L15
ots has been removed in 09ffb95. Should it be kept? Marked as deprecated?
Personally, I think it would be nice to have it removed in v1.0.0 :-)
What do you think?

v0.11.0 has been released. As noted above, there is no plan for v1 at this time, so this is closed for now. Thanks!


KeyError for missing field of type datetime when loaded from json

While creating a Document instance using json string, if the document property is of type datetime and JSON does not have that key, we see KeyError.
Error is raised from line 585 in document.py.

elif struct[key] is datetime.datetime and doc[key] is not None:

There is no check if the key exists in the doc. This causes it to throw KeyError

Thanks for the report, this bug is fixed.


Missing 3.1.6 artifact

First of all, thank you for the great project! I'm currently migrating a project from .net461 to .net core 3.1.6, and glad I found your work as a great replacement for the former "probing privatePath" from App.config
Anyway, I'm getting this error:
"Artifact does not exist. v3.1.6/win-x64
patch failed"
If I understood correctly, it seems that the latest fx patcher you have is for 3.1.5, would you be able to create a new one for 3.1.6?
Thank you!

uploaded. try rebuilding your project, NetCoreBeauty will fetch the latest artifacts automatically.

Hi
Any ETA on .net 5 support?

Hi
Any ETA on .net 5 support?

win x86_64 artifacts already uploaded. but linux/mac artifacts still need some time, the build just keeps throwing errors.

Hi @liesauer, any updates on Linux/Mac artifacts?


"Default exchange" confusion

In AMQP, the exchange know as the "default exchange" is that referenced by not supplying an exchange name (usually interpreted in client libraries as an empty string). Its purpose is to allow messages to be published directly to queues.
node-amqp, from its early days, has used the exchange "amq.topic" as the target when an exchange name is not supplied to procedures.
"amq.topic" is something of an odd choice.  It is not guaranteed to exist -- the spec asks that it be initially present in each vhost (and so it is in rabbitmq), but it is otherwise not special, and may be deleted for example.
Ideally, node-amqp would follow the semantics as indicated by the specification, and a procedure that doesn't use an exchange name would publish to the actual default exchange. I'm thinking of Connection.publish specifically. However, it may be that applications rely on the current behaviour.
The choices are at this point:

Correct the behaviour of Connection.publish
Keep the current behaviour of Connection.publish, and
a. Supply queue.publish, for publishing directly to a queue
b. Supply Connection.publishToQueue
c. Require people to use Connection.exchange('').publish(queueName, ...)

I've implemented 2a, but it's unsatisfactory as it requires a channel creation to get the queue, which is not actually needed for the publish. Of the 2s, 2b is probably best. But 1 is better still from my point of view.
In any case, the README ought to be fixed up -- when my changeset doing 1 above was merged, the behaviour was reverted, but not the README apparently.
I'm happy to do the work for this, but I need to know which option is going to be acceptable.

it seem's still doesn't work with defaultExchange = ''
or show me how to do right
i use simple python publisher send.py from the rabbitMQ first tutorial
http://www.rabbitmq.com/tutorials/tutorial-one-python.html
the node.js part looks like:
    var amqp = require('amqp');
    var connection = amqp.createConnection({ host : "localhost" }, { defaultExchange : ""  });
    connection.on('ready', function () {
        console.log("connected to " + connection.serverProperties.product);
        var q = connection.queue('hello');
        ...
    });

and it falling down on var q = connection.queue('hello');
*
dimik@mini:~/ria# node dispatcher.js
connected to RabbitMQ
events.js:48
throw arguments[1]; // Unhandled 'error' event
^
Error: PRECONDITION_FAILED - parameters for queue 'hello' in vhost '/' not equivalent
at Queue._onMethod (/Users/dimik/ria/node_modules/amqp/amqp.js:1703:15)
at Queue._onChannelMethod (/Users/dimik/ria/node_modules/amqp/amqp.js:1348:14)
at Connection._onMethod (/Users/dimik/ria/node_modules/amqp/amqp.js:917:28)
at AMQPParser.onMethod (/Users/dimik/ria/node_modules/amqp/amqp.js:792:12)
at AMQPParser._parseMethodFrame (/Users/dimik/ria/node_modules/amqp/amqp.js:441:10)
at frameEnd (/Users/dimik/ria/node_modules/amqp/amqp.js:186:16)
at frame (/Users/dimik/ria/node_modules/amqp/amqp.js:171:14)
at AMQPParser.header as parse (/Users/dimik/ria/node_modules/amqp/amqp.js:159:14)
at AMQPParser.execute (/Users/dimik/ria/node_modules/amqp/amqp.js:230:21)
at Connection. (/Users/dimik/ria/node_modules/amqp/amqp.js:832:12)
*

It looks like you have already declared that queue (in the Python code probably) but with different properties. You can check with rabbitmqctl or if you're using the management plugin, the web UI, and adapt the node code to fit (e.g., by passing the option in as a second argument:
connection.queue('hello', {durable: true});

No special properties
like in tutorial it use only name in constructor
channel.queue_declare(queue='hello')
rabbitctl say:
sudo rabbitmqctl list_queues name durable auto_delete            Listing queues ... hello   false   false

I doubt this has anything to do with this issue.
But anyway: it is entirely possible that node-amqp uses different defaults for those properties. In this case, possibly node defaults to durable: true (or auto_delete: true I guess). So set both to false explicitly, as the rabbitmqctl output indicates.

Thanks, Michael
You was right, and all works now
This is the strange node-amqp defaults.
BTW
i try console.log incoming message and was surprised by undefined contentType instead of something like "octet/stream"
{ data: <Buffer 48 65 6c 6c 6f 20 57 6f 72 6c 64 21>,
contentType: undefined }
it's because python pika just doesn't send them?

it's because python pika just doesn't send them?

Probably.


Feature Request: Add events 'workaround'?

Is it somehow possible to add a button which brings me directly to the standard quick event field in apple calendar?

Or a simple AppleScript could fit?:
on run
set the clipboard to "{query}" as text
tell application "Calendar" to activate
delay 0.5
tell application "System Events"
    keystroke "n" using {command down}
    keystroke "v" using {command down}
    keystroke return
    delay 0.5
    key code 48
	key code 125
end tell

  return "{query}"
end run

Or since I love URL schemes:
Use ekEvent.calendarItemIdentifier, (not the ekEvent.eventIdentifier)
Date format: yyyyMMdd'T'HHmmss'Z'
Create URL: ical://ekevent/(date)/(eventIdentifier)?method=show&options=more
RayCast Extension
(There is an Alfred workflow existing, but I don't know if it is useful for somebody, I do not own Alfred: Alfred Calendar Extension)
https://developer.apple.com/library/archive/documentation/AppleApplications/Conceptual/CalendarScriptingGuide/Calendar-CreateanEvent.html#//apple_ref/doc/uid/TP40016646-CH94-SW3

I'd rather not use keystrokes or anything that depends on Apple keeping the UI untouched.
I will try to find a clean way to do it.
ps.: I didn't understand the url scheme part, since that's for existing events and the app already does that.

As I understand, the URL scheme is creating an event at a certain date, but maybe I did not get the point :)
Create URL: ical://ekevent/(date)/(eventIdentifier)?method=show&options=more
Thank you for thinking about it! would be very cool :)
bom natal e bom anos


Rename DataProviders to Providers

DataProviders will be mysql, config, etc.. according to #2 task. All current dataproviders(familiesdataprovider, messagesdataprovider) should be renamed to FamiliesProvider, MessagesProvider..

Done