[RB26] Linear Axes not referenced

Hello,
I am having trouble with the linear axes of the tool guide.
When pressing the Reference Button on either the Y-Axis or the X-Axis, the logging output is:
For the Y-Axis:
rosys_1         | 2024-05-15 15:17:35.933 [INFO] rosys/rosys.py:69: automation started
rosys_1         | 2024-05-15 15:17:35.953 [INFO] field_friend/hardware/y_axis_stepper_hardware.py:100: moving to end_r stop

For the Z-Axis:
rosys_1         | 2024-05-15 11:18:41.782 [INFO] rosys/rosys.py:69: automation started
rosys_1         | 2024-05-15 11:18:41.800 [INFO] field_friend/hardware/z_axis_stepper_hardware.py:92: zaxis referencing...
rosys_1         | 2024-05-15 11:18:41.801 [INFO] field_friend/hardware/z_axis_stepper_hardware.py:113: moving out of end t stop

After this, however, pressing any of the other buttons, e.g. Move to Middle for the Y-Axis nothing moves and the logger has the following output:
rosys_1         | 2024-05-15 11:11:11.230 [INFO] rosys/rosys.py:69: automation started
rosys_1         | 2024-05-15 11:11:11.234 [INFO] field_friend/hardware/y_axis_stepper_hardware.py:68: could not move yaxis to 0 because of yaxis is not referenced, reference first
rosys_1         | 2024-05-15 11:11:11.239 [ERROR] rosys/automation/automation.py:68: automation failed
rosys_1         | Traceback (most recent call last):
rosys_1         |   File "/app/field_friend/hardware/y_axis_stepper_hardware.py", line 66, in move_to
rosys_1         |     await super().move_to(position, speed)
rosys_1         |   File "/app/field_friend/hardware/y_axis.py", line 41, in move_to
rosys_1         |     raise RuntimeError('yaxis is not referenced, reference first')
rosys_1         | RuntimeError: yaxis is not referenced, reference first
rosys_1         |
rosys_1         | During handling of the above exception, another exception occurred:
rosys_1         |
rosys_1         | Traceback (most recent call last):
rosys_1         |   File "/app/rosys/automation/automation.py", line 56, in __await__
rosys_1         |     signal = send(message)
rosys_1         |              ^^^^^^^^^^^^^
rosys_1         |   File "/app/field_friend/hardware/y_axis_stepper_hardware.py", line 69, in move_to
rosys_1         |     raise Exception(f'could not move yaxis to {position} because of {error}')
rosys_1         | Exception: could not move yaxis to 0 because of yaxis is not referenced, reference first
rosys_1         | 2024-05-15 11:11:11.276 [INFO] rosys/rosys.py:69: automation stopped because an exception occurred in an automation
rosys_1         | 2024-05-15 11:11:11.277 [INFO] rosys/rosys.py:69: automation failed
rosys_1         | 2024-05-15 11:11:11.291 [ERROR] nicegui/app/app.py:118: could not move yaxis to 0 because of yaxis is not referenced, reference first
rosys_1         | Traceback (most recent call last):
rosys_1         |   File "/app/field_friend/hardware/y_axis_stepper_hardware.py", line 66, in move_to
rosys_1         |     await super().move_to(position, speed)
rosys_1         |   File "/app/field_friend/hardware/y_axis.py", line 41, in move_to
rosys_1         |     raise RuntimeError('yaxis is not referenced, reference first')
rosys_1         | RuntimeError: yaxis is not referenced, reference first
rosys_1         |
rosys_1         | During handling of the above exception, another exception occurred:
rosys_1         |
rosys_1         | Traceback (most recent call last):
rosys_1         |   File "/app/nicegui/background_tasks.py", line 52, in _handle_task_result
rosys_1         |     task.result()
rosys_1         |   File "/app/rosys/automation/automation.py", line 56, in __await__
rosys_1         |     signal = send(message)
rosys_1         |              ^^^^^^^^^^^^^
rosys_1         |   File "/app/field_friend/hardware/y_axis_stepper_hardware.py", line 69, in move_to
rosys_1         |     raise Exception(f'could not move yaxis to {position} because of {error}')
rosys_1         | Exception: could not move yaxis to 0 because of yaxis is not referenced, reference first

It is the same with the Z-Axis, e.g. Move to Min:
rosys_1         | 2024-05-15 11:17:35.351 [INFO] rosys/rosys.py:69: automation started
rosys_1         | 2024-05-15 11:17:35.355 [ERROR] field_friend/hardware/z_axis_stepper_hardware.py:70: could not move zaxis to -0.197 because of zaxis is not referenced, reference first
rosys_1         | 2024-05-15 11:17:35.361 [ERROR] rosys/automation/automation.py:68: automation failed
rosys_1         | Traceback (most recent call last):
rosys_1         |   File "/app/field_friend/hardware/z_axis_stepper_hardware.py", line 68, in move_to
rosys_1         |     await super().move_to(position, speed)
rosys_1         |   File "/app/field_friend/hardware/z_axis.py", line 46, in move_to
rosys_1         |     raise RuntimeError('zaxis is not referenced, reference first')
rosys_1         | RuntimeError: zaxis is not referenced, reference first
rosys_1         |
rosys_1         | The above exception was the direct cause of the following exception:
rosys_1         |
rosys_1         | Traceback (most recent call last):
rosys_1         |   File "/app/rosys/automation/automation.py", line 56, in __await__
rosys_1         |     signal = send(message)
rosys_1         |              ^^^^^^^^^^^^^
rosys_1         |   File "/app/field_friend/hardware/z_axis_stepper_hardware.py", line 71, in move_to
rosys_1         |     raise Exception(f'could not move zaxis to {position} because of {error}') from error
rosys_1         | Exception: could not move zaxis to -0.197 because of zaxis is not referenced, reference first
rosys_1         | 2024-05-15 11:17:35.374 [INFO] rosys/rosys.py:69: automation stopped because an exception occurred in an automation
rosys_1         | 2024-05-15 11:17:35.377 [INFO] rosys/rosys.py:69: automation failed
rosys_1         | 2024-05-15 11:17:35.417 [ERROR] nicegui/app/app.py:118: could not move zaxis to -0.197 because of zaxis is not referenced, reference first
rosys_1         | Traceback (most recent call last):
rosys_1         |   File "/app/field_friend/hardware/z_axis_stepper_hardware.py", line 68, in move_to
rosys_1         |     await super().move_to(position, speed)
rosys_1         |   File "/app/field_friend/hardware/z_axis.py", line 46, in move_to
rosys_1         |     raise RuntimeError('zaxis is not referenced, reference first')
rosys_1         | RuntimeError: zaxis is not referenced, reference first
rosys_1         |
rosys_1         | The above exception was the direct cause of the following exception:
rosys_1         |
rosys_1         | Traceback (most recent call last):
rosys_1         |   File "/app/nicegui/background_tasks.py", line 52, in _handle_task_result
rosys_1         |     task.result()
rosys_1         |   File "/app/rosys/automation/automation.py", line 56, in __await__
rosys_1         |     signal = send(message)
rosys_1         |              ^^^^^^^^^^^^^
rosys_1         |   File "/app/field_friend/hardware/z_axis_stepper_hardware.py", line 71, in move_to
rosys_1         |     raise Exception(f'could not move zaxis to {position} because of {error}') from error
rosys_1         | Exception: could not move zaxis to -0.197 because of zaxis is not referenced, reference first

Is this a bug, or am I missing something to set these functions up correctly?

Hello @BenGeissler,
It seems the axes are not responding to the lizard commands. Could you provide us with insights into the lizard communication logs when starting the reference? You can do this by activating the serial logging on the development page. Please deactivate the logging a few moments after pressing the reference button, as it logs at a high frequency. The logs will then be saved to the file ~/.rosys/communication.log.

Looking through the communication.log I found the relevant output for e.g. pressing Reference for Y-Axis seems to be:
2024-05-16 10:34:50.048 [DEBUG] rosys/hardware/communication/serial_communication.py:75: read: core 3202531 0.000 0.000 0 1 true -15909061 0 0 1 true 0 1 1 1 1@01
2024-05-16 10:34:50.050 [DEBUG] rosys/hardware/communication/serial_communication.py:75: read: core 3202562 0.000 0.000 0 1 true -15909061 0 0 1 true 0 1 1 1 1@07
2024-05-16 10:34:50.059 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: y_axis.speed(-15000);@4f
2024-05-16 10:34:50.060 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: bluetooth.send("POST /notification automation started")@21
2024-05-16 10:34:50.079 [DEBUG] rosys/hardware/communication/serial_communication.py:75: read: core 3202593 0.000 0.000 0 1 true -15909061 0 0 1 true 0 1 1 1 1@09
2024-05-16 10:34:50.108 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: bluetooth.send("PUT /button/main/play/icon play_arrow")@24
2024-05-16 10:34:50.110 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: bluetooth.send("PUT /button/main/play/state enabled")@1f
2024-05-16 10:34:50.111 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: bluetooth.send("PUT /button/main/play/visible false")@1e
2024-05-16 10:34:50.121 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: bluetooth.send("PUT /button/main/pause/icon pause")@02
2024-05-16 10:34:50.125 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: bluetooth.send("PUT /button/main/pause/state enabled")@69
2024-05-16 10:34:50.126 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: bluetooth.send("PUT /button/main/pause/visible true")@03
2024-05-16 10:34:50.127 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: bluetooth.send("PUT /button/main/resume/icon play_arrow")@39
2024-05-16 10:34:50.127 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: bluetooth.send("PUT /button/main/resume/state enabled")@02
2024-05-16 10:34:50.150 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: bluetooth.send("PUT /button/main/resume/visible false")@03
2024-05-16 10:34:50.151 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: bluetooth.send("PUT /button/main/stop/icon stop")@02
2024-05-16 10:34:50.152 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: bluetooth.send("PUT /button/main/stop/state enabled")@03
2024-05-16 10:34:50.153 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: bluetooth.send("PUT /button/main/stop/visible true")@69
2024-05-16 10:34:50.183 [DEBUG] rosys/hardware/communication/serial_communication.py:75: read: core 3202631 0.000 0.000 0 1 false -15909426 0 0 1 true 0 1 1 1 1@6e
2024-05-16 10:34:50.184 [DEBUG] rosys/hardware/communication/serial_communication.py:75: read: core 3202669 0.000 0.000 0 1 false -15909987 0 0 1 true 0 1 1 1 1@65
2024-05-16 10:34:50.190 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: bms.send(0xdd, 0xa5, 0x03, 0x00, 0xff, 0xfd, 0x77)@52
2024-05-16 10:34:50.226 [DEBUG] rosys/hardware/communication/serial_communication.py:75: read: core 3202741 0.000 0.000 0 1 false -15911065 0 0 1 true 0 1 1 1 1@62

