Allow imagetools.py be used in the JS simulator

Today imagetools.py relies on @micropython.native which is not supported in JS.
Need to provide empty implementation for this decorator specifically for the JS port and see if it runs well enough in the simulator in non native mode.
Example of the problem:
https://sim.lvgl.io/v8.1/micropython/ports/javascript/index.html?script_startup=https://raw.githubusercontent.com/lvgl/lvgl/e3f0b85623962c9ff7e0b58813d075050d772b26/examples/header.py&script=https://raw.githubusercontent.com/lvgl/lvgl/e3f0b85623962c9ff7e0b58813d075050d772b26/examples/widgets/img/lv_example_img_1.py

Personally, I think it would make more sense if @micropython.native and @micropython.viper were optimization hints, and a specific platform which did not support them would simply fall back to normal bytecode execution, so I'm in favor of your solution.
Are there other platforms with no/limited support for these decorators? I wonder if it would be worthwhile to suggest this type of fallback upstream, instead of trying to monkey-patch it in our fork.

Are there other platforms with no/limited support for these decorators? I wonder if it would be worthwhile to suggest this type of fallback upstream, instead of trying to monkey-patch it in our fork.

I think most ports support native/viper decorators, and those who still don't eventually gets support. For example ESP32 got native/viper support less than two years ago.
It makes lots of sense for microcontrollers, but I'm not sure about JS. Worth trying, I guess.

@embeddedt it's going to be harder than simply removing/ignoring a decorator:
https://github.com/lvgl/lv_binding_micropython/blob/772ac989ecfc16ddb4eba6bda99513155692fd81/lib/imagetools.py#L102-L115
Viper syntax is different than Python syntax. In python there is no ptr32.
So here are some options:

Provide a dummy Viper decorator and implement ptr32 in Python. This is going to be slow...
Implement the Viper functions in C instead
Build Micropython JS port with a different color mode that doesn't require this conversion from rgba8888 to bgra8888. I don't think this is possible today but maybe it's possible to support rgba8888 color mode in LVGL? Would it be useful for other purposes? It would probably require changes in the SDL driver as well.

What do you think?

Implemented JS specific imagetools.py under driver/js.
Example


Add activate/deactivate support in the site lists view itself. Remove site show page

Closed by #23


Getting "java.lang.NullPointerException" when running migrate-to-git

Hello,
when I try to run the command migrate-to-git, I get the following exceptions:
Create the list of baselines
java.lang.NullPointerException
at to.rtc.cli.migrate.MigrateTo.createTagListFromBaselines(MigrateTo.java:251)
at to.rtc.cli.migrate.MigrateTo.run(MigrateTo.java:117)
at to.rtc.cli.migrate.git.MigrateToGit.run(MigrateToGit.java:25)
at com.ibm.team.filesystem.cli.core.AbstractSubcommand.run(AbstractSubcommand.java:51)
at com.ibm.team.rtc.cli.infrastructure.internal.core.SubcommandLauncher.run(SubcommandLauncher.java:601)
at com.ibm.team.rtc.cli.infrastructure.internal.core.SubcommandLauncher.doStart(SubcommandLauncher.java:370)
at com.ibm.team.rtc.cli.infrastructure.internal.core.SubcommandLauncher.run(SubcommandLauncher.java:130)
at com.ibm.team.rtc.cli.infrastructure.internal.Application.start(Application.java:41)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
Can someone help me?
Thank you,
Giulia

Hi Giulia
Are you using rtc 6+?
Sadly I cant help you. I havent experienced this problem and some users did experience the same/similar problem....
You might want to try rtc2git instead.

Hi Giulia/WtfJoke,
I have debugged this and found the solution.
RCA : There is an empty or erroneous baseline in between that is causing the issue.
If you wish I can check-in the solution.
Thanks & Regards,
Subham

@subham-awasthi
Can you please provide me the solution to overcome this issue. I am also facing the same issue while migrating my code.

Hi Giulia/WtfJoke,
I have debugged this and found the solution.
RCA : There is an empty or erroneous baseline in between that is causing the issue.
If you wish I can check-in the solution.
Thanks & Regards,
Subham

Hi Subham,
We are facing with the same issue while running migrate-to-git . Can you please provide the solution on how you fixed it

Hi Giulia/WtfJoke,
I have debugged this and found the solution.
RCA : There is an empty or erroneous baseline in between that is causing the issue.
If you wish I can check-in the solution.
Thanks & Regards,
Subham

Hi Subham,
We are facing with the same issue while running migrate-to-git . Can you please provide the solution on how you fixed it

@ghost:can you plz clarify where we need to place migration.properties so that tool  consider it..i am getting error stating file not available

Hi Giulia/WtfJoke,
I have debugged this and found the solution.
RCA : There is an empty or erroneous baseline in between that is causing the issue.
If you wish I can check-in the solution.
Thanks & Regards,
Subham

Can you please provide solution for this,also steps with screenshot to configure source_workspace and target-workspace with examples


Remove calling convention note from v-spec

@Hsiangkai and me is working on proposing new vector calling convention, which means we will have dual calling convention for vector registers, the description might not 100% match the description of appendix B, so I would suggest remove that chapter and let return psABI document.

I will add a note indicating this is not authoritative or being ratified, and refer to the new spec in preparation.  But until there is a new spec to point at, I will keep this in as placeholder as it helps explain the assembler code examples.


Monitoring: Grafana not accessible in EKS cluster

TL;DR: Is there some docs describing how service proxying works in rancher? I would like to debug this myself, but I have no idea how things are connected and where should I start. Also, I'm guessing it might have to do with the fact that the EKS nodes are completely firewalled from the outside world? (which is the only difference between the EKS cluster and a bare-metal cluster with no firewall, which works fine)
Related: #16968 (Monitoring - Grafana links not showing up for EKS)
What kind of request is this (question/bug/enhancement/feature request):
Question / bug?
Steps to reproduce (least amount of steps as possible):

