Does code-less agent status monitor v2 support for the profiler?

Hi team,
I deployed AI Status Monitor V2 agent in my Windows Azure VM, which host on IIS.
But I met error in the bootstrap after deploy the configuration change.
May I know if the profiler only support AI SDK or both code-less agent SDK all fine?
Thanks.

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

ID: 36e5b161-ef9e-41a7-8eff-14202a9556f6
Version Independent ID: 90a657f8-a6c5-def6-1f4b-fd3081da1493
Content: Azure Application Insights Agent - getting started - Azure Monitor
Content Source: articles/azure-monitor/app/status-monitor-v2-get-started.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @TimothyMothra
Microsoft Alias: tilee

@xuegao0112  Thank you for your feedback . We will investigate and update the thread further.

Application Insights Agent (aka Status Monitor v2) is for on-prem scenarios. For Azure VMs supported path is the Azure VM APM extension. Here's a good tutorial to enable it: https://cloud-right.com/2019/12/azure-appinsights.
Profiler is only supported for Azure deployment scenarios, and should work in Azure VM. Please follow these steps to enable: https://docs.microsoft.com/en-us/azure/azure-monitor/app/profiler-vm
Best,  Michael
-Azure APM Product Team

@mmilirud-msft  - Thank you for providing your insights.
@xuegao0112 - I hope @mmilirud-msft has answered your question.
At this moment, Since there is no doc update required, We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Rename useWallets() to useWallets_INTERNAL_ONLY_NOT_FOR_EXPORT

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#55
#54
#53
#52  👈
#51
#50
#49
#48
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @steveluscher and the rest of your teammates on  Graphite


Hope to support more LLM provider

Local llm via Ollama would be very welcome, we cannot use external services like Claude or OpenAi, so we have to rely on local LLM


Update the "Run Examples" instructions in the readme.md

This section is outdated. It should be updated with the new instructions contained in each example

Assign it to me.

Looks like this issue can be closed now - the PR is merged!


Fix missing returns in node watcher

Lack of said returns caused exotic loops where machines were not properly deleted if the node appeared while the machine was in the middle of being deleted.

This change is


[bug] KeyError when a variable in prompt fits regex expressed by ${gr.+[2]}

Describe the bug
When a prompt contains a variable that fits names described by RegEx ${gr.+[2]}, creating a guard raises KeyError
To Reproduce
Steps to reproduce the behavior:

RAIL spec
The problem is not with RAIL spec. A minimal bug-reproducing code provided below

import guardrails as gd
from pydantic import BaseModel, Field

class TestResponse(BaseModel):
  grade: int = Field(description="The grade of the response")

prompt = """Give me a response to ${grade}"""

# From pydantic:
guard = gd.Guard.from_pydantic(output_class=TestResponse,
                               prompt=prompt)

Runtime arguments (e.g. guard(...))
Runtime argument included in the code above.

Expected behavior
I expect to be able to use any variable name in a prompt, as long as it's within the ${...} delimit.
Instead, any variables matched by RegEx ${gr.+{2,}} raises KeyError

${grade} raises KeyError: 'de'
${grva} raises 'KeyError: 'a'`

