Users/v jandrew/breakout revision for logpoints

Learn Build status updates of commit d60e5b7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/javascript/breakpoints.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 52da615:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/javascript/breakpoints.md
:warning:Warning
View
Details

microsoft-edge/devtools-guide-chromium/javascript/breakpoints.md

Line 44, Column 3: [Warning: bookmark-not-found] Cannot find bookmark '#logpoint-breakpoints' in 'devtools-guide-chromium/javascript/breakpoints.md'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit b6c2410:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/javascript/breakpoints.md
:warning:Warning
View
Details

microsoft-edge/devtools-guide-chromium/javascript/breakpoints.md

Line 44, Column 3: [Warning: bookmark-not-found] Cannot find bookmark '#logpoint-breakpoints' in 'devtools-guide-chromium/javascript/breakpoints.md'.
Line 253, Column 27: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/console/console-log' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 255, Column 1: [Warning: code-block-unclosed - See documentation] Unclosed code block. Code blocks must begin and end with triple backticks (```).
Line 253, Column 27: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/console/console-log' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 954bc0e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/javascript/breakpoints.md
:warning:Warning
View
Details

microsoft-edge/devtools-guide-chromium/javascript/breakpoints.md

Line 44, Column 3: [Warning: bookmark-not-found] Cannot find bookmark '#logpoint-breakpoints' in 'devtools-guide-chromium/javascript/breakpoints.md'.
Line 253, Column 27: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/console/console-log' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 255, Column 1: [Warning: code-block-unclosed - See documentation] Unclosed code block. Code blocks must begin and end with triple backticks (```).
Line 253, Column 27: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/console/console-log' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 5f1ff44:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/javascript/breakpoints.md
:warning:Warning
View
Details

microsoft-edge/devtools-guide-chromium/javascript/breakpoints.md

Line 44, Column 3: [Warning: bookmark-not-found] Cannot find bookmark '#logpoint-breakpoints' in 'devtools-guide-chromium/javascript/breakpoints.md'.
Line 251, Column 27: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/console/console-log' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 253, Column 1: [Warning: code-block-unclosed - See documentation] Unclosed code block. Code blocks must begin and end with triple backticks (```).
Line 251, Column 27: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/console/console-log' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit b515bfd:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/javascript/breakpoints.md
:warning:Warning
View
Details

microsoft-edge/devtools-guide-chromium/javascript/breakpoints.md

Line 44, Column 3: [Warning: bookmark-not-found] Cannot find bookmark '#logpoint-breakpoints' in 'devtools-guide-chromium/javascript/breakpoints.md', did you mean '#logpoint-breakpoint'?

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 8d23280:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/javascript/breakpoints.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit e96b6a6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/javascript/breakpoints.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit fe779fc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/javascript/breakpoints.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 394cc15:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/javascript/breakpoints.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Figure out transmutation algorithm

It should be possible to commit a 256 bit value to an atom. It's okay if this has happened to atoms historically, and random values have been committed to them, since you can also undo transmutation.

Ideas:

Input script: Atoms are transmuted when used as inputs to transactions. Prunable.
Output script: Atoms are transmuted when assigned to special outputs. Not prunable.
OP_RETURN: Including an OP_RETURN as an output transmutes all atoms in the transaction. Prunable,

Idea:

Atoms start with an empty stack.
The low six bits of the fee determine how many bits of the value of each output to push on the stack of the atoms which are assigned to that output.

The value of an atom is the top 256 bits on the stack. You might assign meaning to the rest of the stack, or you can forget about it.
If you want to transmute atoms to a 256 bit value, you need multiple transactions.

Not necessary, NFTs and other such things requiring a value are client-side validated.


Fix typo and add OR operator overload

My clang is still at 15.0.7, so I can't really format the header file :3

Thanks for the pull request. I will merge when the above is resolved.

Done

@NukoOoOoOoO Thanks!


get_owned_games() function not being called when gog galaxy starts for some integrations

Problem
emulators' integrations that use this function to make games appear as installed don't get installed games
Solution
Call the function at the beginning or provide an alternative

Hi @Pab10Suarez
the problem is known. It should be fixed in upcoming release.

Heya just checking up the new update, so for now i have seen that retroarch integrations are fixed now, but dolphin and gamecube are not (have not looked in this last ones) so there's still a problem but is a big fix (for my use) i'll look in detail soon

@Pab10Suarez thanks for sharing the outcome. Actually the logic shouldn't be plugin-platform-wise now. If you could redirect me to those plugins' repositories or share plugin and GalaxyClient logs - that would be helpful for further investigation.

for now i've only used wii and ncube and saw this problem, i think it also happens with others plugins for example cemu/wiiu plug in
logs ncube wii problem.zip

Thanks @Pab10Suarez, could you also attach GalaxyClient.log?

Thanks @Pab10Suarez, could you also attach GalaxyClient.log?

it is there, i didn't put in in the file name sorry

Ok, I think we're on track. There is non-obvious flow regarding to authorization state. Started to working on refactor for that.

Ok, I think we're on track. There is non-obvious flow regarding to authorization state. Started to working on refactor for that.

thx! i think it's very important

Heya last update fixed wii and gamecube error for me probably fixed others plataforms but i'll need to verify thx!


proposal: cmd/trace:  /prototrace endpoint

Context:

The Catapult trace UI shipped with Go is not being maintained anymore (leading to issues like https://github.com/golang/go/issues/34374). The next generation developed by the Chrome team is the Perfetto UI (https://ui.perfetto.dev).
One can manually load traces into https://ui.perfetto.dev. For this the JSON generated by cmd/trace is necessary. As discussed in https://github.com/golang/go/issues/16377, one can do go tool trace ... && curl .../jsontrace to get a file to upload.
I didn't find a canonical issue for migrating to or supporting this web UI, so I'll file this issue that should make using the Perfetto UI easier.

Today, the perfetto UI produced a message I hadn't seen before:

Perfetto UI features are limited for JSON traces. We recommend recording proto-format traces from Chrome.

The docs appear to be: https://perfetto.dev/docs/reference/trace-packet-proto
The trace json output format is fairly verbose, so my hope is that by using proto format we produce more compact files that are easier to ship around and perhaps also lighter weight in the browser. Those extra features they're referencing may be nice too, but I don't know what they are. Currently we cap at 100MiB of JSON data. If we maintain the same cap on proto data (I don't know what the limits of the perfetto UI are) we could represent a larger timeline.

I didn't find a canonical issue for migrating to or supporting this web UI, so I'll file this issue that should make using the Perfetto UI easier.

I thought we did have an issue for migrating to a new UI (likely Perfetto), but I can't find it. I was probably thinking of https://github.com/golang/go/issues/34374#issuecomment-584370815.
Ironically, I just had an offline discussion the other day about how cmd/trace could potentially provide optional Perfetto output even if we haven't yet completely switched the default UI. We will eventually need to replace the Catapult UI, as it is effectively unmaintained and will eventually break again similar to #34374.
cc @golang/runtime @mknyszek @felixge @nsrip-dd


Zeus: nvv4l2h265enc: Error getting capabilities for device '/dev/nvhost-msenc'

The nvv4l2h265enc doesn't  work in zeus-l4t-r32.3.1
gst-launch-1.0 videotestsrc ! nvv4l2h265enc ! fakesink
Setting pipeline to PAUSED ...
libv4l2: error getting capabilities: Inappropriate ioctl for device
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/nvv4l2h265enc:nvv4l2h265enc0: Error getting capabilities for device '/dev/nvhost-msenc': It isn't a v4l2 driver. Check if it is a v4l1 driver.
Additional debug info:
v4l2_calls.c(98): gst_v4l2_get_capabilities (): /GstPipeline:pipeline0/nvv4l2h265enc:nvv4l2h265enc0:
system error: Inappropriate ioctl for device
Setting pipeline to NULL ...
Freeing pipeline ...

The kernel send me this:
[  225.718522] (NULL device *): nvhost_channelctl: invalid cmd 0x80685600

Does /dev/nvhost-msenc exist? If it doesn't, check lsmod to see if the nvgpu driver is loaded.  Depending on what image you're building, the driver may not have been included automatically in your build (e.g., core-image-minimal).
Also, I don't think you can connect videotestsrc directly to nvv4l2h265enc, since the encoder requires NVMM buffers.  This is mentioned (although not necessarily abundantly clear) in the Accelerated GStreamer section of the L4T documentation.  When I try your pipeline on my builds, gstreamer reports an 'erroneous pipeline'.
Your options are either to use the (still present, but deprecated) omxh265enc element, or to use, for example, nvvidconv to convert the normal raw buffer to NVMM for you:
$ gst-launch-1.0 videotestsrc ! nvvidconv ! nvv4l2h265enc ! fakesink

The nvhost_channelctl: message you see from the kernel is due to one of the V4L2 plugins (libv4l-mplane, IIRC) sending a V4L2 ioctl to one of the NVIDIA drivers that doesn't support that ioctl.  It's safe to ignore.

I write this sort pipeline as an example. This error comes from a big one that work in previous versions of zeus
gst-launch-1.0 videotestsrc ! nvv4l2h265enc ! fakesink

I can add nvvidconv but the result will be the same, I will check this.
I need to check the presence of nvgpu kernel module.
Thanks for your quick answer.

This doesn't work as you said
gst-launch-1.0 videotestsrc ! nvv4l2h265enc ! fakesink
WARNING: erroneous pipeline: could not link videotestsrc0 to nvv4l2h265enc0

To simplify
--videotestsrc
++fakesrc

gst-launch-1.0 fakesrc ! nvv4l2h265enc ! fakesink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/nvv4l2h265enc:nvv4l2h265enc0: Error getting capabilities for device '/dev/nvhost-msenc': It isn't a v4l2 driver. Check if it is a v4l1 driver.
Additional debug info:
v4l2_calls.c(98): gst_v4l2_get_capabilities (): /GstPipeline:pipeline0/nvv4l2h265enc:nvv4l2h265enc0:
system error: Inappropriate ioctl for device
Setting pipeline to NULL ...
Freeing pipeline ...

And the last I have the nvgpu kernel module loaded
lsmod|grep nvgpu
nvgpu                1720663  0

Do you have the NVIDIA libv4l2 plugins at /usr/lib/libv4l/plugins?  There should be libv4l2_nvvidconv.so and libv4l2_nvvideocodec.so there.  If not, make sure you add tegra-libraries-libv4l-plugins to your image.

I have it place:
ls -l /usr/lib/libv4l/plugins
total 44
-rw-r--r-- 1 root root 32000 Oct 27  2020 libv4l2_nvvidconv.so
-rw-r--r-- 1 root root 10112 Oct 27  2020 libv4l2_nvvideocodec.so

I think  the problems comes in:
meta: update L4T BSP from R32.2.3 to R32.3.1 …
https://github.com/OE4T/meta-tegra/commit/9c0da22392f34e0b2c43ceba5a548051e14bf099
or
meta: update L4T from R32.2.1 to R32.2.3
https://github.com/OE4T/meta-tegra/commit/9e6e40d5d8a1bacc4691b52ff8315f080bda041d
I need to revert this commits because i have a previews zeus version that work as expected with nvv4l2h265enc

Hmm. I running an image on my Nano from the latest off the zeus-l4t-r32.3.1 branch, and everything is working as expected.

I said that the problem comes in 9c0da22 or 9e6e40d but it's not true.
I have cherry-pick 262783e and 847049f but it not solves.
I have try to find it with different kernels version but I can't find where the problem comes.
I forgot to mention that this problem is on the TX2 and I only use OE core layer

OK, I was able to reproduce this.  The other change you need to cherry-pick is 0e0119b5ef92f482fca57accf811b9f9b2d8e57e. This omits some NVIDIA-provided binary-only libraries that are interfering with normal libv4l2 and are trying to open the v4l2 plugins on a non-existent path (from their Ubuntu file system layout).
With that change in place, I get a more normal-looking failure.  By adding gstreamer1.0-plugins-tegra to my image and adding nvvidconv to the pipeline, I can now see the gst_buffer_resize_range errors you mention on #471 .

Thank you for the clarification.
The solution for this are on https://github.com/OE4T/meta-tegra/commit/0e0119b5ef92f482fca57accf811b9f9b2d8e57e as you said. I will try it and came back with the result.

The commit 0e0119b fix the issue and now the nvvideo4linux2 works as expected.
I tested it in diferente setups: encoding, decoding and transcoding.
Thank you very match.


Boyer–Moore majority vote algorithm

💥 Proposal
(A clear and concise description of what the proposal is.)
The Boyer–Moore majority vote algorithm is an algorithm for finding the majority of a sequence of elements using linear time and constant space.
Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Yes
Assignees

C-Plus-Plus:
C-Sharp:
C:
Go:
Java: @ShubhamPatel33
JavaScript:
Python:
Q-Sharp:

Can i do it in Python @iamrajiv

Can I do it in C++?

Can I do it in C?

I want to take up this issue in JavaScript

I would like to do this in C++ Please assign me this.


vulture: init at 1.6

Motivation for this change
Adds the vulture tool for detecting dead code in Python.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@davidak thanks for catching that. I hadn't yet tried to build with sandboxing (but now realize that is super important!). I think the issue was trying to run the tests with tox (which does some impure stuff trying to create virtualenvs and pip-install test dependencies).
I found a couple of examples of packages using tox where we either fall back pytest or disable checks altogether. For now I opted to use pytest directly.


[5.7] Update unit-one-sourcefile-remapped.swift round tripping

cherry-pick https://github.com/apple/swift/pull/59110 to Swift 5.7
No longer test the round trip remapping for the output file - we'll be
changing the reader to preserve the canonical output file path instead
of converting it back to local. Once all of the changes are complete, we
can swap this to verify it is canonical, but indexstore-db will also
check this with its own tests.

@swift-ci please test


add req.body condition and {a, b} = req.query(or body) condition

router.get('/me', async (req, res, next) => {
    // #swagger.tags = ['account']
    let me = req.query.me;
    let {a, b} = req.query;  // new condition
    let {c, d} = req.body;  // new condition in body
    let e = req.body.e;  // new condition in body
    res.json({a, b, c, d, e});
});

Hi @whlshy. Great! Thank you for implementing this feature!
I'll just make sure  if it doesn't conflict with the projects that I use for testing here. But, I already tested it with some projects here and it works fine.
I will try to test with the others projects as soon as possible.

Hi @whlshy.
Some projects conflicted with the change. So, it was necessary to make some changes.
And in order not to break compatibility with projects that already use the module, for this version (2.x.x) of the module, the following rule was (for the body):

If the #swagger.parameters[...] = { in: 'body' } is missing, the body will be recognized normally.

If there is some #swagger.parameters[...] = { in: 'body' } and the schema parameter is present, automatic recognition will be ignored. This allows for greater control over the documentation.

If there is some #swagger.parameters['parameter_name'] = { in: 'body', description: 'Any description ...' } and the schema parameter is not present, automatic recognition will be performed and the parameters 'parameter_name' and 'description' will be assigned to the body.

For example:

/* Recognize the body */
router.post('/test_body_000', (req, res) => {
    const myItem1 = req.body.item1;
    const { item2, item3 } = req.body;
})

/* Recognize the body and add more informations */
router.post('/test_body_001', (req, res) => {
    /*  #swagger.parameters['parameter_name'] = {
           in: 'body',
           description: "Any description..."
    } */
    const myItem1 = req.body.item1
    const { item2, item3 } = req.body
})

/* Ignore the body recognition */
router.post('/test_body_002', (req, res) => {
    /*  #swagger.parameters['any_name'] = {
            in: 'body',
            description: "Any description...",
            schema: {
                $name: "Jhon Doe",
                $age: 29,
                about: ""
            }
    } */
    const myItem1 = req.body.item1
    const { item2, item3 } = req.body
})

The result is:

For the query parameter, it was necessary to make some adjustments to be recognized in other projects.
Thanks again for the work and soon I will submit the changes.

The version 2.7.0 implemented this feature. If you have any problems because of the changes, let me know.

Hi @davibaltar,
Thanks a lot for upgrading this feature, this feature is very helpful to me.
And you have considered more situations than me, although I usually may not use those functions. XD
But your kit is very useful, I tested the new version and it works normally, and it can work. thank you!

Hey @davibaltar ,
I must say, this package is extremely useful. However, it would greatly benefit from considering one more condition, such as req.body['name'].


Ignoring .ini files in subdirectories in .gitignore?

When I merged the new (well, sort of new) .gitignore file and did a git pull, I think I lost too many files:
delete mode 100644 quisp/networks/newNTimes/PerfectFixedChannelOnly10_nTimes_DS_DSinvPuri_Low_memEerr.ini
delete mode 100644 quisp/networks/newNTimes/Perfect_FixedChannelOnly10_nTimes_DSXZinvPuri_Low_memErr_.ini
delete mode 100644 quisp/networks/newNTimes/Perfect_FixedChannelOnly10_nTimes_XZPuri_Low_memErr_.ini
delete mode 100644 quisp/networks/newNTimes/Perfect_FixedChannelOnly10_nTimes_XZinvPuri_Low_memErr_.ini
delete mode 100644 quisp/networks/newNTimes/Perfect_FixedChannelOnly10_nTimes_separate_XXZPuri_Low_memErr.ini
So maybe the rule as written doesn’t correctly keep .ini files in subdirectories?

I think you have it. if not, you can find it here.
https://github.com/sfc-aqua/quisp/tree/0.1.0
https://github.com/sfc-aqua/quisp/tree/ee8873aa074b13687bcfaa703462d67811ab587b/quisp/networks/newNTimes


Add way to include payment details

Love this software, thanks for releasing it!
On my invoices, I include my payment details so the client can pay me. I can't see a way to do that currently (but I could have missed it?). It would be great to have this feature.

@joekroese there is a section in the footer of the invoice where you can write your payment details and any other information. You'll see I named it as Notes/terms.

I saw the Notes/terms section. The problem with using that for payment details is that I have to write my payment details there each time instead of them being copied over from previous data.

@joekroese okay, I get your point. I will include this in the next update.

Amazing, thanks for your great work on this @panshak!

@joekroese, this feature has now been added. Go to profile settings, add your payment info and it'll appear across all new invoices.


defaults for relatedoptions

Not so much a bug, but slightly unintuitive behaviour.
The default for relatedoptions is dataonly which sets the various options as explained in the manual. This is good and makes sense.
But if the entry pointed to by related also has options, e.g. useeditor=false, then this is not automatically transferred to the related clone. So the output when used as a related entry is different to when cited directly. For (what I think is) intuitive behaviour, you need to then set relatedoptions = {dataonly, useeditor=false}.
Would it not make sense to append dataonly to the options field of the clonesource and use that as the default for relatedoptions?
It's not a big deal, and the manual is clear. So feel free to ignore if you think the current behaviour is better, or there are technical issues in doing this.

I agree that this should behave as you mention, copying the options which can be then overridden. Fixed with regression test in latest 2.6. It's good that you are stretching the related functionality so we can pick up these edge cases.

Nice! It works. Except I realise now that this doesn't actually help in most of my cases :(.
I have an idea how what I want could be included as a feature. But I think it better fits with biblatex. I'll open an issue there.


Typo at react.dev/reference/react/lazy

At the page https://react.dev/reference/react/lazy, we see the sentence, “lazy lets you defer loading component’s code until it is rendered for the first time.”
I draw your attention to the incorrect component’s, which should be components’.

@rmschindler I think its grammatically correct.

I beg your pardon, but you are not right, @rohan-kapse, about its being grammatically correct. But you made me notice that my suggestion for the correction was not right, either.
Here is my renewed suggestion:
instead of:
"lazy lets you defer loading component’s code until it is rendered for the first time"
this:
"lazy lets you defer loading the component’s code until it is rendered for the first time"

@rmschindler couldn't agree more : )


robot_description subscriber callback not being reached.

Hi @sjahr @sea-bass , as of https://github.com/moveit/moveit_drake/pull/18/commits/4dcb2169669438bf07c5619debb63798643b342f, I have made a few changes to log and report robot_description status. It seems that the callback to the robot_description subscription is not being called. I see that the ktopt planner manager is being initialized, however the lambda that implements the callback to the robot_description subcription does not get executed. Do you guys see something that I don't see?

Is the description published? If yes, as a very dirty workaround you could create a string in the ktop cpp file with the copy&pasted config and use that for the multibody plant (intermediately). I can maybe take a look into the publisher issue on the weekend

Yes it is! I'll do that

Solved in #18 and https://github.com/moveit/moveit_drake/pull/18/commits/ad817c26f72dcf254d864301eb3c8c0d1bd20e7c


Issues with running the bot

The bot only runs once and stops, after I call the bot.Run() method. should I enclose the method in a while loop

my_code
func start() {
	bot.AddHandler("/start", func(u *objs.Update) {
		// Sends the message to the chat that the message has been received from.
		// The message will be a reply to the received message.
		_, err := bot.SendMessage(u.Message.Chat.Id, "hi i'm a telegram bot", "", u.Message.MessageId, false, false)
		if err != nil {
			log.Fatal(err)
		}
	}, "private", "group") // this handler will only work if the received message is from a private chat or a group chat.
}

func main() {

	// update configs
	up := cfg.DefaultUpdateConfigs()

	// Bot configs
	cf := cfg.BotConfigs{
		BotAPI:         cfg.DefaultBotAPI,  //This is the address of the bot API server. If you are not running a local api server, use cfg.DefaultBotApi constant for this field.
		APIKey:         token,              // bot father api key
		UpdateConfigs:  up,                 // This is the update related configs such as update frequency (default : 300 milliseconds). You can use cfg.DefaultUpdateConfigs() method for this field
		Webhook:        false,              // Pass true if you want to use webhook for receiving updates. (Telego currently does not support webhook).
		LogFileAddress: cfg.DefaultLogFile, // the logs of the bot
	}

	bot, err = bt.NewBot(&cf)

	if err == nil {
		//Start the bot.
		err = bot.Run()
		if err == nil {
			start()
		} else {
			fmt.Println(err)
		}
	} else {
		fmt.Println(err)
	}
}

Thank you for submiting your issue!
What do you mean it stops? Your program exists or it dose not receive any updates? Please share some more information so that i can help you better, thanks!

The problem is you dont wait for anythig, you just start the bot (which works async) and then you add a handler and thats all. As you may already know when the go main routine finishes (main function) the program exists and that is exactly whats is happeing in your code. Try creating a channel and wait for a value from ghe channel or just register a global channel to bot. I will try to show the both options in the code :
To use bot global update channel :
`
func start() {
bot.AddHandler("/start", func(u *objs.Update) {
// Sends the message to the chat that the message has been received from.
// The message will be a reply to the received message.
_, err := bot.SendMessage(u.Message.Chat.Id, "hi i'm a telegram bot", "", u.Message.MessageId, false, false)
if err != nil {
log.Fatal(err)
}
}, "private", "group") // this handler will only work if the received message is from a private chat or a group chat.
}
func main() {
// update configs
up := cfg.DefaultUpdateConfigs()

// Bot configs
cf := cfg.BotConfigs{
	BotAPI:         cfg.DefaultBotAPI,  //This is the address of the bot API server. If you are not running a local api server, use cfg.DefaultBotApi constant for this field.
	APIKey:         token,              // bot father api key
	UpdateConfigs:  up,                 // This is the update related configs such as update frequency (default : 300 milliseconds). You can use cfg.DefaultUpdateConfigs() method for this field
	Webhook:        false,              // Pass true if you want to use webhook for receiving updates. (Telego currently does not support webhook).
	LogFileAddress: cfg.DefaultLogFile, // the logs of the bot
}

bot, err = bt.NewBot(&cf)

if err == nil {
	//Start the bot.
	err = bot.Run()
	if err == nil {
		start()
                    ch := bot.GetUpdateChannel()
                    for {
                            up := <- *ch
                   }
	} else {
		fmt.Println(err)
	}
} else {
	fmt.Println(err)
}

}
`
To use another channel :
`
func start() {
bot.AddHandler("/start", func(u *objs.Update) {
// Sends the message to the chat that the message has been received from.
// The message will be a reply to the received message.
_, err := bot.SendMessage(u.Message.Chat.Id, "hi i'm a telegram bot", "", u.Message.MessageId, false, false)
if err != nil {
log.Fatal(err)
}
}, "private", "group") // this handler will only work if the received message is from a private chat or a group chat.
}
func main() {
// update configs
up := cfg.DefaultUpdateConfigs()

// Bot configs
cf := cfg.BotConfigs{
	BotAPI:         cfg.DefaultBotAPI,  //This is the address of the bot API server. If you are not running a local api server, use cfg.DefaultBotApi constant for this field.
	APIKey:         token,              // bot father api key
	UpdateConfigs:  up,                 // This is the update related configs such as update frequency (default : 300 milliseconds). You can use cfg.DefaultUpdateConfigs() method for this field
	Webhook:        false,              // Pass true if you want to use webhook for receiving updates. (Telego currently does not support webhook).
	LogFileAddress: cfg.DefaultLogFile, // the logs of the bot
}

bot, err = bt.NewBot(&cf)
    ch := make(chan int)
if err == nil {
	//Start the bot.
	err = bot.Run()
	if err == nil {
		start()
                    x <- ch
	} else {
		fmt.Println(err)
	}
} else {
	fmt.Println(err)
}

}
`
I hope it solves your issue :)
We will try to fix this problem in the next release.

It works thanks.
By the next release this will be built into the bot.Run() method, right?

I'm glad!
Exactly, we will work on it.
Thanks again for notifying us!


Database index on slug column

I was wondering whether an index is necessary and, in case, why this is not mentioned in the documentation.
Many thanks in advance for your help.

No, it's not necessary :)

Not necessary.  It might help if you do a lot of SELECT * FROM posts WHERE slug="..." type queries.


docs: updated image URLs in markdown files

Closes #6758
Closes #6924
Replace broken https://placekitten.com placeholder images with https://loremflickr.com.

I have signed the Contributor License Agreement.

Isn't this PR a duplicate of #6927?

@chogyejin
Oh, It seems so.


out proper json

Currently the -j/-json option in query command does not output valid json as it simply prints the dict. This fixes the issue.

Oops. Yes, you're right. Thank you! :)


fix: Take advantage of asynchronous code on LockRepoCommand

[X] Did you write/update appropriate tests
[X] Release notes updated (if appropriate)
[X] Appropriate logging output
[X] Issue linked
[X] Docs updated (or issue created)

Explanation / Reason behind this PR
We can take advantage of asynchronous programming and, since getting team project id and repo id are idempotent, we can paralyze those calls.
Further Details
While I was studying this solution, I did some improvements that you may want to benefit from. If it doesn't add value to your project feel free to close the PR 👍

Please disregard my previous comment (I deleted it already). My only two cents is that to me this is a bit of a micro-optimization but I don't think it is going to be a big deal.

No worries! If you prefer to keep the execution sequential, feel free to close this PR 👍


Surface compression options in the ObjC library

At the very least, a user needs to be able to tell the library "don't compress this message".

I have a design that's non-breaking, so this might happen after Beta.

@jayantkolhe As clarified in the last meeting, the default of the C library is to not compress anything, so the current status is secure.
Compression is very important for mobile use cases, though, so we'll definitely let the user specify a compression algorithm per host, and whether to disable compression per proto message (or binary message in the case of the raw gRPC library). None of those two things will produce breaking changes in the API:

Setting a compression algorithm per host will be done by adding a method similar to the ones currently used to specify other per-host options like "don't use SSL" or "use test certificates".
Disabling compression for a message will be done by adding a BOOL property to GPBMessage and NSData using an Objective-C category (no code change needed from the proto team). As is customary with category additions, the property name will be prefixed (with grpc_) to avoid collisions with properties and methods of the extended class.

It's still pending how will hosts publish what compression algorithms they support.

this is done.


combinedClickable onClick is different then clickable onClick

Seems like Modifier.combinedClickable() fires onClick on mouse down event while Modifier.clickable() fires on mouse up. Is there a way to handle mouse down event and long-press or double click event in the same Composable without measuring time between clicks :) ?

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Remove computed internationalization

