UniqueProperty error on get_or_create.

Node(1913) already exists with label User and property contact = '***********'
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 149, in get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 147, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/rest_framework/views.py", line 466, in dispatch
response = self.handle_exception(exc)
File "/usr/local/lib/python2.7/site-packages/rest_framework/views.py", line 463, in dispatch
response = handler(request, *args, **kwargs)
File "/Users/dk/oqatt_rest/oqatt_core/oqatt_core/views.py", line 57, in post
contact_list[0]
File "/usr/local/lib/python2.7/site-packages/neomodel/core.py", line 399, in get_or_create
results = db.cypher_query(query, params)
File "/usr/local/lib/python2.7/site-packages/neomodel/util.py", line 28, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/neomodel/util.py", line 107, in cypher_query
raise UniqueProperty(ce.message)
UniqueProperty

Sorry is this meant to be a bug report ?

Yup, seem while using get_or_create ,  create is working fine , but get of existing node have bug..
UNWIND [{create: {claimed: False, contact: '8109109789', uid: '3782a9279e98424391ca54e929b12d9e', name: 'vasu'}}] as params
MERGE (n:User {uid: params.create.uid})
ON CREATE SET n = params.create
RETURN n
this the query . In this its trying to get node by uid, which was created on runtime while deflating so obviously its not gonna b in graph so it trying to create the node , so on create set params setting the same params which already exist causing Neo.ClientError.Schema.ConstraintValidationFailed

get should happen on passed params. I think

is this fixed so I can install directly from repository?

I could still do with a test case for this issue, its not obvious to me from the above how @DILIPSKUMAR1410 is using the API

I fixed it in my local lib.
On Mon, Nov 13, 2017 at 2:32 PM Robin Edwards<EMAIL_ADDRESS>wrote:

I could still do with a test case for this issue, its not obvious to me
from the above how @DILIPSKUMAR1410 https://github.com/dilipskumar1410
is using the API
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robinedwards/neomodel/issues/268#issuecomment-343854553,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADoZMN57rwg8lMqyxDHN8s5zcAvTwzt9ks5s2AW8gaJpZM4PHWD-
.

Thanks could you provide a PR so everyone else can benefit from it?

Will do.
On Mon, Nov 13, 2017 at 3:35 PM Robin Edwards<EMAIL_ADDRESS>wrote:

Thanks could you provide a PR so everyone else can benefit from it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robinedwards/neomodel/issues/268#issuecomment-343870759,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADoZMP5BB3lmbci2s4mkYEzETp9P1liLks5s2BRYgaJpZM4PHWD-
.

I ran into the same problem just now. Was the PR ever created and merged?

nvm, though my issue looked the same, it was caused by something else

Is this issue still valid?


win32: Add "**" test

Vim supports "**" on MS-Windows. However, it is not tested by Test_glob_extended_bash.
Unlike Unix, it doesn't use 'shell' and doesn't support {,} expansion. So, I added as a separate test.
Related: #13205

thanks!


Roll engine 58a1894a1cd7..93dac2a88d16 (11 commits)

