Advice on building an automated chat bot with Brain JS - large strings

What is wrong?
I'm trying to figure out whether Brain JS would be the best approach to build an automated chat bot that can be trained to respond to different queries and how to go about doing it, outputted to a JSON as a trained network and then uploaded to a web server.
My initial thinking is that a user would have an input and would be able to ask questions, they could be string lengths of 100 characters.
How important is this (1-5)?
3
Expected behavior (i.e. solution)
So this is what I was initially thinking as the input and output format:
{ input: "Hi, are you able to help me?", output: "Of course, what can I assist you with today?" }

Now there could be hundreds of these objects for possible inputs that a user could give, and limited outputs, but is this too much for Brain JS in terms of training speed?

It would indeed take a lot of time, I know from experience. Tried to do that with a discord bot a while ago, did not turn well. It took so much time (Maybe because of my prehistoric CPU ?) but it would be possible using right settings and good hardware. I think. I hope

@jedjoud10 Do you have an example of how you'd go about doing the training? Would it be a case of providing many input and output objects + net.run('The user input message') to train? When I did this it seemed like it would've taken 30 mins on an i7 Macbook Pro...

There are also other issues that can be helpful in this regard, please check:
https://github.com/BrainJS/brain.js/issues/235
https://github.com/BrainJS/brain.js/issues/217

Well first off I tried making it with an LSTM with not that much neurons, but even with only 10 iterations it was tremendously slow. I guess i have no AI girlfriend then :(

There is a chatbot framework which uses brain.js under the hood, you might look at it. https://github.com/intelligo-systems/intelligo

I feel that there was a sufficient answer here and will go ahead and close.

https://github.com/DigitalMoleMan/learny


vdk-core: adapt to recent pluggy changes

The new version of pluggy's _result cannot be automagically converted to a dictionary which causes issues.
Added a custom string converter.

Yes, it is backwards compatible.

Thanks for fixing this! I saw our nightly builds started fail because of this last week and was planning to raise it but skip my mind. We are planning to have an "EO" on duty person monitoring CICD (incl. nightly builds) so hopefully we will fix those sooner in the future .


Temporarily suppress code duplication checks of Sonar during studio-next development

Context
Sonar is correctly identifying code duplication between our new studio-next project and the existing studio codebase (For example, this PR is being blocked.). This is expected due to the initial development phase where we're introducing new components.
Can we temporarily suppress code duplication warnings specifically related to the overlap between studio-next related packages and studio? This will help us focus on other quality metrics while we complete the migration.

Closing since it is also proposed here https://github.com/asyncapi/studio/pull/990 by another maintainer. and merged here https://github.com/asyncapi/studio/pull/1025.


Allowing user defined wavelength bins in Stage 4

Allowing user defined wavelength bins in Stage 4. This is beneficial to create outputs consistent with the requests of the ERS Data Challange

Oops, I realized I hadn't made the wave_hi and wave_low lists into arrays before which causes issues later, but I do now.


A rust version of the Tic Tac Toe Game

If there is anything that needs to be change to meet any requirements I'd be happy to do so.

welp I was a bit excited about this repo and then realized that its not a collection of all language but a only a very small amount.

If y'all have not started adding Rust no worries just close this request.


Duplicated audio

Can you please tell me how can I disable or don't enable the audio for the screen sharing?
I have my audio duplicated because of using the screen share audio and a normal audio channel.
I tried with some functions but is not working or is crashing.
I remember that you told me to do something if it was crashing, is happening a lot.

If you are using an Android device

set this value false
f you don't want to hear from the far end, you can try this

set this value to false

Thank you!

Sorry, but I set all the audio functions to false and I can still hear myself, I mean the screen share audio.

https://docs.unrealengine.com/4.27/en-US/ProductionPipelines/CloudDeployments/AWS/
Are you using this tutorial to deploy the aws service?

No, but is similar, we are using a template to connect to all the AWS, is called "Multiplayer With Blueprints"

ok, did you try it with my code?

and I don't know anything about aws server at the moment, I'll have to spend time researching this bug

We have decided to use our own machine as a dedicated server. Probably we are going to discuss that with your customer support, but yeah, AWS is a common solution for hosting games and platforms.
So I would recomment Agora to find solutions for Unreal, they recommended us to use Unity.

Yes, because Unity is indeed an easier game engine to master these days, and our customer support has no knowledge of unreal at all, so they would recommend Unity. Also, can you give me a tutorial on aws server? It is best to teach at the nanny level, starting from registering an account. this is important to me.

I like this one: https://www.youtube.com/watch?v=tOy0xYaP3wA
But as I said, we are using a plugin, they have their own tutorials, is this one: https://www.unrealengine.com/marketplace/en-US/product/aws-cognito-dynamodb-gamelift-lambda?sessionInvalidated=true

I did it, I can still hear myself

What I'm doing is to put a 3d widget that connects to the channel I'm sharing, but I wanna use an alternative channel audio instead, mainly because I hear myself.

I don't wanna enable the audio when using the screen share widget, my mic audio.
I just wanna share the video.

Sorry, I'm off work now. I'll fix this at work tomorrow.

are you try rtcengine->disableaudio？

https://github.com/AgoraIO-Extensions/Agora-Unreal-RTC-SDK/blob/main/Agora-Unreal-SDK-CPP-Example/Source/AgoraExample/JoinMultipleChannelWidget.cpp

Cool, is working. Thank you!!


Add module 2 for Basics of Neuroscience course

Hey @lorforlinux
I have added module 2 for the new course being added to docs site. The module consists:

Introduction to nervous system
Types of nervous system
Central Nervous System (CNS) & Peripheral Nervous System (PNS) and its subtypes

Have a look and share your views.

@bhawnasehgal Thank you so much for your contribution, I am merging this now.


bpf: host: skip from-proxy handling in from-netdev

from-proxy traffic gets redirected to cilium_host. Skip the proxy paths when handle_ipv*_cont() is included by from-netdev.

/ci-verifier

/test

While trivial, this is needed for a backport to 1.12. So might as well upstream it.

/test


Trick for plotting in an oblique plane

I am using plot.antsImage a lot to get many figures, and has been very helpful. But now I need to plot three ROIs which do not fall in a single standard plane (axial, coronal, saggital). Yet, the three ROIs can establish a plane which can visualize all three ROIs in a single image.
Does anyone know of a trick to achieve this with our plot.antsImage? For example, is there an easy way to rotate and reslice the image to be parallel to the plane formed by three coordinate points?

Might help if you attch an example image.
On Fri, May 19, 2017 at 12:22 PM dorianps<EMAIL_ADDRESS>wrote:

I am using plot.antsImage a lot to get many figures, and has been very
helpful. But now I need to plot three ROIs in many images, which do not
fall in a single standard plane (axial, coronal, saggital). Yet, there
always exists a plane that can visualize all three ROIs in a single image.
Does anyone know of a trick to achieve this with our plot.antsImage? For
example, is there an easy way to rotate and reslice the image to be
parallel to the plane formed by the three ROIs?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/155, or mute the thread
https://github.com/notifications/unsubscribe-auth/AATyfvtLiSmZmuz1ioM6JiWma7t9Wma9ks5r7cHLgaJpZM4NgvCG
.

--
brian

I can't make an image, that's the problem. There aren't many viewers that
can rotate the visualized slices in any direction. MRtrix's mrview is one
of those that can do it.
Conceptually, is like this. I define the center of mass of an ROI, and then
take a plot at that slice. With 1 ROI works, but with 2-3 ROIs this becomes
impossible, because ROIs do not fall in the same (standard) slice no matter
what. So, I wanted to find a way to manipulate the image in a way that all
ROIs can be seen in a single slice. Anyway, for now I ended up doing some
manual work to plot each ROI separately and then create figures by manually
stitching small plots of each ROI.
But perhaps this can be achieved by defining planes of voxels in a known
plane (i.e., axial, using the extreme indices of three voxels), then find
the necessary angle of rotation to go from this plane to my desired plane
(defined by my 3 ROIs), then apply this rotation to the image. I'm kind of
busy to implement this today, maybe we can pick up this idea later.
Dorian
On Fri, May 19, 2017 at 2:34 PM, stnava<EMAIL_ADDRESS>wrote:

Might help if you attch an example image.
On Fri, May 19, 2017 at 12:22 PM dorianps<EMAIL_ADDRESS>wrote:

I am using plot.antsImage a lot to get many figures, and has been very
helpful. But now I need to plot three ROIs in many images, which do not
fall in a single standard plane (axial, coronal, saggital). Yet, there
always exists a plane that can visualize all three ROIs in a single
image.
Does anyone know of a trick to achieve this with our plot.antsImage? For
example, is there an easy way to rotate and reslice the image to be
parallel to the plane formed by the three ROIs?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/155, or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AATyfvtLiSmZmuz1ioM6JiWma7t9Wma9ks5r7cHLgaJpZM4NgvCG>
.

--
brian
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/155#issuecomment-302778838, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIqafU0s4KXzEPWFq0s7KFGaBbuye68kks5r7eCcgaJpZM4NgvCG
.

brad lowekamp alludes to a solution here from a thread entitled:  [ITK-users] CropImageFilter, multithreading
i bold the most relevant
"Lowekamp, Bradley (NIH/NLM/LHC) [C] via itk.org
10:46 AM (1 hour ago)
to Jonas, insight-users
Hello Jonas,
So ITK ( and therefore SimpleITK ), by default multi-thread each filter by default. This enables efficient processing of larger images.
However, for your task you can run a large number of filters concurrently. Fortunately, SimpleITK does support concurrent execution of ITK filters with light weight python Threads! This is an uncommon feature for Python libraries and is a distinguishing feature of SimpleITK.
I have been planning on writing an example or notebook on this.  Here is an efficient and compact code to accomplish your task as I understand it:
import SimpleITK as sitk
from multiprocessing.pool import ThreadPool
p = ThreadPool()
https://github.com/blowekamp/itkOBBLabelMap/tree/master/test/data
img = sitk.ReadImage(“~/Downloads/jelly_beans.png")
seg = sitk.ReadImage(“~/Downloads/jelly_beans_seg.png”)
shapeStats = sitk.LabelShapeStatisticsImageFilter()
shapeStats.Execute(seg)
def extract_bb(img, shape_stats_filter, label):
[x,y,xsize,ysize]=shape_stats_filter.GetBoundingBox(label)
return sitk.RegionOfInterest(img,size=[xsize,ysize],index=[x,y])
bbimg_list = p.map(lambda label: extract_bb(img, shapeStats, label), shapeStats.GetLabels())
This uses advance concepts of multi-threading, closures, mapping, and thread pools. I think it is the integration of SimpleITK any Python at its bests!
One tweak which could be made to this code is to create a RegionOfInterestImageFilter object, and explicitly set it’s number of threads to 1, so that it is not multi-threaded.
A related not is the recently Oriented Bounding Box computation has been added to ITK’s LabelShape objects and filters, this is starting to get propagated into SimpleITK now. This can be used for a similar purpose but with a resample image filter to change the orientation of the separate object.
Enjoy!
Brad"

also perhaps reorientImage


Allow for translations

Translations can be accomplished by creating a new dictionary option called translations with sub dictionaries labeled status, toolbar, and prompts.
We'd also need to make sure the status bar's labels weren't in the CSS.

I'm not sufficiently up to date to understand this so I'll leave it to you

@WesCossick I am looking to implementing this but I need it in French. Is the dictionary working now?

This is a feature idea to be able to translate certain elements of SimpleMDE's interface that are hardcoded in English.

@WesCossick I am willing to help implement this as I would require a translated version of SimpleMDE's interface. Perhaps the elements could be referencing a JSON file containing the translations?

No need to separate the data into a JSON file and expend another network request. Just need to create a JS dictionary and create an option that overrides the key's values.

When do you plan to implement mentioned features?

My time is limited now; but I'm open to a PR being submitted if you'd like to contribute.

Perhaps the project could use: http://l20n.org/


Breaks fonts

As soon as I add window.viewportUnitsBuggyfill.init(); i get the following errors:
[Error] XMLHttpRequest cannot load http://fonts.googleapis.com/css?family=Roboto%3A300. Origin http://www.blueleafstudio.net is not allowed by Access-Control-Allow-Origin. (environmentally-friendly-web-hosting, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (fontawesome-webfont.woff, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (fontawesome-webfont.ttf, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (fontawesome-webfont.svg, line 0)
It's looking for the fonts at http://www.blueleafstudio.net/fonts/fontawesome-webfont.woff?v=4.0.3 (which is my website) when it should be looking for them at http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css
The font starts loading fine and even renders until viewport-units-buggyfill kicks in.

@ryanburnette it fetches the the external stylesheet using XHR in order to import it into the document's origin in order to be able to access the CSSOM. But you can only fetch stuff from your own origin or from origins that allow your origin to download resources by way of setting proper CORS headers.


flyway info checks/parses or executes beforeMigrate.sql

When i ran flyway info and i have beforeMigrate.sql in sql directory it's trying to parse it and probably execute. I've found out it by running flyway info with beforeMigrate.sql in sql directory and noticed it tries to substitute placeholders in beforeMigrate.sql and also scans and complains on beforeMigrate.sql scripts in subdirs.

Please post a small test project that reproduces the issue.

For ex. sql dir contains two files:
beforeMigrate.sql:
ALTER SESSION SET CURRENT_SCHEMA=${schema};
V_011404.001.001__create_table.sql:
CREATE TABLE IF NOT EXISTS test1 ( id INT, c VARCHAR(20) );
Actual migration files does not matter as if i run than:
./flyway info
i get following output:
Flyway 3.2.1 by Boxfuse
Database: jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=BROKEN)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=<IP_ADDRESS>)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=testserv))) (Oracle 11.2)
ERROR: No value provided for placeholder expressions: ${schema}.  Check your configuration!
So "flyway info" tries placeholder replacement in beforeMigrate.sql.

