feat: improve onboarding_cli resilience

- What I did

removed qr_code related components from code
rename OnboardingUtil -> RegistrarApiUtil and consume this change
Delete .atKeys file if onboarding process encounters an unrecoverable exception/error
Retry each of the onboarding steps in case they encounter an exception

- How I did it

Introduced _deleteAtKeys() which checks if the atsign is already onboarded, if not deletes the atKeys file that has been created
Introduced OnboardingTask which is an abstract class that contains strucutre to retry a specific task in case it has encountered an Exception/Error or has not fetched necessary data. All the onboarding tasks have been rewritten by extending this class with varying maxRetries count to improve resilience.

- How to verify it

activate_cli should be working as usual
In case a certain task (updating pkamPubKey, encPubKey to remote) fails, onboarding_cli should retry those specific tasks. In case maxRetry count is exceeded, the .atKeys file should be deleted.
Unit tests on the way

- Description for the changelog

removed qr_code related components from code
rename OnboardingUtil -> RegistrarApiUtil and consume this change
Delete .atKeys file if onboarding process encounters an unrecoverable exception/error
Retry each of the onboarding steps in case they encounter an exception

Unit tests on the way

@gkc this PR is from before at_auth was introduced, so it requires some capacity to bring this PR up to speed. And since its not linked to a ticket anymore, it's low priority for me. Will bring this up to speed and get it closed as soon as I find some time.

@gkc this PR is from before at_auth was introduced, so it requires some capacity to bring this PR up to speed. And since its not linked to a ticket anymore, it's low priority for me. Will bring this up to speed and get it closed as soon as I find some time.

Makes sense, thanks @srieteja

@srieteja @sitaram-kalluri This PR is now very old. Should it be abandoned?

I think so @gkc. It is pre at-auth so It would take too much effort to make it relevant again. But if you think this kind of modularity is needed in onboarding_cli/at_auth, I can implement this style with the current code.
I will close this an PR now.

Thanks @srieteja
@sitaram-kalluri - since you are currently working on another aspect of CLI resilience (not proceeding if it doesn't have permission to create the atKeys file) can you also add resilience in other places? We need to ensure

atKeys file is created once all of the keys have been cut
But the atKeys file is deleted on exit if the public keys have not been successfully saved to the atServer
We are left with a conundrum regarding the CRAM key. The final step should be to delete the CRAM key from the atServer; but what to do if that fails after several retries? The most sensible thing I can think to do is to implement logic in the CramVerbHandler in atServer such that if the public encryption key and at least one PKAM public key are present, then the CramVerbHandler should reject the attempt.

Please also ensure that the retries are done with exponential backoff. I'd suggest up to 5 retries with 5, 8, 13, 21, 34-seconds delays between attempts (resetting state whenever a request succeeds)


Sentry Performance adds 1 second to some requests

How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.10.1
Steps to Reproduce
I noticed that some transactions have this >1s gap near the very beginning like this one:
https://sentry.io/organizations/sentry/discover/sentry:8813759de30e45cb895eb44b4396131a/
Looking at the profile:
https://sentry.io/organizations/sentry/profiling/profile/sentry/cd711030a30e4235bf70193a72ae7cb2/flamechart/?colorCoding=by+symbol+name&query=&sorting=call+order&tid=140654696253184&view=top+down&xAxis=standalone
It looks like _set_transaction_name_and_source function in the sdk is resolving django urls. I suspect this is happening lazily on the first request for each worker and causes the first request to take much longer than it should.
Expected Result
Not spending so many milliseconds for getting a transaction name.
Actual Result
Added roughly 1 second to the request.

data is not there anymore, so impossible to reproduce. will close.


Get a domain name

It would be good to have a small website similar to the intro page for the application.
This would provide download links to our latest github stable release.

@torch2424 Any ideas for a domain name?

This is complete. Flyxersound.com


Problem with displaying animation in MDCollectionViewCell

Thank you for fast fixing problems with didSelect and animation, but now i faced with new problem:
in my project i push view controllers in - (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath, in image how look fist time view:

but problem is if user tern back from other view controller, he see, that selection cover

if i call reloadData, its getting worse, animation cover moves between cells and stay in scrolling

Hi Sergionius, sorry but we can't reproduce your issue. Could you please send us more information:

Which iOS version & iOS device your app running on?
Code blocks where you push viewcontrollers and where you navigate back (if you can send us)
The red color is ripple color or something else?

happens to me if you have a collection view in a tabbar controller and change tabs right as an item in the collection view is tapped. I'm assuming it would be the same case for a table view controller


Make the title bar as a customizable toolbar

There are many requests to have a proper toolbar as it could be seen in many programs, including text editors. The #41309 request has currently 276 votes, but after 4 years nothing has changed, and I doubt it will ever be implemented.
For some reasons, VSCode developers don't like such toolbar. I suppose that is the case because it could not match the current design. However, on another side, they don't have problems putting buttons to the tab bar and title bar, which are many times unneeded for some users who are forced to use some hacks with the extensions to remove these buttons, as it is mentioned in #46403.
I don't like the title bar as it is in most programs because it is mainly wasting screen space, and because of that I am using VSCode in full screen mode very often, which has removed the title bar. However, if VSCode could allow a full customization of it, I would change my mind about it.
Here is one example how the title bar could be useful as a replacement for the toolbar when it is fully user-customizable:

Just look at that! It has the buttons with text for some options, it has the buttons with just icons, and it even has the slider for zoom and the input box for entering the page number. No wasted screen space with it at all.

I personally like title bars! I have more than enough space on my monitor. What I really like though is customizable toolbars! :)


Ceil of a number in sorted array

This is a program of Binary Search. Can I contribute a solution to this problem?

Hey @SanskritiKushik5  ,This repo is marked as excluded and any contribution made into it will not be considered valid, so please share your solution into this repository repo link.

Thank you!


Display likes

Hello, I hope you're doing well! I have completed the initial implementation of the Display likes of the ES6-Capstone project and I would greatly appreciate your code review. I've opened a pull request with the changes in a feature branch called Display Likes.
In this pull request, you will find the entire codebase for the  ES6-Capstone project committed as a single chunk of code. As we discussed, please focus on reviewing the code for issues related to best practices and clean code rules.
I kindly request you to review the code and provide your valuable feedback. Feel free to comment directly on the pull request or raise any concerns you may have. Your input will greatly contribute to enhancing the quality and functionality of the project.
Thank you for taking the time to review my code. I'm looking forward to your feedback!

Congratulations 💯 You have completed your task!!! it's merge time


firebase_auth

[ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:firebase_auth/src/firebase_auth.dart': Failed assertion: line 642 pos 12: 'codeAutoRetrievalTimeout != null': is not true.  my code is working perfectly 1 weak ago but now it is throwing this error

Hi @johnyenatu
Did you update firebase_auth?
Could you please provide your flutter doctor -v and flutter pub deps -- --style=compact  a complete reproducible minimal code sample
Thank you

Hi @johnyenatu
Did you update firebase_auth?
Could you please provide your flutter doctor -v and flutter pub deps -- --style=compact  a complete reproducible minimal code sample
Thank you

Unhandled Exception: 'package:firebase_auth/src/firebase_auth.dart': Failed assertion: line 633 pos 12: 'codeAutoRetrievalTimeout != null': is not true.
my code is working perfectly for flutter firebase plugins:
firebase_auth: ^0.14.0+5,
firebase_core: ^0.4.0+9,
cloud_firestore: ^0.13.0+1
Now updated to :
firebase_auth: ^0.20.0+1,
firebase_core: ^0.7.0,
cloud_firestore: ^0.16.0
its throwing error.


Dilation maxpool

Pull Request Template
Checklist

[x] Confirm that run-checks script has been executed.

Related Issues/PRs
https://github.com/burn-rs/burn/issues/622
Changes
Add dilation feature for maxpool.
Testing
Unit tests added and double checked with Pytorch scripts.

Following the PyTorch documentation I saw some GIFs, which they're pretty cool: dilation
Can we add this kind of graphical example somewhere?


update method causes JSONDecoderERROR:

>>> sf._connection.Contact.update(['0031a000002KTbYAAW', {'lastname': 'beep'}])
PATCH: Sending request to https://na24.salesforce.com/services/data/v33.0/sobjects/Contact/0031a000002KTbYAAW

Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/usr/local/python_env/local/lib/python2.7/site-packages/salesforce/api.py", line 163, in update
    return self.__get_api(soap).__getattr__(self.name).update(data)
  File "/usr/local/python_env/local/lib/python2.7/site-packages/salesforce/utils.py", line 184, in authenticate_and_call
    return func(self, *args, **kwargs)
  File "/usr/local/python_env/local/lib/python2.7/site-packages/salesforce/salesforceRestApi.py", line 171, in update
    data=json.dumps(records))
  File "/usr/local/python_env/local/lib/python2.7/site-packages/salesforce/salesforceRestApi.py", line 222, in __send_request
    **kwargs)
  File "/usr/local/python_env/local/lib/python2.7/site-packages/salesforce/utils.py", line 157, in send_request
    return response.json()
  File "/usr/local/python_env/local/lib/python2.7/site-packages/requests/models.py", line 799, in json
    return json.loads(self.text, **kwargs)
  File "/usr/local/python_env/local/lib/python2.7/site-packages/simplejson/__init__.py", line 505, in loads
    return _default_decoder.decode(s)
  File "/usr/local/python_env/local/lib/python2.7/site-packages/simplejson/decoder.py", line 370, in decode
    obj, end = self.raw_decode(s)
  File "/usr/local/python_env/local/lib/python2.7/site-packages/simplejson/decoder.py", line 400, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())
JSONDecodeError: Expecting value: line 1 column 1 (char 0)

This is parsing problem. Can you verify the response and see if it is a valid json. I would be appreciated if I can see the response. Thanks

The response here is a requests.models.Response object since httplib returns it. In case of non SOAP requests, in your code in utils.py on line 157 you call the response.json() to convert it to JSON.
Since this code is used for all other calls too and seems to be working for those. I am guessing it is a problem isolated to the Salesforce update operation response.
In order to prove this hypothesis, I recently dived deep into the requests module and more specifically the  json() method in it.
It seems that the update response doesnt have encoding set unlike the others.
In [5]: sf.query('select firstname, id from contact limit 1')
GET: Sending request to https://na24.salesforce.com/services/data/v33.0/query/

<class 'requests.models.Response'>

JSON Content(encoding: UTF-8)
{
  "totalSize" : 1,
  "done" : true,
  "records" : [ {
    "attributes" : {
      "type" : "Contact",
      "url" : "/services/data/v33.0/sobjects/Contact/0031a000002KTbzAAG"
    },
    "FirstName" : "MUHAHA",
    "Id" : "0031a000002KTbzAAG"
  } ]
}

