XML support?

Would it be possible to add XML support? I know that XML is quite a bit more complicated with attributes as well as elements, but I figure that we could probably extend the current meta system to allow you to tell Glaze which are attributes and which are sub-elements. An alternative to this would be to take into consideration that attributes are strings in XML, so we could make our own set of types, and then employ the following rules:

If the type of a field in a struct is one of our types (i.e., glz::date_time, glz::xml_string, etc.), and The value read in matches the regular expression for that type, then:
The field is an attribute, so treat it as one.
Otherwise, if the type is NOT one of those specific types, it is an element.

This would solve the problem of purely textual elements, for example, like:

true

Could be theoretically defined (using this alternative model) as:
struct a {
  glz::xml::integer attr1; // XML integer as defined by the XSD spec
  glz::xml::boolean attr2; // XML boolean as defined by the XSD spec
  std::string a; // Element, not attribute
};

Would either of these models be feasible/doable? I imagine the first would probably be easier; the second may require the XML XSD types to be actual classes with things like operator std::uint32_t overloads so that they satisfy std::convertible_to, perhaps. If this isn't on the roadmap that's alright, but I thought I would ask.

I don't have the capacity right now to add XML support. Although I am working on improving the library so that it is easier to add new formats.
If you wanted to implement XML support I could help orient you with the architecture. But, I feel like this would be a large effort.
What is your motivation for parsing XML directly into C++ objects? Are you doing web development or do you have XML input files?

I do have a project that sadly must read XML, yes, but it's not a project that I need to complete on a deadline or anything, so I've been looking around and trying different solutions to see what works best. I thought of writing an XSD to C++ converter but I wondered if maybe something like this library could do it instead of me having to write a converter.

I would recommend looking for another C++ library that can handle XML for you.
In the long term we do plan to add more formats to Glaze, but XML is a complex spec that would take a while to implement.
But, thanks for inquiring.

I am going to move this to the discussions page for future reference.


handle smartnic cleanup when container net namespace is empty

This change attempts to cleanup smartVFs net representor from
ovs bridge and rename smartVF back to its original name when
container network namespace is no more available due to errors
like OOMKilled, CrashLoopBackOff etc.
Signed-off-by: Periyasamy Palanisamy<EMAIL_ADDRESS>

/release-note-none

/cc @JanScheurich

/lgtm

@pperiyasamy do you need a new release to consume this?

do you need a new release to consume this?

yes @phoracek, it would be great if we have a release with this fix.

Sure thing sir! Here you go https://github.com/kubevirt/ovs-cni/releases/tag/v0.14.0


Correct usage of NMSSH in Swift iOS Application

Hello,
I follow the instruction to build the NMSSH.framework. All was build successfully with Xcode 6.1.
Then I tried to add the framework to my simple swift ios app as described in the manual.

Add file NMSSH.framework to the project
Add the needed libraries (NMSSH.framework, libz.dylib, CFNetwork.framework)  to the Build Phases - Link Binary With Libraries
So far it worked well.
My problem is the following one which caused an error.
Add #import <NMSSH/NMSSH.h> to your source file.
Please see screenshot for the error.

I also tried the fix without success.

I hope anyone can help me to add the NMSSH.framework to my swift ios app.
With Xcode 5 all was working fine for me.
Many thanks in advance.
Sven

Sven,
Take a look to this
http://www.learnswiftonline.com/getting-started/adding-swift-bridging-header/


SharpDX no longer maintained

I'm considering using LottieSharp in a .NET Framework / WPF application. LottieSharp depends on SharpDX which does not seem to be maintained anymore (see https://github.com/sharpdx/SharpDX). Are there any plans to address this in the future?
Kind Regards
Daniel

Yes already I know about it.
If you check other issues you will see that I want to migrate it to maybe skia sharp. But better say not soon

Yes already I know about it.
If you check other issues you will see that I want to migrate it to maybe skia sharp. But better say not soon

Ok. Thank you!

Ok. Thank you!


Better support for empty blocks.

Currently we need a workaround for empty block which have no block content and add an empty row.
Today

Works to create a block without any content.
Expected

This pattern should be accepted as empty block with no content as well, additionally to today's behavior.

:tada: This issue has been resolved in version 2.5.0 :tada:
The release is available on:

v2.5.0
v2.5.0
GitHub release

Your semantic-release bot :package::rocket:

What as implemented with https://github.com/adobe/helix-html2md/pull/367 was handling of

Butt not the structure mentioned in the description.
Here is another structure that is not correctly processed:


Cache paginated register data

Signed-off-by: Elly Kitoto<EMAIL_ADDRESS>IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #[issue number]
Checklist

[ ] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[ ] I have added any strings visible on UI components to the strings.xml file
[ ] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[ ] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[ ] I have built and run the fhircore app to verify my change fixes the issue and/or does not break the app

@ellykits PR looks good, just a quick question, how does it handle freshly synced data from the server?

Anytime sync will be triggered and it completes, the onSync function will
be called in the Fragment which will clear the cache. Moving through the
pages will refresh the data in the cache.
On Mon, Oct 24, 2022, 09:43 Martin Ndegwa @.***> wrote:

@ellykits https://github.com/ellykits PR looks good, just a quick
question, how does it handle freshly synced data from the server?
—
Reply to this email directly, view it on GitHub
https://github.com/opensrp/fhircore/pull/1753#issuecomment-1288495248,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGM667HEYLUULFKDM6S4UDTWEYVXZANCNFSM6AAAAAARJFO6JA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Anytime sync will be triggered and it completes, the onSync function will be called in the Fragment which will clear the cache. Moving through the pages will refresh the data in the cache.
…

Noted. PR LGTM ✓

We will address that with the ON_CLOSE work flow for the questionnaire.
This event will be triggered say after submitting a questionnaire. We can
respond by reseting the cache for the register fragment.
On Mon, Oct 24, 2022, 09:53 Martin Ndegwa @.***> wrote:

@.**** commented on this pull request.
@ellykits https://github.com/ellykits does it also update the cache for
the local changes as well. e.g. when a new record is added or record is
removed
—
Reply to this email directly, view it on GitHub
https://github.com/opensrp/fhircore/pull/1753#pullrequestreview-1152606929,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGM667DOV3BTW7YMXNKLIYLWEYW77ANCNFSM6AAAAAARJFO6JA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Windows-12 is dead.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
Windows-12 is dead.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Machine is out of sync with Salt master, run command "salt-call state.apply" to re-sync with Salt master again.


Add Readme File

Add Readme File into component Library

Same suggestion as @anik31 gave

You can keep the installation part at the top & you can also add an image or gif of the component library as a demo.

Okay I'll do that thank you Aniket

Same suggestion as @anik31 gave

Okay I'll do that thank you Yashwant


Round up width/height for windows

Ever since neovim introduced the nvim_ui_pum_set_bounds() call, GUI clients have gained the ability to inform neovim of the current bounds of an external popup menu provided by ext_popupmenu.
Since external popup menus are allowed to be any size in pixels which may or may not line up cleanly on the grid, nvim allows for fractional coordinates to be reported. This also will mean that in the event of this, we'll end up with a cmp.WindowStyle with a float value for width/height - which is incompatible with vim.api.nvim_open_win() and will cause us to hit errors with GUI clients using this API call. An example:
Error executing vim.schedule lua callback: /home/lyudess/.vim/bundle/nvim-cmp/lua/cmp/utils/window.lua:115: 'width' key must be a positive Integer
stack traceback:
	[C]: in function 'nvim_win_set_config'
	/home/lyudess/.vim/bundle/nvim-cmp/lua/cmp/utils/window.lua:115: in function 'open'
	.../lyudess/.vim/bundle/nvim-cmp/lua/cmp/view/docs_view.lua:102: in function 'open'
	/home/lyudess/.vim/bundle/nvim-cmp/lua/cmp/view.lua:238: in function 'callback'
	/home/lyudess/.vim/bundle/nvim-cmp/lua/cmp/utils/async.lua:109: in function ''
	vim/_editor.lua: in function <vim/_editor.lua:0>

So, fix this by simply rounding up the width/height.

Thank you.


Stack fails due to: An error occurred (IncorrectState) when calling the AssociateIamInstanceProfile operation

