Certificate details not show, certificate cannot be removed: HC_CBOR_DECODING_FAILED

Avoid duplicates

[x] Bug is not mentioned in the FAQ

[x] Bug is specific for iOS only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[x] Bug is not already reported in another issue

Technical details

Device name: iPhone 12 Pro Max
iOS version: 15.3.1
App version: 2.17.1

Describe the bug
A certificate has been added to my CWA quite a while back.
Recently it started to show:
Optional(HealthCertificateToolkit.CertificateDecodingError. HC_CBOR_DECODING_FAILED(nil))

While I don't care too much about this error (the certificate is older and unused anyway), I'm unable to remove it from the device. Nothing happens when clicking on the QR code, no screen with details pushed, so I cannot delete the certificate.
Steps to reproduce the issue
I honestly have no idea.
Expected behaviour
Deleting an invalid certificate should be possible.
Possible Fix
Show no details about the certificate in the details view (since decoding failed), but let me delete it from the app.
JIRA

I removed the QR code. We will check why the qr code has a decoding error.
We hope to resolve the error as soon as possible

@max-horvath
Actually, your report has not been changed at all but @thomasaugsten only removed the QR code. All other things (your description, etc.) are still the same.

The issue is the wrong format of the iat it should be integer instead of string

PR: https://github.com/corona-warn-app/cwa-app-ios/pull/4230

@thomasaugsten
In the description of https://github.com/corona-warn-app/cwa-app-ios/pull/4230 it says that you want users to contact the team if they encounter such an error, but you are not showing e.g. a pop up to the user "Decoding of the certificate failed. Please contact the technical hotline."
Wouldn't this make sense?

@max-horvath
Can you check whether this is fixed in version 2.18? You'll have to tap 7 times on the certificate if you want to delete it.

@thomasaugsten
In the description of https://github.com/corona-warn-app/cwa-app-ios/pull/4230 it says that you want users to contact the team if they encounter such an error, but you are not showing e.g. a pop up to the user "Decoding of the certificate failed. Please contact the technical hotline."
Wouldn't this make sense for you and help the user?

I have to agree that the current implementation is not intuitive at all. I would be surprised if many end users would detect this hint to reach out.
I was only able to verify the implementation because you described it. I would have never found this work-around on my own.

@max-horvath
Can you check whether this is fixed in version 2.18? You'll have to tap 7 times on the certificate if you want to delete it.

The functionality works according to the implementation, but I would hope you would reconsider improving it.


Is it possibile to delete an entity if it's present in a timetable (Teacher, room)?

The answer is no.


Safari Problem

Hello,
First of all, thanks for the incredible plugin.
I have a problem in Safari, when cycleText starts, the text doesn't show up, instead of the text you see a white box and move the rest of the text.
what can i do to fix it?
Thanks

I'm sorry I have no Mac & Safari, you can debug the plugin yourself, and may also be the compatibility problem of Animate.css.


restacked stickybar

Return to summary and the project toggle buttons are now on top of the year, month, and week buttons at all times.  Return to summary is now blue for emphasis.

@mwernimont can you put a screencap in as a comment

Can we make some tweaks @mwernimont ? A couple of thoughts:

Seems confusing to have "return to summary" highlighted in the same way as the current time period. Perhaps it can be a different button type but not look exactly the same?
Can the "return" "previous" "next" be above the title and text (separated from the other toggle?

@jread-usgs So you don't want the return to summary and previous to be a part of the sticky and have to scroll up to the top each time you want to change the project or go back? I thought that would be annoying but can do that if you prefer it.

But I do get them being right next to each other is cluttering up what a user is supposed to be using...I will rethink this.

Thanks Marty. Let me know if you have ideas

i'm a little late to this party, so maybe this has already been suggested...but what about putting the Return to Summary, Previous Application, and Next Application buttons at the top of the nav bar on the left rather than toward the middle of the screen?

Seems like a clean solution to me!

@jread-usgs I know you said you wanted them all on one line, but you would either have to change the text of the buttons or make the text tiny to accomplish this. I think this looks pretty good though.

looks good to me :+1:


"Oops! Something went wrong" Loading Map Error (Help)

Soon as I sign in my google account and the map starts to load this pops up.

Check my post here: #320 That helped for me.

@zombou I followed the steps but my API was already enabled to there's something else wrong I hope this can help.

Duplicate of #274


Rename createTabNavigator

It's actually a function that returns another createXTabNavigator function, so we should name it appropriately and then update react-navigation-material-bottom-tabs accordingly.

TabNavigatorFactoryFactory 😉

Probably not worth it anymore to introduce breaking change.


Leave isBuilding collections alone in the Supervision

Scope & Purpose
The Supervision must not try to enforce the replication factor for a collection during creation, i.e. while the isBuilding flag is set. Otherwise, if that happens and e.g. an addFollower job runs during creation, the collection creation will always fail.

[X] Bug-Fix for devel
[ ] Bug-Fix for 3.7
[ ] Bug-Fix for 3.6 ?
[ ] Bug-Fix for 3.5 ?
[X] The behavior in this PR can be (and was) manually tested
[X] The behavior change can be verified via automatic tests

This was found while inspecting the failures in the resilience_repair test suite noted in BTS-59 and BTS-71.
Related Information
Relates to internal issues https://arangodb.atlassian.net/browse/BTS-59 and https://arangodb.atlassian.net/browse/BTS-71.
Testing & Verification
This change is already covered by existing tests, such as the resilience tests.

http://jenkins.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/10508/


API key invalid

I
I have generated various API keys and installed all the packages in Python, but the message of the screenshot always appear.

Hey there,
Could you please download v0.1.1 from
https://github.com/KindOPSTAR/QualiGPT/releases, and re-try it? Feel free
to let me know if it doesn't work, thanks!
Best,
Albert
On Tue, Mar 5, 2024 at 11:41 AM orlandovazq @.***>
wrote:

Screenshot.2024-03-05.173943.png (view on web)
https://github.com/KindOPSTAR/QualiGPT/assets/91195553/7fdbcd08-a436-4491-880e-3f302bc8048e
I
Screenshot.2024-03-05.173943.png (view on web)
https://github.com/KindOPSTAR/QualiGPT/assets/91195553/da78ffa6-6380-494c-8e3a-ae67ff8e4e65
I have generated various API keys and installed all the packages in
Python, but the message of the screenshot always appear.
—
Reply to this email directly, view it on GitHub
https://github.com/KindOPSTAR/QualiGPT/issues/4, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH7E2CSFHGG5ZGGPR7ZX3PDYWXYVPAVCNFSM6AAAAABEHPQOX6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3DSNRYGM3TEMQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks Albert for your work so far, but I have the same problem and the API key is invalid. Are there any solutions so far?

Thanks Albert for your work so far, but I have the same problem and the API key is invalid. Are there any solutions so far?

Hey @kennethetan,
Thanks for reporting this. It seems unusual but there is one more thing you may want to try: install the library of OpenAI's API for your python by using "pip install openai", and then try once again. I am not really sure what's going on here, but if it doesn't work for you, please wait for a while, I will upload the latest jupyter notebook with original codes a few days later, and then you can build through it :)
Best wishes,
Albert

I'm unfortunately having this same issue

the code is built on openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.
otherwise, please try pip install openai==0.28

API rate limit exceeded.
Can't be the free personal API, you may have to upgrade your API to test it.


[BC-breaking] Update KeypointRCNN weights

Fixes https://github.com/pytorch/vision/issues/1606
We support old weights by passing pretrained='legacy', but the default behavior is to pick the new set of weights.
As such, this is a BC-breaking change.
So if users relied on the pretrained features from KeypointRCNN for training classifiers (and only saved the classifiers, picking the weight from torchvision pretrained model), they will need to change to pretrained='legacy'.

Codecov Report

Merging #1609 into master will decrease coverage by 0.02%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1609      +/-   ##
==========================================
- Coverage   65.65%   65.63%   -0.03%
==========================================
  Files          90       90
  Lines        7085     7088       +3
  Branches     1075     1076       +1
==========================================
  Hits         4652     4652
- Misses       2126     2129       +3
  Partials      307      307

Impacted Files
Coverage Δ

torchvision/models/detection/keypoint_rcnn.py
78.26% <0%> (-3.56%)
:arrow_down:

Continue to review full report at Codecov.

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


Encoding problems with pkg_file on 2.7

In dist.py, the function write_pkg_info specifies an encoding when opening the PKG-INFO file for writes. However, the function write_pkg_file uses string interpolation when writing metadata, e.g.
file.write('Metadata-Version: %s\n' % version)

On 2.7, 'Metadata-Version: %s\n' is a str, not unicode. If the Python package is 2/3 compatible, then the name, version, and especially data often read from files such as the license will be unicode strings. As such, they can raise a UnicodeEncodeError when encoded to the default 2.7 ascii encoding.
There is a test repository showing this behaviour here: https://github.com/cmutel/setuptools_encoding_pkg_file_bug
I can't think of a way to fix this without breaking existing code except for a wrapper function that would try to figure out the right thing to do with different types of strings (and different python versions). Note that this issue can occur any time there is string interpolation of data read from setup.py.

I suspect dist.py should use a from __future__ import unicode_literals, especially given that those functions were taken from Python 3. How much would that break existing code?

Since now Python 2 reached its EoL, I suspect it is safe for us to close this issue... (but please let me know if I am wrong here).


  Post zstd extraction the file size was less than expected.
To Reproduce
Sorry, not quite minimal but
    bucket.get_object_to_writer(
        &new.internal.object_path,
        &mut Writer::new(
            &mut BufWriter::new(&mut File::create(&other_path)?),
            Decoder::new()?,
        ),
    )?;

(Writer/Decoder are zstd here for decoding a zstd payload).
When doing an sha256sum on the output file I got the wrong sha256sum, and it was the wrong size.
Expected behavior
The file size should be the expected size and produce the expected sha256 sum.
Environment

lib version: git

Additional context
I tested by downloading the file manually and then doing unzstd followed by sha256sum which worked.  Additionally, the new aws s3 sdk worked fine (wrapped in an ZstdDecoder Read wrapper before copying to the file).
The download has worked for me with a different file once, previously.  The same file produces the same output every time I try to download, so it doesn't seem to be random.

@andrewbaxter very interesting, could you test if the same thing occurs without zstd decoder, ie just stream the bytes as they are, the only thing I can think of is the io::copy doing something weird but that seems pretty unlikely...

@andrewbaxter can you try testing the fix-sync-stream branch, it uses native attohttpc write_to method, instead of io::copy


Create getAbsoluteURL helper function

There are a few places in the code where we create absolute urls from relative paths.  The code generally looks something like the below.  We should probably create a private helper function and replace all usage of resolve with it.  I know it's at least used in CzmlDataSource and KmlDataSource and once #2659 comes in, Model as well.  May be a few other places as well.
var docUri = new Uri(document.location.href);
var tmp = new Uri(url);
var absoluteUrl = tmp.resolve(docUri).toString();

The files that need to be updated are:

buildModuleUrl.js
CzmlDataSource.js
KmlDataSource.js
Model.js
CesiumTerrainProviderSpec.js
isCrossOriginUrlSpec.js
TaskProcessor.js

For 3d-tiles, the code is slightly different but can also use the helper function:
var url = (new Uri(contentUrl).isAbsolute()) ? contentUrl : baseUrl + contentUrl;

In the files:

Cesium3DTile.js
Instanced3DModel3DTileContentProvider.js

Can u please somewhat give a hint of about what type of private helper function function we need to build here.Can u please give any one example of how to do it??

It would be a helper function like getFilenameFromUri.
However @TomPed is working on this issue right now though, so you may want to look into another one.

For the 3D tiles if I'm going to use the getAbsoluteUri I would not be using isAbsolute, is this correct?

Correct, getAbsoluteUri should handle that case.

Why is it better to use getAbsoluteUri over isAbsolute?

Tile urls can either be local or absolute, which is why we did the check with isAbsolute. But really the code is here is the same as in the other areas, it's creating a absolute url from a base and relative. The isAbsolute check is basically implicit in the Uri.resolve function, so using getAbsoluteUri is the right thing to do here.

Fixed in #3418.


🚀 Feature: Call the Congratulations page

When the user is done with all of the exercises, they should see the congratulations page. This component is created already, it just needs to be called within ExerciseSide.tsx.
Proposed Solution

Follow the format that the other components are called, and call the Congratulations.tsx component as a final "exercise" in ExerciseSide.tsx
Edit the call to LessonSide within App.tsx such that the LessonSide component only shows up for a certain number of exercises, and not when Congratulations is called. You can make it so that if exerciseCount is a certain number, LessonSide doesn't show.
As of now we only have exercise count up to 3, so you can test by making the threshold 3 or less to see out how this component looks.

[x] :wave: I may be able to implement this feature request

This is a :rocket: Feature Request

@johannemoresco Make the page reactive to different page sizes :)


