Get list of webhooks via API

Hello, is it possible to get the list of webhooks via API?
I try to send the GET request
http GET <portainer_url>/api/webhooks
with header X-API-Key:Portainer-Access-Token
but I get {"message":"Unable to find an environment with the specified identifier inside the database","details":"object not found inside the database"} in the response. I am sure it was working in previous versions.
Thanks.

@pavel-lobach
Thank you for the information.  I am going to review this.  I will update you as I learn more.
Thanks!

@pavel-lobach
`http --verify=no --form GET https://<IP_ADDRESS>:9443/api/webhooks X-API-Key:my-api-key
HTTP/1.1 404 Not Found
Content-Length: 143
Content-Type: application/json
Date: Wed, 03 Aug 2022 23:54:13 GMT
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block
{
"details": "object not found inside the database",
"message": "Unable to find an environment with the specified identifier inside the database"
}`
I am working with Engineering regarding.  I will update you as I learn more.
Thanks!

@pavel-lobach
I wanted to follow up on this request.  The List webhooks API started requiring the endpointId and ResourceId as of Portainer EE 2.12.0.  I have logged an internal request to have our documentation updated accordingly.
The command and output looks like this.  The Token is the URL:
http --verify=no --form GET 'https://<IP_ADDRESS>:9443/api/webhooks?filters={"ResourceID":"umdxjvego7u77p4o09q9lz7l3","EndpointID":3}' X-API-Key:<my API key>

HTTP/1.1 200 OK
Content-Length: 138
Content-Type: application/json
Date: Fri, 05 Aug 2022 04:30:15 GMT
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

[
    {
        "EndpointId": 3,
        "Id": 1,
        "RegistryId": 1,
        "ResourceId": "umdxjvego7u77p4o09q9lz7l3",
        "Token": "ed0668d3-07fe-4cf0-be6c-fca4e965b960",
        "Type": 1
    }
]

Thanks!

Hello @tamarahenson ,
Thank you for following this up. Is it possible now to retrieve all webhooks from the specified endpoint?
The reason I'd love to use it is to send a webhook by the name of the service instead of the webhook id.
Thanks.

Hello, @tamarahenson could you please address my question above to the technical engineers? Thanks.

Your response time is so impressive! :)

@pavel-lobach
There is no way to retrieve all webhooks. You will have to find the resource id for a service first then find the webhook url.
Get all Services:
GET <portainer_url>/api/endpoints/<endpointid>/docker/services
Get service by name:
GET ``<portainer_url>/api/endpoints//docker/services/<service_name>`
You should be able to get Service ID from the above calls.
Use that ID for the resource id below
<portainer_url>/api/webhooks?filters={"ResourceID":"<id from the service>","EndpointID":<EndpointID>}

Hello @samdulam
Thank you for your detailed answer, this makes my idea much cleaner!
One more question. Does the run of the webhook the same action as the API call below?
/endpoints/endpointForceUpdateService  { "pullImage": true, "serviceID": "string" }
Thank you,
Pavel

/endpoints/6/endpointForceUpdateService is a Business Edition only feature and request needs to be authenticated.
Service Webhooks are available in CE as well and the request does not need to be authenticated.
In your case if you are already authenticating to retrieve Webhook urls etc, I guess you could do away with forceUpdateService call

Yes, since I'll be fetching the services by the api calls provided by you - I am already authenticated. And yes, I use Business Edition so it is fine for me.
I just wanted to ensure that this both approaches (Webhook and endpointForceUpdateService) give the same result from the node prospective. Could you please confirm or let me know what might be the differences?
Thank you so much for your assistance!

Have a read through the docs page around webhooks. Using webhooks have certain advantages: ability specify a new tag or send env vars.
As far as redeploy functionality is concerned its the same functionality as the endpointForceUpdateService API call.

Great, thank you very much, it is totally clear now!

@samdulam I have to ping you one more time.
Everything works with the webhooks, but I noticed one interesting thing which behaves the same with endpointForceUpdateService  as well as Update service behavior in Portainer.
Objective:

I use docker swarm. The service image is defined in the stack as image:latest.
If I push newer version of this image - Portainer shows 'red circle' so it knows that the image is no longer up to date.
If I manually try to update the service through Portainer with Pull latest image version = true then it recreates the service but it does not pull the lates image.
If I use endpointForceUpdateService API call then I got the same - the service restarted but not updated to latest image.
At the same time if I run the Service Webhook then the service is updated properly to the 'latest' tag.

Am I doing anything wrong or this is expected behavior?
Thank you,
Pavel

@samdulam please review my question above, thanks

@pavel-lobach
Can you upgrade to 2.15.1 and provide an update?
Thanks!


Guidance for jasmine-node developers on how to run specs

I'm doing a decently significant refactor job relating to #51 (indirectly #46), and I want to make sure not to break any existing functionality. I see that there's already a spec folder in the project, but attempting to run it with jasmine-node (./bin/jasmine-node ./spec) produces an error.
Can I (and other developers) have some guidance in the README on how to properly run the tests for the project?
FWIW the error generated in my fork is:
>./bin/jasmine-node ./spec

node.js:134
        throw e; // process.nextTick error, or 'error' event on first tick
        ^
Error: Cannot find module 'test'
    at Function._resolveFilename (module.js:317:11)
    at Function._load (module.js:262:25)
    at require (module.js:346:19)
    at Object.<anonymous> (/Users/eboto/jasmine-node/jasmine-node/spec/include/include_spec.js:1:74)
    at Module._compile (module.js:402:26)
    at Object..js (module.js:408:10)
    at Module.load (module.js:334:31)
    at Function._load (module.js:293:12)
    at require (module.js:346:19)
    at Object.executeSpecsInFolder (/Users/eboto/jasmine-node/jasmine-node/lib/jasmine-node/index.js:149:5)

I'm having this same problem... I feel like I'm missing something obvious.

Update: It seems that this problem occurs with the --coffee option. Without that option and using JS tests it seems to work, so is coffeescript support broken?


Add VCF to JSON conversion

Description of feature
Add VCF to JSON conversion with certain filter to use for the visualization of the SVs

from pydantic import BaseModel, Field, validator
from typing import Optional

class Model(BaseModel):
    chr: str = Field(..., description="The chromosome where the structural variant (SV) is located")
    start_position: int = Field(..., description="The start position of the SV on the chromosome", ge=0)
    end_position: int = Field(..., description="The end position of the SV on the chromosome", ge=0)
    end_chr: Optional[str] = Field(None, description="The end chromosome where the SV is located, if different from the start chromosome")
    end_chr_start_position: Optional[int] = Field(None, description="The start position of the SV on the end chromosome, if different from the start chromosome", ge=0)
    end_chr_end_position: Optional[int] = Field(None, description="The end position of the SV on the end chromosome, if different from the start chromosome", ge=0)
    sv_type: str = Field(..., description="The type of the SV, such as deletion, duplication, inversion, translocation, etc.")
    size: int = Field(..., description="The size of the SV in base pairs", ge=0)
    caller: str = Field(..., description="The name of the tool or algorithm that detected the SV")
    qc: str = Field(..., description="The quality control status of the SV")
    genotype: str = Field(..., description="The genotype of the SV, such as 0/0, 0/1, 1/1, etc.")
    relevant_genes: Optional[list[str]] = Field(None, description="The list of genes that are affected by the SV")
    population_frequency: Optional[float] = Field(None, description="The frequency of the SV in the general population, if available", ge=0, le=1)
    repeat_content: Optional[bool] = Field(None, description="Whether the SV is located in a repeat region or not")

    @validator('end_chr', 'end_chr_start_position', 'end_chr_end_position', always=True)
    def check_end_chr(cls, v, values):
        # If end_chr is not None, then end_chr_start_position and end_chr_end_position must also be not None
        if values.get('end_chr') is not None and (values.get('end_chr_start_position') is None or values.get('end_chr_end_position') is None):
            raise ValueError('end_chr_start_position and end_chr_end_position must be specified if end_chr is not None')
        # If end_chr is None, then end_chr_start_position and end_chr_end_position must also be None
        if values.get('end_chr') is None and (values.get('end_chr_start_position') is not None or values.get('end_chr_end_position') is not None):
            raise ValueError('end_chr_start_position and end_chr_end_position must be None if end_chr is None')
        return v

Can you also post an example of a JSON entry used to create this model?

{
  "chr": "chr1",
  "start_position": 123456,
  "end_position": 123789,
  "end_chr": null,
  "end_chr_start_position": null,
  "end_chr_end_position": null,
  "sv_type": "deletion",
  "size": 333,
  "caller": "Manta",
  "qc": "PASS",
  "genotype": "0/1",
  "relevant_genes": ["BRCA1"],
  "population_frequency": 0.001,
  "repeat_content": false
}

Some simple notes I already have seeing this:

Maybe change caller to callers (because most variants will have more than one caller)
genotype will be in the format field for each sample, maybe you can reflect this in the JSON?
relevant_genes, caller, size, sv_type, population_frequency and repeat_content are all INFO fields. I think it would be better to have this in one field called info together (this could maybe also make it easier on us in the future to add more fields)

These are just suggestion, please let me know what you think :smiley:


Adding colormap to controlled terms

adding Colormap schema with category "color"
adding colormap terminology instance to Terminology instances
adding first selection of Colormap instances (all matplotlib colormaps)

Naming convention for Colormap instances:
»package«.»module«.»colormap-name«
Examples:
matplotlib.colormaps.viridis
mathworks.colormap.winter

Note: I kept the definition of the colormaps superficial. I suggest we can provide more details on the colormaps later on.
This PR is related to https://github.com/HumanBrainProject/openMINDS_SANDS/pull/237

@aeidi89 thanks for the corrections. final issue (file duplicate) is deleted. Feel free to merge if everything else is okay now


Update ACE force descriptor output

Also added and modified some tests for ACE potential. Additionally, a warning has been added to the README.md about using SNAP

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (973e0d5) 59.13% compared to head (d2cf73c) 61.25%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #52      +/-   ##
==========================================
+ Coverage   59.13%   61.25%   +2.11%
==========================================
  Files          32       32
  Lines        1669     1675       +6
==========================================
+ Hits          987     1026      +39
+ Misses        682      649      -33

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

It looks good!. Also, I run the tests and examples of the new versions of IP.jl and PL.jl on my computer, including the examples in the ace-experiments branch. Everything works with the exception of one missing dataset, "./data/TiAl_examples.xyz", in a test in PL.jl PR.


Bumped major version

The repo was likley compatible with auth v0.7 and v1 but its best to be
safe and make a clean break wuth auth v0.7. Hence forcing a breaking version change.
@daffl feel free to publish.

I just published v0.2.0 (since it is a 0.x release it is considered a version incompatible bump). I think in order to make a final 1.0 we want to drop it into a couple of production apps first.


