ARIMA implementation

ARIMA (Autoregressive Integrated Moving Average) is a common time series forecasting technique, which is also used to hedge financial derivatives. The ARIMA model predicts future values of a time series based on past values. It's especially valuable for hedging since it can forecast future price fluctuations of a financial derivative, which can then be used to change the derivative's position to hedge against prospective losses.
You may use the following methods to create an ARIMA model for hedging financial derivatives:
1)Data Preparation: First, collect historical data for the financial derivative in question. Each trading day's opening, high, low, and closing prices should be included in this data.
2)Identify Parameters of the model: ARIMA models are defined.
3)Each trading day's opening, high, low, and closing prices should be included in this data.
Determine Model Parameters: Three parameters define ARIMA models: p (the order of the autoregressive portion), d (the order of differencing), and q (the order of the moving average part). You must determine appropriate values for these parameters. This is often accomplished via the use of approaches such as the Akaike Information Criterion (AIC) or the Bayesian Information Criterion (BIC). In some circumstances, a grid search or a random search may be used to determine the optimal settings.

Fit the Model: Once the parameters have been determined, you may apply the ARIMA model to your data. This entails determining the coefficients for the autoregressive and moving average components of the equation.
Forecast Future Prices: Once the model has been fitted, you can use it to forecast future prices of financial derivatives. This is accomplished by employing the model's equations to determine anticipated prices based on previous prices.
develop a Hedging Strategy: You may develop a hedging strategy based on expected future pricing. For instance, if the forecasted price is expected to rise, you may purchase the derivative to profit from the rise. If the forecasted price falls, you may want to sell the derivative to reduce your losses.

I can also help in this .May I?

Yeah sure. I have assigned you this issue.

I think you should also add the case of random walk to this,it would be really insightful. If you allow me I'm willing to help you with this.

I have already assigned this issue to @misskiran So you can create a separate issue of it

Okay

I want to work on this  for GSSOC'24.Kindly assign it to me @Akshat111111 . I have worked on Time Series before and would be able to implement it .

This issue has been already assigned.If you have any specific idea, feel free to share


Impossible to start service ?

Hi,
First of all thank you for your incredible work.
Here is my problem, i try to install docker on docker with your image and the service won't start with this errors :
Failed to connect to bus: No such file or directory
I try to create my own image with a new line but withotu success :
CMD ["/sbin/init"]
Where is my error or is it normal ?

Can you post your Dockerfile or command line that you are building the image with? And are you trying to bring it up via the command line or docker compose? Would also be helpful to either post your command line or docker-compose file.

Here is my docker file :
`FROM debian:buster
LABEL maintainer="Jeff Geerling"
ENV DEBIAN_FRONTEND noninteractive
ENV pip_packages "ansible cryptography"
Install dependencies.
RUN apt-get update
&& apt-get install -y --no-install-recommends
sudo systemd systemd-sysv
build-essential wget libffi-dev libssl-dev
python3-pip python3-dev python3-setuptools python3-wheel
gnupg python3 python3-dev gcc git curl autoconf automake python3-cryptography \
musl-dev libffi-dev libssl-dev libcurl4-openssl-dev openssh-server apt-transport-https
ca-certificates curl gnupg-agent software-properties-common sudo
&& rm -rf /var/lib/apt/lists/*
&& rm -Rf /usr/share/doc && rm -Rf /usr/share/man
&& apt-get clean
&& curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
&& sudo apt-key fingerprint 0EBFCD88
&& sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
&& apt-get update \
&& apt-get install -y docker-ce docker-ce-cli containerd.io
Install Ansible via pip.
RUN pip3 install $pip_packages
COPY initctl_faker .
RUN chmod +x initctl_faker && rm -fr /sbin/initctl && ln -s /initctl_faker /sbin/initctl
Install Ansible inventory file.
RUN mkdir -p /etc/ansible
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
Make sure systemd doesn't start agettys on tty[1-6].
RUN rm -f /lib/systemd/system/multi-user.target.wants/getty.target
VOLUME ["/sys/fs/cgroup"]
CMD ["/lib/systemd/systemd"]
CMD ["/sbin/init"]
`
The command to start docker is launch when i'm in with a terminal.
I build my image with CLI.

I dont think you can have two commands running at the same time in the docker container.  Pretty sure Docker expects to see just one CMD line that the container uses to see if it is running. Is there something you are looking to gain calling /sbin/init?

Hmmm i don't really know.
All i want is to have the opportunity to launch a 'service' command like 'service docker start'.
I'm new in docker and building image, i don't have all the knowledge i want on it :/

Did you miss a FROM debian:buster in your pasting the Dockerfile?

Yeah the code didn't show entierly. I edit it

I am trying to build your version right now. I was able to successfully start the container with two CMD lines.  You could just run this command to start the container:
docker run --detach --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro geerlingguy/docker-debian10-ansible:latest
then this command to attach to it to install docker in it:
docker exec --tty [container_id] env TERM=xterm ansible --version

Well, the container built and CONTAINER ID        IMAGE                                        COMMAND                  CREATED             STATUS                  PORTS                                              NAMES
048f8e2e4112        ansible_test:1.1                             "/sbin/init"             44 seconds ago      Up 44 seconds                                                              jovial_comes up and runs on my machine (Skull Canyon x64 Debain Buster base os)
and is running at the init. Want to see if you ahve any helpful logs at:
docker container logs {container id} ?

I try with your command line and i can launch "service docker start" in it but with my GUI (Synology under it), when i create my container with my image freshly builded, the command is not possible.
I will take a look why 🤔

Just a simple question, with the dockerfile from this repo (geerlingguy), is it possible to launche a molecule container insisde it ?
Because what I want is to push a change on my gitlab to my gitlab-ce and launche a pipeline who gonna test my code inside the image debian-ansible-10 with molecule.

@RomyxBaps did you solve your problem?
I'm having a similar issue with the simplest systemd commands.
This is inside a podman container, created using ansible molecule:
$ mol login
# loginctl enable-linger container
Failed to connect to bus: No such file or directory


208 fractional rounds

#208 In this PR we implement fractional rounds.
This is still work in progress, it seems to work for roundDuration <= 1 (original case + fractional case)
(Note I also address  suggestions on async by @martinjaggi such as handler->buffer)
@martinjaggi @s314cy
I am worried about the naming: in the buffer we also have rounds now. However, in that context, a round is incremented when the buffer is filled up, while related to the local training round, it is not exactly the same, and I think that the naming being identical but slightly different might cause confusion. Perhaps we should rename the rounds in the buffer as cycles or something else (e.g. currentBufferCycle, bufferCycle, cycle, ...)?
TODO:

[x] Debug the roundDuration > 1 case (even though it might not be used, it is good to understand the error).
[x] Address naming issue.
[x] Implement it for decentralized.
[x] Address #210 as this overlaps a bit.

thanks, looking good!
it should be fine to still call it round, as it is the same unit basically. here it's how many batches a client will need to train locally, until it can sent it to server or peers (to then become part of the corresponding round of the buffer, if selected and not delayed)

yeah true, they are the same unit. But I think in the client, we should keep in mind that there are two "rounds", one, the current local training round, and then there is also the remote round which corresponds to the latest fetched model (i.e. in the remote server at what round was the buffer averaged). So we could distinguish them as round vs remoteRound.

in federated it's easiest to say the round number is dictated by the server, whenever a new averaging happens (buffer flush).
then when clients pull a model they also get the round metadata with the model, then do several local steps, and finally send back. when sending back it's crucial they attach the metadata of what time this update was originally based on (old model which was pulled). which the server (buffer) then uses to decide to drop it or not when received.
let's use some terminology like model update is based on round number, for these models going client->server

fractional rounds are now working , still need to implement it for decentralized before merging the PR.

@s314cy
How are postMetadata and getMetadataMap used? I see them defined in fed client, but I can't see find where they are called?

@s314cy
How are postMetadata and getMetadataMap used? I see them defined in fed client, but I can't see find where they are called?

They are not being used yet. They were made for the future federated training informant to provide with stats shared by nodes.

weights buffer

you mean rename asyncWeightsBuffer rneamed to WeightsBuffer?

weights buffer

you mean rename asyncWeightsBuffer renamed to WeightsBuffer?

no it was only affecting the comment, not the code

remove all epoch stuff, only use rounds?

We still use epochs for local training since there rounds dont matter. I could completely remove epochs and replace with round calls, but I would need to change a bit since I made this with only communication in mind.

ok will adapt local training later in a separate issue, not a high priority (it can also use rounds instead of epochs, config for users remains more clear then in both cases)

Note that to keep track of rounds we need to keep track of epochs.
After reading your comments I realize I can improve the training manager a bit further, I will do these changes tomorrow morning and finalize this PR.

After reading Martins comments and a discussion with @s314cy I've refactored the training classes.

I switched the names trainer and training_manager, since the primer was actually being the manager.
I made the trainer (previously training_manager) into an abstract class, and I made a separate LocalTrainer and DistributedTrainer classes that extend the trainer class that each perform local/distributed training. It's nice to separate these two into different classes since the trainer (previously training_manager) was quite packed.
I deleted all unnecessary onEpoch callbacks, however for updating the UI graph it is necessary to call the onEpochEnd callback since onBatchEnd gives us no validation accuracy.
Keeping track of fractional rounds is not completely trivial, so I made a separate class for it, I explain in comments why it is necessary to keep track of the latest epoch in order to keep track of the current round.


Footer component

Resolves #526
Checklist:

[x] Documentation
[x] Tests
[ ] Ready to be merged

References:

https://design-system.service.gov.uk/components/footer/
https://github.com/alphagov/govuk-frontend/blob/master/src/components/footer/template.njk
https://github.com/alphagov/govuk-frontend/blob/master/src/components/footer/_footer.scss

Discussion points
Couple of discussion points to be had around this from my point of view but also appreciate there may be other comments to be made.

Use of the crown copyright png.  At the moment I have hardcoded the url to reference the images hosted on design system, just to get it to display for this PR.  Any preference on how to actually include this? (@govuk-react/images package?)
<Footer.Link /> is just an extension of <Link /> to apply the styles.  Any preference around this?  Leave as is or just allow use of <Link /> and then target the styling of anchors within FooterContainer?

Screenshots
Default appearance:

With navigation and meta content:

Deploy preview for govuk-react processing.
Building with commit 5de4100974ebae7b9e387dde85781562da4a5986
https://app.netlify.com/sites/govuk-react/deploys/5ca61508cd8ac00007cd1c08

Codecov Report

Merging #651 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #651      +/-   ##
==========================================
+ Coverage   99.66%   99.69%   +0.02%
==========================================
  Files         104      121      +17
  Lines         604      657      +53
  Branches       69       75       +6
==========================================
+ Hits          602      655      +53
  Misses          2        2

Impacted Files
Coverage Δ

components/footer/src/atoms/section/index.js
100% <100%> (ø)

...nts/footer/src/molecules/navigation-links/index.js
100% <100%> (ø)

components/footer/src/atoms/copyright/index.js
100% <100%> (ø)

...omponents/footer/src/atoms/unordered-list/index.js
100% <100%> (ø)

...mponents/footer/src/atoms/section-heading/index.js
100% <100%> (ø)

components/footer/src/atoms/licence/index.js
100% <100%> (ø)

components/footer/src/index.js
100% <100%> (ø)

...nents/footer/src/molecules/meta-container/index.js
100% <100%> (ø)

components/footer/src/atoms/meta-item/index.js
100% <100%> (ø)

components/footer/src/atoms/navigation/index.js
100% <100%> (ø)

... and 24 more

Continue to review full report at Codecov.

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

looks good to me other than 2 comments above

Any preference on how to actually include this? (@govuk-react/images package?)

I don't think we should be including crown copyright images inside govuk-react. This can either be done by assuming the user can self host them and provide a custom url (defaulting to no image) or by creating a separate package containing the image (ideally as a React SVG component) that specifically lists it is crown copyright and not MIT licensed.

<Footer.Link /> is just an extension of  to apply the styles. Any preference around this?

How you've done it looks good to me, though would be good if @stevesims can double check

thanks for the PR :-)

Taken on board the above comments and added a new commit which:

Adds copyright prop to Footer component for image, text and link values
Removes url loader custom from webpack.config so imported images load in storybook
Adds jest-transform-stub to jest.config to handle non js import/requires

The Link thing looks perfect to me.  👍 😀

Thanks for the feedback @stevesims @penx.  I've updated the PR which should address the comments you've made.  Cheers!

Hi @stevesims @penx Let me know if I can help with merging and deploying this.  Cheers!

Could this PR be reviewed? - It would be nice to get access to this!

Could this PR be reviewed? - It would be nice to get access to this!

It's been reviewed and I've spoken with @penx and it should hopefully be released in the next few days.


fix compilation error of graphx runner

