Approvals Plugin TemplateSyntaxError

@matmair thank you for your work on this plugin. I am not sure if this is the best place to put these issues I am having, if there is a better place to post please let me know. I was able to successfully install the approvals plugin by adding the repo and the plugin name to the plugins.txt file. I enabled the plugin along with making sure that check plugins on startup, app integration, and url integration were all enabled. I was able to enable the plugin successfully but if I navigate to /plugin/inventree-approval I get the below error. This error also occurs when I try to issue a PO. I am running the latest stable release of Inventree 0.13.5, Python 3.10.13, Django 3.2.23 Do you have any suggestions on how to fix this?
Traceback (most recent call last):

File "/root/.local/lib/python3.10/site-packages/django/template/defaulttags.py", line 1037, in find_library
return parser.libraries[name]

KeyError: 'inventree_approval'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/home/inventree/InvenTree/plugin/views.py", line 26, in get_plugin_panels
panels += plug.render_panels(self, self.request, ctx)

File "/home/inventree/InvenTree/plugin/base/integration/mixins.py", line 161, in render_panels
panel['content'] = render_template(self, content_template, ctx)

File "/home/inventree/InvenTree/plugin/helpers.py", line 209, in render_template
tmp = template.loader.get_template(template_file)

File "/root/.local/lib/python3.10/site-packages/django/template/loader.py", line 15, in get_template
return engine.get_template(template_name)

File "/root/.local/lib/python3.10/site-packages/django/template/backends/django.py", line 34, in get_template
return Template(self.engine.get_template(template_name), self)

File "/root/.local/lib/python3.10/site-packages/django/template/engine.py", line 143, in get_template
template, origin = self.find_template(template_name)

File "/root/.local/lib/python3.10/site-packages/django/template/engine.py", line 125, in find_template
template = loader.get_template(name, skip=skip)

File "/home/inventree/InvenTree/InvenTree/template.py", line 27, in get_template
template = CachedLoader.get_template(self, template_name, skip)

File "/root/.local/lib/python3.10/site-packages/django/template/loaders/cached.py", line 58, in get_template
template = super().get_template(template_name, skip)

File "/root/.local/lib/python3.10/site-packages/django/template/loaders/base.py", line 29, in get_template
return Template(

File "/root/.local/lib/python3.10/site-packages/django/template/base.py", line 155, in __init__
self.nodelist = self.compile_nodelist()

File "/root/.local/lib/python3.10/site-packages/django/template/base.py", line 193, in compile_nodelist
return parser.parse()

File "/root/.local/lib/python3.10/site-packages/django/template/base.py", line 478, in parse
raise self.error(token, e)

File "/root/.local/lib/python3.10/site-packages/django/template/base.py", line 476, in parse
compiled_result = compile_func(self, token)

File "/root/.local/lib/python3.10/site-packages/django/template/defaulttags.py", line 1094, in load
lib = find_library(parser, name)

File "/root/.local/lib/python3.10/site-packages/django/template/defaulttags.py", line 1039, in find_library
raise TemplateSyntaxError(

django.template.exceptions.TemplateSyntaxError: 'inventree_approval' is not a registered tag library. Must be one of:
account
admin_list
admin_modify
admin_urls
allauth
barcode
cache
crispy_forms_field
crispy_forms_filters
crispy_forms_tags
crispy_forms_utils
djmoney
feature_flags
flags_debug
generic
i18n
import_export_tags
inventree_extras
l10n
log
markdownify
mptt_admin
mptt_tags
plugin_extras
report
rest_framework
socialaccount
spa_helper
sso
static
tz
user_sessions

I deleted everything and did a full clean install with docker and it did seem to help some. I installed the approvals plugin again with the plugins.txt file and then enabled it without any errors, but now I am getting the following error when I submit a PO.
Traceback (most recent call last):

File "/root/.local/lib/python3.10/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)

psycopg2.errors.UndefinedTable: relation "inventree_approval_approval" does not exist
LINE 1: SELECT COUNT(*) AS "__count" FROM "inventree_approval_approv...
^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "/root/.local/lib/python3.10/site-packages/rest_framework/views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)

File "/root/.local/lib/python3.10/site-packages/rest_framework/generics.py", line 190, in post
return self.create(request, *args, **kwargs)

File "/home/inventree/InvenTree/InvenTree/mixins.py", line 75, in create
self.perform_create(serializer)

File "/root/.local/lib/python3.10/site-packages/rest_framework/mixins.py", line 24, in perform_create
serializer.save()

File "/home/inventree/InvenTree/order/serializers.py", line 312, in save
order.place_order()

File "/usr/local/lib/python3.10/contextlib.py", line 79, in inner
return func(*args, **kwds)

File "/home/inventree/InvenTree/order/models.py", line 525, in place_order
return self.handle_transition(self.status, PurchaseOrderStatus.PLACED.value, self, self._action_place)

File "/home/inventree/InvenTree/generic/states/transition.py", line 77, in handle_transition
rslt = override.transition(current_state, target_state, instance, default_action, **kwargs)

File "/usr/local/lib/python3.10/site-packages/inventree_approval/ApprovalPlugin.py", line 167, in transition
).count()

File "/root/.local/lib/python3.10/site-packages/django/db/models/query.py", line 412, in count
return self.query.get_count(using=self.db)

File "/root/.local/lib/python3.10/site-packages/django/db/models/sql/query.py", line 528, in get_count
number = obj.get_aggregation(using, ['__count'])['__count']

File "/root/.local/lib/python3.10/site-packages/django/db/models/sql/query.py", line 513, in get_aggregation
result = compiler.execute_sql(SINGLE)

File "/root/.local/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1175, in execute_sql
cursor.execute(sql, params)

File "/root/.local/lib/python3.10/site-packages/django/db/backends/utils.py", line 66, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)

File "/root/.local/lib/python3.10/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
return executor(sql, params, many, context)

File "/root/.local/lib/python3.10/site-packages/django/db/backends/utils.py", line 79, in _execute
with self.db.wrap_database_errors:

File "/root/.local/lib/python3.10/site-packages/django/db/utils.py", line 90, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value

File "/root/.local/lib/python3.10/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)

django.db.utils.ProgrammingError: relation "inventree_approval_approval" does not exist
LINE 1: SELECT COUNT(*) AS "__count" FROM "inventree_approval_approv...
^

@csmith73 this is the right place to post about this.
There will be an update soon(ish) that needs 0.14.0 so your problem could be solved then.
This error looks like it could be a missing migration. Maybe restart the server and check in the plugins admin pane for any notifications.

I tried uninstalling and reinstalling the plugin and restarting the server and now I am getting the following error when I try and issue a PO.
Traceback (most recent call last):

File "/root/.local/lib/python3.10/site-packages/rest_framework/views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)

File "/root/.local/lib/python3.10/site-packages/rest_framework/generics.py", line 190, in post
return self.create(request, *args, **kwargs)

File "/home/inventree/InvenTree/InvenTree/mixins.py", line 75, in create
self.perform_create(serializer)

File "/root/.local/lib/python3.10/site-packages/rest_framework/mixins.py", line 24, in perform_create
serializer.save()

File "/home/inventree/InvenTree/order/serializers.py", line 312, in save
order.place_order()

File "/usr/local/lib/python3.10/contextlib.py", line 79, in inner
return func(*args, **kwds)

File "/home/inventree/InvenTree/order/models.py", line 525, in place_order
return self.handle_transition(self.status, PurchaseOrderStatus.PLACED.value, self, self._action_place)

File "/home/inventree/InvenTree/generic/states/transition.py", line 77, in handle_transition
rslt = override.transition(current_state, target_state, instance, default_action, **kwargs)

File "/usr/local/lib/python3.10/site-packages/inventree_approval/ApprovalPlugin.py", line 181, in transition
instance.status = PurchaseOrderStatus.PENDING_APPROVAL.value

File "/usr/local/lib/python3.10/enum.py", line 437, in __getattr__
raise AttributeError(name) from None

AttributeError: PENDING_APPROVAL

Which version did you install?

Version 0.4 of approvals plugin and 0.13.5 Inventree version

Please try the current alpha: https://git.invenhost.com/invenhost-c1/-/packages/pypi/inventree-approval/0.5b4

How do I make sure that it installs the latest one? My current plugins.txt file looks like this
# InvenTree Plugins (uses PIP framework to install)
--index-url https://git.invenhost.com/api/packages/invenhost-c1/pypi/simple/
inventree-approval

I am getting the version # from the plugin admin page inside Inventree is that the correct place to see the version number?

@matmair I changed my plugins.txt to the following and it installed version .5b4 and it all seems to be working now. Thanks so much for your help.
# InvenTree Plugins (uses PIP framework to install)
--index-url https://git.invenhost.com/api/packages/invenhost-c1/pypi/simple/
inventree-approval==0.5b4

The version I linked is an alpha so it should not be installed generally - the setting you have is correct normally. You can force the install of the newer (alpha) version by adding ==0.5b4  to the version.
The version you listed is correctly read out.

@csmith73 so can I close this? I recommend following me on polar to get notifications when I release InvenHost plugins: https://polar.sh/invenhost/issues

Related to https://github.com/invenhost/plugins/issues/1

Yes please make a new issue. I am still figuring out how to track issues for technically closed-source projects (I am using JIRA to manage all this in the backend). InvenHost is a way to test out monetisation strategies for the ecosystem but TBH I am going back open-source if tracking bugs keeps being this hard.


refactor etcd script to make it able to be reused.

Coverage increased (+8.5%) to 80.249% when pulling 72c90b7231f99390e50157ce70fc45f68e9d766f on yuye/refactor-etcd-script into d455b33817471e793e97e100f99a5289840483c4 on master.

Coverage decreased (-20.8%) to 50.957% when pulling 72c90b7231f99390e50157ce70fc45f68e9d766f on yuye/refactor-etcd-script into d455b33817471e793e97e100f99a5289840483c4 on master.


fundingmanager+channeldb: export and use WriteOutpoint

Gets rid of the utxonursery encoding in favor of the channeldb variant and has a migration to go with it for nodes with pending channels in the fundingmanager. A small change but helps us get closer to refactoring the fundingmanager.
Conflicts with #4642

Hmm, is this absolutely necessary? Just from a PoV of minimizing migrations in general....

Hmm, is this absolutely necessary? Just from a PoV of minimizing migrations in general....

Not necessary but otherwise we have to export this varint encoding somewhere and maintain it.

Could we copy the encoding into the funding manager itself?

Could we copy the encoding into the funding manager itself?

Yeah

What package should the exported function go in? channeldb perhaps? It's also used elsewhere in lnd so it doesn't make sense in my opinion to move it to fmgr.

What package should the exported function go in? channeldb perhaps? It's also used elsewhere in lnd so it doesn't make sense in my opinion to move it to fmgr.

