nixos/lighttpd: support new authentication modules

Motivation for this change
Adds support for new authentication methods that were recently added to lighttpd (supercedes https://github.com/NixOS/nixpkgs/pull/133427)
The first commit adds build options for the new authentication methods to the lighttpd packages, all disabled by default. The second commit adds the new authentication methods to the list of known methods, as well as a new services.lighttpd.package option. This new option is necessary to be able to pass in a build that supports the added authentication methods.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

FYI: I just happened across this PR.  If you have any lighttpd questions or have suggestions how lighttpd might be improved for nixos, please tag me (lighttpd developer) or post on the https://wiki.lighttpd.net forum.  Cheers.

Is there anything else that needs to be done for this one? If the change is significant enough to warrant an entry into the release notes, that's still todo, but I'm not sure if that's the case.

Thanks!


actually works

i noticed you were missing implementations of stuff for foldable, which is when i discovered that this didn't even work. for instance, 'isJust', 'isNothing', and 'maybe' didn't work, and i think some other stuff didn't either. now it does

don't know how to make the monadfix instance work yet

all checks have failed for GHC 7.10.3 - travis is crying...

the monadfix instance can just be written by unsafeCoerceing the value after a recursion as it will always be a just. Alternatively use the pattern synonym to extract the value out of the just.
The travis failures are because this version still doesn't solve the nested maybes problem. Im just gonna merge.


Why I failed after followed all the steps with none gived a error.

Nothing happen. After just one moment, the script ended. And no result file in the directory. I downloaded the .fa files and extracted them to the input folder. And install the environment all followed it. What is most likely the cause？


feat: plugins as OCI artifacts

Description
What this PR does / why we need it:
Adds the ability for Ratify to download plugins from OCI artifacts as they are registered, per https://github.com/deislabs/ratify/issues/499
2023-01-10 community call demo: https://youtu.be/xRo8U-ag0y0?t=3047
This eliminates the need for users to build their own Ratify image, hack the Helm chart output, etc. It's an opt-in change that doesn't break how Ratify works today, but only enhances the experience if the RATIFY_DYNAMIC_PLUGINS=1 feature flag is enabled, and source is specified in the config
Here's a high level overview of the experience:
1. Making a plugin available
We start by uploading a plugin to a registry as an OCI artifact.
This could be done by

an org's platform team

build it yourself
download from a url and upload into a trusted registry

direct pull from a vendor's trusted registry

ex: I create a useful plugin, push it to noelregistry.azurecr.io/usefulplugin:v1, and you refer to that directly
this is possible but seems less likely?

Here's an example using the sample verifier in the repo
cd plugins/verifier/sample
CGO_ENABLED=0 go build .
oras push noelfdpo.azurecr.io/sample-plugin:v1 ./sample

If there are "off the shelf" plugins already built by community partners, this might look something like
curl -L https://github.com/deislabs/ratify/releases/download/v1.0.0-beta.2/ratify_verifier_sbom_plugin -o ./sbom
oras push noelfdpo.azurecr.io/sbom:v1.0.0-beta.2 ./sbom

2. Using a plugin
A new source property has been added for verifier and referrerstore config. If specified, Ratify will

resolve/download the artifact
mark it executable
continue with registration & execution of the binary plugin as it does today

The plugin download process uses the same authProvider(s) that the oras built-in store uses
This works with both flavors of config - JSON and CRD. Below are examples of both
config.json

using an unspecified authProvider - defaults to dockerConfig like the ORAS plugin
pulling from Docker Hub

{
  "name": "sample",
  "artifactTypes": "application/spdx+json",
  "source": {
    "artifact": "index.docker.io/acanthamoeba/sample-plugin:v1"
  }
}

CRD

pulling from Azure Container Registry
specifying workload identity as the auth provider to talk to the registry

apiVersion: config.ratify.deislabs.io/v1alpha1
kind: Verifier
metadata:
  name: verifier-sample
spec:
  name: sample
  artifactTypes: application/spdx+json
  source:
    artifact: noelfdpo.azurecr.io/sample-plugin:v1
    authProvider:
      name: azureWorkloadIdentity

Other info
Ratify emits info/debug logs when downloading plugins, ex:
time="2022-12-21T18:39:11Z" level=info msg="Downloading plugin sample from noelfdpo.azurecr.io/sample-plugin:v1"
time="2022-12-21T18:39:11Z" level=info msg="selected default auth provider: dockerConfig"
time="2022-12-21T18:39:12Z" level=debug msg="Resolved plugin manifest: {application/vnd.oci.artifact.manifest.v1+json sha256:f2c54ba629c4da68327efa4085e7e322964c6533f7c9bcfd8d69202950e20d7f 413 [] map[] [] <nil> }"
time="2022-12-21T18:39:12Z" level=debug msg="Downloading blob noelfdpo.azurecr.io/sample-plugin:v1@sha256:814191e0d58143ebbcad493d437d1d3cabdac4a0706cb6dff8efa98afd2e31b4"
time="2022-12-21T18:39:12Z" level=info msg="Downloading plugin sample to /.ratify/plugins/sample"
time="2022-12-21T18:39:13Z" level=debug msg="Marking plugin /.ratify/plugins/sample as executable"
time="2022-12-21T18:39:13Z" level=info msg="downloaded verifier plugin sample from noelfdpo.azurecr.io/sample-plugin:v1 to /.ratify/plugins"
time="2022-12-21T18:39:13Z" level=info msg="verifier 'sample' added to verifier map"

Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[x] e2e cli tests
[x] e2e tests

note: :helm upgrade to set featureFlags.RATIFY_DYNAMIC_PLUGINS=true fails in CI, so one of the test cases is currently skipped

Checklist:

[x] Does the affected code have corresponding tests?
[x] Are the changes documented, not just with inline documentation, but also with conceptual documentation such as an overview of a new feature, or task-based documentation like a tutorial? Consider if this change should be announced on your project blog.
[ ] Does this introduce breaking changes that would require an announcement or bumping the major version?

No, this is an opt-in feature behind a disabled-by-default feature flag

[x] Do all new files have appropriate license header?

@susanshi This is now updated to use the the wabbitnetworks.azurecr.io sample plugins, merged with latest, with all tests passing
Please let me know if there's anything else on my side. Thanks!

@susanshi This is now updated to use the the wabbitnetworks.azurecr.io sample plugins, merged with latest, with all tests passing
Please let me know if there's anything else on my side. Thanks!

we have finished merging all RC required PRs,  this PR is good to go with a rebase,
Please rebase , we will hold off any changes into the main branch to avoid this being out of date again. thanks @noelbundick-msft .


How to make login page use firebase for windows in unity

How to make login page use firebase for windows in unity

Hi @Ahmedalmohr1212,
I see that you would like to create a login page that makes use of Firebase for a Windows build. To do this, you will need to utilize Firebase Authentication as it provides backend services to authenticate users to your app whether via passwords, phone numbers, or identity providers such as Google, Facebook and Twitter.
You may check out the documentation I provided for more information. To see a working implementation, you can use our quickstart project as reference.


Evaluate depth search approach

Start on low zoom level(z0), run queries with timestamp constraint (where timestamp ><PHONE_NUMBER>), if nothing comes back => do the same process for a higher zoom level(z1), until something comes back => now we now that this tile needs to be rerendered
Find the highest possible zoom level where something has changed

Given we want to evaluate dirty tiles for zoom level 4 we start at zoom level 1.

We take the query of the source project and replace the zoom level with 4 and the bounding box of one zoom level 1 tile
If something is dirty in zoom level 1 we do the queries for zoom level 4 again but with the bounding box of zoom level 2 tile
Go down deeper with query for zoom level 4 and bbox of level 3 tile.
Now we are at the targeted tile zoom level and have the actual tiles that are dirty.

A code for generating list of relevant tiles by traversing mercator tile quadtree directly with SQL from: http://javisantana.com/2014/10/22/traversing-quadtree.html
    WITH RECURSIVE t(x, y, z, e) AS (
      -- root node (0, 0, 0)
        SELECT 0, 0, 0, exists(select 1 from ships where the_geom_webmercator && CDB_XYZ_Extent(0, 0, 0))
      UNION ALL
        -- coordinate for the children
        SELECT x*2 + xx, y*2 + yy, z+1,
               exists(select 1 from ships where the_geom_webmercator && CDB_XYZ_Extent(x*2 + xx, y*2 + yy, z+1)) from t,
               -- iterate over 4 children
               (VALUES (0, 0), (0, 1), (1, 1), (1, 0)) as c(xx, yy)
               -- only for tiles with geometry and up to zoom level 8
               where e AND z < 8
    )
    SELECT z, x, y FROM t where e

we can use TileBBox() from https://github.com/mapbox/postgis-vt-util instead of CDB_XYZ_Extent().

The approach from #129 is superior IMHO and we should no longer pursue the approach from #123.
With this approach I mean detecting changes by executing the queries from the tm2source file and probing whether something changed.


react-maskedinput updated to 4.0.0

Now that react-maskedinput has been updated (and finally removed createClass), will we see an update to react-bootstrap-maskedinput soon? I'm hoping the new version fixed the Android related problems also! 💯

Thanks for letting me know the new release is out. I'll have to test for any new compatibility problems and then I can relax the version and cut a new release.


Use webpack chunkhash to enable long-term caching

Fixes #372
Use chunkhash in the output filenames to enable long-term caching.
Note: This was originally #594 but was closed. I updated it and am re-opening. @arunoda you mentioned that caching already exists via https://github.com/kadirahq/react-storybook/pull/578, however given that this project is already using webpack I'd think it's better to use the built-in webpack caching feature vs the "old way" of appending a random cachebuster.
This PR also fixes a bug with some assets were not being included in the iframe.html. My compiled CSS was never being output, I think it may have something to do with the fact that I'm using the ExtractTextPlugin which automatically hashes my CSS file using chunkhash. After this PR, my preview.css is output into the iframe.html.
NOTE: This bugfix wouldn't be possible with the cachekey method since you need to parse webpack's output to get the hashed filename.

Thanks. This makes sense.
I also had to apply these changes for server/middleware.js as well.


Unable to identify Starbuck text in language detection

console.log(detectAll('Starbucks')) or detect('Starbucks')
This is returning an empty array. Can you please resolve this issue.

Indeed, result of the verbose mode
tinyld  --verbose starbuck

Analize chunks [ 'starbuck' ]
[Pass 2] DetectPotentialGrams starbuck [
  's',     't',     'a',     'r',     'b',
  'u',     'c',     'k',     ' s',    'st',
  'ta',    'ar',    'rb',    'bu',    'uc',
  'ck',    'k ',    ' st',   'sta',   'tar',
  'arb',   'rbu',   'buc',   'uck',   'ck ',
  ' sta',  'star',  'tarb',  'arbu',  'rbuc',
  'buck',  'uck ',  ' star', 'starb', 'tarbu',
  'arbuc', 'rbuck', 'buck '
]
Result starbuck [
  { lang: 'af', accuracy: 0, score: 0 },
  { lang: 'am', accuracy: 0, score: 0 },
  { lang: 'ber', accuracy: 0, score: 0 },
  { lang: 'rn', accuracy: 0, score: 0 },
  { lang: 'ja', accuracy: 0, score: 0 },
  { lang: 'zh', accuracy: 0, score: 0 },
  { lang: 'ko', accuracy: 0, score: 0 },
  { lang: 'my', accuracy: 0, score: 0 }
]
Merge Results []

There is no bug here. It's just a really short text with nothing specific to any language, so the library doesn't guess and just answer "I don't know".
It gives the same for lot of brand name like mcdonald, microsoft, nike.
And when it detect something it's often only a single gram and is quite inaccurate

apple -> sv
auchan -> de

It's a kind of word usually detected based on the context and other words around:

this is a starbuck -> en
let's go to starbuck -> en
allons au starbuck -> fr
starbucksに行こう -> ja

Not much to do here except having more language grams and a bigger database, but even with that, with so few characters and generic grams the result will always be kind of inaccurate.

Just for testing, I made and benchmark a version with a bigger text database (2.5MB).
So something really for server side usage, with a bigger memory footprint.
It slightly increase the overall accuracy ~99.3% (+0.9%) and increase the accuracy with a small number of character.
The 95% accuracy pass from 24 to 16 characters

But even with that brute force method, it doesn't change anything for those single word detection.
It's just order of magnitude of what this kind of approach can do.
> ./bin/tinyld-large.js starbuck
[
  { lang: 'lv', accuracy: 0.125 },
  { lang: 'lt', accuracy: 0.0921 },
  { lang: 'en', accuracy: 0.039474999999999996 },
  { lang: 'de', accuracy: 0.0329 }
]

> ./bin/tinyld-large.js mcdonalds
[ { lang: 'is', accuracy: 1 } ]

$ ./bin/tinyld-large.js apple
[
  { lang: 'sv', accuracy: 0.2 },
  { lang: 'no', accuracy: 0.13334000000000001 },
  { lang: 'en', accuracy: 0.07778 }
]

@kefniark I have tried with other text as wel but this is not working as expected.
Platos Desayuno return should be es but the return is tr. I am using this package to detect the food name and this is failing for multiple cases. Any help what kind of string should be avoided to detect.

This library rely on statistic analysis, which works well but require a certain amount of characters to build up some statistics and recognize some patterns. And tbh, that's the case of 90% of language detection library.
Based on your list and the fact that most of your names are under 16 characters, don't waste your time it's not the kind of algorithm you are looking for. Maybe AI can do slightly better but I still expect a high error rate as they are trained to detect documents most of the time.
The simpler and more accurate if you are using it for something specific like "food names" is probably to build some dictionary matching

Because I got another issue (#19) about the same topic "Detection of short texts", I decided to create a FAQ
Here is the answer, a summary of what was already discussed in this issue


Improve Spring unit tests generation for classes with non-injected fields

Description
Currently we use the following approach in unit tests generation.
The code
class A(
  B b
  C c

  methodUnderTest()
}

is converted to
class TestClass {
  @InjectMocks A a
  @Mock B b
  @Mock C c
}

and a mapping from type to the list of models is used
B -> m11, m12, ...
C -> m21, m22, ...
There are some possible problems in this approach:

What if the constructor contains some non-injectible field?

class A(List<int> ints)

What if the constructor contains two fields of same non-injectible type?

class A(List<int> ints1, List<int> ints2)

Is it possible to create some util class (may be nested or inner), that does not use Spring and has the following constructor

class Utils(B b1, B b2)

Is it a used practice to pass to constructor some non-injectible type with injectible ones? What should we do?

class A(B b, List<int> ints)

I think, it's worth noting that since we are talking about unit tests, here so called injected fields are equivalent to mocked fields.
I think unit test code generation should be tested on classes with the following constructors:
public ClassUnderTest(Random random, int someNumber) { ... }

public ClassUnderTest(Random random1, Random random2) { ... }

Here, I used Random as type that should get mocked and int as type that shouldn't get mocked.


FIX: Add arm64 builds

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Should add arm64 support. Not 100% sure if I need to bump the build number but seems safer to do so.

@conda-forge-admin, please rerender

Shouldn't the build be defined in the recipe somehow? It seems strange to modify something outside of what could be submitted to staged-recipes for inclusion.

AFAIK it's independent. Maybe it's possible to have it be part of the staged recipes, not sure...

FYI pushed a commit to try aarch64 and ppc64le, if they work with no effort then why not have them. But if it doesn't work trivially then I'll remove them and we can push support in antio directly first


Q&A Plugin on Redmine 2.4.2

Dear All,
I am installing the plugin Q&A, however, i am getting error messages.
I browse to the command prompt path to run bundle install:
C:\BitNami\redmine-2.4.2-0\apps\redmine\htdocs\plugins\redmine_questions
the following error messages:
C:\BitNami\redmine-2.4.2-0\apps\redmine\htdocs\plugins\redmine_questions>bundle
install
Rubygems 1.8.24 is not threadsafe, so your gems will be installed one at a time.
Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.
Using rake <IP_ADDRESS>
Using redmine_crm 0.0.4
Using bundler 1.11.2
Bundle complete! 2 Gemfile dependencies, 3 gems now installed.
Gems in the groups development and test were not installed.
Use bundle show [gemname] to see where a bundled gem is installed.
C:\BitNami\redmine-2.4.2-0\apps\redmine\htdocs\plugins\redmine_questions>
and when i ran:
bundle exec rake redmine:plugins NAME=redmine_questions RAILS_ENV=production
the following error message appear:

Kindly help.

What's the output of bundle env?

Hi segiddins,
Many thanks for assisting me on this issue.
I trust i can rely on your expertise to solve this problem.
I am trying hard to resolve but am failing.
Please find attached output as you requested.

OK, so I'm actually having trouble seeing where the bundler issue is?

any other suggestion please?

Hi segiddins,
The Q&A plugin is offered on Redmine CRM.
Would it install on free version of redmine 2.4.2?


OCI Object Storage Repository

Hey folks,
Currently the existing blob store repositories do not support OCI object storage.
Therefore we have developed an OCI native plugin for object storage that is convenient to use on the OCI platform.
For example you can configure the below repository and take advantage of instance principal authentication without the need to push credentials explicitly into a secret store. Can also force bucket creation if the bucket is missing.
curl -XPUT "https://localhost:9200/_snapshot/oci_repository" -H 'Content-Type: application/json' -d"
{
  \"type\": \"oci\",
  \"settings\": {
    \"client\": \"default\",
    \"endpoint\": \"https://objectstorage.${OCI_REGION}.oraclecloud.com\",
    \"bucket\": \"${OCI_BUCKET}\",
    \"namespace\": \"${NAMESPACE}\",
    \"bucket_compartment_id\": \"${OCI_BUCKET_COMPARTMENT}\",
    \"useInstancePrincipal\": true,
    \"forceBucketCreation\" : true
  }
}
" -u <user>:<password> --insecure

We actually already have the plugin ready as a standalone plugin and would like to contribute it, the question though is whether we should create a new repository for it like we do with other plugins.
There is also a preference from our side to contribute initially in a separate repo since we run into some difficulties to incorporate directly as part of the OpenSearch repo. So perhaps we can start with that and later consolidate with OpenSearch repo or any other that the community finds appropriate?
Thanks in advance,
Sam.

How great! A standalone repo does make intuitive sense as the way to start, and I see no reason the user experience couldn't match that for the other object-store plugins (azure, s3, etc.) @CEHENKLE @anirudha @dblock and @bbarani can you connect with @samuel-oci and get an RFC together for community input?

I'm excited about this!
@jcgraybill regarding the user experience: the one difference would be that having it external would mean that -min distributions would exclude this plugin yet the other object-store plugins would be in -min distributions.

Also how would you prefer to go about the RFC? start a new issue or edit this one? or just add the full RFC in the comments?

I don't think we standardized on a format, but start with something like https://github.com/opensearch-project/OpenSearch/issues/1694

Thanks @dblock I updated this original post to match the RFC format, if you would rather have it moved to another issue feel free to do so. In any case would love to hear your feedback.

Let's post to the forums to get some eyes on it, and also could we bring this up at a community meeting?

@samuel-oci If you want to talk about this at a community meeting, pick out a date that works for you here:
https://opensearch.org/events/
Then add it as a comment in the agenda (anyone can comment) - we'll approve it and mark it in the agenda.

Hey @stockholmux @jcgraybill I added this as an agenda item in the next meeting:
https://hackmd.io/@HmdZWaVnQU6M8icdvC5TwQ/ByKuRz8hK

Hey @anirudha @stockholmux @jcgraybill @dblock just trying to bring this back on your radar. Any thoughts on how you would like to proceed on this one?

@samuel-oci This is what I would do:

Publish code in a new repo anywhere to GitHub with an APLv2 license. Is it somewhere already?
Open an issue  in that repo similar to https://github.com/opensearch-project/opensearch-plugin-template-java/issues/4 to move the repo to the opensearch-project organization if that's your preferred next step. We will have something actionable and can discuss it.
If we decide (2) doesn't make sense, you'll always have the option to PR the change on top/next to azure and other plugins, just because that's an existing pattern.

WDYT?

@samuel-oci Hi -- Yup, I created the repo yesterday :)  I'm working to close out the last step to add you as a maintainer, which I hope to close out today (slightly tangled in tooling over here).  If you open a PR, hopefully you'll be able to merge it yourself tonight.
Thanks,

