Wrong gpr lib version or lib not found

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

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

I trying to build Skywalking agent for PHP via PEAR, but i have instantly  error.
Pecl install skywalking
Wrong gpr lib version or lib not found
I rebuilt cmake and grpc for 3 time but it make no difference.

Expected behavior
A clear and concise description of what you expected to happen.
Skywalking PHP agent installation
Screenshots
If applicable, add screenshots to help explain your problem.
PHP (please complete the following information):

OS: [e.g. Centos]
Browser [e.g. chrome, safari]
Version [e.g. 7.0.0]
PHP ini
PHP 7.4
My OSs Centos 7.9 and Oracle Linux 7.9
gcc (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11) from devtoolset-10
cmake 3.20.0-rc1 built from sources i try with 3.6 but same error
grpc for c++ 1.37.0 stable built from sources, i try with 1.38 - but same error

SkyWalking (please complete the following information):

OS: [e.g. Centos]
Browser [e.g. stock browser, safari]
Version [e.g. 6.4]
Skywalking 4.1.2 agent for PHP
Additional context
Add any other context about the problem here.

gRPC was not found in the installation directory

gRPC was not found in the installation directory

Why is not found?
Installing script detected GRPC and Protobuf files in usr/local. At this path GRPC is present and its files are also presentе.

Which file need to be searched? What is the grp lib?

Can you provide me the location of grpc.{so,h}?

Can you provide me the location of grpc.{so,h}?

/usr/local/include/grpc/grpc.h
Grpcs libs include into /usr/local/lib - what file name for grp lib?

Try grpc 1.31

Try grpc 1.31

I finally  built it up. Need to add this line for cmake before compiling grpc -DBUILD_SHARED_LIBS=ON in my case. Thank you and close this task! Have a good day.

Try grpc 1.31

I finally built it up. Need to add this line for cmake before compiling grpc -DBUILD_SHARED_LIBS=ON in my case. Thank you and close this task! Have a good day.

it works for me


Pass around RandomState instead of overwriting seeds

A shared set_seed is implemented in the latest version of Snorkel.


Export encrypted files to openssl compatible format

I'd like to be able to export my files to an industry standard encrypted file format so that I can be sure that my data is safe and always retrievable.
If this issue is resolved, I'll post a bounty for automatic Dropbox sync.
Related to #149.

I just posted a $10 bounty on this bug: https://www.bountysource.com/issues/40751368-export-encrypted-files-to-openssl-compatible-format


Android testing broken since Gradle 4.2

Based on this reddit post: https://www.reddit.com/r/androiddev/comments/71c1sz/gradle_42_released/ and https://issuetracker.google.com/issues/65869429.
Gradle 4.2 broke espresso/instrumentation tests for Android Gradle Plugin.
Expected Behavior
The tests should run.
Current Behavior
> Task :roomDatabase:connectedDebugAndroidTest
Starting 37 tests on 5x-26(AVD) - 8.0.0

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':roomDatabase:connectedDebugAndroidTest'.
> Could not initialize class com.android.build.gradle.internal.test.report.AllTestResults

Steps to Reproduce (for bugs)
./gradlew connectedDebugAndroidTest
Your Environment
Gradle 4.2-rc-2 (happens on 4.1 as well)
Gradle Android Plugin version 3.0.0-beta6 (happened on beta2 as well)
Compile SDK version: 26
Build tools version: 26.0.1
Sdk tools version: 26.1.0
Possible solution
Could we add a single unit test and instrumentation test case for Gradle? This way we can ensure the latest Gradle releases work with existing versions of the Android Gradle plugin.

Might be a good enhancement to org.gradle.smoketests.AndroidPluginsSmokeTest. Would you be interested in contributing?

Yes I would!
On Sep 22, 2017 4:45 PM, "Benjamin Muschko"<EMAIL_ADDRESS>wrote:

Might be a good enhancement to org.gradle.smoketests.
AndroidPluginsSmokeTest. Would you be interested in contributing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gradle/gradle/issues/3006#issuecomment-331584224, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABqMSA1Fs9tBGuw41Oq_hfrGFaBKrUHMks5slEaJgaJpZM4Pg9VN
.

Currently 4.1 works well, I have an example test project here: https://github.com/jaredsburrows/android-gif-example.
I am not sure whether or not to consider this apart of core or not.
I can reproduce the error in this project/branch that is apart of that repo in a PR here: https://github.com/jaredsburrows/android-gif-example/pull/41.

@bmuschko It looks like Xavier marked this issue as fixed in the Android tracker: https://issuetracker.google.com/issues/65869429. Maybe this was an AGP problem?
I still think that we should have some integration tests for this.

We definitely should update our tests to check against the latest agp versions.

Is Gradle 4.2 supposed to be compatible with AGP 2.3.x or only AGP 3.x?
I am asking because I got this issue with AGP 2.3.2 (also tried 2.3.3) after updating Gradle from 3.5 to 4.2.

@bmuschko @oehme Where is the .travis.yml file? How are you all updating the SDK for tests?

@jaredsburrows Thanks for providing the sample project. Is there a way to reproduce the issue without having to connect an Android device?

Where is the .travis.yml file?

Which Travis file are you referring to? We are running the Android smoke tests on TeamCity.

How are you all updating the SDK for tests?

I believe that is done in the infrastructure of the agents but I'd have to check.

This is what I believe is happening:
When running the example project I get the following stack trace:
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.android.build.gradle.internal.test.report.AllTestResults
        at com.android.build.gradle.internal.test.report.TestReport.loadModel(TestReport.java:60)
        at com.android.build.gradle.internal.test.report.TestReport.generateReport(TestReport.java:55)
        at com.android.build.gradle.internal.tasks.DeviceProviderInstrumentTestTask.runTests(DeviceProviderInstrumentTestTask.java:173)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.doExecute(DefaultTaskClassInfoStore.java:142)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:135)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:122)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:762)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:729)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:121)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:110)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)
        ... 29 more

The stack trace indicates that the class AllTestResults cannot be initialized. I couldn't find the Android source code online so I had to download the sources from the repository:
repositories {
    google()
    jcenter()
}

configurations {
    android
}

dependencies {
    android group: 'com.android.tools.build', name: 'gradle-core', version: '3.0.0-beta6', classifier: 'sources'
}

task copy(type: Copy) {
    from configurations.android
    into "$buildDir/libs"
}

The line 60 in TestReport creates a new instance of AllTestResults:
AllTestResults model = new AllTestResults();

We can find the following hierarchy of parent classes for AllTestResults:
AllTestResults extends CompositeTestResults extends TestResultModel.
The class TestResultModel instantiates a field of the Gradle core internal type DurationFormatter:
public static final DurationFormatter DURATION_FORMATTER = new DurationFormatter();

In Gradle 4.1 the class DurationFormatter lived in package org.gradle.reporting.
In Gradle 4.2 the class was moved to the package org.gradle.internal.logging.format and became an interface. The actual implementation is now TersePrettyDurationFormatter.

The change between 4.1 and 4.2 was a breaking change even though it was an internal API. Given that the class also became an interface I don't think we can just move back the class. I'd suggest that the Android plugin implements its own time formatting along the lines of org.gradle.internal.time.TimeFormatting instead of relying on an internal API that could easily be implemented in the plugin as well. The logic isn't really that complicated. In the long run we could think about exposing a public API for (test) report generation. That would also align we some of the goals we discussed before for plugin developers.

The Android team fixed it for 3.0, but 2.3 remains broken. I suggest we restore the old DurationFormatter class, add @Deprecated and remove it in Gradle 5.0. This would be an easy fix and would allow Android 2.3 users (the vast majority) to enjoy Gradle 4.2.

@bmuschko I'll take this one over so you'll have more time for #2832 and #2837

@oehme I already started to refactor existing Android smoke tests and set up unit/instrumentation tests in this branch bm/android-smoke-tests. You can continue to commit to that branch.

Is there a way to reproduce the issue without having to connect an Android device?

Sadly "android tests" and not "unit tests" have to run on a device or an emulator.

Which Travis file are you referring to?

Sorry, I just assumed Travis.

I believe that is done in the infrastructure of the agents but I'd have to check.

If I update the build tools/sdk, will it break your current build? I just want to make sure if we upgrade to the latest release, the build server is ready.

Awesome. Just now catching up on this thread, it looks like @bmuschko is going to go ahead and update the existing smoke tests?

Yes, the tests have been adjusted together with the fix, see the linked Pull Request.

@jaredsburrows I think there's more we can do to cover unit and instrumented testing. Feel free to have a look at my branch and create a PR to improve even more.

Thanks @oehme and @bmuschko.
If I were to add on to @bmuschko's branch, should I wait for both of your PRs to be merged in to master first?

@jaredsburrows I'd wait for @oehme's PR to be merged. After that you can create a new PR. I'd just copy/paste the changes you think are useful from my branch.

Sounds great, thanks!

The fix has been merged into release.

This issue seems to be resolved in Gradle 4.3-rc-1.