Pressing Reference for Z-Axis:
2024-05-16 10:41:54.387 [DEBUG] rosys/hardware/communication/serial_communication.py:75: read: core 3626886 0.000 0.000 0 1 false -22273683 0 0 1 true 0 1 1 1 1@61
2024-05-16 10:41:54.388 [DEBUG] rosys/hardware/communication/serial_communication.py:75: read: core 3626903 0.000 0.000 0 1 false -22273939 0 0 1 true 0 1 1 1 1@63
2024-05-16 10:41:54.408 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: bluetooth.send("POST /notification automation stopped because new automation starts")@3f
2024-05-16 10:41:54.412 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: z_axis.speed(20000);@67
2024-05-16 10:41:54.413 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: bluetooth.send("POST /notification automation started")@21
2024-05-16 10:41:54.443 [DEBUG] rosys/hardware/communication/serial_communication.py:75: read: core 3626928 0.000 0.000 0 1 false -22274303 0 0 1 true 0 1 1 1 1@6e
2024-05-16 10:41:54.445 [DEBUG] rosys/hardware/communication/serial_communication.py:75: read: core 3626947 0.000 0.000 0 1 false -22274596 0 0 1 true 0 1 1 1 1@6d
2024-05-16 10:41:54.447 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: wheels.speed(0.0, 0.0)@44
2024-05-16 10:41:54.448 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: y_axis.stop()@12
2024-05-16 10:41:54.448 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: z_axis.stop()@11
2024-05-16 10:41:54.471 [DEBUG] rosys/hardware/communication/serial_communication.py:75: read: core 3626982 0.000 0.000 0 1 false -22275113 0 0 1 true 0 1 1 1 1@6c
2024-05-16 10:41:54.508 [DEBUG] rosys/hardware/communication/serial_communication.py:85: send: y_axis.stop()@12
2024-05-16 10:41:54.518 [DEBUG] rosys/hardware/communication/serial_communication.py:75: read: core 3627028 0.000 0.000 0 1 true -22275395 0 0 1 true 0 1 1 1 1@03
2024-05-16 10:41:54.528 [DEBUG] rosys/hardware/communication/serial_communication.py:75: read: core 3627044 0.000 0.000 0 1 true -22275395 0 0 1 false -18 1 1 1 1@76
2024-05-16 10:41:54.559 [DEBUG] rosys/hardware/communication/serial_communication.py:75: read: core 3627078 0.000 0.000 0 1 true -22275395 0 0 1 true 202 1 1 1 1@06

There is a mention of y_axis when having started the automation for Y-Axis before. This automation does not seem to stop on its own? Restarting the docker and referencing Z-Axis looks just like the one for Y-Axis.
When referencing Y-Axis after Z-Axis it has the same pattern.

@BenGeissler is this issue still persisting?


Setting up Emacs related packages

Install emacs and other elisp packages from the package manager.

emacs25
lookup-el
migemo-el
elpa-magit

Add setting for WSL integration.
https://www49.atwiki.jp/ntemacs/pages/61.html

We need yaml-mode. However, Debian's yaml-mode from yoshiki/yaml-mode seems old.


Example of app without exposing API endpoint with readOnlyUrls

Hey,
in example app you show the following snippet:
const config = {
  readOnlyChainId: ChainId.Mainnet,
  readOnlyUrls: {
    [ChainId.Mainnet]: 'https://mainnet.infura.io/v3/62687d1a985d4508b2b7a24827551934',
  },
}

ReactDOM.render(
  <DAppProvider config={config}>
    <App />
  </DAppProvider>,
  document.getElementById('root')
)

but if we do it like that, the API key will be exposed for everyone in developer tools.
It should be done with separate backend which stores API key and communicates with infura endpoint on behalf someone using frontend app.
Minimal working example of such backend+frontend application would helpful.

This is just the current status quo in web3. Even projects like uniswap, compound etc. expose the infura key in the frontend.

I have a personal infura key for local/test and a different one for prod which is whitelisted in Infura to only accept connections from my app's domain. I serve my js via a Rails app and read the links from a data attribute on head but you use dotenv or something else for a production build.

the API key will be exposed for everyone in developer tools

True.

This is just the current status quo in web3

Also true.

Minimal working example of such backend+frontend application would helpful.

I consider this out of the scope of useDApp - for DApps as in web apps without a dedicated backend, just the blockchain.
We want to provide a relatively easy entry to blockchain, where all you need is a web app - but that unfortunately has problems with all the "secrets" in the code available to everyone.

which is whitelisted in Infura to only accept connections from my app's domain

This is the way to go, so I will close the issue emphasising this as the solution.
So - for production, your Infura/Alchemy/other provider "secret" is exposed, but you configure it in your provider to only accept connection from your domain.
And, if possible, you could configure it to only accept queries to your contracts on the blockchain, none other.


New version: Mega.MEGASync version <IP_ADDRESS>

- [X] Have you signed the Contributor License Agreement?

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.5 schema?

Microsoft Reviewers: Open in CodeFlow

fixes #118663 ?


Remembering favourite device after disconnect

Hello!
The version of AudioSwitcher is <IP_ADDRESS> (says it is the latest), running it on Windows 10 x64 version 1809.
Like it very much, solves the problem when I need to switch between speakers and USB headphones, that are plugged at the same time. They are used in almost all of the time.
But sometime I switch on my external USB soundcard (Steinberg UR242) and want to use it as the default device. The problem is that even if I add it to the list of favourites and see it in context menu in the tray, after I disconnect the card and connect it back - this device is not in the context menu anymore. Also when I open the AudioSwitcher window my external card is no longer marked with a star - need to add it again, so it is listed in the context menu.
Fortunately, the system makes it as default. But there is less confort switching between devices the problem I described.

+1 here, my FiiO device isn't always recognized immediately at startup. Would be great if AS could remember it as a preference when it appears.

+1 on this. I'd also love it if AudioSwitcher were to remember the favorite even after disconnecting and reconnecting. Apart from that love the program btw and just donated :).

I don't know if this will be of help to anyone, but I found a workaround that so far works for me:
The settings are stored as a json string in the file C:\Users<YourUserName>\AppData\Local\AudioSwitcher\AudioSwitcher.json
In it, each audio device is represented by a GUID. For instance, I have three favorite devices (one at home, one at work, and one headset which I carry back and forth). This is represented like this:
"FavouriteDevices" : "[4546cf8b-e30e-41b7-aa5c-44467a6e092b],[fd7ea7f9-813f-4644-8444-a63d2926b5f1],[b8fb22e3-656e-4ab7-ad28-f1011ef5b8f5]",
If you search the register for the GUID you can find the "friendly name" of the connected device and figure out which GUID is what. Once you have all the devices you need in the FavouriteDevices list, just set the json-file as read-only and the configuration will stay this way permanently.
Of course, any changes you make to the settings in the program will not be saved as long as the config file is read-only, but if you're like me you just want to set things up once and then leave them.


Edits wrong file after copy!

Issue Type: Bug
This is the second time this happened. The first time, I thought it was my mistake, but now I see clearly it's not.
I clicked a file in the Explorer pane on the left, and copied and pasted it. This created a copy of the file. It shows as selected in the Explorer pane on the left. But the file selected in the right is still the original file! So when I edit the file, I'm editing the original, not the copy, even though the Explorer pane on the left shows the copy as selected! The selected/only tab open confirms that the original is selected.


Deployment error logs

I am facing some deployment errors but how do I access more logs to find out the exact cause of this error? I am using VS code to publish a python azure function app

You can check the Deployment log in the tree, but it's probably the exact same as the logs you show in your screenshot

If those logs don't have an error, your best bet might be to contact Azure support or try with a brand new function app

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Return 404 Not Found

Model Org Unit
Method Delete returning 404 Not found however data is in the table. Not deleted properly
@Ahsankkhan
@mqpasta

implemented this in new structure @mqpasta closing this issue


Pass options to compiler

Fixes exclude_keys not working.

Hmm, thanks for the patch. It's a while since I looked at that code.
I think it was initially for #29 #30 https://github.com/rktjmp/lush.nvim/commit/aaa9a4c77330ea2a69a88d8e7950edeb01e9f359 which includes tests for the compiler but I guess I neglected the actual lush.compile part.
Do you mind adding a basic test in https://github.com/rktjmp/lush.nvim/blob/58c203fe01d4c9622a51f57270c0c58b0516adff/spec/user_bugs_spec.moon? Should be able to use something similar to what was included in the original commit.

@rktjmp added a single test just to see if the exclude_keys is being passed. I just duplicated one of the tests.

:tada:


Added second post by Keshav

Description of changeset:
Test Plan:
Auto-reviewers: @NiharikaRay @matthewwardrop @earthmancash @danfrankj

Approved to merge second post into first


Hide site search when no js

Autosuggest doesn't work without js, so we should hide it when js turned off.
We should consider a better no js alternative. GDS replace the search with a link to a sitemap page, so you could use the browser search function to find something on that page.
Labelled as 'document component' in Trello

This ticket has been split into two separate tickets. Closing this one.


Search events with Form & Loader

Using Form with default get method to trigger loader. Fetch filtered events and display it. I try to use the installed react-icons library to get search icon, but it throws error. So i use svg for temporary search icon.

@agus-wesly Use Iconify React to handle the icon
It's already setup like in the social media Icons in the footer

No need for useState, rely on the browser URL state when searching and filtering
When the search form submit with GET method, there will be URL search params that can be handled in the loader
Use it to manage the search keyword state

I already remove useState and do exactly this. Am i missing something ?

Also, use a more common query q to handle the search keyword
Because after the search, there will be a time to combine it with the pagination queries


Disable StandaloneKCFTests

The only test case being run (invoke a blocking action
and get a result) fails quite frequently when run in
a travis-ci environment.  It appears we usually hit the
60 second timeout and return a 202 with the activation id
instead of the expected result.  This is "ok", but the test
is not prepared to handle it.
An alternative would be to modify the test to also accept a 202
response and then poll until the result was available, but that
would take significantly more work.

Codecov Report

Merging #5140 (424371f) into master (0cdfdb3) will increase coverage by 22.69%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #5140       +/-   ##
===========================================
+ Coverage   43.78%   66.48%   +22.69%
===========================================
  Files         231      224        -7
  Lines       12807    12543      -264
  Branches      528      524        -4
===========================================
+ Hits         5608     8339     +2731
+ Misses       7199     4204     -2995

Impacted Files
Coverage Δ

...che/openwhisk/core/invoker/LogStoreCollector.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...hisk/core/scheduler/message/ContainerMessage.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

.../openwhisk/core/scheduler/FPCSchedulerServer.scala
0.00% <0.00%> (-95.84%)
:arrow_down:

...sk/core/scheduler/container/ContainerManager.scala
0.00% <0.00%> (-88.72%)
:arrow_down:

...a/org/apache/openwhisk/http/BasicHttpService.scala
3.17% <0.00%> (-87.31%)
:arrow_down:

...nwhisk/core/scheduler/queue/ContainerCounter.scala
0.00% <0.00%> (-84.22%)
:arrow_down:

.../core/scheduler/container/CreationJobManager.scala
0.00% <0.00%> (-83.34%)
:arrow_down:

...scheduler/queue/ElasticSearchDurationChecker.scala
0.00% <0.00%> (-78.85%)
:arrow_down:

...la/org/apache/openwhisk/http/BasicRasService.scala
33.33% <0.00%> (-66.67%)
:arrow_down:

.../openwhisk/core/scheduler/queue/QueueManager.scala
8.00% <0.00%> (-65.46%)
:arrow_down:

... and 159 more

Continue to review full report at Codecov.

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

@dgrove-oss I'll merge this and can take a look at the standalone test to adjust it as you describe.


Setup a cache of fragments

Let's consider the case when...
<template>
  <x-fragment src="anURL.html"></x-fragment>
  ... And some other things ...
</template>

... this template is added using something like...
[...new Array(100)].forEach((item, i) =>
  document.appendChild(
    document.importNode(
      document.querySelector('template').content, true)
    )
  )
);

So, looks weird when Network shows 100 request of the same file.

If you do the same but instead of using <x-fragment> you put an <script> then, surprisingly for me, the browser fetches once the script and executes it 100 times.

As I can guess, all the scripts that have the attribute src are being downloaded from src via fetch(url). Maybe it will be a good choice to cache these downloads. The same applies for <link href="url">.

From now, using <link rel="import">


[Question] PLIC priorities and interrupt selection

Hello everyone!
I have question regarding plic interrupt priorities and interrupt selection.
According to plic documentation. it selects interrupts based on priorities if there are multiple interrupts, the interrupt with highest priority will be serviced.
But, here comes the confusion. how it is possible to have multiple interrupts at the same instant of time in single hardware thread environment.
we know that our high level language is sequential in nature. lets take an example. i have two API's for gpio and spi.
int main()
{
int a, b;
a = gpio_read();
b = spi_read();
}
in above example a will have the value of any gpio pin and b will have value read from spi.
whenever i call the gpio_read it will configure gpio modue, plic and core for interrupts and after handing it will disable them. same goes for spi, because the code is sequential in nature i wont get any interrupt from spi until gpio is serviced.
so, my question is in which condition we can have multiple interrupts at same instant of time in single thread environment??

@sajjadahmed677
Multiple interrupts won't be triggered to the single thread (only one context) at the same time because the Interrupt Claim register is context-based.  See https://github.com/riscv/riscv-plic-spec/blob/master/riscv-plic.adoc#interrupt-claim-process.
The second interrupt would be triggered to the target context once the Interrupt Claim Process is finished for the first interrupt.


[incubator/zookeeper] update description and icon

PR in the context of normalizing/improving metadata in the official charts. Refs #124 and helm/monocular#93
NOTE: I have not bumped the chartVersion attribute in order to avoid race conditions/conflicts with existing PRs. Maintainers should be able to change this value before the merge. Llet me know if you prefer that I update it instead.

cc @lachie83 @kow3ns

/lgtm

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


It cann't install in RaspberryPi.

Please answer the following before submitting your issue:
Note: Please include any substantial examples (debug session output,
stacktraces, etc) as linked gists.
https://github.com/derekparker/delve/tree/35622fd6676bf17988b5cb6642a53b65dd1d5998

What version of Delve are you using (dlv version)?
origin/master

What version of Go are you using? (go version)?
go version go1.7.4 linux/arm

What operating system and processor architecture are you using?
linux/arm

What did you do?
go get github.com/derekparker/delve/cmd/dlv

What did you expect to see?
Install success.

What did you see instead?
go get github.com/derekparker/delve/cmd/dlv

github.com/derekparker/delve/pkg/proc
pkg/proc/disasm.go:11: undefined: ArchInst

Duplicate of #118


docs(notebooks): updated scaling-estiamtor

Summary
Updated scaling-estiamtor notebook.
Details and comments

Removed codes implementing Pauli Twirling (PT), Zero Noise Extrapolation (ZNE), and Dynamical Decoupling (DD).
Moved descriptions of circuit manipulations related to each error mitigation to the appendix. They do not contain any circuit transformation code anymore, only illustrative figures to avoid confusion among users.
Replaced the JSON file holding data with a newer one.
Update requirements.txt to remove prototype-zne.
Fixed section indentations.

CC: @kevinsung

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
290

Relevant Lines:
290

💛  - Coveralls


Update hyperlinks in 'Amadeus Case Study' page to utilize HTTPS instead of HTTP

http://kubernetes.io/ to https://kubernetes.io/
/assign

Page related to issue: https://kubernetes.io/case-studies/amadeus/
/language en

/retitle Update hyperlinks in 'Amadeus Case Study' page to utilize HTTPS instead of HTTP

Which is the page we should fix?

/triage accepted


Parse the queryParams in php via Laravel from the array to object.

Is there a way to parse the queryParams in php via Laravel from the array to object.
I have tried...
$querystring = json_decode(json_encode($request->all()), false);

But I get an object which contains the arrays inside.
stdClass Object
(
    [queryParams] => {"sort":[],"filters":[],"global_search":"","per_page":10,"page":1}
    [page] => 1
)

Issue has been sorted.

Hi @grafxflow ,
Good to see that you solved this issue.
Anyway, I will give my thoughts about this issue here so it will be helpful for others.
Long back I also faced this issue when I used this component with Laravel.
In the below code, you can see how to decode the json string to object or array style and how to access them.
<?php

// $queryParams = $request->queryParams;

$queryParams = '{"sort":[],"filters":[],"global_search":"","per_page":10,"page":1}';

// if you want to use object style
$objectMode = json_decode($queryParams);
var_dump($objectMode->sort);

// if you want to use array style
$arrayMode = json_decode($queryParams,true);
var_dump($arrayMode["sort"]);

?>

Hope this helps you, as well as others in future. I will close this issue now.
Cheers,
Ruby.


Korean support added to SA V3

In preview

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

#sign-off


When the iOS device goes to sleep, the connection to the GS gets into a bad state.

I have reports from beta testers that when their iOS device went to sleep, the connection to the GS failed in a weird way.  The GS seems to think it is still connected.
It is probably best if the iOS app actively disconnects from the GS as it is going to sleep or if the user switches out of the app.

I have reworked the handling of the network connection and these conditions should be OK now.


Added trailing slash to Buffer import in index.ts

As recommended by the Buffer maintainer:

To require this module explicitly, use require('buffer/') which tells the node.js module lookup algorithm (also used by browserify) to use the npm module named buffer instead of the node.js core module named buffer!

This solves a bug found bundling NSFWJS with Bun.
Build failed
1 | import { Buffer } from 'buffer';
             ^
error: No matching export in "node:buffer" for import "Buffer"
    at [path]

More information: https://github.com/oven-sh/bun/issues/8683

thanks!


Duration always default

Hello!
Everything good, except duration.
<Odometer format="( ddd).dd" duration={ 20000 } value={ odometerNumber } />
Regardless if I put 20000 or 500, always takes 3000ms for the animation.
Need fix or I miss something?

Pls ignore! It's up to the CSS transition values! Thank you.


Add some docs on using JDBI

The README mentions Jackson and JSR when adding Java8Bundle. It looks like this doesn't actually do anything for JDBI though.

Should mention:

Need to include dropwizard-java8-jdbi module.
Need to use io.dropwizard.java8.jdbi.DBIFactory rather than normal Dropwizard DBIFactory.
Need to annotate JDBI getter methods that return Optional<> with @SingleValueResult(Your.class).

https://github.com/dropwizard/dropwizard-java8/pull/16


stats.chi2.cdf warning in array containing numpy.NaN

I'm getting warnings when running scipy.stats.chi2.cdf on arrays containing both valid values and numpy.NaNs.
I wasn't expecting to get any warning.
In case warnings are expected, I'm not clear on what they're warning me about.
Reproducing code example:
import scipy.stats as stats
import numpy as np

chi2 = np.array([1, np.NaN])
dof = np.array([1, np.NaN])

stats.chi2.cdf(chi2,dof)

Error message:
/home/hershen/basf2/externals/v01-06-01/Linux_x86_64/common/lib/python3.6/site-packages/scipy/stats/_distn_infrastructure.py:872: RuntimeWarning: invalid value encountered in greater
  cond = logical_and(cond, (asarray(arg) > 0))
/home/hershen/basf2/externals/v01-06-01/Linux_x86_64/common/lib/python3.6/site-packages/scipy/stats/_distn_infrastructure.py:879: RuntimeWarning: invalid value encountered in greater
  return (self.a < x) & (x < self.b)
/home/hershen/basf2/externals/v01-06-01/Linux_x86_64/common/lib/python3.6/site-packages/scipy/stats/_distn_infrastructure.py:879: RuntimeWarning: invalid value encountered in less
  return (self.a < x) & (x < self.b)
/home/hershen/basf2/externals/v01-06-01/Linux_x86_64/common/lib/python3.6/site-packages/scipy/stats/_distn_infrastructure.py:1738: RuntimeWarning: invalid value encountered in greater_equal
  cond2 = (x >= self.b) & cond0
Out[1]: array([0.68268949,        nan])

Scipy/Numpy/Python version information:
import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info)
1.1.0 1.14.1 sys.version_info(major=3, minor=6, micro=2, releaselevel='final', serial=0)

I wasn't expecting to get any warning.

Some functions in scipy have the argument nan_policy that specifies how nan should be handled, but many other functions are not designed to ignore nan automatically.    Unless the docstring says otherwise, you should assume that the behavior with nan is undefined;  it might work fine with no warnings, it might generate warnings and still return what you expect, or it might propagate the nan in unexpected ways.

In case warnings are expected, I'm not clear on what they're warning me about.

By default, numpy generates warnings when it performs a comparison with nan.  For example,
In [10]: x = np.array([1, np.nan])

In [11]: x > 0
/Users/warren/miniconda3scipy/bin/ipython:1: RuntimeWarning: invalid value encountered in greater
  #!/Users/warren/miniconda3scipy/bin/python
Out[11]: array([ True, False], dtype=bool)

In [12]: x < 0
/Users/warren/miniconda3scipy/bin/ipython:1: RuntimeWarning: invalid value encountered in less
  #!/Users/warren/miniconda3scipy/bin/python
Out[12]: array([False, False], dtype=bool)