Hey @dblock , I see the repository was created with default template. Thank you for that! I think what I can do next is to submit a PR with what we currently have for the plugin as the initial commit.

@CEHENKLE did all the work here!

For reference here is the PR
https://github.com/opensearch-project/opensearch-oci-object-storage/pull/1

I'll close this issue here, everyone can go contribute to https://github.com/opensearch-project/opensearch-oci-object-storage. Run with it @samuel-oci, all yours.


Ability to disable make monitor 0x4xxx xxxx address decoding

I'm a big fan of ESP-IDF "make monitor".  I also appreciate the decode of executable addresses to source statements when an address in the range 0x4xxx xxxx is detected.  This issue/request asks that we have an option to disable this decoding at execution time.  For example:
export MONITOR_DECODE=0
make monitor

... or some other definition.  In the work I am doing, I am actively debugging MMU and ESP32 address processing and in my "make monitor" output, I am seeing decoded addresses everywhere when I actually don't want to see any (at this time).

Its a really cool option but would be nice to see something where we can ignore the false positive results during normal messages whenever printing any other standard hex value.  I haven't looked, but for example maybe all actual LOG messages can be modified to be prefixed with 0x whereas the stack dump isn't (or vice-versa).

Quick and dirty comment https://github.com/espressif/esp-idf/blob/master/tools/idf_monitor.py#L425


