"AI Explanations - Tabular data example" read json failure

Can be fixed with:
response = json.loads(resp_obj.s[resp_obj.s.find('{'):])
Same occurs in:
attributions_resp = json.loads(batch_explain.s[batch_explain.s.find('{'):])
Then requires a patch on:
rows.append([val, test_data.iloc[1].tolist()[i], attributions[val][0]])
I have a pull request ready if these are general issues and not something I have messed up.


Use comment in pull request template

Since GitHub supports comments in pull request templates, I thought this might be a nice way to provide the text without causing anyone to have to delete it afterward. We used it on another project of mine with success, so contributing the idea back.

@SeanKilleen that's a really nice improvement.
cc 	@rpetrusha - you'll want this for sure.
cc @tdykstra 	@guardrex 	@scottaddie

@guardrex great idea, and I think you're right, it would. Will make the change now.

@guardrex since this was merged, see #9265. Thanks!


Update science review documentation

Update science review documentation
Fixes #635
Contribution checklist
Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.

[x] Documentation has been updated to reflect change.
[x] All tests and CI checks pass.
[x] Added an entry to the top of docs/source/changelog.rst
[x] Marked the PR as ready to review.

Small change, @jwarner8 has sense checked as well so a combination of both of our efforts. It would be good to ensure all technical aspects of CSET are correctly referred to.


BME680 sensor sample not building

Describe the bug
The sensor sample for BME680 is not building as described here.
I solved this by copying the code into an own project, specifying the following definitions inside the CMakeLists and using cmake/ninja instead of west:
add_definitions(-DDT_INST_0_BOSCH_BME680_LABEL="BME680" -DDT_INST_0_BOSCH_BME680_BASE_ADDRESS=0x77 -DDT_INST_0_BOSCH_BME680_BUS_NAME="I2C_1" -DDT_BOSCH_BME680_BUS_I2C=1)

However, when running the build on the Nucleo board I still get this:
***** Booting Zephyr OS build zephyr-v1.14.0-2708-g11d8f1a1e972 *****                                                              │
Device 0x0 name is                                                                                │
FATAL: ***** MPU FAULT *****                                                                                │
FATAL:   Instruction Access Violation                                                                                │
FATAL: r0/a1:  0x00000000  r1/a2:  0x00000025  r2/a3:  0x00000000                                                                  │
FATAL: r3/a4:  0x406100f4 r12/ip:  0x00000012 r14/lr:  0x080006b9                                                                  │
FATAL:  xpsr:  0x20000000                                                                                │
FATAL: Faulting instruction address (r15/pc): 0x406100f4                                                                           │
FATAL: >>> ZEPHYR FATAL ERROR 0: CPU exception                                                                                │
FATAL: Current thread: 0x200001b0 (unknown)                                                                                │
FATAL: Halting system                                                                                │
                                                                                │

I searched the Zephyr code for possible values for these definitions but could not find any. Nor are they documented anywhere (or at least it's not obvious enough so that I could find it).
To Reproduce
Steps to reproduce the behavior:

west build -p -b nucleo_l476rg samples/sensor/bme680

Expected behavior
The sample should build and the build should run.
Screenshots or console output
(local) (master) % west build -p -b nucleo_l476rg samples/sensor/bme680
-- west build: making build dir /home/x90/Projects/myproject/zephyr/build pristine
-- west build: build configuration:
       source directory: /home/x90/Projects/myproject/zephyr/samples/sensor/bme680
       build directory: /home/x90/Projects/myproject/zephyr/build
       BOARD: nucleo_l476rg (origin: command line)
-- west build: generating a build system
Zephyr version: 1.14.99
-- Found PythonInterp: /home/x90/.virtualenvs/local/bin/python (found suitable version "3.6.5", minimum required is "3.4")
-- Selected BOARD nucleo_l476rg
-- Found west: /home/x90/.virtualenvs/local/bin/west (found suitable version "0.5.7", minimum required is "0.5.6")
-- Loading /home/x90/Projects/myproject/zephyr/boards/arm/nucleo_l476rg/nucleo_l476rg.dts as base
-- Overlaying /home/x90/Projects/myproject/zephyr/dts/common/common.dts
Device tree configuration written to /home/x90/Projects/myproject/zephyr/build/zephyr/include/generated/generated_dts_board.conf
Parsing Kconfig tree in /home/x90/Projects/myproject/zephyr/Kconfig
Loaded configuration '/home/x90/Projects/myproject/zephyr/boards/arm/nucleo_l476rg/nucleo_l476rg_defconfig'
Merged configuration '/home/x90/Projects/myproject/zephyr/samples/sensor/bme680/prj.conf'
Configuration saved to '/home/x90/Projects/myproject/zephyr/build/zephyr/.config'
-- Cache files will be written to: /home/x90/.cache/zephyr
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Performing Test toolchain_is_ok
-- Performing Test toolchain_is_ok - Success
Including module: esp-idf in path: /home/x90/Projects/myproject/modules/hal/esp-idf/zephyr
Including module: fatfs in path: /home/x90/Projects/myproject/modules/fs/fatfs
Including module: qmsi in path: /home/x90/Projects/myproject/modules/hal/qmsi
Including module: cypress in path: /home/x90/Projects/myproject/modules/hal/cypress
Including module: silabs in path: /home/x90/Projects/myproject/modules/hal/silabs
Including module: st in path: /home/x90/Projects/myproject/modules/hal/st
Including module: stm32 in path: /home/x90/Projects/myproject/modules/hal/stm32
Including module: libmetal in path: /home/x90/Projects/myproject/modules/hal/libmetal
Including module: lvgl in path: /home/x90/Projects/myproject/modules/lib/gui/lvgl
Including module: mbedtls in path: /home/x90/Projects/myproject/modules/crypto/mbedtls
Including module: mcumgr in path: /home/x90/Projects/myproject/modules/lib/mcumgr
Including module: nffs in path: /home/x90/Projects/myproject/modules/fs/nffs
Including module: open-amp in path: /home/x90/Projects/myproject/modules/lib/open-amp
Including module: openthread in path: /home/x90/Projects/myproject/modules/lib/openthread
Including module: segger in path: /home/x90/Projects/myproject/modules/debug/segger
Including module: tinycbor in path: /home/x90/Projects/myproject/modules/lib/tinycbor
-- Configuring done
-- Generating done
-- Build files have been written to: /home/x90/Projects/myproject/zephyr/build
-- west build: building application
[1/127] Preparing syscall dependency handling

[17/127] Building C object CMakeFiles/app.dir/src/main.c.obj
FAILED: CMakeFiles/app.dir/src/main.c.obj
ccache /opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v1.14.0-2708-g11d8f1a1e972 -DCORE_CM4 -DKERN
EL -DSTM32L476xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/x90/Projects/myproject/zephyr/
kernel/include -I/home/x90/Projects/myproject/zephyr/arch/arm/include -I/home/x90/Projects/myproject/zephyr/include -I/home/x9
0/Projects/myproject/zephyr/include/drivers -Izephyr/include/generated -I/home/x90/Projects/myproject/zephyr/soc/arm/st_stm32/
stm32l4 -I/home/x90/Projects/myproject/zephyr/lib/libc/minimal/include -I/home/x90/Projects/myproject/zephyr/drivers -I/home/x
90/Projects/myproject/zephyr/ext/hal/cmsis/Include -I/home/x90/Projects/myproject/modules/hal/stm32/stm32cube/stm32l4xx/soc -I
/home/x90/Projects/myproject/modules/hal/stm32/stm32cube/stm32l4xx/drivers/include -I/home/x90/Projects/myproject/modules/hal/
stm32/stm32cube/stm32l4xx/drivers/include/Legacy -isystem /opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/8.3.0/inc
lude -isystem /opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/8.3.0/include-fixed -Os -nostdinc -imacros/home/x90/P
rojects/myproject/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mthumb -mcpu=cortex-m4 -imacro
s/home/x90/Projects/myproject/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length
-Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno
-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/home/x90/Projects/myproject/zephyr/
samples/sensor/bme680=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/x90/Projects/myproject/zephyr=ZEPHYR_BASE -ffunction-sections -f
data-sections -mabi=aapcs -march=armv7e-m -std=c99 -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj
.d -o CMakeFiles/app.dir/src/main.c.obj   -c /home/x90/Projects/myproject/zephyr/samples/sensor/bme680/src/main.c
/home/x90/Projects/myproject/zephyr/samples/sensor/bme680/src/main.c: In function 'main':
/home/x90/Projects/myproject/zephyr/samples/sensor/bme680/src/main.c:14:42: error: 'DT_INST_0_BOSCH_BME680_LABEL' undeclared (fi
rst use in this function); did you mean 'DT_INST_0_SOC_NV_FLASH_LABEL'?
  struct device *dev = device_get_binding(DT_INST_0_BOSCH_BME680_LABEL);
                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          DT_INST_0_SOC_NV_FLASH_LABEL
/home/x90/Projects/myproject/zephyr/samples/sensor/bme680/src/main.c:14:42: note: each undeclared identifier is reported only on
ce for each function it appears in
[22/127] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
ninja: build stopped: subcommand failed.
ERROR: command exited with status 1: /usr/bin/cmake --build /home/x90/Projects/myproject/zephyr/build
run as "west -v build -p -b nucleo_l476rg samples/sensor/bme680" for a stack trace

Environment (please complete the following information):

OS: Gentoo Linux
Toolchain: Zephyr
SDK-ng 0.10.1

@carlescufi maybe you could just point me into the right direction in regard of the defines I mentioned above, so that I know what values they should be set to in order for this to work, so I can figure it out on my own and in the best case set a PR to this repo? :)
Thanks a lot!

@mrusme you need to add a BME680 to your Device Tree file I believe.
@jhn-nordic, @joakimtoe, @jtguggedal or @MaureenHelm can hopefully help you out here

Thanks for the hint. I checked the documentation but did not see a way to extend the existing device tree for a board with a sensor that was additionally added over I2C (apart from creating a "new" board and including the sensor within the DTS maybe, although this might lead to having to back-merge all changes to the original board every time they occur?).
What is the best approach to take here?
Thanks a lot!

@mrusme the options you have are:

Define your own board (see here)
Add a nucleo_l476rg.overlay to your application with the BME680 node, as described here

@mrusme if you solve the problem by adding the node to DT, can you close this issue?

@carlescufi I guess this could be closed then, yes. I would re-open another issue, if something with the DT overlay would not work. Nevertheless it maybe should be documented somewhere. Let me fiddle around with it further, if I manage to get it working I'll set a PR with the changes to the docs.


lime_tabular sample data not around X