It was fixed in 4.2.1.
On Oct 13, 2017 8:43 AM, "Igor Ganapolsky"<EMAIL_ADDRESS>wrote:

This issue seems to be resolved in Gradle 4.3-rc-1.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gradle/gradle/issues/3006#issuecomment-336489837, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABqMSE6VB2pMFj4o0TtuKcDa2XUXJMpfks5sr4UEgaJpZM4Pg9VN
.


Facing issues with login after install

Seccubus Version : 2.46-1
I followed the link https://www.seccubus.com/documentation/12-installation-on-debian/ for installation on my Ubuntu 14.04.4 LTS. Installation went well and i did not hit any error,
Then navigated to https://my linux box ip:8443/seccubus/seccubus.html
I tried first the default password "GiveMeVulns!", but it didnt work. The page again came back to login page with blank username/password fields.
I then went for a new password using below cli, but after that also i am not able to login to Seccubus using the admin user and new password.
root@ubuntu1404:/opt/seccubus/bin# ./seccubus_passwd -u admin
Password :
Repeat   :
Password set succesfully
Any suggestions group?   Any way to disable the entire login feature?

Can you make a screenshot of the status tab for me?

Here is the screenshot of the status tab. No green checks seen or nothing coming up

Checked that Seccubus is installed fine:
root@ubuntu1404:~# dpkg -l seccubus
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                 Version                 Architecture            Description
+++-====================================-=======================-=======================-=============================================================================
iF  seccubus                             2.46-1                  all                     Automated regular vulnerability scanning with delta reporting
root@ubuntu1404:~#

This should be resolved with the new mysql files.


listCommand

MLSD for Directory download, and few dart analysis corrections

You don't have to change the default value. you can simply use :
  _ftpConnect.listCommand = ListCommand.LIST;
For emptyDirectory, make it in independent PR to review & merge it.


Ensure all data stored in the S3 bucket is securely encrypted at rest

Possible check to target the following resource

[ ] aws_s3_bucket

covered by aws017


How to get the plugin work

I tried to download your v0.2.0 release version and copied it to the desired obsidian installation, but it fails to load, also after trying to activate it fails and building from source is not working under MacOS. Sadly there is no information of how to get it work. Could you either try to provide a final version that one could use, or tell what one needs to do to get it working.

Sorry about that, don't know how I forgot to attach the compiled plugin to the release. The files have been uploaded.


Improve security of the App Generator server

Right now, the web user, www-data has been given sudo permission for executing scripts on the server.
But this is not a good choice and leaves the server open to any security exploits.
So we need to change our current settings to allow web-user to run only few scripts as root and not declare it as a root user.
I researched a bit on how can we do this on stackoverflow but their solution doesn't seem to work, so we need to come up with something to sort this issue when our generator goes into production.

Ok, so it seems like if I just allow the web-user to access .bashrc and .muttrc as root this should work.
Possible this was the very reason as to why the sent emails were being registered as spam.

Done!


Battery Health - LFP "Usable (new)" calculation not realistic

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
The new Battery Health - LFP dashboard shows me 83.7 kWh for a new battery. I have a late 2021 SR+ Model 3 with the 60/62 kWh LFP battery.

Expected Behavior
The normal Battery Health Dashboard shows correct values:

Steps To Reproduce
No response
Relevant log output
-

Screenshots
No response
Additional data
No response
Type of installation
Docker
Version
v1.28.2

I have a 2022 SR+ Model 3 which was the first official 2022 cars delivered in North-America (Canada) with LFP batteries as I received it in January (In the USA few SR+ LFP cars have been shipped in Autumn 2021 as part of a testing effort if I recall it).  I dont have the problem reported here.  Would it be possible that the late 2021 cars had a different LFP batterie?  (I am not searching for an answer, just mentioning it in case it could help resolve the situation, although we dont know from which part of the world the owner is reporting this situation).
The only difference that I am observing is about the expected results that show an "Usable (new)" value of 60.8, while I receive a 60.4 value.