If the idea is to get rid of a dependency to make the fundingmanager easier to move later, I would just copy these few lines of code in there. Simple, and we can forget about the other parts of the codebase that uses this for now.


Doubled words

I wonder if there is any way to automate this, or if somebody can run a set of commands from time to time to search for new problem.
For example, I just did this:
grep -Pr '(\s+\w+)\1\s' *

Stupid, I know, but here is what I found:

is made, so the returned parent parent is physical and not the logical parent of
This could be be used as a primitive kind of alarm clock. For instance, say
triangular list of of lists, you can use a "triangular comma":

I am pretty sure you can find more problems with a better regex.

Can't that be added to the t/ dir as a test? There is already a tabs test,
for instance.

Not really because of all false positives :(
Well, unless you can find a way to eliminate almost all false positives.

False positives seem to happen mainly in code...

Test added.

Skips implicit and explicit code blocks,
Reports line number and word.
While it works line by line, it keeps track of the last word on the previous line.
Unless it was a POD directive, so that one word headers who are followed with a sentence that starts with the same word aren't counted.
Some very common dupes are allowed (long long and method method)

Found the 3 cases mentioned here plus a few others.

@coke you are awesome.


Repo referenced in 'Avoiding name conflicts' has an issue

Text 'Check for open source projects with a similar name' refers to repo: https://github.com/LogIN-/ospnc
Issue 22 and 23 should be addressed or another repo referenced for this section of the guide.

Even although it's unmaintained http://ivantomic.com/projects/ospnc/ is still working.


Add an ESM build

Firefly currently only ships a commonjs build. This prevents the ability to use features such as top-level await and other native module features. The build target should output either esm or cjs based on the package.json type option.

Completed. Available in v0.6.0


Makes json-form-editor load before cfApi

Loading json-form-editor after api has been initialized means you can run the example without having a connection to contentful api. Of course, this means no data will be propagated locally.

Closed, we'll revamp this extension soon.


Add "parsoid" service

New node-packages.json would need npm2nix with https://github.com/NixOS/npm2nix/pull/14 merged.

parsoid has been added into node-packages now, so only service remains. This works for me, any reviews?

Nice :)


Prevent empty paths to app.yaml and Dockerfile

Fixes #607.

I'd also take a look at this closed PR: #555
I made some changes there specifically to allow for empty Dockerfile / app.yaml to pass through to gcloud. Given that we are now requiring them, some of that logic might be able to be changed back (making the Dockerfile / app.yaml params @Nullable, for instance, may not make sense anymore).

Not sure, but eventually we will allow leaving the fields blank and even remove the 'Generate...' buttons? In that case, it seems good to have the logic in #555. Otherwise, we may forget to do #555 again when we remove this validation.

I think that even if we later change it to allow blanks we should update the rest of the code to work with the current logic to keep things cohesive.
Any time we modify that UI we should also be thinking about how it affects the deployment logic, but I take your point: maybe add a small comment in the UI code as a reminder?

I looked at #555 more closely. I think it is necessary to restore the logic to check existence of user-provided paths. Currently, even if we add this validation, if a user enters a non-existing path, we silently ignore that error which will make gcloud auto-generate the files. I'll restore the logic.