Can not load some JPGs with using "kf.setImage(with:"

Check List
Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.

[x] I have read the wiki page and cheat sheet, but there is no information I need.
[x] I have searched in existing issues, but did not find a same one.
[x] I want to reoprt a problem instead of asking a question. It'd better to use kingfisher tag in Stack Overflow to ask a question.

Issue Description
What
[Tell us about the issue]
Reproduce
[The steps to reproduce this issue. What is the url you were trying to load, where did you put your code, etc.]
Other Comment
[Add anything else here]

We could do nothing on this unless more detail could be provided.


No access to the similarity_search_by_vector function

There's no way to call for a near_vector search function (similarity_search_by_vector_function). One of the earlier versions had a "by_text" boolean that was used to switch to a vector search. If that is put back in then you can access it again.
        if self._by_text:             return self._perform_search(query, k, **kwargs)         else:             if self._embedding is None:                 raise ValueError(                     "_embedding cannot be None for similarity_search when "                     "_by_text=False"                 )             embedding = self._embedding.embed_query(query)             return self.similarity_search_by_vector(embedding, k, **kwargs)
Not the best solution in my opinion, but it is working

You can, by passing a keyword argument to the search method. It's not as straightforward as it used to be, because now it relies on a hidden keyword argument called search_method
So, if you call
weaviate_vstore.similarity_search(..., search_method = "near_vector")

It will call the near_vector in the _perform_search method. If you open the _perform_search method in the source code, you'll find this
if search_method == "hybrid":
    embedding = self._embedding.embed_query(query)
    result = collection.query.hybrid(
        query=query, vector=embedding, limit=k, **kwargs
    )
elif search_method == "near_vector":
    result = collection.query.near_vector(limit=k, **kwargs)

There's another problem though, in this block specifically
elif search_method == "near_vector":
  result = collection.query.near_vector(limit=k, **kwargs)

The embedding of the query isn't being passed. I've raised an issue and made a PR for that.

#132
#133

Ok - I had tried to use the search_method but like you said it didn't pass the vector - I like your solution much better.

@xindexer in this new integration, calling similarity_search is the way to do any search. This method calls weaviate's hybrid search under the hood. So, if you want to do vector search only, then either of the following will work:
weaviate_vector_store._perform_search(query="hello", k=5)

weaviate_vector_store._perform_search(query=None, vector=[1, 2, 3], k=5)

@hsm207
I think the first example will do hybrid search as well. Maybe you forgot the set the alpha keyword argument?

@xindexer
In case you don't know, hybrid search is a hybrid of 2 things:

text search (using an algorithm called BM25, or Best Match 25),
and vector search.

The hybrid search favors one search outcome over the other via a parameter called alpha. So, if alpha is 0.3, then the vector search will have a weight of 0.3, while the text search will have a weight of 0.7.
You can even control the weight on the level of the property. See here in the weaviate Docs
That's why, you'll find in @hsm207 answer, he provides the alpha = 1 in the first example.


Dump module to llvm ir

Is there a way to dump the Module to llvm ir into a .s file which can be later built to standalone executable by clang ?
where I am:

dump an output from python following toturial

model_name = 'resnet18'
model = getattr(torchvision.models, model_name)(pretrained=True)
model = model.eval()

scripted_model = torch.jit.trace(model, input_data).eval()
mod, params = relay.frontend.from_pytorch(scripted_model,shape_list)

with relay.build_config(opt_level=3):
    graph, lib, params = relay.build(mod,target='llvm',target_host='llvm',params=params)

with open('/home/chao/tvm-playground/tvm-project/a.s','w') as f:
    f.write(lib.get_source())

assembling and linking with llvm backend

llvm-as -o a.bc a.s
llc -o a.o a.bc
as a.o -o a.as
cp ~/tvm/build/libtvm*.so ./
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD
ld -L "./libtvm.so" "./libtvm_runtime.so" "./libtvm_topi.so" -o a.out a.as

result

chao@DESKTOP-B79IRTG:~/tvm-playground/tvm-project$ ld -L "./libtvm.so" "./libtvm_runtime.so" "./libtvm_topi.so" -o a.out a.as
ld: a.as: undefined reference to symbol 'memset@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libc.so.6: error adding symbols: DSO missing from command line

Move discussion to https://discuss.tvm.ai/t/dump-module-to-llvm-ir/6966/8


Bumping up package version

Bumping up the corresponding package version

Coverage remained the same at 89.403% when pulling 9536fec3716cbbd13a1aa9ea7df52906ee2e7370 on dev/harrisr/open_zest_pin into 5f3be14f570042364c0d7642ba9148e2da0bb7e7 on master.

@h2rashee Please always have someone review your code before merge.

Ah my mistake. Stamping mechanism wasn't clear.


Loading Apex Tests...

I keep getting "Loading Apex Tests..." when clicking on the beaker icon section. I have installed all the required extensions to run your extension.
When I click on the "Loading Apex Tests..." the following is show in the status bar:
Cannot read properties of null (reading 'range')

Hi @dawaddell are you still experiencing this issue? I'm about to release a new version and wanted to see if I can address reported issues. Thanks


Please upgrade the vue2-leaflet

Vue2-Leaflet has upgraded to v1.0.1 with some breaking changes. Cluster seems does not work after I've upgraded.
Thanks in advance.

Duplicate, as this is a work in progress under ticket number #10 .
That tickets seems to be about 1.0.1, so it is a misnomer as it has 1.0.0 in title?

Closing in favor of https://github.com/jperelli/vue2-leaflet-markercluster/pull/10


[PaddlePaddle] Fix editable build for paddle

Description
Build fix for installing TE's paddle framework extension using pip install -e ..
Type of change

[ ] Documentation change (change only to the documentation, either a fix or a new content)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Changes
Fix local search path for lib_transformerengine.so for editable (in-place) TE paddle build.
Checklist:

[x] I have read and followed the contributing guidelines
[x] The functionality is complete
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

/te-ci paddle


Only test Julia v1

fixes #3
I believe you just need to test the latest stable version for this package. You'll get a nice green check if these test pass and won't have to worry about the new breaking feature planned for Julia.

thanks, Benoit. I was holding out hope that the nightly would someday be fixed upstream.
I still have an issue with documentation (Issue #7 ) so we don't get the full green check.


:honeybee: prefer turbo models for chartgpt

Use model aliases instead of model names, and strongly encourage using GPT-4 Turbo rather than GPT-4 since it's 3x cheaper at the same level of quality.

/cc @veronikasamborska1994 @lucasrodes


Upgrade Examples dependencies, update to react,react-dom 0.14

Thanks, but there are already PRs for this.
I will update all examples to 0.14 this week, don't worry!

Closing for now as per https://github.com/rackt/redux/issues/885.

Superseded by https://github.com/rackt/redux/pull/901.

I'd appreciate some help as described in https://github.com/rackt/redux/pull/901#issuecomment-148439804. Thanks!


⚠ Bofrost.fr has degraded performance

In 93b22eb, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1214 ms

Resolved: Bofrost.fr performance has improved in 09fabeb after 6 minutes.


documentation: Clean up typos on graphs page.

Just the basics, noticed a few typos and cleaned them up.

@sleepycat thanks a lot for you improvements. We are using a Apache 2 CLA for ArangoDB, which can be found here: https://www.arangodb.com/documents/cla.pdf
We have not been able to set of an electronic system yet. Can you sign, scan and email it to cla (at) arangodb.com?
Thanks a lot
Frank

thanks for spotting this - messed it up in my head with the uniq shell command ;-)


Update Improvements to Math Interactions Project Description in Google-Summer-of-Code-2023 wiki page

These are the latest changes to the Improvements to Math Interactions Project Description.

@SanjaySajuJacob Merging -- please work with the GSoC admins to make sure there's an announcement to contributors about this change, though. Thanks!


Support list for the slot_was_set action

Proposed changes:

Support list for the slot_was_set action in 2.0 Stories

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

Closing in favor of #6701


WIP: Add DIBuilder functions for OOP style

This change adds a few of the DIBuilder functions.  First PR here so comments welcome.  WIP as not finished but have a question.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: yowl sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Remove unrelated RiscV code from ZK WASM codebase