Reporting from Germany. :)
I am just wondering because in (https://github.com/teslamate-org/teslamate/pull/3311) it states:
"Battery Health - LFP: The current SOC bar has a red zone only on the lower end."
Meaning the Battery Capacity calculation should not have changed compared to the "Not LFP - Battery Health".
As mentioned the "Non LFP" Battery Health Dashboard shows realistic values that can be backed up by Scan My Tesla BMS Data.

The issue still remains for me with 1.28.5.


Azure release 16.1.1

Azure 16.1.1 release to handle AzureClusterConfig CR on upgrade.

ℹ Team phoenix is drafting Azure 16.1.0 Release, mainly to provide fix for CVEs.
Target release date:
Release PR: https://github.com/giantswarm/roadmap/issues/619
Pre-Release

[x] Create release ticket on Releases board. If you are using this template, just select the Workload Cluster Releases Github project on the right sidebar.
[x] Make an announcement on the appropriate product Slack channel (#product-kaas, #product-managedapps or #product-empowerment) that team is doing a release. Include a link to this issue.
[x] Make sure release was tested by creating new cluster, upgrading from older version and with HelloWorld app.
[x] Aggregate release notes from all changed components and add to README.md in the release directory.
[x] Send draft release announcement to the appropriate product Slack channel (#product-kaas, #product-managedapps or #product-empowerment) for review ASAP. You can use opsctl like explained here.
[x] Verify documentation is up to date.

Releasing

[x] Create release PR
Instructions

[x] Define new release in release.yaml file.
[x] Activate new release by setting state to active.
[x] Make sure that the release.yaml has an up-to-date date specified on the date field.
[x] Deactivate old release if it's within same major version (state: deprecated). Verify with PO if you have doubts.
[x] Check versions of all components included. They shouldn't be lower than those in the previous release unless there was a rollback.

Example PR

[x] Release relevant operators.

[x] Tag release branch.
[x] Bump operator version in draft release.

[x] Make sure that WIP releases in releases repo branch are removed and not merged to master since the master branch is deployed automatically after merging PR and that would make WIP releases visible in customers’ installations which should generally not happen.

At this point the Release will be available for all customers on all installations, but we haven't notified them yet.
Post-Release

[x] Update front-end cluster with the new release.
[x] Verify release is available on all installations. You can use this script.
[x] Send out release announcement to all customers according to these instructions.
[x] PO subscribes to release posts on Slack to get notifications if there are follow-up messages.
[x] Close release task on Releases board.


Add espanso

[X] I have checked that this app does not already have a pending request and has not previously been declined.
App Name: espanso
Download URL: https://github.com/espanso/espanso/releases
Website URL: https://espanso.org/
App Summary:  Cross-platform Text Expander written in Rust

I use espanso regularly on 2 machines running Linux Mint and Windows. Would be great if you can integrate it in deb-get!

Recently a bug that was preventing espanso to run on Debian 12 was fixed:
https://github.com/espanso/espanso/issues/1674
Fixed since 2.2.0:
https://github.com/espanso/espanso/releases


Wrong workday info for country HR

Today (Oct. 8, 2020) my alarmclock automation did not go off, because my workday sensor gave the wrong info (no workday). This day used to be a holiday in Croatia, but is not anymore.
binary_sensor:

platform: workday
country: HR

Hi,
fix merged in beta.. thank you very much @haseat and @mborsetti !
Cheers
dr-p


Calling signoutRedirectCallback is not logging-out the user from Identity Server

I have a React application using the Identity Server 4 service for authentication. Login and Logout work perfectly. But I have a scenario to signout user from the React application and Identity Service if there is an exception happened and redirect to a page which shows "Some error has occurred, Please contact Administrator".
For this, I have used signoutRedirectCallback as shown below but it doesn't sign out the user from the Identity Service.
signoutRedirectCallback = () => {
    this.userManager.signoutRedirectCallback().then(() => {
      window.location.replace(`${process.env.PUBLIC_URL}/sessionlogout`);
    });

    this.userManager.clearStaleState();
    ClearStore();
  };

I have enabled the Debug log and these are the trace -
OidcClient.processSignoutResponse
OidcClient.readSignoutResponseState
OidcClient.readSignoutResponseState: No state in response
OidcClient.clearStaleState
WebStorageStateStore.getAllKeys
OidcClient.processSignoutResponse: No state from storage; skipping validating response
State.clearStaleState: got keys
Array(0) []
State.clearStaleState: waiting on promise count: 0
UserManager._signoutEnd: got signout response
UserManager.signoutRedirectCallback: successful
JsonService.getJson: HTTP response received, status 200
MetadataService.getMetadata: json received
MetadataService.getMetadataProperty: metadata recieved
SessionMonitor._start: Initializing check session iframe

Please let me know if you need any more details.

Why not sign the user out before redirecting to STS to signout?


TLSConfiguration.certificateRequired attribute

I have implemented a new attribute .certificateRequired in TLSConfiguration. When set to false, it makes presence of client certificates optional. If the client certificate is provided, then the customVerificationCallback will be called.  By default, the attribute is true, which is the current behaviour (failure without client certificate).
From an article referenced below, here is a quote:
"[We] tell it to accept requests with no valid certificate. We need this to handle invalid connections as well (for example to display an error message), otherwise, they would just get a cryptic HTTPS error message from the browser (ERR_BAD_SSL_CLIENT_AUTH_CERT to be precise)"
Reference: https://medium.com/@sevcsik/authentication-using-https-client-certificates-3c9d270e8326

@dnadoba Can you check it again, I pushed a new changeset.

@swift-server-bot test this please


Arm Support

Hi i tried setting up Sportyfin on my webserver (raspberry pi 4) to use in combination with Jellyfin. Sadly there is no ARM image available..

Trying Pip installation gives me the following error any ideas?
root@raspberrypi:/# pip install sportyfin --no-binary=sportyfin
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting sportyfin
Using cached https://files.pythonhosted.org/packages/ef/28/1676349c1b0eb5ad187020dde191730907aedf1af91a562cde29d2ac5cf0/sportyfin-1.0.7.tar.gz
Collecting async-generator (from sportyfin)
Using cached https://files.pythonhosted.org/packages/cf/2f/0577dc1ebcee37f5b4ace6f32da5bd2b2dc9073d82186143b75259b52123/async_generator-1.8.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-Z9lkm9/async-generator/setup.py", line 5, in
from async_generator import version
File "async_generator/init.py", line 1, in
from .impl import (
File "async_generator/impl.py", line 98
async def yield_(value=None):
^
SyntaxError: invalid syntax
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-Z9lkm9/async-generator/

This is not relevant to the program itself.


Does dataset nomalization matter in Adversarial Training?

Have you tried adversarial training without dataset normalization, which means Input <- (Input - mean) / std?
I tried TRADES on CIFAR10 without dataset normalization, and couldn't get a comparable result.
So I wonder if dataset normalization is the problem.

It seems that the official implementation of TRADES did not apply dataset normalization (https://github.com/yaodongyu/TRADES/blob/master/trades.py#L75), where the input is clamp between [0,1], not between [-mean/std, (1-mean)/std]


[SPARK-38191][CORE] The staging directory of write job only needs to be initialized once in HadoopMapReduceCommitProtocol.

What changes were proposed in this pull request?
Use a stagingDir constant instead of the  stagingDir method in HadoopMapReduceCommitProtocol.
Why are the changes needed?
The stagingDir method will be called many times  in commitJob, especially in traversing partitionPaths when the dynamicPartitionOverwrite is true.  So, we should use a stagingDir constant instead of the  stagingDir method to avoid multiple function calls.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass the CIs.

The stagingDir will be called many times in commitJob, especially in traversing partitionPaths when the dynamicPartitionOverwrite is true.
https://github.com/apache/spark/blob/25a4c5fa84d64e37cf5c27c7b2f0f29867330bf2/core/src/main/scala/org/apache/spark/internal/io/HadoopMapReduceCommitProtocol.scala#L218-L236

Codecov Report

Merging #35492 (25a4c5f) into master (d4a2e5c) will decrease coverage by 29.80%.
The diff coverage is n/a.

:exclamation: Current head 25a4c5f differs from pull request most recent head 807a639. Consider uploading reports for the commit 807a639 to get more accurate results

@@             Coverage Diff             @@
##           master   #35492       +/-   ##
===========================================
- Coverage   91.27%   61.47%   -29.81%
===========================================
  Files         297      202       -95
  Lines       64021    39860    -24161
  Branches     9903     7517     -2386
===========================================
- Hits        58437    24502    -33935
- Misses       4232    14151     +9919
+ Partials     1352     1207      -145

Flag
Coverage Δ

unittests
61.47% <ø> (-29.79%)
:arrow_down:

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

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

Can one of the admins verify this patch?

/cc @srowen Can you help me  review this pr ? thanks.

OK, I suppose lazy forces it to be recomputed on the executor?

I think so, and this optimization makes sense for executors.

Merged to master

Thanks for your reivew @srowen

cc @weixiuli @srowen This change would cause test failure with Hadoop2:
./build/sbt -mem 4096 -Phadoop-2 "sql/testOnly org.apache.spark.sql.sources.PartitionedWriteSuite -- -z SPARK-27194"

...
[info]   Cause: org.apache.spark.SparkException: Task not serializable
...
[info]   Cause: java.io.NotSerializableException: org.apache.hadoop.fs.Path
...

It looks like it's because org.apache.hadoop.fs.Path is serializable in Hadoop3 but not in Hadoop2.

Ah, darn. OK I think we have to revert it unfortunately

+1 to revert

Reverted, sorry @weixiuli , maybe you were right that this needed transient after all! maybe try it again and check against Hadoop 2.

maybe you were right that this needed transient after all! maybe try it again and check against Hadoop 2.

OK, i will  check against Hadoop 2 with transient.


Tweak styles of the Referral page

Details

The PR replaces a main icon of the Referral page. Also, it standardizes text styles and spacings.
Fixed Issues

$ https://github.com/Expensify/App/issues/33046
PROPOSAL: N/A
Tests

Open the Referral page.
Verify that UI corresponds requested mockups.

[X] Verify that no errors appear in the JS console

Offline tests

Same as "Tests".
QA Steps

Same as "Tests".

[X] Verify that no errors appear in the JS console

PR Author Checklist

[X] I linked the correct issue in the ### Fixed Issues section above
[X] I wrote clear testing steps that cover the changes made in this PR

[X] I added steps for local testing in the Tests section
[X] I added steps for the expected offline behavior in the Offline steps section
[X] I added steps for Staging and/or Production testing in the QA steps section
[X] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[X] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[X] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[X] I included screenshots or videos for tests on all platforms
[X] I ran the tests on all platforms & verified they passed on:

[X] Android: Native
[X] Android: mWeb Chrome
[X] iOS: Native
[X] iOS: mWeb Safari
[X] MacOS: Chrome / Safari
[X] MacOS: Desktop

[X] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[X] I followed proper code patterns (see Reviewing the code)

[X] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[X] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[X] I verified that comments were added to code that is not self explanatory
[X] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[X] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[X] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[X] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[X] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[X] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[X] I verified the JSDocs style guidelines (in STYLE.md) were followed

[X] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[X] I followed the guidelines as stated in the Review Guidelines
[X] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[X] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[X] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[X] I verified that if a function's arguments changed that all usages have also been updated correctly
[X] If any new file was added I verified that:

[X] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[X] If a new CSS style is added I verified that:

[X] A similar style doesn't already exist
[X] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[X] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[X] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[X] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[X] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[X] If the PR modifies the form input styles:

[X] I verified that all the inputs inside a form are aligned with each other.
[X] I added Design label so the design team can review the changes.

[X] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[X] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If the PR modifies the form input styles:

[ ] I verified that all the inputs inside a form are aligned with each other.
[ ] I added Design label so the design team can review the changes.

[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

Hey @dannymcclain, are we ok with the right gap on bigger devices?

I think we should try to grow (proportionally of course) that image to go as wide as the available width if possible. Curious what @dannymcclain & @dubielzyk-expensify think though!

100% agree. Gotta fill that space!

@rezkiy37 do we need another image or can we change the image width based on screen size?

Yeah 100% let's scale that image.

Uploaded longest arms ever! 😄

I've integrated the "longest arms" icon. Looks like it really works good on mobile devices.
Commit - e41d7a6.
Examples:

https://github.com/Expensify/App/assets/57314631/b8f5865a-1aa6-4337-abe2-12920029f62b

Nice, that feels pretty good to me!

Great work. LGTM

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.26-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

I just checked the latest image looks like this for the referral page.

But for other pages we cover the top area as well. Is this a bug from this PR?

Good catch - we should be updating the status bar area with the same color as the illustration.

@mananjadhav @shawnborton I will open one more PR to fix it. Thank you!

I just checked the latest image looks like this for the referral page.

But for other pages we cover the top area as well. Is this a bug from this PR?

Missed this. I think it was this way prior to the PR.

@mananjadhav, I've prepared a draft PR. Will open soon.


Chore: add an upgrade handler for Validator-Set Preference module

Background
Validator-set preference allows users to define a set of {validatorAddress, weight} to delegate to. The is a set fee during the creation of the validator-set
Suggested Design
Add Upgrade handler
Acceptance Criteria
The upgrade handler works

Part of #2579

Closing this as we donot need fees to create valset


Mario/strict nullary constructors

Updated the tests and benchmarks, have a look.

I thought it's more common for people to expect short circuiting in their "pattern matches" though. I remember doing that a lot in our validators. Is the opposite more common for others?

I agree with Chase. Maybe there's another viable approach?

I don't see any way around the problem with the PlutusType class as it is. And I have no suggestion on how to change it either. This PR is a breaking change, obviously, so this is a good time to consider it.

Can we have a decision here, one way or another? It kinda affects how I proceed with the FFI branch.

Can we have a decision here, one way or another? It kinda affects how I proceed with the FFI branch.

yes please. I also want to try and test it out on some of my existing validators to get some idea about the difference.

Why does FFI depend on this?

It doesn't strictly depend on it, it just becomes easier. Without this PR, I'll have to add something like data PStrictMaybe with a Scott encoding that matches PlutusTx's.

I don't think we'll ever change the semantics of pmatch to strict.

Ok, it was just an experiment.


Account Switcher - GitHub URL - [Issue Report]

Wrong GitHub URL

download from https://github.com/l0c4lh057/AccountSwitcher/


Problem with  adding repository

After adding repository nothing new show up on list off addons. I see Frigate hass.io addons on my repository list, but nothing in shop. I also checked system info, and there is a warning:
22-01-21 08:30:42 WARNING (MainThread) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Frigate NVR (Full Access) Beta (0.10.0)
22-01-21 08:30:42 WARNING (MainThread) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Frigate NVR (Full Access)

Sorry, solved - webrowser cache clean up - it was it.


Deprecation all  s2i related code

After https://github.com/openshift/odo/issues/4949 is done and there is at least one odo release with that we can start removing old code from odo.

Remove all flags from odo create mentioned above
Remove all code related to s2i and ImageStreams as well as all code related to LocalConfig

/status blocked
We need to inform users about  feature deprecation
https://github.com/openshift/odo/issues/4949

/close
/triage duplicate
https://github.com/openshift/odo/issues/4932


PKGBUILD: Fix symlink creation for node

With https://github.com/ungoogled-software/ungoogled-chromium/commit/9258f5d286bf12ec1aa41feaacdec89295175a05 the directory third_party/node/linux/ is removed during pruning and needs to be recreated in order to link the system node binary.

Thanks, I was about to debug this myself :)


HDDS-1625 : ConcurrentModificationException when SCM has containers o…

…f different owners.
SCMBlockProtocolServer#allocateBlock throws ConcurrentModificationException when SCM has containers of different owners.

2019-05-31 13:53:16,808 WARN org.apache.hadoop.hdds.scm.container.SCMContainerManager: Container allocation failed for pipeline=Pipeline[ Id: 3e0eec4d-67d1-4582-a9e9-e68b0a340de6, Nodes: abaea3d2-a8c1-47de-8cdb-7cc5ed8f23a6{ip: <IP_ADDRESS>, host: v

c1340.halxg.cloudera.com, certSerialId: null}, Type:RATIS, Factor:ONE, State:OPEN] requiredSize=268435456 {}
java.util.ConcurrentModificationException
at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1211)
at java.util.TreeMap$KeyIterator.next(TreeMap.java:1265)
at org.apache.hadoop.hdds.scm.container.SCMContainerManager.getContainersForOwner(SCMContainerManager.java:473)
at org.apache.hadoop.hdds.scm.container.SCMContainerManager.getMatchingContainer(SCMContainerManager.java:394)
at org.apache.hadoop.hdds.scm.block.BlockManagerImpl.allocateBlock(BlockManagerImpl.java:203)
at org.apache.hadoop.hdds.scm.server.SCMBlockProtocolServer.allocateBlock(SCMBlockProtocolServer.java:172)

/label ozone

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
42
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

0
mvndep
71
Maven dependency ordering for branch

+1
mvninstall
580
trunk passed

+1
compile
288
trunk passed

+1
checkstyle
81
trunk passed

+1
mvnsite
0
trunk passed

+1
shadedclient
912
branch has no errors when building and testing our client artifacts.

+1
javadoc
171
trunk passed

0
spotbugs
339
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
531
trunk passed

_ Patch Compile Tests _

0
mvndep
32
Maven dependency ordering for patch

+1
mvninstall
512
the patch passed

+1
compile
295
the patch passed

+1
javac
295
the patch passed

+1
checkstyle
87
the patch passed

+1
mvnsite
0
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
715
patch has no errors when building and testing our client artifacts.

+1
javadoc
168
the patch passed

+1
findbugs
550
the patch passed

_ Other Tests _

-1
unit
183
hadoop-hdds in the patch failed.

-1
unit
1599
hadoop-ozone in the patch failed.

+1
asflicense
60
The patch does not generate ASF License warnings.

7073

Reason
Tests

Failed junit tests
hadoop.ozone.container.ozoneimpl.TestOzoneContainer

hadoop.ozone.client.rpc.TestBCSID

hadoop.ozone.client.rpc.TestOzoneClientRetriesOnException

hadoop.ozone.TestMiniChaosOzoneCluster

hadoop.ozone.client.rpc.TestWatchForCommit

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-883/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/883

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 749ee4ca8153 3.13.0-153-generic #203-Ubuntu SMP Thu Jun 14 08:52:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / c1d2d92

Default Java
1.8.0_212

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-883/1/artifact/out/patch-unit-hadoop-hdds.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-883/1/artifact/out/patch-unit-hadoop-ozone.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-883/1/testReport/

Max. process+thread count
5389 (vs. ulimit of 5500)

modules
C: hadoop-hdds/server-scm hadoop-ozone/integration-test U: .

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-883/1/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.


Implemented Dynamic Search Result Display for the homepage Search bar

Description
Initially the search bar on the homepage of the website does not filter results until the search button is clicked but in this new feature I have added dynamic displaying of results without the need of pressing the search button for the results to get filtered.

Fixes # 177

NEW FEATURE

[x] New feature (non-breaking change which adds functionality)

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] New and existing unit tests pass locally with my changes
[x] I have maintained a clean commit history by using the necessary Git commands
[x] I have checked that my code does not cause any merge conflicts

Screenshots (if applicable)

Add screen recording of the implementation. @DevanshS9881

Your PR have conflicts .

I have resolved the conflicts and also attaching a screen recording of the implementation.
https://github.com/user-attachments/assets/6a744b3a-c645-4748-9743-2bba4ce1453f


Close producer when the topic does not exists.

Fixes #6838
Motivation
Close producer when the topic does not exists.
Modifications

Fix exception handle for the topic does not exist.
Change state to Close when producer got TopicDoesNotExists exception so that the producer can close the cnx and will no longer add send timeout tasks to HashedWheelTimer.

Verifying this change
New unit tests added.
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation

Does this pull request introduce a new feature? (no)

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks


Network boot default

FIxed setting NetowrkBoot default based on PCD for current build. Applied correct flags depending on the expected default value. INTERACTIVE flag is only required for options that require the callback function to be called (NetworkBoot only at the moment). Also added RESET_REQUIRED flag to force user to reset the board to apply settings correctly.

Fixes issues: https://github.com/Dasharo/dasharo-issues/issues/355 https://github.com/Dasharo/dasharo-issues/issues/398

We need confirmation on at least one laptop before merging.

We need confirmation on at least one laptop before merging.

Well, the whole logic is on UEFI Paylaod side so it shouldn't matter if it is tested on a laptop or any other Dasharo board


Box.BoxforOffice version 4.20.1548.0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/110956&drop=dogfoodAlpha

N/A


fix start-cold paths for fonts

Thanks @mlsteele
Turns out our start-cold got broken by the webpack style loader changes. it always assumed hot
@keybase/react-hackers

👍


Azure OpenAI API instruct model not ERROR on query

Hi, I was just testing the azure OpenAI with the model "gpt35-instruct" model, which is a gpt3.5 instrcut model I have just deployed. But after setting up the model, when I was trying to make a simple query test, it shows this error:
/home/yb/.local/lib/python3.10/site-packages/lmql/runtime/bopenai/batched_openai.py:691: OpenAIAPIWarning: OpenAI: ("Setting 'echo' and 'logprobs' at the same time is not supported for this model. (after receiving 0 chunks. Current chunk time: 9.894371032714844e-05 Average chunk time: 0.0)", 'Stream duration:', 0.47087764739990234) "<class 'lmql.runtime.bopenai.openai_api.OpenAIStreamError'>"

But when I test the same query, using an openai gpt35 instruct model, it was functioning properly. Is this a problem of Azure API endpoint is different from the OpenAI version that they disabled the feature of using at the same time "logprob" and "echo"?
To configure the azure model, I am using the following code:
my_azure_model = lmql.model(
    "model_name",
    api_type="azure",
    api_base=os.getenv("OPENAI_API_BASE"),
    api_key=os.getenv("OPENAI_API_KEY") ,
    api_version="2023-09-01-preview",
    tokenizer="openai/gpt-3.5-turbo-instruct",
    verbose=True
)

I just checked the OpenAI Endpoint certification, which the echo is set to false by default. Is it possible that the implementation of Azure Endpoint are set by default to true so the query is failing?  Or I am using the wrong configuration to set the azure model? Thank you in advance!

I have the same issue. Does anyone know the cause or have a solution for this?


Two projects active at the same time

I have the same project, one inside a localhost instance of appwrite, the other deployed online in a server. They are shown as both active inside the vscode extension. If I create a new user it is added only to the localhost instance (the last one I added to the extension) and I have no way to set the remote instance as the active project.

Thanks for posting the issue!
I'm planning to fix this in an upcoming update that removes the active project idea altogether and makes working with more than one project much easier.
Here's a preview:


Maybe a Bug in snapshots

I don't know if is a bug or is the expected behavior, but when we applied a snapshot some attrs are gone, well I think is all attrs for deleted items, this line of code:
const attrs = typeMapGetAll(
      el
    );

    if (snapshot !== undefined) {
      if (!isVisible(/** @type {Y.Item} */ el._item, snapshot)) {
        attrs.ychange = computeYChange
          ? computeYChange('removed', /** @type {Y.Item} */ el._item.id)
          : { type: 'removed' };
      } else if (!isVisible(/** @type {Y.Item} */ el._item, prevSnapshot)) {
        attrs.ychange = computeYChange
          ? computeYChange('added', /** @type {Y.Item} */ el._item.id)
          : { type: 'added' };
      }
    }

we tested and if we get all attributes that are also deleted in that function everything works properly and all attributes are printed in the prose mirror state after applied the snapshot, this should take all attributes even if they are deleted when the snapshot is present, I don't know if behind of that behavior is another purpose.
thanks for your excellent work.

I'm quite sure it's a missing feature that I too noticed a while back. I have had other things that have kept my busy so kinda forgot about it. Here's my reproduction https://github.com/TeemuKoivisto/pm-node-attrs-yjs-snapshots I assume it's the same thing

Yes read your post days ago, and the solution is in that function when the snapshots are available so you are comparing, skip the condition of the deleted records.

This code can be found in variations all over the codebase. So which function are you referring to specifically?
I don't know how to reproduce this issue. Can you please provide an example?

This code can be found in variations all over the codebase. So which function are you referring to specifically?
I don't know how to reproduce this issue. Can you please provide an example?

The function typeMapGetAll get the attributes of the elements but only the ones that are not deleted, so when you compare a snapshots there is a lot of deleted attributes that are not showing in the view. If still not understanding I will send you in a couple hours and example more specific. Thanks

@dmonad this is the code modified to get all the attributes when snapshots are in the state:
/**
 * @param {AbstractType<any>} parent
 * @return {Object<string,Object<string,any>|number|Array<any>|string|Uint8Array|AbstractType<any>|undefined>}
 *
 * @private
 * @function
 */
const typeMapGetAll = (parent, getDeletionsAlso = false) => {
  /**
   * @type {Object<string,any>}
   */
  const res = {};
  parent._map.forEach((value, key) => {
    if (!value.deleted) {
      res[key] = value.content.getContent()[value.length - 1];
    } else if (getDeletionsAlso) {
      res[key] = value.content.getContent()[value.length - 1];
    }
  });
  return res;
};

This code is incorrect and doesn't yield the desired results.  Snapshots allow you to revert to a specific point in time. This simply returns all deleted attributes. Please help me to reproduce this issue. I'm happy about fixes as well, but we need to understand the problem first.

To reproduce the issue just put an atributte in the paragraph and delete the paragraph, when you try to restore the snapshot that paragraph has any more the attribute cause delete items are not getting in that function the attributes.

Would you @joacub be able to write it to a codesandbox? I forked the one I used for my own library to include yjs plugins: https://codesandbox.io/s/thirsty-sunset-cwvyt
Maybe something similar could be included in the issue template @dmonad ?

This issue currently doesn't have a high priority for me. In 80% of cases, I try to reproduce an error for 30 minutes and then find out that everything works correctly (maybe this is just some kind of misunderstanding.. ). If you make a PR with a test case covering your scenario (e.g. like this one: https://github.com/yjs/y-prosemirror/blob/8f8af21fd7c2782e9b6bab88ca3ef870942601ab/test/y-prosemirror.test.js#L33) I will be able to quickly fix the issue and we will never have to deal with it again because we have a test-case for it.

you can test my version in webmediums.com, we have integrate finally all already working pretty good, the version works really well with some bugs but this bugs are in our side when sometimes rendering the version, is something that happens sometimes and not very importan for now.
You can test writing something in any post, all comments are collaborative and with version too, I will be writing a article soon explaining all.
thanks to yjs


Touch ID Plugin having Issue with biometrics

Dear Team,
We are building custom fiori client using SAP Mobile services and use biometrics plugin from cordova. There is one issue which was noticed from the mobile client built for IOS device. When the biometrics information is changed at settings level of the mobile device the custom fiori client mobile application automatically picks up the changed biometric information without verifying with the user on the changed biometrics. Ideally there should be a verification again from application if there is a change in biometrics information. Can you please help to fix this issue?
Regards,
Jay

This is a common issue when you deal with bridges like RN or Cordova.


[loc] upload Ukrainian (uk) '.xlf' to transifex VS Code project

Hello, my name is Serhii (I am the Ukrainian language team) I need help. I have translated vscode-editor (100%)
vscode-extensions (10%), vscode-setup (100%), vscode-workbench (100%). I have translated into "smart cat" system and I have 61 files ".xlf" file format. However, I can not upload these files to the transfix. Help me contribute to the development of the Ukrainian localization of the VScode.

@Serg-zefir , finally we made progress to workaround the issue. Now your change has been made into TM. This is not ideal because there are side effect. We will count 14k words contribution from you. Please let me know your Transifex account so I can associate with.
We appreciate your continuous contribution, please do it in Transifex UI.
We encourage community members to publish language pack. Please take a look at below how to topics to see if you can help to cover the language you are contributing.
https://github.com/Microsoft/vscode-loc/wiki/How-to-create-language-pack-extension
https://github.com/Microsoft/vscode-loc/wiki/How-to-publish-to-Marketplace

Профіль SergZ Учасник з: Пт 22 Гру 2017 - this is my account Transifex. Interesting links. Next week I read more (I do not speak English, translate online resources). How will questions on packages, then there to create Issues?

@Serg-zefir , I close this issue here. If you are willing to publish Ukrainian language pack and have question, please create issue in https://github.com/Microsoft/vscode-loc/issues. Thanks!


Telemetry for Errors

Pull Request (PR) description
Added Telemetry to the Logging Engine.
This Pull Request (PR) fixes the following issues
N/A

This change is

Codecov Report

Merging #325 into Dev will decrease coverage by 0.03%.
The diff coverage is 15%.

@@            Coverage Diff             @@
##              Dev     #325      +/-   ##
==========================================
- Coverage   90.58%   90.54%   -0.04%
==========================================
  Files          78       78
  Lines        7805     7808       +3
  Branches       11       11
==========================================
  Hits         7070     7070
- Misses        724      727       +3
  Partials       11       11

Impacted Files
Coverage Δ

...365DSC/DSCResources/MSFT_SPOSite/MSFT_SPOSite.psm1
85.02% <0%> (ø)
:arrow_up:

...entFilterRule/MSFT_EXOHostedContentFilterRule.psm1
90.24% <0%> (ø)
:arrow_up:

...erPolicy/MSFT_EXOHostedConnectionFilterPolicy.psm1
88.5% <0%> (ø)
:arrow_up:

.../DSCResources/MSFT_ODSettings/MSFT_ODSettings.psm1
89.39% <0%> (ø)
:arrow_up:

...SC/DSCResources/MSFT_O365Group/MSFT_O365Group.psm1
86.25% <0%> (ø)
:arrow_up:

...SafeAttachmentRule/MSFT_EXOSafeAttachmentRule.psm1
90.54% <0%> (ø)
:arrow_up:

...5DSC/DSCResources/MSFT_O365User/MSFT_O365User.psm1
80.62% <0%> (ø)
:arrow_up:

...5DSC/DSCResources/MSFT_SPOTheme/MSFT_SPOTheme.psm1
81.51% <0%> (ø)
:arrow_up:

...XODkimSigningConfig/MSFT_EXODkimSigningConfig.psm1
95% <0%> (ø)
:arrow_up:

...FT_EXOSafeLinksPolicy/MSFT_EXOSafeLinksPolicy.psm1
94.8% <0%> (ø)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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


VM 2.0

https://github.com/neon-bindings/neon/issues/21

The set of issues I'm looking to address here are around the ergonomics of the Scope API and the Lock API. I had a great conversation with Niko about it recently and need to sketch out at least a draft RFC to get a discussion going.


what's the meaning of template read?

Thank you for providing such a useful tool. I read your PECTA paper, but i can not understand the  meaning of template read . Does template read represent the longest part of the read? How to filter out template read from raw read?

Hi @xujialupaoli
In the error correction algorithm of PECAT, a read has two roles, which is used to correct other reads and is corrected by other reads. The former is labeled as a template read. The latter is labeled as a supporting read. Each raw read will be treated as a template read when it is corrected.

Thank you very much.

I am very interested in PECAT！
I read the benchmarking mentioned in the paper, which describes it as follows:
PECAT and NECAT extract the longest 80X raw reads or all reads, if the dataset is less than 80X.
Canu corrects the longest 100X raw reads for assembly.
Other tools use all raw reads for error correction or assembly.
I'm curious why data with the same coverage aren't applied to each software being tested.
Looking forward to your response!


Cannot compile elba

Running cargo +nightly install elba gives me this error
error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
   --> /Users/janmatula/.cargo/registry/src/github.com-1ecc6299db9ec823/elba-0.2.0/src/lib/retrieve/mod.rs:202:28
    |
173 |         let locked = self.lockfile.find_by(|sum| sum.id.lowkey_eq(pkg));
    |                      ------------- immutable borrow occurs here
...
202 |                     return self
    |                            ^^^^ mutable borrow occurs here
203 |                         .select(&Summary::new(pkg.clone(), v.clone()))
    |                                                            - immutable borrow later used here

error: aborting due to previous error

The code on crates.io is way too outdated. You can only install it from source code.


iFan04 Supported?

Is the iFan04 supported? Was about to order cables to flash either ESPHome or Tasmota when I discovered SonoffLAN which looks like an easier process if the device is supported. IFan04 is allegedly identical to ifan03 except it has caps for 110v fans and improved rf range.

I don't know

Supported


Pens for heads

About the PR
Make some funny stuff for heads. I will make more, for clown or mime, but now i PR'd this.
Why / Balance
In emergency everybody needs a pen! (QM is a businessman, he urgently needs money)
Technical details

Media
https://drive.google.com/file/d/1HRsDyp97hmL2DK1-Wf5W7R5CRk4OWekn/view?usp=sharing
Requirements

[ ] I have read and am following the Pull Request and Changelog Guidelines.
[ ] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

https://drive.google.com/file/d/1HRsDyp97hmL2DK1-Wf5W7R5CRk4OWekn/view?usp=sharing

clown gets luxury crayon instead of pen

It would be nice if you wrote out the change along with the video!

It would be nice if you wrote out the change along with the video!

i do, but it's so big...
https://drive.google.com/file/d/1HRsDyp97hmL2DK1-Wf5W7R5CRk4OWekn/view?usp=sharing
there

what would be the point of unique pen's for every single head 🤔

New Thief sleal objective?

Pen thief objective would be a good excuse to have cool custom pens for each head.
I like it, but my only gripe is that the art style of the pens clashes with the current pens (HoP and Cap) in the game. They seem too thick.

this is kind of weird

Pen thief objective would be a good excuse to have cool custom pens for each head.
I like it, but my only gripe is that the art style of the pens clashes with the current pens (HoP and Cap) in the game. They seem too thick.

ooookay, i go to re-sprite

I'd remove self-recharging from everyone but CE

I'd remove self-recharging from everyone but CE

they very slow self-recharges itself in cause of emergency. 10 minutes for self-recharging, kinda slow?

Resprited and reviewed. Added some cool stuff like animation

It would be nice if you wrote out the change along with the video!

i do, but it's so big... https://drive.google.com/file/d/1HRsDyp97hmL2DK1-Wf5W7R5CRk4OWekn/view?usp=sharing there

a changelog for this kind of relatively large content PR is going to be necessary, especially when it affects game balance

balance feedback

I don’t personally think each head needs their own unique pen, but especially not ones that have side-effects that are this strong. From the looks of it the RD’s just completely invalidates the CHIMP research and the HoS’s is just a stronger baton. These are pens, they should be for writing.

I agree it's pretty unnecessary for individual pens for each and comes off bloaty.

Yeah after reading the diffs, it would be way better for these pens to not have abilities at all. I'm not going to reiterate what others have said, but it's just too much.
I'd prefer it if they simply got a better looking pen with no abilities.

this PR is slightly misleading, at face value it just seems like pen reskins but - surprise! - please find stun baton attached.

If they're going to get unique abilities they need to be minor things which are already accomplished by other stuff
what I would do for example
CMO pen can be used for cauterizing injuries
RD pen can scan anomalies (make it take longer than a normal scanner if possible)
HOS pen can hold 5 units of a liquid (for the enterprising alcoholic or combat medicine)
CE pen can pulse wires like a multi tool
QM pen has integrated Accepted / Denied stamps
and since it would be only fair
Hop pen can check the access on a card (no editing)
captain pen can have a built in lighter (for burning all the documents before the IRS get in)

RD может сканировать аномалии (есл

If they're going to get unique abilities they need to be minor things which are already accomplished by other stuff what I would do for example CMO pen can be used for cauterizing injuries RD pen can scan anomalies (make it take longer than a normal scanner if possible) HOS pen can hold 5 units of a liquid (for the enterprising alcoholic or combat medicine) CE pen can pulse wires like a multi tool QM pen has integrated Accepted / Denied stamps
and since it would be only fair Hop pen can check the access on a card (no editing) captain pen can have a built in lighter (for burning all the documents before the IRS get in)

i do some of this functions.

I actually think the QMs ability is fine, it should just be a lower cap! I was thinking HOSes should be like low power flashlight or something.

If they're going to get unique abilities they need to be minor things which are already accomplished by other stuff what I would do for example CMO pen can be used for cauterizing injuries RD pen can scan anomalies (make it take longer than a normal scanner if possible) HOS pen can hold 5 units of a liquid (for the enterprising alcoholic or combat medicine) CE pen can pulse wires like a multi tool QM pen has integrated Accepted / Denied stamps
and since it would be only fair Hop pen can check the access on a card (no editing) captain pen can have a built in lighter (for burning all the documents before the IRS get in)

even this is too much IMO. my issue that is that the pens are too overpowered, it's that they shouldn't have power in the first place. they're pens.
what if every head's flash got a "special feature"? would it make sense if the RD pulls out a flash to scan an anomaly instead of using an anomaly scanner?
if you think that's a bad idea, then why should a pen do the same?
flashes are for self-defense. pens are for writing. let them stay that way, please

https://drive.google.com/file/d/1iEHP8b9V5CrUGO42u-YBavyTxxRc1ndM/view?usp=sharing
@Plykiya @UBlueberry what do you think about it now?

even this is too much IMO. my issue that is that the pens are too overpowered, it's that they shouldn't have power in the first place. they're pens. what if every head's flash got a "special feature"? would it make sense if the RD pulls out a flash to scan an anomaly instead of using an anomaly scanner? if you think that's a bad idea, then why should a pen do the same? flashes are for self-defense. pens are for writing. let them stay that way, please

I don't think comparing a pen to a flash is equivalent. Also, spy-pens and similar have been a thing in media/life for absolute ages. (Pens with microphones, cameras, flashes, poison, mind-wiping functionality). Its not unreasonable to believe that a department head was given some sort of slightly modified pen as a cool gift (if it functionally replaces an existing round-start item the head would have anyway, it could be a cool loadout reward. CentCom's award for five years of service, a pen, hooray). However I do believe that is a key point, the functionality for each should be extremely basic (and restricted to something the Head would otherwise have round-start) if any functionality is given at all.
To me, having it as a loadout reward would kind of fix that "why did they create pens with special functionality". Because its a "work reward".
I'm not here to push for this change, I'm pretty indifferent. But I do think its perfectly fine to add small things like this. It adds a lot of charm if done appropriately. But notice I said small, because I do very much agree with these needing to be incredibly simple functions if they're to have functions at all.
Anyway, some quick thoughts if the functionality aspect is desired.
I like the idea of a multi-tool for CE. Let the pen short wires/contacts. Very available to engineering round start.
RD's could be a remote trigger. Very available to science round-start.
CMO's could be a labeler, vial-size chemical storage, or one-time emergency epi-pen.
HoS' could be a flash, either with 2/3 charges before permanently depleted, or refreshed with another flash. (Honestly, it'd be more annoying in my opinion to use it over just a normal flash anyway)
QM - Maybe if not the stamp idea, prince checker functionality?
Just my thoughts. I don't necessarily think they should have functions, but I do think there could be an appropriate level if it is desired.

I like the idea of a multi-tool for CE. Let the pen short wires/contacts. Very available to engineering round start. RD's could be a remote trigger. Very available to science round-start. CMO's could be a labeler, vial-size chemical storage, or one-time emergency epi-pen. HoS' could be a flash, either with 2/3 charges before permanently depleted, or refreshed with another flash. (Honestly, it'd be more annoying in my opinion to use it over just a normal flash anyway) QM - Maybe if not the stamp idea, price checker functionality?
Just my thoughts. I don't necessarily think they should have functions, but I do think there could be an appropriate level if it is desired.

So far, no moderator has requested changes or pen balances, I'll just wait. But if they do, I'll try to do everything you listed, except for the QM pen. By the way, the idea of a pen for HOS is still open, because none of our meager team has come up with decent functionality for it. Well, my idea was a 3-charge flash, and I think that's the best thing to give HOS

I like the idea of a multi-tool for CE. Let the pen short wires/contacts. Very available to engineering round start. RD's could be a remote trigger. Very available to science round-start. CMO's could be a labeler, vial-size chemical storage, or one-time emergency epi-pen. HoS' could be a flash, either with 2/3 charges before permanently depleted, or refreshed with another flash. (Honestly, it'd be more annoying in my opinion to use it over just a normal flash anyway) QM - Maybe if not the stamp idea, price checker functionality?
Just my thoughts. I don't necessarily think they should have functions, but I do think there could be an appropriate level if it is desired.