In [6]: sf.Contact.update(['0031a000002KTbzAAG', {'firstname': 'SomethingNew'}])
PATCH: Sending request to https://na24.salesforce.com/services/data/v33.0/sobjects/Contact/0031a000002KTbzAAG

<class 'requests.models.Response'>

JSON Content(encoding: None)
---------------------------------------------------------------------------
JSONDecodeError                           Traceback (most recent call last)
.
.
.
.

Can you look at the network package and let me know the response. Or you can add a print in my sdk before line 157

The response is a 200:
<Response [200]>
I am printing response.text too. This prints out the content of the response, and works for all the queries I make, except for Update.

What is the content of the response.text in the case of update?

The type of response.text is unicode and the value is blank.
type: <type 'unicode'>, content:

okay. I will have a fix maybe by end of the day. Thanks. I should check for empty response

Thanks Hormoz. Appreciate the quick turnaround.

Hormoz, Whether the issue has been fixed ? I am still getting this error.

any update?

i will fix this issue as soon as possible. I am really sorry for inconvenience

Is there any progress in this issue? Bcoz i am trying to use it and gives same error for update. Please let me know.


Unable to add child device to an asset

I would like to add child devices to an asset but I'm unable to do so:

I would expect to see the show child button to be able to add child devices to an asset.
Information:
All my child devices are not marked as c8y_device because they don't need device management functionalities.
DTM version: 1<IP_ADDRESS>8

Hi @scharri,
to make the UI of Cumulocity aware of the in you case generic Managed Object, you either have to add the device or asset fragment to it as the UIs filter for this. If this would not be the case you would have a vast number of objects showing up, which would not make any sense.
BR
Marco


Auto Converter is missing textures in hand and inventory

The Auto Converter is missing textures in both the hand and the inventory, but it shows up fine when placed as a block. I don't know whether the issue is with blockstates, models, or something else.

I see this is closed but im on the latest mod version for 1.12 and the block is missing its texture in my hand/inventory. I am not on galaxy-craft and whatever I do with texturepacks changing the item model file I cant make it work. Is there a fix for this that im missing or is it something ill have to live with?


Check CMSSW version before getting sim-datatier map

Fixes #11109
Status
ready
Description
Uses isCMSSWSupported() to determine the Python version to use to get skim's datatier, instead of just using the agent's python version.
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
None
External dependencies / deployment changes
None

The Pylint --py3k check fails because of a preexisting problem. I'm not sure what to do in this case @amaltaro @todor-ivanov


Add attention span on sending reset password email

Closes https://github.com/wedeploy/wedeploy.com/issues/496

Done! :)


Laravel 9 support

Hi,
If I'm not wrong, this package does not support Laravel 9 for now, do you plan to update it for the last version?
Love this package and thank you for your work
Cheers

Need L9 support also


Add utility pallet

Motivation
It helps to make batch calls for testing purposes and also for future calls.
Suggested Solution
Implement the utility-pallet

https://github.com/Fair-Squares/fair-squares/pull/131


AttributeError: 'TransformerBlock' object has no attribute 'build'

When I run the TransformerModel, the AttributeError appears, and the codes are:
https://github.com/BorgwardtLab/Set_Functions_for_Time_Series/blob/6abd69c265b719f9703902af2c6a3254b6d2a779/seft/models/transformer.py#L94-L95
And I find that TransformerBlock of keras_transformer does not have attribute 'build' actually, and I wonder how to solve it, thanks !

Can you provide more details about the versions you are using here? Are you using poetry (or something similar) to ensure that the correct packages are being used in this project?

The version of keras_transformer is "0.1.dev17+gb9d4e76", and I install it according to the description of https://github.com/ExpectationMax/keras-transformer.
I use "pip install ... " to install the packages needed. My command to run the program is "python fit_model.py --dataset physionet2019 --balance --log_dir test_transformer TransformerModel".

Is it possible that you installed the library from the original GitHub repository? The linked repo contains code that patches the library to support the operation that you require.

Yes, I used the command "git clone https://github.com/kpot/keras-transformer.git"  described in the linked repo to install keras-transformer before.
Now I use the command "git clone https://github.com/ExpectationMax/keras-transformer.git", and it works. Thanks a lot !

Great to hear! @ExpectationMax: maybe it would make sense to update the installation instructions in the repo? I can open a pull request...just let me know. Closing this as resolved now.

Thanks for handling this Bastian! Yes, this is true we did not adapt the Readme from the forked keras-transformer repository.  I made a quick edit so this does not occur again.
Nevertheless, when installing the package as indicated in the README of this repository, it should not lead to problems, as the pyproject.toml points to the correct repository.


Add some FAQs

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/derekbekoe/azure-cli-extensions.git@faq#subdirectory=src/$EXT&egg=$EXT"


Allow ‘nesting’ of rules in Wiki ruleset

On indefinite hold since I think @Gaelan intends to maintain the LRs on a separate repo, and already has a nice hypertext version.


[FIX] 404 error link for fsl dtifit

In the Diffusion Imaging Data section of 04-modality-specific-files/01-magnetic-resonance-imaging-data.md
When refering to FSL for the bval/bvec file format, http://fsl.fmrib.ox.ac.uk/fsl/fsl4.0/fdt/fdt_dtifit.html return a 404 not found error
This section should probably now link to https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FDT/UserGuide?highlight=(dtifit)#DTIFIT

tagging @yarikoptic, to perhaps boost his motivation that his PR #79  will have an impact to catch these issues early :)

@naveau could you rebase this PR?
The merge of https://github.com/bids-standard/bids-specification/pull/293 created conflicts with your changes.
Also, are you aware of our contributor's list? You may want to add yourself, see: https://github.com/bids-standard/bids-specification/wiki/Contributors
After the conflicts are resolved I would be happy to merge this.

#293  provided a similar fix superseding this one.
I wondered if use of https://web.archive.org should be recommended (guarantee of availability) or discouraged (possibly would lead to outdated information).  With added in #293 linkchecker run availability at least will be verified and we would get early alert on URLs going stale.

I see, thanks for the note @yarikoptic
@naveau for you this means that you can still add yourself to the contributors list - and thanks for reporting the broken link. However, a rebase is no longer necessary - we'll close this PR.
re: webarchive vs standard links --> I think that with the linkchecker in place, we actively combat broken and stale links, so webarchive could rather be used to link back to URLs that are no longer present


refactor(Probability/Kernel/Composition): define compProd for all kernels

compProd and prod make sense only for s-finite kernels and were defined only for those. I define them for all kernels, with default value 0 when one of the kernels is not s-finite. The new definitions allow rewriting a kernel inside a compProd, which was not possible before (it would raise a "motive is not type correct" error due to the s-finite argument).

bors r+


Hk branch

Functionality to include frozen atom flags for a Gaussian optimization. Adds --freeze flag to qprep module and enables qcorr to detect frozen flags and passes that information to qprep if the calculation did not successfully complete.

was trying to link this to an open issue, but oh well.


Add django translation tags to base html files

This brings all .html files in the templates folder in line with our intention to have all pages translatable, excluding individual interactives which are dealt with elsewhere
HELP WANTED
How do I deal with this line in search/search.html?

Showing {% if is_paginated %}results {{ page_obj.start_index }} to {{ page_obj.end_index }} of {% endif %}{{ paginator.count }} results

Also:
Note that in page_heading blocks sometimes the text has h1 tags, and sometimes it doesn't

Spoke with Jack, Search doesn't work for any language other than English so we don't need to translate that line you want help with.


As a company user I need to be able to approve or "push back" a ticket

If I am able to do so according to the project's workflow


ROCm and 8-bit quantization

System Info
An AMD Epyc system with 3 MI210.
Quite a complex setup. The system uses slurm to schedule batch jobs which are usually in the form of apptainer run containers. The image I'm using has rocm6.0.2 on ubuntu22.04.
Reproduction
python -m bitsandbytes
CUDA specs: CUDASpecs(highest_compute_capability=(9, 0), cuda_version_string='61', cuda_version_tuple=(6, 1))
PyTorch settings found: CUDA_VERSION=61, Highest Compute Capability: (9, 0).
WARNING: CUDA versions lower than 11 are currently not supported for LLM.int8().
You will be only to use 8-bit optimizers and quantization routines!
To manually override the PyTorch CUDA version please see: https://github.com/TimDettmers/bitsandbytes/blob/main/docs/source/nonpytorchcuda.mdx
CUDA SETUP: WARNING! CUDA runtime files not found in any environmental path.

Two issues here: CUDA_VERSION here is not 61, that's the ROCm version (6.1), the cuda version is the hell knows what since torch.version.cuda is None on ROCm.
As a result the "lower than 11" makes little sense in this case.
Second issue: https://github.com/TimDettmers/bitsandbytes/blob/main/docs/source/nonpytorchcuda.mdx leads nowhere.
That leaves me wondering whether 8-bit on ROCm is really supported or not.
OK, let's try to run some code then:
model = AutoModelForCausalLM.from_pretrained(checkpoint, attn_implementation="eager", quantization_config=BitsAndBytesConfig(load_in_8bit=True))
outputs = model.generate(inputs)

Result:
[...]
Exception: cublasLt ran into an error!

See #538.
But now the question is: it's really the case that the existing 8-bit code is not supported on ROCm, or is it a case of architecture/libraries mismatch and 8-bit could actually work?
Expected behavior
This might be a bug, or it might not. I've not been able to find specific documentation on this. It seems to me like it's possible that 8 bit quantization could actually work but the code to detect if the architecture is supported has issues. Or it may be the case that I can forget about 8 bit on ROCm. But at least I would know it for sure.

Hi @DavideRossi , I had similar errors, but 8 bit quantization is working for me on ROCm now. I have added a comment with steps I took in the bitsandbytes multi-backend-refactor discussion post with more details. Hope this helps.

Thanks @mohamedyassin1 what you describe is very similar to my own setup. Can I ask you to paste the output of python -m bitsandbytes from your system?

That's interesting. It says highest_compute_capability=(11, 0) whereas my output says highest_compute_capability=(9, 0). An NVidia hardware this fully depends on the GPU model, on ROCm I have no idea if it only depends on the hardware or also on the HIP/ROCm version...


Robokop returning error on Workflow C query

0fd681f9-4b08-43d4-b7a3-cf6e561d49af

I don't think this should be registered with the ARS

Robokop has been deactivated in the ARS instance.  It was activated by mistake during the migration to the ITRB deployed environment


Dev-extract-comments

merge tested functions with functionality to extract comments

Any changes David and Arya?

Why was the regex in extract_comments() changed to raw instead of a byte string? The file that it searches through is opened as a byte string because it is a data file. Does that create a conflict?
Maybe we shouldn't create a file with all the concatenated output. A few reasons: first it doubles the size of the output after mirroring all files in the website, second I don't think it's necessary since each file can be parsed for the flag independently if you wanted to do that, and third, it becomes difficult to search for comments in Arya's function using that file. Speaking of that, the extract_comments() function is not finished.
But I'm not saying the concat_files() function is useless. if we go the above route, I'd say the code in there can be modified to just call the parse_file_for_flag() function on each file (instead of opening the file and writing contents to the concat file).


