ENH: Movement correction for OPM data

Time-varying position / head-movement correction would be the next natural step after #10780 I think.
IIRC the procedure is/could be here:

Extract time-varying rigid-body position + rotation of the system, typically using optical tracking: new mne.chpi.read_head_pos_optitrack, or mne.chpi.calculate_head_pos_optitrack, depending on the complexity of the problem (if optitrack directly gives pos+rot, or we actually need to do some calculation). It's a bit of a misnomer, but mne.chpi is where all our head-position related stuff lives, so the optitrack outputting pos+rot as a function of time is natural there. We could put it in a new mne.optitrack, or mne.preprocessing.opm or something if we want, but optical tracking seems pretty generic.
Clean up position+rotation parameters: new mne.chpi.clean_head_positions or so? Or maybe this should be built into calculate_head_pos_optitrack. TBD.
Add head positions to the raw data (as new channels) -- this is what maxwell_filter does, so it's natural for us to do it as well -- maybe mne.chpi.add_head_positions(raw, pos) and you can choose how to interpolate. (Under the hood this probably boils down to a mne.add_channels((raw, RawArray(...))) or so but we'll need to interpolate/upsample the positions+rotations, and setting the info correctly will be annoying -- so not totally trivial, thus worth wrapping.)
Regressing can then be done immediately with regress_artifact I think. OPM-specific options we need, if any, should hopefully be useful for other types of regression and thus reasonably implemented there.

@neurofractal did you ever play around/try regressing quaternions rather than Euler angles for rotation angle (by my bad memory you use Euler for regression)? We can convert back and forth but the .pos files we use for position + rotation information in space store in quaternions, so if those work just as well or better than Euler angles it's a slightly more natural fit here.

Would be useful - just as a note of caution, motion capture data need to be good quality or else it adds noise to your data when regressing.

Since it's really used for preprocessing the data and we might end up needing motion/movement-specific stuff (like cleaning/smoothing/interpolating the motion data for example?) then a new namespace mne.preprocessing.motion or mne.preprocessing.movement would make sense, e.g. with a first function mne.preprocessing.movement.read_optitrack or so.
So far I think https://github.com/mne-tools/mne-python/blob/main/mne/datasets/ucl_opm_auditory/ucl_opm_auditory.py just has the stationary data when you download it but there is also a moving version right @neurofractal ? If so that would be a good dataset to use for improving the OPM tutorial. And we can take the optitrack data from it and add it to mne-testing-data for unit testing.
But @Gon-reina you could start by open a draft pull request to add the mne.preprocessing.motion.read_optitrack or so based on some code you already have (?) and we can iterate on the API and namespace there if needed. git mv is pretty easy. And we can update mne-testing-data and the tutorial in subsequent commits.

That sounds like a good plan. I do have code that will read and process optitrack data but it's in MATLAB. However I don't think it would be too difficult to implement in Python. I will open the draft pull request once I have something working. I could also record some movement data since I have access to our OPM lab, might be a good dataset just for testing movement correction.

I could also record some movement data since I have access to our OPM lab, might be a good dataset just for testing movement correction.

That would be great -- for mne-testing-data ideally it would be very short (1-10 sec maybe?). Whatever minimum amount of data allows us to be confident that the reader is working properly. You could record this data and process it with your MATLAB code and save the output to .mat or CSV or something and include it with the raw optitrack data when uploading to mne-testing-data. Then your PR here can use the data and np.testing.assert_allclose that the Python result is similar to MATLAB.

Sounds good! I'll do a quick scan later this week  as soon as I'm free and run it through MATLAB. Thanks for the help!

As a word of caution - we have found regression performs far worse than spatial filtering techniques like HFC... so if you have enough channels this is the way to go.

Thanks for the advice! I do agree with that and I do use HFC with all of my data. However, I do find that our background fields are really small thanks to the use of our coils. This already helps massively with movement artifacts so HFC doesn't tend to make much of a difference (at least from my experience) if the nulling is working properly. Some people in our group are starting to do some sitting to standing experiments and stuff like that which involves a lot of head movement so I was just curious as to how much of a difference this could make to the data. I also just wanted to contribute to mne to make it more OPM friendly so thought this could be a good first issue for that.

Awesome - good luck :)

Adding something along these lines in a tutorial would be good.


"Brusturoasa", "Buruieniș", "Buruienișu de Sus", "Camenca", "Cuchiniș", "Hângănești" are villages in "Brusturoasa" common, "BACĂU" county

Description : When user is typing the villages in the search bar, the locations should appear in the dropdown menu correctly spelled and with localities information (as in Law nr. 2 din 16 februarie 1968)
Preconditions : the website (https://peviitor-ro.github.io/ui.orase/) is up and runing.
After every step delete the text you typed from the search bar.

Steps 2: Click on the search bar and write "Buruieniș"
Expected result: In the drop down menu you find "Buruieniș, BACĂU (Brusturoasa)"

Steps 3: Click on the search bar and write "Buruienișu de Sus"
Expected result: In the drop down menu you find "Buruienișu de Sus, BACĂU (Brusturoasa)"

Steps 4: Click on the search bar and write "Camenca"
Expected result: In the drop down menu you find "Camenca, BACĂU (Brusturoasa)"

Steps 5: Click on the search bar and write "Cuchiniș"
Expected result: In the drop down menu you find "Cuchiniș, BACĂU (Brusturoasa)"


Not for modal pages

You can trap only nonmodal pages.
Is there any plan to expand this function also for modal pages?

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

ID: bc6deba8-65f3-664c-14c3-796480c4447f
Version Independent ID: d4aa9549-c5fb-4165-8544-4d4aaf965907
Content: Trap Method - Business Central
Content Source: dev-itpro/developer/methods-auto/testpage/testpage-trap-method.md
Service: dynamics365-business-central
GitHub Login: @solsen
Microsoft Alias: solsen

Thanks for the feedback. We will refresh the topic with that note. With regards to if the functionality will be expanded, please file an idea.


how to create symbols_in_aphabet ?

Could you help me how to create symbols_in_aphabet ?
what is the symbols_in_aphabet format?
Could you give me some example?
thank you very much

It's a simple string of symbols from alphabet, for exaplme "0123456789abc".
Position of symbol will interpret as a class id of symbol.

@BelBES ok ,I see,thank you so much


[triton-mlir][unfungle] Deep reflow of import ordering

Continuation of Unfungle Issue: #884
This is a partial rework of draft #887 on top of the triton-mlir branch
This reflows import ordering into a consistent history.
This does not address the mypy type errors, this just puts things in the places where those errors can be addressed.

note:

no changes to triton.__all__
only additions to triton.language.__all__

There's a bit of a question about how to publish the impl api; since it's clearly useful to write other impls, and likely something we want to expose to users.
The simplest answer is to just say it lives in the same namespace as triton.language; and essentially have a shadow api

@ptillet is this something you want to move forward with and massage towards landing, or is it too big a step? Are there changes you'd like to see?

@ptillet Ok; sounds reasonable.
Do you see the logic in this breakout?

recursive core defined in terms of itself.
other library methods defined in terms of the functionality group the belong in.

not really shown in this PR, but explored in the previous one is that fixing the import cycles means that mypy types can be decorated on most things present; which is what this is really for.

I will review it after the merge, but in the meantime thanks a lot for the work!


select chain with blank or undefined chain identifier?

Hi,
I'm not familiar with the NGL selection syntax - some pdb files we work with end up with blank chain identifiers, is there a way to select these with the NGL selection syntax?
Something equivalent to this from the pymol selection docs - "A blank or undefined chain identifier is entered as two apostrophes".
best wishes,
Colin

The current behaviour is to automatically assign chain IDs where they're not supplied, so typically you can just use :A. This surprised me a bit when I looked at it earlier. The code will also try to detect breaks in the chain and start a new chain ID when this happens, which could lead to unpredictable chain identifiers.
Do you have structures that are a mixture of atoms with standard chain identifiers and blank ones? If it's a mixture then that's tricky, but there's a possible solution*. If they're exclusively one or the other then for the blank ones a blank chain selection term doesn't actually add anything (it would be all of your atoms)

Would need a bit of thought but possible:

A supress automatic chainname assignment
Add code to handle : or maybe :\0?!  and treat that as matching undefined/null/" "

thanks fred,
it is a mixture of standard chain ids and blank ones, so it is the tricky case.
I'm not sure it is doing automatic chainname assignment when its a mix of blank and not blank ids, I still see the blank ids when using the 'chain proxy' object returned by structure.getChainProxy()

Are you able to share an example file? (I can just strip some chain IDs from a PDB if not but if you can share a real file it would save any misunderstanding on my part :) )

Are you able to share an example file?

I would need to check with the person whose file it is.
Also, I'm about to be Away From Keyboard for three weeks - I will pick up this problem again when I'm back and share an example file.
Thanks for your responses,
cheers,
C

Okay - I had a quick play, and this patch in selection-parser.ts fixes it if the first atom has a chain ID (but not if you start without chain IDs and have them later). As you say, let's pick it up in a few weeks.
selection-parser.ts about L410
    const chain = atomname[0].split(':')
    if (chain.length > 1) {
      if (chain[1]) {
        sele.rules!.push({
          chainname: chain[1]
        })
      } else {
        sele.rules!.push({
          chainname: ""
        })
      }
    }

hi Fred,
the first atom does have a chain ID so i can test your workaround,
um... I'm not sure how to get the built ngl.js file (i think it is an older one in the dist directory of your WIP branch),
I do npm install ngl (?) then get the .js file from where?
cheers,
Colin

sorry... I didn't see the file DEVELOPMENT.md with the build instructions in it

yes, I think your workaround works. I see from your commit comment that there would still be work to do making this consistent before the changes could be merged into the main branch.
I think the pdb files come from https://salilab.org/modeller/, here's an example:
test_mischain.pdb.txt
thanks for your help,
Colin

the software that produced these files no longer gives blank chain identifiers,
i think this can be forgotten about


Reboot required after setting custom console container

No reboot should be required.

Verified with custom iso of v0.5.0 off of v0.5 branch.
Note: you will be logged out of your console, but it doesnt' reboot.


Duplicate symbol problem in nuttx

