breakfix: Error 404 Not Found when mounting the authentication portal on a path that is not / nor /auth

This works fine (quoting only the relevant bits):
authorization policy mypolicy {
  set auth url /auth/
}

localhost {
  handle /auth/* {
        authenticate with myportal
  }
  handle /* {
        authorize with mypolicy
  }
}

When accessing http://localhost, we get redirected to http://localhost/auth/?redirect_url=http://localhost, which in turn puts the redirect_url in a cookie and redirects to http://localhost/auth/login, which gives us the portal login ui.
However, replacing /auth/ with /foobar/ does not work: http://localhost/ redirects to ``http://localhost/foobar/` but instead of being redirected we get a HTTP 404 error.
Using set auth url /foobar/login instead of set auth url /foobar/ works around the issue at the price of keeping redirect_url in the login URL (not a big deal).
That's because https://github.com/greenpau/go-authcrunch/blob/a5596e855f924d62ea471b/pkg/authn/respond_http.go#L35 hardcodes the assumption that the portal is either at the root or under /auth:
	case r.URL.Path == "/" || r.URL.Path == "/auth" || r.URL.Path == "/auth/":
		p.injectRedirectURL(ctx, w, r, rr)
		return p.handleHTTPRedirect(ctx, w, r, rr, "/login")

An absolutely cursed workaround is to do something like:
authorization policy mypolicy {
  set auth url /foobar/
}

localhost {
  handle /foobar/ {
        rewrite * /auth
        request_header +X-Forwarded-Prefix /foobar/
        authenticate with myportal
  }
  handle /foobar/* {
        authenticate with myportal
  }
  handle /* {
        authorize with mypolicy
  }
}


community: Add embedding instruction to HuggingFaceBgeEmbeddings

Description: Add embedding instruction to HuggingFaceBgeEmbeddings, so that it can be compatible with nomic and other models that need embedding instruction.

fwiw
https://huggingface.co/BAAI/bge-m3

The only difference is that the BGE-M3 model no longer requires adding instructions to the queries.

It's obvious, but I'm not sure should  we notify users somehow.


BoneReconstructionPlanner's virtual surgical planning is now tested

@lassoan could you give feedback about it?
https://github.com/SlicerIGT/SlicerBoneReconstructionPlanner/blob/359f8eb6f494619538782013c598f95e401eb60c/BoneReconstructionPlanner/BoneReconstructionPlanner.py#L4140-L4221
Does reaching the end of the test section_SimulateAndImproveMandibleReconstruction means that the test should be considered passed? Some assertions on numeric results could be added like fibula-bone-pieces meshes number of points, what do you think?
Here is a video of the workflow tests implemented till now:
https://user-images.githubusercontent.com/19158307/207946311-1e80eba9-0aa2-4b67-9ac4-7b1ec4575a20.mp4
Regarding using it as instructive material:

should we add a button to set developer-mode=True and restart Slicer so the reload&test button is visible?

This test is certainly very useful for catching some me errors. It is promising for automatically generating tutorials, but for that it would be important to see mouse pointer and click positions. It would be also better to see the text near the bottom instead in the center of the screen.

Thank you for the feedback @lassoan

it would be important to see mouse pointer and click positions

Could you refer me to a code example that does this? How to do it window-size independent? How to create the test data?

It would be also better to see the text near the bottom instead in the center of the screen.

I agree, I'll try to do that

I don't have code example, but you can display a widget (such as QIcon) outside the layout to indicate the mouse position. You can do a small animation (change the size, color, flash it, etc) to indicate clicking. You could generate smooth mouse trajectory between click positions to simulate somewhat realistic mouse motion. Screen capture module can be used to capture screenshots and put them into a mp4 video.
We plan to develop something like this for the Slicer for Latin America project, for automatic creation of multi-lingual training materials (videos, slide shows, documentation pages).

Related https://github.com/SlicerLatinAmerica/TutorialMaker


Search/Replace in files creates no backups and overwrites files with 0 bytes if Code was unresponsive and user clicked "Reload"

VSCode Version: 1.32.3
OS Version: Windows_NT x64 10.0.17134

Steps to Reproduce:

Search in files with complex regex over large project which matches several files (e.g. "import(\s|\r?\n)*{([^;]|\s|\r?\n)LoggerService([^;]|\s|\r?\n)}(\s|\r?\n)from([^;]|\s|\r?\n)'@myscope/logger';")
Make sure your regex matches a fair amount of files, let's say 100 files.
Repeat this search with replace in all files (e.g. "import$1{$2LoggingLevel, ILoggingFactory, CreateLoggingInstance$3}$4from$5'@myscope/logging';")
After some time - Code is unresponsive - a dialog appears and offers to "Wait" or "Reload" or "Quit", press "Wait"
Again after some time, when Code offers to "Wait", "Reload" or "Quit", press "Reload"
Several matched files have been overwritten and have 0 bytes size. There are no backups of those files (%APPDATA%/Code/backups) to recover your work.

Does this issue occur when all extensions are disabled?: No idea

I can't reproduce this, even with 10000 results in 1000+ files, the window never stops responding.
Do you have a slow machine? Especially large files?

This sounds similar to https://github.com/Microsoft/vscode/issues/34915, although the disk may not be full, it shows how interrupting a Save could have bad effects.

Machine used is i4960X, drive is NVMe with 3.5gb/s read and 2.4gb/s write

Can you reproduce this consistently if you try again?


object-storage-plugin: Changes for RHOCP on boarding

Could you please add details/screenshots of testing that was done, with and without the console?
:)

Could you please add details/screenshots of testing that was done, with and without the console?
:)
Sure . We are working on above review comments. will generate new tgz file and upload the screenshots
Thanks


Contain drag overlay within parent container

I have a virtualized table which is scrollable both horizontally and vertically, where rows are sortable.
I'm using a <DragOveray /> to render the overlay for the dragged row, however I have an issue with the rendering:

As you can see in the screenshot, the DragOverlay is rendered outside the parent container because it is using position fixed.
Currently I only see two solutions:

Either restrict the width of the DragOverlay wrapper element to the width of the container (only works here because the axis is locked to vertical I guess)
Use not position fixed but absolute to position the overlay if there exists a good solution for that

I didn't find any good example for the sortable usage in dnd-kit docs which uses DragOverlay with a list with both axis being scrollable.
Could someone perhaps provide some solution for this or point me in the correct direction to solve this?
EDIT 1:
Actually I noticed one more issue - when I scroll sideways, the table row stays it it's position horizontally instead of being moved to the left:

I believe I ran into a similar issue. The fix was to add the modifiers={[restrictToParentElement]} prop to my DragOverlay component


vm tag import

Hi,
How import VM tags in tenant or other field in netbox ?
I check others issues but i don't see any variable in settings.ini.
Regards

Hi,
I'm not sure what exactly you are trying to do. Can you add a detailed description of what you are trying to achieve?

In my vcenter, on VM I have some tags:

I want to sync the tags into netbox in custom field or tenant for exemple.
regards

Hi,
have you tried this?:
https://github.com/bb-Ricardo/netbox-sync/blob/20e3a3c2ff2925e9e88ff4dcb39d0c3c589d0d48/settings-example.ini#L278-L291

Hi,
I try to add
vm_tag_source = object
but The script return an error:
2023-04-07 12:36:15,085 - INFO: Created new tag object: None 2023-04-07 12:36:15,302 - ERROR: This 'tag' data structure does not contain the primary key 'name' got: {'name': None} 2023-04-07 12:36:15,302 - INFO: Virtual machine 'XXXXXXXXXX' attribute 'comments' changed from '' to 'None' Traceback (most recent call last):   File "/app/netbox-sync.py", line 143, in <module>     main()   File "/app/netbox-sync.py", line 111, in main     source.apply()   File "/app/module/sources/vmware/connection.py", line 393, in apply     view_details.get("view_handler")(obj)   File "/app/module/sources/vmware/connection.py", line 2363, in add_virtual_machine     self.add_device_vm_to_inventory(NBVM, object_data=vm_data, vnic_data=nic_data,   File "/app/module/sources/vmware/connection.py", line 1056, in add_device_vm_to_inventory     device_vm_object.update(data=object_data, source=self)   File "/app/module/netbox/object_classes.py", line 590, in update     new_value_str = str(new_value.get_display_name())   File "/app/module/netbox/object_classes.py", line 1101, in get_display_name     return sorted([x.get_display_name() for x in self]) TypeError: '<' not supported between instances of 'NoneType' and 'str' (.venv) root@dcimvmware:/opt/netbox-sync#
I use this command to start up the script:
docker run --rm -it -v $(pwd)/settings.ini:/app/settings.ini bbricardo/netbox-sync:latest

this looks like a bug and should be fixed. Will look into it.

Hi @Alpha-Dan:
I just pushed a new commit to development branch to fix this issue. Can you try it out and see if it's working now?

closing this as fixed


PATCH /v2/evc/<circuit_id> crashes the server if the id is defined in the request body

The circuit id isn't supposed to be set, and if it's defined in the request body it crashes the server.
How to reproduce
Send this payload to PATCH {{baseUrl}}/api/kytos/mef_eline/v2/evc/{{circuit_id}}
{
    "id": "{{circuit_id}}",
     "uni_a": {
        "interface_id": "00:00:00:00:00:00:00:02:1"
    },
    "uni_z": {
       "interface_id": "00:00:00:00:00:00:00:03:1"
    }
}

2022-02-01 14:13:51,859 - ERROR [kytos.core.controller] (Thread-37) Exception on /api/kytos/mef_eline/v2/evc/3fb2c1ab46db4a [PATCH]
Traceback (most recent call last):
  File "/home/viniarck/repos/kytos/.direnv/python-3.9.4/lib/python3.9/site-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/viniarck/repos/kytos/.direnv/python-3.9.4/lib/python3.9/site-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/viniarck/repos/kytos/.direnv/python-3.9.4/lib/python3.9/site-packages/flask_cors/extension.py", line 161, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
  File "/home/viniarck/repos/kytos/.direnv/python-3.9.4/lib/python3.9/site-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/viniarck/repos/kytos/.direnv/python-3.9.4/lib/python3.9/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/home/viniarck/repos/kytos/.direnv/python-3.9.4/lib/python3.9/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/viniarck/repos/kytos/.direnv/python-3.9.4/lib/python3.9/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/viniarck/repos/napps/kytos/mef_eline/main.py", line 274, in update
    enable, redeploy = evc.update(
  File "/home/viniarck/repos/napps/../napps/kytos/mef_eline/models/evc.py", line 181, in update
    setattr(self, attribute, value)
AttributeError: can't set attribute

I tried to reproduce this error with no success. Maybe it was solve with a previous PR.

@Alopalao it's still crashing, create an EVC and try to update with this payload:
{
    "id": 1,
     "uni_a": {
        "interface_id": "00:00:00:00:00:00:00:02:1"
    },
    "uni_z": {
       "interface_id": "00:00:00:00:00:00:00:03:1"
    }
}

2024-06-14 15:25:27,401 - INFO [uvicorn.access] (MainThread) <IP_ADDRESS>:43644 - "GET /api/kytos/mef_eline/v2/evc/ HTTP/1.1" 200
2024-06-14 15:25:50,809 - INFO [uvicorn.access] (MainThread) <IP_ADDRESS>:39930 - "PATCH /api/kytos/mef_eline/v2/evc/259133d27c6c4c HTTP/1.1" 500
2024-06-14 15:25:50,809 - ERROR [uvicorn.error] (MainThread) Exception in ASGI application
Traceback (most recent call last):
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 419, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/starlette/applications.py", line 116, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/starlette/middleware/errors.py", line 186, in __call__
    raise exc
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/starlette/middleware/errors.py", line 164, in __call__
    await self.app(scope, receive, _send)
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/starlette/middleware/cors.py", line 83, in __call__
    await self.app(scope, receive, send)
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/starlette/_exception_handler.py", line 55, in wrapped_app
    raise exc
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/starlette/_exception_handler.py", line 44, in wrapped_app
    await app(scope, receive, sender)
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/starlette/routing.py", line 746, in __call__
    await route.handle(scope, receive, send)
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/starlette/routing.py", line 288, in handle
    await self.app(scope, receive, send)
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/starlette/routing.py", line 75, in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/starlette/_exception_handler.py", line 55, in wrapped_app
    raise exc
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/starlette/_exception_handler.py", line 44, in wrapped_app
    await app(scope, receive, sender)
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/starlette/routing.py", line 72, in app
    response = await run_in_threadpool(func, request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/starlette/concurrency.py", line 35, in run_in_threadpool
    return await anyio.to_thread.run_sync(func, *args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/anyio/to_thread.py", line 56, in run_sync
    return await get_async_backend().run_sync_in_worker_thread(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
    return await future
           ^^^^^^^^^^^^
  File "/home/viniarck/repos/kytos/.direnv/python-3.11/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 851, in run
    result = context.run(func, *args)
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/viniarck/repos/kytos/kytos/core/helpers.py", line 451, in wrapper_validate
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/viniarck/repos/napps/napps/kytos/mef_eline/main.py", line 380, in update
    enable, redeploy = evc.update(**updated_data)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/viniarck/repos/napps/napps/kytos/mef_eline/models/evc.py", line 258, in update
    setattr(self, attribute, value)
AttributeError: property 'id' of 'EVC' object has no setter


[Assembly] Compute SHA256 over 32 -bytes Input

Adds Miden assembly routine for computing SHA256 digest over 32 -bytes input, which costs 8504 VM cycles.

Note
Cost of SHA256 over 64 -bytes input ( i.e. hash64 ) is 14490 -cycles ( see https://github.com/maticnetwork/miden/pull/324 ). hash32 routine costs lesser because input size is 32 -bytes, which is lesser than SHA256 block size ( 64 -bytes ), meaning we can pad input message to 64 -bytes and consume whole padded message in single round of SHA256, unlike in case of 64 -bytes input message, where one needs to pad message and make it 128 -bytes, which can only be consumed by executing SHA256 absorption twice, each time consuming 64 -bytes into its state.

Thanks a lot!
So the 32-bytes input SHA256 is cheaper and therefore faster than the 64-byte?

Thanks a lot!
So the 32-bytes input SHA256 is cheaper and therefore faster than the 64-byte?

That's correct.

Resolved merge conflict ( see https://github.com/maticnetwork/miden/pull/565/commits/f5c12d0c711e92f584fa98f41d7ad175ac8fd4c2 ) and updated test cases following suggestion https://github.com/maticnetwork/miden/pull/563#discussion_r1033001236 ( see https://github.com/maticnetwork/miden/pull/565/commits/0006f17020bd9ad3a4cd168ad97188e6245f9856 ).


luci-mod-freifunk: add dependency to luci-compat

this fixes the error seen in the admin-interface after login
/usr/lib/lua/luci/dispatcher.lua:1342: module 'luci.cbi' not found:
no field package.preload['luci.cbi']
no file './luci/cbi.lua'
no file '/usr/share/lua/luci/cbi.lua'
no file '/usr/share/lua/luci/cbi/init.lua'
no file '/usr/lib/lua/luci/cbi.lua'
no file '/usr/lib/lua/luci/cbi/init.lua'
no file './luci/cbi.so'
no file '/usr/lib/lua/luci/cbi.so'
no file '/usr/lib/lua/loadall.so'
no file './luci.so'
no file '/usr/lib/lua/luci.so'
no file '/usr/lib/lua/loadall.so'
The luci-compat packaged was added in LuCI when reworking to JS-based framework was done, to provide backward compatibility to the Lua-based framework (up to OpenWrt-18.06).

This should be also relevant for the 19.07 branch


[BUG] Sequential auto-migration for cluster not working

What steps did you take and what happened?
Description:
Sequential v3 auto-migration not working
What steps did you take and what happened?

Install turtles v0.8.0 (v3 option disabled) and import CAPI cluster

Upgrade turtles to latest v0.9.0 by keeping settings to default (v3 is auto-enabled to true)

Update turtles settings and set managementv3-cluster-migration to true and let the operation complete.
The migrated v3 cluster is Unavailable in Rancher.

What did you expect to happen?
Sequential migration ie. managementv3-cluster = true, managementv3-cluster-migration = false -> managementv3-cluster = true, managementv3-cluster-migration = true should work.
How to reproduce it?
Steps mentioned above.
Rancher Turtles version
v0.9.0
Anything else you would like to add?
While upgrade from v0.8.0 if both managementv3-cluster, managementv3-cluster-migration = true, then migration completes successfully.

Label(s) to be applied
/kind bug

logs.tar.gz

Should be caused by #587

Should be caused by #587

Exactly, yes. We have noticed it while testing it with @salasberryfin

@cpinjani #587 was fixed which we think was causing the issues you were reporting here. Would you be able to verify if that fixes the issue for you?

@cpinjani I moved this issue into “To Test”. Can you please validate, so we can close it?

Validation passed on turtles latest chart - 0fbf6d0
Sequential auto-migration of CAPI cluster worked and it can be explored.


[BUG] Compilation on Windows fails

Issue description
Description of the issue - include code snippets and screenshots here
if relevant. You may use the following template below

Expected behavior: (What you expect to happen)

Compilations succeeds.

Actual behavior: (What actually happens)

Compilation fails on windows with error C2039: 'all_of': is not a member of 'std'

Reproduces how often: (What percentage of the time does it reproduce?)

Every time

System information: (post the output of import pennylane as qml; qml.about())

Azure pipelines
Source code and tracebacks
Please include any additional code snippets and error tracebacks related
to the issue here.
Logs: https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=428105&view=logs&j=171a126d-c574-5c8c-1269-ff3b989e923d&t=1183ba29-a0b5-5324-8463-2a49ace9e213&l=633
Additional information
Any additional information, configuration or data that might be necessary
to reproduce the issue.
This occurs in the context of building the package for conda-forge.

PR: https://github.com/conda-forge/pennylane-lightning-feedstock/pull/3
Script: python -m pip install . -vv
Build file: https://github.com/conda-forge/pennylane-lightning-feedstock/blob/f455c7dad8dc571f24fd977eb661fbaf2cf1c209/recipe/meta.yaml

Hi @BastianZim thanks for reporting this.
I suspect this is either a C++17 flag issue for the compiler, or the platform doesn't pull in the header provided for the std method. I'll have somebody look at this.

Thanks @mlxd Let me know if you need more info here from me.

Thanks @BastianZim . We did notice this may be for a Py3.10 build. Due to restrictions in Pennylane's other dependencies we do not currently support Python 3.10.
As for the observed error, we will issue a bugfix release shortly.

Thanks @mlxd! Pyhton3.10 is not a huge concern, it's just currently passing on the other platforms which is why I had included it. I'll remove Windows for this build and merge it then.

Hi @BastianZim thanks again for reporting this. The problem you found will be fixed in the minor release v0.20.1

Hi @mlxd can confirm that it is working. Thanks again for the quick fix!


feature(Analysis/Normed/Module/Dual): Polar of the open ball

The polar of an open ball at the origin is also the closed dual ball at the origin.
I think one would normally use the bipolar theorem to prove this, which I don't think we have yet.

Thanks! :tada:
bors merge


Added information in the portfolio page

Added information in the index.html file for the portfolio for #2

Great 👍


Voting app failed to fetch storage container

while trying to deploy this application in kubernetes cluster the storage pod in pending state latterly I found that the app failed to fetch the storage containers (mysql).

i forget to create pv.


Improvements to cohort-middleware docs and tests following extra code review

Jira Ticket: VADC-931
Improvements

Improvements to cohort-middleware docs and tests following extra code review

merging based on approval of #89


No response on Shift-Return to an initial call to GPT4 on an otherwise empty Mathematica notebook, having a premium OpenAI account.

Describe the issue in detail here. Attach any relevant screenshots or files. The section below was automatically generated. Remove any information that you do not wish to include in the report.

Debug Data

Property
Value

Name
"Wolfram/Chatbook"

Version
"1.0.4"

EvaluationEnvironment
"Session"

FrontEndVersion
"Desktop: 13.3 for Mac OS X ARM (64-bit) (July 24, 2023)"

KernelVersion
"13.3.1 for Mac OS X ARM (64-bit) (July 24, 2023)"

SystemID
"MacOSX-ARM64"

Notebooks
True

DynamicEvaluation
False

SynchronousEvaluation
False

TaskEvaluation
False

Settings
Inherited

Stack Data
catchTop
checkResponse
throwFailure
trimURL

Failure Data
<|
  "Evaluation" :> Wolfram`Chatbook`Actions`Private`toolFreeQ[ProgressIndicator[Appearance -> "Percolate"]]
  "Arguments" -> {}
|>

Does this issue persist if you update to the latest version (1.2.0 / 1.1.3)?
PacletInstall["Wolfram/Chatbook", UpdatePacletSites -> True]

I updated the paclet. That particular error message no longer appears but the issue is replaced by a different one: GPT4 is no longer as a model option. I have a premium OpenAI subscription.

On Sep 28, 2023, at 2:29 PM, Avery Davis @.***> wrote:
Does this issue persist if you update to the latest version (1.2.0 / 1.1.3)?
PacletInstall["Wolfram/Chatbook", UpdatePacletSites -> True]
—
Reply to this email directly, view it on GitHub https://github.com/WolframResearch/Chatbook/issues/377#issuecomment-1739817048, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHMBV6SGYIOII5AUQDCIEB3X4W6ZZANCNFSM6AAAAAA5LKXQXI.
You are receiving this because you authored the thread.

I updated the paclet. That particular error message no longer appears but the issue is replaced by a different one: GPT4 is no longer as a model option. I have a premium OpenAI subscription.
…
On Sep 28, 2023, at 2:29 PM, Avery Davis @.***> wrote: Does this issue persist if you update to the latest version (1.2.0 / 1.1.3)? PacletInstall["Wolfram/Chatbook", UpdatePacletSites -> True] — Reply to this email directly, view it on GitHub <#377 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHMBV6SGYIOII5AUQDCIEB3X4W6ZZANCNFSM6AAAAAA5LKXQXI. You are receiving this because you authored the thread.

To be clear, the access here doesn't have anything to do with subscriptions to OpenAI, please see their support article: https://help.openai.com/en/articles/7039783-how-can-i-access-the-chatgpt-api
It's hard for me to provide an answer since i"m not sure what you mean "GPT4 no longer as a model option". If you have setup your billing and API correctly with OpenAI, we show the models available.

Hmm, I “think” it is configured directly. I attach a screenshot of the LLM options in Mathematica where it does not list GPT4 as an option and a screenshot from OpenAI saying there should be GPT4 access. Since OpenAI says I have GPT4 access I’d expect it to be reflected in the Mathematica settings.
￼
￼

On Sep 28, 2023, at 3:06 PM, Avery Davis @.***> wrote:
I updated the paclet. That particular error message no longer appears but the issue is replaced by a different one: GPT4 is no longer as a model option. I have a premium OpenAI subscription.
… x-msg://2/#
On Sep 28, 2023, at 2:29 PM, Avery Davis @.***> wrote: Does this issue persist if you update to the latest version (1.2.0 / 1.1.3)? PacletInstall["Wolfram/Chatbook", UpdatePacletSites -> True] — Reply to this email directly, view it on GitHub <#377 (comment) https://github.com/WolframResearch/Chatbook/issues/377#issuecomment-1739817048>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHMBV6SGYIOII5AUQDCIEB3X4W6ZZANCNFSM6AAAAAA5LKXQXI. You are receiving this because you authored the thread.
To be clear, the access here doesn't have anything to do with subscriptions to OpenAI, please see their support article: https://help.openai.com/en/articles/7039783-how-can-i-access-the-chatgpt-api
It's hard for me to provide an answer since i"m not sure what you mean "GPT4 no longer as a model option". If you have setup your billing and API correctly with OpenAI, we show the models available.
—
Reply to this email directly, view it on GitHub https://github.com/WolframResearch/Chatbook/issues/377#issuecomment-1739862769, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHMBV6TRJAR3L7LXNSOEU43X4XDFBANCNFSM6AAAAAA5LKXQXI.
You are receiving this because you authored the thread.

You can see what models your API key has access to using the following:
URLExecute[
    HTTPRequest[
        "https://api.openai.com/v1/models",
        <|
            "Headers" -> <|
                "Content-Type"  -> "application/json",
                "Authorization" -> "Bearer "<>SystemCredential[ "OPENAI_API_KEY" ]
            |>
        |>
    ],
    "RawJSON"
][[ "data", All, "id" ]]

Check to make sure that "gpt-4" shows up in that list.


:warning: add mbr disk generation

supersedes https://github.com/kairos-io/osbuilder/pull/98

Adds MBR disk generation
Adds e2e tests for MBR disk generation
Switch tests to use self-hosted runners
Do not use earthly anymore in the CI runs
Run tests with KVM when necessary
Fixes https://github.com/kairos-io/kairos/issues/1894
Output artifacts now are moved in the build directory instead of iso. The name was changed since we build also disks and other assets and it is more generic.

All fixed!

Not sure if I understand this correctly, we are using qemu to generate a disk???
we already had disk creation on elemental in pure go (minus copying the fat files needed, that required a shell call) before? Why go over to this? This seems way too much IMHO. Another dep to add to aurora and probably not too small either and behaving differently for sure between versions and systems...
Im not sure I like this more than https://github.com/kairos-io/elemental-cli/blob/main/pkg/action/build-disk.go#L40
At this point, why not use terraform which is specialized in doing exactly this? Getting an input iso and generating a raw output image?

Not sure if I understand this correctly, we are using qemu to generate a disk???

Yes, pretty simple actually :)

we already had disk creation on elemental in pure go (minus copying the fat files needed, that required a shell call) before? Why go over to this? This seems way too much IMHO. Another dep to add to aurora and probably not too small either and behaving differently for sure between versions and systems...
Im not sure I like this more than https://github.com/kairos-io/elemental-cli/blob/main/pkg/action/build-disk.go#L40

What we had is only for EFI and it's static and note that we have already an equivalent mechanism in AuroraBoot. The previous approach doesn't install a system, it merely sets up a disk such as the first boot handles the deployment. In this case we actually snapshot the disk.

At this point, why not use terraform which is specialized in doing exactly this? Getting an input iso and generating a raw output image?

Why should we use terraform to generate a simple, raw disk image? Terraform makes sense IMHO to bootstrap cloud environment with sophisticated services setup -  I think a QEMU call here is more than enough

Not sure if I understand this correctly, we are using qemu to generate a disk???

Yes, pretty simple actually :)

we already had disk creation on elemental in pure go (minus copying the fat files needed, that required a shell call) before? Why go over to this? This seems way too much IMHO. Another dep to add to aurora and probably not too small either and behaving differently for sure between versions and systems...
Im not sure I like this more than<EMAIL_ADDRESS>
What we had is only for EFI and it's static and note that we have already an equivalent mechanism in AuroraBoot. The previous approach doesn't install a system, it merely sets up a disk such as the first boot handles the deployment. In this case we actually snapshot the disk.

At this point, why not use terraform which is specialized in doing exactly this? Getting an input iso and generating a raw output image?

Why should we use terraform to generate a simple, raw disk image? Terraform makes sense IMHO to bootstrap cloud environment with sophisticated services setup - I think a QEMU call here is more than enough

I dont know, Im conflicted... seems strigh enough but Im fearful of the qemu issues.
How about fixing kairos-agent to be able to install to a mounted loop device or something like that? Wouldnt that cover this feature and especially make it so the path is the same. which is one of the big disadvantages of the current implementation?
Alos this is only valid for x68. No arm, no rpi specific bits nor anything else right?
I dont know. It feels kind of wrong xD

ok merging this for now as discussed in the call (cc @Itxaka @mauromorales ) - let's also keep in mind that this is mostly user-facing, we can look at the implementation bits later anytime and optimize it as needed.  There are of course many things that aren't perfect yet, but would like to go ahead as it was already challenging due to the test being broken in the way of it


BC20 cu04 US data migration issue

Hello, during the data upgrade from BC14 to BC20 cu04 onprem I got a strange issue. I am running the data upgrade on the BC20 and the process takes unnaturally longer than it should and stops without any error. I changed timeouts on the server instance settings, but it didn`t help. I tried to run data upgrade on three different versions of BC, but got the same issue. (Database size ~75 GB).
The sync process took 30 minutes. The data upgrade took 15 hours and stopped.
Do you have any ideas about what can be wrong?

This repo is for issues in the AL language or compiler or surrounding tools, so data-upgrade seems off-topic.

Ok, got it, sorry.


fix: export logging init by capitalizing

:tada: This PR is included in version 1.0.7 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Closes-Bug: issues: #12: Backup/Restore failing for Azure due to VM cid change

Description: Using agent_id instead of cid for instance_id during backup/restore for Azure

This change has been tested and backup/restore functionalities are working fine.

Modified as per the new changes from the broker's side. Kindly review again.


fix: issue with typescript includes function

Using functions to ensure parameter are defined before passing them into the TypeScript includes function.
Description:
For the frontend, yarn run build does not work with error Argument of type 'string | undefined' is not assignable to parameter of type 'string'.   Type 'undefined' is not assignable to type 'string'.
Reason for Change:
Typescript includes do not accept parameter which could be undefined.

Hi @CpEtoile as I mentioned all the type errors are fixed in the latest dev version we will merge with main very soon


Virtual Desktop Utilities / Recording Utilites

Description of the new feature / enhancement
There are two things I want to propose:
1. Virtual Desktop tooltip
When navigating from a virtual desktop named "Develop" to a virtual desktop named "Test", it would be useful to show a very small tooltip-like popup at the top of the screen containing the name of the current desktop ( i.e. Test). Would this be possible by a new PowerToy ?
Something like this:

2. Keyboard Shortcut popup
When recording tutorials it would be useful to show key combinations like "Ctrl + Shift + C" to help people to follow along. Would this be possible by a new Powertoy ?
Something similar to this:

Or, even better a new simple screen recorder Powertoy? It would be useful when you want to do a quick record, etc. Currently, there is the windows 10 game bar, but it cannot record the desktop or windows explorer and I find it a bit buggy in my computer. There is also an another inbuilt screen recording software. To access it, go to PowerPoint -> Blank Presentation -> Insert -> Screen recording.
This is a very simple and effective tool to record small or large videos, but when recording, the bar at the top (the toolbar like thing when recording, which contains the Play/Pause/Stop buttons) is also included in the recording. So, it would be better if it was fixed in a PowerToy.
Scenario when this would be used?
The first one would be useful when you are working with many virtual desktops.
The second one would be useful when you are recording some tutorials or short videos.
Supporting information
No response

I recommend you to file your suggestions in the
Feedback Hub. PowerToys isn't the right place for adding this.

I recommend you to file your suggestions in the
Feedback Hub. PowerToys isn't the right place for adding this.

Ok. I will use Feedback Hub

@Aaron-Junker wasn't there a concept to build a new, simple screen recorder module? Maybe that tag applies too.

@jay-o-way You're right. Idea 2 is a duplicate of #981

@Aaron-Junker i meant #143 and https://github.com/microsoft/PowerToys/wiki/Video-GIF-Capture

@Aaron-Junker i meant #143 and https://github.com/microsoft/PowerToys/wiki/Video-GIF-Capture

@jay-o-way But this isn't the proposed feature.


Electron JS icon shown instead of VSCode icon in Windows

VSCode Version: Code - Insiders 1.18.0-insider (65c08338e4bece35fb53f5a1cdf56d30b7706157, 2017-10-20T15:35:45.848Z)
OS Version: Windows_NT x64 10.0.15063
Extensions:

Extension
Author (truncated)
Version

project-manager
ale
0.22.0

vscode-icon-theme
jtl
1.5.0

markdown-shortcuts
mdi
0.8.1

debugger-for-chrome
msj
3.4.0

vscode-subword-navigation
ow
1.1.5

ejs-language-support
Qas
0.0.1

Encryptor
Rus
0.3.1

code-settings-sync
Sha
2.8.3

vscode-autohotkey
sle
0.2.1

(2 theme extensions excluded)

Steps to Reproduce:

Have VSCode Insiders pinned to Windows taskbar

Reproduces without extensions: Yes
This is what it looks like

Duplicate of #36710


v1.1.0 breaks AllowAnonymous attribute behavior

Hello there,
I have a project with this authorization policy:
    services.AddMvc(opt =>
    {
        if (env.IsProduction())
        {
            opt.Filters.Add(new RequireHttpsAttribute());
            opt.Filters.Add(new AuthorizeFilter(new AuthorizationPolicyBuilder().RequireAuthenticatedUser().Build()));
        }
    });
    services.AddApiVersioning();

And a controller with these attributes:
    [ApiVersionNeutral]
    [Route("[controller]")]
    [AllowAnonymous]
    public class StatusController : Controller

With v1.0.3 this works fine: the status controller is exempted from versioning and is anonymously accessible while all other controllers require authentication.
Upgrading just the versioning package to v1.1.0 breaks this behavior: it now looks like the AllowAnonymous is now ignored. See app logs:

info:  Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://[host-omitted]/status
info: IdentityServer4.AccessTokenValidation.Infrastructure.NopAuthenticationMiddleware[7]
Bearer was not authenticated. Failure message: No token found.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 301.6292ms 404

Rolling back to v1.0.3 restores the initial correct behavior.
Is it a bug or am I missing something?
Thank you.

There is a breaking, behavioral change starting in the 1.1 release candidate. I tried to get around it, but I couldn't find a way without sacrificing a bunch of intrinsic ASP.NET Core behaviors. Unfortunately, that change has been catching a lot of folks off guard. I've tried to call it out as loudly as possible in the release notes and I've updated all the wiki documentation.
In your setup, you now, also need:
app.UseMvc();
app.UseApiVersioning();

I suspect that may be the issue. Let me know if it's not and I'll investigate further.

Yes, that was it, now everything is back in order. Thank you!
I did try to look or breaking changes both in the wiki (...tidy and great!) and in the release description but I didn't scroll thru the RC although now I see it is mentioned that "every previous release note apply" (I didn't extend that comment to pre-releases). You might want to consider rephrasing that statement to include the catchy "breaking changes" wording and making it a quote as you did in the one below it to have it stand up. :)
Thank you again!

Yeah, I considered that. Thanks for the feedback. I think I'll update the official release notes to reiterate this very important point. Glad things are sorted out.


API Whitelist

two end point need to be whitelist for landing page
end point details
1.0 /scheduler/causelist/v1/_download
2.0 /case/v1/search/_summary

approved.
@prasanna2400  for documentation purpose, please do provide who was mapped to  these APIs in the current role action mapping?

Hi @atulgupta2024  /scheduler/causelist/v1/_download is mapped to JUDGE_ROLE ,
/case/v1/search/_summary is mapped to CITIZEN

@prasanna2400 @atulgupta2024 is this completed? Are these whitelisted? @Pasam6 - can you please provide final list of whitelisted APIs?

@prasanna2400 @Pasam6 @Hemadri-Chinna there are three new OpenAPIs that need to be white listed, as those are the ones that will be called from the Search Landing Page. @manimaarans  can provide the list to you.
We need to remove the /case/v1/search/_summary from white list.
cc. @subhashini-egov

Hi @atulgupta2024 @subhashini-egov ,

/openapi/v1/{tenantId}/case/cnr/{cnrNumber},
/openapi/v1/{tenantId}/case/{year}/{caseType}/{caseNumber},
/openapi/v1/{tenantId}/case/{year}/{caseType}
these are the new endpoints for landing page which need to be whitelisted cc: @manimaarans @Rkum113


[MBL-1194] Implement Validate Checkout

📲 What
When tapping pledge, we need to run this mutation so the backend can do some extra validations before we ask Stripe to do its thing.
This mutation accepts the following params:

the checkoutId (from the https://github.com/kickstarter/ios-oss/pull/1982 on ConfirmDetailsViewController). One update to this was made. Validate Checkout requires that the checkoutId be decoded to base 64.
the stripeCardId that we can pull in using, STPAPIClient.shared.retrievePaymentIntent(withClientSecret: clientSecret)
and the paymentIntent clientSecret that we created for initializing the paymentSheet.

I also updated PostCampaignCheckoutViewController to use our MessageBannerViewControllerPresenting to show error messages when an API call fails.

It's important to note that in the case of a failure, the expected UX is to navigate the backer back to the ConfirmDetails screen so that we can being the process of creating a checkout Id/validating/etc. before attempting another pledge. This is because once we confirm the payment with Stripe, the backend will need to invalidate that request, essentially processing a refund to the backer and invalidating our previous validations.

🤔 Why
Gotta validate, ya dig?
✅ Acceptance criteria

[x] Tapping Pledge, after adding a card or selecting an existing card, successfully runs the validateCheckout mutation with the correct values.

⏰ TODO

[ ] Currently getting 404s and need to ask someone on the backend to help debug.
[ ] Next step is to confirm the payment intent via Stripe.confirmPayment()

Looking into your other comments.

Why do we need to decode the GraphID of a Checkout? Can this be resolved at the mutation level, instead of doing it in the client?

I spoke with the backend, and they would rather we did this. It sounded like they could (they do in other cases), but they aren't willing to spend the time updating the different pieces involved right now.


ts: Solana name service

Everywhere a PublicKey is used in a public API, we should consider allowing a solana name service name to be used as well.

Similarlyh, wherever a PublicKey is used, we should allow a base58 string to be used.


[backport] Add take_along_axis

Backport of #2314

[automatic post] Jenkins, test this please.

Just I missed making this backport when I merged the original one.

Should PR #2314 be backported? #2314 only adds a new feature and does not fix any bug.

Jenkins CI test (for commit 72b499eff721d13485a7c863f71a31a236971237, target branch v6) failed with status FAILURE.

I'm a bit confused if features should be backported or not by this comment
As you say, features are basically not backported:

features not labeled to-be-backport
features labeled to-be-backport

Let me close this PR.


Subdomain certs

Issue
The TLS cert solution was designed with only path routing in mind.
With subdomain routing, traefik is unable to match a domain to a cert.
Solution

[ ] Keep using cert_handler as-is for the bare hostname cert. Should keep it even for subdomain routing, to be able to reach traefik api endpoints and metrics endpoint.
[ ] Refactor to have a cert per app (IPA) or per unit (IPU).

[ ] when ingress relation (unit) joins/departs, send CSR/CRR on behalf of the unit
[ ] when routing mode changes from subdomain to path, CRR everything
[ ] when routing mode changes from path to subdomain, CSR everything

Fixes #244.
Context

Testing Instructions

Release Notes

This has been here over a year. Feel free to reopen if you want to move forward with it.


Typescript error finding declaration for FocusTrap

I have noImplicityAny enabled in my tsconfig.json.  When I try to add react-hotkeys to my project, Typescript is giving this error:
TS7016: Could not find a declaration file for module './cjs/FocusTrap'. '{snip}/node_modules/react-hotkeys/cjs/FocusTrap.js' implicitly has an 'any' type.
Typescript version 2.7.2
Latest react-hotkeys from NPM

Thanks for reporting, @lehresman. The addition more strict typings to this package has certainly been a learning experience.


COCO fine-tuning without panoptic stuffthingmaps

Hello thank you for the great work,
I want to fine-tune the pre-trained CBnet on a COCO-like custom dataset. However, the htc_cbv2_swin_base_adamw_20e_coco.py config expects COCO-stuff pixelmaps. (See configs/BigDetection/cbnetv2/htc_cbv2_swin_base_adamw_20e_coco.py)
In line 92 it tries to load stuffthingmaps into the data dict
seg_prefix=data_root + 'stuffthingmaps/train2017/',
The whole code block, starting at line 89:
samples_per_gpu=1
data = dict(samples_per_gpu=samples_per_gpu,
            train=dict(
                seg_prefix=data_root + 'stuffthingmaps/train2017/',
                pipeline=train_pipeline),
            val=dict(pipeline=test_pipeline),
            test=dict(pipeline=test_pipeline))
optimizer = dict(_delete_=True, type='AdamW', lr=0.0001*(samples_per_gpu/2), betas=(0.9, 0.999), weight_decay=0.05,
                 paramwise_cfg=dict(custom_keys={'absolute_pos_embed': dict(decay_mult=0.),
                                                 'relative_position_bias_table': dict(decay_mult=0.),
                                                 'norm': dict(decay_mult=0.)}))

What if I do not want to train panoptic stuffthingmaps? I only want to train on train and val COCO sets. If I set seg_prefix=None, it will fail as it expects a string or path. How do I disable loading these panoptic thing maps, all together?
I am not sure if it's even possible to train native COCO (not COCO-stuff) without fixing that issue.

Hi, sorry for the late reply.
First, our released checkpoints on COCO were all trained on only bounding-box and mask annotations. These COCO-stuff semantic segmentation annotations were not used in our models since we already disabled the semantic seg stream in model configuration "configs/base/models/htc_without_semantic_swin_fpn.py".
And if you want to fine-tune these pre-trained models on COCO on your own, you can try to delete 'gt_semantic_seg' in line 71 of "configs/BigDetection/cbnetv2/htc_cbv2_swin_base_adamw_20e_coco.py", or directly download the COCO stuffthingsmap data and move it to your dataset saving path.

Okay, looks like I managed to skip panoptic segmentations by following your recommendation as well as removing the semantic roi_head in the same config and setting "with_seg" to False for LoadAnnotations, as all my segments are stored in mask annotations, rather than binary masks. Let me know if removing that roi_head was wrong.
How long does a typical training run take on 8x A100s? How many epochs did you need until the COCO model was performing well?

training worked well with above method! thanks

training worked well with above method! thanks

Good! Thank you for the feedback. As for the training time, it cost us about 12 epochs (which is 1X schedule in the Mask RCNN framework) to get a well-performing model.


'All' Option in All Filters

Whereas the default of each filter is 'All ...', once i have selected a different variable in a filter, i sometimes am unable to select the All. See the following example:

All Reports and Charts have "All" in filters

I'm moving this to QA in Sprint 4. Please review @vineethreddyramasa if you have a chance.

Review Done. All the Reports and Charts have "All" in the filters
Test case Document: https://drive.google.com/open?id=1lMkGh4SWOI44avFMMsoZfSAIOCAYrznw


import order when import "C" in cause error

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.7.1
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/gstepanov/workspace/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build148165501=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
I have a code snipped https://play.golang.org/p/hyTNhSJ-eI where i import python.h and use objects from there using C.
But when using multiline import like code snippet https://play.golang.org/p/7Fo_k4qLT2 do.
build failed with
could not determine kind of name for C.PyLong_FromLongLong
could not determine kind of name for C.PyObject
Command used for buiild
go build -buildmode=c-shared -o bin/main.go.so main.go
Full version of code can be found at https://github.com/stgleb/py_to_go
It seems pretty weird  that way of import syntax affect in such way, i've spent a few hours to
figure out that issue was in simple import syntax.

This is working as documented at https://golang.org/cmd/cgo.

Thanks, i've missed that.


(BOLT-460) Include Puppet facts in facts module

The facter_task module does this, and is a frequent request whenever we
do something that doesn't include Puppet facts.

CLA signed by all contributors.


material icons missing

installed the latest and it looks like the new material icons are not up to date.

react-native-vector-icons needs to be updated in total with all new icons.

It's unclear from the given documentation on how to do updates. I am  happy to help

Fixed in 5.0.0


Create dropdown-3.html

https://play.tailwindcss.com/n18jaRm4Jv?layout=horizontal

PR : #766

This thing is already available in dropdown-2.html @nik132-eng

Can we make the dropdown work? @nik132-eng

I will try to do it in morning

Sorry I searched But couldn't find any artical or blog for any working in tailwind play enviroment.
reason behind is that we have to build logic and that is not possible in html only. ( my point of view )
here is one working dropdown : https://play.tailwindcss.com/csDLkZCBZD

This one looks great I guess. Just need to add the stylings according to the design system. @nik132-eng

But it is not working. @nik132-eng

I tried but facing issues with implementing

The previous one without designs on was working take reference from that. @nik132-eng

Sure, help @nik132-eng as well.

@nik132-eng Firstly, It is possible to make this work without js, you can use group in tailwind to dropdown on hover, You need to write group in parent div and then use group-hover:block By this way you can dropdown for once only, then I search more and found out that you can also choose which child element to make  changes, when you hover on it, For this you need to name the parent group like for the first dropdown, you can use group/first [here instead of first you can give any other name too] then add group-hover/first:block & hidden, Then for the second dropdown you can use group/second and then in the child div use  group-hover/first:block & hidden,
See the code for this dropdown and then you will understand it better,
If you have any issue do let me know, otherwise make changes in the code and update the commit
Also if you want to do this in HTML & core CSS the refer to the this article

Sorry I searched But couldn't find any artical or blog for any working in tailwind play enviroment.
reason behind is that we have to build logic and that is not possible in html only. ( my point of view )
here is one working dropdown : https://play.tailwindcss.com/csDLkZCBZD

Sure, help @nik132-eng as well.

@Rajdip019 Checkout this

@RavindraP04 make a new PR. Otherwise the points will be given to @nik132-eng


Compatible the admin panel calendar icon with multiple browsers.

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
master
Issue Description
Compatible with the admin panel calendar icon with multiple browsers.
Preconditions

Admin should be logged in.

Steps to reproduce

Go to 'Admin panel'
See the stats calendar icon OR
Click on 'edit/create product' inside the catalog/products
See customer group price date & time
See the error

Expected Result
It should be shown in the same places.
Actual Result
It is showing last in the Firefox browser. Here
Screenshots
No response
Additional context
No response

@Amitk-webkul Assign this issue to me

@Amitk-webkul Assign this issue to me

I am working on it

@JunaidJaved248 Assigned this issue to you, please proceed.


use local version of all case conversion methods

Signed-off-by: erdoganoksuz<EMAIL_ADDRESS>Hey, I just made a Pull Request!
This line converts 'API' to 'api' but if user system language Turkish this converts like this 'API' to 'apı' for this reason 'api' statement not work as expected.
More detail: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toLocaleLowerCase
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

@OrkoHunter  @freben  i fix prettier issue can you check again?

@erdoganoksuz Thanks! As the other review mentioned, would be great if you could just remove the example-app line at least. We can make the ADR for it after

@erdoganoksuz Thanks! As the other review mentioned, would be great if you could just remove the example-app line at least. We can make the ADR for it after

it would be good for me this week I'm so busy, on the weekend I will create ADR for this. I removed example-app patch can you review it again?

Did an ADR ever come out of this? I looked for it recently, but didn't find one.

Nope, not yet!

A lint rule would be a sweet alternative / addition.

Lint rule sounds good x) #7419


Add Grok support

Added support for X's Grok. Currently, this only supports textual content, but I am working on adding support for image reasoning.
Also fixed a small error in examples/basic_example.py to use the renamed easilyai.EasilyAIPipeline() instead of easilyai.EasyAIPipeline()

Hey @sgarg26! Thanks for this! I've modified one thing so the model isn't explicitly defined in the request, rather it should use "self.model". I will merge it.
Also, thanks for noticing the issue with easyai.

Yep, you're right, thanks for catching that.

@sgarg26 will you be doing image generation as well?

@sgarg26


Bonnie to send Olivia the following list

Overview
To facilitate issue #61 Bonnie will send the following to Olivia
Action Items

[ ] Link to

[x] Communications Guide document from BOP project

[ ] Hack for LA logo

[ ] Make an issue for all forms to be used in Hack for LA for examples

[ ] A link to Hack for LA role descriptions

[ ] A link to UI/UX interest form

[ ] A link to the design system to the Hack for LA design Figma\

Resources/Instructions
hfla role recruitment forms
Communication (style) Guide for Document Creation template/examples


Auto aliasing

This is the backend solution for the frontend sending Instance names as aliases.
Aliases for beacons and instances are now automatically generated when they are added.  The /beacons/create endpoint now has a required Alias field, and instance aliases are generated as <Beacon Alias>.<Instance Name>.
These new aliases are now included in the /beacons/list/{Beacon} endpoint as
[
    {
        "Alias" : "The.Alias",
        "// Previously existing fields..."
    }
]

For backend use, aliases are now keyed by the address, instead of the alias.  Aliases no longer need to be unique, but instances must be.

@ngmiller will this work for you to fix this?

Looks good! Will open a client PR for the required alias key on creation. Quick question though: Is it possible to catch these postgres errors for duplicate keys and return a friendlier message? Something along the lines of "a beacon with the given address already exists" (possibly with a 400 status code?)

@ngmiller I'm looking into that.  The problem is lib/pq isn't returning normal errors, it's actually giving us the type here, http://godoc.org/github.com/lib/pq#Error, but it's hidden under polymorphism so it's hard for me to extract the exact error.  Without making this postgres specific that is.

+1

+1


[Building a Gateway] f.circuitbreaker instead of f.circuitBreaker

Hi !
In tutorial "Building a Gateway", the example code shows f.circuitbreaker(..., but in github, we can see it with "B" upcase (circuitBreaker).
There are 2 to correct.
Thanks !

This is the wrong repo for this issue


nixos/{gollum,borgbackup,radicale}: specifiy systemd WorkingDirectory

Motivation for this change
These services already have their state in /var/lib/servicename. By setting WorkingDirectory to that directory, systemd automatically sets Requires and After for systemd mounts that are necessary for the paths. So I guess this would be sensible for pretty much every service, but these are the ones I'm actively using.
I'm using this for over a year now without a problem.
From man 5 systemd.exec:
IMPLICIT DEPENDENCIES
       A few execution parameters result in additional, automatic dependencies to be added:

       •   Units with WorkingDirectory=, RootDirectory=, RootImage=, RuntimeDirectory=, StateDirectory=,
           CacheDirectory=, LogsDirectory= or ConfigurationDirectory= set automatically gain dependencies
           of type Requires= and After= on all mount units required to access the specified paths. This is
           equivalent to having them listed explicitly in RequiresMountsFor=.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 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

[ ] Fits CONTRIBUTING.md.

Did anyone test this? This broke borgbackup tests and deployments.

Shit. My apologies. One more data point for that running a seemingly trivial change for months isn't a replacement for proper testing.
I looked at the failure but didn't understand it enough yet. Will create a revert PR at first.


Root simple method

Does anyone has an idea about the root simple method?

Any help will be appreciated.

Did you find any help from anyone or did you resolve this issue? For now, I am closing the issue, if you did not yet resolve it, please reopen it.


Fixing grad test

Gradient test has been fixed and (2D) FWI fully functional. CI still broken. Will open new branch and work on that.


Subaru: move carspecs to PlatformConfig

before it was done like
    elif candidate in (CAR.FORESTER, CAR.FORESTER_2022, CAR.FORESTER_HYBRID):
      ret.mass = 1568.
      ret.wheelbase = 2.67
      ret.centerToFront = ret.wheelbase * 0.5
      ret.steerRatio = 17           # learned, 14 stock


styx: adapt to upstream derivation, fix build function

Description of changes
The update to version 0.7.5 in #189107 results in a working binary. When testing it with a site to build, it fails, because in this version @nixpkgs@ got introduced in the styx script. Without the "nixpkgs", the build and preview function cease to work.
The derivation is now adapted to upstreams "derivation.nix" at https://github.com/styx-static/styx/blob/4a1489bb1b358647285006d6a32291ce1a54fa5c/derivation.nix
Now, site builder and preview work correctly. Due to the evaluation of pkgs.path the whole evaluation takes a whole lot longer locally for me..
@superherointj: Thanks for your quick review before! Could you have another look here?
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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.11 Release Notes (or backporting 22.05 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.

I don't, but it is probably a good idea to copy the default.nix for the program from nixpkgs and use all the nixpkgs rule to reduce the diff as little as possible.


Messages dropped when receiver adapter is temporarily down

Describe the bug
Messages are dropped when receiver adapter is temporarily down.
Expected behavior
messages should not be dropped when receiver adapter is offline
To Reproduce
Create Kafka source, produce messages in a loop. Simulate a temporary failure to bounce the receiver adapter, you would notice that some messages are dropped.
Knative release version
0.16

@slinkydeveloper may have an idea alredy

When you recreate the source, do you always set up the same consumer group?

yes, same consumer group. Infact the kafkasource is not deleted, just the adapter pods are bounced.

Ok, can you try to reproduce the issue and while you're reproducing the issue, consume the topic where the consumer group offset is being written? I wonder if, for some reason, we start from the wrong offset (the newest and not the one on the topic) or something wrong is being written in the offset topic

Not sure if i did this correctly
messages from the actual topic. I posted from numbers 1 to 50, you can see numbers missing from 25-38 and 40-44, thats when i bounced the adapter pod
"Got an Event: Validation: valid\nContext Attributes,\n specversion: 1.0\n type: dev.knative.kafka.event\n source: /apis/v1/namespaces/test-alpha/kafkasources/track-offset-kafka-source#track-offset-topic\n subject: partition:0#23\n id: partition:0/offset:23\n time: 2020-09-02T04:57:21.275Z\nExtensions,\n traceparent: 00-5581f578895584f996f95ebe2a02af0a-ab69a0ba8f4dbc1f-00\nData,\n 24\n"
"Got an Event: Validation: valid\nContext Attributes,\n specversion: 1.0\n type: dev.knative.kafka.event\n source: /apis/v1/namespaces/test-alpha/kafkasources/track-offset-kafka-source#track-offset-topic\n subject: partition:0#24\n id: partition:0/offset:24\n time: 2020-09-02T04:58:22.937Z\nExtensions,\n traceparent: 00-a0763d69e0b41976e710fbb1cbdfee39-55ab7e4dc97f8da3-00\nData,\n 25\n"
"Got an Event: Validation: valid\nContext Attributes,\n specversion: 1.0\n type: dev.knative.kafka.event\n source: /apis/v1/namespaces/test-alpha/kafkasources/track-offset-kafka-source#track-offset-topic\n subject: partition:0#37\n id: partition:0/offset:37\n time: 2020-09-02T04:58:42.985Z\nExtensions,\n traceparent: 00-2356485b44c7e77311e755c9b3635568-50126189846808c7-00\nData,\n 38\n"
"Got an Event: Validation: valid\nContext Attributes,\n specversion: 1.0\n type: dev.knative.kafka.event\n source: /apis/v1/namespaces/test-alpha/kafkasources/track-offset-kafka-source#track-offset-topic\n subject: partition:0#38\n id: partition:0/offset:38\n time: 2020-09-02T04:58:44.077Z\nExtensions,\n traceparent: 00-73bbbc46f7ef5778a76cba6290dfb2ca-723befa586107b48-00\nData,\n 39\n"
"Got an Event: Validation: valid\nContext Attributes,\n specversion: 1.0\n type: dev.knative.kafka.event\n source: /apis/v1/namespaces/test-alpha/kafkasources/track-offset-kafka-source#track-offset-topic\n subject: partition:0#39\n id: partition:0/offset:39\n time: 2020-09-02T04:58:46.506Z\nExtensions,\n traceparent: 00-3a39f24cbdf88f811d1a237534de748b-94647dc288b8edc9-00\nData,\n 40\n"
"Got an Event: Validation: valid\nContext Attributes,\n specversion: 1.0\n type: dev.knative.kafka.event\n source: /apis/v1/namespaces/test-alpha/kafkasources/track-offset-kafka-source#track-offset-topic\n subject: partition:0#43\n id: partition:0/offset:43\n time: 2020-09-02T05:01:13.713Z\nExtensions,\n traceparent: 00-c20cc6e17e7a90729c6fd3d1e7aa597f-e735b86db00e2646-00\nData,\n 44\n"
"Got an Event: Validation: valid\nContext Attributes,\n specversion: 1.0\n type: dev.knative.kafka.event\n source: /apis/v1/namespaces/test-alpha/kafkasources/track-offset-kafka-source#track-offset-topic\n subject: partition:0#44\n id: partition:0/offset:44\n time: 2020-09-02T05:01:15.278Z\nExtensions,\n traceparent: 00-51bdb9e09bcafb886ba7a300c4ee8a06-5969606607984953-00\nData,\n 45\n"
"Got an Event: Validation: valid\nContext Attributes,\n specversion: 1.0\n type: dev.knative.kafka.event\n source: /apis/v1/namespaces/test-alpha/kafkasources/track-offset-kafka-source#track-offset-topic\n subject: partition:0#45\n id: partition:0/offset:45\n time: 2020-09-02T05:01:18.114Z\nExtensions,\n traceparent: 00-d6f9d186c766f3d729c314302f5744ff-cb9c085f5e216d60-00\nData,\n 46\n"
"Got an Event: Validation: valid\nContext Attributes,\n specversion: 1.0\n type: dev.knative.kafka.event\n source: /apis/v1/namespaces/test-alpha/kafkasources/track-offset-kafka-source#track-offset-topic\n subject: partition:0#46\n id: partition:0/offset:46\n time: 2020-09-02T05:01:23.21Z\nExtensions,\n traceparent: 00-94ff66cbd43450a2f320b49c584e6298-3dd0b057b5aa906d-00\nData,\n 47\n"
"Got an Event: Validation: valid\nContext Attributes,\n specversion: 1.0\n type: dev.knative.kafka.event\n source: /apis/v1/namespaces/test-alpha/kafkasources/track-offset-kafka-source#track-offset-topic\n subject: partition:0#47\n id: partition:0/offset:47\n time: 2020-09-02T05:01:25.561Z\nExtensions,\n traceparent: 00-b0181fa778e42fb095c725631a0538ee-af0359500c34b47a-00\nData,\n 48\n"
"Got an Event: Validation: valid\nContext Attributes,\n specversion: 1.0\n type: dev.knative.kafka.event\n source: /apis/v1/namespaces/test-alpha/kafkasources/track-offset-kafka-source#track-offset-topic\n subject: partition:0#48\n id: partition:0/offset:48\n time: 2020-09-02T05:01:26.843Z\nExtensions,\n traceparent: 00-c4e6f46c03ac798c2def24b04fb5ea97-2137014963bdd787-00\nData,\n 49\n"
"Got an Event: Validation: valid\nContext Attributes,\n specversion: 1.0\n type: dev.knative.kafka.event\n source: /apis/v1/namespaces/test-alpha/kafkasources/track-offset-kafka-source#track-offset-topic\n subject: partition:0#49\n id: partition:0/offset:49\n time: 2020-09-02T05:01:27.608Z\nExtensions,\n traceparent: 00-85e017ae200f023edb9907841c682230-936aa941ba46fb94-00\nData,\n 50\n"

consumer offset topic details
consumer����tM."�
% Reached end of topic __consumer_offsets [29] at offset 4
consumerrange+sarama-2d410a75-e5c5-4c57-aad0-270674152afftM.o�+sarama-2d410a75-e5c5-4c57-aad0-270674152aff��sarama
                                                                                /<IP_ADDRESS>�`'track-offset-topic����&track-offset-topic����
% Reached end of topic __consumer_offsets [29] at offset 5
consumer����tM0��
% Reached end of topic __consumer_offsets [29] at offset 6
consumerrange+sarama-7d3531dc-b4d4-4abb-959f-fadccc335d95tM0�s+sarama-7d3531dc-b4d4-4abb-959f-fadccc335d95��sarama
                                                                                /<IP_ADDRESS>�`'track-offset-topic����&track-offset-topic����
% Reached end of topic __consumer_offsets [29] at offset 7

@slinkydeveloper as you can see above current offset is always empty.
According to this issue, we have to upgrade to sarama 1.27.0 and do session.Commit() after marking the message.
Kindly review and let me know your thoughts so I can send a PR for this.

Let me try to bump the sarama versio @itsmurugappan

It seems like we're already on v1.27: https://github.com/knative/eventing-contrib/blob/master/go.mod#L6 so do you still see this problem with master of this repo?

This was updated by #1510

yay!, with the update, messages are not dropped when receiver adapter crashes. Thank you.
Just to confirm, offsets are committed only when the adapter crashes. Is this the expected behaviour? For example, in the below scenario 5 messages were not marked immediately but on a crash they get synced up. Adding manual commit after marking the message updates the offset immediately, do we need to add that ?
$ bin/kafka-consumer-groups.sh --describe --group muru-track-offset-0906-1 --bootstrap-server kafka:9092

GROUP                    TOPIC                     PARTITION  CURRENT-OFFSET  LOG-END-OFFSET  LAG             CONSUMER-ID                                 HOST            CLIENT-ID
muru-track-offset-0906-1 track-offset-topic-0906-1 0          -               5               -               sarama-b7f69f57-71d1-4b6a-888f-4430aca0e812 /<IP_ADDRESS>     sarama

$ bin/kafka-consumer-groups.sh --describe --group muru-track-offset-0906-1 --bootstrap-server kafka:9092

GROUP                    TOPIC                     PARTITION  CURRENT-OFFSET  LOG-END-OFFSET  LAG             CONSUMER-ID     HOST            CLIENT-ID
muru-track-offset-0906-1 track-offset-topic-0906-1 0          6               6               0               -               -               -

TBH i prefer to leave the actual sarama configuration, committing on every single message is expensive. I guess that sarama commits offsets at a predefined interval or at predefined batch size

Since on master this seems to be fixed, I close this issue as solved. @itsmurugappan please let me know if you need something else

makes sense , thank you @slinkydeveloper


How to prevent logging to console

There are some keywords with logger.console(), is there any way to stop printing these logs to console without editing the keywords code?

No. Notice also that this tracker is only for bug reports and enhancement requests.


Using pagekit in a subfolder instead of root

I have page kit installed in a subfolder (example.com/blog). I only want to use pagekit as a blog so my problems is that when I go to a post, the url is normal but under a subfolder looks off (example.com/blog/index.php/blog/postslughere). I need it to be (example.com/blog/postslughere) just like it would be if it was installed on the root directory.
Any ideas?

What web server do you use?
It's looks like webserver need to be configured for working with pagekit. I use config files from this page: http://silex.sensiolabs.org/doc/master/web_servers.html

I am having same problem as @LordOfSpoon .
I am having my pagekit setup at https://domain.com/blog/
Now the problem is when i open any post then the url looks like
https://domain.com/blog/blog/my-post-title  (Note:the blog is repeated twice!)
Instead of  https://domain.com/blog/my-post-title

Please use Gitter or the Pagekit forum for support requests.


Improve XML output & Format

This does twofold (my bad):

Minor changes to the XML functionality (running silent, changing filename, allow indentation etc)
Formatting the code. I ran black and isort to format, added type hints s.t. mypy --strict passes and addressed most of the remarks raised by flake8 (although not all)

[WIP as I am currently tweaking]

For Reference:
To merge this the issue of the xml being saved multiple times should be fixed.
Otherwise much appreciation for the work

closes #7 and closes #16


[Docker compose] : ibft consensus failed to run the relayer node

[Docker compose] : ibft consensus failed to run the relayer node
Description
When I want to run the docker-compose using the ibft consensus, I get the following error on the node-1 container (the relayer)

All other containers run perfectly
Your environment

Windows 11 using WSL. (Docker engine : 24.0.6)
The version of the Polygon Edge: 1.1.0 or on the develop branch .
Locally hosted.

Steps to reproduce

Clone the repo or unzip the source code of the 1.1.0 version
The issue appear on the node-1 of the docker-compose (with the --relayer) option.
Which commands triggered the issue :

$ export EDGE_CONSENSUS=ibft
$ docker-compose -f ./docker/local/docker-compose.yml up -d --build

It work perfectly using the polybft consensus
Expected behavior

The container should running but crash and restart indefinitely.

Logs
2023-09-21 13:59:43 2023-09-21T11:59:43.757Z [INFO]  polygon.server: Data dir: path=/data/data-1
2023-09-21 13:59:43 2023-09-21T11:59:43.757Z [INFO]  polygon.server: Prometheus server started: addr==<IP_ADDRESS>:5001
2023-09-21 13:59:43 2023-09-21T11:59:43.807Z [INFO]  polygon.blockchain: Current header: hash=0xe07aeb316bf1dd6ee078c147c1484cc688ce5d9d013c463d62dff33b815cbf22 number=0
2023-09-21 13:59:43 2023-09-21T11:59:43.807Z [INFO]  polygon.blockchain: genesis: hash=0xe07aeb316bf1dd6ee078c147c1484cc688ce5d9d013c463d62dff33b815cbf22
2023-09-21 13:59:43 2023-09-21T11:59:43.808Z [INFO]  polygon.server.ibft: validator key: addr=0x0A5ab5584e1f76c076bEA0088BCCd64EAa37BDd1
2023-09-21 13:59:43 2023-09-21T11:59:43.808Z [INFO]  polygon.server: GRPC server running: addr=<IP_ADDRESS>:9632
2023-09-21 13:59:43 2023-09-21T11:59:43.808Z [INFO]  polygon.network: LibP2P server running: addr=/ip4/<IP_ADDRESS>/tcp/1478/p2p/16Uiu2HAmAQKo8ycYCJ22YW3QY1UeLbMfCgJYPVEYtF9qhxYuBp5f
2023-09-21 13:59:43 2023-09-21T11:59:43.808Z [INFO]  polygon.network: Omitting bootnode with same ID as host: id=16Uiu2HAmAQKo8ycYCJ22YW3QY1UeLbMfCgJYPVEYtF9qhxYuBp5f
2023-09-21 13:59:43 2023-09-21T11:59:43.808Z [INFO]  polygon.server.jsonrpc: http server started: addr=<IP_ADDRESS>:8545
2023-09-21 13:59:43 failed to create account from secret: failed to retrieve bls key: math/big: cannot unmarshal "32de51bb0eb9c46123f58ad5c45f4b0b17a7222ba77217650db4f28f422e588a" into a *big.Int
2023-09-21 14:00:44 2023-09-21T12:00:44.164Z [INFO]  polygon.server: Data dir: path=/data/data-1
2023-09-21 14:00:44 2023-09-21T12:00:44.164Z [INFO]  polygon.server: Prometheus server started: addr==<IP_ADDRESS>:5001
2023-09-21 14:00:44 2023-09-21T12:00:44.218Z [INFO]  polygon.blockchain: Current header: hash=0xe07aeb316bf1dd6ee078c147c1484cc688ce5d9d013c463d62dff33b815cbf22 number=0
2023-09-21 14:00:44 2023-09-21T12:00:44.218Z [INFO]  polygon.blockchain: genesis: hash=0xe07aeb316bf1dd6ee078c147c1484cc688ce5d9d013c463d62dff33b815cbf22
2023-09-21 14:00:44 2023-09-21T12:00:44.218Z [INFO]  polygon.server.ibft: validator key: addr=0x0A5ab5584e1f76c076bEA0088BCCd64EAa37BDd1
2023-09-21 14:00:44 2023-09-21T12:00:44.218Z [INFO]  polygon.server: GRPC server running: addr=<IP_ADDRESS>:9632
2023-09-21 14:00:44 2023-09-21T12:00:44.218Z [INFO]  polygon.network: LibP2P server running: addr=/ip4/<IP_ADDRESS>/tcp/1478/p2p/16Uiu2HAmAQKo8ycYCJ22YW3QY1UeLbMfCgJYPVEYtF9qhxYuBp5f
2023-09-21 14:00:44 2023-09-21T12:00:44.218Z [INFO]  polygon.network: Omitting bootnode with same ID as host: id=16Uiu2HAmAQKo8ycYCJ22YW3QY1UeLbMfCgJYPVEYtF9qhxYuBp5f
2023-09-21 14:00:44 2023-09-21T12:00:44.218Z [INFO]  polygon.server.jsonrpc: http server started: addr=<IP_ADDRESS>:8545
2023-09-21 14:00:44 failed to create account from secret: failed to retrieve bls key: math/big: cannot unmarshal "32de51bb0eb9c46123f58ad5c45f4b0b17a7222ba77217650db4f28f422e588a" into a *big.Int

Thanks for your help
Have a good day ;)

i have the same issue with docker file please provide solution

Please, use ./scripts/cluster script in order to run the cluster in the docker. There is some workaround required so we have implemented it in that script.

Please, use ./scripts/cluster script in order to run the network inside the docker.
Also, I see that you use a hex-encoded private key "32de51bb0eb9c46123f58ad5c45f4b0b17a7222ba77217650db4f28f422e588a". The node expects just a plain text big number private key, not hex-encoded.

Hi @begmaroman.
I can't use your 2 options that you gave to fix the issue because this value is auto generated and auto filled by the init container in the docker-compose here : https://github.com/0xPolygon/polygon-edge/blob/4d4d699b4aed360094e96897f58d87c5cf5d9d79/docker/local/docker-compose.yml#L28
If we can only use the script ./scripts/cluster I think it would be great to update the README.md in the docker folder
Have a good day and thanks for your work

@FournyP I see. Then, you can try to run make run-docker from the root of the repo.
We will update docs.

Then, you can try to run make run-docker from the root of the repo.

@begmaroman it wouldn't work, because @FournyP wants to run the IBFT consensus protocol.
@FournyP I'm going to assign myself to this issue and investigate further.

2023-09-21 14:00:44 failed to create account from secret: failed to retrieve bls key: math/big: cannot unmarshal "32de51bb0eb9c46123f58ad5c45f4b0b17a7222ba77217650db4f28f422e588a" into a *big.Int

Changes introduced in #1973 PR have fixed the error above


Forecasts: Prophet Vs ETS forecast: Hyndman

Forecasts from Prophet versus ETS forecast from Hyndman's forecast package at 50% delta.
Has anyone done a comparison of the forecast accuracy between the 2 packages?

I suggest you to use my R package called mafs to fit 18 models from the forecast package and compare its results with prophet.

Speaking generally, they are targeting slightly different use cases. Prophet will work well for daily data while ets/auto.arima/etc are designed for weekly/monthly/yearly data. Build the right features and the the auto.arima/nnetar models can be applied to any frequency.
The original prophet paper here does a simple comparison that you're wanting, but it applies to 1) a limited type of dataset so won't necessarily generalize to other datasets or timeseries frequencies (see the machine learning no free lunch theorem) and 2) doesn't use a full set of regression variables for the auto.arima model, so it isn't necessarily a fair comparison in my opinion.
Bottom line IMO: if you don't know what you're doing and have daily data, prophet is a great choice. If you want to tweak the models and are willing to build useful features and use an ensemble, use all of the tools.

@dashaub is definitely right, it would depend a lot on the problem. Prophet will do well on problems with a piecewise trend and multiple seasonality. An arima model can fit a broader range of time series, but likely would require more expert tuning.


Integrate courses with frontend

Integrated courses and sections with the frontend. Users can now create tickets using the courses and sections existing in the DB. Frontend will only show sections relevant to the selected course, backend will ensure the section matches with the course. Tutors can also edit these fields in the view tickets page.

small fix to make

small fix to make, 1:2 is the Id of the course:section, should display its text instead

oops nice catch, forgot about this, will fix.


[13.0.x] Authorization fixes

https://issues.redhat.com/browse/ISPN-13671
https://issues.redhat.com/browse/ISPN-13678
https://issues.redhat.com/browse/ISPN-13679
https://issues.redhat.com/browse/ISPN-13680
https://issues.redhat.com/browse/ISPN-13681

merged! thanks @ryanemerson !


In Android studio 2.3.3 there are no attributes pane

It's mentioned at #7 as "attributes" but in studio is called "properties" pane

Yes, nice trap for the beginners. Very first things totally wrong. No one seems to test this level documentation.


Create an https interface

Create an https interface with token auth.  See this page

Done
Although insecure not yet supported (see #5 )


Basic Net/Socket Node Example

Recipe Name
EchoServerNetSocketNode

Each recipe name must be unique. Use PascalCase.
Recipe Description
Create a new server, listen to connections, and echo back the inputs.

There's a HalogenHooks example that could provide a foundation for producing this recipe: https://github.com/JordanMartinez/purescript-cookbook/blob/master/recipes/DriverWebSocketsHalogenHooks/src/Main.purs

I was thinking about a simple server only, as there are a few gotchas that I ran into last night on stream. I could add info in the README on how to test it with nc or something.

@vladciobanu  i have a hacked-up version of websocket-simple and a main that demos it here: https://github.com/afcondon/sturdy-garbanzo...does something very similar to what you're suggesting i think
would be a good basis for this recipe...i hesitate to promote the changes i made to websocket-simple more broadly, ie to Pursuit, registry etc because i really don't know if i did it right.


add min-gap for acqmon-processing

What is the problem / what does the code in this PR do
The acqmon processing used the find_peak_groups and used a max_gap_threshold for that. However the function assumes it's a minimum gap threshold leading to finding improperly defined peak-durations. Therefore, we add an extra option to the plugin. This value should be at least 1 ns otherwise the extensions don’t work.
@AlexElykov sorry for the PEP8-stuff pycharm sometimes is a little overenthusiastic.

Thanks! I was about to start an issue :).


Update dependencies (Jest 29), fix errors

As stated by @shairez  in #68 , there were some problems with newer versions of dependencies.
These problems should be fixed with this Pull Request.

thanks for the fix @mopinsk !
I see you didn't base it on my changes, so I'll merge it (inspite of the conflicts) and will try and merge my changes of pnpm to be able to release a new version
Thanks again!
@all-contributors please add @mopinsk for Maintenance


Added a pop up window

Title and Issue number
Title :Open rate us in pop up instead of redirecting to new page.
Issue No. #133
Code Stack :
This pop-up window will appear only when the rate-us is clicked and will disappear on clicking the close button.

Close #133
Video/Screenshots (mandatory)

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have gone through the  contributing.md file before contributing

Additional context (Mandatory )
Are you contributing under any Open-source programme?
Yes under JWOC 2024

@apu52 Not able to figure out the issue with the code so u may close this issue or assign it to someone else. Thank you and sorry for the trouble.

@apu52 Not able to figure out the issue with the code so u may close this issue or assign it to someone else. Thank you and sorry for the trouble.

Ok . no matter . Hope to see you with more contributions


Iterator.remove for entry set of ArrayMap throws ArrayIndexOutOfBounds instead of IllegalStateException

  @Test(expected = IllegalStateException.class)
  public void testArrayMapEmptyEntrySetThrowsExceptionOnIteratorRemove() {
    ObjectIterator<Entry<Integer, Integer>> iterator = new Int2IntArrayMap().entrySet().iterator();

    assertFalse(iterator.hasNext());
    iterator.remove();
  }

According to the documentation this should throw IllegalStateException (but at least it throws an exception :smile:).

Yes, as I said the implementation of array map was quick and dirty. Fixed.


Update windows.md and multipass.md.

fix the brew command for Mac and add reboot instruction for PC. @gparmer

Thanks!I assume you've tested, this so I'm happy to pull.


Improve keyboard interaction in the viewer

Two related issues, stemming from this Zulip conversation:

Buttons with keyboard focus are indistinguishable from others. Most UI themes put some kind of highlight around a button when it has the keyboard focus, so that the user can keep track of where they are, and know that pressing space bar will push that button in particular. The theme/L&F napari is using does not do that, which makes it more difficult to rely on keyboard navigation.

More generally: it seems like clicking a button with the mouse does not move the keyboard focus to that button, unlike other UI systems I have used. You can verify this by opening an image, clicking a button like "toggle ndisplay" or "change order of the visible axes", then pressing space bar with intent to press it again, noting that the space bar does not press it. But if you press tab a few times to cycle the focus, then space bar, you can push them this way.

Ach, if you go straight to github.com/napari/napari/issues/new, it skips you past all the templates, which is how I managed to file this without using the Bug template. Sorry, will fix.


#445 navbar update

@AshutoshDash1999  please review this pr under gssoc'23

Closes #445

in light mode

in dark mode

the switch button is a little below

@AshutoshDash1999 I have updated the pr. Please review it under gssoc'23


Drop percentages off by x100

According to the drop tables from Warframe PC Drops the drop percentages should be moved over by 2 decimal places.
Please advise.

Which item are you looking at? So I can see what the correct drop rates are.

I was taking a look at Ivara Systems Blueprint in that particular screen shot

Am I misinterpreting what the drop chance percentages are (i.e. is this intentional?) or should they be reflecting what I'm highlighting

Well I display it as I receive it from the API, I remember the was a reason for it but I can't remember where I saw the explanation for it. @TobiTenno I wanna say I say you pussy it on discord but I can't find it.

If you pull it straight from the API, its represented fractionally, whereas the drop site displays percentage. We might wanna change the app to do the calc to get it as a percent.

I'm happy to go write the fix since I was unclear

There are some things that look like totally different numbers because there's sometimes a % to drop something and a % inside that to drop the specific item, and the API returns the resultant chance

So basically I want what I want to do is drop.chance * 100 ?

Okay seems I got it

yay! i just got my local setup updated, so i'm a slow.

Fix should be out in a few hours


Few more changes on plugin mode devstack

@njagadish @DhuldevValekar @dpaks

Opened a new PR including these changes on to the new base


run performance action when code changes in performance dir

Description
run performance regression workflow when related code changes
Checklist

[ ] I have signed the CLA
[ ] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[ ] I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.

Confirmed that the performance regression workflow (https://github.com/dbt-labs/dbt/runs/3690933662) run when pushing a commit that changes code in performance/ (https://github.com/dbt-labs/dbt/pull/3946/commits/ed7dbcec21bb66fb430f30ff5d3b599dee3c2cfe) 😎

@nathaniel-may I'll leave to you to see this through 👍

Oh wow this is easy. So the performance regression tests failed this time because they fail all the time right now. I'm thinking we shouldn't merge this till the tests are tuned better so we don't have to be in "rerun hell" to merge changes.

Also your auto-formatter strikes again 🙃

Also your auto-formatter strikes again 🙃

oh! ignore that file, I had to add some dummy changes to trigger the action 👍

closing, but keep branch as an example


chore: remove ex docs

These were removed in the main repo but they're still here (stale)

Closing in favor of https://github.com/winglang/docsite/pull/963


Animations with rendered images

With #17 done, this should now be possible

This may actually work now already by setting the view to Raytrace - but let's try to use the cloud render functionality instead...

This will cover illuminance rendering as well.

Nice, now we'll need to replicate most of the Dynanimate ... (As Image) nodes for Cloud Rendering...


Change highlighting

Usually highlighted variables retain their color and slightly change the background to "highlight" them.
This plugin however changes the color and makes the letters bold.
This commit changes the latter behavior to the former.

Sorry, i think this is just a personal preference that can be used perfectly in your local overrides section

@TomSchammo have you checked the Overrides section in README?

Nope, completely missed that. My bad. Thanks!


Update widget.blade.php

Display the heading from the config and not the translation, it let anybody using the translation but i got conflict with a translations file "pages.php"

Can you show me what your config.translations property is please?

It might be worth figuring out your conflict issue rather than adding this, let me know when you have more information on the conflict and I'll try and help you through it. The translation files should be what allows you to override strings like this.


stacked lines

Version 2.1.0;
I have 2 datasets showing 3 lines with almost identical values so stacking is a great way to have a visibility on those 3 lines.
I have tried to get stacked lines to work by setting as per the docs charts.defaults.line.stacked to true; tried setting it in the options when launching the chart; looking at the code, it seems to be an option of the Y-axis (from what I understand) but have not successfully got lines to stack
I saw it working once in 2.0.2 but for the life of me can't reproduce it again.
Any idea of pointer gratefully received
Thanks

A bit more details: each data point in all three lines have the same values it seems that this is what is causing the non stacking I will ensure this is the casse and report back later (in a couple of days)

@didiergm could you post a fiddle?

I have encountered the same issue where I cannot get my lines to stack. I am using chart 2.1.3. I use react with react-chartjs but I feel this must be an underlying issue. I pasted the code for a simple Line Chart in React below:
import React, { Component, PropTypes } from 'react'
import { Line } from 'react-chartjs'
class LineChart extends Component {
render() {
let chart = {
"labels": [
"04-26",
"04-27",
"04-28",
"04-29",
"04-30",
"05-01",
],
"datasets": [
{
"data": [
87249,
55307,
58409,
24378,
8502,
9063,
],
"label": "Midwest Vet Supply"
}, {
"data": [
27249,
35307,
48409,
94378,
1502,
66063,
],
"label": "Henry Schein Animal Health"
}, {
"data": [
24378,
8502,
9063,
87249,
55307,
58409,
],
"label": "Midwest Vet Supply"
}
]
}
const options = {
  responsive: true,
  stacked: true,
}

return (
  <Line data={chart} options={options} />
)

}
}
export default LineChart

@mkates stacking is only supported in v2. The options you pass in will not stack the graph. Please see https://github.com/chartjs/Chart.js/blob/master/samples/line-stacked-area.html

I can confirm that stacked line charts still work using https://github.com/chartjs/Chart.js/blob/master/samples/line-stacked-area.html


If assignment status is complete or failed return task

Loom video: https://www.useloom.com/share/d77ebeebf1a84f48925aecf9aa80c322


Please rename Was-Bound to Test-Bound

Is this:
Just place "x" to indicate selection (e.g. "[x]")

[ ] feature
[x] bug:

Details
I believe Was-Bound may be the only culprit throwing noun-verb warnings when our devs import .psm1. Test-Bound seems more appropriate, too.

Implemented in https://github.com/sqlcollaborative/dbatools/pull/1702


The new version of the mod is not loading and keeps crashing .

The mod keeps crashing with the new version with fabric,

hey! thanks for reaching out. could you provide a log file or a crash report?

closing because stale


Custom Audio Support

Adds custom audio support.

Adds support for the classic custom audio using custom .aseq files and meta files (sequenced audio).
Adds support for mp3, wav, flac, etc audio sequences (streamed audio).
Exports all audio assets, sequences, sound fonts, and samples as XML for easier modifications.
Names samples that were copied from OOT.

Needs:

[ ] General cleanups
[x] Fix GC XMLs
[ ] Audio editor is still a little gitchy
[x] https://github.com/louist103/ZAPDTR/pull/20 Merged
[x] https://github.com/louist103/OTRExporter/pull/31 and https://github.com/louist103/OTRExporter/pull/29 Merged

Build Artifacts

2ship-linux.zip
2ship-windows.zip

Is this in SoH too?

Is this in SoH too?

Custom audio is in SoH. Streamed audio is not. I plan on back porting this when it is merged.

Based on your comments, although we now made the seqId a u16, it seems like we can't use the full range of the data type for new songs. Should be capture somewhere or have a check to limit the amount of sequences that can be added?


On-the-fly encryption + virtual file system

Is it possible to use TarCompressCrypt as a virtual file system to have on-the-fly encryption/decryption of the files in the container?
Keep up the good work.

Sorry for the (very) late answer. No, tcc should be seen as a simple compression / decompression tool.
Linux support is not ready yet (hope to have it soon).
What however could be done later, is run tcc from inside your container (compress file from inside), then download your archive, then extract where you want. But mounting a virtual filesystem from an archive is not in my plans 😄


Roll Flutter from 8cd540f449a7 to e907b03ca9b9 (2 revisions)

https://github.com/flutter/flutter/compare/8cd540f449a7...e907b03ca9b9
2022-02-11<EMAIL_ADDRESS>Add benchmark to property (flutter/flutter#98159)
2022-02-11<EMAIL_ADDRESS>Revert "Update Xcode version to 13a233 (#98144)" (flutter/flutter#98263)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


how to get amount of data which was uploaded and downloaded??

Okay, if I use NetworkExtension with IKEv2 session , how can I use your class? How Can I connect it and get the needed data?

On 4 Nov 2018, at 23:23, David<EMAIL_ADDRESS>wrote:
Counting bytes in here[1] and here[2]
[1]
https://github.com/lxdcn/NEPacketTunnelVPNDemo/blob/master/NEPacketTunnelVPNDemoTunnel/PacketTunnelProvider.swift#L20
[2]
https://github.com/lxdcn/NEPacketTunnelVPNDemo/blob/master/NEPacketTunnelVPNDemoTunnel/PacketTunnelProvider.swift#L40
On Sat, 3 Nov 2018 at 01:52, Igor Bizi<EMAIL_ADDRESS>wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lxdcn/NEPacketTunnelVPNDemo/issues/25, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAkQ8ZSB-W6N641JBYdBBSSfdMe9Snyzks5urEANgaJpZM4YLmZv
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/lxdcn/NEPacketTunnelVPNDemo/issues/25#issuecomment-435702544, or mute the thread https://github.com/notifications/unsubscribe-auth/AF2Tiph9FTpUPxZ0sp5eWxqpO3_U4-sxks5ur0zAgaJpZM4YLmZv.


Make api.py python 3.9 compatible

Colab uses python 3.9

to be honest, the API isn't even called anywhere and i should probably just remove it since it's just me screwing around especially if it's causing issues, but this is all good :) thanks!


Triggering completion after System.Char. results in UnicodeEncodeError

Error detected while processing function fsharpbinding#python#Complete:
line   43:
Traceback (most recent call last):
Error detected while processing function fsharpbinding#python#Complete:
line   43:
File "", line 11, in
Error detected while processing function fsharpbinding#python#Complete:
line   43:
File "/Users/karlnilsson/code/kjnilsson/vim-fsharp/ftplugin/fsharpvim.py", line 213, in helptext
Error detected while processing function fsharpbinding#python#Complete:
line   43:
output = output + str(ol['Signature']) + "\n"
Error detected while processing function fsharpbinding#python#Complete:
line   43:
UnicodeEncodeError: 'ascii' codec can't encode character u'\uffff' in position 23: ordinal not in range(128)

fixed


Create docker image

Hey jonas,
Would you be interested in a pullrequest that enhanced your build with the possibility to build a docker image to deploy your application and showcase this deployment strategy?
Kind regards

Just thought at first about the approach from https://spring.io/guides/gs/spring-boot-docker/
for creation of the docker image.
But I can also have a look at Heroku+TravisCi.
Its also on my list of technologies to look up.

I have setup this. And this was actually pretty easy.

The backend can be packaged with the dockerfile-maven-plugin (created by Spotify!)
The frontend, when built to production is just an HTML and a JS file.  You can simply copy this to any webserver, or include it into the backend and let it be served by Springs bundled Jetty.


Provide an option to link standard classes to MDN

For example, if my function returns Promise<string>, I would like TypeDoc to render it as Promise<string>. MDN is almost the official documentation of JavaScript (easier to read than the standard), but user may also want to link to other sources like Node.js. I imagine the API be like
typedoc --link MDN --link nodejs-v10.x ./src/

Thanks for sharing the idea. This likely won't be added to the core project anytime soon. I believe this would be a good use case for a plugin.


feat(rewrite-with-pipe): add isoWeek action

Part of #502
Note that some years, like 2012, can have 54 weeks.

Note that some years, like 2012, can have 54 weeks.

Are you sure about that? According to Wikipedia, 53 is the maximum number for leap years.

Note that some years, like 2012, can have 54 weeks.

Are you sure about that? According to Wikipedia, 53 is the maximum number for leap years.

Ah of course ISO thought about that! I was simply going by the fact that 2012 had 54 different weeks in it, but in that case 1 January is W52 & 31 December is W01.


Fix missing dependeny on Production APK

Move metro-react-native-babel-preset from devDependencies to
dependencies (Fixes: #173)

Closing the PR, leaving babel as devDependencies.