Fix an include error under gcc 10.2.1
[ 94%] Building CXX object CMakeFiles/graphx_runner.dir/core/java/javasdk.cc.o
In file included from /home/graphscope/graphscope/analytical_engine/core/java/graphx_runner.cc:15:
/home/graphscope/graphscope/analytical_engine/core/java/graphx_runner.h:46:15: error: expected constructor, destructor, or type co
nversion before ‘(’ token
   46 | DECLARE_string(task);
      |               ^
/home/graphscope/graphscope/analytical_engine/core/java/graphx_runner.h:47:15: error: expected constructor, destructor, or type co
nversion before ‘(’ token
   47 | DECLARE_string(ipc_socket);

Codecov Report

Merging #2228 (10142c0) into main (a11b453) will increase coverage by 32.97%.
The diff coverage is n/a.

Additional details and impacted files

@@             Coverage Diff             @@
##             main    #2228       +/-   ##
===========================================
+ Coverage   40.19%   73.16%   +32.97%
===========================================
  Files          87       89        +2
  Lines        9847     9884       +37
===========================================
+ Hits         3958     7232     +3274
+ Misses       5889     2652     -3237

Impacted Files
Coverage Δ

python/graphscope/version.py
100.00% <0.00%> (ø)

python/graphscope/__init__.py
82.14% <0.00%> (ø)

python/graphscope/framework/dag.py
81.63% <0.00%> (+1.02%)
:arrow_up:

python/graphscope/client/utils.py
86.66% <0.00%> (+3.63%)
:arrow_up:

python/graphscope/client/rpc.py
86.25% <0.00%> (+9.16%)
:arrow_up:

python/graphscope/framework/operation.py
87.67% <0.00%> (+10.95%)
:arrow_up:

python/graphscope/client/session.py
76.47% <0.00%> (+11.76%)
:arrow_up:

python/graphscope/framework/graph_schema.py
64.84% <0.00%> (+12.10%)
:arrow_up:

python/graphscope/analytical/app/bfs.py
100.00% <0.00%> (+12.50%)
:arrow_up:

python/graphscope/framework/errors.py
93.65% <0.00%> (+14.28%)
:arrow_up:

... and 39 more

Continue to review full report at Codecov.

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


Possible mistake in Keras' implementation of SGD with momentum?

Hello,
I'm no expert on the internals of Keras, but I read over the implementation of Keras' SGD optimizer and believe there is an error in the way momentum is handled. The line of code moments = [K.zeros(shape) for shape in shapes] is run every time SGD.get_updates is called. Even though the new velocity is calculated, and then assigned by K.update(m, v), it appears that the newly calculated velocity is simply assigned to the newly initialized zero tensors created by the first line I mentioned. Each new call of get_updates creates empty moment tensors, overwrites SGD.weights, and updates the blank tensors; the momentum for each iteration is never used by the subsequent iteration, and is instead overwritten by the next call. This completely negates the effectiveness of momentum in the first place. This may explain observations such as the one made here.
I believe the intended behavior is for moments = [K.zeros(shape) for shape in shapes]  and self.weights = [self.iterations] + moments to be run once upon optimizer initialization, and for each get_update call to load the moment tensors from the previous iteration through moments = self.weights[1:].
Below is a reimplementation of the get_updates method which fixes the error.
def get_updates(self, params, constraints, loss):
    grads = self.get_gradients(loss, params)
    self.updates = []

    lr = self.lr
    if self.initial_decay > 0:
        lr *= (1. / (1. + self.decay * self.iterations))
        self.updates.append(K.update_add(self.iterations, 1))

    # momentum
    if not self.weights:
        shapes = [K.get_variable_shape(p) for p in params]
        moments = [K.zeros(shape) for shape in shapes]
        self.weights = [self.iterations] + moments
    else:
        moments = self.weights[1:]

    for p, g, m in zip(params, grads, moments):
        v = self.momentum * m - lr * g  # velocity
        self.updates.append(K.update(m, v))

        if self.nesterov:
            new_p = p + self.momentum * v - lr * g
        else:
        new_p = p + v

        # apply constraints
        if p in constraints:
            c = constraints[p]
            new_p = c(new_p)

        self.updates.append(K.update(p, new_p))
    return self.updates

Again, I may be misunderstanding the way Keras works internally. Feel free to correct any errors I have made.
Sincerely,
Samuel Li

I may be misunderstanding the way Keras works internally

Indeed. What you are looking at is code defining a symbolic computation graph, run exactly once.


Creative Commons (cc) icon request

Icon Request

Icon name: Creative Commons
Use case: alternate version of copyright and copyleft for cases where the license is specifically a CC license.

Ideally, an icon for each of the possible license types, but at minimum just the cc enclosed in a circle. I will design them myself in the coming week or two if no one else does.

I'd kinda count this as a brand icon, but it can be useful beyond typical use cases for brand icons.

I'd kinda count this as a brand icon, but it can be useful beyond typical use cases for brand icons.

the brand-iness did occur to me, but this seems like it's of a different type than twitter, since this is effectively a more specific sort of copyleft icon. so, if this is rejected due to being a brand, i get it and part of me predicted as much, but if people are open to it i'm happy to submit SVGs once they're designed.

the brand-iness did occur to me, but this seems like it's of a different type than twitter, since this is effectively a more specific sort of copyleft icon. so, if this is rejected due to being a brand, i get it and part of me predicted as much, but if people are open to it i'm happy to submit SVGs once they're designed.

I think we can create an icon for it, but also make it possible for multiple use cases.
For example for captions in video players or video conference call, like Google uses in Google Meet:

I think we can create an icon for it, but also make it possible for multiple use cases.
For example for captions in video players or video conference call, like Google uses in Google Meet:

meh, creative commons is a circle

meh, creative commons is a circle

Would like to mention that Simple Icons has one : https://simpleicons.org/?q=creative commons

Would like to mention that Simple Icons has one : https://simpleicons.org/?q=creative commons

Hi,this is Sonakshi. I would like to work on this issue. Can you elaborate if you want a single icon or multiple icons?

Hi,this is Sonakshi. I would like to work on this issue. Can you elaborate if you want a single icon or multiple icons?

If it were up to me I'd love to see an icon for each of the different license flags, so multiple icons if my vote is the only one that matters.

If it were up to me I'd love to see an icon for each of the different license flags, so multiple icons if my vote is the only one that matters.

See @locness3 response, for brand icons use simple icons.
I close this one for now.

I don't think Creative Commons has to be considerate a typical brand icons like a for profit company with a logo with a trademark on it and they added it in Unicode 13
https://creativecommons.org/2020/03/18/the-unicode-standard-now-includes-cc-license-symbols/

Hmm I agree with @pauloxnet, let's open this issue.


encounter 404 when download llvm from dropbox

C:\Users\alex\works\CppSharp\build>"premake5" --file=scripts/LLVM.lua download_llvm
Downloading: https://dl.dropboxusercontent.com/u/194502/CppSharp/llvm/llvm-f79c5
c-windows-vs2015-x86-RelWithDebInfo.7z
Error: C:/Users/alex/works/CppSharp/build/scripts/Utils.lua:96: HTTP response code said error
The requested URL returned error: 404 Not Found

C:\Users\alex\works\CppSharp\build>goto quit

C:\Users\alex\works\CppSharp\build>pause
Press any key to continue . . .```

Our build bot is using VS 2013 which is why the build for VS 2015 has not yet been uploaded to the system. I'll be able to upload a build for you next week... or you can try running "premake5" --file=scripts/LLVM.lua build_llvm instead which should build it for you.

The builds have been long updated, plus we don't use DropBox any more. Closing.


AMBARI-23943. Hiveserver2 fails to start on viewFS enabled cluster

This duplicate of #1365 and was mistakenly reverted.
All review and checks are done there.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2471/
Test FAILed.
Test FAILured.


NoMethodError when starting rails server

using the instructions supplied in the readme results in the following error when starting rails server
/Users/russell/.rvm/gems/ruby-2.0.0-p353@baseapp/bundler/gems/capistrano-maintenance-1b46e54de753/lib/capistrano/tasks/maintenance.rake:1:in <top (required)>': undefined method namespace' for main:Object (NoMethodError)
changing the bundler line to require: false fixes this
gem 'capistrano-maintenance', github: "capistrano/capistrano-maintenance", require: false

Thanks @runar , as you commented adding require: false to my Gemfile solves the NoMethodError problem

+1

+1


"Cetate" , "Moreni" are listed in the drop-down menu

Description:
When user writes "Cetate" , "Moreni" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law
Precondition:
The website is up an running.

Step 3
Write in the search bar "Moreni"

Expected results
The location appears in the drop-down menu as "Sat Moreni, DOLJ, (Cetate)"


Update Readme and out-of-dated dependency.

Current coverage is 99.57%

Merging #53 into master will not affect coverage as of 2b743f4

@@            master     #53   diff @@
======================================
  Files           28      28
  Stmts          234     234
  Branches         0       0
  Methods          0       0
======================================
  Hit            233     233
  Partial          0       0
  Missed           1       1

Review entire Coverage Diff as of 2b743f4

Powered by Codecov. Updated on successful CI builds.


Custom Key to "send text to openai" doesn't seem to work

This is my current setup

But when I select some text and press the hotkey, what I got is like below

And then whatever I press (Enter, CMD+Enter, Shift+Enter etc.) there is no response. Alfred just show the query mode list filter.
But if I change the output route to be like this (the red arrow), it works

Not sure if I miss anything

Thanks for your report! I have confirmed the issue and the next release will fix it.

confirmed this is fixed for me


Accidentally quadratic

[x] https://github.com/weaveworks/fluxy/blob/master/helper.go#L86 helper.AllReleasableImages

Asks for each service in turn, and fetches the containers for each with platform.ContainersFor(...), which itself fetches all the replication controllers and deployments and examines each one to see if it matches the service.

[x] https://github.com/weaveworks/fluxy/blob/master/release/release.go#L154 release.releaseAllToLatest

Fetches the image metadata for each image mentioned by a container used by a service, and these images could (in principle) all be the same, and are certainly repeated in practice.

[x] https://github.com/weaveworks/fluxy/blob/master/server.go#L68 server.ListImages and server.ListServices

These both ask for all the services, then iterate through all the rcs/deployments similar to the first item above.

Regarding previous comment
I investigated kubeservice and the python code is operating on the files that have been downloaded from the GH repo. I.e the files are local. Yes we iterate over all files to find a service, but there's no network latency involved with that.
So I don't see any value in attempting to reverse the way we do it because it would require a fairly large rewrite (and a lot of prior knowledge) and it seems to work well enough for the moment.
Closing because of this conclusion.


[Bitwarden] Prevent CLI not found crash

Description
Handle the local CLI not found error and display the troubleshooting screen instead of crashing 🙃
Screencast

Checklist

[X] I read the extension guidelines
[X] I read the documentation about publishing
[X] I ran npm run build and tested this distribution build in Raycast
[X] I checked that files in the assets folder are used by the extension itself
[X] I checked that assets used by the README are placed outside of the metadata folder

nice, thanks for taking care of this! ❤

Thanks @jomifepe 🙌


Install grinds entire system to a halt

Windows 10 22H2 19045.4046
Latest usbdk v1.00-22
I installed this to use with a cheap macro pad I received, and it immediately started causing issues. Would constantly get DRIVER_POWER_STATE_FAILURE during reboots and startup that were linked to the usbdk driver. Would also slow the PC to a halt during operation and prevent me from being able to install/uninstall basically anything. Also created very weird audio issues like a delay for 10-15 seconds as well as making USB devices stop working at random intervals.
Took a lot of effort to remove in safe mode but eventually did so after force starting the Windows Installer service. Issues immediately cleared up.
Not sure if it is a new Windows update causing issues or what.
I've attached a minidump of the issue for reference, if anything:
041124-7468-01.dmp

@anthonyjr2
First recommendation is to try 1.00.21, the flow that on some devices may cause DRIVER_POWER_STATE_FAILURE  was introduced in 1.00.22

Ah okay, I didn't see an issue that described the problem on 1.00.22 so didn't try the earlier versions. If I end up trying again I will attempt 1.00.21 but it was such a headache the last time I am going to wait a while, lol. Is there any plan to release a new version fixing the regression?

@anthonyjr2

Does 1.00.22 cause any issue when said specific device is not connected? If so, I wouldn't recommend also 1.00.21.
Possible problem with this specific device is that it is constantly in low power mode and the UsbDk can't attach to it. 1.0.22 tries to move the device to working mode but it appears that on some devices this causes problems. Possible alternative is manually turn off the 'USB selective suspend', on laptops this increases power consumption
At the moment we do not have plans for next release until we have resources for that
The project is open-source, can be built by anyone with Visual studio and WDK, some simple intervention in build scripts might be required, packaging into MSI is not mandatory, the problematic commit is  this one

It did not seem to be device-dependent. Simply having UsbDk installed would cause the slowdown, even after unplugging all USB devices completely. Every USB port would have issues as well, for example if I tried to plug something in, it wouldn't be recognized at all until I did a reboot. Which wasn't a very good fix because half the time the system would refuse to start with the BSOD I mentioned. The computer would also refuse to reboot from within Windows. It would hang for 5-10 minutes on the "Restarting" screen then crash with the same BSOD.
I don't plan to use it again for the time being but just figured it would be helpful to put this issue out there.

@anthonyjr2 UsbDk is not expected to make any negative impact at all until really used for device redirection or hiding. Just as an example, I have it installed for many years on main development machines over several Win10 upgrages, currently with 19045. If you have some %windir%\memory.dmp from 1.0.21 of attempt to reboot, it would be good to zip it and share with us somehow for study.

Hello, I would also like to add that I have had very similar issues. This package was installed as part of the edgetpu windows driver and during the installation process it froze on installing usbdk. After about an hour I finally rebooted and was also given a BSOD with DRIVER_POWER_STATE_FAILURE. After several reboots I am able to get to my windows login screen but none of my USB devices are being detected now. I've gotten into into recovery mode and subsequently tried to boot into safe mode but it hangs on my mobos splash screen. Sort of stuck atm, any tips would be appreciated. Thanks!

@GREYALLDAY Try disconnecting all USB devices and seeing if you can boot into safe mode. Try the different types to see if it makes a difference (with networking, with command prompt, etc.). Once you get into safe mode you can force start the Windows Installer service and from there should be able to uninstall usbdk. I haven't attempted to use it again since this issue came up so can't speak on if the earlier versions will work.


labels need to move up one level

according to https://github.com/samsung-cnct/k2/blob/master/Documentation/kraken-configs/node/aws-node.md, labels are currently being set under provider like this:
  - &defaultAwsMasterNode
    name: defaultAwsMasterNode
    kind: node
    mounts:
      -
        device: sdf
        path: /var/lib/docker
        forceFormat: true
    providerConfig:
      provider: aws
      type: m3.medium
      subnet: ["uwswest2a", "uwswest2b", "uwswest2c"]
      label:
        - name: label
          value: this is an example
        - name: another_label
          value: one more example

they should be moved to be at the same level as providerConfig

once this is done, labels will be added to a new nodeConfig named schedulingConfig which is being created in order to handle https://github.com/samsung-cnct/k2/issues/680

Instead of podScheduling, what about kubeSceduling? It would be analogous to kubeConfig and kubeAuth...


[docs-only] Forgotten revisions purge docs

Follow up of https://github.com/owncloud/ocis/pull/9891#issuecomment-2306513066

fixed typo


Travis-ci with flake8 / maybe pip cache

Flake8
to check new PR on flake8(pep8 etc) error's like whitespaces etc. (there are errors in eightball.py :8ball: )
I'm not sure what errors you want to use and what not
ignored some codes, because i think you ignore them in your VIM
ignored E731 because there is one error in the code
./main.py:17:1: E402 module level import not at top of file
./pajbot/bot.py:406:13: E731 do not assign a lambda expression, use a def
./pajbot/modules/eightball.py:83:1: W293 blank line contains whitespace
./pajbot/modules/eightball.py:110:1: W293 blank line contains whitespace
./pajbot/modules/eightball.py:112:5: E303 too many blank lines (2)

# .flake8 file
[flake8]
exclude = alembic/*,configs/*,install/*,myvenv/*,node_modules/*,pajbot/scripts/*,__pycache__/*,requirements/*,static/*,templates/*,uwsgiconfigs/*,.git/*,userdispatch.py
ignore = E123,E126,E127,E128,E302,E501,E731,F401

# E123 = closing bracket does not match indentation of opening bracket’s line
# E126 = continuation line over-indented for hanging indent
# E127 = continuation line over-indented for visual indent
# E128 = continuation line under-indented for visual indent
# E302 = expected 2 blank lines, found 0
# E501 = line too long (82 > 79 characters)
# E731 = do not assign a lambda expression, use a def
# F401 = module imported but unused

there are some other flake8 plugins that are maybe interesting to use,
but there would be some errors now in the code :dancer:
pip install flake8-import-order (pypi) (github)
pip install flake8-commas (pypi) (github)
pip install flake8-quotes (pypi) (github)
pip install flake8-strict (github)
cache pip
maybe use pip cache, because there is always a message for --use-mirror
DEPRECATION: --use-mirrors has been deprecated and will be removed in the future. Explicit uses of --index-url and/or --extra-index-url is suggested.

# .travis.yml file
# Travis CI checks for pajbot
language: python
sudo: false
cache: pip

python:
  - 3.4

services:
  - mysql
  - redis-server

before_install:
  - mysql -e "create database IF NOT EXISTS test;" -uroot
  - pip install pip flake8 --upgrade
  - flake8

install:
  - pip install -U -r pip-requirements.txt
  - cp ./install/config.example.ini ./config.ini

script:
  - cd tests && ./tests.py

or something like this not sure what is better
# .travis.yml file
# Travis CI checks for pajbot
language: python
sudo: false
cache:
  directories:
    - $HOME/.cache/pip

python:
  - 3.4

services:
  - mysql
  - redis-server

before_install:
  - mysql -e "create database IF NOT EXISTS test;" -uroot
  - pip install pip flake8 --upgrade
  - flake8

install:
  - pip install -U -r pip-requirements.txt
  - cp ./install/config.example.ini ./config.ini

script:
  - cd tests && ./tests.py

This looks great. Would be awesome to have flake8 checking on PRs
On Mar 8, 2016 19:42, "Nacht123"<EMAIL_ADDRESS>wrote:

Flake8
to check new PR on flake8(pep8 etc) error's like whitespaces etc.
(there are errors in eightball.py [image: :8ball:] )
I'm not sure what errors you want to use and what not
ignored some codes, because i think you ignore them in your VIM
ignored E731 because there is one error in the code
./main.py:17:1: E402 module level import not at top of file
./pajbot/bot.py:406:13: E731 do not assign a lambda expression, use a def
./pajbot/modules/eightball.py:83:1: W293 blank line contains whitespace
./pajbot/modules/eightball.py:110:1: W293 blank line contains whitespace
./pajbot/modules/eightball.py:112:5: E303 too many blank lines (2)
.flake8 file
[flake8]
exclude = alembic/,configs/,install/,myvenv/,node_modules/,pajbot/scripts/,pycache/,requirements/,static/,templates/,uwsgiconfigs/,.git/,userdispatch.py
ignore = E123,E126,E127,E128,E302,E501,E731,F401
E123 = closing bracket does not match indentation of opening bracket’s line
E126 = continuation line over-indented for hanging indent
E127 = continuation line over-indented for visual indent
E128 = continuation line under-indented for visual indent
E302 = expected 2 blank lines, found 0
E501 = line too long (82 > 79 characters)
E731 = do not assign a lambda expression, use a def
F401 = module imported but unused
there are some other flake8 plugins that are maybe interesting to use,
but there would be some errors now in the code [image: :dancer:]
pip install flake8-import-order (pypi)
https://pypi.python.org/pypi/flake8-import-order/ (github)
https://github.com/public/flake8-import-order
pip install flake8-commas (pypi)
https://pypi.python.org/pypi/flake8-commas/0.1.1 (github)
https://github.com/zedlander/flake8-commas/
pip install flake8-quotes (pypi)
https://pypi.python.org/pypi/flake8-quotes/0.2.4 (github)
https://github.com/zheller/flake8-quotes/
pip install flake8-strict (github)
https://github.com/smarkets/flake8-strict
cache pip
maybe use pip cache, because there is always a message for --use-mirror
DEPRECATION: --use-mirrors has been deprecated and will be removed in the future. Explicit uses of --index-url and/or --extra-index-url is suggested.
.travis.yml file
Travis CI checks for pajbot
language: python
sudo: false
cache: pip
python:

3.4

services:

mysql
redis-server

before_install:

mysql -e "create database IF NOT EXISTS test;" -uroot
pip install pip flake8 --upgrade
flake8

install:

pip install -U -r pip-requirements.txt
cp ./install/config.example.ini ./config.ini

script:

cd tests && ./tests.py

or something like this not sure what is better
.travis.yml file
Travis CI checks for pajbot
language: python
sudo: false
cache:
directories:
- $HOME/.cache/pip
python:

3.4

services:

mysql
redis-server

before_install:

mysql -e "create database IF NOT EXISTS test;" -uroot
pip install pip flake8 --upgrade
flake8

install:

pip install -U -r pip-requirements.txt
cp ./install/config.example.ini ./config.ini

script:

cd tests && ./tests.py

—
Reply to this email directly or view it on GitHub
https://github.com/pajlada/pajbot/issues/228.

Fixed! thank you


Security feature- session expired

Add security feature for session expired message.
After a particulat period of time, it must get out of the generate page.

Fixed


[Terraform Task] integrate output in pipeline vars

I have some terraform files defining output. Some of this output I need in further steps as variables to configure my system. I think having a way to put a terraform output to a azure pipeline variable would be useful.

This feature is already in task in case of Terraform apply operation

Great, sorry that I missed that.

I use this Powershell to get the json values to devops variables:
$jsonPath=(Get-ChildItem env:TERRAFORMTASK*_JSONOUTPUTVARIABLESPATH).Value
Write-Host "Convert terrafrom output from $jsonPath to devops vars."
$json=Get-Content $jsonPath | ConvertFrom-Json
$json `
    | Get-Member -type NoteProperty `
    | ForEach-Object {
        $o=$json."$($_.Name)"
        "##vso[task.setvariable variable=$($_.Name);isOutput=true$(if ($o.sensitive -eq "True") {";issecret=true"})]$($o.value)"
    }

Any chance to have an example of how to get those outputs in yaml-defined pipeline?
For example, I have
    - task: TerraformTaskV1@0
      inputs:
        provider: 'azurerm'
        command: 'apply'
        workingDirectory: '$(System.DefaultWorkingDirectory)/terraform-infrastructure/'
        commandOptions: '-var="terraform_service_principal_client_id=$(client-id)" -var="terraform_service_principal_client_secret=$(client-secret)" -var="subscription_id=$(subscription-id)" -var="environment=dev"'
        environmentServiceNameAzureRM: 'My State Subscription'

How to get the output variables in this case?

I use this Powershell to get the json values to devops variables:
$jsonPath=(Get-ChildItem env:TERRAFORMTASK*_JSONOUTPUTVARIABLESPATH).Value
Write-Host "Convert terrafrom output from $jsonPath to devops vars."
$json=Get-Content $jsonPath | ConvertFrom-Json
$json `
    | Get-Member -type NoteProperty `
    | ForEach-Object {
        $o=$json."$($_.Name)"
        "##vso[task.setvariable variable=$($_.Name);isOutput=true$(if ($o.sensitive -eq "True") {";issecret=true"})]$($o.value)"
    }

Can I use this in classic pipelines? When adding this as a powershell step I am getting two new values that i need to set. I'm new to this but I don't know what i need to enter for $_.Name and $o.value.

There is a blog post about this problem: https://www.natmarchand.fr/using-terraform-output-values-in-azure-devops-pipeline/


Speed up opening cached light curve files by a factor ~5x

As reported in #914, obtaining light curves via download_all() was surprisingly slow, even what all the files are available in the local cache.
Using line_profiler, I determined the primary culprit to be the fact that astroquery.mast.Observations.download_products() always submits a HTTP request to MAST to determine the length of the file prior to checking if the file already exists in the local cache.  This PR modifies download() and download_all() to skip that request.
This PR also includes a few easy speed-ups insidelightkurve.io.generic.read_generic_lightcurve().
As a result, the time required to open 10 light curves (cf. example in #914) dropped from ~8.5s to ~1.5s, which is a ~5x improvement:
>>> %time collection = search.download_all()
CPU times: user 4.55 s, sys: 169 ms, total: 4.72 s
Wall time: 8.71 s

>>> %time collection = search.download_all()
CPU times: user 1.26 s, sys: 100 ms, total: 1.36 s
Wall time: 1.56 s

I expect to merge this PR after fixing the Windows CI failure and adding a unit test.


added go get lumberjack to Dockerfile

added "go get github.com/natefinch/lumberjack" ti Dockerfile

thank you.


Add shim log pipe for log forwarding to the daemon

A fifo on unix or named pipe on Windows will be provided to the shim.
It can be located inside the cwd of the shim named "log".
The shims can use the existing github.com/containerd/containerd/log package to log debug messages.
Messages will automatically be output in the containerd's daemon logs with the correct fiels and runtime set.
Using a pipe allows containerd to reconnect after a reboot and collect logs from shims.
Signed-off-by: Michael Crosby<EMAIL_ADDRESS>

@jterry75 @ehazlett can you two review this change?

Codecov Report

Merging #2528 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2528   +/-   ##
=======================================
  Coverage   45.05%   45.05%
=======================================
  Files          94       94
  Lines        9796     9796
=======================================
  Hits         4414     4414
  Misses       4662     4662
  Partials      720      720

Flag
Coverage Δ

#linux
49.08% <ø> (ø)
:arrow_up:

#windows
41.57% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@jterry75 updated based on your feedback

LGTM

LGTM

Sounds like there is some follow up to make sure this is working on Windows when containerd fails, for now though LGTM


Visual defect with the Modal on Android Action Sheet

Bug

Environment info

Library
Version

@alessiocancian/react-native-actionsheet
3.1.3

react-native
0.69.7

Steps To Reproduce

Setup the App to use translucent StatusBar
Use the ActionSheet on Android.

Describe what you expected to happen:

Expect the modal to go to the top of the screen. Instead it doesn't cover the StatusBar.

Proposed fix:
Allow setting the RN Modal statusBarTranslucent prop on ActionSheet . https://reactnative.dev/docs/modal#statusbartranslucent-android

Here's a PR to fix this issue: https://github.com/alessiocancian/react-native-actionsheet/pull/23


iOS Mobile Compatibility

For Feature Requests
Desired Feature: iOS Mobile Compatibility
First of all, what a great and exciting project. Congratulations!
I tried to use it with an iPhone 5S and the responsiveness wont work well. I dont know if it should works however it would great to have it working on small screens like 4inches or greater. Also tinymce wont respond well at ios.
What do you think?
For Bug Reports

BookStack Version:
PHP Version:
MySQL Version:

Expected Behavior
Actual Behavior

Hi @thecek, Sorry for my late reply. Thanks for your compliments and your enthusiasm regarding BookStack.
During development I've always tried to build things to be vaguely responsive but desktop based environments has been the primary focus for a platform such as this. I would like to get all viewing/discovery based activities working well on mobile (Page viewing, searching etc..) but editing and admin tasks are a bit harder to accommodate for. Things like TinyMCE may always be an dodgy experience on mobile but we'll try to make it better.
If there's any specific things that are bad to view on mobile feel free to open a specific issue otherwise I'm thinking about having a bit of a design update soon, at which point more focus will be put on mobile.

Hello @ssddanbrown, thanks for replying.
I´ll let some thoughts here regarding this subject of mobile responsiveness.
While researching, I found TinyMCE very limited on mobiles, and found a project LGPL called AlloyEditor, very interesting.
It seems to work great on editing while using safari on iOS, algo seems to have a great ux at desktop browser too.
It is built upon CKEDITOR, perhaps it has all the stuff needed for customizing and replace TinyMCE.
Appreciate to hear your thoughts on that whenever you get time for it.
Best,

I’d like to second this. I really love Bookstack but was very disappointed to see how it functions on iPhone, for all intents and purposes the glitchy, crowded UI makes it unusable. For someone who always has their phone on them and needs to write ideas down when they come to them, it’s kind of a necessity.

Just come across this. Since this issue was opened we've made some massive improvements to mobile usage, especially in v0.26 released last may, including a focus on iOS.
I'm therefore going to close this off since the platform is very different now. If you notice any particular issues feel free to open new, focused issues for them here on GitHub.


"npm run build:prod" in skeleton-typescript-webpack fails with error "Cannot find name 'Locator'"

I'm submitting a bug report

Aurelia Skeleton Version
skeleton-typescript-webpack

Framework Version:
1.0.0

Please tell us about your environment:

Operating System:
Windows 7

Node Version:
6.7.0

NPM Version:
3.10.8

Webpack Version
webpack 2.1.0-beta.22

Browser:
all

Language:
TypeScript 2.0

Current behavior:
If you use the default (unmodified) webpack-typescript skeleton and run npm run build:prod, the build has an error:

ERROR in [default] C:\Users\erikschierboom\Documents\Visual Studio 2015\Projects
\skeleton-typescript-webpack\custom_typings\aurelia-protractor.d.ts:17:35
Cannot find name 'Locator'.

ERROR in [default] C:\Users\erikschierboom\Documents\Visual Studio 2015\Projects
\skeleton-typescript-webpack\node_modules\protractor\built\index.d.ts:11:9
Export declaration conflicts with exported declaration of 'ProtractorBy'
Child html-webpack-plugin for "index.html":
        + 4 hidden modules
Child extract-text-webpack-plugin:
        + 2 hidden modules
Child extract-text-webpack-plugin:
                                     Asset     Size  Chunks             Chunk Na
mes
      25a32416abee198dd821b0b17a198a8f.eot  76.5 kB          [emitted]
      d7c639084f684d66a1bc66855d193ed8.svg   392 kB          [emitted]
      1dc35d25e61d819a9c357074014867ab.ttf   153 kB          [emitted]
     c8ddf1e5e5bf3682bc7bebf30f394148.woff  90.4 kB          [emitted]
    e6cf7c6ec7c2d6f670ae9d762604cb0b.woff2  71.9 kB          [emitted]
        + 8 hidden modules
Child extract-text-webpack-plugin:
                                     Asset     Size  Chunks             Chunk Na
mes
      f4769f9bdb7466be65088239c12046d1.eot  20.1 kB          [emitted]
<PHONE_NUMBER>7bd7575d6327160d64e760.svg   109 kB          [emitted]
      e18bbf611f2a2e43afc071aa2f4e1512.ttf  45.4 kB          [emitted]
     fa2772327f55d8198301fdb8bcfc8158.woff  23.4 kB          [emitted]
    448c34a56d699c29117adc64c43affeb.woff2    18 kB          [emitted]
        + 7 hidden modules

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\erikschierboom\\
AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "webpack" "--"
"--progress" "--profile"
npm ERR! node v6.7.0
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>webpack: `cross-env ./node_mo
dules/.bin/webpack "--progress" "--profile"`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>webpack script
'cross-env ./node_modules/.bin/webpack "--progress" "--profile"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the aurelia-skeleton-navi
gation-webpack package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     cross-env ./node_modules/.bin/webpack "--progress" "--profile"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs aurelia-skeleton-navigation-webpack
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls aurelia-skeleton-navigation-webpack
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\erikschierboom\Documents\Visual Studio 2015\Projects\skele
ton-typescript-webpack\npm-debug.log

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\erikschierboom\\
AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "build:prod"
npm ERR! node v6.7.0
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>build:prod: `cross-env NODE_E
NV=production npm run webpack -- --progress --profile`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build:prod scri
pt 'cross-env NODE_ENV=production npm run webpack -- --progress --profile'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the aurelia-skeleton-navi
gation-webpack package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     cross-env NODE_ENV=production npm run webpack -- --progress --profi
le
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs aurelia-skeleton-navigation-webpack
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls aurelia-skeleton-navigation-webpack
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\erikschierboom\Documents\Visual Studio 2015\Projects\skele
ton-typescript-webpack\npm-debug.log

Removing the aurelia-protractor.d.ts file fixes this problem.

What is the expected behavior?
The build should succeed.

What is the motivation / use case for changing the behavior?
Fix something that is broken :)

@AshleyGrant I referenced you in the other issue. Can you look into an approach for this?

These issues are regarding the webpack skeletons, so shouldn't @niieani be assigned this?

I think what's happening is that Protractor keeps improving, iterating on their Typings in the patch versions of their app and this started to influence the stubs we have for Protractor in custom_typings.

Workaround:
In package.json change protractor version to "4.0.0"

Locator is located at
import {Locator} from 'protractor/built/locators'
but that does not look like an ideal solution.
Apart from that index.js/index.d.ts files had the full declaration earlier (build time) now they have import and export declaration which is why "Export declaration conflicts with exported declaration of 'ProtractorBy'" message is coming. Not sure how to fix it.

I took the 1.0.3 release version of the skeleton.  Adding the protractor v 4 to the package file did not help, I started getting many more errors, starting with browser.js.  Being new to this I can't yet contribute to fixing it.  Greatly appreciate any suggestions!
Thank you!

@frakevich, you don't need to add protractor v4, there is a line under "devDependancies". If you look for protractor, you will see it has '^' leading the version number of 4.0.0, you just need to remove the '^' which will lock it to version 4 exactly, not any version compatible with 4.
Once you do this, run 'npm install' again, the workaround will be in place until the issue is resolved.

I'm having the same problem as frakevich.  I've removed ^ from protractor so it's just "4.0.0", deleted my node_modules directory and reran npm install but I still get this error.
skeleton-navigation-webpack 1.0.3
node v6.9.1
npm v3.10.8

The conflict comes from a couple of lines in custom_types/aurelia-protractor.d.ts.
When I removed the lines
  interface ProtractorBy {     valueBind(bindTarget: string): Locator;   }
building was succesful.


v1.16.0 SyntaxError: Identifier 'process' has already been declared

What version of Remix are you using?
1.16.0
Are all your remix dependencies & dev-dependencies using the same version?

[X] Yes

Steps to Reproduce
Not sure the root cause, but this issue is appearing after upgrading Remix from 1.15 to 1.16, no other changes were made.

Note: Going through versions and it appears this issue has been occurring since at least 1.16.0-pre.4. But from that version until earlier versions have this additional error:
Cannot destructure property 'basename' of 'React__namespace.useContext(...)' as it is null.
Expected Behavior
There is no crash when upgrading to 1.16
Actual Behavior
There is a crash when upgrading to 1.16

@bryce-pearce could you share what (if any) future flags you have set in your remix.config.js?

@bryce-pearce could you share what (if any) future flags you have set in your remix.config.js?

None, my remix.config.js looks like
module.exports = {
  serverDependenciesToBundle: [/^lodash-es.*/],
  ignoredRouteFiles: ['.*'],
  devServerBroadcastDelay: 1000,
};

Probably related to https://github.com/remix-run/remix/pull/5274 and https://github.com/remix-run/remix/pull/6259

if anyone has updates, suggestions or workarounds, it would be much appreciated!

If anyone has updates, suggestions, or workarounds regarding the same issue, I would greatly appreciate it!

We just published version 1.17.1-pre.0 which includes #6562 (a possible fix). If you'd like to take it for a test run please try it out and let us know what you think!


Add CallInvite class and integrate with Create Call feature

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Communication.CallAutomation


Fix remediate static scan findings issues/5094

https://github.com/open-cluster-management/backlog/issues/5094

/retest

/retest

/retest

/approve
/lgtm

/retest

/retest

/retest

/retest


Rename webpack.config.js to Madwebpack.config.js

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


VRP with time window constraints - Detect "problematic" constraints

Hey again guys,
When I'm solving a VRP problem with time window constraints, sometimes there is no feasible solution, or alternatively, the optimal solution is really bad because of a little portion of the locations' relative distance or time window constraints.
I want to be able, to some extent, extract from the solver after it failed or gave a bad solution, what are the main problems with the solution. Possible output:

No Solution: "Loosening" node index i constraints will allow a feasible solution.
Weak Solution: Optimal solution cost without constraints is much lower than current solution with constraints, "Loosening" node index i constraints will result in a relatively much better solution.

We can separate the discussion between No Solution at all and "Weak" Solution.
Let me know if it makes any sense and what are some possible ways to solve this problem.
Thanks!
Ilai.

With 7.0, you can selectively add disjunctions on visits 1 by 1.
This will help pinpoint the problematic nodes.


Refactor Peerstate as separate map in discovery v4

Describe the feature
the kademlia table is currently used to store all peer info, which includes state that's updated frequently like last seen request failures etc.
there's no replace to easily check state of the peer like failed requests, last seen etc.
Additional context
No response

handled with #518


heroku fails to bind to $PORT

Thank goodness, the Heroku build succeeded and everything looks to be back in order. Good work me!


After the onError method is called, unsubscribe is called!!!

look this code:
        int i = 0;
        RxView.clicks(binding.save)
                .map(new Function<Object, Object>() {
                    @Override
                    public Object apply(@NonNull Object o) throws Exception {
                        if (i++ == 0) throw new NullPointerException();
                        return o;
                    }
                })
                .subscribe(new Consumer<Object>() {
                    @Override
                    public void accept(@NonNull Object o) throws Exception {

                    }
                }, new Consumer<Throwable>() {
                    @Override
                    public void accept(@NonNull Throwable throwable) throws Exception {

                    }
                });

The first click will call onError。Causing second click does not trigger anything. How do solve the problem?

Error is a terminal event in the stream, in your case it's better to not throw error but rather emit some logical value ie boolean true/false to distinguish error/normal cases in consumer.

Is there any other way?

Use objects in the stream to pass data, not onError. This isn't a question specific to RxBinding and I suggest you ask on the RxJava mailing list or StackOverflow with the 'rxjava' tag.


uninitialized constant Pry::ExtendCommandBundle (NameError)

When starting the console of a freshly created rails 3.2.0.rc1 app, what I've got is a NameError
/Users/delba/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.2.0.rc1/lib/rails/commands/console.rb:46:in `start': uninitialized constant Pry::ExtendCommandBundle (NameError)
	from /Users/delba/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.2.0.rc1/lib/rails/commands/console.rb:8:in `start'
	from /Users/delba/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.2.0.rc1/lib/rails/commands.rb:41:in `<top (required)>'
	from script/rails:6:in `require'
	from script/rails:6:in `<main>'

Having the same issue here.

I've patched this and submitted a corresponding pull request, if you need to use the gem during the interim, you can use my fork here: https://github.com/logical42/pry-rails

I'm still getting this error with Rails 3.2.1 and Pry 0.1.0.

Oops, never mind. Spoke too soon. Didn't actually see that I was in this pry-rails gem.


Empty folders does not exist after unpacking

Steps:

Create archive which contains folder with files and empty folder(s)
Unzip that archive

Result:
Empty folders does not exist after unpacking

Is this a duplicate of #54 or #55? If not, can you please provide the code you're using to write an empty folder?

I'm not sure that this is duplicate of #54 or #55, because question is about unzip. Empty folders are present in archive, but does not exist after unzip. Maybe this issue is about extracting archive, not creating. If i'm wrong, i can provide some code of creating folder while create archive.

The most helpful thing you could do (likely to result in the swiftest resolution) would be to send a PR with a unit test (or multiple cases) demonstrating the issue. The next best would be to paste those cases into a comment on this issue.

Please send the PR and I'll take a look. Thanks @amosavian!

This has been addressed with pull requests #78 and then #82, both now merged.


Install on EKS 1.19 not working

Bug report
I've followed the install doc for EKS but the cilium daemonset pods refuse to become ready with the following error:
level=info msg="Waiting for IPs to become available in CRD-backed allocation pool" available=0 helpMessage="Check if cilium-operator pod is running and does not have any warnings or error messages." name=ip-10-24-38-159.eu-west-1.compute.internal required=2 subsys=ipam

Steps:

I removed the aws-node daemonset
Then installed cilium with the helm command:

helm install cilium cilium/cilium --version 1.9.6 \
  --namespace kube-system \
  --set eni=true \
  --set ipam.mode=eni \
  --set egressMasqueradeInterfaces=eth0 \
  --set tunnel=disabled \
  --set nodeinit.enabled=true

General Information

Cilium version: 1.19.6
Kernel version : Linux ip-10-24-15-69.eu-west-1.compute.internal 5.4.110-54.182.amzn2.x86_64 #1 SMP Fri Apr 9 17:56:33 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Kubernetes: 1.19.6

Adding need-more-info as a sysdump is required to debug further. We know that EKS works, so there must be something specific with this environment that's causing issues.


Initial impl for tracing web requests

Initial impl which traces server requests.

Reroute - is this only rerouting internally? Just wondering if should be separate span, but if just internal then log event is probably good.

Reroute reroutes to the different route. I think we could create a span for each reroute but vertx clears end body handlers on reroute https://github.com/vert-x3/vertx-web/blob/master/vertx-web/src/main/java/io/vertx/ext/web/impl/RoutingContextImpl.java#L351 so it's not clear how we would properly model start-finish in vertx.

@objectiser thanks, I have asked here https://github.com/vert-x3/vertx-web/issues/523

@cescoffier thanks for the review, most changes applied, comment about adding end handler several times is here https://github.com/opentracing-contrib/java-vertx-web/pull/2#discussion_r126711317. In the code there is also comment that is was not required in the previous version of vertx.

@objectiser @cescoffier @pmlopes thanks for the review!


feature preview: text streaming

For those of you building the source yourself, check out this commit.  It's a preview of streaming responses to Discord.
You can run it with the --stream-responses argument.
The feature is still a little janky, so I'm looking for feedback about how it works for folks before including it in an official release.

FYI to @TruthSearchers

Thats cool men thanks for it

v.0.1.7 is out, have fun with it!

Yeah i tried  , text streaming is not smooth , it like sometimes stop in middle and suddenly whole para , i forgot to tell you when i tried branch one
Also at every discord message end (editing ) is getting written
These some improvements needed in text streaming
Thanks men in advance You are amazing


[shell] Remove bin wrappers 🎉

Summary
This removes bin wrappers. It also does the following:

Creates refresh and refresh-global aliases.
If environment is out of date, it prompts user to run the alias.
If alias is missing, it shows the ugly raw command.
If user has direnv active, we don't show message (because we refresh automatically)
We add aliases in two ways: 1) we add as part of shellrc for shell. 2) we add as part of shellenv for global, run, etc

