Can a few screenshots or direction for completing an interactive rebase be added?

[x ] This issue is about specifically the git-scm.com website and is not an issue about

[ ] Git (or its man pages), which should be raised with the community,
[ ] Git for Windows, which should be raised at git-for-windows/git, or
[ ] the contents of the Pro Git book, which should be raised at progit/progit2.

The section for interactive mode omits the last part where a commit message needs to be entered. I get a screen that says here are the  commit messages and lists the files, but no obvious place or direction as to where (or how) the new commit message should or can be entered.
I think a bit of instructive text or a screenshot would really help git noobs (me) avoid panic or frustration when trying to work with an unfamiliar tool.

This issue tracker is dedicated to the git-scm.com website.
The issue you have raised is related to the git program and its manual pages. If you think there is a bug in this, please, send your issue to the git mailing list<EMAIL_ADDRESS>If you need help with using git, you can ask the community

The page i was on linked here

Right, but all of the pages under docs/ are a wholesale mirror of manpages from the upstream project. So any changes have to go there first, and then they get pulled in automatically to the site.

Got it. This is for problems with the host platform and not for the content. I came here from google trying to find an example of where to type the commit message for an interactive squash, and saw the link at the bottom and was on  "...the git-scm.com website".
 We definitely have had problems with people reporting upstream git problems, and the issue template is new-ish to deal with that. I agree it might be worth clarifying which content comes from where based on URLs on the site, which is what people actually see.
/cc @sxlijin

@peff just to clarify, which "sources" does the website contains?

