[FLINK-12784][metrics] Support retention policy for InfluxDB metrics …

What is the purpose of the change

Support optional retention policy for InfluxDB metric reporter (currently only default is allowed)

Brief change log

Added support for retention policy specification for InfluxDB metrics reporter along with supporting tests and documentation.

Verifying this change
This change added tests and can be verified as follows:

Running the unit test suite

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? docs

@1u0 - I've updated the test case (consolidated the testMetricReporting into one).  Please let me know if you have any additional advice.  Thanks again for your feedback.

@1u0 @Myasuka @rmetzger The python build is failing with the error

The command "./tools/travis_controller.sh python" exited with 1.

for this PR build failure.  Can you please let me know how to resolve this issue ?
Also, let me know if you have any other recommendations.

The root cause is Cached flink dir /home/travis/flink_cache/37549/flink does not exist. Exiting build. From my experience, this might be a travis bug, as far as I know, you could try to close - reopen this PR or create a new commit to retrigger the build phase.

@zentol @rmetzger - Please let me know if you can review this request or point me to someone who can advice on it.  BTW - The travis build failure is not related to this enhancement and it's test cases.  Thanks

@1u0 @Myasuka - Can you please advice how I can get this PR reviewed by someone who has merge privs ?  Thanks

@mans2singh Travis seems not so stable, see mail. I'm afraid you have to retrigger this travis again. Since committers might have limited resource to review PRs, if ping him via github works not so well, you could try to send email to them directly.

@Myasuka - Thanks for your approval.  I am waiting for travis to stablize and will then push a commit.  Thanks again for your help.

@NicoK -
Thanks for your recommendations.
I've updated the code and documentation based on your feedback.  One note that for the retention policy, the request parameter key in test case is 'rp' as required by InfluxDB even though the property name is 'retentionPolicy' for readability.
Please let me know if you have other recommendations and if I can resolve the comments.
Thanks again for your time.
Mans

@NicoK
The travis build is failing for connectors and python.
Here is the error from connectors failure

05:57:01.838 [ERROR] Tests run: 10, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.147 s <<< FAILURE! - in org.apache.flink.streaming.connectors.kinesis.FlinkKinesisProducerTest
05:57:01.838 [ERROR] testBackpressure(org.apache.flink.streaming.connectors.kinesis.FlinkKinesisProducerTest)  Time elapsed: 0.543 s  <<< FAILURE!
java.lang.AssertionError: Flush triggered before reaching queue limit
at org.apache.flink.streaming.connectors.kinesis.FlinkKinesisProducerTest.testBackpressure(FlinkKinesisProducerTest.java:298)

Also travis python build is failing which are apparently not related to this pull request
Please let me know if you have any advice for me.
Thanks.
Mans


i18n(it): Update install/auto.mdx & install/manual.mdx

Description (required)
Updated install/auto.mdx & install/manual.mdx

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

it
install/auto.mdx
Localization changed, will be marked as complete.

it
install/manual.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


False detection.

have a lot of false detection, detecting people without helmet as people.

The models also detect people without a helmet, except for detecting people with a various color helmet.

can it be useful for counting the number of people wearing helmet.

It also detects cap with Red,Yellow, White, Blue as helmet.
Also people wearing RYWB t-shirts are also getting detected as wearing helmet

@komalpharate  How did you download the pretrained model files. These are uploaded in Baidu cloud which cannot be accessed? @wujixiu Could you suggest something?

have a lot of false detection, detecting people without helmet as people.

Hi,
how do I even run the detection ? Downloaded the model etc, but which script to run ? Can you please help ?

https://github.com/BlcaKHat/yolov3-Helmet-Detection
try this @rsingh2083


Remove Nano Denominations and add banano

Nanao has 3 currency denominations.
We only need Banano  imho. banoshi not required.
Image shows Display Denomination Field from Settings, which can be removed as Banano will be set fixed.

Located in configure-app component,
lines 27-42.


Static site deployment

Deploy static HTML on GitHub pages. Automatic update on push/merge to master.

Done.


Callbacks processed out of order?

It looks like maybe the callbacks provided to removeTokens can be called out of order. I'm not sure if ordering is an intended feature, but if not it'd be good call that out clearly in the docs.
var RateLimiter = require('limiter').RateLimiter;
var l = new RateLimiter(1, 10000);
var i = 0;
var f = () => {
  var j = i++;
  var d = new Date();
  l.removeTokens(1, () => console.log(`${j}: enqueued: ${d}; dequeued: ${new Date()}`));
}
for (var k = 0; k < 5; k++) setTimeout(() => f(), 1000*k);

Running this code several times shows arbitrary ordering:
> i = 0
> for (var k = 0; k < 5; k++) setTimeout(() => f(), 1000*k);
0: enqueued: Thu Feb 01 2018 12:41:18 GMT-0800 (PST); dequeued: Thu Feb 01 2018 12:41:18 GMT-0800 (PST)
2: enqueued: Thu Feb 01 2018 12:41:20 GMT-0800 (PST); dequeued: Thu Feb 01 2018 12:41:28 GMT-0800 (PST)
1: enqueued: Thu Feb 01 2018 12:41:19 GMT-0800 (PST); dequeued: Thu Feb 01 2018 12:41:38 GMT-0800 (PST)
3: enqueued: Thu Feb 01 2018 12:41:21 GMT-0800 (PST); dequeued: Thu Feb 01 2018 12:41:48 GMT-0800 (PST)
4: enqueued: Thu Feb 01 2018 12:41:22 GMT-0800 (PST); dequeued: Thu Feb 01 2018 12:41:58 GMT-0800 (PST)

> i = 0
> for (var k = 0; k < 5; k++) setTimeout(() => f(), 1000*k);
0: enqueued: Thu Feb 01 2018 12:45:00 GMT-0800 (PST); dequeued: Thu Feb 01 2018 12:45:00 GMT-0800 (PST)
1: enqueued: Thu Feb 01 2018 12:45:01 GMT-0800 (PST); dequeued: Thu Feb 01 2018 12:45:10 GMT-0800 (PST)
3: enqueued: Thu Feb 01 2018 12:45:03 GMT-0800 (PST); dequeued: Thu Feb 01 2018 12:45:20 GMT-0800 (PST)
4: enqueued: Thu Feb 01 2018 12:45:04 GMT-0800 (PST); dequeued: Thu Feb 01 2018 12:45:30 GMT-0800 (PST)
2: enqueued: Thu Feb 01 2018 12:45:02 GMT-0800 (PST); dequeued: Thu Feb 01 2018 12:45:40 GMT-0800 (PST)

I can work around this limitation so this isn't an urgent issue for me. However if I'm misunderstanding something any pointers would be helpful. I have a slight suspicion that maybe setTimeout doesn't quite work the way I think it does :)

Thank you for calling this out. This is due to using setTimeout to queue pending callbacks on the event loop rather than maintaining an explicitly ordered queue. Several timeouts will expire as soon as enough tokens are available and there is a race to see which one claims the token(s) first, while the rest set new timeouts.
If someone wants to take a stab at refactoring this I would be happy to review / provide feedback / merge.

@kpruden @thinkhy @jhurliman
If you still looking for solution, rate-limiter-flexible package supports FIFO queue rate limiter. There is also migration guide, if you wish to migrate from limiter.

I'm not in love with this solution, but I was able to order by calls by ignoring the execution order of limiter and manually increment an index. I thought I'd post it here in case somebody else finds this approach useful.
/**
 * This performs concurrent operations using the provided limiter. This function ensures the array
 * is processed in a FIFO order, which is not a feature of the limiter library.
 */
async function mapWithRateLimiter(array, limiter, callback) {

  // We can't rely on the call order with limiter, so we have to manually increment the index.
  let result = [];
  let index = 0;

  // Run the limiter the necessary number of times.
  await Promise.all(_.times(array.length, async () => {
    await limiter.removeTokens(1);

    let currentIndex = index;
    index++;
    result[currentIndex] = await callback(array[currentIndex], currentIndex);
  }));

  return result;
}


Support for asset editions as a core metadata component

Allow users to create multiple editions of the same asset

Handled by #164 - closing.


issue with Contacts

Contacts Response of connection is giving..
['user', {
		'index': 'J',
		'jid'<EMAIL_ADDRESS>		'short': 'xxxxxx',
		'notify': 'xxxxx',
		'name': 'xxxxxx'
	}, None],

Issue:
jid is having 9 digits except country code

What's the issue about that?

What's the issue about that?

Last digit of every contact number is missing.

Is there are a solution for this as yet? Does it have to do with binary decryption which is happening in python?

Hey, I have fixed this in a fork. You can check out arunrrreddy/whatsapp-web-reveng. I have made a bunch of other changes to debug the messageTimestamp issue, therefore, cannot start a pull request. The file you are interested in would be the whatsapp_web_writer.py

@arunrreddy Can you post the Changes? or link to changes for understanding purpose !
Thanks !

checkout https://github.com/arunrreddy/whatsapp-web-reveng/commit/cf4a146af4bd654ddd417a5965bf90d136c8f678 for the changes


Changes in Landing page to make it look more attractive

The UI and structure would be the same so that it does not go off with the whole website I will just update the basic css. Along with it, even the WhatsApp logo in the button is mirrorized, it needs to be set correctly.
Pls assign me this issue under Hacktoberfest label

Ok can u send me the screenshot as a demo

https://drive.google.com/file/d/1_JoKJ_iuLL038ePbpKissD8h-OeTWloo/view?usp=sharing
You can view the video of my changes in this video.
Hope you will like the changes 🤞.
If any other change is to be made, do let me know 😊

@SahityaRoy pls let me know should i open a PR ?

https://drive.google.com/file/d/1_JoKJ_iuLL038ePbpKissD8h-OeTWloo/view?usp=sharing You can view the video of my changes in this video. Hope you will like the changes 🤞. If any other change is to be made, do let me know 😊

This is not looking good try something different

hello , I am a participant of GSSOC'22 , can you assign me this project to work .


Filter not recognized when filtered value contains a '/'

