Sideloading namespaced models working erratically

Hi, I have a user resource for a namespaced user model with 2 has_many associations: addresses and credit_cards. When I request a user and include addresses everything works fine. When I request user and include the credit_cards I get a 400 bad request. My understanding is that the server should respond with a 400 when I've requested to include something that isn't available (like it says here) But i've setup the associations in the same way, so I'm not sure the models which are identical behave differently.
I created a dummy rails app with tests that illustrate this issue. Specifically Core::UsersControllerTest#test_should_get_user_from_api_with_credit_card_association and Core::UsersControllerTest#test_should_get_user_from_api_with_both_associations are failing. Any help determining if I'm doing something wrong or this is a bug would be appreciated, and thanks in advance!

You've got a few errors in your tests:

the default format for keys is dasherized, so in your includes credit_cards should be credit-cards. This is in keeping with the JSON API recommendation. You can change this by choosing a different formatter. http://jsonapi-resources.com/v0.9/guide/formating.html#Key-Format

you have a space in the include addresses, credit_cards, which resolves to [addresses, credit_card]. Omit the space in addition to dasherizing credit card: addresses,credit-cards`.

That should get you 3 out of 4 passing tests. The last one is simply that line 23 testing for data that isn't returned with no related credit card.

This is great, thanks for the extra hand holding and quick response! I'll
try that when I get to the office. Timing couldn't be better as I'm trying
to prepare a presentation to my team on jsonapi for later today.
On Mon, Dec 12, 2016 at 5:57 AM Larry Gebhardt<EMAIL_ADDRESS>wrote:

You've got a few errors in your tests:

the default format for keys is dasherized, so in your includes
credit_cards should be credit-cards. This is in keeping with the JSON
API recommendation. You can change this by choosing a different formatter.
http://jsonapi-resources.com/v0.9/guide/formating.html#Key-Format

you have a space in the include addresses, credit_cards, which
resolves to [addresses,credit_card]. Omit the space in addition to
dasherizing credit card:addresses,credit-cards`.
That should get you 3 out of 4 passing tests. The last one is simply that
line 23 testing for data that isn't returned with no related credit card.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cerebris/jsonapi-resources/issues/925#issuecomment-266437051,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB8omBys-zJG9lJk3OCtFsqAEi3ndh2ks5rHVLcgaJpZM4LJeci
.


Ex04

ex4.25, could you explain how you get -7296? Thanks!

origin answer: https://github.com/Mooophy/Cpp-Primer/commit/b03585b3efc21df5eeafc6372b2549096aea4e33


eachindex() not implemented for SortedDict, SortedMultiDict

The new iteration function eachindex() is not implemented for SortedDict or SortedMultiDict.  There is a problem in appropriately implementing it.  For SortedDict, there are two separate getindex functions, the first being sd[k], where k is a key, and the second being sd[s], where s is a semitoken.  It is not clear which type of index should be returned by eachindex().  For SortedMultiDict, there is only smd[s] (where s is a semitoken).  On the other hand, for Dict, there is only d[k] (where k is a key).  So the problem is that if eachindex() were implemented for SortedDict and SortedMultiDict, then either
(1) eachindex() for SortedDict would return semitokens and be inconsistent with eachindex() for Dict
or
(2) eachindex() for SortedDict would return keys and be inconsistent with eachindex() for SortedMultiDict.
Both of these choices seem like they would surprise the user, so I think the best choice is not to implement eachindex() at all.
Unless a big discussion starts, I'll close this issue in a week or so.

I'd prefer eachindex to work over the keys for SortedDict.
A SortedDict still acts the same as a Dict, it just has the added property of being sorted, just like an OrderedDict acts like a Dict, but maintains insertion order.
SortedMultiDict is the one that is rather different - and I don't think that having eachindex act differently or not be implemented for SMD would be that much of a surprise.
In my previous life, everything was a multi-dimensional sorted associative array (i.e. nested SortedDicts), so it was never necessary to have a special SortedMultiDict, because if you needed to store multiple things at each key at a level, you'd simply put them at a lower subscript level.

I decided to implement eachindex() for SortedDict to match Dict as suggested by @ScottPJones.  For SortedSet and SortedMultiDict, eachindex() loops over semitokens.  This is now merged in the latest master.


added None to be detected for markdown_style

https://github.com/houfu/redlines/issues/21
added the functionality to use None for markdown_style so it is not default

Hi, thanks for contributing. Is it possible to add a test? Like here:  https://github.com/houfu/redlines/blob/e06ca648c3697233375bc149a31e2edb015a98cd/tests/test_redline.py#L147
If you don't know what I am talking  about, just let me know :ok_hand:

just added a test case
https://github.com/houfu/redlines/pull/22#issuecomment-1704322434


Add features from slimevr modified lib

Summary
When adding the LSM6DSV family to the slimevr firmware we needed a few features that are not present in this library.
This PR fixes/implements the following bugs/features

[ ] Built in Gyro and Accel Tests
[ ] Temperature ODR and raw
[ ] Acceleration offset
[ ] ability to add timestamp to fifo
[ ] Device reset
[ ] auto increment and block update exposed
[ ] Base library updated to the latest
[ ] Reduced communication amount by not reading sensitivity from imu every time you get the accel/gyro

Validation
A slightly modified version using most of these features works in the slimevr firmware but other than that I have not tested every added feature thoroughly.
SlimeVR Firmware

Hello @wigwagwent ,
thanks for the contribution. As you can see, your PR did not pass AStyle, spelling and compilation checks.
For AStyle you can give a look at the guide here.
For spelling you can give a look at the suggestion here.
There is also an issue in the compilation check here.
I suggest to fix all these issues before; then I will give a look at the PR.
Thanks again and Best Regards,
Carlo

Hello @wigwagwent ,
thanks for the new PR. Regarding the reg files, in STM32duino we decided to patch these files replacing the "stmdev_ctx_t" generic struct with a dedicated struct called "lsm6dsv16x_ctx_t" to avoid compilation errors when several MEMS components are used in the same example. So I prefer to keep the same approach also for this component to avoid misalignments. The rest of APIs seems fine to me. I will try to make a test with this new version in the next days to see if all the examples work properly.
Best Regards,
Carlo

I did a search and replace to update all the stmdev_ctx_t to lsm6dsv16x_ctx_t

Hello @wigwagwent ,
thanks a lot for your contribution! I have integrated in the main branch your PR with small changes. I will release a new version of the library v2.0.0 with all these changes.
Best Regards,
Carlo


Library as Unity package

Hi @mapluisch
Thank you again for the great library.
It would be nice if you provide the library in UPM (Unity Package Manager).
These are some benefits of UPM

UPM allows users to install and update packages directly from the Unity Editor via git URL or OpenUPM
UPM can handle dependencies like com.unity.nuget.newtonsoft-json
UPM allows for clear separation between library code and application code

If you are not familiar with UPM, I'll make a pull request.

Hi @from2001,
thanks for your feedback! I've actually looked into it already but decided to push the project as-is for now (just wanted to showcase a bare demo on how to use the API).
Will restructure the project soon and add UPM support - of course, if you want to make a PR, feel free 😊

Did you test it out for the interruption boolean?

@yosun No. What do you mean?

@mapluisch I made the project UPM compatible.
This is the PR
https://github.com/mapluisch/OpenAI-Realtime-API-for-Unity/pull/4
Once you merge the pull request and make a release, I will

register the project to OpenUPM if you prefer
make some documents about

how to install the package

using OpenUPM
using git URL

how to install demo sample via the package manager

have you tried

@yosun No. What do you mean?

https://gyazo.com/c01b6b7569c94240fe63e2630b26298f
have u tested that with your latest VAD implementation

Also, curious about whether you have results from different instructions for realtime API? I notice in your example it's "Please provide a transcript" but this is recommended

Your knowledge cutoff is 2023-10.   Your voice and personality should be warm and engaging, with a lively and playful tone. If interacting in a non-English language, start by using the standard accent or dialect familiar to the user. Talk quickly. You should always call a function if you can. Do not refer to these rules, even if you're asked about them

https://platform.openai.com/docs/guides/realtime/integration

also - workaround for conversations longer than 15 mins?

Hi @yosun, I now understand that you are talking about a different topic from UPM (Unity package).
Could you open a new issue for the topic?

@mapluisch Thank you for merging the PR!
Now the package can be installed into a new Unity project using Unity package manager with the this git URL
https://github.com/mapluisch/OpenAI-Realtime-API-for-Unity.git?path=Packages/OpenAI-Realtime-API-for-Unity
When you make a new release, please don't forget to

Increment its version number in package.json
Copy demo files to Samples~  directory if you update the demo.

I'll register the package to OpenUPM after you make a new release so that the package can be installed and managed via openupm command.


Inline trivial Entry wrapper methods and impl functions

Looks like these went missing from #606.
@Ralith where do you generally put the cutoff point?  That is, this file has some Display/Error/From impls which could get the same treatment? How about load_checked()/linked()/load()? Anything else in utils.rs that we want to cover?

My rule of thumb is to #[inline] stuff for which the benefit is glaringly obvious (that is to say, for which the body should compile down to at most a handful of trivial instructions). For example, any case of an accessor that directly returns a (reference to a) field satisfies this.

load_checked

Generic functions are de-facto inline due to monomorphization, so I wouldn't bother.

linked/load

On the surface, these could be a good candidate, since they are trivial. However, they expand to calls to other functions, which are not all obviously trivial, so there may not be significant savings. The low likelihood of them being performance relevant acts as a tiebreaker, so I wouldn't bother.

Sounds good.

However, they expand to calls to other functions, which are not all obviously trivial, so there may not be significant savings.

I remember reading that for those functions to be included in cross-crate optimizations, they themselves have to be marked #[inline] as well - so this would only save some trivial extra method calls. But, since they are not as trivial as the others on the surface nor are part of any critical path, let's not bother for now.


