Incremented the version number in init

Incremented the version number in the init file.

Codecov Report

Merging #66 (04497af) into main (857e3e9) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #66   +/-   ##
=======================================
  Coverage   75.21%   75.21%
=======================================
  Files          20       20
  Lines        1368     1368
=======================================
  Hits         1029     1029
  Misses        339      339

Flag
Coverage Δ

unittests
75.21% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pymarlin/__init__.py
100.00% <100.00%> (ø)

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 857e3e9...04497af. Read the comment docs.

The version number has changed to 0.3.1 in other files, init.py remains outdated. Closing this PR for lack of activity for now.


(Feature request) Maloja: Store IDs in the extra field.

I sent an email in August about this topic but it might've gone to spam.
Maloja has a field included with scrobbles called extra: https://github.com/krateng/maloja/blob/c6cf28896ca836407a1943cae5542d2b83d009cf/maloja/database/sqldb.py#L211.
My suggestion to fix https://github.com/krateng/maloja/issues/249 once and for all is to create a tag or set of tags in there to store IDs, such as the Spotify ID.

Nevermind, I see now that this is not possible since the native API doesn't accept anything here. We will have to go to #198


Cassandra socket option UI config

We need to add socket options (connect/read timeouts, keep-alive, etc) in Cassandra connection properties UI.


How to train a dpn detector

Thanks for sharing the project. I want to know how to train a dpn detector, should I initialize the dpn with random or resume from some checkpoint like 064.ckpt(res18). By the way, when i train res18 with smaller batchsize like 8 or 16, the performance is poor. Can you help me? Thanks

when i train res18, and get model weights  from epoch 71， also get the same FROC results with you, have you ever encounter my problem? also, does  resume from 064.ckpt is wanted when training res18? thank you in advance.

Okey, thanks a lot for your reply

Thanks for sharing the project. I want to know how to train a dpn detector, should I initialize the dpn with random or resume from some checkpoint like 064.ckpt(res18). By the way, when i train res18 with smaller batchsize like 8 or 16, the performance is poor. Can you help me? Thanks

Does increasing the batch size help? Also, try to use pre-trained weights. How did you get the second figure? It seems the second figure is good. Thank you so much for your interest!

Thanks for sharing the project. I want to know how to train a dpn detector, should I initialize the dpn with random or resume from some checkpoint like 064.ckpt(res18). By the way, when i train res18 with smaller batchsize like 8 or 16, the performance is poor. Can you help me? Thanks

Does increasing the batch size help? Also, try to use pre-trained weights. How did you get the second figure? It seems the second figure is good. Thank you so much for your interest!

OK，thank you for your suggestion, I will have a try.


Fix typo in README.md

There was a word missing in the README.md file.

Thank you, and welcome as a contributor! 🎉 :)


Basin or Depot cannot absorb items when X or Z is negative in some cases

This issue occurs when only Valkyrien Skies and addons are installed and no other mods

[X] I have tested this issue and it occurs when no other mods are installed

Minecraft Version
1.20.1
Mod Loader
Forge
Issue description

When the Basin or Depot has a negative X or Z position, I cannot throwing item on it. If several basins are put together, some of them can absorb items but some cannot. If the XZ postion is both positive, it works well.
I've tried in minecraft 1.20.1 with kotlinforforge 4.11.0, create 0.5.1h, vs 2.3.0, eureka 1.5.1 and VSA 0.0.7a. In this case the problem occurs.

Issue reproduction
case 1:Put basin or depot at negative X or Z position, then throw item to it. The item cannot be absorb if VSA is added.
case 2:Put several basins of depots together at negative X or Z position, then throw item to them. Some of the basins can aborb the items.
Logs
No response

Can't reproduce it, and also I don't think I've changed the code in issue.
https://github.com/ValkyrienSkies/Valkyrien-Skies-2/blob/1.18.x/main/common/src/main/java/org/valkyrienskies/mod/mixin/mod_compat/create/MixinSharedDepotBlockMethods.java
I can't imagine why this issue is occurring.

The picture shows the difference between w. and wo. VSA.
I've record a video to reproduce the issue, but it exceeds the size limit of github, perhaps I can send it to you with QQ?

I guess the problem is cause by floor?
When position of XZ is positive, it works as expected.
When the position of XZ is negative, the value is rounded beyond 0, perhaps a rounding to zero is expected behavior?

https://github.com/user-attachments/assets/195af652-bb7d-48eb-903a-5f9578a8f561
I’ve compressed the video in 10M.

The video can be played by VLC

视角交互修复vs_addition-1.20.1-0.0.7a+bf78e6dd60.jar.zip
I've found the problem. This issue only exist in this specified 0.07a version. It's different from the one released on github.
I just get it from the modpack.

It looks like you'll have to ask your modpack author for help.
Or you can try switching to CI build and see if it still has this issue?


Failed to extract applied_steps_count from _prisma_migrations row

Bug description
A migration got partially failed, and after resolving it manually. I tried to ran the prisma resolve command.
But got this error
Error: Failed to extract `applied_steps_count` from `_prisma_migrations` row.
   0: migration_core::state::ApplyMigrations
             at migration-engine/core/src/state.rs:185v

Question, when a migration fails, should the data in applied_steps_count column needs to have a certain integer value or it can be null as well.
How to reproduce

Run a migration which leads to failure or partial failure
Check in the _prisma_migrations table if applied_steps_count data is null
Try to run the prisma resolve command
See error

Expected behavior
No response
Prisma information

// Add your schema.prisma

// Add your code using Prisma Client