https://github.com/flutter/engine/compare/58a1894a1cd7...93dac2a88d16
git log 58a1894a1cd7..93dac2a88d16 --no-merges --oneline
93dac2a88 Always save canvas and correctly pass antialias boolean in ClipRects. (flutter/engine#6199)
16c56afb0 Roll src/third_party/skia 300b6197e344..094b3eaf479c (17 commits) (flutter/engine#6200)
2af72eb2c Don't map iOS reduce motion to disabled animations (flutter/engine#6194)
687cf08c7 Add option to invert paint colors to be used for smart invert accessibility on iOS (flutter/engine#6176)
85d47fb03 Accept file URIs as parameters in the RunInView service RPC (flutter/engine#6191)
5a19d7633 Roll src/third_party/skia 0b80e62a14ae..300b6197e344 (9 commits) (flutter/engine#6198)
f33615c15 Roll src/third_party/skia b090b2b26803..0b80e62a14ae (2 commits) (flutter/engine#6197)
75f6bdfd4 Revert "Dart SDK roll for 2018/09/06 (#6189)" (flutter/engine#6192)
b09563b2e Roll src/third_party/skia 106d04e907c1..b090b2b26803 (1 commits) (flutter/engine#6193)
e164e83a8 Reset the raster cache when the compositor context is created. (flutter/engine#6150)
f02fc8c10 Dart SDK roll for 2018/09/06 (flutter/engine#6189)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

@rmistry @liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/6424081381457920

Commit queue failed; closing this roll.


How to implement Multicluster Service DNS function in v0.7.0 version？

Hi, the Multicluster Service DNS function has been deleted in v0.7.0 version. I want to use the changed function in the new version. Are there any examples? I saw in https://github.com/kubernetes-sigs/kubefed/issues/1283 that it says to use service meshes or multi-cluster mesh, but I don’t know how to use it. How to do it, is there any relevant documentation?
Environment:

KubeFed version  v0.7.0

I have the same question. Anybody can help us?

The multi-cluster service discory feature has been removed in the verison 0.7.0, you can see the details at https://github.com/kubernetes-sigs/kubefed/issues/1284

The multi-cluster service discory feature has been removed from kubefed with the verison 0.7.0, you can see the details at #1284

Yes, I have seen this, but I don’t know how to use service meshes in version 0.7. Do you know how to use it?

Service mesh（eg: istio） is a standalone project, which can be deployed in a member k8s cluster separately. As far as I know, in general, Istio only does service governance for a single cluster. As for service governance for multiple clusters, you can learn it from its official website. I have got a guide from https://istio.io/latest/blog/2020/multi-cluster-mesh-automation/, I hope it is useful for you.

The multi-cluster service discory feature has been removed from kubefed with the verison 0.7.0, you can see the details at #1284

Yes, I have seen this, but I don’t know how to use service meshes in version 0.7. Do you know how to use it?

Service mesh（eg: istio） is a standalone project, which can be deployed in a member k8s cluster separately. As far as I know, in general, Istio only does service governance for a single cluster. As for service governance for multiple clusters, you can learn it from its official website. I have got a guide from https://istio.io/latest/blog/2020/multi-cluster-mesh-automation/, I hope it is useful for you.

The multi-cluster service discory feature has been removed from kubefed with the verison 0.7.0, you can see the details at #1284

Yes, I have seen this, but I don’t know how to use service meshes in version 0.7. Do you know how to use it?

Service mesh（eg: istio） is a standalone project, which can be deployed in a member k8s cluster separately. As far as I know, in general, Istio only does service governance for a single cluster. As for service governance for multiple clusters, you can learn it from its official website. I have got a guide from https://istio.io/latest/blog/2020/multi-cluster-mesh-automation/, I hope it is useful for you.

ok, thank you very much, let me study. If you succeed later, can you share this case?


Fixed incorrect doc reference to Field.initial.

Based on the context, I believe this is intended to be Field.initial not Form.initial.

Updated with feedback. Thanks.


PaperPanel: inlcude more lables in search

Could we include the following labels in the paper search:
'Paper'
'Abstract'
'Title'

Definitely, we can adjust to use the a different full-text query and search all of them at once, or have a dropdown or checkboxes for searching in fulltext, abstract, title, only - what would you prefer?

With the new full-text search - is this still something that we should improve or are you happy with the current state? Just let me know.


fix: change return type to List

Fixes #3828 and the build error in #3823

The build error seems to be caused by https://github.com/googleapis/java-spanner/issues/456.

This doesn't compile.

This doesn't compile.

Are you sure? It compiles for me locally, and as far as I can see the CI builds do compile, but they currently all fail with the following exception:
[ERROR] com.example.spanner.SpannerSampleIT.testSample  Time elapsed: 347.502 s  <<< ERROR!
com.google.cloud.spanner.SpannerException:
INVALID_ARGUMENT: com.google.api.gax.rpc.InvalidArgumentException: io.grpc.StatusRuntimeException: INVALID_ARGUMENT: Invalid ListBackupOperations request.
field_violations {
  field: "filter"
  description: "Cannot evaluate filter expression: (metadata.database:projects/java-docs-samples-testing/instances/default-instance/databases/mysample-70ade011-8929-4521-a) AND (metadata.@type:type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata).\nType not found: type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata"
}

	at com.example.spanner.SpannerSampleIT.runSample(SpannerSampleIT.java:61)
	at com.example.spanner.SpannerSampleIT.testSample(SpannerSampleIT.java:273)

That exception is unfortunately caused by a known backend issue (see https://github.com/googleapis/nodejs-spanner/issues/1243#issuecomment-700404921)

Poor language choice.  I should have said it isn't running.

I can't comment out the tests, if it passes, then ok to merge, if not, you'll need to do something.

I should have merged a few things before I force-ran earlier.  I'll let this finish then run again

I've added force-run again, but I think this needs to be rebased before it will pass tests. (ignore the bad test)


Replaced -StoragePoolFriendlyName by -FriendlyName

In previous step it only sets FriendlyName parameter and the searched documentation does not show StoragePoolFriendlyName in use. eg: https://www.starwindsoftware.com/blog/configure-a-resilient-volume-on-windows-server-2016-using-storage-spaces

OK to merge.

Closes #342


Add event images to homepage

add some images of the event to the homepage so that people can get a feel for what the event is like
https://www.flickr.com/photos/142298874@N02/albums/72157665328966013
https://photos.google.com/share/AF1QipMB62cjOaYxVdzd0A8qLFUIGT1mLmodUgAVeO7_EPIetmMJI9GCyPfNsyuBoHI30w?key=QS1xdXcySklPSjUxWE1DbkJJRU9TX0NHamRhNFJn

I think the embedded Twitter Moments do a great job of this, so I'll consider this closed! ☺


[Bug] Product Images in Safari are not showing

What happened?
Hi!
it seems there is a problem with images in Safari. Especially in the product boxes.
Steps To Reproduce

Go to https://shopware-pwa-canary.storefrontcloud.io in the Safari Browser.
Look at the Product Slider at the bottom. In the Product boxes are no image

s.
Is there an existing issue for this?

[X] I have searched the existing issues

Version
Canary (generated by CLI)
Which element is affected?
default-theme
Environment
- OS:
- Node:
- Shopware API:
- Shopware PWA version:

Relevant log output
No response

I also observe this issue on our test instance. I noticed that when you click on the address bar and add / to the URL, the images suddenly appear. Perhaps some event is being fired that updates the images?

I can also confirm the error on iPhone with different browsers. But I delete the / and don't add it and the images appear.

the issue has been solved in UI library which is updated to get rid of the problem.


Storage bucket.getFiles() not including sub-directories when specifying a prefix

GCS supports also returning "sub-directories" (i.e., common object prefixes) when listing a bucket and specifying a prefix (e.g., "/") within the query.
The sub-directories are returned as CommonPrefixes within the response.
Could these be included as well in the bucket.getFiles() response? Or maybe add a flag to specify whether subdirectories should also be returned.
Currently, the only work-around I've come up with is listing all objects within the bucket (expensive) and then filtering the response.

Is this in the JSON API? https://cloud.google.com/storage/docs/json_api/v1/buckets/list doesn't seem to show it returning anything other than the objects that match the original prefix.

Looks like it's in the XML API, but not the JSON API currently:
https://cloud.google.com/storage/docs/reference-headers#delimiter

It might be the same thing as prefixes available through the JSON API (I'm not familiar with the XML API -- didn't even know one existed before today), in which case it's accessible through the apiResponse object provided in the 4th parameter in the getFiles() call: See here for relevant code. We're sorry it's not directly accessible through the first array of files.

Yes, I believe that is the case. You can access the CommonPrefixes value like so:
var query = {
  delimiter: '/'
};
bucket.getFiles(query, function(err, files, nextQuery, apiResponse) {
  // files is array of files
  // apiResponse.prefixes is the same as CommonPrefixes
});

Great to see that the common prefixes are already coming back in the fourth parameter. I think it's actually better that you keep the prefixes separated from the actual files/objects. Thanks Ryan/Stephen!

No problem, glad we could help!

Hello I tried to specify the delimiter but nothing change I cannot access a folder ref to read files from , I am using admin sdk
any help


Definition of birthday is wrong ?

[I'm new to this, I might be totally wrong.]
contacts.birthday is defined as a single field, but in the standard Contacts app on my Android 9 phone it seems there is a collection Dates of which Birthday is one member.
Setting contacts.birthday through contacts_service doesn't work; the new value does not appear in the Contacts app.
I've tried versions 0.4.6 and 0.5.0-nullsafety.0

Please don't auto-close this issue.

Please don't close this issue.

Please don't close this issue.

Need some help fix this issue, please don't close this issue

Please don't close this issue.

Please don't close this issue.

Please don't auto-close.


BundleError: 'js/jquery-ui-1.13.2.custom/jquery-ui.css' not found in load path

ERROR:mysql_docker:Exception on /account/reset/WyJiMDUyZGZkYTQwYzA0ZGJiYWJmNTM4MTkzMzk2NjdjZSIsbnVsbF0.ZMP7IA.toCf_njQSGqD5BZtYVlDi12hamU [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/webassets/bundle.py", line 235, in resolve_contents
    result = ctx.resolver.resolve_source(ctx, item)
  File "/usr/local/lib/python3.9/site-packages/webassets/env.py", line 251, in resolve_source
    return self.search_for_source(ctx, item)
  File "/usr/local/lib/python3.9/site-packages/flask_assets.py", line 192, in search_for_source
    return Resolver.search_for_source(self, ctx, item)
  File "/usr/local/lib/python3.9/site-packages/webassets/env.py", line 180, in search_for_source
    return self.search_load_path(ctx, item)
  File "/usr/local/lib/python3.9/site-packages/webassets/env.py", line 168, in search_load_path
    raise IOError("'%s' not found in load path: %s" % (
OSError: 'js/jquery-ui-1.13.2.custom/jquery-ui.css' not found in load path: ['/app/mysql_docker/static', '/usr/local/lib/python3.9/site-packages/loutilities/tables-assets/static']

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2190, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1486, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1484, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1469, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/usr/local/lib/python3.9/site-packages/flask_security/decorators.py", line 612, in wrapper
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/flask_security/decorators.py", line 430, in decorated
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/flask_security/views.py", line 605, in reset_password
    return _security.render_template(
  File "/usr/local/lib/python3.9/site-packages/flask_security/utils.py", line 1072, in default_render_template
    return render_template(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/flask/templating.py", line 151, in render_template
    return _render(app, template, context)
  File "/usr/local/lib/python3.9/site-packages/flask/templating.py", line 132, in _render
    rv = template.render(context)
  File "/usr/local/lib/python3.9/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.9/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "/usr/local/lib/python3.9/site-packages/loutilities/tables-assets/templates/security/reset_password.jinja2", line 2, in top-level template code
    {% from "security/_macros.html" import render_field_with_errors, render_field %}
  File "/usr/local/lib/python3.9/site-packages/loutilities/tables-assets/templates/bare-layout.jinja2", line 1, in top-level template code
    {% extends "layout-base.jinja2" %}
  File "/usr/local/lib/python3.9/site-packages/loutilities/tables-assets/templates/layout-base.jinja2", line 34, in top-level template code
    {% assets "admin_css" %}
  File "/usr/local/lib/python3.9/site-packages/webassets/ext/jinja2.py", line 187, in _render_assets
    urls = bundle.urls(calculate_sri=True)
  File "/usr/local/lib/python3.9/site-packages/webassets/bundle.py", line 833, in urls
    urls.extend(bundle._urls(new_ctx, extra_filters, *args, **kwargs))
  File "/usr/local/lib/python3.9/site-packages/webassets/bundle.py", line 781, in _urls
    urls.extend(org._urls(
  File "/usr/local/lib/python3.9/site-packages/webassets/bundle.py", line 779, in _urls
    for org, cnt in self.resolve_contents(ctx):
  File "/usr/local/lib/python3.9/site-packages/webassets/bundle.py", line 237, in resolve_contents
    raise BundleError(e)
webassets.exceptions.BundleError: 'js/jquery-ui-1.13.2.custom/jquery-ui.css' not found in load path: ['/app/mysql_docker/static', '/usr/local/lib/python3.9/site-packages/loutilities/tables-assets/static']

copied js files to static directory


ARROW-2934: [Packaging] Add checksums creation to sign subcommand

Codecov Report

Merging #2338 into master will decrease coverage by 36.35%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #2338       +/-   ##
===========================================
- Coverage   84.48%   48.13%   -36.36%
===========================================
  Files         293       56      -237
  Lines       45160     2761    -42399
===========================================
- Hits        38154     1329    -36825
+ Misses       6975     1401     -5574
  Partials       31       31

Impacted Files
Coverage Δ

cpp/src/arrow/util/compression_zstd.cc

cpp/src/arrow/util/bpacking.h

cpp/src/arrow/compute/kernels/util-internal.cc

cpp/src/arrow/stl-test.cc

cpp/src/arrow/array.cc

cpp/src/arrow/python/util/datetime.h

cpp/src/arrow/util/compression_lz4.h

cpp/src/arrow/io/memory.h

cpp/src/arrow/compute/compute-test.cc

cpp/src/arrow/util/compression-test.cc

... and 227 more

Continue to review full report at Codecov.

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

LGTM

Merging on green

Had to change .sig to .asc for gpg signatures in accordance with these ASF guidelines

Thanks for the link!


The Clear Button is not accessible via Tab key for keyboard users.

The problem is: The keyboard users can not focus to the Clear Button via Tab key.
Clear button's tab index (tabIndex) actually should be 0 instead of -1. Or, could be the same tabIndex with this.props.tabIndex.
https://github.com/Hacker0x01/react-datepicker/blob/master/src/index.jsx#L1069

The problem still exists even after 2 years...

Contributions are welcome

I will make a PR, setting tabIndex to 0 (zero) instead of -1. Is it okey?


The random test result of dtworkload failure

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
command /tiflash/tiflash dtworkload --testing_type=daily_random --log_file=/tmp/dt.log

2. What did you expect to see? (Required)
tool run not failure
3. What did you see instead (Required)
tool run failure
4. What is your TiFlash version? (Required)
TiFlash Release Version: v6.2.0-alpha-dirty
Edition:         Community
Git Commit Hash: 6dfb20e625ea2eb09ad4186ab7b7cc0bcba53998
Git Branch:      heads/refs/tags/v6.2.0-alpha UTC
Build Time:  2022-09-02 14:04:39
Enable Features: jemalloc avx avx512 unwind thinlto
Profile:         RELWITHDEBINFO
Raft Proxy Git Commit Hash:   6ff4158ba27fef65123f4b7e094799baae1f2d1a
Git Commit Branch: HEAD UTC
Build Time:    2022-09-02 14:09:17
Rust Version:      rustc 1.60.0-nightly (1e12aef3f 2022-02-13)
Storage Engine:    tiflash
Prometheus Prefix: tiflash_proxy_
Profile:           release

/assign JinheLin


Message objects in req.session.flash do not clear up on refresh

Alert message persists even on refreshing the browser because req.session.flash persists.
Is this by design?
How do I ensure that the flash gets cleared on any refresh?

you have to remove them yourself. it's just an array.

I see. Just for future reference, I started doing this.
app.get('/*', function(req,res,next) {
  req.session.flash = [];
  next();
});

So for every request, flash gets cleared.

@serv Your solution works, but I'm not sure how, can you explain?

Sure, in express.js, app.get('/*', function (req,res,next) { ... }) is a route method that runs prior to all the "get" calls. * is indicates the catch all routes. Read more about routes here.
Note that I placed that route method before all other "get" route methods.

@serv
I put your code at the very end of my code, after all my routes.
Now, all messages are sent one time and cleared just after that.
That's perfect, thanks!

@serv hi, I realize this is 3 years ago, but I'm running into the same issue. I've tried pretty much everything I can think of, and I either get consistent messages, or no messages at all

@afalahi Hey, it's been a while I used this package and I don't remember how I fixed the issue. Sorry about that.

found it super weird that this middleware doesn't flush the session. I have this on the top of my routes:
app.use(flash())

// flush session
app.use((req, res, next) => {
  if (req.session && req.session.flash && req.session.flash.length > 0) {
    req.session.flash = []
  }
  next()
})

Would this not clear the flash session before it is used?

Would this not clear the flash session before it is used?

That only clears session.flash, but by that time flash messages are already parsed into res.locals.flash
From the request life-time perspective it looks like that:
app.use(require("express-session")());
app.use(require("flash")());
...
app.use((req, res, next) => {
req.session.flash = [];
next();
})
...
app.get("/", function (req, res) {
res.render("ejs_template", {
// 'flash' property here is already set by require("flash")() above
});
});

@serv hi, I realize this is 3 years ago, but I'm running into the same issue. I've tried pretty much everything I can think of, and I either get consistent messages, or no messages at all

Hey, @afalahi found a solution yet?


Adopt this crate

I want to adop this crate.

Do you have a crates.io account? You need one in order for me to transfer ownership to you.

I am logged in with github there

Alright, I added you as owner for both crates on crates.io. Do you need anything else?

I don't know, which repository will be used? Should I create a fork?

You could create a fork, but I can also transfer ownership of this repository to you.

Whatever you think is best

Alright, I'll transfer ownership.

Alright, thanks for adopting!

thanks!


"Converting circular structure to JSON" when saving a modal with loaded hasMany relations

According to https://github.com/js-data/js-data-angular/issues/299 this should be fixed in js-data 1.1.0 but i'm using:

js-data-angular v2.2.3
js-data-localstorage v1.0.1
js-data v1.5.11

Am I missing an configuration option to activate the "removeCircular" util method?

No, this is a bug in js-data-localstorage. Thanks for catching it.

Thanks for the quick fix. Works like a charm!


model_function dosent work after update

Bug report
What I did:
update backpack:crud to 3.4
update backpack:base 0.9.2
What I expected to happen:
every thing work fine
What happened:
all is good but all the columns with type model_function that returned  tag now doesnt return anything
What I've already tried to fix it:
Backpack, Laravel, PHP, DB version:
backpack:base 0.9.2
backpack:crud: 3.4
laravel : 5.6

sorry guys its working but i have to remove the target="_black" alos removing inline style for the  tag
i still confused why this happens it was working in the past

Huh... that's very weird. No idea why that would happen after the update... Thanks for letting us know @OdaiTu !

Ouch. You're right. Done, thank you!


Unable to use API key authentication to connect to Elasticsearch

Currently we use Basic Authentication to create document logs in elastic which works fine with  NLog.Targets.ElasticSearch v7.7.0. On switching to API Key authentication I keep getting Unauthorized error on authentication. Our ElasticSearch is on version 8.7.0.
Here is the exception stack trace
 Exception: Elasticsearch.Net.ElasticsearchClientException: Could not authenticate with the specified node. Try verifying your credentials or check your Shield configuration. Call: Status code 401 from: POST /_bulk ---> Elasticsearch.Net.PipelineException: Could not authenticate with the specified node. Try verifying your credentials or check your Shield configuration. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.    at System.Net.HttpWebRequest.GetResponse()    at Elasticsearch.Net.HttpWebRequestConnection.Request[TResponse](RequestData requestData)    --- End of inner exception stack trace ---    at Elasticsearch.Net.RequestPipeline.ThrowBadAuthPipelineExceptionWhenNeeded(IApiCallDetails details, IElasticsearchResponse response)    at Elasticsearch.Net.RequestPipeline.CallElasticsearch[TResponse](RequestData requestData)    at Elasticsearch.Net.Transport1.Request[TResponse](HttpMethod method, String path, PostData data, IRequestParameters requestParameters)`
The API Key is working with curl request to fetch the document based on elastic uri and the index. I am passing the same API Key in the Authorization header. So permission shouldn't be the problem. Here is the API Key information and you can see privileges are set correctly.
{   "api_keys": [     {       "username": "*****",       "realm": "cloud-saml",       "name": "*****",       "creation":<PHONE_NUMBER>150,       "invalidated": false,       "role_descriptors": {         "appuser": {           "applications": [],           "transient_metadata": {             "enabled": true           },           "run_as": [],           "cluster": [],           "indices": [             {               "privileges": [                 "write",                 "create_index",                 "create_doc",                 "create",                 "all"               ],               "allow_restricted_indices": false,               "names": [                 "logs-<index1>-default-*",                 "logs-<index2>-*"               ]             }           ],           "metadata": {}         }       },       "id": "APIKEYID",       "metadata": {}     }   ] }
Here is my NLog.Config
<?xml version="1.0" encoding="utf-8"?>

<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	  xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
      autoReload="true"
      throwExceptions="false"
      internalLogLevel="Error" internalLogFile="${basedir}/logs/error.log">

	<variable name="defaultLayout" value="${longdate} | ${level:uppercase=true} | ${logger} | ${message}${onexception:${newline}${exception:format=tostring}}"/>
	<extensions>
		<add assembly="NLog.Web" />
		<add assembly="NLog.Targets.ElasticSearch" />
		<add assembly="Elastic.Apm.NLog"/>
		<add assembly="Elastic.CommonSchema.NLog"/>
	</extensions>
	<targets>
		<target name="elastic" xsi:type="BufferingWrapper" flushTimeout="5000">
			<target xsi:type="ElasticSearch"
					name="elastic"
					enableJsonLayout="true"
					opCodeCreate="true"
					includeDefaultFields="true"
					includeAllProperties="true"
					documentType="">
				<layout xsi:type="EcsLayout">
					<metadata name="data_stream.dataset" layout="${appsetting:Log.DataStream.Dataset}" />
					<metadata name="application.title" layout="${appsetting:Log.Application.Title}" />
				</layout>
			</target>
		</target>
	</targets>

	<rules>
		<logger name="*" minlevel="Trace" writeTo="elastic" />
	</rules>
</nlog>

And my helper class to initialize the ElasticSearchTarget
public static class ElasticSearchTargetSetup
    {
        public static bool SetupElasticTarget()
        {
            bool isElasticActive = false;

            var elasticTargetWrapper = LogManager.LogFactory.Configuration.AllTargets.SingleOrDefault(x => x is BufferingTargetWrapper) as BufferingTargetWrapper;

            if (elasticTargetWrapper != null && elasticTargetWrapper.WrappedTarget is ElasticSearchTarget)
            {
                var elasticTarget = elasticTargetWrapper.WrappedTarget as ElasticSearchTarget;
                elasticTarget.Index = ConfigurationManager.AppSettings["Log.Elastic.Index"];
                elasticTarget.CloudId = ConfigurationManager.AppSettings["Log.Elastic.CloudId"];
                elasticTarget.Uri = ConfigurationManager.AppSettings["Log.Elastic.Url"];
                elasticTarget.ApiKeyId = ConfigurationManager.AppSettings["Log.Elastic.ApiKeyId"];
                elasticTarget.ApiKey = ConfigurationManager.AppSettings["Log.Elastic.ApiKey"];
            }

            return isElasticActive;
        }
    }

Here is my web.config to read appsettings
<appSettings>
	<add key="Log.Application.Title" value="My App 1" />
	<add key="Log.DataStream.Dataset" value="my data stream" />
	<add key="Log.Elastic.CloudId" value="my-cluster:<Base64string>" />
	<add key="Log.Elastic.Index" value="logs-<index1>-default" />
	<add key="Log.Elastic.Url" value="https://my-elastic-cloud:9243" />
	<add key="Log.Elastic.ApiKeyId" value="APIKEYID"/>
	<add key="Log.Elastic.ApiKey" value="APIKEY"/>
</appSettings>

Has anyone faced this issue or were able to use the API Key authentication successfully with NLog.Targets.ElasticSearch 7.7.0?

Notice that ElasticSearch have now released their own official NLog Target for ElasticSearch:

https://www.nuget.org/packages/Elastic.NLog.Targets/#readme-body-tab
https://github.com/elastic/ecs-dotnet/tree/main/src/Elastic.NLog.Targets


How to calculate input-feature unit-output maps?

Hi! First of all, thank you for your interesting work and for publishing and documenting everything here! :-)
For my master's thesis, I'm trying to classify the attentive state of patients with disorders of consciousness. The major challenge is that there is no ground truth available for these patients. To tackle this, I have two approaches. First, I'm using a Keras implementation of your deep network in combination with learning mechanisms that are robust to label noise. After training, gaining insight into what the network learned is the second aspect I'd like to investigate. So the input-feature unit-output correlation maps seem to be a promising method. I followed your tutorial on Amplitude Perturbation Visualization, which worked using the learned model's prediction function.
But regarding the input-feature unit-output correlation maps (without the perturbation), I don't know how I can calculate them. I read through the classes in the visualization package, but I'm not sure where to start. My goal would be an evaluation similar to figures 6/7 in your paper.
Can you point me in the right direction?
Kind regards, Constantin

Hi!
Sure! The example you linked to is unfortunately outdated, based on old braindecode version. We will have to update it :) To see how it works in the new braindecode, you can have a look at https://colab.research.google.com/drive/1cHFiXN31ycQ9SuTURy9aEyVRcsPjUWW_
Regarding the input-output correlation, we didn't supply code for it so far, but basically idea is :

Bandpass filter the input data to different frequency ranges using mne
Compute the envelope (see https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.hilbert.html)
Correlate these envelopes with the activations of the network at different layers, both for a trained an untrained network.
Compute mean absolute correlations per sensor (mean over time and network output units of a specific layer), yielding two vectors per frequency range and per sensor (one for trained, one for untrained network)
Compute difference of these two vectors per frequency range and per sensors
Visualize the difference vectors as topographical plots using mne as in https://colab.research.google.com/drive/1cHFiXN31ycQ9SuTURy9aEyVRcsPjUWW_

Does this help you get started? Would you need a full code example?

The whole procedure is a bit compute-intensive for computing all the bandpassfilters+envelopes

Thank you for your answer! That already helps. I think I got it figured out now.
I understand that, for example, to compute the correlation for "Filter 1", you take the activations from the first conv block for each EEG channel separately, average over the temporal axis (?), calculate the correlation between this matrix which is [n_samples x layer output units] and the mean squared envelope which is [n_samples x time], to get a correlation matrix of [layer output units x time] and then just take the mean from that. Is this correct?

so I decided I will have a go at it myself:
https://colab.research.google.com/drive/1DsgVf_GWdy85urKpcSrn3yRdSsL89bVG#scrollTo=Y0t3kFg5WQ9Y
(scroll down for visualization)
It's a bit complicated, we can see if we can make some more helper functions to make this easier :)
Visualization is only done for one specific layer and frequency range.

Awesome, thank you!
So if I see it correctly, I have to delete "average over the temporal axis" from my previous comment and instead reshape the activations from [n_samples x layer output units x receptive field] to [layer output units x (n_samples * receptive field)]. For the envelopes, I have to use a movavg to get them from [n_channels x n_samples x time] to [n_channels x (n_samples * receptive field)]. Then correlate both and get a correlation matrix of [n_channels x layer output units] for each frequency band.

yes indeed one should not average activations over time before doing the correlation, as you want to see also temporally, if envelope goes up or down, does activation go up or down with it or not?

That makes perfectly sense. I was puzzled about having one dimension too many, but of course, concatenating along the temporal axis works fine here.
I think I'll get it to work for my application from here. Thank you for your fast and good explanations! :-)

Thank you for your answer! That already helps. I think I got it figured out now.
I understand that, for example, to compute the correlation for "Filter 1", you take the activations from the first conv block for each EEG channel separately, average over the temporal axis (?), calculate the correlation between this matrix which is [n_samples x layer output units] and the mean squared envelope which is [n_samples x time], to get a correlation matrix of [layer output units x time] and then just take the mean from that. Is this correct?

so I decided I will have a go at it myself:
https://colab.research.google.com/drive/1DsgVf_GWdy85urKpcSrn3yRdSsL89bVG#scrollTo=Y0t3kFg5WQ9Y
(scroll down for visualization)
It's a bit complicated, we can see if we can make some more helper functions to make this easier :)
Visualization is only done for one specific layer and frequency range.

HI, this notebook give error below:
AttributeError: module 'torch' has no attribute 'irfft'
Also the https://braindecode.org/ seems removed all content related with visualization. I am have some trouble to understand the correlation plot, could you please give me a working example?


[webview_flutter] Add a page loaded callback

Fixes https://github.com/flutter/flutter/issues/27910

@amirh Do you think the name onPageLoaded or onPageFinished is more appropriate. Android and iOS both use the word finished.

I don't have any preference for one of onPageLoaded,onPageFinished over the other.

hmm.. what magic wand did you have to get the attention of @amirh within 2 days.. waiting for 3 weeks for any signs of life https://github.com/flutter/plugins/pull/1283 .. just tell me to leave this repo alone if you don't like external PR's and i'll happily stop annoying anyone here...


[Feature Request] Thai word detokenizer

Detailed description
Hi, are there any plans to add Thai word detokenizers (put list of tokens back to string)?
Context
There are some cases where the users need to convert list of tokens back to string after applying some post-processing operations to the list of tokens returned by the tokenizer.
Possible implementation
No idea.
Your environment

PyThaiNLP version: 3.0.8
Python version: 3.8.10 x64
Operating system and version (distro, 32/64-bit): Windows 10 x64

I don't sure about your feature. I think It just use ' '.join(the words list from the tokenizer).

@wannaphong There are no spaces between Thai words, only between sentences, am I right?
I do not speak Thai, so I can't give examples here. But when Thai words are going to be put back into complete sentences, spaces need to be added after the last word of each sentence.

@BLKSerene OK. I will try to add this feature.

@BLKSerene You can try #697.
from pythainlp.tokenize import word_detokenize,clause_tokenize
text_list=['ภาษาไทย', 'หรือ', 'ภาษาไทย', 'กลาง', 'เป็น', 'ภาษา', 'ใน', 'กลุ่ม', 'ภาษา', 'ไท', 'ซึ่ง', 'เป็น', 'กลุ่มย่อย', 'ของ', 'ตระกูล', 'ภาษา', 'ข', 'ร้า', '-', 'ไท', 'และ', 'เป็น', 'ภาษาราชการ', 'และ', 'ภาษาประจำชาติ', 'ของ', 'ประเทศ', 'ไทย']
print(word_detokenize(clause_tokenize(text_list)))

output: ภาษาไทยหรือภาษาไทยกลางเป็นภาษาในกลุ่มภาษาไท ซึ่งเป็นกลุ่มย่อยของตระกูลภาษาขร้า - ไท และเป็นภาษาราชการ และภาษาประจำชาติของประเทศไทย

@wannaphong Is clause_tokenize required to get the correct detokenized string? If so, perhaps clause_tokenize could be called implicitly inside word_detokenize?

@wannaphong Is clause_tokenize required to get the correct detokenized string? If so, perhaps clause_tokenize could be called implicitly inside word_detokenize?

I don't think like this because PyThaiNLP maybe has more clause_tokenize engines in the future that I need to write engine to this function if I add clause_tokenize inside word_detokenize, and I think some users want to use sent_tokenize, not clause_tokenize.

Since I do not speak Thai, I'm a bit confused about some points.
The input of word_detokenize could be either list of tokens (strings) or list of sub-lists of strings (the output of clause_tokenize), am I right?

I don't think like this because PyThaiNLP maybe has more clause_tokenize engines in the future that I need to write engine to this function if I add clause_tokenize inside word_detokenize, and I think some users want to use sent_tokenize, not clause_tokenize.
So what's the difference between applying word_detokenize directly to a list of strings, word_detokenize(clause_detokenize(input_list)), and word_detokenize(sent_tokenize(input_list))? And how do I know which one should I use?
A more practical issue is that if I want to detokenize all lines in a text file, and apparently I have no idea about whether each line is a single clause (sentence segment) / multiple clauses / multiple sentences. So what's the best practice in these cases?

Since I do not speak Thai, I'm a bit confused about some points. The input of word_detokenize could be either list of tokens (strings) or list of sub-lists of strings (the output of clause_tokenize), am I right?

Yes

So what's the difference between applying word_detokenize directly to a list of strings, word_detokenize(clause_detokenize(input_list)), and word_detokenize(sent_tokenize(input_list))? And how do I know which one should I use?

I advice you should try sent_tokenize and clause_tokenize and choise the tokenizer for your work. for sent_tokenize, It needs to input in string sent_tokenize(str) but clause_detokenize input is list of words.
sent_tokenize (CRFcut is default) is trained from Ted + Orchid + Fake review dataset and clause_tokenize is trained from LST20 corpus.
CRFcut: https://pythainlp.github.io/Model-Cards/CRFcut/
LST20 CLS: https://pythainlp.github.io/Model-Cards/LST20 CLS/
If the text is general, I will use CRFcut because It is in the domain of CRFcut.

Another more practical issue is that if I want to detokenize all lines in a text file, and apparently I have no idea about whether each line is a single clause (sentence segment) / multiple clauses / multiple sentences. So what's the best practice in these cases (detokenize multiple lists of Thai words in batch)?

Yes, detokenize multiple lists of Thai words in batch is the best.

And, how are English words (and words in other Indo-European languages) handled in word_detokenize (spaces added between Thai and English words or not)?

Yes, It is spaces added between Thai and English words.

This url is the Thai space suggest from The Royal Society of Thailand but The people doesn't use. http://legacy.orst.go.th/?page_id=629

The "small spaces", "Big spaces" and other rules are hard to write the coding because the document doesn't clear. I will add just few rule to the function.


How do I map my entire keyboard?

I'm streaming LoL and wanted this to replace Pengu Feathernight and it only works with ZXCV, all I really need mapped is ZXC MB4 Tab Shift.

@tlbrift Currently, there is no mouse button support.
For the setting, see the wiki here

@tlbrift Currently, there is no mouse button support.
For the setting, see the wiki here

change ur configs to this
"osu": {
    "mouse": true,
    "paw": [255, 255, 255],
    "pawEdge": [0, 0, 0],
    "key1": [8,9,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],
    "key2": [0],
    "smoke": [0],
    "wave": [0]


Trigger update jobs via API

My desire is to have something I can add to a CI build script that tells dependabot a release has occurred in that repo. This would then cause dependabot to examine the repo, and raise PRs immediately on all the dependent projects in my organization. Effectively an API version of the "Bump now" button. Note that the trigger can't be a commit or tag on GitHub, because the release happens on CI after the commit/tag, so I don't think dependabot/feedback#301 applies.
When I first saw the API had /release_notifications/private, I thought that was the perfect solution and gave it a try, but it did nothing. I then noticed the reference to "live":

Notifes Dependabot of a private dependency release. In response, Dependabot will check all of the repos that belong to an organisation your access token has access to. If any use an outdated version of the dependency and have their update schedule set to live Dependabot will create update PRs for them.

Of course Maven does not support "live" today, so I assume that is why calling the API had no effect.
Moreover, its unclear why the API needs to know the version number, as dependabot can already parse that. All I want it to tell dependabot to bump the repo now via the API.
(The API docs are also unclear as to the meaning of "name". I'm assuming it is the repo name, as it wouldn't be much use to have to call the API once for every project in a Maven multi-module build).
I think I just want a "bump now" API endpoint specifying repo and package manager, but perhaps I'm missing something?

is there by any chance an update to this that also works with "Github native" Dependabot?
I'm looking into the ability of automating the "check for updates" button click under /network/updates

+1, would be interested in this ^

+1

Related (but not a duplicate):

https://github.com/dependabot/dependabot-core/issues/2980

The combination of the two would be even better - that you can bump dependencies via the API and you can choose which dependency or dependencies to bump

Seconding this -> I know it's an older ticket, but we'd love ability to trigger via API (or gh command) to kick off runs in all of our repos at once, so we can do a universal approve/disapprove cycle in one time bucket on our calendars. Scheduling helps, but it's not the same.


Update chain.json

Added our new endpoints

Please use an appropriate PR title such as "Add Panthea EU endpoints for Shentu"


Cache refactor

This is the initial refactor/shuffling required to get the cache in a place where we can test stuff, implement the timing behavior, scanning, etc.
I'm gonna let this sit for a bit for comment and see what happens.

The goal is for this to be a refractor without functional changes for now?

The goal is for this to be a refractor without functional changes for now?

yes sir! if i didn't mess anything up, should just be able to add a loop method on *VRPCache and implement the timer happy stuff.

Just realised this one was still open. I think the refactor looks good. @randomthingsandstuff: What do we want to do?


Documentation the README steps could include the part where we turn on Associated domains

Hello,
I apologize, this should have happened automatically on cordova build ios  (1 -> 2 -> 3). Since it didn't, I was wondering if you could provide some more information so we can fix this.

What Xcode version are you using?
What platform are you using? (cordova, phonegap, ionic1, ionic2, etc)
What cordova and node version are you using? (cordova info)
Do you have any plugins which might have interfered with ours?

Thanks in advance,

Hi, well since I added it manually, it doesn't disappear, but here is my config.
The value I used in that field was applinks:hidden_subdomain.app.link  I'm not sure if that's correct I took example on this link.
Also here is my env:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.1.4
ios-deploy version: 1.9.1
ios-sim version: 5.0.8
OS: macOS Sierra
Node Version: v4.4.3
Xcode version: Xcode 8.2.1 Build version 8C1002

Hello again,
There is nothing abnormal about your configuration. The Cordova Branch SDK is setup in a way that you should never touch Xcode or Android Studio. The settings you add in your config.xml should do all the configuration and native code logic for you.
Thank you for environment information. I will investigate it and see what I can come up with.
Thanks,

Hello again,
After multiple test apps, I am still unable to replicate the issue you were having. I will monitor the issues over the next couple of months to see if this problem comes up again.
I am glad you were finally able to get it fix, and I apologize for integration issues you had.
Best,


Dev redesign interface

Codecov Report

Merging #6 (026eb2b) into master (866566c) will decrease coverage by 4.94%.
The diff coverage is 93.79%.

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
- Coverage   98.89%   93.94%   -4.95%
==========================================
  Files           9       15       +6
  Lines         451      677     +226
==========================================
+ Hits          446      636     +190
- Misses          3       31      +28
- Partials        2       10       +8

Impacted Files
Coverage Δ

collections/redblack_tree.go
73.33% <73.33%> (ø)

collections/iterators.go
85.41% <85.41%> (ø)

collections/circular_array.go
98.88% <98.88%> (ø)

collections/array_stack.go
100.00% <100.00%> (ø)

collections/binary_heap.go
100.00% <100.00%> (ø)

collections/circular_array_functional.go
100.00% <100.00%> (ø)

collections/linked_list.go
100.00% <100.00%> (ø)

collections/lists.go
100.00% <100.00%> (ø)

collections/queues.go
100.00% <100.00%> (ø)

collections/stacks.go
100.00% <100.00%> (ø)

... and 5 more

Continue to review full report at Codecov.

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


[zh]Add 2022-05-27-maxunavailable-for-statefulset.md chinese version

fix:#34035
Add 2022-05-27-maxunavailable-for-statefulset.md chinese version

Cool, thanks for your contribution
/approve

/approve
It is desirable to mark the feedbacks as resolved if changes are made accordingly.

Thanks for your hard work, I think we all agree satisfied with the translation!
/lgtm


API change: substitute env, context, and msg for tx

Depends on #458
On issue #458, we've extended the svm-codec to be aware of the Envelope.
We'll adapt both the Runtime and the C-API require a Transaction instead of Envelope and Message.
As an example, here we have the svm_deploy under the FFI API:
https://github.com/spacemeshos/svm/blob/6edb73de199fafce0953f82af061ca1090ff911c/crates/runtime-ffi/src/api.rs#L262
#[must_use]
#[no_mangle]
pub unsafe extern "C" fn svm_deploy(
    runtime: *mut c_void,
    envelope: *const u8,
    message: *const u8,
    message_size: u32,
    context: *const u8,
) -> svm_result_t {
    svm_runtime_action(
        runtime,
        envelope,
        message,
        message_size,
        context,
        |r, e, m, c| Runtime::deploy(r, e, m, c),
        "svm_deploy",
    )
}

We'll modify the API to look as the following:
#[must_use]
#[no_mangle]
pub unsafe extern "C" fn svm_deploy(
    runtime: *mut c_void,
    tx: *const u8,
    tx_size: u32,
    context: *const u8,
) -> svm_result_t {
    svm_runtime_action(
        runtime,
        tx,
        tx_size,
        context,
        |r, t, c| Runtime::deploy(r, t, c),
        "svm_deploy",
    )
}

Consequently, we'll change the Runtime.
In the Deploy context, we've this link:
https://github.com/spacemeshos/svm/blob/6edb73de199fafce0953f82af061ca1090ff911c/crates/runtime/src/runtime/runtime.rs#L548
impl Runtime {
  pub fn deploy(
    &mut self,
    envelope: &Envelope,
    message: &[u8],
    context: &Context,
  ) -> DeployReceipt {
  // ...
}

it'll be modified to something similar to this:
impl Runtime {
  pub fn deploy(
    &mut self,
    raw_tx: &[u8],
    context: &Context,
  ) -> DeployReceipt {
    let tx = svm_codec::tx::decode_deploy(raw_tx);

    if tx.is_err() {
      let err = err::func_invalid_deploy(tx);
      Err(err)
    }

    let tx = tx.unwrap();
    let env = tx.envelope();
    let msg = tx.message();
  }
}

Now, we want to keep the raw_tx since we'll need it for further usage.
In the Deploy transaction, it'll be used for deriving the Template Address.
We'll need the' raw_tx' for Spawn, Call, and Verify we'll need the raw_tx for executing code.
(the raw transaction will be copied to the Wasm Instance Memory - see issue #462).
In similar fashion, we need to update the spawn, call and verify to require only the raw transaction.
The svm_codec should expose:

svm_codec::decode_deploy - to be used by deploy.
note that, right now we have svm_codec::template::decode but it only addresses the Message part.
svm_codec::decode_spawn - to be used by spawn.
svm_codec::decode_call - to be used by call.
svm_codec::decode_tx - to be used by verify.

Notes

For verify we could probably manage only with decoding the Envelope part.
So we can have instead svm_codec::decode_env.

The validations method (i.e validate_deploy/validate_spawn/validate_call should expect the whole raw transactions as a parameter.

For example, this code:
https://github.com/spacemeshos/svm/blob/6edb73de199fafce0953f82af061ca1090ff911c/crates/runtime/src/runtime/runtime.rs#L521
It should be modified to validate the whole transaction instead of only the Message part of a Deploy Transaction.
pub fn validate_deploy(&self, tx: &[u8]) -> std::result::Result<(), ValidateError> {
  // ...
}

Closely related to #493.


Add hover effect to FAQs and Core Concepts

The FAQ and Core Concepts buttons could have a hover effect to make it more user-friendly.

If this seems to be a relevant issue can I work on it?

What did you have in mind?

@jsdbroughton I saw that there is no hover effect when the mouse moves over the button. I guess a slight grayish color would look good?

As it stands we haven’t registered the lack of hover effect in the docs navigation  as a strong need.
However, If you are looking to contribute a hacktoberfest submission, take a look at the relevant [Project board] the are mix of low code, no code and fully ankle deep issues to help us out with. (https://github.com/orgs/specklesystems/projects/14)


Add client methods to resume LROs from operation id

For all the training and analyze methods

Self-assigning to get done before UX study.

Duplicate of #10408


DataGrid: Add callback executed on row render

If I would like to color rows with banned users in red, there is currently no way to add callback that would handle this.

I have working implementation, I will refine it and send pull request.

Ok lets do this. :)


client: filter and project operations not skipped on the client side on using rados-parquet format

Fixed by #105


Blueprint made request on invalid route

Hi!
I was trying to add an action in my controller ( UserController.foo ),
and unfortunately forgot to put my route ('POST /api/user/foo') and when I did the POST on /api/user/foo I got the following stacktrace (see bellow).
Here some informations:

User model has associations
mysql-adapter
Reproduce with GET /api/user/[what ever you want expect an ID]

config/blueprint.js
module.exports = {
  actions: false,
  rest: true,
  shortcuts: false,
  prefix: '/api'
};

StackTrace
error: Sending 500 ("Server Error") response:
 Error (E_UNKNOWN) :: Encountered an unexpected error
: ER_BAD_FIELD_ERROR: Unknown column 'NaN' in 'where clause'
  at Query.Sequence._packetToError ([sails_project]/node_modules/sails-mysql/node_modules/mysql/lib/protocol/sequences/Sequence.js:30:14)
  at Query.ErrorPacket ([sails_project]/node_modules/sails-mysql/node_modules/mysql/lib/protocol/sequences/Query.js:82:18)
  at Protocol._parsePacket ([sails_project]/node_modules/sails-mysql/node_modules/mysql/lib/protocol/Protocol.js:213:24)
  at Parser.write ([sails_project]/node_modules/sails-mysql/node_modules/mysql/lib/protocol/Parser.js:62:12)
  at Protocol.write ([sails_project]/node_modules/sails-mysql/node_modules/mysql/lib/protocol/Protocol.js:37:16)
  at Socket.<anonymous> ([sails_project]/node_modules/sails-mysql/node_modules/mysql/lib/Connection.js:75:28)
  at Socket.EventEmitter.emit (events.js:95:17)
  at Socket.<anonymous> (_stream_readable.js:746:14)
  at Socket.EventEmitter.emit (events.js:92:17)
  at emitReadable_ (_stream_readable.js:408:10)
  at emitReadable (_stream_readable.js:404:5)
  at readableAddChunk (_stream_readable.js:165:9)
  at Socket.Readable.push (_stream_readable.js:127:10)
  at TCP.onread (net.js:526:21)

    --------------------
  at Protocol._enqueue ([sails_project]/node_modules/sails-mysql/node_modules/mysql/lib/protocol/Protocol.js:110:48)
  at PoolConnection.Connection.query ([sails_project]/node_modules/sails-mysql/node_modules/mysql/lib/Connection.js:166:25)
  at Array.async.auto.processParent [as 0] ([sails_project]/node_modules/sails-mysql/lib/adapter.js:588:24)
  at [sails_project]/node_modules/sails-mysql/node_modules/async/lib/async.js:487:38
  at Array.forEach (native)
  at _each ([sails_project]/node_modules/sails-mysql/node_modules/async/lib/async.js:46:24)
  at Object.async.auto ([sails_project]/node_modules/sails-mysql/node_modules/async/lib/async.js:458:9)
  at Cursor.populateBuffers [as $populateBuffers] ([sails_project]/node_modules/sails-mysql/lib/adapter.js:585:19)
  at Cursor.run ([sails_project]/node_modules/sails-mysql/node_modules/waterline-cursor/cursor/cursor.js:45:8)
  at runJoins ([sails_project]/node_modules/sails-mysql/node_modules/waterline-cursor/index.js:51:10)
  at __JOIN__ ([sails_project]/node_modules/sails-mysql/lib/adapter.js:518:9)
  at afterwards ([sails_project]/node_modules/sails-mysql/lib/connections/spawn.js:86:5)
  at [sails_project]/node_modules/sails-mysql/lib/connections/spawn.js:40:7
  at Ping._callback ([sails_project]/node_modules/sails-mysql/node_modules/mysql/lib/Pool.js:81:7)
  at Ping.Sequence.end ([sails_project]/node_modules/sails-mysql/node_modules/mysql/lib/protocol/sequences/Sequence.js:78:24)
  at Ping.Sequence.OkPacket ([sails_project]/node_modules/sails-mysql/node_modules/mysql/lib/protocol/sequences/Sequence.js:87:8)
  at Protocol._parsePacket ([sails_project]/node_modules/sails-mysql/node_modules/mysql/lib/protocol/Protocol.js:213:24)
  at Parser.write ([sails_project]/node_modules/sails-mysql/node_modules/mysql/lib/protocol/Parser.js:62:12)
  at Protocol.write ([sails_project]/node_modules/sails-mysql/node_modules/mysql/lib/protocol/Protocol.js:37:16)
  at Socket.<anonymous> ([sails_project]/node_modules/sails-mysql/node_modules/mysql/lib/Connection.js:75:28)
  at Socket.EventEmitter.emit (events.js:95:17)
  at Socket.<anonymous> (_stream_readable.js:746:14)
  at Socket.EventEmitter.emit (events.js:92:17)
  at emitReadable_ (_stream_readable.js:408:10)
  at emitReadable (_stream_readable.js:404:5)
  at readableAddChunk (_stream_readable.js:165:9)
  at Socket.Readable.push (_stream_readable.js:127:10)
  at TCP.onread (net.js:526:21)

Details:  Error: ER_BAD_FIELD_ERROR: Unknown column 'NaN' in 'where clause'

Server response
{
    "error": "E_UNKNOWN",
    "status": 500,
    "summary": "Encountered an unexpected error",
    "raw": {
        "code": "ER_BAD_FIELD_ERROR",
        "errno": 1054,
        "sqlState": "42S22",
        "index": 0
    }
}

When I put my route, it's work fine, but GET on /api/user/bar still produce a mysql request.
I think this could be a way for DDoS a service (useless request).
EDIT:
Should be a problem in mysql adapter it self, cause mongodb should return string ID, but still an error.

@Dallas62 you may need to submit this as an issue on the Sails-MySql Repo as well
Are you using any policies in conjunction with the custom routes?

@jdcauley
Sorry, we left Sails for our project, but yes, this issue should be report on sails-mysql.
I think sails-mysql should check the type of the ID before requesting the database server if it's not done nowadays.


corrected call to mbApi.php class

I was on my way to making a new request until I saw this one. Cheers on spotting this! This issue set me back a fair amount of time until I finally realized the file name was not spelled correctly in the call. I think it would be good to fix this in the mindbody master, it's probably why so many people have issues with the API. Yet such a simple fix!

The master has been updated to reflect these changes.  Thanks for commenting and bringing this to my attention.

No problem Joe, thanks for providing the API.


Feature Request: Custom Openai endpoints

Hi I recently downloaded your app and noticed that you do support openai what I was hoping is that you could open up access to the port options so that people can use openai compatible endpoints such as LM Studio, Oobabooga and others I think you would only need to give access so that the user can set a custom port unless there is a way that I didn't see. thanks and hope this isn't too much trouble.

Ahhh, ok i think that's expected behavior.  I cant make it work without the /v1 because that's all handled in langchain dart which is upstream from maid.

Not all providers that offer an OpenAI-compatible API include /v1, so I would keep it as part of the base URL.
E.g. Azure uses https://{YOUR_RESOURCE_NAME}.openai.azure.com/openai/deployments/{YOUR_DEPLOYMENT_NAME}/


on samsung note2 and s3 os is android 4.3 start too lang

samsung note2 and s3
os is  android 4.3
Start more than 10 seconds, the app has white display

It's not possible to help you with this less information.
Are there any errors in js or in xcode?

no js error in android app，i think copy files take too long time？ app log：
06-24 15:07:07.263  10867-10887/com.abc V/webkit﹕ BrowserFrame constructor: this=Handler (android.webkit.BrowserFrame) {4335c9a0}
06-24 15:07:09.328  10867-10867/com.abc D/SystemWebViewEngine﹕ CordovaWebView is running on device made by: samsung
06-24 15:07:09.403  10867-10867/com.abc D/CHCP﹕ Currently running release version 2016.06.22-13.46.19
06-24 15:07:09.403  10867-10867/com.abc D/WebView﹕ loadUrlImpl: called
06-24 15:07:09.403  10867-10887/com.abc D/webcore﹕ CORE loadUrl: called
06-24 15:07:09.403  10867-10887/com.abc D/webkit﹕ Firewall not null
06-24 15:07:09.408  10867-10887/com.abc D/webkit﹕ euler: isUrlBlocked = false
06-24 15:07:09.513  10867-10867/com.abc D/WebView﹕ onSizeChanged - w:720 h:1230
06-24 15:07:15.713  10867-10887/com.abc D/CallbackProxy﹕ sendMessageToUiThreadSync Package=com.abc message=112
06-24 15:07:15.718  10867-10867/com.abc D/JsMessageQueue﹕ Set native->JS mode to OnlineEventsBridgeMode
06-24 15:07:17.278  10867-10887/com.abc I/GATE﹕ DEV_ACTION_COMPLETED
06-24 15:07:18.998  10867-10905/com.abc D/dalvikvm﹕ GC_FOR_ALLOC freed 1663K, 23% free 19276K/24908K, paused 27ms, total 27ms
06-24 15:07:33.633  10867-10867/com.abc I/Web Console﹕ deviceready has not fired after 5 seconds.:1185

the app first start log：
06-24 15:04:43.728  10867-10867/com.abc E/﹕ Device driver API match
Device driver API version: 23
User space API version: 23
06-24 15:04:43.728  10867-10867/com.abc E/﹕ mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Wed Oct  9 21:05:57 KST 2013
06-24 15:04:43.793  10867-10867/com.abc D/OpenGLRenderer﹕ Enabling debug mode 0
06-24 15:04:43.793  10867-10867/com.abc D/WebView﹕ onSizeChanged - w:720 h:1230
06-24 15:04:48.113  10867-10905/com.abc D/dalvikvm﹕ GC_FOR_ALLOC freed 4399K, 27% free 18400K/24908K, paused 17ms, total 17ms
06-24 15:04:50.388  10867-10887/com.abc D/CallbackProxy﹕ sendMessageToUiThreadSync Package=com.abc message=112
06-24 15:04:50.393  10867-10867/com.abc D/JsMessageQueue﹕ Set native->JS mode to OnlineEventsBridgeMode
06-24 15:04:51.278  10867-10867/com.abc D/TilesManager﹕ Starting TG #0, 0x41eee678
06-24 15:04:51.278  10867-10867/com.abc D/TilesManager﹕ new EGLContext from framework: 420e5ff8
06-24 15:04:51.278  10867-10867/com.abc D/GLWebViewState﹕ Reinit shader
06-24 15:04:51.303  10867-10867/com.abc D/GLWebViewState﹕ Reinit transferQueue
06-24 15:05:13.153  10867-10887/com.abc I/GATE﹕ DEV_ACTION_COMPLETED
06-24 15:05:13.158  10867-10867/com.abc I/Web Console﹕ deviceready has not fired after 5 seconds.:1185
06-24 15:05:13.158  10867-10867/com.abc I/Web Console﹕ Channel not fired: onPluginsReady:1178
06-24 15:05:13.158  10867-10867/com.abc I/Web Console﹕ Channel not fired: onCordovaReady:1178
the bold two line in log take 22 second

Have you tried this without a plugin?
Also, assets installation is performed in the background thread, so it can't effect the application's startup. Actually, all the work is performed in the background...
According to the logs Cordova initialized web view:
06-24 15:07:09.328  10867-10867/com.abc D/SystemWebViewEngine﹕ CordovaWebView is running on device made by: samsung

Then chcp plugin initialized self:
06-24 15:07:09.403  10867-10867/com.abc D/CHCP﹕ Currently running release version 2016.06.22-13.46.19

Then some other work continued:
06-24 15:07:09.403  10867-10867/com.abc D/WebView﹕ loadUrlImpl: called
06-24 15:07:09.403  10867-10887/com.abc D/webcore﹕ CORE loadUrl: called
06-24 15:07:09.403  10867-10887/com.abc D/webkit﹕ Firewall not null
06-24 15:07:09.408  10867-10887/com.abc D/webkit﹕ euler: isUrlBlocked = false

So, it took only few milliseconds. My guess something else is blocking your app... Try to create an empty project without any plugins and run it on your device. See, if it's started properly.
Then add chcp plugin, in config.xml add:
<chcp>
  <auto-install enabled="false" />
  <auto-download enabled="false" />
</chcp>

to disable update downloads. And run again. This should not effect your app in any way.

The app splash screen after  assets are installed，how to solve the problem？

@liangzhanyong can you give a bit more details on what is the problem and what you wont to achieve? Also, if it's not related to the current issue - please, create a separate one.


When generating .pxd, warn for public but unexported functions

It's possible to add a function to inline_array.h or other header included by nanoarrow.h which is nevertheless not included in generated .pxd. The error is then simply "no matching function" when compiling the .pxd, which is not informative. It'd be better if the pxd could recognize function definitions or declarations which aren't translatable into a cdef, then warn if those aren't on an exclusion list.

Not sure if there's an appetite for the work in https://github.com/apache/arrow-nanoarrow/pull/669 but it looks like the autopxd2 library might avoid this issue


Added a tooltip to the mods view.

Displays the Author, Version and Description on mouse over.
Introduced a static StringHelper class to wrap strings around a fixed column length.

So this pull requests now has conflicts. But if I'm right all changes here are also inside the next pull request and I can just close this?

 I wasn't paying attention actually.


Appealing home page

What's the style idea?
We need to improve the home page .The home page should be more attractive and appealing
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Pls provide the screenshots of your ideas in detail @Shravani-A-Kulkarni


Investigate valloc

Do we need to track it?

Also investigate:

what happens if we realloc() a ptr inside of the stack instead of the heap or smth?
maybe how to detect where free puts the chunk? e.g. in the parentheses add (put into unsorted bin)


freebayes-parrallel report snp but wih multple bases

Dear Erik,
Hope everything running well for you.
Thanks for your time and efforts in freebayes development.

When we using your developed freebayes-Parrallel script to do the variant calling, we have following observation,
Chr-05  27410196        snp     G       A       10.1    311
Chr-05  27410208        snp     TCA     TCC     58.1    307
Chr-05  27410212        snp     G       A       8.4     318
Chr-05  27427879        snp     C       T       4922.0  330
Chr-05  27428451        snp     CAGGACTG        CAGGACTA        1725.8  329
Chr-05  27428466        snp     C       G       1.5     359
Here you can see, some position the variant caller returned the snp but with multiple bases.
Do you have idea why this will happen?
Looking forward to hearing from you.
Thanks in advance
Paul

@grayshiwb512  Does this occur when you don't use freebayes-parallel ?

Hi there,
I'm seeing this behavior too, without freebayes parallel, though I am using a targets file. Here's an example:
LISTak.vcf:contig600169	643	.	CTGGC	TTGGC	968.707	.	AB=0.35443;ABP=46.6322;AC=10;AF=0.135135;AN=74;AO=96;CIGAR=1X4M;DP=945;DPB=1047.4;DPRA=0.936047;EPP=39.2015;EPPR=155.203;GTI=4;LEN=1;MEANALT=1.5;MQM=39.6667;MQMR=41.5043;NS=37;NUMALT=1;ODDS=0.577152;PAIRED=0;PAIREDR=0;PAO=84.5;PQA=2555.5;PQR=2626;PRO=92;QA=3308;QR=28368;RO=815;RPL=24;RPP=55.1256;RPPR=10.4946;RPR=72;RUN=1;SAF=8;SAP=147.775;SAR=88;SRF=481;SRP=60.585;SRR=334;TYPE=snp
Vcf check seems happy with the files, and the SNP isn't at the region boundary (here the region goes from 1 to 866, and the SNP is at 643). If I visually inspect the fasta, the ref sequence is all there as expected. Have you had any figuring this one out? Thanks in advance for any help!
Noah

Hi there,
A quick update: this behavior (with a SNP being returned with multiple padding bases) seems to happen when a SNP is returned with only a single alternate allele in the VCF, but then the NUMALT field is set to 2. Like this:
NUMALT=2.... GCAC	GCAT
I think what is happening is that two nearby SNPs are detected at a locus, they get lumped into a single variant, and then one gets dropped out of reporting or something. In fact, sometimes when two nearby SNPs are totally unlinked, they get returned as one variant:
NUMALT=2 ... AAAG	AAAA,TAAG
It seems to me that this is not desirable behavior, since the SNPs are not linked into a true mnp, and have in fact been labeled a SNP, which I would think should always have just one base. I would think these two SNPs should be reported as two different single base loci. Let me know if I have misunderstood the desired effect or if more information would be helpful. This is with standard freebayes (not parallel).

Nice catch on the numalt field. The documentation in the VCF header should
clarify that this is the number of alternate alleles considered by the
algorithm at the locus. We can introduce an additional field to specify the
number of alleles, but this is trivially available in the record (the
number of ALTs).
Now, I am not going to change the behavior in the second case. There are
two problems. Firstly, freebayes has attempted a haplotype call for reasons
other than perfect linkage of SNPs. One example is a candidate deletion
overlapping the site. Another is low complexity sequence, where we have to
make haplotype calls to drastically reduce alignment artifact driven calls.
Secondly, it may be that a candidate allele had the two SNPs in linkage.
In summary, I want to let the algorithm explain what it is doing and leave
the normalization of variants up to downstream programs. Does this clarify
what you are seeing?
On Feb 1, 2016 6:47 PM, "Noah Rose"<EMAIL_ADDRESS>wrote:

Hi there,
A quick update: this behavior (with a SNP being returned with multiple
padding bases) seems to happen when a SNP is returned with only a single
alternate allele in the VCF, but then the NUMALT field is set to 2. Like
this:
NUMALT=2.... GCAC GCAT
I think what is happening is that two nearby SNPs are detected at a locus,
they get lumped into a single variant, and then one gets dropped out of
reporting or something. In fact, sometimes when two nearby SNPs are totally
unlinked, they get returned as one variant:
NUMALT=2 ... AAAG AAAA,TAAG
It seems to me that this is not desirable behavior, since the SNPs are not
linked into a true mnp, and have in fact been labeled a SNP, which I would
think should always have just one base. I would think these two SNPs should
be reported as two different single base loci. Let me know if I have
misunderstood the desired effect or if more information would be helpful.
This is with standard freebayes (not parallel).
—
Reply to this email directly or view it on GitHub
https://github.com/ekg/freebayes/issues/161#issuecomment-178123160.

That makes sense, and I totally appreciate the algorithmic transparency. Additional documentation of exactly when the vcf reports algorithmic properties that may differ from a direct interpretation of the output would definitely be useful and save some head scratching. Thanks the support and for all of your work on freebayes, I appreciate it!
N

I am also receiving this type of result and I'm a bit unclear if there is a way to suppress this or not. The difficulty for me is that when a I get these multi-base variants, the variant locus changes like the following between different vcf files:
1.vcf
chr1    100    CTGGC    CTGGT
2.vcf
chr1    102    GGC    GGT
3.vcf
chr1    104    C    T
This makes it challenging to automatically parse through a large number of .vcf files and identify repeating variants by locus. Is there some way to force just the single variant output?
Sorry if I am missing the answer from above, and thanks for all the work on this project.

You should try post-processing the vcf output using vt normalize (
https://github.com/atks/vt). This will generate left-aligned and
parsimonious representation of alleles. After vt normalize, the three vcf
files above, would contain the representation in 3.vcf.
Alistair Ward, PhD
Director, Research and Science
Department of Human Genetics
USTAR Center for Genetic Discovery
Eccles Institute of Human Genetics
University of Utah School of Medicine
15 North 2030 East, Room 7140
Salt Lake City, UT 84112-5330
Co-founder, Frameshift labs, LLC
On Thu, Apr 28, 2016 at 11:18 AM, L A Liggett<EMAIL_ADDRESS>wrote:

I am also receiving this type of result and I'm a bit unclear if there is
a way to suppress this or not. The difficulty for me is that when a I get
these multi-base variants, the variant locus changes like the following
between different vcf files:
1.vcf
chr1 100 CTGGC CTGGT
2.vcf
chr1 102 GGC GGT
3.vcf
chr1 104 C T
This makes it challenging to automatically parse through a large number of
.vcf files and identify repeating variants by locus. Is there some way to
force just the single variant output?
Sorry if I am missing the answer from above, and thanks for all the work
on this project.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/ekg/freebayes/issues/161#issuecomment-215461806

I think you also want to use vt decompose_blocksub. There is also
vcfallelicprimitives in vcflib which does the same thing.
On Fri, Apr 29, 2016, 02:03 Alistair Ward<EMAIL_ADDRESS>wrote:

You should try post-processing the vcf output using vt normalize (
https://github.com/atks/vt). This will generate left-aligned and
parsimonious representation of alleles. After vt normalize, the three vcf
files above, would contain the representation in 3.vcf.
Alistair Ward, PhD
Director, Research and Science
Department of Human Genetics
USTAR Center for Genetic Discovery
Eccles Institute of Human Genetics
University of Utah School of Medicine
15 North 2030 East, Room 7140
Salt Lake City, UT 84112-5330
Co-founder, Frameshift labs, LLC
On Thu, Apr 28, 2016 at 11:18 AM, L A Liggett<EMAIL_ADDRESS>wrote:

I am also receiving this type of result and I'm a bit unclear if there is
a way to suppress this or not. The difficulty for me is that when a I get
these multi-base variants, the variant locus changes like the following
between different vcf files:
1.vcf
chr1 100 CTGGC CTGGT
2.vcf
chr1 102 GGC GGT
3.vcf
chr1 104 C T
This makes it challenging to automatically parse through a large number
of
.vcf files and identify repeating variants by locus. Is there some way to
force just the single variant output?
Sorry if I am missing the answer from above, and thanks for all the work
on this project.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/ekg/freebayes/issues/161#issuecomment-215461806

—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/ekg/freebayes/issues/161#issuecomment-215605146

I'm having trouble getting vt normalize (v0.5) to work so I haven't checked that output. But vt decompose_blocksub seems to entirely take care of the problem. All the variants are left aligned and parsimonious in the output. I appreciate the help.

@liggettla - out of curiosity, may I know what was wrong with the output from vt normalize?


support laravel 6 and 7

I've added support for Laravel 6 and 7. It works in a Laravel 7 I'm currently working on but did not test any further tough.
As composer.lock is not recommended in packages I added tests using prefer-lowest for installing packages in tests.

Excellent! Thank you so much @okaufmann :beers:

welcome

Would you mind to create a new release containing this pr 😊?

Sure

Thank you


Ternary operator parsing produces some false results

With the patch from PR #69 the code snippet below will generate both the false translation keys active and non-active in addition to the correct one STATE_LABEL.

    3 {{'STATE_LABEL' | translate}}

If I disable the HtmlFilterTernary regex (by commenting it out in tasks/angular-translate.js the extraction works as expected (only extracting STATE_LABEL).

I believe that this pattern for HtmlFilterTernary would work better:
\s*(?:::)?([^?|}]*\?[^:]*:[^|}]*)\s*\|\s*translate(:.*?)?\s*

The change is in the first character class which was [^?]* (match any characters not ?) to [^?|}]* (match any characters not ?, |, or }). This prevents the match from crossing too many other interpolation sequences.

In the meantime, adding a comment like this will help to prevent this regex from matching incorrectly. I inserted it after a ternary before the next translate.


Add support for --locked flag

This is a feature request to add support for a --locked flag which would cause cargo-machete to produce an error rather than inadvertently modify Cargo.toml files (currently only applicable when --with-metadata is used).

Thanks for opening an issue, that makes sense to me. In fact, I seem to recall I've tried to make the behavior you're suggesting here the default (as there's really no reason that machete will update the lock files), but I didn't manage to do it, for some reason I don't remember.


Multivariate themes

It should be possible to combine themes for multiple fields, e.g. theme a categorical and a graduate field.

A first PR allows for for multiple fields to be used in categorized themes for icon (point) layer.
https://github.com/GEOLYTIX/xyz/pull/1320


es6-module-loader: Options must be an object

Hi,
I'm seeing an issue with the latest master (95e3db8b91c08d9b6859977824d0bc1e5ad2486b) where instantiating a new Builder instance results in an error being thrown:
marks@localhost:systemjs-builder (master)$ git diff upstream/master
marks@localhost:systemjs-builder (master)$ node
> process.cwd('/Users/marks/workspace/systemjs-builder');
'/Users/marks/workspace/systemjs-builder'
> var Builder = require('./index');
undefined
> var b = new Builder();
TypeError: Options must be an object
    at new Loader (/Users/marks/workspace/systemjs-builder/node_modules/systemjs/node_modules/es6-module-loader/dist/es6-module-loader.src.js:2193:13)
    at Builder.reset (/Users/marks/workspace/systemjs-builder/lib/builder.js:61:30)
    at new Builder (/Users/marks/workspace/systemjs-builder/lib/builder.js:36:8)
    at repl:1:9
    at REPLServer.defaultEval (repl.js:132:27)
    at bound (domain.js:254:14)
    at REPLServer.runBound [as eval] (domain.js:267:12)
    at REPLServer.<anonymous> (repl.js:279:12)
    at REPLServer.emit (events.js:107:17)
    at REPLServer.Interface._onLine (readline.js:214:10)
>

Looking at the readme this should be an acceptable workflow. I have updated all the npm packages installed just in case the problem lay there.
Line 61 of builder.js is this:
var loader = this.loader = new baseLoader.constructor(baseURL);

and the constructor looks like this:
  function Loader(options) {
    if (typeof options != 'object')
      throw new TypeError('Options must be an object');
   ...

Which looks destined to throw when it gets called with baseURL as (following the preceding logic) baseURL seems to be a String.
It's making the unit tests fail as well... have I missed something obvious?
Many thanks!

The current branch is now running against master ES6 module loader and SystemJS for the coming release. There are some detailed changes in this, but it should be mostly backwards-compatible.

Thanks, I pulled the changes to package.json and ran npm install -f but it didn't seem to like it:
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-f"
npm ERR! node v0.12.3
npm ERR! npm  v2.9.1
npm ERR! code ETARGET

npm ERR! notarget No compatible version found: systemjs@'master'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.4.0","0.4.1","0.4.2","0.4.3","0.5.0","0.5.1","0.5.2","0.5.5","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.6.5","0.6.6","0.6.7","0.6.8","0.7.0","0.8.0","0.8.1","0.8.2","0.9.0","0.9.1","0.9.2","0.9.3","0.10.0","0.10.1","0.10.2","0.11.0","0.11.1","0.11.2","0.11.3","0.12.0","0.12.1","0.13.0","0.13.1","0.13.2","0.14.0","0.14.1","0.15.0","0.16.0","0.16.1","0.16.2","0.16.3","0.16.4","0.16.5","0.16.6","0.16.7","0.16.8","0.16.9","0.16.10","0.16.11"]
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'systemjs-builder'
npm ERR! notarget

I feel like I must be doing something wrong...

@markstickley @guybedford not sure how "master" was meant to work (no such dist-tag), have replaced with "latest".
So npm install -f raises no errors for this in the situation where the versions in your node_modules are symlinks (the setup Guy and I are using).
If you can use package.json to control which git branch is checked out in symlinks I'd be quite amazed. Not even going to test that, so the wonder and befuddlement can linger. @guybedford what were you doing here? :man_with_turban:

@markstickley seeing the same TypeError: Options must be an object issue with the latest versions checked out. I'd recommend replacing node_modules/es6-module-loader and node_modules/systemjs with checkout of their respective repos (and don't forget to npm install inside both).
Not sure if worth publishing a dev dist-tag to npm, the respective releases should be quite soon.

Closing, but happy to continue discussion

Ah got it, no worries. I'll symlink those two and try again, thank you!


Fixes missing help option for collection creator

Puts @cam156 work back in so that the creator helper works again in collections.

Ah! Guilty of copy/paste...

:+1: Waiting on Travis!

Amended my commit for @mjgiarlo suggestions on content. They were good suggestions!

:+1:


Android Device status keeps on changing

I have setup the things according to the readme.
I got my android device connected but when I try to use the device from web, it shows "Device is unavailable".
I checked in provider administration and found the device status keeps changing from init -> preparing -> live and then again init.
Here is the screen recording.
https://github.com/shamanec/GADS/assets/107445528/1020d65e-b7a8-4a6d-88af-78ea08ca1b2b
What can be the possible issue?

stale issue


Improvements

Updated docs
Got rid of listers and other injection
Read the token in correct format: Bearer:

cc @ahmetcihank

When/if you merge this PR, this will be automatically added to your PR in https://github.com/knative-extensions/backstage-plugins/pull/66 :)

@aliok  thanks a lot for helping me with those missing points :)


KAFKA-10272: Add IBM i support to "stop" scripts

Details are documented in jira issue KAFKA-10272.
Turns out a similar issue was fixed for IBM z/OS earlier this year, as part of PR #7913.
Committer Checklist (excluded from commit message)

[x] Verify design and implementation
[x] Verify test coverage and CI build status  N/A
[x] Verify documentation (including upgrade notes) N/A

@zshuo (author of the z/OS PR) may want to verify that these still work in z, since I don't have access to a system to test.

Ok to test


integrate instrumentation with new tracker API

note that we are now only tracking invocations directly, entities are attached to invocations

Completed in 0d65afde6744c2cc0411048d70db011bb8dcbc7d


[Bug] Heroku app creation form too long and complicated

Heroku deployment starts off with a very long and complicated form. We need a way to just have the required fields in this form and the rest should be able to be configured after the instance is up.
Current state of the form:

Among these, only four are marked as Required and among those, only one has a default value.

@mohanarpit Closing since this is done, right? Please reopen if not.


suggest to add tqdm()

in video_to_slomo.py
from tqdm import tqdm
for _, (frame0, frame1) in enumerate(tqdm(videoFramesloader), 0):
work well.

Awesome. I have made the changes. Thanks for the suggestion.


testing: nested t.Fatalf hides errors

What version of Go are you using (go version)?
go version
go version go1.8 linux/amd64
Does this issue reproduce with the latest release?
(Untested)
What operating system and processor architecture are you using (go env)?
go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/scubed/go"
GORACE=""
GOROOT="/nix/store/5428ij3ln77vam6cacnljc1f75f214fs-go-1.8/share/go"
GOTOOLDIR="/nix/store/5428ij3ln77vam6cacnljc1f75f214fs-go-1.8/share/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build180482905=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
What did you do?
I'm not sure how to put a test in the playground.
If someone could point out how to do that, I will.
nested.go
-------------
package nested
-------------
nested_test.go
-------------
package nested
import (
"testing"
)
func TestNested(t *testing.T) {
outer := t
t.Run("sub", func(t *testing.T) {
outer.Fatalf("Nope")
})
}
-------------
Note that renaming t to outer is just for emphasis.
What did you expect to see?
While it's not immediately obvious to me what should happen in this case, it should at least:

Print out the string passed to Fatalf (in this case, "Nope")
If this is invalid, say that it is calling Fatalf from the wrong scope, so people know what the actual problem is.

This came up when debugging a test that was using gomock incorrectly.  I ended up spending time tracking down this instead of fixing the test.
What did you see instead?
It gives a not very helpful stacktrace.
go test nested_test.go
panic: test executed panic(nil) or runtime.Goexit
goroutine 6 [running]:
testing.tRunner.func1(0xc420076750)
/nix/store/5428ij3ln77vam6cacnljc1f75f214fs-go-1.8/share/go/src/testing/testing.go:622 +0x29d
runtime.Goexit()
/nix/store/5428ij3ln77vam6cacnljc1f75f214fs-go-1.8/share/go/src/runtime/panic.go:366 +0x153
testing.(*common).FailNow(0xc4200765b0)
/nix/store/5428ij3ln77vam6cacnljc1f75f214fs-go-1.8/share/go/src/testing/testing.go:486 +0x39
testing.(*common).Fatalf(0xc4200765b0, 0x5393ee, 0x4, 0x0, 0x0, 0x0)
/nix/store/5428ij3ln77vam6cacnljc1f75f214fs-go-1.8/share/go/src/testing/testing.go:530 +0x83
command-line-arguments.TestNested.func1(0xc420076750)
/dev/shm/a/nested_test.go:10 +0x5c
testing.tRunner(0xc420076750, 0xc42000eea0)
/nix/store/5428ij3ln77vam6cacnljc1f75f214fs-go-1.8/share/go/src/testing/testing.go:657 +0x96
created by testing.(*T).Run
/nix/store/5428ij3ln77vam6cacnljc1f75f214fs-go-1.8/share/go/src/testing/testing.go:697 +0x2ca
FAIL	command-line-arguments	0.004s

Tested on 1.9 and master. Fails on both.
Simplified the code to use different variables. It's much more clear here -
package nested

import (
	"testing"
)

func TestNested(tt *testing.T) {
	tt.Run("sub", func(t *testing.T) {
		tt.Fatalf("Nope")
	})
}

Just save this to a file and run go test. It gives a panic.

This behavior is triggered because t.Run creates a new goroutine and t.Fatalf calls t.FailNow from that new goroutine which will try to exit the current test by exiting the current goroutine. This is documented in the Run and FailNow method. It should be possible to fix because Run is blocking and while it's blocked a proper error message could be printed before panicking.
I'm not sure though if such a thing is worth fixing, i would say it's rather unlikely to happen and at least it panics so you see that there is something wrong. The added complexity might out-weight the benefit.

@namusyaka I agree that the current behavior is undesirable. Thanks for the CL. It comes close to a fix, but has some remaining issues. I've created another CL which I believe comes to a good compromise. It treats calling FailNow on a parent as an error, but will still handle it gracefully without panicking.
If we decide in the future that this is not an error, we need to handle the case of parallel subtests calling FailNow on a parent concurrently. This will be very tricky to get right.


Close Port after readline parser ends

Just started using serial port, thanks it's exactly what I need.
I have googled this and looked through the examples and documents, but I cannot seem to find how to detect the end of the readline event so that I can close the port.
The code executes, and I get the returned data, but after receiving I want to close the port and not use a persistent connection.
const cl = console.log;
const SerialPort = require('serialport')
const Readline = require('@serialport/parser-readline');
const port = new SerialPort('/dev/tty.SLAB_USBtoUART', { baudRate: 115200 });
const parser = new Readline();
//const parser = port.pipe(new Readline({ delimiter: '\r\n' }))
port.pipe(parser);
parser.on('data', function(line){
  console.log(`> ${line}`);
})

parser.on('finish', function(){
  port.close();
  cl('closed');
})
port.write("something \r\n");

What am I doing wrong ??

Thanks, I tried that before I posted:
parser.on('data', function(line){
  console.log(`> ${line}`);
  port.close();
})

But then I don't receive the line data and the port appears to be closed before the line is outputted to the console.

OK, just figured out that the device (REPL) is echoing the command that is sent to it which in this case is "stamps\r", and this behavior cannot be switched off.
This is the reply:
> stamps
> [265181, 265181, 265181, 265182, 265182, 265288]

Is there a recommended way of handling this, I guess in one respect the echo is useful as it confirms that the device received the request, but this is resulting in 2 lines of data being sent.


Overwrite-file dialog layout.

Fix overwrite file dialog OK position. With longer filenames the button does not go over to the right properly.

658f87569770e3f602e84ef2e10a18204b7ddcd9 fixes this dialog and the overwrite-multiple-files dialog. Uses the gui-util function CropStringToWidth function to limit path and file names.  Adds an ellipsis if necessary.


Update copy on new integrations UI

Closes PROD-2185
Description Of Changes
Adds explanatory copy to project selection modal and changes copy on discovery monitor table.
Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
[ ] Issue Requirements are Met
[ ] Update CHANGELOG.md

Updating to add DynamoDB and S3 copy as shown:


[BUG] Unable to validate S3 backup target configuration - Editing S3 Custom CA Configuration

Rancher Server Setup

Rancher version: 2.8.2
Installation option (Docker install/Helm Chart): Helm Chart

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE1

Information about the Cluster

Kubernetes version: v1.27.11
Cluster Type (Local/Downstream): local

User Information

What is the role of the user logged in? Admin

Describe the bug
Our S3 certificate expired and when adding the new Custom CA Certificate we get always get this error:
Unable to validate S3 backup target configuration: Get "http://<IP_ADDRESS>/latest/meta-data/iam/security-credentials/": dial tcp <IP_ADDRESS>:80: connect: no route to host

To Reproduce

Login to rancher webui
Go to Cluster Management
Edit Config on the cluster with expired S3 certificate
Add new certificate
Save

Result
Unable to validate S3 backup target configuration: Get "http://<IP_ADDRESS>/latest/meta-data/iam/security-credentials/": dial tcp <IP_ADDRESS>:80: connect: no route to host

Expected Result
Successfully save the settings and new certificate is active.

Where is Rancher installed? <IP_ADDRESS> is an internal amazon only IP address that cannot be used outside of AWS.
That error is not related to a certificate issue - rather the backup operator cannot reach the endpoint specified at that address.

Rancher is installed on our own server with Ubuntu OS. Do you know where it is taking this IP address from? Because we cannot find it anywhere on our configuration. This is what our s3 bucket configuration is:
s3_backup_config:
          access_key: <ACCESS_KEY>
          bucket_name: s3bucket
          custom_ca: |-
            -----BEGIN CERTIFICATE-----
            -----END CERTIFICATE-----
          endpoint: '<IPADDRESS>:9000'
          folder: s3bucket-backup
          region: <REGION>

We found a workaround by editing the YAML configuration directly using "kubectl" commands instead of the rancher web and it works.


Add return code 2 in documentation for k_work_reschedule_for_queue

Describe the bug
A return code of 2 will be returned for k_work_reschedule_for_queue (and k_work_schedule) whenever the work item is busy.
See static int submit_to_queue_locked(struct k_work *work, struct k_work_q **queuep) => K_WORK_RUNNING_BIT.
This should be documented
Environment

Page: kernel/services/threads/workqueue
Version: main
SHA-1: 38635f889979030328ff3b35c8d25d2990e9819e

@marijnruyts Could you submit a pull request adding this to the API documentation?

I've noticed the same issue, thought the missing @retval it's from k_work_schedule_for_queue(), also made a PR #71840 fixing that.


fix: Alias Module: Move lifecycle hook that ignores lambda_version from wi…

Description
Fixes issue described in #281
Motivation and Context
This change will all with_refresh to behave as expected.
Breaking Changes
This will cause anyone who have coded around this issue (uses no_refresh instead of with_refresh) to no longer have their alias refreshed with the passed in version
How Has This Been Tested?

[x] I have tested and validated these changes using one or more of the provided examples/* projects
-- https://github.com/terraform-aws-modules/terraform-aws-lambda/blob/master/examples/alias/main.tf

remove stale label


BE - Prepare multitenancy basics

Goal: users can create, copy, delete application schemas and switch wich is active for them.
frp_root schema is common for all users it holds:

user table
schema table
access rights to schemas
initial data definitions
language translations

User schema holds:

groups
all application tables


Carousel sliding doesn't work if Windows 10 animations are turned off with new bootstrap only

Operating system and version (Windows, macOS, Android, iOS, Win10 Mobile)
Windows 10 Version 1909
Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser)
Edge w/ Chromium (Version 80.0.361.48 (Official build) beta (64-bit)), Chrome and Firefox

This StackOverflow post and solution I created earlier today summaries it well.
https://stackoverflow.com/questions/60108762/new-bootstrap-doesnt-support-carousels
Basically, if Windows 10 animations are turned off and you use bootstrap version >4.0.0, then the carousel sliding animation won't work. If you're looking for the exact setting in Windows 10, it is called "Show animations in Windows".

You don't see pictures at all, or only the sliding animation?

You don't see pictures at all, or only the sliding animation?

It is just the sliding animation that is lacking. The rest shows up fine.

Ok then, this is an accessibility feature and not a bug — you can see where it's done in the transition mixin.
Bootstrap uses the prefers-reduced-motion media query to reset transitions, and in Windows 10 I guessed this preference is exposed by the system to the browser by the setting you identified.
Maybe Windows should explain more clearly what this settings does and how it can be used on a webpage…
From Bootstrap, you still can unset this feature by setting $enable-prefers-reduced-motion-media-query to false — but it requires you compile the Sass code by yourself.
I hope it helps!

I have no idea what sass is (I just know it exists), but I'm actually willing to learn by myself on how that works. I am definitely going to bed smarter tonight. Thank you!

This has been helpful. It is quite annoying that browsers pick up that setting from windows. Not sure what turning off animations in the OS has to do with turning off animations in the browser ... anyway good to know how to work around this issues for now.
I think the sass variable should be false be default. This seems like an opt-in rather than an opt-out feature, but that's just a point of view.