### Tasks
- [x] `has_zvl*` [extensions](https://github.com/near/wasmtime/blob/056ccdec94f89d00325970d1239429a1b39ec729/cranelift/codegen/src/isa/riscv64/abi.rs#L49C19-L49C32)
- [ ] vector registers
- [ ] floating point registers
- [ ] RelocDistance::Far

We still have references to Float and Vector registers in the code - I suggest we get rid of them.
We still have reference to RelocDistance::Far, which is not necessary - I suggest we remove it.

Relocations in general are not going to be necessary in zkasm, we can remove that entire infrastructure entirely.

We still have references to Float and Vector registers in the code - I suggest we get rid of them.

Do we? I thought I removed it all in #48?


Update index.md

Edited "Display Health Data from Server"
and
Added "Setup Health server "  -  #9

@ryzbaka ,please review my pull request.

@nk183 , great work! I'll merge the pull request.


simplify vmState::Apply

Motivation
Pass types.LayerID instead of vm.ApplyContext, a wrapper around a layer.
Description
The vm.ApplyContext struct seems to have held more than just a LayerID. Using it instead of types.LayerID makes the interface more complicated than it needs to be and leaks out the vm pkg where it shouldn't be imported.
This change will also be useful for the PoC Athena VM integration, in which there will be 2 VMs implementing the vmState interface.
Test Plan
existing tests pass
TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[ ] Update documentation as needed
[ ] Update changelog as needed

bors merge


Posting bundles are not returning warnings in the OperationOutcome

I have a bundle with 3 claim entries which each entry generates warnings if posted to FHIR individually, none of the warnings are returned in the OperationOutcome when I post them in the bundle.  This happens on both transaction and batch types.
The only time I get the warnings back for an entry is if the entry also had an error.
In my test, none of my claims have the narrative set which should generate a warning message.  When I set one of the claims to have an error, like setting the code but not the code system in claim.item.quantity, I get the error and warning for that entry.
I expected to get all the warnings in the OperationOutcome for all entries when I specify the Prefer header to return=OperationOutcome.
Here is my sample:
{
"resourceType": "Bundle",
"id": "bundle-transaction",
"type": "batch",
"entry": [ {
"resource": {
"resourceType": "Claim",
"id": "0010",
"meta": {
"versionId": "1",
"lastUpdated": "2020-03-24T19:42:52.014+00:00",
"source": "#anRjJex8JdtnGhIV",
"tag": [ {
"system": "https://smarthealthit.org/tags",
"code": "Covid19 synthetic population from Synthea"
} ]
},
"status": "active",
"type": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/claim-type",
"code": "institutional"
} ]
},
"use": "claim",
"patient": {
"reference": "Patient/0001",
"display": "Deon400 Lebsack687"
},
"billablePeriod": {
"start": "2014-11-05T05:00:20-06:00",
"end": "2014-11-05T05:15:20-06:00"
},
"created": "2014-11-05T05:15:20-06:00",
"provider": {
"reference": "Organization/7a208ea5-66f6-392a-8472-059d61de2410",
"display": "MIDWEST ANESTHESIA PARTNERS LLC"
},
"priority": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/processpriority",
"code": "normal"
} ]
},
"facility": {
"reference": "Location/21bd6648-ed47-44ec-98a3-da7b6d47eab7",
"display": "MIDWEST ANESTHESIA PARTNERS LLC"
},
"supportingInfo": [ {
"sequence": 1,
"category": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory",
"code": "info"
} ]
},
"valueReference": {
"reference": "Immunization/e810c578-db45-448a-b30c-852c8597a5b4"
}
} ],
"insurance": [ {
"sequence": 1,
"focal": true,
"coverage": {
"display": "UnitedHealthcare"
}
} ],
"item": [ {
"sequence": 1,
"productOrService": {
"coding": [ {
"system": "http://snomed.info/sct",
"code": "162673000",
"display": "General examination of patient (procedure)"
} ],
"text": "General examination of patient (procedure)"
},
"encounter": [ {
"reference": "Encounter/e5762d2a-03ce-4e2d-908a-1c58bd9776c9"
} ]
}, {
"sequence": 2,
"informationSequence": [ 1 ],
"productOrService": {
"coding": [ {
"system": "http://hl7.org/fhir/sid/cvx",
"code": "140",
"display": "Influenza, seasonal, injectable, preservative free"
} ],
"text": "Influenza, seasonal, injectable, preservative free"
},
"net": {
"value": 123.88,
"currency": "USD"
}
} ],
"total": {
"value": 113.86,
"currency": "USD"
}
},
"request": {
"method": "PUT",
"url": "Claim/0010"
}
}, {
"resource": {
"resourceType": "Claim",
"id": "0011",
"meta": {
"versionId": "1",
"lastUpdated": "2020-03-24T19:42:52.014+00:00",
"source": "#anRjJex8JdtnGhIV",
"tag": [ {
"system": "https://smarthealthit.org/tags",
"code": "Covid19 synthetic population from Synthea"
} ]
},
"status": "active",
"type": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/claim-type",
"code": "pharmacy"
} ]
},
"use": "claim",
"patient": {
"reference": "Patient/0001"
},
"billablePeriod": {
"start": "2020-03-12T06:00:20-05:00",
"end": "2020-03-12T07:20:20-05:00"
},
"created": "2020-03-12T07:20:20-05:00",
"provider": {
"reference": "Organization/5e3b4e0b-ba90-321f-aa5e-0c7b3d13d7ad",
"display": "RUSH OAK PARK HOSPITAL"
},
"priority": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/processpriority",
"code": "normal"
} ]
},
"prescription": {
"reference": "MedicationRequest/cf6db5e8-6b9b-4e8c-a594-0713f29020cc"
},
"insurance": [ {
"sequence": 1,
"focal": true,
"coverage": {
"display": "UnitedHealthcare"
}
} ],
"item": [ {
"sequence": 1,
"productOrService": {
"coding": [ {
"system": "http://snomed.info/sct",
"code": "185345009",
"display": "Encounter for symptom (procedure)"
} ],
"text": "Encounter for symptom (procedure)"
},
"encounter": [ {
"reference": "Encounter/56beaca0-399d-4307-becb-2541ee389ffe"
} ],
"quantity": {
"code": "aCode"
}
} ],
"total": {
"value": 232.27,
"currency": "USD"
}
},
"request": {
"method": "PUT",
"url": "Claim/0011"
}
}, {
"resource": {
"resourceType": "Claim",
"id": "0012",
"meta": {
"versionId": "1",
"lastUpdated": "2020-03-24T19:42:52.014+00:00",
"source": "#anRjJex8JdtnGhIV",
"tag": [ {
"system": "https://smarthealthit.org/tags",
"code": "Covid19 synthetic population from Synthea"
} ]
},
"status": "active",
"type": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/claim-type",
"code": "institutional"
} ]
},
"use": "claim",
"patient": {
"reference": "Patient/0001",
"display": "Deon400 Lebsack687"
},
"billablePeriod": {
"start": "2011-11-02T06:00:20-05:00",
"end": "2011-11-02T06:15:20-05:00"
},
"created": "2011-11-02T06:15:20-05:00",
"provider": {
"reference": "Organization/7a208ea5-66f6-392a-8472-059d61de2410",
"display": "MIDWEST ANESTHESIA PARTNERS LLC"
},
"priority": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/processpriority",
"code": "normal"
} ]
},
"facility": {
"reference": "Location/21bd6648-ed47-44ec-98a3-da7b6d47eab7",
"display": "MIDWEST ANESTHESIA PARTNERS LLC"
},
"supportingInfo": [ {
"sequence": 1,
"category": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory",
"code": "info"
} ]
},
"valueReference": {
"reference": "Immunization/f0c868a7-c834-443a-9cdb-a21f09b7b248"
}
}, {
"sequence": 2,
"category": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory",
"code": "info"
} ]
},
"valueReference": {
"reference": "Immunization/52c68af0-84bb-456c-9fed-69de75913b6e"
}
} ],
"insurance": [ {
"sequence": 1,
"focal": true,
"coverage": {
"display": "UnitedHealthcare"
}
} ],
"item": [ {
"sequence": 1,
"productOrService": {
"coding": [ {
"system": "http://snomed.info/sct",
"code": "162673000",
"display": "General examination of patient (procedure)"
} ],
"text": "General examination of patient (procedure)"
},
"encounter": [ {
"reference": "Encounter/43af77af-0df4-4771-bc66-b79f33313d70"
} ],
"quantity": {
"code": "aCode"
}
}, {
"sequence": 2,
"informationSequence": [ 1 ],
"productOrService": {
"coding": [ {
"system": "http://hl7.org/fhir/sid/cvx",
"code": "140",
"display": "Influenza, seasonal, injectable, preservative free"
} ],
"text": "Influenza, seasonal, injectable, preservative free"
},
"net": {
"value": 123.88,
"currency": "USD"
}
}, {
"sequence": 3,
"informationSequence": [ 2 ],
"productOrService": {
"coding": [ {
"system": "http://hl7.org/fhir/sid/cvx",
"code": "113",
"display": "Td (adult) preservative free"
} ],
"text": "Td (adult) preservative free"
},
"net": {
"value": 123.88,
"currency": "USD"
}
} ],
"total": {
"value": 113.86,
"currency": "USD"
}
},
"request": {
"method": "PUT",
"url": "Claim/0012"
}
} ]
}

The way bundle entries are currently processed is that first we loop through them to run validation, and save any warnings/errors from validation. Then we loop through the entries again to do the actual create or update processing (only for the entries that do not have validation errors). When we successfully create or update, we set a single informational issue of OK in a new  OperationOutcome, and set that OperationOutcome in the response entry, overwriting the existing OperationOutcome from the validation step containing any validation warnings. Thus the validation warnings are not seen on final output.

Moved to Review/QA

Tested it and I'm getting the warnings back for all entries within the bundle.


Connecting External SPI Device RC522

Hello
I'm trying to get the RC522 RFID reader to work with TDISPLAY. I have it working with other ESP32 devices.
Right now, the RC522 is being recognized and returns the firmware number successfully, but it will not read cards. I have verified it works on other devices.
MISO - 27
MOSI - 26
CLK - 25
CS - 33
RST - 17
I am setting RST to HIGH, as on other ESP32 devices it reads HIGH and works.
I do not know if I'm missing a step (something maybe to disable SPI on the onboard display) or if there's something different about SPI on this board.
Code below
`
#include <SPI.h>
#include <MFRC522.h>
#include <TFT_eSPI.h>       // Hardware-specific library
#define RST_PIN         17         // Configurable, see typical pin layout above
#define SS_PIN          33         // Configurable, see typical pin layout above
MFRC522 mfrc522(SS_PIN, RST_PIN);  // Create MFRC522 instance
TFT_eSPI tft = TFT_eSPI();  // Invoke custom library
void setup() {
Serial.begin(9600);		// Initialize serial communications with the PC
while (!Serial);		// Do nothing if no serial port is opened (added for Arduinos based on ATMEGA32U4)
pinMode(RST_PIN, OUTPUT);
digitalWrite(RST_PIN, HIGH);
Serial.println("HELLO");
Serial.println(digitalRead(RST_PIN));
tft.init();
tft.fillScreen(TFT_WHITE);
SPI.begin(25,27,26);			// Init SPI bus CLK, MISO, MOSI
mfrc522.PCD_Init();		// Init MFRC522
delay(4);				// Optional delay. Some board do need more time after init to be ready, see Readme
mfrc522.PCD_DumpVersionToSerial();	// Show details of PCD - MFRC522 Card Reader details
Serial.println(F("Scan PICC to see UID, SAK, type, and data blocks..."));

}
void loop() {
// Reset the loop if no new card present on the sensor/reader. This saves the entire process when idle.
if ( ! mfrc522.PICC_IsNewCardPresent()) {
return;
}
// Select one of the cards
if ( ! mfrc522.PICC_ReadCardSerial()) {
	return;
}

// Dump debug info about the card; PICC_HaltA() is automatically called
mfrc522.PICC_DumpToSerial(&(mfrc522.uid));

}
`

Disregard. Turns out I had a bad ground pin. Once I changed to a different ground, it worked fine.

Disregard. Turns out I had a bad ground pin. Once I changed to a different ground, it worked fine.


Rename the plugin

There's actually another plugin named "Dialog Plugin" in the asset library.
¿Quien fue el chistoso que se le ocurrió que era buena idea nombrar el plugin de forma tan generica?
Anyway, I'm out of ideas and need tho think about this. I don't know if is really an issue.

After a long (not too long) brainstorm, the tentative proposal is Textalog (provided by @crystalwarrior )
Is far better than other ideas (like Dialogger or Cool Text Parser).

Aww yeah, Textalog! We actually came up w/ it together with CrazyJC practically at the same time LOL

Textalog will be


Modded Moons bugs

Describe the bug
When launching AdvancedCompany, with modded moons, it struggles to add them to the terminal and show them, and ignoring one of my modded moons [secret labs] [secondary note, after deleting the mods with the moons [Generic Moons v4] it was still there in the moons category, even when relaunched several times, but secret labs never registered.]
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error
how I personally reproduced it was simply launching the game with the mods, and getting in with it, and checking the Moons tab and having it state that theres moons I dont have anymore, or not showing a moon that I have [secret labs, generic moons] [generic moons was removed but still appears]
Expected behavior
What I expected to happen was really just to get in with some extra modded moons, nothing special really, maybe to fix it by removing the specific mods that could be causing it