Because nan compared to any other floating point value is always False, there is a good chance that the comparison was not expected to be used with nan.   The warning lets the caller know that the comparison might not give the result that was expected.

Thanks for reporting the issue, and for following up.  I don't think it would be unreasonable if eventually the distribution methods such as pdf and cdf passed nan through quietly, but that's not the current state of the code.


Updating Day One (Light) & (Dark)

Sorry I should've taken more time before submitting my initial PRs. I got a little too excited. This should fix almost all the little issues I've dealt with over the last couple days I've been playing with all of this.

Lato Fonts - Download
Fixing oddities with important (!!!) tasks rendering that would bleed into the checkmarks
Increasing paragraph spacing for headers for better layout between "sections"
Adding strikethrough to cancelled and done task text (but not the checkmark icon)
Fixing regex on bulleted lists that would indent lines that had a * at the beginning

Here are two new preview images of the full set of styles.

Thanks! I'll merge and update the previews accordingly.


Database design changes

closes #112
Database support for basic user rights (step 1)
Added connections:

(Project) -[OWNED_BY]-> (UserSettings)
(Blueprint) -[OWNED_BY]-> (UserSettings)

Also attempt to fix environment.yml

superseded by #125


Code Cleanup - Member variables not initialized in GdiEngine's constructor

Minor Code cleanup
In src/renderer/gdi/state.cpp
GdiEngine's constructor is not initializing all of it's member variables.
_isTrueTypeFont
_fontCodepage
_tmFontMetrics
_coordFontLast
_psInvalidData
In Debug only
_debugWindow
_debugContext
As far as I can tell, none of the above variables are used before being initialized (in the normal code path).  Most of these get set in UpdateFont and _CreateDebugWindow.  It might make sense to make a pass and initialize these in the header with default values. Some members are correctly being set to a default value in the constructor, but it might be better for maintainability to remove those and initialize them in the header also.

Spot-checked a few, so marking as confirmed.
Two important guidelines to keep in mind for whomever wishes to resolve this:
C.48: Prefer in-class initializers to member initializers in constructors for constant initializers
C.45: Don’t define a default constructor that only initializes data members; use in-class member initializers instead


Can't get past Step 5 in the setup guide

Followed every step in the guide but https://[BaseResourceName].azurewebsites.net/configuration just leads to a 404. As does
https://[BaseResourceName].azurewebsites.net/signin

Hi @chrismoseley , it looks like the configuration URL is incorrect, it should be "https://[BaseResourceName]-config.azurewebsites.net/".
We have made the changes in Deployment Guide for same.


1.1: update site's extensions page + announce release date

Note: only the last two commits are new here. (The others were already reviewed and merged in #1311, we just merged them into 1.1 branch rather than gh-pages.)

Just a question: shouldn't the release of v1.1 wait until implementations start supporting the new features? This way, people could play with profiles and see if it is really usable in the wild.
I say this because this is what the standard committee of PHP (PHP-FIG) also does: they require 2+ implementations before a standard can be accepted, and I believe it's very useful to test ideas before setting them in stone.
Anyway, I have already started the adaption of JSON:API 1.1 in my PHP projects:

Client-side: https://github.com/woohoolabs/yang (I believe there is not much to do before a beta release)
Server-side: https://github.com/woohoolabs/yin/tree/4.0 (there are still plenty of things to do)

@kocsismate Thanks for raising this point. In the past, we've discussed adopting the same policy for finalizing new versions of the spec; specifically, at least two compliant implementations must exist for both the client and server side. I still  think any final release date should be contingent upon this requirement. With that said, I think it's also important to set a target date to provide some motivation for implementors.

Also, I've push another commit here that adds a changelog entry for the new features/changes in 1.1, since I imagine that will be helpful to implementers. (I'm pretty sure this list is complete, as I went through all the diffs since 1.0 came out.)

Also, per conversation with @dgeb, I've pushed the date back to 1/31 and added an explicit mention of the two implementation requirement everywhere that the date occurs.

Great job @ethanresnick - 1.1 here we come! 🎉

require 2+ implementations before a standard can be accepted, and I believe it's very useful to test ideas before setting them in stone.

I too like this :)


docs/readme: document the 'debug' command

We have no info about the 'debug' command in readme. We do have the DEBUGGING MINIFIED CONTAINERS section. Need to extend this section to show how to use the 'debug' command in addition to adding the basic command and flag info.

Hi @kcq . I would like to contribute to this. Can you assign me this issue?

Hello @kcq, recently started using and exploring Slim, and want to contribute to Slim.
This issue looks good first to start with :)
Can you assign it to me, I'll start working. Thank you!

Hi @kcq  @iximiuz ,
I am trying to work on this issue and experimenting with the docker-slim debug command.
According to my learnings for the slim debug command

First we have to optimize the image using the docker-slim build command (image must present locally)
Then we need to start a container of that optimized image for the debug purpose
Use the docker-slim debug <container_name> command to start debugging process
Attach the newly created debugger container using docker attach <debugger_container_id> to inspect and debug the container.

I have done the above steps, for the 4th step I am getting errors or I should be missing something!
Here are the outputs:

Please point out to me what I should be missing.
Thank you :)

Hi @Omkar0114! Thank you for your effort!
The error message on the attached screenshot contains a hint - the slim debug command tries to start a debug container that reuses as many of the target container namespaces as just possible, including the IPC namespace. However, by default, in Docker containers are started with the IPC namespace being "non-sharable". A simple workaround is to start the target container using the docker run with the --ipc 'shareable' flag (see example in this blog post). However, a better way to address this problem is to make the slim debug command ignore the IPC namespace if the target is started in a non-sharable mode.

@Omkar0114 the debug command is still pretty basic and it does require that the target container you are debugging has ipc sharable like Ivan mentioned. This is a great piece of info the debug command documentation should capture :-)
The step 4 you mentioned is not really necessary (at least, not when you don't specify a custom CMD info in the command line), but if it works it might be good to mention in the docs too. The main mode for the debug command is to interact with the debugged target image through the slim debug command terminal/interface.
I assume you are looking at the cli.go file for the debug command too. It should give you an idea about the type of parameters that can be passed to the debug command. Looks like there's a bug there with the command parameters. It tries to read the target container reference from the --target command flag first, but the flag is not configured for the command. Good news the target reference can be specified without any flag name (that's the value that comes after the optional flags when you call the command).
Here's a basic example:
First, start the target container you want to debug (it doesn't need to be minified).
docker run -it --rm -p 80:80 --ipc 'shareable' --name mytarget nginx
Second, run the debug command:
slim debug mytarget

Thanks a lot, @iximiuz and @kcq for such detailed information on the debug command. I just did a demo of running the slim debug command and successfully worked.
In the README, we do have the DEBUGGING MINIFIED CONTAINERS  section. I'll add one example of how to run the slim debug command from scratch and also other flags of it and will raise PR soon.
Thank you :)

looking forward to the PR @Omkar0114

Hi @kcq we can close this issue now as it resolved.
Thanks for merging my PR 😊 🙌

yes, closing


fix: remove distutils from snakemake

Description
Python 3.12 does not support the distutils library any more. In most cases, the go-to solution would be using the packaging package. This works in general cases well, but when using singularity this fails because the external packages are not in the container binding  (pytest tests/tests.py::test_singularity would trigger this)
I wrote a poor man version check and wrote test cases for the release numbers available in conda singularity and apptainer.  This works well for the version numbers of these programs, but I would not use this untested for other programs' version numbers.
QC

[ x] The PR contains a test case for the changes or the changes are already covered by an existing test case.
[ x] The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

Unit tests did not run in CI. There is a faulty import in the unit test file, but does not trigger an error. I will try to trigger an error before fixing this faulty import.

Thanks! I think it would be fine to add packaging as a dependency to Snakemake. The packaging package is lightweight and has no further dependencies. Do you probably just want to add it here in this PR?

I tried using packaging at https://github.com/maarten-k/snakemake/tree/packaging_fail_singularity  and this would also be my go-to solution. However,  pytest tests/tests.py::test_singularity  fails, because a pickled dump of the snakemake object is made https://github.com/snakemake/snakemake/blob/ab58c652847c03a9f1529d2d7632f2788a5fadc4/snakemake/script.py#L541. Inside this pickled dump, there is also an indirect reference to the packaging package, which is not available inside the container, since only the snakemake directory itself is bound to the container and not the other packages. I am not sure how to sort this out in a good/clean way, so that is why I wrote this ugly workaround.
Please let me know If there is a better solution.

You can import the packaging module within the function that uses it instead of adding an import at the module level. This way, it won't be considered during the pickle.

That

You can import the packaging module within the function that uses it instead of adding an import at the module level. This way, it won't be considered during the pickle.

That would do it(always wondered why the imports were inside the function). I create pull request  #2312


fix: extend certificate duration

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Cleaner validator info logs

Instead of logging full hashes of what's being signed, log only the slot and who is signing it with prettyBytes. Lighthouse does not log hashes on the validator client.
Should we log more info about what's being signed at the debug or verbose level?

to moving prettyBytes to lodestar-utils
I think its still useful to have a more verbose log of what the validator is signing. Ofc even more useful would be metrics.

What would you log about block, aggregate and attestation? i.e. just the root of the entire object, certain metadata, etc. Check Lighthouse's client as example https://github.com/sigp/lighthouse/blob/b34a79dc0b02e04441ba01fd0f304d1e203d877d/validator_client/src/attestation_service.rs#L411

to moving prettyBytes to lodestar-utils
I think its still useful to have a more verbose log of what the validator is signing. Ofc even more useful would be metrics.

What would you log about block, aggregate and attestation? i.e. just the root of the entire object, certain metadata, etc. Check Lighthouse's client as example https://github.com/sigp/lighthouse/blob/b34a79dc0b02e04441ba01fd0f304d1e203d877d/validator_client/src/attestation_service.rs#L411

I would say as much as possible, root of objects definetly and some metadata like slot, validator. I like info unaggregated/aggregated attestation


Configure DB aliases and use multiple mongo DBs

Makes possible splitting Abacus data across multiple database instances, using the following approaches:

Use a separate database instance per group of applications.
Use more than one database instance for all applications and distribute the database partitions across these database instances.

Signed-off-by: Martin Aleksandrov<EMAIL_ADDRESS>

Coverage decreased (-0.007%) to 92.549% when pulling 89a3f461fd7b3534d64d5301c8febf9c21ac21bf on SAP:split-abacus-db into 4bc6064a217c925d00911320f33279115ab28378 on cloudfoundry-incubator:master.

Coverage decreased (-0.06%) to 92.494% when pulling 2d57a8de33206b7b5a9bb61f420c20862a33e951 on SAP:split-abacus-db into c8ad5c25d8054406104a01ad0d3dd1c438dde6b2 on cloudfoundry-incubator:master.

