Using universal router from wagmi

I apologize in advance, if this is the wrong place to ask for this kind of question.

I am experimenting with universal router API, trying to call it using wagmi's usePrepareContractWrite and running into some cryptic errors as the result: Error: cannot estimate gas; transaction may fail or may require manual gas limit (reason: execution reverted). I am using the following approach:
import { BigNumber, utils } from "ethers";
import { usePrepareContractWrite } from "wagmi";

const { config } = usePrepareContractWrite({
    address: UNIVERSAL_ROUTER_ADDRESS,
    abi: UNIVERSAL_ROUTER_ABI,
    functionName: "execute(bytes,bytes[])",
    args: [
      "0x08", // CommandType.V2_SWAP_EXACT_IN,
      [
        utils.solidityPack(
          ["address", "uint256", "uint256", "address[]", "bool"],
          [
            account,
            BigNumber.from("0x5af3107a4000"),
            BigNumber.from("0x03c022"),
            [
              // ETH -> USDC
              "0x4200000000000000000000000000000000000006",
              "0x7f5c764cbc14f9669b88837ca1490cca17c31607",
            ],
            SOURCE_MSG_SENDER, // <- true
          ]
        ),
      ],
    ],
  });

i've used bit and pieces from the code in this repo as inspiration but i am stuck right now. Could anyone point me in the right direction on this one please

hi! would you be able to share more details:

can you send us the calldata that this contract write generates? it should appear in the error message that goes along with the "cannot estimate gas"
which chain id is this on? i'm guessing this is optimism weth?
has weth been approved on permit2 already? if not, the call is most likely failing due to insufficient allowance on weth <-> permit2

here's the call data:
0x24856bc30000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000010800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000095b939c9a753b5429e086bc81d3b3cd1609938bded00000000000000000000000000000000000000000000000000005af3107a4000000000000000000000000000000000000000000000000000000000000003c02200000000000000000000000042000000000000000000000000000000000000060000000000000000000000007f5c764cbc14f9669b88837ca1490cca17c31607010000000000000000000000

which chain id is this on? i'm guessing this is optimism weth?

correct

has weth been approved on permit2 already? if not, the call is most likely failing due to insufficient allowance on weth <-> permit2

i will need to dig in to find this one out

has weth been approved on permit2 already? if not, the call is most likely failing due to insufficient allowance on weth <-> permit2

yes. weth approved

@callmephilip what's the from address for this tx?

@callmephilip what's the from address for this tx?

0xb939c9a753b5429e086bc81d3b3cd1609938bded

@callmephilip ah, the inputs to the address array for a v2 exact in swap should be the pool addresses and not the token addresses:
https://github.com/Uniswap/universal-router-sdk/blob/main/src/entities/protocols/uniswap.ts#L179
our info page for optimism is down rn so unfortunately can't pull up the weth/usdc.e pool address very easily but it should be deterministic based on this: https://github.com/Uniswap/v2-sdk/blob/e1b062d2728c28ce079f2e06a6593f28693b6f1a/src/entities/pair.ts#L23
if you find the pool address, it should be a 1 length array since it's a single hop trade

@tinaszheng, i've updated payload accordingly with path now pointing to ["0x0493Bf8b6DBB159Ce2Db2E0E8403E753Abd1235b"], new call data looks as follows:
0x24856bc30000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000010800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000075b939c9a753b5429e086bc81d3b3cd1609938bded00000000000000000000000000000000000000000000000000005af3107a4000000000000000000000000000000000000000000000000000000000000003c0220000000000000000000000000493bf8b6dbb159ce2db2e0e8403e753abd1235b010000000000000000000000

However, the error persists

@callmephilip ah, the inputs to the address array for a v2 exact in swap should be the pool address and not the token addresses:
https://github.com/Uniswap/universal-router-sdk/blob/main/src/entities/protocols/uniswap.ts#L179

but of course, @tinaszheng. 🤦   added a note regarding this param here


slim down the old site even more, static stats page.

@nf-core-bot fix linting

@nf-core-bot fix linting

The linting is broken atm I think. But about to switch so who cares.


How to change the query for an Ajax Grid without changing the page querystring

I have an ordinary grid created for instance, like in the example on
http://mvc-grid.azurewebsites.net/Grid/Ajax?mainParam=mainValue. And I want to (based on filling a form out and clicking a button) change the query on the ajax grid. I don't know how to do this out of the box though.
Sample Scenario
CSHTML includes this:
@Html.AjaxGrid(Url.Action("IndexGrid", new { param = "value"}))

Then the grid is initialised in javascript:
// Mvc.Grid binding
$(function () {
    $('.mvc-grid').mvcgrid();
});

And heres the tricky part, I want to refresh the grid with a new query when a button is clicked:

submitSearch.click(function () {

	var isFormValid = $("#searchForm").valid();

	if (isFormValid) {
		var newQuery = $("#searchForm").serialize();

		$('.mvc-grid').mvcgrid({
			query: newQuery,
			reload: true

		});
	}

});

But when I do this, the query property isn't set to my new parameters. Is there any other way to do this?

You just need to add current paging information, which is saved in query's grid.name + '-Page' key.
You can find examples of parsing query string here. I should probably try to make page information available through grid instance in v3.0.0.

Hi, thanks for replying. I tried to add the paging information to my existing code, but it didn't seem to work. I have found that if I use the grid instance, I can use the grid methods myself and construct my new query like so:
$("#submitSearch").click(function() {

	// Query Refresh Method 2

	var gridElem = $('.mvc-grid').first();
	var grid = gridElem.data('mvc-grid');

	var formValues = $("#searchForm").serializeArray();

	for (var i = 0; i < formValues.length; i++) {
		grid.gridQuery = grid.addOrReplace(grid.gridQuery, formValues[i].name, formValues[i].value);
	}

	grid.reload(grid.gridQuery);

});

Is this more of a recommended way of changing the query?

Yes you can use existing methods, if they actually return a result, because some of them work on internal state.

Can I close?

Yes thank you for the assistance.


Exception: Unsafe character '{' found in command

docker run -ti --rm bids/afni_proc /bids_dataset /outputs participant --participant_label 01 --afni_proc '-subj_id {subj_id} -script proc.bids -scr_overwrite -out_dir {{out_dir}} -blocks tshift volreg blur scale -copy_anat {{anat_path}} -tcat_remove_first_trs 0 -dsets {{epi_paths}} -volreg_align_to MIN_OUTLIER -blur_size 4.0 -bash'

Traceback (most recent call last):

  File "/run.py", line 253, in <module>

    raise Exception("Unsafe character '{' found in command: %s"%cmd.join(' '))

Exception: Unsafe character '{' found in command:

See https://circleci.com/gh/BIDS-Apps/afni_proc/9?utm_campaign=build-failed&utm_medium=email&utm_source=notification for more details.
Am I using --afni_proc in the wrong way?

No double curly braces in what you pass in. The curly braces get used for string completion. Having double curly braces means that the curly braces end up passed through to the command line, and people could use those to do something naughty, so I'm filtering out any commands with those or a whole bunch of other characters to make it a bit harder for anyone to execute an arbitrary command.
docker run -ti --rm bids/afni_proc /bids_dataset /outputs participant --participant_label 01 --afni_proc '-subj_id {subj_id} -script proc.bids -scr_overwrite -out_dir {out_dir} -blocks tshift volreg blur scale -copy_anat {anat_path} -tcat_remove_first_trs 0 -dsets {epi_paths} -volreg_align_to MIN_OUTLIER -blur_size 4.0 -bash'

Thanks. The example in the readme needs to be updated than.

I'm getting
/usr/local/lib/python3.5/dist-packages/pandas/io/parsers.py:2218: FutureWarning: split() requires a non-empty pattern match.

  yield pat.split(line.strip())

/usr/local/lib/python3.5/dist-packages/pandas/io/parsers.py:2220: FutureWarning: split() requires a non-empty pattern match.

  yield pat.split(line.strip())

Traceback (most recent call last):

  File "/run.py", line 312, in <module>

    anat_exts = np.array([float(ss) for ss in subprocess.check_output(["3dinfo", "-extent", anat_path]).decode().split('\t')])

  File "/run.py", line 312, in <listcomp>

    anat_exts = np.array([float(ss) for ss in subprocess.check_output(["3dinfo", "-extent", anat_path]).decode().split('\t')])

ValueError: could not convert string to float: 'NO-DSET'

with these settings (although I am not sure if it is specific to those or a general bug). More details at https://circleci.com/gh/BIDS-Apps/afni_proc/10


Expand/compress predicates + replace icon tabs with toggle button group

Expand/compress predicates accordion
replace CustomIconTabs common component with Mui ToggleButtonGroup component

Everything is good! Thanks @Salam-Dalloul I am just concerned about why the icons for predicate accordion has similar icons to expand and compress, because functionality wise it is wrong