Caveats:

calling refresh causes environment to refresh including environment variables (plugin and devbox.json)
If user does not call refresh, it is possible some packages that require setup hooks will not work, but the binary is available and in PATH.

How was it tested?
On zsh, fish shells:

I installed hello globally, verified with which hello
Installed hello in shell, got refresh message. Did which again and verified still global
Did refresh and which again and verified correct.

On global zsh:

Added hello and got refresh-global message.
Ran refresh and verified env was up to date.

On direnv:

Installed hello and verified environment was up to date.

@savil @gcurtis PTAL


Updates from a few forks

Improvements in this PR

Draw a few goodies from https://gist.github.com/snoyberg/35a661fff527692d09675ef540c7c1eb, giving the library:

HTTPS support using hyper-rustls ✔

Fork items from https://github.com/lazywalker/hyper-reverse-proxy/commits/master, which cover:

move to hyper-0.14 ✔
Debug implement for ProxyError ✔

Fork items from https://github.com/Nemo157/hyper-reverse-proxy/commits/tokio-1.0, which cover:

tokio v1 support ✔

Ability to drop path substring (❌ in daramir-mod branch)

I added debug for ProxyError on master branch.
Upgrade dependencies was already merged.
For HTTPS, I would like to use the solution proposed by #6 .


Order Fullfilled webhook payload does not contain product id inside "OrderLines"

