Update fr.xml

Some friends and I worked on the fr.xml with the CrowndIn help.

Assez littéral comme traduction.

@twizmwazin Maybe you can do something with this ?

For language updates, because the only language I am fluent in is English, I prefer for users fluent in that language to give their feedback. The only comment on this was a negative one. @unixfox If you think this is worth merging, just let me know, and I'll be happy to do that.

Also, @thomblr you deleted the repository this is sourced from, which will make it difficult for me to merge this.

@twizmwazin So I need to remake another pull request and close this one ?
Btw, unixfox and I are friends and we updated the messages after his message.

@thomblr if you delete the repository the pr's is sourced from, you will need to open a new one

You shouldn't be making another PR, just force push to the branch to update it.


Proposed V2 Updates

Overview
I want to re-write lspcontainers from scratch considering all of the challenges we have faced over the past year working on the project.
This should not impact dockerfiles repository heavily but may require some changes.

Any update on the progress? Sorry for being impatient, there have been no activities seen since this issue is opened

I guess this can sit in here rather than it's own issue, something to be noted. Github Actions from what I can find at least doesn't support arm runners. Meaning lspcontainers images can't be pulled on those machines since containers aren't built for arm at present. Only workaround for this would be a self-hosted runner, however that'll obviously incur cost.


Tutorial Multi-GPU_Training.ipynb is broken (Uses AddWeightDecay)

The tutorial for multi-GPU training is broken, because it defines a function that calls AddWeightDecay() on modelhelper, but that function doesn't exist (any more?)
The operators catalog also have no weight decay operator, so it's not obvious what's supposed to happen there instead.
RuntimeError: Method AddWeightDecay is not a registered operator. Did you mean: []
def add_parameter_update_ops(model):
    model.AddWeightDecay(weight_decay)
    ...

The description talks explicitly about AddWeightDecay and Iter being important parts of ModelHelper, yet the implementation doesn't mention these at all:
https://github.com/caffe2/caffe2/blob/master/caffe2/python/model_helper.py

do you get this question's answer? i meet same problem