Screenshots
[video instead https://medal.tv/games/lethal-company/clips/1SzE48ZoRpzj02/d1337rq5CPoB?invite=cr-MSxodlksMTgzNzE4MDc5LA ] if the link is too sketchy or you dont wanna take the risk, on medal search up TheBrickBattla, newest clip should be Bug Report, and thats just what it is
Additional context
Add any other context about the problem here. [i do not know if the modpack listed below will work properly and show the issue correctly because generic moons was removed from the modpack when I put the share code in, but it should still cause the effect. I will work on a fix myself first by un and re installing the mod] [and sorry for not knowing some stuff about logfiles, ect]
Logfiles
Please attach log files to your issue. If this is a multiplayer specific issue please provide logs of the host and the affected clients. [not multiplayer, affects both anyways and im unsure how to do this new to modding]
You can find the logs of the game in %appdata%/../LocalLow/ZeekerssRBLX/Lethal Company/
The log file is called "Player.log" (or just Player if you have file extensions hidden)
Please note: These logs will get overwritten everytime you start the game. So please get your logs right when the issue occured.
Add a list of all of your mods
modpack without generic moons [attempted fix, still looking at it] 018d6170-acbf-78c3-5806-c1bbdcc91f39]

Can you please try 1.0.147? And please provide logs and full mod list.

Seems like LC_API solves the problem, at least it doesn't get stuck for me anymore when I travel to modded moons.
LC_API: https://thunderstore.io/c/lethal-company/p/2018/LC_API/

I suspect LC_API synchronizes the players regarding the modded moons, unfortunately I don't have much idea what exactly is happening.
Without Advanced Company the modded moons worked without any problems. When we installed Advanced Company there were endless loading times in the ship. I then only installed LC_API.
Whatever mod caused synchronization problems, that definitely doesn't have to be Advanced Company's fault, I just wanted to share my findings.
But thanks for the great mod, keep up the good work.


Feature Request - Support profanity option for Google Cloud Speech API

https://cloud.google.com/speech/docs/basics
It's just another option for the API call, named profanityFilter

+1 here for the request


Video window issues after going full screen

Something similar to this happens when you go full screen and come back

Potentially same issue:  #5686 Video container shifted when "Download" is clicked

This bug might also be fixed by 21ad5077f7e105ee734d5203e1bf1cfec13842c3.
What are the steps to reproduce?


Add HTTP server output

[ ] Tests
[x] Changelog

:broken_heart: Build Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Build Cause: Pull request #19 opened

Start Time: 2021-05-17T14:35:21.747+0000

Duration: 2 min 22 sec

Commit: 45a698786680a36d925ed02ee8dfe3da03637b75

Trends :test_tube:

Steps errors
Expand to view the steps failures

Go vet

Took 0 min 10 sec . View more details on here
Description: go vet

Log output
Expand to view the last 100 lines of log output

