Adds suitable macros to check for endianness

Signed-off-by: Felipe R. Monteiro<EMAIL_ADDRESS>Description of changes:
Some of the CBMC proofs detected that a portion of the code in lookup3.c was not used at all, because the check for big-endian or little-endian did not use the correct flags.
Thus, we should also consider __BYTE_ORDER__ and __ORDER_LITTLE_ENDIAN__. For more info, see https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
As a simple test, the following command should report the flags set by the C Preprocessor on a given machine:
cpp -dM < /dev/null | egrep '(86|BYTE)'

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@tautschnig @JonathanHenson @ColdenCullen @justinboswell @danielsn could you review this PR?

I'm wondering whether we should go further and also make sure we have Visual Studio covered? See the answer by Adam Rosenfield in https://stackoverflow.com/questions/4239993/determining-endianness-at-compile-time.

Does correctness rely on one of HASH_LITTLE_ENDIAN, HASH_BIG_ENDIAN being set to 1? If so, how confident are we of completeness? Skimming SO indicates that sufficiently old compilers might not have an indicator symbol available.

@bretambrose No, this change isn't related to correctness. As far as I understand, the code take advantage of big endian or little endian to provide a more efficient implementation for hashlittle and hashlittle2 functions, but they can still calculate the hash values even though HASH_LITTLE_ENDIAN and HASH_BIG_ENDIAN are set to 0. The idea of this PR is only to provide more flag options on the endianness check and then take advantage of the most efficient implementation.

LGTM. Shameless plug, here is a thing that I wrote for CBMC that maps the names of GCC architectures to pretty, simplified CBMC versions. The simplified versions also have information on whether they are little- or big-endian somewhere else in the file.

That's cool! Just curious, how would we go about using that in this case? Can we use it as anything other than just a reference?

@ColdenCullen @tautschnig @karkhaz @danielsn @bretambrose could you merge this PR?


feat(helm): add ingressClassName to hubble ingress spec

Signed-off-by: Cyril Corbon<EMAIL_ADDRESS>Please ensure your pull request adheres to the following guidelines:

[x] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[ ] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[x] Thanks for contributing!

Fixes: #issue-number
Feat: add ingressClassName to hubble ingress spec

Thanks for addressing the feedback. Please also run make -C install/kubernetes and make -C Documentation update-helm-values to update the Helm REAMDE and reference.

LGTM pending Sebastian's comments. Thanks Sebastian.

Done :smile:

/test

Thanks @cyril-corbon! Merging.


Twitter Spaces Voice Client

Twitter Spaces Voice Client
Parity with Discord Voice Client, but on Twitter Space

Must listen to and respond with voice
Must be able to join a twitter space from a linked tweet
Must be able to accept speaker role

Reward: $1000 USD in $ai16z + $1000 USD in $degenai as seen on https://ai16z.github.io/

def use the openai real time api for a quick prototype to see if it catches on as a useful feature before spinning up your own multimodal TTS:  we have worked with this openai recently.
https://github.com/openai/openai-realtime-api-beta
the key these though is making sure u control interruptions well at your llm responses and audio stream processing layer ...  there is a pace in real time voice that works best for the above api.. talking past each other., etc. and other background noise is a harder problem...   it doesnt handle that very well unless u take over and dont turn on VAD for their api to do it for you.

https://github.com/kyutai-labs/moshi
similar to advanced voice mode MIT License
I can try to add the required functionality  of joining spaces if its something you need

https://github.com/elizaOS/agent-twitter-client/pull/31 <-- this is pretty close!

reward this man @slkzgm and let's close this issue down


Enemy damage inconsistency

Skeletron's skull projectiles do like 100k damage to mobile players
It's only around 100 for PC players

Will be fixed in future update.


Memory Request and Limit should be equal

[Although it is scheduler best practices. For kubernetes memory reuqest/limit should be equal ]

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

ID: dae17603-813b-f1ef-e161-c229d49a2541
Version Independent ID: 5c1dcea0-0cda-0233-2356-be63be776809
Content: Best practices for scheduler features - Azure Kubernetes Service
Content Source: articles/aks/operator-best-practices-advanced-scheduler.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

@Pamir Thanks for the feedback. Can you please elaborate on your request for the document update? For example, share which part of the doc you are seeing discrepancy. Thanks.

Hi @Karishma-Tiwari-MSFT
Qos Class changes depending on difference between cpu memory request/limit. It is a best practice document so giving memory limit and request should be a best practice document and related with scheduling we can make this sample more accurate.
https://www.replex.io/blog/everything-you-need-to-know-about-kubernetes-quality-of-service-qos-classes.
It is just a recommendation btw.
Regards
Pamir

Thank you for the feedback and providing details. Since this is more specific to qos, we will keep the doc as is for now. However this GitHub issue will stay here with this document for others to reference. As we get similar feedback from more customers, we will look into updating this document. :)
Thanks for bringing this to our attention. We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


adds structural components and css

I have rendered the home component first and navigation is not working yet, so if you are attempting to render different components, then make sure that you toggle them in the renderer.js

Looking good!


Any chance you can do this?

I'm trying to implement a basic people search that will search across three fields to find a match (only one field needs to match). I need to search multiple fields with one regex, and return any records that match.
For example:
var regex = new RegExp('^', stringQuery);
var query = {
    "$or": [
        {
            "_id": {
                "$regex": regex,
            },

            "firstName": {
                "$regex": regex,
            },
        }
    ]
};
db.find(query, function(error, people) {
    // Do something
});

Is this possible? If so, am I using the wrong syntax here or something? Results turn up nothing if stringQuery is 'bdfoster' and I have a record with '_id' of 'bdfoster'.
Thanks for any advice you can throw my way.

Your $or clause has only one query in it, so it will only match document that have _id AND firstName set to bdfoster.*

Thanks. For those interested, this is the proper way:
    person.macros.search = function(searchString, callback) {

		// Take out spaces and replace with pipes
		searchString = searchString.split(' ').join('|');

		// Use searchString to build rest of regex
		// -> Note: 'i' for case insensitive
		var regex = new RegExp(searchString, 'i');

		// Build query, using regex for each searchable field
		var query = {
			$or: [
				{
					"_id": {
						"$regex": regex,
					},
				},

				{
					"firstName": {
						"$regex": regex,
					},
				},

				{
					"lastName": {
						"$regex": regex,
					},
				},

				{
					"barcode": {
						"$regex": regex,
					},
				},
			]
		};

		// Do not return password for each person
		var projections = {
			"password": 0
		};

		db.person.find(query, projections, callback);
	};


pop up after keywords and abstract are included is incorrect

The pop up says resource can now be published or made public but it can also be made discoverable.

@Lizabrazil please write exactly the wording that is needed.  @engineSound can you do this.

It should be easy to do.  @Lizabrazil please provide screenshot and wordings.

All required fields are complete. The resource can be made discoverable, public, or can be permanently published.

The wording is confusing because it needs to be made public to be published..

All required fields are completed. The resource can now be made discoverable or public. To permanently publish the resource and obtain a DOI, the resource must first be made public.

@Lizabrazil @dtarb A web app resource can not be published. Is this correct?

I don’t believe we have a formal policy on this question. But in a recent
discussion we did discuss that it may be less useful to have published web
app resources since web apps are highly likely to change and evolve
regularly.
On Wed, Oct 31, 2018 at 3:51 PM Hongzhen Zhang<EMAIL_ADDRESS>wrote:

@Lizabrazil https://github.com/Lizabrazil @dtarb
https://github.com/dtarb A web app resource can not be published. Is
this correct?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hydroshare/hydroshare/issues/2955#issuecomment-434860607,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADT89AAfxW9rjYVLkHRnUeKPcfr6TmTlks5uqhtxgaJpZM4X2GIb
.

--

Daniel P. Ames, Ph.D., P.E.
Professor, Civil & Environmental Engineering
Brigham Young University, Provo, Utah, USA
http://ceen.et.byu.edu/content/dan-ames
http://www.researchgate.net/profile/Daniel_Ames
http://scholar.google.com/citations?user=S0GUCeUAAAAJ

Yes, web apps should not be publishable.  They are effectively "references" to something outside the HydroShare repository.  We are in general not publishing references.
Elaborating more on the planning, following is from a document I wrote commenting on the Olin report and suggestions for our work ahead to address its recommendations, that is in the HydroShare folder.
Consolidate into three effective resource types

Resource
Web App
Collection

Web app and collection are separate because they do not hold content files.  They are really separate in nature.
The catch all resource can hold typed aggregations for all the rest

Geographic feature
Geographic raster
Multidimensional
Model program
Model instance
SWAT Model Instance
MODFLOW Model Instance
Time Series
File Set
File
Note - I did not itemize our current “script”.  I think it can just be a file.

For “web app” the terminology “web app resource instance” is confusing and semantically it is difficult to distinguish between the web app itself hosted separately from the HydroShare repository and the the reference in HydroShare.  I suggest the following terminology
“Register a web app” is the menu option under create.  This establishes a “web app registration record in the web app registry”.

The distinction helps. Hydroshare hosts three categories 1. resource (publishable)  2. web app (not publishable) and 3. collection (not publishable).
Under this direction, the web interface should avoid stating "web app" as "web app resource', or "collection" as "collection resource".  When it says resource it refers to the number 1.
What's the umbrella name for all the three categories, shall we call it dataset, content, or resource? Since the resource is already number 1, name the umbrella "resource" is confusing.

My suggestion is that there is no umbrella name.  There are just 3 first class objects, "Resource", "Collection" and "Web App".  Thinking this way, there are actually other objects too such as "User" and "Group", and perhaps others, that each have their own separate and distinct role in the system.  Only "Resource" would be publishable and be assigned a DOI.

To be consistent with the naming convention, the "Create Resource" title and button would change to "Create".