What I'm trying to achieve
I am trying to sync my external system according to saleor. I am using webhooks for it. I am trying to get an POST API hit when an order is fulfilled.
Steps to reproduce the problem

Added all the necessary details on the webhook page

What I expected to happen
I expect to get the entire order details of the order placed. The ISSUE is that the Order lines do not contain the id of the Product.
Basically, the payload which they have mentioned in the docs are not been reflected in the response correctly.
"lines": [             {                 "type": "OrderLine",                 "id": "T3JkZXJMaW5lOjI3Ng==",                 "total_price_net_amount": "1.000",                 "total_price_gross_amount": "1.000",                 "allocations": [                     {                         "quantity_allocated": 0,                         "warehouse_id": "V2FyZWhvdXNlOjdkMDdmYmEzLTQ1MzctNDQ3Zi05YWZlLTdlZjgzMmZjOGFmOQ=="                     }                 ],                 "product_name": "Lime & Cilantro Jasmine Rice",                 "variant_name": "23456",                 "translated_product_name": "",                 "translated_variant_name": "",                 "product_sku": "23456",                 "quantity": 1,                 "currency": "USD",                 "unit_discount_amount": "0.000",                 "unit_discount_type": "fixed",                 "unit_discount_reason": null,                 "unit_price_net_amount": "1.000",                 "unit_price_gross_amount": "1.000",                 "undiscounted_unit_price_gross_amount": "1.000",                 "undiscounted_unit_price_net_amount": "1.000",                 "undiscounted_total_price_gross_amount": "1.000",                 "undiscounted_total_price_net_amount": "1.000",                 "tax_rate": "0.0000"             },             {                 "type": "OrderLine",                 "id": "T3JkZXJMaW5lOjI3Nw==",                 "total_price_net_amount": "1.000",                 "total_price_gross_amount": "1.000",                 "allocations": [                     {                         "quantity_allocated": 0,                         "warehouse_id": "V2FyZWhvdXNlOjdkMDdmYmEzLTQ1MzctNDQ3Zi05YWZlLTdlZjgzMmZjOGFmOQ=="                     }                 ],                 "product_name": "Japanese Teriyaki with Udon Noodles",                 "variant_name": "54212",                 "translated_product_name": "",                 "translated_variant_name": "",                 "product_sku": "54212",                 "quantity": 1,                 "currency": "USD",                 "unit_discount_amount": "0.000",                 "unit_discount_type": "fixed",                 "unit_discount_reason": null,                 "unit_price_net_amount": "1.000",                 "unit_price_gross_amount": "1.000",                 "undiscounted_unit_price_gross_amount": "1.000",                 "undiscounted_unit_price_net_amount": "1.000",                 "undiscounted_total_price_gross_amount": "1.000",                 "undiscounted_total_price_net_amount": "1.000",                 "tax_rate": "0.0000"             }         ],
I am unable to get the product Id in this.
Screenshots and logs