@Aiga115 moving this to the jira board to get the designer feedback. Thanks!


The workspace fails to function properly and causes the Antimalware Service Executable process to have a high CPU footprint on startup

Microsoft PowerToys version
0.84.1
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Workspaces
Steps to reproduce
Start a workspace,The Antimalware Service Executable process then takes up half the cpu usage and the window for workspace configuration is not open.
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

same issue

/bugreport


fix comments about nixos-hardware-scan

It has been renamed to nixos-generate-config in 3ed4173

Thanks!


poppler_utils: 0.66.0 -> 0.67.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/poppler-utils/versions.
meta.description for poppler_utils is: '"A PDF rendering library"'.

Checks done (click to expand)

built on NixOS
/nix/store/1c9081v3j0pl9xblzj1j5y2gcb8xaqzz-poppler-utils-0.67.0/bin/pdftoppm passed the binary check.
/nix/store/1c9081v3j0pl9xblzj1j5y2gcb8xaqzz-poppler-utils-0.67.0/bin/pdftocairo passed the binary check.
Warning: no invocation of /nix/store/1c9081v3j0pl9xblzj1j5y2gcb8xaqzz-poppler-utils-0.67.0/bin/pdfdetach had a zero exit code or showed the expected version
/nix/store/1c9081v3j0pl9xblzj1j5y2gcb8xaqzz-poppler-utils-0.67.0/bin/pdffonts passed the binary check.
/nix/store/1c9081v3j0pl9xblzj1j5y2gcb8xaqzz-poppler-utils-0.67.0/bin/pdfimages passed the binary check.
/nix/store/1c9081v3j0pl9xblzj1j5y2gcb8xaqzz-poppler-utils-0.67.0/bin/pdfinfo passed the binary check.
/nix/store/1c9081v3j0pl9xblzj1j5y2gcb8xaqzz-poppler-utils-0.67.0/bin/pdfsig passed the binary check.
/nix/store/1c9081v3j0pl9xblzj1j5y2gcb8xaqzz-poppler-utils-0.67.0/bin/pdftops passed the binary check.
/nix/store/1c9081v3j0pl9xblzj1j5y2gcb8xaqzz-poppler-utils-0.67.0/bin/pdftotext passed the binary check.
/nix/store/1c9081v3j0pl9xblzj1j5y2gcb8xaqzz-poppler-utils-0.67.0/bin/pdftohtml passed the binary check.
/nix/store/1c9081v3j0pl9xblzj1j5y2gcb8xaqzz-poppler-utils-0.67.0/bin/pdfseparate passed the binary check.
/nix/store/1c9081v3j0pl9xblzj1j5y2gcb8xaqzz-poppler-utils-0.67.0/bin/pdfunite passed the binary check.
11 of 12 passed binary check by having a zero exit code.
0 of 12 passed binary check by having the new version present in output.
found 0.67.0 with grep in /nix/store/1c9081v3j0pl9xblzj1j5y2gcb8xaqzz-poppler-utils-0.67.0
directory tree listing: https://gist.github.com/348464082ac89fae1adccb593e9bf178
du listing: https://gist.github.com/9df233895f964e5b31fa54887cfd5701

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 7d016502d88a89bebb2fd8728a5bb40702a7feba && nix-shell --pure -I nixpkgs=. -p poppler_utils

cc @ttuegel for testing.

Success on aarch64-linux (full log)
Attempted: poppler_utils
Partial log (click to expand)
strip is /nix/store/7iyn7gn33i7xxjgmwf25k20246y6nd9d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/xwlf6fr32sjbgdyv16gl8bmjsqh8xlf6-poppler-utils-0.67.0/lib  /nix/store/xwlf6fr32sjbgdyv16gl8bmjsqh8xlf6-poppler-utils-0.67.0/bin
patching script interpreter paths in /nix/store/xwlf6fr32sjbgdyv16gl8bmjsqh8xlf6-poppler-utils-0.67.0
checking for references to /build in /nix/store/xwlf6fr32sjbgdyv16gl8bmjsqh8xlf6-poppler-utils-0.67.0...
shrinking RPATHs of ELF executables and libraries in /nix/store/jh6c3wv4mpvycvffaw1cfb04izbyljfq-poppler-utils-0.67.0-dev
strip is /nix/store/7iyn7gn33i7xxjgmwf25k20246y6nd9d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/jh6c3wv4mpvycvffaw1cfb04izbyljfq-poppler-utils-0.67.0-dev/lib
patching script interpreter paths in /nix/store/jh6c3wv4mpvycvffaw1cfb04izbyljfq-poppler-utils-0.67.0-dev
checking for references to /build in /nix/store/jh6c3wv4mpvycvffaw1cfb04izbyljfq-poppler-utils-0.67.0-dev...
/nix/store/xwlf6fr32sjbgdyv16gl8bmjsqh8xlf6-poppler-utils-0.67.0

Success on x86_64-linux (full log)
Attempted: poppler_utils
Partial log (click to expand)
strip is /nix/store/90vmpr41dzsx350k5argycaf693hnl1l-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/6rfmdp9gixf5ia52yda2hf1ip71b8d6i-poppler-utils-0.67.0/lib  /nix/store/6rfmdp9gixf5ia52yda2hf1ip71b8d6i-poppler-utils-0.67.0/bin
patching script interpreter paths in /nix/store/6rfmdp9gixf5ia52yda2hf1ip71b8d6i-poppler-utils-0.67.0
checking for references to /build in /nix/store/6rfmdp9gixf5ia52yda2hf1ip71b8d6i-poppler-utils-0.67.0...
shrinking RPATHs of ELF executables and libraries in /nix/store/ym23aldhaz7irzpmhblwp7pcbjnbkwdk-poppler-utils-0.67.0-dev
strip is /nix/store/90vmpr41dzsx350k5argycaf693hnl1l-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ym23aldhaz7irzpmhblwp7pcbjnbkwdk-poppler-utils-0.67.0-dev/lib
patching script interpreter paths in /nix/store/ym23aldhaz7irzpmhblwp7pcbjnbkwdk-poppler-utils-0.67.0-dev
checking for references to /build in /nix/store/ym23aldhaz7irzpmhblwp7pcbjnbkwdk-poppler-utils-0.67.0-dev...
/nix/store/6rfmdp9gixf5ia52yda2hf1ip71b8d6i-poppler-utils-0.67.0

Failure on x86_64-darwin (full log)
Attempted: poppler_utils
Partial log (click to expand)
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file poppler-0.67.0/ChangeLog
patching sources
applying patch /nix/store/w3gv8xdylcglr9rkp3chcdm56hhq5vna-?id=267228bb071016621c80fc8514927905164aaeea
patching file utils/pdfsig.cc
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file utils/pdfsig.cc.rej
builder for '/nix/store/pw1hzzk14sq3w0qip5ssv6bs89z9jwx3-poppler-utils-0.67.0.drv' failed with exit code 1
error: build of '/nix/store/pw1hzzk14sq3w0qip5ssv6bs89z9jwx3-poppler-utils-0.67.0.drv' failed

Success on x86_64-linux (full log)
Attempted: poppler_utils
Partial log (click to expand)
gzipping man pages under /nix/store/83i49gj265z4f5d9rg6ndpafvkzny0g2-poppler-utils-0.67.0/share/man/
strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/83i49gj265z4f5d9rg6ndpafvkzny0g2-poppler-utils-0.67.0/lib  /nix/store/83i49gj265z4f5d9rg6ndpafvkzny0g2-poppler-utils-0.67.0/bin
patching script interpreter paths in /nix/store/83i49gj265z4f5d9rg6ndpafvkzny0g2-poppler-utils-0.67.0
checking for references to /build in /nix/store/83i49gj265z4f5d9rg6ndpafvkzny0g2-poppler-utils-0.67.0...
shrinking RPATHs of ELF executables and libraries in /nix/store/8hgdhbv5lvsy7836hzavkk6jzhiky5ds-poppler-utils-0.67.0-dev
strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8hgdhbv5lvsy7836hzavkk6jzhiky5ds-poppler-utils-0.67.0-dev/lib
patching script interpreter paths in /nix/store/8hgdhbv5lvsy7836hzavkk6jzhiky5ds-poppler-utils-0.67.0-dev
checking for references to /build in /nix/store/8hgdhbv5lvsy7836hzavkk6jzhiky5ds-poppler-utils-0.67.0-dev...

