text:
Implement UniTensor arange/linspace with shape

Fixed #325

What is going on with the test No. 520 (BkUT_Norm)

What is going on with the test No. 520 (BkUT_Norm)

Hi @kaihsin , did you mean this modification:
df12df8
Because for original code user can use put_block to put the Tensor into the UniTensor even there are not same dType. After the commit
https://github.com/Cytnx-dev/Cytnx/commit/58897042447f4c6ab4d18cad8a71b66c118f13bf#L123
this function will check whether the dType of the input tensor same as UniTensor, see
https://github.com/Cytnx-dev/Cytnx/blob/58897042447f4c6ab4d18cad8a71b66c118f13bf/include/UniTensor.hpp#L1430-L1433
So the original test code will throw the error at line 340, see
https://github.com/Cytnx-dev/Cytnx/blob/276507974c4cc974291a7318ac906d0825dcdf77/tests/linalg_test/linalg_test.cpp#L330-L345

Why not just try to cast it, I don't know what is going on
On Thu, Oct 26, 2023, 00:22 hunghaoti @.***> wrote:

What is going on with the test No. 520 (BkUT_Norm)
Hi @kaihsin https://github.com/kaihsin , did you mean this modification:
df12df8
https://github.com/Cytnx-dev/Cytnx/commit/df12df82c5932370148db4d8c724dc804d19a405
Because for original code user can use put_block to put the Tensor into
the UniTensor even there are not same dType. After the commit
5889704#L123
https://github.com/Cytnx-dev/Cytnx/commit/58897042447f4c6ab4d18cad8a71b66c118f13bf#L123
this function will check whether the dType of the input tensor same as
UniTensor, see
https://github.com/Cytnx-dev/Cytnx/blob/58897042447f4c6ab4d18cad8a71b66c118f13bf/include/UniTensor.hpp#L1430-L1433
So the original test code will throw the error at line 340, see
https://github.com/Cytnx-dev/Cytnx/blob/276507974c4cc974291a7318ac906d0825dcdf77/tests/linalg_test/linalg_test.cpp#L330-L345
—
Reply to this email directly, view it on GitHub
https://github.com/Cytnx-dev/Cytnx/pull/327#issuecomment-1780392598, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFCX3SM33WS2TVR6CMQXA33YBHQRVAVCNFSM6AAAAAA6PBIV2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBQGM4TENJZHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@hunghaoti , the user can always put unitensor with different type, you just need to cast it to the proper type. I think you code in C++ and Python enough to know it should be intrinsic casting for UX

@kaihsin You mean we only keep arange(list), and remove all other added function?

authors: hunghaoti jeffry1829 kaihsin

repo: Cytnx-dev/Cytnx


text:
Pozbycie się paginacji

12k ofert to nie dużo, można zwracać od razu
To w ogóle nie powinno musieć mieć bazy danych, da się to wszystko opędzić na SSG z Next.js

Strona jest renderowana klasycznie, tj. server side. Nie ma tam żadnego frameworku JS. Jest jquery :)
Wyniki dostarczane są bezpośrednio z silnika wyszukiwarki.
Do końca życia MVP musi wystarczyć zwiększenie rozmiarów strony do 40 :)
Ogólnie zamysł jest też taki, aby wyszukiwanie było na tyle precyzyjne, żeby wyników było maksymalnie 1-2 strony.

source: gharchive/issue

authors: jkobus klaskowski

repo: Czy-Jest-Eldorado/feature-requests

license: MIT

license_type: permissive

license_source: github-api


text:
Issue 5933 & 7159 - Resolve forward reference to auto-return member function

Issue 5933 - Cannot retrieve the return type of an auto-return member function
Bug 5933 is synonym of bug 2810, and the fixing way is also almost same.
Issue 7159 - Forward reference when casting auto return method

Added fix for bug 7159.

fails the tests.

Updated with more better way.

repo: D-Programming-Language/dmd


text:
Transcription as Input

Hi, I wonder if it's possible to take in the transcription of the input video while using the inference code to generate some responses. Thanks.

Hi, I wonder if it's possible to take in the transcription of the input video while using the inference code to generate some responses. Thanks.

Hello,I'm a phD student from ZJU, I also use videollama2 to do my own research,we create a WeChat group to discuss some issues of videollama2 and help each other,could you join us? Please contact me: WeChat number == LiangMeng19357260600, phone number == +86 19357260600,e-mail == liangmeng89@zju.edu.cn.


text:
Should we go google auth only?

ehhhhhhhhhhh?
sub-question, is there a way we can require 2fa on google auth?

We can't require MFA on auth: https://stackoverflow.com/questions/30291770/oauth2-but-require-multi-factor-authentication-mfa
Should we go google auth only (in production)? yeah probably! It might be prudent to shut off the routes unless [nil, 'Sandbox'].include? ENV['DARIA_FUND'],  but we should 10000% confirm that with user funds first. Last I looked almost all of the accounts were google related though.

closing as a wontfix


text:
terarium dataservice migration changes

This PR handles the changes needed to move to the new data service endpoints. This branch is untested currently, and contains the following changes:

Changing endpoints and parameters to use kebab-case
JSON keys are serialized / deserialized from camelCase rather than snake_case by default. Support for a "X-Enable-Snake-Case" header has been integrated which when provided will serialize / deserialize JSON keys as snake_case
Our backend uses OAuth2 and many endpoints require a user object for ReBAC. For simplicity we have created a shared service-user that will be injected if the correct basic auth credential is added to each request. I've introduced TDS_USER and TDS_PASSWORD env vars that will be injected in a basic auth header in each request. Please contact our team and we will provide the credential for our staging env. Please do not commit the credential to the repo unencrypted.

@Sorrento110 and @fivegrant , how do we test the report generation on this branch? can one of you see if we've broken things before we merge this?

@dgauldie take a look at this https://github.com/DARPA-ASKEM/knowledge-middleware/tree/main/reporting

@dgauldie just tried to run the above but the testing depends on standing up and seeding TDS in the docker compose just like simulation-integration. Report generation won't work unless HMI Server replaces TDS in the docker compose

@dgauldie i just pushed a fix so the tests can run. reporting was broken because stuff was moved around at project root and data service was still being referenced in a few places

source: gharchive/pull-request

authors: dgauldie dvince2 fivegrant

repo: DARPA-ASKEM/knowledge-middleware


text:
Bird names or ebird ids for the one-hot labels

Is it possible to get the bird names or the ebird id for the one hot labels?
I tried to play with the event mapper but I couldn't get the names.

thank you!

repo: DBD-research-group/BirdSet


text:
Format and lint markdown

I formatted the README to the standards of markdownlint and made it easier to read.

??? ok

license: mit

license_source: bigquery


text:
Zipcode is a number but should be a string

Thanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.

What are we trying to do?

A DCAF CM pointed out that leading zeroes, such as in New England area codes, are getting cut off from zip codes.

What feature or behavior is this required for?

This is workable, but not totally accurate, and since we have some funds potentially on deck we should rep their area codes properly.

How could we solve this issue? (Not knowing is okay!)

The current DB field is a number. I think I would suggest making this a string and writing a validator for it.

Anything else?
nope!

@elimbaum you interested in maybe taking a whack at this?

This is also probably a generally good idea, i.e. zip+4. I guess we're probably not worried about international addresses.

authors: colinxfleming elimbaum


text:
About grid feature

Hi, I've reading your paper, impressive work!
I've been wondering how the grid tokens work, I guess it is used to compensate the inaccurate point estimation? Have you guys done any ablation study about grid tokens and maybe can give some data when PointHMR is without grid token?

I'm sorry. We didn't conduct the ablation study for grid tokens. However, we referred to the idea from MeshGraphormer, and the ablation study for the grid tokens is also provided in the paper. We thought that the grid features play an important role in approximately aligning the mesh structure to the image by preserving the entire image information.

Ok, I might do an ablation experiment myself. Thanks for your reply.

Thank you for your interest!


text:
"Siglum" as used in the code is not the correct terminology

A "siglum" (plural "sigla") is an identifier used to uniquely identify a particular library or holding institution. This comes from the RISM Sigla list, which can be searched here: https://rism.info/community/sigla.html
Sigla take the form of Country code, a dash, an indicator of a city in uppercase, and an indicator of an institution in lower-case. For example, "GB-Ob" means "Great Britain, Oxford, Bodleian Library". "GB-Lbl" is "London, British Library". Sometimes, in the case of larger national libraries, it is sufficient to indicate the library by the city; "D-B" is Germany, Berlin state library; "D-M" is for the Munich State Library.
By contrast "Shelfmark" is a unique indicator for a given manuscript within an institution, and is based on an older method of filing books, where their location was based on a given physical shelf. A shelfmark might look something like "MS Canon Misc. 213", indicating that the book was number 213 on the "Canon Misc" shelf.
It is common practice to combine the siglum and the shelfmark so that a complete indicator of institution is available to users, particularly in online databases. For example, "GB-Ob MS Canon Misc. 213". This, however, is still a shelfmark -- it uniquely identifies a source. Sigla only identify the institution.
I have noticed several cases in this application where the term "siglum" was used where I believe what is actually meant is "shelfmark". Particularly this comment:
https://github.com/DDMAL/CantusDB/blob/227daaecf4f585ec0afd2fc4547f72eda592133b/django/cantusdb_project/main_app/views/views.py#L324
This should be shelfmark. Sigla do not uniquely identify a source, they only identify which institution holds it.
I'm pointing this out because it may make its way to user-facing controls, and they will likely be confused by this use of terminology.

Thanks, Andrew! I notice that on the old Cantus DB, there are things like A-Gu 29, CDN-Lu M2150, and GB-Ob Laud Misc. 284 in the "siglum" field, and that's what I've been using for the "siglum" field on the new Cantus DB.
If I understand your comment correctly, these are all shelfmarks, instead of sigla. Does this mean the "siglum" field on the old Cantus is also incorrect?

Yes, I would say so but You should probably check with Debra

Debra confirmed that there is a difference between the "RISM siglum" and the "siglum" field on the old Cantus DB. The RISM letters and the shelfmark are combined and put into the "siglum" field, which is used as a human-readable ID for the manuscript.
We are planning to make some changes to the database design for the new Cantus DB, and this terminology issue will certainly be taken into account. But for now, I think I will keep this consistent with the design of the old Cantus DB. I will add some documentation about this terminology issue to the models, where the fields are defined.

@jwang44 I would say the current terminology is actually correct. A siglum is just a short abbreviation for some particular element of a larger set. A RISM siglum uniquely identifies a library within the set of "libraries known to RISM", and thus is tied to the location of a manuscript; but, for example, the siglum "W1" uniquely identifies a particular manuscript in the set "manuscripts with Parisian organum", and "El" identifies a particular manuscript (the "Ellesmere Chaucer") within the set "manuscripts containing the Canterbury Tales".  Editors sometimes make their own sigla to refer to particular manuscripts in the set "manuscripts used in this edition."
So it is totally consistent terminology to have a siglum (short ID) that uniquely identifies some source within Cantus.

For now, we stay consistent with the old Cantus, where the "siglum" field (human-readable ID) uniquely identifies a source.

authors: ahankinson annamorphism jwang44

repo: DDMAL/CantusDB


text:
Redesign of the cycle switcher

Context
The current design of the functionality to switch cycles is a bonanza of buttons. @paulrobertlloyd did a nice redesign.
Changes proposed in this pull request

Guidance to review
OK?
Link to Trello card
https://trello.com/c/hfddfSDo
Things to check

[X] This code does not rely on migrations in the same Pull Request
[X] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[X] API release notes have been updated if necessary
[X] New environment variables have been added to the Azure config

Is it not possible to show what point in the cycle we are currently in within the hint text for ‘Same as production environment’?

No, that's a bit tricky atm. Perhaps later.

repo: DFE-Digital/apply-for-teacher-training


text:
decapitalise user in remove user button

Context
Content change to change Remove User -> Remove user as per conversation with James.
Link to Trello card
https://trello.com/c/8iOeOIVi/4322-change-invite-and-delete-user-terms-in-service-to-add-user-and-remove-user
Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] Required environment variables have been updated added to the Azure KeyVault

This should also be updated -> https://github.com/DFE-Digital/apply-for-teacher-training/blob/main/spec/system/provider_interface/remove_provider_user_spec.rb#L76

authors: despo richardpattinson


text:
Change CTA button text on Request support confirmation page

Changes in this PR

text change on CTA button

 Change CTA button text on Request support confirmation page

repo: DFE-Digital/buy-for-your-school


text:
[1578] switch back to skylight

Context
Switch back to skylight monitoring, and turn off sentry monitoring
Changes proposed in this pull request

Add sentry back in.
Turn off sentry performance monitoring

Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 Switch back to skylight

Not really, we should be still going ahead with upgrading raven to sentry

repo: DFE-Digital/teacher-training-api


text:
2480 Allow providers to remove locations

Context
Allow providers to remove locations.
Related PR for publish
Changes proposed in this pull request

Add discard to Sites
Scope sites relationships by undiscarded/kept
Add a delete endpoint to soft delete locations.
Raise an error on attempting to delete the last location.

Guidance to review
Checklist

[ ] Make sure all information from the Trello card is in here
[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 [M] Allow providers to remove locations


text:
Typo "reaCalibratedAltitude"

Line 148 in DFRobot_BME680.cpp
should be readCalibratedAltitude, right?

Yes it is.
Thanks for your feed back.

authors: forKnowYou martinschki


text:
Add five more non-player creatures

Need three or four switches, the Scythefish, and possibly another prey or predator.

Created models & textures for three switches: Sea Hornet, Freak, and Bloodshark.

Implemented the three switches mentioned above.

Scythefish and custom fish are implemented.


text:
Windows 版本
19045.5131
Snap Hutao 版本
1.12.5
设备 ID
No response
问题分类
养成计算
发生了什么？
如图所示，同步背包物品后，绿色、蓝色品质的经验书数量显示为0，然而每周可以在壶里兑换100本绿的，刷取地脉花时也会掉落大量蓝的，这两种经验书未同步成功会导致养成计算时对树脂需求的预估出现较大偏差
（灰色、绿色品质的矿同理）

你期望发生的行为？

当养成材料中包括经验书时，同步所有品质的经验书数量。（矿同理，如果天赋书、角色突破用的晶石等有类似问题，可同理）
养成计算时，将所有品质的经验书数量全部纳入考量，或将不同品质的经验书全部换算为对应数量的某种颜色的经验书，或直接按照需求的经验值进行养成计算（矿、天赋书等同理）

若难以实现，则可以考虑简化版实现法：
1本绿色经验书=1000点经验值=1/20本紫色经验书
1本蓝色经验书=5000点经验值=1/4本紫色经验书
将所有绿色、蓝色经验书的数量换算为紫色经验书的数量，加起来以后取整数（向上、向下、四舍五入均可），再与实际拥有的紫色经验书的数量加起来，作为我拥有的紫色经验书的数量。若以此法统计，则弹出一条消息：“您拥有的绿色、蓝色经验书已按经验值换算为等量的紫色经验书”或类似文本。（矿同理，但精力不足时可不做）
最后一步

[x] 我认为上述的描述已经足以详细，以允许开发人员能复现该问题

米哈游API不返回绿书蓝书白矿绿矿

米哈游API不返回绿书蓝书白矿绿矿

那就无解了


text:
FIx - XML ID profile references

removed references to specification text;
added explict xml:id reference to requirments.

fix #332

repo: DILCISBoard/E-ARK-CSIP


text:
User should not have even "read" rights for Statement stored under T for that he does not have the "read" rights.

Outside of Statements, all other Actants should be at least "Read"

should be fixed, will test tomorrow

It works

authors: adammertel jancimertel

repo: DISSINET/InkVisitor


text:
Added Backward and goToUrl

Backward and goToURL are added back.

It compiles fine for me, there's a TODO comment still in there related to the issues that were solved though, but that's not really a problem :) It can be removed during the next edit of this file.

authors: AnnanLao liivmarii


text:
Machine Learning for runtime improvement

Aim is to improve the runtime of a simulation.
=> Train a model with simulation data
==> Make predictions with machine learning model instead of a numerical simulation

@HenrZu did you work on this? maybe close/refer/or link this issue

Yes. The Issue here is simply described, but a lot of work. We already have a model for a simple application. However, extending it to multiple counties and integrating multiple NPI's still needs plenty of time.
I am currently waiting for a bigger pull request and after that I will restructure the whole machine learning/surrogate model again and open appropriate issues.

Closed in favour of #399

authors: AgathaSchmidt HenrZu JuliusKlodt xsaschako

repo: DLR-SC/memilio


text:
Folder path for Customizing logos

Hi,
Please assist me with the location for custiomizing the logos and uploading institutional image.
Also, I need the DMPonline logo for the website.
Thank you!

Hi all,
any assistance with the above issuse please?
Thank you
Ya'qub

repo: DMPRoadmap/roadmap


text:
Missing tool tips

When creating new Guidance groups, if the user mouses over the "Published" or "Optional subset" check boxes a tool tip should appear. In the Rails 5 version the tool tip does not appear. I will check to see if this is a problem in other areas where tool tips should appear.

might need a fontawesome upgrade

Looks good. @pherterich/ @magdalenadrafiova do you want to confirm?

looks good closing here

published:

-optional subset:

authors: magdalenadrafiova mariapraetzellis


text:
Review installation documentation on wiki

@bhavi will run through the documentation for a new installation of DMPRoadmap and make notes about any necessary revisions. The team will review on 20 Jun and update the documentation prior to MVP v0.3 release.
https://github.com/DMPRoadmap/roadmap/wiki/Installation

The installation process of DMPRoadmap was pretty smooth.  Below are my observations:

Ran into bundler issues with gem json v1.8.3  when installing  with ruby2.4 and rails5.1 versions.  Had to downgrade to ruby2.2.  Might work if json gem to upgraded to >1.8.5
(https://github.com/rails/rails/issues/27450)

The gem initializer files under config/locales( *static.yml files ) seemed to have been renamed in the current repo. Need to update that part of the documentation.

@bhavi updated documentation. reopening issue just to read through and confirm all changes are straightforward.

Wiki edited, added max supported versions and note about testing ruby 2.4/rails 5.0 in the future.

authors: bhavi stephaniesimms vyruss


text:
fix issue with kaminari pagination

Fixes #2464
Looks like the refactor of strong params requires us to call the helper method rather than an instance variable when passing in the pagination options

ha ha. good catch @xsrust

authors: briri xsrust


text:
Update mbedtls to 3.6.2

Mbed TLS 3.6.2 is the latest release in the long-term support 3.6.x series. It brings in some critical security fixes and is the recommended release of Mbed TLS from that community.
One of the fixes updates the certifi version referenced by Mbed TLS to one that fixes this CVE:
https://nvd.nist.gov/vuln/detail/CVE-2023-37920. CVE scanning tools pick up the version of certifi in Mbed TLS 3.6.0 and report libspdm in violation, even though it is not as libspdm does not use these mbedtls pip modules, as they are used only to build mbedtls's ReadTheDocs site.

Not sure why the builds are failing. 3.6.2 should still have the mbedcrypto target. They only recently changed mbedcrypto to tfpsacrypto.

Not sure why the builds are failing. 3.6.2 should still have the mbedcrypto target. They only recently changed mbedcrypto to tfpsacrypto.

Yeah, I'm looking into it now. It may be part of the deprecation of the mbedtls_sha3_* functions: https://github.com/Mbed-TLS/mbedtls/blob/v3.6.2/docs/psa-transition.md#summary-of-api-modules. If it does involve changing apisets, I will file an issue for this, as that is beyond the scope of what I am able to contribute here. I'm hoping the old apiset can continue to be used. Regardless, it does look like this is a change that libspdm will have to consume by MbedTLS 4.0.

@steven-bellock , it was just added the SHA3 define to config, but it is strange that it wasn't needed before, because v3.6.0 had the same define: https://github.com/Mbed-TLS/mbedtls/blob/v3.6.0/library/sha3.c#L15

@psrisoontorn you confirmed that SHA3 "really" works with your pull requests, correct?

@psrisoontorn you confirmed that SHA3 "really" works with your pull requests, correct?

Yes, I've tested SHA3 with mbedtls. I think the reason why I didn't see any issue is because 'MBEDTLS_SHA3_C' is already defined in "config_adjust_legacy_from_psa.h". There is a comment in the code indicating that the corresponding MBEDTLS_XXX settings would be enabled automatically if PSA_WANT_XXX symbols are defined.
Note: PSA_WANT_ALG_SHA3_XXX symbols are defined in crypto_config.h.

Anyway, I think adding the define for 'MBEDTLS_SHA3_C' to config.h is the right thing to do.

authors: os-d psrisoontorn steven-bellock

repo: DMTF/libspdm


text:
Error: ran out of query data

i suffer from the question about when i use resperf to test DNS performmance.
there is the console:
$ resperf -d datafile.txt -s xxx
DNS Resolution Performance Testing Tool
Version 2.2.1
[Status] Command line: resperf -d a.txt -s xxx
[Status] Sending
Error: ran out of query data
there is my datafile:
dns1.ikang.com.      A
s-static.ak.fbcdn.net.  A
lachicabionica.com.     A
www.mediafire.com.      A
can you help me, thanks！

Use -l or -n also, read about all options in man dnsperf.

authors: beckhamaaa jelu

repo: DNS-OARC/dnsperf


text:
Create persistent volume claims per tool/version

There has to be one persistent volume per (username, tool, version). Migration has to be possible (can be done manually). Capella workspaces depend on the version.
E.g. on instance xy, we'd like to keep the existing workspaces, but can manually rename the persistent volume claims in the cluster (to map them on the used Capella version).
Right now, the name is determined in _get_claim_name and is the username with some removed characters. If possible, we could add labels with tool and version and select the proper persistent volume by the labels. If not, we have to add the tool and version to the volume name (should be still human readable to allow the renaming).

I also looked into the alternative: one persistent volume with a workspace per tool. This requires slightly more work since we have to make /workspace customizable. It would have the advantage that users can move data from one tool to another, on the other hand we can not easily remove old data for unsupported tool versions.

It would have the advantage that users can move data from one tool to another.

When we have a new Capella version, users have to be able to move their models into the new workspace, otherwise migrations will not work properly (the upload feature doesn't have support for large files yet).

repo: DSD-DBS/capella-collab-manager


text:
Add option to push images to a Docker registry

This adds a Make variable PUSH_IMAGES. If set to 1, the images are pushed to the registry (Make variables LOCAL_REGISTRY_NAME and LOCAL_REGISTRY_PORT).

Handled as part of #56.

repo: DSD-DBS/capella-dockerimages


text:
🛑 Unhas Main is down

In 826757d, Unhas Main (https://unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Unhas Main is back up in 96c8c6e.


text:
🛑 Fakultas ISIP is down

In fd7b182, Fakultas ISIP (https://fisip.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas ISIP is back up in ff303c1.


text:
🛑 Fakultas Kedokteran Gigi is down

In b6e5e11, Fakultas Kedokteran Gigi (https://dent.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Kedokteran Gigi is back up in 919c95d after 3 minutes.


text:
🛑 Apps is down

In 8bfbc8e, Apps (https://apps.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Apps is back up in 5c8bc85 after 5 minutes.


text:
🛑 Fakultas Kedokteran Gigi is down

In 777180f, Fakultas Kedokteran Gigi (https://dent.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Kedokteran Gigi is back up in 59d1ac4 after 4 minutes.


text:
🛑 SSO Unhas is down

In 9f42eeb, SSO Unhas (https://sso.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSO Unhas is back up in 934d6c1 after 17 minutes.


text:
🛑 SSO Unhas is down

In 4424ccf, SSO Unhas (https://sso.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSO Unhas is back up in ab295ba after 5 minutes.


text:
🛑 Apps is down

In a1756aa, Apps (https://apps.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Apps is back up in 70e7b73 after 12 minutes.


text:
🛑 SSO Unhas is down

In cff75f5, SSO Unhas (https://sso.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSO Unhas is back up in a0dc467 after 11 minutes.


text:
🛑 Fakultas Kedokteran Gigi is down

In 66fba4b, Fakultas Kedokteran Gigi (https://dent.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Kedokteran Gigi is back up in 6aa05f0 after 4 minutes.


text:
Unsure if specification is correct?

The following specification on page 168 in the snapshot is a little confusing to me.
Is it ment that eval has type PS REAL -> (REAL -> REAL)? Then it doesn't make sense for me if the eval function in RHS is same as LHS. if the type is as above I would expect the RHS to be exp . (eval as)

It is actually type correct as written, because the function instance of Transcedental (which implements exp f = exp . f) but I agree it is confusing. In commit 0b2ac31 I have clarified it by expanding the function instance part in the specification and the calculation./P

authors: Enayaaa patrikja

repo: DSLsofMath/DSLsofMath


text:
DS-4018: delete workflow and workspaceitems as well

https://jira.duraspace.org/browse/DS-4018
In order to delete a community you have to delete the workflowitems and the workspaceitems as well. Took a code snipplet from DeleteWorkflowItemsAction.java

@gregorgabriel : thanks for the contribution!
As a note, this looks to be related to & complementary to fixes in #2200.  Any reviewers looking at this may wish to review #2200 first, as it makes updates to the DeleteWorkflowItemsAction that may also be useful in this PR.

authors: gregorgabriel tdonohue

repo: DSpace/DSpace


text:
Updated bitstream patch validation

Description
Earlier this week I noticed that I could modify UploadConfigurations for the UI, but it's not possible to use a custom bitstream metadata submission form. You can create a new UploadConfiguration bean that references a custom bitstream metadata form and add this to the UploadConfigurationService bean in access-conditions.xml (as described in the documentation). This can be mapped to a submission process by handle and the metadata form appears in the UI. But when you submit the changes to the backend the PATCH operation fails.
This is because the backend is hard-coded to use the default "bitstream-metadata" form in submission-forms.xml for validation. In fairness, this seems consistent with the documentation.
The changes in this PR allow for custom bitstream metadata forms in addition to the default "bitstream-metadata" form.
Instructions for Reviewers
List of changes in this PR:

Patch validation changed to use the UploadConfigurationService to read the metadata used for validation.

I believe current IT's provide test coverage.
Testing requires a submission configuration that uses an alternative bitstream metadata form. I suppose it's possible to define the new form in submission-forms.xml and then just use this form
name in the  uploadConfigurationDefault "metadata" property. A more complete and realistic test is to create a new submission process, but that's probably not necessary for testing.
Question: The dc.title field is required so it seems like we could add a check for the required title field during validation. I wanted to see what others think first.
Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
[x] My PR passes Checkstyle validation based on the Code Style Guide.
[x] My PR includes Javadoc for all new (or modified) public methods and classes. It also includes Javadoc for large or complex private methods.
[x] My PR passes all tests and includes new/updated Unit or Integration Tests based on the Code Testing Guide.
[ ] If my PR includes new libraries/dependencies (in any pom.xml), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[ ] If my PR modifies REST API endpoints, I've opened a separate REST Contract PR related to this change.
[ ] If my PR includes new configurations, I've provided basic technical documentation in the PR itself.
[ ] If my PR fixes an issue ticket, I've linked them together.

Thanks @abollini. I will take a look at the DSpace-CRIS code.
Just wondering, did you also work on the bitstream edit form for existing bitstreams (under Item edit)? I've had time recently to modify it to use the bitstream form that is configured for the collection and might have a working proposal soon. If this has already been done by someone else who can share that would be great!  The dynamic forms are tricky. (It's mostly Angular with possibly a minor REST addition).

Hi @abollini , sorry for the delay. I ported your dspace-cris code and tested locally. It works as expected. I didn't notice any ITs that cover this feature. Presumably, if they do exist they prove that the change didn't break anything.

I've also verified the previously failing ITs in this PR were already fixed on main.  They are unrelated to this PR.

authors: mspalti tdonohue


text:
Visual differentiation needed for Access Status

Describe the bug
Currently, when displaying different access status like open access, restricted access, ... there is no visual differentiation.

all look the same.
To Reproduce
Steps to reproduce the behavior:

Firstly you should have content with different types of access (specific resource policies for open access, embargoed access)
Activate the required configuration on your client site (angular):

# Item Config
item:
  showAccessStatuses: true

Perform a query (can be an empty one and you will have a list of items). Please mind that this only applies to generic Items or Publications.

Expected behavior
I hoped to have a visual differentiation for different access status. Could be something based on a different color, a specific style class. Of course I can theme that component and do that on my side, but I think it makes more sense to have it like that for all implementations.

@paulo-graca I like the idea...but talking about color design always seems to me like a pandora's box! :) There are 4 status to cover: OA, Embargo, Restricted and Metadata only. Maybe it would be possible by following a simple color code (green for OA, red for restricted, etc.), like this:

My concern is that on a result page, it can look like fireworks:

Please bear in mind that the four states are simply names for combinations of starting and ending dates for ResourcePolicy instances.  Other combinations are possible.  Here we have two types of embargo:  limited (maximum of two years) and unlimited (can be embargoed "forever").  Collections use one or the other as required.

Not against this idea, but priority is uncertain.  It might be possible to simply make it easier for sites to color each status button differently via CSS...instead of defaulting to a specific color scheme (which can be a "pandora's box" as @pilasou notes)
For now, moving this to backlog as priority is unclear to me.

Concluding, to avoid fireworks It would be better to add specific stylesheet classes, perhaps based on the access status itself, like:
Open Access

then, anyone can custom it as it pleases.

@pilasou @mwoodiupui @tdonohue I've just created this tiny PR to address this:
https://github.com/DSpace/dspace-angular/pull/2579

authors: mwoodiupui paulo-graca pilasou tdonohue

repo: DSpace/dspace-angular


text:
More meaningful regex error messages

References

Fixes DSpace/DSpace#9178
Backported to 7.x in #2641

Description
Adds field-specific error messages for regex validation in the form of error.validation.pattern.schema_element_qualifier.
If no error message for a specific field has been added to the i18n files, the old error message will be used.
Instructions for Reviewers

Add a regex validation for a field, e.g. dc.title in the submission configuration
Enter a value which does not pass the regex validation
No change should be visible now compared to before
Then add the corresponding message key to the i18n files, e.g. error.validation.pattern.dc_title with custom error message
Restart your frontend
Now the custom error message should be visible

Checklist

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
[x] My PR passes ESLint validation using yarn lint
[x] My PR doesn't introduce circular dependencies (verified via yarn check-circ-deps)
[x] My PR includes TypeDoc comments for all new (or modified) public methods and classes. It also includes TypeDoc for large or complex private methods.
[x] My PR passes all specs/tests and includes new/updated specs or tests based on the Code Testing Guide.
[x] If my PR includes new libraries/dependencies (in package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[x] If my PR includes new features or configurations, I've provided basic technical documentation in the PR itself.
[x] If my PR fixes an issue ticket, I've linked them together.

I have tested this improvement and it has worked for me.
I have modified the dc.title field in the default form (traditionalpageone) of the submission.xml:
            <row>
                <field>
                    <dc-schema>dc</dc-schema>
                    <dc-element>title</dc-element>
                    <dc-qualifier></dc-qualifier>
                    <repeatable>false</repeatable>
                    <label>Title Regex</label>
                    <input-type>onebox</input-type>
                    <hint>Enter the main title of the item.</hint>
                    <required>You must enter a main title for this item.</required>
                    **<regex>/[a-z]+/i</regex>**
                </field>
            </row>

I have added an extra translation key to the English translation file of the dspace-angular frontend:
"error.validation.pattern.dc_title": "The title for the given pattern is not valid... this error message comes from translation file and related to the dc.title field!"
If I put an invalid input to the field I have got my custom translation back:

If I remove my custom translation key I have got the default translation corresponding to the acceptance regular expression:

@tdonohue I don't have an account for the wiki. I'd suggest to add a note to the "regex" section. I've left the beginning as is and added instructions
regex: When specified, this field will be validated against the Regular Expression, and only successfully validating values will be saved.  An example is commented out in the default "Author" field. If the validation fails, the following error message will be shown by default: "This input is restricted by the current pattern: {{ pattern }}.". This can be customized, by adding an entry to the internalization files with the key error.validation.pattern.schema_element_qualifier and the schema, element and qualifier of the field. For example: "error.validation.pattern.dc_identifier": "The identifier can only consist of numbers". For instructions on how to add custom entries see: Customize UI labels using Internationalization (i18n) files

Thanks @hutattedonmyarm !  I've copied those docs into the 7.x and 8.x documentation for the Submission User Interface.  I'll remove the needs documentation flag now.


text:
Improvements customisation submission sections

References

Fixes #9486
REST PR #9489

Description
This PR aims to add better customisability of additional submission steps, mainly adding steps that should inherit functionality from other existing steps.
Instructions for Reviewers
We've added an attribute to the type tag of submission-steps in item-submission.xml. This tag is labeled "extends" and can contain a string value that refers to the existing type of a step the new step should inherit from.
From here-on out, it's up to the developer to decide which parts need extending or overwriting, but this approach avoids having to re-write entire sections when most of the functionality is the same as another existing step.
Details on how to add and customise a step
On the REST side:

Add a step-definition in item-submission.xml with extends attribute on type referring to an existing step to re-use functionality. e.g. <type extends="upload">custom-upload</type>
Create a processing class for this step and configure it in the same step-definition. e.g. <processing-class>org.dspace.app.rest.submit.step.CustomUploadStep</processing-class>
If extending from upload step: Add an entry to the map in uploadConfigurationService bean in access-conditions.xml with the key matching the ID of your new step. The value can refer to the uploadConfigurationDefault or a new one if desired. e.g. <entry key="custom-upload" value-ref="uploadConfigurationDefault" />
Optionally, if custom validation is required, create a new class extending from AbstractValidation (or the validation of the step you're extending) and configure it as a bean in spring-dspace-addon-validation-services.xml. The name has to match your type. If no validation bean is configured for your step, but one exists for the step you're extending from, that one will be used instead.

On the Angular side:

Add a new property to the SectionsType enum matching your custom step type
Create a new component extending from SectionModelComponent and annotate it with @renderSectionFor(SectionsType.{your-custom-step-type})

Example
To make testing easier, I've created a separate branch starting from my PR, containing some custom code for a very basic example of a custom upload step that inherits all of the functionality of the existing upload step, to give you an idea on how and where everything's configured. Also added several comments explaining into more detail, in case something isn't clear yet.

Angular example branch here
REST example branch here

Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
[x] My PR passes ESLint validation using yarn lint
[x] My PR doesn't introduce circular dependencies (verified via yarn check-circ-deps)
[x] My PR includes TypeDoc comments for all new (or modified) public methods and classes. It also includes TypeDoc for large or complex private methods.
[x] My PR passes all specs/tests and includes new/updated specs or tests based on the Code Testing Guide.
[x] If my PR includes new libraries/dependencies (in package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[x] If my PR includes new features or configurations, I've provided basic technical documentation in the PR itself.
[x] If my PR fixes an issue ticket, I've linked them together.

We tried to test these changes, checked out the PR branches, brought over the changes from the example branches. One problem we had is that the renderSectionFor from sections-decorator.ts is marked as deprecated.
If we still want to use the deprecated function, we can still run the branches, but when trying to create a new item the item form does not load in at all. Because of this we couldn't properly test the feature.

We tried to test these changes, checked out the PR branches, brought over the changes from the example branches. One problem we had is that the renderSectionFor from sections-decorator.ts is marked as deprecated. If we still want to use the deprecated function, we can still run the branches, but when trying to create a new item the item form does not load in at all. Because of this we couldn't properly test the feature.

@Atmire-Kristof Could you help us what can be wrong.
We have done the modifications in the frontend code (using example branch) and also in the item-submission.xml. After starting the corresponding frontend and backend branch the frontend and backend are running but the submission form drops a javascript error and gives a white picture.

@msutya sorry for the huge delay, but I think the problem you're referring to is not related to this PR, but to #2750 (tracked in https://github.com/DSpace/dspace-angular/issues/2898)
A few of the "dynamic component decorators" were deprecated in favour of static maps, right now the solution is to define new entries here.

authors: Atmire-Kristof kanasznagyzoltan msutya ybnd


text:
fix[#764] Duplicate data occurred when use jdbc polling Data

修复问题：JDBC数据源在实时扫表拉取数据时，在数据量大于1万条时，会出现部分数据重复，后续在增加数据，便不会出现重复。
原因：在实时抽取数据过程中，第一次从JDBC数据源的SQL，没有按照splitKey进行排序，导致获取的下一次的起始位置数据不是上一次轮询后的最大值，导致数据重复。
修复方式：在扫表时对更新SQL，增加order by，避免该问题的发生
根据反馈：将代码合并到Master分支

Thanks! But i think you should rebase 'master' branch of DTstack/chunjun into your own branch with command 'git rebase master', because your branch is behind the master branch.

I'm Sorry ,this is my first time to commit code. Could i update code in my 'master' branch and commit push

That's ok, don't be worry, i will help you to finish this pr.

I have to commit from my 'master' bench ,should i close this comment

OK. I will review it.

authors: FlechazoW huyongze

repo: DTStack/chunjun


text:
Sorting hopper deletes items

When the sorting hopper has all 5 slots occupied, and it tries to extract an item from an inventory it has no slot for, it removes the item and deletes it.
First reported here: https://github.com/Da-Technomancer/Crossroads/issues/83

Closed in commit 15.

repo: Da-Technomancer/Essentials


text:
Receive approval to push to main

First Edits

FIrst Submittion

repo: Daczuniga/Horiseon-Refactor


text:
ERROR: [youtube]

Hi. Can you please tell me what the problem is? I want to download tracks from the list, but the following error pops up.
scrin
./Downloader.sh liked.csv Using 'yt-dlp' as downloader. Found: 4 entries Status: #1 downloads started - 25% Status: #2 downloads started - 50% Status: #3 downloads started - 75% Status: #4 downloads started - 100% All downloads have been started. Waiting for completion. ERROR: [youtube] Q0oIoR9mLwc: Unable to extract uploader id; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U ERROR: [youtube] dqVZaN4lnwQ: Unable to extract uploader id; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U ERROR: [youtube] Wv2rLZmbPMA: Unable to extract uploader id; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U ERROR: [youtube] qN4ooNx77u0: Unable to extract uploader id; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U /tmp/Dark Necessities.mp3: No such file or directory /tmp/Never Go Away.mp3: No such file or directory Finished: Dark Necessities Finished: Never Go Away /tmp/Dive.mp3: No such file or directory Finished: Dive /tmp/Sign of the Times.mp3: No such file or directory Finished: Sign of the Times

Most likely an old version of yt-dlp. Do yt-dlp -v and compare it to their releases. To get a recent version install it with pip.

Thanks

authors: Daenges Yorksik

repo: Daenges/Spotify-Downloader-Bash


text:
[jaejeong1] WEEK 02 Solutions

[x]  #218
[x]  #233
[x]  #238
[ ]  #253
[ ]  #268

3 문제 코드 잘보았습니다. : )
남은 2문제도 파이팅!

repo: DaleStudy/leetcode-study


text:
use local node_modules path for command

Windows can't evaluate the expression, even with bash:

The change just points to the local node_modules path instead.

Yep, well caught.  On most things these days I'm not even bothering with node_modules path as when npm runs any script it puts that node_modules/.bin/ folder in the path anyway.
Could you try dropping the path all together, and simply try using node test/all.js instead of node_modules/.bin/tape test/all.js for the test script command and see if that still works on your machine please?

@DamonOehlman done and done. Using node test/all.js works, no problems.

Awesome - merging now :)

authors: DamonOehlman danielkrainas

repo: DamonOehlman/wildcard


text:
Not working every once in a while

The site works most of the time, but every once in a while it just stops working and says critical error; this lasts from 2 hours to 2 days. Refreshing page doesn't help.

How to unsubscribe
On Jan 10, 2017 22:11, "Daniel Weber" notifications@github.com wrote:

Closed #2 https://github.com/Dan12/Launchpad/issues/2.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Dan12/Launchpad/issues/2#event-918102176, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AWKtZ_E-_9yzMIcnkUx3a-H_TQXP2KVFks5rQ-XVgaJpZM4J0M_r
.


text:
Error starting GUI. Could not find tkinder

Using Python 3 on windows, error appears as soon as I run 'start.py'.

Also, I am reading this everywhere: The Python Windows Installers include Tcl/Tk as well as Tkinter. These are essentially a one-click install of everything needed.
so what gives?

I fixed this by adding the python folder to my windows PATH and then manually running the program with 'python Start.py' in the command prompt.


text:
[WIP] OperatorModel - cleanup and testing

Summary
This PR is for finalizing the design of the OperatorModel class and adding tests

Current status: renamed file models.py to operator_models.py and the BaseModel class to OperatorModel as the original names seemed too general.

Adding a bunch of tests for the FrameFreqHelper. Tests that remain:

evaluate with frequency cutoffs
frame transformations for states
both of the above with various setting of flags for whether the input/output of the function is in the basis in which the frame is diagonal

This is ready for review (see updated initial comment for details).

Summary of changes:

A bunch of documentation as per @eggerdj 's comments
Added a check that a specified signal has the same number of entries as the operators
Removed the function vector_apply_diag_frame and moved the code into the only function that was calling it
Added a section to the OperatorModel demo for specifying a signal_mapping

Added tests:

checking warning if length of signal is invalid
test for setting a signal_mapping

repo: DanPuzzuoli/qiskit-aer


text:
It would be awesome if you could do install scripts for oracle express edition as well!

So I absolutely love your pre-built build scripts - I would love if you could add an option for Oracle database express edition!
Happy to buy you a coffee or two to fuel your mad scripting skills 🥇
Van.

Hi @VanadiumJade
it is in the making! I already created the installation script here on dev, but it's not finished yet...Just check the github repo the upcoming weeks, I hope it is done soon! :)

I have a task to extend our Docker template with the XE edition - so before I start to reinvent a wheel probably I could learn something from you, even from DEV scripts. So I could be your beta-tester :)

Hows this coming along? keen for XE :)

I decided to not include XE installation, thus the whole installation process is very different to the normale EE installation...Therefore I just added 19.3 EE installation...
This also has the benefit of having all EE features with no limitation + be on the bleeding edge (thus EE release always comes earlier than XE builds)

Is 19.3 EE free to use? Thanks.

I'm not an Oracle licensing pro, but for my understanding it is "free" to use for development purposes, if you apply to the OTN Development license (when you download software from OTN, you already applied to it)...But it's limited, see:
https://www.jobacle.nl/?p=1508
But if you install it on your local machine, and do local development with it (which is btw the main purpose of this docker image) you should be save...


text:
ewDriver

Every iteration I get this warning:
sh: \rm: command not found
We do not use this command in any function for this driver. Do you have any idea of what this is?
e.g.:
sh: \rm: command not found
i    Teff    logg    [Fe/H]    vt    EPslope    RWslope    |FeI-FeII|
sh: \rm: command not found
1  5769    4.47    +0.01    0.99   -0.005     -0.025       0.02
sh: \rm: command not found
...

Same as issue #28.

authors: DanielAndreasen MariaTsantaki

repo: DanielAndreasen/MOOGme


text:
Events triggered twice at Awake.

Hi Daniel, I like your library, but I have a problem where my events triggers twice upon an invoke. I only have a single EventListener on the GameObject. I have only discovered this bug trigger from the Start / Awake function. Do you know about this issue?
Best Jonas

I'll look into it :)
In the meantime could you provide some more concrete steps to reproduce? A sample project where the issue is present would also be very helpful

Hi Daniel
I figured out that "OnValidate" and "OnEnable" both triggers at Startup. Therefore, all the listeners were registered multiple times. I commented out "OnValidate", will that cause any troubles later on?

Thanks for the reply, you're correct in saying that the OnValidate registration is unnecessary. Should be safe to comment out, I'm also pushing out a release sometime later today where it's been fixed :)
Thanks for the report!

authors: DanielEverland Thejoness


text:
Tag a (stable) release?

Hello,
I know this repo hasn’t been updated for ~1 year but it’d be very helpful if you could tag a release so we know the code there is stable and can be used. I work on Homebrew and we provide a way to install willgit but we rely on the git HEAD so can’t provide checksums and can’t ensure users will always get the same code depending on the time they install it, making it harder for us to debug issues.
Thanks!

Hi @bfontaine, sure, huge thanks for maintaining a brew package of willgit.
How exactly do you want me to tag it? A git tag stable? Or make a release? How?
Thanks

@DanielVartanov A git tag like 0.1.0 or the version you want would be great!

Done. Thanks again for your effort!

Thank you! :tada:

authors: DanielVartanov bfontaine

repo: DanielVartanov/willgit


text:
Unable to install flash-attn due to SSL error

Hi,
I'm on an EC2 instance and am trying to install flash-attn but keep running into an ssl error. Wondering if you know what's going on. I have openssl-1.1.1l installed.
Here's the output:
[ec2-user@ip-xxx-xx-xx-x ~]$ pip3.10 install flash-attn --no-build-isolation
Defaulting to user installation because normal site-packages is not writeable
Collecting flash-attn
  Using cached flash_attn-2.4.2.tar.gz (2.4 MB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: torch in ./.local/lib/python3.10/site-packages (from flash-attn) (2.1.2)
Collecting einops (from flash-attn)
  Using cached einops-0.7.0-py3-none-any.whl.metadata (13 kB)
Requirement already satisfied: packaging in ./.local/lib/python3.10/site-packages (from flash-attn) (23.2)
Collecting ninja (from flash-attn)
  Using cached ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl.metadata (5.3 kB)
Requirement already satisfied: filelock in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (3.13.1)
Requirement already satisfied: typing-extensions in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (4.9.0)
Requirement already satisfied: sympy in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (1.12)
Requirement already satisfied: networkx in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (3.2.1)
Requirement already satisfied: jinja2 in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (3.1.2)
Requirement already satisfied: fsspec in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (2023.12.2)
Requirement already satisfied: nvidia-cuda-nvrtc-cu12==12.1.105 in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (12.1.105)
Requirement already satisfied: nvidia-cuda-runtime-cu12==12.1.105 in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (12.1.105)
Requirement already satisfied: nvidia-cuda-cupti-cu12==12.1.105 in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (12.1.105)
Requirement already satisfied: nvidia-cudnn-cu12==8.9.2.26 in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (8.9.2.26)
Requirement already satisfied: nvidia-cublas-cu12==12.1.3.1 in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (12.1.3.1)
Requirement already satisfied: nvidia-cufft-cu12==11.0.2.54 in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (11.0.2.54)
Requirement already satisfied: nvidia-curand-cu12==10.3.2.106 in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (10.3.2.106)
Requirement already satisfied: nvidia-cusolver-cu12==11.4.5.107 in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (11.4.5.107)
Requirement already satisfied: nvidia-cusparse-cu12==12.1.0.106 in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (12.1.0.106)
Requirement already satisfied: nvidia-nccl-cu12==2.18.1 in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (2.18.1)
Requirement already satisfied: nvidia-nvtx-cu12==12.1.105 in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (12.1.105)
Requirement already satisfied: triton==2.1.0 in ./.local/lib/python3.10/site-packages (from torch->flash-attn) (2.1.0)
Requirement already satisfied: nvidia-nvjitlink-cu12 in ./.local/lib/python3.10/site-packages (from nvidia-cusolver-cu12==11.4.5.107->torch->flash-attn) (12.3.101)
Requirement already satisfied: MarkupSafe>=2.0 in ./.local/lib/python3.10/site-packages (from jinja2->torch->flash-attn) (2.1.3)
Requirement already satisfied: mpmath>=0.19 in ./.local/lib/python3.10/site-packages (from sympy->torch->flash-attn) (1.3.0)
Using cached einops-0.7.0-py3-none-any.whl (44 kB)
Using cached ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl (307 kB)
Building wheels for collected packages: flash-attn
  Building wheel for flash-attn (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [9 lines of output]
      fatal: not a git repository (or any of the parent directories): .git

      torch.__version__  = 2.1.2+cu121

      running bdist_wheel
      Guessing wheel URL:  https://github.com/Dao-AILab/flash-attention/releases/download/v2.4.2/flash_attn-2.4.2+cu122torch2.1cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
      error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)>
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for flash-attn
  Running setup.py clean for flash-attn
Failed to build flash-attn
ERROR: Could not build wheels for flash-attn, which is required to install pyproject.toml-based projects

Can you download the wheel manually, just to check the networking is fine?
https://github.com/Dao-AILab/flash-attention/releases/download/v2.4.2/flash_attn-2.4.2+cu122torch2.1cxx11abiFALSE-cp310-cp310-linux_x86_64.whl

Thanks Tri. After some debugging, I tracked it down to a Poetry issue (I think the same one from this issue). Will go ahead and close it.

@tranlm how did you solve it exactly? Having a similar issue.
  Building wheel for flash-attn (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [9 lines of output]
      fatal: not a git repository (or any of the parent directories): .git

      torch.__version__  = 2.1.2+cu121

      running bdist_wheel
      Guessing wheel URL:  https://github.com/Dao-AILab/flash-attention/releases/download/v2.4.2/flash_attn-2.4.2+cu122torch2.1cxx11abiFALSE-cp311-cp311-linux_x86_64.whl
      error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)>
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for flash-attn
  Running setup.py clean for flash-attn
Failed to build flash-attn
ERROR: Could not build wheels for flash-attn, which is required to install pyproject.toml-based projects

Unfortunately, I wasn’t able to solve it. My team uses Poetry and it
appears to conflict with this package. I looked around and Tri Dao
mentioned in another thread that he’s had a headache trying to get it to
work for a subgroup of users. I’m guessing my I fall within that group.
On Sat, Jan 13, 2024 at 1:56 PM Tejasw Gupta @.***>
wrote:

@tranlm https://github.com/tranlm how did you solve it exactly? Having
a similar issue.
Building wheel for flash-attn (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
fatal: not a git repository (or any of the parent directories): .git
  torch.__version__  = 2.1.2+cu121

  running bdist_wheel
  Guessing wheel URL:  https://github.com/Dao-AILab/flash-attention/releases/download/v2.4.2/flash_attn-2.4.2+cu122torch2.1cxx11abiFALSE-cp311-cp311-linux_x86_64.whl
  error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)>
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for flash-attn
Running setup.py clean for flash-attn
Failed to build flash-attn
ERROR: Could not build wheels for flash-attn, which is required to install pyproject.toml-based projects
—
Reply to this email directly, view it on GitHub
https://github.com/Dao-AILab/flash-attention/issues/756#issuecomment-1890752918,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAROROEGHD35R4JDPSK6FULYOLRHZAVCNFSM6AAAAABBPQR326VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQG42TEOJRHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Just to mention in case future people come across this--I got this error in a mamba (as in the conda alternative) environment that is not using poetry AFAIK.

authors: Tejaswgupta muhark tranlm tridao

repo: Dao-AILab/flash-attention


text:
replace doc/home with get-started page

Refer to OpenShift doc home: https://docs.redhat.com/en/documentation/openshift_container_platform/4.15

See preview: https://deploy-preview-4608--daocloud-docs.netlify.app/dce/

repo: DaoCloud/DaoCloud-docs


text:
文档与 GitHub 不一致

2 常见问题

DaoCloud 加速器

文档与GitHub不一致，Docker for Mac 标题下 ”Docker for Windows 可以让您在 Mac 上使用 Docker“ 应为”Docker for Mac" 。

Thanks for your contribution.
DaoCloud would appreciate it if you could submit a PR to fix this. :)

但是我觉得这个问题可能是网站上的文档没有从 GitHub 更新过来，因为我看 GitHub 上的像是最新的版本。

/close
due to outdated

authors: Pandoraemon allencloud windsonsea

repo: DaoCloud/daocloud-docs


text:
Update F-Droid Descriptions

I updated the translations in the full_description.txt files using translations provided via Google Translate.

Fixes #275

Closes #275

Closes #275


text:
addNgo

Add NGO struct containing address, name, location, description.
addNgo function (NGO struct) onlyOwner
emit NGOadded

We decided to not store the location and description on chain but offchain and only store the address and name of the ngo on the chain itself.

repo: Darjusch/fitup


text:
CloudflareChallengeError with valid API key

I am still getting the Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version. in my code, even when I am trying to use the captcha parameter.
pythos-aternos version is 2.1.3
python version is 3.9.15
here is my code
from python_aternos import Client

class Aternos:
    def __init__(self, user, password):
        self.user = user
        self.password = password
        self.login_status = False

    def login(self):
        try:
            self.at_client = Client.from_credentials(self.user, self.password, captcha={
                'provider': 'capmonster',
                'clientKey': '<MY_CAPMONSTER_KEY>'
            })
            self.login_status = True
            return True
        except Exception as e:
            return [False, e]

    def server_list(self):
        if not self.login_status:
            return 'Bot is not logged in Aternos, please use /login first'
        return self.at_client.list_servers()

TEST_USER = '<MY_ATERNOS_USERNAME>'
TEST_PASSWORD = '<MY_ATERNOS_PASSWORD>'

if __name__ == '__main__':
    at = Aternos(TEST_USER, TEST_PASSWORD)
    print(at.login())

Thanks for reporting! I'll try to fix it.

Just checking up, Any updates?

@nub-rin, @Aeron-Emory,
please, update to the latest v3.0.1:
pip install -U python-aternos

Alright!, I'll give it a try right now, and let you know if it works or not. ^^

I did give it a try as well, but still no luck.
All I did was,
# Import
from python_aternos import Client

# Create object
aternos = Client()

aternos.atconn.session.captcha = {
    'provider': '2captcha',
    'api_key': 'apikeyhere',
}

# Log in
# with username and password
aternos.login('usernamehere', 'passwordhere')

# Get servers list
servs = aternos.list_servers()

# Get the first server
myserv = servs[0]

# Start
myserv.start()

The response:
$ python at.py
cloudscraper.exceptions.CloudflareChallengeError: Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version.

Hey @DarkCat09!
It didn't even asked for any captcha, in fact the above code is invalid as .from_credentials is not a attribute for the class Client apprently. Regardless the .login() attribute works and I am able to login.
Thanks!

authors: Aeron-Emory DarkCat09 nub-rin


text:
Incorrect settable_type value upon migration

Hi,
I am facing issue that when I run the php artisan settings:migrate command my database gets nicely seeded how ever the models do not include backslashes there for $user->settings does not work.
However I found out that if I run $user->settings()->initialize() it will recreate all of the settings with proper settable_type including backslashes. Here is a screenshot:

I am able to solve this issue by editing the fillSettings method in Pipes\CreateNewMetadata.php file like this:

However I am not sure if it is the proper approach.
Can someone please help me why is this behavior here?

Unfortunately the merge request (Issue 21) has not solved my problem. I tried it on windows as well as on mac and still when i run php artisan settings:migrate the settable_type is inserted without backslashes like this: AppModelsUserUser
Any advice please? Am I doing something wrong?
Thanks!

Same issue here.

@divdax I had to create a fork until this gets fixed :)

Can someone test this work con master?
My old PC went to hell.

Hey, can we do something about this? Should raise a PR?

@DarkGhostHunter Hey, can we do something about this? Should raise a PR?

Pleas, hands full.

Raised #35 for this one. Can you please take a look?

authors: DarkGhostHunter divdax rudolfbruder

repo: DarkGhostHunter/Laraconfig


text:
Command name clashes with some commands in the MicrosoftTeams module

Steps to reproduce
Install-Module MicrosoftTeams

Install-Module VSTeam

Expected behavior
No error

Actual behavior

Environment data

> Get-VSTeamAPIVersion

> $PSVersionTable

I can get around this with Install-Module -Name VSTeam -Repository PSGallery -AllowClobber but it seems that this is aliases that are causing the issue.
Could the Aliases be removed in a future version?

Yes.  I did it originally for backward compatibility with the modules original release.

In version 6.0 the aliases are not exported by default. If you want to use the old aliases you can now run Set-VSTeamAlias.

authors: DarqueWarrior kilasuit

repo: DarqueWarrior/vsteam


text:
What is the syntax of http proxy? and does it support user login?

Hello,
I wonder what is the syntax, is it "host:port"? if that is correct then where to enter user details?
I am using NordVPN, and it requires to enter user details to login.

The syntax is just the URI syntax: http://username:password@host:port.
But make sure to percent-encode reserved characters in username and password. Especially when using an email adress @ needs to be encoded to %40.
For NordVPN this should look like:
 --httpProxy "http://something%40gmail.com:Pass123@us3837.nordvpn.com:80"

Thank you..
Cloud you write this into the readme?

Looks like using %40 instead of @ will result:
status: 407,
  statusText: 'Proxy Authentication Required',
  url: 'http://www.crunchyroll.com/videos/anime' }

but it works with @, so looks like this app takes care of encoding the url.

repo: DasKraken/CR-dl

license: Unlicense


text:
DUOS-594 Error feedback

Implements two types of user feedback: 1) a short message inline with the vote button, and 2) a boxed notification that slides in from the side. Please give any thoughts on how to clean it up or make it better!

Inline messages:

Error notification:

Just need to merge package.json before squashing.

authors: mackenziekerwin rushtong

repo: DataBiosphere/duos-ui


text:
[DUOS-442][risk=no] Clean up outdated API calls

Addresses
Partially addresses https://broadinstitute.atlassian.net/browse/DUOS-442
Changes

Remove as much functionality as possible from the DAR Renewal page since it is demo-only
Use the v2 create draft dar API from the catalog page
Clean up the unused v1 dar API calls

Have you read Terra's Contributing Guide lately? If not, do that first.
I, the developer opening this PR, do solemnly pinky swear that:

[ ] PR is labeled with a Jira ticket number and includes a link to the ticket
[ ] PR is labeled with a security risk modifier [no, low, medium, high]
[ ] PR describes scope of changes

In all cases:

[ ] Get a minimum of one thumbs worth of review, preferably 2 if enough team members are available
[ ] Get PO sign-off for all non-trivial UI or workflow changes
[ ] Verify all tests go green
[ ] Squash and merge; you can delete your branch after this
[ ] Test this change deployed correctly and works on dev environment after deployment

Just making sure, the demo component should not have any demonstrable functionality (with regards to saving, editing, etc.)?

@JVThomas - That is true, but this is still in draft, I'm not finished testing it. Had to put it down for other, more critical issues. Will likely get back to this in a day or two.

authors: JVThomas rushtong


text:
[AJ-1659] Attempt to decrease run time of DataTable tests

Attempting to decrease the run time of DataTable tests by having them render fewer rows, using a page size of 10 instead of 100.
Along the way, refactored mocks to simplify them and make them more realistic.
Before
$ yarn test DataTable.test
 PASS  src/workspace-data/data-table/shared/DataTable.test.ts (14.099 s)
  DataTable
    ✓ selects all (3111 ms)
    ✓ selects page (2847 ms)
    ✓ passes filters to getPaginatedEntities (2966 ms)
    ✓ selects filtered (3572 ms)

Test Suites: 1 passed, 1 total
Tests:       4 passed, 4 total
Snapshots:   0 total
Time:        14.46 s

After
$ yarn test DataTable.test
 PASS  src/workspace-data/data-table/shared/DataTable.test.ts
  DataTable
    ✓ selects all (721 ms)
    ✓ selects page (590 ms)
    ✓ passes filters to getPaginatedEntities (700 ms)
    ✓ selects filtered (775 ms)

Test Suites: 1 passed, 1 total
Tests:       4 passed, 4 total
Snapshots:   0 total
Time:        5.078 s, estimated 7 s

There is not. But users can change the page size, so the default shouldn't really matter.

repo: DataBiosphere/terra-ui


text:
When viewing grant as PI, only show grant you are PI on.

Update test data

For the moment we can do this by having users with the role of pi being pis and setting the creator attribute for stuff they are the pi on.

This was resolved as part of a test data update.

authors: htpvu markpatton

repo: DataConservancy/pass-ember


text:
[Logs]: Added Logs-Agent section to Agent status

What does this PR do?
Added a logic to compute the logs-agent status which gathers running time information about logs collectors.
Motivation
Report logs-agent status running datadog-agent status
Additional Notes
No test has been written to test whether TrackError or TrackSuccess is called at the right place
Output examples:
Running
==========
Logs-agent
==========

  logs
  ----
    Type: docker
    Status: Pending

    Type: file
    Status: Error: A file source must have a path

  logs_integration
  ----------------
    Type: docker
    Status: Pending

    Type: file
    Status: Error: A file source must have a path

Disabled
==========
Logs-agent
==========

  logs-agent is not running

Hey guys, noticed the "pending" status on my agent status for the Logs Agent but I don't know what this status actually mean?

authors: ajacquemot gottfrois

repo: DataDog/datadog-agent


text:
[DCA] Update Gitlab pipeline for DCA releases.

What does this PR do?
Tags for DCA releases must start with dca, like dca-1.0.0.

Add releasenotes/cluster-agent directory in root of project.

Limitations/Hacks

The proposed solution uses git tags that have the prefix dca- which means that the git tag doesn't conform to semantic versioning unless this prefix is ignored or removed.
All jobs in the pipeline for the agent need to have an except condition to not run for DCA release tags since the omnibus build for the agent fails because the git tag doesn't conform to semantic versioning.
Gitlab does not support running a job for a specific tag so the best we can do is exclude jobs for any git ref (branches or tags) matching the regex for dca releases.
When creating releasenotes for the DCA you must use the -d releasenotes/cluster-agent flag for reno.
The DCA image tag names will include the dca- prefix too.

Motivation
Prepare for DCA 1.0.0 release.

@hush-hush Can you take another look at this PR?

I changed the regex to require the - in the dca- prefix
I removed the invoke tasks for release notes. I will do this in another PR (ideally we just use the Agent's tasks for updating the CHANGELOG like you suggested)
I didn't add skip_on_cluster_agent_tag for jobs that have run_when_triggered since they shouldn't run anyway.


text:
add linux compatibility for diagnose port-conflict

What does this PR do?
Add linux compatibility for the diagnose port conflict suite. This builds on PR#25209.
Motivation
Making this feature available for Linux is make it much more useful since our customers are much more likely to be on Linux compared to MacOS.
Possible Drawbacks / Trade-offs
This PR will make this feature available for MacOS and Linux. Windows will come after.
Describe how to test/QA your changes
Check that the diagnose suite works properly for Linux and Darwin:

when the agent isn't running and there is no port issue
when the agent is running and there is no port issue (the agent is detected as being the agent, so no issue is raised)
when some port is used by another process, it is reported
You can use netcat to bind to a port:

netcat -nvlp 6062

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

/merge


text:
Monitor "comparison" field is missing

There is no "comparison" field in the monitors. All monitors alert when a value is "greater than (>)". There is no way to say "less than (<)".
See this file for the definition: https://github.com/DataDog/datadog-cloudformation-resources/blob/master/datadog-monitors-monitor-handler/datadog-monitors-monitor.json
See the "export" from Datadog:

Solution
Add the "Comparison" field, probably about here: https://github.com/DataDog/datadog-cloudformation-resources/blob/26f4473a78445b941e1b5a982f31a5b3be21a1ff/datadog-monitors-monitor-handler/datadog-monitors-monitor.json#L54
Thanks!

Related subject: https://github.com/DataDog/datadog-cloudformation-resources/issues/209

Still valid.

@hlascelles thanks for opening this. What does your query look like? The comparison should be controllable by the query. For example: "avg(last_5m):avg:kubernetes.cpu.user.total{kube_namespace:spi-ci,cluster_name:boop-dev-blue} by {pod_name} <= 2"
Can you update your query and let us know if that works for you?

Yes, that does work, thanks! I think the comparitor is still missing from where it should be, but that alternative works fine. Thanks!

authors: hlascelles skarimo


text:
Plugin exception when running web app

Hi there, I'm testing the plugin on a web application I develop and a I came across this exception when trying to set up the app:
Error: MissingPluginException(No implementation found for method setSdkVerbosity on channel datadog_sdk_flutter)
That's my main code:
final configuration = DdSdkConfiguration(
        clientToken: ***,
        env: injection.flavor.environment.name,
        site: DatadogSite.us1,
        trackingConsent: TrackingConsent.granted,
        nativeCrashReportEnabled: true,
        loggingConfiguration: LoggingConfiguration(
          sendNetworkInfo: true,
          printLogsToConsole: true,
        ),
        rumConfiguration: RumConfiguration(
          applicationId: ***,
        ),
      );

      final ddsdk = DatadogSdk.instance;
      ddsdk.sdkVerbosity = Verbosity.verbose;

      await DatadogSdk.instance.initialize(configuration);

      FlutterError.onError = (FlutterErrorDetails details) {
        FlutterError.presentError(details);
        ddsdk.rum?.handleFlutterError(details);
      };

      runApp(
        AppWidget(
          ...
        ),
      );

Even without setting the sdkVerbosity or providing a logging configuration, the exception happens
Additional context

Dart/Flutter version:

Flutter 3.7.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 90c64ed42b (2 weeks ago) • 2023-03-21 11:27:08 -0500
Engine • revision 9aa7816315
Tools • Dart 2.19.5 • DevTools 2.20.1

Datadog SDK version:
  datadog_flutter_plugin: ^1.3.2

Hey @jorgelrj
This one really stumps me. If you're not setting sdkVerbosity there should be no reason for you to end up at that call stack. More importantly, on web we should be replacing the Platform in such a way that it should never use the method channel.
I have one other report of this, but it's with Release mode only. Is that true for you as well?

@fuzzybinary Yes, sorry I forgot to mention it. Only happens on the deployed app built in release mode. Testing it locally works fine

@jorgelrj Does testing the same build work locally, but not when deployed?
If you run:
flutter build web --release --web-renderer canvaskit --pwa-strategy=none
cd build/web
python3 -m http.server 8080

And go to the site locally, does it work? If so, I'm wondering if where you're deploying is doing something weird.

@fuzzybinary
I did two tests here, I built the app running only flutter build web and it it worked on the local server, but when I added the --source-maps flag that I use on my ci flow, I got the same exception again

@jorgelrj I can't reproduce this, but it looks like it might be something related to issues with the generated_plugin_registrant.dart file, similar to this issue https://github.com/fluttercommunity/plus_plugins/issues/1270
The fix for them was updating the plugin to specify versions of Flutter > 2.11, but at the moment we support 2.8/
If you're so inclined, you can pull the repo locally, change the pubspec.yaml to set flutter: ">=2.11.0, depend on that module from the path and see if that fixes your issue.
If it does let me know and I'll see if we can update to support 2.11.0+ and publish a new version.

Hey @fuzzybinary,
Just test it here and setting flutter: ">=2.11.0" did get it to work 👍

Okay, thanks @jorgelrj .  I'll see if we can update our min-version for 1.4

@fuzzybinary I'm getting the exact same error in web only in release mode (not in debug mode)
My initialization code:
final configuration = DatadogConfiguration(
  clientToken: ***,
  env: 'staging',
  service: ***,
  site: DatadogSite.us1,
  nativeCrashReportEnabled: true,
  loggingConfiguration: DatadogLoggingConfiguration(),
);
await DatadogSdk.instance.initialize(configuration, TrackingConsent.granted);

Additional context:
Flutter version: 3.16.2
Dart version: 3.2.2
Environment: sdk: '>=3.1.2 <4.0.0'
Datadog package version: datadog_flutter_plugin 2.3.0

Weird, I wonder if something regressed on the Flutter side. I'll reopen this and take a look as soon as I can.

Hi @lirantzairi,
I just checked this quickly on Flutter 3.19.2 and 3.16.2 didn't receive the error.  How are you trying to access your Flutter web app? Opening the html usually does not work, so you have to run a web server in your build/web directory (I usually just use the built in python web server for testing).
If you're still having the issue, can you give me any more information about your setup that might help me determine what's going wrong?

Same issue with flutter 3.19.3 and
datadog_flutter_plugin: ^2.3.0
datadog_tracking_http_client: ^2.1.0

Hi @lirantzairi,
I just checked this quickly on Flutter 3.19.2 and 3.16.2 didn't receive the error. How are you trying to access your Flutter web app? Opening the html usually does not work, so you have to run a web server in your build/web directory (I usually just use the built in python web server for testing).
If you're still having the issue, can you give me any more information about your setup that might help me determine what's going wrong?

Hi @fuzzybinary, I use Firebase Hosting for deploying my web app. By "release mode" I meant to say that it happens in a fully deployed web app.

Hi folks --
Sorry for the delay here, but I still cannot reproduce.
After building, can you check that your generated_plugin_registrant.dart contains the following:
DatadogSdkWeb.registerWith(registrar);
registrar.registerMessageHandler();

Also, I'm seeing reports from others with similar issues that a clean rebuild occasionally fixes the issue for them. Can you confirm that doesn't work?

Going to close this as I was unable to reproduce and haven't heard of anyone else having this issue.

authors: fuzzybinary jorgelrj lirantzairi opsb

repo: DataDog/dd-sdk-flutter


text:
Execution failed for task ‘:datadog_flutter_plugin:compileDebugKotlin’.

Stack trace
file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumEventMapper.kt:30:22 Unresolved reference ‘PerformanceTracker’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumEventMapper.kt:31:32 Unresolved reference ‘PerformanceTracker’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumEventMapper.kt:80:44 Unresolved reference ‘asFlutterMap’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumEventMapper.kt:102:44 Unresolved reference ‘asFlutterMap’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumEventMapper.kt:135:44 Unresolved reference ‘asFlutterMap’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumEventMapper.kt:165:44 Unresolved reference ‘asFlutterMap’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumEventMapper.kt:215:44 Unresolved reference ‘asFlutterMap’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:76:29 Unresolved reference ‘DatadogSdkPlugin’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:97:20 Unresolved reference ‘invalidOperation’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:131:17 Unresolved reference ‘DatadogSdkPlugin’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:172:19 Unresolved reference ‘DATADOG_FLUTTER_TAG’.
file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:200:29 Unresolved reference. None of the following candidates is applicable because of a receiver type mismatch:
@InlineOnly() fun <T, R> T.let(block: (T) -> R): R
[R|Contract description]
<
CallsInPlace(block, EXACTLY_ONCE)
>
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:200:33 Cannot infer type for this parameter. Please specify it explicitly.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:201:67 Unresolved reference ‘trackViewsManually’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:202:66 Unresolved reference ‘trackInteractions’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:203:60 Unresolved reference ‘trackErrors’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:204:69 Unresolved reference ‘trackNetworkRequests’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:205:65 Unresolved reference ‘trackNativeViews’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:207:20 Unresolved reference ‘trackCrossPlatformLongTasks’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:209:20 Unresolved reference ‘trackFlutterPerformance’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:210:60 Unresolved reference ‘dartVersion’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:231:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:252:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:262:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:278:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:299:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:321:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:343:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:356:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:369:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:382:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:393:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:403:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:416:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:438:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:449:20 Unresolved reference ‘missingParameter’.
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ‘:datadog_flutter_plugin:compileDebugKotlin’.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details

Reproduction steps
When executing flutter
Volume
all
Affected SDK versions
2.7.0 - 2.9.0
Latest working SDK version
2.7.0 - 2.9.0
Does the crash manifest in the latest SDK version?
Yes
Flutter Version
No response
Setup Type
No response
Device Information
No response
Other relevant information
When running flutter, is solved by running a flutter clean and pubget, it should be noted that I happened in version 2.7.0 and then I uploaded the version to 2.9.0 and happened again until I did the step mentioned at the beginning.

Hi @jtavio ,
I've seen this before and actually have no idea what causes it, but it appears it's caused by some weird disconnect between what the Flutter plugin wants and what Gradle has actually downloaded, which is why a clean rebuild solves it. It might also be caused by some Gradle cache issue...
After doing  a clean rebuild, do you ever see the problem again before performing an upgrade?

@fuzzybinary
Thanks for the answer!
correct to run a ‘flutter clean’ and then a ‘pub get’. is solved, if you need to close the bug, you could do or investigate a little more ?

Yes, I'll continue to look into it to see if it's something weird about how our SDK specifies its dependencies, but since it has a relatively simple workaround it likely won't be high priority.

authors: fuzzybinary jtavio


text:
Introduce compatibility layer for version detection

What does this PR do?
Add a compatibility layer in the util/headers file to properly detect agent version between A5 and A6
Side note - Remove the compatibility import from apache
Motivation
agentConfig is deprecated in Agent 6, and datadog_agent should be used instead.
See https://github.com/DataDog/datadog-agent/blob/6a0668670fe37784b09073556fd198027e477e2d/docs/dev/checks/python/datadog_agent.md for more info. (The use of from util import headers is deprecated in A6)
Review checklist

[ ] PR has a meaningful title or PR has the no-changelog label attached
[ ] Feature or bugfix has tests
[ ] Git history is clean
[ ] If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo

Additional Notes
Its unclear to me if I should use the datadog_agent.headers() function directly if available and if that is something we'd want to keep in the Agent instead of checks_base.

Codecov Report

Merging #2577 into master will decrease coverage by 8.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #2577      +/-   ##
==========================================
- Coverage   83.65%   75.63%   -8.02%
==========================================
  Files         634       45     -589
  Lines       36354     3230   -33124
  Branches     4438      380    -4058
==========================================
- Hits        30411     2443   -27968
+ Misses       4624      691    -3933
+ Partials     1319       96    -1223

authors: codecov-io nmuesch

repo: DataDog/integrations-core


text:
🛑 Bar is down

In e8f1534, Bar (https://bar.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bar is back up in b8a87cf after 8 minutes.

repo: DataEnsta/upptime


text:
🛑 Vote is down

In b1185e4, Vote (https://vote.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Vote is back up in 865ccab after 9 minutes.


text:
File with hosts isn't specified, or doesn't exist - despite providing the file in cmd

Hi,
I'm running such a command:
./collect_diag.sh -t "dse" -f /home/ec2-user/devops/repos/diagnostic-collection/dse_nodes -o /mnt/shared/dse_diagnostics/20210614_1440
And for some strange reason getting:
File with hosts isn't specified, or doesn't exist, using 'nodetool status'
I added some debug options and this is what I see (added set -eux)
./collect_diag.sh -t "dse" -f /home/ec2-user/devops/repos/diagnostic-collection/dse_nodes -o /mnt/shared/dse_diagnostics/20210614_1440
+ '[' 4 -lt 4 ']'
+ NT_OPTS=
+ CQLSH_OPTS=
+ DT_OPTS=
++ pwd
+ OLDWD=/home/ec2-user/devops/repos/diagnostic-collection
++ mktemp -d
+ OUT_DIR=/tmp/tmp.aNy02q0NF7
+ TIMEOUT=600
+ HOST_FILE=
+ SSH_OPTS=
+ NT_OPTS=
+ COLLECT_OPTS=
+ REMOVE_OPTS=
+ INSIGHT_COLLECT_OPTS=
+ VERBOSE=
+ TYPE=
+ ENCRYPTION_KEY=
+ TICKET=
+ S3_BUCKET=
+ DSE_DDAC_ROOT=
+ getopts :hzivrk:c:n:d:f:o:p:s:t:u:I:m:e:S:K:T:B:P: opt
+ case $opt in
+ TYPE=dse
+ getopts :hzivrk:c:n:d:f:o:p:s:t:u:I:m:e:S:K:T:B:P: opt
+ case $opt in
+ HOST_FILE= /home/ec2-user/devops/repos/diagnostic-collection/dse_nodes
+ getopts :hzivrk:c:n:d:f:o:p:s:t:u:I:m:e:S:K:T:B:P: opt
+ case $opt in
+ OUT_DIR= /mnt/shared/dse_diagnostics/20210614_1440
+ getopts :hzivrk:c:n:d:f:o:p:s:t:u:I:m:e:S:K:T:B:P: opt
+ shift 4
+ echo 'Using output directory:  /mnt/shared/dse_diagnostics/20210614_1440'
Using output directory:  /mnt/shared/dse_diagnostics/20210614_1440
+ check_type
+ '[' dse '!=' ddac ']'
+ '[' dse '!=' coss ']'
+ '[' dse '!=' dse ']'
+ '[' dse = ddac ']'
+ TMP_HOST_FILE=
+ echo 'HOST_FILE:  /home/ec2-user/devops/repos/diagnostic-collection/dse_nodes'
HOST_FILE:  /home/ec2-user/devops/repos/diagnostic-collection/dse_nodes
+ '[' -z  /home/ec2-user/devops/repos/diagnostic-collection/dse_nodes ']'
+ '[' '!' -f  /home/ec2-user/devops/repos/diagnostic-collection/dse_nodes ']'
+ echo 'File with hosts isn'\''t specified, or doesn'\''t exist, using '\''nodetool status'\'''
File with hosts isn't specified, or doesn't exist, using 'nodetool status'
+ TMP_HOST_FILE= /mnt/shared/dse_diagnostics/20210614_1440/diag-hosts.2116
+ nodetool status
./collect_diag.sh: line 198: nodetool: command not found
+ grep -e '^UN'
+ sed -e 's|^UN [ ]*\([^ ]*\) .*$|\1|'
./collect_diag.sh: line 198:  /mnt/shared/dse_diagnostics/20210614_1440/diag-hosts.2116: No such file or directory

while:
cat /home/ec2-user/devops/repos/diagnostic-collection/dse_nodes
cassandra-1.
cassandra-2
cassandra-3
cassandra-4

Checked the script, conditional looks pretty legit, file permissions also:
ls -alh /home/ec2-user/devops/repos/diagnostic-collection/dse_nodes
-rw-rw-r-- 1 ec2-user ec2-user 124 Jun 14 12:50 /home/ec2-user/devops/repos/diagnostic-collection/dse_nodes

running this as a ec2-user. Tried with bash, zsh - no luck.

@zen could you please let us know if you're running with the same problem when running with bash4? bash4 is required only for collect_diag.sh, not really for collect_node_diag.sh.

authors: msmygit zen

repo: DataStax-Toolkit/diagnostic-collection


text:
#tabbar fades in

Firstly, thanks for all your hard work... it's truly amazing!
I noticed that the #tabbar fades in. I wanted to stop this, so scoured the code couldn't find anything.
I posted on the jQTouch google group, but decided to come back to this again and see if I could find what was causing it.
Hopefully I can be helpful as I have now found what is causing the issue (and, if it doesn't sound cheeky, it doesn't seem to be intentionally coded to animate):
The animated fade in is due to the way that the JQuery .show()
function is being called in jqt.bars.js:
line 632:
$('#tabbar').show(function () {
_debug('initTabbar hide tabbar');
setPageHeight();
setBarWidth();
});

JQuery's API says that the function is either:
.show()

or
.show( duration [, callback] )

As line 362 only uses one variable when calling the .show() function,
JQuery assumes that it is using the function to determine how long to
take to show the #tabbar.
By changing line 362 to the following, it all works...
$('#tabbar').show(0,function () {

Anyway, thanks again to jQTouch and datazombies! Loving all your hard work.

I tested it and, you're right. I needed the "0, ". I've updated the code.
Thanks!

authors: DataZombies PoZel

repo: DataZombies/jQTouch


text:
image not found

ERROR: Error: image library/crane:1.0 not found

please give more input. are you doing refer the https://github.com/Dataman-Cloud/crane/blob/master/release/v1.0.5/README.md

是不是因为国内网络问题啊
Pulling crane (crane:latest)...
Pulling repository docker.io/library/crane
ERROR: Error: image library/crane:latest not found

The tag is not latest, try the commandCRANE_IP=X.X.X.X VERSION=v1.0.5 ./deploy.sh and make sure VERSION=v1.0.5 please, more detail: https://github.com/Dataman-Cloud/crane/blob/master/release/v1.0.5/README.md#国内

Can not reproduce this issue, I will close it.

crane-master/release/v1.0.5/deploy.sh
[root@localhost v1.0.5]# echo $VERSION
v1.0.5
[root@localhost v1.0.5]# TAG=${VERSION:-1.0}
[root@localhost v1.0.5]# echo $TAG
v1.0.5
[root@localhost v1.0.5]# ./deploy.sh
Checking the node status
net.ipv4.ip_forward = 1
-> Checking docker runtime environment...
Checking docker runtime environment...DONE
-> Checking docker TCP Socket...
Docker TCP Socket 2375 opened...DONE
-> Checking docker rules on Iptables...
Checking docker rules on Iptables...DONE
-> Checking SELinux by command getenforce...
SELinux has been stopped  as desired.
-> Checking NTP service status...
synchronised to NTP server (10.72.8.10) at stratum 6
time correct to within 276 ms
polling server every 1024 s
NTP service status seems good...DONE
Trying to init swarm cluster
Swarm: active
Swarm cluster have been running!
Pulling crane (catalog.shurenyun.com/library/crane:1.0)...
Pulling repository catalog.shurenyun.com/library/crane
ERROR: Error: image library/crane:1.0 not found

我发现是 脚本export变量没有生效，怎么回事，Linux新手

@khs1994 you need set env with deploy.sh
such as:
CRANE_IP=X.X.X.X VERSION=v1.0.5 ./deploy.sh
the CRANE_IP is your host real ip, ex eth0 ip

repo: Dataman-Cloud/crane