steam: add openssl to fhsenv

Description of changes
#231533 broke some applications launched via steam-run.
Now, openssl_1_1 was added specifically for Loop Hero. I don't own the game[^1], so I don't know if it works with regular openssl.
However, other application were broken too. For example, Ryujinx binary stopped working after that PR, and works again with this.
(So, if Loop Hero isn't fixed, tell me to move openssl under something that isn't Loop Hero)
cc @mweinelt

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

[^1]: Techincally I do... on the Epic Games Store, which doesn't have a Linux version of the game

Replacing openssl_1_1 with openssl was tested for the previous pull request, it didn't work, which is why the dependency was removed entirely.

So, Loop Hero is made with GameMaker.
I tested another GameMaker game (Undertale), but it needs none of these dependencies to work.

It depends on OpenSSL 1.0.0, which was removed long time ago from steam-run, and is provided by Steam runtime, unlike OpenSSL 1.1.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2440

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/amd-microcode-updates-not-applying/31923/12

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2596


CMC Updates

With the recent changes to split card CMC rules, all cards should now only have one CMC and not a list.

[x] Fix cmc() so it returns int instead of List<Integer>

A split card's CMC is the sum of the faces not useful for analysis
A double-faced card's CMC is that of the front face
A meld card's CMC is that of the front face for the front faces and the sum of those of the front faces for the back face but that of the front face should be used for analyses
A flip card's CMC is that of the top face even when flipped
Modal cards' CMC is the front side

[x] Remove minCmc(), as there is only one CMC now
[x] Fix external references to cmc() so they don't refer to a list
[ ] Add a setting for split/modal card CMC: max, min, (weighted?) average, sum
[x] It's "mana value" now

cmc actually returns double because some cards have fractional mana value, like Little Girl.

Added minManaValue and maxManaValue to be used for analysis settings, and corresponding filters.

[ ] Add a setting to compute mean/median deck mana value using "real" mana value, min mana value, or max mana value

Completed in #100.


create more tiles when a lot of instances

create more (smaller) tiles when there are lot of instances in a tile (like a quadtree).
Maximum number of instances per tile is a setting.

Hi,
I just wanted to be a little bit clear. By creating more tilesets, you mean that ultimately each small tileset should consist of one instance? Am I right?
In this case, the number of models (instance models .i3dm files) that we use for different tilesets ( with different sizes) could reduce significantly, since each tileset contains only one instance which can be located in the tileset's center.
One question: If I want to explore more, which part of the code should I focus on? The "program.cs" that deals with defining tilesets and their properties (bounding box)?

duplicate of https://github.com/Geodan/i3dm.export/issues/24
closing this issue


"No write since last change" error on netrw buffer

Steps to reproduce

Open vim
:e /tmp/ (see a netrw buffer. Other directories are fine)
Press s to change sort order. See the status bar below shows [No Name] [RO]
Press ZZ to exit.
See E37 No write since last change E162 No write since last change for buffer "/tmp/"

Expected behaviour
Exits cleanly.
Version of Vim
9.1.707
Environment
Linux
Logs and stack traces
No response

Just wanted to note I have reproduced this bug on windows.
I was able to find the bug doing :E when in my _vimrc, opening up a directory with vim. I was also able to reproduce this bug in a random java file inside of a random github project. Once I select a file, for example the java file, I can write to it, however I cannot quit, do a quit command opens up the same error and sends me back to the directory listing (within netrw)
Furthermore it is produced when doing :q, :q!
To be clear, this bug prevents exiting vim without fully just getting a new command prompt or powershell and only activates upon pressing s (as in at least once, however it still happens on more than one press)

Followup, to be clear :qa! exits it successfully


Support TW Server

Is there a chance to support Taiwan server?

Closed as PR #27 Added TW/CN support, thanks to @kennyfong19931


Properties

Move database (and other) values to a properties-file

https://github.com/baradist/restful-money-transfer/pull/7


Convert from arrays to names in define() and don't invalidate for multiple consistent defines.

Resolves issue #5031
Arrays passed to define() were previously using their whole name which would not appear in the equivalence sets since they are stored there per dimension.  Calling _get_names() in define() converts array names to dimensional names.
This define() function will also invalidate (remove forever from any equivalence class) a variable that is multiply defined.  This is the previous behavior and is overly restrictive.  You need only invalidate on multiple definitions if they are not known to be equivalent.  So, the equivalence insertion functions now return True if some change was made and False otherwise.  If no change was made, then define() need not be called.  For no change to have been made, the variable must already be present.  If the new definition of the var has the case where lhs and rhs are in the same equivalence class then again, no change will be made and define() need not be called or the variable invalidated.

Thanks for the PR/fix. I've tested it locally and it fixes #5031, the reasoning behind the fix seems good. I think the explanation given in the text above is excellent and should really also go into the code at the site where this logic is being implemented, would that be ok? Thanks.

Thanks for the PR/fix. I've tested it locally and it fixes #5031, the reasoning behind the fix seems good. I think the explanation given in the text above is excellent and should really also go into the code at the site where this logic is being implemented, would that be ok? Thanks.

@stuartarchibald Done.

Thanks @DrTodd13


How to use html markup in the "description" attribute of swagger.json file?

Environment:
NSwag.AspNetCore (12.2.5);
Microsoft.NETCore.App (3.0.0);
Language: C#
I am marking the header of some controllers, with the following expression:
///Controller description
/// <remarks>
///
///    Expand here
///
Hidden content

///
/// </remarks>
[HttpGet]
[SwaggerTags("NF-e (Nota Fiscal Eletrônica)")]
[Route("api/testes/")]
public string tests()
{
    return "tests";
}