This issue may not be the right place for this discussion, but I agree with @dtarb. Once we have deprecated the legacy modeling resource types, we should have one button on the My Resources page that is the "Create New" button. When you click on that button, you should be able to select whether you are creating a resource, collection, or Web App. Based on that selection, you would be taken to the appropriate page to create the content of the type you selected. There would be no separate "Create Resource" page.
The things that are holding us up from implementing this include modifying the modeling resource types to use the new composite resource functionality. Migrations of resources of legacy types to the new composite resource functionality need to happen too, but that wouldn't hold up getting rid of the "Create Resource" page as that would only affect creation of new content..

@Maurier I believe you fixed this recently please close or comment

I've fixed the original issue Liza filed. Closing.


[Feature] make BigQuery execution_project accessible from target object

Is there an existing feature request for this?

[X] I have searched the existing issues

Describe the Feature
In BigQuery, the execution_project might be different from the project. Sometimes we would need this information for context logging, monitoring and alerting. (such as alert the dbt user if they are using the undesired execution_project in their development environment)
It would be great if the execution_project is accessible under target object.
such as
target.execution_project

Describe alternatives you've considered
No response
Who will this benefit?
team using dbt-BigQuery and want to closely monitor how dbt users are using execution_projects correctly and provide warning at the run time.
Are you interested in contributing this feature?
yes
Anything else?
No response

resolved by https://github.com/dbt-labs/dbt-bigquery/pull/66


reddit link from keybase client do not work

Keybase GUI Version: 1.0.18-20170207061119+ce0f90d
After trying to add proof for reddit account, I'm asked for user name. I enter it and then keybase shows me link to click. Clicking it does NOT result in any action (browser which waits in background does NOT open any new window).
It worked fine for twitter link on the very same computer.
My cfg:
windows 10pro
chrome beta channel
security options and ublock etc may be of effect (yet twitter link worked...)

Can you please open Keybase Shell, perform keybase log send, and copy the log ID here? Thanks.

Log ID is:   e0347718d95dd37a0706e11c
BTW I did two tries of reddit. After first try, I revoked it and tried again. Second reddit try is still not revoked.
In logs you can see successfull github/twitter.

@zanderz Is there a way to manualy create reddit post using information from existing prove data?
Or command line ?
I'm interested specifically in using existing 'limbo' proof, not generating new one.

I'm having the same problem
Log ID: 97b07fdf7859231a0933ff1c

I'm having the same issue.
Log: 8e410eab9ea27050a77c0f1c
Windows 10, Chrome Version 56.0.2924.87 (64-bit) set as my default browser.

Same issue here. Windows 10. Edge set as default browser. Logged into my account in browser.
But clicking the link in Keybase UI does nothing, doesn't launch edge or provide any feedback when you click. Twitter & GitHub both worked fine

I was able to resolve by using the CLI keybase prove reddit davidburela which generated a URL for me. BUT for some reason pasting it into Edge would only populate the text, not the title. But pasting url into chrome populated both.

I believe this is fixed now. Can you all try to make a Reddit proof again?

Yep, after revoking lingering proof, the new one works for me. Thank you.


[feat] Update target exe environment variable name

Updates the target exe environment variable name and usage to OTEL_GO_AUTO_TARGET_EXE to follow OTel specific language environment variable pattern.

Closes #96

@MikeGoldsmith This seems to be duplicate of https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/97

Yep, I missed @pellared had already done it :)


crash

crash when loading minecraft
starting minecraft gives error and wont load game
https://pastebin.com/knRcPRsp

Try updating JamLib

Closing this as I'm 99% sure I suggested the correct solution, let me know if it's not solved o7

sorry for late reply, updated to jamlib 0.4.4 and appears to be working now  Thanks


changeset status succeeds locally, fails in CI with a changeset file verifiably present

Affected Packages
cli
"version": "2.18.1",

Problem
I have a monorepo of related packages and yarn changeset status succeeds locally, but fails in CI (azure devops). There is definitely a changeset file present in the ADO workspace.
Before I try
yarn changeset status

I am testing using just
ls -la

to make sure the files actually exist:

and in the .changeset folder:

So i KNOW the changeset file exists. I generated it with a standard
yarn changeset add

However, when I run
yarn changeset status

right after those ls commands, i get:

I've also tried
yarn changeset status --since="origin/main"

since main is my baseBranch.  When i run that, the error is different:

Here is my config.json:
{
  "$schema": "https://unpkg.com/<EMAIL_ADDRESS>  "changelog": "@changesets/cli/changelog",
  "commit": true,
  "linked": [],
  "access": "restricted",
  "baseBranch": "main",
  "updateInternalDependencies": "minor",
  "ignore": ["@<scope>/docs", "@<scope>/playroom", "@<scope>/private-playroom"]
}

This CI job is running ON a merge of the main branch. So the --since= I would think isnt necessary, but i can't run the status command without origin/main because for some reason changesets cant find the main branch?
Any idea what is happening here? I do want to check for changesets, even an empty one in my CI at least for the time being until we get used to our deployment cadences and figure out better how and when we need changesets.

My bet is that you are using some kind of shallow cloning there, on the CI, and changeset status can't access the base branch. A quick solution that could be done on your side would be to fetch it before you call changeset status. Other than that you could help me out to figure out what's the best solution here - what Changesets behavior should be? What do you think should happen? If the branch is missing locally should we try to get its hash from the remote and fetch the git history between that and the current HEAD?

i’ll get screens in a bit, but i definitely have depth:0 or whatever the setting is in ADO so that it will pull the full history.
i also can see where all the branches are getting pulled into the workspace, and main does get pulled.
would the —verbose option tell me where change sets are being looked for? could it be a case of not knowing what the project root folder is?
as for what should happen, if the branch is missing locally, a more specific error message would be the best start i think. actually telling folks that the error is happening because the branch refs you are looking for aren’t present. if you could just fetch it maybe that would be a good option, but i’m not super sure that would be best in all cases, so maybe provide a config option if you implement it so folks can config that.

here's a screen of the main branch being fetched and i think the command that ADO runs:

then it detaches with:

I'm not a git expert so I don't have immediate answers for this. It would be great if you could try to replicate this scenario locally (with a fresh copy of the repository) and check if it behaves the same. We should narrow this situation down to exact preconditions that are leading to this and then we could figure out what's the best solution for this.
I agree this is a problem but atm I have some other issues to handle and they have a bigger priority than this. I very much want to assist in the process - ask questions and gather the intel required to figure out the final solution. However, at the time - I can't do the whole investigation on my own. Since you are the closest to the problem, your CI logs etc it would be very helpful if you could dig into this a little bit deeper.
What that commit that is being fetched there is pointing to? Is it associated with some local branch there? is it the tip of release/stack? What's the git log for that commit? Is it orphaned?

I actually have a question that might be relevant here. BTW thanks a TON for your help.
The way my flow is gonna work is that changesets are going to be created in PRs (there is a changeset status in the PR build also, that seems to work), then when that PR is merged into main another build runs that does mostly the same stuff but has some publishing steps.
This build that i'm referring to is the build for main so its building a detached HEAD from the main branch itself. Is changeset status always making sure that the head is detached from main? If i'm building main and my since is also main then there wont be a detach right? because the commits would be the same?
If so, should i just NOT check for changesets in the main merge build since i'm checking for them in PR builds and PR branches will have a detach point that is different from main?

Can someone explain to me why does the status actually need to work with GIT at all. Shouldn't it just be checking the existence of MD files and for when in pre mode it should check for existence for MD files that are not in the changesets in pre.json. If files do not exist then it should return the error. The current approach does not seem to work with multiple CIs from what I am reading. It does not work with bitbucket either. I am forced to write a script that does exactly that and does not use GIT to determine the status. Maybe I am missing something.


Use a global memory pool

Summary of Changes

Use a global memory pool for incoming requests

Closes #148
Motivation
See linked issue
Implementation
The global memory pool is called from the batcher and used to get memory, allocating more if necessary. The current simple implementation uses CPU memory but the interface is designed to be easily scalable to use GPU pinned memory in the future. The memory pool is currently creating allocators on construction but we can change it later to be more dynamic (e.g. not loading GPU allocators if no GPU is present).
Workers, instead of allocating and deallocating buffers, now just provide a list of allocators that they support. The batcher uses this information when getting memory.
For safe access, each allocator's methods must be thread-safe. Currently, this is achieved through a mutex. If it bottlenecks the system, we can look into ways to optimize it.
Notes
This is the first of a series of PRs relating to memory usage as there is still ongoing work:

Output memory from the worker should be from the global pool
Enabling model ensembles
Freeing memory occasionally
Enabling dynamic batching

Build successful!


newsfeed_item parsing error