I just tried deploying this in us-east-1 with t3.medium instance size and the other defaults. The stack deployed, then rolled back with this error in the bootstrap Lambda function:
File "/var/task/index.py", line 41, in lambda_handler
response = ec2.associate_iam_instance_profile(IamInstanceProfile=iam_instance_profile, InstanceId=instance['InstanceId'])
File "/var/runtime/botocore/client.py", line 391, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/var/runtime/botocore/client.py", line 719, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (IncorrectState) when calling the AssociateIamInstanceProfile operation: There is an existing association for instance i-0dd24280fdd526bac
https://cloudformation-custom-resource-response-useast1.s3.amazonaws.com/arn%3Aaws%3Acloudformation%3Aus-east-1%3A059963230793%3Astack/c9test/3e91a190-6284-11ed-9765-0e5a30013c2f|ExampleC9BootstrapInstanceLambda|3c2dbaf7-0ae6-4a00-badd-bb08affac57e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20221112T122207Z&X-Amz-SignedHeaders=host&X-Amz-Expires=7200&X-Amz-Credential=AKIA6L7Q4OWT3E562PJI%2F20221112%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=faf2b53b5d86898ae5ef51ff6fcc76c91ca8342384b72aa7cdc22c0f172d1d57
Response body:
{     "Status": "FAILED",     "Reason": "See the details in CloudWatch Log Stream: 2022/11/12/[$LATEST]40f39579b53545929f4243f8a16c1262",     "PhysicalResourceId": "CustomResourcePhysicalID",     "StackId": "arn:aws:cloudformation:us-east-1:059963230793:stack/c9test/3e91a190-6284-11ed-9765-0e5a30013c2f",     "RequestId": "3c2dbaf7-0ae6-4a00-badd-bb08affac57e",     "LogicalResourceId": "ExampleC9BootstrapInstanceLambda",     "NoEcho": false,     "Data": {} }
Status code: 200
[ERROR] TypeError: '>=' not supported between instances of 'ClientError' and 'int'Traceback (most recent call last):  File "/var/task/index.py", line 51, in lambda_handler    responseData = {'Error': traceback.format_exc(e)}  File "/var/lang/lib/python3.9/traceback.py", line 167, in format_exc    return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))  File "/var/lang/lib/python3.9/traceback.py", line 120, in format_exception    return list(TracebackException(  File "/var/lang/lib/python3.9/traceback.py", line 517, in init    self.stack = StackSummary.extract(  File "/var/lang/lib/python3.9/traceback.py", line 340, in extract    if limit >= 0:

as discussed offline. caused by the underlying ec2 automatically had an Instance Profile assigned.


FR: Media Control Card Type

Love this dashboard!
I see in the readme there's a media control card, but I haven't been able to successfully get one on my instance.
I used this form:
type: media
entity: media_player.chromecastaudio0472

When doing so I see a box titled Unknown

Using the type media-control results in nothing being shown.
I may just be doing something wrong or it may not be supported yet but wanted to report it.
Thanks again for the awesome project!

it's not properly implemented yet, here's what I used
https://github.com/matt8707/ha-fusion/blob/c25dcd65ef0a4439efcc7d904e1aa1ad9ae36f54/data/dashboard.yaml#L53-L64

Awesome, thanks!

would love to have the  media_player_enable_art


PP-4884 Add validation for ExternalMetadata

WHAT YOU DID

Add validation to ExternalMetadata based on composing validations which gives us a fine grain control and flexibility of messages/ limits.
Create custom validations for map key length, map value length and map value types.
I would like to add this as-is (subject to review comments of course) to progress the story and unblock future work. I will revisit with a view of increasing the sophistication of the error messages to to reference the keys when a value is invalid.

The reason I used size was to be consistent with the terms used by the Validation api which uses
@Size https://docs.oracle.com/javaee/7/api/javax/validation/constraints/Size.html. However, since the types we're validating are always Strings (for now), it might make more sense to refer to it as Length. I'll change it.

I didn’t realise “size” is an existing convention so I’m less bothered about it now.


Adding support for generic (external) events

Description
The primary difference between generic(external) events and app events is that Events can't make any assumptions about the content of the events. The source will no longer always be a URL pointing to a specific app instance. The subject will no longer always be a party. New events might not have an alternativesubject, and so on.
This epic assumes that most of the issues related to resilience improvements have been completed.
See: https://github.com/orgs/Altinn/projects/31
This issue will be listing different parts of the work necessary to support more generic events.
Access Control
Maskinporten/ID-porten scopes altinn:events.publish altinn:events.subscribe

#142
#168

Authorization
Authorization for events is outside the scope of this epic. It will be implemented as part of a separate epic.
If that implementation is not ready the implementation in this epic will be limited to test-environment, and the access to the scopes will be restricted.

altinn/altinn-authorization#42

External API endpoints
OpenAPI Specification
https://app.swaggerhub.com/apis/vgrk/altinn-platform_events/v1

#125

Blockers (ordered)

#112
#118
altinn/altinn-platform#201
altinn/altinn-platform#286
#120

Implementation

#103
#96
- #165 out of scope for epic
#108
#107

Internal ("private") API endpoints

#156
#109

System overview

All current issues in the epic specified and ready for sprint except #107 and #109

Make e new epic

Closing epic as all related dev issues are completed


DELETE EDGE causing performance issues

Hi,
We are experiencing significant performance issues when trying to delete a large number of edges at once.  When trying to execute these queries, ODB becomes basically unresponsive or crashes.  On our platform, users can follow other users (a follow is represented by an edge between two users) and when we deactivate a user, we want to clear all their followees/followers.  We have tried the following 3 commands, all of which have been varying degrees of bad:
DELETE edge Follow FROM #{rid}
DELETE edge Follow TO #{rid}
DELETE edge Follow WHERE (out = #{rid} OR in = #{rid})
DELETE edge Follow FROM (SELECT from #{rid})
DELETE edge Follow TO (SELECT from #{rid})
Any idea how to optimize this? We are using version 2.0.2
Thanks.

I'm sorry, we're actually running 2.1.5 on production, just 2.0.2 locally

Hi @zhbanton
probably the performance impact does not depend on how you execute the query but on what happens under the hood.
I suggest you to split the transaction in multiple chunks using LIMIT
Thanks
Luigi

Ok, thanks a lot.  I am able to get it working by running this command:
DELETE edge Follow WHERE (out = #{rid}) limit 20")
The way I assumed it should be done based on the documentation is by running:
DELETE edge Follow to #{rid} limit 20
but that yields the following error message:
OCommandSQLParsingException: Error on parsing command at position #0: Class 'LIMIT was not found
Am I mistaken about that syntax or is that a bug, possibly related to https://github.com/orientechnologies/orientdb/issues/4148?


resolving warnings

This is backwards-compatible, right? So it won't need a new minor

@czechboy0 correct looks like it already got the merge tag treatment as 0.8.2  👍

Great, thanks!

Yeah it is. I already added a patch increment.


[W4.4][T09-A4] Marlene Koh

@marlenekoh Some comments added. Please close the PR after reading comments.
You can also write a new test case for this..


Build Android APK file to provide the huge possibility to attack via ru phone owners.

I'm suggesting, this is a possible solution
https://pkg.go.dev/golang.org/x/mobile/cmd/gomobile

This link does not work

The link is working

Seems like an interesting idea, but based on my limited experience with mobile it's likely that the main problem will be crafting a manifest with all the required permissions to use low level attacks, otherwise there might be existing solutions that are better suited for the use case (I've been looking into making a webassembly build and hosting a web version some time ago but it turns out that the browser only allows making http requests from within the sandbox so the benefit is pretty low)

The requirements (allow application to use network) will not be an issue.
APK file can be distributed by many ways, even without play market (or others applications catalogs).
BTW, almost everyone has old (2-3 years old) Android phone, that can be used as well as VM rented in public cloud providers.
But with mobile app we have opportunities to use ru phones, in case delivery APK file to mind-full people in ru for processing the attacks

Building and running db1000n in termux works without issues. Steps are:

install termux
install golang (apt update && apt install golang)
clone and compile db1000n: git clone https://github.com/arriven/db1000n && cd db1000n && make
Run db1000n: ./db1000n

main problem will be crafting a manifest with all the required permissions to use low level attacks

I've run db100n on a phone with termux (as nonroot user) as well as a rpi for the last couple of weeks and have not noticed any permission issues on the phone in the last couple of updates. Was seeing https://github.com/Arriven/db1000n/issues/265 before, but not anymore

Привет, мы с ребятами придумали как можно использовать вашу библиотеку для мобильных устройств Android
https://github.com/zlaya-sobaka/db1000n_mobile
с помощью библиотеки fyne https://github.com/fyne-io/fyne
Сейчас выкатили первую (примитивную) версию которую уже протестировали на мобильных устройствах https://drive.google.com/drive/folders/1boXqWfDEFhtsk6yKJLAULRp8LHee2uLJ?usp=sharing
В приложение добавили logger https://github.com/zlaya-sobaka/db1000n_mobile/blob/main/src/mobilelogger/logger.go
для мобильных устройств
собирать апк можно библиотекой go имея у себя SDK Android
fyne release -os android -appID zlaya.sobaka.db1000n_mobile -appVersion 1.0 -appBuild 1 -keyStore ./my-release-key.keystore -icon ./Icon.png
Возможно это как то поможет выкатить мобильную версия db1000n в мир


Error when importing LDR file

Using Blender 4.0, importing an ldraw file generated by Studio 2.0 with only a single EV3 remote in them, I get the following error
  File "AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\ldr_tools_blender\material.py", line 58, in get_material
    bsdf.inputs['Subsurface Color'].default_value = [r, g, b, 1.0]
KeyError: 'bpy_prop_collection[key]: key "Subsurface Color" not found'

Just checked, this error only occurs in Blender 4.0 using the latest release

This is already fixed on the latest commit but hasn't been released yet. The Blender 4.0 compatible release should be out in the next few days.


Fix record length errors on reading catalog VI/49

So far errors occurred only with URLs not local catalog files and at various locations in file without recognizable pattern. record() method looks rather complicated, thus simplification might fix issue:

Use readLine() method of BufferedReader class
Multiline-record compilation in public reader() method
Error checking in private reader() method and CatalogADC6049Record class

SO answer (marked) with list of Java trace tools.

CMU article describing the behavior.
Catalogs 7118, 6049, 1239T and 1239H affected.


[Enhancement] Move the verifiy page button in the extension-pop up close to the extension-icon to reduce distance

Closed via https://github.com/FantasticoFox/VerifyPage/commit/d580c5cdb2a1422eb287653b1be3b6660eb07480.


where is connection information

I want to build this project in Visual studio that's why i need the server information for .Net Bio project.

Not sure what you mean - there's no server project. If you are referring to a source control system - it was originally linked to a Codeplex project, but it's not anymore - now it's here on Github.

ok.. So what exactly i should have to do is to build the solution in Visual Studio?. Is there any library or something (prerequisites) that should be imported before building the solution?. I read the Documentation in codeplex site of .Net Bio project, it was mentioned there that you should add and connect to a server before building the project. I tried to build the solution downloaded from codeplex site but it was giving me errors.

I actually downloaded the source code and i want to build it in Visual studio but facing errors. I am a Bioinformatician and working on my project in which i have to create an online Database (Website) and where people can do the blast with my database and other functionalities. I wanted to copy the code of Blast from this .Net Bio Project and use it in y project.

Am closing this as I am also not sure what they mean.


Refactor evaluation metrics to output Legolas table rows

I wanted something like this for an internal project but ended up just processing the output myself. But maybe something like this would be useful here.
The idea is to return a Legolas.@row("lighthouse.evaluation@1",...) row instead of a Dict from evaluation_metrics. Then if you run Lighthouse evaluation on e.g. several models with the same dataset or one model with several datasets, you can easily collect the results as rows in a structured table.
See also #42 / #41 for other comparison stuff.
Status: I think the tests are failing and this started to feel like a waste of time so I switched focus, but could be picked up.

Great---this would be a huge improvement! As discussed in person, we'll try to get to this at some point in the not too distant future, and in the interim count not having this implementation yet as tech debt.

working on this now

[ ] TODO: file issue to make Matrix{Int64} in EvaluationRow in future


Configuring the code review chat bot

@joaomoreno Picked you as reviewer as I also need the SLACK_TOKEN GitHub Action secret set to the repository, which I believe you can do
https://github.com/microsoft/vscode-internalbacklog/wiki/Repository-Settings-Guidelines#configuring-the-code-review-chat-bot


Add figure separator field

This PR add figure.separator field as discussed in https://github.com/typst/typst/issues/1303.
The separator if provided replaces colon and space between figure's number and its caption.
For example #set figure(separator: [ --- ]) will generate em-dashed instead of colons.
This PR will conflict with https://github.com/typst/typst/pull/1704, but the conflict can be easily fixed when either of the PRs is merged

@PgBiel @laurmaedje Hey! There is no feedback during two weeks

Sorry, I did not yet get to this and #1704. I think this property would make much more sense on figure.caption than on figure itself, so I'd like to wait with this until #1704 is merged.

I agree something like #set figure.caption(separator: [---]) would probably make more sense.

Thank you!


Type inference not working with private fields from constructor

TypeScript Version:  4.x
Search Terms:
private class field, type prediction, inference
Code
class Testing {

  #test;
  test;

  constructor(test: string) {
    this.#test = test;
    this.test = test;
  }
}

Expected behavior:
Testing.#test should have type string implied as it's type. This behavior seems to work correctly with Testing.test.
Actual behavior:
Member '#test' implicitly has an 'any' type.ts (7008)
Playground Link: here
Related Issues:

@RyanCavanaugh It seems this issue was fixed in 4.1.* - Example


tftp.py: do not include tsize in OACK if it was not in the request

Some clients will reject an OACK which has blksize and tsize if the
request had only blksize. This commit fixes this issue.
RFC2347 states that 'The server must not include in the OACK any option
which had not been specifically requested by the client'.
Signed-off-by: Jerome Forissier<EMAIL_ADDRESS>

:thumbsup: again, can you PR against development

Created https://github.com/psychomario/PyPXE/pull/128 against development branch.


update AudioHandler.ts to always save the audio recording

Update the code to fix issue https://github.com/nikdanilov/whisper-obsidian-plugin/issues/43.

@nikdanilov, when you have time, could you have a look?

@drsect0r Thanks for catching and fixing it! 💪


Add response formatter; refactor stats formatter

This adds support for formatting responses in different ways. For now the options are

plain: No color, basic formatting
color: Color, indented formatting (default)
emoji: Fancy mode with emoji icons

Fixes #546
Related to #271
@alexanderbazhenoff fyi

@mre Code-wise this PR looks good :+1:
The summary (see below) which is printed in the end still shows emojis, is this not part of #546 and this PR?
🔍 2 Total (in 0s) ✅ 1 OK 🚫 1 Error

The summary (see below) which is printed in the end still shows emojis, is this not part of #546 and this PR?

Oh, nice catch. Maybe I should fix that. Then again, I'm not sure if it will be tough, because I have to pass that information to the StatusFormatter. 🤔

Maybe I should add some tests before this can be merged.

Finally got around to merging this!
Thanks for the review, @thomas-zahner.


hiera generic lookup

Hi there. If stumbled upon your module. Great thing. Its the only one which basically does hiera.
Now, I've added a method to add generic (non-checked) hiera-values to the main.cf file.
You can now use:
postfix::options:
  option1: value1
  option2: value2

and those will be serialized in main.cf
Also note: I've remove the smtptls options from the template, since I needed to set those.

Hi,
Sorry for the delay. Could you remove all the formatting (indenting) changes? It is quite difficult to see what the behavioral changes are.

I've created a new pull request without all the indentation. Sorry for that.

Closing this, because it has been superceded by PR https://github.com/Puppet-Finland/postfix/pull/2.


⚠ ClamAV has degraded performance

In 79992f5, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 497 ms

Resolved: ClamAV performance has improved in 98a251e.


Jesse: Watch shahnishant.com.np

Jesse requests the watch of the watch_keyword shahnishant\.com\.np. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

shahnishant\.com\.np has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Fix the multipart form data content missing issue by refill the content again before passing to the backend server

Fix the multipart form data content missing issue by refill the content again before passing to the backend server

refill the multipart form data at harbor API layer
export write error functions from the chartserver package
refactor the error format to be compatiable with push plugin

Pull Request Test Coverage Report for Build 7735

18 of 75 (24.0%)  changed or added relevant lines in 6 files are covered.
7 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.2%) to 63.726%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/chartserver/utils.go
13
16
81.25%

src/chartserver/repo_handler.go
0
4
0.0%

src/chartserver/manipulation_handler.go
1
8
12.5%

src/ui/api/chart_repository.go
0
43
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/jobservice/period/enqueuer.go
1
79.17%

src/ui/api/chart_repository.go
2
0.0%

src/common/utils/utils.go
4
85.5%

Totals

Change from base Build 7734:
-0.2%

Covered Lines:
11913

Relevant Lines:
18694

💛  - Coveralls


Set currentVersion = true when a resource is created

When a resource is initially created, the currentVersion needs to be set to true

@cmh2166 Presently our examples show that "currentVersion": true is being passed in.  Should we validate that the user has passed this in, or should we automatically set it?  If the latter, should I remove "currentVersion: true" from the examples?

Woah, this is odd. I see:   "not": {"required": ["currentVersion", "id", "version"]}, in the maps too... so apparently currentVersion is not supposed to be present in the examples.

currentVersion is only set by the system and should not be provided by a user in a deposit payload.


New version 0.14.0 fails pipeline if format: 'sarif' and  exit-code: '1' and there are no CRITICAL/HIGH vulnerabilities found.

New version 0.14.0 fails pipeline if format: 'sarif' and  exit-code: '1' and there are no CRITICAL/HIGH vulnerabilities found:
      - name: Run Trivy vulnerability scanner
        uses<EMAIL_ADDRESS>        with:
          image-ref: ${{ env.image-ref }}
          format: 'sarif'
          output: 'trivy-results.sarif'
          exit-code: '1'
          ignore-unfixed: true
          vuln-type: 'os,library'
          severity: 'CRITICAL,HIGH'

Older version 0.13.1 doesn't respect exit-code if format: 'sarif'

found the reason:
--severity flag is not passed if sarif == true:
trivy  image <image-with-no-critical-vuln> --exit-code  1 --ignore-unfixed --vuln-type  os,library --severity CRITICAL; echo $?
0
trivy  image <image-with-no-critical-vuln> --exit-code  1 --ignore-unfixed --vuln-type  os,library ; echo $?
1

https://github.com/aquasecurity/trivy-action/blob/master/entrypoint.sh#L178
This is a feature, not a bug :)

limit-severities-for-sarif: true fixed the issue


Please add jammy repo

Hello,
I would like to ask you to please add a
jammy Release file to https://packages.lexbor.com/ubuntu.
Thank you very much, greetings from Italy!
Volker

Hello @lexborisov,
I would love to help you out, but no way: no time nor sufficient knowledge to dive in quickly. So I will wait and use meanwhile a submodule-approach. Thanks for the great work!
Volker

Jammy packages added to https://packages.lexbor.com/.

Thx!!!


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/26352

TagBot fix

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/31398

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/59146


WebSocket: Connection not closed when sole Subscription isStopped after an error

Bug Report
Current Behavior
When sole WebSocketSubject Subscription encounters an error, it isStopped and no longer handles anything, but the underlying connection is not closed.
Reproduction
Source: rxjs-ws-error-handling-test.zip

Have node and npm installed. I've used versions 12.15.0 and 6.13.7 respectively.
npm install
node server.js
Make sure the index.html is served via localhost. I've used Python 3: python3 -m http.server 1234
Open your favourite modern browser and open its DevTools.
Navigate to http://localhost:1234/
Observing the logs in the console and the WS connection, we can see the following behaviour:

[0s] Connection is established (WebSocketSubject's openObserver handler called).
[0s] A message is received by the server (Subscription's next handler called).
[2s] A faulty message causes an error (Subscription's error handler called). The Subscription is now stopped, but the WebSocket connection remains opened (DevTools > Network > WS).
[4s] A message is received by the WebSocket connection but Subscription's next handler is NOT called.
[6s] The server closes the connection (WebSocketSubject's closeObserver handler called).

Expected behavior
If all of a WebSocketSubject's Subscriptions are stopped / closed, I believe the connection should also close.
Environment

Runtime:

Node v12.15.0
NPM v6.13.7
Chrome v79.0.3945.130
Firefox v73.0
Microsoft Edge v44.18362.449.0

RxJS version: 6.5.4

I hit the same problem. any help on this one, folks ?

I think i am facing same issue! Any solution? In dev window i still see that specific WS connection shown as 101 but not Finished even though i close the WebSocketSubject or do complete() call on it.

any news?

Hey, @kwonoj 👋 I've noticed the issue you've created and pinned earlier this year, #5970. I was wondering if this is somehow related to why there are no responses to this issue. Should I create a new discussion and link this? I'm not sure, as it can be interpreted as both RxJS core bug and behavior change suggestion.

This is a really interesting bug, and I can imagine why there's been no traction. In this case, there's no error with the underlying WebSocket, but there is an error during de-serialization. Removing RxJS from the equation, throwing an error during an onmessage event would not terminate a network connection. It's an opinion to terminate the socket if an application fails to de-serialize a valid-but-unexpected WebSocket messages. All that said: RxJS did make the opinionated choice to emit an error when de-serialization fails. If the subject closes, so must the websocket.
I think the side-effect of fixing this bug is that some users may have already found a solution to intentionally unsubscribe from the subject and close the socket. In my experience, redundant calls to unsubscribe are a non-issue. Users who are not using the default de/serializers would not be impacted.

A solution might look like:
socket.onmessage = (e: MessageEvent) => {
  try {
    const { deserializer } = this._config;
    observer.next(deserializer!(e));
  } catch (err) {
    observer.error(err); // emit error as usual
    socket!.close(); // observer error event must propagate before the socket close events! Redundant closing/error events are ignored
    this._resetState(); // throws away the socket reference but doesn't actually close it!
  }
};

We're making heavy use of this websocket subject at my work and I have the resources to contribute to upstream packages. I'll take a closer look at this today and hopefully provide a useful PR.

The websocket is closed when there are no more observers. When there is a JSON parsing error, all observers unsubscribe, resulting in the websocket closing. I tested this on v7.5.5 (demo here) and it seems to work fine (note demo websocket API key only lasts a week).
Has this issue already been fixed? Or can someone modify the demo above to reproduce the websocket not closing issue?

As we worked around this, I never got around to rechecking this. But better late than never I suppose 😅
I've upgraded RxJS to the latest version, 7.8.1, and now it looks like the connection gets closed after the faulty message causes an error 🙌 Using Node 18.16.0 & NPM 9.8.1.


fix(SideNavItem): implemented more future proof navigation extras without dropping routerlink support

Closes carbon-design-system/carbon-components-angular#2924
This PR is introducing a more future proof solution to resolve the issue mentioned above. It's creating a directive extending RouterLink directive and setting the relevant navigation extras properties.
Changelog
Changed

Implemented RouterLinkExtendedDirective

@zvonimirfras @Akshat55 for the moment i didn't know where to put the directive, so i placed in the same module where we needed to use, so that it won't affect other routerLinks around carbon, but if you think this should be reused elsewhere as well, please let me know where it would be good to place it. I would avoid to export it in any module so that it won't affect consumers, but only carbon code.


kitti2bag fix for #153

The problem was that the ring field was being cast to FLOAT64 when it was being concatenated to scan. Then when calling create_cloud() the datatype from fields and scan did not match, causing an error.

Thank you for the push.


Run stop in parallel

Currently when stopping a container we can take 10 seconds per container to stop
but we do this synchronously.
Running the containers stops in parrallel can speed up the stop by N times,
where N is the number of containers we are stopping.
Tested starting and stopping 3 sleep containers, time went from 30 seconds
to 10 seconds.
Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>

/approve

bot, retest this please

/retest

bot, retest this please

LGTM

bot, retest this please

/retest

looks like legit failures in integration tests

@baude has taken this one over.


[Vue warn]: Invalid value for option "timers": expected an Object, but got Array.

mycode:
<template>
</template>

<script>

import { timer } from 'vue-timers'

export default {
  timers: [
    timer('log', 1000)
  ],
  methods: {
    log () {
      console.log('It works!')
    }
  }
}
</script>

main.js:

import VueTimers from 'vue-timers'
Vue.use(VueTimers)

export default function install(Vue) {
  // this code will cause the warning report above
  Vue.config.optionMergeStrategies.timers = Vue.config.optionMergeStrategies.methods
  Vue.mixin(VueTimers)
}

@Kelin2025 I do not know what's mean and how to resolve it.

Any word on this.  I am getting the same thing when using an array for timer var instead of a standard object.  Per the docs an array is acceptable.
Invalid value for option "timers": expected an Object, but got Array.
timers: [     { name: 'log', time: 10000, autostart: true, repeat: true, immediate: true},     { name: 'sample', time: 5000, autostart: false, repeat: true, immediate: true}   ],


Adaptive formats cause 403

Might be related to https://github.com/azihassan/youtube-d/issues/89, but I just realized that videos like "never gonna give you up" don't work with formats other than 18. No errors, just a 403 when trying to download them:
$ youtube-d https://www.youtube.com/watch\?v\=dQw4w9WgXcQ -f 251 --verbose --no-cache
Verbose mode : true
Handling https://www.youtube.com/watch?v=dQw4w9WgXcQ
Cache miss, downloading HTML...
Length of https://www.youtube.com/watch?v=dQw4w9WgXcQ : 0
base.js cache miss, downloading from https://www.youtube.com/s/player/03dbdfab/player-plasma-ias-phone-ar_EG.vflset/base.js
Length of https://www.youtube.com/s/player/03dbdfab/player-plasma-ias-phone-ar_EG.vflset/base.js : 519758
Downloaded video HTML
Attempt to dethrottle : Yes
Rick Astley - Never Gonna Give You Up (Official Music Video)
Rick Astley - Never Gonna Give You Up (Official Music Video)-dQw4w9WgXcQ-251.webm
/tmp/Rick Astley - Never Gonna Give You Up (Official Music Video)-dQw4w9WgXcQ-251.webm
Matched algorithm = SU.rk(p,59);SU.z6(p,1);SU.rk(p,62);SU.rk(p,24);SU.z6(p,2);SU.CZ(p,15);SU.rk(p,70)
Parsed steps : [Tuple!(string, ulong)("rk", 59), Tuple!(string, ulong)("z6", 1), Tuple!(string, ulong)("rk", 62), Tuple!(string, ulong)("rk", 24), Tuple!(string, ulong)("z6", 2), Tuple!(string, ulong)("CZ", 15), Tuple!(string, ulong)("rk", 70)]
Attempting to match ([A-Za-z]{2}):function\(\w\)\{\w\.reverse\(\)\}
Matched flip = CZ
Attempting to match removeFromStart ([A-Za-z]{2}):function\(\w\)\{\w\.reverse\(\)\}
Matched removeFromStart = z6
Attempting to match swapFirstCharacterWith ([A-Za-z]{2}):function\(\w\)\{\w\.reverse\(\)\}
Matched swapFirstCharacterWith = rk
Tuple!(string, ulong)("rk", 59)
["CZ":"flip", "z6":"removeFromStart", "rk":"swapFirstCharacterWith"]
before step = M80=0qBG-PUtRM-k0j-fNLoBk=VzpmI_BJ_gAvSflGskSO5AEiAZ1GeYooj8fH3C8IWcoI1tLitBCqH3CE8uOTNGb6fuGJAhIgRwsSdQfJA
after step = 880=0qBG-PUtRM-k0j-fNLoBk=VzpmI_BJ_gAvSflGskSO5AEiAZ1GeYoojMfH3C8IWcoI1tLitBCqH3CE8uOTNGb6fuGJAhIgRwsSdQfJA
Tuple!(string, ulong)("z6", 1)
["CZ":"flip", "z6":"removeFromStart", "rk":"swapFirstCharacterWith"]
before step = 880=0qBG-PUtRM-k0j-fNLoBk=VzpmI_BJ_gAvSflGskSO5AEiAZ1GeYoojMfH3C8IWcoI1tLitBCqH3CE8uOTNGb6fuGJAhIgRwsSdQfJA
after step = 80=0qBG-PUtRM-k0j-fNLoBk=VzpmI_BJ_gAvSflGskSO5AEiAZ1GeYoojMfH3C8IWcoI1tLitBCqH3CE8uOTNGb6fuGJAhIgRwsSdQfJA
Tuple!(string, ulong)("rk", 62)
["CZ":"flip", "z6":"removeFromStart", "rk":"swapFirstCharacterWith"]
before step = 80=0qBG-PUtRM-k0j-fNLoBk=VzpmI_BJ_gAvSflGskSO5AEiAZ1GeYoojMfH3C8IWcoI1tLitBCqH3CE8uOTNGb6fuGJAhIgRwsSdQfJA
after step = C0=0qBG-PUtRM-k0j-fNLoBk=VzpmI_BJ_gAvSflGskSO5AEiAZ1GeYoojMfH388IWcoI1tLitBCqH3CE8uOTNGb6fuGJAhIgRwsSdQfJA
Tuple!(string, ulong)("rk", 24)
["CZ":"flip", "z6":"removeFromStart", "rk":"swapFirstCharacterWith"]
before step = C0=0qBG-PUtRM-k0j-fNLoBk=VzpmI_BJ_gAvSflGskSO5AEiAZ1GeYoojMfH388IWcoI1tLitBCqH3CE8uOTNGb6fuGJAhIgRwsSdQfJA
after step = =0=0qBG-PUtRM-k0j-fNLoBkCVzpmI_BJ_gAvSflGskSO5AEiAZ1GeYoojMfH388IWcoI1tLitBCqH3CE8uOTNGb6fuGJAhIgRwsSdQfJA
Tuple!(string, ulong)("z6", 2)
["CZ":"flip", "z6":"removeFromStart", "rk":"swapFirstCharacterWith"]
before step = =0=0qBG-PUtRM-k0j-fNLoBkCVzpmI_BJ_gAvSflGskSO5AEiAZ1GeYoojMfH388IWcoI1tLitBCqH3CE8uOTNGb6fuGJAhIgRwsSdQfJA
after step = =0qBG-PUtRM-k0j-fNLoBkCVzpmI_BJ_gAvSflGskSO5AEiAZ1GeYoojMfH388IWcoI1tLitBCqH3CE8uOTNGb6fuGJAhIgRwsSdQfJA
Tuple!(string, ulong)("CZ", 15)
["CZ":"flip", "z6":"removeFromStart", "rk":"swapFirstCharacterWith"]
before step = =0qBG-PUtRM-k0j-fNLoBkCVzpmI_BJ_gAvSflGskSO5AEiAZ1GeYoojMfH388IWcoI1tLitBCqH3CE8uOTNGb6fuGJAhIgRwsSdQfJA
after step = AJfQdSswRgIhAJGuf6bGNTOu8EC3HqCBtiLt1IocWI883HfMjooYeG1ZAiEA5OSksGlfSvAg_JB_ImpzVCkBoLNf-j0k-MRtUP-GBq0=
Tuple!(string, ulong)("rk", 70)
["CZ":"flip", "z6":"removeFromStart", "rk":"swapFirstCharacterWith"]
before step = AJfQdSswRgIhAJGuf6bGNTOu8EC3HqCBtiLt1IocWI883HfMjooYeG1ZAiEA5OSksGlfSvAg_JB_ImpzVCkBoLNf-j0k-MRtUP-GBq0=
after step = AJfQdSswRgIhAJGuf6bGNTOu8EC3HqCBtiLt1IocWI883HfMjooYeG1ZAiEA5OSksGlfSvAg_JB_ImpzVCkBoLNf-j0k-MRtUP-GBq0=
Found n : i0PPWf-dQhRdFjBd_
challenge name : NwL
Found missing object: Vns, redefining it to 1337
Solved n : gKqFG0H-z2nruQ
dQw4w9WgXcQ.html
Found link : https://rr2---sn-f5o5-jhod.googlevideo.com/videoplayback?expire=1734654500&ei=xGVkZ8vqMfDQp-oP0-qfCQ&ip=<IP_ADDRESS>&id=o-ADxn47MkuYiVD_Fdvx_vKvWG0n5yKDO-kd14-McXn-7Q&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1734632900%2C&mh=7c&mm=31%2C29&mn=sn-f5o5-jhod%2Csn-h5qzen7d&ms=au%2Crdu&mv=m&mvi=2&pl=24&rms=au%2Cau&initcwndbps=402500&bui=AfMhrI-cUqmFI5wRz6ovdJH4zquUPONaLxHGo-UBJaIwofv17c3ps0hHE_YbbmUS_QWL8xjcnWwg7oXI&spc=x-caUIUD4nr14wOas9PCXAwO5rxX4sXqzi6Ay8r-pXBkIN834BK2oxv9JsFi3xw&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=ZruIjnHwnSBR2xzXPMCcEAUQ&rqh=1&gir=yes&clen=3437753&dur=212.061&lmt=1717047822556748&mt=1734632495&fvip=2&keepalive=yes&fexp=51326932%2C51331020%2C51335594%2C51371294&c=MWEB&sefc=1&txp=4532434&n=gKqFG0H-z2nruQ&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRQIgZtoHZnDuL_45FI3zqOWN8fB_whAztxn_ygBxIIkrT24CIQC9Db-tFdcTU5iN5x59gqk-TNQ1h2Wa3RPmoZREHsIi0Q%3D%3D&sig=AJfQdSswRgIhAJGuf6bGNTOu8EC3HqCBtiLt1IocWI883HfMjooYeG1ZAiEA5OSksGlfSvAg_JB_ImpzVCkBoLNf-j0k-MRtUP-GBq0%3D
Downloading https://www.youtube.com/watch?v=dQw4w9WgXcQ to Rick Astley - Never Gonna Give You Up (Official Music Video)-dQw4w9WgXcQ-251.webm
Using RegularDownloader
Downloading from byte 0
Failed with status 403
source/helpers.d:18 ulong helpers.getContentLength(immutable(char)[]) [0x560e25f5b7fa]
source/downloaders.d:50 void downloaders.RegularDownloader.download(immutable(char)[], immutable(char)[], immutable(char)[]) [0x560e25f55950]
source/app.d:196 void app.handleURL(immutable(char)[], int, helpers.StdoutLogger, bool, bool, bool, bool, bool, bool, bool) [0x560e25ec628f]
source/app.d:100 _Dmain [0x560e25ec58ea]

I suspected that the iOS player isn't working, but I'm gonna have to do more tests tomorrow

Couldn't reproduce the screenshot above today. I did some tests and noticed that the range parameter is now relevant again. Omitting it or requesting a large range cause 403. How large? range=512000-900000 worked but range=512000-1000000 didn't. At a certain point though it stops working altogether though. I suspect that the iOS client has gotten po tokened.


api/methods: Updated getLatestLedger docs

Now that soroban-tools #557 is merged, this PR updates the docs accordingly.

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

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


Data Type in Class Diagram is Plural 6.1.1a

Problem: BigInt data type is plural.
Location: 6.1.1a -> Reactions Section -> messages_discord_ids, authors_discord_id.
Suggested Fix:  BigInts should be changed to singular because there is only one BigInt representing it. Possibly renaming the variable to reduce confusion.

fixed


api, network: provide interface binding types descriptions

What this PR does / why we need it:
This PR provides interface binding types descriptions, which are currently missing from the API generated docs.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

Provide interface binding types descriptions, which will be featured in the KubeVirt API.

/approve

/lgtm


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-26-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3902

Questions ?
Please refer to the Backport tool documentation


Loss for multi-variate LSTM Model is decreasing very slowly.

Hello,
I'll keep it short. I'm building a Multi-Variate LSTM Model (12 Features, wanting to detect the first). The loss decreases very slowly and the rmse gets worse with more the data I train with.
model = Sequential()
model.add(LSTM(50, input_shape=(train_X.shape[1], train_X.shape[2])))
model.add(Dense(1))
model.compile(loss='mean_squared_error', optimizer='adam')
history = model.fit(train_X, train_y, epochs=200, batch_size=10, validation_data=(valid_train_X, valid_train_y), verbose=1, shuffle=False)
#In the beginning
Train on 58281 samples, validate on 6476 samples
Epoch 1/200
58281/58281 [==============================] - 16s 278us/step - loss: 0.0023 - val_loss: 0.0030
Epoch 2/200
58281/58281 [==============================] - 15s 263us/step - loss: 0.0021 - val_loss: 0.0029
#And after "200 epochs"
58281/58281 [==============================] - 15s 263us/step - loss: 0.0019 - val_loss: 0.0029
Epoch 200/200
58281/58281 [==============================] - 15s 262us/step - loss: 0.0019 - val_loss: 0.0029
I really need some help in optimizing this model. If you give me any tips, I'll test it out right away and show you the results asap
Thanks in advance!

Were you able to solve this issue? I am also facing the same issue for my problem

@Savvy98
In order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thanks!


Hyperlink needed from "Tendrl" logotype graphic (in banner / masthead)

Request to add a (simple static) hyperlink from the "Tendrl" logotype graphic (in banner / masthead area) to the Dashboard page.   The only restriction is that we should not be introducing any visual hover state or other affordance to this graphic to avoid conflicts with branding best practices.
Reason: there is an expectation by users of web-based applications to be able to click on the "Tendrl" logotype graphic to quickly get you back to the default or home page.
@gnehapk @kamleshverma1 @cloudbehl
@japplewhite @mcarrano

#149 similerI Issue

@julienlim Will fix it ASAP.

@julienlim Fixed and closing this Issue


How to not show any option for the user and only let him type the question ?

I don't know how to delete the user options (example: banana, ice cream) and instead just let him type in the question. I tried to delete 'question' from 'reply' part, replace it with null, with empty string ''... but no one seems to work. Can you help me out with it please ?
Thank you

Hi hamzaLeb. I see your point. I thought it would be easy, but I guess it is not. Maybe @dmitrizzle also has some good ideas ;)
However, with a few adjustments I found that it can be done.
Check the example-3 (which you have surely used so far). In line 75 I see the comment "search function". This is where the program tries to find a valid answer from the list of answers. If it does not find any answer, it calls the "miss()" function.
I would try to either change the "search function" itself, so that it does not try to find a valid answer from the list of answers, but from the list of dialog elements (try this, it worked for me):
    // search function     var found = false     Object.keys(o.convo).forEach(function(e, i) {       e.includes(strip(o.input)) && o.input.length > 0         ? (found = o.input)         : found ? null : (found = false)     })     found ? match(found) : miss()
Or you could would try to change the "miss()" function. You could maybe pass the "o.input" (the user input) and then use this inside the "miss()" function to check if there is a valid answer available.
Either way, you can then remove the "reply" part, which you do not want to show, completely.
I hope this will point you into the right direction.

The way I achieved skipping reply buttons in one of my earlier implementations is by not having reply objects at all. In my use case I've connected the bot to Watson NLC and used Watson to take care of all possible replies during Ajax calls.
It seems that in your case you are trying to achieve a similar task but without the NLC component.
Because this tool uses browser DOM to store state, there isn't a simple/supported solution to hide the response bubbles with API. I wouldn't recommend this either since you are very likely making your users' life harder by not giving them the precise options to choose from, while the built-in keyword search functionality relies on precise input. When using NLC, the machine learning part would at least allow users to have various phrasings and typos.
Anyways, I'd suggest you simply alter the CSS to hide the answer bubbles. That way you won't have to worry about dealing with JavaScript: https://github.com/dmitrizzle/chat-bubble/blob/master/component/styles/reply.css - you can try display:none or visibility:hidden.
Hope this helps!

Thank you @JensThanx  and @dmitrizzle for your support. The suggested ideas worked for me, I chose to completely remove the reply part. Thanks for the support 👍


Switch to immutable nodes in expressions

Finally got things working with immutable Node{T} types. This makes the codebase much safer and hopefully also more memory efficient. The fields :val, :l, and :r are now RefValue and can be updated, but the others are set at construction time.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

40 of 42 (95.24%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.06%) to 94.625%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Equation.jl
24
25
96.0%

src/SimplifyEquation.jl
14
15
93.33%

Totals

Change from base Build<PHONE_NUMBER>:
-0.06%

Covered Lines:
1602

Relevant Lines:
1693

💛  - Coveralls

Wow, this hurts performance by quite a bit! Nevermind then, seems like it's not a good approach.


How to make a div with scroll attribute how can I make react-scroll scroll in there?

Hi guys,
My goal is that when I click on a Mark the react-scroll will go to the selected list element.
I am not getting any errors. From my research, it is because the react-scroll isn't moving the div with scroll attribute.
How can I make react scroll that moves the div scroll instead of the window scroll?

thanks

Hey didn't see this until now.
Yes, I did. Thanks much


(Android) crash on TextInput onKeyPress when inputting an emoji via auto-complete

On 0.53.0 and later, including 0.54.2, if I input an emoji into a TextInput via auto-complete, the app crashes.
I've tracked down the root cause; I'll put more details in a follow-up comment.
Environment
Environment:
  OS: macOS High Sierra 10.13.3
  Node: 9.7.1
  Yarn: 1.5.1
  npm: 5.6.0
  Watchman: 4.9.0
  Xcode: Xcode 9.2 Build version 9C40b
  Android Studio: Not Found

Packages: (wanted => installed)
  react: 16.2.0 => 16.2.0
  react-native: 0.53.3 => 0.53.3

Expected Behavior
No crash!
Actual Behavior
Crash stack:
Error calling RCTEventEmitter.receiveEvent

Failed to create Value from JSON:
run
    NativeRunnable.java
handleCallback
    Handler.java:790
dispatchMessage
    Handler.java:99
dispatchMessage
    MessageQueueThreadHandler.java:31
loop
    Looper.java:164
run
    MessageQueueThreadImpl.java:194
run
    Thread.java:764

Steps to Reproduce
Fortunately, this repros with the example project from https://github.com/facebook/react-native/issues/18262 .

Clone and run this repo https://github.com/lxcid/ReactNative-AndroidKeyPress
Make sure you have an Android device attached for debugging.
react-native run-android
select the TextInput
type 'potato'
tap the potato emoji that shows up in autocomplete.

Yes, I can repro with 0.54.0.

So the "Failed to create value from JSON: " exception is thrown from: https://github.com/facebook/react-native/blob/0ee502d1254b828efb119cc06bcd213c3d843269/ReactCommon/jschelpers/Value.cpp#L74 (i.e., it's trying to parse JSON from an empty string)
Debugging this code, this is called from:
https://github.com/facebook/react-native/blob/0ee502d1254b828efb119cc06bcd213c3d843269/ReactCommon/jschelpers/Value.cpp#L98
The conversion to JSON produces the string:
[258,"topKeyPress",{"key":"�"}]

(I'm not 100% sure if the �, which is supposed to be the potato emoji, is messed up because of the JSON conversion messing up or my debugging output.)
It is the String(ctx, json.c_str()) conversion that is failing and returning an empty string. This leads to the line
https://github.com/facebook/react-native/blob/0ee502d1254b828efb119cc06bcd213c3d843269/ReactCommon/jschelpers/Value.h#L32
so it looks like JSC_JSStringCreateWithUTF8CString is having problems with the emoji character.

Digging into the git history, this C++ code has been around forever. So why is it only showing up now? I'm almost certain it's because of this commit included in 0.53.0: https://github.com/facebook/react-native/commit/c9ff0bc . It implements the onKeyPress events for Android, and this line https://github.com/facebook/react-native/commit/c9ff0bc#diff-6bb282dadefaebe4c849ce7b47fa47a0R44 triggers the C++ code above.
Paging @joshyhargreaves who implemented the above commit. Do you know of any way to work around this bug, i.e. turn off the Android keypress events?

Also, if I set USE_FAST_FOLLY_DYNAMIC_CONVERSION to make the C++ code go through this path: https://github.com/facebook/react-native/blob/0ee502d1254b828efb119cc06bcd213c3d843269/ReactCommon/jschelpers/Value.cpp#L84
and comment out everything in that block but https://github.com/facebook/react-native/blob/0ee502d1254b828efb119cc06bcd213c3d843269/ReactCommon/jschelpers/Value.cpp#L92 , that fixes the problem. I don't know all the consequences of turning that on in general, though.

@akalin-keybase thank you for reporting & providing a great error report!
Hmm, wow this is interesting! I'll do some debugging and see what I can find. You're right right it is unclear as to why this is only happening now. Is this bug reproducible on android simulators from your findings?
Yep so I can put together a quick PR that disables this codepath unless explicitly enabled, which would probably be for the best. It'd obviously be good to get to the bottom of why this is happening also. @hramos what do you think?

Yeap, it's reproducible with the android simulator. Yeah, a PR to disable the codepath unless needed seems like a good idea, thanks!

@akalin-keybase, I’m going to get to this today or tomorrow.

@akalin-keybase @hramos I opened a PR to disable the onKeyPress logic any thoughts and comments on that would be great 💯.
I'm also going to have a look into the onKeyPress logic, it looks like the logic itself doesn't work particularly well with unicode characters as it assumes key's pressed can only have a width of 1.
The potato emoji, as per the character string is encoded in java as '\uD83E\uDD54' which results in two characters in the text input, and the key emitted will be the second of those two (\uDD54). There may be something wrong with the value conversion itself, but it's never been an issue for the onChangeText callback.

@joshyhargreaves @akalin-keybase I think we've hit this issue here although not with autocomplete, seems just using the emoji keyboard does the trick and causes a crash with the Failed to create Value from JSON error.
Can only replicate if the app is running on-device, and only so far with the stock android keyboard. Swiftkey and Samsung keyboard seem to be immune, as does any keyboard if the app is running in the Chrome devtools debugger.

@mjmasn that is interesting. Yep, different keyboards can chose to use the InputConnection differently with can result in different code path execution. I need to give some thought as to the best approach for emoji and onKeyPress in general it looks like.
In the meantime, https://github.com/facebook/react-native/pull/18443 will make this code explicitly opt-in and should fix the 'regression', as it were.

@joshyhargreaves correction - it does appear to be auto-complete related here too - the original reproduction I was given was when typing something like @mention hiya😀, and seemingly hiya😀 or just 😀 wasn't enough to trigger it. I've noticed that a hiya😀 will trigger the bug and it's to do with autocomplete turning that into a Hiya😀 (or @mention Hiya😀 for the previous example). Not really sure why it's trying to auto-complete to the capitalised version of the word without it being the start of a sentence but it looks like there's a company called Hiya so maybe that's ended up in Google's dictionary. With typing hiya😀 the output is actually Hiya😀 due to text input sentence auto-capitalisation so the auto-complete isn't triggered in that case, hence no crash.
This was definitely winning weird unexplained bug of the month before I found this issue report, so thanks @akalin-keybase 👍

Are there any updates on this issue? Thanks

I'm having the same issue 0.53.0, any workaround or update on this?

@miguelacio looks like it'll be fixed soon - https://github.com/facebook/react-native/pull/18443#pullrequestreview-123130008

@miguelacio correct me if I'm wrong but it looks like #18443 is only a workaround provided you don't use/need onKeyPress. It doesn't address the root issue to allow unencumbered use of <TextInput /> (i.e. using onKeyPress).

@nickofthyme yes you are correct.
I haven't had any time to fix the route cause of the issues, the logic behind this is the route cause of the issue: https://github.com/facebook/react-native/blob/master/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditTextInputConnectionWrapper.java#L102.
When the cursor moves forward, the character behind the cursor is taken, as it deemed to be the character that has been pressed. I believe that TextInput#getText returns an Editable. I will have to investigate as I am unfamiliar with unicode support in Java, but on first impressions I do know that the unicode spec does support the combination of different unicode/emoji symbols to encode other emojis.

@joshyhargreaves thanks a lot for the commit, it reduced the crashes a lot after applying that.
However, it still happens and shows up on Crashlytics ( Caused by com.facebook.jni.CppException
Failed to create Value from JSON: )
My TextInput is uncontrolled with just onChangeText & styles props. I don't know if it helps.
This bug is really annoying. Considering a user typing a long message and it suddenly just crashes.
Hope someone will be able to fix it soon.

@kevinkevw hmm, that is strange.
@akalin-keybase have you seen crashes since 0.56?

we're not on 0.56 yet, unfortunately (we had to branch and patch a few other bugs ourselves)

@akalin-keybase Do you have any solution for now? I have applied the commit that disabled the onKeyPress event but it still happens 😢

@kevinkevw, to sanity check this you never create the InputConnection at all. However I do highly suspect there is another cause.

@joshyhargreaves How to check? I am not sure what InputConnection is.

@kevinkevw, stupid question, but are you building react native from source for Android?

@joshyhargreaves No, I build by react-native run-android

I got this error when delete emoji in TextInput, anyone have a solution to fix that bug
My system on react-native 0.55.4 and can't upgrade to latest version right now because of getting bugs in another part.

Just upgraded to 0.56 and the problems seems to have been resolved.

Any workarounds other than upgrade to 0.56 ??

Upgrading to 0.56 is not an option for me at the moment. Is there a fix I can do myself?

Any updates on this issue @joshjhargreaves @akalin-keybase  ? I am still searching to find some workaround for this issue. I am using react-native 0.55.2.


Allow customization of maxAliasesForCollections loader option

This addresses https://github.com/circe/circe-yaml/issues/136.
SnakeYaml has maxAliasesForCollections defaulted to 50 in its LoaderOptions. This PR enables customization of this limit, following a similar pattern as Printer, while retaining the current API.

Thanks @travisbrown ! Would that be @jeffmay or someone else?

looks like some more scalafmt issues...

thanks - I think I got them all this time. @jeffmay do you mind kicking off ci again?

Hi @jeffmay or @travisbrown - can one of you please run CI again? Unfortunately I can't as a first-time contributor.

Thanks! Looks ready to merge when you get the chance.

I'm publishing an 0.14.1 release right now, but will merge this for the upcoming 0.15 series after that.

Hi @travisbrown and @jeffmay, would you be able to merge @hcdeng's changes given that the checks have passed? If so, would you happen to have an ETA on the version and its release?
Thank you!

@Ushhud I am no longer contributing to any Scala open source projects, for the reasons outlined here, but the current Circe maintainers may be able to help.

Hi @jeffmay, we just ran across this issue as well. Do you have any ETA to release 0.15? I see you merged this to master on September 14, would be great to get this issue released whenever you get the chance. Thank you. 🙇


shell_plus --notebook does not autoload Django models

When using shell_plus --notebook the Django models are not auto-imported like with shell_plus alone or shell_plus --kernel (via imported_objects = import_objects(options, self.style)).
(I've also noticed that the startup files from the profile (~/.ipython/profile_default/startup/, via ipython locate profile) are not being used, too - which seems to be more an issue with Jupyter / IPython notebooks itself).
I can see that it would make the Notebook less reproducible/explicit, but there should be an option for this, because that's one of the useful features of shell_plus.
I am not sure where this should happen, but maybe then options InteractiveShellApp.exec_lines or IPKernelApp.exec_lines (deprecated? - not listed in http://jupyter-console.readthedocs.org/en/latest/config_options.html#configuration-options anymore) could be used for this?

Just tried it again and it works now.
This happens through django_extensions.management.notebook_extension.
I must have mixed things yesterday.


feat: Add multi-line comments

Description
support for multi-line comments: https://doc.rust-lang.org/reference/comments.html
PR Checklist

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

@Savio-Sou or @signorecello pinging for visibility

@f01dab1e follow up question for documentation purposes. In the link to the Rust docs in the PR description, there is no comment labelled "multi-line". Does this PR only add support for BLOCK_COMMENTs that start with /* and end with */?

yes, I use block comments to indicate multi-line comments. 'doc comments' can be misleading because Noir does not actually support doc comments. while using them will not result in an error, they will simply be ignored.


With magestore one step checkout extension not working

With default checkout it works fine how ever when enable Magestore checkout extension it show bellow error on checkout page on cart view works fine ?
There has been an error processing your request
Invalid method Mage_Core_Block_Template::isEnabled(Array
(
)
)
Trace:
Trace:
#0 /home/domain/public_html/stsup/app/design/frontend/base/default/template/amazon_payments/script.phtml(12): Varien_Object->__call('isEnabled', Array)
#1 /home/domain/public_html/stsup/app/design/frontend/base/default/template/amazon_payments/script.phtml(12): Mage_Core_Block_Template->isEnabled()
#2 /home/domain/public_html/stsup/app/code/core/Mage/Core/Block/Template.php(241): include('/home/domain/publi...')
#3 /home/domain/public_html/stsup/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...')
#4 /home/domain/public_html/stsup/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#5 /home/domain/public_html/stsup/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#6 /home/domain/public_html/stsup/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#7 /home/domain/public_html/stsup/app/code/core/Mage/Core/Block/Abstract.php(577): Mage_Core_Block_Abstract->_getChildHtml('amazon_payments...', true)
#8 /home/domain/public_html/stsup/app/design/frontend/smartwave/mango/template/page/html/head.phtml(31): Mage_Core_Block_Abstract->getChildHtml()
#9 /home/domain/public_html/stsup/app/code/core/Mage/Core/Block/Template.php(241): include('/home/domain/publi...')
#10 /home/domain/public_html/stsup/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/smartw...')
#11 /home/domain/public_html/stsup/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#12 /home/domain/public_html/stsup/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#13 /home/domain/public_html/stsup/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#14 /home/domain/public_html/stsup/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('head', true)
#15 /home/domain/public_html/stsup/app/design/frontend/smartwave/mango/template/page/1column.phtml(35): Mage_Core_Block_Abstract->getChildHtml('head')
#16 /home/domain/public_html/stsup/app/code/core/Mage/Core/Block/Template.php(241): include('/home/domain/publi...')
#17 /home/domain/public_html/stsup/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/smartw...')
#18 /home/domain/public_html/stsup/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#19 /home/domain/public_html/stsup/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#20 /home/domain/public_html/stsup/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#21 /home/domain/public_html/stsup/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#22 /home/domain/public_html/stsup/app/code/local/Magestore/Onestepcheckout/controllers/IndexController.php(66): Mage_Core_Controller_Varien_Action->renderLayout()
#23 /home/domain/public_html/stsup/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Magestore_Onestepcheckout_IndexController->indexAction()
#24 /home/domain/public_html/stsup/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index')
#25 /home/domain/public_html/stsup/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#26 /home/domain/public_html/stsup/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#27 /home/domain/public_html/stsup/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#28 /home/domain/public_html/stsup/index.php(83): Mage::run('', 'store')
#29 {main}

Hi @hzubyrss - you should be able to resolve this by following the instructions here: https://github.com/amzn/amazon-payments-magento-plugin/issues/274#issuecomment-261586238
Please reopen if you continue to have trouble.

Hey thanks for posting but its not working i tried both Manually update code and update file both way it show same error !

i am using this extension and receiving same error
http://www.magestore.com/magento-one-step-checkout-extension.html
how ever it works fine with default checkout extension
On Sat, Nov 26, 2016 at 5:50 PM, Matt Neilson<EMAIL_ADDRESS>wrote:

Hi @hzubyrss https://github.com/hzubyrss - you should be able to
resolve this by following the instructions here: #274 (comment)
https://github.com/amzn/amazon-payments-magento-plugin/issues/274#issuecomment-261586238
Please reopen if you continue to have trouble.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/amzn/amazon-payments-magento-plugin/issues/298#issuecomment-263061851,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANP6iPYHNMOty2f1U_53Ol3ZgJ-oWxAVks5rCCsogaJpZM4K81xG
.

--

 OFFICE  :  *+92-335-7190165

Skype   :  zubypk92
website : * www.Store-team.com http://www.Store-team.com*
Our Services:
*Complete Magento development Solution *
*Magento bug fixing *
Magento theme Customization
Magento Custom theme development
*Magento Optimization *
*Extension or theme installation *

@islandskater43 I am using the same magestore one step checkout as @hzubyrss and the updated code is still not working. I see that the above fix has been applied to the newest download version, but the same exact error just happened to me.
Any other fixes?

please tell me what is the version of your current magento software , and send me your extension package or layout folder zipped i will test it and send you patch

Thank you for your willingness to help. So we use magento <IP_ADDRESS>. I can't
find what version I have of One Step Checkout. But I can apply the previous
fix because I don't have onestepcheckout.xml
The layout folder is zipped.
Jared Weiss
On Wed, Jan 4, 2017 at 1:23 AM, hzubyrss<EMAIL_ADDRESS>wrote:

please tell me what is the version of your current magento software , and
send me your extension package or layout folder zipped i will test it and
send you patch
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/amzn/amazon-payments-magento-plugin/issues/298#issuecomment-270327909,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXwTsM8UblCN_YI59VI0qx166WytyFnvks5rO2UDgaJpZM4K81xG
.

 Unfortunately, I am not seeing the onestepcheckout.xml.
Jared Weiss
On Thu, Jan 5, 2017 at 7:44 AM, hzubyrss<EMAIL_ADDRESS>wrote:

Go to this Directory
\app\design\frontend\base\default\layout
Open file onestepcheckout.xml
Go to line 27,
Replace This line of code
With this one
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/amzn/amazon-payments-magento-plugin/issues/298#issuecomment-270675051,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXwTsJNoDIlxliLUdt-4wkOHA6gvoQCRks5rPQ_DgaJpZM4K81xG
.

ooh am sorry to hear , if you want i stile can help you , provide me your admin , and FTP , i will solve the issue , you can drop me email or add me on Skype : zubypk92 or visit my website : https://www.store-team.com/contact-us/

Thank you for offering. How much will it cost? Yes I am willing to provide
this to you. I figure we can fix it on the test/none production site and
then I can use that solution on the live site. I'll send the contact info
via the contact-us page
Jared Weiss
On Thu, Jan 5, 2017 at 8:16 AM, hzubyrss<EMAIL_ADDRESS>wrote:

ooh am sorry to hear , if you want i stile can help you , provide me your
admin , and FTP , i will solve the issue , you can drop me email or add me
on Skype : zubypk92 or visit my website : https://www.store-team.com/
contact-us/
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/amzn/amazon-payments-magento-plugin/issues/298#issuecomment-270684157,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXwTsPsTVrBd4SgqOd77Fk4LQC-QHXDyks5rPRdUgaJpZM4K81xG
.


race condition writing the stream header when calling Write and Close

https://github.com/libp2p/go-libp2p/issues/2291#issuecomment-1550246247
cc @sukunrt

Fixed by #78.


Reformat and add is_bst()

Pull Request Template
What have you Changed(must)
I have added a method to the class Tree which checks whether a Tree is a Binary Search Tree according to the definition or not.
I have also done some minor reformatting according to the PEP8 style guide:

changed docstrings from single to double quotes
changed method names to snake_case instead of camelCase
change list initialization of q = [] , q.append(node) into single line
removed redundant parentheses

Issue no.(must) -
Closes issue #850
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me if not it will marked as spam.
[x] My file is in proper folder
[x] I am following clean code and Documentation. My code is well linted and I am using flake8 standard for python
[x] I have added title and what program will do first in the file

README - How to Contribute

Thanks @ybrenning for making your contribution.


Support function call in Bedrock Anthropic 3

Could you add support functions call in Bedrock Anthropic 3?

@maxjiang153 Does SpringAI now support function call?

@jledesma-opsguru I'm working on this, hopefully it will be finished in this week. https://github.com/spring-projects/spring-ai/pull/813


v-grid scrolls horizontally when toggling "select all"

If the horizontal scroll position is > 0, and you toggle the "select all" checkbox, the grid will scroll little by little horizontally all the way to the last column.

83b1f4483c48ff1fd51e4de862c034330c76df3f most likely fixed this also

Can’t reproduce anymore.


[RU] Added 'basics/mix' lesson translation.

@nscyclone Can you please look through this translation?
I'd want to have validation before merge.
Thanks!

@nscyclone Thanks for the feedback! I've changed all according to it.


Node.js bindings: Adapt JS bindings to the latest API changes

Adapt AIO,SPI and I2C JS bindings to the latest API changes.
Replaces #2129
Signed-off-by: Sudarsana Nagineni<EMAIL_ADDRESS>

@gabrielschulhof Fixed all review comments. PTAL.

https://github.com/solettaproject/soletta/pull/2153/files#diff-a92bf7b9ffd390afbb1cb2e29fa6fc62L19 should also require( "./lowlevel" );

Aside from that, it's :+1

@gabrielschulhof thanks!

https://github.com/solettaproject/soletta/pull/2153/files#diff-a92bf7b9ffd390afbb1cb2e29fa6fc62L19 should also require( "./lowlevel" );

AIO is not using ReverseLookup mechanism, so no need to require( "./lowlevel" );


pull request bbbc030

Thanks. I will point out several things.

missing description in PR
anno_dict should be a dictionary. Plz check the signature of super class. Functionally, it is fine to use list. It's just for consistency.
It seems that the images have already grayscale. You should remove grayscale and grayscale_mode arguments.

Could you correct them?


OCM-10952 | test: Automated ids:45502,46308,45509,46310 for proxy supporting

/retest-required

/test ci/prow/coverage

/lgtm


Metal3 routing obstructions are needed in the area of the power pads connections

Fixed in PR https://github.com/efabless/caravel-gf180mcu/pull/139


area flat file persistence - area persistence prep

https://github.com/MoreOutput/RockMUD/tree/dataPersistence
The branch above outlines how to write persistence drivers for RockMUD. It will merge into master soon and allow a move to 0.3.5.
The flat file driver allows for areas to be saved as valid JSON files. They are saved on the typical respawn tick. They are loaded upon boot.
The couchdb driver allows for players to be stored in couchdb. An example of a REST interface for persistence. OOTB experience is to save a flat-file in /players.
These drivers should outline a path for any persistence needs. The default experience is no area persistence (areas fully reload on respawn) and flat-file player persistence. Note there is no advanced logic for persisted areas. They are saved in full. You can expand that by adjusting the driver/source.


Qconditions

Additional query conditions for your consideration

Hi, thanks for your consideration. I'm relatively new to the js ecosystem; so far I've mostly encountered the pattern where tests are colocated with the files they test and on that basis missed your tests (I wondered why I didn't see any ;) ). Expect them today.

I've got the unit tests added and am pretty happy with the current state of the code, personally. Perhaps because I've done some squashing, etc., along the way, I can't seem to find where to mark your requested changes as having been completed. :/

Thanks again for bearing with me here. IDK why this last rebase dropped you off as a collaborating committer :|

FYI, I have also rebased my SAMEAS/NSAMEAS commit to specify that the field parameter is a string, which allowed me to revert the change I made to _validateType that made its types parameter optional.

Published in<EMAIL_ADDRESS>Thanks for your contribution!

Thanks for your openness, guidance, and the quick release!


Refresh on deeper links does not work

The problem
Whenever i am in deeper links, and try to refresh, i get 404 error like
http://localhost:8080/home/styles/style.css
http://localhost:8080/home/bundle.js
Details
If you have a link in your application such as http://localhost:8080/home/integration. And you do a refresh on the page. It somehow starts looking for style.css and bundle.js in http://localhost:8080/home instead of http://localhost:8080/. I am not exactly sure, where the real issue is. I just dug a little deeper and i think, its a problem with webpack.config.js.
I have below thing in my webpack.config.js:
devServer: {
    hot: true,
    historyApiFallback: true,
    contentBase: resolve(__dirname, 'build'),
    publicPath: '/',
  },
Will you be able to guide something here?

Can you give me some direction.
I can fix the issue and create a PR.

Hey @neerajhiretual, sorry for taking so long, but I have some IRL matters I have to deal with. The moment I have more time, I will investigate this. In the meantime, if you've resolved the issue, a PR will gladly be appreciated.

I don't know if this is the exact solution.
I added <base href="/"> in build/index.html and index.html, both files.
Seems to fix the issue.

The issue should be resolved now.


Grammar and minor content updates to virtual-network-tcpip-performanc…

…e-tuning.md
--Expand on frame vs packet.  The current verbage suggests they're the same thing.
--Changed 'destinations' to 'endpoints'.  A conversation has a a single destination.
--Virtual appliances will introduce latency, but not necessarily to a negative degree. Changed to more accurate language, but softened the impact with 'some'.
--Added logical inclusion of 'proximity placement groups' along with 'availability sets' and 'availability zones'.
--Removed capitalization of 'Availability Zones', it is not capitalized in other documents like:
https://learn.microsoft.com/en-us/azure/reliability/availability-zones-overview
--This is a wonderful place to introduce latte and sockperf, so added to latency testing section.
--Fixed predicament with a sentence that used 'problems' far too many times.

@asudbring
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@mfsalivar
Can you review this old PR and determine whether it needs to be closed or merged?
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Bump dart SDK to 1.17.0-dev.5.

New dev build with more fixes and (fingers-crossed) speed-ups.
@Hixie @abarth

Travis is mad.  I retried it.

Travis is mad. I retried it.

Still mad (timed out downloading)...  Kicking again.

Hmmmm.  I keep bumping and it keeps breaking even though I can grab it fine locally.  I wonder if travis is failing with a timeout?
@sethladd, @devoncarew, @whesse : any ideas?

Adding @Hixie since I see he did some work on setup.sh and that's the bit that's getting killed.

Are you sure this version is available? I only see 1.17.0-dev.4.1 available for the mac. Perhaps 1.17.0-dev.5.0 isn't fully rolled out - can you hit the d/l url manually?

Are you sure this version is available? I only see 1.17.0-dev.4.1 available for the mac. Perhaps 1.17.0-dev.5.0 isn't fully rolled out - can you hit the d/l url manually?

Yeah, it's there and I can download it locally.  Not sure why it's not on the download site yet but I do know sometimes there's a bit of a lag...  Don't expect that's related but maybe!

It is built (though not completely - some dartium builds failed), but not
released (promoted to the release channels, like the download site,
homebrew, linux package repo, etc.).  I'll release it once I get the other
dartium builds done.
If you are relying on the arm build, note that the new build on arm is
using glibc 2.16.  We are looking into reverting that to an earlier glibc.
On Thu, May 26, 2016 at 9:32 AM, Phil Quitslund<EMAIL_ADDRESS>wrote:

Are you sure this version is available? I only see 1.17.0-dev.4.1
available for the mac. Perhaps 1.17.0-dev.5.0 isn't fully rolled out - can
you hit the d/l url manually?
Yeah, it's there and I can download it locally. Not sure why it's not on
the download site https://www.dartlang.org/downloads/archive/ yet but I
do know sometimes there's a bit of a lag... Don't expect that's related but
maybe!
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/flutter/flutter/pull/4203#issuecomment-221924244

--
William Hesse

Thanks @whesse!
It's worth adding that when I say locally I do mean on my mac whereas travis is fetching for linux-64.  if the build is incomplete, and the linux 64 build isn't ready that would explain it!
The SDK update script is here.

Kicked again after the latest re-roll and it looks like we're green.
https://travis-ci.org/flutter/flutter/builds/133227461
Cheers @whesse!


Add react-dom dependency

Not sure what is going on with react-portal requiring react-dom. It doesn't seem like slate-mentions should directly depend on react-dom at all. Oh well. This fixes the issue with the example at least.

Thanks!


testrun:bot script (needful for CI)

[x] add script testrun:bot
[x] ...?
[x] add script to CI

https://github.com/swaponline/MultiCurrencyWallet/pull/3684
https://github.com/swaponline/MultiCurrencyWallet/pull/3686

https://github.com/swaponline/MultiCurrencyWallet/pull/3688/checks?check_run_id=1461319876#step:6:11


Add getSize() method to BlockDeviceDriver interface and implement it

Adds a getSize method to all block device drivers that returns the size of that block device, in blocks.

Please add some tests :)

Actually the whole block device thing needs tests, I may contribute them once I'm done with exams.

Oh yeah, you are right. Good luck with the exams!


Async change response position

I want to change the response position of async like so:
Async position: centerCenter
Response success or error: rightBottom

I'll try to figure out if you can do that.

@visar1897 Update npm i ng-snotify@latest should fix it


Remove unnecessary .wrapping_shl(2) in favour of << 2

The wrapping behaviour of wrapping_shl refers to the right-hand side parameter, and not the left side. This means that 255u8.wrapping_shl(2) is fully equivalent to both 255u8.wrapping_shl(10) and 255u8 << 2 (where 255u8 << 10 would produce either an undefined value or panic).

Thanks for this, but I'm pretty sure in one of the episodes (3 or 4 I think) I found the wording to be fairly confusing on this, so I double checked by trying it on play.rust-lang.com, and wrapping_shl was necessary in this case. I can double-check this in a few mins :)

Hmm, can't remember the case I had that didn't work, but playing with it now I might have had something like 255 << 12 which yields:
<anon>:2:15: 2:26 error: bitshift exceeds the type's number of bits, #[deny(exceeding_bitshifts)] on by default
<anon>:2     let res = 255u8 << 12;
                       ^~~~~~~~~~~
error: aborting due to previous error

and was probably too "in the zone" to read too much into it :)
In any case, it looks like this PR is correct, and I'll accept it on the next stream.


Renamed env variable names to be more consistent

To me that backend_url is an internal variable for the frontend, it's not public nor shared with the other apps

No, you are right, let's keep it like that


Add table and models to support system scan history

Is your feature request related to a specific problem?
We would like to persist a user's system scan history.
Describe the solution you'd like
We should have a table with each time a user initiates a system scan. We'll also need the associated models.
Describe alternatives you've considered, if any
A description of any alternative solutions or features you've considered.
Additional context
https://github.com/ethyca/fidesctl-plus/issues/188

For now I think a single table, plus_system_scans, would suffice. It should support at least the following columns:

id - psql default primary key, identifies unique scans
created_at - datetime when the scan was initiated
updated_at - datetime when the record was last modified
status - string representing one of a few possible states of the scan (scanning, classifying, writing results (?), error, complete)
error - nullable string, contains an error that prevented the scan from completing successfully, when applicable

Sensitive info or system details must be pruned before writing to this column

results - JSON blob containing the list of System resources discovered by the scan (with sorted keys, if possible, to support future diff-ing)

Optionally we may find it beneficial to include the following additional columns, although there is no immediate use case:

system_count - int representing the number of systems discovered
classified - boolean representing whether the classifier was used as part of the scan

We should think about a better name for this column, as we don't want to imply that any scan record contains sensitive information

stats - JSON blob containing arbitrary statistics that may be fun to display in the UI

"most used data_category" (or data_categories, if we want to display a list in descending order)
"most ingressed system"
"most egressed system"
?

Completed in #1554.


The git Repo it's the same that gitscrum cloud in site.gitscrum.com ?

Hi guys, the repo  it's the same that gitscrum cloud in site.gitscrum.com ?

Nope :(

The design at site.gitscrum.com is very good

Most updates are from 4 years ago. Feels like the updates moved to closed source already.

Yes @stevennt


Repo set up: autolinks for Hugging Face

GitHub repos supports autolinks (like they do with issues and PRs): https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/configuring-autolinks-to-reference-external-resources
For this repo, it would be https://github.com/huggingface/huggingface_hub/settings/key_links.
It would enable auto-converting https://huggingface.co/BAAI/bge-large-en-v1.5 to BAAI/bge-large-en-v1.5.
I just think this would be a nice repo set up things for Hugging Face repos.

Thanks for the suggestion but I quickly had a look and I don't think we can easily configure this. The "num" reference for https://huggingface.co/BAAI/bge-large-en-v1.5 would be BAAI/bge-large-en-v1.5 but GH only allows alphanumerical or numerical identifiers. (like https://jira.example.com/issue?query=123 for example)

Nevertheless a TIL for me :smile:


second time account creation issue

Hello ,
I have created account with AFT one time.
today again trying to follow same scenario but its didnt provisioned?
its been 90 mins since I initiate process.
lambda aft-account-request-processor already process data.
but still lambda aft-controltower-event-logger didnt triggered since last 90 mins.
there was no such errors in logs.
so what will be issue in that?

Hey @devopscaxsol!
Can you tell us a little more about your AFT setup? Please use the following template.
Terraform Version & Prov:
AFT Version:
(Can be found in the AFT Management Account in the SSM Parameter /aft/config/aft/version)
Terraform Version & Provider Versions
Please provide the outputs of terraform version and terraform providers from within your AFT environment
terraform version
{Replace me}

terraform providers
{Replace me}

Bug Description
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Related Logs
Provide any related logs or error messages to help explain your problem.
Additional context
Add any other context about the problem here.


Apply ACL controls to PUBLISH operations

This is a work-in-progress, but basically the idea is that the topic_acl plug-in should be able to also dictate what topics a user may publish to, as well as what topics they may subscribe from.
Not fully tested at this stage… still trying to figure out the structure of the test suite.

Hi @sjlongland Thanks for taking this up!
Have you seen https://github.com/Yakifo/amqtt/pull/42?
I guess your work superseeds that MR.

Hi @sjlongland Thanks for taking this up!
Have you seen #42?
I guess your work superseeds that MR.

I had not seen that (should've looked first I guess).  Seems there's a bit more to be done on that before it can be merged.

I couldn't figure out an easy way to "unit test" the relevant code paths in amqtt/broker.py, so wound up spinning up a separately configured server on a different port.  Not ideal, but it gets the job done, and the plug-ins themselves have unit tests now.

So, rather than making DummyLogger a fixture, I had another look around, and found a py.test plug-in that basically allows us to do the same thing with much greater flexibility.
https://pypi.org/project/pytest-logdog/
Have a look, and see what you think.

Hi @sjlongland thanks for continuing the work on this!
The amount of tests is amazing :)
regarding pytest-logdog
I usually don't test log output, so I am not really knowladable about the different log-capture plugins that exist for pytest.
This one seems to be rather newesh from a lone developer - which is something I am usually a bit cautions about.
Otherwise the plugin looks good.
releasing
Your contribution will make it into 0.11 as it does break the API. With 0.11 we will take more freedom to break with hbmqtt

Yeah, the password thing was me being lazy… but you make a valid point.  I've changed those.
As for logdog… it's a valid criticism, I suppose the decision was between something like that which is maintained by one person and is "new", or doing something custom like the DummyLogger class I started (thus is newer), which we'd have to maintain ourselves.  py.test also has some logging capture fixtures, but they basically give you everything and you have to filter it yourself, which was the problem that inspired logdog.
A release in 0.11 makes sense.  Shake off the shackles of hbmqtt in 0.10. :-)

I think I've got the formatting issues sorted, just working through how to call flake8 to get a meaningful report.

There we go, I've ignored the warnings from the hbmqtt tree as I didn't touch that… anything in tests/ and amqtt should be clean now. :-)

Is this good to go? LGTM. @sjlongland if this is ready, can you request a review from @FlorianLudwig ?

Is this good to go? LGTM. @sjlongland if this is ready, can you request a review from @FlorianLudwig ?

Yep, it is… and I have. :-)

The master-branch is now open for 0.11 - time to break some api! :)

Many thanks. :-)


ModuleNotFoundError: No module named 'segmentation_models_pytorch.unetplusplus'

I was using an older version from segmentation models and everything was working fine, when i've upgraded to the latest version i got this error message
 barcode_det_model_path =  os.path.join("passport_barcode_det_UnetPlusPlus_resnext50_32x4d_e39_lv0.026_ltr0.014_ltest0.038_iv0.95_itr0.973_itest0.932.pth")

self.barcode_det_model = torch.load(barcode_det_model_path, map_location=torch.device('cpu') if device.type == 'cpu' else None)
  File "/data2/home/development/anaconda3/envs/ovr3.10/lib/python3.10/site-packages/torch/serialization.py", line 809, in load
    return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
  File "/data2/home/development/anaconda3/envs/ovr3.10/lib/python3.10/site-packages/torch/serialization.py", line 1172, in _load
    result = unpickler.load()
  File "/data2/home/development/anaconda3/envs/ovr3.10/lib/python3.10/site-packages/torch/serialization.py", line 1165, in find_class
    return super().find_class(mod_name, name)
ModuleNotFoundError: No module named 'segmentation_models_pytorch.unetplusplus'

here is the ouput of pip show segmentation-models-pytorch
ame: segmentation-models-pytorch
Version: 0.3.3
Summary: Image segmentation models with pre-trained backbones. PyTorch.
Home-page: https://github.com/qubvel/segmentation_models.pytorch
Author: Pavel Iakubovskii
Author-email<EMAIL_ADDRESS>License: MIT
Location: /data2/home/development/anaconda3/envs/ovr3.10/lib/python3.10/site-packages
Requires: efficientnet-pytorch, pillow, pretrainedmodels, timm, torchvision, tqdm

how can i fix this issue?

It is now under segmentation_models_pytorch.encoders.unetplusplus

How could you solve this issue?

@canekkazan you can downgrade the package to load model

To which version should I downgrade?
The model weights that I use are trained on torch == 1.7.1 and segmentation-models-pytorch == 0.1.3 which creates so many conflicts. Here is the model weights I try to load https://github.com/TolgaBkm/Istanbul_Dataset

It probably should work with any pytorch version, only segmentation-models-pytorch should be downgraded to 0.1.3

It looks like this issue was resolved. If you still encounter any issues, let us know.


Why super column query don't have getName()

superColumnQuery = HFactory.createSuperColumnQuery(keyspaceOperator, ss, ss, ss, ss)
superColumnQuery.setColumnFamily(columnFamily).setKey(Key).setSuperName(SuperName)
result = superColumnQuery.execute.get.getColumns
Why in the results, I can't take getName("name") on Column in SuperColumn?

This was added to SuperSliceImpl on a recent release.


Link account (experimental)

Motivation

lay the foundation for the linkAccount call

Notes:

this is just the experimental version, couple of changes need to be made before considering this production ready
update the transactions
replace two transactions with multisig
improve error handling (in case user closes the connector window during linking the app does not respond and keeps showing overlay

Merged