System information

Saleor version:

[ ] dev (current main)
[ ] 3.0
[ ] 2.11
[ ] 2.10

Operating system:

[ ] Windows
[ ] Linux
[ ] MacOS
[ ] Other

As a workaround, please fetch the order to obtain product IDs. In Saleor you would be able to use to select payload schema for each webhook


Cards

Create specific classes for the developers in order to use the 3 authorized sizes: Large (460px), Medium (300px) and Small (220px). Something like .card-sm and .card-lg (medium size being the default size like the buttons).
Let in the documentation all the parts regarding the ways of dealing with the sizes but precise that the recommended sizes are the larger, medium and small
Display the 3 sizes in the examples
Only use the medium size in the examples for all the examples
Check the rendering and compare it to the design specs. Some inconsistencies have been spotted: height of the area when there is only a title for example
Maybe use shortcodes to avoid copy/pasting in the examples page
Change the button used on dard background. So far, the button variant we would need for that doesn't exist in the code. It shall have white border and color + black background.

Superseded by #1933, closing this one.


gcm/promtest: Added gmp collector.

Child PR: https://github.com/GoogleCloudPlatform/prometheus-engine/pull/634

NOTE: Chained PRs sucks - no tests are ran for them ):

Do we want to maintain both collector and export? It sounds like the collector makes the export a bit redundant.