Vue.js version
2.1.x
Works fine in 2.0.x
Reproduction Link

https://jsbin.com/fuxitojugu/edit?html,console,output
Steps to reproduce
Divide a number using the / operator, then apply a filter to it.
{{ price / 100 | currency }}

What is Expected?
This divided number gets filtered, just like with other arithmetic operators.
What is actually happening?
Get this error:

"[Vue warn]: Property or method "currency" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.

"currency" is the name of the filter here, but it got recognized as a property or keyword, not as a filter.

As a quick workaround: {{ (price / 100) | currency }}works.


Freezing on zoom in/out after updating to 3.0.0

Hi, I'm running into issues with the map control freezing/taking a long time to load tiles after 3.0.0.  I'm not seeing any spikes in CPU usage; I haven't changed my map code. I am using WPF. My init code is pretty simple, it's just this, simplified:
public class MapConfig {
    public static PlayerMapLayers playerMapLayers;
    public static RemoteMapLayers remoteMapLayers;

    /// <summary>
    ///
    /// </summary>
    /// <returns></returns>
    public static Mapsui.Map ConfigureMap()
    {
        var map = new Mapsui.Map { CRS = "EPSG:3857" };
        map.Home = MapHome;

        Mapsui.Logging.Logger.LogDelegate += (level, message, ex) => {
            if (ex != null)
                System.Diagnostics.Debug.WriteLine($"APP message: {message} | Exception: {ex?.Message}");
        };

        ConfigureTileLayers(map);

        return map;
    }

    /// <summary>
    /// Logic for map centering and moving into the right place
    /// </summary>
    /// <param name="navigator"></param>
    public static void MapHome(INavigator navigator)
    {
        if (playerMapLayers == null || remoteMapLayers == null) {
            return;
        }

        if (playerMapLayers.FlightPlanBoundingBox != null) {
            navigator.NavigateTo(playerMapLayers.FlightPlanBoundingBox);
        } else {
            // See if there are remote flights to zoom in on
            if (remoteMapLayers.RemoteFlightsBoundingBox != null) {
                navigator.NavigateTo(remoteMapLayers.RemoteFlightsBoundingBox);
            }
        }

        // Might be resuming, so center on the player
        playerMapLayers.CenterOnPlayer();
    }

    /// <summary>
    /// The different map layers
    /// </summary>
    /// <param name="map"></param>
    protected static void ConfigureTileLayers(Mapsui.Map map)
    {
        map.Layers.Add(OpenStreetMap.CreateTileLayer());
    }
}

Removing the MapHome doesn't make a difference. I can downgrade to the rc and it's fine.

If I change the logging to this:
            Mapsui.Logging.Logger.LogDelegate += (level, message, ex) => {
                // if (ex != null)
                System.Diagnostics.Debug.WriteLine($"APP message: {message} | Exception: {ex?.Message}");
            };

The log is full of this, I guess it's showing drawing times being slow:
APP message: Time for drawing control [ms]: 240.0368 | Exception:
APP message: Time for drawing control [ms]: 10.3295 | Exception:
APP message: Time for drawing control [ms]: 1.7688 | Exception:
APP message: Time for drawing control [ms]: 1.7256 | Exception:
APP message: Time for drawing control [ms]: 1.7353 | Exception:
APP message: Time for drawing control [ms]: 1.7445 | Exception:
APP message: Time for drawing control [ms]: 1.6763 | Exception:
APP message: Time for drawing control [ms]: 1.7497 | Exception:
APP message: Time for drawing control [ms]: 1.8041 | Exception:
APP message: Time for drawing control [ms]: 1.9382 | Exception:
APP message: Time for drawing control [ms]: 1.6905 | Exception:
APP message: Time for drawing control [ms]: 1.7336 | Exception:
APP message: Time for drawing control [ms]: 1.701 | Exception:
APP message: Time for drawing control [ms]: 1.8791 | Exception:
APP message: Time for drawing control [ms]: 1.732 | Exception:
APP message: Time for drawing control [ms]: 1.7916 | Exception:
APP message: Time for drawing control [ms]: 1.7062 | Exception:
APP message: Time for drawing control [ms]: 1.7368 | Exception:
APP message: Time for drawing control [ms]: 1.7097 | Exception:
APP message: Time for drawing control [ms]: 1.8649 | Exception:
APP message: Time for drawing control [ms]: 2.173 | Exception:
APP message: Time for drawing control [ms]: 1.6923 | Exception:
APP message: Time for drawing control [ms]: 1.7848 | Exception:
APP message: Time for drawing control [ms]: 1.816 | Exception:
APP message: Time for drawing control [ms]: 1.8037 | Exception:
APP message: Time for drawing control [ms]: 2.136 | Exception:
APP message: Time for drawing control [ms]: 1.8379 | Exception:
APP message: Time for drawing control [ms]: 1.7541 | Exception:
APP message: Time for drawing control [ms]: 3.1795 | Exception:
APP message: Time for drawing control [ms]: 3.3965 | Exception:
APP message: Time for drawing control [ms]: 3.81 | Exception:
APP message: Time for drawing control [ms]: 3.7654 | Exception:
APP message: Time for drawing control [ms]: 6.6665 | Exception:
APP message: Time for drawing control [ms]: 4.4881 | Exception:
APP message: Time for drawing control [ms]: 4.6698 | Exception:
APP message: Time for drawing control [ms]: 66.8051 | Exception:
APP message: Time for drawing control [ms]: 4.471 | Exception:
APP message: Time for drawing control [ms]: 2.4908 | Exception:
APP message: Time for drawing control [ms]: 1.6226 | Exception:
APP message: Time for drawing control [ms]: 6.8098 | Exception:
APP message: Time for drawing control [ms]: 5.5147 | Exception:
APP message: Time for drawing control [ms]: 2.9104 | Exception:
APP message: Time for drawing control [ms]: 0.7885 | Exception:
APP message: Time for drawing control [ms]: 4.7803 | Exception:
APP message: Time for drawing control [ms]: 3.3193 | Exception:
APP message: Time for drawing control [ms]: 5.503 | Exception:
APP message: Time for drawing control [ms]: 4.4856 | Exception:
APP message: Time for drawing control [ms]: 2.0111 | Exception:
APP message: Time for drawing control [ms]: 1.9445 | Exception:
APP message: Time for drawing control [ms]: 2.18 | Exception:
APP message: Time for drawing control [ms]: 2.4562 | Exception:
APP message: Time for drawing control [ms]: 2.275 | Exception:
APP message: Time for drawing control [ms]: 1.8645 | Exception:
APP message: Time for drawing control [ms]: 5.0759 | Exception:
APP message: Time for drawing control [ms]: 1.3624 | Exception:
APP message: Time for drawing control [ms]: 1.3291 | Exception:
APP message: Time for drawing control [ms]: 0.7124 | Exception:
APP message: Time for drawing control [ms]: 0.6328 | Exception:
APP message: Time for drawing control [ms]: 0.716 | Exception:
APP message: Time for drawing control [ms]: 1.3188 | Exception:
APP message: Time for drawing control [ms]: 0.8681 | Exception:
APP message: Time for drawing control [ms]: 0.6455 | Exception:
APP message: Time for drawing control [ms]: 0.6435 | Exception:
APP message: Time for drawing control [ms]: 1.1502 | Exception:
APP message: Time for drawing control [ms]: 0.6646 | Exception:
APP message: Time for drawing control [ms]: 4.6889 | Exception:
APP message: Time for drawing control [ms]: 3.0802 | Exception:
APP message: Time for drawing control [ms]: 4.4784 | Exception:
APP message: Time for drawing control [ms]: 4.9774 | Exception:
APP message: Time for drawing control [ms]: 7.7657 | Exception:
APP message: Time for drawing control [ms]: 4.5454 | Exception:
APP message: Time for drawing control [ms]: 2.6562 | Exception:
APP message: Time for drawing control [ms]: 2.3594 | Exception:
APP message: Time for drawing control [ms]: 2.0951 | Exception:
APP message: Time for drawing control [ms]: 2.4361 | Exception:
APP message: Time for drawing control [ms]: 1.9699 | Exception:
APP message: Time for drawing control [ms]: 1.9629 | Exception:
APP message: Time for drawing control [ms]: 1.963 | Exception:
APP message: Time for drawing control [ms]: 1.9703 | Exception:
APP message: Time for drawing control [ms]: 1.9754 | Exception:
APP message: Time for drawing control [ms]: 2.3274 | Exception:
APP message: Time for drawing control [ms]: 2.1189 | Exception:
APP message: Time for drawing control [ms]: 1.9587 | Exception:
APP message: Time for drawing control [ms]: 2.0869 | Exception:
APP message: Time for drawing control [ms]: 1.9444 | Exception:
APP message: Time for drawing control [ms]: 2.0658 | Exception:
APP message: Time for drawing control [ms]: 1.9962 | Exception:
APP message: Time for drawing control [ms]: 1.9312 | Exception:
APP message: Time for drawing control [ms]: 2.1492 | Exception:
APP message: Time for drawing control [ms]: 1.9349 | Exception:
APP message: Time for drawing control [ms]: 1.9479 | Exception:
APP message: Time for drawing control [ms]: 1.9404 | Exception:
APP message: Time for drawing control [ms]: 1.9792 | Exception:
APP message: Time for drawing control [ms]: 1.878 | Exception:
APP message: Time for drawing control [ms]: 1.7827 | Exception:
APP message: Time for drawing control [ms]: 1.2303 | Exception:
APP message: Time for drawing control [ms]: 0.6044 | Exception:
APP message: Time for drawing control [ms]: 0.6777 | Exception:
APP message: Time for drawing control [ms]: 0.7563 | Exception:
APP message: Time for drawing control [ms]: 0.6938 | Exception:
APP message: Time for drawing control [ms]: 0.689 | Exception:
APP message: Time for drawing control [ms]: 1.8907 | Exception:
APP message: Time for drawing control [ms]: 2.0004 | Exception:
APP message: Time for drawing control [ms]: 3.9608 | Exception:
APP message: Time for drawing control [ms]: 7.9238 | Exception:
APP message: Time for drawing control [ms]: 8.7746 | Exception:
APP message: Time for drawing control [ms]: 3.3147 | Exception:
APP message: Time for drawing control [ms]: 3.7 | Exception:
APP message: Time for drawing control [ms]: 3.1307 | Exception:
APP message: Time for drawing control [ms]: 2.0818 | Exception:
APP message: Time for drawing control [ms]: 1.8325 | Exception:
APP message: Time for drawing control [ms]: 2.0297 | Exception:
APP message: Time for drawing control [ms]: 1.9377 | Exception:
APP message: Time for drawing control [ms]: 1.9586 | Exception:
APP message: Time for drawing control [ms]: 7.9416 | Exception:
APP message: Time for drawing control [ms]: 4.4319 | Exception:
APP message: Time for drawing control [ms]: 2.3662 | Exception:
APP message: Time for drawing control [ms]: 2.1829 | Exception:
APP message: Time for drawing control [ms]: 2.094 | Exception:
APP message: Time for drawing control [ms]: 1.9989 | Exception:
APP message: Time for drawing control [ms]: 2.1668 | Exception:
APP message: Time for drawing control [ms]: 2.0545 | Exception:
APP message: Time for drawing control [ms]: 2.0397 | Exception:
APP message: Time for drawing control [ms]: 3.1979 | Exception:
APP message: Time for drawing control [ms]: 2.2728 | Exception:
APP message: Time for drawing control [ms]: 2.0899 | Exception:
APP message: Time for drawing control [ms]: 2.1671 | Exception:
APP message: Time for drawing control [ms]: 2.2745 | Exception:
APP message: Time for drawing control [ms]: 2.2435 | Exception:
APP message: Time for drawing control [ms]: 2.1617 | Exception:
APP message: Time for drawing control [ms]: 1.9975 | Exception:
APP message: Time for drawing control [ms]: 1.9914 | Exception:
APP message: Time for drawing control [ms]: 2.1616 | Exception:
APP message: Time for drawing control [ms]: 0.826 | Exception:
APP message: Time for drawing control [ms]: 0.9046 | Exception:
APP message: Time for drawing control [ms]: 0.7772 | Exception:
APP message: Time for drawing control [ms]: 0.9053 | Exception:
APP message: Time for drawing control [ms]: 0.6377 | Exception:
APP message: Time for drawing control [ms]: 0.7426 | Exception:
APP message: Time for drawing control [ms]: 0.6401 | Exception:
APP message: Time for drawing control [ms]: 0.7948 | Exception:
APP message: Time for drawing control [ms]: 0.7406 | Exception:
APP message: Time for drawing control [ms]: 0.8354 | Exception:
APP message: Time for drawing control [ms]: 0.5811 | Exception:
APP message: Time for drawing control [ms]: 18.5037 | Exception:
APP message: Time for drawing control [ms]: 0.6711 | Exception:
APP message: Time for drawing control [ms]: 0.5784 | Exception:
APP message: Time for drawing control [ms]: 0.7634 | Exception:
APP message: Time for drawing control [ms]: 0.9088 | Exception:
APP message: Time for drawing control [ms]: 0.7158 | Exception:

Ok yeah, just double checked, rc.4 is OK. I'll fix the main post

3.0.1 was released with a fix for this. Please check it out.

Yeah, was just diving into the docs, haven't used it before. Thanks again!


CLOUDSTACK-10065: Optimize SQL queries in listTemplate API to improve performance

Description:
The db queries in listTemplateAPI could be optimized to get unique results from the database which could help in reducing the listTemplate API response time.

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1087

@blueorangutan test

Trillian test result (tid-1515)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 37980 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2260-t1515-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Test completed. 60 look OK, 2 have error(s)

Test
Result
Time (s)
Test File

test_01_vpc_remote_access_vpn
Failure
60.96
test_vpc_vpn.py

test_04_rvpc_privategw_static_routes
Failure
371.31
test_privategw_acl.py

test_change_service_offering_for_vm_with_snapshots
Skipped
0.00
test_vm_snapshots.py

test_09_copy_delete_template
Skipped
0.02
test_templates.py

test_06_copy_template
Skipped
0.00
test_templates.py

test_static_role_account_acls
Skipped
0.02
test_staticroles.py

test_11_ss_nfs_version_on_ssvm
Skipped
0.02
test_ssvm.py

test_01_scale_vm
Skipped
0.00
test_scale_vm.py

test_01_primary_storage_iscsi
Skipped
0.04
test_primary_storage.py

test_vm_nic_adapter_vmxnet3
Skipped
0.00
test_nic_adapter_type.py

test_nested_virtualization_vmware
Skipped
0.00
test_nested_virtualization.py

test_06_copy_iso
Skipped
0.00
test_iso.py

test_list_ha_for_host_valid
Skipped
0.02
test_hostha_simulator.py

test_list_ha_for_host_invalid
Skipped
0.02
test_hostha_simulator.py

test_list_ha_for_host
Skipped
0.02
test_hostha_simulator.py

test_hostha_enable_feature_without_setting_provider
Skipped
0.02
test_hostha_simulator.py

test_hostha_enable_feature_valid
Skipped
0.03
test_hostha_simulator.py

test_hostha_disable_feature_valid
Skipped
0.03
test_hostha_simulator.py

test_hostha_configure_invalid_provider
Skipped
0.05
test_hostha_simulator.py

test_hostha_configure_default_driver
Skipped
0.03
test_hostha_simulator.py

test_ha_verify_fsm_recovering
Skipped
0.02
test_hostha_simulator.py

test_ha_verify_fsm_fenced
Skipped
0.02
test_hostha_simulator.py

test_ha_verify_fsm_degraded
Skipped
0.02
test_hostha_simulator.py

test_ha_verify_fsm_available
Skipped
0.03
test_hostha_simulator.py

test_ha_multiple_mgmt_server_ownership
Skipped
0.02
test_hostha_simulator.py

test_ha_list_providers
Skipped
0.02
test_hostha_simulator.py

test_ha_enable_feature_invalid
Skipped
0.02
test_hostha_simulator.py

test_ha_disable_feature_invalid
Skipped
0.02
test_hostha_simulator.py

test_ha_configure_enabledisable_across_clusterzones
Skipped
0.02
test_hostha_simulator.py

test_configure_ha_provider_valid
Skipped
0.02
test_hostha_simulator.py

test_configure_ha_provider_invalid
Skipped
0.03
test_hostha_simulator.py

test_deploy_vgpu_enabled_vm
Skipped
0.03
test_deploy_vgpu_enabled_vm.py

test_3d_gpu_support
Skipped
0.03
test_deploy_vgpu_enabled_vm.py

Before fix (With 16 templates)
2017-09-18 18:19:52,830 DEBUG [c.c.a.ApiServlet] (qtp1538495109-12761:ctx-6a668556) (logid:330b3e52) ===START===  <IP_ADDRESS> -- GET  command=listTemplates&listall=true&response=json&templatefilter=all
2017-09-18 18:19:52,944 DEBUG [c.c.a.ApiServlet] (qtp1538495109-12761:ctx-6a668556 ctx-9f9b539c) (logid:330b3e52) ===END===  <IP_ADDRESS> -- GET  command=listTemplates&listall=true&response=json&templatefilter=all
Total time to get list Template is : 944 - 830 = 1.14sec
After fix (With 16 templates)
2017-09-18 19:25:55,574 DEBUG [c.c.a.ApiServlet] (qtp769172083-27:ctx-cca8c1d4) (logid:5b01e482) ===START===  <IP_ADDRESS> -- GET  command=listTemplates&listall=true&response=json&templatefilter=all
2017-09-18 19:25:55,679 DEBUG [c.c.a.ApiServlet] (qtp769172083-27:ctx-cca8c1d4 ctx-fe269cc5) (logid:5b01e482) ===END===  <IP_ADDRESS> -- GET  command=listTemplates&listall=true&response=json&templatefilter=all
Total time to get list Template is :  679 – 574 = 1.05 sec
With only 16 templates, time difference is negligible. However we may get to see the improvement with bulk data.
Test LGTM

Test LGTM (did not do code review), we'll need one more code review after that if there are no outstanding issues we can merge this.

Reviewed the code  LGTM

tag:mergeready

@rhtyd : Could you please merge this change ? There are 2 Test LGTM and a Code LGTM, and no outstanding issues.

@PranaliM I've left some code review comments, please have a look. Can you also attempt to add some unit tests for newly added methods? Following your changes we can do a final test run and merge this PR. Thanks.

@rhtyd, I am writing Marvin test case for this code change to test the listTemplate API, instead of a unit test case. I will update the test case soon in the PR along with other review comments incorporated.

I still think a unit test to valid the SQL query generation through searchAndDistinctCount will be good to have, and is different than the marvin test case.

@marcaurele, since this change is related to database queries, a Marvin test will help because the actual result of the db query can be verified. In case of a Unit test case, the db won't be actually queried. So, as per me Marvin test case could be useful in this scenario.
Please let me know if you think otherwise.

@PranaliM are you adding a marvin (or unit) test?

@rhtyd , I was actually waiting for @marcaurele's reply about a Marvin test instead of unit test.
Also, there is an existing Marvin smoke test:  test_01_create_template in the file test_templates.py, which creates and lists a template. As per me that test case should suffice for this change.
In case you have any inputs on what additionally should be included in the Marvin test case for testing this particular change, then please do let me know. I will write a new test if there are any inputs.

LGTM, once @marcaurele LGTMs I'll merge this. Thanks @PranaliM

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1395

@blueorangutan test

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-1815)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 31936 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2260-t1815-kvm-centos7.zip
Smoke tests completed. 63 look OK, 4 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_01_vpc_privategw_acl
Failure
66.23
test_privategw_acl.py

test_02_vpc_privategw_static_routes
Failure
192.27
test_privategw_acl.py

test_03_vpc_privategw_restart_vpc_cleanup
Failure
187.23
test_privategw_acl.py