This has already been fixed in the current release


[Bug]: removing workflow logging entry and file causes errors in Execution Information

Apache Hop version?
2.4
Java version?
microsoft-jdk-11.0.19-windows-x64.msi
Operating system
Windows
What happened?
dan
9:25 AM
I think I removed workflow logging in an incorrect way, possibly?

I deleted the Workflow logging entry under Workflow Log in MetaData (Ctrl+Shift+M)
I deleted the "logging" folder that included the workflow logging file
I opened Execution Information and it had many errors (screenshot and details in chat)
I restarted Hop but still has errors
I recreated an empty logging folder but still has errors
I restarted Hop but still has errors

Details:
org.apache.hop.core.exception.HopException:
Error getting execution from Neo4j
Name is null
at org.apache.hop.neo4j.execution.NeoExecutionInfoLocation.getExecution(NeoExecutionInfoLocation.java:531)
at org.apache.hop.ui.hopgui.perspective.execution.ExecutionPerspective.refresh(ExecutionPerspective.java:549)
at org.apache.hop.ui.hopgui.perspective.execution.ExecutionPerspective.perspectiveActivated(ExecutionPerspective.java:151)
at org.apache.hop.ui.hopgui.HopGui.setActivePerspective(HopGui.java:1591)
at org.apache.hop.ui.hopgui.HopGui.lambda$loadPerspectives$2(HopGui.java:523)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4256)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4054)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3642)
at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:474)
at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:352)
Caused by: java.lang.NullPointerException: Name is null
at java.base/java.lang.Enum.valueOf(Enum.java:238)
at org.apache.hop.execution.ExecutionType.valueOf(ExecutionType.java:21)
at org.apache.hop.neo4j.execution.NeoExecutionInfoLocation.getNeo4jExecution(NeoExecutionInfoLocation.java:568)
at org.apache.hop.neo4j.execution.NeoExecutionInfoLocation.lambda$getExecution$2(NeoExecutionInfoLocation.java:529)
at org.neo4j.driver.internal.InternalSession.lambda$transaction$4(InternalSession.java:137)
at org.neo4j.driver.internal.retry.ExponentialBackoffRetryLogic.retry(ExponentialBackoffRetryLogic.java:106)
at org.neo4j.driver.internal.InternalSession.transaction(InternalSession.java:134)
at org.neo4j.driver.internal.InternalSession.readTransaction(InternalSession.java:103)
at org.neo4j.driver.internal.InternalSession.readTransaction(InternalSession.java:98)
at org.apache.hop.neo4j.execution.NeoExecutionInfoLocation.getExecution(NeoExecutionInfoLocation.java:529)
... 11 more
Issue Priority
Priority: 3
Issue Component
Component: Metadata

I neglected to mention that I only followed Step 1: from
Workflow Log :: Apache Hop

Now I am starting to doubt myself, I don't look at Execution Information all that much, what if these errors were there earlier? hmmm.... My workflow and pipelines run fine.
I did also notice yesterday when I was re-ordering tabs (pipelines), that sometimes all of a sudden 2 tabs had identical objects on them (with different tab names), the one that moved and the tab in the old position I think. This happened several times.

As a side note, I was advised to use local file Execution Information Location logging instead of to Neo4j.

Logging to files is eventually consistent and the Neo4j implementation should be transactional.  It's always possible that deleting execution nodes doesn't work correctly.  However, a proper reproduction path is really necessary to fix this.  Thanks in advance.


Enable an initial "genesis" message at system initialization, make unwind work for non-genesis messages, fix properties

In this pull request, we model the initial distribution of some information to all participants by making the system model accept an initial message that is placed in the message pool in the initial state.  This ensures that the model allows cheat steps to send messages with signatures that can be derived from this initial information.
One consequence is that we cannot unwind a message containing parts from GenesisInfo because they are not introduced by any step.  This is handled by introducing properties about initial vs. non-initial parts (in our case, Votes represented in the GenesisInfo are all for round 0, while new Votes sent by peer steps are always for non-zero rounds.
We also postulate/prove various GenesisInfo for the (still fake) implementation model and properties about it required to make all the proofs go through, and then do so.
I have also experimented with an alternative in which the system model accepts a separate GenesisInfo type, which requires changing CheatConstraint to reflect that cheats can behave in this way.  The two approaches turn out to be fairly similar, although I have not completed the latter (yet?).  I am sharing this one for comments and feedback.
One downside of this approach is that it is no longer the case that the initial message pool is empty, which means some step-0 cases require proofs that didn't before.  The alternative approach would instead result in additional cases for cheat steps, saying that the part was in the GenesisInfo, which will then have to be eliminated as contradictions.  In hindsight, that may be preferable because the (new) step-0 proofs require reasoning about msgPool initialState.

I'm closing this as work on the alternative approach mentioned in the description, along with some simplifications that could probably apply to this approach as well, looks more promising.


[Feature Request]: Can you consider to add Java 8 support？

Feature Description
Can you consider to add Java 8 support？Java 21 is too much progressive and basically no one uses it. The present environment requirement (Java 21) will hinder a great number of users to access this pdf software. Can you consider to add Java 8 support (most users use Java 8)? Thanks!
Why is this feature valuable?
Java 21 is too much progressive and basically no one uses it. The present environment requirement (Java 21) will hinder a great number of users to access this pdf software. Conversely, most users use Java 8 or Java 11.
Suggested Implementation
Can you consider to add Java 8 support (most users use Java 8)? Thanks!
Additional Information
No response
No Duplicate of the Feature

[X] I have verified that there are no existing features requests similar to my request.

We support 17 and 21
But no we are using some dependencies that require 17 or higher sadly


change origin/# to origin/a/wis2/#

The "environment"-folder was a bit of mess of half-working code, with #119 I aligned "environment"-folder with what I actually used to setup the environment in Fiji but we still have some old code to clean up and review
Regarding:

environment/local-repo-vm-222/subscribe_all.py
environment/instructor/live.html

environment/instructor/live.html refers to what was hacked together during Jakarta. While it is nice to have the map, I think the Fiji training where we just had fake GB + fake GDC without a map worked fine.
I believe environment/local-repo-vm-222/subscribe_all.py was my initial script to check all student-brokers were up.
This functionality is now provided by fake-global-broker-and-cache/subscribe_and_republish.py.


#14 get data from firebase:

-listener for changes in ring2 data
-store changes in data frame
-run feature extraction on data frame
-separated KNN.py into KNN_Train.py anf KNN_Predict.py

woohoo


Added Caddyfile

This enables caddy server to be used without additional configuration.
usage
Clone the repository, cd into it and run caddy
requirements
You only need to have caddy installed and php-fpm running on port 9000.
see https://caddyserver.com/docs/caddyfile

Let's add this to the WebServers section of the manual. Configuration files are already piling up.
https://github.com/UnionOfRAD/manual/blob/master/01_installation/03_web_servers.md
What d'you think?

Hi @davidpersson - to be honest, i think lithium could benefit from that file in the root directory. Since caddy is the easiest to use web server, it would allow even not so tech-savvy people to run a proper web server with lithium already installed. Caddy is cross-platform and has no dependencies. It's a single binary file that's easy to deploy, you would just need to copy it.
I also created a pull-request for the manual as well, but would like to see this file added here. https://github.com/UnionOfRAD/manual/pull/98


Install GPflow on Heroku

I want to deploy a web application on Heroku. I used GPflow for this web application. Does anyone know to install GPflow on Heroku?  Thanks!

Closing this for inactivity; if anyone actually has an idea how to do that please leave a comment.


Empty blueprint in Cockpit Portal

Tested on Moehaha.com Cockpit: https://moehaha-cockpit.aydo2.com/cockpit/cockpit/Blueprints?ayspath=yves
After succesfully deploying a VDC throught API call from Moehaha.com, the blueprint is visible in Cockpit Portal, but empty:

Let's close


Simplify and fix MkdirAll usage

Please review, this looks somewhat important to me as it the bug can cover some non-trivial later errors.

Here's an example
http://play.golang.org/p/xcuYZ1YtyZ

please squash your commits down to one

@duglin I did a separate commit for the specific aufs case as it's not as trivial as others and deserves a separate changelog (as I presumably change the code logic, unlike in all other cases).

I think aufs code is ok with removed check.
LGTM

I don't think the aufs case is much more special than the other ones. We always want to fail if there is an error, and as you say, checking if it already exists is not correct. We don't need to check if the path is a directory either, in that case, MkdirAll doesn't fail.
Can you please squash those commits?

@calavera done

LGTM just waiting on janky

LGTM

Seems like some internal error with janky, I heard there were some problems with CI lately, maybe @jfrazelle can take a look?

@kolyshkin she is already, no need to ping her too much :) (guilty too)