Success on aarch64-linux (full log)
Attempted: poppler_utils
Partial log (click to expand)
strip is /nix/store/zrs21zqcchgyabjf4xfimncdq16njizc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/9vzi167cq7mf0nyc145pk0b4qdz6kp1d-poppler-utils-0.67.0/lib  /nix/store/9vzi167cq7mf0nyc145pk0b4qdz6kp1d-poppler-utils-0.67.0/bin
patching script interpreter paths in /nix/store/9vzi167cq7mf0nyc145pk0b4qdz6kp1d-poppler-utils-0.67.0
checking for references to /build in /nix/store/9vzi167cq7mf0nyc145pk0b4qdz6kp1d-poppler-utils-0.67.0...
shrinking RPATHs of ELF executables and libraries in /nix/store/r18dbl124kvaf8l83hrmird5al2jpbga-poppler-utils-0.67.0-dev
strip is /nix/store/zrs21zqcchgyabjf4xfimncdq16njizc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/r18dbl124kvaf8l83hrmird5al2jpbga-poppler-utils-0.67.0-dev/lib
patching script interpreter paths in /nix/store/r18dbl124kvaf8l83hrmird5al2jpbga-poppler-utils-0.67.0-dev
checking for references to /build in /nix/store/r18dbl124kvaf8l83hrmird5al2jpbga-poppler-utils-0.67.0-dev...
/nix/store/9vzi167cq7mf0nyc145pk0b4qdz6kp1d-poppler-utils-0.67.0

Success on x86_64-darwin (full log)
Attempted: poppler_utils
Partial log (click to expand)
Patching '/nix/store/1v789lj75likngwa8hqfm4k3jlhiyifb-poppler-utils-0.67.0-dev/lib/pkgconfig/poppler-glib.pc' includedir to output /nix/store/1v789lj75likngwa8hqfm4k3jlhiyifb-poppler-utils-0.67.0-dev
Patching '/nix/store/1v789lj75likngwa8hqfm4k3jlhiyifb-poppler-utils-0.67.0-dev/lib/pkgconfig/poppler-splash.pc' includedir to output /nix/store/1v789lj75likngwa8hqfm4k3jlhiyifb-poppler-utils-0.67.0-dev
Patching '/nix/store/1v789lj75likngwa8hqfm4k3jlhiyifb-poppler-utils-0.67.0-dev/lib/pkgconfig/poppler.pc' includedir to output /nix/store/1v789lj75likngwa8hqfm4k3jlhiyifb-poppler-utils-0.67.0-dev
gzipping man pages under /nix/store/891pzf2vdvr9xg0c0l3zj3n2hhiwmd4w-poppler-utils-0.67.0/share/man/
strip is /nix/store/qfxcr8c4fg7lkybrny9n2sb77bmippdx-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/891pzf2vdvr9xg0c0l3zj3n2hhiwmd4w-poppler-utils-0.67.0/lib  /nix/store/891pzf2vdvr9xg0c0l3zj3n2hhiwmd4w-poppler-utils-0.67.0/bin
patching script interpreter paths in /nix/store/891pzf2vdvr9xg0c0l3zj3n2hhiwmd4w-poppler-utils-0.67.0
strip is /nix/store/qfxcr8c4fg7lkybrny9n2sb77bmippdx-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/1v789lj75likngwa8hqfm4k3jlhiyifb-poppler-utils-0.67.0-dev/lib
patching script interpreter paths in /nix/store/1v789lj75likngwa8hqfm4k3jlhiyifb-poppler-utils-0.67.0-dev

@jtojnar ok to merge?

LGTM according to changelog.


Copyright and author line update

Because I got annoyed with seeing this happen in unrelated changes.
This updates all copyright years for 2016 and unifies the formatting. It also updates all copyright lines from Opscode Inc to Chef Software Inc and all author emails from opscode.com/getchef.com to chef.io.
I did my best to skim the script output before committing but it's a doosey.
/cc @chef/client-core

"Sorry, we could not display the entire diff because too many files (1,279) changed."
:+1:

So I actually found a couple of bugs:
 git diff origin/master | egrep '^(\+|\-)' | egrep -v '^(\-\-\-|\+\+\+)' | egrep -v '^(\+|\-)#'