So far, no moderator has requested changes or pen balances, I'll just wait. But if they do, I'll try to do everything you listed, except for the QM pen(because it was my best idea for pen). By the way, the idea of a pen for HOS is still open, because none of our meager team has come up with decent functionality for it. Well, my idea was a 3-charge flash, and I think that's the best thing to give HOS

I'll offer an idea on what the HoS's pen could be.
when activated it turns into a small pen knife, dealing 7 slash, can be thrown for 10 slash,  simple idea.

I like the idea of a multi-tool for CE. Let the pen short wires/contacts. Very available to engineering round start. RD's could be a remote trigger. Very available to science round-start. CMO's could be a labeler, vial-size chemical storage, or one-time emergency epi-pen. HoS' could be a flash, either with 2/3 charges before permanently depleted, or refreshed with another flash. (Honestly, it'd be more annoying in my opinion to use it over just a normal flash anyway) QM - Maybe if not the stamp idea, price checker functionality?
Just my thoughts. I don't necessarily think they should have functions, but I do think there could be an appropriate level if it is desired.

So far, no moderator has requested changes or pen balances, I'll just wait. But if they do, I'll try to do everything you listed, except for the QM pen(because it was my best idea for pen). By the way, the idea of a pen for HOS is still open, because none of our meager team has come up with decent functionality for it. Well, my idea was a 3-charge flash, and I think that's the best thing to give HOS