The intention would be to get the swagger specification file with the following content:
"paths": {
...
    "/api/testes": {
      "get": {
        "tags": [
          "NF-e (Nota Fiscal Eletrônica)"
        ],
        "summary": "Controller description",
        "description": "Expand here
Hidden content
"
        "operationId": "NFe_tests",
        "parameters": [
          {
            "name": "token",
            "in": "header",
            "description": "Chave de acesso à API",
            "schema": {
              "type": "string"
            },
            "default": "980fb195fdecc68069deb67f987573837cf67e0e"
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    }
...

To have on the swagger GUI the following behavior:
https://imgur.com/uvi4I6p
However, what I get is as follows:
"paths": {
...
    "/api/testes": {
      "get": {
        "tags": [
          "NF-e (Nota Fiscal Eletrônica)"
        ],
        "summary": "Controller description",
        "description": "   Expand here\n   Hiden content\n            ",
        "operationId": "NFe_tests",
        "parameters": [
          {
            "name": "token",
            "in": "header",
            "description": "Chave de acesso à API",
            "schema": {
              "type": "string"
            },
            "default": "980fb195fdecc68069deb67f987573837cf67e0e"
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    }
...

Is there any way to prevent html tags from being suppressed by generating the "description" attribute in the swagger.json file?
My attempt was to wrap the content with the ![CDATA[html content here]] tag. But it still does not work as expected.
Any help will be most welcome.

I dont think this is possible at the moment. The xml docs parser is here: https://github.com/RicoSuter/Namotion.Reflection/blob/master/src/Namotion.Reflection/XmlDocsExtensions.cs


Handle large query logs with both vt keys and vt summarize

Query logs over 5GB are not at all uncommon, so we want to have a decent experience even for large query logs

Fixed by #58


rowClick working?

I can't get the rowClick event to fire. What am I doing wrong? Nothing on the console.
const handleRowClick = (event) => {
	console.log('triggered click');
};

...

	{#await promise}

Loading ...

	{:then data}
		<Grid {data} {columns} {style} on:rowClick={handleRowClick} />
	{/await}

Actually, I do not yet add any event dispatcher right now (I'll add it soon). For now, you can check the example at https://github.com/iamyuu/gridjs-svelte/issues/4#issuecomment-834303046.

added on v1.1.0, thanks for creating issues.


Person/sbuldeev/add quality checks to processing templates

What:
Reworking the scd1 template in order to handle checks if provided by the user
Why:
It is linked to the issue
Tests: provided regression tests

Hi @sbuldeev, welcome 😊

Why close it?
The approach looks good to me.

Hello, @tozka. I've opened a new PR instead of this one. https://github.com/vmware/versatile-data-kit/pull/1472


Question about CRUD updates

I'm attempting to update several records at once from a browser using jsforce.  Despite the fact that I'm passing 10 records to the update() function, I can see that jsforce is sending 10 separate HTTP requests to the server, each with a single JSON object.  I'm concerned that it is going to put my app in danger of hitting the API call quota.  Is there a better way to do this with jsforce?

REST API doesn't support multiple records update in one request as SOAP API does.
You can use updateBulk() instead of update(), which use bulk API internally.

Is there any documentation for updateBulk()?

@leodutra Did you find any documentation for updateBulk()?

Only API Reference, but no solid examples.
Had to dive into the source, linked in the API refs.

   const bulkResults = await conn.sobject(table).updateBulk(updates);


Release Google.Cloud.Asset.V1 version 2.7.0

Changes in this release:

Commit cb59fb9: chore: fix typo 'partion_key' in comments

Note: even though there are no API surface changes, this is a minor version bump due to dependency changes

Created release for Google.Cloud.Asset.V1-2.7.0


Find a way to support iOS 9.3 tests on Catalina

Catalina does not support running tests on iOS 9.3 devices due to the fact that it no longer supports 32 bit. So long as we are supporting iOS 9, we'd like to still be able to run tests (likely as part of CI), but we also want to make it easy to run bazel test //... locally.
This may be some combination of select statements and https://docs.bazel.build/versions/master/platforms.html to conditionally include an iOS 9.3 simulator on Catalina.

We could postpone Catalina updates until we've dropped iOS 9 support.  I believe we're pushing hard to drop it and this is yet another reason to do so (lack of Catalina support).

I'm not certain we can retroactively ask folks to downgrade from Catalina if that's already happened (e.g. my machine is now running Catalina).

Since MDC-iOS currently only supports Xcode 10, does it make sense to require Catalina yet?

We are not presently requiring Catalina.

So we could keep things running on Xcode 10 with iOS 9, yes? Recommending Mojave to contributors who want to run tests locally?

The purpose of this issue is to try to support both Catalina and Mojave for local development.

If Catalina doesn't support iOS 9 simulators but MDC-iOS has to support iOS 9 device/simulator testing, then it seems like Catalina isn't possible for MDC-iOS (at least). Of course I know that doesn't stop MDF libraries from dropping iOS 9, but it seems like this library is primarily supporting MDC-iOS at the moment.

And the resolution of this issue should be that both Catalina and Mojave are supported. iOS 9 testing will be done on CI at a mimimum. If someone is on Catalina then they will need to rely on CI to test iOS 9.


can we backup two mongo cluster at the same time?

can we backup two mongo cluster at the same time?
it reports error when running the second mongodb-consistent-backup command .
[2019-06-14 09:57:27,938] [CRITICAL] [MainProcess] [Main:get_lock:135] Could not acquire lock: '/tmp/mongodb-consistent-backup.lock'! Is another mongodb-consistent-backup process running? Exiting
[2019-06-14 09:57:27,938] [INFO] [MainProcess] [Logger:compress:83] Compressing log file: /var/log/mongodb-consistent-backup/backup.default.20190614_0957.log
[root@dbsrvm-mongobackup scripts]#

Make sure your production.lock_file is configured differently on each configuration.


Enhancement: UI for failure setting ERC20 balance

Depends on #58
The Request
The ability to see feedback in the UI when a failure occurs while a user is trying to set an ERC20 balance.
Problem
Right now, balanceOf storage slot guessing can fail for some ERC20 tokens that wildly deviate from the ERC20 interface. For these tokens, when a user tries to set a balance for them, no messaging/feedback is provided.
Solution
As a user, when I set a balance for one of my ERC20 tokens on the token list screen, I would expect to see some error messaging (in the form of a toast message) in the UI to tell me that setting a balance failed, and for the input field to become disabled.
Notes
See TODO

Is this issue still Open?
https://github.com/paradigmxyz/rivet/pull/68 Looks like this PR should have closed it?

There is currently no UI to display error states for setting balances yet!


add new scaffolder action to ensure a gitlab group exists

With this action it can be ensured, that a Gitlab group exists.
:heavy_check_mark: Checklist

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

Rlease do not close this PR! I wait for the Review!

Still wait for PR review!
@Rugvip can you please reassign this PR, in case you have no time to review it.

This would make my automations so much simples.
Looking forward to see that merged.

@Rugvip any updates on this?

Still wait for PR approval!

Still wait for PR approval!

Still wait for PR approval!
@Rugvip can you please reassign this PR, in case you have no time to review it.


Keyboard shortcuts for post modifiers(?)

It would be nice to have keyboard shortcuts for toggling "Title Field," "Categories," and "Cross-posting" under the View menu item. They're just about the only actions that don't have shortcuts.
I was thinking maybe:

Action
Key combo

Title Field
⌥ ⌘ T

Categories
⌥ ⌘ C

Cross-posting
⌥ ⌘ X

I recently learned it's possible to create custom keyboard shortcuts for any menu command. Closing this issue 🙂
https://support.apple.com/guide/mac-help/create-keyboard-shortcuts-for-apps-mchlp2271/mac


(maint) Fix device test to run in the server pipeline

The puppetserver pre-suites add the 'dns_alt_names' setting to
puppet.conf. This setting is picked up by puppet device, meaning that
the CSRs generated for the devices have the alt names in them. In order
to sign these, we need to pass the flag allowing it.

I'm wondering if it would be better to just not write that setting out to disk. It doesn't seem to be necessary, considering that we are creating and signing the master cert in a special block that specifies its own settings: https://github.com/puppetlabs/puppetserver/blob/5.3.x/acceptance/lib/helper.rb#L116. But I haven't tested the effect of removing https://github.com/puppetlabs/puppetserver/blob/master/acceptance/suites/pre_suite/foss/80_configure_puppet.rb#L7.

CLA signed by all contributors.

This kind of seems like a bug in device, I don't think we would ever really want it to respect the dns_alt_names setting. @DavidS thoughts?

If dns_alt_names are a thing for regular agents, then folks should also be able to do so with device certificates. I'd expect folks to do that through the command line rather than the puppet.conf.
If dns_alt_names aren't a thing for regular agents, then the setting should never surface to puppet device in the first place. (see https://github.com/puppetlabs/puppet/blob/e5fa9193190371b82af4a069e54998187dd15e44/lib/puppet/application/device.rb#L271)

The dns_alt_names makes sense when specifying a single host, an agent. And in some deployments there might be a set dns alt names that make sense to be placed on all device certificates. However, it seems like a bug that the same value that is used for the local puppet agent (non-device)'s dns_alt_names is also then applied to every device as well.

The dns_alt_names makes sense when specifying a single host, an agent. And in some deployments there might be a set dns alt names that make sense to be placed on all device certificates. However, it seems like a bug that the same value that is used for the local puppet agent (non-device)'s dns_alt_names is also then applied to every device as well.

I don't disagree. I also don't see a way to have that implemented in a reasonable way. Do we have a "known issues" page where we can put a small writeup and let it die?


Add support for CLI parameters to specify the version and message in the add() command

First time contributor
Saw this Issue and thought I'd have a go at solving it:  https://github.com/changesets/changesets/issues/979
I'm not sure of the steps to actually run this locally to test, but I think it should work ok :)
The --version parameter will only work for single package repos.
The --message parameter should work for monorepos with several packages

Thanks for the feedback on this PR. Made all the requested changes.
The bits saying const bumpType: VersionType make me think the parameter should maybe be called --version-type, but I'm interested to hear your feedback, and am happy to make another change if necessary
Also I'm not sure how to actually test this change locally. Can you give me some pointers?
(note: I couldn't find a contribution guide in the repo)

I review these code, nice solution, thx u contribution @TomOConnor95

@Andarist / @JakeGinnivan Would be great if you could give this PR another review when you have a chance. I think all issues have been addressed, and it'd be great to get this released some time soon

Hi there,
was looking for a way to add changesets during a CI pipeline
this PR looked liked it would allow to do so
is this abandoned?
thnks

Hi there,
was looking for a way to add changesets during a CI pipeline
this PR looked liked it would allow to do so
is this abandoned?
thnks

Hey, I'm still very keen to get this deployed, but have been waiting for next steps on this PR having fixed the previous requests.
I'm very happy to make any more changes necessary, just waiting on some direction.
@Andarist / @JakeGinnivan please could you give some clarity on the next steps for this?
Tom

hi,
would really like to see this happen,
unless I'm mistaken this would be the only way to generate changesets automatically and have a full automated release cycle
I'm guessing this might not be desirable in many cases but in the case of some repetitive workflow with the same kind of changes it would be very helpful
is there any other way to not have to go through the manual steps of producing a changeset?
thanks

hi,
would really like to see this happen,
unless I'm mistaken this would be the only way to generate changesets automatically and have a full automated release cycle
I'm guessing this might not be desirable in many cases but in the case of some repetitive workflow with the same kind of changes it would be very helpful
is there any other way to not have to go through the manual steps of producing a changeset?
thanks

+1 would be great to be able to version the change via the command line so we could automate our releases

+1 would be great to be able to version the change via the command line so we could automate our releases

It'd be great to see this merged. I've been waiting on approval from @Andarist/ @JakeGinnivan  , having made the requested changes.
I have seen the comment from @joekur about multi-package repos:
I'd be happy to improve this PR to handle those cases better. But it'd be great to have some guidance form @Andarist / @JakeGinnivan on which options they'd like for this, to avoid implementing the wrong thing.

@TomOConnor95
is your PR here compatible with monorepos, meaning via the cli we can specify the version for all the packages that require version bumps?

It's exactly what I need to automate the creation of a changeset a bit more!
IHMO this PR should be split in 2 parts: one with --bum-type and one with --summary because --summary works with monorepos but --bum-type doesn't.
In this case, the PR with --summary would be ready to merge. WDYT?


New features from dev to master

Better Text Mate theme support.

Some commits already in master, don't know why github still shows them here. Maybe I should delete the dev branch each time after merging?

If you rebase from master, you'll get a clean commit history and be able to avoid blowing dev away entirely and restarting after merges back to master. The Github FAQ docs on syncing a fork with an original should help since it's about rebasing one remote to another remote as well. https://help.github.com/articles/syncing-a-fork/

Thanks for the info! I'll do that next time :+1:


remove golang sdk docs

There is also some docs in the tutorial section

https://github.com/macolso/developer/blob/proj-muon/content/spin/serverless-ai-tutorial.md

pls dont merge yet. i've not tested rendering of it. doing that next

Tim is making the changes to pull these


cortex-m 0.6.3

Dear all,
would it be possible to push the dependency on cortex-m to 0.6.3? I want to use knurling-rs/defmt, which depends on 0.6.3.
Or should I rather ask them to lower their dependency (e.g. ^0.6.0).
Best regards
Andreas

Hi,
You can provide your own version in your crate and RTIC will use the newer version.
This should solve you issue, could you try it out?

Wow, didn't know that you can do that. It helped!
Thanks a lot 👍🏽

Glad it worked!


Assigning tickets

Every user should be able to assign/reassign tickets to other users
with an equal user role or below.
Managers -> ASSIGN -> other managers, developers, users.
Developers -> ASSIGN -> other developers, users.
and so on....

Prefer to keep the team work of the project open with no restriction :)

Fine by be :)
Maybe I'll put it back on my xmas wishlist some day....


Addition of dictionarySize option

Summary

Added functionality with which an option 'dictionarySize' can be passed to the function call and it will returns the total number of words in the dictionary.
It Closes #1.
If used dictionarySize: true, it'll return the dictionary size only and not any random word! (even if used with other options)
Necessary tests are added, also the readme is updated with 2 examples that specify the expected behaviour of this option

What are the specific steps to test this change?
Use the below code for testing
import randomWords from "random-words";

console.log(randomWords({ dictionarySize: true }));
console.log(randomWords({ dictionarySize: true, exactly: 5, join: " " }));
console.log(randomWords({ dictionarySize: false, exactly: 5, join: " " }));

What kind of change does this PR introduce?
(Check at least one)

[ ] Bug fix
[x] New feature
[ ] Refactor
[x] Documentation
[ ] Build-related changes
[ ] Other

Make sure the PR fulfills these requirements:

[x] It includes a) the existing issue ID being resolved, b) a convincing reason for adding this feature, or c) a clear description of the bug it resolves
[x] The changelog is updated
[x] Related documentation has been updated
[x] Related tests have been updated

If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.
Other information:

Three quick thoughts from glancing at your PR:

Is there a reason not to pass back the dictionary size as the first value and then the words in whatever form the user requested them?
The typescript declaration file must also be updated for your new option.
Your code needs a little linting; the spacing is off compared to the rest of the code.

You can make changes, push them to the repo, and then let me know again in Discord.
Thanks! Great job.

Alternatively, we could export two named functions, generate and count, which would probably call a shared implementation function inside the module. That would be more natural syntax I think.

Alternatively, we could export two named functions, generate and count, which would probably call a shared implementation function inside the module. That would be more natural syntax I think.

I had doubts about count and generate, could you help me understand this better?
So count would only return the number of words in the dictionary?

The name count is confusing to me because it makes me think that it only refers to the count of words that should be generated if it has no other parameter, count is used for that in index.d.ts

What would generate do? Would it be like count, but with options such as minLength and maxLength, and then return a word value based on the options, like a word quantity filter? The name "generate" makes me think I am wrong about this question.

What I am saying is that if the module will be able to do more than one
thing, that is either generate words or give you a count, then it should
have two named exports, and no default export. It is often a mistake to
assume there will only ever be one export from a module and now we have a
chance to address that because this will be a new major version number
anyway.
On Tue, May 9, 2023 at 10:22 AM nellfs @.***> wrote:

Alternatively, we could export two named functions, generate and count,
which would probably call a shared implementation function inside the
module. That would be more natural syntax I think.
I had doubts about count and generate, could you help me understand this
better?
So count would only return the number of words in the dictionary?

The name count is confusing to me because it makes me think that it
only refers to the count of words that should be generated if it has no
other parameter, count is used for that in index.d.ts
https://github.com/apostrophecms/random-words/blob/11cc2291a56ccadbe5ce1f50f1c3f3e7cea4169e/index.d.ts#LL15C6-L15C6

What would generate do? Would it be like count, but with options such as
minLength and maxLength, and then return a word value based on the
options, like a word quantity filter? The name "generate" makes me think I
am wrong about this question.
—
Reply to this email directly, view it on GitHub
https://github.com/apostrophecms/random-words/pull/37#issuecomment-1540227021,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAH27MAOXVXBHU4JFZWYA3XFJHJRANCNFSM6AAAAAAXMYTRV4
.
You are receiving this because you commented.Message ID:
@.***>

--
THOMAS BOUTELL | CHIEF TECHNOLOGY OFFICER
APOSTROPHECMS | apostrophecms.com | he/him/his


[docs] Update Functions package content

Motivation
On Functions package page,  the same notes/tips occur many times, and some code snippets are not displayed correctly.
Modifications

Re-org the structure, reduce note/tips
Fix code snippet display issues.
Fix indent issues.

@sijia-w @Huanli-Meng please help review the content, any comment is highly appreciated.

@Huanli-Meng thanks for your comments. PTAL again.


RTL Rating when useFullStars: false

we faced an issue with the half star rating, as we are using RTL language, the HALF FULL must be on the right side first instead of the left side.

Is there any current option to do that? Thank you.

Hi, sorry for the late response.
unfortunately it doesn't support the other direction.
But let me know if you'd still need this implemented and I can find some time.

same problem

same problem  :(


Exception while downloading free-telly

757: unexpected token

brew cask fetch free-telly also has the same error.
@emanresusername any thoughts?

see if #28815 fixes this for you, worked on my machine

Thank you @emanresusername, passes audit and fetch.


Site is not working?

Hey folks - I have been using the https://jscompress.com/ site for a while - thanks!  Today, the tool does not seem to work - it tells me 100% compression - even on files I have compressed successfully before.  Also... does it look different?  You used to have the ES6 compression checkbox on the top right and that is gone.  Here's hoping it was just a bad update or something...

The comments are not removed anymore???

@danzen can you provide the problematic code?

does it look different?

We used UglifyJS as a default library for compression and babili (now called babel-minify) as an optional but unstable minifier for ECMAScript 2015+. Today babel-minify is quite stable so we've decided to completely kill UglifyJS and use babel-minify by default.
@opajaap fixed, thank you.

@finom I can confirm that "Compress JavaScript" no longer is works on large JavaScript entries, it empties whole pasted JavaScript, throws some exceptions on Console:

You can reproduce the issue trying to paste and compress https://browser.sentry-cdn.com/4.5.4/bundle.js
Maybe is caused by https://github.com/circlecell/jscompress.com/commit/92a3de5bf26a6bbe644d758ced8de6e108335c4c

This is what I was compressing... been doing files this size for the last few years without a problem - including a week or so ago... https://d309knd7es5f10.cloudfront.net/zim_10_doc.js

@laukstein @danzen thank you guys, It's caused by https://github.com/babel/minify/issues/904
Temporary disabling https://github.com/babel/minify/tree/master/packages/babel-plugin-minify-builtins :(

The option will be enabled as soon as they fix the bug.

I was able to compress... the Firefox browser did warn 3 times that it was being slowed down and do I want to cancel the script - I think it has done that in the past on occasion - but I think it was only once not three times.  Anyway - it managed - thank you.

Guys, I've brought back UglifyJS because it seems like babel-minify isn't as good as we would expect.


Script allows numeric arguments though it shouldn't

Input:
./exercise1.sh apple 15 fruit 22 33 55
Output:
Number of arguments: 6
1st argument: apple
2nd argument: 15
3nd argument: fruit
more arguments: 22, 33, 55,
Name: apple
Count: 15
Type: fruit

cat ~/mylogs/apple.log
1) 33: alert
2) 55: alert
3) 22: warning
4) 55: normal
5) 22: failure
6) 33: error
7) 33: request
8) 55: request
9) 22: request
10) 22: request
11) 55: normal
12) 33: notice
13) 22: warning
14) 33: warning
15) 22: failure