found these:
-Chef incorporates code modified from deep_merge (http://trac.misuse.org/science/wiki/DeepMerge), which is Copyright (c) 2008 Steve Midgley
+Chef incorporates code modified from deep_merge (http://trac.misuse.org/science/wiki/DeepMerge), which is Copyright 2008-2016, Steve Midgley
- * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2016, by the Sphinx team, see AUTHORS.
- * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2016, by the Sphinx team, see AUTHORS.
- * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2016, by the Sphinx team, see AUTHORS.
- * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2016, by the Sphinx team, see AUTHORS.
-      # Copyright (c) 2001 TAKAHASHI Masayoshi, GOTOU Yuuzou
-      # Copyright (c) 2002 Internet Programming with Ruby writers. All rights
+      # Copyright 2001-2016, TAKAHASHI Masayoshi, GOTOU Yuuzou
+      # Copyright 2002-2016, Internet Programming with Ruby writers. All rights

Also missed a couple straggling opscode.com's:
% git diff origin/master | egrep '^(\+|\-)' | egrep -v '^(\-\-\-|\+\+\+)' | egrep -v '^(\+|\-)#' | egrep opscode.com | egrep '^\+'
+ * Copyright 2008-2016, Adam Jacob<EMAIL_ADDRESS>+ * Copyright 2009-2016, Christopher Brown<EMAIL_ADDRESS>+    Copyright 2010-2016, Chef Software Inc<EMAIL_ADDRESS>+    Copyright 2010-2016, Chef Software Inc<EMAIL_ADDRESS>+    Copyright 2010-2016, Chef Software Inc<EMAIL_ADDRESS>

Which of those are bugs?

Hmmm, yeah, I guess its fine to update the dates, doesn't change the authorship...

Yeah, their copyright continues for at least 95 years after initial publication so we should update those too :)

We should do something with NOTICE, it's hugely inaccurate. The external copyright disclaimers should probably get moved to COPYING or something and remove the rest.

looks fine to me, whack merge when you want to (positive nothing added in those last two will make travis red, and appveyor will probably go red because chocolatey func test whenever you finally get virts to execute on...)


v6.1.4 - Migrate to extractus org

Update links and docs (#61)
Change nothing in code

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
185

Relevant Lines:
185

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
185

Relevant Lines:
185

💛  - Coveralls


deps: update old and remove unused dependencies

This commit updates all of the dependencies in package.json to
their most recent versions. It also removes dependencies that were
specified in package.json but not used - or only used in a
require() statement.
These changes have some ripple effects. Istanbul has not been
supported for some time, so it has been replaced with nyc.
The code coverage reporting tool from codacy has been updated
as well. This could not be tested without having the API token.
Finally, the CI job has been modified to run tests on Node.js
versions 10x and 12x. All older versions of Node.js are no longer
maintained.
Fixes: https://github.com/cloudevents/sdk-javascript/pull/50

Not sure why the DCO check didn't re-run. I amended my commit and pushed it with a signoff yesterday as you can see on my fork: https://github.com/lance/sdk-javascript/commit/201fc8b19527b2194a61c94f2bfe5c304fe4dba4.

@fabiojose just checking in - any thoughts on this?

@lance take a look at my reviews. We are dropping the support for 6, 7 and 8, right?

@fabiojose yes - this commit bumps the tested Node.js versions to 10 and 12. All other versions of Node.js are currently EOL (Node.js 8 may still be in maintenance mode, but it will EOL at the end of April).
I don't see any reviews from you on this. 🤷

@lance Can you add the entry in the CHANGELOG.md and fix that conflicting files?

@fabiojose requested changes have been made.

@fabiojose did you see my comment here? The problem occurs during CI and seems to be an issue with the codacy script possibly not handling things well. I don't have credentials to publish codacy results or configure travis, so it's impossible for me to test this.
When I run locally I get this:
**######################################################################## 100.0%
######################################################################## 100.0%
2020-04-29 12:27:25,617 ERROR            com.codacy Invalid configuration: Either a project token or an api token must be provided or available in an environment variable
**

Note, that in this commit, the code coverage reporting changed here. I noted this in the original PR text:

The code coverage reporting tool from codacy has been updated
as well. This could not be tested without having the API token.

I'll keep poking but I suspect I'll either need credentials for Travis and Codacy or someone who has those credentials will need to fix it.
The failure began with the Merge commit based on this PR. But as you can see, the PR itself passed the Travis build with no problems.
https://travis-ci.org/github/cloudevents/sdk-javascript/builds/677389800
So I'm happy to continue trying to figure out what went wrong, but not sure I can be successful without proper credentials.

Seems all is ok.


New type stack strings

This is probably a new feature request. I can't find any tool that will handle the strings that are pushed onto the stack 4 bytes at a time. I find these strings most often in shellcode. They are actually quite recognizable, the push instruction (shows up as ASCII 'h') followed by the string (4 bytes at a time). They are also pushed on in 'reverse' order. See the following:
jac@xubu64:~$ floss -n 5 -s shellcode.malicious
FLOSS static ASCII strings
...
]hnet
hwiniThLw&
...
What is actually happening there is pushing the string 'wininet' onto the stack which the shellcode then passes to LoadLibraryA.

i seem to recall this is common in metasploit stagers.
do you have any examples handy? i believe FLOSS should already handle this case (all it cares about is the ASCII data in the stack region at the time of a call instruction), but if it doesn't, then I'd be happy to triage it.

I'm attaching one of the samples.
--
Jim Clausing
GIAC GSE #26, GREM(G), CISSP
GPG fingerprint = 2AA8 F3D8 B57F 971F 0764  3821 05D7 56FA C7D6 3DA5
On or about Mon, 1 Jun 2020, Willi Ballenthin pontificated thusly:

i seem to recall this is common in metasploit stagers.
do you have any examples handy? i believe FLOSS should already handle this case (all it cares about is the ASCII data in the stack region at the time of a call instruction), but if it doesn't, then I'd be happy to triage it.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/fireeye/flare-floss/issues/324#issuecomment-637121092

@clausing I can't see your sample. You can also provide a hash or VT link if the sample is publicly available.
For the metasploit shellcode I tried this, stackstrings were extracted successfully.

shellcode.zip

Seems like the compiled versions don't extract these correctly. However, with the newest FLOSS source from GitHub I get this for the second sample:
$ floss --no-decoded-strings --no-static-strings -s payment-out.bin

FLOSS extracted 6 stackstrings
URLDownloadToFileA
urlmon.dll
WinE
aryA
LoadLibraryA
Libr

Will look into the issue here further in the next couple of days.

Once #331 is out of the way, this should work in the compiled binaries 🤞

It's not perfect (for example if stack buffers get reused), but provides helpful output and works in the compiled binaries now.
$ floss --no-static-strings --no-decoded-strings -s payment-out.bin
WARNING:envi.codeflow:parseOpcode error at 0x00000140 (addCodeFlow(0x0)): string index out of range

FLOSS extracted 6 stackstrings
URLDownloadToFileA
WinE
urlmon.dllbrLibr
Libr
aryA
LoadLibraryA

Thanks for the request and samples!


Ignore omnisharp.tar.gz

is it maybe better to ignore the entire artifacts directory?

@Yantrio the artefacts folder is already ignored. This file ends up in the root folder.
@thinca Thanks!

It should probably end up in artifacts

Good point


Allow ConfigMaps to be parsed from mounted volume paths, like Secrets

Allows making ConfigMaps available as spring properties from Kubernetes volumes, just like is currently possible with Secrets. This allows using ConfigMaps without resorting to environment variables or enabling extra permissions for service accounts. Seems this would offer a workaround/solution for #141, probably #138, #137 and #129.
See also the Kubernetes documentation on how to configure this on the Kubernetes side.

@stela Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@stela Thank you for signing the Contributor License Agreement!

Hi, is this now available? if yes which version? Any Readme on the usage would be helpful!

@anrvorc Sadly it's only part of a snapshot release, 0.2.1.BUILD-SNAPSHOT, for now, see http://repo.spring.io/snapshot. There was no milestone or regular release last time I checked. Would be nice if a release could be made :-). You use the new support for mounted ConfigMap volumes just like the already existing support for Secrets, how to configure that in your deployment/pod is part of the Kubernetes documentation.

unfortunately it is not in a state to do a release and I don't have cycles to do it until after Finchley is released.

Thanks for the update. Whats the timeline of Finchley release?

https://github.com/spring-cloud/spring-cloud-release/milestones?direction=asc&sort=due_date


context.read NoSuchMethodError

this works
@override
Widget build(BuildContext context) {
  return RaisedButton(
    onPressed: () => callRead(context.read),
    child: Text('increment'),
  );
}
callRead(read){
  read(counterProvider).state++;
}

this throws exception NoSuchMethodError (NoSuchMethodError: Class '_StatelessHookElement' has no instance method 'read'.
@override
Widget build(BuildContext context) {
  return RaisedButton(
    onPressed: () => callContextRead(context),
    child: Text('increment'),
  );
}
callContextRead(context){
  context.read(counterProvider).state++;
}

Not sure if this is intended or a bug.

Make sure to import package:flutter_riveprod/flutter_riverpod.dart

I'm using hooks_riverpod and importing it. I don't mind doing it the way it works, however it tripped me up for a while.

Same error happens when importing flutter_riverpod.

To be clear the issue is calling context.read will work if called directly in the onPressed closure, but if passing context to another function, context.read will get NoSuchMethodError . I have no problem if this is the indented behaviour because I can pass context.read to other function.

Ah you didn't type the variable
callRead(BuildContext context)

Yes that worked, thanks.


Improve response handling of non-JSON

Implement a way for Hyperspace to handle non-JSON responses such as HTML

Related to #115? (using transformSuccess(_:), you should be able to go from Data to an HTML String or any custom struct that represents HTML)

Is that (using transformSuccess(_:)) something Hyperspace does or something a user has to implement?

Hyperspace provides a default implementation of transformSuccess(_:) when the request's ResponseType conforms to Decodable. The user would need to implement it for special scenarios like parsing errors from 200 OK responses.

I'm going to close this one out - if the user is wanting to use a non-Decodable type, they can use the following initializer on Request, where they are free to convert TransportSuccess into Response in any way desired.
public init(method: HTTP.Method, url: URL, headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
 body: HTTP.Body? = nil, cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
 timeout: TimeInterval = RequestDefaults.defaultTimeout, successTransformer: @escaping Transformer)


Reshuffle how-it-works

Thank you for your contribution to the IC Developer Portal.
Before submitting your Pull Request, please make sure that:

[ ] You have updated the .github/CODEOWNERS file according to your changes.
[ ] You have registered new documents to /sidebars.js if any.

I like most structure changes, particularly to merge the contents of the authentication section with web access.
One change to challenge is to have the governance section before chain evolution as it tears the chain-key and chain-evolution sections apart. Don't have too strong an opinion on this, though.


DatePickerDialog Colors

Is it possible to change the color of the neutral, positive and negative buttons independently?

Yes, it can style independently. Please view Dialog page for more details about Dialog style attributes.

My apologies, I thought the datepickers were different than the default dialogs. My mistake!


Fix interp_combinational to not require matching/rewriting in derive

Hmm, decreases time for the derive instances in naivecipher/opentitan but looks slower overall

Close this since it seems old?

Close this since it seems old?


Unable to add feedback on docs.microsoft.com

I used to be able to have an option to provide feedback on specific documentation at docs.microsoft.com. I used it to provide feedback on stuff that isn't right or isn't clear. However I don't see that option anymore whether I'm logged in or not. Example: https://docs.microsoft.com/en-us/dotnet/api/system.drawing.image.fromstream?view=net-5.0&source=docs
Here there is no options to provide feedback or comments on the docs. There is an Edit button but I don't want to change the docs as I'm not sure what should be said. I just want to point out that the docs are not correct for a large set of cases and needs to be clarified.
The only option that is remotely related to feedback is whether the site is useful or not. But the verbiage there seems to indicate it is for the general docs site and not specific page issues.

@CoolDadTx We disabled the Feedback button in some repos where we just couldn't handle the quantity of feedback. However, for the specific page you referenced, you can log an issue directly on GitHub: https://github.com/dotnet/dotnet-api-docs/issues.

Thanks for the info. I'll post there.

Hi, I spent a very frustrating few minutes looking for the feedback link, thinking I was crazy. I added this issue, convinced I was missing something extremely basic.
Perhaps you could add back the link and when it is clicked, you could explain that it is disabled at the moment due to volume of feedback, and to instead go to the github repo for the project? It would help folks like me not waste our time.
Thanks!

For repos with feedback disabled, it would be nice if the icon/button was still there, but it just said something like "Feedback is not enabled for this repo" when you clicked it. (If we still point to the repo at that point, we might as well just re-enable feedback.) Tagging @keziamicro for this feedback.


Switch Twitter urlAuthorization to 'authorize'

When working with Socialite I noticed the callback URL for Twitter was wrong, at least for me. This PR aims to fix that.
I read your contributing guide but failed to find any existing tests to test Twitter. I'd be more than happy to work with you to make this a useful contribution and I thank you for your time and effort.

@ttomdewit apologies for how stale this PR is. The project has been in hiatus for a few years now but we're working on a rewrite.
The /oauth/authorize endpoint aims to be an alternative to the /oauth/authenticate endpoint - both are used for retrieving a verifier token which can be in turn used for retrieving token credentials.
I think we could look to possibly support both endpoints within the Twitter provider based on configuration. I'll look at doing that in #111 and close this PR once that's been implemented.

Hello @bencorlett,
We're using laravel/socialite too, and since a few days, we have an issue on the /oauth/authenticate endpoint (infinite loop during oauth process).
Other users have the issue too, and switching to the /oauth/authorize endpoint fix the issue.
Here is the bug ticket on Twitter : https://twittercommunity.com/t/infinite-redirect-loop-during-oauth-process/184086
Is it possible to take a look?
Thank you.

Ooooh thank you so much @Diegslapasteque ! We are experiencing the same issue since few days and just notice this workaround. Hope the team will quickly validate your PR 🙏


Support system tray?

For desktop applications, the system tray is very important.

go-flutter supports plugin wiki how to make a plugin.
To place an icon and menu in the notification area, the library systray exist.
I'm not planing to support system tray plugin.
But we will be pleased to get some help.
If you have implemented a plugin that you would like to share, feel free to open a PR on the plugins repository!

Thank you, I will try to write this plugin.

Thank you, I will try to write this plugin.
hi, monkeyWie, 关于tray的插件怎么样啦, 我的项目中也需要一个这样的东东, 方便交流一下吗

@NetFly-VPN 目前只写了个demo，功能是实现了，不过插件还不够成熟。

I've found this half done go-flutter implementation: https://github.com/firstmeetgames/go-flutter/blob/e7e447f8ee41a3571b171dc5ab6be75afc964037/systray.go
It's a good starting point if you want to make systray plugin.

@monkeyWie how did it go for you? Have you made any progress?

I made my own plugin: https://github.com/JanezStupar/flutter_systray


feature: ChatML support

Hi there,
Thanks for sharing the codes.
May I know any plan to support ChatML?
You can find out more about ChatML with the following links:
https://github.com/openai/openai-python/blob/main/chatml.md
https://cobusgreyling.medium.com/the-introduction-of-chat-markup-language-chatml-is-important-for-a-number-of-reasons-5061f6fe2a85
Thanks.

Having found models from TheBloke to be particular well documented and easy to work with, I have basically stopped looking at any other. I even built my own TheBloke filtered gallery.
This seemed to work well, for a while at least. However, The Bloke recently switched to using ChatML for all future models.
See here:
https://www.google.com/search?hl=en&q="All of my future models will use ChatML prompt format"
"All of my future models will use ChatML prompt format" - TheBloke
ps. I'm not a Go developer, otherwise this would have been a PR to add support for "ChatML" as a chat format. Love this project, and I will be happy to help in any other way I can. I can do Python, Rust, Bun, or anything that doesn't involve code also  :-)

Thank you, @mudler . If I understand correctly and there'll be no code change required, then I suppose we can perhaps close this issue with a response to @limcheekin's question?


d3d11 blend state not updated

Blend state is not updated if draw.m_rgba or draw.m_flags' BGFX_STATE_BLEND_INDEPENDENT bits change.
https://github.com/bkaradzic/bgfx/blob/master/src/renderer_d3d11.cpp#L4141
https://github.com/bkaradzic/bgfx/blob/master/src/renderer_d3d11.cpp#L4153

thanks


⚠ CONFLICT! Lineage pull request for: skeleton

Lineage Pull Request: CONFLICT

Lineage has created this pull request to incorporate new changes found in an
upstream repository:
Upstream repository: https://github.com/cisagov/skeleton-packer.git
Check the changes in this pull request to ensure they won't cause issues with
your project.
The lineage/skeleton branch has one or more unresolved merge conflicts
that you must resolve before merging this pull request!
How to resolve the conflicts

Clone the lineage/skeleton branch locally:
git clone --single-branch --branch lineage/skeleton git@github.com:cisagov/guacamole-packer.git

Review each of the following files looking for conflict-resolution markers:
.gitignore
README.md
terraform-build-user/versions.tf
terraform-post-packer/main.tf
terraform-test-user/versions.tf
terraform/versions.tf

Resolve each of the conflicts and add your changes to the branch:
git add .gitignore README.md terraform-build-user/versions.tf terraform-post-packer/main.tf terraform-test-user/versions.tf terraform/versions.tf

Once all the changes have been added, commit and push the changes back to
GitHub:
git commit --message="Resolved Lineage conflicts."
git push

Wait for all the automated tests to pass.

Check the "Everything is cool" checkbox below:

[ ] ✌ The conflicts in this pull request have been resolved.

Mark this draft pull request "Ready for review".

Note: You are seeing this because one of this repository's maintainers has
configured Lineage to open pull requests.
For more information:
🛠 Lineage configurations for this project are stored in .github/lineage.yml
📚 Read more about Lineage

Something odd is going on here.  If I pull the latest code from origin and skeleton-packer and merge manually, there are only three commits that need to be added.


vdirsyncer: fails due to click-log

Issue description
Processing ./vdirsyncer-0.17.0a2-py2.py3-none-linux_x86_64.whl
Requirement already satisfied: atomicwrites>=0.1.7 in /nix/store/vf7smgsf57mvbfkywbz7vfshwnay08vn-python3.6-atomicwrites-1.1.5/lib/python3.6/site-packages (from vdirsyncer==0.17.0a2) (1.1.5)
Collecting click-log<0.3.0,>=0.2.0 (from vdirsyncer==0.17.0a2)
  Could not find a version that satisfies the requirement click-log<0.3.0,>=0.2.0 (from vdirsyncer==0.17.0a2) (from versions: )
No matching distribution found for click-log<0.3.0,>=0.2.0 (from vdirsyncer==0.17.0a2)

Technical details

system: "x86_64-linux"
host os: Linux 4.14.54, NixOS, 18.09pre145679.dae9cf6106d (Jellyfish)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.0.4
channels(philipp): "nixpkgs-18.09pre146471.d7d31fea7e7"
channels(root): "nixos-18.09pre147850.2428f5dda13"
nixpkgs: /home/philipp/.nix-defexpr/channels/nixpkgs

vdirsyncer master released that constraint but one needs to wait for a release since the package is kinda special and tries to pick its version I don't remember how.

Okay, but having a broken version in nixpkgs isn't really desirable, isn't it? Can we fetchpatch certain commits from master to fix this, maybe?

Fixed on latest master.


(HTTP code 500) server error - {"message":"Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:39767-><IP_ADDRESS>:53: i/o timeout"}

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

Are you behind a firewall or VPN?
See our wiki for possible solutions:
https://github.com/docker/kitematic/wiki/Common-Proxy-Issues-&-Fixes


Bridge: Allow to send Relayer Tx in batch

Current implementation of the relayer is restricted to send one Tx at a time per client. THis restriction is due to the nonce management and each client only use one account.
This restriction can slow down a lot the capacity of the relayer to process transfer fast.
2 solutions can be mixed to allow multiple Tx at the same time:

Use several accounts per client. It needs to change the authorization of the contract that support only one authorized account.
Send several bridge Tx in one client tx by batching the Tx.

Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Batch Transactions
Terms
- User Transaction: A bridge protocol transaction initiated by a user (e.g., initiate and complete counterpart).
- Relayer: A component of the bridge that listens to the blockchain to detect user transactions and executes the associated protocol transactions.
- Relayer Transaction: A transaction sent by the Relayer in response to a user transaction (e.g., lock or complete initiator).

Description of the Problem
On most blockchains, an account can only send one transaction at a time due to the nonce mechanism. The bridge's security relies on the account that owns the contract (e.g., onlyOwner for Ethereum), meaning only one account can send Relayer transactions.
Currently, the Relayer sends only one relayed transaction at a time, which limits the number of executed transfers per unit of time. To increase the transaction throughput of the Relayer, the idea is to aggregate multiple relayed transactions into a single transaction sent by the Relayer.
Proposed Solution
Basic Scenario
- The Relayer listens for user transactions.
- When a user transaction arrives, the Relayer processes it, updates the transfer state, and generates an action, just as it currently does.
- If an action requires an on-chain Relayer transaction, it is kept in memory, ordered by type, as a pending action. If not, the action is executed as it is today.
- After a specified time (defined in the configuration and dependent on the blockchain), the Relayer aggregates the oldest pending actions by type to create a batch of actions to relay.
- The Relayer sends the batch of actions in a single transaction.
- The bridge contract processes each action in the transaction and calls the associated bridge function for each. The contract's action processing only emits events and does not return data.
- The Relayer processes the result of the transaction and handles any errors that occur.

Limitations of this scenario
Avoiding Complete Reversion of All Actions
This scenario outlines how the Relayer aggregates transactions, but its main drawback is that if any action in the transaction fails, all actions in the batch are reverted. To avoid this, each action can be simulated beforehand to check if it will fail.
If a simulation fails, the action is removed from the batch. The associated transfer state is handled as follows:
- Lock transfer action: The transfer is canceled, and a new cancel transfer action is generated.
- Complete counterpart transfer: The faulty action is removed, and the bridge state is reverted to locked. This usually means an incorrect complete counterpart transaction was sent.
- Refund or cancel action: The action is discarded. If a refund or cancel transaction cannot be processed, there is no way to resolve the issue, and the transfer state is set to Aborted.

Managing Relayer Transaction Errors
This update helps avoid reverted actions, but even after a simulation, an action can still fail during chain execution, or the entire transaction can result in an error.
To prevent Relayer transaction errors, the number of actions included should be limited to keep the gas cost manageable and the transaction size within the blockchain's maximum limit. Therefore, the maximum number of aggregated actions will be defined in the configuration.
If the Relayer transaction fails despite the simulation, there are two main possibilities:
- The entire Relayer transaction has an issue (e.g., the transaction size exceeds the limit).
- One or more actions within the batch fail.

The simplest algorithm to handle these cases while ensuring that valid actions are eventually processed is as follows:
- If the batch size is 1 and the action fails, generate a "failed action" event, similar to a simulation failure.
- Otherwise, divide the batch size by two.
- Add the smaller batches to the processing queue with the most recent time. This approach isolates the problematic actions incrementally.

Software Design Elements
Main Components
This scenario can be implemented using three main components: StateManager, ActionsAggregateManager, and BridgeActionClient.
Roles of Each Component
- StateManager
    * Functions as the current state transition manager. It manages transfer state transitions and processes events as input to generate actions.

- ActionsAggregateManager: Aggregates actions into batches and provides them to the BridgeActionClient.
    * Retrieves all actions generated by the StateManager.
    * Stores actions that require a Relayer transaction, ordered by type and grouped into batches.
    * Uses a timer to determine when a batch should be sent to the BridgeActionClient.
    * Sends the oldest batch to the client when the timer triggers.

- BridgeActionClient
    * Accepts a batch of actions as input.
    * Simulates each action's associated transaction:
        * If the simulation fails, a "failed action" event is created and added to the failure list.
        * If the simulation succeeds, the action is added to the list of aggregated actions.
    * Constructs the transaction with the aggregated actions and sends it.
    * The contract processes each action:
        * If the transaction succeeds, the batch processing is done.
        * If the transaction fails, a "Relayed transaction failed" event is generated and added to the failure list.
    Returns the list of failed events to the StateManager.

StateManager
    Processes failed events.


Allow users to take a survey multiple times - accurately track and present metrics

Allow users to take a quiz or survey multiple times

Optionally allow this to be disabled
Make it always enabled if the skill expires on a daily basis

testing results - let's change when quiz initiated from Daily with ability to retainskill to always allow retake the quiz

:+1:


_TypeError: type '_Map<String, Object>' is not a subtype of type 'String?' in type cast

command
flutter build ipa
exception
_TypeError: type '_Map<String, Object>' is not a subtype of type 'String?' in type cast
#0      PlistParser.getValueFromFile (package:flutter_tools/src/ios/plist_parser.dart:182:24)
#1      BuildIOSArchiveCommand._validateXcodeBuildSettingsAfterArchive (package:flutter_tools/src/commands/build_ios.dart:381:67)
<asynchronous suspension>
#2      BuildIOSArchiveCommand.runCommand (package:flutter_tools/src/commands/build_ios.dart:422:7)
<asynchronous suspension>
#3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1297:27)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#5      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#6      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:339:9)
<asynchronous suspension>
#7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#8      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:285:5)
<asynchronous suspension>
#9      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:115:9)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#11     main (package:flutter_tools/executable.dart:90:3)
<asynchronous suspension>

flutter doctor
[!] Flutter (Channel stable, 3.13.6, on macOS 14.0 23A344 darwin-arm64, locale en-IN)
    • Flutter version 3.13.6 on channel stable at /users/taiyarikarlo/flutter
    ! Warning: `flutter` on your path resolves to /Users/taiyarikarlo/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at
      /users/taiyarikarlo/flutter. Consider adding /users/taiyarikarlo/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/taiyarikarlo/flutter/bin/dart, which is not inside your current Flutter SDK checkout at
      /users/taiyarikarlo/flutter. Consider adding /users/taiyarikarlo/flutter/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ead455963c (3 weeks ago), 2023-09-26 18:28:17 -0700
    • Engine revision a794cf2681
    • Dart version 3.1.3
    • DevTools version 2.25.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and
      upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc4)
    • Android SDK at /Users/taiyarikarlo/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0-rc4
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.79.0)
    • VS Code at /Users/taiyarikarlo/Downloads/Visual Studio Code 2.app/Contents
    • Flutter extension version 3.74.0