I'll offer an idea on what the HoS's pen could be. when activated it turns into a small pen knife, dealing 7 slash, can be thrown for 10 slash, simple idea.

Centcomm pen already does that

So far, no moderator has requested changes or pen balances, I'll just wait.

I should make it clear that I'm not a moderator, just a guy with opinions.

Also, spy-pens and similar have been a thing in media/life for absolute ages. Pens with microphones, cameras, flashes, poison, mind-wiping functionality... not to mention uplinks in SS13. Its not unreasonable to believe that a department head was given some sort of slightly modified pen as a cool gift (if it functionally replaces an existing round-start item the head would have anyway, it could be a cool loadout reward. CentCom's award for five years of service, a pen, hooray).

I'm still of the belief that these pens should just be pens, just as the luxury pen is... a pen.
But I think this could make a good compromise.
Here's an idea: penlights? Small, roundstart, saves me the trouble of heading into maints, and doesn't really steal the spotlight from anything.
I also think it's funny. "Thanks for your commitment to Nanotrasen, here's a shiny in your pen."

So far, no moderator has requested changes or pen balances, I'll just wait. But if they do, I'll try to do everything you listed, except for the QM pen(because it was my best idea for pen). By the way, the idea of a pen for HOS is still open, because none of our meager team has come up with decent functionality for it. Well, my idea was a 3-charge flash, and I think that's the best thing to give HOS

Oh, I definitely liked your QM idea, I thought it was funny. Just wanted to provide some some more "basic" functional ideas if people didn't like what was proposed.

https://drive.google.com/file/d/1iEHP8b9V5CrUGO42u-YBavyTxxRc1ndM/view?usp=sharing @Plykiya @UBlueberry what do you think about it now?

Please write out a description of what the PR actually contains in the description rather than using a video, you can use bulletpoints to separate the content. Also update the changelog section to indicate what's been added, even if it is as simple as "add: Command members now all have unique pens, each with their own unique features."

https://drive.google.com/file/d/1iEHP8b9V5CrUGO42u-YBavyTxxRc1ndM/view?usp=sharing @Plykiya @UBlueberry what do you think about it now?

Please write out a description of what the PR actually contains in the description rather than using a video, you can use bulletpoints to separate the content. Also update the changelog section to indicate what's been added, even if it is as simple as "add: Command members now all have unique pens, each with their own unique features."

okay, but what about balance?

okay, but what about balance?

nothing particularly I can say, you just need to wait for maintainers to officially review it at this point

Gonna have to say the same here

These aren't normal pens these all do stuff that pre-existing items do but can be used to write. Command already has items that do certain actions these pens already do and some have to work for it i.e. researching tech to unlock the tech instead of being given it round start. Stylized pens for each head is one thing, giving them round-start devices that already exist/need to be earned guised as regular pens is another.

Hey, I brought this up for maintainer discussion and we come to the conclusion not to merge this for the following reasons:

Many of these abilities are already available as a normal item, there is no need or reason for them to be part of a pen as well.
Some of these are a little unbalanced, for example the QM's pen is simply free cash.
Even if we remove the abilities, adding them would fall more into the item bloat category.
The special pens would make impersonating a department head harder unless we would also add a chameleon pen.
Thank you for your work.


Support findDOMNode

I have a use case where my components are given HTMLElements and I have to append them to the component. My usage is blocked because of this
See it on React Docs

Hi - Component#getDOMNode() and .findDOMNode() are both supported in preact-compat.  Preact simply exposes your DOM Node as this.base within any component.

Wow, I looked into preact-markup and not in compat, sorry about that :bow:

No problem :)  I am not against potentially adding a proper API for this (this.base is something I came up with and not supported by React), but I'd like to wait until things shake out a bit with React's API changes to see what they end up standardizing on.  For reference, here's the implementation in preact-compat.
Cheers!

