environment vars for single module removed?

wagi --env is good for global env vars for all modules, but for some cases, I need to inject some secret vars for a Wasm module only, not for all modules.   I found the example from https://github.com/deislabs/wagi-examples/tree/main/env_wagi
[[module]]
# Mount this to example.com/env
route = "/env"
# Point to the directory that 'cargo build' wrote the WASM file
module = "/path/to/env_wagi/target/wasm32-wasi/release/env_wagi.wasm"
# Mount the source code of this repo
volumes = { "/" = "/path/to/env_wagi" }
# Set an environment variable
environment.TEST_NAME = "test value"

But it does not work on 0.3.0, any clue?
pub struct Module {
    /// The route, begining with a leading slash.
    ///
    /// The suffix "/..." means "this route and all sub-paths". For example, the route
    /// "/foo/..." will match "/foo" as well as "/foo/bar" and "/foo/bar/baz"
    pub route: String,
    /// The path to the module that will be loaded.
    ///
    /// This should be an absolute path. It must point to a WASM+WASI 32-bit program
    /// with the read bit set.
    pub module: String,
    /// Directories on the local filesystem that can be opened by this module
    /// The key (left value) is the name of the directory INSIDE the WASM. The value is
    /// the location OUTSIDE the WASM. Two inside locations can map to the same outside
    /// location.
    pub volumes: Option<HashMap<String, String>>,
    /// The name of the function that is the entrypoint for executing the module.
    /// The default is `_start`.
    pub entrypoint: Option<String>,
    /// The URL fragment for the bindle server.
    ///
    /// If none is supplied, then http://localhost:8080/v1 is used
    pub bindle_server: Option<String>,

    /// List of hosts that the guest module is allowed to make HTTP requests to.
    /// If none or an empty vector is supplied, the guest module cannot send
    /// requests to any server.
    pub allowed_hosts: Option<Vec<String>>,

    /// Max http concurrency that the guest module configures for the HTTP
    /// client. If none, the guest module uses the default concurrency provided
    /// by the WASM HTTP client module.
    pub http_max_concurrency: Option<u32>,
}

We did intentionally remove support for per-module env vars pending a redesign of how we handle environment variables with the new Bindle support.
The intent is to make bindles the default method of loading modules into Wagi (though we are still planning on supporting modules.toml). But since the bindle is created by the dev team (rather than the ops team), we do not think that we should but the environment variables inside of the bindle.
I think what we need to figure out is how we can pass env vars from the CLI to specific modules. We are still pretty open to coming up with other solutions, though.
In the meantime, I will look to see whether we can simply re-enable the old env var code until we come up with a better way.


Add time interval setting in unit test

:Release Notes:
Add time interval setting in unit test
:Detailed Notes:

Sometimes unit test failure due to time out occurs.
when executing unit test depending on host pc performance.
Added time interval setting when run the unit test to solve the problem.

:Testing Performed:

Pass unit test on ose
Pass eslint
Check time interval setting and test result
3-1. Change default time interval to fail the unit test
3-2. Check to no unit test failure when executing unit test command as like,
$ jasmine --device=ose --ip=123.456.789.10 --timeInterval=12000

:Issues Addressed:
[WRN-2921] Add function to modify default timeout interval

@YoungeunKim
For your verification, you change jasmine.DEFAULT_TIMEOUT_INTERVAL to smaller in spec/helpers/reporter.js.
And then, you execute unit test command adding timeInterval to larger.

Code :+1:
Verified :+1:

Code
Verified
One thing to be modified in commit message :
"jsamine" ->"jasmine"
 $ jsamine --device=ose --ip=123.456.789.10 --timeInterval=12000

Thank you for catching my mistake. I've updated it.


No such module "AnyCodable" on a fresh xcode proj, mac os

Any idea why I'd be getting this error on mac os?

@franzwarning Can you please share some more context about how you got to this point?

Hey @mattt, here's a video:
https://user-images.githubusercontent.com/1596816/218325692-2dca7c83-4e06-4a6d-8614-e4162393205c.mov

@franzwarning Sorry, that video's not loading for me. Could you give me a quick summary of how you're adding this library to your project?

@franzwarning Sorry, but I'm unable to reproduce this. Creating a new project in Xcode 14.2 (14C18), I can import Replicate and AnyCodable and call both without a problem.
Please try upgrading to the latest version of Xcode. If that doesn't work, try removing and re-adding replicate-swift as a package dependency.


Readme example

I'm trying to just run the example in the readme and get the following error:
$ python pyhsmm/examples/hsmm.py
/usr/local/lib/python2.7/site-packages/pybasicbayes/distributions/multinomial.py:21: UserWarning: using slow sample_crp_tablecounts
  warn('using slow sample_crp_tablecounts')
/usr/local/lib/python2.7/site-packages/pybasicbayes/distributions/negativebinomial.py:25: UserWarning: using slow sample_crp_tablecounts
  warn('using slow sample_crp_tablecounts')
/usr/local/lib/python2.7/site-packages/pyhsmm/internals/transitions.py:17: UserWarning: using slow transition counting
  warn('using slow transition counting')

This demo shows the HDP-HSMM in action. Its iterations are slower than those for
the (Sticky-)HDP-HMM, but explicit duration modeling can be a big advantage for
conditioning the prior or for discovering structure in data.

Traceback (most recent call last):
  File "pyhsmm/examples/hsmm.py", line 52, in <module>
    posteriormodel.resample_model()
  File "/usr/local/lib/python2.7/site-packages/pyhsmm/models.py", line 442, in resample_model
    self.resample_states(num_procs=num_procs)
  File "/usr/local/lib/python2.7/site-packages/pyhsmm/models.py", line 467, in resample_states
    s.resample()
  File "/usr/local/lib/python2.7/site-packages/pyhsmm/internals/hsmm_states.py", line 325, in resample
    betal, betastarl = self.messages_backwards()
  File "/usr/local/lib/python2.7/site-packages/pyhsmm/internals/hsmm_states.py", line 503, in messages_backwards
    from pyhsmm.internals.hsmm_messages_interface import messages_backwards_log
ImportError: No module named hsmm_messages_interface

On OSX 10.12.4 with python 2.7.11. I tried building from source and using the pip install and both give the same error.

Got it! I recently upgraded to 10.12.x and it reset my gcc symlink back to clang. Also needed to pip install -e . from source.

I have the same problem on Win10 with python 3.5


Invoice should ignore non-complete shopping/packing items.

Don't add shopping/materials items to an invoice if they are not marked as complete.
These items are often for a later task that still hasn't been completed.

will be released in 0.0.9


DataToolbar: reorganize chip groups in expandable content

This should only affect how chip groups are displayed in the expandable content. They should remain in their own content row when the viewport is wider than the consumer provided breakpoint.

Move all chip groups to the bottom of the expandable content, rather than displaying each of them directly under their associated filter input.

Display chip groups in line and have them wrap as needed, rather than displaying each one as a block element

:tada: This issue has been resolved in version 2.40.10 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


💄 refactor: Landing Page Update

Description
Currently, all the cards and sections are not aligned with their parent elements, resulting in a poor user experience. The design needs to be updated to enhance visual appeal and usability. The following elements need design improvements:

Navbar
Searchbar
Carousel
Featured section
Category section
Product Card

Related Issue
This PR addresses issue #48.
Changes Made

Aligned all cards and sections properly with their parent elements.
Updated the design of the Navbar for better navigation.
Enhanced the Searchbar for improved usability.
Refreshed the Carousel design to make it more engaging.
Redesigned the Featured section for better highlighting of key products.
Improved the layout of the Category section for easier browsing.
Updated the Product Card design for better visual appeal.

To Reproduce
Steps to reproduce the behavior:

Navigate to the home route or visit - Trend Trove

Screenshots
If applicable, add screenshots to help explain your problem.

Testing Instructions

Pull this branch.
Navigate to the home route.
Verify that all elements are aligned properly and the UI changes are visible.

Checklist

[x] Alignment issues fixed.
[x] Navbar design updated.
[x] Searchbar enhanced.
[x] Carousel redesigned.
[x] Featured section improved.
[x] Category section layout updated.
[x] Product Card design refreshed.

Reviewer Notes
There was some responsiveness error with tailwindcss. It can be handled in another issue.

@mdkaifansari04  there are still merge conflicts.Please resolve it 🙂


configure: error: Found Berkeley DB other than 5.1

Got the following error while I installed with bash builder.sh :
configure: error: Found Berkeley DB other than 5.1, required for portable wallets (--with-incompatible-bdb to ignore or --disable-wallet to disable wallet functionality)
make: *** No targets specified and no makefile found.  Stop.
after the error it shows:
finished and can be found in CoinBuilds/Argentum/src/ Make sure you sudo strip Coind and coin-cli if it exists, copy to /usr/bin
But Coind file is missing.
Please help. How to fix?

Use these instructions to build with BDB 5.1.29. Scroll down the page to Berkeley DB. Let me know if you have issues.
https://github.com/argentumproject/argentum/blob/master/doc/build-unix.md


Simplify client doctest with default Runtime::block_on

The client module level doctest benefits from succinctness more than examples/client.rs and the guide. Here I change it to use Runtime::block_on() with the following advantages:

Demonstrates blocking wait for a completed Result<Chunk,Error> which should remain a common pattern outside of fully-asynchronous servers.

Gives a path to reuse the Client, which can now outlive job(s) without hanging

Avoids rt::lazy, from_utf8 and some other unnecessary noise

Below is the rustdoc, example section output without all of the source comment framing:
extern crate hyper;
extern crate tokio;

use std::io::{stdout, Write};
use hyper::Client;
use hyper::rt::{Future, Stream};
use tokio::runtime::Runtime;