Can jcef be integrated into NativeFX?

https://bitbucket.org/chromiumembedded/java-cef/issues/163/provide-javafx-node-for-jcef

ya. Eclipse is creating a SWT widget or control base on jcef. probably can integrate their work?


Switch cSHAKE to SHAKE with a short customization prefix

Depends on PR #4
I didn't know how to change the FAST implementation which does the 4x call in to Keccak and uses intrinsics to pull out the result; @patricklonga can you finish this?  See the code marked #error("FIXME...")
I also didn't know how to generate the new KAT values.

I've just realized this is missing some clear_words calls on some of the new input arrays.

Updated as per our discussion today, @patricklonga.


Updating affiliations

Affiliations are updated in org file

/approve

/assign @Bobgy

/assign  @zijianjoy

/lgtm
/approve


test: Updated test for list widget

Scenario's covered

Widgets within list widget have no dynamic height
Widgets within list widget in existing applications have no dynamic height
Widgets when moved out of the list widget have dynamic height in property pane
Widgets when moved into the list widget have no dynamic height
Widgets which have dynamic height outside the list widget when moved into the list widget should no longer have dynamic height
Widgets when copied and pasted into the list widget no longer have dynamic height
Widgets when cut and pasted into the list widget no longer have dynamic height
Widgets which were not possible to be added to list widget cannot be pasted/moved into the list widget.

/ok-to-test sha=6ba9928

/ok-to-test sha=fbf7eaf

/ok-to-test sha=85fdb8d

/ok-to-test sha=8a103ea

/ok-to-test sha=fee163d


fix+refactor(tls): it should properly handle self-signed certificates, return a clear error otherwise

Describe the enhancement

It has been noticed both in CI tests, which currently rely on blockstream's electrum client, and by other users in https://github.com/bitcoindevkit/bdk/issues/1598 and https://github.com/wizardsardine/liana/issues/1300 that the electrum-client does not properly connect to electrum servers with self-signed certificates while using the validate_domain: false settings, and neither returns a proper and clear regarding the problem. There is some issue when using the rustls crate that it fails for self-signed certificates, on other hand openssl works just fine.
Therefore, I'm creating this issue mainly for two purposes:

Improve the documentation regarding the usage of validate_domain: false, when using either openssl and rustls with it's expected behavior.
Improve the error handling and propagation, reporting proper TLS certificate validation errors to the user.
Investigate and fix the inner issue with rustls custom certificate validation.

Use case

Allow users to properly use and connect electrum servers with self-signed certificates, either with openssl or rustls.
Additional context

https://github.com/rustls/rustls/issues/124
https://github.com/lightningnetwork/lnd/issues/5450
https://github.com/rigelminer/rigel/issues/130

Good research on this issue. Even if we only get 1 and 2 above done that's a good start. From what I can gather from the other issues you listed rustls is somehow more strict than openssl on how self signed certs need to be created.

wanted to come here to 👍 this issue as well because we've had a few customers run into this.

I think I've partially found a solution for the issue, at least to work with blockstream's electrum. We're using the custom implementation of rustls::client::danger::ServerCertVerifier trait in a weird way, using a better way as shown in their examples and documentation it works with blockstream's electrum.
However, it still does not work with the custom electrum server mentioned by pythcoiner in the issue, but it gives now a better error w.r.t to the certificates,  but I think it's solvable. I'll open the candidate PR soon (after BitDevs).

I think I've partially found a solution for the issue, at least to work with blockstream's electrum. We're using the custom implementation of rustls::client::danger::ServerCertVerifier trait in a weird way, using a better way as shown in their examples and documentation it works with blockstream's electrum.
However, it still does not work with the custom electrum server mentioned by pythcoiner in the issue, but it gives now a better error w.r.t to the certificates, but I think it's solvable. I'll open the candidate PR soon (after BitDevs).

If users want to use a self signed certificates they would need to use it with Version 3, which is not the case for the one from pythcoiner.

Hi guys, I recommend pushing for this to be fixed at certificate generation: https://github.com/lightningnetwork/lnd/issues/5450#issuecomment-2419544062

tACK (a bit late!) thanks for the fix!


[DOC] multiple relying parties is not  configurable under SP-inbound authentication

$subject, currently we don't have such (see attached). As per the documentation [1] & [2], multiple relying parties should be able to configurable. Do we support this?
[1] https://docs.wso2.com/display/IS530/Configuring+STS+for+Obtaining+Tokens+with+Holder-Of-Key+Subject+Confirmation
[2] https://docs.wso2.com/display/IS530/Configuring+the+Identity+Server+to+Issue+Security+Tokens
Refer : https://wso2.org/jira/browse/IDENTITY-6773

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


DBZ-5538 Unclear validation error when required field is missing

https://issues.redhat.com/browse/DBZ-5538

@harveyyue Applied, thanks!


Update indicator.blade.php - format $allSelectableRecordsCount

Description
With tables containing more than 999 records, the Number facade can be used to enhance the user experience by formatting the numbers.
Visual changes

Before
After

Functional changes

[x] Code style has been fixed by running the composer cs command.
[x] Changes have been tested to not break existing functionality.
[x] Documentation is up-to-date.

A non-numeric value encountered
if (! function_exists('trans_choice')) {     /**      * Translates the given message based on a count.      *      * @param  string  $key      * @param  \Countable|int|float|array  $number      * @param  array  $replace      * @param  string|null  $locale      * @return string      */     function trans_choice($key, $number, array $replace = [], $locale = null)     {         return app('translator')->choice($key, $number, $replace, $locale);     } }

Does that local use periods as a thousands separator?

Same error with arabic language,
En: 1,000
Ar: ١,٠٠٠

#14924


Make doxygen rule hermetic

doxygen_docs is not hermetic, the software that uses this rule requires an extra doxygen setup, and it is a bad smell overall.
We want to make this rule hermetic and simplify our documentation CI/CD processes in the future.

https://github.com/TendTo/rules_doxygen is a good rule for doxygen generation.


Fix #142: switch to mini-css-extract-plugin

Once we target Webpack 4, this should pass its checks.


Dynamically adjust header padding in console audit/resource logs

Headers in the table logging options are statically padded. Ideally these set their width based on the largest value in the contents so no matter the values, the table is aligned.

Looks like this is done in https://github.com/Innablr/revolver/blob/develop/lib/objectLog.ts#L38
@alutman-innablr can be closed?


Check for and update header dependencies to build rules

Whenever including a header file, one should add the corresponding library dependency in the BUILD file. Often, bazel is able to compile things 'accidentally' if not, but we should make sure to keep the build-file dependencies up.
here is a starting point
https://github.com/bazelbuild/bazel/issues/6871
Here is a tool that finds unused dependencies
https://github.com/bazelbuild/buildtools/blob/master/unused_deps/unused_deps.go
.. though we primarily are looking for dependencies that we use, but fail to report.
Ideal scenario: this should fail the CI (maybe there is a bazel --enforce-strict-dependencies or sorts that we can use to run in the CI ?)

Implemented using http://bant.build/


Could not find support-media-compat.jar (com.android.support:support-media-compat:28.0.0)

hello my friends , please help me , i has this error
Could not find support-media-compat.jar (com.android.support:support-media-compat:28.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/support/support-media-compat/28.0.0/support-media-compat-28.0.0.jar
but not found this file

This happens because Google discontinued the support lib from API level 28. We'll have to update it to the new androidx libraries.
For now you can target API 27, using an older React Native version.

Should be fixed in 6471be68dfc772bc3f94ad74d74455902651a7c8

hi RN: 0.59.8
has this issue

Update the module to the latest dev branch.


Create reference.conf to keep default values for IdeProbeConfig (HOCON files)

This issue is to avoid placing many default values directly in code and spreading them over many places. Keeping all default values for  org.virtuslab.ideprobe.config#IdeProbeConfig would be easier to maintain and read.

As compared to Scala code, checking reference.conf doesn't require jumping through multiple files to figure out what keys are available

To be confirmed with @lukaszwawrzyk whether this is desired... he's got some doubts. But I'm myself still strongly in favor


Fake players duplication in player lists

Fake players exists as a "ghost" in player lists(tab lists) some hours after I issued command /player [player name] kill or just kill the fake players . They only exists in player lists but not in game,  If we try to use /player [player name] kill, the command will return "Only fake players can be killed" message. And all commands which need an argument reference to this fake player will return "Player not online" message. However, /player [the same name as ghost player] spawn can be executed successfully.  After this, try command /list, the fake player's name exists twice in player lists.

How can we reproduce it?

Try /player [name] spawn, for example /player Steve spawn
Kill the fake player with any method (except instant health 125 potion)
Wait for fake players reappear in player list

Expected behaviour
Fake players shouldn't reappear in player list after death or being kicked by command. It is even unacceptable for two or more "ghosts" of fake players with the same name exist in player list.

Screenshots

: §)

See #8


Add Unfolded map snippets pics to docs