[✓] Connected device (3 available)
    • iPhone 15 (mobile) • C46A868B-0559-4480-8CB6-CC93222E118A • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)    • macos                                • darwin-arm64   • macOS 14.0 23A344 darwin-arm64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 118.0.5993.88

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Hi @pawankumar-creator. From the error you are getting, this might be an issue with your code, does this happen when you run you app in debug mode as well?
When opening an issue, please try to provide all or some of the information indicated in the template so that we can address this issue properly.
More specifically, please provide the information indicated below:

A completed and minimal reproducible code sample
The output of flutter doctor -v

Kindly provide these information so this can be properly addressed.

Flutter Doctor output is already included in the details I provided. The error I reported in the GitHub repository occurs when I run flutter build ipa. To resolve this, I have tried building the IPA using Xcode's Archive option, but it still throws the same error even when I use flutter build ipa.
Additionally, the logs were auto-generated by Flutter.

Hi @pawankumar-creator. Thanks for your response and patience. Can you try building ipa again with a newly created flutter project? Also can you upgrade to the latest flutter versions to see if this issue still persists there.


'update' event fails to fire at times

I use Backbone - React - Flux to build an application. (uses ES6 - babel).
So I listen to add, remove, update and change events of a backbone collection from a react component.  The collection polls the server at times to fetch some models and adds it to the collection. It works fine. Just that a lot of add and remove gets fired in some cases where all of my models are replaced.
To avoid this, I removed add and remove, so that it will fire only one update to the component. Sometimes it work fine, sometimes it wont. I observed this in situation when all models returned are new and the whole collection is now changed. There is no problem with the network response, I verified it. It just never fires the update event. To confirm, I also did a "this.bind('update',function().....} and tried logging.. but same problem there. It just does not fire.
When i added add and remove statements back into the on() statement, it works fine. But as I said, I am not interested in each addition and this causes my react components to rerender too many times.
Can you look into this issue? Happy to give any more details.