Generated project doesn't build due to dependency issues

I get the following unresolved dependencies when following the instructions in the README.
sbt versino is 0.13.7 and Scala version is 2.10.4
[error] (*:update) sbt.ResolveException: unresolved dependency: com.twitter#sbt-package-dist;1.0.5: not found
[error] unresolved dependency: com.twitter#sbt11-scrooge;3.0.0: not found
[error] unresolved dependency: com.twitter#sbt-thrift2;0.0.1: not found
[error] unresolved dependency: com.twitter#scalatest-mixins_2.10;1.0.3: not found

You have to change the scalaversion in project/plugins.sbt by adding scalaVersion := "2.9.1" into this file.
If you still have error, you must create the file "build.properties" under folder project ( ex : project/build.properties) and then put the line "sbt.version=0.11.2" into this file
I resolved the same issue by this way.
Hope this will help you.


Add I Can Buy You by Wicsur

Song Name
I Can Buy You
Artist Name
Wicsur
Source
Youtube
Youtube Link
qr0YJgJPDGT4WL0B
Direct File Link
No response
Song ID
533927
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 4284013

reject
invalid YouTube link


[Models]: Connection Definition of Kind "Registrant"

Current Situation
A new definition is needed for Registrants.

Contributor Guides and Handbook

MeshModel Repository
🖥 MeshModel Overview
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Contributing to Meshery Models
!! See https://docs.meshery.io/project/contributing/contributing-models
Instructions for Models
Forthcoming
Instructions for Components
While the default shape for new components is a circle, each component should be considered for its best-fit shape.

Review and familiarize with the available set of predefined relationship types. Refer the Cytoscape node types for a list of possible shapes.
Propose a specific shape, best-suited to visually represent the Component. Example - Deployment as a pentagon.
Proposee a specific icon, best-suited to visually represent the Component. Example - DaemonSet as a skull icon.

Instructions for Relationships

Identify the relationship and any specific constraints to be enforced between the two specific components, their models or potentially other components, models, or environmental considerations.
Propose a specific visual representation for the relationship. Visual representation examples: Hierarchical, Sibling, Binding, Edge
Prospose the appropriate relationship type, using one of the predefined set of relationship types or suggest a new relationship where an existing type does not fit.
Create a Relationship Definition (yaml). See the Relationship Schema in MeshModel and examples.
Create a policy for evaluation of the relationship (rego). See examples.

Instructions for Policies

Forthcoming

Instructions for Policies

Forthcoming

@MUzairS15  FYI


assetPrefix ignored by stylesheet in export

When doing a static export with assetPrefix defined in next.config.js, stylesheet does not link properly.
Script files are included as <assetPrefix>/_next/<...>/index.js, while the css file is included as /_next/static/style.css with no prefix.

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior
Stylesheet is linked as /_next/static/style.css with no prefix when assetPrefix is defined
Expected Behavior
Stylesheet should be linked as <assetPrefix>/_next/static/style.css when assetPrefix is defined
Your Environment

Tech
Version

next
canary (07-03-2018)

node
v8.4.0

OS
macOS Sierra

browser
Chrome Version 63.0.3239.132

How do you declare your css ?
mine is declared in _document.js with a hardcoded path so of course the assetPrefix needs to be set manually.

You can use the following in _document.js:
this.props.__NEXT_DATA__.assetPrefix


SelectBox: Refactor constructor using interface. WIP for #58922

Why this re-factoring PR?

cleanup and consolidate per-option item parameters into interface - enable setting all in constructor
precursor for next PR addressing decorator/'default' option for new settings editor - @roblourens   #58724
eliminate setDetailsProvider callback - utilize interface parameters directly
add option to force use of custom select regardless of platform (eliminate indirect details approach)
allow for multiple disabled items (to do)

This PR is still WIP !
I am looking for a brief initial review to know I'm not going in a bad direction.
Have final cleanup and testing to do.  Will post final PR assuming no one
has any issues with the direction of change.

(assigning myself so that this shows up in my milestone list of work - did not look at the changes yet)

@bpasero
I will assign you as well in the future, I thought the review placed it in your workflow.
I'm going to hedge my bets assuming I'm on the right track and continue cleaning.

@cleidigh you don't have to assign me, review is good, as long as I get a notification 👍

if I messed up the merge update I will do a new PR...never looks right

@cleidigh GH still reports tons of commits though.

@bpasero .
I will post new PR since I cannot seem to merge/replace a PR without all the master commits

Closing for new clean PR #64109


启动区块链最后一步失败

报错如下
Error: error getting endorser client for invoke: endorser client failed to connect to peer0.org1.blockchainrealestate.com:7051: failed to create new connection: context deadline exceeded

第七步也报错了
Error: error endorsing chaincode: rpc error: code = Unavailable desc = transport is closing

echo "七、实例化链码"
if [[ "$(docker images -q hyperledger/fabric-ccenv:1.4 2> /dev/null)" == "" ]]; then
  docker pull hyperledger/fabric-ccenv:1.4
fi
if [[ "$(docker images -q hyperledger/fabric-ccenv:latest 2> /dev/null)" == "" ]]; then
  docker tag hyperledger/fabric-ccenv:1.4 hyperledger/fabric-ccenv:latest
fi
docker exec cli peer chaincode instantiate -o orderer.blockchainrealestate.com:7050 -C assetschannel -n blockchain-real-estate -l golang -v 1.0.0 -c '{"Args":["init"]}'

第七步需要在fabric-ccenv:1.4（需要打为latest标签）镜像跑，检查你的 docker images 是否成功拉取了该镜像

docker images 里有fabric-ccenv:1.4和latest，我的运行环境是本地

把 docker 镜像的fabric-ccenv rmi 删掉，然后再试试吧，因为可能你的latest并不是1.4的

不是以上的问题，我发现我运行10次，可能会有一次成功，我不知道这是什么问题？（网络问题？）

额，这我就不知道了，我个人电脑一直挂着梯

同样的问题，已经快被逼疯了

Google 了一下有人说是tls的问题，问题我看脚本里也没有开启tls啊

同样的问题，已经快被逼疯了

我也是这样，请问你最后怎么解决的

就是多跑几次碰出来，这个问题真的太诡异了，实在是想不通为什么端口就会被关闭
Get Outlook for iOShttps://aka.ms/o0ukef

From: zh-git1 @.>
Sent: Thursday, August 5, 2021 6:10:04 PM
To: togettoyou/blockchain-real-estate @.>
Cc: Peiyu LIU (20124532) @.>; Comment @.>
Subject: Re: [togettoyou/blockchain-real-estate] 启动区块链最后一步失败 (#10)
同样的问题，已经快被逼疯了
我也是这样，请问你最后怎么解决的
―
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/togettoyou/blockchain-real-estate/issues/10#issuecomment-893336020, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUMFBNQ7MX3U5KAD22Y6QQLT3JPPZANCNFSM44GHTIPA.
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of The University of Nottingham Ningbo China. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with The University of Nottingham Ningbo China may be monitored as permitted by UK and Chinese legislation.

我也启动报错了，不知道怎么解决。
error getting endorser client for invoke: endorser client failed to connect to peer0.org1.blockchainrealestate.com:7051: failed to create new connection: context deadline exceeded

已修复

拉取最新代码跑即可
参考：https://jira.hyperledger.org/browse/FAB-13419

@guoliangli123 @zh-git1 @musigo @Niko-creater


Fix build with http2 >= 5.2

@lucasdicioccio
The build fails when http2 5.2 is available, as the build plan won't pick an older version.
In http 5.2 SettingsHeaderTableSize was renamed while HeaderList was removed, and its old HeaderName = ByteString is now the case-insensitive one from http-types
AFAICT this maintains the old behavior in that we keep case-sensitivity, so as to only fix the build.
Probably best to re-evaluate whether the new behavior should be adopted somewhere

Bump

Hey, this would be really useful to have released on Hackage. Thanks!


add Twinagle to list of Twirp implementations

Description of changes:
Twinagle is an implementation of the Twirp protocol for Scala/Finagle.
It is used in production at SoundCloud, and we just announced the OSS release today (though the code has been in the open for a while already).
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

That's awesome! Thanks for the PR.


Explore ILE grammars not being fully used by LG

Two problems:

Inconsistent rounding:
http://langlearn.singularitynet.io/data/aglushchenko_parses/GCB-NQ-dILEd-MWC-MSL-2019-04-24/GCB-NQ-dILEd-MWC-MSL-summary.txt
0    2     99.60%      1.00
Need to round F1 to 4 decimal places after period so the rounding appears consistent.

Some words in the grammar are not parsed in 2-word sentences:
http://langlearn.singularitynet.io/data/aglushchenko_parses/GCB-NQ-dILEd-MWC-MSL-2019-04-24/parses/max-sentence-len:2_min-word-count:0/GC_LGEnglish_noQuotes_fullyParsed.ull.ull

Not parsed:
[seek-seek] [chuckled] [.]
[shawl-straps] [=] [.]
Digging into grammar:
akolonin@Ubuntu-1604-xenial-64-minimal:~/public/aglushchenko_parses/GCB-NQ-dILEd-MWC-MSL-2019-04-24/parses/max-sentence-len:2_min-word-count:0$ grep '-' GC_LGEnglish_noQuotes_fullyParsed.ull.ull
[seek-seek] [chuckled] [.]
[shawl-straps] [=] [.]
rikki-tikki listened [.]
1 rikki-tikki 2 listened
akolonin@Ubuntu-1604-xenial-64-minimal:~/public/aglushchenko_parses/GCB-NQ-dILEd-MWC-MSL-2019-04-24/parses/max-sentence-len:2_min-word-count:0$ grep 'rikki-tikki' dict_19432C_2019-04-24_0007/4.0.dict
"rikki-tikki":
akolonin@Ubuntu-1604-xenial-64-minimal:~/public/aglushchenko_parses/GCB-NQ-dILEd-MWC-MSL-2019-04-24/parses/max-sentence-len:2_min-word-count:0$ grep 'shawl-straps' dict_19432C_2019-04-24_0007/4.0.dict
"shawl-straps":
akolonin@Ubuntu-1604-xenial-64-minimal:~/public/aglushchenko_parses/GCB-NQ-dILEd-MWC-MSL-2019-04-24/parses/max-sentence-len:2_min-word-count:0$ grep 'seek-seek' dict_19432C_2019-04-24_0007/4.0.dict
"seek-seek":

Four decimal places rounding is done (PR #213)
"=" is missing in produced dictionary. Although "seek-seek" and "chuckled" are there in the dictionary, there is no disjunct to unify them the way they could be recognized together in the above mentioned sentence. When trying to subset grammar rules for the certain sentence with the help of dict-transformer script I get empty rule set.

@OlegBaskov , can the " Although "seek-seek" and "chuckled" are there in the dictionary, there is no disjunct to unify them the way they could be recognized together in the above mentioned sentence. When trying to subset grammar rules for the certain sentence with the help of dict-transformer script I get empty rule set. " be an issue for separate exploration?

[seek-seek] [chuckled] [.] "sentence" have no links in the training set ("input parses") GC_LGEnglish_noQuotes_fullyParsed.ull, line 18846 --
http://langlearn.singularitynet.io/data/aglushchenko_parses/GCB-NQ-dILEd-MWC-MSL-2019-04-24/data/.
So the Grammar Learner had no input data to learn the corresponding disjunct.

@alexei-gl - please make sure why
A) "rule-stripper" misses this rule and fix it if needed
B) LG Parser misses this rule and submit issue with all diagnostic files to Amir if needed