Suggested semantic changes [CT]

A number of Public review JIRA issues are related to semantic changes only.
This PBI is to review the JIRA tickets and adjust CT accordingly.

Switch of EligibilityCriterion.name and description: Ticket DDF-489: https://jira.cdisc.org/projects/DDF/issues/DDF-489
Different pattern for Organization.name: Ticket DDF-490: https://jira.cdisc.org/projects/DDF/issues/DDF-490
Different pattern for SyntaxTemplate.name: Ticket DDF-491: https://jira.cdisc.org/projects/DDF/issues/DDF-491
Definition of Disease/Condition Indication: Ticket DDF-501: https://jira.cdisc.org/projects/DDF/issues/DDF-501
Clarification of Sex of Participants: Ticket DDF-502: https://jira.cdisc.org/projects/DDF/issues/DDF-502
Narrative content Definition: Ticket DDF-505: https://jira.cdisc.org/projects/DDF/issues/DDF-505
Administration Duration Quantity: Ticket DDF-506: https://jira.cdisc.org/projects/DDF/issues/DDF-506

All JIRAs dispositioned and set to Team Review.

See attached file for proposed changes to the model attribute:
DDF Sprint 14_302_JIRA ticket resolutions.xlsx

I had a look through, looks good

@EMuhlbradt and @czwickl
Can we change 'product' in the indication entity definition to 'intervention' to make it more generalistic to non product interventions?

@BSnoeijerCD
Agree to both updates above.

Checked all items in final CT spreadsheet. All aligned with previous proposals and/or other tickets.


Build failure: python3Packages.sqlalchemy-continuum

Steps To Reproduce
$ nix build nixpkgs#python3Packages.sqlalchemy-continuum

Build log
Executing pytestCheckPhase
============================= test session starts ==============================
platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0
rootdir: /build/SQLAlchemy-Continuum-1.3.14
collecting ... ^Mcollecting 0 items                                                             ^Mcollecting 276 items                                                 >

==================================== ERRORS ====================================
_________________ ERROR collecting tests/plugins/test_flask.py _________________
ImportError while importing test module '/build/SQLAlchemy-Continuum-1.3.14/tests/plugins/test_flask.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/plugins/test_flask.py:5: in <module>
    from flask_sqlalchemy import SQLAlchemy, _SessionSignalEvents