Can't parse newsfeed_newsfeed_item (https://github.com/worldbeater/VkLibrary/blob/master/VkLibrary.Schema/objects.json#L4750)
Probably, cuz allof > oneOf
"allOf": [
        {
          "oneOf": [
            {
              "$ref": "#/definitions/newsfeed_item_wallpost"
            },
            {
              "$ref": "#/definitions/newsfeed_item_photo"
            },
            {
              "$ref": "#/definitions/newsfeed_item_photo_tag"
            },
            {
              "$ref": "#/definitions/newsfeed_item_friend"
            },
            {
              "$ref": "#/definitions/newsfeed_item_note"
            },
            {
              "$ref": "#/definitions/newsfeed_item_audio"
            },
            {
              "$ref": "#/definitions/newsfeed_item_video"
            },
            {
              "$ref": "#/definitions/newsfeed_item_topic"
            }
          ]
        },

Fixed in new spec version - replaced with oneOf


Textarea misses the first line if empty

When saving a textarea with the first line empty (leading line break), the browser won't show that line after viewing the changed form, but the data sent to the server is correct. And then we save it again with nothing changed, data sent to the server also misses that line.

Do you have an example of this?
I do not have a reproducible example of this

Create a TextAreaField, and render it in HTML.
Input something in the textarea with the first line empty. e.g. "\r\nabc".
Submit the form. The webpage is refreshed.
The first empty line misses in the textarea.

The HTML spec is surprisingly vague about this, but it looks like browsers strip an initial \r\n, and other frameworks account for this by adding one during rendering.


Thaumcraft Integration

Issue description:
[Feature Request][Long Term][Cross mod]
You've got nearly everything necessary to win over ALL of the AE2 folks.  This mod looks great, the only thing I would suggest is that you make sure to do proper integration with other major mods like Thaumcraft.  By integration, I mean support for Vis, Essentia(like a fluid), and Monitors/Crafting terminals, etc.. While this would be very welcome, I would certainly agree that it should be a lower priority request than the core RS work.
Great job so far, I'm seriously impressed!

Is Thaumcraft even out for MC 1.10.2?

https://www.reddit.com/r/feedthebeast/comments/545eol/will_1102_thaumcraft_be_another_edition/

RS will not get this kind of integration.


Doesn't start with Windows Using Local Geth Node

Can you please also attach logs from AppData/Roaming/EmeraldWallet

@ChuckSRQ please check out this latest build -- it addresses this issue https://ci.appveyor.com/project/splix/emerald-wallet/build/130/artifacts


Functions are not deployed from internal functions dir if base is in subdirectory

Describe the bug
If the site is deployed from a subdirectory of the repo, any functions in the internal functions dir are not deployed from the CLI. When running in CI they deploy correctly.
To Reproduce
Steps to reproduce the behavior:

Clone git@github.com:ascorbic/functions-dir.git
Link the site
Run ntl deploy --build
Observe that a function is created in subdirectory/.netlify/funcitons-internal but is not deployed

sorry just happened to see this and curious -- doesn't the CLI not even deploy funcs from .netlify (but rather the actual unbundled functions src)? i recall eduardo saying this when jason and i were trying to update the zip files for asana. or maybe this has changed or i'm missing something. jw!

It bundles them (again) at deploy time.

This should be fixed as of CLI v5.2.6.


Is this repo still maintained?

It's been quite some time since last update to this repo, is it still maintained?
Some of the NPM modules used have received significant updates since last update of this repo.
As this repo is about providing strong security it's important to keep up to speed with dependencies etc, so that we always used libraries where vulnerabilities are patched etc. Obvious stuff, but still.
So... here's a friendly ping to the repo owner... What's the status?

Hi there, repo owner here. This is no longer actively maintained, as it is no longer used in our production stack. I might be able to devote a bit more time to this, as it seems quite a few projects are importing this and we would like to patch any vulnerable NPMs. As you can imagine, PRs are welcome and we're happy to add maintainers too. I think this repo is probably a decent starting point for some more serious work, if required due to breaking changes in any deps.

Hi there, repo owner here. This is no longer actively maintained, as it is no longer used in our production stack. I might be able to devote a bit more time to this, as it seems quite a few projects are importing this and we would like to patch any vulnerable NPMs. As you can imagine, PRs are welcome and we're happy to add maintainers too. I think this repo is probably a decent starting point for some more serious work, if required due to breaking changes in any deps.

Cool!
No worries about the non-maintained lib, things change. Simply the way things work.
Nonetheless it's good to know what the status is.
I actually just sent in a PR (#11) before even reading this, updating deps to latest versions.
Now, it looks like that dep hasn't been updated in a while either, but that's not on you :)
Thanks!

Cool!
No worries about the non-maintained lib, things change. Simply the way things work.
Nonetheless it's good to know what the status is.
I actually just sent in a PR (#11) before even reading this, updating deps to latest versions.
Now, it looks like that dep hasn't been updated in a while either, but that's not on you :)
Thanks!

Awesome, the only issue now is that since I no longer have a good dev setup with Keycloak, I'm not sure how to test and review the PRs. Can you suggest anything? I'm not really up to date on the latest standards

Awesome, the only issue now is that since I no longer have a good dev setup with Keycloak, I'm not sure how to test and review the PRs. Can you suggest anything? I'm not really up to date on the latest standards

Oh. Not sure what the standard setup would be (if there is one).
For dev I run Keycloak in a Docker container locally, with a production container running in a K8s cluster.
The dev container is easy enough to set up, but I don't have anything like an official test suite for Keycloak.
Been using Keycloak in the role of a developer of solutions in need of authentication, rather than a developer creating Keycloak add-ons.
Not a lot of help/suggestions - I know. Sorry.

Oh. Not sure what the standard setup would be (if there is one).
For dev I run Keycloak in a Docker container locally, with a production container running in a K8s cluster.
The dev container is easy enough to set up, but I don't have anything like an official test suite for Keycloak.
Been using Keycloak in the role of a developer of solutions in need of authentication, rather than a developer creating Keycloak add-ons.
Not a lot of help/suggestions - I know. Sorry.

Great -- thank you for the suggestion. I will try to check on this over the weekend 😄

Great -- thank you for the suggestion. I will try to check on this over the weekend 😄

yet not a single one of them is actively maintained

aaaand neither is this one. Can you please archive the repo if you no longer plan to keep it updated?


Show the most recent pipeline by default

We should show the most recent pipeline in the pipelines page.
Currently, there is no order in it.
I think there are 2 things that can be solved either in the frontend or backend
Frontend
We need to figure out the setting in ag-grid which will fix the issue.
Backend
Sort the pipeline by date before sending it to the frontend.

fixed by #35


API version 2023-07-01-preview breaks convo with data

Using the API preview version 2023-07-01-preview version errors out in the "stream_with_data" function

Hi @tendau I would recommend using the 2023-08-01-preview version. As the API changes quickly, we won't always be backwards compatible with previous preview versions.

@sarah-widder thank you for the response and yes we upgrading and that is working just wanted to make sure the team was aware of this break. While I have you we have also been working on the needed changes to update to openai 1.6.1 and were wondering if your team had any plans on upgrading it or if you might be amenable to a PR with those changes made.

@tendau in fact yes I have a PR #460 that bumps openai to 1.x so it will be upgraded soon!


Suggestion: Extract get_lsp_completion_context into a standalone plugin

Hey! Not an issue, just a suggestion. I've been wanting a way to include LSP aware contexts in my completion menu for a while, and just stumbled across a comment you made on Reddit.
Thought I'd suggest you try extracting it into it's own plugin as I'm sure I'm not the only one who'd find it useful.
For reference, I'm talking about:
https://github.com/ditsuke/nvim-config/blob/5d22ea749ef64b5d3fec0ad3d6ac457e6dcbeb22/lua/ditsuke/plugins/editor/cmp.lua#L40C1-L63C4
Either way, thanks for the snippet! Really missed this feature from VSCode.

As an alternative, you might consider adding the idea/snippet to the nvim-cmp wiki


1.5 indicator release notes

This should be merged after 1.5.3 has been released, and the following PR has already been merged: https://github.com/pivotal-cf/docs-pcf-healthwatch/pull/256

Release Date needs to be updated to date of actual release.

We are rethinking our approach to the fix here, so closing the PR until we can fill it in more completely.

Thanks, @kkburr


silentMode in task.ts ignored for spawnNotification if response is a string

Prerequisites
Please answer the following questions for yourself before submitting an issue.

[x] I am running the latest version
[x] I checked the documentation and found no answer
[x] I checked to make sure that this issue has not already been filed

Check our forum:
https://forum.vuestorefront.io/
Is there something you don't understand? What is it? Describe it.
I am not sure if this is a bug, or if this was done intentionally. If it was intentional then I am trying to understand why.
In core/lib/sync/task.ts#131 there is the following if statement. I split it up a lot to try and make it easier to read with all of the ands/ors and parentheses.
if (
    !task.silent
    &&
    jsonResponse.result
    &&
    (
        typeof jsonResponse.result === 'string'
        ||
        (
            (
                (
                    jsonResponse.result.result
                    ||
                    jsonResponse.result.message
                )
                &&
                jsonResponse.result.code !== 'ENOTFOUND'
            )
            &&
            !silentMode
        )
    )
)

The piece in question is the placement of !silentMode. Currently, if jsonResponse.result is a string, then silentMode doesn't matter and the following code is executed, which dispatches the notification to be displayed. The placement of the check on silentMode only matters if the response is not a string.
Why does silentMode not matter for string responses? Was this done for a specific reason, or was it just an oversight in the sea of parentheses that exist in this if statement?
Additional information
This problem was noticed when testing the expiration of the Magento consumer token. If the initial responses are 401, an attempt to refresh the token is performed. Even if this is successful I still receive multiple notifications in the UI stating "Consumer is not authorized to access self" since Magento's initial response was this and it was returned as a string. But the refresh action was successful and those actions were retried successfully, so these notifications are confusing for the user.

@andrzejewsky or @gibkigonzo please fix it before 1.11rc release


Set Up KanBan Board

Hello Reviewer 👋
For this project, we have four group members in the team;

@Ogaga01
@Lancelot-SO
@Ellon-M
@Shakir-Hussain12

In this project milestone, we implemented the following requirements:

Create KanBan Board
Assigned tasks/issues

Hi Team,
While you made a great effort in this project, unfortunately, I cannot proceed to review your board.
Invalid Code Review Request
You have submitted a project, that does not contain a screenshot of the current state of the Kanban Board at the time of review request which is seen as a requirement here
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the Issue thread if something is not 100% clear.
Please, do not open a new Issue for re-reviews. You should use the same Issue submitted for the first review, either valid or invalid unless it is requested otherwise.

Hi Team,
In my opinion, you are ready to move on to the next step! ⏭
Good luck! 🎉
Highlights

Equitable distribution of tasks 👍
descriptions for each issue 👍
Seem to cover all requirements of project 👍

Optional suggestions

[OPTIONAL] Ensure that you are adding realistic weight to your tasks.
[OPTIONAL] Consider adding labels to your issues, it makes it easier to filter by different types and gives another added level of differentiation among tasks (front-end vs back-end etc.)

Feel free to leave any questions or comments in the Issue thread if something is not 100% clear.
Cheers and Happy coding!👏👏👏

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Emotion js version

I really like the approach of this library. Great work!
It would be great to have an emotion js version of the project. I wonder what would be the best way to approach this. I can have a go at working on this if you have suggestions on how best to approach it. The api is very similar to styled components so it would probably be easy to fork it and swap in the emotion functions. Obviously it would be better to try and share the code as much as possible though between the styled components and emotion version.

Thank you very much.
Of course, you can do it, if you want. I would create two new packages, emotion and shared. The shared package would contain a shared code. For example Icons, phrases, utils. It would be great to move the logic of the components into hooks (inside the shared package).
What do you think about this approach? If you want, we can work together.
You can also contact me on twitter: https://twitter.com/mihasedej

Great thanks Tresko. For my current project I'm going to stick with a native date picker so having an emotion js version of this package isn't as priority for me now. It'll be a little while before I get around to working on it. Will let you know when I make progress. Maybe the best approach is if I do a first pass on it based on your guidelines and then I'll see what you think of it?

Of course, with great pleasure.

@allforabit @tresko
Excuse me for raising this once again, but what's the current state of emotion support? Asking for a friend, they are using MUI with emotion and want some nice date range picking in the project.
Kudos for this one, used a lot in a project with styled-components.


_callKeep.backToForeground() DO NOT WORK ON ANDROID 10

_callKeep.backToForeground() DOESNOT WORK IN ANDROID 10 BUT IN ANDROID 9 WORKS FINE

It doesn't work as well on Android 11

Have you managed to get the solution?


Log Hough circles

Just like cvlog.hough_lines, but for Hough circles.

Yes, it is on the road map. Thanks for your contribution.
Also can you please create an issue for this to track in the milestone.

I have enabled CI run for your pull request

Please fix this linting issue.
Run poetry run flake8 . to check in local


Latest rclone beta doesn't expand enviroment variables

What is your rclone version (eg output from rclone -V)

rclone v1.35-77-gc0ad29cβ

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Windows 10 64 bit
In the latest beta rclone on windows won't expand on variables contained in the environment.
For example my config path is set in the enviroment as %HOMEDRIVE%%HOMEPATH%\Documents\rclone.conf
In the latest beta if I run any command I get
* Config file "%HOMEDRIVE%%HOMEPATH%\\Documents\\rclone.conf" not found - using defaults
and running rclone help also shows
--config string                     Config file. (default "%HOMEDRIVE%%HOMEPATH%\Documents\rclone.conf")
but in an earlier build rclone v1.35-62-g9d331ceβ it resolves properly to
 --config string                     Config file. (default "C:\Users\*REDACTED*\Documents\rclone.conf")
`

This is probably a consequence of 9d362589233e50f9ca8befd3e9ef7f01b08e408b
@kynikos - fancy taking a look at this?

Hmm... can you try to apply kynikos@9c25d09 and see if it fixes the problem? I don't even have an easy way to test on Windows at the moment ^^

@AzureBlaze how did you set the environment variable?  I can't seem to set it without it being immediately expanded! Eg
X:\go\src\github.com\ncw\rclone>set RCLONE_CONFIG=%HOMEPATH%\Documents\rclone.co
nf

X:\go\src\github.com\ncw\rclone>set
[snip]
RCLONE_CONFIG=\Users\Dev\Documents\rclone.conf
[snip]

I'll try your patch @kynikos when I've worked that out.

@ncw I tried out the latest beta v1.35-79-g50e190f (I assume that contains the patch) and the path now correctly expands. Also RCLONE_CONFIG expanded properly in both cmd (set) and powershell ($env:RCLONE_CONFIG) for me as well it just didn't expand in the rclone v1.35-77-gc0ad29c build but its working fine now.

OK - that is strange! That version doesn't contain the patch.  As far as I can see the difference between 77 and 79 shouldn't affect that code at all.

@ncw that's strange I checked to make sure it was the versions by running .\rclone.exe version;.\rclone.exe listremotes  for both versions and it works for both now, so I suspect it may have been a combination of my Windows version and rclone version since I'm running the insider builds and updated today.

OK.  I'll close this for the moment - please re-open if you get this problem again and can reproduce it reliably.
Thanks
Nick


Add baxter robot

This is useful as  it is no longer available in ROS since indigo.

Well spotted, thanks !
This saved 13Mo :)


Running for a long time causes socket fd leak

Have you checked the roadmap on the website, and existing issues, before opening a dupllcate issue?
Yes
Describe the bug
After running for a while, the "closed" TCP connection count only goes up, until I manually restart the docker container which bitmagnet is running inside. (could be over 10k after a few hours)

To Reproduce
Steps to reproduce the behavior:

Run it long enough

Expected behavior
"closed" TCP connection count remain low.
General (please complete the following information):

Bitmagnet version: 0.0.7
OS and version: Arch Linux (kernel 6.1.59)
Browser and version (if issue is with WebUI): Firefox 118.02

Additional context
None

After left running for a night:

Hi @NeoChen1024 , I believe this is fixed in the linked PR which will be merged shortly.


Get best move from current position

How can I get best move from current position?

This is sample code for finding the best move in a position:
from stockfish import Stockfish

# Create Stockfish object. Use your own path to the binary files of the stockfish engine
stockfish = Stockfish(path="...")

# Set a position
stockfish.set_fen_position("rnbqkbnr/pppp1ppp/4p3/8/4P3/8/PPPP1PPP/RNBQKBNR w KQkq - 0 2")

# Get the best move
print(stockfish.get_best_move())

If you need more information, you can have a look at the README. There is a list of all available functions.


Can't build Android with new architecture enabled, but without can

iOS can be build with and without new architecture.
Here are my files:
android>build.gradle
buildscript {
    ext {
        buildToolsVersion = "34.0.0"
        minSdkVersion = 23
        compileSdkVersion = 34
        targetSdkVersion = 34
        ndkVersion = "26.1.10909125"
        kotlinVersion = "1.9.22"
        buildToolsVersion = "34.0.0"
    }
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath("com.google.gms:google-services:4.4.2")
        classpath("com.android.tools.build:gradle:4.2.1")
        classpath("com.facebook.react:react-native-gradle-plugin")
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
    }
}

apply plugin: "com.facebook.react.rootproject"
apply plugin: "com.google.gms.google-services"

gradle.properties
# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=1024m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true

# Use this property to specify which architecture you want to build.
# You can also override it from the CLI using
# ./gradlew <task> -PreactNativeArchitectures=x86_64
reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64

# Use this property to enable support to the new architecture.
# This will allow you to use TurboModules and the Fabric render in
# your application. You should enable this flag either if you want
# to write custom TurboModules/Fabric components OR use libraries that
# are providing them.
newArchEnabled=true

# Use this property to enable or disable the Hermes JS engine.
# If set to false, you will be using JSC instead.
hermesEnabled=true
org.gradle.warning.mode=all

Error:
> Task :nodejs-mobile-react-native:buildCMakeRelWithDebInfo[x86] FAILED
C/C++: ninja: error: '../../../../libnode/bin/x86/libnode.so', needed by '../../../../build/intermediates/cxx/RelWithDebInfo/215j1n6u/obj/x86/libnodejs-mobile-react-native-native-lib.so', missing and no known rule to make it

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':nodejs-mobile-react-native:buildCMakeRelWithDebInfo[x86]'.
> com.android.ide.common.process.ProcessException: ninja: Entering directory `/Users/pprnd/Documents/yalla_cashier/node_modules/nodejs-mobile-react-native/android/.cxx/RelWithDebInfo/215j1n6u/x86'

  C++ build system [build] failed while executing:
      /Users/pprnd/Library/Android/sdk/cmake/3.22.1/bin/ninja \
        -C \
        /Users/pprnd/Documents/yalla_cashier/node_modules/nodejs-mobile-react-native/android/.cxx/RelWithDebInfo/215j1n6u/x86 \
        nodejs-mobile-react-native-native-lib
    from /Users/pprnd/Documents/yalla_cashier/node_modules/nodejs-mobile-react-native/android
  ninja: error: '../../../../libnode/bin/x86/libnode.so', needed by '../../../../build/intermediates/cxx/RelWithDebInfo/215j1n6u/obj/x86/libnodejs-mobile-react-native-native-lib.so', missing and no known rule to make it

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 43s
314 actionable tasks: 308 executed, 6 up-to-date

Process finished with exit code 1

@staltz @jmatsushita @jaimecbernardo Any help?

encountered the same problem. Any suggestions?

@serhii-yalla  found a work around. In android/build.gradle explicitly disable the x86 ABI like so:
ndk {
//abiFilters = project(":app").android.defaultConfig.ndk.abiFilters ?: ["armeabi-v7a", "x86_64", "arm64-v8a"]
abiFilters = ["armeabi-v7a", "x86_64", "arm64-v8a"]
}
seems to be working fine with x86 disabled.

Just wanted to add I am seeing this as well.  Only solution I have found is setting
newArchEnabled=false


Monsters: add Nieve monsters and other bosses

a fixup of #34 and #55 since they were abruptly closed

broke this out into #68, #69, #70, and #71 for each different activity


Proper links for Monocypher

Thanks for mentioning Monocypher, that's a nice bit of recognition.
On line 85 of the markdow version, (and line 323 of the txt version), Monocypher is referred to by its GitHub repository.
To avoid link rot, I suggest not linking to GitHub. It is merely a mirror, and may go down without notice. The official site is https://monocypher.org. If you want to point directly to the relevant manual page (as you did for Libsodium), you may use https://monocypher.org/manual/aead instead.

Ironically, your bare link hyperlinks to this issue. Fixing ASAP.
https://monocypher.org/manual/aead

Fixed in https://github.com/bikeshedders/xchacha-rfc/commit/43d164d3fa67f91599cc8e1c5462f426d4a329cd

Nice, thanks!


Intellisense peek and navigation not working for global variables

I am writing api tests using javascript+mocha in visual studio code. I have created a file **testData.js** which contains
 exports.name = 'test';
Now I have defined a global variable in setup.js and required that setup.js in mocha.opts file, which basically requires everything in setup.js and you can then access them without directly requiring them in your code.
global.testData = require(./testData.js);
Now in my test.js  file I am using
name = testData.name;
I am not able to traverse/peak to testData.js upon ctrl+click on testData.name. I am able to do so in webstorm.
But if I include below code in test.js then intellisense works fine but it defeats my purpose of using global variable-
const testData = require(./testData.js);
name = testData.name;

How can I configure visual studio code to give intellisense in this scenario?

VSCode Version:1.16.1
OS Version:macOS Sierra version 10.12.6

Can you please move this question to stackoverflow so that it can help other users as well?

I think it is more of an issue than a question. Visual stdio code should detect this global variable relationship like webstorm and should allow to traverse to that particular file.


Update deps

I am Edo's friend and co-founder of Adaptly. Wanted to fork your repo to try to resolve issue with Adaptly but opened this PR by a mistake, sorry.
Have a nice day!


added transition effects in faq section

Description

added smooth animations to the FAQ section
https://github.com/user-attachments/assets/f3094b7e-b149-4e30-98a3-d7737f91aa97
Related Issues

Closes #710

Type of PR

[ ] ()

Screenshots / videos (if applicable)

Checklist

[x] I have gone through the contributing guide
[x] I have updated my branch and synced it with project main branch before making this PR
[x] I have performed a self-review of my code
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional context:

@Anjaliavv51 Can you please review it

@Anjaliavv51 any updates? can you assign it and give labels to  @amitb0ra

@sanjay-kv @Anjaliavv51 any updates?

There is already repo provided to you via newsletter to add your unmerged PRs

There is already repo provided to you via newsletter to add your unmerged PRs
where? i didn't received anything.


Review of the NMF solution

The NMF solution starts with some theoretical foundation on lenses. Luckily, I am somewhat familiar with these.
Then the transformation rules are explained. While I still have difficulties to read these, I get the idea and it all looks
reasonable, correct and comprehensive.
The strength of the approach is, that you do not need to specify update operations explicitly. You just read the
changes to the source model (i.e. to the samples) and some automatic update engine propagates the required changes.
Cool stuff.
This comes at the costs of some runtime overhead, of course.
I find it especially great, that the debugging identified some parts of the system that have efficiency problems and thus
the case will soon result in an improvement of the NMF approach. This is a great result for the TTC Workshop.

The solution succeeds at showing that a declarative approach can be used to synchronize the abstract and the operation models in an incremental way, simplifying the way changes would have needed to be considered explicitly in the reference solution.
Strengths of the approach are:

Although the changes that need to be propagated backwards are simple, the bidirectionality of NMF means that they can also be considered implicitly.
The Chunk/ChunkIndexed operations work as an aggregation mechanism to encode many-to-one synchronizations.
The case has helped identify some performance bottlenecks in the incrementalization mechanism of NMF.


Suggestion: Why is there no built-in validation or mass assignment protection?

I'm fairly new to BookshelfJS. It seems awesome so far. But one thing that I'm a little confused about is why there is no built-in validation and mass assignment attribute protection? What I mean is, you have to either use a 3rd party module to accomplish these things or else roll your own. Why?
I've been integrating Checkit and bookshelf-mass-assignment so far to fill in the gaps. But it really just has me thinking, why in the world are these optional "addons" to this library? Why are these not absolutely integrated into core Bookshelf?
Validation is obviously extremely important in order to ensure your input attributes match up with your database column definition. If it isn't, an error is thrown.
Mass assignment attribute protection is extremely important because it prevents users from attempting to (purposely or accidentally) save invalid or protected attributes to a model, which would either lead to users maliciously editing columns they should not edit or your application breaking due to errors being thrown.
Neither of these features are "optional" in a production environment on any level whatsoever. If Bookshelf is intended to be a full feature product that would be usable in a production environment, then why wouldn't it have these things built-in to it? Why would anyone want to rely on adding on 3rd party (ie "optional") libraries in order to have a fully functional system? Why would you build in mass assignment into Bookshelf without also building in a way to prevent mass assignment vulnerabilities???
Honestly its like if Ford made a car to sell but didn't include the wheels. They are "optional" addon features that you don't have to use but you pretty much absolutely need to use them if you want the car to function properly. Surely I'm not the first person to realize this about Bookshelf?
Otherwise it's a great library so far. I like that it is clear to use in most cases.

Beats me. It's probably due to an early design decision to make it as lean as possible and add further functionality with plugins, since Bookshelf was designed to be expandable from the ground up.
Also, in the beginning it was designed as a sort of backbone on the back-end. That's where the model/collection concepts come from.

Validation isn't necessarily optional for APIs, but it for other production applications.
Also, I wouldn't want to use checkit in production myself and would end up implementing a competing solution anyway.
Not sure why every library needs to be everything everyone needs all the time. Why can't it be just a plugin? It keeps the library nimble and easier to maintain. Even worse when considering the fact that ricardo pretty much maintains this by himself.

I'm curious as to why you would not want to validate data even in an API interface? If you try to throw a string value into a integer database column you are going to have a bad time.

I'll mark this as a feature request.


Feat(Integration)/Implement tangle_writer and tangle_reader

Co-authored-by: @huhn511

Replaced by https://github.com/iotaledger/identity.rs/pull/45


VS Code Live Share not working | "Activating Extensions..."

Hi, I am a newbie and I need help.
Live Share Export Logs.zip

Product and Version [VS/VSCode]: 1.33.1
Commit: 51b0b28134d51361cf996d2f0a1c698247aeabd8
Date: 2019-04-11T08:20:22.771Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 5.0.0-13-generic
OS Version [macOS/Windows]: Pop!_OS 19.04
Live Share Extension Version: 1.0.125
Target Platform or Language [e.g. Node.js]: Javascript
Steps to Reproduce / Scenario:

Installed Pop!_OS 19.04
Installed VS Code via this guide "https://linuxize.com/post/how-to-install-visual-studio-code-on-ubuntu-18-04/"
Installed the Live Share extension
It shows "Installed" but does not prompt anything.
Restarted VS Code just in case.
At the bottom-left of the VS Code screen, it says "Activating Extensions..." whenever I click on "Start collaboration session..." or "Join collaboration session..." or "Start read-only collaboration session..."
Nothing happens.

#2030

@kevinsoh @stjen Thanks for reaching out, we have a fix for this issue and it will be released next week. Closing as a duplicate of #2030. Thanks for using LiveShare and please keep the feedback coming!

LiveShare version 1.0.181 was just released to the marketplace and contains a fix for this issue.

I have same issue with my windows.  The share and join buttons aren't responsive.  Any solution?

I have same issue with my windows.  The share and join buttons aren't responsive.  Any solution?


[Token Update] Border semantic token update

Type of tokens

[ ] Raw token (i.e. associated to SwiftUI or Swift value)
[x] Semantic token (i.e. pointing to a raw token)
[ ] Component token (i.e. pointing to a semantic token, used for a component)

Description
Some changes regarding the border semantic tokens:

borderWidthOutsideFocus is renamed borderWidthFocus
borderWidthFocusInset is new and has borderWidth75 as value

public static let borderStyleDefault = borderStyleSolid
public static let borderStyleDrag = borderStyleDashed
public static let borderWidthDefault = borderWidth25
+ public static let borderWidthFocus = borderWidth50
+ public static let borderWidthFocusInset = borderWidth75
public static let borderWidthMedium = borderWidth50
public static let borderWidthNone = borderWidth0
- public static let borderWidthOutsideFocus = borderWidth50
public static let borderWidthThick = borderWidth75
public static let borderWidthThicker = borderWidth100

Motivation & Context

Types of change

[x] Add new tokens
[x] Update existing tokens (i.e. change name or value)
[x] Remove existing token

Checklist for Core Team

[ ] Tokens have been updated
[ ] Documentations have been updated
[ ] Unit tests have been updated
[ ] Retrocompatibility has been checked, or broken API have been flagged as deprecated with a workaround

@Tayebsed93 Il va falloir probablement que tu mettes à jour ta branche pour l'issue #154 afin d'ajouter les tests unitaires qui testent borderWidthFocusInset en prenant en compte ce renommage de borderWidthOutsideFocus en borderWidthFocus


CAB BRGs validity period 397/8 days

We should move the lints https://github.com/zmap/zlint/blob/master/v3/lints/apple/lint_w_server_cert_valid_time_longer_than_397_days.go and https://github.com/zmap/zlint/blob/master/v3/lints/apple/lint_e_server_cert_valid_time_longer_than_398_days.go to the CAB_BRG folder, since they were adopted to the BRGs with release 1.7.1

I think this is a dupe of https://github.com/zmap/zlint/issues/539 ?

I think this is a dupe of https://github.com/zmap/zlint/issues/539 ?

oh yes, indeed

oh yes, indeed


1.7-Android crashes on start and periodically in Background

Avoid duplicates

[x] Bug is not mentioned in the FAQ
[x] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[x] Bug is not already reported in another issue

Describe the bug
A friend's Samsung Galaxy A3 Mini updated CWA to 1.7 11 hours ago. Ever since the app crashes on open and every few seconds when in background.
11-26 10:02:20.493  5987  6021 E AndroidRuntime: FATAL EXCEPTION: pool-2-thread-3
11-26 10:02:20.493  5987  6021 E AndroidRuntime: Process: de.rki.coronawarnapp, PID: 5987
11-26 10:02:20.493  5987  6021 E AndroidRuntime: java.lang.IllegalArgumentException: Unknown worker: androidx.work.impl.workers.ConstraintTrackingWorker
11-26 10:02:20.493  5987  6021 E AndroidRuntime: 	at de.rki.coronawarnapp.util.worker.CWAWorkerFactory.createWorker(CWAWorkerFactory.kt:7)
11-26 10:02:20.493  5987  6021 E AndroidRuntime: 	at androidx.work.WorkerFactory.createWorkerWithDefaultFallback(WorkerFactory.java:1)
11-26 10:02:20.493  5987  6021 E AndroidRuntime: 	at androidx.work.impl.WorkerWrapper.run(WorkerWrapper.java:70)
11-26 10:02:20.493  5987  6021 E AndroidRuntime: 	at androidx.work.impl.utils.SerialExecutor$Task.run(SerialExecutor.java:1)
11-26 10:02:20.493  5987  6021 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
11-26 10:02:20.493  5987  6021 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
11-26 10:02:20.493  5987  6021 E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:762)