Anything not matched the regex works: gvvv, gggg
Library version:
0.2.2
Additional context
Tested on both Mac OS and Ubuntu.
Full error message:
Traceback (most recent call last):
  File "/home/xxx/src/test_guard/test.py", line 10, in <module>
    guard = gd.Guard.from_pydantic(output_class=TestResponse,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/xxx/.conda/envs/test/lib/python3.11/site-packages/guardrails/guard.py", line 175, in from_pydantic
    rail = Rail.from_pydantic(
           ^^^^^^^^^^^^^^^^^^^
  File "/home/xxx/.conda/envs/test/lib/python3.11/site-packages/guardrails/rail.py", line 58, in from_pydantic
    return cls.from_xml(xml)
           ^^^^^^^^^^^^^^^^^
  File "/home/xxx/.conda/envs/test/lib/python3.11/site-packages/guardrails/rail.py", line 117, in from_xml
    prompt = cls.load_prompt(prompt, output_schema)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/xxx/.conda/envs/test/lib/python3.11/site-packages/guardrails/rail.py", line 199, in load_prompt
    return Prompt(
           ^^^^^^^
  File "/home/xxx/.conda/envs/test/lib/python3.11/site-packages/guardrails/prompt/base_prompt.py", line 20, in __init__
    source = self.substitute_constants(source)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/xxx/.conda/envs/test/lib/python3.11/site-packages/guardrails/prompt/base_prompt.py", line 63, in substitute_constants
    mapping = {f"gr.{match}": constants[match]}
                              ~~~~~~~~~^^^^^^^
  File "/home/xxx/.conda/envs/test/lib/python3.11/site-packages/guardrails/utils/constants.py", line 33, in __getitem__
    return self._constants[key]
           ~~~~~~~~~~~~~~~^^^^^
KeyError: 'de'

Here's the Conda environment.
# This file may be used to create an environment using:
# $ conda create --name <env> --file <this file>
# platform: linux-aarch64
@EXPLICIT
https://repo.anaconda.com/pkgs/main/linux-aarch64/_libgcc_mutex-0.1-main.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/ca-certificates-2023.08.22-hd43f75c_0.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/ld_impl_linux-aarch64-2.38-h8131f2d_1.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/libstdcxx-ng-11.2.0-h1234567_1.conda
https://repo.anaconda.com/pkgs/main/noarch/tzdata-2023c-h04d1e81_0.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/libgomp-11.2.0-h1234567_1.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/_openmp_mutex-5.1-51_gnu.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/libgcc-ng-11.2.0-h1234567_1.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/bzip2-1.0.8-hfd63f10_2.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/libffi-3.4.4-h419075a_0.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/libuuid-1.41.5-h998d150_0.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/ncurses-6.4-h419075a_0.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/openssl-3.0.10-h2f4d8fa_2.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/xz-5.4.2-h998d150_0.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/zlib-1.2.13-h998d150_0.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/readline-8.2-h998d150_0.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/tk-8.6.12-h241ca14_0.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/sqlite-3.41.2-h998d150_0.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/python-3.11.5-h4bb2201_0.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/setuptools-68.0.0-py311hd43f75c_0.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/wheel-0.38.4-py311hd43f75c_0.conda
https://repo.anaconda.com/pkgs/main/linux-aarch64/pip-23.2.1-py311hd43f75c_0.conda

and pip installed modules:
Package            Version
------------------ ---------
aiohttp            3.8.5
aiosignal          1.3.1
async-timeout      4.0.3
attrs              23.1.0
boltons            23.0.0
certifi            2023.7.22
charset-normalizer 3.2.0
click              8.1.7
colorama           0.4.6
colored            2.2.3
eliot              1.14.0
eliot-tree         21.0.0
frozenlist         1.4.0
griffe             0.36.2
guardrails-ai      0.2.2
idna               3.4
iniconfig          2.0.0
iso8601            2.0.0
jmespath           1.0.1
lxml               4.9.3
markdown-it-py     3.0.0
mdurl              0.1.2
msgpack            1.0.5
multidict          6.0.4
openai             0.28.0
packaging          23.1
pip                23.2.1
pluggy             1.3.0
pydantic           1.10.9
Pygments           2.16.1
pyrsistent         0.19.3
pytest             7.4.2
regex              2023.8.8
requests           2.31.0
rich               13.5.2
setuptools         68.0.0
six                1.16.0
tenacity           8.2.3
toolz              0.12.0
tqdm               4.66.1
typer              0.9.0
typing_extensions  4.7.1
urllib3            2.0.4
wheel              0.38.4
yarl               1.9.2
zope.interface     6.0

Hi! This was released in 0.2.3-alpha1 yesterday, and will be part of the full 0.2.3 release next week. Thanks for submitting!


Add CoffFile::LoadSymbolsFromExportTable

Similarly to ElfFile::LoadSymbolsFromDynsym.
As the name suggests, this extracts symbols from the Export Table. As the Export Table doesn't contain sizes (just like the COFF symbol table), these are obtained from unwind information when possible.
It also supports symbols exported by ordinal only (with no name), to which we arbitrarily assign the name NONAME<ordinal>.
Bug: http://b/245680119
Test:

Unit tests.
As part of a larger prototype for symbol loading fallback.

Hmm, the test LoadSymbolsFromExportTableAllExportedOnlyByOrdinal aborts on clang11 debug builds, I can reproduce locally.

Hmm, the test LoadSymbolsFromExportTableAllExportedOnlyByOrdinal aborts on clang11 debug builds, I can reproduce locally.

Ok, I hadn't fully understood how strict llvm::Error is. Might be fixed now.


Nmo13/features/barcharts

Closes https://github.com/Caleydo/malevo/issues/4
Closes https://github.com/Caleydo/malevo/issues/3

The CSS layout is still not finished. The barcharts and the grid of the matrix does not scale properly.
UPDATE
@thinkh refined the CSS layout. Resizing works now very neatly. It looks like this now:

I'm not 100% happy with the resizing since the bars in the FP plots don't adapt as the window gets smaller. I will implement a resize handler next week.


⚠ Bofrost.at has degraded performance

In e2d778f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1139 ms

Resolved: Bofrost.at performance has improved in 8f7f346 after 307 days, 16 hours, 32 minutes.


Automatically decide CPU vs GPU given network architecture

Description
If the portion of a neural network that can be activated at once is below a certain size, it will not make sense to farm these calculations out to the GPU. This is roughly a function of the clock speed of the CPU vs clock speed of GPU & the architecture (how many cores)

Related to #30
Will also add: https://parallel.js.org/ here


Select only primary keys in UniqueValidator (#10896)

Q
A

Is bugfix?
no

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
#10896

Select only primary key when counting records.
Selected results are used only in these lines
$n = count($models);
...
reset($models)->getPrimaryKey()

@dynasource it's already covered by existing tests.

if that was the case, this PR wouldnt be necessary?

Yes. It is about performance optimization only. It is not changing behavior and not fixing any issues.

My fault. Had to expand the code to see it.

Changelog was added.
Btw, a current version of the validateAttribute function is too long to be fully covered with unit test. May I refactor it and push as other PR with additional tests? Or should I do it in this PR, because of the code climate?

Separate PR would be much better. This one is good as is.

Thank you!

Had to revert it: https://github.com/yiisoft/yii2/commit/bede9feba5b39169381d7af3c48ae89753fbe9e5


I can't find example for how to send result back to PVA

🚨 The issue tracker is not for questions 🚨
If you have a question, please ask it on https://stackoverflow.com/questions/tagged/botframework
I have used the example https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/javascript_nodejs/81.skills-skilldialog
Manifest:
Skill javascript:
await context.sendActivity({
                        value: {
                            result: context.activity.text
                        },
                        valueType: 'object',
                        type: ActivityTypes.EndOfConversation,
                        code: EndOfConversationCodes.CompletedSuccessfully
                    }, undefined, InputHints.IgnoringInput);

in the manifest:

    "skillOutput": {
        "type": "object",
        "required": [
        ],
        "properties": {
            "result": {
                "type": "string",
                "title": "selected string"
            }
        }
    }

Can you please help? The bot doesn't delegate the result to PVA

The bot framework team prefers that How-To questions be asked on Stack Overflow, using the 'botframework' tag. Closing this issue as a duplicate of this on Stack Overflow


wrong libjpeg version for 1.1.0-rc0 gcr docker image

While running the Mandelbrot Set on the latest docker image on gcr.io, there is the following error:
IOError: encoder error -2 when writing image file
In the console: there is real error message:
Wrong JPEG library version: library is 90, caller expects 80
It shall be the latest image as of Mar 23.
16715e3f77e1
tagged: 1.1.0-rc0  latest
Full command is:
$ docker run -it -p 8888:8888 gcr.io/tensorflow/tensorflow
The same code works fine on the Docker Hub image.
$ docker run -it -p 8888:8888 tensorflow/tensorflow

Hmm, I tried the MandelBrot Set example in tensorflow/tensorflow:1.1.0-rc0  and tensorflow/tensorflow:1.1.0-rc0-py3. It seems to work fine in both docker images.

@deuteron Could you provide a full bash script to reproduce the problem.

Thank you guys. The issue of gcr image is gone. I am not aware of anything I did differently this time.

Thanks for checking again. I will then close this issue.


Adding multiple select to Dropdown v2, ComboBox and Autodropdown

This PR allows Dropdown to have multiple option selection, by adding the allowMultipleSelection prop
It adds defaults styles for selected elements following the design spec that can be found here: https://paper.dropbox.com/doc/Spec-Filter-component--AbRUHsgn~ImYFuvbjwqgxOIIAg-9SLZ97eyZqrZPvq55GBK9
Selection "Clearer"
In this PR is also included a feature to render a "selection clearer" as the first item in the dropdown menu.
To use, add the prop selectionClearer with any string value, this value will be used as a label for the item, for example: "All Items"
When present, if nothing is selected, this item is selected:

Selecting anything else, deselects it:

Side effects
onSelect
An item can be selected and deselected (if the dropdown is stateful) when clicked, so I added an extra prop (deselected) to the object argument on the onSelect callback so the user can know about this. I added this to the documentation.
I also added a selection field, which contains an array with the whole selection
Fixes
While working on this I found a couple of undesirable things that happened when closeOnSelect was set to false and the user selected an item:

The dropdown menu would immediately scroll to the top
The focus would switch to the 1st item on the list

These are now fixed and the interactions feel more natural as a result.

@tinkertrain Recorded a screencast with troubleshooting details 😊
https://www.loom.com/share/97f6f21e1b1440898b7fc4abcc3fb231

Pull Request Test Coverage Report for Build 2013

87 of 87 (100.0%)  changed or added relevant lines in 9 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 2008:
0.0%

Covered Lines:
7671

Relevant Lines:
7671

💛  - Coveralls

This looks really good. I didn't find anything else to fix in the code.
However I found a bug with the keyboard navigation. If you hit KEY/Down you can navigate to the last entry of the list:

Good catch!!

One other UI thing, I wonder if we should deactivate the autocomplete in the AutoDropdown search input:

Ahh I never see that because I have form autofill deactivated on my browsers, but I think is a good idea. Let's ask @jaredmcdaniel

with the keyboard nav fix, it looks good to me 👍


Dts compiled from anonymous arrow functions cannot be automatically imported

TS Template added by @mjbvz
TypeScript Version: 4.0.3
Search Terms

d.ts
auto import
intellisense

Version: 1.49.1
Commit: 58bb7b2331731bf72587010e943852e13e6fd3cf
Date: 2020-09-16T23:21:17.533Z (4 days ago)
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 19.3.0

Steps to Reproduce:
I am using a library called ahooks, but this is not the point, I found such a thing: dts compiled from anonymous arrow functions cannot be automatically imported ...

yarn add ahooks
typing useMouse in the vscode
hit enter .. nothing happend

Need to manually click to import

I looked at the source code for export default and it looks like this
export default () => {}

It will be compiled into dts like this
declare const _default: () => void;
export default _default;

Anything types like this cannot be imported automatically

Does this issue occur when all extensions are disabled?: Yes

Simple example:
abc.ts:
const a = () => {};
export default a;

index.ts
// try to trigger import for `abc` here

This works properly if the export is instead written as:
export default function () { };


Updation of Litmus README

The Mandarin, Korean, Brazillian Portuguese, and Hindi README sections need to be updated according to the current English version of the README.

I will like to do the update hindi language to the current English version.

@ispeakc0de and @neelanjan00 please review my pull request.

@ispeakc0de and @neelanjan00 Please anyone review my pull request.....

Closing this issue. It's hard to main multi lang readme rn. Will think about this soon.


understanding the dashboard map

@ValentineHerr ,
On the dashboard map, do "errors" (coded orange) include those that will be automatically fixed? Do they include missing trees?
I think the most helpful would be to indicate:
(1) errors requiring field fixes, including missing trees
(2) errors that will be automatically fixed  +  warnings
That said, since we're already archiving versions for @rudeboybert 's paper, it probably doesn't make sense to to change it at this point.

The map is only showing errors requiring field fixes, and warnings... sorry...

It's okay (probably best, actually) to not map errors that will be auto fixed.  Does it include missed trees?

no... I could make a separate map for that or just update this one and we start the "sequence" today.

I think it's best to add it. We do have the first set of fixes in, so we'll need to retroactively make one map for the sequence. Alternatively (probably easier), we could revert the commit with new data from last night get a map with the old data, and then redo the commit.

I'll try that on a separate branch

oh! actually, I do have the missing stems in there. They are considered as errors in the map.
I thought it was odd I didn't add those, but they are automatically pulled in when the script looks at all the CSV files in reports/requires_field_fix.
So I think we are good and can close this issue

oh, great! Thanks!


Wrong link of "back" button on application detail page

Please remove the back button or redirect to the last visited page.
Motivation
When logged in as admin, i.e. someone who is allowed to create and administrate workshops, and I view the details page of an application (e.g. /applications/13), I am presented with a "back" button in the middle of the page.
Clicking this button leads to /applications which apparently lists all of my, i.e. the administrator's applications. This seems confusing.

Duplicate of #542


spring-cloud-contract-maven-plugin:2.2.3.RELEASE:convert failed: Unable to make conversion

Hello folks,
I have following folder structure:
/src/test/resources/some.groovy
package contracts

import org.springframework.cloud.contract.spec.Contract

Contract.make {
    description 'blah blah blah'
    request {
        method'POST'
        url '/api/v1/some'
        headers {
            header 'Content-Type': 'application/json;charset=utf-8'
        }
        body '''\
            {
             json here
        '''

    }
    response {
        status 400
    }
}

When I invoke mvn install it just throws
Failed to execute goal org.springframework.cloud:spring-cloud-contract-maven-plugin:2.2.3.RELEASE:convert (default-convert) on project some project: Execution default-convert of goal org.springframework.cloud:spring-cloud-contract-maven-plugin:2.2.3.RELEASE:convert failed: Unable to make conversion of some.groovy
I have checked and generateTests goal works perfectly. Can you please advise what can be wrong?

Problem was with json validation


saving session on start

Saving blank canvas on session start.
We know its a new session if it has no corresponding uri
#96

Done!

Okay, I'll take a look at this tomorrow.

Oh, you didn't extract the function like I was trying to say. I was trying to point out the anonymous function here is already a convenient unit (i.e. containing all the functionality needed and nothing else); it doesn't need to be a function that calls another function, and the extracted function doesn't need a parameter, if it's kept within LocalSession.

Fixed! I misunderstood earlier :)

Thanks :)


version number?

closing. no need to implement a server version number as it already has one: built into CloudLink.


Added HEALTHCHECK for SOA docker image and renamed image name

Hi,
This PR contains the fixes for:

Added HEALTHCHECK support for SOA docker images.
Fixed code in SOA Dockerfile to apply OPATCH patch.
Updated SOA image name from oracle/soa:$VERSION  to oracle/soasuite:$VERSION.

Also updated the documentation for these changes.
Please review and merge this request.
Thanks
Sambasiva

This is waiting on a review by @rdas0405 as code owner before it can be merged.


brew bump-cask-pr Multi-arch casks only updating one arch

What were you trying to do (and why)?
Bump casks with the following stanza:
on_arm do
    version "<IP_ADDRESS>7,7c306041a6c1ed4458be3347e70c68a6"
    sha256 "e85e38e74f3692c17765ce92fe905b239f8fbeda22986fe0258b7def654959ff"
  end
  on_intel do
    version "<IP_ADDRESS>7,8d3e803535ce65abb7edb972e2e0d144"
    sha256 "de0b5c435c7aa8c90c909c4e533d55229caca223d359993660c431419f85b11c"
  end

What happened (include all command output)?
Only one arch was updated.
What did you expect to happen?
Both archs are updated
Step-by-step reproduction instructions (by running brew commands)
`brew bump-cask-pr [cask] --version` or `brew bump --cask [cask] --open-pr`

This is similar to https://github.com/Homebrew/brew/issues/13713, yet occurs in situations where the sha256 and versions are nested in a on_arch block. Partial fix in https://github.com/Homebrew/brew/pull/13718.
Example PRs where this happened: https://github.com/Homebrew/homebrew-cask/pull/140762, https://github.com/Homebrew/homebrew-cask/pull/144283, https://github.com/Homebrew/homebrew-cask/pull/144282, https://github.com/Homebrew/homebrew-cask/pull/140644, https://github.com/Homebrew/homebrew-cask/pull/144687

Thanks @razvanazamfirei, we should fix this. As a maintainer, you may be best placed to do this!


null pointer crash with motion enabled

Hi,
I'm setting up a new camera with RaspberryPi Zero W using this RPi_Cam_Web software.  I keep seeing some crashes like this when motion (internal) is enabled.
[   59.824723] random: crng init done
[79245.734326] Unable to handle kernel NULL pointer dereference at virtual address 00000008
[79245.743888] pgd = d4680000
[79245.746129] [00000008] *pgd=14d14831, *pte=00000000, *ppte=00000000
[79245.749593] Internal error: Oops: 17 [#1] ARM
[79245.752878] Modules linked in: cmac bnep hci_uart btbcm bluetooth brcmfmac brcmutil cfg80211 snd_bcm2835 rfkill snd_pcm snd_timer snd bcm2835_gpiomem uio_pdrv_genirq fixed uio ip_tables x_tables ipv6
[79245.760794] CPU: 0 PID: 482 Comm: VCHIQ completio Not tainted 4.9.59+ #1047
[79245.762921] Hardware name: BCM2835
[79245.765694] task: d4fe28e0 task.stack: d46d4000
[79245.768412] PC is at vchiq_ioctl+0xfd8/0x188c
[79245.770530] LR is at mutex_lock+0x1c/0x48
[79245.772643] pc : []    lr : []    psr: 80000013
sp : d46d5e40  ip : d46d5e28  fp : d46d5efc
[79245.776997] r10: 00000000  r9 : 0069c791  r8 : 00000000
[79245.779178] r7 : d69e6100  r6 : d69e5000  r5 : c090b170  r4 : d46d4000
[79245.782720] r3 : 00000000  r2 : 00000000  r1 : 0069c791  r0 : 00000000
[79245.785656] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[79245.788194] Control: 00c5387d  Table: 14680008  DAC: 00000055
[79245.790577] Process VCHIQ completio (pid: 482, stack limit = 0xd46d4188)
[79245.792978] Stack: (0xd46d5e40 to 0xd46d6000)
[79245.795369] 5e40: 00000000 00000000 00000001 00000000 d46d5e7c d46d5e60 c0047d38 d69e5824
[79245.801478] 5e60: b6d22d84 c014c407 d7580194 00001100 b6d22d84 c014c407 c007c8ec 00000008
[79245.806434] 5e80: ffffffff 00000000 00000000 b6f3b000 00000008 b6d22db8 00001000 00000008
[79245.811569] 5ea0: b6d22d98 b6f3b3c0 00000001 d46d4000 d46d5f4c d46d5ec0 c007e214 c007c7dc
[79245.818713] 5ec0: d46d5eec d46d5ed0 c004bc68 c00401a0 d4c23d40 b6d22d84 d73822f8 d46b2000
[79245.824443] 5ee0: 00000004 00000004 d46d4000 00000000 d46d5f7c d46d5f00 c01575f0 c04c5398
[79245.830112] 5f00: d46d5f24 d4fe28e0 00000000 d4c23d40 00004812 c08b17f0 d46d5f74 d46d5f28
[79245.836874] 5f20: c05d1910 00000000 00000001 00000081 b6f3b3c0 c016211c d7080840 b6405550
[79245.842599] 5f40: b6d22d84 00000001 c014c407 00000004 d46d5f6c d46b2001 b6d22d84 d46b2000
[79245.849862] 5f60: c014c407 00000004 d46d4000 00000000 d46d5fa4 d46d5f80 c0157d6c c0157560
[79245.856684] 5f80: 00000008 b6405550 b6ee72ec 00000001 00000036 c000ffc4 00000000 d46d5fa8
[79245.862890] 5fa0: c000fe40 c0157d34 b6405550 b6ee72ec 00000004 c014c407 b6d22d84 00000008
[79245.870301] 5fc0: b6405550 b6ee72ec 00000001 00000036 b6ee7308 b6d22d84 b6ee72b4 b6ed6f3c
[79245.876610] 5fe0: b6ee7240 b6d22d54 b6ed4010 b6ded8ac 20000010 00000004 5767f57c 2f379dcf
[79245.884815] [] (vchiq_ioctl) from [] (do_vfs_ioctl+0x9c/0x7d4)
[79245.891459] [] (do_vfs_ioctl) from [] (SyS_ioctl+0x44/0x6c)
[79245.898283] [] (SyS_ioctl) from [] (ret_fast_syscall+0x0/0x1c)
[79245.905349] Code: e0867003 e50b3090 e597300c e597a008 (e5932008)
[79245.936746] ---[ end trace ce62fcdaf191c273 ]---
Once it crashes, the image on the web browser freezes. I would need to reboot the Pi Zero W to restart.
I'm using  Raspian 2017-11-29-raspbian-stretch-lite.
It also happens on 2018-04-18-raspbian-stretch-lite.img
Both are fresh install and has nothing else running. Both boot into text console.
If I don't enable motion (Internal), it would run for days without problem.
Any idea / suggestion on where I should look at to debug this?
Thanks
-Thanh

Hi Rob
Thanks for your help.
I see this at the end of the /boot/config.txt file
NOOBS Auto-generated Settings:^M
hdmi_force_hotplug=1^M
start_x=1
gpu_mem=128
The crash seems to happen at random places.
1.
[ 1637.909066] Unable to handle kernel NULL pointer dereference at virtual address 00000070
[ 1637.915969] pgd = c0004000
[ 1637.920743] [00000070] *pgd=00000000
[ 1637.925871] Internal error: Oops: 17 [#1] ARM
[ 1637.929694] Modules linked in: cmac bnep hci_uart btbcm serdev bluetooth ecdh_generic evdev joydev hid_logitech_hidpp hid_logitech_dj brcmfmac brcmutil snd_bcm2835(C) snd_pcm snd_timer cfg80211 snd rfkill uio_pdrv_genirq fixed uio ip_tables x_tables ipv6
[ 1637.941180] CPU: 0 PID: 710 Comm: kworker/0:2 Tainted: G         C      4.14.34+ #1110
[ 1637.949368] Hardware name: BCM2835
[ 1637.956712] Workqueue: mm_percpu_wq drain_local_pages_wq
[ 1637.961005] task: d50fe120 task.stack: d50b8000
[ 1637.964641] PC is at free_pcppages_bulk+0x274/0x498

Message from syslogd@picam2 at May  1 01:58:43 ...
kernel:[ 1746.319650] Internal error: Oops - undefined instruction: 0 [#1] ARM
Message from syslogd@picam2 at May  1 01:58:43 ...
kernel:[ 1746.364325] Process VCHIQ-0 (pid: 60, stack limit = 0xd7386188)

Message from syslogd@picam2 at May  1 02:35:29 ...
kernel:[ 1689.010362] Internal error: Oops: 17 [#1] ARM
Message from syslogd@picam2 at May  1 02:35:29 ...
kernel:[ 1689.057757] Process MP4Box (pid: 676, stack limit = 0xd4d70188)
Not sure if they ring any bell?
I'll try the full install to see if it behaves differently.
Thanks
-Thanh

I tried the full NOOB image and the problem is also there.
It looks like this could be isolated to a board and a camera module that were running the RpiCam software.
Once I exchange the Raspi Zero board the problem disappeared.  However, when using that Raspi ZeroW board with the same micro SD card (that was having issue) with a different camera module then the problem does not show up either.  I've tried changing power supply, USB cable.  Maybe I have cabling issue on that camera. Can't try it yet as I don't want to disturb that working set up now.  When I have another of those camera module, I'll try again.  Thanks for your help

I am getting the same error in Raspi Zero W. I too think it is because of the connectivity issue.

Is the software working OK without motion detection off?
Are you using internal or external motion detection? Internal is much better.
Kernel crashes can also be caused by power supply problems and loose connections to the camera. As the camera draws extra current you need a good power supply and also importantly a good short USB power lead. Many USB cables have a high resistance and cause voltage drops. The camera ribbon should be checked for being well inserted both ends and the little ribbon on the camera module itself should be pressed down as it can sometimes become loose.

In my case, I narrowed down to a Raspi zero W board itself that caused the exception.  The same camera module and its flex cable and the same micro SD card work fine on a RaspiZeroW board. Switching the the RaspiZeroW board with the problematic one the exception showed up.

OK. It does sound like a problem board.
Check the camera socket on the board. They are quite fragile and if cracked then it may not apply enough pressure to make good contact. If holding it down works then one can sometimes repair it with a bit of tape.
The other thing could be a dodgy usb connector. Try connecting power into the other if it is free, or if you can wire %V,0V direct to the GPIO connector that would bypass any problem.


Split Codecov GitHub action to separate job & add retries. Update other actions.

References

Applying fixes from https://github.com/DSpace/DSpace/pull/8780 to dspace-angular

Description
This PR  applies the GitHub action fixes from https://github.com/DSpace/DSpace/pull/8780 to dspace-angular.  See that PR for more details.

I've split our Codecov upload to a separate job (so it can be restarted separately from the rest of the build) and made it auto-retry up to 5 times.
While I was at it, I did a minor update to latest version of a few other github actions.

Additional fixes specific to dspace-angular in this PR:

Updated Cypress action to latest version.  Removed the unnecessary headless flag as Cypress defaults to headless mode & that flag displays a warning.
Fix Yarn caching warning by updating caching syntax to latest example: https://github.com/actions/cache/blob/main/examples.md#node---yarn

Instructions for Reviewers

Ensure this passes our GitHub CI tests & Codecov uploads successfully.

Merging immediately as everything is working as it should & GitHub actions' warnings are now gone.  This only updates GitHub actions and doesn't touch any DSpace code.


feat(CNV-40411): set default instancetype and preference labels

What this PR does / why we need it:
During execution of the disk-uploader, it should
be able to get the default-instancetype and
default-preference labels from the DV or PVC,
and set them in the newly created containerDisk
metadata afterwards.
Release note:

Set instancetype and preference on a newly created containerDisk before uploading it

/cc @ksimon1 @lyarwood

@ksimon1 @0xFelix @lyarwood Can you please review again? :)

@0xFelix This revision will apply key:value that you requested in your latest review. Can you please take a look?

I need to test this PR changes, and add unit tests after it. I'll mark it as draft at the moment.

This revision is a rebase to have unit tests in this PR.

This revision is have unit tests to test the GetLabelsFromExportSource() function from vmexport.go.

/retest

@0xFelix Resolved your last review in this revision.

/retest

/retest

/override ci/prow/win11-pipeline-example-test

/override ci/prow/win2k22-pipeline-example-test

failing tests are not related to this change.

/lgtm


➕ [RESOURCE] -

Idea Contribution

[X] I have read all the resource request issues.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Where do you want to add the resource? Specify the category and section.
No response
Provide the URLs of the resources you are adding
No response
Any alternative approaches/features
No response
Additional Context
No response
Code of Conduct

[X] I follow the CONTRIBUTING GUIDELINE of this project.

We have a folder for java. That's why its important to describe your resource that youre going to add to avoid conflicts


help

Hi , I use this library 👍  but I receive error / for example > error for send code to phone number :

my project:
`using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TelegramClient.Core;
namespace sinister_v6
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
    ITelegramClient client;
    string hash;
    private async void Form1_Load(object sender, EventArgs e)
    {
        try
        {
            client = ClientFactory.BuildClient(123205, "202725e8a82ac37ecd248eef4cbxxxxx", "149.154.175.xxx", 443);
            await client.ConnectService.ConnectAsync();
        }
        catch(Exception ex)
        {
            MessageBox.Show(ex.Message);
        }
    }

    private async void btnPhone_Click(object sender, EventArgs e)
    {
        try {

var hash = await client.AuthService.SendCodeRequestAsync(txtPhone.Text);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
    private async void btnCode_Click(object sender, EventArgs e)
    {
            var user = await client.AuthService.MakeAuthAsync(txtPhone.Text, hash, txtCode.Text);

        }
    }

}`

pls upload sample source code
thanks

hi, @a-rahmani1998
What is the IP address of the server?

@vik-borisov
 is true?

pls answer my question in above
other question >>
my code in above is true? else package or reference add to my project? see this pic >>
1)

2)

pls help me
tnx

@a-rahmani1998 i'm fix quick start guid for version 0.3.x.
I have corrected a quick start guide to version 0.3.x.

@ a-rahmani1998, please use the production configuration, since the test configuration is an isolated system and you need to create a new user for this configuration

Also look at the tests. They work

@vik-brisov
Thanks and wish you were successful / if a person uploaded the source code / was awesome

Do you have any problems?

@vik-borisov , hi , I use https://github.com/vik-borisov/TelegramClient/blob/master/tests/TelegramClient.Tests/TelegramClientTests.cs and for repair my project , but i received error , when i changed api-hash and server telegram(<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>) it worked for few hours . after hours recive error - now i use this code :

and see this error :

@vik-borisov , await For Answer ♥

hi, @a-rahmani1998
Do you need help?


get_icon function stops working when using custom telescope picker

Hi guys, did the get_icon function change in this commit ?
this require("nvim-web-devicons").get_icon("default_icon") doesnt work for me when I open my custom telecscope picker ( On this commit ) and i use that function in my custom tabline module too, if it fails then tabline crashes.
but it works fine in the previous commit
https://0x0.st/HzCF.mp4

Could you please provide reproducible configuration and required steps?

nevermind i fixed it at my end


The file with JSON report tutorial_only.json has improper format

The file with JSON report tutorial_only.json has improper format

Fixed by #60


Events

Initial stab at basic events hub, let's talk about it and I'll add readme

This is awesome. Can you try committing again to see if Hound CI can get it's life together?

I don't love having to retain subscriptions, I'd like to see if we could find a way around it.  Maybe something like:
BatteryEvent.subscribe { [weak self] level in
   guard let s = self else {
      return false
   }

   // Handle event

   return true
 }

Returning false would trigger an unsubscribe when BatteryEvent is published.  Not sold on this either, just wanted to throw an alternative out there and start a dialog.

I kind of like the approach. As long as you hold that subscription, you are subscribed to the event. To unsubscribe, just deallocate it. It's definitely Swifty, and an elegant way to ensure that as any of your data structures holding subscriptions get deallocated, their subscriptions end as well.

@shnhrrsn I think there's very likely a way to build a syntax similar to what you want on top of what's existing here. Let me see if I can whip up an example.

@tannernelson @shnhrrsn This one is ready to go.
@shnhrrsn I think this is a pretty flexible and concise design. It's pretty extensible as well, for example, we could make the syntax you suggested here:
extension Event {
    func subscribeBool(handler: T -> Bool) {
        var subscription: Subscription?
        subscription = subscribe { data in
            let _ = subscription
            let keepOpen = handler(data)
            if !keepOpen {
                subscription = nil
            }
        }
    }
}

I think if users want another syntax, they can create it, but I believe structuring this way be default helps prevent memory leaks.
Maybe something like a dispose bag would be nice, for now, I'd probably use an array.


Update .gitattributes with .github

Remove some files that are no longer needed.
Added the .github folder
Moved it around to follow the listing in GitHub

Thanks for this improvement


Missing orthophoto's

Hi,
I tried to add NLS's orthophotos to my Oskari-server. Seems to be ok, but not showed in Oskari frontend. As you see images are downloaded, but not loaded in Oskari.

The whole WMTS-layer handling has been rewitten after this and this has been fixed a while ago (old issue).


Check for existing accounts for account creation and login

After the database is set up:

[ ] make sure the account exists when logging in.
[ ] make sure password and email match when logging in.
[ ] make sure the account doesn't exist when creating an account.

Check by e-mail.

Mostly done.
mongoose promises library has been deprecated -> plug in our own library
Looking to also notify user of account errors.. Current implementation simply uses the console


Refinement invalidation with Flow

It seems like Immer, Flow, and Redux won't play nicely together due to refinement invalidations. My reducer's action parameter can have a payload that is either a custom object or a string. Before adding Immer, Flow would correctly infer the type of action.payload from the value of action.type. Using produce(state, producer), however, it seems like Flow can't do that any more.
Flow declarations
type GetUserSuccessActionType = {
  type: ACTIONS.GET_USER_SUCCESS,
  payload: UserType
}

type UpdateUserProfilePicSuccessActionType = {
  type: ACTIONS.UPDATE_USER_PROFILE_PIC_SUCCESS,
  payload: string
}

type UserActionType = |
  GetUserSuccessActionType |
  UpdateUserProfilePicSuccessActionType

type UserStateType = ?UserType // UserType is just a huge object with lots of user properties

Reducer
import produce from 'immer'
import {
  GET_USER_SUCCESS,
  UPDATE_USER_PROFILE_PIC_SUCCESS
} from 'actions/types'

const DEFAULT_USER_STATE = null

const userReducer = (
  state: UserStateType = DEFAULT_USER_STATE,
  action: UserActionType
): UserStateType => {
  produce(state, (draft: UserStateType) => {
    switch (action.type) {
      case GET_USER_SUCCESS:
        draft = payload // #1
        break
      case UPDATE_USER_PROFILE_PIC_SUCCESS:
        if (draft) { draft.profilePic = action.payload } // #2
        break
      default:
        break
    }
  })
}

At the line marked #1, I get a Flow error saying
string
This type is incompatible with object type

and at #2 I get
object type
This type is incompatible with string

Not sure if this is an issue with my approach, Flow, or Immer...

Please note that #1 is an error, you just declare the draft variable, which is a just noop and will just return your old state. (In the upcoming 1.1 version we will allow to do return payload though to entirely replace the draft). Also, payload seems to be completely undefined.
Whether #2 is valid or ont I can't say anything about without knowing UserStateType, dont really see how immer would influence that typecheck, since you explicitly typed draft. (That should theoretically not be needed, but best get this working first :))


Changing commands for new 6.6 kernel IOCTL structure

WIP: Waiting until library fixes and new release is cut. Docs update missing
Changing the way commands broken by the 6.6 kernel update work.
IMPORT: Will convert a cert chain into kernel formatted cert struct and place the bytes into a file. This file can be provided to QEMU through the new certs-path flag in order to do extended attestation
EXPORT: Will convert a kernel formatted cert file into a cert chain and place the certs in a directory.
CONFIG: modify the SNP platform configuration
-SET: User has to provide they're desired TCB values and Mask Chip value, then new config will be set
-RESET: Provides 0s to Config. This will return the machine to the last committed Config version
COMMIT: Commit the current TCB and FW versions to the PSP. WILL NOT ALLOW ROLLBACKS TO OLDER VERSIONS.

Also added vlek and der support to this PR


Installation error

Hi,
I'm trying to install conjugate-prior using the command 'pip3 install conjugate-prior'
But it resulted in an error
Using cached conjugate_prior-0.38.tar.gz (4.0 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-lauso1xv/conjugate-prior/setup.py'"'"'; file='"'"'/tmp/pip-install-lauso1xv/conjugate-prior/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-foq_3pxz
cwd: /tmp/pip-install-lauso1xv/conjugate-prior/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-lauso1xv/conjugate-prior/setup.py", line 3, in
with open(file.replace("setup.py", "README.md"), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-lauso1xv/conjugate-prior/README.md'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
my pip and supported files are upgraded and is up-to-date.
Its showing setup.py file is missing.
Please help to resolve this issue
Thanks in advance
Vidya
9446482122

Thank you, fixed it.
could you please verify that it works now ?
pip install --upgrade conjugate_prior

Thank you.
Now the error is resolved and is installed properly
On Sun, Nov 8, 2020 at 3:34 AM Uri Goren<EMAIL_ADDRESS>wrote:

Thank you, fixed it.
could you please verify that it works now ?
pip install --upgrade conjugate_prior
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/urigoren/conjugate_prior/issues/3#issuecomment-723500916,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALDJ4SNPTFWB2EXYUUBEVPDSOXAAHANCNFSM4TMAKYSQ
.


register UI: progress bar

Problem
No sense of progress/total level of steps for registration
Solution
Add a step loader

Looks amazing. Can you make sure font used in numbers and labels is Kode Mono?


Capture Current Active Window to file/Clipboard

[x] Windows Supported
[ ] Mac Supported
[ ] Linux Supported

Linux
Currently on HOLD until resolution is found for #37 which will help solve this.
unable to reliably capture an application window currently


ilisi scores

Hi there,
We used your LISI evaluation code to evaluate the pancreatic integrated dataset and compare the scores with those obtained from the R LISI package. We observed that the iLISI and cLISI scores obtained from both methods (R and your implementation) are different (note that we used similar parameters for both methods).
I know that your implementation was based on the R package. Could you please tell us what could be the issue behind that?
Thank you very much.

Hi @aissav,
Did you use the lisi_graph method or something else? lisi_graph is different from iLISI as it uses the knn graph computed for the dataset and doesn't recompute one. It uses graph-based distances to get more nearest neighbors when needed. This is explained in Supplementary Note 2 of the paper here. Hope that helps!


Archiving repo

I think that once we merge https://github.com/asyncapi/server-api/pull/430 then we can put this repo up for archive.
It is good to start 2024 with some house keeping activities
@smoya also I guess that in https://github.com/asyncapi/event-gateway you should create an issue that I also proposed in some other repo https://github.com/asyncapi/cupid/issues/182
thoughts?
in short: lets do some cleanup, transparently say some projects go away, unless there is someone in community that wants to run the project
I really think enhancement is a good label for this issue 😄

@smoya I think I can move it to archive, agreed?

Yes, we should move it to archive 👍


Envoy TLS support with header imposition

WIP, CI testing

This change is

test-me-please

test-me-please

test-me-please

test-me-please

Coverage decreased (-0.2%) to 45.176% when pulling 38f22bdfbb26820e5c668508f24b051d26d42b59 on pr/jrajahalme/envoy-tls-support-wip into ff49865d477a19db54f50e91d197c26b5daee95e on master.

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

Runtime test failed to load a container:
Error: No such container: memcache-text-client

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

Changed the CI k8s test to use default secret namespace to the PODs namespace.

Super slow CI failed VM provisioning..

test-me-please

@jrajahalme can you rebase against master?

test-me-please

memcache runtime test hit an unexpected drop, likely bur to a race setting the policy. Testing again...

test-me-please

VM provisioning fail, testing again.

test-me-please

test-me-please

@jrajahalme it's a real CI failure:
22:01:27  contrib/scripts/check-logging-subsys-field.sh
22:01:27  contrib/scripts/check-fmt.sh
22:01:28  Unformatted Go source code:
22:01:28  ./pkg/envoy/server.go
22:01:28  diff -u ./pkg/envoy/server.go.orig ./pkg/envoy/server.go
22:01:28  --- ./pkg/envoy/server.go.orig	2019-12-12 22:01:28.436460706 +0000
22:01:28  +++ ./pkg/envoy/server.go	2019-12-12 22:01:28.436460706 +0000
22:01:28  @@ -605,7 +605,7 @@
22:01:28   		// the order of the rules in the imported policies
22:01:28   		// changes, so there is minimal likelihood of
22:01:28   		// unnecessary policy updates.
22:01:28  -
22:01:28  +
22:01:28   		// SortHeaderMatches(headerMatches)
22:01:28   	}
22:01:28
22:01:28  make: *** [precheck] Error 1
22:01:28  Makefile:371: recipe for target 'precheck' failed
22:01:29  Makefile:87: recipe for target 'jenkins-precheck' failed
22:01:29  make: *** [jenkins-precheck] Error 1

test-me-please

CI errors seem unrelated, external connectivity issues (<IP_ADDRESS>), etc. Trying again.

test-me-please

test-me-please

@jrajahalme merged :tada:
At this point it's probably more useful to merge this and get rc2 out and allow people to try it out and test it. It will be easier to iterate on in the master tree.
Please do follow up on the remaining feedback items above in a follow up PR.

@joestringer Addressed your comments in #9807


Update Visual Studio integration guide for 2019

https://github.com/scons/scons/wiki/IDEIntegration

Visual Studio .NET 2003 / Visual Studio 2005 (Windows)

Please update this guide for Visual Studio 2019. These instructions are over a decade old, since they target Visual Studio 2005.

Willing to provide content? I'm happy to put it on the wiki since I'm able to do so, but not a VS user so can't produce the content.

Sorry, I don't use Visual Studio much either. I was looking to get started.

Do the instructions in the wiki for 2003/2005 work on 2019? If not, what errors do you get? More information is needed.

FYI I've tweaked the page a bit to add a TOC for easier navigation and stubs for some other IDEs (and IDE-ish editors) but didn't change the actual recipes.  Great area for contributions....


Cargo chief can't fetch packages.

=> ERROR [bot builder 2/4] RUN cargo chef cook --release --recipe-path recipe.json                                                                    80.9s
------
 > [bot builder 2/4] RUN cargo chef cook --release --recipe-path recipe.json:
0.737     Updating crates.io index
80.91 error: failed to select a version for the requirement `chrono = "^0.4.38"`
80.91 candidate versions found which didn't match: 0.4.31, 0.4.30, 0.4.29, ...
80.91 location searched: crates.io index
80.91 required by package `bot v0.0.1 (/app/bot)`
80.91 thread 'main' panicked at 'Exited with status code: 101', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/cargo-chef-0.1.35/src/recipe.rs:145:27
80.91 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------
failed to solve: process "/bin/sh -c cargo chef cook --release --recipe-path recipe.json" did not complete successfully: exit code: 101
`docker-compose` process finished with exit code 17

[package]
name = "bot"
version = "0.1.1"
edition = "2021"

[dependencies]
dotenvy = '0.15.7'
tracing = "0.1"
tracing-subscriber = "0.3"
serde_json = "1"
futures = "0.3"
humantime = "2.1.0"
anyhow = "1.0.86"
extend = "1.2"
chrono = "0.4.38"
thiserror = "1.0.62"

[dependencies.poise]
version = "0.6"
default-features = false
features = ["cache", "chrono", "handle_panics"]

[dependencies.songbird]
version = "0.4.3"
default-features = false
features = ["gateway", "serenity", "native"]

[dependencies.tokio]
version = "1"
features = ["rt-multi-thread", "macros"]

[dependencies.lavalink-rs]
path = "../lavalink-rs"
default-features = false
features = ["songbird", "serenity", "native-tls", "macros"]

FROM lukemathwalker/cargo-chef:latest-rust-1.59.0 AS chef
WORKDIR app

FROM chef AS planner
COPY . .
RUN cargo chef prepare --recipe-path recipe.json

FROM chef AS builder
COPY --from=planner /app/recipe.json recipe.json
# Build dependencies - this is the caching Docker layer!
RUN cargo chef cook --release --recipe-path recipe.json
# Build application
COPY . .
RUN cargo build --release --bin bot

# We do not need the Rust toolchain to run the binary!
FROM alpine:latest AS bot
WORKDIR app
COPY --from=builder /app/target/release/bot /usr/local/bin
ENTRYPOINT ["/usr/local/bin/bot"]

When i try to build dockerfile i get an error what chrono version is not found, but this package version is exsists
https://crates.io/crates/chrono

I get error code 101 as well, but I get this:
55.95 error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
55.95 error: 19 bytes of body are still expected
55.95 fetch-pack: unexpected disconnect while reading sideband packet
55.95 fatal: early EOF
55.95 fatal: fetch-pack: invalid index-pack output
55.95 error: failed to get `aptos-system-utils` as a dependency of package `server-framework v0.0.1 (/app/server-framework)`

I think it's because of memory limits in Docker, since the repo I'm pulling from (aptos-core) is quite large.


change imports to gx imports

Changed import to gx imports to get it working.
Also to access ArgFile from cmdkit instead of commands package.
Change to function name from DefaultVal() to Default().

(fixed CI, rebased on master, fixed go fmt)

@preetsinojiya this started to look like it was going to take a lot of gx magic so I went ahead and fixed it. LGTY?

Yes. Looks good.


drupal defaults for various sub-versions are not clearly maintained or updated

Is your feature request related to a problem?
In a recent DDEV release we introduced the drupal project type for Drupal 8+.
It relies on inspection of the code laid out to determine the version, which means it's not easy to specify the Drupal version at ddev config --project-type=drupal time, except with ddev config --project-type=drupal --php-version=8.3. (And PHP version may not be the only problem in the end. For example, the inspection done in ddev config --update is used to set corepack_enable as well, for Drupal 11, and also determines the use of an appropriate version of Sqlite3.)
There are various complaints about this though, mostly because in the current setup, ddev config --project-type=drupal may result in a PHP 8.2 project (which should then be changed to 8.3 with ddev config --update). But people aren't doing the ddev config --update because it's not in their habits. (The next major release of DDEV will change most defaults to PHP 8.3, eliminating the biggest problems, but there are still complaints about how this is set or queried.)
Discussion is welcome about how we could:

Specify the Drupal sub-version at ddev config time while maintaining the generic drupal project type (or should we abandon drupal and just go back to specific versions like drupal10, drupal11, drupal12 ?
Inspect a project to find out its sub-version (ddev describe improvement?)
Other solutions?

We can probably do something about this for DDEV v1.24.0
Related:

https://github.com/ddev/ddev/issues/6306#issuecomment-2429547889 and earlier
https://github.com/ddev/ddev/issues/6633

i would still suggest either to automatically run ddev config --update after ddev composer create is finished or at least trigger a prompt asking the user if a config update should be run. that way the described problem couldnt happen anymore .

i would still suggest either to automatically run ddev config --update after ddev composer create is finished or at least trigger a prompt asking the user if a config update should be run. that way the described problem couldnt happen anymore .

In general, ddev config --update is too intrusive, but I agree that in this case it would be reasonable.
However, in the current timeframe with current setup, this wouldn't be an adequate solution (if you were trying to get drush installed before update) because while drupal/recommended-project installs fine with PHP 8.2, drush/drush does not.

In general, ddev config --update is too intrusive, but I agree that in this case it would be reasonable.
it hasnt do be shown to the user that ddev config --update is run, that could happen under the hood? and i guess running the config update wouldnt do any harm anyway if nothing changes? and if there is something that needs to change it would be more than welcome?

However, in the current timeframe with current setup, this wouldn't be an adequate solution (if you were trying to get drush installed before update) because while drupal/recommended-project installs fine with PHP 8.2, drush/drush does not.

why wouldnt that be an adequate solution? i mean if the config update would happen as part at the end of the composer create command that sets up drupal/recommended-project, at the time the user wants to require drush/drush the environment is properly set up for the task? so no php 8.2 but php 8.3. for example?

a ddev config --update with a php upgrade would also need a ddev restart. I personally prefer the specific versions with sensible defaults, than having to rely in an obscure command. In any other platform one would still have to do this manually (update php, update composer, etc..) so why not this case. I also think that the fact that ddev config  --update needs the core to be already installed. I wasn't expected that one could update drupal on php 8.2 (assume you can based on what @rfay said above), but this could not be the case in future combinations of core versions/php.
I wonder why this has never been a problem with the other frameworks that doensn't have a version specific handling.
What about supporting both? the general drupal and a more specific one where one could define it and that would validate/configure defaults before even updating anything. Like ddev config --project-type=drupal11 --php=8.2 would fail
Maybe add it as kind of tag-based format like --project-type=drupal:11 a bit more like docker images

I wonder why this has never been a problem with the other frameworks that doensn't have a version specific handling.

TYPO3 has been the primary one that does this (but it doesn't rely on any update), never had any complaints.

Maybe add it as kind of tag-based format like --project-type=drupal:11 a bit more like docker images

That's an interesting proposal.
I even think that perhaps drupal was a mistake and we should just go back to explicit project types.

I'll just repeat what I posted in another issue:
[...] I don't agree that config --update is a great solution. It seems kludgy to me. In my opinion, setting PHP 8.3 as the default version in July to coincide with the release of Drupal 11 would have been the correct solution. PHP projects still on 8.1 or 8.2 should bear the burden of jumping through hoops, to get a correct configuration.
It feels like Drupal is being punished for doing best practices, and using the current stable PHP 8.3.
https://www.php.net/downloads.php#v8.3.12
Then, the four lines I posted above your comment would be enough.
Anyway, I am looking forward to having the PHP 8.3 as the default version, I only wish it had coincided with the release of Drupal 11 in July 2024.
[...]
PROPOSAL: Sync the default PHP version of DDEV with PHP requirements of the current release of Drupal, so that these simple steps get you the latest Drupal, with the correct PHP version:
mkdir drupal11 && cd drupal11
ddev config --project-type=drupal --docroot=web
ddev start
ddev composer create drupal/recommended-project

#6306

In that issue I asked:

What do you think about my proposal?
Perhaps moving forward, DDEV could try to keep default PHP version in sync with Drupal PHP requirements, so that the default PHP version is identical to the current release of Drupal? https://www.drupal.org/docs/getting-started/system-requirements/php-requirements#versions

@rfay answered:

The reason we didn't do that earlier is that we try not to change defaults except in major version releases.

All right, but what's stopping us from planning accordingly, and making a major release, when the default PHP version needs to be bumped up?
I think getting  the latest Drupal 11 with config --project-type=drupal works great. I don't see why we have to abandon it? config --project-type=drupal7 should get you the correct set up for Drupal 7. If you need a special set up, nothing is stopping you from adding a parameter, like php=8.1, overriding the default set up.

I just started a new project with ddev config and went through the options, which reminded me of this issue.
As I see it, most users will only occasionally run ddev config ... after a while they probably start using parameters instead, like ddev config --project-type=drupal --php-version=8.3 --docroot=web. So it's not a big deal, if there are a lot of drupal9, drupal10 etc. entries.

@rfay: I even think that perhaps drupal was a mistake and we should just go back to explicit project types.

I tend to agree. Having the drupal "umbrella" cover multiple versions, mainly to limit the number of options, was probably not the right thing to do, in the bigger picture -- it introduced too much complexity, for too little gain.
If including all supported versions of Drupal after running ddev config makes things a lot easier, I think it's the right thing to do, after balancing the pros and cons.
It would be nice if you get the latest official release (Drupal 11) if you select drupal ... But again, if it makes things a lot easier just having a drupal11 option as seen below, I wouldn't mind at all:
Project Type [backdrop, cakephp, craftcms, django4, drupal6, drupal7, drupal8, drupal9, drupal10, drupal11, laravel, magento, magento2, php, python, shopware6, silverstripe, typo3, wordpress]:

Thanks for the thumbs up @rfay! I added an addendum at the end, just in case ... From:

The end result should be a true Quickstart [...]

One thing we can do here wrt Drupal 11 that's pretty easy is to automatically

Make corepack_enable: true the default (for all project types). I'll bet this does no harm
Automatically install the sqlite3 3.45 version for all project types. I'll bet this also does no harm.

Maybe add it as kind of tag-based format like --project-type=drupal:11 a bit more like docker images

I like this idea, but I'm thinking about slightly different thing
What if we add a new flag here, like --project-version=11.
When you run ddev config --project-type=drupal, it will set the project version to the default, what we set in DDEV (And we will update this version from time to time.)
When you run ddev config --project-type=drupal --project-version=10, it will be the same as drupal10.
This way we can keep a generic project type for drupal, which I like because it doesn't clutter up our project types.
(IIRC it was the main reason why it was added in the first place.)
And when you look in .ddev/config.yaml, it will be easy to see the used drupal version.

Thanks. I do think we should decide about this and make a change in v1.24.0, coming quite soon.

Thanks for looking at this @stasadev and @rfay. The proposed --project-version option sounds very promising, since it could provide both simplicity via a manageable number of options, yet flexibility by allowing to define a version.
I do still think the lagging PHP version is an issue:

#6306

In that issue I propose that the default PHP version of DDEV and PHP requirements of the current release of Drupal should be synced.
Perhaps DDEV could plan to make a major release, when Drupal's PHP version is increased? See [META] Make Drupal 10/11 compatible with PHP 8.4.

In upcoming DDEV v1.24.0 (almost certainly the next release) the default PHP version (and drupal PHP version) will be PHP 8.3.
Unfortunately, DDEV is not driven by Drupal's plans, but we have supported them very well. We have many CMSs and frameworks and communities to support.

@gitressa, I think this is exactly what you want.
The only problem is that we should have only one command to set all required configs.
We can rely on this --project-version flag to do the same thing, that is done with ddev config --update.
And we can deprecate drupal6 and drupal7 here.
For all Drupal versions, by looking at
https://github.com/ddev/ddev/blob/e84b8a7a5ca7ecdc6c02968c564397acb2da051d/pkg/ddevapp/drupal.go#L372-L413
# will set --project-version=11 --php-version=8.3 --corepack-enable
ddev config --project-type=drupal --docroot=web

# will set --php-version=8.3 --corepack-enable
ddev config --project-type=drupal --project-version=11 --docroot=web

# will set --php-version=8.3
ddev config --project-type=drupal --project-version=10 --docroot=web

# will set --php-version=8.1 (I don't know why we have 8.1 here)
ddev config --project-type=drupal --project-version=9 --docroot=web

# will set --php-version=8.2 --database=mariadb:10.4
ddev config --project-type=drupal --project-version=8 --docroot=web

# will set --php-version=8.2
ddev config --project-type=drupal --project-version=7 --docroot=web

# will set --php-version=5.6
ddev config --project-type=drupal --project-version=6 --docroot=web

This is pretty much the same thing as having drupal6, drupal7, drupal8, drupal9 etc which is what we had before.
My take here is that if we are going to have different defaults depending on the version of the project (drupal in this case), I prefer it to be provided than detected. The detection can still happen for warnings or suggestions, but otherwise it's a chicken and egg problem.

Thanks @stasadev! Your examples look great, and would be a big step in the right direction, improving the configuration command.
@hanoii, I agree with "... I prefer it to be provided than detected".
@rfay, I know that DDEV is not only Drupal. Taking a helicopter perspective, my point is not about Drupal actually, but about the default PHP version in DDEV lagging behind overall ...
PHP 8.4 is close to being officially released:

The PHP 8.4 release date is scheduled for November 21, 2024.

From https://www.zend.com/blog/php-8-4
I checked the status of the most popular CMSes, and some already support PHP 8.4, or it's underway:
Drupal - PHP 8.4 under way
@andypost is working heroically hard on landing this.

[META] Make Drupal 10/11 compatible with PHP 8.4
https://www.drupal.org/docs/getting-started/system-requirements/php-requirements

Joomla - PHP 8.4 support

PHP 8.4 Support
Full compatibility with PHP 8.4 ensures better performance and security as hosting environments upgrade to newer PHP versions

From https://www.joomla.org/announcements/release-news/5916-joomla-5-2-0-and-joomla-4-4-9-are-here.html
WordPress - PHP 8.4 almost support
Mission statement:

WordPress aims to support new versions of PHP on the day they are released as much as possible.

From https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/

https://make.wordpress.org/core/2024/11/07/getting-ready-for-php-8-4-some-code-changes-landing-in-6-7/
https://make.wordpress.org/hosting/handbook/server-environment/#wordpress-6-7

TYPO3 - PHP 8.4 support

TYPO3 13 LTS stable*
[...]
System requirements
PHP 8.2, 8.3, 8.4

From https://get.typo3.org/
Symfony - PHP 8.4 support

Install PHP 8.2 or higher and these PHP extensions [...]

From https://symfony.com/doc/current/setup.html
DDEV roadmap for default PHP version
My proposal for a DDEV roadmap going forward, on how to set default PHP version, securing that it's up-to-date:

DDEV aims at synchronizing the default PHP version with the latest official release of these CMS'es and frameworks, by making a major release:

Drupal
Joomla
Symfony
TYPO3
WordPress

If that plan is followed, since most of these already support PHP 8.4 (or it's close) DDEV could aim at releasing a major version with PHP 8.4 as the default version, when Drupal 11 gets PHP 8.4 support. (January 2025?)

From https://ddev.readthedocs.io/en/stable/users/quickstart/
Backdrop
CakePHP
Craft CMS
Django 4 (Experimental)
Drupal
ExpressionEngine
Grav
Ibexa DXP
Joomla
Kirby CMS
Laravel
Magento
Moodle
Pimcore
Python/Flask (Experimental)
Shopware
Silverstripe
Statamic
Sulu
Symfony
TYPO3
WordPress
That is a big list! It's been a while I check those. I guess @rfay is worried about it being a support nightmare.
On the other hand, most of those CMS have a sensible php default based on their project type:
i.e.
https://github.com/ddev/ddev/blob/e6bdf008d6f6ecbde57b861673e619bd3984539e/pkg/ddevapp/apptypes.go#L4
So in reality there should be nothing wrong with defaulting php 8.4 when it's released.. but on the other side, why would be? If we still keep a certain cms-php version mapping elsewhere. Just thinking out loud here.

We will not default new projects to PHP 8.4 when PHP 8.4 is released. We'll continue our overall practice of keeping up with the "more stable" release, which is one behind the latest (PHP 8.3 in next major). We do this every year when the new PHP release comes out, and have been doing this for years.
Individual project types, though, can have overrides for PHP versions on new projects if those communities prefer it.
Using the most accepted and most vetted PHP version as a default is a simple approach, and has worked for years. With DDEV people can just change the version as needed.

@stasadev I didn't imply that this was not going to be stored anywhere, they would behave exactly in the same. drupal:10 would be a project type in the yaml.

Thanks for the list @stasadev, it's great to see the pros and cons listed like that.
Personally, about --project-type=drupal:10, I have very little need for historical clues, so having no type in .ddev/config.yaml is fine with me. The only thing on that list for me would be "easy to type and remember" :)
The question is, which solution will be hardest to implement and maintain?

I didn't imply that this was not going to be stored anywhere, they would behave exactly in the same way. drupal:10 would be a project type in the yaml.

@hanoii, okay, but I think introducing a drupal type was the right move, so that's why I suggested a new flag to manage this better. Otherwise we'll have a lot of drupal:* types again.

The question is, which solution will be hardest to implement and maintain?

@gitressa, if we need to store the exact version of Drupal, I would choose the --project-version flag, so that we can have a basic logic for this and reuse it for other types of projects if necessary.
(I'm just thinking what we are going to do if Laravel or another framework introduces something breaking.)

All right @stasadev, better take the safe road then, and I guess use the --project-version flag solution. Either of them really are just fine.

I don't see any particular benefit at this point to adding a new layer of configuration. Probably we should go back to project types of drupal10, drupal11, drupal12 if the current strategy doesn't work. The current strategy has worked fine for TYPO3 for years now. It may have just been a hiccup that it wasn't good enough for drupal11.

It could be @rfay ... If as a user it's possible to do the below, that would be perfectly fine ...
Scenario, January 2025: shortly after Drupal 11 gets PHP 8.4 support, and it becomes the recommended PHP version, a DDEV MR is created and committed (simply changing drupal11 PHP version from 8.3 to 8.4) making it the PHP version for drupal11.
# will set --php-version=8.3
ddev config --project-type=drupal10 --docroot=web

# will set --php-version=8.4
ddev config --project-type=drupal11 --docroot=web

As I commented a week ago, and still is my opinion:

It would be nice if you get the latest official release (Drupal 11) if you select drupal ... But again, if it makes things a lot easier just having a drupal11 option as seen below, I wouldn't mind at all:
Project Type [backdrop, cakephp, craftcms, django4, drupal6, drupal7, drupal8, drupal9, drupal10, drupal11, laravel, magento, magento2, php, python, shopware6, silverstripe, typo3, wordpress]:

Here's what we're going to do:
drupal11 becomes a type with the correct defaults
drupal project type becomes a movable alias for latest drupal version.

Sounds fantastic, I am really looking forward to this.

@gitressa would love it if you could test the artifacts in https://github.com/ddev/ddev/pull/6750#issuecomment-2489894737
It's tricky stuff!

Sure thing @rfay, this is exactly what I had hoped for! And it works perfectly. I tried these scenarios:
$ ddev config --project-type=drupal --docroot=web
... and got Drupal 11 with PHP 8.3 as expected.
Running ddev config and selecting web and drupal10 I got the desired environment for Drupal 10.
Drupal 9
drupal9 also works perfectly. With this I got a pristine Drupal 9.5.11 on PHP 8.1:
$ ddev config --project-type=drupal9 --docroot=web
I can't wait til this gets released, it will be big step forward in user friendliness. Thank you @rfay for listening to the feedback, for taking the right decisions, and making the dream real.
@rkoller: Did you get a chance yet, to give it a test spin?

@gitressa yes i had already tested and sent a few observations towards randy.

Great, thanks @rpkoller!


[release v2.1] Upgrade embedded kubectl to 1.12.9

We should upgrade embedded kubectl to 1.12.9

verified on v2.1.11-rc1
Client Version is v1.12.9 - DO, AWS, Azure, Custom RKE cluster, AKS, GKE


chore(release): 1.138.1

See CHANGELOG

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 07cdb776aad8304de9e9cdb325c3e8edf8d6e72d
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v1
Commit ID: 07cdb776aad8304de9e9cdb325c3e8edf8d6e72d
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 45dabd8a48a2bc59bfb47230726c153d1b84b75f
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v1
Commit ID: 45dabd8a48a2bc59bfb47230726c153d1b84b75f
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 555ca97679f2b90c1b247354498c10719ac00c04
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v1
Commit ID: 555ca97679f2b90c1b247354498c10719ac00c04
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Bump Python 3.6.6 to 3.6.7

cc @sharifelgamal

won't python3.7 need test files as well?

Sorry that's not supposed to be in here.


Unable to import 'Notion.client'

Working evironment

Win10 64bit
Python 3.8.7 32-bit
write script and run on VSCODE

Symptom

pylint pointed out that from notion.client import NotionClient is having a problem: Unable to import 'Notion.Client'
Obviously, when I run the code, I get ModuleNotFoundError: No module named'Notion'

What I`ve tried

Remove all packages that were installed with pip, and did pip install notion => DOES NOT WORK
pip install "notion==0.0.25" => DOES NOT WORK
Using venv => DOES NOT WORK (Despite confirming that a folder named 'notion' was created inside venv)

All other packages work without any problems. Only this notion-py causes the problem.

@spctrm404 I get this problem with file notion.py. Solve that after rename notion.py.

I still get the same problem :frowning_face:. I'm running on Ubuntu 20.04.2 LTS on a virutualenv in Python 3.8.6, also running on VSCode

maybe you have not install notion successfully,i have get the same problem,and tryto replace "pip install notion" with "pip install notion --user" ,after that there is no error with run "import notion".
good luck!

source file name should be different with notion.py, because the package is notion too!


END fields

The END info field is currently misused throughout much of the pipeline. According to the VCF specification, the END tag is defined as:
end position of variant described in this record (for use with symbolic alleles)
This is somewhat vague, but it also defines this key property:
For precise variants, END is POS + length of REF allele - 1
By convention, for SVs we use symbolic ALT alleles (e.g. '<DEL>') and simply define the REF allele as a single base. For intra-chromosomal spanning events such as DEL, DUP, and INV, we intentionally defy the second definition and use the first. The spec gives this example:
2 321682 . T <DEL> 6 PASS SVTYPE=DEL;END=321887;SVLEN=-205;CIPOS=-56,20;CIEND=-10,62 GT:GQ 0/1:12

That is END=POS+|SVLEN|. Note also that SVLEN is defined as the difference between ALT and REF allele sizes which is negative for deletions, but in our pipeline we take the absolute value. This is all fine for our purposes and doesn't need to be changed; I am simply providing context here.
For INS, the spec states that END should always be equal to POS (POS+1-1) but we use the convention END=POS+1. This is also OK, since some tools need the non-zero length for overlap computations. Also note SVLEN should be the length of the insertion if known (we use the value -1 when it is unknown, which we should also fix but would be the issue of a separate ticket).
However, for other "point" variants including BND, CTX, and sometimes CPX, our use of end is inconsistent and has led to a number of bugs in the past. Currently, END is incorrectly used for the coordinate of the second breakend of the variant. For example, if there is a BND specifying a break from chr1:100 to chr1:200, our VCF will have CHR=chr1, POS=100, CHR2=chr1, and END=200. This convention is problematic, however, for inter-chromosomal events. For example, a BND from chr:100 to chr2:50 will then have END<POS, which causes some tools to crash or silently fix the END tag automatically (as in some versions of pysam).
Proposal: All BND and CTX records should have END=POS+1 and use CHR2/END2 to define the other end of the breakpoint (even if CHR=CHR2). The same convention should be enforced for CPX event types that use CHR2. Note that this will require changes to many parts of the code base, including not only changing the format but also computations performed with these SV types such as overlap checking. I would suggest to start at the end of the pipeline (right before FixEndsRescaleGq in CleanVcfChromosome which corrects END for the final "cleaned" vcf) and work backwards to ensure parity with the current behavior, modulo any bug fixes encountered along the way.

Which version(s) of the modules gives END=POS+1 for <INS>? That's not what I'm seeing for some INS recently called by GATK-SV. Here's an example:
chr10	132355882	.	N		481	HIGH_SR_BACKGROUND	ALGORITHMS=manta;CHR2=chr10;END=132355932;EVIDENCE=SR;PREDICTED_LOF=LRRC27;PREDICTED_NONCODING_BREAKPOINT=DNase;SVLEN=57;SVTYPE=INS;

Thanks for pointing this out, this may be a record generated during complex event resolution. We should look into whether this is still the case.


CreateWithSeed for PublicKey class

Is your feature request related to a problem? Please describe.
Sometimes we need derive the address of a account for a specific program.
I am not aware of any API in Solnet to achieve this.
Describe the solution you'd like
Probably PublicKey should have a static method named createWithSeed for ease.
Additional context
here is the js counterpart API :
  const GREETING_SEED = 'hello';
  greetedPubkey = await PublicKey.createWithSeed(
    payer.publicKey,
    GREETING_SEED,
    programId,
  );

source : https://github.com/solana-labs/example-helloworld/blob/d7b852dd94be16572dfe2bf8e088040e5a191534/src/client/hello_world.ts#L164

We have several methods in Solnet which facilitate derivation of PDAs, you should check this and maybe this TryCreateWithSeed which is used in the context of the Stake Program... I'm unsure which one best fits your needs. The first link is used extensively in Solnet.Serum and Solnet.Mango to derive vault signer PDAs, mango accounts, advanced orders accounts etc

Thanks!
this
did the trick!


NullReferenceException in Renamer

I'd got a pretty big project, which could throw an exception during protection phase:
[ERROR] Unknown error occurred.
Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at Confuser.Renamer.Analyzers.ReflectionAnalyzer.Analyze(INameService nameService, ITraceService traceService, IReadOnlyList`1 moduleDefs, MethodDef method)
   at Confuser.Renamer.AnalyzePhase.Analyze(NameService service, ConfuserContext context, ProtectionParameters parameters, IDnlibDef def, Boolean runAnalyzer)
   at Confuser.Renamer.AnalyzePhase.Execute(ConfuserContext context, ProtectionParameters parameters)
   at Confuser.Core.ProtectionPipeline.ExecuteStage(PipelineStage stage, Action`1 func, Func`1 targets, ConfuserContext context)
   at Confuser.Core.ConfuserEngine.RunPipeline(ProtectionPipeline pipeline, ConfuserContext context)
   at Confuser.Core.ConfuserEngine.RunInternal(ConfuserParameters parameters, CancellationToken token)

Such an exception did not occur on other confuser forks.
The protection rule preset is minimum, with renamer enabled.
Any renamer mode (debug, reversible, etc) can trigger this exception.

This analyzer doesn't exist in any other fork of ConfuserEx. It provides improved support for reflection usage. I think I know what the error was. Please have a look at this build and see if that fixes it. If it doesn't, I'll need some more information on what is wrong.

I downloaded the new build. The same error still exists.
[ERROR] Unknown error occurred.
Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at Confuser.Renamer.Analyzers.ReflectionAnalyzer.Analyze(INameService nameService, ITraceService traceService, IReadOnlyList`1 moduleDefs, MethodDef method)
   at Confuser.Renamer.AnalyzePhase.Analyze(NameService service, ConfuserContext context, ProtectionParameters parameters, IDnlibDef def, Boolean runAnalyzer)
   at Confuser.Renamer.AnalyzePhase.Execute(ConfuserContext context, ProtectionParameters parameters)
   at Confuser.Core.ProtectionPipeline.ExecuteStage(PipelineStage stage, Action`1 func, Func`1 targets, ConfuserContext context)
   at Confuser.Core.ConfuserEngine.RunPipeline(ProtectionPipeline pipeline, ConfuserContext context)
   at Confuser.Core.ConfuserEngine.RunInternal(ConfuserParameters parameters, CancellationToken token)

Could you attach the debugger to ConfuserEx (like dnspy) and see where this exception is originating from? Without any information what is going on that will be very time consuming to find.

Well, I attached the former build to dnspy and found that when the problem occured, the code firstly ran to getMember = ((TypeDef t) => t.Methods);
when instr = {IL_01D0: call System.Reflection.MethodInfo System.Type::GetMethod(System.String,System.Type[])}
I followed the code into the following place:

TraceArguments(Instruction instr)
instr.CalculateStackUsage(out push, out pop);
CalculateStackUsage(bool methodHasReturnValue, out int pushes, out int pops) // methodHasReturnValue = false
CalculateStackUsageCall(Code code, out int pushes, out int pops) // within the method, code = Call, sig = {System.Reflection.MethodInfo (System.String,System.Type[])}, method outputs pushes = 1, pops = 3
When it went back, it seems that trace.TraceArguments(instr) had given a wrong result, the arguments was null (I was not 100% sure, since the assembly was optimized) and the code flow popped back to the catch exception part.

The CLR for the problematic assembly was .NET Framework 4.

There is a new build being created that should raise a warning in case the tracing of the method argument fail and still continue to obfuscate the assembly. The warning will mention the method that contains the problem.
I would be very interested in  the source code of this specific method, for further analysis.
The new build is being created here.

I'd managed to create a tiny project which reproduce the problem.
Please use the following stuff.
	class Program
	{
		static void Main(string[] args) {
			typeof(A).GetMethod("X", new[] { GetType(1) ?? MyType.Int });
		}

		static Type GetType(object v) {
			return v.GetType();
		}
	}
	static class MyType
	{
		public static readonly Type Int = typeof(int);
	}
	class A
	{
		public void X(int a, int b) {

		}
	}

I think I found the bug. Please test this build and see if the warning is gone with the actual code.

Thank you for fixing the problem.
No more error is seem. The workflow ends without problem.
However, I could not test my project which was going to be protected, since I encountered another issue (not appeared to be related to this issue) in the obfuscated assembly, which made the assembly broken. I will try to open a new issue describing the problem.


Resetting session after login

I read claims that devise resets the session after logging in to prevent session fixation.
Can someone point me to the place in the source, or to a page documenting this? Or both? ;-)
Thanks!

The code is in the warden project. It sets :renew true in the session store every time someone signs in.
Btw,  Please use the mailing list or StackOverflow for questions/help, where a wider community will be able to help you. We reserve the issues tracker for issues only.

okay, thanks!


Getting Error 'this.client.assertion' is not a function

I am working on setting up automation test for an application using nightwatch. When i run the tests, getEl function call fails at - /node_modules/testarmada-nightwatch-extra/lib/base-command.js in the below line of pass function -
this.client.assertion(true, pactual, pexpected, _util2.default.format(message, this.time.totalTime), true);
and the error is  **TypeError: this.client.assertion is not a function.
Wondering whether i missed anything in the config.
Appreciate any help.

@tharacj make sure that you are locked to nightwatch version 0.9.21 in your package.json. NW Extra isn't compatible with Nightwatch 1.0+ yet.


[Add] Adding hover effect to stars, forks, contributors tabs

Details
I wil be adding hover effect for the above and also changing cursor when hover
Screenshots

Type of Contribution

[ ] Update to an existing Animated Button
[ ] Adding a new Button
[ ] Resolving a bug
[x] Proposal to the Repository
[ ] Changes related to documentation or README.md
[ ] Other Changes

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue
[X] I am a GSSoC'23 contributor

Assigned.


Give suggestions to user if they input the keywords incorrectly in the filter

Is your feature request related to a problem?
Example:  If you try to insert is:class  and however, for any reason,  is:clss  is written
Desired solution
There should be a suggestion visible that user write the correct keyword
Examples:
is:clss or is:claasss
Did you mean is:class?
or
skylarn leads to suggesting skilearn
To be general , ask the user  Did you mean ((correctKeyword/s))?
Compare the flawed filter inputs with the correct ones.
Have the user get a chance of selecting the latter with a mouseclick.
Possible alternatives (optional)
Further recommendations are welcome
Screenshots (optional)

Additional Context (optional)
No response

I'll implement this for fixed filters like annotation:any only, since here it's very easy to guess what the user meant.


Move state-sync script to scripts directory

Signed-off-by: Andrew Nikitin<EMAIL_ADDRESS>

Task linked: DEV-1076 Review and merge/approve sync improvements suggested by Notional/Jacob


{} are not brackets

See http://colabti.org/irclogger/irclogger_log/perl6?date=2018-06-22#l377
We should make sure we are not referring to {} as “brackets”, and maybe we can even add a test to guarantee that this doesn't happen in the future.

See irc discussion linked above. To avoid confusion it should always be “curly braces” and “square brackets” which is unambiguous.

So the xt would check whether brackets is preceded by curly?

Yes, something like:

braces are always “curly braces”
brackets are ither “angle brackets” or “square brackets”

Test added. It's failing, with the following errors:
not ok 7 - doc/Language/101-basics.pod6: Found 'brackets' without 'square'
not ok 10 - doc/Language/5to6-perlfunc.pod6: Found 'brackets' without 'square'
not ok 27 - doc/Language/glossary.pod6: Found 'brackets' without 'square'
not ok 38 - doc/Language/list.pod6: Found 'brackets' without 'square'
not ok 48 - doc/Language/numerics.pod6: Found 'brackets' without 'square'
not ok 50 - doc/Language/operators.pod6: Found 'braces' without 'curly'.
not ok 55 - doc/Language/pod.pod6: Found 'brackets' without 'square'
not ok 57 - doc/Language/py-nutshell.pod6: Found 'braces' without 'curly'.
not ok 58 - doc/Language/quoting.pod6: Found 'brackets' without 'square'
not ok 59 - doc/Language/rb-nutshell.pod6: Found 'brackets' without 'square'
not ok 61 - doc/Language/regexes.pod6: Found 'brackets' without 'square'
not ok 64 - doc/Language/structures.pod6: Found 'brackets' without 'square'
not ok 66 - doc/Language/syntax.pod6: Found 'brackets' without 'square'

Down to:
not ok 27 - doc/Language/glossary.pod6: Found 'brackets' without 'square' or 'angle'.
not ok 48 - doc/Language/numerics.pod6: Found 'brackets' without 'square' or 'angle'.
not ok 55 - doc/Language/pod.pod6: Found 'brackets' without 'square' or 'angle'.
not ok 59 - doc/Language/rb-nutshell.pod6: Found 'braces' without 'curly'.
not ok 61 - doc/Language/regexes.pod6: Found 'brackets' without 'square' or 'angle'.
not ok 64 - doc/Language/structures.pod6: Found 'brackets' without 'square' or 'angle'.
not ok 66 - doc/Language/syntax.pod6: Found 'Brackets' without 'square' or 'angle'.
not ok 75 - doc/Language/unicode.pod6: Found 'BRACKET' without 'square' or 'angle'.
not ok 77 - doc/Language/unicode_entry.pod6: Found 'bracket' without 'square' or 'angle'.

These need to be reviewed; possible outcomes: add one of the words, rework to avoid the problem, or note that the text is correct as is and the text needs an exception/change.

27 :heavy_check_mark:
55 :heavy_check_mark:
61 :heavy_check_mark:
66 :heavy_check_mark:


1.1.0

For more information please see each commit, includes a message with the reason or description of every change.

Updated!

Is there something we need to do here?


ms-vscode.csharp to ms-dotnettools.csharp

C# for Visual Studio Code extension has been renamed from ms-vscode.csharp to ms-dotnettools.csharp, this PR corrects to new correct uris.

@devlead : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Change looks good to me - thanks!


Strange Memory Leak-like Behavior Using Shenandoah GC & AlwaysPreTouch

Question
Question
Are there any know bugs when using Shenandoah GC and the AlwaysPreTouch flag on eclipse-temurin:17?
Earlier this week I was working on improving the performance on my server and noticed what seemed to be a very slow memory leak. So I gathered and analyzed 2 different heap dumps across a timeframe. Both were identical and within 25MB of difference in heap size. Off-heap usage was also within that same negligible range of difference. The strange part that I noticed was the server slowly using/adding upwards of 1.2GB+ of RAM over a 10 hour period. Same behavior occurs over longer periods as well at a semi-linear rate. And I'm assuming given enough time it would run into an OOM situation.
After discovering that, I was experimenting with my GC flags and I eventually came to the conclusion that -XX:+AlwaysPreTouch was the reason for this slow climb in RAM usage when combined with Shenandoah GC specifically. Once I removed that flag the RAM completely stabilized and had no slow increases in RAM over time. And this is rather strange considering that nobody is on the server and it is basically idle during both heap dumps.
Additionally there are no other things contributing to RAM usage. It is only Minecraft in this environment.
Hopefully that's a decent overview of the context to the question here. If you have questions I will do my best to answer them. And I will post links to the heap dumps in question below.
Context
Context of all this is on a dedicated Java Minecraft server using Shenandoah GC.
Java version:
Java Version: 17.0.7, Eclipse Adoptium
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Adoptium
Your operating system and platform:
I'm on a dedicated host with the following configuration.
Docker container on Linux (Ubuntu 22) using image eclipse-temurin:17-jdk
Operating System: Linux (amd64) version 5.15.0-69-generic
You can see in this screenshot that the RAM usage is slowly increasing (6AM to 10AM+) despite the heap dumps showing the heap size staying the same.
https://cdn.discordapp.com/attachments/1097554927460552835/1110241709243236442/image.png
Right picture is baseline heap dump. And left is 4 hours after baseline dump.
https://cdn.discordapp.com/attachments/1110251836037939221/1110394013854482503/image.png

PreTouch will load in memory aggressively in case it is required.  I would leave it off for client apps such as Minecraft


Fix Sphinx

After !149 is checked in, I realized that building the docs on readthedocs.org fails: https://readthedocs.org/projects/ngshare/builds/18025387/
 /home/docs/checkouts/readthedocs.org/user_builds/ngshare/envs/latest/bin/python -m sphinx -b latex -D language=en -d _build/doctrees . _build/latex
Running Sphinx v1.8.6
loading translations [en]... done
making output directory...
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [latex]: all documents
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
processing ngshare.tex...index user_guide/install user_guide/install_z2jh user_guide/install_jupyterhub user_guide/install_unmanaged user_guide/uninstall user_guide/upgrade user_guide/cmdline user_guide/extra user_guide/notes_admin user_guide/notes_instructor user_guide/course_management user_guide/bugs user_guide/change_log api/index api/definition api/req_res api/authentication api/course api/assignment contributer_guide/why_ngshare contributer_guide/system_architecture contributer_guide/project_structure contributer_guide/decisions contributer_guide/install contributer_guide/vngshare contributer_guide/development contributer_guide/database contributer_guide/alembic contributer_guide/docs contributer_guide/deploy
resolving references...
/home/docs/checkouts/readthedocs.org/user_builds/ngshare/envs/latest/lib/python3.7/site-packages/sphinx/builders/latex/__init__.py:201: FutureWarning:
   The iterable returned by Node.traverse()
   will become an iterator instead of a list in Docutils > 0.16.
  if toctrees[0].get('maxdepth') > 0:
/home/docs/checkouts/readthedocs.org/user_builds/ngshare/checkouts/latest/docs/index.rst:: WARNING: a suitable image for latex builder not found: ['image/svg+xml'] (https://img.shields.io/badge/code%20style-black-000000.svg)
/home/docs/checkouts/readthedocs.org/user_builds/ngshare/checkouts/latest/docs/index.rst:: WARNING: a suitable image for latex builder not found: ['image/svg+xml'] (https://travis-ci.org/LibreTexts/ngshare.svg?branch=master)
/home/docs/checkouts/readthedocs.org/user_builds/ngshare/checkouts/latest/docs/index.rst:: WARNING: a suitable image for latex builder not found: ['image/svg+xml'] (https://codecov.io/gh/LibreTexts/ngshare/branch/master/graph/badge.svg)
/home/docs/checkouts/readthedocs.org/user_builds/ngshare/checkouts/latest/docs/index.rst:: WARNING: a suitable image for latex builder not found: ['image/svg+xml'] (https://readthedocs.org/projects/ngshare/badge/?version=latest)
writing...
Exception occurred:
  File "/home/docs/checkouts/readthedocs.org/user_builds/ngshare/envs/latest/lib/python3.7/site-packages/sphinxcontrib/tikz.py", line 392, in latex_visit_tikz
    if self.no_latex_floats:
AttributeError: 'LaTeXTranslator' object has no attribute 'no_latex_floats'
The full traceback has been saved in /tmp/sphinx-err-qnzj7d9y.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

I am not sure why it happens and how to fix it, but I tried adding .readthedocs.yaml and specifying Python 3.10 and it works.
Preview this build: https://ngshare.readthedocs.io/en/lxy-tmp/api/course.html
Build logs: https://readthedocs.org/projects/ngshare/builds/18025440/

LGTM


ForAllValues returns true on empty set

https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_multi-value-conditions.html (see the bottom)
@kapilt asked me to cut this issue in the PyCon sprint to make sure that c7n handles this edge case correctly.

basically aws iam for this condition per the docs, fails open, which is nasty.


Round Color Picker : No Option to select darker colors

When the shape of color picker is made round, the option to choose darker colors like black or brown is not present. It would be great to have that option as these are the basic colors.

Try using the lightness option to allow for selecting lighter or darker colors.

Thanks Alot! I had missed the lightness option! Amazing module ruhley.


Integrate with tea.xyz

Tea can apparently solve a bunch of problems. It can potentially replace SDKMAN!, Volta and maybe even Homebrew in my dotfiles, which would be a huge plus for me.
Some things I'd like to wait for:

[x] Support for installing Java (so that I can replace SDKMAN!) (https://github.com/teaxyz/pantry/issues/89)
[ ] Support for reading node versions from package.json:volta (so that I can replace Volta) (to be reported)
[ ] Support for symbolic links for shims on Linux (https://github.com/teaxyz/cli/issues/620)
[x] https://github.com/teaxyz/cli/issues/667
[x] https://github.com/teaxyz/cli/issues/664
[ ] https://github.com/teaxyz/cli/pull/675

But I can probably start by simply having tea installed (without magic for now).

Did you take a look at asdf?  for us, it was the holy grail :D

Oh, yeah, I knew asdf. Thank you.
Whilst definitively better than SDKMAN! and NVM, I didn't want to integrate it because it suffers of the same problems that SDKMAN!, NVM and others do: they need instructions to be injected in the shell to work.
That's why I switched away from NVM to Volta.
While tea.xyz also injects to the shell, it's actually optional. Tea can also work through symbolic links.

I'm going to deep into tea.xyz to know how it's works under the hood and know if it has all the features/integrations that we have available with asdf.
Thanks for your feedback 🥳
Thanks to asdf we remove all tools manager that we was using: pyenv, nvm, sdk... and use only one for all: one tool to rule them all 😂
Maybe is time to change? 🤔

I would say that, if it's working for you and you have no complaints about it, don't change.
Also, Tea is very new, it will most likely miss some feature from asdf.
By the way, as you mentioned pyenv, one thing that I never liked about it is that it takes a lot of time to install new Python versions (because it builds Python from source, and so does asdf).
Tea on the other hand installs Python from precompiled binaries. It's so much faster! :)

https://github.com/felipecrs/dotfiles/assets/29582865/b4c356a3-e437-44a6-b722-17257fed630e

Now for me install a new python 🐍 version is a coffee ☕ break 😂
Thanks for the feedback