Feature Name
MiniCPM-V2.0
Feature Description
Research about MiniCPM-V2.0
Research Findings
MiniCPM-V2.0
MiniCPM-V2.0 is a Chinese language model developed by the Beijing Academy of Artificial Intelligence (BAAI). It is part of the CPM (Chinese Pre-trained Models) series, which aims to advance natural language processing (NLP) capabilities for the Chinese language. The model is designed to handle a variety of NLP tasks, including text generation, translation, summarization, and more.
Key Features

Pre-trained Model: MiniCPM-V2.0 is pre-trained on a large corpus of Chinese text, allowing it to understand and generate Chinese text effectively. This pre-training helps capture the nuances and complexities of the Chinese language.
Efficiency: Although smaller compared to some large-scale models, MiniCPM-V2.0 is optimized for efficiency, balancing performance with computational resource requirements.
Versatility: The model can be fine-tuned for specific tasks such as machine translation, text summarization, and question answering, making it a valuable tool for Chinese NLP projects.
Performance: Demonstrates strong performance on various benchmarks and tasks, generating coherent and contextually relevant text.

Applications

Text Generation: Generates human-like text based on given prompts, useful for creative writing, content generation, and chatbots.
Machine Translation: Facilitates translation between Chinese and other languages, supporting cross-lingual communication.
Text Summarization: Summarizes long documents into concise summaries, aiding in information digestion.
Question Answering: Can be fine-tuned to answer questions based on context, useful for building intelligent Q&A systems.

Integration
To integrate MiniCPM-V2.0 into your projects, follow these steps:

Select a Framework: Choose a framework like TensorFlow, PyTorch, or Hugging Face’s Transformers library that supports pre-trained models.
Load the Model: Use the framework to load MiniCPM-V2.0, which involves downloading model weights and configuration files.
Fine-tune the Model: Fine-tune the model on a smaller, task-specific dataset if needed.
Deploy the Model: Deploy the fine-tuned model in your application, whether it's a web service, mobile app, or desktop application.

Resources

MiniCPM-V2.0 Overview
GitHub Repository
Hugging Face Model Page

Potential Impact
Potential Impact of MiniCPM-V2.0
MiniCPM-V2.0 is poised to make a significant impact across various domains. Here are some key areas where it can make a difference:

Education

Language Learning: Develop interactive language learning tools that help students practice and improve their Chinese language skills through conversation and writing exercises.
Content Creation: Generate educational content, summaries, and translations, making learning materials more accessible for educators and students.

Business and Customer Service

Chatbots and Virtual Assistants: Deploy in customer service applications to handle inquiries, provide information, and assist with transactions in Chinese, improving customer experience and operational efficiency.
Market Analysis: Analyze large volumes of text data from social media, reviews, and news articles to provide insights into market trends and customer sentiment.

Healthcare

Medical Translations: Assist in translating medical documents and patient information, ensuring clear communication between healthcare providers and patients who speak different languages.
Patient Support: Virtual health assistants powered by MiniCPM-V2.0 can provide information about symptoms, treatments, and medications in Chinese, enhancing patient care.

Media and Entertainment

Content Generation: Generate scripts, articles, and creative content in Chinese, streamlining the content creation process for writers and content creators.
Subtitling and Dubbing: Assist in translating and generating subtitles and dubbing scripts for movies, TV shows, and online videos, making content accessible to a wider audience.

Research and Development

NLP Research: Use MiniCPM-V2.0 as a baseline model for developing new algorithms and techniques in natural language processing, contributing to advancements in the field.
Data Analysis: Analyze and summarize large datasets of Chinese text, aiding researchers in extracting valuable insights and information.

Social Impact

Accessibility: Bridge language barriers, making information and services more accessible to non-native Chinese speakers.
Cultural Preservation: Contribute to the preservation and promotion of Chinese language and culture through text generation and understanding.

Conclusion
MiniCPM-V2.0 has the potential to transform various sectors by enhancing communication, improving efficiency, and providing valuable insights. Its applications in education, business, healthcare, media, research, and social impact highlight its versatility and importance in advancing Chinese language processing.
Additional Resources (optional)
No response
Feature Priority
High

https://deepinfra.com/openbmb/MiniCPM-Llama3-V-2_5/api


WFLY-13793 Allow remote jms queue/topic not to use legacy amq1 prefix

Issue: https://issues.redhat.com/browse/WFLY-13793
wildfly-proposals PR: https://github.com/wildfly/wildfly-proposals/pull/337

@soul2zimate you need to rebase on https://github.com/wildfly/wildfly/pull/13906 as those changes should be on the new 13 version of the schema

@soul2zimate you need to rebase on https://github.com/wildfly/wildfly/pull/13906 as those changes should be on the new 13 version of the schema

@soul2zimate  it looks like this one needs a rebase and has quite a lot of conflicts.

I am going to close this for now before getting all the pre-merge requirements.


kex_exchange_identification: Connection closed by remote host after rebuilding container

Hey team 👋🏻
I have a configuration file like this:
{
	"name": "RoR Project",
	"dockerComposeFile": "docker-compose.yml",
	"service": "app",
	"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
	"features": {
		"ghcr.io/dhoeric/features/flyctl:1": {},
		"ghcr.io/devcontainers/features/sshd:1": {},
		"ghcr.io/devcontainers/features/node:1": {
			"version": 19
		},
		"ghcr.io/devcontainers/features/common-utils:1": {
			"installZsh": true,
			"configureZshAsDefaultShell": true,
			"installOhMyZsh": true,
			"upgradePackages": true,
			"username": "vscode",
			"uid": 1000,
			"gid": 1000
		}
	},

	"extensions": [
		"rebornix.Ruby",
		"IronGeek.vscode-env",
		"GitHub.copilot",
	],

	// Use 'forwardPorts' to make a list of ports inside the container available locally.
	// This can be used to network with other containers or the host.
	"forwardPorts": [2222],

	// Use 'postCreateCommand' to run commands after the container is created.
	"postCreateCommand": ".devcontainer/boot.sh"

	// Configure tool-specific properties.
	// "customizations": {},

	// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
	// "remoteUser": "root"
}

the boot.sh file does this
usermod --password $(echo vscode | openssl passwd -1 -stdin) root
usermod --password $(echo vscode | openssl passwd -1 -stdin) vscode

bundle install
yarn install

cp config/database.yml.example config/database.yml

bin/rails db:create db:schema:load db:seed

sshing into the server worked fine first but after a rebuild (or full rebuild) I keep getting this error:
~ via  9GiB/16GiB
❯ ssh -p 2222 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o GlobalKnownHostsFile=/dev/null root@localhost
kex_exchange_identification: Connection closed by remote host
Connection closed by <IP_ADDRESS> port 2222

~ via  9GiB/16GiB
❯ ssh -p 2222 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o GlobalKnownHostsFile=/dev/null vscode@localhost
kex_exchange_identification: Connection closed by remote host
Connection closed by <IP_ADDRESS> port 2222

I tried delete my ~..ssh/known_hosts file to no success or changes in the error message
is there anything I am missing? worth noting that I have custom docker image:
ARG VARIANT="3.1.3-slim-bullseye"
FROM ruby:${VARIANT}

# [Optional] Uncomment this section to install additional OS packages.
RUN apt update && export DEBIAN_FRONTEND=noninteractive \
    && apt -y install --no-install-recommends \
    git build-essential wget curl gzip xz-utils \
    libpq-dev python3

ARG BUNDLER_VERSION=2.3.26
RUN gem update --system --no-document && \
    gem install -N bundler -v ${BUNDLER_VERSION}

RUN gem install foreman

Ok, solved by deleting the port in vscode and forwarding it again...weird but it works

Hi 👋
Looks more like a VS Code Remote containers issue to me. Have you taken a look at https://github.com/microsoft/vscode-remote-release/issues/7659 ?

that makes sense! thanks for pointing it out!


Apply the test helper to the sample document definitions

Backported the most recent changes to the sample sync document definitions from the business-sync bucket's document definitions and then modified the corresponding specs to use the test helper module that was introduced in #10. This completes the transition to test helper for all specs.
Also addressed some comments from #10.

Nice clean up! 🍬


compile plugin

hello, is the compile plugin missing?

The plugin should be compilable using Visual Studio or make, in the same fashion as my other plugins.


Returning

Resolve #183

Hey @tyt2y3, checkout the support of returning for Postgres.

Got this error on MariaDB 10.5+

The error is from SQLx

launchbadge/sqlx#1530

https://github.com/SeaQL/sea-orm/runs/4147966480#step:6:211