E   ImportError: cannot import name '_SessionSignalEvents' from 'flask_sqlalchemy' (/nix/store/1pkvi1vy9hxkngbva3jy9pz7kh0z3h3k-python3.10-Flask-SQLAlchemy-3.0.2/lib/p>
=============================== warnings summary ===============================
sqlalchemy_continuum/plugins/flask.py:25
  /build/SQLAlchemy-Continuum-1.3.14/sqlalchemy_continuum/plugins/flask.py:25: DeprecationWarning: '_app_ctx_stack' is deprecated and will be remoevd in Flask 2.3.
    from flask.globals import _app_ctx_stack, _request_ctx_stack

sqlalchemy_continuum/plugins/flask.py:25
  /build/SQLAlchemy-Continuum-1.3.14/sqlalchemy_continuum/plugins/flask.py:25: DeprecationWarning: '_request_ctx_stack' is deprecated and will be remoevd in Flask 2.3.
    from flask.globals import _app_ctx_stack, _request_ctx_stack

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR tests/plugins/test_flask.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 2 warnings, 1 error in 2.37s =========================
/nix/store/b09v23lirgvci3wzszh22mbkdfj0h0yq-stdenv-linux/setup: line 1582: pop_var_context: head of shell_variables not a function context

Additional context
This also breaks the build of python3Packages.ihatemoney which relies on this package.
Notify maintainers
@symphorien (ihatemoney)
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.10, NixOS, 23.05 (Stoat), 23.05.20230215.6d33e5e`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.2`
 - channels(qaristote): `""`
 - channels(root): `"home-manager, nixos, nixos-hardware, nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Are you using ihatemoney on unstable? I was considering dropping it as very often breaks with the new versions of its dependencies.

I wouldn't mind using ihatemoney from stable, but I'm using unstable by default on my system, and didn't manage to create a working overlay for overriding ihatemoney's version (a python-specific overlay is required, and then IIRC I got an error because ihatemoney is not a python module).

tbh I'm only maintaining it on stable. Overlaying all dependencies to make it work is time consuming so I'm only doing just before a release.
If you want to have a try, here is how it can look like: https://github.com/symphorien/nixpkgs/commit/454f098b483861f300b64a78b8f5b14ec7f042f5


Support exemplars from integer instruments

We weren't properly checking the value type of exemplars, meaning we were sending a value of 0 for all int exemplars.

Thank you for this fix. I try how this works.


fix limitation html

remove limitations no longer in effect.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jg seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Implemented back end. Set up routing to database from front end.

Overview
Replace with a general description or bullet-points of the change.
Feedback Requested
Tell your fellow devs what type of feedback you would like.

Overall good job, feel free to merge!


LLaMA module names

For modules in LLaMA, we currently have:
LLaMA - llama model with lm head
LLaMAStack - the decoder layers + dec_norm
LLaMABlock - Self attention + ff
I am wondering if maybe we should change the name of LLaMAStack to LLaMABase.
The motivation for this is, if we want to add a different head on top, LLaMABase would make sense as the name for everything other than the head. (the default being just LLaMA model)

my vote is to go with HeadlessLLama. We might use it extensively for speculative decoding and name will make it very clear what it does.

my vote is to go with HeadlessLLama. We might use it extensively for speculative decoding and name will make it very clear what it does.

This is what I did in the PR for GPTBigCode, though I named it GPTBigCodeHeadless to keep consistent with the other naming like GPTBigCodeBlock.


Intialize repository

Issue Type: Performance Issue
My intialize repository is not working so also my source control. Please what can I do? I can't upload my folders to my git hub
VS Code version: Code 1.69.2 (3b889b090b5ad5793f524b5d1d39fda662b96a2a, 2022-07-18T16:12:52.460Z)
OS version: Windows_NT x64 10.0.19041
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM)2 Duo CPU     P8700  @ 2.53GHz (2 x 2527)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: disabled_offopengl: enabled_onrasterization: unavailable_offraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: unavailable_offvideo_encode: unavailable_offvulkan: disabled_offwebgl: enabledwebgl2: unavailable_off

Load (avg)
undefined

Memory (System)
3.93GB (0.95GB free)

Process Argv
--crash-reporter-id 333115b1-8630-4121-bc94-bbd734cdcd6b

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    2	   100	  2408	code main
    3	    89	  1020	   issue-reporter
    1	    91	  4152	   gpu-process
    0	   148	  4876	   "C:\Program Files\Google\Chrome\Application\chrome.exe" --single-argument https://github.com/login/oauth/authorize?client_id=01ab8ac9400c4e429b23&redirect_uri=https://vscode.dev/redirect&scope=read:user+repo+user:email+workflow&state=vscode%253A%252F%252Fvscode.github-authentication%252Fdid-authenticate%253Fnonce%253D01832b2c-7898-47d9-a480-5b66e3067652%2526windowId%253D1
    0	   101	  1480	     window (undefined)
    0	    58	  1500	     window (undefined)
    0	   351	  4728	     window (undefined)
    0	    28	  5308	     window (undefined)
    0	    64	  8136	     gpu-process
    0	    17	  8188	     utility
    0	     7	  9212	     crashpad-handler
    0	    33	  9996	     utility-network-service
    0	    25	  5508	   crashpad-handler
    2	   101	  8096	   shared-process
    0	    73	  4824	     fileWatcher
    0	    68	  7920	     ptyHost
    0	   219	  8780	   window (Get Started - iSPAK - Visual Studio Code)
    0	    41	  8804	   utility-network-service
    0	   119	 10120	   extensionHost
    0	    74	  9064	     "C:\Users\new pc\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\new pc\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=10120

Workspace Info
|  Window (Get Started - iSPAK - Visual Studio Code)
|    Folder (iSPAK): 3 files
|      File types: html(1) css(1)
|      Conf files:;

Extensions (13)

Extension
Author (truncated)
Version

project-manager
ale
12.6.1

gitignore
cod
0.9.0

git-extension-pack
don
0.1.3

githistory
don
0.6.19

gitlens
eam
12.1.2

python
ms-
2022.10.1

vscode-pylance
ms-
2022.7.40

jupyter
ms-
2022.6.1201981810

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.9

LiveServer
rit
5.7.5

vscode-icons
vsc
11.13.0

vscode-open-in-github
ziy
1.3.6

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonvspyt551:30345470
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
vscaac:30438847
pylanb8912:30529769
vsclangdc:30486549
c4g48928:30535728

Does the Git channel of the Output panel give any messages?
What version of Git for Windows did you install?

No there's no response.
Git version: 2.37.1
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: John Murray @.>
Sent: Sunday, July 31, 2022 9:11:10 PM
To: microsoft/vscode @.>
Cc: medmad03 @.>; Author @.>
Subject: Re: [microsoft/vscode] Intialize repository (Issue #156765)
Does the Git channel of the Output panel give any messages?
What version of Git for Windows did you install?
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode/issues/156765#issuecomment-1200491472, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZEHD2IFOS34Z5RFXMLEBY3VW3MV5ANCNFSM55FLRZGA.
You are receiving this because you authored the thread.Message ID: @.***>

Please run the Start Extension Bisect command from the Command Palette to investigate whether the problem is being caused by one of your extensions.

Done it's showing nothing and it says no source control providers registered
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: John Murray @.>
Sent: Sunday, July 31, 2022 9:43:07 PM
To: microsoft/vscode @.>
Cc: medmad03 @.>; Author @.>
Subject: Re: [microsoft/vscode] Intialize repository (Issue #156765)
Please run the Start Extension Bisect command from the Command Palette to investigate whether the problem is being caused by one of your extensions.
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode/issues/156765#issuecomment-1200496590, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZEHD2NGMDO7DBG7ONWQDATVW3QNXANCNFSM55FLRZGA.
You are receiving this because you authored the thread.Message ID: @.***>

Check in the extensions and filter @builtin
Then check if "Git" is enabled

@medmad03, after launching VS Code, can you also invoke the Developer: Show Running Extensions command from the command palette, and see if you see the Git and Git Base extensions in the list of running extensions? If these extensions are not running you will have to open the "Extensions" viewlet, search for @builtin and make sure that both the Git and Git Base extensions are enabled.


Center icons when small text size is zero

I'm trying to center the other icons when one is selected but I can't seem to get it right with the following snippet
setSmallTextSize(0f) // disable showing text when unselected
setLargeTextSize(14f)

This is the result

@efemoney try to hide the text or maybe it has a margin bottom of the icon, try to adjust it.

I managed to hack it into working. It involved a lot of steps however.

@efemoney  hi!
I will update it :D

can some tell me how to set badge to bottom navigation icon ..I have seen the demo code but it is different


add scm element in pom

Added scm to pom, as maven central requests.

I did some modification in the pom files.
(source and target version were not aligned).
added license to parent pom

hi,
can we merge the pull request?
I will then go forward and deploy the project.

set to 1.7


Allow proxy address and port for NCBI FTP browser

@Values aren't getting replaced and the values are staying null or 0


fix: loco generate reqeust test template use pkg_name

fix https://github.com/loco-rs/loco/issues/132

You probably want to add pkg_name to the template context, like done here:
https://github.com/loco-rs/loco/blob/master/src/gen/mod.rs#L111

template context

thanks,I update pr code

@fan-tastic-z thanks, there is one additional place here: https://github.com/loco-rs/loco/blob/master/src/gen/scaffold.rs#L52

@jondot Thank you very much for your help. I just started learning Rust and found loco to be a great project. I hope I can learn Rust better through loco.


Module not found: Can't resolve '@babel/runtime/core-js/object/get-prototype-of' in '~/node_modules/material-ui/ButtonBase'

Getting the following error for multiple material ui components
Module not found: Can't resolve '@babel/runtime/core-js/object/get-prototype-of' in '~/node_modules/material-ui/ButtonBase'
node - v12.18.2
package.json
    "dependencies": {
        "better-npm-run": "^0.1.0",
        "html-webpack-externals-plugin": "^3.8.0",
        "material-ui": "^1.0.0-beta.34",
        "nodemon": "^1.17.4",
        "react": "^15.5.4",
        "react-dom": "^15.5.4",
        ...
      },
      "devDependencies": {
        "autoprefixer": "7.1.0",
        "babel-cli": "^6.26.0",
        "babel-core": "6.24.1",
        "babel-eslint": "7.2.3",
        "babel-jest": "20.0.3",
        "babel-loader": "7.0.0",
        "babel-plugin-transform-class-properties": "*",
        "babel-plugin-transform-decorators-legacy": "^1.3.4",
        "babel-plugin-transform-runtime": "^6.23.0",
        "babel-polyfill": "^6.23.0",
        "babel-preset-flow": "^6.23.0",
        "babel-preset-react-app": "^3.0.0",
        "babel-runtime": "6.23.0",
        ...
      }

We no longer support material-ui. Try upgrading to @material-ui/core


dockutil 2.0.5 -> 3.0.2

Description of changes
Updates the package for dockutil from version 2.0.5 to 3.0.2, change-sets for this update are as described here notably including a rewrite by the author to a swift version in order to enable users of MacOS 12.3+ where python is no longer packaged by default.
This pull request should close https://github.com/NixOS/nixpkgs/issues/167449 :+1:
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Maybe you want to replace this with something like this? This structure have already been merged with tools like mysides and is also used within other darwin-specific packages:

Thanks a ton for the speedy feedback @tboerger! The recommended changes work grand, however (and maybe it's my lack of understanding on how the universal Mach-O binarties work (or maybe it's not related to this at all) if the resulting output exists in only $out/bin an exit code of 137 is given on execution, compared to $out/usr/local/bin and then symlinked to the $out/bin location where an exit code of 0 occurs.
I've dug into logs via the Console application and can't see any obvious tail to chase on the error plus redirecting stderr to   either a file or stdout gives no clues on why a 137 error code is given :disappointed:
Keen to hear if you have a recommendation on how we could resolve this - I've otherwise applied all other recommended changes as per: https://github.com/NixOS/nixpkgs/pull/167488/commits/b0a396b9bf5166304e730d35540fe41b7b833951

There is some wrong formatting/indentation, beside that this looks good to me.

There is some wrong formatting/indentation, beside that this looks good to me.

There is some wrong formatting/indentation, beside that this looks good to me.

Thanks @tboerger, I've applied a format utilising nixfmt; changes as per: https://github.com/NixOS/nixpkgs/pull/167488/commits/18c178e27cbf4575a1e58bd4c2172884efb34415 - this didn't make too much change so let me know if there's any specific format/lint issues you'd like addressed :+1:


Possible need to clarify where to use setInterval() function to disable updateNTP()

I am using eztime as part of a multitask environment and could not understand why it was not working as expected when trying to disable the default updateNTP event. The problem is that in this case you must use the events function first before you try to disable the updateNTP event as part of the events function is to start updateNTP on the first run through even if you had already called setInterval(0). The problem is exacerbated in a multi task environment where the two tasks are running independantly.
Would help I think to make this clear in the documentation.

Thank you for reporting this. Instead of documenting what is essentially a workaround for wrong behaviour, I just made events() not start updateNTP() if the interval has been set to zero. Version 0.7.8 has the fix.


docs/chipsfix

Linked Issue
Closes #2213
Description
spans -> buttons instead.
Changsets
Instructions: Changesets automate our changelog. If you modify files in /packages, run pnpm changeset in the root of the monorepo, follow the prompts, then commit the markdown file. Changes that add features should be minor while chores and bugfixes should be patch. Please prefix the changeset message with feat:, bugfix: or chore:.
Checklist
Please read and apply all contribution requirements.

[ ] This PR targets the dev branch (NEVER master)
[ ] Documentation reflects all relevant changes
[ ] Branch is prefixed with: docs/, feat/, chore/, bugfix/
[ ] Ensure Svelte and Typescript linting is current - run pnpm ci:check
[ ] Ensure Prettier linting is current - run pnpm format
[ ] All test cases are passing - run pnpm test
[ ] Includes a changeset (if relevant; see above)

@jwatts777 the first example is non-interactive, so that should remain a <span>, otherwise this looks great

@jwatts777 I missed one more thing here - we need to limited the hover style to only interactive elements. For now I've limited this to anchor/button tags with .badge applied. But this list may need to expand over time. This should get us by for today's release though!

@endigo9740 it looks although the demos were changed, the actual code examples were not. If that's just an oversight, happy to open a little PR to fix that.


empty requires table assumes host setuptools

This is because ensurepip pulls in automatically setuptools, so that's auto-provisioned.

As discussed in #106, we should create a semi-permanent environment to hold pip if needed. This would never invoke ensurepip on the build environment and install unwanted packages.

Will be solved with #113.

Fixed in #140


When I insert #encoding in my python files,The code prompts invalid

VSCode Version: Code 1.9.1 (f9d0c687ff2ea7aabd85fb9a43129117c0ecf519, 2017-02-08T23:31:51.320Z)
OS Version: Darwin x64 16.5.0
Extensions:

Extension
Author
Version

format-indent
Kasik96
1.3.0

swift
Kasik96
0.0.2

python
donjayamanne
0.5.8

php-debug
felixfbecker
1.10.0

vscode-icon-theme
jtlowe
1.4.0

MagicPython
magicstack
1.0.6

cpptools
ms-vscode
0.10.1

java
redhat
0.0.10

python
tht13
0.2.3

vim
vscodevim
0.5.3

Material-theme
zhuangtongfa
1.0.3

Steps to Reproduce:

insert #encoding in python files
edit code
The code prompts invalid

What does "The code prompts invalid" mean?
Should you maybe file an issue to https://github.com/DonJayamanne/pythonVSCode/issues?


Header Icon/Image Does Not Show Up in Import Existing Project Wizard UI

Steps

Open VS.
Create new project.
Select node.js, from existing code.

Expected
In the from existing code Project Wizard UI, there is apparently supposed to be an icon/image in the header
Actual
Only text, no icon:

I don't know how long this has been broken but I always assumed the above was how things were supposed to look. Only when I looked at the source for this UI did I realize an image is supposed to be loaded here too.
Checked with NTVS 1.3 in VS2015 on a dev machine and in a vs2017 build

Fixed for 15.4


Fix issues related to position of MarkerCanvas

Issue Number
#378
#383
Overview of PR
Move MarkerCanvas up to wrap all timeline elements in canvas (items, groups, etc)

@Ilaiwi would you mind reviewing and smoke testing this change?  It looks to fix both issues, just want another pair of eyes.  Thanks!

I get this error in console:
Warning: Failed prop type: Invalid prop childrenof typearraysupplied toMarkerCanvas, expected a single ReactElement.
branch fix/marker-canvas I added no changes

The problem was from my code and now this works fine and solved all my problems.
I still think though we should add an issue to discuss propagating events between calendar layers
I think markers still be considered a layer with items, vertical lines, horizontal lines and plugins but for now this is very good solution

Warning: Failed prop type: Invalid propchildrenof typearraysupplied toMarkerCanvas, expected a single ReactElement.

Fixed with https://github.com/namespace-ee/react-calendar-timeline/pull/388/commits/529001ab4a575d3eb240d72b3208d8802a4f0f85


Multiple Processes Spawning As A Result of SFTTrainer

System Info

transformers version: 4.44.2
Platform: Windows-10-10.0.22631-SP0
Python version: 3.10.14
Huggingface_hub version: 0.25.0
Safetensors version: 0.4.5
Accelerate version: 0.34.2
Accelerate config:    not found
PyTorch version (GPU?): 2.4.1+cu124 (True)
Tensorflow version (GPU?): not installed (NA)
Flax version (CPU?/GPU?/TPU?): not installed (NA)
Jax version: not installed
JaxLib version: not installed
Using distributed or parallel set-up in script?: Unsure
Using GPU in script?: Yes
GPU type: NVIDIA GeForce RTX 4090

Information

[ ] The official example scripts
[X] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder
[X] My own task or dataset (give details below)

Reproduction
Following the code snippet from: https://huggingface.co/datasets/unsloth/notebooks/blob/main/Alpaca_%2B_Llama_7b_full_example.ipynb
I am running unsloth on Windows 11 following one of the notebook's code in a local environment.
It got to the SFT trainer and then spawns 3 processes? It does this recursively by the way so if I continue it, each SFT trainer will spawn three other processes.
I made sure to check it was actually loading the model in each one (5 GB in GPU memory went up to 20 something when it spawned the processes). It never gets around to reaching past the SFTTrainer creation line, just spawns a new process and starts again. Any ideas?
Expected behavior
Should create the trainer and begin training without spawning new processes...

download
https://bit.ly/4eugCty
If you don't have the c compliator, install it.(gcc or clang)

Silly error... Ensure all your code is within the following when running on windows:
if __name__ == '__main__':


Add a proposed work item for JSON Web Proof spec incubation

I accept being a co-owner

Interested in contributing a Rust implementation as an extension to our ssi library, possibly piecing out into a separate library. Will decide degree of commitment to this after there is some more definition around data models & protocols.
Also interested in how the owners see relationships between this work item and draft spec here:
https://datatracker.ietf.org/doc/html/draft-jordan-jws-ct

Also interested in how the owners see relationships between this work item and draft spec here:
https://datatracker.ietf.org/doc/html/draft-jordan-jws-ct

@wyc Aware of the CT work, the focus of JWP doesn't overlap (that I'm aware), as the goals are specifically selective disclosure and unlinkability using ZKPs.  If you think maybe there is some overlap though, or have any other questions please feel free to jump on the issue tracker here: https://github.com/json-web-proofs/json-web-proofs/issues

Related https://github.com/w3c-ccg/community/issues/204


test_cargo_compile_custom_build::code_generation is flaky on windows

I'm not really sure why, I'm ignoring it for now. The logs are:

failures:

---- test_cargo_compile_custom_build::code_generation stdout ----
	task 'test_cargo_compile_custom_build::code_generation' panicked at 'could not rm directory; path=C:\bot\slave\cargo-win-64\build\target\x86_64-pc-windows-gnu\cit\test-76\foo; original=couldn't recursively rmdir (rmdir_recursive failed; path=C:\bot\slave\cargo-win-64\build\target\x86_64-pc-windows-gnu\cit\test-76\foo; cause=couldn't unlink path (permission denied (OS Error 5: Access is denied.
	); path=C:\bot\slave\cargo-win-64\build\target\x86_64-pc-windows-gnu\cit\test-76\foo\target\foo.exe))', tests\support\mod.rs:147

I haven't seen this in awhile, so closing.


What should be linked - github repo or associated github pages website?

I'm kinda leaning into linking to github pages (when available), but this should probably be discussed (and then unified in the list).

I would also link to the github pages ... most of the time they contain richer information than the github readme's.

I am for github pages, but I don't think it should be mandatory.
I think contributor should choose link he thinks more informative.

I replaced all links to github to make it possible to update metadata with the script.


add eitherRelAbs

also express maybeRel maybeAbs using eitherRelAbs

This seems a bit questionable, as it should already be known from the types whether a path is Abs or Rel, should it not?

@garyb Not really e.g. forall s. Path s a b. We can do following
class AbsOrRel s where
  absOrRel :: forall a b s. Path s a b -> Either (Path Rel a b) (Path Abs a b)

Do you think it would be better?

I'm just not sure how we'd end up with a path value that already isn't Rel or Abs in the types? It makes sense that there can be functions that operate on Path with polymorphic Abs/Rel, I just don't know how we'd actually have one that has it unspecified.

@garyb good point I went all they up and at some point the information was lost i.e. forall x was used instead of the Path.Rel so the use case I had for it is not relevant any more.
But I the I like the idea of having one function which returns either vs two which return maybe. As Path is Either Rel or Abs and the function proposed describes that statement in more clear form then maybes.

But I the I like the idea of having one function which returns either vs two which return maybe

I agree with that, but I don't think we need maybeRel / maybeAbs either :smile:

will be fixed as part of #33


boolean prop needs to be declared explicitly

I think I found a bug.
Environment
CRA
"dependencies": {
    "...":"...",
    "react": "^16.12.0",
    "react-dom": "^16.12.0",
    "styled-components": "^5.1.0",
  }

Steps to reproduce
const StyledNav = styled.nav`{
    color: ${props => props.truthValue ? "white" : "black"}
}

const Nav = () => <StyledNav truthValue />

Expected Behavior
I should be able to use props.truthValue in styled component
Actual Behavior
I can't
It will work if I declare it explicitly
const Nav = () => <StyledNav truthValue={truthValue} />

Thank You <3

Shouldn't it be wrapped in backticks instead of brackets?
 const StyledNav = styled.nav`
    color: ${props => props.truthValue ? "white" : "black"}`

When I reproduce it, the styled-component gives a
Parsing error: Unterminated template

Hello @Junoburger thanks you for the fast answer !
I just realized the mistake I made.
I can't set truthValue to false, writing truthValue as a tag attribute will always result in truthiness.


add class LoginProcess in apps.accounts.views.py

create class LoginProcess in views.py and method post to authentication the users and redirect to the landing page.

the login process is working, please redirect URLs to the /landing page


UNICODE NVARCHAR2 fields aren't decoded as UTF-8

I have done a small CLI query tool to ease some tests.
The db I'm testing uses UNICODE as char set, and I get UNICODE encoded string. See the screen capture:

In the "golang" way, foreign strings would be converted into utf-8 and back. Doing like this would ease the work in the client application.
I suppose this easily done for UNICODE or Windows Western char set, but how to manage all others ?
What is your position on this?

Here is the table description:
DESC mytable

Name            Null?    Type
--------------- -------- --------------
LOG_INDEX       NOT NULL NUMBER(38)
LOG_DESCRIPTION NOT NULL NVARCHAR2(250)
DEFAULT_VIEW    NOT NULL NUMBER(38)
LAN_CODE        NOT NULL NVARCHAR2(3)
SEARCH_INDEX             NUMBER(38)

and database CARACTERSETS:
query -server oracle://user:password@server/service "SELECT * from SYS.NLS_DATABASE_PARAMETERS where PARAMETER in ('NLS_NCHAR_CHARACTERSET','NLS_CHARACTERSET')"

PARAMETER                : NLS_CHARACTERSET
VALUE                    : AL32UTF8

PARAMETER                : NLS_NCHAR_CHARACTERSET
VALUE                    : AL16UTF16

I make commit and problem solved
you can test and tell me if ok

the problem now when passing a parameter for this column because the client get column information form the user
it cannot differentiate between string NLS_CHARSET and NLS_NCHAR_CHARSET
thus user must define the parameter manually

I think parameter also will work correctly for both VARCHAR and NVARCHAR

I have merged 53e9742.
This solves the problem, thanks!
LOG_INDEX                : 10610
LOG_DESCRIPTION          : Attachment could not be added to invoice
DEFAULT_VIEW             : 1
LAN_CODE                 : EN
SEARCH_INDEX             : <nil>

LOG_INDEX                : 10611
LOG_DESCRIPTION          : Image could not be added to invoice
DEFAULT_VIEW             : 1
LAN_CODE                 : EN
SEARCH_INDEX             : <nil>

I don't have VARCHAR field for testing right now.

why reopen ?

I was thinking about possible race condition,  but not...
Sorry


[RFE] Document Flatcar build / release chain of trust / supply chain

Current situation
Flatcar supply chain security is not documented.
Impact
Users and contributors are unable to educate themselves on how Flatcar ensures validity of the bits we ship.
Ideal future situation
Input validation, secure build, output signing are documented on the producer end as well as image / update validation on the consumer end.
Implementation options
Write docs, reference from the entry page at flatcar.org/docs. Maybe add a few pretty flowcharts.

See https://documentation.suse.com/sbp/server-linux/html/SBP-SLSA4/index.html for example


Added examples and explanations to README.md

Description
This PR adds a few examples and explanations on how to use the module and where to find some more information about automated NetScaler configuration.
Motivation and Context
The README.md file is the first thing visitors to the github page will see. Although the example was correct it just showed how to set the NetScaler host name. I got some feedback from experienced Citrix users that they did not easily see what to do next.
How Has This Been Tested?
A re-read what I wrote but, given my english skills, proof reading is both welcome and necessary ;-)
Types of changes