create EKS cluster (using pulumi, maybe that's relevant)
run rancher external to AWS
import the EKS cluster into rancher
enable monitoring
try to access Grafana (using https://rancher.url/k8s/clusters/c-abcde/api/v1/namespaces/cattle-prometheus/services/http:access-grafana:80/proxy/ URL)

Result:
Error: 'dial tcp a.b.c.d:80: connect: connection timed out'
Trying to reach: 'http://a.b.c.d:80/'

where a.b.c.d is the IP address of the grafana-cluster-monitoring pod.
Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.2.2
Installation option (single install/HA): single

I would appreciate if you could point me in the right direction to be able to debug this myself. Also, please let me know if you need additional information.

The server container proxies /k8s/clusters/c-abcde to a control plane node in that cluster, and the rest (/api/v1/namespaces/cattle-prometheus/services/http:access-grafana:80/proxy/) is part of standard k8s to access a service.

I had the same problem and this was my workaround:
access-grafana service:
...
spec:
  clusterIP: ...
  ports:
  - name: http
    port: 80
    protocol: TCP
    targetPort: http
...

grafana-cluster-monitoring deployment:
    spec:
      containers:
      - env:
        - name: GF_AUTH_BASIC_ENABLED
          value: "true"
        - name: GF_AUTH_ANONYMOUS_ENABLED
          value: "true"
        image: rancher/grafana-grafana:5.4.3
        imagePullPolicy: IfNotPresent
        name: grafana
        ports:
        - containerPort: 3000
          name: web
          protocol: TCP

You can see the error: In deployment the port is named with "web" and the service referenced http. So as workaround change the service port name to web and it will work.
But this is not the final solution. Where can I find the helm charts for the system apps?

@JimTim the grafana-cluster-monitoring deployment also has a proxy container
      - args:
        - nginx
        - -g
        - daemon off;
        - -c
        - /nginx/nginx.conf
        image: rancher/nginx:1.15.8-alpine
        imagePullPolicy: IfNotPresent
        name: grafana-proxy
        ports:
        - containerPort: 80
          name: http
          protocol: TCP
        [...]
        volumeMounts:
        - mountPath: /nginx/
          name: grafana-nginx

which is the one the service points to, so that's not the issue.

In my case, the issue was that the security group that deals with the traffic between the k8s API server (managed by EKS) and a node instance was setup by pulumi to allow only ports between 1025-65535, so when trying to proxy access-grafana:80, which points to grafana-cluster-monitoring-pod:80, that was denied. The quick solution was to extend the port range to 80-65535.

That worked for me as well @lbogdan !  I'm creating my cluster/vpc with terraform using the aws vpc module.  I don't suppose anyone knows off the top of their heads how to automate this security group change so it doesn't need to be modified later?

For future reference, from https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html :

Note
To allow proxy functionality on privileged ports or to run the CNCF conformance tests yourself, you must edit the security groups for your control plane and the worker nodes. The security group on the worker nodes' side needs to allow inbound access for ports 0-65535 from the control plane, and the control plane side needs to allow outbound access to the worker nodes on ports 0-65535.

Thanks @lbogdan
Let's move the talk to https://github.com/rancher/rancher/issues/16968
Close in favor of https://github.com/rancher/rancher/issues/16968


Add GCP Cloud PubSub Support

Description
Add GCP Cloud Pubsub support in publish/subscribe  https://cloud.google.com/pubsub/docs

Added pubsub GCP in pubsub_loader in dapr


Add role realms

Permission inheritance is a great thing, but it is obviously incomplete and kind of broken.
Say, there is an application which has two separate sections: news and questions
And here are roles with levels:
news: news_reader (1), news_editor (2), news_moderator (3)
questions: question_asker (1), question_moderator(2)
So it is obvious that user with role 'news_moderator' will have all permissions of question_moderator and question_asker roles which is simply not right.
To solve this issue it would be great to enhance roles with realm field so roles and inheritance could be grouped.
It will not break existing functionaltity. provided that realm field will have default value.

@kerbylav I had the same issue a while back and ended up creating a new packed based on this one.
https://github.com/DynamicCodeNinja/RBAC
Maybe that will help?

@sniper7kills Unfortunately, while it is more flexible, it is way too much inefficient to my taste. Permission checking could be quite often operation, but child-parent tree implementation generates too many SQL queries per check. Same functionality could be reached by just adding extra 'realm' column to this package without extra SQL queries. Just build roles tree based on realm and level.
Also I have a suggestion to denying mechanism: in real world you much more often deny certain permissions rather than some whole roles. And even if you want to add some denying role... I suggest to add some 'denied' field to permission pivot tables and hence you can manage denial of permissions. And then you can even create whole denying roles if you need them.

@kerbylav I see what you mean now. I didn't fully understand before; but you are absolutely right that is a much better way of handling it.

Third ticket I've come across where deny is mentioned. I think that'd be a great feature. Another way to implement it is similar to what Sentry has done in the past (and I'm sure others have as well.) Set the permission value to 1 or -1. This way a role can set the permission to 1. But then a user can have a permission to -1 thus overriding the role permission, and denying access.


[rlottie] New port

[x] Changes comply with the maintainer guide
[x] The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines.
[x] Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all find_package calls are REQUIRED, are satisfied by vcpkg.json's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx
[x] The versioning scheme in vcpkg.json matches what upstream says.
[x] The license declaration in vcpkg.json matches what upstream says.
[x] The installed as the "copyright" file matches what upstream says.
[x] The source code of the component installed comes from an authoritative source.
[x] The generated "usage text" is accurate. See adding-usage for context.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is in the new port's versions file.
[x] Only one version is added to each modified port's versions file.

@frabert, Thanks for your PR, this is ci test error, please take a look:
FAILED: CMakeFiles/rlottie.dir/src/vector/vrle.cpp.o
/usr/bin/c++  -I/mnt/vcpkg-ci/buildtrees/rlottie/x64-linux-dbg -I/mnt/vcpkg-ci/buildtrees/rlottie/src/v0.2-548eae308b.clean/inc -I/mnt/vcpkg-ci/buildtrees/rlottie/src/v0.2-548eae308b.clean/src/vector/freetype -I/mnt/vcpkg-ci/buildtrees/rlottie/src/v0.2-548eae308b.clean/src/vector/pixman -I/mnt/vcpkg-ci/buildtrees/rlottie/src/v0.2-548eae308b.clean/src/vector -I/mnt/vcpkg-ci/buildtrees/rlottie/src/v0.2-548eae308b.clean/src/lottie -I/mnt/vcpkg-ci/buildtrees/rlottie/src/v0.2-548eae308b.clean/src/binding/c -fPIC -g -std=c++14 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -Wall -fvisibility=hidden -Wnon-virtual-dtor -Woverloaded-virtual -Wno-unused-parameter -MD -MT CMakeFiles/rlottie.dir/src/vector/vrle.cpp.o -MF CMakeFiles/rlottie.dir/src/vector/vrle.cpp.o.d -o CMakeFiles/rlottie.dir/src/vector/vrle.cpp.o -c /mnt/vcpkg-ci/buildtrees/rlottie/src/v0.2-548eae308b.clean/src/vector/vrle.cpp
/mnt/vcpkg-ci/buildtrees/rlottie/src/v0.2-548eae308b.clean/src/vector/vrle.cpp: In member function ‘void VRle::Data::updateBbox() const’:
/mnt/vcpkg-ci/buildtrees/rlottie/src/v0.2-548eae308b.clean/src/vector/vrle.cpp:127:32: error: ‘numeric_limits’ is not a member of ‘std’
  127 |     int               l = std::numeric_limits<int>::max();
      |                                ^~~~~~~~~~~~~~
/mnt/vcpkg-ci/buildtrees/rlottie/src/v0.2-548eae308b.clean/src/vector/vrle.cpp:127:47: error: expected primary-expression before ‘int’
  127 |     int               l = std::numeric_limits<int>::max();
      |                                               ^~~

Note: I will be converting your PR to draft status. When you respond, please revert to "ready for review". That way, I can be aware that you've responded since you can't modify the tags.

@JonLiu1993 would it be possible to have access to the rest of the compilation log? I am not able to reproduce the issue on a local Ubuntu 20.04 machine

Please click this URL for the full build log:
https://dev.azure.com/vcpkg/public/_build/results?buildId=93556&view=artifacts&pathAsName=false&type=publishedArtifacts

Tested usage successfully by rlottie:x64-windows:
rlottie provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(rlottie CONFIG REQUIRED)
    target_link_libraries(main PRIVATE rlottie::rlottie)

@frabert, Since there has been no progress on this PR for a year and a half, I will temporarily close this PR. If you have any updates, please feel free to let me know and open it again.


Mark arraycopy as nofree

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

Comparison is base (d83f2ae) 75.59% compared to head (aed205a) 93.30%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1197       +/-   ##
===========================================
+ Coverage   75.59%   93.30%   +17.71%
===========================================
  Files          35        7       -28
  Lines        9891      239     -9652
===========================================
- Hits         7477      223     -7254
+ Misses       2414       16     -2398

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


Add missing section on asymmetric ciphers

Bugfix for missing section in provider(7) documentation.
Please check the 3 identifiers to be correct; not sure from the context if I got them all right from searching through the related sources.

Checklist

[x] documentation is added or updated

ICLA sent. Should be in the system soon.

ICLA sent. Should be in the system soon.

I monitor that mailbox, and I haven't seen this (not in my Junk either)?

@mattcaswell Just dropped you a mail. HTH to resolve.

@mattcaswell https://benbe.keybase.pub/OpenSSL ICLA BenBE.pdf.asc

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Close/reopen to kick CLA bot

Looks like @paulidale processed your CLA.

Pushed. Thanks!


fix(ci): do not depend on other action

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


SendGrid\Mail\Mail constructor does not use addContent correctly

Issue Summary
Our old code was attempting to create an email object like so:
$email = new \SendGrid\Mail\Mail (
	$from,
	$tos,
	$subject,
	$body
);

However, this caused the API to return a "The content value must be a string at least one character in length." error.  Looking at the code, this is where the constructor sets the email content:
https://github.com/sendgrid/sendgrid-php/blob/master/lib/mail/Mail.php#L162
If you look at the addContent method, it seems like one needs to specify the type first and then the value:
https://github.com/sendgrid/sendgrid-php/blob/master/lib/mail/Mail.php#L1093
That is definitely not what the constructor is doing.
Technical details:

sendgrid-php version: 7.4.0
php version: 7.3.13

You must have ran into a 'missing string validation issue' caused by $body = (string value).
Review your code to support newer SendGrid-php version.
Your code fix:
Create instances (PlainTextContent and/or HtmlContent) containing the contents and bind them onto constructor parameters.
Or use method addContent after constructing and provide the right MimeType and contents.
Context/Thoughts for fixing in SendGrid:
According to the constructor of Mail, the type of $plainTextContent (your $body parameter) to provide must be an instance of PlainTextContent or null. A string value (will pass the isset check and) is handled incorrectly by the addContent method.
The 'single non-Content parameter' scenario fails due to a missing check of not having a value because it equals null. Content also doesn't fire a TypeException because it doesn't call the setValue method.
Possible fix scenarios:

Prevent assumptions, reject invalid $type and $value = null (which may be better, but may break current scripts);

    public function addContent($type, $value = null)
    {
        if ($type instanceof Content) {
            $content = $type;
        } elseif (!is_string($type)) {
            throw new TypeException('$type must be string or instance of SendGrid\Mail\Content');
        } elseif (!is_string($value)) {
            throw new TypeException('$value must be string');
        } else {
            $content = new Content($type, $value);
        }
        $this->contents[] = $content;
    }

Assume 'text/plain' type, use $type as $value. If $value is still invalid, TypeException will be thrown from the Content constructor.

    public function addContent($type, $value = null)
    {
        if ($type instanceof Content) {
            $content = $type;
        } elseif (!is_string($type)) {
            throw new TypeException('$type must be string or instance of SendGrid\Mail\Content');
        } else {
            //  If value isn't a string, use type as value
            if (!is_string($value)) {
                $value = $type;

                //  Assume 'text/plain' as type
                $type = MimeType::TEXT;
            }

            $content = new Content($type, $value);
        }
        $this->contents[] = $content;
    }

You mentioned the The content value must be a string at least one character in length. error. This means that empty valued Content instances are included in the API request, which may a separate issue to solve. I suggest throwing a TypeException when constructing Content if not having none/both $type and $value parameters - it will help a little bit to prevent these simple errors.
    public function __construct($type = null, $value = null)
    {
        //  Evaluate presence of type and value
        $hasValue = (isset($value));
        $hasType = (isset($type));

        //  Only allow none/both parameters
        if ($hasType !== $hasValue) {
            throw new TypeException('Please provide no/both $type and $value parameters.');
        }

        //  Assign type and value (checks can be combined into single one)
        if ($hasType) {
            $this->setType($type);
        }
        if ($hasValue) {
            $this->setValue($value);
        }
    }

Constructing without parameters is still possible, but I consider this scenario as 'I know what I am doing'.
Real validation of having all required properties is missing. Only null property values will be filtered out during jsonSerialize. I think this is 'by design'.
Additionally: method setType of Content doesn't check for allowed values which are defined in MimeType. How likely is it to allow other types than text/plain/text/html? Must other types be added as Attachment?

Correct, the body value being passed is a string and not the proper PlainTextContent type. Something like this should resolve your issue:
$email = new \SendGrid\Mail\Mail (
	$from,
	$tos,
	$subject,
	new \SendGrid\Mail\PlainTextContent($body)
);

Regarding how to make this cleaner in the library, I think the least intrusive way is to add type checking in the constructor:
        if (isset($plainTextContent)) {
            if (!$type instanceof Content) {
                throw new TypeException(
                    '$plainTextContent must be of type Content.'
                );
            }
            $this->addContent($plainTextContent);
        }
        if (isset($htmlContent)) {
            if (!$type instanceof Content) {
                throw new TypeException(
                    '$plainTextContent must be of type Content.'
                );
            }
            $this->addContent($htmlContent);
        }

This is probably the least-breaking solution and gets us closer to matching the expected types documented on the constructor.


Scan once and then stops

I setup 55 accounts with a radius of 14 with in The last 24 hours when I start the server it seems to scan fully once and then doesn't scan again and I have to exit and restart server. Anyone had the same problem when starting and know how to fix this?, cheers

I have the same problem here.

Same issue. I had to downgrade to the previous version because regardless how many accounts I tried to run, or what radius I set, this always happened.

Can I downgrade without having to readd all the accounts 😕

And are you using windows10?

I think the issue is related to the accounts number, because I decreased its value and the program started to scam periodically again.

I'm using Windows 7.

How many accounts you running?

Yes I'm on Windows 10. And once you downgrade, there's no multi-account support anymore, so you can't even re-add them. I just reverted to my old method of having 3 instances running with 1 account each, which isn't perfect but at least it works.
I don't believe it has anything to do with number of accounts, because I tried running that version with only 2 accounts and it still had the same issue.

The perfect number for me is 12 accounts scanning 13 radius regions


3.1.2 zhile

Motivation:
bug fix
Modification:
修复采样率传递问题
stat 时间段整分钟
dataSource 部分enpoint为空
dataSource pg读写url解析
dataSource resultCode一直是N的bug
Result:
Fixes #.
If there is no issue then describe the changes introduced by this PR.

@kailll pls rebase your brach，there are to much irrelevant commit record


Uncaught (in promise) TypeError: Cannot read property 'setIn' of undefined

In the last release, 6.8.0, after fixing #3033( Fixed bug with INITIALIZE setting null values for deleted indices.), when I'm using the action creator for initialize with keepDirty true paramete.
I'm receiving this error on this section of code when the newValues are reassigned
    keys(registeredFields).forEach(function (name) {
      var previousInitialValue = getIn(previousInitialValues, name);
      var previousValue = getIn(previousValues, name);

      if (deepEqual(previousValue, previousInitialValue)) {
        // Overwrite the old pristine value with the new pristine value
        var newInitialValue = getIn(newInitialValues, name);
        **newValues = setIn(newValues, name, newInitialValue);**
      }
    });

Can someone help me or the only option is to keep 6.7.0 for the moment?

Can you please create a working version of your problem, so I can have a look?

This will happen every time when newValues is undefined because in setIn method you call state.setIn and if newValues is null or undefined this error will apear. I think the main problem is that the code reaches this step with undefined newValues, but I don't know at this moment why or how to avoid this.

also got this on existing app just after upgrade to 6.8.0 with keepDirtyOnReinitialize, during first render of form with no values.

Did anybody figure this out? We're also having this problem with 7.0.3.

We're using keepDirty

~1.5 years without a comment here, so I'm closing!
If the issue persists, please open a new one while still providing as much context as possible. Thanks!

We are having the same issue. Was this ever addressed? We get an error when using keepDirty and perhaps on the first pass when there is no data yet.


ValidationError: '5 is greater than the maximum of -180' when requesting a cube with spatial subset for several datasets

When requesting a cds cube with a spatial subset, an Validation Error occurs for some dataset ids:  ValidationError: '5 is greater than the maximum of -180'
this happens for the following dataset ids:

satellite-soil-moisture:saturation:daily
satellite-soil-moisture:saturation:10-day
satellite-soil-moisture:saturation:monthly
satellite-soil-moisture:volumetric:daily
satellite-soil-moisture:volumetric:10-day
satellite-soil-moisture:volumetric:monthly

to reproduce:
from xcube.core.store import find_data_store_extensions
from xcube.core.store import get_data_store_params_schema
from xcube.core.store import new_data_store

store = new_data_store('cds')

dataset = store.open_data('satellite-soil-moisture:saturation:daily',
                          variable_names=['soil_moisture_saturation'],
                          bbox=[5, 35, 6, 36],
                          spatial_res=0.25,
                          time_range=['1978-11-01', '1978-11-06'])
dataset

The stacktrace:
---------------------------------------------------------------------------
ValidationError                           Traceback (most recent call last)
<ipython-input-6-82c0cb0543ee> in <module>
      3                           bbox=[5, 35, 6, 36],
      4                           spatial_res=0.25,
----> 5                           time_range=['1978-11-01', '1978-11-06'])
      6 dataset

~/Desktop/projects/xcube-cds/xcube_cds/store.py in open_data(self, data_id, opener_id, **open_params)
    768         self._assert_valid_opener_id(opener_id)
    769         self._validate_data_id(data_id)
--> 770         return super().open_data(data_id, **open_params)
    771
    772     ###########################################################################

~/Desktop/projects/xcube-cds/xcube_cds/store.py in open_data(self, data_id, **open_params)
    417
    418         schema = self.get_open_data_params_schema(data_id)
--> 419         schema.validate_instance(open_params)
    420         handler = self._handler_registry[data_id]
    421

~/Desktop/projects/xcube/xcube/util/jsonschema.py in validate_instance(self, instance)
    101                             format_checker=jsonschema.draft7_format_checker,
    102                             # We have to explicitly sanction tuples as arrays.
--> 103                             types=dict(array=(list, tuple)))
    104
    105     def to_instance(self, value: Any) -> Any:

~/miniconda3/envs/xcube/lib/python3.7/site-packages/jsonschema/validators.py in validate(instance, schema, cls, *args, **kwargs)
    932     error = exceptions.best_match(validator.iter_errors(instance))
    933     if error is not None:
--> 934         raise error
    935
    936

ValidationError: 5 is greater than the maximum of -180

Failed validating 'maximum' in schema['properties']['bbox']['items'][0]:
    {'maximum': -180, 'minimum': -180, 'type': 'number'}

On instance['bbox'][0]:
    5

Subsetting is not supported by the soil moisture dataset, so it's expected that the call will fail. The error message is correct (since the min-x value of the bounding box has a maximum permitted value of -180), but admittedly a bit cryptic. It could be made more explicit that [-180, -90, 180, 90] (i.e. the whole world) the only permitted value for the bbox parameter.

Subsetting is not supported by the soil moisture dataset, so it's expected that the call will fail. The error message is correct (since the min-x value of the bounding box has a maximum permitted value of -180), but admittedly a bit cryptic. It could be made more explicit that [-180, -90, 180, 90] (i.e. the whole world) the only permitted value for the bbox parameter.

After further discussion, I'm implementing subsetting within the CDS store, so that smaller bounding boxes will be allowed (though of course the full data still has to be fetched via the backend, so no time or bandwidth is saved).

After further discussion, I'm implementing subsetting within the CDS store, so that smaller bounding boxes will be allowed (though of course the full data still has to be fetched via the backend, so no time or bandwidth is saved).

PR #37 (addressing Issue #35) has removed the store-internal subsetting again, but I'm keeping this issue closed because PR #38 technically fixes the problem (by disallowing the bbox parameter) and the latest xcube gen2 improvements actually fix the problem (by incorporating general-purpose subsetting).


Hard code block strings?

As C5's Multilingual stuff doesn't work with the content import, it may be easier to ignore the global areas stuff and just use  hard-coded strings in the blocks (ie print to PDF, page filter, etc).
Need to discuss with parties prenantes.

Look at issue #4


Black light is back in 1.65.3

The black light we saw earlier in Editor is back, but now in a published build. Doesn't happen in Editor or Launcher.
Private project repro: https://playcanvas.com/project/1130459/overview/omni-light-issue
Build: https://playcanv.as/b/5e3d95d1
Notice how the primitive shape is not affected, but the custom mesh is.
Looks like it happens with an omni light with disabled clustered lighting.

Could you please add me to the project: mvaligursky
Or make it public

It seems this is black in 1.64.0 as well.

So far no win. I captured both working (launcher) and non working (published), and both shaders and uniforms are exactly the same. The only difference is that in launcher, an area light LUT textures are loaded, while published build has placeholder textures. But those are not used by the shader as area lights are not enabled. Puzzle.

Still an issue in 2.2.0.


TextReport is not visible (if no slf4j implementation is found in classpath)

The problem
Selenide depends only on slf4j-api.jar and doesn't provide any of slf4j implementations.
Users who are not aware of slf4j specifics just don't see any Selenide logs and don't even know about the problem.
Details
Actually users do see these errors in logs:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

But users don't realise it's somehow connected to Selenide's TextReport.
Solution
I suggest that Selenide should fail if there is not slf4j implementations found in classpath. Giving a clear error message like
java.lang.IllegalStateException: SLF4J is not configured. You will not see any Selenide logs. Please add slf4j-simple.jar, slf4j-log4j12.jar or logback-classic.jar to your classpath.

	at com.codeborne.selenide.Selenide.open(Selenide.java:66)
	at integration.BasicAuthTest.canPassBasicAuth_via_proxy(BasicAuthTest.java:22)

Tell us about your environment

Selenide Version:  5.10.0

Done in https://github.com/selenide/selenide/pull/1115


Add External Task Adapter

@falko says: we should try to write an adapter for the External Task Java and Spring Clients: https://github.com/camunda/camunda-bpm-platform/tree/master/spring-boot-starter/starter-client#topic-subscription

Maybe we should use https://github.com/camunda-community-hub/camunda-engine-rest-client-java/ as a basis
Plus example


DB Connection will not be closed

Problem:
Database connection limit is set to 5 atm.
Every time someone connects to our website an DB connect will be initialized
Right now our Server is scanned from  unknown IPs sending Get Request to bitchess.ddns.net/ triggering new DB Connections

Triggering new DB Connections
Scope:
Server will crash with >5 connections  at the same time
Possible Solution:
Change DB Connection Workflow
Connect DB only if needed

ready for review


GeForce now issue

would be great if it can work with GeForce now,the Executable for GeForce now  are "GeForceNOW.exe",i also attched link to images from task manager

ty

Ah shit, it's multiple .exe so the new v2 version won't work with geforceNow.
What I would suggest is to use the old version https://github.com/mdnpascual/ToF-Fishing-Bot/releases/download/1.03/ToF_Fishing_Bot_v1_0_2_experimental.zip which unfortunately doesn't have the QOL updates.
tutorial to setup old version: https://www.youtube.com/watch?v=cnyKoxRe9cA

ty i ll give it try

I have same problem to GeForce now but the bar are moving left and right to old version and upper left and lower right are reset after restart exe. A friend need too. :)