Coverage decreased (-0.2%) to 92.316% when pulling ad7533484995902841b6b127dc33e53ae83f4e26 on SAP:split-abacus-db into c8ad5c25d8054406104a01ad0d3dd1c438dde6b2 on cloudfoundry-incubator:master.

Coverage decreased (-0.06%) to 92.493% when pulling 8068a9f15a7a4b3da159d47eb3960a116c4dcfa6 on SAP:split-abacus-db into c8ad5c25d8054406104a01ad0d3dd1c438dde6b2 on cloudfoundry-incubator:master.


fix error reported by golangci-lint v1.20.1

What this PR does / why we need it:
Add your description
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #
Reference to #

Special notes for your reviewer:
/cc @hicaistar

Release note:

NONE

/lgtm


Always get "Unable to process: is TextFSM installed?" when I try to use textFSM for network devices

Hello,
I try to use textfsm for special commands to network devices.
Example: salt 'switch1' net.cli "sh ver" textfsm_parse=true
The result always is "Unable to process: is TextFSM installed?". But TextFSM/JTextFSM is installed.
Can you please help me?
Thank you!

After a reinstallation of textfsm it works.


refactor Re-arrange cases for data-partitioning doc

What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx
Problem Summary: re-arrange case for data-partitioning doc because the re-arrangement of docs https://github.com/apache/doris-website/pull/1295
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[x] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[x] No colde files have been changed.
[ ] Other reason

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[x] No.
[ ] Yes.

Release note

None

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall


[zig] fix GPU

Everything seems fine with --headless, but in gui mode, segfault
$ ./run.sh --silent ../opus5.gb
zsh: segmentation fault

Also in headless mode: profiling seems to imply that sprites aren't being rendered

This works now \o/


Kurtosis of normal distribution is 3

Corrected answer to question "How do we check if a variable follows the normal distribution?"

Thank you for your contribution!


Ability to add dimension

Dimension provider should allow for:

Copying settings from an existing dimension
Seed
World provider
Sky provider
Sky color
Fog color
Daylight cycle
Block replacement

Set default Spawn location
Portal/Linking item (perhaps when you add your custom items support the 'teleport' could be a possible effect?)


Generic scripts running more than 1 sec fail with "Monitor script returned critical: 85, rebooting system ..."

It seems like it comes as a return from the script_exit_status(g->pid); check at the time when the script is still running. This is being called from static void generic_cb(uev_t *w, void *arg, int events)
Setting the critical threshold to more than 85 indeed makes the check pass but that is not a viable workaround because the actual real return code will then not be checked anymore making  scripts running longer than 1 sec seemingly always pass.
Maybe we just need to initialise the exit code variable to -1 when creating the data structure?

What version of watchdogd are you using, and how does your config file look?

Hello,
we are running watchdogd 4.0
this is the config we are running:
# /etc/watchdogd.conf sample
# Commented out values are program defaults.
#
# The checker/monitor `warning` and `critical` levels are 0.00-1.00,
# i.e. 0-100%, except for load average which can vary a lot between
# systems and use-cases, not just because of the number of CPU cores.
# Use the `script = ...` setting to call script when `warning` and
# `critical` are reached for a monitor.  In `critical` the monitor
# otherwise triggers an unconditional reboot.
#
# NOTE: `critical` is optional, omitting it disables the reboot action.
#

###
# Do not set WDT timeout and kick interval too low, the daemon runs at
# SCHED_OTHER level with all other tasks, unless the process supervisor
# is enabled.  The monitor plugins (below) need CPU time as well.
#timeout   = 20
#interval  = 10

###
# With safe-exit enabled (true) the daemon will ask the driver disable
# the WDT before exiting (SIGINT).  However, some WDT drivers (or HW)
# may not support this.
#safe-exit = false

### Supervisor
# Instrumented processes can have their main loop supervised.  Processes
# subscribe to this service using the libwdog API, see the docs for more
# on this.  When the supervisor is enabled and the priority is set to a
# value > 0, watchdogd runs as a SCHED_RR process with elevated realtime
# priority.  When disabled, or the priority is set to zero (0), it runs
# as a regular SCHED_OTHER process, this is the default.
#
# When a supervised process fails to meet its deadline, the daemon will
# perform an unconditional reset having saved the reset reason.  If a
# script is provided in this section it will be called instead.  The
# script is called as:
#
#    script.sh supervisor CODE PID LABEL
#
# Availabel CODEs for the reset reason are avilable in wdog.h
#
supervisor {
#    !!!REMEMBER TO ENABLE reset-reason (below) AS WELL!!!
#    enabled  = true
#    priority = 98
    script = "/path/to/supervisor-script.sh"
}

### Reset reason
# The following section controls if/how the reset reason & reset counter
# is tracked.  By default this is disabled, since not all systems allow
# writing to disk, e.g. embedded systems using MTD devices with limited
# number of write cycles.
#
# The default file setting is a non-volatile path, according to the FHS.
# It can be changed to another location, but make sure that location is
# writable first.
reset-reason {
#    enabled = true
    file    = "/var/lib/watchdogd.state"
}

### Checkers/Monitors ##################################################
#
# Script or command to run instead of reboot when a monitor plugin
# reaches any of its critical or warning level.  Setting this will
# disable the built-in reboot on critical, it is therefore up to the
# script to perform reboot, if needed.  The script is called as:
#
#    script.sh {filenr, loadavg, meminfo} {crit, warn} VALUE
#
#script = "/path/to/reboot-action.sh"

# Monitors file descriptor leaks based on /proc/sys/fs/file-nr
filenr {
#    enabled = true
    interval = 300
    logmark  = false
    warning  = 0.9
    critical = 1.0
#    script = "/path/to/alt-reboot-action.sh"
}

# Monitors load average based on sysinfo() from /proc/loadavg
# The level is composed from the average of the 1 and 5 min marks.
loadavg {
#    enabled = true
    interval = 300
    logmark  = false
    warning  = 1.0
    critical = 2.0
#    script = "/path/to/alt-reboot-action.sh"
}

# Monitors free RAM based on data from /proc/meminfo
meminfo {
    enabled = true
    interval = 300
    logmark  = false
    warning  = 0.9
    critical = 0.95
#    script = "/path/to/alt-reboot-action.sh"
}

# Monitor a generic script, executes 'monitor-script' every 'interval'
# seconds, with a max runtime of 'timeout' seconds.  When the exit code
# of the monitor script is above the critical level watchdogd either
# starts the reboot, or calls the alternate 'script' to determin the
# next cause of action.
generic /usr/bin/watchdogscript {
    enabled = true
    interval = 300
    timeout = 60
    warning  = 1
    critical = 10
}

The watchdogscript is basically a shell script that calls curl to check the state of a specific endpoint. Whenever the curl takes more than a second, watchdog reboots the device with the above output. We can of course workaround this by setting a timeout within curl but that may not be an option for some other use cases where the timeout really needs to be longer than a second.


Cleanup example code

Use // comments, since they are single line and it's cleaner
Add syntax highlighting
Improve spacing

Ping

Fixed in 2a756fffccc30bf6871d7f04ede61a6fef160555


Individual Question page currently doesn't throw an error page properly when failing to retrieve questions

Due to how errors are currently handled on the page/gateway.ts file, it fails to parse the erroneous response from the server. Refactoring StatusBlock structure to match the response should fix this.

Likely changing StatusBlock structure to only contain the status code.

Resolved by #11.


Improve readme for first-time users

So that our user can start leveraging helmfile without too much confusion.
Includes two things:

A "getting started" guide
A basic description of the sync subcommand

cc/ @xjantoth I've improved the README according to your suggestion at https://github.com/roboll/helmfile/issues/55#issuecomment-373737432.
Would this look good to you? Thanks!

@sstarcher Thx for the review :relaxed:


More onboarding doc updates

Also, I think "text retrieval task" sounds better in the definition, vs. "text ranking".


draft gui

Will add ezdl

Only thing really left is to add eel to imports, should it be some group?

Accidentally marked for review too early since it worked, all of the minor details as comments will be fixed

Yeah, it's definitely hard to review the code when most of it's commented out... I don't know if it's commented out for future implementation or if they actually need to be gone.

I just comment out stuff instead of removing it most of the time, old habit because I most of the time work alone. Will remove everything that is bloat before merge or review.

I just comment out stuff instead of removing it most of the time, old habit because I most of the time work alone. Will remove everything that is bloat before merge or review.

I just comment out stuff instead of removing it most of the time, old habit because I most of the time work alone. Will remove all bloat before merge or review.

Will you still work on this? Or drop it in favour of #526?

Closing in favour of #526

Oh, I thought this was mine. Lagrad can take this decision. Re-opening.

Will you still work on this? Or drop it in favour of #526?

I will work on this when cs2 electron is released. I dont have all the time in the world to work on stuff

(I will not work on the qt version)

Seems like QT may be the way forward and then when you finally can get around to it you can replace it? QT is ready to ship now pretty much. Seems like a waste to wait for something that isn't really been worked on

Seems like QT may be the way forward and then when you finally can get around to it you can replace it? QT is ready to ship now pretty much. Seems like a waste to wait for something that isn't really being worked on

you dont need to wait for me to finish this, this project is only a side project that I might work on for my own use

Should I close the PR then? Makes the project cleaner if I remove a draft pr that may never be worked on again


Cache on mobile

Is there a reason why caching is only on Desktop? I did a few modifications and caching works on mobile. Is there something I'm missing?

There is no profound reason. We just didn't include it in the official release because it didn't get enough testing. Particularly, it's hard to judge what the size of the cache should be since phones have widely different storage capacities so while a 2GB cache may be reasonable on a 64GB phone, it's not so reasonable on a 16GB phone.