"tomorrow’s" rather than "tomorrow's"

Using HTML entity ‘ rather than hard coding. Should be able to hard code with ’ if you'd rather, as page character set defined as utf 8.

Thanks for reporting this.
I will handle this via the unicode ’ in the upcoming doc update.
For now I will keep this PR open as a reminder :)


Suggest avoiding force pushing to pull requests in CONTRIBUTING.md.

is it fair to say that each PR should only contain related changes. If there are two or more unrelated changes then create a separate PR. This way two unrelated change will not get squashed into 1.

Codecov Report

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

@@           Coverage Diff            @@
##             master   #1208   +/-   ##
========================================
  Coverage      81.9%   81.9%
  Complexity     1229    1229
========================================
  Files           192     192
  Lines          5984    5984
  Branches        557     557
========================================
  Hits           4901    4901
  Misses          935     935
  Partials        148     148

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 07ad48d...d85bdee. Read the comment docs.

I think we should allow pull requests to contain commits for multiple independent code changes that are part of the same feature or bug fix.  For example, someone could refactor something in one commit to prepare for a behavior change in the next commit, where the refactoring doesn't make sense without the following change.  I think it is important to keep those commits separate, for a more informative history on master.  When deciding whether to squash a pull request, I think we should err on the side of not squashing, to avoid accidentally combining independent changes, especially if the author has put a lot of effort into separating out distinct code changes and describing each one in the commit message.  I think we should just add a note to CONTRIBUTING.md that we may squash the pull request if it doesn't have a clean history.

If you suggest people to not force push then if I have a comment to fix a typo I will create and push that commit. That adds 0 value to the history, more than that it makes history very hard to follow.
Also I disagree with you because if that is the case (the one you described) then the user should create different PRs one for cleanup and one for the feature. I think this is the correct thing to do.

I think the first part of this change is fine if folks want to nag people
to make sure they don't force push etc.
otoh, change should be well organized once it is merged. I often ask users
to create a coherent commit (or in rare cases commits) before a change is
completed.
very long change (where review takes weeks and lots of things) are what
this is optimizing for, and there's a lot of change which I think it
doesn't really help too much, but not hurt either.
A spam of commits to fix typo vs a force push hurts most when there's a lot
of code in the PR iotw. Smaller changes meh.. almost rather folks force
push.

tl;dr; I hope this isn't disabling force push, rather a suggestion

in case not obvious.. the force push allows you to teach folks how to
write a good commit message.. and have them do it.. vs you doing it
for them. It also allows committers to fixup things before things are
ready to merge.
multiple commits often should be squashed into one, and so that's why
sometimes squash is good on our side, but sometimes rebase is better
if there are two changes.
volunteers are not always willing to pull other changes out to a
different pull request (it is busy work), so that's one reason why
I'll often force push a user's branch to help them with that..
basically use 2 commits in this case. Other times, the code is in
nowhere near a state that a diff helps with (think formatting), so
force push is significantly better than a commit that changes every
line, or where people accidentally changed the wrong files.

@adriancole I only meant it as a suggestion, and I would be happy to reword it.  I also wasn't thinking of the other cases where force pushing makes sense, such as fixing typos, fixing commit messages, or refactoring the whole change.  The main reason I made the PR was to suggest making a new commit when the best way to review the new changes is by looking at the diff from the old changes, for example, when the author changes 10% of a medium to large PR.
I also don't want to discourage anyone from cleaning up the branch history after the review, though I'm not sure of the best way to avoid having a maintainer merge the PR before it is ready.

volunteers are not always willing to pull other changes out to a
different pull request (it is busy work), so that's one reason why
I'll often force push a user's branch to help them with that..

Do you mean that you rebase the author's branch to clean up history before merging it yourself?  Does that work well?  That sounds like a good solution if the author doesn't clean up the history and there are some commits that shouldn't be combined with the Github squash option.

@adriancole https://github.com/adriancole I only meant it as a
suggestion, and I would be happy to reword it. I also wasn't thinking of
the other cases where force pushing makes sense, such as fixing typos,
fixing commit messages, or refactoring the whole change. The main reason I
made the PR was to suggest making a new commit when the best way to review
the new changes is by looking at the diff from the old changes, for
example, when the author changes 10% of a medium to large PR.
I also don't want to discourage anyone from cleaning up the branch history
after the review, though I'm not sure of the best way to avoid having a
maintainer merge the PR before it is ready.

Cool. I think we are probably on the same page.. and agree yeah medium to
large PR it is actually somewhat antisocial to always force push (something
I am guilty of and should do this better)

volunteers are not always willing to pull other changes out to a
different pull request (it is busy work), so that's one reason why
I'll often force push a user's branch to help them with that..
Do you mean that you rebase the author's branch to clean up history before
merging it yourself? Does that work well? That sounds like a good solution
if the author doesn't clean up the history and there are some commits that
shouldn't be combined with the Github squash option.

What I've noticed is many still aren't great at git. It is subtle, but
sometimes you can tell someone is at the end of their rope, or that they
only have 30 minutes more on a change and fighting git isn't a great place
to spend that time. So, sometimes I will help cleanup code (by adding to
their change!) so that they can finish the last mile with less effort. Not
sure this makes sense or not as a general practice.

I realized that it would be difficult to come up with general, uncontroversial guidelines on when an author should make a new commit or modify existing commits, so I think it would be better to not specify anything.  I'll close this PR for now, though I'm still open to adding guidelines if anyone disagrees and/or has ideas on the wording.

thanks!


About not being able to play with distant friends after updating

After the update of version 1.45, my original online tool could not run normally (after Intranet penetration configuration, the game could not enter, and it was always in a state of infinite circle. Of course, I have tried all the solutions to your relevant problems, including but not limited to checking data, completing language data, etc.). If I only run ygoMaster, I can start and enter the game normally, but I want to play with friends, so I would like to ask how to configure online, or whether there is a corresponding plug-in to meet the online needs, thank you very much! This is really important to me, thank you for your answers and efforts!

Duplicate of #387


An enum named "type" is breaking CustomTypes inside an InputObject fragment

I have CustomTypes for Date and DateTime, which I implement in the recommended way.
My schema from the server contains this inputObject, simplified:
"kind": "INPUT_OBJECT",
          "name": "TransactionRecordCreateUpdate",
          "description": null,
          "fields": null,
          "inputFields": [
            {
              "name": "type",
              "description": "The type of the transactionRecord.",
              "type": {
                "kind": "ENUM",
                "name": "TransactionRecordType",
                "ofType": null
              },
              "defaultValue": "null"
            },
            {
              "name": "date",
              "description": "The date when the transactionRecord took places or is planned for.",
              "type": {
                "kind": "SCALAR",
                "name": "DateTime",
                "ofType": null
              },
              "defaultValue": "null"
            }
          "interfaces": null,
          "enumValues": null,
          "possibleTypes": null
        }

I also use a CustomTypeAdapter to convert Date and DateTime. This works for Date, but when I try to compile with the TransactionRecordCreateUpdate object, it generates this issues:
TransactionRecordCreateUpdate.java:102: error: cannot find symbol
          writer.writeCustom("date", type.CustomType.DATETIME, date.value != null ? date.value : null);
                                         ^
  symbol:   variable CustomType
  location: variable type of type Input<TransactionRecordType>

And when I go to that object, it contains the fields for type and date, except date is generated like this:
 @Override
  public InputFieldMarshaller marshaller() {
    return new InputFieldMarshaller() {
      @Override
      public void marshal(InputFieldWriter writer) throws IOException {
        if (type.defined) {
          writer.writeString("type", type.value != null ? type.value.rawValue() : null);
        }
        if (date.defined) {
          writer.writeCustom("date", type.CustomType.DATETIME, date.value != null ? date.value : null);
        }
      }
    };
  }