Technical details

Mobile device: Samsung Galaxy A3 Mini (2016), SM-A310F
Android version: 7.0

Possible Fix

Additional context

Internal Tracking ID: EXPOSUREAPP-3987

We have already fixed this the v1.7.1 is released soon
https://github.com/corona-warn-app/cwa-app-android/pull/1727

@the-kenny Do you have Energy Saving mode active or low disk space

@thomasaugsten Energy Saving mode is off, but the device is always low on disk space. It's pretty much impossible to use an older medium-tier android device like the A3 Mini without being low on disk space. That said, there is ~600MB of free space.

might be related: https://github.com/corona-warn-app/cwa-app-android/issues/1722

We have already fixed this.
The v1.7.1 will be released soon
#1727

@thomasaugsten Sorry, this is a bit off-topic: Have you pulled v1.7.0 from the Play Store? I only see v1.6.1 there.
Or is 1.7.0 delivered in waves?

@d4rken
Great you could fix the crash that fast!
But what will be the practical consequence in @the-kenny 's friend situation? Will the 'wrapper worker' just refuse to instantiate a worker because of the 'low disk space' restraint? If that would be the case, future background updates would silently fail, won't they? 🤔

We have already fixed this.
The v1.7.1 will be released soon
#1727

@thomasaugsten Sorry, this is a bit off-topic: Have you pulled v1.7.0 from the Play Store? I only see v1.6.1 there.
Or is 1.7.0 delivered in waves?

