Realm: cuInit failure error message

Would it be possible to print the hostname in this error message?
[4 - 7f525ab210c0]    0.000000 {4}{gpu}: cuInit(0) returned 3 (CUDA_ERROR_NOT_INITIALIZED): initialization error, resource discovery failed
[4 - 7f525ab210c0]    0.000000 {5}{gpu}: We are not able to discover the CUDA resources.
[4 - 7f525ab210c0]    0.000000 {4}{gpu}: gpus requested, but cuInit(0) returned 3

Or is there some easy way to tell which host its coming from?

The number 4 here is the rank (or realm node id).


Setup shadcn components and Login page design

Description
What i did

Added and setup UI folder to mange the component package by shadcn
Started with super basic page: Login page
Validate button based on login form

How its look
https://github.com/Urigo/accounter-fullstack/assets/37614975/03f37249-7235-479a-a2eb-02453be8077a

@gilgardosh  i fixed again :) thanks!


Test

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: LeonRahman sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


[Feature Request]: Set RemoteRuntime size in frontend

What problem or use case are you trying to solve?
We support setting the size of RemoteRuntime instance in RemoteRuntime, but we didn't support configuring them in the frontend.
https://github.com/All-Hands-AI/OpenHands/blob/642e962f89c4450d840369161860160750e9227b/openhands/core/config/sandbox_config.py#L61
Describe the UX of the solution you'd like
When app_mode is AppMode.SASS, we should add entry in the frontend setting modal: "Runtime Settings".
And under it, we should have a drop-down menu that allows people to select 1x (2 core, 8G) or 2x (4 core, 16G).
Do you have thoughts on the technical implementation?
Once the instance size is selected, we should update the sandbox_config.remote_runtime_resource_factor to corresponding value (1 for 1x, 2 for 2x).
Relavant files to read (Setting implementation in the backend side).

openhands/server/config/openhands_config.py
openhands/server/routes/settings.py

You should first understand how the config is passing from frontend to backend before start implementing this.
Describe alternatives you've considered
Additional context

OpenHands started fixing the issue! You can monitor the progress here.

An attempt was made to automatically fix this issue, but it was unsuccessful. A branch named 'openhands-fix-issue-5797' has been created with the attempted changes. You can view the branch here. Manual intervention may be required.


Fix 90 degree bug with DrawTexturePro and DrawRectanglePro

The vertices did not map to where I expected causing rotation to be
off by 90 degrees. I reorganized the vertices making it easier to
reason about which fixes this.
The order for drawing is now topLeft, bottomLeft, bottomRight,
topRight.

@ChrisDill thanks for the review!


Replace systemd-timesyncd with chrony

it seems timesyncd does not work perfectly and has issues with LTE networks, to deliver a constant experience to everyone we should replace it with ntp which seems to work also for those cases

fixed


Airflow v1.10.0

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy
[x] Ensured the license file is being packaged.

Requires https://github.com/conda-forge/staged-recipes/pull/6705

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Unsatisfiable dependencies for platform osx-64: {"sqlalchemy[version='>=1.1.15,<1.2.0']", "flask[version='>=0.12.4,<0.13']", 'airflow==1.10.0=py36_0'}

Blocked by:

https://github.com/conda-forge/flask-appbuilder-feedstock/pull/10
https://github.com/conda-forge/flask-openid-feedstock/pull/2


Update README.md

Added the Example of using Human as a Tool as mentioned in issue #55

Hey @siddartha-10 I really like this but after checking the README I think it's getting too packed, do you mind if we move this to the wiki and maybe just link it on the README under the examples section?

Hey @joaomdmoura Can you help me add this example to wiki because i am not able to clone it.
Can you help me with that and also let me know how do i link it from README to the wiki examples.

sure, doing it right now

Hey i have to add it to the agentTools in wiki?

I went ahead I jsut added it to the wiki and readme, added an example based on the original on on the readme: https://github.com/joaomdmoura/crewAI/wiki/Human-Input-on-Execution

That's great i wanted to contribute to crewAI is there any way we can connect and you can guide me?

hi  from langchain.agents import load_tool is missing in https://github.com/joaomdmoura/crewAI/wiki/Human-Input-on-Execution


Adding lib info for AndradesValtuena2022

Pull Request
This PR is for a

[x] New Publication(s)
[ ] Correction

For the following list(s):

[ ] ancientmetagenome-anthropogenic (README)
[ ] ancientmetagenome-environmental (README, ask @thedir-team-dirt for advice)
[ ] ancientmetagenome-hostassociated (README, ask @thedir-team-bugparty for advice)
[x] ancientsinglegenome-hostassociated (README, ask @thedir-team-pathopeeps for advice)

New Publication
Publication Information
This pull request is to add samples from the following publication(s): libs for Andrades Valtueña 2022 10.1073/pnas.2116722119
This is to close
Checklist

[x] Publication is published (preprints currently not accepted)?
[x] Checked the publication is not already in the database?
[x] Checked samples in this publication are not previously published data (newly re-sequenced metagenomes are OK!)?
[x] Samples are shotgun metagenomes (hostassociated-singlegenome may also contain whole-genome enriched data)?
[x] Checked the list follows conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)?
[ ] Changelog is updated to include the publication under 'Added'?
[x] Pull request has passed validation checks (see automated comment from github-bot)?
[x] Review requested from corresponding team (see list of lists above for each team)?
[ ] (If applicable) Made a separate PR to add new categories to controlled lists (stored under /assets/enums, e.g. material or archive)? If so the corresponding PR is here:

If you do not know how to check errors in failed validation checks, expand here

Correction
This PR is for

[ ] ancientmetagenome-hostassociated
[ ] ancientsinglegenome-hostassociated
[ ] ancientmetagenome-environmental
[ ] ancientmetagenome-anthropogenic

Reference
This pull request is to correct samples from the following publication(s):
This is to close
Description
The issue is:

Checklist

[ ] Checked the corrected entries follow conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)
[ ] Changelog is updated to include the publication under 'Changed'?
[ ] Pull request has passed validation checks (see automated comment from github-bot)?
[ ] Review requested from corresponding team (see list of lists above for each team)?

@jfy133 the indexing polymerase reported in Meyer and Kircher is "Phusion Hot Start High-Fidelity DNA Polymerase (2 U/μL)" and for the I5889 sample had a partial UDG treatment as in Rohland et al 2014 were they use for indexing the "Pfu Turbo Cx Hotstart". I left the sample name as it is since some of the genomes were recontructed from multiple samples from the same individual


Show invoice for an expense after it's paid

Currently, you can only view the invoice until expense is in unpaid state. Once it's paid, link invoice from Transaction list (for those who have access to see it).

covered in https://github.com/OpenCollective/OpenCollective/issues/325


Add License

Hi Arun,
I am looking to explore your code base for one of my POC. However, I did not see license details for its use. Could you please share the license file for the use of this code base?
Thanks and Regards,
Prafulla

Added


Non-breaking spaces cannot be easily spotted

Theme(s)
All themes (base)
What were you expecting?
A NO-BREAK SPACE should not have the same face as a regular space. I tested more than 10 doom themes (regular Emacs, 27.1, X11).
Expected (as displayed by modus-vivendi and zenburn themes).

We can immediately find-out that the space between < and > is not a regular space.
Note: The file used is :
non-breaking-space.txt
What actually happened?
With all the doom themes I tried (> 10), I got the NO-BREAK SPACE displayed as a regular space. At least for my eyes.
Examples with doom-zenburn and doom-one :

Steps to reproduce

Install doom-themes from melpa (my version is 20220504.1557).
Open non-breaking-space.txt
Switch to a Doom theme
Examine the character between the < and > characters.

Operating system
Ubuntu 21.10
Emacs version
Emacs 27.1
Installed commit of doom-themes
Unknown: Melpa version is 20220504.1557

As of 0fc2f5dfd29129d069035fa407a62ca1a526956e, this issue has been resolved. Let me know if that isn't the case and I'll reopen it. Thanks for bringing it to my attention!

I applied patch 0fc2f5d directly on ~/.emacs.d/elpa/doom-themes-20220619.2105/doom-themes-base.el, and did test 4-5 doom themes, it looks OK.
Thanks a lot !


numberOfMonths: 1 but It shows 2 crushed months

Hello, I'm starting to implement react-dates on my site, but I already set numberOfMonths to 1 and this wierd thing ( on screenshot ) happens, If somebody could help me!

@ArthurBugan this usually happens because there is some extra CSS being applied universally to table elements. Can you inspect the element in chrome to see if that's the case?
This can happen if you're using react-dates in conjunction with something like materialcss or bootstrap.

Does this happen with a different numberOfMonths value?

@majapw Yes It happens with more months aswell, in this SS I put the numberOfMonths to 4, Its a CSS problem I think, I'm going to check the classes


Update plugin

Google Mobile Ads just updated to support SDK dependencies to 9+.
https://github.com/googleads/googleads-mobile-flutter/issues/594#issuecomment-1196970456

Thank you for brining this to notice. Besides what you updated, after updating dependency, the readme and example app also needed to be updated. Created this #39 pull request to cater this.

Sorry, thought that's what I did. Didn't realize the readme had to be updated. I'm still learning.

Glad you participated. Hope to see you in future contributions as well :)


Update sbt-mima-plugin to 1.1.3

About this PR
📦 Updates com.typesafe:sbt-mima-plugin from 0.9.2 to 1.1.3 ⚠
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe", artifactId = "sbt-mima-plugin" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.typesafe", artifactId = "sbt-mima-plugin" }
}]

labels: sbt-plugin-update, early-semver-major, semver-spec-major, version-scheme:early-semver, commit-count:1

Superseded by #304.


fix(husky): disable commitlint in CI

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Switch to beartype

Description
Switching to beartype from typeguard due to incompatibility with jaxtyping on the latest version
Notes:

typeguard is still in the lockfile because jaxtyping requires it
had to use forward references in these spots to get beartype to work

devices.py - this is a circular import solely due to typehints
utils.py - this is a true circular import that we might want to remove
FactoredMatrix.py - had to use it for methods returning Union["FactoredMatrix", ...]

Type of change
Please delete options that are not relevant.

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

Screenshots
N/A
Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have not rewritten tests relating to key interfaces which would affect backward compatibility