Regarding item two at the very beginning of the issue, the sentences mentioned above are not recognized by the induced grammar because at least one word in each sentence is started from uppercase letter in the input corpus while induced dictionary rules are case sensitive and those words are lowercased. For example:
Here is the original corpus sentence:
Seek-Seek chuckled .

If the exect sentense is manualy fed to link-parser the returned parse looks like:
[Seek-Seek] [chuckled] [.]

If lowercased sentence is fed the returned parse is:
    +-AZDAAEYV+
    |         |
seek-seek chuckled [.]

As for the result .ull file, with specified settings output sentence is converted to lowercase before being written to file. That's why in the result .ull file we get lowercased:
[seek-seek] [chuckled] [.]

@alexei-gl - can you check if converting GT input to lowercase (in case of using induced grammar) improve the results more than 1% - based on what you have for full GC, GL on LG-English, max_unparsed_words=99, MWC=1(GL/GT), get the difference and review the produced parses with diff so we can decide how to handle that.

LG dictionary library was fixed in PR #250. Results for lowercase input are here: https://docs.google.com/spreadsheets/d/1o-4acGPxkMIS6-xJDxwjqDWAwIt8qx2xPemu14IZRaU/edit?pli=1#gid=1580443221 (see rows 90-99).


Navigation Icon on the Toolbar!

How can I change the navigation icon (the icon on which we touch to open the Navigation Drawer) on the Toolbar?

Why you want to change it?

@neokree because the default icon may be barely visible on certain ActionBar color, because the designer or client may ask the developer to change it. There could be many reasons. That option definitely should exist.

Right! Finally, I can change the color of this now :)

@nguyentando Tell us please, how to do it

Okay, if someone else need it, this works:
@Override
protected void onPostCreate(Bundle savedInstanceState) {
    super.onPostCreate(savedInstanceState);
    getToolbar().setNavigationIcon(R.drawable.ic_drawer);
}


Update community section

This PR updates the community pages and the community section for the homepage. Content has already been reviewed and approved.

You can preview this change here:
Built with commit d79fdd8c43cacd6bd029d103cf7843e1a0378d2e
https://deploy-preview-342--govuk-design-system-preview.netlify.com


Add application dependency scanning + badge

Hi,
In order to keep the dependencies of this application up to date, could the maintainers please add this repository to a service like Snyk that monitors and alerts when there are vulnerabilities in the dependencies (https://github.com/ivx/yet-another-cloudwatch-exporter/blob/master/go.mod)? Ideally a badge could be added to the README for quick visibility of the status.
Thanks!

Duplicate

Hi, Is there a dependency vulnerability scanner embedded in the build and release process? https://support.snyk.io/hc/en-us/articles/360004032117-GitHub-integration describes some details how it could be accomplished using Snyk. Thanks!
Example:

docker image scan (which currently contains a medium vulnerability, not disclosing details here):
application dependency scan (no vulnerabilities):


Add Falcom and VIT TCs from transformers/tests

Adding Falcon and VIT  TCs from :
https://github.com/huggingface/transformers/tree/main/tests
To run on Gaudi devices.
@regisss , @ZhaiFeiyue   : Please help merge these.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


DNSTAP: logging both source address  and destination address

nsd-4.1.26_patches.tar.gz
Hello Wouter!
Its Igor! Some time ago i have discussed with you about your powerful NSD and Unbound. So, i would like to ask you to extend dnstap feature in NSD to log the both addresses: source address (the client which we receive DNS query from) and destination address (service address which accept the query to). I have made patches for NSD-4.1.26 to implement such extension. Could you please see them (i attached the patches in tarball file) and say are these patches safe and reasonable?
Thank you in advance!

nsd-4.1.26_patches.tar.gz
Hello Wouter!
Its Igor! Some time ago i have discussed with you about your powerful NSD and Unbound. So, i would like to ask you to extend dnstap feature in NSD to log the both addresses: source address (the client which we receive DNS query from) and destination address (service address which accept the query to). I have made patches for NSD-4.1.26 to implement such extension. Could you please see them (i attached the patches in tarball file) and say are these patches safe and reasonable?
Thank you in advance!

Hi!
In this weekend if found serious bug in my patches. So i need to rewrite them and test for some period of time. And then i will send the final patchset.
PS: Also i'm working on Unbound to reach the same result - to log destination address as well as it done with source one over DNSTAP. My core idea is to add unbound_socket* structure (the pointer, just like nsd_socket* in NSD) as additional item in ports structure. And pass the my unbound_socket* into all the compoints that are creating in listen_create() function in services/listen_dnstport.c source ;)

This issue i would like to close. I've made new issue #146(yesterday) with more recent NSD version and actual patches.


feat: tests to run on GitHUb Actions

[x] All tests pass
[x] I have run npm run doc

Description

feat: tests to run on GitHub Actions
References

Issue #902

We already use Appveyor. Setting up and maintaining the test secrets is a tedious process, so this is probably not useful at the moment.

Setting up secrets is actually quite easy in GitHub Actions. You add your secrets in Settings tab of this repository.
After that you can use your variable like this: ${{ secrets.MY_SECRET }}. For example in a environment variable:
env:
  SECRET_PASSWORD: ${{ secrets.MY_SECRET_PASSWORD }}


spelling: s/owner ship/ownership/

log message spelling

Other than the commit message and release note label LGTM


Unregistering tags

Add in functionality to unregister tags.

Deleting a pico should unregister its tags. This should select in the safeandmine ruleset and not require any wrangler changes.


[BUG] save/upload XML files overwritten

Is there an existing issue for this?

[X] I have searched the existing issues and none matched.

Operating System
Linux
CPU
No response
GPU
No response
Storage
No response
Game Version
5.0.0-042
Game Mode
dance
Theme
default
Describe the problem

play a song, hit at least one note (any non-miss judgment), fail or pass the song
ensure XML upload file created: Save/Upload/YYYY-MM-DD 00000.xml
checksum this file
play a song, and do not hit ANY notes, fail or pass the song
a mostly-empty XML file OVERWRITES the just-created file Save/Upload/YYYY-MM-DD 00000.xml

Describe what should happen
step (5) above should create a *NEW mostly-empty XML file called Save/Upload/YYYY-MM-DD 00001.xml, and not overwrite the existing. it works this way on outfox alpha4 (and on stepmania 3.9/5.0/5.1-new/etc), and appears to be a regression in alpha5.
Relevant Log output
No response

Confirmed, working on a fix, will be out in 043 in a week or so mate, thanks for reporting!

This is now fixed, the prealpha for this is on the discord server, as we're testing the input systems atm, so the release is delayed a touch. let me know in the discord which linux build you need and i'll build it for ya :)

awesome, thanks!

closing for 043 prep, thanks so much for reporting


[Doc] Missing broker.conf entry for GEO replicated subscription

Search before asking

[X] I searched in the issues and found nothing similar.

What issue do you find in Pulsar docs?
In the documentation https://pulsar.apache.org/docs/2.11.x/administration-geo/#enable-replicated-subscription it's not mentioned to do anything on broker side. Without it we can not get the subscription replicated with topic status output as below.
"subscriptions" : {
    "my_subscription" : {
      "msgRateOut" : 0.0,
      "msgThroughputOut" : 0.0,
      "bytesOutCounter" : 3899,
      "msgOutCounter" : 59,
      "msgRateRedeliver" : 0.0,
      "messageAckRate" : 0.0,
      "chunkedMessageRate" : 0,
      "msgBacklog" : 0,
      "backlogSize" : 0,
      "earliestMsgPublishTimeInBacklog" : 0,
      "msgBacklogNoDelayed" : 0,
      "blockedSubscriptionOnUnackedMsgs" : false,
      "msgDelayed" : 0,
      "unackedMessages" : 0,
      "type" : "Exclusive",
      "msgRateExpired" : 0.0,
      "totalMsgExpired" : 0,
      "lastExpireTimestamp" : 0,
      "lastConsumedFlowTimestamp" :<PHONE_NUMBER>923,
      "lastConsumedTimestamp" : 0,
      "lastAckedTimestamp" : 0,
      "lastMarkDeleteAdvancedTimestamp" :<PHONE_NUMBER>898,
      "consumers" : [ ],
      "isDurable" : true,
      "isReplicated" : false,
      "allowOutOfOrderDelivery" : false,
      "consumersAfterMarkDeletePosition" : { },
      "nonContiguousDeletedMessagesRanges" : 0,
      "nonContiguousDeletedMessagesRangesSerializedSize" : 0,
      "subscriptionProperties" : { },
      "durable" : true,
      "replicated" : false
    }
  },

What is your suggestion?
Add below to the doc for relevant entries in broker.conf along with consumer configuration on https://pulsar.apache.org/docs/2.11.x/administration-geo/#enable-replicated-subscription .
# Enable tracking of replicated subscriptions state across clusters.
enableReplicatedSubscriptions=true

# Frequency of snapshots for replicated subscriptions tracking.
replicatedSubscriptionsSnapshotFrequencyMillis=1000