Environment & setup
prisma                  : 5.10.2
@prisma/client          : 5.10.2
Computed binaryTarget   : darwin
Operating System        : darwin
Architecture            : x64
Node.js                 : v20.9.0
Query Engine (Node-API) : libquery-engine 5a9203d0590c951969e85a7d07215503f4672eb9 (at node_modules/.pnpm/@prisma+engines<EMAIL_ADDRESS>Schema Engine           : schema-engine-cli 5a9203d0590c951969e85a7d07215503f4672eb9 (at node_modules/.pnpm/@prisma+engines@5.10.2/node_modules/@prisma/engines/schema-engine-darwin)
Schema Wasm             : @prisma/prisma-schema-wasm 5.10.0-34.5a9203d0590c951969e85a7d07215503f4672eb9
Default Engines Hash    : 5a9203d0590c951969e85a7d07215503f4672eb9
Studio                  : 0.499.0
Prisma Version
prisma                  : 5.10.2

Thanks @nurul3101 for the help.
After setting the default value to the applied_steps_count column resolved the issue, as mentioned in this comment.


Aggregation of population standard variance support

Population standard variance is a common aggregation in statistic and data analysis, and also supported in various data software, such as hive, spark, flink etc. It maybe an improvement to support it.
The updates are:

add VarPopAggregationFunction and VarPopMVAggregationFunction
add VarianceTuple similar as AvgPair to hold VarianceData
update related aggregation classes
add new tests
add doc

Codecov Report

Merging #3850 into master will increase coverage by 0.25%.
The diff coverage is 69.59%.

@@             Coverage Diff              @@
##             master    #3850      +/-   ##
============================================
+ Coverage     67.06%   67.32%   +0.25%
  Complexity        4        4
============================================
  Files          1029     1032       +3
  Lines         50785    50955     +170
  Branches       7095     7122      +27
============================================
+ Hits          34060    34304     +244
+ Misses        14402    14306      -96
- Partials       2323     2345      +22

Impacted Files
Coverage Δ
Complexity Δ

...org/apache/pinot/core/common/ObjectSerDeUtils.java
91.9% <100%> (+0.34%)
0 <0> (ø)
:arrow_down:

...regation/function/VarPopMVAggregationFunction.java
100% <100%> (ø)
0 <0> (?)

...gregation/function/AggregationFunctionFactory.java
85.1% <100%> (+0.66%)
0 <0> (ø)
:arrow_down:

.../aggregation/function/AggregationFunctionType.java
96.22% <100%> (+0.14%)
0 <0> (ø)
:arrow_down:

...ggregation/function/VarPopAggregationFunction.java
56.81% <56.81%> (ø)
0 <0> (?)

...gregation/function/customobject/VarianceTuple.java
63.15% <63.15%> (ø)
0 <0> (?)

...he/pinot/core/query/pruner/ValidSegmentPruner.java
57.14% <0%> (-28.58%)
0% <0%> (ø)

...a/manager/realtime/RealtimeSegmentDataManager.java
75% <0%> (-25%)
0% <0%> (ø)

.../impl/dictionary/FloatOnHeapMutableDictionary.java
80% <0%> (-13.34%)
0% <0%> (ø)

...impl/dictionary/FloatOffHeapMutableDictionary.java
81.81% <0%> (-5.46%)
0% <0%> (ø)

... and 33 more

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 a3dd11b...2918381. Read the comment docs.

Hi, @kishoreg , thanks for review, I investigated a bit more and found that the algo adopted by spark to compute approx variance and stddev maybe more practical. From this wiki there are several different algos, and comparing them it looks Welford's online algorithm and its related algo(parallel algo and high-order algo) is more practical. They are also algos adopted by spark at here. So I think it maybe more appropriate to be used here. What do you think?

Closed this PR due to 6 months inactivity. Reopen if needed.

Hello
Any update or related issues / PR on the topic ?


Add support for using Azure Dev Ops pipeline caching

Azure Devops has added the pipeline caching feature which enables sharing the output of a previous build to speed up the outputs of the next build. This has a dedicated Azure Devops task and handles some security/compliance concerns necessary for using backfill in the Office 365 engineering system.
It would be great to see what overlap there is between backfill and ADO pipeline caching and adding first class support for using pipeline caching as a storage location for backfill

We just discussed this topic again. Let's look into creating a new Storage Provider that uses ADO Pipeline Caching APIs, if we can get access those.


Markdown does not support LaTex

Math formulas cannot be displayed. For example
LaTex $E=mc^2$

LaTex $E=mc^2$

Do you have KaTeX or MathJax installed? I'm pretty sure markdown doesn't natively support LaTeX.

@EanKeen Yes, It's supported by the external MathJax.js, not by the native Markdown render.
You can take a look at my fork https://github.com/zyfdegh/hugo-lithium-theme , which supports LaTeX syntax. And an example article is here https://zyfdegh.github.io/post/201805-latex-tutorial :)


Closes #221: return userType on /v1/token

@ibuildthecloud

Why don't you just return account.getKind() and then you don't need to hardcode "admin" checks

I'm guessing userType should be "r" not "cr."   Sorry I didn't notice that before.


playground: numeric iteration via range can be compiled, but not formatted

This formats correctly locally using up2date Go 1.4.1 tooling, but fails to format in the playground
package main

import "fmt"

func main() {
        for range make([]struct{}, 5) {
		fmt.Println("Hello, playground")
	}
}

s. for reference http://play.golang.org/p/k9Z2WhCWVl

@adg it seems the playground service itself is still using old pre-1.4
runtime?

Fixed now.


Fix demo script

The inpainting demo help is incorrect, and imgs used for demo does not exist.
https://mmediting.readthedocs.io/en/latest/demo.html#inpainting

Thanks for pointing this out, I will fix the issue later.

These bugs are being fixed in PR(#248 ), and I will close this issue.


Make titan forging have a cooldown and give you bonus ressources when you do it

@SebastianTanoni I'm guessing this is to make Titanforging more interesting/viable. I wonder if it would be more effective to just buff the Titanforge passive and add more passive options?

Thats a good option too! I had an idea about it, what if when you titanforge an item for a hero, that hero gets some bonus exp too, on top of better passives?

Here's the way I see it:
What is Titanforging meant to accomplish?: It's meant to make Ironforge have the best artifacts, as part of their flavour as legendary blacksmiths and explorers.
Why does Titanforging not accomplish that?: The bonuses gained from Titanforging suck, so players that use it still don't get to feel like master blacksmiths.
So it seems simple; just make the bonuses better. Any other fix means the intended theme would still not be satisfied, even if it would make players do the mechanic.

ok yup! i agree
so lets do this:
make the upgrades much better, and give a cooldown on it (if there isnt)
i dont want the ressource cost to be a wall. So time can be one. Players will be rewarded to periodaclly go forge their stuff


WIP Fixes #Issue 100

Fixes #100
What was changed?
ShelterDashboard component was altered.
Here, describe what part of the application you changed (e.g. login page, database, etc.). If possible, mention what specific components were added, removed, or modified.
Added NavBar, OpenRequests, ShiftContainer, PastVolunteersContainers.
Why was it changed?
The Shelter dashboard needs a specific layout to be shown.
Here, describe the issue that you are fixing with this code, and why your code fixes it.
Current ShelterDashboard component isn't as required by the Shelter staff, need to make it more intuitive by displaying required information. Adding required information to the page via different components.
How was it changed?
Added few components NavBar, OpenRequests, ShiftContainer, PastVolunteersContainers.
Here, get into detail about what files you modified, and talk about the most important lines in regards to fixing the issue.
shelter_volunteers\client_app\src>
│   OpenRequests.js
│   PastVolunteers.js
│   PastVolunteersContainer.js
│   RequestItem.js
│   Roaster.js
│   ShelterDashboard.js (Modified)
│   ShiftContainer.js
├───Components
│   │   NavBar.css (Modified)
│   │   NavBar.js (Modified)
│   │   NavBarShelterDashboard.js
│   │   NavBarVolunteerDashboard.js
└───styles
│          │   PastVolunteers.css
│          │   RequestItem.css
│          │   Roaster.css
Screenshots that show the changes (if applicable):

@vakhil-98 - can you change the title from WIP to "Shelter Dashboard implemented"


Streamline code styles

Changes

Make ESLint setup a bit more robust
Uninstall husky hooks

Checklist

[x] Read the contribution guide and accept the code of conduct
[ ] Readme (updated or not needed)
[ ] Tests (added, updated or not needed)

Codecov Report

Merging #384 (e8072d7) into main (4be5d2d) will not change coverage.
The diff coverage is 66.66%.

:exclamation: Current head e8072d7 differs from pull request most recent head 76a6e69. Consider uploading reports for the commit 76a6e69 to get more accurate results

@@           Coverage Diff           @@
##             main     #384   +/-   ##
=======================================
  Coverage   54.69%   54.69%
=======================================
  Files          62       62
  Lines        1918     1918
  Branches      316      316
=======================================
  Hits         1049     1049
  Misses        865      865
  Partials        4        4

Impacted Files
Coverage Δ

src/model/android-versioning.ts
100.00% <ø> (ø)

src/model/build-parameters.ts
95.34% <ø> (ø)

src/model/cli/cli-functions-repository.ts
43.75% <ø> (ø)

src/model/cli/cli.ts
31.34% <ø> (ø)

src/model/cloud-runner/cloud-runner.ts
79.31% <ø> (ø)

...ner/providers/aws/aws-cloud-formation-templates.ts
14.28% <ø> (ø)

.../model/cloud-runner/providers/aws/aws-job-stack.ts
9.52% <0.00%> (ø)

...odel/cloud-runner/providers/aws/aws-task-runner.ts
8.03% <ø> (ø)

src/model/cloud-runner/providers/aws/index.ts
17.50% <ø> (ø)

src/model/cloud-runner/providers/k8s/index.ts
12.00% <ø> (ø)

... and 30 more

I get this warning:
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.

Since we already yarn.lock, should we remove the package-lock.json file?

Indeed. I've removed the json file again and created a test so it's not created again in the future.


foxy: drop ros_cb

https://github.com/jediofgever/ROS_CB-release.git isn't available causing rosdistro_build_cache
to fail on many chiconybot* components
https://github.com/ros/rosdistro/commit/f0193fb9a26b4260fb853e355198f50e3c2d2a4d

Signed-off-by: Martin Jansa<EMAIL_ADDRESS>

@jediofgever FYI

In retrospect, the name ros_cb isn't very informative and is a bit generic.
@jediofgever If the project does become available again, I suggest renaming the repository (or at least the rosdistro entry) to chiconybot.

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/new-packages-for-foxy-fitzroy-2020-09-25/16555/3

@jacobperron , sorry for inconvenience. We decided that it might be too early for a public release. We will work on the development of the chiconybot, after we have more stable version we will make it available again, with more on naming conventions.


error C2990: 'std::iterator': non-class template has already been declared as a class template

In one of my tools I
#include "encoder/basisu_resampler.h"
#include "encoder/basisu_resampler_filters.h"

so I can use your resampler. But in v1.13 when I try to compile this tool I get the following error:
c:\projects\ktx\lib\basisu\transcoder\basisu_containers.h(1019): error C2990: 'std::iterator': non-class template has already been declared as a class template [C:\projects\ktx\build-win-Debug\tools\toktx\toktx.vcxproj]
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(564): note: see declaration of 'std::iterator'
  c:\projects\ktx\lib\basisu\transcoder\basisu_containers.h(1855): note: see reference to class template instantiation 'basisu::hash_map<Key,Value,Hasher,Equals>' being compiled

I'm using VS 2019. The same happens with VS 205 and VS 2017. It compiles fine with clang and gcc.
In basisu_containers.h at line 1019 there is the statement
friend class iterator;

but this is before basisu::iterator is defined (line 1208). If I put the statement
class iterator;

at line 1014, before the `friend statement, then everything compiles.
What I can't figure out is how your stuff that includes these files, or rather basisu_containers.h compiles. Maybe it is because I have a using namespace std; statement though it does come after the resampler headers are included. If I add class basisu::iterator before I include basisu_resampler.h I get an error that there is no iterator class in basisu so that doesn't work.
I suspect a declaration of the class like I added to basisu_containers.h is more correct c++ since the definition comes after first use but I'd prefer to get my code working without having to modify yours. Any clues?

I got a flash of inspiration. I can fix the issue in my code by adding
namespace basisu {
    class iterator;
};

before I include encoder/basisu_resampler.h. I still think you should forward declare the iterator class.

I'm going to check this in - it doesn't break basisu, and I was unable to repro your problem, but perhaps it'll fix it:
class hash_map
{
public:
// new lines
class iterator;
class const_iterator;
private:

This is in - reopen if it doesn't help.

Thanks Rich. That fixed the problem. The error occurred only in a file with a using namespace std; line even though it was after the includes. I suspect it is hitting an edge case bug in MSVS where, because the iterator in friend class iterator was not previously declared, the compiler took it to be std::iterator.

By the way, I don't think you need the public: here. In my tests before filing the issue I found adding the line class iterator fixed the problem.


isInstanceOf[js.Array] uses JS 'instanceof'

This was found in v0.6.1 - will confirm in 0.6.3 soon.
instanceof Array doesnt work with all types of arrays. This is most commonly seen in v8 implementations, especially node.js. There are a few ways you can make arrays in javascript that wont be identified with instanceof. These are even more prominent (if i remember correctly) with Arrays created via the C++ v8 'bridge'. The recommend way is Array.isArray (ES5). Can probably make a convenience function for this check and have it fall back to instanceof.
I dont see any such code produced in the scala collections library- only seems to surface if you do the check manually against js.Array
Some history, including the code for the old Node.js util.isArray convenience function:
http://stackoverflow.com/questions/22798826/in-node-js-why-is-there-a-util-isarray-and-an-array-isarray
This was actually found in pattern matching, have not confirmed it with isInstanceOf[js.Array] itself, just assuming.
x match {
    case arr: js.Array[_] =>
}

produces
if (ScalaJS.uZ((v instanceof ScalaJS.g["Array"])))

If it's agreed, I could submit a PR.

This is by design. isInstanceOf[T] for T being a raw JS class translates to instanceof.
Use js.Array.isArray(x) if this is what you want.


portability: $^ in makefiles

I am using BSD Make to build fpzip. It does not define $^ macro which is
not in POSIX [1].
libpzip builds without error but it does not include any object files
because $^ expands to an empty string.
ar rc ../lib/libfpzip.a

It gives me very hard to trace errors if I link with the libray.
I think Makefiles (https://github.com/LLNL/fpzip/blob/master/src/Makefile#L14) can be portable if one does
$(LIBDIR)/libfpzip.a: $(OBJECTS)
       rm -f $@
       ar rc $@ $(OBJECTS)

instead of
$(LIBDIR)/libfpzip.a: $(OBJECTS)
       rm -f $@
       ar rc $@ $^

[1] https://pubs.opengroup.org/onlinepubs/009695399/utilities/make.html

This is a good point.  fpzip installation instructions are for GNU make, which does define $^.  GNU make is so pervasive today that I did not consider other versions of make (or that $^ wasn't defined).
I've pushed a fix on the develop branch.

Thank you! We are using fpzip in our multiphase flows.
https://github.com/cselab/aphros

Thanks for the pointer.  If you don't mind, I'd like to link to your project off the fpzip related projects page.
I noticed that you are using fpzip to compress data as 1D arrays only, which it was not designed for.  If any of the arrays being compressed are multidimensional, then I would strongly suggest compressing them as such, as you should see far higher compression ratios when all correlated dimensions are accounted for.

Thanks for your suggestion. We use compression to exchange data between cubic subdomains, so our arrays are actually two-dimensional. Sure, you can add our project.


Qiskit hotfix for iswap_optmap

#13 broke qiskit interface, so:

Updated generator.cfg with d2 drive
Updated qiskit example
Updated qiskit docs

Codecov Report

Merging #23 (3a95f26) into dev (ee11a2a) will decrease coverage by 0.61%.
The diff coverage is 30.89%.

@@            Coverage Diff             @@
##              dev      #23      +/-   ##
==========================================
- Coverage   43.99%   43.37%   -0.62%
==========================================
  Files          34       35       +1
  Lines        4060     4390     +330
==========================================
+ Hits         1786     1904     +118
- Misses       2274     2486     +212

Impacted Files
Coverage Δ

c3/libraries/algorithms.py
17.69% <0.00%> (-0.49%)
:arrow_down:

c3/optimizers/c1_robust.py
0.00% <0.00%> (ø)

c3/optimizers/c3.py
0.00% <0.00%> (ø)

c3/utils/parsers.py
0.00% <ø> (ø)

c3/libraries/fidelities.py
18.03% <9.09%> (+0.11%)
:arrow_up:

c3/utils/tf_utils.py
44.01% <9.09%> (-1.05%)
:arrow_down:

c3/libraries/envelopes.py
26.89% <14.54%> (-13.48%)
:arrow_down:

c3/experiment.py
58.16% <23.07%> (-0.88%)
:arrow_down:

c3/utils/qt_utils.py
35.48% <28.57%> (ø)

c3/optimizers/optimizer.py
76.61% <33.33%> (-3.22%)
:arrow_down:

... and 17 more

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 0402d72...3a95f26. Read the comment docs.

Codecov Report

Merging #23 (3a95f26) into dev (ee11a2a) will decrease coverage by 0.61%.
The diff coverage is 30.89%.

@@            Coverage Diff             @@
##              dev      #23      +/-   ##
==========================================
- Coverage   43.99%   43.37%   -0.62%
==========================================
  Files          34       35       +1
  Lines        4060     4390     +330
==========================================
+ Hits         1786     1904     +118
- Misses       2274     2486     +212

Impacted Files
Coverage Δ

c3/libraries/algorithms.py
17.69% <0.00%> (-0.49%)
:arrow_down:

c3/optimizers/c1_robust.py
0.00% <0.00%> (ø)

c3/optimizers/c3.py
0.00% <0.00%> (ø)

c3/utils/parsers.py
0.00% <ø> (ø)

c3/libraries/fidelities.py
18.03% <9.09%> (+0.11%)
:arrow_up:

c3/utils/tf_utils.py
44.01% <9.09%> (-1.05%)
:arrow_down:

c3/libraries/envelopes.py
26.89% <14.54%> (-13.48%)
:arrow_down:

c3/experiment.py
58.16% <23.07%> (-0.88%)
:arrow_down:

c3/utils/qt_utils.py
35.48% <28.57%> (ø)

c3/optimizers/optimizer.py
76.61% <33.33%> (-3.22%)
:arrow_down:

... and 17 more

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 0402d72...3a95f26. Read the comment docs.


NovaGuilds as 'compatibilityMode' plugin

My plugin does not work without compatibilityMode enabled. Please add 'NovaGuilds' to the code in order to inform users.
//These plugins won't work without compatibilityMode, but do with it, so suggest it
String[] plugins = {"HealthBar", "ColoredTags", "McCombatLevel", "Ghost_Player", "TablistPrefix"
         ,"ColoredPlayerNames", "PingTest"};

More information:
https://github.com/MarcinWieczorek/NovaGuilds

Does the plugin use scoreboard sidebar?

Not the sidebar. Only prefix and a scoreboard below player name, but my scoreboards dissappear a second after login when compatibility mode is off.

Ok, I'll add it to the suggestion list.

Thanks


Generate certificates requester three

If TLS certificates are not provided, the requester node will generate self-signed certificates.

We can close this in-favor of: https://github.com/bacalhau-project/bacalhau/pull/3721
Additionally I don't think we should be generating TLS certs in the requester node if one isn't provided. That ought to be left to the node operator. In almost every case, to properly generate a cert, the requester will need to be aware of its public IP. And in almost every case that will not be possible.

In almost every case, to properly generate a cert, the requester will need to be aware of its public IP

For a self-signed certificate, we can use internal addresses for the SAN in the certificate.  The aim of this I believe is to make it easier to use a self-signed cert without having to find/generate one.


Autocomplete & info popup for structs, like "MyStruct myVariable = {0, 0, 90};"

When using a function, clangd fills in the available parameters for you to make it easier to tell what the parameters are. Like so:
https://u.teknik.io/jDttu.mp4

And gives you  some info of the parameters also when you are typing:

Currently, this is not the case for structs or classes:
https://u.teknik.io/wDfuF.mp4
Would be nice if it gave similar feedback as what functions do.
(screenshots and videos taken from within VS Code with Clangd v0.1.11 from the marketplace)

Looks like a dupe of #306.

Looks like a dupe of #306.

Yep, looks like kinda the same suggestion. His video example link is dead tho

Yep, looks like kinda the same suggestion. His video example link is dead tho

I copied the link over to #306. Will close this as a dupe.


the example /bin/pretrained segfaults

Hi,
Just a fresh build using cmake . -DCMAKE_BUILD_TYPE=Debug and I keep getting the following:
./bin/pretrained

## Caffe2 Loading Pre-Trained Models Tutorial ##
https://caffe2.ai/docs/zoo.html
https://caffe2.ai/docs/tutorial-loading-pre-trained-models.html

init_net: res/squeezenet_init_net.pb
predict_net: res/squeezenet_predict_net.pb
image_file: res/image_file.jpg
size_to_fit: 227

image size: [1280 x 751]
X server found. dri2 connection failed!
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
X server found. dri2 connection failed!
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
scaled size: [386 x 227]
cropped size: [227 x 227]
value range: (-128, 127)

output:
  100% 'shower cap' (793)
*** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1501089994" if you are using GNU date ***
PC: @           0x4b7c85 std::_Rb_tree<>::_S_right()
*** SIGSEGV (@0xffffffff00000018) received by PID 26001 (TID 0x7eff0a2a1e80) from PID 24; stack trace: ***
    @     0x7eff06fd9390 (unknown)
    @           0x4b7c85 std::_Rb_tree<>::_S_right()
    @           0x4b5c41 std::_Rb_tree<>::_M_erase()
    @           0x4b5c53 std::_Rb_tree<>::_M_erase()
    @           0x4b5c53 std::_Rb_tree<>::_M_erase()
    @           0x4b3b4c std::_Rb_tree<>::~_Rb_tree()
    @           0x4b25b2 std::set<>::~set()
    @     0x7efefcece36a __cxa_finalize
    @     0x7eff09968b83 (unknown)
Segmentation fault (core dumped)

I run it under gdb and it seems to be from:
Thread 1 "pretrained" received signal SIGSEGV, Segmentation fault.
0x00000000004b7c85 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::cha
r_traits<char>, std::allocator<char> >, std::_Identity<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::less<std::__cxx
11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocato
r<char> > > >::_S_right (__x=0xffffffff00000000) at /usr/include/c++/5/bits/stl_tree.h:687
687           { return static_cast<_Link_type>(__x->_M_right); }
(gdb) bt
#0  0x00000000004b7c85 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std:
:char_traits<char>, std::allocator<char> >, std::_Identity<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::less<std::_
_cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allo
cator<char> > > >::_S_right (__x=0xffffffff00000000) at /usr/include/c++/5/bits/stl_tree.h:687
#1  0x00000000004b5c41 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std:
:char_traits<char>, std::allocator<char> >, std::_Identity<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::less<std::_
_cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allo
cator<char> > > >::_M_erase (this=0x7ffff7dcdb00 <caffe2::gRegisteredTypeNames[abi:cxx11]()::g_registered_type_names>, __x=0xffffffff00000000)
    at /usr/include/c++/5/bits/stl_tree.h:1612
#2  0x00000000004b5c53 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std:
:char_traits<char>, std::allocator<char> >, std::_Identity<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::less<std::_
_cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allo
cator<char> > > >::_M_erase (this=0x7ffff7dcdb00 <caffe2::gRegisteredTypeNames[abi:cxx11]()::g_registered_type_names>, __x=0x9b0550)
    at /usr/include/c++/5/bits/stl_tree.h:1612
#3  0x00000000004b5c53 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std:
:char_traits<char>, std::allocator<char> >, std::_Identity<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::less<std::_
_cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allo
cator<char> > > >::_M_erase (this=0x7ffff7dcdb00 <caffe2::gRegisteredTypeNames[abi:cxx11]()::g_registered_type_names>, __x=0x9acac0)
    at /usr/include/c++/5/bits/stl_tree.h:1612
#4  0x00000000004b3b4c in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std:
:char_traits<char>, std::allocator<char> >, std::_Identity<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::less<std::_
_cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allo
cator<char> > > >::~_Rb_tree (this=0x7ffff7dcdb00 <caffe2::gRegisteredTypeNames[abi:cxx11]()::g_registered_type_names>, __in_chrg=<optimised out>)
    at /usr/include/c++/5/bits/stl_tree.h:858
#5  0x00000000004b25b2 in std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~set (
    this=0x7ffff7dcdb00 <caffe2::gRegisteredTypeNames[abi:cxx11]()::g_registered_type_names>, __in_chrg=<optimised out>)
    at /usr/include/c++/5/bits/stl_set.h:90
#6  0x00007fffeab3e36a in __cxa_finalize (d=0x7ffff7dcc780) at cxa_finalize.c:56
#7  0x00007ffff75d8b83 in __do_global_dtors_aux () from /usr/local/lib/libCaffe2_CPU.so
#8  0x00007fffffffd5e0 in ?? ()
#9  0x00007ffff7de7de7 in _dl_fini () at dl-fini.c:235

So it looks like it is coming from libCaffe2_CPU directly, and if memory serves me right the std::_Rb_tree refers to an std::unordered_set.
Also, why does it revert to using the CPU and not GPU (cuda 8.0 installed and libCaffe2_GPU is present).

Hi @alexge233, I was unable to reproduce this error. Can you specify exactly which steps you took. Also, did you use any particular flags for building Caffe2 itself, like OpenCL support?

No flags at all other that the debug version.
I don't understand why it defaults to OpenCL - I have CUDA not OpenCL, and it seems to fallback to the CPU version of caffe. I didn't even know what beignet-opencl-icd was before this.
I've rebuilt my Caffe2_CPU with DCMAKE_BUILD_TYPE=Debug and now there is no segmentation fault!
I'm closing this issue as I am certain it is with libCaffe2_CPU and not your tutorials, I'll open one in the caffe2 repository.


Peer dependency issues

While installing graphql-mocks and @graphql-mocks/network-msw, I got a peer dependency error from npm:
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/graphql-mocks
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>
I can force the installation, but I wanted to let you know that the latest versions do not seem to match up correctly with each other.

#107 adds checks for testing packages against their peer dependencies. Turns out there quite a few that need a bump, so the next release should catch these and resolve compatibility issues. That pull request will also add passing new changes of package versions to the existing range so that there should be an ever-updating compatible range if tests pass. I will also call out breaking changes in PRs which get logged out while creating the release and assigned versions, hopefully these changes stabilize the versions across packages.

#107 #115 Improved the release process to take package's peer dependencies and test them against older versions, and include new versions being released. #108 Pull requests can now include change log entries to call out features, bugs and breaking changes which are reported while creating a release and choosing the appropriate version, along with breaking peer dependencies.
A set of releases just went out in #117 using the new scripts and it looks like everything went well. I'll keep an eye out for any issues but I think this is in a much better place now and versioning should be much more consistent.


How to obtain the SNR of the reconstructed tomogram after model correction?

In the paper, I saw the term "CC SNR." Could the authors provide the code related to SNR? Alternatively, can you share the approach used to evaluate SNR? Is it based on Fourier transform, ROI selection where regions of tissue or target structures are chosen in the image to calculate the mean signal, or any other methods?

Hi @DIGGORER,
thanks for reaching out!
In the paper, we evaluated the quality of tomograms using the cross correlation coefficient (CC), which is defined in Equation (7) here. We only computed CC values  for reconstructions based on synthetic data where ground truth tomograms are available.
We used the term SNR only to measure the "noisiness" of the input tilt series. Again, we only discussed concrete SNR values for synthetic data (see Section "Experiments on synthetic data"), where clean ground truth is available. For a given clean tilt series $t_{clean}$, we simulated a noisy tilt series  $t_{noisy}$ by adding pixel wise independent noise. The SNR of the noisy tilt series $t_{noisy}$ with respect to its clean ground truth $t_{clean}$ is defined as
$SNR = \frac{\text{var}(t_{clean})}{\text{var}(t_{clean})}$,
where $\text{var}$ means pixel-wise variance. Note that here, we assume that $\text{mean}(t_{clean}) = 0$.
I hope this helps. Let me know if there is still anything unclear.
Best,
Simon

Hi Simon,
"Thank you for your answer. I understand the meaning of SNR and CC in your research. You found complete, noise-free MRC samples, and then added Gaussian noise of varying intensity before inputting them into your model. You compared the output of the model with the perfect samples using the CC metric and compared it to other models. I would like to know what software or programming language libraries you used to add the Gaussian noise? Was it added to a 2D image sequence or was the Gaussian noise directly added to the 3D MRC file?
Lastly, can the CC metric be replaced with PSNR and SSIM metrics?"
best,
Diggorer

Hi @DIGGORER,
here are my answers to your questions:

Q1: I would like to know what software or programming language libraries you used to add the Gaussian noise? Was it added to a 2D image sequence or was the Gaussian noise directly added to the 3D MRC file?
A1: I used PyTorch to add the Gaussian noise directly onto the 2D tilt series images. I produced the tilt series images with tomosipo. Maybe this code snippet makes things clearer:
import torch
import tomosipo as ts

def get_tilt_series(vol, tilt_angles):
    A = ts.operator(
            volume_geometry=ts.volume(shape=vol.swapaxes(0, 1).shape),  # swapaxes shape due to tomosipo conventions
            projection_geometry=ts.parallel(angles=torch.deg2rad(tilt_angles), shape=vol.shape[1:])
        )
    # swapaxes is needed because tomosipo wants (x, n_projections, y) coordinates for projections
    tilt_series = A(vol.swapaxes(0, 1)).swapaxes(0, 1)
    return tilt_series

def get_noisy_tilt_series(vol, noise_var, tilt_angles, seed=0):
    ts = get_tilt_series(vol=vol, tilt_angles=tilt_angles)
    mean = ts.mean(dim=(-1, -2), keepdim=True)
    std = ts.std(dim=(-1, -2), keepdim=True)
    ts = (ts - mean) / std
    noise = math.sqrt(noise_var) * torch.randn(ts.shape, device=ts.device, generator=torch.Generator().manual_seed(seed))
    noisy_ts = (ts + noise) * std + mean
    return noisy_ts

Setting noise_var to, e.g., 2 produces a tilt series with SNR = 1/2.

Q2: Is the file '.\shrec21_contest_dataset\model_0\grandmodel.mrc' used as the complete, noise-free sample in your research?
A2: Figure 7 in the paper shows model_0 but the model I used to produce this Figure (and Figure 6) was fitted on model_0, model_1 and model_2 simultaneously. Fitting only on model_0 gave very similar results (see also Supplementary Information 5).

Q3: Lastly, can the CC metric be replaced with PSNR and SSIM metrics?
A3: Yes, you can use any image metric. I chose CC because it is closer to the common Fourier shell correlation (FSC) metric than PSNR or SSIM.

I hope this helps, please let me know if there is still anything unclear.
Best,
Simon

Hi Simon
Thank you very much for answering my question in detail once again, but I still have some doubts regarding question 3. Here’s how you
A3: Yes, you can use any image metric. I chose CC because it is closer to the common Fourier shell correlation (FSC) metric than PSNR or SSIM.
The FSC metric is calculated in reciprocal space, which means performing a Fourier transform on the 3D MRC file before calculation. Since the CC metric is similar to the FSC metric in calculation.
does it also require performing a Fourier transform on the 3D MRC file before calculation, or can it be calculated directly in real space?
Thank you very much for your response once again!
best,
Diggorer

Hi @DIGGORER,
calculating the CC in real or reciprocal space (Fourier space) should give the same results because the Fourier transform preserves norms and inner products.
Best,
Simon


Team MicroG should team up with Team Vanced

Hey, MicroG and Vanced have some issues together, like notifications, they can be done but need a MicroG app interaction to work. If Team Vanced and the MicroG team team up it would make Vanced a better app too.

Looking this up I find https://youtubevanced.com/. This is a usual YouTube app. Nothing special here.
Just install it by yourself.
I also have no idea for what it (optionally) needs root.
And it is proprietary, given it somehow uses the official YouTube app. (which may also be not be really legal) So shipping it in microG would not be good, as it's not FLOSS.
Personally, I'd just suggest using NewPipe. That's simple enough for YouTube and FLOSS, and also blocks the ads there.

 What's so special about it?

I used YouTube Vanced for a while. That was a couple months ago. But guys, just buy YouTube premium... Support your creators. Or use NewPipe instead. That would follow the MicroG philosophy more anyways.

Can we close this? μG does not care about implementing Google Apps themselves, only the PlayServices.
And as other people said, if you want a good FOSS YouTube app replacement, go for NewPipe.

Everything was said here. Closing.


Automate bundle size report in docsite

not so bad manually compressing and updating values, but would be sweet to automate the lib sizes and feed them into a build system

This also relates to my questions on Discord. It sounds like purging is not on the horizon, yah? I think docs on a recommended approach for crusty folks like myself that want to avoid importing absolutely everything would be great too.

purging if offloaded to purgecss as part of a production build. i dont have that documented on the site no, it's also not that reliable. if you're worried about overshipping props, consider the postcss-jit-props plugin which additively puts the props into your stylesheet when used, or only import the groups of props you want (colors, sizes, etc).
this partically issue #25 is about automating the bundle sizes tho, not about how to reduce bundle sizes in your own builds.

@argyleink Don't know if this is what you're after, but I wrote a little script that checks the current size of the built props.<thing>.css files in src. It shows the current file size and also the brotli and gzip sizes. I imagine this could be generated in a Github action, and perhaps added to the release changelog
Here is an example of the output

nice, that data as json would be great. i could tuck it into an npm script then use the data with vite to populate the sizes. i dont have any time to do it right now, but just having that script in package.json would be nice.


Docs page(s) for new custom domain/cdn broker services

What we're after
In order to keep customers updated with how to create services, we should document how to use the new custom domain and cdn services
Acceptance Criteria

[ ] Docs on cloud.gov explaining how to provision, update, and deprovision instances of the new services
[ ] Someone other than the author of the docs has followed the instructions to successfully provision service instances

This is the partner documentation for the migration guide. Follow-on to #1001 to document the work. This should occur in the next sprint.


spelling correction

Hey, James found an error in the tutorial!

Great, thank you!

Pull Request Test Coverage Report for Build 157

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

Totals

Change from base Build 154:
0.0%

Covered Lines:
1065

Relevant Lines:
1316

💛  - Coveralls


Kubernetes DnsSrv service discovery across namespace

Preamble:
In kubernetes we can communicate between services according to the DNS name and (specification).
With service discovery named endpoints in Aspire we can use the "http://_{endpointName}.{serviceName}" uri in order to work, awesome!
So in production within a kubernetes cluster, in which we have namespaces, I thought it was normal to add the namespace after the service name, in case of communication between services of two different namespaces, as described in the kubernetes service dns concepts.
Unfortunately the service discovery works only between services of the same namespace and without declaring anything after the service name.
So I though it was an issue with our services configuration but after follow the debug instruction for CoreDNS I have not found any sort of issue.
Issue:
HttpClient with service discovery enabled which make request to named endpoint of a service which belong to a different namespace returns always The endpoint collection contains no endpoints.
After debugging service discovery implementation I found that the srv query made contains the current namespace instead of the provided one within the service name (e.g. with http://_grpc.service-name.default).
The namespace is returned from the DnsSrvServiceEndPointResolverProvider.ReadQualifiedNamespaceFromResolvConf method which return the second result of the search line split by space (e.g. search test.svc.cluster.local svc.cluster.local cluster.local return test.svc.cluster.local) which is then appended to the srv query which result in http://_grpc._tcp.service-name.default.test.svc.cluster.local.
Workaround:
We can use the QuerySuffix option to hard code svc.cluster.local which is then appended to the srv query instead of using the  DnsSrvServiceEndPointResolverProvider.ReadQualifiedNamespaceFromResolvConf method, which result in http://_grpc._tcp.service-name.default.svc.cluster.local which works perfectly.
Suggestion;
It might be good to avoid query suffix and instead take the third value of the search line split operation within DnsSrvServiceEndPointResolverProvider.ReadQualifiedNamespaceFromResolvConf in case of namespace already declared in serviceName parameter.

Hi @Dona278, thanks for the writeup. Indeed, Service Discovery makes the (over-)simplifying assumption that all of the services for your app live within a single namespace. One issue with adding the namespace to the service name is that it won't work at dev time. That is my concern. Do you have a suggestion for how this could work in a way which is portable across dev & prod?
If there was a delegate to map a service name to a query, would that be sufficient?

"won't work at dev time" is what I said just after open the issue!
In our context we only have two namespaces in which the second one there are "worker service" (keda scaled object spawned based on azure queue), so for these services only we use the "namespace" behavior and only in "Production" environment.
However I think that a delegate might be sufficent and maybe could be only part of the DnsSrv service discovery implementation, during services registration?
And provide a sort of token replacement of a query instead of create a new one from zero? In order to allow only the add of the namespace leaving the kubernetes cluster hostname as it was read from cfg file.


Number of training steps for results from paper

Hi,
I was wondering for how many training steps did you train your model to gain the accuracy from the paper. You mentioned that it takes about 50 hours to train the model (on Tesla K40). I wanted to replicate the results, but I stumbled on much longer training time (about 260 hours), that would be required for completing the 2000000 iterations (maxIterations) that are used in config.lua. I'm using Tesla K20, but I don't think the difference should be so big.

@moraval The training should be stopped before reaching the max number of iterations. In practice, The number of training iterations is typically 200-500k.


Support thread group

Is your feature request related to a problem? Please describe.
fail-rs utilizes global registry to expose simple APIs and convenient FailPoint definition. But it also means all parallel tests have to be run one by one and do cleanup between each run to avoid configurations affect each other.
Describe the solution you'd like
This issue proposes to utilize thread group. Each test case defines a unique thread group, all configuration will be bound to exact one thread group. Every time a new thread is spawn, it needs to be registered to one thread group to make FailPoint reads configurations. If a thread is not registered to any group, it belongs to a default global group.
New public APIs include:
pub fn current_fail_group() -> FailGroup;

impl FailGroup {
    pub fn register_current(&self) -> Result<()>;
    pub fn deregister_current(&self);
}

Note that it doesn't require users have the ability to spawn a thread, register the thread before using FailPoint is enough.
Describe alternatives you've considered
One solution to this is pass the global registry to struct constructor, but it will interfere the general code heavily, it needs to be passed to anywhere FailPoints are defined.
Another solution is #24, but it lacks threaded cases support.

/cc @brson @Little-Wallace

@BusyJay nice! A bunch of high-level questions:

can the thread-group logic be folded into FailScenario? register_current doesn't seem to be very different from threadgroup-bound setup.
would it be better for the API to take a ThreadId argument instead?
I have no idea how this would actually work at the low level; how do you intend to plug this into the eval logic?

can the thread-group logic be folded into FailScenario?

FailGroup can be accessed via a global fuction, so it may not be appropriate to use FailScenario directly. But I think it can be defined as a field of FailScenario if necessary.

would it be better for the API to take a ThreadId argument instead?

I'm not sure. I find it more convenient to just register current thread instead of others. For example, thread pool generally provides after_start, before_stop hooks to allow do work in a thread, but generally won't provide thread ID directly.

plug this into the eval logic?

When evaluating, it uses current thread ID to find out which thread group it belongs to, and then check the rules of the group.

It seems complex. Why can not we  launch multiple process and each process runs some test with a single thread?

Process isn't compatible with the default test runner.


python310Packages.mpi4py: 3.1.3 -> 3.1.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.mpi4py is: "Python bindings for the Message Passing Interface standard"
meta.homepage for python310Packages.mpi4py is: "https://bitbucket.org/mpi4py/mpi4py/"
meta.changelog for python310Packages.mpi4py is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 3.1.4 with grep in /nix/store/xw6k8v2a2076wi5z0ikghr7n6rh8xb8p-python3.10-mpi4py-3.1.4
found 3.1.4 in filename of file in /nix/store/xw6k8v2a2076wi5z0ikghr7n6rh8xb8p-python3.10-mpi4py-3.1.4

Rebuild report (if merged into master) (click to expand)

21 total rebuild path(s)

21 package rebuild(s)

First fifty rebuilds by attrpath
paraview
python310Packages.baselines
python310Packages.dask-mpi
python310Packages.fenics
python310Packages.fipy
python310Packages.h5py-mpi
python310Packages.hoomd-blue
python310Packages.mpi4py
python310Packages.optuna
python310Packages.pyprecice
python310Packages.sfepy
python39Packages.baselines
python39Packages.dask-mpi
python39Packages.fenics
python39Packages.fipy
python39Packages.h5py-mpi
python39Packages.hoomd-blue
python39Packages.mpi4py
python39Packages.optuna
python39Packages.pyprecice
python39Packages.sfepy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xw6k8v2a2076wi5z0ikghr7n6rh8xb8p-python3.10-mpi4py-3.1.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.mpi4py https://github.com/r-ryantm/nixpkgs/archive/4ab518fd62ee276dbbd636d65b82ab7f09c1aa83.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/xw6k8v2a2076wi5z0ikghr7n6rh8xb8p-python3.10-mpi4py-3.1.4
ls -la /nix/store/xw6k8v2a2076wi5z0ikghr7n6rh8xb8p-python3.10-mpi4py-3.1.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings

https://github.com/mpi4py/mpi4py/blob/maint/CHANGES.rst


Switch mixer to AST while Il is fixed

This PR switches to using AST based evaluator while bugs in  IL are worked out.
Both evaluators are available in Mixer, and will be shipped in 0.2.
Release note:

NONE

@mandarjog: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/new-e2e-rbac_no_auth.sh
2fff1bbe63b31fb7e1081e8dc0ce9f344705633f
link
/test new-e2e-rbac_no_auth

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

@mandarjog: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/new-e2e-rbac_no_auth.sh
2fff1bbe63b31fb7e1081e8dc0ce9f344705633f
link
/test new-e2e-rbac_no_auth

prow/e2e-suite-rbac-auth.sh
2fff1bbe63b31fb7e1081e8dc0ce9f344705633f
link
/test e2e-suite-rbac-auth

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

@mandarjog: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/new-e2e-rbac_no_auth.sh
2fff1bbe63b31fb7e1081e8dc0ce9f344705633f
link
/test new-e2e-rbac_no_auth

prow/e2e-suite-rbac-auth.sh
2fff1bbe63b31fb7e1081e8dc0ce9f344705633f
link
/test e2e-suite-rbac-auth

prow/e2e-suite-rbac-no_auth.sh
2fff1bbe63b31fb7e1081e8dc0ce9f344705633f
link
/test e2e-suite-rbac-no_auth

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

is there really an identified bug with IL vs AST ? what we found yesterday was specific to non kube init no ?

probably don't want to introduce tabs

will close this for now if you don't mind


Add deno to guides

I tested and found that Biome's lint and format works well with deno, so I added it as an option.

We don't have a deno SVG, you'd have to add one
https://github.com/biomejs/biome/tree/main/website%2Fsrc%2Fassets%2Fsvg

Right. Looks like this

That's awesome, great addition!


Milestone 0

@ct-jensschulze can you tag the release?

@ct-jensschulze also add a release note, thanks :)
https://github.com/sphereio/sphere-php-sdk/releases


fix(client, curriculum): center images in challenge description

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

This PR fixes an image alignment issue caused by #55068.
Screenshots

Before
After

Wondering if this is the best approach. I'm fine with it, but couldn't we do something like .description > img { margin: auto } - so it's a little more universal?
Also wondering about other clients. Maybe it will make things more difficult for mobile or other future clients, in that they may have to overwrite the inline styles. Perhaps that's fine.

Thanks Huyen!


Issue-1003: Saving group repositories does not preserve the order.

Fixes #1003.
When updated, the group repositories set was deserialized as HashSet by default. It's been forced to deserialize as a LinkedHashSet.

Thanks for this quick fix! :)


Is there a way to not wrap with another element when using "TooltipWrapper"?

When using TooltipWrapper it gets dificult to style the original component because it gets wrapped with another span element. Is there a way to make it without the span wrapper and still use the "Multiple anchors" feature?

Unfortunately, when trying to implement it without a wrapping element, the tooltip only worked properly with regular html elements (span, div, ...), but stopped working when using react components.
If you have any suggestions that would make styling easier, we'd like to hear it.
Until then, you'll have to go through the extra steps to style the anchor components.


Added "Our Mission" Component for the Second Theme

Signed-off-by: Abhijay Jain<EMAIL_ADDRESS>Description
Added "Our Mission" Component for the Second Theme
Resolves #272
Screenshots (In case of UI changes):

Desktop  View

Types of changes

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests have passed and it does not give any unexpected error for the same.

cc: @charithccmc @dinithminura


API Readiness Checklist

Problem description
The Readiness Checklist is under strong modification as described here:
https://github.com/camaraproject/Commonalities/issues/202
The new one is here: https://github.com/camaraproject/ReleaseManagement/blob/25400e8f484dbb6e53a7dcc21d3a709b6cc2b686/documentation/API-Readiness-Checklist.md
Expected action
Update when the new Readiness Checklist is consolidated:
https://github.com/camaraproject/CallForwardingSignal/blob/main/documentation/API_documentation/CFS-API-Readiness-Checklist.md

PR to fix this issue: https://github.com/camaraproject/CallForwardingSignal/pull/43

merged


fix long game start times due to nvidia shenanigans

Tested on Aya Neo 2 and on a desktop with Nvidia GTX 1080.

Tested on OXP Mini. LGTM.


Add docstring coverage for errors

Adds docstrings for errors.py
Change Summary

Related issue number

Checklist

[ ] Unit tests for the changes exist
[ ] Tests pass on CI and coverage remains at 100%
[ ] Documentation reflects the changes where applicable
[ ] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)
[ ] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Selected Reviewer: @dmontagu

Looks good to me, feel free to take/leave the suggestions (please update — for hooky to mark that this has been reviewed, only update if you like the suggestions I made)


Training on XGB versions > 0.90 on Pandas breaks the converter

When using XGBoost version > 0.90 over a pandas dataframe, the tree representation contains the column labels instead of indexes. This breaks our converter. A temporary workaround is to just train over numpy arrays, but on the long term, we should fix our tree-parser logic to address also this case.

I think that #523 closed this, can you confirm @interesaaat ?

I am not sure if that specific PR fixed this, but indeed we don't have anymore problems with xgb > 0.90, so we can clone this.


Trellis plot with scatter plot: dots with empty marker value are not shown

v1.20.2,1.21.1
Steps to reproduce:

Open SPGI
Add a Trellis plot
Switch it to scatter plot as an inner viewer
Trellis: Series as Y, Has unlabeled R-groups as X
Inner scatter plot: leave default columns
Inner scatter plot: select R101 as Markers

Expected results: all dots are shown on the inner plots. Dots with empty R101 value should be visible and should have shape shown in the legend.
Actual results: dots with empty R101 value are not shown:

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16694


PP-7709 Allow products to be retrieved by account ID and type

Enhance the /gateway-account/{gatewayAccountId}/products endpoint so that it takes an optional type parameter with a single value like ADHOC or PROTOTYPE and filters the results appropriately.

It would've been great to explain how this PR fits the story description: "Add a mechanism in the admin tool for a user with the agent-initiated-moto-payments:initiate to initiate a payment from a AGENT_INITIATED_MOTO product."

One of the things we’re going to need for the story is a way to get all products that are AGENT_INITIATED_MOTO and this makes that more efficient.


1.8 failing to load on python 3.7

With the latest update to 1.8 (perhaps some subversions earlier) our Continuous Integration sweep detected an import bug from one of our dependencies: this package. Specifically we detected that in WidgetFrame.py:9, we get an error of the form:
ImportError: cannot import name 'Literal' from 'typing'
Searching this bug on the net reveals that Literals are not supported in python before version 3.8. This is consistent with our test sweep, where it is only the 3.7 version trying to run with the latest version of this that fails, with the rest working, since they either use (another) specific version of this or a different python version.
Please make sure that your latest version viable for specific python versions is actually viable for that version, until then we will have to run with older versions of this package.

Hello,
This is now fixed in version 1.8.2. The bug was accidentally introduced in 1.8.0-rc0 when I used the Literal feature from the typing module to align with the latest version of tkinter. I have fixed it by using the typing-extensions module, which is the official backport of new features in the typing module from the standard library. I have also updated my unit tests to better catch these issues, they were disabled earlier because of the difficulty of loading tkinter on a headless server.
Please let me know if any other issues develop.


Can not set response http status from request using mitmdump and python script

I use mitmdump 4.0.4 with python script as reverse proxy. How to set the custom http status response from request context?, example:
@concurrent
def request(flow):

    # flow conditionals here

    flow.response.status_code = 403
    flow.response.text = 'Access denied!'

In the request function the flow.response is None:
...
flow.response.status_code = 403
AttributeError: 'NoneType' object has no attribute 'status_code'

I try send a raw response:
@concurrent
def request(flow):

    # flow conditionals here

    flow.client_conn.connection.send(b'HTTP/1.1 403 Forbidden ...')
    flow.kill()

The flush works fine, but the python says:
...
flow.kill()
  File "/home/***/.local/lib/python3.6/site-packages/mitmproxy/flow.py", line 159, in kill
    self.reply.kill(force=True)
  File "/home/***/.local/lib/python3.6/site-packages/mitmproxy/controller.py", line 115, in kill
    self.send(exceptions.Kill, force)
  File "/home/***/.local/lib/python3.6/site-packages/mitmproxy/controller.py", line 122, in send
    "Reply is {}, but expected it to be start or taken.".format(self.state)
mitmproxy.exceptions.ControlException: Reply is committed, but expected it to be start or taken.

If only kill flow:
@concurrent
def request(flow):

    # flow conditionals here

    flow.kill()

Says:
...
OSError: [Errno 9] Bad file descriptor

How to send a 403 status response on the request flow before server request (reversed) connection?

https://github.com/mitmproxy/mitmproxy/blob/main/examples/addons/http-reply-from-proxy.py


clstm.load() fails to parse what clstm.save()ed

To enable resumed ocrtrain, I am trying to load *.clstm. but when I reload, parse error occurs with this message.
[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "clstm.NetworkProto" because it is missing required fields: kind, ninput, noutput
libc++abi.dylib: terminating
These 3 fields(kind, ninput, noutput) are not saved?

It should be working, but the Master branch is currently undergoing rapid development.
Please use "git checkout -b separate-derivs" for the older, more stable branch.
(The parameter layout will change slightly between the old and the new models; you could probably write a conversion tool, but it's probably easier just to retrain once the new release is stable.)

Thank you for quick reply.
Your code runs brilliantly, smoothly with small subset of Japanese kanji
characters, about 400 kinds that elementary school boys have to learn.
2500 kinds of characters is the target number for real-life ocr. That's why
I tried to write resume option.
Thanks again. I can learn a lot from your code.
<EMAIL_ADDRESS>
It should be working, but the Master branch is currently undergoing rapid
development.
Please use "git checkout -b separate-derivs" for the older, more stable
branch.
(The parameter layout will change slightly between the old and the new
models; you could probably write a conversion tool, but it's probably
easier just to retrain once the new release is stable.)
—
Reply to this email directly or view it on GitHub
https://github.com/tmbdev/clstm/issues/43#issuecomment-146990190.

--

中日新聞電子編集部
松波 功
Isao Matsunami
451-0043 名古屋市西区新道1－2－18－908
phone<PHONE_NUMBER>
mobile +81-90-3954-5786

I am in separate-derivs and am having the same issue.
#export maxeval=1000
#export save_every=0
export model_name=holmes
#export lrate=1e-3
#export nhidden=30
export report_every=1000
export test_every=5000
#export lstm=BIDILSTM
export testset=../../Text_Normalization/data/ocr/Holmes/clstm/by_sentence/holmes_test.tsv
export trainset=../../Text_Normalization/data/ocr/Holmes/clstm/by_sentence/holmes_train.tsv
#export ntrain=100000
export params=1
if [ $1 == test ]
then
export mode=filter
export dataset=$testset
export load=$model_name
else
export mode=train
export dataset=$trainset
export save_name=$model_name
fi
echo $mode with $model_name on $dataset
../clstmtext $dataset
First I run in train mode, then in test mode, and it fails with the error
libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "clstm.NetworkProto" because it is missing required fields: kind, ninput, noutput
EXCEPTION Invalid message


Number token placeholder limit by length

Hello Folks,
I am looking for a number token place holder which can resolve to a random number , but limited by length/size.
e.g.

${RANDOM.NUMBER:3} - resolves to 101, 543, 999 etc

${RANDOM.NUMBER:2} - resolves to 11, 34, 98 etc

${RANDOM.NUMBER:1} - resolves to 3, 9, 2 etc

This will help me to create some custom ID etc where the number is just a suffix or prefix.
e.g.
CUST_ID_${RANDOM.NUMBER:2}
  - - resolves to CUST_ID_11, CUST_ID_34, CUST_ID_98 etc

CUST_ID_${RANDOM.NUMBER:1}
  - - resolves to CUST_ID_1, CUST_ID_5, CUST_ID_9 etc

${RANDOM.NUMBER:3}_MIB
  - - resolves to 101_MIB, 100_MIB, 339_MIB etc

etc

The uniqueness need not be guaranteed across multiple session, but yes, (guaranteed) for the same JVM session
Update(21-Jun-2019, Friday):

If the random numbers run out, the tests should not break. Instead it's ok to have a repeated one.

In this case, my team(basically testers)'s responsibility is to make sure they choose a good length, rather than just 1 digit.

In a scenario having n number of steps, if this place holder is used n times, once in each step, then all n places will be replaced by different random numbers(not the same one n times).

Here it's the tester's(my team) job to make sure to use correct length so that the they don't run out of the random numbers.

Our current test usecase is - we have a 2 digit random number requirements to generate people's identity with a Text + Number pattern, where we will randomize both text and number

@authorjapps I've picked this up
I've created a HashMap to store all the numbers generated for a specific length in the current session.
The only downside to the approach is that the user can't generate different IDs in the same step in a scenario but I don't see that as an issue from my side as the user could create another step to use a new random number.
Main chunk of the code is below:

I've tested the implementation using the `HelloWorldGitHubSuite" test and I've confirmed that a unique number is generated across all of the steps/scenarios.
My only outstanding Q is what would be best to return if the user has ran out of unique numbers, i.e. ${RANDOM.NUMBER:1} and they have executed more than 9 tests then the next number would be 10 which is two characters long, I'm presuming it'd be easier to throw an exception or would you prefer a warning to be thrown? Maybe this is a Q for the OP @dinesh76in
Thanks

If random number generation of a fixed length is the requirement here then something like this can be done.
public static void main(String[] args) {

    int length = 3;
    int lowerBound = (int) Math.pow(10, (length -1));
    int upperBound = (int) Math.pow(10, length);
    System.out.println("lower - > " + lowerBound );
    System.out.println("upper - > " + upperBound );
    int random = ThreadLocalRandom.current().nextInt(lowerBound, upperBound);
    System.out.println("random --> " + random );
  }

Why we need a hashmap? Is there anything I am missing from the requirement? @dinesh76in @jneate

@jneate, @santhoshTpixler , Thanks!
I have updated the issue description a bit which would answer your below question!

if the user has ran out of unique numbers...

...downside to the approach is that the user can't generate different IDs in the same step in a scenario but I don't see that as an issue from my side...

That's the default behavior. That won't cause any issues(we are giving an extra handy stuff as part of this issue), e.g.
In case of a Person object, the id 111( random number e.g. only) belongs to two different entities which should not be an issue in my opinion.
{
   "id": "111",
   "address":{
      "id": "111"
   }
}

Even in case, a test-engineers want to make both random, he can simply execute a Java method anyways!
Here the ids can be one or as many in numbers.
{
   "id": "${$.java_step.response.PERSON_ID}",
   "address":{
      "id": "${$.java_step.response.ADDRESS_ID}"
   }
}

resolved as below(so we are good here I think),
{
   "id": "321",
   "address":{
      "id": "757"
   }
}

And to keep the solution simple, it shd be good enough to use Java/Jdk provided random method here(imho).

Sorry about the delay, my work was pretty hectic.
@authorjapps @dinesh76in - Myself and @santhoshTpixler took the conversation offline in Gitter over the course of a few days, as @santhoshTpixler mentioned, the Random method doesn't guarantee uniqueness therefore if the generated number has to be unique then we need to keep track of the numbers previously generated hence the HashMap.
Admittedly the chances are slim but in theory it could happen where the Java random method generates the same number twice, I'm more than happy to change the above implementation to use the Random method then we just need to be clear in the documentation that the RANDOM.NUMBER:LENGTH has a 10^LENGTH chance of generating the same number twice.
We should also include the max LENGTH in the documents, using the long type gives a length of 18 which should be sufficient unless others disagree?

@jneate you can raise a pull request with the discussed changes.

Thank you both @jneate , @santhoshTpixler for the solution around this.
@jneate , for the below issue, we will raise a Tech-Debt(you can pick it when you get chance)-

The only downside to the approach is that the user can't generate different IDs in the same step in a scenario but I don't see that as an issue from my side as the user could create another step to use a new random number.

@santhoshTpixler, can you cover PR with unit tests, please?
And a Wiki Page around this will help everyone as @jneate suggested!

I'm more than happy to change the above implementation to use the Random method then we just need to be clear in the documentation that the RANDOM.NUMBER:LENGTH has a 1 in 10^LENGTH chance of generating the same number twice.

Wiki(TODO) link is here:
https://github.com/authorjapps/zerocode/wiki/Random-Number-Token-Generator-Usage-and-Limits

Available in version 1.3.10  and higher.


Navigation bar text

I only want to have the icons on the side of my screen, I don't want the text e.g "Notifcation, Messages"

This would be great! I'd like the option to hide the text completely, too Right now the hover zone is super big as well so the text shows up all the time unintentionally.  So, thumbs up for this suggestion from me.

Released in: Released in: https://github.com/thomaswang/minimal-twitter/releases/tag/v4.0.8


chrome options to change file download location

What are you trying to achieve?
How to change file download location to a local custom location using SeleniumWebdriver helper while using chrome browser
"helpers": {
"SeleniumWebdriver": {
"url": "",
"browser": "chrome",
"waitForTimeout":3000,
"scriptTimeout":3000,
"uniqueScreenshotNames": false,
"windowSize": "maximize",
"smartWait": 5000,
"desiredCapabilities": {
"browserName": "chrome",
"chromeOptions": {
"prefs": {
"args": "['start-maximized']",
"profile.default_content_settings.popups": "0",
"download.default_directory": "./automationtests/helpers"
}
}
}
},
Details

CodeceptJS version: latest
NodeJS Version: v8.4.0
Operating System: Mac high sierra
Protractor || WebDriverIO || Nightmare version (if related): SeleniumWebdriver
Configuration file:
``

Any one can helps with same issue with firefox ? how to set related profile with firefox for download dir ?


Let's remove duplicated search results

Currently there are duplicated search results (ES finds the input multiple times on the same page and returns it multiple times)

This is actually another bug: opencharles/charles#97


[Code app] Mark with dot deployed and undeployed Code apps in Talk to

Description
Need to differentiate deployed and undeployed Code apps in Talk to screen
Mark deployed Code apps with green dot, undeployed- with red dot ( as it made in Marketplace)
Use case/motivation
currently the state of Code app is not visible in Talk to

No response
Related issues
No response
Confidential information

[X] I confirm that do not share any confidential information

issue is nit actual after implementation new UI for Select model/Talk to form


Fix Netty integration tests on FIPS system

Great contribution, thanks a lot @osmman!
Because we now have a new trust store and a new keystore the README would deserve some update, wouldn't it?
Besides, when we are now able to run on a FIPs enabled system, it would be nice to drop a note in extensions/netty/runtime/src/main/doc/usage.adoc informing about the additional dependencies and special store type required for running on a FIPs enabled system.

I updated the README file.
I am thinking about a place where to put notes for FIPS because this is a global problem for all camel components (80+) that use SslContextParameters. Have you got an idea?

global problem for all camel components (80+) that use SslContextParameters

I'd be for creating a new page under https://github.com/apache/camel-quarkus/tree/main/docs/modules/ROOT/pages/user-guide
I guess you prefer doing it in a follow up PR so that we can merge this one?

I guess you prefer doing it in a follow up PR so that we can merge this one?

Yes, I will do that in a follow up PR. https://github.com/apache/camel-quarkus/issues/4158

Is this good to merge @osmman ?


make registry case-insesitive #1

Coverage remained the same at 100.0% when pulling 429dad3b3a4b8e4523de86f6d218263c052d165a on case-insensitive into 457313079bb18f4c6d63c00eb0e0db7c400c1143 on master.


(apis) Create endpoints to fulfill GET requests for individual lobbies at lobbies/request url (ben and larry)

Goal: Set up an endpoint that retrieves information about ChiGame lobbies from API, serialized in JSON. This will be done at url "chigame/lobbie/request", and can be accessed by ChiGame users as well as third-party websites. The lobbies get request would include how many players, what game is being played (including whether its tournament or match), and availability (private or public lobby, etc.).

The goals of this issue was to create the detail view for the Lobby (i.e. support GET requests to get the information of an individual lobby). The URL endpoint has been changed to /api/lobbies/<LobbyID> and this functionality of getting the information for a specific lobby (as specified by the LobbyID) is supported through this endpoint. The progress has been documented in issue #52.

Issue Score: Excellent
Comments:
Thank you for linking the other relevant issue.


Store the Show Setup field in the Sayonara Config instead of the DB

This could be very useful, for people who want to nuke their DB without logging into their database. Before we add the default fields, we should go ahead and clear the database collections

Finished as of https://github.com/torch2424/SayonaraJS/releases/tag/v0.0.1


Declaring dependencies in the root project not working

I'm using the autoconfigure-gradle on a multii module project. When the dependencies for the submodule are declared in the root module I get the error:
file:///C:/src/demo/build.gradle.kts:16:9: Unresolved reference: implementation

To workaround this I'd have to apply the kotlin plugin on the root project manually.
I created a temporary repo to reproduce the issue:  https://github.com/d-eder/tmp-demo

This is a limitation by Gradle.
Please read the Kotlin-DSL documentation for Type-Safe-Accessors and Multi-Project-Builds
TLDR: The Gradle Kotlin Script gets compiled to be runnable but since the "Root" script cannot know which plugins get applied to the Sub-Projects it does not generate the type-safe-accessors. That's why you cannot use implementation as a method here.
There are 2 ways to fix this:

You can use a String as "method": "implementation"(platform("org.springframework.boot:spring-boot-dependencies:3.1.4"))
You can use the Groovy-Version of Gradle-Scripts, since there the implementation method is dynamically resolved (like it is when you use a String as "method" in the Kotlin-Script)


Status of the server and the number of connected clients

Is it possible to find out the status of the server and the number of connected clients using any command?

Currently, not. with slight modification those can be extracted from
server.cpp  esp32
arduino_homekit_server.cpp  esp8266


Add basic Vue 3 + TypeScript examples

This PR updates the Vue live cursors examples to Vue 3, and adds a Vue 3 live avatars example, in line with our others.
TODO:

[ ] Vercel deployment
[ ] https://github.com/liveblocks/liveblocks.io/pull/1172

looks like there are a few conflicts, and I left a few questions, and then this looks good to go. I'm not a Vue expert, but the examples work, I don't see any lingering comments/ mistakes so I think this should be ok!


Implementing zoom

Hi! Thanks so much for your work on react-flow-chart so far - Using it for a personal project and it's worked perfectly.
I'm implementing zoom at the moment. Trying to figure out the best way to go about this - Since the container is just a plain div, is the best way to zoom in/out to just adjust the zoom property? I'm not sure I can think of another way to implement this functionality.
Thanks!

I'd tend towards adding a css style along the lines transfrom: scale(${chart.zoom}) to a div inside the canvas.wrapper. zoom should probably be added as a top level property alongside offset in the IChart type. As such, you'd bind some onScroll handlers in the canvas wrapper and add some action handlers to adjust chart.zoom. PR would be appreciated :)


sso-operator fails to create sso proxy expose job if the name is more than 63 chars

Descriptions:
Trying to enable sso for a preview environment, the generated name for the SSO proxy expose job is too long (more than 63 chars) and so the sso-operator fails to create the expose job.
The generated name should be truncated to 63 chars.
Logs from sso-operator

@romainverduci Can I close this? I guess you fix it.

@ccojocar Yes it's fixed, I forgot closing it :)


Outline to display inherited methods/members.

For "Happy Coding" we need Outline to display inherited methods/members.
Please do.

/duplicate of #157461

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Capability to reset the data layer

For web applications like SPA, it should be possible to simulate a reset of the data layer as when a new page is loaded. This is especially important in cases the Data Layer holds a lot of information and triggers many events because the array can then quickly become massive if a visitor actively browses around for a few minutes or more.
For example:
adobeDataLayer.reset();
A more detailed example:
adobeDataLayer.push({ one: "some data" });
adobeDataLayer.length;
// 1
adobeDataLayer.getState();
// { one: "some data" }

adobeDataLayer.reset();
adobeDataLayer.length;
// 0
adobeDataLayer.getState();
// {}

Given that we want to allow instantiating a new data layer (see #44), we could also use that to reset the data layer.
Here's an example of how that could work for an SPA that wants to reset the data layer each time the visitor gets routed to a different URL:
window.addEventListener("popstate", function (event) {
    window.adobeDataLayer = new AdobeDataLayer();
    // Register again your event listeners here.
});

When a view change happens in SPA, the Data Layer does not always change in its entirety, So it will be good to give flexibility for the developers to decide what should be reset and what should be retained when a reset is called on the Data Layer.
For instance, when a user authenticates, the User object of the data layer will be populated. Further view change on the same session can retain this User object. Resetting the Data Layer completely will require the developers to pull user data from backend on every view change.
it will be great if developers can call reset with a an object and array list of events to retain.
Example of how the API could potentially look:
// Example for clearing/resetting everything
adobeDataLayer.reset({}, []);

// retain user and navigation component object and reset all other data.
// retain "click" and "view-change" event handlers and remove all other event handlers.
adobeDataLayer.reset({
"component" : {
  "navigation" : adobeDataLayer.getState("component.navigation")
 },
 "user": adobeDataLayer.getState("user")
 },
 ["click", "view-change"]
);

We could introduce a keepOptions argument for the reset() method with 2 properties, paths and events, which are arrays defining the paths and events to keep. E.g.:
  const keepOptions = {
    paths: ["page", "component.carousel.carousel1"],
    events: ["click"]
  };
  dataLayer.reset(keepOptions);

WDYT? @bennet-roy @gabrielwalt

Sounds good. Just to add more flexibility, Can we add a flag which can tell whether to keep or remove whatever is in the Array?

//For removing
const options = {
    paths: ["page", "component.carousel.carousel1"],
    events: ["click"],
    action : remove
  };
  dataLayer.reset(keepOptions);

//For keeping
const options = {
    paths: ["page", "component.carousel.carousel1"],
    events: ["click"],
    action : keep
  };
  dataLayer.reset(options);

A proof of concept is available at:
https://github.com/adobe/adobe-client-data-layer/tree/feature/create-copy-reset

How's the status for adding this functionality?

Do you have plans on extending the reset functionality of the adobe-client-data-layer so you can specify keep or remove options like it was suggested here  by @jckautzmann https://github.com/adobe/adobe-client-data-layer/issues/45#issuecomment-625880759?
I made a fork of that branch, just to isolate the copy changes from the reset, since we only needed the reset functionality.
We've been using it at my company for a long time now, but now we'd like to move to the new ACDL Launch extension, so I was just curious why you went with an "all-or-nothing" reset functionality from the extension - also it would be nice to have it added to this library, so you have the possibility to reset it in your code.

This capability exists in the 'Adobe Client Data Layer' Launch extension, but I can't find any evidence of it being added here?

Is there any update on this issue? It would be very useful.


Feature/swift package manager

Please leave as less changes as it could be. For example, i think, you can remove test files.

Are you shure, that it necessary ?
#if os(iOS)
import Foundation
#endif

Are you sure, that it necessary ?
#if os(iOS)
import Foundation
#endif

Yes, because:

Hi @NikKovIos
Please let me know your thoughts?


feat(sgid): Respect OAuth scopes

Problem
Enables sgID tokens to store information about OAuth scopes, and thus query for them.
Closes #539
Solution

Associated the requested scopes with each authcode.
In /userinfo request, use requested scopes to obtain the equivalent MyInfo fields. This is not a 1-1 conversion with MyInfo as not all fields are officially documented yet.

Features:
The user can query for more sgID OAuth scopes than previously allowed.
Tests
Ideally I should write some tests for this. However, I can say I've tested on my local FormSG with sgID integration and this MockPass indeed works.

Note: please squash merge if/when merging this.

Seems like console.info works for logging. I have changed all occurrences of warn to info.
Thanks for the review!


Provide more help and easier build for Windows c++

Imported from Google Code issue #74 created by tim.jurik on 2011-11-02T14:20:56.000Z:

What steps will reproduce the problem?

Try to build on any Windows OS

What is the expected output? What do you see instead?
A simple build process.  Right now it takes no fewer than 6 downloads and a lot of head scratching to get a build.  (I have not even been successful yet)
What version of the product are you using? On what operating system?
Latest revision on WIn32  C++
Please provide any additional information below.
I would like to be able to download one set of sources and just build the library.  Unfortunately it is quite a production to even get to that point.  The readme makes a lot of mention of linux but there is no help at all for Windows developers.

The readme now has a section for Windows: https://github.com/googlei18n/libphonenumber/blob/master/cpp/README

Sorry, the windows section is very outdated and contains invalid URLs.

Thanks for letting us know! We don't develop on Windows so we can't keep that up-to-date.
We're happy to accept a patch though. I closed this issue since it's from years ago and since then we did take action to fix it (it just wasn't followed up on), but that doesn't mean we're never updating the file again :)


--kubeconfig flag not honored

/kind bug
What versions of software are you using?
Operating System:
Fedora release 36 (Thirty Six)
Output of odo version:
odo v3.0.0-alpha1 (b7e45da23)
How did you run odo exactly?
❯ odo dev --kubeconfig /path/to/a/kubeconfig/other/than/the/default

This always uses the default config, not the one specified by the user. As such, it uses the wrong cluster.
Actually, this affects all commands that expose this flag, like odo deploy or odo list, e.g.:
❯ odo list --kubeconfig /path/to/a/kubeconfig/other/than/the/default -v 4
I0511 16:41:56.599645 1765751 implem.go:103] The path for preference file is /home/asoro/.config/odo/preferences.yaml
I0511 16:41:56.599700 1765751 util.go:733] HTTPGetRequest: https://raw.githubusercontent.com/redhat-developer/odo/main/build/VERSION
I0511 16:41:56.599724 1765751 segment.go:254] Checking telemetry enable status
I0511 16:41:56.599767 1765751 util.go:754] Response will be cached in /tmp/odohttpcache for 1h0m0s