I reverted the changes in #555.
However, throwing RuntimeException does sound quite right (much like #605). There are other places where we throw RuntimeException, and I think they should be handled differently. There should be another PL for these changes.

does sound --> doesn't sound

Yea - I think the RuntimeExceptions can be treated on a case by case basis. I'm not entirely sure if its appropriate here or not. I need to look at it more closely.

lgtm


Clarify flavor of regular expression in use

It might seem obvious that validatorjs uses the standard JavaScript flavor of regular expressions as opposed to, say, PCRE but I think it would be good to state this explicitly.

@john-aws Thank you for the update, the master branch has been updated and will be included as of 3.19 release


Support Excel spreadsheets as input format

This is particularly interesting in scenarios where we want Tarql mappings be portable and want to refer to a remote data file on the web. If that file is Excel (as is commonly the case), we are currently out of luck.
Let's assume that the Excel file is well-structured, with CSV-like header and clean column structure.
Let's assume that we are interested in only one of its sheets. The sheet can be selected on the command line via --sheet "Sheet 2", or via a fragment identifier in a FROM clause, perhaps:
FROM <file1.xls#Sheet%202>
FROM <file1.xls#sheet=Sheet%202>
The former appears to be the official Excel fragment identifier syntax, but the second would be more extensible if we also want to specify encodings or other stuff in there.

I had started some refactoring to support multiple input formats here:
https://github.com/tarql/tarql/commit/5a388ded
It's too long ago now to recover that work in progress.


Intermittent Can't Login LOGIN_RECAPTCHA_FAIL

hey everyone and @ArthurG  I am so sorry if I am missing something but I just tested the script for the first time since the issue with login was closed and it is still not working for me. I am getting intermittent issues on all commands (post, nuke, show). Sometimes they work and sometimes they do not:
{"errors":[{"message":"Something went wrong during authentication.","locations":[{"line":2,"column":3}],"path":["loginUser"],"extensions":{"errorCode":"LOGIN_RECAPTCHA_FAIL","statusCode":401}}],"data":{"loginUser":null}}
what is the consensus on this? do we need to script around this to attempt many times until it randomly succeeds? seems a bit risky...
I have to say I am a little confused why I am the first person posting this issue. surely this happened to everyone else? unless something changed again with the captcha logic recently?...

Duplicate of #176

I made a similar post the other day actually. I can't post any ads myself.
https://github.com/ArthurG/Kijiji-Repost-Headless/issues/182

I made a similar post last week actually. I can't post any ads myself.
#182

no, what you are experiencing is something else. let me comment on your thread to keep things cleaner.

Looks like it is related to #198


Arrays and Hashmaps

Tsuki should support arrays and Hashmaps like every language. Arrays and Hashmaps can only store the same type, so you can't have a hashmap with mixed string and integer types.
Syntax
var array_ints: array int = [1, 2, 3]
var hashmap: map string int = {"foo": 1, "bar": 2}

-- Inserting to arrays/hashmaps could work like
array_ints.push(4)
hashmap.assoc("baz", 3)

-- Accessing items in the array/hashmap
var first = array_ints.at(0)
var baz = hashmap.at("baz")

The type of the array/hashmap is optional in most cases, but can manually be specified if needed.

After contemplating, I have decided to change the syntax for variables to var name type = value similar to how it is in Go since it makes most sense from a readability perspective. So the proposed new syntax for arrays/hashmaps would be (none of this is set in stone this early in development, but these are drafts)
var array [int] = [1,2,3]
var hashmap [string:int] = {"foo": 1, "bar": 2}


how change number to persian?

how change number to persian?

Hi,
By using a web font that include persian numbers.


Alert component with dismiss button throws error

Describe the bug
When there is more than one dismissable alert component on a single page, dismissing any alert component results in an uncaught TypeError in the console.
To Reproduce
Steps to reproduce the behavior:

Create a new Tailwind Elements project as described in the docs
Add more than one dismissable alert to a single HTML page using the example from the docs
Load the page and open devtools console
Close any of the dismissable alerts
An uncaught type error message appears in the console.

Expected behavior
Multiple dismissable alerts on the same HTML page should not produce unhandled exceptions when one is closed.
Actual behavior
Error code is as follows:
alert.js:231  Uncaught TypeError: Cannot read properties of null (reading 'remove')     at Rn._destroyElement (alert.js:231:6)     at alert.js:127:1     at he (index.js:337:61)     at HTMLDivElement.r (event-handler.js:22:23)     at Ea (index.js:176:5)     at event-handler.js:26:3
`
Show your code
It will be easier for us to help you if you create a snippet using TE playground and include a link to it in your issue.
The system will not let me save snippets with an account that is < 7 days old, but I did test using this system with a very similar result.
I took the dismissable example from the docs (https://tailwind-elements.com/docs/standard/components/alerts/#dismissing) and added it twice to the snippet. When you close both, you will see errors in the console.
Desktop (please complete the following information):

OS: Windows 10
Browser Edge
Version 114.0.1823.82

Hi! Thanks for reporting this. I have added this issue to our project list.


Meta Issue

The number of issues has gone sky-high.  This is fine (in that it is the right process).  The number of open issues is not good; the number of open issues which are unassigned is definitely bad.
Dan, please review all open issues, and figure out who should be assigned.
Also, I think it is time to start using milestones.  My first thought is to start bumping up the 'minor' version of Drasil (i.e. right now it is 0.0.6) every week.  So at the end of tomorrow, it would get bumped to 0.0.7.  We should have slightly bigger milestones, which bump up the middle number.
Some issues should be assigned to 0.0.7, 0.0.8, 0.1.0 and 0.2.0.

I did a little bit of this.  But I really need to get back to writing a different document instead...

I've done the majority of the issues, there are a few I'm really not sure where to place them (milestone-wise), and some may need to be punted down past 0.2.0. I don't want to create an artificial milestone for the time being, so I'll leave them uncategorized right now.
If that sounds alright, then we can close this issue (and essentially make a new meta-issue for 0.0.8, to review and see where we stand).

So are there some that I should look at, milestone-wise?  I don't mean the ones past 0.2.0 (they can stay as is), but rather the ones where you are not sure?

The ones I'm not sure about are essentially the ones assigned to Steven. The other ones seem to all be post-0.2.0

Ah, ok.  Let's review those at Monday's meeting.  Steven's comp is in the morning, so he should be there at the afternoon meeting.


Dependency issue between modin and kedro-dataframe-dropin

Hi!
Super cool package. Its really cool that you are offering the possibility to use modin to Kedro users. I just wanted to point out that there seems to be a dependency issue when installing. kedro-dataframe-dropin requires pandas>=1.2.0 whereas the latest version of modin requires pandas==1.1.5. I am therefore unable to install kedro-dataframe-dropin. Is it perhaps possible to downgrade kedro-dataframe-dropin to pandas 1.1.5? Thanks.
Installation error message:

Modin requirements:
https://github.com/modin-project/modin/blob/master/requirements.txt

Hey Lucas,
Thanks very much for the feedback snd bug report. Much appreciated. I’ll
unpin the pandas requirements (still learning my way around poetry) and
release a new version ASAP (by the end of today?)
On Tue, 2 Feb 2021 at 12:33, Lucas Jamar<EMAIL_ADDRESS>wrote:

Hi!
Super cool package. Its really cool that you are offering the possibility
to use modin to Kedro users. I just wanted to point out that there seems to
be a dependency issue when installing. kedro-dataframe-dropin requires
pandas>=1.2.0 whereas the latest version of modin requires pandas==1.1.5. I
am therefore unable to install kedro-dataframe-dropin. Is it perhaps
possible to downgrade kedro-dataframe-dropin to pandas 1.1.5? Thanks.
Installation error message:
[image: image]
https://user-images.githubusercontent.com/39372418/106600235-6885e700-655a-11eb-9528-8fce3103d30a.png
Modin requirements:
https://github.com/modin-project/modin/blob/master/requirements.txt
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mzjp2/kedro-dataframe-dropin/issues/9, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHHTTVFFQEDHZ62EXUIXD33S47WJZANCNFSM4W6RXAIA
.

Thanks a lot for the improvement!

@lucasjamar Should be fixed if you pip install kedro-dataframe-dropin==0.2.0 :)
By the way - would love to know your use case for this, if you're interested in having a chat.


No admin page

There is no admin page aside from the basic User admin
Go to http://localhost:8000/admin/
You should be able to edit the various tables that are part of the database. Simply needs implementing!

It's better just done by editing models.py and running a migration, surely?

Admin doesn't let you change tables, it lets you edit the data (more-ish easily).
It's super useful especially for fields that you might be hiding, or want to change relationships, yadayada

Sounds good, submit a PR and link it to this issue and I'll take a look :)


Move Assessment table to be generated during seeding, not importing

This will simplify the data flow and let us remove some code.  See https://github.com/studentinsights/studentinsights/pull/172#issuecomment-194742088 for more background and rationale.

This was successfully completed! See db/seeds/database_constants.rb.


cloud-controller-manager/CSI - experimental features

Allow cloud-controller-manager and CSI in master branch for further testing.
Both are disabled by default.  We need to test these in readiness for when EBS volume provisioning will be removed from the kube-controller-manager in-tree drivers.
By adding CSI we can provision EBS volumes without the in-tree drivers.
Both cloud-controller-manager and CSI are working in new clusters but the migration code is problematic and can get stuck detaching a volume from a removed non-csi node...
E0217 22:32:13.112266       1 reconciler.go:238] attacherDetacher.DetachVolume failed to start for volume "pvc-5b937379-4cf4-4cb9-877d-c978ca30626f" (UniqueName: "kubernetes.io/aws-ebs/aws://eu-west-2a/vol-05515c17b1d470bdd") on node "ip-172-31-30-191.eu-west-2.compute.internal" : DetachVolume.NodeUsingCSIPlugin failed for volume "pvc-5b937379-4cf4-4cb9-877d-c978ca30626f" (UniqueName: "kubernetes.io/aws-ebs/aws://eu-west-2a/vol-05515c17b1d470bdd") on node "ip-172-31-30-191.eu-west-2.compute.internal" : csinode.storage.k8s.io "ip-172-31-30-191.eu-west-2.compute.internal" not found
E0217 22:32:13.212540       1 reconciler.go:238] attacherDetacher.DetachVolume failed to start for volume "pvc-5b937379-4cf4-4cb9-877d-c978ca30626f" (UniqueName: "kubernetes.io/aws-ebs/aws://eu-west-2a/vol-05515c17b1d470bdd") on node "ip-172-31-30-191.eu-west-2.compute.internal" : DetachVolume.NodeUsingCSIPlugin failed for volume "pvc-5b937379-4cf4-4cb9-877d-c978ca30626f" (UniqueName: "kubernetes.io/aws-ebs/aws://eu-west-2a/vol-05515c17b1d470bdd") on node "ip-172-31-30-191.eu-west-2.compute.internal" : csinode.storage.k8s.io "ip-172-31-30-191.eu-west-2.compute.internal" not found
E0217 22:32:13.312775       1 reconciler.go:238] attacherDetacher.DetachVolume failed to start for volume "pvc-5b937379-4cf4-4cb9-877d-c978ca30626f" (UniqueName: "kubernetes.io/aws-ebs/aws://eu-west-2a/vol-05515c17b1d470bdd") on node "ip-172-31-30-191.eu-west-2.compute.internal" : DetachVolume.NodeUsingCSIPlugin failed for volume "pvc-5b937379-4cf4-4cb9-877d-c978ca30626f" (UniqueName: "kubernetes.io/aws-ebs/aws://eu-west-2a/vol-05515c17b1d470bdd") on node "ip-172-31-30-191.eu-west-2.compute.internal" : csinode.storage.k8s.io "ip-172-31-30-191.eu-west-2.compute.internal" not found

Codecov Report

Merging #1835 into master will decrease coverage by 0.17%.
The diff coverage is 4.54%.

@@            Coverage Diff             @@
##           master    #1835      +/-   ##
==========================================
- Coverage   24.58%   24.41%   -0.18%
==========================================
  Files          98       98
  Lines        5072     5116      +44
==========================================
+ Hits         1247     1249       +2
- Misses       3685     3727      +42
  Partials      140      140

Impacted Files
Coverage Δ

pkg/api/types.go
0% <ø> (ø)
:arrow_up:

pkg/api/cluster.go
0% <0%> (ø)
:arrow_up:

pkg/model/node_pool_config.go
22.89% <0%> (-1.79%)
:arrow_down:

pkg/model/node_pool_compile.go
60.25% <100%> (+1.04%)
:arrow_up:

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 b34d9b6...53a4b67. Read the comment docs.


Making custom LLMs compatible with TestsetGenerator?

Hi Team,
I am trying to get the TestsetGenerator to work properly with a Langchain custom LLM.
It's _call method current expects a string prompt but it gets a ChatPromptTemplate from ragas. what is the best way to handle this?

I got things working by just running format() against the prompt my LLM received if it was in ChatPromptTemplate format but not sure that is the best approach.
I have set the chat_qa=0.0 so shouldn't all the prompts be coming in as string?

Hey @Data-drone , can you share the ragas & python version you're using?

ragas==0.0.18 python 3.10.12

Hi @Data-drone , We will look into the langchain custom llms issue. Regarding setting chat_qa=0, it is used to control if the test set should contain conversational questions or not.

Hi @Data-drone , which model are you using? Are you using an instruction-tuned model (that is not chat based)?

Vicuna 1.5 13b

hey @Data-drone , so we do have this snipped inside RagasLLMs that should handle this logic for you
        if isinstance(self.llm, BaseLLM):
            ps = [p.format() for p in prompts]
            result = self.llm.generate(ps, callbacks=callbacks)
        else:  # if BaseChatModel
            ps = [p.format_messages() for p in prompts]
            result = self.llm.generate(ps, callbacks=callbacks)

if your custom model is a base class of either, it should do the conversation for you. but not sure why its not working here. Could you show us how you're calling the testsetgenerator and custom models code?

@shahules786 @jjmachan In the same context, TestsetGenerator uses cross-encoder/stsb-TinyBERT-L-4/ from hugging face. Is there a way,  i can avoid using that and just use gpt models from azure open ai alone and generate synthetic dataset?

but @shahules786 probably we should change from_defaults class method to with_openai or something like that to make it easier?

@jjmachan If you can share the finished snippet for the TestsetGenerator, it would be great. thanks in advance.

@jjmachan Hi, really nice program.  I just start using your program today, and after experiencing several hours, I have met something wired.
Is the github code same as code on pip? Because what I found out is like in the picture,  and the github shows that the latest version is v0.0.22. But the codes are different, at least for ragas.llm.base.BaseRagasLLM part. This is the first time I meet such problem, please forgive me if I misunderstand something.

Background: I am trying to use llama2 with ragas, and when following the process of https://docs.ragas.io/en/stable/concepts/testset_generation.html
to
test_generator = TestsetGenerator(
    generator_llm=generator_llm,
    critic_llm=critic_llm,
    embeddings_model=embeddings_model,
    testset_distribution=testset_distribution,
    chat_qa=chat_qa,
)

testset = test_generator.generate(documents, test_size=5)

it returns errors about list(str) and list(ChatPromptTemplate). And after searching codes in python and github, I found out this situation,  and it seems like here is on discussion about such problem.

Can you guys try #670?


Implement a way to communicate to Harbour masters

The application must be able to book a pilot for the ship.

Main work is complete, just to change the JSON DTO in order for it to match what they want


chore: Run Docs: Cleanup master redirection file

Testing out https://github.com/Microsoft/vscode-docs-authoring/tree/develop/docs-markdown#cleanup-scripts
Feel free to close if this is too noisy or if there are some cleanups that look incorrect

The build warnings for the file are from #11771 rather than these changes

This is pointing to MASTER instead of STAGING

This PR targeting master is correct (staging was a temporary branch for Build updates).
@nschonni Can you resolve the merge conflicts? I think it's ready to go after that.

This PR targeting master is correct (staging was a temporary branch for Build updates).

My comment was from two weeks ago 🤣

I've undone the "whats-new/index.md" changes

@nschonni Is this still relevant? (I apologize that we let it sit for so long).
What should we do at this point?

I'll try rebasing it again later and see if other things pop up

Rebased


Fix Resubmission validation and other creation args

Fixes #7760
Also fix comments made by Seangchan on #7745 , such that we have a better Resubmission validation
Still need to be tested

test this please

Every day I like unit tests more, just not very fond of writing them :-)
I have to update the validation function. It fails now because we were not validating input dataset inside Steps/Tasks :-)

Not tested thoroughly, but I havent seen any issues so far.
@ticoann please review and merge for tomorrow's testbed.


Visualization part

Hi, would you like to share the code for the img you used in gif format for each steps. It's a cool work, I would like to learn this, can you please share the code if possible.

Hi @jahidhasanlinix,
The code is right there in the ipython notebook;
Locally it will behave like a gif --- you will see the animation.


⚠ Processors has degraded performance

In af1e4d8, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 51 ms

Resolved: Processors performance has improved in e0ecb58.

Resolved: Processors performance has improved in 229fe00.


Avoid recursion in the document loader.

The document loading API (yaml_parser_load) was susseptable to a
stack overflow issue when given input data which opened many
mappings and/or sequences without closing them.
This was due to the use of recurion in the implementation.
With this change, we avoid recursion, and maintain our own loader
context stack on the heap.
The loader context contains a stack of document node indexes.
Each time a sequence or mapping start event is encountered,
the node index corrasponding to the event is pushed to the
stack.  Each time a sequence or mapping end event is encountered,
the corrasponding node's index is popped from the stack.
The yaml_parser_load_nodes() function sits on the event stream,
issuing events to the appropriate handlers by type.
When an event handler function constructs a node, it needs to
connect the new node to its parent (unless it's the root node).
This is where the loader context stack is used to find the
parent node.  The way that the new node is added to the tree
depends on whether the parent node is a mapping (with a
yaml_node_pair_t to fill), or a sequence (with a yaml_node_item_t).
Fixes: https://github.com/yaml/libyaml/issues/107

More testing:
On this branch I did:

Make a list of test yaml files:
find . | grep "\.yaml" > test-list

Get everything built:
make clean && make && make test && make test-all

Run test-dumper on all the yaml files, and capture output:
tr '\n' '\0' < test-list | xargs -0 -I % ./tests/run-dumper % > test-output-tlsa

Switch to master:
git checkout master

Rebuild everything:
make clean && make && make test && make test-all

Run test-dumper on all the yaml files, and capture output in another file:
tr '\n' '\0' < test-list | xargs -0 -I % ./tests/run-dumper % > test-output-orig

Check for differences in the output:
diff -u test-output-orig test-output-tlsa

Thanks! That looks great.
The tests you ran should be sufficient since it includes all yaml-test-suite test cases. I would have used the same testing strategy.

I can't merge this alone.
@ingydotnet can you approve or comment or anything?

Thanks, merged!


PasswordManager Project | V : Beta 1.4.9

Menu and Feature :
  < Remove user (Account) Feature >
  < Removed The BirthDay,Month,Year input else statements >
  < Removed A variety of comment's due to OverCommenting >

Accessibility :
  < Full ANSI colorizing to the menu >
  < Full ANSI colorizing to the Starting Function's >

Patches :
  < Ordinary BugFixes >
  < Fixed the ANSI Coloring Bug's >

Mistakes

OverCommenting
Variable Naming Mistakes
None-Self Explanatory Partitioning


Create pre-release package on Nuget

Hi @Blogrammer
From what I've seen so far, this package is in a working state. I can help create a nuget pre-release package for it and also setup the CD pipeline for future package creation.
Thanks

This will be very much welcome. Feel free to create a nugget pre-release package for it.

I think you should create it. So that it stays on your account. Since it's your project.

It would make sense to create a CI/CD pipeline for the project for easy deployments. I’ll need elevated privileges to do this.


Fix fortran parse errors

For issue #2345 !
What does this implement/fix? Explain your changes.
Successful change was identified in #2345, tested in Linux, Windows and Mac.
...
Does this close any currently open issues?
#2345
...
Any other comments?
...
Checklist
Check all those that are applicable and complete.

[x] Merged with latest master branch
[ ] Regenerate documentation with npm run docs
[ ] Add change details to CHANGELOG.md under "Next" section
[ ] Added examples for testing to examples/ directory
[ ] Travis CI passes (Mac support)
[ ] AppVeyor passes (Windows support)

@Glavin001 very small edit to the code but issue that's affected multiple users and edit tested a number of times and working.

Seems no one's here to approve these.


Implement a communication medium

Details
This repository currently doesnot have a proper channel to chat with contributors.
Solution
Implement a google group or slack channel for discussion, or moving this repository to an organization(Sympy) would enable discussion forum.

I've just enabled GitHub discussions.
For a mailing list I would suggest to use the SymPy mailing list. Perhaps we should add a link to that somewhere. Feel free to send a pull request for that.


latejoin menu scrolls all the way up when updating

Description
When the latejoin menu is opened it will refresh any time one of the roles updates, and in doing so will scroll you back to the top. This means that if the menu refreshes while you are clicking you can misclick the wrong job.
Preferably it would keep you scrolled to where you were so that this does not happen.
Reproduction

Open latejoin menu
Scroll down
Have/wait for someone else to late join a role
The menu is put back at the top as it is refreshed

I have noticed this as well, without looking at the code, I'm going to assume the list is being recreated rather then being updated in place, which is causing loss of state.


[TASK] Raise minimal Longhorn supported Kubernetes version for v1.2.0

What's the task? Please describe.
For every minor release, we need to reevaluate the supported Kubernetes version.
According to https://kubernetes.io/releases/version-skew-policy/ , we might able to raise the minimal requirement for Longhorn v1.2.0 to Kubernetes v1.18, which was released on Apr 23rd, 2020.

ref: https://github.com/longhorn/longhorn/issues/2757

Closing, let's tackle this in #2757.


feat: pixi diff

I love @pavelzw 's https://github.com/pavelzw/pixi-diff-to-markdown/ tool but the problem is that you can only get these diffs from pixi update --json right now.
This is a POC to introduce a new pixi diff command that will diff the current pixi.toml & pixi.lock to a different pixi.lock to generate the same diff.

Example:
pixi diff --old-lockfile <(git show HEAD~10:pixi.lock) | pixi-diff-to-markdown

Explicit dependencies

Dependency[^1]
Before
After
Change
Environments

filelock

3.16.0
Added
{default, schema} on all platforms

pytest-rerunfailures

14.0
Added
{default, schema} on all platforms

rich

13.7.1
Added
{default, schema} on all platforms

tomli-w

1.0.0
Added
{default, schema} on all platforms

rust
1.80.1
1.81.0
Minor Upgrade
default on all platforms

taplo
h823019e_0
ha073cba_1
Only build string
lint on win-64

Implicit dependencies

Dependency[^1]
Before
After
Change
Environments

markdown-it-py

3.0.0
Added
{default, schema} on all platforms

mdurl

0.1.2
Added
{default, schema} on all platforms

pygments

2.18.0
Added
{default, schema} on all platforms

filelock
3.15.4
3.16.0
Minor Upgrade
lint on all platforms

rust-std-aarch64-apple-darwin
1.80.1
1.81.0
Minor Upgrade
default on osx-arm64

rust-std-x86_64-apple-darwin
1.80.1
1.81.0
Minor Upgrade
default on osx-64

rust-std-x86_64-pc-windows-msvc
1.80.1
1.81.0
Minor Upgrade
default on win-64

rust-std-x86_64-unknown-linux-gnu
1.80.1
1.81.0
Minor Upgrade
default on linux-64

[^1]: Bold means explicit dependency.
[^2]: Dependency got downgraded.

Closing this for now as stale, idea is great we need to think on it some more

Maybe I'll find some time during the holidays 😁


Timer Decorator and other Functionalities

Let me take a scenario where i want to know the number of scheduled threads running for a given program is there a way to know about that either from the cli or from any core module that the nameko have
In the given example lets take i have a function that i have the decorator timer which the interval is given for 10 secs to run so can the function access that interval variable inside the function
from nameko.timer import timer

@timer(interval=10)
def testing(self,interval):
  print interval

If I understand correctly there are two questions here:
Q1. Is there any way to know how many threads are running?
It depends what you mean. The ServiceContainer._worker_pool is the pool of Greenthreads used to run workers (i.e. the threads used to execute service methods). You can call pool.running() to find out how many workers are currently active. I guess this is the metric you really want to know? If so, there are better ways to track the information, such as a DependencyProvider that increments a counter on worker_setup and decrements it again on worker_teardown.
Nameko uses threads for other things other than running workers too. Most entrypoint implementations  rely on a background thread (e.g. the Timer). If these threads are managed by nameko (which they should be, aren't guaranteed to be) you can find them in the ServiceContainer._active_threads and ServiceContainer._protected_threads attributes.
Q2. Can @timer decorated methods know what interval argument they were called with?
Not in the built-in implementation, but it's pretty easy to create a subclass that passes it in:
from nameko.timer import Timer

class AwareTimer(Timer):
    def handle_timer_tick(self):
        args = (self.interval,)
        kwargs = {}
        self.container.spawn_worker(self, args, kwargs)

aware_timer = AwareTimer.decorator

@aware_timer(interval=10)
def testing(self,interval):
  print interval  # works

The timer entrypoint is entirely declarative though, so why don't you do the following?
interval = 10

class Service:
    @timer(interval)
    def testing(self):
        print(interval)

The user group is a better place for these kind of questions. If you have any more, please ask them there.


im recieving this error

!python node2vec/src/main.py --input diseasome.edgelist --output diseasome.emb --dimensions 32 --num-walks 20 --iter 10
Traceback (most recent call last):
File "node2vec/src/main.py", line 15, in
import node2vec
File "/content/node2vec/src/node2vec.py", line 46
print 'Walk iteration:'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Walk iteration:')?

This was apparently written for Python2


Set process comm at startup

What does this PR do?
Set the process name to the impersonated agent.

Motivation
The process name - available using /proc/1234/comm or using the eBPF
bpf_get_current_comm helper - is set by the OS to the executable name, not
argv[0]. Therefore, we need to set it manually.

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge

/merge

/merge

/merge


[vim] Substitutions getting multiple entries in history

To undo a substitution, vim keybindings require two undo commands rather than just one.
I spent 1/2 day chasing this, and I think it boils down to something similar to but not quite the same as #3436.  Vim.js calls replaceRange internally to do its commit after insert mode is finished.
repro steps: in vim demo:
's', 'a', ESCAPE, 'u'
replaces a single character with an 'a', then attempts to undo.  The state after undo, however, is with the character missing.  It takes an additional 'u' undo command to get it to the proper state.
My search took me to the 'start a new event' block in addChangeToHistory, which
I noticed that with sublime keybindings, it is possible to select a range and simultaneously delete/replace with a single history entry.  It would be good if we could get vim replacement to behave similarly.
Is there a way to group multiple history entries such that they will be undone together, or should I try to get them to merge, despite their separate origins?

Is there a way to group multiple history entries such that they will be undone together, or should I try to get them to merge, despite their separate origins?

Wrapping the calls that make the changes in a call to .operation should have this effect.

The vim code is now being maintained at https://github.com/replit/codemirror-vim/ . If this is still important, check whether there is an issue open for it there.


installing-django-in-local-machine #3964

Description 📜
Contribution in the form of Documentation for Installing Django In Local Machine
Fixes  #3964

Type of change 📝

[x] Doc#umentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] Backend Dev #(Python)

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@AVS18 please review my PR. This PR is for two issues "Introduction to Django" & "Installation Django in Local Machine"

Everything is fine

@Ash515 please merge this PR. It's approved


file template not work

{
"shell_input":true,
"file_templates": {
"js": [
"Packages/User/MyTmpl/js.sublime-snippet"
],
"py": [
"Packages/User/MyTmpl/python.sublime-snippet"
]
}
}
create  new file by ⌥ +⌘+N, not use snippet.

Are there any errors in the ST console? Can you provide the snippet as well as the input file path you used.

add new file. console without any error message .
python.sublime-snippet:

<![CDATA[
#!/usr/bin/python
-- coding: utf-8 --
]]>
Python File Template
pyf

delete current file from command palette, console display the following error message.
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 551, in run_
    return self.run(**args)
  File "advanced_new_file.commands.delete_file_command in /Users/Gatspy/Library/Application Support/Sublime Text 3/Installed Packages/AdvancedNewFile.sublime-package", line 18, in run
  File "advanced_new_file.commands.delete_file_command in /Users/Gatspy/Library/Application Support/Sublime Text 3/Installed Packages/AdvancedNewFile.sublime-package", line 44, in _delete_current_file
  File "advanced_new_file.commands.delete_file_command in /Users/Gatspy/Library/Application Support/Sublime Text 3/Installed Packages/AdvancedNewFile.sublime-package", line 64, in _delete_file
  File "advanced_new_file.commands.delete_file_command in /Users/Gatspy/Library/Application Support/Sublime Text 3/Installed Packages/AdvancedNewFile.sublime-package", line 71, in _execute_delete_file
  File "send2trash.plat_osx in /Applications/Sublime Text.app/Contents/MacOS/Packages/Default.sublime-package", line 44, in send2trash
  File "send2trash.plat_osx in /Applications/Sublime Text.app/Contents/MacOS/Packages/Default.sublime-package", line 33, in check_op_result
OSError: permissions error (on file open)


Don't enforce equal length blob data in add_results

Replaces #1429

@ThorvaldLarsen @QCoDeS/core This should now pass the existing tests and have it's own test and be ready for review

This is redundant now


Access Denied - fetchAuthorizationCode

When trying to get an access token, I get an error message in fetchAuthorizationCode:
fordapp://userauthorized?error_description=CSIAQ0159E+You+are+not+authorized+to+access+this+protected+resource.&error=access_denied
All calls before that are going just fine so I think it's really the fetchAuthorizationCode that's not working out properly.
The GET is done with a proper-looking URL I got from Ford:
https://sso.ci.ford.com/oidc/endpoint/default/authorize?qsId=d9aa5f49-92a3-40e1-8edc-BLAAT&client_id=9fb503e0-715b-47e8-adfd-ad4b7770f73b&identity_source_id=BLAAT
I would assume that if something went wrong in the process before that, Ford would throw an error earlier.
Anyone got a clue if this is again Ford messing up? Their latest app update also crashes after logging in 'fresh'...

Hi @Palmke, I've tested a few times with my FordPass account and everything seems to be working correctly on my end. Are you using the correct region when attempting to login?

I must apologize... I was having issues with the cookie but it's all sorted now...
Thanks for pushing the fix tho, now let's hope Ford sticks with this method for quite some time :)


Label Translation Issue for Serbian due to USERCULTURE() Issue

I love this tool. However, I have stumbled upon an issue with Serbian. When sr-Latn-RS is the locale, Power BI is returning sr-Latn-CS. Therefore, the SWITCH statement approach for label translations is not working since the tool uses sr-Latn-RS. One could manually change this to sr-Latn-CS in the DAX but this becomes impractical if you have many translations since the DAX measures are regenerated every time a new label is added and would just revert them back all to sr-Latn-RS.
Any thoughts on this? Is there a reason Power BI is returning sr-Latn-CS for the USERCULTURE() when sr-Latn-RS is used. It's my understanding that sr-Latn-CS is deprecated and sr-Latn-RS should actually be the USERCULTURE().

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

ID: 3f35bc2a-7005-0104-beef-2a6c9f872bed
Version Independent ID: 3f35bc2a-7005-0104-beef-2a6c9f872bed
Content: Use locale values in multiple-language Power BI reports - Power BI
Content Source: powerbi-docs/guidance/multiple-language-locale.md
Service: powerbi
Sub-service: powerbi-resource
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Thanks for your comment, @kewaynes33. This issue has been assigned to the doc author for review.

Hi, @kewaynes33 -- I'm investigating. So far no solution.


add back segmentProject

added back in segmentProject to the analytics.track for project create
segment output locally looks like this -

we need to capture this information in order to send emails correctly in autopilot

is this the same as #95? If so please close it

@mateodaza  these are different, this one deals with  the project created mutation while #95 deals with adding in a new tracker for project deactivated.


Kafka 0.10.1 features

announcement: https://www.confluent.io/blog/announcing-apache-kafka-0-10-1-0/
Kafka 0.10.1 added new configuration parameters and features to the consumer, this issue is here to track the investigation of updating the LS configuration to leverage these new features

The most interesting feature applicable to Logstash is search-by-timestamp. I tried to add this feature, but I'm blocked by the consumer design described here: https://issues.apache.org/jira/browse/KAFKA-2359
The feature branch is https://github.com/logstash-plugins/logstash-input-kafka/tree/feature/seek_by_time if anyone is interested.


ShareGPT datasets very strict -- data rows with non-standard role throw AssertionError

I found that one of the datasets I was consuming from HuggingFace with multi-language entries occasionally had roles other than "user" and "gpt". For example, "bing" or "chatgpt". This results in the entire dataset being rejected with an Assertion error and no context.
The offending code is:
  File "src/axolotl/prompters.py", line 319, in build_prompt
    assert role == conv.roles[j % 2]
AssertionError

Ideally additional context would be given to allow for debugging, such as the offending line or perhaps the rest of the datafile can be processed and a warning thrown.
People running into this issue can either remove or edit the lines with abnormal role names or add those roles to line 302 of prompters.py:
        roles = {"human": conv.roles[0], "gpt": conv.roles[1]}
Note that the particular file I was using then had other issues (e.g. system messages as "gpt") that resulted in IndexError as well
In general would be good for this parsing to provide more context when issues are encountered, but opening this issue in part so that others can know that these issues are likely specific types of data issues.

Thanks for this clarification! Would you be interested in opening a PR to improve the assertion message?


Typo "[@frequency_interval= ] "→"`[ @frequency_interval = ]"

https://docs.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-addsubscriber-transact-sql?view=sql-server-ver15

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Verified the update; merging.


Linux support

Add Linux support for USB SCSI communication within pybadusb/src/scsi.cpp.
Currently under development in the linux-dev branch.

Support added with 300471d8404c16869548b70ac974184d34d4b586


Remove the unused CI job

Fixes #7754
This CI job already be removed. And the check require is removed. So let's
remove this file.

Hi @aahmed-se , the flaky ci can remove now, and it not anymore required now. Let's remove it.

@jiazhai @sijie PTAL. Thanks.

/pulsarbot run-failure-checks


Traefik fails to add Vary: Accept-Encoding on gzip'd responses

Do you want to request a feature or report a bug?
Bug
What did you do?
Enabled compression with compress = true.
What did you expect to see?
When Traefik dynamically gzips the response, I expect to see an added Vary: Accept-Encoding header (or Accept-Encoding added to an existing Vary header).
What did you see instead?
Vary is missing or unmodified (if already present with another header).
Output of traefik version: (What version of Traefik are you using?)
1.7.20
What is your environment & configuration (arguments, toml, provider, platform, ...)?
[entryPoints.https]
  compress = true

As long as the client/browser is talking directly to Traefik, all is fine. However, when using a CDN in between, some CDNs (such as CloudFront) cache gzip'd and non-gzip'd content separately, but only if Vary: Accept-Encoding is present. If not present, then the CDN will cache the first request and serve it up to additional clients. If not-gzip'd, this likely just wastes bandwidth. If that first request was gzip'd and a later client is unable to handle a gzip'd response (perhaps a weird API clients, not browser), it will still be sent the gzip'd payload anyway.

Hi! I tried to reproduce this bug and I didn't succeed.
My config:

Started Nginx with static content without gzip compress.
Started Traefik with compress = true parameter.

And Traefik returns response with header "Vary: Accept-Encoding". This works as it should.
In other words Traefik must respond in your CDN with Vary header. Or no ...?

Hi @zarqman,
I made some tests with Traefik v1.7.20 and traefik v2.1.6 and like @kepka42 , I didn't find any issues.
if compress is activated on Traefik, it will add the Accept-Encoding in the Vary Header response.
So, I suspect an issue with your CDN configuration.
Could you explain your use case step by step with the command/tool used to make the requests and show your logs ?

Apologies. I dug in further to find the minimal config necessary to reproduce it and it's a bit more nuanced than I realized.
Summary: when [retry] attempts = 3 is present and the backend response includes a pre-existing Vary header (eg: Vary: Origin), then Traefik 1.7.22 fails to add Vary: Accept-Encoding.
traefik.toml
checkNewVersion = false
[entryPoints]
  [entryPoints.http]
    address = ":80"
    compress = true

# this is the problem trigger
[retry]
  attempts = 3

[file]

[backends]
  [backends.a]
    [backends.a.servers.s0]
      url = "http://localhost:4567"

[frontends]
  [frontends.a]
    entryPoints = ["http"]
    backend = "a"

server.rb - example web server
#!/usr/bin/env ruby
require 'sinatra'

get '/' do
  "Hello! #{'a'*1500}\n"
end

get '/vary' do
  headers 'Vary' => 'Origin'
  "Hello! #{'a'*1500}\n"
end

Traefik cmdline: ./traefik_darwin-amd64 --logLevel=INFO --accesslog --traefiklog
Ruby cmdline: ruby ./server.rb
(must run gem install sinatra webrick once in advance)
Test without backend's own Vary
Does the right thing:
$ curl -i --compress http://localhost:80/
HTTP/1.1 200 OK
Content-Encoding: gzip
Content-Type: text/html;charset=utf-8
Date: Thu, 19 Mar 2020 17:06:08 GMT
Server: WEBrick/1.4.2 (Ruby/2.6.5/2019-10-01)
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
Content-Length: 43

Hello! aa..[snip]..aa

Test with backend's own Vary
Breaks (but only if [retry] attempts=3 is in traefik.toml):
$ curl -i --compress http://localhost:80/vary
HTTP/1.1 200 OK
Content-Encoding: gzip
Content-Type: text/html;charset=utf-8
Date: Thu, 19 Mar 2020 17:06:06 GMT
Server: WEBrick/1.4.2 (Ruby/2.6.5/2019-10-01)
Vary: Origin
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
Content-Length: 43

Hello! aa..[snip]..aa

Whether the client actually requests compression (curl's --compress flag) actually doesn't seem to make a difference.
Hope that's everything you need to reproduce, and thanks for looking into it.

Thank you,
I was able to reproduce. I will investigate further.

Hello @zarqman,
I give it a try with the latest v2.10 and the issue seems to be solved.
It has most probably been fixed with the changes of https://github.com/traefik/traefik/pull/8245.
Fixed by #8245


Replace Proto AST with Cpp AST for YDB CLI YQL parser

Changelog entry
Replace Proto AST with Cpp AST for YDB CLI YQL parser
Changelog category

Improvement

Additional information

Remove YDB CLI dependency from proto_ast
Generate YQL parser from grammar using ANTLR
Use custom Cpp.stg to append TOKEN_ prefix for each token to avoid C++ name collisions
Another options was https://github.com/ydb-platform/ydb/pull/9055
Connected with https://github.com/ydb-platform/ydb/issues/9056
Replaced Proto with C++ AST, because we need a C++ (not Proto) AST for code completion

Refused as it might be unused. Must to be merged with autocomplete feature.


Update google-spreadsheet to 0.3.1

Please update my adapter ioBroker.google-spreadsheet to version 0.3.1.
This pull request was created by https://www.iobroker.dev c0726ff.

Please fix https://github.com/ThomasPohl/ioBroker.google-spreadsheet/issues/114

And please fix Please fix https://github.com/ThomasPohl/ioBroker.google-spreadsheet/issues/114 before requesting addition to stable. A new release is nit required but either package.json or test-and-release.yml mut be fixed at github head branch


Allow to wait for a given status after creating a compute environment and launching a workflow.

Description
Added new --wait=<STATUS> flag that waits until a given status before exit. Fixes #12
Added to commands:

tw compute-envs add ...
tw compute-envs import ...
tw launch ...

Usage example:
$ ./tw launch https://github.com/nextflow-io/hello --wait=SUCCEEDED -c cli-agent

  Workflow 4TbJRxe4jyHCjZ submitted at user workspace.

    https://tower.nf/user/jordi/watch/4TbJRxe4jyHCjZ

  Waiting SUCCEEDED status....SUBMITTED..RUNNING.SUCCEEDED  [DONE]

Exit code:

It return with a 0 exit code if the entity reaches the desired status.
It returns an error 1 exit code if the entity reaches a status that is incompatible with the desired status. (for example if a workflow desired status is 'RUNNING' and the job gets status 'FAILED' or 'CANCELLED' before).

Bug fix:

Fixes #181

How the desired status is specified?

Looks like this should also close https://github.com/seqeralabs/tower-cli/issues/177 👏🏻 🚀

How the desired status is specified?

Basically --wait=<STATUS>. I've updated the description with an usage example.


Vim go to and add new line above/below (o | O) leaves flashing block (includes pr for fix)

Reproable on the demo site.  I made a pull request that fixes the issue.
Link to PR
Basically, the runInOp is wrapped around the addNewLineAndIndent function so the new line ends up being created and moved to after we go into insert mode which is muddling things up.  I just wrapped the enterInsertMode function in a timeout to push it to the next run loop so all the operations should have finished.

Update:  previous fix failed some tests (mainly replaying macros didn't work quite right) new pr:
https://github.com/codemirror/CodeMirror/pull/5547
I don't love the solution of moving the 'go to insert mode' into a timeout to push it off to the next run loop, but it works.

The vim code is now being maintained at https://github.com/replit/codemirror-vim/ . If this is still important, check whether there is an issue open for it there.


fixes the black window corners on OSX.

What does the pull request do?
On OSX windows have a corner radius, and on Avalonia apps the corner gets filled with black, which doesnt look good.
This PR makes the corners transparent.
How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Avaloniaui.net with user documentation

Breaking changes

Fixed issues

fixes https://github.com/AvaloniaUI/Avalonia/issues/3280 and https://github.com/AvaloniaUI/Avalonia/issues/2069 ?


Provide a getter for map config that accesses the OL map state

Instead of relying on the config property of eox-map, a getter for the current state of the map could be useful, that directly checks things as vanilla OL layers, view settings etc.

This turns out to be not possible with the current setup, as we don't have information over the layer/source types. One would have to import all layer/source types, and then loop through all layers, and check if it's an instance of any of the imported layers/sources etc.


CTECH-1552: Removes stale tests

Signed-off-by: Paul Saunders<EMAIL_ADDRESS>Pull Request Checklist

[x] Read the contributing guidelines
[x] Tests pass

Description of the PR
Tests will obviously pass because there are none left.
Removal of the tests was discussed, and these are obviously stale.  If they come back during a regeneration, I'll investigate further and figure out exactly how they get generated.  The working theory is that these were committed by mistake, and NOT regenerated during the sdk generation process.

/LGTM


bugfix: fix when doing global rollback ,may cause an endless loop

[ ] I have registered the PR changes.

Ⅰ. Describe what this PR did
fix issue #6561
Ⅱ. Does this pull request fix one issue?

fix issue #6561
将对undolog的SQLIntegrityConstraintViolationException异常的try catch范围缩小，只处理undo_log的插入并发，如果有业务回滚时的并发插入异常，直接抛出，按照脏写处理即可。
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Due to the author's prolonged lack of response, I will close this PR and seek another developer to address this issue.

Could you please resolve the code conflicts first?


Storing Phone Numbers more than 10 digits

How to store long integers
I want to store users phone number which are more than 10 digits in my case and when I tried using Long!

✖ The field phone has the type Long! but there's no type or enum declaration with that name.

Then I found in this issue that Long is currently no implemented

note: Long, BigInt, BigDecimal are currently not implemented by Prisma. http://sangria-graphql.org/learn/#scalar-types

https://github.com/prisma/prisma/issues/1753
then what am I supposed to do in this case except for storing phone numbers as a string?

Right now you will indeed need to store them as bigints.
We are going to consider this for Prisma 2 now.

But there isn't such BigInt type according to this link https://www.prisma.io/docs/datamodel-and-migrations/datamodel-MYSQL-knul/

Sorry I accidentally wrote bigints instead of strings 😓


OpenFile on Android Method 'string.Split' not found.

Expected Behavior
FileData fileData = await CrossFilePicker.Current.PickFile();
should Poplate FileData with some information
Actual Behavior
Results in the following exception
Method 'string.Split' not found.
System.MissingMethodException: Method 'string.Split' not found.
at Plugin.FilePicker.FilePickerActivity.OnActivityResult (System.Int32 requestCode, Android.App.Result resultCode, Android.Content.Intent data) [0x0003c] in D:\a\1\s\src\Plugin.FilePicker\Android\FilePickerActivity.android.cs:147
Steps to Reproduce the Problem

try
{
FileData fileData = await CrossFilePicker.Current.PickFile();
if (fileData == null)
return; // user canceled file picking
         string fileName = fileData.FileName;
         string contents = System.Text.Encoding.UTF8.GetString(fileData.DataArray);

         System.Console.WriteLine("File name chosen: " + fileName);
         System.Console.WriteLine("File data: " + contents);
     }
     catch (Exception ex)
     {
         System.Console.WriteLine("Exception choosing file: " + ex.ToString());
     }

Specifications

NuGet package version:2.1.18
Platform(s):Android 8.1 Visual Studio 2015

So I'm not sure why this is happening at all
I added the solution .csproj to my solution deleted everything except the android implantation and it works fine now

i have same problem here on android 5,6 and 9.
this is my code :
try
{
var file = await CrossFilePicker.Current.PickFile();
            if ( file != null)
            {
                image = file.DataArray;

                xQuizImage.Source = get_imagesource_from_byte(image);

                if (file != null)
                {
                    xImageNameLB.Text = file.FileName;
                }
            }

        }
        catch (Exception ex)
        {
            var ss = ex.Message;
            var ss2 = ex.Message;
        }

the file picking view comes up but after i choose the file i get an exception :
{System.MissingMethodException: string[] string.Split(char,System.StringSplitOptions)
at Plugin.FilePicker.FilePickerActivity.OnActivityResult (System.Int32 requestCode, Android.App.Result resultCode, Android.Content.Intent data) [0x0003c] in D:\a\1\s\src\Plugin.FilePicker\Android\FilePickerActivity.android.cs:147
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <43dbbdc147f2482093d8409abb04c233>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <43dbbdc147f2482093d8409abb04c233>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <43dbbdc147f2482093d8409abb04c233>:0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in <43dbbdc147f2482093d8409abb04c233>:0    at Plugin.FilePicker.FilePickerImplementation+<PickFile>d__4.MoveNext () [0x0002b] in D:\a\1\s\src\Plugin.FilePicker\Android\FilePickerImplementation.android.cs:60  --- End of stack trace from previous location where exception was thrown ---   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <43dbbdc147f2482093d8409abb04c233>:0    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <43dbbdc147f2482093d8409abb04c233>:0    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <43dbbdc147f2482093d8409abb04c233>:0    at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult ()

also i use nuget package version 2.1.18 , visual studio 2017 , .netstandard 2.0.3 .

Could you try it the latest beta version 2.1.32-beta? There was a bug that the plugin was built in Debug while the app was in release. Might be related.

well i just tried it with two different nuget versions :
with  2.1.32-beta in debug mode of my project i got same (string.split) exception
and in release mode i got this :
(Severity	Code	Description	Project	File	Line	Suppression State
Error		The "LinkAssemblies" task failed unexpectedly.
Mono.Linker.MarkException: Error processing method: 'System.String Plugin.FilePicker.IOUtil::GetPath(Android.Content.Context,Android.Net.Uri)' in assembly: 'Plugin.FilePicker.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.String[] System.String::Split(System.Char,System.StringSplitOptions)
at Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod(MethodReference reference)
at Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference)
at Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction)
at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body)
at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)
at Mono.Linker.Steps.MarkStep.ProcessQueue()
--- End of inner exception stack trace ---
at Mono.Linker.Steps.MarkStep.ProcessQueue()
at Mono.Linker.Steps.MarkStep.ProcessPrimaryQueue()
at Mono.Linker.Steps.MarkStep.Process()
at MonoDroid.Tuner.MonoDroidMarkStep.Process(LinkContext context)
at Mono.Linker.Pipeline.Process(LinkContext context)
at MonoDroid.Tuner.Linker.Process(LinkerOptions options, ILogger logger, LinkContext& context)
at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)
at Xamarin.Android.Tasks.LinkAssemblies.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()	Sidma_Studnet_App.Android	)
just before deploying.
.
.
.
but with nuget version 2.0.135 it worked completely right.the files are shown and choosed properly.
hope this helps.