@nichu42 : yes, with the introduction of version 1.7 of the CWA, a rollout in waves was implemented, since it is now downloaded in pretty large numbers. In this case, it prevented many users from experiencing this error.

@vaubaehn The problem was not the low memory. The issue is Android 7 on this device are not supported how worker on low memory devices are normally called in Android. The worker will then started on all devices correctly

Will the 'workaround worker' just refuse to instantiate a worker because of the 'low disk space' restraint?

The fix means that we will try to instantiate the unknown worker, which will likely succeed (it did on our test devices), so the app will just continue to work normally after the affected devices receive the update.

@thomasaugsten

The problem was not the low memory. The issue is Android 7 on this device are not supported how worker on low memory devices are normally called in Android.

That was also what I understood from information given in the related PR. Unfortunately my question was not well formulated :confused:
But fortunately @d4rken was able to decode my cryptic question, and his answer fed my hopes that the unknwon worker will just work as expected with the best possible level of certanity at this time.
Thanks to you both for your replies!

For reference: same issue, Android 7 https://github.com/corona-warn-app/cwa-app-android/issues/1722#issuecomment-734799113

I was affected by this issue as well (Android 7.1, even though I had 4GB of internal memory free) and can confirm that it is fixed for me with the just published update to 1.7.1.
Thanks for the quick fix!