fn main() {
    let mut rt = Runtime::new().unwrap();
    let client = Client::new();
    let job = client
        // Make a GET /ip to 'http://httpbin.org'
        .get("http://httpbin.org/ip".parse().unwrap())

        // And then, if the request gets a response...
        .and_then(|res| {
            println!("status: {}", res.status());

            // Concatenate the body stream into a single buffer,
            // returning a new future.
            res.into_body().concat2()
        });

    // Run the job, blocking until it is complete
    let body = rt.block_on(job).unwrap();
    // Write body to stdout
    stdout().write_all(&body).unwrap();
}

Note tokio::runtime::Runtime isn't currently re-exported in hyper::rt. I could add it there instead, if desired, though I wonder about the sustainability of this re-export approach? The tokio::runtime::Runtime::block_on method was released in tokio 0.1.7, so before merging or releasing this, (I or someone) should increase the patch release of tokio in Cargo.toml. Alternatively, tokio::runtime::current_thread is available in tokio 0.1.6, but my impression is that this runtime is less general purpose than the default runtime.
I have some related extensions/changes that I'd like to propose with examples/client and therefore the guide as well, but this doctest is simpler and therefore a good starting point to hopefully get some feedback.

Thanks for the detailed PR, I really appreciated it!
I'm not sure about (but could be convinced otherwise!) having the docs suggesting that you should reach for block_on. In general, you should most often be writing asynchronous code to be async, and to need to spawn into an executor, and so by showing that you can use block_on sometimes, I fear it promotes the wrong idea.
Especially since you can easily think that you could use block_on anywhere, but if you're inside another future already on the executor, you actually can't! It will panic, of course, but we've already taught a user the wrong pattern, and they may then have difficulty fixing it.

Thank you for giving feedback.
Firstly, the use of run as used in the current doctest, will also panic if used in an executor. block_on is just more appropriate for a (doc)test than run, given the potential for a halt or live-lock if the client is not dropped, lazy not used, etc.  I think many users will start using hyper 0.12, as a client in particular, from the context of either a simple main() or unit tests, where block_on remains appropriate.   But I think your point of warning is still valid. Could a block_on example usage be acceptable if it included some more explanation or warning like the following?
//! *Note*: Using `block_on` (or `run`) will panic if used in an executor,
//! since these methods block.  For fully asynchronous client usage, use
//! `spawn` instead.  This `block_on` pattern can be applicable as a starting
//! point, in test code, CLI's, or batch processors.
//! See the guide (link) for a fully asynchronous example using `spawn`.

I have also made PR #1568 which uses spawn (as you suggest) in examples/client. Part of the rationale of using block_on in the doctest, is that its usefully different from the examples/client.  Another useful note in the doctest is to reference the example and/or the associated guide-level walk-through.

I appreciate several of the word clarifications you've made here. However, I actually think the docs should recommend that a user use run or spawn, and not block_on.
As I mentioned in #1568, if the concern is about forgetting to put it in a lazy future, then perhaps it'd be enough to just include a line comment about that above the lazy(|| { line.

I've attempting a better problem statement in #1571. If replacing run in unacceptable, these proposals could be reformulated to just provide the alternatives along side.

I found this PR very helpful, I experienced all pain described in #1571

Thanks for the efforts to improve the documentation, I greatly appreciate it! I'm going to close this for now, and allow discussion to happen in #1571. If we find ways in that issue to improve things, new PRs can always be submitted.


GO:0140132 | iron-sulfur cluster carrier activity

GO:0140132 | iron-sulfur cluster carrier activity
should have parent
GO:0051536 | iron-sulfur cluster binding?

'has part' would be the correct relation.

I added the has_part relationship @pgaudet  indicated between the two terms:
iron-sulfur cluster carrier activity (GO:0140132)
has_part iron-sulfur cluster binding (GO:0051536)


Bed functions - things to check

Two things to check with bed functions:

res$arr_admit[tx_day] <- res$arr_admit[tx_day] + 1 (I think tx_day 1 goes to res time 0 rather than 1, need to check if this is ok)
Create res section (above it is all for 99 days, not 100 days. Does visits based have day 0? I had previously thought this might be fine)

Should it change to 1:dur within this? Would that resolve issue? Is it an issue? It appears that stuff happening on day 1 is being recorded as day 0, but I don't feel certain about this.
Create res
res <- data.frame(time = 0:(dur),
occ = NA,
niq = NA,
arr_admit = 0,
arr_no_admit = 0,
mean_wait = 0)


Questions on Multi-programmed workload, System Emulation mode SPEC

Is gem5art going to release notes on how to run standard workloads like SPEC2k17 or SPEC2k6 using System Emulation mode?
This is because Full System mode takes more time when compared to SE mode.
Also, the tool does not give instruction on running a Multi-programmed workload (Multi-core) using SE mode.
Will, there be near future support on it by this tool?

We do not plan on adding any documentation on running SPEC or multiprogrammed workloads in SE mode. SE mode is not very appropriate for most systems research since it does not correctly model many important elements of system performance (e.g., page table walks, operating systems, etc.). There should be little difference in performance between SE mode and FS mode. You can use features like KVM fast-forwarding or checkpointing to avoid the time to boot linux.

I agree about your argument on FS being better than SE when it comes to most systems research.
But most top conferences(ISCA, HPCA, ASPLOS, PACT, MICRO) accepts SE results and it would help a lot if gem5art does.
Also, as the tool supports FS so heavily, will there be the release of pre-built image and kernel which gem5 supplied and it has been outdated?
Instead of using docker and making images, a simple release of the image and kernel which are pre-tested would be the best.
As most people who do Computer Architecture research lies in EE department and not in CS, so learning docker is just creating hurdles instead of the way previous gem5 developers provided images and kernel

Hi, @AbhishekUoR : As far as updated disk image and kernel are concerned, look at the following post on gem5 mailing list to access them:
<EMAIL_ADDRESS>You might have to update the root/.bashrc (inside that disk image) to make sure that system does not exit after linux boot-up.
Also, the current status of working of different gem5 configurations with different linux kernels can be found at the bottom of the following tutorial:
https://gem5art.readthedocs.io/en/latest/tutorials/boot-tutorial.html

I agree about your argument on FS being better than SE when it comes to most systems research.
But most top conferences(ISCA, HPCA, ASPLOS, PACT, MICRO) accepts SE results and it would help a lot if gem5art does.

Just because it's been accepted in the past doesn't mean it's good research. We need to educate our community on what is reasonable and what isn't in gem5 :).

BTW, gem5art is open source. I would be happy to support SE mode more fully if you want to contribute that! It's unlikely that we will work on it here at UC Davis, though.

Thanks, ayaz91 and powerjg for your help!


Support TextMate as an editor

Hello,
This add Textmate (https://macromates.com/) to the editors list. Its line argument format was already present but not the process name to actually call it : https://github.com/facebook/create-react-app/blob/0f6fc2bc71d78f0dcae67f3f08ce98a42fc0a57c/packages/react-dev-utils/launchEditor.js#L153-L156
Tested on MacOS 10.13.6.

up


python312Packages.tesla-fleet-api: 0.6.1 -> 0.6.2

Diff: https://github.com/Teslemetry/python-tesla-fleet-api/compare/refs/tags/v0.6.1...v0.6.2
Changelog: https://github.com/Teslemetry/python-tesla-fleet-api/releases/tag/v0.6.2
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 323560 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.teslemetry
python311Packages.tesla-fleet-api
python311Packages.tesla-fleet-api.dist
python312Packages.tesla-fleet-api
python312Packages.tesla-fleet-api.dist


Ketch CI integration script

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Chore (documentation addition or typo, file relocation)

Testing

[ ] New tests were added with this PR that prove my fix is effective or that my feature works (describe below this bullet)
[x] This change requires no testing (i.e. documentation update)

Documentation

[x] All added public packages, funcs, and types have been documented with doc comments
[x] I have commented my code, particularly in hard-to-understand areas

Final Checklist:

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

Additional Information (omit if empty)
Please include anything else relevant to this PR that may be useful to know.

About the name of script, should we use generic deploy.sh or specific to ci, ketch-ci.sh. Any other suggestions, @aleksej-paschenko @murphybytes @itsksaurabh?

About the name of script, should we use generic deploy.sh or specific to ci, ketch-ci.sh. Any other suggestions, @aleksej-paschenko @murphybytes @itsksaurabh?

@vivek Yes. I was also thinking of it. Initially I named it ketch-it.sh hehe but changed afterward. ketch-ci.sh looks great to me. :))


Result of intersect() is a set, not a list

Per the API docs, intersect() returns a list; however, in reality, it returns a set.  This makes it impossible to store non-hashable types like dicts with insert().
I forked the repo and changed the set to a list, which otherwise works fine, but sometimes the list contains duplicates.  I presume the set is intended as a way to work around this, but why is this happening and would it be possible to fix at the source?

Yeah I found it problematic too - I defined hash functions for my objects. I guess the lazy way might be return list(set(results)).

Seems like a common scenario I guess. Merged your fork @jpatokal in #14. Tried solving the duplicate problem in the way that @chrisranderson suggested, but calling set() means that the non-hashable objects will still fail. Solved instead via a manual loop and testing for list containment. The reason there are duplicates, may be that an item can span multiple sub-quads or exist right on the border. So non-hashables should work now.

Haha whoops that's embarrassing. Only problem now is that checking for list containment is potentially really slow for large lists, right?

You're right. At first I thought it would be managable, but when I ran benchmark.py on an index with 10,000 items, which before completed in 0.0 seconds, it now took 19 seconds! Currently it's implemented like this:
    uniq = []
    for item in self._intersect(bbox):
        if item not in uniq:
            uniq.append(item)
    return uniq

