Consider adding chronicled wishes after it is more understood

https://genshin-impact.fandom.com/wiki/Category:Chronicled_Wishes
The first chronicled wish seems to only last as long as the first banner... is this going to be the same every patch? Will there be a 2nd half?
At the moment, probably best to just show 5 star pool and nothing else?

For the first chronicled wish... seems like no 2nd part. Off top of head... and fandom wise it seems like the start/end date matches the first banner too. This may be too early to say, but perhaps I can just "merge" the limited 5 star chars + weaps and chronicled chars + weaps.

https://genshin-impact.fandom.com/api.php?action=query&generator=categorymembers&gcmtitle=Category:Chronicled_Wishes&prop=categories&cllimit=max&gcmlimit=max&format=json

{
  "batchcomplete": "",
  "limits": {
    "categorymembers": 500,
    "categories": 500
  },
  "query": {
    "pages": {
      "295596": {
        "pageid": 295596,
        "ns": 0,
        "title": "Ode to the Dawn Breeze/2024-03-13",
        "categories": [
          {
            "ns": 14,
            "title": "Category:Chronicled Wishes"
          },
          {
            "ns": 14,
            "title": "Category:Event Wishes"
          },
          {
            "ns": 14,
            "title": "Category:Ode to the Dawn Breeze"
          },
          {
            "ns": 14,
            "title": "Category:Past Events"
          },
          {
            "ns": 14,
            "title": "Category:Released in Version 4.5"
          },
          {
            "ns": 14,
            "title": "Category:Removed"
          },
          {
            "ns": 14,
            "title": "Category:Version"
          },
          {
            "ns": 14,
            "title": "Category:Wish"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Albedo"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Alley Hunter"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Amber"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Aquila Favonia"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Barbara"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Beacon of the Reed Sea"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Bennett"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Black Tassel"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Bloodtainted Greatsword"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Cool Steel"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Debate Club"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Diluc"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Diona"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Dragon's Bane"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Emerald Orb"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Eula"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Eye of Perception"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Favonius Codex"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Favonius Greatsword"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Favonius Lance"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Favonius Sword"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Favonius Warbow"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Ferrous Shadow"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Fischl"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Harbinger of Dawn"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Hunter's Path"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Jean"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Kaeya"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Klee"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Lion's Roar"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Lisa"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Lost Prayer to the Sacred Winds"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Magic Guide"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Mika"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Mitternachts Waltz"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Mona"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Noelle"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Rainslasher"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Raven Bow"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Razor"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Rosaria"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Rust"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Sacrificial Bow"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Sacrificial Fragments"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Sacrificial Greatsword"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Sacrificial Sword"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Sharpshooter's Oath"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Skyrider Sword"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Skyward Atlas"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Skyward Blade"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Skyward Harp"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Skyward Pride"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Skyward Spine"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Slingshot"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Song of Broken Pines"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Sucrose"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes The Alley Flash"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes The Bell"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes The Flute"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes The Stringless"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes The Widsith"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Thrilling Tales of Dragon Slayers"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Wine and Song"
          },
          {
            "ns": 14,
            "title": "Category:Wish Pool Includes Wolf's Gravestone"
          },
          {
            "ns": 14,
            "title": "Category:Wishes"
          }
        ]
      },
      "295597": {
        "pageid": 295597,
        "ns": 0,
        "title": "Chronicled Wish",
        "categories": [
          {
            "ns": 14,
            "title": "Category:Article Stubs"
          },
          {
            "ns": 14,
            "title": "Category:Chronicled Wishes"
          },
          {
            "ns": 14,
            "title": "Category:DE Translation Missing"
          },
          {
            "ns": 14,
            "title": "Category:KO Translation Missing"
          },
          {
            "ns": 14,
            "title": "Category:Pages Using DPL Parser Function"
          },
          {
            "ns": 14,
            "title": "Category:Released in Version 4.5"
          },
          {
            "ns": 14,
            "title": "Category:TH Romanization Missing"
          },
          {
            "ns": 14,
            "title": "Category:TH Translation Missing"
          },
          {
            "ns": 14,
            "title": "Category:Terminology"
          },
          {
            "ns": 14,
            "title": "Category:VI Translation Missing"
          },
          {
            "ns": 14,
            "title": "Category:Version"
          },
          {
            "ns": 14,
            "title": "Category:Wish Types"
          }
        ]
      },
      "295710": {
        "pageid": 295710,
        "ns": 0,
        "title": "Ode to the Dawn Breeze",
        "categories": [
          {
            "ns": 14,
            "title": "Category:Chronicled Wishes"
          },
          {
            "ns": 14,
            "title": "Category:DE Translation Missing"
          },
          {
            "ns": 14,
            "title": "Category:KO Translation Missing"
          },
          {
            "ns": 14,
            "title": "Category:Pages Using DPL Parser Function"
          },
          {
            "ns": 14,
            "title": "Category:TH Romanization Missing"
          },
          {
            "ns": 14,
            "title": "Category:TH Translation Missing"
          },
          {
            "ns": 14,
            "title": "Category:TR Translation Missing"
          },
          {
            "ns": 14,
            "title": "Category:VI Translation Missing"
          },
          {
            "ns": 14,
            "title": "Category:Wish Series"
          }
        ]
      }
    }
  }
}

completed


Create checkPalindrome.java

Checking whether a number is a palindrome or not in java

Please accept my pull request


add https://www.zylstra.org/blog

Domain name: https://www.zylstra.org/blog
GTMetrix results: 487kb https://gtmetrix.com/reports/www.zylstra.org/HR6md9MX/

Added


where is the link to the two datasets used in the paper?

The two datasets are from our in-house database and have not yet been published. You may use the TCGA dataset @ https://github.com/Zhengyushan/kat/tree/main/dataset/tcga_lung/ to run the code.


Support for Ubuntu 24.04

Describe the bug
Ubuntu 24.04 is not listed in the supported OSs list.
To Reproduce
Create a new VM with ubuntu-2404-lts-amd64.
Try to install the ops agent:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Warning: The unit file, source configuration file or drop-ins of apt-news.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Warning: The unit file, source configuration file or drop-ins of esm-cache.service changed on disk. Run 'systemctl daemon-reload' to reload units.
 Done
W: https://packages.cloud.google.com/apt/dists/google-cloud-ops-agent-noble-all/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package google-cloud-ops-agent
[2024-05-10T12:17:37+0000] google-cloud-ops-agent installation failed.

Expected behavior
Install the ops agent.
Environment (please complete the following information):
See support case: 51138548
Just need to know if there is an estimated date for the agent availability, since the GCP image is available.

Hi @lorenzozimolo, Ubuntu 24.04 is now supported as of Ops Agent 2.47.0.


Distinct Select queries projecting the same columns should have same Record type

Suppose I have the following:
        type SelectAll = NpgsqlCommand<"""
            SELECT area_name, region_name, state FROM area_key
            ORDER BY state, region_name, area_name
        """, TPConnStr>

        type SelectByState = NpgsqlCommand<"""
            SELECT area_name, region_name, state FROM area_key
            WHERE state = @state
            ORDER BY state, region_name, area_name
        """, TPConnStr>

Should both Selects result into the same type? Reason is that I am executing either one of the query based on a enum but have to write a minor boilerplate due to those types not having equality constraints.

Digging around while working on #55, I think I've found a way how this might be doable for NpgsqlConnection (but not NpgsqlCommand because each of those is a separate root type). Instead of declaring provided types from individual CreateCommand on the commands themselves (like     DvdRental.Commands.``CreateCommand,CommandText"SELECT * from film"``.Record), they'd need to go directly under the root type (like DvdRental.Record) -- this appears to work. Then you'd obviously need to encode the type structure in the type name (maybe something like DvdRental.``num:Option<int>*name:string``  or a hash thereof, because the name could get very long), so that you can easily decide if a new CreateCommand should reuse an existing provided type on NpgsqlConnection -- this I haven't tried yet..

A hash type sounds efficient. Identical return structures get identical hashes and so there is implicit reuse.
Von meinem iPhone gesendet

Am 02.02.2020 um 12:23 PM schrieb kerams<EMAIL_ADDRESS>
Digging around while working on #55, I think I've found a way how this might be doable for NpgsqlConnection (but not NpgsqlCommand because each of those is a separate root type). Instead of declaring provided types from individual CreateCommand on the commands themselves (like DvdRental.Commands.CreateCommand,CommandText"SELECT * from film".Record), they'd need to go directly under the root type (like DvdRental.Record) -- this appears to work. Then you'd obviously need to encode the type structure in the type name (maybe something like DvdRental.num:Option<int>*name:string or a hash thereof, because the name could get very long), so that you can easily decide if a new CreateCommand should reuse an existing provided type on NpgsqlConnection -- this I haven't tried yet..
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Surprisingly trivial to implement the most basic version.
At the same time, this unfortunately does not compile because CreateCommand needs to add the type first.
let cmp (v1: DvdRental.``id:Int32, w:String``) (v2: DvdRental.``id:Int32, w:String``) =
    if v1.id = v2.id && v1.w = v2.w then
        printfn "liftoff"
    else
        printfn ":/"

use cmd = DvdRental.CreateCommand<"select id, 'dsad' as w from table_with_composites ">(dvdRental)
let res = cmd.Execute().Head

use cmd2 = DvdRental.CreateCommand<"select 'dsad' as w, id from table_with_composites where id > 0">(dvdRental)
let res2 = cmd2.Execute().Head

cmp res res2

Back to producing anonymous records instead, I don't really see what is the issue with it? You can always alias the type if you want can't you?

Briefly put, the issue concerns the fact whether it's technically possible to send and use an anonymous record across the TP <-> Visual Studio boundary. Should it work, it would be better than what I proposed above in many respects. I'm preparing a PR for this and will make sure to check anonymous records too.

Yeah, I think this is a non-starter. Look at https://github.com/demetrixbio/FSharp.Data.Npgsql/blob/master/src/DesignTime/QuotationsFactory.fs#L223
The compiler creates anonymous records on demand when you construct an instance of it in code. Here however, you have a list of properties the record should have, but they'd need to be known at compile time (compile time of the TP, not the application using it) in order to get a reference to the Type of the anonymous record (and the only way to construct it as far as I can see is use its 'literal definition', like typeof<{| a: int |}>) to pass to VS/compiler,

Ah that makes sense. Compile-time programming in painfully limiting. :/

However, would your solution be workable also in NpgsqlCommand?