@the-kenny Did the error disappear for you in CWA 1.7.1?
The update should be rolled out to everyone by now. We will wait for feedback on the topic and close this issue if we receive no further reports.
Regards,
CH

Corona-Warn-App Open Source Team

@heinezen Yes, the error disappeared for me with the latest update.

Dear @the-kenny, thanks for the positive feedback. Best wishes,
DS

Corona-Warn-App Open Source Team

Unfortunatly the update to 1.7.1 did not solve the problem on my device yet. The app closes a few seconds after having started it. System details are:
CWA:1.7.1
Android: 7.0
Kernel: 3.18.35
Model: Cubot King Kong
It seems like the contact tracing is still working in the background because I can see under "Einstellungen -> Google -> COVID-19-Benachrichtigungen" that there have been contact serveral verifications during the last 14 days.
I am new to github, so apologize if I missed to describe something and let me know whether I can contribute any further information.
regards
HR

Dear @HilRick5, thanks for the report, very much appreciated. We will forward this information to the developers.
Best wishes,
DS
Corona-Warn-App Open Source Team

@HilRick5 As far as I can tell your device is based on a MediaTek Chipset, can you confirm that?
Android 7.0/7.1 + MediaTek Chipset is very likely the ROM bug described in #1609

@d4rken Yes, I guess I can confirm that. In order to get rid off the cwa crashes I recently hoped that a system update would help. Which obviously did not work out.
I used a flashtool from Mediatek for that. The device was recognized as MT6580. More specifically the path to one of the files was named "X511_CQ_7081C_CUBOT_N_V.<IP_ADDRESS>.S00708\MT6580". Thanks for looking into this.
Let me know if I could provide anything else useful.
BTW: When I use the function "send feedback" when the app crashes. Will that end up in the Nirvana of Google or is it something that you developers have access to ?

Yes, I guess I can confirm that. In order to get rid off the cwa crashes I recently hoped that a system update would help. Which obviously did not work out.

The update itself allows you to roll the dice on that bug again :smile: . The system update will cause the device to "optimize apps" on boot once, AFAIK it is during this optimizing that the issue happens. The system converts the apps code incorrectly into an optimized form. Every system update, app update, triggers such a re-optimization and either fix or cause the crash.

BTW: When I use the function "send feedback" when the app crashes. Will that end up in the Nirvana of Google or is it something that you developers have access to ?

We have access to that, and it does help, but the "feedback reports" are very basic. It only allows us to spot emerging crashes and their stacktrace + affected android version and device. By emerging I mean a crash count that is unusual. Any app with a user base of 100k+ will get a lot of "noise" in the crash reports, i.e. crashes that are completely unrelated.
Searching and filtering the crash reports is also very basic, I would not be able to find your specific crash without looking through hundreds of pages and manually comparing device type and Android version. That's mostly not necessary though as it would not give me any way to contact you and that's often what helps the most, being able to talk to affected users.
Because the crash reports in the Google Play Console don't give us are ways to reproduce the issue.

Let me know if I could provide anything else useful.

If you know of a way to make the app crash everytime after a fresh install, and could provide me with a step by step guide, that would help me the most.
I'll close this ticket here as the crash caused by the workers is fixed as far as I can tell with CWA 1.7.1. Let's continue any discussion related to the MediaTek bug in #1609.

@d4rken okay, let's continue our conversation started under #1731 in this thread here. Thanks for your explanations.
Actually, I tried a few reinstallations of the app (1.7.0 and 1.7.1) before I did the system upgrade. All with the same result: App closes a few seconds after start. After the system update all apps were gone, so I had to reinstall all apps including cwa of course.
The first start of the app showed the following screens:  "Gemeinsam Corona bekämpfen"->"Datenschutz"->"Wie Sie die Risiko-Ermittlung ermöglichen"->"COVID-19-Benachrichtigungen aktivieren?"->"Falls Sie Corona-positiv getestet werden..."->"Warnungen erhalten, Risiken erkennen" -> "Corona-Warn wurde beendet"
After that the app always crashes about 4 seconds after starting it. This can be changed by deleting the app data via "Einstellungen"-> "Apps"->"Corona-Warn"->"Speicher"->"Daten löschen". After that the app starts like during the first start as described above. However, this also appears to delete my previous contacts (under Einstellungen->Google->COVID-19-Benachrichtigungen->).
Perhaps I should mention that the system update did not work from inside Android via menu "->Einstellungen->Über das Telefon->Systemaktualisierung". That method stuck somewhere during the process and did not complete. After a reboot the system appeared unchanged.  Therefore I had to use the flashtool. Would you expect that the app optimizations that you mentioned would also occur with the flashtool method ? My understanding is that this flashes a fresh image without any apps installed.
I attach 2 screenshots of the flashtool. Do you think unchecking "userdata" would help to avoid that I have to reinstall all apps after the flashing process ?


SPIKE handle a scenario when a namespace is deleted

User Story:
As a Terraform controller user,
I'd like an automated way to delete namespaces,
so that my Terraform resources and state are gracefully cleaned up and I avoid manual intervention.
Acceptance Criteria:

[ ] Terraform resources associated with the deleted namespace are automatically removed.
[ ] Terraform state associated with the deleted namespace is automatically cleaned up.
[ ] The process is properly documented in the user guide.
[ ] Testing added.

Until there's a feature to spawn runners in a different namespace (also referenced here), I don't see how it would be possible to solve this.
When Namespace's state becomes "Terminating", it is no longer possible to create a Pod in it, making running "destroy" command impossible by extension.


Optics support

Hi,
I would like to know if exist any plans to add Optics support in the same way than other Java libraries:
https://github.com/functionaljava/functionaljava/tree/series/5.x/core/src/main/java/fj/data/optic
https://github.com/functionaljava/functionaljava/tree/series/5.x/core/src/test/java/fj/data/optic
What do you think about the feature?
Juan Antonio

Hi Juan,
I discussed that years ago with Jean-Baptiste Giraudeau, who implemented the feature for functional Java.
Vavr will not support optics. It is not the right direction. Our strategy is to align to native Scala (which does not have optics) while supporting as much standard Java as possible.
Mutating objects using such an abstraction as optics goes in direction of purely functional programming. I have a strong opinion that Java is not the right language for purely functional programming. Not only the type system is very limited but also key features are missing like lazy evaluation etc.
I hope this helps.
- Daniel

And if you really want to wet your feet at functional programming in Java, fj is the best library out there. But from what I've heard it is more of a gateway drug to Scala ;-)

Hi @danieldietrich,
I understand your point of view. I found the topic about Optics in the following roadmap:
http://lambdaconf.us/downloads/documents/lambdaconf_slfp.pdf
And that roadmap was generated from opinions from Developers with different levels in FP domain from http://lambdaconf.us/
https://www.surveymonkey.com/r/fp_ladder