I don't really need anything else from preact-compat other than this method, are you going to keep compatibility in .base via semver? Is it okay to use it in my project?

It will work indefinitely, and yes a major version change would occur if it were changed in any way. I'm using .base in nearly all of my projects, you can definitely consider it a safe part of the API. Preact is very careful about exposing things, anything you have access to is part of the versions, public API.

Beautiful, Thank you for your awesome project :+1:


the result of Full blog post by official demo is too short and meaningless ,how to optimize it

the result of Full blog post by official demo is too short and meaningless ,how to optimize it

In the fast-paced world of technology, AI continues to make incredible advancements that shape our future. One of the most significant developments in recent years is the rise of multimodal AI, which combines different modes of input such as text, images, and audio to create a more holistic understanding of data. This approach allows AI systems to process information in a way that mimics human perception, opening up new possibilities for applications in various industries.
Another key trend in AI is the shift towards smaller language models and open-source platforms. These smaller models are more efficient and accessible, making AI technology more widely available to developers and businesses. The open-source nature of these models encourages collaboration and innovation, leading to accelerated progress and democratizing AI capabilities.
Generative AI has also seen groundbreaking advancements, with the technology becoming increasingly useful for non-tech individuals. This type of AI can create new content, such as images, videos, and text, based on input data. From art generation to content creation, generative AI is revolutionizing how we interact with technology and unleashing creativity in ways previously unimaginable.
As we look towards the future, the convergence of retrieval-augmented generation and agentic AI promises even more exciting possibilities. These technologies enable AI systems to interact more naturally with users, offering personalized experiences and solutions. The pace of innovation in machine learning and AI shows no signs of slowing down, and the implications for society are profound.
In conclusion, the recent advancements in AI, from multimodal capabilities to generative models, are reshaping our world in ways we could only dream of before. As we embrace these technologies, we must also consider the ethical implications and ensure that AI is used responsibly for the betterment of humanity. The future is bright with possibilities, and AI is at the forefront of driving innovation and progress for generations to come.

