Missing pre-setup Wiki for Github Action template

Bug report
After trying to use our new Github Action template in nimble medium project, I found out that we're missed the pre-setup wiki as I list down below:

Setup Firebase

Create a project for staging & production
Configure Firebase Crashlytics

Setup Fastlane Match

Create a private repo to store certs & provisioning profiles
Setup authentication for Fastlane match to access into this repo
Initialize certs & provisioning profiles

Questions
Can we use one private repo for all projects?
Words from Fastlane match docs
Git Storage

Use one git branch per team. match also supports storing certificates of multiple teams in one repo, by using separate git branches. If you work in multiple teams, make sure to set the git_branch parameter to a unique value per team. From there, match will automatically create and use the specified branch for you.

Do we should create<EMAIL_ADDRESS>AppStoreConnect account and use it for our Fastlane Match?
Refer this
What's Next?
Create pre-setup WIKI for Github Action template

@markgravity For the pre-setup wiki, Firebase and Fastlane already have their documentation (setup project, setup private repo or create certs and profiles). So I think we can use their document link and put it into the iOS Dependencies page.

@markgravity

For the question Can we use one private repo for all projects?

For client projects: We must not use shared private repo for all client projects.
For Nimble internal projects (medium-ios, ...): Yes, we can use a shared private repo for all our internal projects.

The shared private repo contains 1 distribution cert, 1 development cert. And provisioning profiles for all projects (based on bundle id)

For the question Should we create<EMAIL_ADDRESS>We should not create a shared account with the admin role. Team Lead should care about create/revoke certs and create/delete provisioning profiles with an admin account. Other developers just need to get all certs and profile from the match repo and install it.

@markgravity For the pre-setup wiki, Firebase and Fastlane already have their documentation (setup project, setup private repo or create certs and profiles). So I think we can use their document link and put it into the iOS Dependencies page.

Agree, atleast we should give they some links about what they need to do before they can use our Github Action 👍
Btw, in Firebase setup we need a script to dynamic copy GoogleService-Info.plist base on configuration

@markgravity Please check all documents from the Notion page. And add comments on it so the author can add more references links for you.


feat(pkg/dmesg): use common ctime parser

Break https://github.com/leptonai/gpud/pull/157 into smaller PRs.

Why do we need a version that doesn't return error?

Let me check if I need it in other PRs. If not, I will remove :)


🔒 Fixed magic link endpoint sending multiple emails

Without validation it was possible to send a string of comma separated email addresses to the endpoint, and an email would be sent to each address, bypassing any rate limiting.

@daniellockyer The changes to yarn.lock don't look correct - what is the proper way to add dependencies to our packages? I've used yarn add here.
Should I also be updating these dependencies to use version 0.0.0 or is that for core only?


Just a few more pron sites

deepfakepornvideos.com/
deepfakeporn.net/
deepfucks.com/
celebritysex.co/
deepfake-porn.com/
pornbest.pro/
pornhd.josex.net/
PS: Thank you for your work

Thanks Caleb @calebvisage
Ping @sinfonietta, add these to your list?

@StevenBlack @calebvisage I have added these

Thank you @Sinfonietta. Closing.


commit

Fixes Issue
#18

Changes proposed
filtered resources by tags

./awsctl get ec2 --tags=key,value1,value2 this cmd will help you get ec2 instance using key values. You can have more than one values for a particular key.
./awsctl get ec2 --tags=key If Values are not specified, it will show all values associated with that key and therefore will print those instances.

@adityasimant can you update the commit title please?

should we have a separate Client Function?

@adityasimant you can see how it's done in kubectl: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/

https://github.com/kubernetes/kubectl/blob/master/pkg/cmd/label/label.go


how to change title from "Astro Cactus"?

sorry dumb question

Hey @Ziggomatic,
You can change it https://github.com/chrismwilliams/astro-theme-cactus/blob/64ae486e7e63d74d3c5cdc5c8d0ccbc23aecc77d/src/components/layout/Header.astro#L67

thank you!


Memory Leaks

Hi Ken!
I think dbox 0.5.0 and 0.6.3 each introduced a memory leak. I wrote a test script to demonstrate, which repeatedly pushes and pulls and prints its memory use.
dbox 0.4.4: memory use grows very slowly, then appears to stop growing.
dbox 0.5.0: memory use grows fast, then slows down but doesn't appear to stop growing.
dbox 0.6.3: memory use grows much faster, but sometimes drops considerably, and may or may not be bounded.
Here's the test script:
https://gist.github.com/1963067

Thanks for looking into that, Jason. We've been noticing some runaway memory issues as well, but haven't dug as deeply into them as you. I'll probably have time to dig into this the week after next.


Fix missing API implementation in the model layer of distributed data models

The resolvers for distributed data models (DDMs) are identical to all other resolvers so far. Thus they offer write access functions in which they invoke the respective data model layer's API implementation. Consider the following example:
  const person = require(path.join(__dirname, '..', 'models_index.js')).person;
  // [...]
  addPerson: function(input, context) {
        return checkAuthorization(context, 'Person', 'create').then(authorization => {
            if (authorization === true) {
                return person.addOne(input);
            } else {
                throw new Error("You don't have authorization to perform this action");
            }
        }).catch(error => {
            console.error(error);
            handleError(error);
        })
    }

Note that the snippet person.addOne(input); will not raise a "not implemented Error", but will cause a hard to understand "person.addOne is not a function" error.
Please implement all write access as in the generic (webservice) data models.
Expected max. work time: 3 h

Remember to adjust the unit tests, please!

Currently distributed resolvers still include the functions that are not implemented for distributed data models. Namely all limit-offset based paginations on root resolver level and as association resolvers.
Please remove them from the distributed resolver and schema.

Currently distributed resolvers check authorization on two levels:

The distributed data model, e.g. 'Person', and subsequently
the registered adapters.

Fix this to only check registered adapters and no longer the data model, i.e. its name.


Ability to use custom notification daemon and disable existing one

Is your feature request related to a problem? Please describe.
I have an existing swaync config that I'd like to use, which I prefer to the one that comes with Hyprpanel.
Describe the solution you'd like
I would like to be able to disable the existing notification daemon, and change the command executed when the notification button is pressed. In this case, for me that would be to execute swaync-client toggle rather than opening the hyprpanel notification daemon.

this is a duplicate of another issue, closing


No TelegraphChat defined for this request

I am using webhook handler and exploring how to use Telegraph facade. I am using Laravel
When I try to send simple hello world message in my log it shows : No TelegraphChat defined for this request
I want to use differant methods of Telegram Bot APi which are not listed in your documentation. How can I achive that?
use DefStudio\Telegraph\Facades\Telegraph as TelegraphFacade;
class CustomWebhookHandler extends WebhookHandler
{
public function start()     {     TelegraphFacade::message('hello world')->send();     }
}

Just use $this->reply('hello word')

Just use $this->reply('hello word')

@fabio-ivona I want to use reply keyboard In doc I am unable to find how to bind with $this as you suggested.
It is possible to use Telegraph facade in webhook? and how?

resolved issue :
I can pass like :
$this->chat->message('select options')
->replyKeyboard(ReplyKeyboard::make()->buttons([
ReplyButton::make('foo')->requestPoll(),
ReplyButton::make('bar')->requestQuiz(),
ReplyButton::make('baz')->webApp('https://webapp.dev'),
]))->send();


C++ style comments inside lambda

Hello,
comments inside lambda functions have to be C++ style // instead of the yaml style #
This fixes: https://github.com/DomiStyle/esphome-dlms-meter/issues/22

Thanks!


[Package Request] ffsend

Source URL

https://github.com/timvisee/ffsend
https://gitlab.com/timvisee/ffsend

Homepage URL
https://timvisee.com/projects/ffsend
Command names
N/A
How to confirm after installation
ffsend --help

How to install
The tool's official installation guide:

[X] Download pre-built binaries

[X] GitHub Releases

Note
No response

https://github.com/aquaproj/aqua-registry/pull/29698


Offloading Sub-Graph Inference to TensorFlow*

offload subgraph inference for TensorFlow *?
I am trying to offload the Mobilenet V2 1.0 224 model download from: https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_convert_model_Convert_Model_From_TensorFlow.html
but when i run build.sh file in tf_call_ie_layer encountered an error :
lerror @ LTOL: / opt / intel / openvino / bin $ ./setupvars.sh
[setupvars.sh] OpenVINO environment initialized
lerror @ LTOL: / opt / intel / openvino / bin $ cd '/ opt / intel / openvino / deployment_tools / model_optimizer / tf_call_ie_layer'
lerror @ LTOL: / opt / intel / openvino / deployment_tools / model_optimizer / tf_call_ie_layer $ ./build.sh
ERROR: INTEL_OPENVINO_DIR environment variable is not set
Please, run the 'source <OpenVINO_install_dir> /bin/setupvars.sh'
Although I've already initialized an environment variable, it still doesn't work. Can you guys please help me?

Hi @DucLong06,
Thanks for reaching out. Is there a particular reason why you need to offload sub-graph to tensorflow for this model? The model is listed as a supported model from TensorFlow Lite, you can continue to convert to IR format for inference.
source /opt/intel/openvino/bin/setupvars.sh
python3 /opt/intel/openvino/deployment_tools/model_optimizer/mo.py --framework tf --input_model mobilenet_v2_1.0_224_quant_frozen.pb --batch 1 --reverse_input_channels --output output --input input
Regards,
Jesus

yes thank you. So which models need to convert. I am also wondering about the problem of freezing:
https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_convert_model_Convert_Model_From_TensorFlow.html
Can you explain for me please. thank you

Hi @DucLong06
I noticed you started a new issue. If it's okay with you, let's close this issue and continue to work on #409 .
Regards,
Jesus


Handle pagination when there are many components that are matched by the EventType consumer Backstage id

During https://github.com/knative-extensions/backstage-plugins/pull/24, I've added code to fetch the consumers of an eventType. This fetch operation is done using the Backstage catalog api.
Currently, the code doesn't take care of the pagination if there are more than 1 page of components that are matched by the query criteria.
See https://github.com/knative-extensions/backstage-plugins/blob/408beed6455b648286e4873647a859fd150cdd94/backstage/plugins/knative-event-mesh-backend/src/providers/knativeEventMeshProcessor.ts#L102-L111
Tasks:

Implement the feature
Add new test cases

/assign

Per documentation;  https://backstage.io/docs/features/software-catalog/software-catalog-api/#get-entitiesby-query
The limit number of entities returned per page is 20(by default);   we will use that default number  and  not provide any limit per page/batch.