[2021-05-17T14:37:09.194Z] Masking supported pattern matches of $GITHUB_TOKEN
[2021-05-17T14:37:10.098Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/stream/pulls/19/reviews return 0 elements
[2021-05-17T14:37:10.164Z] [INFO] githubPrCheckApproved: Title: Add HTTP server output - User: marc-gr - Author Association: MEMBER
[2021-05-17T14:37:10.629Z] Stashed 145 file(s)
[2021-05-17T14:37:12.843Z] + gvm 1.15
[2021-05-17T14:37:18.151Z] export GOROOT="/var/lib/jenkins/workspace/Library_stream-mbp_PR-19/.gvm/versions/go1.15.linux.amd64"
[2021-05-17T14:37:18.151Z] export PATH="/var/lib/jenkins/workspace/Library_stream-mbp_PR-19/.gvm/versions/go1.15.linux.amd64/bin:$PATH"
[2021-05-17T14:37:18.334Z] Running in /var/lib/jenkins/workspace/Library_stream-mbp_PR-19/src/github.com/elastic/stream
[2021-05-17T14:37:18.657Z] + go mod tidy
[2021-05-17T14:37:18.921Z] go: downloading go.uber.org/zap v1.10.0
[2021-05-17T14:37:18.921Z] go: downloading golang.org/x/sys v0.0.0-20200831180312-196b9ba8737a
[2021-05-17T14:37:18.921Z] go: downloading golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
[2021-05-17T14:37:18.921Z] go: finding module for package github.com/elastic/stream/pkg/log
[2021-05-17T14:37:18.921Z] go: downloading github.com/stretchr/testify v1.4.0
[2021-05-17T14:37:18.921Z] go: downloading google.golang.org/api v0.13.0
[2021-05-17T14:37:18.921Z] go: downloading github.com/ory/dockertest/v3 v3.6.3
[2021-05-17T14:37:18.921Z] go: downloading github.com/google/gopacket v1.1.19
[2021-05-17T14:37:18.921Z] go: downloading go.uber.org/multierr v1.1.0
[2021-05-17T14:37:18.921Z] go: downloading github.com/elastic/go-concert v0.0.4
[2021-05-17T14:37:18.921Z] go: downloading github.com/spf13/pflag v1.0.5
[2021-05-17T14:37:18.921Z] go: downloading github.com/spf13/cobra v1.1.1
[2021-05-17T14:37:18.921Z] go: downloading cloud.google.com/go v0.46.3
[2021-05-17T14:37:18.921Z] go: downloading go.uber.org/atomic v1.4.0
[2021-05-17T14:37:18.921Z] go: downloading gopkg.in/yaml.v2 v2.2.8
[2021-05-17T14:37:18.921Z] go: downloading github.com/pmezard/go-difflib v1.0.0
[2021-05-17T14:37:19.188Z] go: downloading github.com/pkg/errors v0.9.1
[2021-05-17T14:37:19.188Z] go: downloading github.com/docker/go-units v0.4.0
[2021-05-17T14:37:19.188Z] go: downloading github.com/davecgh/go-spew v1.1.1
[2021-05-17T14:37:19.188Z] go: downloading github.com/moby/term v0.0.0-20200915141129-7f0af18e79f2
[2021-05-17T14:37:19.188Z] go: downloading github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5
[2021-05-17T14:37:19.188Z] go: downloading github.com/opencontainers/runc v1.0.0-rc9
[2021-05-17T14:37:19.188Z] go: downloading github.com/sirupsen/logrus v1.4.2
[2021-05-17T14:37:19.188Z] go: downloading github.com/opencontainers/image-spec v1.0.1
[2021-05-17T14:37:19.188Z] go: downloading gotest.tools/v3 v3.0.2
[2021-05-17T14:37:19.188Z] go: downloading github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78
[2021-05-17T14:37:19.188Z] go: downloading github.com/opencontainers/go-digest v1.0.0-rc1
[2021-05-17T14:37:19.188Z] go: downloading github.com/inconshreveable/mousetrap v1.0.0
[2021-05-17T14:37:19.188Z] go: downloading github.com/cenkalti/backoff/v3 v3.0.0
[2021-05-17T14:37:19.188Z] go: downloading github.com/Microsoft/go-winio v0.4.14
[2021-05-17T14:37:19.188Z] go: downloading gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127
[2021-05-17T14:37:19.188Z] go: downloading github.com/google/go-cmp v0.4.0
[2021-05-17T14:37:19.188Z] go: downloading golang.org/x/net v0.0.0-20191003171128-d98b1b443823
[2021-05-17T14:37:19.188Z] go: downloading github.com/creack/pty v1.1.9
[2021-05-17T14:37:19.188Z] go: downloading github.com/containerd/continuity v0.0.0-20190827140505-75bee3e2ccb6
[2021-05-17T14:37:19.188Z] go: downloading github.com/docker/go-connections v0.4.0
[2021-05-17T14:37:19.188Z] go: downloading github.com/kr/pretty v0.1.0
[2021-05-17T14:37:19.188Z] go: downloading github.com/konsorten/go-windows-terminal-sequences v1.0.2
[2021-05-17T14:37:19.452Z] go: downloading github.com/kr/text v0.1.0
[2021-05-17T14:37:19.452Z] go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
[2021-05-17T14:37:19.452Z] go: downloading github.com/lib/pq v0.0.0-20180327071824-d34b9ff171c2
[2021-05-17T14:37:19.452Z] go: downloading cloud.google.com/go/pubsub v1.0.1
[2021-05-17T14:37:19.452Z] go: downloading google.golang.org/grpc v1.21.1
[2021-05-17T14:37:19.452Z] go: downloading google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a
[2021-05-17T14:37:19.452Z] go: downloading github.com/golang/protobuf v1.3.2
[2021-05-17T14:37:19.452Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58
[2021-05-17T14:37:19.452Z] go: downloading github.com/googleapis/gax-go/v2 v2.0.5
[2021-05-17T14:37:19.714Z] go: downloading golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
[2021-05-17T14:37:19.714Z] go: downloading go.opencensus.io v0.22.0
[2021-05-17T14:37:19.714Z] go: downloading golang.org/x/tools v0.0.0-20200216192241-b320d3a0f5a2
[2021-05-17T14:37:19.714Z] go: downloading cloud.google.com/go/bigquery v1.0.1
[2021-05-17T14:37:19.714Z] go: downloading google.golang.org/appengine v1.6.1
[2021-05-17T14:37:20.661Z] go: downloading golang.org/x/lint v0.0.0-20200302205851-738671d3881b
[2021-05-17T14:37:20.662Z] go: downloading cloud.google.com/go/datastore v1.0.0
[2021-05-17T14:37:20.662Z] go: downloading golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136
[2021-05-17T14:37:20.662Z] go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
[2021-05-17T14:37:20.662Z] go: downloading honnef.co/go/tools v0.0.1-2019.2.3
[2021-05-17T14:37:20.662Z] go: downloading golang.org/x/text v0.3.2
[2021-05-17T14:37:21.239Z] go: downloading github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024
[2021-05-17T14:37:21.239Z] go: downloading golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee
[2021-05-17T14:37:21.239Z] go: downloading cloud.google.com/go/storage v1.0.0
[2021-05-17T14:37:21.239Z] go: downloading github.com/hashicorp/golang-lru v0.5.1
[2021-05-17T14:37:21.239Z] go: downloading github.com/BurntSushi/toml v0.3.1
[2021-05-17T14:37:21.239Z] go: downloading github.com/google/martian v2.1.0+incompatible
[2021-05-17T14:37:22.632Z] github.com/elastic/stream/pkg/output/http imports
[2021-05-17T14:37:22.632Z] 	github.com/elastic/stream/pkg/log: no matching versions for query "latest"
[2021-05-17T14:37:22.632Z] + make check-fmt
[2021-05-17T14:37:22.632Z] GO111MODULE=off go get golang.org/x/tools/cmd/goimports
[2021-05-17T14:37:29.235Z] GO111MODULE=off go get github.com/elastic/go-licenser
[2021-05-17T14:37:30.184Z] /bin/sh: 1: read: arg count
[2021-05-17T14:37:30.505Z] + go vet
[2021-05-17T14:37:40.565Z] # github.com/elastic/stream/command
[2021-05-17T14:37:40.565Z] command/root.go:77:45: opts.HTTPSrvOptions undefined (type output.Options has no field or method HTTPSrvOptions)
[2021-05-17T14:37:40.565Z] command/root.go:78:45: opts.HTTPSrvOptions undefined (type output.Options has no field or method HTTPSrvOptions)
[2021-05-17T14:37:40.565Z] command/root.go:79:43: opts.HTTPSrvOptions undefined (type output.Options has no field or method HTTPSrvOptions)
[2021-05-17T14:37:40.565Z] command/root.go:80:43: opts.HTTPSrvOptions undefined (type output.Options has no field or method HTTPSrvOptions)
[2021-05-17T14:37:40.565Z] command/root.go:81:48: opts.HTTPSrvOptions undefined (type output.Options has no field or method HTTPSrvOptions)
[2021-05-17T14:37:41.709Z] Stage "build" skipped due to earlier failure(s)
[2021-05-17T14:37:41.782Z] Stage "Test" skipped due to earlier failure(s)
[2021-05-17T14:37:41.862Z] Stage "Publish PR Docker image" skipped due to earlier failure(s)
[2021-05-17T14:37:41.934Z] Stage "Publish Docker image" skipped due to earlier failure(s)
[2021-05-17T14:37:42.014Z] Stage "Publish Release Docker image" skipped due to earlier failure(s)
[2021-05-17T14:37:42.544Z] Running on Jenkins in /var/lib/jenkins/workspace/Library_stream-mbp_PR-19
[2021-05-17T14:37:42.825Z] [INFO] getVaultSecret: Getting secrets
[2021-05-17T14:37:42.871Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-05-17T14:37:43.724Z] + chmod 755 generate-build-data.sh
[2021-05-17T14:37:43.724Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Library/stream-mbp/PR-19/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Library/stream-mbp/PR-19/runs/1 FAILURE 141704
[2021-05-17T14:37:43.724Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Library/stream-mbp/PR-19/runs/1/steps/?limit=10000 -o steps-info.json
[2021-05-17T14:37:43.724Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Library/stream-mbp/PR-19/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-05-17T14:37:43.724Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-05-17T14:37:45.067Z] Retry 2/3 exited 22, retrying in 2 seconds...

Not sure if this is related to this output, but it hangs on SIGINT.
{"level":"debug","ts":"2021-05-21T08:47:28.666-0400","caller":"command/log.go:74","msg":"Sending log line.","address":"<IP_ADDRESS>:8081","log":"alert2.json","line_number":1}
^C^C^C^C^C^C^CError: waiting to write for too long

Not sure if this is related to this output, but it hangs on SIGINT.
{"level":"debug","ts":"2021-05-21T08:47:28.666-0400","caller":"command/log.go:74","msg":"Sending log line.","address":"<IP_ADDRESS>:8081","log":"alert2.json","line_number":1}
^C^C^C^C^C^C^CError: waiting to write for too long

Was missing to check the cmd context, this is fixed now 👍

I tried it out for testing defender_atp. Worked for me. We should discuss how we want pagination and config to work.

Currently this will just return the given logs in order, one request at a time, so pagination will be defined by the order of the logs you pass to the command.
This ignores the request URL or any other variable in the request as its initial intent is just to send the stream of logs through an http server output.
I'd like to have a more sophisticated tool that could be used to mock a specific server, with some routing and assertions, which I think is more in line with what we discussed in https://github.com/elastic/stream/issues/9, I am unsure if this would belong here or as its own separate tool.
From my testing I think this initial approach might be enough for our current needs, WDYT?

I think all of that could be part of this tool. I think we should do the minimal required for our first set of test cases and then iterate on the development of features that we need to get the test coverage required. Since it's a test tool and primarily for our own consumption it will be fine if we need to break some of the config to refine it.

I noticed the README lists the "outputs". Can you update it to include http-server or remove the list of outputs.


Review and improve formatting of source code for version 3.0

For the version 3.0 release it would be a good idea to review the formatting of the code and make some improvements to the style going forward. Once the changes are agreed upon then one big commit could be made to update everything all at once and going forward the formatter settings can be updated so that the formatter maven plugin will keep things correct in the future.
I have noticed a few things that I think should be changed but most notably there is a pretty consistent use of single line conditional statements without braces which I think is a problem. It's usually recommended by most Java style conventions to always require braces for conditional statements, even for single lines, as this improves readability and helps prevent mistakes in logic.
My recommendation would be to make it simple and just adopt the Google Java Style Guide as a base and then make any tweaks that we want.

Closing as the changes were merged. We ended up not using the google style guide but just modifying the current Accumulo one and notably requiring braces for all control statements.


release/v1.9.1

Changes

ticket: []
Additional Notes

Checklist
Before requesting a code review, please check the following:

[ ] [Required] CI has passed all checks.
[ ] [Required] A self-review has been conducted to ensure there are no minor mistakes.
[ ] [Required] Unnecessary comments/debugging code have been removed.
[ ] [Required] All requirements specified in the ticket have been accurately implemented.
[ ] Ensure the ticket has been updated with the sprint, status, and story points.

[Creating Ticket] 🔖 Done https://sendbird.atlassian.net/browse/SDKRLSD-1496


Remove tables leftover after reverting #980

Description
In https://github.com/ThePalaceProject/circulation/pull/1103 we reverted #980, but left the tables behind. This PR finishes the removal by removing the tables from the code and adding a migration to remove them as well.
Motivation and Context
In the sprint planning meeting we discussed the issues with #980 and decided that storing this data in PG may not be the best place for it and perhaps we should implement this using something like reddis where we are able to respond more quickly to errors and connections that succeed.
Since we are moving away from this implementation, we should cleanup the bits that were leftover after the revert.
How Has This Been Tested?
Ran revert locally, ran alembic tests
Checklist

[X] I have updated the documentation accordingly.
[X] All new and existing tests passed.

Convert this to a draft since some tests are failing.

The new IntegrationConfiguration table also has the status column, which needs to be removed.

Thanks @RishiDiwanTT, completely forgot about those columns. Updated the PR and migration to remove those as well.


Spike: Aggregate all :root blocks to collect all css custom props

Issue Description
It would be nice to collect all the CSS custom props that are defined in the various component packages. We could use this as a basis/spec for a JSON theme file.
Issue Type

[ ] New Feature
[ ] Enhancement
[ ] Bug
[x] Other

Expected Behavior
Spike on ways to collect all css custom properties used in all the terra components and convert them to 1 singular JSON file.

Duplicate of #653


Add method for relative movement to chassis

Summary
Adds a thin wrapper moveDistance around moveToPoint for relative movement.
Motivation
Relative movements are a highly requested feature, especially for small or short movements where using coordinates is overkill and often error prone.
Test Plan
I have checked the math, but someone other than me should review it to make sure it looks okay. The function just delegates to moveToPoint so there is no new implementation in need of testing.
Additional Notes
This PR does not include a turnToHeading function because it already exists in PR #127

Download the template for this pull request:

[!NOTE]
This is auto generated from Add Template to Pull Request

via manual download<EMAIL_ADDRESS>via PROS Integrated Terminal:

curl -o<EMAIL_ADDRESS>https://nightly.link/LemLib/LemLib/actions/artifacts/1177105670.zip;
pros c fetch<EMAIL_ADDRESS>pros c apply<EMAIL_ADDRESS>rm<EMAIL_ADDRESS>

Closing as this will be implemented as a separate motion instead of a wrapper


add jersey icon

https://github.com/apache/skywalking/issues/10739

65k is too big. Please refer others to compress and provide a less than 10k version.

And provide the topology screeshot for this.
Make sure it fits the style.


Add Version information to plugin APIs

Publishing just to share the approach taken so far.  Feedback welcome.
Closes #309

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "api-version" git@github.com:wfarner/infrakit.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842354112880
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

Current coverage is 67.96% (diff: 91.11%)

Merging #318 into master will increase coverage by 15.66%

@@             master       #318   diff @@
==========================================
  Files            12         30    +18
  Lines           610       1545   +935
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            319       1050   +731
- Misses          246        395   +149
- Partials         45        100    +55

Powered by Codecov. Last update a1e94af...936e730


Marten Logo Candidate #2

The raven feather is tongue and cheek, and I started with not having it in the image. This candidate also has the ability to be turned into a circular sticker for those inclined to have it on their laptop.

Download marten.pdf

I think we're going with this one: https://github.com/JasperFx/marten/issues/498


Workshop not working properly

Its not working as should work, I runned the first one ok, then its entry on loop and not go to the next exercise. :(

hi @EdiFirst ! this is not nearly enough information or context for me to be able to help you. can you please provide more information. also please look through other issues first to see if anyone else has experienced and reported your problem.

So, my environment was approved :
verifying that npm is installed...
You have version 3.3.8 installed.  Great!
Now let's see what the latest version is... wait for it...
The latest npm is: 3.3.8
Congratulations!
You have a recent version of npm installed!
     @@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
But when I go to menu again its still are in question 1, and stay in this "loop":


Add validated native controls

Resolves #233 .
Added separate project Microsoft.MobileBlazorBindings.Forms with controls to allow to use same validations as in regular Blazor (see here).
Added controls:

CascadingEditContext (alternative to EditForm). It creates EditContext based on provided Model and sets it as CascadingValue.
ValidatedEntry (alternative to InputText). It wraps Entry control, and notifies EditContext about all updates.
ValidationLabel (alternative to ValidationMessage). It wraps Label control, and fills it with validations from EditContext.
SubmitButton. Wraps Button, but instead of OnClick property provides OnValidSubmit and OnInvalidSubmit.

(I haven't added other validated input controls, as not sure whether this approach will be approved).
I've also added sample page to ControlGallery with built-in DataAnnotationsValidator and 3rd party FluentValidator usages.

Razor
        <CascadingEditContext Model="LogInModel">
            @if (useFluentValidator)
            {
                <FluentValidator Validator="new LogInModelValidator()" />
            }
            @if (useDataAnnotationsValidator)
            {
                <DataAnnotationsValidator />
            }

            <ValidatedEntry<EMAIL_ADDRESS>Placeholder="Email" />
            <ValidationLabel For="@(() => LogInModel.Email)" TextColor="Color.Red" />

            <ValidatedEntry<EMAIL_ADDRESS>Placeholder="Password" />
            <ValidationLabel For="@(() => LogInModel.Password)" TextColor="Color.Red" />

            <ValidatedEntry<EMAIL_ADDRESS>Placeholder="Confirm password" />
            <ValidationLabel For="@(() => LogInModel.ConfirmPassword)" TextColor="Color.Red" />

            <SubmitButton Text="Submit" OnValidSubmit="OnValidSubmit" OnInvalidSubmit="OnInvalidSubmit" />
            <Label Text="@statusText" />
        </CascadingEditContext>

Result recording

I'm still not sure about naming. If you have better ideas - would be great!
Also, with current approach I forward all attributes to underlying elements (Label, Button, Entry), which means that I need to re-define all those controls.
I could use [Parameter(CaptureUnmatchedValues = true)] attribute to catch all provided attributes, and forward them all in single batch, but that means that there will be no IntelliSense support, which is not great.
Let me know if you have better ideas.

I'll take a look at this! I'm not super familiar with Blazor's edit experience (I've only tried a few samples/tutorials) so I'll play with what you have and keep this going. Thank you!


Missing policy to enforce branch up to date before merging

This is followup to #8064 however I was unable to open it. The issue isn't with my specific scenario, so the provided links don't apply here.
I'm looking for documentation of how to require branches to be up to date before merging a PR, within ADO. Github provides it in the link I gave in my first issue, and I assume parity was met for something as basic as this policy.

@ivorb  Thank you for the question, assigning this to the author for further review.
Please note if this is a missing feature it needs to be filed with the product team here.

If you are interested in this feature, please upvote this UserVoice recommendation: require branch to be up-to-date


Replace .bind() with .on() for jQuery 1.7+

Problem
$().bind() has been deprecated.

As of jQuery 1.7, the .on() method is the preferred method for attaching event handlers to a document.

Solution
I'm using .on() to observe clicks on the whole document, and then select only the ones that hit a.page-scroll. That's because elements could be rendered after this is called, so delegated events are equivalent to the way .bind() worked before.
https://api.jquery.com/on/#direct-and-delegated-events
✅ I noticed that your package.json specifies a minimum of jQuery 1.11, so this shouldn't be a breaking change for anybody.

Good job! Thanks


Remove python 3.7, 3.8 & 3.9 from circleCI

Task linked: CU-86a0aw4fc Remove python 3.7, 3.8 & 3.9 from circleCI

coverage: 91.907% (-0.1%) from 92.049% when pulling 7762c10d687509b2a79a66cae46c743d580b52d8 on CU-86a0aw4fc into 5fdb414bf096051a7eb8d188ca3ce13468d02272 on development.


ROX-9896: Refactor authenticated routes to solve integration test failures in UI

Description
Solution to avoid integration test failures that supersedes work around #1159

System Health Integrations local deployment should go to Notifier Integrations anchor on Integrations page via click View All
CypressError: Timed out retrying after 5000ms: cy.wait() timed out waiting 5000ms for the 1st request to the route: GetNotifiers. No request ever occurred.

2022-03-31 https://app.circleci.com/pipelines/github/stackrox/stackrox/8491/workflows/6805edd9-7b40-406f-881e-d758aa6849dc/jobs/375020
diagnostic-bundle/logimbue.json

"featureFlags": { "featureFlags": [] },
"Error: Feature Flag (ROX_VULN_REPORTING) is not a valid feature flag"
"Error: Feature Flag (ROX_SYSTEM_HEALTH_PF) is not a valid feature flag"

Vuln Management Dashboard Page clicking the "Top Riskiest Images" widget's "View All" button should take you to the images list
AssertionError: Timed out retrying after 4000ms: Expected to find element: [data-testid="widget"]:contains('Top Riskiest Images'), but never found it.

2022-04-04 https://app.circleci.com/pipelines/github/stackrox/stackrox/8655/workflows/53f69365-7bae-4df7-b5a1-6a991b35b580/jobs/382789
diagnostic-bundle/logimbue.json

"featureFlags": { "featureFlags": [] },
"Error: Feature Flag (ROX_VULN_REPORTING) is not a valid feature flag"

Problem
At least in integration testing environment, cannot assume that responses to /v1/featureflags and /v1/mypermissions requests are available:

src/Containers/MainPage/Body.tsx (see Problem 1 above)
src/Containers/Navigation/NavigationSideBar/NavigationSideBar.tsx (see Problem 2 above)

In theory, AppWrapper element has similiar problem with /v1/config/public request, however:

timing problem would only affect its tests in systemconfig.test.js
would not throw in production because it renders with optional chaining

Solution
Increase cohesion and reduce coupling, especially rendering ProtectedRoute at two levels

AppPage: render authenticated versus non-authenticated routes
AuthenticatedRoutes: render according to authStatus
MainPage: render page elements after feature flags and role permissions are available
Body: render individual (authenticated) routes with conditional rendering for feature flags, role permissions, and dev mode

Changed files

Edit src/Containers/AppPage.js and rename as src/Containers/AppPage.tsx

Replace <ProtectedRoute path={mainPath} component={MainPage} /> with <Route path={mainPath} component={AuthenticatedRoutes} />

https://reactrouter.com/docs/en/v6/upgrading/v5#refactor-custom-routes

Replace any elements inside a <Switch> that are not plain <Route> elements with a regular <Route>. This includes any <PrivateRoute>-style custom components.

Replace src/Components/ProtectedRoute.js with src/Containers/MainPage/AuthenticatedRoutes.tsx

Replace connect for authStatus with useSelector
Replace implicit location prop from Route owner with useLocation

Edit src/Containers/MainPage/Body.tsx

Replace ProtectedRoute with Route (ditto above quote from React Router docs)
Replace ProtectedRoute props devOnly featureFlagEnabled requiredPermission with conditional rendering
Replace useFeatureFlagEnabled hook with isFeatureFlagEnabled prop

Edit src/Containers/MainPage/MainPage.tsx

Replace connect and props which confused TypeScript when AuthenticatedRoutes.tsx renders <MainPage /> element without props
Replace mapStateToProps with useSelector
Replace mapDispatchToProps with useDispatch (see Residue 3)
Replace history prop with useHistory (see Residue 3)
Add const { isFeatureFlagEnabled, isLoadingFeatureFlags } = useFeatureFlags();
Add const { hasReadAccess, isLoadingPermissions } = usePermissions();
Render LoadingSection if isLoadingFeatureFlags or isLoadingPermissions because either Body or NavigationSideBar might have conditional rendering

src/Containers/Navigation/NavigationSideBar/NavigationSideBar.tsx

Replace usePermissions hook with hasReadAccess prop
Replace useFeatureFlagEnabled hook with isFeatureFlagEnabled prop

ui/apps/platform/src/hooks/useFeatureFlags.ts

Add isLoadingFeatureFlags to return values

ui/apps/platform/src/hooks/usePermissions.ts

Add isLoadingPermissions to return values

Edit src/reducers/featureFlags.js

Add error reducer and getFeatureFlagsError selector
Add isLoading reducer and getIsLoadingFeatureFlags selector

Edit src/reducers/roles.js

Add error reducer and getUserRolePermissionsError selector
Add isLoading reducer and getIsLoadingUserRolePermissions selector

Edit src/reducers/roles.test.js

Add error and isLoading to expected initial state

Edit src/sagas/authSagas.js

Add comment and request action for subsequent requests
Add failure action to store error

Edit src/sagas/featureFlagSagas.js

Add comment and request action for subsequent requests

Residue

Investigate whether isLoading is needed for any other data in Redux from sagas: clusters? network graph?
Delete obsolete feature flags
MainPage.tsx

Replace SearchModal element with route in Body.tsx: /main/search path and GlobalSearchPage element
Decide how to render error if request fails for feature flags or permissions

Checklist

[x] Investigated and inspected CI test results
[x] ~Unit test and regression tests added~

Testing Performed

See same featureflags and mypermissions requests in Network panel
Temporarily comment out fetchFeatureFlags in featureFlagSagas.js

See expected page crash without if statement in MainPage
See expected endless spinner with if statement in MainPage

Group test

I ran some manual testing on my end and everything appears to be working well for me.
I tested these by visiting multiple URLs while

logged in and logged out
using a regular page refresh as well as a hard Command+R refresh
various levels of network throttling (none, Fast 3G, Slow 3G)


EXC_BAD_ACCESS crash when using SwiftUI's move(fromOffsets:toOffset)

I'm using SwiftUI's move(fromOffsets:toOffsets) method on MutableCollection to move an element in my non-empty array, since it's O(n log n), whereas if I were to do it manually using remove(at:) and insert(at:) the operation would be O(n^2). However, using it on NonEmpty always leads to a crash:
import NonEmpty
import SwiftUI

var nonEmpty: NonEmptyArray<String> = .init("Hello", "Kenobi...", "there!")

nonEmpty.move(fromOffsets: IndexSet(integer: 1), toOffset: 3) // Thread 1: EXC_BAD_ACCESS (code=2, address=0x16f603fc0)

print(nonEmpty)

Using a normal Array works just fine:
var array: Array<String> = ["Hello", "Kenobi...", "there!"]

array.move(fromOffsets: IndexSet(integer: 1), toOffset: 3)

print(array) // ["Hello", "there!", "Kenobi..."]

Could it be due to some quirk in NonEmpty's conformance to MutableCollection?

Seems like it might be a Swift bug. Looks like a stack overflow:

Not quite sure how to work around right now 😕 But if you have any ideas, please let us know.
If you want to re-capture the O(n log n), here's a definition that we added to swift-identified-collections:
https://github.com/pointfreeco/swift-identified-collections/blob/main/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray%2BPartial MutableCollection.swift#L112-L148
You could potentially define an overload for NonEmpty.

Ok, sounds good! I'll make an overload using your implementation - would you like me to make a PR for that?
Since it's a SwiftUI method I can't use the Swift forums, so I guess I'll file a feedback.


CraftTweaker Support backport to 1.10

So I know that Mekanism only support CraftTweaker on version 1.12 and beyond, but is there a possibility to backport this feature into 1.10?

Sorry, we currently only support 1.10 for critical/crashing bugs.


README.md file updated to improve documentation with true variable names.

Problem
Explain the context and why you're making that change.  What is the
problem you're trying to solve? In some cases there is not a problem
and this can be thought of being the motivation for your change.
Solution
Describe the modifications you've done.
Result
What will change as a result of your pull request? Note that sometimes
this section is unnecessary because it is self-explanatory based on
the solution.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Update in readme file


patch1: fix build script and move files from extension directory to public

patch1:

remove extensions files into public
update packages and remove cpx package
chore svelte app

working great.


Unable to get movie poster from Trakt id

I know, it is explained in the documentation how to use the traktId and slug to get media. I am developing an Android application but when I append the slug to the baseURL,_https://api.trakt.tv/ , I am still unable to load an image into the app. What specific URL do I have to use to get the image URL from the traktId or slug?

The Trakt API doesn’t have images directly. You need to use the different identifiers in the objects to get access to images from other sources (eg. TVDB/TMDB).
You can find the documentation here: https://trakt.docs.apiary.io/#introduction/images, and the blog post (also linked in the documentation) here: https://apiblog.trakt.tv/how-to-find-the-best-images-516045bcc3b6
Sent with GitHawk


Fix/nav theme colors

Jira
https://app.asana.com/0/0/1140762213210489/f
Summary
Example of currently broken bolt-theme() usage.
Details
bolt-theme is used with an object argument, as detailed here: https://www.notion.so/basaltinc/bolt-theme-and-bolt-color-979d447ef1914b868703c5b5a8863abc.    Currently it does not work, or there is an issue with this implementation.
How to test
Visit /pattern-lab/?p=experiments-micro-journeys  and change the theme to dark.  Note that the  active dot on the lefthand nav always has a white background, regardless of theme.

Hi @sghoweri,
Glad to have this conversation with you, and this code has not yet merged, nor is it ready to be merged yet.
This is a workaround for simple color changes that aren't working here:
https://github.com/bolt-design-system/bolt/issues/1437
and
https://github.com/bolt-design-system/bolt/issues/1443
We have a philosophy about band-aids: they should be easy to put on, and easy to remove.
Workarounds like this are a last resort: this is a backup plan for if we don't get any resolution on those other issues, and it's heavily commented on my current branch with @TODOs.

@glassdimly totally understood — I just want to make sure this bandaid doesn’t doesn’t get gangrene. 🙂
Here’s a bunch of recommended options I came up with to help get past this + minimize tech debt / mitigate any potential performance overhead.
Recommended Solutions To Pick From (ranked from most to least ideal)

Manage everything internally via a new theme prop added to the parent + pass the prop down to any immediate children that need to handle internal theme-specific styling.

I’d recommend passing down the property value to the child web component’s via lit-html’s property binding syntax to avoid the need to set HTML attributes. https://lit-html.polymer-project.org/guide/template-reference#binding-types

Create a generic  helper component that uses withContext to allow children to subscribe to prop changes on the parent
Switch to only use a single bolt-theme value in our Sass.

Doing this should allow the CSS custom property value to be inherited  like they do everywhere else.

Switch to use :host-context(.t-bolt-dark) as a progressive enhancement in Chrome only.

Not Recommended

Disable Shadow DOM entirely
Use mutation observers to try and figure out what parent theme class has been set recursively (which Shadow DOM could seriously throw off)😬

@sghoweri,
Understood! Nobody wants gangrene.
What we do want is to be able to meet our deliverables and the asks we get from your team.
I think the first choice here is that we simply fix the issues https://github.com/bolt-design-system/bolt/issues/1443 and https://github.com/bolt-design-system/bolt/issues/1437 so that bolt works as designed and that we have a proper way to escalate blocking issues for our team to you or another senior bolt member.
That is to say, it's not always possible for us to know what your first choice solution to a problem will be without asking. After all, if I'm on a parent component, I'll still need to get the theme from it's closest parent, and, what if the theme changes? How will I know? That seems brittle to me. But that's possibly because I don't know every use case of bolt. That is a disadvantage that we overcome by taking with you all. After all, maybe you simply never change the theme after page load. Then closest with prop-drilling would work just fine. You know more about how bolt is being used, and we want to learn from your team.
We want to be good citizens of the Pega and Bolt; we want to minimize technical debt; and we want to make performant components. We want to work well in this ecosystem.
We'll learn as we work with you over time, and the longer and deeper we dig into bolt's architecture. And bolt will stabilize over time.
I also think a retainer model, and after the pressure of this deliverable is off, will help us be able to spend time contributing back to bolt. That will help everyone because we'll be actively communicating on PRs and learning from one another more.

Can we update this to reflect our conversation yesterday?

This PR is closed because theme switching support was implemented in https://github.com/boltdesignsystem/bolt/pull/1454 and the CSS work was cherry-picked there as well.


Current version of @solana/wallet-adapter-wallets is 0.6.2?

Describe the bug
The current version in npm is 0.6.2, is it by design?
https://www.npmjs.com/package/@solana/wallet-adapter-wallets

Expected behavior
Use latest version as Current Tag.

This is fixed, the latest versions are correctly tagged now. This was caused by backporting a patch release to an older version. Sorry about that!


enh/152-provide-sw-for-task-exec-and-int-est-updating

Right now they unconditionally update their exec and interface time estimates on
both task finish and on task abort for both metric collection and in the
executive. A parameter should be added so both the executive and the execution
metrics collector so that this behavior is switchable.

Moved to COSM with ta tree


add cluster info after adding new member

Finish feature in issue: https://github.com/coreos/etcd/issues/7049

add cluster info after adding new member

@armstrongli there is a merge conflict now. could you fix that?

@fanminshi Rebased.

@armstrongli I hope this to be merged soon. Can you please fix the issue in the comments?

@gyuho this might worth to be back-ported.

ack (for release-3.1)


[SPARK-47744] Add support for negative-valued bytes in range encoder

What changes were proposed in this pull request?
The RocksDBStateEncoder now encodes negative-valued bytes correctly.
Why are the changes needed?
Components that use the state encoder might want to use the full-range of values of the Scala (signed) Byte type.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing UT was modified. All existing UTs should pass.
Was this patch authored or co-authored using generative AI tooling?
No

Thanks! Merging to master.


Update Microsoft.Logic namespace

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[ ] I have read the contribution guidelines.
[ ] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-node

Automation for azure-libraries-for-java

Automation for azure-sdk-for-go

Wokring on fixing the model errors

@annatisch Do you have any more comments? The build failed, but I think that was for unrelated reasons

@refortie - nope it looks good to me. Just waiting on last confirmation that those new linter errors you pointed out regarding the paging "value" attribute are a CI issue rather than a spec issue.


Adding "<" operator to unitigIterator class and "[]" operator to CompactedDBG class

Would it be possible to add a "<" operator to the unitigIterator class and a "[]" operator to CompactedDBG class?
I am implementing a function with openMP multithreading where I am iterating over unitigs using a for loop. However, openMP dictates that the for loop be in the format for (unitigIterator i = cdbg.begin(); i < cdbg.end(); i++) which is not currently possible to implement.
Many thanks in advance, Sam.

Hi @samhorsfield96,
Sorry about the delay, for some reasons I missed the notification of this issue until today. Implementing those operators is feasible I think but would require some important refactoring. Unfortunately I am the only person working on Bifrost at the moment so I'll add this to my todo list but I wouldn't expect it to be released any time soon.
Guillaume


wtf ! 3rd time someone sabotaged

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

This will be the third time my token being forked has been sabotaged either by maintainers or those with write access. My code is code because it has been ran multiple times for checks. Whoever you are your making it bad for Solana, Dude!


Remove duplicate line

Description
Remove duplicate line
Fixes

Fix included in https://github.com/cloud-bulldozer/e2e-benchmarking/pull/549. Closing this one.


question: how to import code from an external module

Im a rather newbie in Scala but I was wondering if there is a mechanism to import classess, functions I have in an external text file (not in the same directory)? Would be a very useful feature as defining hundreds of code lines in a notebook impairs brevity, better to put them out in a separate file and just "load" in the nb.

Hello @AngryMaciek ,
From what I see the kernel almond is based largely on Ammonite (https://ammonite.io/#Ammonite) which is a kind of improved REPL for Scala that you can use even without Almond.
The documentation shows how to make import in an Ammonite session as well as how to reference new repo:

https://ammonite.io/#import$ivy
https://ammonite.io/#import$repo

I tested it in a jupyter Lab and it works. The thing I don't quite understand from ammonite documentation is the resolution of local jars.
In principle, you should have them all under: ~/.ivy2/cache
But I can see that with coursier installed most of my jars go to  ~.cache/coursier/v1/https/repo1.maven.org/maven2 for instance for jar that I downloaded from maven.
I don't quite know how the resolution is done but I guess Ammonite fetch from coursier that fetcher from its cache maybe.
For instance for me it is sufficient to do this from a notebook:
import $ivy.`com.typesafe.akka::akka-actor:2.6.20`
import akka.util.ByteString
val b = ByteString("Hello world!")

and this will not fill my .ivy2/cache with a new jar but rather will use the one from the coursier cache. So I guess Ammonite kind of ask via $ivy for the jar to coursier that does the resolution.

Hi @samuelsayag,
I am not really a Scala developer so I do not know the meaning of these words: ivy, coursier, maven.
However, I am not sure if your post above does answer my initial question - how to include my own custom piece of code from another directory. Will that be possible with the mechanisms you mentioned?

@AngryMaciek you can import Ammonite scripts which are essentially Scala files:
i.e. create a file /some/dir/script.sh with some code:
val x = 42

Then in a notebook load that script:
repl.load.exec(os.Path("/some/dir/script.sc"))

Now you should be able to access x in subsequent cells.
You could also use paths relative to your working dir, i.e.:
repl.load.exec(os.pwd / os.up / "script.sc")

Thank you @sbrunk! I will test it out next week and come back here.

That works, thank you!


Delete props only when they become undefined

This allows setting a prop to 0 or false.

This is a breaking change, isn't it?

It doesn't seem to break the tests :)

yes, this is a breaking change. Also, typeof is slow for critical path. I don't fully understand the rational of this change though.

Well, I see the utility of allowing prop values like 0 and false, just need to use if (props[key] == null).

#624


fix: reducing index removal while using --splunk-cleanup to be done b…

Reducing index removal while using --splunk-cleanup to be done by only one worker.

We need to have this merged (splunk/addonfactory-repository-template#498) before this would work properly?

We need to have both changes to resolve https://splunk.atlassian.net/browse/ADDON-67006, although these are two separate issues and can be merged independently.
Long story short:

(splunk/addonfactory-repository-template#498) - this PR takes care of authorizing admin user to remove events from indexes (till now they were not being removed at all).

present PR takes care of proper removing process (till now it was done by each worker, so for 10 processes events were cleaned up 10 times, when data reingestion is done by one worker).

:tada: This PR is included in version 5.2.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Compare supplier agreements using Copilot in Word :Downloading the files multiple times

Module: Empower-workforce-copilot-sales
Lab/Demo: Compare supplier agreements using Copilot in Word
Task: 03
Step: 01
Description of issue
Downloading the files multiple times.
Suggestion:
We can create a common drive in git and that drive location can be added to the instructions. So that leaners can download all the files at once and move them to the one drive location.
Current instructions needs multiple file download: suggested to create a common GIT file repository containing all the files.
Current instruction:
Select the following links to download the three supplier agreements:
Contoso Supplier Agreement
Tailwind Traders Supplier Agreement
Wide World Importers Supplier Agreement

We have these files stored in Teams channel in the M365 tenant, we are working on a solution to allow students accounts to get access to the teams sites and then use those locations to reference for files. Once that's been implemented, i will update instructions accordingly to include teams file locations.


Kinesis client library needs update

Dapr seems to use an old version (2 years old) of vmware-go-kcl. The later version (v1.5.0) supports bug fixing, KPL records, shard rebalance, and enhanced fan-out.

https://github.com/dapr/components-contrib/pull/1257 for updating the library dependency only. Will create a new issue and PR for simplifying the coding as well by using the enhanced fanout feature provided by the new library.