It would not. Every time you new up NpgsqlCommand, it creates a new instance of the TP with a separate provided type cache, so you cannot reuse the same types, because there is no way to share the Type instance you're providing. Why are you not using NpgsqlConnection though? I'd strongly urge you to since I consider the former pretty much obsolete with VS 2017+.
There is no branch yet, but I could open a PR later today.

Resolved in https://github.com/demetrixbio/FSharp.Data.Npgsql/pull/72
When can we expect a new nuget package to be released?

@Swoorup, it's out now. Let me know if you have any thoughts on it.

@kerams Been using this for a while now. Quite nice feature. The only downside I am facing is that the type name can get quite long and if you are returning a slightly different type, it can be bit of trial and error to figure which type you are looking for.

A remedy to this can I suggest, can be adding a optional parameter to name the type? So, elsewhere returning the same type will have the same name reference too. If it matches, its the same type.

Let me know if I should move it to a new ticket instead.

Yeah, I expected it could get gnarly like this. Optionally naming the type would have at least one major issue though. Because types for commands are processed sequentially top to bottom in a file, you'd need to make sure to name the type in the first CreateCommand that returns it (that's where the type is first generated (named) and cached (this is also the reason why you cannot refer to a type "above" its first occurence)). Naming it anywhere else, or multiple times, would seemingly do nothing:
use cmd = DvdRental.CreateCommand<"select id from table">(dvdRental)
let res = cmd.Execute().Head

use cmd2 = DvdRental.CreateCommand<"select id from table where id > 0", TypeName = "TT">(dvdRental)
let res2 = cmd2.Execute().Head

// ok
let cmp (v1: DvdRental.``id:Int32``) (v2: DvdRental.``id:Int32``) =
    if v1.id = v2.id then
        printfn "liftoff"
    else
        printfn ":/"

// would not compile
let cmp' (v1: DvdRental.TT) (v2: DvdRental.TT) =
    if v1.id = v2.id then
        printfn "liftoff"
    else
        printfn ":/"

Something that I could do to ease the pain a little is generate an Xml doc summary for each type containing a short hash of the name. You'd still need to hover over a type to see and compare it to what you're looking for, but it might be the easier option when you can't even see the entire name at a glance.

Regarding naming ordering, yeah I did expect that. Thinking wildly here, maybe explicitly naming could be its own seperate type and unnamed could fallback to the hash type names with XML doc summary?

Yeah, that's doable. While structurally equivalent, they'd be incompatible.


Add event callbacks for presence updates

I'm working on a chatbot that needs to know about users' presence -
these callbacks are modeled off the others nearby.
Signed-off-by: Jonathan Frederickson<EMAIL_ADDRESS>

Thanks for the PR and feature-add. I'm still (more slowly than I'd like)
working my way through the PR backlog and will get to this one and your
other PR asap. I assume that this one is higher priority for you than the
other?
Any chance you could add simple test or two to this PR and your other one?
Would really appreciate it as I'm trying to get test-coverage increased.

Yeah, this one is more of a priority than the other. The other one's not super useful at the moment as the server-side behavior is (last I checked) a little wonky.
And sure, I'll take a look at adding tests.

made some minor tweaks that it was simpler to just do than explain and added
an appropriate test. So after that, it LGTM. Thanks for the PR!