I see. I left the default to 512MB, and it kinda worked.
I did notice something really strange though. (I didn't open an issue, since it is not officially supported yet) but here it is:
After allowing cache on mobile:
      bool cacheSupported = Application.platform == RuntimePlatform.WindowsEditor ||
        Application.platform == RuntimePlatform.WindowsPlayer ||
        Application.platform == RuntimePlatform.OSXEditor ||
        Application.platform == RuntimePlatform.OSXPlayer ||
        Application.platform == RuntimePlatform.Android ||
        Application.platform == RuntimePlatform.IPhonePlayer;

and my cache path is
        string defaultCachePath = Path.Combine(Application.persistentDataPath, "WebRequestCache");

a PolyListAssetsRequest with keywords succeeds on both desktop and Android. But a PolyListAssetsRequest without keywords, and curated set to true, succeeds on desktop, and fails on Android with a 500 Error (which is really weird, because I don't know what a server error has to do with caching)
So the fail conditions are:
On mobile (tested on Android)
Cache enabled
curated set to true
Edit:
BufferHolder.tempBuffer and BufferHolder.dataBuffer are used nowhere in the project, I set both TEMP_BUFFER_SIZE and DATA_BUFFER_INIT_SIZE to 0.
That solved the problem. (probably related to an out of memory exception, that Unity reported as a 500)

Also, a couple of useful resources for this matter:
https://docs.unity3d.com/ScriptReference/Cache.html
https://docs.unity3d.com/ScriptReference/Caching.AddCache.html
https://docs.unity3d.com/ScriptReference/Application-temporaryCachePath.html

Nice! This is really useful info. Thanks for investigating!


Fix: Envelope length should be based on the UTF8 array instead of String length

:loudspeaker: Type of change

[X] Bugfix
[ ] New feature
[ ] Enhancement
[ ] Refactoring

:scroll: Description
Fix: Envelope length should be based on the UTF8 array instead of String length
:bulb: Motivation and Context
#242
:green_heart: How did you test it?
:pencil: Checklist

[X] I reviewed submitted code
[X] I added tests to verify changes
[X] All tests passing
[X] No breaking changes

:crystal_ball: Next steps

But dang, that is nasty. If I understand correctly this prevents every event which contains unicode chars from being send, right?

But dang, that is nasty. If I understand correctly this prevents every event which contains unicode chars from being send, right?

not really, a subset of it and usually they are not part of "normal" events, but it's rather critical of course, I'm cutting a release pretty soon.

pana is failing but nothing has changed (works locally though), created https://github.com/axel-op/dart-package-analyzer/issues/12 and will merge it


Fix pkg-config generation

Grabbed from upstream:
https://github.com/FreeRDP/FreeRDP/commit/20ada7d3478a9ae87382100cd6d26bc1c9e05aac
Alternatively, orig tarball may be updated in order to fix this issue.

@xhaakon thanks but that won't be necessary. I'll import the latest master the next days once https://github.com/FreeRDP/FreeRDP/pull/3042 and my upcoming pull request (spelling and other fixes) is merged.

Okay, I only wanted to make sure you know about this issue. Closing.

@xhaakon yep I'm aware and besides adding wayland support this is one of the reasons for a new master import ;). Thank you very much!


file request

Hi, the pkl files for pose_set03 and pose_set04 in the data/features/pie/poses folder are corrupted, and it says pickle data was truncated when loading. can you please provide usable pkl files? Thanks a lot!

Hi @Jason408, I was able to download and open both files. Tested with Python versions 3.8, 3.10, 3.11 on Ubuntu 22.04 and Mac OS 14.4. The error you mention can happen when files are not downloaded fully. Can you try downloading them again?

The problem has been resolved, thank you very much!

Great, glad to hear it's been resolved! Will close the issue now.


🐛: Not appearing menu symbol in the light mode

:red_circle: Title :
:red_circle: Bug :
:red_circle: Changes :
On the main page, the menu symbol does not appear when light mode
Screenshots 📷

:white_check_mark: To be Mentioned while taking the issue :

Full name : Thalla Jayanth
What is your participant role? (Mention the Open Source Program name. Eg. GSSOC, SSOC, JWOC, etc.)
GSSOC

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Light mode is under processing #551


Problem with Rails 5 + Ruby 2.5

Hi,
I got this error after try to install:
 No source for ruby-2.5.0 (revision 58466) provided with debase-ruby_core_source gem.
More detailed:
https://gist.github.com/wellington1993/2c6608777b8b6cf7ef3f87c55d7bd55e
Any idea to help me?

I might be wrong but I do not see any official releases for ruby 2.5.0 thus debase-ruby_core_source doesn't provide sources for this.  If you build ruby 2.5.0 from source you may want to point to them (see ext/extconf.rb and --with-ruby-include).


KeyPress Callbacks for Plot windows and adding meta data to window?

Hi, I'm happy to split in two windows and/or create a feature request instead.

Is there a built in possibility to add external meta information to a window? At the moment, I am adding meta information (e. g. to a line plot)  by:
vis.line(X=[None],Y=[None], opts={Metadic:{"metakey1":metaval1})
This works just fine but is there a better way compared to the "abuse" of opts?

Are the KeyPress callbacks on a plot window not supported at the moment? I was not able to get this running, but the documentation is not specific about this.

Background: I want to access the meta data from 1. easily from the browser. At the moment, I'm using a property window where I enter the window name and then use the callbacks there. I'd love to have a callback on a plot window such that the user e. g. only has to type "M" and the meta data appears (e. g. could be a new text window).

Hi @Nzteb - the callbacks/events functionality is something we're looking to expand, but haven't had too much time to dedicate to a good and extensible design. The above functionality you're interested in - metadata for windows for the purpose of event management - is one such thing I've been considering how to best implement, but as of yet the above is really the only way to manage it.
As far as KeyPress callbacks on plots, they aren't yet supported simply because nobody has tried to put them there yet. Some guidance for how they'd be implemented in PlotPanes can be seen in ImagePanes. We'd definitely welcome a PR that implemented it for plots as well.

Awesome, I see. Thanks for the answer and your great work!


add support for .jvmopts and .java-version to Windows launcher

Submitted subject to the disclaimer from the BSD 3 Clause License and forfeiting the Copyright notice part.

LGTM pending Travis


[experiment] Use Sets instead of lists in more places

An old experiment inspired by #55224

@typescript-bot perf test this faster

Dissapointing


Make ExpandWhens implicitly invalidate submodule inputs

This is a modified form of
https://github.com/freechipsproject/firrtl/pull/706 to preserve the
bugfix but preserve the [buggy] 1.0.x API that firrtl was not properly
enforcing initialization requirements for submodule inputs
The problem with #706 is that because Firrtl wasn't properly enforcing initialization requirements on submodules, code that used to work no longer does. This alternative version still fixes the incorrect Verilog generation bug but does not enforce the initialization requirement.

The only real differences between this and #706 are that it uses WInvalid instead of WVoid on the submodule ports in ExpandWhens and the CheckInitializationSpec test does not actually expect an exception to be thrown.

I updated this to print a warning about invalidating submodule ports

So is the idea that for 1.1.x, we will change the API to not automatically invalidating instance ports (e.g. using WVoid instead of WInvalid)?

I'll approve it assuming this is what you are doing.

This has been implemented in 1.0.1 (and 1.0.x) without the unnecessary change to src/test/scala/firrtlTests/FlattenTests.scala.


Compute logits*V in FP32 in attention kernel to improve numerical accuracy

Before this PR: Cast logits from FP32 to BF16/FP16, then compute dot(logits, V).
After this PR: Cast V from BF16/FP16 to FP32, then compute dot(logits, V).

Hi @beginlner, apologies for the late review. Could you elaborate more on this PR? For example, why do you think we need this change? Do you see any accuracy issue due to this data type choice?

Closing for lack of activity and justification


Align matrix equation

Hello,
I'd like to align the following system of equations  :
\\matrix{ a_n + b_n &=& \\alpha + \\epsilon \\\\ c_n &=& \\beta}

So that terms on left aligned right and terms on right align left, something like this (it's a trick using paint)

Any idea to do that ?
Best regards.

So far, we don't support right-alignment in matrices at all. It's not that hard to add, just we don't have the corresponding syntax and code.
Something similar to your example is possible to build using manually aligned symbols, like this:
\begin{align}
  a_n + & b_n = \alpha +\epsilon \\
        & c_n = \beta
\end{align}

But a proper support for alignment in cells would be of course much better.

Hi @ForNeVeR ,
Thanks a lot ! That works fine with your code !


window.location.search available only in rendered() callback?

We're trying to access window.location.search but after routing, it is available only in rendered() callback and not in created() callback. Is this by design? We're having some difficulties because of this behaviour. The sample code below demonstrates it.
After clicking the link here http://localhost:3000/hello?param=val
The console output of hello2 template shows:
hello2 created: ?param=val
hello2 rendered: ?newParam=newVal

Shouldn't the newParam be available already in created()?
Router.map(function () {
    this.route('hello', {
        path: '/hello',
        template: 'hello'
    });
    this.route('hello2', {
        path: '/hello2',
        template: 'hello2'
    });
});

if (Meteor.isClient) {
    Template.hello.events({
        'click #link': function (e, t) {
            e.preventDefault();
            Router.go('hello2', null, {query: 'newParam=newVal'});
        }
    });

    Template.hello2.created = function() {
        console.log('hello2 created: ' + window.location.search);
    };
    Template.hello2.rendered = function() {
        console.log('hello2 rendered: ' + window.location.search);
    };
}

<template name="hello">

hello

    Problem?
</template>

<template name="hello2">

hello2

</template>

We found a workaround by passing this.params as part of the template data. It would still be interesting to know if the window.location.search should work in created.


Update .htaccess

security update

On incorrectly configured hosting sites, you can download tpl files. This update prohibits downloading them


Warn when clicking "Generate new codes"

Accidentally clicking this button after having already generated codes will cause a lot of wasted time. The same applies for "Start session" when creating a new voting session
TL;DR: I want a confirmation popup

It doesn't already?

Generating new codes warns, but clicking "Start session" does not.


Feat/player components and status UI

Player Corner Components Implementation
Description
Implements the player components for all corners of the game board, making the board the child component. Designed with a board abstraction in mind using a hybrid SCSS/Tailwind approach for stable styling.
Features Added

Pixel art avatar containers with proper scaling
Player status indicators (turn status, score dots)
"Your Turn" indicator with icon
Styled player names and numbers
Hover and active states
Responsive scaling without overflow

Technical Implementation

Created new PlayerCorner component
Used hybrid SCSS/Tailwind approach for stable styling
Integrated with existing Ludo component
Maintained proper board abstraction

Files Changed

client/src/components/PlayerCorner.tsx (new)
client/src/styles/PlayerCorner.scss (new)
client/src/components/Ludo.tsx (modified)

Testing Done

Verified player corner positioning
Tested hover and active states
Confirmed responsive behavior
Validated turn indicators
Checked score dot functionality

Screenshots

Notes

Used hybrid styling approach for stability
Maintained existing game board functionality
Ensured proper component abstraction

Related Issues
Closes #132
Checklist:

[ ] Read the contributing docs (if this is your first contribution)

[ ] Verified this is not a duplicate of any existing pull request

[ ] Performed a self-review of the code

[ ] Rebased to the last commit of the target branch (or merged it into my branch)

[ ] Linked the issues which this PR resolves

[ ] Documented the changes in code (API docs will be generated automatically)

@princeibs please review


High memory usage on proximity notebook

The cell
extent_data = data.sel(band="extent")

extent_proximity_default = proximity(extent_data).compute()

is current failing on staging because the workers are using too much memory. The notebook output has
distributed.nanny - WARNING - Worker exceeded 95% memory budget. Restarting
distributed.worker - ERROR - failed during get data with tcp://<IP_ADDRESS>:39389 -> tcp://<IP_ADDRESS>:36541
Traceback (most recent call last):
  File "/srv/conda/envs/notebook/lib/python3.8/site-packages/distributed/comm/tcp.py", line 198, in read
    frames_nbytes = await stream.read_bytes(fmt_size)
tornado.iostream.StreamClosedError: Stream is closed

Here's a reproducer with just xrspatial, dask, and xarray
import dask.array as da
import xarray as xr
from xrspatial.proximity import proximity

a = xr.DataArray(da.ones((5405, 5766), dtype="float64", chunks=(3000, 3000)), dims=("y", "x"))

xrspatial.proximity(a).compute()

cc @thuydotm, does this look like an issue in xrspatial? Or do you think it might be upstream in dask?

I'm taking a look now. My initial thought is that when max_distance goes to infinity, each chunk expands to cover the whole array and that would easily cause memory issues. Would you think it's better to change the API so that providing max_distance is always required?

I'm not sure. API-wise, it seems like max_distance=None is equivalent to max_distance=<whatever distance is larger than the shape of the array>, which I think could be determined by the function itself.
I forgot to mention that in one of the later cells there was an error from the overlap depth being larger than the shape of the array along that dimensions. If the user provides a max_distance that's larger than the shape of the array, then I would expect proximity to truncate the distance.

Thanks, that makes sense. I'll open a PR in xrspatial to indicate this.

Closed by https://github.com/makepath/xarray-spatial/pull/558


Formalize SPDX 2.3 namespace behavior

This commit modifies the SPDX namespace behavior when serializing documents. This change properly handles the URL fragments when writing the SPDX document, stripping it from the doc when defined. It also ensures that other valid URIs such as urns and package URLs can be piped and used as valid namespaces.
The PR introduces two options into the serializer to ensure that we can control when things go wrong: FailOnInvalidDocIdFragment and GenerateDocumentId, documentation for the serializer options is included as well as a unit test.
Signed-off-by: Adolfo García Veytia (puerco<EMAIL_ADDRESS>

/cc @ashearin @hmaurer


use remove on scope destroy to stop memory leaks

please see https://github.com/hakimel/Ladda/pull/36

+1

@mihaipanait Thanks for pull request! It's very important patch.


Style Columns

I'd like to be able to style the columns, so they have line between them. Unfortunately, I can't figure out how to inspect the page to see what the page elements are in order to apply styling to things.
Could you add some options in the styling section to show how to style the columns? Ideally, i'd like them to be a slightly different color from the rest of the background.
I do just want to say though, I love this extension. It's so much better than any of the new tab pages I've I've seen, and I've tried at least 40.
I actually have a note file of all the additions and features I would like to see, but this is the simplest, and most straightforward of them.
The ultra compact, customizable, column based layout is something I wish I could have for everything else, especially my windows start menu.  Keep up the good work.

Not quite what I was hoping for, but it's better than nothing! Thanks very much! I'll see what I can do to improve it.
I'm really hoping for a difference in background of the individual entries' background and the column's background, and then a difference between the column background and the rest of the background.


Update: Contributors section's was translate

Note was formatted

@all-contributors please add TesterJuancxh for doc


Upgrade to v1.0.18 of the Aiven Terraform Provider

Acceptance tests will be disabled but this PR works as expected


Unhandled error in lazy lookup plugin

2016-05-03 11:28 ERROR    lazy_lookup   download-movies-1080p-task Unhandled error in lazy lookup plugin
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/utils/lazy_dict.py", line 38, in __getitem__
    func(self.store)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/metainfo/trakt_lookup.py", line 218, in lazy_movie_lookup
    entry.update_using_map(self.movie_map, movie)
  File "/usr/local/lib/python2.7/dist-packages/flexget/utils/sqlalchemy_utils.py", line 141, in __exit__
    self.commit()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 801, in commit
    self.transaction.commit()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 392, in commit
    self._prepare_impl()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 372, in _prepare_impl
    self.session.flush()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 2019, in flush
    self._flush(objects)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 2137, in _flush
    transaction.rollback(_capture_exception=True)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 2101, in _flush
    flush_context.execute()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py", line 373, in execute
    rec.execute(self)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py", line 532, in execute
    uow
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py", line 174, in save_obj
    mapper, table, insert)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py", line 800, in _emit_insert_statements
    execute(statement, params)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 914, in execute
    return meth(self, multiparams, params)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1010, in _execute_clauseelement
    compiled_sql, distilled_params
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
    context)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1341, in _handle_dbapi_exception
    exc_info
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
    context)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 450, in do_execute
    cursor.execute(statement, parameters)
IntegrityError: (pysqlite2.dbapi2.IntegrityError) UNIQUE constraint failed: trakt_movie_search_results.search [SQL: u'INSERT INTO trakt_movie_search_results (search, movie_id) VALUES (?, ?)'] [parameters: (u"\u041f\u0438\u0440\u0430\u0442\u044b \u041a\u0430\u0440\u0438\u0431\u0441\u043a\u043e\u0433\u043e \u043c\u043e\u0440\u044f: \u041d\u0430 \u043a\u0440\u0430\u044e \u0421\u0432\u0435\u0442\u0430 Pirates of the Caribbean: At World's End 2007 BDRip 1080p", 239)]

@Flexget/trakt

Config

probably fixed in the latest build. upgrade let me know.

Just did the update and after a new run the problem is not there anymore.
OTOH I have a new crash report, I'll open a new issue about it.


Update createClass use in Draft website code

In React v15.5 a warning was added for the impending deprecation of the createClass syntax. We have several calls to the deprecated createClass in the website code, and it should be updated.
Check out the notes about how to update the syntax, and then please update each place we call it:
https://github.com/facebook/draft-js/search?utf8=✓&q=createClass&type=

I'm on it!

I'm going to claim this one as a first fix to figure out the process of contributing to open source :)


Allow wrapped literal types in discriminatedUnion

First of all thanks a lot for all your work in zod, it's a joy to use.
This PR fixes type checking when passing literal types with default values or preprocess transformations.
Before this change, the type checker was complaining that value does not exist, as described in https://github.com/colinhacks/zod/issues/1490.
Added a test case that had failing types but now works.
test("valid - literals with .default or .preprocess", () => {
  const schema = z.discriminatedUnion("type", [
    z.object({
      type: z.literal("foo").default("foo"),
      a: z.string(),
    }),
    z.object({
      type: z.literal("custom"),
      method: z.string(),
    }),
    z.object({
      type: z.preprocess((val) => String(val), z.literal("bar")),
      c: z.string(),
    }),
  ]);
  expect(schema.parse({ type: "foo", a: "foo" })).toEqual({
    type: "foo",
    a: "foo",
  });
});

The fix consists in modifying the ZodDiscriminatedUnionOption to also allow ZodDefault<ZodLiteral...> and ZodEffects<ZodLiteral...>.
export type ZodDiscriminatedUnionOption<
  Discriminator extends string,
  DiscriminatorValue extends Primitive
> = ZodObject<
  {
    [key in Discriminator]:
      | ZodDefault<ZodLiteral<DiscriminatorValue>>
      | ZodEffects<ZodLiteral<DiscriminatorValue>, DiscriminatorValue, unknown>
      | ZodLiteral<DiscriminatorValue>;
  } & ZodRawShape,
  any,
  any
>;

Along with this change, I changed the logic to extract the discriminator value from the provided schemas. It now unwraps the inner literal type from ZodDefault or ZodEffect
try {
      types.forEach((type) => {
        const typeShape = type.shape[discriminator];
        if (typeShape instanceof ZodDefault) {
          const discriminatorValue = typeShape.removeDefault().value;
          options.set(discriminatorValue, type);
          return;
        }
        if (typeShape instanceof ZodEffects) {
          const discriminatorValue = typeShape.innerType().value;
          options.set(discriminatorValue, type);
          return;
        }
        if (typeShape instanceof ZodLiteral) {
          const discriminatorValue = typeShape.value;
          options.set(discriminatorValue, type);
          return;
        }
        throw new Error(`Wrong Zod Shape: ${typeShape}`);
      });
    } catch (e) {
      throw new Error(
        "The discriminator value could not be extracted from all the provided schemas"
      );
    }

Note: An even better solution I imagine is making sure that both ZodDefault and ZodEffects re-surface the inner type properties, such as ZodLiteral's value. But I'd need more familiarity with the code base to propose that change.
Happy to hear your thoughts on the problem I identified, and whether this solution is appropriate. I can always iterate on both how I understood the issue and how to tackle it.

Thank you! Good PR. I ended up fixing this as part of a larger effort to make z.discriminatedUnion more robust. I added your tests to the Zod test suite here: https://github.com/colinhacks/zod/commit/c6285c9fe0c517f8e84527ba473854c7a877870d


DaysInterval not working on XP

I am unable to change the days interval value for an XP machine regardless of where I try to set the value. I am successfully setting a scheduled task but I just don't want to run the script everyday and I do want this value to be user selectable (nudDays.value) My code snippet is below:
Dim ts As New TaskService
Dim td As TaskDefinition = ts.NewTask
Dim dt As New DailyTrigger(2)
td.RegistrationInfo.Description = "pstBackup"
dt.StartBoundary = dtpTime.Value
dt.DaysInterval = 2 'CShort(nudDays.Value)
td.Triggers.Add(dt)
td.Actions.Add(New ExecAction(BATFILE))            ts.RootFolder.RegisterTaskDefinition("pstBackup", td)
Originally posted: 2012-05-25T08:57:21

Fixed in changeset 78635. Thanks for reporting this bug.
Originally posted: 2012-06-13T11:25:36


CCAP/bursicon neurons

A subset of larval/pupal CNS neurons express the neuropeptides CCAP and/or bursicon; these neurons are crucial to eclosion/post-eclosion events.  I can't find an FBbt term that maps onto them (could be missing it, but haven't yet found a search string in Vocabularies that gets a likely hit.
References:  FBrf0179185  (larval-centric), FBrf0218345 (pupal-centric), FBrf0220703. I'm not sure which neuropeptide should be referenced in the term; maybe both, maybe one with the other as a synonym (or both CCAP neuron and bursicon neuron as synonyms to the existing neuron I've failed to find in the anatomy ontology).  I'm not finding anything obvious in the children of "neurosecretory neuron" FBbt:00005130 nor "endocrine neuron" FBbt:00007436.  It's definitely not "EH neurosecretory neuron" FBbt:00006028.

The CCAP/burs and CCAP neurons have been added. Larval and adult (FBrf0218345  looked at pharate adults).


Added additional pins to fix broken tests for season-1

Description
Fixes broken tests from dependency drift by pinning additional first-order dependencies.
Status

[ ] Ready to go

Codecov Report

Merging #104 (c7417a4) into season-1 (e273209) will decrease coverage by 0.36%.
The diff coverage is 0.00%.

:exclamation: Current head c7417a4 differs from pull request most recent head 9bd268c. Consider uploading reports for the commit 9bd268c to get more accurate results


Release 1.5.1 to npm

Hello,
Thank you for the 1.5.1 release on Github. Could you also publish it to npm?
Thanks

Hi! Out now, sorry - I was sure I did it when upgrading earlier!


⚠ RPC server - Figment Solana has degraded performance

In 174f308, RPC server - Figment Solana ($FIGMENT_SOLANA_RPC_URL) experienced degraded performance:

HTTP code: 200
Response time: 353 ms

Resolved: RPC server - Figment Solana performance has improved in 68461be.


fix timezone issue #544

patch for: https://github.com/MichMich/MagicMirror/issues/544

added moment-timezone file which is combination of moment-timezone and moment-with-locale
updated entry for moment in vendor.js
added timezone function to all moment functions in clock module

ToDo:

update moment functions everywhere else in the defualt modules

Hi @VikramTiwari ,
Your PL is backwards the HEAD of develop branch, so there some conflicts.
I thinks is not a good idea set by default a determinated location for timezone, not all people have the same timezone.
Please, check if the issue still into the HEAD of develop branch.

... also, somethings I forget mention, the feature to set a timezone was add into the develop branch.

Also, we use a custom version of moment.js due to an annoying buffer overflow bug in the 12hour notation. So it's critical this change doesn't get overwritten.

I think there's enough work already been done on the issue and there are a lot of extra considerations to be done before implementing an easy-going strategy as my PR. If I had more time, I would have gone through it properly. But hopefully this issues will be resolved in next release.
Feel free to close this issue and related PR.


Information about order of response body added

Information added that the translated text is coming in the exact same order as the input is (for multiple pieces of text)

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

Hi @swmachan Could you review the proposed changes? Thanks.

@swmachan @nitinme Could you review this pull request from February? Thanks.

#sign-off

@nitinme: I'm sorry - only the author of this article, @swmachan, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Bootstrap w/ Molecule and test with Testinfra

Summary
In the interest of stability, testability, and maintainability,
this change introduces the following tools into the development
lifecycle:

Molecule: Perform end-to-end tests at your workstation
Testinfra: Test your infrastructure state with pytest syntax
Ansible-lint: Check for Ansible best-practices

Using molecule is optional and is provided for your convenience.
It will perform all the same tests as Travis CI. Keep in mind that
Virtualbox and Vagrant are required to use molecule.

Note: For legal concerns about running OS X VMs, consult the SLAs.
In each case, section 2.B.iii states that up to two instances of the Mac
operating system may be run in a virtualized environment on your Mac computer
for the purpose of software development.

Differences in CI Process

Travis CI will lint the role before executing it.
Travis CI will perform Testinfra tests after the role has been executed.

OS X SLAs

OS X 10.12 Sierra
OS X 10.11 El Capitan
OS X 10.10 Yosemite

There is an problem running molecule test:
TASK [ansible-role-homebrew : Ensure Homebrew parent directory has correct permissions.] ***
fatal: [homebrew]: FAILED! => {"changed": false, "failed": true, "msg": "There was an issue creating /usr/local as requested: [Errno 13] Permission denied: '/usr/local'", "path": "/usr/local", "state": "absent"}

There appears to be an issue related to privilege escalation for the vagrant user. Looking into it.

After some debugging, it turned out that molecule passes the --sudo option to the ansible-playbook command by default, which in turn would execute this role as root by default, which should not happen. The fix was the following setting in molecule.yml:
ansible:
  sudo: false

This change is now ready for review. Give it a try and let me know what you think.

@geerlingguy Plz review when you get a chance.


Create puas.txt

The mail server for the Piraeus University for Applied Sciences.
The students email addresses look like this<EMAIL_ADDRESS>http://www.teipir.gr/index.php/en/
http://mhys.teipir.gr/en/
mail.teipir.gr

@jennykat Pull request merged. Thank you!

Thank you very much for the merge. The problem is that I still can't register....
Do these changes take a while to apply to the website's student license registration?
Or should I also create a subfolder "students" as my e-mail looks like this:
<EMAIL_ADDRESS>


MacOS - Need to upgrade libtiff

When I tried to run BOSSA, it just exited without any messages or errors. When I then ran it from the command line, I got this result:
 /Applications/BOSSA.app/Contents/MacOS/bossa  dyld: Library not loaded: /usr/local/opt/libtiff/lib/libtiff.5.dylib   Referenced from: /Applications/BOSSA.app/Contents/MacOS/bossa   Reason: Incompatible library version: bossa requires version 9.0.0 or later, but libtiff.5.dylib provides version 8.0.0 Abort trap: 6
I then upgraded the libtiff like this:
brew upgrade libtiff
And it worked again!

This also worked for me - thank you so much!

On clean copy of Catalina I had to brew install libpng libjpeg and libtiff

I'm also working on a relatively clean copy of Catalina 10.15.3 on which I've installed the Zephyr development environment. I got the same sort of Dyld error, only libtiff was not just outdated, it was "image not found" altogether.  I used brew install on all three libs which added libtiff and found libpng and libjpeg already installed.  Bossa now runs.


Add OpenAPI specification

The specification is based on the one generated from the FastAPI template app.
The specification is checked for consistency as part of the tests. A pre-commit hook is used to keep it in sync.

I'm guessing this is prior to the creation of the standard app API repo and can be deleted?


ENYO-1905: Add Text to Speech Accessibility support to Spinner

Initial add accessibility feature to Spinner
Requirement
Screen reader should read Spinner Loading text when Spinner is loading according to UX requirements.
Implementation
We added SpinnerAccessibilitySupport to support reading a spinner's content.
Spinner has animating control and client content, so sreen reader should read content string when spinner is shown. However, Spinner is not spotlight component, so we should use accessibilityAlert API for reading it. If aceessibilityAlert is true, screen reader reads contents whenever it is changed.
Because Spinner' client control is marqeeeText, The scrren reader reads content whenever marquee animataion is started. To prevent this, we added aria-live: off attribute to spinner.
Limitation
In ChromeVox, this commit doesn't work. it works only WebOS TV.
Enyo-DCO-1.1-Signed-off-by: Bongsub Kim<EMAIL_ADDRESS>

With the latest code, I think this can be accomplished with the following added to moonstone/Spinner:
	accessibilityAlert: true,
	accessibilityLive: 'off'

replaced with https://github.com/enyojs/moonstone/pull/2522


Fixed #26717 -- Added a stream_class attribute to Serializer.

https://code.djangoproject.com/ticket/26717

merged in 724dd2043ec849e605ba4f4cf1430458c2a8d90a, thanks!


Adding New attribute validation provider MD and TOC update

@mistermik - can you re-submit this via the private repo? (i can see you have access). thanks!


Add Custom Mapping CSS for opacity property

Is your feature request related to a problem? Please describe.
Hi guys, how are you? My problem is that I want to create a custom mapping CSS like this example below:

But the typescript doesn't bring the tokens when I type:

I configured all tokens correctly, see the next image:

Describe the solution you'd like
I would like to create my own custom mapping CSS or opacity mapping to be added in a new version.

@peduarte

He is not working on the project anymore.
Providing a simple reproduction in codesandbox or stackblitz would help you to get the answer much much faster from the maintainers or the community 👍

As mentioned here, this works already in Stitches without modifying the core code.
At the same time, I can confirm that autocompletion isn't working for tokens that are part of a theme scale that isn't part of Stitches so perhaps we could use a typescript improvement in there


IZPACK-1654: Fix broken travis build

IZPACK-1654: Fix broken travis build

@akuhtz Unfortunately the build fails again do to even more tight security requirements (HTTPS)

@reinhapa Yes, time moves :-) I'm not tied to JDK6. Thank you for moving on.