above is by gpt3.5

Exploring the AI Frontier: Transformative Technologies in 2024
Welcome to the future of technology, where Artificial Intelligence (AI) isn't just a tool but a transformative force across industries! From generative AI revolutionizing content creation to AI-driven cybersecurity protecting our data, 2024 marks a pivotal year where AI technologies make significant leaps forward.
The Rise of Generative AI
Imagine a world where AI helps design your medications, crafts your next favorite song, or even drafts your emails. That's the promise of generative AI, which is now going mainstream. In healthcare, generative AI expedites drug discovery and tailors treatments to individual genetic profiles, revolutionizing personalized medicine. In the entertainment sector, it’s behind the scenes, creating music, videos, and games—pushing the boundaries of creativity. Meanwhile, in retail, this technology predicts shopping trends and manages inventories, personalizing your shopping experience like never before. Generative AI is not just about enhancing productivity; it's about opening new avenues for innovation and delivering experiences tailored just for you.
AI-Powered Cybersecurity: A Robust Shield
As digital threats grow more sophisticated, AI in cybersecurity has become our digital sentinel. In 2024, AI's role in cybersecurity is more crucial than ever, with a market that's projected to grow exponentially. AI enhances real-time threat detection and automates responses to security incidents, making cybersecurity proactive rather than reactive. From securing national security data to protecting personal information, AI-driven solutions are on the front lines, defending against cyber threats with unprecedented efficiency.
AI-Driven Automation: Reshaping Industries
Automation powered by AI is not just about robots taking over repetitive tasks. It's about transforming industries by enhancing efficiency and creating new opportunities for human creativity. In manufacturing, AI-driven robots handle complex assemblies, making production lines faster and safer. In logistics, AI optimizes routes and inventory, ensuring that your packages arrive just in time while reducing operational costs. This wave of automation is reshaping how businesses operate, offering both challenges and opportunities in the workforce landscape.
Looking Ahead: The Impact of AI on Society
As we venture deeper into 2024, the integration of AI into daily life and across sectors underscores a critical need for robust AI ethics and legislation. The ongoing conversation around AI and data privacy, along with the development of ethical guidelines, is crucial to ensuring that AI benefits society while minimizing risks such as bias and privacy infringement.
In conclusion, AI in 2024 is not just a series of technological advancements; it's a paradigm shift in how we interact with technology, impacting everything from the pills we take to the way we shop and protect our personal information. As AI continues to evolve, it promises to bring more profound changes, driving innovation and presenting new challenges and opportunities. Stay tuned, and keep engaging with technology wisely and creatively!