If I remove the "type" in front of CustomType.DATETIME, the error goes away. Why does the "type" get generated in front of CustomType.DATETIME?

I did some further investigation and found more info. The problem seems to be the enum, rather than the CustomObject. I changed the DateTime object in the schema to Date, as well as to Int.
Any Custom Scalar fails with that same "type.CustomType" error for the INPUT_OBJECT (but still work for queries/fragments) Primitives and Strings do not fail.
If I remove or rename the "type" enum, the CustomType Objects work.
So calling an enum "type" breaks CustomType Objects.

Could you try to put all your queries and schema file under some nested path like /graphql/com/example/etc

This seems to be working, but I need further testing to confirm.
Thank you.

Yeah we need to update readme, as the graphql files need to be put under some nested folders not as root files under /graphql folder


[Packaging] Fix #24788: Add -I in entrypoint on MacOS

Description

Fix #24788.
az start with python -m. and -m add the current directory will be added to the start of sys.path.
In #24788, if the working dir has a brotli folder, urllib3 will import it and lead to error.
https://github.com/urllib3/urllib3/blob/0612a53f48f72ab6e9ef58ccf1d6a25b847152fc/src/urllib3/response.py#L17-L23
To remove current dir from path, -I is needed.

-I option can be used to run the script in isolated mode where sys.path contains neither the current directory nor the user’s site-packages directory. All PYTHON* environment variables are ignored, too.     ----Python doc

-I has already been added in entrypoint on Linux and Windows, this PR add it on MacOS.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Packaging

I happen to have a PR to refine the help message for -I 😆 :

https://github.com/python/cpython/pull/100526

Very clear PR description!


root is blank

Gitea version (or commit ref):newest
Git version: newest
Operating system: win10
Database (use [x]):

[X ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[X ] No
[ ] Not relevant

Log gist:

Description
visit every projects are showing 500 error
...
2018/05/03 00:51:01 [I] Log Mode: File(Info)
2018/05/03 00:51:01 [I] XORM Log Mode: File(Info)
2018/05/03 00:51:01 [I] Cache Service Enabled
2018/05/03 00:51:01 [I] Session Service Enabled
2018/05/03 00:51:02 [I] Migration: add lfs lock table
2018/05/03 00:51:04 [I] Migration: add reactions
2018/05/03 00:51:05 [I] Migration: add pull request options
2018/05/03 00:51:05 [I] Migration: add writable deploy keys
2018/05/03 00:51:06 [I] Migration: remove is_owner, num_teams columns from org_user
2018/05/03 00:51:06 [I] Migration: add closed_unix column for issues
2018/05/03 00:51:09 [I] Git Version: 2.17.0
2018/05/03 00:51:10 [I] Git config user.name set to Gitea
2018/05/03 00:51:10 [I] Git config user.email set to<EMAIL_ADDRESS>2018/05/03 00:51:11 [I] SQLite3 Supported
2018/05/03 00:51:11 [I] Run Mode: Production
2018/05/03 00:51:12 [I] Listen: http://<IP_ADDRESS>:3000
2018/05/03 00:51:12 [I] LFS server enabled
2018/05/03 00:57:36 [...ules/context/repo.go:348 func1()] [E] RepoAssignment Invalid repo C:\Windows\system32\config\systemprofile\gitea-repositories\XXXX\XXXXX.git: no such file or directory
Screenshots

is directory C:\Windows\system32\config\systemprofile\gitea-repositories\XXXX\XXXXX.git exist?

no! even they exist. the project pages still show 500

it is the database problem. some bug destroy the database

@hzmnet any detail?

@hzmnet I don't believe this is a database problem.
Reason: path of repository is determined by three factors. The root path from app.ini, the repo owner name and the actual repository name.

it is the database 's problem. the repository in the database was broken or mixed. so when you restore those file from the database are not working.


Hide Legend on No Inferences

Context

Actions

[x] Hide legend when there are no inferences

cc/ @martham93

addressed in #95


Support for other areas

Hi, thanks for your work on this plugin. Would you be willing to add support for Inferno and Hallowed Sepulchre? Both of these have varbits to determine when the player is in them, so it shouldn't be much work.
The Inferno varbit is 11878. It's set to 1 inside the Inferno (and during Tzhaar-Ket-Rak's Jad challenges), and set to 0 everywhere else.
The Hallowed Sepulchre uses the varbit 10392 to store your time remaining on the floor. It's set to 0 outside the Sepulchre, and greater than 0 inside it (even when running out of time, it just stays set to 1 until you leave).

Thanks! It works great for Inferno. I'm noticing one issue with Sepulchre, which is that if the plugin is enabled and Sepulchre is unchecked, a "Loading - Please Wait" message pops up every tick along with some lag while inside of the Sepulchre. Probably because that varbit is the timer for Sepulchre and it updates every tick.


Crystal Tool to generate CTags

Context
Looking for a way to use Vim TagBar I had two options:

Add support on ctags (exuberant or universal)
Generate tags file

The second one was more appropriated primarily because I found issue #577 that was discussing this subject.
@asterite contributed with an initial script to generate tags using crystal compiler, and that was a fantastic starting point for me, because:

I don't need to write regular expressions to match Crystal code
Using the compiler, I'm pretty sure tags generated will be correct

To work with TagBar, I had to add support for writing on STDOUT instead of a file, pass some options and the prototype can be seen on this gist
Proposal
Add a tool, like tags on crystal; the usage would be something like I did on the prototype:

Usage: crystal tags -o [FILE] [DIR]
DIR  - directory will be read to generate ctags,
default: NAME, eg: ./custom/path/example

There's long road to add full support to ctags on this prototype, like:

Support anon namespace
Support class namespaces
Add method prototype on tags

But I do believe that this prototype can be a kickstart for the tool.
You can check a screenshot of my TagBar while viewing the gist script.

If make sense to go this way, I can send a PR adding the tool and more improvements.
Suggestions?

I'm not sure if we should ship this with the compiler or if it wouldn't be better off as its own shard. My main issue is that of maintenance, as I'm not aware of any current core contributor using it in their development setup. The approach taken instead seems to more on tools like crystal tool implementation, which can provide context beyond identifying objects by name and listing all matching.

@jhass thanks for your reply.
I understand your concern about maintenance, the idea of use compiler is exactly lower the maintenance cost, because the structure of the language: methods, classes, won't change frequently.
About the suggestion of a tool called ctags is more because of the desired output.
I use ctags on a daily basis (because my use of vim), I can help on this, particularly because changes will infrequently be.

Yes AFAIK ctags is unable to cover all the cases that the crystal tool implementation does. It could be useful, but none of us is using ctags.
For sure anyone can create an independent crystal app that will use the compiler itself to fetch all the required information.

I've seen too much technical debt causing confusion among users, especially in stuff that needs to rarely change and isn't used by active contributors, yet being shipped with the official main project. That made me rather conservative about "just adding" stuff. If you do commit to maintain it, I see no real difference in doing it in a separate shard compared to the compiler. Keeping it external is just much better suited to declare and communicate where the maintainership burden lies.

you are right about tech debt x maintenance @jhass
as @bcardiff told can require the compiler and use it, I haven't considered this option. I'm gonna create as a separate shard.
Closing this as does not make sense to merge into the language repo
thank you for your attention 🙇

Thank you for your suggestion!

