Search not working when working with List<DropdownMenuItem>

I'm not sure why, I get the text displayed but it just doesnt work. Here is the code and some screenshots.
`  formarPaises() async {
List pm = new List();
paises = List<DropdownMenuItem>();
await http.get(url + '/paises',
    headers: {
      'Accept': 'application/json'
    })
    .then((http.Response res) async {
  Map<String, dynamic> jsonr = json.decode(res.body);

  if (res.statusCode < 200 || res.statusCode > 400) {
    Fluttertoast.showToast(
        msg: "Error al obtener los paises",
        toastLength: Toast.LENGTH_SHORT,
        gravity: ToastGravity.CENTER,
        timeInSecForIosWeb: 2,
        backgroundColor: Colors.red,
        textColor: Colors.white,
        fontSize: 16.0
    );
  } else {
    jsonr["data"].forEach((dd) {
      pm.add(new PaisModel.map(dd));
    });
  }
}).then((a) async {
  setState(() {
    paisModel = null;
    paises = paisDropDownItems(pm);
  });
});

}`
 List<DropdownMenuItem<PaisModel>> paisDropDownItems(List<PaisModel> list) {     List<DropdownMenuItem<PaisModel>> items = List();     for (PaisModel paisModel in list) {       items.add(         DropdownMenuItem(           value: paisModel,           child: Text(paisModel.Descripcion),         ),       );     }     return items;   }
Those two are to form the searchlist and to show it its this:
Card(                 elevation: 3,                 child: Container(                   decoration: BoxDecoration(                     color: Colors.white,                     borderRadius: BorderRadius.all(                       Radius.circular(5.0),                     ),                   ),                   child: SearchableDropdown.single(                     iconEnabledColor: Colors.blue,                     iconDisabledColor: Colors.blue,                     displayClearIcon: false,                     underline: Container(),                     selectedValueWidgetFn: (t) {                       return Container(                           transform: Matrix4.translationValues(0,0,0),                           alignment: Alignment.centerLeft,                           child: (Text(paisModel.Descripcion)));                     },                     hint: "Pais *",                     searchHint: "Pais *",                     value: paisModel,                     items: paises,                     onChanged: (v) {                       setState(() {                         paisModel = v;                         formarProvincias(v.PaisID);                         changeFocus(provinciaIDFocusNode);                       });                     },                     isExpanded: true,                   ),                 ),               ),
The result is the next

but when I search

Here its another result with the same example but another api.

What am I missing here?

Maybe its cuz I'm using a old version of flutter? (Wich I need for this proyect :( )

This can happen when Your drop down value and child are not the same

This can happen when Your drop down value and child are not the same

I mean of course they are not the same, the value is the entire model, with the ID, description, etc, etc, and the child has to be a text or I'm wrong?

@darkrevenger am facing the same issue did you get the solution? search is not working

I found it you have put text in value field also so when you will search it will search according to text
in my case what i did

search works with "value" field

I found it you have put text in value field also so when you will search it will search according to text
in my case what i did

search works with "value" field

Value in my case is the string you are providing in text widget

@WaheedHussainHaans its okay don't pass the Text widget,  later i updated to string which was
Value : name + "," + id
I put both name n id so that it will work for search and i ll get the id also for later purpose.

if you are using class to forget to add toString override
@override
String toString() {
return this.name;
}


Instadapp dev