Maybe creating a temporary set() of id() values, and then doing list containment on that (which should be faster)? Only thing is all those id() calls may be quite slow too.. Any other suggestions?

The benchmark includes items with random spans and thus widespread overlaps between items and across quads, and the query was for a relatively large area. For one test, the list results were ca 6000 and set results ca 1000 (ca 5000 duplicates and lots of containment tests).

Tested the set() of id() idea, and it only slowed it down from the original 0.01 secs, to ca 0.05, which is much much better and absolutely acceptable. Going for that for now.

I tested that hashable types are now supported, @jpatokal and @chrisranderson can you test on your use-cases and see how it goes?

Fixed in new pypi release 1.0.0.


GeoIP2-City-Europe - odd results

Hi there,
we recently purchased the MaxMind GeoIP2-City-Europe database but getting pretty bad results for europe.
We are using the PHP-method (it says installed), but it can't determine my own ip address. Even the other found locations look some kind of odd.

According to this provider, your current location is:
Unknown Refresh
Note: This GeoIP implementation has access to the following types of databases: City, Country.

While the MaxMind Precision Demo correctly determines my location in Germany.
The GeoIP2-City-Europe.mmdb was correctly extracted into the /misc directory using the automatic url download option with the following url:
https://download.maxmind.com/app/geoip_download?edition_id=GeoIP2-City-Europe&suffix=tar.gz&license_key=<key>
What are my options to check if all settings are correct?
Best regards,
Sven

i'm not sure. i don't think we can help you :)
we building our own email server system for inner needs

However I managed to open an issue here - sorry :D


[stable/postgresql] improving consistency between master and slave sts

What this PR does / why we need it:
Improves consistency of the definitions of master and slave
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md

/ok-to-test

Thanks for the contribution @joaocc, please, can you take a look at the failing tests?
https://gubernator.k8s.io/build/kubernetes-jenkins/pr-logs/pull/helm_charts/9272/pull-charts-e2e/16485/

@carrodher bumped and pushed. thx

/lgtm


Is it possible to use  inside pages?

<i18n>
{
  "en": {
    "hello": "hello world!"
  },
  "es": {
    "hello": "Hola"
  }
}
</i18n>

This doesn't work inside pages

Where else would it be used?
Have you read documentation?
https://i18n.nuxtjs.org/per-component-translations

Thanks
i18n: {   vueI18nLoader: true }


put the demo app key in phpunit.xml to allow it to test

fixes #225

32 character random key
php artisan key:generate in Travis

Fixes the travis build

Thanks!


Add imagecodecs to the bundle to open additional tiffs

Description
Motivated by https://forum.image.sc/t/segmentation-pipeline-from-ilastik-to-napari/53986 .  It turns out that we can't open uint32 tiffs exported by Ilastik using our default plugin. Installing imagecodecs fixes the problem and allows them to be opened correctly as labels.

imagecodecs does not provide wheels for apple silicon. I do not have access to such a computer and CI does not provide an option to test this and the thread on zulip is not active for a long time.

we don't even support Big Sur in the bundle yet anyway by nature of using python3.8

The recent release of cibuildwheel allow building apple silicon wheel for python 3.8
https://github.com/pypa/cibuildwheel/pull/704

Hey @Czaki - I think @tlambert03 was saying that imagecodecs not yet providing wheels on M1 doesn't matter for this PR because the bundle itself doesn't support Big Sur, the only OS version available on the M1 chips for now. I'll open an issue to discuss moving to 3.9 for the bundle separately!
We said in a meeting we would try to find some time to build the imagecodecs wheels on M1 together but we never got in contact again - if you drop me a message on zulip proposing a few slots next week that work for you we can try then? 🙂

imagecodecs not yet providing wheels on M1 doesn't matter for this PR because the bundle itself doesn't support Big Sur, the only OS version available on the M1 chips for now

exactly.
As for 3.9, we had been waiting for the 3.9 briefcase support pack to drop.  It's now available, and so is m1 support ... so it might be worth a try updating the bundle.

I don't want to be perceived as opposing to this PR. I think that this PR is a great and should be merged fast. I only would love to signal a problem that I know and may hit in the future.
I can't prevent this problem because I do not have access to proper hardware.
@alisterburt I will write on zulip


[webview_flutter] Azure AD authentication doesn't redirect on iOS

Original issue
"I am using webview_flutter to do Azure AD authentication. It works fine on Android however when testing it on iOS the webview does not redirect and therefore cannot receive the token. If a bad password is entered it will tell you but when login is successful the loading dots show at the top of the device and just hangs there. Not sure if there is some special iOS setting or permissions I need to also implement to get this to work. Any help would be appreciated."
Flutter Doctor
[√] Flutter (Channel stable, 1.22.1, on Microsoft Windows [Version 10.0.19041.630], locale en-US)
    • Flutter version 1.22.1 at C:\Flutter
    • Framework revision f30b7f4db9 (8 weeks ago), 2020-10-08 10:06:30 -0700
    • Engine revision 75bef9f6c8
    • Dart version 2.10.1

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\Eric\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.51.1)
    • VS Code at C:\Users\Eric\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.16.0

I have finished troubleshooting with MS support and ran packet captures which proved that MS is indeed seeing that the authentication was successful on iOS and sends the requested code back to the webview however the webview does not redirect the user to the redirect uri. I can setup an account for you to test with if you want to use the code I provided earlier.
Requesting code from token endpoint

Response from MS

I also found something very interesting, when pasting the authorization url with headers into Chrome it redirects to

However, pasting the url into safari a popup shows in the foreground to download the file instead of loading the redirect uri. I believe this just isn't showing in the webview and it is waiting for a response hence the continuous loading dots at the top.

Code (This will require an AD account in our tenant which I can make for you to test with)
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

//I cannot share this link for security purposes.
final _initialUrl = "This is my Azure AD authentication endpoint";

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Webview Test',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: MyHomePage(title: 'Webview Test'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

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

class _MyHomePageState extends State<MyHomePage> {

  static WebViewController _webViewController;

  @override
  Widget build(BuildContext context) {

    return Scaffold(
      //Builder is wrapped around the webview to allow SnackBar to access the build context of the scaffold.
      // Without this the context would be from AuthLogin which does not contain a scaffold.
      body: Builder(builder: (context) =>
          WebView(
            onWebViewCreated: (WebViewController c) {
              _webViewController = c;
            },
            initialUrl: _initialUrl,
            onPageFinished: _getAuthCode,
            javascriptMode: JavascriptMode.unrestricted,
          ),
      ),
    );
  }

  Future<void> _getAuthCode(String value) async {

    // Wait for the web view to redirect after successful authentication then parse the code from the redirect url.
    // It then uses the code from the previous step to POST to the token endpoint.
    //Check that the web view has loaded the page before continuing
    if (_webViewController != null) {
      value = await _webViewController.currentUrl();
      Uri response = Uri.dataFromString(value);
      print(response.path);
      //Check that the user is past authentication and current URL is the redirect with the code.
      if(response.path == ',https://login.microsoftonline.com/common/oauth2/nativeclient' ) {
        //iOS does not get to this part. Only on android does the webview go to the redirect URI.
        //iOS shows the loading dots at the top of the screen and hangs there indefinitely.
        print("Webview has redirected");

      }
    }
  }

}

Hi @eserna86
Looks like this requires Azure account and client_id? Is there any other way to reproduce this issue? Can you please steps to reproduce this?
Thank you

Like I said I can provide the full initial url and an account for you to test with. Just let me know where to send it as I don't want it visible in a public thread. Assuming this is happening on iOS for any oauth authentication. The steps to reproduce is to paste the code in a new flutter project, run it, log in and see that on android it works fine but iOS you get the loading dots at the top of the screen forever.

I was able to find a work around by changing the redirect uri from the authentication request. I'm sure others will run into similar issues as the webview does not show popup messages like the one shown in the image above. The problem seems to be related to how safari was handling the redirect so I changed it to be a blank page on our website.

Hi @eserna86
Thanks, please don't share your credentials,  labelling this issue, since the code sample should be reproducible for anyone trying to fix the issue