/close
Fixed by #43


docs: update the README.adoc

Description of the changes
Update documentation with the latest variable changes (which I did not do when I changed the variables) and with some more troubleshooting sections.

@ckaenzig I'm sorry, I just noticed a few typos when I was about to merge... Could you reapprove the PR?


Please check mandatory status of version field in seed.preferences

Hi!
Couldn't you please check, if version isn't a required field in prebid_sso_transmission -> seed -> preferences?
version field doesn't exist in seed -> preferences of Example of a Transmission Request, but exists in all other parts of the document, it looks like an optional status of it, but it isn't documented.

Thanks for your feedback, we will look at it with @RomainLofaso.
As a side comment, I'm currently defining all the messages in JSON Schema format.
My goal is (at some point) to generate the Markdown documents automatically from these schemas. Hopefully this will bring clarity and consistency.

Thank you!
It is required. The documentation has been updated in those two Pull Requests:
https://github.com/criteo/addressable-network-proposals/pull/43
https://github.com/criteo/addressable-network-proposals/pull/51

@kyeliseyev, those pull requests are merged. If it is fine for you, please close the issue.
Thanks again


HDDS-5418. Let Recon send reregisterCommand to Datanodes if DatanodeDetails changed

What changes were proposed in this pull request?
Currently the "DatanodeDetails" are stored in Recon's local DB. Once a datanode has registered the content of DatanodeDetails won't be changed.
We met a scenario that datanodes' hostname is changed after running a while in Ozone cluster, the hostname in Recon's UI will still show the old hostnames.
This ticket proposes to send "reregisterCommand" to datanodes if the information of the datanode is changed.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5418
How was this patch tested?
Unit test

@avijayanhwx Could you help to check this PR?

@symious Are you still working on more changes in this PR? I see the title as 'WIP'.

@avijayanhwx I did some changes on the commit to show more information like version, setup, etc.
Since the information is stored in NodeStateMap and doesn't support updates on this information, I think it's better to maintain an in-memory collection to store the updated datanodeDetails, besides I used the information from the in-memory collection to display on the Recon UI.


Adding the build for Windows 64.

Can we add a version for Windows AMD64?

@jniltinho
Thank you for the PR.
I have a couple of questions about this PR.
First, why did you decide to upload to GitHub Release? Releasing all the builds would be confusing for our end-users. I like the current solution using store_artifacts.
Secondly, is the README fix a mistake?

Sorry. I close this PR because there is no response to my questions. I added Windows build in #62.


Add event for sign in submission

When the user submits the sign in form successfully, the event "Sign in" should be triggered.

It looks like we've had events triggered for this for quite a while - auth_existing_entered_correct_secret_key

@markmhx is this event through?

I'm seeing this come through on Banter. We just need to modify the name from "auth_existing_entered_correct_secret_key" to "Sign in".

I've updated this issue to encompass updates to all existing event names plus the removal of those no longer needed.


Server: bump to 0.3.1

Implementing new endpoint will be a MINOR bump.

This is a bugfix, not an API change, so should be 0.3.1.


Typo fix on evm.md

@santtu you'll have to sign the CLA (click the "Details" button next to the red X).


Design the hierarchy of Number with interfaces

Description
Design a new hierarchy of numbers with interfaces that should be availble for all platforms.
The Number hierarchy should contain the following types:

Number representing numeric values
NonZeroNumber representing numbers that don't equal 0
PositiveNumber representing positive numbers including 0 (cf. x >= 0)
NegativeNumber representing negative numbers including 0 (cf. x <= 0)
StrictlyPositiveNumber representing positive numbers excluding 0 (cf. x > 0)
StrictlyNegativeNumber representing negative numbers excluding 0 (cf. x < 0).

The Int hierarchy should have the same structure of the Number one!

Checklist