I have same problem to GeForce now but the bar are not moving left and right to old version and upper left and lower right are reset after restart exe. It's possible to version not requiere .exe but just on windows on fullscreen ? A friend need too. :)

ye i tried aswell it didnt work ,i dont know anything about coding but if there was way for new version  to not check game status would be great

The old version (not version 2) doesn't check .exe and sends the keyboard output via the window that is currently on focus. If that still doesn't work then the GeForce now app is doing something else that is not making the old version work

Yes I understand, yes Geforce now can receive key press information, I use the rewasd software which allows you to bind and make macros on controller for the game


Modify post-comment_with_results to handle 3 urls & 3 results

A convient way to display the results to the user as  comment needs to be modified.
Consider how to show this?
All in one post?
As 3 seperate posts?

Closed in #1624


+1 to not have interactive line plot consume all gestures

Nice work on this! Just wanted to echo your note about wanting to work on interactive line plots not consuming all gestures. I think it would be neat to support various ways to work with it: for example, require an event to trigger horizontal scrubbing such as a long-press, or if possible only listen to horizontal movements and not vertical (in the case of scrolling a view up/down). But think the former is more than sufficient with a user-customizable long-press delay.

Hey, thanks for checking it out! I tried adding the LongPressGesture before the drag, but somehow the long press still consumes gestures exclusively.
So I've looked into approaches, and found like detecting horizontal drag is a good way out.
The final solution I'm going with is adding a (clear) proxy view and let it handles the long press and horizontal pan gestures with relevant callbacks to update states. I just updated the repo, feel free to check it out.
Thanks for raising this up, somehow it motivates me to fix it!