Description

removed computed function from peoples array as content will be generated from an API

@amanuela97 that's a bit too much logic for simple thing, but okay


Can't read comic on iPhone.

Hey guys, I love comiz. Thanks for created this.
I found that the comic page can't not open on my iPhone 6 plus. (iOS 9.3.5)
like this
but the index page is fine.
Any suggestions?

Well, I tried to open it on other iOS device.
Gotcha!
The problem is comic page can't not open during private browsing.
it's good on default.

@bugtender Nice catch!
I haven't dig deeper for this issue but I suspect there might be an issue that only appears on iOS safari. I realized that iOS safari is unable to open comiz when private browsing but it works pretty well on Mac even if we're in private browsing too.


File transfer

transfer initial files from Dmux package

I just saw this a few moments ago but I was going to suggest to only keep the profiles-related stuff. All the extra stuff in the src directory will live within the pipeline's repo.

pipeline's

Yeah I need to filter some more ill put back pr tomorrow. But I thought we agreed to store both profiles and code for server context here.

For the time being, I would just put the snakemake profiles here. I would also remove the SLURM sidecar stuff since we aren't going to be using it.


Validation: Removed Duplicate Headers and Added Missing Alt Text

Removed duplicate headers and added missing alt text.

@Rick-Anderson
The Content & Learning team is fixing build validation errors on docs.microsoft.com for the rest of H2. This will eliminate potential accessibility, security, and usability issues. This PR includes only build validation fixes and does not change other content. Please review within five business days and merge or comment in the PR with any changes you’d like to see. Thank you!


