[QUESTION] Global-Setup is failing on the Login / CheckLoggedIn step?

Hello Renata / anyone!
In 1.1 of the Advanced Course, around 4:45 you are explaining that you ran describe.only (Profile - Stored Auth) to show that you are logged in, and with an adjusted expect in profile-page to force a failure.... BUT I am not getting this far. I am getting a failure in the global-setup.ts script - please see image below, let me know if i can provide any more info to help.
This error is frustrating because 'global setup' is a new concept, it didn't feature in the Introduction course and I don't think it was covered in this 1.1 Chapter either? So it would have been good to see how you get to your 4:45 state.
And also, it seems that --ui and --debug doesn't work 'out of the box' for global setup either? I will try the try /catch workaround that i found, but would have been good to cover this Setup scenario if it's so central these exercises - I'm looking forward to progressing with the rest of the content!
Thanks in advance for your help :)
Simon
📸 Screenshots/GIFs/Videos:

I am having the same failure.  I think the process.env.USERNAME and process.env.PASSWORD in globalSetup are not loading the correct values because I ran the test in headless mode, I can see the browser trying to log into the site with my pc's credentials, Not the ones in our .env file.  (Assuming you renamed it from .env-example to .env).

Environment variables that are already set will not be overwritten, that means that the command line variables have a higher priority over all those defined in env files. (https://github.com/kerimdzhanov/dotenv-flow/blob/master/README.md#variables-overwritingpriority).
For me, this fixed it in playwright.config.ts:
require('dotenv').config({ override: true })

Ah thank you for the override guidance, that worked nicely. Soon after posting, once I'd added the trace capability to GlobalSetup and debugged, I could see my machine username being applied instead of the .env entry, and I got by in the meantime by using an alt 'username1' field for the tests.
I should do more reading of the Playwright options - and in hindsight if I'd finished the 1.1 chapter then Global Setup was covered to some extent - just not at the point of the first test being run, and it was frustrating to hit this abrupt failure :)


stepper enhance

default
Step(
    //...
 )

1. labels bottom
Step(
    //...
    isStepperTypeHorizontalBottom: true,
    //...
  )

2. change line midY
Step(
    //...
    isStepperTypeHorizontalBottom: true,
    isStepperTypeHorizontalBottomLineFollowIconMidY: true,
    //...
  )

Let us make flutter better together.

Hey @shang1219178163 - I'm starting to take a look at this PR, but I've noticed that it doesn't currently have any tests. Adding a few good ones for this new functionality will be important :)

thank you very much! I am going to modify。

What is the status of this PR?

I think this is fair to close - it seems abandoned.


[SPARK-24734][SQL] Fix type coercions and nullabilities of nested data types of some functions.

What changes were proposed in this pull request?
We have some functions which need to aware the nullabilities of all children, such as CreateArray, CreateMap, Concat, and so on. Currently we add casts to fix the nullabilities, but the casts might be removed during the optimization phase.
After the discussion, we decided to not add extra casts for just fixing the nullabilities of the nested types, but handle them by functions themselves.
How was this patch tested?
Modified and added some tests.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/636/
Test PASSed.

Merged build finished. Test PASSed.

Test build #92562 has started for PR 21704 at commit d87a8c6.

cc @mn-mikke @gatorsmile @cloud-fan

@ueshin Thanks for bringing this topic! This problem with different nullable/containsNull flags seems to be more generic. In 21687, we've touched a similar problem with CaseWhen and If expression. So I think It would nice if we could think together about a generic and consistent solution for all espressions. WDYT?

@mn-mikke Thanks! I'll take a look and join the discussion later.

Test build #92562 has finished for PR 21704 at commit d87a8c6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92562/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/663/
Test PASSed.

Test build #92598 has started for PR 21704 at commit 30d5aed.

Test build #92598 has finished for PR 21704 at commit 30d5aed.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92598/
Test PASSed.

Note: we will be able to use NonPrimitiveTypeMergingExpression in #21687.

Test build #92750 has started for PR 21704 at commit 3d8891e.

Test build #92756 has started for PR 21704 at commit 444383d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/774/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/777/
Test PASSed.

Test build #92756 has finished for PR 21704 at commit 444383d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92756/
Test FAILed.

Test build #92750 has finished for PR 21704 at commit 3d8891e.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92750/
Test FAILed.

Test build #92805 has started for PR 21704 at commit 2c54e38.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/813/
Test PASSed.

Merged build finished. Test PASSed.

Test build #92805 has finished for PR 21704 at commit 2c54e38.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92805/
Test PASSed.

Test build #92855 has started for PR 21704 at commit db254e5.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/846/
Test PASSed.

Test build #92855 has finished for PR 21704 at commit db254e5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92855/
Test PASSed.

what's still WIP for this PR?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/894/
Test PASSed.

Test build #92922 has started for PR 21704 at commit f701242.

Test build #92922 has finished for PR 21704 at commit f701242.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92922/
Test PASSed.

Test build #92967 has started for PR 21704 at commit 5115961.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/922/
Test PASSed.

Test build #92967 has finished for PR 21704 at commit 5115961.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92967/
Test PASSed.

Test build #93083 has started for PR 21704 at commit e489e8b.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/996/
Test PASSed.

LGTM

Test build #93083 has finished for PR 21704 at commit e489e8b.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds the following public classes (experimental):
abstract class ArraySetLike extends BinaryArrayExpressionWithImplicitCast

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93083/
Test FAILed.

Jenkins, retest this please.

Test build #93087 has started for PR 21704 at commit e489e8b.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/997/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93087/
Test PASSed.

Merged build finished. Test PASSed.

thanks, merging to master!

thanks, merging to master!


Update social tags

[ ] Update Facebook Open Graph tags
[ ] Update Twitter Card tags

Validator: https://dev.twitter.com/docs/cards/validation/validator
Verify with debugger: https://developers.facebook.com/tools/debug/

Added default social images to the assets folder. The link to the image will need to be updated as soon as we have or final URL


tauri-plugin-clipboard change clipboard monitor method to clipboard-master library

Currently clipboard monitoring was achieved by reading clipboard data in JS repeatedly and checking equality. This is not efficient, especially when this happens in browser/JS (single thread) which could slow down the app.
I want to move the hard work to rust, preferably using https://crates.io/crates/clipboard-master

yes the clipboard master library is really good I am implementing it on my own clipboard manager https://github.com/Don-Cryptus/clippy until you have it changed I have to sadly use it with my own implementation

clipboard-master integrated in PR https://github.com/CrossCopy/tauri-plugin-clipboard/issues/8
@don-cryptus


flex component along with django template

I found flex to be very interesting project and I was looking for a way to make it integrate able with django but not as separate server like this where we can proxy flask request to flex.
but what I am looking at is not proxying but more like making  it possible to hook flex component in django rendered template and instead of using tornado I am thinking to use  django channels for server and was think  to create a class based on django channels for PyComponents. More like vue components with out spa. so was thinking would it be possible to do that in flex or it will be a complete separate projects?

That sounds like it would need quite a few changes in Flexx itself. Perhaps it would be best to try this in a fork first? If it's possible to generalize these changes we could consider implementing (some of them) in Flexx itself. What do you think?

yes indeed we should try it in a fork and as for my understanding we will be replacing whole tornado implementation with django channels or with next async django releases and then as for widgets i think we will have to reimplement PyComponent
and can you suggest me good starting point to work on this?

and also with pyscript is it possible to render from server for first time?

If you want to integrate PyWidgets with another class, have a look at app/_component2.py. That code is quite complex. You could also consider wrapping instead of subclassing.
For replacing Tornado, have a look at this base class and this Tornado implementation.

and also with pyscript is it possible to render from server for first time?

You mean to precompile Python code to JS? Sure! See e.g. https://pscript.readthedocs.io/en/latest/api.html#pscript.py2js. You'd have to use the inspect module to get the source lines.

no not generating js  code but actual html as it will be help full for crawlers and search engines

pscript is used to generate JS from Python code. No HTML there.


findClosingCharacter never returns

If you use a comment in your code with bad code in it like
/*UpdateContext(
{
newRoles: Collect( Filter(
'Resource Roles',
!('Resource Category' in oldRoles)
)
}
) */
findClosingCharacter goes into an infinite loop. Only way to resolve is to remove the comment lines from app then rerun build

Thanks @LinkeD365 ! Think I have a fix for it, first version of it seems to work. But need to do some more testing first to see if it works with other cases as well and didn't break anything


:lady_beetle: Save network map target namespace

Issue:
Target network namespace is always the plan target namespace, but it can also be "default"
a. create a plan on namesapce that is not default
b. map a source network to a NAD from the default namespace
expected result:
network mapping is mapped to the default namespace
what happen:
network mapping is mappred to the target namespace

addressed by: #1172
backported to 2.6.2:  https://github.com/kubev2v/forklift-console-plugin/pull/1173


Certbot can't work with spaces between multiple domains

Describe the bug
Hello. Thank you for yor work.
Some little bug in task below (Managed or Standardalone variant).
If use 2 or more domains in default list format, like:
# You can have multiple domains, as a list to request a certificate for.
certbot_domains:
  - site1.com
  - site2.com

or use vars like
# You can have multiple domains, as a list to request a certificate for.
certbot_domains:
 - {{ domains_from_host_vars }}

this line from your task --domain {{ certbot_domains| join(' --domain ') }}   make spaces between domains, its problem. Certbot can't work with spaces between domains.
The command that this task forms: certbot --noninteractive --nginx --agree-tos --email<EMAIL_ADDRESS>--domain site1.com, site2.com
If you try start this command in console, you'll receive an error Requested domain  is not a FQDN because it contains an empty label.
Right command must be witout space between domains:
certbot --noninteractive --nginx --agree-tos --email<EMAIL_ADDRESS>--domain site1.com,site2.com
Playbook
- name: get and install certificates (Managed)
  ansible.builtin.command:
    cmd: |
      certbot --noninteractive
      --{{ certbot_system }}
      --domain {{ certbot_domains| join(' --domain ') }}
      --agree-tos
      --email {{ certbot_email }}
    creates: /etc/letsencrypt/accounts
  when:
    - certbot_ci_mode is not defined
    - certbot_system != "standalone"

Output debug mode
TASK [robertdebock.nginx_certbot : get and install certificates (Managed)] **************************************************************************************************************************
task path: /home/nion/.ansible/roles/robertdebock.nginx_certbot/tasks/main.yml:110
[vps-uk] => {"changed": false, "cmd": ["certbot", "--noninteractive", "--nginx", "--domain", "[site1.com", "site2.com]", "--agree-tos", "--email"<EMAIL_ADDRESS>"--no-redirect"], "delta": null, "end": null, "msg": ******************************
Environment

Control node OS: [e.g. Debian 9] (cat /etc/os-release)

NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
PRETTY_NAME="Manjaro Linux"
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://manjaro.org/"
BUG_REPORT_URL="https://bugs.manjaro.org/"
LOGO=manjarolinux

Control node Ansible version:

ansible [core 2.11.6]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/nion/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.9/site-packages/ansible
  ansible collection location = /home/nion/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.9.7 (default, Oct 10 2021, 15:13:22) [GCC 11.1.0]
  jinja version = 3.0.3
  libyaml = True

Managed node OS: [e.g. CentOS 7] (cat /etc/os-release)

Tried Ubuntu 20.04 LTS, Debian 10. Using nginx in var:
# The certbot can configure either "apache", "haproxy", "nginx" or run "standalone".
certbot_system: nginx

Thanks for the issue; I did not know this, you saved the day!
A new release is coming with this fix inside.

New version released.


Stuck on Connecting to Gatt Server...

Hello,
I tried to read battery level from the battery samples, using the Peripheral Simulator, however after succesfuly pairing my phone, I simply get "Connecting to GATT Server..." without any readings. Thank you in advance! FYI I am using Chrome browser on Windows 10.

I believe this is a problem with the Chrome API. You might want to open a bug at http://crbug.com/new


Skyline: Fixes to translated HTML to match the fixes made to English

Fixed all links to other tutorials to go to translated versions when available

Note that these changes have been posted on the skyline.ms website for testing.

looks good!


Enhance AWS Glue default database does not exist error message on opening session

Why are the changes needed?

When the default databases of glue do not exist, initializing the engine session failed.
Caused by: software.amazon.awssdk.services.glue.model.AccessDeniedException: User: arn:aws:iam::xxxxx:user/vault-token-wap-udp-int-readwrite-1686560253-eVgl3oauuaB7v0V6wX9 is not authorized to perform: glue:GetDatabase on resource: arn:aws:glue:us-east-1:xxxxx:database/default because no identity-based policy allows the glue:GetDatabase action (Service: Glue, Status Code: 400, Request ID: 3f816608-0cb2-467b-9181-05c5bfcd29b3, Extended Request ID: null)

The default initialize sql "SHOW DATABASES" when Kyuubi spark accesses the glue catalog. Try to change the initialize sql "use glue.wap" has the same error.
kyuubi.engine.initialize.sql=use glue.wap
kyuubi.engine.session.initialize.sql=use glue.wap

The root cause is that hive defines a use:database, which will initialize access to the database default.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Thanks, merged to master/1.7


Traveling around the world

I don't know about anybody else, but I feel like I'm traveling around the world every time I run my tests. This is great!
I was wondering if it would be worth including the first paragraph from wikipedia for each timezone so you can learn a bit while waiting for your tests to run.
For example, for Krasnoyarsk, we would pull the first paragraph (all above TOC) from http://en.wikipedia.org/wiki/Krasnoyarsk:

Krasnoyarsk (Russian: Красноярск, IPA: [krəsnɐˈjærsk]) is a city and the administrative center of Krasnoyarsk Krai, Russia, located on the Yenisei River. It is the third largest city in Siberia after Novosibirsk and Omsk, with a population of 973,826 (2010 Census).[8] Krasnoyarsk is an important junction of the Trans-Siberian Railway and one of Russia's largest producers of aluminium.

The city is notable for its nature landscapes; author Anton Chekhov judged Krasnoyarsk to be the most beautiful city in Siberia.[13]

I don't know, thought this might be kind of cool. I don't know how we would do it in an efficient manner. Maybe a second gem that just has these for each timezone? I'd hate to pull it down on every test run.

Check out #11 and let me know what you think please

This is a pretty neat idea, but I think I'm going to bias towards keeping the zonebie gem small and focused. If anyone wants to take a stab at adding hooks or lightweight plugins to zonebie so a hypothetical zonebie-travel or zonebie-wikipedia (e.g.) gem could provide this functionality, I think I'd gladly accept that.

I have just extracted #11 into a gem called zonebie-info. Zonebie was already easily extendable without any extra work

I have just extracted #11 into a gem called zonebie-info. Zonebie was already easily extendable without any extra work

Awesome :sparkles:


if i want employe this work to a new env, what should i do

Thanks for this great work!   I'd like to konw if iwant employe the meta-rl on the new env (such as carla), what should i do

Thank you for the kind words!
To get it to work on a new environment you should:

Create a new environment. For this, you can take inspiration from the Navigation2D environment in this repo. This is a standard gym environment (with seed, reset, and step functions), but also requires two extra functions: sample_tasks(num_tasks) which samples num_tasks tasks, and reset_task(task) which sets the task according to task. sample_tasks returns a list of tasks (dictionaries with task specifications), and reset_task takes a dictionary (task specification) as input.
Register the environment here, to be able to call it with gym.make().
Create a configuration file. You can take inspiration from the 2d-navigation.yaml configuration file. The most important thing in the config file is the env-name (which corresponds to the name you gave your environment when you registered it at the previous step), and env-kwargs if you have extra arguments to pass your environment (if you don't have any, remove the env-kwargs entry).

And you should be able to call train.py on your new configuration file:
python train.py --config new-config.yaml --output-folder new-environment --seed 1 --num-workers 8

The script should detect if your problem has discrete or continuous actions (from action_space in the gym environment you defined), and chose either a Normal or Categorical policy accordingly.
Let me know if that worked for you!

Thanks for  your reply!  I will try it!

Thanks for your reply!  I have some questions about the reset_Wait. When i reset the env, there are alwanys read  time eror.

Can you give me some reason, thanks a lot

Can you give the full traceback of the error? There is no reset_wait function in this repo, do you mean the reset_task function?
It would also be helpful if you could attach the code of your environment here as well.

I'm sorry for reply you so late.
The full error  of my code is
File "/home/rao/桌面/pytorch-maml-rl-master (1)/pytorch-maml-rl-master/maml_rl/samplers/multi_task_sampler.py", line 297, in create_episodes     for item in self.sample_trajectories(params=params):   File "/home/rao/桌面/pytorch-maml-rl-master (1)/pytorch-maml-rl-master/maml_rl/samplers/multi_task_sampler.py", line 308, in sample_trajectories     observations = self.envs.reset()   File "/home/rao/anaconda3/lib/python3.7/site-packages/gym/vector/vector_env.py", line 60, in reset     return self.reset_wait()   File "/home/rao/anaconda3/lib/python3.7/site-packages/gym/vector/sync_vector_env.py", line 64, in reset_wait     observation = env.reset()   File "/home/rao/下载/gym-carla-master/gym_carla/envs/carla_env.py", line 189, in reset     self._clear_all_actors(['sensor.other.collision', 'sensor.lidar.ray_cast', 'sensor.camera.rgb', 'vehicle.*', 'controller.ai.walker', 'walker.*'])   File "/home/rao/下载/gym-carla-master/gym_carla/envs/carla_env.py", line 700, in _clear_all_actors     for actor in self.world.get_actors().filter(actor_filter): RuntimeError: time-out of 50000ms while waiting for the simulator, make sure the simulator is ready and connected to localhost:2000
It should be noted that my code is try to collected a simlator  which is successful in the  init, but run time error in the reset part.
And here is my total env code
`import gym
from gym.spaces import Tuple
from gym.vector.utils.spaces import batch_space
all = ['VectorEnv']
class VectorEnv(gym.Env):
r"""Base class for vectorized environments.
Each observation returned from vectorized environment is a batch of observations
for each sub-environment. And :meth:`step` is also expected to receive a batch of
actions for each sub-environment.

.. note::

    All sub-environments should share the identical observation and action spaces.
    In other words, a vector of multiple different environments is not supported.

Parameters
----------
num_envs : int
    Number of environments in the vectorized environment.

observation_space : `gym.spaces.Space` instance
    Observation space of a single environment.

action_space : `gym.spaces.Space` instance
    Action space of a single environment.
"""
def __init__(self, num_envs, observation_space, action_space):
    super(VectorEnv, self).__init__()
    self.num_envs = num_envs
    self.observation_space = batch_space(observation_space, n=num_envs)
    self.action_space = Tuple((action_space,) * num_envs)

    self.closed = False
    self.viewer = None

    # The observation and action spaces of a single environment are
    # kept in separate properties
    self.single_observation_space = observation_space
    self.single_action_space = action_space

def reset_async(self):
    pass

def reset_wait(self, **kwargs):
    raise NotImplementedError()

def reset(self):
    r"""Reset all sub-environments and return a batch of initial observations.

    Returns
    -------
    observations : sample from `observation_space`
        A batch of observations from the vectorized environment.
    """
    self.reset_async()
    return self.reset_wait()

def step_async(self, actions):
    pass

def step_wait(self, **kwargs):
    raise NotImplementedError()

def step(self, actions):
    r"""Take an action for each sub-environments.

    Parameters
    ----------
    actions : iterable of samples from `action_space`
        List of actions.

    Returns
    -------
    observations : sample from `observation_space`
        A batch of observations from the vectorized environment.

    rewards : `np.ndarray` instance (dtype `np.float_`)
        A vector of rewards from the vectorized environment.

    dones : `np.ndarray` instance (dtype `np.bool_`)
        A vector whose entries indicate whether the episode has ended.

    infos : list of dict
        A list of auxiliary diagnostic information dicts from sub-environments.
    """

    self.step_async(actions)
    return self.step_wait()

def close_extras(self, **kwargs):
    r"""Clean up the extra resources e.g. beyond what's in this base class. """
    raise NotImplementedError()

def close(self, **kwargs):
    r"""Close all sub-environments and release resources.

    It also closes all the existing image viewers, then calls :meth:`close_extras` and set
    :attr:`closed` as ``True``.

    .. warning::

        This function itself does not close the environments, it should be handled
        in :meth:`close_extras`. This is generic for both synchronous and asynchronous
        vectorized environments.

    .. note::

        This will be automatically called when garbage collected or program exited.

    """
    if self.closed:
        return
    if self.viewer is not None:
        self.viewer.close()
    self.close_extras(**kwargs)
    self.closed = True

def seed(self, seeds=None):
    """
    Parameters
    ----------
    seeds : list of int, or int, optional
        Random seed for each individual environment. If `seeds` is a list of
        length `num_envs`, then the items of the list are chosen as random
        seeds. If `seeds` is an int, then each environment uses the random
        seed `seeds + n`, where `n` is the index of the environment (between
        `0` and `num_envs - 1`).
    """
    pass

def __del__(self):
    if not getattr(self, 'closed', True):
        self.close(terminate=True)

def __repr__(self):
    if self.spec is None:
        return '{}({})'.format(self.__class__.__name__, self.num_envs)
    else:
        return '{}({}, {})'.format(self.__class__.__name__, self.spec.id, self.num_envs)

class VectorEnvWrapper(VectorEnv):
r"""Wraps the vectorized environment to allow a modular transformation.
This class is the base class for all wrappers for vectorized environments. The subclass
could override some methods to change the behavior of the original vectorized environment
without touching the original code.

.. note::

    Don't forget to call ``super().__init__(env)`` if the subclass overrides :meth:`__init__`.

"""
def __init__(self, env):
    assert isinstance(env, VectorEnv)
    self.env = env

# explicitly forward the methods defined in VectorEnv
# to self.env (instead of the base class)
def reset_async(self):
    return self.env.reset_async()

def reset_wait(self):
    return self.env.reset_wait()

def step_async(self, actions):
    return self.env.step_async(actions)

def step_wait(self):
    return self.env.step_wait()

def close(self, **kwargs):
    return self.env.close(**kwargs)

def close_extras(self, **kwargs):
    return self.env.close_extras(**kwargs)

def seed(self, seeds=None):
    return self.env.seed(seeds)

# implicitly forward all other methods and attributes to self.env
def __getattr__(self, name):
    if name.startswith('_'):
        raise AttributeError("attempted to get missing private attribute '{}'".format(name))
    return getattr(self.env, name)

@property
def unwrapped(self):
    return self.env.unwrapped

def __repr__(self):
    return '<{}, {}>'.format(self.__class__.__name__, self.env)

`
Thanks  for your reply.

I don't know exactly what the problem can be since I'm not familiar with CARLA, but for these kinds of environments it could be an incompatibility with multiprocessing. I imagine your environment works otherwise (you can initialize it, and call reset/step), so one thing you could try is to use it with a VectorEnv from gym, which is also using multiprocessing, and see if you get a similar error.


Strip out default values from type names in AssociatedValues

When parsing the following Enum:
enum Foo {
    case bar(Int = 1)
}

typeName.name in the AssociatedValue is set to Int = 1, which I'm assuming is semantically incorrect as the default value has nothing to do with a type name.
We can store the default value somewhere else (maybe another property of AssociatedValue?) in another PR if needs be.

          1 Error

:no_entry_sign:
Any changes to library code need a summary in the Changelog.

  Generated by :no_entry_sign: Danger

sweet, thanks for contributing!

@krzysztofzablocki no problem! Will update 👍

@krzysztofzablocki Updated!

great job!


Avoid calling reflect.ValueOf repeatedly

Measurements on how much this helps are a bit inconclusive, but it looks like it's in the 3% range for BenchmarkUnmarshal_MixedData_1-4

@alex,
Looks good. I can go ahead a cut a release if you don't have any more PRs in the works.

Nope, no more in the works. Thanks!


Blog index doesn't convert markdown

Overview
See - https://github.com/frictionlessdata/livemark/issues/144#issuecomment-1176150205

Hi @gabrielbdornas I'm releasing<EMAIL_ADDRESS>with a fix.
It know strips the markdown from the blog description and also provides a blog.description config that you can use in the blog article frontmatter.
The generated blog/index.md needs to be updated:
# Blog

```html markup
{% for item in document.get_plugin('blog').items %}

{{ item.document.name }}

          By {{ item.document.get_plugin('blog').author }}
          on {{ item.document.get_plugin('blog').date }}

      {{ item.document.get_plugin('blog').description }}
      Read more »

{% endfor %}

If you're interested in supporting markdown rendering in blog description let's create a feature request -- in my opinion it's not really needed as a plain text seems to be a standard for article excerpts

@roll! I think it's pretty good. No need to create a feature request. Thanks!


Debian 11 / Raspbian OS, are custom builds & scripts required anymore?

obs-studio from debian 11's repo works out of the box
obs 26.1.2 (although v x.x.2 is a mac only fix...)
https://packages.debian.org/bullseye/libobs0
https://packages.debian.org/bullseye/obs-plugins
https://packages.debian.org/bullseye/obs-studio
this makes the old debian 10/raspbian10 requirements to build for basic x264 streaming & recording obsolete ?
omx is a different thing, in my own testing setting to the h264_omx encoder was worse quality visually with no cpu/hardware benefit
although possibly newer versions -master- branch or the hopeful upcomming 27.2 will have CEF v95 support, may be possible to build obs-browser on raspberrypi then
again my own testing of using an extremely lightweight luakit web browser still very heavy on CPU for a RPI4 overclocked; fancy browser sources might not be reliable for this generation RPI.
a raspberry pi 4b 4gb 32bit review:
25FPS at 720p is possible, depending what you are using CPU for in the background (gaming)
high frame motion will rekt the encoder and suffer with buffering, latency, (render time) encoder overload.
1080p30 is possible, very low expectations to maintain a solid 30fps, it will dip often below 20fps.
i did several full gaming streams and encoder tests along with custom ffmpeg settings.
currently i set the monitor to 50hz and lock the video to 25fps in obs.  this is the best way i can figure to maintain 20-25fps
for example: preset=ultrafast profile=main tune=fastdecode
othernote: i dont use wayland or pipewire.

some extended testing with the supplied packages from debian 11
im considering if compiling your own build results in better performance
i know i had better performance with raspbian 10/debian 10 on my own builds
some tests on things i had used to record/stream previously are now having major frames missed due to rendering lag: 22.5% last test
i was able to play simple dosbox games without encountering major FPS drops reported by obs
this could be the new debian11 and mesa/graphics libraries having issues.
although most of obs is CPU bound.  watching htop and a graph monitor, obs is very heavy when live recording.
sorry, i will need to recompile obs the way i have been and report back for some further testing

going through the whole build script doing custom install
no pipewire
x264-20210814.tar.xz (newer)
ffmpeg 4.3.3 (not n4.5)
obs 26.1.1
very minor performance gain
it is ~2fps gain minimum
stable 23-25fps in my example scene which is very heavy on cpu transitions and transforms and filters.
very minor gain but every tiny amount helps here
i use GALLIUM_HUD=fps+cpu (mesa) for stats
obs preview is disabled, it uses a lot of cpu
1280x720p25
2880Kbps
x264 options:
preset=ultrafast profile=main tune=fastdecode+zerolatency x264-params=threads=6:preset=ultrafast:profile=main:tune=fastdecode+zerolatency:bframes=0:trellis=0:subme=0:scenecut=0:keyint=50:min-keyint:25:nal-hrd=cbr:crf=26:crf-max=32:bitrate=2416k:maxrate=2880k:vbv-maxrate=2880k:vbv-bufsize=3264k:fps=25
Previously: Debian 11 obs-studio 26.1.2+dfsg1-2 armhf
dosbox doom lagged badly (example)
self compile: build script obs 26.1.1
dosbox doom performed and recorded correctly
result:
yes i would say building your own OBS is the better option depending what software you are running or recording
if the game/video is using 90-100% of a pthread (cpu core) you will need better hardware!!!

@arrowgent thanks for spent your spare time for doing this set of benchmarks. As you know, the Pi 4 is still having a limited hardware for OBS but imo would be great using it for some kind of streamings (I found on Twitch some of them related to streets, farms or whatever similar) that Pi would fit better than a PC gig. I hope the release in a future of version 5 of the Raspberry will carry a better graphics hardware support.

yeah its actually amazing that compiling your own from source gains a small performance boost
i was not expecting that
true the rpi4b/400 is not a powerhorse for gaming and streaming simultaneously, very limited CPU
but testing and examples shows us exactly what its capable of and what to expect


JS Size will increase if you include both BS3 and BS4 templates in the code

Don't you think you should use better approach for separate BS3 and BS4 templates?
https://github.com/valor-software/ng2-bootstrap/blob/master/components/carousel/carousel.ts#L13-L32

Unfortunately there no way for now to separate templates from code like in ng1 with $templateCache
But yes, I am aware of this issue and looking for solution


Availability Zones for two nodes ADX cluster

Hello Team,
I have created two nodes azure data explorer cluster. I want to use azure availability zones settings to ensure improved reliability (both availability and resiliency). Since, I am having two nodes cluster, can I choose to place them in 3 zones? Also, how these nodes will be placed from Fault Domain and Update Domain Perspective? What will be the impact/down side when placed in 3 different zones?
To achieve 99.99% VMs up time, shall I choose more than 3 nodes or 2 nodes cluster would suffice the need?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fb0eae58-9545-b31d-19c3-8c5ad4ebc5bf
Version Independent ID: 8c0ba522-cad6-bd73-9691-92e154d4c0f5
Content: Quickstart: Create an Azure Data Explorer cluster & DB
Content Source: data-explorer/create-cluster-database-portal.md
Service: data-explorer
GitHub Login: @orspod
Microsoft Alias: orspodek

"Deployment to availability zones is possible only during cluster creation and can't be modified at a later date." -> you have to decide about AZs earlier.
drawback: atm you can't deploy ADX into a vnet if you choose AZs
you are able to deploy a 2 node ADX cluster into 3 AZs. However only 2AZs will be used. Once you scale out the cluster we will make sure that the nodes are distributed across all chosen AZs.
if you would like to increase availabilty you should create at least 3 nodes and pick 3 AZs.

@cosh thanks for your answer @TechieWorld - thanks for your question. I hope that your question has been addressed to your satisfaction.

"Deployment to availability zones is possible only during cluster creation and can't be modified at a later date." -> you have to decide about AZs earlier.
drawback: atm you can't deploy ADX into a vnet if you choose AZs
you are able to deploy a 2 node ADX cluster into 3 AZs. However only 2AZs will be used. Once you scale out the cluster we will make sure that the nodes are distributed across all chosen AZs.
if you would like to increase availabilty you should create at least 3 nodes and pick

Thank you for prompt reply. BTW, is there any plan to support the VNET along with Zones since this feature is supported when we are creating VMs. Also, can you please let me know how to create the ADX cluster more than 2 Nodes by default, it's creating a two nodes cluster.

@cosh - will you please respond to the additional questions?

we are evaluating the VNet + Zones feature. I can't provide a date.
You can scale out the cluster after deployment or use an ARM template to provide this spec: https://docs.microsoft.com/en-us/azure/templates/microsoft.kusto/2020-02-15/clusters#azuresku-object

@TechieWorld - thanks again for your feedback. I hope we were able to address all your questions.
Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.


Functions to import legacy hardware assets.

This change is

Coverage decreased (-0.4%) to 49.38% when pulling 7558cf683de700867dc4a244ae440f1979aef1f9 on ropable:master into 96132f7a21573ba7599be286797ad8d29316e97c on parksandwildlife:master.


Add proper support for TCP Fast Open in native transport

We currently support to set the TCP_FAST_OPEN ChannelOption in our native epoll transport.  While this is generally good enough for servers it is not good enough for client-side usage. Here we will need to introduce the usage of sendto(...) to replace the usage of connect(...) when TCP_FAST_OPEN is used.
See https://lwn.net/Articles/508865/

Going to take a crack at this today

I'm guessing we'll have to let the channel connect 'optimistically' succeed until data is first sent. Kind of necessary to allow the '0RTT' transmission there.

Now I'm getting all hung up trying to figure out how to handle TCP_FASTOPEN_CONNECT vs TCP_FASTOPEN... there doesn't seem to be any way to test for TCP_FASTOPEN_CONNECT support. I wonder if its worth just replacing the TCP_FASTOPEN_CONNECT functionality with the classic TCP_FASTOPEN? The _CONNECT form seems to just be boilerplate to make workflow with TCP_FASTOPEN easier. Netty users will be blind to the underlying implementation anyways (also, the TCP_FASTOPEN channel open is an Integer types which makes it kind of odd with the client implementation, as there's no threshold).

I've got this far: https://github.com/netty/netty/compare/4.1...colinrgodsey:4.1
Code format clobbered some random things, so need to fix that... plus some other cleanup, and some new tests.

(sorry, just journaling things here...)
Yea, I really think hijacking TCP_FASTOPEN_CONNECT is the best option. There's not actually a socket flag for client fast open anyways, its just a special flag on "sendto". While it's kind of a "lie" that we're not actually using the new TCP_FASTOPEN_CONNECT flag, we are effectively doing the same thing (from what I can tell in the kernel code, the end effects are reasonably identical). So this extends existing functionality without introducing any visible API changes.

Works now, getting through tests.... seems to be some weirdness with LEVEL_TRIGGERED epoll, and one of the connect tests (doesnt like the empty local address)

Alright, so I added client fast open to the epoll permutations and.... lots of things are failing. The normal data transmission pattern stuff works, so thats good (overall write pattern works), but it seems to failing with some of the epoll trigger mechanics and connection mechanics. not surprising about the connection mechanics, this does ultimately change how all of that works. still working through the tests

Alright, so... some things to consider:
a) Should TCP_FASTOPEN_CONNECT be replaced with the more-compatible sendto/sendmsg form.
b) TCP_FASTOPEN_CONNECT doesn't seem to have been in any tests, and it likely exhibits the same behavior issues as the other form, but not sure.
c) Should the behavior changes be considered "expected", and a normal caveat of the feature? (it is after all a stateless connection). These caveats can be handled piecemeal in the Epoll test suite to help further cement which behaviors are expected to be violated.
Personally, I think it's best to leave the fastopen behavior in the epoll permutations, and for each test case that is violated by the fastopen behavior, provide a different EpollSocketTestPermutation that leaves out the fastopen client. That way its searchable and can be used as a definitive source for producing a list of 'caveats' for TCP client fastopen.


SpecializedTinkerVertex "removed" validation

The checks for a "removed" vertex aren't contained in the SpecializedTinkerVertex implementation.

closed via https://github.com/ShiftLeftSecurity/tinkergraph-gremlin/pull/15


ColorFilter.matrix has identity equal to 1 on Web, 255 on Android

Steps to Reproduce
With the following code :
      paint.colorFilter = ColorFilter.matrix([
        1,
        0,
        0,
        0,
        my_color.red.toDouble() / fact,
        0,
        1,
        0,
        0,
        my_color.green.toDouble() / fact,
        0,
        0,
        1,
        0,
        my_color.blue.toDouble() / fact,
        0,
        0,
        0,
        1,
        0,
      ]);

I have to set "fact" to 255 on Web, and "1" on Android to get the same behavior (colorise the black parts of a black/white/transparent picture according to a given color value).  I verified my_color.red.toDouble() is the same value on both targets, so the problem is with the "implicit" column added to the multiplied matrix itself.

Logs
No particularly useful logs.
flutter analyze
Running "flutter pub get" in mariage...                          2 310ms
Analyzing mariage...

   info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: AdminModel.model, AdminModel.onSave -
          lib\admin\adminmodel.dart:63:7 - must_be_immutable
   info - This function has a return type of 'Widget', but doesn't end with a return statement - lib\admin\adminmodel.dart:111:10 - missing_return
   info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: ImageField.controller, ImageField.onFieldSubmitted -
          lib\admin\imagefield.dart:7:7 - must_be_immutable
   info - Use `;` instead of `{}` for empty constructor bodies - lib\admin\imagefield.dart:11:56 - empty_constructor_bodies
   info - Name non-constant identifiers using lowerCamelCase - lib\adminevents.dart:15:10 - non_constant_identifier_names
   info - Avoid empty statements - lib\adminevents.dart:28:7 - empty_statements
   info - Avoid empty statements - lib\adminevents.dart:30:5 - empty_statements
   info - This method overrides a method annotated as '@mustCallSuper' in 'State', but doesn't invoke the overridden method - lib\adminevents.dart:35:8 - must_call_super
   info - The value of the local variable 'invited' isn't used - lib\adminevents.dart:59:19 - unused_local_variable
   info - Name non-constant identifiers using lowerCamelCase - lib\adminevents.dart:60:19 - non_constant_identifier_names
   info - Avoid using braces in interpolation when not needed - lib\adminevents.dart:130:27 - unnecessary_brace_in_string_interps
   info - Avoid using braces in interpolation when not needed - lib\adminevents.dart:130:46 - unnecessary_brace_in_string_interps
   info - Avoid using braces in interpolation when not needed - lib\adminevents.dart:137:36 - unnecessary_brace_in_string_interps
   info - Avoid using braces in interpolation when not needed - lib\adminevents.dart:137:64 - unnecessary_brace_in_string_interps
   info - Avoid using braces in interpolation when not needed - lib\adminevents.dart:137:87 - unnecessary_brace_in_string_interps
   info - Name non-constant identifiers using lowerCamelCase - lib\admingifts.dart:15:10 - non_constant_identifier_names
   info - This method overrides a method annotated as '@mustCallSuper' in 'State', but doesn't invoke the overridden method - lib\admingifts.dart:18:8 - must_call_super
   info - Name non-constant identifiers using lowerCamelCase - lib\admingroupinvites.dart:16:10 - non_constant_identifier_names
   info - This method overrides a method annotated as '@mustCallSuper' in 'State', but doesn't invoke the overridden method - lib\admingroupinvites.dart:19:8 - must_call_super
   info - Unused import: 'model/guest.dart' - lib\admingroups.dart:8:8 - unused_import
   info - Name non-constant identifiers using lowerCamelCase - lib\admingroups.dart:16:10 - non_constant_identifier_names
   info - This method overrides a method annotated as '@mustCallSuper' in 'State', but doesn't invoke the overridden method - lib\admingroups.dart:19:8 - must_call_super
   info - Name non-constant identifiers using lowerCamelCase - lib\adminguests.dart:14:10 - non_constant_identifier_names
   info - This method overrides a method annotated as '@mustCallSuper' in 'State', but doesn't invoke the overridden method - lib\adminguests.dart:17:8 - must_call_super
   info - Name non-constant identifiers using lowerCamelCase - lib\answer.dart:25:10 - non_constant_identifier_names
   info - 'List' is deprecated and shouldn't be used. Use a list literal, [], or the List.filled constructor instead - lib\answer.dart:27:31 - deprecated_member_use
   info - Don't explicitly initialize variables to null - lib\answer.dart:36:12 - avoid_init_to_null
   info - Avoid empty statements - lib\answer.dart:293:33 - empty_statements
   info - Dead code - lib\answer.dart:293:33 - dead_code
   info - Unused import: 'dart:io' - lib\covidgame.dart:1:8 - unused_import
   info - Don't import implementation files from another package - lib\covidgame.dart:8:8 - implementation_imports
   info - Unused import: 'package:google_fonts/google_fonts.dart' - lib\covidgame.dart:9:8 - unused_import
   info - The value of the local variable 'paint' isn't used - lib\covidgame.dart:113:11 - unused_local_variable
   info - Avoid using braces in interpolation when not needed - lib\covidgame.dart:192:22 - unnecessary_brace_in_string_interps
   info - Avoid using braces in interpolation when not needed - lib\covidgame.dart:192:42 - unnecessary_brace_in_string_interps
   info - The value of the field '_mPlayerIsInited' isn't used - lib\covidgame.dart:310:8 - unused_field
   info - This method overrides a method annotated as '@mustCallSuper' in 'State', but doesn't invoke the overridden method - lib\covidgame.dart:313:8 - must_call_super
   info - The member 'notifyListeners' can only be used within 'package:flutter/src/foundation/change_notifier.dart' or a test - lib\covidgame.dart:423:43 - invalid_use_of_visible_for_testing_member
   info - The member 'notifyListeners' can only be used within instance members of subclasses of 'package:flutter/src/foundation/change_notifier.dart' - lib\covidgame.dart:423:43 -
          invalid_use_of_protected_member
   info - The member 'notifyListeners' can only be used within 'package:flutter/src/foundation/change_notifier.dart' or a test - lib\covidgame.dart:480:21 - invalid_use_of_visible_for_testing_member
   info - The member 'notifyListeners' can only be used within instance members of subclasses of 'package:flutter/src/foundation/change_notifier.dart' - lib\covidgame.dart:480:21 -
          invalid_use_of_protected_member
   info - The member 'notifyListeners' can only be used within 'package:flutter/src/foundation/change_notifier.dart' or a test - lib\covidgame.dart:492:19 - invalid_use_of_visible_for_testing_member
   info - The member 'notifyListeners' can only be used within instance members of subclasses of 'package:flutter/src/foundation/change_notifier.dart' - lib\covidgame.dart:492:19 -
          invalid_use_of_protected_member
   info - Unused import: 'package:google_fonts/google_fonts.dart' - lib\games.dart:2:8 - unused_import
   info - Unused import: 'generated/l10n.dart' - lib\games.dart:6:8 - unused_import
   info - Don't import implementation files from another package - lib\generated_plugin_registrant.dart:8:8 - implementation_imports
   info - Avoid using braces in interpolation when not needed - lib\gifts.dart:63:49 - unnecessary_brace_in_string_interps
   info - The declaration '_kMinFlingVelocity' isn't referenced - lib\gifts.dart:161:14 - unused_element
   info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: GiftDetailPage.gift - lib\gifts.dart:260:7 - must_be_immutable
   info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: GridDemoPhotoItem.gift, GridDemoPhotoItem.onChange -
          lib\gifts.dart:357:7 - must_be_immutable
   info - The value of the local variable 'icon' isn't used - lib\gifts.dart:409:20 - unused_local_variable
   info - Name non-constant identifiers using lowerCamelCase - lib\home.dart:58:12 - non_constant_identifier_names
   info - Name non-constant identifiers using lowerCamelCase - lib\home.dart:59:10 - non_constant_identifier_names
   info - Use `;` instead of `{}` for empty constructor bodies - lib\home.dart:91:9 - empty_constructor_bodies
   info - The value of the local variable 'ps' isn't used - lib\home.dart:128:10 - unused_local_variable
   info - Name non-constant identifiers using lowerCamelCase - lib\home.dart:261:14 - non_constant_identifier_names
   info - Name non-constant identifiers using lowerCamelCase - lib\home.dart:329:16 - non_constant_identifier_names
   info - Name non-constant identifiers using lowerCamelCase - lib\home.dart:330:16 - non_constant_identifier_names
   info - Don't explicitly initialize variables to null - lib\home.dart:331:8 - avoid_init_to_null
   info - The value of the field '_reponse' isn't used - lib\home.dart:413:13 - unused_field
   info - The value of the field '_navigation' isn't used - lib\home.dart:414:13 - unused_field
   info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after
          v1.25.0-8.1.pre. - lib\home.dart:568:36 - deprecated_member_use
   info - Name non-constant identifiers using lowerCamelCase - lib\home.dart:667:10 - non_constant_identifier_names
   info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: Loading.status - lib\loading.dart:16:7 - must_be_immutable
   info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: LoadingApp.status - lib\loading.dart:55:7 - must_be_immutable
   info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: MyLoginPage.bad - lib\login.dart:12:7 - must_be_immutable
   info - This method overrides a method annotated as '@mustCallSuper' in 'State', but doesn't invoke the overridden method - lib\login.dart:41:8 - must_call_super
   info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: MyApp.guest, MyApp.bad - lib\main.dart:101:7 -
          must_be_immutable
   info - The library 'package:mariage/model/event.dart' is legacy, and should not be imported into a null safe library - lib\main.mapper.g.dart:6:8 - import_of_legacy_library_into_null_safe
   info - The library 'package:mariage/model/gifts.dart' is legacy, and should not be imported into a null safe library - lib\main.mapper.g.dart:7:8 - import_of_legacy_library_into_null_safe
   info - The library 'package:mariage/model/group.dart' is legacy, and should not be imported into a null safe library - lib\main.mapper.g.dart:8:8 - import_of_legacy_library_into_null_safe
   info - The library 'package:mariage/model/guest.dart' is legacy, and should not be imported into a null safe library - lib\main.mapper.g.dart:9:8 - import_of_legacy_library_into_null_safe
   info - The library 'package:mariage/model/score.dart' is legacy, and should not be imported into a null safe library - lib\main.mapper.g.dart:10:8 - import_of_legacy_library_into_null_safe
   info - The library 'package:mariage/model/event.dart' is legacy, and should not be imported into a null safe library - lib\main.mapper.g.dart:20:8 - import_of_legacy_library_into_null_safe
   info - The library 'package:mariage/model/gifts.dart' is legacy, and should not be imported into a null safe library - lib\main.mapper.g.dart:21:8 - import_of_legacy_library_into_null_safe
   info - The library 'package:mariage/model/group.dart' is legacy, and should not be imported into a null safe library - lib\main.mapper.g.dart:22:8 - import_of_legacy_library_into_null_safe
   info - The library 'package:mariage/model/guest.dart' is legacy, and should not be imported into a null safe library - lib\main.mapper.g.dart:23:8 - import_of_legacy_library_into_null_safe
   info - The library 'package:mariage/model/model.dart' is legacy, and should not be imported into a null safe library - lib\main.mapper.g.dart:24:8 - import_of_legacy_library_into_null_safe
   info - The library 'package:mariage/model/score.dart' is legacy, and should not be imported into a null safe library - lib\main.mapper.g.dart:25:8 - import_of_legacy_library_into_null_safe
   info - Don't import implementation files from another package - lib\model\backend.dart:1:8 - implementation_imports
   info - Don't explicitly initialize variables to null - lib\model\backend.dart:9:16 - avoid_init_to_null
   info - The name JsonProperty is shown, but isn’t used - lib\model\event.dart:4:40 - unused_shown_name
   info - Name non-constant identifiers using lowerCamelCase - lib\model\event.dart:15:7 - non_constant_identifier_names
   info - Name non-constant identifiers using lowerCamelCase - lib\model\event.dart:17:49 - non_constant_identifier_names
   info - The value of the local variable 'm' isn't used - lib\model\event.dart:160:9 - unused_local_variable
   info - The value of the local variable 'response' isn't used - lib\model\event.dart:221:24 - unused_local_variable
   info - The value of the local variable 'response' isn't used - lib\model\event.dart:224:24 - unused_local_variable
   info - Unnecessary cast - lib\model\event.dart:230:30 - unnecessary_cast
   info - The name SerializationOptions is shown, but isn’t used - lib\model\gifts.dart:5:36 - unused_shown_name
   info - 'List' is deprecated and shouldn't be used. Use a list literal, [], or the List.filled constructor instead - lib\model\gifts.dart:122:24 - deprecated_member_use
   info - 'List' is deprecated and shouldn't be used. Use a list literal, [], or the List.filled constructor instead - lib\model\gifts.dart:152:24 - deprecated_member_use
   info - The value of the local variable 'response' isn't used - lib\model\gifts.dart:224:22 - unused_local_variable
   info - 'List' is deprecated and shouldn't be used. Use a list literal, [], or the List.filled constructor instead - lib\model\group.dart:50:25 - deprecated_member_use
   info - The value of the local variable 'events' isn't used - lib\model\group.dart:84:17 - unused_local_variable
   info - Unnecessary cast - lib\model\group.dart:270:30 - unnecessary_cast
   info - The name JsonProperty is shown, but isn’t used - lib\model\guest.dart:5:40 - unused_shown_name
   info - 'List' is deprecated and shouldn't be used. Use a list literal, [], or the List.filled constructor instead - lib\model\guest.dart:161:25 - deprecated_member_use
   info - The value of the local variable 'response' isn't used - lib\model\model.dart:20:22 - unused_local_variable
   info - Unnecessary cast - lib\model\score.dart:78:30 - unnecessary_cast

99 issues found. (ran in 17.8s)

flutter doctor -v
[√] Flutter (Channel stable, 2.0.5, on Microsoft Windows [version 10.0.19043.964], locale fr-BE)
    • Flutter version 2.0.5 at C:\src\flutter
    • Framework revision adc687823a (3 weeks ago), 2021-04-16 09:40:20 -0700
    • Engine revision b09f014e96
    • Dart version 2.12.3

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\Tom Barbette\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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.6842174)

[√] VS Code (version 1.55.2)
    • VS Code at C:\Users\Tom Barbette\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.22.0

[√] Connected device (3 available)
    • Redmi Note 8 Pro (mobile) • u4s4pftouo598drw • android-arm64  • Android 10 (API 29)
    • Chrome (web)              • chrome           • web-javascript • Google Chrome 90.0.4430.93
    • Edge (web)                • edge             • web-javascript • Microsoft Edge 90.0.818.51

! Doctor found issues in 1 category.

Hi @tbarbette
Can you please provide a minimal complete reproducible code sample?
Thank you

main.dart:
import 'dart:async';

import 'package:flutter/material.dart';
import 'dart:ui' as ui;

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

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

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

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

class MyPainter extends CustomPainter {
  ui.Image image;

  MyPainter(this.image);

  @override
  void paint(Canvas canvas, Size size) {
    final paint = Paint();
    Color my_color = Colors.red;
    double fact = 1;
    paint.colorFilter = ColorFilter.matrix([
      1,
      0,
      0,
      0,
      my_color.red.toDouble() / fact,
      0,
      1,
      0,
      0,
      my_color.green.toDouble() / fact,
      0,
      0,
      1,
      0,
      my_color.blue.toDouble() / fact,
      0,
      0,
      0,
      1,
      0,
    ]);

    canvas.drawImage(image, Offset.zero, paint);
  }

  @override
  bool shouldRepaint(covariant CustomPainter oldDelegate) {
    return true;
  }

}

class _MyHomePageState extends State<MyHomePage> {

  Future<ui.Image> getImage(String path) async {
    Completer<ImageInfo> completer = Completer();
    var img = new NetworkImage(path);
    img.resolve(ImageConfiguration()).addListener(ImageStreamListener((ImageInfo info,bool _){
      completer.complete(info);
    }));
    ImageInfo imageInfo = await completer.future;
    return imageInfo.image;
  }

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also a layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Invoke "debug painting" (press "p" in the console, choose the
          // "Toggle Debug Paint" action from the Flutter Inspector in Android
          // Studio, or the "Toggle Debug Paint" command in Visual Studio Code)
          // to see the wireframe for each widget.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            FutureBuilder(
              future: getImage("https://picsum.photos/id/1/200/300"),
            builder: (context, snapshot) {
                if (!snapshot.hasData)
                  return Container();
                  final ui.Image image = snapshot.data;
                  return CustomPaint(painter: MyPainter(image),
                  child:SizedBox(width:300,height:200));
            }),
          ],
        ),
      ),
    );
  }
}

With fact = 1;
Android:

Web:

With fact=255:
Android:

Web:

As per the documentation definition, the column should be a value from 0 to 255 so Android has the correct behavior, not android. The intended render is the redish one.

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.6, on macOS 11.2.3 20D91 darwin-x64, locale en-AO)
    • Flutter version 2.0.6 at /Users/pedromassango/Code/flutter_stable
    • Framework revision 1d9032c7e1 (6 days ago), 2021-04-29 17:37:58 -0700
    • Engine revision 05e680e202
    • Dart version 2.12.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/pedromassango/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 4.1)
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 56.0.5
    • Dart plugin version 211.7233

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

[✓] Connected device (3 available)
    • Redmi 5 Plus (mobile) • 0258ff700005 • android-arm64  • Android 8.1.0 (API 27)
    • macOS (desktop)       • macos        • darwin-x64     • macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)          • chrome       • web-javascript • Google Chrome 90.0.4430.93

• No issues found!

[✓] Flutter (Channel master, 2.3.0-1.0.pre.229, on macOS 11.2.3 20D91 darwin-x64, locale en-AO)
    • Flutter version 2.3.0-1.0.pre.229 at /Users/pedromassango/Code/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 14d5eab43c (2 hours ago), 2021-05-05 21:51:53 -0700
    • Engine revision 378e4dbc41
    • Dart version 2.14.0 (build 2.14.0-48.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/pedromassango/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 4.1)
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 56.0.5
    • Dart plugin version 211.7233

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

[✓] Connected device (3 available)
    • Redmi 5 Plus (mobile) • 0258ff700005 • android-arm64  • Android 8.1.0 (API 27)
    • macOS (desktop)       • macos        • darwin-x64     • macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)          • chrome       • web-javascript • Google Chrome 90.0.4430.93

• No issues found!

This has been fixed.


Use chromium for karma tests

What am I trying to accomplish
Provide a Chromium binary for front-end projects to run karma tests with when running in Codespaces or other environments where chrome browser is not necessarily installed.
Part of https://github.com/github/web-systems/issues/162 (see that issue for more info)
What approach did I take?
I installed and configured the chromium npm package for use with karma tests.

Note tests currently failing running chromium in Codespaces


:bug: Using Int for response code should validate

The underlying schema validation library fails when validating response
with a numeric status code as defined by YAML. This roundtrips the
loaded yaml to and from JSON to provide the validator library with
expected valid json input.

Closing in favor of #30


init_with_n_elements fills in the front, not the back

When using init_with_n_elements and not using a minimum value, the properties that are filled in end up at the end, rather than the beginning. This is counter-intuitive.
It would be helpful to have collection-offset default to elements.length rather than 0.
354             // initializes the collection with a minimal number of elements
355             if (isInitialization) {
356                 collection.data('collection-offset', elements.length);

I am happy to submit a PR if this makes sense.

Hello,
Yes it makes sense, please feel free to throw a PR 👍
Thanks mate,
Alain


small doc typo

hello,
in the godoc, i found:
"LastInsertId teturn last inserted ID."
i guess this is supposed to be:
"LastInsertId return last inserted ID."
really great package! thanks,
cheers

Closed by #735


CloudFront 403 error

Hey @phillhocking, first of all, thank you for such a great repo.
I'm learning about how to create a CDN with CloudFront for my own Ghost site with Terraform, so I was looking into how you made it work. There's a variable named cloudfront_glue which I am not sure what value it should take.
So far I am facing the following error when hitting my site:
403 ERROR

The request could not be satisfied.

Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.

If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.

Oh hi there @felipecruz91 thanks for opening an issue on my project!
Because Lightsail is such a new AWS service offering, you can only instantiate DNS entry values on resources in the us-east-1 region. Because I use us-west-2 for all of my AWS deployments, I had to do something that is kind of hacky and certainly isn't a best practice as a workaround.
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-create-dns-entry
The cloudfront_glue record is an A record hosted in DNS outside of AWS/Route 53 because they require an 'externally hosted zone' as a 'custom origin' for a Cloudfront distribution.
The way I accomplished this was by creating an A record in Google Domains that matched the IP address of the Lightsail instance instantiated by Terraform.
I know this kind of creates a 'chicken and egg' scenario which is unfortunate... I am hoping that they allow Lightsail instances to have DNS attributes in all regions soon!
Let me know if you need any further help or if you want me to set up a call to help you through it, and let me know when you are successfully up and running so I can close the issue. Thanks!


Cannot upload a file that i just downloaded from influxdb

I used this to get the data into test1.txt
curl -G 'http://localhost:8086/query' --data-binary “db=my_db_get" --data-urlencode "q=select * from \”original_test" limit 1">test1.txt
Same file i try to upload to another db, but fails with the below error
curl -i -XPOST 'http://localhost:8086/write?db=my_db_post' --data-binary @test1.txt
{"error":"unable to parse '{"results":[{"series":[{"name":"sample.technology.change","columns":["time","host","value"],"values":[["2016-04-29T17:05:27Z","srt1.tre.ret",0]]}]}]}': missing tag value"}
It all used to be json wonder why we have to now use .txt files?

@gitvegas The output of queries is in JSON format, but input data must be formatted using our line protocol:
http://docs.influxdata.com/influxdb/v0.12/write_protocols/line/
We made this switch about a year ago (in the v0.9.x versions) and officially removed the JSON input a few months ago.

Thanks for your response, i really need your help here. I have large amounts of data in my_db. I want to split this into multiple dbs with in influx. How can i do this quickly.
I thought i query/download from one and quickly upload to another. But now this format differences is blocking me. Please help.
From: Todd Persen<EMAIL_ADDRESS>To: influxdata/influxdb<EMAIL_ADDRESS>Cc: gitvegas<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Sent: Saturday, April 30, 2016 9:35 AM
Subject: Re: [influxdata/influxdb] Cannot upload a file that i just downloaded from influxdb (#6521)
@gitvegas The output of queries is in JSON format, but input data must be formatted using our line protocol:
http://docs.influxdata.com/influxdb/v0.12/write_protocols/line/We made this switch about a year ago (in the v0.9.x versions) and officially removed the JSON input a few months ago.—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

Your Help is really appreciated! Please tell me how can i split my data in my_db into multiple dbs (with in influx) my_db1, my_db2, my_db3........my_db100. I have to do this else Grafana is choking.


Feature Request: Auto Shutdown Option

I’d like to request a feature for the Twitch Drops Miner. Could you add a toggle in the settings for an auto shutdown option? The idea is to close or shut down the app automatically if the console outputs:

No active campaigns to mine drops for. Waiting for an active campaign...

This would help conserve resources, especially since I have the app set to autostart with my PC. Currently, the app can remain idle for hours when there’s nothing to mine, which isn’t ideal.
To avoid immediate shutdown upon opening the app when there’s no campaign, a timeout feature would be helpful. For example, an option to auto shutdown after 10 minutes of inactivity would strike a good balance.
Thank you for considering this!

Hello,

Currently, the app can remain idle for hours when there’s nothing to mine, which isn’t ideal.

Why not ideal though? There's nothing happening in the idle state, besides the maintenance task counting down on it's timer. CPU usage should remain very close to none. And memory usage is low enough, that it doesn't matter for definite most of today's PCs and laptops.

To avoid immediate shutdown upon opening the app when there’s no campaign, a timeout feature would be helpful. For example, an option to auto shutdown after 10 minutes of inactivity would strike a good balance.

This makes no sense, as it'd always activate after 10 minutes, because the maintenance task is the only thing governing when the miner will attempt mining again, and it's triggered once every hour. This is because Twitch has disabled the "UPCOMING" campaigns from showing up with their status, so the miner can no longer predict campaign start times beforehand, so reloads are almost always close to one hour apart.
Overall, I see not much need for a feature like this. I can see an argument for the 100-200 MB of memory the miner takes when running, and an under-average machine having 1-2 GB of memory, and that being a problem, but even then, CPU usage is almost none during idle state, and the extra memory usage doesn't feel like would be worth my time implementing all the logic needed for this.
Even so, I'm leaving this open for discussion, in case other people would somehow find this a feature they'd find a use for.

Just my two cents of feedback, but I see no issue with the miner running constantly. On my PC it runs for weeks at a time - basically any time the PC is on, and I launch it right after rebooting for updates and such. The memory/resource footprint is so small it's unnoticeable to me, so even if such option was implemented I'd never use it personally.

I don't see the need for this kind of feature.
The entire point behind this program (for me) is to set it and forget it. If I have to keep tabs on drops and constantly run it to mine things, it defeats the entire purpose. Closing the program manually if you're resource starved isn't a big deal. Time and effort put elsewhere would be more valuable.


change keyboard layout breaks input controlling

Steps to Reproduce
tested on flutter desktop 'Windows' app
when selecting a text field and type in English, all things is good
Issue: but when switching keyboard layout to Arabic(Egypt) i have the following,

backspace dont work
every control option dont work; ctrl+a, ctrl+c, ctrl+v, ctrl+x
arrow keys dont work

the really bad thing that text field dont work even if switched back to English(us).
windows 11 pro 22000.132 (beta channel)
flutter doctor -v

[✓] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.22000.132], locale en-US)
• Flutter version 2.2.3 at C:\Users\abdua.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 30.0.3)
• Android SDK at C:\Users\abdua.android_sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_SDK_ROOT = C:\Users\abdua.android_sdk
• Java binary at: C:\Program Files\Java\jdk-11.0.11\bin\java
• Java version Java(TM) SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.0)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.11.31605.320
• Windows 10 SDK version 10.0.19041.0
[!] 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, 64-bit edition (version 1.59.0)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 3.25.0
[✓] Connected device (3 available)
• Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22000.132]
• Chrome (web)      • chrome  • web-javascript • Google Chrome 92.0.4515.159
• Edge (web)        • edge    • web-javascript • Microsoft Edge 92.0.902.73
! Doctor found issues in 1 category.

@abdurrahman-adel
There was a similar issue reported and fixed, https://github.com/flutter/flutter/issues/73377
Can you try by switching to latest master and check if you still get the same behavior or not ?

i think im already in master branch stable channel => flutter upgrade

Flutter is already up to date on channel stable
Flutter 2.2.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f4abaa0735 (7 weeks ago) • 2021-07-01 12:46:11 -0700
Engine • revision 241c87ad80
Tools • Dart 2.13.4

did u mean to switch windows itself to an stable version? i didn't get it

@abdurrahman-adel
No, I meant to switch to Flutter's latest master channel and try again to see if issue still persists.
flutter channel master
flutter upgrade

@darshankawar
wow, it is working as expected now.
thx

Closing this as fixed based on above comment.


Upgrade NAC package version 1.1.1.t-r2 to new version 1.1.1u-r1

The Openssl package name has changed in Alpine 3.16 and as a result the build is failing for the NACs server
As an engineer I need to update the existing package version from 1.1.1.t-r2 to the new version 1.1.1u-r1 which will ensure the build starts working again and stops failing
This ticket is linked with the work being carried out in ticket 63
https://github.com/ministryofjustice/network-access-control-server
https://pkgs.alpinelinux.org/packages?name=openssl&branch=v3.16&repo=main&arch=x86_64&maintainer=

completed local build with the openssl version 1.1.1u-r1  all test passed successfully. PR raised will roll in to prod

Production build has completed with the new version of openssl.


make fail

Thanos, Prometheus and Golang version used
thanos version: master a7d1ef827d09
prometheus version: 2.3.2
golang version: 1.10

What happened
execute "make" fail

What you expected to happen
build success
How to reproduce it (as minimally and precisely as possible):
Full logs to relevant components

Anything else we need to know
change to 0.1.0-rc.2
build success

https://github.com/improbable-eng/thanos/pull/460 should help you.
I think you need to poke dep to actually do something. You can do it by doing changing gopkg.toml file in any form. (:  (add comment or space etc)

Should work now, let me know if you can repro


less compilation is really slow

might be nice to check deeper into the problem, fork less repo etc
v4 have the same performances issues than v2.7

nothing can really be done here aside rewritting lessc


Allow rules to reference actions in packages.

Fixes #239.
This required some refactoring of the entitlement path which allowed for consolidation of entitlement checks on referenced entities.
PG2/613 and PG1/882.

how squashed do you want this?

Merged as 12ae1dbaf9bb4626086dfd4b2476de01b70fdf47...2c7174eb063a436d7f8447911cf3b547c2819f29


translate filter support for I18n interpolation

First of all, thanks for awesome gem. Saved me a lot of time.
I needed a translate filter that'd accept an arbitrary hash and pass it over to Rails' translate, so that interpolation would work. This PR contains a working implementation.
I'd further suggest removing scope and locale from explicit function params and make everything work as hash: this way interpolation could be used without having to explicitly specifly scope and locale on every translation that needs interpolation vars. But this is a deeper change and I didn't want to change the api in backwards-incompatible way.

Coverage increased (+0.03%) to 86.36% when pulling a342654e51f656581e46b88b9b7241276aaa5da7 on tomash:translate-with-interpolation into 199f7b000704522f2381e1ce55de30b15cee1fea on yoolk:master.

Thanks for this PR. I agree to remove scope and locale.

All right, will do!

I'll close this PR now. I just implemented it on the master branch, https://github.com/yoolk/liquid-rails/commit/dfcf37ad33789487cfdb5eb304da4bc6abf46091.


keras callbacks does not seem to work by import

imported by from keras.callbacks import Plotter
when I use callbacks in .fit()
model.fit(data, label, batch_size=32, nb_epoch=100, shuffle=True, validation_split=0.2, callbacks=[Plotter(show_plot_window=False, save_to_filepath="/tmp/last_plot.png")])

it's got ImportError who know why is it?
I will be appreciate.

Hi, there is no Plotter in keras, I don't find it, you can import Plotter from you dir, and create
plotter = Plotter(show_plot_window=False, save_to_filepath="/tmp/last_plot.png"), and then
model.fit(data, label, batch_size=32, nb_epoch=100, shuffle=True, validation_split=0.2, callbacks=[plotter])
```.
Try it~~


Update demo config

Description
I know it is only a demo configuration, but having a setting that is definitely not correct for a kubernetes statefulset confused me.
Issues Resolved
Closes: #22
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@TheAlgo @DandyDeveloper Please review this PR whether it is better to remove due to it is not safe as @smlx described for demo purposes.
Thanks.

Because these values are merged with any values passed to the chart, max_local_storage_nodes: 3 will be set by default unless it is explicitly overridden.

@TheAlgo I'm confused on why we had this value there in the first place?
Even k8s dev clusters (minikube etc) provision based on an SC in their own unique directly. I agree on removing this.
It's a deprecated setting anyway.
LGTM.

@TheAlgo I'm confused on why we had this value there in the first place?
Even k8s dev clusters (minikube etc) provision based on an SC in their own unique directory. I agree on removing this.
It's a deprecated setting anyway.
LGTM.

I agree , it is a deprecated setting. As mentioned by @smlx in #22 it is dangerous as well.


bug: drawer-end with drawer-open appears on the left

What version of daisyUI are you using?
3.1.7
Describe your issue
When I use the drawer with drawer-end and drawer-open I would expect to see the drawer on the right side but it appears on the left.  If however you open the drawer by clicking in the button it appears on the right.
Below is the example.
https://play.tailwindcss.com/8MzVL2nRXQ
What browsers are you seeing the problem on?
Chrome
Reproduction URL
https://play.tailwindcss.com/8MzVL2nRXQ

Hello! I faced the same problem with drawer. However, that way I fixed it: <div className="drawer-side" style={{display: 'inherit'}}>


Apptainer is now on version 1.3.2.

fixed by #17

Docker info:
docker version
Client:
 Cloud integration: v1.0.35+desktop.13
 Version:           26.1.1
 API version:       1.45
 Go version:        go1.21.9
 Git commit:        4cf5afa
 Built:             Tue Apr 30 11:44:56 2024
 OS/Arch:           darwin/amd64
 Context:           desktop-linux

Server: Docker Desktop 4.30.0 (149282)
 Engine:
  Version:          26.1.1
  API version:      1.45 (minimum version 1.24)
  Go version:       go1.21.9
  Git commit:       ac2de55
  Built:            Tue Apr 30 11:48:28 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.31
  GitCommit:        e377cd56a71523140ca6ae87e30244719194a521
 runc:
  Version:          1.1.12
  GitCommit:        v1.1.12-0-g51d5e94
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Build error from apptainer:
 docker run -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/work kaczmarj/apptainer build hail_.sif docker-daemon://hail:0.2.57
INFO:    Starting build...
FATAL:   While performing build: conveyor failed to get: loading image from docker engine: Error response from daemon: {"message":"client version 1.22 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version"}

i think your docker install is too old. try upgrading it.


Authoring support for C# built-in types to WinRT types

Authoring support for mapping C# built-in types to WinRT types (both as part of type reference in param / return type, but also for implementing them)
Added support for generics
Added support for arrays
Various bug fixes
Addded an authoring impl class for authored structs / enums which don't need a wrapper to hold onto attribute information which is used as part of the WinRT type check
Added support for out parameters
Added tests to exercise these scenarios

Contributes to #309

You probably should disable whitespace diff when reviewing this PR.

    private static readonly Dictionary<string, MappedType> MappedCSharpTypes = new Dictionary<string, MappedType>()

Ideally, the 3 sources of mapping data would derived from a single source.  Meantime, can we add comments to all 3 to indicate the other two need to be kept in sync?
https://github.com/microsoft/CsWinRT/blob/1b4ff32b5770a7901432e562065e75edcb844aaa/src/cswinrt/helpers.h#L450
https://github.com/microsoft/CsWinRT/blob/1b4ff32b5770a7901432e562065e75edcb844aaa/src/WinRT.Runtime/Projections.cs#L25

Refers to: src/Authoring/WinRT.SourceGenerator/WinRTTypeWriter.cs:271 in e3f6fd1. [](commit_id = e3f6fd1f2b643616b2f525c8664eb5610a07c9b7, deletion_comment = False)


for loops over nothing

As reported by @jvasileff, this code crashes the Java backend:
for (x in nothing) {
    print("xxx");
}

I have already fixed the similar bug in the JS backend.

Thanks mate. I tried to fix that fragment of code myself, but failed ;-)


[bug] Question mark icon in the system tray doesn't work on /desktop

Reproduction steps:

Click question icon

Nothing happens

Expected:

About Mastodon Flock to be displayed

How to make the About Mastodon Flock to be displayed currently:

Open Web 1.0 Internet Navigator (through clicking About or Privacy Policy)
Click Home button
Mastodon Flock gets loaded inside Internet Navigator (navigator is also resized)
Click same question icon, but inside the system tray inside the navigator
About Mastodon Flock gets displayed, but navigator is small so it's not possible to appreciate it

The window manager isn't in the desktop, I gotta add it so that works.


Tool to create training/validation sets

I might have overlooked this feature but I think a it would be nice to have a tool to create training and validation data folder as expected by the train tool.
Additional argument would be the relative size of the validation set.

There's a similar discussion going on in https://github.com/mapbox/robosat/issues/93

Let's keep discussion in #93.


Notes with the same name don't show the folder path.

Notes with the same name located in different folders don't show the folder name making it difficult to link to the correct note that I want to link to.
MicroMike Theme:

Default Theme:

I'll update to fix that. When you have, see "Show Suggestion Directory" in the style settings.

It works! Thank you!


Fix docstring and add condition_tensor attribute to lm.generate()

Hi,
first of all thank you for your amazing work here. I really enjoy working with MusicGen and the other tools of audiocraft!
I noticed an inconsistency between the docstring and the method signature of lm.generate().  The conditions attribute wasn't mentioned in the docstring, but condition_tensors was.  As I would like to use the option to provide preprocessed condition_tensors to the generation method, I've added the attribute to the given method, similarly to lm.forward(). Therefore I'd like to ask wheater it is possible to include this method parameter into the method.
Kind Regards
Niklas

hey, thanks for the suggestion :) i do have some concerns about using generate this way. specifically, _sample_next_token assumes there are null conditions in condition_tensor for classifier-free-guidance. which means that in this case, generate assumes that condition_tensors already contain null conditions, and if not, then the code will probably crash due to dim mismatch during the forward pass (correct me if i'm wrong).
if you have an easy way to validate the existence of null conditions, let me know, otherwise i think this pr might cause other users to crash without a proper explanation, so i tend to reject at the moment. thanks again!