Background
Goal: Enable crosschain spells within Instadapp’s Defi Smart Account (DSA) connector framework
Instadapp doesnt have capacity (and/or priority) to implement without Labs engineering assistance
Impact
Instadapp is a top ~10 defi app by TVL (https://defillama.com/)
43K Twitter followers
Their new smart contract wallet Avocado implements account abstraction with DSAs. This is a huge future lever for partnership that aligns with our overall infrastructure abstraction vision.
Proposed Solution
Spec here https://www.notion.so/connext/Instadapp-Integration-8d9d3aca004141c89e54a5f529ce2cd8
Update: 3/29 -- Remaining:
Still in review. Will be whitelisted after review.
Receiver side auth needs to be finalized:
How to collect funds from user and forward to DSA address.
Waiting for info from them for where to add contracts. Finish unit tests and ready for audit.
Everything has been asked to them, need to bump them to get answers.
Additional info
DSAs are smart contract wallets that Instadapp users can deploy which give them the following benefits:

Security: DSAs can have multiple signing authorities for granular access control + recovery.

As part of the DSA framework, instadapp can also do things like enable pre-built vaults/strategies for investors or utilize idle liquidity to generate additional value

Composability: users can bundle many DeFi protocol interactions into a single onchain transaction
Users can have many DSAs with many authorities assigned to them. Users will also have multiple DSAs across chains.

DSA vs. Avo: they are different infra but Avo will be marketed as DSA v3
- DSA: doesn’t do signature verification right now. requires an authority to interact with the DSA
- Avo: by default there is a metaTx available (no need for sig verification!), only need to give Avo wallet the signature
- xReceive would just send Avo wallet signature (user must be on Avo chain 634), no need for metaTx contract

Instadapp connector is done and ready for review. Working on Instadapp receiver contract on the signature verification part.

Signature part is fixed. Review comments on connectors PR. Update with fallback address. @sanchaymittal to share contract with Thrilok and do review.

Updated changes for pull request review. Still in review. Waiting on review.

Auth contract has been reviewed by instadapp, finalyze contract and share for final review. @sanchaymittal
waiting for connector's pr final review, it will whitelisted on their end afterwards.

Follow up with Instadapp @ArjunBhuptani

How do they typically handle audits
What would they recommend
What do other projects do

Still in review. Will be whitelisted after review.
Receiver side auth needs to be finalized, waiting for info from them for where to add contracts. Finish unit tests and ready for audit.

Contract needs final update for fallback address.

Impact: 5
See the discussion in Backlog Prio 1
Powered by Parabol

Urgency: 4
See the discussion in Backlog Prio 1
Powered by Parabol

[ ] Finalized the Contract
[ ] Add NatSpec comments on the contract
[ ] Create documentation for Contracts
[ ] follow up on Instadapp connectors
[ ] Share the Target contract with Instadapp and further action plan for deployment & unit testing.

Feedback from Instadapp review. Suggested changes in review. Changes have been added.
@wanglonghong and @sanchaymittal to coordinate about remaining tasks.

Note: Clarify if they will update docs for connectors?

Contracts completed, signature replay protection added. Cast data needs to be verified with current implementation. Working on documentation.

Connector already deployed on OP. We need to deploy our contracts and see if everything works on OP. Then let Instadapp team know that they can deploy connectors to the rest of the chains.

Need update from @sanchaymittal, can we close this out as done and open issues as needed for next steps?

Last message from Instadapp.

Hey @justanode! Just in case, whenever the connectors are ready for other chains. We will enable them all at once.

Let's get this pushed over the finish line. Will assign back to @just-a-node and @sanchaymittal to wrap up.

Auth stuff: @sanchaymittal speaking to Thrilok about the details and docs.
Connector stuff: Replicate for other chains.

connectors ready for other chains in this PR
integration test in progress in this branch. see TODOs and Instadapp TG chat for updates

Fixed bugs, updated docs on Notion. Need to check out connectors PR.

Shared docs and contracts with Thrilok and asking about connectors, who will deploy. Posted query about audit stuff. Post in group about next steps.

Pushed docs and messages with next steps. Waiting for response from team.

Outlined in group chat remaining steps:

[Insta] Review, deploy, and enable remaining connectors
[Insta] Release alpha version of SDK
[Connext] Deploy Instadapp adapter contracts to all chains
[Connext] Test the e2e flow on live contracts using SDK + fork tests
[Insta] Public-facing documentation on the Connext connector
[Connext] Toolkit to generate EIP712 signatures required in the xcall calldata (https://github.com/connext/monorepo/issues/3857)
[Both] Co-marketing and potentially a blog post of some sort describing how the connector works and how a user would actually use it

Working on fork test in this branch. Registered Connext connector in the test to move forward. Currently test is reverting on the ConnextConnector's xcall.

@just-a-node I think we should only do unit testing in Instadapp repo environment.
Also pinged thrilok, and proposed jumping on a call to finalize the steps for it.

Ok pls post results of the call if anything is finalized. This is relevant for 3) because if the insta team wants audit and/or ownership over the target contracts, then they should do the deployments and keep deployment artifacts in their repo.
The connectors PR is done being reviewed but there is one uncertainty I have with Matic on Polygon since we don't support it yet.

Connectors are deployed and enabled, alpha SDK is ready for us to use.
Next steps:

Sanchay to call with Thrilok
Connector contract updates from latest feedback (safeTransfer + signature validity time)
Spec out xchain loan migrations for Avo

A lot of discussion from yesterday. @just-a-node to send next steps.

Connectors are done and deployed.
Target contracts are reviewed, updates made and need response from them.
Move contracts into their repo and do unit tests.

Still waiting for answers.

Updates:

Added timebased lock for signature based on new comments
finalized contract are added as pr to instadapp repo, https://github.com/Instadapp/dsa-periphery-contract/pull/1
unit test to be written in Hardhat env for Instadapp repo.
further steps related to auditing deployment, marketing and testing...

latest update: PR is ready for review for Instadapp
https://github.com/Instadapp/dsa-periphery-contract/pull/1

Updated contracts with both xcall types. Pushed and deployed on Opt. Review is ongoing on their side. After, will see how to move ahead with SDK.

Connector PR merged. Other PR has some comments to be fixed. Once that's done, we can move forward.

both the pr merged, they are running excess memory issue. Need to take a look for next step of deployment

Stack too deep errors when compiling.

Resolved and created PR, waiting for further review.

Waiting for review still.

who are the reviewers here?

Instadapp devs

PR merged. Need next steps clearly mapped out (testing, adding to instadapp docs, marketing campaign)
Options for implementation

1-click deposits
crosschain lending

@sanchaymittal can you please follow up separately


Add Nong Song:

Song Name
Skrillex - Kill Everybody (Official Audio)
Artist Name
Skrillex
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=F21aifX0lZY
Direct File Link
No response
Song ID
565768
Start Offset [ms]
No response
Extra
No response

accept


Git commit does not work when message begins with hashtag (#) in 1.40

VSCode Version: 1.40
OS Version: macOS Catalina 10.15.1

Steps to Reproduce:

Type a commit message beginning with '#'
Try to click commit (or keyboard shortcut)
Nothing happens

Does this issue occur when all extensions are disabled?: Yes
This worked fine before 1.40. It's frustrating especially when linking work items from Azure DevOps through the associate work item feature.

same issue on Windows

/duplicate of #84201 and it looks like there'll be a fix in the upcoming October Recovery release, 1.40.1


Remove fromEvent, from. Export fromArray, fromIterable

Remove fromEvent.  We'll direct people to @most/dom-event, and the upcoming event-emitter add-on.  Remove from to get rid of runtime type inspection-based dispatch.  Export fromArray and fromIterable explicitly.
A few other things along the way:

Rename internal cons to startWith
Rename internal of to just
convert touched files to es6 (didn't convert files that were auto-refactored by Webstorm due to of -> just rename)

Looks good and snuck a little compose :smile:


⚠ Asset Delivery has degraded performance

In 49c7833, Asset Delivery (https://assetdelivery.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 1068 ms

Resolved: Asset Delivery performance has improved in 1d4f931 after 13 minutes.


Docs: Grammatical changes to flexbox page

Current version
Foundation components use a combination of floats, vertical alignment, table cells, and various other CSS hacks to get layouts looking right. These days, there's a better way... if you have the browser support!
My Updated version
Foundation components use a combination of floats, vertical alignment, table cells, and various other CSS hacks to get layouts looking right. These days though, there's a better way... if you are happy with the below browser support!
@ncoden @kball .... just a first ( and safe ) pull request ....
if you happy with this change, approve and merge it,
if you dont want this, simply close it :smiling_imp:

Oh see i did a mistake @ncoden @kball .... why these other changes are showing up

@IamManchanda As this is a docs change, it should target master, not develop... looking at this list of commits, I think what you're seeing is a gap between current master and develop; master has a bunch of docs updates that haven't been back-merged yet.
Closing - please reopen against master

So you meant to say i should do this
$ git remote add upstream git@github.com:zurb/foundation-sites.git -b master
instead of
$ git remote add upstream git@github.com:zurb/foundation-sites.git ?

@IamManchanda I don't think so... that would change your remote, but you should be able to check out any particular branch from the remote... and from what I can see you were branched from master.  Looking at the guide you said you followed, I believe the error was likely in step 3. We have a multibranch system, and our most common PRs (simple code fixes) are against develop, so that is the default branch. However, docs changes should go to master, so make sure you change the base to master

yup just figured it out! Thanks a lot for your kind help :smiley:


Default param

Would be really nice if just running nba-go defaulted to nba-go game. Happy to send a PR if you're open to it.
Thanks for a really cool util!

Hi @switz ,
I'm not sure whether setting a default command is a good idea or not. If user enters nba-go -h, what it should show? original nba-go -h or nba-go game -h?
Actually, if nba-go need a default command, I prefer just use nba-go game -t.
Hope for more discussion.

I prefer to show help description than nba-go game.
Reopen this issue if there is a better suggestion.


Adds to taffy sort an option to not sort or filter the first row duri…

…ng sorting (enabled with -r option).

@glennhickey take a look. This should fix your issue with taffy sort, although you'll need to specify the -r option.


.get() in python3.8.2

Issue .get() in python3.8.2
setenv PATH /usr/xdllc/pkgs/python3/3.8.2/bin:${PATH}
You were absolutely Correct - they lied to me before it was a hard link to 3.4
"" ERROR STATISTICS:  W: 1 ""   Is this bad ??
plxcji019>    r_e_q.py    Q_t_25_r.in
File "r_e_q.py", line 915
tc.append(.get(tc_def))
^
SyntaxError: invalid syntax
tc.append(.get(tc_def)) instances:
Line 5:     tc.append(.get(tc_def))
Line 442:  300 | 2 |   |        tc.append(.get(tc_def))                                                         #PL:
Line 453:  300 | 2 |   |        tc.append(.get(tc_def))
.get() instances
Line 5:     tc.append(.get(tc_def))
Line 194:   55 | 3 |   |            devtype = tc[idev].get('type')                                              #PL: $cellname=$tc[$idev]{cellname};
Line 195:   56 | 3 |   |            cellname = tc[idev].get('cellname')                                         #PL: $wid=$tc[$idev]{wid};
Line 196:   57 | 3 |   |            wid = tc[idev].get('wid')                                                   #PL: $len=$tc[$idev]{len};
Line 197:   58 | 3 |   |            len_ = tc[idev].get('len')                                                  #PL: $spacing=$tc[$idev]{spacing};
Line 198:   59 | 3 |   |            spacing = tc[idev].get('spacing')                                           #PL: if ( exists($tc[$idev]{options})) {
Line 200:   61 | 4 |   |                emx_extra_option = tc[idev].get('options')                              #PL: } else {
Line 204:   66 | 4 |   |                port1 = tc[idev].get('port')                                            #PL: } else {
Line 208:   71 | 4 |   |                simfreq = tc[idev].get('simfreq')                                       #PL: } else {
Line 442:  300 | 2 |   |        tc.append(.get(tc_def))                                                         #PL:
is the rest of logfile in /tmp/Pythonizer ?? required?

#!/usr/bin/env python3   .get example that works even in 3.6
#/usr/bin/python3 -u
#!/usr/intel/pkgs/python3/3.8.2
import requests
x = requests.get('https://w3schools.com/python/demopage.htm')
print(x.text)

.get attribute failure -
plxcji019> getm.py
Traceback (most recent call last):
File "getm.py", line 9, in
y = math.get('pi')
AttributeError: module 'math' has no attribute 'get'
plxcji019> less !$
less getm.py
plxcji019> more !$
more getm.py
#!/usr/bin/env python3
#/usr/bin/python3 -u
#!/usr/intel/pkgs/python3/3.8.2
#import numpy
import math
#x = numpy.get('pi')
y = math.get('pi')
#print(x.text)
print(y.text)

Can you attach the perl source code or at least a snippet of it that reproduces the problem?

Please also try it with v0.965

Now I get a File Module error – is it an import error or something else – just hangs – never completes now
[2:37 PM] Ateshian, PeterX Roy
Latest version of Conv2.... /nfs/pdx/disks/x5e2d_circuit_simulation_gwa001/pateshix/conv_pl_py_1 - still has file module problem - If you have some Python help on this please let me know -
[2:41 PM] Ateshian, PeterX Roy
Post mortem debugger finished. The Conv2portParams_hz_new.py will be restarted

/nfs/pdx/disks/x5e2d_circuit_simulation_gwa001/pateshix/conv_pl_py_1/Conv2portParams_hz_new.py(8)()
-> import builtins,re,io,subprocess,tempfile,warnings,sys,collections.abc,inspect,types,os, math, cmath
(Pdb)
Traceback (most recent call last):
File "/usr/intel/pkgs/python3/3.8.2/lib/python3.8/pdb.py", line 1703, in main
pdb._runscript(mainpyfile)
File "/usr/intel/pkgs/python3/3.8.2/lib/python3.8/pdb.py", line 1572, in _runscript
self.run(statement)
File "/usr/intel/pkgs/python3/3.8.2/lib/python3.8/bdb.py", line 580, in run
exec(cmd, globals, locals)
File "", line 1, in
File "/nfs/pdx/disks/x5e2d_circuit_simulation_gwa001/pateshix/conv_pl_py_1/Conv2portParams_hz_new.py", line 8, in
import builtins,re,io,subprocess,tempfile,warnings,sys,collections.abc,inspect,types,os, math, cmath
ModuleNotFoundError: No module named 'File'
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
/nfs/pdx/disks/x5e2d_circuit_simulation_gwa001/pateshix/conv_pl_py_1/Conv2portParams_hz_new.py(8)()
-> import builtins,re,io,subprocess,tempfile,warnings,sys,collections.abc,inspect,types,os, math, cmath

[2:41 PM] Ateshian, PeterX Roy
plxcji019> grep File Conv2*
return tempfile.TemporaryFile(mode=mode, encoding=encoding)
#_carp(f"close failed: Filehandle is already closed", skip=2)
import File.Spec as _File_Spec
plxcji019>
From: Joe Cool @.>
Sent: Monday, March 21, 2022 7:18 AM
To: snoopyjc/pythonizer @.>
Cc: Ateshian, PeterX Roy @.>; Author @.>
Subject: Re: [snoopyjc/pythonizer] .get() in python3.8.2 (Issue #2)
Can you attach the perl source code or at least a snippet of it that reproduces the problem?
—
Reply to this email directly, view it on GitHubhttps://github.com/snoopyjc/pythonizer/issues/2#issuecomment-1073954991, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX6LHCVH6KXGFUA4E4BUBYTVBCAJ5ANCNFSM5Q7NJVQA.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

It’s difficult to see what’s going on without seeing the original Perl source but try commenting out the “import File.Spec…” line in the generated code and see how much farther you get.  What File::Spec function do you need?  I have implemented some of them but not all.

Thank you very much for Version 0.965….. working with it now –
From: Joe Cool @.>
Sent: Monday, March 21, 2022 7:19 AM
To: snoopyjc/pythonizer @.>
Cc: Ateshian, PeterX Roy @.>; Author @.>
Subject: Re: [snoopyjc/pythonizer] .get() in python3.8.2 (Issue #2)
Please also try it with v0.965
—
Reply to this email directly, view it on GitHubhttps://github.com/snoopyjc/pythonizer/issues/2#issuecomment-1073956366, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX6LHCQWKUVRX3J6AQ7NGJTVBCAOBANCNFSM5Q7NJVQA.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

From original perl5

#!/usr/intel/bin/perl -w
use Math::Complex;
use File::Spec;
use Cwd;
file operations below VVVVVVV
$Z0 = 50.0;
$freq_mult = 1;
$ri = 1;
$pi = 3.1415927;
@freq = ();
@s11 = (); @s21 = (); @s12 = (); @s22 = ();
@z11 = (); @z21 = (); @z12 = (); @z22 = ();
@y11 = (); @y21 = (); @y12 = (); @y22 = ();
if($#ARGV != 0){ die("Usage: Conv2portParams.pl <2port Sparams>\n"); }
&readSparams();
&printSparams();
@fileLst = split('.',$ARGV[0]);
$yfile = $fileLst[0].".y2p";
$lqfile = $fileLst[0].".lq";
&ConvStoZ();
&ConvStoY();
&PrintYandLQ();
1;
sub PrintYandLQ()
{
my $i=0;
my $l = 0;
my $q = 0;
my $z = 0;
my $res = 0;
my $omega = 0;
my $freqghz = 0;
open(YFILE,">$yfile") || die("Can not write to $yfile: $!\n");
open(LQFILE,">$lqfile") || die("Can not write to $lqfile: $!\n");
print(YFILE "# Hz Y RI\n");
print(LQFILE "Freq_HZ \tL \tQ \tLfrY \tQfrY \tR\n");
From: Joe Cool @.>
Sent: Monday, March 21, 2022 3:19 PM
To: snoopyjc/pythonizer @.>
Cc: Ateshian, PeterX Roy @.>; Author @.>
Subject: Re: [snoopyjc/pythonizer] .get() in python3.8.2 (Issue #2)
It’s difficult to see what’s going on without seeing the original Perl source but try commenting out the “import File.Spec…” line in the generated code and see how much farther you get. What File::Spec function do you need? I have implemented some of them but not all.
—
Reply to this email directly, view it on GitHubhttps://github.com/snoopyjc/pythonizer/issues/2#issuecomment-1074477273, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX6LHCWK4B3AOL26GCLRGLTVBDYV3ANCNFSM5Q7NJVQA.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

The perl File::Spec methods are documented here: https://perldoc.perl.org/File::Spec - which ones does you code call?  If none, you can safely comment out the "use File::Spec;" line and try again.


Migrate Call List Entry model

I rule and have completed some work on Case Manager that's ready for review!
Merge over Call List stuff.
We are almost back to being able to load the call list - still need notes, but getting ever closer!
To test:
git checkout main && rails db:drop db:create db:migrate db:seed
git checkout pg-calllist && rails db:migrate migrate_to_pg:clinic_user_patient
rails c
CallListEntry.count # => 6

This pull request makes the following changes:

migrate call list entry model

no view changes
It relates to the following issue #s:

Bumps #2072

For reviewer:

Adjust the title to explain what it does for the notification email to the listserv.
Tag this PR:

feature if it contains a feature, fix, or similar. This is anything that contains a user-facing fix in some way, such as frontend changes, alterations to backend behavior, or bug fixes.
dependencies if it contains library upgrades or similar. This is anything that upgrades any dependency, such as a Gemfile update or npm package upgrade.

If it contains neither, no need to tag this PR.

thank you @lomky !


Update frequently-failed-cases.md

Docs Build status updates of commit a50d377:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/deploy-and-publish/appsource/prepare/frequently-failed-cases.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 7bd403b:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/concepts/deploy-and-publish/appsource/prepare/frequently-failed-cases.md
:warning:Warning
View
Details

msteams-platform/concepts/deploy-and-publish/appsource/prepare/frequently-failed-cases.md

Line 167, Column 79: [Warning-file-not-found] Invalid file link: '../../../../tabs/design/tabs-mobile'.

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


Are the translations cached, and how exactly, can I configure it?

Hey, first off it's a really great package.
But I need to make sure it's caching the translations because going to the database on each __(..) call will be too much for the database.
I've been looking around the source code but I can't find anything about caching except for
    protected function beforeSave(): void
    {
        $this->record->flushGroupCache();
    }

I've read the docs of spatie  and some of the source code, seems to be cached forever.


Don't log the request object in the router

R: @philipwalton
Fixes #1732
The log message didn't add a ton of value anyway, and this should work around the bug in Safari.

Coverage remained the same at 79.433% when pulling 6ba48b6da9e061e2f838c7de881cba92f14cbb04 on remove-request-logging into ecb987fedeb90954012f17791afe6829b1989d10 on master.


feat: use cmark-gfm for rendering blog posts

Per #2102, this PR updates the site to use cmark-gfm (via BinaryMuse/electron-markdown) instead of hubdown for rendering blog posts (this is the only markdown rendering done directly by the site). The PR also makes a few other refactoring-style changes to the blog route handlers.

Replaces hubdown with cmark-gfm
Removes blog middleware and replaces it with actual routes that use a new blog lib for finding and parsing blog posts
Modifies blog feed to use the new blog lib
Ensures blog posts are loaded asynchronously; fixes race condition where blog routes could run with no posts loaded
Moves blog views from views/posts to views/blog
Changes Node version from 8 to 10

Todo:

[x] Add IDs to headings
[x] Turn headings into links
[x] Syntax highlighting
[x] Fix extra space at bottom of code listings
[x] Fix iframes (e.g. YouTube videos on /blog/2015-whats-new-in-electron)

Okay, I believe this is feature-complete when compared with the previous renderer. I still want to do some comparisons of the old and new results to make sure nothing unexpected broke.

@electron/wg-website This is ready for review.
I downloaded a copy of every blog post on the current site and on this PR's deployment, and generated a diff for each. The results show that the changes are either (1) whitespace changes (particularly an extra non-visible newline at the end of code blocks), (2) single/double quote changes, and (3) some <li> elements no longer have their contents wrapped in <p>.


请问可以设置成周一是一周的起始日期吗，现在是周日是一周的开始

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

现在的话还不行，这两天重新设计会加上这个设计

感恩大佬！！！如果完成了烦请告知一声，能给我带来很大帮助~~~~

感恩大佬！！！如果完成了烦请告知一声，能给我带来很大帮助~~~~

2.0已提交，可以设置周开始星期了


Add specific level back and make it possible to access the inner writer.

The implementation defined levels was made impossible to access directly, I am not sure if you want that specifically since you seen to go a lot up against the draft standard.
Access of the inner writer allows things like swapping out a vec or similar.

The implementation defined levels was made impossible to access directly, I am not sure if you want that specifically since you seen to go a lot up against the draft standard.

Do you have a specific use case for a precision value in mind?
It just seems odd to me to provide it given the spec has no notion of a precision deflate value meaning:

The reader would need to be using async_zip.
The reader would need to know arbitrarily that any given entry was compressed with a given precision value.

I am pretty sure the values are not explicitly needed to decompress a deflate stream since options are integrated into the deflate header. And these "General purpose bits" seem to contain information that may or may not be needed.
As for the use case to be able to set it is to set a specific deflate level after running benchmarks on some specific hardware to get the best trade off of speed and size.

Ah, you're right. async_compression doesn't even provide the ability to construct decoders with a specific quality level. So in that case, this is only related to the writing side of this crate.
I'll merge for now in that case as that addresses my initial concerns but I will definitely put more thought into how this should be exposed in the future.


Replace deprecated usage and fetch projectID from env var

This PR contains minor changes that were applied using scripts, as explained in the individual commits.

all changes are included in PR #62


Dark theme

It would be nice to have a dark theme for the app's visuals (eg. Toolbar, Properties panel, Tree view, etc.).

Added with commit c0ecedc7bd2533158a030efbff61428fa5ad044a.
Screenshots:


自己回答自己提问的问题会收到回答通知

如图:

Hi, please write your issue in English. That way, more people can help you.


Improving Eloquent Tests

Improving tests and removing duplicated ones.

I think you are checking implementation details which is not good and should be avoided.

Codecov Report

Merging #130 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #130   +/-   ##
=========================================
  Coverage     97.38%   97.38%
  Complexity      231      231
=========================================
  Files            55       55
  Lines           574      574
=========================================
  Hits            559      559
  Misses           15       15

Continue to review full report at Codecov.

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

I think you are checking implementation details which is not good and should be avoided.

@imanghafoori1
Detailed parts are removed.


[release 1.20] update deps

Please provide a description of this PR:
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Ambient
[ ] Configuration Infrastructure
[ ] Docs
[ ] Dual Stack
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[ ] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

@hanxiaop: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio_release-1.20
48e7216ca777361047b170570bb3f80cbf29a3fc
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Fixed by https://github.com/istio/istio/pull/47625


redis cluster set key speed is slow than single?

Expected behavior
i use this jar to insert 10000 key and value to redis cluster , but the speed is low than single redis ?
Actual behavior
my code run and result :

Steps to reproduce:
this is my test code
Redis / Jedis Configuration
Jedis version:2.9.0
Redis version:3.0.6
Java version:jdk1.8

Redis cluster requires client side to calculate key's slot and find which node belong to the slot. So there're some overheads for Redis cluster, hence slower than normal Redis.
Hope this helps.

@HeartSaVioR  hi , the jedisCluster can have any something like pool or cache when we use it can work better


[BUG]  NotImplementedError: The operator 'aten::isin.Tensor_Tensor_out' is not currently implemented for the MPS device.

Hi,
when trying to run the example script on macOS on a macM1 Max, using mps, I get this error:

NotImplementedError: The operator 'aten::isin.Tensor_Tensor_out' is not currently implemented for the MPS device. If you want this op to be added in priority during the prototype phase of this feature, please comment on https://github.com/pytorch/pytorch/issues/77764. As a temporary fix, you can set the environment variable PYTORCH_ENABLE_MPS_FALLBACK=1 to use the CPU as a fallback for this op. WARNING: this will be slower than running natively on MPS.

does it means I can't run chronos natively on MPS?
Kind regards,

@Nucleon729 as suggested by the error message, setting PYTORCH_ENABLE_MPS_FALLBACK=1 will make it work. Just run
export PYTORCH_ENABLE_MPS_FALLBACK=1

in your terminal before executing the example snippet.

@Nucleon729 Some changes in transformers broke MPS support. Please install the following version:
pip install transformers~=4.39.0

Also note that bfloat16 may not be supported on MPS, so you should change the torch_dtype to torch.float32.

Opened an issue in transformers: https://github.com/huggingface/transformers/issues/31737

Fix for the above issue was merged.


Made Redis location configurable.

Closes #14 - makes the Redis URL configurable so that this example code can be run against a cloud instance of Redis.

@slorello89 I'll do same change here for consistency? https://github.com/redislabs-training/ru204/blob/main/src/dotnet/redis_om_example/Program.cs

@simonprickett - yep that would make sense.


fpt syntax check isn't giving me enough information to find error

When running the fpt command to check syntax of a policy template it isn't telling me there is a syntax error, but it doesn't say where.  Also when uploading to the flexera goverance page, I don't get a syntax error and I can execute the template.  Below is my output.
fpt check ./azure_tag_missing_sysid_all.rb --debug
Checking ./azure_tag_missing_sysid_all.rb
An unexpected error occurred: missing token
ERROR: compilation errors occurred

Attached is the Dockerfile that defines the dev enviroment I am working in and a sanitized version policy I am trying to check, for ease of replicating the error.
My end goal is to use FPT for a CI process tool and if possible a linter in vscode.
things to recreate my error.zip

What version of fpt are you using? With the latest version (v1.2.2), I am getting this:
Checking .\azure_tag_missing_sysid.rb
1 syntax error found:
  origin: template: azure_tag_missing_sysid.rb, line: 336
  problem: Syntax error
  summary: unexpected end-of-input, expecting keyword_end.
  resolution: Use valid Policy Template syntax. More information at http://docs.rightscale.com/policies/reference/v20180301/policy_template_language.html#syntax

ERROR: compilation errors occurred

Looking at the source I figured out that there was a missing end on your policy block:
@@ -219,6 +219,7 @@
         end
     end
   end
+end

 ###########################################################################################################################################################
 # Escalation

With that change, it looks like your policy is accepted by fpt check.

What version of fpt are you using? With the latest version (v1.2.2), I am getting this:
Checking .\azure_tag_missing_sysid.rb
1 syntax error found:
  origin: template: azure_tag_missing_sysid.rb, line: 336
  problem: Syntax error
  summary: unexpected end-of-input, expecting keyword_end.
  resolution: Use valid Policy Template syntax. More information at http://docs.rightscale.com/policies/reference/v20180301/policy_template_language.html#syntax

ERROR: compilation errors occurred

Looking at the source I figured out that there was a missing end on your policy block:
@@ -219,6 +219,7 @@
         end
     end
   end
+end

 ###########################################################################################################################################################
 # Escalation

With that change, it looks like your policy is accepted by fpt check.

After checking it looks like (v1.2.2), each time the container restarts it is downloading it from https://binaries.rightscale.com/rsbin/fpt/v1/fpt-linux-amd64.tgz
fpt -v
fpt v1.2.2 - 2021-01-15 19:59:42 - 756b1e0749b6458539d13945098deebe0c0dfe68

From your slashes are you using the windows version?

After checking it looks like (v1.2.2), each time the container restarts it is downloading it from https://binaries.rightscale.com/rsbin/fpt/v1/fpt-linux-amd64.tgz
fpt -v
fpt v1.2.2 - 2021-01-15 19:59:42 - 756b1e0749b6458539d13945098deebe0c0dfe68

From your slashes are you using the windows version?

I have tested it on both the Linux and Windows versions and get the same results that I mentioned on both.

I have tested it on both the Linux and Windows versions and get the same results that I mentioned on both.

Looking at where the "An unexpected error occurred:" error comes from, it looks like it is probably getting something unexpected back from the Policies system rather than being something wrong with fpt itself.
https://github.com/rightscale/policy_sdk/blob/master/cmd/fpt/check.go#L61
It might make sense to contact support about this issue.

Looking at where the "An unexpected error occurred:" error comes from, it looks like it is probably getting something unexpected back from the Policies system rather than being something wrong with fpt itself.
https://github.com/rightscale/policy_sdk/blob/master/cmd/fpt/check.go#L61
It might make sense to contact support about this issue.

I was on a call last night before hoping off for the day with @rshade and he was telling me the same thing.  I'm going to polish up a way of easily reproducing the issue, then contact support.

I was on a call last night before hoping off for the day with @rshade and he was telling me the same thing.  I'm going to polish up a way of easily reproducing the issue, then contact support.


How can I parse json?

Custom Json:
May 28 03:46:43 <IP_ADDRESS>  2020-05-28T03:46:43Z logserver-1 testcdn[1]: {"method":"GET","scheme":"https","domain":"example.com","uri":"/services/Data@1.0.0/history","query_string":"market=stock\u0026symbolId=26014913469567886\u0026rangeKey=oneMonth\u0026property=%5B%22priceVolume%22%2C%20%22name%22%5D","ip":"<IP_ADDRESS>","ua":"okhttp/3.12.2","country":"US","asn":16322,"content_type":"application/json","status":200,"server_port":443,"bytes_sent":1105,"bytes_received":2053,"upstream_time":0.052,"cache":"MISS","request_id":"e71d502e1734a5491565222134342192"}

This should help you https://github.com/allinurl/goaccess/issues/634


Implement a variant of Slava Pestov's requirement machine

Merging main into this is likely to correct failures


Made protocol compositions available for EJS templates.

This PR addresses https://github.com/krzysztofzablocki/Sourcery/issues/1191.
Please let me know if there's any work left to do, so it can get merged - or things I didn't consider, why this feature can't get merged any time soon.
Thank you.

          1 Error

:no_entry_sign:
Any changes to library code need a summary in the Changelog.

  Generated by :no_entry_sign: Danger

👋 @fabianmuecke thank you very much for your contribution! 🙏🏻
I would like to ask you to add unit tests for this change. I am sure the codebase would benefit from tests in future not to break by then existing functionality.
It would also be useful in future for the Linux port I am working on.
If you have any questions please don't hesitate to ask 🙏🏻

@art-divin I added a simple test case to make sure protocol compositions are exposed to javascript templates. Will that be sufficient?


Clean up directory structure

closes #107
So this is basically my idea for the structure of the website. As you can see I created a layout component together with a directory for every page on the website.
This is just a start for now which requires more clean up, by removing the old code that was used for the pages and moving everything in its own components.
Doing this will require some more time, so let me know if you guys like this structure and want me to create another PR with more clean up of the code.

Hey @inovux we like to clean and neatly to see our code if you like to edit it. Please go ahead no problem 😊😊

@BuddhikaD So you like it this way? If so, I think it's a good idea to split it up into a few tasks, else it will be a very big commit and hard to check don't you agree :P?


Update all tests that make use of an LLM to use Groq when running on CI

Consider also the opportunity to use a MockedLLM


⚠ Bofrost.de has degraded performance

In dfac30a, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1307 ms

Resolved: Bofrost.de performance has improved in a592585.


Offer the user to configure a task when the 'preLaunchTask' isn't found

When a launch config refers to a preLaunchTask that does not exist then we show this message:

We should handle this error situation more gracefully:

inform the which preLaunchTask could not be found and that task.json should be configured
offer the user to create a task.json by presenting the configure task runner command:

the default generated task template should include a task.json for .net

@isidorn as discussed I made the configure task runner action public. You can reach it via the ITaskSystem#configureAction(). Simply embed it into the message you are showing.


ES_HTTP_LOGGING appears broken

Describe the Bug
I was going to suggest in a different issue to use ES_HTTP_LOGGING=BODY in order to know if zipkin would have a problem with preexisting indices which were aliases. I tried myself first, but it didn't do anything.
Steps to Reproduce
I applied this diff
--- a/docker/examples/docker-compose-elasticsearch.yml
+++ b/docker/examples/docker-compose-elasticsearch.yml
@@ -37,8 +37,8 @@ services:
       - STORAGE_TYPE=elasticsearch
       # Point the zipkin at the storage backend
       - ES_HOSTS=elasticsearch:9200
-      # Uncomment to see requests to and from elasticsearch
-      # - ES_HTTP_LOGGING=BODY
+      - ES_HTTP_LOGGING=BODY
+      - SELF_TRACING_ENABLED=true
     depends_on:
       storage:
         condition: service_healthy

then, I did the following:
$ cd docker/examples
$ docker-compose -f docker-compose-elasticsearch.yml up

And then I kept clicking reload on http://localhost:9411/zipkin which made self-traces, but the whole time zipkin had no output.
Expected Behaviour
There should have been logs in the console. I'm not sure when this stopped working.. we should have had a test for this, but didn't. Admittedly due to the packaging difference between slim and normal server (former uses slf4j and the other log4j2), actually getting tests to work might be tricky unless using invoker. Note that the docker-compose example uses slim.

@reta got another interesting one for you 💪

ps while looking at this, it seems there is progress as we can specify a logger. this may make it testable https://github.com/line/armeria/issues/2220

@codefromthecrypt I've briefly looked into the issue and indeed,  I don't see relevant logs (like BODY) in the console. My initial suspect was mix of slf4j 1.x and slf4j 2.x but it seems to be not having an impact of logging, I will continue looking.

Closed by https://github.com/openzipkin/zipkin/pull/3714


Downstream cluster not listed in Cluster  Management page for sometime after rancher upgrade

Rancher Server Setup

Rancher version: 2.6-head commit id: 1f5852d
Installation option (Docker install/Helm Chart):

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE1

Proxy/Cert Details: Rancher generated

Information about the Cluster

Kubernetes version: 1.20.11
Cluster Type (Local/Downstream): Downstream RKE1 Custom cluster

Describe the bug
Downstream cluster not available in Cluster  Management page for sometime after rancher upgrade
To Reproduce

On 2.5.9, deploy a downstream cluster - 1 etcd+control plane, 4 worker nodes
Enable monitoring v1 on the local cluster and monitoring v2 on the downstream cluster
Run pre upgrade checks using jenkins (Deploys resources on the downstream cluster)
Upgrade rancher to 2.6-head using Helm
Custom cluster is not available in Cluster management page

It seems to be available after 2.5 minutes

Some rancher logs:

2021/09/19 23:48:42 [INFO] Stopping cluster agent for c-lb4g8
2021/09/19 23:48:42 [ERROR] failed to start cluster controllers c-lb4g8: context canceled
2021/09/19 23:48:42 [INFO] error in remotedialer server [400]: websocket: close 1006 (abnormal closure): unexpected EOF
2021/09/19 23:48:42 [INFO] Handling backend connection request [<IP_ADDRESS>]
2021/09/19 23:48:42 [INFO] Stopping cluster agent for c-lb4g8
2021/09/19 23:48:42 [ERROR] failed to start cluster controllers c-lb4g8: context canceled

Reach out for rancher logs

Ryan said he reproduced but it only had a problem for 30 seconds, so I am going to bump this from 2.6.1 as it resolves itself.

Upgraded from 2.5.11 to 2.6.3-rc1 and 2.6-head commit id: e322f8f. This issue is not seen. Will close this issue now. Will reoopen or log a new one, when this happens again.


OnSelect in Gallery is suddenly not working anymore

Hi Experts,
today we faced an issue with our App. None of the click events (Select(Parent)) in our gallery are working anymore.
No changes where made to the app and everthing was working fine the last days.
From the Console we see messages like this:
The resource https://content.powerapps.com/resource/webplayer/hashedresources/nmb39rmefkrif/openSource/modified/adal/adaljs.js was preloaded using link preload but not used within a few seconds from the window's load event.
Please make sure it has an appropriate 'as' value and it is preloaded intentionally.
The resource https://content.powerapps.com/resource/webplayer/hashedresources/pmlea83kufr8d/js/player-loader.js was preloaded using link preload but not used within a few seconds from the window's load event.
Please make sure it has an appropriate 'as' value and it is preloaded intentionally.
Can you please have a look into it?
Thanks, Ronny

@EA12 Thanks for contacting us. Unfortunately, we're unable to handle Support requests for the product here. To contact Support, visit https://powerapps.microsoft.com/support/.
You can also try posting your issue to one of the developer forums.
We accept incorrect or missing documentation and sample code issues.
Closing this issue.


Bug: providing invalid toolchain with --toolchains cleans everything

Version: 0.6.2.
I ran:
$ cargo sweep --toolchains asd

And expected cargo-sweep to report an error saying that asd not a valid/known toolchain.
Instead I got this:
[INFO] Cleaned 1.41 GiB from "/home/marcospb19/cargo-sweep/target"

And no error was reported.

Mentoring instructions: Add a check around https://github.com/holmgr/cargo-sweep//blob/a36602ffb06c2b62f35d246e22dc33b5163a69b0/src/fingerprint.rs#L400-L405 that all the toolchains in rust_version_to_keep  are in the output of rustup_toolchain_list().


Fix RedisHandler to not read the same messages

In order to do that, we need to save the id of the last message that we read and use the functionality of xrevrange to read the last message of the stream from the last id.
xrevrange documentation: https://redis-py.readthedocs.io/en/lates/index.html#redis.Redis.xrevrange

Thank you @MayoG, now that #16 is merged into the master branch you can go ahead and implement it. You can ask @sionovd for help with #16.
While at it, can you implement it for both a read_next_msg and read_most_recent_msg methods?


[usecase-cordova] Add usecase to check database when upgrade from upstream to crosswalk

Impacted tests(approved): new 1, update 0, delete 0
Unit test platform: Crosswalk Project for Android 15.44.382.0
Unit test result summary: pass 1, fail 0, block 0
https://crosswalk-project.org/jira/browse/XWALK-4349

Please link the feature ID.

LGTM


Add emacs support to env command

This is useful for setting docker client env vars within Emacs, when using docker.el for example: https://github.com/dougm/docker.el/blob/machine/docker-machine.el#L36-L50

Hey @dougm, thanks for the contribution.
Why not just eval the output for bash?  I'm not too familiar with e-lisp so bear with me.

Thanks for the quick response @nathanleclaire .  In this case, I'm running Emacs.app and docker.el within that process that shells out to the 'docker' cli.  There is no bash shell in the mix.
More info on docker.el here: https://github.com/Silex/docker.el/blob/master/README.md#screenshots

Thanks for your contribution @dougm, I have absolutely no idea how many users are using docker.el and docker-machine. I guess it's very tiny, but correct me if I'm wrong.
My concern here is that even if the code works right now, I don't really know how we can maintain it the long run without a community helping on those niche setup.
WDYT @docker/machine-maintainers ?

There isn't any code in this PR specific to docker.el, that was just an example use.  The lisp code only depends on built-in Emacs functions (setenv, etc.) that have been around for years and won't change.  Agreed the number of users would be small relative to the other shells, but it would be a nice enhancement for us.  I'd be happy to help with any future maintenance for this.  Thanks for your consideration.

@dougm My feeling is that if you're willing to bump up the test coverage in this PR (i.e. add cases for this to the other unit tests in env_test.go like the other shells have, and extended the env test in test/integration/core to include this) and are willing to commit to maintaining it, I'm willing to merge.
@jeanlaurent @dgageot Do you think this sounds agreeable?

@nathanleclaire Sure, added additional unit test and integration tests, let me know if I missed anything.  I can commit to maintaining it, happy to.  Thanks.

Nice -- LGTM

counting on you @dougm
LGTM

This is awesome. I could help out with maintaining this as well if you need help.


Benchmarking infrastructure ideas

This issue is intended for discussion on what types of infrastructure we should add, to go about benchmarking the constraint generation frameworks performance. I have some initial ideas below:

We add a new "constraints-benchmark" crate somewhere, which will include constraint generators for some sizable circuits of interest.
We augment the reporting tools on constraint system to report the number of symbolic LC's, and their average density. If possible, would be nice to display these under namespaces.
We make scripts for generating the benchmark binaries, and profiling them with tools like perf, massif, etc. I know we can convert perf's output to flamegraphs, and massif has massif-visualizer. Not sure if we can make any of the above output graphviz svg's like pprof in golang. (I've seen some blog posts claiming to do this with perf, but it didn't work for me last time I tried it)

Some remaining questions are

can we keep track of constraint count / constraint density regressions in an automated way?
What circuits should we be profiling on? The recursive circuits immediately come to mind, since thats what many of us are working on.
Where should the constraints-benchmark crate be? I currently think it ought to be its own repo

Thoughts on any of the above / alternate ideas?

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

We augment the reporting tools on constraint system to report the number of symbolic LC's, and their average density. If possible, would be nice to display these under namespaces.

Agreed, these would be quite useful. I think having a general tool to profile constraints would be nice too.

We make scripts for generating the benchmark binaries, and profiling them with tools like perf, massif, etc. I know we can convert perf's output to flamegraphs, and massif has massif-visualizer.

This probably belongs in its own repo, as these tools are probably helpful in benchmarking other components too.

Not sure if we can make any of the above output graphviz svg's like pprof in golang. (I've seen some blog posts claiming to do this with perf, but it didn't work for me last time I tried it)

Does this work?

can we keep track of constraint count / constraint density regressions in an automated way?

Probably something like this should help?

What circuits should we be profiling on? The recursive circuits immediately come to mind, since thats what many of us are working on.

I think we should have a benchmark suite of useful constraint systems, including recursive constraints, hash functions, group/field operations, etc.

We augment the reporting tools on constraint system to report the number of symbolic LC's, and their average density. If possible, would be nice to display these under namespaces.

Agreed, these would be quite useful. I think having a general tool to profile constraints would be nice too.

We make scripts for generating the benchmark binaries, and profiling them with tools like perf, massif, etc. I know we can convert perf's output to flamegraphs, and massif has massif-visualizer.

This probably belongs in its own repo, as these tools are probably helpful in benchmarking other components too.

Not sure if we can make any of the above output graphviz svg's like pprof in golang. (I've seen some blog posts claiming to do this with perf, but it didn't work for me last time I tried it)

Does this work?

can we keep track of constraint count / constraint density regressions in an automated way?

Probably something like this should help?

What circuits should we be profiling on? The recursive circuits immediately come to mind, since thats what many of us are working on.

I think we should have a benchmark suite of useful constraint systems, including recursive constraints, hash functions, group/field operations, etc.

I've used the flame graph and gotten it to work. In golang theres a tool called pprof which is amazing and I vastly prefer. e.g. here is a graph of output you can get: https://user-images.githubusercontent.com/1709417/55467675-155f4800-5602-11e9-9c69-5b5f98a443a8.png, telling you what percent of the time is spent executing a given function, and what percent is spent executing functions that it calls. (You can also get it to show you the line by line ASM with some extra flags) The flame graph makes getting a sense of that much harder imo.

Probably something like this should help?

It'd be nice if we could get the expected result from another source, or maybe a file in the repo, which we have a bot to maintain

I've used the flame graph and gotten it to work. In golang theres a tool called pprof which is amazing and I vastly prefer. e.g. here is a graph of output you can get: https://user-images.githubusercontent.com/1709417/55467675-155f4800-5602-11e9-9c69-5b5f98a443a8.png, telling you what percent of the time is spent executing a given function, and what percent is spent executing functions that it calls. (You can also get it to show you the line by line ASM with some extra flags) The flame graph makes getting a sense of that much harder imo.

Probably something like this should help?

It'd be nice if we could get the expected result from another source, or maybe a file in the repo, which we have a bot to maintain

I've used that flame graph package and gotten it to work before. In golang theres a tool called pprof which is amazing though and I vastly prefer. e.g. here is a graph of output you can get: user-images.githubusercontent.com/1709417/55467675-155f4800-5602-11e9-9c69-5b5f98a443a8.png, telling you what percent of the time is spent executing a given function, and what percent is spent executing functions that it calls. (You can also get it to show you the line by line ASM with some extra flags) The flame graph makes getting a sense of that much harder imo.

I agree that that visualization is much better; maybe this tool should help? https://pingcap.medium.com/quickly-find-rust-program-bottlenecks-online-using-a-go-tool-37be0546aa8f

It'd be nice if we could get the expected result from another source, or maybe a file in the repo, which we have a bot to maintain

That library does have the expect_file macro, which allows reading the values from a file. The rust compiler also has this kind of infrastructure, for testing regression in error messages. We could look there if we need more powerful tools than expect_file. There's also this more powerful library: https://insta.rs/

I've used that flame graph package and gotten it to work before. In golang theres a tool called pprof which is amazing though and I vastly prefer. e.g. here is a graph of output you can get: user-images.githubusercontent.com/1709417/55467675-155f4800-5602-11e9-9c69-5b5f98a443a8.png, telling you what percent of the time is spent executing a given function, and what percent is spent executing functions that it calls. (You can also get it to show you the line by line ASM with some extra flags) The flame graph makes getting a sense of that much harder imo.

I agree that that visualization is much better; maybe this tool should help? https://pingcap.medium.com/quickly-find-rust-program-bottlenecks-online-using-a-go-tool-37be0546aa8f

It'd be nice if we could get the expected result from another source, or maybe a file in the repo, which we have a bot to maintain

That library does have the expect_file macro, which allows reading the values from a file. The rust compiler also has this kind of infrastructure, for testing regression in error messages. We could look there if we need more powerful tools than expect_file. There's also this more powerful library: https://insta.rs/


Bump version to 1.3.16

Description
Bump version to 1.3.16
Issues Resolved
https://github.com/opensearch-project/opensearch-build/issues/4531
Check List

[ ] 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.

Closed this PR in favor of https://github.com/opensearch-project/opensearch-dashboards-functional-test/pull/1216


Get/Remove-BlockedSenderAddress

There are no pages for the Get/Remove-BlockedSenderAddress that provide details about cmdlets. There are pages for other cmdlets that outline the parameters and limitations.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4c17e50d-aa8f-bd30-66af-ef4d63f02402
Version Independent ID: 92cbda3f-c3a9-ed20-2038-7e966f491934
Content: Removing a user from the Restricted Users portal after sending spam email - Office 365
Content Source: microsoft-365/security/office-365-security/removing-user-from-restricted-users-portal-after-spam.md
Service: o365-seccomp
GitHub Login: @MSFTTracyP
Microsoft Alias: tracyp

@kellybos Thank you for your feedback. We have added the reference to the cmdlets in the below section
https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/removing-user-from-restricted-users-portal-after-spam?view=o365-worldwide#use-exchange-online-powershell-to-view-and-remove-users-from-the-restricted-users-list
Remove-BlockedSenderAddress - https://docs.microsoft.com/powershell/module/exchange/antispam-antimalware/remove-blockedsenderaddress
Get--BlockedSenderAddres - https://docs.microsoft.com/powershell/module/exchange/antispam-antimalware/get-blockedsenderaddress
Hope this helps!
Thanks
Sri

Topic was updated.
Closing


Fix modsecurity-regression-test-secremoterules.txt URL in example

what

Fix modsecurity-regression-test-secremoterules.txt URL in example

why

The old link https://www.modsecurity.org/modsecurity-regression-test-secremoterules.txt returns 404 Not Found error.

references

The URL is changed to the same one in https://github.com/owasp-modsecurity/ModSecurity/commit/62ec4edc4258971deec677b4f5e6bda188d27f26

Hi, I added the referenced files and change the code and configs to use them.

Hi @hnakamur,
thanks for this PR, that's a good catch.
Unfortunately some regression tests were failed, see this or this one.
I think you should split up this PR into two parts. First just send the files that you want to access remotely. After we merged those you can add the rest.
Also please note that there was a discussion on Slack about future of ModSecurity, where it was suggested that some functions should be eliminated, eg. SecRemoteRules.

Thanks for your comment.
I sent another pull request Add regression rules for test by hnakamur · Pull Request #3291 · owasp-modsecurity/ModSecurity to add needed files.
I will rebase this pull request when #3291 is merged.

@hnakamur,
thanks for all!

@airween Hi, I rebased the branch for rhis pull request - thanks!

@hnakamur - thanks, awesome!


JSON server example

Would it be nice to have example for server responding with json? I think it's common use case (especially useful when API frequently change)
It can be like this: (what I came up with)

use futures::{future, Future};

use hyper::{self, Method, StatusCode, Request, Response, Body, Server};
use hyper::service::service_fn;
use serde_json;

use std::thread;

fn stats_server(req: Request<Body>) -> Box<Future<Item=Response<Body>, Error=hyper::Error> + Send> {
    match (req.method(), req.uri().path()) {
        (&Method::GET, "/") => {

            // response content
            let data = vec!("foo", "bar");
            let json = serde_json::to_string_pretty(&data).unwrap();

            Box::new(future::ok(
                Response::builder()
                    .header("Content-Type", "application/json") // ContentType::json() not there anymore
                    .body(Body::from(json))
                    .unwrap()
            ))
        },
        _ => {
            Box::new(future::ok(
                Response::builder()
                    .status(StatusCode::NOT_FOUND)
                    .body(Body::empty())
                    .unwrap()
            ))
        }
    }
}

pub fn start_stats_server() {
    thread::spawn(move || {
        let addr = "<IP_ADDRESS>:9000".parse().unwrap();

        let server = Server::bind(&addr)
            .serve(|| service_fn(stats_server))
            .map_err(|e| eprintln!("server error: {}", e));

        hyper::rt::run(server);
    });
}

Perhaps this could be added to the web_api example that already exists? That probably could use some cleanup, and some comments explaining what each part does... But it otherwise seems like a good fit for this.

I'll open a pr for this

Awesome 👏


Chapter 8: "force-dynamic" behaving inconsistently

With chapter 8 completed and the addition of loading.tsx to my app/dashboard directory, as well as the addition of export const dynamic = "force-dynamic"; to my app/dashboard/page.tsx file, when I try navigating between pages, the dashboard page shows the loading.tsx component the FIRST time, then afterwards loads instantly, even though I have the 1 second timeout in my fetchRevenue() function within app/lib/data.ts.
After leaving the tab alone for a short period of time, it starts working as expected, where whenever I navigate to /dashboard, it takes 1 second to load while waiting for the timeout within the fetchRevenue() function.
This is frustrating for someone who is trying to understand Nextjs - is there a way to prevent this one time behavior from occuring?
Reproduction:

Stop the dev server, clear localhost cookies + browser cache, then restart the dev server
The first /dashboard page load will take build time + the timeout within the fetch function
All immediate subsequent navigations back to the dashboard page will NOT be dynamically rendered, and the fetchRevenue() function is never called
Wait a small period of time (30 seconds) without navigation, and the dashboard page will load dynamically every time

Hey @jpaveg,
This describes the behavior of the client-side router cache, Next.js caches the dynamic routes for 30 seconds in your browser to prevent unnecessary calls to the server. On the initial visit, the page will take time to load as the data is fetched, on subsequent navigation (and within the 30-second window), navigation to the new page will be immediate as it reuses the router cache.
You can clear the client cache by refreshing the page or using revalidatePath.
This will become clearer in chapter 9, when adding Suspense, as you'll be able to visually see the loading skeletons on initial navigation. But not on subsequent navigation. You can also see it here, in the final demo: https://next-learn-dashboard.vercel.sh/dashboard

Navigate to dashboard (initial visit with loading skeletons).
Visit invoices or customers
Visit dashboard again (subsequent visit, no loading skeletons).

Although the page may seem static because of the client cache. A simple way you can check the page is still dynamic is by adding {Date.now()} to your page and building your application locally. You should see a new date whenever you refresh, whereas a static page would not update after refreshing.


Add rules files to ensure reads are authenticated

@lukechurch  Thanks alot for this. I understand firebase authentication better now.


How to install openCV on Maix-II

Hello I would like to use openCV for testing some Haar Classifiers and for extracting some frames of a video for analyze them. I tried to install opencv with PIP but it gaves me the following error: ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device
Then I install it using opkg and it's installed. However, when I tried to import it througs an error. Is there a chance to use Open-CV on this board?

MAIXII currently has OpenCV without Python-OpenCV

Why can't it be used with Python? It means I can only using with C++?

It's not there yet

I think in general it would be good to have instructions on how to expand the OS disk on the SD card. It's annoying to have 90% free on a 16Gb card, but be out of space due to the partition layout.

I made a builder for opencv-python for Maix-II Dock
You can download binary package from here:
https://github.com/irfan798/maix3_opencv_python/releases/tag/cv-<IP_ADDRESS>_numpy-1.19.2
I'm not sure if its 100% optimized though


Schema version table creation fails with H2 in Oracle mode

Which version and edition of Flyway are you using?
6.0.0-beta2
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Java API
Which database are you using (type & version)?
H2 1.4.197 in Oracle mode
Which operating system are you using?
Arch Linux
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
I am using flyway with an H2 database in Oracle mode. My JDBC url is jdbc:h2:mem:default;DB_CLOSE_DELAY=-1;MODE=Oracle.
Creating the schema version table fails with the following error:
Migration  failed
-----------------
SQL State  : 23502
Error Code : 23502
Message    : NULL not allowed for column "script"; SQL statement:
CREATE TABLE IF NOT EXISTS "PUBLIC"."KDO_SCHEMA_VERSION" (
    "installed_rank" INT NOT NULL,
    "version" VARCHAR(50),
    "description" VARCHAR(200) NOT NULL,
    "type" VARCHAR(20) NOT NULL,
    "script" VARCHAR(1000) NOT NULL,
    "checksum" INT,
    "installed_by" VARCHAR(100) NOT NULL,
    "installed_on" TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    "execution_time" INT NOT NULL,
    "success" BOOLEAN NOT NULL,
    CONSTRAINT "KDO_SCHEMA_VERSION_pk" PRIMARY KEY ("installed_rank")
) AS SELECT -1, NULL, '<< Flyway Schema History table created >>', 'TABLE', '', NULL, '', CURRENT_TIMESTAMP, 0, TRUE [23502-197]

In the case of an H2 database a special table created marker is inserted because H2 cannot lock empty tables. In the insert statement (well, actually in the AS SELECT ... part) an empty string is inserted into the script column. The same applies to the installed_by by the way. Oracle's behavior is to replace empty strings with NULL and this is what H2 also does in Oracle mode, meaning that a NULL is inserted into the script column which is not allowed to be NULL.
Running flyway against a real Oracle database does work because this script won't be used there. The above script is generated in org.flywaydb.core.internal.database.h2.H2Database#getRawCreateScript and with a real Oracle database the script generated in org.flywaydb.core.internal.database.oracle.OracleDatabase#getRawCreateScript would be used instead.
What did you expect to see?
That my migrations are executed.
What did you see instead?
The above error during initialization of flyway.

A somewhat similar issue was raised for the installed_by column, for which a workaround exists: https://github.com/flyway/flyway/issues/1794
Unfortunately I haven't figured out a workaround for this issue yet.

6.0.2 will substitute a dummy script placeholder in the case where an empty string would not work.


Add missing event notification options

Allow to pass all event notification options present on api docs
https://developers.docusign.com/esign-rest-api/reference/Envelopes/Envelopes/create

It would be great if this could get merged in the next release.


Add UDP service back in alpha1

Hi there,
Seeing that my previous pull request is not likely to get merged because of the big refactoring going on, here's a PR to add UDP support back (not sure why it was removed) in alpha1. I hope this will be helpful, and I'm looking forward to the next release ! (got rc31 running in production and still seeing some issues as well as feeling the lack of CQs).
Keep up the good work,
Renan.

@renan- Thanks for the work.  The reason we removed it was we are not going to support json on this endpoint.  We are only going to support the new line protocol here likely.  I'll get @pauldix to confirm though to be sure.  Regardless, I imagine at the very least we would do something similar to the http endpoint and detect json vs. line protocol to support both.

Yeah, I'd prefer to have UDP support only the line protocol. Which would mean it would need configuration options like the Graphite and CollectD input plugins. Set which database and retention policy you're writing into.
See #2696 for discussion on the merits of line protocol over JSON.

Thanks for the quick answers guys ! I desperately need UDP support for my use case (to avoid any latency when writing data) so would you be interested in another PR supporting line protocol instead of JSON ?

@renan- that would be great, we'd gladly take it. Going to cut RC32 tomorrow so if you can get it in time, it'll be included! Thanks again for helping out!

@renan- oh, another thing to look at is to have it use the batcher that graphite and collectd now use.

Thanks for the tip, starting to work on it.

Updated the code, now waiting for your feedback.

@renan- Thanks for the hard work!  Certainly headed in the correct direction.  Please let me know if you have any questions.  I know not all of our services are in perfect shape yet either, but feel free to look at collectd to get an idea of some of the patterns we are currently using (I reference some as well in my comments).

@corylanou You're welcome! I updated the PR once again based on your comments. I still wonder if the retention policy should be in config or always set to the default one. One more thing: what about ConsistencyLevel value when creating a WritePointsRequest ?

@renan- Awesome!  Thanks for all the work.  Very much appreciated!  Had one last minor comment.  Looks like something changed that is preventing a merge so you'll have to rebase quick to make this mergeable.
For now let the default RP be used.  It can be a feature we add in the future to specify an RP.  If we do, all endpoints should likely support it as well.
Same with consistency level.  feels like that should be a config option as well, but I'm fine with this PR not addressing it. Can be an easy feature to add.
Thanks again for the quick turn around.  Hopefully we'll get this merged for tomorrow's RC.


Confirm that the swift comments added for router, sys, etc. follow the convention required by SwiftDoc

Info on SwiftDoc here: swiftdoc.org

I can confirm that inside of our .swiftdoc files (KituraRouter.swiftdoc) allow of our documentation exists. However, it appears that the standards regarding documentation generation are still non-standard. See proposal. I have not been able to find the standards set by http://www.swiftdoc.org

@rfdickerson Is there a tool available today (like the javadocs tool) that could be used to test the documentation comments you added to the code? If there isn't and there is no standard yet, then maybe we should defer issue #119.

Should I try this tool?
https://github.com/SwiftDocOrg/swiftdoc-parser

There's a good chance that the swiftdoc-parser doesn't work on Swift.org projects that have C-modules. For instance, when I run the index.js file on our code:
➜  Kitura git:(master) ✗ ~/mil/swiftdoc-parser/index.js ~/mil/KituraProject/Kitura/Sources/KituraSample/main.swift

module.js:340
    throw err;
          ^
Error: Cannot find module '../build/Release/pcre'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/rfdickerson/mil/swiftdoc-parser/node_modules/pcre/lib/pcre.js:1:74)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

Is there supposed to be a directory called ./.build/Release/pcre ? I tried to compile using 'swift build -configuration=release. Yes, it builds to ./build/release, but doesn't fix the above issue.

I filed an issue against their parser:
Support for Swift Package Manager supported project with C ModuleMaps #7

@rfdickerson, the swiftdoc.org project is intended solely to parse and present documentation for the Swift standard library in a more usable format, not for general purpose documentation. I'd suggest you take a look at Jazzy, which does seek to create usable docsets from documentation comments in a project's source.
Hope that helps!

For more information, Apple has official documentation on how documentation comments can/should be written, others (including me) have written on the subject as well.

@rfdickerson have you looked at the official documentation above?

@billabt any reason why we are using for codeblocks above function definitions:
///
/// This is a comment
///
vs.
/**
This is a comment
*/
I checked and both work, but not sure which is "better". The documentation for code blocks on Apple's site uses the later. Thoughts?

No good reason other than personal preference. Three /'s is easier to type and in my personal opinion looks better. Finally, the triple is for one line only, whereas the /** needs to be closed with a */ which could have unintended consequences. Also, by the way, two /'s is a comment, three /'s is a documentation block. The two / variety is internal only.

@rfdickerson Are you planning on making any changes to this or is it ok to close it?

Let's close this issue for now. We can always open another issue if we want the /** syntax. I'm still not sure what is best, it's mostly aesthetic anyhow...


Multiple Projects require Module class if they reference eachother.

Release Type:  official
Version: <IP_ADDRESS>2
Platform(s): Windows
Describe the bug
When you hae a multiproject structure and the projects reference eachother, they wont show components in the GameStudio.
To Reproduce
Steps to reproduce the behavior:

create base project
add another project through VS
add a StatupScript to the external project
Now you should see the Script in GameStudio after a restart
create a reference between the external project and the main
after retarting GameStudio you will not see the components in that external project anymore

Expected behavior
The components should still show in the drop down since it will be very likely the references will exist.
Additional context
There is a work around, in each of the external projects you can add a Module class and the components should show up normally.
Repro: https://github.com/Doprez/MultiProjectIssue/tree/main

https://github.com/stride3d/stride/commit/26c36962fbd02868369a89da1c893278f4f14f88
Should be related to the commit above once this gets looked into.

26c3696
Should be related to the commit above once this gets looked into.

or atleast in that area

Module shouldn't be required. But you should need to reference the asset compiler package, which I think was always the case.

the sdpkg file is ( should ) only be needed  when you have assets in your sub project

Also it's unclear which project references which one in your case, as two projects cannot each reference each other. That's not allowed in .NET.

My mistake, the amount of projects dont matter in this case I was just testing 2 scenarios.

if the project exists in the solution but doesnt reference the main project then components show up in editor
if the project exists in the solution but does reference the main project then components do not show up in editor

I think I may have messed up my repro if the project does not show those 2 scenarios and I will fix it when I can.
I will also see if the same issue applies if the Asset Compiler is referenced, I did not try with that.
for more context, there was a discussion Joreyk, Vaso and I had in Discrod here

the problem is in the projectwatcher afaik
1. change the Class2
2. projectwatcher sends a broadcast with the change list of OddBehaviour ( only that project )
3. triggers reload screen
4. projectwatcher sends broadcasts with the changes oddbehaviour.test2.dll
5. dll changes arent included in the reload :(


Docker example?

Would it be possible for you to show a docker example of this running?

a docker compose file is available now.
https://github.com/scil/LaravelFly#docker

👍


Issue getting started from the docs

I have been following the instructions here: https://docs.fabulous.dev/maui/get-started#install-the-templates
I get stuck here:
$ dotnet build -f net7.0-ios -t run

MSBuild version 17.7.3+4fca21998 for .NET
MSBUILD : error MSB1004: Specify the name of the target.
    Full command line: '/usr/local/share/dotnet/sdk/7.0.403/MSBuild.dll -maxcpucount -verbosity:m -target:Restore -t run -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,/usr/local/share/dotnet/sdk/7.0.403/dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,/usr/local/share/dotnet/sdk/7.0.403/dotnet.dll'
  Switches appended by response files:
Switch: -t

For switch syntax, type "MSBuild -help"

Context:
$ dotnet --version
7.0.403

Ah, seems like it should be this:
dotnet build -t:Run -f net7.0-ios

Thanks for the report! I updated the documentation :)


[Event Request] JnlManagements

Hello,
I need events:
codeunit 230 GenJnlManagement
procedure OpenJnl(var CurrentJnlBatchName: Code[10]; var GenJnlLine: Record "Gen. Journal Line")
begin
//new event request, CurrentJnlBatchName must be var
> OnBeforeOpenJnl(var CurrentJnlBatchName: Code[10]; var GenJnlLine: Record "Gen. Journal Line");
codeunit 240 ItemJnlManagement
procedure OpenJnl(var CurrentJnlBatchName: Code[10]; var ItemJnlLine: Record "Item Journal Line")
begin
//new event request, CurrentJnlBatchName must be var
> OnBeforeOpenJnl(var CurrentJnlBatchName: Code[10]; var GenJnlLine: Record "Gen. Journal Line");
similar already exists at OpenJnl in codeunit 330 ReqJnlManagement

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Add new AWS regions

There are 18 total regions specified here: https://aws.amazon.com/about-aws/global-infrastructure/ .  We're missing a few, as https://github.com/rusoto/rusoto/blob/master/rusoto/core/src/region.rs only has 14 regions (excluding the Custom region).
We should add all the missing regions to the above region.rs file. 👍

@matthewkmayer i'll take a stab at this to get my feet wet with Rust.

Merged in https://github.com/rusoto/rusoto/pull/900 . 👍


First cut of Orchestration Stacks UI screens.

Added support to show list view of Stacks
Added support to show summary screen of a Stack. Added relationships from stack summary screen, some of them are not linked yet(WIP)
Added ability to delete and tag Stacks.
Added a link to Stacks from Cloud Provider summary screen.

#1220
@dclarizio please review/test.

@h-kataria Can we get screenshots?

@Fryguy sure, i will get them.

List of Stacks:

Stack summary screen:

Provider Summary screen linking back to list of it's Stacks:


dataset tokenization script

similar to #3 I imagine this will import some utils from llama2.c and build around them
the short script itself should be in scripts/
waiting for @woog97 to confirm what should we do with BOS/EOS
I would like it to pull our v2 text dataset from HF, instead of building it on the fly

reduces chance of errors

either save to file or upload to hf (depending on cli args)

Checked with eleuther. We should train with BOS to start every sample. In practice this would look like:
<BOS>tinystory1<EOS>tinystory2<EOS>tiny
<BOS>story3<EOS>tinystory4<EOS>tinystor
<BOS>y5<EOS>tinystory6<EOS>...```

duplicate, taken care of in #31


Replace split with explicit token segments count

This is cherry-pick of https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/pull/1645 to branch brentsch/SystemTextJson.

@brentschmaltz I have created this PR to ease you pulling https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/pull/1645 into the branch you are working on.

@lechu445 thanks for rebasing against the topic branch.
I will include these changes into that PR.
I will add you as a reviewer if you don't mind.

@brentschmaltz  Sure, thank you.

/Azp run

@brentschmaltz I have rebased this PR changes on the newest brentsch/SystemTextJson

when this will be merged? will this cover ? https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/1805

@risogolo

when this will be merged?

I think this is a question to @brentschmaltz.

will this cover ? https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/1805

No, this PR does not include any functional changes to make it easier to merge. This is just refactoring that focuses on performance improvement. The issue that you mentioned is a separate issue and the best approach is to create a separate PR with the fix.

We are moving away from splitting in general and will have the work using System.Text.Json completed by end of April.
This is a major rewrite, using SPAN, keeping octets in memory.
In the new model, as we are counting the dots, we are recording the spans we need to perform cryptographic operations.
So unfortunately, this PR doesn't quite fit.


Duplication glitch with Anti-Builders from Artifacts when paired with Practicalities Matter Transposer

I'm reporting this dupe bug from a Modsauce 2 multiplayer server; modpack provided through ATLauncher. When using the Matter Transporter item from the Practicalities mod in the range of an anti-builder typically found in the ruined towers, the block picked up by the matter transporter is immediately replaced, and the transporter retains a copy of the block, which can then be placed down; effectively replicating the block.
I will also be posting this issue on Practicalities side.

I'm not sure anything can be done on this end to prevent this from happening.


Med js

Pull Request Type
What kind of change does this PR introduce?
[ ] Solved an issue/task
[ ] Bugfix
[Yes ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:
What is the current behavior?

Countdown timer from 10 secs to 0 secs. Basic styling and no changes in HTML and CSS code.
Issue Number: [Insert Issue Number (if applicable)]
What is the new behavior?

Other information

Apologies for sending multiple pull requests for the same issue; I couldn't understand why Git pushed tailwind.css files along with the script.js file( I'm new to using Git). I didn't work on them and only wanted to push the Medium JS task I worked on. I was confused, pushed the code multiple times, and created multiple PRs. Could you please look into my code and accept the PR?

Apologies for sending multiple pull requests for the same issue; I couldn't understand why Git pushed tailwind.css files along with the script.js file( I'm new to using Git). I didn't work on them and only wanted to push the Medium JS task I worked on. I was confused, pushed the code multiple times, and created multiple PRs. Could you please look into my code and accept the PR?

Hi! No problem, the script.js code looks good, so im going to merge this. When you do the 'git add', you should only add the files that you changed, so the 'git add script.js' in this case. If you use something like 'git add .' it can add other files too, like package.json which is not needed. If you make new brach for every task you do and only add the files you changed to the commit, it should work fine.

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Support Hessian-free optimization

To support Hessian-free optimization, maybe we need to implement additional methods for each Function.

Chainer supports double-backprop from v3.

I tried to implement it https://github.com/unnonouno/chainer/blob/hessia-free/chainer/optimizers/hessian_free.py But its convergence is slow (bug?)

bump


Exception when removing waypoint from LiveMap

If you open a waypoint from LiveMap (NB2102) and then press remove, then you
get the following exeption:
java.lang.IllegalArgumentException: geocode must not be empty
at cgeo.geocaching.CacheCache.removeCacheFromCache(CacheCache.java:42)
at cgeo.geocaching.cgData.removeCaches(cgData.java:3027)
at cgeo.geocaching.cgData.removeCache(cgData.java:3009)
at cgeo.geocaching.cgeoapplication.removeCache(cgeoapplication.java:536)
at cgeo.geocaching.cgeowaypoint$deleteWaypointListener.onClick(cgeowaypoint.java:316)

Fixed with mentioned commit. Remaining issue (no map refresh) tracked in #1156


Add active(working) extensions counter

Extensions component have a counter showing overall number of installed extensions:

I have a bunch of them disabled and I'd like to see how many of installed extensions are active (not disabled):

I see your requirement.. but not sure if I like the idea of showing x out of y. It is not clear what does that mean. I would not bother about the number of disabled extensions and will make my experience not good by showing this number. We already have a filter/command to show disabled extensions.


chore: bdd-spring-1584383523 to 0.0.1

chore: Promote bdd-spring-1584383523 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Profiles broke in recent VSCode WSL

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.96.0 and earlier
OS Version: Windows_NT x64 10.0.22635

In recent VSCode versions, profiles no longer work correctly when connected to WSL.

Primary Side Panel does not save which view tab is currently open (can’t quite reproduce)
Steps to Reproduce:

Connect VSCode to WSL
Use profile editor UI to copy the Default profile

❎ the Editor cannot save

/gifPlease

https://github.com/user-attachments/assets/8b4fd96f-6370-4dad-a51a-b0e51846b7cd

Can you please share the following logs while you reproduce the issue

F1 > Open View... > Window
F1 > Open View... > Server

F1 > Open View... > Window

2024-12-19 17:57:42.863 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'attributableCoverage' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2024-12-19 17:57:42.863 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.python' wants API proposal 'contribIssueReporter' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2024-12-19 17:57:42.863 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.debugpy' wants API proposal 'contribIssueReporter' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2024-12-19 17:57:43.229 [info] Started local extension host with pid 13188.
2024-12-19 17:57:43.429 [info] Invoking resolveAuthority(wsl)...
2024-12-19 17:57:43.430 [info] [LocalProcess0][resolveAuthority(wsl,1)][0ms] obtaining proxy...
2024-12-19 17:57:43.593 [warning] Warning: 'workbench.startupEditor: readme' setting ignored due to being set somewhere other than user or default settings (user=readme, default=welcomePage)
2024-12-19 17:57:43.836 [error] Extension 'ms-vscode.cpptools' wants API proposal 'lmTools' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2024-12-19 17:57:43.865 [info] [LocalProcess0][resolveAuthority(wsl,1)][436ms] invoking...
2024-12-19 17:57:44.876 [info] [LocalProcess0][resolveAuthority(wsl,1)][1436ms] waiting...
2024-12-19 17:57:44.955 [info] [LocalProcess0][resolveAuthority(wsl,1)][1526ms] returned WebSocket(<IP_ADDRESS>:54650)
2024-12-19 17:57:44.956 [info] resolveAuthority(wsl) returned 'WebSocket(<IP_ADDRESS>:54650)' after 1527 ms
2024-12-19 17:57:45.037 [info] Creating a socket (renderer-Management-f911c4a3-99ca-42a9-a70e-872c4175eb9a)...
2024-12-19 17:57:45.041 [info] Creating a socket (renderer-ExtensionHost-23b824af-12de-427c-b4e9-0f7a9d10d5af)...
2024-12-19 17:57:45.202 [info] Creating a socket (renderer-Management-f911c4a3-99ca-42a9-a70e-872c4175eb9a) was successful after 164 ms.
2024-12-19 17:57:45.401 [info] Creating a socket (renderer-ExtensionHost-23b824af-12de-427c-b4e9-0f7a9d10d5af) was successful after 361 ms.
2024-12-19 17:57:45.796 [error] Extension 'ms-vscode.cpptools' wants API proposal 'lmTools' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2024-12-19 17:57:46.550 [info] Settings Sync: Token updated for the account ParadoxV5
2024-12-19 17:57:46.567 [info] Settings Sync: Account status changed from uninitialized to available
2024-12-19 17:57:46.846 [info] [perf] Render performance baseline is 31ms
2024-12-19 17:57:56.946 [info] Importing Profile (Default): No tasks to apply...
2024-12-19 17:59:14.049 [info] Importing Profile (Default): No tasks to apply...

F1 > Open View... > Server

2024-12-19 17:57:44.917 [info]

2024-12-19 17:57:44.928 [info] Extension host agent started.
2024-12-19 17:57:45.237 [info] [<IP_ADDRESS>][f911c4a3][ManagementConnection] New connection established.
2024-12-19 17:57:45.483 [info] [<IP_ADDRESS>][23b824af][ExtensionHostConnection] New connection established.
2024-12-19 17:57:45.500 [info] [<IP_ADDRESS>][23b824af][ExtensionHostConnection] <163> Launched Extension Host Process.


fix

@LidarAb - No pull requests will be accepted into the general course GitHub. I suspect you have not set your remote origin/upstream correctly


Changed module export for samples to export default

Pre-Monaco-Editor upgrade for code editing and running. Code editor requires the modules that will be run to be default exports. All samples are now exported as defaults.

Seems like you've made one class from each sample to be 'export default'.  Why that particular class?  What's the actual requirement here?
I'm asking because we are considering to reorganize all the view related samples to split the 'App' class from the 'UI' class.  When that's done, will we need to have two 'export default' classes?
The other reason I'm asking is because I was told that imodel.js in general tends to avoid export default.  So it'd be better if we didn't do it in the sample code.
See this PR for WIP reorg: https://github.com/imodeljs/frontend-sample-showcase/pull/36

Seems like you've made one class from each sample to be 'export default'.  Why that particular class?

The particular class was chosen as it’s the component that is returned by the setup method of the sample spec (I.e. the “ViewportOnlyUI” component is returned from the setup method of the getViewportOnlyUI sampleSpec)

What's the actual requirement here?

When lazy loading react components, there isn’t a way to load the component as a named import just yet, it has to imported as default. This is necessary for running the code as after the component is transpiled and bundled, it is mounted to the dom by lazy loading in react. The only other method we could consider (but I personally oppose as it will make things messy) is to make an intermediate class that exports the named import as default.

I'm asking because we are considering to reorganize all the view related samples to split the 'App' class from the 'UI' class.  When that's done, will we need to have two 'export default' classes?

We will only need the component that is returned by the setup method to be exported as default. I don’t think the split should be affected as we can load the “App” class as a module, like we do the ReloadableViewport component

So after the refactor, it will always be in the UI file.  I suppose that's not too bad since the App file is really the main one.


lightning (sst_importer client) integration tests fail after merge #15013

https://github.com/pingcap/tidb/issues/47701
Bug Report

What version of TiKV are you using?

What operating system and CPU are you using?

Steps to reproduce

What did you expect?
What did happened?

/severity critical
/affects release-7.5

/label affects-7.5

/remove-label may-affects-5.3 may-affects-5.4 may-affects-6.1 may-affects-6.5 may-affects-7.1

/remove-label may-affects-5.3

/remove-label may-affects-5.4

/remove-label may-affects-6.1

/remove-label may-affects-6.5

/remove-label may-affects-7.1


Make minor tweaks to improve experience

Sets line numbers in basic.vim
Silences go plugin warning message that occurs when opening vim.

Wondering why you are changing the link to this repo, in this vimrc to link to your fork?
git clone --depth=1 https://github.com/cstavitsky/vimrc.git ~/.vim_runtime

@alphaCTzo7G, whoops, did not mean to update the links in this PR. Sorry about that. Removed that commit and left the earlier one that sets line numbers and silences the Go plugin warning.

These are things that should go into my_configs.vim 👍