Hello, I found lime_tabular.py not sampling data around X but with feature mean/stddev when not using discretizer or with feature frequence when using discretizer. It will sample data in the whole feature space centered in the mean of features but not around the data to explain.
My question is why does the method of lime_tabular not sample data around the point to be explained ?
Thanks.

After sampling broadly, instances are weighted according to distance.
See also #63, #59, #55

Thanks


[BUG] Use Hunger Dice for Rouse

Describe the bug
Rouse checks should use hunger dice instead of regular dice because Oblivion has extra effects on bestial fail.
Acceptance Criteria
Roll hunger dice when clicking Rouse Roll.

I fixed this on my fork, but it's not a clean solution and requires refactoring (it currently is a duplication of the onRoll event).
Let me know if you still want me to pull it.

I was actually just looking at this yesterday. I was thinking about combining onRoll and onVampireRoll, with some logic to handle the different use case scenario's. I'll take a look at that now and see how feasible that is.


Fix scrollToObject: inconsistency bug when scrolling to bottom/right with content inset

The implementation of
-[IGListAdapter scrollToObject:supplementaryKinds:scrollDirection:scrollPosition:animated:]

has little inconsistencies where the UICollectionViewScrollPositionLeft and UICollectionViewScrollPositionTop considering the content inset left/top of the collection view was being applied to the final offset. However, the UICollectionViewScrollPositionRight and UICollectionViewScrollPositionBottom ignoring the content inset right/bottom of the collection view was being applied to the final offset. The different result is that scrolling to the most Left/Top, the first section content always be visible by considering its content inset while scrolling to the most Right/Bottom, the last section content always be fully displayed but not be fully visible by considering its content inset.
Changes in this pull request
Issue fixed: #
Checklist

[x] All tests pass. Demo project builds and runs.
[x] I added tests, an experiment, or detailed why my change isn't tested.
[x] I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.
[x] I have reviewed the contributing guide

Hi, @rnystrom , I can not figure out why the travis-ci task failed while my local building and testing are passed. Could you please check whether some common mistakes occurred?

@qhhonx has updated the pull request. Re-import the pull request

@rnystrom Can you reimport this PR again? It just fixes testcase inconsistency without extra logic code.

@lorixx It seems that you are active maintainer now. Can you review this PR and import it again?


delete infrastructure.md in favour of inventory

https://github.com/AdoptOpenJDK/openjdk-infrastructure/blob/master/ansible/inventory.yml is a much clearer way of viewing hosts now

I imagine a world where we won't have an inventory because jobs (builds, tests) will request macines on-demand from a cloud. I say "a" cloud and not "the" clud because the way I inderstand it we have a number of clouds, access donated by our sponsors, to choose from.

@geraintwjones the list is still in github, just here and in yml now

This is a great step forward, I really like the work done here. Great job.


Java FX projekt add dependency failed

Since yesterday's "Project Manager for Java" release, additional dependencies added to JavaFX do not work.
I am making a Java FX project. This is based on Maven. It works.
When I add an extra dependency like Gson.

com.google.code.gson
gson
2.11.0

I write in the code:
Gson gson = new Gson();
I import as usual.
The dependency cannot be used. VSCode says Gson cannot be resolved. It is there in the pom.xml file, and the import is also there in the code.
I saw that other people had previously written that, due to modularization, the following must be entered in the module-info.java file:
requires com.google.gson;
But even this instruction gives me trouble, you can't even find the module here.
I used it 3 days ago and there were no problems with it.

Have you tried right click on the pom file and select Reload Project?

Hello jdneo!
Not before your message, but I tried right click. Of course it doesn't help.
I also tried "mvn clean install", etc.
But I have since narrowed down the problem. The error only occurs with the latest version of Gson, which is: 2.11.0
The problem only occurs when I use JavaFX. I see that the point is not JavaFX, but the modular program (module-info.java). It works for a simple Maven project.
If I switch back to the previous version of Gson, 2.10.1 or earlier, it works.
I looked into the Gson source code. Earlier versions of Gson are also modular. So it's not a problem. I see they introduced a new thing: proguard. I just suspect that might be causing the problem. I didn't go through it in detail.

Would you mind sharing a sample project for this issue?

Here it is:
https://github.com/andteki/samplefx.git
Now, the Gson version is 2.11.0, so not working.
If you write the version 2.10.1, then works.

Looks like it's a bug from upstream:
Related issues:
https://github.com/google/gson/discussions/2721
https://github.com/eclipse-jdt/eclipse.jdt.core/issues/2495
For now the workaround is to use<EMAIL_ADDRESS>Sorry for the inconvenience.

Thank you for your work!


fixed category filtering on sheer pages

Changes

Included a new flag to handle category slug creation for sheer page filtering

Testing

visit http://localhost:8000/newsroom/ and click on a category

Review

@kurtw
@richaagarwal

Screenshots

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

:+1:


Add Kerbalism Continued

I got a request from N70 on IRC to add the continuation of the Kerbalism mod. License allows to redistribute.
Spacedock: https://spacedock.info/mod/1749/Kerbalism
Thread: https://forum.kerbalspaceprogram.com/index.php?/topic/172400-141-kerbalism-v13/

Could we revive the old one instead of making a new one?

https://github.com/KSP-CKAN/NetKAN/blob/master/NetKAN/Kerbalism.netkan

Sure, here you go

Is good to go


Fix isEmulator #597

Fixes #597.
Added more checks that seem to have been changed in the Android v22 emulator.

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@78e5e70). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #598   +/-   ##
==========================================
  Coverage           ?   39.64%
  Complexity         ?     2303
==========================================
  Files              ?      323
  Lines              ?    14130
  Branches           ?     1473
==========================================
  Hits               ?     5602
  Misses             ?     8323
  Partials           ?      205

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 78e5e70...d572a4a. Read the comment docs.


[BUG] - Missing package product

Describe the bug
I've been pulling the new updates, but I'm getting these errors.
So I also deleted the project and cloned it again same errors.
I cleared the cache, I didn't fix anything.
I signed my credentials, I didn't solve anything.
I signed Team none and sign certificate Locally, I didn't solve anything.
How do I fix this problem that I don't remember how I solved it a while ago?
Screenshots

Desktop (please complete the following information):

OS: macOS 12.3
Xcode: 13.3

No problem on my side.
Did you try File > Packages > Reset Package Caches?

@lukepistrol : Thx, this seems to have solved the problem, but how come this happens?

I don't know. But it's been known. For reference: Troubleshooting

@lukepistrol : How come in CodeEditTests and CodeEditUITest, the Team name is left with the signed certificate?

Add Packages

No problem on my side. Looks like a SPM error.
Did you try File > Packages > Reset Package Caches?

This solves my problem

Please see https://github.com/CodeEditApp/CodeEdit/wiki/Troubleshooting


refactor(LinearAlgebra/Matrix/SesquilinearForm): Sesquilinear Maps and Matrices

Some of the concepts in LinearAlgebra/Matrix/SesquilinearForm can be generalised from Sesquilinear Forms to Sesquilinear Maps with little or no impact on the rest of Mathlib. This PR makes those generalisations.
A number of results in the ToMatrix section relating composition of maps to matrix multiplication could also be generalised, but they require a more genralised notion of matrix multiplication than we currently have available, so they are not included in the scope of this PR. Similarly for most of the results in the Det section.

See also: #9312
Hopefully this will replace #8256, in part at least.

[x] depends on: #9475
[x] depends on: #13042

!bench

File
metric
master
change
this branch

Mathlib.LinearAlgebra.Matrix.SesquilinearForm
instructions
380.472B
49.57B 13.029 %
430.042B

Before:
cumulative profiling times:
        attribute application 39.8ms
        compilation 1.2s
        dsimp 0.453ms
        elaboration 2.2s
        interpretation 0.163ms
        linting 343ms
        parsing 26.6ms
        simp 3s
        tactic execution 1.23s
        type checking 1.21s
        typeclass inference 28.2s

After:
cumulative profiling times:
        attribute application 38ms
        compilation 989ms
        dsimp 0.63ms
        elaboration 2.54s
        interpretation 0.147ms
        linting 322ms
        parsing 24.5ms
        simp 2.89s
        tactic execution 1.37s
        type checking 1.15s
        typeclass inference 30.5s

!bench

!bench

!bench