I'd be happy to look into if if you can provide a test case.

I am not sure how to ..

Whatever you're calling #set with that causes an add/remove event but not an update. Also the state of the collection beforehand.

I have overrided parse() and this is what it looks like. The console.log prints "response received" every time and fires adds and removes, but not update.
 parse(response){
          if(response["pageToken"]){
            this.pageTokens[this.currentPage+1]=response["pageToken"];
          }
          else{
            this.pageTokens[this.currentPage+1]=null
          }
          console.log("response received")
          return response["users"];
    }

Adding to this. I found out that another one of my collection is not firing 'change' event too. I bypassed it by binding to sync. But seems like a hack.

Can you write a jsfiddle to demonstrate?

@Heedster , I remember encountering a similar issue in Ver 1.1.0. I upgraded to ver 1.2.0 and it solved the problem.

I had this same weird issue.  Update would not fire.  I was using V1.1.0 , upgraded to 1.2.0 Problem fixed.

updated was added in v1.2.0. (Notice, that changelog incorrectly spelled it updated, that's been corrected)


StreamingLLM support?

Hey,
This was a really interesting solution to the KV cache for long context.
https://github.com/mit-han-lab/streaming-llm
I was wondering it could be implemented here. From the looks of things it doesn't change anything about the model itself, its more about how the KV cache is implemented.
They show that they can have coherent inference over millions of tokens
Thanks!

Hello vLLM Team,
I'd like to start by expressing my appreciation for your dedication in developing the vLLM framework. Tracking the project's evolution has been nothing short of exhilarating. I believe that integrating StreamingLLM would be an enhancement that would be of great value to many users.
To streamline this possible integration, I've curated a suggested approach based on the StreamingLLM's structure:

Sliding Window KV Cache: Integrate the sliding window KV cache tailored for extensive generation tasks.

Reference - KV Cache
Reference - Example Implementation

Initial Token Persistence: Ensure that starting tokens' KV (like the first page of tokens) are consistently maintained within the current context window.

Rotary Embedding Caching: It's crucial to cache the key states before applying the rotary embedding.

Reference - Caching

Subsequently, the rotary positional embedding should be reapplied within this cache during the generation stage.

Reference - Reapplication

Adhering to this approach, I'm confident that StreamingLLM can be integrated into the vLLM framework. The entire community, myself included, is enthusiastic about the potential of this feature!
Best,
Guangxuan

Is there any update on this feature update?

Hi @Guangxuan-Xiao, I believe this feature is quite meaningful and I'm interested in helping to implement it. However, after some initial research, I feel that there isn't a straightforward and efficient method. This is because the values in the kvcache already include the pos_embedding calculated with the absolute position, combined with the query's embedding to perform the linear computation to obtain the kv cache. However, in the streamingllm, the relative positions of the tokens need to change.
The most naive solution would be only store kv value from QKVLinear before applying any position info, and then add position info to the whole context_window before the attention computation. This approach would require new CUDA kernels to handle such inputs and introduce recomputation for the current key cache, and also need extra memory for the intermediate key_state. I think the throughput would decrease significantly. Also, such a change is completely different from the original memory management logic and would be a significant modification. I'm not sure if the team would accept making the codebase especially complex for this feature.
Hi Team @WoosukKwon @zhuohan123, do you guys have any thoughts/hints about how to gracefully integrate this feature?

+1

Hi @Guangxuan-Xiao, I believe this feature is quite meaningful and I'm interested in helping to implement it. However, after some initial research, I feel that there isn't a straightforward and efficient method. This is because the values in the kvcache already include the pos_embedding calculated with the absolute position, combined with the query's embedding to perform the linear computation to obtain the kv cache. However, in the streamingllm, the relative positions of the tokens need to change.
The most naive solution would be only store kv value from QKVLinear before applying any position info, and then add position info to the whole context_window before the attention computation. This approach would require new CUDA kernels to handle such inputs and introduce recomputation for the current key cache, and also need extra memory for the intermediate key_state. And also, if we try to leverage paged kv cache, when token eviction or replacement happens, we need extra data copying or extra space to store the index in order to keep the token in fixed blocks and maintain their relative sequence. I think the throughput would decrease significantly. Also, such a change is completely different from the original memory management logic and would be a significant modification. I'm not sure if the team would accept making the codebase especially complex for this feature.
Hi Team @WoosukKwon @zhuohan123, do you guys have any thoughts/hints about how to gracefully integrate this feature?

Hi Kaiyang-Chen, I noticed your naive solution. To avoid conflicts with the original page block, would it be possible to handle the pos_embed via post-processing? For example, if the saved k_m (kv cached) is located at position m, we could apply ROPE again, rotating position m in k_m to 0. Then, based on the new position  defined in the StreamingLLM, we could use ROPE to assign the pos_embed to the key accordingly. I have also proposed a method called "mesa-extrapolation" (https://github.com/soacker/Mesa-Extrapolation) for handling extrapolation of longer inputs. If we could integrate these methods for handling longer texts with minimal changes to the original page memory management logic, that would be excellent.

We might not need to provide a new CUDA kernel.
Post-processing:
Assume that we get the key cached located on m, like below:

We only need to rotate it with -m, like below:

Then, we can get the key without pos_embed.
Next, we only need to apply new position to it.


Feedback for kubernetes-intro guide

Starting and preparing your cluster for deployment

[ ] minikube start not work

Does SN lab support minikube or DockerDesktop?

Addressing with https://github.com/OpenLiberty/guide-kubernetes-intro/pull/166, skills network will not use Minikube

close

addressed by OpenLiberty/guide-kubernetes-intro#166


Once saved and reloaded, it is no longer recognized as a component custom-code type.

Once saved and reloaded, it is no longer recognized as a component custom-code type, but rather as a text component

Once saved and reloaded, it is no longer recognized as a component custom-code type, but rather as a text component

same problem

@chiqui3d, did you solve the issue? I'm having the same problem

I honestly don't remember why I closed this. I'll check the Editor to see if I made any modifications or finally left as it is.

The problem still exist


Does FINN support prunning?

I have searched the documentation, the code and the issues, but I can't find any mention of support for pruned neural networks.
So my question is, does FINN support pruning? If not, is it on the roadmap? If it does, is there an example somewhere?
Motivation
Pruning is a useful technique to further decrease the size of a neural network, and thus would potentially enable FINN to deploy networks with fewer resources.
Pruning is supported by hls4ml and can be achieved quite easily with the tensorflow model optimization toolkit.

Hey @auphelia,
thank you for this information. Just to make sure I've understand correctly.
I need to set PE to the number of neurons in a layer, and SIMD to the number
of inputs. Correct?


Caching entire API?

Is in possible to cache/download the entire api (all the pokemon, moves, items etc) to local .json files?

@kerbingamer376 you're more than welcome to use the API to cache results, yes. We don't offer a single endpoint for doing this, as it's not the main purpose :)

But, how would I?

@kerbingamer376 given that you can query pages of items, that would be a good way to go. Otherwise, you can query every resource once and store them.


TechDocs: Support Azure Storage as TechDocs external storage

Hey, I just made a Pull Request!

Closes #3938
This PR adds the feature to use Azure Storage as TechDocs external storage.

Added a new azureStorage.ts publisher Link
Added tests and mocks Link
Added steps about how to use Azure Storage Link
Updated config reference documentation Link

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)

Hey @vitorgrenzel! Thanks you so much for working on this! Will review soon. Meanwhile, you can fix prettier issues with yarn run prettier --write <path/to/file>.

Hey @vitorgrenzel! Thanks you so much for working on this! Will review soon. Meanwhile, you can fix prettier issues with yarn run prettier --write <path/to/file>.

Unfortunately a conflict with the package.json slipped in.

Unfortunately a conflict with the package.json slipped in.

Thank you so much! I want to do a review by following the Azure steps and experimenting how it feels. Hence, it's taking longer. But I'll get around to it by tomorrow, I think.

Thank you so much! I want to do a review by following the Azure steps and experimenting how it feels. Hence, it's taking longer. But I'll get around to it by tomorrow, I think.

@adamdmharvey 👋 Feeling a bit stranded in the Azure portal and its documentations around security, getting credentials, subscription, creating an app, assigning a role, etc.
I will appreciate if you share insights on this PR, using your experience with Azure. My major concern is - what is the most optimal and secure way of using the Blob Storage and are we doing it right here? Thank you 🙇

@adamdmharvey 👋 Feeling a bit stranded in the Azure portal and its documentations around security, getting credentials, subscription, creating an app, assigning a role, etc.
I will appreciate if you share insights on this PR, using your experience with Azure. My major concern is - what is the most optimal and secure way of using the Blob Storage and are we doing it right here? Thank you 🙇

@OrkoHunter Yeah, I think there are varying ways and I see what you mean about wanting to align.
So above in your earlier feedback, the URL you feed back on changing from Portuguese to English about authoring storage blobs with AD  My understanding, and I am not an expert in this space, is that's only if you've connected AD to your account and are using that for authn/z. To be fair, most companies that are using Azure are likely doing so in alignment with their corporate AD, and even in AWS there's a similar concept where you wrap your internal AD with a AWS Directory Service, so I think Azure AD in this case is a similar wrapper, so many companies may have it.  However, the raw Azure CLI instructions, which you can also use for accessing storage (and are even linked off the storage service page) use the more simple initial concepts much more like auth tokens (service tokens, which can also be PEM in example of a 509 cert).  So maybe @vitorgrenzel can chip in if he is truly using Azure AD in this case?
But from the left nav of that link, there's a nice summary table:
https://docs.microsoft.com/en-us/azure/storage/common/storage-auth?toc=/azure/storage/blobs/toc.json

Now, looking at some of the sample code in this PR, it does seem to be using the shared key concept.  The npm package has a reference to it here:
https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob#authenticate-the-client
My suggestion would be stick with that as a start, document that, and then if needed, it could be later refactored to add the other two authentication mechanisms: SAS and AD.  I think AD might be an edge case, because AD would infer individual users, and TechDocs as a service is unlikely to ever authenticate "as a human" but as a service instead. So for sure, some companies may have services in AD, but it would seem more conceptual to have service accounts in Azure be using the the shared key, and then if we hit an edge case where a company is also managing their service accounts in Azure AD, then extend the publisher to be able to be even more customizable via iterating it. (In much the same way as GitHub: we're preferring a GitHub App rather than a PAT which represents a human.)
So to me, I think the options would seemingly be in this order:
https://docs.microsoft.com/en-us/rest/api/storageservices/authorize-with-shared-key

Shared key
Shared access signature
Azure AD

Not sure if that helps or if others have other opinions on it?

@OrkoHunter Yeah, I think there are varying ways and I see what you mean about wanting to align.
So above in your earlier feedback, the URL you feed back on changing from Portuguese to English about authoring storage blobs with AD  My understanding, and I am not an expert in this space, is that's only if you've connected AD to your account and are using that for authn/z. To be fair, most companies that are using Azure are likely doing so in alignment with their corporate AD, and even in AWS there's a similar concept where you wrap your internal AD with a AWS Directory Service, so I think Azure AD in this case is a similar wrapper, so many companies may have it.  However, the raw Azure CLI instructions, which you can also use for accessing storage (and are even linked off the storage service page) use the more simple initial concepts much more like auth tokens (service tokens, which can also be PEM in example of a 509 cert).  So maybe @vitorgrenzel can chip in if he is truly using Azure AD in this case?
But from the left nav of that link, there's a nice summary table:
https://docs.microsoft.com/en-us/azure/storage/common/storage-auth?toc=/azure/storage/blobs/toc.json

Now, looking at some of the sample code in this PR, it does seem to be using the shared key concept.  The npm package has a reference to it here:
https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob#authenticate-the-client
My suggestion would be stick with that as a start, document that, and then if needed, it could be later refactored to add the other two authentication mechanisms: SAS and AD.  I think AD might be an edge case, because AD would infer individual users, and TechDocs as a service is unlikely to ever authenticate "as a human" but as a service instead. So for sure, some companies may have services in AD, but it would seem more conceptual to have service accounts in Azure be using the the shared key, and then if we hit an edge case where a company is also managing their service accounts in Azure AD, then extend the publisher to be able to be even more customizable via iterating it. (In much the same way as GitHub: we're preferring a GitHub App rather than a PAT which represents a human.)
So to me, I think the options would seemingly be in this order:
https://docs.microsoft.com/en-us/rest/api/storageservices/authorize-with-shared-key

Shared key
Shared access signature
Azure AD

Not sure if that helps or if others have other opinions on it?

I had an internal link to some training, and this in particular may prove super useful:
https://docs.microsoft.com/en-us/learn/modules/secure-azure-storage-account/3-storage-account-keys
(there are a few other sections in that module which could be relevant as well)

I had an internal link to some training, and this in particular may prove super useful:
https://docs.microsoft.com/en-us/learn/modules/secure-azure-storage-account/3-storage-account-keys
(there are a few other sections in that module which could be relevant as well)

Thanks for sharing your views and the links @adamdmharvey ! Will go through them this as soon as possible. 🙏

Thanks for sharing your views and the links @adamdmharvey ! Will go through them this as soon as possible. 🙏

@tiagoassis00 @vitorgrenzel Are you two working together on this? Saw you both pushing changes. :)

@tiagoassis00 @vitorgrenzel Are you two working together on this? Saw you both pushing changes. :)

Due some conflicts with the new commits done in the master branch in the past weeks, we rebased the feature/techdocs-azure-storage branch on viavarejo/backstage
@OrkoHunter: May you provide us more details about the changes you are requesting?

Due some conflicts with the new commits done in the master branch in the past weeks, we rebased the feature/techdocs-azure-storage branch on viavarejo/backstage
@OrkoHunter: May you provide us more details about the changes you are requesting?


Add a parameter for making the thresholds of the LowNodeUtilization strategy relative to average values

Reason for this PR
Currently, the thresholds that can be set for the LodNodeUtilization strategy only allow to make sure that nodes aren't over or underutilized compared to thresholds relative to their capacities. However, sometimes, it's desirable to make sure all nodes are "similarly" utilized to ensure the proper balance of a cluster. While this is possible to implement using the current thresholds, the values needed to achieve such a balancing behavior would be dependent on the number of nodes, pods, and their memory/CPU requests, which is not very practical to configure, especially for dynamic clusters.
Feature of this PR
This PR enables the descheduler to achieve such a goal. We define an additional useDeviationThresholds boolean parameter (the name is maybe not the best, it can change). If false, the descheduler behaves as now. If true, the thresholds are considered as percentage deviations relative to the average utilizations among all nodes.
For example. Considering only the memory metric. If nodes have utilizations of [10%, 20%, 30%, 20%] and both threshold and targetThreshold are 5%. The average node utilization is (10% + 20% + 30% + 20%) / 4 = 20%. The first node has an utilization of 10%, which is lower than 20% (average) - 5% (threshold). The node is hence considered underutilized. The third node has an utilization of 30%, which is greater than 20% (average) + 5% (targetThreshold). The node is hence considered overutilized. Both other nodes have utilizations within the [20% - 5%, 20% + 5%] window and are hence considered appropriately utilized.
Once nodes are labeled as under- or overutilized, the strategy behaves exactly the same as before.
Code style comment
Since the only change compared to the original strategy is the way nodes are categorized as over- and underutilized, I thought it is best to include that in the existing LowNodeUtilization strategy and not to create a new strategy. Another option would be to create two distinct strategies that share methods. I went for the first option as that was the easiest to implement. I would definitely not be against the second option.
Test
We had this need/problem in our 200+ pods cluster. We deployed the descheduler from this PR with success in our test clusters. It passes our tests (that make sure that the correct pods are evicted when the cluster is unbalanced) and works as expected and without any detected issues for now.
Vision
In general, the proposed feature goes into the direction of a more general intention we have with the descheduler: take the state of the cluster, smartly compute a new schedule for all the pods (not one by one but all at once to leverage the complete knowledge we have) according to a given strategy (ours: balanced utilization), and then implementing the transition from the current state to the desired state. This PR is our first (small) step towards that goal but is there such a plan for the descheduler? Overall, that  would turn the descheduler into a "cluster scheduler" in contrast to the current "per-pod scheduler" of Kubernetes. I know there is a plan to eventually incorporate scheduling in the tool and not to rely on the existing scheduler, but not sure if you're looking into such optimization-driven strategies.

We should get https://github.com/kubernetes-sigs/descheduler/pull/434 merged first though.

@AmoVanB https://github.com/kubernetes-sigs/descheduler/pull/434 merged

Thanks @AmoVanB, I will take over from here ;) @ingvagabund, Shall I open another PR with the required changes?