Peewee - Student model

Codecov Report

Merging #50 into master will increase coverage by 0.67%.
The diff coverage is 39.65%.

@@            Coverage Diff             @@
##           master      #50      +/-   ##
==========================================
+ Coverage   35.44%   36.11%   +0.67%
==========================================
  Files          17       17
  Lines        1439     1451      +12
==========================================
+ Hits          510      524      +14
+ Misses        929      927       -2

Impacted Files
Coverage Δ

frontend/mainwindow.py
39.15% <25%> (-0.42%)
:arrow_down:

backend/database.py
47.5% <40.74%> (+6.16%)
:arrow_up:

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 d730a7f...43cd3c9. Read the comment docs.


Removed Provisioning

Project has no updates since 2014, it looks like it doesn't work and it has open PRs from January 2014

          1 Warning

:warning:
Found 2 link issues, a project collaborator will take care of these, thanks: )

Link issues by awesome_bot

Line
Status
Link

313
Error
http://oclint.org/  getaddrinfo: Name or service not known

2446
Error
https://iconresizer.com/  Connection refused - connect(2) for "iconresizer.com" port 443

  Generated by :no_entry_sign: Danger


Update Narwhal readme and code owners

To make them work in the new repo.

Thanks @mwtian for the update ! Are you planning to update the CONTRIBUTING on a later PR? Otherwise we could do it as part of this PR

Updated in this PR.


Unicode characters missing

Hi
Filling forms with strings containing Unicode characters is buggy and unpredictable
The following script works just fine
from PyPDFForm import PdfWrapper
filled = PdfWrapper("sample_template.pdf").fill({"test": "test_1"})
with open("output_sample.pdf", "wb+") as output:
    output.write(filled.read())

But with something like the below, some characters are not displayed or black boxes replace them
from PyPDFForm import PdfWrapper
filled = PdfWrapper("sample_template.pdf").fill({"test": "test_1 öőúüűóáäöüẞąółżćźæøåñ¿¡"})
with open("output_sample.pdf", "wb+") as output:
    output.write(filled.read())

Tested on Windows 7 (Python 3.8) and Linux Mint 21.3 (Python 3.10)
PyPDFForm 1.4.12
When the pdf is opened, the string copied/pasted by hand, it is saved properly in the file.

Hello, thanks for reaching out.
I have had a user with a similar issue, and for him the solution was to register the appropriate font(s) for the problematic characters.
Also have you tried the newest FormWrapper. I just tried your second snippet except with FormWrapper and it worked out fine.

Hey @Pleonazm, did my previous comment resolve your issue?

Hi
Sorry for the late reply.
Yes, it works with new wrapper.
Also, I noticed that some characters (with the new wrapper) depend on pdf browser you are using.

Ya, unfortunately there's not much I can do about that because under the hood it largely depends on whether each PDF browser is able to interpret or has those fonts.

I think so.
Just, some info about some quick tests I did, if you are curious:
Windows 7:
FoxitReader - displays blank form, with absolutely no values, and empty fields
Chrome, MS Edge  - everything looks fine
Linux Mint 21:
FoxitReader - some characters missing
Default document browser - everything looks fine

Oh this is actually quite normal. Even if you fill these forms manually some PDF browsers will display them with just empty fields.
For instance if you checkout this PDF, when GitHub tries to display it it will display the checkboxes and radio buttons, but not the text fields or dropdown fields. However if you download this PDF and open it in Chrome, you will see that all text fields and dropdown fields are actually filled and Chrome will display them properly.
If you want to have consistent display results from different PDF browsers while filling in place, I suggest you flatten the PDF when filling it. It is supported by the library.

Well, this is worth remembering.
Thanks for your help, the issue may be closed now, I think.


Incorporate generated API docs into GitHub pages

As a technical AaC user, I want the API documentation incorporated into the
GitHub pages so that I can view all AaC documentation in a single place.
AC

[ ] The AaC API documentation is available from the GitHub pages site.

Notes

The API documentation is generated in the pipeline and the artifact stored
there. The place to start looking is probably there.

I ended up losing my version of this story to a windows BSOD 🙄. That being said, I was stuck on how to proceed...
Github pages is based off documentation that's checked into the repo, meaning that our CI workflow will need to generate the sphinx docs, diff them from what's currently in the repo, then commit and push any changes back into the repo (We could do auto PRs).


go/scanner: reuse of SEMICOLON token for new lines allows new lines in places where semicolons are required