vte291: patch CVE-2024-37535 (CP: #10275)

COPIED FROM ORIGINAL #10275

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

Add patch for CVE-2024-37535
Change Log

CVE-2024-37535

Does this affect the toolchain?

NO
Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2024-37535

Test Methodology

Pipeline build id: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=630098&view=results

Only failing ptests is nbdkit, which is a known failing test.

Auto cherry-pick results:

3.0-dev :x: -> https://github.com/microsoft/azurelinux/pull/10459

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=640017&view=results


Fresh installation => Getting a 400 Bad Request on authentification

Current Behavior
It's not my first app using this awesome package but this time, on my new app with the version 12.0.0, I can't get the authentification process to work. I'm always getting a 400 bad request error after the permission screen approval.
Failure Information
Here is a screenshot of the issue : https://www.dropbox.com/s/wwgi72ox6f58u81/screenshot_400_issue.png?dl=0
Steps to Reproduce

Follow the installation guide
Create a new public app on your Shopify partner dashboard and configure your app URL and whitelisted URL
Configure your .env / shopify-app.php config file as described in the installation guide
Go to your app URL
Approve the permissions on the screen
You are redirected to the 400 error as described in my screenshot.

Context

Package Version: v12.0.0
Laravel Version: v7.17.2
PHP Version: v7.3

I'm using ngrok to server my app from local to the web.
Don't hesitate if you have any questions - I hope someone had the same issue and can help me to fix it.
Thanks!

OK, I've found the solution!
It was simple : seems like the environment variable in version 12.0.0 for the Shopify API secret has changed from SHOPIFY_SECRET_KEY to SHOPIFY_API_SECRET... Which was causing the issue because Laravel couldn't find the API secret of the app...


consider stereotype syntax

Excellent suggestion from Juing: https://github.com/StateSmith/StateSmith/issues/167#issuecomment-1510796896
UML stereotypes are a good idea. Nice syntax. Could be very useful for users wanting to add custom extensions: find all states with a stereotype and add custom behavior. Cleaner than using $mod.
I actually like the syntax better for ordering behaviors as well.
<2> EVENT1 / stuff( );
2. EVENT1 / { stuff( ); /* somewhat user error prone */ }

The problem with 2. EVENT1 / stuff( ); is that users (myself included) sometimes forget the period and write 2 EVENT1 / stuff( ); which is invalid syntax. More likely to happen if someone uses a decimal as well. 2.0 EVENT1 / stuff( ); is invalid. Would need to be 2.0. EVENT1 / stuff( );. Perhaps we could just drop the requirement of needing the dot after the number.

Just a note ... multiple stereotypes shall be possible I guess, e.g.:
<behavior> <1> EVENT [guard]  / action()

@iamjuing I'd like to start with stereotypes for states first. How does the below syntax look? I'm thinking we support either single or double angle brackets. The stereotype would have to come before the state name.

Note: to be able to change the swimlane title divider height, you have to edit the shape's style to make it rotatable or manually set startSize to something like 45.

Looks good to me. The double angle brackets is actually what the UML standard uses. I would go with that.
Having more stereotypes:

Good call on multiples. I think I'll leave the parsing grammar very permissive while we experiment. You'll be able to put anything between the angle brackets: <1>, <<menu(2, 4)>>. We can lock it down later after we gather feedback and experience using it.

Ok.
Let's define to what elements stereotypes can be applied:

$STATEMACHINE
state behaviours (except entry/exit)
external transitions
simple states
composite states

Placement: always first
Let's defined also the initial list of StateSmith reserved ones:
state behavior: ,
external transition:
N ... code generation order

Sounds good to me. I'll implement the standard StateSmith reserved stereotypes as a transformation step so that people can easily disable that if they want to.


error in demo/cli.py

Thanks for the great work.
When I run demo/cli.py following
python -m demo.cli --resume_from_checkpoint chenjoya/videollm-online-8b-v1plus

I encounter this error if I replace src_video_path = 'demo/assets/cooking.mp4' with src_video_path = 'demo/assets/bicycle.mp4':
tensor([[13]], device='cuda:0') != 933

in videollm-online-main/demo/inference.py, line 44
How can I solve this problem?
Also I find the model keeps repeating 'You hold a piece of wood.' when I use cooking.mp4 as the input without changing the original  question, what can be the reason of this phenomenon?
Thanks for your answer.

Hello, seems to be the same question as #15. Could you update your transformers version & the llama3 cache?

Closed. Feel free to reopen the issue if you do not solve that.


Use IPv6 to visit the website, umami can count the country where the visitor is located, but there is no specific city.

Operating
environment introduction: Docker running, umami version v2.1.0, database: Supabase cloud
Problem Description
According to umami statistics, there are 6 visitors, and these 6 visitors are all in the same country. When checking the specific visitors, only 1 visitor shows the specific city, and the other 5 visitors disappeared, and then passed the mobile network test (mobile phone The network has IPV6), when the visitor visits through IPV4, it can be counted to the specific city, and when it is accessed through IPV6, it can only be counted to the country where it is located.
other problems
The visitor area is divided into countries, provinces, and specific cities. There are too many levels. I want to quickly see the area where the visitor is located.
Also, since the specific cities of visitors can be displayed, can the map show how many visitors there are in each province? Now it only shows the country in general.

We use MaxMind's GeoLite2-City.mmdb, which looks like it may not always have a city or region for IPV6. We recently added regions / cities data, so you can have a more granular level of where your visitors are coming from and to be able to filter on those as well. The map in v1 was only connected to countries and still is in v2.

Ok, I've now turned off IPv6 access.


feat: initial implementation for Gitlab-based repositories

This PR adds a new gitlab vendor and source for syncing git repositories. Closes #798

looks good to me, though I had some trouble running the GIT_COMMITS syncer on a gitlab repo brought in by the auto import.


feat: Added support to .NET8

Description
copilot:summary
Related Issue

Explanation of Changes
copilot:walkthrough
Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] Implemented tests for new features.
[x] I tested the features already implemented.
[x] Added usage examples in the readme.

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


Add Virtual Coffee Podcast

What does this PR do?
Add resource(s)
For resources
Description
Virtual Coffee is a tech community where friendships are formed and support is given to people at all stages of their journey.
I add it in the JS category but it's really a general tech community
Why is this valuable (or not)?
It's not just a podcast, it's a community. It started during covid but remain active.
How do we know it's really free?
I believe it's completely free. it is an open-source community.
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!


Update Russian and Ukrainian translations

coverage: 60.675%. remained the same
when pulling 9544e44cc1778b3839d799c0e2ba0dfbc37fed27 on feature/update-ru-uk
into 285e2490204a94355f924ad2f2dcc747ebb7b1a8 on master.


"im.turms.server.common.storage.redis.sharding.ConsistentHashingShardingAlgorithm"did not consider redis  expansion

This is the client implementation,redis cannot guarantee that the node will fall on the same node after adding the node。Excuse me, is my understanding wrong?

Your understanding is half right. Turms support a fixed number of Redis nodes or clusters, meaning:

If you use Redis clusters, it's fine to add new nodes, but you cannot add a new cluster as the following diagram shows.
If you don't use Redis clusters, but let turms servers connect to Redis nodes directly, it's correct that you should not add new nodes.

If you use Redis clusters,in fact, the consistent hash algorithm does not work. The node to which the key is assigned is determined by the hash slot of the redis cluster

If you use Redis clusters,in fact, the consistent hash algorithm does not work. The node to which the key is assigned is determined by the hash slot of the redis cluster

Your understanding is wrong because they are two different things.
Turms uses the consistent hash algorithm to choose the Redis servers that users choose, and it's can be a master instead of a data node.


Added work by University of Modena

Hi @Bigazzon thank you for contributing. I think adding this paper to the exploration section makes sense, but why Misc? Is there a reason?