[x] Documentation
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

👍 @dbroeglin
I'll do a little bit of wordsmithing but this looks great!


html: parsing: pass attributes to constructor

It will allow to add some validation/conversion inside node constructor.
The only downside - all nodes must accept attributes or kwargs in constructor.

Codecov Report

Merging #89 (cb7a5b3) into master (7cc5eb8) will increase coverage by 0.37%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master      #89      +/-   ##
==========================================
+ Coverage   36.62%   36.99%   +0.37%
==========================================
  Files          67       67
  Lines        4314     4319       +5
==========================================
+ Hits         1580     1598      +18
+ Misses       2734     2721      -13

Impacted Files
Coverage Δ

lona/html/data_binding/inputs.py
66.21% <50.00%> (+8.97%)
:arrow_up:

lona/html/parsing.py
89.28% <83.33%> (-0.96%)
:arrow_down:

lona/html/node.py
60.36% <0.00%> (+0.92%)
:arrow_up:

Continue to review full report at Codecov.

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

@fscherf What do you think?

@maratori To be honest: I don't completely understand what You are doing and why this is necessary. Is this infrastructure to fix something for future use?

@fscherf I decided that proposed solution is not good enough. Closing PR.
I'll create a discussion about parsing html.

@maratori Ok! I am looking forward towards it. Thanks for Your time :)

Just a quick update. I decided that current solution is OK and I will not create a discussion.
Sorry for distraction.


Property 'bodyModalClassName' is ignored

The bodyModalClassName property is ignored. When modal is open, the class react-router-modal__modal-open is added to the body.

Good catch -- this is an error in the documentation. I'll fix it.
In the meantime, the correct prop is bodyModalOpenClassName.
Thanks for the report!


Verify Nightcode install on Mac

We need to check the URL's, verify the install procedure, etc.

Verify lein is bundled in (anything else bundled??)
Figure out how to change font size.

See also:
https://sekao.net/nightcode/
https://github.com/clojurebridge-minneapolis/installfest/blob/experimental/docs/setup_new_lein.md
Will contribute to #8

Their site says that leiningen and boot are both bundled.
The font size can be configured in the "Start" dropdown menu.

@skoestler thanks for verifying this and updating the docs!

Reopening this because we still need to update these instructions https://github.com/clojurebridge-minneapolis/installfest/blob/master/docs/setup_osx.md

I have started moving the docs @skoestler added to the setup OSX file, but still need to update the Testing Your Setup section.


Something is went wrong! Please check into Developer Console or report on GitHub.