[Bug] : Bar Chart: legend.selectMode = false is not working

Version
5.2
Link to Minimal Reproduction
https://echarts.apache.org/
Steps to Reproduce
legend.selectMode = false is not applying.
Current Behavior
legend.selectMode = false is not applying.
Expected Behavior
legend.selectMode = false Should apply
Environment
- OS:
- Browser:
- Framework:

Any additional comments?
No response

You should specify in more detail what you expect to happen or add an example.
I think it is working as expected. See this example.

Please make an effort to create Minimal Reproduction code.
legend.selectMode: false works - Demo Code

Please notice the option is selectedMode instead of selectMode.


Add testLocationInResults support to jest-circus

Part of #4362
@SimenB
@aaronabramov importing stack-utils in packages/jest-circus/src/utils.js breaks flow-strict. Thoughts?

@captbaritone seems like stack-utils doesn't have types, which makes its type any which is exactly what we're trying to catch :P
the solutions are:

remove strict for now
define types for stack utils and send a pr to flow-typed
create a global .flow file in jest and put declare module 'stack-utils in there (and later send it upstream to flow-typed?)

@aaronabramov I'm working on approach 3.

Flow types: https://github.com/facebook/jest/pull/6294

@aaronabramov rebased on top of #6294.

Codecov Report

Merging #6291 into master will decrease coverage by 0.07%.
The diff coverage is 15.38%.

@@            Coverage Diff             @@
##           master    #6291      +/-   ##
==========================================
- Coverage   63.54%   63.47%   -0.08%
==========================================
  Files         221      221
  Lines        8502     8513      +11
  Branches        3        4       +1
==========================================
+ Hits         5403     5404       +1
- Misses       3098     3108      +10
  Partials        1        1

Impacted Files
Coverage Δ

packages/jest-circus/src/state.js
92.3% <ø> (ø)
:arrow_up:

packages/jest-circus/src/event_handler.js
16.07% <0%> (-0.6%)
:arrow_down:

.../src/legacy_code_todo_rewrite/jest_adapter_init.js
0% <0%> (ø)
:arrow_up:

packages/jest-circus/src/utils.js
21.62% <22.22%> (-0.5%)
:arrow_down:

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 3d127ff...a9589d3. Read the comment docs.


chore(develop): merge develop into master

View rendered .github/ISSUE_TEMPLATE/bug_report.md
View rendered .github/ISSUE_TEMPLATE/feature_request.md
View rendered README.md

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@1234201). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             master       #27   +/-   ##
==========================================
  Coverage          ?   100.00%
==========================================
  Files             ?         2
  Lines             ?         3
  Branches          ?         0
==========================================
  Hits              ?         3
  Misses            ?         0
  Partials          ?         0

Flag
Coverage Δ

website
100.00% <0.00%> (?)

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


E-mail template: Payment type variables are not evaluated correctly

Description: E-mail template - Payment type variables are not evaluated correctly. If you use fore example the variable "{{ order.transactions.at(0).paymentMethod.shortName }}" and you create an flow who send an email with this variable, when change payment method, then the variable use every time the payment method selected first.
Environment: <IP_ADDRESS>
Steps to reproduce:

Add the variable to the "Order confirmation" Mail template.
Create a flow to send this mail template when customer change payment method.
Check the the filled variable

Expected result:

The variable contains the new payment type

Actual result:

The variable contains the payment method selected first.
[3_payment_method_template.png|https://sbp-issuetracker-attachments.s3.eu-west-1.amazonaws.com/1713775545_662623b9ace29_1713775480_662623784ebd1_3_payment_method_template.png]  [2_wrong_payment-method.png|https://sbp-issuetracker-attachments.s3.eu-west-1.amazonaws.com/1713775545_662623b9eb236_1713775480_6626237867726_2_wrong_payment-method.png]  [1_cashondelivery.png|https://sbp-issuetracker-attachments.s3.eu-west-1.amazonaws.com/1713775546_662623ba06036_1713775480_662623787fc47_1_cashondelivery.png]

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-35536.
[created from NEXT-35536, comment 486546]

[public] Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know. Thank you again for your valuable feedback.
[created from NEXT-35536, comment 519441]


ci(backend): add commit message check step

Purpose of this pull request

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

You are correct. However, currently, some committers may not modify the final message when merging code, which means that the information merged into the main branch is the last submission message of the contributor. If standardizing committers' merging behavior is important and needs to be addressed, do you have any suggestions?

Hi. Checking the commit message doesn’t make any sense to me because we are using “Squash and merge”, all the commit messages will be rewrote to the pull request title when merging, checking the unused commit messages increase the contributors’ burden while bring nothing.

You are correct. However, currently, some committers may not modify the final message when merging code, which means that the information merged into the main branch is the last submission message of the contributor. If standardizing committers' merging behavior is important and needs to be addressed, do you have any suggestions?

Hi. Checking the commit message doesn’t make any sense to me because we are using “Squash and merge”, all the commit messages will be rewrote to the pull request title when merging, checking the unused commit messages increase the contributors’ burden while bring nothing.

You are correct. However, currently, some committers may not modify the final message when merging code, which means that the information merged into the main branch is the last submission message of the contributor. If standardizing committers' merging behavior is important and needs to be addressed, do you have any suggestions?

The default commit message when merging is the pull request title, so you might want to check PR title instead

Hi. Checking the commit message doesn’t make any sense to me because we are using “Squash and merge”, all the commit messages will be rewrote to the pull request title when merging, checking the unused commit messages increase the contributors’ burden while bring nothing.

You are correct. However, currently, some committers may not modify the final message when merging code, which means that the information merged into the main branch is the last submission message of the contributor. If standardizing committers' merging behavior is important and needs to be addressed, do you have any suggestions?

The default commit message when merging is the pull request title, so you might want to check PR title instead

+1


Interpret OCaml compiler's unused value declaration warning suppression attribute

Running reanalyze https://github.com/rescript-association/reanalyze/commit/389dd682223201b42c33e5c444e5c79e0805adad on Goblint https://github.com/goblint/analyzer/commit/a544002114324a207df72f9e79eb656c3ebe7b5b revealed the following.
We have a definition for which the OCaml compiler's unused value declaration warning is suppressed:
  let[@warning "-unused-value-declaration"] print_path ch = function
    | Select (s,p) -> fprintf ch "%s%a" s print_path' p
    | pth -> print_path' ch pth [@@dead "Impl.+print_path"]

Reanalyze of course also finds it dead.
It would be neat, if reanalyze recognized the attribute used for suppressing the warning for the compiler also itself and wouldn't complain about it. Right now such declaration would require both attributes to keep both tools quiet.

I think there is a provision for recognising "-32" easily adaptable to include the format used in the example above.


fix: change sqlnumber float64 print format & handling limit unix timestamp date

This PR will

change sql type number float64 print format
add rounding to second to show integer format when unix_timestamp called without date params
handling limit unix timestamp date like mysql

Fixes:

https://github.com/dolthub/dolt/issues/7698

@jycor will review today.

Hi @jycor
Thank you for reviewing my Pull Request.
After going through the code again, i think the data type should be back to float64 again.
But i changed float64 print format to 'f' format to make unix_timestamp() output become integer when printed (precision argument also handled by this format). This format is like mysql format that will use point format rather than 'e+' format. This changes also impact another query execution when used float64 datatypes
for example
before
> select log(2) * log(12441258) * log(123134) * log(12414) * log(1000000) * log (10000) * log(100) * log(4);
+----------------------------------------------------------------------------------------------------+
| log(2) * log(12441258) * log(123134) * log(12414) * log(1000000) * log (10000) * log(100) * log(4) |
+----------------------------------------------------------------------------------------------------+
| 1.0163630979023029e+06                                                                             |
+----------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)

after
> select log(2) * log(12441258) * log(123134) * log(12414) * log(1000000) * log (10000) * log(100) * log(4);
+----------------------------------------------------------------------------------------------------+
| log(2) * log(12441258) * log(123134) * log(12414) * log(1000000) * log (10000) * log(100) * log(4) |
+----------------------------------------------------------------------------------------------------+
| 1016363.0979023029                                                                                |
+----------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)

Result for some query:
> select unix_timestamp();
+------------------+
| unix_timestamp() |
+------------------+
|<PHONE_NUMBER>       |
+------------------+
1 row in set (0.00 sec)

> select unix_timestamp('2024-01-15 20:52:59.999999');
+----------------------------------------------+
| unix_timestamp('2024-01-15 20:52:59.999999') |
+----------------------------------------------+
|<PHONE_NUMBER>.999999                            |
+----------------------------------------------+
1 row in set (0.00 sec)

> select unix_timestamp('3001-01-19');
+------------------------------+
| unix_timestamp('3001-01-19') |
+------------------------------+
| 0                            |
+------------------------------+
1 row in set (0.00 sec)

But this PR not solved an issue for bigger timestamp. Golang always rounded the float64 number and it different than mysql that will show the precision number and not rounding the number
dolt
> select unix_timestamp('3001-01-18 21:59:59.999999');
+----------------------------------------------+
| unix_timestamp('3001-01-18 21:59:59.999999') |
+----------------------------------------------+
|<PHONE_NUMBER>0                                  |
+----------------------------------------------+
1 row in set (0.00 sec)

mysql
mysql> select unix_timestamp('3001-01-18 23:59:59.999999');
+----------------------------------------------+
| unix_timestamp('3001-01-18 23:59:59.999999') |
+----------------------------------------------+
|<PHONE_NUMBER>9.999999 |
+----------------------------------------------+
1 row in set (0.0003 sec)

I think maybe it can be solved by changing UnixTimestamp data type to string. But i'm not sure it is the best solution.
Do you have any idea @jycor?

Hey @idnandre, thanks for taking the time to make those changes.
However, I don't think this is the right direction.
We definitely want to return type.Int64 when the input precision is 0 and type.Decimal(19, <date_prec>).
Unfortunately, it is very tricky to get this right, as we need to know the return type before actually evaluating any of the arguments.
A somewhat hacky way to fix this is to Eval() the arguments inside of the constructor, NewUnixTimestamp(), and cache that result to be returned in Type().
I believe the best course of action is to have unix_timestamp() return type type.Int64 for now, and add skipped tests for precision.
We can address those cases in another pass. If you want, you can create a tracking issue here: https://github.com/dolthub/dolt/issues
Also, in addition to time.Unix() there's also time.UnixMilli() and time.UnixMicro(). You can use these to check for the bounds.

Hi @jycor
From your explanation, do you mean i must running the eval function inside constructor?
And then for the float64 format, should i rollback the print format to previous version (e+)?