@bcardiff what is the best approach for creating a shard that uses the compiler? add crystal source as a git submodule and require the files? (once it doesn't have a shard.yml file)

We do ship the compiler as part of the standard library, you can just require into it.

@jhass I was trying to require "compiler", found this sample thank you again 😄 👍

@fernandes you might find https://github.com/bcardiff/crystal-tool-demo useful also.
Notice that it was done before some code refactor and depending on how you want to consume the compiler you might be able to require only some aspects.


Add time-to-live (cash expiration)

Fixes #2

Codecov Report

Merging #6 (5113869) into master (d1795b9) will increase coverage by 0.14%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
+ Coverage   97.19%   97.34%   +0.14%
==========================================
  Files           5        5
  Lines         178      188      +10
==========================================
+ Hits          173      183      +10
  Misses          5        5

Impacted Files
Coverage Δ

perscache/cache.py
98.64% <100.00%> (+0.05%)
:arrow_up:

perscache/serializers.py
96.96% <100.00%> (+0.04%)
:arrow_up:

perscache/storage.py
94.73% <100.00%> (+0.98%)
: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 d1795b9...5113869. Read the comment docs.


OpenEnclave PAL: Store enclave heap base/end in inline variables.

PALOpenEnclave object is lazily constructed. I couldn't
figure out a straight-forward way to pass the heap bounds to
the constructor of PALOpenEnclave object.
As an alternative, store the bounds in class-static members of a template
class.

two_alloc_types/main.cc
OE use of snmalloc is renamed to snmalloc_enclave.
Declare oe_base and oe_end inline variables in snmalloc_enclave
namespace and initialize them.

fixed_region/fixed_region.cc
Initialize oe_base and oe_end variables.
Cache the starting value of oe_base in orig_oe_base and
use that for asserting that the allocated memory lies
within the PAL heap. This is because, in pal_open_enclave.h,
reserve will change the value of oe_base.

CC: @achamayou
Signed-off-by: Anand Krishnamoorthi<EMAIL_ADDRESS>

@mjp41 Thanks for the suggestions. Can you review the latest iteration?

Thanks for updating it. Just a minor clangformat issue, then this is good to go.
You can do
ninja clangformat

to run clangformat with the relevant settings.

Done. Looks like the CI is happy too.


4.8.0 - Wrong path determined for MSBuild in VS 2019 environment

While setting up Framework to 4.5.1 the path to MSBuild is calculated as:
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\15.0\Bin"
Expected Behavior
But in case of VS 2019 it should be:
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin"
Current Behavior

It works in case of Visual Studio 2017 since the MSBuild path will be correct, but when Visual Studio 2019 is installed, the actual path to MSBuild binaries switches to ...\Current...

The fix should be relatively simple
Possible Solution

Context

Running a comprehensive build script on .Net solutions, cascading steps to Update/Build/Package/Publish.
Your Environment

Module version used: 4.8.0
Operating System and PowerShell version:
Windows Server 2016 Standard, Version 10.0.14393
PowerShell:
Major  Minor  Build  Revision

5      1      14393  2879

I am also having this problem with just VS 2019 installed on Windows 10 1803. Happens on both pro and enterprise.

Thanks for submitting the issue @dkorzhin. I'll dig into this.

Not sure if this is the same problem but I just instaled v4.8.0 and I now get the following when starting a build:

No .NET Framework installation directory found at C:\Program Files
(x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\15.0\Bin\amd64.
The path seems identical to that mentioned by @dkorzhin

We use the Framework "4.6" setting in psake and have Visual Studio 2019 only installed.
InstanceId          : 7a61b1f9
DisplayName         : Visual Studio Professional 2019
InstallationVersion : 16.1.29102.190
InstallationPath    : C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional
InstallDate         : 15. 7. 2019 16:47:40

psake will fail with error message:
psake.4.8.0\tools\psake\public\Assert.ps1:69 char:9 +         throw ('Assert: {0}' -f $failureMessage) +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [<<==>>] Exception: Assert: No .NET Framework installation directory found at C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\15.0\Bin\amd64.


Sensor Initialization

Due to how Unreal Engine creates objects, the BeginPlay() on each sensor is called twice. This is not a bad thing in itself, but the function triggers an attempt to allocate the memory for them twice. Not a fatal bug, but not a desirable outcome.

Fixed in sensor refactor


Add julia v1.5.0

What are those entries used for?

There are some tools that use them. Pkg itself doesn't.

Maybe those tools can keep this list then? Or just use Elliot's JSON file?

If we're going to do that then I think we should just delete Julia from the registry entirely.


Added ability to specify which projects get processed

Here is a commit specific to defining the ability to specify projects.  I'll add one more PR that builds on top of this one to address the ordering in which the bundles get generated.

This is showing as failed in Travis.  But I cannot access the Travis build.  I did run the build locally first.  But I have no idea what tasks the Travis build runs.  Locally I just ran gradlew test


[Contribution] Improve Repository docs and Addition of issue template

Hello @n-murphy,
I would like to contribute to this project by adding an issue template and improving docs!

Hi @StarTrooper08 , thanks for taking an interest in this project and suggesting the addition of an issues template. Please create a pull request and we can take it from there.

Created pull request https://github.com/n-murphy/swagger-editor-docker-extension/pull/8


PHP Error

Hiya,
I'm trying to use Embedded Assets on an existing site - it's hosted on Windows (don't blame me). I've created a new Assets folder and I can upload images into it, but when I try to embed a video, I get a Unknown Error Occured red box appear at the top of the screen. The server PHP version is 5.5.11.
phperrors.log has this to say about it:
[01-Jun-2016 09:35:08 UTC] PHP Fatal error:  Call to undefined function Craft\finfo_open() in C:\Client_Sites\mysite.co.uk\craft\plugins\embeddedassets\services\EmbeddedAssetsService.php on line 250

I've got a yellow warning triangle next to fileinfo extension on Utils. Could that be it?
Thanks,
Daryl

Hey Daryl, thanks for the report!
The fileinfo extension needs to be enabled. If there's a warning sign next to it, it might be an old or broken version of the extension.
Funnily enough, I only introduced the need for the fileinfo extension to fix a bug (#7) about mime_content_type() not working in some later versions of PHP (5.3+). It wouldn't be hard to add back in mime_content_type() as a fallback.

Thanks Ben - it's not a site I host so I've put in a request to their company to enable it. Any idea off the top of your head if there's a specific version of it that needs to be enabled?

Unfortunately, I can't say what it could be. I figured with it fresh in my mind, and being an easy fix, I've gone ahead and written a fallback if the fileinfo extension isn't usable. It should be available on the master branch. Let me know if it does or doesn't work :+1:

Thanks Ben. That seems to let me upload assets again, but I can't get them to display in my template. Your example code has worked fine on other sites, so I'm wondering if there's an issue with the uploaded files or detection.
{% for video in block.asset %}

{{ video.title }}

    {% set embed = craft.embeddedAssets.fromAsset(video) %}

Length: {{ embed|length }}

    {% if embed %}
        {{ embed.safeHtml|raw }}
    {% endif %}
{% endfor %}

The code above outputs the video's title, so Craft knows the asset is there and exists, but it also outputs Length: 0, so it looks like EA isn't recognising it as an asset. Am I correct in thinking that's what's going on? Where am I going wrong?

Hm, that's interesting. It seems like the file isn't being read. I'm using two methods of reading the contents of the JSON file, through cURL, and file_get_contents as a fallback. Pretty low chance of both of those not being available, but it might be the case. Do you know if the curl extension is enabled?

cURL support has a green tick next to it in /utils

Also, just to be safe, can you check the contents of the JSON file that gets generated? Want to make sure it's being uploaded okay.

Contents of test json file:
{"type":"video","url":"http:\/\/www.youtube.com\/watch?v=LBc7X8gMPwg","requestUrl":"https:\/\/www.youtube.com\/watch?v=LBc7X8gMPwg","title":"Dreamstate Logic - Galaxy's Child","description":"In order to more fully understand this reality, we must take into account other dimensions of a broader reality, the introduction of higher dimensions of con...","authorName":"SpaceAmbient","authorUrl":"https:\/\/www.youtube.com\/user\/SpaceAmbient","providerName":"YouTube","providerUrl":"https:\/\/www.youtube.com\/","cacheAge":"","thumbnailUrl":"https:\/\/i.ytimg.com\/vi\/LBc7X8gMPwg\/hqdefault.jpg","thumbnailWidth":"480","thumbnailHeight":"360","html":"<\/iframe>","safeHtml":"<\/iframe>","width":"1280","height":"720","__embeddedasset__":true}

Everything seems like it should be fine. Clearly the problem is in reading the file, but I'm not sure why that would be failing. If you locate the _readExternalFile method in EmbeddedAssetsService, this is where the file is being read. Try adding in some var_dump(); exit;'s on some of the variables, to see where it's breaking. curl_error() might be throwing an error that I'm just ignoring.
Sorry I can't be much more of a help!

Ok no worries Ben - I'll do some digging and let you know if I find anything. Otherwise I'll assume it's down to their Windows hosting. Thank you for your time :)


Low level debug helper method

Provide a better and more readable dump/trace method in Core/low level. This request is related with my proposal on : http://codeigniter.uservoice.com/forums/40508-codeigniter-reactor/suggestions/2219686-low-level-debug-helper-method-for-easier-debug

This would be a really nice addition to CI. Well if it's not added I'll probably add it myself to my base project of CI...
Cheers
@toopay

@mpmont well i think thats what @toopay is getting at, that it should be something added on not include in the core.
i think that

<?= print_r( $some_var ); ?>

is more what he is thinking

PHP also have xdebug making this more than great (just install it on your dev server):
http://devzone.zend.com/images/articles/2803/var_dump_full.jpg

"you missed the point" when i said not in the core something added on, i was referring to my spark.
You know im just trying to offer my services here because i have made some very extensive debugger tools for CI.
but if you are not interested, then fine ill go away...

@dperrymorrow when i said not in the core something added on, i was referring to my spark.  Then i mislead your previous statement. Language barrier.
I appreciate you came into this issue, and bring your code within. And thats actually the issue(s) here. As when we work with CI, theres no native, requires no initialization in an ad hoc fashion, debuging method available globally.
Maybe i'm just the one, or anyone already have XDebug or other fancy debugger installed on their machine. Because in other framework, this issue is absent, at least for me.

@topay what do you think about kohana's debugger? overkill? http://pifantastic.com/kohana_debug_toolbar/images/kohana_debug_toolbar_screen_0.3_secret.png
or you are thinking more like a class http://api.cakephp.org/class/debugger like this?

@dperrymorrow What i thinking is pretty simple. When i feel something was goes wrong or i just want to do something, and i go into some block of code, which ussually ended up with var_dump variable or instance, i dont want my eyes hurt. If the case is to dump foo string, then var_dump() will be enough. But if the case, we want to restructure or inspecting a large multidimensional data, it will have an overhaul for searching the right cursor/value, and var_dump() which resulting something like : http://goo.gl/1S3xT,  unlikely become a choice. With this result, http://goo.gl/rjhjV, it will more easy for us to do our job.
Those piece of code, i attach, is actually a simple one just to help us to debug more quickly (and healthy). And it passed the main requirement i propose : requires no initialization. About extending it into more fancy debugger, in our application domain, will remain as an optional and personal decision depend on our need.

How about something like this added to the CI superclass?
  /**
 * Prints out the contents of the object when used as a string
 *
 * @return string
 */
function __toString()
{
	$args = func_get_args();
	$method = ( ! empty($args)) ? $args[0] : "print_r";

	$output = '
';

	if($method == "var_dump")
	{
		ob_start();
		var_dump($this);
		$output .= ob_get_contents();
		ob_end_clean();
	}
	else if($method == "var_export")
	{
		ob_start();
		var_export($this);
		$output .= ob_get_contents();
		ob_end_clean();
	}
	else
	{
		$output .= print_r($this, TRUE);
	}

	return $output . '
';
}

At the end, i thought this was optional, and demand additional class (Debugger or Logger) instead hangin on Controller base class.

looks nice, im open to any pull request that is well tested


chore: fix errors found by the IDE

What's changed and what's your intention?
PLEASE DO NOT LEAVE THIS EMPTY !!!
Please explain IN DETAIL what the changes are in this PR and why they are needed:

Fix IDE warnings. No semantic changes.

Checklist

[ ] I have written the necessary docs and comments
[ ] I have added necessary unit tests and integration tests

Refer to a related PR or issue link (optional)

fix errors found by the IDE

What exactly did you use to find these issues?

fix errors found by the IDE

What exactly did you use to find these issues?

Goland's problem finder🫣


VST Plugin crash when sending note to MIDI channel without instrument

When sending notes to the VST plugin, if there is no instrument configured in Sointu with the channel of the note, the VST plugin will crash (along with FL Studio).
This happens on the current master 94926c55964cd302905a3754f5a6d920d24bb423 with FL Studio v20.9.2 build 2963.
Usually this happens when loading a project and forgetting to load the song in sointu as well :)

Reproducible even in Renoise: just changing the channel to 3, which is not the default instrument or global it crashes. Investigating.

The issue might be fixed; can you check if the issue persists with the binaries here: https://github.com/vsariola/sointu/suites/15527937184/artifacts/886368462

tested; fixed :)

Thanks :)(: closing


Pass prediction fails for deep space objects

Orbit prediction on deep space objects (orbital period > 225 minutes) almost always fails due to the assert statement in _find_aos in the base predictor. The assert statement requires the starting elevation to be less than zero, however, for the deep space objects I'm testing, the start elevation that is calculated in _find_aos seems to almost always be between 0 and 1 radians. Thus, get_next_pass and passes_over almost always fail for deep space objects. How can I resolve this? Is this an issue with the orbit step size?

Hi @ajwolfram , thanks for your interest in orbit-predictor! We have never tried to use it for deep space objects, so it's very likely that there are bugs. Can you paste an excerpt of your code so we can reproduce?

Hi @astrojuanlu! Here's the offending code:
import datetime

from orbit_predictor.sources import get_predictor_from_tle_lines
from orbit_predictor.locations import Location

# MAQSAT/ARIANE 5
predictor = get_predictor_from_tle_lines(
    ('1 25503U 98059A   20252.20879031 -.00000054  00000-0 -24376-2 0  9992',
     '2 25503   7.0466 262.2333 7006939 166.3646 232.7881  2.24574052179590'))

loc = Location('seattle', 47.6062, 122.3321, 53.34)
next_passes = iter(predictor.passes_over(loc, datetime.datetime.utcnow()))
for i in range(50):
    next(next_passes)


Xcode 16 Support

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v20.17.0
Amplify CLI Version
12.12.6
What operating system are you using?
macOS 14.6.1 (23G93)
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Describe the bug
When attempting to run codegen models with a project created with Xcode 16, the generation succeeds, but updating the Xcode project is failing with the following error:
Updating Xcode project:
🚫 xcodeProject:
-- Caused by: The element PBXFileSystemSynchronizedRootGroup is not supported.
🛑 Command failed with exit code 1: /Users/{redacted}/.amplify/lib/aws-amplify-amplify-frontend-ios/resources/amplify-xcode import-models --path=/Users/{redacted}

Expected behavior
Codegen successfully generates the models and modifies the Xcode project appropriately.
Reproduction steps

Open up an iOS application that uses the AWSDataStorePlugin and GraphQL that was created using Xcode 16
Run amplify pull if needed
Run amplify codegen models

Note the codegen fails with the included error.
Project Identifier
704bf3f4b979261c925b5cb99d13f5b2
Log output

2024-09-17T15:26:35.586Z|info : amplify version core
2024-09-17T15:26:37.079Z|info : amplify pull core
2024-09-17T15:26:37.136Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2024-09-17T15:26:40.039Z|info : amplify-provider-awscloudformation.zip-util.downloadZip.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip"},null])
2024-09-17T15:26:40.041Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip","Bucket":"[***]ify-[***]sthenics-[***]ev-[***]26-[***]ment"}])
2024-09-17T15:26:46.821Z|info : amplify-provider-awscloudformation.initialize-env.run.cfn.updateamplifyMetaFileWithStackOutputs([{"StackName":"[***]ify-[***]sthenics-[***]ev-[***]26"}])
2024-09-17T15:26:47.507Z|info : amplify-provider-awscloudformation.aws-cfn.updateamplifyMetaFileWithStackOutputs.cfn.listStackResources([{"StackName":"[***]ify-[***]sthenics-[***]ev-[***]26"}])
2024-09-17T15:26:47.859Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]ify-[***]sthenics-[***]ev-[***]26"}])
2024-09-17T15:26:47.998Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]21:stack/[***]ify-[***]sthenics-[***]ev-[***]26-[***]uthStack-[***]Q4NS5Q/[***]5a40-[***]01-[***]ee-[***]1f-[***]ac293"}])
2024-09-17T15:26:48.002Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]21:stack/[***]ify-[***]sthenics-[***]ev-[***]26-[***]isthenics-[***]C57CFT/[***]6830-[***]bb-[***]ee-[***]c6-[***]c70c5"}])
2024-09-17T15:26:48.007Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]21:stack/[***]ify-[***]sthenics-[***]ev-[***]26-[***]iptions-[***]4RCCH5/[***]05a0-[***]01-[***]ee-[***]92-[***]6362f"}])
2024-09-17T15:26:48.012Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]21:stack/[***]ify-[***]sthenics-[***]ev-[***]26-[***]nics60664a22-[***]785TY/[***]40a0-[***]b8-[***]ee-[***]58-[***]411d7"}])
2024-09-17T15:26:48.017Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]21:stack/[***]ify-[***]sthenics-[***]ev-[***]26-[***]eSubscription-[***]4KFLE/[***]1870-[***]be-[***]ee-[***]35-[***]2e0d7"}])
2024-09-17T15:26:48.023Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]21:stack/[***]ify-[***]sthenics-[***]ev-[***]26-[***]bscriptionData-[***]UE5ZKE/[***]20d0-[***]be-[***]ee-[***]01-[***]b4bf1"}])
2024-09-17T15:26:48.029Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]21:stack/[***]ify-[***]sthenics-[***]ev-[***]26-[***]idPublisherApi-[***]UQR481/[***]fc20-[***]01-[***]ee-[***]73-[***]174bd"}])
2024-09-17T15:26:48.036Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]21:stack/[***]ify-[***]sthenics-[***]ev-[***]26-[***]eUserData-[***]1EIKY/[***]5200-[***]a8-[***]ee-[***]5d-[***]88df3"}])
2024-09-17T15:26:48.041Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]21:stack/[***]ify-[***]sthenics-[***]ev-[***]26-[***]BackTime-[***]ZTGLZZ/[***]d950-[***]a1-[***]ee-[***]29-[***]511ed"}])
2024-09-17T15:26:48.045Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]21:stack/[***]ify-[***]sthenics-[***]ev-[***]26-[***]storage-[***]D7UXK/[***]dd60-[***]7c-[***]ee-[***]66-[***]f188f"}])
2024-09-17T15:26:48.204Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]ify-[***]json","Bucket":"[***]ify-[***]sthenics-[***]ev-[***]26-[***]ment"}])
2024-09-17T15:27:00.639Z|error : Command failed with exit code 1: /Users/{redacted}/.amplify/lib/aws-amplify-amplify-frontend-ios/resources/amplify-xcode import-config --path=/Users/{redacted}
UnknownFault: Command failed with exit code 1: /Users/{redacted}/.amplify/lib/aws-amplify-amplify-frontend-ios/resources/amplify-xcode import-config --path=/Users/{redacted}
2024-09-17T15:28:15.577Z|info : amplify models codegen
2024-09-17T15:28:15.649Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2024-09-17T15:28:19.340Z|error : Command failed with exit code 1: /Users/{redacted}/.amplify/lib/aws-amplify-amplify-frontend-ios/resources/amplify-xcode import-models --path=/Users/{redacted}
UnknownFault: Command failed with exit code 1: /Users/{redacted}/.amplify/lib/aws-amplify-amplify-frontend-ios/resources/amplify-xcode import-models --path=/Users/{redacted}
2024-09-17T15:29:16.958Z|info : amplify diagnose core  {"send-report":true,"yes":false}
2024-09-17T15:29:17.034Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2024-09-17T15:46:21.243Z|info : amplify version core
2024-09-17T15:47:04.509Z|info : amplify version core

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