I am not sure you get the benefit of export yet (: Export gives ability to use local/IDE debugger, 1s-one-click feedback loop when adding new feature/changing export code, and testing export code on every PR CI run.
It's probably overkill to run both in each test, one is enough generally, but for some tests we could run GMP collector as an integration test of Prometheus and export. Perhaps something to add to our fork tests (importing promtest from here)?

Closing this one, it will be introduced by PRW test suite.


chore(notice): manually update NOTICE to 2020

Related to CAM-10099

Closing this as the repo is deprecated and the update is done already for the maintenance branches.


Bug in GetMaximumLoanAmountAsync

Hello @JKorf ,
When i call GetMaximumLoanAmountAsync with following parameters it gives the error in picture...
UnifiedApi.Account.GetMaximumLoanAmountAsync("BTC-USDT", OKX.Net.Enums.MarginMode.Isolated);

Hi, there are 2 issues. The first is that error responses aren't parsed correctly causing this error. This has been fixed in the latest version, but I'm not yet able to release it on NuGet.
The second is that the serialization of the marginMode parameter is incorrect, which is why the server returns an error. I'll fix that one for next version.

Thanks for your quick responce @JKorf

Fixed in latest version


Hero reworked

hero section reworked and added style to it and some js for fun animation of a walking text shadow

just one module next time. one pr for each new created section


Allow with_prefix on global attributes

Addresses #62
This change makes it so that with_prefix can be specified as a global attribute on the struct as well as for local attributes by changing the logic of has_prefix_attr to check both the local and global attributes instead of just the local.

Looks like the only failing test is from some unrelated coverage problem.

Sorry for the delay! Under a pile of notifs.

Thank you for this. :) Looks good.


feat(cloudflare): add queue and scheduled support WIP

🔗 Linked issue
Related https://github.com/unjs/nitro/issues/1571
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Hello @pi0 @Hebilicious
I noticed that the PR is currently in a draft status. May I ask if there are any follow-up plans or an expected release timeline for this?
I believe it brings tremendous value and can truly elevate the cloudflare project to another level.

@trylovetom Surely it is in the roadmap for next minor version of Nitro. I expect to release alongside new Tasks feature so that you can easily test everything universally before deploying!

Hi @Hebilicious and thanks again for this PR. More i think it makes more sense that we introduce this feature on top of (universal) nitro tasks (https://github.com/unjs/nitro/issues/1571#issuecomment-1677366301) instead of directly supporting provider-flavored APIs and hooks.
I am thinking of closing this draft to clarify our roadmap but i would happy to have your help to build this feature on top of nitro nitro tasks or revisit if that took longer than expected and you think it is critical to support this feature ahead of the time.

@pi0 My personal thoughts is that we need 2 features :

Nitro Tasks (similar to Task scheduling in Laravel)
Nitro Queues (similar to Queues in Laravel)

Should I open 2 issues to track these as a follow-up ?
I do think this is going to be a big chunk of work to make them platform agnostic and to integrate with all providers; while introducing platform specific hooks (maybe under an experimental flag?) is relatively fast and clean.
Regarding whether it's critical or not, personally, if I need this, I would use a custom preset.
I think documenting how to make a custom custom preset to use these 2 features, is cleaner and easier, as there's not a need to learn any extra syntax and to figure out how to do something that is already well explained in the cloudflare docs. But I understand that we shouldn't recommend them either ... though call... Maybe we could add an experimental flag for custom presets ? 🤔

No please wait for me to open POC PR for Tasks. We can discuss Queues in the next steps.

I do think this is going to be a big chunk of work to make them platform agnostic and to integrate with all providers

This is all mission of Nitro to do heavy tasks like this. Don't worry we can make it happen!

Regarding whether it's critical or not, personally, if I need this, I would use a custom preset.
I think documenting how to make a custom custom preset to use these 2 features, is cleaner and easier, as there's not a need to learn any extra syntax and to figure out how to do something that is already well explained in the cloudflare docs. But I understand that we shouldn't recommend them either ... though call... Maybe we could add an experimental flag for custom presets

Surely as i mentioned above and in linked issue, the initiatives behind introducing hooks was to speed up introducing it for cloudflare, which took longer than expected with your PR and also tasks is one of my main priorities to deliver ASAP.
Again, i wouldn't recommend using custom presets, for same reasons we don't recommend making a custom Vue setup for Nuxt applications. The job of Nitro, Nuxt and other meta frameworks, is to keep users away from boilerplate and make sure they are using best optimized practices. I made both Nuxt and Nitro fully extendable so we don't "block" users of doing something like this just like you can do today but neither don't advice them to do as is a dangerous territory in regards of promised stability. I hope you understand this concept.

No please wait for me to open RFC/POC for Tasks. We can discuss Queues in the next steps. (could be on top as a module. Not sure if queue can be generic feature easily while tasks can)

I do think this is going to be a big chunk of work to make them platform agnostic and to integrate with all providers

This is all mission of Nitro to do heavy tasks like this. Don't worry we can make it happen!

Regarding whether it's critical or not, personally, if I need this, I would use a custom preset.
I think documenting how to make a custom custom preset to use these 2 features, is cleaner and easier, as there's not a need to learn any extra syntax and to figure out how to do something that is already well explained in the cloudflare docs. But I understand that we shouldn't recommend them either ... though call... Maybe we could add an experimental flag for custom presets

Surely as i mentioned above and in linked issue, the initiatives behind introducing hooks was to speed up introducing it for cloudflare, which took longer than expected with your PR and also tasks is one of my main priorities to deliver ASAP.
Again, i wouldn't recommend using custom presets, for same reasons we don't recommend making a custom Vue setup for Nuxt applications. The job of Nitro, Nuxt and other meta frameworks, is to keep users away from boilerplate and make sure they are using best optimized practices. I made both Nuxt and Nitro fully extendable so we don't "block" users of doing something like this just like you can do today but neither don't advice them to do as is a dangerous territory in regards of promised stability. I hope you understand this concept.

I understand this concept and I'm reiterating the custom preset point because this PR was closed.
In that regard, I am happy to move forward and re-open this PR (ie add docs), and get it merged if that implementation is satisfactory; or to drop it entirely if you don't think it's important.


readToken has a fixed 10 tries cap

https://github.com/codemirror/codemirror5/blob/658bff7c56b7829aeabb8a914be5ca728d8aba0b/src/line/highlight.js#L161
Im currently working on a mode that will return null and expect codemirror to re-call the token function so i can internally try another match. It was working up until i found this...
I think this cap is unnecesary and should leave it to the developer to decide how many times it will be looped because in my scenario i need to be 10+ times... or at least that value should be taken from the mode's configuration object.
This got me hours of debugging scratching my head putting breaks and logs everywhere... it made no sense at all, things were all working fine but failed with i added an item to an array (that internally was involved in returning null from token)

What is your mode doing that it fails to consume any input in 10 calls? That looks like something that A) should easily be fixable in the mode itself by adding a loop there, and B) is probably going to cause an infinite loop if the editor doesn't cut it off.

What is your mode doing that it fails to consume any input in 10 calls? That looks like something that A) should easily be fixable in the mode itself by adding a loop there, and B) is probably going to cause an infinite loop if the editor doesn't cut it off.

yeah i just implemented the loop myself inside of the mode, i was doing something like this (pseudo code):
...
token(stream, state) {
    for each (pattern in patterns)
         if( pattern == some particular thing)
                patterns = pattern.childPatterns
                return ; // here i was counting on codemirror to loop back token...
}
...

the code failed if "patterns" was for example 12 items long.... and the patter that would match is the 11th and not the first 10...
i fixed this by doing the loop myself (psecudo code)
...
myToken( stream, state ) {
    for each (pattern in patterns)
         if( pattern == some particular thing)
                patterns = pattern.childPatterns
                return myToken(stream, state ) ; // loop back....
}
...
token(stream, state) {
    return myToken( stream, state )
}
...

Glad you found a solution. Modes failing to advance the stream at all was a common source of infinite loops (and thus browser hangs) in the past. Thus, the library cutting it off at some point is intentional.


PNG Conversion produces the wrong image if a shadow is present in the UI

Steps to reproduce

Run the sample code
Tap on the circle