What Android framework version do you have in the Android project? FilePicker supports 6.0 to 9.0. Maybe that's the reason

I did this on android 8.1 to 9 as well
I did however use the code as is in my test application
https://github.com/xXxTheDarkprogramerxXx/Store-Remote-Tool-Android

I meant the TargetFrameworkVersion, but I see it's on v9.0, so this should be ok. I will try out your project and see if I can reproduce the error.

Closing this since this project will retire, please check out Xamarin.Essentials which now has a FilePicker based on this one.


Standardize code style & formatting throughout repository

This issue is intended to act as a tracking issue for an effort to standardize code style and formatting across the Security repository.
As things stand, there is a mix of styles being used in different parts of the repository. This can lead to confusion on the reader's behalf and also makes PRs challenging to review. If a reviewer does not check the "hide whitespace" option when reviewing, code changes can show as almost entirely made of indentation adjustments based on the settings of the contributor's IDE.
In order to correct this trend and provide further support to contributors, we should create a standardized stye policy which outlines the expected formatting of changes and provides a basic settings file users can copy to their IDE configurations.
Because standardizing the format of the code is such as large task this issue will be used to track incremental changes made to the PR all implementing the preferred style. Only after merging the first incremental PR will subsequent PRs be created since any changes to the style should be made to all code not just a given subsection.
The proposed guidelines planned to be introduced are:

Use the same spotlessApply policy as JobScheduler and other repositories as requested by @cwperks
Don't use mid-line linebreaks in markdown files as requested by @peternied
Indentations should use 1 tab (of size 4 spaces) in Java files
Indentations should be 2 spaces in YAML files
There should be a preceding space before all 'if', 'for', 'while', 'switch', 'try', 'catch', and 'synchronized'
parentheses
There should be a preceding space before all non-unary operators
Imports should use single class names (no wildcards)
JavaDocs should use fully qualified class names
Java.* imports should be placed at the top, followed by Javax.*, then all other imports, and finally static imports

Style Categories:

[x] Java Style
[x] YAML Style
[x] Markdown Style

Style PRs:

[x]  #2812
[x] #2823
[x] #2826
[x] #2836
[x] #2837
[x] #2840
[x] #2863
[x] #2866

This is the branch with all the changes: https://github.com/scrawfor99/security/tree/formattingGuidelines

@scrawfor99 Can we backport all the style changes into the 1.x and 2.x branches.  If our backports won't apply cleanly from main onto on those branches.
(Added untriaged so we cover this during the triage meeting)

[Triage] @scrawfor99 to backport the new settings.


not sure is it an error?

There are two softmax functions on the line 100 and line 104 of SemiGNN.py as below. Does it repeat?