When enabling CONFIG_DEBUG_LINK_WHOLE_ARCHIVE, building flat mode nuttx with qemu-rv core always failed.
This is the log when building flats64
[0/1] Re-running _CMake..._
-- Configuring done (0.3s)
-- Generating done (0.2s)
-- Build files have been written to: /mnt/files/test/cache/mainline/nuttx/build
[1251/1252] Linking C executable nuttx
FAILED: nuttx
: && /mnt/files/test/toolchain/riscv-none-elf/bin/riscv-none-elf-gcc  -Wl,-melf64lriscv -Wl,--gc-sections -Wl,--whole-archive -nostdlib -Wl,--entry=__start -Wl,--cref -Wl,-Map=nuttx.map CMakeFiles/nuttx.dir/empty.c.obj -o nuttx  -Wl,--script=/mnt/files/test/cache/mainline/nuttx/build/ld.script.tmp  -Wl,--start-group  arch/libarch.a  binfmt/libbinfmt.a  drivers/libdrivers.a  fs/libfs.a  libs/libc/libc.a  mm/libmm.a  sched/libsched.a  boards/libboard.a  apps/libapps.a  apps/builtin/libapps_builtin.a  apps/system/nsh/libapps_nsh.a  apps/system/nsh/libapps_sh.a  apps/testing/getprime/libapps_getprime.a  apps/testing/ostest/libapps_ostest.a  apps/examples/hello/libapps_hello.a  /mnt/files/test/toolchain/riscv-none-elf/bin/../lib/gcc/riscv-none-elf/13.2.0/rv64imafdc_zicsr/lp64d/libgcc.a  -Wl,--end-group && :
/mnt/files/test/toolchain/riscv-none-elf/bin/../lib/gcc/riscv-none-elf/13.2.0/../../../../riscv-none-elf/bin/ld: arch/libarch.a(riscv_allocateheap.c.obj): in function `up_allocate_heap':
/mnt/files/test/cache/mainline/nuttx/arch/risc-v/src/common/riscv_allocateheap.c:70: multiple definition of `up_allocate_heap'; arch/libarch.a(qemu_rv_allocateheap.c.obj):/mnt/files/test/cache/mainline/nuttx/arch/risc-v/src/qemu-rv/qemu_rv_allocateheap.c:115: first defined here
/mnt/files/test/toolchain/riscv-none-elf/bin/../lib/gcc/riscv-none-elf/13.2.0/../../../../riscv-none-elf/bin/ld: warning: nuttx has a LOAD segment with RWX permissions
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

I have added weak_function to the definition of the function up_allocate_heap in riscv_allocateheap.c, but it may selected wrong symbol without enabling CONFIG_DEBUG_LINK_WHOLE_ARCHIVE. After googling, I found that ld only uses the first matched symbol in the archive (whether it is strong or weak). Is there any suggestion about how to fix this?

@lupyuen any idea?

@acassis Sorry I'm not sure how we might fix this

@lupyuen Is it possible to always enable "--whole-archive" for all library? As DEBUG_OPT_UNUSED_SECTIONS is enabled by default, it may have no change for the final binary.

Is it possible to always enable "--whole-archive" for all library? As DEBUG_OPT_UNUSED_SECTIONS is enabled by default, it may have no change for the final binary.

@xiaoxiang781216 and @tmedicci would you know about "--whole-archive" and DEBUG_OPT_UNUSED_SECTIONS? Sorry I'm not sure about this.

It seems that only using --whole-archive" for kernel library is better idea. I found an example in zephyr.
https://github.com/zephyrproject-rtos/zephyr/blob/main/cmake/linker/ld/target.cmake#L127-L143

Is it possible to always enable "--whole-archive" for all library? As DEBUG_OPT_UNUSED_SECTIONS is enabled by default, it may have no change for the final binary.

@xiaoxiang781216 and @tmedicci would you know about "--whole-archive" and DEBUG_OPT_UNUSED_SECTIONS? Sorry I'm not sure about this.

--whole-archive will pack all library into one before linking.

Is it possible to always enable "--whole-archive" for all library? As DEBUG_OPT_UNUSED_SECTIONS is enabled by default, it may have no change for the final binary.

@xiaoxiang781216 and @tmedicci would you know about "--whole-archive" and DEBUG_OPT_UNUSED_SECTIONS? Sorry I'm not sure about this.

--whole-archive will pack all library into one before linking.

The man says it changes the symbol searching.


Add Max2Sequence to be used in ConnectionPool

Codecov Report

Merging #419 (e288bf3) into main (358fa59) will increase coverage by 0.24%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #419      +/-   ##
==========================================
+ Coverage   55.18%   55.42%   +0.24%
==========================================
  Files         110      111       +1
  Lines        7904     7947      +43
==========================================
+ Hits         4362     4405      +43
  Misses       3542     3542

Files
Coverage Δ

Sources/ConnectionPoolModule/Max2Sequence.swift
100.00% <100.00%> (ø)


changed minor details

I have only adjusted minor details. There is one general question: Is "enabling platform" a fixed term? Otherwise I would go for "Core Facility".

Is "enabling platform" a fixed term? Otherwise I would go for "Core Facility".
Sorry, I didn't see this.

I thought "core facility" is a bit more fixed (Großgerätezentrum DFG), which could exclude small "service labs".


Change all confreg to registry

Motivation:
replace all CONFREG to REGISTRY in the code.
see detail #253
Modification:
Result:
Fixes #253

Codecov Report

Merging #255 into master will increase coverage by 0.02%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master     #255      +/-   ##
============================================
+ Coverage     71.31%   71.34%   +0.02%
- Complexity      961      962       +1
============================================
  Files           342      342
  Lines         14299    14299
  Branches       2300     2300
============================================
+ Hits          10198    10202       +4
+ Misses         2910     2906       -4
  Partials       1191     1191

Impacted Files
Coverage Δ
Complexity Δ

...rc/main/java/com/alipay/sofa/rpc/log/LogCodes.java
53.57% <ø> (ø)
0 <0> (ø)
:arrow_down:

.../alipay/sofa/rpc/registry/local/LocalRegistry.java
66.26% <0%> (ø)
29 <0> (ø)
:arrow_down:

...alipay/sofa/rpc/registry/zk/ZookeeperRegistry.java
62.89% <0%> (ø)
0 <0> (ø)
:arrow_down:

.../main/java/com/alipay/sofa/rpc/tracer/Tracers.java
42.3% <0%> (+2.56%)
0% <0%> (ø)
:arrow_down:

...pay/sofa/rpc/client/aft/InvocationStatFactory.java
87.8% <0%> (+4.87%)
16% <0%> (+1%)
:arrow_up:

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 672adfd...f4850c4. Read the comment docs.


error :  Pytorch inference

I try to inference with Pytorch.
Tensorflow 2.1 is not available now.
So, I installed tensorflow 2.7 and run programs.
Then I got the following error.
tensorflow.python.framework.errors_impl.OpError: not an sstable (bad magic number)

It is not true. You can still get tensorflow 2.1.
See https://www.tensorflow.org/install/source#linux
Also, you can always build it from source or probably google a way how to read old model files.


Need to show the Context menu on click of other icon

Hi,
I need to show the context menu on the click of icon to each node instead of right click.i faced this problem in one requirement.
please help how to proceed further
how can i do this?
Thanks,
Srinadh

Please keep the discussion in a single ticket. I already answered in your other ticket - the solution is the same - create a plugin. Read the full response in the other ticket.


(blender) Servers fail to push the latest version to the repository (v3.0.0)

Expected Behavior
The repository should pick up the latest Blender version (3.0.0), released 3 December 2021.

Current Behavior
Based on Choco Bot's error section, a "request entity [appears to be] too large" to be pushed. Hence, the blender package is currently stuck on 2.93.6 as of writing. Choco Bot's error message is given below:
Chocolatey v0.10.15 Attempting to push blender.3.0.0.nupkg to https://push.chocolatey.org
Failed to process request. 'Request Entity Too Large'.
The remote server returned an error: (413) Request Entity Too Large..

Possible Solution

Although I'm not greatly familiar with the Chocolatey infrastructure, I inferred from Choco Bot's error message that perhaps a limits exception may be issued for the Blender package?

The current maximum size for packages (.nupkgs) on the community repository is 200mb. It looks like the blender 3.0 installer is slightly over 200mb, so with it included in the package it makes the package too big for the community repository.
The solution is to download the installer at runtime, instead of embedding it inside the package.
PRs are welcomed here, or I think I may be able to get to this fairly soon.

What @TheCakeIsNaOH says is most likely the culprit of the package failing.
As such this package needs to be changed to download the installer instead of having it embedded inside the package going forward 😢

Any news on this? Are there any samples of other apps that I could look into to give this a stab?

Any news on this? Are there any samples of other apps that I could look into to give this a stab?

@fkrauthan
Several of the community packages make use of downloading the installer on the consumer's computer; when being installed through chocolatey. Chromium, Firefox, and Google Chrome are a few examples. Good luck in the new year.

@fkrauthan
Several of the community packages make use of downloading the installer on the consumer's computer; when being installed through chocolatey. Chromium, Firefox, and Google Chrome are a few examples. Good luck in the new year.

@RedBaron2 Ok perfect. I gave it a stab. Never worked with Powershell before so there might be room for improvement but it works. Created a PR already.

Seem to be working now after my merge request. I see version 3.0 on the repo. This can probably be closed.

Alrighty, thanks for your help! @fkrauthan 🎉


Netflix clone navbar fixed to the top

Closes: #[issue number that will be closed through this PR]
issue: #278
Describe the changes you've made:
Fixed the navbar to the top. Changed background of navbar and adjusted the colors of items.
Checklist:

My code follows the style guidelines of this project.
I have performed a self-review of my own code.
I have commented my code, particularly in hard-to-understand areas.
I have made corresponding changes to the documentation.
New and existing unit tests pass locally with my changes.

@Aanchal116 Please link the respective issue with your PR.

@urvashi-code1255  I Edited the PR. Please have a look and guide me further. Thankyou.


build.gradle.kts compatible documentation

https://armeria.dev/docs/client-retrofit/
Currently, armeria docs was written in this form.
dependencies {
    implementation platform('com.linecorp.armeria:armeria-bom:1.14.1')

    ...
    implementation 'com.linecorp.armeria:armeria-retrofit2'
}

It's a valid build.gradle groovy script.
But if the document is written in this form:
dependencies {
    implementation(platform("com.linecorp.armeria:armeria-bom:1.14.1"))

    ...
    implementation("com.linecorp.armeria:armeria-retrofit2")
}

It's also compatible with build.gradle.kts(kotlin) script.
Recently, a lot of users are starting to use kotlin scripting.
I suggest to use this form(or display "Gradle", "Gradle(Kotlin)", "Maven" tabs at here)

Nice suggestion! It should be helpful to add Gradle(Kotlin) tab to RequiredDependencies component.
https://github.com/line/armeria/blob/14078714659814a8d34cc9fbca15ee011524c4dc/site/src/components/required-dependencies.tsx#L95-L99
Are you interested in sending a PR? 😄

Hi @ikhoon @tokuhirom, I've put up a PR to address this issue, could you please help review it?

Great! I’m happy to review it.


get_command method

Hi, I'm trying to use your library, first of all thanks for making available it via Python Package Index.
I have an idea to to improve it a bit.
I've noticed there is a get_param method, but there is not get_command method. My current task if to filter across al commands, find G1 commands and pass params farther to another method.
Do you mind if I add get_command method?

That method could be added for sure if its useful. The reason why I didn't is you will always have a command (except for a comment), so you can just match the tuple (ie line.command == ('G', 1)). Whereas you are not guaranteed to have a particular parameter, so returning a default value can be useful.
If you make a pull request, I'd be happy to look through it