this is by gpt4.
they all both too brief and low of information, compare to the result of crawl, the final blog lose a lot of data and information.
so how to optimize it?

Change your task description to tell it to be longer

This has to do with "Prompt Engineering". Fundamentally you need to be as descriptive as possible about the expected results. A rule of thumb seems to be: spend ~1 hour to get the initial request/prompt as good as you can.
Keep in mind effective prompts  will be different for different models.

I use prompts from https://github.com/majacinka/crewai-experiments
and the following result is still useless, so where is wrong?
Final Answer:
Sure! Here is detailed information about the latest AI projects like Acumos AI, ChatGPT, Jasper, Wordtune, and Generative AI:

Acumos AI: Acumos AI is an open-source platform that aims to make AI models more accessible and reusable. It provides a marketplace for sharing AI models, making it easier for developers to collaborate and build innovative AI applications.

ChatGPT: ChatGPT is a conversational AI model developed by OpenAI. It is based on the GPT-3 language model and is designed to generate human-like responses in natural language conversations. ChatGPT is widely used in chatbots, customer support systems, and other applications that require natural language understanding.

Jasper: Jasper is an AI project developed by Facebook that focuses on improving the accessibility of AI models for mobile devices. It aims to reduce the computational resources required to run AI models on smartphones and other low-power devices, making AI more accessible to a wider range of users.

Wordtune: Wordtune is an AI-powered writing assistant that helps users improve their writing by providing suggestions for more effective and engaging language. It uses machine learning algorithms to analyze the context of a sentence and suggest alternative wording or phrasing that can enhance the clarity and impact of the text.

Generative AI: Generative AI refers to a class of AI models that are capable of generating new content, such as images, text, or music, based on input data. These models are often used in creative applications, such as art generation, music composition, and content creation.

By incorporating information about these AI projects into the blog post drafts, we can provide readers with a deeper understanding of the latest trends and advancements in AI technology. This will help enhance the technical insights, conciseness, and engagement level of the content, making it more informative and valuable to our audience.

`
search_tool = SerperDevTool()
Define your agents with roles and goals
researcher = Agent(
role='Senior Research Analyst',
goal='Uncover cutting-edge developments in AI and data science',
backstory="""You work at a leading tech think tank.
Your expertise lies in identifying emerging trends.
You have a knack for dissecting complex data and presenting actionable insights.

You're great at finding interesting, exciting projects on LocalLLama subreddit. You turned scraped data into detailed reports with names of most exciting projects an companies in the ai/ml world. ONLY use scraped data from the internet for the report.""",
verbose=True,
allow_delegation=False,
tools=[search_tool]
You can pass an optional llm attribute specifying what model you wanna use.
It can be a local model through Ollama / LM Studio or a remote
model like OpenAI, Mistral, Antrophic or others (https://docs.crewai.com/how-to/LLM-Connections/)

import os
os.environ['OPENAI_MODEL_NAME'] = 'gpt-3.5-turbo'

OR

from langchain_openai import ChatOpenAI
llm=ChatOpenAI(model_name="gpt-3.5", temperature=0.7)
)
writer = Agent(
role='Tech Content Strategist',
goal='Write engaging and interesting blog post about latest AI projects using simple, layman vocabulary',
backstory="""You are an Expert Writer on technical innovation, especially in the field of AI and machine learning. You know how to write in
engaging, interesting but simple, straightforward and concise. You know how to present complicated technical terms to general audience in a
fun way by using layman words.ONLY use scraped data from the internet for the blog.""",
verbose=True,
allow_delegation=True
)
critic = Agent(
role="Expert Writing Critic",
goal="Provide feedback and criticize blog post drafts. Make sure that the tone and writing style is compelling, simple and concise",
backstory="""You are an Expert at providing feedback to the technical writers. You can tell when a blog text isn't concise,
simple or engaging enough. You know how to provide helpful feedback that can improve any text. You know how to make sure that text
stays technical and insightful by using layman terms.
""",
verbose=True,
allow_delegation=True
)
task_report = Task(
description="""Use and summarize scraped data from the internet to make a detailed report on the latest rising projects in AI. Use ONLY
scraped data to generate the report. Your final answer MUST be a full analysis report, text only, ignore any code or anything that
isn't text. The report has to have bullet points and with 5-10 exciting new AI projects and tools. Write names of every tool and project.
Each bullet point MUST contain 3 sentences that refer to one specific ai company, product, model or anything you found on the internet.
""",
expected_output="Full analysis report in bullet points",
agent=researcher,
)
task_blog = Task(
description="""Write a blog article with text only and with a short but impactful headline and at least 10 paragraphs. Blog should summarize
the report on latest ai tools found on localLLama subreddit. Style and tone should be compelling and concise, fun, technical but also use
layman words for the general public. Name specific new, exciting projects, apps and companies in AI world. Don't
write "Paragraph [number of the paragraph]:", instead start the new paragraph in a new line. Write names of projects and tools in BOLD.
ALWAYS include links to projects/tools/research papers. ONLY include information from LocalLLAma.
For your Outputs use the following markdown format:
    ## [Title of post](link to project)     - Interesting facts     - Own thoughts on how it connects to the overall theme of the newsletter     ## [Title of second post](link to project)     - Interesting facts     - Own thoughts on how it connects to the overall theme of the newsletter
""",
expected_output="Full blog post of at least 10 paragraphs, with each paragraph at least 1000 words",
agent=writer,
)
task_critique = Task(
description="""The Output MUST have the following markdown format:
      ## [Title of post](link to project)       - Interesting facts       - Own thoughts on how it connects to the overall theme of the newsletter       ## [Title of second post](link to project)       - Interesting facts       - Own thoughts on how it connects to the overall theme of the newsletter
Make sure that it does and if it doesn't, rewrite it accordingly.
""",
expected_output="Full blog post of at least 10 paragraphs, with each paragraph at least 1000 words",
agent=critic,
)
Instantiate your crew with a sequential process
crew = Crew(
agents=[researcher, writer, critic],
tasks=[task_report, task_blog, task_critique],
process=Process.sequential,  # Sequential process will have tasks executed one after the other and the outcome of the previous one is passed as extra content into this next.
)
Get your crew to work!
result = crew.kickoff()
print("######################")
print(result)`

Have you refined the prompt?

Have you refined the prompt?

yes, do you have a good example? can you share the result?

No I don't, a prompt that works for somebody else may not work for you, this is an iterative process where you refine the prompt till you get the output you want.
Start by looking at the task descriptions, you can even use ChatGPT to help you refine...

No I don't, a prompt that works for somebody else may not work for you, this is an iterative process where you refine the prompt till you get the output you want.
Start by looking at the task descriptions, you can even use ChatGPT to help you refine...

this should be a product help us get valuable information everyday, we need just run it and get good blog result. but now it seems not ready for use.

Its not a "product" yet, its version 0.28, which means its under beta dev, at best. You're on Github Bro not App Store.
Be thankful that you can use tech like this for nothing. Its not like you paid anything. And if its not "ready for use" you're supposed to help it become "ready for use" , that's the whole concept of posting this code for everyone to play with. Its a "community" effort.

Its not a "product" yet, its version 0.28, which means its under beta dev, at best. You're on Github Bro not App Store. Be thankful that you can use tech like this for nothing. Its not like you paid anything. And if its not "ready for use" you're supposed to help it become "ready for use" , that's the whole concept of posting this code for everyone to play with. Its a "community" effort.

sure, do you have a good result?

I dont see a crewai Issue here


Update _index.md

The previous links are invalid

/close
Hi, please contact me before submitting more PRs like this!!!

sorry, I checked these links, and none is broken.

/close
Hi, please contact me before submitting more PRs like this!!!

what a fast hand~~


Upgrade to netstandard1.6

1.6 seems to be the best version we can upgrade too.
Moved from Approvals to Assent so that we can use netstandard.
Please review @wis3guy
Edit: All tests now green.

Is there anything you want me to change to get this merged in?

Thanks again for all the work that went into this pull request. We can start a 3.0 release track now with MVC Core 2 and netstandard2 bringing this api into the modern world