@matthieu-eck by all means. Thank you for continuing the work @AmoVanB started!!!

Closing in favor of https://github.com/kubernetes-sigs/descheduler/pull/751
/close


If signing of a file fails, back off for 10 seconds and retry

Fixes https://github.com/AdoptOpenJDK/openjdk-build/issues/1235 (or at least makes mitigation more likely)
Hit three instances of this last night:

https://ci.adoptopenjdk.net/view/Failing Builds/job/build-scripts/job/jobs/job/jdk13u/job/jdk13u-windows-x86-32-hotspot/109/console
https://ci.adoptopenjdk.net/view/Failing Builds/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-windows-x64-openj9/517/console
https://ci.adoptopenjdk.net/view/Failing Builds/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-windows-x64-openj9-windowsXL/124/console

Signed-off-by: Stewart Addison<EMAIL_ADDRESS>

Pushing this through in the absence of anyone actively reviewing it

Fix has worked - from a build tonight:
Done Adding Additional Store
Successfully signed and timestamped: ./hotspot/jtreg/native/redefclass006.dll

Done Adding Additional Store
Error information: "SignerTimeStamp() failed." (-2147012894/0x80072ee2)
SignTool Error: An unexpected internal error has occurred.
WARNING: Failed to sign ./hotspot/jtreg/native/redefclass008.dll at 09:44:35: Possible timestamp server error - RC 0 ... Retrying in 10 seconds
Done Adding Additional Store
Successfully signed and timestamped: ./hotspot/jtreg/native/redefclass008.dll