@AndyEveritt whan are you planning new release?

I will put it up tomorrow

New version is up


Contact aren't saved

Hello!
When I receive an email from a new contact his address will not be saved in owncloud contacts... Is there any solution?
Thanks!

Contacts can only be automatically saved when you send an email to that contact (you really don't want to add contacts for every email received). Just go to Settings > Contacts and enable the only option there.

I just realized you mentioned Owncloud, so not sure if this is relevant.

Sorry, but this functionality doesn't work with ownCloud storage.

Is there a way to chose the native RL contacts instead OC contacts as before?

No, but it's an interesting idea, to make a special setting for owncloud.


Items placed under wrong header.

I am not able to find out why my items are placed under the wrong sticky header. I debugged it by setting the text of the SectionableItem to getHeader().getTitle() in it's onBindViewHolder. Every item has set the right HeaderItem, but is still placed under an entirely different header.
My Headeritem looks like this:
`public class MyHeaderItem extends AbstractHeaderItem {
private String title;
public MyHeaderItem (String title) {
	this.title = title;
	setSelectable(false);
}

@Override
public int getLayoutRes() {
	return R.layout.item_my_header;
}

@Override
public HeaderViewHolder createViewHolder(FlexibleAdapter adapter, LayoutInflater inflater, ViewGroup parent) {
	return new HeaderViewHolder(inflater.inflate(getLayoutRes(), parent, false), adapter, true);
}

@Override
public void bindViewHolder(FlexibleAdapter adapter, HeaderViewHolder holder, int position, List payloads) {
	holder.title.setText(title);
}

@Override
public boolean equals(Object o) {
	if(o instanceof  MyHeaderItem)
	{
		return ((MyHeaderItem)o).title.equals(title);
	}else
		return false;
}

public String getTitle() {
	return title;
}

}
`
I call super(header) in the constructor of the SectionableItem, as I said, I verified the corret HeaderItems are set by calling getHeader in the Sectionables onBindViewHolder.
Do you have any idea what could be wrong? Thanks!

A characteristic seems to be that correct items are placed in all headers but the last, which will contain way more items than it should. Those items are missing in the previous headers, but there don't seem to be wrong items in the non-last headers. So somehow most of the items end up in the last header regardless of what their getHeader() returns.

@ferbeb, what you can try is:

enable Adapter logs
see if when you create the list, before the Adapter receive it, the list is what you expect, considering the use case 1 and 2 in the wiki page. (Use debugging and some breakpoints).
check if after the Adapter initialization (without any action), the list is the same
enable properties one by one, and see if the list is the same.

I don't have enough elements to discover why you have that. Try to paste the logs here with the full list when it's fully scrolled.

@davideas
Thanks for your help.
 The items are supposed to be sorted by header, right?
I triple-checked that the correct header is set, but it never occured to me that it would make sense for the items to be sorted by header to have a consistent order of the headers.

@ferbeb, the items are not sorted, are shown as you create the list, so you are responsible to create it sorted.
Headers are shown on the top of the first item processed, if a header is already shown, and you have an item with that header not in order, then this item will appear under another section, even if the header is correct.

Yes, that makes sense. I don't know where I got the idea that they would automatically be sorted to the right header - that would not really make sense considering that you never specify any order for the headers.
Thanks for this library and the fast responses! 👍


Fix BaseAssemblyResolver.SearchDirectory.

Fix BaseAssemblyResolver.SearchDirectory to try both .exe and .dll when searching for an assembly.
This fixes a scenario when there is a native Foo.exe and a managed Foo.dll in the search directories.

@marek-safar PTAL


build error "error: use 'template' keyword to treat 'get' as a dependent template name"

I get the following error when I follow the build instructions
ERROR: /runtime/BUILD:613:1: C++ compilation of rule '//:data' failed (Exit 1) clang failed: error executing command /usr/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 56 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
In file included from lib/data/data_kernels.cc:22:
lib/data/filter_dataset.h:273:33: error: use 'template' keyword to treat 'get' as a dependent template name
} else if (predicate_value->get()) {
^
template
1 error generated.
Target //tools:bef_executor failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 97.526s, Critical Path: 19.24s
INFO: 370 processes: 370 linux-sandbox.
FAILED: Build did NOT complete successfully

Would you mind pulling the latest version and try again? Seems the culprit line has been updated already (https://github.com/tensorflow/runtime/blob/master/lib/data/filter_dataset.h#L273). Thanks!

Yes that works fine now. Thanks

Would you mind pulling the latest version and try again? Seems the culprit line has been updated already (https://github.com/tensorflow/runtime/blob/master/lib/data/filter_dataset.h#L273). Thanks!


Respect ServicePointManager.DefaultConnectionLimit for .NET Framework in parallel operations

For parallel upload and download, we use a default of 5 connections. For .NET Framework, the default value is 2.
We should consider whether we should use Min(5, DefaultConnectionLimit) for .NET Framework. For .NET core there is no maximum - https://blogs.msdn.microsoft.com/timomta/2017/10/23/controlling-the-number-of-outgoing-connections-from-httpclient-net-core-or-full-framework/
Note that we updated StorageTestBase to use more connections for our live tests. This issue is suggesting that we investigate whether this should be done for product code as well.

Hi @JoshLove-msft, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.


Panic in bevy_ecs, probably related to windowing

The following code causes bevy to panic
use bevy::prelude::*;

fn main() {
    App::new()
        .add_plugins(DefaultPlugins.set(WindowPlugin {
            primary_window: Some(Window::default()),
            exit_condition: bevy::window::ExitCondition::OnPrimaryClosed,
            close_when_requested: true,
        }))
        .run();
}

2023-03-07T15:16:55.444347Z  INFO bevy_winit::system: Creating new window "Bevy App" (0v0)
2023-03-07T15:16:55.445151Z  INFO winit::platform_impl::platform::x11::window: Guessed window scale factor: 1
2023-03-07T15:16:55.483296Z  INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon RX 480 Graphics (RADV POLARIS10)", vendor: 4098, device: 26591, device_type: DiscreteGpu, driver: "radv", driver_info: "Mesa 23.0.0", backend: Vulkan }
2023-03-07T15:16:56.321835Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux rolling Arch Linux", kernel: "6.2.2-arch1-1", cpu: "Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz", core_count: "4", memory: "31.3 GiB" }
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/me/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_ecs-0.10.0/src/schedule/schedule.rs:1146:56
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

In Cargo.toml, set dependencies to only bevy = "0.10.0" and start with cargo run

I have this same issue, I'm running wayland on NVIDIA. It only takes this to reproduce:
`
use bevy::prelude::*;
fn main() {
App::new().add_plugins(DefaultPlugins).run();
}
`

That's not the same issue, and your log shows Bevy starting as X11... probably something to look into. Could you open another issue if you can't find something between Wayland and X11?

I tested on an x11 session and there wasn't an issue. I put it here because the log looked a lot similar but looking again I can see it was panicking from different spot. Should I open a new issue?

i have same problem, i resolved to change:
exit_condition: bevy::window::ExitCondition::OnPrimaryClosed
with :
exit_condition: bevy::window::ExitCondition::OnAllClosed

yep, reproduce on windows 10 too
2023-03-10T03:43:09.400986Z  INFO bevy_winit::system: Creating new window "Bevy App" (0v0)
2023-03-10T03:43:09.794907Z  INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce GTX 1050", vendor: 4318, device: 7297, device_type: DiscreteGpu,driver: "", driver_info: "", backend: Dx12 }
2023-03-10T03:43:11.385306Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Windows 10 Pro", kernel: "19045", cpu: "Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz", core_count: "6", memory: "31.9 GiB" }
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', C:\Users\nicki\.cargo\registry\src\mirrors.ustc.edu.cn07d6cef1b9e54f94\bevy_ecs-0.10.0\src\schedule\schedule.rs:1146:56
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

with this:
use bevy::prelude::*;
fn main() {
App::new().add_plugins(DefaultPlugins).run();
}
same prob':
Finished dev [optimized + debuginfo] target(s) in 1.20s
Running target\debug\syapk_bevy_gravity.exe
2023-03-10T08:33:25.965467Z  INFO bevy_winit::system: Creating new window "Bevy App" (0v0)
2023-03-10T08:33:26.098325Z  INFO bevy_render::renderer: AdapterInfo { name: "Intel(R) HD Graphics 620", vendor: 32902, device: 22806, device_type: IntegratedGpu, driver: "Intel Corporation", driver_info: "Intel driver", backend: Vulkan }
2023-03-10T08:33:30.215743Z  INFO bevy_window::system: No windows are open, exiting
2023-03-10T08:33:30.219088Z  INFO bevy_winit::system: Closing window 0v0


visualvm: 2.0.6 -> 2.0.7

Motivation for this change
Fails to run as 2.0.6 doesn't support jdk16. However, 2.0.7 does.
Things done

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

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

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

Result of nixpkgs-review pr 121068 at 69035540 run on x86_64-linux 1

1 package built successfully:

visualvm

2 suggestions:

warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern '/usr/bin/${awk}' doesn't match anything in file 'platform/lib/nbexec'
Near pkgs/development/tools/java/visualvm/default.nix:37:0:
   |
37 |     description = "A visual interface for viewing information about Java applications";
   | ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/development/tools/java/visualvm/default.nix:23:3:
   |
23 |   installPhase = ''
   |   ^

Please take a look at why the substitution fails:
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern '/usr/bin/${awk}' doesn't match anything in file 'platform/lib/nbexec'
Near pkgs/development/tools/java/visualvm/default.nix:37:0:

validated this still works. Approved by maintainer :)


Add support for writing ports of Ignition Robotics libraries and ports for ignition-cmake0 and ignition-math4

The Ignition Robotics Libraries ( https://ignitionrobotics.org ) are a set of libraries that are used to develop robotics applications. In particular, they are dependencies for the widely used Gazebo simulator ( http://gazebosim.org ).
In this PR, three ports are added:

ignition-modularscript ( https://github.com/microsoft/vcpkg/commit/8fb25c18fc34249fd7c496607a01b862a6e9d9d1 )
ignition-cmake0 : A port for the version 0 of the ignition-cmake (https://ignitionrobotics.org/libs/cmake) library
ignition-math4 : A port for the version 4 of the ignition-math (https://ignitionrobotics.org/libs/math)  library

As most ignition libraries follow the same structure and convention, the use of ignition-modularscript reduces the process of writing a port of an ignition library to a few lines, unless the library has some particular features, for which custom lines can be added to the portfile.
One interesting feature of the ignition libraries  is that they different major version of the same library can be installed side-by-side in the same system. For this reason, it is quite natural to create a port for each major supported version, to enable user and downstream project to autonomously select which major version of the library they need. This is the reason why, as a first example of ports, Ignition CMake 0 and  Ignition Math 4 are added even if more recent version have been released as well, as they are the version used as dependencies for the latest stable version of the Gazebo robotic simulator.

Related downstream issue: https://github.com/j-rivero/vcpkg_ignition/issues/2 .
cc @seanyen @j-rivero

The ports now compile fine in all the triplets tested by the CI system. Two patches were necessary to permit compilation on arm-windows and arm64-windows, they have been already submitted upstream and included as patches in the ignition-cmake0 port:

https://bitbucket.org/ignitionrobotics/ign-cmake/pull-requests/163
https://bitbucket.org/ignitionrobotics/ign-cmake/pull-requests/168

Thanks for the PR!

Thanks @vicroms ! Just to understand, I now need to add 🤖 to any robotics-related PR? :smile:

The suggested format for titles is "[ports] description" but I thought that the 🤖 would be a nice touch 🤣

Related downstream issue: j-rivero/vcpkg_ignition#2 .
cc @seanyen @j-rivero

wow! thanks Silvio!


Svelte script block's content highlights as string entirely

Hey there!
Unfortunately, a code inside script svelte block looks as string entirely, but should re-use javascript/typescript tokens:

I've tried to resolve the problem, but had no luck :(

@epszaw, hi. Thanks for reporting. Can you please provide a test file with such a block?

Of course. Save this code with .svelte extension:
<script>
  import { onMount } from "svelte"

  export let foo

  const bar = 42
  let state = ""

  onMount(() => {
    state = "mounted"
  })

  const handleClick = () => {
    state = "clicked"
  }
</script>

@epszaw please, try to change some settings in Settings | Editor | Colors and Fonts | General | Injected language fragment.

Checking and unchecking Bold property has helped in my case.
It seems to be Intellij issue.
Please, report back the results.

@nabato unfortunately it does nothing in my case (all checkboxes were unchecked when I'd opened the issue)

v1.0.82

Thank you, @nabato!


AO-14101: [logging] logger improvements

The changes:

Use microsecond precision for logging timestamp
Use a standalone logger, rather than the global one, to avoid interfering with other modules

See https://swicloud.atlassian.net/browse/AO-14101

Codecov Report

Merging #124 into master will decrease coverage by <.01%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
- Coverage   83.74%   83.73%   -0.01%
==========================================
  Files          35       35
  Lines        4300     4304       +4
==========================================
+ Hits         3601     3604       +3
- Misses        591      593       +2
+ Partials      108      107       -1

Impacted Files
Coverage Δ

v1/ao/internal/log/logging.go
95.34% <100%> (+0.11%)
:arrow_up:

v1/ao/agent.go
80.76% <50%> (-6.74%)
:arrow_down:

v1/ao/internal/reporter/reporter_grpc.go
67.82% <0%> (+0.17%)
:arrow_up:

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 0876763...ef84e8c. Read the comment docs.


virtctl image-upload: add support for creating BlockVolume PVCs

What this PR does / why we need it:
Add a --block-volume option to create the new PVC with VolumeMode=Block.
This can then be used to provision PVCs that can be used for
live-migration on raw block with RWX access-mode.
For example, here with a Ceph-CSI storageclass named "csi-rbd":
  $ virtctl image-upload \
        --access-mode=ReadWriteMany --block-volume \
        --pvc-name=fedora-30-gold-block \
        --pvc-size=6Gi --storage-class=csi-rbd \
        --image-path=Fedora-Cloud-Base-30-1.2.x86_64.raw

Special notes for your reviewer:
The --block-volume option is a boolean, but maybe there is interest in --volume-mode=Block to match the PVC.Spec closer? That feels less user-friendly to me though.
Release note:
NONE

/cc @aglitke
/cc @mhenriks

The --block-volume option is a boolean, but maybe there is interest in --volume-mode=Block to match the PVC.Spec closer? That feels less user-friendly to me though.

If it turns out that we want it, we can still add it and catch invalid mixing on arg validation.

/ok-to-test

Sorry for sleeping on this.  lgtm

/lgtm

/lgtm
/approve


Look for parameters files in params/

CloudFormation templates and parameter files may be omitted from stack-function commands if they follow naming conventions.
Extend this to support the parameter files being kept tidy in params/ dir.

#171 provides a shortcut for working with stacks that have a params file


Added simple Recurrence to Reminders and updated README.

I'm new to Objective-C so this code might be pretty crude in places, but the recurrence for reminders works in my testing.  Thought others might find it useful and could be a good additional feature for this module.
Either way thanks for the great React Native module, it will come in handy for many of my projects.
Party On!

Cool, thanks for helping out! This is definitely a needed feature for reminders. I will take a look.

Made suggested changes in latest commit.  Thanks @wmcmahan for the feedback, I appreciate it.

Thanks, I really appreciate the help! I made a few updates and manually merged, so recurrence feature is now in v0.0.4. Cheers!


[Question] Conversion between NCHW and NHWC

Hi all, the document states that all tensors in a conv must be in the layout of NHWC. Even if I set inputs and weights to NCHW the output is still in NHWC form. Does cuDNN provides an easy way to convert between NCHW and NHWC?

Hi @zhewenhu ,
Thanks for your question.
Please refer to this example on NCHW convolution.
You can set the output strides manually which will override the automatically computed stride (and hence the layout will be set as you preferred).


Add support for configurable precedence of FilterChainMatch rules.

From discussion in https://github.com/envoyproxy/envoy/pull/3217#discussion_r188275813:
@htuch

What about when we have CIDR and SNI, what order do we resolve with? In general, it would be helpful to clarify where we want to go in the end state of the API for all the match criteria and precedence.

@ggreenway

I've been thinking about this a fair bit. I think the precedence should be configurable. I can think of a few ways that might be useful; I'm not sure yet what the right answer is.
One option is to let the user provide a list for the field precedence order. For instance, [SNI, source-ip, transport protocol]. Another possible matching type is the entire list of matches as an ordered list, with first-match-wins. I'm sure there's other options as well. I would be surprised if we can come up with a one-size-fits-all matching algorithm with this many potential criteria.
I think this can all be solved in a later PR.

@htuch

Sure, I can see this being a useful thing to add later. So, for now, as long as we have precedence for the fields that are actually implemented, and a TODO for the rest I'd be happy.

@PiotrSikora

As mentioned earlier (I think?), the destination IP would take precedence over SNI, over transport protocol. I didn't consider source IPs.
I could see having filter_chain_match_precedence: ["server_names", "source_ranges", "transport_protocol"] as a way of controlling precedence, but it doesn't seem that this is something required by most of the use cases, so I'm going to let someone that has an use case for it work on this.

This is mostly a place-holder to gauge interest in configurable precedence of the FilterChainMatch rules, with no immediate plans for adding it.

Another thing that @lizan pointed out is that in routes we're using "first match wins" approach, i.e. the order of filter chain blocks would matter.
With current implementation, following configuration:
filter_chains:
- filter_chain_match:
    # empty
- filter_chain_match:
    sni_domains: ["www.example.com", "server1.example.com"]
    transport_protocol: "tls"
    application_protocols: ["dummy", "h2"]

would match 2nd filter chain if connection matched all requirements, but per @lizan it should match 1st filter chain, since it matches all it's requirements as well, and it's configured first.
Thoughts? @mattklein123 @ggreenway @htuch @lizan

That is what actually @ggreenway said:

Another possible matching type is the entire list of matches as an ordered list, with first-match-wins.

In general I think first match wins is going to be the simplest to understand for most people, and when we implement other rules like IP/CIDR matching, it may be the only way it makes sense.
However, I know that there are use cases in which we want to optimize and do hash lookups (e.g., large number of SNI matches). My feeling on this is that the documented behavior should be FIFO, but if envoy can detect that a hash lookup is correct, it can switch to that (depending on the match conditions across all matches).

Perhaps first-match-wins with LRU cache?

@mattklein123 I think the "simplest to understand" is going to be based on the prior experience with other software, e.g. for me (and probably many others) the most obvious choice is the-most-specific-match-wins, since that's what NGINX does for the server name matching, and I would be extremely surprised if the filter chain match for sni_domains: example.com doesn't get selected for a client with example.com SNI, because it's specified after a more generic filter chain that also matches.
Having said that, I recognize that it's inconsistent with how the matching for HTTP routing rules is done, which is definitely a valid concern, and if most of the maintainers agree that first-match-wins is a better approach, then I can work on the change... But please note that it isn't going to scale well.
first-match-wins: @mattklein123 @lizan
most-specific-match-wins: @PiotrSikora
I'd like to hear from @alyssawilk @htuch and @ggreenway (and anyone else who has opinion on this, really) before making any changes.

I prefer the faster hash-lookup for SNI with most-specific-wins.
If we mostly do first-match-wins, but we try to detect cases where we can use a different algorithm, I think we'll run into problems where a small config change causes a massive performance degradation, and that can be confusing for users.

How will this work for IP/CIDR matching? Will it be a hash lookup/most-specific followed by a FIFO match of CIDRs?

A series of hash-lookups with wider and wider netmask, i.e.:
find(<IP_ADDRESS>/32) -> find(<IP_ADDRESS>/31) -> find(<IP_ADDRESS>/30) -> ...

with a limit on the widest netmask configured, and perhaps with an optimization to only try the netmasks that were configured.

Couldn't this be done with the LcTrie implementation we have?

...or that :) I wasn't aware we have LcTrie already.

My question was less about how to do the lookup for IP but more of whether the type of nested hash lookups we are doing is going to be confusing from a configuration standpoint for users. I guess this gets to @htuch question about allowing the precedence rules to be configurable so the nesting order is dynamic. The reason I think it's confusing, FWIW, is that the configuration is specified essentially as a list of matching rules, and I think most users would interpret that as a set of AND conditions that if they match would win. They might not immediately realize that some of the rules are more important than others.
I don't know if this is going to be confusing, but with the various options we have already laid out (https://github.com/envoyproxy/envoy/blob/master/api/envoy/api/v2/listener/listener.proto#L69) it seems like it might be.
Anyhow, I guess as long as we have good examples and very clear documentation the nested hash approach (with maybe configurable precedence in the future) is OK with me.
Can we potentially commit to doing some good examples in the docs in addition to the SNI ones we already have in the FAQ?

Yeah, I'll add more examples and the docs, regardless of the decision here.

I think most users would interpret that as a set of AND conditions that if they match would win. They might not immediately realize that some of the rules are more important than others.

It's still a set of AND conditions, i.e. ALL rules must match in order for a filter chain to be selected.
Example:
filter_chains:
- filter_chain_match:
    # empty
- filter_chain_match:
    sni_domains: "www.example.com"
    application_protocols: "h2"

connection("", "h2") would select 1st filter chain in both cases.
connection("www.example.com", "h2") would select 2nd filter chain with the current implementation, but 1st filter chain with first-match-wins.
connection("www.example.com", "") wouldn't select any filter chain with the current implementation, since we have a match for example.com server name, however rest of the criteria for the filter chain doesn't match (fallback for example.com can be easily added with another filter_chain_match without application_protocols), but 1st filter chain with first-match-wins.
For the configuration above (with a fallback for non-HTTP/2 traffic for example.com) to result in the same filter chain selection with the first-match-wins, one would need to write it rather carefully, i.e.
filter_chains:
- filter_chain_match:
    sni_domains: "www.example.com"
    application_protocols: "h2"
- filter_chain_match:
    sni_domains: "www.example.com"
- filter_chain_match:
    # empty

However, even with only 2 matching rules, this is already much more complex routing than usually performed on the same port, and if we assume that this feature is going to be used mostly for SNI routing, then I don't see any advantage of the first-match-wins approach (and it might be just confusing, if you look at the first config in this comment).

@PiotrSikora for the relatively simple rules we are going to have (compared to HTTP routing for example) you have convinced me that the precedence system makes sense with nested hash/trie/whatever lookups, so I think my vote has switched over. We can always make precedence configurable later as @ggreenway and @htuch suggested and as long as wen have good examples I think it's probably fine for most (all?) uses cases.

I'm fine with most-specific-match-wins as long as we have clear field precedence order, either pre-defined or user-configured, and good documentation.
In @PiotrSikora 's example I still think that:

connection("www.example.com", "") wouldn't select any filter chain with the current implementation, since we have a match for example.com server name, however rest of the less important criteria for the filter chain doesn't match (fallback for example.com can be easily added with another filter_chain_match without application_protocols), but 1st filter chain with first-match-wins.

should be able to fallback to 1st filter chain (empty, thus catchall) without adding another filter_chain_match without application_protocols.

should be able to fallback to 1st filter chain (empty, thus catchall) without adding another filter_chain_match without application_protocols

Catch-alls are some of the corner cases I'm concerned about. I think if we have a set of really good examples we should be able to iterate together on the best final behavior, though I think we all now agree we can do this largely within the confines of the existing implementation.

I'd just point out that in addition to the above discussion, first-match-wins is not suitable for extremely large CIDR matching scenarios as it is O(n) in the number of filter chains, e.g. O(100k) of filter chains, each matching on different CIDR. We have some internal scenarios that need this level of scale. So, whatever we do, we should provide the ability to do a classical most-specific match solution for CIDR.
FWIW, the first-match-wins semantics of route configurations also need some thought for a similar scaling concern.
I think that providing a sensible precedence ordering initially based on most-specific match and usual use cases, and the ability to later add flexible ordering sounds good.

FWIW, the first-match-wins semantics of route configurations also need some thought for a similar scaling concern.

@htuch lets open a different issue on that. The complexity of the existing routing rules are going to make it almost impossible to build a hashing implementation (especially due to regex). I think we can do some interesting things with HTTP routing along the lines of having an optional new type of route configuration that is designed for a most specific wins hashing implementation and by definition implements a much smaller set of matching conditions. It could even be a layered implementation where once a match is found an L2 FIFO match using the existing routing rules can optionally take place.


Havardpe/avoid abstract value types

@arnej27959 please review
I will squash before merging in case we need to revert

super-seeded by #9184


Unable to publish APIs with put resources

Description:
Deploying a cell file with a Global API that has a PUT resource fails with the following error in the API publisher pod.
cellery:Component todoServiceComponent = {
        name: "todos",
        source: {
            image: "docker.io/mirage20/samples-todoapp-todos:latest"
        },
        ingresses: {
            todo:  <cellery:HttpApiIngress>{
                   port: 8080,
                   context: "/",
                   definition:{
                       resources: [
                          {
                              path: "/todos",
                              method: "PUT"
                          }
                       ]
                   },
                   expose:"global",
                   authenticate:false
               }
        }
};

[DEBUG] 2019-10-02 09:44:22.555 [main] UpdateManager - Creating Global API payload
[ERROR] 2019-10-02 09:44:22.567 [main] UpdateManager - Error occurred while publishing APIs in Global API manager. Method: PUT is not implemented
io.cellery.cell.api.publisher.exceptions.APIException: Method: PUT is not implemented
	at io.cellery.cell.api.publisher.UpdateManager.getAPIDefinition(UpdateManager.java:503) ~[io.cellery.cell.api.publisher-0.4.1-SNAPSHOT.jar:0.4.1-SNAPSHOT]
	at io.cellery.cell.api.publisher.UpdateManager.createGlobalApiPayload(UpdateManager.java:120) ~[io.cellery.cell.api.publisher-0.4.1-SNAPSHOT.jar:0.4.1-SNAPSHOT]
	at io.cellery.cell.api.publisher.UpdateManager.manageApis(UpdateManager.java:91) ~[io.cellery.cell.api.publisher-0.4.1-SNAPSHOT.jar:0.4.1-SNAPSHOT]
	at io.cellery.cell.api.publisher.UpdateManager.main(UpdateManager.java:67) [io.cellery.cell.api.publisher-0.4.1-SNAPSHOT.jar:0.4.1-SNAPSHOT]

This is because we haven't implemented PUT method in https://github.com/wso2-cellery/distribution/blob/master/components/api/io.cellery.cell.api.publisher/src/main/java/io/cellery/cell/api/publisher/UpdateManager.java#L503
Suggested Labels:

Suggested Assignees:

Affected Product Version:
0.4.0 SNAPSHOT
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Resolved with distribution/175


Systemctl start timeout

Whenever i try to run sudo systemctl start plexdrive.service i get this error: job for plexdrive.service failed because a timeout was exceeded
in systemctl status plexdrive.service i get the notification that First cache build process finished! but the service times out a few minutes later either way
I tried changing up the startup time to about 6 minutes as well but it still fails. Any idea why?
Here is my plexdrive.service:
# /etc/systemd/system/plexdrive.service

[Unit]
Description=plexdrive
After=network-online.target
AssertPathIsDirectory=/mnt/plexdrive

[Service]
Type=notify
Restart=always
TimeoutStartSec=400
ExecStart=/usr/bin/plexdrive mount --drive-id=xxxxxxx -o allow_other -v 2 --chunk-load-threads=16 --chunk-load-ahead=16 --max-chunks=256 --refresh-interval=1m /mnt/plexdrive
ExecStopPost=/usr/bin/fusermount -quz /mnt/plexdrive

[Install]
WantedBy=multi-user.target

I realized the problem was that I set Type=notify and fixed it by setting Type=simple. However, the service file in the tutorial uses Type=notify so i'm not sure why this doesn't work...

Is there a release schedule for when master branch will be turned into an official release?

Not really, I should probably do one soon, now that the new cache backend including disk cache is merged.
But if you have go 1.12 or newer installed, a git clone followed by "go build" should be enough.

I've just released plexdrive 5.2.0 with all of the accumulated changes.

awesome thanks!


custom quote for tororo

Added a famous quote from tororo! 🎉
Closes https://github.com/tonybaloney/vscode-pets/issues/184

Great! Thanks


Add tests for Elm

You already have a idea of a test suite we can use?

I'd suggest elm-test — I have a simple working example (including integration with Travis CI) at Cunha já caiu? if it helps. We can pair on that too.

Is there anyone working on this? I want to help. @cuducos @NicolasFrancaX

AFAIK no one, @paulohp…

grabbing it then 😃

Many thanks, Paulo!
Next week I might be available for pair programming, but don't hesitate to drop a line here if you have any doubt about the code and architecture ; )

No Problem @cuducos
I'm trying to setup the project  locally but I'm getting some errors.

Which python version are you using? I got some errors with lzma and I solved with https://github.com/peterjc/backports.lzma. My Python version = 3.5.2

I'm getting 404 on "GET /static/app.js?e66b0de8 HTTP/1.1" and blank screen on localhost:8000

Is there anything else to do besides the documentation on README.md ?

Hi @paulohp… I'm sorry about that.

lzma: I found out about this issue in Linux yesterday (cc @andrepinho @filipelinhares) and haven't had time to properly explore and document it yet; anyway the thing is that when you compile your Python you must have lzma library available in your system. I'd say that it wasn't backports.lzma that fixed your issue, but the apt-get install liblzma-dev — however I have to make some tests in a VM before confirming it (anyone else please feel free to jump in and send a PR). BTW, the Python version we're using is 3.5 (gonna add to the README.md now).
This is surely related to your static files; have you noticed any error or warning when you ran python manage.py collectstatic? Also are you running it in DEBUG mode or not (Django serves static files differently in DEBUG mode)?

If you have a screen share utility drop a line and I can help you get started in the next hour.

Regarding the issue with the static files: what's the output for which elm-make?
If elm-make is not available in your path, set ELM_MAKE_BIN environment to where elm-make binary is (probably node_modules/.bin/elm-make if you installed Elm locally).

I created a brach to keep track of this issues, once I can confirm the instructions are correct I merge it to master — you all feel free to contribute: https://github.com/datasciencebr/jarbas/tree/install-instructions#requirements

Hi @cuducos, no problem!

I solved lzma, it's not a problem anymore 😃
I just set DEBUG=true and it's just working fine 👍

➜  jarbas git:(master) which elm-make
/usr/local/bin/elm-make


Deprecated classes appear as LocalAliasHost objects

import acoular as ac
print(ac.RectGrid())

outputs:
<acoular.deprecation.deprecated_alias.<locals>.decorator.<locals>.LocalAliasHost at 0x78cc392fdcd0>

we also still need to deal with numpoints in grids.py


Require 1 payee only for paydebt transactions

Pull Request Test Coverage Report for Build 206

1 of 2 (50.0%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 81.942%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/address/model/AddressBook.java
1
2
50.0%

Totals

Change from base Build 205:
-0.03%

Covered Lines:
2042

Relevant Lines:
2492

💛  - Coveralls


Create tracing service

I guess we should use one of the ready solutions, for instance https://www.jaegertracing.io/

@alldroll This one looks cool! Let's see what features they are offering and how can we recreate our own!


A 'return' statement can only be used within a function body.ts(1108)

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

VS Code Version: 1.66.2
OS Version: Windows 11

Steps to Reproduce:

In Javascript I get the error A 'return' statement can only be used within a function body.ts(1108) whenever I use a return. It doesn't need to be within a function or not, Can be used with an If statement.
Code Example in ES6

let findToken = canvas.tokens.placeables.find(i => i.actor.id === "whatever");
if (!findToken) return {}; // this shows up as an error, this should be 100% fine cause it will hault the script at this point.

Maybe #143220 or #147267


Clicking view more on the report back gallery doesn't display more photos

Current Behavior

Clicking view more on the reportback gallery of campaign causes an endless spinner and no additional photos to appear. Note: there are more than 6 approved/promoted reportbacks.

Desired Behavior

Clicking view more will display the additional promoted/approved reportback images according to previously logic.

Steps to Replicate

Sign up for https://thor.dosomething.org/us/campaigns/guns-out
Go to the gallery
Click view more
Witness that no additional photos load

Why This Matters
Users consistently call out seeing other people doing the action as a motivating factor for them to take the action themselves. Also looks like no one is doing our new spotlight campaign which isn't true.
Relevant Screenshots + Links
https://thor.dosomething.org/us/campaigns/guns-out

cc: @angaither @weerd

According to @weerd:
"The only error I’m seeing being reported is this one.. a varnish related one. I don’t know enough about varnish to comment on it tho

The call that it makes does work: https://thor.dosomething.org/api/v1/reportback-items?campaigns=6690&status=promoted,approved&exclude=182991,180768,181273,183046,182989,182990&count=12 and it does save/grab items from cache
Did maybe the structure of the markup change? I know @chloealee had some question regarding theme wrappers or something related to them that came up in prior issue and those wrappers help establish a certain markup that is relied upon by the javascript code so it knows where to place the data… @chloealee do you remember if anything changed regarding those?"

@mikefantini @weerd nothing has changed with any theme_wrappers yet but might potentially in the future - I'll let both of you know if/when they do!

console looks a bit angry @weerd @chloealee

@angaither @DFurnes I'm not sure if this is related but I got an error in the logs saying Notice: Trying to get property of non-object in ReportbackItem->build() (line 116 of /var/www/dev.dosomething.org/lib/modules/dosomething/dosomething_reportback/includes/ReportbackItem.php).
When I print_r($northstar_response); here I get back Unauthorized access.
Do you know why I might not have access even though I'm an admin?

@chloealee Ah! That makes total sense! Nice find :dancer:


Make Pluck use the changes made in FinalizeResult

Make Pluck use the changes made in FinalizeResult.
I have no idea why it was done this way.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE              FILE SIZE
 ++++++++++++++ GROWIN ++++++++++++++
  [ = ]       0 [None]      +8  +0.0%

  [ = ]       0 TOTAL       +8  +0.0%

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 2,019,964      Total (=)      2,019,964

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
11,183,079      Total (<)     11,183,086

 No significant differences in binary sizes

Corrupt JSON data (indicates timeout or crash):
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.new: 10
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.old: 10

[microbenchmarks] No significant performance differences


patch - firmware 2.0.1 file path

Firmware file for BLEBee is now missing on dropbox and it's not possible to actualize firmware through Drive app on android! I have replaced path for firmware file on official repository on github.

Thank you!

When would you plan distribute new version on google play?

As soon as I get my development environment back to a working state! Stay tuned

Hi, two months past from patch integration but there is still old app version available. Could you please distribute patched version?


Accessing front camera

Is it possible to select the front camera in AR mode in webXR [Chrome for Android and Safari for iOS]?

No, that's not yet a feature of WebXR. And while that in itself would be fairly simple, I think what you really want is a face tracking API? That'll take a little while.

@elalish Thanks for your reply. Yes, one of my purpose to use front camera is actually for face tracking and related AR application directly through the browser. I am looking forward for such API to be available in model-viewer in future.


Auto reconnection

X11 client closes after a while when the connection to the server gets lost after a short-term network failure has ocurred.
libfreerdp-core/capabilities.c enables auto-reconnection:

extraFlags |= AUTORECONNECT_SUPPORTED;

Auto-reconnect cookie is not being sent to the server. FreeRDP only receives it.
This error happens when the server is win 7, XP and 2003.
Although, FreeRDP is capable of reconnecting itself (in case I unplug and plug the network cable) when logged to a server Win 2008.
Related to issue #189.

@beloni how exactly do you trigger a real reconnection case? I tried disabling/enabling my network interface, but in this case xfreerdp simply never detects a network disconnection. When connection is re-established, it is as if the connection was never dropped.
I have tried other means of simulating a disconnection. I tried using socat to proxy an RDP connection, and then I killed the socat proxy. In this case, xfreerdp would simply terminate.
What would be the expected behavior in this case? Should network disconnection be identified and then proper reconnection performed? What would happen if the server intentionally disconnects the client?

@awakecoding you need to use Windows 7, XP or 2003 to reproduce it. Windows 2008 works fine.
The problem is when you unplug and plug the network cable it doesn't resume the connection. As @beloni said, it doesn't send the reconnection cookie to the server but just receiving the capability cookie.

As awakecoding mentioned, the 2008 behavior is confusing because it's just better at recovering the existing tcp connection. If you watch the socket tables via netstat on each end, the OS still considers that the existing connection is there and is waiting on tcp recovery. There is NO reconnection occuring in this scenario.
0.9 didnt handle this cookie either so it is a feature and not regression. I personally dont consider it to be a blocker either.

As awakecoding mentioned, the 2008 behavior is confusing because it's just better at recovering the existing tcp connection. If you watch the socket tables via netstat on each end, the OS still considers that the existing connection is there and is waiting on tcp recovery. There is NO reconnection occuring in this scenario.
0.9 didnt handle this cookie either so it is a feature and not regression. I personally dont consider it to be a blocker either.

It's not usable yet but I made a branch with prototype here, atong@9af2a23173
I think some api changes are needed for auto-reconnection to be truly practical (eg. better handle the blocking conditions during connection & reconnection, select/transport handling). It'll affect all clients though, imo maybe better suited for post 1.0..

It's not usable yet but I made a branch with prototype here, atong@9af2a23173
I think some api changes are needed for auto-reconnection to be truly practical (eg. better handle the blocking conditions during connection & reconnection, select/transport handling). It'll affect all clients though, imo maybe better suited for post 1.0..

Someone working on this issue ?

@jiten19 no, but help would definitely be appreciated!


TH derivation doesn't work when the type name is qualified

Let's try to derive Arbitrary for Maybe, but imported qualified from Prelude:
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE TemplateHaskell   #-}

import           Data.DeriveTH   (derive, makeArbitrary)
import qualified Prelude         as P

import           Test.QuickCheck (Arbitrary (..))

derive makeArbitrary ''P.Maybe

It won't work:
    Not in scope: type constructor or class ‘Maybe’
    Perhaps you meant ‘P.Maybe’ (imported from Prelude)

    Not in scope: type constructor or class ‘Int’
    Perhaps you meant ‘P.Int’ (imported from Prelude)

When I run GHC with -ddump-splices, I see that derive generates the following code (which doesn't include qualified names):
    derive makeArbitrary ''P.Maybe
  ======>
    instance Arbitrary a_3530822107858468866 =>
             Arbitrary (Maybe a_3530822107858468866) where
      arbitrary
        = do { x <- choose (0 :: Int, 1);
               case x of {
                 0 -> return Nothing
                 1 -> do { x1 <- arbitrary;
                           return (Just x1) }
                 _ -> error "FATAL ERROR: Arbitrary instance, logic bug" } }

Yep, agreed, that's a bug - but potentially a quite large one to fix. As per #6 I'm seeking to pass maintainership on to someone else, so it may be a while before anyone takes a proper look.


suggested modification of the option menu

I propose to move 'Randomizer Warp Songs' to the 'Entrance Rando' category
And move 'Shuffle Kokiri Sword' and 'Shuffle Ocarinas' and 'Shuffle Gerudo Card' and 'Shuffle Magic Beans' to the 'Sanities' category

Thats a good suggestions. That whole window will undergo at least 1-2 restructures. Dont like the current mess but its at least somewhat useable for now.
I will be more devided, maybe into more tabs, because stuff like MQ dungeon list etc is still missing.

this wont becoming in the enxt releae but i try to include that in the one after so presumably 0.0.4


Modify session handling

to resolve #567

It's pretty late here so I'll test the code tomorrow.  Looks like it should work though, thanks!

Still getting set up to test.  You may want to consider changing the Session::get() function to returning T instead of const T& since holding a ref into there once the lock is dropped isn't safe.  Would break code but maybe you're helping them :)  Shouldn't break any functionality though unless someone is using mutable on the returned ref, but in that which case they should really be using this new modify function.
Maybe also change the return type for operator[] from any& to any too.

Still getting set up to test. You may want to consider changing the Session::get() function to returning T instead of const T& since holding a ref into there once the lock is dropped isn't safe. Would break code but maybe you're helping them :) Shouldn't break any functionality though unless someone is using mutable on the returned ref, but in that which case they should really be using this new modify function.
Maybe also change the return type for operator[] from any& to any too.

You are right, thanks.

It's pretty late here ^_-, I'll fix this tomorrow~

This function works great:
void modify(const std::string &key, const std::function<void(T &)> &handler)
Haven't tested the other modify(), but it looks fine to me.  Maybe you'd want to have that take a std::function too to match?
Any maybe make the "using SessionMap" public to help with the function signature.  Not necessary though.
Thanks!

This function works great:
void modify(const std::string &key, const std::function<void(T &)> &handler)
Haven't tested the other modify(), but it looks fine to me. Maybe you'd want to have that take a std::function too to match?
Any maybe make the "using SessionMap" public to help with the function signature. Not necessary though.
Thanks!

Fixed and also Fixed #570 , please check it, thanks.

@pmattione Do you think we can merge this PR?

Appears to be working for me, and fixes the compiler warnings, thanks!


In tsc --b mode detect if root file of compilation is not root any more

Store the roots in BuildInfo. To make this compact, the roots is array that has elements as either [start, end] where fileIds from start to end are roots or single fileId.
In tsc -b detect if file was root before but not any more and trigger compilation based on that.
Fixes #51866

@typescript-bot perf test

I went and tested this PR using the linked issues repro (https://github.com/drrnkin/typescript-composite-deleted-file), and it didn't seem to work; I removed all of the child files and reran yarn build (modified to point to my local built folder), and none of the child files were recreated.

Here is the result from running on the repro:
c:\temp\typescript-composite-deleted-file\main>node C:\TypeScript\built\local\tsc.js -b -v
[1:45:22 PM] Projects in this build:
    * ../child/tsconfig.json
    * tsconfig.json

[1:45:22 PM] Project '../child/tsconfig.json' is out of date because output file '../child/tsconfig.tsbuildinfo' does not exist
[1:45:22 PM] Building project 'c:/temp/typescript-composite-deleted-file/child/tsconfig.json'...

[1:45:25 PM] Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist

[1:45:25 PM] Building project 'c:/temp/typescript-composite-deleted-file/main/tsconfig.json'...

c:\temp\typescript-composite-deleted-file\main>del ..\child\child2.*

c:\temp\typescript-composite-deleted-file\main>dir ..\child\child2*
 Volume in drive C is Local Disk
 Volume Serial Number is 9EF5-3A92

 Directory of c:\temp\typescript-composite-deleted-file\child

File Not Found

c:\temp\typescript-composite-deleted-file\main>node C:\TypeScript\built\local\tsc.js -b -v
[1:45:51 PM] Projects in this build:
    * ../child/tsconfig.json
    * tsconfig.json

[1:45:51 PM] Project '../child/tsconfig.json' is out of date because buildinfo file '../child/tsconfig.tsbuildinfo' indicates that file '../child/child2.ts' was root file of compilation but not any more.

[1:45:51 PM] Building project 'c:/temp/typescript-composite-deleted-file/child/tsconfig.json'...

../child/child.ts:1:24 - error TS2792: Cannot find module '../child/child2.js'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?

1 import { child2 } from "../child/child2.js";
                         ~~~~~~~~~~~~~~~~~~~~

[1:45:52 PM] Project 'tsconfig.json' can't be built because its dependency '../child' has errors

[1:45:52 PM] Skipping build of project 'c:/temp/typescript-composite-deleted-file/main/tsconfig.json' because its dependency 'c:/temp/typescript-composite-deleted-file/child' has errors

Found 1 error.

c:\temp\typescript-composite-deleted-file\main>

Ah, I didn't delete the input files, I only deleted the output files. When delete everything, I get the error. I didn't realize the issue said to literally delete everything and that an error should occur. So, I guess it does work, oops.
I am however confused as to how deleting all of the output files (rm child*.{js,d.ts}) doesn't trigger a rebuild, but maybe that's another issue.

Thats a long standing design where we dont check all output file timestamps if writing tsbuildInfo for perf reasons. If you are deleting some or all outputs, delete buildInfo and run the build has been our guidance.


setImmediate had always been shadowed by var statement

var setImmediate =  setImmediate || 'foo';
console.log(setImmediate==='foo'); // always true

Hi,
or, alternatively, it might be nicer to do something like this:
'use strict';

var util         =  require('util')
  , stream       =  require('stream')
  , Writable     =  stream.Writable
  , setImmediate =  (1,eval)('this').setImmediate || function (fn) { setTimeout(fn, 0) }
  ;

where (1,eval)('this') is a safe way to get to the global object under strict mode.

This works fine as is. Yes it's shadowing, but if setImmediate is available the shadowed variable will reference the global one like I intended, otherwise it'll reference a shim.

I'm sorry for being kind of meticulous, but will you forgive me if I still insist that it will not reference the global even when the global setImmediate is available (like with Node)? This was the whole point of my suggestion. You can try in Node the following snippet and see for yourself:
'use strict';
var setImmediate =  setImmediate || function (fn) { setTimeout(fn, 0) };

console.log(setImmediate.toString());   // it will be "function (fn) {..."

And the reason is because due to hoisting this assignment is equivalent to:
var setImmediate;
// after this line the setImmediate is now underfined in current scope,
// doesn't matter what it is in global scope

setImmediate = setImmediate || function (fn) { setTimeout(fn, 0) };

the last line is now equivalent to:
setImmediate = undefined || function (fn)...
so, the result is alwais function (fn), no matter what.
Or, I'm missing something severely...

Sorry but the var doesn't get assigned until the expression on right is evaluated, so yes you're missing something.
Just try this in a repl:
pad > var setImmediate = setImmediate || function (fn) { setTimeout(fn, 0) };
pad > setImmediate.toString()
'function (callback, arg1, arg2, arg3) {\n  if (typeof callback !== \'function\') {\n    throw new TypeError(\'"callback" argument must be a function\');\n  }\n\n  var i, args;\n\n  switch (arguments.length) {\n    // fast cases\n    case 1:\n      break;\n    case 2:\n      args = [arg1];\n      break;\n    case 3:\n      args = [arg1, arg2];\n      break;\n    default:\n      args = [arg1, arg2, arg3];\n      for (i = 4; i < arguments.length; i++)\n        // extend array dynamically, makes .apply run much faster in v6.0.0\n        args[i - 1] = arguments[i];\n      break;\n  }\n  return createImmediate(args, callback);\n}'
pad >

Hi,
Sorry for not noticing your reply immediately.
Yes, that's true when you do it in REPL. But I guess
that's because there is no hoisting in REPL.
Imagine there is a file "sample.js":
'use strict';

var setImmediate = setImmediate || function (fn) { setTimeout(fn, 0) };

console.log(setImmediate.toString());

then one goes to REPL and types:

require("./sample.js");
function (fn) { setTimeout(fn, 0) }
{}

But still hope that it is me who is missing something...
Regards

Also, you wrote: "the var doesn't get assigned until the expression on right is evaluated".
Well, the question is not about rvalue is evaluated before assigning the lvalue, the real question is what is exactly setImmediate in the rvalue at the time of evaluating of that rvalue. And the answer is that the code of
var setImmediate = setImmediate || function (fn) { setTimeout(fn, 0) };

is indeed equivalent to code (and is treated like one by js engine):
var setImmediate;
setImmediate = setImmediate || function (fn) { setTimeout(fn, 0) };

and from this it becomes obvious, that at the line 1 the var setImmediate is declared as local at current scope and its value is undefined, and then goes line 2 and here this undefined is used inside the rvalue.
But when people never run the examples of others, then they really just do live in parallel spaces, then there is no question of missing something, as in another universe people can easily have a very special version of node.js with no hoisting or with a hoisting that works in a way that only those people who live in that particular universe can understand...
Sorry.

Sorry got no time for this discussion anymore. Nothing is wrong with the code and I don't have time to explain it further.
However this would be a good question to take to stackoverflow, maybe someone there can help you.


dbscan elapsed time is 30~40ms on local server ?

I am using  mnn dbscan, but it is too slow. Any advice to optimize it?  Now Kd-tree has been opened.

调节参数后有改善。

@pauperonway I am also having the same issue. In my case, it's even worse and goes around 300~400 ms. Can you please let me know what modifications you have made to the parameter?

@SHANK885 you can Sparse sampling， and then do dbscan.


QueryEntitiesPagedResponse::MoveToNextPage() in Data Table SDK doesn't work

QueryEntitiesPagedResponse::MoveToNextPage() method in Azure Data Tables C++ SDK doesn't move to next page. The reason is probably a bug in QueryEntitiesPagedResponse::OnNextPage() method - NextPartitionKey is set to PartitionKey. In QueryEntities(). PartitionKey is set to PartitionKey in URL, but NextPartitionKey from response should be set to NextPartitionKey in the URL, as per documentation: https://learn.microsoft.com/en-us/rest/api/storageservices/query-timeout-and-pagination.
To Reproduce
Steps to reproduce the behavior:

run below code snippet

Code Snippet
#include <iostream>
#include <azure/data/tables.hpp>
#include <azure/identity/default_azure_credential.hpp>

int main() {
  const std::string tableName = "<your table name>";
  const std:: string storageUrl = "<your storage account URL>";

  auto cred = std::make_shared<Azure::Identity::DefaultAzureCredential>();
  auto tableClient = Azure::Data::Tables::TableClient(
      storageUrl , tableName, cred);

  for (int i = 0; i < 1010; i++)
  {
    auto entity = Azure::Data::Tables::Models::TableEntity();
    entity.SetPartitionKey("partition");
    entity.SetRowKey("rowKey" + std::to_string(i));
    tableClient.AddEntity(entity);
  }

  Azure::Data::Tables::Models::QueryEntitiesOptions options;
  auto response = tableClient.QueryEntities(options);
  std::cout << "number of entities: " << response.TableEntities.size(); // 1000, OK
  std::cout << "first entity row key: " << response.TableEntities[0].GetRowKey().Value; // rowKey0, OK
  std::cout << "last entity row key: " << response.TableEntities.back().GetRowKey().Value; // rowKey99, OK

  response.MoveToNextPage();
  std::cout << "number of entities: " << response.TableEntities.size(); // Wrong, got 1000, expected 10
  std::cout << "first entity row key: " << response.TableEntities[0].GetRowKey().Value; // Wrong, got 0, expected rowKey990
  std::cout << "last entity row key: " << response.TableEntities.back().GetRowKey().Value; // Wrong, got 99, expected rowKey999
}

Expected behavior
MoveToNextPage() should move pages, as shown in the code snippet.
Setup

OS: WSL, Ubuntu 22.04
IDE : VS Code
Version of the Library used: azure-data-tables-cpp, 1.0.0-beta.2 (pulled from VCPKG)

Thank you for the report, looking into it.


When retrieve or delete the user via SCIM2 using SCIM id it iterated through all the available user stores before checks the SCIM enabled or not

According to the current implementation when we try to retrieve or delete the user via SCIM2 using SCIM id we follow the bellow approach.

Once we provide a SCIM ID and try to retrieve/delete the user, we search for the particular user with SCIM ID in all the SCIM enabled and non-SCIM enabled user stores. getUserList method invoked in [1] is from the WSO2 carbon4-kernel.

But the kernel doesn't know which user stores are SCIM enabled, so it iterated through all the available user stores then try to find whether SCIM enabled or not for the particular user store through the "isSCIMEnabled" method [2] in "SCIMUserManager" class.

Currently, we are extracting the user store domain based on the user name which is throwing from the "getUser" method [3].

[1] - https://github.com/wso2/carbon-kernel/blob/839afd566d001cd0aedb986c25aa0041aa942218/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/common/AbstractUserStoreManager.java#L1401
[2] - https://github.com/wso2-extensions/identity-inbound-provisioning-scim2/blob/8b0e7881b2d5151facac2823af48d9fe72d2809e/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java#L1369
[3] - https://github.com/wso2-extensions/identity-inbound-provisioning-scim2/blob/8b0e7881b2d5151facac2823af48d9fe72d2809e/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java#L182

Hi @ShamodyaHashantha, thank you for reporting the issue. However, with the provided information it is hard to understand your expected outcome and what needs to be changed. Can you explain that information as well?

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


jira not fetching data

2019-04-15 13:37:00,002 INFO  c.c.d.collector.CollectorTask - Running Collector: Jira
2019-04-15 13:37:00,047 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2019-04-15 13:37:00,048 INFO  c.c.d.collector.CollectorTask - http://<IP_ADDRESS>:8080/
2019-04-15 13:37:00,048 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2019-04-15 13:37:00,048 INFO  c.c.d.collector.FeatureCollectorTask - JIRA Collector is set to work in Team mode
2019-04-15 13:37:00,048 INFO  c.c.d.collector.FeatureCollectorTask - Hours since last run = 18. Collector is only collecting updated/new issues.
2019-04-15 13:37:00,078 INFO  c.c.d.collector.CollectorTask - Finished                         0s
2019-04-15 13:38:00,019 INFO  c.c.d.collector.CollectorTask - Running Collector: Jira
2019-04-15 13:38:00,050 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2019-04-15 13:38:00,050 INFO  c.c.d.collector.CollectorTask - http://<IP_ADDRESS>:8080/
2019-04-15 13:38:00,051 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2019-04-15 13:38:00,051 INFO  c.c.d.collector.FeatureCollectorTask - JIRA Collector is set to work in Team mode
2019-04-15 13:38:00,051 INFO  c.c.d.collector.FeatureCollectorTask - Hours since last run = 18. Collector is only collecting updated/new issues.
2019-04-15 13:38:00,067 INFO  c.c.d.collector.CollectorTask - Finished                         0s
2019-04-15 13:39:00,006 INFO  c.c.d.collector.CollectorTask - Running Collector: Jira
2019-04-15 13:39:00,045 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2019-04-15 13:39:00,045 INFO  c.c.d.collector.CollectorTask - http://<IP_ADDRESS>:8080/
2019-04-15 13:39:00,046 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2019-04-15 13:39:00,046 INFO  c.c.d.collector.FeatureCollectorTask - JIRA Collector is set to work in Team mode
2019-04-15 13:39:00,046 INFO  c.c.d.collector.FeatureCollectorTask - Hours since last run = 18. Collector is only collecting updated/new issues.
2019-04-15 13:39:00,081 INFO  c.c.d.collector.CollectorTask - Finished                         0s
My property file***************************************************************
dbname=admin
dbhost=localhost
dbport=27017
dbusername=admin123
dbpassword=password
#logging.file=./logs/jira.log
feature.pageSize=100
feature.deltaStartDate=2018-01-01T00:00:00.000000
feature.masterStartDate=2018-01-01T00:00:00.000000
feature.deltaCollectorItemStartDate=2018-01-01T00:00:00.000000
feature.cron=0 0/1 * * * *
feature.queryFolder=jiraapi-queries
feature.storyQuery=story
feature.epicQuery=epic
feature.jiraBaseUrl=http://<IP_ADDRESS>:8080/
feature.jiraQueryEndpoint=rest/api/2/
feature.jiraCredentials=bWl0dW5tYmo6bWl0dW5tYmo=
feature.jiraIssueTypeNames=Story
feature.jiraSprintDataFieldName=customfield_10101
feature.jiraEpicIdFieldName=customfield_10102
feature.jiraStoryPointsFieldName=customfield_10106
#feature.jiraTeamFieldName=
#feature.jiraBoardAsTeam=false
#feature.todoStatuses[0]=To Do
#feature.doingStatuses[0]=In Progress
#feature.doneStatuses[0]=Done
logging.level.com.capitalone.dashboard=DEBUG
logging.level.com.capitalone.dashboard.collector=DEBUG
logging.level.com.atlassian.jira=DEBUG

Please see the documentation. You are missing the epic id field and the story id field:https://github.com/Hygieia/Hygieia/blob/gh-pages/pages/hygieia/collectors/feature/jira.md

@Sbrenthughes if my Jira language is Chinese,there is  no Jira data in Hygieia.Can this issue be resolved?

@lyndomiao It doesn't depend on the language, but the results of the JQL.
For example: try to run this Get request after adding the epic id field and the story id to check the returned data in case you are using the board as team:
(http://jiraurl/rest/agile/1.0/board/1/issue?jql=issueType in ('Story') and updatedDate=your [date&fields=id,key,issuetype,status,summary,created,updated,project,issuelinks,assigneee,sprint,epic&startAt=0)
Thanks

For that issue we would need an external contributor to help.

@Sbrenthughes I faced the same issue and by adding the epic id field and the story id, I get it to work.
you should update the application.properties in Jira collector with the below data for the people to not get confused:
feature.jiraStoryIds[0]=
feature.jiraStoryIds[1]=
feature.jiraEpicId=
Thanks

@yong86 what should I search for when going to jira.com/rest/api/2/issueType
either should i search for "story" then its representative ID...any idea...

@hvvit  let us say that you have two issue types called story & feature
what you will get from the api as below:
{"self":"http://localhost:8080/rest/api/2/issuetype/10200","id":"10200","description":"","iconUrl":"http://localhost:8080/secure/viewavatar?size=xsmall&avatarId=10300&avatarType=issuetype","name":"Feature","subtask":false,"avatarId":10300},
{"self":"http://localhost:8080/rest/api/2/issuetype/10001","id":"10001","description":"Created by Jira Software - do not edit or delete. Issue type for a user story.","iconUrl":"http://localhost:8080/images/icons/issuetypes/story.svg","name":"Story","subtask":false},
now, you add the below
feature.jiraStoryIds[0]=10001
feature.jiraStoryIds[1]=10200
Hope it helps
Thanks

@Sbrenthughes I faced the same issue and by adding the epic id field and the story id, I get it to work.
you should update the application.properties in Jira collector with the below data for the people to not get confused:
feature.jiraStoryIds[0]=
feature.jiraStoryIds[1]=
feature.jiraEpicId=
Thanks

Can you make a PR to do this? The documentation has already been updated to reflect this change.

@Sbrenthughes sure, I will make it.


Solution ARM file contains non-unique default value

Describe the bug
The Solution mainTemplate ARM file contains a non-unique default value for the LA Workspace name
To Reproduce
Steps to reproduce the behavior:

Submit Solution for template generation
Use generated template to submit offer to Marketplace

Expected behavior
The generated template would pass Marketplace offer validations
Additional context
https://solutiontemplates.visualstudio.com/marketplacesolutions/_git/senservallc/pullrequest/10744
I see the same value for the Infoblox template

Tagging @v-maudan

Hello,
The link provided in the Additional Context section is not accessible for me. Could you provide more detail on the particular value you are seeing? Especially since you're seeing it in multiple solutions.
I've compared both SenservaPro and Infoblox solutions, and both workspace parameter default values contain the expected value: <Enter Log Analytics Workspace>
The LA Workspace name is a parameter to the template, so it must be selected by the user in the Create UI.

@tj-senserva, Can you please provide us more details.

Hello @elforb,
The reviewer from the Marketplace team noted that the Log Analytics Workspace needed to be a unique name.

I think some discussions took place between the Sentinel and Marketplace teams that I was not a part of, as the Solution has been accepted now. I believe the issue can be closed

Based on the response from @tj-senserva , closing this issue. Thanks.


general Prebid USNat doc

Ported from GDoc that's been reviewed with community and Prebid legal counsel.
The PBJS- and PrebidServer-specific examples will be in a separate PR.

Ignoring the linter errors about no_toc


benchmark error

single machine(4core 8G),beyond 60K connection,emqttd server occurs error:
21:01:39.448 <0.231.0> [error] large_heap: gcpid = <0.444.0>,[{registered_name,[]},{memory,73395528},{message_queue_l
en,0},{heap_size,2984878},{total_heap_size,9174318}]
[{old_heap_block_size,6189440},{heap_block_size,2984878},{mbuf_size,0},{stack_size,256101},{old_heap_size,4293792},{
heap_size,577578}]
21:01:49.080 <0.231.0> [error] large_heap: gcpid = <0.443.0>,[{registered_name,[]},{memory,78171328},{message_queue_l
en,0},{heap_size,3581853},{total_heap_size,9771293}]
[{old_heap_block_size,6189440},{heap_block_size,3581853},{mbuf_size,0},{stack_size,255329},{old_heap_size,4004547},{
heap_size,853094}]
21:01:59.092 <0.231.0> [error] large_heap: gcpid = <0.443.0>,[{registered_name,[]},{memory,73395544},{message_queue_l
en,0},{heap_size,2984878},{total_heap_size,9174318}]
[{old_heap_block_size,6189440},{heap_block_size,2984878},{mbuf_size,0},{stack_size,255737},{old_heap_size,4162439},{
heap_size,702709}]
21:02:09.440 <0.231.0> [error] large_heap: gcpid = <0.444.0>,[{registered_name,[]},{memory,73395528},{message_queue_l
en,0},{heap_size,2984878},{total_heap_size,9174318}]
[{old_heap_block_size,6189440},{heap_block_size,2984878},{mbuf_size,0},{stack_size,255724},{old_heap_size,4162462},{
heap_size,702696}]
21:02:39.054 <0.231.0> [error] large_heap: gcpid = <0.443.0>,[{registered_name,[]},{memory,73395544},{message_queue_l
en,0},{heap_size,2984878},{total_heap_size,9174318}]
[{old_heap_block_size,6189440},{heap_block_size,2984878},{mbuf_size,0},{stack_size,255857},{old_heap_size,4215457},{
heap_size,652229}]
21:03:09.054 <0.231.0> [error] large_heap: gcpid = <0.443.0>,[{registered_name,[]},{memory,73395544},{message_queue_l
en,0},{heap_size,2984878},{total_heap_size,9174318}]
[{old_heap_block_size,6189440},{heap_block_size,2984878},{mbuf_size,0},{stack_size,255857},{old_heap_size,4215470},{
heap_size,652216}]

Ignore this warning message.

Attach to the VM and find the processes with large heap:
  ./bin/emqttd attach

erlang:process_info(pid(0, 443,0)).

CTRL+D to exit.

Suppress sysmon messages: https://github.com/emqtt/emqttd/pull/338


platform web separator not rendering on web

Current Behavior
const SettingsItems = styled(YStack, {
  // Toggle, is working w/o query
  // separator: <Separator borderColor="$color3" mx="$-4" borderWidth="$0.25" />,
  '$platform-web': {
    separator: <Separator borderColor="$color3" mx="$-4" borderWidth="$0.25" />,
    gap: '$4',
    m: '$4',
  },
  gap: '$4',
  m: '$4',
})

platform web separator not rendering on web
Expected Behavior
should render separator component on web
Tamagui Version
1.75.2 or 1.74.17

Platform (Web, iOS, Android)
web

Reproduction
from example above, toggle between a separator component in web platform media query. Separator doesn't render on web when it's in the web media query as expected.

System Info
System:
    OS: macOS 14.0
    CPU: (12) arm64 Apple M2 Max
    Memory: 62.64 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.20.2 - /opt/homebrew/opt/node@16/bin/node
    Yarn: 3.6.3 - /opt/homebrew/bin/yarn
    npm: 8.19.4 - /opt/homebrew/opt/node@16/bin/npm
    pnpm: 8.9.2 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 117.0.5938.149
    Safari: 17.0
  npmPackages:
    @babel/runtime: ^7.18.9 => 7.22.15
    @manypkg/cli: ^0.19.1 => 0.19.2
    @nderscore/tamagui-typescript-plugin: ^0.5.1 => 0.5.4
    @tamagui/cli: ^1.75.2 => 1.75.2
    @turbo/gen: ^1.10.12 => 1.10.13
    change-case: ^4.1.2 => 4.1.2
    check-dependency-version-consistency: ^3.0.3 => 3.3.0
    dotenv: ^16.0.3 => 16.3.1
    dotenv-cli: ^6.0.0 => 6.0.0
    eslint: ^8.46.0 => 8.49.0
    node-gyp: ^9.3.1 => 9.4.0
    prettier: ^2.7.1 => 2.8.8
    turbo: ^1.10.14 => 1.10.14
    typescript: ^5.1.3 => 5.2.2

Make a choice about accepting props accepting components.

for now i think variatns should be only styles and amybe a few other props, but i should fix the types for sure here...


Context tree

This commit implements a file-state-manager for the complete git repo - not just the paths included/excluded by user. This gets rid of some redundancy in diff_context and code_maps, and paves the way for intelligently-selected context, including portions of files, etc.

The context_tree is a graph of DirectoryNodes and FileNodes which generates and refreshes itself using git/subprocess.
Nodes track their display status: i.e. whether they're included in the code_message, what level of code map, diff info, etc.

I expect there'll be updates per #106, and I still want to make some tweaks, but this is the gist so any and all feedback is much appreciated.

After looking at #106 I realize we'll want to have a single instance of context_tree to support arbitrary sessions, and since user settings (like paths and diff) are attached to a Session, display status needs to be maintained separate to the context_tree. So this needs a pretty significant refactor.