@jbloomAus thanks! this is ready for review.  Feel free to change the composition_scores typehint as I'm not sure how it works

Thanks David, will review in the next couple of days :)

@dkamm, looks great! I just want to double check/compare equivalent error messages and also have a summary here of why we're switching IRC, it's because we had testing issues and then install issues with typeguard? Feels like a long story but you have most context. Once that's written, I'll share with Neel just to be sure he's cool with it.

@jbloomAus
We're switching because there have been issues getting the newer versions of typeguard to work on this codebase for various reasons.
Typeguard 3 - have to add @typeguard_ignore to class properties, doesn't work with the jaxtyping pytest plugin
Typeguard 4 - incompatible with jaxtyping due to how it treats annotations as forward references in its ast transformation
In contrast, the latest version of beartype works with the small number changes described above.
None of these changes preclude switching to typeguard 4 when that issue is resolved, but it's not a trivial issue to solve.  I figured this solution is the best option right now.

Thanks @dkamm!
@alan-cooney This seems like a good thing to me, are you able to verify/double check please?

@dkamm, just pinging you to see if you've had a chance to action @alan-cooney's suggestions.

Just added it! Sorry I missed it earlier

@alan-cooney - I've updated the branch with latest changes from main. There's one new comment that requires review

Thanks for the PR - merged now!


is docs.scipy.org down?

I can't reach https://docs.scipy.org
Is it just me?

@acochrane nope, it's down for me too

Still down for me.

please ref https://github.com/numpy/numpy/issues/8779#issuecomment-286361802

Looks good guys!


Missing identifier sanitisation

Upon defining a function with a parameter called default, the JavaScript backend returns an internal error, because default is a keyword in JavaScript:

This probably stems from missing identifier sanitisation -- ideally, we should rename identifiers that clash with the backend's keywords.
Kinda related to #149.

The above case was an accident, this case is just me trying to break things on purpose:

Commit 471f9da addresses both (though we should probably also use $main as the name for main in the REPL to avoid name clashes there.


 koupleless-base-build-plugin 支持用户自定义配置的 adapter-mapping.xml

Feature description
Describe the feature details with Chinese or English.
Additional notes
Add other notes if necessary.

通过配置文件配置


Fix get_avatar call parameters, missing stablediffusion_api_base and duckduck go search limit rate problem

The model parameter is triggering a parameter error, and isn't used in the function, removing it makes image generation got past the parameter error.
The missing stablediffusion_api_base seems to have lacked some chars :)
When the search step appeared, it failed with a rate limit error, updating the module fixes that

With the commits, LocalAGI did create an avatar and displayed in in the terminal as well as successfully planned a trip.

forced fix was typo in commit - again...


:bulb: fix(db_comment): Add Translation Support to db_comment Fields

Description
This pull request enhances the internationalization (i18n) support for our Django models by adding translation capabilities to the db_comment fields. Using the gettext_lazy function, we ensure that these comments are translated based on the user's locale, improving the usability and accessibility for non-English speaking users and developers.
Changes

Updated db_comment fields to utilize gettext_lazy for translation.
Improved the accessibility and usability of the codebase for a global audience.

Impact
This change will make the codebase more inclusive and easier to maintain, ensuring that users and developers from different linguistic backgrounds can better understand and work with our models.
Closes #2

Closes #4


Explicit string indexing access of map type

TypeScript Version:  3.1.0-dev.201xxxxx
Search Terms:
string index, explicit index
Code
type EventDefinitions<TEventPayload extends object> = {
    [eventName: string]: TEventPayload;
  };

type X = keyof EventDefinitions<object>;

Expected behavior:
The type of X to be string as I have explicitly said it will be.
Actual behavior:
The type of X is string | number.
Playground Link:
http://www.typescriptlang.org/play/#src=type EventDefinitions<TEventPayload extends object> %3D {
    [eventName%3A string]%3A TEventPayload%3B
  }%3B

type X %3D keyof EventDefinitions<object>%3B
Related Issues:
Maybe this: https://github.com/Microsoft/TypeScript/issues/26470 ?

In TypeScript, when a type can be indexed by string, it can also be indexed by number, so keyof is consistent by providing the legal key types for the provided operand.

@RyanCavanaugh oh okay :S Thanks for that, it was certainly unexpected behaviour for me. Is there a way to explicitly say its going to be a string?

On the other hand:
type R = Record<string, number>

type Y = keyof R // string

It caught me by surprise too. 🌷

@unional yep Record is the way to do it I think 👍

Worth pointing out that the example in this issue is almost the exact example used in the docs here
https://www.typescriptlang.org/docs/handbook/advanced-types.html#index-types-and-string-index-signatures
That example claims that the keys will be of type string but they're actually of type string | number it seems.
https://www.typescriptlang.org/play/#src=interface Foo<T> {
    [key%3A string]%3A T%3B
}
let keys%3A keyof Foo<number>%3B %2F%2F string
Assuming I didn't miss something, I think those docs could use an update.

@naddeoa you are correct the docs are incorrect.. They say this:
interface Map<T> {
    [key: string]: T;
}
let keys: keyof Map<number>; // string
let value: Map<number>['foo']; // number

But its not true:


Python3.13 no gil -- Version found exception

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
An exception occurred pydantic running in python3.13t (Python3.13 no gil version),
Process finished with exit code 139 (interrupted by signal 11:SIGSEGV)
Example Code
from pydantic import BaseModel, Field

python3.13t main.py

Python, Pydantic & OS Version
`Process finished with exit code 139 (interrupted by signal 11:SIGSEGV)`

After the version is rolled back to pydantic-1.10.0, everything is normal.
But I need to transform a lot of Pydantic V2 methods, and a lot of Pydantic models are used in the project.
It's too painful !!! o(╥﹏╥)o

Pydantic does no support the free threaded build, we'll have to wait for https://github.com/PyO3/pyo3/issues/4265.


Form value changed after upgrading from 2.1.4 to 2.1.5.