@j-loreaux unfortunately the benchmarks look slightly worse (I'm assuming a larger percentage in red is worse?)

That's such a small change, and only in a single file, that it's not a big deal. It could even be noise.

General information:
lint:                                                  +3.5755 * 10⁹ (+0.0445%)
build:                                                 +49.877 * 10⁹ (+0.0406%)

7 files got slower by at least 10⁹ instructions:
Mathlib.LinearAlgebra.Matrix.SesquilinearForm:         +35.147 * 10⁹ (+31.4%)
Mathlib.LinearAlgebra.Matrix.BilinearForm:             +3.8428 * 10⁹ (+4.73%)
Mathlib.Combinatorics.SimpleGraph.LapMatrix:           +2.9559 * 10⁹ (+12.6%)
Mathlib.LinearAlgebra.Matrix.PosDef:                   +2.1526 * 10⁹ (+4.43%)
Mathlib.LinearAlgebra.QuadraticForm.Basic:             +1.6895 * 10⁹ (+0.926%)
Mathlib.Algebra.Lie.Classical:                         +1.3773 * 10⁹ (+3.76%)
Mathlib.CategoryTheory.Category.Cat.Limit:             +1.3142 * 10⁹ (+1.38%)

2 files got slower by at least 10%:
Mathlib.LinearAlgebra.Matrix.SesquilinearForm:                        +31.4%
Mathlib.Combinatorics.SimpleGraph.LapMatrix:                          +12.6%

No file got faster by at least 10⁹ instructions.
No file got faster by at least 10%.

Thanks @MichaelStollBayreuth I'll let someone else decide. But I'm okay with this. The other option would be to have these general versions, and then more specific ones which are abbrevs of these to help Lean with elaboration. I expect that would help, but I'm not positive without trying it.
maintainer merge

bors r+


Timeout on put_multi

Got hit by this error and there is no way to provide a larger timeout.
GenServer.call(TransactionWatcher.Storage, {:get_and_update_multi, [], #Function<15.65360478/1 in CubDB.put_multi/2>}, 5000)

11GB file with 30M entries... I know it might not be designed for this kind of data :)

Hi @kwando , what version are you using? The latest rc should have a timeout option: https://hexdocs.pm/cubdb/1.0.0-rc.6/CubDB.html#get_and_update_multi/4
I should really release v1.0.0 soon 🙂

Ah wait, I see now that you meant put_multi. You are right, there is no timeout option for now. One possibility is to use get_and_update_multi instead (cumbersome, I know).
I will think about introducing a timeout, or defaulting to :infinite.

I just set the default timeout to :infinity (consistently with other functions), it will be part of an upcoming v1.0.0-rc7.

Version 1.0.0-rc.7 is released, fixing this.

@kwando hopefully this should fix your issue.
That said, I am curious to know about your experience with a large CubDB database. In case you feel like sharing some opinions, you can find me on the Elixir Slack. I have used CubDB in use cases with equally large databases, usually though each individual piece of data is not too big.


Fcrepo indexing

GitHub Issue: Resolves Islandora-CLAW/CLAW#597

Other Relevant Links

Blocked by https://github.com/Islandora-CLAW/islandora/pull/57
What does this Pull Request do?
Provides a set of Camel routes to orchestrate calls to Milliner and Gemini in response to Drupal events.
What's new?
A lot.  A new feature for Alpaca.  Quite a few routes with some nice error handling techniques.  And tests covering the basic routing flows.
How should this be tested?
To install these changes, start with an existing vagrant that has Alpaca running in Karaf.  Then perform the following:

cd ~/Alpaca
./gradlew install
Then log into the Karaf console with /opt/karaf/bin/client
feature:repo-refresh file:/home/ubuntu/Alpaca/karaf/build/resources/main/features.xml
feature:install islandora-indexing-fcrepo

You can test it by creating, updating, and deleting an entity in Drupal and checking the results in Fedora.

Create an entity in Drupal. Let's say it has a uri of http://localhost:8000/fedora_resource/1.
curl -i -H "Authorization: Bearer islandora" "http://localhost:8000/gemini/drupal/fedora_resource/1" should return 200 with the path in Fedora.  I received cf/46/e4/cd/cf46e4cd-85b1-4430-8a8b-3b25809e5bf4.
curl -i -H "Authorization: Bearer islandora" "http://locahost:8080/fcrepo/rest/cf/46/e4/cd/cf46e4cd-85b1-4430-8a8b-3b25809e5bf4" should return its RDF metadata in Turtle format.
Update the entity in Drupal
curl -i -H "Authorization: Bearer islandora" "http://locahost:8080/fcrepo/rest/cf/46/e4/cd/cf46e4cd-85b1-4430-8a8b-3b25809e5bf4" should return updated metadata.
Delete the entity in Drupal
curl -i -H "Authorization: Bearer islandora" "http://localhost:8000/gemini/drupal/fedora_resource/1" should return an empty 404
curl -i -H "Authorization: Bearer islandora" "http://locahost:8080/fcrepo/rest/cf/46/e4/cd/cf46e4cd-85b1-4430-8a8b-3b25809e5bf4" should return a 410 with a message about the tombstone.

Interested parties
@Islandora-CLAW/committers

@Islandora-CLAW/committers Ok, we're building now (thanks @whikloj), so can someone verify that this will deploy on a fresh Karaf?

vagrant up

Good show old boy!
Works as expected. I'll leave it here for tonight and merge in the AM if there are no issues raised.


[BUG] - "Stash highlight" box covers tab buttons, no way to turn it off

The tutorial says it "takes 15 seconds to set it up" but I've gone over the settings 10 times and there are no settings pertaining to the stash highligh box. The box itself also can't be dragged around, neither does it show up when panels are unlocked.

please share a screenshot of your issue


Feature: specify grafana organisation for client

Description
Adds awareness of Grafana Orgs. This allows requests to be made against a specific org instead of the "current" org of the user.
fixes #126
Implemented using the "X-Grafana-Org-Id" header docs.
I didn't find a doc that looked like a place to document this feature. Where do you think it should go? or is the arg list good enough?
Checklist

[x] The patch has appropriate test coverage
[x] The patch follows the style guidelines of this project
[x] The patch has appropriate comments, particularly in hard-to-understand areas
[ ] The documentation was updated corresponding to the patch
[x] I have performed a self-review of this patch

I didn't find a doc that looked like a place to document this feature. Where do you think it should go? or is the arg list good enough?

Effectively, there is only the main README, so it should go between "Authentication" and "Timeout settings", with a headline like "Configure Organization".
Let's directly refer to https://grafana.com/docs/grafana/latest/developers/http_api/auth/#x-grafana-org-id-header over there, and cite the resource like
When using the organization_id parameter to GrafanaClient, its value will be populated into the X-Grafana-Org-Id HTTP request header.

[It] is an optional property that specifies the organization to which the action is applied. If it is not set, the created key belongs to the current context org. Use this header in all requests except those regarding admin.

Wait.

The `X-Grafana-Org-Id?  HTTP request header is an optional property that specifies the organization to which the action is applied. If it is not set, the created key belongs to the current context org. Use this header in all requests except those regarding admin.

I've re-read the statement and stumbled upon the highlighted fragments. Is it possible that this header is only meant to designate the organization identifier when creating authentication tokens? Coming from that insight, is it possible that authentication tokens are only meant to work within the context of a single organization, i.e. they are implicitly bound to an organization, and can't be used cross-organization?
I have to admit that I am not familiar with those concerns of the Grafana API, so I am humbly asking for education on this matter. Also, did you verify that your change works as intended for you? Are you using it to successfully run requests to a real Grafana instance, impersonating different organizations?

I've tested this manually a bit and wrote up the following test (we can add it when we get integration tests):
docker run --rm -p 3000:3000 grafana/grafana:10.1.5

def mk_gfn(organization_id):
    return GrafanaApi(("admin", "admin",), "localhost", 3000, organization_id=organization_id)

def mk_org(g: GrafanaApi) -> int:
    return g.organization.create_organization({"name": str(random.randint(0, 10000))})["orgId"]

def test_org_multiple_with_header():
    """Test that multiple instances of GrafanaApi will interact with the correct Org"""
    # Create a GrafanaApi with no org and create a new org
    g = mk_gfn(None)
    org1_id = mk_org(g)
    org2_id = mk_org(g)

    # Create GrafanaApis in both orgs
    g1 = mk_gfn(org1_id)
    g2 = mk_gfn(org2_id)

    # Create resources in org1 and check that only org1 can see them
    g1.dashboard.update_dashboard({"dashboard": {"title": "d1"}})
    r1 = g1.search.search_dashboards(type_="dash-db")
    print("dashboards in org1", r1)
    assert len(r1) == 1
    r2 = g2.search.search_dashboards(type_="dash-db")
    print("dashboards in org2", r2)
    assert len(r2) == 0

def test_org_header_ignores_context():
    """Test that a GrafanaApi bound to an Org is not affected by changing the current Org context"""
    g = mk_gfn(None)
    org1_id = mk_org(g)

    # Create resources in org1
    g1 = mk_gfn(org1_id)
    g1.dashboard.update_dashboard({"dashboard": {"title": "d1"}})
    r1 = g1.search.search_dashboards(type_="dash-db")
    print("dashboards in org1", r1)
    assert len(r1) == 1

    # switch current context to main org
    g.user.switch_actual_user_organisation(1)

    # verify org1 GrafanaApi is still bound to org1
    r1 = g1.search.search_dashboards(type_="dash-db")
    print("dashboards in org1", r1)
    assert len(r1) == 1

Thanks for outlining the documentation you'd like to see. I've done the writeup, if you're happy with it we should be good to merge!

 It was a pleasure working with you, and I want to thank you for your continued maintenance of this library!

Do you already know about grafana-client's sister package, grafana-wtf? If that resonates with you, and you will come up with ideas for features yet missing, we will be all ears.


Adjustments to podspec validation

Why?
To remove warning and tags to podspec validation

Pull Request Test Coverage Report for Build 75

3 of 3 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 90.797%

Totals

Change from base Build 73:
0.2%

Covered Lines:
957

Relevant Lines:
1054

💛  - Coveralls


Add: Hello_sandy in java

What does the program do ?
Print Hello
In what programming language it is written?
Java

This pull request do not contains files in specific folders. Please fix it and reopen for help see https://help.github.com/articles/moving-a-file-to-a-new-location/


when drop item into sortable but it dropped another same sortable under it

means that i have a layout sortable div which contains some items... but this div used only to show layout READONLY than configured
then, i user to configure the layout, it open an modal dialog contains another sortable div
two sortable with same style but a 'configing' class
when drag items and drop into sortable of dialog, but the ites falls into READONLY sortable....sad!

I'm not sure whether I understood your use case right, but please check your ng-model and your connects-to options. A fork of a code example would be great.

Please retest against the just released v0.17.2.

thanks， i ve changed the both connectWith to defferent, then solve my problems.


All code helpers broken

Type: Bug
I've had this several times over the last few weeks when all of the code assistance provided by vscode -- suggestions, go to definition, es-lint etc just disappear and stop functioning at all.
I've tried reloading, rebooting, loading with all extensions disabled, installing older versions with no effect. The first time I fixed it by installing VSCode Insiders, which worked for about a day before it did the same thing. The second time I fixed it by following https://stackoverflow.com/questions/42603103/how-to-completely-uninstall-vs-code-on-mac to manually delete every single related file to VSCode and then reinstalling. This worked for a couple of weeks but it has now happened again.
My theory is that it gets triggered when I open multiple projects simultaneously and some cache gets into a messed up state.
VS Code version: Code 1.80.1 (74f6148eb9ea00507ec113ec51c489d6ffb4b771, 2023-07-12T17:20:23.298Z)
OS version: Darwin x64 22.5.0
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
3, 3, 4

Memory (System)
32.00GB (0.04GB free)

Process Argv
--crash-reporter-id c2225439-1e97-43ba-aa4c-cae010d579ce

Screen Reader
no

VM
0%

Extensions (16)

Extension
Author (truncated)
Version

copilot
Git
1.97.270

terraform
has
2.27.0

better-cpp-syntax
jef
1.17.2

vscode-docker
ms-
1.26.0

mssql
ms-
1.19.1

sql-bindings-vscode
ms-
0.4.0

remote-ssh-edit
ms-
0.86.0

remote-wsl
ms-
0.80.2

cmake-tools
ms-
1.14.34

cpptools
ms-
1.16.3

cpptools-extension-pack
ms-
1.3.0

vscode-typescript-next
ms-
5.1.20230305

color-highlight
nau
2.5.0

vscode-commons
red
0.0.6

vscode-yaml
red
1.13.0

cmake
twx
0.0.17

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
3biah626:30602489
f6dab269:30613381
2i9eh265:30646982
showlangstatbar:30737416
vsctsb:30748421
03d35959:30757346
pythonfmttext:30731395
pythoncmv:30756943
fixshowwlkth:30771522
hideindicator:30785051
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30779714
pythonidxpt:30784022
pythonnocebcf:30776496
e537b577:30786199
dsvsc013cf:30789518

I recommend using the Start Extension Bisect command to try and discover if one particular extension is crashing the Extension Host which all extensions share.

Once the problem shows up it persists even with all extensions disabled, so tracking it down to a particular extension isn't easiest.
Deleting ~/Library/Application Support/Code fixed it this time round, will see if I can get it to reproduce

Hey @mjbvz, this issue might need further attention.
@garethve, you can help us out by closing this issue if the problem no longer exists, or adding more information.


updates sortablejs to 1.6.1

Updates rubaxa sortablejs to 1.6.1. @cheton will you merge and publish? See #41. This is to fix issues with Firefox 57 & Chrome Version 62.
I am specifying 1.6.1 due to Rubaxa issue #1213 where users still have drag issue but 1.6.1 is working.

Published 1.3.6. Thank you for your PR.


Muter doesn't mutate logic that's within a guard statement

A main problem any tool that modifies source code has is knowing whether or not source code changes are going to cause static or dynamic errors within the program.
I have a hypothesis that modifying conditional logic inside a guard statement will nearly always lead to a static or dynamic error. This is partially proven by running Muter on a few code bases and noticing this tendency.
It could be valuable to have Muter avoid mutating logic that's inside a guard statement. This would speed up Muter by not having it make source code changes that would only lead to a compilation or fatal error.

This is now a dupe of #87


Make AQConnector compatible with custom config

Environment Details

Helidon Version: 2.4.1
Helidon MP
JDK version: 11

Problem Description
We need a feature to include Helidon AQ connector along with our custom messaging implementation (messaging connector) as part of our application.yaml. Basically, we need Helidon to support AQ connector with customized config.

Can I ask you to be more specific? I am afraid I don't understand your request, what do you exactly mean by custom messaging implementation?

Note: means making JMS connector depend only on MP config


Clarify "No Pickle"

Hello,
Could you please clarify the phrase "No Pickle" (as it stated in the README).
There are two "pickles" I know:

protocol for writing metrics with Carbon.
serialized Python object.
The first one used by Carbon only and have no sense to graphite-api, so you meant the "serialized Python object", am I right?

Please reflect it in the README.md to avoid possible confusions for other people too.
(there are too many entities/terms linked with graphite, so it's better to encourage clarity in documentation)
Thanks!

Hi @JFC-MC -- you're correct that Pickle refers to rendering. But note that the Pickle carbon protocol is also "serialized Python objects" :) They're the same Python pickle.


726 carousel scroll fix

@blynch11p @mannyrivera2010 @skhtet

@mannyrivera2010 @skhtet @blynch11p @rkenyon1969

@mannyrivera2010 @skhtet @blynch11p  sorry I closed this before.

:+1:

In reference to #729
:+1:


CMake patches to fix the ninja builds on Windows

Fixes for #141
A couple of small changes to fix the Windows build when using the Ninja generator:

the issue described in #141
adding missing source files (avx2/avx512bw)

Tested on Windows & Linux with make and ninja CMake generators.

One question: shouldn't this addition be placed in cmake with extension .cmake instead of .txt?

CMake expects a CMakeLists.txt file

This generates a reflex_shared_lib.so and reflex_static_lib.a, which is pretty unusual on != Windows.

This generates a reflex_shared_lib.so and reflex_static_lib.a, which is pretty unusual on != Windows.

Hi @gahr, with these changes, the names are libreflex_shared_lib.so and libreflex_static_lib.a. Both are conforming to the unix naming conventions, have you experienced any issues with the new names? (or is it the shared_lib and static_lib naming pattern that caught your attention?)

Yep, having static and shared library not share the same basename makes it inconvenient to lookup the correct library by suffix, i.e. switch from shared to static by searching .a beforw .so. I’ve never seen this before to be honest.

I'd like to understand the inconvenience part a bit better. If you're using reflex as a CMake subproject, you'd use target_link_libraries to link against the reflex libraries:
target_link_libraries(my_target PRIVATE ReflexLib)
Or to select the static version:
target_link_libraries(my_target PRIVATE ReflexLibStatic)
This has not changed in any way, both before and after the PR you'd have to pick the library flavor (ReflexLib or ReflexLibStatic) and the actual library file names are not relevant.
If you have a different kind of setup, I can see how a setup where both the '.a' and the '.so' have the same base name and you'd use something like -static' (or '-Bstatic for ld) to pick the intended flavor. Either way you'd need something in the build script to select the right version, and I don't see how a switch vs. different library base name is significantly more difficult.

I don’t source reflex as a subproject, I locate it - and other dependencies of mine - via find_library. I can typically switch between static and shared libraries with CMAKE_FIND_LIBRARY_SUFFIXES. The assumption here is that libraries have the same basename and a different extension. I would dare to say this is established practice on unid. I have never seen listing different names for dependencies’ libraries for the shared and static use case.

Hi @gahr , my apologies for the delayed response.
I'm not sure if sharing the basename and building both shared and static versions of the same library is established practice with CMake though (yes, on Linux and a few other systems it's common to see system wide libraries with the .a and .so next to each other, but that's a platform specific thing, not a portable, or perfect, solution)
With CMake, static and dynamic (shared) libraries normally come with separate targets, which by default implies different basenames. You'd have to go out of your way to force the same base name (which is what Reflex did, and as #141 shows, this is problematic).
Using CMAKE_FIND_LIBRARY_SUFFIXES to select the library version feels like a hack to me (not only that it's not cross-platform-friendly, but it has a number of pitfalls, for example conflicts with compiler/linker switches like --static). I'd recommend importing reflex as a subproject. If that's not an option, selecting the full library name should not be significantly more involved than tweaking CMAKE_FIND_LIBRARY_SUFFIXES.

Hi @tlemo , thanks for the detailed answer.
I can certainly vendor in re-flex in my projects, but I am here mostly as the maintainer of a re-flex port for FreeBSD.
It looks to me like the previous situation was better from a consumption standpoint except for the technical difficulty on Windows. Indeed, if it wasn't for the latter, we would still be in the former best situation. It seems like you are now trying to rationalize why having two different basenames is better even on non Windows platforms. I don't agree with your rationale, but I can accept an opinion different than mine. However, the version that introduces this change is not backwards compatible, so what is a downstream maintainer supposed to do? Should I track all ports that depend on re-flex and change how they pick the re-flex libraries, or should I patch re-flex so it behaves like before on FreeBSD, thus deviating from upstream?
Perhaps what I'll do is make sure nobody depends on the static library, and just install one flavour as libreflex.so.

Ah, I'm starting to understand your context a bit better, thanks (btw, I love FreeBSD - thanks for your contribution!)
If I'm not wrong, the FreeBSD ports is based on makefiles - I imagine you have a makefile wrapping the CMake reflex build? If that's the case, wouldn't it be possible to copy/rename lib files as you wish in a post-build rule?

wouldn't it be possible to copy/rename lib files as you wish in a post-build rule?

Yes, I can do that. However, that would mean re-flex libraries are named differently on vanilla re-flex and FreeBSD, which in turn means users of re-flex need to be patched on FreeBSD.
Do you think there's a real downside in having both .a and .so share the same basename on *nix? I.e., would anybody come up and this this change was a good idea if it wasn't for Windows?


Add freedesktop menu widget

Here is some code for a menu widget that is filled as described by the
freedesktop (aka xdg) menu specification.  It is supposed show the
same entries as the "regular" Mate-, Xfce- or whatever-menu.
Create and use like other widgets: let menu = menuWidgetNew (Just "mate"),
startWidgets = [menu, ...]
Implementation of the freedesktop standard is probably incomplete, but
I could imagine that there may be someone who might find it useful
anyway.

Thanks for the well-commented commit and feature.  I'm happy to merge.  I didn't check closely, but my only question is: are any of the helpers dealing with XDG environment variables subsumed by the xdg-basedir package (https://hackage.haskell.org/package/xdg-basedir)?

I am very happy to see that you merged already.  Thanks!  :)
IIRC xdg-basedir did not provide all the xdg things I needed so I
decided not to use it at all (for sake of consistency).


[Feature request] Add option to forward UDP over ICMP

It would be great to have the option of encapsulating UDP packets in addition to TCP over ICMP. This would make it possible, for example, to tunnel an encrypted OpenVPN UDP or WireGuard link.

Seems useful to me.
I'm currently out-of-time but that will change in the near future.

Seems useful to me.
I'm currently out-of-time but that will change in the near future.

I hope it's for good reasons :)


playground - travis rm -Rf old deploy before copying new

remove old pg files before new deploy
P.S. .git folder stays untouched

the CNAME file is required for the domain to work,

easy solution is just to clean up the repo manually

ah yes, missed that ... hmm ... how to make it better ... some kind of gitkeep ... will think about it but not today already :)

just clean it up manually, its not something that changes much once the overall playground setup is done


Python3 compatibility

This updates gtfs_realtime_pb2.py to be compatible with Python 3 by using Protocol Buffers version 3. I also changed the README.md example to use the requests library instead of urllib since requests is Python 2.x/3 compatible. Finally, I bumped the package version from 0.0.4 to 0.0.5.
Fixes #17

I signed it!

GTFS RT is protobuf2
Does your change (import requests) break python2? it should not

@egorich239 Protobuf is now at version 3. Version 2 is still supported and "will be for a long time" according to the version 3 release notes here. Protobuf version 3 provides Python 2.x and 3.x support while also continuing support for Protobuf 2.

@robbiet480 What I mean is protobuf3 is not a drop in replacement for protobuf2 -- it has a lot of semantics changes. GTFS RT is designed on top of protobuf2 semantics.

@egorich239 I understand. Protobuf 3 continues to support working with Protobuf 2, meaning that I used the protoc from Protobuf 3 to generate a new gtfs_realtime_pb2.py which is Python 2.x/3.x compatible while still being Protobuf 2.

Actually it even specifies in the new gtfs_realtime_pb2.py that it is proto2 here.

@egorich239 Thanks! :cookie:

@egorich239 Can someone push the latest version to PyPi?

Bumping this in the hopes of having the latest version pushed to PyPi.

Fixes #17

Come on, can we have a new version on pypi, please?

@RachM can you release a new version to PyPI?

Yup, I've commented on issue 21. Will post updates there.


source_file_comments breaks CMS search

Affected Version
silverstripe/recipe-cms                        4.4.2
silverstripe/framework                         4.4.2
Description
Turning on source file comments breaks the CMS search and only 1 item will be displayed per grid field page.
Steps to Reproduce

Use CMS search to search by page type for a page type with more than 15 pages (this works!)
Turn on source file comments.
Repeat search in step 1, there will now only be one gridfield row per page (items per page is still set to 15)

Note that this seems to be caused by the template comments getting munched in the output:

Excerpt from results output with source_file_comments enabled

HomeModified

	Home

Marked as low impact as source_file_comments is primarily a debugging tool.

If template comments wouldn't show for file/mime-types that do not allow comments such as json I guess the issue would be solved, but is this even possible/manageable?
https://stackoverflow.com/questions/244777/can-comments-be-used-in-json


Possible no_std support

Hi there,
I was trying to use bcs in an environment without std support, after some hacking, I've put together a commit that compiles in a no_std environment: https://github.com/xxuejie/bcs/commit/7e6b1f33b418f9dae71047f5f62de840dd74b0fa Some of my changes include:

Switch from std to core for components that exist in both crates, such as core::result::Result
Use Vec and String from alloc instead of std
Add a just-enough io module in no_std environment to minimize changes to existing logic
(Perhaps the most controversial one), I have to use onlyerror, which is like thiserror but works in no_std environment. And for this to work I have to switch to a nightly version of Rust, since core::error::Error is not stable yet. An alternative path is what postcard does now, but we lose the custom message

So my question here is: is no_std support that you would consider to be accepted to upstream? And if so, how do you suggest we deal with the thiserror issue?
Thanks!

Hi @xxuejie, Thanks for reaching out! I don't think we want to switch to the nightly Rust. I'm open to the idea of a feature std that would activated by default but can be removed to activate your suggestions.
@bmwill What do you think?

Hey thanks for the reply! I could prepare a PR that adds std as a default-on feature, so the messages defined on errors will only be available when std feature is enabled. Rest of changes are just as described above. This will make sure stable Rust can be used, will that work for your case?

Sounds good to me


Allow notebook kernel to be set per-cell

Previously mentioned here: https://github.com/microsoft/vscode/issues/119949#issuecomment-811385963.
Notebooks can contain code cells in any language. Kernels can be notebook type agnostic. Notebook serializers are not necessarily tied to a specific kernel. Specifically, Markdown Notebook provides a serializer but no kernel, and Go Notebook Kernel provides a kernel but no serializer (and could work with any notebook type).
I want to be able to set the notebook kernel per cell. This would allow one notebook to contain code in multiple languages, executed by different kernels.

Thank you for the feature request, @firelizzard18!
Have you had a chance to play with .NET Interactive Notebooks, by any chance? Users can select different language sub-kernels for each cell, or by using magics. Current languages supported are SQL, C#, F#, JavaScript, and TypeScript -- though we are in the process of adding support for both Python and R.
cc: @claudiaregio @ladynagagga @tanhakabir

Hi @firelizzard18, what languages would you like to be able to use in the same notebook?

@dynamicwebpaige @claudiaregio I am not interested in specific languages. I want to be able to use multiple kernels in the same notebook without those kernels being hard coded to work together. I have written a few kernels; given that they serve different purposes, they should be (and are) separate extensions. I want to be able to write a notebook with cells in different languages, each handled by the appropriate kernel.


pulp_publish: only remove each docker_image unit once

Signed-off-by: Tim Waugh<EMAIL_ADDRESS>

Not updating release notes. Bugfix of unreleased feature.


Ray tracing updated

Connections
gfx-rs/wgpu#3631
Description
Another update to trunk, Note: due to ObjectID being removed this implements a new type called BlasShared that is wrapped in an arc, and the blas becomes invalid after that is dropped instead. TlasInstance now holds an arc to this also. This also means that Tlaspackages that build after a blas is dropped work. This is designed as easy to be removed once gfx-rs/wgpu#5121 is finished, but feel free to suggest a different idea.
Testing
ran ray scene, ray traced (fragment + compute).

Checklist

[x] Run cargo fmt.
[x] Run cargo clippy. If applicable, add:

[x] --target wasm32-unknown-unknown
[x] --target wasm32-unknown-emscripten

[x] Run cargo xtask test to run tests.
Add change to CHANGELOG.md. See simple instructions inside file. N/a

Now we have a new PR, so this is not necessary.


[dashboard, chart] fix ordering and filtering in listviews

CATEGORY
Choose one

[x] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY

Fixes issues with ordering and filtering on dashboard and chart listviews
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS
@dpgaspar @craig-rueda @mistercrunch

Codecov Report

Merging #9212 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #9212      +/-   ##
==========================================
+ Coverage   58.91%   58.93%   +0.01%
==========================================
  Files         372      372
  Lines       11996    12000       +4
  Branches     2937     2937
==========================================
+ Hits         7068     7072       +4
  Misses       4750     4750
  Partials      178      178

Impacted Files
Coverage Δ

...frontend/src/views/dashboardList/DashboardList.tsx
60% <100%> (+0.65%)
:arrow_up:

...uperset-frontend/src/views/chartList/ChartList.tsx
64.03% <100%> (+0.64%)
: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 4f73f8a...5db406d. Read the comment docs.

Weird, travis is green but merge is yellow, trying to close/reopen


Export API for stallers and remove access to internal deletages of stallers

I'm making a few more changes so please hold off for reviewing; Thanks!

Should be ready for review now!

hmm... this StallBlockOpAll API isn't quite useful. I'll have to update again ... sorry guys!

Just reverted the last commit. I'll include that in a separate PR which will include staller support in dsl tests as well. So this is open for review again. Really sorry about the comment storm!

This is beautiful and made me weep with joy.  Nice cleanup!  Looks good to me.

Thanks for the kind words @strib !

lgtm, thanks for the cleanup!


Build(deps-dev): Bump ts-prune from 0.10.1 to 0.10.2 (#2011)

Pull request opened by the merge tool on behalf of #2011

Merged in c377a67e9add7d35c9a223d5a85266c215412b0d


[backport] Update installation guide

Backport of #2184

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 4a95afeea2a477a3a2ff13f0988bcfa1427e3f65, target branch v6) failed with status FAILURE.

The test failure is not related to this PR (will be resolved in #2291).


unable to connect to the Exchange Online PowerShell via Service Principal

I am trying to connect to the Exchange Online PS via my partner credentials. I am able to get the token successfully via admin credentials but when using service principal I get the below error. We are using the same application as I have used in both the cases there has been no changes in this. Attached is the screenshot for your reference.
New-PartnerAccessToken : AADSTS7000215: Invalid client secret is provided.
Trace ID: 3121f455-760a-4a0a-af2f-a7958bfe3f00
Correlation ID: 6f521f13-c71f-4e47-a767-3a88a7e06e13
Timestamp: 2019-12-12 14:51:38Z
At line:1 char:1

New-PartnerAccessToken -ApplicationId 'a0c73c16-a7e3-4564-9a95-2bdf47 ...

  + CategoryInfo          : NotSpecified: (:) [New-PartnerAccessToken], MsalServiceException
  + FullyQualifiedErrorId : Microsoft.Identity.Client.MsalServiceException,Microsoft.Store.PartnerCenter.PowerShell.Commands.NewPartnerAccessToken

I am using  2.0.1909.5 version of Partner center module
PS C:\WINDOWS\system32> Get-Module -Name PartnerCenter
ModuleType Version    Name                                ExportedCommands

Script     2.0.1909.5 PartnerCenter                       {Add-PartnerCustomerCartLineItem, Add-PartnerCustomerUserRoleMember, Connect-PartnerCenter, Disconnect-PartnerCenter...}

====================================================
Adding to the above the powershell 3.0 documentation states to generate the initial refresh token via below command :
$token = New-PartnerAccessToken -Module ExchangeOnline
but i am not able to get the -Module parameter while trying to execute above command

@SachinUpreti13 please update to version 3.0 of the module and follow the guidance available at https://docs.microsoft.com/en-us/powershell/partnercenter/multi-factor-auth?view=partnercenterps-3.0#exchange-online-powershell

@isaiahwilliams Thanks for that update. I was able to update my module and tried to connect using the document provided above. But there is an error while creating a new session. we have DAP active with the end customers tenant but still the access denied message comes up.

Any suggestions?

@SachinUpreti13 when you generated the refresh token did you use an account that has Admin Agent privileges? If you did can you confirm that account can be used to access the EAC?

@isaiahwilliams  yes the account i have using have access to admin agent in the partner center portal. I have a query in regards to the script in the above documentation. $customerId represents the tenant id of the customer whose tenant we are trying to access ?

@isaiahwilliams Hi could you please advise on this issue ?

@SachinUpreti13 can you confirm that the EAC loads as expected when utilizing that account? I am trying to rule out an issue with the relationship that is impacting Exchange.

@SachinUpreti13 since this is not an issue with the module I would recommend working with Microsoft support or the community through the Microsoft Partner Community. Please let us know if you have any issues with the module and we will be glad to help.


request.mimetype always empty

it appears that request.mimetype is always an empty string - which I assume is a bug:
$ cat testcase.py
from flask import Flask, request, make_response

app = Flask(__name__)

@app.route("/")
def root():
    response = make_response("mimetype: %s\n\n%s" % (repr(request.mimetype),
            request.headers))
    response.headers["Content-Type"] = "text/plain"
    return response

if __name__ == "__main__":
    app.run()

$ python testcase.py &

$ curl -X GET -H "Accept: text/plain" http://<IP_ADDRESS>:5000/
mimetype: ''

Accept: text/plain
...

$ curl -X GET -H "Accept: application/json" http://<IP_ADDRESS>:5000/
mimetype: ''

Accept: application/json
...

$ curl -X GET -H \
    "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" \
    http://<IP_ADDRESS>:5000/
mimetype: ''

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
...

My expectation was that request.mimetype be populated based on the Accept header - is this perhaps misguided?
(I've traced this into Werkzeug, but kinda got lost along the way.)

invalid; what I want is request.accept_mimetypes (also see http://flask.pocoo.org/snippets/45/)


Unable to use B2BSearchControllerSample.productSearch with effectiveAccountId and Named Principal Named Credential so unable to display prices

We’ve run into an issue with the reference component that uses the REST Connect API for searching that we need to use for a custom Category / Search Results.
B2BSearchControllerSample.productSearch:
https://github.com/forcedotcom/b2b-commerce-on-lightning-quickstart/blob/b8a34565d394a2b4460cee0bc587b2c720e87842/examples/lwc/force-app/main/default/classes/B2BSearchControllerSample.cls#L24
That calls the product-search endpoint.
httpRequest.setEndpoint(
'callout:CallMeBack/services/data/v' +
apiVersionApexClass +
'/commerce/webstores/' +
webstoreId +
'/search/product-search'
);
The reference implementation ignores the effectiveAccountId (note it is a parameter to the Apex method, but never passed in the REST call), which means that pricing is not displayed. When we add it as specified in the documentation https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_commerce_webstore_product_search.htm
?effectiveAccountId=
We get an error:
[{"errorCode":"INVALID_API_INPUT","message":"Only a buyer user can access this account."}]
We followed the setup steps here for the Named Credential:
https://github.com/forcedotcom/b2b-commerce-on-lightning-quickstart/blob/master/examples/lwc/docs/NamedCredentials.md
The problem is that our Named Principal doesn’t have the Buyer User system permission. So, we created a permission set to assign it to our Named Principal user, but it is not possible. We get an error that the Buyer User permission is not applicable for the license type of our Named Principal, which is Salesforce (also doesn’t work for Platform). However, there is no way to create a named principal for the Named Credential that is a Community Login User and we cannot do it on a Per User basis either, because that would require the store users to go through the webflow for oauth which we obviously cannot do.
We are stuck on not being able to use this AND display pricing.
Ideally, the reference implementation should be updated to not ignore the effectiveAccountId parameter since it is more likely that prices would be desired in the search results than not. At least, if it is not possible, that should be documented.

@peterTrifecta are you still facing this issue?
I have not encountered your error, I am able to display prices for logged in users since I am able to pass accountId (made sure that provided account is a buyer group member in the buyer group assigned to webstore and that this account is enabled as buyer) into effectiveAccountId parameter, however my problem is when I pass the Id of guestBuyerProfile, then I always get null for prices, therefore I am unable to show prices for guest users.
I have set name credentials like in the provided guide with all Application Permissions on the connected app.

Hi All,
I was also having issues in retrieving the pricing, below is the sample code for everyone's reference
HttpRequest httpRequest = new HttpRequest();
httpRequest.setMethod('POST');
httpRequest.setHeader(
        'Content-Type',

        'application/json;  charset=utf-8'

    );

httpRequest.setEndpoint(
        'callout:CallMeBack/services/data/v' +

        apiVersionApexClass +

        '/commerce/webstores/' +

        webstoreId +

        '/search/product-search**?effectiveAccountId='+effectiveAccID**

    );

httpRequest.setBody(searchQuery);
Http http = new Http();
HttpResponse httpResponse = http.send(httpRequest);
Additional things to note:

Test it with a customer user
The customer user is assigned to the buyer of the buyer group which is linked to the store
There is an entitlement policy linked to the above buyer group with visible price and visible product flag as checked.
The Account currency, pricebook entry currency and user currency all match(EUR)

Thanks @patrykzak @peterTrifecta


Update README.md

boilerplate centralized here https://github.com/robert-koch-institut/mex-model/pull/10


Remove version: REALiX.HWiNFO version 8.06

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/hwinfo/files/Windows_Installer/hwi64_806.exe/download
OK
(Automated message - build 923)

URL: https://sourceforge.net/projects/hwinfo/files/Windows_Installer/hwi64_806.exe/download
Status Code: 200
(Automated message - build 903)

Close with reason: Duplicate;


Per NDIS Connection Offload Status

In the NDIS section about offloading connections (link) we mention it's an array of connections to be added/removed, but I think we need an output parameter, per connection, to indicate if that operation succeeded or failed. For instance, what if we add 2 connections, but the HW only has memory available for 1? Should the whole operation fail, or just the second add?

Makes sense to me


Audit Log - Rotated files still stored after reaching maxage value.

Rancher versions:
8/1
Steps to Reproduce:
Enable audit logs (set max size to 1  and set maxage = 1)
Rotate initial log file (fill file capacity)
Wait one full day.
Results:
Old audit file is still present, even after declared maximum days to keep file.
AUDIT_LOG_MAXAGE - Defined the maximum number of days to retain old audit log files, default is 10 days.

Working as intended. Did not fully understand feature.


update OMIM and Orphanet ingest

in the last meeting, we discussed that updating the OMIM and Orphanet ingests are high priority.
As part of this process, we need to ensure the pipeline for updating OMIM and Orphanet is properly documented so it is runnable by @ShahimEssaid/ @wdduncan / @nicolevasilevsky / @matentzn

[ ] @nicolevasilevsky add documentation to Mondo developers guide
[ ] @cmungall update OMIM source to latest version
[ ] @cmungall update Orphanet source to latest version

@nicolevasilevsky
@cmungall
(cc @zoependlington )

in the last meeting, we discussed that updating the OMIM and Orphanet ingests are high priority.
As part of this process, we need to ensure the pipeline for updating OMIM and Orphanet is properly documented so it is runnable by @ShahimEssaid/ @wdduncan / @nicolevasilevsky / @matentzn
* [ ]  @nicolevasilevsky add documentation to [Mondo developers guide](https://mondo.readthedocs.io/en/latest/)

* [ ]  @cmungall update OMIM source to latest version

* [ ]  @cmungall update Orphanet source to latest version

Wrt the last item, should I then wait before looking at the list/spreadsheet in https://github.com/monarch-initiative/mondo/issues/834? To avoid looking into terms that may potentially not be in Orphanet any more, or that may not make it into Mondo? Asking as I'm not sure about your strategy/procedure/timeline. Please ignore me if this is not relevant. Thanks and a safe weekend to all!

Hi @paolaroncaglia there isn't a timeline in place yet to update Orphanet, it probably will be delayed for a bit due to other competing priorities and all the other craziness.

If you need this more urgently, let me know.

@nicolevasilevsky Thanks. I commented here https://github.com/monarch-initiative/mondo/issues/834#issuecomment-604560302, and we can catch up at our next EFO-Mondo meeting, or sooner if necessary.

@cmungall Is it correct that Orphanet was updated to the latest version in the last release? Could we check off that box above?

This can be closed


Allow disk_space function to accept a path argument

In relation to #155
I can't test if it works as intended for other OS's, but let me know if I missed anything here.

Ah sure yeah my bad, didn't think about that

Yes, although I'm gonna hold off on any releases because we've been recently breaking things back to back, in a short period of time.

Alright that's fine. Will the libmacchina crate still be updated so that I can make the changes to macchina or will I hold of on that for now?

Hey, just checking, anything else you wanted from this?

Hi,

anything else you wanted from this?

Small nitpick: path should be of type Path and we should check if the path exists before continuing.

Yeah I was wondering about that, I had decided to just keep it as it was in the shared::disk_space function but yeah I can make that change. Should it return a ReadoutError::Other?

Could you make the same change to shared::disk_space?

Should it return a ReadoutError::Other?

If the path is incorrect then ReadoutError::Other is indeed the most appropriate return value.

Let me know if that works and if I missed anything, I was definitely iffy on the part with the CString as that's my first time seeing that. I got it working with my changes to macchina anyways so seems ok as far as I can tell.

Lot of minor fixes there. Is there any way to have the linting or testing point out these errors locally? Also I just copied the code I implemented for the shared function to to the netbsd implementation, no idea if that works though.

Wonderful, thanks a lot!
CI will lint, build and test the code of every platform, though testing remains the weakest point of libmacchina.


Released binaries are not statically linked.

Hello,
The published binaries (0.4.2) are linked to GLIBC, making them non-portable.
This can be fixed by adding CGO_ENABLED=0 in the release task, inside the makefile.

hi @Darkness4,
I didn't noticed that, do you have time to open a pull request?


fix(chat): remove discard requests for own files (Issue #2193)

Description:

dicard share only for files that were shared with the user (on delete)

Issues:

Issue #2193

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[x] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review

/deploy-review

/deploy-review


What does Timeout flush exactly mean ?

I want to capture all  java stack trace records , especially , the last one record  , in my app logfile error.log-schedule-server.log . And then send it to ES .
For example ,  this is the last  java stack trace record in logfile error.log-schedule-server.log :
2021-06-03 15:45:25 no 32 hello world
ERROR System.out(4844): java.lang.NullPointerException
     at com.temp.ttscancel.MainActivity.onCreate(MainActivity.java:43)
     at android.app.Activity.performCreate(Activity.java:5248)
     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1110)
     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2162)
     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2257)
     at android.app.ActivityThread.access$800(ActivityThread.java:139)
     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210)
     .......
     .......

This is my flunetd.conf
<system>
  log_level debug
</system>

<source>
  @type tail
  path /fluentd/etc/source-logs/schedule/error.log-schedule-server.log
  pos_file /fluentd/etc/source-logs/schedule/error.log-schedule-server.log.pos
  read_from_head true
  tag btcs.schedule.error
  <parse>
    @type none
  </parse>
</source>

<filter btcs.**>
  @type concat
  key message
  multiline_start_regexp /^\d{4}-\d{1,2}-\d{1,2}/
  flush_interval 3s
</filter>

<match btcs.**>
  @type elasticsearch
  host elasticsearch
  index_name BTCS-all-in-one
  flush_interval 1s
</match>

But fluent-plugin-concat throw error :
dump an error event: error_class=Fluent::Plugin::ConcatFilter::TimeoutError error="Timeout flush
My question is :
What does Timeout flush excatly mean ?
What does fluent-plugin-concat flush ? to where ? and why timeout ?
I have read some posts about this issue , it is suggested to use timeout_lable.
But I wonder that the meaning of Timeout flush .
Thank you!
Your environment
fluent/fluentd:v1.12.2-debian-1.0

What does Timeout flush excatly mean ?

multiline_start_regexp /^\d{4}-\d{1,2}-\d{1,2}/ matches to 2021-06-03 15:45:25 no 32 hello world
the following logs are not matched by multiline_start_regexp.
within flush_interval 3s, log entry is not matched at all

Thus, above configutation only works if something like 2021-06-03 15:45:25 no 32 hello world is logged periodically (every within 3 seconds)

What does fluent-plugin-concat flush ? to where ? and why timeout ?

In the above configuration, flush from 2021-06-03 15:45:25 no 32 hello world to ..., as a record then processed <match > section.
If you don't care about timeout event, you can throw it away like this:
<filter>
  @type concat
 ...
  timeout_label @TIMEOUT
</filter>

<label @TIMEOUT>
  <match **>
    @type null
  </match>
</label>

Thank you for your reply . But I still do not understand it .
What I thought is that :

multiline_start_regexp /^\d{4}-\d{1,2}-\d{1,2}/ matches to 2021-06-03 15:45:25 no 32 hello world
fluent-plugin-concat  think that it is the start part of  a mutiline , and then send it to buffer
the following logs are not matched by multiline_start_regexp.
fluent-plugin-concat think that they are continuous parts of  the mutiline , these logs are also appended to the buffer
within 3 seconds (flush_interval 3s)  ,  if fluent-plugin-concat  see another new /^\d{4}-\d{1,2}-\d{1,2}/ , it will flush the buffer to <match> setion .
after  3 seconds (flush_interval 3s) ,   if fluent-plugin-concat  still does not  see another new /^\d{4}-\d{1,2}-\d{1,2}/ , it will flush the buffer to <match> setion .

Anyway , the main problem is that I can not figure  out how to capture  the last record in the logfile error.log-schedule-server.log.
This is the flunetd.conf, but the last log record will not be captured and sent to ES.
<system>
  log_level debug
</system>

<source>
  @type tail
  path /fluentd/etc/source-logs/schedule/error.log-schedule-server.log
  pos_file /fluentd/etc/source-logs/schedule/error.log-schedule-server.log.pos
  read_from_head true
  tag btcs.schedule.error
  <parse>
    @type none
  </parse>
</source>

<filter btcs.**>
  @type concat
  key message
  multiline_start_regexp /^\d{4}-\d{1,2}-\d{1,2}/
  flush_interval 3s
  timeout_label @NORMAL
</filter>

<match **>
  @type relabel
  @label @NORMAL
</match>

<label @NORMAL>
<match btcs.**>
  @type elasticsearch
  host elasticsearch
  index_name BTCS-all-in-one
  flush_interval 1s
</match>
</label>

Same question for me here. My logs stopped to be processed and the only error log that I found was this timeout issue, happening immediatelly after the last processed log.
2021-06-15 20:30:08 +0000 [error]: #0 failed to flush timeout buffer error_class=ArgumentError error="@MULTILINE_LOGS label not found"

My settings:
# ...

<filter multiline.**>
   @type concat
   key message
   multiline_start_regexp /^(E|F), \[[^ ]+ \#\d+\]( )+[^ ]+ -- :/
   continuous_line_regexp /^(?!(^., \[[^ ]+ \#\d+\]( )+[^ ]+ -- :)).+/
   flush_interval 60
   timeout_label @MULTILINE_LOGS
</filter>

<filter multiline.**>
  @type concat
  key message
  stream_identity_key request_id
  multiline_start_regexp /^I, \[.+\]  INFO -- : \[.+\] Started.+for.+at.+/
  multiline_end_regexp /^I, \[.+\]  INFO -- : \[.+\] Completed.+/
  flush_interval 60
  timeout_label @MULTILINE_LOGS
</filter>

# ...

<label @SYSTEM>
  <match *.**>
    @type copy

    <store>
      @type elasticsearch
      host ...
      port ...
      logstash_format true
      logstash_prefix fluentd
      logstash_dateformat %Y%m%d
      include_tag_key true
      type_name access_log
      tag_key @log_name
      flush_interval 1s
      reload_connections false
      reconnect_on_error true
      reload_on_failure true
      @log_level debug
      <buffer>
         @type memory
         flush_mode interval
         retry_type exponential_backoff
         flush_thread_count 2
         flush_interval 5s
         retry_forever true
         retry_max_interval 15
         chunk_limit_size 2M
         queue_limit_length 32
         overflow_action block
      </buffer>
    </store>

    <store>
      @type stdout
    </store>
  </match>
</label>

Finally, I switch to use "mutiline"  parser of fluentd .
<source>
  @type tail
  path /logs/schedule/error.log-schedule-server.log
  pos_file /logs/schedule/error.log-schedule-server.log.pos
  read_from_head true
  tag btcs.schedule.error
  multiline_flush_interval 5s
  <parse>
    @type multiline
    format_firstline /\d{4}-\d{1,2}-\d{1,2}/
    format1 /^(?<message>.*)/
  </parse>
</source>

The key point is multiline_flush_interval 5s.
when multiline meet the first format_firstline line in the log file , it will wait 5s ,
after 5s , if it does not meet the second  format_firstline line ,
all the log lines in the buffer will be considered as one multiline.
This is the key point for capture the last one multiline in the log file.

I'll close that https://github.com/fluent-plugins-nursery/fluent-plugin-concat/issues/108#issuecomment-862944737 solves the issue.


Add beforeNextFn callback for rebase

This adds support for a callback parameter that can be passed to rebaseBranches and performRebase.  The callback allows the caller to perform actions between steps of the rebase (between calls to next).

Updated - thanks!

LGTM.


Username for subversion can't have a dot in it #559

added a dot in regex for repository string

Tests seem to fail, can you update those?

Ah ok no tests failure are unrelated


Add basic authentication to commands

Adds basic auth to both server handlers and client requests.
Closes #6

@azunymous Hi, thanks for your contribution! I'm in the middle of something, so I'll take a look later!


Is it possible to change splash screen from react-native code? [This is not issue just need functionality.]

Hello,
Thanks for your awesome work. I appreciate your work.
I am developing application for both platform and i need to splash screen will change every time is possible. so is it possible to change image in splash screen.
Right now i found way just copy image and paste into drawable.
Any idea?
Thanks in advance.

I am developing application for both platform and i need to splash screen will change every time is possible.

I'm sorry, I don't understand. If you're already in loaded JavaScript you can hide the splash screen and display your own view that is 100% in JavaScript. If you want a different image per platform that is simple as the image is defined 100% different on both platforms.

Please re-open if you're still having issues.


Intercelestial/Linegee Incorrect Redirection

Domain
Linegee.net
Link
linegee.net/?link=f8ec4cef0e&hash=42a06e9db02f1b25fba83714b0c64146&sign=964ee53e867 deff87ae8cf0848823dc7
Version
0.0.0
What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge
What OS are you seeing the problem on?
Windows
Anything else?
Hi!
First of all, this is not the same as the previous issues regarding intercelestial.com as that was fixed already. I only included it as it's coordinated on how the process has been executing in my situation.
Images uploaded below are the steps that I did with FastForward disabled. As you can see, I am being directed to the correct MEGA link.

However, incorrect redirection is occuring when FastForward is enabled used as you can see from below:

Code of Conduct

[X] I agree to follow this project's Code of Conduct

The link you added leads to a 404 error page. Also is it related crowd bypass FastForwardTeam/Server#15 ?

The link you added leads to a 404 error page. Also is it related crowd bypass FastForwardTeam/Server#15 ?

Hi! I apologize for the late reply. The link is created by intercelestial.com which came from the website of Pahe.in so probably it's an expiring link.
No, it's not related to the issue you linked above. The MEGA link is always the same, regardless of what file I access. It leads to mega.nz/A43abb...

Merging with #442


Version conflict

Issue Description
Homebrue and rubygems fastlane versions not matching

They are now.
Publishing to homebrew actually needs manual approval, so it has to await triage and releasing from maintainers there. So it may appear out of sync sometimes.


Set up Testing Environment

Set up Travis CI.
Design CI and testing pipeline.

-Should have unit tests
-Need to setup an automation test suite


fix body offsetTop value issue

Regarding #31569 &  #31950
Just like Mikołaj wrote: "scrollSpy reads the wrong window offsetTop and marks the wrong link as active".  This should fix it.

Thanks for the PR, but we need a test case which would fail on main and pass here to make sure the patch is right :)

bootstrap's scrollSpy's API document is difficult to use ,please improve

@gbujanski can you add the needed test and also check out @emilio's comment?

Closing due to lack of response. You can comment here and we can re-open the PR, if you decide to resume working on the requested changes.
This is an automated reply


call JxlDecoderCloseInput and fclose in jxlinfo

Fixes https://github.com/libjxl/libjxl/issues/859
In principle, jxlinfo could return an error when the file ends with a not-until-eof box, since then the decoder would keep asking for more input (since there might be more boxes after that one).
@lvandeve could you check that it's calling JxlDecoderCloseInput at the correct time?

@jonsneyers yes the JxlDecoderCloseInput is at the correct time, given that it happens once, when the end of the file is reached, right after setting this final input


Update types for TS 4.8

Typescript 4.8 assumes that unconstrained types extend unknown, not {} (which is unknown minus null and undefined). However, many uses still need to extend {}. This PR does that explicitly for knex types.
See https://devblogs.microsoft.com/typescript/announcing-typescript-4-8-beta/#unconstrained-generics-no-longer-assignable-to

Coverage remained the same at 92.272% when pulling 74f5447b1de78880f1af0651278e735ebb47b0f2 on sandersn:update-types-ts-4.8 into 72065c179772c18dc4707a1dfd5990ec8b09fd46 on knex:master.

Thanks!

Released in 2.3.0


Consider re-licensing to AL v2.0, as RocksDB has just done

Hi there,
Facebook BSD+Patents License  did great damage to the community, and I am afraid that community will be split in the future.
Something like this might happen and no one will like it:
React = Oracle JDK
Preact = OpenJDK

But we cannot blame facebook, because there is no doubt about the legal right.
so it is just a request for React Native.

Consider
https://github.com/facebook/react/issues/10191
for related discussion.

I'll close this. Please follow https://github.com/facebook/react/issues/10191 for updates.

React Native has been relicensed as MIT.
https://github.com/facebook/react-native/commit/26684cf3adf4094eb6c405d345a75bf8c7c0bf88


Datasource Problem Grafana 10.0.3

Hi!
I have zabbix 6.0 and 6.2. And installed grafana 10.0.3,  adding allow_loading_unsigned_plugins = alexanderzobnin-zabbix-app, alexanderzobnin-zabbix-datasource, alexanderzobnin-zabbix-triggers-panel, as well as removing Manifest.txt from plugin directory, restart services, etc.. but nothing works.
Does anyone have the solution? What versions of grafana do you recommend for zabbix 6.0, 6.2?
zabbix 6.2, zabbix 6.0, Grafana Plugin 4.3.1, Grafana OSS Windows Version v10.0.3

regards!

Hi erveryone,
I got same issue with fresh install of Grafana v10.0.2 (b2bbe10fbc), Zabbix plugin 4.3.1.
I just put this configuration on the conf file:
allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource,alexanderzobnin-zabbix-app,alexanderzobnin-zabbix-datasource,alexanderzobnin-zabbix-triggers-panel
I am behind an enterprise proxy so i use http_proxy and https_proxy to get plugins.
When i try to declare a Zabbix DataSource i got "Plugin unavailable".
i got a an http code 503 to Zabbix-Api
logger=context userId=1 orgId=1 uname=admin t=2023-08-02T09:25:27.0349185+02:00 level=error msg="Request Completed" method=POST path=/api/datasources/1/resources/zabbix-api status=503 remote_addr=[::1] time_ms=4 duration=4.2593ms size=46 referer=http://localhost:8000/datasources/edit/a6a17e88-811b-4664-8a2c-4926d8e36a25 handler=/api/datasources/:id/resources/*.
Maybe the declaration of the Zabbix-Api on the api is wrong?
If anyone have an idea it would be lovely.
Regards

Hi erveryone, I got same issue with fresh install of Grafana v10.0.2 (b2bbe10fbc), Zabbix plugin 4.3.1. I just put this configuration on the conf file: allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource,alexanderzobnin-zabbix-app,alexanderzobnin-zabbix-datasource,alexanderzobnin-zabbix-triggers-panel I am behind an enterprise proxy so i use http_proxy and https_proxy to get plugins.
When i try to declare a Zabbix DataSource i got "Plugin unavailable".
i got a an http code 503 to Zabbix-Api logger=context userId=1 orgId=1 uname=admin t=2023-08-02T09:25:27.0349185+02:00 level=error msg="Request Completed" method=POST path=/api/datasources/1/resources/zabbix-api status=503 remote_addr=[::1] time_ms=4 duration=4.2593ms size=46 referer=http://localhost:8000/datasources/edit/a6a17e88-811b-4664-8a2c-4926d8e36a25 handler=/api/datasources/:id/resources/*.
Maybe the declaration of the Zabbix-Api on the api is wrong?
If anyone have an idea it would be lovely.
Regards

solved!
Reinstall grafana oss 10.0.3 and reinstall plugin 4.3.1 via CLI and works perfectly!
SO: Red Hat 8, Grafana 10.0.3, plugin 4.3.1.
Working for zabbix 6.4, 6.2, 6.0 and 5.0
Not works grafana for windows!
Regards!


Hardcode tool docker versions (related to #138)

Related to #138
Future versions will support user-specified tool version choices.

Jenkins, test this please.

Merging this PR. Test failure was due to a lack of a docker target in the Makefile.


Error 1001 with an compiled Myrtille

Hi,
I have an error during the bin installation:
Error 1001. Unable to cast COM object of type 'System.__ComObject' to interface type 'CERTENROLLLib.CX509PrivateKey'. This operation failed because QueryInterface call on the COM component for the interface with IID '{728AB362-217D-11DA-B2A4-000E7BBB2B09}' failed due to the followinf error: ...
I get this error when I compile the project using VS 2015, But, when with your binnaries, I have any problem.
I tried on Windows 7 Pro, Windows 8.1 (IIS ienabled)
However, the installation goes well when I install it on the computer that compiled the program (Windows 10 Student)
I read the link in the Wiki for this error (1001) but I can not resolve it.
Thank you

Hi,
The CERTENROLLLib COM object is referenced under "Myrtille.Common" project (there) and is used by the installer to create a self-signed certificate.
After looking a bit, I found that : http://stackoverflow.com/questions/11421502/asp-net-certenroll-cx509certificaterequestpkcs10-exception

Since in Win2008 R2 Microsoft overwrote the interface, if the code is written in Win2008 R2 the run time is looking for the new interface GUID and in regular Win2008 it can't be found because Win2008 R2 interface GUID differs from Win2008 interface Guid.
So, object can't be created, and as the result exception is thrown.
Accessing the interface by ProgID solves the issue.

I will try to update the code (CreateSelfSignedCertificate) as detailed there : http://stackoverflow.com/questions/33001983/issues-compiling-in-windows-10
...or I could also use another libs, such as Bouncy Castle, just like they did there: https://github.com/bertjohnson/OpaqueMail/issues/45
Thanks for the report :)

Thank you,
Work fine after remplacing :
var privateKey = new CX509PrivateKey();
by :
var privateKey = (IX509PrivateKey)Activator.CreateInstance(Type.GetTypeFromProgID("X509Enrollment.CX509PrivateKey"));
:-)

Thanks, I will report it to the master branch :)

This may occurs again on Windows 7 machines because I moved to Visual Studio 2017 and Windows 10 as build environment; following the method indicated there: https://stackoverflow.com/a/39397121

Hi , this occurs on Window Server 2012 R2 also, please fix

Fixed into 1.8.1
Tested successfully under Windows 10, Windows 7, Windows Server 2016 and Windows Server 2012 R2


test are not picked with gradle and junit 5

Created tests are not getting picked up while running the command "gradle clean test".
tech spec:
junit-5
gradle 4.0
Groovy:       2.4.11
JVM:          1.8.0_231 (Oracle Corporation 25.231-b11)
OS:           Mac OS X 10.12.6 x86_64
karate : 0.9.4
Attached sample project. Let me know if you need any other details.
sample-karate-gradle.zip

@Tejareddy1 this is not a "minimal" example and you have all kinds of intellij files mixed in.
anyway please follow the instructions here, and use karate version 0.9.5.RC3 https://github.com/intuit/karate/wiki/Gradle
re-open only if you still face issues.


Query WG: Add extraction group questions for regex.

Re: https://cloud-native.slack.com/archives/C057ZDS60PP/p1686722230931049

Are etraction groups defined anywhere in the doc? (:

Thanks! I didn't have an explicit definition anywhere so I updated the question to clarify a bit. Let me know that works please.


Adding hcas.txt

@julio-hcas There are several files in the request, along with file.zip. It must not be there. Please remove file.zip and make pull request again.  I have to close this request without merging. Thank you for your understanding.


Can't generate the types using the cli if I don't have a local instance running

Bug report
Describe the bug
I can't generate typescript types with the cli, if I don't have a local supabase setup
When I run this command, i get the following output
> supabase gen types typescript --db-url 'postgres://postgres:[my-db-password]@db.[my-project-id].supabase.co:6543/postgres' > types.ts

Error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Run the command above without. having a local instance of supabase installed.

Expected behavior
I want to generate the types based on the remote project I have running
System information

OS: macOs
Version of supabase-cli: 1.0.7

Hi @julianpoma , could you confirm that you have docker installed and accessible? The cli doesn't require supabase to be started, but it needs to run the Postgres meta container to generate types.

Hey @sweatybridge, I don't have Docker installed because we don't use it. Also I have a M1 chip macbook and I am not 100% if it is even compatible.
Is it possible to make this command run without needing docker?

My understanding is that most operations in the CLI require you to have docker installed. Your concern about the M1 macbooks is, as far as my personal experience goes, largely a thing of the past -- many developers use Docker + M1 these days, AFAIU.

I still believe that users should not be forced to install Docker just to get types. Types are an integral part of the new supabase-js v2.
At least we can improve the documentation regarding types, like providing a boilerplate of the database interface expected by the supabase client. By digging into the codebase, I came up with the following schema, hopefully someone finds it useful!
export interface Database {
  public: {
    Tables: {
      profiles: {
        // Fields returned by select operations
        Row: {
          id: string
          email: string
          name: string | null
          created_at: string
        }
        // Fields accepted for insert operations. id is optional because is autogenerated.
        Insert: {
          email: string
          name: string | null
        }
        // All types are optional because you might want to just update the name of a profile
        Update: {
          email?: string
          name?: string
        }
      }
    }
    Functions: {}
  }
}

It would be awesome I agree, but the hard part is to generate types that
are consistent with the fully-migrated version of a database, you need to
run the migrations on that database.
On Thu, Aug 18, 2022, 1:17 PM neucoas @.***> wrote:

I still believe that users should not be forced to install Docker just to
get types. Types are an integral part of the new supabase-js v2.
At least we can improve the documentation regarding types, like providing
a boilerplate of the database interface expected by the supabase client. By
digging into the codebase, I came up with the following schema, hopefully
someone finds it useful!
export interface Database {
public: {
Tables: {
profiles: {
// Fields returned by select operations
Row: {
id: string
email: string
name: string | null
created_at: string
}
// Fields accepted for insert operations. id is optional because is autogenerated.
Insert: {
email: string
name: string | null
}
// All types are optional because you might want to just update the name of a profile
Update: {
email?: string
name?: string
}
}
}
Functions: {}
}}
—
Reply to this email directly, view it on GitHub
https://github.com/supabase/cli/issues/384#issuecomment-1219740001, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAPRLLPS46NBR7AVJYLA72TVZZV3RANCNFSM565HTTKQ
.
You are receiving this because you commented.Message ID:
@.***>

Turning this into an enhancement since it is working as intended for the current version.

Needing docker for type gen feels overly complex when compared to v1 + openapi-typescript, and it isn't very clear what the gains are (the blog post mentions "a lot of detailed information").

MHO: Since Docker is the main distribution channel for all the other tools bundled within the CLI I find it reasonable to also use docker for the type generation.
Starting to use different distribution systems (npm, cargo, brew...) could lead to a big mess in a few years

I have a couple of question regarding the new type generation just to wrap my head around the whole thing
Looking at the source code

a container of postgres-meta is started locally
a command is sent to the container to start a script (check here and here) that generate the file inside the container
the generated file is copied from container to your machine

This is different that the previous approach of exposing swagger (open-api) route accessible by other tools
example of old behaviour
npx openapi-typescript https://your-project.supabase.co/rest/v1/?apikey=your-anon-key --output types/supabase.ts
To my understanding there are two scenarios worth exploring that don't requires the usage of Docker

the script executed inside the container doesn't have dependencies on pg-meta internals so a script could be created to use the postgres-meta client to connect to DB and generate the typings. what is happening here
expose an endpoint that generated and return the type  (similar to open-api json)

downside, could be resource intensive on the supabase hosted side

of course this have the downside of generating types from what is currently in production as mentioned by @Marviel, but I think the majority of people would be fine with that (as they did with open-api), who have a proper flow where migration are applied and tested locally is already used to docker stuff for the local setup

I still believe that users should not be forced to install Docker just to get types. Types are an integral part of the new supabase-js v2.
At least we can improve the documentation regarding types, like providing a boilerplate of the database interface expected by the supabase client. By digging into the codebase, I came up with the following schema, hopefully someone finds it useful!
export interface Database {
  public: {
    Tables: {
      profiles: {
        // Fields returned by select operations
        Row: {
          id: string
          email: string
          name: string | null
          created_at: string
        }
        // Fields accepted for insert operations. id is optional because is autogenerated.
        Insert: {
          email: string
          name: string | null
        }
        // All types are optional because you might want to just update the name of a profile
        Update: {
          email?: string
          name?: string
        }
      }
    }
    Functions: {}
  }
}

Thank you for this. The new types have been frustrating to even try to use (to say the absolute least) because this very basic information is nowhere to be found, and frankly getting the CLI to work just to generate types has been enough for me to consider stop using Supabase entirely.

I'm running into
Error: error running container
I didn't have Docker before.
I'd tend to agree that installing Docker just for migrations seems like a big ask.

I faced this issue (trap). Now I could generate types with starting docker + $ supabase start.
The generated type is really better than openapi-typescript one.
I hope this can be used without starting docker and the doc will be updated.

Hey all, you can now use the command with --linked and --project-id - these don't require Docker or supabase init (you still need to supabase login). Let us know if it works!
Also let us know if you're still bumping into Error: error running container above.


Added features of restore from Google Cloud Storage and AWS using cross-account assumption

NetflixOSS » Priam » Priam-pull-requests #56 SUCCESS
This pull request looks good

Priam-pull-requests #218 SUCCESS
This pull request looks good