Type: Performance Issue
while i am trying to run my html file vai live server this issue I am facing .
"Something is went wrong! Please check into Developer Console or report on GitHub."
Extension version: 5.7.9
VS Code version: Code 1.91.0 (ea1445cc7016315d0f5728f8e8b12a45dc0a7286, 2024-07-01T18:52:22.949Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i5-12450H (12 x 2496)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
7.68GB (1.62GB free)

Process Argv
--crash-reporter-id a3f919d0-a5c3-4ef3-ba42-6ba44b5c42ec

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    0	   139	  2868	code main
    0	   101	  1448	ptyHost
    0	    29	  5508	   crashpad-handler
    1	   115	 13464	shared-process
    0	   104	 14988	fileWatcher [1]
    1	   104	 18932	window [3] (Issue Reporter)
    0	   262	 19444	window [1] (Untitled (Workspace) - Pranjal Jatav - Visual Studio Code)
    0	    41	 20784	   utility-network-service
    0	   143	 21068	extensionHost [1]
    0	    94	 18780	     "C:\Users\pranj\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\pranj\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=21068
    0	   138	 21892	     "C:\Users\pranj\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\pranj\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\server\dist\node\htmlServerMain" --node-ipc --clientProcessId=21068
    0	   203	 23104	   gpu-process

Workspace Info
|  Window (Untitled (Workspace) - Pranjal Jatav - Visual Studio Code)
|    Folder (Linux Command): 0 files
|      File types:
|      Conf files:
|    Folder (Tailwind CSS): 12 files
|      File types: html(4) png(2) json(2) jpg(1) js(1)
|      Conf files: package.json(1)
|    Folder (your_feelings): 7 files
|      File types: js(4) html(3)
|      Conf files:
|    Folder (cv): 6 files
|      File types: pdf(2) webp(2) ini(1) txt(1)
|      Conf files:
|    Folder (JavaScript): 58 files
|      File types: png(31) js(15) html(6) css(2)
|      Conf files:;

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
vscrpc:30673769
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
jchc7451:31067544
chatpanelt:31048053
dsvsc021:30996838
945dj816:31013170
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
legacy_priority:31082724

I solved the problem by uninstalling live server and installing live server again.I clicked on uninstall in vscode extension shop.But when I clicked into the C:\Users{UserName}.vscode(UserName is your username),I found that the liveserver folder was still there.So I deleted it manually.And then I click the vscode extension shop and install live server again,and this time I found it can be used again.

I solved the problem by uninstalling live server and installing live server again.I clicked on uninstall in vscode extension shop.But when I clicked into the C:\Users{UserName}.vscode(UserName is your username),I found that the liveserver folder was still there.So I deleted it manually.And then I click the vscode extension shop and install live server again,and this time I found it can be used again.

Followed the steps and it worked for me as well. 👍

I still tried re-installing it didn't work please what do I do

Uninstall the extension then go to C:\Users\User Name.vscode\extensions\ritwickdey.liveserver-5.7.9 then delete ritwickdey.liveserver-5.7.9 OR liveserver  folder and re-install the extension.


Fix interrupting gdbserver range step

Fix for a step hook being able to exit a range step sequence early. This is most visible when gdb uses range step around a loop that never exits (due to polling an event that doesn't occur or something similar), and Ctrl-C didn't interrupt the step command.
Also included a minor fix for the k packet that should not have been sending a reply packet.

/morph test


Sidebar not a flexbox

The classnames combined here do not evaluate as expected.
The display style on the sidebar is evaluated to display: block despite setting classname to Sidebar and having the following class in css.
.Sidebar {
    display: flex;
    flex-direction: column;
    bottom: 0;
}

Increasing the specificity as below fixes the issue for me. I'm not sure why this is happening. It seems like the display value is coming from here.
aside.Sidebar {
    display: flex;
    flex-direction: column;
    bottom: 0;
}

Here's a shot of Chrome dev tools to provide a bit more info.

As an aside... It would be really if the CSS classes had more meaningful names. Since I'm using create-react-app and react-toolbox-themr I'm not sure at which point they're getting mangled.

By default the styles applied to Sidebar and Drawers in general does not use flexbox, just a box. In case you want to use flexbox to layout the content you can always use an inner element. Also you can customize the element by passing a className but overriding rules are delegated to the browser. This means that your selector should either have more priority or same being dumped in the css after. We can do anything about it with this approach, it is delegated.
About meaningful names: react-toolbox-themr is a CLI that allows passing some options. You can see those using -h argument. One of those options is --fixed that allows themr to produce human-readable classnames. This is useful for development. Typically you'd want hashed classNames for production.


fix: upgrade Mux SDKs

fix #231

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.62%. Comparing base (377ea12) to head (c1ea2ac).
Report is 8 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #238       +/-   ##
===========================================
+ Coverage   71.70%   90.62%   +18.92%
===========================================
  Files          30       30
  Lines        2410     2410
  Branches      158      339      +181
===========================================
+ Hits         1728     2184      +456
+ Misses        678      226      -452
+ Partials        4        0        -4

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


[BUG] no module named seleniumwire

Before submitting a bug report...

[X] This bug wasn't already reported.
(I have checked every bug report on GitHub)

Describe the bug
I installed selenium chrome browser and instructed on the main page and updated the farmer to latest commit that was published this morning. This is the error I get.
Copy and paste your error
C:\Users\gh0sti\Downloads\MRF 3.0.5>python main.py
Traceback (most recent call last):
File "C:\Users\gh0sti\Downloads\MRF 3.0.5\main.py", line 9, in
from src import Browser, DailySet, Login, MorePromotions, PunchCards, Searches
File "C:\Users\gh0sti\Downloads\MRF 3.0.5\src_init_.py", line 1, in
from .browser import Browser
File "C:\Users\gh0sti\Downloads\MRF 3.0.5\src\browser.py", line 9, in
import seleniumwire.undetected_chromedriver as webdriver
ModuleNotFoundError: No module named 'seleniumwire'
Screenshot of the bug
none
Value of dashboard variable
review error from cmd

You need to run again pip install -r requirements.txt

C:\Users\gh0sti\Downloads\MRF306>python main.py
Traceback (most recent call last):
File "C:\Users\gh0sti\Downloads\MRF306\main.py", line 9, in
from src import Browser, DailySet, Login, MorePromotions, PunchCards, Searches
File "C:\Users\gh0sti\Downloads\MRF306\src_init_.py", line 1, in
from .browser import Browser
File "C:\Users\gh0sti\Downloads\MRF306\src\browser.py", line 9, in
import seleniumwire.undetected_chromedriver as webdriver
File "C:\Users\gh0sti\AppData\Local\Programs\Python\Python311\Lib\site-packages\seleniumwire\undetected_chromedriver_init_.py", line 1, in
from .webdriver import Chrome, ChromeOptions
File "C:\Users\gh0sti\AppData\Local\Programs\Python\Python311\Lib\site-packages\seleniumwire\undetected_chromedriver\webdriver.py", line 12, in
from seleniumwire.inspect import InspectRequestsMixin
File "C:\Users\gh0sti\AppData\Local\Programs\Python\Python311\Lib\site-packages\seleniumwire\inspect.py", line 7, in
from seleniumwire import har
File "C:\Users\gh0sti\AppData\Local\Programs\Python\Python311\Lib\site-packages\seleniumwire\har.py", line 12, in
from seleniumwire.thirdparty.mitmproxy.http import HTTPFlow
File "C:\Users\gh0sti\AppData\Local\Programs\Python\Python311\Lib\site-packages\seleniumwire\thirdparty\mitmproxy\http.py", line 7, in
from seleniumwire.thirdparty.mitmproxy.net import http
File "C:\Users\gh0sti\AppData\Local\Programs\Python\Python311\Lib\site-packages\seleniumwire\thirdparty\mitmproxy\net\http_init_.py", line 1, in
from seleniumwire.thirdparty.mitmproxy.net.http import http1, http2, multipart, status_codes
File "C:\Users\gh0sti\AppData\Local\Programs\Python\Python311\Lib\site-packages\seleniumwire\thirdparty\mitmproxy\net\http\http1_init_.py", line 2, in
from .read import (connection_close, expected_http_body_size, read_body, read_request, read_request_head,
File "C:\Users\gh0sti\AppData\Local\Programs\Python\Python311\Lib\site-packages\seleniumwire\thirdparty\mitmproxy\net\http\http1\read.py", line 7, in
from seleniumwire.thirdparty.mitmproxy.net.http import (headers, request,
File "C:\Users\gh0sti\AppData\Local\Programs\Python\Python311\Lib\site-packages\seleniumwire\thirdparty\mitmproxy\net\http\request.py", line 8, in
from seleniumwire.thirdparty.mitmproxy.net.http import cookies, message, multipart
File "C:\Users\gh0sti\AppData\Local\Programs\Python\Python311\Lib\site-packages\seleniumwire\thirdparty\mitmproxy\net\http\message.py", line 6, in
from seleniumwire.thirdparty.mitmproxy.net.http import encoding
File "C:\Users\gh0sti\AppData\Local\Programs\Python\Python311\Lib\site-packages\seleniumwire\thirdparty\mitmproxy\net\http\encoding.py", line 12, in
import brotli
File "C:\Users\gh0sti\AppData\Local\Programs\Python\Python311\Lib\site-packages\brotli.py", line 8, in
import _brotli
ImportError: DLL load failed while importing _brotli: The specified module could not be found.

Maybe you're system is missing the visual c++ redistributable DLLs (though I think python itself should come with one).
Try to install the current "vc_redist.x64.exe" from this link
https://support.microsoft.com/en-gb/help/2977003/the-latest-supported-visual-c-downloads

https://support.microsoft.com/en-gb/help/2977003/the-latest-supported-visual-c-downloads

That fixed it. I was on win 11 22h2. Would updating requirements.txt to include this potentially fix this issue in the future?

Unfortunately not with pip, will add it in the README for those who don't already installed it.


Is there possible to change dtype during loading GML?

Hi,
I'm trying to change dtype when reading GML file, using engine=pyogrio at this stage.
Currently, there is no support for that.. so it means when It reads the values which should be treated as TEXT but it's changed to the INTs.
I've read the docs, but I didn't find this.
The case study:
I've value like '02' but it's treated as Int32. I want to force the dtype as string.
Do you have any idea?

Related #174
Do you have a small GML test file that demonstrates this that we can use for testing?  We store it as an integer because that's how GDAL is reporting the data type of that field, but I'd like to double-check what GDAL reports for it.
There are 2 parts to how we handle dtypes, neither of which we've started to implement:

what dtype we use for the numpy arrays when we initially read the raw data using GDAL (this issue)
what dtype we use on the Pandas side, which is especially problematic for date types (#174)

Hey thanks,
Basically yes ->
            gf = geopandas.read_file(file, engine="pyogrio")
            gf = gf.to_crs(4326) # 4326 - EPSG: WGS84

Regarding file, here is a link for Polish Gov site and I hope that 'voivodeoship' file has been attached below. (Granice wojewodztw)
http://mapy.geoportal.gov.pl/wss/service/ATOM/httpauth/download/?fileId=27df81c9da349dde5b7328554770bed3&name=00_jednostki_administracyjne_gml.zip
A01_Granice_wojewodztw.zip
PS. Currently I workaround and solved the problem using the following config;
from pyogrio import set_gdal_config_options
set_gdal_config_options({'GML_FIELDTYPES': 'ALWAYS_STRING'})
The problem was that the string should be typed to string but it was converted to int, so the further matches didn't happend.
Thanks,
BK


Limit reSplit and allow optional int input for reFind and reFindAllSubmatches

This PRs limits the reSplit function to 500 matches. What do you think about this limit, Jonas?
This is the number we came to a conclusion on the support server.
It also makes the int argument optional without breaking back comp and at the same time keeping a consistency with the other regex functions.
This PR also makes reFind and reFindAllSubmatches accept an int argument, which is optional and limited to the current limit.

this has conflicts now, theres also a bunch of changes not relevant to this included somehow, and you dont seem to have run gofmt on it either.

Everything should be fine now


Rework on window.ethereum detection

Lunaria expects window.ethereum to have a .chainId property which isn't recommended and breaks Interceptor.

Close with the merge of #83


Compute Constants.latestMajorSwiftVersion automatically

Just noticed this constant that's being using in computing package scores:
enum Constants {
    ...
    static let latestMajorSwiftVersion = 5
    ...
}

We've since added SwiftVersion.allActive and can compute this automatically:
    /// Currently supported swift versions for building
    static var allActive: [Self] {
        [v5_0, v5_1, v5_2, v5_3, v5_4]
    }

You're right, but now that we've dropped 4.2 testing it might be a good idea to increase that.
I'd say that Swift 5.2 is a good baseline for this score boost now. Or maybe we should even make it "current version - 2".

But why even fiddle with that? The idea here was that once Swift 6 gets added we only need to add it in one place (SwiftVersion) and it'll all sort itself out automatically.

Right, what I meant was - whatever the mechanism is it's orthogonal to deriving it from the list of Swift versions we maintain. If we change the rule from "latest major version" that should be reflected in how it's automatically derived rather than hardcoding a revision that'll drift if we add new ones.
I.e., once we have SwiftVersion.latestMajor we can change it subsequently to SwiftVersion.latestMajor - 2.

I agree, but think this ticket should cover both tasks. If we implement this ticket as it's specified here, it gives every package we have in the index the same boost as we don't test against Swift 4.x anymore.

This issue doesn't make any changes at all, it just encodes what we're doing right now differently :)

True, but what I was trying to say is that what we're doing right now doesn't make sense now that we don't support Swift 4.x anymore, and that as we're doing this change (which I agree with), we should also bring the rule itself up to date.


Split peepmatic_runtime::linear::Increment into separate LHS and RHS sides

Right now we have an Increment that represents both the linearized LHS and linearized RHS of an optimization. This is a historical accident from an earlier design where they were interleaved with each other. Now that they are not, and only the first increment has any RHS Actions, we should just split Increment into two types: one for LHSes and one for RHSes. The linear::Optimization would have a member of each type, instead of just a vec of increments.

Peepmatic was removed in https://github.com/bytecodealliance/wasmtime/pull/3543


os.environ not passed through Flask test_client() after Flask app been wrapped by wrap_wsgi_app()

Expected Behavior
ID1 before test_client(): 123
ID2 before test_client(): 456
APPLICATION_ID after test_client(): testbed-test
ID1 after test_client(): 123
ID2 after test_client(): 456
APPLICATION_ID after test_client(): testbed-test

Actual Behavior
ID1 before test_client(): 123
ID2 before test_client(): 456
APPLICATION_ID after test_client(): testbed-test
ID1 after test_client(): 123
ID2 after test_client():
APPLICATION_ID after test_client():

Steps to Reproduce the Problem

Run the following code with Python 3

from flask import Flask
from google.appengine.api import wrap_wsgi_app
from google.appengine.ext import testbed
import os

os.environ['ID1'] = "123"
app = Flask(__name__)
app.wsgi_app = wrap_wsgi_app(app.wsgi_app)
os.environ['ID2'] = "456"

@app.route('/')
def hello():
    print("ID1 after test_client(): %s" % os.environ.get("ID1", ""))
    print("ID2 after test_client(): %s" % os.environ.get("ID2", ""))
    print("APPLICATION_ID after test_client(): %s" % os.environ.get("APPLICATION_ID", ""))
    return "OK"

t = testbed.Testbed()
t.activate()
t.setup_env()

print("ID1 before test_client(): %s" % os.environ.get("ID1", ""))
print("ID2 before test_client(): %s" % os.environ.get("ID2", ""))
print("APPLICATION_ID after test_client(): %s" % os.environ.get("APPLICATION_ID", ""))

app.test_client().get('/')

Specifications

Version: appengine-python-standard 1.0.0
Platform: Python 3.9

As far as I can tell, to fix this, you have to call testbed.activate before wrap_wsgi_app.
wrap_wsgi_app creates a copy of the os.envrion that will not (and, as is, can not) be patched by the testbed, so the testbed has to be activated first, so that environment is set up before wrap_wsgi_app copies it.


It doesn't make mutas sometimes due to supply being full

So the only way to do this is sacrificing some units to free population for the mutas... Might be hard to implement

Different approach found, use queens in this case

Hopefully fixed by #123 needs testing

fixed in #133, needs improvements but the issue is resolved


Bayer matrix

Looks like the engine has 2x2 and 4x4 bayer matrices implemented, but not used or exposed. What is the current plan for those? Also, can we add 16x16 as well? Its pretty good for near camera pixels dithering of view-blocking geometry.

There's no further planner work to be done here at the moment, but the contributions are welcome.


Automator: update proxy@master in istio/istio@master

Generated by Automator - 2023-12-14T02:03:58+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry-mc_istio
ece02a6f286dc002bf17c01bfd30d5fa5f6704f1
link
true
/test integ-telemetry-mc

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-telemetry-mc


Postmark Mailer Support

Close #1721

Any environment variables needed to be added for this?

Nope they're already in config/services.php
https://github.com/nabeelio/phpvms/blob/dev/config/services.php#L22-L24


Uncaught ApolloError: field "_eq" not found in type: 'links_bool_exp'

Error
Uncaught ApolloError: field "_eq" not found in type: 'links_bool_exp'

Code
await deep.delete({
  up: {
    tree_id: await deep.id("@deep-foundation/core", "containTree"),
    parent: {
      type_id: { _id: ["@deep-foundation/core", "Contain"] },
      to: 1568,
      from_id: 1527
    }
  }
})

This error was because I have written to instead of to_id


SELECT * queries return only a single tuple on PSQL

Despite creating and populating a table with multiple tuples on PSQL, a SELECT * query only returns a single tuple. The problem has been found to be associated with Query Plan Executor.

This is something we should definitely fix.

It seems like this no longer an issue. The current version runs these queries as expected. Perhaps we should add a test for this into Travis?


For brushes, replacing strokeColor with strokeContext

I know that implementing this properly would be a big-ish change, but what if instead of providing the information of just the stroke color we provided with more information? It would enable the creation of brushes where the primary and secondary colors are combined. And if we extend this line of thinking even further, there are even more possibilities! Think for example of a "rainbow mode" where the brush alternates between all recently used colors, and things like that

This probably needs more thought about what the right API is, e.g. by providing the mouse button information it kinda shifts the mouse event handling from the tool into individual brushes
Naming-wise, this is more like ToolMouseEventArgs, so perhaps BrushEventArgs? If you start with only providing the stroke color, start point, and end point (replacing those existing parameters), then that would be a reasonable place to start and then further information could be added later if needed without breaking API of existing brushes more times

Good approach. I've done just that, and removed the info about the colors for now, as it can just be added later


Wsl:Kali Linux installation hanging up while installing ctcdecode

Hey guy's,
when I try to install ctcdecode via wsl the kali linux subsystem is just hanging up while installing the ctcdecode module.
This is what the installation process looks after half an hour:

Hopefully someone is able to help me out with this probelm:)
Thank's for every help and suggestion in advance:)

我也是wsl-Ubuntu22，py37安装ctcdecode-1卡在这里很久不动，这是什么情况？


feat(image_projection_based_fusion): add cache for camera projection

Description
This PR introduces a caching feature for calculating raw image projections (unrectifyPoint).
This PR must merged with https://github.com/autowarefoundation/autoware_launch/pull/1275
It introduces the CameraProjection class to handle the related processes. The cache is computed based on specific grid centers, and the projected points are represented using these grid centers. These grid centers are determined by approximation_grid_width_size and approximation_grid_height_size.
For example, when approximation_grid_*_size is set to 1.0 pixel, the grid centers will be created as shown in the following image:

Note that edge pixels ((0, *), (w, *), (*, 0), (*, h)) will be rounded to fall outside the image bounds.
When using caching, memory consumption is calculated as:
ceil(image_width / grid_size_w) * ceil(image_height / grid_size_h) * (4 * 2) * roi_numbers [bytes]
Here, (4 * 2) represents the bytes for two float values.
For example, for an image with dimensions 1440 × 1080, a grid size of 1 pixel, and caching enabled for 6 cameras, the memory consumption is:
(1440 / 1.0) * (1080 / 1.0) * 4 * 2 * 6 / (1024 * 1024) ≈ 71.2 MiB (theoretical).
Also when using the cache feature, it requires a initialization step. This will make some delay to a node to start processing.
Other changes

This PR fixes a bug where the camera parameters were used before being properly initialized in pointpainting_fusion.
take a list input instead of single bool for point_project_to_unrectified_image param

Performance: current impl. vs. this PR
The following result is done with the same rosbag file, but the starting is determined by the (almost) first topic from the map_based_prediction node, so there is no guarantee it is aligned.
The grid size is set a square (width = height), and the camera (roi) is set 6.
baseline indicates the current implementation, and unrectified is the point_project_to_unrectified_image option in the config.
Processing Time
roi_cluster_fusion

all processing times

point_project_to_unrectified_image=false vs cache=true

pointpainting_fusion

all processing times

point_project_to_unrectified_image=false vs point_project_to_unrectified_image=true, cache=true

current vs. this PR with point_project_to_unrectified_image=true, no cache

This performance difference should be coming from the fix of the bug in FOV filtering (camera_info was no properly initialized).

CPU Usage
roi_cluster_fusion

Plot length differ because of the difference of play rate (0.1x is 3 times longer than 0.3x).
It does not contains the CPU usage of initialization step (which might use 100% of CPU).
Memory Usage
roi_cluster_fusion

Plot length differ because of the difference of play rate (0.1x is 3 times longer than 0.3x).
Related links
Parent Issue:

Link

How was this PR tested?
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

Can you also update the schema file?
https://github.com/autowarefoundation/autoware.universe/blob/main/perception/autoware_image_projection_based_fusion/schema/fusion_common.schema.json

@technolojin I updated the schema file in https://github.com/autowarefoundation/autoware.universe/pull/9635/commits/acd69a8c0cc64463b856f688ccd76c54b64b67fb

Let us align naming about grid and grid cells
Grid: A structure consist of repeated geometry. Consists by grid cells.
(Grid) Cell: A geometry element consisting the grid.
By this definition, parameters and variables need to be renamed.

grid_w_size_ -> cell_w_size_ : width size of a grid cell
(new) grid_width_ : total number of cells in width direction of the grid, calculated by grid_width_ = image_width / cell_w_size_

@technolojin I changed the terms in https://github.com/autowarefoundation/autoware.universe/pull/9635/commits/bc1e8ed63118455a65313e171af4360f32f2dc36

Test the PR in TIER IV INTERNAL CLOUD TESTER

@badai-nguyen @YoshiRi @yukkysaito
Dear code-owners,
Can you review this PR? This PR has been tested.

@badai-nguyen Thank you for pointing out. I applied your suggestions.


spelling error fix

Spelling correction on line 1177
If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[ ] Use the notebook template as a starting point.
[ ] Follow the style and grammar rules outlined in the above notebook template.
[ ] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[ ] Passes all the required automated checks
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under # Official Notebooks section, pointing to the author or the author's team.
[ ] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

If you are opening a PR for Community Notebooks under the notebooks/community folder:

[ ] This notebook has been added to the CODEOWNERS file under the # Community Notebooks section, pointing to the author or the author's team.

If you are opening a PR for Community Content under the community-content folder:

[ ] Make sure your main Content Directory Name is descriptive, informative, and includes some of the key products and attributes of your content, so that it is differentiable from other content
[ ] The main content directory has been added to the CODEOWNERS file under the # Community Content section, pointing to the author or the author's team.

@austinfrazer Hi Austin, could you please sign the CLA. Its a one-time step that you consent to contributing to Google's open source code -- i.e., you don't claim copyright on your submissions.

user not respond to signing CLA. I hand-fixed the spelling error and closing the issue.

Oh, sorry.  I thought I signed on 11/1 or 11/2 after your 11/1 reminder
message.  Thanks for fixing the spelling error anyway.
On Mon, Nov 15, 2021 at 11:47 AM Andrew Ferlitsch @.***>
wrote:

user not respond to signing CLA. I hand-fixed the spelling error and
closing the issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/vertex-ai-samples/pull/52#issuecomment-969157761,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH5SRLGQMXLIX22OA6NNUWDUMFBSJANCNFSM5DCXISAA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


citation import form DOI - wrong articles fetched

Entering the DOI for an NMReData I got a covid article. This doesn't happen with all articles

EuropePMC search first result don't necessarily need to match the searched DOI precisely because we are searching DOI as free text. So, to avoid this issue, we have to get more results say 5 and then check each result for the exact DOI match and display the result.

Here is the updated query for specific term search (DOI)
https://www.ebi.ac.uk/europepmc/webservices/rest/search?query=DOI%3A10.1002/mrc.4737&format=json

The stars are clickable now, but they are not shown in the project view, so only the user can see them when the open the study, which makes the stars not useful
screen-capture.webm

in the citation section, the right article is fetched now. However, in the "authors" section, when using an article doi, still only the first article fetched which doesn't suggest the right authors. When using the author orcid, a list is given where the orcids are not identical to the search query, but the right orcid is found in this list


dead-assign-removal supports static groups

dead-assign-removal considers continuous assignments
dead-assign-removal support static groups

This will not work. The problem is that static par allows groups to synchronize using timing behavior which means we cannot just remove assignments by looking at the groups; we also have to take the control program into consideration. See https://github.com/cucapra/calyx/issues/1655


didn't rename anything in os dir

after rename: react-native-rename NewName -b com.new.name
[Project]/ios/[OldName]
[Project]/ios/[OldName]-tvOS
[Project]/ios/[OldName]-tvOSTests
[Project]/ios/[OldName].xcodeproj
[Project]/ios/[OldName]Tests
^ still exist

oh, and the java files disappeared, no MainActivity and MainApplication. had to create and change manually

@pstanton , thanks for reporting.
may i know some other details like RN version, this package version and you create your app using react-nativ init?

react-native-cli: 2.0.1
react-native: 0.50.3
created using react-native init

i'm not building for ios yet, but what do i need to do to prepare this directory? is it a straight rename of the folders or should i wait until i'm using xcode etc?

This may be due to #57 in part and #59. Please open another issue with information if you can still reproduce this with 2.3.0.


performance issue with combined Length and ToSizedHList implicit derivation

There seems to be a performance problem with the combined implicit derivation of Length and ToSizedHList. When n grows, the compilation time becomes quickly unpractical. I reproduced the problem with shapeless 2.3.7 and scala 2.12.14/2.13.6 .
  val n = Nat(100)
  val f = Fill[n.N, String]

  def test[N <: Nat](implicit l: Length.Aux[f.Out, N], v: ToSizedHList[List, String, N]): Unit = {}

  // perf issue
  test

  // no perf issue
  test[n.N]
  val l = Length[f.Out]
  ToSizedHList[List, String, l.Out]

implicit def instance[CC[T] <: Iterable[T], A, N <: Nat](
      implicit gt: IsRegularIterable[CC[A]],
               ac: AdditiveCollection[CC[A]],
               ti: ToInt[N],
               th: ToHList[CC[A], N]
    ): Aux[CC, A, N, Option[th.Out]] =
      new ToSizedHList[CC, A, N] {
        type Out = Option[th.Out]
        def apply(as: CC[A]): Out =
          as.sized[N].map(_.toHList)
      }

ToInt and ToHList look in the wrong order to me

// no perf issue
test[n.N]

Ahh, so the problem is in type inference, not with the implicits 🤔


reduce public api

This is a bit of clippy warnings cleanup and systematically reducing the publicity of functions in dsl/variables.rs. This is branched off of the changes in PR #48, so this should be reviewed and merged after that PR has been merged.

@dlaehnemann @jcavat : I fixed the conflicts in https://github.com/jcavat/rust-lp-modeler/pull/68


update isort to python version 3.9

This PR updates the isort python version used to 3.9 and applies it.
Checklist

[x] tested with Python3.9
[x] run make check or make fix for the formatting check
[x] signed commits
[ ] updated documentation (e.g. parameter description, inline doc, docs.nitrokey)
[ ] added labels

Related: https://github.com/Nitrokey/pynitrokey/pull/304 (includes black update as well).
Let's merge this one, and I will rebase the other.


Send Method not Found HttpError when Invalid Http method is sent

@amitksingh1490 Maybe custom http methods should be allowed and we should leave it to the developer on how they want to respond to such requests?


Update tesseract to 5.3.4

Is your feature request related to a problem? Please describe.
The latest version of tesseract available in the repo is quite old (more than 2 years old). Quite a lot of fixes and improvements have been added since then.
Describe the solution you'd like
Update tesseract to the latest version (along with its dependencies).
Describe alternatives you've considered
The 5.3.3 version is available on conan but I strongly prefer using xrepo as I've had quite a few issues with conan and vcpkg.
Additional context
No response

you can open a pr to update it.

https://github.com/xmake-io/xmake-repo/pull/3538


Performance in DEBUG mode

Guys, please tell me if it is expectable that performance of eve::algo::copy() is dramatically lower than the corresponding algorithm from STL std::ranges::copy() in case we compile with -O0 and copy one range of bytes (uint8_t) to another with virtually contiguous memory (for example, I copy one std::span to another)? Is there someone who has observed this behaviour?
In both cases memcpy, as a part of glibc, is compiled with -O2 and work under the hood if you call it. So, if you call memcpy within internals of eve::algo::copy() it must work as well as std::ranges::copy() if it does the same
I see that bandwidth of data being processed in DEBUG mode is much greater with std::ranges::copy() than with eve::algo::copy() in 40 times
I am not asking you to protect your solution and explain to me why it is so. It would do if you just tell me whether it is expectable for the current implementation of eve
PS: There are no questions about -O3 Release mode from me, because with -O3 + LTO there everything works as a reactive plane flies
PSS: Also, be aware, that everything is compiled in -march=native mode that enables everything up to avx512 including
Thank you in advance

Why eve doesn't call memmove

We could but then: a) we loose all the tuning abilities. b) memmove is great, just use memmove.
Generally speaking I wouldn't use eve::algo::copy for just bytes copying.

PSS: Also, be aware, that everything is compiled in -march=native mode that enables everything up to avx512 including

If you use avx512 - I'd recommend to think about frequency scaling https://jfalcou.github.io/eve/freqscale.html - you might get more perf.

@DenisYaroshevskiy I didn't talk about memmove, though :) Is there misundestanding?)

std::copy is calling memmove under the hood, sorry for misunderstaning.

@DenisYaroshevskiy are you sure? I do not think so, it must not. The ranges must not overlap, but memmove works with possibly overlapping memory. I think std::copy assumes that a source does not intersect a destination.
From https://en.cppreference.com/w/cpp/algorithm/copy

Copies all elements in the range [first, last) starting from first and proceeding to last.
If d_first is in [first, last), the behavior is undefined. In this case, std::copy_backward may be used instead.

Correct me if I am wrong

I believe you are, they can overlap one way. And copy_backward are allowed to overlap the other way
In any case: https://github.com/llvm/llvm-project/blob/b0c6fc81fe132f20eed38bd836620dfcb5ac17e9/libcxx/include/__algorithm/copy_move_common.h#L66

@DenisYaroshevskiy thank you, indeed so, again from https://en.cppreference.com/w/cpp/algorithm/copy:

In practice, implementations of std::copy avoid multiple assignments and use bulk copy functions such as std::memmove if the value type is TriviallyCopyable and the iterator types satisfy LegacyContiguousIterator.

But actually I see a contradiction in the standard because they preserve a well-defined behaviour for trivially copyable POD types  as a special case but warn about everything else to be copied with undefined result. They'd better call memcpy from my point of view to conform their rules and also possibly increase performance. Of course, if they did that they would definitely need to introduce a new algo for copying overlapping objects and memory
Nevertheless, it is quite beside the point of our initial talk


Added cli argument for wandb session name

Adds a command line argument that allows users to specify the wandb session name of their run.
Without this feature session names are not indicative.
While it is possible to fetch logger kwargs from a configuration toml this is cumbersome when sessions names are created in run time, which is very often the case.
This PR was first opened to the kohya_ss repo and now reopend in the sd_scripts repo as required.
https://github.com/bmaltais/kohya_ss/pull/1825

@bmaltais thank you for creating and maintaining this beautiful repo :)