Hi Changan,
actually exploration section is also fine! I put it under Misc because it’s not completely focused on exploration since it also includes embodied captioning, but maybe it’s better to have it under exploration.
Thanks for reaching out to me.
Best,
Roberto Bigazzi
Da: Changan Chen
Inviato: venerdì 14 ottobre 2022 16:07
A: ChanganVR/awesome-embodied-vision
Cc: Roberto Bigazzi; Mention
Oggetto: Re: [ChanganVR/awesome-embodied-vision] Added work by University ofModena (PR #24)
Hi @Bigazzon thank you for contributing. I think adding this paper to the exploration section makes sense, but why Misc? Is there a reason?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Great. In that case, could you push a new commit that removes it from Misc? I'll merge your PR after that.

I forgot to change the title of the second paper I added, that's why it was confusing... But I put it under the exploration section anyways. Do you think it's fine?

that is fine. But it looks they still have the same link to IEEE.

Sorry about that, it should be ok now. Thanks for your patience.


Feature Request: Allow alarm_control_panel components to send custom modifiers

Currently, the alarm_control_panel components all have hard-coded methods to set "away," "home," or "disarm." This severely limits the amount of functionality most alarm's offer.
For instance, I would like to be able to toggle my chime via Home Assistant. To do that, I must enter my code + 9 to toggle the chime. Additionally, I would like to be able to trigger "Panic" from Home Assistant so that I can use Home Assistant to add another physical alarm control panel via touchscreen.
I propose adding a new method that allows the code plus an additional number that is configurable via the JSON sent to the command so more advanced features of alarm panels can be realized in Home Assistant.

For example, I created a copy of the Alarm Decoder component into my custom components folder and am abusing the alarm_arm_custom_bypass function (since it is not used in Alarm Decoder currently) like so:
    @asyncio.coroutine
    def async_alarm_arm_custom_bypass(self, code=None):
        """Send custom bypass command."""
        _LOGGER.debug("alarm_arm_custom_bypass: %s", code)
        if code:
            _LOGGER.debug("alarm_arm_custom_bypass: sending %s", str(code))
            self.hass.data[DATA_AD].send("{!s}".format(code))

Now, I call alarm_control_panel.alarm_arm_custom_bypass with CODE + 9 for chime.

Please use the forum for feature requests. If you have code that you want to propose you can make a pull request. In general a feature needs to be used by more than one platform before we accept adding a new service to a component.


Newsletter 11: add Mun

Part of #172 ("Newsletter 11: Coordination/Tracking")

Replaced the logo with the gif for consistency:

@baszalmstra, you don't mind?

thats fine 👍


Widget Types

Is there any way to customize the widgets?

Hi Carlos! Right now we don't have a way to customize the widgets, but it is on our roadmap to enable that. We do have a full API available if you would like to write your own front-end on top of them. You can find that documentation here: https://docs.mx.com/api-reference/platform-api/reference/mx-platform-api


Comparison valuation

Should include metrics, plots, correlation analysis for daily values with the ability to filter by date

To include revenue charts, debt, etc


Cloud DNS and Shared VPC

This PR is a module to allow application teams to have their own Cloud DNS configuration.
It does the following:

Creates a GCP project (that will be dedicated to Cloud DNS) for each application team
Creates an empty VPC in this project, enables required APIs
Creates a Cloud DNS private zone for each application team
Creates a Cloud DNS peering zone in the host project to each application team

Hew @aurelienlegrand, this is a really nice example.
Looking at the module itself, it seems it only creates a project, a VPC and a few Cloud DNS resources. Do you think it would make sense to convert the module to a e2e example and reuse the existing modules for those resources. Check out the examples in the networking or foundations folders.
@ludoo what do you think?
BTW ping me if you need help fixing those tests.

Hew @aurelienlegrand, this is a really nice example.
Looking at the module itself, it seems it only creates a project, a VPC and a few Cloud DNS resources. Do you think it would make sense to convert the module to a e2e example and reuse the existing modules for those resources. Check out the examples in the networking or foundations folders.
@ludoo what do you think?
BTW ping me if you need help fixing those tests.

Looking at the module itself, it seems it only creates a project, a VPC and a few Cloud DNS resources. Do you think it would make sense to convert the module to a e2e example and reuse the existing modules for those resources. Check out the examples in the networking or foundations folders.

I was chatting with Aurelien, and we were discussing the same thing. I think we're all aligned on moving this to the cloud operations folder, and switching to using modules internally. :+1:

Looking at the module itself, it seems it only creates a project, a VPC and a few Cloud DNS resources. Do you think it would make sense to convert the module to a e2e example and reuse the existing modules for those resources. Check out the examples in the networking or foundations folders.

I was chatting with Aurelien, and we were discussing the same thing. I think we're all aligned on moving this to the cloud operations folder, and switching to using modules internally. :+1:

Merging into a local branch so we can help adding tests, and with final tweaks. @aurelienlegrand can you then reopen a PR to merge from local branch to master?

Merging into a local branch so we can help adding tests, and with final tweaks. @aurelienlegrand can you then reopen a PR to merge from local branch to master?


TableGen Headers Included Before They Are Generated

TableGen Headers Included Before They Are Generated
Issue:
The issue is due to StablehloLegalizeToTosa.cpp attempting to include a TableGen'd file (StablehloEnums.h.inc) that hasn't been generated yet, resulting in the following build failure:
In file included from /stablehlo/stablehlo/conversions/tosa/transforms/StablehloLegalizeToTosa.cpp:25:
/stablehlo/stablehlo/dialect/StablehloOps.h:45:10: fatal error: 'stablehlo/dialect/StablehloEnums.h.inc' file not found
#include "stablehlo/dialect/StablehloEnums.h.inc"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Reproduce:
To reproduce this issue on Linux or Mac, follow these steps:
export LLVM_PROJECT_BUILD="/path/to/llvm-project/build"
git clone https://github.com/openxla/stablehlo.git
python3 -m venv stablehlo_venv
source stablehlo_venv/bin/activate
pip install ninja cmake
cd stablehlo
cmake -B build -G "Ninja" \
        -DCMAKE_C_COMPILER=/usr/bin/clang \
        -DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
        -DMLIR_DIR=${LLVM_PROJECT_BUILD}/lib/cmake/mlir \
        -DCMAKE_BUILD_TYPE=Release \
        -DLLVM_ENABLE_ASSERTIONS=ON
cmake --build build -j2

Resolution:
To resolve this issue, explicitly define the dependency between StablehloLegalizeToTosa.cpp and StablehloEnums.h.inc. Otherwise it is the luck of the draw which one will compile first.
This fix  defines the StableHLO TableGen'd headers as a dependency to for the for the MLIR library that includes StablehloLegalizeToTosa.cpp . This ensures that the stablehlo header files are always generated before the library is compiled.

View this failed invocation of the CLA check for more information.

Could you follow this link and sign the CLA when you get a chance? Then we can merge this.

Thanks @GleasonK! Currently in the process of obtaining a corporate CLA. It's proving to be more finicky than I anticipated. I expect it to work out, but according to the troubleshooting guide, the process will take a few days.

View this failed invocation of the CLA check for more information.

Could you follow this link and sign the CLA when you get a chance? Then we can merge this.

@GleasonK CLA signed, should be good to merge :)


Fix build

Merged too soon, was going to apply this fix to the PR still :D

Checks completed, @waydabber can you please approve & merge?

Checks completed, @waydabber can you please approve & merge?

Ooops sorry

No problem, I understand the enthusiasm and should've been more obvious that I wanted to add commits to it, congrats on the release! 🎉


Tests

Seems like this got abandoned since it's ~3 mo stale, so I picked this up to unblock the work to get kanalyze off the ground =)

I've polished some of the testing ideas you introduced here to use treepath
I formalized treepath (already submitted)
I reworked the tests to give better error messaging in https://github.com/otrego/clamshell/pull/85

#85 is now submitted.


Develop ::: Fixed a few bugs I found

I fixed a few bugs I found in the library. Great library! Thanks for writing it.
I am hoping to deploy this library to a number of projects I have right now so if you could update your spark as well that would be amazing.
Thanks.
~Spicer

Hi Spicer, thanks for your pull request. I'll look into this later this weekend.

Hi Spicer, I promised to get back to you this weekend, but I had something else coming up. I'll look into this tomorrow. Please make sure you make the pull request on the develop branch and merged all changes (if any).
Thanks!

I merged in your changes and added you to the 'thank you' section. Thanks for helping out!

Hey Joel,
Thanks for merging this in. Sorry did not do a pull request to the develop branch. I will do that next time.
~Spicer

No problem, it just means I need to get to my machine instead of merging the changes from my phone/browser. :)