[2021-11-09T04:31:54Z DEBUG sea_orm::driver::sqlx_mysql] INSERT INTO `active_enum` (`category`, `color`, `tea`) VALUES (NULL, NULL, NULL) RETURNING `id`, `category`, `color`, `tea`
[2021-11-09T04:31:54Z INFO  sqlx::query] INSERT INTO `active_enum` (`category`, …; rows: 1, elapsed: 1.526ms

    INSERT INTO
      `active_enum` (`category`, `color`, `tea`)
    VALUES
      (?, ?, ?) RETURNING `id`,
      `category`,
      `color`,
      `tea`

Error: Query("no column found for name: id")
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `1`,
 right: `0`: the test returned a termination value with a non-zero status code (1) which indicates a failure', /rustc/59eed8a2aac0230a8b53e89d4e99d55912ba6b35/library/test/src/lib.rs:194:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Now I'm stuck on the SQLx problem... I'm thinking maybe we just support returning for Postgres at this stage. We can leave MariaDB & Sqlite as-is, i.e. one more round trip per insert / update, if it involve updating sqlx-core.

The issue not only affecting MariaDB 10.5+ but SQLite 3.35.0+

MariaDB: https://github.com/SeaQL/sea-orm/runs/4150761196
SQLite: https://github.com/SeaQL/sea-orm/runs/4150793637

Just open another issue on SQLx

launchbadge/sqlx#1531

As discussed, we would only support RETURNING on Postgres at this stage. And leaving MySQL & SQLite for later.

Ready for review & merge @tyt2y3


ICON SCM: convert output to DEPHY and do simple plots

With those modifications to the COMBLE SCM comparison, I am submitting my ICON-SCM default simulation.  I have add a notebook to convert ICON-SCM format to DEPHY format and another notebook to do the simple check-plots.  I have also done a small correction.

I'm sorry for my delay revising the ModelE SCM output format! I've been about halfway through the task for days, and taken off task dealing with other deadlines. I will try to commit the new SCM processing for ModelE3 by COB tomorrow. Then it will have the correct format for the plotting scripts.
From: Martin Köhler @.>
Reply-To: ARM-Development/comble-mip @.>
Date: Thursday, May 16, 2024 at 11:00 AM
To: ARM-Development/comble-mip @.>
Cc: Subscribed @.>
Subject: [EXTERNAL] [BULK] Re: [ARM-Development/comble-mip] ICON SCM: convert output to DEPHY and do simple plots (PR #51)
CAUTION: This email originated from outside of NASA.  Please take care when clicking links or opening attachments.  Use the "Report Message" button to report suspicious messages to the NASA SOC.
@martin-koehler commented on this pull request.

On notebooks/plotting/functions_plotting.pyhttps://github.com/ARM-Development/comble-mip/pull/51#discussion_r1603543128:
I had make those fixes for plotting the ICON SCM. This has something to do with the height coordinates. We had this discussion, that previously most of your models were using pressure coordinates. So this change, I remember was necessary. But obviously, I haven't tested it on all other model output. So be careful.
—
Reply to this email directly, view it on GitHubhttps://github.com/ARM-Development/comble-mip/pull/51#discussion_r1603543128, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEZ47IPHDUH3RC7UTMXGSFLZCTCZJAVCNFSM6AAAAABFNDNH26VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDANRRGA4TINBVGI.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


How can we run play-scraper.details() on all the apps available on Google Play Store?

I am trying to use scrape.py but how can we run it and save the details in csv?

Bro, just see the doc: https://pypi.org/project/play-scraper/


Updating logging and cleaning up functions

HUGE update here. Updating all the functions to utilize Sawmill completely and cleaning up each function by adding helpers and types files to better separate logic.
I have also documented all the functions that will be a part of the README.

I disabled actions on the repo for this PR. Since we need to update the Sawmill package before deploying.


RDKTV-22121 CEC Report Features Thunder

Added support for Give and Report Features CEC message

can u check why CI test is failing?

GiveFeatures class,ReportFeatures class, V_2_0 enum in Version class, RcProfile class, DeviceFeatures class - The generic changes are already merged to 23Q2_sprint as part of https://gerrit.teamccp.com/#/c/749090/

Bringing the changes as single commit


Change the workflow to GitHub flow

I have surprised by many stars, issues, comments and PRs!!!!! :heart:
Thanks contributing to improve Marp.

Change the workflow
Currently, the latest branch is v0.0.9pre. I had developed smug branch rule. :anguished:
I want to merge it to master branch, to change the workflow to GitHub flow.
We would also merge submitted PRs according to a generally workflow.
Note: Change logs of v0.0.9pre

Update Electron

Improve opening sequence of window

Add footer directive (#2)
Add prerender directive
Background image support

Notice: First, we would merge v0.0.9pre to master to update to the latest. And I'd check current PRs for merge to master.

Merges finished. Please pull the latest code from master.


Refs #23822 -- Made MigrationOptimizer aware of model managers

https://code.djangoproject.com/ticket/23822

merged in 1f03d2d924ba90e83dc9d8c93438bf5ee2f17ccd.


Ability to hot reload more than one device desktop,ios, android in android studio editor

Use case

Proposal

I wish I can hot reload all connected devices when I am developing so I don't have to switch form one platform to another platform to see change.

This is interesting.

flutter run -d all can hot reload multiple applications at once. It would be up to specific IDEs to expose this functionality.


Strange characters sent/received on windows

Windows 10 Pro, 64 Bit
Python 2.7.10 32-bit
pySerial 3.0.1, 3.0, 2.7
Branch: next
Serial port: Adafruit Product 70. FTDI Serial TTL-232 USB Cable
Nodemcu: official v0.9.5 as well as nodemcu-build.com float version

Test by repeatedly running for example
nodemcu-uploader.py --port COM3 file list

Example output, I have seen other characters and locations as well. Seems random
Preparing esp for transfer.
error in save_lua "╔nd
stdin:17: unexpected symbol near '╔'

Tested on Windows 7 x64 with Python 2.7.11 32-bit and it fails as well from time to time but not as often.

Seems to be able to cause file corruption on both upload and download.

Some perhaps related finds on google

http://sourceforge.net/p/pyserial/bugs/178/
http://stackoverflow.com/questions/24193217/python-pyserial-encoding-utf-8-windows-vs-linux
http://stackoverflow.com/questions/22275079/pyserial-write-wont-take-my-string
http://stackoverflow.com/questions/14236397/timeout-value-with-pyserial-is-not-working-on-windows
http://stackoverflow.com/questions/30235344/can-i-adjust-the-timeout-of-pyserial-port-opening-for-bluetooth-com-ports-in-win


MediaStreamError on Demo in Microsoft Edge

I've been testing your MediaStreamRecorder on different platforms and I made it work in Chrome and Firefox but Microsoft Edge. Your audio-recorder.html Demo does not work neither. I got a MediaStreamException (notFoundError) on onMediaError . My microphone works fine on other browsers. Maybe it used to work on previous releases?

I just ran into the same issue. I'm wondering if it's related to recent Edge updates from Microsoft.

(Video Recording)MediaStreamRecorder work in Chrome and Firefox but Microsoft Edge(IE) neither. Your Video-recorder Demo does not work .

MediaRecorder API are still under consideration: https://developer.microsoft.com/en-us/microsoft-edge/platform/status/mediarecorder/
WebP encoder/decoder is NOT planned yet. https://developer.microsoft.com/en-us/microsoft-edge/platform/status/webpimageformat/
MediaStreamRecorder provides only two camera recording options:

MediaStreamRecorder (that runs top over MediaRecorder API)
WhammyRecorder (that runs top over webp and webm encoders)

So MediaStreamRecorder can not support video recording in Edge.

But... Did it ever work before?

Hi I hit this link (https://www.webrtc-experiment.com/RecordRTC/#comment-3358025772) in microsoft Edge but is not work. it is work fine in chrome & FireFox .
Please guide me how to work in microsoft Edge
Thanks.


Create audit of all permission levels

Need audit of all views and models from developer standpoint.  For every view, understand what objects are viewed/edited/etc.

See document created by @elichad (private link)


Helm: allow unknown fields to workaround helm limitations

Helm schema is completely broken for strict field validation and the maintainers have decided they won't change it. See https://github.com/helm/helm/issues/10392.
Unfortunately, that means we need to loosen our validation.
Please provide a description of this PR:

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-test_istio
4138201e98148d7d71a1ef24c9ec19f8be08622f
link
true
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

I'm curious as to why this was closed; we're running into this

we allowed global already, what are you hitting?

Something weird that I thought fell into this category, but I'm not certain anymore. Will check


🚀 Feature Request: Allow Setting URL for Other OpenAI-Compatible APIs

IMPORTANT NOTE: This text has been 90% written using Syncia 😉
Description
It would be highly beneficial for users if the platform allowed setting custom URLs for APIs that are OpenAI-compatible. This feature would enable developers to seamlessly integrate alternative OpenAI-compatible APIs without requiring significant changes to their existing code base.
Benefits:
Flexibility: Allows users to choose and switch between different OpenAI-compatible APIs based on factors like pricing, uptime, and specific feature sets.
Ease of Integration: Reduces the need for additional code modifications when adapting to different API services.
Business Continuity: Provides a mechanism for fallback options in case of temporary downtime on one API provider.
Encourages Open-Source Innovation: Supports an open ecosystem where users can benefit from various API implementations.
Proposed Solution:
Introduce a configuration option where users can specify a base URL for API requests. This could be implemented in the settings or configuration file, documented with clear instructions on how to utilize different OpenAI-compatible APIs.
Considerations:
Ensure compatibility with a wide range of OpenAI API standards.
Maintain security and ensure that switching between URLs does not expose sensitive data inadvertently.
Please let me know if further information or clarification is needed. I'm looking forward to the discussion and possible implementation of this feature!

Hii ! Thanks for the issue. Tho i believe this is duplicate of https://github.com/Royal-lobster/Syncia/issues/61 so closing for now cuz we are tracking it there.

Oh nice! thanks for sharing the issue I will follow it


make better use of source metadata field

At present the source and sourcetype metadata fields values are identical.   Might be worth including the extracted value of EventID as part of the source meatadata field values (e.g. source=Sysmon:$EventID$) so that searches can be constructed to filter results from this dense more efficiently.

I have a fork to address this in play and am currently testing it prior to submitting a pull request.
https://github.com/dstaulcu/TA-microsoft-sysmon

Thanks David. I think this would conflict with what they are doing in the Windows TA v5. I will probably change the Sysmon TA to match. Doc link:
http://docs.splunk.com/Documentation/WindowsAddOn/5.0.0/User/Upgrade#Source_and_sourcetype_changes_for_WinEventLog_data

That is a good point.  I had heard about that change in the windows add on (v5) but had not yet internalized it.
I’ve updated changes in my fork (also influences pull request) to prefix the source field with new convention but also to suffix the source field with the performance enhancing token.
[sysmon_source-eventid]
SOURCE_KEY = _raw
REGEX = (\d+).(.+?)</Channel>.
DEST_KEY = MetaData:Source
FORMAT = source::XmlWinEventLog:$2:$1
From: Dave Herrald<EMAIL_ADDRESS>Sent: Tuesday, October 23, 2018 9:48 PM
To: splunk/TA-microsoft-sysmon<EMAIL_ADDRESS>Cc: dstaulcu<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [splunk/TA-microsoft-sysmon] make better use of source metadata field (#33)
Thanks David. I think this would conflict with what they are doing in the Windows TA v5. I will probably change the Sysmon TA to match. Doc link:
http://docs.splunk.com/Documentation/WindowsAddOn/5.0.0/User/Upgrade#Source_and_sourcetype_changes_for_WinEventLog_data
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/splunk/TA-microsoft-sysmon/issues/33#issuecomment-432482446, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGgv2hA9UQIb9z3aONqoyCx8SKxstE8Oks5un8bJgaJpZM4X0jpv.

Hi David, we appreciate all your time and effort on this. There's no precedent that I'm aware of for overloading the source field to contain event field data in this way. We're probably not going to incorporate that part of the change into the TA.

Completely understand.
Disruption in schema is coming one way or the other.  People are going to have to adapt their knowledge objects or behaviors due to windows add-on v5.  If we wanted to be bold with a change this would be the time to do it..
That said, It does feel hacky to append this info to the end of a source field.  In my mind the only alternative to achieve improved search times for non-accelerated searches would be to make the EventID an indexed field.  Adding an indexed field may also be unwelcome Symon data that is in an index shared with other sources.
Thanks for your time & thoughts on the matter.

From: Dave Herrald<EMAIL_ADDRESS>Sent: Thursday, October 25, 2018 9:48 AM
To: splunk/TA-microsoft-sysmon
Cc: dstaulcu; Author
Subject: Re: [splunk/TA-microsoft-sysmon] make better use of source metadata field (#33)
Hi David, we appreciate all your time and effort on this. There's no precedent that I'm aware of for overloading the source field to contain event field data in this way. We're probably not going to incorporate that part of the change into the TA.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/splunk/TA-microsoft-sysmon/issues/33#issuecomment-433057861, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGgv2vfW4A_ycrZw3GXmn2r3Yv20Oowsks5uocETgaJpZM4X0jpv.


Command failed: ./gradlew  assembleRelease

按照官网上的教程来的，到打包apk这一步的时候卡这里了。
网上查的也没找到有效的解决办法。
错误信息
Error: Error: Command failed: ./gradlew  assembleRelease
isLibProject: false, isAppProject: true
weex_plugin: []

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not find support-compat.jar (com.android.support:support-compat:26.1.0).
  Searched in the following locations:
      https://jcenter.bintray.com/com/android/support/support-compat/26.1.0/support-compat-26.1.0.jar

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

weex 相关信息
 - weexpack : v1.2.5
 - weex-builder : v0.4.0
 - weex-previewer : v1.5.1

platform android版本
android 6.3.17

me too :( find any solution?

me too :( find any solution?

not yet. now i use<EMAIL_ADDRESS>

me too
Error: Error: Command failed: ./gradlew  assembleRelease
I have gradle.
gradle -v

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/usr/local/Cellar/gradle/4.10.2/libexec/lib/groovy-all-2.4.15.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

------------------------------------------------------------
Gradle 4.10.2
------------------------------------------------------------

Build time:   2018-09-19 18:10:15 UTC
Revision:     b4d8d5d170bb4ba516e88d7fe5647e2323d791dd

Kotlin DSL:   1.0-rc-6
Kotlin:       1.2.61
Groovy:       2.4.15
Ant:          Apache Ant(TM) version 1.9.11 compiled on March 23 2018
JVM:          10.0.1 ("Oracle Corporation" 10.0.1+10)
OS:           Mac OS X 10.14 x86_64


EvaluationFailedException on any Evaluation of javascript (Linux)

Description
Any Evaluate* method throws exception on Linux, but works fine on WIndows.
Complete minimal example reproducing the issue
var options = new LaunchOptions {
   Headless = true,
   Args = new[] { "--no-sandbox" } // required for root user
};
var chromiumRevision = BrowserFetcher.DefaultRevision;
var browser = await Puppeteer.LaunchAsync(options, chromiumRevision);
var page = browser.NewPageAsync();

// execute simple js function which returns "123"
var a = await page.EvaluateFunctionAsync<int>("() => 123");
Console.WriteLine(a);

// Act
PuppeteerSharp.EvaluationFailedException: Protocol error (Runtime.evaluate): Session closed. Most likely the Page has been closed. ---> System.Exception: Protocol error (Runtime.evaluate): Session closed. Most likely the Page has been closed.
   at PuppeteerSharp.CDPSession.SendAsync(String method, Boolean rawContent, Object args)
   at CallSite.Target(Closure , CallSite , Object )
   at PuppeteerSharp.ExecutionContext.EvaluateHandleAsync(String method, Object args)
   at PuppeteerSharp.ExecutionContext.EvaluateExpressionHandleAsync(String script)
   --- End of inner exception stack trace ---
   at PuppeteerSharp.ExecutionContext.EvaluateExpressionHandleAsync(String script)
   at PuppeteerSharp.ExecutionContext.EvaluateAsync[T](Task`1 handleEvaluator)
   at PuppeteerSharp.Frame.EvaluateExpressionAsync(String script)
   at Headless.Program.Run(Int32 id) in /home/headless/net/Program.cs:line 274

// Assert
123

Versions
puppeteer-sharp 1.6.2 from nuget
dotnet 2.1.402
Additional Information
Tested on Debian 9 (dotnet core install instructions)
Also I tried build the latest source code, but I don't know how to do it correctly for this project and build fails:
# dotnet build
...
/usr/share/dotnet/sdk/2.1.402/Microsoft.Common.CurrentVersion.targets(1179,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.7.1" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [/home/headless/puppeteer-sharp/lib/PuppeteerSharp.Tests.CloseMe/PuppeteerSharp.Tests.CloseMe.csproj]
/usr/share/dotnet/sdk/2.1.402/Microsoft.Common.CurrentVersion.targets(1179,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.7.1" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [/home/headless/puppeteer-sharp/lib/PuppeteerSharp.Tests/PuppeteerSharp.Tests.csproj]
/usr/share/dotnet/sdk/2.1.402/Microsoft.Common.CurrentVersion.targets(1179,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.7.1" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [/home/headless/puppeteer-sharp/lib/PuppeteerSharp.Tests.DumpIO/PuppeteerSharp.Tests.DumpIO.csproj]
/usr/share/dotnet/sdk/2.1.402/Microsoft.Common.CurrentVersion.targets(4533,5): error MSB3030: Could not copy the file "/home/headless/puppeteer-sharp/lib/PuppeteerSharp.TestServer/testCert.cer" because it was not found. [/home/headless/puppeteer-sharp/lib/PuppeteerSharp.TestServer/PuppeteerSharp.TestServer.csproj]
    0 Warning(s)
    4 Error(s)

Could you try awaiting NewPageAsync?
var page = await browser.NewPageAsync();

Actually my code uses await keywords everywhere, including NewPageAsync method. It was just a mistake in my example code.

About building issues. As we have many target frameworks in different projects, you would need to build them individually.
Regarding this error:

/usr/share/dotnet/sdk/2.1.402/Microsoft.Common.CurrentVersion.targets(4533,5): error MSB3030: Could not copy the file "/home/headless/puppeteer-sharp/lib/PuppeteerSharp.TestServer/testCert.cer" because it was not found. [/home/headless/puppeteer-sharp/lib/PuppeteerSharp.TestServer/PuppeteerSharp.TestServer.csproj]
0 Warning(s)

You need to create a self-signed certificate to be able to run the test server. I didn't dig into that yet. So I would appreciate some help creating that file so that we can set up a CI in Linux. See https://github.com/kblok/puppeteer-sharp/issues/429

Closing because we know there is some job to be done on Linux.


Bump Spark to 1.4

This is mainly here to trigger the Jenkins job.

Update ADAM and ADAM-prb jobs on Jenkins to drop Hadoop 1 checks.

Jenkins, test this please.

Can we roll #751 in to this?

Not sure it's necessary? Both jackson-core and jackson-annotation are excluded here too as in #751 .

What say you @laserson ?

@massie @laserson maybe let's close #751 in favor of this one, then?

Ah, yes, feel free.  It includes the relevant commit.

Done!

Thanks, @laserson !

hmm, i think this was a premature merge.  we're not yet 1.4 compatible

I reverted the commits. Sorry for the hitting the merge button too soon.


MKOB: Raspberry Pi Mode

In addition to the current interface modes, there should be a Raspberry Pi mode. This would use the GPIO interface rather than the Serial/Com-Port interface.
The importance of this has to do with the fact that the RPi is inexpensive and yet powerful and has the GPIO (General Purpose Input/Output) built in. It also has USB, so it can use a USB-Serial cable, but why do that when you can directly connect to the GPIO.

<EMAIL_ADDRESS>via groups.io |<EMAIL_ADDRESS>via groups.io | Nov 16, 2020, 3:00 PM
I've got a to-do to build a "hat" for one of my RPi4s.  That is when I will be able to pick the GPIOs.  Should be one GPI for key and one GPO for sounder?  I always prefer to use a loop to simplify use of a KOB.  The external circuit should use 3.3V interface, so I don't think it will matter KOB versus separate.

Let's discuss the best pins to use 'by default'. Of course, configuration can allow you to use what you want, but it would be nice to have a standard configuration that works out-of-the-box.

Option was added and the KOB code supports GPIO (Raspberry Pi). If both Serial and GPIO are configured, GPIO takes priority. This allow the serial port name/path to remain configured while still allowing GPIO to be used or not (a simple YES/NO configuration option).
Currently, GPIO-21 (pin 40) is used for key input and GPIO-26 (pin 37) is used to drive the sounder. A future enhancement would be to allow these to be configured.


The language set by vscode.languages.setTextDocumentLanguage does not persist

VSCode Version: 1.48.0-insider
OS Version: Linux

Steps to reproduce the issue:

Open a plaintext file and set the languageId to Batch

Change the languageId to C using vscode.languages.setTextDocumentLanguage. To do this, I created a vscode extension with this code:

export function activate(context: vscode.ExtensionContext) {

	context.subscriptions.push(vscode.commands.registerCommand('languageSetter.setLanguage', async () => {

		if (!vscode.window.activeTextEditor) {
			return;
		}

		const languageId: string = 'c';
		await vscode.languages.setTextDocumentLanguage(vscode.window.activeTextEditor.document, languageId);
		vscode.window.showInformationMessage(`Language has been set to ${languageId}`);
	}));
}

and called the languageSetter.setLanguage command.

Navigate to a different tab (in the gif, I navigate to Settings)

Go back to the file, the languageId is Batch instead of C.

Expected Behavior:
I expected the language to be C instead of Batch since my command set it to C.
Batch and C were just examples. This problem happens on other languages too.

Does this issue occur when all extensions are disabled?: Yes, I've disabled every extension except my example extension that I use to reproduce the problem.

I cannot reproduce anymore, maybe this was fixed meanwhile.
@xorye can you still using latest insiders?


Recursive file indexing in the "Archive" tab

In the archive tab in the app, there is no way to list files that are sorted in folders, only files directly in the subfolders are listed.
Describe the solution you'd like
A folder like "browser" or all files indexed recursively and listed as a single list would be handy to have.

And I'll add : listed alphabetically if possible.

And I'll add : listed alphabetically if possible.

Then the order of the keys will be different on Flipper and on Android.

@jkctech do you mean allow viewing irs and subs  that
are in folders below the /ext/infrared and /ext/subghz?  If so, I completely agree.  Otherwise we have to resort to longer file names to categorize by device.  And then the names are to long to show in a widget or favorite on the flipper.

is there any update?

And I'll add : listed alphabetically if possible.

Then the order of the keys will be different on Flipper and on Android.

Perhaps, but for those of us with many keys the status quo makes finding them time consuming. This in turns reduces the Flipper Zero's usefulness as the delay makes it quicker to just use the original 1st party key.


can not create client .ovpn file, error line 1045

Checklist

[x] I read the README
[x] I read the FAQ
[x] I searched the issues
[x] My issue is about the script, and not OpenVPN itself

Describe the issue
when running the script, it shows error and can not create the client ovpn file, error line 1045. Check and the file is not created.
Check OpenVPN Status and it's active.
###Not all server has /home/root folder.
To Reproduce
Steps to reproduce the behavior:

...

Expected behavior
A clear and concise description of what you expected to happen.
Logs
If applicable, add logs or screenshots to help explain your problem.
If you can reproduce the issue, please run the script in debug mode and post the output: bash -x openvpn-install.sh
Server if applicable):

OS: [e.g. Debian 10]
Hosting provider (if applicable): [e.g. Vultr, AWS]
CLOUDLINUX 7.8

Client (if applicable):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Client: [e.g. OpenVPN Connect]

Additional context
Add any other context about the problem here.

Can you post the specific error?

Hi,
The error is cannot create [clientname.ovpn] file on /home/root. Not all hosting have that directory. I think should have code to check if the directory exists or not, or create a whole new directory, says "/home/vpn_profile" and put all .ovpn files there.

There is already code for that:
https://github.com/angristan/openvpn-install/blob/2950fd445752fd0515cdbf37b28ab8a494bc8299/openvpn-install.sh#L1083-L1090
It would be useful if you could post the output of bash -x openvpn-install.sh in order for us to debug that.

Oh, by the time I comment, it is still not working for me. I’m using dedicate server, login as root, but I don’t have /home/root, and the error is “error line 1045” cannot create file on /home/root
so I manually create directory /home/root and everything working fine.
It’s not a big issue, it’s just for some totally beginners don’t know what to do.

Are there any cases where /home/root would exists in a distro? The check could also be elif [ "${SUDO_USER}" =~ root];
For me ${SUDO_USER} depends on the command I use to elevate privileges:
$ su -
# echo ${SUDO_USER}

$ sudo su
# echo ${SUDO_USER}
randomshell

Closing as I can't see how this would happen, so we'll wait for other reports


Remove unused definitions, commented out code, etc.

Description
Title says it all. Just a small cleanup.
Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1876 (afce281) into main (2607f35) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1876   +/-   ##
=======================================
  Coverage   79.00%   79.00%
=======================================
  Files          19       19
  Lines        1324     1324
=======================================
  Hits         1046     1046
  Misses        278      278

Flag
Coverage Δ

unittests
79.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Image orientation problem

Hi,
I have a problem with the image orientation. When I view a landscape image in  or as a background-image, it's displayed in portrait mode e.g. rotated 90 degrees. But if I use the following code to get the dimensions if the image, it returns the correct width and height.
It works correctly in iOS simulator with the default example pictures, but not when I run it on the device.
function getImageDimensions(image) {
    var img = new Image();
    img.src = image.uri;

    return {
        width: img.width,
        height: img.height,
        ratio: img.width / img.height,
        isLandscape: img.width > img.height,
        isPortrait: img.width < img.height,
        resolution: img.width * img.height
    };
}

The return object looks like this:
{
height: 2448
isLandscape: true
isPortrait: false
ratio: 1.3333333333333333
resolution: 7990272
width: 3264
}

Thank you in advance!

Short update. I have now updated getImageDimensions to work with larger images that take longer to load. The new funktion looks like this.
function getImageDimensions(image, callback) {
    $('<img src="' + image.uri + '"/>').on('load', function() {
        image.dimensions = {
            width: this.width,
            height: this.height,
            ratio: this.width > this.height? Math.round((this.width / this.height) * 100) / 100 : Math.round((this.height / this.width) * 100) / 100,
            isLandscape: this.width > this.height,
            isPortrait: this.width < this.height,
            resolution: this.width * this.height
        };

        callback(image);
    });
}

I have also noticed that images sometimes are displayed up-side-down. This does only happen on my iPhone 6, not on my Galaxy S4 mini and in the simulators. The images may be photographed in that orientation, but is there any way to make it right?


DNS: Root mode

Perhaps there's a way to avoid setting up a VPN tunnel, trapping TCP and UDP requests in port 53, yada, yada, yada ... and instead make use of root privileges for DNS over HTTPS? A possibility suggested on the telegram group to create a Magisk Module: https://github.com/xerta555/CloudflareDNS4Magisk-IPv6
See also: #66

Something like this? https://git.frostnerd.com/PublicAndroidApps/smokescreen/-/blob/master/docs/NONVPNMODE.md
It still requires the user to use the app though (but not the VPN)

Proxy mode on port 53 makes sense (and also, may be on other ports too). Need to see how android reacts to someother process taking up the port 53 slot.
We are already adding an outgoing (forward) proxy, for example, BraveDNS would be able to send traffic to Nebulo and other such feature rich DNS apps. #45


Bad CRC Copy Protect

Hi, and maybe I missed this, so please forgive me if it has already been posted. When running 'gw read DISK1.scp --format=ibm.1440 --raw' on an Macintosh/Apple disk, it has 4 sectors with a bad CRC. You mentioned in a previous post that this was sometimes done for 'copy protect' reasons. Is there a way to get around this to where you can produce an image that's writeable? 'gw write DISK1.scp --format=ibm.scan' errors out at the bad sectors. Do you have to go into Hxc and edit the sector? Any insight would be greatly appreciated...

I can convert it to a .IMG file and write it, but is this a feasible workaround, or what am I missing?


golang extension: dso manager refactor.

Commit Message:
Additional Description:
There might be multiple kinds of dso implementations, i.e. http filter, cluster specifier, L4.
They could be implemented from separate dso files or a single dso file.
separate from https://github.com/envoyproxy/envoy/pull/25677
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/assgin @wbpcode
It would be great if we could merge this PR first, and continue https://github.com/envoyproxy/envoy/pull/25677 then. Thanks!


Auto-generate nav

Looking at the mkdocs.yml file, I can see that the Nova docs would require people to add extra pages to it for stuff such as adding translations.
It could therefore be beneficial to use the Awesome Pages plugin to auto-generate the navigation. The plugin does to my knowledge work with the i18n plugin currently used by you.
And while we're on the topic of i18n. Maybe consider using a folder structure rather than the default suffix-based structure to allow a more clean result structure of the files.
Those are just suggestions and don't need to be looked into if not needed.

We tried using the i18n folder structure. It kept failing to build the website for some reason, even though we had the exact config as the example. We'll look into auto generating the navigation.


sort header in table is hard to click

What problem does this feature solve?
when i click to sort the data in table,I must slowly move my mouse to select asc or desc,it too hard to select,it can be more easy?
What does the proposed API look like?
may be it can has only click region,in every click,it will be toggle in {null,'ascend','descend'}

should be fixed after sync with antd 3.6.1


Named Entity Recognition with Categorical Classes

Few questions and issue that I have faced using Snorkel for Named Entity Recognition:

Currently, we have something like:

NE = candidate_subclass('NE', ['ne'], values = [False, 'NAME', 'ORG' , 'DATE'])

(Here we have False because we do not want certain candidate to have any value as they are unimportant)
In our gold label, we only have the values of {1,2,3} to correspond to {NAME, ORG, DATE}
We trained a TagRNN model, but it only predicts {1, 2, and 3} for our candidates, we want it to produce a 0 to for unimportant candidates as well. How do we resolve this issue?

In our case of -

candidate_subclass('NE', ['ne'], values = [False, 'NAME', 'ORG' , 'DATE'])

Would like to clarify the confusion regarding returning a '0' and 'None' for Label Function:
Are they the same?
If we are returning the literal values (i.e 0,1,2,3), this corresponds to  [False, 'NAME', 'ORG' , 'DATE']?

Currently, we have extracted candidates using POS tags. However, they are huge in size.
We have an idea of obtaining an additional probability feature for each candidate to filter them based on a constant threshold. Is there a way to do so for the candidate extractor?
Any help is much appreciated, thanks!

HELLO, can you tell me how to manual label the categorical candidates.thank you.

Hi, I simply wrote a script to transform my labeled data to create a labeled file with the format:
NE	ent_type
0::span:388:389	-1
0::span:406:407	-1
1::span:209:211	-1
1::span:761:763	2
5::span:429:434	1
document_id::span:startPos:EndPos caterogical_class
then use the script from introductory tutorial to load them into the database


Push Notifications support for OS X, tvOS

This issue is for tracking an improvement to classic ParsePushAdapter to add support for OS X (which is supported on classic Parse), and tvOS (which is not).
Adding support for these would be very trivial, since we have iOS Push Notifications working, and would require changes to a few things:

Add support for osx and tvos deviceTypes to installation
Add support to ParsePushAdapter and APNS.js to accept more than just iOS certificates.
Add support to ParsePushAdapter and APNS.js to send to tvOS, which reuses the same certificate as iOS.

Comment here, subscribe to this issue or send a PR to implement any part of this.

transferred here: parse-server-modules/parse-server-push-adapter#11


Prepare release for MongoCluster

First beta release for MongoCluster

API change check
API changes are not detected in this pull request.


chore: migrate to Drone

We are no longer using CircleCI for most of our builds, including Grafana: https://drone.grafana.net/grafana/grafana
Migrate from CircleCi to Drone: https://drone.grafana.net/grafana/timestream-datasource/settings

so drone is already working in the repo as you pointed (https://drone.grafana.net/grafana/timestream-datasource). We just need to disable CircleCI. I tried but I am not a repo admin so I cannot disable it. @ryantxu can you make @grafana/cloud-datasources admin of the repository?


Modify Github workflow to publish code coverage reports for PRs.

Purpose
$subject
Fixes #
Approach
Remove the separate jobs used for running integration and unit tests in the CI_ubuntu.yml and run the tests while building the module. After the build, generate Jacoco report and publish it to Codecov.

Here we need to removed required CI checks as we have removed additional workflows and run all in a single workflow @anupama-pathirage @maheshika


Cake Day Reminder: add option to be notified of other users' cake days

Is your enhancement request related to a problem? Please describe.
No - it's simply a nice to have feature that reminds us of friend's cake days (after specifying their usernames in the settings).
Describe the solution you'd like.
A setting is added to 1.4 Cake Day Reminder - 1.4.3 Friend's Cake Days Reminder. In its settings there's a field where we input names of users we want to be reminded of their cake days.
Additionally a button could be added on user profile pages once 1.4.3 is activated that allows us to add users to the list with a simple click.

How's this suggestion related to the bug?


Cannot get timer to stop.

Need to find a way to stop the timer when the user finishes the quiz early.

Declared timeLeft globally to allow it to be stopped outside of the timer function.


add page for running queries

adds a page for running queries.

can you show how it looks by pasting a screenshot of it?


Can't use #include in shader

I want to include other glsl file instead of copy them from different shader source, but when using #include, it display "'#include' : required extension not requested: GL_GOOGLE_include_directive", however after adding "#extension GL_GOOGLE_include_directive : require (or enable)", shader just compiled failed and can't solve

It also can't convert to spir-v format, only blank


Clarify variable names for payment channels in #send_payment

To lessen confusion with the terms account and source_account, rename the payment channel option to channel_account. Since the gem hasn't been released yet, there's no breaking change.
New signature:
client.send_payment(
  from: from_account,
  to: destination_account,
  amount: Stellar::Amount.new(0.55),
  channel_account: channel_account,
 )

@bartekn mind taking a look?

@bartekn renamed to transaction_source :+1:

Hi @bartekn just following up on this :)


Do not emit mod interrupt if there aren't any defined

Or else the resulting file will not compile.
Fixes #77.

if there aren't any defined

A microcontroller without interrupts? 😞
Thanks, @whitequark!
@homunkulus r+

:pushpin: Commit ee35f3e has been approved by japaric

:hourglass: Testing commit ee35f3e with merge ee35f3e...

A microcontroller without interrupts?

An SVD file without interrupts, because what I generate the SVD file from doesn't seem to list them (?!). In any case, it helps incremental development.

An SVD file without interrupts

FWIW, @Emilgardis ran into something like that and found the list of interrupts in an assembly file, transformed them into something SVD compatible, pasted them inside some  tree and it Just Worked.

I'm sure it can be done somehow (worst case I'll just apply an overlay patch) but so far I'd like to stray as little from the vendor's XML as possible...

:sunny: Test successful - status-appveyor, status-travis
Approved by: japaric
Pushing ee35f3e3aa77308cc65f43c2e6f1d53f2d4222b3 to master...


Update EntrustServiceProvider.php

@ability('rbac', 'role-index')
Whoops, looks like something went wrong.
syntax error, unexpected ','


feat: add ipaddr extension

This PR also contains PR #21. I'll rebase once its fate is decided.

Where is the source code coming from — is it yours or copied/adapted from somewhere? Will it work on Windows?

It is my own code. I'll rebase and check if it compiles for Windows then.

I see. Thanks a lot for your contribution!

check if it compiles for Windows

It does not:
src/sqlite3-ipaddr.c:9:10: fatal error: sys/socket.h: No such file or directory

I think that's OK. Please make it clear in ipaddr.md that the extension is not available for Windows (and remove it from the compile-windows task). Also, there is a misleading top-level comment in sqlite3-ipaddr.c. Otherwise, I'm ready to merge.

Let me give another try. inet_pton and inet_ntop only needs arpa/inet.h. Let's see if it's available on Windows.

Nope:
src/sqlite3-ipaddr.c:9:10: fatal error: arpa/inet.h: No such file or directory

OK, I give up for now. I have removed the compilation for Windows and added a note in the documentation.

Sorry, I am too dumb, I did remove the extension for MacOS...

I've just merged the PR and released 0.9.1. It's great to have your extension added to the pack! Thank you 🙏


Add "System" temperature

PredatorSense.exe has a "System" temperature that isn't natively pulled in to FanControl. We should look at bringing that in.

Complete with #ed2391648f8361952d07430f7ea2d3c7dea0f907


Prevent reload on transaction change

What happened?
Some components, e.g. export modal or send/simulate button, need the whole transaction so they are reloaded every time any part of the transaction changes. In reality, these components only need the entire transaction as a callback, e.g. when the export modal is opened or when send/simulate button is pressed.
Is there a way to lazily load the transaction from the state store only on those callbacks?
Errors & Logs
No response
App Version
v1.0.0-alpha.57 (101-1)
Web Browser
Brave v1.46.144 (Dec 14, 2022)

Made some refactoring to avoid some re-renders:

https://github.com/labeleven-dev/bettercallsol/commit/2aa3b525f416f03c0eb4aae2513545126509e550
https://github.com/labeleven-dev/bettercallsol/commit/b6da8e5c928e58fc2f615ee604a62bfb1b0a39f9

There is definitely more work to be done here. We need to investigate the re-renders using react devtools profiler.

Fixed an issue with Solana's Connection class causing re-renders: https://github.com/labeleven-dev/bettercallsol/commit/639d6f06fbf082103476b754defca97d42a3882f


Package Requested

[X] I would like someone else to build the manifest.
[X] I would like help so I can submit the manifest.
[X] I have performed a search and couldn't find this package.
[X] I have checked that the installer for this package is not a standalone or portable executable or a .zip file
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: Maxime Doyen
Publisher Url: http://homebank.free.fr/en/index.php
Package Name: HomeBank
Description: HomeBank is a free software (as in "free speech" and also as in "free beer") that will assist you to manage your personal accounting.
Package Version: 5.5.5
Installer URL: http://homebank.free.fr/public/HomeBank-5.5.5-setup.exe
Current Package Identifier (for new versions):

@Trenly Thank you.


Fix Resource Importer use after free

Coverity reported issue.
If scene is a ImporterMeshInstance3D, it will be recreated which will leave the pointer (scene) in a bad state.
Testing with a single blend file, it appear not be this scenario.  Only the child items appeared to be updated, so I'm not sure if this is the normal case for all import files.
These raise the questions

Will the first level scene ever be an ImporterMeshInstance3D object?
Does anyone have an example that would have ImporterMeshInstance3D as the scene.  Or instructions to do it

Found code just down from my change,
err = OK;"
...
if (!scene) {
		 EditorNode::add_io_error(
				TTR("Error running post-import script:") + " " + post_import_script_path + "\n" +
				TTR("Did you return a Node-derived object in the `_post_import()` method?"));
		return err;
	}

Should this be returning an error of some sort?

I'm not familiar with this code, but the proposed solution seems unconventional. Both returning the pointer while keeping modifying it passed as argument in recursive calls seems like a recipe for disaster, or at least not knowing what one ends up with when reading that code.

Sure. That makes sense. I'll give it another go.
Was just looking for some feedback as the right direction to take.

@lyuma You may be interested in looking at this.

Thanks!


Need to change encoding in conn_primitive_serial.py file

Several test suites (e.g. MbedTLS test-suite) use this file to send test vectors which are "binary" data (contains characters from 0x00 to 0xff).
The Python 3.x has stronger rules to encoding data then Python 2.x and arrays which were encoded by Python 3.x and Python 2.x are different.
So, I provide to change Line #119:
from    self.serial.write(payload.encode('utf-8'))
to      self.serial.write(payload.encode('raw_unicode_escape'))
that will allow sending any data through serial interface.

mbed-os-tools: 0.0.8
Python 3.7
File: src/mbed_os_tools/test/host_tests_conn_proxy/conn_primitive_serial.py
Line #119
was       self.serial.write(payload.encode('utf-8'))
to be     self.serial.write(payload.encode('raw_unicode_escape'))
Issue request type
[ ] Question
[ ] Enhancement
[X] Bug

Thanks.

Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-1234

Thank you for raising this issue. Please note we have updated our policies and
now only defects should be raised directly in GitHub. Going forward questions and
enhancements will be considered in our forums, https://forums.mbed.com/ . If this
issue is still relevant please re-raise it there.
This GitHub issue will now be closed.

This was closed by the automated bot by mistake - re-opening


Add better error handling support.

For now, all I could find about handling errors when a query is executed is this piece from documentation:

When Sparrow encounters an error while executing a query, it will raise an exception with the database error message.

However, I think that maybe a more manageable approach would be interesting. Example:
$query = $db->from('user')->select()->many();

if($query->success) { // return true or false
    return $query;
} else {
    return $query->listErrors(); // array with errors
}

Some solution like the above would help make easier verifications over the query status.

I think exceptions are the standard way to deal with errors. You can use a try-catch block and handle it however you want. The error being returned is a fatal error directly from the database so there would never be more than one.


Fix various style issues; check flake8 in travis

The redis stuff needs more love; this code is not at all DRY-y and seems fragile.
But at least now it doesn't make my editor totally barf.
@sloppyfocus

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Support uploading and downloading message attachments

Users should be able to attach files to their messages, and download attachments from messages in the scrollback.

There will need to be a way to remove attachments from a message if the user changes their mind, or attaches the wrong thing.


Skip applying high frequency DCT basis for larger size DCTs.

If the coefficients in high frequency subbands are not coded by PVQ (for lossy mode), then we can even skipping applying high frequency DCT basis.
For example, for 64x64 DCT, if only top-left 32x32 DCT coefficients are encoded by PVQ, then during 2D DCT transform we can skip higher 32 frequency 1D basis in both horizontal and vertical 1D transform.
However, if 2D DCT itself is implemented optimized way, skipping should be done accordingly.
Btw, similar thing is true for decoder, which means if encoder never encode certain high freq subbands then, the iDCT in decoder don't need apply full basis function, but rather omitting high freq coefficients part of each basis will work since those are always multiplied to zeros.

This would only be true in keyframes: on delta frames the prediction may contain high frequencies, even if we do not code anything in those bands, and those frequencies need to survive a round-trip through the fDCT and iDCT.

Does this means that the predictor (i.e. from ref frame) should keep signals in all bands including high freq? So that original signal - predictor can be quantized and coded by PVQ?

We do not quantize and code "signal - predictor". We quantize and code "signal", using knowledge of "predictor". But when the quantized value for a band is just saying "use the predictor" (theta=0), we still need to feed the data from the predictor into the iDCT (and we had to get the data for those coefficients out of the fDCT).


Resolves #18

Updated appraisal gem version
Allowed callback matcher with array as args

@jdliss let me know if there's any issues. Thanks.

@dvmonroe could you try changing the version of sass-rails from 4.0 to 5.0 for rails 4.2 and 4.1 in Appraisals?

@dvmonroe Awesome! thanks for upgrading the gems as well. Looks great.


Setup MongoDB instead of SQLite (default)

While it doesnt change much architecturally as Django uses an ORM, SQLite is not very good with large amounts of new data, a case which forums include.

Due to the underwhelming support for mongodb and the hosting difficulties we have with postgreSQL, we are sticking with SQLite for now, however if we manage to get a decent hosting server we can definitely host with postgres


Category color changes in stack()

I fill the histogram with a category axis in several iterations and I want to see it after each iteration, e.g.:
h = Hist(bin("x", 10, 0, 1), groupby("type"))

x = np.random.random((100,))
h.fill(type="A", x=x*x)
h.stack("type").area("x").to(canvas)

Here is the plot:

Here comes second iteration:
x = np.random.random((100,))
h.fill(type="B", x=1-x*x)
h.stack("type").area("x").to(canvas)

Notice that the color for type=A histogram has changed from blue to orange and type=B is blue now. It would be good to make subplots keep their representation attributes.
Btw, it works correctly with overlay()

The colors are assigned by Vega-Lite and there's some way to set them— control that I'll pass through to the user somehow. However, they're probably in order of the data points themselves. That order is not preserved by _content, which is a dict. Maybe the content for groupby stuff should be an OrderedDict? dict already introduces a performance bottleneck, OrderedDict could be worse.
Nothing would be broken by (optionally?) making the dict ordered. All of the checks are isinstance(x, dict). Maybe that should be a groupby constructor option.
In the farther future, I should probably replace the dict representation with something contiguous in memory. Probably the easiest way would be something based on ChunkedArrays from the new awkward-array library I'm developing.
If there are no issues with overlays and the log plots are looking okay, can I close the other issue and merge that branch into master? I'll consider this one closed when I add the OrderedDict option to groupby.

Log plots with overlays do not look ok. See my last comment on issue 37.
I meant to say that overlay preserves colors unlike stack. Or maybe I was just lucky.

I think you could add an attribute to the Hist with categorical axis, which would be a list of all the category axis plotted so far. This list would be used only set the order of the subplots inside stack() or overlay(), not for filling. And if a category value is not in the list, then append it.
class Hist:
    def __init__(...):
        # for each category axis:
        self.CategoryOrders = {}

    def stack(axis_name):
        category_order = self.CategoryOrders.get(axis_name)
        if category_order is None:
            category_order = []
            self.CategoryOrders[axis_name] = category_order
        for value in values_for_axis(axis_name):
            if not value in category_order:
                 category_order.append(value)
        for value in category_order:
            add_subplot(value)

Wait a minute— I just realized that this is stack: you have the power to set the order by hand. The stack method has an order parameter:
>>> beside(h.stack("type", order=["A", "B"]).area("x"),
           h.stack("type", order=["B", "A"]).area("x")).vegascope()

An automated "sort stability" fix should tap into that mechanism. Stay tuned.

Using explicit order here is not always convenient because you either need to use all possible category values or all values filled into the histogram so far.
If you use all possible values, the legend will contain all of them even if the histogram has only some of them filled, which is not ideal:

So the best option is to use only those values filled into histogram so far, but in case of iterative displaying, that means using pretty much using same logic as I described earlier, only outside of the histogram class.

How about this?
>>> import numpy as np
>>> from histbook import *
>>> h = Hist(bin("x", 10, 0, 1), groupby("type", keeporder=True))   # new option
>>> x = np.random.random((10000,))
>>> h.fill(type="A", x=x*x)
>>> h.stack("type").area("x").vegascope()

>>> x = np.random.random((10000,))
>>> h.fill(type="B", x=1-x*x)
>>> h.stack("type").area("x").vegascope()

>>> x = np.random.random((10000,))
>>> h.fill(type="C", x=x*x)
>>> h.stack("type").area("x").vegascope()

>>> x = np.random.random((10000,))
>>> h.fill(type="D", x=1-x*x)
>>> h.stack("type").area("x").vegascope()

I am using issue-37 branch.
I get this error, which I think is related to JSON serialization:
Exception in thread Thread-44:
Traceback (most recent call last):
  File "/home/ivm/anaconda2/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/home/ivm/bigdata/qworker/QWorker/SocketGangContract.py", line 163, in run
    self.Contract.updateReceived(self, data_chunks, events_delta)
  File "/home/ivm/bigdata/qworker/QWorker/MyThread.py", line 15, in smethod
    out = method(self, *params, **args)
  File "/home/ivm/bigdata/qworker/QWorker/SocketGangContract.py", line 237, in updateReceived
    self.CallbackDelegate.updateReceived(worker.WID, data, nevents_delta)
  File "/home/ivm/bigdata/qworker/QWorker/MyThread.py", line 15, in smethod
    out = method(self, *params, **args)
  File "/home/ivm/bigdata/qworker/QWorker/StripedJob.py", line 36, in updateReceived
    self.DataCallbackDelegate.updateReceived(data_dict, nevents)
  File "/home/ivm/bigdata/qworker/QWorker/MyThread.py", line 15, in smethod
    out = method(self, *params, **args)
  File "/home/ivm/bigdata/qworker/QWorker/StripedJob.py", line 125, in updateReceived
    ha.add(data)
  File "/home/ivm/bigdata/qworker/QWorker/HistBookInterface.py", line 34, in add
    h = Hist.fromjson(json.loads(dump))
  File "build/bdist.linux-x86_64/egg/histbook/hist.py", line 730, in fromjson
    out = Hist(*[histbook.axis.Axis.fromjson(x) for x in obj["axis"]], weight=obj.get("weight", None), filter=obj.get("filter", None), defs=obj.get("defs", None), attachment=obj.get("attachment", None))
  File "build/bdist.linux-x86_64/egg/histbook/axis.py", line 204, in fromjson
    return groupby.fromjson(obj)
  File "build/bdist.linux-x86_64/egg/histbook/axis.py", line 272, in fromjson
    return groupby(obj["expr"], obj["keeporder"])
KeyError: 'keeporder'

Yes— of course— it's a new property. I'll pass that through.

You know, I don't see anything wrong with the JSON serialization. Could it be that you're trying to deserialize old objects with new code?
The JSON format hasn't been made schema-evolving for archive. I don't foresee frequent changes anyway— this was a surprise.

Which branch is this fixed in ? I am using "issue-37" and colors are unstable.

It is in that branch and I observed stable colors when using the keeporder=True argument.

Ah yes, thanks !

I was wondering, maybe keeporder should always be True ?
I can not think of a case when someone would actually want colors to change..

If it's not animated, the colors aren't "changing," and we've paid the penalty for an OrderedDict rather than a dict. The collection order also doesn't have a meaning when you combine histograms from different sources. The cases in which collection order matters are special, rather than the other way around.


clasp run [functionName] --params doesn't work

(Note: Non-breaking issues are likely not to be prioritized. Please consider a PR in addition to your issue)

Expected Behavior

clasp run setProperties --params '[{"foo":"bar"}]'
Should be execute my function setProperties with a Object {"foo": "bar"}

My function :
function setProperties(properties) {
PropertiesService.getScriptProperties.setProperties(properties, false);
}
Actual Behavior
response : Input params not Valid JSON string. Please fix and try again.
A try other basic JSON format ... but same message.
Specifications

Node version (node -v): v10.16.3
Version (clasp -v): 2.3.0
OS (Mac/Linux/Windows): Windows

Silly question but what happens if you use double quotes:?
clasp run setProperties --params "[{'foo':'bar'}]"

I had clasp run setProperty -p ["domain" "mydomain.com"] working a few days ago. It was great.
Now, I cannot find the proper JSON format. I read here to use "...space-separated array of values such...".  So I don't know what could have gone wrong?
Here is what I tried:
PC:AppsScript-CLASP user$ clasp run setProperty -p ["domain" "mydomain.com"]
Input params not Valid JSON string. Please fix and try again
PC:AppsScript-CLASP user$ clasp run setProperty -p ["domain","mydomain.com"]
Input params not Valid JSON string. Please fix and try again
PC:AppsScript-CLASP user$ clasp run setProperty -p ['domain','mydomain.com']
Input params not Valid JSON string. Please fix and try again
PC:AppsScript-CLASP user$ clasp run setProperty -p ['domain' 'mydomain.com']
Input params not Valid JSON string. Please fix and try again
PC:AppsScript-CLASP user$ clasp run setProperty -p [{'domain': 'mydomain.com'}]
Input params not Valid JSON string. Please fix and try again
PC:AppsScript-CLASP user$ clasp run setProperty -p "['domain' 'mydomain.com']"
Input params not Valid JSON string. Please fix and try again
PC:AppsScript-CLASP user$ clasp run setProperty -p '['domain' 'mydomain.com']'
Input params not Valid JSON string. Please fix and try again

Node  v8.11.1
Clasp v2.3.0
MacOs BigSur v11.2.1

Also, there is a difference between zsh and bash error responses
Run with zsh
user@PC AppsScript-CLASP % clasp run setPropertiy -p ['domain' 'mydomain.com']
zsh: bad pattern: [domain

Run with bash
PC:AppsScript-CLASP user$ clasp run setProperty -p ['domain' 'mydomain.com']
Input params not Valid JSON string. Please fix and try again

Just to be sure the issue still exist, can you try replacing @google/clasp 2.3.0 with forked-clasp which is more advanced?
npm uninstall -g @google/clasp
npm install -g forked-clasp

I noticed that there's not a single test case in https://github.com/google/clasp/blob/master/test/commands/run.ts
for --params

I've had the same problem.
I use cmd, so the parameter was "splited" because of the double quotes
Cmd does not use single quotes, so I used \" instead and it worked
The correct code was something like this:
clasp run "myFunction" -p "[\"test\"]"

I use windows cmd, so the parameter was "splited" because of the double quotes Cmd does not use single quotes, so I used \" instead and it worked
The correct code was something like this: clasp run "myFunction" -p "[\"test\"]"

@Claudiney-Santos
I know this was an old reply, but thanks for pointing this out. This solved my problem.
I hope this is included in the formal documentation.


fix version

Fixing the pytorch version as 1.2.0 seems to break serialization

Was done already in another PR..


Make left nav a little smarter

The Workbox navigation is pretty borked on the WebFundamentals version and it's due to the left navigation step.
The main thing causing issues is that in a few places we have a URL in the top of our TOC, like: "/web/tools/workbox/guides/get-started", so for other pages it has the logic "Does '/web/tools/workbox/guides/precaching-files' begin with '/web/tools/workbox/guides/get-started'" which is false. What we really mean is "What is the navigation for "/web/tools/workbox/guides/" since that is where "precaching-files".
This PR is a step in that direction by taking the first path found in a TOC and stripping it back to the containing directory. For "/web/tools/workbox/guides/get-started" the path is altered to "/web/tools/workbox/guides/" which will then match "/web/tools/workbox/guides/precaching-files".
I tested on a few pages throughout WebFundamentals and I didn't see any issues.

:+1:


Translate May 1 covid report into Dutch

Hello @nextstrain/dutch!
The situation report from 2020-05-01 is ready to be translated to Dutch. The report focuses on Central & Eastern Europe. As per previous week's, please translate the Twitter post below! It's still a bummer when the translation is great, but people do not know it because I used Google translate for the Twitter post (lol).
Branch to translate on: sit-rep_nl
File to translate: https://github.com/nextstrain/translations/blob/sit-rep_nl/narratives/translations_ncov_sit-rep_nl_2020-05-01.md You can translate directly in this file, but please remember to push often as other people may be working on the translation!
Link to preview: https://nextstrain.org/community/narratives/nextstrain/translations@sit-rep_nl/ncov/sit-rep/nl/2020-05-01
Twitter post to translate:
“In the latest #COVID19 situation report, we explore outbreaks in Central & Eastern Europe. The report is now available in Dutch. Thank you @, @, and @ for the rapid translation."
Logistics
Please update the translations board as you work on the translation: https://github.com/orgs/nextstrain/projects/7
Please assign yourself to the translation if you’re working on it this week.
When a translation is ready for publication -- at minimum meaning two people have worked on it and both agree that it’s ready -- please create a pull request to merge to master and tag me and the issue in it!
Discussion board for your team is here: https://github.com/orgs/nextstrain/teams/dutch
Standard rules for translation:
Note that the file to translate is in Markdown. In general, it is important not to change any formatting or links. (Although it is okay to update Wikipedia or CDC links to the appropriate language version.) Comments to help with translation are noted in comment symbols like <! -- Comment -->.
Please add your name under translators: with new line, tab, and dash, formatted just like authors are. Please also add a link to your professional page (can use Twitter) under translatorLinks:.
Note: You may know of other great resources available in Dutch; please don’t add them to the situation report. We need to keep content the same across all translations, so we can be confident in the accuracy of what we publish. Thanks for understanding.
At minimum, I require two sets of eyes on every translation; one of those people should have a background in phylogenetics. Although if you have more, that’s fine too.
Feel free to use a live, online editor like hackmd (sign in with GitHub) to translate together.
Thank you so very much! As always, it's an honor work with you all to make these analyses accessible. Take care.

I have half a liter of coffee and will start working on it. Hope my heart does't give out.
I'll update when I will stop!

OK! I just had a slightly smaller quantity of coffee, and can take over when you stop.

Okay, I did my part, but skipped some parts which are fully in English still (Russia) and went for some easy copy pastes on the end (Wat u kunt doen).  There is one thing still in caps in the translated part, at 102.
Good luck @JiscaH

Alright, I'm having a go now.

Done my part!
The only words I couldn't come up with a good translation (either) were 'lineage' (added it to the word list https://github.com/orgs/nextstrain/teams/dutch/discussions/2 ) and 'takeaways'. There must be some dutch expression for 'take home messages', but I just can't recall, and 'conclusie' isn't quite the same.
Good luck to @JSHuisman or @rvosa with the proofreading

Thanks for the translation @JiscaH! @rvosa or @JSHuisman, any chance either of you are able to proofread?

I can proofread this afternoon.

That's great, thanks!
Perhaps we need an extra proofreader, to unburden you guys at least some of the weeks?  @cassiawag ?

Done.

Published and tweeted: https://nextstrain.org/narratives/ncov/sit-rep/nl/2020-05-01?f_region=Europe
Thank you all!
Per your comment, @JiscaH, yes, I think I'll reach out to my backup list. The 2nd thing is it worth translating these reports that don't necessarily focus on the Netherlands? For example, next week's report will probably focus on Asia? Should we only translate into languages commonly spoken in Asia? I'm assuming that most academics who are learning about the outbreaks worldwide and for whom reports in other parts of the world might be useful will be able to read the English version.

I have no idea how many people read the report in dutch each week, but I imagine that a fair proportion of them are interested in the worldwide situation, not just the situation in the Netherlands. @cassiawag you probably have a better idea based on page views of the previous reports.
On a related note -- it's not quite obvious (to me at least) how to navigate from the main webpage to older situation reports.

Personally I don't mind to translate them, but I am curious how many people read them in Dutch. Within Europe, the NL is one of the countries where a lot of people are on a C1 or C2 level of English. Perhaps they will just go for the English version. Although, it is also good for the archives right? It gives me something to do and to look out for, slowly turning crazy writing my master's thesis...
I think the most added value would be if there is a translation into Dutch, together with a change in tone of the pieces, since they are now written highly scientific and still hard to understand for the layman, but that's a whole different avenue.

Thanks for the feedback, @roanvanscheppingen & @JiscaH. We're doing a review of translations this week and will definitely take your thoughts into consideration!
Currently, there isn't a good way to navigate to older reports. You can only do so by changing URLs. We're working to address this; see here: https://github.com/nextstrain/nextstrain.org/pull/156, but I'm not sure when this will be fixed.
Agreed that the tone is scientific. That's primarily because our (1) audience is public health people, (2) researchers, and (3) the public. Because there's been so much public interest in covid, the situation reports are definitely being read by them, and we recognize that by trying to use simple language where possible, but our target audience is public health.
In regards to page views, I'm pulling this from Google Analytics which under counts pageviews because many people have it disabled on their browser. From March to early April, there were ~1,000 to ~4,600 pageviews for each narrative. Those numbers have seriously tailed off since with 145 pageviews for the April 24 report.  This could reflect a lot of things: less public interest in COVID spread, non-relevance of content for readers, poor promotion via Twitter, etc.
I hadn't looked at the pageviews in a while and I think those number do suggest some kind of re-think around translations.


PyYAML 5.4.1 in source/requirements.txt does not install due to release of cython3.0

New user - running "source setup.sh".
I have tried python3-10.12 and python3-11.4.
Installing PyYAML5.4.1 from source/requirements.txt fails:
Collecting PyYAML==5.4.1
Using cached PyYAML-5.4.1.tar.gz (175 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [48 lines of output]
running egg_info
writing lib3/PyYAML.egg-info/PKG-INFO
writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
writing top-level names to lib3/PyYAML.egg-info/top_level.txt
Traceback (most recent call last):
File "/proj/work/gwolski/aws-eda-slurm-cluster/source/.venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/proj/work/gwolski/aws-eda-slurm-cluster/source/.venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/proj/work/gwolski/aws-eda-slurm-cluster/source/.venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-icxoyvdw/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/tmp/pip-build-env-icxoyvdw/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-icxoyvdw/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 271, in
File "/tmp/pip-build-env-icxoyvdw/overlay/lib/python3.10/site-packages/setuptools/init.py", line 103, in setup
return distutils.core.setup(**attrs)
File "/tmp/pip-build-env-icxoyvdw/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/tmp/pip-build-env-icxoyvdw/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/tmp/pip-build-env-icxoyvdw/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/tmp/pip-build-env-icxoyvdw/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 963, in run_command
super().run_command(command)
File "/tmp/pip-build-env-icxoyvdw/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-icxoyvdw/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 321, in run
self.find_sources()
File "/tmp/pip-build-env-icxoyvdw/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 329, in find_sources
mm.run()
File "/tmp/pip-build-env-icxoyvdw/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 550, in run
self.add_defaults()
File "/tmp/pip-build-env-icxoyvdw/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 588, in add_defaults
sdist.add_defaults(self)
File "/tmp/pip-build-env-icxoyvdw/overlay/lib/python3.10/site-packages/setuptools/command/sdist.py", line 102, in add_defaults
super().add_defaults()
File "/tmp/pip-build-env-icxoyvdw/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
self._add_defaults_ext()
File "/tmp/pip-build-env-icxoyvdw/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
self.filelist.extend(build_ext.get_source_files())
File "", line 201, in get_source_files
File "/tmp/pip-build-env-icxoyvdw/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 107, in getattr
raise AttributeError(attr)
AttributeError: cython_sources
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
Searching internet suggests cython3.0 release breaks this.  Removing version requirements gets past this problem.  I am hesitant to go to latest as I do not understand why 5.4.1 was locked in the requirements.txt file, yet many other things aren't versioned.
To reproduce:
git clone git@github.com:aws-samples/aws-eda-slurm-cluster.git
cd aws-eda-slurm-cluster
source setup.sh
Running on Rocky 8, system default python is 3.6.8, not high enough, so I'm using 3.10.12.

I was able to reproduce the error with Rocky 8 and python 3.11 (3.10 wasn't available in yum). Verified the fix and add instructions on how to use latest python versions.

Just pulled the latest release.  You have PyYAML>=5.4.1 in the requirements.txt file. It needs to be PyYAML>5.4.1.  5.4.1 would break the setup.


Counting Number of Inversions

Problem Link
https://www.hackerrank.com/challenges/ctci-merge-sort/problem
Coding platform
Hackerrank
Programming language

[ ] C
[ ] C++
[ ] Java
[ ] Python

Additional context (OPTIONAL)
Trick to do it in O(nlogn) time using divide and conquer.

Can submit solution for python and c++

@Nivedita967
I would like to solve it in Java. Please assign it to me in Java.

@Nivedita967
Is this issue still open?

@Nivedita967
Is this issue still open?

Yes, Go for it.

I would like to work in python. Kindly assign it to me :)

will do it in C++

can i work on this in C++?

Hello @Nivedita967 , Please review the PR and let me know if any change is required. :)

will do it in C++ if issue still open

I have assigned you issues, please complete them.

can i work on this in C++?

@kanak22 You go ahead for C++

@JASKAMAL22 I have requested changes in your pull request. Check it ASAP.

@Nivedita967 can I work in C??


Updated CC docs - part 1

Purpose

fixes https://github.com/wso2/docs-apim/issues/5030
Following fixes for https://github.com/wso2/docs-apim/issues/5014

Reviewed and updated en/docs/deploy-and-publish/deploy-on-gateway/choreo-connect/getting-started/choreo-connect-overview.md
Reviewed and updated en/docs/deploy-and-publish/deploy-on-gateway/choreo-connect/getting-started/supported-features.md
Fixed formatting issues

@pubudu538 , I updated this PR based on the comments.


It's impossible to send durable messages with AMQP Sink

To make messages persistent it's necessary to do two things: make the queue durable and set DeliveryMode = 2 for each message. The former is simple:
let queueDeclaration = QueueDeclaration.Create(queueName).WithDurable(true)`

But the latter is impossible with the current implementation:
    Source
        .From(seq { 1..1_000 })
        .Select(fun x -> x |> string |> ByteString.FromString) // no way to set basic properties
        .To(sink)
        .Run(mat)
    |> ignore

Sample is here https://github.com/vasily-kirichenko/AmqpStreams/blob/master/AmqpStreams1/Program.fs

you have to use  AmqpSink.create(...) and then set for example:
new OutgoingMessage(elem,false,false,
Optional.of(new AMQP.BasicProperties.Builder()
.deliveryMode(2).build()),
Optional.empty()))
this will create persistent message in rabbit

Yes, thanks.


Jobs actions are showing with "none"

*Description of issue:
In the browse menu, when selection a job and looking at the actions to get money some items that are showed with "none", instead of item's name. https://prnt.sc/qqy4xb
Server Type (Spigot/Paperspigot/etc): paperspigot
Server Version (using /ver): 1.12.2-R0.1-SNAPSHOT

same issue here 1.12.2

latest version paper 1.12.2 (1618) and default config

a707bf8155ddb1e4fa1055083e728c05e148e52a

issue with planks^^ same problem


refactor: swap raw hex colors to CSS variables

Fixes #4566
Mostly uses colors from the existing variable sets and adds one new variable.

Update to include feedback.  And reversed pulled to ease PR merge.


git merge file cli arguments misnamed

Current behavior 😯
Both "ours" and "theirs" are documented as "ours" in help
gix merge file --help
Merge a file by specifying ours, base and theirs

Usage: gix merge file [OPTIONS] <OURS> <BASE> <OURS>

Expected behavior 🤔
gix merge file --help
Merge a file by specifying ours, base and theirs

Usage: gix merge file [OPTIONS] <OURS> <BASE> <THEIRS>

Git behavior
No response
Steps to reproduce 🕹
No response

Thanks a lot, a fix is on the way!


WIP Folding: use Sponge trait from Kimchi

Note: might not be that easy as challenges must be continuous and the sponge state as to be propagated through folding instances.

Closing in favor of https://github.com/o1-labs/proof-systems/pull/2180.


Langchain CSV Agent not Returning Relevant Data

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
self.agent = create_csv_agent(
            ChatOpenAI(temperature=0, streaming=True, max_tokens=4000, model_name="gpt-3.5-turbo-16k"),
            path=os.path.join(os.path.abspath(""), "test", "regression", "4", "finance.csv"),
            verbose=True,
            agent_type=AgentType.OPENAI_FUNCTIONS,
            pandas_kwargs={
                # 'decode':'latin-1',
                'encoding':'latin-1'
            },
            reduce_k_below_max_tokens=True,
            handle_parsing_errors=True
        )

Error Message and Stack Trace (if applicable)
No response
Description
I have been working on creating a CSV agent using Langchain, but unfortunately, the results are not as expected. The data returned is not relevant and seems to be of poor quality. I am unable to extract any meaningful information from it, causing a setback in my project development.
Steps to Reproduce

Implementing a CSV agent using Langchain.
Retrieving data from a CSV file.
Analyzing the returned data for relevance.

Expected Behavior
The Langchain CSV agent should return relevant and accurate data extracted from the CSV file, suitable for further processing and analysis.
System Info
System Information

OS:  Windows
OS Version:  10.0.19045
Python Version:  3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]

Package Information

langchain_core: 0.1.33
langchain: 0.1.13
langchain_community: 0.0.29
langsmith: 0.1.31
langchain_experimental: 0.0.55
langchain_openai: 0.1.1
langchain_text_splitters: 0.0.1

Packages not installed (Not Necessarily a Problem)
The following packages were not found:

langgraph
langserve

Try to use a custome prefix and sufix, and add context of csv (like the name of the columns or what the data is talking about/ summary) , the csv agent convert the data into a dataframe


java.lang.ArithmeticException

Hi @maitrungduc1410
I was preparing my app on the PlayStore and then they reported this issue
Exception java.lang.ArithmeticException: divide by zero
  at com.videotrim.widgets.VideoTrimmerView.mediaPrepared (VideoTrimmerView.java:94)
  at com.videotrim.widgets.VideoTrimmerView.lambda$initByURI$0 (VideoTrimmerView.java:5)
  at android.widget.VideoView$2.onPrepared (VideoView.java:499)
  at android.media.MediaPlayer$EventHandler.handleMessage (MediaPlayer.java:3348)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:223)
  at android.app.ActivityThread.main (ActivityThread.java:7664)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:592)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:947)

Device Google Pixel 5 1080x2340 Android 11 (SDK 30) 8,192 MB arm64-v8a en_ZA
I had a quick look at the code and I can see on two places where you doing division in mediaPrepared() method
1. VideoTrimmerUtil.mThumbWidth = VideoTrimmerUtil.THUMB_HEIGHT * bitmap.getWidth() / bitmap.getHeight();
AND
2.  VideoTrimmerUtil.MAX_COUNT_RANGE = Math.max((VIDEO_FRAMES_WIDTH / VideoTrimmerUtil.mThumbWidth), VideoTrimmerUtil.MAX_COUNT_RANGE);
I doubt that it will be number 2. I'm assuming it is number 1. Do you think there is a chance that bitmap.getHeight() might be 0?
This is how I call the code
  showEditor(data.uri, {
          maxDuration: 60,
          enableCancelDialog: false,
          enableSaveDialog: false,
          saveButtonText: 'Upload',
        });

I have not personally seen this crash happen. I have only noticed that on old Huawei device I can't open the trimming but still need to investiage this one wondering if it might be related.
Let me know if you need anything else.

hi, thanks for reporting the issue. Lemme check and get back to you

is it possible for you to ask them for a screen recording/screenshot.

@maitrungduc1410 for this particular crash it unfortunately did not have a screenshot. Here is what I see on the PlayStore.

hi @LianVyv  please upgrade to 2.2.11, I added a fallback for this. Check here

@maitrungduc1410 seems like this one is sorted thanks


Quick Setup

Hi, I wanted to know if there's a way to access Quick Setup without having to do a whole Pomodoro set. Currently, the Quick Setup option only shows up on the menu after you've completed an entire Pomodoro set, and after the long break. Sometimes I need to set a long break for lunch, and it doesn't always neatly fall after 4 Pomodoros. If I have the option to access Quick Setup at any time, it would solve this issue for me. Otherwise I love the extension 😊

Hi @enateur, there is no way to enter Quick Setup during a session since it encourages cheating.
I can suggest another solution for your situation:
In the Settings enable "start breaks manually" and "skip to break button", this way you can control when you start the break, so you can go for lunch and start the short break when you are done. A better solution would be to set less pomodoros in a set, maybe only 1 or 2 with a shorter long break if you are not sure when you go for lunch, and take a long break manually when you need it.
Go over the full settings and customize it as you wish, 4 pomodoros is just my default recommendation :)

Hi @enateur, there is no way to enter Quick Setup during a session since it encourages cheating. I can suggest another solution for your situation: In the Settings enable "start breaks manually" and "skip to break button", this way you can control when you start the break, so you can go for lunch and start the short break when you are done. A better solution would be to set less pomodoros in a set, maybe only 1 or 2 with a shorter long break if you are not sure when you go for lunch, and take a long break manually when you need it.
Go over the full settings and customize it as you wish, 4 pomodoros is just my default recommendation :)

Hi, thank you for that suggestion. I will try that today and see how it works for me. Thank you!


Duplicate class error on Android for ffmpeg

First of all, thank you for this library.
I was using ffmpeg-kit-react-native to edit video metadata on Android. I also needed a way to trim videos, so I used this library. I would get multiple Duplicate class errors when building for Android because of mismatched FFmpeg packages in the project. Using
ext {
    ffmpegKitPackage = "<package name>"
}

didn't help me.
I suggest adding additional steps to the readme for conflicting install cases. My solution was editing the android/app/build.gradle file like so:
dependencies {
    ...
     modules {
        module('com.arthenica:ffmpeg-kit-https') {
            replacedBy 'com.arthenica:ffmpeg-kit-min'
        }
    }
}

I found the above solution in this blog post:
https://tomgregory.com/gradle/how-to-exclude-gradle-dependencies/#option-3-module-replacement-exclude-alternative
I've also opened an issue in ffmpeg-kit repo here -> https://github.com/maitrungduc1410/react-native-video-trim/issues/new for further discussion if needed.

hi, ffmpeg-kit-react-native also uses ffmpegKit under the hood, so we can just sync the version between both and it should be fine (technically)
buildscript {
    ext {
        ffmpegKitPackage = "full" // default "min"

        ffmpegKitPackageVersion = "5.1.LTS" // default 6.0-2
    }

You just need to find out which ffmpegKit version of ffmpeg-kit-react-native, then use the above code

upon checking latest source of ffmpeg-kit-react-native, the default version is com.arthenica:ffmpeg-kit-https:6.0.2
then to make it work with my lib you should edit android/build.gradle like:
buildscript {
    ext {
        ffmpegKitPackage = "https"

        ffmpegKitPackageVersion = "6.0.2"
    }

@maitrungduc1410  thank you for getting back, I think I tested this and it didn't work. That said, I'll test it once more and get back to you.  I was trying to use the min package but It has been over a month since so I can't remember the exact details.

I am going to close this issue as I haven't had the time to test it yet, I'll re-open it if I have the time to test it. Thank you

upon checking latest source of ffmpeg-kit-react-native, the default version is com.arthenica:ffmpeg-kit-https:6.0.2
then to make it work with my lib you should edit android/build.gradle like:
buildscript {
    ext {
        ffmpegKitPackage = "https"

        ffmpegKitPackageVersion = "6.0.2"
    }

I tried the steps you've provided, and I got a different issue. However @ISnowFoxI 's solution worked for me. Adding the error below

@vjkrishna21 so does it work now?

Yes. The debug build worked. I'll make sure to keep you posted on the release build. Can you maybe try to create a new example app on yourside with react-native-video-trim and ffmpeg-kit-react-native as dependencies to understand the exact issue and maybe update the README with an appropriate fix?

@techbyvj have you checked my README?
In there I wrote solution to solve this issue. And to make sure it's correct, I did generate new project just now and tried.
Initial pod install (after yarn add react-native-video-trim + ffmpeg-kit-react-native):

With the guide in the README we can find out that ffmpeg-kit-react-native is using https 6.0.2
Then run this:
FFMPEGKIT_PACKAGE=https FFMPEG_KIT_PACKAGE_VERSION=6.0.2 pod install

And it's successful now:


refactoring source_maps

source_maps was a kitchen sink before we had other uses for what we have there. It should probably be refactored as follows:
 - span - should be its own pacakge
 - source_maps parser & builder should stay
 - refactor & printer - should go to code_transformers?

This issue has been moved to dart-lang/source_maps#11.


Can't disable emoji from appearing in icon picker

Describe the bug
I am unable to disable emoji from appearing in the icon picker. I don't like the inconsistency of using emoji as icons (I only use Lucide icons) and would never use them, however there appears to be no way to disable it. In the documentation there appears to be a way to set it to None however that does not appear to be present for me.
To Reproduce
Steps to reproduce the behavior:

Go to Iconize settings.
Find 'Emoji style'.
Click on dropdown.
No option to disable emoji, which is different from how it appears in the documentation.

Expected behavior
Able to disable emoji from appearing in the Icon picker.
Screenshots

This is a duplicate of #525. I'll close this issue for now.