You can also check out this repo for ease
Expected results
Both circles should look identical
Actual results
The circle produced from byteData looks wrong (There's a weird black shadow layer).
Note that this only happens on a physical ios device. On the simulator it works fine. I do not have a physical android device available so I'm not sure if its an ios only issue or not.
Code sample
Code sample
import 'dart:typed_data';
import 'dart:ui' as ui;

import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatefulWidget {
  const MainApp({super.key});

  @override
  State<MainApp> createState() => _MainAppState();
}

class _MainAppState extends State<MainApp> {
  Widget? imageWidget;
  GlobalKey globalKey = GlobalKey();

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

  Future<void> _initImageWidget() async {
    final RenderRepaintBoundary boundary =
        globalKey.currentContext!.findRenderObject()! as RenderRepaintBoundary;
    final ui.Image image = await boundary.toImage();
    final ByteData? byteData =
        await image.toByteData(format: ui.ImageByteFormat.png);
    final Uint8List pngBytes = byteData!.buffer.asUint8List();

    setState(() {
      imageWidget = Image.memory(pngBytes);
    });
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              if (imageWidget != null) ...{imageWidget!},
              const SizedBox(height: 30),
              GestureDetector(
                onTap: () {
                  print('capturing');
                  _initImageWidget();
                },
                child: RepaintBoundary(
                  key: globalKey,
                  child: Padding(
                    padding: const EdgeInsets.all(60),
                    child: Container(
                      height: 50,
                      width: 50,
                      decoration: const BoxDecoration(
                        shape: BoxShape.circle,
                        color: Colors.blue,
                        boxShadow: [
                          BoxShadow(
                            color: Colors.green,
                            blurRadius: 30,
                            spreadRadius: 2,
                          ),
                        ],
                      ),
                    ),
                  ),
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
➜  ~ flutter doctor -v
[✓] Flutter (Channel stable, 3.24.1, on macOS 14.6.1 23G93 darwin-arm64, locale
    en-IN)
    • Flutter version 3.24.1 on channel stable at /Users/hari/Softwares/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5874a72aa4 (3 weeks ago), 2024-08-20 16:46:00 -0500
    • Engine revision c9b9d5780d
    • Dart version 3.5.1
    • DevTools version 2.37.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/hari/Library/Android/sdk
    • Platform android-34-ext8, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2024.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 17.0.11+0-17.0.11b1207.24-11852314)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 70.0.5
    • Dart plugin version 222.3345.108

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

[✓] Connected device (5 available)
    • Hari’s iPhone (mobile)          • 00008120-001444280A00C01E            • ios            • iOS 17.6.1 21G93
    • iPhone 15 (mobile)              • 44E17F66-086E-4A85-8107-D3755D3AC642 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-5 (simulator)
    • macOS (desktop)                 • macos                                • darwin-arm64   • macOS 14.6.1 23G93 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin         • macOS 14.6.1 23G93 darwin-arm64
    • Chrome (web)                    • chrome                               • web-javascript • Google Chrome 128.0.6613.120

[✓] Network resources
    • All expected network resources are available.

• No issues found!
➜  ~

Reproducible on the latest stable and master only on physical iOS devices with impeller enabled. I tested on my iPhone XS running iOS 17.6.1 and my Pixel 7 running android 14. With both impeller & skia, this worked as expected on android but only worked as expected with skia on iOS.  This also worked as expected on the iOS Simulator as reported above.

Impeller (iPhone XS)
Skia (iPhone XS)
Impeller & Skia (android)

flutter doctor -v
[✓] Flutter (Channel stable, 3.24.2, on macOS 14.6.1 23G93 darwin-arm64, locale en-US)
    • Flutter version 3.24.2 on channel stable at /Users/deanli/dev/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4cf269e36d (7 days ago), 2024-09-03 14:30:00 -0700
    • Engine revision a6bd3f1de1
    • Dart version 3.5.2
    • DevTools version 2.37.2

[!] Flutter (Channel master, 3.26.0-1.0.pre.72, on macOS 14.6.1 23G93 darwin-arm64, locale en-US)
    • Flutter version 3.26.0-1.0.pre.72 on channel master at /Users/deanli/dev/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 8a2c3a65fe (5 hours ago), 2024-09-10 22:16:25 -0400
    • Engine revision a26075f9b1
    • Dart version 3.6.0 (build 3.6.0-237.0.dev)
    • DevTools version 2.39.0

Its likely related to the blur that shadow uses. Seems like there's a black default somewhere thats getting mixed with the shadow color through the blur implementation

This does not happen if wide gamut is disabled (by setting FLTEnableWideGamut to false in ios/Runner/Info.plist)
With wide gamut, the image given to the PNG encoder has color type kBGRA_10101010_XR_SkColorType with premultiplied alpha.  But Skia's SkPngEncoderImpl.cpp is assuming unpremultiplied alpha for that color type.
This renders as expected if I patch Skia to add handle kPremul_SkAlphaType for kBGRA_10101010_XR_SkColorType.  I can send a PR to Skia.

Its currently correct on skia and wrong on impeller. So why patch skia?

Flutter uses Skia's image codec APIs even if Impeller is selected as the renderer.

The fix has landed on the main branch.

Is there any chance we can get this cherry picked to stable?


Some additional information to include when logging an annotation

Simply adding some more information when defining a new Annotation.
The benefit is to have more information to display within the output graph.

type is removed since it was duplicated, and it is now extracted differently (using the rdf:type)


[bug] Security key used multiple times isn't clearly identified as a fatal error

Version
Checklist:

[ ] I am not using Home Assistant. Or: a developer has told me to come here.
[x] I have checked the troubleshooting section and my problem is not described there.
[x] I have read the changelog and my problem is not mentioned there.

Build/Run method

[x] Docker
[ ] PKG
[ ] Snap package
[ ] Manually built (git clone - yarn install - yarn run build )

Zwavejs2Mqtt version: 6.1.0
Z-Wave JS version: 8.9.0-beta.0
Describe the bug
Slight UX issue - If the same Zwave security key is used more than once, the Zwave driver won't start up, but it isn't clearly identified as a fatal error.  The message from the driver is logged at level INFO.  The logs indicate that the connection is being continually retried every 3 seconds. This gives the impression there is some sort of connection problem rather than a user configuration error.
2021-12-15 17:03:14.776 INFO ZWAVE: Controller status: Driver: The security key for class S2_Unauthenticated was used multiple times! (ZW0108)
2021-12-15 17:03:14.779 WARN ZWAVE: Retry connection in 3 seconds...
2021-12-15 17:03:14.789 INFO APP: POST /api/settings 200 68.056 ms - 950
2021-12-15 17:03:14.850 INFO APP: GET /api/auth-enabled 304 6.210 ms - -
2021-12-15 17:03:17.783 WARN ZWAVE: Retry connection in 3 seconds...
2021-12-15 17:03:20.787 WARN ZWAVE: Retry connection in 3 seconds...
2021-12-15 17:03:23.794 WARN ZWAVE: Retry connection in 3 seconds...
2021-12-15 17:03:26.800 WARN ZWAVE: Retry connection in 3 seconds...
2021-12-15 17:03:29.803 WARN ZWAVE: Retry connection in 3 seconds...
2021-12-15 17:03:32.809 WARN ZWAVE: Retry connection in 3 seconds...
2021-12-15 17:03:35.813 WARN ZWAVE: Retry connection in 3 seconds...
2021-12-15 17:03:38.818 WARN ZWAVE: Retry connection in 3 seconds...
2021-12-15 17:03:41.830 WARN ZWAVE: Retry connection in 3 seconds...
2021-12-15 17:03:44.834 WARN ZWAVE: Retry connection in 3 seconds...
2021-12-15 17:03:47.840 WARN ZWAVE: Retry connection in 3 seconds...

To Reproduce
Steps to reproduce the behavior:

Enter the same network key in S0 Legacy and S2 Unauthenticated.
Click on Save
View the logs to see the error

Expected behavior
It should be clearer that there is a fatal configuration error and that zwavejs will never successfully start.  Some ideas:

ZwaveJ22MQTT UI shouldn't allow a save of the zwave config panel if the same key is used multiple times
The error from the driver should be shown as a fatal error
The server shouldn't keep trying to connect
The driver error message in the UI should be highlighted as an error (red text or something like that)

Additional context
Add any other context about the problem here.

Sorry bud, this is on your turf.
The driver does throw in the constructor with Driver_InvalidOptions. Everything else is UI / z2m related.

Humm so the question would be back to the user, @rct how do you expect this error to be handled by the app (different then showing you there is that error)?

Could it be an idea to apply the settings to the driver and then store them if everything goes well?

I could just add a validation on settings that checks security keys to not be equals for now. Then I could add an errors array on client side to get the last 10/20 errors thrown by driver and show them somewhere on control panel

Are you handling Driver_InvalidOptions errors during driver creation somehow? Because that definitely means that the configured settings are wrong and should be made clear to the user.


Unable to get image using the get-azimage cmdlet

Hi,
We are trying to clone a image for a proyect but when we use the get-azimage cmdlet we are not receiving output. When I force with the name, it says it can't find the resource.
Cann you review it? We are having the same issue from two different computers in different locations. My version of the az.compute module is:

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

ID: a8aba31c-6357-16d3-bb0d-52eea7eaf534
Version Independent ID: 7ec55d78-10f4-a5e8-3cb3-ec7f13e29c48
Content: Clone a managed image to a Shared Image Gallery - Azure Virtual Machines
Content Source: articles/virtual-machines/image-version-managed-image-powershell.md
Service: virtual-machines
Sub-service: imaging
GitHub Login: @cynthn
Microsoft Alias: cynthn

@Heloiseboanerges I am able to get this working without issue with compute module 4.8, and yours is 4.6.
If the command 'Get-AzImage' is not throwing an error, it is likely just not finding any images in your subscription. Verify that you have created a managed image and that it exists in your subscription.

@Heloiseboanerges I am able to get this working without issue with compute module 4.8, and yours is 4.6.
If the command 'Get-AzImage' is not throwing an error, it is likely just not finding any images in your subscription. Verify that you have created a managed image and that it exists in your subscription.


Why no dark mode?

Clicking the applet on by toolbar opens a control window that appears to always be in light mode. I use this tool to protect my eyes, please make it possible to not flash-bang myself when turning it on. (Config window respects dark mode, only applet does not)

Its your theme, try to change it.


how to evaluate model on SQuAD (non openQA settings)

I notice the EM score of densephrases on SQuAD is 78.3, and I want to reproduce this experiment but I cannot find a script available.

Could you check this issue? https://github.com/princeton-nlp/DensePhrases/issues/11


Deploy TRAPI 1.3

https://arax.ncats.io/?smartapi=1 shows that Text Mined Coocurrence API has 1.2 in development (infores:text-mining-provider-cooccurrence)
Please deploy 1.3 of this tool into development ASAP.

1.3 deployed to dev


updated yahoo-stock plugin

sorry for the multiple PRs -- this is the last!

Hey - thanks again for your plugin, in three short days we've added over 60 new amazing plugins. I wonder if you could take a minute to add a bit of metadata to your plugin?
Docs: https://github.com/matryer/bitbar#metadata

sure, will do.


Update mergesort.cpp

Changes in Comments

Why did you closed the Pull Request? :question:

Why did you closed the Pull Request? ❓

Since it was some spelling mistake in comment, I thought that can be easily readable by the reader. So, I found that it is not so big to mark it out.

Okay.


chore(main): release 8.0.0

:robot: I have created a release beep boop
8.0.0 (2024-10-08)
⚠ BREAKING CHANGES

use prompt library in chat buffer and better keymap support

Features

use prompt library in chat buffer and better keymap support (b462c42)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v8.0.0
:sunflower:


Kotest matchers

Is there somewhere we can mention in the docs that Kotest now supports matchers on klock types.
https://github.com/kotest/kotest/tree/master/kotest-assertions/kotest-assertions-klock
https://github.com/kotest/kotest/blob/master/doc/matchers.md

Nice, thanks! :) I will add it to the Klock documentation here: https://korlibs.soywiz.com/klock/ and to the README

Added a small text in the README and the documentation. You can propose changes:

https://github.com/korlibs/klock/blob/master/README.md
https://github.com/korlibs/korlibs.soywiz.com/blob/master/klock/index.md


[MM-19865] Fix modal close button to not overlap when screen is narrow

Summary
This PR makes the header of the full screen modal (part containing the close button) have a height of 50px to make it so the "Create Subscription" button is below the x when the screen is narrow.
Ticket Link
https://mattermost.atlassian.net/browse/MM-19685
Screenshots
Before

After

@mickmister Instead of pushing the content down, we can adjust the close button on the right of the header.

@asaadmahmood Is this about what you are describing?

I've also adding padding on the sides so it has some spacing on smaller screens.

@asaadmahmood Do you mind giving this another review?


[MSG] fixes composer to stay above keyboard

Fixes: https://github.com/artsy/emission/issues/640

Fails

:no_entry_sign:

No CHANGELOG added.

  Generated by :no_entry_sign: dangerJS

Travis being brutal.... LGTM once 🍏


feat: add tests for dex queries and txs

Going to merge in the dev branch from Oleg's PR, then merge this one as well to align everything