@akuhtz @rkrell I would suggest to raise the minimum JDK bar to at least 8...

OK from my point of view.
In this case

I'd increase the new release version to 5.2.0 (master branch)
created a Git branch 5.1 to reflect the breaking change and to allow
anyone who sits on JRE 6 to maintain the old version.

čt 12. 3. 2020 v 10:42 odesílatel Patrick Reinhart<EMAIL_ADDRESS>napsal:

@akuhtz https://github.com/akuhtz @rkrell https://github.com/rkrell I
would suggest to raise the minimum JDK bar to at least 8...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/izpack/izpack/pull/698#issuecomment-598094639, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABRRZ4Z55YQHI75IHAPPVTRHCU6ZANCNFSM4JEQ2SQA
.


Beacon variable description improvements

Improved descriptions for Beacon variables. A couple descriptions still require modification, pending further discussion among project members.

+1

+1

+1


ERROR: [400 MESSAGE_NOT_MODIFIED]: The message was not modified because you tried to edit it using the same content (caused by "messages.EditMessage")

Why this error is occurring bro

Why this error is occurring bro

can you show me your log?

And tq for ur features bro ..

looks like the issue,which i have mentioned. i got the same error before when I sent multiple files


Make OTEL settings discoverable

As of https://github.com/wasmCloud/wasmCloud/pull/565, the host will send OTEL configuration to providers, based off env vars provided to the host. While this is a "standard" way of specifying OTEL config, not everyone who wants tracing configured will know that. We should explore making this information more discoverable to users. Some ideas:

add config to the CLI arguments
use custom help text on the host?

Note that a documentation page exists already

This might be a scenario where we draw the line in the sand for what we add to the CLI configuration, so I'm totally open to debate on this one. Perhaps documentation is sufficient here for anyone configuring tracing, I just want to avoid a scenario where we're looking for an environment variable in the codebase and that makes it difficult to know how to enable a feature

I see that provider-sdk in pr is no longer compatible with environment variables, which will result in products created by provider-sdk not being able to use OTEL on wasmcloud-otp, and providers created by wasmbus-rpc will not be able to use OTEL on WasmCloud.
Of course, if the above mentioned repositories are updated in a unified way, they will be compatible with each other, but of course user-defined providers will still need to upgrade their dependencies.
Can our plan users choose to use WasmClould-OTP and WasmCloud at the same time, or will WasmCloud replace WasmCloud-OTP?

Providers built using the new SDK won't be compatible with the OTP host. That's not only because env vars (including OTEL-related ones) were removed, but also because the new SDK creates providers from wit definitions
However, we would like to be able to continue running legacy providers on the Rust host, at least for a while. This is a good callout and is something I should be able to handle in https://github.com/wasmCloud/wasmCloud/pull/572. We will have the host pass the two OTEL environment variables to legacy providers 👍