I found that the library Derive4j provide support for Optics with compatibility for VAVR
https://github.com/derive4j/derive4j/blob/master/README.md
https://github.com/derive4j/derive4j/blob/master/README.md#flavours
I will review in the next weeks how to use the concept. I hope that the compatibility will be nice.
Juan Antonio

I've seen the FP ladder some years ago, when it was first published. To that time, it was controversially discussed by experts on Twitter.
IMO, it isn't necessarily the goal for an expert to climb the ladder to the top.

Yes, totally agree with you Daniel, it is not necessary to reach the level 5 in FP in the same way that not every Engineers with OOP background are experts with The Gang of Four but... at least they are able to know and use if they consider.
But I respect that if the philosophy of VAVR doesn't include Optics/Prism is fine.
I will review if at least it is possible to be used from Deriver4j. Fortunately the library doesn't have a heavy weight (197kb):
https://mvnrepository.com/artifact/org.derive4j/derive4j/1.1.1
FJ  for example, the weight is near to 1.9Mb and it is huge if you compare with VAVR with only 876kb
https://mvnrepository.com/artifact/org.functionaljava/functionaljava/4.8.1
https://mvnrepository.com/artifact/io.vavr/vavr/0.10.2

Optics are only supported for the FJ flavour. Went basically the same route and looked into the different functional offerings for Java but settled on Vavr as we need our code to be readable by “normal” Java devs. You can kind of write functional programs in Java, but the type system really lacks expressiveness. Vavr just works with Java, not despite it ...

Related issue in Derive4j:
https://github.com/derive4j/derive4j/issues/96


const in array types causes rustc error

Reported on zulip:
const TEST: usize = 4;

pub fn get_array() -> [u8; TEST] {
    return [0; TEST]
}

gives this error:
error[E0080]: it is undefined behavior to use this value
 --> txz.rs:4:28
  |