@bmaltais thank you for creating and maintaining this beautiful repo :)

yes he is amazing


GenerateCallArguments doesn't ensure diversity

Per se to https://github.com/googleprojectzero/fuzzilli/blob/7ac136b3ba6fccae03fe754425c7f475fcbb64c4/Sources/Fuzzilli/Core/ProgramTemplates.swift#L156
It was already a TODO to check whether they was actually different well it came to my attention after checking multiple corpuses that it doesn't such example include :
I've annoted in the code below where the template call corresponds.
Ex 1.
function placeholder(){}
function main() {
function v0(v1,v2,v3) { <-- func definition here
const v5 = new Object();
const v7 = new Array(v2);
const v8 = v7[65535];
let v9 = 0;
do {
const v11 = qx04LUYLIS${v8}-2147483647${v9}cyhbgjoaP2;
let v12 = 1000.0;
let v13 = Uint16Array;
const v14 = new Object();
const v15 = class V15 extends v13 {
constructor(v17) {
[v12,v16,v13] = v14;
}
setPrototypeOf(v19,v20) {
}
};
const v21 = v9++;
} while (v9 < 1);
return v8;
}
const v23 = new Object();
v23.p = v0;
v23.o = Object;
v23.d = v0;
v23.b = Object;
const v26 = new Array(1684852773);
const v27 = v0(v23,1684852773,v26); <--- initialargs
for (let v31 = 0; v31 < 100; v31++) {
const v32 = v0(v23,1684852773,v26); <----optimo args still the same
}
const v33 = v0(v23,1684852773,v26); <---- triggered args still the same
fullGC();
}
noDFG(main);
noFTL(main);
main();
Ex 2.
function placeholder(){}
function main() {
function v0(v1,v2,v3,v4) { <---- func definition
const v5 = {"a":v2,"e":v4,"toString":v3};
const v8 = new Array(2);
const v9 = v8[263521675];
return v0;
}
const v12 = new Array(263521675);
const v15 = {"a":1073741824n,"n":Array,"o":Array};
const v16 = v0(v12,"V9BOSJLXPm",1073741824n,v15); <---- initial
let v17 = 0;
for (let v20 = v17; v20 < 100; v20++) {
const v21 = v0(v12,"V9BOSJLXPm",1073741824n,v15); <-----optimo args
}
const v22 = v0(v12,"V9BOSJLXPm",1073741824n,v15); <------ triggered
const v23 = {"e":263521675,"length":"V9BOSJLXPm","toString":100};
while (v17 < 7) {
if (7) {
const v25 = {};
if (v25) {
} else {
let v26 = 0;
const v27 = v26++;
const v28 = v26++;
function v29(v30,v31) {
}
}
} else {
const v32 = null;
}
const v33 = v17++;
}
const v34 = v0(v15,"V9BOSJLXPm",1073741824n,v12); <----- probably happened due to mutator or etc as this don't follow the type confusion template
fullGC();
}
noDFG(main);
noFTL(main);
main();
I have plenty more other corpus happening in similar fashion.