@phantumcode thanks for the verification. Marking this as bug.

Hi, I also meet this issue when I set up amplify environment in my demo project to test AWS Rekognition.
The document I was reading is https://docs.aws.amazon.com/rekognition/latest/dg/face-liveness.html .
When I typed amplify init, the console reminded me that I was using Amplify Gen 1.
Here is my question: Is it possible to use Gen 2 to complete the tutorial, to complete the whole procedures of face-liveness?
ps: I'm an iOS developer, where can I help to solve the issue? As I can see, it is related to the element introduced by Xcode 16. So I guess if I know what exactly "Updating Xcode project" do, maybe I can update the script to make the "Updating Xcode project" work?

Same issue after running amplify init as described in https://aws.amazon.com/getting-started/hands-on/build-ios-app-amplify/module-two/
xCode 16 on Sequoia (15.0.1)

I tried in another Xcode 15 project, and found the differences after amplify init.
Maybe the script is just add folder and two configuration files to projects.

So, as workaround, maybe we can manually  create the folder and add the 2 configuration files to project?

Hey folks, for new projects we recommend using Amplify Gen 2 which uses AWS cdk with a TypeScript-based, code-first developer experience (DX) for defining your backends.
Refer to our Amplify Gen 2 documentation: https://docs.amplify.aws/swift/

I was developing AWS Face liveness, https://ui.docs.amplify.aws/swift/connected-components/liveness

The doc was using Amplify Gen 1.
Amplify just doesn't tell us what it does because of "code-first developer experience"

Then how can I migrate to Gen 2 while I don't know what Amplify does and what liveness sdk needes, and Gen 1 just fails to run? We are developers, not fools, if we know the last step is just add tow json files to the project, we can help to solve the issue.

@RentonLin the liveliness component for swift is currently a part of the swift repository. Could you open a new issue on the amplify-swift repository with the above request.

I was developing AWS Face liveness, https://ui.docs.amplify.aws/swift/connected-components/liveness

The doc was using Amplify Gen 1.
Amplify just doesn't tell us what it does because of "code-first developer experience"

Then how can I migrate to Gen 2 while I don't know what Amplify does and what liveness sdk needes, and Gen 1 just fails to run? We are developers, not fools, if we know the last step is just add two json files to the project, we can help to solve the issue. And then after we figure out what the sdk need and what gen1 does, we can migrate to Gen2.

@RentonLin I am having exactly the same issues that you are, but with a different AWS iOS demo project. I have tried adding the files manually and adding Package Dependencies, but Xcode compilation still fails. I suspect other changes are required to the project files. I have also tried following a Gen 2 iOS demo project that also fails.
I have opened support tickets with AWS and sent all logs and information possible. They are still looking into the issue. The AWS status is "Pending Amazon Action".

Running into the same issue, any help here?