That`s useful.


Error on using sidebar to openlayers

Good afternoon
I'm using the sidebar (https://github.com/Turbo87/sidebar-v2) for OpenLayers, but using ol.js directly from the site (// openlayers.org/en/master/build/ol.js" ) started to present the following error
ReferenceError: undefined $ o is not defined [Learn More] Projection.js: 80: 2
_and
Projection.js: 80: 2
If
epsg3857.js: 52: 2

epsg3857.js: 73: 2

http://openlayers.org/en/master/build/ol.js:1:2
That since Thursday, 06/22/2018.
Has any modification been made to this js?

Already answered or at least, mention how to fix the issue on short term at https://stackoverflow.com/questions/50994830/error-on-using-sidebar-for-openlayers


Add upper-bound letter frequency constraint

Since #letter > #squares, can strictly upper-bound the letter counts with a frequency constraint.
Unclear how helpful it will be, but it's at least a well-defined global constraint. If anything breaks it, it will be the overly-common number of e.g. a's

Tried this again, didn't help. Functionally-identical programs with/without constraint:

without constraint took 2.13s
without constraint took 2.66s

Adding the constrain made the runtime take LONGER
Used an upper-bound of number of each letter occurring across all words, and used a lower-bound of this quantity / 2
Solutions found by the two programs were IDENTICAL, the bounded one just took longer to run
Tried alternate search formulations, but it didn't help
Implies that the program does not have an issue with finding appropriate letters. Make sense since it searchers via the words, and the words directly imply the letters


pymol ids can be dangerous

I found some issues with using IDs here: https://github.com/mjtadema/garnish/blob/b447e1970f231faaa5fdafd70a40ee97aedf68ff/garnish/system.py#L114-L122
Now that I look better, when we create bonds we are also shifting by one, so this should be fine. However, this sparked another problem: apparently, if you read the wiki for pymol's iterate, ID is not guaranteed to be unique, and they call it a "PDB atom id". Maybe we should switch to index instead. But my question then is: what is being used by other functions like add_bond?
We should probably make sure there are no weird inconsistencies all over the place, because this could come back and bite us afterwards.

Was this really needed? (because i kind of removed it in #48 )


Too many keystrokes for value typing

Previous versions had a nice feature which allowed to just type "42" to get "0.42". Right now, I need the double amount of keystrokes, since I have to type "0.42" entirely.

The amount field now supports expressions, which means we cannot format your input in a certain way for you. Also, some currencies do not support decimal places, so the old way was rather disingenuous for those users.
I'm sorry, but we don't plan to change this at the moment.


Add control system example

See e.g. this paper

Also seehttps://arxiv.org/abs/2202.07780 and https://github.com/lasseleskela/epidemic-models-with-control

Closed for now with 2aa0b982b98150abdec1429fdb5005d32a497d4e


Move command needed

Move command needed. HELP display lists Move command as option....
For more help, type
HELP display|edit|files|data|reorder|meta|data|all
--- Current line is 1, 3 lines total ---
 * help reorder
Reorder Commands
[range] Move [target line number] - move range to target

Actual...
Move line 1 to line 3...
--- Current line is 1, 3 lines total ---
 * l
   1 : house
   2 : blouse
   3 : mouse
--- Current line is 1, 3 lines total ---
 * 1 move 3
Unknown command, type HELP for help
--- Current line is 1, 3 lines total ---
 * l
   1 : house
   2 : blouse
   3 : mouse

What I expected...
Move line 1 to line 3...
--- Current line is 1, 3 lines total ---
 * l
   1 : house
   2 : blouse
   3 : mouse
--- Current line is 1, 3 lines total ---
 * 1 move 3
Unknown command, type HELP for help
--- Current line is 1, 3 lines total ---
 * l
   1 : mouse
   2 : blouse
   3 : house

well, it does something now.

Move command now available. Ticket closed.


feat(leadspace): add leadspace brand logo style

Issue
Fixes #MERATIVE-776
Description
We have a "Leadspace" block created in Franklin, however, we need to add a variation where the brand logo can be inserted into the block table within the Sharepoint docs.
New

Design Specs

If applicable, add the direct link to the design specs of the component/feature that's part of this PR.

Figma Link - https://www.figma.com/file/FSqQ1LYrVSssEFOZuOnMIE/Final-page-layouts-for-Merative.com?type=design&node-id=202-40370&mode=design&t=k3Wzg0Qy7d9YQrGa-0

Test URLs

Before (Changes from main): https://main--merative2--nimithshetty17.hlx.page/block-library/blocks/leadspace
After (Changes from this PR): https://leadspace-brand-logo--merative2--nimithshetty17.hlx.page/block-library/blocks/leadspace

Testing Instruction
To test the leadspace with brand logo and its responsiveness with respect to the design across all devices.

@sachinmesh - Please have a look now.

HI @nimithshetty17
The primary CTA missing the arrow style.  Rest is good to go.

@sachinmesh - Arrow is added as well.

@proeung - Updated all the changes requested. Please let me know if there are any concerns.

@proeung - I have committed the changes for the arrow icon.  Please let me know if there are any concerns.

@nimithshetty17 @proeung
A small observation underline is thick in tab and mobile for Inline/Tertiary link as shown below rest is good to go.

@Shalini-SB @keith-kaplan

@sharathmrft Thanks for the review. Yeah, I noticed the odd line height issue for the tertiary link on the mobile breakpoint as well. @nimithshetty17 Can you fix this?

@sharathmrft - Please review this now.


Week of 2022/10/19 - Nodejs Buildpack releases

Nodejs language family buildpack releases have been published: https://github.com/paketo-buildpacks/nodejs/releases/tag/v0.26.0


WP click autorelease problem

Hello, I found following problem:
running on Nokia Lumia 820 (Windows Phone 8.1 , Internet Explorer)
I created sample program:
var game = new Phaser.Game(480, 800, Phaser.CANVAS, '', {create: create});

var txt = null;

function create (){
    game.input.onDown.add(mouseDown, this);
    game.input.onUp.add(mouseUp, this);
    txt = this.game.add.text(100, 100, "hu", {fill: '#FFFFFF'});
}

function mouseDown() {
    txt.setText("mouseDown");
}

function mouseUp () {
    txt.setText("mouseUp");
}

it works ok everywhere, so when I touch the screen, "mouseDown" is shown, when I release touch "mouseUp" is shown
but I found problem on mentioned device. When I touch the screen, "mouseDown" is shown - that is OK.
Then I keep finger down, but onUp event is dispatched circa 2 seconds after I touched the screen. So onUp event was dispatched and my finger is still touching the screen.
Do you know where could be problem?
Thanks

I don't have the device so I can not test, but it seems like this is something your device does: ignore a finger that's on the screen, more like ignoring accidental taps. So, my guess is that your phone's hardware (or software) is actually triggering the end of the touch, thinking that it is a finger accidentally pressing the screen.
I repeat, I haven't tested/tried it, it's just a guess.

the same bug happens also on lumia 920,
but the bug happens only in internet explorer, I tested also in UC browser and Project Spartan - there is everything OK
and the problem is also in your example, check the video: https://www.sendspace.com/file/87lqbu

May be related to https://bugs.dojotoolkit.org/ticket/18346

I'm not sure there is anything we can do about this, sorry - the onUp event comes from the browser, so IE must be sending it at some point. God knows why. Maybe 2 seconds activates an OS gesture? (like touch-hold on iOS does) that triggers it?


System.NullReferenceException

Hello,
With version 4.2.6 of DCSFlightpanels I have no operating error, but from versions 4.2.10 and above it is impossible for me to save the location of DCS-BIOS version 0.7.39a.
Whatever the version of DCS-BIOS, the result is the same.
DCS-BIOS works and returns the values, checked in the browser.
The checks on the "Troubleshooting" page did not yield anything.
DCSFlightpanels is in administrator mode, Windows is up to date 20H2 19042.928 as well as DCS <IP_ADDRESS>18.
The installation directory of DCSFlightpanels as well as the exe are declared in the Windows antivirus.
When I run version 4.2.6, without changing anything, it works without problem.
I did not find a solution in the various pages of the eagle forum and here.
here is what I get in the log:
26.04.2021 04:57:10  version : 1.0.324.6091
System.NullReferenceException
La référence d'objet n'est pas définie à une instance d'un objet.
à DCSFlightpanels.MainWindow.SetWindowTitle()
à DCSFlightpanels.MainWindow.CreateNewProfile()
à DCSFlightpanels.MainWindow.WindowLoaded(Object sender, RoutedEventArgs e)
26.04.2021 04:57:06  version : 1.0.324.6091
System.NullReferenceException
La référence d'objet n'est pas définie à une instance d'un objet.
à NonVisuals.ProfileHandler.SetEmulationModeFlag()
à NonVisuals.ProfileHandler.set_Profile(DCSFPProfile value)
à NonVisuals.ProfileHandler.LoadProfile(String filename, IHardwareConflictResolver hardwareConflictResolver)
If you have a solution, I'm interested.
I remain at your disposal and wish you a good day.
cordially,
Didier

the folder cleared in ....\AppData\Local\DCSFlightpanels ?

All files relating to DCSFlightpanels.
Strangely version 4.2.6 older versions work.
I don't know what may have changed with version 4.2.10 but with this version and later I cannot save the path to DCSBios. Even after changing the read / write rights of the files.
Have a good day

Hello, I think I have found the cause of my troubles.
The error message is caused by the previous profile loaded with version 4.2.6.
In the new profiles the lines "Airframe = FA18C" and
"OperationLevelFlag = 3" are replaced by "Profile = 20" and "EmulationModesFlag = 3".
If you want to use the old profiles, all you have to do is create a blank profile for the module concerned, then edit it in order to copy these lines, and then replace them in the old profile.
Thanks for your help,
have a good day.
Sincerely Didier

Hi,
Glad you found the problem although I did intend for DCSFP to fix this. So this is a bug. There shouldn't be any need for the user to make changes. I will check.

The problem therefore stems from a bug, happy to have the confirmation that it was not located between the back of my chair and the keyboard ;) Have a good day


feat: add colors to console logs

Proposed changes
Updated login message visual
before:

After:

Created a color-utils
Made sure all commands to execute are colorized using the same style.
If that is fine with you I would like to replace all imports of chalk with color-utils. That was, we keep a level of consistency across the commands.
Question:
Should colors-utils should have its own repo?
Testing

[ ] Unit Tests:

[ ] Functionnal Tests:

[ ] Manual Tests:

After investigation, we should be able to use inheritance to extend chalk behaviour (we can see in the readme that there's a new Chalk() being called, so that means that there's a constructor to extend, I think 😅 ).
However, there is an ongoing issue with the typing: https://github.com/chalk/chalk/issues/519 which may hold us off.

import chalk, { Chalk } from "chalk";

interface Colors extends Chalk, CustomColors {}

interface CustomColors {
  header: Chalk;
  error: Chalk;
  cmd: Chalk;
}

const customColorFactory = (chalk: Chalk): CustomColors => ({
  header: chalk.bold.hex("#1CEBCF"),
  error: chalk.bgHex("#F64D64").hex("#272C3A"),
  cmd: chalk.blueBright.bold,
});

const colorFactory = (): Colors => {
  const chalkInstance = new chalk.Instance();
  const customColors = customColorFactory(chalkInstance);
  return Object.assign(chalkInstance, customColors);
};

const colors = colorFactory();

console.log(colors.cmd`color`);
console.log(colors.bold`color`);

Using Object.assign we can build the augmented chalk

Closing for now


[Bug]: examples/eks-cluster-with-new-vpc doesn't create a fargate profile

Welcome to Amazon EKS Blueprints!

[X] Yes, I've searched similar issues on GitHub and didn't find any.

Amazon EKS Blueprints Release version
latest
What is your environment, configuration and the example used?
https://github.com/aws-ia/terraform-aws-eks-blueprints/blob/main/examples/eks-cluster-with-new-vpc/README.md?plain=1#L7
What did you do and What did you see instead?
Claims to create a fargate profile: https://github.com/aws-ia/terraform-aws-eks-blueprints/blob/main/examples/eks-cluster-with-new-vpc/README.md?plain=1#L7
But only creates a managed node group
Additional Information
No response

Thanks @cer . Its a documentation issue. This example only creates one managed node group. Please feel to raise PR for doc fix.
If you are looking for fargate examples then you can refer to https://github.com/aws-ia/terraform-aws-eks-blueprints/tree/main/examples/node-groups/fargate-profiles


Error when I disconnect my client during a connection

@aaugustin I am receiving this error when I disconnect my client in the middle of a connection request.
I am using Python 3.10 and websockets 10.3
ERROR:    opening handshake failed
Traceback (most recent call last):
  File "C:\Users\s******5\PycharmProjects\websocket\venv\lib\site-packages\websockets\legacy\server.py", line 163, in handler
    await self.handshake(
  File "C:\Users\s******5\PycharmProjects\websocket\venv\lib\site-packages\websockets\legacy\server.py", line 597, in handshake
    raise self.connection_closed_exc()  # pragma: no cover
websockets.exceptions.ConnectionClosedError: no close frame received or sent

@aaugustin
As all my clients disconnect and connect frequently, I often get this error in my sentry.
        # The connection may drop while process_request is running.
        if self.state is State.CLOSED:
            raise self.connection_closed_exc()  # pragma: no cover

I can see you have raise this error, but is there any way to avoid this?

Not sure there's a good way to catch this. Needs investigation.

Cannot we just do this?
        # The connection may drop while process_request is running.
        if self.state is State.CLOSED:
            warnings.warn("opening handshake failed", ConnectionAbortedError)

"Can we just make a backwards-incompatible change?"
:-)

Nice one, LMAO,  my bad. I will look into it, if this can be done

Jokes aside, this requires looking at the history of when this code was introduced. Maybe it was in reaction to another issue. Then we should ensure fixing you use case doesn't break someone else's use case.
I don't have an immediate idea of what the solution could look like.

In fact I determined websockets could end up in an inconsistent state and "fixed" it in #984. This was never reported by a user — presumably because it's uncommon to have a slow process_request.
I am tempted to handle this case in this block:
https://github.com/aaugustin/websockets/blob/569ba1e04aa78313fd4bceb1cdae59c822682add/src/websockets/legacy/server.py#L177
so you don't end up in the catch-all exception handler:
https://github.com/aaugustin/websockets/blob/569ba1e04aa78313fd4bceb1cdae59c822682add/src/websockets/legacy/server.py#L210

This would be a good time to add a test (and it's super annoying to write tests for that kind of behavior — maybe you should let me do that part...)

Ohh, I get it now. If you need any help in the test cases let me know :)

I will check it from my side once and let you know the solution or any idea I got while testing and also does it affect any other use case.

In fact I determined websockets could end up in an inconsistent state and "fixed" it in #984. This was never reported by a user — presumably because it's uncommon to have a slow process_request.
I am tempted to handle this case in this block:
https://github.com/aaugustin/websockets/blob/569ba1e04aa78313fd4bceb1cdae59c822682add/src/websockets/legacy/server.py#L177
so you don't end up in the catch-all exception handler:
https://github.com/aaugustin/websockets/blob/569ba1e04aa78313fd4bceb1cdae59c822682add/src/websockets/legacy/server.py#L210

Yeah, then I guess it will not hurt any other use case.

@aaugustin Did you have the time to test the solution?

In fact there's already a test exercising this code path (probably test_connection_error_during_opening_handshake). #1242 should fix it.

I tested manually by running this server:
#!/usr/bin/env python

import asyncio
import websockets

async def process_request(path, request_headers):
    for counter in range(5, 0, -1):
        print(counter)
        await asyncio.sleep(1)

async def echo(websocket, path):
    async for message in websocket:
        await websocket.send(message)

async def main():
    server = await websockets.serve(echo, "localhost", 8765, process_request=process_request)
    await server.serve_forever()

if __name__ == "__main__":
    asyncio.run(main())

and connecting with python -m websockets ws://localhost:8765/ and interrupting the client before the countdown completes.
On the main branch, I get the same traceback you reported once the countdown completes.
opening handshake failed
Traceback (most recent call last):
  File "/Users/myk/dev/websockets/src/websockets/legacy/server.py", line 165, in handler
    await self.handshake(
  File "/Users/myk/dev/websockets/src/websockets/legacy/server.py", line 601, in handshake
    raise self.connection_closed_exc()  # pragma: no cover
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
websockets.exceptions.ConnectionClosedError: no close frame received or sent

With the changes in the #1242, I don't.


CAMEL-11777: Use transaction aware queue in hazelcast:seda component

As mentioned in docs of hz (any version, current for example)
http://docs.hazelcast.org/docs/3.8.4/manual/html-single/index.html#creating-a-transaction-interface
Transaction do its work if queue initialized with help of transaction ctx

Thanks for the PR it has been merged. Do you mind closing this?

Sure, thanks

@davsclaus Is this likely to be released for either 2.18.x or 2.19.x soon?


Link to wrong page

Hello,
the link for the following title "We want to build new products and services in the cloud." leads to the wrong page.

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

ID: 69abf33c-9597-13b9-a7e0-3329a1a29346
Version Independent ID: 43c6a4e4-879b-c521-d81f-db2ed0d47a37
Content: Get started with the Cloud Adoption Framework - Cloud Adoption Framework
Content Source: docs/get-started/index.md
Service: cloud-adoption-framework
Sub-service: overview
GitHub Login: @JanetCThomas
Microsoft Alias: janet

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 442542

We've fix the link. Thanks for letting us know about it.  You should see it on the live site in the next day or so.


Weird artifacts in complex timeline

I tried to export a relatively complex logo animation I did and while it's impressive the quality of the output there are still some annoying artifacts that prevent me from using the output. You can find in attachment the flash source file. Thanks.
big-w-01-svg.zip

Just realised my mask had outline too. Trying to clean it up now.

Yes, no artifacts after cleaning up! Maybe the library should make sure to remove the outlines from mask layer to emulate SWF behavior?


Cursor moves to the end of a text input when batched-hook is installed

Try typing some text into this input, and then putting your cursor at the beginning and typing some more text: https://codesandbox.io/s/107vzp25nj

Thanx for feedback.
I will fix the problem.

In order to fix this problem, I need to detect is already we are in batch or not and skip batching if we are in batched update.
isBatchingUpdates variable is not exported and I can't detect current batch-update status


"Oh no, this is a terrible error, all of your code is now broken" bug

Hi! Welcome to this GitHub Issue.
Issues are a great way to document problems with code, discuss with code collaborators, and keep track of edits made in relation to these bugs. Issues can also be used to ask questions and discuss the matter of a repository with its collaborators.
Issues are referred to by their number, as you could tell in this project's README. This issue is #2. There's another issue on this repository, #1, that can be accessed by clicking on it. That issue isn't relevant to this competition, though.
Now, onto the issue itself!

Hello, it appears that a recent update to the Bootstrap code broke some visual aspects of my website. I'm getting an error printed to my dev tools:  Oh no, this is a terrible error, all of your code is now broken
I'm unable to find this in the code, though I'm sure you could search it somehow and fix it. Could someone please help me find this issue? Thank you!

Hello, I've opened up a PR about this issue. View it here: #3


GreaterThanEqual (and assuming LessThanEqual) don't work correct. If I put 10 & above number, it doesn't work correctly.

Subject of the issue

Your environment

version of jquery-validate:
which browser and its version:

Steps to reproduce

Expected behaviour

Actual behaviour

in the greaterThanEqual it should be
return value >= parseInt(target.val());
instead of
return value >= target.val();


Wrong rendering / calculatin of ArcSegments

Describe the bug
Argsegments are not correctly rendered / calculated.

all for outer rings schould look the same, devided by 60, 60, 12, 12 parts
To Reproduce
to complicated, now
Expected behavior
No response
Avalonia version
11.1.
OS
No response
Additional context
No response

Please create and post a minimal repro for this so the team can reproduce.

https://github.com/trashhacker/Avalonia.Repro.git


paper-item raised attribute using master distribution

paper-item extends paper-button-base which does not implement the paper-shadow. Seems like it would need to extend paper-button.

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.


[feat] made ur python recognize this package when running scripts

manaul merge of recog_as_module to mod_injection (our main)


Babel dependency problem in test/setup.js

I get an error in test/setup.js when I run npm test, indicating that it cannot find babel-register.

This pull request should address the problem.
https://github.com/steos/reactcards/pull/15

Thanks @bill-kidwell. We'll take a look at the pr tomorrow.

Not sure why babel-register can't be found.
babel-core/register does exactly that, require babel-register
https://github.com/babel/babel/blob/master/packages/babel-core/register.js#L3


Migration of realm data from old app to new app.

IMPORTANT: Need to write custom Android Code to get Realm data to Dart, since Realm is not supporting Web. This means that the project can't be compiled, due to this shortcoming.

I was thinking about this a bit the last few days @shockbytes, and one possible plan of attack is that for the first release of DanteX we don't use a web implementation.
Then once the first release is done we wait until either
a. Everyone has updated to the new version of the app, or
b. The realm SDK has a web compattible version.
Once one of these two criteria has been passed we can then roll out the web version of DanteX.
It feels likely that criteria a) is more possible, but you could even put out an update in the old app when we go to update to the new app saying if you want your data to be automatically transferred you need to update to the new app by a certain date.
I suppose the other option is to write an update for the old app that will back the users data up to pure JSON or something that we can read without a special plugin?
What are your thoughts?


CF allows you to map routes which are too large

Hi,
We experienced an issue today wherein a user had created an application with a name longer than the limits described in RFC 1035. The RFC describes the maximum length of a fully qualified hostname to be 255 characters, with a limit of 64 characters per label.
If you try to use a route created which exceeds this limit, curl and dig will be unable to complete the request:
$ curl -vi http://this_is_a_really_really_really_really_really_really_long_hostname.yourdomain.com
* Could not resolve host: this_is_a_really_really_really_really_really_really_long_hostname.yourdomain.com
* Closing connection 0

$ dig this_is_a_really_really_really_really_really_really_long_hostname.yourdomain.com
dig: 'this_is_a_really_really_really_really_really_really_long_hostname.yourdomain.com' is not a legal name (label too long)

Perhaps the CF CLI should refuse to create and map routes which exceed this limit, instead returning a helpful error message to the user?
Thanks,
Ryan

Hi @Rylon,
Thanks for pointing this out to us. I have moved this issue to Cloud Controller as it is an issue with CC API and not the GoRouter.
@ishustava, CF Routing Team

@ishustava Oops, sorry for placing it in the wrong location, thanks for moving it for me 👍


feat(camera validation tool): adds ability to retrieve input file from secrets manager

Issue #, if available:
Description of changes:
The primary change to the tool is the added ability to pull an input configuration from AWS Secrets Manager.
A secret will be used when specifying the -s or --secret argument followed by the name of the secret as follows:
> python main.py -s panorama/camera_stream_validation/<SECRET_CONFIG> -o ./output.json

Note: Secret should be configured using tools/camera_stream_validation/sample/sample_input.json before running
Note: <SECRET_CONFIG> replaced with the name of the location specific input config
Usage notes now read as follows:
usage: panorama-csv-tool [-h] [-i INPUT] [-s SECRET] [-t {Register,Deploy,Remove}] [-l] [-n NUMBER] [-o OUTPUT]

This is the assistance tool for panorama camera stream validation.
In order to validate. your data sources this script will create (register) data sources if they do not yet exist.
An application will then be deployed on the device to confirm that the data sources (cameras) connection can be established.
Once deployment has completed and results for each data source have been returned the application will be removed from your device.
It is important to note that the data source creation, application deployment and removal are operations that may take minutes to complete.

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        JSON file that contains the list of data source inputs.
  -s SECRET, --secret SECRET
                        Name of an AWS Secrets Manager secret with source inputs.
  -t {Register,Deploy,Remove}, --termination {Register,Deploy,Remove}
                        Stop the validation workflow at the step specified, 1) Register: stop flow after camera package registered 2) Deploy: stop flow after validation application deployed 3) Remove: stop flow after validation application removed (this is the default behavior)
  -l, --list            Returns a list of all data sources and their validation results. This can only be used when you decide to terminate the script using the "-t Deploy" command.
  -n NUMBER, --number NUMBER
                        Specify the number of cameras to be grouped in one validation application deployment. N must be a value of 8 or less. By default the panorama media service limit is 8 data sources (default) per application deployment. This means that if your JSON has more than 8 data sources to validate we will queue multiple application deployments (this will greatly increase the time needed to complete the full validation operation).
  -o OUTPUT, --output OUTPUT
                        Export a JSON file which will contain the validation results. Specify the name only, e.g. "-o csvResults" will export a file named "csvResults.json".

Log output will produce the following:
2022-07-01 21:16:16,212 - INFO:  Retrieving [panorama/camera_stream_validation/<secret_config>] from AWS Secrets Manager
2022-07-01 21:16:16,299 - INFO:  Secret retrieved. Reading [SecretString]

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@abest0 , thank you for your PullRequest. We are reviewing it now, and will get back here if any questions. Thank you!

Appreciated your contribution, I have reviewed the code, I left the same comments at the code and it seems that it is validating single camera with new changes. It's better we can enable list of secrets processing from input


Not Showing Pull Request in Amplify Web Preview

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d2mz4rw6tq9ofg
Region
ap-northeast-1
Amplify Console feature
Previews
Describe the bug
I have just started using Amplify to build my web app, and set Web Preview by connecting with Github (followed here). Even though Amplify App is integrated into my Github organization/repository, Web Preview does not get triggered and no pull requests are shown.
Could you tell me what causes this and how to solve the problem? (e.g., Need to use Github Team/Enterprise plan?)
Expected behavior
In github, Amplify Console check should be triggered whenever a new pull request is opened.
Reproduction steps

Create a branch and push changes to remote branch
Open a Pull Request

Build Settings
version: 1
backend:
  phases:
    build:
      commands:
        - chmod u+x ./myamplifyPush.sh
        - ./myamplifyPush.sh
frontend:
  phases:
    preBuild:
      commands:
        - npm ci
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: build
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*

Additional information
No response

Is it a private repo? Only private repos are supported.

Having the same issue too!
App ID: dt8rcpplq2gyw
Branch: test-amp-preview
Github PR ID: #80
DM me if more details of private repository are needed


Additional questions - Gen 2 workload settings

Have some follow up questions about the workload settings and its implications.

AI – What is the impact on our capacities when enable this workload?

Query Memory Limit (%) - How this setting is related to CPU utilization?  Can we limit CPU usage by using this setting?  Or can we prevent long running queries using this setting?

Query Timeout (seconds) - Is this setting applicable for interactive operations or dataset refresh?

Max Result Row Count - Is this also impact direct query that uses DAX?

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

ID: 74987f4b-691c-9816-f600-e0cbbb2d78a7
Version Independent ID: c017e29d-f021-6e76-356e-5e0018122b91
Content: How to configure workloads in Power BI Premium - Power BI
Content Source: powerbi-docs/admin/service-admin-premium-workloads.md
Service: powerbi
Sub-service: powerbi-premium
GitHub Login: @KesemSharabi
Microsoft Alias: kesharab

Hi, @nathanwlee1 -- thanks for your questions! Assigning to the author to investigate.


Readd into_floating_input

I noticed, that the into_floating_input method went missing. My project, which used it before did not compile. Something like this would'nt compile anymore.
fn main() -> ! {
    let dp = stm32::Peripherals::take().unwrap();
    let mut gpioa = dp.GPIOA.split(&mut rcc.ahb);

    let user_button = gpioa
        .pa0
        .into_floating_input(&mut gpioa.moder, &mut gpioa.pupdr);

    loop {}
}

And when poking around, I saw the implementation was accidentally deleted in this commit:
https://github.com/stm32-rs/stm32f3xx-hal/pull/21/commits/684e7bd8c1a1f037ef3b0a6d63609de06bea043b

I ran into this issue as well when trying out the master branch.


Error while compiling with sdk - undefined pkcs11.Ctx

I am trying to integrate ziti sdk into my http client code.  Had to enable CGO via CGO_ENABLED=1
CGO_ENABLED=1 go build -ldflags "-X main.Branch= -X main.Revision=c3ec49a -X main.Version=" -tags netgo -o cmd/app-informer/app-informer ./cmd/app-informer
make: Leaving directory '/go/src/github.com/in2tivetech/ozone'
0.23user 0.08system 2:50.71elapsed 0%CPU (0avgtext+0avgdata 59172maxresident)k
0inputs+0outputs (0major+7660minor)pagefaults 0swaps

Closing the issue.


Added FunctionalTableData

Description
This adds support for FunctionalTableData, the library used by Shopify for creating all of our UI in a declarative way.

Thank you!


Terminal URI link providing failes when including brackets ("[", "]")

Issue Type: Bug
The issue is only present with local files (e.g. https://example.com/[id].html works).
Enter a local URI into the terminal, for example:
test/some/sub/[id].spec.tsx

The link will not show up at all in most cases, and when pressing ctrl it will only "provide" a link for parts of the URI. E.g. "test/some/sub" or "id" or ".spec.tsx".
VS Code version: Code - Insiders 1.58.0-insider (d54f7e1f6c1290fe27e2397eca509d0e0728272e, 2021-06-22T07:15:45.422Z)
OS version: Linux x64 5.11.0-22-generic snap
Restricted Mode: No

System Info

Item
Value

CPUs
AMD Ryzen 9 3900X 12-Core Processor (24 x 2931)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
31.33GB (17.27GB free)

Process Argv
--force-user-env --unity-launch --crash-reporter-id bb42f7f6-b338-4930-b746-ce15c0be7b83

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

Extensions (4)

Extension
Author (truncated)
Version

vscode-eslint
dba
2.1.23

todo-tree
Gru
0.0.213

vscode-docker
ms-
1.14.0

code-spell-checker
str
1.10.2

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30291494
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30291487
pythontb:30258533
vspre833:30321513
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscus158:30321503
pythonvsuse255:30319630
vscorehov:30301224
vscod805cf:30301675
pythonvspyt200:30323110
vscextlang:30310088
vsccppwt:30312692

We currently treat [ and ] as word separators for validated links here:
https://github.com/microsoft/vscode/blob/637403c1d57125ed9eb78eb527d16d721fc221a8/src/vs/workbench/contrib/terminal/browser/links/terminalValidatedLocalLinkProvider.ts#L23-L23
I'm hesitant to change this as then it would break the [link.ext] format which would be much more common.
I'm going to close this as designed but you can work around it by excluding [ and ] from the word link provider with this setting:
"terminal.integrated.wordSeparators": " (){}',\"`─"