I0511 16:41:56.602227 1765751 util.go:1077] using default kubeconfig path /home/asoro/.kube/config

--- truncated ---

Actual behavior
Almost all commands currently expose this --kubeconfig flag in their help message (under the "Additional Flags" section):
For example, with odo help dev:
Additional Flags:
      --kubeconfig string    Paths to a kubeconfig. Only required if out-of-cluster.
  -v, --v Level              Number for the log level verbosity. Level varies from 0 to 9 (default 0).
      --vmodule moduleSpec   Comma-separated list of pattern=N settings for file-filtered logging

Maybe I missed something, but I was expecting this --kubeconfig option to allow me to target a different cluster. Instead, it seems like odo always reads the default ${HOME}/.kube/config file.
After a quick look, it looks like:

we always initialize a kclient with the defaults: https://github.com/redhat-developer/odo/blob/b7e45da23cfe3c9b8ae912c0219c17d12d79f3a6/pkg/kclient/kclient.go#L70-L73
in odo list, we always check either the KUBECONFIG env var is set or the default ~/.kube/config does exist : https://github.com/redhat-developer/odo/blob/b7e45da23cfe3c9b8ae912c0219c17d12d79f3a6/pkg/odo/cli/list/list.go#L69-L75

Expected behavior
Make odo honor the user-defined kubeconfig file(s) defined via this flag, for all interactions with a cluster.
Workaround: Set the KUBECONFIG environment variable instead, but it would be nice to make this --kubeconfig option work (taking precedence over the environment variable).
Or if this is not something expected, we should probably remove this flag from the Help messages.