I think running Eval() in the constructor is necessary to determine the precision of the input, so we can get Type() correct.
However, I think it's best to just stick with what you had earlier, and only deal with Int64 type currently.
Revert the print format. MySQL uses e for formats when there are enough digits, but does it after more precision and doesn't use the + symbol. That's a separate issue.

Hi @jycor
I'm already make some changes. You can re review again my PR.
Thank you :)

Hey @idnandre, your changes look good. I added some more tests and dealt with a few missing edge cases.
I didn't have push permission to your fork, so I moved your commits to a new PR: https://github.com/dolthub/go-mysql-server/pull/2576 .
These changes are going to land today. Thanks for your contribution!

Hi @jycor
Thank you for fixing my PR :)


Quick updates

Yah, there’s also the removal of uppercase from 3 classes or something in creative.css but that’s not neccessary. That’s cool how the mail chimp thing works whoo hoo!

On Oct 28, 2015, at 9:48 PM, Vivian Liang<EMAIL_ADDRESS>wrote:
#4 https://github.com/vivianliang/downe.space-landing/pull/4


deprecated references

Reference to tools that are deprecated/maintenance mode, where it also becomes unclear what is exactly recommended and what is not.
Likely because this was written when these tools were still actively maintained.
examples:
https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-edge
https://pypi.org/project/iotedgehubdev/

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 01d50bc6-66b1-e9d2-0a5f-bebc398b8aba
Version Independent ID: 4bee147a-195a-a091-9d1b-9157feda3249
Content: Azure IoT Edge development environment
Content Source: articles/iot-edge/development-environment.md
Service: iot-edge
GitHub Login: @PatAltimore
Microsoft Alias: patricka

Hi @dvdzmr Thank you for sharing your feedback. I have assigned this issue to our Content SME team. They will review this feedback and upgrade the documents as appropriate.
Best regards,
Leela.

Hi @dvdzmr,
Thanks for pointing out the stale information. I updated the information in the tools section, added text that recommends the iotedgedev tool, and clarifies which tools are in maintenance mode. The change should publish soon. I'm going to close the issue.
Thanks,
Pat
#please-close


As a user, after I sign up for a task, if my profile isn’t filled in, I should be reminded to do so

If the user's profile is not filled they should be reminded/prompted to fill it in.

https://github.com/18F/midas/issues/472

Resolved by requiring more fields at sign-up.


tag a release

would be great if you could tag a release.
atm my tooling based on melody is really unstable because of some BC changes happing from time to time :-/

Hello.
That's why I don't want to tag melody, In order to be able to break the BC.
But The BC has not been broke for a while
So I think we can tag the 1.0.0. It will happen soon ;)

just FYI, I referred to the BC break with in the run method.
https://github.com/sensiolabs/melody/commit/8744cc6a08b32842331249d67c30a139bcb6d295#diff-cc73de8c4f68f7e29af0a9633f06af73R50

I want to "fix" #76 before a new tagging a release.

here we go https://github.com/sensiolabs/melody/pull/81

Tag is a requirement for brew formula. https://github.com/Homebrew/brew/blob/master/docs/Formula-Cookbook.md#basic-instructions

You don't need to tag 1.0. Just tag 0.1 which allows you to break BC in 0.2

Except current build of melody specify v1.0.0.

I'm going to archive this project now to make it clear that the project is not maintained anymore. Anyone can fork it.


Organization page doesn't show repository, creation date 2044 years ago

We DO NOT take questions or config/deploy problems on GitHub, please use our forum: https://discuss.gogs.io
Please take a moment to search that an issue doesn't already exist.
For bug reports, please give the relevant info:

Gogs version (or commit ref): <IP_ADDRESS>3
Git version: <IP_ADDRESS>
Operating system: centos 7
Database:

[ ] PostgreSQL
[x] MySQL
[ ] SQLite

Can you reproduce the bug at http://try.gogs.io:

[x] Yes
[ ] No
[ ] Not relevant

Log gist:

Description

Maybe same as #2750

Pushed fix to master and updated https://try.gogs.io.

@Unknwon
Thank you, this issue had been fixed
But I still got #2743  https://github.com/gogits/gogs/issues/2743#issuecomment-192422691

Great!


where is install-CLI.jar?

I have gotten the scripts to work up until gateway task of installing the cli.  The file install-CLI.jar is missing from /opt/emc/scaleio/gateway/webapps/ROOT/resources

Hi,
Sorry for the delay.
Could please let me know which version of ScaleIO you are trying to install with this module (the exact version number) also which OS? Will help to debug, because with ScaleIO 1.32.3 and CentOS 7.2 I don't have the problem you are experiencing.

Scaleio 2.0.  Linux.  the install-CLI.jar is not in your source here.

Hi,
Actually I see what problem you are getting, I'm not there in supporting 2.0 yet (working on it as we speak). I'll leave this issue opened while I work on this. I'll keep you posted.
Thanks for reporting it.

Instead of using install-cli.jar i simply added.
environment:
GATEWAY_ADMIN_PASSWORD: "{{ scaleio.password }}"
to the bottom of install_scaleio.yml - the password is sent into the environment and set properly.

Thanks, this is a way to make it work, but I'll get to the bottom of this
and do it so you don't have to pass the GATEWAY_ADMIN_PASSWORD variable in
all the installs.
On Thu, Apr 21, 2016 at 10:08 AM, Andrew Anderson<EMAIL_ADDRESS>wrote:

Instead of using install-cli.jar i simply added.
environment:
GATEWAY_ADMIN_PASSWORD: "{{ scaleio.password }}"
to the bottom of install_scaleio.yml - the password is sent into the
environment and set properly.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/sperreault/ansible-scaleio/issues/7#issuecomment-212936021

--
Sebastien Perreault
Partner
Les Technologies Alesium Inc
P:<PHONE_NUMBER>
F:<PHONE_NUMBER>
E<EMAIL_ADDRESS>"Life's missed opportunities, at the end, may seem more poignant to us than
those we embraced--because in our imagination they have a perfection that
reality can never rival." -- Roger Ebert


Tape client error : ENHANCE_YOUR_CALM and debug data equal to ASCII "too_many_pings"

Describe the bug
A clear and concise description of what the bug is.
Im getting below error :
Client received GoAway with error code ENHANCE_YOUR_CALM and debug data equal to ASCII "too_many_pings".
For FAQ, please check https://github.com/Hyperledger-TWGC/tape/wiki/FAQ
rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "
To Reproduce
Steps to reproduce the behavior:
1../tape --config=config.yaml --number=200 --prometheus
Expected behavior
Should run properly and no errors are expected
Logs
CreateAsset
2e74d4d7-2a0a-49f1-9845-11c2818d8aab
os4UvqWg
49
EDz14bly
32
CreateAsset
f4383e38-5339-4ce3-b122-81c5124a3dc0
Adi05onO
34
QyqH4Nn1
12
CreateAsset
6b08aa68-4b98-4ff2-b558-72ae32685e6b
68sL2Ba9
4
gaoroTmp
28
2024/01/16 10:47:51 ERROR: [transport] Client received GoAway with error code ENHANCE_YOUR_CALM and debug data equal to ASCII "too_many_pings".
For FAQ, please check https://github.com/Hyperledger-TWGC/tape/wiki/FAQ
rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "
Additional context
config.yaml.txt

hi @ak1334 , as kepler CI uses https://github.com/Hyperledger-TWGC/tape/blob/master/test/configlatest.yaml hence I need you further investigate with your network issues.

https://github.com/Hyperledger-TWGC/tape/actions/runs/7515931326/job/20460468448 here is our latest CI and which works well.


[WIP] Add a table of arguments for each component

What does it do?
Add a table of the button component's arguments.
Screenshots (if appropriate):

What type of change is it?

New feature (non-breaking change which adds functionality)

I wonder if we should be marking code up as code?


S5: Admin Panel client integrating with S5 backend

Accidentally moved this to pending, should have created a new integration issue for S4.


[Suggestion] Transparent theme

A theme that makes the background transparent and shows what is behind Discord a bit blurry (depending on setting). The transparency would also be variable within the settings.

Not something for BD to handle, issues doesn't belong here.


Add SauceLabs or BrowserStack tests

We need to test this module (and ideally lower-level sub-modules) in the real browsers. PhantomJS is OK to check the compatibility with generic browser environment, but it's not the real browser.
I've recently hit a bug where Chrome had different implementation of some internal property.

Could https://github.com/resin-io-modules/resin-config-karma be useful here?

I already use it, but the target is currently PhantomJS which runs on the
CI box. The key is to use the real browsers like actual version of Chrome.
If it works with the same config it's great, but in my understanding it
should be run on a different platform, like SauceLabs.
Correct me if I'm wrong.
On Tue, Dec 13, 2016 at 5:52 PM, Juan Cruz Viotti<EMAIL_ADDRESS>wrote:

Could https://github.com/resin-io-modules/resin-config-karma be useful
here?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/resin-io/resin-sdk/issues/238#issuecomment-266758528,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAgGCMWxskTQ41vfnfi244d-5fw3RKcSks5rHrFFgaJpZM4LLr3X
.

--
Eugene Mirotin
Senior Frontend Engineer
site: Resin.io https://resin.io/, twitter: @resin_io
https://twitter.com/resin_io

We do use SauceLabs for resin-config-karma. See https://github.com/resin-io-modules/resin-config-karma/blob/master/launchers.json for the list of browsers this will run against.

Feel free to tweak the list of browsers we should support!

Oh, I didn't know about it, great.
On Tue, Dec 13, 2016 at 6:27 PM, Juan Cruz Viotti<EMAIL_ADDRESS>wrote:

Feel free to tweak the list of browsers we should support!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/resin-io/resin-sdk/issues/238#issuecomment-266767986,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAgGCOihqwd-bZJx718oCdAmf4ir4Up_ks5rHrlLgaJpZM4LLr3X
.

--
Eugene Mirotin
Senior Frontend Engineer
site: Resin.io https://resin.io/, twitter: @resin_io
https://twitter.com/resin_io

Closing in favor of using balenaCI.
See: https://github.com/balena-io/balena-sdk/issues/582


[Bug] ext_viewer_cmd option can't use terminal-based  readers

I have tried to set ext_viewer_cmd to use various terminal-based programs to view attachments...
And have encountered some bugs/issues:

ext_viewer_cmd can't take commands with spaces, even in quotes (ext_viewer_cmd="bat -p")
Any terminal based reader I have chosen that does run causes rendering issues when returning to nmail
It refuses to open files without extensions (should maybe fallback to $PAGER or $EDITOR)

About point 2 specifically:
All of the below is using mlterm.. But I also tried xterm and st. All terminals behaved the same.
Using ext_viewer_cmd=w3m:

I  can view the attachments
I can use Q key to return to nmail..
but after returning, much of the nmail UI headings are missing, I can see my PS1 prompt instead.
but nmail is basically still usable in this state

Using ext_viewer_cmd=bat:

I can view the attachment
I cannot press q to return to nmail, it just quits back to terminal

Using ext_viewer_cmd=micro:

I can view/edit the attachment in micro
I press Ctrl-Q, it takes me back to nmail, but I can't see it (I see PS1 and blank terminal screen), and using any arrow keys shows nmail errors
I can press q to quit nmail  (cant see it so don't know what else to do)

Using ext_viewer_cmd=lynx:
Same as micro (except I used qy to quit).
Using ext_viewer_cmd=less:
Same as micro (except I used q to quit).

All of this is on FossPup64 .. (largely based on Ubuntu packages)

Hi @sc0ttj - thanks for the detailed bug report!
I'm able to reproduce the problem using ext_viewer_cmd=w3m on macOS.
External pager and editor already supports console-based external applications, so it should be fairly simple to fix.

I've pushed a fix for this now. Feel free to reopen this issue if you're still encountering any issues.
Thanks again for reporting the bug and helping to improve nmail!


#[serde(rename_all = "lowercase")] fails to compile

#[derive(Deserialize, Serialize, utoipa::Component)]
#[serde(rename_all = "lowercase")]
pub enum MyType {
    CaseOne,
    CaseTwo,
}

yields
unexpected rename rule, expected one of: \"lowercase\", \"UPPERCASE\", \"Pascal\", \"camelCase\", \"snake_case\", \"SCREAMING_SNAKE_CASE\", \"kebab-case\", \"SCREAMING-KEBAB-CASE\"

There is a typo :( . I'll fix this asap

Sorry for incovenience the next release 1.0.1 will fix this issue.

#119 #118


Misleading readme

The readme is a bit misleading regarding usage and outdated regarding subtitles.

Besides the audio, you can specify the subtitle language by using the -s / --subtitle flag. The subtitles will be burned into the video track (cf. hardsub) and thus can not be turned off.

The subtitles are not hard anymore. It is mentioned later but not directly.
The additional flags description is easy for misinterpretation.
Writing something like crunchy-cli --flag [option] should help in my opinion.

The last sentence can be replaced with the explanation that subtitles in .mp4, .mov and .mkv are stored as soft-subs and in all other formats as hard-subs

What do you think about changing it like this?

Looks good👍


Source Text Document Formatting support

Currently this extension does a great support at supporting developers with Fanuc Macros. However it does not support formatting entire source text documents. The required lsp endpoint to implement: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_formatting.

A simple formatting provider has been added in v0.4.0.


Drafts should only be saved if content has been changed

Drafts should be discarded if the user clicks the :heavy_multiplication_x: icon while composing a message and hasn't changed the content of the message or the subject/to/CC/BCC fields.

Will be added in version 3.0.

Cool.


Text not showing up

At my checkout page for mollie the text for 'Bancontact Mister Cash' and 'KBC' is not showing.
Only the images of those payment methods are visible.
Anyone got an idea how to fix this?

Hi @joskepeeters ,
Have you managed to solve this problem? If not, please let us know so we can offer you support on this problem.

Hi
No the text is still not showing up. I installed the module again but without succes.
I cant find the source code to change it.

Op 12 jun. 2017 om 15:18 heeft Trendweb<EMAIL_ADDRESS>het volgende geschreven:
Hi @joskepeeters ,
Have you managed to solve this problem? If not, please let us know so we can offer you support on this problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Which Prestashop version are you currently using? Can you please provide me with a link and could you enable the debug mode so i can investigate the problem? I fully understand if you don't want to disclose your test shop. So you can also send an e-mail to<EMAIL_ADDRESS>so we can work from there and post the solution here.

Hello @joskepeeters ,
Could you please let us know if you still need support? Otherwise, we have to close the issue.
Regards

Hi
I've had very busy week.
I still need support on this but i dont have a test shop online. Only my live webshop www.bellesperles.be

Op 18 jun. 2017 om 06:24 heeft Trendweb<EMAIL_ADDRESS>het volgende geschreven:
Hello @joskepeeters ,
Could you please let us know if you still need support? Otherwise, we have to close the issue.
Regards
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi @joskepeeters ,
Your domain www.bellesperles.be has been suspendended by your hosting provider.

Hi @joskepeeters ,
Could you please provide us with the following information:

server information and your prestashop version (Choose: advanced settings >> information);
the version number of the Mollie Module you are currently using (Choose: Modules >> Modules & Services).

Regards

Serverinformatie: Linux #1 SMP Tue Jul 12 18:30:56 UTC 2016 x86_64
Server softwareversie: Apache/2
PHP-versie: 5.6.25
Geheugenlimiet: 256M
Maximale uitvoeringstijd: 120
Maximale bestandsgrootte voor uploads: 64M
PrestaShop-versie: <IP_ADDRESS>
Mollie Payment Module v1.3.0
2017-06-19 10:14 GMT+02:00 Trendweb<EMAIL_ADDRESS>
Hi @joskepeeters https://github.com/joskepeeters ,
Could you please provide us with the following information:

server information and your prestashop version (Choose: advanced
settings >> information);
the version number of the Mollie Module you are currently using
(Choose: Modules >> Modules & Services).

Regards
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mollie/Prestashop/issues/35#issuecomment-309369991,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYLgs4pwJjmlXMxiCKtfe1PH9wfoJGPgks5sFi3agaJpZM4MTfrN
.

Hi @joskepeeters ,
Could you please try the latest version of the Mollie Payment Module which you will find enclosed in this comment? This one is compatible with Prestashop 1.7+ (up to version <IP_ADDRESS>).
mollie.zip
We are currently working on a new Mollie Payment Module which will be placed on Github as soon as possible.
We also strongly recommend you to upgrade to the latest version of Prestashop (<IP_ADDRESS>). A lot of bugs and security issues have been solved since version <IP_ADDRESS>.
Before upgrading your live webshop to the latest version, create a full backup of your store. Then, create a test version of your webshop and update this one first to prevent any errors / problems.
Always make sure (before upgrading) that all of your modules are compatible with <IP_ADDRESS>. as well. And of course, you can ask your webdesigner to do this for you.
Please let us know if this solved your problem.
Regards

Thx for your help.
I will try this next week.
2017-06-19 13:04 GMT+02:00 Trendweb<EMAIL_ADDRESS>
Hi @joskepeeters https://github.com/joskepeeters ,
Could you please try the latest version of the Mollie Payment Module which
you will find enclosed in this comment? This one is compatible with
Prestashop 1.7+ (up to version <IP_ADDRESS>).
mollie.zip https://github.com/mollie/Prestashop/files/1084632/mollie.zip
We are currently working on a new Mollie Payment Module which will be
placed on Github as soon as possible.
We also strongly recommend you to upgrade to the latest version of
Prestashop (<IP_ADDRESS>). A lot of bugs and security issues have been solved
since version <IP_ADDRESS>.
Before upgrading your live webshop to the latest version, create a full
backup of your store. Then, create a test version of your webshop and
update this one first to prevent any errors / problems.
Always make sure (before upgrading) that all of your modules are
compatible with <IP_ADDRESS>. as well. And of course, you can ask your
webdesigner to do this for you.
Please let us know if this solved your problem.
Regards
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mollie/Prestashop/issues/35#issuecomment-309408398,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYLgsx1IsoFIz8ZfWDHCF3_O1db9J9Mcks5sFlXbgaJpZM4MTfrN
.

Hi @joskepeeters ,
Have you had a chance to try our suggestions? Please let us know so we can solve this problem.
Regards

Hi @joskepeeters ,
Could you please let us know if you still want support on this issue?
Regards

Hi @joskepeeters ,
We are closing this issue because there hasn't been any response. You can still place comments to let us know if you still need support. You can also contact us at<EMAIL_ADDRESS>for further support, because we really would like to solve the problem at hand. We will close comments on this issue after 1 week.
Regards


MXNet serialization format depends on endianness

Description
We are working on extending MXNet support to IBM Z (s390x architecture) machines. We were able to successfully install MXNet on s390x but we encountered the following error while trying to run it.
Error Message
Traceback (most recent call last):
  File "scr.py", line 76, in <module>
    finetune_net = resnet50_v2(pretrained=True, ctx=ctx)
  File "/root/mxnet-1.5.0/mxnet/python/mxnet/gluon/model_zoo/vision/resnet.py", line 512, in resnet50_v2
    return get_resnet(2, 50, **kwargs)
  File "/root/mxnet-1.5.0/mxnet/python/mxnet/gluon/model_zoo/vision/resnet.py", line 391, in get_resnet
    root=root), ctx=ctx)
  File "/root/mxnet-1.5.0/mxnet/python/mxnet/gluon/block.py", line 384, in load_parameters
    loaded = ndarray.load(filename)
  File "/root/mxnet-1.5.0/mxnet/python/mxnet/ndarray/utils.py", line 175, in load
    ctypes.byref(names)))
  File "/root/mxnet-1.5.0/mxnet/python/mxnet/base.py", line 253, in check_call
    raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: [19:50:04] include/mxnet/./tuple.h:354: Check failed: ndim >= -1 (-906324999 vs. -1) : ndim cannot be less than -1, received -906324999
Stack trace:
  [bt] (0) /opt/mxnet/lib/libmxnet.so(mxnet::Tuple<long>::SetDim(int)+0x670) [0x3ff841f6888]
  [bt] (1) /opt/mxnet/lib/libmxnet.so(mxnet::TShape::TShape(int, long)+0x2a) [0x3ff841f6d12]
  [bt] (2) /opt/mxnet/lib/libmxnet.so(mxnet::LegacyTShapeLoad(dmlc::Stream*, mxnet::TShape*, unsigned int)+0x4e) [0x3ff8629f0be]
  [bt] (3) /opt/mxnet/lib/libmxnet.so(mxnet::NDArray::LegacyLoad(dmlc::Stream*, unsigned int)+0x68) [0x3ff862a4578]
  [bt] (4) /opt/mxnet/lib/libmxnet.so(mxnet::NDArray::Load(dmlc::Stream*)+0x12e) [0x3ff862a91de]
  [bt] (5) /opt/mxnet/lib/libmxnet.so(mxnet::NDArray::Load(dmlc::Stream*, std::vector<mxnet::NDArray, std::allocator<mxnet::NDArray> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*)+0x8b8) [0x3ff862ac4d8]
  [bt] (6) /opt/mxnet/lib/libmxnet.so(MXNDArrayLoad+0xf4) [0x3ff8692eaa4]
  [bt] (7) /usr/lib/s390x-linux-gnu/libffi.so.6(ffi_call_SYSV+0x98) [0x3ff88385760]
  [bt] (8) /usr/lib/s390x-linux-gnu/libffi.so.6(ffi_call+0x72) [0x3ff88385e12]