The support ticket I opened with AWS about this issue, has been closed. They were able to replicate the issue/s with Amplify CLI Gen 1, but the problem has been pushed to Xcode.
What I have been able to do is successfully follow an Amplify Gen 2 demo project.
https://docs.amplify.aws/swift/start/quickstart/
Just be sure to change the Amplify version in the upper left drop down box on the landing page to Gen 2. Then just below that, choose the framework/language you use.
The demo app worked up until Authorisation, but then I now have issues with GraphQL auth that I am still working through.
But its a start anyway. Gen 2 works differently to Gen 1, where you code the backend locally and then push it to AWS, not the other way around. If you follow the steps in the demo, it will become clear.


Question: Textarea

Is it possible to use my own textarea instead of creating a new one?
I'm using your library with angular 2 and the textarea which gets created does not get updated when i receive the data from my rest endpoint.

online-json-diff is not a text area library. Please refer to https://github.com/codemirror/CodeMirror for help.


Add test manifest for release 1.3.9 in OpenSearch and OpenSearch-dashboards

Description
Add test manifest for release 1.3.9 in OpenSearch and OpenSearch-dashboards
Issues Resolved
Preparation of release 1.3.9
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #3275 (66c8c85) into main (dbedad8) will decrease coverage by 0.29%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #3275      +/-   ##
==========================================
- Coverage   91.74%   91.46%   -0.29%
==========================================
  Files         172      172
  Lines        4991     4991
==========================================
- Hits         4579     4565      -14
- Misses        412      426      +14

Impacted Files
Coverage Δ

src/system/temporary_directory.py
64.44% <0.00%> (-28.89%)
:arrow_down:

src/system/os.py
94.73% <0.00%> (-5.27%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

For the test manifests, you could attach the same test manifests from previous patch version even if the components not included in the input manifest, our workflow will handle it.

oh..got it .. thanks for the info @zelinh .. I will update it to match with previous patch ( I skip those that was not ready/merged at the moment the PR was created), thanks again!


help me

hello
sorry i'm french
i can not run
I have an error on the test
I have my tumblr key, but I do not understand all
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
ERROR: test_blogInfo (main.TumblrRestClientTest)
Traceback (most recent call last):
File "/home/pi/pytumblr/pytumblr-master/tests/test_pytumblr.py", line 16, in setUp
with open('tests/tumblr_credentials.json', 'r') as f:
IOError: [Errno 2] No such file or directory: 'tests/tumblr_credentials.json'
=========--------------------------------------------------
Ran 33 tests in 0.335s
FAILED (errors=33)

It cannot open that file, in that path. So something is wrong with how you are actually running the tests. Can you give more examples on how you're actually running the test? Invocation and current path will be helpful.

hello
i started the  run by f5
[code]Traceback (most recent call last):
File "/home/pi/Desktop/pytumblr-master/tests/test_pytumblr.py", line 16, in setUp
with open('tests/tumblr_credentials.json', 'r') as f:
IOError: [Errno 2] No such file or directory: 'tests/tumblr_credentials.json'

Ran 32 tests in 0.287s
FAILED (errors=32)

[code]

my file is here
/home/pi/Desktop/pytumblr-master/tests
thanks for your help

Hello
I can post on tumblr but how to change the "# below gif" ?

Hello
I can post on tumblr but how to change the "# below gif" ?

@mika7700 Do you mean tags? You can add tags into the call you're making. For example:
client.create_text("yourblogname", tags=["tag1", "tag2"], ...)

thank you so much
I found the line edit


Side bar scroll when we scroll api documentation

What happens?
Side bar scroll When we scroll api documentation.
sidebarIssue.webm
What did you expect to happen?
side bar need to sticky there
How can we reproduce the issue?

set up scalar swagger project in angular through cdn.
Swagger documentation scroll api documentation.
when we scroll side bar is hide so we need to do side bar sticky.

OpenAPI Document
No response

@hwkr @cameronrohani anything we can do here? or does that need some custom CSS?


Hard coded parameters and magic numbers

Unexplained coded values (magic numbers) and hard coded parameters need to be replaced with configurable parameters in the context of header and runner sizing.

Fixed with pull request #8


Replace API spec with link to spec

Link to swagger/API spec in prod.

Reviewed and accepted by Rebtel (Fredrik Nordberg, 12/4-17)


Not benefiting from checkpointing

Hello,
I save checkpoints with:
checkpoint_cb = tf.keras.callbacks.ModelCheckpoint(
  filepath = checkpoint_path + '/epoch-{epoch:02d}/',
  monitor = 'val_loss',
  save_freq = 'epoch',
  save_weights_only = False,
  save_best_only = False,
  mode = 'auto')

After loading the latest checkpoint and continuing training, I would expect the loss value to be around the loss value in the last checkpoint.
    model = tf.keras.models.load_model(
        model_path,
        custom_objects={"SimilarityModel": tfsim.models.SimilarityModel,
                        'MyOptimizer': tfa.optimizers.RectifiedAdam})

    model.load_index(model_path)

    model.fit(
        datasampler,
        callbacks = callbacks,
        epochs = args.epochs,
        initial_epoch=initial_epoch_number,
        steps_per_epoch = N_TRAIN_SAMPLES ,
        verbose=2
    )

However, the loss value does not continue from where it left. It looks like it's simply starting the training from scratch and not benefiting from checkpoints.

Thanks for submitting the issue @mstfldmr. Do you have a simple example I can use to try and repro the issue? I can also try and repro this using our basic example, but it might be good to get closer to your current set up as well.

@owenvallis I'm sorry, I can't share the full code because it has some confidential pieces we developed. This was how I configured checkpointing:
checkpoint_cb = tf.keras.callbacks.ModelCheckpoint(checkpoint_path, monitor='loss', save_freq='epoch', save_weights_only=False, save_best_only=False)

and how I loaded a checkpoint back:
    resumed_model_from_checkpoints = tf.keras.models.load_model(f'{checkpoint_path}/{max_epoch_filename}')

@owenvallis could you replicate it?

@owenvallis could you reproduce it?

Hi @mstfldmr, sorry for the delay here. I'll try and get to this this week.

@owenvallis yes, it was tfa.optimizers.RectifiedAdam and tfa.optimizers.Lookahead.


Option to prevent jumping to response

My only complaint about Postman is that when you send a request, it auto jumps the screen down to the response. Most of the time I wish the request/response were side by side as there is HEAPS of space.
But the fact it jumps down is so annoying. I leave it as split between the two and it still jumps so I can't see the request.

We'll be pushing a fix that disables the auto-scroll behaviour soon.

:heart:
Awesome sauce. Keep up the good work, absolutely love Postman.

@phillip-haydon You can go to chrome://extensions, enable developer mode and force update an extension. This should update the app to <IP_ADDRESS> that does not have the auto-scroll behavior.

@a85 - works great now. Thanks a lot! :heart:


Make deploy is using images from quay instead of locally built images

What happened:
With the latest submariner devel repo (dated: 13 Sep, 2022), when I run "make deploy", the KIND clusters are deployed, however the images are pulled from quay.io and not the locally built images.
What you expected to happen:
make deploy is supposed to use local images instead of images from quay.

Looks like the issue was due to some stale images. After invoking docker system prune -a and running "make deploy", it looks good.


Fix issue 2766. Changed all 'initialize' methods to more descriptive …

…names to prevent clash with Ruby.
Left Tapkee methods named initialize.

Changes Unknown when pulling e3d1d9e6aac2033ba593cbd0859e8eb6225e62d7 on erip:fix_2766 into ** on shogun-toolbox:develop**.


Feature/adding flow check ci

Overview
Adding a flow-check on package.json. Adding flow-definitions for modules like react-native, etc. And it was added a flow-check on CI.
Test Plan
Run a yarn flow-check. it needs to run without any error or warning to ensure that there are no mistaken on type definitions.

I think this would be a better aproach. Um going to see If there is another option about flow types than adding all types

It would be better merge this pr, and when changing to version 1.3.0 add typescript?

@jgcmarins i agree with you. As im a newbie with flow i got this mistake about type-defs. But i found another solution here about setting the type-defs manually.
In this case, since we got react-native and StyleSheet as types, i think using this approach can be ok. What do you think?


Typo

The shopping experience is not availalbe
Should be - available

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

ID: 2e87bcd5-b9a2-b6b5-28c5-be13cc433732
Version Independent ID: b204d5ef-fc3a-e77d-c1d1-137188acbcea
Content: Acquire apps in Microsoft Store for Business (Windows 10)
Content Source: store-for-business/acquire-apps-microsoft-store-for-business.md
Product: w10
Technology: windows
GitHub Login: @TrudyHa
Microsoft Alias: TrudyHa

Thank you. That typo should be easy to fix. Please comment again if you find anything else on the same page.

@officedocsbot assign @jvsam

Hi @ryanprosser thank you for your feedback to help improve the contents of this document. We want users to have the best Windows 10 experience by ensuring the docs are accurate and free or errors!
Please be informed that the typo fix (refer to this commit) has already been submitted by @illfated , but it may make a while for the change to reflect on the document. For now, I will mark this issue as resolved. Thank you again.


[critical] new call syntax regression breaks hook.sh deploy_challenge and probably clean_challenge

I'm experiencing a regression in master branch, probably caused by commit e963438c5a5d58ce3f997eef1e8e25f3cb4238d8 (make shellcheck happy again), specifically the following lines:
@@ -1083,12 +1096,12 @@ sign_csr() {
   if [[ ${num_pending_challenges} -ne 0 ]]; then
     echo " + Deploying challenge tokens..."
     if [[ -n "${HOOK}" ]] && [[ "${HOOK_CHAIN}" = "yes" ]]; then
-      "${HOOK}" "deploy_challenge" ${deploy_args[@]} || _exiterr 'deploy_challenge hook returned with non-zero exit code'
+      "${HOOK}" "deploy_challenge" "${deploy_args[@]}" || _exiterr 'deploy_challenge hook returned with non-zero exit code'
     elif [[ -n "${HOOK}" ]]; then
       # Run hook script to deploy the challenge token
       local idx=0
       while [ ${idx} -lt ${num_pending_challenges} ]; do
-        "${HOOK}" "deploy_challenge" ${deploy_args[${idx}]} || _exiterr 'deploy_challenge hook returned with non-zero exit code'
+        "${HOOK}" "deploy_challenge" "${deploy_args[${idx}]}" || _exiterr 'deploy_challenge hook returned with non-zero exit code'
         idx=$((idx+1))
       done
     fi

The result of the change appears to be that instead of the hook.sh deploy_challenge being passed three arguments (the expanded ${deploy_args[${idx}]}), it is now passed one argument ("${deploy_args[${idx}]}", which expands to a string consisting of the three arguments joined by spaces).
I suspect the modified call to the hook for clean_challenge is also broken in the same way.
To reproduce the issue, just run dehydrated with a stock hook.

Mh... interesting...

Ah... i see what my mistake was... sorry for that... Should be fully reverted now.


Add Toh Xin Yi's PPP

I forgot to branch before making changes, oops... Will do it next time :)

LGTM. Remember to amend accordingly as we progress through the weeks!


Hardcoded absolute path for find causes build failure on NixOS

In the scripts/setup-abc.sh script, the path to the find executable is hardcoded to /usr/bin/find. Since NixOS stores executables in /nix/store/..., this causes a build failure. Is there a reason that this is hardcoded, rather than determined by the user's PATH? I'm happy to send a pull request.

The absolute paths are currently there to avoid build failures on Windows (MinGW, specifically). However, setup-abc.sh does much less now than it used to, and it may make more sense to fold its functionality into Setup.hs, which would generally be more portable (probably across both Nix and Windows).


Null vs. empty string

I have the following field:
{
        "label": "Title",
        "name": "name_title",
        "value": "",
        "meta": {
            "type": "input",
            "content": "text"
        }
    }

If I leave it empty BE tries to store this value as null on database - but I need an empty string in that case.
Is that possible or do I have to cast all of this fields manually?
It would be nice if we can set this in meta of field?

ok, it's clear - will think about this.


Fix nix to build on mac

Building plutus core fails on mac, because it doesn't find the R library.
Error: cabal: Could not resolve dependencies:
[__0] trying: plutus-core-<IP_ADDRESS> (user goal)
[__1] rejecting: plutus-core:-with-inline-r (constraint from config file,
command line flag, or user target requires opposite flag selection)
[__1] trying: plutus-core:+with-inline-r
[__2] next goal: inline-r (dependency of plutus-core +with-inline-r)
[__2] rejecting: inline-r-<IP_ADDRESS>.<IP_ADDRESS> (conflict: pkg-config package
libR>=3.0, not found in the pkg-config database)
[__2] rejecting: inline-r-1.0.0, inline-r-0.10.5, inline-r-0.10.4,
inline-r-0.10.3, inline-r-0.10.2, inline-r-0.10.1, inline-r-0.10,
inline-r-0.9.2, inline-r-0.9.1, inline-r-<IP_ADDRESS>, inline-r-<IP_ADDRESS>,
inline-r-<IP_ADDRESS>, inline-r-<IP_ADDRESS>, inline-r-<IP_ADDRESS>, inline-r-<IP_ADDRESS>,
inline-r-<IP_ADDRESS>, inline-r-<IP_ADDRESS>, inline-r-<IP_ADDRESS>, inline-r-<IP_ADDRESS>,
inline-r-<IP_ADDRESS> (conflict: plutus-core +with-inline-r => inline-r>1.0.0)
[__2] fail (backjumping, conflict set: inline-r, plutus-core,
plutus-core:with-inline-r)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: plutus-core,
plutus-core:with-inline-r, inline-r

This fix is thanks to @angerman.

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[X] Commit sequence broadly makes sense
[X] Key commits have useful messages
[ ] Changelog fragments have been written (if appropriate)
[ ] Relevant tickets are mentioned in commit messages
[ ] Formatting, PNG optimization, etc. are updated

PR

[ ] (For external contributions) Corresponding issue exists and is linked in the description
[X] Targeting master unless this is a cherry-pick backport
[X] Self-reviewed the diff
[X] Useful pull request description
[X] Reviewer requested

Did u test it locally and it works?

Yes, I tested it.

This seems wrong, this should work automatically. cc @zeme-iohk, didn't we already deal with something like this that was due to a haskell.nix issue? Did we ever update to a haskell.nix with the fix?

@michaelpj Maybe the problem is that inline-r is behind a cabal flag? Which is by default off, but only enabled by the cabal.project

We are running a recent haskell.nix, but I can try and update it, and see if cabal build works without the buildInputs = [ pkgs.R ];

It definitely should work.
@bezirg I don't think it can be that, otherwise it would be broken on linux too! And anyway, haskell.nix should see the correct flag setting.


Qontract hangs when contract file extension is wrong or contract file is missing

Describe the bug
When I run Qontract Stub Command with a non-existent contract file or a contract file with a mis-spelled extension name, the command does not give me any feedback, it simply hangs and I have Ctrl + C it.
Steps to reproduce

Download latest version 0.17.0
Run below command

java -jar qontract.jar non-existent-file.txt

There is not feedback

Expected behavior

In the scenario when the file is missing I want to see error message.
When extension is wrong, I have to get a suitable error message.
The command should exit with error code 1.

Screenshots
NA
System Information:

Mac OSX Catalina 15
Qontract version 0.17.0
JDK 11

Additional context
NA

I can take a stab at this.

I can take a stab at this.

Please go ahead. Thanks for volunteering.


Search on https://search.maven.org/ doesn't work properly

What are you trying to do?

Trying to search for jetty-runner. I type in jetty-r and the result list stays blank. I continue typing jetty-runner and a list of unrelated results pops up, e.g. com.codingame.gameengine:runner. However, jetty-runner is present in maven central: https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-runner/

What feature or behavior is this required for?

To download jetty-runner from official repo

@mvysny thank you for creating this, and my apologies for the delayed reply. Looking further into this we found that this would require some Back End changes, i.e. the search criteria that we pass back based on input returned 0 results for jetty-r.
This project is specifically related to the Front End of Search Maven Org, when we start looking into improving our Back End servers we will hopefully address this as well.
Do note when searching for a:jetty-runner I found several related versions.


Force summon missing for moderators

Issue
While the server has allowed both builders and moderators to summon a character without the need of a matching join, the moderators hasn't had access to the command.

Resolved in PR #61


Use the no-config option with prettier to prevent conflicts

Fixes https://github.com/CesiumGS/cesium/issues/11135
Prevents conflicts from other user prettier configs that may be in a parent directory.

Thanks for the pull request @ggetz!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

@ggetz That was fast! Thank you.


Rename Zeit to Vercel in the readme

Zeit went through a rebrand. Also, Zeit Now is also just referenced as Vercel.

Thank you @rosswaycaster! ▲


Support for record

With the release of Java 16 in March 2021 the broad use of the record keyword is expected to grow.
I'd like to propose that the JAXB API clearly defines if and how the record keyword is supported by JAXB:

Can records be used with JAXB?
How to annotate records, as most methods and fields no exists unless overwritten?
Are there benefits / drawbacks of using records over custom classes in direct relation to JAXB?
Is support for records mandatory for implementations of the JAXB API (hence, is it safe to be used by vendor-agnositic applications)?

The Java 17 LTS release further pushes people towards records. Have you ever heard anything about this topic from anyone, @mkarg ?

@winne42 I am not aware of any information besides what you can read on this page.

Thanks @mkarg , sad...

@winne42 feel free to propose a solution you want to see

some news on this?
I expected this to work.
@XmlRootElement(namespace = "example.books")
public record Bookstore(
		String name,
		String location,
		@XmlElementWrapper(name = "bookList")
		@XmlElement(name = "book") List<Book>
		bookList
		) {
}

@XmlRootElement(name = "book")
@XmlType(propOrder = { "author", "name", "publisher", "isbn" })
public record Book(
		@XmlElement(name = "title")
		String name,
		String author,
		String publisher,
		String isbn) {
}

what are the steps that must be done to bring this forward?

Basing on the great research results already posted above, identify the items to actually get changed in the API, JavaDoc, and TCK. Provide a PR implementing your propsal. Discuss the PR with the committers. If a majority is convinced to implement the needed changes in their products, the PR will pass. :-)
Note that the EF actually likes to have a working product first before fixing the API, so it might sense to get one of the vendors into your boat, e. g. by adding a PR to Jersey proving that your ideas will work in an actual product. :-)