$ ./exercise1.sh Apple 10 Fruit one two three operand 2344
Number of arguments: 8
1st argument: Apple
2nd argument: 10
3nd argument: Fruit
Additional arguments: one two three operand 2344
Old file Apple.log removed.
🧮 Argument counter in array is 1 now
🔬 Dumping argument, it is "Apple" now. Checking is it a numeric or not
🧮 Argument counter in array is 2 now
🔬 Dumping argument, it is "10" now. Checking is it a numeric or not
🧮 Argument counter in array is 3 now
🔬 Dumping argument, it is "Fruit" now. Checking is it a numeric or not
🧮 Argument counter in array is 4 now
🔬 Dumping argument, it is "one" now. Checking is it a numeric or not
🧮 Argument counter in array is 5 now
🔬 Dumping argument, it is "two" now. Checking is it a numeric or not
🧮 Argument counter in array is 6 now
🔬 Dumping argument, it is "three" now. Checking is it a numeric or not
🧮 Argument counter in array is 7 now
🔬 Dumping argument, it is "operand" now. Checking is it a numeric or not
🧮 Argument counter in array is 8 now
🔬 Dumping argument, it is "2344" now. Checking is it a numeric or not
🔢 Error: one of additional parameters is numeric and not a string! Exiting.


[DOCS] Object

@cbscribe Thanks Chris, changes are up.

Thanks for your contribution!

Thanks Chris.


AI tool added

Related Issue
Closes #878
Description
I have added a NightCafe studio website which is AI Art Generator.
Screenshots

Checklist

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

Hello, contributors! This is Jason speaking. Due to some workflow issues, we will be closing all the PRs today. Therefore, I kindly request all of you to create new PRs tomorrow, as the currently open ones will be closed by our team. I apologize for any inconvenience caused. Also, please make sure to check the titles when creating the PRs. You can refer to the README.md for more details. Thank you.


problem with request paths for contexts in dialogflow v2

Hi there --
I'm having some issues with contextClient.createContext and contextClient.ListContexts methods. As per the documentation, I'm setting the request path as 'projects/{projectId}/agent/sessions/{sessionId}', but I get back the error Resource name '' does not match 'projects/*/locations/*/agent/environments/*/users/*/sessions/*'..
I know that projectId and sessionId are correct, as sessionClient.detectIntent works as expected.
Would you be able to clarify what should be going in the context request string? Thanks!

Resolved: when creating a new context, the 'name' given is actually the contextPath, which needs to be set in the same way as the session path, as in the API sample docs here https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/resource.js#L902.


provider_error Failed to execute 'fetch' on 'Window': Failed to read the 'headers' property from 'RequestInit': String contains non ISO-8859-1 code point.

What operating system are you using?
win11
What browser are you using?
edge
Describe the bug

What provider are you using?
None
What prompt did you enter?
No response
Console Logs
No response
Participation

[ ] I am willing to submit a pull request for this issue.

Do you have an invalid character in OpenAI API Key? e.g. \n, space?

Is there an invalid character in your OpenAI API Key input box, such as a \n or space, or a Chinese character?

确实是APIkey错了


[MINOR BUG] When contents of .clasp.json is malformed clasp reports 'No .clasp.json settings found'

Expected Behavior
When the contents of .clasp.json is malformed and a command that references the file is invoked (ex. clasp pull), reported error should state that the file is malformed.
Actual Behavior
For .clasp.json files with malformed content, clasp reports:

No .clasp.json settings found. create or clone a project first.

This is misleading.
Steps to Reproduce the Problem

Edit .clasp.json so that its contents are malformed (ex. delete a comma)
Execute a clasp pull or clasp push command.

Specifications

Node version: v10.15.0
Version: 2.1.0
OS (Mac/Linux/Windows)

How about we fix this quickly by saying:

No .clasp.json settings found or file is malformed. create or clone a project first.

PRs welcome.

@grant maybe something like:

No valid .clasp.json project file. You may need to create or clone a project first

Sure


[bug] Random object order not allowed?