I think that CheckKubeConfigExist should not be used as is, as it does not support KUBECONFIG values with several kubeconfig paths:
KUBECONFIG=/path/to/config:/other/path/to/config


Add CLI support for parsing VEP-annotated VCF

https://www.biostars.org/p/9474428/#9474883

a6692dc

https://bioinformatics.stackexchange.com/questions/13160/filtering-vep-annotation-file


Error on signing transactions

There is a javascript error whenever I try to send a transaction with fcl-dev-wallet in a local environment. Apparently, the transaction is not sent to the emulator.
I am not sure whether the error is on the JS SDK or on fcl-dev-wallet.
Current Behavior
In the application:
TypeError: undefined is not an object (evaluating 'e.sequenceNumber') (anonymous function) — resolve.js:45 promiseReactionJob
In the emulator:
The transaction never arrives.
Steps to Reproduce

Start emulator, start fcl-dev-wallet and start harness
Create account to sign the transaction
Log in the application
Send transaction

Context (Environment)
I've been using cli version 0.20.2.
I can send transactions to the emulator through the CLI. I can send scripts to the emulator through the JS SDK.

As I was trying to sign the transaction with an account different from the emulator-account, I changed FLOW_ACCOUNT_KEY_ID=1 in .env.local. My rational was that emulator-account had ID=0 and a second account must be 1. However, that is not true.
Returning FLOW_ACCOUNT_KEY_ID=0 solved the problem.