Done Adding Additional Store


[Feature] Being able to create multiple Client instances with different api_key

Is this your first time submitting a feature request?

[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing client functionality

Describe the feature
Hi, in my app, i need to connect to two different pinecone accounts with different api_key. I don't find a way to do it with this lib with pinecone.init. Did i miss something? If not, can we add that as a feature?
Describe alternatives you've considered
No response
Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
No response

@minzhang-haus Do you intend to connect to both the accounts simultaneously?
If I'm thinking in the right direction, you can definitely have 2 different accounts with 2 different api keys.
You can continue to use the pinecone.init to create indexes individually for both the accounts depending on their unique API keys and environments.
Happy to discuss further into the details of the issue

Note that as of v3.0.0, the client has moved away from global state variables to Pinecone class instances, which allows you to maintain multiple instances.
For example:
from pinecone import Pinecone

pc1 = Pinecone(api_key=api_key1)
pc2 =Pinecone(api_key=api_key2)
... Do different operations against the different projects...

References:

Readme - Using configuration keyword params
SDK 3 migration guide


Fix for WSL 2 clip.exe

Apparently clip.exe doesn't work properly with WSL 2: It doesn't exit when EOF is reached on STDIN. This is a workaround by making sure that SIGPIPE is sent on EOF.

This causes an issue when copying the pwd with prefix + Y
https://github.com/tmux-plugins/tmux-yank/blob/1b1a436e19f095ae8f825243dbe29800a8acd25c/scripts/copy_pane_pwd.sh#L24
cat: '|': No such file or directory
cat: clip.exe: No such file or directory

This was addressed in #145 but not approved. The problem still remains on WSL 2.


problem ios not show site as secure but window and linix showing secure

Example URL(s)
https://www.livemusicthisway.com
https://www.livemusicthisway.com/Spotlight
Actual Behavior
problem ios not show site as secure but window and linix showing secure
Expected Behavior
should be secure on all operating systems
Additional information
No response

Howdy @AlFink57, unfortunately there's nothing we (as Cloudflare) can do to fix that.
It's really up to the site owner to solve it. If you are the site owner, you might want to try reaching out to Cloudflare Support or posting a topic in the Cloudflare Community.