Using json_unpack_ex() requires the objects to be in a specific order, even when a name is passed.
Example:
json_unpack_ex(root, &Err, 0, "{s?o, s?o, s?o}",
"general", &general,
"names", &names,
"cars", &cars);
requires that the objects "general", "names" and "cars" have been defined in the same order in the root object.
In the example below,  "names" and "general" will be NULL as they are swapped
json_unpack_ex(root, &Err, 0, "{s?o, s?o, s?o}",
"names", &names,
"general", &general,
"cars", &cars);
This seems illogical, as there is nothing wrong with this according to JSON spec?
It should be possible to have a flag or so which tells the functions to search all found objects at this level until the corresponding name has been found at any location:
like:
#define JSON_ALLOW_UNDEF_ORDER         0x3
Edit:
Looks like this issue is only present when parsing objects using this unpack function
using it for other types (strings, ints) seems to allow out-of-order

Can't reproduce. Here's a test program I used. Feel free to reopen and provide a minimal reproducing program that demonstrates the issue.
#include <jansson.h>

int main() {
    json_error_t Err;
    json_t *root = json_loads("{\"general\": [42], \"names\": {}, \"cars\": true}", 0, &Err);

    json_t *names, *general, *cars;

    int res = json_unpack_ex(root, &Err, 0, "{s?o, s?o, s?o}",
                   "names", &names,
                   "general", &general,
                   "cars", &cars);

    printf("%d, %p, %p, %p\n", res, names, general, cars);
    return 0;
}

Hi,
Here is a reproducer:
#include <jansson.h>

int main() {
    json_error_t Err;
    json_t *root = json_loads("{\"obj1\":{\"test1\":\"test 1\"},\"obj2\":{\"test2\":\"test 2\"},\"obj3\":{\"test3\":\"test 3\"},\"obj4\":{\"test4\":\"test 4\"}}", 0, &Err);

    json_t *test1, *test2, *test3, *test4;

    int res = json_unpack_ex(root, &Err, 0, "{s?o, s?o, s?o, s?o}",
                   "test1", &test1,
                   "test2", &test2,
                   "test3", &test3,
                   "test4", &test4);

    printf("%d, %p, %p, %p, %p\n", res, test1, test2, test3, test4);
    return 0;
}

This is the JSON input:

{
  "obj1": {
    "test1": "test 1 ok"
  },
  "obj2": {
    "test2": "test 2 ok"
  },
  "obj3": {
    "test3": "test 3 ok"
  },
  "obj4": {
    "test4": "test 4 ok"
  }
}

Output of the app here is:
0, 0x7fff7a46e8d8, 0x7fff7a46e910, 0x7fa30eabb710, (nil)
So the call succeeds, put the pointer of the last object in the input is NULL.
Reversing the order in json_unpack_ex():
#include <jansson.h>

int main() {
    json_error_t Err;
    json_t *root = json_loads("{\"obj1\":{\"test1\":\"test 1\"},\"obj2\":{\"test2\":\"test 2\"},\"obj3\":{\"test3\":\"test 3\"},\"obj4\":{\"test4\":\"test 4\"}}", 0, &Err);

    json_t *test1, *test2, *test3, *test4;

    int res = json_unpack_ex(root, &Err, 0, "{s?o, s?o, s?o, s?o}",
                   "test4", &test4,
                   "test3", &test3,
                   "test2", &test2,
                   "test1", &test1);

    printf("%d, %p, %p, %p, %p\n", res, test4, test3, test2, test1);
    return 0;
}

Yields the following output
0, **(nil)**, 0x7f151507d710, 0x7ffe3dc09c50, 0x7ffe3dc09c18

json_unpack_ex will not find test1 inside obj1 using this statement. is not finding any of the objects and the pointers being printed are undefined.  The correct unpack call for this structure would be:
    int res = json_unpack_ex(root, &Err, 0, "{s: {s?o}, s: {s?o}, s:{s?o}, s:{s?o}}",
                   "obj1", "test1", &test1,
                   "obj2", "test2", &test2,
                   "obj3", "test3", &test3,
                   "obj4", "test4", &test4);

Also note you need to initialize the pointer variables to NULL before calling json_unpack_ex.  json_unpack_ex does not touch variables for keys that are not found.  That is why you were seeing "random" pointers, it was showing whatever appeared on the stack.

Yeah, noticed the typo and thus deleted the faulty repro.
I guess I'll have to share the full json config at some point.  which is pretty huge.
or do some more checking until it works and check the delta.
Will come back on this when I have more facts & figures.
Thanks again for taking the time here to check it.


[Core] Object store plugin

We propose object store plugin interfaces to allow Ray to support other object stores that may provide additional features without disruption of the overall ray object management.

Will try to take a look this week!

Sorry for the delay, and thanks for the proposal!
Overall I think the proposal looks reasonable. The main thing that is missing for me is a validating example. Ideally we would introduce one additional plugin to start, since this will let us validate the proposed API. Do you have one in mind that you're able to contribute to open source? Otherwise, we should work together to find something - off the top of my head:

a Redis instance that's shared with non-Ray applications
RDMA-based object store

It would also be good to see the CXL example fleshed out a bit more. One thing I didn't quite understand for example was how object fetching would work. Presumably we don't want to transfer the whole object via the normal raylet-raylet protocol anymore? But I wasn't sure how the current API proposal would be able to support that.
Also, if I understand correctly, this is only meant to use one plugin at a time, right?
One small note: could you create a new file with the proposal instead of overwriting README.md? Thanks!

Thank you for the review. It is meant that only one plugin is used. It is assumed that only one type of object store can be used. I'll create a new file as the base for further discussions.


OpenOCD support code version not raised on recent additions