Describe the bug
When I upgrade from 2.1.4 to 2.1.5, I see some behavior change with form.
(same in `2.1.6)
https://github.com/fastrepl/canary/blob/e637cde/core/lib/canary_web/live/source_live/detail.ex#L65
In 2.1.4, fc[:start_urls].value this contains correct existing value(string array).

In `2.1.5`, it is nil.
%Phoenix.HTML.FormField{
  id: "form_config_0_start_urls",
  name: "form[config][start_urls]",
  errors: [],
  field: :start_urls,
  form: %Phoenix.HTML.Form{
    source: #AshPhoenix.Form<
      resource: AshPhoenix.Form.WrappedValue,
      action: :update,
      type: :update,
      params: %{},
      source: #Ash.Changeset<
        domain: Canary.Sources,
        action_type: :update,
        action: :update,
        attributes: %{},
        relationships: %{},
        errors: [],
        data: #AshPhoenix.Form.WrappedValue<
          __meta__: #Ecto.Schema.Metadata<:built, "">,
          value: %Ash.Union{
            value: #Canary.Sources.Webpage.Config<
              __meta__: #Ecto.Schema.Metadata<:built, "">,
              start_urls: ["https://litellm2.ai", "https://litellm3.ai"],
              url_include_patterns: [],
              url_exclude_patterns: [],
              tag_definitions: [],
              js_render: false,
              aggregates: %{},
              calculations: %{}
            >,
            type: :webpage
          },
          aggregates: %{},
          calculations: %{}
        >,
        valid?: true
      >,
      name: "form[config]",
      data: #AshPhoenix.Form.WrappedValue<
        __meta__: #Ecto.Schema.Metadata<:built, "">,
        value: %Ash.Union{
          value: #Canary.Sources.Webpage.Config<
            __meta__: #Ecto.Schema.Metadata<:built, "">,
            start_urls: ["https://litellm2.ai", "https://litellm3.ai"],
            url_include_patterns: [],
            url_exclude_patterns: [],
            tag_definitions: [],
            js_render: false,
            aggregates: %{},
            calculations: %{}
          >,
          type: :webpage
        },
        aggregates: %{},
        calculations: %{}
      >,
      form_keys: [
        tag_definitions: [
          type: :list,
          resource: Canary.Sources.Webpage.TagDefinition,
          create_action: :create,
          update_action: :update,
          embed?: true,
          data: #Function<40.109777359/1 in AshPhoenix.Form.Auto.embedded/3>,
          forms: []
        ]
      ],
      forms: %{tag_definitions: []},
      domain: Canary.Sources,
      method: "put",
      submit_errors: nil,
      id: "form_config",
      transform_errors: nil,
      original_data: #AshPhoenix.Form.WrappedValue<
        __meta__: #Ecto.Schema.Metadata<:built, "">,
        value: %Ash.Union{
          value: #Canary.Sources.Webpage.Config<
            __meta__: #Ecto.Schema.Metadata<:built, "">,
            start_urls: ["https://litellm2.ai", "https://litellm3.ai"],
            url_include_patterns: [],
            url_exclude_patterns: [],
            tag_definitions: [],
            js_render: false,
            aggregates: %{},
            calculations: %{}
          >,
          type: :webpage
        },
        aggregates: %{},
        calculations: %{}
      >,
      transform_params: #Function<36.109777359/3 in AshPhoenix.Form.Auto.unions/3>,
      prepare_params: nil,
      prepare_source: nil,
      warn_on_unhandled_errors?: true,
      any_removed?: false,
      added?: false,
      changed?: false,
      touched_forms: MapSet.new([]),
      valid?: true,
      errors: false,
      submitted_once?: false,
      just_submitted?: false
    >,
    impl: Phoenix.HTML.FormData.AshPhoenix.Form,
    id: "form_config_0",
    name: "form[config]",
    data: #AshPhoenix.Form.WrappedValue<
      __meta__: #Ecto.Schema.Metadata<:built, "">,
      value: %Ash.Union{
        value: #Canary.Sources.Webpage.Config<
          __meta__: #Ecto.Schema.Metadata<:built, "">,
          start_urls: ["https://litellm2.ai", "https://litellm3.ai"],
          url_include_patterns: [],
          url_exclude_patterns: [],
          tag_definitions: [],
          js_render: false,
          aggregates: %{},
          calculations: %{}
        >,
        type: :webpage
      },
      aggregates: %{},
      calculations: %{}
    >,
    action: nil,
    hidden: [
      {"_persistent_id", "0"},
      {:_form_type, "update"}
    ],
    params: %{"_persistent_id" => "0"},
    errors: [],
    options: [method: "put"],
    index: 0
  },
  value: nil
}

Not sure what possibly cause some change.
https://github.com/ash-project/ash_phoenix/compare/v2.1.4...v2.1.5
To Reproduce
I don't have it yet.
Expected behavior
Should not have regression.
Runtime

Elixir version: 1.17.2
Erlang version: 27.0.1
OS: Mac
Ash version: 3.4.33
any related extension versions

Additional context
Add any other context about the problem here.

🤔 would you be able to provide a reproduction of this? Or provide instructions of how I can reproduce this in your project? I don't see how this would have affected other types of forms.

Ideally a failing test in the ash_phoenix test suite.

Okay, so this is a bit complicated. I may not have fixed every issue that arises from the 2.1.5 changes, but those changes were necessary for union forms. Try the changes in main and LMK.


Updated syntax to Swift 3

Updated syntax inSolar.swift to Swift 3
Updated project settings to reflect to changes

I saw issue #8 is wanted.

Thanks yunnnyunnn, I'll check over this later today


Occupy too many system resources

VSCode Version: 1.17.0 (1.17.0)
OS Version: 10.12.6 (16G29)

When open javascript project.  a process named Code Helper occupy too many CPU and Memory

What are the command arguments of the Code Helper?

same as #11963. but my vscode version is 1.17.0

Could you check what the command line arguments are and post these here? I don't see which part of #11963 you are referring to.


Bump awscli to be compatible with Py37

awscli version we used to pin depends on pyyaml that doesn't support py37
The issue got fixed in https://github.com/aws/aws-cli/pull/3430
botocore is also updated as awscli and botocore should usually be synchronized (before doing that I was getting HTTP 500 on Heroku).

Thanks @nott!


Add native workflow for metrics service

This reminds me: Could you add the quarkus.application.name property for the metrics service, and add a hyades- prefix there, too? Like it's done here: https://github.com/DependencyTrack/hyades/blob/main/vulnerability-analyzer/src/main/resources/application.properties#L3
The non-native container image is currently missing this prefix 😬: https://github.com/orgs/DependencyTrack/packages?repo_name=hyades

This reminds me: Could you add the quarkus.application.name property for the metrics service, and add a hyades- prefix there, too? Like it's done here: https://github.com/DependencyTrack/hyades/blob/main/vulnerability-analyzer/src/main/resources/application.properties#L3
The non-native container image is currently missing this prefix 😬: https://github.com/orgs/DependencyTrack/packages?repo_name=hyades

Yes, adding it. I did not push a commit. IntelliJ has changed formatting while pushing commit, need to fix that too


[FLINK-13799][web]: fix error message web submit is disables in the c…

…onfig

What is the purpose of the change
(For example: This pull request makes task deployment go through the blob server, rather than through RPC. That way we avoid re-transferring them on each deployment (during recovery).)
Brief change log
(for example:)

The TaskInfo is stored in the blob store on job creation time as a persistent artifact
Deployments RPC transmits only the blob storage reference
TaskManagers retrieve the TaskInfo from the blob cache

Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (100MB)
Extended integration test for recovery after master (JobManager) failure
Added test that validates that TaskInfo is transferred only once across recoveries
Manually verified the change by running a 4 node cluser with 2 JobManagers and 4 TaskManagers, a stateful streaming program, and killing one JobManager and two TaskManagers during the execution, verifying that recovery happens correctly.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

LGTM

Hi @zentol
I found that the web can get web.submit.enable from the jobmanager configuration, is that correct to judge if the submit is enabled from the key web.submit.enable?

@vthinkxie FLINK-13817 exposes whether submissions are enabled in a more reliable way. The configuration is is unreliable since it only lists explicitly configured keys; if the key is not explicitly configured you'd have to make assumptions on the default.

I will close this PR for the time being. If we do not manage to implement the approach outlined in FLINK-13818 in time for a release we can fallback on this proposal.


Fix PV validation

When comparing PVs, skip comparing unset optional fields. This breaks validation when using
KubeVirt VM, and actual resources in the system do not match the backed up resources in
the s3 store, differing only in the optional "kind" field.
Bug: https://bugzilla.redhat.com/2262455

@nirs Any reason this is still in draft?

Change was not tested yet.


v0.18.8

v0.18.8 - 2020-06-11
Fixed

mongo: auth codes should be set to active by default on creation.

Pull Request Test Coverage Report for Build 263

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 31.034%

Totals

Change from base Build 252:
0.0%

Covered Lines:
108

Relevant Lines:
348

💛  - Coveralls


同样的情况下，我用navicat可以连上mysql数据库，但是用Dbever连接不上。

Description
mysql数据库部署在远程Liunx服务器上，网络有限制需要连接VPN；在连接VPN的情况下，我是用navicat可以连上该数据库，我使用dbever连不上；我又换了种测试方式，我不使用VPN，使用和Liunx服务器同网段的网络也可以连上数据库，请问下，这种情况应该配置Dbever的哪里呢？
DBeaver Version
21.3.2
Operating System
windows10
Database and driver
Mysql数据8.X  驱动：com.mysql.cj.jdbc.Driver 8.0.17
Steps to reproduce
背景：
mysql数据库部署在客户现场的Liunx服务器上，有两种工作人员，一种是在现场的工作人员，一种是在远程的工作人员。
1、在现场的工作使用和服务器相同的网络即客户内部网络，使用Dbever可以连接上数据库。
2、在远程的工作人员需要先连接客户方的VPN，再连接数据库。但是远程工作人员可以使用navicat连接上数据库，无法使用Dbever连接上数据库。
3、现场工作人员，解除现场网络，使用手机热点，连接VPN同样可以使用navicat连接数据库，无法使用Dbever连接数据库。
综上：这种情况需要修改Dbever的什么配置呢？最好能截图看看，谢谢！
Additional context
No response

Hi @kasiry
Please translate your ticket into English.

ok。
Description
The mysql database is deployed on the remote Liunx server, and VPN is required for network restrictions. In the case of VPN connection, I can connect to the database using Navicat, I can not connect to the database using Dbever; I changed the test method again, I do not use VPN, use the same network segment as Liunx server can also connect to the database, may I ask, in this case, where should I configure Dbever?
DBeaver Version
21.3.2
Operating System
windows10
Database and driver
database：mysql 8.x    driver：com.mysql.cj.jdbc.Driver 8.0.17
Steps to reproduce
Background:
The mysql database is deployed on the Liunx server at the customer site with two types of staff, one on site staff and one remote staff.

The work on site uses the same network as the server, namely the customer's internal network, and Dbever can be used to connect to the database.
Remote workers need to connect to the client's VPN first and then to the database. However, remote workers can connect to the database using Navicat, not Dbever.
3, the field staff, remove the field network, use the mobile phone hotspot, connect VPN can also use Navicat to connect to the database, can not use Dbever to connect to the database.
In summary: What configuration of Dbever needs to be modified in this case? It's better to take a screenshot, thank you!

ok。
Description
The mysql database is deployed on the remote Liunx server, and VPN is required for network restrictions. In the case of VPN connection, I can connect to the database using Navicat, I can not connect to the database using Dbever; I changed the test method again, I do not use VPN, use the same network segment as Liunx server can also connect to the database, may I ask, in this case, where should I configure Dbever?
DBeaver Version
21.3.2
Operating System
windows10
Database and driver
database：mysql 8.x    driver：com.mysql.cj.jdbc.Driver 8.0.17
Steps to reproduce
Background:
The mysql database is deployed on the Liunx server at the customer site with two types of staff, one on site staff and one remote staff.

The work on site uses the same network as the server, namely the customer's internal network, and Dbever can be used to connect to the database.
Remote workers need to connect to the client's VPN first and then to the database. However, remote workers can connect to the database using Navicat, not Dbever.
3, the field staff, remove the field network, use the mobile phone hotspot, connect VPN can also use Navicat to connect to the database, can not use Dbever to connect to the database.
In summary: What configuration of Dbever needs to be modified in this case? It's better to take a screenshot, thank you!

Hi @kasiry
Please translate your ticket into English.

ok。
Description
The mysql database is deployed on the remote Liunx server, and VPN is required for network restrictions. In the case of VPN connection, I can connect to the database using Navicat, I can not connect to the database using Dbever; I changed the test method again, I do not use VPN, use the same network segment as Liunx server can also connect to the database, may I ask, in this case, where should I configure Dbever?
DBeaver Version
21.3.2
Operating System
windows10
Database and driver
database：mysql 8.x    driver：com.mysql.cj.jdbc.Driver 8.0.17
Steps to reproduce
Background:
The mysql database is deployed on the Liunx server at the customer site with two types of staff, one on site staff and one remote staff.

The work on site uses the same network as the server, namely the customer's internal network, and Dbever can be used to connect to the database.
Remote workers need to connect to the client's VPN first and then to the database. However, remote workers can connect to the database using Navicat, not Dbever.
3, the field staff, remove the field network, use the mobile phone hotspot, connect VPN can also use Navicat to connect to the database, can not use Dbever to connect to the database.
In summary: What configuration of Dbever needs to be modified in this case? It's better to take a screenshot, thank you!

Hi @kasiry
Please translate your ticket into English.
ok。
Description
The mysql database is deployed on the remote Liunx server, and VPN is required for network restrictions. In the case of VPN connection, I can connect to the database using Navicat, I can not connect to the database using Dbever; I changed the test method again, I do not use VPN, use the same network segment as Liunx server can also connect to the database, may I ask, in this case, where should I configure Dbever?

DBeaver Version
21.3.2
Operating System
windows10
Database and driver
database：mysql 8.x    driver：com.mysql.cj.jdbc.Driver 8.0.17
Steps to reproduce
Background:
The mysql database is deployed on the Liunx server at the customer site with two types of staff, one on site staff and one remote staff.

The work on site uses the same network as the server, namely the customer's internal network, and Dbever can be used to connect to the database.
Remote workers need to connect to the client's VPN first and then to the database. However, remote workers can connect to the database using Navicat, not Dbever.
3, the field staff, remove the field network, use the mobile phone hotspot, connect VPN can also use Navicat to connect to the database, can not use Dbever to connect to the database.
In summary: What configuration of Dbever needs to be modified in this case? It's better to take a screenshot, thank you!

Hi @kasiry
Please translate your ticket into English.

OK。
Description
The mysql database is deployed on the remote Liunx server, and VPN is required for network restrictions. In the case of VPN connection, I can connect to the database using Navicat, I can not connect to the database using Dbever; I changed the test method again, I do not use VPN, use the same network segment as Liunx server can also connect to the database, may I ask, in this case, where should I configure Dbever?
DBeaver Version
21.3.2
Operating System
windows10
Database and driver
database：mysql 8.x    driver：com.mysql.cj.jdbc.Driver 8.0.17
Steps to reproduce
Background:
The mysql database is deployed on the Liunx server at the customer site with two types of staff, one on site staff and one remote staff.

The work on site uses the same network as the server, namely the customer's internal network, and Dbever can be used to connect to the database.
Remote workers need to connect to the client's VPN first and then to the database. However, remote workers can connect to the database using Navicat, not Dbever.
3, the field staff, remove the field network, use the mobile phone hotspot, connect VPN can also use Navicat to connect to the database, can not use Dbever to connect to the database.
In summary: What configuration of Dbever needs to be modified in this case? It's better to take a screenshot, thank you!

用IP地址连，不要用hostname

there has been no update on the issue for a long time. If it is still actual - feel free to reopen it

目前我下载的新版本也是有这个问题，请问如何解决呢？
The new version I have downloaded currently also has this issue. How can I solve it?

补充一下，刚刚倒找解决方式了。
在dbeaver/dbeaver.ini 文件下加上
-Djava.net.preferIPv4Stack=true

Please create a separate ticket with all the details in English. We will look at it.


Different font sizes in same label

All enhancement requests or questions should be directed to the Forum.
Hi I would like to know the best way to have two different size fonts right next to each other. In my example for displaying temperature I would like something like 70 F. Where the 70 is big and the F is small. Thanks
We use GitHub issues for development related discussions.
Please use the forum to ask questions.

We use GitHub issues for development related discussions.
Please use the forum to ask questions.
It's possible to sign in to the forum with your GitHub account... you don't need to make a separate account.


Add Debug option to DB config

TL;DR
The postgres db debug mode in flyteadmin can now be set from the application config.
Type

[x] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Smoke tested
[x] Unit tests added
[x] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
Tracking Issue
https://github.com/lyft/flyte/issues/568
Follow-up issue
NA

Codecov Report

Merging #137 into master will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master     #137   +/-   ##
=======================================
  Coverage   61.51%   61.51%
=======================================
  Files         105      105
  Lines        7444     7445    +1
=======================================
+ Hits         4579     4580    +1
  Misses       2280     2280
  Partials      585      585

Flag
Coverage Δ

#unittests
61.51% <0.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/runtime/application_config_provider.go
4.00% <0.00%> (-0.17%)
:arrow_down:

pkg/repositories/config/postgres.go
52.94% <0.00%> (+5.88%)
:arrow_up:

Continue to review full report at Codecov.

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


Clean up lua plugin doc for overridable configurations

add TS_LUA_CONFIG_HTTP_SERVER_MIN_KEEP_ALIVE_CONNS (#5830)
add TS_LUA_CONFIG_HTTP_HOST_RESOLUTION_PREFERENCE (#6769)
These are PRs included in 9.0.x but did not update lua plugin document
Creating this PR as draft first till we need to make new release for 9.0.x

[approve ci docs]

[approve ci docs]


[core] Throw more clear exception for rescale bucket -1

Purpose

Linked issue: close #xxx

Tests

API and Format

Documentation

+1


Casting to std::string not working in VS2015

The following doesn't compile in Visual Studio 2015 Update 3:
      json o = { { "name", "value" } };
      std::string s1;
      s1 = static_cast<std::string>(o["name"]);  // Failing line

It gives the following error:

error C2440: 'static_cast': cannot convert from 'nlohmann::basic_jsonstd::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::adl_serializer' to 'std::string'
note: No constructor could take the source type, or constructor overload resolution was ambiguous

I tried this with the develop branch aswell as the 2.1.1 release.
I'm using Visual Studio 2015 Update 3 with compiler version 19.00.24215.1 for x86
This is related to #188 and #167. I have to exclude the _MSC_VER check, so that the condition included in the VS build, too. However, this condition has been introduced to fix #167 as far as I understand. Was #167 a problem in VS2015 pre Update 3 only, or hasn't a test been added for #167? I can compile and run all unit-xxx tests with the check removed.

Could you try the following?
s1 = o["name"].get<std::string>();

That works. However, I think the other way should be made to work, too.

Is the error message showing something about operator=?
If so, this is a known issue, unfortunately this a C++ problem, see this doc section for more details

The error message is in my original post. operator= is not mentioned.
You could even remove the s1 =  and it will fail to compile.
      json o = { { "name", "value" } };
      static_cast<std::string>(o["name"]);  // Failing line

Here is the output on GCC, which is more helpful:

t.cpp: In function ‘int main(int, const char**)’:
t.cpp:7:29: error: call of overloaded ‘basic_string(nlohmann::json&)’ is ambiguous
static_caststd::string(j);
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/stdexcept:39,
from /usr/include/c++/7/array:39,
from src/json.hpp:33,
from t.cpp:1:
/usr/include/c++/7/bits/basic_string.h:531:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
basic_string(basic_string&& __str) noexcept
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:437:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
basic_string(const basic_string& __str)
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:429:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
^~~~~~~~~~~~

It's the same issue basically, since the json object has a conversion operator for every type, the compiler does not know which one it should call. operator std::string const&()? operator std::string&&()? etc...
One workaround is to use static_cast<std::string const&>(o["name"]) (or std::string&&).
I don't think we can do anything more about it unfortunately.

So why this compiles in VS, if the condition
and not std::is_same<ValueType, std::initializer_list<typename string_t::value_type>>::value

is included for basic_json::operator ValueType() const?
When you compiled with GCC, did you explicitly exclude this condition (as it is only excluded if _MSC_VER is defined, which shouldn't be the case for GCC)? If no, VS and GCC are behaving diffrently here.
Nevertheless I do not understand the behavior. I thought that the compiler would use the operator ValueType() const if I do static_cast<Type>(json), provided that it is not explicitly disabled by SFINAE. But it seems it is ignoring it and choosing the Type constructor instead.

I haven't touched the library code when I compiled your code.
As to why the constructor is called, cppreference will be more clear and accurate than me.

Any idea how to move forward here?


Migrates Stream functions into the .NET Listener

Description of the Change
Migrates PowerShell streaming functions into the compiled .NET DLL, to prevent VirusTotal from flagging the Private/Streams.ps1 file as "malicious" just because it reading and compresses streams!
Related Issue
Resolves #1426
Additional Context
Scan results after changes

it's not part of your pull request but in PodeHelper line 143
if (count > 0)
{
       await stream.WriteAsync(array, startIndex, count, cancellationToken).ConfigureAwait(false);
}

can be improved performance-wise using
if (count > 0)
{
      await stream.WriteAsync(array.AsMemory(startIndex, count), cancellationToken).ConfigureAwait(false);
}

https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1835

This one I'm aware of, but as Spans/Memory were .NET8 only I didn't include them originally. I have thought about wrapping the code in #if NET8_0_OR_GREATER for the various places that would benefit from it though


RangeMaintainingScrollPhysics remove overscroll maintaining

Fixes https://github.com/flutter/flutter/issues/62890
This overscroll maintaining logic was not tested and it seems it's wrong.
I'm not sure how iOS behaves in this scenario, but it seems to me like it doesn't have such concept.
UPD: Just asked my friend to test in native app and indeed it doesn't do that

Video
https://user-images.githubusercontent.com/39104740/134659340-2d725c64-7637-45c8-8c94-6d6f18d15e28.MP4

If viewport changes size, the content inside it should adjust to fit the viewport only after user releases the drag.
Otherwise it will cause the linked issue - if new content comes in during the overscroll, it will be skipped entirely. There's also another case - if there is a lot of content and then some of it is removed while in overscroll.

Video with the patch
https://user-images.githubusercontent.com/39104740/134548353-23b167e2-997f-41d3-b602-518d29bf87d4.mp4

Code sample

import 'package:flutter/material.dart';

void main() {
  runApp(MaterialApp(
    home: MyHomePage(),
  ));
}

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

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final list = [0, 1, 2];
  var loading = false;
  final colors = [
    Colors.cyan,
    Colors.indigo,
    Colors.pink,
    Colors.red,
    Colors.blue,
    Colors.yellowAccent
  ];

  @override
  void initState() {
    super.initState();
  }

  Future<void> loadMore() async {
    await Future.delayed(const Duration(seconds: 2));
    switchItems();
  }

  void switchItems() {
    setState(() {
      if (list.length < 6) {
        list.addAll([3, 4, 5]);
      } else {
        list.removeLast();
        list.removeLast();
        list.removeLast();
      }
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Row(
          children: [
            ElevatedButton(
              child: Text('switch items'),
              onPressed: loadMore,
            ),
          ],
        ),
      ),
      body: CustomScrollView(
        physics: const BouncingScrollPhysics(
            parent: RangeMaintainingScrollPhysics()),
        slivers: [
          SliverList(
            delegate: SliverChildBuilderDelegate(
              (_, index) => SizedBox(
                width: double.infinity,
                child: Container(
                  height: 400,
                  color: colors[index % 6],
                  child: Text(
                    index.toString(),
                    style: TextStyle(
                      fontSize: 30,
                    ),
                  ),
                ),
              ),
              childCount: list.length,
            ),
          )
        ],
      ),
    );
  }
}

Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[x] All existing and new tests are passing.

I forgot to run all tests, will undraft as I fix them

Can you discuss, for each test that had to change, why the old behaviour is wrong and why the new behaviour is correct? It will help me in reviewing the PR.

Sure! I noticed the change I made to the test made it scuffed, so I instead moved it to a separate test

So studying this I think that I disagree with the new behaviour. The problem is specifically the case shown in the second part of the video in the PR description here -- when you are already overscrolled, and the content shrinks, the overscroll with the new behaviour grows, which is not what (I believe) is the expected user behaviour.
That said, I agree that the behaviour shown in https://github.com/flutter/flutter/issues/62890 is a problem.

I will try to build a native example or find some app that makes it possible to verify what happens when the content shrinks and let you know. I agree that saving the overscroll can make sense from the user's perspective

Sure. I updated the behavior to only maintain overscroll when the viewport maxScrollExtent grows. Not sure there are other conditions when it grows, including minScrollExtent

Here's a video
https://user-images.githubusercontent.com/39104740/137350161-8450c3ea-9f11-4d8f-9cf9-42436c9f8d29.mp4

This is great. I think this is a much better fix than before. Just some minor comments. Sorry for making you jump through hoops, this is really sensitive code.

Sorry for making you jump through hoops, this is really sensitive code.

This is totally completely fine, no need to be sorry

Thanks!

Relation this https://github.com/flutter/flutter/issues/89417#issuecomment-917898706


Getting meta dependency issue

flutter_web_bluetooth ^0.0.8 requires meta >=1.3.0 <1.8.0. And because every version of flutter_localizations from sdk depends on meta 1.8.0
Because every version of flutter_test from sdk depends on meta 1.8.0 and flutter_web_bluetooth  depends on meta >=1.3.0 <1.8.0, flutter_test from sdk is incompatible with flutter_web_bluetooth

Version 0.0.9 should be live now on pub.dev


No support to get users of a specific group

In the VoiceItAPI2AndroidSDK, there is support to get all the groups a particular user is linked to. We can get this using https://api.voiceit.io/?java#get-groups-for-user. But there is no support for getting all the users of a specific group.
This would be very helpful to get all the users of a group, map then to the local users details in the app and proceed with verification. Without this, there will be huge logic execution to map all the users of the VoiceIt account, and mapping them to the DB.

Hi kmvkrish,
You can use the getGroup(String groupId, AsyncHttpResponseHandler responseHandler) method to get all of the users in the group


Enable Kerberos Authentication  for Hive

Previously HivePartitionSensor & NamedHivePartitionSensor supported only authMechansim='PLAIN'.
This PR add support to authMechansim='GSSAPI'

add auth mechanism Kerberos support for hive

closes #275

The subject line seems misleading, you are enabling kerberos for hive or Hive sensors ? @rajaths010494

It's for hive update the same.

need these async sensors to be stress tested with 1000 tasks in a DAG, can you try that please?

I will run those today.

The subject line seems misleading, you are enabling kerberos for hive or Hive sensors ? @rajaths010494

It's for hive update the same.

No, you are enabling the Hive Sensors to work with Kerberos authentication.


Version 2 (Boost 1.76.0)

The CI errors appear to be some Ubuntu apt problems. Can someone restart the jobs?

Commit message should read "Update release notes"

I took the liberty of making the commit message "Create release notes" rather than "Update", because there were no release notes before that.

msvc-14.2 job decided to not run.


emit standard retry-after header?

this crate emits x-ratelimit-after which seems functionally identical to retry-after. any reason not to emit the latter header by default?

To be honest I don't see much of a difference in those, the original behavior was meant to emulate the actix implementation. If that would be useful to you, a PR to add it or enable an option to add it would be welcome


May i deploy to mobile device with tflite?

How to deploy to mobile device if it is possible to deploy mobile device with tflite?

The models are developed in Pytorch and TFlite needs tensorflow models, you willl need to convert models into tensorflow (using onnx may be) or else train the models in tensorflow itself.

How is the inference speed that deploying to mobile using onnx? Do I need consider the cuda issue?

Hi,
We did not test our models for any mobile deployment and cannot comment anything on it

@DevashishPrasad Thanks a lot!


get_letters_elementary : split word -> letters reducing uyirmei

get_letters_elementary : split word -> letters reducing uyirmei
This routine is useful in mapping the letters to santhi.

e.g. get_letters_elementary(u'கழுதை') -> க் அ ழ் உ த் ஐ

It seems duplicate.
Already I added that function "splitMeiUyir" and "joinMeiUyir" in end of the module "tamil.utf8". These function I used in santhirules.py...

Good point, Arulalan. It does have some overlap but writing the  code with yield, and code size in my approach is much smaller.
I propose we keep both the functions.


[chip-test, sival] chip_sw_rv_core_ibex_icache_scrambled_access

Test point name
chip_sw_rv_core_ibex_icache_scrambled_access
Host side component
None
OpenTitanTool infrastructure implemented
None
Silicon Validation (SiVal)
Yes
Emulation Targets

[ ] None
[X] CW310
[ ] Hyperdebug + CW310

Contact person
@GregAC
Checklist
Please fill out this checklist as items are completed. Link to PRs and issues as appropriate.

[ ] Check if existing test covers most or all of this testpoint (if so, either extend said test to cover all points, or skip the next 3 checkboxes)
[ ] Device-side (C) component developed
[ ] Bazel build rules developed
[ ] Host-side component developed
[ ] HJSON test plan updated with test name (so it shows up in the dashboard)
[ ] Test added to dvsim nightly regression (and passing at time of checking)
[ ] For SiVal test cases, test is running relevant FPGA or silicon regression

estimate 0.5

https://github.com/lowRISC/opentitan/pull/20316 now merged.


Remove apt-get cache before apt-get update.

To avoid conflict between existing cache and newly fetched index.
Example error:
W: Size of file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-backports_main_binary-amd64_Packages.gz is not what the server reported 14713 14809

@dlorenc

Done.

Fixed the tests.

Maybe merge it?


Deployer configs are not getting automatically converted

How to categorize this issue?

/area deployers
/kind bug
/priority 4
What happened:
The change introduced in PR #151 does not convert the deployer configs. If the manifest-deployer with the changes introduced in PR #154 is started with a v1alpha1 config, it will abort immediately with the error message converting (v1alpha1.Configuration) to (v1alpha2.Configuration): unknown conversion.
What you expected to happen:
v1alpha.Configuration gets successfully converted to v1alpha2.Configuration for the manifest-deployer (and all other deployers should they ever get another API version).
How to reproduce it (as minimally and precisely as possible):
Use the manifest-deployer with the changes in PR #154 and start it with a v1alpha.Configuration.
Anything else we need to know?:
Environment

Landscaper version: v0.8.0-dev, latest commit referenced in PR #154
Kubernetes version (use kubectl version): 1.20.1

fixed with https://github.com/gardener/landscaper/pull/151


New package: com.malawarecreator.neofile version <IP_ADDRESS>

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.9 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree

Manual Validation ended with:

3:28:46 PM:
2024-12-23 15:28:36.155 [CORE] Download request failed. Returned status: 404       3:28:46 PM:
2024-12-23 15:28:36.230 [CLI ] Failed to download, waiting a bit and retry. Url: https://github.com/malawarecreator/neofile/raw/refs/heads/master/neofile.exe

(Automated response - build 931.)


Explorer Icons blue circle bug

The Explorer's blue circle, counting days, that appears in the interface, doesn't proceed correctly, shifting from the right days count.

fixed in last release


Flutter requires a minimum xcode version 11. I can't use xcode version 11 in high sierra.

Hi. I just upgrade macOS to High Sierra. And I can't get through this problem yet. As you can see in picture below. Upgrading to Mojave or Catalina wasn't an option. Because my MBP late 2011 is not supported.

Flutter always goes with latest version of XCode to support latest SDK and iOS features.
You have three options:

Use an older version of Flutter.
Update your Mac to Mojave using a workaround:
http://dosdude1.com/mojave/
Buy a new Mac.

Can confirm 2. is working on my MBP early 2011, also replaced the WiFi card (yeah you could do that at the time) to get AirDrop, Continuity, etc. with CAT. Now works great with Flutter.
I personally wouldn’t buy a new Mac for multiple reasons so I built a Hackintosh, it may be another solution to explore if a desktop is suitable for you.
You could also dual-boot into Linux or use a VM, but given those laptops are nowadays quite slow for Flutter (from my experience), I wouldn’t recommend it…

Hi @azizimusa
This platform is not meant for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this, you may also get some help if you post it on Stack Overflow. Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you

Also on High Sierra here, can anyone verify the last working flutter version? Is it v1.14.x? Thanks

@codepushr This should definitely be documented better, but you can look at commit history here
https://github.com/flutter/flutter/commits/stable/packages/flutter_tools/lib/src/macos/xcode.dart
Latest XCode version supported by High Sierra was 10.1, commit bumping minimum version to 10.2 was first added in v1.10.15. Anything older than that should work.

Can confirm 2. is working on my MBP early 2011, also replaced the WiFi card (yeah you could do that at the time) to get AirDrop, Continuity, etc. with CAT. Now works great with Flutter.

Can you submit flutter apps built on modified Mojave to Apple Store?

Can you submit flutter apps built on modified Mojave to Apple Store?

I have no idea, but I guess it would work.


Buildings placement - [Team 6]

Description
Task: Placement of Buildings .
Feature: Interfaces and Game Environment
The fixed position of buildings will be done at the end, where the task is completed and merged bug free. This task involves coordinating data from various teams to be based on the same theme and further Integrating all the knowledge acquired to create a seamless environment and an interactive platform for the users.
Example (optional)

Buildings: For creating the Game Environment, this feature of placing Buildings will be very Interactive as the user will be able to visually imagine the surroundings and emotionally connect with the game.
Defensive Walls: This would be an integral part of the game as it's based on defensive mechanisms and fights with accordance to the storyline

Dependencies

[The placements of towers and turrets are needed so that the position coordinated of buildings don't clash] #6
[The lanes and grid positions are needed to type in the coordinates for the placement] #25
[ The input from design committee is also an Integral part so as to design the buildings and the theme] #Design committee

Milestones
List of steps that need to be completed for this task.

[x]   Research on the various created games and collect data on types of buildings and fixed positioned particulars in the game environment (Aug. 22)
[x]  Short list the most feasible type of buildings according to the game in studio3 as per all inputs from dependent teams and select the final design based on the research data (Aug 24)
[x]  Implement the features (Aug 25)
[x] check for any merge conflicts or bugs and correct it after which merge them to the main branch (Aug 26)

Completion Deadline: Aug. 26
Documentation

[Main description of feature] (../wiki/Game-Screens)
JavaDoc
...

Member

Elanagai Arivuchelvan (@ElanagaiArivuchelvan)
Rahul Sagar Pabba (@rahulsagar500)

This ticket closed as this feature implemented in #207


Deepslice results only produce atlas images without histology overlay when opening json file in Quicknii

After downloading the json/xml file from the web version of deepslice, I then try to open in Quicknii to make minor adjustments, but I when loading the json/xml file all that shows up are the atlas images and no histology. Similarly, if I try to open the file in visualign I only get an error message in the terminal. I've made sure the histology images are numbered correctly, have fixed widths of 1500 pixels, and have the json/xml file in the same folder so they should be formatted correctly for Quicknii. I tried deleting and redownloading Quicknii to no avail. Using the Quicknii filebuilder on the same files i supplied to Deepslice works as normal, and the histology images show up in Quicknii. Any idea what could be causing this issue?

Can you please post the json that comes out of DeepSlice and the json that comes out of the file builder so that I can compare :)

Sure, and thanks for the quick response. I tried using the python package, and this ended up working! Quite happy to be able to continue using DeepSlice in my pipeline. I'll add the python install json as well. Filebuilder only gave me the option of saving an xml which I can't upload to github, so I saved it as a json through quicknii. Not sure if that would affect anything you're interested in looking at.
filebuilder_json.json
MyResults_python.json
results_web.json
I also had some issues trying to install using pip install, which requires tensorflow<=2.1.5, but this version doesn't seem to be available and I wasn't able to install (at least not with pip or a local download).
Similarly, when I tried to create the DS-CPU environment, I received an error which I am unsure of how to resolve. I posted the error message at the bottom of this comment. DS-GPU on the other hand worked fine with no errors. As I said, I'm very happy to be able to use deepslice instead of going manual-mode in Quicknii!

The issue is you have a space in your filenames which the web version is replacing with an underscore. Remove the space and you should be good! Tensorflow 2.15.0 is available as it is very recent. You probably need to use a newer version of python (I think it says here you are using python 3.7. I should test which versions work and update the readme. Install a newer python and then pip install DeepSlice should work just fine.

The 3.7 python you're seeing was installed through the DS-GPU environment from the yml file, which as mentioned does work. My base environment that i used when i first tried pip install has python 3.12.4 . Trying to pip install tensorflow==2.15 gives the following error:
ERROR: Could not find a version that satisfies the requirement tensorflow==2.1.5 (from versions: 2.16.0rc0, 2.16.1, 2.16.2, 2.17.0rc0, 2.17.0rc1, 2.17.0)
ERROR: No matching distribution found for tensorflow==2.1.5

Should have known it would be something as simple as a space in the filenames. Thank you!
Regarding the DS-CPU issue, the 3.7 python you're seeing was installed through the DS-GPU environment installed from the yml file, which as mentioned works great, so that's what you're seeing. It's also the same version of python in the DS-CPU yml file, I think (3.7.11). I doublechecked that I was using python version 3.12.4 in the terminal when trying to create the DS-CPU environment, but it still produces the same error I posted above.
Regarding pip install DeepSlice, I verified in a Jupyter Notebok that it was also running python 3.12.4 with (sys.version), but the install still produces an error regarding tensorflow which I've posted at the bottom of the comment. Trying to specify pip install DeepSlice==1.2.4 produces the same error as trying to install tensorflow==2.15.0, which looks like this:
ERROR: Could not find a version that satisfies the requirement tensorflow==2.15.0 (from versions: 2.16.0rc0, 2.16.1, 2.16.2, 2.17.0rc0, 2.17.0rc1, 2.17.0)
ERROR: No matching distribution found for tensorflow==2.15.0
Trying to pip install with the whl file gives the same error. Looking at the whl file for 2.15.0 it looks like it is specific to python 3.11? So I guess that could be the issue.
Error from pip install DeepSlice:
Collecting DeepSlice
Using cached DeepSlice-1.2.4-py3-none-any.whl.metadata (9.5 kB)
Requirement already satisfied: numpy in c:\users\tor-s\anaconda3\lib\site-packages (from DeepSlice) (1.26.4)
Requirement already satisfied: scikit-learn in c:\users\tor-s\anaconda3\lib\site-packages (from DeepSlice) (1.4.2)
Requirement already satisfied: scikit-image in c:\users\tor-s\anaconda3\lib\site-packages (from DeepSlice) (0.23.2)
INFO: pip is looking at multiple versions of deepslice to determine which version is compatible with other requirements. This could take a while.
Using cached DeepSlice-1.2.3-py3-none-any.whl.metadata (9.4 kB)
Using cached DeepSlice-1.2.2-py3-none-any.whl.metadata (9.4 kB)
Using cached DeepSlice-1.2.1-py3-none-any.whl.metadata (9.4 kB)
Using cached DeepSlice-1.2-py3-none-any.whl.metadata (9.4 kB)
Using cached DeepSlice-1.1.7-py3-none-any.whl.metadata (9.5 kB)
Using cached DeepSlice-1.1.6-py3-none-any.whl.metadata (9.5 kB)
Using cached DeepSlice-1.1.5-py3-none-any.whl.metadata (8.3 kB)
INFO: pip is still looking at multiple versions of deepslice to determine which version is compatible with other requirements. This could take a while.
Using cached DeepSlice-1.1.4-py3-none-any.whl.metadata (8.2 kB)
Using cached DeepSlice-1.1.3-py3-none-any.whl.metadata (8.2 kB)
Using cached DeepSlice-1.1.2-py3-none-any.whl.metadata (8.2 kB)
Using cached DeepSlice-1.1.1-py3-none-any.whl.metadata (8.2 kB)
Using cached DeepSlice-1.1.0-py3-none-any.whl.metadata (8.2 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
Using cached DeepSlice-1.0.11-py3-none-any.whl.metadata (8.1 kB)
Using cached DeepSlice-1.0.6-py3-none-any.whl.metadata (8.1 kB)
Using cached DeepSlice-1.0.5.tar.gz (31 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Using cached DeepSlice-1.0.4.tar.gz (27 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Using cached DeepSlice-1.0.3.tar.gz (26 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Using cached DeepSlice-1.0.2.tar.gz (26 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Using cached DeepSlice-1.0.1.tar.gz (16 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Using cached DeepSlice-1.0.0.tar.gz (16 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
The conflict is caused by:
deepslice 1.2.4 depends on tensorflow<=2.15.0
deepslice 1.2.3 depends on tensorflow<=2.15.0
deepslice 1.2.2 depends on tensorflow<=2.15.0
deepslice 1.2.1 depends on tensorflow<=2.15.0
deepslice 1.2 depends on tensorflow<=2.15.0
deepslice 1.1.7 depends on tensorflow==1.15.0
deepslice 1.1.6 depends on tensorflow==1.15.0
deepslice 1.1.5 depends on tensorflow==1.15.0
deepslice 1.1.4 depends on tensorflow==1.15.0
deepslice 1.1.3 depends on tensorflow==1.15.0
deepslice 1.1.2 depends on tensorflow==1.15.0
deepslice 1.1.1 depends on tensorflow==1.15.0
deepslice 1.1.0 depends on tensorflow==1.15.0
deepslice 1.0.11 depends on tensorflow==1.15.0
deepslice 1.0.6 depends on tensorflow==1.15.0
deepslice 1.0.5 depends on tensorflow==1.15.0
deepslice 1.0.4 depends on tensorflow==1.15.0
deepslice 1.0.3 depends on tensorflow==1.15.0
deepslice 1.0.2 depends on tensorflow==1.15.0
deepslice 1.0.1 depends on tensorflow==1.15.0
deepslice 1.0.0 depends on tensorflow==1.15.0
To fix this you could try to:

loosen the range of package versions you've specified
remove package versions to allow pip to attempt to solve the dependency conflict

Note: you may need to restart the kernel to use updated packages.
ERROR: Cannot install deepslice==1.0.0, deepslice==1.0.1, deepslice==1.0.11, deepslice==1.0.2, deepslice==1.0.3, deepslice==1.0.4, deepslice==1.0.5, deepslice==1.0.6, deepslice==1.1.0, deepslice==1.1.1, deepslice==1.1.2, deepslice==1.1.3, deepslice==1.1.4, deepslice==1.1.5, deepslice==1.1.6, deepslice==1.1.7, deepslice==1.2, deepslice==1.2.1, deepslice==1.2.2, deepslice==1.2.3 and deepslice==1.2.4 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

the DS-CPU and GPU files are quite old and install an older version of DeepSlice, I should remove them. Ok i replicated your problem it seems it is because of python 3.12 not supporting tensorflow 2.15.0. please use Python 3.11. Ill add it to the README


Question about Is Weapon Drawn condition

Hi.
The condition works fine, but I was wondering if it could be changed.
I was setting a display to be disabled when a weapon was drawn; as soon as the weapon was drawn the display was disabled, as expected.
When the weapon was sheathed, the display was enabled back, but it happened at the start of the sheathing animation and not at the end.
I guess the function evaluates at sheathe begin then. Is it possible to evaluate at sheathe end?

This is actually due to a mistake I made in the libs and it affects simple dual sheath too. I'll upload a new SDS build to nexus in a bit and IED test build here too.

Nexus file management is taking a dump right now so the files may or may not be available. Anyhow, thanks! I'll get those IED test builds up in a bit.

:)
Just reporting that it worked perfectly, thanks.


Simple request passing with http package but not with dio

dio web has headers in its request which are not allowed for "Simple request", which means some request which shouldn't trigger preflight will trigger it. EG CORS errors.
There is a strict policy on how to be elligible for what's called "simple request":
Simple request
A simple cross-site request is one that meets all the following conditions:
The only allowed methods are:
GET
HEAD
POST
Apart from the headers set automatically by the user agent (e.g. Connection, User-Agent, etc.), the only headers which are allowed to be manually set are:
Accept
Accept-Language
Content-Language
Content-Type
The only allowed values for the Content-Type header are:
application/x-www-form-urlencoded
multipart/form-data
text/plain
A simple request will not cause a pre-flight OPTIONS request

Here is an example URL which does not pass with dio https://homologation-webpayment.payline.com/webpayment/getToken  but will pass with the http package, content type should be x-www-form-urlencoded, just make a POST request with whatever data, DIO will trigger a preflight and a CORS issue

Same problem


Redesigning the seevice list

It looks very simple I can redesign it and make it look awesome please assign me for this

@aditya-bhaumik

@YooAshu sure go ahead
Make sure to join the discord server for further communication
Don't forget to star the repository
Complete the task in next 2 days and kindly mention your issue # in your pr like this:
Closes #IssueNumber
Note: the level of the issue may change based on the quality of the PR code


CI?

Where is the CI badge? I see that there are tests, therefore I would expect a CI to run the tests against an PR.

This repo is no longer maintained and has been moved to code.cloudfoundry.org/go-envstruct


Adds cachebusting functionality to generated sprite files

Let me fix the build errors...

This has been discussed in #27. Our preference is to keep spritesmith focused on one thing well which is to generate spritesheets. Anything related to cache busting filenames should be handled in another task. Here are our thoughts for a gulp flavor which could be reused in a grunt or CLI context:
https://github.com/twolfson/gulp.spritesmith/issues/26#issuecomment-71877506


FirebaseInstanceIdService is deprecated

FirebaseInstanceIdService is deprecated
https://docs.microsoft.com/en-us/xamarin/android/data-cloud/google-messaging/remote-notifications-with-fcm?tabs=macos#implement-the-firebase-instance-id-service
Firebase.Iid.FirebaseInstanceIdService is deprecated, and according to https://stackoverflow.com/a/51129304/5429648, this is replaced with the overridable instance method Firebase.Messaging.FirebaseMessagingService.OnNewToken.

What is expressly needed is an example of the replacement of the associated manifest elements.

In the previous version of the manifest, the following two sections contained the referenced classes. What are their replacements.
-
-

Section 2

@davidortinau @davidbritch Was the documentation needed ever created or found?

+1

Microsoft support for Xamarin will end on May 1, 2024 for all Xamarin SDKs including Xamarin.Forms. In preparation for this, all issues and PRs in this repository are being closed.
.NET MAUI is the replacement for Xamarin.Forms, and it's documentation can be found here.


adding morningstar

Thank you for taking the time to work on a Pull Request for this project!
To ensure your PR is dealt with swiftly please check the following:

[x] Your submissions are formatted according to the guidelines in the contributing guide
[x] Your additions are ordered alphabetically
[x] Your submission has a useful description
[x] The description does not end with punctuation
[x] Each table column should be padded with one space on either side
[x] You have searched the repository for any relevant issues or pull requests
[x] Any category you are creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

Hi, the link provided is not valid. Please update the link to valid documentation. Thanks!

@jamessouth 10x I've fixed an i'll squash
@davemachado What do you mean not valid? Its mashape

Clicking on that link originally gave me a 404, now it redirects me to mashape's home page. Perhaps this service was removed.


Added Frakkagjerd Secondary School in Norway

https://www.tysver.kommune.no/barnehage-og-skole/skole/skoler-i-tysvar/frakkagjerd-ungdomsskole/
The only website as the school belongs to the Tysvær (kommune) municipality

@nikeedev Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Add setting for max image width when viewing .note files

Per issue #22, I took a stab at adding a max px width setting in the settings pane:

Set to 500 px as shown above, my test note looks like this:

Notes are still responsive to window size below the max width.
The default value is 1400px, which is nearly the max width of a note (both A5X and A6X2) in portrait orientation. This is the same as the preexisting behavior. That same test note looks like this at the max 1400px width:

I am pretty new to contributing on Github so I would like any and all feedback, thanks!

Hrm, I wonder how we would handle horizontal on this. My instinct is to make max-width a percentage at 5% increments or something instead. WDYT? Is there a reason you want pixel increment control?

Note to self: I tested this branch and it works fine as described. Code looks fine. Just needs a squash after the percentage discussion above.

I think you're right, a percentage will probably be more intuitive for horizontal notes, as well as future larger notes from the A5X2 device. Pixels just happened to be convenient for implementation. I am going out of town for a week but will come back to this when I return!

I actually prototyped it and CSS supports a percentage and it is a percentage of the enclosing div. So it works as you might hope. Just a couple of lines to edit. Safe travels! Sent from a pocket terminal On May 25, 2024, at 6:29 PM, James Li @.***> wrote:
I think you're right, a percentage will probably be more intuitive for horizontal notes, as well as future larger notes from the A5X2 device. Pixels just happened to be convenient for implementation. I am going out of town for a week but will come back to this when I return!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

I tried the percentage but couldn't find a clean way to implement my desired behavior. Doing something like max-width: 60% would cause the max width to vary based on the window size, whereas I wanted the max width constraint to stay constant regardless of window size.
(Maybe I'm totally misunderstanding what you were describing above, or overlooking something obvious? Please let me know if so!)
Instead, to handle horizontal pages nicely (i.e., keep them at the same apparent scale as vertical pages), I changed the setting so it limits both the height and width of the image. It's now called "Max image side length" in the Settings pane. For example, the new default limit of 800 px would allow a vertical page up to 800 px tall, or a horizontal page up to 800 px wide.
Unfortunately I couldn't actually test this on any actual horizontal pages since the library doesn't support those yet, but I'm hopeful that this will play nice when that time comes!
I implemented this by creating a new parent div with the max-width attribute for each page (and then the images have a max-height attribute). Creating a div for each page presented a convenient opportunity to add a related behavior I had been planning to try: The ability to show multiple pages horizontally if the window is large enough.
Some screenshots to show what I mean:

When the window is narrow, the images are responsive to the window width:

If the window is made wider, at a certain point the image hits the maximum side length setting and stops getting bigger:

If you keep making the window wider, the image stays the same size:

If the window is made sufficiently wide enough, more than one page can be shown side by side:

Please let me know what you think, thanks! Cheers :)

One more screenshot to demonstrate that if I keep the window the same size as in the last screenshot above, but set the image side length limit to something smaller (here 400 px), now I can see a whole bunch of pages at once:

This looks great for being able to see pages side by side, can we merge this @philips

Sorry for the long delay. I have made a beta release with this feature so I can test it for a bit on my own devices. You can install it with BRAT - it is 2.3.0

Thanks @philips! Glad to see you back here.

First bug: At 200px on my iPhone the text contents have no padding so when two pages are adjacent the words run into each other.

Filed issue #38


[Khmer] No 'cfar'

This page doesn’t explain the feature 'cfar'.

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

ID: aad9cb38-9a74-d136-23f6-0fdc5dca33c8
Version Independent ID: ef6b84e4-d3a7-8c34-78ac-1b5788765fb8
Content: Developing OpenType Fonts for Khmer Script - Typography
Content Source: typographydocs/script-development/khmer.md
Product: windows
GitHub Login: @mijacobs
Microsoft Alias: mijacobs

Just a note about a Twitter thread related to this issue:
https://twitter.com/sovichet/status/1163676937371308032
Behdad pointed out about cfar (despite everyone else forgot about it):
https://twitter.com/behdadesfahbod/status/1164056045372637185


Input err icon not aligned to the right

I am writing a custom Component for the inputs in my application and I am trying to implement some kind of error feedback on them.
The first problem comes when adding the icon, that's not beign aligned to the right, it always appears to the left inside the input.
react-native, react and native-base version
"react": "16.0.0-alpha.12",
"react-native": "^0.47.0"
"native-base": "^2.3.1"
Expected behaviour
The icon should appear to the right
Actual behaviour
The icon appears in the left
Steps to reproduce (code snippet or screenshot)
import React from "react";
import PropTypes from "prop-types";

import { Item, Label, Input, Text, Icon } from "native-base";

export default class FloatingInput extends React.Component {
    render(){
        return (
            <Item stackedLabel error={this.props.error?true:false}>
                {this.props.label}
                <Input
                    secureTextEntry={this.props.obscure?true:false}
                    value={this.props.value}
                    onChangeText={this.props.onChangeText}
                    onBlur={this.props.validate}/>
                <Icon name='close-circle' />
                <Text>{this.props.error}</Text>
            </Item>
        );
    }

    static propTypes = {
        value: PropTypes.any.isRequired,
        label: PropTypes.string.isRequired,
        error: PropTypes.string,
        obscure: PropTypes.bool,
        onChangeText: PropTypes.func,
        validate: PropTypes.func
    };
}

Screenshot of emulator/device

Is the bug present in both ios and android or in any one of them?
I have just tested this in Android

I meet the same problem.
import React, { Component } from 'react';
import { Container, Header, Content, Item, Input, Icon, Label } from 'native-base';
export default class IconTextboxExample extends Component {
render() {
return (

Username

);
}
}

I meet the same problem.
import React, { Component } from 'react'; import { Container, Header, Content, Item, Input, Icon, Label } from 'native-base'; export default class IconTextboxExample extends Component { 	render() { 		return ( 			<Container> 				 				<Content> 					<Item stackedLabel error> 						Username 						<Input /> 						<Icon name='close-circle' /> 					</Item>         </Content>       </Container>     );   } }

import React, { Component } from 'react';
import { Container, Header, Content, Item, Input, Icon, Label } from 'native-base';
export default class IconTextboxExample extends Component {
render() {
return (

Username

);
}
}

I meet the same problem.
import React, { Component } from 'react'; import { Container, Header, Content, Item, Input, Icon, Label } from 'native-base'; export default class IconTextboxExample extends Component {     render() {         return (             <Container>                                  <Content>                     <Item stackedLabel error>                         Username                         <Input />                         <Icon name='close-circle' />                     </Item>             </Content>         </Container>         );     } }

I meet the same problem.  Property stackedLabel and error, can not be used in Item together.
import React, { Component } from 'react';

import { Container, Header, Content, Item, Input, Icon, Label } from 'native-base';

export default class IconTextboxExample extends Component {

    render() {

        return (

            <Container>

                <Content>

                    <Item stackedLabel error>

                        Username

                        <Input />

                        <Icon name='close-circle' />

                    </Item>

            </Content>

        </Container>

        );

    }

}

+1

+1

+1

Here are the dependencies
	"react": "16.0.0",
	"react-native": "0.50.1",
	"native-base": "2.3.3"

Works as expected

Closing this issue due to inactivity
Please reopen this if the issue continues

@SupriyaKalghatgi in order to trigger the bug, you need to use Item stackedLabel (emphasis mine) and also put a Label inside the Item stackedLabel.
I also got hit with this bug just today.

#1102

Icon doesn't work inside StackeLabel item. -_- @SupriyaKalghatgi Don't close issues without fixing.

Same here. It does not work to display an error icon using StackeLabel.

@SupriyaKalghatgi This is not a duplicate of #1102 - as the others said, this error is specific to using Item with stackedLabel. This is still happening. Can this please reopened?

I still have this issue in v2.8.1. Can someone please help?

Still buggy ...
Can someone re-open this issue ?

Still buggy in<EMAIL_ADDRESS>

still bug in native-base

Also facing this issue, is there any workaround ? tried putting style={{ flexDirection: 'row-reverse' }} in Item but it made thing worse.

Still buggy in<EMAIL_ADDRESS>!!!

Still a bug in native-base 2.13.8.. can you please reopen this issue

Still a bug in native-base 2.13.8..
Can someone please reopen this issue?

FOR THE LOVE OF GOD SOMEONE REOPEN THIS ISSUE. I've been using Native Base for one day and so far have run into so many little bugs surrounding forms/inputs that it is quickly becoming unusable.

this is still an issue @SupriyaKalghatgi . Please reopen

I was able to achieve the same effect with the following nesting. Hope this helps others while the issue gets fixed.
<Item stackedLabel>

  <Row>
    <Input value={value} />
    <Button transparent>
      <Icon name='trash' />
    </Button>
  </Row>
</Item>

guys, wrap it in a view then you can solve this

Guys, wrap it in a view then you can solve this
 <Item success={false} style={[noBorder]} stackedLabel>                       이름                       <View                         style={[                           inputStyle,                           { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between' }                         ]}                       >                         <Input                           onChangeText={handleChange('name')}                           onBlur={handleBlur('name')}                           autoCorrect={false}                           autoCapitalize="none"                         />                         <Icon style={{ marginTop: 5 }} name="checkmark-circle" />                       </View>                     </Item>

Guys, wrap it in a view then you can solve this
                      <Item success={false} stackedLabel>

                      <View
                        style={[
                          inputStyle,
                          { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between' }
                        ]}
                      >
                        <Input />
                        <Icon name="checkmark-circle" />
                      </View>
                    </Item>

This removes the color styling for success and error (green or red just remains black):

Guys, wrap it in a view then you can solve this
                      <Item success={false} stackedLabel>

                      <View
                        style={[
                          inputStyle,
                          { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between' }
                        ]}
                      >
                        <Input />
                        <Icon name="checkmark-circle" />
                      </View>
                    </Item>

This removes the color styling for success and error (green or red just remains black):

`import React, {useState} from 'react';
import {Platform, StyleSheet, View} from 'react-native';
import {Item, Input, Icon, Label, Text} from 'native-base';
import {ColorScheme} from '../../utilities/colors';
import {valueORChecker, heightToDP, widthToDP} from '../../utilities/helpers';
import {strings} from '../../utilities/strings';
export const TextInput = ({
label,
required,
infoText,
maxLength,
keyboardType,
autoCapitalize,
onSubmitEditing,
inputRef,
returnKeyType,
placeholder,
value,
onChangeText,
blurOnSubmit,
multiline,
}) => {
return (
<View
style={{
marginBottom: 10,
}}>

{label} {required && ''}{' '}

{infoText && infoText}

<Input
style={styles.inputStyle}
multiline={multiline || false}
maxLength={maxLength}
keyboardType={keyboardType || 'default'}
autoCapitalize={autoCapitalize || 'none'}
onSubmitEditing={onSubmitEditing}
ref={inputRef}
returnKeyType={returnKeyType}
placeholder={placeholder || ''}
value={value}
onChangeText={onChangeText}
blurOnSubmit={blurOnSubmit || false}
/>

<View
style={{
position: 'absolute',
right: 8,
// backgroundColor: 'green',
height: '100%',
justifyContent: 'center',
}}>
{/ UK */}

);
};
const styles = StyleSheet.create({
itemDiv: {
paddingLeft: 5,
paddingRight: 30,
borderRadius: 5,
borderColor: ColorScheme.gray,
},
labelDiv: {
marginLeft: 8,
flexDirection: 'row',
justifyContent: 'space-between',
marginBottom: Platform.OS == 'ios' ? 3 : 0,
},
labelText: {
fontSize: widthToDP(12),
color: ColorScheme.black_80,
},
infoText: {
fontSize: widthToDP(12),
color: ColorScheme.red,
},
inputStyle: {
fontSize: widthToDP(14),
color: ColorScheme.black_80,
},
});
export default TextInput;
`
Input component.
You have to manage the color of the Icon on your own.


bayesian fail to plot if my testing period is too long?

i was using plot_bayes_cone(rets, live_start_date = pd.Timestamp('2011-11-04', tz='UTC'))
if i move the live_start_date to a later date say 2013-11-04 it works fine. However, if i move it earlier it fail.
I also use a longer training series, it fails too
not much clue even I know where it is failing.
Is it a known issue? like we cannot put our live_start_date too earlier...
would need some advise
fail in
in _plot_bayes_cone(returns_train, returns_test, preds, plot_train_len, ax)
    510     print returns_train_cum
    511
--> 512     returns_train_cum.plot(ax=ax, color='g', label='in-sample')
    513     returns_test_cum_rel.plot(ax=ax, color='r', label='out-of-sample')
    514
........

ticker.pyc in bin_boundaries(self, vmin, vmax)
   1345                 break
   1346         if self._trim:
-> 1347             extra_bins = int(divmod((best_vmax - vmax), step)[0])
   1348             nbins -= extra_bins
   1349         return (np.arange(nbins + 1) * step + best_vmin + offset)

ValueError: cannot convert float NaN to integer

Seems more like you have nans in the returns. Can you call after .dropna() on your inputs?

@leoleolam ping

Hi twiecki,
I am now using an example which getting price from load_from_yahoo. And then I compute returns with dropna, it still getting the same issue. Would you be able to replicate and advise?
from zipline.utils.factory import load_from_yahoo
start = datetime(2001, 1, 1, 0, 0, 0, 0, pytz.utc)
end = datetime(2015, 1, 1, 0, 0, 0, 0, pytz.utc)
# Load price data from yahoo.
data = load_from_yahoo(stocks=['CL'], indexes={}, start=start,
end=end)
rets = (data/data.shift(1) -1)
rets =  rets['CL'].dropna()
pf.create_bayesian_tear_sheet(rets['CL'], live_start_date = pd.Timestamp('2011-11-04', tz='UTC'))
Thanks.

@twiecki
sorry, last line should be
pf.create_bayesian_tear_sheet(rets, live_start_date = pd.Timestamp('2011-11-04', tz='UTC'))

I was able to run this:

CL
Running T model
 [-----------------100%-----------------] 2000 of 2000 complete in 5.5 sec
Finished T model (required 51.05 seconds).

Running BEST model
 [-----------------100%-----------------] 2000 of 2000 complete in 8.1 sec
Finished BEST model (required 55.14 seconds).

Finished plotting Bayesian cone (required 0.92 seconds).

Finished plotting BEST results (required 1.69 seconds).

Finished computing Bayesian predictions (required 0.18 seconds).

Finished plotting Bayesian VaRs estimate (required 0.09 seconds).

Running alpha beta model
 [-----------------100%-----------------] 2000 of 2000 complete in 6.6 sec
Finished running alpha beta model (required 34.82 seconds).

Finished plotting alpha beta model (required 0.31 seconds).

Total runtime was 144.20 seconds.

The reason this didn't work for you is probably a recent fix I did here: https://github.com/quantopian/pyfolio/commit/7685f6fdc79253de83349de30ce5d5ff227775e3. So can you retry after updating to pymc3 master and pyfolio master?
I'm closing for now but feel free to reopen if the update doesn't fix your problem.


Quick fix for dir_path and getsize for Azure Blob

Fixed the join problem in dir_path, specified prefix arguent in rmdir and fixed getsize.

@mzjp2, I did some maintenance on the fork chain and the commits to this branch. Unfortunately this required a rewrite of history on this fork and on the immediate upstream fork. I am sorry about this. However I was able to add a doc string, remove the GCSStore MutableMapping, and rebase the entire abs_store branch onto the upstream (upstream) master. So if you are okay with this, I'm guessing that the best way forward is for you to either refork, or you to clean up on your side with a fetch/rebase, and then we can add your PR. At that point I think we can do a PR all the way upstream, get this into at least a branch on the main repo, and we can get out of this fork chain difficulty. Does this sound like a good idea to you?

No worries @tjcrone, I went for the easier option (as my changes were relatively minor) and just reforked. Thanks for your work on the maintenance of the fork chain 👍

Thanks @tjcrone and @mzjp2.  Taking a slightly higher level view for a moment, what we really need in order to continue with out testing is a code base that combines the abbstore work AND the combined metadata work (https://github.com/zarr-developers/zarr/pull/268).  Given the state of the various forks, what is the best way to achieve this?


Update agent-deploy.md

Updating doc since bandwidth management is now available

@stevenmatthew
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

fixing file path

#sign-off

#sign-off
@Court72, Could you please merge these minor changes. Its review passed.

@stevenmatthew, Could you please sign off on this PR?

#sign-off @Court72, Could you please merge these minor changes. Its review passed.

@padmalathas - Thanks for reviewing. In this case, I'll merge this PR with your sign-off.


Method properties does not seem to be catched

Method properties http://es6-features.org/#MethodProperties does not seem to be picked up by the available rules. In something like this:
const obj = {
  foo () {
    console.log('bar')
  }
}

Only "obj" will be picked up, not "foo".

Sorry I found the rule and the fact that no space is allowed after then name and before the (. But the regex do look like I'm supposed to have 0 or more spaces?

I guess something like
--regex-javascript=/^[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*(.*)[ \t]*[{]/\1/M,Method,Methods/b

would fix it but I'm not sure if it would collide with something else?

Created #15 if you want to use it, if not, feel free to close it.

I also tested this scenario and the only solution is finding a suitable alternative library
class Test {
  method(param) {
    console.log('test');
  }
}


Add the monitoring scope to the default scopes for GCE instances created by docker-machine

This allows sending metrics using application-default-credentials from the GCE VM
to the Google Cloud Monitoring API
Signed-off-by: Jeremy Katz<EMAIL_ADDRESS>

LGTM