any progrss?


Unused variable detection : Comment coloration is not instant.

VSCode Version: 1.24.0
OS Version: Windows 7x64

Steps to Reproduce:

declare an unused variable
comment this unused variable

bug : unlike variables that are used, commenting an unused variable declaration will not instantly color it with the comment color. it happends after a little delay.

Does this issue occur when all extensions are disabled?: Yes/No
Yes.

Also append with unused imports.

Not easily fixable. Comment colorization comes from a grammar and can be super fast. Unused colorization comes from  semantic analysis, which is much slower. Our current method overlays the second pass onto the first. Since this works, and since I don't know if there is better approach that won't just introduce even worse jittering, closing as out of scope


add appconfig

tomomaster will be load the config from backend side

@etienne-napoleone , take a look to this pull request. now, you need to config tomoscan url in ENV

Pull Request Test Coverage Report for Build 96

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 86.154%

Totals

Change from base Build 95:
0.0%

Covered Lines:
88

Relevant Lines:
94

💛  - Coveralls


Can't remove properties of custom widgets

Reporting a bug.
In the activatedByChanged method I tried to remove some unnecessary properties from my widget using Survey.JsonObject.metaData.removeProperty(customWidgetName, someProperty);. However, when viewed in the editor they are still there.
I tried this in two custom widgets, one which is based upon the "empty" parent, and one which is based upon "checkbox". I also attempted to remove them outside the widget code (so not in the activatedByChanged method), that also didn't help. Removing properties from regular questions works like a charm though.
As a workaround I'm hiding them using onCanShowProperty, but this couples the editor code to my custom widgets and I'd rather not.

@schoolmeister I beleive your code in the activatedByChanged method is called one time, by adding them only.
Could you check this?
Thank you,
Andrew

I checked and the code in activatedByChanged runs twice.
Just to be sure, this is the code I'm using.
activatedByChanged: function (activatedBy) {
    console.log("does this run once?");

    Survey.JsonObject.metaData.addClass("randomisation", [], null, "checkbox");

    let blacklist = ["hasComment", "hasNone", "hasOther", "hasSelectAll", "noneText", "otherText", "storeOthersAsComment"];
    blacklist.map(prop => Survey.JsonObject.metaData.removeProperty("randomisation", prop));
},