Request blocked if ChangeKey parameter with Exchange 2010 SP3

Hi,
I have an issue with FindFolder and GetItem methods, while using impersonation :
if I send the ChangeKey parameter, the request is blocked and I have no response or error, but if I comment ChangeKey parameter it works.
Any idea about this problem ?
Thanks,
Adrien

I found the problem.
Actually it's a problem with encoding, when I try from an OS X Client, it doesn't work and I have encoding issues, if I try from linux server client, it works well and no encoding issues.


[Feature] Support tracing core web metrics in ClientJS

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Add  new metrics, including Largest Contentful Paint(LCP), First Input Delay(FID), Cumulative Layout Shift(CLS)
Use case
No response
Related issues
No response
Are you willing to submit a pull request to implement this on your own?

[X] Yes I am willing to submit a pull request on my own!

Code of Conduct

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

Could you update here about which metrics are added though which APIs? We need backend change to adopt this.

I added clsTime, fidTime and lcpTime metrics and used /browser/perfData to report in client js.  Batch processing metrics to avoid missing reported data, as different metrics need to be monitored and calculated at different stages.

Added isPV  to the query(/browser/perfData) for identifying page view. https://github.com/apache/skywalking-client-js/pull/140

Here is the api protocol

Could you update the API protocol doc? That doc should be aligned with this agent.