The commit a5b6215a060676d07f9a5119f0a05ffa2edc8d85 added three elements to the _kernel_openocd_offsets array without raising the OPENOCD_OFFSET_VERSION as was instructed in the comment above the array. So even if OpenOCD was able to use those new values, it would not be able to determine if they exist.
But since our patch to OpenOCD right now rejects unknown versions (see zephyrproject-rtos/openocd#3), I suggest to change the meaning of the OPENOCD_OFFSET_VERSION field to inform only about incompatible changes. For detecting backward compatible additions to the end of the array like the commit mentioned above, we should add a new variable to the .openocd_debug section that has the value ARRAY_SIZE(_kernel_openocd_offsets) (C does not allow us to put this value inside the array).
Also note that our patch to OpenOCD is not yet upstream (#2933).
I'd be willing to make pull requests with the necessary changes, both for this issue and for zephyrproject-rtos/openocd.

@dgloeck please go ahead with the fixing and upstreaming.


Update how-to-setup-rbac.md

Added MongoDB API which is now supported in public preview.

@seesharprun
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


explicitly select text in appreciated-letter

tried changing font on the letter template, was confused why only my body changed font.
This will break old letters, so does this make this change a 0.2.0?
To keep it 0.1.0, could "fontname" be an argument to the template and then another 'if none' could select PT Mono if the user doesn't ask for something else. Ugly, and I think new arg might also be 0.2.0.
Or maybe templates should own font like this? Ensure spacing is good.

I think the font shouldn't be part of main.typ. I agree that customizability for templates is a bit lacking at the moment because of the way they are set up. We'll need to think a bit more about how to structure templates in a way that makes them easier to customize. But that's a more general problem that this letter template, so I'll close this for now.

I've started a discussion about template customizability on the Discord server.


analysisSets, dataset item in condition might not be needed

If I get it right, the goal of creating analysisSets elements is to reprensents all possible population set that can exist for a given set of outputs. I then wonder why we would need the "dataset" item in the "condition" element as it would mean creating as many analysisSets elements as there are analysis datasets times population flags.

This is a good point that will need to be addressed.
I think the issue is that the model currently defines too close a link between defined analysis set and one if its representations (i.e., as a dataset variable flag).  Really, there is only one defined set of subjects, but the corresponding variable flag might be represented in multiple datasets for convenience.  We do not expect to create multiple duplicate population definitions, so the model should accommodate the use of the same population flag in multiple datasets (e.g. either by allowing multiple dataset variable references, by referencing a variable definition that's independent of a dataset - similar to ItemDef instead of ItemRef in Define-XML - or in some other way).

After thinking about this a bit more, I don't think it's appropriate to reference any other dataset apart from the subject-level dataset (e.g., ADSL) in the definition of the analysis set.  An analysis is a defined set of subjects so the "where clause" included in the analysis set definition is there to allow identification of a set of subjects. Although the population flag variables may be copied from ADSL into other analysis datasets, these variables are not performing the same role in subject-level vs analysis datasets:

In the subject-level dataset, population flag variables identify subjects who are part of the population. It is therefore appropriate to include these are part of the definition of the analysis set: "if you want to know which subjects are in this analysis set, you can find them by looking for the flagged subjects in the subject-level dataset".
In analysis datasets, population flag variables identify data records as belonging to subjects who are in that particular population.  You won't necessarily get the full set of subjects in the population if you look for flagged records in the analysis dataset, so analysis dataset population flag variables should not be referenced in the definition of the analysis set.

I'm not sure I agree with the above statement, especially if we intend to use the model for automation purposes. It might cause issues if the variable representing the population to select in an AnalysisSet ID is not available in the analysis dataset of interest.
I have the same concern when it comes to AnalysisGroup ID where I think the Dataset attribute should rather be at DisplayID level.
I attached a file where I have included examples of new attributes in "Display" sheet highlighted in yellow. I excluded (highlighted in red) Dataset attribute in both AnalysisSet and AnalysisGroup sheets.
ARM_Technical_Specs_DM_AE_VS_Examples_DRAFT_20220617_PDO.xlsx


Enable jwt middleware customization

When we want to create a custom jwt middleware, this is already possible, but the prest besides registering the customized middleware also registers the standard middleware, which often ends up taking out effect of the customized middleware

I'm very interested in this issue.
IMO the simplest solution is to add a config to disable prest jwt middleware.
So here instead of  using
if !config.PrestConf.Debug {
 	MiddlewareStack = append(MiddlewareStack, JwtMiddleware(config.PrestConf.JWTKey))
 }

Use something like
if !config.PrestConf.DisableJWTMiddleware {
 	MiddlewareStack = append(MiddlewareStack, JwtMiddleware(config.PrestConf.JWTKey))
 }

What do you guys think?
May I propose a PR for that?

i guess we can i little bit different
if !config.PrestConf.Debug  && config.PrestConf.EnableJWTDefault /*default true */ {
 	MiddlewareStack = append(MiddlewareStack, JwtMiddleware(config.PrestConf.JWTKey))
 }

@franciscocpg feel free to send a PR

@felipeweb
If we have a separate config for enable/disable the default jwt, do we still need to check debug config?
I mean if config.PrestConf.EnableJWTDefault wouldn't be enough?

Yes
On Wed, 18 Oct 2017 at 13:46 Francisco Guimarães<EMAIL_ADDRESS>wrote:

@felipeweb https://github.com/felipeweb
If we have a separate config for enable/disable the default jwt, do we
still need to check debug config?
I mean if config.PrestConf.EnableJWTDefault wouldn't be enough?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/prest/prest/issues/230#issuecomment-337636045, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEpfGVpO3Rup8XQd6lcKxTOUUIuMiBCIks5sth1ggaJpZM4Px8tZ
.

@franciscocpg to maintain the default behavior we need both, the debug mode off enable jwt and  if we want customize jwt we need to disable default jwt so other env var


Data avaliability

Hi is the original data pickle files are available for repeatability?

Dear Roy,
The data can be found here https://drive.google.com/drive/folders/0B1kJ1OjakiU4MUp3ak9ZbXE0WUU?usp=sharing.
It should work together with the instructions provided at https://github.com/glouppe/recnn.
Best,
Gilles


fix: Isochrones to return shortest distance

This fix did not have the performance improvement that I hoped for (it's actually quite negligible). But for implementation correctness, still fixed it (as is evident from the test, it didn't return the shortest path).

Please fix the comment above the function - it explicitly states this doesn't guarantee shortest paths.

Fixed now, thanks for noticing.


tickets/DM-40329: remove dask from RSP environment

Checklist

[X] Used a personal fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[X] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

The dask packages added about 700MB to the sciplat-lab RSP Jupyterlab images, and they won't work as-is with our new spawning strategy, so I removed them.

Can someone with write access please merge?


explore c# and dotnet 8

Having experienced first hand how difficult and slow Haskell development is, I am very much tempted to see how easy things would get with the regular old c# and dotnet 8. This week I also saw a lot of F# code and if I'm being completely honest, I am beginning to lose faith in functional programming. To convey very abstract, general ideas - perfect match. But to write a poc api, run it in a container and forget about it - c# is just so much better. No custom operators, very small sdk, tons of quality code out there and most importantly - standards. They might not be super pretty and awe inspiring, but they are recognized by many engineers and are universally understood. Considering getting off my high horse...

No. I can't do it.
Started a new branch, a minimal api, a sleek vs code devcontainer, a codespace.
Can't do it.
C# feels off, extension methods, I still need to go to the definition.

Nope. Closing this. This project was supposed to be for fun and for solving interesting problems. Working with c# feels too much like work.


Update Scala to 2.13.12

Hi, will there be a 2.x release with the scala update? or do we have to wait till 3.x ist out?

I guess, we can tag/release a 3.0.0-M1.

@lefou Does that mean that one would have to use a pre-release Ammonite for the latest 2.13 Scala version?


Reference group variable still not working

https://github.com/Microsoft/vscode/issues/9586
https://github.com/Microsoft/vscode/issues/9010
Still not working
// regexp
(abc)
foo=$1

// I get
foo=1

// should be
foo=abc

It works for me

Do you have a specific example and steps to reproduce?


clients(tf): remove unused outputs

According to discussion in standup, those outputs are not known to be
used anywhere anymore.

The remaining outputs are consumer by bitte CLI, but could be consumed
directly from the nix evaluation (see code comment)

Merging after fair discussion & approval on standup.


Updates to the user manual.

Easier reading of my copy of the docs here

dupRadar line smoothing was appended to this PR. Minor change, shouldn't break anything.

Looks good! 👍


[Feature]: Google analytics integration should be supportive in appsmith application.

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
To keep analysis of data for our app, google analytics script is necessary which appsmith doesn't support. kindly add the feature.
Why should this be worked on?
To keep analysis of data for our app, google analytics script is necessary which appsmith doesn't support. kindly add the feature.

How I configured google analytics in appsmith application


feat: add auth successful UI step

This adds a "success" state to the UI flow to match the designs. There's a bit of a state change we should consider as a follow-up: right now, when you click an email link and are signed in, the modal doesn't even re-appear in the new tab unless you need to add a passkey. I assume we should be re-opening the modal in that case but will confirm with design.
Pull Request Checklist

[x] Did you add new tests and confirm existing tests pass? (yarn test)
[x] Did you update relevant docs? (docs are found in the site folder, and guidelines for updating/adding docs can be found in the contribution guide)
[x] Do your commits follow the Conventional Commits standard?
[x] Does your PR title also follow the Conventional Commits standard?
[x] If you have a breaking change, is it correctly reflected in your commit message? (e.g. feat!: breaking change)
[x] Did you run lint (yarn lint:check) and fix any issues? (yarn lint:write)
[x] Did you follow the contribution guidelines?

PR-Codex overview
This PR introduces a new Complete component to show a success illustration upon successful login.
Detailed summary

Added Complete component to display success illustration
Added SuccessIllustration SVG component
Added PoweredBy component
Used useEffect to trigger onAuthSuccess after a delay

The following files were skipped due to too many changes: packages/alchemy/src/react/icons/success.tsx

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Closing after discussion - we're skipping this state for now 🎉


Support for_option in the protocols macros

Description of the feature
At the moment it is not possible to create operations you want to repeat in the protocols.
This could be handy for implementing set_cookies option to be able to set multiple cookie on the printing session.
Example:
defmodule MyApp.ProtocolExample do

  steps do
    for_options :set_cookies, ext:  :acc do
      call(:set_cookie, "Network.setCookie", &Map.fetch!(&1, :set_cookies_acc), %{httpOnly: true})

      await_response(:cookie_set, [])
    end
end

Implementation consideration
To be able to implement such a feature I am questioning myself on the following points:

Why steps are done through macros and not functions? While they are converted to function calls at the end
For the accumulator shall we save it inside the state? And if yes is there some standard to name keys (in the example I put it as :set_cookies_acc as the concatenation on set_cookies and acc as the extension.)

Also for the moment all the protocols system is not documented. Will it be part of a next iteration? (I am thinking it could be nice to make it part of a separated library)

Hi @GuillaumeMilan
thank you for your request. I'm rather hesitant to put further complexity into ProtocolMacros, TBH, hence may I ask

This could be handy for implementing set_cookies option to be able to set multiple cookie on the printing session.

Is this an actual requirement of yours or are you just looking to contribute?

To your questions:

Why steps are done through macros and not functions? While they are converted to function calls at the end

There's probably no good reason for this. I wanted some syntax sugar and be able to write my "protocols" as almost linear code. But one could have easily implemented this in a functional way as way and come out with a similarly ok-ish looking interface.
%Protocol{}
|> Protocol.add_step(:call, &my_call_fun/2)
...

For the accumulator shall we save it inside the state? And if yes is there some standard to name keys (in the example I put it as :set_cookies_acc as the concatenation on set_cookies and acc as the extension.)

That would be the easiest, sure. I think I'd just re-use the set_cookies name as the iterator, because why not.
You have something like this in mind, right?
      defp do_build_steps([{:for_option, key} | rest], acc, opts) do
        for value <- List.wrap(Keyword.get(opts, key)) do
          do_build_steps_until_end(rest, acc, Keyword.put(opts, key, value))
        end
        |> List.flatten()
        |> ++(do_build_steps(skip_branch(rest, ...))
      end

Is this an actual requirement of yours or are you just looking to contribute?

This is indeed a requirement I have in a project. But to do so I just created a custom protocol in charge of binding once a cookie. And then use the regular flow to bind the second one. My worry is as the protocol API is not documented it can be interpreted as a private API. And so might change in future version of the library.
I would also be happy to participate in the project but to be able to do so I will need to understand some of the choices made first.

There's probably no good reason for this. I wanted some syntax sugar and be able to write my "protocols" as almost linear code. But one could have easily implemented this in a functional way as way and come out with a similarly ok-ish looking interface.

Ok clear I'll try to think about it and come with a proposition that could keep the current protocols syntaxe but providing additional features

That would be the easiest, sure. I think I'd just re-use the set_cookies name as the iterator, because why not.

At first I was thinking the same, but then I though what if the user wants to use the complete opts argument along one. If we destructure inside the same name then it will not be possible. (:as can stay an option of for_option and only destructure in other place if requested)

You have something like this in mind, right?

Yes something similar

My worry is as the protocol API is not documented it can be interpreted as a private API.

I don't intend to make it public as I don't consider it "essential" and it's not really polished either. That said, it's also unlikely that the protocol "virtual machine" is going to change anytime soon.

At first I was thinking the same, but then I though what if the user wants to use the complete opts argument along one. If we destructure inside the same name then it will not be possible. (:as can stay an option of for_option and only destructure in other place if requested)

OK, please do an :as option then (instead of ext and name interpolation), and let it default to the same key.

Planning to work on this at the end of the week. Hope I can sort it out during the WE


is there any way to copy the deminified code ?

i wan to copy the beauty code,but faile ,is there any easy way?

if i opent code using costome editor ,i can't get the beauty code


In Microsoft Login, handlePostMessage was not being called properly due to eager removal of event. Thus, this caused a bug where you had to login a second time on the microsoft login for it to register on the app

As you can see on this line, the removal is called immediately when the onChangeLocalStorage is called. It does not verify first if there is an actual code or not.
https://github.com/cuongdevjs/reactjs-social-login/blob/24b29fe5cda1316eb176ad14711cc3dc84edad5d/src/LoginSocialMicrosoft/index.tsx#L140C30-L140C30
By simply moving this line to after the If condition, i.e. Line 143, the issue is resolved. Here is the result:
  const onChangeLocalStorage = useCallback(() => {
    const code = localStorage.getItem('microsoft')
    if (code) {
      window.removeEventListener('storage', onChangeLocalStorage, false)
      void handlePostMessage({
        provider: 'microsoft',
        type: 'code',
        code,
      }).then(() => {
        localStorage.removeItem('microsoft')
      })
    }
  }, [handlePostMessage])

Thank you very much. But I would appreciate it if you could create a PR?

Thanks for your response. PR has been created.

@cuongdevjs any update on this? facing same issue


All LoL commands appear to be broken

Just tried to use the !lol commands and I have yet to get any of them to work.
Here is a screenshot of the error replies I am getting:
http://puu.sh/nRqJa/8e6532e8cf.png

Only the championgg commands are down at the moment, seems to be an issue on their side. Waiting for them to bring it back up. Thanks for the report.


[epic] Add Extension API

The Extension API should be the API users use to instruct the cluster to install/upgrade/delete an extension/operator. This eventually replaces ClusterExtension to become the only user-facing API for extensions/operators.
This will be a namespace-scoped API.

[x] #596
[x] #595
[x] #592

Follow-ups from #596 and #598

[x] https://github.com/operator-framework/operator-controller/issues/630
[x] https://github.com/operator-framework/operator-controller/issues/631
[x] https://github.com/operator-framework/operator-controller/issues/632
[x] https://github.com/operator-framework/operator-controller/issues/633
[x] https://github.com/operator-framework/operator-controller/issues/634
[x] https://github.com/operator-framework/operator-controller/issues/635
[x] https://github.com/operator-framework/operator-controller/issues/636
[x] https://github.com/operator-framework/operator-controller/issues/637
[x] https://github.com/operator-framework/operator-controller/issues/638

Follow-ups that likely need refactoring based on Helm direction:

[x] https://github.com/operator-framework/operator-controller/issues/653
[x] https://github.com/operator-framework/operator-controller/issues/654
[x] https://github.com/operator-framework/operator-controller/issues/655
[x] https://github.com/operator-framework/operator-controller/issues/656

We decided to stick with ClusterExtension API and relevant cards from this epic have been completed. Hence marking this as done/closed.


do/ci: Improve readability

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@wbpcode in some of my pending prs i have various cleanups that are more/less related to the actual pr
ive broken out some of those cleanups here, and tried to make it more consistent through the file
there is a follow up that i want to do, which reorders the cases alphabetically and does some renaming, but i figured better to do that separately also


-do not merge- Test changes to see if #2722 works as expected.

Success. Both installations tested.


Using add_imports makes isort unusable

Since the release of isort 5, the add_imports options stopped working.
Let's have a file with only imports:
from __future__ import unicode_literals

from os import path

Running
isort --check-only --diff test.py --add-import 'from __future__ import unicode_literals'

results in
ERROR: /tmp/test/test.py Imports are incorrectly sorted and/or formatted.

with no diff provided.

Thanks for reporting this issue! The combination of checking while adding imports wasn't previously tested. I've fixed the issue in 5.0.5 and added an additional regression test to ensure it doesn't resurface.
Thanks!
~Timothy

I confirm it works with 5.0.5. Thanks


Implement RVV backend

I have less free time for code reviews than I used to, so apologies in advance for taking a while to get to this. You might be interested in an RVV assembly implementation that I've been working on here: https://github.com/BLAKE3-team/BLAKE3/blob/guts_api/rust/guts/src/riscv_rva23u64.S. Unfortunately that branch is tied to a large refactoring, which makes it hard for me to land it in master.

Oh cool, I didn't realize there was already some implementation work for RVV.
I'll probably give it a closer look soon but just out of curiosity, what state is it in? Any idea about the performance characteristics of it or anything else interesting to note?
Also, have you done any work on any SVE backend?

(I just pushed a commit to clean up some function names, so you might need to refresh the page if you still have that .S file open.)
My implementation uses the Zbb and Zvbb extensions, so I don't think it will run on most real chips yet, even those that support V 1.0. I've been doing all the development under Qemu, so I've never done any real benchmarks, but it is passing tests. The missing work that makes it hard to land this is porting other SIMD implementations to this new API. I've done AVX-512 on that branch, but I need to do SSE2/4.1 and AVX2. There was also a minor perf regression in AVX512 that I'll need to track down. Then there are loose ends to tie up around e.g. MSVC-flavored assembly.
Most of the heavy lifting in the parallel implementation (which is what really matters for performance) is in blake3_guts_riscv_rva23u64_kernel, but that code is pretty straightforward without any significant open questions. There are more questions about how transposition should be done in calling functions like blake3_guts_riscv_rva23u64_hash_blocks, which currently uses vlsseg8e32.v. That instruction might be slow on real hardware, and I might need to experiment with doing simpler loads and then transposing in registers.
I haven't tried ARM SVE yet, no. (Also the NEON implementation in master almost certainly has some perf mistakes that someone more experienced could spot.)

My implementation uses the Zbb and Zvbb extensions, so I don't think it will run on most real chips yet, even those that support V 1.0. I've been doing all the development under Qemu, so I've never done any real benchmarks, but it is passing tests.

Interesting. Thanks for the information.
I've also been doing most of my experimentation under qemu. I did recently get a hold of a Pioneer (SG2042) but it only supports their 0.71 RVV and I haven't even tried to get tooling to work with that yet (in fact I've barely just gotten it to boot, heh). But it might be interesting to try and adapt what you have (sans the Zbb/Zvbb and whatever else is missing).

The missing work that makes it hard to land this is porting other SIMD implementations to this new API. I've done AVX-512 on that branch, but I need to do SSE2/4.1 and AVX2.

I'd be interested in helping with that effort if you'd like. If you could give me some pointers on where to start or whatever, I'd certainly take a look.

There are more questions about how transposition should be done in calling functions like blake3_guts_riscv_rva23u64_hash_blocks, which currently uses vlsseg8e32.v. That instruction might be slow on real hardware, and I might need to experiment with doing simpler loads and then transposing in registers.

Yeah, I noticed that. Seemed interesting. I'm also wondering how that will work out.

I haven't tried ARM SVE yet, no.

I was really kind of looking for an interesting project to try something VLA related but since it seems like you've mostly solved the RVV side, maybe I will give SVE a try instead.

(Also the NEON implementation in master almost certainly has some perf mistakes that someone more experienced could spot.)

I actually made an attempt to finish the missing parts for the NEON implementation at https://github.com/BLAKE3-team/BLAKE3/pull/369. I'm certainly not an expert though and this was my first real attempt using NEON for anything.
Like you suggested though, implementing compress didn't make any practical difference. I tried a few different approaches there but overall nothing seemed to help. I'm guessing it will be hard to get better performance without some sort of more fundamental redesign of the algorithm but I don't even know what that would look like. I suspect all the shuffling in particular is hard to make efficient for NEON.
One thing I was thinking about though, for better performance on Apple Silicon at least, is to try an implementation using Metal, but making use of the unified memory modes to try and avoid the latency issues that made the Vulkan (and SYCL version I saw elsewhere) not very usable.
Another thing I've been wondering about is whether it might be possible to use the AMX coprocessor for some parts of the algorithm, perhaps genlut in particular.
Anyway, interesting stuff. Let me know if there's some way I can help with that branch or maybe if you have some suggestions for other ideas worth exploring.


Daily installments

Closes https://github.com/poanetwork/dpos-token/issues/48

@maxaleks Please resolve conflicts in this PR. The branch remove-reward-for-staking-pool from the previous PR still exists - you can use it.


Feature Request: Change/Remainder to same address (configurable)

"Change/Remainder: After sending funds to a 3rd party, all remaining funds on the account must be transferred to a new address - this is called the change or remainder address."
Currently whenever I send IOTA using the ledger the remainder is stored on a new address. Since chrysalis this is not mandatory anymore. It would be nice to have the option to keep the remainder on the current address. This could be e.g. useful for tax reasons where you want to show hat you hold IOTA for a given time without proving that you own every address that was generated during sending of iota.

Hi, this is not a Nano Ledger app issue - probably you should open an issue in Firefly :thinking: The Ledger Nano app only consumes what is sent to the app by firefly or cli-wallet.


Sink

@andrewstevenson , can you give it a try (i.e. does the README work)? Thanks!

Might be nice to add more explanation of the sink .i.e that is dumping the string contents of the topic back out to twitter.

I agree. More clear this way?


HttpError: <HttpError 403 when requesting

I am trying to insert a page in blogger with draft status.
The Code I run:
import requests
from apiclient.discovery import build

Key = "My_API_Key"
BlogId = 'My_Blog_ID'

blog = build('blogger', 'v3', developerKey=Key)
body = {
        "kind": "blogger#post",
        "id": "My_Blog_ID",
        "title": "posted via python",
        "content":"
hello world test
"
        }
resp=blog.pages().insert(blogId='My_Blog_ID', body=body, isDraft=True).execute()

And I got This Error:
---------------------------------------------------------------------------
HttpError                                 Traceback (most recent call last)
<ipython-input-53-a414ec6ed6db> in <module>()
      5         "content":"
hello world test
"
      6         }
----> 7 resp=blog.pages().insert(blogId='My_Blog_id', body=body, isDraft=True).execute()

1 frames
/usr/local/lib/python3.6/dist-packages/googleapiclient/http.py in execute(self, http, num_retries)
    905             callback(resp)
    906         if resp.status >= 300:
--> 907             raise HttpError(resp, content, uri=self.uri)
    908         return self.postproc(resp, content)
    909

HttpError: <HttpError 403 when requesting https://blogger.googleapis.com/v3/blogs/My_Blog_ID/pages?isDraft=true&key=My_API_KEY&alt=json returned "The caller does not have permission">

Hi @ashish453,
It looks like the credentials you are using have insufficient permissions.
Please see https://support.google.com/googleapi/answer/6158862?hl=en for instructions on how to get an API Key.
Thanks!

yes, sir I created the API key but each time It says i don't have permission.
I can run this code without getting error:
resp = blog.blogs().get(blogId=BlogId).execute()
But i can't run the above code.
why is this happening.
If this is related with my credentials, then let me know how can i solve this.
I did try crating a new api key from the above link instruction

https://developers.google.com/blogger/docs/3.0/using
The call you are making requires OAuth2 Credentials. Please see the document above for how to get a client_secret.json.
This should work.
from __future__ import print_function
import os.path

from google.auth.transport.requests import Request
from google_auth_oauthlib.flow import InstalledAppFlow
from googleapiclient import discovery
from google.oauth2 import credentials

creds = None
SCOPES = 'https://www.googleapis.com/auth/blogger'
TOKENS = 'token.json'
if os.path.exists(TOKENS):
    creds = credentials.Credentials.from_authorized_user_file(TOKENS)
if not (creds and creds.valid):
    if creds and creds.expired and creds.refresh_token:
        creds.refresh(Request())
    else:
        flow = InstalledAppFlow.from_client_secrets_file('client_secret.json', SCOPES)
        creds = flow.run_local_server()
with open(TOKENS, 'w') as token:
    token.write(creds.to_json())

service = discovery.build('blogger', 'v3', credentials=creds)

It is telling address already in use.
---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-2-8c4554dd4ca4> in <module>()
     17     else:
     18         flow = InstalledAppFlow.from_client_secrets_file('/content/credentials (3).json', SCOPES)
---> 19         creds = flow.run_local_server()
     20 with open(TOKENS, 'w') as token:
     21     token.write(creds.to_json())

5 frames
/usr/lib/python3.6/socketserver.py in server_bind(self)
    468         if self.allow_reuse_address:
    469             self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
--> 470         self.socket.bind(self.server_address)
    471         self.server_address = self.socket.getsockname()
    472

OSError: [Errno 98] Address already in use

That must be because you have something running on the default port (8080). You can specify a different port. For example: flow.run_local_server(port=8081).
https://google-auth-oauthlib.readthedocs.io/en/latest/reference/google_auth_oauthlib.flow.html


DataFrame's indifferent acces

It might be more user-friendly if Daru::DataFrame supports Hash's indifferent access.
For example:
Daru::DataFrame.new(:A => [:a, :b, :c, :d]).concat(
  Daru::DataFrame.new('A' => [:e, :f, :g, :h])
)

Above code results in DataFrame like below:

This behavior is a bit confusing. By introducing something like ActiveSupport's HashWithIndifferentAccess (or providing options to enable this feature), Daru might become more user-friendly.
I want to hear your opinions 😸

It's too much overhead for daru to store everything as a string or symbol and then access it. It's more simple and straightforward to have the user take care of such things. Also, index names can be numbers, strings, symbols or arbitrary Ruby objects. How do we handle all of this without introducing overhead?

I got it.


Add builds command to basic commands

Links to drone.io

Nope. Can't find good build site to publicize

Nope. Can't find good build site to publicize


Updated _footer.scss

Updated the partial to make it responsive to tablet and desktop sizes with the breakpoints exactly the same as was earlier in the repository
Description:- Responsiveness of the footer
Issue Number

#30

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue number in the description.
Types of changes
What types of changes does your code introduce to Appium?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have added the issue number
[x] I have selected Ecommerce in the Projects.
[ ] I have added necessary documentation (if appropriate)

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did etc...

Align these at top and give some space between the head and the text and icons.

Also on tablet size or in between there is too much margin, try expanding the width and give a max-width for desktop


Resolve FOSSA Failure

The FOSSA bot is reporting failing.
github.com/cilium/ebpf   (v0.9.1)  Golang[ policy flag](https://app.fossa.com/projects/git%2Bgithub.com%2Fconfidential-containers%2Fenclave-cc/refs/branch/main/540d6a00bbb0b44e31471265ae03d10fb8f34c3a/issues/licensing/2444275)
Cached by the Go Module Proxy at Tue, 19 Jul 2022 09:51:23 GMT

It might be a false positive on the cilium dependency, or that dependency may need to be removed.
It looks like in order to get into the issue inside fossabot you need to give it invasive access to your github account. Might be worth looking at using Snyk rather than FOSSA.

oh! thanks for the heads-up @fitzthum. That's disappointing.
https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers
https://docs.snyk.io/scan-application-code/snyk-code/snyk-code-language-and-framework-support


Channel closed, sats not received

As reported here:
https://github.com/MutinyWallet/mutiny-web/issues/703
Channel ID 7831ccfb19c81526bee8ae9d316f7c4aaea4ec8ee6b55c77d091441fff2d1e80
"Channel closed because user manually force-closed the channel"
Channel closed Nov 10th
I have tried to resync on chain wallet to no avail. Logs attached in above comment.
mutiny-logs.txt

No funds are missing, they're in the mempool waiting to confirm: https://mempool.space/tx/b5a0db9d562a20abf0629f939ba18415c5b294f225b70dcd4f2d85c613251a62
You can either wait or use a transaction accelerator.


What is the purpose of keeping separate branches for sokol and core?

As I can see the difference is in the group variables files and a single template file.
One may create two example files for different network types. Then parameterize template so it will be the same for both networks and put the configuration to the variables file. That way only one branch is needed which is easier to maintain and integrate with terraform provisioning.
Is there any reason for maintaining two additional branches that I am not aware of?

We have them in two branches because of very different purposes and security implications of two networks.
Core - production network, changes are rare and should be considered with care.
Sokol - test network, changes in some files, e.g. list of bootnodes, are frequent, should be approved before merging
I'd prefer to keep files in two separate branches

Sorry, I have a little background in this domain and the reasoning is still unclear for me.
Does my guess that changes are limited to the configuration only hold true?
Can you describe the workflow around these two branches? Are they deployment branches so deployment to core environment goes from the first one and to sokol from the second one?
Is it some kind of mechanism distributing configuration about the state of the network among  users?

It's about change management, not technical requirements.
Each PR to Core branch should be discussed and approved by a wider set of change managers

Got it. So there are two separate areas in this issue - technical and change management.
Possible technical solution:

group_vars/sokol is managed in the sokol branch
group_vars/core is managed in the core branch
master has no network-related configuration

Change management process stays the same.

@phahulin thoughts?

@lexsys27
I have few questions:

just to clarify - what do you mean by "group_vars/sokol is managed in the sokol branch" - so sokol contains only group_vars/sokol but not group_vars/core, core - the other way round, and master contains neither?

a typical case of our workflow is the one you see now: on sokol we have upgraded parity to 1.9, while core still runs on 1.8. Upgrade to 1.9 required some changes in config files (template file you mentioned). How can this case be taken care of if we unite all branches? will we need to introduce new variables each time something changes? write ifs in templates? What I think is a good thing about having separate branches is that you can implement new features in master/sokol and be sure that core is left intact

correct
I would implement the changes in master and merge/rebase them to sokol. Update sokol variables. master is untouched. When ready merge changes from master to core and update core variables.

This way you have consistent flow of changes from master to sokol and core.  You still control the time when changes are applied and can do all review process. Also you keep variables local to branch.
This mental model is easier to understand - for me, at least :) And it is pretty flexible. For example, if I want to run validator for core and validator + explore for sokol I just grab configs from both branches and put two nodes into the sokol group and one node into the core group. Now I need to clone the repo two times and manage deployments from two different directories.

I don't see the difference with the current model then...
Let's take an example:
so, initially somewhere in config.j2 we have
opt = "val"

Now parity is upgraded to 1.10 and opt needs to be changed from val to newval.
What we do now:

on master - change it (no changes in sokol, core)

- opt = "val"
+ opt = "newval"

merge to sokol (no changes in core)
observe sokol for some time to see if it's ok
merge to core

What will the workflow look like in the new scenario?

According to the above and referenced discussions, we have decided to leave the current scheme with separation of branches.


Apply fixes from StyleCI

This pull request applies code style fixes from an analysis carried out by StyleCI.

For more information, click here.

Coverage increased (+0.04%) to 99.334% when pulling 83e5ccd15e043a46795e9d7180099bfd9947b6ca on analysis-q27g7d into d50edad69827657213d6c647219a921420f95e95 on master.


eventlog_creds Module

I have added a new module that extracts user credentials from Windows event logs. The main focus is on monitoring logs, such as Sysmon or Windows Security logs Event ID 4688. If computers are monitored using Windows Event Forwarding (WEF) or SIEM solutions, executed commands and their arguments can be stored in the event log. I designed this module to find credentials in those logs and extract them.

Thanks for the PR :)

Hey dude!
Really nice PR! Is there a way you can retrieve the event log files without running additional execute() operation ?

Hey dude!
Really nice PR! Is there a way you can retrieve the event log files without running additional execute() operation ?

Hm, maybe we use even6, i will look that.

well, i added rpc method also. rpc call is a bit slower on large logs but I think it is more stealth.

I don't know which one should be the default.

Amazing!!! To be honest I'd rather have RPC being the default one as it will improve stealthness and allow attacker to dump credentials without rising alerts because of the execute :)


[LLVMGPU][ROCm] Isel error for %llvm.amdgcn.wmma.f16.16x16x16.f16 for GFX1100.

What happened?
Using sdxl-script compile for sdxl-scripts/fp16-model/base_ir/stable_diffusion_xl_base_1_0_64_fp16_prompt_encoder.mlir. Configure the iree-compile with
--iree-hal-target-backends=rocm
--iree-input-type=torch
--iree-rocm-target-chip=gfx1100
--iree-rocm-bc-dir=/opt/rocm-6.1.2/lib/llvm/lib/clang/17/lib/amdgcn/bitcode
--iree-global-opt-propagate-transposes=true
--iree-opt-outer-dim-concat=true
--iree-opt-const-eval=false
--iree-llvmgpu-enable-prefetch
--iree-flow-enable-aggressive-fusion
--iree-global-opt-enable-fuse-horizontal-contractions=true
--iree-opt-aggressively-propagate-transposes=true
--iree-codegen-llvmgpu-use-vector-distribution=true
--iree-execution-model=async-external
--iree-hal-dump-executable-configurations-to=configurations/clip
--iree-hal-dump-executable-sources-to=sources/clip
--iree-hal-dump-executable-binaries-to=binaries/clip
--iree-hal-dump-executable-benchmarks-to=benchmarks/clip

The rocdl dialect operation can be observed in --mlir-print-ir-before="iree-util-fuse-globals" dump outputs
%303 = rocdl.wmma.f16.16x16x16.f16 %270, %302, %20, %0 : (vector<16xf16>, vector<16xf16>, vector<8xf16>, i1) -> vector<8xf16>

While the HAL codegen process, the LLVM pass crash
LLVM ERROR: Cannot select: intrinsic %llvm.amdgcn.wmma.f16.16x16x16.f16
Please report issues to https://github.com/iree-org/iree/issues and include the crash backtrace.
Stack dump:
0.      Running pass 'CallGraph Pass Manager' on module 'encode_prompts$async_dispatch_8'.
1.      Running pass 'AMDGPU DAG->DAG Pattern Instruction Selection' on function '@"encode_prompts$async_dispatch_8_batch_matmul_transpose_b_12x64x64x64_f16"'
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
LLVM ERROR: Cannot select: intrinsic %llvm.amdgcn.wmma.f16.16x16x16.f16`

There seems llvm.amdgcn.wmma.f16.16x16x16.f16.v8f16.v16f16 instruction in --print-isel-input output dump
There's no issue when the param is --iree-rocm-target-chip=gfx940
Steps to reproduce your issue
Running compile-clip.sh with the params above.
What component(s) does this issue relate to?
MLIR, Compiler
Version information
IREE (https://iree.dev):
IREE compiler version (#17985)
LLVM version 19.0.0git
Optimized build
Additional context
No response

Here is a further reduced repro for anyone interested with the following minimal_repro.mlir
func.func @gemm_failure(%9 : tensor<12x64x64xf16>, %10 : tensor<12x64x64xf16>) -> tensor<12x64x64xf16>  {
    %cst = arith.constant 0.000000e+00 : f16
    %11 = tensor.empty() : tensor<12x64x64xf16>
    %12 = linalg.fill ins(%cst : f16) outs(%11 : tensor<12x64x64xf16>) -> tensor<12x64x64xf16>
    %13 = linalg.generic {indexing_maps = [affine_map<(d0, d1, d2, d3) -> (d0, d1, d3)>, affine_map<(d0, d1, d2, d3) -> (d0, d2, d3)>,
        affine_map<(d0, d1, d2, d3) -> (d0, d1, d2)>], iterator_types = ["parallel", "parallel", "parallel", "reduction"]}
        ins(%9, %10 : tensor<12x64x64xf16>, tensor<12x64x64xf16>) outs(%12 : tensor<12x64x64xf16>) {
          ^bb0(%in: f16, %in_0: f16, %out: f16):
            %14 = arith.mulf %in, %in_0 : f16
            %15 = arith.addf %out, %14 : f16
            linalg.yield %15 : f16
          } -> tensor<12x64x64xf16>
    return %13 : tensor<12x64x64xf16>
}

compilation fails with
iree-compile minimal_repro.mlir \
    --iree-hal-target-backends=rocm \
    --iree-rocm-target-chip=gfx1100 \
    -o output.vmfb

The IR we are making seems reasonable to me, I have opend an upstream llvm issue
https://github.com/llvm/llvm-project/issues/102981

I have a lead in that this intrinsic is only allowed when we have -mattr=+wavefrontsize64 but I believe we are using wavefrontsize32 or not passing it correctly. I should be able to solve this tomorrow.

I have a lead in that this intrinsic is only allowed when we have -mattr=+wavefrontsize64 but I believe we are using wavefrontsize32 or not passing it correctly. I should be able to solve this tomorrow.

I have tried the changing the preference to wavefront64. But there's sharedmemory out of bound errorn


Feature/gitlab runner pattern

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

GitLab is our partner. We have a clear strategy for partner add-on that cover ongoing support and continuity. So for GitLab, ideally we should have an addon supported by them.

/do-e2e-test starter deploy

/do-e2e-test starter deploy

/do-e2e-test starter deploy


Is it possible to load folder with scripts?

Is your feature request related to a problem? Please describe.
I'm always frustrated when I should describe scripts via -s path/to/scripts/1.py -s path/to/scripts/2.py etc..
Is it possible to load folder with scripts? I didn't found info in docs and after running mitmproxy --help command
Describe the solution you'd like
-sf path/to/scripts that load all files from folder. (-sf is script folder )
Describe alternatives you've considered
-s path/to/scripts/*.py that load all python files as scripts

Sounds like a nice and simple feature! PRs are welcome!
I would prefer simply using the "-s" CLI argument. We can check if the given path is a file or directory and act accordingly.
We should be explicit in only loading ".py" files (and potentially symlinks which get auto-resolved) from the given directory to avoid confusion.


POSTGRESQL_LIBRARIES does not working

I defined variable POSTGRESQL LIBRARIES, but it didn't work. Worked by defining POSTGRESQL LIBRARY instead.
I have read document of master branch and have defined this variable.

https://github.com/SOCI/soci/blob/master/docs/installation.md
POSTGRESQL_LIBRARIES - string - Full paths to libraries to link SOCI against to enable the backend support.

I think it is because find_library uses POSTGRESQL_LIBRARY.
https://github.com/SOCI/soci/blob/3a1f602b3021b925d38828e3ff95f9e7f8887ff7/cmake/modules/FindPostgreSQL.cmake#L127
https://github.com/SOCI/soci/blob/3a1f602b3021b925d38828e3ff95f9e7f8887ff7/cmake/modules/FindPostgreSQL.cmake#L164
Which define variable is correct for me?

Fixed in https://github.com/SOCI/soci/commit/560cdeb16c43c851d2e5ebf48c6494e910e06817
POSTGRESQL_LIBRARY is input variable while POSTGRESQL_LIBRARIES
is variable set by the Find-module.

Waning: This is known issue of Find-modules in SOCI distribution that
they are not unified regarding FOO_LIBRARIES vs FOO_LIBRARY naming.
Most accept or expect FOO_LIBRARIES as input variable.
This should be improved in future, once CMake scripts are modernised
and switched to CMake 3 best practices.

Thanks!


Feature/enyo 5715 lucie

Checklist

[x] I have read and understand the contribution guide

[ ] A CHANGELOG entry is included

[x] At least one test case is included for this feature or bug fix

[x] Documentation was added or is not needed

[ ] This is an API breaking change

Issue Resolved / Feature Added
Resolution
Additional Considerations
Links
Comments

There are 2 issues with this PR:

we had to add style={{height: '100%'}} to ExpandableList else the list would not expand.
The first time we click on button '10', the list will not expand. Need to click twice.
In the original sample loaded alone, these issues do not happen.


SQL bdc to pull images from docker private registry

We are trying to deploy SQL bdc on multiple machines using kubeadm
We have 1 master and 2 worker nodes which are not open to internet. We are using CU13 image version of SQL bdc. However all the images required for SQL bdc are pushed to our docker private registry.
We have given the private repository details in control.json. while deploying the SQL bdc all the controldb and monitoring pods are up and running but SQL master, data, storage were not getting initialised. While checking the logs I see nginx:v1.14.2 image is being pulled from docker hub but not the docker private repository.
How this issue can be resolved?
error log from kubelet:
PullImage "nginx:1.14.2" from image service failed: rpc error: code = Unknown desc = Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request eruntime_image.go:51] Pull image "nginx:1.14.2" failed: rpc error: code = Unknown desc = Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled whileeruntime_manager.go:829] container &Container{Name:nginx,Image:nginx:1.14.2,Command:[],Args:[],WorkingDir:,Ports:[]ContainerPort{ContainerPort{Name:,HostPort:0,ContainerPort:80,Protocol:TCP

@ravvalika -- thank you for your feedback.  Are you following a particular docs.microsoft.com article?  Meanwhile, please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@ravvalika -- thank you for your feedback. Are you following a particular docs.microsoft.com article? Meanwhile, please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

I see it is a warning message log. It resolved after enabling network to docker registry


1615 dev ontoassetmanagement

The reason for including "only" is because for "references", it's either "Item references Element" or "Document references Document". If I don't include "only", the TBoxGenerator prints out the domain and range as shown below without any restrictions applied:

This will mean that a Document can also reference an element and an item can reference a document.


Coverage Threshold

During dataset creation, bg_coverage of the whole video is checked in:
https://github.com/yjxiong/action-detection/blob/4cd92c9c8f48c2e0358624ec5c12b6a38fc1f3a2/ssn_dataset.py#L127-L129
Why is this done? Can I remove this condition?
My videos are very long, with lots of activity. Therefore backgrounds are quite short, therefore most of the proposals fail.

This is to avoid too short background instances. You can definitely modify the code as you like to fit your needs.


Migrate getNewGame() into DifferentGamegen()

Migrate old code in Game.java for getNewGame to DifferentGamegen, getNewGame uses string mapping, which is not efficient (legacy code) migrate to DifferentGamegen() for /play button logic in Main.java

the commit e1bf659 solves this issue, the old game logic by the mapping is removed by using 1 method for standard chess and another for variant chess. This makes it faster for creating different challenges.


[BUG] TypeError due to missing arguments in develop branch

I'm trying out the develop branch (I'm not a developer so bear with me) and it works for the most part, but returns
ERROR : sonarr : TypeError has occurred : new() got an unexpected keyword argument 'sceneAbsoluteEpisodeNumber' while creating SonarrEpisode structure for show.
There are similar errors for a couple of other missing values.  I added them into structures.py, which resolves the errors:
sceneAbsoluteEpisodeNumber: int = None
sceneEpisodeNumber: int = None
sceneSeasonNumber: int = None

This fixed in develop.


indicate where the ci registry is

I've been trained to go here for links to CI stuff and I know that i'm looking to log into a console, copy the oc login command, and oc registry login.  I just didn't know which cluster to use.

Maybe instead add a blurb under services that links to the registries doc and/or copies the list from there?

/lgtm
/approve

Maybe instead add a blurb under services that links to the registries doc and/or copies the list from there?

The question (which sttts and polynomial both had yesterday) was, "I know the registry name and I know where the page of clusters is, but which cluster do I have to log into".  The same question as mine.
I'm open to any phrasing that makes that question easy to answer.


Question: support of YAML config as pandoc command line arguments?

Good morning.
I've made a lot of .md documentations for my company and I wish to be able to specify the logo not in my document but as command line arguments.
So, in my .md, I've this:
logo: "logo.pdf"
logo-width: "200"

But I need to put these two lines in all my markdown files...
Is it possible to specify YAML arguments as pandoc arguments like in:
pandoc example.md -o example.pdf --from markdown --template eisvogel --listings --logo logo.pdf

Many thanks!!!

Found after posting here... https://github.com/jgm/pandoc/issues/1960#issuecomment-242365453
There is an --metadata-file arguments for this:
pandoc example.md -o example.pdf --from markdown --template eisvogel --metadata-file=defaults.yaml

Many thanks

You can also set the variable directly on the command line with the -V option:
pandoc example.md -o example.pdf --from markdown --template eisvogel --listings -V logo="logo.pdf"