@schoolmeister Got it.
Those properties do not belongs to your class. They belongs to "checkbox" or it's parents.
You may add them and make them invisible by overriding them:
let blacklist = ["hasComment", "hasNone", "hasOther", "hasSelectAll", "noneText", "otherText", "storeOthersAsComment"];
    blacklist.map(prop => Survey.JsonObject.metaData.addProperty("randomisation", {name: prop, visible: false}));

Thank you,
Andrew


Error when trying to authenticate: Method not found: 'System.Diagnostics.ActivityIdFormat System.Diagnostics.Activity.get_IdFormat()'.

Describe the bug
An error occurs when trying to enable storage account diagnostics (classic).
Exception or Stack Trace
Method not found: 'System.Diagnostics.ActivityIdFormat System.Diagnostics.Activity.get_IdFormat()'.

   at Azure.Core.Pipeline.RequestActivityPolicy.ProcessNextAsync(HttpPipelineMessage message, ReadOnlyMemory`1 pipeline, Boolean isAsync)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Azure.Core.Pipeline.RequestActivityPolicy.ProcessNextAsync(HttpPipelineMessage message, ReadOnlyMemory`1 pipeline, Boolean isAsync)
   at Azure.Core.Pipeline.RequestActivityPolicy.ProcessAsync(HttpPipelineMessage message, ReadOnlyMemory`1 pipeline, Boolean isAsync)
   at Azure.Core.Pipeline.BufferResponsePolicy.ProcessAsync(HttpPipelineMessage message, ReadOnlyMemory`1 pipeline)
   at Azure.Core.Pipeline.LoggingPolicy.ProcessAsync(HttpPipelineMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.LoggingPolicy.ProcessAsync(HttpPipelineMessage message, ReadOnlyMemory`1 pipeline)
   at Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpPipelineMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpPipelineMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.SynchronousHttpPipelinePolicy.ProcessAsync(HttpPipelineMessage message, ReadOnlyMemory`1 pipeline)
   at Azure.Core.Pipeline.SynchronousHttpPipelinePolicy.ProcessAsync(HttpPipelineMessage message, ReadOnlyMemory`1 pipeline)
   at Azure.Core.Pipeline.HttpPipeline.SendRequestAsync(Request request, CancellationToken cancellationToken)
   at Azure.Identity.ManagedIdentityClient.ImdsAvailableAsync(CancellationToken cancellationToken)
   at Azure.Identity.ManagedIdentityClient.GetMsiTypeAsync(CancellationToken cancellationToken)
   at Azure.Identity.ManagedIdentityClient.AuthenticateAsync(String[] scopes, String clientId, CancellationToken cancellationToken)
   at Azure.Identity.ManagedIdentityCredential.GetTokenAsync(String[] scopes, CancellationToken cancellationToken)
   at Azure.Core.Pipeline.BearerTokenAuthenticationPolicy.ProcessAsync(HttpPipelineMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpPipelineMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpPipelineMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.SynchronousHttpPipelinePolicy.ProcessAsync(HttpPipelineMessage message, ReadOnlyMemory`1 pipeline)
   at Azure.Core.Pipeline.SynchronousHttpPipelinePolicy.ProcessAsync(HttpPipelineMessage message, ReadOnlyMemory`1 pipeline)
   at Azure.Core.Pipeline.HttpPipeline.SendRequestAsync(Request request, CancellationToken cancellationToken)
   at Azure.Storage.Blobs.BlobRestClient.Service.SetPropertiesAsync(HttpPipeline pipeline, Uri resourceUri, BlobServiceProperties blobServiceProperties, Nullable`1 timeout, String requestId, Boolean async, String operationName, CancellationToken cancellationToken)
   at Azure.Storage.Blobs.BlobServiceClient.SetPropertiesInternal(BlobServiceProperties properties, Boolean async, CancellationToken cancellationToken)
   at Azure.Storage.Blobs.BlobServiceClient.SetPropertiesAsync(BlobServiceProperties properties, CancellationToken cancellationToken)
   at CareSeed.Greenhouse.Azure.Services.Storage.BlobService.EnableDiagnosticsAsync(String subscriptionId, String storageAccountName, CancellationToken cancellationToken) in C:\_dev\CareSeed.Greenhouse.App\CareSeed.Greenhouse.Azure\Services\Storage\BlobService.cs:line 61

To Reproduce
Execute equivalent of code snippet.
Code Snippet
var uri = new Uri($"https://{storageAccountName}.blob.core.windows.net/");
var clientId = await this.GetClientIdAsync();
var managedIdentityCredential = new ManagedIdentityCredential(clientId);
var client = new BlobServiceClient(uri, managedIdentityCredential);
var properties = new BlobServiceProperties
{
	Logging = new Logging
	{
		Version = "2.0",
		Read = true,
		Write = true,
		Delete = true,
		RetentionPolicy = new RetentionPolicy
		{
			Enabled = true,
			Days = 30
		}
	},
	HourMetrics = new Metrics
	{
		Enabled = true,
		IncludeAPIs = true,
		Version = "1.0",
		RetentionPolicy = new RetentionPolicy
		{
			Enabled = true,
			Days = 7
		}
	}
};

var response = await client.SetPropertiesAsync(properties, cancellationToken);

Expected behavior
Expected to not get an exception.
Setup (please complete the following information):

OS: Windows 10 1903
IDE : Visual Studio Professional 2019 16.1.14
Azure.Storage.Blobs 12.0.0-preview.2

Additional context
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x ] Bug Description Added
[x ] Repro Steps Added
[x ] Setup information Added

@tombrothers can you let me know what .NET version are you targeting?
I guess that you are not targeting (or running) on .NET Core 3 Preview 8 -- can you confirm?

This is in an Azure Functions v2 project so it is .Net Core 2.  I don't have a direct dependency on System.Diagnostics.DiagnosticsSource so it is the version that is references by Azure.Storage.Blobs which is 4.6.0.preview7.19362.9.

Thanks for letting me know! Do you happen to have a repro that we can take a look at?
The package that you mention should have worked just fine on the .NET Core 2.0.
/cc @pakrym

@brettsam it seems Functions downgrade System.Diagnostics.DiagnosticSource (4.6.0-preview) that was brought by the new version of Azure Blobs SDK 12.0.0-preview.2. It seems it was downgraded to the 4.5.*. could it be the case?

It looks like Azure Functions runtime is overriding the System.Diagnostics.DiagnosticSource dependency version to 4.5.x that doesn't have Activity.get_IdFormat method even thought we bring explicit dependency to 4.6.0-preview
cc @paulbatum

Tied with template http-trigger function without new Azure Blob storage.
Just installed latest DiagnosticSource
[FunctionName("Function1")]
public static async Task<IActionResult> Run(
    [HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] HttpRequest req,
    ILogger log)
{
    log.LogInformation(Activity.Current?.IdFormat.ToString());
     ...
}

[8/21/2019 7:04:36 PM] System.Private.CoreLib: Exception while executing function: Function1. FunctionApp4: Could not load type 'System.Diagnostics.ActivityIdFormat' from assembly 'System.Diagnostics.DiagnosticSource, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
probably this happens because function runtime brings AppInsights SDK of a certain version that depends on DiagnosticSource and both are downgraded.
I suggest this issue to be transferred to https://github.com/azure/azure-webjobs-sdk as it seems it's not related to Azure Storage sdk.

This is also impacting KeyVault. Haven't been able to find a workaround yet.

Functions takes a dependency on a specific version of DiagnosticSource. I'm going to move this to our repo as it looks like it's on us.

It doesn't appear I have the permissions to transfer -- could one of the owners move this issue to https://github.com/Azure/azure-functions-host?

@mitchdenny  already filed https://github.com/Azure/azure-functions-host/issues/4906

I can transfer from this repo - but I can't select yours.

@pakrym implemented a workaround in Azure.Core which should unblock this. I'm going to close this one down since the latest preview package should work for you. Let us know if that is not the case. When Azure Functions updates to a newer version of DiagnosticsSource the code should just adapt.
Azure Functions will probably update to the newer DiagnosticsSource package when a non-preview release is published.


Flexible printing

We should provide a flexible printing mechanism which simplifies printing more complex structures from cairo (you can implement a print for specific data type in rust).
This problem arises in printing traces as well as in deployment script logging.
If print is not implemented for a specific  structure we should lean back to default print.

IMO this is reasonably important as we need this in cast cc @THenry14

@MaksymilianDemitraszek this seems not relevant since Display trait will be introduced

Related: #1493


cut new release and submit to pypi?

It would be nice to get a new release cut and pushed to pypi, please.

Any way we could get a new release? The current one on PyPI isn't Python 3 compatible, but it appears the dev version is.


Documentation for Progress Info

I'm using ngmlr for the first time....easy installation and easy to run. However, I don't know what all the information means in the reported progress info. Some documentation around this would be useful.
For example, my progress is currently showing:
Processed: 92198 (0.66), R/S: 37.44, RL: 8857, Time: 2.00 5.00 11.62, Align: 0.96, 490, 0.81

That's all good! The inclusion of this info in the readme would work be great!

Hi , Thanks for the explanation, but I got lost as well.
I run it for the first time, and as an output I've received two .ngm files.
How can I open these files, and where I can see the mapping of the mapped reads to my reference sequence.
Thanks

Hi Nastiya,
when you run ngm did you include reads? If you jus see the two .ngm files these are just the indexes from your reference.
Please look at the readme with the information on how to run it.
Thanks
Fritz

Dear @fritzsedlazeck ,
Thank you for the quick reply. I indeed received 3 files: 2 .ngm files and on .sam file.
Now, I'm trying to use Tablet to visualize it. I'm inserting .sam file as the assembly, but get an error of the reference file. Should I use one of these .ngm files as a reference instead of the original ref.fasta file I've used when running the ngmlr command?
Best.
A

Dear Nastiya,
please read the documentation of tablet. You certainly need to convert sam -> bam and sort it. (e.g. using samtools). You probably need further to index the reference file.
This is unrelated to NGM so please contact them for support or read their documentaton.
Thanks
Fritz