test_04_rvpc_privategw_static_routes
Failure
408.45
test_privategw_acl.py

test_02_create_template_with_checksum_sha1
Error
5.19
test_templates.py

test_03_create_template_with_checksum_sha256
Error
5.16
test_templates.py

test_04_create_template_with_checksum_md5
Error
5.15
test_templates.py

test_01_volume_usage
Failure
796.55
test_usage.py

test_01_vpc_remote_access_vpn
Failure
60.68
test_vpc_vpn.py


Update Wagtail logo to latest version

Wagtail’s logo has recently been refined to make it easier to read, in particular with the white wing gap better defined:

We need to update this in the CMS, as well as the README, and potentially other parts of the project. Here are all the areas where work is needed.
Documentation

[ ] README
[ ] Favicon
[ ] Documentation site logo.png

CMS interface

[ ] Sidebar logo
[x] 404 page
[x] Footer of the login screen (cf #10418)

Use the design system "grey on black" logo variation incl. "wagtail" logotype, but with a circle showing in WHCM only to guarantee enough contrast there.

[x] Userbar / edit bird (cf #10418)
[ ] Favicon

Other

[ ] Test image "wagtail.png"
[x] Styleguide test image

Hello! I would be pleased to contribute here. Can you please assign this to me ?

Partial progress completed on https://github.com/wagtail/wagtail/pull/10656 but I have left this ticket open as there is still a question of whether we want the Readme updated and a separate PR #10659

Can we also add the new logo to the devicon package request for our Wagtail logo.
https://github.com/devicons/devicon/issues/1559
It may be nice to also 'bump' that issue to see if it can get resolved, or even better, create a PR that puts our new logo into the requested formats.
https://github.com/devicons/devicon/blob/master/CONTRIBUTING.md#overview-on-submitting-icons

where can I get the new logo .png file? to restructure the docs?

@OsafAliSayed I'd say first step would be prepare a new PR that rebases https://github.com/wagtail/wagtail/pull/10659 and maybe just solves the one use case of the sidebar menu.
Either in that new PR or another after it, try to fill in the other gaps where the new logo is not updated.
If you need source images - best place to look would be in the files updated in the first PR. These are likely SVGs only but can be converted without too much issue, you could even convert them within Wagtail or some online tool.
https://github.com/wagtail/wagtail/pull/10656

@OsafAliSayed  - I ended up just doing the last few image changes when merging your PR, as they needed to have SVGs prepared and ico files etc.
However, if you are up for it, maybe you could bring the new files over to a PR on the Sphinx Wagtail theme https://github.com/wagtail/sphinx-wagtail-theme/issues/287

Sure, I will give it a go!

Just a note for future logo updates - looks like the email header got missed.
https://github.com/wagtail/wagtail/issues/12369
Nice pick-up @Stormheg


Bug: creating two providers with the same name ends an unexpected exception and behavior

Hi!
Steps to reproduce:

Create first provider any type (for example saml) with name test and default option

Try  to create another provider with the same name

Return to  list of providers. There is no previous provider. But there is a new provider with an unexpected name

@yamaritta this is not a bug. The error message improvement is tracked in: https://github.com/casdoor/casdoor/issues/1831
And it's not an "unexpected" name, it's a random name provider just generated after you clicked "Add", you need to click "Cancel" to remove it.

Why was first provider created deleted?


Blank page when accessing to http://localhost:8888/ (OSX 10.8.4)

Hello guys,
I tried to run the project on a Mac (OSX 10.8.4), following the steps of the README, but when I go to http://localhost:8888/, I only see a blank page.
Also, the browser says that paths static/application.css and static/application.js doesn't exists (404 error).


API does not working?

I tried use API, and getting 404 code for all my requests.
example:
 curl -H "Authorization: SharedSecret <my secret>"      http://localhost:5001/api/token #i use specific port
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>404 Not Found</title>

Not Found

The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

First of all, I'm gonna need more information.

What version are you running?
Are you using the ansible-docker-deploy by any chance? Are you using docker or python directly?
Have you tried to ommit the api path http://localhost:5001/api/token - older versions didn't have it
can you post your config.yaml file? (please dont post passwords tho)

pip3 install --upgrade matrix-registration Requirement already satisfied: matrix-registration in ./venv/lib/python3.6/site-packages (0.8.0)
2. I using python directly.
3. I didn't quite understand what you meant
my config.yaml:
`
server_location: 'http://localhost:8009'
server_name: ''
#client_logo: static/images/element-logo.png
shared_secret: ''
admin_secret: ''
base_url: '/element'
riot_instance: 'https://'
client_redirect: 'https:///#/login'
db: 'postgresql://matrix-registration:@localhost:5432/matrix-registration'
host: 'localhost'
port: 5001
rate_limit: ["100 per day", "10 per minute"]
allow_cors: false
logging:
disable_existing_loggers: False
version: 1
root:
level: DEBUG
handlers: [console, file]
formatters:
brief:
format: '%(name)s - %(levelname)s - %(message)s'
precise:
format: '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
handlers:
console:
class: logging.StreamHandler
level: INFO
formatter: brief
stream: ext://sys.stdout
file:
class: logging.handlers.RotatingFileHandler
formatter: precise
level: INFO
filename: m_reg.log
maxBytes: 10485760 # 10MB
backupCount: 3
encoding: utf8
password requirements
password:
min_length: 9
username:
invalidation_regex: ["admin","support","abuse","info","administrator",]
`

Ok so you have base_url: '/element' set so the url should be

http://localhost:5001/element/api/token
http://localhost:5001/element/token

Depending on how new the pip build is

to prevent further errors, how do I update the build?

Not sure when/if the pip build will get updated (prob not in the near future), if you want you can clone the repo directly and run setup.py manually.


StandardCursorType does not have a None Field

A None field to hide the cursor would be extremely useful. This exists in WPF System.Windows.Input.Cursors

I'm closing this as fixed, as it wasn't closed by the merge of #2551 for some reason.


Active issues not pinned to top

I really like the new feature to pin active issues to the top. This doesn't seem to affect the project grouping/ordering as the active issue simply moves to the top of its own project but not to the top of the whole list what would be much more confient. Right now i have to scroll down to the project containing the active issue (and i have a lot of them!).
Thanks for considering an update for this.

Thank you for reporting this bug.
I fixed the order of the issues and release a new version (v1.16.1)

Hi, Is this functionality working only for the issues where I'm an assignee? Because for me it doesn't work on other (not mine) issues. "Pin issue of active tab to the top" feature is more important for not mine issues, because you always have to search them.
For me it works like this:

Issue of active tab where I'm assignee -> Shows on top of the list (OK)
Issue of active tab where I'm not an assignee -> Doesn't show up in the list at all (NOK)
Thanks in advance for paying attention to this comment!

Yes, currently this only works for assigned issues. I added this to my to-do list and will improve this feature in the future.


Add JetBrains IDE files to gitignore

What this PR does / why we need it:
This PR prevents developers using the JetBrains family of IDEs from including IDE files in their commits.
Release note:

NONE

@kubernetes/kube-deploy-reviewers

I have signed the CLA

Have you considered setting up a global gitignore?
I've got one in $HOME/.gitignore_global:
.idea/*

I tend to agree with the comment above about global gitignore since those kind of files would vary from developer to developer (I've had my issues with Emacs files that I wanted to ignore as well).

Sounds reasonable, I'll close this PR.


[FEATURE]: Update schema in drizzle-zod

Describe what you want
It would be really cool to have a schema generated that only contains PK + Optional fields for all other values. This can then be used in combination with .pick() to for example define the input of a trpc route.
As far as I know there's no way to do this except for using something like this:
const updateSchema = insertSchema
  .omit({ id: true })
  .partial()
  .merge(testSchema.pick({ id: true }));

I think having a createUpdateSchema method would make this a lot cleaner

I just found #503, so I'll close this as a duplicate, but I still think something like this would be really useful


Oauth2.0 - client Credentials -> Get Access Token =>not good URL?

When I use the client Credentials with Oauth2, i think that is not the good URL to use to get the token whith the button "Get Acces Token".

Have the same issue
I suspect this is why oauth2 with client credentials on collection level does not work too.
Simply returns a 'invalid_request' error.


The service mariadb show status 'error',but it works well

When I type the command brew services list,the result of mariadb is :
mariadb    error   mofeng /Users/mofeng/Library/LaunchAgents/homebrew.mxcl.mariadb.plist
But when I type mysql -uroot,It can login the mariadb server and  work very well.
So why the service show error,and how to see details about the error message.Thanks!

the same with the service dnsmasq

mysql

mysql      error   Mluboroscev /Users/Mluboroscev/Library/LaunchAgents/homebrew.mxcl.mysql.plist

Closing as duplicate of https://github.com/Homebrew/homebrew-services/issues/92


Error running autocrop script

Hi Andrew,
I am trying to apply your script to a stack of images I have registered, however I am running into the following error:
[ERROR] Traceback (most recent call last):
File "Autocrop_Black_Edges.py", line 124, in
File "Autocrop_Black_Edges.py", line 119, in main
at ij.process.FloatProcessor.downsize1D(FloatProcessor.java:987)
at ij.process.FloatProcessor.downsize(FloatProcessor.java:960)
at ij.process.ImageProcessor.resize(ImageProcessor.java:2280)
at ij.plugin.Scaler.createNewStack(Scaler.java:127)
at ij.plugin.Scaler.resize(Scaler.java:100)
at ij.ImagePlus.resize(ImagePlus.java:2510)
at ij.ImagePlus.resize(ImagePlus.java:2502)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
java.lang.ArrayIndexOutOfBoundsException: java.lang.ArrayIndexOutOfBoundsException: 0
at org.python.core.Py.JavaError(Py.java:547)
at org.python.core.Py.JavaError(Py.java:538)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:192)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:208)
at org.python.core.PyObject.__call__(PyObject.java:512)
at org.python.core.PyObject.__call__(PyObject.java:517)
at org.python.core.PyMethod.__call__(PyMethod.java:171)
at org.python.pycode._pyx0.main$4(Autocrop_Black_Edges.py:121)
at org.python.pycode._pyx0.call_function(Autocrop_Black_Edges.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyBaseCode.call(PyBaseCode.java:119)
at org.python.core.PyFunction.__call__(PyFunction.java:406)
at org.python.pycode._pyx0.f$0(Autocrop_Black_Edges.py:124)
at org.python.pycode._pyx0.call_function(Autocrop_Black_Edges.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1687)
at org.python.core.__builtin__.eval(__builtin__.java:497)
at org.python.core.__builtin__.eval(__builtin__.java:501)
at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:255)
at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:57)
at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:31)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
at org.scijava.script.ScriptModule.run(ScriptModule.java:164)
at org.scijava.module.ModuleRunner.run(ModuleRunner.java:163)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:124)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:63)
at org.scijava.thread.DefaultThreadService.lambda$wrap$2(DefaultThreadService.java:225)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)

Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at ij.process.FloatProcessor.downsize1D(FloatProcessor.java:987)
at ij.process.FloatProcessor.downsize(FloatProcessor.java:960)
at ij.process.ImageProcessor.resize(ImageProcessor.java:2280)
at ij.plugin.Scaler.createNewStack(Scaler.java:127)
at ij.plugin.Scaler.resize(Scaler.java:100)
at ij.ImagePlus.resize(ImagePlus.java:2510)
at ij.ImagePlus.resize(ImagePlus.java:2502)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.python.core.PyReflectedFunction.call(PyReflectedFunction.java:190)
... 29 more
I have run it successfully on the sample image provided. I also seem to be able to run it when I crop my stack, or when my stack is reduced in number of slices. Do you have any idea what may be going wrong? Happy to share images with you if that helps.

Hi Elias,
Sorry to hear you are having  trouble with this. It would be great if you could send me an image stack where it doesn't work as well as the cropped version that does work. Then I can try to see what the problem is. Earliest I will have time to have a look would be middle of next week.

DAPI_stack_aligned.tif
https://drive.google.com/file/d/1RSm9c0qHr0G1bTG3LkgyFa348xCHYR1F/view?usp=drive_web
DAPI_stack_cropped.tif
https://drive.google.com/file/d/1trNOeeztiFGrNWnaN1zl02lnRh3ShNgM/view?usp=drive_web
Dear Andrew,
Many thanks for your reply - I have attached two image stacks, one of which
is a cropped version of the other. The script seems to run fine on the
cropped version attached, but not the complete image. Thanks again for the
help!
Best regards,
Elias
On Fri, Feb 17, 2023 at 12:19 PM Andrew Clark @.***>
wrote:

Hi Elias,
Sorry to hear you are having trouble with this. It would be great if you
could send me an image stack where it doesn't work as well as the cropped
version that does work. Then I can try to see what the problem is. Earliest
I will have time to have a look would be middle of next week.
—
Reply to this email directly, view it on GitHub
https://github.com/agclark12/autocrop_black_edges/issues/2#issuecomment-1434499625,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4TW3KXLKCNFV5USCXSG32LWX5NEPANCNFSM6AAAAAAU7JNPZU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi Elias,
Seems like this was somehow related to dealing with this option to have white objects on a black background for binary images, which was not well accounted for previously. I have now fixed this and it seems to work fine now for both of the images you sent. Thanks for the bug report. Let me know if you run into any trouble on your other images. I will close this issue now.
best,
Andrew


Internal Error google login - desktop

Describe the bug
When trying to login with Google using the demo application it opens the browser and when I selected the google account which I want to login it redirects to a page and gives error. The application didn't closes.
Expected behavior
Login succesfully without any kind of error.
Screenshots

Desktop (please complete the following information):

OS: Zorin OS 15 Lite - Linux

Logs
[INFO   ] [Logger      ] Record log in /home/kulothungan/.kivy/logs/kivy_21-03-28_4.txt
[INFO   ] [Kivy        ] v2.0.0
[INFO   ] [Kivy        ] Installed at "/home/kulothungan/.local/lib/python3.6/site-packages/kivy/__init__.py"
[INFO   ] [Python      ] v3.6.9 (default, Jan 26 2021, 15:33:00)
[GCC 8.4.0]
[INFO   ] [Python      ] Interpreter at "/usr/bin/python3"
[INFO   ] [Logger      ] Purge log fired. Analysing...
[INFO   ] [Logger      ] Purge 5 log files
[INFO   ] [Logger      ] Purge finished!
[INFO   ] [Factory     ] 186 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO   ] [KivyMD      ] 0.104.2.dev0, git-Unknown, 2021-03-26 (installed at "/home/kulothungan/.local/lib/python3.6/site-packages/kivymd/__init__.py")
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] Backend used <sdl2>
[INFO   ] [GL          ] OpenGL version <b'3.0 Mesa 20.0.8'>
[INFO   ] [GL          ] OpenGL vendor <b'Intel Open Source Technology Center'>
[INFO   ] [GL          ] OpenGL renderer <b'Mesa DRI Intel(R) HD Graphics 2500 (IVB GT1)'>
[INFO   ] [GL          ] OpenGL parsed version: 3, 0
[INFO   ] [GL          ] Shading version <b'1.30'>
[INFO   ] [GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <16>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [KivyAuth    ] 2.3.1 (installed at "/home/kulothungan/.local/lib/python3.6/site-packages/kivyauth/__init__.py")
[INFO   ] [GL          ] NPOT texture support is available
[INFO   ] [ProbeSysfs  ] device match: /dev/input/event5
[INFO   ] [MTD         ] Read event from </dev/input/event5>
[INFO   ] [Base        ] Start application main loop
[WARNING] [MTD         ] Unable to open device "/dev/input/event5". Please ensure you have the appropriate permissions.
 * Serving Flask app "kivyauth.desktop.utils" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
  * Running on https://<IP_ADDRESS>:9004/ (Press CTRL+C to quit)
[3625:3625:0328/114811.508561:ERROR:broker_posix.cc(43)] Invalid node channel message
Opening in existing browser session.
[3615:3615:0100/000000.979367:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[3615:3615:0100/000000.979902:ERROR:broker_posix.cc(43)] Invalid node channel message
 <IP_ADDRESS> - - [28/Mar/2021 11:48:12] "GET /loginGoogle HTTP/1.1" 302 -
 [2021-03-28 11:48:19,241] ERROR in app: Exception on /loginGoogle/callbackGoogle [GET]
 Traceback (most recent call last):
   File "/home/kulothungan/.local/lib/python3.6/site-packages/flask/app.py", line 2447, in wsgi_app
     response = self.full_dispatch_request()
   File "/home/kulothungan/.local/lib/python3.6/site-packages/flask/app.py", line 1952, in full_dispatch_request
     rv = self.handle_user_exception(e)
   File "/home/kulothungan/.local/lib/python3.6/site-packages/flask/app.py", line 1821, in handle_user_exception
     reraise(exc_type, exc_value, tb)
   File "/home/kulothungan/.local/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
     raise value
   File "/home/kulothungan/.local/lib/python3.6/site-packages/flask/app.py", line 1950, in full_dispatch_request
     rv = self.dispatch_request()
   File "/home/kulothungan/.local/lib/python3.6/site-packages/flask/app.py", line 1936, in dispatch_request
     return self.view_functions[rule.endpoint](**req.view_args)
   File "/home/kulothungan/.local/lib/python3.6/site-packages/kivyauth/desktop/google_auth.py", line 100, in callbackGoogle
     client_google.parse_request_body_response(json.dumps(token_response.json()))
   File "/home/kulothungan/.local/lib/python3.6/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 421, in parse_request_body_response
     self.token = parse_token_response(body, scope=scope)
   File "/home/kulothungan/.local/lib/python3.6/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 431, in parse_token_response
     validate_token_parameters(params)
   File "/home/kulothungan/.local/lib/python3.6/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 438, in validate_token_parameters
     raise_from_error(params.get('error'), params)
   File "/home/kulothungan/.local/lib/python3.6/site-packages/oauthlib/oauth2/rfc6749/errors.py", line 405, in raise_from_error
     raise cls(**kwargs)
 oauthlib.oauth2.rfc6749.errors.InvalidClientError: (invalid_client) Unauthorized
 <IP_ADDRESS> - - [28/Mar/2021 11:48:19] "GET /loginGoogle/callbackGoogle?code=4%2F0AY0e-g43jydTL-tsV7IoVBsPucbC9kD01pINtEkq8y7wBWGNHeRKYXYeUg_RAw9qOF24tA&scope=email+profile+openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile&authuser=0&prompt=consent HTTP/1.1" 500 -

That's because the client secret you used isn't valid. Make sure you've created OAuth apps for different providers you want to use and then use their client ID and secret in the demo application.

I just used the demo client_id.
Did the demo's client_id (google) is expired?

I am facing the same issue. Should the second email address be a different mail?


Error on tests

ErrorException : array_values() expects parameter 1 to be array, null given
C:\SGP-Laravel\vendor\binarybuilds\laravel-mail-manager\src\Managers\NotificationManager.php:31
But I'm using App\User from Laravel
/**
* Route notifications for the mail channel.
*
* @param Notification $notification
* @return string
*/
public function routeNotificationForMail($notification)
{
return $this->ds_email;
}
and this user has email
Works when is not in test environment

@stonkeep Thank you for identifying and creating an issue for this bug. This is now fixed in the latest release 1.0.1.


500 error at /signup/

Failed to execute INSERT INTO deck ( created_date, updated_date, person_id, source_id, url, identifier, name, competition_id, archetype_id, resource_uri, featured_card, score, thumbnail_url, small_thumbnail_url, finish, reviewed ) VALUES ( IFNULL(%s, UNIX_TIMESTAMP()), UNIX_TIMESTAMP(), %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, FALSE ) with [1540443265.159454, 2752, 3, 'https://pennydreadfulmagic.com/competitions/694/', '["enderwiggin77", 694, "1540443265"]', 'Rosheeeeen v2', 694, None, None, None, None, None, None, None] because of (1205, 'Lock wait timeout exceeded; try restarting transaction')

Reported on decksite by enderwiggin77```
--------------------------------------------------------------------------------
Request Method: POST
Path: /signup/?
Cookies: {'__cfduid': 'd1203ed9d94abce7c3ab7a76a8b7d7a831538760141', '_ga': 'GA1.2.1550001210.1538760142', 'gid': 'GA1.2.2026162526.1540258965', 'deck_id': '27393', 'session': '.eJx9UV1rwjAU_S_3uQxb27T1zc6PoQORMV0Zo8TmGuOatCQpnRP-1LB-TDY4zn35px7Ts5QNKglVagsjKxu0QPKpFAw2tPKOMRQClmzOxamrDUrhKMgTOPEH0YJCdMgCoIwTcCDfyaq4K2o2M2pqjlH1l9ganVVDOIo8EBaXhetQa2oRCeGiqHuBOdCxbHTqWlrD0FhLLX9-Bkl26pdOoneJlius5LaeMVXmSHly_fyvm_rT3TBzkDLEo25Ycijzet4m254TpLFbtp100klZ-SJjbP8WLr3-NUIjaagriM_GqbD2Cd--kB84lLex31rZBAmg4EHGveOOvx6yE27tvMmn61wvp6yY_RIlqfjogv1VmTUebhWGxfm3dXn_kLsT467lmXgw4OrTGFP_QpkSDVquHjwpzlLNUd3pWqr6vID97CZsA.DrLd-w.Nq28I6AfT756r_tXq8PEykoATvw'}
Endpoint: add_signup
View Args: {}
Person:<PHONE_NUMBER>92522498
Referrer: https://pennydreadfulmagic.com/signup/
Request Data: {'mtgo_username': 'enderwiggin77', 'name': 'Rosheeeeen v2', 'decklist': '\r\n\r\n 0\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n'}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: <IP_ADDRESS>, <IP_ADDRESS>
Cf-Ray: 46f215c6eb26ae08-BOS
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Cache-Control: max-age=0
Origin: https://pennydreadfulmagic.com
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8
Referer: https://pennydreadfulmagic.com/signup/
Accept-Language: en-US,en;q=0.9,es;q=0.8
Cookie: __cfduid=d1203ed9d94abce7c3ab7a76a8b7d7a831538760141; _ga=GA1.2.1550001210.1538760142; gid=GA1.2.2026162526.1540258965; deck_id=27393; session=.eJx9UV1rwjAU_S_3uQxb27T1zc6PoQORMV0Zo8TmGuOatCQpnRP-1LB-TDY4zn35px7Ts5QNKglVagsjKxu0QPKpFAw2tPKOMRQClmzOxamrDUrhKMgTOPEH0YJCdMgCoIwTcCDfyaq4K2o2M2pqjlH1l9ganVVDOIo8EBaXhetQa2oRCeGiqHuBOdCxbHTqWlrD0FhLLX9-Bkl26pdOoneJlius5LaeMVXmSHly_fyvm_rT3TBzkDLEo25Ycijzet4m254TpLFbtp100klZ-SJjbP8WLr3-NUIjaagriM_GqbD2Cd--kB84lLex31rZBAmg4EHGveOOvx6yE27tvMmn61wvp6yY_RIlqfjogv1VmTUebhWGxfm3dXn_kLsT467lmXgw4OrTGFP_QpkSDVquHjwpzlLNUd3pWqr6vID97CZsA.DrLd-w.Nq28I6AfT756r_tXq8PEykoATvw
Cf-Connecting-Ip: <IP_ADDRESS>
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 3567

--------------------------------------------------------------------------------
DatabaseException
Failed to execute `INSERT INTO deck (
        created_date,
        updated_date,
        person_id,
        source_id,
        url,
        identifier,
        name,
        competition_id,
        archetype_id,
        resource_uri,
        featured_card,
        score,
        thumbnail_url,
        small_thumbnail_url,
        finish,
        reviewed
    ) VALUES (
         IFNULL(%s, UNIX_TIMESTAMP()), UNIX_TIMESTAMP(), %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, FALSE
    )` with `[1540443265.159454, 2752, 3, 'https://pennydreadfulmagic.com/competitions/694/', '["enderwiggin77", 694, "1540443265"]', 'Rosheeeeen v2', 694, None, None, None, None, None, None, None]` because of `(1205, 'Lock wait timeout exceeded; try restarting transaction')`
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in call
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 290, in add_signup
d = lg.signup(form)
File "./decksite/league.py", line 180, in signup
return deck.add_deck(form)
File "./decksite/data/deck.py", line 348, in add_deck
deck_id = db().insert(sql, values)
File "./shared/database.py", line 89, in insert
self.execute(sql, args)
File "./shared/database.py", line 45, in execute
[n, _] = self.execute_anything(sql, args, False)
File "./shared/database.py", line 60, in execute_anything
raise DatabaseException('Failed to execute {sql} with {args} because of {e}'.format(sql=sql, args=args, e=e))

I'm not sure how common this has to be before we consider it an ongoing issue and not "temporary network conditions". I don't even know what this really locks. It locks the deck table for writes to get an auto incremement id?? I don't know enough about how mariadb works but nothing should be locking the deck table for writes for long enough to cause a deadlock theoretically. Maybe it's because we also do a bunch of other stuff in the deck insert transaction like set an entry in deck_cache? Leaving open to accumulate further evidence (or not).

No more occurrences. Closing but monitoring.

Someone was playing silly buggers.
That Decklist is silly.

0


V3 Snapshot Url not using full qualified name

Describe the bug
The url creation isn't taking into account the complete domain
Expected: iobroker.example.com:8082
Current behaviour: iobroker:8082

Host configuration was wrong, adapter is working as intended


Planning a release any time soon?

0.9.28 was released over 2 years ago and there's clearly been refinement going on since then, but distributions are stuck on this old release unsure what the status of CVE-2017-12966 (https://nvd.nist.gov/vuln/detail/CVE-2017-12966) is. Presumably this has been addressed in the meantime (whether or not you judge it to be a serious security concern) but I don't think any distribution has been able to identify the changeset in question, so until there's a release we all have to sit with this anxiety inducing red blob on our security trackers :)

@risicle,
Regarding the CVE:
Please see the history of this CVE here:
https://github.com/vlm/asn1c/issues/190
Frankly I don't know how to deal with it properly. These bugs against compilers, not the compiler's outputs are nasty, because the industry as a whole (read: gcc, clang) admits they don't prioritize or guarantee bug-free operation of the compilers themselves. Chasing these bugs is not a priority. In this particular case it doesn't even reproduce on the master branch.
Regarding the release:
yes, I've been sitting on a bunch of changes I want to do a release. Thank you for nudging me, I might get to it soon.

I hate to be the other person going "nudge", but one of the important things since the last release was support for OER encoding. It doesn't look trivial to backport, unfortunately. Would you consider a "beta" release?

Side-tracking from the main topic: the current OER encoding in the master branch has flaws. Any plans to address them fairly soon?


Emoji is not displayed in Output (console)

Godot version
4.0.beta.3
System information
Windows 10 Pro 21H2
Issue description
If I try to print_debug(...) a message containing emojis they are not rendered.
Instead a box (with the character code?) is displayed.

Steps to reproduce
In GDScript:
print_debug("😁👍❓🎉")
Minimal reproduction project
No response

Looks like it's being discussed at https://github.com/godotengine/godot-proposals/issues/916, and right now the only issue (for emoji in strings and comments) seems to be a lack of a monospace font with a suitable license and coloured emoji support.
As a workaround, you can use a font that fits your needs by changing the code editor font manually. Feel free to mention any fonts that may have a fitting license, as my short search didn't yield anything promising.

Now that system fonts can be loaded (4.0 only), it should be possible to add the system's emoji font as a fallback font throughout the editor (in the main font, code font and output font).

it should be possible to add the system's emoji font as a fallback font throughout the editor (in the main font, code font and output font).

For some system fonts (Noto Color / Twemoji) it might need https://github.com/godotengine/godot/pull/64530, but at least default Apple and Windows 10 emoji fonts are bitmap, so it's should be easy to do.


RRBot unable to reach desired joint positions before /forward_position_controller requests new joint position in Example 1

Describe the bug
The /forward_position_controller in Example 1 requests a new joint position every 5 seconds. However, the rrbot is unable to reach the desired joint position within 5 seconds. As a result, the rrbot is constantly moving, and does not achieve the desired joint positions. This does not seem to be the desired behavior of the tutorial.
To Reproduce
Steps to reproduce the behavior:

In terminal 1, run ros2 launch ros2_control_demo_example_1 rrbot.launch.py
In terminal 2, run ros2 launch ros2_control_demo_example_1 test_forward_position_controller.launch.py
In rviz, observe that the rrbot is unable to reach the desired joint positions before the /forward_position_controller requests a new position.

Expected behavior
The rrbot should be able to reach the desired joint position within the 5 second window. To fix, the rrbot should move its joints faster so that the desired position is reached within the 5 second window, or the /forward_position_controller should have a longer default time between requests.
If the robot moving slowly is intended behavior, perhaps an instruction on how to increase the speed of the arm can be included in the tutorial so new users can learn.
Environment (please complete the following information):

OS: Ubuntu 22.04
Version: humble

Additional context
Please note that the same problem occurs when using the /joint_trajectory_controller in the tutorial.

I think this was an accepted behavior when this example was written. But feel free to add an PR to change this. However, the current implementation of the "dynamics" has almost infinite settling time.
    hw_states_[i] = hw_states_[i] + (hw_commands_[i] - hw_states_[i]) / hw_slowdown_;


Improve performance of PlayerMoveEvent

Can one of the admins verify this patch?  Type 'ok to test' to test.

Thanks


chore: update packages' (vite, vite-legacy) keywords

Description

add keywords to packages' package.json file, to optimize the npm keywords search
Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the PR Title Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Thanks!


HNC: only allow user to assign a missing parent if they have the ability to create that namespace

This issue depends on #156 being merged.
Right now, we allow users to set hc.Spec.Parent to a namespace that doesn't exist yet. This allows someone to say kubectl apply -f to a directory full of YAML and not worry about carefully putting things in place in order. However, we shouldn't allow a user to do this unless they also have the ability to actually create the missing namespace.
I'd suggest modifying the code in #156 as follows to do this:

In authzReq, add a field called verb which can be either create or update (currently, it's always update).
In needAuthzOn, add an authzReq with the create verb and nnm="" to indicate that the user needs to be able to create a namespace. This probably requires factoring out the ancestry check (which has a bunch of early returns) into its own function so that we can append() the new check.
In authzClient (and all its implementing structs), add a CanCreate method along side the IsAdmin method and implement it.
In checkAuthz, wire everything together.

#156 is now merged but I'm wondering if we really want to allow this.

Discussed with @srampal and agreed to forbid this. Replacing this issue with #200 .


Replace ~ with $HOME in PHP_VERSIONS example

Kept getting the "Sorry, but php-version was unable to find version [...]" message when I tried to use the tilde as shown in the example.

Thanks @tooblue


Don't pass "utf-8" encoding argument to bytes.decode()/str.encode()

encoding defaults to "utf-8", see:

https://docs.python.org/3/library/stdtypes.html#bytes.decode
https://docs.python.org/3/library/stdtypes.html#str.encode

This is pretty much a style pr, and it doesn't really hurt to have to encoding explicitly listed either.

Changes made in tinygrad/:
------------------------------------------------------------
files                             insertions       deletions
------------------------------------------------------------
tinygrad/runtime/ops_clang.py              2               2
tinygrad/runtime/ops_cuda.py               5               5
tinygrad/runtime/ops_gpu.py                2               2
tinygrad/runtime/ops_hip.py                1               1
tinygrad/runtime/ops_llvm.py               1               1
tinygrad/runtime/ops_metal.py              1               1
tinygrad/state.py                          1               1
------------------------------------------------------------
total                                     13              13
------------------------------------------------------------
lines added in the tinygrad folder: 0

Yea, just gonna close this for now, unless there is a way to enforce this which then you can reopen.


use PyGLM in combination with Cython

Hello !
Is there an easy way to use pyglm as an interface type for a cython module ?
For instance, I'm considering the specific case of having a cython function taking glm types as arguments and as return value.
PyGLM is written in C++, binding a C++ template library whereas Cython is a C generator (It can also manage with C++ but templates can make it complicated).
What would be the way to achieve this ?

Hello there @jimy-byerley,
unfortunately I don't have any experience with cython whatsoever and wasn't able to find a solution myself.
I'm sure it's possible somehow, though I fear I lack the necessary knowledge.
Maybe you'll have more luck over on StackOverflow?
Cheers
--Zuzu_Typ--

Hello dear @Zuzu-Typ, I know this thread is closed, but I have some news on this topic.
I finally managed to use pyglm together with cython !  I recently made a small module arrex  that provide dynamically typed lists using custom dtypes, including glm types.
solution
Well it's not a really regular solution since it's not using any wrapper/declaration to transmit the glm objects to cython: The array is copying the content of the object for what remains after its PyObject header.
So it relys on the current ABI of pyglm and cpython, however the used parts of their ABI are those that are not about to change soon (an PyObject header MUST be at the beginning, and a glm::vec3<T> is a packed C struct. Those are not gonna change).
An other interesting feature to share is: Thanks to the allocation/ownership strategy I used, it's perfectly safe to access the buffer of those arrays even while resizing the array.
what do you say ?
Since I made this module mostly to work with glm types, I would be very happy to have your mind on it (if you have time and interest for it of course).

Hey there @jimy-byerley,
I've taken a look at arrex a while ago and thought it was a neat idea (:
I haven't been able to try it out myself though, because it doesn't seem to want to build on Windows with MSVC. I did get it to build on my Linux VM, but for some reason it still didn't work - but that might be do to some missing requirements or incorrect setup on my end.
When I've got more time, I'll try and see if I can get it to work, so I can actually check it out and give you a more detailed reply.
Don't worry by the way, you're not the only one who's doing some trickery.
One example:
My array class needs to be able to work with ctypes types. There is not any documented way of extracting the data from those types that I know of, but I've found out that the first part of ctypes objects is a pointer to it's data. By doing some more trickery to determine what type of data is actually stored in the buffer (e.g. double, int32, etc.), I extract the data right from the object, without the need of converting it using conventional methods.
I'm sure I could list you three or four more examples.
If the ABI ever changes, I'm screwed 😅


build a pool explorer dashboard

a basic dashboard that shows the pools of different AMMs can be beneficial to make analysis about the ecosystem. this web page can list and filter the token, pool, amm data.

Congratulations! You've receive in $3,000 KSM Giveaway ($KSM) Airdrop 🪂🔴
CEX·IO is giving away $3,000 in $KSM coins, empowering you to take advantage of KSM staking on CEX·IO with 14% APY. Join the giveaway and earn a chance to win up to $500. Stake Kusama with CEX·IO, get high rewards and win prizes!
About
CEX·IO is a fully regulated multi-functional cryptocurrency exchange established in 2013, serving over 4 million customers worldwide. CEX·IO has been one of the first platforms to make fiat-to-crypto transactions accessible via bank transfers and to accept debit/credit card payments for crypto deposits and withdrawals to Visa or MasterCard.
→ How to join the $3,000 KSM Giveaway Airdrop?
Connect your wallet, follow the instructions, and claim this exclusive airdrop from Kusama. For GitHub users only—share with friends to make it eligible. Redeem your reward first.

Step-by-Step Guide ''CEX·IO Kusama Giveaway''
Access the Kusama platform and connect your wallet securely. Ensure you're using a trusted wallet for the transaction.

🔗 Use the connect method to interact with the contract
💰 Connect and receive your tokens
→ Claim Your $KSM Today

@ulerdogan Please assign it to me. I'll pick this up

LayerZero Airdrop Updated 🪂
The LayerZero Airdrop is confirmed. This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Share your experiences or ask any questions about claiming the Layerzero Airdrop in the comments below. Let's make this process a breeze for everyone!

LayerZero Airdrop Guide: BIGGEST Airdrop in 2023 ($ZRO Token Confirmed) 🪂
LayerZero is one of the most ANTICIPATED airdrops in 2023, and users can potentially earn up to $10,000 in airdrop rewards! This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Claim Now on Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Share on Social Media:

Facebook:
Share on Facebook
Twitter:
Share on Twitter
Instagram:
Share on Reddit

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
🎉 Congratulations! You've won a share of the $1.500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1.500k in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!
Winners: @larionturlo, @manniru, @NguyenTaHuyHoang, @joswiatek, @qinxiuchen, @ego008, @guoleijie, @BigBoulard, @parkstcompany, @Creatorjason, @relife957, @flygo996, @qqiezhian, @montitawi, @urnotlxr, @subhajitdas1999, @bear2u, @hoangbits, @YangYi215613, @ericczhuang, @He1i0S-21, @xxycfhb, @beyonderyue, @jk-gan, @megaherz, @Ice3man543, @geraldkohn, @gtygo, @qink2, @gitsrc, @codinggg, @szchan, @swicaksono, @whatvn, @kvzn, @kenneth, @a-bridged, @westlakemaomao, @cjw0516, @bogdanutanu, @liangqi154, @123Daoxyz, @fajooora, @tudoukp, @ShadowStorm97, @kiknaio, @jamesding, @iagapie, @CLEILI, @duanjian

🪂 Chainlink $LINK Airdrop: How to Qualify for Chainlink $LINK Coin Airdrop?
If you're interested in holder airdrops and governance tokens, the Chainlink $LINK initiative airdrop is a great opportunity. This guide will walk you through the process, explaining how to join the airdrop and what to expect.

🚀 Steps to Secure Your Chainlink $LINK Airdrop:

Connect Your Wallet:

Visit the Chainlink $LINK Airdrop.
Connect your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the airdrop here.

Interact with the Contract:

Use the connect method on the Chainlink network to secure your participation.

Open your connected wallet.
Navigate to the Chainlink $LINK Airdrop contract.
Locate the 'Claim' or equivalent button.
Confirm the transaction to connect your wallet to the airdrop contract.

Engage for Extra Rewards:

Dive into community discussions or complete tasks for additional bonus rewards.

🌈 Bonus Tips for Chainlink $LINK Airdrop Success:

Community Assistance:

Need help? Reach out via Telegram or other social media platforms.

Stay Informed:

Watch for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution may take some time. Stay calm and keep an eye out for updates.

Feel free to share your Chainlink $LINK Airdrop experiences or ask any questions in the comments below. Let's make this process a breeze for everyone!
Winners: @Warchant, @Troublor, @gabrielfior, @wangjuelong, @0x-ak, @dzmitry-lahoda, @Exalex


[Api][Web][SIMS #693]Student SIN Validation

For this PR, I have done the following:

Created a decorator (CheckSinValidation) that is used in the Application Controller.
Created sin validation guard to ensure that students cannot invoke certain endpoints when their Sin is null or invalid.
Added validSIN attribute to the studentprofile class. This attribute is used to map the validSIN attribute from the response payload when the endpoint for studentprofile is called.
Created an attribute called validSIN in the StudentState state object to store the value of validSIN in the redux store when the it is retrieved from via the backend service api call.
Created a reusable banner component to read the value of the validSIN from the redux store and render the appropriate message with the appropriate message with the color.

Good work at your first story @henryoforeh-aot 👍Added some comments.


Daily files no longer updating in s3

See: https://openaq-data.s3.amazonaws.com/index.html

Closing as this project is being deprecated.


Feature/cleanup zip archive

Hey Guys,
Great plugin.  Just noticed that it doesn't cleanup the CodeDeploy archives that are written to /tmp/.  This patch pull request will delete them after uploaded to S3(or an upload ending exception).
Thanks,
Anthony

Thanks for the pull request! I've merged this in and it should go out with the next plugin release.


mixin services

These are services that augment existing module and are connected to "parent" service. For example,

[ ] LED inside an Arcade button
[ ] analog position reader in a analog servo
[ ] position encoder in a motor
[ ] matrix keypad + LED matrix

A auxiliary service is defined in the sub range 0x4...
Auxiliary services must be following the parent service immediately in the control service list.

control
servo
|-- analog reader service
arcade button
|-- led service

Other idea:
-- light service
-- matrix keypad
--- matrix keypad light service

[0] control
[1] matrix keypad light service --> 2 sub services following me
[2] matrix keypad
[3] light service

let's call them mixin services, see https://en.wikipedia.org/wiki/Mixin
let's use 0x2.... range

let's call them mixin services, see https://en.wikipedia.org/wiki/Mixin
let's use 0x2.... range

We are not doing this.

Well, I think we are, just not quite yet.

Documentation needed


Fix ColumnFactory missing new data types

As title.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 62.15%. Comparing base (3cf5c0d) to head (3effaba).
Report is 4 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #267      +/-   ##
===========================================
+ Coverage    61.96%   62.15%   +0.18%
===========================================
  Files          493      493
  Lines        32285    32439     +154
  Branches      4233     4232       -1
===========================================
+ Hits         20005    20162     +157
+ Misses       11826    11823       -3
  Partials       454      454

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


chore: autocommit migration for annotation and embedded datasource changes.

Description

Added autocommit migration to avoid uncommited changes on some of the applications.

Fixes #Issue Number
or
Fixes Issue URL
Automation
/ok-to-test<EMAIL_ADDRESS>:mag: Cypress test results

[!TIP]
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/10826572179
Commit: 49bcb9e52d4960ba135206f2dd300024b6f9cf30
Cypress dashboard.
Tags: @tag.Git
Spec:
Thu, 12 Sep 2024 08:18:46 UTC

Communication
Should the DevRel and Marketing teams inform users about this change?

[ ] Yes
[ ] No

Summary by CodeRabbit

New Features

Updated the server version from 10 to 11, enhancing compatibility and functionality related to JSON schema handling.
Improved logic for default REST datasource migrations, making it more robust and accessible.
Added support for SSH connection configurations in datasource management.

Bug Fixes

Added null checks to prevent potential errors during datasource migrations, enhancing overall reliability.

Refactor

Streamlined filtering logic for actions, improving code readability and maintainability.

/build-deploy-preview skip-tests=true


aws-amplify-react-native "Invalid undefined width of type string supplied...."

When I import Storage from 'aws-amplify-react-native', without doing anything else I get the below error in React Native (using version react-native:0.39.2)

I'm not sure why this is happening, or why there aren't other records of a similar issue, but just by importing I can cause this error!

@soroushnorouzi are you still experiencing this issue? We are not able to reproduce so far, it looks like perhaps your react-native version is a bit outdated i'm using 0.50.3


Use native token symbol and adjust transaction execution text

What it solves
Resolves #3133
How this PR fixes it

The native currency name should not appear within the Safe (unless semantically correct). The symbol is used in place: receive modal, transaction fees, review (new safe) step, native coin value in send modal, contract interaction review/review custom transaction, multisend details, transaction approval.
"{{price}} (fee price) {{name}} in this wallet to fund this confirmation." should now be ""{{number}} {{symbol}} in this wallet to fund the associated transaction fee."
"This action will execute this transaction. A separate Transaction will be performed to submit the execution." should now be "This action will execute the selected transaction."

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 2 (0.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 32.35%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/routes/safe/components/Transactions/TxList/MultiSendDetails.tsx
0
1
0.0%

src/routes/safe/components/Transactions/TxList/modals/ApproveTxModal.tsx
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3081

Relevant Lines:
8468

💛  - Coveralls

Tested on Rinkeby and Polygon, the symbol is displayed correctly.
Made a slight adjustment to make the symbol bold like the amount itself.


Alter Form Validation for Record Updates when No Changes Made

When an administrator presses the Enter button to submit an update form but has made no changes, a form validation error with "No changes have been made" error message should result, with the view remaining on the same update view.
Currently the view changes back to the index view with a "No changes made" error notification.

I'm going to leave as is for now, until it proves to be an inconvenience. Currently it's not a terrible implementation, and I have bigger fish to fry.

Done in the controller/model prior to validation. Will stay on page w/ "No changes made" error notifcation.


htpasswd function is incomplete

The fact that it is not possible to provide arguments to htpasswd has been the cause of many hours of pain. There are apps out there that dictate certain encoding should be chosen, but that is not possible with the current implementation. I saw this upstream remark, but also wanted to insert one here for cross referencing so ppl can be made aware of this:
https://github.com/Masterminds/sprig/issues/32#issuecomment-976406377

Thanks for raising this @Morriz. As this issue pertains to functions provided by a third library, I would suggest others continue to follow the ticket upstream for updates. Once a release has been made available, we can update our dependencies accordingly. I imagine introducing a new argument to htpasswd may be regarded as a breaking change so it’s likely another function may be introduced such as htpasswdwithopt.
For now, let’s stick to tracking the issue upstream. Closing.

Thanks for the update. I don’t think adding arguments breaks anything btw.


Empty split panes suddenly not being destroyed

I've noticed recently (right around the time of the 1.0.6 release) that when I split a file in a new pane, after I close all windows in that pane the pane will still exist. This leaves no 'x' button to close it and I have to resort to cmd+w in order to close it and cause the other panes to fill in that space. Whereas before closing all windows in a pane would cause the pane to be destroyed, this also happens even in safe mode so I assume it's a change in core Atom, though whether it was intentional I'm not quite sure.

There is a setting in the core settings:

Is this checked or unchecked for you?

Ah, it seems it is unchecked. I'm assuming this was added? If so it might be less confusing to have it checked by default. Thanks!


Try structural aware vocabulary

HuggingFace Model - https://huggingface.co/westlake-repl
SaProt paper - https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>0349v1

Preliminary results with Davis without properly tuned hyperparams:

output values:
[22    0.837200
 23    0.825905
 24    0.842545
 25    0.821925
 26    0.811849
 Name: cindex, dtype: float64, ##nomsa
 27    0.829333
 28    0.821276
 29    0.826504
 30    0.840412
 31    0.823426
 Name: cindex, dtype: float64, ##msa
 53    0.855447
 54    0.843247
 55    0.855414
 56    0.842134
 57    0.842102
 Name: cindex, dtype: float64, ##esm
 129    0.852516
 130    0.848126
 131    0.858061
 132    0.861351
 Name: cindex, dtype: float64] ##foldseek

MSE plot

[22    0.403854
 23    0.477717
 24    0.415949
 25    0.434732
 26    0.429358
 Name: mse, dtype: float64,
 27    0.449363
 28    0.471800
 29    0.453965
 30    0.419492
 31    0.460131
 Name: mse, dtype: float64,
 53    0.380870
 54    0.343248
 55    0.355290
 56    0.365248
 57    0.375826
 Name: mse, dtype: float64, ##ESM
 129    0.370823
 130    0.364358
 131    0.363241
 132    0.360638
 Name: mse, dtype: float64] ##FOLDSEEK

Code:
# Figure 4: violin plot with error bars for Cross-validation results to show significance among pro feats
def fig4_pro_feat_violin(df, sel_dataset='davis', verbose=False, sel_col='cindex', exclude=['shannon'],
                         show=False, add_labels=True, add_stats=True, ax=None):
    # Extract relevant data
    filtered_df = df[(df['edge'] == 'binary') & (~df['overlap']) & (df['lig_feat'].isna())]

    # show all with fold info
    filtered_df = filtered_df[(filtered_df['data'] == sel_dataset) & (filtered_df['fold'] != '')]
    nomsa = filtered_df[(filtered_df['feat'] == 'nomsa')][sel_col]
    msa = filtered_df[(filtered_df['feat'] == 'msa')][sel_col]
    # shannon = filtered_df[(filtered_df['feat'] == 'shannon')][sel_col]
    esm = filtered_df[(filtered_df['feat'] == 'ESM')][sel_col]
    foldseek = filtered_df[(filtered_df['feat'] == 'foldseek')][sel_col]

    # printing length of each feature
    if verbose:
        print(f'nomsa: {len(nomsa)}')
        print(f'msa: {len(msa)}')
        # print(f'shannon: {len(shannon)}')
        print(f'esm: {len(esm)}')
        print(f'foldseek: {len(foldseek)}')

    # Get values for each node feature
    plot_data = [nomsa, msa, esm, foldseek]
    ax = sns.violinplot(data=plot_data, ax=ax)
    ax.set_xticklabels(['nomsa', 'msa', 'esm', 'foldseek'])
    ax.set_ylabel(sel_col)
    ax.set_xlabel('Features')
    ax.set_title(f'Feature {sel_col} for {sel_dataset}')

    # Annotation for stats
    if add_stats:
        pairs = [(0,1), (0,2), (1,2)]
        if len(foldseek) > 0:
            pairs += [(0,3),(1,3), (2,3)] # add foldseek pairs if foldseek is not empty
        annotator = Annotator(ax, pairs, data=plot_data, verbose=verbose)
        annotator.configure(test='Mann-Whitney', text_format='star', loc='inside',
                            hide_non_significant=not verbose)
        annotator.apply_and_annotate()

    if show:
        plt.show()

    return plot_data

Conclusions:

SaProt only performs marginally better than ESM but the biggest downside is that we are still working with these large language models that drastically increase compute costs for minimal performance improvements. To get around this our focus has shifted to using GVP architectures that are also "structure-aware" in the same way that the foldseek tokens enable "structure awareness" for SaProt are used.


opt compare str literal as date literal to compute selectivity

this pr improves #34542, when the real data type is date-like type.
Some users are likely to define date(datetime) column as Varchar type.
when estimating the selectivity of predicate like A>'2020-01-01', if nereids regards A and '2020-01-01' as date type, the sel is more accurate than that as string type.

run buildall

run buildall