# Timeout for building a consistent snapshot for tracking replicated subscriptions state.
replicatedSubscriptionsSnapshotTimeoutSeconds=30

# Max number of snapshot to be cached per subscription.
replicatedSubscriptionsSnapshotMaxCachedPerSubscription=10

/cc @hang
Any reference?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Fix in https://github.com/apache/pulsar-site/pull/510


portusctl: use right certificate

Fixes issue #412
Signed-off-by: Flavio Castelli<EMAIL_ADDRESS>

@jordimassaguerpla this is the issue we discussed on Thu, as you can see the fix is pretty simple.


Automate minification

@thednp How's this?
I removed gulp since it is no longer needed.
The new minification tool minifies slightly differently than the old one (though file-size is similar), so this PR includes updates to the minified files.
To automatically minify, run npm run min from the project directory (or any subdirectory). The script takes about 1.3 seconds on my machine, so this should speed things up greatly.

Thank you. I hope you triple checked everything. I hope no gulp user will complain.

What do you think about this?

LGTM

I tested both files in my console and I get 4 verbose stack Error: missing script: min. Ideas?

@thednp You need to copy https://github.com/thednp/bootstrap.native/blob/master/package.json#L8 to the scripts section of the package.json.

And then publish to npm again?

No need to re-publish IMO; the main field references the unminified files (just like it should).

Wait a minute, when does this happen, when should I npm run min ?

Either every time you make a change to the code (preferable IMO), or before each release.

ok now I get a different error. I think I should npm install each
var fs = require('fs');
var path = require('path');
var uglify = require('uglify-js');

Correct?

Indeed.

@thednp No need to manually install each one, they're in the package.json, just run npm install (or npm i, that's an alias).
BTW, fs and path are core node.js modules, no need to install them.

What about uglify-js?

That's in the package.json, just run npm i and the correct version will be automatically installed.


Registering new vehicles weapons and so on only from fractions like police etc.

Describe the feature you'd like
It would be awesome if only Police could register new weapons.
Mechanics or the insurance company could register new vehicles.
Additional context
Add any other context or screenshots about the feature request here.

I'll think about this feature, thank you for suggesting!


Is it using the dylib ?

I mean does the project uses the Embedded libraries? I'm getting error on that issue. Does that mean that I have to test project on a real device?
Thanks in Advance.
P.S: I'm a beginner level at this thing :)

I don't think it uses embedded libs.


Expanded SQL has NULL when using rarray with Vec

I am trying the use the array module but the expanded query always seems to contain NULL.
rusqlite::vtab::array::load_module(&conn)?;
let mut stmt = conn.prepare("SELECT value from rarray(?1);")?;
stmt.raw_bind_parameter(1, Rc::new(vec![Value::from("foo".to_string())]))?;
println!("{}", stmt.expanded_sql().unwrap());

Running the above prints: SELECT value from rarray(NULL);

This is due to how pointer parameter passing works, and there's no way to avoid this. What are you hoping to accomplish?

Not related to rusqlite, SQLite3 with the carray extension should behave the same.

I was just trying to use binding with the IN, how would I accomplish that?

SELECT blah FROM foo WHERE something IN rarray(?)


Added welcome bot

Closes issue #81

Is it okay?

@avinashkranjan Can you take a look?

@all-contributors please add @itsIapetus  for documentation


Is possible to change selected day text color?

First thanks for the component, is excellent and very complete.
I'm trying to change the text color of the selected day and just found the setSelectionColor property but it changes the color of the round form.

You can use app:mcv_dateTextAppearance (or the Java setter) to do this. I still need to document how this should be done, but for now you can copy the default implementation and modify as you need. Essentially you need to supply a android:textColor that is a color state list with your desired colors.
Add a style:
<style name="TextAppearance.MyCustomDay" parent="android:TextAppearance.DeviceDefault.Small">
    <item name="android:textSize">12sp</item>
    <item name="android:textColor">@color/my_custom_day_color</item>
</style>

and create color/my_custom_day_color.xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"
    android:enterFadeDuration="@android:integer/config_shortAnimTime"
    android:exitFadeDuration="@android:integer/config_shortAnimTime">

    <item android:state_checked="true" android:color="SELECTION_COLOR" />
    <item android:state_pressed="true" android:color="SELECTION_COLOR" />
    <item android:state_enabled="false"  android:color="#808080" />
    <item android:color="@android:color/black" />
</selector>

then set<EMAIL_ADDRESS>

Hi @dandc87, Thanks for very fast response
I resolved using a decoration specific to change the selected date:
public class OneDayDecorator implements DayViewDecorator {

    private CalendarDay date;

    public OneDayDecorator() {
        date = CalendarDay.today();
    }

    @Override
    public boolean shouldDecorate(CalendarDay day) {
        return date != null && day.equals(date);
    }

    @Override
    public void decorate(DayViewFacade view) {
        view.addSpan(new ForegroundColorSpan(Color.RED));
    }

    /**
     * We're changing the internals, so make sure to call {@linkplain MaterialCalendarView#invalidateDecorators()}
     */
    public void setDate(Date date) {
        this.date = CalendarDay.from(date);
    }
}

And adding on calendar view:
        mCalendarView.addDecorator(mSelectedDayDecorator);

@Marabita! your solution works for me!
thanks!

thanks @Marabita  , I has been highlight current day, i happy

Great its work! and if u want use custom color I add context in OneDayDecorator and use
       view.addSpan(new ForegroundColorSpan(mContext.getResources().getColor(R.color.celeste)));

Works like a charm. Thanks!

@marcello-marabita-mblabs  Thanks it works for me.


[Accessibility]A11y_VSCode_UserSettings_ColorContrast:Color contrast ratio is less than 4.5:1 for the placeholder and the list items present on the screen.

Environment Details:
VSCode Version : 1.23.1
OS Version : Windows 10
Additional Details:
MAS Violated : MAS 1.4.3
Tools Used : Color Contrast Analyzer
Repro Steps:
1.Launch VS Code.
2.Navigate to Settings icon in Activity Bar->Press Enter->Select "Settings" from dropdown
3. Open Color Contrast Analyzer.
Actual
Color contrast ratio is less than 4.5:1 for the placeholder and the list items present on the screen
Expected:
Color contrast ratio should be more  than 4.5:1 for the placeholder and the list items present on the screen
Recommendations:
Refer below link which is repository of bug fixes code snippets:
https://microsoft.sharepoint.com/teams/msenable/mas/pages/browse-fixes.aspx
User Impact:
The End user will not be able to view the content properly.
MAS Reference:
MAS 1.4.3 - https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={a73546c7-765f-489c-b18f-afb659fe99e6}
Attachment For Reference:

Does this issue occur when all extensions are disabled?: Yes

Duplicate #52593


Rename master branch to main

I'd like to propose renaming the master branch to main, given the sense of inclusion for the change, and that's where the git ecosystem is going towards. Unless there's a strong objection (@maxcnunes, @rathboma), I'll do this in the next few days.

Sgtm

Done


Using old dump1090?

Just wondering why this docker uses mutability/dump1090 instead of https://github.com/flightaware/dump1090 ?

I don't know, I should give it a try.
Maybe I tried to make it work with the first repo I found.
Le lun. 15 avr. 2019 à 22:21, Matt Foxx<EMAIL_ADDRESS>a écrit :

Just wondering why this docker uses mutability/dump1090 instead of
https://github.com/flightaware/dump1090 ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Thom-x/docker-fr24feed-piaware-dump1090-mutability/issues/1,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGe3i9g8BF5B-JkZnEfs7tI_nhxcBl1pks5vhN82gaJpZM4cwzhV
.

If you are looking for a similar repo but for arm..
https://github.com/ShoGinn/docker-ads-b
I think you are on the right path ;) enjoyed seeing the repo in Unraid

Fixed d329c4ed2eac1b70b0897ab160aa157ec212e2c2


New options and API

See changes description here.

What do you mean by review? ("Let me know when you're ready for review, and I'll try to make time.") And time for what?

What do you mean by review?

Reviewing the rest of the code before merging the pull request. I haven't had a chance yet to look at the changes to the library itself. Unfortunately, I don't have much time for maintining stitch these days, so it'll be a little bit before I get around to it.

I'm going to rewrite the whole my additions. Remove them from Stitch. Only few of them still will be inside Stitch. This pull request is postponed.

That's all additions for the pull request. They all except one are document and chunks options for more convenient workflow. The last one is adding Stitch.stitch_ast method. So Stitch class constructor and Stitch.stitch_ast now are considered as API and can be used inside Pandoc filters.
I recommend reading NEW.md before the reading the code.

@TomAugspurger , Hello. What's the status of this pull request? What do you this about these much fewer changes?

By the way. May be you know the way how to create an interactive document like in rmarkdown (see 7. Interactive Docs).
Now this can be done:

via converting Stitch document to jupyter notebook and passing code there. Then we run Jupyter notebook and have interactive plot there.
or we can convert Stitch document to html and open it in a browser. And this document is actually a front-end that is connected to the running Jupyter server directly or via some kind of proxy. Do you have some advice on how to implement this feature?

@TomAugspurger By the way. May be you know the way how to create an interactive document like in rmarkdown (see 7. Interactive Docs).
Now this can be done:

via converting Stitch document to jupyter notebook and passing code there. Then we run Jupyter notebook and have interactive plot there.
or we can convert Stitch document to html and open it in a browser. And this document is actually a front-end that is connected to the running Jupyter server directly or via some kind of proxy. Do you have some advice on how to implement this feature?

I'll finish reviewing and merge it this week, sorry for the delay.
What are your plans for "NEW.md"? If you could post comments on the lines that should be included in the docs, I'll make a PR for that repo to update them.

Then I'll comment the NEW.md. Also note that API I added is not actually a
filter. API needs more arguments than filters get from pandoc.
I'm planing to use API inside Panflute filter. And with a thin wrapper
around pandoc that writes pandoc args to metadata. I need to have a modular
workflow with pipelined python pre-filters, then pandoc AST filters then
python post-filters (they all are simply combined via reading/writing
from/to stdin).
11 дек. 2017 г. 7:02 PM пользователь "Tom Augspurger" <
<EMAIL_ADDRESS>написал:

I'll finish reviewing and merge it this week, sorry for the delay.
What are your plans for "NEW.md"? If you could post comments on the lines
that should be included in the docs
https://pystitch.github.io/index.html, I'll make a PR for that repo to
update them.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pystitch/stitch/pull/64#issuecomment-350705225, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AS0iTRWSd0CvVllqYr5CcrBwkSxBCXauks5s_RncgaJpZM4N95Fe
.

Now I'm thinking about rewriting API into common pandoc filter that reads
extra args from metadata. It would be more elegant solution.
11 дек. 2017 г. 7:02 PM пользователь "Tom Augspurger" <
<EMAIL_ADDRESS>написал:

Then I'll comment the NEW.md. Also note that API I added is not actually a
filter. API needs more arguments than filters get from pandoc.
I'm planing to use API inside Panflute filter. And with a thin wrapper
around pandoc that writes pandoc args to metadata. I need to have a modular
workflow with pipelined python pre-filters, then pandoc AST filters then
python post-filters (they all are simply combined via reading/writing
from/to stdin).
11 дек. 2017 г. 7:02 PM пользователь "Tom Augspurger" <
<EMAIL_ADDRESS>написал:

I'll finish reviewing and merge it this week, sorry for the delay.
What are your plans for "NEW.md"? If you could post comments on the lines
that should be included in the docs
https://pystitch.github.io/index.html, I'll make a PR for that repo to
update them.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pystitch/stitch/pull/64#issuecomment-350705225, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AS0iTRWSd0CvVllqYr5CcrBwkSxBCXauks5s_RncgaJpZM4N95Fe
.


MVC ProxyExchange returns ResponseEntity<> that causes a error for the client in some cases

Bug Report
I am using ProxyExchange to proxy a call through to the backend, and want to return the response unchanged upstream.
In some cases this works, in others it does not.
When it does not work, curl displays the following error: "curl: (56) Illegal or missing hexadecimal sequence in chunked-encoding"
I attached two projects: demo-projects.zip