To Reproduce

Install MXNet from source with the flag USE_SSE=0.
Follow the tutorial to test the library - https://mxnet.apache.org/api/python/docs/tutorials/getting-started/gluon_from_experiment_to_deployment.html

Environment
Using MXNet 1.5.1
----------Python Info----------
Version      : 3.6.9
Compiler     : GCC 8.4.0
Build        : ('default', 'Apr 18 2020 01:56:04')
Arch         : ('64bit', 'ELF')
------------Pip Info-----------
Version      : 9.0.1
Directory    : /usr/lib/python3/dist-packages/pip
----------MXNet Info-----------
Version      : 1.5.0
Directory    : /root/mxnet-1.5.0/mxnet/python/mxnet
Num GPUs     : 0
Hashtag not found. Not installed from pre-built package.
----------System Info----------
Platform     : Linux-4.15.0-99-generic-s390x-with-Ubuntu-18.04-bionic
system       : Linux
node         : e0e720e9a63c
release      : 4.15.0-99-generic
version      : #100-Ubuntu SMP Wed Apr 22 20:31:47 UTC 2020
----------Hardware Info----------
machine      : s390x
processor    : s390x
Architecture:        s390x
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Big Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  1
Socket(s) per book:  1
Book(s) per drawer:  1
Drawer(s):           4
NUMA node(s):        1
Vendor ID:           IBM/S390
Machine type:        3906
CPU dynamic MHz:     5208
CPU static MHz:      5208
BogoMIPS:            21881.00
Hypervisor:          z/VM 7.1.0
Hypervisor vendor:   IBM
Virtualization type: full
Dispatching mode:    horizontal
L1d cache:           128K
L1i cache:           128K
L2d cache:           4096K
L2i cache:           2048K
L3 cache:            131072K
L4 cache:            688128K
NUMA node0 CPU(s):   0-3
Flags:               esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te vx vxd vxe gs sie
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0044 sec, LOAD: 0.0622 sec.
Timing for GluonNLP GitHub: https://github.com/dmlc/gluon-nlp, DNS: 0.0037 sec, LOAD: 0.0612 sec.
Timing for GluonNLP: http://gluon-nlp.mxnet.io, DNS: 0.0039 sec, LOAD: 0.1054 sec.
Timing for D2L: http://d2l.ai, DNS: 0.0040 sec, LOAD: 0.0172 sec.
Timing for D2L (zh-cn): http://zh.d2l.ai, DNS: 0.0037 sec, LOAD: 0.2370 sec.
Timing for FashionMNIST: https://repo.mxnet.io/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0038 sec, LOAD: 0.0423 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0038 sec, LOAD: 0.4736 sec.
Error open Conda: https://repo.continuum.io/pkgs/free/, HTTP Error 403: Forbidden, DNS finished in 0.0038928985595703125 sec.

The Intel x86 and AMD64 / x86-64 series of processors use the little-endian format whereas s390x architecture uses big-endian format. Current MXNet parameter serialization format is just a memory dump and can't be loaded on a system with different endianness.
For MXNet 2, we're switching to using the numpy serialization format which will prevent such issues (https://numpy.org/devdocs/reference/generated/numpy.lib.format.html)
For now, you can't use the pretrained models directly on s390x architecture but you'd need some workaround where you load the parameter on a x86 machine, call asnumpy, save via numpy and finally load the parameters on s390x machine using numpy and convert them to mxnet. Would that work for you?

@leezu Thanks for your reply.

For now, you can't use the pretrained models directly on s390x architecture but you'd need some workaround where you load the parameter on a x86 machine, call asnumpy, save via numpy and finally load the parameters on s390x machine using numpy and convert them to mxnet. Would that work for you?

I think it should work. I'll give it a try.

@leezu I tried to build the cpp package using cmake for your PR #18749 on s390x. Although the build succeeds, I'm unable to find the build files. incubator-mxnet/build/lib, incubator-mxnet/build/bin are empty. Can you please let me know if this is an issue or am I missing something?
Here are the logs -
root@e0e720e9a63c:~/mxnet-latest/incubator-mxnet/build# cmake .. -DUSE_MKLDNN=0 -DUSE_MKL_IF_AVAILABLE=0
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_CROSSCOMPILING FALSE
-- CMAKE_HOST_SYSTEM_PROCESSOR s390x
-- CMAKE_SYSTEM_PROCESSOR s390x
-- CMAKE_SYSTEM_NAME Linux
-- CMake version '3.13.4' using generator 'Unix Makefiles'
-- Could not find CCache. Consider installing CCache to speed up compilation.
-- Found OpenCV: /usr (found version "3.2.0") found components:  core highgui imgproc imgcodecs
-- OpenCV 3.2.0 found (/usr/share/OpenCV)
--  OpenCV_LIBS=opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
USE_LAPACK is ON
CMake Warning at 3rdparty/googletest/googletest/CMakeLists.txt:47 (project):
  VERSION keyword not followed by a value or was followed by a value that
  expanded to nothing.

-- Found PythonInterp: /usr/bin/python (found version "2.7.17")
-- Found GTest: gtest
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for fopen64
-- Looking for fopen64 - not found
-- Looking for C++ include cxxabi.h
-- Looking for C++ include cxxabi.h - found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - big endian
-- /root/mxnet-latest/incubator-mxnet/3rdparty/dmlc-core/cmake/build_config.h.in -> include/dmlc/build_config.h
-- Performing Test SUPPORT_MSSE2
-- Performing Test SUPPORT_MSSE2 - Failed
-- Found Python3: /usr/bin/python3.6 (found version "3.6.9") found components:  Interpreter
-- Configuring done
-- Generating done
-- Build files have been written to: /root/mxnet-latest/incubator-mxnet/build

root@e0e720e9a63c:~/mxnet-latest/incubator-mxnet/build# cmake -DUSE_MKLDNN=0 -DUSE_MKL_IF_AVAILABLE=0 --build .

-- CMAKE_CROSSCOMPILING FALSE
-- CMAKE_HOST_SYSTEM_PROCESSOR s390x
-- CMAKE_SYSTEM_PROCESSOR s390x
-- CMAKE_SYSTEM_NAME Linux
-- CMake version '3.13.4' using generator 'Unix Makefiles'
-- Could not find CCache. Consider installing CCache to speed up compilation.
-- OpenCV 3.2.0 found (/usr/share/OpenCV)
--  OpenCV_LIBS=opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs
USE_LAPACK is ON
CMake Warning at 3rdparty/googletest/googletest/CMakeLists.txt:47 (project):
  VERSION keyword not followed by a value or was followed by a value that
  expanded to nothing.

-- /root/mxnet-latest/incubator-mxnet/3rdparty/dmlc-core/cmake/build_config.h.in -> include/dmlc/build_config.h
-- Configuring done
-- Generating done
-- Build files have been written to: /root/mxnet-latest/incubator-mxnet/build

Are you sure the build succeed? Above logs are only related to the build configuration and not the actual build


Template repository

Just curious as to why this isn't a template repository?. Great project btw 🤩

Hey thanks! I didn't know that feature existed on github. Will make it a template


Nina.msi version 2.0 missing in the repository

Hi,
I can't find the installer Nina.msi for the 2.0 version in the repository. The link in the main page for downloading it leads to "not found" page.
There is a Nina.exe file which installs the 1.4.3 version
Thank you.

Hi Outis, sorry for the delay in responding this message.
You can find the latest version in www.ninabim.com. There are incompabilities between the version 1.4.3 and the 2.0.0. If you still have the issue I'll be happy to help you to uninstall the older version and install the new one.
Just let me know.
Kind regards and thanks for reporting the issue.


Implementing accurate validation in the "Name" field of the contact form.

Ensure accurate data entry by implementing robust validation in the "Name" field of the contact form. This enhances user input accuracy and improves the overall reliability of the submitted information.

Hey, I have fixed it, Can I make a pull request?

@RitamDas30 Hey, sorry for that, but I am not the main owner of this project.


fix zrevrangeByLex in BinaryJedisCluster

zvrangeByLex  should be zrevrangeByLex in BinaryJedisCluster ， here is a mistaken

I'll go ahead and merge this directly as it's a copy/paste issue.

Merged to master and 2.8


Error while starting vim

I am using:
NVIM v0.9.1                                                                                Build type: Release                                                                                LuaJIT 2.1.0-beta3
Error detected while processing BufNewFile Autocommands for "*":
Error executing lua callback: ...teknife/softwares/neovim/share/nvim/runtime/filetype.lua:21: Error executing lua: ...teknife/softwares/neovim/share/nvim/runtime/filetype.lua:22: BufNewFile Autocommands for "*"..FileType Autocommands for "*": Vim(append):Error executing lua callb
ack: .../.local/share/nvim/lazy/LuaSnip/lua/luasnip/util/log.lua:81: attempt to call field 'indx_of' (a nil value)
stack traceback:
        .../.local/share/nvim/lazy/LuaSnip/lua/luasnip/util/log.lua:81: in function 'set_loglevel'
        .../.local/share/nvim/lazy/LuaSnip/lua/luasnip/util/log.lua:121: in main chunk
        [C]: in function 'require'
        ...nife/.local/share/nvim/lazy/LuaSnip/lua/luasnip/init.lua:14: in main chunk
        [C]: in function 'require'
        ...share/nvim/lazy/LuaSnip/lua/luasnip/loaders/from_lua.lua:27: in main chunk
        [C]: in function 'require'
        ...eknife/.local/share/nvim/lazy/LuaSnip/plugin/luasnip.lua:87: in function <...eknife/.local/share/nvim/lazy/LuaSnip/plugin/luasnip.lua:86>
        [C]: in function 'nvim_cmd'
        ...teknife/softwares/neovim/share/nvim/runtime/filetype.lua:22: in function <...teknife/softwares/neovim/share/nvim/runtime/filetype.lua:21>
        [C]: in function 'nvim_buf_call'
        ...teknife/softwares/neovim/share/nvim/runtime/filetype.lua:21: in function <...teknife/softwares/neovim/share/nvim/runtime/filetype.lua:10>
stack traceback:
        [C]: in function 'nvim_cmd'
        ...teknife/softwares/neovim/share/nvim/runtime/filetype.lua:22: in function <...teknife/softwares/neovim/share/nvim/runtime/filetype.lua:21>
        [C]: in function 'nvim_buf_call'
        ...teknife/softwares/neovim/share/nvim/runtime/filetype.lua:21: in function <...teknife/softwares/neovim/share/nvim/runtime/filetype.lua:10>