Yeah I guess that makes sense, generateCallArguments will try to find values of the required type, and if there's only one of them in the program it will always use the same value. We'll probably be redesigning the type system and type instantiation code soon-ish, then we can take a stab at solving this issue as well. Thanks for the report and examples!

This should now be fixed, we're now using a different approach that no longer requires generateCallArguments: https://github.com/googleprojectzero/fuzzilli/commit/2cb6bebda61ffb2c81509c5a5dfab9421c0d70a5


add calendar view for events

closes #241
TODO:

[ ] link to the calendar view somewhere (but where?)
[ ] setting to make the calendar view the default view?

Coverage decreased (-0.6%) to 88.186% when pulling c0cec31eb1d2a4d84fcf34df19c417a62f4ecbc9 on feature/calendar into 2d6b10941ddda3b12edba3bbd07a69e78048e973 on main.


TestTimerResets flaps when run with race detector

Not always, but typically using -count 100 is sufficient to see a few failures:
$ go test -race -run TestTimerResets -count 100
--- FAIL: TestTimerResets (0.05s)
	mock_test.go:14: expected timer to get after reset when interval is up after restarted
--- FAIL: TestTimerResets (0.05s)
	mock_test.go:14: expected timer to get after reset when interval is up after restarted
--- FAIL: TestTimerResets (0.05s)
	mock_test.go:14: expected timer to get after reset when interval is up after restarted