Which should result in this:

@Tyriar I have never heard of the [link.ext] format but I agree that having brackets in a URI is uncommon. I just stumbled across it because NextJs used it for dynamic routing. https://nextjs.org/docs/routing/dynamic-routes

This is probably important enough to revisit.

I'm hesitant to change this as then it would break the [link.ext] format which would be much more common.

I've never heard of this format, could you give some examples of where that's used?

SvelteKit also uses it for dynamic routing.

To clarify the last comment, SvelteKit has directory names with brackets in them, which currently breaks terminal links. I believe Next.js is the same. This is an argument for changing the current behavior and not maintaining the status quo

My two cents, not even considering it breaks my project:

We currently treat [ and ] as word separators for validated links here:

I would argue that no characters should "create new works". If it's allowed in an URI, it should be treated as an URI. Everything else is basically language/framework-specific, and should be in an extension, right?

If it's allowed in an URI, it should be treated as an URI

I'm no expert, but here's the RFC section which called [ and ] "gen-delims." I'm not 100% sure what it all means over there. I'll leave that up to someone more expert here.

The purpose of reserved characters is to provide a set of delimiting characters that are distinguishable from other data within a URI. [...] Thus, characters in the reserved set are protected from normalization and are therefore safe to be used by scheme-specific and producer-specific algorithms for delimiting data subcomponents within a URI.