ServerAddress.FromUrl("http://") throws ArgumentOutOfRangeException (#860)

Code change in ServerAddress.cs prevents the ArgumentOutOfRangeException, and causes FromUrl("http://") to return a ServerAddress with Host="".
I considered throwing FormatException if String.IsNullOrEmpty(Host), but this raises further questions of what we consider a valid Host:
Is whitespace a valid host?
Is a special character like ! or . a valid host?
Is a string containing whitespace (like foo bar) a valid host?
So I think we should allow any host until we decide to start actually validating the host per the RFCs.

@halter73, @cesarbs, @davidfowl, @Tratcher

You convinced me wrt the empty host. :shipit:

Why is travis sad?

LGTM.
I don't like the current situation where you can specify anything you want. Since we're not validating hosts I'd much rather only allow:

localhost
*
IP addresses
UNIX socket path

And block everything else. But we probably don't have the time for that at this point.

@davidfowl Need to fix travis.yml to install the openssl dependency on OS X. I'll send a PR in a moment.

Travis should be good now but this PR needs to be rebased.

@Tratcher has convinced me we should throw if Host is null or empty, but allow anything else.  The reason is we may want to validate the Host header in the future, and we should require ServerAddress.Host to be non-empty, to avoid things like considering a request valid if it's missing the Host header.  Other cases like Host=" " or Host="." are less problematic, since any non-empty string will be valid to compare to a host header.

Code now throws if Host is null or empty.  Waiting for signoff.

:ship:


Fix #314 #74 #78

(This includes commits from #360 and #370)

Can I merge?

@itchix i'm waiting code review from @naofum

Just renamed the PR to give sense of the topic

Would it be best to close this issue at this stage?


Add manual page about updating Jenkins

It would be good to automate these processes, but we can't easily update Jenkins from within Jenkins, so these steps may be manual unless we think it's worth spending the time automating them.

@TomJKing Are you happy with this PR now?


Update link to red-data-tools

This project is successfully migrated to red-data-tools! :tada:
(It's serious, not an April Fool's work).
So old link to heronshoes/red_amber/* in everywhere should be changed as red-data-tools/red_amber/* even it is redirected to.

Hey, can you let me know which files should this change be made in?

Hi @Soumya-Kushwaha ,
I think grep -nr *.md *.gemspec -e heronshoes/red_amber will show you the place to chage.

Thank you for the prompt work!
I will merge this.


Not Showing on Login Handlers

I've uploaded the folders included, and set their directories to 777 permissions.
I've uploaded the Steam_login.xml.
The plugin shows up, but Steam Login is not on the Login Handlers page. There is an entry for it in core_login_handlers in phpMyAdmin, but it's not showing up in the AdminCP. I've even tried deleting the entry in phpMyAdmin and reinserting it as detailed in another issue, but it's still not showing up. I've logged out and logged back in to the AdminCP, and I've even restarted my server. Still not showing up. I've even tried changing it's order.
Running IPS 4.1.19.

@Ezaco are you running a custom theme? Try using the default theme and seeing if the handler button returns.

On the Admin panel? It's using the default theme.

no on front end.

Unfortunately the guy editing my themes used the default theme to change.. but he's only changed CSS values. Can I ask why changing the theme on the front end would determine whether or not the handler appears in the AdminCP?

idk just something ive noticed that would cause conflict in the past. (as long as if the login handler appears in DB, and files are uploaded correctly.)

Makes sense.
I'm fairly sure I've uploaded the files correctly. I'm using a Linux server but I decompressed the folder then moved the folders to the website root, and changed their permissions to 777. Then I uploaded the XML file.

funny question, but did you take the stuff out of the upload folder? or do you have /upload/ ?

I didn't have an /upload/ folder but I have an /uploads/ folder which is where I moved the contents of the download to.

ok, so you took the contents out of the upload folder when you uploaded? silly question i know. but its happened before lol

Yes, I double checked. No upload folder inside my uploads folder ;)

hmm. hit me up on steam. could I take a peak?

Followup from yesterday, FTP access is now working.

Manual uninstall, reinstall, found a few permission errors serverside, applied 4.1.19 post patches (curl and request) tested on both registered link and new user both work on my end, had Ezaco test on their end, works for them.


feat(rbac): add vscode debug test configuration for rbac-backend

What doest this pull request do:
Add ability to debug opened and selected test files for rbac-backend plugin in the vscode.

@AndrienkoAleksandr i tried to test it on launching debug in  VScode , i see below in terminal. Any help with what am i missing?

@invincibleJai, you need to select a rbac-backend test and add a break point. Then it's working fine for me. And I really like it :+1:
From my side we can merge this if this helps people.
I have just two suggestions / ideas:

Can we create a lunch setting that is working for all unit tests?
Do we really need the ts-jest dependency?

I tried this launch setting and it spams the console with some more warning, but on the first look it's working as well?
{
  "version": "1.0.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "Current selected test",
      "program": "${workspaceRoot}/node_modules/.bin/backstage-cli",
      "args": ["package", "test", "${relativeFile}"],
      "console": "integratedTerminal",
      "internalConsoleOptions": "neverOpen",
    }
  ]
}

@AndrienkoAleksandr can you take a look if this working for you?

@jerolimov , hello. I tested your vscode configuration. It works fine for rbac-backend-plugin.

Can we create a launch setting that is working for all unit tests?

Looks like, we can. You provided plenty universal configuration.

Do we really need the ts-jest dependency?

It is required for my pull request, because my vscode configuration uses original jest binary and It needs typescript transformer and parser.
You provided vscode configuration based on backstage cli. And I see this binary works somehow without this dependency. I guess typescript transformer can be compiled to the cli binary like transitive dependency. Also I see your solution is working for different plugin packages.

Should it --watch for changes?

I guess you proposed configuration with --watch by default, because when I modify test file, then debugger executes test one more time. That's --watch behavior from my point of view.
@jerolimov I think you can create pull request with your idea, then I can close my pull request on favor yours.

@AndrienkoAleksandr Feel free to take my json and update your PR with these changes, with or without ts-lint. I'm back next week and vscode lanucher isn't a prio for me currently. ;)

@jerolimov ok, I close this pull request on favor https://github.com/janus-idp/backstage-plugins/pull/1047


[9.x] Feature whereLike added to Mathcing trait of AssertableJson + tests

Description
The PR implements $assertableJson->whereLike() method for Illuminate\Testing\Fluent\Concerns\Matching trait, which gets the key and expected pattern and returns a boolean representing matched or not...
Problem
In most of cases we need to check a particular pattern on a json response and we have to check it in callbacks maybe. This PR simply added a dedicated method for this purpose.
Sample usage
$this->post('test-uri', [])->assertStatus(429)->assertJson(fn(AssertableJson $json) =>
    $json->whereLike('message', 'Try again * seconds later!')
        ->missing('data')
        ->etc();
);

Let me know your comments!
Thanks <3

You can do this:
$response->assertJson(function ($json) {
    $json->where('name', fn ($x) => str($x)->is('Taylor Otwell'));
});


aclocal problems

Trying to install PMS as a client on my iMac to access a Raspberry Pi server with MPD.
I am trying to run the ./rebuild.sh command to build the environment but I received an 'aclocal: command not found' error. I used Homebrew to install automake, which contains the aclocal command. Now, when running the rebuild file I am given:
"You should update your 'aclocal.m4' by running aclocal."
...
Running aclocl I receive:
configure.ac:41: warning: macro 'AM_GNU_GETTEXT' not found in library
configure.ac:40: warning: AM_NLS is m4_require'd but not m4_defun'd
/usr/local/share/aclocal/intltool.m4:160: IT_PROG_INTLTOOL is expanded from...
configure.ac:40: the top level
configure.ac:40: warning: AM_NLS is m4_require'd but not m4_defun'd
m4/intltool.m4:160: IT_PROG_INTLTOOL is expanded from...
configure.ac:40: the top level
Also my ./configure && make will not work either:
configure: error: cannot find install-sh or install.sh in . ./.. ./../..
(if this matters) In addition to automake, I have libtool, gettext, and autoconf installed - how come my ./configure cannot find the install-sh or install.sh files?
Sorry if this sounds irrelevant to PMS (I am new to this).

also, from the INSTALL file, I did as it instructed:
intltoolize --force
aclocal -I m4
autoreconf --force --install --verbose
the first command I receive:
You should update your 'aclocal.m4' by running aclocal.
then I run 'aclocal' and get:
configure.ac:41: warning: macro 'AM_GNU_GETTEXT' not found in library
configure.ac:40: warning: AM_NLS is m4_require'd but not m4_defun'd
/usr/local/share/aclocal/intltool.m4:160: IT_PROG_INTLTOOL is expanded from...
configure.ac:40: the top level
configure.ac:40: warning: AM_NLS is m4_require'd but not m4_defun'd
m4/intltool.m4:160: IT_PROG_INTLTOOL is expanded from...
configure.ac:40: the top level
what exactly am i doing wrong?
thanks :)

Hi @delacost,
As far as I can see there are several issues here. Some m4 macros are missing from the autoconf/automake distribution. I don't know about the install files but maybe you need to resolve the m4 problem first.
The problems are not related to the PMS source code itself, but to the autotools configuration, so you might try to google the error messages to see what may be wrong.
I'll give it a shot and see if I can get it compiled on Mac OS X though.
Regards

Hey @ambientsound
Any luck compiling it on Mac OS X? I've left this alone for the past 2 wks but I"m looking to go back and finishing the installation ... I really want this to work because I think PMS looks great!
Cheers,
D

Hi, sorry about the delay. I tried to copy a bunch of files from my Linux aclocal distribution into m4/ in the PMS source code directory:
	m4/gettext.m4
	m4/iconv.m4
	m4/lib-ld.m4
	m4/lib-link.m4
	m4/lib-prefix.m4
	m4/nls.m4
	m4/po.m4
	m4/progtest.m4

Now, I get this output when running rebuild.sh:
$ ./rebuild.sh
You should update your 'aclocal.m4' by running aclocal.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
configure.ac:41: warning: macro 'AM_GNU_GETTEXT' not found in library
configure.ac:40: warning: AM_NLS is m4_require'd but not m4_defun'd
/usr/local/share/aclocal/intltool.m4:160: IT_PROG_INTLTOOL is expanded from...
configure.ac:40: the top level
autoreconf: configure.ac: tracing
autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoconf --force
configure.ac:24: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/local/Cellar/autoconf/2.69/bin/autoconf failed with exit status: 1

I'm not quite sure what is missing now, because the gettext.m4 file is already copied in. I think someone more proficient with Mac OS X would have to look at this issue though. Patches are welcome...
Regards

I experienced the same output :/ If I were experienced enough to patch something like I would love to contribute, but my devel expertise simply isn't sufficient ..


chore(platform): add indexing file for carbon-web-components

Description
Index the carbon-web-components package with Carbon Platform.
@francinelucca For externalDocsUrl and usage/style/a11y paths, I've kept the links pointing to Carbon React documentation. Since carbon-web-components should (eventually) mirror the React components, I think it's a good idea to treat those as the canonical docs? Let me know what you think. Also please let me know if there is anything missing, for instance icons. Not sure where those should be added and if we even have one we should be using.
Changelog
New

carbon.yml index file for carbon-web-components package

@kennylam pointing to carbondesignsystem.com's documentation sounds good to me!
P.S.: since you're inheriting carbon-styles and docs is an inheritable property (see platform's schema) , you can forego writing the docs explicitly here and it will be passed down automatically as long as the asset ids match what's defined in https://github.com/carbon-design-system/carbon/blob/main/packages/styles/carbon.yml (this is not true for externalDocsUrl since that is not an inheritable property)
Also if the components look more or less the same feel free to borrow some thumbs from core and add the corresponding thumbnailPath

@francinelucca got it, thanks!


How to consume metrics

I'm struggling with querying and visualizing the exposed metrics in grafana. Ideally I convert them to something useful like big green/red lights that indicate for every endpoint if it is up or not, and I can set up alerting based on the prometheus metrics as well, just to have everything in one place.
Do you have any examples or reference material I could look at to learn more?
In particular what I find challenging is that the success property is a label, instead of the value, of the time series. So there actually appear to be two series (success true, success false) for a single endpoint, which is really confusing to me. How do I properly query/consume this?

Hello @Korijn,
To be honest, metrics isn't something I put a lot of efforts on, so don't expect much.
That being said, you can see an example at https://github.com/TwiN/gatus/blob/master/.examples/docker-compose-grafana-prometheus/grafana/provisioning/dashboards/main.json

I added some examples of query in https://github.com/TwiN/gatus/blob/master/.examples/docker-compose-grafana-prometheus/README.md

Uptime Kuma has a nice guide with Prometheus and Grafana, maybe this can be handy here, too ;) https://github.com/louislam/uptime-kuma/wiki/Prometheus-Integration

@xeruf There's an example at https://github.com/TwiN/gatus/tree/master/.examples/docker-compose-grafana-prometheus, as linked in https://github.com/TwiN/gatus#metrics


Adjust the donut legend regex and xpath

Advisor had to custom build their own donut chart legend. These small changes should allow the DonutChart to work with both the custom legend and the standard pf4 legend. It's very similar to the legend we have here, just missing the intermediate g tag in the legend xpath, and the legend text is slightly different.

@bsquizz LGTM but the test failed

OK. I think there's no easy way to make a locator that covers both cases at the same time. Maybe there's some crazy xpath I could write, but I should really just customize the Donut inside my plugin. Closing in favor of https://github.com/RedHatQE/widgetastic.patternfly4/pull/36 which makes customization possible.


Are there any gradle command can display task properties?

PS:In order to make  user of user the gradle plugin can be more conveniently and clearly to use the plugin.
Maybe Like this:
gradle -task localization properties
File sourceFile
File outRes;
File inRes;
Map<String, String> map;
boolean append = true
boolean replace = true
File report;
String csvFileURI
String csvGenerationCommand
ArrayList<String> ignorableColumns = []
CSVStrategy csvStrategy
String outputFileName = 'strings.xml'
String outputIndent = '    '
String name = "name";
String translatable = "translatable";
String comment = "comment"
boolean skipInvalidName = true
boolean skipDuplicatedName = true

There is built-in gradle -q help --task <task_name> but there are no help texts in sources. It is very good idea to add them.


⚠ Bofrost.be has degraded performance

In b087d9c, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1218 ms

Resolved: Bofrost.be performance has improved in 6e09f74 after 37 minutes.


added ssd_resnet50_v1_fpn_coco model

@jkamelin @eizamaliev  could you please take a look on model description?

Please also update index.md

Please also update index.md

Done

Jenkins please retry a build

Jenkins please retry a build


How to Monitor and Handle auth.test Throttling in Slack BoltJS SDK (v3)

Question
We are encountering challenges in monitoring and handling rate limit errors, specifically for the auth.test API call, when using the Slack BoltJS SDK (v3) with the AWS Lambda Receiver. The SDK’s internal handling of rate limits abstracts visibility, making it difficult to track throttling events in real-time or implement centralized monitoring.
We are looking for guidance or best practices to improve our ability to handle and monitor these events proactively.
Context

Our system is built using the Slack BoltJS SDK (v3) with AWS Lambda Receiver.
auth.test is called internally by the SDK, and rate-limiting errors are managed without exposing sufficient details.
We need better insights into:
3.1 When throttling occurs.
3.2 Retry intervals (Retry-After)
3.3 A way to log or intercept these errors for centralized monitoring.

Specific Questions

How can we track throttling events for auth.test in real-time?
Is there a way to configure the SDK or use a custom logger to capture detailed information about rate-limit errors, including:
1.1 API call details (e.g., auth.test).
1.2 Retry intervals (Retry-After header).
1.3.Timestamps or contextual metadata?
Can we intercept and handle rate-limit errors manually?
What are Slack’s recommendations for centralized monitoring of throttling issues?
Are there built-in hooks or best practices for integrating Slack rate-limit events with external monitoring tools (e.g., CloudWatch, Datadog)?
Are there SDK configurations or middleware patterns to address these challenges?
Could we implement a middleware to capture and log rate-limit events without disrupting the SDK’s core functionality?

Request
We would greatly appreciate Slack’s guidance on the following:

Steps to monitor throttling errors effectively within the BoltJS SDK.
Configuration options or patterns to handle auth.test rate-limiting issues.
Any documentation or examples on handling Slack rate limits in high-traffic systems.

Environment
1. Slack BoltJS SDK Version: v3.x
2. Environment: AWS Lambda Node.js runtime
3. Receiver: AWS Lambda Receiver

Thank you in advance for your help! Please let us know if further clarification or additional details are needed.

Hi @sanjay1909, thanks for asking the question!
When your WebClient receives a rate-limited error and it attempts retries, the web-api package prints info-level logging, indicating that an error occurred and how long it will wait: https://github.com/slackapi/node-slack-sdk/blob/%40slack/web-api%407.8.0/packages/web-api/src/WebClient.ts#L670 Checking this output in your logs is the quickest way to investigate for now, while we're happy to add more mecanism to enable developers to have hooks for the timing in future releases.
In considering the specific auth.test API scenario, I believe rate limit errors usually don't occur because the endpoint has a "special" rate limiting tier, which permits hundreds of requests per minute (we don't disclose further specifics than the document but it should handle more during a temporary spike). That said, if you're running your app in extremely large enterprise workspaces where many event requests are sent simultaneously, such a situation could indeed arise.
When considering possible workarounds, here are two suggestions I can offer:

If your app operates for a single workspace/organization, implementing your own "authorize" function with a static auth.test result should resolve the issue; Refer to https://tools.slack.dev/bolt-js/concepts/authorization and https://github.com/slackapi/bolt-js/blob/%40slack/bolt%404.1.1/src/App.ts#L1374-L1393 for details
IIf your app can be installed into multiple workspaces, implementing a cache layer for the "authorize" function is an option. It’s best to use ElastiCache or a similar option, rather than relying on in-memory storage within the Lambda runtime.

I hope this was helpful to you.


[json] formatter "heap out of memory" regression

VSCode Version: 1.35, 1.35.1
OS Version: CentOS Linux release 7.6.1810

Steps to Reproduce:

Format big JSON document (47MB). All extensions are disabled.
Formatter crashes with message "Extension host terminated unexpectedly."

Tested VSCode versions 1.23.1, 1.25.1, 1.26.1, 1.27.2, 1.28.2, 1.29.1, 1.30.2, 1.31.1, 1.32.3, 1.33.1, 1.34 and they worked well.
Version 1.35 introduced this "heap out of memory" crash.
Developer tools:
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [/home/gv/opt/VSCode-linux-x64/libnode.so]
2: 0x7f130212d867 [/home/gv/opt/VSCode-linux-x64/libnode.so]
3: 0x7f1301b3104e [/home/gv/opt/VSCode-linux-x64/libnode.so]
4: 0x7f1301b30fd9 [/home/gv/opt/VSCode-linux-x64/libnode.so]
5: v8::internal::Factory::NewMap(v8::internal::InstanceType, int, v8::internal::ElementsKind, int) [/home/gv/opt/VSCode-linux-x64/libnode.so]
6: 0x7f1301b0ac6b [/home/gv/opt/VSCode-linux-x64/libnode.so]
7: 0x7f1301b0b06b [/home/gv/opt/VSCode-linux-x64/libnode.so]
8: 0x7f1301af5898 [/home/gv/opt/VSCode-linux-x64/libnode.so]
9: 0x7f1301af54df [/home/gv/opt/VSCode-linux-x64/libnode.so]
10: 0x7f1301b0cde2 [/home/gv/opt/VSCode-linux-x64/libnode.so]
11: v8::internal::LookupIterator::PrepareTransitionToDataProperty(v8::internal::Handlev8::internal::JSReceiver, v8::internal::Handlev8::internal::Object, v8::internal::PropertyAttributes, v8::internal::Object::StoreFromKeyed) [/home/gv/opt/VSCode-linux-x64/libnode.so]
12: 0x7f1301e0ba36 [/home/gv/opt/VSCode-linux-x64/libnode.so]
13: 0x7f1301e0c595 [/home/gv/opt/VSCode-linux-x64/libnode.so]
14: 0x7f1301e0c391 [/home/gv/opt/VSCode-linux-x64/libnode.so]
15: 0x7f1301e10725 [/home/gv/opt/VSCode-linux-x64/libnode.so]
16: 0x332c41b8459d
<--- Last few GCs --->
[27531:0x84906e76000]    55790 ms: Mark-sweep 1992.4 (2095.9) -> 1992.4 (2095.9) MB, 1128.2 / 0.0 ms  allocation failure GC in old space requested
[27531:0x84906e76000]    57030 ms: Mark-sweep 1992.4 (2095.9) -> 1992.3 (2079.9) MB, 1190.6 / 0.0 ms  last resort GC in old space requested
[27531:0x84906e76000]    58260 ms: Mark-sweep 1992.3 (2079.9) -> 1992.3 (2079.9) MB, 1230.3 / 0.0 ms  last resort GC in old space requested
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0x332c41b8459d]

Security context: 0x2235565a5709
1: new constructor(aka g) [/home/gv/opt/VSCode-linux-x64/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:~336] [pc=0x332c41eb11ad](this=0x1b0098daa4f1 ,e=0x1b0098daa381 ,t=0x1b0098daa439 ,n=0x1c5159c022e1 ,i=0x1c5159c022e1 )
2...

Do you still see this in 1.36?

1.36.1 still has 'Extension host terminated unexpectedly.' with FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory.

1.37 still crashes:
extensionHost.ts:202 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 1: 0x5559384412b5  [/home/gv/opt/VSCode-linux-x64/code] 2: 0x55593844142a  [/home/gv/opt/VSCode-linux-x64/code] 3: 0x5559350d64f1  [/home/gv/opt/VSCode-linux-x64/code] 4: 0x5559351836f2  [/home/gv/opt/VSCode-linux-x64/code] 5: 0x555935185c11  [/home/gv/opt/VSCode-linux-x64/code] 6: 0x55593518204c  [/home/gv/opt/VSCode-linux-x64/code] 7: 0x555935180101 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/home/gv/opt/VSCode-linux-x64/code] 8: 0x55593518bc53  [/home/gv/opt/VSCode-linux-x64/code] 9: 0x555934d53325 v8::internal::Factory::NewMap(v8::internal::InstanceType, int, v8::internal::ElementsKind, int) [/home/gv/opt/VSCode-linux-x64/code]10: 0x5559351c73cd  [/home/gv/opt/VSCode-linux-x64/code]11: 0x5559351c783c  [/home/gv/opt/VSCode-linux-x64/code]12: 0x5559351a62c2  [/home/gv/opt/VSCode-linux-x64/code]13: 0x5559351a5b84  [/home/gv/opt/VSCode-linux-x64/code]14: 0x555934f4fda1  [/home/gv/opt/VSCode-linux-x64/code]15: 0x555935344d0e  [/home/gv/opt/VSCode-linux-x64/code]<--- Last few GCs --->[12387:0x1195643d0000]   558079 ms: Mark-sweep 2037.3 (2084.2) -> 2036.9 (2083.7) MB, 1437.6 / 0.0 ms  (average mu = 0.122, current mu = 0.017) allocation failure scavenge might not succeed[12387:0x1195643d0000]   559472 ms: Mark-sweep 2038.2 (2084.2) -> 2037.9 (2084.7) MB, 1382.6 / 0.0 ms  (average mu = 0.065, current mu = 0.008) allocation failure scavenge might not succeed<--- JS stacktrace --->==== JS stack trace =========================================    0: ExitFrame [pc: 0x555935344d0e]Security context: 0x228b85d229d9     1: g(aka g) [0x32b1bf7eb261] [/home/gv/opt/VSCode-linux-x64/resources/app/extensions/json-language-features/client/dist/jsonMain.js:~9] [pc=0x13bd4e2695e5](this=0x2089d0e026f1 ,0x1b91197b3221 )    2: I(aka I) [0x32b1bf7eb861] [/home/gv/opt/VSCode-linux-x64/resources/app/extensions/json-language-features/client/dist...
bootstrap-window.js:212 [uncaught exception]: Error: read ECONNRESET
onUnexpectedError @ bootstrap-window.js:212
(anonymous) @ bootstrap-window.js:54
emit @ events.js:182
window.onerror @ /home/gv/opt/VSCode-linux-x64/resources/electron.asar/renderer/init.js:147
n.globals.onerror @ errorTelemetry.ts:20
bootstrap-window.js:215 Error: read ECONNRESET
at Pipe.onStreamRead (internal/stream_base_commons.js:111)
onUnexpectedError @ bootstrap-window.js:215
(anonymous) @ bootstrap-window.js:54
emit @ events.js:182
window.onerror @ /home/gv/opt/VSCode-linux-x64/resources/electron.asar/renderer/init.js:147
n.globals.onerror @ errorTelemetry.ts:20
events.js:167 Uncaught Error: read ECONNRESET
at Pipe.onStreamRead (internal/stream_base_commons.js:111)
errnoException @ internal/errors.js:313
onStreamRead @ internal/stream_base_commons.js:111
abstractExtensionService.ts:154 Extension host terminated unexpectedly.


Swift3

Recently, I updated swift3 and Xcode 8.
well, I'm not yet understanding whole error code, but some error appears on framework source code related to animation.

+1
Plz swift3

The pull request for swift 3 is ready :)

A new release with swift 3 is available :)


fix: change ckb receiver to pass schedule test

New Receiver on CKB chain
https://pudge.explorer.nervos.org/address/ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqwggd458zwcasnhtjgvr40kmcqs5cy5g4csq3858
lock script hash: 0xbb559cdd754bed4637293c65bf5fdd1e43c8241e1698001c08f197a11b7734fb

Tip: use https://ckb.tools/address

The address of the receiver on CKB chain is ckb_blake2b(packed CKB lock script)[..20].
lock_script_hash[..20] -> 0xbb559cdd754bed4637293c65bf5fdd1e43c8241e

The test did not pass.
But, both Forcerelay relayer and Axon alphanet may be unstable, so I want to merge this PR and then keep watching.


Add basic test for react-native example

Simply checks whether rendering the example throws, to avoid something like https://github.com/aksonov/react-native-router-flux/pull/3380 in the future.
(I haven't used CircleCI before though, so I don't know whether the config will work like that and for some reason, I can't try it out on the branch of my fork...)

LGTM, let's try to merge that


Cannot unmarshal object in Go for policy

Use buildah on NixOS 24.05
Use krunvm create

Ensure that /etc/containers/policies.json exists with this:
{
  "default": {
    "type": "insecureAcceptAnything"
  }
}

Error:
Error: invalid policy in "/etc/containers/policy.json": json: cannot unmarshal object into Go value of type []json.RawMessage
buildah returned an error:

Skill issue


Allow output to multiple files

Larger API documentation projects require more than one file to be useful. To accommodate this, we'd need (from the user's perspective):

[x] a command-line option for specifying an output directory
[x] some kind of command to set a new file; a stack would be nice to deal with nested structures (e.g. ${ a_.pushfilename("module.submodule.md") }, ..., ${ a_.popfilename() })

Done in cf9dd035837eeb11de860ac0656c265383b88375
The --outdir option specifies a directory for output files.
The page parameter to doc.render() switches to the buffer for page. It wasn't easy to enable buffer switching in the body of a template, so I had to do it when beginning to render a new file.


Update MAINTAINERS.md

Signed-off-by: Vijayan Balasubramanian<EMAIL_ADDRESS>Description
Add Madhusudhan Konda to maintainers list.
Issues Resolved
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@madhusudhankonda what shall i add for Affiliation?

Chocolateminds will do?
Madhusudhan Konda
My Amazon's Page: Madhusudhan Kondahttps://www.amazon.co.uk/Madhusudhan-Konda/e/B005IWJ740
Author of All About Java 8 Lambdashttp://www.amazon.co.uk/All-About-Java-Lambdas-Introducing/dp/1517534585/, Just Springhttps://www.amazon.co.uk/Just-Spring-Madhusudhan-Konda/dp/1449306403, Just Hibernatehttps://www.amazon.co.uk/Just-Hibernate-Madhusudhan-Konda/dp/1449334377
Mobile: +44<PHONE_NUMBER>
Tweet: @mkonda007
Home: www.madhusudhan.comhttp://www.madhusudhan.com
LinkedIn: linkedin.com/in/madhusudhankondahttps://www.linkedin.com/in/madhusudhankonda

From: Vijayan Balasubramanian @.>
Sent: 18 August 2021 23:05
To: opensearch-project/opensearch-java @.>
Cc: Madhusudhan Konda @.>; Mention @.>
Subject: Re: [opensearch-project/opensearch-java] Update MAINTAINERS.md (#25)
@madhusudhankondahttps://github.com/madhusudhankonda what shall i add for Affiliation?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/opensearch-project/opensearch-java/pull/25#issuecomment-901460117, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAM6TNSCLQ7YYJ6CJQXXDXDT5QVCRANCNFSM5CM5XMFA.

@madhusudhankonda That works. Thanks.


Disabling on certain websites

I'm opening this issue because:

[ ] I'll report a bug
[x] I'll propose a new feature

Description
Some websites use Vim keys for navigation, which may be handy. One example is GMail, which has nice navigation using j-k-l-h. After installing the extension, I can't use that. I wish there was a way to disable the extension on certain websites so that I could employ their support for Vim keys.

There is a blacklist in the extension settings.

Ouch, that is embarrassing! I can see it now. Switching to JSON format wasn't a great idea: it was too easy to miss important stuff...
Thank you!


Feature: Improved User Onboarding with Firebase Authentication

This pull request enhances the RoomMapping web application's user onboarding process with the following key updates:
Implemented user registration using Firebase Authentication.
Validates email and password formats during registration.
Checks for existing accounts with the provided email.
Displays a brief animation upon successful account creation and redirects users to the login page.

you should resolve the conflicts introduced by the translation from react native to react js

Test bot discord

Abort Pull Request due to translation from react native to react


can we use db.executeSql(query) outside of db.transaction()?

can i use db.executeSql(query) without using db.transaction(). I've tried it and it's working in react-native with react-native-sql-storage. But what will be the difference between using it with or without db.transaction()

did you find an answer to this?

did you find an answer to this?


Specify name search details

Decide what type of searches do we want to use: full-text is often not very useful for short string fields; ngram indexes allow for the equivalent of LIKE queries, which may be more useful; prefix queries ("starts with") is another option. This may have ot decided on a per-queryable-field basis

the query string in case of names should do a prefix search on the scientific_name field analyzed with the SciNameNormalizer.
This excludes authorship from search. I am not convinced anyone really does search on the authorship. If so maybe we search on both the authorship and scientific_name field, ranking the name higher? We will also have to add searching by vernacular name and ideally its all from a single query string and not in different parameters.
Does it make sense to have a query parameter which specifies which data to include in the search? scientific name, authorship and/or vernacular name, defaulting to all of them? In which case the response also needs to know which field was matched, sth the CoL interface also does currently: http://www.catalogueoflife.org/annual-checklist/2017/search/all/key/Eagle/fossil/0/match/1

Looking at the CoL results again I notice:
http://www.catalogueoflife.org/annual-checklist/2017/search/all/key/Eagle/fossil/0/match/1
http://www.catalogueoflife.org/annual-checklist/2017/search/all/key/alba/fossil/0/match/1

the match is marked up, so we need highlighting?
matches are by full word, not prefix ones. Especially in case of vernaculars. There a prefix search does not make much sense at all.

In GBIF some other observations:

highlighting only happens for vernaculars: https://www.gbif.org/species/search?q=Bald eagle
Eagle matches an author and hides the real vernacular results: https://www.gbif.org/species/search?q=Eagle
it is also token based, not prefixed: https://www.gbif.org/species/search?q=alba

How about:

we do full text search on scientific_name, authorship and vernacular_name
the response indicates which field was hit
allow the request to narrow down the search by specifying the field to be matched against: scientific_name, authorship and vernacular_name
rank sciname > vernacular > author
sort by rank, then relevance, then sciname

For suggest queries create another service that works on names alone:

does prefix search on the sciname alone
just returns a list of names, not taxa or synonyms


Edge Actions ignore actionOnlyFields

I have an edge defined as:
{
  name: 'someEdge',
  schemaName: 'User',
  edgeActions: [
    {
      operation: ActionOperation.AddEdge,
      actionName: 'AddSomeEdge',
      actionOnlyFields: [
        {
          name: 'verificationNumber',
          type: 'Int',
        },
      ],
    },
  ],
},

But the AddSomeEdgeAction and its corresponding base never generate the input type with verificationNumber. I want to use it to add a trigger that calls builder.storeData so it can store it on the edge row.

So, I figured out what the problem is here. The generated action now has a 3rd parameter, which is the actionOnlyFields, but that changes this from only allowing one edge to be created per action. Previously I could do this in my trigger:
const action = AddSomeEdgeToEntAction.create(
  viewer,
  ent,
);
edgeIDsToAdd.forEach(id => action.addSomeEdgeToEntID(id));
return action.changeset();

But I think now I have to do:
return Promise.all(edgeIDsToAdd.map(id => (
  AddSomeEdgeToEntAction.create(
    viewer,
    ent,
    { dataToSave: id + 'foo' },
  ).changeset(),
));

Is that right?


Ignore patterns

Is there currently a way to ignore files/folders matching certain patterns?
The situation I keep hitting is that I am using asd on a project folder in which I am actively doing development.  This is a perfect workflow most of the time, but the one thing a little frustrating is that it keeps syncing vim's .swp files.  That is, I open a file in vim, and it creates a .swp file for it.  When I close the file, the .swp files don't always get deleted, and i have to manually clean them up.
While it may not be the only solution, I think it would be useful to be able to specify a pattern to ignore (in my case *.swp).  I'm not sure what "ignore" means for asd in terms of how it would be implemented, but I think the general idea makes sense.

The key sync step uses an rsync call so you could add an exclude statement to the code easily enough, but doing it an in conf file would just present an opportunity to jack-up the syntax, so I would have to write a routine to check it etc.  Probably not something I would wanna insert at this point.  You can try it by hardcoding --exclude *.swp into the rsync lines under the do_sync function as a proof of concept for your use case.  What distro are you running?  If it's Arch, you could even write this into your PKGBUILD with a creative sed line or two if it works.

Yeah I use Arch.  I'll try the hardcoded exclude.  Thanks!

I think that worked. It's hard to tell because it generally builds up over time.
Are you saying you don't want this to be configurable at all, or you don't want to have to worry about parsing/translating a custom "exclude" format into the one used by rsync?

That's cool.  If that addition works for you you can modify the PKGBUILD like this: https://gist.github.com/graysky2/f49ea711e83dc057d944

Yes, I don't want to add the feature to ignore because it complicates things particularly if users want multiple ignores.  Try building with that PKGBUILD I provided above which should automatically make this modification for you when you build asd on Arch.  That way you don't have to mess with remembering to mod the script when the version is bumped... it is highly unlikely that I will change the no-whole-file switch that is used for the sync operation so it's probably a safe bet to use to target a sed operation.

Okay, thanks.


Set language per user or per domain

Hi, i have 2 questions.

I want to know if it is possible to set the language per user instead of per tenant.  So when the user logs in the application loads in the language defined for the user.
Is it possible to set the language depending of the domain ending like www.test.com.us for english and www.test.com.es for spanish?
I any ideas how to do this? thanks

Hi,

Language can be set/get for a user using setting manager. ABP reads the language from cookie (https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Web/Web/AbpWebApplication.cs#L72). Default cookie name is "Abp.Localization.CultureName". It's value can be "en", "en-US" and so on.
So, if you set this cookie when user logged in, then ABP will get the true language from cookie.

ABP (1.0) automatically sets language for current user (https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Web.Mvc/Web/Mvc/Controllers/Localization/AbpLocalizationController.cs#L37) when you change language in the standard startup template.
The setting name is defined in LocalizationSettingNames.DefaultLanguage constant (in Abp.Localization namespace). To get current value of the setting, use setting manager (see document: http://www.aspnetboilerplate.com/Pages/Documents/Setting-Management). So, you can get it from setting manager and set the cookie on login.

Yes, override SetCurrentCulture in global.asax (see the original code: https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Web/Web/AbpWebApplication.cs#L72). Here, you can get URL from Request object and set Thread.CurrentThread.CurrentUICulture.

Hi, so, i using aspnet core how to default language with cultureName

@hikalkan Any suggestion to do localization per user based on user's settings in db? I need to return localized message from api controllers but don't want client to send language per each call, reading user's language local in db is prefered

You can get it from setting manager:
//Get for current user in AbpSession
var language = SettingManager.GetSettingValueAsync(LocalizationSettingNames.DefaultLanguage);

//Get by user id
var language = SettingManager.GetSettingValueForUserAsync(LocalizationSettingNames.DefaultLanguage, tenant-id, user-id);

You can also use SettingManager to change setting's value for a user.

@hikalkan what should be the best practice to set default language for a site by configuration, I see this thread https://github.com/aspnetboilerplate/aspnetboilerplate/issues/692 and changed the setting value to 'zh-CN' but the site still used English as default, only works after I override the SetCurrentCulture in global.asax

@jamesatgithub have you tried to set it in the database?

@hikalkan yes I set that value in the AbpSettings table, I'll double check if this still an issue I'll report here

@hikalkan it works. I read this doc https://aspnetboilerplate.com/Pages/Documents/Localization again and realized it could the cookie of the old language preference is overriding the database setting, after clearing cookie and the default language by setting works


[Request] Support for SVG oval rectangles

Hello
I used your library in one of my projects. It's overall nice, easy to use and if you need something new you can easily customize it by writing new component extending AbstractSeries and if you understand all the features you can really make some complex looking graphs without writing any new code.
However there's lack of support for oval rectangles in SVG. I think it would be nice to have support for oval rectangles a lot of projects or design teams propose to use rectangles with slightly oval corners.
The only way you can make svg oval is by adding attributes cx, cy. So you can't style it by adding some className or style to data or props style with border-radius.
I needed oval rectangles and I ended up extending RectSeries/VerticalRectSeries/HorizontalRectSeries by overwriting existing ones with changing <rect /> to <rect cx, cy />.
Just a sidenote because someone might be overwriting AbstractSeries with typescript like I did and it took me some time to figure out how to do it. I ended up searching for react-vis.d.ts type file to be able to do stuff like class RectSeries extends AbstractSeries<RectSeriesProps> because with class RectSeries extends AbstractSeries typescript wouldn't recognize my classes usable inside of JSX.

I am having a similar need, could you show how you ended up extending RectSeries/VerticalRectSeries/HorizontalRectSeries by overwriting existing ones with changing  to <rect cx, cy /> ?

I am having a similar need, could you show how you ended up extending RectSeries/VerticalRectSeries/HorizontalRectSeries by overwriting existing ones with changing  to <rect cx, cy /> ?

Also curious on this -- did either of you have any Typescript example code for extending the AbstractBarSeries that you could share?

@girlslearningcodeyul @timtucker
That is my older account I barely use and I don't check emails that often(dedicated to commercial work for some company). I've managed to find old files and upload them to repo, it looks like I fixed cx,cy to 2,2
https://github.com/marcin-piekarniak/reactvis-OvalRectSeries


when i do command + I I get this internal problem error

Description
What steps will reproduce the problem?

all I am doing is command + I to get the information on a function.
Traceback
  File "/Users/jaemoon/opt/anaconda3/lib/python3.7/site-packages/spyder/widgets/mixins.py", line 1428, in inspect_current_object
    self.show_object_info(current_object, force=True)
  File "/Users/jaemoon/opt/anaconda3/lib/python3.7/site-packages/spyder/widgets/mixins.py", line 1446, in show_object_info
    self.help.set_object_text(text, ignore_unknown=False)
  File "/Users/jaemoon/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/help/plugin.py", line 528, in set_object_text
    found = self.show_help(text, ignore_unknown=ignore_unknown)
  File "/Users/jaemoon/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/help/plugin.py", line 707, in show_help
    if not shell.is_defined(obj_text):
  File "/Users/jaemoon/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/ipythonconsole/widgets/help.py", line 135, in is_defined
    ).is_defined(objtxt, force_import=force_import)
  File "/Users/jaemoon/opt/anaconda3/lib/python3.7/site-packages/spyder_kernels/comms/commbase.py", line 555, in __call__
    call_dict, call_data, self._comm_id)
  File "/Users/jaemoon/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/ipythonconsole/comms/kernelcomm.py", line 152, in _get_call_return_value
    call_dict, call_data, comm_id)
  File "/Users/jaemoon/opt/anaconda3/lib/python3.7/site-packages/spyder_kernels/comms/commbase.py", line 437, in _get_call_return_value
    return self._sync_error(reply['value'])
  File "/Users/jaemoon/opt/anaconda3/lib/python3.7/site-packages/spyder_kernels/comms/commbase.py", line 493, in _sync_error
    error_wrapper.raise_error()
  File "/Users/jaemoon/opt/anaconda3/lib/python3.7/site-packages/spyder_kernels/comms/commbase.py", line 90, in raise_error
    raise self.etype(self)
Exception in comms call is_defined:

  File "/Users/jaemoon/opt/anaconda3/lib/python3.7/site-packages/spyder_kernels/comms/commbase.py", line 343, in _handle_remote_call
    buffer['call_kwargs'])

  File "/Users/jaemoon/opt/anaconda3/lib/python3.7/site-packages/spyder_kernels/comms/commbase.py", line 354, in _remote_callback
    *call_args, **call_kwargs)

  File "/Users/jaemoon/opt/anaconda3/lib/python3.7/site-packages/spyder_kernels/console/kernel.py", line 387, in is_defined
    return isdefined(obj, force_import=force_import, namespace=ns)

  File "/Users/jaemoon/opt/anaconda3/lib/python3.7/site-packages/spyder_kernels/utils/dochelpers.py", line 317, in isdefined
    attr_not_found = not hasattr(eval(base, namespace), attr)

  File "/Users/jaemoon/opt/anaconda3/lib/python3.7/site-packages/statsmodels/base/wrapper.py", line 34, in __getattribute__
    obj = getattr(results, attr)

  File "pandas/_libs/properties.pyx", line 33, in pandas._libs.properties.CachedProperty.__get__

  File "/Users/jaemoon/opt/anaconda3/lib/python3.7/site-packages/statsmodels/regression/linear_model.py", line 1715, in rsquared
    return 1 - self.ssr/self.centered_tss

  File "pandas/_libs/properties.pyx", line 33, in pandas._libs.properties.CachedProperty.__get__

  File "/Users/jaemoon/opt/anaconda3/lib/python3.7/site-packages/statsmodels/regression/linear_model.py", line 1656, in ssr
    return np.dot(wresid, wresid)

  File "<__array_function__ internals>", line 6, in dot

ValueError: shapes (128,64) and (128,64) not aligned: 64 (dim 1) != 128 (dim 0)

Versions

Spyder version: 4.2.0
Python version: 3.7.6
Qt version: 5.9.6
PyQt5 version: 5.9.2
Operating System: Darwin 19.6.0

Dependencies

# Mandatory:
applaunchservices >=0.1.7       :  0.2.1 (OK)
atomicwrites >=1.2.0            :  1.4.0 (OK)
chardet >=2.0.0                 :  4.0.0 (OK)
cloudpickle >=0.5.0             :  1.6.0 (OK)
diff_match_patch >=20181111     :  20200713 (OK)
intervaltree >=3.0.2            :  3.1.0 (OK)
IPython >=4.0                   :  7.19.0 (OK)
jedi =0.17.2                    :  0.17.2 (OK)
jsonschema >=3.2.0              :  3.2.0 (OK)
nbconvert >=4.0                 :  6.0.7 (OK)
numpydoc >=0.6.0                :  1.1.0 (OK)
parso =0.7.0                    :  0.7.0 (OK)
pexpect >=4.4.0                 :  4.8.0 (OK)
pickleshare >=0.4               :  0.7.5 (OK)
psutil >=5.3                    :  5.7.2 (OK)
pygments >=2.0                  :  2.7.4 (OK)
pylint >=1.0                    :  2.6.0 (OK)
pyls >=0.36.1;<1.0.0            :  0.36.2 (OK)
pyls_black >=0.4.6              :  0.4.6 (OK)
pyls_spyder >=0.1.1             :  0.3.0 (OK)
qdarkstyle >=2.8                :  2.8.1 (OK)
qtawesome >=0.5.7               :  1.0.1 (OK)
qtconsole >=4.7.7               :  4.7.7 (OK)
qtpy >=1.5.0                    :  1.9.0 (OK)
rtree >=0.8.3                   :  0.9.4 (OK)
setuptools >=39.0.0             :  51.1.2.post20210112 (OK)
sphinx >=0.6.6                  :  3.4.3 (OK)
spyder_kernels >=1.10.0;<1.11.0 :  1.10.1 (OK)
three_merge >=0.1.1             :  0.1.1 (OK)
watchdog >=0.10.3               :  0.10.4 (OK)
zmq >=17                        :  20.0.0 (OK)

# Optional:
cython >=0.21                   :  0.29.21 (OK)
matplotlib >=2.0.0              :  3.3.2 (OK)
numpy >=1.7                     :  1.18.5 (OK)
pandas >=1.1.1                  :  1.2.0 (OK)
scipy >=0.17.0                  :  1.5.2 (OK)
sympy >=0.7.3                   :  1.7.1 (OK)

Hi @moonj94,
I'm unable to reproduce this issue. What function in particular are you trying to use Ctrl + I?

Hi @moonj94,
I'm unable to reproduce this issue. What function in particular are you trying to use Ctrl + I?

it was a statsmodel (GLS) rsquared function. I tried it in the console

it was a statsmodel (GLS) rsquared function. I tried it in the console

Can you please upload a gif with the behavior you are having?

Can you please upload a gif with the behavior you are having?

Closing due to lack of response.


WIP: external repo targets autocomplete in BUILD files

Fixes https://github.com/bazelbuild/intellij/issues/505

Hi @jin, I guess you're not planning more work on this? :)

Nope - I'll have to drop this.


BUG: Message ID copied from a post in the feed does not render in Patchwork

Steps to Reproduce

On planetary.link click the elipses menu on any post
Select % copy message ID
Open patchwork
Paste the message ID into the search bar
Issue: Error Cannot FInd
Expected: Post would open.

It works with some messages
A working msg that is on both planetary.link and my patchwork:
%k56rmORCpfUgcelDcxiCX/7t64y+tLZjbURn++UYCn0=.sha256

@nichoth - That's great - so it seems like only some message IDs are broken - we'll need to figure out which clients are generating the broken message Ids??

For context I was testing with Hammiller's posts to test this when it was not working.


Aggregator Integration

Step 1: Schedule calls with DeepDAO, Messari, and Etherscan and source their requirements

@amanwithwings, Can you connect me to Messari and DeepDAO folks to ask about API requirements? but before that do we have any integration planned with DeepDAO and Messari?


Consider adding support for Set in Object.isEqual

Would like to support Sets if possible.

Note to posterity that iOS 8 supports Set but does not properly support Iterators returned by any of the set methods. Thanks a lot...


Unable to type in ttyd

Describe the bug
Not able to type in the ttyd
To Reproduce
Steps to reproduce the behavior:

Run ttyd with /opt/homebrew/bin/ttyd -t disableReconnect=true -t fontSize=16 --port 8182 /bin/zsh
go to http://localhost:8182
Try to type something
Nothing gets typed on screen

Expected behavior
I expect for what i typed on keyboard to appear on the ttyd
Environment:

OS: Mac OS Sonoma 14.0
Browser: Arc Browser 1.11.0

Additional context
Tried with Safari also, same results

there is a workaround, I tried with the -W option and it works
ttyd -W -p 8889 bash

Tried this, works independently when run in terminal. But if its part of runit script it doesn't work.

I'm running it in pm2 and it works OK with -W option

I've warned you it:
The --writable option is not set, will start in readonly mode


Create a binary for Affinity Assistant used as a placeholder pod

This was requested in https://github.com/tektoncd/pipeline/pull/2630#discussion_r426566799
Expected Behavior
A small, minimal binary, e.g. an Go http service.
Actual Behavior
We currently use an Nginx image for this.

@bobcatfish as quickly discussed today, the hardcoded nginx image is most likely gonna be a blocker for openshift-pipelines :sweat_smile: We can use a flag for this and still using nginx but allowing openshift-pipelines (and other integrator) to customize the image.

Does the image have to expose an HTTP service? Or just run indefinitely?
Related #2562 #2714

Or just run indefinitely?

Just run indefinitely. We could potentially use it for other things as well, if we want.
For this use case, it is just a pod with specific labels, so that taskRun-pods can configure podAffinity to attract that pod, so they are scheduled to the same Node.

It could (not sure) be nice to reuse the nop image (see #2714) and give it two modes: exit successfully immediately no matter what (nop), or run indefinitely no matter what (affinity assistant).

It could (not sure) be nice to reuse the nop image (see #2714) and give it two modes: exit successfully immediately no matter what (nop), or run indefinitely no matter what (affinity assistant).

The run indefinitely option sounds a lot like the k8s pause container: https://www.ianlewis.org/en/almighty-pause-container
we could maybe reuse that one - it is already optimized to be tiny and run forever with 0 CPU footprint.

Source for it here: https://github.com/kubernetes/kubernetes/tree/master/build/pause


Edit author page should save changes

Scenario
Given an author named 'Alan Turing'
When a user visits the edit page of the author Alan Turing
Then no error should occour
Hints
Feature: Changes made to the authors in an edit form (similar to the 'new' form) should be written to the database.
New controller actions (edit and update) and a new view are required.
Tests could be placed in spec/features/author/edit_author_spec.rb.
In a test, if an object's values should be reloaded from the database, after an action has modified them, consider the reload method:
@author.reload
Here is the relevant section (5.11) of the Rails Guide.
Error

Got AbstractController::ActionNotFound: The action 'edit' could not be found for AuthorsController

16 exercise tests have passed. There are 44 in total. You will solve multiple at once towards the end.

Sorry, it's not working for me yet:
Scenario
Given an author named 'Alan Turing'
When a user visits the edit page of the author Alan Turing
And changes first name to 'Bob'
And clicks submit
Then no error should occour
Error

Got NameError: undefined local variable or method `article_params' for #AuthorsController:0x000055cefb1b59e8

If you have problems solving this task, please don't hesitate to contact the teaching team!


AT fix

Profiler switched on at declaration to have proper number outputed. Reduction clause are ignored if the profiler is turned on inside at_controller afterward.

Apart from the minor comment, this should be merged ASAP

This one is good to go I think

Yes, it is. Merging...


Update Ubuntu:22-04 Docker images to 24.04

Problem statement
Github actions will soon default to using Ubuntu 24.04.
What you need to know
[Links to documents, workflows, or list of key people and contact info]

Ubuntu EOL
GitHub Ubuntu 24 beta availability
...

Acceptance criteria

[ ] all uses of Ubuntu 22.04 are replaced with 24.04

To do

[ ] ...

related: https://github.com/CDCgov/prime-reportstream/pull/14766


chore: use latest version of the provider for go.mod in examples

The go examples require a specific version in go.mod.
~This simply makes up the new version, although sometimes the new version will just be a fix and the version specified in the go examples will be higher than the latest available tag~
This adds label latest in go.mod pulumi-equinix/sdk import
require (
	github.com/equinix/pulumi-equinix/sdk latest
	github.com/pulumi/pulumi/sdk/v3 v3.128.0
)

removing the modified files in the examples to avoid conflicts and let the next upgrade-provider do the work


Bug 1974609: ceph: initialise httpclient for bucketchecker and objectstoreuser

Description of your changes:
For the TLS communication for AdminOps Api, httpclient is required and filled with TLS certs, currently it is set to nil pointer in
buckethealthchecker and cephobjectstoreuser.
Which issue is resolved by this Pull Request:
Resolves #
Checklist:

[ ] Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
[ ] Skip Tests for Docs: Add the flag for skipping the build if this is only a documentation change. See here for the flag.
[ ] Skip Unrelated Tests: Add a flag to run tests for a specific storage provider. See test options.
[ ] Reviewed the developer guide on Submitting a Pull Request
[ ] Documentation has been updated, if necessary.
[ ] Unit tests have been added, if necessary.
[ ] Integration tests have been added, if necessary.
[ ] Pending release notes updated with breaking and/or notable changes, if necessary.
[ ] Upgrade from previous release is tested and upgrade user guide is updated, if necessary.
[ ] Code generation (make codegen) has been run to update object specifications, if necessary.

/bugzilla refresh

/lgtm

/ok-to-test

/approve


fix(@sap-ux/annotation-converter): unalias AnnotationPaths

Unaliasing took place only when accessing the AnnotationPath $target, but the AnnotationPath value still contained the original alias (which is unresolvable for consumers after the conversion, unless the raw data happens to use the "standard" aliases).
I wonder whether the write-back needs to alias the path again? Technically, keeping the expanded annotation path should be ok.

A minor one, probably does not require a patch (or does it)?

I extended this one a bit to also fix #600

forgot to push the changeset file...


Add validation to block sending or responding messages to respective from an Identity with an active IdentityDeletionProcess

Readiness checklist

[X] I added/updated tests.
[X] I ensured that the PR title is good enough for the changelog.
[X] I labeled the PR.

@RuthDiG could you please use full words instead of the abbreviation in the PR title? (resp.)

I had a hard time processing your PR title. What do you think about Block sending messages to identities which are in deletion?

I had a hard time processing your PR title. What do you think about Block sending messages to identities which are in deletion?

I can do so but perhaps it would be better Block sending Messages to peer with Relationship blockade to integrate also the case when the Relationship is terminated?

Then you completely leave out the identity deletion. Maybe you find a title that includes both.

@RuthDiG backbone 6.14.0 is out, you can now write the tests for messages during relationship termination.

Backbone 6.15.0 is now out too, including the queueing of Message within the grace period of an IdentityDeletionProcess. So there should be nothing left blocking us.

@RuthDiG your latest commits introduced some commented out code, please remove this, we don't merge commented out code.


I/flutter (13301): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 5022 pos 16: 'child is! ParentDataElement': is not true. I/flutter (13301): Another exception was thrown: Each child must be laid out exactly once.

code
Images.dart file:
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';
import 'dart:io';
import 'dart:async';
class Images extends StatefulWidget {
  @override
  _ImagesState createState() => _ImagesState();
}

class _ImagesState extends State<Images> {
   List<Object> images = List<Object>();
    File _imageFile;
    final picker=ImagePicker();
     @override
  void initState() {
    super.initState();
     setState(() {
      images.add("Add Image");
      images.add("Add Image");
      images.add("Add Image");
      images.add("Add Image");
      images.add("Add Image");
    });
  }
   @override
  Widget build(BuildContext context) {
    return Scaffold(
       appBar: new AppBar(
          centerTitle: true,
          title: const Text('Images of Product'),
        ),
        body: Column(
          children: <Widget>[
        Expanded(
          child: buildGridView(),
        ),
      ],
    ),
    );
}
Widget buildGridView() {
    return Flexible(
  child: GridView.count(
  shrinkWrap: true,
  physics: NeverScrollableScrollPhysics(),
  crossAxisCount: 3,
  crossAxisSpacing: 18,
   mainAxisSpacing: 18,
  children: List.generate(images.length, (index) {
    if (images[index] is ImageUploadModel) {
      ImageUploadModel uploadModel = images[index];
      return Card(
        clipBehavior: Clip.antiAlias,
        child: Stack(
          children: <Widget>[
           Image.file(
              uploadModel.imageFile,
              width: 300,
              height: 300,
            ),
            Positioned(
              right: 5,
              top: 5,
              child: InkWell(
                child: Icon(
                  Icons.remove_circle,
                  size: 20,
                  color: Colors.red,
                ),
                onTap: () {
                  setState(() {
                    images.replaceRange(index, index + 1, ['Add Image']);
                  });
                },
              ),
            ),
          ],
        ),
      );
    } else {
      return Card(
        child: IconButton(
          icon: Icon(Icons.add),
          onPressed: () {
            _onAddImageClick(index);
          },
        ),
      );
    }
  }),
)
    );
  }

  Future _onAddImageClick(int index) async {
    final pickedFile = await picker.getImage(source: ImageSource.gallery);
    setState(() {
       if (pickedFile != null) {
        _imageFile = File(pickedFile.path);
      } else {
        print('No image selected.');
      }
      getFileImage(index);
    });

  }

 void getFileImage(int index)  {
//    var dir = await path_provider.getTemporaryDirectory();
  setState(()  {
    ImageUploadModel imageUpload = new ImageUploadModel();
    imageUpload.isUploaded = false;
    imageUpload.uploading = false;
    imageUpload.imageFile = _imageFile;
    images.replaceRange(index, index + 1, [imageUpload]);
  });}
}

class ImageUploadModel {
  bool isUploaded;
  bool uploading;
  File imageFile;

  ImageUploadModel({
    this.isUploaded,
    this.uploading,
    this.imageFile,
  });
}

Hi @keerthi0
Can you please provide your flutter doctor -v, your flutter run --verbose and the steps to reproduce the issue?
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Slightly better makeTagType syntax

Instead of using Val{...}, we can make our own simple TagType{...} struct:
struct TagType{N} end

Then instead of makeTagType we can just define a constructor for this type:
TagType(s) = TagType{Tag(s)}
# We can alternatively make it return an instance of the type,
# I am not sure which is better
TagType(s) = TagType{Tag(s)}()

This is just to avoid having to use Val, which might appear a bit mysterious.

An alternative is also to use a non-stand string literal here:
macro TagType_str(s)
  TagType{Tag(s)}
end

Electron = TagType"Electron"

Not too different from a function call, but maybe it tells users that something special is happening (that a type is being made).

Hi Matt, good suggestions. I think the first one we should do for sure, following the definition of Val exactly, but just using a different name than Val for the purpose of better error messages.
The second idea about string literals is neat, but I imagine may not get used very much. So I vote we just table that idea and come back to it if we start to see a good use case.


Facebook links previews always return "Update your browser"

Previews for links from facebook are always redirected to the update your browser page
Example:
Link: http://facebook.com/iahvector
Preview:
{ url: 'http://facebook.com/iahvector',
  loadFailed: false,
  title: 'Update Your Browser | Facebook',
  description: undefined,
  contentType: 'text/html',
  mediaType: 'website',
  images: [ 'https://fbstatic-a.akamaihd.net/rsrc.php/v2/y6/r/Rv99Vzk9qsR.png' ],
  videos: undefined,
  audios: undefined }

I'm getting this issue too. @iahvector, did you resolve this with a workaround?


Add JWT Support for Authentication

fixed https://github.com/eclipse-xpanse/xpanse/issues/793
related https://github.com/eclipse-xpanse/xpanse-iam/pull/9

@baixinsui looks good to me. We can merge if Yichao has no further comments


[Feature request] Support for others date formats

The app uses the standard format yyyy-mm-dd, but a lot of countries uses different standards. In my country, for example, the format is dd/mm/yyyy, and it becomes a bit unconfortable and confused to use this other.

Also the date picker should show the month in the user's native local format.

The default date format for the todo.txt is ISO 8601 and any change of that would need to be discussed upstream with the authors of the format.
The thing we can discuss in the context of sleek would probably be an optional formatting of the output date according to a users local setting. Which I can add to the backlog, but please don't expect this to happen any time soon as it is not an issue of high priority.
Whereas though the input dates format would need to stay ISO 8601.

Good point. We don't need to change the todo.txt format. I believe that the request was meant to localize the output date formatting. And yes, I agree that this is a low priority task.
One big advantage of the ISO 8601 date format is that it orders the time data by the proper "weight" (year first, month second, day third, etc.), so they can be then easily sorted by timeline.

Yes, as @rzelnik said, I don't think it's needed to change the todo.txt, only the option to change the output format to the user. And I also agree that it's not a high priority task.


Can this tool be used with esbuild?

I tried to use this tool with esbuild to build a Cloudflare worker. I need to use a library that has dependencies on node libs like fs.
I tried:
import buildAlias form 'esbuild-plugin-alias`
import { env, nodeless } from 'unenv'

const { alias } = env(nodeless)

async function main() {
  ...
  const result = await build({
    ...
    plugins[buildAlias(alias)],
    ...
  })
}

main()

I ended up getting a bunch of warnings from esbuild b/c the esbuild requires absolute paths and the paths supplied in the nodeless presets are relative.
Any thoughts about how to get this to work?

It can be used by resolving it to an absolute path using require.resolve.
We currently use a plugin like this one. (ESM style. may need some rewrtie for CJS)
import { createRequire } from 'module';
import { join } from 'path';
import { build } from 'esbuild';
import { nodeless } from 'unenv';

/** @type {(plugin: import('esbuild').Plugin) => import('esbuild').Plugin} */
const definePlugin = (plugin) => plugin;

const nodelessPlugin = definePlugin({
  name: 'unenv-nodeless',
  setup(build) {
    const alias = nodeless.alias;
    const re = new RegExp(`^(${Object.keys(alias).join('|')})$`);

    const require = createRequire(import.meta.url);
    const resolved = require.resolve('unenv');
    const baseDir = join(resolved, '../../..');
    const aliasAbsolute = Object.fromEntries(
      Object.entries(alias).map(([key, value]) => [
        key,
        join(baseDir, value) + '.mjs',
      ])
    );

    build.onResolve(
      {
        filter: re,
      },
      (args) => {
        const result = aliasAbsolute[args.path];
        return result ? { path: result } : undefined;
      }
    );
  },
});

build({
  entryPoints: ['./src/index.ts'],
  outfile: 'dist/index_dev.js',
  platform: 'browser',
  bundle: true,
  format: 'esm',
  logLevel: 'info',
  plugins: [nodelessPlugin],
});

We plan to add an unplugin to unenv for easier integration. Lets track via #263


feat(KRY-634): Add sidekick local run to support local bolt endpoint

This commit introduces support for specifying a local IP address in the SideKick when running in local mode. It allows the BoltRouter to construct the BoltEndpoints using the local IP address and points both main and failover endpoints to the same port (9000).
This would be useful to these locally since bolt and sidekick would be running on samehost.
Unit Test:

[x] Run Sidekick in local mode

$ docker run -p 7075:7075 --env GRANICA_CUSTOM_DOMAIN=localhost --env AWS_REGION="us-east-1" -v ~/.aws/:/root/.aws/ sidekick:latest serve -l --bolt-endpoint-override <IP_ADDRESS> -f

-[x]  Validate S3 access
$ aws s3api list-buckets    --endpoint-url http://localhost:7075/
{
    "Buckets": [
        {
            "Name": "n-data-in1",
            "CreationDate": "2023-07-18T14:16:05.360000+00:00"
        },
        {
            "Name": "in1",
            "CreationDate": "2023-07-18T14:16:05.364000+00:00"
        },
        {
            "Name": "n-virtual-recyclebin",
            "CreationDate": "2023-07-17T21:25:02.407000+00:00"
        }
    ],
    "Owner": {
        "DisplayName": "s3server",
        "ID": "fe7272ea58be830e56fe1663b10fafef"
    }
}

Also peep the readme for conventional commits formatting: https://github.com/project-n-oss/sidekick#commits

Looks good but make sure that your commits follow the https://www.conventionalcommits.org/en/v1.0.0/ format!

Looks good but make sure that your commits follow the https://www.conventionalcommits.org/en/v1.0.0/ format!

Fixed. I also rebased the code with @kmushegi 's changes.


Bulk load service

Mostly tested

Maybe load all the sponsor accounts first....

Issue #145

Closing without merging as this wouldn't work with the new way accounts will be done.


feat: enable migration in etcd

Codecov Report
Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Files with missing lines
Patch %
Lines

pkg/server/config.go
0.00%
4 Missing :warning:

:loudspeaker: Thoughts on this report? Let us know!


[PLT-8775] Fix single image view display and styles in compact display mode

Summary
Fix single image view display.
Also fix styles in compact display mode:
Before:

After:

Ticket Link
Jira ticket: PLT-8775
Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed
[x] Added or updated unit tests (required for all new features)

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-0bafa1520d32c29db.spinmint.com
Test Admin Account: Email<EMAIL_ADDRESS>| Password: user-0
Test User Account: Email<EMAIL_ADDRESS>| Password: user-1
Instance ID: i-0bafa1520d32c29db

Spinmint test server destroyed


Route middleware invoked incorrectly

Hi,
I am trying to apply middleware to specific route, and am registering the controller as service and the middleware callback as protected closure, but the middleware is invoked incorrectly.
$app['admin.isAuthenticated'] = $app->protect(function(){
    return new Response('I am checked with auth');
});

$app['admin.isGuest'] = $app->protect(function(){
    return new Response('I am checked with guest');
});

and apply it to the route stack
$app->get('/admin/login', 'Admin\Controller\AdminController:login')
     ->bind('admin.login')
     ->before($app['admin.isGuest']);

$app->get('/admin', 'Admin\Controller\AdminController:index')
     ->bind('admin.home')
     ->before($app['admin.isAuthenticated']);

/**
 * when block below is removed, /admin/login invoke the admin.isGuest middleware, which is correct
 * when block below is present, /admin/login invoke the admin.isAuthenticated middleware, which is wrong
*/
$admin = $app['controllers_factory'];
$admin->get('/something', function () {
    return 'Something in admin page';
});
$admin->before($app['admin.isAuthenticated']);

$app->mount('/admin', $admin);

$app->run();

the expected behavior is when admin\login is accessed, the admin.isGuest is invoked, but admin.isAuthenticated is invoked instead.
Is there anything wrong with my code, or else?
regards
Ikhsan

Try to access admin/login/, yes, with slash at end.

Thank, I think I found the mistake in my code, in my actual code, I am using function like
public static function group($prefix, \Closure $callable){
        $prefix = '/'.ltrim($prefix, '/');
        $controllerCollection = static::$app['controllers_factory'];

        $callable($controllerCollection);

        static::$app->mount($prefix, $controllerCollection);

        return $controllerCollection;
    }

but instead of returning the $controllerCollection, I was returning $app so the middleware was registered as application middleware


Unable to resolve build file

Not sure if this is a user error, or some incompatibility has crept in with latest Xcode/Swift.
I'm trying to build with Xcode 10.2 and getting:
Showing Recent Messages
:-1: Unable to resolve build file: XCBCore.BuildFile (namedReferencesCannotBeResolved) (in target 'CardsAgainst')

Definitely user error. All works fine once I downloaded the 3 external packages.


Update README.md

Readme file change

Thanks for your contribution, but it seems unnecessary and motivated from other means (Hacktoberfest) while providing no real value to the project. You're always welcome to make contributions, but I will suggest that you put your effort into quality contributions instead of stuff like this, it is really unprofessional.
Respectfully closing.
In other words, you're not getting a t-shirt from me for this contribution 😄


Adding "Related account" mixin extending the "Account" class for storing the linked accounts.

https://jira.corp.adobe.com/browse/PLATIR-12208

your code changes look good me. It's should be the right approach.

your code changes look good me. It's should be the right approach.


Handle Redis response errors instead of silencing them

The exception handling for send() silenced all Redis errors apart from the
"full" message. This commit updates the exception logic to also
specifically handle the "unknown command" error which might point at an
unsupported version of Redis. It also now lets any other exception bubble
up instead of being silently dropped.
Reported by @wynbennett in https://github.com/django/asgi_redis/issues/14.
I also added a wild guess as to what versions asgi_redis might support. I'm happy to also add Travis support for the whole grid of supported Django, Python and Travis versions if @andrewgodwin thinks it's a good idea.

Thanks!


Stage 3: Async/Await Elements

https://github.com/tc39/ecmascript-asyncawait - stage 2 currently.

We can use stages instead of es7 (also its stage 3 now!)

Ok https://github.com/rwaldron/tc39-notes/blob/master/es7/2015-07/july-30.md#64-advance-async-functions-to-stage-2
I guess await* is gone


Update Changelog with information about 2.5 and 2.6.

I used these links to check the changes:

#188 and;
https://github.com/pagseguro/ruby/compare/dev?expand=1;

@rafaelrpbelo Update, great suggestions <3


DependentRules are not evaluated

I am having difficulty with DependentRules. For some reason, I cannot get them to run regardless of the pass or failure of the rules in the chain.
Though I fully understand that I am most likely missing some key step that is causing this to not behave in the way I expect, I cannot see it.
        public ActionFundingValidator()
        {
            RuleFor(m => m.AccountNumber)
                .NotEmpty();
            RuleFor(m => m.FiscalYear)
                .Must(m => m.HasValue && m.Value != 0).WithMessage("No fiscal year specified")
                .DependentRules(d =>
                {
                    d.RuleFor(m => m.FiscalYear)
                        .MustAsync(AlignWithContractLettingFiscalYear)
                            .WithMessage("Fiscal year must be {0} or {1}", (m) => m.FiscalYear, (m) => m.FiscalYear + 1);
                    d.RuleFor(m => m.AccountNumber)
                        .Must(BeAValidAccountNumberForFiscalYearInFinancialDatamart)
                            .When(m => !string.IsNullOrWhiteSpace(m.AccountNumber))
                            .WithMessage("Account number is not valid for fiscal year");
                });
        }

Thank you!
Patrick

DependentRules don't work with async in the current release, which is probably the issue you're running into. Initial support for this was recently checked in, so if you want to build from source and give it a try it might work better for you.

I can get by with When/Unless until a stable package is available. Thanks for taking the time to help!