Feature: Official API to generate CSS via external JS (useful for integrating TW-JIT into projects that don't use Node.js/WebPack)

This project looks amazing!
I'm wondering if an official API for generating CSS is planned. Something like the following:
const css = generateCss("p-4 text-red-600");

I have created a template engine filter that checks if a Tailwind class exists, and throws an error if it doesn't. To do this, I parse the CSS file that Tailwind generates – so basically TW-JIT is incompatible with my validator filter (my application would fail before TW-JIT generates the CSS).
I'd like to create an alternative implementation, that calls something like generateCss directly.
After a quick glance, it seems the generateRules function does exactly that.
Is this correct?
If so: Would it be possible to support this officially?
Such an API would be useful for integrating TW-JIT with projects that don't use Node.js, without forcing them to create a full WebPack setup. I'm working on a Rust project, for example.
With the proposed API, I could create a small Node.js server that accepts requests from my Rust template engine filter. Performance would most likely be much, much better with this approach (because my filter extracts already all CSS classes, and because I could implement caching in Rust).
Basically, this would make it possible for the community (JavaScript and otherwise) to create additional dev tools, which would be fantastic.
What do you think?

While not on the level of accepting strings containing just Tailwind utility classes, a similar API already exists today in the form of PostCSS, which is the underlying processor Tailwind uses in the first place:
const postcss = require('postcss');
const tailwindcss = require('@tailwindcss/jit');
const autoprefixer = require('autoprefixer');

const { css } = await postcss([tailwindcss, autoprefixer]).process(yourCss);

Thanks, @pheuter!
It seems, this isn't really what I'm asking for, however.
It seems, process accepts a CSS string, but I only have Tailwind CSS classes.
To be able to use Tailwind-JIT, I'd need a function that takes Tailwind CSS classes, and returns the generated CSS (or an error if a CSS class is invalid).
With that, it would be possible to collect the CSS of a website/page, and write it to a style sheet (or display an error if a class is invalid).

I think, the biggest advantage of this API would be, that people would be able to create editor/IDE plugins to validate Tailwind CSS classes (similar to what I do).
For me, it was a game changer, when I implemented my filter (before, I often mistyped a class, and was wondering why my design didn't work).

Hey! We'll likely need to expose an API like this when we add JIT support to Tailwind Play so I don't doubt we end up with something like this eventually. The API would probably be more like:
let postCssRules = generateStyles("p-4 text-red-600", tailwindConfig)

I don't think we can prioritize working on this right away though so I'm going to close it (we try to treat issues as a bugfix list and capture plans for features/improvements internally), but definitely something I expect we'll offer within a few months.


Implement Powershell commands Start-AzSpringCloudAppDeployment and Stop-AzSpringCloudAppDeployment

Related command
Powershell Start-AzSpringCloudAppDeployment and Stop-AzSpringCloudAppDeployment
Is your feature request related to a problem? Please describe.
The current AZ CLI only allows you to delete a spring app deployment, rather than stopping it, but when one uses Infrastructure as Code, it is likely to conflict with the terraform state, resulting in clashes between app deployment and infrastructure deployment.
Describe the solution you'd like
Migarte the two PS commands
Describe alternatives you've considered
Although it is possible to mix and match AZ cli and PS, one receives warnings when doing so:

Code:
- name: Start new deployment slot
uses: azure/powershell@v1
with:
inlineScript: |
Start-AzSpringCloudAppDeployment -AppName ${{ github.event.repository.name }}-${{ inputs.ENVIRONMENT }} -Name ${{ env.new_deployment_name }} -ResourceGroupName 'rg-spring-cloud' -ServiceName "ab-spring-apps-${{ inputs.SUBSCRIPTION_ENVIRONMENT }}"
azPSVersion: "latest"

Execution:
Running Az PowerShell Script
/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -Command /home/runner/work/_temp/5e0cea5d-5a0a-4b45-800a-409f5d312cb0.ps1
WARNING: Start-AzSpringCloudAppDeployment_Start is not found. The most similar Azure PowerShell commands are:
Start-AzSpringCloudAppDeployment
Start-AzSpringCloudAppDeploymentJfr
WARNING: The intelligent recommendation feature is in preview. Help us improve it by sharing your experience: https://go.microsoft.com/fwlink/?linkid=2202436
Start-AzSpringCloudAppDeployment_Start: /home/runner/work/_temp/5e0cea5d-5a0a-4b45-800a-409f5d312cb0.ps1:2
Line |
2 |  Start-AzSpringCloudAppDeployment -AppName spring-archetype-testenv1-p …
|  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 112404: Exit code 1: application error, please refer to
| https://aka.ms/exitcode
Script execution Complete

Additional context

route to CXP team


Name clash

PyPI contains a packaged named pyam: “Python package for solving assortative matching models with two-sided heterogeneity.”

At the very least, the README/documentation should warn users not to try pip install pyam or similar.
If the package is to be published to PyPI, a different name is needed…maybe iamc-pyam or something?

Hi Paul -yes that's the plan. For aneris, I used aneris-iamc
https://pypi.org/project/aneris-iamc/
There is no such collision on conda forge.
On Wed, Oct 24, 2018 at 11:53 AM Paul Natsuo Kishimoto <
<EMAIL_ADDRESS>wrote:

PyPI contains a packaged named pyam https://pypi.org/project/pyam/:
“Python package for solving assortative matching models with two-sided
heterogeneity.”

At the very least, the README/documentation should warn users not
to try pip install pyam or similar.
If the package is to be published to PyPI, a different name is
needed…maybe iamc-pyam or something?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/IAMconsortium/pyam/issues/118, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABVAEddmn00Ri5wCWmhznA0RWES50s8jks5uoDiNgaJpZM4X3jEC
.

@khaeru, can this issue be closed?

@khaeru, can this issue be closed?

Sure, done.
We still have problems (e.g. in the October tutorials for new research assistants) with people mistakenly trying to install the other "pyam" package, see e.g. iiasa/message_ix#237.
But I suppose that's something that can only be fixed by clearer documentation in packages that depend on this one.


Proposal: cmd support generate code without scaffolded code in multiservice mode

Is your feature request related to a problem? Please describe.

kitex -service multiservice ./idl/demo.proto

The current command to specify multiservice is like this, but when I use idl as a package, I only want to generate the code within kitex_gen.
In fact kitex_gen already works well for me, I don't want to generate scaffolding code like script/handler/main etc.
https://github.com/cloudwego/kitex-examples/blob/main/grpc_multi_service/README.md
https://www.cloudwego.io/docs/kitex/tutorials/advanced-feature/multi_service/
https://www.cloudwego.io/docs/kitex/tutorials/code-gen/code_generation/#generate-code-with-scaffolding
Describe the solution you'd like
I hope that multiservice can be specified without service command
Describe alternatives you've considered
Additional context

own mistake


ReferenceChecker don't get passed in a propper context

Code:
https://github.com/rs/rest-layer/blob/6d750641e521a8c7b284178f190f586356b76c7b/resource/index.go#L132
The ReferenceChecker does not get passed in a request-scoped context (or any context for that matter), which means that any hooks that might run OnGet / OnGot for the resource in question don't get passed the relevant request context.
use-cases
There are many good use-cases for wanting to access the correct context in a hook.
One use-case, is permission handling, when it's reasonable to assume that the context may contain some user or permission related information.
Fix: pass in context to FieldValidator
The obvious fix may be to change the shema.FieldValidator interface to accept a context to be passed to the validator function. This is possile to do as a backwards-compatible change as well, as one could add a new interface, schema.CtxFieldValidator or so, to take precedence over schema.FieldValidaotor in type checks, but not sure the backwards-compatible path here is worth it before the v1.0 release.
There may be other changes that could be done to pass along the right context that isn't yet clear to me, but having the opurtunity to pass in context to a FieldValidator, probably makes senes anyway...

@smyrman I think backward-compatibility doesn't need to be a problem at this stage. Moreover we don't know how many users rest-layer has, and maybe such breaking change is a good way to figure out which are the users. To me, adding a good comments in the code/docs is sufficient. IMO This is very needed feature indeed, to have Context in the hooks.

+1 for breaking change and have the right interface.

I thing the right interface if we are going to break things anyway, looks like this:
type Validator interface{
   Validate(ctx context.Context, value, original interface{}) (interface{}, error)
}

It would replace both the current schema.FieldValidator and current schema.Validator interfaces.  This would also be a small but important step on the way towards #77, which is an old idea allowing for any type of schema.FieldValidator to be used at the top-level.
There are also good cases for FieldValidators where the original (or base) value is of interest for validation, e.g. for correctly be able to perform read-only checks for FieldValidators containing sub-schemas of some sort, such as schema.Object, schema.Dict, schema.AnyOf and schema.AllOf.
For reference, the current schema.Validator interface (used by schema.Schema, and expected by the resource package), looks like this:
// Validator is an interface used to validate schema against actual data.
type Validator interface {
	GetField(name string) *Field
	Prepare(ctx context.Context, payload map[string]interface{}, original *map[string]interface{}, replace bool) (changes map[string]interface{}, base map[string]interface{})
	Validate(changes map[string]interface{}, base map[string]interface{}) (doc map[string]interface{}, errs map[string][]interface{})
}

The GetField method does not need to be here, as it now has it's own interface defined called FieldGetter, and when the method needs to be called on a schema, the schema could be type-casted to that type.
errs map[string][]interface{} could easily be replaced by schema.ErrorMap, and  map[string]interface{} is presumably easily replaced by interface{}, though the resource package would need to do an additional type cast.
We need to see if it's practical to merge Prepare and Validate, depending on how much code that depend on them being separate calls...

Will close issues that relates to a broader redesign of the schema package (such as this one), leaving only #77 open.

Reopen as a bug; no matter if w are able to solve this easily in the current design, I guess we need to still track it.


Update bus_fare_challenge.py

submission for bus fare challenge

I have committed the changes

I have committed the changes


[Select] Component specs

Default Select
in  Image

As per Multi select Implementation

Font in the select dropdown is using 'Roboto font'

Select on focus in implementation is
select-focusColor: #005FCC;

Select on focus by guidelines:

In all the Angular Implementation examples when any interaction is done on the select component the arrow is not interactive, it does not rotate according to action. pointing  up words in normal state when dropdown is enabled the arrow should point up, but as of now it always points down as shown in the image below.

The checkbox shouldn't display the focus state:

https://github.com/dxc-technology/halstack-react/issues/312#issue-901265301

@Jialecl  Can you talk with @aweell about this issue?


Evaluation stages

Problem & Solution Description (including issue #)
Code Quality

[ ] My code follows the code style of this project
[ ] I have written unit tests or justified all instances of #pragma: no cover; in the case of a bugfix, a new test that breaks as a result of the bug has been added
[ ] My code contains relevant comments and necessary documentation for future maintainers; the change is reflected in applicable demos/tutorials (with output cleared!) and added/updated docstrings use the NumPy docstring format
[ ] Any breaking changes, described above, are accompanied by backwards compatibility and deprecation warnings

Thanks for all the work! It looks good to me!


Detect Caps Lock changes

Detect when caps lock state is changed externally (e.g. typing in RDP or an admin process)

Implemented in 9774cffef46c4a0497c1aab3432067bcb3896555


New Homepage

I would like to create a new homepage specific to Template, which could also host the new planned web service for #112.
This is not a priority but would work well with #112 as it could also display the repository and allow Template users to search, browser, and download templates right from the homepage.
It would also be required that Template could be installed directly from the new homepage, instead of my homepage; neocotic.com.
This will probably be hosted on Google App Engine or Heroku to help mitigate costs.

This has pretty much already been done but will definitely be covered by #227.


Add cromwell watch jobs max runtime config option for sv singlesample

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

Project coverage is 78.65%. Comparing base (63250ac) to head (a844ce2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #935   +/-   ##
=======================================
  Coverage   78.65%   78.65%
=======================================
  Files          10       10
  Lines        1785     1785
=======================================
  Hits         1404     1404
  Misses        381      381

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


Problem sending .png-image read-in data

Hello,
I am reading .png-images from disk into memory using the stb_image.h-library. This seems to work properly as I can read out pixel values from the image array which correspond to what I get out of gimp for the selected pixel. But as soon as I try to send those images over the network with uvgRTP it throws a segmentation fault. Do you guys know this problem?
Best regards,
Robert

Hi.
At least I'm unaware of such crashes. Assuming the input data is not invalid, there shouldn't be a crash, but all those problems have not yet been ironed out from uvgRTP. I'm assuming you are using the generic sender.
Can you run the code through a debugger to get a sense where the crash happens?

Thank you for the quick reply!
I will try to walk through it, but I am also wondering, what invalid value actually means?

Since it also sounds you are sending a lot of data, is the fragmentation flag enabled in the session?
You should have it initialized something like this:
sess->create_stream(8888, 8889, RTP_FORMAT_GENERIC, RCE_FRAGMENT_GENERIC);

@lubertRoft I just meant that the pointer given uvgRTP is valid and does not point to unreserved memory. This is something that is uvgRTP does not guard against.

@fador,@jrsnen: thanks for the hint, I forgot that there is the possibility of using generic frames, that solved the problem!
@jrsnen: ok, I definitely know that the pointer is pointing to valid memory. But I have a more general question: is there some kind of data that can not be send using RTP_FORMAT_H265?

@fador @lubertRoft Yes, only H265 data is supported for RTP_FORMAT_H265. It probably shouldn't crash if other kinds of data are inputted, but it is not meant to do anything sensible in those situations.


chore: add action to cleanup github action cache

Description
Adding a new GitHub Action will clean up the Cache once the PR is merged.
This should make cache cleanup faster.
More info at https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#managing-caches
Which issue(s) does this PR fix

Fixes #?

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

/override "Showcase tests on OCP/PR Test"


Add benchmark for clipper layers raster cache

Benchmark for https://github.com/flutter/engine/pull/32899.
The test result shows that it reduced the rasterizer time by using raster cache to replace saveLayer.

If child DisplayListLayers are simple ( isComplex is false ) and not be cached, the result is that 90th percentile rasterizer time reduced. layer cache increased but saveLayer reduced.  See:

═════════════════════════╡ ••• Final A/B results ••• ╞══════════════════════════

Score	Average A (noise)	Average B (noise)	Speed-up
average_frame_build_time_millis	1.80 (0.00%)	1.95 (0.00%)	0.92x
worst_frame_build_time_millis	3.28 (0.00%)	3.58 (0.00%)	0.92x
90th_percentile_frame_build_time_millis	2.42 (0.00%)	3.03 (0.00%)	0.80x
99th_percentile_frame_build_time_millis	3.03 (0.00%)	3.51 (0.00%)	0.86x
average_frame_rasterizer_time_millis	11.77 (0.00%)	3.65 (0.00%)	3.22x
worst_frame_rasterizer_time_millis	59.87 (0.00%)	6.23 (0.00%)	9.61x
90th_percentile_frame_rasterizer_time_millis	13.32 (0.00%)	4.50 (0.00%)	2.96x
99th_percentile_frame_rasterizer_time_millis	15.88 (0.00%)	4.96 (0.00%)	3.20x
average_layer_cache_count	0.00 (0.00%)	4.00 (0.00%)	0.00x
90th_percentile_layer_cache_count	0.00 (0.00%)	4.00 (0.00%)	0.00x
99th_percentile_layer_cache_count	0.00 (0.00%)	4.00 (0.00%)	0.00x
worst_layer_cache_count	0.00 (0.00%)	4.00 (0.00%)	0.00x
average_layer_cache_memory	0.00 (0.00%)	5.68 (0.00%)	0.00x
90th_percentile_layer_cache_memory	0.00 (0.00%)	5.68 (0.00%)	0.00x
99th_percentile_layer_cache_memory	0.00 (0.00%)	5.68 (0.00%)	0.00x
worst_layer_cache_memory	0.00 (0.00%)	5.68 (0.00%)	0.00x
average_picture_cache_count	0.00 (0.00%)	0.00 (0.00%)	NaNx
90th_percentile_picture_cache_count	0.00 (0.00%)	0.00 (0.00%)	NaNx
99th_percentile_picture_cache_count	0.00 (0.00%)	0.00 (0.00%)	NaNx
worst_picture_cache_count	0.00 (0.00%)	0.00 (0.00%)	NaNx
average_picture_cache_memory	0.00 (0.00%)	0.00 (0.00%)	NaNx
90th_percentile_picture_cache_memory	0.00 (0.00%)	0.00 (0.00%)	NaNx
99th_percentile_picture_cache_memory	0.00 (0.00%)	0.00 (0.00%)	NaNx
worst_picture_cache_memory	0.00 (0.00%)	0.00 (0.00%)	NaNx
new_gen_gc_count	0.00 (0.00%)	0.00 (0.00%)	NaNx
old_gen_gc_count	0.00 (0.00%)	0.00 (0.00%)	NaNx

If child DisplayListLayers are complex and also cached, the result is that 90th percentile rasterizer time reduced. layer cache increased, but both picture cache and saveLayer reduced.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@flar Could you have time to have a look at this? Thanks.

First, this appears to be modifying an existing benchmark. Once a benchmark is added, it should remain stable as its performance history is tracked. If you have new things to benchmark, a new benchmark should be created so that it doesn't interfere with existing metrics.
Second, please run A/B tests with more than 1 iteration so that benchmark jank is averaged out. I typically run AB=4.

First, this appears to be modifying an existing benchmark. Once a benchmark is added, it should remain stable as its performance history is tracked. If you have new things to benchmark, a new benchmark should be created so that it doesn't interfere with existing metrics.
Second, please run A/B tests with more than 1 iteration so that benchmark jank is averaged out. I typically run AB=4.

Thank you for reply.
For the this point, this seems to be a new benchmark so that it doesn't interfere with existing metrics.
But, do you mean that we should modify the existed shader_mask_cache to implement the benchmark test?
For the second point, the result of AB=4 is also that 90th percentile rasterizer time reduced, see:
═════════════════════════╡ ••• Final A/B results ••• ╞══════════════════════════

Score	Average A (noise)	Average B (noise)	Speed-up
average_frame_build_time_millis	1.10 (7.36%)	1.05 (7.80%)	1.04x
worst_frame_build_time_millis	3.12 (34.06%)	4.23 (35.41%)	0.74x
90th_percentile_frame_build_time_millis	1.54 (13.24%)	1.55 (11.08%)	0.99x
99th_percentile_frame_build_time_millis	2.69 (32.77%)	2.76 (20.81%)	0.97x
average_frame_rasterizer_time_millis	3.13 (5.42%)	2.21 (2.51%)	1.42x
worst_frame_rasterizer_time_millis	4.95 (7.84%)	3.85 (35.28%)	1.29x
90th_percentile_frame_rasterizer_time_millis	3.69 (6.13%)	2.62 (1.68%)	1.41x
99th_percentile_frame_rasterizer_time_millis	4.26 (0.35%)	2.88 (1.31%)	1.48x
average_layer_cache_count	0.00 (0.00%)	3.00 (0.00%)	0.00x
90th_percentile_layer_cache_count	0.00 (0.00%)	3.00 (0.00%)	0.00x
99th_percentile_layer_cache_count	0.00 (0.00%)	3.00 (0.00%)	0.00x
worst_layer_cache_count	0.00 (0.00%)	3.00 (0.00%)	0.00x
average_layer_cache_memory	0.00 (0.00%)	4.63 (0.00%)	0.00x
90th_percentile_layer_cache_memory	0.00 (0.00%)	4.63 (0.00%)	0.00x
99th_percentile_layer_cache_memory	0.00 (0.00%)	4.63 (0.00%)	0.00x
worst_layer_cache_memory	0.00 (0.00%)	4.63 (0.00%)	0.00x
average_picture_cache_count	3.00 (0.00%)	0.00 (0.00%)	Infinityx
90th_percentile_picture_cache_count	3.00 (0.00%)	0.00 (0.00%)	Infinityx
99th_percentile_picture_cache_count	3.00 (0.00%)	0.00 (0.00%)	Infinityx
worst_picture_cache_count	3.00 (0.00%)	0.00 (0.00%)	Infinityx
average_picture_cache_memory	4.99 (0.00%)	0.00 (0.00%)	Infinityx
90th_percentile_picture_cache_memory	4.99 (0.00%)	0.00 (0.00%)	Infinityx
99th_percentile_picture_cache_memory	4.99 (0.00%)	0.00 (0.00%)	Infinityx
worst_picture_cache_memory	4.99 (0.00%)	0.00 (0.00%)	Infinityx
new_gen_gc_count	0.00 (0.00%)	2.00 (0.00%)	0.00x
old_gen_gc_count	0.00 (0.00%)	0.00 (0.00%)	NaNx

First, this appears to be modifying an existing benchmark. Once a benchmark is added, it should remain stable as its performance history is tracked. If you have new things to benchmark, a new benchmark should be created so that it doesn't interfere with existing metrics.

Thank you for reply.
For the this point, clipper_cache_perf__e2e_summary seems to be a new benchmark so that it doesn't interfere with existing metrics.

Please ignore that part of my comment. When I looked at it the other day all I saw was a few changes that updated a file in the macrobenchmarks area - which looked exactly like it was just modifying an existing benchmark.
But, I now see that this PR is about adding a new benchmark.
I think I was confused by the link in one of the emails taking me to just a single commit in the chain rather than showing me the entire set of code changes.

@keyonghan did you look over the CI files?

https://github.com/flutter/engine/pull/32899 depends on it, so merge it first. we can revert it later if there is any problem.

Tracking history for the benchmark: https://flutter-flutter-perf.skia.org/e/?queries=test%3Dclipper_cache_perf__e2e_summary


Same ID inheritance

I found myself to work with a legacy schema where table inheritance is done by referencing the two tables with the "id" column, where the inheriting tables have "id" which is a foreign key to the inherited "id". No "actable_id" and "actable_type" is just "type":
+------------+  +---------+  +---------+  +---------+
|location    |  |bar      |  |pub     |   |park     |
+------------|  +---------+  +---------+  +---------+
|id          |  |id       |  |id       |  |id       |
|type        |  |title    |  |title    |  |title    |
+------------+  |open     |  |waiters  |  |people   |
                +---------+  +---------+  +---------+

This kind of class table inheritance is exactly the same used by the sequel plugin to do that, which in fact works great with my schema... but I would really like to use AR instead. Main reason is to use it in combination with jsonapi-resources.
I was wondering if this was easily doable to offer as an option or it would completely break your design.

That's how Martin fowler defined it. Bill Karwin sugest that model also. The polymorphic design is not so bad, but mix data with metadata. If we were using the same id on the child tables as in the parent table, will allow us to create referential integrity over all relations.

Unfortunately I'm not in a position to work on a fork to accomplish this - but I would really need it for a project that involves working on existing a schema structured with inheritance as described above.
Would it be trivial to add this as an option @hzamani? I think many people will benefit.

I think this will be quite a major change but it should be doable in theory in a fork.

Closing this for now, if anyone is interested to work on this please fork https://github.com/krautcomputing/active_record-acts_as


Fix basePath

This PR fixes #1237

Edited the message just to reference GH-1237 and allow a merge to auto-close this.

The base path actually doesn't have anything to do routing incoming
requests. That's the job of a reverse proxy. We use the base path to
redirect from the login page and to set some headers to the root path.
If we made this change then this could break reverse proxies that are
properly configured. For example if someone configured their path to be
/vs then all of our /vs paths will stop working because the vs
gets stripped out.
When receiving a request to /code/some/path the reverse proxy should
route that and code-server should receive it as /some/path, meaning
the base path is already stripped. So the linked issue most likely has
to do with a misconfigured reverse proxy (or isn't using one at all, in
which case there is no need for the base path in the first place).
Hopefully that makes sense. Maybe we should write a message to stdout
when the base-path flag is in use explaining some of this?

My understanding about --base-path is different.
I can pass any random path to the flag --base-path and code-server should run in that path.
eg: --base-path=/akhil/server1 then code server should be up and running in the path /akhil/server1. This is a common functionality available in almost all web apps like Prometheus, grafana, jupyter, kibana etc. etc.
Implementation could be different, but this is the ask of all those issues raised saying base path is not working.
Any thoughts??


Update dependencies

I've also removed some unused imports.

Hmm yeah this doesn't work in the phantomjs runner... Urrrgh! I'm going to update the test runner shortly anyway, so closing this PR for now.


Deploying to unraid docker

Currently looking for a document management system and I am trying out Paperless and Mayan edms and I want to deploy this as well to try it out. Paperless was the easiest to install because it's in the community app store for unraid however I had to deploy mayan edms in a ubuntu vm where I used docker compose.
Unraid doesn't support docker compose natively and I tried installing it and installing papermerge but I couldn't get the web server to work. Has any gotten papermerge to work on unraid? If so how. I could just install it into a vm and have it work but I want papermerge to store all the files within my shares and not just in a docker container. Paperless does this great
https://gyazo.com/2494fb95e52a395d636b9afb3476e55f
however I can't seem to figure this out with papermerge

https://gyazo.com/08e2c7e4a93ef5512fbb4753d035b7e3


Update index.html

Updated Meta Tags
Description
Please describe your contribution:
I have to Update the meta tag and added new meta tags to fix the meta tag, makes it responsive for scales initial, maximal, etc.
Added a CSS line to make responsive meta tags.
Added keyword meta tag for SEO(search engine optimization).

Checklist

[ ] I have added proper documentation for my contribution.
[ ] I have added myself in contributors.json.
[ ] My contribution isn't already present in the repository.
[ ] My contribution is working.
[ ] My changes don't generate any new warnings.
[ ] My changes don't affect any work done by other developers.

To tick a box, replace [ ] with [x].

I have fixed the meta tag. please accept my pull request


User config unit tests

Problem: It is clear that the current unit test is not sufficient for backwards compatibility
Solution: Test a bunch of user configs from different dotfiles.
(I will write the rest tomorrow I need sleep 😅 )

The initial step is done here https://github.com/catppuccin/nvim/blob/12894370fa3c9e2200f3724c4184354d6b79733a/tests/setup_spec.lua#L14-L96
Will need to ask the community for more configs

{
 	{
 		term_colors = true,
 		transparent_background = false,
 		styles = {
 			comments = {},
 			conditionals = {},
 			loops = {},
 			functions = {},
 			keywords = {},
 			strings = {},
 			variables = {},
 			numbers = {},
 			booleans = {},
 			properties = {},
 			types = {},
 		},
 		color_overrides = {
 			mocha = {
 				base = "#000000",
 				mantle = "#000000",
 				crust = "#000000",
 			},
 		},
 		integrations = {
 			dropbar = {
 				enabled = true,
 				color_mode = true,
 			},
 		},
 	},
 }

I guess mine is the smallest here 😅
https://github.com/mrtnvgr/init.lua/blob/main/lua/initlua/plugins/colorschemes/pre/catppuccin.lua

heres mine - https://github.com/Rishabh672003/Neovim/blob/main/lua/rj/plugins/catppuccin.lua#L10-L44

Here is mine. Just relevant parts:
-- Using Lazy
{ 'https://github.com/catppuccin/nvim', event = 'VeryLazy', name = 'catppuccin', },

...

local hour = tonumber(fn.strftime('%H'))
if hour >= 17 or hour < 7 then
    o.background = 'dark'
else
    o.background = 'light'
end

if o.background == 'light' then
    cmd.colorscheme 'catppuccin-latte'
else
    cmd.colorscheme 'catppuccin-frappe'
end

Here's my config file for catppuccin, but be careful, my Neovim config is a force to be reckoned with.
https://mzte.de/git/LordMZTE/dotfiles/src/branch/master/mzte-nv/conf/lua/pluginconf/p-catppuccin.fnl

My catppuccin config: https://git.sr.ht/~stonks3141/dotfiles/tree/main/item/.config/nvim/lua/plugins/catppuccin.lua

config for lazy manager, whole setup in one place:
  {
    "catppuccin/nvim",
    name = "catppuccin",
    priority = 1000,
    opts = {
      transparent_background = true,
      integrations = {
        cmp = true,
        telescope = true,
        harpoon = true,
        mason = true,
        neotest = true,
      }
    },
    config = function(_, opts)
      require('catppuccin').setup(opts)
      vim.cmd.colorscheme 'catppuccin-mocha'
    end
  },

I use lazy for plugin manager.
My config:
	{
		"catppuccin/nvim",
		name = "catppuccin",
		lazy = false,
		priority = 1000,
		config = function()
			require("catppuccin").setup({
				flavour = "mocha",
				integrations = {
					mini = true,
				},
			})

			vim.cmd("colorscheme catppuccin")
		end,
	},

dotfiles repo

Here's mine.
BTW I want to know when the NvChad style became added, I just found that my LSP server was telling that telescope = true is incorrect at type, then I checked the type definition and found that this has been added even without a document lol.

Just realised the NvChad style for Telescope has been added as well, but here's my Catppuccin config (still prefer my NvChad customisations 😜)

This is my configuration:
File ./lua/plugins/init.lua :
return {
    {
        'catppuccin/nvim',
        lazy = false,
        name = 'catppuccin',
        priority = 1000,
        config = function()
            require('plugins.theme.catppuccin')
            vim.cmd('colorscheme catppuccin-mocha')
        end,
    },
}

File ./lua/plugins/theme/catppuccin.lua :
local ucolors = require('catppuccin.utils.colors')
local mocha = require('catppuccin.palettes').get_palette('mocha')

local catppuccin = require('catppuccin')

catppuccin.setup({
    styles = {
        keywords = { 'italic' },
        variables = { 'italic' },
        booleans = { 'italic' },
        properties = { 'italic' },
    },
    -- Integrations
    integrations = {
        hop = true,
        lsp_trouble = true,
        mason = true,
        neogit = true,
        noice = true,
        notify = true,
        symbols_outline = true,
        treesitter_context = true,
        native_lsp = {
            underlines = {
                errors = { 'undercurl' },
                hints = { 'undercurl' },
                warnings = { 'undercurl' },
                information = { 'undercurl' },
            },
            inlay_hints = {
                background = false,
            },
        },
    },
    custom_highlights = function(colors)
        return {
            -- Cmp Menu
            PmenuSel = { fg = colors.base, bg = colors.maroon, style = { 'bold' } },

            -- Telescope
            TelescopeBorder = { fg = colors.blue },
            TelescopeSelectionCaret = { fg = colors.flamingo },
            TelescopeSelection = { fg = colors.text, bg = colors.surface0, style = { 'bold' } },
            TelescopeMatching = { fg = colors.blue },
            TelescopePromptPrefix = { fg = colors.yellow, bg = colors.crust },
            TelescopePromptNormal = { bg = colors.crust },
            TelescopeResultsNormal = { bg = colors.mantle },
            TelescopePreviewNormal = { bg = colors.crust },
            TelescopePromptBorder = { bg = colors.crust, fg = colors.crust },
            TelescopeResultsBorder = { bg = colors.mantle, fg = colors.mantle },
            TelescopePreviewBorder = { bg = colors.crust, fg = colors.crust },
            TelescopePromptTitle = { fg = colors.crust, bg = colors.mauve },
            TelescopeResultsTitle = { fg = colors.crust, bg = colors.mauve },
            TelescopePreviewTitle = { fg = colors.crust, bg = colors.mauve },

            -- Bufferline
            BufferLineIndicatorSelected = { fg = colors.pink },
            BufferLineIndicator = { fg = colors.base },
            BufferLineModifiedSelected = { fg = colors.teal },
            TabLineSel = { bg = colors.pink },

            -- Cursorline & Linenumbers
            CursorLine = { bg = colors.mantle },

            -- Visual Mode
            Visual = { bg = ucolors.darken('#9745be', 0.25, mocha.mantle), style = { 'italic' } },
        }
    end,
    highlight_overrides = {},
    color_overrides = {},
})

My catppuccin file in my Repo

Suppressed by https://dotfyle.com/configs?plugins=catppuccin/nvim


add feature for search closest path

Fixes #3

hi i have corrected your requirements and added some more optimizations

Great


[Bug]: 04.ai.a.teamsChefBot broken with update to Azure.AI.OpenAI - Could not load type 'Azure.AI.OpenAI.ChatMessage'

Language
C#
Version
latest
Description
When running sample get error: Could not load type 'Azure.AI.OpenAI.ChatMessage' from assembly 'Azure.AI.OpenAI.
Looking into this is seems ChatMessage has been deprecated from Azure.AI.OpenAI after version 1.0.0-beta.9.
It looks like Microsoft.Teams.AI.AI.Models creates a ChatMessage in CompletePromptAsync.
Any suggestion for a workaround?
Reproduction Steps
1. F5 to run the sample.
2. In Teams enter 'Hi'
3. Note Error message.
...

Bumped Microsoft.Teams.AI to v1.1.1. This issue should be resolved.