Problem with index out of bounds exception

Hi,
sometimes I get an index out of bounds exception using ScintillaNET when assigning a new string to scintilla.Text property. In debug mode I see that the debug assertion in file LineCollection.cs function CharLineLength() line 65 fails:
Debug.Assert(index < Count);
The function CharLineLength() is called from DeletePerLine() when the debug assertion fails:
    private void DeletePerLine(int index)
    {
        Debug.Assert(index != 0);

        MoveStep(index);

        // Subtract the line length
        stepLength -= CharLineLength(index);

        // Remove the line
        perLineData.RemoveAt(index);

        // Move the step to the line before the one removed
        stepLine--;
    }

After taking a look at the source code I think the following line is wrong:
        stepLength -= CharLineLength(index);

I guess in function DeletePerLine() the line index starts at 1. But CharLineLength() seems to use a line index that starts at 0. Therefore I think the code should be changed to:
        stepLength -= CharLineLength(index - 1);

I am not sure if it is the right solution for the index out of bounds exception because in 99.9% the exception does not occur if I assign a new string to the Text property.

Interesting.
To be honest I'm skeptical of what you're saying because this code has been in use for a long time now and it pretty well tested.
Is it possible your text is malformed and contains some invalid characters? Or are you using multiple documents as explained in Documents wiki article?
Would need to be able to reproduce this reliably to troubleshoot it.

I'm also skeptical because it works almost always :-)
But sometimes I get this index out of bounds exception. Unfortunately I did not made a screenshot from my debugging session.
The exception is thrown in the function CharLineLength().
    internal int CharLineLength(int index)
    {
        Debug.Assert(index >= 0);
        Debug.Assert(index < Count);

In debug mode the second assertion fails. "index" is equal to "count". The debug assertions shows me that the index used in this function can start at 0 and must be less than count. This function was called from function:
    private void DeletePerLine(int index)
    {
        Debug.Assert(index != 0);

        MoveStep(index);

        // Subtract the line length
        stepLength -= CharLineLength(index);

The first debug assertion shows me that the index in this function starts at 1. This function was called from:
private void TrackDeleteText(NativeMethods.SCNotification scn)
{
var startLine = scintilla.DirectMessage(NativeMethods.SCI_LINEFROMPOSITION, new IntPtr(scn.position)).ToInt32();
....
here:
var linesRemoved = scn.linesAdded * -1;
for (int i = 0; i < linesRemoved; i++)
{
// Deleted line
DeletePerLine(startLine + 1);
}
In my debugging session startLine was 0. DeletePerLine() was called with startLine + 1 correctly.  But CharLineLength() fails if the last line is removed (when Count is 1).
I think the index out of range exception is thrown because the line index in function DeletePerLine() starts at 1 but starts at 0 in function CharLineLength().
Unfortunately this is hard to reproduce.

So, I put some time into this today and can't reproduce what you're describing. Here are some things to be aware of:

I would never write code that expects an index to start at index 1 rather than 0. :)
The DeletePerLine method would never use an index of 0 because the intention of this method is to delete line data and there is always at least one line in a Scintilla document. Hence, the call in TrackDeleteText to DeletePerLine is DeletePerLine(startLine + 1);. DeletePerLine should never be called with an index of 0, hence the assertion Debug.Assert(index != 0); at the top of its definition.
When DeletePerLine wants to get the character length of a line it calls CharLineLength and it most definitely wants to use the same index and not one less. It wants the character length of the line it is working on -- and that index should always be less than Count.

I repeat my questions, are you using any malformed text -- text which has invalid byte codes that could throw off the calculation? Or are you using documents? Or are you ever accessing Scintilla from another thread besides the UI thread -- even indirectly?
Until we can prove otherwise I'm under the impression you have some bad input data or a race condition. Bad data could be the result of bad text or document handling. A race condition can occur if you are using multithreading incorrectly. Those are the only possibly scenarios I can think of where Scintilla(NET) would be trying to delete a line that doesn't exist.

Sorry for the late reply.
No I don't use malformed text. Only plain ASCII text. All accesses to Scintilla are from the main thread.
Please look again at my example. Please assume I have 1 line in Scintilla: property Count = 1
Now I delete text in Scintilla and TrackDeleteText() is called from Scintila:
private void TrackDeleteText(NativeMethods.SCNotification scn)
{
var startLine = scintilla.DirectMessage(NativeMethods.SCI_LINEFROMPOSITION, new IntPtr(scn.position)).ToInt32();
In my debugging session startLine is 0 when I get the out of bounds exception.
The variable linesRemoved has the value 1 (scn.linesAdded is -1):
var linesRemoved = scn.linesAdded * -1;
for (int i = 0; i < linesRemoved; i++)
{
// Deleted line
DeletePerLine(startLine + 1);
}
Therefore the function DeletePerLine() is called once with parameter startLine + 1 = 1:
DeletePerLine(1);
This seems to be ok because of this piece of code that checks if the index is not equal to 0:
private void DeletePerLine(int index)
{
    Debug.Assert(index != 0);

Index starts at 1 here ;-)
But the next lines of code seems to be problematic:
    MoveStep(index);

    // Subtract the line length
    stepLength -= CharLineLength(index);

CharLineLength() is called with variable index. The variable index has the value 1:
CharLineLength(1);
And now please look at the function CharLineLength():
internal int CharLineLength(int index)
{
Debug.Assert(index >= 0);
Debug.Assert(index < Count);
Count is 1 because there is only one line in Scintilla. But index is also 1 and therefore the debug assertion fails. I think this function fails always if all lines will be deleted and TrackDeleteText() is called.
Thank you very much for the time you spend to develop Scintilla.Net.

I'm closing this issue because it seems to be an isolated instance. We can re-open if necessary.


libev abort on AWS instance for speed_test_async

Unclear why, build with debug symbols and inspect.

Was using unix sockets, but fixed disconnect behavior so now .connect() will return false as desired.


Error login

Hi,
I am trying to connect, but i have problems with the credentials. There are a solution? Or the problem its garmin?

Hi, I seem to have the same problem...cannot login...

Same here

Same with me.

Similiar issue. Changed password to remove special characters and still unable to log in.

Couldn't log in had to change my password. After that i could but now im getting another error "Forbidden url".

Same for me, login error, no special characters

same for me. login error. Credentials confirmed working on the Garmin portal.

Closing old ticket. normally installing, configure, and it will retry to connect and succeed at some point

Can we increase the error logging here at least to work out why I can't login.  The only error message I get is not detailed enough to work out what I've done wrong, but doesn't appear to be the rate limit .etc
Happy to submit a PR to improve the logging safely?


Remove ampersands from child selectors

Codecov Report

Merging #66 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #66   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      2
  Lines          44     45    +1
=====================================
+ Hits           44     45    +1

Impacted Files
Coverage Δ

src/index.js
100% <100%> (ø)
: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 e74d7a8...41a3e8e. Read the comment docs.


✨ Dagger: set buildkit network proxy

What are you trying to do?
I have problem with access github and some domain with my network, when I do some plans it required that resource, It got network error.
Why is this important to you?
No response
How are you currently working around this?
set global proxy for my PC.

Related: #1369

I can help test this as I am behind a corp proxy

That's awesome @nipuna-perera! cc @grouville

I can help test this as I am behind a corp proxy

Thanks @nipuna-perera nipuna-perera. Could you please ping me on Discord privately ?

Hello
Reproduce as follows.
Internet Direct is successful.
ubuntu@docker-net:~/dagger/pkg/universe.dagger.io/examples/todoapp$ git status
HEAD detached at v0.2.4
nothing to commit, working tree clean
ubuntu@docker-net:~/dagger/pkg/universe.dagger.io/examples/todoapp$ dagger do build > log.txt 2>&1
ubuntu@docker-net:~/dagger/pkg/universe.dagger.io/examples/todoapp$ echo $?
0
ubuntu@docker-net:~/dagger/pkg/universe.dagger.io/examples/todoapp$ tail -2 log.txt
{"level":"info","task":"actions.build.run._exec","time":"2022-04-20T08:03:54+09:00","time":"2022-04-20T08:03:54+09:00","caller":"/home/runner/work/dagger/dagger/client/client.go:316","message":"#14 8.466 "}
{"level":"info","task":"actions.build.run._exec","time":"2022-04-20T08:03:54+09:00","time":"2022-04-20T08:03:54+09:00","caller":"/home/runner/work/dagger/dagger/client/client.go:316","message":"#14 8.536 Done in 7.82s."}
ubuntu@docker-net:~/dagger/pkg/universe.dagger.io/examples/todoapp$

It fails with VPN.
ubuntu@docker-net:~/dagger/pkg/universe.dagger.io/examples/todoapp$ dagger do build > log.txt 2>&1
ubuntu@docker-net:~/dagger/pkg/universe.dagger.io/examples/todoapp$ echo $?
1
ubuntu@docker-net:~/dagger/pkg/universe.dagger.io/examples/todoapp$ tail -2 log.txt
{"level":"error","task":"actions.deps._dag.\"0\"._dag.\"0\"._op","duration":90067.1142,"error":"failed to copy: httpReadSeeker: failed open: failed to do request: Get \"https://registry-1.docker.io/v2/library/alpine/manifests/sha256:2689e157117d2da668ad4699549e55eba1ceb79cb7862368b30919f0488213f4\": dial tcp <IP_ADDRESS>:443: i/o timeout\n","state":"failed","time":"2022-04-20T08:35:53+09:00","time":"2022-04-20T08:35:53+09:00","caller":"/home/runner/work/dagger/dagger/plan/runner.go:164","message":"failed"}
{"level":"fatal","error":"task failed: actions.deps._dag.\"0\"._dag.\"0\"._op: failed to copy: httpReadSeeker: failed open: failed to do request: Get \"https://registry-1.docker.io/v2/library/alpine/manifests/sha256:2689e157117d2da668ad4699549e55eba1ceb79cb7862368b30919f0488213f4\": dial tcp <IP_ADDRESS>:443: i/o timeout\n\n","time":"2022-04-20T08:35:53+09:00","time":"2022-04-20T08:35:53+09:00","caller":"/home/runner/work/dagger/dagger/cmd/dagger/cmd/do.go:84","message":"failed to execute plan"}
ubuntu@docker-net:~/dagger/pkg/universe.dagger.io/examples/todoapp$

In the VPN environment, proxy proxy was set as follows.
environment variables
ubuntu@docker-net:~/dagger/pkg/universe.dagger.io/examples/todoapp$ env | grep -i proxy
no_proxy=localhost,<IP_ADDRESS>,mydomain
https_proxy=http://proxy.mydomain:8080
http_proxy=http://proxy.mydomain:8080

docker daemon
ubuntu@docker-net:~$ sudo -E systemctl edit docker
ubuntu@docker-net:~$ sudo systemctl daemon-reload
ubuntu@docker-net:~$ sudo systemctl restart docker
ubuntu@docker-net:~$ docker info 2>&1 | grep -i proxy
 HTTP Proxy: http://proxy.mydomain:8080
 HTTPS Proxy: http://proxy.mydomain:8080
 No Proxy: localhost,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,.mydomain
ubuntu@docker-net:~$ docker run --rm hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
2db29710123e: Pull complete
Digest: sha256:10d7d58d5ebd2a652f4d93fdd86da8f265f5318c6a73cc5b6a9798ff6d2b2e67
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

ubuntu@docker-net:~$

@grouville , I have pinged you on Discord. Do you still need help with this?

I can also help with this, located behind a proxy and dagger is using the proxy env variables.

Thanks for the feedback, I had to pause it for a bigger feature. But I'll resume it starting tomorrow 😇
If you think your issue is related to https://github.com/dagger/dagger/issues/2228, I'll had to dig a bit more because it's maybe a little too complex for me. Nevertheless, we prioritize it in the backlog 😇

@juaruipav I tried a quick repro, I've setup an HTTP proxy on a remote box. Configured HTTP+HTTPS proxy my local Docker Desktop (using the Mac OS version 4.9.1 (81317)). I tried a simple dagger do and few curls from a dagger actions. I can see all the requests properly proxied via the remote http proxy. Can you share more about your setup?

@juaruipav I tried a quick repro, I've setup an HTTP proxy on a remote box. Configured HTTP+HTTPS proxy my local Docker Desktop (using the Mac OS version 4.9.1 (81317)). I tried a simple dagger do and few curls from a dagger actions. I can see all the requests properly proxied via the remote http proxy. Can you share more about your setup?

Hi @samalba, sure here you have more details. Basically I'm using Ubuntu 18.04 behind a company proxy and using locally cntlm. One of the first steps of almost every example is to download alpine stuff via https, so we have the following output:
[✗] actions.deps #8 0.325 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz #8 5.331 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz #8 5.331 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/main: temporary error (try again later) #8 10.34 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/community: temporary error (try again later) #8 10.34 ERROR: unable to select packages: #8 10.34   bash (no such package): #8 10.34     required by: world[bash]
It's not a matter of connection because that .tar.gz is accesible via curl/wget. It looks like dagger internally is not using properly http_proxy/https_proxy ENV vars nor the docker network proxy configuration.
Could it be in your case you have already those containers in your cache so you don't see the message from above?
Regards,
JJ

Thanks for the extra context, I retried with the env vars on the docker client and it skips the proxy this time. It confirms that Docker Desktop actually redirect all the network from the docker vm to the proxy. I'll look for a fix.

@juaruipav @MarsMike @nipuna-perera if you have some time to spare, would you mind trying this fix? https://github.com/dagger/dagger/pull/2748 and confirm it works for you? I was able to forward all requests to a remote proxy successfully.
To try it out, you'll simply need to set HTTP_PROXY or HTTPS_PROXY in the same session where you run dagger do.

@juaruipav @MarsMike @nipuna-perera if you have some time to spare, would you mind trying this fix? #2748 and confirm it works for you? I was able to forward all requests to a remote proxy successfully.
To try it out, you'll simply need to set HTTP_PROXY or HTTPS_PROXY in the same session where you run dagger do.

Cool! Everything works as expected. Already commented in the PR. Thank you very much for the support! :+1:


Only storing 7 days of data in elasticsearch?

Hi,
I'm currently testing snowplow-mini in preparation for a production deployment of snowplow. An issue I just encountered is the good index seem to only hold 7 days of data? This is around 316k-456k+ docs. Do you know what is causing this? I.e. do does snowplow{-mini} have a setting/tool that clears the ES index except for the recent 7 days? Additionally, where is the rest of the data being stored? I don't see it in pg?
Thanks in advance!

Hey @brennebeck - can you ask support questions on our forums please:
http://discourse.snowplowanalytics.com/


✨: allow Object identifiers in embedded fields

Description
This extends getObjectIdentifier to recursively search for identifier field in embedded/anonymous fields, too.
Release Note
Release note for CHANGELOG:

NONE (addition to unreleased feature)

References
Generic client introduced in #56

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Codecov Report

Merging #71 (2b5841d) into main (53e2c92) will increase coverage by 0.29%.
The diff coverage is 92.85%.

@@            Coverage Diff             @@
##             main      #71      +/-   ##
==========================================
+ Coverage   55.06%   55.36%   +0.29%
==========================================
  Files          87       87
  Lines        3634     3665      +31
==========================================
+ Hits         2001     2029      +28
- Misses       1306     1308       +2
- Partials      327      328       +1

Flag
Coverage Δ

integration
43.72% <ø> (ø)

unittests
28.04% <92.85%> (+0.53%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/api/object.go
95.31% <92.85%> (-4.69%)
:arrow_down:

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 53e2c92...2b5841d. Read the comment docs.


change aname to model in master

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (592f084) 95.09% compared to head (ad5507f) 95.11%.

Files
Patch %
Lines

domainlab/compos/pcr/request.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #699      +/-   ##
==========================================
+ Coverage   95.09%   95.11%   +0.02%
==========================================
  Files         126      126
  Lines        4876     4876
==========================================
+ Hits         4637     4638       +1
+ Misses        239      238       -1

Flag
Coverage Δ

unittests
95.11% <95.45%> (+0.02%)
:arrow_up:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Wrong address with dynamic address

This one: https://ngmap.github.io/#/!map_with_dynamic_address.html

That lat/lng from address is given from Google. NgMap can do not much about thar

Thank you, for your response.

In my case what happens is that if I put the exact same coordinates or text in the center field manually or dynamically, I get different results. I have been trying exhaustively to find a work around but I haven't managed so far..


Ra dspdc 1688 refactor hca manage

Why
The code for the hca manage CLI has gotten rather difficult to read and the usability is questionable. We ought to break it up into discrete commands.
Relevant ticket
This PR
Refactors the CLI into separate commands (does not break up the underlying god object yet).

Also, it looks like you'll need to update the references to hca_manage.main in various Dagster pipelines.


Replace setup.py with pyproject.toml

Update Dockerfile and Jenkinsfile to use pyproject.toml/Makefile-based commands for installation/analysis/release
Makefile: Replace setup.py commands with pip/build, grep TOML version
Makefile: Consolidate source lists and add mypy_html recipe
More project URLs in pyproject.toml
Correct keywords/splits in pyproject.toml

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
8708

Relevant Lines:
10214

💛  - Coveralls


Drop rustc-serialize dependency

It has been deprecated: announcement.
Is there any functionality you would require from Serde or another library before this would be possible?

Based on a cursory look at the code, the substitution would be easy. Are you in favor, maintainer?

@sanmai-NL of course I am in favor, but I haven't much free time to work on this issue.

Hi.
I've tried to do the migration. This is actually not so simple as it seems since serde is using more Strings instead of &str. It's still doable at the price of some clones/unwraps that will probably change API a bit in some places.
Here's the patch with Directory migrated to serde_json::Value instead of rustc_serialize::Json:
https://github.com/Albibek/letsencrypt-rs/commit/61ba44c4a404fa3845e57a6b0474cf2127e6e890
Let me know if you are interested, I'll finish the migration. and submit a PR. Also let me know if you want to stick to some really fixed serde semver including minors - I'll change the versions as well.
Cheerz.

The equivalent of rustc_serialize::json::Json::as_string is serde_json::Value::as_str. Was that the only String vs &str issue you saw?

Oh my bad. I was wrong about this function, thinking it should do a full serialize. I will try again. Anyways, my question about you being interested is still actual :).

@Albibek thanks for working on this issue. Yes, we still want to drop rustc-serialize and use serde on this crate 👍
I believe we can achieve this without changing public API and unwraps. None of the public API functions are using a rustc-serialize type.


Connect to "button box"

Button box should control state buttons

https://github.com/uorocketry/rocket-code-2020/blob/master/groundStationSoftware/arduino/switch_bank/switch_bank.ino


Port Manager should support vif_type config for integrate with nova.

Nova creates a VM need a vif_type to start an instance. But now this field is null. I added a default value "ovs". We should  implement vif_type in future.

Issue is partially resolved by PR #320. Would need to a follow-up PR to have full vif_type support E2E.
FYI @er1cthe0ne Need some agent input here.

Issue is partially resolved by PR #320. Would need to a follow-up PR to have full vif_type support E2E.
FYI @er1cthe0ne Need some agent input here.

For vif_type, are we talking about the virtual NIC for the VM that could be OVS or Linux Bridge or vhostuser etc? If that's the case, defaulting to OVS is good for now. Will need to understand the need to support which vif_type on the E2E.
BTW, who decide which vif_type to use for the VM? Is it based on the VM type and/or customer selected option?

For vif_type, are we talking about the virtual NIC for the VM that could be OVS or Linux Bridge or vhostuser etc? If that's the case, defaulting to OVS is good for now. Will need to understand the need to support which vif_type on the E2E.

We referred to the type of mechanism that Alcor's API consumer (like Nova) will use to determine an appropriate way to attach a device (e.g. an interface of a virtual server) to the port.
Agreed "ovs" as a default value of "vif_type". Currently, available values defined in the controller include ovs, bridge, macvtap, vhostuser etc.
There are a few values that Neutron supports as of now which are a bit of special including hw_veb, hostdev_physical, distributed. We can discuss whether we would need to support those values.

BTW, who decide which vif_type to use for the VM? Is it based on the VM type and/or customer selected option?

This field is part of port binding attributes which are usually determined by administrative users in Neutron, not regular users. When an admin user sets up a cloud, it would have the opportunity to configure all kinds of these values.

@er1cthe0ne Can you pls check the latest status for this issue?

@er1cthe0ne Can you pls check the latest status for this issue?

Not update on this yet. I am curious to know the importance for Alcor to support other ways to attach a device other than OVS (e.g. bridge, macvtap, hw_veb, hostdev_physical, vhostuser, etc). @Gzure what do you think?
The next step is to update DPM<->ACA contract under port.proto to add vif_type in PortConfiguration. It doesn't have it yet.

Discussed this in the open-source community meeting. The need of supporting VLAN + Linux bridge is low due to lack of customer requirement. Will close this issue for now and revisit when needed.


Basic CM13 reagents

About the PR

partially #813
what this DOES add
the heal amounts, OD's crit OD's and processing speed of

bicaridine
meralyn
kelotane
dermaline
dexalin
dexalin plus

what this does NOT add

Localisation
guidebook
recipes (they're the same anyway)
inaprovaline, inaprov does not exactly heal airloss, it only prevents it from becoming worse in crit

Technical details
CM chemicals have CM before the ID, E.G. CMbicaridine
CM chemicals have CM before the name in the locale thing E.G. reagent-desc-CM-bicaridine
all chemicals taste like themselves
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl: JoeHammad

add: ported some medicinal reagents from CM13

test fail erroneous

Can't seem to bring up these chemicals in CM14 on your branch to see their colours etc, unlike the CM sodas. This is likely because the YML is invalid. Which is weird because the YML linter is passing despite errors..
For starters,

Rider is telling me the yml is wrong or something, see image (This is the case for every reagent in this pr)

If the name/desc is just upstream like bicaridine's name, it can use upstream's localization and doesn't require unique localization
Is one damage per unit correct? If I remember correctly cm13 chems use a scaling system which might require further investigation. If it's just a placeholder value, mark it with # TODO CM14.

Also on the todo list which can be completed in this PR

You're missing the localization file for the reagent names and descriptions.

I suppose when you're done with this if you're still interested you could also create the chemical reactions to make these new chems if they have any.

bicaridine heals 1 brute damage and processes 0.2 units per second, this is how it's done in CM13

havent worked on this for a long while and i likely wont again, feel free to re-use the code

I will try picking this up.


CONTRIBUTING.MD is incorrect or package.json is missing a script.

Describe the bug
In the CONTRIBUTING.MD file step 2 says to start the webpack server.
## Start the webpack dev server
yarn build:watch

But this script is missing from the scripts object in package.json.
Steps to reproduce

Clone the nextui repo
Click on package.json
Run yarn build:watch
See error Command "build:watch" not found.

Expected behaviour
Root package.json should contain the script build:watch if it is needed to work on components source code.
Screenshots

Hey @andrew3009, thanks for reporting it, is already solved 🙌🏼


How to scale up cropper ?

Hello to all, i want to somehow scale up the cropper view , now is like this i have crop area of {60px x 120px}. I wanto to have it bigger so i can better see crop area.

This is an edge case that is not properly handled for narrow vertical images. Are you using the latest version?

I'm using 3.2.1 version

Could you please provide an example on Codesandbox so that I better understand what's going on?

Yeah sure,  https://codesandbox.io/s/react-easy-crop-demo-with-cropped-output-forked-kl5gu?file=/src/index.js
This is not a bug but just some way what i can do to make scale up frame.
What i want is this now the crop area is small i d like to keep ame crop size 60x120 but just to scale i tuo example :

I think you could use a different approach: use aspect={1/2} instead of the cropSize property and only resize to '60x120px' after the crop is done (in the getCroppedImg() logic).

Oh it make sense now i tried that but i use different aspect and that make picture go very wide, aspect={1/2} make it for me, u can close it now, thank u for having time to help an explain i will leave my getCroppedImg() here if someone needs it.
export default async function getCroppedImg(imageSrc, pixelCrop, rotation = 0) {
  const image = await createImage(imageSrc)
  const canvas = document.createElement('canvas')
  const ctx = canvas.getContext('2d')

  canvas.width = 60
  canvas.height = 120

  ctx.drawImage(
    image,
    pixelCrop.x,
    pixelCrop.y,
    pixelCrop.width,
    pixelCrop.height,
    0,
    0,
    60,
    120
  )

  // As a blob
  return new Promise((resolve) => {
    canvas.toBlob((file) => {
      resolve(URL.createObjectURL(file))
    }, 'image/png')
  })
}

I think having a cropSize is the source of the confusion. I actually never liked it to be honest and regret accepting the PR adding it... 🙈
The original goal of this component is to be responsive and having a hard-coded cropSize cannot work for this. This is why we have the aspect property that deals with responsiveness for you.

Definitely agree, when i was start using cropSize i was hoping i will get image cropped to that size, as u can see i edited getCroppedImage to make it export image with that size.
Maybe in future add new function that will do just this, cause having cropSize and not crop it to that dimensions is weird. I know that package is made for responsiveness but i think people would also use this function a lot !

The thing is that the actual cropping logic is not built in the library. It's only provided in the demos as an example. It's the developer responsibility to implement any logic in there.

Yep, but when u start with package it's not written anywhere, "Basic Usage" in readme is also without custom logic for exporting image and that also confuses people on some way as they think this it will work out of box, its just little bit confusing when u starting to catch up all what is happening. But beside that package is very useful keep up good work hope it will be better and better !

I think its still good feature, there are a use case when the crop size is determined and its really convenient feature to have in that case

@laptopmutia are you talking about the function to output the cropped image?

Hey @ValentinH , maybe you can help me, i am having a similar issue.
I want the image crop frame to always be the same size, but it seems the size changes depending on the ratio of the image.
Please see the video recording below.
The first image has a nice big frame, the second image the crop frame shrinks, how would i get the frame to always be the same size?
https://user-images.githubusercontent.com/57114335/140616833-21a6070e-b058-4044-9cf5-6d87b33e9d2e.mov

The objectFit prop with horizontal-cover value should what you need. See https://codesandbox.io/embed/react-easy-crop-forked-p9r34

Hi, @ValentinH
It would be better if the Cropper view fits its parent container. I have tried the "objectFit" and "aspect" attribute still doesn't fit the parent conatiner. I have override the style of the cropper view, but it effects the cropped position of resultant image.
Thanks !!

I'm not sure to understand what you want and why the solution in my last comment doesn't work for your use case. Could you detail a little bit, with some visuals maybe.

Hi @ValentinH
I have attached an image.
Tha image fits the parent conatiner, but the cropper view doesn't. Is there any way to fit the the cropper view to the size of the parent. I tried to override cropper view's style,  but it effects the cropped position of resultant image .

Thanks

What objectFit property did you use? Did you try to give the cropped the same ratio as your parent div?

What objectFit property did you use? Did you try to give the cropped the same ratio as your parent div?

This is what I have given ObjectFit={1}

This is not a valid value, please have a llokyto the documentation and the objectFit demo.

I got the solution for this problem by get the uploaded image size and set objectFit attribute in
<Cropper
  ...
  objectFit={width > height ? 'vertical-cover' : 'horizontal-cover'}
/>

I wonder if there is this option automatically in the library from the previous comment

What do you mean?

I meant
<Cropper
  ...
  objectFit={width > height ? 'vertical-cover' : 'horizontal-cover'}
/>

as the cropper already deals with image size and for us to don't need to load then to get its size and pass the proper objectFit, should be nice if we could see an option like that in the cropper iself, like best-fit or something. to set vertical or horizontal cover based from image proportion. I can record a screencast of the problem I'm facing now

This is a great idea. I would call it "auto-cover".
Would you like to do a PR? 🙂

Sure, I'll open in next week.

Hi! Any updates on the "auto-cover"? I'd happily jump in and help as I need this feature too.

As far as I know, no work was started on this so feel free to create a PR if you want 😎

Hi @ValentinH !
Could you help me with this?
I am trying to crop an image to an exact size (let say 800 x 400 px). I can't use "aspect", instead I used the cropSize parameter and passed "{width: 800, height: 400}" but it's not working.
When I check the croppedAreaPixels in onCropComplete method it changes depending on the image real size. I thought cropSize would fix the size at this stage. I don't want to set the width and height in getCroppedImg logic because it ends up cutting an extra piece of the image.
What should I do?

I just found my answer here: https://github.com/ValentinH/react-easy-crop/issues/176 . However, It would be better if the cropper could fit the real cropsize

Definitely agree, when i was start using cropSize i was hoping i will get image cropped to that size, as u can see i edited getCroppedImage to make it export image with that size.

Has the function of cutting fixed sizes been provided? What should I do？

hello, I want full width crop and heigh will be auto

You should try the objectFit prop and set it to "cover"

You should try the objectFit prop and set it to "cover"

I want full width base crop and height will be auto


Link GroupPolicyDsc resource

Closes #101

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

Task list

[ ] This PR changes documentation
[ ] This PR changes DscResource.Template

[ ] Updated documentation as necessary in the TEMPLATE_README.md.
[ ] An descriptive entry has been added to the change log
in the TEMPLATE_README.md.

[ ] This PR changes Tests.Template

[ ] The template version number has been increased appropriately.
[ ] An descriptive entry has been added to the CHANGELOG.md under the
Tests.Template folder.

This change is

New resource module submission
Name: GroupPolicyDsc
Repository URL: https://github.com/corydwood/GroupPolicyDsc
Short description: This module contains the GPInheritance, GPOImport, and GPOLink DSC resources.
New resource module submission task list
This task list can be filled in after the issue has been submitted.

[] Pass the Quality Governance
[x] Pull request is sent in (see next section).
[x] The new module submission in ready for community review.

Steps that pull request should include

[x] Added submodule using git submodule add https://github.com/<accountname>/<reponame> DscResources/<reponame>.
[x] Updated resource module list in Maintainers.md.

Community acceptance

Community reviewers: Please submit a comment on the issue for each box that are checked so the
community know who accepted the item.
The new resource module:

[ ] is licensed under MIT.
[ ] has the correct project structure.
[ ] has a dev and master branch, and dev should default branch.
[ ] is using DSC Resource Kit test templates.
[ ] is connected to Codecov or similar.
[ ] has established a code of conduct in ether a CODE_OF_CONDUCT.md or a
'Code of conduct' section in the README.md.
[ ] has either a CONTRIBUTING.md file or a 'Contributing' section in the
README.md file.
[ ] has included the metadata tag 'DSCResource' in the module manifest.
[ ] is sufficiently documented.
[ ] has an established CI process for each push to the repository.
[ ] is sufficiently tested.
[ ] Follows the guidelines set out for a
High Quality Resource Module.

Submission acceptance
The community accepts, at a community call, that a resource module follows the
guidelines set out for a
High Quality Resource Module.

[ ] The resource module was accepted for submission in a community call.

I of course meant with the review comment if your repo can change to the appveyor.yml template 😄

Disabled the Stale bot and changed the labels.
Also talked to Cory who'll get back to this as soon as he can.

I have permission on the repository, and I will see if I can get this resource in good shape for next Community call where we'll be able to reconsider this.

As announced during the last community call, we'd love to have this as part of dsccommunity.
@corydwood gave me permissions to the repo and I'll try to get this re-homed when we transfer to the new GitHub organisation in a few weeks.


Model->validate  have  a bug  !!!!

What steps will reproduce the problem?
当我没有输入任何参数的时候，竟然没有报错，我的Model里面定义了必填的

this is  login()

What is the expected result?

What do you get instead?
只好手写代码验证是否为空了
Additional info

Q
A

Yii version
2.0.22

PHP version
7.3.6-nts

Operating system
win10 1903 x64

What is the code of your login() method?

@samdark

What is the code of your login() method?

@samdark
that is great，  With pleasure，  thank you  !!

Did you mean to set the formName param of load to an empty string?
It could be returning false here so it never gets to the $model->login() condition.
if ($model->load(Yii::$app->request->post()) && $model->login()) {
  // ...
}

Yes, that is likely what happens.

Did you mean to set the formName param of load to an empty string?
It could be returning false here so it never gets to the $model->login() condition.
if ($model->load(Yii::$app->request->post()) && $model->login()) {
  // ...
}

@samdark
catch a empty when no paramer was filled in

catch a errors   when fill  only one paramer

Could you try
var_dump($model->load(Yii::$app->request->post()));
var_dump($model->login());

So we can determine if something fails here?

Thinking about this more if you don't provide any POST data load() will return false and never reach the validate method.
If you only provide one value in the POST it will load and reach the validate method hence the odd issue you're having.
If the POST was from a <form/> it would have empty values which would be loaded.
Is this for a REST API? If so you could ignore the result of load() and just run login().
$model->load(Yii::$app->request->post());
if ($model->login()) {
  // ...
}

Need a test set to reproduce the issue. Then we'll be able to fix it in case it's not designed behavior.

@samdark I think it's working as expected. It's just the way their actionLogin works.
If there's no POST data load() will return false and it won't get to the login() method hence no validation.
If only one value is provided load will succeed and it'll get to the login() method and perform validation.

Looks like so. Closing issue for now. @huaiguoguo if you'll get a test case I'll reopen it / verify validity of the issue.


Hi there, how to use this mod please?

Per title, unzipped to beat saber folder. Nothing is showing in game, it's not showing under the mods menu.

Can't reproduce.

Sorry could you just explain? I am asking how to use the mod. I have downloaded and put it where i think is the right place but nothing is happening, therefore I came looking for instructions?


Incomplete documentation

Hi,
Customer has come back to us saying, that the provided info on this page is incomplete/incorrect, as it requires some customization in order to work properly. Solely performing a setup is not sufficient - as described in this blog article:
https://cloudblogs.microsoft.com/dynamics365/no-audience/2018/12/14/extending-the-extended-logon-functionality-for-mpos-and-cloud-pos/
Please include the info from the blog to reflect the required customizations - esp. with regards to the barcode setup.

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

ID: 44d8654f-de0f-8263-7de3-07f27de99c2a
Version Independent ID: c5928e21-a412-b45d-5cc4-7f9c9de02109
Content: Set up extended logon functionality for MPOS and Cloud POS - Retail | Dynamics 365
Content Source: articles/retail/extended-logon.md
Service: dynamics-365-retail
Product: ****
Technology: ****
GitHub Login: @rubencdelgado
Microsoft Alias: rubendel

@mueckeflo, thanks for making us aware of this!
@rubencdelgado, please review and update the topic as needed.

Bug 394133 has been logged to track this issue.

This issue has been reviewed and bug 409753 has been logged to fix the sample, instead of the documentation. Closing this issue because the "fix" won't be made in this topic.


[DNM] Batch cherry-picks for testing

This is so we can test 5.7 branch picks of #469, #470, #471, and #482 all at once, along with some others.

If this needs to be coordinated with https://github.com/apple/swift/pull/59555, then it makes sense to merge together. Otherwise we lose most of the value from a batch PR "just for testing".


Remove logger server

#6894
LoggerServer has been integrated into Master and Worker, update the documentation

@zhongjiajie Thanks, I have submitted the relevant changes


[🚀] 2.1.0 RC

📲 What
Updated strings, configs, version codes and names post 2.1.0 RC creation.
🤔 Why
We're going to the Play Store baybeeeeee

Makes sense to move this forward whenever you’re ready - thanks, Izzy!


Result of the bench

Thank you very much for your tool. From the result, I guess zlib1 makes sense as it compresses compared to zlib0 and is not that bad compared to more aggressive compression schemes (which take much longer). What do you think?

Uh, reading the code after learning python I am tempted to delete this repository and never show it anyone again. xD I should really rewrite the tests!
Anyways, concerning your results: Yes, zlib,0 is 'no compression' and sort of pointless.
In your case, zlib,1 would be the best time/rate trade off. lzma is extremly slow and only an option if space/bandwith is really important. Generally zlib,6 is a sane default for most users.
But since Borg 1.1 (which will be release very soon), Borg supports auto compression. It tries to compress the first few kilobytes with lz4 (which is very fast) to see if the file is compressible at all. If so, it uses a good compression. If not, it will use the fast lz4.
This should improve the time massively while keeping most if the compression benefits. I'll see if I can incorporate this into the benchmark when I ever get to cleaning up the code.


Azure login takes ~ 3.50 minutes which is too long for simple login..

Below snippets hold the session for almost 4 minutes -
Run azure/login@v1
/usr/bin/az cloud set -n azurecloud
Done setting cloud: "azurecloud"
Running Azure PS Login
/usr/bin/pwsh -Command try ***
            $ErrorActionPreference = "Stop"
            $WarningPreference = "SilentlyContinue"
            $output = @***
            $data = Get-Module -Name Az.Accounts -ListAvailable | Sort-Object Version -Descending | Select-Object -First 1
            $output['AzVersion'] = $data.Version.ToString()
            $output['Success'] = "true"
        ***
        catch ***
            $output['Error'] = $_.exception.Message
        ***
        return ConvertTo-Json $output
***
  "Success": "true",
  "AzVersion": "2.3.0"
***

It has probably happening because of  $data = Get-Module -Name Az.Accounts -ListAvailable | Sort-Object Version -Descending | Select-Object -First 1 .
May be we can use a container which already has Az module installed so it doesnt take that long to download Az.Account module?

I have same issue. In my case it's consistently > 1min to login
      - name: Azure Login
        uses<EMAIL_ADDRESS>        with:
          creds: '{"clientId":"${{ secrets.ARM_CLIENT_ID }}","clientSecret":"${{ secrets.ARM_CLIENT_SECRET }}","subscriptionId":"${{ secrets.ARM_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.ARM_TENANT_ID }}"}'
          enable-AzPSSession: true

have the same problem, any news?

None ..

hey @deepend-dev, We used similar workflow which is taking 50s-1min approximately to login with ps session enabled. PFA screenshots of multiple workflow runs and workflow file snippet.

Please let us know if you are seeing this as a continuous behavior.

The issue seems to be related to enabling enable-AzPSSession: true which I need for the Powershell action.

@dkirrane
As from our understanding, there are some performance issues coming up in the Powershell scenario i.e. when 'enable-AzPSSession` is set true.
The above screenshots shared by us are also for the same scenario which show execution time to be approximately one minute. Is this the same time your workflows are taking in this scenario? Also let us know if this is the continuous behaviour?

@BALAGA-GAYATRI
Yes consistently around 1 or 2 mins

Thanks @dkirrane.
@BALAGA-GAYATRI can we get a breakup in logs on where the time is spent on where the max time is spent. We can discuss with Powershell team if Connect-AzAccount is consuming time.

Even a default login is very slow. 12 seconds? It should be at most 2 seconds. What is going on here?

Any update here ?

@ricardocmartin Are you using a GitHub hosted runner or a self-hosted runner? Can you share your workflow and run logs. I shall try to understand the reason for it taking this much time.

Any update? I'm also having this issue - I am using a GitHub hosted runner.

@johncclayton The issue with GitHub hosted runner should be intermittent and retrying after some time should fix the issue. Let us know how much time its taking for you to login and also let us know if you are doing PowerShell login. This will help us understand the issue if any.

We have analyzed the breakup logs and observed that Get-Module was taking around 30s-1min. Get-Module is a PS command used for importing the required modules to the execution context which are already installed. Since the implementation of the command lies with PowerShell itself, I would encourage raising an issue there itself. In our action, we are just getting the latest az module using this script.
Reference issue which I found in Powershell.

Hi @tobiasdiez ，
Since it's a closed issue, could you open a new one for your case with the following details:

the workflow file content
the log of running the login with debug mode
other information if related: the runner information (GitHub-Hosted or Self-Hosted, installed software, specific config or setup, ...)

Thanks.


response.body is "" even though .to_return(:body => "return") is set

I'm writing unit tests for a Rails service using minitest. A snippet of my test looks like this:
stub_request(:get, @service_url)
        .with(:headers => @authheader)
        .to_return(:body => "ABC", :status => 200)
get :index

After the get :index, response.code is 200 as expected (and I've changed it to 201 in the .to_return and seen that code be correct after get :index, but every time response.body is "".  :)
Thanks in advance
minitest 5.8.2
webmock 3.0.1
rails 4

Haven't solved it but have narrowed down it's not webmock. I'm testing a route that calls another route, everythign from webmock is coming back fine (sorry) but the response is getting lost along teh way back from the 'outer' controller. closing the issuee.


How to prevent getting .DS_Store file changes reportings?

First of all, thanks for code sharing. I need to implement an own DirectoryWatcher with the following actions and with the corresponding filePaths:

file added
file removed/deleted
file renamed (from -> to)
file movedTo (from -> to)

So watching a directory I need to be informed when a file is removed/deleted, added or renamed incl. the full file path. Is it possible to use your implementation for that?
If so, how do I prevent reportings on "hidden" files like .DS_Store
Thanks in advance for your help!

That would require using a newer version of the FSEvents API to monitor files as well as directories. Also, the logic to ignore files would be much larger than the current utility. It really sounds like this is not the right tool for what you want to do.


Fix/page two instructions

Bug fix.

This pull request fixes 1 alert when merging 085b160e5c87df92d74c2f795e1fd977776191ad into 55a2fa79a1cd98058dbf7f681c7583e10fb60cb3 - view on LGTM.com
fixed alerts:

1 for Implicit operand conversion

Comment posted by LGTM.com


How to edit blobs?

Hi,
Thanks for the repo. It is pretty interesting to play around.
I am wondering how do I edit the blobs to make things vanish? Presumably, I will be editing the outputs from the inversion models, right? So, how should I do that?
Best,
Jian

Hi,
I'm not sure I understand the connection to the inversion model (which would only be used if you wanted to remove things from a real image vs. a generated one). For a code example of resizing/removing a blob, you can do this:
layout = model.generate_layout(z, truncate=truncate, **model.render_kwargs)
layout['sizes'][batch_idx, [i + 1 for i in blob_idxs]] -= delta
new_layout, img = model.gen(layout=layout, **model.render_kwargs)

# Visualize in notebook
from torchvision.utils import make_grid
import torchvision.transforms.functional as F
F.to_pil_image(make_grid(out, normalize=True))

For more examples of how to change layout to modify the rendered image, you can see here.
Hope this helps!

Hi @dave-epstein , great work and thanks for making the code public!
Can you also show us how to get the results in Fig. 6 of the paper, where the styles are swapped? I tried by simply swapping the style vectors (spatial style) of the blob corresponding to the bed, splatting the features, and regenerating the image, but could observe hardly any changes in the image?
Below is the result that I get. Can you please point out what's the correct way to obtain these results? Thank you.


API versioning

The [RTCPeerConnection API] (https://rawgit.com/w3c/webrtc-pc/master/webrtc.html) utilizes RTCConfiguration in the RTCPeerConnection constructor.
In practice, RTCConfiguration has been extended to enable API versioning, so as to enable the transition from the "Plan B" SDP dialect to "Unified Plan".
How does versioning work in the Mixed Reality SDK?  Does the MR SDK use "Plan B" or "Unified Plan" by default?  Is it possible to specify a non-default API?
Note that the "Plan B" API dialect has been deprecated and could be slated for removal from Chrome and Edge as soon as 2020.

Hi @aboba,
This is an excellent question, I was thinking yesterday of documenting that part, so good timing. Currently MixedReality-WebRTC is based off the m71 milestone of Google's webrtc code. In this version Plan B is still the default, and there is currently no parameter exposed to switch to the Unified Plan, simply because there was no demand so far so I didn't have a look at whether it is feasible nor how.
For completeness, there is some on-going work in the background to upgrade MixedReality-WebRTC to the m75 milestone, which has the Unified Plan active by default since m72. But that one might take some time, as I have other priorities for the next 2 milestones based on feedbacks from partners.
In the meantime, if you feel the need to have that configuration exposed then we can have a look at how to do that. I am assume that this is just a matter of changing the RTCConfiguration::sdp_semantics field, but that would need some testing. If you have some experience doing that and can confirm, I will try to find some time to squeeze some testing and try to expose that parameters, that seems easy enough if there is nothing else to do.

The default semantic is now the Unified Plan. Added an option to fall back on Plan B if needed, for compatibility. See 87e15921ab91d16f3e56a888353df11e8faba397.


Bug in getOne method ?

Hi,
I try to use the getOne  method as this:
$apiKey = '..............';
$request = new \Paymill\Request($apiKey);
$transaction = new \Paymill\Models\Request\Transaction;
$response = $request->getOne($transaction);

But I got this error:
PHP Notice:  Undefined index: id in /home/j_deniau/code/website/vendor/paymill/paymill/lib/Paymill/Services/ResponseHandler.php on line 177
PHP Stack trace:
PHP   1. {main}() php shell code:0
PHP   2. Paymill\Request->getOne() php shell code:1
PHP   3. Paymill\Request->_request() /home/j_deniau/code/website/vendor/paymill/paymill/lib/Paymill/Request.php:101
PHP   4. Paymill\Services\ResponseHandler->convertResponse() /home/j_deniau/code/website/vendor/paymill/paymill/lib/Paymill/Request.php:168
PHP   5. Paymill\Services\ResponseHandler->_convertResponseToModel() /home/j_deniau/code/website/vendor/paymill/paymill/lib/Paymill/Services/ResponseHandler.php:65
PHP   6. Paymill\Services\ResponseHandler->_createTransaction() /home/j_deniau/code/website/vendor/paymill/paymill/lib/Paymill/Services/ResponseHandler.php:93
PHP Notice:  Undefined index: amount in /home/j_deniau/code/website/vendor/paymill/paymill/lib/Paymill/Services/ResponseHandler.php on line 178
PHP Stack trace:
PHP   1. {main}() php shell code:0

................

As far as I debugged the code, I found that the executed code is this one and  the $response['body']['data'] object is an array containing only one entry (because we used the getOne function). So the convert method do not know how to work with an array of array.
If I use the getAll function, then it does not try to convert the response body and return an array (instead of objects).
Thank you.

Hi
Can someone tell me how to create a checksum for Paypal! I need to integrate paypal in paymill .
Any help please! thanks


[Regression] Fix search after buckets optimize

Closes #3349

Get-LocalBucket will return $null if folder does not exists, or is empty. So if this function return something, add $null for main. With actual implementaion there was two runs of main bucket when empty @($null) + @($null)

That main bucket is messing with me in each PR 😂

Now it print an unwanted Updating '' bucket... when running scoop update  😂
> scoop update

Updating Scoop...
Updating '' bucket...
Scoop was updated successfully!

Okay, screw this. Lets make this when extracting main bucket. (#3531)


DOCS: adding publications to about page

Adds MSK MIND publications to about page on documentation site.

Codecov Report

Merging #341 (272baad) into dev (2aa1442) will decrease coverage by 14.10%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##              dev     #341       +/-   ##
===========================================
- Coverage   74.58%   60.48%   -14.11%
===========================================
  Files          36       28        -8
  Lines        2066     1721      -345
===========================================
- Hits         1541     1041      -500
- Misses        525      680      +155

Impacted Files
Coverage Δ

...a-pathology/luna/pathology/common/build_geojson.py
15.64% <0.00%> (-55.11%)
:arrow_down:

...hology/luna/pathology/common/slideviewer_client.py
36.36% <0.00%> (-47.28%)
:arrow_down:

...na-pathology/luna/pathology/dsa/dsa_api_handler.py
27.32% <0.00%> (-36.65%)
:arrow_down:

...una-pathology/luna/pathology/cli/generate_tiles.py

...luna-pathology/luna/pathology/cli/generate_mask.py

...una-pathology/luna/pathology/spatial/transforms.py

pyluna-pathology/luna/pathology/dsa/utils.py

...pathology/luna/pathology/cli/dsa_annotation_etl.py

...thology/luna/pathology/cli/run_tissue_detection.py

...logy/luna/pathology/cli/extract_tile_statistics.py

... and 12 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 2aa1442...272baad. Read the comment docs.


Add more websites

Ok, i'll try my best!

Thanks for the links! If you have any more, you can set up an issue for more links to add to my site!


Non-base58 character when i try signing a transaction

i keep getting this error when i try signing a transaction with a private key generated by tronweb, it hasn't happened before and it just started all of a sudden

It seems like you have passed the wrong address to the function call argument. Please recheck it.

hello, were you able to fix error? cause i have same error


Link to page running.

Link the running page in the repository description.

Why?

To flex on dem nubs duh

se kam hostu akoma tek netlify :P


[HA 2023.09.0] Deprecated forecast

After update HA to september patch. HomeAssistant reporting issue with integration:

The met_next_6_hours_forecast integration is using deprecated forecast
The integration met_next_6_hours_forecast is using the deprecated forecast attribute.
Will stop working in version 2024.3.0
Please report it to the custom integration author..

For more info:
https://www.home-assistant.io/blog/2023/09/06/release-20239/#weather-forecast-service

Fixed in v1.1.1


19 - set selection fix

Overview
This PR fixes an issue where shouldComponentUpdate doesn't take into consideration any selection change, therefore it doesn't re-render. I've also included some nice little updates.
Updates

Updated shouldComponentUpdate
Renamed LICENSE and README to consistent naming conventions
Updated .npmignore to ignore extra files/folders
Added .github templates so we can get some useful information on PR's 💃

Dependencies
N/A
Outstanding Tasks

[ ] Functional testing using a beta version
[ ] Update example 🤔

Nice work @jonathanchrisp. Would be good to update the example so we can verify it and use it as test for future

@jonathanchrisp  @willmcclellan  I added example #24

Sorry @chocholand, we've been pretty busy, I'll try and get round to this in the next day or so.

@willmcclellan merged the example that @chocholand added in the other PR.

Hey @chocholand, I've published a new beta version for this package 1.3.4-beta. If possible are you able to test to ensure this version works as expected? We'll test our side also but just want to double check this resolves your original issue before merging.

@jonathanchrisp
I reproduced in chrome. #19
you can check if you put "debugger;" at 122 line in Timeline.js.


I'd like to color everything (background, strokes, etc.)

Hello! Thanks for this great tool, I'm trying it out for my first time right now. :)
It doesn't seem that everything is colorable - this is disappointing, as I want to generate diagrams with a purple-ish background and white box strokes. How can I change the background color for an entire view/diagram (or for groups / parent boxes)? How can I change the stroke color for the enterprise grouping?
My inference is that I'll need to do these final colorations in SVG post-processing steps, which is undesirable.

How can I change the background color for an entire view/diagram (or for groups / parent boxes)?

This isn't possible at this time.

How can I change the stroke color for the enterprise grouping?

See "Boundaries and groups" at https://structurizr.com/help/notation


editing a request, the resource implication (and possibly other fields) disappear

When user edits the resource implication, the value is being shown in the course when edited
[Story Points: 1]
[Priority: Medium]
[Risk: Medium]

@JamesPartsafas The issue appeared to be from the backend.
The resource implication is returned empty by the backend


[ivshmem] correct various issues and nits pointed out by ladipro

This corrects various issues with the driver in it's existing state, but as @ladipro has suggested there is a better way to handle the interrupt events which will be implemented when I have more time.

@ladipro I am in rather urgent need of this driver being built and signed even if just for private usage at the moment, is there any chance of this being possible? I am able to offer some (very limited) funds if that would help get this pushed through sooner. I need to be able to run my development environment outside of test-signing mode as the application I am interfacing with contains anti-piracy measures which includes refusal to operate if windows is in test signing mode.

at the moment we don't use the upstream repository to build our publicly
available drivers.
however we might be interested in starting this process in nearest future.
Give us a couple
of days to see what can be done toward solving this issue.
Best regards,
Vadim.
On Mon, Oct 30, 2017 at 3:35 AM, Geoffrey McRae<EMAIL_ADDRESS>wrote:

@ladipro https://github.com/ladipro I am in rather urgent need of this
driver being built and signed even if just for private usage at the moment,
is there any chance of this being possible? I am able to offer some (very
limited) funds if that would help get this pushed through sooner. I need to
be able to run my development environment outside of test-signing mode as
the application I am interfacing with contains anti-piracy measures which
includes refusal to operate if windows is in test signing mode.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/virtio-win/kvm-guest-drivers-windows/pull/175#issuecomment-340275440,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABdKWx19NNYVIOryu45Jo7XiLaXNos4_ks5sxKlcgaJpZM4QCmyk
.

@vrozenfe Thanks for the information. I removed my comment when I realized I could purchase a cheap enough certificate to sign a private copy with. This is no longer an urgent matter.

just make sure that you are buying one that can be cross certified ( https://docs.microsoft.com/en-us/windows-hardware/drivers/install/cross-certificates-for-kernel-mode-code-signing ) otherwice try checking reactos project, iirc they used to provide kernel binary sighing for free.

Signing with Visual Studio: https://docs.microsoft.com/en-us/windows-hardware/drivers/develop/signing-a-driver-for-public-release
Signing with Visual Studio will be an easier option if you are new to Windows drivers development. Pay attention that the changes are saved in .user file of the project and *.user is in .gitignore - so don't miss it if you are committing changes to your local git repo.
You can achieve the same using signtool.
Signing with signtool: https://msdn.microsoft.com/en-us/library/windows/desktop/aa387764(v=vs.85).aspx


[Question] okhttp3 when 302

when 302 error, the server add a cookie value in response header, need next request set cookie.
but, i dont know how to set cookie at next request.
pls help me,  thanks very much

Please ask questions on Stack Overflow.

HI, @swankjesse .
i fixed cookie question with new OkHttpClient().newBuilder().cookieJar, but i don't understand the 302 request is a post method,the redirects request change to a get method. the redirects get method request no from(param)
like this:
.
Disturb you，because Stack Overflow no answer.
thakns very much.

Please study the code and the specs. That's the best way to learn!