Thanks for reporting the problem! The softmax function at line 100 is redundant and has been removed.


Support translations.

Modify pyproject.toml to include compiled .mo localization files.
project_data? MANIFEST.in? Does this even work with hatchling?


error in Live url

screen shots https://imgur.com/jYuDGYX

please make sure the bot have logged in


After upgrading to 5.4.0 when using Newtonsoft serialization [JsonRequired] fields are marked as nullable

After upgrading from 4.x to 5.4.0 (including enabling Newtonsoft serializer support) model object fields marked with [JsonRequired] are marked as nullable in the swagger.json (and shown as nullable in the UI).
[JsonProperty(Required = Required.Always)]``` works as expected (these fields are not marked as nullable).
Code:
public class TestDto {
    [JsonRequired]
    public String jsonRequired;

    [JsonProperty(Required = Required.Always)]
    public String jsonProperty;
}

swagger.json:
"jsonRequired": {
  "type": "string",
  "nullable": true
},
"jsonProperty": {
  "type": "string"
}

For now I've worked around this issue by converting all our models to use the JsonProperty approach.

This is indeed a regression that was introduced in the 5.x line. I just pushed c4dcb1b82ed311c5e5f7890157f392a00002d911 to fix it. Preparing a v5.4.1 patch release now ...

Thanks!


Test URL lib against web platform tests

https://github.com/web-platform-tests/wpt/blob/master/url/resources/urltestdata.json

Resolved by #664


refactor: make change in machine learning folder structure

Pull Request Checklist
Please check if your pull request fulfils the following requirements:

[x] The commit message follows our guidelines: https://gitlab.playpod.ir/alpha/backend/nakama-module-next/-/blob/main/CONTRIBUTING.md#commit-message-format
[x] Tests for the changes have been added / updated (for feat / fix / refactor)
[x] Docs for the changes have been added / updated (for feat / fix / refactor)

Pull Request Type
What kind of change does this pull request introduce?

[ ] Build: Changes that affect the build system or external dependencies
[ ] CD: Changes to our CD configuration files and scripts
[ ] CI: Changes to our CI configuration files and scripts
[ ] Docs: Documentation only changes
[ ] Feat: A new feature
[ ] Fix: A bug fix
[ ] Perf: A code change that improves performance
[x] Refactor: A code change that neither fixes a bug nor adds a feature
[ ] Test: Adding missing tests or correcting existing tests

What is the current behaviour?

Issue #2
What is the new behaviour?
Does this Pull Request introduce a breaking change?

[x] Yes
[ ] No

Other information
Closes #2

@MBSM110 thank you


[Icon Request!!]

What is the icon you would like to see added?
svelte, tailwind, postcss, npmrc
Please provide a link to the homepage of the extension's creators/website
svelte
Tailwindcss
Postcss
Additional context
There are many things you can do. Like making specific folder icons for node_module,.svelte-kit,src,nuxt etc

Thanks for the suggestions! I'll start working on them today :)

Version 1.4.3 was just published with all the icons you requested :)

node_modules icon don't work, maybe there is some typo mistake.

Oops, you are correct! I'll fix it right now :)

New version just published. Sorry about that 😅
Should be fixed now


Performance improvements

Converted the participant m_readers vector to an unordered_map to speed up lookups
Converted the participant m_writers vector to an unordered_map to speed up lookups
issue: #636

Closing this in favor of #772


dont get notif when app is killed.

Hai,
i test on :
Asuz zenfone.
Lollipop.
chipset : intel
when app in foreground and background, i get notif.
but when i kill the app, i try send notif, but i dont get it.
anyone, can help me?

https://github.com/firebase/quickstart-android/issues/4

@HartzDev as @Svoka said there has already been a lot of discussion in #4.  Since you have not provided any details to suggest your issues is different, i will close this one and point you there.


v13

Coverage remained the same at 95.364% when pulling 1200387d916af7ea7a94fb3ded852896bda12bab on nouvelle-version into 2f62e401046016d96e04404233295f0e15992bd2 on master-zds.


[wip] Leverage clients provided by go-mod-core-contracts

Started using the go-mod-core-contract clients instead of implementing the rest calls from scratch.
Note:

Some of the clients are not implemented in go-mod-core-contract. (Addressable list, ds list/rm, ...)
Not using the registry at this point (future work)

Signed-off-by: Alex Courouble<EMAIL_ADDRESS>

Note: the commands not using the client provided by go-mod-core-contract contain a lot of hard coded value and strings (URLs and port numbers).


[SPARK-31643][TEST] Fix flaky o.a.s.scheduler.BarrierTaskContextSuite.barrier task killed, interrupt

What changes were proposed in this pull request?

Make sure the task has nearly reached context.barrier() before killing.
Why are the changes needed?

In case of the task is killed before it reaches context.barrier(), the task will not create the expected file.
Error Message
org.scalatest.exceptions.TestFailedException: new java.io.File(dir, killedFlagFile).exists() was false Expect barrier task being killed.
Stacktrace
sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: new java.io.File(dir, killedFlagFile).exists() was false Expect barrier task being killed.
	at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:530)
	at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:529)
	at org.scalatest.FunSuite.newAssertionFailedException(FunSuite.scala:1560)
	at org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:503)
	at org.apache.spark.scheduler.BarrierTaskContextSuite.$anonfun$testBarrierTaskKilled$1(BarrierTaskContextSuite.scala:266)
	at org.apache.spark.scheduler.BarrierTaskContextSuite.$anonfun$testBarrierTaskKilled$1$adapted(BarrierTaskContextSuite.scala:226)
	at org.apache.spark.SparkFunSuite.withTempDir(SparkFunSuite.scala:163)
	at org.apache.spark.scheduler.BarrierTaskContextSuite.testBarrierTaskKilled(BarrierTaskContextSuite.scala:226)
	at org.apache.spark.scheduler.BarrierTaskContextSuite.$anonfun$new$29(BarrierTaskContextSuite.scala:277)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)

Here's full error messages.
Does this PR introduce any user-facing change?

How was this patch tested?

cc @WeichenXu123 @jiangxb1987 @cloud-fan

Test build #122318 has started for PR 28454 at commit 96e68ef.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26988/
Test PASSed.

Test build #122318 has finished for PR 28454 at commit 96e68ef.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class BarrierTaskContextSuite extends SparkFunSuite with LocalSparkContext with Eventually

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122318/
Test PASSed.

thanks @dongjoon-hyun


Add an error log section

@swentel had a great idea. He is adding an error log section so people can look in-depth at the errors they have received and optionally send them to him.
https://github.com/swentel/indigenous-android/issues/141

I was thinking about that because I remember you had some sort of an idea where people would use a contact form, or some sort, on https://indigenous.abode.pub/ ? I can't fully remember anymore though :)

Oh yeah that is this: https://github.com/EdwardHinkle/indigenous-ios/issues/206


Include pos fields to bundle stats

📝 Summary
Flashbots updated bundle stats endpoint to include POS fields. (https://docs.flashbots.net/flashbots-auction/searchers/advanced/rpc-endpoint#flashbots_getbundlestats)
This PR address this.Update bundle stats response to include pos fields.
✅ I have run these commands

[x] make lint
[x] make test
[x] go mod tidy

Awesome, thanks!

Thanks a lot @bhakiyakalimuthu


What about choosing the way you want the crosspost?

For example, because you have configured both app,
you should be able to choose if you want to cross post from Mastodon to Twitter
or from Twitter to Mastodon
IMHO the second will allow more people to get in Mastodon as for now the network effect is still more powerful on Twitter

Hi! As is, the cross-poster posts both ways, twitter to mastodon and mastodon to twitter (initially it was one way, thus the name). There's a PR currently with code that would allow you to turn one or the other way off, #16

Interesting :)
It could be nice to make this behaviour more clear in the doc because I didn't get it and I think it is a good point to highlight!

Hi !
I have a new idea that I will work on soon. I'll update the documentation at the same time.
I would like to know if my variable name aren't clear enough.

Maybe picking should just be part of the config process (and the instance, also), that would be a bit more user-friendly.

If we go that way, we should do a separated config file for those information.


Broken link to opencv?

I was trying to build ODM when I stumbled over following:

Linking CXX shared library ../../lib/libopencv_core.so
CMake Error: cmake_symlink_library: System Error: Protocol error
CMake Error: cmake_symlink_library: System Error: Protocol error
make[5]: *** [lib/libopencv_core.so.2.4.11] Error 1
make[4]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [opencv/stamp/opencv-build] Error 2
make[1]: *** [CMakeFiles/opencv.dir/all] Error 2
make: *** [all] Error 2
Compiling build
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at modules/odm_georef/CMakeLists.txt:16 (find_package):
Could not find a package configuration file provided by "PCL" (requested
version 1.7) with any of the following names:

PCLConfig.cmake
pcl-config.cmake

Add the installation prefix of "PCL" to CMAKE_PREFIX_PATH or set "PCL_DIR"
to a directory containing one of the above files.  If "PCL" provides a
separate development package or SDK, be sure it has been installed.

CMake Error at modules/odm_georef/CMakeLists.txt:19 (find_package):
Could not find a package configuration file provided by "OpenCV" with any
of the following names:

OpenCVConfig.cmake
opencv-config.cmake

Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
"OpenCV_DIR" to a directory containing one of the above files.  If "OpenCV"
provides a separate development package or SDK, be sure it has been
installed.

-- Configuring incomplete, errors occurred!
See also "/vagrant_data/odm_app/OpenDroneMap/build/CMakeFiles/CMakeOutput.log".
Configuration Finished
vagrant@vagrant-ubuntu-trusty-64:/vagrant_data/odm_app/OpenDroneMap$

So I checked what went wrong in the logs and found this:

CMake Error at /vagrant_data/odm_app/OpenDroneMap/SuperBuild/build/opencv/stamp/download-opencv.cmake:27 (message):error: downloading 'https://github.com/Itseez/opencv/archive/2.4.11.zip' failed

I am now verifying whether this is a firewall issue on my side or what else could cause the error?
Ah and by the way, the step 11) was also not really accurate for me. I had to type:
bash configure.sh install (with the addition of "install") to make it run. And the paths are mostly slightly confusing because they always start with a "/" even if you don't give the full path from root... either change it to "./" or omit the slashes in the beginning ;-)

Haha fun fact: If I click on the link to the opencv-zip from here within the browser it works - but not in the script... o_0

Yeah, sorry we've updated the UI for OpenDroneMap and forgot to document the changes here.
Can you wget https://github.com/Itseez/opencv/archive/2.4.11.zip from the vagrant guest?

@dakotabenjamin yes that works...

Maybe it timed out? Can you try to run bash configure.sh reinstall

@dakotabenjamin It is running... but I saw that this "broken" links also happen in other places, for example:

vagrant@vagrant-ubuntu-trusty-64:/vagrant_data/odm_app/OpenDroneMap$ wget https://github.com/PDAL/PDAL/                                 archive/aea5bb0cacc64b91d626eff491fbdbb5668c06d7.tar.gz
--2017-05-22 12:54:56--  https://github.com/PDAL/PDAL/archive/aea5bb0cacc64b91d626eff491fbdbb5668c06d7.                                 tar.gz
Resolving github.com (github.com)... <IP_ADDRESS>, <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/PDAL/PDAL/tar.gz/aea5bb0cacc64b91d626eff491fbdbb5668c06d7 [follow                                 ing]
--2017-05-22 12:54:58--  https://codeload.github.com/PDAL/PDAL/tar.gz/aea5bb0cacc64b91d626eff491fbdbb56                                 68c06d7
Resolving codeload.github.com (codeload.github.com)... <IP_ADDRESS>, <IP_ADDRESS>
Connecting to codeload.github.com (codeload.github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘aea5bb0cacc64b91d626eff491fbdbb5668c06d7.tar.gz’

302 is a redirection code, it looks like it was successful

@dakotabenjamin yeah but only if I get it manually with wget... still waiting on the result of the script

Now I tried to pre-download all the dependencies and add them before I start configure.sh
Got the following error:

-- [download 100% complete]
-- downloading... done
Linking CXX shared library ../lib/libpcl_io_ply.so
-- verifying file...
file='/vagrant_data/odm_app/OpenDroneMap/SuperBuild/download/ecto/c6178ed0102a66cebf503a4213c27b0f60cfca69.zip'
-- Could NOT find JSONCPP (missing:  JSONCPP_LIBRARY JSONCPP_INCLUDE_DIR) (Required is at least version "1.6.2")
[  1%] -- verifying file... done
Built target opencv_core_pch_dephelp
Linking CXX shared library ../lib/libpcl_octree.so
-- extracting...
src='/vagrant_data/odm_app/OpenDroneMap/SuperBuild/download/ecto/c6178ed0102a66cebf503a4213c27b0f60cfca69.zip'
dst='/vagrant_data/odm_app/OpenDroneMap/SuperBuild/src/ecto'
-- extracting... [tar xfz]
[  2%] CMake Error: Problem with archive_write_header(): Can't create 'ecto-c6178ed0102a66cebf503a4213c27b0f60cfca69/doc/kitchen/_static'
CMake Error: Current file: ecto-c6178ed0102a66cebf503a4213c27b0f60cfca69/doc/kitchen/_static
Built target opencv_flann_pch_dephelp
CMake Error: Problem extracting tar: /vagrant_data/odm_app/OpenDroneMap/SuperBuild/download/ecto/c6178ed0102a66cebf503a4213c27b0f60cfca69.zip
-- extracting... [error clean up]
[  3%] Built target opencv_imgproc_pch_dephelp
CMake Error at /vagrant_data/odm_app/OpenDroneMap/SuperBuild/build/ecto/stamp/extract-ecto.cmake:33 (message):
error: extract of
'/vagrant_data/odm_app/OpenDroneMap/SuperBuild/download/ecto/c6178ed0102a66cebf503a4213c27b0f60cfca69.zip'
failed

make[2]: *** [ecto/stamp/ecto-download] Error 1
make[1]: *** [CMakeFiles/ecto.dir/all] Error 2

Hey Guys,
I am having the same problem ,I tried with the wget option but it is still showing the same error.
Can anyone suggest me a solution for this.
Traceback (most recent call last):
File "/home/vidyasagarsmiles/src/envmap-187722/ImageStich/OpenDroneMap/run.py", line 8, in
import ecto
ImportError: No module named ecto

Please check our docs for installation instructions. We don't support using vagrant anymore.


(ruby-modules/gem): (refactor)

Motivation for this change
Rubygems with a git source use leaveDotGit across the board. The upshot is that many unrelated changes to the upstream git repo (even on a gem that is referred to by ref) will change the fixed output digest and fail builds.
Things done
This PR removes leaveDotGit and replaces it with a series of git commands to recreate the git repo locally during build. The reason for this is that many gems use some variation of git ls-files rather than specifically enumerating their manifests. This is plainly wrong, but that battle is well lost.

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I have used this branch to build a relatively complicated gemset.nix that includes git gems. Attempts to use nox-review exhausted the disk on my laptop.

@alyssais @zimbatm Are we good to merge this, or have I missed a lingering concern?


hotReloadFlutterReassembleMillisecondsAfterLargeChange hot_mode_dev_cycle_macos_target__benchmark regression

https://flutter-flutter-perf.skia.org/e/?begin=1605740041&end=1606414348&keys=Xa755124da5edffa05dde0d36df7a7f93&requestType=0&xbaroffset=22624 shows the peak, although I think the suspect commit is https://github.com/flutter/flutter/pull/70965.
@dnfield This looks like your commit. Can you have a look and confirm? I think it's really a test issue.

That change was to fix the benchmark, it is working as expected now.
Thanks for the heads up though!


Possible to add SWAP Code with VCDS?

Hello, how can I transfer SWAP Codes with VCDS? It is possible, but the forum (https://forums.ross-tech.com/index.php?threads/30123/page-3) says that the information to enter EOL mode is hidden

You would need to open a control module (preferably one you know requires
a mode change prior to some operations) followed by typing:
MxxQ
M = Mode Change
xx = the mode you want.
Q = Quittieren (like the old VAG-1551).
For UDS modules, xx is:
40 = End-of-line
41 = IO Test
4F = Development Mode
81 = Generic Diagnostics
82 = Programming Session
Some modes/control modules require a security access either immediately
before or immediately after the mode change. For the MIBs, mode 4F
should not require a security access code but I don't know about mode 40.
On a side note, MIB SA code S12345 enters mode 4F (Developer Mode) so if
you use that special code at any point it will not be in EOL mode anymore.


Document to document links don't work with sub directories

🐛 Bug Report
I'm trying to use docusaurus with my docs in sub directories as we have a lot of files and want to keep things organised. I'm having trouble getting markdown links to work correct. When I'm linking to another markdown file in the same directory I've found you can only use a relative path. So, dirA/file1.md can like to dirA/file2.md by doing text (incidently my IDE warns me that the file doesn't exist)
docs/
├── assets
│   └── images
│       └── image1.png
├── dirA
│   └── file1.md
└── dirB
    └── file2.md

However, if I have dirA/file1.md referencing dirB/file2.md text then I end up with the link dirA/dirB/file2.md. I've tried absolute links and different ways of putting it together but i cannot get this to work at all.
I've also had issues with trying to reference the images from sub directories. file1.md references image1.png, which i've had to do with /docs/assets/images/image1.png which my IDE tells me is invalid

I think this is related, if not let me know and I will open a new issue.
With this structure:
docs/
└── index.md
        └── user
                └── index.md
                └── another.md

Have a file in docs/index.md
[users](user/index.md)

Now your user/index.md has this
[Another file](another.md)

When I build everything, the link [Another file](another.md) won't link to the HTML version, it still tries to open it with the .md extension and as expected, it breaks. If I switch that .md to .html, it opens the right file as expected.
The documentation is clear on this and it says it replaces the .md and it does for the root directory but not for subdirs.

Could be a regression. Do any of you happen to have a reproducible repo? That will be nice because I wasn't able to reproduce it >.<

@respinoza  When I build everything, the link Another file won't link to the HTML version

You should refer it as [Another file](user/another.md)

So I managed to spend some time and came up with a test case
docs/index.md
---
id: index
title: Index
---

Testing all links

# Test me
[ecosystem/bar](ecosystem/bar.md)

# Test me
[index](index.md)

# Test me
[hydra/bar](hydra/bar.md)

docs/hydra/bar.md
---
id: bar
title: Security Architecture
---

Testing all links

# Test me
[ecosystem/bar](ecosystem/bar.md)

# Test me
[index](index.md)

# Test me
[hydra/bar](hydra/bar.md)

docs/ecosystem/bar.md
---
id: bar
title: Cloud Native Architecture
---

Testing all links

# Test me
[ecosystem/bar](ecosystem/bar.md)

# Test me
[index](index.md)

# Test me
[hydra/bar](hydra/bar.md)

And it all worked perfectly.

I'm going to close this issue.
Please send a reproducible repo for bug report

Did you try without the IDs at the top of the files? I believe that's when it breaks.
We opted to have everything in one level and avoid the issue.

Yep, I did.
If bug persists. Please re-open a new issue with a reproducible demo 😊

I had same issue with a link... Finally filename was just mistyped the path. ;-)

I had same issue with a link... Finally filename was just mistyped. ;-)


Updates

Updated card info bubbles
Updated content page
Added animated fan when content is loading
Added sliders to content page and updated styling
Updated newsletter styling

MVP of the MVP


v-2020.Q3.4 cannot compile spvgen.so | "glslang/build_info.h" file not found

/home/user/git/amdvlk/drivers/spvgen/source/spvgen.cpp:72:10: schwerwiegender Fehler: glslang/build_info.h: Datei oder Verzeichnis nicht gefunden
72 | #include "glslang/build_info.h"
|          ^~~~~~~~~~~~~~~~~~~~~~
Kompilierung beendet.
[31/182] Building CXX object spvgen/external/SPIRV-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate.cpp.o
ninja: build stopped: subcommand failed.
make: *** [Makefile:77: spvgen64.so] Fehler 1
I am having this issue when trying to make a 64bit release build of spvgen.so on Gentoo. Previous versions, including v-2020.Q3.3 work fine. For compilation, I use a master makefile, that fetches the sources and sets up the build environment. I'll attach this aswell.
EDIT: Updated and polished the master makefile; maybe you want to distribute it as an easier way to build the driver?

@DiabeticCrab, at the time you open this ticket, the final revision of v-2020.Q3.4 is not merged to master branch, also, please delete spvgen sources and fetch again. "ninja glslang", this is not needed, you can remove that from makefile you write.

at the time you open this ticket, the final revision of v-2020.Q3.4 is not merged to master branch
I see.
delete spvgen sources and fetch again ... "ninja glslang" ... not needed
Thanks, this fixed the issue. I updated the Makefile
accordingly to automate this when switching between branches. The glslang entry was there as an attempt to workaround the issue but it didn't help anyway. It is now removed.


show quick picker group border

Fixes #100
Earlier

Now

Thanks for your contribution :+1:
I've posted a suggestion in #100 that might be a better solution instead of these borders. Feel free to add your opinion about it. If this might not be a good one I'll merge this PR :smile: