Added BZip2 and Zlib compression code to project

Added BZip2 and Zlib compression code to MpqTool project.  Removed SharpZibLib dependency.
Both these compressions libraries are from dotnetzip and are much faster than SharpZibLib.

Yes, I parsed through 100 of my latest replays. It took about ~54 seconds
for sharpziplib while it took only ~32 seconds for dotnetzip.
On Wed, Oct 11, 2017 at 9:41 AM, Ben Barrett<EMAIL_ADDRESS>wrote:

Thanks for putting this together :) I'll try to look into it this weekend
Did you compare these libraries for extracting replay files?
When I Google the two, my first impressions are that some users think
dotnetzip is faster for compression, but it doesn't seem to really matter
for extracting files
I'll try it out locally either way and see if it's a noticeable improvement
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/barrett777/Heroes.ReplayParser/pull/59#issuecomment-335833891,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIko6uO-9L3QKUYMdqY-MsTEza93fzLbks5srNOsgaJpZM4P02Ik
.

That would be delightful!  I'll try it out soon

This is good :) Though I'll add it in a separate commit, just using a NuGet package
I personally see ~20% faster replay parsing, which is really great for such low effort

The reason I added the code files to the project instead of a Nuget package
was because dotnetzip is not compatible with .netstandard.  By adding the
nuget packge, it breaks the .netstandard solution.
On Wed, Oct 11, 2017 at 10:54 PM, Ben Barrett<EMAIL_ADDRESS>wrote:

This is good :) Though I'll add it in a separate commit, just using a
NuGet package
I personally see ~20% faster replay parsing, which is really great for
such low effort
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/barrett777/Heroes.ReplayParser/pull/59#issuecomment-336013674,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIko6h353XcvYKk5j2aLDEBI30VKzPiTks5srY17gaJpZM4P02Ik
.

Ah I see.  I'd rather not bring in all the files into this project though
The .netstandard project may just need to stick with SharpZipLib.  Maybe the DotNetZip NuGet will support .netstandard in the future
If this is important to you, you'll probably just need to keep these changes in a local branch

I suppose so.  I'll fix up the .netstandard solution later if you haven't
by then.
On Thu, Oct 12, 2017 at 12:01 PM, Ben Barrett<EMAIL_ADDRESS>wrote:

Ah I see. I'd rather not bring in all the files into this project though
The .netstandard project may just need to stick with SharpZipLib. Maybe
the DotNetZip NuGet will support .netstandard in the future
If this is important to you, you'll probably just need to keep these
changes in a local branch
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/barrett777/Heroes.ReplayParser/pull/59#issuecomment-336200443,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIko6kZ_C69UEpTMrfjnybyLag2i5CPlks5srkXWgaJpZM4P02Ik
.


Update version info (1.20.4 version works on 1.20.6)

Please update this mod's description/info to include support for 1.20.6 (just tried it on my world & it all checks out fine). I haven't tried 1.20.5 but since .6 is just a quick spot-patch on .5 I can't imagine it's any different, though you may want to confirm it

Done, thank you!


Allow user_parameter to be configurable.

I created a subclass of User with scoping that restricts the login/password reset ability of certain users. But doing this, changes the url parameter used in specs.
For example, with config.user_model = ClearanceUser, the routes expect users/:clearance_user_id/password.
In order to maintain the routing/naming structure of user_password_path, I needed to be able to force the named parameter to :user_id.

Merge this PR, please. I'd like to be able to use a column other than "id" for my user routes.

@lostmahbles this is pretty old, so sorry about late reply here.
Can you clarify a little what the scenario is that causes the problem this would fix?
There are a few places in controllers where we use either user_parameter or user_id_parameter to make sure we do a lookup on the right thing ... but in those cases it seems like having these reflect the configured overridden user model name would actually be desirable? I'm missing something here on why there's an issue.


Update examples.done message

When prospero run I can see in the log:
Installing JBoss examples
Installing JBoss examples APPLYING CHANGES...
Installing JBoss examplesInstalling config standalone-xts.xml
Downloaded artifacts.

I think is better to show at the end "JBoss examples installed"

@rdnovell thanks yes, that's fixed in #324


AttributeError: 'list' object has no attribute 'get'

Related to conversion in #17, but separated it, since it is a different issue:
Currently used toonapilib version: 3.0.6
Traceback (most recent call last):
  File "/Users/frenck/Code/home-assistant/home-assistant/homeassistant/config_entries.py", line 275, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/Users/frenck/Code/home-assistant/home-assistant/homeassistant/components/toon/__init__.py", line 53, in async_setup_entry
    display_common_name=entry.data[CONF_DISPLAY])
  File "/Users/frenck/Code/home-assistant/home-assistant/venv/lib/python3.7/site-packages/toonapilib/toonapilib.py", line 103, in __init__
    self._authenticate()
  File "/Users/frenck/Code/home-assistant/home-assistant/venv/lib/python3.7/site-packages/toonapilib/toonapilib.py", line 150, in _authenticate
    self._get_agreements()
  File "/Users/frenck/Code/home-assistant/home-assistant/venv/lib/python3.7/site-packages/toonapilib/toonapilib.py", line 161, in _get_agreements
    response = requests.get(url, headers=self._headers)
  File "/Users/frenck/Code/home-assistant/home-assistant/venv/lib/python3.7/site-packages/toonapilib/toonapilib.py", line 266, in _patched_request
    response_json.get('fault', {}).get('faultstring', '') == 'Access Token expired']):
AttributeError: 'list' object has no attribute 'get'

That means that the response had a fault that is no longer a dictionary as before but a list so the following get method fails. Can you help out with this, by wrapping it in a try except and printing that fault to see what we are dealing with?

Can you please try 3.0.7? That should fix this error which was introduced because I was trying to be too clever with the token detection.

Thanks @costastf 3.0.7 works for me! 👍


Go back from the select difficulty screen

Add button to return to the home screen from the select difficulty screen.

PR #5

@abdallah1097 Thanks for your contribution! I really appreciate it 👍🏻


documentation: fix the nix-env metadata query example

Description of changes
Updated the metadata query example because nix-env -qa hello --json did not print the metadata. I had to add the --meta flag

Closing this since the merge of #204257 late last year removed the nix-env invocation that this PR fixed.
@hexagonrecursion Thanks for noticing this was wrong and taking the time to submit a fix. I'm sorry your PR didn't get any attention when submitted :/
Please feel free to mention me if you open a PR against Nix or nixpkgs again in the future--I'll do what I can to make sure it goes a little better.


trm publish error: You are not authorized to publish

Hi!
Hope you are doing well.
I am trying to publish a package into the Registry, but i am getting an authorization error. I show the entire command below:
PS C:\Users\Administrator> trm publish @eramirez/test-publish
? Select connection type SAP Logon Connection
? Select connection XXX
? Logon Client XXX
? Logon User xxxxxxxx
? Logon Password
✔ Connected to XXX as XXXXXXXX.
ℹ TRM Public Registry - Alpha. Plans are currently disabled.
ℹ Version latest -> 1.0.0
? Continue publish as version 1.0.0? yes
ℹ First time publishing "@eramirez/test-publish". Congratulations!
✖ Error: You are not not authorized to publish "@eramirez/test-publish" releases.
Could you help me with this error?
Another error appears when i am trying to login to the registry:
_PS C:\Users\Administrator> trm login
ℹ TRM Public Registry - Alpha. Plans are currently disabled.
ℹ To authenticate, generate a new token.
ℹ Follow the instructions https://docs.trmregistry.com/#/registry/public/authentication.
? Registry token trm_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
✔ Logged in.
✖ Not logged in.
PS C:\Users\Administrator> trm whoami
ℹ TRM Public Registry - Alpha. Plans are currently disabled.
✖ Not logged in._
As you can see, it seems to login correctly enough to tell me that i am logged in to the TRM Public Registry but still give an login error.
Thank you for your help!,
Eliezer,

Hi, can you please try to run the command
trm login -log CLI_LOG -v
it should end with "Log output "C:\Users\YOUR_USER....": this is the verbose log file it created.
Can you copy and paste the content of this log?
Sensitive data is hidden in there.

Hi!
Here is the attached log file.
Login log.txt
Grazie mille

Hi Eliezer,
everything actually looks ok on your client side, besides the fact it's telling you "Logged in" (will be fixed).
I can see a response from the registry with code 400 which indicates something is wrong with the authentication header.
I can't really do much on my end, so it might be worth trying to delete and re create the token, depending on how old it is it might be expired (it shouldn't, but a few weeks ago I had to refresh the private keys, so maybe it was generated before that).
Go here, logged in, https://trmregistry.com/#/manage, delete and re create the token.
Try the login command with the new token you just generated.
To copy the token, make sure you do it by left clicking on it (it will be copied automatically): the token should be 60 characters long and start with the prefix "trm_".
If you still can't log in, I'll put the bug label on the issue and I'll try to get it fixed.
Thanks

Last thing you can do if the solution above didn't work is manually create the registry.ini file.
Go to %appdata%/trm, and if it doesn't exist already, create a file named registry.ini.
write the content like this:
[public]
auth="{\"token\":\"<<YOUR 60 CHARACTERS LONG TOKEN, trm_ INCLUDED>>\"}"


HBASE-28921 Skip bundling hbase-webapps folder in jars (#6368)

Backports https://github.com/apache/hbase/pull/6368

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m 42s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 18s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m 57s

branch-2 passed

+1 :green_heart:
compile
6m  1s

branch-2 passed

+1 :green_heart:
spotless
1m 18s

branch has no errors when running spotless:check.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 18s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m 19s

the patch passed

+1 :green_heart:
compile
5m 31s

the patch passed

+1 :green_heart:
javac
5m 31s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
xmllint
0m  0s

No new issues.

+1 :green_heart:
hadoopcheck
20m 54s

Patch does not cause any errors with Hadoop 2.10.2 or 3.3.6 3.4.0.

+1 :green_heart:
spotless
1m 10s

patch has no errors when running spotless:check.

_ Other Tests _

+1 :green_heart:
asflicense
0m 39s

The patch does not generate ASF License warnings.

49m 25s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6377/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6377

Optional Tests
dupname asflicense javac codespell detsecrets xmllint hadoopcheck spotless compile

uname
Linux 4cfc4c0305e1 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 6cdd0464fec833e678dff03e62baa64f76b41aa2

Default Java
Eclipse Adoptium-11.0.23+9

Max. process+thread count
79 (vs. ulimit of 30000)

modules
C: hbase-server hbase-thrift hbase-rest U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6377/1/console

versions
git=2.34.1 maven=3.9.8 xmllint=20913

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 44s

Docker mode activated.

-0 :warning:
yetus
0m  6s

Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 13s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 10s

branch-2 passed

+1 :green_heart:
compile
1m 40s

branch-2 passed

+1 :green_heart:
javadoc
0m 56s

branch-2 passed

+1 :green_heart:
shadedjars
5m 46s

branch has no errors when building our shaded downstream artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 16s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m  1s

the patch passed

+1 :green_heart:
compile
1m 43s

the patch passed

+1 :green_heart:
javac
1m 43s

the patch passed

+1 :green_heart:
javadoc
0m 56s

the patch passed

+1 :green_heart:
shadedjars
5m 48s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
203m  2s

hbase-server in the patch passed.

+1 :green_heart:
unit
6m 49s

hbase-thrift in the patch passed.

+1 :green_heart:
unit
3m 40s

hbase-rest in the patch passed.

242m 42s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6377/1/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6377

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux f86083635c7f 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 6cdd0464fec833e678dff03e62baa64f76b41aa2

Default Java
Eclipse Adoptium-17.0.11+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6377/1/testReport/

Max. process+thread count
4442 (vs. ulimit of 30000)

modules
C: hbase-server hbase-thrift hbase-rest U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6377/1/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 43s

Docker mode activated.

-0 :warning:
yetus
0m  5s

Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 11s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 32s

branch-2 passed

+1 :green_heart:
compile
1m 19s

branch-2 passed

+1 :green_heart:
javadoc
1m  1s

branch-2 passed

+1 :green_heart:
shadedjars
5m 18s

branch has no errors when building our shaded downstream artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 13s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 20s

the patch passed

+1 :green_heart:
compile
1m 19s

the patch passed

+1 :green_heart:
javac
1m 19s

the patch passed

+1 :green_heart:
javadoc
0m 59s

the patch passed

+1 :green_heart:
shadedjars
5m 16s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
217m 54s

hbase-server in the patch passed.

+1 :green_heart:
unit
7m 16s

hbase-thrift in the patch passed.

+1 :green_heart:
unit
4m 15s

hbase-rest in the patch passed.

255m 46s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6377/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6377

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 80ef3f9dcf86 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 6cdd0464fec833e678dff03e62baa64f76b41aa2

Default Java
Temurin-1.8.0_412-b08

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6377/1/testReport/

Max. process+thread count
4208 (vs. ulimit of 30000)

modules
C: hbase-server hbase-thrift hbase-rest U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6377/1/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 56s

Docker mode activated.

-0 :warning:
yetus
0m  5s

Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 11s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m 11s

branch-2 passed

+1 :green_heart:
compile
2m 18s

branch-2 passed

+1 :green_heart:
javadoc
1m  7s

branch-2 passed

+1 :green_heart:
shadedjars
8m  1s

branch has no errors when building our shaded downstream artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 27s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m 51s

the patch passed

+1 :green_heart:
compile
2m 51s

the patch passed

+1 :green_heart:
javac
2m 51s

the patch passed

+1 :green_heart:
javadoc
1m 43s

the patch passed

+1 :green_heart:
shadedjars
6m 33s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
231m 43s

hbase-server in the patch passed.

+1 :green_heart:
unit
7m 19s

hbase-thrift in the patch passed.

+1 :green_heart:
unit
4m 15s

hbase-rest in the patch passed.

281m 58s

Subsystem
Report/Notes

Docker
ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6377/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6377

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux ec7f39e53a64 5.4.0-195-generic #215-Ubuntu SMP Fri Aug 2 18:28:05 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 6cdd0464fec833e678dff03e62baa64f76b41aa2

Default Java
Eclipse Adoptium-11.0.23+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6377/1/testReport/

Max. process+thread count
4437 (vs. ulimit of 30000)

modules
C: hbase-server hbase-thrift hbase-rest U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6377/1/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

Stale


Log when no versions on biorxiv API

Log when this happens for any DOI so we can get an idea of the magnitude of the problem.

Versions on https://staging.sciety.org/articles/activity/10.1101/2<IP_ADDRESS>1650 have since appeared, and the biorxivArticleDetails codec now fails and logs when there are no versions. So the intent of this ticket is covered already.


Limit the amount of processes

Just an idea - maybe limit the amount of processes?
/ # ulimit -p
524288

Could maybe do make a mess if someone fork bomb'd 5x524288 processes?

That's a good idea. Where exactly we should set the ulimit?
On Sun, Oct 9, 2016, 10:37 Alex Ellis<EMAIL_ADDRESS>wrote:

Just an idea - maybe limit the amount of processes?
/ # ulimit -p
524288
Could maybe do make a mess if someone fork bomb'd 5x524288 processes?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/franela/play-with-docker/issues/2, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIhp3nH9H8mp5k1L30pgfyCGWdHW17Jks5qyKetgaJpZM4KR8fh
.

There's some data here:
https://devlearnings.wordpress.com/2014/08/22/limiting-fork-bomb-in-docker/
I think under the hood it's going to use a cgroup.
You may also want to lock down memory etc.

PR - #4
Repro:
#!/bin/sh
lol(){
let "i=0"

while true
do
    let "i=i+1"

    echo "looping... $i"
    sleep 2 &
done
}

lol

#4


If the first line of a file contains a filename with extension, VS Code defaults to save the file with that extension

Type: Bug
Steps:

Open VS Code and switch to plain text mode.
Type file.ogg and press enter.
Press ctrl+s.
Change the filename to list.

I know that the filename is derived from the first line of the file, but I believe the extension should be derived either by the language mode or the one supplied by the user (the latter is respected). In this case, regardless of the contents of the file, the default extension should be txt (as plain text mode was selected), unless the user explicitly changes it to something else (again, this is already the case, if the user explicitly chooses an extension in the "Save as" dialog it is respected).
VS Code version: Code 1.79.0 (b380da4ef1ee00e224a15c1d4d9793e27c2b6302, 2023-06-07T14:26:35.552Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.82GB (7.66GB free)

Process Argv
--crash-reporter-id 2e56a695-05ce-40ed-88c1-2cfc5995aa83

Screen Reader
yes

VM
50%

Extensions (39)

Extension
Author (truncated)
Version

doxdocgen
csc
1.4.0

vscode-pull-request-github
Git
0.66.0

better-cpp-syntax
jef
1.17.2

vscode-autohotkey-plus-plus
mar
3.3.0

vscode-language-pack-es
MS-
1.79.2023060709

csharp
ms-
1.25.9

isort
ms-
2022.8.0

python
ms-
2023.10.0

vscode-pylance
ms-
2023.6.10

jupyter
ms-
2023.5.1001582324

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.15

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

remote-containers
ms-
0.295.0

remote-ssh
ms-
0.102.0

remote-ssh-edit
ms-
0.86.0

remote-wsl
ms-
0.79.4

vscode-remote-extensionpack
ms-
0.24.0

cmake-tools
ms-
1.14.33

cpptools
ms-
1.15.4

cpptools-extension-pack
ms-
1.3.0

hexeditor
ms-
1.9.11

remote-explorer
ms-
0.4.0

remote-server
ms-
1.2.1

vsliveshare
ms-
1.0.5873

pandocciter
not
0.10.2

java
red
1.19.0

vscode-yaml
red
1.13.0

vscode-standard
sta
2.1.3

wg-getters-and-setters
sua
2.0.2

cmake
twx
0.0.17

intellicode-api-usage-examples
Vis
0.2.7

vscodeintellicode
Vis
1.2.30

vscode-java-debug
vsc
0.51.0

vscode-java-dependency
vsc
0.23.0

vscode-java-pack
vsc
0.25.11

vscode-java-test
vsc
0.39.0

vscode-maven
vsc
0.41.0

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30610678
3biah626:30602489
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
2i9eh265:30646982
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
a2ce3375:30757347
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixshowwlkth:30730052
hidesbindicator:30760978
pythongtdpath:30739704
dh2dc718:30763024
pythonnosm12tcf:30765602

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


[Group] add restProps support

This PR adds support for ...restProps in <Group />. I've needed a couple of things like clipPath and <g> elements support many other attributes so this seems useful generally.
Tested with jest.

Coverage remained the same at 27.126% when pulling 2a1984542a766d9a06b45b18b071387f2a3cc6e6 on williaster:chris--group-rest-props into a7fbf0421260bfcda7233279b0c353e909147aa1 on hshoff:master.


Dynamic Parameters in the Prompt and range parameters

Could be helpfull something like the grid generation but using the prompt, something like:
%CFG_SCALE=29|30|31|32% %SAMPLIG_METHOD=Euler a|Euler% etc etc.
And maybe better, something like ranges as the number of parameters to print:
%CFG_SCALE=$$29-35% //This could be also applyed to the basic prompting, but is not helpier than the usage with generation params

I like the idea - it might be easier for users if it was implemented in the ui with sliders or input boxes instead of the prompt box to make it easier to remember the keywords - what do you think?

Could be good, remember the name of each parameter is going to be difficult. The input boxes was worked really well in the grid x/y generation and users are familiar with the interface. I like it.

@Koronos I've made an extension for this available here, should be what you're looking for.
https://github.com/stysmmaker/stable-diffusion-webui-randomize

Nice script - I've been meaning to play with AlwaysVisible. Given that you're implementing your code in process and not process_batch, does that mean that your settings are the same for every image in a generation? Have you considered process_batch?

Good point, I hadn't considered it, thanks for pointing that out! Updated the script to use that now.

I'm closing this issue because the randomize script addresses it. Since both scripts are set as AlwaysVisible, they are compatible with each other.


NPM logs are showing docker IP instead of client IP

Checklist

Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?

Yes (as of writing latest is v2.10.3)

Are you sure you're not using someone else's docker image?

Yes

Have you searched for similar issues (both open and closed)?

Yes

Describe the bug
In the proxy host logs it shows client information and everything is detected correctly except the client IP, which it shows a docker IP that is on the server where NPM is running on. Following is an example of what I have in my logs with sensitive info redacted.
[19/May/2023:12:44:44 +0000] - - 401 - GET http redacted-url "/" [Client <IP_ADDRESS>] [Length 176] [Gzip -] [Sent-to <IP_ADDRESS>] "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0" "-"
I've seen a few issues here that describe something similar and suggest changing the nginx.conf file and replace real_ip_header X-Real-IP; with real_ip_header X-Forwarded-For;. I tried that but it didn't work. I'm trying to get fail2ban to work and it depends on these logs having the correct IP, otherwise it will just ban the host docker IP.
Nginx Proxy Manager Version
v2.10.3
Expected behavior
That the log shows next to client not the docker IP but the actual client IP, such as:
[19/May/2023:12:44:44 +0000] - - 401 - GET http redacted-url "/" [Client <IP_ADDRESS>] [Length 176] [Gzip -] [Sent-to redacted-ip] "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0" "-"
Operating System
NPM is running on a Debian VM in Proxmox.

I found this comment in a bug for nginx: https://github.com/nginx-proxy/nginx-proxy/issues/133#issuecomment-1368745843 and it seems that is my issue.
In summary for anyone stumbling onto this: I have IPv6 active in my network and this server where NPM is running has an IPv6 address. Docker by default doesn't used IPv6 so any incoming connections from IPv6 clients has to be translated to IPv4, therefore it comes from the docker gateway. I change my DNS entry for one of the domains NPM is proxying to only have IPv4 so my clients would access it through IPv4 only and with that the logs are correct. So the solution is to either follow the instructions in the linked comment above to activate IPv6 in docker or just have only IPv4 DNS entries.


Actions are dispatched before initial state is loaded

Hi,
I have a container component that is connected to redux via connect() function and it has componentDidMount() function that dispatches an action XXX.
When I load the page, this action XXX is dispatched BEFORE redux-async-initial-state/STATE_LOADING_DONE.
Is it a correct behavior? Should any action be dispatched (and container's render() method called) before initial state is loaded?

@borNfreee sure it is correct behaviour! This package doesn't block any renders. In your example flow is:

create store
request async initial state
render your component
request async initial state finished

When the last step happens you can re-render your component or do some other action. I.e. you can show preloader (like in example).
As a solution for you case, you can wrap your container with some wrapper, that renders your Container only when state is loaded, so componentDidMount() will be called only when your have your initial state in redux store
import YourContainer from '..'

@connect(state => ({
  loading: state.asyncInitialState.loading,
  loaded: state.asyncInitialState.loaded,
  error: state.asyncInitialState.error,
}))
const Wrapper = ({ loading, loader, error}) => {
  if (loading) {
    return <SomeSpinner />
  }
  if (error) {
    return <SomeErrorComponent />
  }
  return <YourContainer />
}

Another solution (that I like less) is to call redux action not in componentDidMount, but in componentWillReceiveProps, so you can check that state is ready.

thank you!

@KELiON I have additional question related to this topic.
As I understand the purpose of this middleware is to load initial state asynchroniously, but it seems like it does not block other actions to be dispatched (and it means all reducers are triggered while initial state is not yet loaded).
So the quesition is: what is the benefit to load initial state while all other actions can be dispatched and reducers already returned theirs initiale sub-tree states?
Isn't it the same like dispatching e.g. REQUEST_SOMETHING action on componentDidMount() method? I can't understand the goal of this middleware :(
In my case I wanted to load data from the server that is required for other reducers. They can't work without this initial data. But this plugin does not allow it.
Did I miss something?
Thanks

redux is super-simple library, without any magic. That is I wanted to continue in this packages: no magic. I think it is possible to block actions dispatch, until the state is loaded and dispatch them only after it, but it adds some hidden functionality for developer, who uses it. Instead, this library provides simple wrapper, that allows to get initial state from some Promise.

Isn't it the same like dispatching e.g. REQUEST_SOMETHING action on componentDidMount() method?

Kinda, but it doesn't depend on react and on your component's lifecycle. You just define promise as a way to get your initial state – after that you can do whatever you want: subscribe to redux-async-initial-state/STATE_LOADING_DONE action, conditionally render your component/container, etc.

@KELiON I wanted to say that initial means that this is required to make application valid to start the work.
But with current approach it's not true. Let's have an example:

// application redux state:
{
    user: {isAdmin: true/false, isModerator: true/false},
    dashboard: {
        products: [{id: 1}, ...],
        someDataDependentOnUserState: {} // differs for admin and moderator and EDITABLE
    }
}

Two reducers: user and dashboard.
Imagine there are actions PRODUCTS_REQUEST, PRODUCTS_SUCCESS.
User is loaded by this middleware as initial async state.
// dashboardReducer.js

function dashboardReducer(state = {}, action) {
    // !!! here we have a problem because user initial state is not yet loaded and we don't know what is the default value for the state. It must depend on isAdmin/isModerator flags, but they are still not fetched
}

So the whole list of dispatched events are:

@init by redux
redux-async-initial-state/STATE_LOADING_START
PRODUCTS_REQUEST
PRODUCTS_SUCCESS
redux-async-initial-state/STATE_LOADING_DONE

Starting even from the first dispatched event, the dashboardReducer reducer is executed and since we don't have user data in the state, we can't build dashboard.someDataDependentOnUserState value.
I hope you see my point ;). This is pretty simple - there can be situation when one tree of the state depends on really initial data that must be present before continue to work. And I don't understand how to accomplish this with your middleware.

@borNfreee sorry, but I don't understand your problem, because you can, i.e. have null initially in dashboard.someDataDependentOnUserState, but build it depend on user only after state is ready.
Furthermore, it looks like if you want to have dependency in one branch of state on another one, probably you don't need to store this data in state and it is better to build it in mapStateToProps or even use some library, like reselect.


Links to sub headings not present

Back when we used the rtd theme there was a nice feature where a section, subsection, etc would have a pilcrow next to it which would give a direct link to that. Since moving the qiskit documentation to the qiskit_sphinx_theme this doesn't seem to exist anymore. It's an issue for me primarily in the release notes https://qiskit.org/documentation/release_notes.html#notable-changes where its very useful to have a direct link to the section notes for a particular release to point someone to it.

This was resolved in #14


closes #357

@mihaiblaga89 looks like this update is causing webos to fail:
FAILED with ERROR:

ares-package ERR! *** ares-package: Error: lowercase letters(a-z), digits(0-9), plus(+) and minus(-) signs and periods(.) can be used for app id

Codecov Report

Merging #379 into develop will decrease coverage by 0.1%.
The diff coverage is 37.5%.

@@             Coverage Diff             @@
##           develop     #379      +/-   ##
===========================================
- Coverage    28.53%   28.42%   -0.11%
===========================================
  Files           58       58
  Lines         6480     6515      +35
  Branches      1494     1508      +14
===========================================
+ Hits          1849     1852       +3
- Misses        3311     3331      +20
- Partials      1320     1332      +12

Flag
Coverage Δ

#rnvunittests
28.42% <37.5%> (-0.11%)
:arrow_down:

Impacted Files
Coverage Δ

packages/rnv/src/systemTools/fileutils.js
33.57% <0%> (ø)
:arrow_up:

packages/rnv/src/systemTools/analytics.js
33.92% <0%> (-1.26%)
:arrow_down:

packages/rnv/src/configTools/configParser.js
43.05% <39.34%> (-2.27%)
:arrow_down:

packages/rnv/src/projectTools/index.js
26.01% <0%> (-0.82%)
:arrow_down:

packages/rnv/src/cli/index.js
58.33% <0%> (-0.7%)
: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 2d5ec7a...423c207. Read the comment docs.

@pavjacko couldn't replicate the issue with my configs even if I had the appID as camelcase. Added the lowercase for webos anyway


Format of additionalEnv in helm chart

I'm trying to install VerneMQ in my k8s cluster with helm (using terraform) and I want to set DOCKER_VERNEMQ_ALLOW_ANONYMOUS to on, but I had no luck with formatting the additionalEnv the right way. Can anyone help, please ?
resource "helm_release" "vernemq_cluster" {
    name = "vernemq-cluster"
    chart = "vernemq/vernemq"
    namespace = "http"
    set {
      name  = "replicaCount"
      value = 2
    }
    set {
      name  = "additionalEnv"
      value = "['DOCKER_VERNEMQ_ALLOW_ANONYMOUS': 'on']"
    }
    depends_on = [
      "kubernetes_cluster_role_binding.tiller",
      "kubernetes_service_account.tiller",
      "null_resource.voyager_secret"
    ]
}

I'm afraid I don't have any idea how terraform works. You could try and ask in the vernemq #docker community channel. If you figure it out please drop a line here for future reference!

Perhaps you can import the values.yaml like in this example: https://www.terraform.io/docs/providers/helm/release.html


WebApp - Show incorrect locked balance of the account

Describe the bug
Show incorrect locked balance of the account
To reproduce the behavior
Steps:

Import/Attach an account that has balance
After imported successfully, observe the balance displayed

Actual: Show Locked balance = Transferable balance = Total balance

Check with address: 5HbcGs2QXVAc6Q6eoTzLYNAJWpN17AkCFRLnWDaHCiGYXvNc

Expected: Show correct locked balance

Total balance = Transferable balacne + Locked balance

Version test:

Validation passed.


Build Machine Image task is not able to execute the script inline with arguments

Task name: Build Machine Image
Description: Build Machine Image task is not able to execute the script inline with arguments. Removed the source command(.) from the packer inline.
Documentation changes required: (Y/N) N
Added unit tests: (Y/N) N
Attached related issue: (Y/N) N
Checklist:

[ ] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

@ManasaDevadas can you please update the patch version for the task in task.json and task.loc.json?

@bishal-pdMSFT updated patch version for the task in task.json and task.loc.json. I have updated two other files also.
default.linux.template.json and default.managed.linux.template.json.
Please check.

How long does it take for this update to be available?
I'm trying to run a task with inline arguments, but I still seem to be getting 1.1.16 and not 1.1.17.


Increase the font size of 'Verify at the source:'

Describe the bug
The Contents under the 'Verify at the source:' are so small that it has become difficult to read it properly through naked eyes.
To Reproduce

Go to https://search.creativecommons.org/photos/a9d534d7-0ffb-4b73-9f5b-82d25ef1ca50
See error

Expected behavior
Font size should be increased somewhat
Screenshots

Desktop (please complete the following information)

OS: Ubuntu
Browser: Firefox

Additional context
If this issue is considered to be a legit issue! then I would like to work on it.

@abhisheknaiidu i think it can be corrected in the issue #679 .

@coderbabu10 That issue is just for proper alignment! and not for visibility of content.

We are currently working on updating the CC Search style with Vocabulary. In this specific case, that text style will be updated to the normal paragraph style.

Since this will likely change soon, I'm going to mark this as blocked until vocab styling is implemented. After that, we can re-visit this :)

This should actually get done as part of https://github.com/creativecommons/cccatalog-frontend/issues/545 when @brenoferreira implements the single result page redesign.
Closing this out.


patch: Fix troubleshooting edit links

Signed-off-by: Vipul Gupta (@vipulgupta2048) <EMAIL_ADDRESS>

Please make sure to read the CONTRIBUTING document before opening the PR for relevant information on contributing to the documentation. Thanks!

@balena-ci I self-certify!

@balena-ci retest


Segmentation and self-supervised training data

Hi  @jingpeilu and @tristinxie,
really cool paper! I have two data related questions which I couldn't answer myself while studying your paper:

How do you train the segmentation model? You write it's pretrained on synth. data on the respective robot. However, the links and data based on your  README.md do not consist of segmentation masks. Did you generate your own masks/ data?

On which data do you train when you switch to the self-supervised stage of the model training? Do you train on a subset of the test data or did you generate your own "real-world" datasets for this stage?

Would appreciate hearing back from you!

Thanks for liking our work!
Regarding your question, here are some details:

To create the ground-truth robot masks, we used the same renderer that we used for self-supervised training, along with the ground-truth pose data. You can find more information in Section 6.1 of our paper, which is available at https://arxiv.org/pdf/2302.14332.pdf.
During the self-supervised stage, we generated a dataset to train the baxter model. We trained the panda model on the test data since we didn't have a panda robot at the time. Ideally, it would be better to generate a real dataset of your robot for self-supervised training.

Yes. We used all Panda synthetic data for pretraining.

Hi, nice work. Can you share me the weight which is pretrained in the Panda synthetic data?
In the weight.zip, just found the weights after self-supervised.
My email<EMAIL_ADDRESS>Thanks.

@jingpeilu I would also still be interested in the pretrained weights on the Panda, if available?
Additionally, I'd like to know if you self-supervised on the whole real-world Panda test dataset or just a subset of it? In case of a subset; how big was it? Thanks a lot in advance :)


moment.unix giving me back incorrect date

I need to obtain a moment object from a timestamp in seconds. I tried:
let value =<PHONE_NUMBER>; let obj = moment.unix(value);
and
let obj = moment.unix(value).utc();
both of them gives me a wrong date. The<PHONE_NUMBER> corresponds to Thu, 31 Mar 2016 00:00:00 GMT, but instead I'm getting Wed Mar 30 2016 20:00:00 GMT-0400 (CDT), however if I do this:
moment.utc(valor, 'X').format('YYYY-MM-DD')
it gives me the right date, but in string format... I need it as a moment object. How can I tell moment to ignore the timezone in order to get the right moment???

You are confusing debug / string output with the internal representation of time.
The moment is correct: 'Wed Mar 30 2016 20:00:00 GMT-0400 (CDT)' is the same point in time as 'Thu, 31 Mar 2016 00:00:00 GMT'.

@ashsearle, I thank you for your response. The thing is I only need a moment object with the correct date representation. Firefox returns the correct moment, Chrome doesn't. You are telling me they are correct because they are the same point in time, now my question is: how can moment ignore the timezone?

Both these return the same thing in Firefox and Chrome:
moment.unix(1459382400).utc().toString(); // "Thu Mar 31 2016 00:00:00 GMT+0000"
moment.unix(1459382400).local().toString(); // "Thu Mar 31 2016 01:00:00 GMT+0100" (my timezone)

Mr. @ashsearle, I just tried your code, and in Firefox it gives me the correct date for .utc() but not for .local(). I'm assuming Chrome ignores .utc() because it gives me back the same date twice time as in Firefox for .local().

I'm planning to ask the time and if is present to add 1 day to the moment.

Mr. @ashsearle you are rigth, both of them represents the same point in the time. Now it is working properly, my mistake.


[NCL-7445] Always display SSH button on build log page for admin users

This PR is on hold due to missing backend support, see NCL-8756.

After discussion with Martin, since the missing support from the backend affects only pnc admin user, this jira can still be merged and changes will work immediately when backend support is implemented.

Hi @matedo1 , in AngularJs web UI there is no whole screen error messages, just normal backend error warnings(see jira comments). This will disappear automatically when backend changes are made. Can we just keep it like this, and not add a temporary catch to this error?


playSound on curStep very noisy

What is your question?
Hey, so i want to trigger a 'playSound' command when the curStep of a song = 264 (or anything else doesn't matter) but when i do it, it just triggers like 3 billion times at once, i think it's triggering over and over in that current Step, is there a way to prevent this from happening, like play the sound once, and can prevent the same problem with triggerEvent commands (which does the same) ? (Note : I am using 0.5.2h, i don't know if this was patched since then)

try doing a delay or wait right after the playSound command, im not sure if this will work but it's worth a shot

how do i add delay/wait functions to lua ?

Did you put it under onUpdate

of course, should i put it under onStepHit() ?

try with the cur beat

You don't need to check the step every frame, so yes make it trigger when a step happens

now close this


[Feature #244] Automatically reset counter when navigating quest list and clearing the quest

resolved #244
Due to the finding in #260, now it will reset daily quests when 5AM JST of a day has passed at the first time. For weekly quests, it is on Monday 5AM JST, and for monthly quest, it is on the first day of the month at 5AM JST.
In addition, this implementation also includes auto-adjusting-counter functionality. For example, because of some reasons, the counter counted wrongly, showing 1/5 while the game screen show 50% of the quest has been done. In this case, it'll increase the counter to 3/5 to satisfy the progress status of the quest. That means it will look more correct but not always accurate. It is for reducing the awkwardness of this kind of situation.
For testers, after pulling the code, please restart the panel and open console for the console like this.

Reset Daily Quests is the time to reset daily quest.
Reset Weekly Quests is the time to reset weekly quest.
Reset Monthly Quests is the time to reset monthly quest.
Please check whether those lines printed above are correct or not. (checking at your local time is prefered)

i dont know how to show that reset xxxx quest.
so far from what i tried, auto adjust tracking counter is working :ok:

@McDohl You try selecting KanColle Tab then use Ctrl + Shift + I on that tab. It will show another panel for the KanColle Tab only.

its a devtool for a devtool :v

NaN invalid date o.O
devtoolsception :v

Yeah reporting the same thing on my end too.
Looks like there needs to be another way to obtain date and time.

eh, @McDohl you're using dark theme? :open_mouth:

@dragonjet he too is also using the dark theme :stuck_out_tongue_closed_eyes:

yeah, but seems like its not working :stuck_out_tongue_winking_eye:

It is a feature request really, pretty sure it is low priorities right now (or otherwise put on the backburner) due to the lack of interests. Then again, you can see the demand for the dark theme is there - and that it is increasing.

i saw at settings theres dark theme, n decided to use it but nth happen (hardly open settings anyway :laughing: )
that aside, its really minor thing so i let it slide.
I think KC3改 should put strategy room features top priority atm cuz event is around the corner.

I solved the problem. I will create a pull request for that right now.

I have loads of kc3 kai tabs open on my end, it is always: KC3 kai, strategy room, settings and about tabs :open_mouth:
@bamboo3250 wow! that's quick. I was poking around randomly with my noob coding skills and saw that it uses similar functions when crafting or lsc. Strangely enough that on this Questmanager.js part it requires more work. :+1:

Hopefully @dragonjet will merge the new one #284 soon. This kind of bug is really not good for heart :sweat_smile:

@bamboo3250 @dragonjet  is around, pretty sure he'll be quick to merge that in. Excellent work! at least quest tracking feature is getting closer to completion. :+1:

@bamboo3250  there

merged

I just did a git pull on this and still getting the same issues on my end. I think it is becoming platform specific, might have a poke at the codes and see where I can point out where it maybe is wrong.
git revision: 8bd8464

pull again, that head still doesnt have @bamboo3250's fix

Ah thanks! @dragonjet

@Crazyteitoku yeah, the quest is almost completed now, just the quests about sinking a certain type of ship left. That would be a hard one :sweat_smile:
@McDohl thanks, it looks correct :+1:
@dragonjet thanks :laughing:

by the way, since maintenance later 11am JST, I'll be early uploading v11 on Webstore by around 1130. We can't test things if we cat bomb so :laughing:

@bamboo3250 I sort of wondered about that, I do recall @dragonjet said that the sinking of certain types of ships (namely CV/L or transports) is a no fix because the server doesn't send those data to the client for some reason :open_mouth:
If server is able to send results, i.e. A or S and assuming if S result would it able to automatically count from that? I mean A is much harder to count and may require manual intervention but otherwise S is more possible considering that the player would have destroyed all the said enemy ships on the map? This is also a bit obvious but yeah.

that's true CT and is a possible temporary fix, but during orel which 3 subs rarely do an S, it will be super inaccurate. the real solution is to do the battle prediction where we calculate the attacks and damages ourselves

@Crazyteitoku dragonjet is right. I also aim to calculate the damage that a ship received, together with its HP and the type of ship. That would be possible to solve the problem but will required much investigation and time to do so.

@dragonjet I normally bounce between orel and 2-2 for that, at least for Bw4 quest: ろ号作戦 (ro gou sakusen) whereby one needs to sink 50 transports and that is after the Bw1 quest: あ号作戦 (a gou sakusen).
@bamboo3250 yeah seems like that would be a pain and interestingly enough that the server doesn't offer the information upfront.

We can use EO's battle emulation as basis: Battle phases where damages are calculated
You can browse their library for more info

@dragonjet thanks :+1: but I'd probably be clueless looking at their codes. The last time I recall the backend stuff on EO relies on fiddler core which is the same as KCV and well different programming language in short.

@dragonjet can we have a BattleManager.js like theirs :sparkles:

hm usually, I use "managers" if that class contains a list of its objects ShipManager.js for Ship.js, etc. For sorties and battles, that's our SortieManager.js. My original plan is just to add it to \objects\Node.js then just add KC3Node.prototype.simulate - but looking at it, this will involve many many functions, separating each phase, and calculators. hmm.. what about another object Battle.js, then inside Node.js we myBattle = new KC3Battle() then myBattle.simulate()?


Editing using a modal causes issues with input display

Package
filament/forms
Package Version
v2.16.35
Laravel Version
v9.36.4
Livewire Version
v2.10.7
PHP Version
8.0.22
Problem description
I have a settings table that contains key, value, data_type.
In my form I am using a match within the schema method to load the proper Field based on data_type
$form->schema(function ($get) {
    $type = $get('data_type');

    return match ($type) {
        // https://gist.github.com/adampatterson/989bcc8859f8ad2135c7b0e397f1ba81
    };
});

My test data includes each form field that will be used in the site, without the edit page using the edit modal, the display of each input uses the display from the first row edited.
For example, if I make and edit to a setting with data_type of time then each input after that is using the same display.

Data Time shows Time
Date shows Time
Time shows Time

If I edit a bool value then something like url or tel will display as undefined.
The field validation seems to be correct.
If a value is updated the display for the next field uses the display from the submitted field.
I made a quick video here https://d.pr/v/NG0idf
Expected behavior
When editing using the modal I'd expect the input display to be correct based on the field loaded in the schema.

Data Time should show the Date Time
Date should show the Date
Time should show Time
Bool should show Bool

Steps to reproduce
Here is the function that processes my fields.
https://gist.github.com/adampatterson/989bcc8859f8ad2135c7b0e397f1ba81
Migration:
https://gist.github.com/adampatterson/1fe2ec47465e8c9aae7d01e8659baea3
Seeder:
https://gist.github.com/adampatterson/51bc3742f31c847243e52f80e86343ff
Login details: https://github.com/adampatterson/filament-test/blob/main/database/seeders/UserSeeder.php#L24
In a GlobalSettingsResouce.php under getPages() comment out edit.
With edit commented out this issue will happen, if edit is uncommented and you use the page, then everything works as expected.
Reproduction repository
https://github.com/adampatterson/filament-test
Relevant log output
No response

This has been resolved and will be in the next release.
Thanks.


Adding support for Python

Hi Jean, thank you for making such an outstanding theme. I'm wondering if you would consider adding support for Python. I am a heavy python user and I really wish to use the day shift theme (which I'm already using in iterm2) in vs code.

Sure! I published an update that includes a better handling of Python syntax! Please let me know if I can improve the colorization in any way!
And thank you for your message, I'm glad this theme pleases you.

Thank you for the speedy adaptation! The python code under the day shift theme looks stunning! Please accept my apology for making additional request but I am also wondering if you would kindly do the same adaptation to the night shift theme. Thank you again for making these amazing tools/themes : )

You are welcome!
No problem at all, I'm more than willing to improve theses theme so I'll take any pertinent suggestions!
I added Python support in night-shift theme. The syntax highlight should be similar to day-shift. Please let me know if the outcome is satisfying!

Just tried the new night-shift theme and the it looks amazing with Python! Thank you Jean 🤗


"AsciiBib" syntax for Relaton input

Currently there are two ways of representing a Relaton bib item:

Relaton YAML
Relation XML

We have a need to enter arbitrary bib items into Metanorma via an inline format. Since it will be in AsciiDoc syntax we call it "AsciiBib".
This differs from the typical AsciiDoc reference where it uses a list to represent a reference:
* [[[ANCHOR,CITE-TITLE]]], _title_

Example 1
Relaton YAML from https://github.com/CalConnect/standards.calconnect.org/blob/cbc837c8dd3679b1afd661a63a523a2ef05a5a42/_input/external.yaml#L5-L25
docidentifier: CC/S 0505:2005
doctype: specification
title: Results from Recurrence Questionnaire
stage: published
pdf: pubdocs/CD0505%20Results%20from%20First%20Recurrence%20Questionnaire.pdf
revdate: 2005-09-26
abstract: The Recurrence Technical Committee of The Calendaring and Scheduling
  Consortium has collected specific information on how Calendaring and Scheduling
  implementations have, or have not, implemented the Recurrence Rules of RFCs
  2445 and 2446, iCalendar and iTIP. This document is part of the committee's
  work to compile actual usage information and interoperability issues. The Recurrence
  Committee recently collected information in the form of a Recurrence Questionnaire,
  which allowed vendors and other producers and consumers of iCalendar recurrences
  to list the features of iCalendar that they implemented. The questionnaire also
  contained space for comments about each line item in the RFCs and also overall
  issues with recurrences. The Recurrence Technical Committee has since analyzed
  the results of the questionnaire into this document.
technical_committee: RECURRENCE
language: ''
script: ''
datetype: ''

In AsciiBib, we can implement this using a combination of the section header (similar to how Metanorma terms and defs), with a definition list, such as:
[bibitem]
== Results from Recurrence Questionnaire

ref:: cc0505
docidentifier:: CC/S 0505:2005
doctype:: specification
stage:: published
pdf:: pubdocs/CD0505%20Results%20from%20First%20Recurrence%20Questionnaire.pdf
revdate:: 2005-09-26
abstract:: The Recurrence Technical Committee of The Calendaring and Scheduling
  Consortium has collected specific information on how Calendaring and Scheduling
  implementations have, or have not, implemented the Recurrence Rules of RFCs
  2445 and 2446, iCalendar and iTIP. This document is part of the committee's
  work to compile actual usage information and interoperability issues. The Recurrence
  Committee recently collected information in the form of a Recurrence Questionnaire,
  which allowed vendors and other producers and consumers of iCalendar recurrences
  to list the features of iCalendar that they implemented. The questionnaire also
  contained space for comments about each line item in the RFCs and also overall
  issues with recurrences. The Recurrence Technical Committee has since analyzed
  the results of the questionnaire into this document.
technical_committee:: RECURRENCE
language::
script::
datetype::

Example 2
BibTeX of a NIST publication.
@article{dworkin2016recommendation,
  title={Recommendation for block cipher modes of operation: methods for format-preserving encryption},
  author={Dworkin, Morris},
  journal={NIST Special Publication},
  volume={800},
  pages={38G},
  year={2016}
}

[bibitem]
== Recommendation for block cipher modes of operation: methods for format-preserving encryption

ref:: dworkin2016recommendation
author:: Dworkin, Morris
series:: NIST Special Publication
docnumber:: 800-38G
year:: 2016

In the future, a user can just enter:
[bibitem]NIST SP 800-38

Or something like this for auto-fetching.
Thoughts? @opoudjis @CAMOBAP795 @paolobrasolin @andrew2net

I will add the proposal that multiple values within such a definition list are represented as unordered lists:
author::
*** Dworkin, Morris
*** Dworkin, Andrea
series:: NIST Special Publication

We could also repeat the tag, I guess:
author:: Dworkin, Morris
author:: Dworkin, Andrea

I would of course prefer to do this myself, but delegation is an important skill for me to acquire.
I do have opinions on how this should be done:

It should be in metanorma-standoc not metanorma-nist
The easiest way to do this is going to be in cleanup: take all subclauses of the bibliography consisting of a definition list, and map them to relaton XML. That's going to be the cleanest way of guaranteeing that the relaton fields appear in the right XML order, which they won't if you process them in situ through Nokogiri Builder.

I can mock up the start of this if you like.

P.S. This ties directly into https://github.com/metanorma/metanorma/issues/52

@opoudjis

I will add the proposal that multiple values within such a definition list are represented as unordered lists
We could also repeat the tag, I guess

I'm fine with both types of syntax, but the former may be more logical?

I can mock up the start of this if you like.

Yes please! Thank you!

This also ties into #34 .

[bibitem]
== Results from Recurrence Questionnaire

Won't work, as Asciidoctor does not recognise custom style attributes on sections. Will have to be option attribute or role attribute: [%bibitem].

@CAMOBAP795 I've gotten you started with the linked checkin, in metanorma-standoc, branch dl_refs
Your test file is spec/asciidoctor-standoc/refs_dl_spec.rb. It takes
[%bibitem]
      === Standard
      ref:: iso123
      docidentifier:: ISO 123
      doctype:: standard
      publisher:: ISO

and maps it to
<bibitem id="iso123" type="standard">
         <title format="text/plain">Standard</title>
         <docidentifier>ISO 123</docidentifier>
         <contributor>
           <role type="publisher"/>
           <organization>
             <name>ISO</name>
           </organization>
         </contributor>
       </bibitem>

This is done in postprocessing: the definition list is read in as a normal Metanorma definition list, with both its <dt> and <dd> tags containing paragraphs. It is transformed in lib/asciidoctor/standoc/cleanup_ref.rb, by the function ref_dl_cleanup(xmldoc)
That function pulls the contents of the definition list out as Nokogiri elements (because we want to preserve any Metanorma XML contained within the elements as markup), and puts them in a hash. I have not implemented unordered lists yet as mapped to arrays, but that should not be very difficult :)
The definition list hash is mapped into a succession of bibitem elements through an awkward template process (I'm shoving XML content as text into bibitem elements). The elements have to be added to the bibitem node in the correct sequence according to the schema. Elements normally will have to be extracted from out of their paragraph; I have not done that in the creation of the hash, because it's not impossible that we will have multi-paragraph list items, e.g. for abstracts.
I've implemented four fields; your task, should you choose to accept it, is to implement all of Relaton. Or at least as much of Relaton as it makes sense to jam into YAML.

In progress

Thanks guys. Just a note that we already have Relaton YAML, which maps directly to Relaton XML, and is implemented in relaton-cli (https://github.com/metanorma/relaton-cli/search?utf8=✓&q=yaml&type=).
You are free to (probably should) move that code into the relaton gem proper.
We just need the "AsciiBib => Relaton YAML" part fully completed. Maybe you can make Relaton CLI accept the additional "Relaton AsciiBib" (and allow conversion between/to Relaton YAML/XML) by moving @opoudjis 's code into relaton (from metanorma-standoc for more granular testing.
This code probably should belong in Relaton, not Metanorma.

Um.
Metanorma still needs to parse documents,  and if the YAML is going to be embedded in the asciidoc document,  code in metanorma-standoc will need to process it.
What can be done though is to take the hash derived from the definition list within metanorma-standoc, and process it into relaton xml in the external gem via YAML, rather than templating it within Metanorma.

Metanorma still needs to parse documents, and if the YAML is going to be embedded in the asciidoc document, code in metanorma-standoc will need to process it.

Yes. We could process the YAML via Relaton into Relaton XML, which goes into Metanorma XML.
Relaton YAML ==convert==> Relaton XML ==insert==> Metanorma XML

What can be done though is to take the hash derived from the definition list within metanorma-standoc, and process it into relaton xml in the external gem via YAML, rather than templating it within Metanorma.

100% agree. AsciiBib ==convert==> Relaton XML ==insert==> Metanorma XML

@CAMOBAP795 I'm taking this ticket over.

Multiple values cannot be represented as an unordered list in a definition list within a section marked as [bibliography]. That is because the [bibliography] syntax immediately assumes that any unordered lists are citations, and Asciidoctor declines to parse them because they are not in the expected citation format.
And no, we will not relax the [bibliography] syntax, because we can't rule out that non-YAML citations won't be present in the second. In fact, that's the only proper way to trigger relaton retrieval.
Therefore the convention has to become that multiple values are given as ordered lists.

@oppudjis is there any documentation and example for using AsciiBib? Thanks!

The only example that exists so far is the test file in rspec: metanorma-standoc/spec/asciidoctor-standoc/refs_dl_spec.rb. As you'll see even in that example, that file is using Relation YAML fields, and Relation YAML and Relaton Definition List Bibliographies must share vocabulary.
Relaton YAML itself is documented, poorly, in the relaton-cli README. It was after all created ad hoc for a very specific reason.
 Call it Metanorma AsciiBib or Metanorma BibLists.)

AsciiBib implies a generic Asciidoctor bibliographic mechanism

There seems to be a logical jump here; there's AsciiDoc before Asciidoctor. AsciiBib implies a method of specifying an ASCII-way of handling Bib.
We can call it Metanorma AsciiBib, sure.
Could you help document Relaton YAML and Metanorma AsciiBib on metanorma.com? Just start with a blog post, and @strogonoff could help figure out the right place to put it?

... I'd rather do formal spec than blog post; I'm very uncomfortable writing a blog post about something that does not yet exist.
And I want the Relaton YAML/Metanorma AsciiBib to break with what is there already: I want it to follow the structure of Relaton, rather than the flatter ad hoc structure currently in place (since that is idiosyncratic, and the grammar is publicly documented.)

So, I'm going to get started on this after new gem release. I will implement in the following stages:

Generic key/value hash to Relaton object: I will try to use hash keys directly as much as possible. Code in Relaton
YAML to Generic key/value hash: move code from relaton-cli to relaton; remove idiosyncratic flattening of structures
Asciidoctor definition list to Generic key/value hash: first cut code already in place in metanorma-standoc

I am hoping that I can use generic hashes to initialise Relaton bibitem records cleanly, so in fact there won't be too much to document, that it will be just the same structure.

The key/value hash mapping is implemented. You could argue that it's a little on the prolix side, but the intent is to match the relaton class constructors exactly. Will document in relaton-bib/docs/hash.adoc.

Where there are array values in the class constructors, I will allow single values in the YAML, with Array coercion.
I will need to extend YAML to ext, but that is not high priority.

I have implemented this as a first pass. Not wonderful, but it works. Will be refined in future iterations, not to be publicly documented yet. Documentation available at https://github.com/metanorma/relaton-bib/blob/master/docs/hash.adoc, samples at https://github.com/metanorma/metanorma-standoc/blob/master/spec/asciidoctor-standoc/refs_dl_spec.rb

@ronaldtse This is at least a month away from being ready for prime time. Any proposals to flatten the current structure may well be needed, but will be met with righteous fury until Andrej has had time to implement the four related tickets I have posted. I want the relaton refactoring stabilised before I tinker with the Metanorma AsciiBib to Relaton Hash mapping.

This is at least a month away from being ready for prime time. Any proposals to flatten the current structure may well be needed, but will be met with righteous fury until Andrej has had time to implement the four related tickets I have posted. I want the relaton refactoring stabilised before I tinker with the Metanorma AsciiBib to Relaton Hash mapping.

@opoudjis is this ready for the next stage? We are clearly in need of documentation on AsciiBib. Thanks!

This is nowhere near the next stage. Andrej is halfway through the first of four tickets.


Can't drag the cursor with the mouse

Previously, it was possible to click and drag the text selection cursor with the mouse.  This should only be possible on mobile with touch gestures.

Old
New

Fixes https://github.com/flutter/flutter/issues/102928

@chunhtai I bisected this bug to your PR https://github.com/flutter/flutter/pull/98073.  What do you think of this solution?
The analyzer failure seems messed up, I'll push a merge commit when master gets updated and see if that fixes it.

The problem is that the underlying field needs to receive that drag gesture when using a mouse, so I would need to write a custom GestureDetector that receives touch drags but ignores mouse drags.
My thought was that we shouldn't be building this invisible handle there anyway, but after looking into it my current way isn't the right way to do that.  The place to decide if a handle should be built or not is TextSelectionControls, but I don't think I can fix it there without a breaking change.
I'll investigate the touch-only GestureDetector and try to do that.  Maybe I can look into a deeper refactor and not drawing the handle at all after my ContextMenu changes.

@chunhtai I've implemented the touch-only gesture detector solution, ready for re-review.


Repositioning Image View in Onboarding Item

Wondering if there is a way to change the position of the image view present in each onboarding screen.
Why?
Want to us onboarding screens to collect user information such as email, username, and password, therefore, to make room for the text fields I want to change the y position of the image view!

Yes, you can fork the repo, and change ImageView layout look for this https://github.com/Ramotion/paper-onboarding/blob/master/Source/OnboardingContentView/Item/OnboardingContantViewItem.swift#L187-L189


Improved tokio async implementation

Hello,
I was studying the tokio async implementation for the CanSocket/CanFdSocket and noticed that the implementation seems out of date compared to what the current tokio API offers (using the AsyncFd). Instead of having the intermediate EventedCanSocket wrapper, which implements a mio event source, I directly used the appropriate functions on the AsyncFd. I could not figure out why the mio event source was used as an intermediate wrapper. My only guess is that the code was merged from the tokio-socketcan crate, which wasn't updated for a long time, and was written against an older API of tokio/mio. If I am wrong here and the code was necessary for some reason, please let me know!
When working on it, I also added a new method for reading a single frame asynchronously, which was only possible through the Stream trait before.
I added two new test for the read_frame functions of CanSocket and CanFdSocket and renamed the old one to reflect that they use the Stream interface.
This PR includes a breaking change because the return type of the write_frame function changes, see code in the examples.

Awesome! Thanks you. I was meaning to look at this for a while now, but haven't haven't been able to find the time.
We had just merged in the old tokio-socketcan crate, which hadn't been updated in  a few years. So it definitely needed an update.
I'll test this out ASAP.

I have seen that there is a std::io::{Read, Write} implementation for the sync CanSocket. Would it be beneficial to also have the corresponding AsyncRead and AsyncWrite implementation for tokio?
Futhermore I can move the tests for the tokio module to the integration tests folder like it is done for the async_io implementation. Is this ok?

This is great!
It's a breaking change and if it gets considered I might as well make my change breaking.
To that end, I've included these commits in my PR so I can base my changes off of them.

I just pushed the implementation of AsyncRead and AsyncWrite. I also added the missing implementation of Read and Write for the synchronous CanFdSocket as a separate commit. However, there are not tests for the sync implementation. But it is just a pass-through to the inner socket2::Socket, maybe its not necessary.
The tests for the tokio module could need some refactoring, and maybe moving to the tests folder because the are technically integration test.


Update priority-queue.js

re: https://github.com/prettymuchbryce/easystarjs/issues/28

Hey Antony. Apologies for the delay in getting back to you. Nice catch on this one. I will merge it in.


Invisible Players & out-of-sync player counter

Seeming randomly, after playing with 15 people, the largest person went invisible, you could clearly see him eating the food particles as he approached, then you get disconnected as he reached you.
Also, once somebody has died, the player counter loses count somehow, showing 13 when 15 players were clearly visible.
I'm investigating these now.

Confirmed. I got this error sometimes. still have no idea.
It should be a problem with the user array handling, with some dupplicate when adding and removing users.

I think this has been fixed?

Closing this since there hasn't been any activity. If this is still happening, please re-open it.


Fix temperamental selenium tests

Sometimes, but not always, fails like so:
Errors:
Error:    QueryBuilderST.shouldBeAbleToRunParameterisedQueries:259->enterText:296 » ElementNotInteractable
[INFO]
Error:  Tests run: 6, Failures: 0, Errors: 1, Skipped: 0

As well as this, the other jasmine-tests are very temperamental due to phantomjs (https://github.com/ariya/phantomjs/issues/11526), which is no longer maintained. We probably just remake all the ui tests so that they actually pass reliably.

Moved to v2_backlog as it seems this won't be reliably fixed without rewriting the UI in a newer framework (angular 2 or react)

The selenium version will be upgraded to a much newer version in #987, with that version I saw far fewer issues.

With the newer selenium I cannot reproduce this problem locally. It seems the problem only occurs on GitHub actions. It seems to happen 30-50% of the time. Increasing the delay may help, although tests pass locally even with a much reduced delay.
The error itself relate to an element which is not interactive but should be. This may be caused by slowness within Firefox inside the runner. The runners do not have much performance and any graphical elements will have poor performance due to virtualised rendering. If there was enough of a delay rendering UI elements, this might cause an element to not be interactive because an animation had not completed in time. If this is the case, increasing the wait time between interactions could fix the problem. Adding other delays (such as to the action steps) might also be able to reduce load on the runner.

When tried, increasing the wait time variable did't fix this problem. The specific error is:
QueryBuilderST.shouldBeAbleToRunParameterisedQueries:262->enterText:299 » ElementNotInteractable

It might be that this test is missing a delay.

The UI fails to meet our Accessibility policy. It is unmaintainable and will be removed shortly.


Add "endpoint" concept from testing package into e2e

Summary
Add the Endpoint type into the e2e package. This will be useful in wrapping identifier information along with the configuration used to setup that endpoint.
This is inspired by the workflow I'm thinking of for testing update client proposals:
I want to create client with a bad trusting period (say 1s) and then update it with a client with a regular trusting period. I will need access to some function which create the clients (SetupClients) and I will need to configure their initial setup (trusting period). It is useful to also return back a type "Endpoint" which contains the ID information and can have a channel constructed on top of it

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

closing as stale


CLOUDP-60178: Implement logs API, Atlas

CLOUDP-60178

I still have to implement the test for Download but, in the meantime, I would like to know if this implementation of the Get and Download is what you want 😸 .

@themantissa this is ready for review, it includes some changes on how requests are created/executed to let us handle gzip request so you may want to give that some extra attention

@PacoDw  and @marinsalinas as the two most familiar with this client and all the downstream consumers ( Terraform provider, Vault and CloudFormation) can you in particular review the changes in  mongodbatlas.go, and mongodbatlas_test.go, especially around the new request interface, etc?   This may take a bit longer so if we need to use retainer hours that is fine.

@marinsalinas yes, we don't have POST APIs that return gzip content


Single Quote Issue

One thing i notice is that, when an entry on input form has a single quote, it fails to post the form. Has anyone encounter this issue? what is your solution? thank you.

This is not a Semantic UI issue, it's an issue with your form submission code.
In PHP for example, you need to escape your inputs with addslashes(), or better yet, mysql_real_escape_string(). Not doing so is an invitation to get hacked.
For more info, visit stackoverflow.com and search for "PHP form error single-quote" (or whatever language your code is in).


Hidden Layer Structure

Hello sir,
This is a very good tf module i found for RBM and DBN, thanks for the same but I have a small doubt
In the below code snippet could you please tell me how to interpret 'hidden_layer_structure' parameter.
dbn = UnsupervisedDBN(hidden_layers_structure=[30,2],
batch_size=10,
learning_rate_rbm=0.06,
n_epochs_rbm=20,
activation_function='sigmoid')

Hi,
In your case, hidden_layers_structure=[30,2] means you're creating a network with 2 hidden layers, the first one having 30 neurons and the latter having 2 neurons.


Broken link for attached files in issues

I'm using the "Create a task from an external provider" and it works great, but if the user attaches a file to the issue in Gitlab the link in the description is broken.
The link URL is being created as (e.g.):

(/uploads/eecd388fc1139048b57493070e9579a5/sample.docx)

Instead of:

(https://gitlabURL/projectName/uploads/eecd388fc1139048b57493070e9579a5/sample.docx)

The same thing happens for comments.

Thanks for creating kanboard & this plugin!
I changed the WebhookHandler.php file to:

$event = array(
          ...
                'comment' => str_replace("/uploads", $payload['repository']['homepage']."/uploads",$payload['object_attributes']['note'])."\n\n[".t('By @%s on Gitlab', $payload['user']['username']).']('.$payload['object_attributes']['url'].')',
          ...
            );

The "$payload['repository']['homepage']" contains the full URL for the gitlab, so adding this to handleCommentEvent and handleIssueOpened did it for me.
Ideally i'd add the URL only if it matches (/uploads.*).

Relative links are now converted to absolute links. You can download the last version of this plugin.
Thanks.


Monitoring Prometheus k8s-0  in crashloop.

Not sure why it's doing this.  Some from Slack has been trying real hard to help me out.  I'm at my wits end.
I was send data to grafana for about a week and now ingress grafana and Prometheus links won't open

Please report back with a new issue if this persists.


The EMAIL_USE_SSL setting is deprecated. Please use SENTRY_OPTIONS['mail.use-ssl'] instead.

This came to my attention when looking at the Warnings in the admin menu.
The EMAIL_USE_SSL setting is deprecated. Please use SENTRY_OPTIONS['mail.use-ssl'] instead.

Seems to be similar to https://github.com/getsentry/onpremise/issues/718

Seems to be similar to https://github.com/getsentry/onpremise/issues/718

The warning in the top bar no longer appears, but you'll still see it in the logs due to a bug in Sentry unfortunately

The warning in the top bar no longer appears, but you'll still see it in the logs due to a bug in Sentry unfortunately

Awesome.
Any idea how to mitigate this?
ClickHouseBoostrapLambdaResultSingleExecution | UPDATE_FAILED | Failed to update resource. See the details in CloudWatch Log Stream: 2021/01/21/[$LATEST]9cbac80fd00446909ac0fb22631c02f4 | Custom::ClickHouseBootstrapSingleExecution | 2021/01/21/[$LATEST]9cbac80fd00446909ac0fb22631c02f4

Afterwards it rolls back.
I uploaded the new CloudFormation file and updated the parameters accordingly (1.2.1 instead of latest).

Awesome.
Any idea how to mitigate this?
ClickHouseBoostrapLambdaResultSingleExecution | UPDATE_FAILED | Failed to update resource. See the details in CloudWatch Log Stream: 2021/01/21/[$LATEST]9cbac80fd00446909ac0fb22631c02f4 | Custom::ClickHouseBootstrapSingleExecution | 2021/01/21/[$LATEST]9cbac80fd00446909ac0fb22631c02f4

Afterwards it rolls back.
I uploaded the new CloudFormation file and updated the parameters accordingly (1.2.1 instead of latest).

Note: I am unable to find the referenced logstream.

Note: I am unable to find the referenced logstream.

I remember already testing update from 1.0.0 and 1.1.0 to latest and didn't have any problems.
To find the log stream you have to search the log group by the stack name and then it should be there.
Aka if my stack would be "sentry-rungutan-test" then this link would show me directly those correct log groups ->
https://console.aws.amazon.com/cloudwatch/home#logsV2:log-groups$3FlogGroupNameFilter$3Dsentry-rungutan-test
PS: Make sure you're in the proper region

I remember already testing update from 1.0.0 and 1.1.0 to latest and didn't have any problems.
To find the log stream you have to search the log group by the stack name and then it should be there.
Aka if my stack would be "sentry-rungutan-test" then this link would show me directly those correct log groups ->
https://console.aws.amazon.com/cloudwatch/home#logsV2:log-groups$3FlogGroupNameFilter$3Dsentry-rungutan-test
PS: Make sure you're in the proper region

btw @nodomain  -> if you don't have any data in it, just delete the stack and create a new one :)

btw @nodomain  -> if you don't have any data in it, just delete the stack and create a new one :)

Found it. Mixed up the time zones.
{
    "Status": "FAILED",
    "Reason": "See the details in CloudWatch Log Stream: 2021/01/21/[$LATEST]9cbac80fd00446909ac0fb22631c02f4",
    "PhysicalResourceId": "2021/01/21/[$LATEST]9cbac80fd00446909ac0fb22631c02f4",
    "StackId": "arn:aws:cloudformation:eu-central-1:722716701248:stack/Sentry/387ae980-5b2c-11eb-9af6-0a306114f79c",
    "RequestId": "4c27cbb5-a079-48d4-ac8c-832845186ddc",
    "LogicalResourceId": "ClickHouseBoostrapLambdaResultSingleExecution",
    "NoEcho": false,
    "Data": {
        "Reason": "string indices must be integers"
    }
}

Found it. Mixed up the time zones.
{
    "Status": "FAILED",
    "Reason": "See the details in CloudWatch Log Stream: 2021/01/21/[$LATEST]9cbac80fd00446909ac0fb22631c02f4",
    "PhysicalResourceId": "2021/01/21/[$LATEST]9cbac80fd00446909ac0fb22631c02f4",
    "StackId": "arn:aws:cloudformation:eu-central-1:722716701248:stack/Sentry/387ae980-5b2c-11eb-9af6-0a306114f79c",
    "RequestId": "4c27cbb5-a079-48d4-ac8c-832845186ddc",
    "LogicalResourceId": "ClickHouseBoostrapLambdaResultSingleExecution",
    "NoEcho": false,
    "Data": {
        "Reason": "string indices must be integers"
    }
}

Unfortunately we are using it already :)

Unfortunately we are using it already :)

Unfortunately

So is it working now...?

Unfortunately

So is it working now...?

I’ll have a debugging session tonight and give you feedback. Trying to understand the various components at the moment.

I’ll have a debugging session tonight and give you feedback. Trying to understand the various components at the moment.

Let's do it together then.
Use

Let's do it together then.
Use

Thanks! Sent an invite.

Thanks! Sent an invite.

I think we can skip the Zoom call. I found it and proposed a fix.
Python noob here - feel free to improve it 🤓

I think we can skip the Zoom call. I found it and proposed a fix.
Python noob here - feel free to improve it 🤓

Thanks! Will include the changes a new PR which offers Slack integration as well.

Thanks! Will include the changes a new PR which offers Slack integration as well.


Flip test shifting?

Sorry to bother you, I have a little question. In HRNet or SimpleBaseline, flip strategy is often used in test process,  there is often 1 pixel shifting in flip output. But in your code, I didn't fine the shifting process, could you tell me the reason?

DARK uses unbiased heatmap encoding, this process involves unbiased data processing.

DARK uses unbiased heatmap encoding, this process involves unbiased data processing. So there is no error and no manual shifting is required.

Thank you so much for your reply~


Add docstring

Sorry to open a new PR since I don't have a write permission for the branch of PR #392. I should have made a draft with my branch at the beginning for this task.

Close as I have updated and merged it into #398.


Use Proper Authentication

At the moment we are using an anonymous authentication method. Try to change this using email and password instead.

Solved using email address sign in.


Create method for dynamic information

In order for this to be a website, owner_id and sleeper_league_id have to be dynamic. It'd be nice to save them with local storage so that we don't need to create accounts and store passwords.
Right now this only connects to Sleeper. Connecting it to other apps like ESPN and Yahoo would be hard. Idk if I even want to do that.

Done with release v0.4.0


Add a test that ensures that we fail in debug mode if state is an optional param

Fixes #95

@elihart Oh, you're right. Fixed.


Host under prefix

Refs #27

Not happy with current implementation.
When using absolute paths need to prepend basePath and path in adress bar drops basePath.
Want to wait until implemented directly in remix.


Need 1.0.8 release

I'd like to get the changes from #9 incorporated into a nuget package that I can pull in via automation build. If we could get that bugfix released, that'd be great, thanks!

@gregfullman I will release the .net SDK version now. It will be available on NuGet soon. I will ping you one more time once it is ready.

@gregfullman I have just released version 1.0.8. Best regards!


Simplify dependencies management: use packages/projects aware build settings

Use lerna, pnpm, npm workspaces to avoid maintain shared dependencies in all projects, in particular maxgraph.

As we don't have any publishing requirement, I will implement "npm workspaces" which doesn't require any external libraries/tools.


add docs warning against using depositIntoSpotMarketRevenuePool

https://github.com/drift-labs/protocol-v2/commit/5f5643dfce05a46dfb1353d11ed2f24c0173e41b


Default port now taken by MacOS AirPlay to Mac

The default port of 5000 has been taken by AirPlay to Mac in the latest version of MacOS. When running my API locally, no requests were actually making it to the gateway and were instead being denied by the AirPlay receiver process. Given this will probably affect a large number of users and Apple isn't likely to change their end it might make sense to change the default port.

This definitely hung me up for a minute.


WikiUpdaterTask@2 ##[error]TypeError: contents.replace is not a function

Azure DevOps Extensions
WIKI Updater
Platform
Azure DevOps Services
Azure DevOps Server (TFS) Version
No response
Extension Version
2.8.3
Describe the bug
I have a pipeline that chain XplatGenerateRelease and WikiUpdater on a ubuntu-latest agent
The first task did produce a content in the outputfile (i can echo its content in a script task in between.)
It happens with or without the target file exists in the wiki repo.
Repo Steps
The yaml pipeline is
- task: richardfennellBM.BM-VSTS-XplatGenerateReleaseNotes.XplatGenerate-Release-Notes.XplatGenerateReleaseNotes@4
  displayName: "Generate Release Notes based on Release Comparison API"
  inputs:
    outputfile: "$(System.DefaultWorkingDirectory)/releasenotes.md"
- task: richardfennellBM.BM-VSTS-WIKIUpdater-Tasks.WikiUpdaterTask.WikiUpdaterTask@2
  displayName: "Generate Wiki page"
  inputs:
    repo: "$(WIKI_REPO)"
    useAgentToken: true
    filename: "${{ parameters.ReleaseNoteFileName }}"
    dataIsFile: true
    replaceFile: false
    appendToFile: false
    sourceFile : $(System.DefaultWorkingDirectory)/releasenotes.md
    message: Updated
    gitname: "****"
    gitemail: "****"
    trimLeadingSpecialChar: true
    fixLineFeeds: false
    insertLinefeed: true
    injecttoc: true
    localpath: "$(System.DefaultWorkingDirectory)/repo"

Expected Behavior
No error or a proper error message to help fix the sourcefile or the changelog file.
Logging Information
Variable: Repo [https://******/zzz_test]
Variable: Filename [CHANGELOG.md]
Variable: Contents [undefined]
Variable: Commit Message [Updated]
Variable: Git Username [******]
Variable: Git Email [[******]]
Variable: Use Agent Token [true]
Variable: Replace File [false]
Variable: Append to File [false]
Variable: Username [undefined]
Variable: Password [*****]
Variable: LocalPath [/home/vsts/work/1/s/repo]
Variable: Data Is File [true]
Variable: SourceFile [/home/vsts/work/1/s/releasenotes.md]
Variable: Tag Repo [false]
Variable: Tag [undefined]
Variable: Branch [undefined]
Variable: InjectExtraHeader [false]
Variable: SslBackend [undefined]
Variable: Retries [5]
Variable: trimLeadingSpecialChar [true]
Variable: fixLineFeeds [false]
Variable: fixSpaces [false]
Variable: insertLinefeed [true]
Variable: updateOrderFile [false]
Variable: prependEntryToOrderFile [false]
Variable: orderFilePath [undefined]
Variable: injecttoc [true]
Variable: mode [Pull]
Using OAUTH Agent Token, overriding username and password
The provided repo URL is https://******/zzz_test
The protocol is https
The provided repo URL is https://******/zzz_test
Removing leading http:// or https:// block
Removing leading username@ block
Trimmed the URL to ******/zzz_test
URL used https://buildagent:***@******/zzz_test
Cleaned /home/vsts/work/1/s/repo
Cloned ******/zzz_test to /home/vsts/work/1/s/repo
Set GIT values in /home/vsts/work/1/s/repo
No sub-directory passed change to /home/vsts/work/1/s/repo
Git Pull, prior to local commits, in case of post clone updates to the repo from other users
Working file name is CHANGELOG.md
##[debug]Replacing old [[_TOC_]] with a new one at the top of the pre-pended content
##[debug]Appending new content after [[_TOC_]]
##[error]TypeError: contents.replace is not a function
##[debug]Processed: ##vso[task.issue type=error;]TypeError: contents.replace is not a function
##[debug]task result: Failed
##[error]TypeError: contents.replace is not a function
##[debug]Processed: ##vso[task.issue type=error;]TypeError: contents.replace is not a function
##[debug]Processed: ##vso[task.complete result=Failed;]TypeError: contents.replace is not a function
Finishing: Generate Wiki page

That error points to the fact that the contents object is null, either no content was passed as a string, or the content loaded from the source file is null. But the tests you have done would point to this not being the case.
I have added extra logging and a null check on the contents variable in 2.9.x, can you retest with that.

Hello,
I do have the extra log Reading file /home/vsts/work/1/s/releasenotes.md but still the same error. could it be that contents is non null but not a string ?

Hello,
I do have the extra log Reading file /home/vsts/work/1/s/releasenotes.md but still the same error. could it be that contents is non null but not a string ?

May have changed in newer version of nodejs, but the documentation of latest version says "If the encoding option is specified then this function returns a string. Otherwise it returns a buffer."

All my Node based tasks support Node10 and Node 16 and have done so since December 2022. So unless you are using a private agent I don't think the Node version is the issue.
As you are using the  dataIsFile=true and fixLineFeeds=false properties the code to load your content should be loaded with a simple contents = fs.readFileSync(sourceFile);
if (dataIsFile === true) {
    if (fs.existsSync(sourceFile)) {
        logInfo(`Reading file ${sourceFile}`);
        if (fixLineFeeds) {
            contents = fs.readFileSync(sourceFile, "utf8");
        } else {
           contents = fs.readFileSync(sourceFile);
    }
} else {
    // we do this late copy so that we can use the same property for different encodings with a type clash
    logInfo(`Using contents string directly input`);
    contents = contentsInput;
}

The error message you report can only appear if you have the appendToFile=false. So what happens if this is set to `true' - does content appear?

I'm using public Azure DevOps agents with ubuntu-latest image. I set fixLineFeeds=true and it fixed the issue as expected because as the doc says, when the encoding is passed to readFileSync, the result is a string not a buffer.
I disable all parameters that can modify the file down to
##[debug]Writing new content
##[error]TypeError: contents.replace is not a function

Then, I set appendToFile=true but it seems to fail with the same error in FixedFormatOfNewContent.
I cannot find a path where the contents is left untouched and simply passed to a write function that would, I guess, accept the buffer object as is.

Thanks @scrocquesel-ml150 for isolating the problem so well.
I think after testing the simplest option is to just .tostring() the buffer. Version 2.10.x is being published now with this change.


Update flyway-core to 8.0.5

Updates org.flywaydb:flyway-core from 7.15.0 to 8.0.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.flywaydb", artifactId = "flyway-core" } ]

labels: library-update, early-semver-major, semver-spec-major

Superseded by #584.


allow setting capabilities.apiversions and fix some typos

Relates to #88

@lrills is this repo still being maintained?

Closing because this repo is dead.


Copy method

Hi David,
Here is the copy method branch, but it is still unfinished:
the turtles are not copying the shell, and there is some ugliness with having to manually copy some properties.

Be sure to add your new "copy" function to the list of expected function names in the test that failed.  The test is designed to make sure that we don't leak any additional names that are unexpected.

Clean code snippets from stack overflow -
You can recopy all attributes using this:
http://stackoverflow.com/questions/6753362/jquery-how-to-copy-all-the-attributes-of-one-element-and-apply-them-to-another
And clone the canvas:
http://stackoverflow.com/questions/3318565/any-way-to-clone-html5-canvas-element-with-its-content

I think it's ready now!

Thanks yana!


DT-455: Add new jaspersoft setup instructions; remove ldap bind from …

…jaspersoft

Yeah the release process will be something like:
Create the new users + roles in Jaspersoft -> deploy Delta -> deploy common-infra


PROJECTS: Readonly option when granting project access to user

After adding a user to a project (currently in the left sidebar) there should be
a simple dropdown after each active user to grant either [ Member or Observer ] access for the current project. The dropdown should only be visible for 'Managers/Admins'

This issue/change is unclear. Currently the roles are:
The user role is the Observer role. They can only view issues and create new issues.
The developer, & manager are the members that can modify the issue.

I thought this thru and I think it's not the correct solution for what I intended anymore. The current way is better and I'd rather close this at least for now. Maybe one day when I thought of something better I'll repost a new issue. Until then I think the way it is implemented now is perfect enough.
Thanks and closed.


wip/6.0 HHH-14642 fix a misuse of IdentityHashMap

Just found this error during criteria verifying. Usually for HashMap or HashSet with expected element size, the below is a surprising common error:
Map<String, String> map = new HashMap<>( expectedSize );

for HashMap or HashSet's load factor is never 1 so it will end up with growing unnecessarily and time consuming, thus defeating the purpose of such size specification endeavour in the first place.
There are tons of such misuse in our codebase, but it is not the scope of this PR (I even created a PR to fix the error in ANTLR (see https://github.com/antlr/antlr4/pull/2938). I believe the misuse is a performance drain for it is used so often everywhere. Off course CollectionHelper has provided util methods for both HashMap and HashSet, but they are not used as often as expected.
But there are two noticeable exceptions in JDK. For both IdentityHashMap and ConcurrentHashMap we can finally cease to worry about load factor and its implication. This PR simply aims to fix this.

Thanks