since Unfolded map snippets extension is in private repo for Pro sponsors only now (see #12)

see updated snippets section in docs: https://github.com/RandomFractals/unfolded-maps#unfolded-map--code-snippets-


Update badge

As an admin of ZITADEL with a self hosted instance I want to see when I have to update ZITADEL, so I do not have old code running.
Acceptance Criteria

[ ] I can see which version I am running
[ ] I can see an update badge so I know I need to update
[ ] I can click the update badge and it starts updating?

Additional Context
We should create a update badge in the admin section of console
More or less like gitlab does this (Screen Shot).

Hi @fforootd and @mffap, how about this?
https://github.com/zitadel/zitadel/assets/30386061/7a81b126-b90e-4ebd-b007-7fe0d87016a0
In this video, I'm pretending that 2.30.0 is not the latest version, so the 'update asap'  message is shown. If you click on the badge you're redirected to Zitadel's releases pages, I'm not sure if I can implement a click to update action so as a workaround I think it's enough to point the user to Github.
My proposed code is developed in the frontend, if @peintnermax agrees. I fetch (HttpClient) Github's API URL: https://api.github.com/repos/zitadel/zitadel/releases/latest to know which is Zitadel's latest release and get its tag_name and html_url
I've thought about translating 'update asap' but asap is hard to translate so I personally would prefer to keep that badge untranslated.
Any thought, changes?
Thanks!

Nice work again, thank you!
I think we can keep this untranslated for the moment.
Just a thought that occurred to me while thinking about this.
There might be two "update states"

Update ASAP - when we need to advise people to pull an update fast due to security/performance reasons
Update - when people just should update

I had not yet a great idea how to solve this 😁 but I will give it a thought today
Maybe it is easier that we deploy a /update.json on our marketing page to read where we could read off versions with a tag (critical = true/false) or something similar.

Hi @fforootd,
I agree with your proposal with two states and if you could provide a update.json it would be even better as right now I'm requesting GitHub's API using its "free" tier and if you reach the requests limit it would affect how the badge work (low probability, of course).
I'll wait till you have time to grasp the best solution for the update.json endpoint.
Thanks!

Ok I think I got an idea
We could do an API with zitadel.com/update?version={version}
The response can then be something like this:
{
    "version": "v2.29.0",
    "critical": true,
    "message": "please update your app to the latest version",
    "url": "a url to a message we want to show the user"

}

Thanks @fforootd, your suggested json response looks perfect, let's see if I get how to use it.
As we're using a badge then we would query the API passing my current version and we have two possible messages for the badge: update (if critical is false) or update asap (if critical is true), right? Maybe we can set different background colors for these two states so ASAP is in red.
Now, if we click ok the badge we would be redirected to the URL set in json response, don't we? Showing the release note for example.
But the message that comes in the API response would be used un a tooltip for the badge, or where should we use it?

Thanks @fforootd, your suggested json response looks perfect, let's see if I get how to use it.
As we're using a badge then we would query the API passing my current version and we have two possible messages for the badge: update (if critical is false) or update asap (if critical is true), right? Maybe we can set different background colors for these two states so ASAP is in red.
Now, if we click ok the badge we would be redirected to the URL set in json response, don't we? Showing the release note for example.
But the message that comes in the API response would be used un a tooltip for the badge, or where should we use it?

Yeah you got this right, redirect should point to infos like release notes or security warnings and the message should be for a tooltip.

Cool, thanks @fforootd. I'll wait until the endpoint is ready as I can't code and endpoint for zitadel.com. Time to move to another issue 😄

Hehe let me cook up something ASAP

Hey I created a poc for this
I added an additional field "latest_version" for the gui to render.
https://website-git-updates-zitadel.vercel.app/updates?version=v2.29.0
It can react in three ways currently:

No version found (version pre 2.29.0 will not be found ATM)
No version provided
Version found

Hi @fforootd, thanks for the POC.
I've added the POC endpoint to my code. Here are two screenshots. The first one shows current situation: instance version 2.30 and endpoint response only suggests to update:

The second is simulating that 2.31.1 is a critical update:

The tooltip has been added with a default 'please update your app to the latest version' if no message is in the response.
What do you think? I've added the suggested version to the badge but I may leave it to update or update asap

Nice work.
You bring up a good point. I currently only have the latest version inside the response but not a update to version >v2.31.1 or something similar. But looking at this such an information makes sense to me.
What do you think of this?

As we can see in this discussion https://gitlab.com/gitlab-org/gitlab/-/issues/344682#note_1233579698 alerting users is somewhat complicated but I like simple things.
I think we should keep the badge simple: "update" or "update asap", that's enough for a sensible administrator and more is useless to careless admins.
I'd prefer the API to tell me which is the latest version (latest_version), if I'm running a version that has critical security updates (critical) and which url has information about this critical situation (url that points me to zitadel.com information and how I should update). Those are covered with your proposed endpoint.
A more complete message in the response would be useful if, for example, we decide to include a warning when you log in the console and the API says we have critical situation!  But in that example (screenshot) how could we filter which users should see that message in the console? If we only use the message response for a tooltip for the badge then I don't think a complex message is needed.

As the badge is shown only when you visit your instance, we should warn somewhere else in the console if something critical affects us. I run Matomo for my blog analysis and it shows me a badge e when I do need to update as soon as I log in.

@fforootd this issue in crypto/tls (https://github.com/golang/go/issues/61460) would be a good example for this badge

@fforootd this issue in crypto/tls (golang/go#61460) would be a good example for this badge

Yes, true that make absolut sense. Let me work out the last few things on the API 😁

@fforootd this issue in crypto/tls (golang/go#61460) would be a good example for this badge

Yes, true that make absolut sense. Let me work out the last few things on the API 😁

@fforootd what's the state of this work?

This feature does (not yet) have an ETA since I did not prioritize it to high.
What we have is a POC on both ends. The UI as well as an API.
I would recommend we move this to the regular sprint cycle and discuss priority.
cc @hifabienne

This feature does (not yet) have an ETA since I did not prioritize it to high.
What we have is a POC on both ends. The UI as well as an API.
I would recommend we move this to the regular sprint cycle and discuss priority.
cc @hifabienne

From my perspective this feature is not really urgent and doesn't need high priorisation. Thats why it is in the backlog right now.
If you do see that differently I can take the necessary steps to estimate and plan the feature.

We should also consider showing a message in the logs, f.e. when an important update is due. Not sure what's better: showing this on startup only or also logging an info when we receive that information.
With that notifications could be automated by operators. Maybe there is also a more standardized way of doing this?

We should also consider showing a message in the logs, f.e. when an important update is due. Not sure what's better: showing this on startup only or also logging an info when we receive that information. With that notifications could be automated by operators. Maybe there is also a more standardized way of doing this?

Hm, yeah we could integrate an upgrade check and output a stdout message for example daily.


Allow Enum base class to deduce enum class using static::class

Codecov Report

Merging #45 (8531d9d) into 4.x (bbd1192) will increase coverage by 0.07%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                4.x      #45      +/-   ##
============================================
+ Coverage     96.39%   96.47%   +0.07%
- Complexity       74       77       +3
============================================
  Files            16       16
  Lines           222      227       +5
============================================
+ Hits            214      219       +5
  Misses            8        8

Impacted Files
Coverage Δ

src/ConstantListTranslatedEnum.php
100.00% <ø> (ø)

src/ConstantListEnum.php
100.00% <100.00%> (ø)

src/Enum.php
100.00% <100.00%> (ø)

src/TranslatedEnum.php
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


MotionLoRA training

Could you please tell me what order of magnitude data was used for the training of motion lora? The released motion lora model is trained using 20-50 videos?  Ｗhat kind of motion is suitable for motion module lora training?

I reproduced the motion module lora training code, but the conclusion I reached was completely different from the paper.  Could u reply me?

i've done the same experiment.  it needs more than 5k videos data to learn the simple motion pattern for the MotionLora training.

Some question! Could you tell me how to train motionlora?

Some question! Could you tell me how to train motionlora?
这个需要修改代码.   根据不同的diffusers 版本有不同的改法, 感兴趣我可以提供带motion lora版本的代码, 但是是有偿服务


Ft  cart view

Description
Describe change or new feature here.
Displays the variant options, variant name and concurrently updates the price accordingly in the singleProduct add to cart view. Total price is shown ,checkout button added and reflects the variant name and price in the cart view.
Type of change
Added Total value and Checkout Button. Fixed duplicate item adding problem.
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Checklist
Remove any items which are not applicable.

[x] I have performed a self-review of my own code
[x] My changes generate no new warnings

Link to Trello card
https://trello.com/c/0MisfT79/83-cart-view

I think you meant to pass in cartID in the dispatch? (This fixed the error of savedCart not being defined

First thing I see is that you will need to do is pull from our develop branch and resolve merge conflicts (get in touch with me if you need help doing this

The second thing I need is for you to either fix the line that's erroring out for me and Ben or run us through your code and show us it works for you and then try to figure out what's wrong on our side.

Upon changing savedCart to cartID I am able to get into the app, but there is an issue with removing items from the cart


[CT-2796] Conda forge still only has dbt-core 1.5.2 two weeks after it has been released.

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
dbt-core 1.5.2 release is tagged latest for two weeks, latest dbt-snowflake, sqlfluff docker images have it, but as I write this https://anaconda.org/search?q=dbt-core has 1.5.1.
I don't know how that is released, if it isn't you guys please say so, and maybe I can redirect the issue to the right place.
Thank you!
Expected Behavior
https://anaconda.org/search?q=dbt-core has 1.5.2.
Steps To Reproduce
Try to install 1.5.2 with conda install --channel conda-forge.
Relevant log output
PackagesNotFoundError: The following packages are not available from current channels:

  - dbt-core=1.5.2*

Environment
- OS: Linux
- Python: 3.10
- dbt:

Which database adapter are you using with dbt?
No response
Additional Context
No response

Hey @nevdelap! We don't maintain the conda-forge distribution of dbt-core. I'm actually not sure who the maintainers are, or how it gets updated.
For the installation methods that we officially support, check out: https://docs.getdbt.com/docs/core/installation

Thank you @jtcohen6 and @dbeatty10!


Function to disable tf.data debug mode

Click to expand!
Issue Type
Feature Request
Source
source
Tensorflow Version
2.10
Custom Code
No
OS Platform and Distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
Currently you can enable tf.data debug mode using: `tf.data.experimental.enable_debug_mode`.

However there is no option to disable it after it has been set.

Standalone code to reproduce the issue
import tensorflow as tf

dataset = tf.data.Dataset.from_tensors([2.])

tf.data.experimental.enable_debug_mode()
# All datasets defined after this point will be in debug mode.

Relevant log output
No response

Thanks for the feature request, as the enable_debug_mode would redefine the tf.data pipeline and the subsequent tf.data operations runs under debug mode.
It would not be a feasible way to disable the debug_mode dynamically.

It looks as though you already have a function to toggle debug mode, wouldn't it be as simple as setting it to False?

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


No support for LIN No Response frame type

Add lin no response frame.

Should we implement it as a custom frame type, like we did for other special frame types, or should we reuse the existing LIN Frame type?

My first thought is to implement it as a special frame type: http://zone.ni.com/reference/en-XX/help/372841N-01/nixnet/specialframes/  @lilesj, thoughts?
Since this is only supported in 16.1 and later, will we need a way to reconcile that with 15.5 support?

Since this is only supported in 16.1 and later, will we need a way to reconcile that with 15.5 support?

Since this doesn't try to call into any entry points, that shouldn't be a problem.  If the frame type is returned to the caller, it'll be adapted.  If the frame type isn't supported by the driver then it'll never be passed up.


Update engines to 0.10

In packages.json engines states >=0.8. I propose we bump that to 0.10.

:+1:


ng2-admin

Hi guys,
I wonder what happen to the ng2-admin? Although I got the branch code folder of ng2-admin, I couldnt "npm install" it as after the command the cmd disappear right away. This issues is not happen to the ngx-admin. Many thanks

Hey @NPM57, well nothing happen with the ng2-admin :)  It is still here, just no in the main branch. Could you try different cmd please and let us know your environment details.

Thanks for replying @nnixaa,
I have tried different cmd and also on different computer including 1 Mac and 1 Window. I have done the following steps:
1/ Go to ng2-admin branch
2/ Clone download the zip file
3/ Extract
4/ Go to the ngx-admin-ng2-admin
5/ npm install
--> The issue is that during the installation the cmd terminate itself and I believe the installation is not completed.
Since I have tried different machines so I dont think it's the issue due to the environment
Thanks a lot

What is your node/npm versions?

Hi nnixaa,
I had resolved the issues as there were the problem with npm itself, update npm will resolve the problem.
p/s: the angular-cli default in json.package seems too low to build the project so I have to update angular-cli locally to solve this issue.
Thanks a lot

@NPM57, glad to hear, we will check the angular-cli version.

Let's keep track on the issue here https://github.com/akveo/ngx-admin/issues/1464


Update free-programming-books-my.md

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[ ] Read our contributing guidelines
[ ] Search for duplicates.
[ ] Include author(s) and platform where appropriate.
[ ] Put lists in alphabetical order, correct spacing.
[ ] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

:warning: NOT FREE
Take care about DMCA. That a link is public on the internet does not mean that its content is free. See CONTRIBUTING guidelines

we don't accept files hosted on google drive, dropbox, mega, scribd, issuu and other similar file upload platforms
use the link with the most authoritative source (meaning the author's website is better than the editor's website, which is better than a third party website)

no file hosting services (this includes (but is not limited to) Dropbox and Google Drive links)

no priced books or courses, even in sales.

We only accept contents with free licenses like CC (giving creator attributions).
Excerpts or resumes are also not valid.

/labelthis: invalid
/lockthis: off-topic


Weird Bug

Hi,
First first for sharing your library.
When I add your code to my app the debug var window stop providing values for any variable in the app. If I remove #import <openssl/x509.h> from bridging header it start working again.
Any idea of what can cause this?  I'm surprise because I did implement your code in another app and everything works fine ...
Thanks ;-)

I assume I'm seeing the same thing (using the demo here)..... If I try to po anything in lldb I get the following
warning: Swift error in module SwiftyLocalReceiptValidatorDemo.
Debug info from this module will be unavailable in the debugger.

error: in auto-import:
failed to get module 'SwiftyLocalReceiptValidatorDemo' from AST context:
/Users/me/Downloads/SwiftyLocalReceiptValidator-master/Demo/SwiftyLocalReceiptValidatorDemo/SwiftyLocalReceiptValidatorDemo-Bridging-Header.h:8:9: note: in file included from /Users/me/Downloads/SwiftyLocalReceiptValidator-master/Demo/SwiftyLocalReceiptValidatorDemo/SwiftyLocalReceiptValidatorDemo-Bridging-Header.h:8:
#import <openssl/x509.h>
        ^

/Users/me/Downloads/SwiftyLocalReceiptValidator-master/Demo/Pods/Headers/Public/OpenSSL/openssl/x509.h:96:13: note: in file included from /Users/me/Downloads/SwiftyLocalReceiptValidator-master/Demo/Pods/Headers/Public/OpenSSL/openssl/x509.h:96:
#   include <openssl/rsa.h>
            ^

error: /Users/me/Downloads/SwiftyLocalReceiptValidator-master/Demo/Pods/Headers/Public/OpenSSL/openssl/rsa.h:96:51: error: expected ')'
    int (*rsa_mod_exp) (BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx);
                                                  ^

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/usr/include/complex.h:42:11: note: expanded from macro 'I'
#define I _Complex_I
          ^

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/usr/include/complex.h:40:21: note: expanded from macro '_Complex_I'
#define _Complex_I (__extension__ 1.0iF)
                    ^

/Users/me/Downloads/SwiftyLocalReceiptValidator-master/Demo/Pods/Headers/Public/OpenSSL/openssl/rsa.h:96:51: note: to match this '('
    int (*rsa_mod_exp) (BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx);
                                                  ^

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/usr/include/complex.h:42:11: note: expanded from macro 'I'
#define I _Complex_I
          ^

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/usr/include/complex.h:40:20: note: expanded from macro '_Complex_I'
#define _Complex_I (__extension__ 1.0iF)
                   ^

error: failed to import bridging header '/Users/me/Downloads/SwiftyLocalReceiptValidator-master/Demo/SwiftyLocalReceiptValidatorDemo/SwiftyLocalReceiptValidatorDemo-Bridging-Header.h'

Looks like an openssl issue.....
https://github.com/FredericJacobs/OpenSSL-Pod/issues/45

So is this just an issue with the debugger, or are you completely unable to load, parse, and validate receipts?
Thank you @sigmundfridge, for responding to @i-arun-samui's question. Hope you're both doing well!

It's just the debugger. There is a fix on the link I included but it hasn't been merged back into the project. Using a different openssl library would solve the issue.
On 14 Jul 2018 20:08, Andrew Bancroft<EMAIL_ADDRESS>wrote:
So is this just an issue with the debugger, or are you completely unable to load, parse, and validate receipts?
Thank you @sigmundfridgehttps://github.com/sigmundfridge, for responding to @i-arun-samuihttps://github.com/i-arun-samui's question. Hope you're both doing well!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/andrewcbancroft/SwiftyLocalReceiptValidator/issues/7#issuecomment-405043621, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABQ8OUTvdDZnMHd3bksu-wK8BnEKZ0BZks5uGkHCgaJpZM4T6Zqp.

Ok, excellent.
I think that since it's an issue with that particular OpenSSL library, I'm going to close this issue.
I really appreciate the contribution you made to helping track down what was going on here, @sigmundfridge!

Thank for finding the cause.
I do use the pod  'OpenSSL-Universal' and everything (debugger) is back to normal
Thanks


Phi-3 DirectML model creation error: Microsoft.ML.OnnxRuntimeGenAI.OnnxRuntimeGenAIException: 'Specified provider is not supported.'

Describe the bug
A clear and concise description of what the bug is.
Building a C# console app in VS 2022 to call the model, but failed in model creation. Nuget Packages installed:
Microsoft.OnnxRuntimeGenAi.DirectML 0.4.0
Microsoft.OnnxRuntime.DirectML 1.19.2
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

var modelPath = @"C:\ConsoleApp\Phi-3-mini-4k-instruct-onnx-directml";
var model = new Model(modelPath);  <-- crash here
Expected behavior
A clear and concise description of what you expected to happen.
Model creation should succeed
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Windows 11 Pro
AMD Ryzen CPU with Radeon 890M

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.
Seems to work on an Intel laptop
genai_config.json
"decoder": {
"session_options": {
"log_id": "onnxruntime-genai",
"provider_options": [
{
"dml": {}
}
]
},

@eddan168 Do you see any error message in your app? One thing to note is that you probably need to build the app with build config x64 (and not Any CPU).
I am not able to reproduce this same problem on my x64 machine. If you share more context/information, I can try to help.

Thanks for the reply. Running with x64 config had the same issue. Here is content from the Output console. Let me know if any additional information can help:
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.8\System.Private.CoreLib.dll'. Symbols loaded.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'C:\ConsoleApp\OnnxRuntimeDmlConsoleApp\bin\x64\Debug\net8.0\OnnxRuntimeDmlConsoleApp.dll'. Symbols loaded.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.8\System.Runtime.dll'.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'c:\program files\microsoft visual studio\2022\community\common7\ide\commonextensions\microsoft\hotreload\Microsoft.Extensions.DotNetDeltaApplier.dll'.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.8\System.IO.Pipes.dll'.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.8\System.Linq.dll'.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.8\System.Collections.dll'.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.8\System.Console.dll'. Symbols loaded.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.8\System.Threading.dll'.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.8\System.Runtime.InteropServices.dll'.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.8\System.Threading.Overlapped.dll'.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.8\System.Security.AccessControl.dll'.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.8\System.Security.Principal.Windows.dll'.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.8\System.Security.Claims.dll'.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.8\System.Runtime.Loader.dll'.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'C:\ConsoleApp\OnnxRuntimeDmlConsoleApp\bin\x64\Debug\net8.0\Microsoft.ML.OnnxRuntimeGenAI.dll'.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.8\System.Collections.Concurrent.dll'.
Exception thrown: 'Microsoft.ML.OnnxRuntimeGenAI.OnnxRuntimeGenAIException' in Microsoft.ML.OnnxRuntimeGenAI.dll
An unhandled exception of type 'Microsoft.ML.OnnxRuntimeGenAI.OnnxRuntimeGenAIException' occurred in Microsoft.ML.OnnxRuntimeGenAI.dll
Specified provider is not supported.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\PrivateAssemblies\Runtime\Microsoft.VisualStudio.Debugger.Runtime.NetCoreApp.dll'.
'OnnxRuntimeDmlConsoleApp.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.8\netstandard.dll'.

Exception thrown: 'Microsoft.ML.OnnxRuntimeGenAI.OnnxRuntimeGenAIException' in Microsoft.ML.OnnxRuntimeGenAI.dll
An unhandled exception of type 'Microsoft.ML.OnnxRuntimeGenAI.OnnxRuntimeGenAIException' occurred in Microsoft.ML.OnnxRuntimeGenAI.dll
Specified provider is not supported.

It seems like the nuget you're using is not capable of running the model you're trying to load. From your genai confid, I see your model is expecting to run on DirectML. Could you confirm that you are indeed installing the Microsoft.OnnxRuntimeGenAi.DirectML nuget and not Microsoft.OnnxRuntimeGenAi nuget?

I checked again. During the multiple trials, I somehow ended up having both Microsoft.OnnxRuntimeGenAi and Microsoft.OnnxRuntimeGenAi.DirectML installed. I uninstalled Microsoft.OnnxRuntimeGenAi and it is now working. Thanks a lot for the help.


Fix handling of Guava Immutable types

AutoValue has special handling of properties with a Guava Immutable type.  For such a property foo, if the AutoValue Builder has a method fooBuilder(), then the Builder automatically populates the property with an empty collection if fooBuilder() is never called.  So in such cases, don't treat foo as a required property.

I think the difference is clear. The difference is in the methods inside the nested Builder type and how that affects AutoValue’s behavior


Don't scale RL overlays in scaled mode

Is your feature request related to a problem? Please describe.
I like the scaled UIs of scaled mode but miss the sizes of the non-scaled RL overlays.
Describe the solution you'd like
I would like there to be an option to not scale the overlays this might not be easily possible and doesn't really matter that much. I just like the non-scaled size better.
Additional context
This really isn't a big deal and scaled mode is really nice how it is. This is just a small detail that I think would make it better.
I am talking about stretched resizeable with gpu plugin enabled if it matters.

To clarify:
I am mainly talking about text overlays
for like ground items and stuff
obviously overlays ontop of npcs and stuff would have to stay as is
basically I think https://i.imgur.com/lg8HW5X.png
looks better than https://i.imgur.com/dSRItsw.png

NPC Indicators is a slightly different example. It looks way better with stretched mode off.
Stretched mode on:

Stretched mode off:

Is there any update to this? Especially @drewgoodwin2's screenshots are important. There should really be an option to just scale the HUD without scaling ground markers, tile indicators, texts, interaction hints, etc.
Many people love to use the nearest neighbor 100% interger scaling mode to get the inventory and minimap twice the size while maintaining sharp pixelated aesthetic. However, when this is also applied to things like ground markers they become really pixelated and ugly. A combination of these two would be perfect.
Is that at all possible?

Not easily. The overlays are drawn to the same buffer that the game UI is drawn to. It could be possible to split them apart for some of the overlays, but it is not anything I've looked at.

If it would be possible to split just the HUD (inventory, chat, minimap, infoboxes) from everything else, that would be amazing!

@Adam- Is there anything I can do to help? I have good programming skills but only limited Java knowledge. Do you have any indication what files handle the overlays and UI elements?


Understanding Question from the Paper

He, I read the paper and I kinda have now some open questions.

For the first distillation did you pre-train the teacher model or did you took some off the shelf pre-trained model for that.

Did you use at any stage the actual real labels from COCO or did you purley trains with labels provided by other models?

What Model architecture did you use for your Backbone? How many params?

Thanks for the help in advance.

We train a larger teacher model on COCO and UBody first. And then we use the teacher model to guide a smaller student.
For the first stage distillation, we use the GT label from COCO and teacher's logits together. For the second stage distillation, we only use teacher's logits.
The backbone is CSPNeXt. You can learn about it in RTMDet.


sslabs-cli import not working

Please use the following template when submitting issues:
Issue Template
Issue Type

[ x] Bug
[ ] Enhancement

Description
Import of ssllabs-cli json file issues error and does not work
If the issue is a bug, please also include the following:
Operating System
Please include the version number (ex: Ubuntu 16.04)
Ubuntu 18.04 LTS
Install

[x ] setup.bash
[ ] docker

DefectDojo Version
1.5.2
Steps to Reproduce
Create DefectDojo product
Click Findings/Import scan/result
Select Scan Type SSL Labs Scan
Select File
Click upload
-> Error - See screenshot
Sample Scan File (if applicable)
created with: ./ssllabs-scan-v3 https://www.defectdojo.org/ >www-defectdojo-org.json
www-defectdojo-org.json.txt
Screenshots (optional)

Console Logs (optional)
defect-dojo-import-ssl-error.txt

Working on a PR for this. Seems the parser was set to handle a response from version 2 of ssllabs API and doesn't handle missing fields very well.

Awesome! Thanks Luke!
Greg Anderson
Member of the Board
DefectDojo Project Leader
<EMAIL_ADDRESS>*Consider giving back, and supporting the open source community by becoming
a member https://www.owasp.org/index.php/Membership or making a donation
https://www.owasp.org/index.php/Donate today! *
Join us at AppSec USA 2018 https://2018.appsecusa.org/ 8-12 October in
San Jose, CA!
On Wed, Oct 3, 2018 at 4:49 PM Luke<EMAIL_ADDRESS>wrote:

Working on a PR for this. Seems the parser was set to handle a response
from version 2 of ssllabs API and doesn't handle missing fields very well.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DefectDojo/django-DefectDojo/issues/708#issuecomment-426815467,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEhYwEB6nWqjFoCgg_ohHkEnKF0gbkwuks5uhTDfgaJpZM4V_vwm
.

I actually had a fix for this in my repo, which I just pushed to dev. Feel free to review.


Create script problem

I made a system for vrp 2. I go on the server and it works, and when I restart the game it doesn't work, but if I restart the server it works.
Client 1
https://cdn.discordapp.com/attachments/378160863724568577/702609201393827860/Screenshot_463.png
Client 2
https://cdn.discordapp.com/attachments/378160863724568577/702609232142270474/Screenshot_464.png
Server
https://cdn.discordapp.com/attachments/378160863724568577/702609253617369118/Screenshot_465.png

https://github.com/ImagicTheCat/vRP/tree/master/doc#issues--features--help


docs(README): adds slack badge

Signed-off-by: Katie<EMAIL_ADDRESS>Issue #78
Adding a Slack badge
Changes

Added a Slack badge next to the Accord Project logo

Flags

None

Related Issues

None

Great! Thank you for the contribution and changes!


Fixes #5093 -- Use selected database alias in migrations

Fixed #5093

Coverage increased (+0.6%) to 89.408% when pulling 3d0be8afb7a77011ba130d6cfd0d4e55baccfe3e on czpython:fixes/3.3.x/5093 into 1442d74a62ade9990a21b689771fc9e0209c2e48 on divio:release/3.3.x.


feat: add upstash redis driver

🔗 Linked issue
Resolves https://github.com/unjs/unstorage/issues/288
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This PR adds a upstash-redis driver for redis  support on edge platforms.
For full context, when vercel-kv was added in https://github.com/unjs/unstorage/pull/213, @redis/upstash was added as a dependency because it is a vercel-kv dependency, so that makes it easier for pnpm users.
This PR adds a redis-upstash driver for the use case where you want to use upstash without vercel (which I encountered recently)

The tests are running locally, and need env variables to work in the CI.
We should create an unjs upstash db, or mock the client.
📝 Checklist

[x] I have linked an issue or discussion.
[x] I have updated the documentation accordingly.

Hey there!
(disclaimer: I work for upstash)
quick question: why did you install @vercel/kv and then use @upstash/redis
It seems to work cause their package is just a wrapper around @upstash/redis but it seemed weird :D
secondly: we can provde a db for unit tests for free, just let me know :)

Hey there! (disclaimer: I work for upstash)
quick question: why did you install @vercel/kv and then use @upstash/redis It seems to work cause their package is just a wrapper around @upstash/redis but it seemed weird :D
secondly: we can provde a db for unit tests for free, just let me know :)

Hello there! @vercel/kv is already a driver supported by unstorage, this PR doesn't install it. I didn't know their package was just a wrapper.
On providing us with a DB, I think that would be great !
@pi0 is the maintainer of unstorage, so he'll need to green light this

Do you mind resolving the conflicts @Hebilicious ?

Do you mind resolving the conflicts @Hebilicious ?

Sure. For full context, when vercel-kv was added in https://github.com/unjs/unstorage/pull/213, @redis/upstash was added as a dependency because it is a vercel-kv dependency, so that makes it easier for pnpm users.
This PR adds a redis-upstash driver for the use case where you want to use upstash without vercel (which I encountered recently)
I'll add this to the PR description.

Hi dear @chronark thanks for reaching out and for your offer about the CI plan.
I would ideally love to have a proper "unit" test for both drivers. I think we can mock the HTTP client with upstash API. If you have a tool or package that can help in this regard it would be awesome! Also, feel free to reach me via discord (pi0) if you would like to work closer on upstash integrations I can invite you to the unjs discord channel.

Off topic: Regarding vercel-kv, the main reason for having a wrapper is that it allows having "zero configuration" integration with their platform / provided environment variables - also any changes needed in the future. If there are other hosting options that provided upstash integration, we probably have to either use their packages or make a wrapper driver.

Thanks for the updates @Hebilicious ❤

@pi0 we don't have any true unit test library or similar, I'm running all of our tests against a real upstash db or in a docker container :/
I'm leaving upstash soon, joining your discord now probably won't help much unfortunately.
if you want credits for testing against real dbs, just let us know here<EMAIL_ADDRESS>and ideally reference this comment :D

Landed via https://github.com/unjs/unstorage/pull/500


Updates for rails5 and deprecation notices

If you're willing to drop rails < 4 support from the next release the before_filter/action  stuff can be cleaned up

I'm actually thinking of monkey patching before_filter and friends to call out to before_* that would probably be easier. We can check to see if before_filter is a defined method and optionally define it.

I thought about that, but then decided against it due to that potentially affecting other projects that might detect for the presence/lack of presence of it for behavior changes - I don't know of any that do, maybe just overly cautious

In this case I think it's fine. There's essentially no behavior change, just a change in name. If we were careful we could define the method only on the controller that wicked is merged into. That would probably be the safest.

@schneems I changed this to add needed *_action methods to a controller when not defined - hows  this?

I was actually thinking of going the other way. defining before_filter if it's not defined. This works though, guess it encourages upgrading and encourages us to use the currently maintained API. Thanks for your work here!

1.3.0 is released.


vcpkg install exits without downloading package

Describe the bug
After successfully executing bootstrap_vcpkg.bat; vcpkg integrate install; vcpkg integrate powershell, I moved to installing zlib using "vcpkg install zlib:x64-windows" but it fails to download and exits without any explicit error message.  The on-screen outputs and abi info file that is generated is attached.
Following the debugging of other issues I executed "vcpkg env --debug" which also fails to launch/set up the VS 2017 developer environment.
I have separately tried to execute the last command (cmd /c ""C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build\vcvarsall.bat" -vcvars_ver=14.1 amd64   2>&1 <NUL" & echo cdARN4xjKueKScMy9C6H& set) which executes fine.
Please advise how to fix this.
Environment

OS: Windows 10 Enterprise (Build 17134)
Compiler: Microsoft Visual Studio Professional 2017 (Version 15.9.21)

Failure logs
vcpkg.install.notes -- on-screen outputs of the set up process
x64-windows.vcpkg_abi_info -- abi info file recorded by attempting to install in debug mode
x64-windows.vcpkg_abi_info.txt
vcpkg.install.log
Additional context
I have the same environment on another laptop and it works fine (although the vcpkg is an older build) so I do not believe it has anything to do with my internet and/or firewall.  The same steps have been executed successfully by others on the team without any issues.

Hi @aagarwl3
Thanks for posting this issue.
I cannot reproduce this on my local with Visual Studio 2017 and Visual Studio 2019.

Hi @NancyLi1013
Thanks for following up.  Reproduction has indeed been a challenge.  As I noted, others in my team have not faced similar issues and so it has been difficult to understand where the gap is.  Any other information that you'd like to see perhaps?
I am not following what the system.process.cpp is expecting on line 487 and causing execution to stop.  Thanks!

Could you please help confirm if you updated to the latest commit?
Does this issue exist on the old version or the latest version?

Hi @NancyLi1013
I am using the latest commit (commit 941d5464544eb5812b2cbd6e687c3ebc78ed2624).  The issue does not happen on another laptop on which I have an older version of vcpkg (from 2019).

Thanks for your update.
Since vcpkg updates some changes recently.
Could you please update to the latest commit 09af1e9 to try it again?

Hi @NancyLi1013
Thanks for the info.  I updated to the latest commit but unfortunately no change in behavior.
I forgot to include a behavior I am noticing at the end of some processes (integrate install; integrate powershell; install zlib):  there seems to be a command prompt being launched in the background (which exits automatically) since I have an autorun set up to my command processor in the registry.  The doskeys associated in the autorun seem to be executed.  For clarity I have also tested by removing the doskeys without success.

@aagarwl3
vcpkg.exe is now separate from vcpkg and no longer needs to be built locally, could you please use the latest vcpkg to install zlib again? Thank you!

Please feel free to reopen this issue if you still encounter it. Thank you!


Feature request: save temp files to a different folder

I am using Google Drive and all video temp files will be synced as soon as they are downloaded. Would be nice to have an option to save the temp files to a temp folder then move the final video files to the actual folder after merging.

a better option would be to just pause google drive syncing when you run the scraper and when the scraper is done and there are no temp files then start google drive syncing again.

@cjb900 Google Drive doesn't work like that... Even a file is hard deleted from the folder, Google Drive will still upload the file to the cloud and then delete it from the trash. I guess it has a cache folder somewhere...

Well I've used Google drive in the past like that. If you pause the syncing it wont sync anything in the directories it has set to sync and once you restart it it will only sync what is currently in the directories you have set to sync. It won't sync stuff that isn't in those directories. So when you start the scraper and it's downloading stuff if there are part/temp files once the scraper is done and those part/temp are gone you just start Google drive again. So unless Google has changed something recently that's how it's always worked for me.

This has been added in the master branch
You'll have to change the temp_dir value from None to the path you want


When swiping the screen, title and buttons' highlight don't change

We also need to fix the BackStack.

OMG! I think I found a perfect lib for this issue.
An Android lib for enhancing BottomNavigationView

So I was trying to use BottomNavigationViewEx. It worked for this issue. However, a new issue shows up. please see #10 for more details.

@abuagarwal


useChain for the same transition

Is there any way to use useChain for the same transition when transitioning between routes? I'm trying to avoid overlapping the same animations.
https://codesandbox.io/s/modest-chaplygin-cff39?fontsize=14&hidenavigation=1&theme=dark

I changed the leave translate to move downwards so they don't overlap, but the curiosity remains: how can chain the same transition without using delays? (I like the spring based concept a lot)

In v9, useTransition ref doesn't work with useChain currently
In v8, useTransition has no ref prop


Fix direction of reflection

If the ball hits multiple blocks at the same time, it won't reflect.

fixed in v1.1.0


waited for all pods ready during generated hashring initialization

During the initial controller setup, we prefer to wait over all pods ready before generating hashring.
Deployed in our integrationtest cluster, found

it will wait for all pods ready before generating hashring for first time
else will be no-op if not all pods are ready and replicas do not exist in the local
This is to handle no replicas information stored in local controller after controller restarts, we should not do anything until the cluster is healthy.

lgtm, if my understanding is correct, it doesn't need to wait for all 3 sts ready but during scaling up, it will update hashring if 1 sts is entirely ready, and then sequentially, so in total it only update the hashring 3 times?

@jnyi no, if you look at the code closely, it only saved hashring outside the for statefulsets loop, so will wait for the entire cluster to be ready. Let me know if you have concerns about this behaviour

jenkins merge


irmin-http: remove exception handling workaround in tests

Cohttp server creation now allows passing of an exception handler, fixing a previous issue where the server would crash on a user-raised exception.
See: https://github.com/mirage/ocaml-cohttp/pull/669

Thanks!


Should print log messages to STDOUT as documented instead of STDERR

Hi,
it took me quite a while to realise why I get log messages on the command line, but not when I call pdns_logger from inside syslog-ng: pdns_logger is not sending its log messages to STDOUT as documented in several places in README.md but to STDERR instead.
Please change that to STDOUT so that it works as documented and as (obviously) expected.
My current workaround is to append 2>&1 to the commandline called by syslog-ng.

fixed in release 0.0.3

Yay, thanks for fixing both, #2 and #3 so quick! Will have a look at the new release(s) soon.
Both issues are still marked as open though. Seems as if the fix issue #… wasn't enough (despite I would have expected that it is).
I'm btw. working on a package for Debian. See https://bugs.debian.org/972607 and https://salsa.debian.org/debian/pdns-logger


PEB-6:  Implement JWT Authentication

Overview
This is to implement JWT authentication to the API server. Also adds some pre-commit hooks to make the development cleaner.

fixes #3


swiftdata

Type: Missing
Summary:
swiftdata
Details:
Planner iOS - component = swiftdata.
File with a section of code prefaced by the following notice:
/// This work is inspired to the original ISO8601DateFormatter class written in ObjC by
/// Peter Hosey (available here https://bitbucket.org/boredzo/iso-8601-parser-unparser).
/// I've made a Swift
Resolution:
The code that follows this statement originates with ISO 8601 parser/unparser, a date manipulation library. See https://bitbucket.org/boredzo/iso-8601-parser-unparser. This material is licensed under the BSD License (see https://bitbucket.org/boredzo/iso-8601-parser-unparser/src/default/LICENSE.txt)
Affected definitions:

swiftdate 89774a1e28826af1498693bcbdf9ff6037ec646f

Duplicate of #3386


Mark merged branches

Branches table should have a column marking ones that are already merged to master/main branch.
See https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/CheckMergeStatusOfCommit.java

Done in d743477201f9e3b2c4d58bcca1bbaf0b8facacb8

Done in d743477201f9e3b2c4d58bcca1bbaf0b8facacb8


Add the ability to rotate with text and select text for delete

@erluxman ad how i can control painter like color, StrokeWidth or PaintMode ??


fix: extend the required terraform version to < 1.7

/run pipeline

/run pipeline

:tada: This PR is included in version 1.8.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


sh:pattern not evaluated correctly

shaclex 0.1.103
jena 4.4.0
jdk 11 temurin
eclipse lyo 5.0.0-snapshot
We disabled our validation module build during the JDK 11 migration in Eclipse Lyo and now after enabling it and updating to latest ShaclEx we discovered that a number of old passing test cases now fail. For example:

ValidationResult [resultPath=http://www.sampledomain.org/sam#aStringProperty, focusNode=null, message=pattern violation. Expected "Between" to match '^B', resultSeverity=http://www.w3.org/ns/shacl#Violation]

The spec says to follow the SPARQL patterns: https://www.w3.org/TR/shacl/#PatternConstraintComponent Which in turn gives us almost the same regex as an example: https://www.w3.org/TR/sparql11-query/#func-regex
When we change the annotation on the property from @ShaclPattern("^B") to @ShaclPattern("^B.*"), all tests pass.
I have two thoughts: either it's due to Jena 4 migration or cough someone may have introduced a regression in https://github.com/weso/utils/pull/148. However, I don't think that going back to Xerces is a good idea, so we may want to replicate whatever Jena does to evaluate regexps in a SPARQL-compliant way.

Relevant spec section: 5.4.4 XML Schema String Facet Constraints, which references XPath 5.6.1 Regular expression syntax. The examples in 5.6.3 fn:matches indicate that your reading is correct.

The expression fn:matches("abracadabra", "bra") returns true().

This also suggests that we need a test.

Hello, I haven't had time to follow the SHaclEX developments and today I tried to upgrade to SHaclEX 0.2.2 and all tests passed without having to modify the regex.
It seems like ShEx module re-introduced the Xerces dependency, which we tried to exclude and it works so far (we only call the SHACL). Also, we found that there is a fair number of dependencies wihin SHaclEX with mismatched version numbers, which we were forced to duct tape due to our maven-enforcer-plugin settings: https://github.com/eclipse/lyo/pull/248/files#diff-f5751dbd520a10ddcb49fe2ab71c084c779c3e2cf88765b9cc00593b5e50208cR105
Cautiously, I could say that this issue could be closed given that the other two issues don't impact sh:pattern evaluation directly.

Thanks for the update. I think we can close this issue.
About the other topics, it would be great if add specific issues for them.
One possibility to clean the dependencies a bit more if you are only using SHACL is that you consider to depend on SHACL-S which is specific about SHACL...at this moment, SHaclEX is an umbrella project which invokes either ShEx-s o SHACL-s depending on which type of RDF validation you use, so depending on them may avoid to use some extra dependencies which you don't need.


Updating table/column description fails when database name has an underscore

As described in the title, any attempts to update table or column descriptions for tables that have underscores in the database will fail. The error message in the frontend is: Encountered exception: not enough values to unpack (expected 2, got 1)
Expected Behavior

When a user edits a field, the update button should propagate the description update.
Current Behavior

Instead, on pages where the entry has an underscore in the database field, nothing happens/is updated.
Possible Solution

I tracked this down to this line in metadata_utils.py: https://github.com/amundsen-io/amundsenfrontendlibrary/blob/473bbdb95c5dd25625bcadc04171dfe19aacd328/amundsen_application/api/utils/metadata_utils.py#L32
It appears as though urls are not valid in URL scheme fields, although they seem very reasonable to have in Amundsen database names.
E.g.
[ins] In [17]: up.urlparse("nounderscore://schema.table/column")
Out[17]: ParseResult(scheme='nounderscore', netloc='schema.table', path='/column', params='', query='', fragment='')

[ins] In [18]: up.urlparse("with_underscore://schema.table/column")
Out[18]: ParseResult(scheme='', netloc='', path='with_underscore://schema.table/column', params='', query='', fragment='')

The fact that the entire URI goes into the path attribute then causes the netloc split on . in the next line to fail.
This can be circumvented with the following patch:
diff --git a/amundsen_application/api/utils/metadata_utils.py b/amundsen_application/api/utils/metadata_utils.py
index 45d302a..5568a09 100644
--- a/amundsen_application/api/utils/metadata_utils.py
+++ b/amundsen_application/api/utils/metadata_utils.py
@@ -28,10 +28,14 @@ class TableUri:

     @classmethod
     def from_uri(cls, uri: str) -> 'TableUri':
-        parsed = urllib.parse.urlparse(uri)
+        scheme, rest = uri.split(":", 1)
+        compliant_scheme = scheme.replace("_", "-")
+        compliant_uri = compliant_scheme + ":" + rest
+        parsed = urllib.parse.urlparse(compliant_uri)
         cluster, schema = parsed.netloc.rsplit('.', 1)
         return TableUri(
-            database=parsed.scheme,
+            # Replace w/ original scheme
+            database=scheme,
             cluster=cluster,
             schema=schema,
             table=parsed.path.lstrip('/')

Steps to Reproduce

Add a table with an underscore in the database field
Attempt to edit the description of that table

Screenshots (if appropriate)
Context

Your Environment

Amunsen version used: nearly the most recent versions for all services
Data warehouse stores:
Deployment (k8s or native):
Link to your fork or repository:

Nice catch @madison-ookla I have addressed this in https://github.com/amundsen-io/amundsen/pull/1103 basically by relying on regex instead urllibparse as we are not 100% compliant with url format.

Confirmed that this is no longer an issue with the most recent version of Amundsen (common-0.13.0-fix2)


Expression.equals fails sometimes, expandAndSimplify is the culprit

var expr = CQ("a*x**3 - b = 0");
var sol = expr.solve("x");
sol[0].equals(CQ("(b/a)**(1/3)")); // false
sol[0].simplify().equals(CQ("(b/a)**(1/3)")); // true

So @expr.expandAndSimplify isn't fully simplifying. I'm not really sure why, but one possible (bad?) solution is to just keep simplifying until the expression no longer changes.

I'm not so sure that simplification is the right way to go about this, I just used what I had available.
Maybe it should just expand instead?  Distribute all power/multiplication terms so the expression tree is always (from top to bottom) "addtion > multiplication > power", then sort all terms so that you have a fully unambiguous canonical form.

I think you're right, expanding makes sense.  The simple solution is to call expand until the expression no longer changes, but that's pretty slow.

I started experimenting with writing a canonicalization function on this branch.  It still needs work.  There is currently an issue with distribution of division, which I find odd, because distribution of powers appears to work OK and division is just Pow(base, -1).
My approach, so far, is as follows:

All operators have a canonical class method which applies the operation while enforcing canonicalization rules.

Inputs are required to be in canonical form.  This is guaranteed by the canonicalize instance method, which canonicalizes sub-expressions before canonicalizing the current expression.
Output of a given operator's canonical is not necessarily a node of that operator's type.  An example of this is that Mul.canonical will return an Add node if the multiplication is distributed over an Add operand.

Rules

Generally Add > Mul > Pow, with special cases for exponents
Add and Mul must have at least two terms (not including identities 0 or 1, respectively)
Add may not contain another Add (combine terms)
Mul may not contain another Mul (combine terms)
Mul may not contain Add (distribute)
Base of Pow may not be another Pow (combine exponents)
Base of Pow may not be a Mul (distribute)
Exponent of Pow may not be an Add (distribute)

Add.canonical

Combine terms with Add operands
Collect like terms with Mul.canonical

If no terms remain, return Constant(0)
If one term remains, return that term

Mul.canonical

Combine terms with Mul operands
Distribute over Add, return result
Collect terms with similar bases using Pow.canonical

If no terms remain, return Constant(1)
If one term remains, return that term

Pow.canonical

If constant exponent is 1, return base
If exponent is an Add, split the terms.  Multiply individual powers for each term in the exponent.
If base is an Add and exponent is a Constant

Multiply base n times, where n is the integer part of the exponent
Multiply a new Pow for the fractional part of the exponent

Distribute over Mul
If base is Pow, multiply exponents

Also, although I wrote a separate implementation, I think there is some overlap between canonicalize and simplify (distribution, collection of like terms, etc.).  As I see it, canonicalize is focused on unambiguous results, while simplify focuses on producing concise human-readable results.  I think this makes simplify a superset of canonicalize which performs additional simplification, not necessarily respecting the above constraints.

That looks really good! I'd definitely expect overlap between canonicalize and simplify, but possibly more overlap with expand. One idea that comes to mind is rewriting simplify and expand in terms of canonicalize, which I think makes a great deal more sense than the existing implementations of simplify and expand, so I might do that once.
But yeah, looks great so far!


add update_x_passphrase

This should make it easier to change a WLAN Password. it also referrers to #28.
It uses the build in PUT function.

hmm... looks like the ci-run is broken
ERROR: InvocationError for command '/home/travis/build/finish06/pyunifi/.tox/lint/bin/flake8' (exited with code 1)
___________________________________ summary ____________________________________
ERROR:   lint: commands failed
The command "tox" exited with 1.

sorry for the "delay". This PR went out of my scope. I rebased it. again. sorry

Would be nice to get this in, as I want to change password on the guest network regularly..


WIP : DNM : Kinesis Integration

Just putting this up as a place holder for now.  I may have time to hack on this over the next couple days, and will try to fold in the work we've done.

working on similar code :) should have opened a pull request

@Gauravshah I'm happy to close this one and contribute to yours?
Or if you want to merge into this one, have at it.

Thanks. I’ll add to your pull request.  Mine works but requires lot of
cleanup.
On Sun, 15 Oct 2017 at 10:14 PM, boneill42<EMAIL_ADDRESS>wrote:

@Gauravshah https://github.com/gauravshah I'm happy to close this one
and contribute to yours?
Or if you want to merge into this one, have at it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/druid-io/tranquility/pull/254#issuecomment-336724323,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAl4D-_ECz2RB4tJMzfB9q2Nu3UBN6dRks5ssjaAgaJpZM4P0znl
.

@boneill42 please have a look at https://github.com/druid-io/tranquility/compare/master...GoshPosh:kinesis?expand=1 , should give some directions if you need something.

@boneill42 is this still WIP or are you ready for review?

Still WIP... i have the rest of the code, just didn't push it up yet.  Give me until the end of the weekend (10/29).

No rush, was just curious

@gianm should we consider building something similar to  http://druid.io/docs/<IP_ADDRESS>/development/extensions-core/kafka-ingestion.html for kinesis instead of doing it on tranquility ?

@Gauravshah I believe that's the plan (pull vs. push model), which is honestly why I haven't spent a ton of time getting this in a stage to merge.   The pull model is the way to go.


AutofillGroup breaks autofocus of TextField on route change

The code below, when run on an iPhone or iOS Simulator, prevents the keyboard from staying open after navigating to the "Second" screen. This seems to be caused by a delayed call to TextInput.finishAutofillContext, though this seems to behave differently on Android.
When the AutofillGroup on First is removed, the keyboard stays open as intended.
Forcing a re-focus upon first unfocus via a FocusNode with a Listener is not a valid workaround, as this blocks any initial focus changes into the second TextField on Android.

Minimum example
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(home: Home());
  }
}

class Home extends StatefulWidget {
  const Home({Key? key}) : super(key: key);

  @override
  State<Home> createState() => _HomeState();
}

class _HomeState extends State<Home> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: ElevatedButton(
          onPressed: () => Navigator.push(
            context,
            MaterialPageRoute(builder: (_) => const First()),
          ),
          child: const Center(child: Text('To First')),
        ),
      ),
    );
  }
}

class First extends StatelessWidget {
  const First({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            ElevatedButton(
              onPressed: () => Navigator.pushReplacement(
                context,
                MaterialPageRoute(builder: (_) => const Second()),
              ),
              child: const Text('To Second'),
            ),
            const AutofillGroup(child: SizedBox()),
          ],
        ),
      ),
    );
  }
}

class Second extends StatelessWidget {
  const Second({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          TextFormField(autofocus: true),
          TextFormField(),
        ],
      ),
    );
  }
}

Doctor output
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.0.1 21A559 darwin-arm,
    locale en-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version
    31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)

Hi @Lootwig, Thanks for filing the issue. I am able to reproduce the issue on stable and the master channel, AutoFillGroup prevents opening keyboard when TextField.autoFocus is true. This works fine on Android
minimal sample code in the original post

IOS
Android

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.8.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (3 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.32.0

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555                     • android-arm64  • Android 11 (API 30)
    • iPhone 13 Pro (mobile) • 0FA2FB93-2A89-4FDB-8293-DF66188F1E54 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0
      (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 96.0.4664.110

• No issues found!

[✓] Flutter (Channel master, 2.9.0-1.0.pre.384, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.9.0-1.0.pre.384 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a3fd36a115 (3 days ago), 2022-01-14 20:40:17 -0500
    • Engine revision 83d99a5809
    • Dart version 2.17.0 (build 2.17.0-16.0.dev)
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.32.0

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555                     • android-arm64  • Android
      11 (API 30)
    • iPhone 12 (mobile)     • A047BAB5-CBE0-4DAF-962E-01A35B593FB5 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS
      12.1 21C52 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google
      Chrome 97.0.4692.71

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

CC @LongCatIsLooong

Thanks for the repro! The problem appears to be TextInput.finishAutofillContext is getting called several frames late (because of the route transition animation) during unmount after the autofocused new text field is already on screen and has focus.
Unfortunately I think telling the os to remove only specific text fields doesn't work, as on Android there is no such api to only commit a subset of text fields that's in the current Activity, so pretty much the only viable option will be to fix the timing of the finishAutofillContext call. I'm thinking maybe each AutofillGroup should by default hook into it's route's willPop callback and call TextInput.finishAutofillContext there instead? /cc @chunhtai

is it because of TextInput can only attach to one client at a time? if so I think TextInput.finishAutofillContext should be smart enough to handle calls when the caller is not the current client.
The other way of fixing this without touching too much of the API will be listening to https://api.flutter.dev/flutter/widgets/Route/isCurrent.html or https://api.flutter.dev/flutter/widgets/Route/isActive.html
in deChangeDependency

The limitation comes from the Android commit autofill context API where everything in the current Activity will be committed or discarded. I'll give isCurrent a try, thanks for the pointers!

CC @LongCatIsLooong

@LongCatIsLooong Do you have any progress here? Is there any temp. workaround for the issue?

I am also facing this issue, anyone know how to solve this?


Add a slew of structures

Add A Little Structure To Our Lives

[ ] BinTree
[ ] AnonBinTree
[ ] RoseTree
[ ] ZipList
[ ] Replace that silly List implementation with a Cons list

[ ] Add uncons to new Cons list.

@evilsoft
https://github.com/funkia/list
Worth a quick look if not already familiar. I know the developer was integrating for Ramda and separately for Sanctuary.


Fix Stuck on "Opening GitHub authentication page"

Updated to not wait for open since it sometimes doesn't resolve until the browser is completely closed i.e. cmd + q on Mac
Fixes: #151

Related issue: https://github.com/sindresorhus/opn/issues/91


pix0-contract-common

Could you provide pix0-contract-common?
rust_analyzer won't work with your projects out of the box.
Caused by:
failed to read /Users/wotori/git/sources/pix0/pix0-contract-common/Cargo.toml
Caused by:
No such file or directory (os error 2)

Hi Wotori, sorry, I can't provide the entire library.  The open source of this contract is to show its validity, it's not yet meant for anyone to clone and launch their own. Thanks

In the upcoming future, we'll have part of Rust libraries to be released, if your NFTs would like to integrate with our collection or marketplace contracts

Ok, got it. Cool contribution to the hackathon btw!

Thanks


Spyder debugging keyboard shortcuts on a Mac

What steps will reproduce the problem?

I am running Spyder 5.0.5 with macOS Big Sur version 11.5.1 on a Late 2013 Mac Pro.
I have updated both Anaconda and Spyder.
The keyboard shortcuts on the Debug and other menus are not working.  I have tried resetting them and remapping them.  Neither worked.

Hey @dkaisersmsu, thanks for reporting. Could you try to remap them by going to the menu
Tools > Preferences > Keyboard shortcuts

and try again?

Closing due to lack of response.


the classes are undefined

foreaxample :

and all other classes

you are so lucky , i have no style ( every classes are undefined )

Use this css file. @thg303 gathered it from the one in the repository. don't forget to fix the extension to ".css"
evan-calender-style.css.txt
After adding styles, you need to present the styles to the DatePicker :

const styles= {
calendarContainer: 'calendarContainer',
dayPickerContainer: 'dayPickerContainer',
monthsList: 'monthsList',
daysOfWeek: 'daysOfWeek',
dayWrapper: 'dayWrapper',
selected: 'selected',
heading: 'heading'
}

then:
 <DatePicker calendarStyles={styles}/>

Add this style to your css to make calendar top of modals:
.tether-element {
    position: relative; z-index: 9999 !important;
}

when add this style careful to add last line of style { currentMonth:"currentMonth"}. this is working for me.
const styles = {
calendarContainer: "calendarContainer",
dayPickerContainer: "dayPickerContainer",
monthsList: "monthsList",
daysOfWeek: "daysOfWeek",
dayWrapper: "dayWrapper",
selected: "selected",
heading: "heading",
next: "next",
prev: "prev",
title: "title",
currentMonth:"currentMonth"
}
<Calendar styles={ styles } />
<DatePicker calendarStyles={ styles } />

you are so lucky , i have no style ( every classes are undefined )

@nimahkh make sure you have css-loader and style-loader installed.


Update index.jsx

Description
Problem*
Resolves
Summary*
Additional Context
Documentation*
Check one:

[ ] No documentation needed.
[ ] Documentation included in this PR.
[ ] [Exceptional Case] Documentation to be submitted in a separate PR.

PR Checklist*

[ ] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt on default settings.

(making this a draft, I was teaching @alyssaztec how to make text-only PRs)


Remove Deprecated components

Describe the bug
componentWithMDXScope is deprecated. You don't need it anymore
Appears about 100x in the deploy logs — figure out where this is coming from and get rid of it!

https://github.com/liferay-design/liferay.design/pull/317


EDA evaluation dataset and translation

We need to perform exploratory data analysis (EDA) on our NLP dataset to identify potential issues and improve our models.
To do this, we need to create an EDA evaluation dataset consisting of a representative sample of our main dataset, including examples from all relevant languages and domains.
The EDA dataset should be large enough to provide a meaningful sample, but small enough to be processed quickly and easily.
We also need to create translations of our dataset in all relevant languages, either through automated translation or manual translation by native speakers.
These translations should be high-quality and accurate, with attention paid to preserving nuances and contextual meaning.
The translated dataset should be aligned with the original dataset, meaning that each example in the original dataset should have a corresponding translated example with the same metadata and labeling.
We will use the EDA evaluation dataset and translations to perform thorough analysis of our main dataset, identify potential issues, and improve our models for multilingual NLP tasks.

volunteer ja


MacOS - JetBrains Rider - MudTable OnRowClick giving false error

Bug type
Component
Component name
MudTable
What happened?
When using JetBrains Rider, the OnRowClick event call back is giving a false error that it cannot resolve the method. You can see in the error description that it is blending the Player class with the TableRowClickEventArgs -- "PlayerableRowClickEventArgs". The project builds and functions normally.

Expected behavior
No invalid error message displayed.
Reproduction link
NotApplicable
Reproduction steps

Add new MudTable in JetBrains Rider
Add a OnClickEvent event call back and a method to go along with it that has TableRowClickEventArgs
See false error message.

Relevant log output
No response
Version (bug)
6.0.6
Version (working)
No response
What browsers are you seeing the problem on?
Safari
On what operating system are you experiencing the issue?
Mac OSX
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

+1 also experienced this issue

Hi.
You should report this to JetBrains as there is no such error in Visual Studio 2022.
Also, such errors rarely can be caused by the project itself, the root cause is usually IDE, roslyn or razor compiler.