For ease of distinction, we will add two new URLs(/browser/perfData/webVitals  and  /browser/perfData/webInteraction) to report performance data on web vitals and web interaction.

Could you update the PR for the APIs docs?

Could you update the PR for the APIs docs?

Sure. Will do it later.


Ensure compatibility with Bokeh 0.10

Bokeh 0.10 has been released! The only thing left is to ensure that we are compatible with it.

One unfortunate thing about this PR is  that at least with Bokeh 0.10 it gives the following error, even though it  does not crash and plots fine:
ERROR:/home/rizar/.local/lib/python2.7/site-packages/bokeh/validation/check.pyc:W-1001 (NO_GLYPH_RENDERERS): Plot has no glyph renderers: Figure, ViewModel:Plot, ref _id: c22a9321-7ee2-4945-be76-7aca351861a0

@dwf , any ideas?

I just realized that the Plot extension is not even in Blocks-extras. I am going to fix that before moving forward with this PR.

@dmitriy-serdyuk , @dwf , this is ready for review!

LGTM. Do you still have that error?

I still have this error, but now I understand why.
We have two types of monitoring in MNIST demo. DataStreamMonitoring is run before the first epoch. TrainingDataMonitoring, obviously, isn't, because that makes no sense. However, Plot is called before the first epoch. So it has nothing to plot in some of channels.
I do not know how to fix this, because in general it makes a lot of sense to display validation cost before the first epoch.

But I don't like the idea of holding this PR for this reason, because people have not been able to use Bokeh for a few months.


chore: Update README

This commit updates the README to include the findings in https://github.com/corazawaf/coraza-caddy/issues/137, because it is useful to have this information directly in the README rather than having to search for it.

LGTM. The next obvious step will be (in a followup PR) to add this example as part of the github action build process, so we can test everything works properly 😄

Great.
Do you mean adding it to e2e tests?

🤔 It was more about checking that the example files are sane and won't break anything if used.
I was thinking on a simple GHA that starts a caddy server with the example files and we test the response using curl or similar to see if it contains the host, etc. But if that is about e2e, then could be.

Note: tests are failing because of https://github.com/corazawaf/coraza-caddy/pull/165, this branch needs to be rebased once that PR is merged


Create a demo LRW

A demo LRW that generates data from live tools so Cetis can see what the tools are creating and update documentation etc

I'm just bumping this for @michaelwebbjisc  (and perhaps @leebaylis ?)
I think the idea at the last call was to set up a LRW that uses fake data that is generated by the Jisc tools. The idea being that Cetis can go in and check what the tools are doing and update the repository with examples, without touching mission critical systems etc.