the book (https://git-scm.com/book/en/v2)
the man pages (https://git-scm.com/docs)
website content itself

and any other?

@pedrorijo91 I think that covers it. The book content is actually all of /book, really.


[Linux]Fail to paste the copied connection string to editor

Repro Steps:

Choose a storage account -> Right click it and select 'Copy Connection String'.
Paste the copied connection string to editor.
Check whether the connection string can be pasted to editor successfully or not.

Expect:
Succeed to paste the copied connection string to editor.
Actual:
Fail to paste connection string to editor .
More Info:

Also fail to paste blob container/file share url to editor.
This issue doesn't reproduce on Windows/Mac.

Repros in 0.4.0

Closing as dupe of https://github.com/Microsoft/vscode-azurestorage/issues/141


Pdf for date range

Currently, when we export transaction history in PDF format, all the transactions are put in the pdf.
ToDo: Modify the existing /pdf command so that the user can also get the option to specify the date range, so only the transactions noted on those days will be present in the pdf.

Work completed


Feature Suggestion: Reopen many closed files

Reopen closed file is great, but I used to reopen again and again more and more tabs in Chrome or VSCode. That is, it will be nice if  pressing Ctrl+Shift+T, Ctrl+Shift+T twice would open the two recently closed documents.

All feature requests to this extension must be backed by a real Visual Studio suggestion registered at Developer Community. Please create one and post the link back here.


Issue with emulation of game submitted to Octojam

Relevant: https://github.com/JohnEarnest/chip8Archive/blob/master/src/slipperyslope/slipperyslope.8o
Whenever the player moves to a corner, randomly a square block is generated. Also, when the player reaches a flip flop, the player stops instead of changing the direction.
This behaviour is different from that observed in browser.

Verified instructions in file for run of slipperyslope in sorted opcodes. Verified till all instructions starting with 7.

This too: https://johnearnest.github.io/chip8Archive/play.html?p=ghostEscape


[BUG] Action with string enum input parameter results in an incorrect type

Is there an existing issue for this?

[X] I have searched the existing issues

Nature of Your Project
TypeScript
Current Behavior
Given an action such as:
    action   test( @mandatory testInput : String not null enum {
        anEntry;
    })

Yields a type like:
export declare const test: { (testInput: test_testInput): {} | null, __parameters: {testInput: test_testInput}, __returns: {} | null };

With TypeScript complaining:
Cannot find name 'test_testInput'.ts(2304)
Exported variable 'test' has or is using private name 'test_testInput'.ts(4025)

Expected Behavior
I'd expect a correct type returned from the creation.
Steps To Reproduce
No response
Environment
- **OS**: MacOs
- **Node**: v20.10.0.
- **npm**:
- **cds-typer**: 0.13.0
- **cds**:7.4.2

Repository Containing a Minimal Reproducible Example
No response
Anything else?
No response

Hi Tobias,
thanks for reporting this use case!
I am actually not even sure where this enum would supposed to be generated to. So I guess
        test: { (testInput: 'someEntry'): any, __parameters: {testInput: 'someEntry'}, __returns: any }

would be the best option here?
Best,
Daniel

Would suffice for me. In the end also string would be fine for me - everything is better then a typ error 😅.

That's reasonable, so I'll see to make it one of the two.


What options do i have to track parallel executed work. Can we add some

I want to track the time i spend in my code. so i create a Instant before and afterwards and i know how much time i spend.
Now i use rayon to improve my code and do the same.
However, i don't know how many cores my code ran on.
Okay so I could assume it was running on all available cores, but what if i do another task at the same time ?
Did task1 get scheduled at 50% of all cores and task2 at the other 50% ?
Now imagine more and more tasks, all running at the same time doing different important code in parallel thanks to Rayon.
It would be nice to get some feedback with the result. E.g. Your code was scheduled on 4.3 cores on average during the runtime of the iteration.
This way we in our veloren game engine could find out not only the slowest path but how much CPU time is burned there and where to optimize.
Or is there already some feedback like this ?
More detailed feedback, like the iterator first run on 8 cores, then after 10 seconds it had to share some cores and after another 6 seconds it ran on all cores again would also be possible, but prob to much overhead?
Doing a measurement in every single iteration is prob a way to big overhead. Doing one per chunk of items would prob work

hi,
i have a fork of rayon which enables some logs.
it is experimental but if you like you can give it try.
there is an example here
note that the corresponding Cargo.toml file is using my modified rayon and not the official one.
the svg files produced should be seen in firefox since they contain some javascript.
it shows the decomposition into tasks with each thread having a different color.


PMA0014: Hugging face dataset for creative writings.

Description:

We have scrapped creative writing data consisting of letters, articles, poems, announcements and memos.
We need to create separate hugging face datasets for each tag.
For Tibetan poems (སྙན་ངག་), we need to determine whether the structure is valid by counting the syllables.
There is a requirement for a separate column for syllables, sentences and structure of the poems.

Sub-task:

[x] Scraped data deduplication
[x] Parse the creative writing data and make separate JSON for each tag combination.
[x] For Tibetan poems, determine the structure by counting syllables.
[x] Create the hugging face dataset

Completion Criteria:
Create separate hugging face data for separate tags

classified data for སྙན་ངག་

for Tibetan poems
https://huggingface.co/datasets/tenkal/tibetan-poems

sorted all the data into tags, some tags are keywords in a news article, they are under unclassied


Auth

Summary
We need to discuss and decide on what auth system to use.
Current Opinions

@viggy96 suggested using Firebase, which as far as I understand is similar to OAuth. Firebase can use our data from third-party accounts (e.g. twitter), or it can handle storing the username and passwords for us.
@GetRektByMe supports using external authentication providers (e.g. Firebase, OAuth), however he would like to also have our own native/local system for users who do not have a Twitter, Google Plus, etc. I think he mentioned something about 2-factor authentication.
@scraeling thinks that we should not write our own auth system (if we use a native/local system). Using extensions like Flask-Login or Flask-Auth are preferred.
My thoughts: I agree with with @GetRektByMe and @scraeling. While things like OAuth are nice, I think I have definitely met translators who strongly value their anonymity. I would personally never use social media to log into a translation website, and I would prefer to use a registration system. It matters to me less where the data is stored so long it is secure and we don't write it ourselves. As such, I think support for social media login (e.g. OAuth) should be put on the back-burner and take lower priority over something that supports standard username/password registration.

Some Auth Extensions commonly used with Flask

Flask-Auth
Flask-Login
Flask-Security
Flask-OAuth
Flask-OpenID
Flask-Stormpath

(Note I haven't looked into most of these carefully. If you have existing experience with any of these, feedback is appreciated)
If you find blog articles or posts commenting on Flask auth, share them please!

2014: Stormpath says rolling your own auth is horrendous. Flask-Login is a good library but of course, they themselves (Flask-Stormpath) are the best.

@SunDwarf has declared Flask-Security <3
I'm happy with that and so is @GetRektByMe

Firebase also allows traditional username/password logins as well.

That way we'd only have to store user tokens in the database, no matter the auth method used. Further, we'd only get access to the users information (e-mail) when we need it.

So, even if the database is compromised, the attackers wouldn't even get a list of e-mails, just a bunch of tokens which would be pretty much impossible to de-hash.

https://firebase.google.com/docs/auth/

Yes, but then you have the issue of trusting anyone else with your security details (which is a big no)

That's always an issue. And honestly I would trust Google with security details more than ourselves, because let's face it, if Google gets compromised, the world has much bigger issues.

We don't want to risk our user's private information getting compromised. In my opinion, NOT doing authentication ourselves is the best way to do that. And further, its not like Google is just storing a HashMap, of user auth data. All they're doing is hashing the data we send them and comparing the hashes. With their vast amount of experience on the matter, I'm pretty sure Google would do a good job.
And if you're worried about DMCA people knocking on Google's door, they would probably say, "we don't have that information" because they don't store that information in plain text.

In the end, you still have to send the data over the wire. Who knows if that's compromised or not?
It doesn't matter what company you use, you're still sending it to a third-party, which you don't have control over, or control over the intermeditary parties transmitting the data.

Again, that is still an issue regardless. The user still has to send their password to us. However, the issue is the storage and actual authentication process. And there are not intermediary parties, just us and Google. If you don't trust TLS 1.2, we might as well give up.
For that matter, who knows if the user's machine is compromised or not, or the ISP is compromised or not? There are a dozen holes in authentication, I'm trying to solve just a few.
If we just DON'T store passwords and e-mails we can further protect the users' information.

Saving both of these links for later reading.
I personally think both of you have valid points. I do think that using Firebase is more secure then storing data locally -- however, it's a business decision. Flask-Security is secure enough of production, but how much more secure you want to be is a whole another question.
I'm going to start a branch with Flask-Security because the documentation is straightforward and Fuyu has experience in it (which is very valuable, by standards). ...also part of me just doesn't want to go through the process of making accounts and setting up data stores with Firebase. ;-; ...because laziness. Flask-Security is more familiar to me because most web frameworks have a similar extension.

Decided on Flask-Security

Switched to hashing with scrypt


Convert excel files to csv files epi_hiv_malaria_measles_schisto_tb

This PR aims at converting excel files in epi, hiv, malaria, measles, schisto and tb to csv files and read the newly created csv files using the newly created read_csv_file method.
Person Responsible - Tara Mangal

Hi @tdm32, @tbhallett,  @matt-graham and @tamuri  . I've started converting the excel files to csv and read them using the read_csv_files method. I've currently started with Tara's modules in this PR. As per checks above one  test tests/test_htm_scaleup.py is failing for a reason @matt-graham we discussed before which is reading parameter values directly from resourcefile and compare them with parsed parameter values in simulation.
Because we have converted files to csv, all values are converted to strings and read as strings as such assert simulation_param_value  = resourcefile_param_value will be False as one will always be in string format whilst another in a format assigned to in read parameters section. Should I convert both values to string i.e. assert str(simulation_param_value)  = str(resourcefile_param_value)?

@matt-graham, In run checks, there are Pylint errors in test_hiv. I can't figure out why Pylint is reconising the output of this line  as a dictionary instead of a dataframe.
tests/test_hiv.py:1216:27: E1101: Instance of 'dict' has no 'loc' member (no-member)
tests/test_hiv.py:1217:9: E1101: Instance of 'dict' has no 'Year' member (no-member)
tests/test_hiv.py:1218:28: E1101: Instance of 'dict' has no 'loc' member (no-member)
tests/test_hiv.py:1219:9: E1101: Instance of 'dict' has no 'Year' member (no-member)
tests/test_hiv.py:1220:26: E1101: Instance of 'dict' has no 'loc' member (no-member)
tests/test_hiv.py:1221:9: E1101: Instance of 'dict' has no 'Year' member (no-member)

Hi @mnjowe, thanks for doing all of this files. All sheets are present. Just one query, ResourceFile_schisto.xlsx is soon to be replaced with a newer version with many more sheets contained in it. When I do the PR for those changes, should I try and follow your logic here separating each sheet into a csv file?

Hi @tdm32 . Yes, you can follow same logic and use read_csv_files to read from those newly converted CSV files. Only when you just want to read from one CSV file,  using pd.read_csv directly will be more preferred.
a quick way to convert from excel files to CSV files(put it in a test file and run it as a test)
def test_convert_files():
    # get a path to a folder containing the resource file
    resourcefilepath = Path(__file__).parent / '../resources'
    # provide a name for the recource file(s) you want to convert. If one file pass it as a string and if two or more pass as a list
    excel_file = ['excel_file_name.xlsx']
    # call a method to convert to csv files setting an optional argument delete excel files to True if you want the excel file deleted
    convert_excel_files_to_csv(resourcefilepath, files=excel_file, delete_excel_files=True)


FLAC save/load is broken with in-memory buffers and sox_io backend

🐛 Describe the bug
from io import BytesIO
import torch
import torchaudio

torch.manual_seed(0)
torchaudio.set_audio_backend("sox_io")

sr = 16000
N = sr  # in case you can't reproduce, try increasing N, for some values it works, for others doesn't
x = torch.rand(1, N)  # "audio"
print(x[0, :20])

# This works OK.
fmt = "wav"
f = BytesIO()
torchaudio.save(f, x, sample_rate=sr, format=fmt)
f.seek(0)
x_rec, _ = torchaudio.load(f, format=fmt)
assert x.shape == x_rec.shape
print("WAV works OK")

# This breaks.
fmt = "flac"
f = BytesIO()
torchaudio.save(f, x, sample_rate=sr, format=fmt)
f.seek(0)
x_rec, _ = torchaudio.load(f, format=fmt)
assert x.shape == x_rec.shape, f"FLAC fails {x.shape=}, {x_rec.shape=}"

The output is:
tensor([0.4963, 0.7682, 0.0885, 0.1320, 0.3074, 0.6341, 0.4901, 0.8964, 0.4556,
        0.6323, 0.3489, 0.4017, 0.0223, 0.1689, 0.2939, 0.5185, 0.6977, 0.8000,
        0.1610, 0.2823])
WAV works OK
Traceback (most recent call last):
  File "/Users/pzelasko/Library/Application Support/JetBrains/PyCharm2022.2/scratches/scratch_6.py", line 26, in <module>
    assert x.shape == x_rec.shape, f"FLAC fails {x.shape=}, {x_rec.shape=}"
AssertionError: FLAC ails x.shape=torch.Size([1, 16000]), x_rec.shape=torch.Size([1, 8192])

With sox_io backend, FLAC fails to encode or decode the whole audio from in-memory buffers such as BytesIO. It actually breaks silently, so unless the user validates they get the expect audio size, they will think everything is OK. I found out this issue when using Lhotse, which validates the shapes with metadata.
I can reproduce this issue across multiple PyTorch versions (I think I first noticed it in 1.10, and it was always there since, but it could have been introduced before 1.10), Python versions (3.8 and 3.10), both on Linux and MacOS. Sorry for a late report... I was working around by using the soundfile backend for FLAC which works fine there.
Versions
$ python collect_env.py
Collecting environment information...
PyTorch version: 1.12.0
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: macOS 12.5.1 (arm64)
GCC version: Could not collect
Clang version: 13.1.6 (clang-13<IP_ADDRESS>.5)
CMake version: version 3.24.1
Libc version: N/A

Python version: 3.10.4 (main, Mar 31 2022, 03:37:37) [Clang 12.0.0 ] (64-bit runtime)
Python platform: macOS-12.5.1-arm64-arm-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] mypy-extensions==0.4.3
[pip3] numpy==1.22.3
[pip3] torch==1.12.0
[pip3] torchaudio==0.12.0
[pip3] torchvision==0.13.0
[conda] numpy                     1.22.3          py310hdb36b11_0
[conda] numpy-base                1.22.3          py310h5e3e9f0_0
[conda] pytorch                   1.12.0                 py3.10_0    pytorch
[conda] torchaudio                0.12.0                py310_cpu    pytorch
[conda] torchvision               0.13.0                py310_cpu    pytorch

Hi @pzelasko - Thanks for the report. This seems to be issue of loading side.
@pytorch/team-audio-core Can someone look into why this test did not catch this?

Duplicate of https://github.com/pytorch/audio/issues/2356

https://github.com/pytorch/audio/issues/2356#issuecomment-1241424579

Cool, thanks, I’ll see how I can add this workaround in Lhotse.

Note torchaudio.io._compat has been moved to torchaudio._backend.ffmpeg in #3518, but now that we default to per-call backend dispatching. Please use load(backend="ffmpeg").


Write docs on how default KET docker registry works with existing user registry

There is this document.
Did you have anything else in mind?

Closing as this is currently documented. Please re-open if docs need clarification/improvement.

We don't link to it anywhere in the main docs sections. I'll fix that.


Sync eng/common directory with azure-sdk-tools for PR 8422

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/8422  See eng/common workflow

/check-enforcer override


Refactor text editing test APIs

...and remove a legacy TODO whose referenced issue (#51885) is now closed.
To actually fix this required some refactoring of the text editing test APIs.
See #77454 for original discussion.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

New problem: the client ID doesn't match what the text field is expecting, so the text field ignores it...

cc @LongCatIsLooong @justinmc

cc @dnfield @goderbauer in case you're interested in seeing the differences since the last version

Thanks for the review! I've marked this so it'll land on green (had to fix a merge conflict due to the revert of @LongCatIsLooong's PR).

Updated again, I conflicted with @LongCatIsLooong's revert of his revert. :-)


Collection Ref add method promise returns WriteResult instead of Document Ref

This issue related to documentation https://cloud.google.com/nodejs/docs/reference/firestore/0.17.x/CollectionReference#add in this add method promise returns WriteResult ref instead of Document Ref.

@vinaymavi Can you clarify if there is any unexpected behavior? .add() is meant to return a DocumentReference: https://github.com/googleapis/nodejs-firestore/blob/b045d5b0195cdc8fb29b25e30f66f7662461adda/dev/src/reference.ts#L1877
This allows you to later fetch the document that we create. Without the reference, we would not be able to convey the autogenerated ID.

Closing for now. Please re-open should you still encounter this problem.


[WIP] Glossary changes

Added styling around defined terms and changed some definitions to better fit general usage.
In particular, I removed "who participates in the community" from the definition of user, as, while this may be encouraged or required in some use cases of the software, is not necessarily required in all. It's entirely plausible that a user, in a hypothetical use case, may be entirely passive and not participate in the community at all.

I am of the opinion that a user who does not do anything except downloading and seeding still participates in the community, in his or her way.
A user who does not contribute is disabled.
So I would be for keeping the term.

It really is a semantic issue, but even then, I could imagine a use case where a user never downloads or seeds anything and doesn't get disabled. It may not be a common implementation, but it certainly is a possibility.

Looks good to me. I'm merging this to also move forward #193 and to allow others to build upon this more easily.
(A wiki would actually be easier to edit this, hmm)


Feature request: Generate github releases instead of just tags

GitHub does not have the ability to follow a repo for new tags ( https://github.com/dear-github/dear-github/issues/399 )
This feature request is to have this repo generate actual releases when a new chart version is released so that users using the product know to update.

Closed as completed as part of our new release process.


Linter: prevent orphaning of dynamic fields

Description
Why: The values bound to these dynamic fields will get orphaned when the struct value goes out of scope
Severity: High. Orphaning objects loses $$ because the storage rebate associated with the orphaned object can never be recovered

Another variant of this.
A struct may have multiple IDs:
struct X {
  id: UID
  id2: UID
  id3: UID
}
```
or
```
struct Y {
  ids: vector<vector<UID>>
}
```
or
```
struct Z {
  ids: Table<String, UID>
}
```

We could try to figure out which UIDs have dynamic fields attached to them (step 1) and yell if you object::deleted on on of these UIDs.

Possible implementation strategy:
Basically implement a version of god’s borrow checker, that is a simple, set-based reference analysis that tracks references by their created path.
We can be a bit lossy here so we could literally take the version of god’s borrow checker from the paper, and do not need to worry about the missing expressivity
When you see a call to a dynamic (object) field API, record any fields that have dynamic fields added.
With the recorded map of what fields have had dynamic fields added, we proceed to the next analysis…
Implement a second version of something that looks like god’s borrow tracker, but instead tracking references it tracks UID values. Either newly created or struct fields
When you see object::delete, check the source of that UID value (potentially more than 1 possible source). If the field of that source was in the recorded map generated in the first analysis (or if the UID was newly created in this scope), we give a lint warning.


closing parenthesis erroneously included in hashtag

posting "lorem (ipsum #foo)" results in foo) - surely that's almost always not what the user intended?

Thanks for reporting this (and sorry for answering that late).
Currently a tag (which is linked to when using the #) is defined as any character till the next whitespace occurrence. If we agree to change this we should discuss which characters to exclude because I think there would be many more candidates to exclude.

we should discuss which characters to exclude because I think there would be many more candidates to exclude

YAGNI? Users have a tendency to be hard to predict, so I'd rather fix bugs as they come up in real usage.
Having said that, I suppose punctuation ([.,!?:;"']) should be safe - though only if followed by whitespace (think "#foo:bar").
Apart from punctuation, I'd avoid

sorry for answering that late

How dare you take the weekend off!


Custom CSS does not work anymore

Hi,
a few days ago our custom CSS stopped working. I made a test with a very easy piece of code and it seems it does not read the CSS after the @ import.

Hi, #55 now adds leap-day.scss so that it works with jekyll-remote-theme. You can use the latest version of this theme by updating it in your _config.yml:
-theme: jekyll-theme-leap-day
+remote_theme: pages-themes/leap-day@master

We'll be releasing a new version of GitHub-pages to fix this soon.


ENH: Fixing error and improving examples' test

Trying to push this to gerrit results in an error message:
$ git gerrit-push
Fetching gerrit master
Pushing to gerrit
Counting objects: 82, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (43/43), done.
Writing objects: 100% (82/82), 28.75 KiB | 3.19 MiB/s, done.
Total 82 (delta 69), reused 51 (delta 39)
remote: Resolving deltas: 100% (69/69)
remote:
remote: Processing changes: refs: 1, done
error: failed to push some refs to 'dzenan.zukic@review.source.kitware.com:ITK'
To review.source.kitware.com:ITK
!       HEAD:refs/for/master/mciFix     [remote rejected] (change http://review.source.kitware.com/23187 closed)

Dzenan@WinCorista MINGW64 /c/Misc/ITK-patches (mciFix)

Thanks for the quick fix, @dzenanz !
That is an interesting error. I downloaded and pushed the patch here:
http://review.source.kitware.com/#/c/23195/


Profiler returning unique_count value wrong

Reported by @pallav1991 :
I have one more issue that there at times when i have seen the profiler returning unique_count value wrong. I am not sure this issue is at your end or at my end. but can you look at this once, if possible.
sorry I am tight at my schedule or else I would have looked at it.

Hi @pallac1991
Maybe the problem is that we are using the function approx_count_distinct
https://spark.apache.org/docs/latest/api/python/pyspark.sql.html?highlight=dataframe join #pyspark.sql.functions.approx_count_distinct
May we could try in some profiler params to calculate the exact count? @FavioVazquez

Hi @pallav1991,
Can you confirm this is the problem?


Error when attempting to move the last contact out of a non-household or administrative account into a household account.

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
Customers who have automatic HH renaming enabled in settings are experiencing errors when attempting to move the last contact out of a non-household or administrative account into a household account.

What is the expected behavior?
The contact should be moved without error

Steps to reproduce:
Enable HH renaming in EDA settings
Create a Business Organization Account
Add a contact to that account
Edit the contact you just created to a new HH account
Click Save
You'll receive the following error: "Review the errors on this page. A required field is not set. This field could be from this record or a related record."
This is because the UTIL_Acct_Naming class is attempting to rename the Business Organization account and it has no additional contacts. Both account IDs are fed into the trigger and are therefore returned in the queryContacts method in lines 146-174. The dynamicSoql built in this method doesn't filter for whether or not the account record types match the household or administrative account record types.
In my scratch org example,
I created a Business Organization Account "Test Org" with an ID of "001P000001eXKTBIA4"
I added a contact "Jane Jones" to that "Test Org" account.
I created a new HH account "Jones HH" with an ID of "001P000001eXKUiIAO"
When I attempt to move Jane out of the "Test Org" account and into the "Jones HH" account, I get the error.
In the debug logs you can see that it has both account IDs included in the accIdsToRename
|VARIABLE_SCOPE_BEGIN|[127]|accIdsToRename|Set<Id>|true|false
|VARIABLE_ASSIGNMENT|[127]|accIdsToRename|["001P000001eXKUiIAO","001P000001eXKTBIA4"]

And we see that in line 172, both IDs are still returned for renaming processing.
|SOQL_EXECUTE_BEGIN|[172]|Aggregations:1|SELECT Id, RecordTypeId, (SELECT Id, AccountId,Account.RecordTypeID, Account.Primary_Contact__c, Account.Name,firstname, lastname, OwnerId, Salutation,MailingStreet, MailingCity, MailingState, MailingPostalCode, MailingCountry, MailingLatitude, MailingLongitude, OtherStreet, OtherCity, OtherState, OtherPostalCode, OtherCountry, OtherLatitude, OtherLongitude, Phone, Fax FROM Contacts WHERE Exclude_from_Household_Name__c != true AND Deceased__c != true) FROM Account WHERE Id IN :accIdsToRename
|SOQL_EXECUTE_END|[172]|Rows:2
|HEAP_ALLOCATE|[172]|Bytes:12
|HEAP_ALLOCATE|[172]|Bytes:350
|HEAP_ALLOCATE|[172]|Bytes:12
|VARIABLE_ASSIGNMENT|[172]|returnedContacts|[{"Id":"001P000001eXKTBIA4","RecordTypeId":"012P00000011f85IAA"},{"Id":"001P000001eXKUiIAO","RecordTypeId":"012P00000011f87IAA","Contacts":[{"AccountId":"001P000001eXKUiIAO","Id":"003P000001Mu2rgIAB","FirstName":"Jane","LastName":"Jones","OwnerId":"005P0000004d5OBIAY","Account":{"Id":"001P000001eXKUiIAO","RecordTypeId":"012P00000011f87IAA","Name":"Jones HH"}}]}]

Eventually, when the update DML runs, the following error occurs
|EXCEPTION_THROWN|[139]|System.DmlException: Update failed. First exception on row 0 with id 001P000001eXKTBIA4; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Name]: [Name]
Account ID "001P000001eXKTBIA4" shouldn't be renamed at all and should be eliminated from running through the process.
I tested this by editing line 169 to read "dynamicSoql += ' FROM Account WHERE Id IN :accIdsToRename AND (RecordTypeID = :hhAccountRecordTypeId OR RecordTypeID = :adminAccountRecordTypeId)';" and I was able to successfully save the changes to the record in the steps to reproduce listed above.
When re-running my test in my scratch org I see the following:
Both IDs are submitted to accIdsToRename
|VARIABLE_SCOPE_BEGIN|[127]|accIdsToRename|Set<Id>|true|false
|VARIABLE_ASSIGNMENT|[127]|accIdsToRename|["001P000001eXKUiIAO","001P000001eXKTBIA4"]|0x3274cd88

But only the HH record account is submitted for further processing in line 172.
|STATEMENT_EXECUTE|[172]
06:38:25.492<PHONE_NUMBER>)|HEAP_ALLOCATE|[172]|Bytes:584
06:38:25.492<PHONE_NUMBER>)|SOQL_EXECUTE_BEGIN|[172]|Aggregations:1|SELECT Id, RecordTypeId, (SELECT Id, AccountId,Account.RecordTypeID, Account.Primary_Contact__c, Account.Name,firstname, lastname, OwnerId, Salutation,MailingStreet, MailingCity, MailingState, MailingPostalCode, MailingCountry, MailingLatitude, MailingLongitude, OtherStreet, OtherCity, OtherState, OtherPostalCode, OtherCountry, OtherLatitude, OtherLongitude, Phone, Fax FROM Contacts WHERE Exclude_from_Household_Name__c != true AND Deceased__c != true) FROM Account WHERE Id IN :accIdsToRename AND (RecordTypeID = :hhAccountRecordTypeId OR RecordTypeID = :adminAccountRecordTypeId)
|SOQL_EXECUTE_END|[172]|Rows:1
|HEAP_ALLOCATE|[172]|Bytes:8
|HEAP_ALLOCATE|[172]|Bytes:287
|HEAP_ALLOCATE|[172]|Bytes:8
|VARIABLE_ASSIGNMENT|[172]|returnedContacts|[{"Id":"001P000001eXKUiIAO","RecordTypeId":"012P00000011f87IAA","Contacts":[{"Acco

**lurch: add

Tracking W-041266

Tracking W-7537627

This issues is no longer being considered by the product team.  (W-7537627)


Add New Admin Group Error

Hello!
When we configured api umbrella admin part, we notice an issue with Users area
Steps to reproduce - Users>Admin Groups>+ New Admin Group
While trying to add new admin group form appears and in the console an error occurs:
error-messages.js:5 Uncaught TypeError: Cannot read property 'replace' of undefined
    at n.<anonymous> (error-messages.js:5)
    at d.f.get (ember.prod.js:17749)
    at n.<anonymous> (error-messages.js:81)
    at d.f.get (ember.prod.js:17749)
    at n.value (ember.prod.js:14645)
    at n._compute (ember.prod.js:10333)
    at n.value (ember.prod.js:14645)
    at Object.i [as default] (ember.prod.js:10169)
    at Object.a [as getArrayValues] (ember.prod.js:14955)
    at n.compute (ember.prod.js:14025)

Api umbrella: v0.14.0 (from yum repository)
OS: CentOS 7.0
Browser: Google Chrome 57.0.2987.98 (64-bit), the same situation for Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Screenshot: Screenshot 2017-03-29 17-44-23.png
Maybe not the ability of one such problem.

Apologies for the delay in responding, but thanks for the detailed bug report! This was definitely a bug that cropped up in the 0.14.0 release, our bad for not catching it sooner. It should be fixed by https://github.com/NREL/api-umbrella/commit/ece75d456aa0a3e4e78fc03e4d880c3a9c65b16a I'll try to get a v0.14.1 release packaged up this week with this in it.

v0.14.1 has been released with this fix in it. Thanks again for reporting this issue!


support non js/css assets being added

The current .add() command is too opinionated to do anything beyond css / js. It would be useful to allow for a 3rd fallback option if it doesn't match which is to allow deveopers to manually construct the tag they want to add.
Example applications:

HTML Import is currently not possible - <link rel="import" src="somefile.html">
Creating a plugin that generates icon derivatives for different mobile devices / other important meta tags:

<meta name="msapplication-config" content="/xapi/sites/all/themes/elmsln_contrib/foundation_access/icons/elmsicons/browserconfig.xml">
        <link rel="apple-touch-icon" sizes="144x144" href="/xapi/sites/all/themes/elmsln_contrib/foundation_access/icons/elmsicons/elmsln-144.png">
        <link rel="icon" type="image/png" sizes="192x192" href="/xapi/sites/all/themes/elmsln_contrib/foundation_access/icons/elmsicons/elmsln-192.png">
<link rel="canonical" href="/xapi/node/68" />

Rationale:
It would be great to be able to add these in via a plugin instead of depending on the theme to do SEO optimizations (as 1 example). Supporting canonical for example allows for better SEO and a plugin could provide this in a more modular, theme agnostic way then is currently possible.
Recommendation:
Have a fallback that if it's not css / js, to read off the options and support a structure like this:
.add('whatever.html', array('tag' => 'link', 'rel' => 'import'));
.add('meta', array('tag' => 'meta', 'name' => 'msapplication-config', 'sizes' => '144x144'));
.add('browserconfig.xml', array('tag' => 'link', 'rel' => 'apple-touch-icon', 'content' => '/xapi/user/plugins/seo/icons/elmsicons/browserconfig.xml'));

meta, html and xml are not Assets in the sense that Grav understands.  We actually have some plans in Grav 2.0 to have functions to add arbitrary HTML, metatags and some other things but it's using twig tags directly and not building on top of the Asset manager.  So this kind of functionality is coming...


Add Beef language

Adds the Beef language, extension .bf.
Implements #5066
Usage seems to check out: https://github.com/github/linguist/issues/5066#issuecomment-774380976
Color #4BB4E3 averaged from background of https://beeflang.org
Use C# grammar as Beef is "most[ly] directly derived from C#" - https://github.com/beefytech/Beef
Sample from beefytech/Beef licensed under MIT.
~Checklist

[x] Added language
[ ] Implemented heuristic
[x] Added sample
[x] Added grammar (C#)

Brainf— and HyPhy don't seem to be in heuristics.yml or heuristics.rb; how do I add the Beef heuristic, and how are the others disambiguated?

how do I add the Beef heuristic, and how are the others disambiguated?

Heuristics are optional. They're only necessary when our classifier does a poor job of telling two languages apart. Brainfuck's syntax is—to the surprise of absolutely nobody—easy to distinguish from HyPhy. Hence our classifier gets it right based off of our samples.
Usually, a heuristic matches a predictable and repetitive pattern, or syntax that's valid in one language but illegal in another. If neither is possible, it's best to avoid heuristics altogether and leave it to our classifier to figure it out.

As you're planning to rely on the classifier to correctly identify Beef .bf files, can you please add at least one more sample. The new "Classifier cross-validation" test allows us to confirm the classifier behaviour, however it needs at least two samples:
From the test output:
WARNING: No cross-validation possible for Beef (only one sample)

Added two more

Added two more

Thanks. Can you update the OP with links to the sources and their licenses too, and then I think we're good to go.

Updated


Create cifuzz.yml

This will build the libultrahdr fuzzers in oss-fuzz on each pull request to ensure oss-fuzz build is successful.

@DichenZhang1 this will ensure that for each pull request, ultrahdr fuzzers build fine in oss-fuzz setup.


Cannot install<EMAIL_ADDRESS>on MacOS Ventura 13.4.1 with XCode 14.3.1 Command Line Tools

On MacOS Ventura 13.4.1 (2.6GHz 6-Core Intel Core i7) with XCode 14.3.1 Command Line Tools, after I ran the brew tap mcorino/wxruby3 command, when I tried running brew install<EMAIL_ADDRESS>I got an error:
 % brew install<EMAIL_ADDRESS>==> Fetching dependencies for<EMAIL_ADDRESS>bison and cmake
==> Fetching bison
==> Downloading https://ghcr.io/v2/homebrew/core/bison/manifests/3.8.2
Already downloaded: ~/Library/Caches/Homebrew/downloads/0a84b14c20dfba4609542ea4b14a4eb93d369f7f83f373b568017fc7d76b6505--bison-3.8.2.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/bison/blobs/sha256:fc0224d45c74ee561128eb9df366ccb08698b1d659cfb92ea746e57da0108806
Already downloaded: ~/Library/Caches/Homebrew/downloads/0865a0dc7ef4c841a5650a22e6ce05918c025ca1dbadf91d0e18551aca1f4ac3--bison--3.8.2.ventura.bottle.tar.gz
==> Fetching cmake
==> Downloading https://ghcr.io/v2/homebrew/core/cmake/manifests/3.26.4
Already downloaded: ~/Library/Caches/Homebrew/downloads/8ea1edd37726b75365799685b430d0782d649d1482e7f381d6789c28bfeb2e64--cmake-3.26.4.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/cmake/blobs/sha256:7a48fae8706abac0d5c30e88c83bd8eed6fe44e0239ab30d1f20fd74433e5b30
Already downloaded: ~/Library/Caches/Homebrew/downloads/bd367a0f6389b565e23f23b2e4d8ebac4209ba7a34f42f4c15e8a7254cc8d030--cmake--3.26.4.ventura.bottle.tar.gz
==> Fetching<EMAIL_ADDRESS>==> Downloading https://doxygen.nl/files/doxygen-1.9.6.src.tar.gz
Already downloaded: ~/Library/Caches/Homebrew/downloads/76fa517675614cb9416e058c6a9ec3b6679920e8f3a45beb3a66eb71e9c8e37e--doxygen-1.9.6.src.tar.gz
==> Installing<EMAIL_ADDRESS>from mcorino/wxruby3
Error: Your Command Line Tools are too outdated.
Update them from Software Update in System Settings.

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 14.3.

However, I do have XCode 14.3.1 Command Line Tools installed:

One theory I have about the issue is that the<EMAIL_ADDRESS>dependency on XCode is fixed at version 14.3.0 exactly, which is denying 14.3.1 even if it is also compatible. If that is indeed the case and XCode 14.3.1 is actually compatible, maybe you should relax that dependency. That's unless something else is causing this problem.

I have no idea what is causing this.
I have the exact same XCode command line tools version on my local system (also MacOS Ventura 13.4.1).
What's more the MacOS CI builds run flawlessly not only on a GitHub macos-13 runner (XCode cmd line tools <IP_ADDRESS>.1.1683849156) but also on a GitHub macos-11 runner (XCode cmd line tools <IP_ADDRESS>.1.1638488800)!

Oh, also, the doxygen Homebrew recipe does not declare any dependencies on the XCode tools.
The only versioned dependency in there is for "gcc >= 7.2".
There may be dependencies in the regular doxygen release package but that is ouside my control.

Could there be something out of sync in your XCode or Homebrew setup?
What does brew config say?

% brew config
HOMEBREW_VERSION: 4.0.28
ORIGIN: https://github.com/Homebrew/brew
HEAD: 2b4cfb033757b63ab0b128d01c58db76480956f9
Last commit: 11 days ago
Core tap JSON: 16 Jul 23:35 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.AnN6F7BRzb/org.xquartz:0
HOMEBREW_MAKE_JOBS: 12
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: dodeca-core 64-bit kabylake
Clang: 14.0.3 build 1403
Git: 2.39.2 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.88.1 => /usr/bin/curl
macOS: 13.4.1-x86_64
CLT: <IP_ADDRESS>.29
Xcode: 14.3.1

OK, I think I caught the cause of the problem.
When I run brew doctor, I get this message:
% brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Update them from Software Update in System Settings.

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 14.3.

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Settings.

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 14.3.

So, the problem seems to be a system problem, not a brew package problem. I will work on addressing it first before I try installing the brew package for doxygen again.

OK, brew config now has the right version for CLT:
% brew config
HOMEBREW_VERSION: 4.0.28
ORIGIN: https://github.com/Homebrew/brew
HEAD: 2b4cfb033757b63ab0b128d01c58db76480956f9
Last commit: 11 days ago
Core tap JSON: 16 Jul 23:35 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.AnN6F7BRzb/org.xquartz:0
HOMEBREW_MAKE_JOBS: 12
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: dodeca-core 64-bit kabylake
Clang: 14.0.3 build 1403
Git: 2.39.2 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.88.1 => /usr/bin/curl
macOS: 13.4.1-x86_64
CLT: <IP_ADDRESS>.1.1683849156
Xcode: 14.3.1

brew install<EMAIL_ADDRESS>seems to be working now.
I will confirm back once it's finished installing,


Update eject task UI to failed if git state dirty

Related Issue:

PR #331 identified the problem.
Summary:

If git state is dirty we need to update the UI to failed, so it's not pending forever.
Is there some way to not have the window refresh afterwards? Would be good if when the UI is updated, the window sits still so user isn't jumped up.

Thank you 👍 This is updated.


Infinite loop issue with queryNode function

I'm able to reproduce this reliably right now, so I'm happy to follow any instructions to help debug this further. It seems that GEOSwift gets stuck in an infinite loop in an operation where I call try multiPolygonA.intersection(with: multiPolygonB). Here's what happens in Xcode:

We get into that flow like so:

And ultimately from this line:

Let me know what would be  helpful for me to provide, to further debug this.

Can you provide GEOSwift and geos versions you're using?

Also, please provide input geometries to help us reproduce. This is likely an upstream issue that we'll need to report to geos.

Happy to - how would you like me to provide the geometries? I can provide in GEOJson format if that’s helpful.
Thanks,
Andrew Hart
DentReality.com
On 12 Dec 2021, 19:00 +0000, Andrew Hershberger @.***>, wrote:

Also, please provide input geometries to help us reproduce. This is likely an upstream issue that we'll need to report to geos.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Thanks! GeoJSON works

A different example, first time I was able to consistently reproduce. I called try multiPolygonA.union(with: multiPolygonB).
multiPolygonA:
https://gist.github.com/ProjectDent/c66c10e55b6ff771e64ca2b318b30aa3
multiPolygonB:
https://gist.github.com/ProjectDent/ad65239a5a8a67ac73f5f01c032d3557

I just spent some time trying to reproduce this, but I was unable to. The geojson files you shared both contain feature collections of 3 features, each containing 1 line string. I wasn't sure how you were ending up with multi polygons, so I just converted the line strings to polygons and put them into a multi polygon. I was using GEOSwift 8.1.0 and GEOSwift/geos 6.0.2 (which corresponds to upstream libgeos/geos 3.9.1).
Could you double-check that you can repro with the GeoJSON that you shared? If you're able to provide a sample project that demonstrates the problem that would be even better.


Downloading Composer throws error

Operating System: macOS High Sierra 10.13
Vagrant Version: Vagrant 2.0.0
Virtual Box Version: Version 5.1.30 r118389 (Qt5.6.3)
Hi All, I am having a problem with running vagrant up after installing VCCW per instructions. What can I do to get past this error.
`katelynjoly@localhost vccw-GMEC-2 $ vagrant up
Bringing machine 'vccw.test' up with 'virtualbox' provider...
==> vccw.test: Importing base box 'vccw-team/xenial64'...
==> vccw.test: Matching MAC address for NAT networking...
==> vccw.test: Checking if box 'vccw-team/xenial64' is up to date...
==> vccw.test: Setting the name of the VM: vccw.test
==> vccw.test: Fixed port collision for 22 => 2222. Now on port 2201.
==> vccw.test: Clearing any previously set network interfaces...
==> vccw.test: Preparing network interfaces based on configuration...
vccw.test: Adapter 1: nat
vccw.test: Adapter 2: hostonly
==> vccw.test: Forwarding ports...
vccw.test: 22 (guest) => 2201 (host) (adapter 1)
==> vccw.test: Running 'pre-boot' VM customizations...
==> vccw.test: Booting VM...
==> vccw.test: Waiting for machine to boot. This may take a few minutes...
vccw.test: SSH address: <IP_ADDRESS>:2201
vccw.test: SSH username: vagrant
vccw.test: SSH auth method: private key
vccw.test:
vccw.test: Vagrant insecure key detected. Vagrant will automatically replace
vccw.test: this with a newly generated keypair for better security.
vccw.test:
vccw.test: Inserting generated public key within guest...
vccw.test: Removing insecure key from the guest if it's present...
vccw.test: Key inserted! Disconnecting and reconnecting using new SSH key...
==> vccw.test: Machine booted and ready!
==> vccw.test: Checking for guest additions in VM...
==> vccw.test: [vagrant-hostsupdater] Checking for host entries
==> vccw.test: [vagrant-hostsupdater] Writing the following entries to (/etc/hosts)
==> vccw.test: [vagrant-hostsupdater]   <IP_ADDRESS>  vccw.test  # VAGRANT: 47128bf00ef6e1af237d06f97e0e85f4 (vccw.test) / e3253880-19d5-45c5-a657-1da0f26d63dd
==> vccw.test: [vagrant-hostsupdater] This operation requires administrative access. You may skip it by manually adding equivalent entries to the hosts file.
==> vccw.test: Setting hostname...
==> vccw.test: Configuring and enabling network interfaces...
==> vccw.test: Mounting shared folders...
vccw.test: /vagrant => /Users/katelynjoly/virtual/vccw-GMEC-2
vccw.test: /var/www/html => /Users/katelynjoly/virtual/vccw-GMEC-2/wordpress
==> vccw.test: Running provisioner: ansible_local...
Vagrant has automatically selected the compatibility mode '2.0'
according to the Ansible version installed (<IP_ADDRESS>).
Alternatively, the compatibility mode can be specified in your Vagrantfile:
https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatibility_mode
vccw.test: Running ansible-playbook...

PLAY [all] *********************************************************************
TASK [Gathering Facts] *********************************************************
ok: [vccw.test]
TASK [Place a ~/.bash_profile] *************************************************
changed: [vccw.test]
TASK [Place a ~/.bash.d/] ******************************************************
changed: [vccw.test]
TASK [Place a ~/.bash.d/vccw.sh] ***********************************************
changed: [vccw.test]
TASK [Download the Composer] ***************************************************
fatal: [vccw.test]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to connect to getcomposer.org at port 443: [Errno 104] Connection reset by peer"}
to retry, use: --limit @/vagrant/provision/playbook.retry
PLAY RECAP *********************************************************************
vccw.test                  : ok=4    changed=3    unreachable=0    failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.`

Oh dear. I got this. I just had to run wget https://getcomposer.org/composer.phar and it ended up working 💃


Status report presentation 22/11/2022

2022-11-17 22:00 - 23:00 1h, documentation
Began work on status report presentation. Crated graphics for front page and team.
2022-11-18 15:00 - 17:00 2h, documentation information gathering, wrote text outline for intro, team presentation, clippy project recap and sponsor slide.
2022-11-18 15:00 - 17:00 + 19:00 - 23:00 5h documentation, 1h research. Went through all of our notes and email correspondence, looked up UX guideline literature, ~90% done with script cut down from ~11 min to ~7min (counting on 2min for the video), created slides for all pertinent parts (10 in total by now).
2022-11-21 21:00 - 23:00 1h documentation, 1h other, added video demo, polished slides, rehearsed.


Port ambry_sources to py3.

Done. Waiting on pypi continue with ambry porting.

On Oct 14, 2015, at 10:45 AM, Kazbek<EMAIL_ADDRESS>wrote:
Done. Waiting on pypi continue with ambry porting.

Excellent, thanks, I’ll update ambry_sources now.  But, why does pypi have to be updated? Can you put ambry_sources  source into the same virtenv as ambry, and install it from git?
eric.

Eric Busboom<PHONE_NUMBER>
<EMAIL_ADDRESS>http://www.busboom.org

I can, but it simplifies update for other users.

On Oct 14, 2015, at 11:23 PM, Kazbek<EMAIL_ADDRESS>wrote:
I can, but it simplifies update for other users.

Very true, but there aren’t any other users yet.  They are still on the old version. I’ll move them over in probably two months.
eric.

Eric Busboom<PHONE_NUMBER>
<EMAIL_ADDRESS>http://www.busboom.org


Inconsistent marker size in 3D figures

Showing a Scatter3D figure in the browser and saving it produces different results, in particular, the marker sizes are inconsistent between the two.
Reproducible with the following code:
import plotly.graph_objects as go

fig = go.Figure()
fig.add_trace(go.Scatter3d(x=[0, 1], y=[0, 0], z=[0, 0]))
fig.update_layout(height=500, width=500)
fig.show()
fig.write_image("figure.png", height=500, width=500)

Screenshot from the browser:

Saved figure:

Thanks for your interest in Kaleido. We are currently working on an overhaul that might address your issue - we hope to have news in a few weeks and will post an update then. Thanks - @gvwilson

Thanks for the info @gvwilson, looking forward!


Pull request notifications

Enable pull request notifications
Fix bug allowing user to update feedback at any time

Pull Request Test Coverage Report for Build 289

20 of 20 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.05%) to 93.819%

Totals

Change from base Build 286:
0.05%

Covered Lines:
1776

Relevant Lines:
1893

💛  - Coveralls


Specify password for next CRM change

Is your feature request related to a problem? Please describe.
Currently, we manually use Accounts View (Classic UI) / Account Details / Change button / Specify the password for the next CRM change to set passwords on devices in one of our managed environments to the ones known by a vendor whenever we are preparing for upgrades/updates. Once the update is done, we have Cyberark set randomized passwords to those devices as normal.
Describe the solution you'd like
Add a switch to cybr accounts change (https://github.com/infamousjoeg/cybr-cli/blob/main/docs/cybr_accounts_change.md) to specify the password for CRM to use when changing the account...  to correspond with the option in the web UI.
Describe alternatives you've considered
I have looked at several PowerShell modules (in active development) that work with Cyberark and have not found this option available.

Also, for clarification purposes, CRM as referenced by OP is meant to be CPM (Central Policy Manager).

As per @Mordanthanus feature request, the command cybr accounts change should support the following credential change methods using flags:
1. Change Password Immediately _(Current behavior)_

2. Change Password in the Vault Only

3. Change Password, Set Next Password _(Specifically requested in this issue)_

#2 is not support in Privilege Cloud and has been left out of final command.


[AdaptiveCards- Sample – Activity Update]: Screen Reader does not convey the information about the selected/Not selected for the ‘Activity Update’ cards.

https://microsoft.visualstudio.com/OS/_workitems/edit/36028204

This issue is not repro, hence closing this issue.


stm32f107rct6 comm issue

I have 4 boards configured for uavcan, 2 stm32f4 custom pcb's, one imx6 soc board and an stm32f107rct6 custom pcb. The stm32f4 nodes and imx6 node work flawlessly but the stm32f107 node when configured with uavcan does not communicate nor does it output any sensible traffic on can bus.
In my configuration i am not using Chibios HAL, I am using standard peripheral library that is responsible for initializing and configuring the clocks and gpio. The reason for not using Chibios HAL is that i have another HAL library that i've been using for a long time and cant switch to any other HAL for now. Following is the hardware initialization code i use:
`void CAN_Config(void)
{
  GPIO_InitTypeDef  GPIO_InitStructure;
	CAN_InitTypeDef CAN_InitStructure;
  RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO | RCC_APB2Periph_GPIOB, ENABLE);

  GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IPU;
  GPIO_InitStructure.GPIO_Pin = GPIO_Pin_8;
  GPIO_Init(GPIOB, &GPIO_InitStructure);

	GPIO_InitStructure.GPIO_Pin = GPIO_Pin_12;
	GPIO_Init(GPIOB,&GPIO_InitStructure);

  GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
  GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
  GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9;
  GPIO_Init(GPIOB, &GPIO_InitStructure);

	GPIO_InitStructure.GPIO_Pin = GPIO_Pin_13;
	GPIO_Init(GPIOB,&GPIO_InitStructure);

	GPIO_PinRemapConfig(GPIO_Remap1_CAN1,ENABLE);
  RCC_APB1PeriphClockCmd(RCC_APB1Periph_CAN1 | RCC_APB1Periph_CAN2, ENABLE);
  CAN_DeInit(CAN1);
  CAN_DeInit(CAN2);

  CAN_StructInit(&CAN_InitStructure);

  CAN_InitStructure.CAN_TTCM = DISABLE;
  CAN_InitStructure.CAN_ABOM = DISABLE;
  CAN_InitStructure.CAN_AWUM = DISABLE;
  CAN_InitStructure.CAN_NART = DISABLE;
  CAN_InitStructure.CAN_RFLM = DISABLE;
  CAN_InitStructure.CAN_TXFP = ENABLE;
  CAN_InitStructure.CAN_Mode = CAN_Mode_Normal;
  CAN_InitStructure.CAN_SJW = CAN_SJW_1tq;
  CAN_InitStructure.CAN_BS1 = CAN_BS1_3tq;
  CAN_InitStructure.CAN_BS2 = CAN_BS2_2tq;

  CAN_InitStructure.CAN_Prescaler = 12;
 CAN_Init(CAN1,&CAN_InitStructure);
  CAN_Init(CAN2, &CAN_InitStructure);
}`

Its a straight forward initialization. Transmit receive using std peripheral library after this works fine but after CanIface::init is used to initialize the node and uavcan::Iface. The output looks like that of a node which does not receive an ack and keeps retransmitting.
Can dump fails to sniff any packets in this state and uavcan_monitor does not recognize the node as well.
Following is the initialization code for the node:
`void hwInit()	{
	int res=0;
	uint32_t bitrate =500000;
	do{
		//res = can_.init([](){hw::Timer.udelay(can_.getRecommendedListeningDelay().toUSec());},bitrate);
		res = can_.init(bitrate);
		if(res >= 0)
		{
			sys::debug(Debug_Level::Info,"Init can successful\r\n");
		}
		else
		{
			sys::debug(Debug_Level::Info,"Init can failed\r\n");
		}
	} while (res < 0);
}
class batteryNode : public chibios_rt::BaseStaticThread<8192> {

private:
	void startNode(Node& node) {
		node.setName("uavcan.BQ34Z100");
		node.setNodeID(30);

		while(true) {
			if(int node_res = node.start();node_res < 0)
			{
				sys::debug(sys::Debug_Level::Error, "Failed to start Battery Node\r\n");
			}
			else
			{
				sys::std_out("Started Node %d\r\n",node.getNodeID().get());
				break;
			}
		}
	}

public:
	static chibios_rt::ThreadReference batteryThd;
	void main()	{
		Node& node = getNode();
		hwInit();
		startNode(node);
		stm32plus::I2C::Parameters params;
		BQ34Z100 gauge(params);

		if(!gauge.initialise())
			sys::debug(sys::Debug_Level::Error,"Failed to Initialise BatteryGauge\r\n");
		else
			sys::debug(sys::Debug_Level::Info,"Battery Gauge Initialised\r\n");

		gauge.unsealDataFlash();
		gauge.switchFullAccess();
//		gauge.configureGauge();

		uavcan::Publisher<uavcan::equipment::power::Battery> bat_pub(node);
		if(const int bat_res = bat_pub.init();bat_res < 0)
		{
			sys::debug(sys::Debug_Level::Error,"Failed to start battery publisher\r\n");
			batteryThd.stop();
		}

		uavcan::equipment::power::Battery batmsg;
		node.setModeOperational();
		node.setHealthOk();

		while(true)	{
			if(int spinres=node.spin(uavcan::MonotonicDuration::fromMSec(100));spinres < 0)
			{
				sys::debug(sys::Debug_Level::Warn,"batteryThread spin error\r\n");
			}

			bat_pub.broadcast(batmsg);
			print_nodeInfo();
		}
	}

}bq34_node;
`

Please do let me know on how to diagnose the issue further. This is my cmake configuration for libuavcan
`if(LIBUAVCAN_SUPPORT)
	add_definitions(
				-DUAVCAN_STM32_TIMER_NUMBER=5
			        -DUAVCAN_STM32_NUM_IFACES=2
				-DUAVCAN_STM32_CHIBIOS=1
				-DUAVCAN_CPP_VERSION=UAVCAN_CPP11
				-DUAVCAN_STM32_IRQ_PRIORITY_MASK=4
				 )
find_library(uavcanlib
	            NAMES uavcan libuavcan
		   HINTS "${CMAKE_BINARY_DIR}/thirdparty/libuavcan/libuavcan")

find_library(uavcanlibstm32
		   NAMES uavcan_stm32_driver libuavcan_stm32_driver
		HINTS "${CMAKE_BINARY_DIR}/thirdparty/libuavcan/libuavcan_drivers/stm32/driver/")

endif(LIBUAVCAN_SUPPORT)`

Its a straight forward initialization. Transmit receive using std peripheral library after this works fine but after CanIface::init is used to initialize the node and uavcan::Iface. The output looks like that of a node which does not receive an ack and keeps retransmitting.

If I understood you correctly, things break after you invoke uavcan::CanIface::init(). The most common cause for issues here is an incorrect bit rate configuration, which in turn could be caused by the bit timing derivation method making an incorrect assumption about the clock rate of the bxCAN  macrocell:
https://github.com/UAVCAN/libuavcan_stm32/blob/4e0a24756090d218b469f561d7e0d35e5f2f5427/driver/src/uc_stm32_can.cpp#L205-L215
You can check this by probing CAN_TX with a logic analyzer.
The root of the problem, however, is not there. Rather, your problem is that you are essentially using two different drivers to do the same job concurrently: first, you initialize the hardware using SPL, then you do the same thing again using the stock driver shipped with Libuavcan. You should either discard SPL or make your own driver (it could be based on the stock one) to eliminate the redundancy.
P.S. it's best to ask for assistance on the forum rather than here. This place is mostly intended for bug reports and feature requests.

Thank you for the response @pavel-kirienko. The issue was with the wrong configuration of "pclk".


Code snippet refactoring

Fixes #38601

@Potapy4 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@aahill Could you please review the change and signoff?

The article author or another authorized reviewer needs to sign off. Thanks.

Thanks for this pull request, the change looks good. We'll get this merged soon. #sign-off


Cannot run OnBoard LED Blink example on Galileo Gen 1

I cannot run the default example which uses the GPIO pin 13 for the onboard LED:
var mraa = require('mraa'); //require mraa
console.log('MRAA Version: ' + mraa.getVersion()); //write the mraa version to the Intel XDK console
var myOnboardLed = new mraa.Gpio(13); //LED hooked up to digital pin 13 (or built in pin on Galileo Gen1 & Gen2 plus Edison Arduino Breakout board)
myOnboardLed.dir(mraa.DIR_OUT); //set the gpio direction to output

When I run the code, the onboard LED does not blink. However, when I use an Arduino LED blink sketch using Arduino IDE (and use the pin 13), it works.
I tried updating mraa and upm, but it didn't work.
As a workaround,
I changed the line 85 at file api/mraa/gpio.hpp:
Gpio(int pin, bool owner=true, bool raw=false) {

as
Gpio(int pin, bool owner=true, bool raw=true) {

to make mraa use mraa_gpio_init_raw(pin) function which afterwards accesses sysfs:
if (raw) {
                m_gpio = mraa_gpio_init_raw(pin);
 }

Then built mraa and installed the new node module instead of the existing one (which was version 0.4.5).
Then I changed the GPIO pin number to 3 instead of 13 in the example above:
var myOnboardLed = new mraa.Gpio(3);

This is because the GP LED (onboard LED) has the GPIO pin number of 3 within sysfs and as I see, mraa uses sysfs to access the GPIO pins.
I know it is not a good solution but I couldn't find an easier way.

Did you try this?
var myOnboardLed = new mraa.Gpio(3, false, true);
And yes on gen1 there is no good way of doing this as the LED is not on the same pin as pin13, it's an annoying hardware 'feature'.

var myOnboardLed = new mraa.Gpio(3, false, true);

is definitely a lot easier :+1:
Do you have an idea that why using the pin number 13  on Arduino sketch worked? That is, is it the firmware which is kept on 8 MByte SPI Flash that translates the pin numbers?

When you compile an arduino sketch for a g1 the wiring library has a hack to change both gpios at the same time. I don't like this 'feature' so I decided not to implement it as the LED & pin13 won't flip at the same frequency and I consider the behaviour confusing and essentially removes a 'fast' GPIO. Also previously the library couldn't really handle it, nowadays it would be fairly easy with an advance hook. I've just updated our doc to mention it with 78fe6f427082ba4541ae190af2c65da3d531b7a7


Collection object match task - more options to compare

Feature or enhancement
When I select "compare" within the collection object match task, I would like to see more CO properties/Attributes available such as "Locatedat". Or better, have a customizable selection of fields to compare.
We note specimens as being on loan in the "Locatedat" field (see image) and once that field is updated for multiple specimens, I would like to be able to confirm any updates to that field via the "compare" tool.
Location
Task - Collection Object Match
Screenshot, napkin sketch of interface, or conceptual description

Your role
No response

Forgot to add the team: @bpescador, @chrisgrinter, @rich-keller

Understood.  Does filter collection objects help in this regard at all?

Not really. The filter works to find COs in need of updating attributes, then I can export a list of those in need of updating.
In this case I already have a list of COs that I can copy and paste into the the CO Match for updating, and it would be more convenient to confirm all of the updates took place for each CO while I'm in the same task.


Convert worldwide priorities to policy papers.

[ ] FCO signoff

These are being retired.
Initial product review completed locally, will re-review with a branch on preview.
https://trello.com/c/QNQHpiym/177-convert-worldwide-priorities-into-translated-html-attachments-on-policy-papers

:+1:

New changes look :+1:

When deploying this a CSV will be output on the machine it runs on.  Please add that CSV to this trello ticket as it will be needed to know which editions to publish.

We're not able to finish this piece of work at the moment due to complications with converting translated worldwide priorities to PDFs, so I'm closing the 3 related PRs for now - we can reopen them when we pick this up again.


Pass CMAKE_GENERATOR_PLATFORM to third-party build if set

Issue #, if available:
Specifically resolves an issue I encountered while building the SDK within a larger project.
May also help with https://github.com/aws/aws-sdk-cpp/pull/1087 (in combination with adding -A x64 to the CMake call creating the AWSSDK project in conan).
Description of changes:
Pass the CMAKE_GENERATOR_PLATFORM to the execute_process calls used to create cmake projects for the third-party builds, if that parameter has been set. This fixes an issue I observed when setting the top-level generator to Visual Studio 15 2017 (rather than Visual Studio 15 2017 Win64), where the third-party modules were all built as 32-bit x86 objects, causing LNK2019 errors.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Note that the underlying issue here is, per the CMake documentation:

The default target platform name (architecture) is Win32.

https://cmake.org/cmake/help/latest/generator/Visual Studio 15 2017.html
So currently the only way I can see to specify the target platform for the third-party build, at least when using the Visual Studio 2017 generator, is to specify Visual Studio 15 2017 Win64. However, that generator specification is mutually exclusive with using the "modern cmake" with the -A x64 argument.

Bump

This has been merged.


Clean elses

I've removed the elses when we have already returned something :put_litter_in_its_place:

Nice touch up, thanks! :)


[BUG] FF mobile can't login with google

Describe the bug
Login/register with google does not work on ff android
To Reproduce
Steps to reproduce the behavior:

Go to homepage
Click on register
Click register with google
Login via popup
Redirect back and still see register modal

Expected behavior
Either logged in/registered or at least an error message
Smartphone (please complete the following information):

Device: op8 pro
OS: 11
Browser ff with abp
Version latest

Additional context
Have not tested chrome yet

Does not work for me in chrome either. The register with Google button does nothing & login does not work (I assume bc I have not registered)

I will try to fix the error reporting mechanism so that users see whatever error is sent by Google as it is. That should help with debugging at least

Thanks for looking into it! That is weird - maybe because my account is connected to an org. If I can find a way to get to the console in ff I'll add more info

There could be certain features blocked on an org Google Workspace account, but if Login with Google works everywhere else, it should work here too. I just tried the same register/login process with my org's google email and it still went through. Do share if you are able to get some more insight into this. In the meantime, using email/password isn't the end of the world ;)

In the meantime, using email/password isn't the end of the world

Just registered via desktop :smile:


display error message

Hi, is there any way to display error message when the focus for the current input is lost ?
thanks for your works ;-)

Can you give an example where this would be useful?

This is quite usual with libraries alike.
Instant feedback is the selling point of using Client validation at all. If you come across a better solution, feel free to drop me a link!


add lzstring parameter

Codecov Report

Merging #13 into master will decrease coverage by 0.34%.
The diff coverage is 67.85%.

@@            Coverage Diff             @@
##           master      #13      +/-   ##
==========================================
- Coverage   76.21%   75.86%   -0.35%
==========================================
  Files           4        4
  Lines         929      953      +24
==========================================
+ Hits          708      723      +15
- Misses        221      230       +9

Impacted Files
Coverage Δ

src/TableReader.jl
89.6% <100%> (ø)
:arrow_up:

src/tokenizer.jl
66.41% <64%> (-0.19%)
:arrow_down:

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 c6b6013...d360bd2. Read the comment docs.


F32 MAC Bug Fix for gfx11/12

F32 perf bugs:
(1) PLR=1 didn't work
(2) GRVW=4 didn't work

[----------] Global test environment tear-down
[==========] 34847 tests from 13 test suites ran. (344295 ms total)
[  PASSED  ] 34847 tests.
hipBLASLt version: 1200

FAILED Tensile/Tests/common/test_config.py::test_config[Tensile/Tests/common/gemm/gfx11/f32_mac.yaml] - SystemExit: -1
FAILED Tensile/Tests/common/test_config.py::test_config[Tensile/Tests/common/gemm/gfx11/f64_mac.yaml] - SystemExit: -1
====================================================================== 2 failed, 17 passed, 97 skipped, 4 warnings in 291.09s (0:04:51) ======================================================================


fix(waku/router): regex in file replacement to correctly handle all matches (fs-router)

The current fs-router regex, /(^|\/|\\)_([^/]+)_(\/|\\|\.)/g, which is ran during build only replaces the first occurrence of underscores in scenarios where multiple underscore-surrounded segments are separated by single slashes. For example, in the string "app/_propertyId_/_surveyPartKey_.js", only _propertyId_ was being replaced, but _surveyPartKey_ was left unchanged due to the / being consumed during the first match.
This can easily be checked by running the following code:
const file = "app/_propertyId_/_surveyPartKey_.js";
console.log(file.replace(/(^|\/|\\)_([^/]+)_(\/|\\|\.)/g, '$1[$2]$3'));
// app/[propertyId]/_surveyPartKey_.js

Solution
The regex has been updated to /(?<=^|\/|\\)_([^/]+)_(?=\/|\\|\.)/g. This uses positive lookbehind (?<=^|\/|\\) and lookahead (?=\/|\\|\.) assertions to check for preceding and succeeding characters without consuming them. This allows every instance of the pattern to be replaced, regardless of their position in the string.

No worries, thanks for merging it!


Firefox WebDriver not working on Ubuntu 24.04

Description
When running browser tests in Firefox, I'm getting this error:
[1-0] 2024-07-31T09:44:30.951Z WARN webdriver: Request failed with status 500 due to Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line
Platforms affected

[ ] Azure DevOps
[X] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[X] Ubuntu 24.04
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[ ] macOS 14
[ ] macOS 14 Arm64
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
Runner Image
Image: ubuntu-24.04
Version: 20240721.1.0
https://github.com/ruffle-rs/ruffle/actions/runs/10177828674/job/28150157900?pr=16352#step:11:90
Is it regression?
yes, it works on Ubuntu 22.04
Expected behavior
The tests pass.
Actual behavior
The tests don't pass.
Repro steps
Trigger a CI run of https://github.com/ruffle-rs/ruffle/pull/16352.

Ubuntu 24.04 is missing Firefox, Geckodriver, Edge, and Edgedriver: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md#browsers-and-drivers. Ubuntu 22.04 has those: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#browsers-and-drivers.

I see. Well then, that's the bug.

This is in the Ubuntu 22.04 image template:
https://github.com/actions/runner-images/blob/da684ca6d2b6de512a4dec746c7c134d2b010626/images/ubuntu/templates/ubuntu-22.04.pkr.hcl#L292-L295
Both the Firefox and Edge installation lines are missing from the Ubuntu 24.04 image template:
https://github.com/actions/runner-images/blob/da684ca6d2b6de512a4dec746c7c134d2b010626/images/ubuntu/templates/ubuntu-24.04.pkr.hcl#L290-L291

Frankly, I don't give much of a heck about Edge, but Firefox must not be allowed to be left out, once this image is GA.

@torokati44 - Thank you for bringing this issue to us, we are looking into this issue and get back to you after our findings.

For now this is expected as the preinstalled software list mentions the browsers' removal, however according to:

"… there will definitely be changes until GA including the software list installation (for instance we are to add firefox & edge, but a bit later), but we do not guarantee we are to address all the requests…"
— posted by @mikhailkoliada in https://github.com/actions/runner-images/issues/9848#issuecomment-2112088377

they plan to bring these back before it goes out of beta, so we'll see.

@torokati44 - We have added firefox to Ubuntu24.04 image. Thank you for opening the ticket issue.

Indeed, this is now fixed in https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20240915.1 via https://github.com/actions/runner-images/pull/10589 (also related: https://github.com/actions/runner-images/pull/10597).
The image is now well under deployment: https://github.com/actions/runner-images/pull/10626
Thank you!


How to debug reactive streams in R3?

Hello. I use UniRx last several years. And now I'm trying get into R3.
I read the documentation. But I couldn't find alternative that I can use for .Debug method from now on.
How can we get logs of stream lifetime events like onSubscribe, onNext and onCompleted?
ObservableTracker doesn't look like it is what I'm looking for, does it?
Excuse me please if bugtracker isn't a right place to ask such questions. I just don't know where I have to ask them.
Thank you :)

I do not intend to add something that directly corresponds to Debug, but you can create your own using Do.
public static Observable<T> Debug<T>(this Observable<T> source, string label = null)
{
#if DEBUG
    var l = (label == null) ? "" : "[" + label + "]";
    return source
        .Do(
            onNext: x => UnityEngine.Debug.Log(l + "OnNext(" + x + ")"),
            onErrorResume: x => UnityEngine.Debug.Log(l + "OnErrorResume(" + x + ")"),
            onCompleted: x => UnityEngine.Debug.Log(l + "OnCompleted(" + x + ")"),
            onSubscribe: () => UnityEngine.Debug.Log(l + "OnSubscribe"),
            onDispose: () => UnityEngine.Debug.Log(l + "OnDispose"));
#else
    return source;
#endif
}


Spain rules

Thanks for make this map global

Thanks :+1:

@yopaseopor Did you compile the list of chains yourself or did you somehow extract it from OpenStreetMap or Wikipdata?

One user of OSM Spain compiled the list of chains from OSM , we completed data in collaborative way.


Bug: Enable configuration for activation fallback

Version
2.0.220131.2
Summary
winrt::impl::get_runtime_activation_factory_impl does the following:

If the DLL has set a handler callback, call it and return.
Try to use Windows' RoGetActivationFactory, if present, and the type's factory is available, return it.
Do type-name based probing (Contoso.Foo.Bar.dll, Contoso.Foo.dll, Contoso.dll) for DLLs and use those

Certain projects really only want items 1 & 2 above. Provide a control point for 3.  Path based probing can induce surprise behavior when DLLs have overlapping names.
Reproducible example
No response
Expected behavior
No response
Actual behavior
No response
Additional comments
After talking with @oldnewthing , I suggest:

Move the name-based probing to a new method, like winrt::find_dll_factory
Change get_runtime_activation_factory_impl to use a callback pointer, like winrt_fallback_handler
Document how to say winrt_activation_handler = winrt::fallback_handler if your module needs fallback

This makes the default behavior "you have to get your stuff registered in a side-by-side or package manifest, or you have to be using a built-in or Windows type" with support for projects who prefer reg-free operation.

Number 3 on that list is sometimes unsafe.  It may be nice to bring forward the changes from #1414 so that projects have control over whether that is active.


how can I  run it with a  established port

Now，when  I restart the sqlpad,its port will change ,how can I  run it with a  established port.

Hi sgjr.
You should be able to supply the port using the cli flag --port or environment var SQLPAD_PORT. If you specify that port, and SQLPad picks a different one it is because the port you picked is already in use.
Let me know if this doesn't work for you.

thanks


Explicitly perform a type safe conversion for list to iterable to cope with the sound type system in Dart 2.0

Fix https://github.com/renggli/dart-xml/issues/40

I don't think this is necessary. That problem was fixed with 71efb82. Can you provide a test-case and command-line that demonstrates the error without this patch?

Yes, you are right this conversion is not necessary. Deleting this PR.


(docs) role prop for Icon no longer has a default

Closes #70
📝 Description
It seems like this prop stopped receiving presentation as a default, as per https://github.com/chakra-ui/chakra-ui/pull/1349 and https://github.com/chakra-ui/chakra-ui/issues/1197
⛳ Current behavior (updates)
Update the documented default value for the role prop

Thanks @MustafaHaddara!
@allcontributors please add @MustafaHaddara for documentation.


Make enclosure + memory device parsing be best effort

I was testing this library inside a fairly new GCP instance with a BIOS version of 3.4 but some of the fields that this library expects for those versions were missing which would make the entire parsing of the struct fail. Ideally grabbing fields should be best effort so we can get as much information as possible even if the BIOS wasn't written exactly to spec.
The spec does allow for optional fields (although the tables make it ambiguous IMO): https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.7.0.pdf

Starting with version 2.3, each SMBIOS structure type has a minimum length — enabling the addition of new, but optional, fields to SMBIOS structures. In no case shall a structure’s length  result in a field being less than fully populated. For example, a Voltage Probe structure with  Length of 15h is invalid because the Nominal Value field would not be fully specified.
Software that interprets a structure field must verify that the structure’s length is sufficient to  encompass the optional field; if the length is insufficient, the optional field’s value is Unknown.  For example, if a Voltage Probe structure has a Length field of 14h, the probe’s Nominal Value
is Unknown. A Voltage Probe structure with Length greater than 14h always includes a Nominal  Value field.

This PR specifically only tackles enclosure + memory device structures as those were the two that were failing in my GCP instance. Further work would need to be done in the other structures.
I recommend going through this PR commit by commit to not confuse the initial clean-up commits from the meat of the PR:

Runs cargo clippy and fixes/adds allows where necessary
Sets up a MSRV in Cargo.toml to make it clear what version I should be making sure things still compile + run. I set the MSRV to v1.62 as the cargo clippy from before added some code that would only compile in v1.62+. I am not sure what the incidental MSRV was before but there didn't seem to be an intentional one. v1.62 came out over a year ago so I think that's OK.
Forces the Structures iterator to terminate after any "fatal" error. By "fatal" error I mean any error that happens prior to advancing the index, and hence would cause an infinite iteration if skipped. This will allow people to safely continue iterating even if some structures failed to be parsed. In my case I only cared about a couple of structs so I didn't care if some structs failed to parse but that was unsafe because some errors don't advance the index and would cause an infinite iteration.
Loosens up the restrictions in Enclosure to allow for fields to be missing as long as the minimum fields from v2.0 are in there
Loosens up the restrictions in MemoryDevice to allow for fields to be missing as long as the minimum fields from v2.1 (the version where this structure appeared) are in there.

Whenever you have time it might be nice to make a new release with this fix, until then I'll just point to the git revision 😁

yeah, I meant to do that this morning and then got distracted. I will do so in just a bit.

Released 0.7.6


fix: don't bind text to container if already present

fixes https://github.com/excalidraw/excalidraw/issues/4895
https://user-images.githubusercontent.com/11256141/159300607-57c97096-a576-4658-bcc8-3744d46cea37.mp4

Cool. Let's add a test for this in src/element/textWysiwyg.test.tsx?


Failed sign in causes force quit

...due to RxExceptions not being handled downstream of onSignIn()

@shobhitagarwal1612 Did you recent changes resolve this?

I handled one of the use cases where in the crash was happening due to db related errors. Do you have the stacktrace for this one?

I haven't tried to repro again, but we can close and reopen if it occurs and we can capture more details.


iblanking not supported in PLOT3D reader.

Describe the bug
The PLOT3D appears to not support iblanking. There is a reader option that specified if iblanking is present and it is used to skip over the iblanking information in the file, but the actual iblanking data isn't read in and nothing is done with the information.
The PLOT3D reader has a vtkPLOT3DReader.[Ch] class that I assume is a copy of the one from VTK at some point in time. In it I found the following code:
// This is where we would read IBlanking information, but VisIt currently
//  doesn't do anything with it
//
#if 0
if (this->Internal->IBlanking)
{
}
#endif
We should see if we can use the VTK reader rather than ours and then we need to actually ghost out the iblanked zone (nodes?).
Helpful additional information

Did VisIt crash:  No
Did you get wrong results: Yes

Apologies for not seeing this but I wound up capturing design thoughts about how to fix in the original SRE issue

Regarding using the VTK reader directly, it is a MultiBlock reader, tied to VTK's parallel subsystem. There are notes in our vtkPLOT3DReader.h as to why it wasn't subclassed.
There may very well be improvements in the native VTK file that can be incorporated into ours.
Or perhaps someone can figure out how to utilize the native file within the confines of VisIt's pipeline.

Yes, now I remember that. I also have had problems getting their multiblock readers to work within VisIt. Thanks for the reminder.

Possibly related to #2156

It might be easy to look at the current VTK reader and see how they handle iblanking and incorporate it in VisIt. Iblanking would tag the zone as ghost but it is a garbage value.

It might be easy to look at the current VTK reader and see how they handle iblanking and incorporate it in VisIt

@brugger1 How can you find VTK's implementation of this? I can find their .h file, but I can't find the implementation.

How can you find VTK's implementation of this?

Searched a little more and found it here.

@markcmiller86 Thank you for your thoughts on this!
I believe that the vtk implementation uses the "iblank" array for the nodes. It appears to be populated at ReadIntScalar, which calls ReadIntBlock or ReadScalar, which both utilize the fread command with the file pointer.
VTK does add the iblank array to the point data, but it also uses the data within the array to populate a ghosts array from lines 1846 to 1869. The ghosts array is then added to the cell data.
Here I have two open questions:

Do I simply replace the ghost cell value with ZONE_NOT_APPLICABLE_TO_PROBLEM to handle the zones?
Instead of naming the nodal array "iblank", should I name it something to do with ghost nodes that visit can read, and values changed to NODE_NOT_APPLICABLE_TO_PROBLEM?

So, the upshot of all that is that probably PLOT3D reader needs to introspect for existance of "iblank" array in the database and if it is present, turn around and create the equivalent info as VisIt's ghost cell array similar to what you might find in Silo plugin...

I'm not sure if I understand this correctly. What is there to introspect? Besides setting some metadata, our PLOT3D reader ignores iblanking altogether, so there won't be an "iblank" array in the database. Am I thinking about this  correctly?

I took a deeper look at that VTK code. My read...its using the input VTK data objects "IBlank" array (apparently centered on the nodes) to turn around and populate a cell array for VTK ghost data (named "vtkGhostType"). It does this by examining all the points for a cell and if any point is iblanked, then the associated cell gets set to vtkDataSetAttributes::HIDDENCELL (though I am confused by the test for ib[ptid] == 0 as I would expect non-zero in the ib array to indicate iblanking).
BTW...also found this info

I would expect non-zero in the ib array to indicate iblanking).

I thought this was strange too. I made some changes on my branch and waiting for a user to provide some data to test it on. That should provide a better sense of how the blanking is configured.
Thanks for the link! I'll investigate that further tomorrow.

I'm not sure if I understand this correctly. What is there to introspect? Besides setting some metadata, our PLOT3D reader ignores iblanking altogether, so there won't be an "iblank" array in the database. Am I thinking about this correctly?

I missed this part earlier. My interpretation of these lines...
https://github.com/visit-dav/visit/blob/848f4aa99040ed51b1fee9409cf4fc78b5cf26b6/src/databases/PLOT3D/vtkPLOT3DReader.C#L799
is that if (this->Internal->IBlanking) is effectively the required introspection and we do in that conditional block effectively the same logic we see here...
https://github.com/Kitware/VTK/blob/a8597e0cdc3305c88054edd89c600d4de4207dcd/IO/Parallel/vtkMultiBlockPLOT3DReader.cxx#L1841

@visit-dav/visit-developers Is DUPLICATED_NODE the right choice for nodes in the avtGhostNodes array that are actually not ghost nodes?

@rusu24edward I think that DUPLICATED_NODE is just another type of ghost node that we can add (actual ghost node).


Could not perform DNS tasks.proxy lookup

Hi vafarcic,
i have a problems detail bellow
curl "<IP_ADDRESS>:8080/v1/docker-flow-proxy/reconfigure?serviceName=go-demo&servicePath=/demo&port=8080&distribute=true"
{"Status":"NOK","Message":"Could not perform DNS tasks.proxy lookup","ServiceName":"go-demo","ServiceColor":"","ServicePath":["/demo"],"ServiceDomain":"","ConsulTemplateFePath":"","ConsulTemplateBePath":"","PathType":"","SkipCheck":false,"Mode":"swarm","Port":"8080","Distribute":true}
i scale proxy follow toturial step by step but it show error config. Please help me.

Did it work before scaling? Are you running it using the script from the tutorial that creates Docker Machines or you run it in your own Swarm cluster?
Can you please run the commands that follow and send me the output?
docker --version

docker node ls

docker service create --name util \
    --network proxy --mode global \
    alpine sleep<PHONE_NUMBER>

ID=$(docker ps -q --filter label=com.docker.swarm.service.name=util)

docker exec -it $ID apk add --update drill

docker exec -it $ID drill proxy

docker exec -it $ID drill tasks.proxy

It's work with stand alone proxy, error occur when i added directive distribute into config. it's my own swarm cluster not use docker-machine, Please wait a bit and i'll send you more info as you requested

Here's your info you need
# docker --version
Docker version 1.12.2, build bb80604
# docker node ls
ID                           HOSTNAME  STATUS  AVAILABILITY  MANAGER STATUS
1pg62dqmc9r3p9bxlnlk54m8y    node3     Ready   Active
61cy7alv3prnivl96ibavmeju    node2     Ready   Active
djbb5jpksi67z3o18ozp1w1g8 *  node1     Ready   Active        Leader
root@node1:~# docker service create --name util --network external_swarm_gn --mode global alpine sleep<PHONE_NUMBER>
c4st634l6gbzr9eyrt4rt5cqz
root@node1:~# ID=$(docker ps -q --filter label=com.docker.swarm.service.name=util)
root@node1:~# docker exec -it $ID apk add --update drill
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
(1/2) Installing ldns (1.6.17-r3)
(2/2) Installing drill (1.6.17-r3)
Executing busybox-1.24.2-r11.trigger
OK: 5 MiB in 13 packages
root@node1:~# docker exec -it $ID drill proxy
;; ->>HEADER<<- opcode: QUERY, rcode: NXDOMAIN, id: 57316
;; flags: qr rd ra ; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;; proxy.		IN	A
;; ANSWER SECTION:
;; AUTHORITY SECTION:
.	1794	IN	SOA	a.root-servers.net. nstld.verisign-grs.com.<PHONE_NUMBER> 1800 900<PHONE_NUMBER>0
;; ADDITIONAL SECTION:
;; Query time: 22 msec
;; SERVER: <IP_ADDRESS>
;; WHEN: Fri Oct 14 07:45:39 2016
;; MSG SIZE  rcvd: 104
root@node1:~#

The problem is in the external_swarm_gn network. It is not set up correctly. You can see that through the drill command. The answer is in both cases 0 meaning that the util service cannot communicate with the proxy.
How did you setup Swarm? Are the ports required for networking open? Did you register Swarm using the internal or external network?

i setup three vps on the internet with ubuntu 14.04 version.
i created two network overlay
root@node1:~# docker network create --driver overlay internal_swarm_gn
bqqvfx246y879c2wjtv7puezm
root@node1:~# docker network create --driver overlay external_swarm_gn
boytwd6xgkxpzohi0tpcoeaem
and run demo
docker service create --name go-demo-db
--network internal_swarm_gn
mongo
docker service create --name go-demo
-e DB=go-demo-db
--network external_swarm_gn
--network internal_swarm_gn
vfarcic/go-demo
docker service create --name gnproxy
-p 80:80
-p 443:443
-p 8080:8080
--network external_swarm_gn
-e MODE=swarm
--replicas 3
-e CONSUL_ADDRESS=can't show ip:8500,CONSUL_ADDRESS=can't show ip:8500,CONSUL_ADDRESS=can't show ip:8500 \   ### i deployed consul at all node.
vfarcic/docker-flow-proxy
And then, config proxy
curl "<IP_ADDRESS>:8080/v1/docker-flow-proxy/reconfigure?serviceName=go-demo&servicePath=/demo&port=8080&distribute=true"
All port are opened.

The problem is fixed. it's my fault
i used "--name gnproxy" and i am not add "-e SERVICE_NAME=gnproxy"
Thank you for your help.

Great news! I'm really glad it worked out. Sometimes the smallest problems are the hardest to find.


[Feature request] Improve function overloading, make the compiler smarter.

Search Terms

Suggestion

Support intelligent function overloading, write functions does not need to worry about naming conflict.
I really hate object-oriented, and hate to bind data and functions together --- there are always some functions that operate on multiple objects and these functions should not belong to any object, they just work and don't care about saving data.
Use Cases

Examples

interface A {
}

interface B {
}

function f(a: A) {
}

function f(b: B) {
}

In Nim-lang programming language, the compiler generates a suffix hash for each overloaded function  to distinguish function names. When compiling to js, it could be like this:
function f_123abc(a) {
}

function f_456efg(b) {
}

I know that the compiler keeps function names unchanged after compiling into JS is to maintain compatibility with other JS libraries. I think TS can provide some compiler-level decorators,, such as @Compile(), to allow users to specify the name of the compiled function:
@Compile('f1')
function f(a: A) {
}

@Compile('f2')
function f(b: B) {
}

When compiled into JS：
function f1(a) {
}

function f2(b) {
}

Checklist
My suggestion meets these guidelines:

[ ] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[ ] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

But why? Function overloading is fundamentally different in TypeScript from Nim. You don't have multiple functions based on different types, you have a single function that can accept different types. Your proposal would additionally require for all call-sites to be known during compilation, which is not possible for ambient or exported functions.

Previously suggested at #3442 and others. The This could be implemented without emitting different JS based on the types of the expressions goal is non-negotiable.