What version of Go are you using (go version)?
go version go1.7.5 linux/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GORACE=""
GOROOT="/usr/lib/golang"
GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build324900564=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
What did you do?
If we look at the spec, for example, of the if statement, we can see it explicitly says a semicolon is required to separate the statement from the expression. In practice, a newline is also correct as can be seen in the following link.
https://play.golang.org/p/_yCCtgJLpB
Same happens with for init; cond; incr { statements and, well, every other place that requires a semicolon.
What did you expect to see?
That newlines are not correct in places where ; are required.
What did you see instead?
They are.
I assume this is because go/scanner uses the token type token.SEMICOLON for both semicolons and new lines. Maybe this is working as expected, but then the spec should say that either a semicolon or a newline are possible delimiters.

If you look at the spec, you will also see that each statement in a statement list needs to be explicitly terminated by a semicolon (https://golang.org/ref/spec#Block) - yet we don't need to write them.
The reason is that semicolons are inserted automatically ( https://golang.org/ref/spec#Semicolons ).
This is working as intended.


Transform Command into a fixed array and a length and call send only …

…once
The previous way of calling send_commands() directly caused a lot of
code duplication and calls for the SPI interface layer. To work around
this issue I'm now assembling the data into a fixed sized array (Rust
does not allow varying return types on match) and a length which then is
unconditionally and only once passed over to the interface for
transmission. It's the most idiomatic way I could come up with without
grabbing for the nightly or unsafe toolset.
Signed-off-by: Daniel Egger<EMAIL_ADDRESS>

Before:
cargo bloat --release --example blinky
warning: unused manifest key: profile.dev.incremental
   Compiling ssd1306 v0.1.0 (file:///Users/egger/OSS/ssd1306)
    Finished release [optimized + debuginfo] target(s) in 3.0 secs

File  .text   Size Name
0.0%   1.3%    80B [10 Others]
0.9%  51.9% 3.0KiB ssd1306::command::Command::send
0.3%  14.3%   850B blinky::init
0.1%   7.0%   414B cortex_m_rt::reset_handler
0.1%   4.7%   278B <ssd1306::mode::graphics::GraphicsMode<DI>>::flush
0.1%   3.8%   224B __aeabi_memcpy4
0.1%   2.9%   174B __aeabi_memset4
0.0%   2.6%   152B blinky::draw_square
0.0%   2.5%   148B __aeabi_memset
0.0%   2.3%   138B cortex_m_rtfm::atomic
0.0%   2.2%   134B <ssd1306::mode::graphics::GraphicsMode<DI>>::set_pixel
0.0%   1.6%    96B __aeabi_memcpy
0.0%   1.3%    78B blinky::idle
0.0%   0.5%    30B blinky::main
0.0%   0.2%    10B core::result::unwrap_failed
0.0%   0.2%    10B core::panicking::panic
0.0%   0.2%    10B core::panicking::panic_bounds_check
0.0%   0.2%    10B SVCALL
0.0%   0.2%    10B MEM_MANAGE
0.0%   0.2%    10B DEBUG_MONITOR
0.0%   0.2%    10B PENDSV
1.8% 100.0% 5.8KiB .text section size, the file size is 322.3KiB

After:
cargo bloat --release --example blinky
warning: unused manifest key: profile.dev.incremental
   Compiling ssd1306 v0.1.0 (file:///Users/egger/OSS/ssd1306)
    Finished release [optimized + debuginfo] target(s) in 1.72 secs

File  .text   Size Name
0.0%   2.3%    80B [10 Others]
0.3%  24.1%   850B blinky::init
0.2%  18.8%   662B ssd1306::command::Command::send
0.1%  11.7%   414B cortex_m_rt::reset_handler
0.1%   7.9%   278B <ssd1306::mode::graphics::GraphicsMode<DI>>::flush
0.1%   6.3%   224B __aeabi_memcpy4
0.1%   4.9%   174B __aeabi_memset4
0.1%   4.3%   152B blinky::draw_square
0.0%   4.2%   148B __aeabi_memset
0.0%   3.9%   138B cortex_m_rtfm::atomic
0.0%   3.8%   134B <ssd1306::mode::graphics::GraphicsMode<DI>>::set_pixel
0.0%   2.7%    96B __aeabi_memcpy
0.0%   2.2%    78B blinky::idle
0.0%   0.9%    30B blinky::main
0.0%   0.3%    10B core::result::unwrap_failed
0.0%   0.3%    10B core::panicking::panic
0.0%   0.3%    10B core::panicking::panic_bounds_check
0.0%   0.3%    10B SVCALL
0.0%   0.3%    10B MEM_MANAGE
0.0%   0.3%    10B DEBUG_MONITOR
0.0%   0.3%    10B PENDSV
1.2% 100.0% 3.4KiB .text section size, the file size is 291.3KiB

Ha, I made an attempt at doing exactly the same thing a few nights ago but didn't get anywhere with it. Interestingly it doesn't reduce the I2C size at all, but the jump for SPI is quite significant :). I'll test it with an SPI display when I get home tonight.

Yeah, tried a few other things but most of them failed due to match insisting on yielding identical (sized) types. Might have worked with some Unsized trickery or adding a trait to Command but I really didn't want to spend another tons of hours on this. It actually does reduce size in the I2C case a tiny bit as well but that's really negligible.

Works on my SPI display :). Tested with blinky and graphics.


Support configuring different image registries

Context
Currently, the component doesn't allow customizing the image registries for the container images used by the component. Being able to configure a different registry can be useful in cases where a registry mirror is required (e.g. to avoid dockerhub pull rate limits).
Alternatives
Deal with intermittent pods in ImagePullBackOff due to pull rate limits.

Relates to cloudscale-ch/csi-cloudscale#31.

@simu Can we close this issue if favor of #53, where the registry can be overridden?

not really, since the component best practices recommend having separate parameters for the Helm chart and container images (cf. https://syn.tools/syn/explanations/commodore-components/container-images.html and https://syn.tools/syn/explanations/commodore-components/helm-charts.html). To ensure we get a single PR which updates both the Helm chart and the container image, we can configure Renovate to group the updates, cf. https://github.com/projectsyn/component-rook-ceph/blob/1a5be5e0a4bbd72659c546ac39eb83d19a284474/renovate.json#L18-L23


Provide sample working .PO file

Hi,
I think this package is a great idea and would be massively useful for me as Vue and vue-i18n are must for me and don't like the idea of translations in a JSON file.
Iv'e yet to get this working though, using a sample PO file I took from online I either only get the first message in the generate.json will the key being null or an empty object.
Any change this could be provided or is this project still a work in progress?

Found a workaround for this, on line 71 inside the main function, by swapping
messages[item.msgctxt] = value;
With:
messages[item.msgctxt != undefined ? item.msgctxt : item.msgid] = value;
Thoughts? Would this be worth a pull request as could do with this change to at least have basic string to string translations

Hi @Truemedia , msgctxt is always expected to exists, this can be seen in the test data, e.g. https://github.com/avast/vuei18n-po/blob/master/spec/data/en.po
However, based on your inquiry, I have found some use cases where msgctxt can be omitted.
I'm not sure without a deeper look whether making msgctxt optional can be done just by the single line change. Does it work for you?

@pavelstudeny  Yes that single line change works for me I made the change directly in the node_modules and worked for me. I will try the sample you provided but yeh just thinking to cover edge cases

@pavelstudeny Yeh the sample works for me, however still get this issue in a newer scenario where I'm using a gettext-extractor to generate a POT file from sources, then using the POT file to update PO files. Still get the original issue in that scenario unless I put the work around in

@Truemedia https://github.com/avast/vuei18n-po/commit/7419a00f9422b659269ed38a81bd162441785585 should work. Filtering (if used) should still go just by msgctxt, I believe. Agreed?

@pavelstudeny Thanks, yeh looks about right I7ll give a try.

fixed in 1.2.0


Inverse to winrt::get_abi()?

I wanted to investigate ABI – C++/WinRT interop and found the get_abi documentation.
I also know of an interoperability page in the C++/WinRT GitHub docs (that I think may be outdated?)
I would expect a related link on the get_abi page that would show the converse: converting ABI classes into C++/WinRT classes (just like we have for CX).
Is there a page explaining this interop? I could not find one. Thanks!

Hi, Gina, these are all great questions and observations, and I have a task (which I'll work on next) assigned to me to take care of this. As you know, C++/WinRT has been in a pre-release state for a while, and as we get ready to release it we're working to fill gaps in the documentation. Gaps such as the ones you're noticing. I'll get on with my task now, and I'll publish the docs just as soon as I can. Thanks again! ~Steve

Sorry, Ben (not Gina). My bad! :)
~Steve

Happy to help! I appreciate the quick response 😁

@citelao, I'll go ahead and close this issue now since it's been a while and it feels resolved. Please reopen if I made a mistake in closing. ~Steve


sonic-visualiser: Add version 4.5.2

This PR adds a manifest file for Sonic Visualiser.

Closes #12284

[x] I have read the Contributing Guide.

/verify

/verify

I'm a bit confused as to what I'm doing wrong here 😆

/verify

/verify

@assiless Legend! Working fine now... I still think it might be worth making the default behaviour of the GitHub checkver to look for the version number wherever its location in the release name.

@HUMORCE I was under the impression that the shortcuts key was optional as it says in the contributing guide. I currently do not have a Windows install to test this; I'd appreciate if you or somebody else could implement it. Cheers.

@obfuscated-loop, @HUMORCE, for your review.

/verify

@aliesbelik Thank you! LGTM :+1:  but I can't submit a review as PR author.


Error 3070003: Serialization Error Processing WASM

compile cpp: eosio-cpp -abigen hello.cpp -o hello.wasm
set contract: cleos set contract hello ./hello -p hello@active
I get : Error 3070003: Serialization Error Processing WASM

I think may be this error is because the update of eosio-cpp which previous version is eosiocpp,then the new version eosio-cpp compile the file of hello.cpp ,and create a result fie hello.wasm can't be acceptable by current version of nodeos,so this error occur

I've run nodeos and keosd within docker containers. The eosio versions seems to be v1.5.0-rc1 (github tag 5985cc40 - got with "cleos version client").
First, when I try to compile my contract, with command: "eosio-cpp -o hello.wasm hello.cpp --abigen", compilation process kind of "get stuck" and I'm not able to take back control of my prompt without using ctrl+c. Unfortunately, when I stop the compilation process with "ctrl+c", it doesn't produce the abi file, and produced binary (wasm) seems to be corrupted.
Alternatively, when I compile with -c option (command "eosio-cpp -o hello.wasm hello.cpp --abigen -c"), it seems to work fine and the abi plus wasm files appearently are generated correctly.
After that, when I try to deploy the contract, with a command like "cleos --url http://jungle2.cryptolions.io:80 --wallet-url http://<IP_ADDRESS>:9876 set contract pietroconta5 /mnt/dev/data/hello -p pietroconta5", I face the same error, again and again:
Reading WASM from /mnt/dev/data/hello/hello.wasm...
Publishing contract...
Error 3070003: Serialization Error Processing WASM
Error Details:
mutable globals cannot be imported: globalImport.type.isMutable
pending console output:

I'm pretty sure I have my accounts keys imported to my wallet and my wallet is open and unlocked, with the accounts respective keys. Also, I ensure that my accounts holds some enough EOS tokens.
I have tried to deploy my contract locally, on my block producer and also tried to deploy at jungle testnet (endpoint: http://jungle2.cryptolions.io:80, and also tested others).
//-----------------------------
//My hello.hpp file (contract header) is:
#include <eosiolib/eosio.hpp>
CONTRACT hello : public eosio::contract {
public:
using contract::contract;
ACTION hi(eosio::name user);
};
EOSIO_DISPATCH( hello, (hi))
//-----------------------------
//My hello.cpp file (contract implementation) is:
#include <eosiolib/system.h>
#include “hello.hpp”
void hello::hi(eosio::name user) {
eosio::print(“eae vacilao: ”, eosio::name(user));
}
The ABI generated file is:
{
"____comment": "This file was generated with eosio-abigen. DO NOT EDIT Sun Dec 16 16:01:59 2018",
"version": "eosio::abi/1.1",
"structs": [
{
"name": "hi",
"base": "",
"fields": [
{
"name": "user",
"type": "name"
}
]
}
],
"types": [],
"actions": [
{
"name": "hi",
"type": "hi",
"ricardian_contract": ""
}
],
"tables": [],
"ricardian_clauses": [],
"variants": [],
"abi_extensions": []
}

mee too, how to fix this.
root@vultr:~/eos/contracts/hello# cleos set contract hello /root/eos/contracts/hello -p hello@active
Reading WASM from /root/eos/contracts/hello/hello.wasm...
Publishing contract...
Error 3070003: Serialization Error Processing WASM
Error Details:
mutable globals cannot be imported: globalImport.type.isMutable
pending console output:

I have the same issue on a VPS with only 1 CPU, after I switching to a VPS with 2 CPU.
All is ok. just need switching 2CPU

It does not work even on 2 CPUs machine:
cleos set contract hello . hello.wasm hello.abi -p hello@active
Reading WASM from /home/aleksey/git/contracts/hello/hello.wasm...
Publishing contract...
Error 3070003: Serialization Error Processing WASM
Error Details:
invalid index: localIndex>=locals.size()

The same error in my env:  centos7， memory 8G,  1CPU 6Cores
Reading WASM from /root/workspace/contracts/hello/hello.wasm...
Publishing contract...
Error 3070003: Serialization Error Processing WASM
Error Details:
invalid index: localIndex>=locals.size()
pending console output:

Dose anyone solve this problem?

For me this issue was solved by updating CDT to version 1.6.1.

Tks， I'll try it.

@Tommo-L did this solve the problem?

it fix my problem by updating CDT to 1.6.2

same here. Fix by updating to 1.6.2. It's irrelevant to CPU count in my case.

Closing this since it sounds like 1.6.2 has resolved the issue.


"AttributeError: 'NoneType' object has no attribute 'keys'" when trying to get chapters

When I use chapter = api.get_chapter(id = "d86cf65b-5f6c-437d-a0af-19a31f94ec55") I get the error in the title.
This error occurs in the file "url_models.py" in line 89: if "result" in str(data.keys()):
I expected a list of chapters. This occurred in Windows 10, when making a file in Visual Studio Code.

Doing a little debugging it shows that there is a 404 response from the site. Can you tell me how did you get the Chapter Id?

Oh well look at me. I input the chapter id incorrectly. Please accept my humble apologies for wasting your time.

It's ok, this made me realise that I need to put more information in the custom error classes that are raised in the code


LSP Log Streaming Sample - Adding grammar file to package.json stops code completion from working

I am quite new to LSP and am working with the samples and trying to update to get a better understanding of how to develop them.  I am trying to take the existing LSP Log Streaming Sample and update it so that it works for a new language using extension .nso.  Here are the steps I've taken so far:

Update the package.json file to activate on new extension

"activationEvents": [
  "onLanguage:nso"
],
"main": "./client/out/extension",
"contributes": {
      "languages": [
          {
              "id": "nso",
              "extensions": [
                  ".nso"
              ]
          }
      ],

Update extension.ts to register for .nso documents:

// Options to control the language client
    const clientOptions: LanguageClientOptions = {
        // Register the server for .nso documents
        documentSelector: [
            { scheme: 'file', language: 'nso' },
            { scheme: 'untitled', language: 'nso'}
        ],
        synchronize: {
            // Notify the server about file changes to '.clientrc files contained in the workspace
            fileEvents: workspace.createFileSystemWatcher('**/.clientrc')
        },
        // Hijacks all LSP logs and redirect them to a specific port through WebSocket connection
        outputChannel: websocketOutputChannel
    };

After making the above changes, and running the example, code completion still worked as expected. Setting the filetype to nso on the editor, code completion shows the option of 'Typescript' and 'Javascript' automatically when you enter 'J' or 'T'.
Next, I've added an existing Yaml grammar file to the workspace and added configuration for grammar in package.json for the .nso extension:
  "activationEvents": [
    "onLanguage:nso"
  ],
  "main": "./client/out/extension",
  "contributes": {
        "languages": [
            {
                "id": "nso",
                "extensions": [
                    ".nso"
                ]
            }
        ],
    "grammars": [
            {
                "language": "nso",
                "scopeName": "source.nso",
                "path": "./syntaxes/nso.tmLanguage.xml"
            }
        ],

For the testing I am doing, I've just used a pre-existing Yaml language file that can be found here.
After adding the above JSON configuration and running the example, the auto completion stops working. The editor applies the syntax highlighting from the grammar file but if I type in letters 'J' or 'T', I see no code completion. Invoking code completion manually using Ctrl + Space works, but I cannot figure out why adding the grammar file stops it from working automatically. If I remove the grammars config from package.json file, the auto completion starts working again.
Would greatly appreciate if anyone has any ideas.

I recommend that you use the normal lsp-sample as a starting point. The Log streaming example is only useful if you need to visualize LSP traffic.

Are the message on the server still be called?


System.ComponentModel.Primitives could not be found warning

After our latest update to FluentValidation 7.5.1 we are getting the following warning: System.ComponentModel.Primitives could not be found warning.
All nuget packages are there.
Any ideas why it's happening?

I’ve not seen that happen before. Which platform are you targeting in your application?

Target Framework 4.7.1
Class Libraries and MVC projects (.NET Framework projects, None core, nor standard)

Very strange. What happens if you explicitly install the system.componentmodel.primitives nuget package?


feature: improved ln address handling

Here are a few ideas to improve the UX when dealing with ln addresses.
1. 'searching' message
When I type a few letters and press 'continue' I get a 'invalid payment request' message. When I type an address in email format and press 'continue' I get no feedback at all. The app detects the ln address format and begins processing it but doesn't notify the user at all. Suggestion: the 'continue' button should be disabled and change to 'Searching...' until the OnChange event is trigged on the 'destination' input.
2. 'unknown' recipient in 'activity'
A transaction sent to a ln address is listed as 'unknown' in the 'activity'.
A better experience would be to store and display the ln address in place of 'unknown'. Even better, when sending to a new ln address it should provide the option to add a label for the contact.
3. ln address lookup OnChange in 'destination' field
Another idea is, as I type in the 'destination' field on the 'send' page, it should look up the ln addresses (and associated labels) I have added or sent to in the past and provide me with selectable options.
I was manually typing the same ln address in multiple times over the course of a few hours. One time I did a typo and could have sent to the wrong person if the typo was a valid ln address.

This is done now, thanks for the suggestions!


Recipe menu cache not invalided by API deployments

The left-hand recipe menu isn't updated when new recipes are added to Recibase's API
Steps to reproduce:

Add new recipe to recibase API
Deploy updated API
Browse to front-end: recibase.herokuapp.com/

Expected behaviour:
Menu contains new recipe.
Recipe can be viewed by clicking its permalink in the menu.
Actual behaviour:
Menu does not.
Recipe can be viewed by knowing its permalink.
Further notes
This is caused because the front-end loads the recipe list on launch. Presumably the Heroku app falling asleep and rewaking would fix this after an hour or two.

This also applies to the API version displayed in the footer of every page, which is arguably worse as it makes debugging harder.


fill-mask ?

Is it possible to pre-train this model using fill-mask ?
Or to reuse pre-existing fill-mask such as https://huggingface.co/Davlan/afro-xlmr-large-61L ?
The goal is to pretrain low resource language on monolingual dataset

Which model are you referring to? Is this the wrong forum?

I was refering to any translation model under opus-MT.
Your 2nd question is only rhetorical apparently.

Not at all, I really thought that this question could be posted to the wrong thread and that you refer to one specific model (as you said "this model"). In any case, I would not know how to use the opus-mt models in the way you suggest.


Update CI to latest ubuntu

Why? These things run in Arch/Steam Runtime containers anyway and it isn't broken...

Why? These things run in Arch/Steam Runtime containers anyway and it isn't broken...

Updating GitHub CI from Ubuntu 20.04 to 22.04 is essential for the following reasons:
Latest Software and Security Updates: Ubuntu 22.04 introduces newer versions of software packages and libraries. By updating, you can leverage the latest features, bug fixes, and security patches, ensuring that your CI environment is up to date and protected against vulnerabilities.

Improved Performance: Ubuntu 22.04 incorporates performance optimizations that can enhance the speed and efficiency of your CI pipeline. With updated system components and an improved kernel, you can expect faster build and test execution times, resulting in quicker feedback for developers.

Compatibility and Future-Proofing: As the software landscape evolves, newer tools and frameworks may require updated system dependencies. By upgrading to Ubuntu 22.04, you ensure compatibility with the latest software ecosystem. This future-proofs your CI infrastructure, allowing you to seamlessly adopt newer technologies and libraries as your projects evolve.

Community Support: As Ubuntu 20.04 reaches its end-of-life (EOL) phase, the community's focus shifts to maintaining and supporting newer releases like Ubuntu 22.04. By upgrading, you can tap into the vibrant community support, accessing resources, tutorials, and fixes specific to the latest version.

Enhanced Stability: Ubuntu 22.04 undergoes rigorous testing and quality assurance processes, resulting in a more stable and reliable operating system. By upgrading, you can benefit from improved stability, reducing the likelihood of unexpected failures during the CI process.

In conclusion, updating GitHub CI from Ubuntu 20.04 to 22.04 offers the advantages of newer software, improved performance, compatibility, community support, and enhanced stability. By embracing the latest Ubuntu release, you can optimize your CI pipeline and ensure a secure and efficient development environment.

That's a nice amount of buzzwords right there but none of that really answer the question.
I guess there's no reason not to update either but given what Josh said, we don't really rely on this.

This is a small and straightforward pull request (PR). It is a simple change that doesn't aim to heavily improve anything in particular.

@doitsujin what do you say ?

Why? These things run in Arch/Steam Runtime containers anyway and it isn't broken...

Updating GitHub CI from Ubuntu 20.04 to 22.04 is essential for the following reasons:
Latest Software and Security Updates: Ubuntu 22.04 introduces newer versions of software packages and libraries. By updating, you can leverage the latest features, bug fixes, and security patches, ensuring that your CI environment is up to date and protected against vulnerabilities.

Improved Performance: Ubuntu 22.04 incorporates performance optimizations that can enhance the speed and efficiency of your CI pipeline. With updated system components and an improved kernel, you can expect faster build and test execution times, resulting in quicker feedback for developers.

Compatibility and Future-Proofing: As the software landscape evolves, newer tools and frameworks may require updated system dependencies. By upgrading to Ubuntu 22.04, you ensure compatibility with the latest software ecosystem. This future-proofs your CI infrastructure, allowing you to seamlessly adopt newer technologies and libraries as your projects evolve.

Community Support: As Ubuntu 20.04 reaches its end-of-life (EOL) phase, the community's focus shifts to maintaining and supporting newer releases like Ubuntu 22.04. By upgrading, you can tap into the vibrant community support, accessing resources, tutorials, and fixes specific to the latest version.

Enhanced Stability: Ubuntu 22.04 undergoes rigorous testing and quality assurance processes, resulting in a more stable and reliable operating system. By upgrading, you can benefit from improved stability, reducing the likelihood of unexpected failures during the CI process.

In conclusion, updating GitHub CI from Ubuntu 20.04 to 22.04 offers the advantages of newer software, improved performance, compatibility, community support, and enhanced stability. By embracing the latest Ubuntu release, you can optimize your CI pipeline and ensure a secure and efficient development environment.

hello chatgpt!


single c file in solution cannot resolve penter / pexit

I have a solution that is 99.9% cpp files, with one c file being used (volk.,c)
On build, with profiling enabled:
Finished generating code
1>volk.obj : error LNK2001: unresolved external symbol _penter
1>volk.obj : error LNK2001: unresolved external symbol _pexit
1>C:\MinCity\x64\Release\..\..\MinCity.exe : fatal error LNK1120: 2 unresolved externals

I've checked the project, $(MICROPROFILERDIR)/micro-profiler_$(PlatformName).lib is automagically added to additional dependencies.
I tried /Gh- on the one c file to see if I could exclude it.
I also tried overriding the compilation of the c file to be built as c++. Same unresolved symbol.

I also tried copying micro-profiler_x64.lib/dll locally to the project dir, and manually adding it to the additional dependencies,
This seems to work, but manually has to be done to the project.
Any ideas as to what might be causing this issue?

Hello @Carandiru0,
there's a known issue - it may require to restart visual studio twice after installing micro-profiler package - this way the environment variable pointing at the installation location is properly updated.
thank you,
Artem

this is the original issue: https://github.com/tyoma/micro-profiler/issues/69

thanks, greater profiler!

thanks, @Carandiru0! when you feel like it - please, leave a review on visual studio marketplace: https://marketplace.visualstudio.com/items?itemName=ArtemGevorkyan.MicroProfilerx64x86


Auto install gCloud command and support for splits

Summary:

Support for flavors
Support for splits
Auto install gcloud and gsutil tool if missing
Auto setup gcloud credentials and project
Ability to disable downloading artifacts
Added integration tests
Some cleanup in code

Todo:

[x] Add documentation for splits
[x] Add documentation about devices
[x] Add documentation how to create keys file
[x] Self code review
[x] Code review by project owner

@piotrmadry I think I finished :)

Great job! I love this auto install and auth for gcloud and gsutil. Approved!


Errors and bad transcript

Thanks for this excellent script! I've used it several times and gotten exactly what I needed.
But recently, when executing the script via Terminal (I'm on a Mac), I get the following errors, and then the transcript file is created, but it's basically exactly the same as the input json.
Any help would be appreciated!
PHP Warning:  file_get_contents(arsOutput.json): Failed to open stream: No such file or directory in /Applications/aws-transcribe-transcript-master/transcript.php on line 4
Warning: file_get_contents(arsOutput.json): Failed to open stream: No such file or directory in /Applications/aws-transcribe-transcript-master/transcript.php on line 4
PHP Warning:  Attempt to read property "results" on null in /Applications/aws-transcribe-transcript-master/transcript.php on line 8
Warning: Attempt to read property "results" on null in /Applications/aws-transcribe-transcript-master/transcript.php on line 8
PHP Warning:  Attempt to read property "speaker_labels" on null in /Applications/aws-transcribe-transcript-master/transcript.php on line 8
Warning: Attempt to read property "speaker_labels" on null in /Applications/aws-transcribe-transcript-master/transcript.php on line 8
PHP Warning:  Attempt to read property "segments" on null in /Applications/aws-transcribe-transcript-master/transcript.php on line 8
Warning: Attempt to read property "segments" on null in /Applications/aws-transcribe-transcript-master/transcript.php on line 8
PHP Warning:  foreach() argument must be of type array|object, null given in /Applications/aws-transcribe-transcript-master/transcript.php on line 10
Warning: foreach() argument must be of type array|object, null given in /Applications/aws-transcribe-transcript-master/transcript.php on line 10
PHP Warning:  Attempt to read property "results" on null in /Applications/aws-transcribe-transcript-master/transcript.php on line 17
Warning: Attempt to read property "results" on null in /Applications/aws-transcribe-transcript-master/transcript.php on line 17
PHP Warning:  Attempt to read property "items" on null in /Applications/aws-transcribe-transcript-master/transcript.php on line 17
Warning: Attempt to read property "items" on null in /Applications/aws-transcribe-transcript-master/transcript.php on line 17
PHP Warning:  foreach() argument must be of type array|object, null given in /Applications/aws-transcribe-transcript-master/transcript.php on line 22
Warning: foreach() argument must be of type array|object, null given in /Applications/aws-transcribe-transcript-master/transcript.php on line 22

Thanks!
The error you're getting is because the script cannot find/open the json file from AWS. It looks like a typo where you're using arsOutput.json vs asrOutput.json

Thanks!
The error you're getting is because the script cannot find/open the json file from AWS. It looks like a typo where you're using arsOutput.json vs asrOutput.json

Thanks so much for your prompt response! Unfortunately, that's not it. I've checked and rechecked the file names and commands for typos. I've even tried renaming the JSON files to simple filenames and using those instead. It always has the same result. I just re-downloaded the AWS JSON file, copied the file name, and pasted it into the Terminal command. That said, I don't doubt it's my mistake, just can't pinpoint the problem. Thanks again.

Ok, thanks.


configure tag_and_push plugin with registry secret path

Once https://github.com/projectatomic/atomic-reactor/issues/404 is implemented, we'll need to have a new optional configuration parameter push_secret, being the name of a Kubernetes secret that contains keys username, email, and password for logging into a registry for pushing.
If this parameter is set, the tag_and_push plugin should be configured with registry_secret_path being the path to that secret.

@maxamillion

I'm assuming this will also implement pushing to docker hub.

I think that's right.

This is already fixed (e.g. commit 194627a5).


[Power Toys Run] System commands don't work anymore

Microsoft PowerToys version
0.41.3
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce

不能搜索系统命令
✔ Expected Behavior
之前版本可以正常使用系统命令的操作
❌ Actual Behavior
更新后不能使用系统命令
Other Software
No response

Translation: Failed to execute system command by PT run after upgrade. For example, shutdown.

@Mr-zhang-cloud I can't reproduce this using the same version of PowerToys, do you have log file or any else?
@Mr-zhang-cloud 使用相同版本無法重現此問題，請問是否有日誌檔或其他資料?
Screenshot:

@Mr-zhang-cloud
System commands were localized in 0.41.0. Try to enter the translated version of shutdown according to your locale.

Closing it as doesn't apply. Feel free to reopen it if the previous comment doesn't fix your issue.

@Mr-zhang-cloud For translated response (翻譯後的回覆) 在PowerToys 版本0.41.0中，系統指令已被地區化，請嘗試輸入關機已執行關機操作。

@mykhailopylyp Although system is localizated, is it possible to keep English command enabled? Entering localizated command in PT run can be complicated and un-efficiency at work.

I like commands in english. I agree with above write.

@mykhailopylyp maybe this issue can be reopened and change this to an enchantment from issue-bug

@dedavis6797
We localized system commands in .41.0(e.g shutdown, lock). From the comments, it looks like there are still users that want to use the English version even though their locale is not English. Is it something we want to enable? Should we create a feature request for it?

I think it’s better to use english in powertoys run by default. And why powertoy run does not run on login?

mailto: @.*** && @.***
신 형식

오후 7:31, Mykhailo Pylyp @.***> 작성:

@dedavis6797
We localized system commands in .41.0(e.g shutdown, lock). From the comments, it looks like there are still users that want to use the English version even though their locale is not English. Is it something we want to enable? Should we create a feature request for it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

@hyungs72
Update to the latest version and if still doesn't work create a dedicated issue for it.

I'm japanese,but I wanto to use english.
In Japanese mode,type IMEkey->suri-pu->F7(transrate into KANA).And during typing,Japanese mode can't autocomplete.It need typing finished,then autocomplete list is show.
So I prefer english and locale word both exist.

@mykhailopylyp
How is the state regarding multilingual System plugin? My issue from past was closed as won't fixed. But as we see it would be very useful and is requested.

@dedavis6797
We localized system commands in .41.0(e.g shutdown, lock). From the comments, it looks like there are still users that want to use the English version even though their locale is not English. Is it something we want to enable? Should we create a feature request for it?

@mykhailopylyp this is reasonable, we should enable it. I'll create the feature request and link this issue to it.

I'm Japanese, but I want to use English command.

I am Also Japanese, but in this case, English is more reasonable.

Pls, keep the English command.

Please keep the command in English. Thank

My suggestion for the implement:

Show title and subtitle maybe translated.
Allow searching for both versions at the same time (localized and english name) if enabled.

Technical implementation suggestion:
Adding a second property to the commands that holds the english (original) title.

Allow searching for both versions at the same time (localized and english name) if enabled.

I don't think users interchangeably use English and local languages to use System commands. So for the sake of keeping it simple, I suggest using either English or the local language.
@htcfreek, @davidegiacometti, thoughts?

Allow searching for both versions at the same time (localized and english name) if enabled.

I don't think users interchangeably use English and local languages to use System commands. So for the sake of keeping it simple, I suggest using either English or the local language.
@htcfreek, @davidegiacometti, thoughts?

I personally think that I may use sometimes the english and sometimes the localized terms. The reason is that I often switch between English and German operating system and don't think about English or German words explicit.

People here are asking to use english instead of Windows languange that's why I agree to keep it simple.
If we decide to support both at the same time:

Would it make sense to have an option in the plugin manger?
PT Run should display english or localized title and subtitle based on user input?

People here are asking to use english instead of Windows languange that's why I agree to keep it simple.
If we decide to support both at the same time:

Would it make sense to have an option in the plugin manger?

Maybe to enable/disable multilingual (en-us and localized) search.

PT Run should display english or localized title and subtitle based on user input?

I think if the user search by en-us name at least the title sjouldz be in English to avoid confusion. And I think if we translate the title we should also translate the subtitle. (Otherwise it looks strange.)
But I could imagine that we have a title like this: <localized name> (English name). Then we can use localized subtitle every time.

In my opinion, I believe having both English and localized name enabled by default are making sense and did not have any disadvantage in my sight.

PT Run should display english or localized title and subtitle based on user input?

To avoid confusion as @htcfreek says, users should get the title as user input for a better user experience.  And PT can show the subtitle in the user input language as well.
But, I think displaying the title <localized name> (English name) will make the layout a bit messy, so I'll go with displaying user input language at the moment.

Some considerations about the implementation. I'm in favor of a simple and clean solution.

The solution implemented in this PR: https://github.com/microsoft/PowerToys/pull/12939
User can choose to localize the plugin or not with an option in the plugin manager.
By default is localized (current PT behaviour).
Both title and subtitle will follow the option.
Plugin is localized by default but the user is able to find the commands also with english terms (like an alias).
Both title and subtitle will always be localized.
No option in the plugin manager required.

@davidegiacometti @franky920920 @htcfreek
Thank you for all your feedback. I would suggest @davidegiacometti's first option for the sake of simplicity.
We can always change it depending on community feedback.

Needs label fix.


Any issue with processing MS2 spectra with Peakonly?

I understand that the code explicitly parses for ms_level=1 spectra, but would there be any issue with modifying the code to process ms_level=2?
Is there something unique about the code that would make targeted metabolomics more challenging to classify and integrate peaks for?

I didn't really understand your question. peakonly finds features, i.e. calculate areas of peaks in MS1 space of untargeted MS (unknown m/z's). For targeted MS you already have known list of masses to monitor for. That means, you don't have to search for unknown m/z's, just calculate areas for that list. It is easy to process even with vendor's software.


Bring back comment for variable transaction fees

Description
Some comments were accidentally removed in https://github.com/onflow/flow-emulator/pull/451, this PR brings them back :innocent:

For contributor use:

[x] Targeted PR against master branch
[x] Linked to GitHub issue with discussion and accepted design OR link to spec that describes this work
[x] Code follows the standards mentioned here
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the GitHub PR explorer
[x] Added appropriate labels

cc @turbolent


It most likely is similar to https://github.com/flutter/flutter/issues/115253, so please follow-up in that issue for further updates.

It most likely is similar to https://github.com/flutter/flutter/issues/115253, so please follow-up in that issue for further updates.
Closing this as a duplicate.
Originally posted by @darshankawar in https://github.com/flutter/flutter/issues/131161#issuecomment-1651019131

I think the two cases you mentioned are not the same problem, the crash stacks are different。
in case https://github.com/flutter/flutter/issues/131161 , crash stack is :

which is similar as case in case https://github.com/flutter/flutter/issues/122957,
chinmaygarde said it has been fixed (Bisected this to https://github.com/flutter/engine/commit/97e246cb5d78f037f3e585261dc4b5a6045a02f2
This may have been fixed by https://dart.googlesource.com/sdk/+/e3e355e16a8b67ba6a1d7a83f837e8e69cf71534)
but we found the crash was also exist in flutter 3.7.10
but in case https://github.com/flutter/flutter/issues/115253， the crash stack is:

@zjrwdl
Please don't use comments from other issues to file a new issue. Please use issue template, fill out requested details in proper format so that we can address it properly.
From the details you provided, it seems the issues linked are not similar, but it is not a recent issue, filed last year. If you are facing same issue / crash using latest stable, please comment in that issue or open a new one as suggested earlier.
Closing for now.

but we found the crash was also exist in flutter 3.7.10

This is also old version. Please check if the same occurs in latest stable, then we can make it actionable.


New package: BEE v1.0.0

Registering package: BEE
Repository: https://github.com/newptcai/BEE.jl
Created by: @newptcai
Version: v1.0.0
Commit: 754f4a636821370b41529d7dbc7efa37049993e2
Reviewed by: @newptcai
Reference: https://github.com/newptcai/BEE.jl/commit/754f4a636821370b41529d7dbc7efa37049993e2#commitcomment-38647766

Can I not change the package name?

Please close this. I decided not to change the project name.


[RFE] Improve oidc URL generation

Starting  with keycloak17 keycloak changed the default path schema by removing the initial /auth/ in the path in the default setup. [1]
Describe the solution you'd like
Instead of using a homebrew URL generator for the 'generate' option query the /realms/{realm-name}/.well-known/openid-configuration endpoint to get the urls and other config information [2]
Describe alternatives you've considered
Add an option to the generator to generate URLs for  different version. As this is fragile, I think asking the keyclaok server for the information is  the better alternative.
Additional context
Add any other context or screenshots about the feature request here.
[1] https://www.keycloak.org/migration/migrating-to-quarkus
[2] https://www.keycloak.org/docs/latest/securing_apps/#other-openid-connect-libraries

Shouldn't this be labeled as a bug? I have new gray hairs after trying to figure out why I couldn't set up Keycloak with Rancher, only for it to be that sneaky /auth/ part in the Rancher generated URL.

I took a swing at #38683 and happy to try to take on this one as well, but i need at least a bit more guidance in both - in the actual improvement implementation, as well as in dev process - which tests to add where etc.
Starting with .well-known/openid-configuration if you could help me understand which part of it should be parsed by keycloak client code to do proper GetPrincipal and searchPrincipals requests, I'd be most willing to implement that.
Thanks

Hi Guys, just to confirm currently rancher can't support keycloak installation which are on quarkus where the context path /auth has been disabled.

My patch is working in our installation

For those who interested, starting with Rancher 2.9.0 (I think?) there is now "Generic OIDC" provider option which does not force using /auth/ path. I successfully connected it to Keycloak 25.0.2:


Adding compression for the claims

Hi, in our project the claims part of the JWT token is getting really long. I was wondering if it would be possible to compress the data in the claims part.
It would look pretty straightforward,
I would add an 'compression' : 'gzip' key and value to the header map. This can be done by adding a new argument  to the jwt.New() function.
The rest would be transparent. Just add compression between JSON encoding and Base64 encoding,
and decompression symmetrically.
I would rather contribute to the main repo instead of forking it or doing the same thing in our code.

It's a cool idea.  Is this supported by the spec?

There is no mention of claims compression in the RFC.  I think this should be still ok, as the implementation i was thinking about would fallback gracefully in case of any problems.
I am using the same approach to compression function as to the one used for signing methods.
If there is not 'compression' entry in the JWT header it would fall back to no op compression alg.

Hi, just pinging to check if there are any updates on this.

#102

See #102


Add a fail reporter

We should add a fail reporter that can be used to fail the build if there are linting errors.

+1

Yes please, this is a bit annoying :-). Or maybe just some workaround documentation?

Here is a workaround:
		.pipe(gulpif(
			function(file) {
				return !file.lesshint.success;
			},
			gulpfail('Failed to lint less files', true)));

This requires gulp-if and gulp-fail.

Thanks for the work around @DamienCassou.
I do however have a proposal up in #14, let me know what you guys think!


Completely broken for many apps

On my system a lot of apps are in wrong categories or not categorized at all whereas ArcMenu or Gnome Applications Menu can do it properly:

Absolutely ALL wine apps are unsorted NOT a single one sorted.
The Document Scanner is in the wrong category: should be "Utilities" not "System Tools"
The Terminal should be in "Utilities" not "System Tools"
Your script does not even generate this "Utilities" category

It seem that your script does not respect the sorting rules applied under Ubuntu and PopOS.

I just found a solution to the problem but it relies on the use of libgnome-menu-3-dev and unfortunatly the simplest way to access it is by either C or Vala, so I wrote an implementation in Vala.
class Category
{
	public string name_id { get; private set; }
	public string name { get; private set; }
	public string id { get; private set; }
	public Gee.List<string> apps { get; private set; }

	public Category(string n, string i)
	{
		id = i;
		name = n;
		name_id = name.down().replace(" ", "-").replace("&", "-");
		apps = new Gee.ArrayList<string>();
	}
}

void load_category(GMenu.TreeDirectory dir, Category category)
{
	var iter = dir.iter();
	var type = GMenu.TreeItemType.INVALID; //Unfortunatly valac is stupid as hell: not even able to understand how a do while loop work!
	do
	{
		type = iter.next();
		if (type == GMenu.TreeItemType.DIRECTORY)
		{
			var subdir = iter.get_directory();
			load_category(subdir, category);
		}
		else if (type == GMenu.TreeItemType.ENTRY)
		{
			var entry = iter.get_entry();
			category.apps.add(entry.get_desktop_file_id());
		}
	}
	while (type != GMenu.TreeItemType.INVALID);
}

Gee.List<Category> load_root(GMenu.TreeDirectory dir)
{
	var unsorted = new Category("", "");
	var categories = new Gee.ArrayList<Category>();
	var iter = dir.iter();
	var type = GMenu.TreeItemType.INVALID; //Unfortunatly valac is stupid as hell: not even able to understand how a do while loop work!
	do
	{
		type = iter.next();
		if (type == GMenu.TreeItemType.DIRECTORY)
		{
			var subdir = iter.get_directory();
			var category = new Category(subdir.get_name(), subdir.get_menu_id());
			load_category(subdir, category);
			categories.add(category);
		}
		else if (type == GMenu.TreeItemType.ENTRY)
		{
			var entry = iter.get_entry();
			unsorted.apps.add(entry.get_desktop_file_id());
		}
	}
	while (type != GMenu.TreeItemType.INVALID);
	if (unsorted.apps.size > 0)
		categories.add(unsorted);
	return categories;
}

void main()
{
	try
	{
		var menu = new GMenu.Tree("applications.menu", 0);
		menu.load_sync();
		var root = menu.get_root_directory();
		var categories = load_root(root);
		var catcmd = "gsettings set org.gnome.desktop.app-folders folder-children \"[";
		var catcmds = new Gee.ArrayList<string>();
		foreach (var c in categories)
		{
			catcmd += "'" + c.name_id + "', ";
			var namecmd = "gsettings set org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/" + c.name_id + "/ name '" + c.name + "'";
			catcmds.add(namecmd);
			var appscmd = "gsettings set org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/" + c.name_id + "/ apps \"[";
			foreach (var a in c.apps)
			{
				appscmd += "'" + a + "', ";
			}
			appscmd = appscmd.substring(0, appscmd.length - 2);
			appscmd += "]\"";
			catcmds.add(appscmd);
		}
		catcmd = catcmd.substring(0, catcmd.length - 2);
		catcmd += "]\"";
		GLib.Process.spawn_command_line_sync(catcmd);
		foreach (var cmd in catcmds)
		{
			GLib.Process.spawn_command_line_sync(cmd);
		}
	}
	catch (GLib.Error e)
	{
		print("Error code: %d\n", e.code);
		print("Error domain: %s\n", e.domain.to_string());
		print("Error message: %s\n", e.message);
	}
}

Hi, @Yuri6037! Thanks for investigating this and finding a solution. Apologies it has taken me so long to respond to you, my semester at university just ended.
I dabbled with Vala once or twice but never wrote anything useful, this could be a great opportunity to learn more since you have written a lot of the base I would need.


fix dark mode

Describe the bug/feature
Dark mode is  not working properly
To Reproduce
Steps to reproduce the behavior:

Toggle the dark mode button

Screenshots

Add any other context about the problem here.

Hey @satyampgt4, I know this bug, I was planning you fix this once the frontend is ready. Otherwise, we have to change it whenever we add something new.

okey


discord invitation is invalid

As the title, the invitation of discord is invalid.
BTW another extra question is I saw there are some commands that don't exist in GNU coreutils doc. Like env -f. I can't find the -f option in the document which is the following link.
https://www.gnu.org/software/coreutils/manual/html_node/env-invocation.html#env-invocation
May I ask where does the option come from?

What discord invitation are you talking about? The ones in the README and the docs seem to work for me.

I was using the one in readme. Once I clicked it, I am directed to this page

About the env option, I just made a PR to document it: #4331 :)
In general, we try to document them on this page: https://uutils.github.io/user/extensions.html

Thank you!
So may I interpret it as, basically coreutils is totally the same as GNU coreutils. The only differences are listed in this page
docs/src/extensions.md

Does this link work? https://discord.gg/AkXMzywXZ4

So may I interpret it as, basically coreutils is totally the same as GNU coreutils. The only differences are listed in this page
docs/src/extensions.md

That's what we aim for, but there are missing features and bugs of course. We treat almost any difference with GNU as a bug.

Some people have entered the Discord server in the meantime, so I'm gonna assume that this is not our fault and close this issue. Otherwise you could look here: https://support.discord.com/hc/en-us/articles/360001556852-Invalid-Invite-Links


fix misspell "scrutiny" in content/content.go

Signed-off-by: fate-grand-order<EMAIL_ADDRESS>

LGTM


50 Hub Site Limitation

Added Important note detailing 50 hub site limitation. This is documented on the Overview of Programming SharePoint Hub Sites. Alternatively, if this limitation is not correct on the overview, it should be removed and this pull request cancelled.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Register-SPOHubSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Failed to generate image when running Snow_Effect_Generator.py

Hi, thanks for your great work.
I'm trying to use this command to generate snowy scene:
python Snow_Effect_Generator.py --clear_path "/Users/ushiushi/PycharmProjects/Weather_Effect_Generator/datasets/clear.jpg" --depth_path "/Users/ushiushi/PycharmProjects/Weather_Effect_Generator/datasets/clear.npy" --save_folder "/Users/ushiushi/PycharmProjects/Weather_Effect_Generator/datasets"
But after I run this command, nothing happened and no image is generated in datasets folder. Did I use the correct command for snow generation? Thanks a lot.

Hi there, I'm having the same issue as you.
I would like to know the update, have you solved the problem yet? I would appreciate it if you could show me how to fix it. Thanks


NPM script is missed for both Angular and React slow guides

Docs says  https://storybook.js.org/basics/guide-angular/#run-your-storybook
npm run storybook
but this script is never created. Only Vue guide has an explanation

Is this still needed ? If so I may take a go at it.

I do see it here - https://storybook.js.org/basics/guide-angular/#add-storybookangular-and-babel-core


Service configuration with side car services

Do you think that configuring the application with a side car service (getting the configuration values with stuff like confd or consul-template or whatever script) is a good practice? I saw this pattern emerging  lately...

Sounds fun! I've actually heard about this too but not first hand experience.
Question for me would be if there is some conflict with native config services.


RemoveGrain(19) produce all-green output for a 10-bit input clip

10-bit 420/422 source => removegrain(19) => green colored clip
video test sample:
https://drive.google.com/file/d/1mv2LF5cRKNSryofY75fuV0teBQUBbEmW/view?usp=sharing

Already fixed on git (December 2020), did not make a release yet.

Already fixed on git (December 2020), did not make a release yet.

Released

Released


English README

Hi
Is it possible to have an English version of the README (or short summary)? That would be for inclusion to https://github.com/vsouza/awesome-ios
Let me know if this is possible or not
Thanks!

+1

1

Thank you.Recently I try to take the time to write a English version.

@CoderMJLee hi there, any time to work on this? Does not have to be the whole README, at least a section for how to install and get started

I will remove this asap

@dkhamsing     https://github.com/CoderMJLee/MJRefresh/pull/590, @zzBelieve  translate it,this may can help u


Redo SessionParamsTuning pass

Redo SessionParamsTuning pass
Redo the pass to use existing search strategy implementation rather than introduce its own.
Also,

Renamed the flag "is_generative" to "generative" to match what HF does for model configs.
ModeBuilder needs to include source model's config in its output. This is required when chaining CLI output with manual run configuration. For CLI -> CLI chain, the model_config.json provides the necessary config.

Checklist before requesting a review

[ ] Add unit tests for this change.
[ ] Make sure all tests can pass.
[ ] Update documents if necessary.
[ ] Lint and apply fixes to your code by running lintrunner -a
[ ] Is this a user-facing change? If yes, give a description of this change to be included in the release notes.
[ ] Is this PR including examples changes? If yes, please remember to update example documentation in a follow-up PR.

(Optional) Issue link

NOTE: Tests are still broken for the pass. Posting the changes for the pass itself for early feedback.


Implement LWIP locking

Don't know why this was never implemented.
https://github.com/raspberrypi/pico-extras/blob/ccd88d320f6d759d102cf65a1345d06f1d730f32/src/rp2_common/lwip/lwip_arch.c#L12

defunct now that we use pico_lwip in pico-sdk


microphone plugin: move to separate directory

Coverage remained the same at 80.385% when pulling 4f9cfb047ff15a4e1fe439f431a4c39aa69454d7 on mic-split into 043d138323b5f125d24d1729f029bc56f8c9fe23 on master.


Markup for credit card numbers

There are 8 credit card numbers were found in the data set

So did you found a card number cases from CredData's data?
It seems you did.

So did you found a card number cases from CredData's data? It seems you did.

Yes. only 16 numbers in one string. Probably, there might be 15 numbers, or splitted with spaces...


SQLitePersistentBlobCache Flush / Vacuum hang when awaited

If I await a call to Flush() or Vacuum() on my SQLitePersistentBlobCache, the app just hangs.
e.g. - await BlobCache.Secure.Flush();
Am I missing something, should I not await this call, or is this a bug?

I'm also hitting this in 4.1.0. Also happens only on Android, and not reliably. Any further insight into what's causing this?
As a hack I'm throwing a timeout on it and hoping nothing too bad happens when I ignore the timeout, so far so good...

I am facing the same issue, on Xamarin and iOS, with akavache 4.1.0.

I am also facing this issue, on Xamarin.Mac 1.12 and Akavache 4.1.1.

This should be fixed with https://github.com/akavache/Akavache/pull/254


Dark theme

Long awaited by our millions users, it will come eventually.

is there a bug in dark theme? i don't have it

The webstore is cucked and requires a manual review that can take 2 weeks for every deploy, so if you want it now I would recommend building it and loading the unpacked extension

K WILLt ry to figure out how to do that aha


MWPW-147175

Resolves : MWPW-147175
New data attribute data-guest="true" will be added to DC Widget on pages w/ the metadata tag ims-guest: "true"

Codecov Report
Attention: Patch coverage is 50.00000% with 2 lines in your changes are missing coverage. Please review.

:exclamation: No coverage uploaded for pull request base (stage@545145b). Click here to learn what that means.
Report is 2 commits behind head on stage.

Files
Patch %
Lines

.../blocks/dc-converter-widget/dc-converter-widget.js
50.00%
2 Missing :warning:

Additional details and impacted files
@@           Coverage Diff            @@
##             stage     #652   +/-   ##
========================================
  Coverage         ?   97.92%
========================================
  Files            ?       34
  Lines            ?     4150
  Branches         ?        0
========================================
  Hits             ?     4064
  Misses           ?       86
  Partials         ?        0

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


GPUAI-1250 - Flash Attention v2.04 module rotary cannot be used code fixed

background
as we have installed the flash-attention on the machine or a docker image, we found the module rotary_emb could not  be used
flash-attention install description
please refer to https://github.com/ROCm/flash-attention
rotary_emb install description
1 first clone the repository:https://github.com/ROCm/flash-attention.git
2 enter the directory: /csrc/rotary/
3 run the command on a terminal or a shell :python setup.py install (python3 is needed)
command for the test
run the import code after you have run python:from flash_attn.layers.rotary import apply_rotary_emb_func
result expected

the success

Please give more test result beside importing.

the test result for rotary module is given, the test source is in the file test_rotary.py


Handshake Error filled Log File

I 'm using Ambassador API Gateway which is using envoy as the proxy engine
and the log file is filled with handshare error :
[2019-09-03 10:49:18.735][126][debug][main] [source/server/connection_handler_impl.cc:280] [C2051540] new connection [2019-09-03 10:49:18.735][126][debug][connection] [source/extensions/transport_sockets/tls/ssl_socket.cc:168] [C2051540] handshake error: 5 [2019-09-03 10:49:18.735][126][debug][connection] [source/extensions/transport_sockets/tls/ssl_socket.cc:201] [C2051540] [2019-09-03 10:49:18.735][126][debug][connection] [source/common/network/connection_impl.cc:188] [C2051540] closing socket: 0 [2019-09-03 10:49:18.735][126][debug][main] [source/server/connection_handler_impl.cc:80] [C2051540] adding to cleanup list [2019-09-03 10:49:18.739][125][debug][main] [source/server/connection_handler_impl.cc:280] [C2051541] new connection [2019-09-03 10:49:18.739][125][debug][connection] [source/extensions/transport_sockets/tls/ssl_socket.cc:168] [C2051541] handshake error: 5 [2019-09-03 10:49:18.739][125][debug][connection] [source/extensions/transport_sockets/tls/ssl_socket.cc:201] [C2051541] [2019-09-03 10:49:18.739][125][debug][connection] [source/common/network/connection_impl.cc:188] [C2051541] closing socket: 0 [2019-09-03 10:49:18.739][125][debug][main] [source/server/connection_handler_impl.cc:80] [C2051541] adding to cleanup list [2019-09-03 10:49:18.781][126][debug][main] [source/server/connection_handler_impl.cc:280] [C2051542] new connection [2019-09-03 10:49:18.782][126][debug][connection] [source/extensions/transport_sockets/tls/ssl_socket.cc:168] [C2051542] handshake error: 5 [2019-09-03 10:49:18.782][126][debug][connection] [source/extensions/transport_sockets/tls/ssl_socket.cc:201] [C2051542] [2019-09-03 10:49:18.782][126][debug][connection] [source/common/network/connection_impl.cc:188] [C2051542] closing socket: 0 [2019-09-03 10:49:18.782][126][debug][main] [source/server/connection_handler_impl.cc:80] [C2051542] adding to cleanup list [2019-09-03 10:49:18.804][126][debug][main] [source/server/connection_handler_impl.cc:280] [C2051543] new connection
Any Idea how to solve or hide this log ?

Envoy is not designed to be run in production at trace or debug level. Run at info log level.

This is not on my production , this is on my development cluster


Release: Gateway <IP_ADDRESS>

Summary
Patch release changelog entry. No other doc impact.
Reason
Gateway patch release.
Testing
https://deploy-preview-3623--kongdocs.netlify.app/gateway/changelog/

@lena-larionova <IP_ADDRESS> has been released! Merge this whenever you are ready


Fix Jekyll build warnings

I've forked the repo and created my own GitHub Pages.
On Jekyll build step, Jekyll had show warnings as:
Deprecation: The 'gems' configuration option has been renamed to 'plugins'. Please update your config file accordingly.

GitHub Metadata: site.name is set in _config.yml, but many plugins and themes expect site.title to be used instead. To avoid potential inconsistency, Jekyll GitHub Metadata will not set site.title to the repository's name.

I've fixed it with these two commits on my repo:

https://github.com/IvanVnucec/IvanVnucec.github.io/commit/fa71217d2626be398739a826a845fa705eb28a5f
https://github.com/IvanVnucec/IvanVnucec.github.io/commit/2782b5633cd5cc21b7627b3526e9a0faabbdd044

Done. Thanks for pointing this out @IvanVnucec :+1:


⚠ Home NAS has degraded performance

In 4aa0de9, Home NAS ($MY_NAS_URL) experienced degraded performance:

HTTP code: 200
Response time: 19220 ms

Resolved: Home NAS performance has improved in de3f536 after 29 minutes.


Header for specific requests

I congratulate you, your package is excellent.
I have a question and I wanted to know if it is possible that certain requests can be given headers that is only necessary in these.
example:
In the config file I have "Content-type" => "application/json" and "Accept" => "application/json", but some requests require "content-type" => "multipart / form-data" and "Authorization"
Summary: Adding header and overwriting default is I want to do.
Thank you very much for the help you can give me.

Hey there!👋
First off, you should know that we're moving to Scribe. It's the next iteration of this package, with release in a few weeks and migration is pretty straightforward.
Now, as to your question. You have a number of options.

Use the apply setting in your config file to set headers. This means if you want only some routes to have a certain header, you'll need to split them into a separate group with its own apply settings. Here's the doc.

Now, (1) might not be a good idea if you have only a few routes, and multiple different headers. (Plus, I personally don't like route groups.) Well, the good news is that Scribe has a @header annotation coming. (It's not been implemented or documented yet, though.)

A more specific solution for your use case: Scribe lets you add authentication information about your API, so once you tag the method with @authenticated, Scribe will automatically add the auth parameter you specified. Docs.
For file uploads (assuming that's what your multipart/form-data is for), Scribe also has a neat solution.

Hope these meet your needs. Scribe is currently under development, but all of the features I've mentioned (apart from @header) shouldn't change much. We should have a beta release by end of this week.


feat: add training operator notebook tests

Introduce Notebook to test training operator integration
Summary of tests

create training job of type: TFJob, PyTorchJob, and PaddleJob
monitor its execution
get training logs
delete job

@NohaIhab Do you have any logs from the runs you did with this new notebook?
Would be nice to have them here to show that notebook can actually be executed (we will add CI later on, but for now some evidence of manual tests will do, even screenshots, if logs are hard to retrieve).

@NohaIhab Do you have any logs from the runs you did with this new notebook? Would be nice to have them here to show that notebook can actually be executed (we will add CI later on, but for now some evidence of manual tests will do, even screenshots, if logs are hard to retrieve).

The notebook output is there, I did not clear output after running so you can see the logs with the jobs succeeded @i-chvets

The notebook output is there, I did not clear output after running so you can see the logs with the jobs succeeded @i-chvets
@NohaIhab I see. I've created a collapsable section with all logs in that notebook in PR description to capture the testing. However, this actually brings another question. I don't think we should check in notebook with all those logs. Can be reset it and clean all the logs and then check it in again?


Sentence is hard to understand

The following sentence is quite hard to understand. Not sure what it even means.

Operations in which the result is not dynamic include conversions from dynamic to another type, and constructor calls that include arguments of type dynamic.

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

ID: f9885f16-24fc-c4ab-458c-fd38279b9898
Version Independent ID: dc4040cc-3cec-75cd-73a9-2cb7d890c672
Content: Using Type dynamic (C# Programming Guide)
Content Source: docs/csharp/programming-guide/types/using-type-dynamic.md
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

@ike86, thanks for your feedback. The previous sentence indicates that if an argument to a method or constructor is dynamic, the result is dynamic. This sentence lists the two exceptions to that rule.  We will revise the topic to clarify this.

Now I can understand it without explanation. Thanks!

Great to hear!


fix: use getTypeName to replace default type

I was just on an evening stroll, I noticed you dropped your variable! I put it back in its rightful place, I hope that's good with you!
Thanks for sharing this package 🤗

Thanks for the response!


Developer Portal Release Notes for 20 November 2019

Release may be delayed

Don't forget Latest Mendix Releases.


I18n/docs/concepts/unhandled routes es.md

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/scullyio/scully/blob/main/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Other... Please describe: Translation to spanish

What is the current behavior?

Translation docs to spanish (one file each time). We will keep the constancy and make it in all files!
Issue Number: #922
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information
I translate it be my self but some phases I use google translation (don't worry, it's not a robotic translation)

A few options:

¿"rutas manejadas" and "rutas no manejadas"?
¿"ruta estática" and "ruta dinámica"?

Are there a problem if we use "handled routes" and "unhandled routes" as concepts in english?