Related to [https://github.com/flutter/flutter/issues/67073]

Relates to [https://github.com/issues/67073]

This is basically the same problem reported here, this issue can be closed.


AnimatedSampler Exhibits Poor Performance on Web

I am having significant performance issues on Web that I think have to do with this issue regarding the performance of toImage in the Flutter framework on CanvasKit. Unfortunately the issue is locked. I can't comment on it and I didn't want to duplicate it. For reference, when using AnimatedSampler the toImageSync call is taking more than 70 milliseconds in release mode while my shader is active making shaders completely unusable for my use case.
Is there a workaround for this?

Yes, that is the correct issue. unfortunately there is no workaround. I would not recommend using AnimatedSampler on the web.

For anyone else facing this issue  --dart-define=BROWSER_IMAGE_DECODING_ENABLED=false seems to improve things.  Also the toImageSync call time is directly proportional to the size of the widget being converted to an image so smaller widgets work ok. Combining these together I'm able to get 30+ fps.

@jonaird sorry, maybe i found the solution? How to use image samplers with web?


Added Status Code: HTTP 451 Unavailable For Legal Reasons

This status code indicates that the server is denying access to the resource as a consequence of a legal demand.
More Details: https://www.mnot.net/blog/2015/12/18/451

Beaten to it :) was reading about 451 this morning and figured I would send a PR.


[getopt-win32] ARM64 support

Describe the pull request

What does your PR fix?
This PR adds arm64-windows  support for getopt-win32

Which triplets are supported/not supported? Have you updated the CI baseline?
yes - removed arm64-windows

Does your PR follow the maintainer guide?
yes

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?
yes
Several ports were not explicit in not supporting ARM64: graphviz, ideviceinstaller, libirecovery. They had getopt-win32 dependency that stopped them failing ARM64 CI. I have changed relevant "supports" attributes to explicitly not support ARM64. I did not increment port versions as there were no changes to actual libraries.

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

Thanks @ras0219-msft  and @Adela0814.  Using CMAKE is a better approach. Hopefully everything is OK now.

Yep, LGTM. Thanks!


Adding media queries and google fonts.

Is your feature request related to a problem? Please describe.
Adding a profile picture in the profile sections [...]
Describe the solution you'd like
so am going to be adding media queries and making the anitab logo background to be transparent.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Permit me to change the font to google fonts'

@j-kon can you be more clear in the description. I don't understand the change you are trying to do. What are the media queries and google fonts for? Is this something that changes UI or improves code quality? If @anitab-org/mentorship-flutter-maintainers including me understand your issue then we can validate and assign this to you :)

@j-kon What do you mean by adding profile picture? We do not have a feature for profile picture setup on backend yet. Also where would you be adding MediaQuerys? Also fyi we are not using any custom fonts in the app yet, we will change the font/UI ones the @anitab-org/design-team comes up with something

So sorry for the late response, a lot has happened. @Techno-Disaster has said changing of the profile picture is not on backend yet.  @isabelcosta Adding google font is more clear and user friendly. I will check the android mentorship app and see what I can add to the flutter mentorship app.


Modeler freezes when moving task with annotation outside of sub-process

What are the steps to reproduce your problem?

create new diagram
add expanded subprocess
add task to that subprocess
add text annotation to that task, but place it out of subprocess
move service task out of subprocess
delete subprocess ---> now connection between task and annotation magically disappers (bug 1)
link existing text annotation to task again.
try to move text annotation -> JS error (bug 2)

See original support ticket.

Closed via https://github.com/bpmn-io/diagram-js/commit/8094d39a24a9c757149945013ed0bdb487ca9fdd


Predict_label on test data

The code runs fine and results as per table 6 of the paper are produced too, though with slight variance. But is there a script to label (possibly using predict_label) the individual texts in test dataset? else, how is evaluation script getting to calculating F-scores?

You may read the paper section 5.2 and the script evaluation.py to understand how the F-scores are computed on test set.

Thanks for the response. But the question was to get the predict_label for each observation text in test file. To be clear, this predict_label is compared with true_label, to arrive at F-score and other confusion matrix. F-score generation and output is being replicated by me but do not get to see which textx are mis-classified to infer results. Please suggest how to get predicted labels for each text in test.txt


Social login.

One of the big items on our usability improvements list is making it easier to create accounts and login with them.
To that end, we'd like to add the ability to create accounts and login using external identity provider services.
Currently, there are a couple of possibilities.
python-social-auth
python-social-auth (after a series of name changes was originally known as djang-social-auth)
Pros:
Already semi-integrated into the site
Cons:
Ugly code
Not very flexible
Last commit from May
django-allauth
Pros:
All in one auth solution
Active development
flexible (for example, for account creation we can range from zero questions when using an external identity provider to however many we want)
Cons:
Have to remove existing auth framework and provide a way to migrate over to the new method
Roll our own:
Pros:
Can get precisely what we want
Cons:
Still would have to remove or modify existing code
huge project
Future maintainability may be difficult

:+1: I think that's best too. I guess the next bit of work may be to figure out these?

how hard is it to switch from django-user-accounts to django-allauth?
is it necessary or worth doing?

I think that it would be the correct thing to do to full switch to django-allauth.  I am currently unsure of the difficulty, though I think that it would mostly lay in maintaining a smooth migration.
I believe that I would like to proceed as follows:
Remove the existing python-social-auth code.  I would even go as far as to say that I would like this to be merged into master prior to proceeding.
Replace django-user-accounts with django-allauth
Impliment social login (which, at this point, should be trivial)
Once again, I'd like to do these as discrete steps, fully merged into master (and probably in prod) before proceeding.  I feel like this would minimize unexpected Gotchas.

All three steps sound good to me! Let's go ahead and make an issue for each of those - I'll let you do the honors, since you made the plan. :)

Okay, now that's done.
I guess that we should decide on which login providers we would like to support.
Would it be better to whitelist or blacklist?
Full listing provided by allauth is here:
https://django-allauth.readthedocs.io/en/latest/installation.html
I think that we should whitelist.  Get the major players (FB, Googles, Twitter, Github), plus I'd suggest Gitlab, openid, persona, dropbox, baidu, bitbucket (both), and cern.

Oh, and, maybe reddit?


switch to codecov

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@39602f4). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #393   +/-   ##
=========================================
  Coverage          ?   89.52%
=========================================
  Files             ?       78
  Lines             ?     1184
  Branches          ?        0
=========================================
  Hits              ?     1060
  Misses            ?      124
  Partials          ?        0

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 39602f4...97a4815. Read the comment docs.

Award adrienmo 100 points

https://neoscan.io/transaction/c18e13de45e8b1ca16b7efc8180056afba8637046c1ae06d6bbfc4279d272d51


⚠ sandbox-api.piste.gouv.fr healthcheck has degraded performance