If I'm interpreting "scheme-specific" and "producer-specific" correctly, this is arguably exactly what NextJs and (apparently) the [link.ext] format, as well as SvelteKit are doing.

@Elias-Graf you're right! In other words applications should respect these as safe URIs.


Add RAT's Mischief

https://modrinth.com/mod/rats-mischief

A good mod, but not a good fit for the current world. Requires loot from Ancient Cities for progression, which is challenging given the age. Furthermore, while the rats are very funny and have interesting possibilities, it doesn't contribute much functionality that is needed to the server. More content, but not to much of an end. Not to mention the hundreds of rats is likely incredibly detrimental to server performance. If we move on to a new world at some point, RAT's Mischief will definitely be a consideration.


Integrate socket options into Ember

This one shouldn't compile. I need to bump the fs2-io version but since it hasn't been published yet I can't. I open this one up just so that I can check that this is actually what's needed to be done.
Should fix: https://github.com/http4s/http4s/issues/2768

Remember we should merge and check this is available once #2867 is in.

I'll revert the last commits (with some attempts to do the necessary
upgrades) and prepare the branch for a merge.
Den ons 18 sep. 2019 kl 00:27 skrev Christopher Davenport <
<EMAIL_ADDRESS>
Remember we should merge and check this is available once #2867
https://github.com/http4s/http4s/pull/2867 is in.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/http4s/http4s/pull/2836?email_source=notifications&email_token=AALLTVYBESXMMBW36KODUOTQKFKVLA5CNFSM4ITIIFD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD66C6WA#issuecomment-532426584,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALLTVZJW5I6OLBN7DMRB4LQKFKVLANCNFSM4ITIIFDQ
.


Remove AGP string replacements in flutter_tools that no longer apply

Example:
https://github.com/flutter/flutter/blob/4de32b870212f33610be0ec122001d695f373a77/packages/flutter_tools/test/integration.shard/android_plugin_example_app_build_test.dart#L61-L64
It's already enforced we're using a much newer version of AGP:
https://github.com/flutter/flutter/blob/4de32b870212f33610be0ec122001d695f373a77/packages/flutter_tools/gradle/src/main/kotlin/dependency_version_checker.gradle.kts#L91-L98

FWIW 7.2 is newer than the oldest version we support. From the link in the bug our minimum supported version is 7.0.1

FWIW 7.2 is newer than the oldest version we support. From the link in the bug our minimum supported version is 7.0.1

I can't tell if that version was picked intentionally, given the test at the time appears to have defaulted to 3.0.


Update SECURITY.md supported versions

Updated supported versions in security policy

cc @goneall -- Friendly ping

Thank you, @goneall!


optimize zkp usage

Summary

更新了WeDPR jar包，优化了依赖库文件的加载。
更改了CPT的注册方式，可以指定CPT类型。
优化了部分类里的persistence的使用。

Codecov Report

Merging #126 into develop will decrease coverage by 1.23%.
The diff coverage is 47.91%.

@@             Coverage Diff              @@
##             develop    #126      +/-   ##
============================================
- Coverage      45.03%   43.8%   -1.24%
+ Complexity      1375    1335      -40
============================================
  Files            182     183       +1
  Lines          10035   10057      +22
  Branches        1286    1288       +2
============================================
- Hits            4519    4405     -114
- Misses          5005    5162     +157
+ Partials         511     490      -21

Impacted Files
Coverage Δ
Complexity Δ

...a/com/webank/weid/constant/CredentialConstant.java
94.73% <ø> (ø)
1 <0> (ø)
:arrow_down:

...ervice/impl/engine/fiscov2/CptServiceEngineV2.java
49.35% <0%> (-6.31%)
13 <1> (ø)

...ervice/impl/engine/fiscov1/CptServiceEngineV1.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...k/weid/service/impl/CredentialPojoServiceImpl.java
45.09% <0%> (-0.11%)
117 <0> (ø)

.../com/webank/weid/service/impl/AmopServiceImpl.java
2.72% <0%> (-0.71%)
2 <0> (ø)

...a/com/webank/weid/protocol/request/CptMapArgs.java
75% <100%> (+8.33%)
3 <1> (+1)
:arrow_up:

...om/webank/weid/protocol/request/CptStringArgs.java
75% <100%> (+8.33%)
2 <0> (ø)
:arrow_down:

...a/com/webank/weid/service/impl/CptServiceImpl.java
88.81% <100%> (+0.21%)
40 <1> (ø)
:arrow_down:

...java/com/webank/weid/util/CredentialPojoUtils.java
50% <57.14%> (+0.23%)
99 <1> (ø)
:arrow_down:

...rc/main/java/com/webank/weid/constant/CptType.java
88.88% <88.88%> (ø)
3 <3> (?)

... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7613a96...eca1323. Read the comment docs.

pr标题不符合规范。


Add sshpass to the vibauthor container

Presently the vibauthor container used to run the builds has all the tools that are needed for the build. As part of #1515 a new make target is being added to allow a developer to deploy a testbed (1master + 2 workers) and then deploy the plugin on those. Thus allowing the developer run all their tests on the testbed without having to set those up manually.
Its convenient to use the vibauthor container to run the script to deploy the VMs as it already has govc installed in it and usable to import the OVAs and create the VMs.
The issue faced in #1515 is to be able to run commands via SSH on the VMs, as those need the password to be entered. Even to do a password-less SSH command we need to first copy the public key to the VM which again needs the password.
sshpass allows passing the password to an ssh command. Allowing the deploy script to get the password via an env. var. and then using sshpass to run ssh commands.
The container already contains ssh utils like - ssh  ssh-add  ssh-agent  ssh-copy-id  ssh-keygen  ssh-keyscan.
So, ..... this issue is to add sshpass to the container so the deploy script can work.

#1515 to create a test bed for a developer doesn't seem like its a much needed capability and users should be able to set up their workspaces of VMs by themselves. Moreover, developers (outside of the core dev. team) who want to run e2e tests (do they) would typically use a set up for a longer time vs. creating and discarding those setups often. I'm pushing this out to a future release unless this is really worth implementing.
Creating a script to make a test bed has nothing to do with the plugins we have and really shouldn't be in this code base either.

we can revisit after kubecon release not mustfix

This is not a must fix and the original reason was to be able to create a test set up via a make target. Which, IMO, is not needed at all. Given users already have the means to set up a cluster of hosts the plugin doesn't need to provide any such capability. Closing this.


feat(ssm): Add ssm documents permissions

Work Done
Add support for Documents permissions.
This PR also refactors documents approach to make it more OOP and avoid dict usage.
Tests

[x] TestAccAWSCloudWatchEventTarget_ssmDocument
[x] TestAccAWSSsmDocumentDataSource

Localstack

Codecov Report

Merging #4217 (4ebf0e1) into master (d278fd6) will decrease coverage by 0.11%.
The diff coverage is 69.44%.

@@            Coverage Diff             @@
##           master    #4217      +/-   ##
==========================================
- Coverage   95.13%   95.02%   -0.12%
==========================================
  Files         481      481
  Lines       53557    53679     +122
==========================================
+ Hits        50953    51008      +55
- Misses       2604     2671      +67

Flag
Coverage Δ

servertests
54.98% <18.33%> (-0.06%)
:arrow_down:

unittests
94.95% <69.44%> (-0.12%)
:arrow_down:

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

Impacted Files
Coverage Δ

moto/ssm/responses.py
93.57% <14.28%> (-5.45%)
:arrow_down:

moto/ssm/models.py
89.66% <74.05%> (-4.35%)
:arrow_down:

moto/ssm/exceptions.py
97.29% <75.00%> (-2.71%)
:arrow_down:

moto/ec2/responses/vpc_peering_connections.py
87.75% <0.00%> (-12.25%)
:arrow_down:

moto/ec2/models.py
96.46% <0.00%> (-0.17%)
:arrow_down:

moto/core/models.py
95.60% <0.00%> (+0.03%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d278fd6...4ebf0e1. Read the comment docs.


[WIP] Improve Get Involved layout

Todo

[ ] Add icons

Screenshot

This will probably fulfill most of your needs for icons: https://fontawesome.com/

Added screenshots, fixed alignments, fixed review comments, see OP


Displaying all possible keys for a combo in the cheatsheet

Hi @chieffancypants I've changed the format function to allow displaying all possible keys for each combo in the cheatsheet.
A possible usecase could be, for example, when you want to create shortcuts using keys that doesn't exist in all platforms.
hotkeys.bindTo($scope)
  .add({
    combo: ['home','alt+left'],
    description: "Go to beginning (PC/Mac)",
    callback: function (event, hotkey) {
      $scope.goToBeginning();
  }
});

It will now display both shortcuts on the cheat sheet.

Also I upped the karma-phantomjs-launcher version to 1.0.1 to fix the unsolved peer dependency error for<EMAIL_ADDRESS>


Live Demo on heroku crashes

The demo app on heroku does not currently work.
Perhaps a db cleanup is needed?
PG::InsufficientPrivilege: ERROR: permission denied for relation users : INSERT INTO "users"

Seems to be an old demo, closing for now.


After upgrede to 4.8.0, omnisci can't work as normal

Following SQLs work well on version before 4.8.0,
Upgrade to 4.8.0,

when execute  <creaate view VIEW1... as select ...>,
then <creaate view VIEW2... as select ... from VIEW1 group by ...>
error happend, logs as following,
2019-08-29T04:15:54.781942 I 196070 BufferMgr.cpp:291 ALLOCATION slab of 8388608 pages<PHONE_NUMBER>B) created in 0 ms CPU_MGR:0
2019-08-29T04:15:56.623940 F 196070 Calcite.cpp:481 Error occurred trying to communicate with calcite server, the error was: 'THRIFT_EAGAIN (timed out)', omnisci_server restart will be required
2019-08-29T04:15:56.821463 I 196070 MapDServer.cpp:935 Interrupt signal (6) received.

when execute such sql <creaate view ... as select ...>,
nmon indicate that

why so much write operation?

and the CPUs are waiting for something,

those SQL running OK with version before 4.8.0.
It's very stranger! What happend?

It's waiting on disk writes. The error is occurring when you creta e the second view or when you run a query against the secondo view?

Yes, error happend when the second SQL <creaate view VIEW2... as select ... from VIEW1 group by ...> excuted.

Acutally, these two SQLs willl not write disk, right?

@titawork are you able to post some more of the query that you used, or does this happen with any query built on a view?

On ddl then. Maybe an infinite loop allocating a large chuck of memory and swapping or a big core written to disk?

Yeah, that’s my guess. We need to do some more digging, we upgraded calcite recently but I am pretty sure that was after 4.8. @titawork if you’re able to reproduce this consistently and could check against the master branch of this repo, we would appreciate it.

Here are those two SQLs,
Yerstaday, I installed back to 4.7.0, those two SQLs ran OK.
Today, I upgraded to 4.8.0 again, issue happend.
By the way, where I can get install file of version 4.7.1? Thanks!
CREATE VIEW business_m AS SELECT
A.e_type,
A.m_type,
A.r_account,
A.s_code,
A.c_s_type,
A.e_kind,
A.s_no,
A.t_id,
A.b_id,
A.b_date,
A.b_time,
A.b_price,
A.s_price,
A.b_amount,
A.s_amount,
A.b_balance,
A.s_balance,
A.c_balance,
A.s_date,
A.r_code,
A.b_remark,
A.f_fare1,
A.f_fare2,
A.f_fare3,
A.f_fare4,
A.f_fare5,
A.f_farex,
B.b_no,
B.o_B_way as B_way,
B.r_time,
B.f_kind,
B.B_type,
B.B_no,
B.room_code,
B.f_account,
B.s_account,
B.B_prop,
B.order_id,
B.B_bs,
C.f_k_str,
C.d_model,
D.s_type,
D.s_unit
from A,
B,
C,
D,
E,
F
where
A.s_no=F.s_no and
A.B_bs =B.B_bs and
A.r_account=B.r_account and
A.s_code=B.s_code and
A.e_type=B.e_type and
B.f_account=C.f_account and
A.s_code=D.s_code and
E.b_no=C.b_no
CREATE VIEW business_view AS
select
r_account,
s_no,
o_id,
s_code,
b_no,
e_type,
e_bs,
s_unit,
max(business_m.b_date) as e_date,
sum(b_amount * b_price)/sum(b_amount) as b_price,
sum(b_amount) as b_amount,
sum(b_balance) as b_balance,
sum(c_balance) as c_balance,
sum(f_fare1) as fare1,
sum(f_fare2) as fare2,
sum(f_fare3) as fare3,
sum(f_fare4) as fare4,
sum(f_fare5) as fare5,
sum(f_farex) as farex,
max(f_kind) as fare_kind,
max(e_no) as e_no,
max(room_code) as room_code,
max(d_model) as d_model,
max(e_way) as e_way,
e_type,
s_type
from business_m
group by r_account,s_no,o_id,s_code,b_no,e_bs,e_type,s_unit,e_type,s_type

@alexbaden I'd like to try with the master repo, But where I can get package of the master branch of this repo. Because I don't have environment to compile MapD yet. By the way, If you can send a link to download version 4.7.1, it could be very good.

@alexbaden @titawork
I tried to reproduce the issue, but I can get a crash and a core dump only if I create a join view on 4.7.0, then I try to create a group by view referring the first one in 4.8.
2019-08-30T09:09:39.942354 F 92605 Calcite.cpp:481 Error occurred trying to communicate with calcite server, the error was: 'THRIFT_EAGAIN (timed out)', omnisci_server restart will be required 2019-08-30 09:09:40 WARN  TIOStreamTransport:close:112 - Error closing output stream. java.net.SocketException: Socket closed         at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:118)         at java.net.SocketOutputStream.write(SocketOutputStream.java:155)         at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)         at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)         at java.io.FilterOutputStream.close(FilterOutputStream.java:158)         at org.apache.thrift.transport.TIOStreamTransport.close(TIOStreamTransport.java:110)         at org.apache.thrift.transport.TSocket.close(TSocket.java:235)         at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:303)         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)         at java.lang.Thread.run(Thread.java:748) Aborted (core dumped)
If I ask a describe of the first view with the \d command of omnisql, i can create second view without crashes

Hi @cdessanti,
Actually, the two SQLs can work on 4.7.0, but can't work on 4.8.0 in my situation.

Hi,
Today, I installed 4.8.0 using tarball method.This issue gone. I don't know why.
I updated by yum method before. It is very strange.

It appears this issue was resolved by a re-install. If this continues to be an issue, please open a new issue


Empty array

Hello, the callback is not called when the response array is empty.
var client = gremlin.createClient();

client.execute('g.V().limit(0)', function(err, results) {
  console.log('hello');
});

Thanks for reporting this. I'm going to bed right now so I'll have a look at it tomorrow :P.

Thanks! I've fixed it by pushing a null value on the 204 status code in GremlinClient.prototype.handleMessage. But I'm not sure of the implications.

Pushing null properly terminates the stream and I can't see any side-effect by doing so. I just pushed v1.0.2 with this fix on npm.


Rename database -> datastore in flags and config

Description

Generally, we have been calling our storage a datastore, e.g., OpenFGADatastore. This PR is to keep us consistent.
And fix the make command run-postgres.
References

Review Checklist

[ ] I have added documentation for new/changed functionality in this PR or in openfga.dev
[x] The correct base branch is being used, if not main

Codecov Report

Merging #95 (78319cc) into main (7cbd9aa) will decrease coverage by 0.69%.
The diff coverage is 8.43%.

@@            Coverage Diff             @@
##             main      #95      +/-   ##
==========================================
- Coverage   77.18%   76.48%   -0.70%
==========================================
  Files          75       76       +1
  Lines        8266     8335      +69
==========================================
- Hits         6380     6375       -5
- Misses       1503     1574      +71
- Partials      383      386       +3

Impacted Files
Coverage Δ

cmd/openfga/openfga.go
0.00% <0.00%> (ø)

pkg/cmd/root.go
0.00% <0.00%> (ø)

pkg/cmd/run.go
0.00% <0.00%> (ø)

pkg/cmd/util/util.go
0.00% <0.00%> (ø)

pkg/testfixtures/storage/storage.go
83.33% <ø> (ø)

pkg/cmd/service/service.go
86.39% <63.63%> (-0.60%)
:arrow_down:

server/commands/check.go
84.68% <0.00%> (-0.91%)
:arrow_down:

storage/postgres/utils.go
83.43% <0.00%> (-0.64%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b049d50...78319cc. Read the comment docs.


Auth not working properly

Xcode version: 11

Firebase SDK version: Latest
Firebase Component: Auth
Component version: Latest

When I sign in a user of Firebase Auth (latest version) for some reason the CurrentUser object is still nil, it works on Xcode 10 with iOS 12 but not with Xcode 11 with iOS 13. Any idea why and is there a fix?

Is this reproducible for all users consistently on iOS 13? Do you get any errors in console when logging in?

No errors, just this object: Auth.auth().currentUser is nil. I don’t know if this happens for others but I have tested it on two different devices running iOS 13 and it is still nil.
--
Oscar Gorog
On Sun, Jun 9 2019 at 10:06 am, <<EMAIL_ADDRESS>> wrote:

Is this reproducible for all users consistently on iOS 13? Do you get any
errors in console when logging in?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub (
https://github.com/firebase/firebase-ios-sdk/issues/3159?email_source=notifications&email_token=AEPAZLKUQVXVDO7XRT7W323PZRCOTA5CNFSM4HWE2ECKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXIA4CY#issuecomment-500174347
) , or mute the thread (
https://github.com/notifications/unsubscribe-auth/AEPAZLISFEVUGFMC55UIJQ3PZRCOTANCNFSM4HWE2ECA
).

I found out what the issue was and I fixed it, it had to do with my code (because of some changed API's in iOS 13).
Sorry :)
Oscar
P.S This is 100% not a Firebase Auth Issue


Broken links in Video features with C3D.ipynb example

@gyglim I am trying to run the Video features with C3D.ipynb example but the links are either broken or the access is forbidden. Would be possible to upload the files to some other server? Thanks!

@gyglim: If you can provide the files via some temporary link, I can also upload them to the Lasagne Recipes S3 storage.

My bad! Works again now. But I agree with @f0k that it should be in the Lasange S3 storage.
Tell me in case you want me to update the notebook once they are online.
Thanks & Cheers,
Michael

Hi @gyglim - I've copied the files to https://s3.amazonaws.com/lasagne/recipes/pretrained/c3d/. Can you make a PR to update the notebook?

Closed by #95

Thank you for taking this, Eben! :+1:
@gyglim: When using pickle.dump(), you should always pass protocol=-1 as the last argument. This makes the files much smaller and faster to load. (Eben fixed this already.)


Template Submission: SWADE Update

This is an update for the current swade template.
swade.json

Thanks for this

small patch
swade.json


Huge slowdowns when typing

When enabling flycheck-gometalinter I get excellent error reporting. The downside is that I experience severe lags when writing new code. I've tried creating a minimal emacs config with only go-mode and flycheck-gometalinter to rule out any other elisp package conflicting with this setup, and I still have the slowdowns. I'm using the default settings for flycheck-gometalinter, all checkers installed, go 1.8beta2, emacs 25.1.1, on Mac OS X 10.12.2 on a 2016 MBP, latest release of both flycheck-gometalinter and flycheck. Also tried upgrading flycheck to latest from git as there was a commit that tried to improve performance, but it didn't help out with this. An example file that will cause lagged down typing on my laptop is this one for example:
https://github.com/dsvensson/go-xmmsclient/blob/master/xmmsclient/serialize.go
Any suggestions to what to check?

It sounds like a problem with gometalinter, not flycheck. Can you try (setq flycheck-gometalinter-fast t)? It will disable some slow checkers and likely improve performance.

Then it's fast, but then it runs with fewer checkers. I might have misunderstood flycheck, but aren't checkers executed async? I wouldn't have any problem if a checker result were delayed 10 seconds, or even more than a minute, as long as writing code wasn't affected, but if flycheck is indeed synchronous, than I understand why it becomes slow. :/
$ time ~/.emacs.d/go-utils/bin/gometalinter xmmsclient > /dev/null
  10,28s user 3,28s system 621% cpu 2,182 total

This lag seems to be caused by an number of factors. First of all I hadn't customized flycheck-idle-change-delay so it was executing after 0.5 seconds timeout since last modification, which might happen when I write code and think about what to write next. When this happens two things seem to slowdown Emacs. First gometalinter runs by default with a concurrency level of 16. This steals CPU-time from the editor as I only have 8 cores. Secondly, when the gometalinter process exits and emacs have to parse its output, there's a decent stall.
It's proably a better idea to try to integrate the different checkers in flycheck directly, so that flycheck fills the role of gometalinter. That way the checkers are run separatly, and it's less output to parse each time. Finally when trying to figure out why it was slow, I held the return-key, and that ofc triggered flycheck as I hadn't customized flycheck-check-syntax-automatically to only trigger on idle-change and mode-enabled.

I have (setq flycheck-check-syntax-automatically '(mode-enabled save)) in init.el so flycheck only runs on save. I'm not sure if I can do anything to improve the situation.

I think there are a number of ways to improve the situation:

Add the ability to change concurrency level of gometalinter so that at least one core can continue supporting emacs while the checkers are executing.
Add a comment to README to increase flycheck-idle-change-delay if editing is being slowed down by running cherkers /parsing result and idle-change is a part of flycheck-check-syntax-automatically.
Remove new-line from flycheck-check-syntax-automatically if idle-change is used, as it's redundant, and only causes an extra run of the checker, which is quite heavy to execute (no problem with lower concurrency-levels), and specifically parse (blocking operation it seems) unless you have a fully gometalinter-compliant code base.

Added concurrency option in https://github.com/favadi/flycheck-gometalinter/pull/6

I merged #6.

@dsvensson your MR is merged, should we close this issue?

The biggest pain was from system wide resource starvation. I think the current slowdowns are due to all checkers running at once and yielding a very big message to parse, rather than running each checker after each other like flycheck otherwise does.


[firebase_auth] FirebaseUser email is empty after force quit on android for signInWithCredential

When an android user who has signed in with signInWithCredential force quits then reloads the app, the FirebaseUser associated email is null
Steps to reproduce the behavior on (physical device only):

Sign in with signInWithCredential (Google or Facebook) on Android device (tested on S9, Pixel)

    final GoogleSignInAccount googleUser = await _googleSignIn.signIn();
    final GoogleSignInAuthentication googleAuth = await googleUser.authentication;

    final AuthCredential credential = GoogleAuthProvider.getCredential(
      accessToken: googleAuth.accessToken,
      idToken: googleAuth.idToken,
    );

    final FirebaseUser user = (await _auth.signInWithCredential(credential)).user;

Force quit
Reload the app
User is logged in but FirebaseUser email is null

Expected behavior
User should be remained logged in and FirebaseAuth.instance.currentUser() email preserved with access to FirebaseUser email
Additional context
This is Android-specific, and specific to signInWithCredential, not happening for signInWithEmailAndPassword
firebase_auth: ^0.14.0+5

Flutter doctor:
[✓] Flutter (Channel stable, v1.7.8+hotfix.3, on Mac OS X 10.14.6 18G87, locale en-US)
• Flutter version 1.7.8+hotfix.3 at /Users/dcoleyoung/development/flutter
• Framework revision b712a172f9 (3 months ago), 2019-07-09 13:14:38 -0700
• Engine revision 54ad777fd2
• Dart version 2.4.0
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/dcoleyoung/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.2.1, Build version 10E1001
• CocoaPods version 1.6.1
[✓] iOS tools - develop for iOS devices
• ios-deploy 1.9.4
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 31.3.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

I discovered the source of the issue.  After a force quit, the FirebaseUser object has an empty string '' for email rather than null (preforce quit / timeout).

This is by design, you need to be listening to https://pub.dev/documentation/firebase_auth/latest/firebase_auth/FirebaseAuth/onAuthStateChanged.html - when your app boots, the auth service may not have initialised yet.


outgoing (Response) middleware

Some middleware may want to interact with the Response instead of, or in addition to, the Request.
A good example of this would be a dynamic compression middleware, one for decompressing Request bodies, but usually more importantly, one for compressing Response bodies.

That is to say, while current middleware can return a response, there needs to be a middleware "phase" after application code is executed, before the response is actually sent.

Looks like I misunderstood how the middleware worked.
In tide middleware everything before the let res = next().await?; is processed before the route code (incoming), and everything after is processed after (outgoing)!


Error

###SheetsQuickstart
###Actual Behaviour
C:\src>gradle -q run
Error: Could not find or load main class SheetsQuickstart
Caused by: java.lang.ClassNotFoundException: SheetsQuickstart
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':run'.

Process 'command 'C:\Program Files\Java\jdk-10.0.1\bin\java.exe'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 56s

Did you copy the Java source code exactly? Can you check that you haven't put it into a Java package?

Make sure to change this line mainClassName = 'CalendarQuickstart' on build.gradle with your classname:

SheetsQuickstart

And follow this folder structure:
 project_folder/
    src/
        main/
             java/
                 SheetsQuickstart.java
             resources/
                 credentials.json

@prernac29 Did you copy the source code exactly? Can you use the --stacktrace option?

Closing due to inactivity.

hi , i have the same problem, !


Add syncedAt annotation

Work addresses part of https://github.com/Skyscanner/applicationset-progressive-sync/issues/103

LGTM, quick question though: what happens if an app is in two stages?
Does it get retagged with syncAt? will this affect anything?

LGTM, quick question though: what happens if an app is in two stages?
Does it get retagged with syncAt? will this affect anything?

I spoke with Nebojsa about it, and we shouldn't get the app in two stages anymore. And more specifically, the check should happen around here - https://github.com/Skyscanner/applicationset-progressive-sync/blob/adcdbcad865ae90f6ab5fc0adcd13390c61bc6fe/internal/scheduler/scheduler.go#L37

An app can be selected in multiple stages, because the label selector could
catch it, but should be synced only in one stage. After that, as Dimitar
pointed out, it should be ignored by the scheduler.
On Tue, Jun 22, 2021, 13:23 Dimitar Hristov @.***>
wrote:

LGTM, quick question though: what happens if an app is in two stages?
Does it get retagged with syncAt? will this affect anything?
I spoke with Nebojsa about it, and we shouldn't get the app in two stages
anymore. And more specifically, the check should happen around here -
https://github.com/Skyscanner/applicationset-progressive-sync/blob/adcdbcad865ae90f6ab5fc0adcd13390c61bc6fe/internal/scheduler/scheduler.go#L37
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Skyscanner/applicationset-progressive-sync/pull/105#issuecomment-865899942,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEZHCBLARIRF4JZG2WLZJDTUBXELANCNFSM4633AXWQ
.

Brilliant. thanks


LOB App built with the Intune SDK

Does the Require Approved Client App aslo support applications bult with the Intune SDK?
https://docs.microsoft.com/en-us/mem/intune/developer/apps-prepare-mobile-application-management.
Or is this restricted to these apps only?

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

ID: bd934939-4dbb-3a92-f996-56b9557f49ac
Version Independent ID: 3cda6b81-26e8-c9ac-e768-d912636a461b
Content: Grant controls in Conditional Access policy - Azure Active Directory
Content Source: articles/active-directory/conditional-access/concept-conditional-access-grant.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@Coopem16 Thanks for the feedback. We are investigating the issue and will update you shortly.

@Coopem16  As of today, this is restricted to the Cloud applications as of today.
We will be closing this thread now. Let us know if you need further help.

So this link is incorrect?
https://docs.microsoft.com/en-us/mem/intune/developer/apps-prepare-mobile-application-management
<EMAIL_ADDRESS>If you develop an LOB app with the intune SDK, It will not support the two Conditional Access policies highlighted above?
Thanks

<EMAIL_ADDRESS>From: neeleshray-msft<EMAIL_ADDRESS>Sent: Monday, April 20, 2020 05:01 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Cooper, Matthew N<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [EXTERNAL] Re: [MicrosoftDocs/azure-docs] LOB App built with the Intune SDK (#52399)
Nationwide Information Security Warning: This is an external email. Do not click on links or open attachments unless you trust the sender.

@Coopem16https://github.com/Coopem16 As of today, this is restricted to the Cloud applications as of today.
We will be closing this thread now. Let us know if you need further help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/52399#issuecomment-616411650, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMOBQWE3G6ZJMP2PL5A3JILRNQFN3ANCNFSM4MIAEVPQ.


QUICK-FIX: add parse json request body middleware

Problem statement
Need to manually parse json in request.body in each handler
Solution description
Create middleware, write tests for it.
Disable eslint jest/valid-describe as it is flawed: https://github.com/jest-community/eslint-plugin-jest/issues/203

Tested in on few handlers, it works


SATA LP Staking Pool

The token allocation to be made:
2,900,000.00 SATA
The purpose of the allocation, and a justification as to requiring the modification to be made:
To increase Uniswap V2 liquidity for the SATA-wETH pair, this proposal is to open a staking pool for Liquidity Provider (LP) tokens.
Proposed parameters for the pool:
Pool ends 2023-05-30 (12 months)
1 day minimum staking time
Current liquidity: $237,650.00
Target liquidity: $1,000,000.00
Total SATA rewards: 2,814,432 SATA
Target APY: 30%
The farm will be established on OKLG.io.
Due to the dynamic nature of liquidity token value compared to the SATA token value the APY is only estimated and will change according to price changes. This may also change the parameters of the pool by the time (and if) this proposal goes to vote.

I am for this proposal, any increase to liquidity is net positive for SATA.
I do believe however that the APY may not be large enough to attract a decent amount of liquidity considering that the most recent staking pool was fixed at 90% APR and still did not attract a large pool of investment. Is the 30% APY dependant on the amount staked in the pool and moves up or down accordingly?

I am in favor of this proposal. I wouldn't be opposed to increasing the APY as Centurion mentioned, but I'm also thinking low participation last LP staking round was partially due to single sided staking be available and much more preferred since there was less risk.
Anything to bump up Uniswap liquidity will be beneficial

I'm also in favour but I share the concerns regarding low participation - how can we incentivise people to participate more? Personally I think Bancor is more attractive, even though volume is virtually non-existent right (as with everywhere really).
TBH I'm not sure what we could offer to make it more attractive, but I'm sure Tim has a few ideas up his sleeve. Otherwise, I don't know that we'll get much interest in this over say Bancor V3.

With the updated parameters:
Pool ends 2023-06-30 (12 months)
1 day minimum staking time
Current liquidity: $117,203.00
Target liquidity: $600,000.00
Total SATA rewards: 4,009,975 SATA
Target APY: 30%
These numbers have the target reduced from $1mil to $600k. If it's set to $1mil then it's about 7.5mil SATA required for the rewards.
With these parameters now, these are what the rewards would be for some example target APYs:

10%: 1.336mil SATA
20%: 2.673mil SATA
30%: 4.009mil SATA
40%: 5.346mil SATA
50%: 6.683mil SATA
60%: 8.019mil SATA
70%: 9.356mil SATA
80%: 10.693mil SATA
90%: 12.029mil SATA
100%: 13.366mil SATA

So if the total liquidity target goes up, the total rewards goes up. If the farm duration changes, it will also increase or decrease the total rewards.
Also typically these types of farms don't get filled because you have to hold LP tokens, which for SATA is pretty uncommon. So reducing the total liquidity target to test the waters first could be an option. Up to you.

Does anyone else have a strong opinion on the APY we should go with?


feat: add community link in readme.

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

feat: add community link in readme.

2. What is the scope of this PR (e.g. component or file name):

README-zh.md
README.md

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[x] Other

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
141 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-0.6%) to 59.195%

Files with Coverage Reduction
New Missed Lines
%

kclvm/runner/src/assembler.rs
1
97.86%

kclvm/sema/src/resolver/node.rs
9
75.23%

kclvm/sema/src/ty/mod.rs
35
66.02%

kclvm/sema/src/resolver/config.rs
42
79.61%

kclvm/parser/src/lib.rs
54
83.44%

Totals

Change from base Build<PHONE_NUMBER>:
-0.6%

Covered Lines:
20961

Relevant Lines:
35410

💛  - Coveralls


Audio transcription API fails with non-json response_format field in request

Describe the bug
The OpenAIClient::audio_transcription(&self, req:AudioTranscriptionRequest) method takes in a request of structure:
#[derive(Debug, Serialize, Clone)]
pub struct AudioTranscriptionRequest {
    pub file: String,
    pub model: String,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub prompt: Option<String>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub response_format: Option<String>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub temperature: Option<f32>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub language: Option<String>,
}

where response_format seems to be directly mapped to the response_format API argument described in OpenAI's documentation. However, when it is given a non-json argument, text in my case, the method fails to parse the response while attempting to deserialize it from an assumed json format, giving an error.
To Reproduce

Create an AudioTranscriptionRequest with its response_format field set to Some("text".to_string()).
Use it to call OpenAIClient::audio_transcription(&self, req:AudioTranscriptionRequest).
Observe that the returned result is always a parsing error.

Code snippets
let request = AudioTranscriptionRequest {
    file: tmp_path.to_string_lossy().to_string(), // arbitrary file path
    model: "whisper-1".to_string(),
    prompt: None,
    response_format: Some("text".to_string()),
    temperature: None,
    language: Some("ko".to_string()),
};
let resp = openai.audio_transcription(request).await;

OS
Windows 10(Ubuntu 22.04 WSL2), Also tested on MacOS 15.1.1
Rust version
Rust v1.83.0
Library version
openai-api-rs v5.2.3

@RulerOfCakes Thank you for report bug
Fixed PR: https://github.com/dongri/openai-api-rs/pull/134
Please use v5.2.4
sample code
https://github.com/dongri/openai-api-rs/blob/main/examples/audio_transcriptions.rs#L20-L23
let result = client.audio_transcription_raw(req_raw).await?;


Intellisense in comments

If you're inside a (* *) code you wouldn't expect intellisense or autocomplete to happen, but it does - this can be frustrating as you have to keep escaping out.

That should be probably handled in FSAC or FCS - no idea why FCS returns completion for comments ;)

Hi,
I'm looking into this one. I've got some almost working solution locally, and still learning FSAC/FSC to the level of acceptable PR.

@kirill-gerasimenko are you still working on this?
Best

@lilred not at the moment sorry :(

Fixed in 3.15.2


ERROR from nest protect HACS integration

The problem
ERROR from nest protect HACS integration
What version of this integration (ha-nest-protect) has the issue?
0.4.0b7
What version of Home Assistant Core has the issue?
core-2024.12.1
Device / Model
Nest Protect Wired
Diagnostics information
2024-12-07 15:05:26.374 ERROR (MainThread) [custom_components.nest_protect] Unknown exception. Please create an issue on GitHub with >
Traceback (most recent call last):                                                                                File "/home/homeassistant/.homeassistant/custom_components/nest_protect/init.py", line 208, in _async_subscribe_for_data            dict(b, **buckets.get(b.object_key, {})) for b in [data.updated_buckets]                                                                                ^^^^^^^^^^^^                                                                                AttributeError: 'list' object has no attribute 'object_key'
Home Assistant log
Logs
2024-12-07 15:05:26.374 ERROR (MainThread) [custom_components.nest_protect] Unknown exception. Please create an issue on GitHub with >
Traceback (most recent call last):                                                                                File "/home/homeassistant/.homeassistant/custom_components/nest_protect/__init__.py", line 208, in _async_subscribe_for_data            dict(b, **buckets.get(b.object_key, {})) for b in [data.updated_buckets]                                                                                ^^^^^^^^^^^^                                                                                AttributeError: 'list' object has no attribute 'object_key'
```
Copy/paste any log here, between the starting and ending backticks (`)
```

Additional information
No response

Duplicate of #347


Wrong ctrl+alt+up keybinding in Windows

This entry override the one from the default keybinding, but the default one is correct and I don't think the editor.action.copyLinesUpAction command exists in ST (only { "keys": ["ctrl+shift+d"], "command": "duplicate_line" })

Thank you.

I'll publish this soon.


Restrict assert with apiVersion/kind to only relevant objects

What would you like to be added:
When I specify an assert step and specify the apiVersion and kind fields on my assert object, then my object should only be compared against objects of the same kind.
For example, the following assert failure output is noisy and pretty useless:
                 apiVersion: v1
                +count: 1
                +eventTime: null
                +firstTimestamp: "2020-05-11T23:12:59Z"
                 involvedObject:
                -  apiVersion: tekton.dev/v1alpha1
                -  kind: PipelineRun
                +  apiVersion: v1
                +  fieldPath: spec.containers{git-daemon}
                +  kind: Pod
                +  name: git-daemon-f54ff8cb9-x7t6x
                +  namespace: kudo-test-capital-lionfish
                +  resourceVersion: "2677"
                +  uid: a3ebd99c-45a8-45bd-9f25-2cc3f8e7b5af

Note that involvedObject expects a tekton.dev/v1alpha1.PipelineRun:
                -  apiVersion: tekton.dev/v1alpha1
                -  kind: PipelineRun

but is compared to a v1.Pod:
                +  apiVersion: v1
                +  kind: Pod

I don't think there are valid scenarios where this could be valuable information.
Why is this needed:
The log output is extremely verbose when there are many objects and an assert fails.

@gpaul I don't believe I understand enough context here...  could you provide a simple setup.yaml and an assert.yaml with an expectation of what should pass and what should fail?  or explain a bit more please?
also...  great to hear from you!!

Hey :-)
Sure, so I have the following assert.yaml:
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
  labels:
    repository-ref: dispatch
spec:
  resources:
  - name: git
  serviceAccountName: github-webhook
  timeout: 1h0m0s
status:
  conditions:
  - message: "Tasks Completed: 2, Skipped: 0"
    reason: Succeeded
    status: "True"
    type: Succeeded

That assertion failed in my test. Which is fine. Now I want to debug it.
In the kuttl output, I see:
...
            case.go:155: resource Task:kudo-test-driving-lobster/: .spec.resources: key is missing from map
            case.go:155: no resources matched of kind: tekton.dev/v1beta1, Kind=TaskRun
            case.go:155: --- Event:kudo-test-driving-lobster/
                +++ Event:kudo-test-driving-lobster/dispatch-login-mj9rc.1615258a32213038
                @@ -1,13 +1,24 @@
                 apiVersion: v1
                +count: 1
                +eventTime: null
                +firstTimestamp: "2020-06-03T21:21:58Z"
                 involvedObject:
                -  apiVersion: tekton.dev/v1alpha1
                -  kind: PipelineRun
                +  apiVersion: v1
                +  kind: Pod
                +  name: dispatch-login-mj9rc
                +  namespace: kudo-test-driving-lobster
                +  resourceVersion: "3899"
                +  uid: 52fb966e-60ef-4a0a-bf93-bed53ddf9b50
                 kind: Event
                -message: 'Tasks Completed: 2, Skipped: 0'
                +lastTimestamp: "2020-06-03T21:21:58Z"
                +message: Successfully assigned kudo-test-driving-lobster/dispatch-login-mj9rc to kind-control-plane
                 metadata:
                +  name: dispatch-login-mj9rc.1615258a32213038
                   namespace: kudo-test-driving-lobster
                -reason: Succeeded
                +reason: Scheduled
                +reportingComponent: ""
                +reportingInstance: ""
                 source:
                -  component: pipeline-controller
                +  component: default-scheduler
                 type: Normal

Notice that the error output shows a comparison between the tekton.dev/v1beta1.PipelineRun, which is the object in my assert.yaml, and a v1.Pod.
This ticket is about not printing the comparison between the expected object with objects of a different apiVersion and Kind. If the user sets a specific apiVersion/kind in the assert, odds are they're not interested in or surprised by the fact that the asserted object doesn't match objects of a completely different kind.

I believe this was fixed by https://github.com/kudobuilder/kuttl/pull/488


Adding binary ninja plugin.

This is initial version of binary ninja plugin. It has add/search
functionality and results are displayed in separate tab.

I'm an employee so CLA does not apply I think


feat: make smart repositioning configurable in the popovers

Signed-off-by: Ivan Donchev<EMAIL_ADDRESS>PR Checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] If applicable, have a visual design approval

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] clarity.design website / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?
We can't switch off automatic repositioning of the smart popovers
Issue Number: N/A
What is the new behavior?
We can use "smartPositioning: false" parameter on the structural directive of popover-content to disable smart positioning.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@Jinnie are we going to close this based on our discussion? If so please do or advise what you intend to do with this PR.


Upgraded hyrax to the latest codebase from github master branch

Fixes #110
Upgraded hyrax to the latest codebase from github master branch and fixed the errors.
Changes proposed in this pull request:

Upgraded hyrax
Fixed the issues with test failures.
Refactored codes.
Updated local pages to follow hyrax for editing.

@ucsdlib/developers - please review

@hweng - any other thoughts/concerns?

LGTM :+1:


Improve Quickstart Documentation: Update CrewAI Reset Command for Accuracy

This pull request includes a change to the docs/quickstart.mdx file to improve the clarity and accuracy of the documentation.
Documentation improvement:

docs/quickstart.mdx: Updated the command to reset the memory of the crew from crewai reset-memory to crewai reset-memories --all for better accuracy and functionality.

Disclaimer: This review was made by a crew of AI Agents.
Code Review Comment for PR #1688
Summary
This pull request enhances the documentation in quickstart.mdx by updating the command for resetting memories in the crewAI SDK from crewai reset-memory to crewai reset-memories --all. This adjustment increases clarity and aligns the command with the functionality.
Code Quality Findings

Clarity Improvement: The revised command uses the plural "memories," which better reflects its function. This is an important distinction that helps prevent user errors.
Explicit Command Functionality: Adding the --all flag defines the scope of the reset operation, reducing ambiguity in how users might interpret the command.

Suggested Specific Improvements

Context Enhancement:
To further aid user understanding, consider providing additional explanation about the --all flag, such as:
If you need to reset all memories across your crew before running it again, you can do so by calling the reset memories feature:

```shell
crewai reset-memories --all

This command will clear all memories. If you need to reset specific memories, you can omit the --all flag and specify particular memory identifiers.

Command Options Documentation:
Providing a detailed list of command options would enhance clarity:
### Memory Reset Options

- `--all`: Reset all stored memories
- `--agent <agent-name>`: Reset memories for a specific agent
- `--task <task-id>`: Reset memories related to a specific task

Historical Context and Related PRs
Reviewing related pull requests on command improvements shows a trend toward enhancing clarity and user experience. PRs focused on user-centric changes have been beneficial in minimizing confusion in command usage.
Implications for Related Files
The changes made in quickstart.mdx may prompt updates in other documentation files that reference memory commands or provide tutorials. Ensuring all documentation is consistent and accurate will reinforce positive user experience across the SDK.
Conclusion
The documentation update is a significant improvement that follows best practices. The proposed enhancements will contribute to a better understanding of command usage. With these minor adjustments, the documentation will more effectively serve its users.
Status: ✅ APPROVED with suggestions for additional context and examples.

Thank you @CJavierSaldana!!


[production] increased LoadAdError(code: 8, message: Not supported.. (ad request was not made due to a missing app ID)

as title
no code changed, just updated version

Hi @peterweb2005,
The error code you are seeing appears to be from the Android layer of the Google Mobile Ads codebase. This something that the AdMob Developers forum can help resolve. Please create an issue there as a next step. Thanks.


Working on 22.04

Hi,
Thanks for your amazing work.
BTW, I'm trying to run your code on ubuntu 22.04, and I faced a problem with build the fast gicp package.
Is there any solutions and further problems on 22.04?

Hi, this is my solution.
https://github.com/Lab-of-AI-and-Robotics/GS_ICP_SLAM/issues/2#issuecomment-2106848301

@MarvinChung
Hi,
Thx for ur help

Hi, this is my solution.
#2 (comment)

Thank you very very ~ very much


HQ_Dictionary model and RestoreFormer model use different number of attention heads

RestoreFormer sets the number of attention heads to 8 here https://github.com/wzhouxiff/RestoreFormer/blob/f31d8e9a200a6200368d6fc27596d20499e0e991/configs/RestoreFormer.yaml#L30
but the HQ_Dictionary model leaves it as default, ie 1. Is this a bug or was it done on purpose?

Thanks for your reminder. I have revised it to 8.


fetchSignInMethodsForEmail: returning incorrect results

Xcode version: 10.2
Firebase SDK version: 6.4.0
Firebase Component: Auth
Component version: 6.2.0

Steps to reproduce:
Both fetchSignInMethodsForEmail: and fetchProvidersForEmail: are returning the same incorrect results for a Facebook authenticated account.
I have an account that is authenticated using Facebook, but I'm seeing ["password", "google.com"] returned. Fetching via JS or the Auth tab of the Firebase console show the correct sign in methods for this user.
Testing an email that was authenticated using Google, and I'm getting the correct result back.
I can't see whether these incorrect results are just cached from a previous user, or are a direct result of checking for the current user, but the same incorrect results are returned consistently for the user.
This seems to be very similar to: https://github.com/firebase/firebase-ios-sdk/issues/3412
Relevant Code:
[[FIRAuth auth] fetchSignInMethodsForEmail:email completion:^(NSArray<NSString *> * _Nullable providers, NSError * _Nullable error) {
        NSLog(@"Providers: %@", providers);
}];

I've discovered what was happening here.
When searching for an email address in the Auth console, I am seeing two accounts returned, even though one of the accounts appears to have a different email address. It is the first of the two accounts that I'm getting when I do a fetchSignInMethodsForEmail:.
e.g searching in the Auth console for<EMAIL_ADDRESS>and I'm seeing the following:
<EMAIL_ADDRESS>via ["password", "google"]
<EMAIL_ADDRESS>via ["facebook"]
Perhaps fetchSignInMethodsForEmail: should return all of the sign in methods for that email, rather than just those for the first user?

Thanks for your detailed description.
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>are always considered as different emails.
It seems you linked the Google account<EMAIL_ADDRESS>with a password account (name+other@domain.com). In this case the email of the Google account doesn't matter. The email identifier of the user is still (name+other@domain.com).
fetchSignInMethodsForEmail: always returns the methods associated with the email identifier.

That's not what's happening.
As I described above, when I do a fetchSignInMethodsForEmail: using the<EMAIL_ADDRESS>email address, I'm getting the sign in methods associated with the<EMAIL_ADDRESS>account, and this as you say, must be because the linked Google auth is using the<EMAIL_ADDRESS>address. There actually are two accounts that have sign-in methods for the same email address, I'm only getting the sign-in methods for one of them, and it is always the one that has the "password + Google" sign-in methods.
Even if it worked the way that you describe, then it would be broken. If it worked that way, then there would be a sign in method associated with the email address that I'm providing<EMAIL_ADDRESS>via the Google auth), and it would not be being returned because that account also has "password" auth using a different email address. If it worked that way, it wouldn't be fetching all of the sign-in methods for the email address provided.

Call fetchSignInMethodsForEmail: with<EMAIL_ADDRESS>should return ["facebook"] in your case. If not, there could be a bug.
Could you provide the steps to reproduce? Like how these accounts are created and linked.

Closing due to inactivity.


volume_key: 0.3.10 → 0.3.11

Motivation for this change
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Builds locally for me. :+1:

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: volume_key
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: volume_key
Partial log (click to expand)
strip is /nix/store/90vmpr41dzsx350k5argycaf693hnl1l-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/hsjv2w2gr3qwhwyr1k69bbmbm682449p-volume_key-0.3.11-dev
checking for references to /build in /nix/store/hsjv2w2gr3qwhwyr1k69bbmbm682449p-volume_key-0.3.11-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/dqava1nq0mp4p2p5a78q2nkg06z0jmn1-volume_key-0.3.11-py
shrinking /nix/store/dqava1nq0mp4p2p5a78q2nkg06z0jmn1-volume_key-0.3.11-py/lib/python3.6/site-packages/_volume_key.so
strip is /nix/store/90vmpr41dzsx350k5argycaf693hnl1l-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/dqava1nq0mp4p2p5a78q2nkg06z0jmn1-volume_key-0.3.11-py/lib
patching script interpreter paths in /nix/store/dqava1nq0mp4p2p5a78q2nkg06z0jmn1-volume_key-0.3.11-py
checking for references to /build in /nix/store/dqava1nq0mp4p2p5a78q2nkg06z0jmn1-volume_key-0.3.11-py...
/nix/store/pf4xlal9ax784iy5k2b2y4bs8mpdwq4h-volume_key-0.3.11


issues when run npm start

When install follow guideline I have issues when run npm start like as this picture :

Thanks for report. Are you using yarn install to install node_modules?
If not can you remove node_modules with rm -rf node_modules then use yarn install?
Try again with yarn start.
And please report me back the result.
Thanks again!