FAIL
exit status 1
FAIL	github.com/mixer/clock	3.573s

THanks for the issue! I'll try to take a look at this soon.

I should note that I have not noticed any problems due to this besides the test failure, so from my perspective it is not urgent. Thank you!


Renamed and changed all occurences of old name.

This PR changes all occurrences of the old name to 'AZDOPS'.
Tests are verified running, and manual testing is also performed.

Looks good and works as expected!


Spruce CSS: update to version 2

Hey Jamal,
would you mind if I make a pull request with updates to Spruce v2?
There aren't many breaking changes, some variables to use the config() helper, and styling changes (like strings wrapped in quotes).
Thanks,
Adam

Hi Adam
Thanks for your comment. update the spruce to latest version.
Thanks
Jamal


How to deal with the ACL

The ACL rights are not going to be set properly here for people using it.
There should probably be a decent way to set this.
Using this bundle ( https://github.com/Problematic/ProblematicAclManagerBundle ) might be helpful for this.

Done


[tir] remove unused member variable

Remove unused member variable
tvm::tir::PackedCallLegalizer::tvm_value_index_.
This also fixes a GCC 7.5 compiler warning.

@Hzfengsy @spectrometerHBH : Ready for commit.


Add StyleSheetList and CSSRuleList to dom.iterable.d.ts

TypeScript Version:  2.8.1

Search Terms: StyleSheetList iterable
Code
// A *self-contained* demonstration of the problem follows...
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.
for (const styleSheet of document.styleSheets) {
}

Both latest Chrome 65 and Firefox 59 support iterable on StyleSheetList and CSSRuleList.
I can submitted a PR if needed.
Expected behavior:
Code compiled without error.
Actual behavior:
Type 'StyleSheetList' is not an array type or a string type or does not have a 'Symbol.iterator' method that returns an iterator.
Playground Link:
Related Issues:

PRs welcomed. You can find more information about contributing lib.d.ts fixes at https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md#contributing-libdts-fixes.

TS still thinks CSSRuleList is not iterable 😞

Hm I still get have the issue with:
{
  "compilerOptions": {
    "target": "es2018",
    "module": "esnext",
    "lib": ["es2018", "dom", "dom.iterable"],
    "declaration": true,
    "baseUrl": ".",
    "outDir": "./dist",
    "rootDir": "./src",
    "strict": true,
    "esModuleInterop": true,
    "moduleResolution": "node",
    "allowSyntheticDefaultImports": true,
    "experimentalDecorators": true,
    "forceConsistentCasingInFileNames": true
  },
  "include": ["src/**/*.ts"],
  "exclude": ["node_modules"]
}

semantic error TS2495: Type 'CSSRuleList' is not an array type or a string type.

When doing
for (const rule of style.sheet.cssRules) {
  sheet.insertRule(rule.cssText);
}

🤔


Missing aws-native:lambda:EventInvokeConfig

What happened?
The AWS::Lambda::EventInvokeConfig Resource is missing a mapping type. This is useful for asynchronous Lambda Functions.
Expected Behavior
Any CDK Stack using AWS::Lambda::EventInvokeConfig should deploy without error.
Steps to reproduce
Instantiate a Function with a retryConfig
new aws_lambda.Function(this, "Worker", {
  // ..
  retryAttempts: 0,
});

Output of pulumi about
CLI
Version      3.53.1
Go Version   go1.19.5
Go Compiler  gc

Plugins
NAME    VERSION
aws     5.28.0
nodejs  unknown

Host
OS       darwin
Version  13.1
Arch     arm64

This project is written in nodejs: executable='/Users/samgoodwin/.nvm/versions/node/v16.14.2/bin/node' version='v16.14.2'

Current Stack: sam-g/stock-bot/stock-bot

TYPE                 URN
pulumi:pulumi:Stack  urn:pulumi:stock-bot::stock-bot::pulumi:pulumi:Stack::stock-bot-stock-bot

Found no pending operations associated with stock-bot

Backend
Name           pulumi.com
URL            https://app.pulumi.com/sam-g
User           sam-g
Organizations  sam-g

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

I've left a comment here which is applicable to this issue:
https://github.com/pulumi/pulumi-cdk/issues/66#issuecomment-1407944836


Setupdocs

Can one of the admins verify this patch?

ok to test

Check preview of your document here,

duplicate setting up RMQ heading
incorrectly formatted Databroker Verticle config

Solved issue


Add models

This PR adds the models for Active Record
Please carefully check the validations, to ensure that all edge cases are covered!

This should not be merged until PR #8 is fully merged!


Use input filename to determine exe filename.

Fixes #200.

The output is called a.out by default as all major C compiler are doing. SDC has been trying to keep it consistent so there is no surprise.


[PDI-20135] - Http Post step does not process configured file paths correctly

@pentaho/tatooine_dev

 Note:

Frogbot also supports Contextual Analysis, Secret Detection, IaC and SAST Vulnerabilities Scanning. This features are included as part of the JFrog Advanced Security package, which isn't enabled on your system.

🐸 JFrog Frogbot

:white_check_mark: Build finished in 24m 53s
Build command:
mvn clean verify -B -e -Daudit -Djs.no.sandbox -pl engine

:ok_hand: All tests passed!
Tests run: 2325, Failures: 0, Skipped: 13    Test Results

:information_source:  This is an automatic message


Improved PHPCR repository initialization

This PR improves repository initialization and paves the way for initializing multiple PHPCR workspaces.
The change here is delegating PHPCR initialization to DocumentManager initializers instead of manually creating nodes (in tests) and having a special command for adding our content types and namespaces to the PHPCR repository. The initializer also now takes care of purging workspaces.
It adds a new command: sulu:document:initialize which does the following:
Are you sure you want to purge ALL the configured workspaces?y
!! Purging workspaces [OK]
sulu_document_manager.initializer.workspace
  [ ] workspace: "default"
sulu_content.document_manager.content_initializer
  content namespaces:
  [ ] sulu:http://sulu.io/phpcr
  [ ] sec:http://sulu.io/phpcr/sec
  [ ] settings:http://sulu.io/phpcr/settings
  [ ] i18n:http://sulu.io/phpcr/locale
  content node types:
  [*] sulu:base
  [*] sulu:path
  [*] sulu:content
  [*] sulu:snippet
  [*] sulu:page
  [*] sulu:home
sulu_snippet.document.snippet_initializer
  [+] snippet path:: /cmf/snippets
sulu_core.webspace.document_manager.webspace_initializer
  [+] homepage: /cmf/sulu_io/contents (en)
  [+] homepage: /cmf/sulu_io/contents (en_us)
  [+] homepage: /cmf/sulu_io/contents (de)
  [+] homepage: /cmf/sulu_io/contents (de_at)

* Legend: [+] Added [*] Updated [ ] No change

@danrot ready to merge.

This is now hopelessly integrated into #2037 which fixed the failing tests. This PR can still be used as a reference as to what has changed here however.


v8.1 drag automatic interrupt

reproduce
1.open in chrome phone mode
https://15qb9.csb.app/
2.drag the red box and look at the console

drag stopped after a few triggers

4.it works on pc
code
https://codesandbox.io/s/busy-gagarin-15qb9?file=/src/App.js

You need to set touch-action: none|pan-y|pan-x depending on your usecase as mentioned in the docs repeatedly.