Build docker image and deploy to Kubernetes

@Steven-Chan

Escalated console.log to console.warn

Set default port number

Add logging function if mongoDB is available

Added Dockerfile to build image

Added Docker-compose for both app.js and mongoDB

Created deployment.yaml, service.yaml, ingress.yaml resources for Kubernetes

Created helm-chart for all resources.

Removed app id and secret from files.

Updated README instruction

@Steven-Chan

Removed autoscaling lines in values.yaml
Reorganized Dockerfile Build order
Created makefileconfig.env to define app name and registry
Created makefile to build and push docker image using values from makefileconfig.env


Make grammatical fixes to index.md

Hello! These are just a couple of grammatical fixes I came across as I was reading your documentation. Please let me know if making these fixes is helpful to you, and I will continue to do so. Otherwise, I will stop!

Any improvement is appreciated! :+1:
Should we stick to either "you" or "we" in this file (now both forms are mixed)?

Good point. I think "you" is better. Would it be helpful if I made that fix for you?

Sure, go ahead :smile:


Saving formly state in a database including hideExpression values and or options

Question
A clear and concise description of what the question is.

We need to save the state of the form when the user chooses to save.  I have successfully stored the filter model and re-inflated it which restores the users search state.  The problem is that filter model does not hold hideExpression values so when I restore the users filter Model all the values are there but some fields with values do not display because these filters are hidden by default.  All the values are correct.  I am trying to store the 'fields' but that causes a 'Type error: cyclic object value' message because I think fields can not be stringified.  I am seeking guidance on how to save not only the formly values but also the state of the form.  What is best practice for fomly persistence and retrieval?   Thank you!

hideExpression should not be saved as it evaluates the form state, the only part that you should save is the model and formState except if you generate the Formly fields dynamically, is it the case?

no formly fields are static.  for example question1 is not shown by default.  you pick a value for question1 it stores correctly, but when you load saved search you don't see question1 it is hidden by default, when you pick it in more filters you see the correct value is there.  this may be confusing for user because the value loads correctly but the filter does not 'unhide'

ok then you don't have to save the Formly fields, just rely on the model which may work
In that case could you please provide me a minimum reproduction in order to identify the issue?

filtermodel loads all the saved fields correctly (even if it's hidden).  is there a nice way to set hideExpression to false for any field that has a valid value?

https://github.com/ngx-formly/ngx-formly/issues/2381#issuecomment-662953993

autoClear is helpful and we use that during a user session.  in this case we replace the filterModel with a saved filterModel.  we don't want to clear a hidden field, we want to show it if it has a value after loading the new filterModel.  sorry i can't share the code because of corporate restrictions.  Right now I'm looking at the possibility of checking the filter model against any fields.hide=true and change that to false if the new model has a value for that field but it's a bit of a hassel to search all the leafs of our filtermodel for values.   i guess it might be the only way right now

Still not clear to me and without a minimal reproduction it even hard to provide some guidance, sorry 🙏!


Gluon vs Keras comparison request

Why not Keras? Does MXNet even support Keras 2? Is there a comparison between Keras and Gluon? It's pretty obvious this is political and not a technological decision.

why not? ;)

Unlike Keras, Gluon is Define-by-run (imperative) framework like Pytorch, Chainer.
So Keras and Gluon won't have same mecanisms.
Mxnet have 3 "API". Module, NDArray, and now Gluon
(btw I prefer Mxnet API than Keras)

Hello,

As Bernard mentioned, Keras is Symbolic API specification whereas Gluon
is mainly built around Imperative design philosophy. However, please note
that, with Gluon in MXNet, we can use Imperative, Symbolic or Hybrid.

I and Jiajie Chen are planning the work adding MXNet backend for Keras

We will announce our development plan in the dev list when we actively
start working (approx. 1 - 2 weeks from now) on it and involve the
community for contributions and early preview. Some early work with basic
mathematical operations, linear algebraic operations implemented for MXNet
in Keras2 can be seen here in my repo -
https://github.com/simpledl/keras/tree/mxnet_backend_keras2

Regards,
Sandeep
On Sat, Oct 14, 2017 at 12:46 PM, Erwan BERNARD<EMAIL_ADDRESS>wrote:

Unlike Keras, Gluon is Define-by-run (imperative) framework like Pytorch,
Chainer.
So Keras and Gluon won't have same mecanisms.
Mxnet have 3 "API". Module, NDArray, and now Gluon
(btw I prefer Mxnet API than Keras)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gluon-api/gluon-api/issues/5#issuecomment-336662217,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADPvmmv7DOvFXXcB3J6agTVuTkKzFuX2ks5ssQ-IgaJpZM4P4ana
.

--
Sandeep Krishnamurthy

I think Sandeep addressed the question raised, closing.


TextPainter should dispatch creation and disposal events.

Description

Adds TextPainter creation and disposal dispatching for memory leak tracking as part of https://github.com/flutter/flutter/issues/137311.

Tests

Updates text_painter_test.dart to test TextPainter object creation and disposal dispatching;
Fixes memory leak in _SnackBarState;
Fixes memory leak in _SwitchPainter;
Fixes memory leak in _FlutterLogoPainter;
Fixes memory leak in RenderDecoratedBox;
Fixes memory leak in BannerPainter.

Pre-launch Checklist

[X] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[X] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[X] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[X] I signed the [CLA].
[X] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[X] I added new tests to check the change I am making, or this PR is [test-exempt].
[X] All existing and new tests are passing.

cc @polina-c

@polina-c, @navaronbracke thanks for the review.
I made some adjustments according to the latest comments. Could you please take a look again?


ENH: allow p>0 for Minkowski distance

Closes #14710 (note p=0 is not possible as previously thought, see issue)
Should ideally follow #15054, but I'll resolve the merge conflicts either way (it's just cleaner if the other PR goes first).

Not sure if that's intentional, but it looks like lots of tests in test_distance.py actually use absolute rather than relative tolerance, because _assert_within_tol is often called with positional parameters that end up being filled into the signature:
def _assert_within_tol(a, b, atol=0, rtol=0, verbose_=False):

There are some that are definitely misleading (or outright false), because a call-site like
_assert_within_tol(Y1, Y2, eps, verbose > 2)

will end up calling rtol=False/True, which then presumably gets cast to 0/1.
So far I've only changed the ones that are failing here (because using small p blows up the values, so the relative errors are still small, but the absolute ones aren't), but I think these tests probably need some review if they're working as intended.
Should I raise an issue for that? @peterbell10 @tylerjereddy @rgommers

Yes I would open an issue, that looks clearly wrong.

It seems to fill and perfect the definition of p norm. In my impression, it seems to be the content of Functional Analysis and Harmonic Analysis. For 0<p<1, a Minkowski inequality seems to be proven by G. H. Hardy who is an outstanding pure mathematician in the last century (I haven't touched this for more than ten years, jut in my impression). But I don't know where p norm (0<p<1) can be applied. From my experience, it only appeared in the proof of finite element theory (Soblev space) and may be of little significance for numerical applications, If you have specific application scenarios, I'll be interested.

But I don't know where p norm (0<p<1) can be applied.

I think it's hard to imagine all the use cases that different people in different fields have. Since it's really an arbitrary restriction on the side of scipy (I had to change nothing but the if-guards), I cannot think of a reason not to support this.

Can you just remove the extra empty file? Otherwise it's good to me.

Haha, it seems like I managed to do some unintentional indirection with "ENH: allow p>0 for Minkowski distance" and created a file called 0. 😅
Thanks for the review and being so eagle-eyed! :)

Here is an example: I use p<1 to construct a custom distance field of exclusion. I am using this distance when doing a Kernel Density Estimation. The idea is to have a low probability along the axis. So new points would be sampled by avoiding to share similar coordinates.
https://www.sciencedirect.com/science/article/abs/pii/S0377221719309828?via%3Dihub

@tupui It looks like a good application for p (p \in (0, 1)) distance, thanks. So the PR is indeed an effective supplement and meaningful, IMO. Thanks @h-vetinari

Let's get this in. Thanks everyone!


Error when using a stub contract which has examples as ref

Description
Getting error when using a stub contract which has examples as ref.
Steps to reproduce

when refs is added in examples and that contract is used as a stub in other services test

examples:
    failure:
        $ref: '#/components/examples/deleteJob500'

it throws error when being used as stub where examples should not be an problem
 >> RESPONSE.BODY

       Contract expected JSON object but stub contained ""

Expected behavior
The stub must respond with correct data as set in stub json
Screenshots
If applicable, add screenshots to help explain your problem.
System Information:

OS & version: [e.g. MacOS 10.15.7]
Browser & version: [e.g. chrome, safari]
Specmatic version: [e.g. 0.17.0]
JDK version: [e.g. 14]

Additional context
Add any other context about the problem here.

hello @piyush2206, the fix for this is part of release 1.2.4. Kindly check. cc @jaydeepk


[FEA] Test CSV scheam evolution

https://github.com/rapidsai/cudf/issues/10618 made a change to pandas and as a part of that discussion I realized that we are not testing

What happens if there are duplicate columns. I think Spark is going to return an error when doing schema discovery, but I am not sure what happens when we pass in a schema and include column names.  This is even more interesting if we read a column that is a duplicate, or what happens if we ask for a column name that CUDF would generate from duplicate column names.
What happens if we have multiple files with different column names, or a different order to the columns. (schema evolution)

I tested this manually and there we are doing the right thing. It is all based off of column position, for good or bad. This means there is no real way to change the order of columns/etc without playing some games.  But it would be good to add some integration tests for this anyways.


Cannot read property 'length' of undefined

I get this unhelpful error message when trying to deploy with the below config:
  environments: {
      options: {
        current_symlink: 'current',
        deploy_path: '/webapps/<%= appConfig.package.name %>',
        local_path: './dist'
      },
      dev: {
        options: {
          host: 'my-ec2-instance.compute.amazonaws.com',
          privateKey: require('fs').readFileSync('/path/to/key'),
          tag: '<%= appConfig.package.version %>',
          releases_to_keep: '3'
        }
      }
    },

Adding a username to the options causes the connection to fail with Error: Authentication failure. Available authentication methods: publickey

Issue resolved: I was using the wrong username in the first place when I got the Authentication failure.


Community Button: Copy page link as Markdown