stack traceback:
        [C]: in function 'nvim_buf_call'
        ...teknife/softwares/neovim/share/nvim/runtime/filetype.lua:21: in function <...teknife/softwares/neovim/share/nvim/runtime/filetype.lua:10>
Error detected while processing BufWinEnter Autocommands for "*":
Error executing lua callback: ...eknife/.local/share/nvim/lazy/LuaSnip/plugin/luasnip.lua:87: loop or previous error loading module 'luasnip.loaders.from_lua'
stack traceback:
        [C]: in function 'require'
        ...eknife/.local/share/nvim/lazy/LuaSnip/plugin/luasnip.lua:87: in function <...eknife/.local/share/nvim/lazy/LuaSnip/plugin/luasnip.lua:86>
Error executing lua callback: .../nvim/lazy/LuaSnip/lua/luasnip/loaders/from_snipmate.lua:1: loop or previous error loading module 'luasnip'
stack traceback:
        [C]: in function 'require'
        .../nvim/lazy/LuaSnip/lua/luasnip/loaders/from_snipmate.lua:1: in main chunk
        [C]: in function 'require'
        ...eknife/.local/share/nvim/lazy/LuaSnip/plugin/luasnip.lua:95: in function <...eknife/.local/share/nvim/lazy/LuaSnip/plugin/luasnip.lua:94>
Error executing lua callback: ...re/nvim/lazy/LuaSnip/lua/luasnip/loaders/from_vscode.lua:1: loop or previous error loading module 'luasnip'
stack traceback:
        [C]: in function 'require'
        ...re/nvim/lazy/LuaSnip/lua/luasnip/loaders/from_vscode.lua:1: in main chunk
        [C]: in function 'require'
        ...eknife/.local/share/nvim/lazy/LuaSnip/plugin/luasnip.lua:103: in function <...eknife/.local/share/nvim/lazy/LuaSnip/plugin/luasnip.lua:102>
indent-blankline: ...azy/indent-blankline.nvim/lua/indent_blankline/utils.lua:197: module 'nvim-treesitter.locals' not found:
        no field package.preload['nvim-treesitter.locals']
cache_loader: module nvim-treesitter.locals not found
cache_loader_lib: module nvim-treesitter.locals not found
        no file './nvim-treesitter/locals.lua'
        no file '/__w/neovim/neovim/.deps/usr/share/luajit-2.1.0-beta3/nvim-treesitter/locals.lua'
        no file '/usr/local/share/lua/5.1/nvim-treesitter/locals.lua'
        no file '/usr/local/share/lua/5.1/nvim-treesitter/locals/init.lua'
        no file '/__w/neovim/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/locals.lua'
        no file '/__w/neovim/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/locals/init.lua'
        no file './nvim-treesitter/locals.so'
        no file '/usr/local/lib/lua/5.1/nvim-treesitter/locals.so'
        no file '/__w/neovim/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter/locals.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file './nvim-treesitter.so'
        no file '/usr/local/lib/lua/5.1/nvim-treesitter.so'
        no file '/__w/neovim/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'

@rishabhdeepsingh I'm experiencing this too. What did you do to fix it?

I think I deleted some old files. For me, I was using packer and had to remove that. You can try removing all of the packages and then retry.

Oh that makes sense. I'll give that a try. Thank you!


Add some emojis to the main page

It's boring right now, can someone please add a few more emojis to make it more exciting?

I'll cross this off too 😅


Consider adding a way to delete consumer groups

We all have some consumer groups that got deprecated and don't have any more members. Deleting those consumer groups would help for Kafka administration (and avoid this huge regex that filters all unused consumer groups).

Closing inf favor of https://github.com/StephenSorriaux/ansible-kafka-admin/issues/88


Confused on how imports work

Hey, i'm pretty confused on how imports work in this scenario, i can't wrap my head around it, can you help me?
https://github.com/DavidVujic/python-polylith-example-uv/blob/ac4e86849d4be010daa1519bd87289630fa4ff7b/bases/example/message_api/core.py#L2-L3
i'm looking forward to understanding this cause this is really what i need

Hi @extreme4all, example is the top namespace in this repo. All the code in the bases and components share the same top namespace.
In database and schema is an __init__.py where a selection of code is "exported" (this is just standard Python):
__all__ = ["Base", "engine"]

Your dev environment is aware of the bases and components from the config of the top-level pyproject.toml. When you build a wheel or an sdist for an individual project, the folder structure in the wheel/sdist will be just like if it was a single-project repo:
pyproject.toml
README.md
...
example/
    database/
        __init__.py
        core.py
        ...

The way this works is that the hatch-polylith-bricks will read the contents of the [tool.polylith.bricks] section in the project-specific pyproject.toml and feed that to the uv/hatchling build process.
NOTE: the database code in the example repo is (too) simple. In a real world scenario you probably want proper DB Session handling and such.

Hey @DavidVujic , thanks for your explanation, i further looked into it and just rephrasing to make sure my understanding is correct. Please correct my statement if needed.
the dev-mode-dirs is a hatch configuration that adds the directories to the Python's search path. This means that if i import from example it actually takes components/example, bases/example & development/example and ./example into scope
https://hatch.pypa.io/1.9/config/build/#dev-mode
[tool.hatch.build]
dev-mode-dirs = ["components", "bases", "development", "."]

beyond this, there is just the normal explicit module export control in python, importing with the __init__.py using __all__ = []

The first part, yes! That's exactly how it works.
The projects pyproject.toml doesn't deal with the top-level dev-mode-dirs. The packages = ["example"] need to be there, to define the source code path when building the wheel. Otherwise, Hatch and uv will fail with an error. Just before the actual building of a wheel or sdist, the Hatch build hook that is added in the project-specific pyproject.toml will append paths to the Hatch-specific force include feature. Hatch will copy the paths into a local file structure (and that is why it will need the packages definition).
The [tool.polylith.bricks] is basically the same thing as force-include in Hatch. I added the Polylith-feature in the config to not lock-in to only support Hatch. PDM has a similar, but different way of defining the paths, and the tool.polylith.bricks will wrap both ways. There's also Maturin, that is very different from both Hatch and PDM, but will work with the Polylith configuration in the toml files too.

somehow i may still not understand it properly, when i clone your repo pylance etc works fine but when i make my own repo following the guides it doesn't :(

Could it be something missing in any of the pyproject.toml files?
The top-level toml should have this:
[tool.hatch.build]
dev-mode-dirs = ["components", "bases", "development", "."]

The projects pyproject.toml files should not have the dev-mode-dirs defined. But they need this:
(note the "hatch-polylith-bricks" added in the requires)
[build-system]
requires = ["hatchling", "hatch-polylith-bricks"]
build-backend = "hatchling.build"

You will need to run uv sync once to make uv add the dev-mode paths to the virtual environment. Also, for IDE integration, make sure to have a local venv (and not a venv outside of the repo/workspace).

okay i got it fixed now my mistake was in ./pyproject.toml the build-system should be at the top
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

okay i think i more or less understand it, i'll play with the design hopefully it works that would be great i'm a bit annoyed that i had to duplicate pydantic models & dataclasses all over the place, and i think this should solve that!

Great!
There's some also some info at the Discussions forum of the Polylith repo. You are also very much welcome to share your feedback, questions and ideas there!


Bartending and chemistry is near impossible for borgs

Description

Currently, the service module and the advanced medical treatment modules imply they are able to be used for chemistry and bartending. However, they are extremely poor suited for this purpose. Bartending for instance requires ejecting any needed from each dispenser, with chemistry work fairing similarly. You're simply unable to insert shakers or beakers into your relevant dispensers/ChemMaster.
Design wise, borgs should be extremely well suited for certain tasks and poor/incapable at working in others. Engineering borgs are a good example of this, as are xenoborgs, though a bit less so.
I suggest we allow modules to feature "allowlisted hands" that are only able to hold a limited subset of items. This could be seen as a unique grabbing apparatus that is only able to pick up and handle items of a certain shape. This could then be used for:

Advanced treatment module having a hand for any beaker or jug.
Service module having a hand for shakers, glasses, and shot glasses.
Construction module having a hand for any type of floor tile instead of the lingering steel tile slot.

The key thing is that these hands could actually drop the item and insert it into machines, which is not possible with the lingering stacks mechanism that the construction or wiring modules use.
Reproduction

Be service borg.
Try to bartend.
Pain.

Screenshots

Additional context

I looked at this and tried to half-ass fix bartending Borgs. The general limitation is not having hand whitelists. Borgs can't insert shakers into machines to mix drinks.
I will however just PR some changes giving the bartending Borg the tools required for mixing drinks so they're only half insufferable to be, not fully.

The system could be further used in newmed, so medical borgs can hold organs for surgeries.
Advanced tool module should probably have a slot for circuits, so engi borg is able to build apcs and air alarms at least. Or maybe make a machinery borg module, with slots for circuits, capacitors, matterbins, manupulators, powercells and beakers?


Ensure clean output from async task runners

While testing some concepts of this library in a separate local repo, I notice that PHP errors from the async task runners (e.g. time limit exceeded) can bubble up to stdout (the console).
We are using Process::quietly() to ignore the potential errors, but I am mot sure if this will be a problem when e.g. the user writes an Artisan command that starts async tasks, and those async tasks are generating errors. Will those errors bubble up?
Investigate and (most probably) redirect the output, either to the void or somewhere else.

So far, it seems the error will not bubble up, but we will leave this open just in case.


First time login gets error if permissions are not set to chmod 777.

These are the steps I have done:

Installed the webpanel on a Ubuntu VPS.
Commandchmod -R 755 html.
Tries to login (for the first time) but gets error.
Commandchmod -R 777 html.
Login succeeds
Commandchmod -R 755 html.
Everything still works.

I also tried sudo chown -R $USER:$USER html but did not work either.
Was just wondering why the login does not work the first time if the permissions are not set to 777? And is the way I have done it safe? Or are there any security risks since I put it at 777 one time? Because it seems everything works the way it should now, but I just want to be safe.
Thanks!

The database needs to be accessable (writable) for the brute force protection to work (if you enter the wrong password 5 times the IP gets blocked for 15 minutes) which is maybe why it returns an error. As long as the owner is correct only 755 should be needed, setting it to 777 once and then something else after that poses no security risks.

Alright I understand! Thanks


Windows supported?

Is MeshCNN compatible with Windows?

I had a problem with torch kinda   File "C:\Python37\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
BrokenPipeError: [Errno 32] Broken pipe
doesn't work