4 | pub fn get_array() -> [u8; TEST] {
  |                            ^^^^ constructing invalid value: encountered uninitialized memory, but expected an integer

I'm pretty sure this has to do with the override of providers.eval_to_const_value_raw in the recent 1.79.0 upgrade.

This is also problematic because the issue isn't restricted to the verus! macro, so it's problematic for crates with lots of external code. Currently a blocking issue for the rustlib project.

We also encountered this issue and #1339 .


Some problems with the code about implementing the deep supervision part

Hello, I recently tried to add depth KL scatter loss to my own project, and found the core code corresponding to this section was then found to be here https://github.com/dunbar12138/DSNeRF/blob/d9deb70ac1464348aebbe5e32fc98aeca1920f70/loss.py#L87
But in my actual use I found a problem that the weights will often be 0

So when calculating the loss, if you put the weights directly into the log function, this can easily result in results with inf

But I looked at the code and found that there was nothing to prevent this situation
So I would like to ask guys if anyone has encountered this situation, and  I think a very small number can be added to the weights to prevent this as follows:
-torch.log(weights+1e-10) * torch.exp(-(z_vals - depths[:,None]) ** 2 / (2 * err)) * dists

Sorry for disturbing you and hope to receive an answer, thans a lot (^▽^) !

Oh, I found there exists a same issue
Hi, thanks for your interest!
We added a small eps (~1e-5) to weights to prevent NaN.
Originally posted by @dunbar12138 in https://github.com/dunbar12138/DSNeRF/issues/69#issuecomment-1287234426


Discard incoherent data

Context: While refactoring StandalonLedger, we have inadvertently dropped the coherence check, which discards incoherent elements in accounting data before answering account_balance, account_history or similar request.
Goal: Re-introduce coherence check in StandalonLedger. Ensure it enforces coherence across all entities, including newly created ones.
Guiding Principles:

StandaloneLedger child classes do not perform coherence checks when adding, modifying or deleting data. This is helpful when writing scripts to automatically modify the accounting data, as mutator functions will not rais an error for incoherent data.
Instead, the coherence check is performed before answering queries based on accounting data, such as the balance of a particular account. The coherence test will drop incoherent data with a warning message in the log (which is by default written out to the console).
The coherence test pursues the following goals:

Ensure consistency of the retained data.
Discard as little elements as possible.
(For example, if a ledger entry uses an unknown tax code, discard that tax code but not the entire ledger entry.)

Examples:

Discard ledger entries with a non-zero balance.
Discard ledger entries with an unknown account (not defined in the account chart).
If a ledger entry uses an unknown tax code, discard that tax code but not the entire ledger entry.
etc.

List of rules (Need to be validated by Lukas):
Updated Validation Rules for TAX_CODES:

Valid Account Reference (if rate other than 0): If the rate is not zero and account is specified, the account must exist in the ACCOUNTS entity.
Non-negative Rate: The rate must be a non-negative numeric value.

Updated Validation Rules for ACCOUNTS:

Valid Tax Code Reference: If tax_code is specified, it must exist in the TAX_CODES entity.

Updated Validation Rules for LEDGER:

Existing Accounts: If specified, account and contra must exist in the ACCOUNTS entity.
Valid Tax Code Reference: If tax_code is specified, it must exist in the TAX_CODES entity.
Balanced Transactions: For each id, the sum of amounts must balance to zero per currency.

Updated Validation Rules for ASSETS:

Positive Increment: The increment must be a positive numeric value.

Updated Validation Rules for PRICES:

Existing Tickers: The ticker must exist in the ASSETS entity.
Positive Price: The price must be a positive numeric value.

Updated Validation Rules for REVALUATIONS:

Valid Date: Each date must be valid.
Mandatory Description: Each revaluation must have a non-empty description.

@AlexTheWizardL: I have (slightly) modified the rules in above comment. This is now ready to implement.

FYI, @AlexTheWizardL : I've added an additional rule *Matching Account Currency" to the issue description.

I did not get this rule to the end:

Balanced Transactions:

Rule: For each id, the sum of amounts must balance to zero per currency. To sum amounts, use the specified amount where account is defined and multiply the amount with -1 where a contra account is defined. If both are defined, the amount is summed up along with its inverse and the two cancel each other out.
Action: If a transaction does not balance to zero per currency, discard the entire transaction (all entries with that id).

It is not clear for me how this should work for such transactions (assume "USD" is reporting currency):
     1, 2024-01-01,    1000,       ,      USD,   800000.00,              ,         , Opening balance, 2023/financials/balance_sheet.pdf
     1,           ,    1010,       ,      EUR,      120.00,        132.82,         , Opening balance, 2023/financials/balance_sheet.pdf
     1,           ,    1020,       ,      JPY, 42000000.00,     298200.00,         , Opening balance, 2023/financials/balance_sheet.pdf
     1,           ,        ,   3000,      USD,  1098332.82,              ,         , Opening balance, 2023/financials/balance_sheet.pdf

or
     3, 2024-04-12,        ,   1000,      USD,    21288.24,              ,         , Convert USD to EUR, 2024/transfers/2024-04-12_USD-EUR.pdf
     3,           ,    1010,       ,      EUR,    20000.00,      21288.24,         , Convert USD to EUR, 2024/transfers/2024-04-12_USD-EUR.pdf

or even
    10, 2024-07-04,    1020,       ,      JPY, 12345678.00,      76386.36,         , Convert JPY to EUR, 2024/transfers/2024-07-05_JPY-EUR.pdf
    10,           ,    1010,       ,      EUR,    70791.78,      76386.36,         , Convert JPY to EUR, 2024/transfers/2024-07-05_JPY-EUR.pdf

Does it mean for transactions in non-reporting currency we need to calculate report_amount?

Thanks for your comment. The original instructions are not clear.
We need to sum up the report_amount, not the amount column. Before adding up report_amounts, we need to fill in missing elements using StandaloneLedger._report_amount(). See example.
As described above, values need to be multiplied by +1 if account is specified any by -1 if contra is specified. Rows where both account and contra will cancel each other out, as the addition of report_amount and -1 * report_amount is zero by definition.
Does this answer help?


Update outdated token terminology

This updates the rest of the docs to more accurately reflect how tokens works on Soroban.

Preview is available here:http://soroban-docs-pr261.previews.kube001.services.stellar-ops.com/

I'm not sure why, but the search functionality still shows a link to "Token contract" instead of "Stellar Asset Contrac", which links to a file that no longer exists (I changed token.mdx to stellar-asset-contract.mdx). Is there something else I need to update @tyvdh?

Algolia crawls once per day for any changes. Just triggered a manual re-index. lmk if you're still seeing the issue

Oh and the indexer is for the main site, we don't have a separate one for the dev site. So that will affect it too

Ah ok. So it sounds like we need to trigger a manual re-index once we release the docs. Thanks.


Remove "queue" terminology and improve time-of-test styling

Related Issue or Background Info
Fixes #303
Fixes #307
Fixes #139
Additional Information
These tickets were pretty closely related, and I was already in all the same files for #307 and #139, so I added them to #303.

The last commit here is to temporarily patch some strange thing that I bisected to fe2e255f16052add119f461b2787ed1601971c46. It's setting the test result to an empty string in the queue. That's throwing an error in the console, but more importantly allowing someone to submit a test without a result which the backend doesn't likey. I looked at the change but it's a pretty big changeset. Something is returning a string when we should be getting null.


Added MergeMLEvaluation task

MergeMLEvaluation Task and the related wrapper are implemented, which will be used for the PlotMLResult task.

@all-contributors please add @haddadanas for code


refactor: refactor build to cmake conventions

The proposed directory structure more closely represent what you would expect for a CMake project.

Nice idea :-)
Do you have a reference to how a project is expected to be structured? Just so I can better understand the setting.
One thing we may want to consider before going forward with something like this would be the structure of camera drivers (https://github.com/norse/aestream/issues/66). If, for instance, we branch out the camera input code to a separate repo, we'd need to move the headers somewhere, too.

Do you have a reference to how a project is expected to be structured? Just so I can better understand the setting.

Well not using relative include paths is pretty much a universally accepted convention. It leads to non-portable code (e.g. https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4464?view=msvc-170). The split into headers and source files is also pretty universally done, although there is more disagreement there. It would also be in line with conventions to have one source directory and only expose public headers in the include directory. But in any case it isn't a "good" idea to use relative include paths.

One thing we may want to consider before going forward with something like this would be the structure of camera drivers (#66). If, for instance, we branch out the camera input code to a separate repo, we'd need to move the headers somewhere, too.

I think this can be managed by setting up sensible and perhaps lower granualarity CMake targets and carefully managing optional dependencies.

Thanks again for the efforts here :-)
Did you have a chance to look at the changes following #89? They reorganized the content quite a bit. Would you be interested in adapting your changes to the main branch? I believe your suggestion is a valuable addition.


Abort request for connection from pool upon knex timeout

See #1382 for a more in-depth description of the bug.
This PR aborts the request to pool2 for a connection when knex times out due to acquireConnectionTimeout.  The purpose of this PR is to fix the issue without introducing a breaking change.  I think in the future acquireConnectionTimeout should be implemented using pool2's requestTimeout, or knex should simply set a default for requestTimeout (pool2 sets it to Infinity).  When that happens, this PR can probably be reverted.
This is my first time working on the knex codebase.  One thing I was unsure of was how the dialects' implementations relate to the base client implementation.  The client's implementation of acquireConnection() now returns an object containing a promise, while the dialect/transactional versions of the same method simply return a promise.  I wasn't able to test the affected dialects (mssql and oracle), so I'm not sure if there's anything wrong there.  I think it's all set though.

Honestly can't figure out what the deal is with the failing test– can you make any sense of that stack trace?

@devinivy Could it be related to transaction acquireConnection perhaps? The test uses a transaction.
The Stack doesn't make much sense, weird line numbers..

That's it– I'll have to fix this up a little bit.

@wubzz Do you have a good understanding of this issue?
This is a part of Knex of which I have basically zero knowledge. I'd have to do a lot of reading to understand what is going on here.

@rhys-vdw Yeah this one is good to go, reviewed a while ago. Didn't get a notification from the Edit in his post for some reason. I see now @devinivy fixed the transaction issue.

Thank you @devinivy!

I'll try to get a release out soon.

I'm doing release right now. It'll be out in couple of hours


Doesn't work with esm.sh CDN

Chalk doesn't seem to work with Deno recommended CDN, https://esm.sh
import chalk from "https://esm.sh/chalk"

console.log(chalk.blue('Hello'))

// Import<EMAIL_ADDRESS>failed: 500 Internal Server Error

It would be better to report the issue to esm.sh.


Update README.md

Coverage remained the same at 68.225% when pulling 8db8a1e1b14f82b8e47c8693270d24fec75ba0db on JoMingyu:master into 5e402ba9b61e794165d3e371111db323064f507f on DSM-DMS:master.


[haproxy] Active Sessions panel should not be using rate()

in the haproxy-2-full.json file on the "Active Sessions" panel,  the haproxy_frontend_current_sessions and haproxy_backend_current_sessions metrics are "gauge" metrics rather than "counter", so applying the rate() function obfuscates the data.
I suggest changing these to something like:
sum(haproxy_frontend_current_sessions{proxy=~"$frontend",instance="$host"}) by (instance)

You are right, thanks for it Szook.


[gstreamer] gst-plugins-base does not contain opusenc and opusdec

I have installed gstreamer:x64-windows.
gst-plugins-base should contain opusenc and opusdec elements, but they are unavailable, their dlls are not installed. Most probably a configuration switch is not set, but it cannot be modified through the vcpkg options.

@broothy Please try the PR #26785 .


dspy and langfuse integration

Langfuse is a good prompt  management project.
I would like to know if dspy has plans to support langfuse.
and I have written some code for this and am currently verifying them
Thank you all🙏

Yes, After the dspy optimization prompt, I hope to easily observe what changes have been made. So that we can do some comparison and cost statistics.
Of course, we can use methods similar  to inspect_history , but it would be a good idea to have a more intuitive management page to observe.
thank you for your reply.

是的，经过dspy优化提示后，我希望能够方便的观察到做了哪些改动。这样我们可以做一些比较和成本统计。
当然，我们也可以使用类似的方法inspect_history，但是如果有一个更加直观的管理页面可以观察会更好。
感谢你的回复。

您是否建议将 DSPy 创建的已编译优化 json 程序保存到 langfuse？（在您的提示管理下）。还是其他什么？您能提供一些您所看到的情况的更多细节吗？

是的，经过dspy优化提示后，我希望能够方便的观察到做了哪些改动。这样我们可以做一些比较和成本统计。
当然，我们也可以使用类似的方法inspect_history，但是如果有一个更加直观的管理页面可以观察会更好。
感谢你的回复。

Are you suggesting something like saving the compiled optimized json programs that DSPy creates to langfuse? (at your prompt management). Or something else? Can you give some more details of what you see happening?

Yes, after the dspy optimization prompt, I hope to be able to easily observe what changes have been made. In this way, we can do some comparisons and cost statistics.
Of course, we can also use a similar method inspect_history, but it would be better if there is a more intuitive management page to observe.
Thank you for your reply.

That´s a good suggestion. On my side, I would want DSPy integration with Langfuse. That is, I want to see the calls that DSPy makes to LLM, grouped into traces and spans.

That´s a good suggestion. On my side, I would want DSPy integration with Langfuse. That is, I want to see the calls that DSPy makes to LLM, grouped into traces and spans.
I see there was a PR for this: #200

I also noticed this PR, unfortunately，it was submitted on Oct 31, 2023, and has not been merged yet, dspy and langfuse have been updated for many versions.
So far, I have completed part of the code for chat_request and completions_request， If necessary, I will submit these changes and try to connect langfuse elsewhere.

Feel free to build on #200 @xucailiang (will need to be updated with latest DSPy and/or Langfuse changes) or open a new PR for this integration!

Feel free to build on #200 @xucailiang (will need to be updated with latest DSPy and/or Langfuse changes) or open a new PR for this integration!

As you said, I have submitted the relevant code PR thank you everyone🙏

Langfuse is a good prompt management project. I would like to know if dspy has plans to support langfuse. and I have written some code for this and am currently verifying them Thank you all🙏

Hi , @xucailiang I was still not able to see any traces of my azure model's cost on locally hosted langfuse dashboard

Langfuse is a good prompt management project. I would like to know if dspy has plans to support langfuse. and I have written some code for this and am currently verifying them Thank you all🙏

Hi , @xucailiang I was still not able to see any traces of my azure model's cost on locally hosted langfuse dashboard

hi，The PR for integrating langfuse is under review by @arnavsinghvi11 and we are all looking forward to this feature!

Langfuse is a good prompt management project. I would like to know if dspy has plans to support langfuse. and I have written some code for this and am currently verifying them Thank you all🙏

Hi , @xucailiang I was still not able to see any traces of my azure model's cost on locally hosted langfuse dashboard

Hi @Aaryaveerkrishna23 Were you able to see now as the PR got integrated into the main? Let me know if you have found out a way to see the traces using dspy and languse!

@xucailiang after your work here, is there any way to manipulate the current trace, and group together all dspy call in one trace? e.g. how to call https://python.reference.langfuse.com/langfuse/decorators#LangfuseDecorator.update_current_trace properly.
Thanks a lot!

@xucailiang after your work here, is there any way to manipulate the current trace, and group together all dspy call in one trace? e.g. how to call https://python.reference.langfuse.com/langfuse/decorators#LangfuseDecorator.update_current_trace properly.
Thanks a lot!

I don't know if this helps you, if you have any questions feel free to contact me


First time login issue "Login ID or Password is incorrect" .

Hello,
I hope everyone is doing well.
I am new to Exastro, i am deploying it using the latest one package 1.7.2.
All the steps have been followed and able to open the Login Screen.
As the "IT Automation online installation Manual", below credentials need to be used for the login
・Login ID ： administrator
・Initial password ： password
by entering it , "Login ID or Password is incorrect" error is shown.
ita_answers.txt
Kindly see the attached ita_answers.txt file and help me to get rid this issue.
Thanks and Regards
Gaurav

@Gaurav-sen1

・Login ID ： administrator
・Initial password ： password

Hello.
The User ID and the Initial Password you got from the manual are correct and should work,
so please try and log in again.

Kindly see the attached ita_answers.txt file and help me to get rid this issue.

There are no problems with the Answer file (ita_answers.txt) as far as I can see.
Please note that the password input in this file is the MariaDB User password and not the Initial ITA Login Password.
In other words, the password written in the answer file is most likely not the reason why you are having issues logging in.


Malformed WorkflowTemplate and Workflow crashes related UI again

Pre-requisites

[X] I have double-checked my configuration
[X] I can confirm the issues exists when I tested with :latest
[ ] I'd like to contribute the fix myself (see contributing guide)

What happened/what you expected to happen?
I post a debug issue before about  malformed workflow crashes related UI https://github.com/argoproj/argo-workflows/issues/9947. Thank @terrytangyuan advice about updating the latest version.
However, another malformed workflow caused crashed workflow UI in Argo UI.

I found this crash comes from first step in steps. I just used "-" istead of "- - ". workflow controller cannot identify it and caused error

Do you have any idea about recovering it with keeping all history? Every time, I have to redeploy it which will clean all history such as existed workflow template and workflow history. Seems that because I have to delete related crd such as deleting workflows.argoproj.io
Version
v3.4.3
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
  entrypoint: sync-check
  templates:
    - name: sync-check
      inputs:
        parameters:
          - name: scenario-id
      steps:
        - name: sync-check
          templateRef:
            name: sync-check-template
            template: sync-check-template

Logs from the workflow controller
E1108 07:51:55.126026 1 leaderelection.go:330] error retrieving resource lock argo/workflow-controller: leases.coordination.k8s.io "workflow-controller" is forbidden: User "system:serviceaccount:argo:argo" cannot get resource "leases" in API group "coordination.k8s.io" in the namespace "argo"
Logs from in your workflow's wait container
kubectl logs -n argo -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded

Work around - delete the malformed workflow or workflow template.

not stale

Not stale.