This (very) simple button copies the page link as a Markdown link. Very straightforward, much quick, such useful.

For curious people who want to see the script without unpacking the plist:
javascript: (function () {
    var url = location.href;
    var title = document.title;
    var markdownLink = "[" + title + "](" + url + ")";
    navigator.clipboard.writeText(markdownLink).then(function () {
        console.log('Async: Copying to clipboard was successful!');
    }, function (err) {
        console.error('Async: Could not copy text: ', err);
    });
})();

Great, can you also add a section in readme for listing community buttons with a short description for this one?

@vprelovac: Updated.


REViewer Dockerfile

Hey @hopedisastro, could you also remove the .DS_Store files - and there is an additional linting issue. Let me know if you have any questions :)


Unable to start project

After running through your readme setup, after running mix ecto.setup (updating didn't work)
I get following errors:
could not compile dependency :ssl_verify_fun, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ssl_verify_fun --force", update it with "mix deps.update ssl_verify_fun" or clean it with "mix deps.clean ssl_verify_fun"
could not compile dependency :ecto, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ecto --force", update it with "mix deps.update ecto" or clean it with "mix deps.clean ecto

Apologies for the late response, I did not receive an email from GitHub about this issue, so just noticed it now.
I have just checked on a new clone and everything seems to be working for me. However I noticed the setup instructions are slightly out of date, so I have update them. Things have changed a lot in this repo since May, so it's possible you were seeing the issue then but it might have been resolved since.


[SPARK-39497][SQL] Improve the analysis exception of missing map key column

What changes were proposed in this pull request?

Sometimes users forgot to add single quotes on the map key string literal, for example map_col[a]. In such a case, the Analyzer will throw an exception:
[MISSING_COLUMN] Column 'struct.a' does not exist. Did you mean one of the following? ...

We can improve this message by saying that the user should append single quotes if the map key is a string literal.
[UNRESOLVED_MAP_KEY] Cannot resolve column 'a' as a map key. If the key is a string literal, please add single quotes around it. Otherwise, did you mean one of the following column(s)? ...

Why are the changes needed?

Error message improvement
Does this PR introduce any user-facing change?

Yes but trivial, an improvement on the error message of unresolved map key column
How was this patch tested?

New UT

cc @srielau as well

Merging to master


Update ownCloud to <IP_ADDRESS>94

see https://owncloud.org/changelog/desktop/

Thank you for the contribution. It was merged directly as a965e049d974a6b776cb39d2fc8aa0d471a1d9e7 to keep commit history cleaner. Your contribution is still credited to you.


mypy errors

Hello,
when I run mypy on my project, I got some errors. Can you help me?
Regards,
Example
import os
from datetime import datetime

from redis_om import EmbeddedJsonModel
from redis_om import Field
from redis_om import get_redis_connection
from redis_om import JsonModel

class Message(EmbeddedJsonModel):
    content: str = Field(index=True)
    id: str = Field(index=True)

class Conversation(JsonModel):
    messages: list[Message] = Field(index=True)
    class Meta:
        database = get_redis_connection(
            url="myredis",
            decode_responses=True,
        )

mypy
Conf file
[mypy]
plugins = sqlalchemy.ext.mypy.plugin
ignore_missing_imports = True
warn_return_any = True
warn_unused_configs = True
follow_imports = normal
show_column_numbers = True
pretty = False
strict = True

Command
mypy .
Output
error: Class cannot subclass "EmbeddedJsonModel" (has type "Any")  [misc]
error: Class cannot subclass "JsonModel" (has type "Any")  [misc]

Package Version
redis-om==0.1.2
  - hiredis [required: >=2.0.0,<3.0.0, installed: 2.1.1]
  - redis [required: >=3.5.3,<5.0.0, installed: 4.4.2]
  - types-redis [required: >=3.5.9,<5.0.0, installed: <IP_ADDRESS>]
mypy-extensions [required: >=0.4.3, installed: 0.4.3]
mypy [required: >=0.780, installed: 0.991]

I'm getting the same error here
class Delivery(HashModel):
    budget: int = 0
    notes: str = ""

    class Meta:
        database = redis

So far only using type: ignore has helped. Have you found another workaround?

i did same thing, i'm still waiting a proper solution


Some slides don't show at the top

How can I make sure every slide starts at the top?

Reveal.js automatically centers everything in both the x- and y-direction, if that's what you are referring to? So if the content isn't tall enough to take up the entire slide, it will be centered. Is this the problem?

Found this question on their Github: https://github.com/hakimel/reveal.js/discussions/3069
Is this what you want to achieve?: https://revealjs.com/demo/?center=false

Found this question on their Github: hakimel/reveal.js#3069 Is this what you want to achieve?: https://revealjs.com/demo/?center=false (compared to https://revealjs.com/demo/)

Yes exactly.

Ok , so is that with the slideOption? Do I need to add center=false to every slide?
I want the slides (words) to start at the top no the center. I need the slides to start at the top because of more words I can put on it.

It is not implemented in nimiSlides yet, but it should be easy to add a global switch that makes all slides non-centered.
You don't get more space by this though, because as it is now, things will move the more content you add.

I can add it to my current PR later today or tomorrow if you would like to try it locally.

perfect thanks

@nixfreak It should be ready for a spin now. Clone this repo and switch to the writeDocs branch and nimble install it. Then you should have a version of nimiSlides which has the template disableVerticalCentering which you can call to remove the vertical centering of all slides.

`Error: type mismatch: got
but expected one of:
template disableVerticalCentering()
first type mismatch at position: 1
extra argument given
expression: disableVerticalCentering do:
nbText:
hlMd """
What is SKC?
"""`

You should just run it once at the start. Then use normal slide as usual

disableVerticalCentering()

slide:
 nbText: "Bla bla"

You should just run it once at the start. Then use normal slide as usual

Oh .. ok ill try it. thanks again. I can't believe I can use just plain html to customize everything , this is too much fun. I have already had comments from co-workers telling me it looks "so professional" lol.

So I put the disableVerticalCentering() then slide but now I have issues
`╭─nixfreak@Cha0sX in repo: nimiSlides on  writeDocs [?] is  v0.2.2 via  v1.6.12 took 5ms
[🔴] × ./sample
[nimib] config file found: /home/nixfreak/.lang/nim/nimiSlides/nimib.toml
[nimib] srcDir: /home/nixfreak/.lang/nim/nimiSlides/docsrc
[nimib] filename: ../sample.html
[nimib] setting current directory to nb.homeDir: /home/nixfreak/.lang/nim/nimiSlides/docs
/home/nixfreak/.nimble/pkgs/nimib-0.3.9/nimib.nim(48) sample
/home/nixfreak/.nimble/pkgs/nimib-0.3.9/nimib/paths.nim(24) setCurrentDir
/home/nixfreak/.choosenim/toolchains/nim-1.6.12/lib/pure/os.nim(1438) setCurrentDir
/home/nixfreak/.choosenim/toolchains/nim-1.6.12/lib/pure/includes/oserr.nim(95) raiseOSError
Error: unhandled exception: No such file or directory
Additional info: /home/nixfreak/.lang/nim/nimiSlides/docs [OSError]
╭─nixfreak@Cha0sX in repo: nimiSlides on  writeDocs [?] is  v0.2.2 via  v1.6.12 took 3ms`

Hmm I have no idea what is happening tbh. Where have you placed your sample.nim? Is it in the nimiSlides repo? Then you might have to manually create a docs dir there

Fantastic , created a docs directory and moved the sample.nim file and my images directory and everything is at the top now per slide. This is awesome. question: does it make more sense to customize the font size via  tags or css?

I can't believe I can use just plain html to customize everything , this is too much fun. I have already had comments from co-workers telling me it looks "so professional" lol.

That's awesome to hear! :D

This is awesome. question: does it make more sense to customize the font size via tags or css? Is there a way to use css for customizing ?

I would say it depends. If you want to change the font-size globally, you should do it using CSS. But if there is just a few places where you want to change it, it could make sense to add a way to pass in the font size for that specific nbText. To add CSS you can use addStyle:
nb.addStyle: """
:root {
  --r-main-font-size: 42px;
}
"""

See a list of all the CSS variables here.

Also do you plan to implement "hot code reloading", or just have a nims script to compile and execute the file ?

This is something for nimib to implement and not something that will be implemented here. But I don't think this is something that will be done in the foreseeable future.  To have a nimib-serve that automatically builds when a file has changed is the more plausible of the two options you mentioned, though. It's not that much work to recompile your program and refresh the webpage. But if someone would contribute it, we wouldn't say no ;)


[Minor] Change Footer stories extension to .tsx and deprecated prop logoSrc removed

Summary:

Change Footer stories file extension to .tsx instead of .jsx.
Deprecated prop logoSrc removed. Now the logo prop of a Social link changes its type to string | SVG.
Documentation and tests updated.

Why did you decide to remove the logoSrc prop? Is a decision from the team?

Yes, @jsardid approved this. We should start removing logoSrc and iconSrc props and change their counterpart logo and icon types to string | SVG in every component.


Question on Roaming the activation token

In section “How Shared Computer activation works for Office 365 Pro Plus” it says: If the user is licensed for Office 365 ProPlus, a licensing token is stored on the computer in the user's profile folder, and Office 365 ProPlus is activated …. If a user goes to another computer that also is enabled for shared computer activation, the same steps occur. There is a different licensing token for each computer that the user logs on to.
Later in “Additional details about shared computer activation for Office 365 ProPlus“ it says: Starting with Version 1704 of Office 365 ProPlus, you can configure the licensing token to roam with the user's profile
•	And To edit the registry, go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration, add a string value of SCLCacheOverride, and set the value to 1. Also, add a string value of SCLCacheOverrideDirectory and set the value to the path of the folder to save the licensing token.
Question is: What is the second section above (with the registry key changes) for if the licensing token is already stored in the user’s profile folder? Does this second option do something different; i.e. possibly is the token different; i.e. not computer specific? Or is this second part applicable to versions of Office where the roaming of the activation key isn't in the user's profile as it is now? And if so, at what version was this change made?
Thanks,
Brent Bishop with the FSLogix team. We help roam user profiles and Office 365 data caches and so understanding this information is important to us.

This question is  too different  to answer from myside , Let wait for some days, This article authors might will help

Any comment here? My original question might be confusing because it took me a minute or two to figure out what I was saying. So the simplified question is: It says in one spot that the licensing is already in the profile. So if that is the case, what does the new reg value (SCLCacheOverrideDirectory) do or what does it do differently? Is it just if you want to place the licening file somewhere other than the default location in the profile? If so this could be made more clear that it is only needed for non-default locations because to me it seems to say that it is needed if you want the licensing token in the profile.

Hello @brbish
Sorry for the delay. BY default the apps stores the SCA token in local appdata. The SCLCacheoverride option allows the Admin to move that location to another desired location. Some admins want to store it elsewhere which is what this reg key enables. SCLCacheoverride set to 1 and SCLcacheoverridedirectory with a path to a location that you choose.


Configurable picklist controls

Configurable Picklist controls (default hidden)

You did it @swethavemuri-anthem!
Thank you for signing the Anthem Opensource Software CLA.


Updates for Bazel 0.23 compatibility

Summary of changes:

Add support for latest Bazel version 0.23.1

rules_docker: Updates rules to latest version

rules_scala: Updated rules to latest version

rules_scala: Use Scala version 2.12.8

Update protobuf library to version 3.6.1

Update travis CI to use Bazel 0.23.1

Hi, @rohanag12, thanks a lot for your contribution!
There are some other works going on as well with Bazel 0.21. I believe this is the current state: https://github.com/kramasamy/heron/compare/master...kramasamy:karthik/bazel021
Let's collaborate and decide what we should do.

@nwangtw The Bazel upgrade was taken up by @skanjila on #3166, but was missing a few changes. I am collaborating with @skanjila on Heron slack, but we should move the discussion to GitHub.

@nwangtw Reverted whitespace changes.

Overall LGTM.
I'd like to have approvals from Bazel experts before merging into master. @kramasamy @joshfischer1108, @skanjila?  Thanks in advance~


Add new ref types for ref structs?

I was catching up on the latest in Dotnet 7 and I see the ability for ref types in ref structs seems like it could be a major boon for this project. This isn't so much an issue as a flagging to see if something like this would be possible to implement for c2cs.
https://github.com/dotnet/csharplang/blob/main/proposals/low-level-struct-improvements.md

Thanks for link! (Moved to https://github.com/dotnet/csharplang/blob/main/proposals/csharp-11.0/low-level-struct-improvements.md)
When .NET 7 / C# 11 is dropped I will be sure to look into this.


Add confirmation menus wherever needed

Is your feature request related to a problem? Please describe.
This issue addresses the need for confirmation menus. Instead of waiting for a message, use a button to get the recipient to press. The user can either respond by clicking confirm, deny, or give no input (essentially timing out the view). We have already developed a solution that makes this work.
This issue is just present to remind us that there are still certain confirmation menus that need to be added. Examples of areas that need the revamp include prestige and the like. There are also some places where a confirmation view hasn't been added, but should be.
Describe the solution you'd like
Note that adding this solution means we need cannot allow the user to have multiple confirmation menus open at once. This means we have to detect when another confirmation is already active and prompt the user to finish that one first.
Apply the confirmation view to all parts of the bot that currently use an alternative, and add new confirmation menus to some other commands if necessary.
Describe alternatives you've considered
It has been noted that the amount of edits the bot makes during these confirmations are excessive. In a single confirmation, the bot makes 3 API calls to edit the confirmation message. This isn't really a problem for the scale of the bot as it is right now, but as the load increases due to increased traffic, this would cause ratelimits applied on the bot for these associated headers.
Since the bot actually has to respond to buttons being pressed, it's not really possible to reduce the number of edits. I will try to tinker around with it though and see what can be done.
Additional context
Confirmation views (or panels) are needed to double check that the user is actually sure they wish to do something. In the past, when buttons weren't around, developers had to wait for message events (i.e. waiting for a message to be sent by the user and checking every single one). The new buttons are a great way to implement this commonly needed feature.

We have already started work on this here: https://github.com/SGA-A/c2c/commit/43eefb79621f4a4ce53369141f932107732b40f2
There are still some bugs as of the latest commit though that I will update in the next push.

This appears to be an issue in several other places throughout the bot.
To prevent creating a duplicate issue, this one is reopening.
The problem is still prevalent in places such as bulk adding roles to users, purging messages (the context menu) and many other areas.


Updates topsoil plots with API changes

Still have the problem of having to kick-start the plot with the regression line toggle.  Thanks for the hard work.

I'll resolve and merge this once I straighten out Topsoil's issues.

@bowring This should work now.


string_shuffle

To shuffle a given string.
Sample implementation:
/// @param	{str}	string		the string to shuffle
///
/// @description	Return the shuffled string
/// @date			2024-01-24
/// @copyright		Appsurd

function string_shuffle(_str_input)
{
	var str_output = "";
	var i = 1;
	repeat (string_length(_str_input))
	{
		str_output = string_insert(string_char_at(_str_input, i), _str_input, irandom(i));
		i += 1;
	}
	return str_output;
}```

Yes, I developed this for a word game. It's simple and its functionality is straightforward, but I was personally surprised that GameMaker didn't support this functionality by default. That's why I opted to propose this functionality here.


qb_move: 2.2.2-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository qb_move to 2.2.2-1:

upstream repository: https://bitbucket.org/qbrobotics/qbmove-ros.git
release repository: https://bitbucket.org/qbrobotics/qbmove-ros-release.git
distro file: noetic/distribution.yaml
bloom version: 0.10.7
previous version for package: null

qb_move

No changes

qb_move_control

No changes

qb_move_description

No changes

qb_move_gazebo
* Set c++ standard 17 in gazebo packages

qb_move_hardware_interface

No changes

Holding for Noetic sync

This looks like a duplicate of https://github.com/ros/rosdistro/pull/30601


how to get job id of current running job in azure.ai.ml dsl pipeline?

hi i am running the @dsl.pipeline decorator as below: to create a yolov8 training on custom dataset
i would like to know how to get the job id of output of data_split pipeline component as i need to get to the directory of this output_folder. Any thoughts?

issue resolved


recurse and out sol files in array

Task linked: CU-86bx7a1nn as a developer, I want to have access to every sol file recursively


find the odd-(I-1) spin+energy state which corresponds to a given even-I spin state

Implemented in this commit.


Initial Module function implementation

In Web Assembly Function bodies, initialization values for globals, and offsets of element or data segments are defined as Expressions. expr::=instr* end.
Binaryen implementation uses a type attribute inside the Expression to represent the end in the expr.
Expression in Binaryen is not directly equivalent to Expression in Web Assembly.
Define a record for each Expression use the type variable if needed.
Use Tables instead of Map as needed.
Use cast when only necessary

Binaryen does not do implicit validation of the module. In the C-API it has a function BinaryenModuleValidate which should be called if the module should be validated.


Save As fails in Pro 2.1 with Exception Message Box

Save As FeatureClass/Shapefile/KMZ fails with exception when testing at Pro 2.1
Repro steps:

Create graphics (any type line, circle, etc.)
Save As
Message box exception (screenshot below)
(Tested with DistanceAndDirection.esriAddinX)

Stack trace says this is the line - though not sure why this code uses a selected layer:
https://github.com/Esri/distance-direction-addin-dotnet/blob/dev/source/addins/ProAppDistanceAndDirectionModule/ProAppDistanceAndDirectionModule/Models/FeatureClassUtils.cs#L139

This was just an issue with the daily build (<IP_ADDRESS>57) not the addin - closing


Add resources/games endpoint

Is your feature request related to a problem? Please describe.
I'm working on a stats web app, and I discovered this endpoint[1] that would remove the need for a switch case operator that converts game types and reduce file size.
Describe the solution you'd like
It'd be great to have the endpoint added to node-hypixel.

This was added in the 4.0 update.


add maharaja agrasen university

add maharaja agrasen university
school address: https://mau.ac.in/
email suffix: mau.edu.mk

@jianlong0808 Regrettably, this request has signs of fraud. I have to close it without merging. If you are a student of this school, please apply with official document ("OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students).


[CWS] fix kernel header downloading on opensuse 15.5

What does this PR do?
This PR bumps nikos to include a fix for kernel headers downloading on opensuse 15.5 and associated sles versions. It also re-enables the opensuse 15.5 arm64 test that was disabled while we investigated the issue.
Motivation
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes

/merge


change the "category" key across the whole adapter

Description
This PR changes :

category" : "abc"  to "category" : {"name" : "abc" ,"metadata":null}
model-DisplayName to DisplayName

Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

These changes have been fixed by another PR. So closing it.


Load images from js

Load images with js script, delete the show images button

Awesome work Santi!


Reduce the number of katas prebuilt on Binder

This change removes several least frequently used katas from Binder prebuild to reduce the build time on Binder.

I've checked that with this change Binder prebuild completes successfully and much faster than it used to be. The excluded katas work fine as well.


Fixed typo in docs/topics/auth/passwords.txt.

Wrapped hashing is only possible if the inner wrapped function is the same as the previous hasher
No Trac ticket as this is a trivial PR

I see on the CLA FAQ that signing the CLA isn't needed for trivial PRs. Please advise.

@fschwebel Thanks :+1: Welcome aboard :boat:


#488 Made Feature member id protected

To prevent same name declaration issues for JSON fields. See issue #488.

Thanks for the PR!


Allow filtering of logs with a callback

... or something similar. This would allow to limit the logs in the console to certain routes, filetypes et al.

Use case here with to filter logs based on route.

In v4, we've removed the concept of log level filtering in the interest of a smaller logging runtime: https://github.com/GoogleChrome/workbox/blob/94d34d687cf4ab68f76cca938dba590ba3d7b630/packages/workbox-core/_private/logger.mjs
The general advice moving forward is for developers to use the built-in filtering (either log level based, or via substrings) in their browser's DevTools.
CC: @philipwalton


adds support for colcon args when building colcon workspace

This PR adds support for passing arguments to colcon when using fzirob make colcon. For example one can call fzirob make colcon -- --symlink-install --packages-select abc. If colcon arguments are passed, the colcon arguments defined in the config are discarded.
clickit only supports unlimited values for arguments or when using the multiple keyword, requiring the user to pass the --colcon-args argument mutiple times.
You can have unlimited values when using Arguments, but to stop clickit from interpreting something like --symlink-install as an argument the -- is required. It tells clickit to interpret everything after it as arguments (see here).

Codecov Report
Attention: Patch coverage is 73.33333% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 45.66%. Comparing base (077fd4d) to head (2a81227).
Report is 1 commits behind head on main.

Files
Patch %
Lines

src/robot_folders/helpers/build_helpers.py
78.57%
3 Missing :warning:

src/robot_folders/commands/make.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
- Coverage   45.84%   45.66%   -0.19%
==========================================
  Files          26       26
  Lines        1444     1430      -14
==========================================
- Hits          662      653       -9
+ Misses        782      777       -5

Flag
Coverage Δ

unittests
45.66% <73.33%> (-0.19%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

With that approach it unfortunately isn't clear for users how to use that feature. We could use an option with a custom class as described here: https://stackoverflow.com/a/48394004

now the user passes the arguments with the --colcon-args argument, for example with fzirob make colcon --colcon-args --symlink-install --packages-select foobar. All arguments after the --colcon-args flag are interpreted as colcon arguments, so calling something like fzirob make colcon --colcon-args --help would show the colcon help screen instead of the one for fzirob. It also only works when explicitly for fzirob make colcon and not for fzirob make.

@taDachs if you could provide some docs for this change I think that would be fine. Testing the build-related helpers still needs some work, so requiring a test for these changes doesn't seem reasonable to me.


Weixi's updates

I figured I'd make a pull request out of Weixi's updates to make it easier to review them.

RE @mvcccccc

I'll take a look at them soon.


Add flag and env parsing and validation for targetrepo and localdir

Add initial flag
targetrepo and localdir work from env and flags

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

20 of 41 (48.78%)  changed or added relevant lines in 3 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.2%) to 49.657%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmd/root.go
0
1
0.0%

cmd/runwebhookserver.go
18
28
64.29%

internal/env.go
2
12
16.67%

Files with Coverage Reduction
New Missed Lines
%

cmd/runwebhookserver.go
1
71.43%

internal/env.go
1
37.5%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
362

Relevant Lines:
729

💛  - Coveralls


Keep history of searches

FZF has a very interesting feature, it remembers all your searches and allows you to scroll them to repeat past search.
For example, suppose you use zsh-fzy (you really should merge #58, btw 😉) and you want to select two files that both match your filter "myverylongfilter".
Ideal way of course is to use multiple selection (#93) and just select both files at once, but you could have also selected a file, then fire up fzy again and press a shortkey to bring up the last search instead of typing "myverylongfilter" again.
The relevance of this request really depends on your decision about multiple selection (#93), if it gets implemented the need for history will become much smaller for me.

I don't know @maximbaz whether it's related to your question or not, but I have a request on a similar concept: I have a project that is located at /home/stefanos/code/ and in it I have multiple folders with subfolders that contain files.
If I open a file which is located at, let's say /home/stefanos/code/folder-a/foo.php, I cannot go back to /home/stefanos/code and look for another file or folder.
I guess my issue is more related to Vim's script than fzy's.

I have solve it by doing something simple.
I have changed the original Vim sample as follows:
function! FzyCommand(choice_command, vim_command)
  try
    let output = system(a:choice_command . " | fzy ")
  catch /Vim:Interrupt/
    " Swallow errors from ^C, allow redraw! below
  endtry
  redraw!
  if v:shell_error == 0 && !empty(output)
    exec a:vim_command . ' ' . output
  endif
endfunction

let findcwd = "find " . getcwd() . " -type f"
nnoremap <leader>e :call FzyCommand(findcwd, ":e")<cr>
nnoremap <leader>v :call FzyCommand(findcwd, ":vs")<cr>
nnoremap <leader>s :call FzyCommand(findcwd, ":sp")<cr>

This works exactly as I wanted it.


ARROW-15178: [Java][Docs] Java Tutorial: Developer Docs for Java

Task related to: https://issues.apache.org/jira/browse/ARROW-15178

To get CI to pass for now: we can copy the changes to ci/conda_env_cpp.txt from this PR: https://github.com/apache/arrow/pull/12320/files#diff-758844ffabc3a7dbed762fc3797febbe05f41bc9c675bfa9f4fc8dc89c91abfdR25

Also, if you rebase, CI should be fixed.

+1, will merge on green


PMID:19948483 NTR

mitotic spindle collapse during anaphase B elongation with progressive spindle pole congression

Addressed in protege


Could you let me know the release date for v5?

Could you let me know the release date for v5 (next branch)?
I am preparing a technical sharing seminar on JOSDK within our company, and I think it would be better to explain it based on v5 after its release. Could you let me know the release schedule for v5?

From our side the v5 is almost ready, there might be some additional PR-s mainly regarding release notes and some minor improvements until the release. However the intention is to make the release based on fabric8 client v7, so basically we are waiting for that, that is also close to release but we don't have any exact target date for that, hopefully until end of this Month or maybe next it should be released.

thank you for letting me know!

Closing this issue since it's been addressed.


GML support?

Is there a way to use Fiona to access GDAL's support for GML?
Here is the error I encounter when trying:

File "ogrext.pyx", line 588, in fiona.ogrext.Session.start (src/fiona/ogrext.c:10587)
File "_err.pyx", line 67, in fiona._err.GDALErrCtxManager.__exit__ (src/fiona/_err.c:938)
OSError: b'Unable to open EPSG support file gcs.csv.\nTry setting the GDAL_DATA environment variable to point to the\ndirectory containing EPSG csv files.'

I am using the Anaconda distribution of GDAL and Fiona.

No, Fiona doesn't support GML. GML requires a complete XML toolchain and GDAL's support for it is limited.
ContinuumIO's GDAL Anaconda package has been broken for a long time. There's an issue filed about it at https://github.com/ContinuumIO/anaconda-issues/issues/221.


Test Seamless-SSO in non-federated environments

Enable customers to get SSO for integrated windows authentication when they have a managed tenant with password hash-sync or pass through authentication, and the device is domain joined.  Waiting for server team to whitelist MSAL before testing.

This has been enabled by server team.


Virtual paging demo broken

Kind of the only reason I was looking into ngx-datatable is the virtual paging, which is currently broken on your online demo page and I can't seem to get the demo working locally either.
I'm submitting a ...  (check one with "x")
[X] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
When I click on "Paging - Virtual Server Side" demo link at https://swimlane.github.io/ngx-datatable/#virtual-paging, no rows appear and there is an error in the console:
ERROR Error: query at index -1 failed: Fenwick tree array not initialized.
at e.query (app.js:1)
at e.get [as scrollHeight] (app.js:1)
Expected behavior
I expected to see the datatable populated with rows returned from the server.
Reproduction of the problem
Go to https://swimlane.github.io/ngx-datatable/#virtual-paging
What is the motivation / use case for changing the behavior?
To make it work.
Please tell us about your environment:
Windows 10, Chrome

Table version: 0.8.x
11.1.4

Angular version: 2.0.x
Not sure what version of Angular is running on your online demo page

Browser: Chrome 64.0.3282.24

Language: [all | TypeScript X.X | ES6/7 | ES5]

I beleive this was fixed a while back.


Please provide an example of the step 7 "In the Command box, enter powershell.exe with parameters specifying the PowerShell script to be run."

What might this imply:
"In the Command box, enter powershell.exe with parameters specifying the PowerShell script to be run."
Please iterate the correct parameters.  Are the parameters

" set-executionpolicy"
" -file"
" must the file include a path?"
" is the file a .ps1, or psmx?"
" somthing else"

The error received for the situation I am looking at is:

Unexpected token, which is this case appears to be a legitimate PowerShell character "{"

It would be far more helpful if this documentation has a simple example included or step 7

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

ID: db6f2a8a-7b0a-b5b6-7095-b7569d2c23bb
Version Independent ID: 26d6594a-6d7d-7091-0f4b-382bb4a38ebe
Content: Run Windows PowerShell Steps in SQL Server Agent - SQL Server
Content Source: docs/powershell/run-windows-powershell-steps-in-sql-server-agent.md
Product: sql
Technology: sql-server-powershell
GitHub Login: @markingmyname
Microsoft Alias: maghan

@Matteo-T
do you have a recommendation?

Mark,
Sort of… One of the items I deal with in a military operation is the presence of security rules that require all extended stored procedures be disabled.
The command line is the one option that allows me the use of sqlcmd to briefly enable and subsequently disable to ability to run Powershell commands.  I’m not sure that is what you are looking for here though.   Unfortunately this was quite some time ago and I cannot recall the context.
Seems the TLS 1.2 is almost always an issue – add the line.  The other issue had to do with the xp_cmdshell being disabled as I recall.   Still fuzzy on the context though.   I believe what I did to get around the command shell being disabled has something to do with the questions I asked you about.
Jamie
==============Begin===============
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]:Tls12
Create a batch file to enable xp_cmdShell
@batch1=@”
Exec sp_configure ‘show advanced options’ ,1
RECONFIGURE
“@
Enable xp_cmdshell
@batch2=@”
Exec sp_configure ‘xp_cmdshell’ ,1
RECONFIGURE
“@
Disable xp_cmdshell
@batch3=@”
Exec sp_configure ‘xp_cmdshell’ ,0
RECONFIGURE
“@
Turn Off Advanced Options
@batch1=@”
Exec sp_configure ‘show advanced options’ ,0
RECONFIGURE
“@
enable xp_cmdshell temporarily to launch powershell
Invoke-sqlcmd -query $batch1
Invoke-sqlcmd -query $batch2
launch powershell scripts
Set-Location “X:\myfolder\myPSfiles”
Invoke-Expression “X:\myfolder\myPSfiles\myPS1.ps1”
Invoke-Expression “X:\myfolder\myPSfiles\myPS2.ps1”
disable xp_cmdshell for security reasons
Invoke-sqlcmd -query $batch3
Invoke-sqlcmd -query $batch4
============== End ===============
From: Mark Ghanayem @.>
Sent: Tuesday, November 16, 2021 12:29 PM
To: MicrosoftDocs/sql-docs @.>
Cc: James Longstreet @.>; Author @.>
Subject: Re: [MicrosoftDocs/sql-docs] Please provide an example of the step 7 "In the Command box, enter powershell.exe with parameters specifying the PowerShell script to be run." (#6652)
@Matteo-Thttps://github.com/Matteo-T
do you have a recommendation?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/sql-docs/issues/6652#issuecomment-970499638, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJB7LGK2PIR7IH24C7P44IDUMKIHHANCNFSM5BJC4SKQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@JamieL22 / @markingmyname - I've sent out a PR to, hopefully, address the original questions asked in this issue. I am not sure how to read the follow-up post from @JamieL22, so please feel free to let me know if there are other things that are worth a little clarification. The gist is that you can pass pretty much what you can do if you do "PowerShell.exe -?" (with the usual caveats about escaping and such).

Thank you, @Matteo-T.
@JamieL22,
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion, and we will reopen the issue. To see what the community is wanting, please visit the SQL Server User Feedback site.


Setting collapseIcon = true does not work

The logic in this line is never false.
Setting a breakpoint confirms this. The expression evaluates to false in this case even though there is no iconRes or icon set.

Could you check if collapseIcon is actually true there? I just tested this locally, and it seemed to work.
Note that the collapseIcon attribute currently has to be set on every screen/subScreen and isn't inherited from the parent screen.

Note that the collapseIcon attribute currently has to be set on every screen/subScreen and isn't inherited from the parent screen.

Oh
That was it, thanks!

Alright, good to know it's not a bug.
But this shows me the current design is neither obvious nor that great. I'll look if I can tune this for a future release. I think when I finally introduce the storage abstraction, I could also include a few other behavior changes as part of a major release.


Fix read and delete functions

When a resource was deleted, the read function would report no change instead of setting the state to null.
The delete function would throw an error if the resource had already been deleted, instead of just continuing.

Just to understand, when you say "When a resource was deleted,", does this refer to a resource being removed by a process other than terraform?

Yep.


Add pydantic 2 support

Checklist

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

@cosmicBboy Have you had a chance to look at this?  It seems like something weird is going on with the packaging...

This pandera-core package doesn't show up anywhere in the main multi-package pandera-feedstock repository.
pandera v0.17.2 appears to have never gotten published to conda-forge
If I try to install pandera with pydantic>=2 with mamba it detects the pandera-base dependency which is fine with pydantic v2.
If I try to create a conda-lock.yml using conda-lock instead it detects a pandera-core dependency which (as this PR highlights) prohibits the use of pydantic v2.

This works fine:
 mamba create -n test-deps pandera=0.17.1 pydantic=2.4.2

This fails, because pandera=0.17.2 does not exist in conda-forge:
 mamba create -n test-deps pandera=0.17.2 pydantic=2.4.2

This fails, because pandera-core is incompatible with pydantic v2:
mamba create -n test-deps pandera-core=0.17.1 pydantic=2.4.2

This works, because unlike for pandera and pandera-base, pandera-core v0.17.2 does exist on conda-forge:
mamba create -n test-deps pandera-core=0.17.2 pydantic=1.10

However, when I am creating my conda-lock.yml based on a pyproject.toml that specifies pandera>=0.17 it chooses to install pandera-core (alone) rather than pandera + pandera-base which means if I also specify pydantic>2 the solve fails.
If I try to generate a lockfile from this environment.yml:
---
channels:
  - conda-forge
dependencies:
  - "pandera>=0.17"
  - "pydantic>=2"

conda-lock --mamba -f environment.yml

It succeeds, and chooses to install pandera and pandera-base.
However, if I attempt to build a lockfile on the basis of my real pyproject.toml which specifies the same versions as the above environment.yml it chooses to install only pandera-core and thus I can't install pydantic>=2. I haven't come up with a minimal reproducible example yet.
What determines whether pandera + pandera-base or pandera-core get installed, if the dependency being specified is just plain-old pandera?

Ahh. Some additional background on the pandera v. pandera-core v. pandera-base packaging in this issue: https://github.com/unionai-oss/pandera/issues/725

okay, yeah we should sunset the pandera-core recipe I think

@cosmicBboy If it's going to take a while, should we go ahead and merge this PR in advance of retiring the pandera-core recipe, just to avoid this conflict with Pydantic v2, which I think isn't real?


sidecar startup log

Adds a log when sidecar has booted successfully to help with tests debugging.

closing as this was merged into pear-rpc branch https://github.com/holepunchto/pear/pull/96


How to set the ckks parameter to achieve the smallest ciphertext size

I only need to encrypt and sum up k one-dimensional floating-point vectors. The maximum length of the vector is 2000. How can I set the ckks parameter to achieve the smallest ciphertext size?
import numpy as np
from Pyfhel import Pyfhel

HE = Pyfhel()           # Creating empty Pyfhel object
ckks_params = {
    'scheme': 'CKKS',   # can also be 'ckks'
    'n': 2**11,         # Polynomial modulus degree. For CKKS, n/2 values can be
                        #  encoded in a single ciphertext.
                        #  Typ. 2^D for D in [10, 16]
    'scale': 2**30,     # All the encodings will use it for float->fixed point
                        #  conversion: x_fix = round(x_float * scale)
                        #  You can use this as default scale or use a different
                        #  scale on each operation (set in HE.encryptFrac)
    'qi_sizes': [60, 30, 30, 30, 60] # Number of bits of each prime in the chain.
                        # Intermediate values should be  close to log2(scale)
                        # for each operation, to have small rounding errors.
}
HE.contextGen(**ckks_params)  # Generate context for bfv scheme
HE.keyGen()             # Key Generation: generates a pair of public/secret keys
HE.rotateKeyGen()

arr_x = np.random.random(2000)

ptxt_x = HE.encodeFrac(arr_x)   # Creates a PyPtxt plaintext with the encoded arr_x

ctxt_x = HE.encryptPtxt(ptxt_x) # Encrypts the plaintext ptxt_x and returns a PyCtxt

I set n to 2**11 and then encrypt the array but get the following error:
ValueError: encryption parameters are not set correctly
Exception ignored in: 'Pyfhel.Pyfhel.Pyfhel.keyGen'
ValueError: encryption parameters are not set correctly
RuntimeError: <Afseal>: Context not initialized
Exception ignored in: 'Pyfhel.Pyfhel.Pyfhel.rotateKeyGen'
RuntimeError: <Afseal>: Context not initialized
Traceback (most recent call last):
  File "a.py", line 25, in <module>
    ptxt_x = HE.encodeFrac(arr_x)   # Creates a PyPtxt plaintext with the encoded arr_x
  File "Pyfhel/Pyfhel.pyx", line 688, in Pyfhel.Pyfhel.Pyfhel.encodeFrac
  File "Pyfhel/Pyfhel.pyx", line 707, in Pyfhel.Pyfhel.Pyfhel.encodeFrac
RuntimeError: <Afseal>: CKKS context not initialized

Try to not specify the qi_sizes. The ones in your example are too large for n = 2**11, so it's better to let SEAL choose them appropriately for that n.

Try to not specify the qi_sizes. The ones in your example are too large for n = 2**11, so it's better to let SEAL choose them appropriately for that n.

Pyfhel does not allow not setting qi_size.
AssertionError: CKKS scheme requires a list of prime sizes (qi_sizes) or primes (qi) to be set
Exception ignored in: 'Pyfhel.Pyfhel.Pyfhel.contextGen'
AssertionError: CKKS scheme requires a list of prime sizes (qi_sizes) or primes (qi) to be set
RuntimeError: <Afseal>: Context not initialized
Exception ignored in: 'Pyfhel.Pyfhel.Pyfhel.keyGen'
RuntimeError: <Afseal>: Context not initialized
RuntimeError: <Afseal>: Context not initialized
Exception ignored in: 'Pyfhel.Pyfhel.Pyfhel.rotateKeyGen'
RuntimeError: <Afseal>: Context not initialized
Traceback (most recent call last):
  File "Demo_3_ckks.py", line 62, in <module>
    ptxt_x = HE.encodeFrac(arr_x)   # Creates a PyPtxt plaintext with the encoded arr_x
  File "Pyfhel/Pyfhel.pyx", line 688, in Pyfhel.Pyfhel.Pyfhel.encodeFrac
  File "Pyfhel/Pyfhel.pyx", line 704, in Pyfhel.Pyfhel.Pyfhel.encodeFrac
  File "Pyfhel/PyPtxt.pyx", line 43, in Pyfhel.PyPtxt.PyPtxt.__cinit__
RuntimeError: <Afseal>: Context not initialized

Let's write the entire operation you wish to compute:
import numpy as np
from Pyfhel import Pyfhel

# Initialize Pyfhel
HE = Pyfhel()           # Creating empty Pyfhel object
ckks_params = {'scheme': 'CKKS', 'n': 2**12,  'scale': 2**30,  'qi_sizes': [30, 30, 30]}
status = HE.contextGen(**ckks_params)  # Generate context for ckks scheme
print(status)            # Should print 'sucess: valid' if everything is OK. Otherwise the `keyGen` and `rotateKeyGen` ops will raise exceptions.
HE.keyGen()             # Key Generation: generates a pair of public/secret keys
HE.rotateKeyGen()

# Generate data
k = 1000
np.random.seed(42)
arr_x = np.random.random((2000, k))

# Operate: add all ciphertexts and all slots.
ctxt_rows_x = [HE.encryptFrac(row_x) for row_x in arr_x] # Encrypt each row of arr_x
ctxt_colsum = sum(ctxt_rows_x)                                      # Sum all ciphertexts into one
ctxt_sum    = (+ctxt_colsum)                                           # Uses `HE.cumul_add` to sum the slots of ctxt_colsum using log2(n) rotations and additions

# Check result
expected   = arr_x.sum()
interm_res = HE.decrypt(ctxt_rowsum).sum()
result        = HE.decrypt(ctxt_sum)[0]

print(f"Expected:     {expected}")
print(f"intermediate: {interm_res}")
print(f"result:       {result}")

Let's write the entire operation you wish to compute:
import numpy as np
from Pyfhel import Pyfhel

# Initialize Pyfhel
HE = Pyfhel()
ckks_params = {'scheme': 'CKKS', 'n': 2**12,  'scale': 2**30,  'qi_sizes': [30, 30, 30]}
status = HE.contextGen(**ckks_params)  # Generate context for ckks scheme
print(status)            # Should print 'sucess: valid' if everything is OK. Otherwise the `keyGen` and `rotateKeyGen` ops will raise exceptions.
HE.keyGen()
HE.rotateKeyGen()

# Generate data
k = 1000
np.random.seed(42)
arr_x = np.random.random((2000, k))

# Operate: add all ciphertexts and all slots.
ctxt_rows_x = [HE.encryptFrac(row_x) for row_x in arr_x] # Encrypt each row of arr_x
ctxt_colsum = sum(ctxt_rows_x)  # Sum all ciphertexts into one
ctxt_sum    = (+ctxt_colsum)    # Uses `HE.cumul_add` to sum the slots of ctxt_colsum using log2(n) rotations and additions

# Check result
expected   = arr_x.sum()
interm_res = HE.decrypt(ctxt_rowsum).sum()
result     = HE.decrypt(ctxt_sum)[0]

print(f"Expected:     {expected}")
print(f"intermediate: {interm_res}")
print(f"result:       {result}")

You can play with different parameter sets, validating both the parameter set and the result of the operation you wish to perform.

Thanks a bunch for your detailed answer, it's helped me a lot!

#177


Simulating MPC

I am working on simulating MPC for India using Econpizza. I tried using the get_distributions() function to get the disaggregated variables after applying a shock to wages(e_w) through find_path(). However, I am unsure how to recover MPCs after applying the shock. Please let me know if there is any other way of simulating MPCs using Econpizza. Any help would be greatly appreciated.

Hi Atish,
Thanks for getting in touch. I have not calculated MPCs for my research, so there is no ready code that I can give you.
In general, get_distributions will give you (sequences) of everything you define during the decisions stage and state as an output (specified in the key outputs). The best way would thus probably to check and adapt how others are calculating MPCs (e.g. Kaplan, Moll, Violante) and then add the respective code to egm_step (or whatever your iteration function is).
You are welcome to post the results here as a reference for others.
Best,
Gregor

Thanks a lot, will try to work it out and share the results.


"No content received"

Hi, I installed the plugin following the instruction and added it to contentType, but I can't seem to make a successful POST request I keeping getting the following error

I have the following in my package.json
"knex": "^0.21.14",
"sqlite3": "^5.0.0",
"strapi": "3.4.1",
"strapi-admin": "3.4.1",
"strapi-connector-bookshelf": "^3.4.1",
"strapi-connector-mongoose": "3.4.1",
"strapi-plugin-comments": "^1.0.1-beta.2",
"strapi-plugin-content-manager": "3.4.1",
"strapi-plugin-content-type-builder": "3.4.1",
"strapi-plugin-email": "3.4.1",
"strapi-plugin-graphql": "3.4.1",
"strapi-plugin-upload": "3.4.1",
"strapi-plugin-users-permissions": "3.4.1",
"strapi-utils": "3.4.1"
Any help will be appreciated

Hi @lesleyracs ,
Try to add following property to your request body:
	"related": [{
		"refId": 1,
		"ref": "article",
		"field": "comments"
	}]

Thanks, it worked.

I have encountered the very same problem, although the posted solution didn't work for me. I get still the same error and it doesn't matter how the body of the request look like.

Catched on zoom and solved :)

Hi, i also had the same problem but with axios and formdata, in postman it worked.
      const formData = new FormData();
      formData.append('data', JSON.stringify(this.comment))

      this.$axios.post('/comments/article:'+this.relatedid, formData)
      .then(response => {
        console.log(response)
      })
      .catch(error => {
        console.log(error)
      })

In console

Strapi version 3.4.5

Hi, i also had the same problem but with axios and formdata, in postman it worked.
      const formData = new FormData();
      formData.append('data', JSON.stringify(this.comment))

      this.$axios.post('/comments/article:'+this.relatedid, formData)
      .then(response => {
        console.log(response)
      })
      .catch(error => {
        console.log(error)
      })

In console

Strapi version 3.4.5

@chandrastrez thats probably the issue with header Content-Type in axios as by default it send plain text. Force it to be a json and will work.
thats purely axios case, not the plugin.

@chandrastrez thats probably the issue with header Content-Type in axios as by default it send plain text. Force it to be a json and will work.
thats purely axios case, not the plugin.

Thanks it worked, with set header content type in axios

Thanks it worked, with set header content type in axios


Unable to hear anything when switching to a new room unless reload

Describe the bug
When I go back to the main menu with back button, and joining a new room, I can't hear anything unless I reload the page. I can however, hear voice cues, such as when I deafen myself.
Another thing is that sometimes I am able to hear the audio of the last room when I join a new room. This doesn't happen when I join a new room for the first time, as the I discribed earlier, I can't hear anything. But if I switch back to the old room and then back to the new room again, I would hear the audio of the old room while being in the new room. The room info display in the main page shows I am in the new room, while hearing old room audio.
However, if I go back to the main page, and manually leave the room by clicking on the leave button, and then join a new room, I would be able to hear audio of the new room correctly.
To Reproduce
Steps to reproduce the behavior:

Go to roomX
Go back to main page using navigation buttons/mouse side buttons/Dogehouse logo button
Join another roomY, you wouldn't be able to hear anything.
Windows 10, Chrome Version 90.0.4430.93 (Official Build) (64-bit)
same thing happened on firefox developer edition 89.0b8 (64-bit)

This was fixed in https://github.com/benawad/dogehouse/commit/229d7b5a4d3f51e01d0458752ff69c1747ee765c


Fix ssh-keypair secrets deletion when SSHAccess is disabled

How to categorize this PR?

/area security
/kind bug
What this PR does / why we need it:
This PR fixes the unit test for ssh-keypair secrets deletion when SSHAccess is disabled for worker nodes. After fixing the test, it started failing since the secrets where not being deleted from the garden namespace. This PR fixes that bug as well.
There are two commits - the first commit makes the existing unit test fail to discover the bug, the second commit fixes it by updating deleteShootCredentialFromGarden.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Please cherry-pick this PR on v1.63
Release note:

A bug has been fixed which prevented the `ssh-keypair` secrets from being deleted when `SSHAccess` for worker nodes is disabled.

/cherry-pick release-v1.63


Show dialog with changelog on upgrades

Similar to statistics dialog when an upgrade is detected we should show the changelog in a popup when a user opens the UI, the changelog should be fetched from GH release body and shown only once.
May be useful to also include release notes of zwave-js as well when there is a driver update (this could be done by using a regex on changelog to get new driver version)
CC @AlCalzone

This is helpful for upgrading decision - I usually manually check the multiple releases to see.  Having it right with the upgrade notification is really nice.

That is great. It probably should show for zwave-js-server too, as it's shipped with ZUI and its change log normally mention breaking changes for Home Assistant.

@kpine why not opt-out?

I think @kpine is asking if it can be enabled by default, so the user actively needs to disable it.

I think @kpine is asking if it can be enabled by default, so the user actively needs to disable it.

Nope, opt-in means the user must enable it, disabled by default, it's the opposite of opt-out that means the user will have to explicitly disable that function that is enabled by default
Anyway I understand you @kpine but you are very involved in the project so I think it's normal for you to check the changelog, normal users don't and this create issues and misunderstandings when upgrading. I think that making it opt-out will allow to reach more users, I can add a checkbox on the dialog like "Never show this again" to disable it easily

I store this on settings.json yeah


improved offload_activations

improving offloading in quantize()
adding offloading in eval()
tested in Nirvana

Great work @poedator, this seems good.
According the experiments you provided, results with and without offloading ,matches with paper's ppl (see picture below) . By turning on activation offloading, we have a little slow up in speed, but we  gain significantly memory  save.
In the future, we can change to doing  activation offloading as default behavior, but I don't insist(this will lead to more ram and cpu consumption).With this people can quantize comfortably on  3090 with 24GB gpu 65b, and 30b on 1080ti(need to be checked).

As for PR:

Please add better documentation to offloading activation https://github.com/Vahe1994/SpQR/blob/d71dcc29785b3c967d45c4a0c94d0fa4cd307040/main.py#L514C1-L514C57
In readme add few words about this options.


add roundtrip tests for mkPaymentKeyFingerprint ~ liftPaymentFingerprint

Issue Number

#900
Overview

[x] I have added a roundtrip test to check that a key fingerprint can be extracted from an address and put back in.

Comments

bors r+


post multipart/form-data without file

Hi guys, thanks for the awesome library.
I'm  facing difficulty dealing with some API that requires data to be sent in form-data,   however the data itself doesn't contain file object but base64 encoding data.
Any advice how to do this?
Any help would be appreciated

@drselump14   Bit not clear what exactly you want to add in form-data but you can do if you have image file then
request = Typhoeus::Request.new(url,   headers: { "Authorization" => token,     'Content-Type' => "multipart/form-data"},   method: method,   body: {key: file} )
I have file of s3 URL so will write with file like:
file = File.open(file_name, 'wb') file.write open(image.url).read


Sac log not working

🐛 Bug Report
Write a description of the bug here, give all the information you can about what it is, how it happened.
entering =sl gives the error "an unexpected error occured :RSSad: "
Running =rp checkbank --fix results in "Removed 0 from favorites"
after which =sl kg still gives "an unexpected error occured :RSSad: "
Neither =sl kg, =sl kg --text, =sl kg --all work, all give the "an unexpected error occured :RSSad: "
This error first occurred for me on 1/28/2022 at 9:33 am eastern time. The previous time I used the =sl command was on 1/25/2022 1:22pm eastern and it worked normally.

Need more info.

Is this still happening?
Please provide a new instance with a fresh time please if it's still broken, thanks :)

This would be fixed if you =rp checkbank again.


Feature request: Adding triggers to the Badwater Dome

Would it be possible to add triggers to the folktail's "Badwater Dome"?
The "Badwater Rig" might be useful, but it also requires beavers to travel to the site just to pickup badwater.  To me, it is more useful to have a badwater channel nearer to where the beavers work and use the badwater pumps for that.  It makes more efficient use of the beaver's time rather than walking so far for badwater.

maybe a duplicate of #20?

It is similar, but that feature request asks for linking to a stream gauge.
I wanted just simple triggers on the dome. It does not have to be linked to the stream gauge, even though that would be convenient.


‘Unknown object‘ error when start to run the run_model.lua.

I followed the instructions and tried to start running the model on a new image(elephant.jpg), but I got an "Unknow object" error as follows:
hitfishking@ubuntu:~/densecap$ th run_model.lua -gpu -1 -input_image ~/densecap/imgs/elephant.jpg
/home/hitfishking/torch/install/bin/luajit: ...e/hitfishking/torch/install/share/lua/5.1/torch/File.lua:375: unknown object
stack traceback:
[C]: in function 'error'
...e/hitfishking/torch/install/share/lua/5.1/torch/File.lua:375: in function 'readObject'
...e/hitfishking/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
...e/hitfishking/torch/install/share/lua/5.1/torch/File.lua:353: in function 'readObject'
...e/hitfishking/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
...e/hitfishking/torch/install/share/lua/5.1/torch/File.lua:353: in function 'readObject'
...e/hitfishking/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
...e/hitfishking/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/hitfishking/torch/install/share/lua/5.1/nn/Module.lua:158: in function 'read'
...e/hitfishking/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
...e/hitfishking/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
...e/hitfishking/torch/install/share/lua/5.1/torch/File.lua:409: in function 'load'
run_model.lua:146: in main chunk
[C]: in function 'dofile'
...king/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x0804cbc0
OS: unbuntu Desktop 15.05, 32bit.
Anything wrong with my system configuration? Anyone can help?

Seems figured out the problem!
The  above problem was triggered on a desktop machine with

ubuntu Desktop 15.05, 32bit

.
Inspired by the solution of the post https://groups.google.com/forum/#!topic/torch7/zNNdXATZxlA, I shifted to another machine with

ubuntu server 16.04, 64bit

, the problem disapeared!
It may be related with file format of the .t7 model file or some other files. I'm not sure.

I think the problem is that the model was serialized on a 64-bit OS; Torch can't read this file on a 32-bit OS.


OpenCL Improvements

@pelmers can you sign the CLA with the email you used in your git commit?  Our bot surprisingly didn't flag this.
I believe the others are repeat commiters so we don't need their explicit acknowldgement in every PR (so I've been told).

also lots of failures, but I assume you're looking at that.

@vrv submitted my CLA

Cool, confirmed, thanks!

Same for @krikru

I signed it.

@lukeiwanski thanks -- you're a repeat contributor so no need to respond in the future :)
signcla bot is actually broken for this PR for some reason, i just manually inspected the emails of the others and found they weren't signed.

@vrv sorry didn't notice your previous post :)

Still need @krikru to sign the CLA under the git commit email he used and then we can merge.

Signed!

Did you sign with<EMAIL_ADDRESS>? that's what you used in your git commit...

PS: I've used this script with success to change email when my git commits had wrong email address -- https://help.github.com/articles/changing-author-info/

@vrv Ah, no, I signed with another email address.
I created a new pull request from my fork of tensorflow-opencl into tensorflow-opencl in which I have changed the email of my commits to the one I signed the CLA with. Does that work?

I suspect that unless that email shows up here via Benoit's push, it won't work. :(
Perhaps you could tell Benoit to git commit --amend your commit with the correct email?

Now I've sent @benoitsteiner an email.

Validated the email addresses manually.


[FEAT] - heavily customize Strapi plugin for open-ai

keyword generator
spelling and grammar checker
automatic field insertion

see also https://github.com/strapi/strapi-plugin-open-ai/issues/2


Display incorrect shortcut key of the Shortcut Guide item on the Dashboard

Microsoft PowerToys version
0.78.0
Installation method
GitHub, PowerToys auto-update
Running as admin
No
Area(s) with issue?
General, Shortcut Guide
Steps to reproduce

In setting, set the "Activation method" to "hold down the ⊞ Win"
Go to the Dashboard page, and see the Shortcut Guide item

PowerToysReport_2024-02-24-22-22-44.zip
✔ Expected Behavior
hold down the ⊞ Win
❌ Actual Behavior
⊞ Win+Shift+/
Other Software
No response

This has been worked on during the 0.80 release cycle.
Please update to the latest release: https://github.com/microsoft/PowerToys/releases


Solasta UB instability and crash

Running the latest Solasta
UB <IP_ADDRESS>
UMM <IP_ADDRESS>
Game loaded to Main menu, game loaded the latest save.
After Respecing character in adventure Temple of Evil.
Reroll went withou any problems. Picking up items from ground. Saving.
But if i want to load the game it get an error.
Player-prev.log
Please assist.
Thank you.
Aldo

I cannot be of any assistance without a save.

Chances are these saves are broken. Please ensure you keep the save before RESPEC. I remove the previous hero from the game but it looks like I’m missing a collection or 2.

Ahh -- so you want the Previous Save (ie: before I respec'd).  Sorry -- I've attached that as well.
I only respec'd the bard in this case (to a College of Lore bard subclass).  If you want the breakdown of what choices I picked I can probably redo it the same (minus stats).
Day 2.zip

I rolled back the changes that were causing this as won’t have time over the next weeks. New release with fix comes tmrw.


exclude defaults channel by default

make sure we're always using conda-forge by default
it's unlikely any packages came from defaults for users in some years (due to channel priority, this would only happen for packages not on conda-forge, and would often result in a broken env anyway), but this ensures defaults channel is opt-in, as it should be for the Anaconda ToS.

What do you think of repo2docker to fail if user's provided environment.yml uses default Anaconda repository? Maybe have an option for this behaviour for the special case of mybinder.org.

I don't believe it is up to us. We could block egress to repo.anaconda.com, I suppose, but I don't think we need to. A user may install from the defaults channel and use it on mybinder.org if their use is permitted. mybinder.org doesn't enter into it, just like they can do on any cloud provider.

Looks good to me.

Renato Alves mentioned in the German RSE list that

At the moment 3 channels are firewall blocked across all EMBL sites: defaults, main and r. All these channels are under the same terms of service.

@minrk can we update this PR to include all three channels? defaults, main and r.

@rgaiacs I'm not sure what you mean. We had 2 channels (conda-forge, defaults), now there is 1 (conda-forge). main and r are not in the available channels list in config.

@minrk looks good. I need more coffee. :-D

Because this removes an unused repodata request for the defaults channel, this should speed up installs ever so slightly.


Translation for "headingtree" is a little weird

"Headingtree" sounds strange and I've never heard it before. When I checked the Italian translation, it is "Ricerca intestazioni" which Google translated to mean "header search.". I think there might be something wrong here, and I believe "heading search" would be a better choice.

Well, it might sound a little weird, but in the end, it employs the same logic as words like ‘family tree.’ However, for the sake of clarity, I’ll probably change it. Thanks for pointing that out.

Well, it might sound a little weird, but in the end, it employs the same logic as words like ‘family tree.’ However, for the sake of clarity, I’ll probably change it. Thanks for pointing that out.

I‘m not familiar with "family tree". Maybe you mean "outline”?

Look, a family tree is a type of diagram that illustrates relationships between people. It essentially depicts all the generations of a family in a tree-like diagram. In the Heading tree the term 'tree' is used because it showcases headings in a diagram, similar to the branches of a tree, extending from the principal heading to the subheadings.

Look, a family tree is a type of diagram that illustrates relationships between people. It essentially depicts all the generations of a family in a tree-like diagram. In the Heading tree the term 'tree' is used because it showcases headings in a diagram, similar to the branches of a tree, extending from the principal heading to the subheadings.

Oh, I see. But I often called this structure like "outline" or "TOC". I don't care that it looks like a tree, but rather that it functions.

I guess I’ll change it to make it clearer. We could simply call it ‘heading search,’ as you suggested. How does that sound?

I guess I’ll change it to make it clearer. We could simply call it ‘heading search,’ as you suggested. How does that sound?

I think it's great.

Ok, I've just fixed it


Update README.md

Checkmarx One – Scan Summary & Details – 3f051bfa-ac73-475d-90d2-8eeeca07e7b5
No New Or Fixed Issues Found


[Autocomplete] Add componentsProps

Closes #18150.
Demo: https://codesandbox.io/s/create-react-app-forked-ckdlz

[x] I have followed (at least) the PR section of the contributing guide.

I'm wondering if we shouldn't support other slots' props as well, for consistency. @oliviertassinari, any thoughts?

@michaldudak No real preferences. We could add more now, or later.


MC trajectory appears truncated

The MC trajectory of particles in the CRV appear truncated: compare the REve display here:

with the CRV-group display of the same event here:

In the REve display the electron track in the CRV is a tiny stub, while it shows as a more substantial trajectory in the  CRV group display.

This is probably due to a distance cut I made to avoid large zooms

I think this is fixed, please check


Make some RegisterUserData type fields optional

Some fields in the RegisterUserData type are marked as required even though they are not required by the register endpoint in the API.
This PR fixes that, and only requires the required parameters for registering a user.

🔥


Address review comments for labels filtering

Summary
In the interest of time we merged labels filtering with some comments
not being addressed. This patch fixes that:

exclude_labels now excludes any profiles containing any of the exclude
labels. Add a test for this new behaviour.
fix confusing comment in LabelsFromFilter
special-case wildcard matching to only return the wildcard
sort the slice in test to avoid issues where the slices contain the
right elements, but in wrong order

Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[x] Refactoring or test improvements (no bug fixes or new functionality)

Testing
make test
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[x] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[x] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 48.143%. remained the same
when pulling 45f9d605d9bc4797cd14115b22ce40868b5286e1 on jhrozek:labels_comments
into 9a1a4ab820b2dcdb77fd0e209cadf4374468c155 on stacklok:main.


JBPM-5530 - Review package name and GWT modules name and maven artif…

…act id for wb-common modules
Renamed generic modules to common
Renamed packages from org.jbpm.console.ng to org.jbpm.workbench
Updated GWT modules name

Depends on https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/pull/367


Remove ineffectual t.Fatal() in goroutines

Removes ineffectual calls to testing.T.Fatal() in goroutines.
t.Fatal() calls runtime.GoExit(), which only exits the current goroutine.

Oops, ignore those copyright statements. My git hooks were a little overzealous.

Thank you for your first contribution!


[BUG] opensearch login not working with more than 15 roles assign to user

Hey,
Currently i am using OpenSearch 1.3.X version and in this version i am facing Too large Cookie issue https://github.com/opensearch-project/security/issues/374 this issue is solved in 2.7 version but i need some workaround for 1.3.X version to solve this issue. When i am using user with around 10-12 roles it works but when i increate roles up to 15 then not able to login to OpenSearch-dashboard.
and can anyone tell me about how this works like where JWT token is created either in OpenSearch or in OpenSearch-dashboard and from where cookies sets.

I can't figure out what the fix for this actually was .. moving this into the security repo, hopefully someone can track it down?

I can't figure out what the fix for this actually was .. moving this into the security repo, hopefully someone can track it down?


Handle Point and Line Intersections of DEM tiles

Resolves the related https://github.com/ACCESS-Cloud-Based-InSAR/DockerizedTopsApp/issues/89#issue-1551310313.
MWE:
from dem_stitcher import stitch_dem

dem_array, dem_profile = stitch_dem([40.0, 36.0, 44.0, 39.0],
                                    'glo_90_missing',
                                    dst_ellipsoidal_height=True,
                                    dst_area_or_point='Point')

This intersects a tile of the missing glo_90 tiles that are not in glo_30 on a Western edge (see the related issue). Previously, shapely LineStrings could be acceptable intersections causing subsequent errors in the code (not expected). The fix is to exclude intersections that are not polygons, so we have at least one pixel in our dem raster.
We also updated the test workflow to use: https://github.com/mamba-org/provision-with-micromamba

I am going to merge this in case the new EQ in Turkey requires DEM tiles in this region.


Android 14 issue

Not working on Android 14 Derpfest rom I am using ksu

Same here. I found a fork that works with kernelsu, but it only works if you installed huskydg's overlayfs module. The problem is that it causes some of my apps to detect root, so I can't use it :(. However, if someone were to remake the module using this format from this module https://www.google.com/url?q=https://github.com/WSTxda/Mi-Lan-Font-Module&sa=U&ved=2ahUKEwjzhcGT5tuFAxUpIBAIHR37ATkQFnoECAwQAg&usg=AOvVaw24JFit_GVW-WBavugIFg_V it would work, because I installed this font module and it seems to be working fine.

Same here. I found a fork that works with kernelsu, but it only works if you installed huskydg's overlayfs module. The problem is that it causes some of my apps to detect root, so I can't use it :(. However, if someone were to remake the module using this format from this module https://www.google.com/url?q=https://github.com/WSTxda/Mi-Lan-Font-Module&sa=U&ved=2ahUKEwjzhcGT5tuFAxUpIBAIHR37ATkQFnoECAwQAg&usg=AOvVaw24JFit_GVW-WBavugIFg_V I believe it would work, because I installed this font module and it seems to be working fine.

Can you share me the fork which is working with huskydg's overlayfs module.

Same here. I found a fork that works with kernelsu, but it only works if you installed huskydg's overlayfs module. The problem is that it causes some of my apps to detect root, so I can't use it :(. However, if someone were to remake the module using this format from this module https://www.google.com/url?q=https://github.com/WSTxda/Mi-Lan-Font-Module&sa=U&ved=2ahUKEwjzhcGT5tuFAxUpIBAIHR37ATkQFnoECAwQAg&usg=AOvVaw24JFit_GVW-WBavugIFg_V I believe it would work, because I installed this font module and it seems to be working fine.

Can you share me the fork which is working with huskydg's overlayfs module.

https://github.com/bugreportion/Magisk-iOS-Emoji/releases/tag/v17.4

Figured it out and created my own repo!
https://github.com/dtingley11/KernelSU-iOS-Emoji

Android 14 latest with latest derpfest update. Doesn't work for me either and I'm just using magisk


Remove hardcoding

Hi. I've removed the hardcoding, so the code now takes input through the command line.
This code runs locally, but I have not yet made the amendments to make it run on openshift (equivalent to those amendments which were committed to the jiminy-tools data-store-loader app.py yesterday)
Question:
I have defined the make_connection and build_connection functions, which are present in the jiminy-tools data-store-loader at the start of my app.py file. Is this correct, or should I be using an 'import'?
Cheers,
@elmiko @ruivieira

looks good, thanks Sophie!


Curve Strategy

Add a vault strategy that takes stablecoin deposits and supplies them to a Curve pool. Unlike https://github.com/OriginProtocol/origin-dollar/issues/252, this won't require as much complexity for allocation since we can deposit and withdraw any combination of 1-4 stablecoins on Curve. We know from @DanielVF's research that we should not supply any DAI to Curve. However, we need to account for the fact that there are penalties and bonuses when you deposit or withdraw a single stablecoin or a mix of them that is substantially different from the currency pool allocation.
We will also need to decide with pool we want to use. They all function differently and involve different underlying contract risk. They also come with different levels of CRV rewards.

I think the two pools we should consider are the 3-pool which Curve is betting on themselves (https://resources.curve.fi/guides/depositing/depositing-into-the-tri-pool) and the yPool which has been dependable and stable for a couple months now. APYs are falling across the board, but our objective here is to get to double digits fastly and safely. It doesn't have to be overly optimized (for now). Once we prove that OUSD is compelling at a double digit APY, then we can further optimize. Our hypothesis is that there will be much more interest once we graduate from 3%, even if we are not at the top of the range.
3-pool has some benefits of being more differentiated than Yearn, so that has some small bonus points.

#306


[WIP] MSC2356: Bulk /joined_members endpoint

Rendered

Having thought about this, I don't think this is useful. It's basically only saving HTTP hits to the server at this point, which feels like an over-optimisation for the spec.


imports in the auth readme

import { Authenticator, SignIn, SignOut, ConfirmSignUp, Greetings } from 'aws-amplify-react’;
Should be SignIn, SignUp

Fixed. Thank you!


consul config option resolving address

Expected Behavior / New Feature
option to define if address should be read from node name or from address
Actual Behavior / Motivation for New Feature
reads from node name
i updated ocelot and all requests dont worked after debugging and searching i found the problem
#2119
Steps to Reproduce the Problem
update ocelot from 22.* to 23.3.4
Specifications

Version: 23.3.4
Platform:
Subsystem:

Is this question or real bug?

i updated ocelot and all requests dont worked after debugging and searching i found the problem #2119

If you are able to debug .NET app, why don't you read our docs? → Consul Service Builder

oh i always read the old config....
i googled the docs and the results linked me to a old version


Fix price error field name in mutation responses

I want to merge this change because it fixes backend responding with priceAmount intead of price on mutations:

ShippingPriceCreate
ShippingPriceUpdate
ProductVariantCreate
ProductVariantUpdate

Input of both mutations accepts price and error of the same name should be returned. Checked on frontend to make sure it now marks the field red as it should.
Linked task: SALEOR-1337

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[X] The changes are tested
[X] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-1337 Mutations should always return in "price" field instead of "priceAmount"


CSS Prop taking effect when exporting library.

I am creating a styled-system using styled-components. Everything during the development works correctly, after using Rollup to generate my reusable library, CSS prop no longer works.
import styled from 'styled-components'

const BaseButton = styled('button')`
  color: red;
`
export default function Button() {
  const overrideCss = 'color: blue;'
  return <BaseButton css={overrideCss} />
}

When importing this into a different library the Button component comes out red.
I am using Rollup with a simple configuration which uses babel-plugin-styled-component.
Could this be something to do with Rollup? I would assume that once transpiled this should work anywhere?

I'd double check the plugin is being added for your production build... if you use something like the "env" setting in your babel config and change the presets or plugins at all you have to recompose all of them. Do you have a reproduction repo?

Hey there, I created a small reproduction repo of the issue where I simply created & exported a button. You can find the related code here:
https://github.com/3nvi/styled-components-css-rollup
You can verify that it's not working by visiting the following CodeSandbox project, where the repo is installed & utilized:
https://codesandbox.io/s/dank-https-8mee9
In addition, I also found the following 2 threads on Spectrum that unfortunately received no answer:

https://spectrum.chat/styled-components/help/css-prop-not-working-with-rollup~1f59c4ef-ebf0-4a5e-8683-415b6a5b8304

https://spectrum.chat/styled-components/help/css-prop-rollup-transform~1376d2f9-2a3b-4507-ab7d-0b6e717c99d3

Lastly, I believe this is most likely an issue with Rollup, since this problem doesn't appear on webpack with a similar config. Nevertheless, any help from the SC team is greatly appreciated.
Thanks in advance for your time!

Ok I figured it out.
For anyone facing a similar problem, the issue derives from the way your code is transformed. babel-plugin-styled-components tries to apply the changes to jsx elements only. Thus, if you have another process transpiling your code before your code reaches the babel-loader, then the babel-plugin-styled-components plugin won't take effect and your css prop will not be working.
For me, it was because I was using typescript with jsx: react in my tsconfig.json. Because of the fact that I had to convert .ts files to .js, I was running  the typescript compiler before the babel transformations, which was also turning <div> to React.createElement('div'). That transformation caused the issue.
I resolved it by not allowing typescript to make any changes to JSX (i.e. jsx: preserve) and handling the transformation in babel through @babel/preset-react preset. This fixed it, since now babel (as well as all the presets & plugins) received the original JSX code and the plugin can apply its changes properly.
Hope it helps!

styled.withTheme.withConfig is not a function .
any fixes ?

You saved my day @3nvi Thanks for posting how you resolved your issue. Finally I was able to make my TS library run with the SC css prop as well. If anyone stumbles upon this issue and needs another example as reference, check out react-table-library which uses Rollup + TS + SC css prop via babel-plugin-styled-components.

@3nvi Almost 3 years later you've saved my day as well, thank you!

Cheers 😃


go get is still broken

[user@hostname 23:57:15 ~/packer ]$ go get github.com/EgeBalci/amber
cannot find package "github.com/EgeBalci/sgn/lib" in any of:
	/usr/lib/go/src/github.com/EgeBalci/sgn/lib (from $GOROOT)
	/home/user/go/src/github.com/EgeBalci/sgn/lib (from $GOPATH)

I have go get-ed sgn library beforehand by the way.

Current build works fine with go get. Try removing the old amber, sgn packages with go clean -modcache amber  and go clean -modcache sgn then retry go getting the amber.


Inconsistent hovers for split actions

I think we originally talked about the split action having two hovers, like in the terminal, but not sure why that changed for the run button.

🤷 it's using the same widget afaik, the "shared hover" was meant to help indicate that they're linked.

No, they are not using the same widget because the run button's behavior was too different.