backend: contains one endpoint, with a required requestParameter and returns a simple object
gateway: contains one endpoint with @RequestMapping(value = "/**), and it uses ProxyExchange to map all the incoming request onto the backend

Steps to reproduce the problem (backend runs on port 8787, gateway runs on port 7878):

Run the two projects
Call GET http://localhost:8787/resource?requestParam=1
The response is 200: { "content": "hello" }
Call GET http://localhost:8787/resource
The response is

400: {
"timestamp": "2018-11-22T14:50:11.949+0000",
"status": 400,
"error": "Bad Request",
"message": "Required Integer parameter 'requestParam' is not present",
"path": "/resource"
}

Call GET http://localhost:7878/resource?requestParam=1
The response is 200: { "content": "hello" }
Call GET http://localhost:7878/resource
This gives the error mentioned above:

curl: (56) Illegal or missing hexadecimal sequence in chunked-encoding

I do not see a reason why both cases should be handled differently by the gateway, and think this behaviour is a bug. I expect the gateway to just forward the ResponseEntity<?> objects.
I can fix the unexcpeted chunked-encoding error by constructing a new ResponseEntity by copying the body, status and headers from the ResponseEntity returned by the ProxyExchange, but when copying over the headers I remove the Transfer-Encoding

I think I have the same issue with the caveat that it works for 409/403.  With 400 I receive
org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://localhost:53450/proxy/badRequest": Premature EOF; nested exception is java.io.IOException: Premature EOF
org.springframework.cloud.gateway.mvc.ProductionConfigurationTests
public class ProductionConfigurationTests {
@Test
public void badRequest() throws Exception {
    ResponseEntity<TestApplication.ErrorMsg> response = rest.exchange(
            RequestEntity
                    .post(rest.getRestTemplate().getUriTemplateHandler()
                            .expand("/proxy/badRequest"))
                    .body(Collections.singletonMap("name", "foo")),
            new ParameterizedTypeReference<TestApplication.ErrorMsg>() {});
    assertThat(response.getStatusCode()).isEqualTo(HttpStatus.BAD_REQUEST);
    TestApplication.ErrorMsg errorMsg = response.getBody();
    assertThat(errorMsg.getHttpStatus()).isEqualTo(HttpStatus.BAD_REQUEST);
    assertThat(errorMsg.getMessage()).isEqualTo("Received bad request");
}

@Test
public void conflict() throws Exception {
    ResponseEntity<TestApplication.ErrorMsg> response = rest.exchange(
            RequestEntity
                    .post(rest.getRestTemplate().getUriTemplateHandler()
                            .expand("/proxy/conflict"))
                    .body(Collections.singletonMap("name", "foo")),
            new ParameterizedTypeReference<TestApplication.ErrorMsg>() {});
    assertThat(response.getStatusCode()).isEqualTo(HttpStatus.CONFLICT);
    TestApplication.ErrorMsg errorMsg = response.getBody();
    assertThat(errorMsg.getHttpStatus()).isEqualTo(HttpStatus.CONFLICT);
    assertThat(errorMsg.getMessage()).isEqualTo("Received conflict request");
}

@Test
public void forbidden() throws Exception {
    ResponseEntity<TestApplication.ErrorMsg> response = rest.exchange(
            RequestEntity
                    .post(rest.getRestTemplate().getUriTemplateHandler()
                            .expand("/proxy/forbidden"))
                    .body(Collections.singletonMap("name", "foo")),
            new ParameterizedTypeReference<TestApplication.ErrorMsg>() {});
    assertThat(response.getStatusCode()).isEqualTo(HttpStatus.FORBIDDEN);
    TestApplication.ErrorMsg errorMsg = response.getBody();
    assertThat(errorMsg.getHttpStatus()).isEqualTo(HttpStatus.FORBIDDEN);
    assertThat(errorMsg.getMessage()).isEqualTo("Received forbidden request");
}

@SpringBootApplication
static class TestApplication {

    @RestController
    static class ProxyController {

        @PostMapping("/proxy/badRequest")
        public ResponseEntity<?> trigger400(@RequestBody Foo foo,
                                                ProxyExchange<?> proxy) throws Exception {
            return proxy.uri(home.toString() + "/badRequest").body(foo)
                    .post();
        }

        @PostMapping("/proxy/conflict")
        public ResponseEntity<?> trigger409(@RequestBody Foo foo,
                                            ProxyExchange<?> proxy) throws Exception {
            return proxy.uri(home.toString() + "/conflict").body(foo)
                    .post();
        }

        @PostMapping("/proxy/forbidden")
        public ResponseEntity<?> trigger403(@RequestBody Foo foo,
                                            ProxyExchange<?> proxy) throws Exception {
            return proxy.uri(home.toString() + "/forbidden").body(foo)
                    .post();
        }
    }

    @RestController
    static class TestController {

        @PostMapping("/badRequest")
        public Foo badRequest(@RequestBody Foo foo) throws StatusResponseCorrelatingException {
            throw new StatusResponseCorrelatingException(HttpStatus.BAD_REQUEST, "Received bad request");
        }

        @PostMapping("/conflict")
        public Foo conflict(@RequestBody Foo foo) throws StatusResponseCorrelatingException {
            throw new StatusResponseCorrelatingException(HttpStatus.CONFLICT, "Received conflict request");
        }

        @PostMapping("/forbidden")
        public Foo forbidden(@RequestBody Foo foo) throws StatusResponseCorrelatingException {
            throw new StatusResponseCorrelatingException(HttpStatus.FORBIDDEN, "Received forbidden request");
        }

    }

    @RestControllerAdvice
    public class RestErrorHandler extends ResponseEntityExceptionHandler {
        @ResponseBody
        @ExceptionHandler(StatusResponseCorrelatingException.class)
        public final ResponseEntity<Object> handleCorrelatingException(StatusResponseCorrelatingException ex, WebRequest request) {
            return this.handleExceptionInternal(ex, null,  new HttpHeaders(), ex.httpStatus, request);
        }

        @Override
        protected ResponseEntity<Object> handleExceptionInternal(Exception ex, Object body,
                                                                 HttpHeaders headers, HttpStatus status, WebRequest request) {
            if (HttpStatus.INTERNAL_SERVER_ERROR.equals(status)) {
                request.setAttribute(WebUtils.ERROR_EXCEPTION_ATTRIBUTE, ex, WebRequest.SCOPE_REQUEST);
            }
            ErrorMsg msg = new ErrorMsg(status, ex.getMessage());
            return new ResponseEntity<>(msg, headers, status);
        }

    }

    @JsonIgnoreProperties(ignoreUnknown = true)
    static class ErrorMsg {
        private String message;
        private HttpStatus httpStatus;

        public ErrorMsg() {

        }
        public ErrorMsg(HttpStatus httpStatus, String message) {
            this.httpStatus = httpStatus;
            this.message = message;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public HttpStatus getHttpStatus() {
            return httpStatus;
        }

        public void setHttpStatus(HttpStatus httpStatus) {
            this.httpStatus = httpStatus;
        }
    }

    static class StatusResponseCorrelatingException extends Exception {
        private final HttpStatus httpStatus;

        StatusResponseCorrelatingException(HttpStatus httpStatus, String message) {
            super(message);
            this.httpStatus = httpStatus;
        }
    }
}

}`

My initial gut feeling is that this is caused by RestTemplate behavior. @dsyer any idea?

This works fine with the -webflux version of ProxyExchange, so it is specific to the MVC version.

FWIW:  working on this project: https://github.com/racker/salus-telemetry-api , we've discovered that MVC over Jetty does not exhibit this problem, while WebFlux over Tomcat does exhibit it.

Seems like the problem is related to the Connection: close header of the default error response of the spring controller. If you remove this header or you fix it to keep-alive the proxy object works fine.
Is there any way to deal with this header of the proxied service?


[ZEPPELIN-4369] Redundant line separator for multiple text output

What is this PR for?
There's redundant line separator when there's multiple text output. The root cause is that each %text  will append new line separator in frontend. This PR fix this issue by removing %text  is the previous output type is also %text .
What type of PR is it?
[Bug Fix ]
Todos

[ ] - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-4369

How should this be tested?

CI pass

Screenshots (if appropriate)
Before

After

Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

LGTM


Deploy results in an internal server error

Attempted a vanilla deploy but keep getting an internal server error when trying to access the app.
Might there be an issue with ssl?
odoo-heroku-log.txt

Looks like Odooku doesn't like running without Redis. I will fix this asap. In the mean time, try and make sure you have the free Redis tier enabled in Heroku?
It is possible to run Odooku without Redis. Redis is used as a session store. Without Redis you will have to log in every time the Heroku Dyno restarts, since session information is writting to the FS by default.

Thank you, everything is running smoothly.

Good to hear!

This issue is now completely fixed. If no REDIS_URL is present, it will fallback to the FS session.


[FIX]: sort by spectral ratio part of fit + returned_filter not used

This PR adds some more post-merged fixes to #8527 and #7070 [cc @dengemann]
Main issue: the option sort_by_spectral ratio was called within thessd.transform function when the sorting index should be learned when fitting the model.
Minors:

The returned_filtered input was initialized but never used within the API. For using ssd in a decoding pipeline it would be useful to returned the projected data already filtered in the freq. band on interest.
In ssd.apply components pick should be done after components sorting.

@vpeterson something isn't right here. I see many old commits. I guess you need to start from a clean new branch on top of the latest master.

mhm, I've realized that @dengemann ! But naively thought that could be for calling the issue by #. it is weird because I created the branch on a supposed lastest master version.. should I rebase then? close the PR and start over?

yes, try to get a clean diff. Look at the preview before submitting the PR.

Ok now seems to have done its job the rebase! @dengemann
Still some checking issues to solve, but I want also to show here some images showing the impact of having the sorting function called in the ssd.transform in instead of in the ssd.fit (decoding sklearn pipeline ssd+csp+lda, binary MI classification)
Now:

Before:

Cool! I still see some old commits in the history. Can you find a way to remove them and present the proposed change in one fresh commit?

Cool! I still see some old commits in the history. Can you find a way to remove them and present the proposed change in one fresh commit?

I did it now, but I guess I took one commit more than what I should. squash learning...

@vpeterson the history is still not clean it seems. You can see on Github that some commits include other authors, which as far as I understand is not intended. Can you see once more if your rebasing and sqashing worked?

if the diff is clean it's ok. We merge by squashing now

still not able to solve it, but I will continue working tomorrow on this. The problem was that I accidentally squashed one commit more than what I should have done. Anyhow, @agramfort the tree is clean.

Ok I think we can move to reviewing. I saw many lines flagged by coverage CIs. We can probably add more tests.

Ok I think we can move to reviewing. I saw many lines flagged by coverage CIs. We can probably add more tests.

OK. I apparently clean the commit history, and added some more tests. But what is the py3 error about?

Is there something I can do for solving the not successfully checks? @dengemann @agramfort ? By looking at the info, it seems to be a deprecation error in the pytest. I ask because I will not have access to my computer tomorrow, and if there is something that might need to be done now, I can devote time to that.
FYI, I have cleaned the history (rebase and squash) and added some more tests to test_ssd.py. The pytests are successful when run on my computer.

Hello @vpeterson this looks clean. Just left a few comments/questions. Also see that the coverage is complaining (see highlighted lines in diff).  If we fix those and address we can probably merge.

Sorry for my silence here. I made some changes regarding the test coverage. The unsuccessful checks seem to come from importing dependencies problems. Any idea how should I solve that or what is going on? @dengemann

Sorry for my silence here. I made some changes regarding the test coverage. The unsuccessful checks seem to come from importing dependencies problems. Any idea how should I solve that or what is going on? @dengemann

@vpeterson @larsoner @agramfort it seems the failing tests are random. The changes look good to me, implementing the right fix. A second review would be good to have.

Example + tests run on my machine.

Example + tests run on my machine.

Hi @dengemann ! geat you tried the examples. They are also working on my computer, as well as the tests.
Suggestions on how to proceed? should I commit a little change and see if the random errors are magically away?

@vpeterson could you try closing and then re-opening this PR?  Usually that will re-start the CI servers...  some of them are having weird failures and I'm having trouble manually re-starting them.

(you don't need to start a new PR, just click the "close" button and then the "re-open" button)

Ok, I did the "trick" of closing and opening, but the errors are still there. I realized there are some warnings (deprecation warnings) that I am not 100% sure if I should fix them or they are more related to the main branch.
These are the warnings I got after calling with pytest
`============================== warnings summary ===============================
......\anaconda3\envs\mnedev\lib\site-packages\pyreadline\py3k_compat.py:8
c:\users\vpeterson\anaconda3\envs\mnedev\lib\site-packages\pyreadline\py3k_compat.py:8: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
return isinstance(x, collections.Callable)
......\anaconda3\envs\mnedev\lib\site-packages\numba\core\types_init_.py:108
c:\users\vpeterson\anaconda3\envs\mnedev\lib\site-packages\numba\core\types_init_.py:108: DeprecationWarning: np.long is a deprecated alias for np.compat.long. To silence this warning, use np.compat.long by itself. In the likely event your code does not need to work on Python 2 you can use the builtin int for which np.compat.long is itself an alias. Doing this will not modify any behaviour and is safe. When replacing np.long, you may wish to use e.g. np.int64 or np.int32 to specify the precision. If you wish to review your current use, check the release note link for additional information.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
long_ = _make_signed(np.long)
......\anaconda3\envs\mnedev\lib\site-packages\numba\core\types_init_.py:109
c:\users\vpeterson\anaconda3\envs\mnedev\lib\site-packages\numba\core\types_init_.py:109: DeprecationWarning: np.long is a deprecated alias for np.compat.long. To silence this warning, use np.compat.long by itself. In the likely event your code does not need to work on Python 2 you can use the builtin int for which np.compat.long is itself an alias. Doing this will not modify any behaviour and is safe. When replacing np.long, you may wish to use e.g. np.int64 or np.int32 to specify the precision. If you wish to review your current use, check the release note link for additional information.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
ulong = _make_unsigned(np.long)
mne\conftest.py:276
C:\Users\vpeterson\Documents\GitHub\mne-python\mne\conftest.py:276: PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
Use @pytest.fixture instead; they are the same.
def renderer(backend_name, garbage_collect):
mne\conftest.py:287
C:\Users\vpeterson\Documents\GitHub\mne-python\mne\conftest.py:287: PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
Use @pytest.fixture instead; they are the same.
def garbage_collect():
mne\conftest.py:303
C:\Users\vpeterson\Documents\GitHub\mne-python\mne\conftest.py:303: PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
Use @pytest.fixture instead; they are the same.
def renderer_interactive(backend_name_interactive):
-- Docs: https://docs.pytest.org/en/stable/warnings.html

generated xml file: C:\Users\vpeterson\Documents\GitHub\mne-python\junit-results.xml -
`

This probably needs a rebase or merge with main. Let me know if you want me to push a merge to help it build

This probably needs a rebase or merge with main. Let me know if you want me to push a merge to help it build

aaah I see! I can do the rebase and update of the PR. I will try it now, and see what happens then

This probably needs a rebase or merge with main. Let me know if you want me to push a merge to help it build

aaah I see! I can do the rebase and update of the PR. I will try it now, and see what happens then

@larsoner, could you please push the merge? I have some issues with git at the moment (new computer, not everything working as it should be yet)

Ok, there still are some errors that have nothing to do with branch/PR. Any idea how to proceed?

 With this only the two pip pre jobs, one on Linux and one on Windows, should fail (this is our current status on main).

Alright, we are getting closer. But besides I have added more tests, the codevov cannot be reached (and it is even worst now). By looking at the changed files it says that the returned_filtered is not checked, but I have made a whole function regarding this. What am I missing?

All green @dengemann @larsoner !!!!!!

Thanks @vpeterson !


PF2 system keeps warning me about expired modules

Hello,
I have old modules or modules not up-to-date.
These modules are not officially compatible with the latest version of Foundry, but are working great nonetheless.
I think a lot of modules are not officially up-to-date with the latest version of Foundry but are still working.
Some modules are even up-to-date and compatible with V9, but do not declare it in the manifest (some of Kandashi's modules in mind).
Is it possible to find a better way to warn us about these modules without spamming us every single time we load the page?
https://github.com/foundryvtt/pf2e/blob/424373c9cf4043d44fd6924cf47f2b617c066c9a/src/scripts/hooks/ready.ts#L50

Thx!

We tried the “warn once” approach and still received a lot of troubleshooting requests that, after a significant amount of time and effort, turned out to be due to a deprecated module.
We discussed this as a group and decided to do this “warn everytime” for a practical reason. It is up to the modules and their developers to state they are compatible and regardless of how well something works if it does not state compatibility then the end user should be warned. This is a measure to stop troubleshooting coming to the system level, which is universally what end users tend to do.
Our recommended solution is to contact the module developers and tell them to update their modules to indicate compatibility. For them it is a one line change in their manifest file.


Adding Outliers notebook along with the required .fits file

Added BPT_Outliers notebook, html file, and a fits file that is required to run the notebook.

Thanks Raga, could you please make these minor changes and commit + push one more time, before I merge?

These imported items are never used. Remove from imports:

from matplotlib.patches import Rectangle
import matplotlib.backends.backend_pdf as pdf
from astropy.io import fits
from astropy.convolution import convolve, Box1DKernel
from astropy.time import Time
from dl import authClient as ac, queryClient as qc, storeClient as sc; sc is never used.

@rnikutta - I finished making the changes to both the notebook and the html file. I committed these changes. Thanks!

Thank you @Ragadeepika-Pucha . Merging.


Add ScorpioCPH as approver/reviewer

Hi, Jeremy
Suppose to add me as approver/reviewer.
@jlewi @gaocegege @DjangoPeng PTAL.

This change is

Coverage decreased (-0.1%) to 27.475% when pulling f70fc2c3d09e8175487502ca08bf46dbcb4f4f2d on ScorpioCPH:add-new-approver into cf97cd5f18e8b3facddbe8e33df82ecec2a2d955 on kubeflow:master.

/lgtm

/approve


Partial escape in query string to make search work again

fixes #262
http-types and http-client had to be extended for partial escape. These versions are now in stackage quite a while. I built the structure that I assumed you had in mind (SearchRepoMod), but it is very tedious and in my opinion not worth the trouble. So I used two styles in GitHub.Endpoints.Search

Using SearchRepoMod in: searchRepos
Constructing the query directly: searchCode'  [("q", [QE "language", QN ":", QE "haskell"]), ..

@tkvogt : Thanks for this PR!
It's been a while; do you want to finish this, fixing the conflicts and what remained to be done?

It turned into some kind of beauty contest, which I had no time for.

I understand.  Sorry for that.
My priorities are rather:

the functionality is faithful to the GitHub API
there are tests or demos so the functionality can be verified

I didn't look closely at 1., but I noticed that 2. is satisfied (AllHaskellRepos).

If you use stack, you can reference this pull request and try it like

git: https://github.com/tkvogt/github.git
commit: 0e157e2e9c2f75e44e34bc0ffe67f2155326eba1

In my memory it worked.

Got enough on my plate.  I suppose this has to wait for someone with a genuine interest in this functionality to pick it up...


No requirements.txt file

          Same error for me :(

And the link don't work
Originally posted by @Mo18flash in https://github.com/graniet/operative-framework/issues/30#issuecomment-1585794362

Hello,
please download a release here:
https://github.com/graniet/operative-framework/releases/tag/2.0a
Thanks.


Godot create an extra vertex?

Godot version:

3.3.2 stable mono
OS/device including version:

win10
Issue description:

When I convert a sprite to polygon2D godot creates 5 vertices: 0-1-2-3-4
I think it should create 4 vertices.

Steps to reproduce:
Convert a sprite to polygon2d with the default values.
Minimal reproduction project:

When you convert a Sprite to a Polygon2D Godot tries to fit the Polygon2D around the opaque parts of the image. Because the corners of the sprite are transparent, the resulting polygon is not simply a quad with 4 corners.
You can see this very clearly in the docs for converting a sprite into a mesh

When you convert a Sprite to a Polygon2D Godot tries to fit the Polygon2D around the opaque parts of the image. Because the corners of the sprite are transparent, the resulting polygon is not simply a quad with 4 corners.
You can see this very clearly in the docs for converting a sprite into a mesh

The documentation did not help me.
I don't understand how I should erase that extra point (which Godot created for some reason), I only want 4 points to get the polygon correctly in the corners.

This is a common issue with triangles and interpolation. The only way to workaround this is to use a shader that performs quadrilateral interpolation instead https://www.reedbeta.com/blog/quadrilateral-interpolation-part-1/

So there is no way to get this (krita) in godot?
without using that shader.

Make a square polygon instead of using convert sprite to polygon?

Make a square polygon instead of using convert sprite to polygon?

It doesn't work, they have the same behavior.

The only way to workaround this is to use a shader that performs quadrilateral interpolation instead https://www.reedbeta.com/blog/quadrilateral-interpolation-part-1/

The other way to work around it is to subdivide the mesh to use more internal vertices. If your mesh looks like a grid with 4 squares it will also interpolate correctly (for this texture, more detailed textures may need more subdivisions)

Why isn't there a node that does the same thing krita does in the gif?

So there is no way to get this (krita) in godot?

There is, what I told you, it's just not the default in realtime rendering.
You can also subdivide it a lot, which doesnt eliminate the issue but makes it way less noticeable, at the cost of polycount.

But I don't know how to create that shader, and I will also have to add the shader to all the nodes that need it, I mean you say there is "it" but there isn't if you don't create the shader you indicated before.


I believe they are available. But only ws:// not wss:// because secure sockets are not implemented on native right now

Hm ok thanks

@jan-tennert is that enough for your case, or would you need secure sockets? This is the related task: https://github.com/korlibs/korio/issues/62
In the case you need it, which kotlin native targets would you need? Windows, linux, mac, or ios?

Im making a multiplatform Discord API wrapper and I wanted to use Korio for the gateway (websocket) connection and also for http requests. But I think their websocket is available for ws but im not sure

If yes korio as well as klock would fit perfectly in my project


[WIP] resin-corvus node analytics

I'm closing this one since there are a lot of conflicts, and we're moving to a unified analytics library.


Install python-software-properties sooner

python-software-properties is needed for add-apt-repository to work
👀  @mayoral

Looks good to me 👍


Changed server request for Publishing Catalog Content

Notes for Reviewers
This PR fixes #7404
Signed commits

[x] Yes, I signed my commits.

Hey it wasn't just the docs update we need to return response status of Accepted(202) too from the server

Should I just send this rw.WriteHeader(http.StatusAccepted) in the handler func

yes wherever we make a publish request in filter and patterns both

Made the changes

Lack of sign-off on your commit(s). See the first comment on your PR for instructions for making signing an implicit activity while performing a commit.

For the commits within this poll request, follow and execute the git commands here - https://github.com/meshery/meshery/pull/8197/checks?check_run_id=15108254064

@MUzairS15 is this approach in following with the desired standard approach for Meshery Server?

Yay, @Player256 🎈


[Doc] Add datalake faq&update Configuration.md

Based on https://github.com/StarRocks/docs.zh-cn/pull/6189/files
Signed-off-by: amber-create<EMAIL_ADDRESS>Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

@mergify backport branch-3.0 branch-3.1


watsonx prompt-builder like parameters in generate()

Context
While working with the .py library there doesn't seem to be a way to submit request following the "prompt builder" pattern as available in the UI, below the payload from interaction with the webapp
{
  "model_id": "",
  "inputs": [
    ""
  ],
  "template": {  <-------- this whole block cannot be set in the generate request through the library
    "id": "prompt_builder",
    "data": {
      "instruction": "",
      "input_prefix": "Input:",
      "output_prefix": "Output:",
      "examples": [
        {
          "input": "",
          "output": ""
        }
      ]
    }
  },
  "parameters": {
    "decoding_method": "greedy",
    "repetition_penalty": 1,
    "stop_sequences": [],
    "min_new_tokens": ,
    "max_new_tokens":
  }
}

the template param seems to be missing here https://github.com/IBM/ibm-generative-ai/blob/main/src/genai/services/request_handler.py
Alternatives
Submitting through the UI or possibly using th api directly, but that would defy the purpose of a library
Has the feature been requested before?
looks like there's a PR https://github.com/IBM/ibm-generative-ai/pull/27 but it is allowing for generic options and am not sure if it allows to pass "prompt-builder" queries to the API
If the feature request is approved, would you be willing to submit a PR?
Don't think I have the relevant knowledge here but could try to help

Hi @florenzi002 , thanks for opening the issue!
There is currently an open PR for this exact feature (PR link). We are aiming to have it merge and available very soon.
In you specific example, you would query the prompt_builder as follow :
PromptPattern.from_watsonx(credentials=creds, id="prompt_builder")

Prompt-templating already available: release v0.1.18


invalid entry in XRef table

Not sure if anyone is even looking here as it appears it's been a few years since there was activity, but...
I got this error when trying to join two documents:
Join-PDFDocument : Invalid entry in XRef table, ID=1, Generation=0, Position=133821, ID of referenced object=61, Generation of referenced object=0
I searched and it seems that it happens because one of the documents may have some level of corruption. Oddly, it renders just fine.  In any case, the guidance I got indicated that if the PdfReader.Open method here:
            foreach (string SourceFile in SourceFiles)
            {
                **pdfDocuments.Add(PdfReader.Open(SourceFile, PdfDocumentOpenMode.Import));**
            }

is modified to use an overload method like so:
pdfDocuments.Add(PdfReader.Open(SourceFile, PdfDocumentOpenMode.Import, PdfReadAccuracy.Moderate));
it will at least not throw the error.

I've had a look at this and unfortunately it looks like the PdfReadAccuracy argument only exists in the .net core and .net standard versions of the PDFSharp module so would require a fairly significant rewrite of the module to implement and may break compatibility with PowerShell 5. If the document you had issues with isn't confidential I'd love to take a look at it to see if there are any workarounds that would be simpler to implement

Found a bit more time to look at this and realised that it wasn't actually as hard as I thought it would be. I've created a test release here https://github.com/davidshomelab/PdfTools/releases/download/%2344.1/PsPDF.44-1.zip, can you please confirm if this solves your issue?


Rework of the Scatter algorithm

The algorithm to calculate the position of the items is done in one method (MultiScatter.do_generate()) hardcoded for all scatter types.
This is hard to maintain and inefficient.
=> Create separate classes for each scatter type.
=> Shorten the algorithm to use these calculation classes

Functionality moved to separated classes.


Invalid code generating for embedded structures

Problem statement
Invalid code generating for nested structures.
I found that some structures such as
/*DataItems0 data items0
swagger:model DataItems0
*/
type DataItems0 struct {
	models.Media

	// distance
	Distance float64 `json:"distance,omitempty"`
}

in code generated with wrong call
// UnmarshalJSON unmarshals this object from a JSON structure
func (o *DataItems0) UnmarshalJSON(raw []byte) error {

	var aO0 models.Media
	if err := swag.ReadJSON(raw, &aO0); err != nil {
		return err
	}
	o.models.Media = aO0 // <- must be 	o.Media = aO0, not o.models.Media = aO0

	return nil
}

Must be o.Media = aO0, not o.models.Media = aO0
Steps to reproduce

Download spec from attachment instagram_swagger.txt
Rename instagram_swagger.txt to instagram_swagger.yaml
Run swagger generate client -t ./client -c iclient -f ./instagram_swagger.yaml
Example of invalid code placed in client/iclient/media/get_media_search_responses.go file

Environment
swagger version: 0.8.0
go version: 1.8.0
OS:  Windows 10

Found that this issue has been fixed on master IIRC


Refactor contract.js

Agreement full refactored. Final merge

Coverage decreased (-2.3%) to 56.787% when pulling 9267ae399d3894d58a0d80c7de18fc337f84ac81 on refactor-Contract.js into b61a8e9d19118bd05321ec0cb5acc5058621967b on master.

Coverage decreased (-2.3%) to 56.787% when pulling 32135d6a634d40b828174f3951306ebac79e536a on refactor-Contract.js into b61a8e9d19118bd05321ec0cb5acc5058621967b on master.


vendor: "Unreplace" prometheus-operator, update packages

What this PR does / why we need it:
The longer version is in the commit message, but the short version is that vim-go doesn't seem to work properly without these changes.
Special notes for your reviewer:
I find Go modules to be extremely confusing, so I might have gotten everything completely wrong.
Release note:

NONE

/lgtm
/approve
The original reason to ping this dependency to align it with some other k8s dependencies. Since we are generating the client now from the api instead of using the shipped one, this issue is gone. All our generated clients work with the same set of k8s dependencies.


Make the ignores here sync with the TPA ignores

Make this https://github.com/nothub/SafeTPA/pull/50
Sync with chat ignores
Make it so it prompts "Do you also want to ignore TPA's from <user> "after executing /ignore with chat links stating yes or no

Ignores will be stored as json file per player. I will make the storage location configurable so it is easy to read them from other plugins.
To read files with GSON:
import com.google.gson.reflect.TypeToken;
var type = TypeToken.getParameterized(Set.class, UUID.class).getType()
var reader = Files.newBufferedReader(path(player))
gson.fromJson(reader, type)


unknown field "podPolicy" in com.radondb.mysql.v1alpha1.MysqlCluster.spec

when I try to install mysql-operator v2.1.2 in kubernet 1.18.9, execute command like this
kubectl apply -f https://github.com/radondb/radondb-mysql-kubernetes/releases/latest/download/mysql_v1alpha1_mysqlcluster.yaml
However, there are some unexpected errors happed, the error like this，
error: error validating "radondb_mysqlcluster.yaml": error validating data: ValidationError(MysqlCluster.spec): unknown field "podPolicy" in com.radondb.mysql.v1alpha1.MysqlCluster.spec; if you choose to ignore these errors, turn validation off with --validate=false
evenif I add --validate=false,there are still some errors
create Pod sample-mysql-0 in StatefulSet sample-mysql failed error: Pod "sample-mysql-0" is invalid: [spec.containers[2].image: Required value, spec.initContainers[0].image: Required value]
Is the template file missing some necessary parameters？

Hello, this may be that the CRD version is inconsistent with the Operator version.
You can delete the old CRD and reinstall the Operator.

Helm cannot update CRD automatically, so when CRD changes, you must manually remove the old CRD to avoid conflicts.

thanks for reply. delete CRD is ok for this issue


Inquiry: Plans for Implementing Other HTTP Methods in ResilientHttpClientService

I noticed that the current implementation of ResilientHttpClientService only includes the get method. I would like to inquire about any plans or considerations for implementing other HTTP methods (e.g., post, put, patch, delete).

Hey Dennis. This is on purpose. Having resilience patterns applied to not idempotent http verbs is potential dangerous. That was the reason to just override the get method.