[x] Design and comment the hierarchy below.
[x] Create an issue for implementing the Number type (see #99).
[x] Create an issue for implementing the NonZeroNumber type (see #100).
[x] Create an issue for implementing the PositiveNumber type (see #101).
[x] Create an issue for implementing the NegativeNumber type (see #102).
[x] Create an issue for implementing the StrictlyPositiveNumber type (see #104).
[x] Create an issue for implementing the StrictlyNegativeNumber type (see #105).

Here is an example of a hierarchy of numbers:
package kotools.types.number

// ---------- Number ----------

public sealed interface Number<T : kotlin.Number> {
    public val value: T
}

public sealed interface NonZeroNumber<T : kotlin.Number> : Number<T>
public sealed interface PositiveNumber<T : kotlin.Number> : Number<T>
public sealed interface NegativeNumber<T : kotlin.Number> : Number<T>

public sealed interface StrictlyPositiveNumber<T : kotlin.Number> :
    NonZeroNumber<T>,
    PositiveNumber<T>

public sealed interface StrictlyNegativeNumber<T : kotlin.Number> :
    NonZeroNumber<T>,
    NegativeNumber<T>

// ---------- Int ----------

public sealed interface Int : Number<kotlin.Int>

public sealed interface NonZeroInt2 : Int, NonZeroNumber<kotlin.Int>
public sealed interface PositiveInt2 : Int, PositiveNumber<kotlin.Int>
public sealed interface NegativeInt2 : Int, NegativeNumber<kotlin.Int>

public sealed interface StrictlyPositiveInt2 : Int,
    NonZeroInt2,
    PositiveInt2,
    StrictlyPositiveNumber<kotlin.Int>

public sealed interface StrictlyNegativeInt2 : Int,
    NonZeroInt2,
    NegativeInt2,
    StrictlyNegativeNumber<kotlin.Int>

Done.

Don't include this issue in the version 3.0.0. We will focus on the Int hierarchy instead.


signed the CLA already, but your status is still pending

response = Thank You!
You have authorized your GitHub account and successfully signed the Individual Contributor License Agreement.
but (cla-unsigned) still persist.

Hi, sorry you experienced this issue. It looks like the pull request where you were asked to sign the CLA, https://github.com/diem/diem/pull/7945, did in fact never get an updated status, which is odd... I think this system has been improved since then. Hopefully you'll choose to submit another PR in the future, at which point I hope this works correctly (ping me if it doesn't!). Until then, I'll close this issue.


Improve/fix documentation of Complex*

Reported by dietmarw on 12 Feb 2010 14:36 UTC
See attached

[raw-attachment:Complex_StyleCheckLog.html]
[raw-attachment:Modelica.ComplexBlocks_StyleCheckLog.html]
[raw-attachment:Modelica.ComplexMath_StyleCheckLog.html]
for indicators what needs to be improved/fixed.

Migrated-From: https://trac.modelica.org/Modelica/ticket/284

Comment by AHaumer on 12 Feb 2010 15:23 UTC
resolved by 0bf6401c2c99abdcf6b54d0ea7ad840779fa104a

Comment by dietmarw on 12 Feb 2010 15:51 UTC
Some more capitalisation fixes for strings in 1e24b04df2a8c206d9bb63e6bffca38c5629958e.


Disable via jQuery selector?

Great script, but I'm trying to find a way to undo/disable the effect on a particular selector?  For example: If I call the script using $('#my_id').BlackAndWhite({ hoverEffect: true });
is there a way to stop the effect and revert back to the original color image with something like $('#my_id').BlackAndWhite({ disable: true }); ?
I was able to "trick" the script by inverting the effect and forcing a 'mouseleave' trigger as in the following:
$('#my_id').BlackAndWhite({ invertHoverEffect: true });
$('#my_id').trigger('mouseleave');
The problem with this hack is that now, when I hover over the color image again, the b&w effect is still activated and not removed.  Is there a better way?

Try with something like this http://jsfiddle.net/gianlucaguarini/qc8kcwps/


Experimental jax natural allocation emit

This code is only experimental and should never be used in production!
It could be use to dump a JAX generated mlir module with xla.

Steps: Donwload JAX on github git clone https://github.com/google/jax.
Find the Workspace file. Switch to a local tensorflow with this modified mhlo_to_lhlo_with_xla pass.
Pick a name of a mlir module and change the string in the modified mhlo_to_lhlo_with_xla.cc.

If you do not know the module names dump all modules with the command of step 5.

Build JAX with  (see how to build Jax )

python build/build.py --enable cuda
pip install dist/*.whl --force-reinstall

Use this command to generate mlir modues:

XLA_FLAGS="--xla_dump_to=folder/to/dump" python3 ./examples/your_example.py

JAX will through a exception but the picked module will be dumped with natural allocs.

@dfki-thsc This PR is in draft, any update on this? Please. Thank you!

@dfki-thsc This PR is in draft, any update on this? Please. Thank you!

Closing stale PR


Remove Python 2.x file methods

I noticed this when looking at 98ee57e343206ef553de78b22be5e9a6dacb5060 again. Both xreadlines and softspace used to exist on file objects but were removed in Python 3. From taking a critical look at what counts as a file I'd say .newlines is close but I have left it for now, these 2 should be non-controversial.

I don't think it's best to remove HttpRequest.xreadlines() without a deprecation considering that method works fine on Python 3.

You're probably right, I updated my patch.

Addressed all concerns

On Apr 26, 2017, at 12:23, Tim Graham<EMAIL_ADDRESS>wrote:
@timgraham commented on this pull request.
Please move the deprecation to a separate PR and create a ticket for it. See also the deprecation checklist.
In docs/spelling_wordlist:

@@ -855,6 +856,7 @@ wsgi
www
xe
xgettext
+xreadlines
Shouldn't be needed in the word list as long as all instances of this are surrounded by backticks.

In docs/spelling_wordlist:

@@ -14,6 +14,7 @@ alphanumerics
amet
amongst
analytics
+api
shouldn't be needed in the word list-- use API in the docs instead

In docs/ref/request-response.txt:

@@ -378,7 +385,6 @@ Methods
for element in ET.iterparse(request):
process(element)

please don't make unrelated whitespace changes
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Ah need to create a separate ticket for the deprecation.

On Apr 26, 2017, at 12:23, Tim Graham<EMAIL_ADDRESS>wrote:
@timgraham commented on this pull request.
Please move the deprecation to a separate PR and create a ticket for it. See also the deprecation checklist.
In docs/spelling_wordlist:

@@ -855,6 +856,7 @@ wsgi
www
xe
xgettext
+xreadlines
Shouldn't be needed in the word list as long as all instances of this are surrounded by backticks.

In docs/spelling_wordlist:

@@ -14,6 +14,7 @@ alphanumerics
amet
amongst
analytics
+api
shouldn't be needed in the word list-- use API in the docs instead

In docs/ref/request-response.txt:

@@ -378,7 +385,6 @@ Methods
for element in ET.iterparse(request):
process(element)

please don't make unrelated whitespace changes
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Okay I have updated this PR to not handle the deprecation and will open a new ticket + PR


TSC Agenda 2022-03-01

TSC Meeting Details
Date/time: 2022-03-01 @ 3PM UTC (8am Pacific)
Location: Discord tac-tsc voice channel
Reply with a comment below to add items to the agenda

Topic: Add 'usability' column to sig feature matrix
Presenter: @hultonha
Length of time: 10 minutes
Information: https://github.com/o3de/community/tree/main/features
(attention of @SergeyAMZN @greerdv, @moraaar)
Topic: Follow-up on deprecation approach/strategy for O3DE
Presenter: @hultonha
Length of time: 10 minutes
Information: https://github.com/o3de/sig-release/pull/23
(attention of @SergeyAMZN @greerdv, @moraaar and @amzn-jillich)


Added test environment for mssql

This pr adds a test step in drone to run tests with mssql db.
Even if you dont like Microsoft (like me), IMHO we should at least have tests for mssql dbs or not support it at all.

Database is not created so gitea is not able to connect:
error: mssql: Cannot open database "testgitea" that was requested by the login. Using the user default database "master" instead.

Now I get that weired error:
Failed to initialize ORM engine: sync database struct error: Unknown colType SYSNAME for MSreplication_options - optname

Is that an issue with xorm, the test I added, or Gitea?

@kolaente Gitea does not create database so docker service needs to do it.

@kolaente I will investigate it. And as @lafriks said, you have to create database manually.

@kolaente you have to add some SQL to create the database at first.

Thanks @JonasFranzDEV!
I'm very busy at the moment, I didn't had the time to implement the fixes.

CI failed again, is that because a bad implementation of the test or issues in the code itself?

@kolaente seems to be issues in code itself as I wrote

This PR is good, however now we discover that some code fails on MSSQL.
 So the CI failure is not related to changes. But we should fix those bugs indeed.

@lunny In a seperate pr?

In seperate PR is ok for fixes, but this PR is blocked until the fixes are in place. Because if fixes aren't in place CI will always fail and we can't do automated testing

@kolaente I mean what @techknowlogick said.

Hi, I've just had a look at this test. Some failing tests are now working with the latest fixes. However: There seems to be an issue with xorm related to DEFAULT values of columns.

This can be seen in the upper value as it should default to true.
On line 321 (https://drone.gitea.io/go-gitea/gitea/4474/14) the Create Organization fails because the user is not allowed to create orgs.

@chdxD1 could you send some pull requests to fix them?

@lunny Yeah I'm on it. Just noticed that there is already a check handling this (which is weird, have to look at it a little more in depth)
https://github.com/go-xorm/xorm/blob/f16ce722ec150ade2c2e5a08a6fed64706c79465/dialect_mssql.go#L219

@chdxD1 https://github.com/go-gitea/gitea/pull/5523

@lunny Thanks for the pull request (this is also an issue but not the underlying one) https://github.com/go-xorm/xorm/pull/1173
Tested this locally and all tests seem to be OK.

@chdxD1 thanks, merged xorm's PR.

@lunny I'll update it

Now the build fails, does anyone know if xorm changed significant amounts of code so our code is invalid?

@kolaente Could you please run a dep ensure locally and remove the string from the interface https://github.com/kolaente/gitea/blob/master/models/models.go#L39

Build should work now!

@kolaente Despite repo_watch using e.Exec: This is the relevant change from xorm (for reviewers): https://github.com/go-xorm/xorm/commit/4ce90f9a62d8f656b6dd55d80404cf3cf8b1894e
The first parameter is beeing checked for type string (so all calls to the Exec function will still work)

@chdxD1 makes sense, I just thought it had beed removed in favour of x.SQL.

Codecov Report

Merging #4282 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master    #4282   +/-   ##
=======================================
  Coverage   37.57%   37.57%
=======================================
  Files         319      319
  Lines       46947    46947
=======================================
  Hits        17642    17642
  Misses      26794    26794
  Partials     2511     2511

Impacted Files
Coverage Δ

models/models.go
54.54% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

CI passes! :tada:  :tada:  :tada:  :tada:  :tada:  :tada:

🎉

@lunny need your approval

Thanks all of you!!!


File Picker Contracts With Cached File Update broken in 1803 update

The cached file functions in FilePickerContracts seem to have completely broken under 1803.
The CachedFileUpdaterUI_FileUpdateRequested event never fires. I believe it's related to the the Window.Current.Activate();  workaround
I think this is most likely a frame work issue as a number of apps in the store as well as our own have stopped work.
I've post the issue on the forum here

Sample updated to clarify when activation occurs. Release v7.0.2. If this doesn't address the problem, let me know.

Hi Raymond,
Just tried the updated samples but am still seeing the original behaviour. I.e the cached file update events not firing. (Both Open and Save)
In the FilePickerContractsTask the first thing it does is show a toast. The toast never shows and sticking a breakpoint confirms it never runs.
Also in CachedFileUpdaterPage.xaml line 74 a cachedFileUpdaterUI.FileUpdateRequested event is set up.
This event never fires for me. I’ve confirmed via breakpoint the event is setup (i.e isForegroundActivated == false)
Are you may be running a future version of Windows?
Also can I make a suggest? On the cached file open add the following in the before access handling as the sample doesn’t seem to do anything to the sample file before access so if it doesn’t work you can’t tell.
await Windows.Storage.FileIO.WriteTextAsync(file, @"Cached file updated before access");
Thanks
Gary
From: Raymond Chen<EMAIL_ADDRESS>Sent: 14 September 2018 17:41
To: Microsoft/Windows-universal-samples<EMAIL_ADDRESS>Cc: Gary Gould<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Microsoft/Windows-universal-samples] File Picker Contracts With Cached File Update broken in 1803 update (#889)
Sample updated to clarify when activation occurs. Release v7.0.2https://github.com/Microsoft/Windows-universal-samples/releases/tag/v7.0.2. If this doesn't address the problem, let me know.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/Windows-universal-samples/issues/889#issuecomment-421416030, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQdCxDBnIb89IxchhayBDsCXH4IDrUwdks5ua9wagaJpZM4UDIrI.

This was the update I got from the feature team. I'll forward your feedback to them.


Update Coreum registry

Update Coreum mainnet to v3.0.3
Update Coreum testnet to v3.0.3
Add testnet upgrade history

This change is

Recreated - https://github.com/CoreumFoundation/chain-registry/pull/1


Feature ideas 💡✨

In this issue I want to track future feature ideas and gather some feedback around what you want to see next!

[x] Turn on / off accessibility on Android Emulators
[x] Send text to Android emulator
[ ] Clean derived data for each app separately
[ ] Show emulator on disk
[ ] Add emulators to favourites
[ ] Customise shortcuts launching emulators
[ ] Show / Hide - Android / iOS sections
[x] copy simulator name for iOS to use in the terminal
[x] copy android emulator device id to use in adb
[ ] Installed apps management

I would like to share some ideas too:

[ ] Show logs for iOS apps and logcat for android apps (sometimes you just want to check native logs but you don't want to open android studio or xcode)
[ ]  Filter logs for both platforms (it is really bad to filter logs using grep and etc)

Hey @dutradotdev,
Thanks for your input! I'm not sure if it is possible to show logs for iOS app without opening Xcode. Could you provide some examples of that? I think that adding option to launch logcat is great 👍🏻
Also, it would be very useful if you could provide an example of filtering logs (for both platforms).

could you add supporting scrcpy feature ?

could you add supporting scrcpy feature ?

@phucynwa Thanks for the suggestion but I want to keep MiniSim focused only on emulators. Therefore I won't add it, at least for now.

@okwasniewski  I don't know how to do this for iOS, for android you need to exec adb logcat and filter by tag (probably using regexes)
Android: https://developer.android.com/studio/command-line/logcat
iOS: https://stackoverflow.com/questions/10165641/how-can-i-get-the-console-logs-from-the-ios-simulator

you can use this to check device logs
brew install libimobiledevice
idevice_id --list // list available device UDIDs
idevicesyslog -u <device udid>

It would be nice if was possible open the command below in terminal
adb logcat -v color

In this menu:

It could be an option named like Open logcat

Hey @mrcsxsiq, thanks for proposing a new feature!
Starting with version 0.6.0 you can create your own custom commands! You can achieve this by creating a new command and pasting this apple script:
osascript -e 'tell app "Terminal"
    do script "adb logcat -v color"
end tell'

feature request: Wipe data for each android emulator

Is a CLI available? I would like to use it with some scripts I've built


Version 4.0.0 is missing in git

The current version on Puppet Forge is "4.0.0" but the current master is at "3.4.2". The Readme on Puppet Forge also contains a newer compatibility table.

Hey @solarkennedy, how did you do the last release? Can you add a tag for the approriate commit?

Er, apparently I did it wrong (again) :(
I'm using puppet blacksmith, but I'm just not doing it right. Let me try again.

Whoops, I didn't push. Everything is in sync now.


Snackbar doesn't render on Firefox & Firefox Mobile

This bug can be repro'd on the official page - https://getmdl.io/components/index.html#snackbar-section
Load the with Firefox (I'm using Developer Edition / Aurora 54.0a2 (2017-04-18) on desktop and Firefox 53.0.1 on Android, but it appears to affect all versions) and click the snackbar button.  Nothing is rendered at the bottom of the page.
It works with latest Chrome, IE, and Edge.  It works on Chrome for Android.

Works fine in FF 53 here.
If it isn't rendering properly in a developer edition but it is in stable for you, then you should file a bug with Firefox as that means they have a serious regression that needs to be handled.
Closing this out as there is nothing actionable here for us to do as this is a problem in an unstable browser. If the bug makes it to Stable, then we may look into a patch to work around the issue. However this is clearly a Firefox bug in Dev edition currently.
Thank you.


Enhance AsyncLock to support passing state.

Up to discussion: Should the public API be enhanced and the new internal method be made public?

I'm not convinced this is much of a win. the object state requires structs to be boxed which is equivalent with having a capture of a struct inside a freshly allocated delegate.

Right, structs would need to be boxed, but I found most of the time, if something would need to be passed to AsyncLock, it's a class. Besides, even if boxing would need to occur, it's still one allocation less than closure+delegate.

So what's your proposal for a trampoline with state? Duplicate AsyncLock with a generic type parameter?

Yes, don't penalize the stateless user places.

That would work if all places in a class would only ever pass the same type of state. This might be the case in Rx but it would severely limit the usefulness of AsyncLock. Hence the object parameter.

Why would it be public? Support Rx primarily, also T can be object.

Will revisit after #558 is merged.


Update exceptions.md to correct a english syntax error

Correct english syntax error
Before submitting pull request:

[ ] Check if the project compiles by running sbt compile
[ ] Verify docs compilation by running sbt compileDocs
[ ] Check if tests pass by running sbt test
[ ] Format code by running sbt scalafmt

Thanks!


Consider using Flask Configuration Handling

https://flask.palletsprojects.com/en/1.1.x/config/

@thomasyu888 Here is how we handle the data node configuration. Could you tell me what you think of this implementation?

@tschaffter , I don't think theres anything particularly wrong with the way we are doing it.  That being said, it may be nicer to use an already available tool to handle the data node creation instead of relying on custom code.
I took a look, and it seems like config.py is something you wrote - not autogenerated.  I don't have a strong preference, this seems like a "nice to have", but isn't a blocker.


Layer Fidelity Placement

Fix issue caused by addition of rzz gate

Add layer fidelity code to assist in circuit placement

Grids for eagle, Heron R1 and Heron R2 that can be used to build a new error map

Code to build the new error maps
Heuristic layer code for chains
Sample notebook

@mjlp123 do you want to take a look

this looks good to me, thank you for looking into it!


Refactor resource_params and redirect_to handling

Closes #265

Coverage remained the same at 84.395% when pulling 79df73a8356083e63fe4d3f5a45543b42580c370 on bug/redirect_two_multifactor into 3b1395961cb15672f8a1221ddb08c02c801c00f3 on master.


[New menu system] Increase the number of characters per line

Is it possible to increase the number of characters per line when a second line exist? Now a third row is created too early.
An image is better than a thousand words:

Found this bug while testing your alarm-qol-dow branch, too.
It is fixed and merged already (espruino/Espruino#2182).
You just need to update to the latest cutting edge build.

@storm64 Great, thank you!

Just tested, it works like a charm, thanks!


How Do You Type the Arrows?

Not an issue, but a question: How do you type the arrows?

Here's a nice list. On the right, the characters you write, on the left, what they become in fromscratch:


Please ship nautilus extension in the tarball

Hello,
I am making a Debian package for the nautilus extension (see this Debian bug), but the examples/ directory is not present in the tarball present on pypi, so it cannot be used directly.
Can you please put it in the tarball? This should only be a matter of adding examples to MANIFEST.in.
(FWIW in the meantime I copied the source and the extension will be in the next version!)
:sparkles: Thanks! :sparkles:

For 2.0 I've separated the nautilus part from subliminal itself. It's now in its own repository: https://github.com/Diaoul/nautilus-subliminal
2.0 will be released within a few weeks.
Let me know if that suits your needs.

Sure, if there are no 1.x releases planned then this totally works!


Make insurance return 30% faster when mark of unknown radio on players dead body

Globals file has Insurance.CoefOfHavingMarkOfUnknown value of 0.7 which tallies with documentation showing 30% decrease in wait time

Originally written by chomp

Change could be made in sendInsuredItems()

Originally written by chomp

Fixed in https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/342

Originally written by clodan


Feature Request

You should render visuals by using the steam overlay device or the discord overlay device, it would prevent admins from screen capturing you.

This is already the case. Visuals are being drawn on the steam overlay.

You're also not including the  header, globals.h has an error due to this.


[BUG]: Cli commands do not work

In raising this issue I confirm that

[X] I have fully completed the issue template
[X] I have searched open and closed issues for duplicates
[X] I have read the Contribution Guidelines
[X] I have read the Code of Conduct
[X] I have read the Documentation

Describe the bug
I Wanted to change the content of a button
The streamdeckc command is also not returning anything so i have no idea if it is even doing anything
There don't seem be be any documentation on the cli tool, at least i could not find any.
To start the progamm i just ran streamdeck in a terminal window (probably not relavant).
Steps to reproduce the behavior
running any cli command as i can see (like):
streamdeckc -d 1 -p 1 -b 1 -s 1 --text new
Expected behavior
The text of Button 1 should change to new
Screenshots

System Information
I tryed version 4.0.0-1 (from the aur) and version 4.0.0-r4-ga4f5ce2-1 (also from the aur)
Stream Deck Version
Standart

Update: I have now confirmed that installing streamdeck-linux-gui via pipx (so is a other way to make a virt. enviroment) has the same problem. The aur version is probably the save as the pip version but i couldn't hut to try.
Any and all help is appreciated.

I had a similar issue. The INDEX number for the --deck, --page, --button, and --state parameters actually starts at 0, not 1. I haven't been able to get the --deck parameter to work with any value, so I omit it from my commands so it will use the currently selected deck in the UI. You also need to add the --action (-a) parameter.
Try this command:
streamdeckc -a SET_TEXT -p 0 -b 0 -s 0 --text new
I also just discovered that the --state (-s) parameter is being ignored (except with -a SET_STATE) and the current state is used instead. That can be worked around by setting the desired state before making changes to it:
streamdeckc -a SET_STATE -p 0 -b 0 -s 1

yes that seems tho work if anyone reads this cam you point me to the file where i can read all actions in the codebase.
i assume there is a severe running in the background and i like to know all my options.

Yes, it seams it has all the actions are listed there i must have missed that.

I ask that that a small addition be made to the streamdeckc --help that explains that all pages, buttons and states start with 0 and not 1, its a bit counter-intuitive, at least for a novice linux user like myself, as all the GUI components starts with 1 and not 0.


chore: bdd-nh-1571069793 to 0.0.1

chore: Promote bdd-nh-1571069793 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


feat(#357): Deep Assertions

In this PR I added support of deeply nested annotations. Particulary inside:

If statementes
Lambda Expressions

Related to #357.
History:

fix(#357): identify the problem
fix(#357): fix the problem with if-statements
fix(#357): suggest ugly solution
fix(#357): add two more puzzles

PR-Codex overview
The focus of this PR is to add test cases for issue #357 related to assertions inside if statements and closures.
Detailed summary

Added test cases for assertions inside if statements and closures for issue #357
Refactored flatStatements method for better readability and maintainability

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 5min)


ng-repeat render order reversed by ng-if

Expected behaviour with replace: true on element created by ng-repeat
http://plnkr.co/edit/qG9zBzFg857NiOWBdDOI?p=preview
Reversed behaviour when ng-if is on root element using replace: true
http://plnkr.co/edit/3AlGxz3YAvYbTURQ6nnW?p=preview
The issue does not exist when using template instead of templateUrl
http://plnkr.co/edit/ErWSV8IWBwVazF9aOt4d?p=preview

There are a few other issues where the DOM is different between template and templateUrl. Let's track these here: https://github.com/angular/angular.js/issues/10612


Added Async support for DBAPI2 w/ implementation for psycopg

What does this pull request do?
Quick and dirty patch to introduce proper DBAPIv2 support for AsyncIO-based drivers, like psycopg. Cannot attest to full functionality but I will run on it for a while and report back or adjust if need be.
Related issues
Closes #1872

Looks like black is still reformatting your code. flake8 also has a few complaints, though you can ignore any that aren't in your new file, those are fixed here: https://github.com/elastic/apm-agent-python/pull/1941


Carthage code samples for iOS and macOS

This adds Xcode projects and code samples using Carthage packages of Themis.
Directory structure
Since we already have CocoaPods examples, new ones made the directory structure a bit messy. I have moved the code around so that it's a bit easier to navigate:
docs
└── examples
    ├── objc
    │   ├── iOS-CocoaPods   (moved)
    │   ├── iOS-Carthage    (new)
    │   └── macOS-Carthage  (new)
    └── swift
        ├── iOS-CocoaPods   (moved)
        ├── iOS-Carthage    (new)
        └── macOS-Carthage  (new)

All samples use the same code, just copy-pasted around.
How to use
In order to initialize Carthage project one must run
carthage bootstrap

in the project directory to pull the dependencies.
We pin Themis version to the current master (a415c1da65105ad42d4a201e57493f1b6e38cfee).
Caveats
There is one caveat with new Objective-C samples: they import Themis as
#import <themis/themis.h>

while CocoaPods samples use the following form:
#import <objcthemis/objcthemis.h>

CocoaPods use some wild magic for that imports to be possible while Carthage projects use the resulting framework name. I have not found an easy way around that so it seems we'll have to live with this discrepancy.

@vixentael, could you please check that these examples can be run on a machine different than mine (and on a real iOS device as well)? Thanks in advance. I'm not sure that Xcode does all the necessary magic out of the box (e.g., bitcode stuff, etc.)

confirm, works good on iOS and macOS


Edit index file

@JeffreyMcCraney is this a serious pr? :flushed:

@andreruffert not in the slightest. I'm new too github and accidentally did that while just messing around with the code. I deleted my forked repository thinking it would delete the PR. Sorry!  Learning curves... 😳

Sorry about the confusion!

Hehe ok no problem :stuck_out_tongue_winking_eye:


Heart Disease prediction using Logistic Regression

💥 Proposal
I am Debartha Paul, a GSSoC'23 contributor. I propose to implement the logistic regression methods to predict heart disease using The R Programming Language. The dataset is available at https://www.kaggle.com/datasets/johnsmith88/heart-disease-dataset
Steps:

Load and clean data, handle missing observations
Apply the logistic regression methods to fit a model
Predict values and measure accuracy
Document each and every instance of the work

Tools:

Generalised Linear Models
ROC

(A clear and concise description of what the proposal is.)

Can U please assign me the issue

@itsdebartha  - you can go ahead! We are assigning you 21 days for this project, after which it will be assigned to someone else if not completed. All the best!
Name the file as: algorithm_dataset_language.ipynb and link it in the readme of the labeled directory as algorithm - dataset - language.
@Shivangi-06   - since we are following the first-come-first-serve policy, we will not be able to assign you this issue. However, you can create another issue and use the same algorithm (ANN) on a different dataset.


Local Images

How to use local/relative images inside OG image template?

For now I'm using a shortcode to inline images:
eleventyConfig.addNunjucksShortcode("inlineImage", (path) => {
  const file = fs.readFileSync(path);

  return `data:image/jpeg;base64,${file.toString('base64')}`;
});

Inside og-image.og.njk:
<img width="352" height="440" src="{% inlineImage "src/assets/images/some-image.jpeg" %}" />

Here is a slightly updated example to cover more image formats:
import { promises as fs } from 'node:fs'
import path from 'node:path'

config.addNunjucksAsyncShortcode(
`inlineImage`,
async (path) => {
  let extension = path.extname(path).slice(1)
  let imgPath = path.join(config.dir.input, path)
  let base64Image = await fs.readFile(imgPath, `base64`)

  if (extension === `svg`) {
  extension = `svg+xml`
  }

  return `data:image/${extension};base64,${base64Image}`
},
)

But it is still not perfect. It is better to use a library like file-type (https://www.npmjs.com/package/file-type) to cover more cases.
Also, I think it would be good if this plugin itself provided additional shortcodes/filters, like the official RSS plugin does: https://www.11ty.dev/docs/plugins/rss/#supplies-the-following-nunjucks-filters


API owner endpoint

Is it possible to add a search by address endpoint to get a list of all inscriptions an address holds?

It's definitely possible but I'm hesitant to add this because it adds a huge (more than 60gb) database table. It could be added behind an optional flag though

It's definitely possible but I'm hesitant to add this because it adds a huge (more than 60gb) database table. It could be added behind an optional flag though

That would be amazing as i guess a lot of users would love to use it :) Is there a chance you can take a look into it?

This would be a nice recursive endpoint too.
Would also be nice to navigate to a address page on the inscription page when clicking it.
Thing to consider how big will this table grow if we get millions more addresses in inscriptions or something?
If we max min this and every 460 million bitcoin addresses hold inscriptions thats a big table.

True ,would be a big table but if it's an optional flag it should be fine for everyone :)

@raphjaph, could you provide an estimate for this request? We, and undoubtedly others, would greatly appreciate having access to that endpoint. Thanks a lot!

Do you mean as a recursive endpoint or just a normal html page?
At the moment we're working on database optimizations so want to control the amount of tables we have. I think I'll code something quick up and do some testing to see how it impacts performance.

Do you mean as a recursive endpoint or just a normal html page?
At the moment we're working on database optimizations so want to control the amount of tables we have. I think I'll code something quick up and do some testing to see how it impacts performance.

I talk about the json api endpoint that the server offers.

Do you mean as a recursive endpoint or just a normal html page?

That would be nice but we can add that later I think a html page would be a good start.

Hey, may I handle this task? To clarify, do we need to create an index that includes addresses and their corresponding inscription IDs? And add an html page that shows all inscriptions for given address after that.

we got this now


WARNING: Could not get object root from API

First set up with your tool I get :
[PLEXDRIVE-LINUX-AMD64-2] [2017-05-18 21:28] INFO   : Mounting path /mnt/Gdrive
[PLEXDRIVE-LINUX-AMD64-2] [2017-05-18 21:28] INFO   : Using clear-by-interval method for chunk cleaning
[PLEXDRIVE-LINUX-AMD64-2] [2017-05-18 21:28] INFO   : First cache build process started...
[PLEXDRIVE-LINUX-AMD64-2] [2017-05-18 21:28] WARNING: Could not get object root from API
and when I ls the directory I get :
ls: cannot access /mnt/Gdrive: Transport endpoint is not connected
With v2 and v3
It's work with rclone mount

First cache build process have not finished.
The cache is still building in background, you may -v 3 to view the operation.
INFO : First cache build process finished
You will see this message when finished.

For me 30TB took about 18 minutes to cache. It went pretty fast, but you do have to wait it out.

@TimoPtr as @Em31Et already said, you should wait till the initial cache build has finished before accessing the mount point.


built failed with poudriere

Tried to create a pkg with poudriere to use it in a dedicated jail (and most dependencies are available within poudriere as well).
However it fails, see log excerpt
===>   Returning to build of photoprism-g20210111
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for photoprism-g20210111
===========================================================================
=======================<phase: build          >============================
===>  Building for photoprism-g20210111
cd /wrkdirs/usr/ports/www/photoprism/work/photoprism-6b0d94ff42fadccfe88c4d68744b9d3afea36e2f/docker/tensorflow && gmake download
gmake[1]: Entering directory '/wrkdirs/usr/ports/www/photoprism/work/photoprism-6b0d94ff42fadccfe88c4d68744b9d3afea36e2f/docker/tensorflow'
wget https://github.com/tensorflow/tensorflow/archive/v1.15.2.tar.gz
gmake[1]: wget: No such file or directory
gmake[1]: *** [Makefile:10: download] Error 127
gmake[1]: Leaving directory '/wrkdirs/usr/ports/www/photoprism/work/photoprism-6b0d94ff42fadccfe88c4d68744b9d3afea36e2f/docker/tensorflow'
*** Error code 2

Stop.
make: stopped in /usr/ports/www/photoprism
=>> Cleaning up wrkdir
===>  Cleaning for photoprism-g20210111
build of www/photoprism | photoprism-g20210111 ended at Wed Jan 27 10:17:10 CET 2021
build time: 00:00:30
!!! build failure encountered !!!

What should I try to solve this?
Full log.txt enclosed as well.

wget is missing.
Try to add  ftp/wget in Makefile as BUILD_DEPENDS

wget is missing.
Try to add  ftp/wget in Makefile as BUILD_DEPENDS

Added wget:ftp/wget as BUILD_DEPENDS, however now it fails resolving https://github.com:
===>  Building for photoprism-g20210111
cd /wrkdirs/usr/ports/www/photoprism/work/photoprism-6b0d94ff42fadccfe88c4d68744b9d3afea36e2f/docker/tensorflow
gmake[1]: Entering directory '/wrkdirs/usr/ports/www/photoprism/work/photoprism-6b0d94ff42fadccfe88c4d68744b9d3
wget https://github.com/tensorflow/tensorflow/archive/v1.15.2.tar.gz
--2021-01-28 07:00:34--  https://github.com/tensorflow/tensorflow/archive/v1.15.2.tar.gz
Resolving github.com (github.com)... failed: Name does not resolve.
wget: unable to resolve host address 'github.com'
gmake[1]: *** [Makefile:10: download] Error 4
gmake[1]: Leaving directory '/wrkdirs/usr/ports/www/photoprism/work/photoprism-6b0d94ff42fadccfe88c4d68744b9d3a
*** Error code 2

Stop.
make: stopped in /usr/ports/www/photoprism
=>> Cleaning up wrkdir
===>  Cleaning for photoprism-g20210111
build of www/photoprism | photoprism-g20210111 ended at Thu Jan 28 08:00:44 CET 2021
build time: 00:00:36
!!! build failure encountered !!!

Which is strange since the builder jails are referring to the host' /etc/resolv.conf (and a ping to github.com resolves correctly).

Added wget:ftp/wget as BUILD_DEPENDS, however now it fails resolving https://github.com:
===>  Building for photoprism-g20210111
cd /wrkdirs/usr/ports/www/photoprism/work/photoprism-6b0d94ff42fadccfe88c4d68744b9d3afea36e2f/docker/tensorflow
gmake[1]: Entering directory '/wrkdirs/usr/ports/www/photoprism/work/photoprism-6b0d94ff42fadccfe88c4d68744b9d3
wget https://github.com/tensorflow/tensorflow/archive/v1.15.2.tar.gz
--2021-01-28 07:00:34--  https://github.com/tensorflow/tensorflow/archive/v1.15.2.tar.gz
Resolving github.com (github.com)... failed: Name does not resolve.
wget: unable to resolve host address 'github.com'
gmake[1]: *** [Makefile:10: download] Error 4
gmake[1]: Leaving directory '/wrkdirs/usr/ports/www/photoprism/work/photoprism-6b0d94ff42fadccfe88c4d68744b9d3a
*** Error code 2

Stop.
make: stopped in /usr/ports/www/photoprism
=>> Cleaning up wrkdir
===>  Cleaning for photoprism-g20210111
build of www/photoprism | photoprism-g20210111 ended at Thu Jan 28 08:00:44 CET 2021
build time: 00:00:36
!!! build failure encountered !!!

Which is strange since the builder jails are referring to the host' /etc/resolv.conf (and a ping to github.com resolves correctly).

This is strange indeed. I hadn't have this particular issue yesterday with a fresh installed, up-to-date 11.4-RELEASE (non-poudriere) jail and manual port make.
I think it was possible to interrupt/pause poudriere builds at a certain moment. Maybe you can try it and investigate within this jail if resolving at this moment is possible or not.

This is strange indeed. I hadn't have this particular issue yesterday with a fresh installed, up-to-date 11.4-RELEASE (non-poudriere) jail and manual port make.
I think it was possible to interrupt/pause poudriere builds at a certain moment. Maybe you can try it and investigate within this jail if resolving at this moment is possible or not.

Have you seen this? It states: "downloads aren't allowed during buiuld." Maybe related.

Have you seen this? It states: "downloads aren't allowed during buiuld." Maybe related.

Have you seen this? It states: "downloads aren't allowed during buiuld." Maybe related.

Well, it says everything... I tried a clean jail, installed the dependencies via pkg from the host and run make && make install. Well at least it downloaded tensorflow and started actual building but failed with another error message (related to tensorflow, not the the port itself). I guess with the information in your link the issue can be closed (and maybe a remark on can be given, that poudriere will not work at the moment due to tensorflow ;) )
Thanks for your help!

@svenjott  (and for anyone tripping over this in the future): Poudriere has a configuration option which will allow it to download during the build: ALLOW_NETWORKING_PACKAGES="photoprism"
The README.md also has commentary about other things needed for Poudriere builds.


Query: Validate incoming labels before passing them to query

After prompting the user for a label, we should do some validation on it. If they typed it wrong (typo, colon in the wrong place, etc) we could help them out by suggesting a label with a minimal edit distance from what they typed.
✔ why: Determine why targetA depends on targetB
Value for 'targetA':
Value for 'targetB':
ERROR: Error while parsing 'somepath(, )': syntax error at ', )'

It is not super helpful to give the error from query evaluation when we already knew something was wrong.

Should be part of #160


MPU9250 Wrong note

I think that the next note is wrong:
https://github.com/PX4/Firmware/blob/1b174eeca220a1176f2c3146515a4ccacf592e76/src/drivers/imu/mpu9250/mpu9250.cpp#L464
the LPF is of 41Hz, and not 20Hz.
https://github.com/PX4/Firmware/blob/cf54023c9613a4f5b783ccd2d2f7c7e0adde968f/src/drivers/imu/mpu9250/mpu9250.h#L191
Am I correct?
Do you see issue of chnaging it to 20Hz because I think that on my drone the props freq is in about 35Hz and that mean that the LPF doesn't works for me....

anyone?

@bkueng Assigned to you to find someone to comment on this :-)


Allow specifying "daemonize" at a task level, rather than a cluster level

Maybe my understanding here is too weak and this isn't feasible, but I'd like to only mark some tasks to be non-daemonized.
In short, I have tasks that kick off Selenium processes. These fail with the error AssertionError: daemonic processes are not allowed to have children.
I can set daemonize_workers to False, but this applies to everything going forward. Is there any way to isolate this to just the tasks that need it?
If it's a worker-level concept, I can see why this would be hard and less appealing to implement.

Workers are spawn with or without a deamon based on the configuration:
https://github.com/django-q2/django-q2/blob/88430c90147c07d48dd842759e4992593cf706d4/django_q/cluster.py#L181-L192
What you could do is spin up two clusters with different configurations using multiple queues: https://django-q2.readthedocs.io/en/master/cluster.html#multiple-queues. For each task you can specify which cluster to use. You can create one cluster with deamons and the other without.
Maybe that works for you?

@GDay , yup conceptually that should work. The defect it seems to me is extra overhead, as running two clusters just to have different configuration will be wasteful of system resources and less flexible to load shift between the two queues? E.g. I'd have to guess in advance how many workers to put on each.
Conceptually though, it does seem like specifying this at a task level would be possible, which is helpful to know.

Yeah, agreed. I wouldn't know any other way right now though, without making big changes to the code. The workers are assigned to tasks without having any context on the task itself. They just wait for the queue to get filled and then pick up the first task at hand. Whatever worker gets it first, runs it.

I guess the important distinction here is that daemonize is a property of the worker, not the task. I think you're right that the solution here is to two queues and therefore two clusters.


Load and update bug

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

VS Code Version: 1.79.2
OS Version: win 11 22H2

Steps to Reproduce 1st bug:

Every time you restart the computer，The first startup always fails, and there is nothing in the black interface. Turn it off and turn it on before it can load normally.

Steps to Reproduce 2nd bug:

Automatic update failed. It will update automatically when I close VS Code, but it always fails, and the original VS Code is removed.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.80.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

This issue was closed because it doesn't meet our standards of a properly filled issue. Please read our guide about Submitting Bugs and Suggestions.


feature-rootOverlay-zoomWidget

Two new features :

rootOverlay to allow developer to use it to force the overlay to be on the first plan in case of nested navigator.
zoomChild to change the pinched zoom widget.

RootOverlay :
Overlay.of(context) can use rootOverlay to force the new overlay to be on top of others. It can also be used in case of nested navigation to display the overlay in the first plan (like rootNavigator).
ZoomChild :
ZoomChild can be used to replace the widget during the pinch to zoom action. A Use case can be to increase the image quality to allow user to see a high quality one during zoom and once released, use a normal quality. An other use case can just be to offer more customization.
PS : Nice job, this new interactive viewer is far better.
No possibility to make things through an extends class or I didn't know something else to create a pull request to the flutter team to improve the class InteractiveViewer ?

I included the bugfix-overlay-position in the review.
PS: I cannot extend InteractiveViewer to implement the feature because the State is private. Furthermore, InteractiveViewer uses GestureDetector that use ScaleGestureRecognizer and it is widely used throughout Flutter. I'm not sure it's worth creating a pull request, this solution usual for particular case.


[macOS] Crash when rapidly creating and populating images using IPC

On my system (arm64 macOS 14.2, official tev 1.26 Release), tev occasionally crashes when creating and updating images via IPC in rapid succession. This problem also occurs on some of our students machines (with varying architecture and OS versions).
We first observed this problem with the test script of our rendering framework, which renders many small scenes in rapid succession and streams all of them live to tev (50 scenes á ~512x512 resolution). The following Python script is a minimal example to reproduce this problem:
import numpy as np
import tev

width = 512
height = 512
channel_names = list("RGB")

image = np.ones((width, height, len(channel_names)))
ipc = tev.TevIpc()
with ipc:
    for i in range(100):
        ipc.create_image(f"test_{i}", width, height, channel_names=channel_names)
        ipc.update_image(f"test_{i}", image, channel_names=channel_names)

What's making this hard to debug is that this only occurs for the Github releases of tev (not just the most recent, but also older ones). No matter how I compile tev on my system (Debug, Release), it never crashes - and we have observed the same on our students' machines. Also, this issue is highly non-deterministic: Sometimes tev crashes after few images were opened, sometimes it takes a hundred of them. It also seems to depend highly on the image resolution and tiling used.
However, when it crashes, it's apparently always an EXC_BAD_ACCESS in computing the canvas statistics:
* thread #32, stop reason = EXC_BAD_ACCESS (code=1, address=0x4)
  * frame #0: 0x0000000000000004
    frame #1: 0x0000000100096428 tev`tev::ImageCanvas::canvasStatistics()::$_12::operator()() (.resume) + 224
    frame #2: 0x000000010001d9cc tev`std::__1::packaged_task<void ()>::operator()() + 80
    frame #3: 0x00000001000bdd1c tev`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, tev::ThreadPool::startThreads(unsigned long)::$_0>>(void*) + 308
    frame #4: 0x000000018a31a034 libsystem_pthread.dylib`_pthread_start + 136

My current intuition is that perhaps something breaks when a new image is created via IPC while canvas statistics for an older image are still processed. (if you change the script to first create all 100 images, and then populate each of them, tev does not crash)
Let me know if you need any further information, or if you have any suggestions on how I could help investigate this further.

Abundant thanks for reporting this -- that's a serious issue. I can reproduce your situation. tev crashes using your Python script on a GitHub binary but not on a locally compiled binary.
Could you try the following .dmg that I just compiled on my machine and see if it no longer crashes on your end? If so, I'll update the GitHub release with my locally compiled one and I'll do the same for future tev versions.
tev.dmg.zip
Could you please also quickly confirm that when you say "varying architecture and OS versions" you still only mean macOS -- just Intel vs. Arm and, say, Ventura vs. Catalina.
I think I know what the problem is, but this is going into speculation territory: tev makes liberal use of C++20 coroutines in its image loading code. Apple Clang only recently stabilized coroutines -- and GitHub's CI machines that tev uses to generate its releases have a somewhat old version of that compiler where coroutines are still an "experimental" feature. I suspect a compiler bug somewhere in that area... which your locally compiled binaries (with reasonably recent XCode CLI tools) no longer have.

I can confirm that the version of tev you sent no longer crashes on my machine 👍🏻
Sorry for the confusion, yes, I only meant students running macOS (with varying architecture and OS version). We also have many students running Windows and Linux, and none of those were affected, despite running the same test scripts.
Your explanation does make sense -- do you think simply using a newer version in the Github workflows could fix this (e.g., macos-13 instead of macos-11), or could this potentially be problematic for backward compatibility? Doesn't Github's macos-11 image ship with more recent compilers (e.g., open-source clang from llvm@15) that could be tested as well?
(For reference: I was testing on my system with Apple clang version 15.0.0)

It's a good suggestion. Backward compatibility wouldn't be affected -- and I've already got a PR ready to merge once Apple Clang 15 is available on macos-13: https://github.com/Tom94/tev/pull/207
Somewhat frustratingly, LLVM Clang 15 is not the same as Apple Clang 15. The version numbers aren't in sync and the former's coroutine support is still just experimental while the latter's is proper. Won't risk that again after this issue. :)

Following up: it turns out GitHub's Apple Clang got updated to 14.0.3 somewhere in the past 3 months, which dropped the "experimental" coroutine business. I can't reproduce the crashes with an up-to-date GitHub build anymore. Hooray!
Thanks again for reporting this and providing reproduction steps. Hopefully it'll remain a problem of the past.


chore(main): release organization 0.1.0

:robot: I have created a release beep boop
0.1.0 (2024-10-05)
Features

organization: add a module that bootstraps an AWS organization (#10) (7d0bdb3)

This PR was generated with Release Please. See documentation.

🤖 Created releases:

organization-v0.1.0

:sunflower:


fix 2.0.1 crf bug

PR types

Bug fixes
PR changes

Models
Description

fix slice error in paddle 2.0.1
Pad, Stack function will return int32 data when input's type is int, which will lead to training error in Windows. Specify the  dtype as int64 to fix it.

Resolve #460

LGTM


Optimize iteration of entites by componentName

Instead of looping over all entities to check which one has a queried
component, use a map of componentNames to entities that have them.
@starwed There is some strange piece of code that I removed from the Crafty.selector. It's undocumented. If I understand correctly when you do a selection like Crafty('2D') it will extend the global Crafty object with those properties and methods from 2D. Huh? Do you know what's going on there?

I have tracked the removed code in question down: see 8c242f9835cd1f3a68c7ecf2d5774ddb418de7a1
A long time ago, in a gal... it was really used to call component specific functionality on a set of entities! (source)
var platform = Crafty.e("2D, wall");
Crafty("gravity 2D").hit(platform,function() {
    console.log("HIT");
    this.y = 1;
});

This worked because you declared component methods like so: (source
hit: function(obj, fn) {
    this.each(function() {
        this.bind("hit", fn);
        this.bind("enterframe", function() {
            if(this.intersect(Crafty(obj))) {
                this.trigger("hit");
            }
        });
    });
}

I'm not sure why Crafty deviated from this path or didn't setup this.each automatically for all component methods.

If I understand correctly when you do a selection like Crafty('2D') it will extend the global Crafty object with those properties and methods from 2D.

You've probably figured this out as you go through the code, but it's not modifying the global Crafty object.  As a function, Crafty is defined as:
var Crafty = function(selector) {
  return new Crafty.fn.init(selector);
};

This is calling the init method as a constructor,  which means that this will generally mean the newly created object.  (Although IIRC the constructor will return an existing entity if there's only one match?)
I'll try to have a good look at the PR this weekend.  Thanks for tackling some fairly ancient parts of the code!  :)

This is calling the init method as a constructor, which means that this will generally mean the newly created object

Maybe it would make sense to expose some more lightweight ways to get entities? Crafty,getEntities(compName) could return the internal read-only map {entityId: entity} and Crafty.getEntity(id) could return the entity itself.

Crafty.getEntity(id) could return the entity itself.

I believe Crafty(id) does actually return the entity itself.  (This is why the id of each entity is stored in the 0 property!)

I believe Crafty(id) does actually return the entity itself.

Yes, but Crafty() actually calls a constructor first, so an unneeded object is created before the code realizes it has to return something other than this. Hmm maybe the selector Crafty() itself should be changed, instead of introducing a new method for it.
Anyways, that is a task for a subsequent PR :)

So are there any still unresolved pointers from your side or can we merge this?

Merged!


Allow $schema in JSON configuration file

Description
The $schema property can be used by editors to provide inline
documentation and validation in JSON files (see VS Code's
documentation
as an example).
Currently, the JSON schema for the dclint configuration file does
not allow $schema, so adding it causes a configuration validation
error and prevents the tool from starting.
This adds $schema to the configuration JSON schema and documents how
to use it.
Type of Change

[ ] Bug fix
[x] New feature
[ ] Breaking change
[ ] Refactoring
[ ] Documentation update
[ ] Other (please describe):

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Hi @AdamVig!
Thank you for your PR! It seems very useful!
Could you please change commit message to "feat: allow $schema in JSON configuration file" to match our commit convention.
I also added pre-commit hook with commitlint to make it easy in the future.

Hi @AdamVig! Thank you for your PR! It seems very useful! Could you please change commit message to "feat: allow $schema in JSON configuration file" to match our commit convention. I also added pre-commit hook with commitlint to make it easy in the future.

@zavoloklom Thanks for the reminder. I remember seeing this in the documentation and it just slipped my mind. All set now.

@AdamVig Hi again!
Could you please also fix markwownlint warnings? You can check it locally by running: "npm run markdownlint" and you can also try to autofix it with: npm run prettier and npm run markdownlint:fix

@AdamVig Hi again! Could you please also fix markwownlint warnings? You can check it locally by running: "npm run markdownlint" and you can also try to autofix it with: npm run prettier and npm run markdownlint:fix

@zavoloklom Hadn't noticed that CI failed, thanks for the callout. Fixed now. The CI pipeline and tooling for this project are great!

@zavoloklom Hadn't noticed that CI failed, thanks for the callout. Fixed now. The CI pipeline and tooling for this project are great!

@AdamVig Thanks! Really glad to hear that.

:tada: This PR is included in version 2.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[now-build-utils] Remove NOW_BUILDER_ANNOTATE

This PR fix: https://github.com/zeit/now/issues/2843#issuecomment-531503513

Codecov Report

Merging #3027 into canary will decrease coverage by 2.04%.
The diff coverage is n/a.

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

@styfle We've decided to have the user set --debug when deploying instead, to avoid unnecessarily logging lines that the user will never get to see. It just makes everything slower, more costly and the log render logic on the clients more complicated.

@sophearak Do we need to coordinate this PR with front?

@styfle I think, it is okay to do it explicitly. Since it's just more or less remove annotate filter.
I believed, logs continue to work just fine with both front and Now CLI.


Cards do not show values anymore after upgrade to 2.0

Hi,
After the upgrade to v2.0 of the component, i don't see any values in the dashboard anymore.
to try and resolve it I did remove the old code for the card template and insert the newer code with the additional features, but the card is still mostly empty.
Most likely I may have forgotten a step somewhere? Can you point me in the right direction.
Version of the custom_component
version 2.0.0
Yaml code of actual card
type: custom:decluttering-card
template: managed_device
variables:
  - device: switch.solar_optimizer_coolbox
  - secondary_infos: '{{ states(''sensor.athom_smart_plug_v3_f8c6f8_power'') }} W'
  - icon: mdi:power-socket-eu
  - enable_entity: switch.enable_solar_optimizer_coolbox

`

Ok. I found out what went wrong.
I think somewhere along the line it created an additional entity.
So i had: "switch.solar_optimizer_coolbox" (Solar Optimizer Coolbox)
and it created "switch.solar_optimizer_coolbox_2" (Solar Optimizer Coolbox Active).
So a slight different description.
I removed the old entities and renamed the new entity fixing my problem.

I will close the issue then. Thank you for report.


SliverGridLayout's documentation for get[Min|Max]ChildIndexForScrollOffset is misleading

Current documentation:
getMaxChildIndexForScrollOffset(double scrollOffset) → int
The maximum child index that is visible at (or before) this scroll offset.
getMinChildIndexForScrollOffset(double scrollOffset) → int
The minimum child index that is visible at (or after) this scroll offset.

How these are actually used seems to indicate this should be the documentation:
getMaxChildIndexForScrollOffset(double scrollOffset) → int
The maximum child index that intersects with (or is before) this scroll offset.
getMinChildIndexForScrollOffset(double scrollOffset) → int
The minimum child index that intersects with (or is after) this scroll offset.

Basically, all the children from getMin...(scrollOffset) to getMax...(scrollOffset+extent) are being laid out but the documentation suggests that getMin...(scrollOffset) to getMax...(scrollOffset) should be all the children being laid out.

cc @goderbauer We should also mention the accessibility padding in these docs.

Still valid on latest master. The comments were not updated.
https://github.com/flutter/flutter/blob/e10bdbbd9de69a79101d8e79030532ee2be58b89/packages/flutter/lib/src/rendering/sliver_grid.dart#L105-L115


Docs: Template Fields and Google People API

Is the list of Template Fields taken from the Google People API? Can you poing me to the Google People API docs?

Is the list of Template Fields taken from the Google People API?

not quite.  there is a relationship for sure, but it isn't 1:1 - as in, if you find some other field in the Google API and you just plug it in the template, it won't work.  The fields available for the plugin are what's listed in the plugin docs.

Can you poing me to the Google People API docs?

https://developers.google.com/people/api/rest/v1/people#Person

Are there any plans to include more API fields (e.g. photos)?

haven't thought about photos before, but you're welcome to create an issue here requesting that.  Would be great if you described your use case in there for the fields you are asking for

I'm thinking of using Obsidian as a mini-CRM. I meet many people, most of them once or twice, so it is useful to put a face behind their record to quickly refresh my memory if I plan to meet someone again after a long while. I'm not sure how Google stores the pictures and if the API allows a file download or a link to the photo. Either way is OK.
Another API field which is missing from the template is the 'label' field. Google allows to label contacts to group them. I use it to quite often, not sure if others do, so would be great to the related field in the template, too.
Finally, the 'notes' field in the API is mapped to 'bio' in the template. It would be great to bi-directionally update only this field from the data in Obsidian. But that's probably a whole different project.

created issue for contact photo; i think that should be fairly straightforward.  the api returns them in a URL, and they could be linked into the template.  you can follow that other issue if you like
https://github.com/ntawileh/obsidian-google-lookup/issues/40

Another API field which is missing from the template is the 'label' field. Google allows to label contacts to group them. I use it quite often, not sure if others do, but would be great to have a related field in the template, too.

I think that is a feature of the google contact app and not something that is made available to third parties.  I couldn't find the field for it in the API, but if you do, go ahead and open an issue for it if you like

Finally, the 'notes' field in the API is mapped to 'bio' in the template. It would be great to bi-directionally update this field from the data in Obsidian (or perhaps all fields). But that's probably a whole different project.

maybe at some point in the future, but for now one of the principles I'm trying to stick to is read-only from Google.  Starting to support updates would be a very different project as you mentioned.
thanks for all the feedback!


[FAB-18005] remove couchDB index warming

This PR is to remove the index warming in fabric since
couchDB 3.0 supports automatic index warming.
Signed-off-by: Dongming Hwang<EMAIL_ADDRESS>

Type of change

Bug fix
New feature
Improvement (improvement to code, performance, etc)
Test update
Documentation update

Description

Additional details

Related issues

Missed this one index here: https://github.com/hyperledger/fabric/blob/master/core/ledger/kvledger/txmgmt/statedb/statecouchdb/couchdb_test.go#L128

Missed this one index here: https://github.com/hyperledger/fabric/blob/master/core/ledger/kvledger/txmgmt/statedb/statecouchdb/couchdb_test.go#L128

Also doc that needs to be removed as well in another commit: docs/source/couchdb_tutorial.rst

Also doc that needs to be removed as well in another commit: docs/source/couchdb_tutorial.rst

gossip unit test flake, re-running (I thought gossip unit tests didn't run...)

The gossip tests run when a package gossip depends on changes. This PR included a change to github.com/hyperledger/fabric/core/ledger which is used by gossip/util and gossip/privdata.

gossip unit test flake, re-running (I thought gossip unit tests didn't run...)

The gossip tests run when a package gossip depends on changes. This PR included a change to github.com/hyperledger/fabric/core/ledger which is used by gossip/util and gossip/privdata.


Fix: Yellow -> Green in control plane group diagram description

Diagram says green, text says yellow.

Closing in favour of 7171


full train set and test set

according to Colorado, full train set includes test set.
Please help fix train set so it doesn't include test set.
Also, test set contains only 8 classes. Please help confirm and how to address this issue.

I included some inspection on the notebook pth_list_build.ipynb. These are the conclusions:

There are 9 labels in train set'Urban and Built-Up Lands' 'Croplands' 'Water Bodies' 'Savana' 'Wetlands'
'Grassland' 'Forest' 'Shrublands' 'Barren'
There are 8 labels in test set 'Croplands' 'Savana' 'Forest' 'Urban and Built-Up Lands' 'Grassland'
'Shrublands' 'Water Bodies' 'Wetlands'
There are not files in both data sets
There is 1 patch not included in any set (ROIs1868_summer_s2_146_p202.tif , Full Label: Water Bodies, Simple Label: Water Bodies)


Page streaming changes

Not to be submitted, but for easy access :)
@chrisdunelm will now take over for the implementation...

Closing now this is being done properly :)


Fix issues after 0.14.0 sync

What this PR does / why we need it:

remove patch for webhookconfiguration to fix kustomize build issue.
fix e2e tests for predictor, path_based_routing, raw

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Type of changes
Please delete options that are not relevant.

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

[X] kustomize issue

kustomize build ./config/overlay/odh
kustomize build ./config/overlay/test

[X] e2e test

 ./test/scripts/openshift-ci/run-e2e-tests.sh path_based_routing
 ./test/scripts/openshift-ci/run-e2e-tests.sh predictor ./test/scripts/openshift-ci/run-e2e-tests.sh predictor
 ./test/scripts/openshift-ci/run-e2e-tests.sh raw

Logs

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

[X] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[X] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

Re-running failed tests

/rerun-all - rerun all failed workflows.
/rerun-workflow <workflow name> - rerun a specific failed workflow. Only one workflow name can be specified. Multiple /rerun-workflow commands are allowed per comment.

/approve
/lgtm


MicrosoftTeams version 1.1.4 is incorrectly versioned and breaks backward compatibility

I've tried reaching out other ways, but this issue has not been acknowledged yet, so I'm hoping that someone here can pass it on to the right folks.
On July 1st, the Microsoft Teams team released version 1.1.3-preview of their MicrosoftTeams module. This preview version contains functionality not available in the current release/stable version, including management of private groups, among other things. This release was also the first time that this team published a preview release into the PowerShell Gallery. Prior to this, their releases were published to an internal gallery that most folks don't know about.
On July 6th, the Microsoft Teams team released an update to their release/stable version. This release does not support management of private groups. When this was published, it was given a version number of 1.1.4, which is the successor to 1.1.3-preview.
The way this was versioned is incorrect. It breaks the upgrade path for this module by breaking backwards compatibility because version 1.1.4 is not compatible with scripts that were previously written for 1.1.3-preview.
I'm pretty sure I know why this happened. I suspect the Microsoft Teams team uses Azure DevOps to build their module, and has something in their build and release pipelines that grabs the latest version from the PowerShell Gallery (which was 1.1.3-preview at the time), and simply increments the build number, which resulted in version 1.1.4.
To correct this issue, they should:

Remove (hide) version 1.1.3-preview from the PowerShell Gallery.
Publish a new preview release that is versioned 1.2.0-preview, and make sure their preview pipeline increments off of the latest preview release (this would use 1.2.x version numbers).
Update the build/release pipelines for the stable version to increment off of the latest non-preview release (that would make it use 1.1.x versioning).
At a future time when the preview release is meant to replace the stable release, drop the -preview suffix, stay with the 1.2.x versioning, update the stable release pipeline (if necessary) to increment off of the latest stable release (which would be a 1.2.x version at this point), and start building previews off a 1.3.x version set.

Something along those lines anyway.
If someone could direct this message to the appropriate PM on the Microsoft Teams team, that would be appreciated.

Hello @KirkMunro Kirk, how are you? Hope you are doing good.
Also noted this. We will need to close this for now as it is not a documentation issue, however, will try to forward this to the team as that was your intention.
Thanks for your feedback.

@get-itips  Thank you very much for the contribution and sharing this explanation. @KirkMunro Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


How to save files in android/media folder (Like how WhatsApp does)

Hi,
Thanks for supporting this library.
Im trying to download and save files in the file system like how WhatsApp does it.
WhatsApp stores files inside android/media/com.whatsapp/
I was able to download and save the file inside/data/user/0/com.packagename/filesusing this library. I tried DocumentDir and PictureDir.
let dirs = ReactNativeBlobUtil.fs.dirs
ReactNativeBlobUtil
        .config({
            // response data will be saved to this path if it has access right.
            path: dirs.DocumentDir + '/path-to-file.anything'
        })
        .fetch('GET', 'http://www.example.com/file/example.zip', {
            //some headers ..
        })
        .then((res) => {
            // the path should be dirs.DocumentDir + 'path-to-file.anything'
            console.log('The file saved to ', res.path())
        })

is there a way i can save them inside media folder instead of data?
I checked mediastore and other areas, but couldn't find a decent answer

Yes you have to use the mediastore.
WhatsApp is just creating its own subfolder e.g. for images. You can do that too using the mediastore api

@RonRadtke Thanks for the reply.
I tried all paths in dir. But it all pointed to android/data not media. Maybe I'm doing it the wrong way
Can you please share a link to documentation. I'm not familiar with mediastore. Will try again.

https://github.com/RonRadtke/react-native-blob-util/wiki/MediaStore
Here, if you take a look at w.g. the createMediaFile you see the specific parentFolder parameter.
The copyToMediafile is probably exactly what you need

Hi @RonRadtke ,
i tried with this piece of code. but its getting saved inside Download/MyApp/Images.
What i need is android/media/com.myapp/MyApp/Images. Not sure if i'm doing some thing wrong.
 const onSavePressed = () => {
    ReactNativeBlobUtil.config({
      fileCache: true,
    })
      .fetch(
        'GET',
        'https://storage.googleapis.com/gweb-uniblog-publish-prod/original_images/HeroHomepage_2880x1200.jpg',
        // {Accept: 'application/octet-stream'},
        // JSON.stringify(dat),
      )
      .then(async res => {
        let result = await ReactNativeBlobUtil.MediaCollection.copyToMediaStore(
          {
            // name: filename, // name of the file
            name: 'HeroHomepage.jpg',
            parentFolder: 'MyApp/Images', // subdirectory in the Media Store, e.g. HawkIntech/Files to create a folder HawkIntech with a subfolder Files and save the image within this folder
            mimeType: 'image/png', // MIME type of the file
          },
          'Download', // Media Collection to store the file in ("Audio" | "Image" | "Video" | "Download")
          path, // Path to the file being copied in the apps own storage
        );

        console.log('result test......', result);
      });
  };

For that you would need the permission "MANAGE_EXTERNAL_STORAGE" and it is unlikely google will acceot your app in the app stire with this permission. But also this library would not support accessing files stored there


Cannot use the same url twice

It seems WM doesn't support stubbing the same url twice in the same spec. How can this be possibile?
If you run the single "its" below, everything is fine, if you run the whole specs the second one always fails with:
WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: POST http://localhost/foobar with body 'BAR' with headers {'Connection'=>'close', 'Content-Type'=>'application/xml', 'Host'=>'localhost', 'User-Agent'=>'http.rb/5.1.1'}
  it 'returns the foo' do
    stub_request(:post, 'http://localhost/foobar').with(body: 'FOO').to_return(status: 200, body: '')
    expect(1).to eq(1)
  end

  it 'returns the bar' do
    stub_request(:post, 'http://localhost/foobar').with(body: 'BAR').to_return(status: 200, body: '')
    expect(1).to eq(1)
  end

thanks,

@rdptz can you please provide the sample code to reproduce the problem? your example doesn't have any code that executes the request.
Do you have require 'webmock/rspec' in your rails_helper.rb?

Hi, that is the sample code. You cannot stub two requests with the same url. The second spec raises:
WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: POST http://localhost/foobar with body 'BAR' with headers {'Connection'=>'close', 'Content-Type'=>'application/xml', 'Host'=>'localhost', 'User-Agent'=>'http.rb/5.1.1'}
Yes I have require 'webmock/rspec' in my rails_helper.rb
Everything works fine as long as I do not stub 2 requests with the same url.

I have the same trouble now...

I have the same trouble now...

Sorry, it was my mistake. It works for me.

@rdptz In order to address it, I need a sample code to reproduce the issue. Can you please provide it?

Hi,
it happened just using the two spec of my first message, but now after upgrading a few gems (actually a lot of them), including rails it is not happening anymore.
Thanks anyway.

Thank you for the feedback! I'm glad it works for you now :)


Using dlive module to connect to a Qu-32

Hoping this is the correct place to ask this. I'm trying to connect companion to my QU-32 and after I enter the IP, logs shows 'MIDI Connected' then I get the following TCP error:
instance(dLive): TCP error: connect ECONNREFUSED <IP_ADDRESS>:51321
I'm guessing this is a setup problem on my end, but just looking for some direction or help. Thanks.

dLive module is for the dLive consoles, not the Qu.

Yeah, I was afraid of that. Digging through here I found a note in the module requests (#91) that mentioned the dlive module, and I think I just misunderstood, that it might work for the Qu.
I'll poke around in the module requests. Thanks for getting back to me.

My understanding is that the Qu MIDI protocol is not the same as the dLive.
If you wouldn't mind, please close this issue when you get a chance.


TypeError: predict() missing 1 required positional argument: 'X'

Hello to everyone!
I am new to Python and Iam getting this error when running XGBoost Ranker about a Ranking problem:
Traceback (most recent call last): File "C:/Users/USER/pythonProject/main.py", line 88, in <module> test_pred = XGBRanker.predict(X_test)
TypeError: predict() missing 1 required positional argument: 'X'

Μy dataset consists of 6 columns: [“label”,“id”,“comments”,“likes”,“product 1 frequency”,“product 2 frequency”] and 1222 rows.
Here is my code:
# xgboost Ranker
from numpy import asarray
from numpy import mean
from numpy import std
from xgboost import XGBRanker
from sklearn.model_selection import cross_val_score
from sklearn.model_selection import RepeatedStratifiedKFold
from sklearn.model_selection import train_test_split
from matplotlib import pyplot
import pandas as pd
from pandas import read_csv

# Load data
names = ["label","id","comments","likes","product 1 frequency","product 2 frequency"]
dataset = pd.read_csv("Product Ranking.csv", names=names, encoding="utf-8", error_bad_lines=True,
					   skip_blank_lines=True, sep=",", delimiter=None, doublequote=True, keep_default_na=True,
					   nrows=1223, header=6, engine="python")

# Shape
print(dataset.shape)

# Max labels
max_label = dataset.label.nunique()
print(max_label)

# Core Model
model = XGBRanker()

# Split the data
array = dataset.values
X = array [:,0:4]
y = array [:,5]
X = X.astype('int64')

# Split the Data in training and testing set
X_train, X_test, y_train, y_test = train_test_split(X,y,
                                                    train_size=0.75, test_size=0.25,random_state=42)
X_train.shape, X_test.shape, y_train.shape, y_test.shape
cv = RepeatedStratifiedKFold(n_splits=10, n_repeats=3, random_state=1)

# evaluate the model
model = XGBRanker(tree_method='hist',gpu_id=-1,
    booster='gbtree',
    objective='rank:ndcg',
    random_state=42,
    learning_rate=0.1,
    colsample_bytree=0.9,
    eta=0.05,
    max_depth=6,
    n_estimators=110,
    subsample=0.75)

# Fit the model
model = XGBRanker()
model.fit(X,y, group=[10, 24, 34, 14, 20, 22, 20, 19, 10, 23, 22,
				 10, 27, 14, 22, 11, 14, 10, 10, 26, 10, 10,
				 13, 10, 10, 21, 17, 12, 21, 10, 10, 10, 27,
				 12, 21, 10, 10, 11, 13, 10, 15, 17, 10, 9,
				 10, 10, 10, 10, 10, 10, 14, 23, 10, 10, 13,
				 10, 10, 10, 18, 16, 16, 11, 9, 10, 10, 10,
				 10, 11, 12, 10, 10, 18, 10, 16, 12, 10, 9,
				 14, 11, 10, 11, 11, 10, 10, 12, 9, 12, 11, 8, 17])

# Prediction
test_pred = XGBRanker.predict(X_test)
X_test["predicted_ranking"] = test_pred
predictions = (dataset.groupby("likes")
               .apply(lambda x: predicted_ranking(model, X)))

When I replace the Prediction code with the one below, it displays exactly the same error:
Prediction:
test_pred = XGBRanker.predict(X_test)
X_test["predicted_ranking"] = test_pred
X_test.sort_values("predicted_ranking", ascending=False)

Can anyone help me? I will appreciate your help!
Thank you in advance!
Sofia

XGBRanker.predict -> model.predict(X_test)