In fa340d1, sandbox-api.piste.gouv.fr healthcheck (https://sandbox-api.piste.gouv.fr/cassation/judilibre/v1.0/healthcheck) experienced degraded performance:

HTTP code: 200
Response time: 4704 ms

Resolved: sandbox-api.piste.gouv.fr healthcheck performance has improved in 469c25e.


[REGRESSION] Unable to compile TypeScript since 2.9.2

TypeScript Version:  2.9.2 & 3.0.0-dev.20180616

Search Terms: Unable to compile TypeScript, generics, complex return type
Code
export let returnConstant = <T>(arg: T): (() => T) => () => arg;

Expected behavior:
The provided TypeScript code should compile.
Actual behavior:
The TypeScript code does not compile.
In TypeScript 2.9.1, this worked fine.
Since TypeScript 2.9.2 (including 3.0.0-dev.20180616), this will provide a TSError / Unable to compile TypeScript:
Error:(1, 30) TS2304: Cannot find name 'T'.
Error:(1, 33) TS2304: Cannot find name 'arg'.
Error:(1, 61) TS2304: Cannot find name 'arg'.
Error:(1, 36) TS1005: ')' expected.
Error:(1, 39) TS1005: ',' expected.
Error:(1, 40) TS1134: Variable declaration expected.
Error:(1, 42) TS1134: Variable declaration expected.
Error:(1, 52) TS1005: ';' expected.

Playground Link:  Sorry, but the playground has an outdated TypeScript version.
Related Issues:

This would be the equivalent using function syntax
export function returnConstant<T>(arg: T): () => T {
    return () => arg;
}

There's lots of other ways to work around it as well.

I just found this as well.  Here are a few more repro variants.  I don't see a pattern in what triggers it.
/*
This is all OK in 2.9.1 but gives a slew of errors in 3.0.0-dev.20180630, like:

    7: ')' expected.
    7: Variable declaration expected.
    7: ';' expected.
    7: Declaration or statement expected.
    7: '(' expected.
    7: ')' expected.
    8: Identifier expected.
etc

*/

// 11 errors
export const repeatedly = <T>(fn: () => T): (() => IterableIterator<T>) =>
  function*() {
    while (true) yield fn();
  };

// 10 errors
export const repeatedly1 = <T>(fn): (() => IterableIterator<T>) =>
  function*() {
    while (true) yield fn();
  };

// Ok
export const repeatedly2 = <T>(fn: () => T): Function =>
  function*() {
    while (true) yield fn();
  };

// 9 errors
export const repeatedly3 = <T>(fn: () => T): (() => T) =>
  function() {
    return fn();
  };

// 8 errors
export const repeatedly4 = <T>(fn: () => T): (() => T) => () => {
  return fn();
};

// 8 errors
export const repeatedly5 = <T>(fn: () => T): (() => T) => () => fn();

// Ok
export const repeatedly6 = (fn: () => any): (() => any) => () => fn();

// 6 errors
export const repeatedly7 = (fn): (() => any) => () => fn();

// Ok
export const repeatedly8 = (fn: Function): (() => any) => () => fn();

Based on a git bisect (using the above test file), the offending revision appears to be 735a46f838e620.

On further investigation, reverting this line fixes the regression, but breaks the new tests that were added in the revision.
-                return signature.type !== undefined;
+                if (typeHasArrowFunctionBlockingParseError(signature.type)) return false;

That's about as far as I can go with it before taking a vacation to study the parser.

@andy-ms can you take a look as well.

@jvanoostveen, @Erikvv and @gavinpc-mindgrub can you give typescript@next a test tomorrow and let us know if you are still running into issues?

Yes, that compiles in version 3.0.0-dev.20180704.
Thanks @mhegazy and  @andy-ms!

Seems to be in working order again! Thanks.


License?

The main LICENSE file and the github sidebar say the repo is Apache-2.0 license
But there is AGPL code in the repo
It is not at all clear from first blush that the repo contains AGPL code.  Is the AGPL licensing a mistake or is the project license file in error?

The confusion is obvious if you look at the repo:

This is factually incorrect according to the README.  The LICENSE file should be updated to reflect this nuance, otherwise you are (intentionally?) misrepresenting the project license as understood by the tooling and general ecosystem

I talked with @AndrewPrifer and @AriaMinaei a bit about this.
We expose the Apache 2.0 license at the top as it covers the majority of the paths in the monorepo, including @theatre/core, which is the package that the overwhelming majority of people using Theatre.js will end up with in their production code. Not doing so would be more confusing in our opinion because people would have a harder time seeing the most relevant license at a glance. We make it clear just half a page down in the standard License section of the README that we have AGPL licensed code in the repo.
That said, I do understand that seeing Apache 2.0 in the sidebar, and then discovering that it is in fact not the only license in the repo can be frustrating at first sight. I wish GitHub allowed to indicate this nuance more clearly!
We do clearly indicate the licensing in the README and in the LICENSE.
Repos of all kinds often contain material with different licensing. It is common practice to expose a "main" license at the top, otherwise you wouldn't be able to indicate a license which applies to most people. This is exactly why READMEs as a convention include a License heading, under which the licensing is clarified for the different parts of the repo.
We provide all packages that have a different license with their own LICENSE file at their subpath, which all tooling in the NPM/monorepo ecosystem should prioritize when determining licensing. @theatre/studio clearly shows up as AGPL on NPM too.
I hope this clears up somewhat why we chose this convention to indicate our licensing, and if you have any other questions, I'd be glad to answer them!

The honest thing to do is to note which parts are AGPL and which parts are Apache 2 in the license file.  Many projects mix licenses, like Strapi: https://github.com/strapi/strapi/blob/main/LICENSE

All software that resides under an "ee/" directory (the “EE Software”), if that directory exists, is licensed under the license defined in "ee/LICENSE".

All software outside of the above-mentioned directories or restrictions above is available under the "MIT Expat" license as set forth below.

If the goal is to make this project appear to be completely Apache 2.0, the honest thing to do is to move the AGPL bits into a separate repo that can be marked as AGPL.  Otherwise it looks like an attempt to deceive the community.


What to do when the token has expired?

Originally posted by @Dentrax in https://github.com/refined-github/refined-github/issues/5160#issuecomment-990683936

Are there any error messages logged to console when it happens?

Oh, just saw this on the logs: 🙈
The token seems to be incorrect or expired. Update it in the options.

How would we get notified once Refined GitHub token got expired? I think we can add a small icon that indicated this situation. Furthermore, we can add this case in the FAQ section to remind whether token is expired or not. Wdyt? ❤

I'm wary of bothering users with popups and notices, so I'd probably treat an expired token the same way as a missing token: Just show a notice in the console and in the options page.
Now the question is: Are we showing "token is expired" in the options page?
@Dentrax what's in the options page? Were the icons all red?

I'd probably treat an expired token the same way as a missing token

Rather, as an invalid token because a missing token can be determined synchronously but an invalid token needs an API call so it can only be determined after the call is made.

Are we showing "token is expired" in the options page?

If I remember correctly, the text below the field becomes ":no_entry_sign: The token is invalid or expired" as soon as it becomes (or is made) invalid.

@Dentrax what's in the options page? Were the icons all red?

I could not remember much, but probably the icons were red and there was a warning text as @.cheap-glitch said.
Since checking the token whether it is expired or not in the Setings > Extensions > Refined GitHub > Preferences, we had better to move another place to make it more visible to users.
What about turning this blue color to red? Or adding a warning icon left next to the notification icon. Wdyt?

Since checking the token whether it is expired or not in the Setings > Extensions > Refined GitHub > Preferences, we had better to move another place to make it more visible to users.

If you set your token to auto-expire after a certain time, GitHub will notify you in advance via mail anyway, right?

That's right. But it's easy to miss; probably that's how i missed. 🙈

I think an expired token warrants some UI. The difference between a missing token and an expired one is that the user took an action and inputted a valid token at some point, so they want to make use of the token.
How do we show this message without being too much in the way? Maybe we use showToast once every 4 hours at most. To hide the toast, the user can then just remove the token.
This is particularly important now that fine-grained tokens have a mandatory expiration (up to 1 year)

https://github.com/refined-github/refined-github/issues/6092

We're handling this now.

Active actions (e.g. restore-file) will show a popup with an error
The options page shows that the token is invalid
The "Report bug" page shows a banner telling the user to add a token
Soon token-less users won't be able to open issues here: https://github.com/refined-github/refined-github/issues/7231


Initial implementation of http namespace resolver

Added a base generic resolver allowing for decent configuration.
TODOs:

resolve all the small TODOs in code
get the API of testing servers right

which codes are sent in case of which errors?
use json message for complex error reporting?

Resolves #495

Hi Derek, is this the right place for such a pull request? Or shall I submit it at docker/distribution:master branch with your work included?

Yes, here is fine for review. I will ask you to make a new pull request against master when namespaces are merged in

Thank you for implementing to spec. Since this is the first attempt at implementing it, do you see any changes that should be necessary? I had a conversation with @stevvooe before and he suggested possibly having the content of the meta tag look similar to an entry line in the plain text file. WDYT?
Also I think you exposed a need to break up the resolver into CacheResolver, and HTTPResolver, and possibly a RecursiveResolver.  Although ideally the logic for the recursive resolver would work with the mutli resolver implementation, which is attempting to interpret the namespace action.

@dmcgowan So the discovery endpoint would reply with something like:
<meta name="docker-scope-entry" content="example.com push https://registry.example.com/v2/ version=2.0 trim">
<meta name="docker-scope-entry" content="example.com pull https://registry.example.com/v1/ version=1.0">
<meta name="docker-scope-entry" content="example.com push https://registry.mirror.com/v2/ version=2.0">
<meta name="docker-scope-entry" content="example.com pull http://registry.mirror.com/v2/ version=2.0">
<meta name="docker-scope-entry" content="example.com index https://search.mirror.com/v1/ version=1.0">

? It would simplify client's parser a lot. But I'm not sure if tying content's value with local configuration format is a good idea. Local configuration may later have other entries (namespace-less targets, aliases, custom attributes, etc.). Making them same from the beginning may lead to an impression that they are interchangeable. But, for example, I wouldn't want discovery endpoint to define aliases.
So I believe there's a benefig in having tags like docker-registry-push, docker-index, etc., parsing them and ignoring all the others.

Hopefully I've covered your points. But there are some shortcomings to current implementation:

Any failed attempt to contact momentarily unreachable discovery endpoint results in a fail. IMHO there should be a way to tell recursive http resolver to ignore errors occurring on extension namespaces.

No easy way to define recursive http resolver. In tests I do it this way:
  const recursionLimit = 10
  resolvers := make([]Resolver, recursionLimit)
  hr := NewHTTPResolver(&HTTPResolverConfig{Client: newMockHTTPClient()})
  for i := 0; i < recursionLimit; i++ {
      resolvers[i] = hr
  }
  r := NewMultiResolver(resolvers...)

Does it justify an addition of new recursiveResolver in addition to multiResolver?

Thinking...thinking...an additional recursiveResolver may make sense for the reason you specified. Either that or multiResolver should be updated to begin recursion of a namespace element at the current resolver, instead of the next.

I would advocate for the underlying cache implementation to be made generic, such as https://github.com/hashicorp/golang-lru.  The point is that it does not need to be decided here, but the interface and use should be clearly defined.


CSS Issue show year drop down - IE 11

when we try the demo in IE 11, we see the drop down year is not visible clearly. is there any easy way around to fix this in IE 11?

did you figure it out


update readme for cocopods

looks like you integrated cocopods, but did not update the readme

Ok updated, thanks!
For convenience, here it is: Add pod "ZamzamKit" to your Podfile.


The --edit option for transition commands doesn't appear to work

Hello again,
For some reason, if I run something like:
jira done <issue> --edit

then edit the YAML that appears in the editor, the changes I make do not propagate to the ticket, but the client exits successfully. I don't know if this is a template issue or an issue in the code. Can you help with this?
Thanks,
William

Hey, this is likely both a template issue and a jira issue.  In many jira projects the transitions do not allow for any field updates, so the existing templates presume you can do things like edit comments, but that is not actually the case for many default project types.
To find out for user you can run jira transmeta ISSUE-123, the output should have the Done transition and in that transition there should be a fields section that indicates what field updates are allowed during transition.  There may not be a fields section in the case that no fields are allowed to be updated.

I have updated the templates to filter out fields that are not editable during transitions.  By default it looks like most project types do not allow any field updates during transition, so have changed jira to at least force a comment update if not allowed during transition, so this will work now:
jira done --command "stuff got done" <issue>

Not sure if there is anything more we can do here since we are pretty well limited by what the Jira service allows.


Fix compile error with on_boot

Fixes #112

Strange as running this on all the ESPHome versions since it was added, currently on ESPHome 2024.11.3 (latest) and just flashed 8-10 x v2 / v3 plugs last night and compiles fine with the existing yaml format.


[bug]About the HistoryWrapper issue

hi,I ran into a bug while using historyWrapper
ValueError: Observation spaces do not match: Box([-inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf  -inf -inf -inf -inf -inf -inf -inf -inf -inf], [inf inf inf inf inf inf inf inf inf inf inf inf inf inf inf inf inf inf  inf inf inf inf inf], (23,), float32) != Box([-inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf  -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf  -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf  -inf -inf -inf -inf  -1.  -1.  -1.  -1.], [inf inf inf inf inf inf inf inf inf inf inf inf inf inf inf inf inf inf  inf inf inf inf inf inf inf inf inf inf inf inf inf inf inf inf inf inf  inf inf inf inf inf inf inf inf inf inf  1.  1.  1.  1.], (50,), float32)
my observation space is(23,) my action space is (2,) I looked at the source code, this wrapper seems to add my action space to my observation space.could u give me some advice?thank u

Hello,
could you please fill up the issue template completely ? some context is missing...
and yes, you are correct for the history wrapper, best is to look at the source code:
Stack past observations and actions to give an history to the agent.
    :param env:
    :param horizon:Number of steps to keep in the history.

Sorry, I found this problem: I packaged the environment in this training. The bug is caused by loading the Vecnormalize environment that was not historyWrapper wrapper before


PartKepr client?

Hello.
Any news about your project?
What do you think of an Android PartKepr client?
https://github.com/partkeepr/PartKeepr/issues/525
Kind regards

How would you use such functionality? Since it's open source, wouldn't it be better to add a decent mobile-optimized web view? (I haven't heard of PartKepr before, that's why I'm asking these questions.)


Name cannot be used in StrawBerry Shake schemas

Is there an existing issue for this?

[X] I have searched the existing issues

Product
Hot Chocolate
Describe the bug
If your SDL contains any references to the scalar Name the scalar is not recognized.
even when you add this schema extension:
"Defines the serializationType of a scalar"
directive @serializationType(Name: String!) on SCALAR

"Defines the runtimeType of a scalar"
directive @runtimeType(Name: String!) on SCALAR

"Represents a integer value that is greater or equal to 0"
extend scalar Name
@serializationType(Name: "global::System.String")
@runtimeType(Name: "global::System.String")

the code generation fails
Relevant log output
No response
Additional Context?
No response
Version
13.X.X

Why pascal, why?


Windows 1903 Support

Being close to release and the final build in preview, will your script be supporting Windows 1903 soon?

You can pull the "final" version of 19H1 from their servers already, even without being in the insider rings.
Would be nice to have the script support it soon.

I do have a version of Optimize-Offline that is compatible with 1903 but have not had the time to compare the GPO files for it yet, hence why I have delayed releasing it.

Thank you.
Looking forward to it.

Was also looking forward to this, thanks @DrEmpiricism
A side note though as i don't know of other place to make this question: With Windows 10 Insider Preview Build 18317 they separated Search and Cortana, as can be seen here: https://blogs.windows.com/windowsexperience/2019/01/16/announcing-windows-10-insider-preview-build-18317/
I wonder if the process is still the same for both features or if they separated them as well. As we know, removing Cortana breaks the search function, so i was wondering if that's still the case despite that change

Was also looking forward to this, thanks @DrEmpiricism
A side note though as i don't know of other place to make this question: With Windows 10 Insider Preview Build 18317 they separated Search and Cortana, as can be seen here: https://blogs.windows.com/windowsexperience/2019/01/16/announcing-windows-10-insider-preview-build-18317/
I wonder if the process is still the same for both features or if they separated them (as they did with the Start Menu and Explorer Shell). As we know, removing Cortana breaks the search function, so i was wondering if that's still the case despite that change

It says that they're "decoupling Search and Cortana in the Taskbar." That insinuates that they will only be separated aesthetically as opposed to becoming two separate features. If the latter were the case, then undoubtedly Cortana could be removed as a System Application with no adverse affects; however, I find Microsoft doing this highly unlikely.
I will look into, though.

Just an update on this: build 1903 has a very large amount of bugs and crashes, most of which are documented by Microsoft and have either been fixed in later builds or are in the process of being fixed in later builds. Likewise, myself and others have tested this build across various server VMs and have found this build - in its current state - very sketchy at best.
There are quite a few further optimizations that are available to this latest build exclusively, and primarily  many optimizations that remove Microsoft's new "control" features. As such, a fully compatible version of Optimize-Offline will be released when this build has been shown to be stable on the Microsoft Insider forums as well as on our own devices.

@DrEmpiricism
Just want to confirm that we are now cleared to use this on 19h1/1903 build 18362? Saw your current changes to version <IP_ADDRESS> and was wondering.
Thank you

It worked perfectly on my W10UI updated 18632 ISO!!
I have screenshots of everything I did with the script on MyDigitalLife forum in the 'Windows 10 1903 'FINAL' Build 18362.30' thread. I'd link it directly but not sure if that's accepted here.


add template support to the HtmlRenderer

right now the renderer only operates on LicenseBucket[] and the HTML renderer doesn't allow customizing the look and feel at all.
This issue is to extend the renderer with an optional template.
Was thinking of using something like: https://lodash.com/docs/4.17.10#template

I was thinking to do a single template for the whole document. What other files would be in the folder?

Eh, I'm just more familiar with Handlebars being purely a template language instead of JavaScript. But I wouldn't complain if you wanted to try this out with lodash instead; there's some simplicity in that. :)
My thinking around templates actually goes a little beyond HTML: One template could be used for an HTML doc, but there's also a possibility for adding, say, an Android view generator (which would probably involve multiple output files). That's way-far-off brainstorming though; assuming a single file output is totally OK right now.

great. let's go with handlebars


[FLINK-11883] Harmonize the version of maven-shade-plugin

What is the purpose of the change
Currently we're using two version of the maven-shade-plugin which might lead to confusion/collisions. Therefore I would to harmonize the two versions.
Ticket: https://jira.apache.org/jira/browse/FLINK-11883
https://github.com/apache/flink/blob/c4b42b8baed68ac118d9b071a1153088df00e483/pom.xml#L773-L775
Brief change log
Set all the versions of the Maven shade plugin to 3.1.1
Verifying this change
(Please pick either of the following options)
This change is a trivial setting of versions.
This change is already covered by existing tests, such as the full test suite.
Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

We don't use different maven versions in general. The JDK9 profile has a different version to make things compile, but this is at the moment purely a dev profile.
We intentionally did not change the version for the entire project since problems in the shade-plugin are subtle and have to checked carefully.
Due to the above I'm rejecting this PR.
Note: Beyond that the PR is not complete anyway as plenty of modules explicitly define the shade-plugin version as 3.0.0 which all would have to be removed.

Thanks for the explanation @zentol


Passing a JSON string to a custom element in client-side Blazor fails

.NET Core SDK (3.1.100-preview1-014459)
VS 2019 16.4.0 Preview 2.0
Using a web component like Good Map (https://www.webcomponents.org/element/keanulee/good-map) we can simply pass a JSON string for config options into the custom element.
Like this:
https://github.com/thinktecture/blazor-experiments/blob/master/BlazorAppIntegrationDemo/BlazorAppIntegrationDemo/wwwroot/map.html#L21
If using the custom element in a Blazor component like this:
https://github.com/thinktecture/blazor-experiments/blob/master/BlazorAppIntegrationDemo/BlazorAppIntegrationDemo/Pages/Map.razor#L13
... we get an error:

Attaching the Chrome debugger we can clearly see what happened:

The expected behavior would be to get the entire JSON string passed in.
Thanks.
-Christian

@ChristianWeyer thanks for contacting us.
I believe the the attribute is likely being HTML encoded.

Hi @javiercn - will this be changed/fixed? Or how should we handle this?
Thanks!

If you point me at the code (at least at the area where to look for it) I might look at it if there are viable solutions possible.
Thanks @javiercn

@ChristianWeyer I've confirmed this is an encoding problem.
I believe this is by design to protect against XSS, but I'll have a chat with the rest of the team to confirm we are doing the right thing here.
For now, I've confirmed that if you HTML encode things it works. Here is a simple sample

Hello

I believe you need to use double quotes (single quotes is a JS thing, not a JSON thing I believe).

This works, yes.
Thanks @javiercn for the follow-up to check internally!


Enable support of RSA-OAEP encrypt/decrypt-based asymmetric wrapped keyx.

What version did this go into?

For the record, it went into 1.1200.0


EDP BODY PERFUME FOR HER

![Uploading 126500642...]
https://telegra.ph/WOODEN-CAP-07-14

@Faizzz7348 nk


[Linux Plugin Test App] runs in Debug, not AOT

The Linux Dart code runs as expected in debug build, not with AOT.
This issue only affects plugins that select between platform code at build time using pubspec.yaml constructs.
One problematic example:
https://github.com/flutter/plugins/blob/main/packages/path_provider/path_provider/pubspec.yaml#L20
in conjunction with
https://github.com/flutter/plugins/blob/main/packages/path_provider/path_provider_linux/pubspec.yaml#L16
Stuart's proposal is to implement an environmental variable used at flutter build time to select platform.
https://github.com/flutter/flutter/issues/103660

Is this related to this issue i am observing in kirkstone branch: "VM snapshot invalid and could not be inferred from settings."
Same as previously reported issue  https://github.com/jwinarske/meta-flutter/issues/36

@rzr unrelated.  The Dart VM version in Flutter SDK used to build a Flutter application must match Dart VM in engine used.  It's a 1:1 relationship.  You can send arg to VM via command line to skip this check for development scenarios.  See the Dart VM arg list in source.

I have figured this one out.  Staging a fix now.

https://github.com/meta-flutter/meta-flutter/pull/344

This issue is still present for me with Flutter 3.16.7 from https://github.com/meta-flutter/meta-flutter/commit/8e0d313901b7da4d1a2ee434075c34aeb8e35439
and it does not always occur.  VideoPlayer is running fine with the Plugin Implementation from flutter-elinux-plugins , while Camera Plugin shows the bug.
The elinux platform plugin is simply not loaded in release builds of the camera demo app.
I try to update to lates kirkstone version, lets see if it is fixed there.


Double column view

If the screen is wide enough, show two columns worth of verses.

If it is not, maybe allow swiping to the side to show another verse.
As scrolling is simply not workable for someone playing an instrument

the red line for min-width makes no sense, verses could be much tighter
Second verse should roll-up to be side by side as page is scrolled out.
Currently you have to leave the page and come back in order for the verses to re-orient themselves
The last few verses tent to be cut off no matter after song is loaded, have to zoom out to see the whole thing


Switch to font-awesome and add more help links

@captncraig some of the libraries references them so I figured I would just leave them.


Update ClientRpc Hook Example

It appears as though ClientRpcs can cause code to run multiple on the Host instance when hooking to it via Harmony. I updated the example to no-longer hook the GenerateNewLevelClientRpc and instead hook GenerateNewFloor - which is ran by the ClientRpc after the Rpc checks are made.
Also added warning about this behavior.
Minor reformatting of some containers in the article.

this is not strictly related to this PR but could you fix this being IsHost || IsHost instead of IsHost || IsServer

this is not strictly related to this PR but could you fix this being IsHost || IsHost instead of IsHost || IsServer

Added to PR since it's such a small fix that doesn't need it's own PR


Misc fixing

improve status tracking
improve runtime logging set-up
add some colours while watching integrations logs

Really nice!


Virtual foreign keys lost when reopen project

Is your feature request related to a problem? Please describe.
When I reopened the project, the previous created virtual foreign key was lost. So I have to create it again. I created it because I want see the ER diagram.
Describe the solution you'd like
save virtual foreign keys into disk so it can be use later

Do you use the most recent DBeaver version?
Can you reproduce this problem?
Virtual foreign keys (as well as other virtual schema configuration) must be persisted. If it is reproducible then it is a bug.

I use dbeaver <IP_ADDRESS>909221630.
It is easy to reproduce this problem.
You can create two table and then create virtual foreign keys between the two table.Save it,Then reopen the project and you can find the virtual foreign keys lost.

What do you mean under "reopen the project"? Do you work in standalone version of DBeaver or in Eclipse plugin?

I'm sorry I didn't describe it clearly. I'm work in standalone version of DBeaver.

Ok. Then it is still not clear what is "reopen project". We don't have "close/open project" feature in standalone version. Do you mean dbeaver restart? Or table editor close/open?
Does this problem happen if you connect two existing tables? (not new created ones)
I still can't reproduce this issue although I've tried very different use-cases.

I find it is because I use General(the default project) project.If I create virtual foreign keys in my own project, then it will not lost.

Thanks, now I've reproduced that.
But this happens only if I create connection in a custom project by copy-pasting it from General project.

Fixed


Importing from vendor

In Ember-Cli docs it says:
The vendor trees that are provided upon instantiation are available to your dynamic style files. Take the following example (in app/styles/app.scss):
@import "bower_components/foundation/scss/normalize.scss";
This works when using broccoli-sass, but I couldn't get it to work with ember-cli-compass-compiler.
Is it possible? What do I need to do?
Thanks!

You should import the necessary file from your appname.scss. For example for bootstrap sass I do the following:
@import "../../bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap";

Oh.. I was using app.sass
I wonder why the compilation even worked without the vendor imports...
Would be nice to have an error about that on the console, or at least document this (did I miss it?)
Anyway, it works now. Thanks!!


add file rugiraprince md

[x] I wrote my markdown locally on a new branch
[x] My bio file is named exactly the same as my GitHub username
[x] My bio link in the class README opens to my student bio file
[ ] I pulled and merged main into my branch before pushing
[x] I pushed my branch to the class repository and opened a PR
[x] I went through the PR checklist
[ ] All the CI check pass
[x] I assigned a coach to review my PR
[ ] I
linked my PR to this issue

hey @bermarte i tried now but i still have one faults can check for me ?

Run again the scripts, npm run format and the rest. Tomorrow I will have a look at it.

@bermarte now is good thank you

@bermarte @samirm00 may you check before i merge it ?


Build pipeline

Added build pipeline

 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: referencenull sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Usage with browserify

Hello,
really good work with plugin. I have only one question. How to use plugin with browserify. I have installed it via npm with dependencies. Then i required it as:
var MediumInsert = require('medium-editor-insert-plugin'); .
I have also jquery on
window.$ = require('jquery'); but i still get
Uncaught TypeError: $(...).mediumInsert is not a function

I managed to get it work:
`
var MediumEditor = require('medium-editor');
var Handlebars = require('handlebars');
global.jQuery  = require('jquery');
var sortable = require('jquery-sortable');
require('blueimp-file-upload');
require('medium-editor-insert-plugin')(jQuery);
var editor = new MediumEditor('.editable');
$('.editable').mediumInsert({
editor: editor
});
`
But i'm not sure if it's correct way

I made some changes to our UMD setup in v2.3.2. You can check that out. I've also added a page to our documentation regarding webpack: https://github.com/orthes/medium-editor-insert-plugin/wiki/v2.x-Using-with-webpack. It should be helpful also for browserify.
Basically, what you should be able to do now is this:
var MediumEditor = require('medium-editor');
var jQuery = require('jquery');
require('medium-editor-insert-plugin')(jQuery);

Hmm, I have been unable to get it to work in any fashion using webpack or browserify using Laravel Elixir, following the webpack instructions, or these, as close as possible. Version 3.0 seems to be a bit from finalized (it's throwing console errors), how far off do you expect it to be? I was able to get it to upload images, but not much more than that. Should I try using it, ignoring the console errors?


If you provide verbose: true + SSL, you get binary data

If you do a verbose:true request to a SSL host, you get binary junk in your log file.  This can cause your terminal to crash and hang other issues.
Data should only ever be output'd escape, it should never be output'd raw like it currently is.  This can cause bad things like keyboard remapping, etc.

@jmgnc thanks for reporting. I need to check wether thats something Typhoeus or Ethon is doing or if it is printed by libcurl.

an error occurred after an upgrade to

curl 7.51.0 (x86_64-apple-darwin15.5.0) libcurl/7.51.0 OpenSSL/1.0.2j zlib/1.2.5 nghttp2/1.16.1

with older version all be ok

curl 7.43.0 (x86_64-apple-darwin15.0) libcurl/7.43.0 SecureTransport zlib/1.2.5

+1 for this. curl from command line doesn't do that.


Update directives + bug fixes

Jar here with changelog.
I also removed the dependency on apache exec since I was admittedly too lazy to download the jar and add to classpath. This only effects the check for the nginx version, which works on linux, osx and windows from my testing.
The doc generator was deleted too since the nginx website has changed and it removes other build dependencies.
Fixes #28
Fixes #21
Fixes #7
Fixes #15
Fixes #23
Should fix #38 #37 #27 etc. Didn't do anything different, but the build works for me in the latest intellij idea.

@Deadleg what is your jetbrains account? i want to add you to plugin developer list so that you can upload new builds to repo

Deadleg https://plugins.jetbrains.com/space/index?pr=&lg=Deadleg

Try to upload to https://plugins.jetbrains.com/plugin/4415?pr=idea

Uploaded. Just downloaded to my mac and it works. Cheers!


Ignore trailing slashes

@Knorrke suggested to always ignore trailing slashes in the urls.
We need to check first which pages that rely on that trailing slash to display different pages.
(e.g. mathe/ )
Current example
https://de.serlo.org/nachhaltigkeit/ should redirect to https://de.serlo.org/nachhaltigkeit
instead it displays "Page not found".

currently working in new frontend, so can probably be closed.

@elbotho Indeed :+1:


Not getting data

I am using last version of moya and
when i'am trying to get data from specific host with port :8000 it works fine but when i changed to
:8081 it loads too long then failure with "timeout", same thing works fine in Alamofire

Can you post your code?
Sent with GitHawk

Hello, I have basic structure to get data, the thing if i use
URL(string: "http://<IP_ADDRESS>:8000")! as baseUrl everything work fine,
but we
this is production host and for developing host we have
URL(string: "http://<IP_ADDRESS>:8081")!, so everything is the same but
just 8081
you can try yourself, it you still need code I can send
2018-03-20 19:39 GMT+06:00 Bas Broek<EMAIL_ADDRESS>
Can you post your code?
Sent with GitHawk http://githawk.com
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Moya/Moya/issues/1608#issuecomment-374600801, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ATOgPfqbJQF3tBt5R7hl9qxf4iN3K4diks5tgQaogaJpZM4Sx0cz
.

@fragilehm I see that you resolved this issue, do you have any insight for future Moya users who may have a similar problem?


Revert "rubyPackages: update"

This reverts commit e23578703ad5d57bfa1c48db341348e5cdd25b1b.
I updated the ruby packages in https://github.com/NixOS/nixpkgs/pull/216143 but this wasn't needed to fix my issue.
The update breaks rubyPackages.gpgme and there are other update PRs in review. I propose to remove this commit to remove the interference.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Let's see if it will work now.


TextField labelText doesn't get hintTextStyle when labelTextStyle is non-null

Steps to Reproduce

You can have a look at this little reproduction https://dartpad.dev/?id=b401619acd87ab339da95a0c8e216e79&null_safety=true

Expected results:
The documentation for InputDecoration states that a TextField's labelText should get the hintTextStyle applied when the label is sitting on top of the input.
In the reproduction case, I expect the TextField label to be blue while TextField doesn't has focus or value.
Actual results:
labelText gets labelTextStyle values applied even while sitting on top of the input
I also had a quick look into TextField source, and found that in InputDecorator, labelTextStyle is merged into inlineLabelStyle, which explains why the labelText color always prevails. https://github.com/flutter/flutter/blob/f4abaa0735eba4dfd8f33f73363911d63931fe03/packages/flutter/lib/src/material/input_decorator.dart#L2209-L2211
What's moreover, the inlineStyle doesn't seem to be taking hintTextStyle into account at all
https://github.com/flutter/flutter/blob/f4abaa0735eba4dfd8f33f73363911d63931fe03/packages/flutter/lib/src/material/input_decorator.dart#L2106-L2109

Logs

[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19042.1165], locale en-US)
    • Flutter version 2.2.3 at D:\flutter
    • Framework revision f4abaa0735 (7 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\siklo\AppData\Local\Android\Sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = C:\Users\siklo\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Java\jdk1.8.0_211\bin\java
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_211-b12)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • CHROME_EXECUTABLE = C:\Program Files\Google\Chrome\Application\chrome.exe

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] VS Code (version 1.59.0)
    • VS Code at C:\Users\siklo\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.25.0

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 92.0.4515.131
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 92.0.902.73

! Doctor found issues in 1 category.

Hi @jose-landero, Thanks for filing the issue, I am able to reproduce this issue on the latest stable and the master channel. when the text field is not focused and the label and labelstyle is not null the label should take the hint style instead of label style.

code sample
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: () => FocusScope.of(context).unfocus(),
      child: Scaffold(
        appBar: AppBar(
          title: Text('Demo'),
        ),
        body: Column(
          children: [
            Padding(
              padding: EdgeInsets.all(8),
              child: TextFormField(
                decoration: const InputDecoration(
                  labelText: 'Label text',
                  labelStyle: TextStyle(color: Colors.redAccent),
                  hintText: 'Placeholder',
                  hintStyle: TextStyle(color: Colors.blue),
                  border: OutlineInputBorder(),
                  suffixIcon: Icon(
                    Icons.error,
                  ),
                ),
              ),
            ),
          ],
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.5.2 20G95 darwin-arm, locale en-GB)
    • Flutter version 2.2.3 at /Users/mahesh/Documents/flutter
    • Framework revision f4abaa0735 (6 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

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

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

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

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

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

[✓] Connected device (4 available)
    • iPhone 12 Pro Max (mobile) • 5430F628-A903-402C-A635-D55D7E6EEFCA • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 11.5.2
      20G95 darwin-arm
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome
      92.0.4515.131

• No issues found!

[✓] Flutter (Channel master, 2.5.0-7.0.pre.8, on macOS 11.5.2 20G95 darwin-arm, locale en-GB)
    • Flutter version 2.5.0-7.0.pre.8 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 40e8620a27 (7 days ago), 2021-08-06 09:14:50 +0430
    • Engine revision 431ac604da
    • Dart version 2.14.0 (build 2.14.0-383.0.dev)

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

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

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

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

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

[✓] Connected device (4 available)
    • iPhone 12 Pro Max (mobile) • 5430F628-A903-402C-A635-D55D7E6EEFCA • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 11.5.2
      20G95 darwin-arm
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome
      92.0.4515.131

• No issues found!

Hi, @HansMuller I would like to work on the issue. Can you please guide me on this?

Considering the fact that the inlineLabelStyle is used when the text is empty and the input field is not focused, I changed the following line and it failed 2 test cases.
    // Temporary opt-in fix for https://github.com/flutter/flutter/issues/54028
    // Setting TextStyle.height to 1 ensures that the label's height will equal
    // its font size.
    final TextStyle inlineLabelStyle = themeData.fixTextFieldOutlineLabel
      ? inlineStyle.merge(decoration!.hintStyle).copyWith(height: 1)
      : inlineStyle.merge(decoration!.hintStyle);

Failed test cases:

InputDecorationTheme style overrides
InputDecorationTheme labelStyle overrides label widget styles when the widget is a text widget

Hi @varunkamanibosc,  please connect with the maintainers on discord to get some guidance and feedback, Please read this wiki https://github.com/flutter/flutter/wiki/Chat

@justinmc Should we mark this as closed?

Closing this issue as fixed.
Thanks, @varunkamanibosc  @jose-landero  for the contribution.

This is being reverted due to causing more image diff failures than expected, unfortunately: https://github.com/flutter/flutter/pull/90406


Refactor the ETL and Data Transformation Scripts

User story

As a Machine Learning engineer
I want/need to refactor the existing scripts
So that we can fix the bugs and improve performance

Acceptance criteria

Examine the existing scripts in the project

Fix bugs and problems

Upgrade logic and mechanisms

Document all the fixing work and upgrade

Use the Bug report on Github
Show your work with

Performance improvement data
And the number of bugs fixed

Definition of done (DoD)

Bill of Materials in the planning document has been updated
All feature branches have been merged and closed
New feature code has been documented
Potential new licenses have been checked
All GitHub Actions are passing
The requirement.txt is updated

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

already invested SP03, found some minor issues and started a refactoring and documentation of scripts, enhance project structure


Question - nginx gitolite http auth handler for redmine

Hello,
i newly set up a redmine with redmine_git_hosting plugin and gitolite. Our old version was using Apache as HTTP server and there existed an AuthHandler to authenticate HTTP requests against the redmine user database.
As i have not found something similiar for Nginx i wrote a little perl cgi script for this case.
Question: is there any interest for a contribution to this plugin for other people to use? Its not intended for high traffic sites but probably helps some people to set up auth for gitolite in combination with redmine...
Thanks,
Stefan Seide

Assuming this is obsolete

Nice to hear its not needed anymore. But i miss probably something about the new equivalent to the Addon- Installation described here http://redmine-git-hosting.io/how-to/install-addons/ with Nginx instead of Apache.
Can you point me to the documentation to use your "new" way?
Thanks

I haven't been very clear. What I meant that I assume that the original issue is solved, or is too old be relevant.
I don't have any solution to suggest on how to integrate Gitolite and nginx.

Ok - so i was not clear here too it seems.
Are you interested in an Nginx configuration and Authentication helper script similar to the Apache one mentioned above? Than i can provide our config/script. Or are there no people using Redmine together with NGinx, threfore no need for it?

IMHO I am not sure it is necessary. Redmine already gives a browser version of git, and I personally prefer ssh protocol for git itself.
But feel free to post it somewhere, in a blog, or even in this issue, to keep it as a form of archive. Just in case somebody stumble upon it...


Refactor/VendingMachines

This is a new PR, but still related to #17767
Separation of the vendingMachineComponent
Previously, the VendingMachineComponent contained more than 30 fields that were too general and really needed to be separated.
Now, after the separation, there are new components for working with machines, as well as for adding other objects for the future.
Why is this necessary?
First of all, I have plans to add the logic of adding items to a smart refrigerator. Secondly, to remove the possibility for each machine to be contraband or emagged.
New components:

New vending machine component
Description

VendingMachineInventoryComponent
Standart inventory

VendingMachineEjectComponent
Responsible for issuing items

VendingMachineEmpEjectComponent
Responsible for issuing items during the EMP effect

VendingMachineRestockComponent
It is needed to replenish the machines with the help of a pack

VendingMachineVisualStateComponent
Designed for the visual state of the machine

New auxiliary component
Description

BrokeComponent
The component required for the operation of VendingMachine

DispenseOnHitComponent
Parameters for randomly throwing an item with a recharge

Separated data from the general VendingMachineComponent

Separated data
Description

VendingMachineData
A dummy class that combines the general data of vending machines

VendingMachineInventoryTypePrototype
The prototype that is being added to .yaml file of the package of items for machines itself

New systems:

New system
Description

VendingMachineEmaggedSystem
Separation from the main Vending Machine System class for easier configuration in the future

VendingMachineDamageSystem
OnBreak and OnDamage events

VendingMachineEmpSystem
Designed for ejecting objects after the EMP effect

VendingMachinePriceSystem
Counts the entire price inside the machine

VendingMachineSystem
Now this system is designed only to work with inventory

VendingMachineUiSystem
Works with UI events

VendingMachineVisualStateSystem
Visualization of the vending machine depending on the condition

Changelog
:cl:

tweak: NanoTrasen announces that it will improve vending machines in the future!

consider using partial systems for the various VendingMachineSystems. It allows you to specify fewer dependencies and more obviously show that they are linked. It especially helps with code navigation via IDE.

Moved the PR to a new one #18051

consider using partial systems for the various VendingMachineSystems. It allows you to specify fewer dependencies and more obviously show that they are linked. It especially helps with code navigation via IDE.

Thx, it's ready

@0x6273 Hi. Moved the PR here. Or are you no longer interested in this PR?

Somebody, please?
I'm trying to somehow solve the problem with sending RT changes to PR

PR broke (again). Creating a new one with fewer changes


Attaching a photo taken with the fullscreen camera closes the app

https://streamable.com/08vps0

I'm on a Galaxy S10e

This was fixed according to CSab. My branch


(Question) Building native on local OS

Would building the appimage native on a local 20.04 install in any way cut down the size of the appaimge by using existing installed libraries vs additional ones inside the appaimge? I’ve been thinking of including a wine appimage inside DragonOS (based on 20.04) but I’m limited on remaining space I have to play with and still make a distributable ISO.

I've updated repo now appimages have shade quite MBs though you can further cut down size by skipping bundle apt pkgs only keep bash, dash and manually add wine pkgs into AppDir.

Awesome I will check again. The stable 7.0 app image was running all these applications last night.

Thank you for reduced size, I’ll also try the other things you mentioned.


mesa: 20.1.9 -> 20.2.0

I've rebased the patches accordingly and avoided:
meson.build:320: WARNING: Platform surfaceless is now always selected; setting this option will be an error in Mesa 20.3
meson.build:324: WARNING: Platform drm is now automatically selected; setting this option will be an error in Mesa 20.3
This will also fix the list in the configuration summary:
EGL/Vulkan/VL platforms:   x11 surfaceless wayland drm surfaceless drm

Status

[ ] Wait for the first stable release in ~2 weeks: 20.2.1
[x] Build works
[x] Tested r600
[ ] Tested iris
[x] Tested panfrost (thanks @colemickens)

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I have Alacritty running on my Pinebook Pro after building with this commit and launching it with PAN_MESA_DEBUG=gl3 alacritty. I ran out of disk space building for my desktop, however.

It's happening! https://github.com/mesa3d/mesa/releases/tag/mesa-20.2.1