StatefulSets & Persistent Volume Claims

I have found using Persistent Volume Claim mounts are helpful for FAH on K8s as it allows the container to checkpoint work (default is every 15m) and recover state for an existing assignment if the container is terminated.
To do this I have implement the StatefulSet deployment pattern, in order for each container to have its own unique PVC (in a deployment pattern they would all share the same PVC). I am mounting the PVC at mountPath: /var/lib/fahclient . I don't know how much storage is expected/ required by FAH, but I can look into the average utilization on my cluster.
Happy to share my YAML as an example but I have forked a bit for my environment on Google Cloud/Google Kubernetes Engine.

Hi, thanks the the suggestions - all good ideas. That said, I feel it’s better to leave the deployments in this repo stateless.
I’d rather not add storage requirements, as this could complicate things, especially for folks who run a large number of replicas.


Patch 1

Add Apache License

@markjulmar @jamesmhogan

Note we used Apache 2.0 on the old site https://bio.codeplex.com/license

This is Apache 2.0 License

@cpatmoore : Thanks! Only mentioned we used Apache 2.0 at the old site to inform others that this was the same license, didn't mean for it to come off as if this was different.
So, I'm still too much of an open source academic to care much about licenses (or spend time figuring them out... IP fights seems horribly distasteful to me), but I understand licenses are important in a lot of contexts, and I gather we have an open issue on this already.
This pull request solves these issues, which is great.  It is also a verbatim copy of our old license (with some trivial formatting differences, e.g. 1,2,3,4, subheadings become a,b,c,d subheadings, etc.).  All in all, I am not a lawyer but I can't think why this wouldn't be fit for a merge.
@jamesmhogan @markjulmar , if no objections, I will go ahead with the merge tomorrow.

Thanks @cpatmoore


branch v.2.0 created with changes - green deployment

Tests passed ok
Approve the pull request

It's ok
Approved


Castle.Facilities.AspNet.WebApi not on Nuget

According to information in https://github.com/castleproject/Windsor/blob/master/docs/aspnetwebapi-facility.md there should be Castle.Facilities.AspNet.WebApi package on Nuget, but it looks like there is no such package.

Yes, we are still in review and trying help some folks out before we release v5. This will be a major step, so we want to make sure we get this right. Not having internet at home for over a week has not helped :/

Thanks. I didn't notice that it is not released yet. Now it makes sense.


feat: Add unlink icons

Closes #26
Old comment from the thread

For the unlink for the link variant I tried to keep the lines of the link icon.
So this is the link with overlayed over the original link icon.

I followed the Icon guide lines from #171. But it's hard with this one to keep the original lines of the link icon and keep exactly 2 pixels of spacing.

🤔 I'm not too sure about the unlink-2 icon.
What do you think about this for the unlink icon:

<svg
  xmlns="http://www.w3.org/2000/svg"
  width="24"
  height="24"
  viewBox="0 0 24 24"
  fill="none"
  stroke="currentColor"
  stroke-width="2"
  stroke-linecap="round"
  stroke-linejoin="round"
>
  <path d="M18.84 12.25L20.56 10.54H20.54C21.4606 9.58604 21.9651 8.30573 21.9426 6.98018C21.9201 5.65462 21.3725 4.39217 20.42 3.47C19.4869 2.57019 18.2412 2.06739 16.945 2.06739C15.6488 2.06739 14.4031 2.57019 13.47 3.47L11.75 5.18" />
  <path d="M5.17 11.75L3.46 13.46C2.53937 14.414 2.03492 15.6943 2.05742 17.0198C2.07992 18.3454 2.62752 19.6078 3.58 20.53C4.51305 21.4298 5.75876 21.9326 7.055 21.9326C8.35124 21.9326 9.59695 21.4298 10.53 20.53L12.24 18.82" />
  <path d="M8 2V5" />
  <path d="M2 8H5" />
  <path d="M16 19V22" />
  <path d="M19 16H22" />
  <path d="M19 19L21 21" />
  <path d="M3 3L5 5" />
</svg>

What do you think about this for the unlink icon:

I personally prefer ericfennis's version, because it has less "pops"

I tried the unlink icon also with three strokes but It looked a bit messy to me.
here both side by side for comparison

A suggestion from @jletey to create a link-2-off icon as well. (Discussed in the discord channel)
I like the idea, I think it's nice to have them both, both are nice for using.

use cases

The unlink variant is I think nice if you have list of items and you want to use a subtle unlink icon.
And the link-2-off is more a "active/direct/more awaring" way of unlinking, maybe less nice to use in a list, but nicer if you "Disconnect" something.

conclusion So I think we need to implement both.

Good one, I will add some.


Support of the new "image" entity?

Is your feature request related to a problem? Please describe.
no
Describe the solution you'd like
With recent versions HA Core does provide an Image entity.
It would be great, if this integration would also support this new entity type, rather than a camera image
Describe alternatives you've considered
none
Additional context
support propper "image entity" for images - camera entity should be used for cameras, where the image does change based on a camera stream

Duplicate of #33


ValueError: Metadata mismatch found in from_delayed.

It seems that merging multiple delayed dataframes does not work when the dataframes are series of category type.
It seems that the error is coming from the equality of categorical dtypes includes the categories used, which makes this approach to concatenation not work. This came up in the context of intake.
from pandas import DataFrame, Series
from dask.delayed import delayed
from dask.dataframe import from_delayed

a = Series(['a', 'b', 'a'], dtype='category')
b = Series(['a', 'c', 'a'], dtype='category')
da = delayed(lambda x: x)(a)
db = delayed(lambda x: x)(b)

c = from_delayed([da, db])
c.compute()

Error msg
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-17-02c1dd8d067d> in <module>
----> 1 c.compute()

~/mc/lib/python3.7/site-packages/dask/base.py in compute(self, **kwargs)
    173         dask.base.compute
    174         """
--> 175         (result,) = compute(self, traverse=False, **kwargs)
    176         return result
    177

~/mc/lib/python3.7/site-packages/dask/base.py in compute(*args, **kwargs)
    444     keys = [x.__dask_keys__() for x in collections]
    445     postcomputes = [x.__dask_postcompute__() for x in collections]
--> 446     results = schedule(dsk, keys, **kwargs)
    447     return repack([f(r, *a) for r, (f, a) in zip(results, postcomputes)])
    448

~/mc/lib/python3.7/site-packages/dask/threaded.py in get(dsk, result, cache, num_workers, pool, **kwargs)
     80         get_id=_thread_get_id,
     81         pack_exception=pack_exception,
---> 82         **kwargs
     83     )
     84

~/mc/lib/python3.7/site-packages/dask/local.py in get_async(apply_async, num_workers, dsk, result, cache, get_id, rerun_exceptions_locally, pack_exception, raise_exception, callbacks, dumps, loads, **kwargs)
    489                         _execute_task(task, data)  # Re-execute locally
    490                     else:
--> 491                         raise_exception(exc, tb)
    492                 res, worker_id = loads(res_info)
    493                 state["cache"][key] = res

~/mc/lib/python3.7/site-packages/dask/compatibility.py in reraise(exc, tb)
    128         if exc.__traceback__ is not tb:
    129             raise exc.with_traceback(tb)
--> 130         raise exc
    131
    132     import pickle as cPickle

~/mc/lib/python3.7/site-packages/dask/local.py in execute_task(key, task_info, dumps, loads, get_id, pack_exception)
    231     try:
    232         task, data = loads(task_info)
--> 233         result = _execute_task(task, data)
    234         id = get_id()
    235         result = dumps((result, id))

~/mc/lib/python3.7/site-packages/dask/core.py in _execute_task(arg, cache, dsk)
    117         func, args = arg[0], arg[1:]
    118         args2 = [_execute_task(a, cache) for a in args]
--> 119         return func(*args2)
    120     elif not ishashable(arg):
    121         return arg

~/mc/lib/python3.7/site-packages/dask/dataframe/utils.py in check_meta(x, meta, funcname, numeric_equal)
    650     raise ValueError(
    651         "Metadata mismatch found%s.\n\n"
--> 652         "%s" % ((" in `%s`" % funcname if funcname else ""), errmsg)
    653     )
    654

ValueError: Metadata mismatch found in `from_delayed`.

Partition type: `pandas.core.series.Series`
+----------+----------+
|          | dtype    |
+----------+----------+
| Found    | category |
| Expected | category |
+----------+----------+

Thank you for the excellent issue @CJ-Wright .
Looking into the code a bit it looks like this strictness in check_meta was intentional at some point:
https://github.com/dask/dask/blob/8001ee2e258f3f27d40e78990c5b98d44edc138e/dask/dataframe/utils.py#L593-L602
And it looks like we enforce the metadata check in from_delayed here:
https://github.com/dask/dask/blob/8001ee2e258f3f27d40e78990c5b98d44edc138e/dask/dataframe/io/io.py#L565-L570
So one answer to this issue is "make sure that all of your dataframes are consistent with each other".
However, many Dask Dataframe algorithms are robust to mismatched categoricals.  Probably in this case you would want to tell Dask dataframe that you're not sure what the categories of your dataframe are. The dd.from_delayed function takes a meta= keyword, where you can provide metadata for your full dataframe.  If you don't provide something then it computes the first partition and uses that.  You might provide metadata, but with explicitly unknown categories.  It looks like there is a function in dd.utils.clear_known_categories that might be helpful?  (I actually don't know this part of the code at all, so I'm just guessing).
Hopefully some of that provides context here.  If you have suggestions on how this can be fixed/improved generally, that would also be welcome.

Hmm ok. Would it be possible to have a boolean flag on from_delayed which says don't check the meta? I tried using the clear_known_categories function, but that got rid of my categories all together.

Yes, that seems reasonable
On Thu, Sep 26, 2019, 12:12 PM Christopher J. Wright <
<EMAIL_ADDRESS>wrote:

Hmm ok. Would it be possible to have a boolean flag on from_delayed which
says don't check the meta? I tried using the clear_known_categories
function, but that got rid of my categories all together.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/5435?email_source=notifications&email_token=AACKZTEIAJHLCZSNIBSBAKTQLTUQDA5CNFSM4I24QEUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7WJYZA#issuecomment-535600228,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACKZTHWT5K6DDR6XPCIGBLQLTUQDANCNFSM4I24QEUA
.

Would you like a PR to that effect?

Sure
On Thu, Sep 26, 2019 at 12:15 PM Christopher J. Wright <
<EMAIL_ADDRESS>wrote:

Would you like a PR to that effect?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/5435?email_source=notifications&email_token=AACKZTB34LEH5VVXHTBNCS3QLTU3JA5CNFSM4I24QEUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7WKCBI#issuecomment-535601413,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACKZTC5LLESCH3N2AHX54DQLTU3JANCNFSM4I24QEUA
.

I'm getting that same error when trying to read a json file with include_path_column flag
ValueError: Metadata mismatch found in `from_delayed`.

Partition type: `pandas.core.frame.DataFrame`
+--------+----------+----------+
| Column | Found    | Expected |
+--------+----------+----------+
| 'path' | category | category |
+--------+----------+----------+

Have you tried setting verify_meta=False?

Have you tried setting verify_meta=False?

I tried but then i got this new error: TypeError: read_json() got an unexpected keyword argument 'verify_meta'. My dask version is 2022.02.1
I checked the read_json and i found this:
        parts = [
            delayed(read_json_file)(
                f,
                orient,
                lines,
                engine,
                include_path_column,
                path_converter(f.path),
                path_dtype,
                kwargs,
            )
            for f in files
        ]

    return from_delayed(parts, meta=meta)

The from_delayed function at the end does not receive any additional argument, I think that's why I'm getting the ValueError

ah yeah that makes sense. Feel free to open a pull request if you like!


different result between cupy.sort and numpy.sort with NaN

Conditions (you can just paste the output of python -c 'import cupy; cupy.show_config()')

CuPy version: cupy-cuda100==7.4.0
Python version: 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 10:41:24) [MSC v.1900 64 bit (AMD64)]
OS/Platform: win32
CUDA version: V10.0.130

Code to reproduce:

`
import numpy as np
import cupy as cp
arr_np = np.array(
[[0.77],
[0.00],
[np.nan],
[0.50],
[0.85]]
)
arr_cp = cp.array(arr_np)
print(cp.sort(arr_cp, axis=0))
print(np.sort(arr_np, axis=0))
`

Outputs:
Result of cupy.sort:
[[0.  ]
[0.77]
[ nan]
[0.5 ]
[0.85]]
Result of numpy.sort:
[[0.  ]
[0.5 ]
[0.77]
[0.85]
[ nan]]

Hi @Sean6028, I recently fixed it in v8.0.0b2 (#3291). Could you give it a try?

Hi @Sean6028, I recently fixed it in v8.0.0b2 (#3291). Could you give it a try?

Sure. It works well in v8.0.0b2. Thank you.

Glad to know 🙂 Thanks, Sean.


Increasing code coverage

Coverage increased (+2.9%) to 95.0% when pulling e0da400874af6d151f4553631c2760331e9ff684 on increasingCodeCoverage into 1fdfb5edf8f1ea63176bb0718754fe369b47531e on master.

Coverage increased (+2.9%) to 95.0% when pulling c7123c1c350efc5c005d1b3a1a5553b8dc7d3d30 on increasingCodeCoverage into 1fdfb5edf8f1ea63176bb0718754fe369b47531e on master.

Coverage increased (+2.9%) to 95.0% when pulling c42d001f7b9a8008f9d4b1a3ce7a879bfd4e3d43 on increasingCodeCoverage into 1fdfb5edf8f1ea63176bb0718754fe369b47531e on master.


Add Era Writing

This will create a CSV every era, and also include the era points for all validator during the era.

kusama_validators_eras.zip
Here's a zip of csv files that this generates for example

Thank you @wpank, there are a few conflicts with the w3f master branch though. You could either solve them, or I'll implement your changes manually in another branch

I'll close this in favor of #14


add env viriable RESCHEDULE_MONITORING_STACK for providers that has no…

… persistence for prometheus
Description
Fixes

Can one of the admins verify this patch?


Fix namespace collision with helper module

Description
This change ensures we include the helpers module using the top-level namespace, as the custom resource itself is a class with the name ChefHandler.
Issues Resolved
#62
Check List

[x] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[x] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

@tas50 Any chance you can chime in on this? We'd love to see if this can be fixed upstream before we move to a local fork to restore our unit tests.

Looks good to me. Thanks for the tests as well.


Allow dashboard_url in response to update service instance

Validation through implementation of OSB 437.
This is to allow Dashboard URL to be returned in the response body to a PATCH /v2/service_instances/:service_id request.

Coverage decreased (-0.3%) to 91.571% when pulling c84e1f2ac399460bca68e77b9fb59562adfb5e2c on jberkhahn:update_dashboard into 2c5a685a8470e899dd32b9bd5de76ace98ab40bb on pmorie:master.

@pmorie
Took a look and fixed some stuff. I left the latest API version set to 2.13 as 2.14 technically isn't out yet.
Thanks!

Thanks @jberkhahn


Finalize Botkube CLI migration tool

Overview
This is a follow-up of https://github.com/kubeshop/botkube/issues/1067
Acceptance Criteria

Address comments from: https://github.com/kubeshop/botkube/pull/1119
[ ] Implement UI pages on Botkube Cloud

Error state (https://www.figma.com/file/QNcHtrYHsRdjOhTfClMmmE/Botkube-SaaS?type=design&node-id=409-17173&t=jMNOZjtGpWp2u0Tc-0)?

[ ] Consider using GCS to publish CLI?
[ ] Make sure this job is ran on Cloud main (dispatch event to trigger the job)

Add some assertions
Introduce Slack notifications

[ ] Update docs -> @mszostok will do this

I know that we also discussed nesting cloud-related commands under cloud. So instead of botkube login, we should have botkube cloud login. The same applies to migrate. What do you think?
This way, we can clearly state in the documentation that if you want to work with the cloud, you always need to use botkube cloud login.
However, I'm not sure about the installation process. We could simply use botkube install, and if someone specifies, for example, an apiKey, we will fail if other flags, such as a values file, are provided. Another option is to have:

botkube install to support installing the OS Helm chart while allowing changes to all settings.
botkube cloud install as a simplified version of botkube install, where only a few dedicated flags are exposed, as the rest will be taken from the cloud.

Since we will be logged in, we could also enhance the installation process with data from the cloud (e.g., validate that the deployment status was changed to connected, check that you are installing a deployment that belongs to your account/org, etc.).


ionic run android --device --livereload no longer recompiles code on change

Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Short description of the problem:
It seems that after I updated to latest (0.0.44) and updated the package.json to what the changelog indicated, the ionic run android --device --livereload command no longer recompiles code on change, neither it builds (ideally it should run a dev build since the device I'm deploying to is connected to my machine).
So in order to have the app running on a device, I have to run npm run ionic:serve before I run the described command in another terminal window.
What behavior are you expecting?
The command should make a dev build before it deploys to device and then recompile code every time there is a change in source code.
Steps to reproduce:
1.
2.
3.
Here is the relevant part of my package.json:
"scripts": {
	"ionic:build": "ionic-app-scripts build",
	"ionic:serve": "ionic-app-scripts serve",
	"ionic:clean": "ionic-app-scripts clean",
	"ionic:lint": "ionic-app-scripts lint"
},
"config": {
	"ionic_webpack": "./config/webpack.config.js",
	"ionic_copy": "./config/copy.config.js"
}

Which @ionic/app-scripts version are you using?
0.0.44
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

+1 a have the same problem :disappointed:

i have the same issue and its really hard to code/debug when we have to recompile everything and run it again.

Actually, after updating everything (including ionic-cli), it seems like everything is working now.
{
	"name": "test",
	"version": "0.0.0",
	"description": "",
	"keywords": [],
	"homepage": "",
	"license": "MIT",
	"scripts": {
		"ionic:build": "ionic-app-scripts build",
		"ionic:serve": "ionic-app-scripts serve",
		"ionic:clean": "ionic-app-scripts clean",
		"ionic:lint": "ionic-app-scripts lint"
	},
	"config": {
		"ionic_bundler": "rollup",
		"ionic_rollup": "./config/rollup.config.js",
		"ionic_copy": "./config/copy.config.js"
	},
	"dependencies": {
		"@angular/common": "2.1.1",
		"@angular/compiler": "2.1.1",
		"@angular/compiler-cli": "2.1.1",
		"@angular/core": "2.1.1",
		"@angular/forms": "2.1.1",
		"@angular/http": "2.1.1",
		"@angular/platform-browser": "2.1.1",
		"@angular/platform-browser-dynamic": "2.1.1",
		"@angular/platform-server": "2.1.1",
		"@ionic/storage": "1.1.6",
		"core-js": "^2.4.1",
		"ionic-angular": "2.0.0-rc.3",
		"ionic-native": "^2.2.6",
		"ionicons": "3.0.0",
		"potion-client": "^0.21.5",
		"reflect-metadata": "^0.1.3",
		"rxjs": "5.0.0-beta.12",
		"zone.js": "^0.6.26"
	},
	"devDependencies": {
		"@ionic/app-scripts": "0.0.45",
		"@types/node": "^6.0.46",
		"codelyzer": "^1.0.0-beta.4",
		"cordova": "^6.4.0",
		"ionic": "^2.1.12",
		"rollup-plugin-replace": "^1.1.1",
		"tslint-ionic-rules": "^0.0.8",
		"typescript": "2.0.10"
	},
	"engines": {
		"node": ">= 6.4"
	},
	"cordovaPlugins": [
		"cordova-plugin-device",
		"cordova-plugin-console",
		"cordova-plugin-whitelist",
		"cordova-plugin-splashscreen",
		"cordova-plugin-statusbar",
		"ionic-plugin-keyboard",
		"ionic-plugin-deploy",
		"cordova-plugin-image-picker",
		"cordova-plugin-camera",
		"cordova-plugin-compat",
		"phonegap-nfc"
	],
	"cordovaPlatforms": [
	]
}


ci: fix build with autoware (pcl_ros)

Description

This PR fixes GitHub Actions (build_with_autoware) error.

Related links

GitHub Actions: https://github.com/tier4/caret/actions/runs/4983099264
Issue: https://github.com/tier4/caret/issues/89
JIRA (internal link): https://tier4.atlassian.net/browse/RT2-715
Document: https://github.com/tier4/CARET_doc/pull/186

Notes for reviewers

GitHub Actions passes with this PR

https://github.com/tier4/caret/actions/runs/4989956729

Pre-review checklist for the PR author

[x] I've confirmed the contribution guidelines.
[x] The PR is ready for review.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR has been properly tested.
[ ] The PR has been reviewed.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] (Optional) The PR has been properly tested with CARET_report verification.
[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@nabetetsu
Could you review this PR?

@takeshi-iwanari
Please let me confirm just to be sure.

Is the change of export_pcl_rosExport.cmake unnecessary after Iron because the trace point is added to ROS2?
It looks like it's been that way for a while. But is it unnecessary to delete or rewind the backup file of export_pcl_rosExport.cmake?
Since both libtracetools.so and rclcpp support are for the same file (export_pcl_rosExport.cmake), how about copying the backup to a single location and just adding a sed command for rclcpp in the same RUN context?

@nabetetsu

Is the change of export_pcl_rosExport.cmake unnecessary after Iron because the trace point is added to ROS2?

Yes.
Note that this Dockerfile is for Humble. When Iron is released, a new docker and CI for Iron will be created.

It looks like it's been that way for a while. But is it unnecessary to delete or rewind the backup file of export_pcl_rosExport.cmake?

Since this is on Docker, all the changes will be removed. So whether deleting or restoring it doesn't matter. Also, removing reference to rclcpp may not have any impact for normal usage.
I just made backup files for a good manner.

Since both libtracetools.so and rclcpp support are for the same file (export_pcl_rosExport.cmake), how about copying the backup to a single location and just adding a sed command for rclcpp in the same RUN context?

I'd like to keep them separated. It's because description in the dockerfile is kind of sample to build Autoware + CARET, so it's better to describe each process.


add multiline function to prompt temple editing box

The current prompt temple editing only support single line. Making it multiline available will help formatting structured prompts and ChatGPT will understand it better. Could be adding a shortcut key (like cmd+return) to start another line.

I just found it can be done by shift+return


[ENG-5524] Fix Middleware errors

Purpose
Fix middleware errors
Changes
Because for django-cors headers upgrade, Cors Middleware from this library now uses new style middleware instead of Django 1.10 style middleware.
QA Notes
Would be great to check CORS on staging
Documentation

Side Effects

Ticket
ENG-5524

Merged and closed as of 18343d3. Thank you!


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-31-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4668

Questions ?
Please refer to the Backport tool documentation


pyqt5 was unexpected at this time.

After running the following code: For pyqt5, pyrcc5 -o libs/resources.py resources.qrc I keep getting the following error.

pyqt5 was unexpected at this time.

Before this, the only command that I have ran is pyrcc4 -py3 -o resources.py resources.qrc

OS: Windows
PyQt version: 5

nvm, i fixed it by running the following:
pyrcc5 -o resources.py resources.qrc
pyrcc5 -o libs/resources.py resources.qrc
After that I was able to run the program with no issues.


Dynamic location of the generated file "isar.g.dart"

Currently when "flutter pub run build_runner build" is executed, the file isar.g.dart is generated in the LIB folder. This works fine, but when working under some architecture such as ddd, each file has to be placed within a corresponding folder to be able to respect the principles of architecture.
Currently I have manually moved the file isar.g.dart to the corresponding folder, for example:
From
lib -> isar.g.dart
To
lib -> shared -> infrastructure -> isar -> isar.g.dart
The problem comes when there are many Isar domains, I have to re-import all of them.

The solution could be, maybe a parameter can be passed when generating the file isar.g.dart, or maybe put the configuration in the file 'pubspect.yaml' and be able to configure some parameters, for example:
...
...
isar:
  path: shared/infrastructure/isar/ #default /
...
...

I come from Hive, and the truth is that I am very happy with all the improvements that Isar brings :grinning:
Happy Codding :yellow_heart:

Related: https://github.com/Dart-Code/Dart-Code/issues/548#issuecomment-932830758

I think the changes may need to be here?

https://github.com/isar/isar/blob/d7dbb532ece0e81255749714e2ddfce11a2c8779/packages/isar_generator/build.yaml#L21
https://github.com/isar/isar/blob/d7dbb532ece0e81255749714e2ddfce11a2c8779/packages/isar_generator/lib/src/code_gen/isar_code_generator.dart#L31
https://github.com/isar/isar/blob/d7dbb532ece0e81255749714e2ddfce11a2c8779/packages/isar_generator/lib/src/code_gen/isar_code_generator.dart#L63

This could help!
https://pub.dev/packages/drtimport

Fixed with stable release


Freelancer smart contract

it has three functions:
Employer deposit eth in smart contract, deposit().
Freelancer upload data, like a link with his work, upload().
Withdraw ether. withdraw().
Please assign this to me . i want to work on this .
Thanks

Great idea ,start working on this @Omega12Pirme

Closing in  preparation of SWOC'23

@Vikash-8090-Yadav can you please assign this task to me? I am from SWOC participants.

Yah sure ! @suyashmadhesia Start working on this .

@Vikash-8090-Yadav Hey I have created the smart contract for freelancer can you tell me where should I place this code in the level  1 or level 2 or level 3 directory of this repo? Should I have to write comments in the code or just explain the code in readme works?

include this in level 1.

Write comments if necessary . And readme is important !!


Abdou

getting started with home and registration pages UI

i added the events page, also i fixed an issue that users   create events from other communities, and I extended the time of the jwt token expiration


Action succeeds even when the command exits with an error code

This issue can be reproduced with a very simple action - the following succeeds when it should fail:
      - name: Success against all odds
        uses: garygrossgarten/github-action-ssh@master
        with:
          command: bash -c 'exit 1'
          host: ${{ secrets.HOST }}
          username: ${{ secrets.USERNAME }}
          password: ${{ secrets.PASSWORD }}

Any update? This one really bunkers. Maybe we can provide some help?)

PR #16 was merged and is an improvement to this issue, but in my testing it only resolved it when the final command exits with an error code.
If you pass multiple commands to the action, it will only exit with an error code if the last command fails.
Action completes successfully:
- name: Success against all odds
   uses: garygrossgarten/github-action-ssh@master
    with:
    command: |
      lsTYPO
      ls -lah
    host: ${{ secrets.HOST }}
    username: ${{ secrets.USERNAME }}
    password: ${{ secrets.PASSWORD }}

Action returns an error:
- name: Success against all odds
   uses: garygrossgarten/github-action-ssh@master
    with:
    command: |
      ls -lah
      lsTYPO
    host: ${{ secrets.HOST }}
    username: ${{ secrets.USERNAME }}
    password: ${{ secrets.PASSWORD }}

This is sad :( Since chains of libs that this package require ( node-ssh -> ssh) provide the API that reacts on the last command's exit code.
interface SSHExecCommandResponse {
    stdout: string;
    stderr: string;
    code: number | null;
    signal: string | null;
}

I personally chosen to use simple bash script and pipe it into tar. Copying without tar (let's say using this plugin) takes 4 min. Copying via tar takes ~15 seconds.
    - name: Setup ssh
        run: |
          mkdir -p ~/.ssh
          echo "${{ secrets.ID_RSA }}" > ~/.ssh/id_rsa
          chmod 600 ~/.ssh/id_rsa
          ssh-keyscan -p ${{ secrets.PORT }} ${{ secrets.HOST }} >> ~/.ssh/known_hosts
      - name: Copy static files to destination server
        # Copying files by packing them into non-compress archive is a lot faster. It takes 8 seconds to copy all files instead of 4 minutes with packages like garygrossgarten/github-action-scp@release
        run: tar c dist/ | ssh ${{ secrets.SSH_USER }}@${{ secrets.HOST }} -p ${{ secrets.PORT }} "rm -rf /srv/http/vue/dist && tar x -C /srv/http/vue/"


Include Icon Path in Summary Result

I have a wrapper around my autopkg run's and I have a use for the icon's path in that post logic.  The value is already known during the Processor run, this change will simply include the policy_icon_path value in the jamfpolicyuploader_summary_results key so that it can be extracted easily.

Hey Graham, I have updated this PR to match the current code base and after looking at the code a second time....I see it could be greatly simplified, so I have done that.
If you would be willing to merge this, I could stop running a customized version finally.  😁

Hi, you'll need to look at the Refactor branch I'm afraid. I moved all the functions of each processor into "Base" processors to avoid so many trust-updates in the future.

Ah, I merged the latest changes in main into this old branch.   I don't see a "refactor" branch....unless I'm missing something..?

Oh yes, I forgot that I merged the branch to main already! Cool, then it's easy. I should be able to take a look tomorrow.

Thank you sir!


using TextEditingController in flutter_html_editor

Hi,
Is there any way to save the String value directly from the TextField  into a controller (TextEditingController) without using  keyEditor.currentState.getText()
I need to use a controller because sometimes I got null value when I used this:
 final txt = await keyEditor.currentState.getText();
It will be good if you add it like this:
HtmlEditor(
                controller: comment_control,
                hint: "Your text here...",
                //value: "text content initial, if any",
                key: keyEditor,

                height: 400,
              ),

Thanks for good library

I got the following error: how to fix it?
E/flutter ( 6639): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: NoSuchMethodError: The method 'getText' was called on null.
E/flutter ( 6639): Receiver: null
E/flutter ( 6639): Tried calling: getText()

You can use my package if you are still looking for a fix, I have controller implemented.

@tneotia  I tried your package now, but it still a problem, for example if I have a ListView with many widgets and I put your package at the beginning of the list. when I write something, then scroll down at the end of the ListView and scroll up to the package, I see that your package reload it self and the text I wrote has been removed.
The controller dont save the text automatically. In this case I need to put the package in separat page and put save button to save the text and go back to the previews page.

Can you make a bug report in my repo with the code for your example? I think it is probably disposing the webview when it is scrolled away because there are a lot of widgets but maybe I can prevent that.


add template HTML to $templateCache using grunt-html2js

Made grunt-html2js plugin functional. Fetching template from $templateCache rather than getTemplate function
Also added bower_components to gitignore file

Have you verified this change well? .tpl file would go in dist too, right?
I remember there were some path related issues when I tried using html2js.

@softvar I have tested the above changes by building & running it via a local server. They work as intended. You can also try it yourself on the html2js branch of my fork. To clear any doubts that might arise, let me explain how I have gone about implementing the html2js grunt task.
Currently, when running the html2js task, it generates a file named templates.js in the src folder which contains the HTML template of the directive inserted into the $templateCache. Previously, as no module option was supplied to the html2js task in Gruntfile, it added the $templateCache to a module named templates-main (By default, module name to which the $templateCache is added, is named templates-TARGET. In our case, the target name was main). As this module was not added as a dependency to main module (aka wingify.timePicker), even if we tried to mention the HTML template in templateURL , it would throw a 404 error (As the $templateCache and the module to which it belonged wasn't included as an dependency, therefore Angular started to look for the actual HTML file at a particular location, which wasn't present there).
To solve this issue, first I explicitly named the module generated by html2js task to html2js (Refer to this). After that, I added that module as a dependency in the main module wingify.timePicker (Refer to this ). Now the template's HTML (required via the templateURL) would be fetched via $templateCache rather than the actual HTML file.
Now the the next step was to make the templates.js file available in the dist folder somehow. To solve this problem, I created the dev target under uglify task (Refer to this) to concatenate templates.js and angular-time-picker.js into angular-time-picker.js (basically I merged the file containing the $templateCache into the file containing the main directive, so that there isn't any problem with main module failing to load because of not finding the module containing $templateCache , on which it depends)
The presence of .tpl in the name of JavaScript file normally indicates that the template HTML (present in $templateCache) is included inside that file. The absence of .tpl from the file name normally means, that the file only includes source code but the template HTML (in form of $templateCache) isn't included in it. What I have done above, is include the directive's template HTML (in form of $templateCache) in angular-time-picker.js directly rather than include it in a file named angular-time-picker.tpl.js

@softvar Sorry for bugging you, let me know in case you want anything changed or found something lacking in this PR. Will be happy to do those changes

Hey @pra85
Sorry for reaching out late.
Thanks for the patch. It works perfectly! 👍

https://github.com/wingify/angular-time-picker#contributors 😄


Measure problematic package(s)

Awesome program, though even after applying this I still have hundreds of thousands of packages haha and it takes about 15s to run goimports. It would be awesome to have some output that lets you know which are wasting time, I could probably remove a lot of them.

Not really sure what to suggest or how I can help. I don't have that problem exactly, so it will be difficult for me to reproduce. You can try inspecting the output of goimports -v <<<$'package main\nvar _ = thisPackageDoesNotExist328955Z828592.X()', for example, which might give you a hint.
Do you have lots of go code checked out? What does your directory structure look like? Can you give a hint of the number of files, number of go projects, etc?
What does goimports-update-ignore report at the moment?

Would you be interested in a pull-request for --measure-only to maybe show some stats at different depths? I did an ignore at a depth of 10 and still get:
2016/07/18 15:05:10 Ignored 857 directories. goimports considers 169092 directories in 24887ms (cpu=19776ms).

Very much so :)

Hi @tj. I presume you found a decent alternative workaround, so I'm going to close this for now since there is nothing immediately actionable here. Pull requests are welcome though! :)


Error When Specific Courses Are Being Enrolled

Describe the bug
Error When Specific Courses Are Being Enrolled
Error Info
Traceback (most recent call last):
File "udemy.py", line 544, in main1
File "udemy.py", line 419, in auto
File "udemy.py", line 335, in get_catlang
KeyError: 'primary_category'
Image :

With This Error, The app stops working!
Please Fix It

#34


Is it possible to have a module override a view under resources/views

Hi,
Struggling to see how I can replace a base view with that of a module, e.g. replace product.blade.php from resources/views with an equivalent from a custom module?  I'd rather not modify the core file, if I can help it, as that kind of defeats the purpose of using a module to add the functionality.  I had envisioned the module kind of overlaying the customized view to add the additional functionality.
Any help is appreciated!
Cheers,
Chris

Yes, it's possible, it's done in AsgardCMS. You can take a look at that.

I'll close this due to inactivity.

May I know how to make it work on the above matter? I  am a newbie for Laravel, PHP and laravel-modules. I have an existing project which uses Laravel 8 and PHP version 7.4. I installed laravel-modules on it and try to override test.blade.php under resources/views/test/ by creating the same file structure in Module such as Resources/views/test/test.blade.php but it's not working.
Can someone help on this, thanks


Add note to README.md on contributing to the reference

I recently fixed a formatting error in the p5.js docs and one of the issues I encountered was not knowing how to regenerate the docs from the p5 source code. My first instinct was to look through this repo, but I wasn't able to figure it out. Nobody in the coding train slack seemed to know how it was done either. I happened to stumble upon the inline documentation wiki page and figured it out.
Having this in the README.md would help others like me that want to contribute, but don't know how.
Have a great day!

thanks!


Freeze after stopping running task dotnet run watch

System Info:

VSCode Version: 1.51.0
OS Version: Windows 10 Version 2004 (OS Build 19041.572)

Steps to Reproduce:

Create a simple ASP.NET Core 3.1 application
Create a Task to run with watch (code below)
F1 - Run Task (select watch)
Change something on source code to trigger recompilation
After the recompilation F1 - Stop Task (watch)

The VSCode freeze and after a while ask for close or wait

Does this issue occur when all extensions are disabled?: Yes
Task Code
{
    "version": "2.0.0",
    "tasks": [
         {
            "label": "watch",
            "command": "dotnet",
            "type": "process",
            "args": [
                "watch",
                "run"
            ]
        }
    ]
}

Tried to generate report without no luck

Does the issue still occur if you use the following setting?
	"terminal.integrated.windowsEnableConpty": false,

Do you have any task or terminal settings set?

Does the issue still occur if you use the following setting?
	"terminal.integrated.windowsEnableConpty": false,

No the issue has been fixed, what do the setting ?

Do you have any task or terminal settings set?

I have this terminal settings
"terminal.integrated.shell.windows": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",

Since the issue does not occur with windowsEnableConpty set to false, this is a duplicate of https://github.com/microsoft/vscode/issues/76548


Can't use multiple files as Handlebars template passed to “cssTemplate" option

I would use the original scss-handlebars templates you provide (‘css_maps_retina.template.handlebars', ‘css_maps.template.handlebars’, ‘’, ‘css_retina.template.handlebars', 'css.template.handlebars') and change two things (add ‘display: inline-block;’ to all icons and prepend ‘social-icon-‘ to each icon class name.
I have to do these changes on the original files (located in 'node_modules/gulp.spritesmith/node_modules/spritesheet-templates/lib/templates’) because  gulp.spritesmith option “cssTemplate" let me to choose only one template file and not all four templates…
Any hint?
Thanks!

I believe this might be getting caused by the templates overwriting each other:
https://github.com/twolfson/gulp.spritesmith/blob/5.0.1/lib/gulp-spritesmith.js#L322-L330
However, we will need to triage it. Unfortunately, I don't have time to do that right now but I will take care of it by the end of the weekend.
In the interim as a workaround (if that is the problem), then defining custom templates by requiring templater should work. Here's an example:
// Register custom templates
var templater = require('templater');
templater.addHandlebarsTemplate('custom_maps_retina',
  fs.readFileSync('my_css_maps_retina.template.handlebars'), 'utf8'));

// Use `gulp.spritesmith` with custom template
spritesmith({
  // imgName, cssName,
  cssFormat: 'custom_maps_retina'
});

Note to self: A few options (1) Update spritesheet-templates to accept dynamic templates (i.e. without a name). (2) Update gulp. and grunt- to use params.cssFormat as override for cssTemplate and add assert in templater about templates already being defined.

Upon re-reading the initial issue, could you explain why you need 4 separate templates?
For reference, gulp.spritesmith supports custom templates via a filepath passed to cssTemplate as well as inheritance from existing templates:
https://github.com/twolfson/gulp.spritesmith/tree/5.0.1#spritesmithparams
https://github.com/twolfson/gulp.spritesmith/tree/5.0.1#templating
https://github.com/twolfson/gulp.spritesmith/tree/5.0.1#handlebars-template
https://github.com/twolfson/gulp.spritesmith/tree/5.0.1#handlebars-inheritance

Because if I pass to "cssTemplate" a "mydir/css.template.handlebars", it gets this template, but it read the partials (‘css_maps_retina.template.handlebars', ‘css_maps.template.handlebars’, ‘’, ‘css_retina.template.handlebars') from 'node_modules/gulp.spritesmith/node_modules/spritesheet-templates/lib/templates’ path and not from mkdir''...

I don't fully follow. Can you create a gist (gist.github.com) of your configuration, template, and output you are seeing?

Closing issue due to 2 months of inactivity


Not playing music in 1.19.2 Version

So I'm using the 1.19.2 version. The mod is properly installed, and the buttons are mapped out, but I cant control the music at all. I can alter the settings in its option page, but it doesn't actually alter anything. Actually, I've noticed that the music plays a lot less. Not to mention, the resource packs to remove tracks aren't compatible with the version itself.

did u go into the settings and turn the mod on? for some reason i decided to have it off by default... that will change in the update I am working on rn

I did! Unless you mean the games settings and not Mixtape's settings.

Could you include a screenshot of ur debug screen?

Yeah! Just uh... tell me how to do that, if you dont mind. I'm new to the whole pc gaming thing

You just need to be in-game and press f3!

Here you go, hope that helps.

Everything looks all correct there. If u were to press the skip button, mixtape would still make you wait the full time until the next song, because you haven't set the times individually for each music type. I would recommend setting the delays to 0 if you want music to constantly happen.

That got it working! Thank you, I guess the problem was just me all along. Sorry about that. Just curious, are the numbers set to ticks, or seconds?

They're ticks!
Its not ur fault 😭 I just didn't make it very obvious how it all works. In the later versions there's a toggle in the main config tab that lets u turn of delays on all of them which makes it more understandable.

That's fair. But issues aside, I just wanted to say how great this mod is. I spent like, 20 minutes searching for something that would allow me to control how often the music plays, and I was surprised by how few mods actually bothered with the music at all. So thanks for making this, its great so far. Definitely one of the few I'll keep up with.


Start tracking methods in the indexer

Depends on being able to keep track of class/module hierarchy.
Start keeping track of method definitions in the indexer. Things to watch out for

Keeping track of argument names and types (optional, named, etc)
Keeping track of regular methods vs singleton methods
Keeping track of attributes (attr_reader, attr_accessor, etc)

Related work so far:

https://github.com/Shopify/ruby-lsp/pull/1043
https://github.com/Shopify/ruby-lsp/pull/1113
https://github.com/Shopify/ruby-lsp/pull/1121


Case: change directory

this('..')() acts equivalent to this('cd ..').
this('..'); has no effect on the path.

Specify as node test #12


Spanish Linkedin Courses

Hi,
Would it be possible to add content somewhere and link to these courses?

Quarkus Esencial
Quarkus Avanzado

Hi @karesti, we only translate the webpage to spanish, we don't modify the content. I think the best option is to ask @maxandersen about it.
Regards

Hi, thanks @rdnovell yes I've seen with him that is hard or not possible. No problem!


Voicing.js to run on ResponsePacket

Over in https://github.com/phetsims/scenery/issues/1280, @jessegreenberg and I saw that ResponsePacket and Voicing.js were doing the same thing, but duplicated. With a minor refactor, Voicing can run on ResponsePacket to hold its responses and options. This will help in the understanding that ResponsePacket is the central way to split out voicing levels across the entire feature.

I'll work on this, commits coming soon.

This work exposes many bugs currently in sims. We had been setting things like Voicing.voicingNameResponse before initialize all over the place, but since we are in javascript, it didn't care. With the refactor, it is now trying to access Voicing.voicingResponsePacket.nameResponse, but the packet is null. I apprecitate the load failures so I can just fix them as they come up!

Alright, I fixed https://github.com/phetsims/scenery/issues/1283#issuecomment-992800551 in JT, Friction, Quad, Joist, and GFLB. All sims seem to be working better when accessing Voicing.voicingResponsePacket in my local copy. Commits coming soon after a bit more testing.

I decided against changing any of the public API, for example, the option is still called, voicingIgnoreVoicingManagerProperties which feels good to me. @jessegreenberg do you think there is anything else here?

Some really great things happened in this issue. Thanks for fixing the bug identified in https://github.com/phetsims/scenery/issues/1283#issuecomment-992800551. The change to use ResponsePacket instead of duplicating those fields is a great improvement.
This can be closed.


CF API returns 500 if UAA server certs secret not provided

As part of our efforts to eliminate the internal certificate from cf-for-k8s, we tried to deploy without providing a value for the uaa.serverCerts.secretName property. While everything deployed successfully, we found that we received an error from the cf create-org command when running our smoke-tests. The logs from the cf-api-server pod showed this stack trace:
Unexpected error while processing request: system lib
        /usr/local/lib/ruby/gems/2.5.0/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb:59:in `add_file'
        /usr/local/lib/ruby/gems/2.5.0/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb:59:in `call'
        /usr/local/lib/ruby/gems/2.5.0/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb:59:in `block (2 levels) in <class:Store>'
        /usr/local/lib/ruby/gems/2.5.0/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb:245:in `add_trust_ca_to_store'
        /usr/local/lib/ruby/gems/2.5.0/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb:236:in `add_trust_ca'
        /cloud_controller_ng/lib/cloud_controller/uaa/uaa_token_decoder.rb:127:in `http_client'
        /cloud_controller_ng/lib/cloud_controller/uaa/uaa_token_decoder.rb:116:in `fetch_uaa_issuer'
        /cloud_controller_ng/lib/cloud_controller/uaa/uaa_token_decoder.rb:111:in `block in uaa_issuer'
        /cloud_controller_ng/lib/cloud_controller/uaa/uaa_token_decoder.rb:133:in `with_request_error_handling'
        /cloud_controller_ng/lib/cloud_controller/uaa/uaa_token_decoder.rb:110:in `uaa_issuer'
        /cloud_controller_ng/lib/cloud_controller/uaa/uaa_token_decoder.rb:85:in `decode_token_with_key'
        /cloud_controller_ng/lib/cloud_controller/uaa/uaa_token_decoder.rb:66:in `block in decode_token_with_asymmetric_key'
        /cloud_controller_ng/lib/cloud_controller/uaa/uaa_token_decoder.rb:65:in `each'
        /cloud_controller_ng/lib/cloud_controller/uaa/uaa_token_decoder.rb:65:in `decode_token_with_asymmetric_key'
        /cloud_controller_ng/lib/cloud_controller/uaa/uaa_token_decoder.rb:29:in `decode_token'
        /cloud_controller_ng/lib/cloud_controller/security/security_context_configurer.rb:24:in `decode_token'
        /cloud_controller_ng/lib/cloud_controller/security/security_context_configurer.rb:10:in `configure'
        /cloud_controller_ng/middleware/security_context_setter.rb:12:in `call'
        /cloud_controller_ng/middleware/vcap_request_id.rb:15:in `call'
        /cloud_controller_ng/middleware/cors.rb:49:in `call_app'
        /cloud_controller_ng/middleware/cors.rb:14:in `call'
        /cloud_controller_ng/middleware/request_metrics.rb:12:in `call'
        /usr/local/lib/ruby/gems/2.5.0/gems/rack-2.2.2/lib/rack/builder.rb:244:in `call'
        /usr/local/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
        /usr/local/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
        /usr/local/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
        /usr/local/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:50:in `block in process'
        /usr/local/lib/ruby/gems/2.5.0/gems/eventmachine-<IP_ADDRESS>/lib/eventmachine.rb:1067:in `block in spawn_threadpool'

From what we can tell, it looks like the UAA server cert is still actually required by the CC code, even though it is optional in the K8s templates. Given that we are already configuring CAPI with a plain-text http URL to talk to UAA, we would like to also remove the need for the internal certificate in the configuration.
Please feel free to reach out if you have any questions.
Regards,
Dave and @acosta11

We are starting work now to make the UAA's certificates optional in CCNG itself. Will be tracking progress on that in this issue

Tasks

[ ] Find out where all uaa.ca_file config property is used
[ ] Update lib/cloud_controller/dependency_locator.rb to make UAA certs optional

uaa_client uses it
routing_api_client uses it
credhub_client uses it

@davewalter the requisite changes have been made and consuming the latest version of capi-k8s-release should allow you to stop providing a value for the uaa.serverCerts.secretName property

Thanks @jspawar!


Feature/add ability to filter on more than one country and species #206

There shouldn't be any changes to package-lock.json files, and definitely not any new ones. Can you revert these changes please?


Upwinded MUSCL reconstruction

In Section 10.1.4 from https://epubs.siam.org/doi/book/10.1137/1.9781611975109 it is recommended to further upwind the indicator function r_j in flux limited schemes.
We would need to let the reconstruction known about the flow direction.
Is this relevant to other reconstructions?

The reconstruction interface was updated in 4f5287151d66b85402a8d3a31a6bf0d14cea51d0. It now takes a (f, u, speed) where f = f(u) is the function to be reconstructed, u is the underlying variable and speed is the flow direction, if any.
Should be pretty easy to implement this now!


Built in expressions vs SQUID3 expressions?

Are these the same thing?  As far as I can tell they are.  For consistent user experience, consider rationalizing the labelling in the expression manager (check boxes vs drop down menus)

Yes, thanks for the observation!


#2321 breaks unittests on all default Docker deployments

As you already found out, #2321 breaks travis, e.g. https://travis-ci.org/MarkusTeufelberger/rippled-distrotest/jobs/396614314
More interestingly, this is NOT a build running in the container based instances, instead it runs in the virtualized test environment and spins up Docker in there (Travis offers a VERY limited range of distros and the ones offered are heavily modified). After checking around a bit, IPv6 is disabled by default in Docker: https://docs.docker.com/config/daemon/ipv6/
This means it is no longer possible to run the unit tests in Docker, I haven't checked if it is still possible to  even run rippled at all.
While I'm glad that there is finally IPv6 support, I'd like to be able to build and run rippled in Docker environments that I don't fully control and that have default settings.

did you try adding --unittest-ipv4 to your rippled --unittest invocation ?

No, since I don't invoke that directly, I use Test.py.

Ah, so what really broke is Test.py (not supporting the ipv4 option). I'd rather we didn't have this script, but here we are. I'll see how to patch it up.

I'd argue that IPv6 is unfortunately still not the norm, so I'd rather see an optional --unittest-ipv6 switch by the way. If you want to, I can add that option to Test.py too.

sounds reasonable to me. Here is commit that switches the flag/default:  https://github.com/mellery451/rippled/commit/085ec279d6c57d2c81dc9948bd7a5b8123e302c0. If you want to drop some Test.py changes on top of that, we can then make a PR. Thanks.

Will be fixed in #2616.


Sometimes, 4.3.x users are unable to edit macOS 14 beta VM details in the UTM UI (after using UTM 4.4.x beta)

Describe the issue
In some cases, 4.3.x users are unable to edit macOS 14 beta VM details in the UTM UI
This bug only bites 4.3.x users who installed a 4.4.x beta version, suspended their macOS 14 beta VM with that beta, but right after that downgraded back to 4.3.x.
Until 4.4.x comes out of beta, the latest official release (currently 4.3.5) is buggy.
(Not sure if related, but while repeating the steps a couple of times (not sure if exactly or with slight variation), I completely broke my macOS 14 beta VM, I will open a new issue about that)
Steps to reproduce:

Install and use UTM 4.4.1 (beta)
Open a macOS 14 beta VM
Click the close button (upper left corner of the VM window)
Try to click "Edit selected VM"

(can't edit because the VM is Suspended, this is expected)

Install and use UTM 4.3.5 (latest non-beta version)
Open the still suspended macOS 14 beta VM
Click the close button (upper left corner of the VM window)
Ignore the warning, "OK" to really kill it
Try to stop the VM from the UI (right click -> Stop -> Stop)

(VM still suspended, expected it to become "Stopped")

Open the still suspended macOS 14 beta VM
Shut it down "nicely" from Apple menu / Shut Down...
Try to stop the VM from the UI (right click -> Stop -> Stop)
Try to click "Edit selected VM"

What happens: unable to Stop or Edit the VM
Expected: to be able to stop or edit normally
...steps continue from above:

Use UTM 4.4.1 (beta) again
Open the still suspended macOS 14 beta VM
Shut it down "nicely" from Apple menu / Shut Down...
Use UTM 4.3.5 again (latest released version)
Try to click "Edit selected VM"

What happens: after reinstalling and downgrading, now the VM is stopped and able to edit VM
Expected: not having to reinstall beta and jump through hoops
Configuration

UTM Version: 4.3.5 (87)
macOS Version: 14.0 Beta (23A5337a)
Mac Chip (Intel, M1, ...): M1

Unfortunately, we don't ever officially support downgrading. I will add a note in the release warning of this issue.


Remove icon?

I think the app would look very cool if we would remove the icon from the titlebar. Only an idea tho.

I used to remove the icon, but compiled through the pyinstaller will result in a blank icon on the taskbar, not sure if there's another way. You can try.

Yeah, unfortunately with Tkinter it's not possible to hide the titlebar icon, but keep the taskbar icon. They can only be set together.

Aww, ok


feat: implement 0x35 - CALLDATALOAD

Since
Frontier
Group
Environmental Information
Description
0x35 - CALLDATALOAD: Get input data of current environment
Index 1 is top of the stack. See PUSH.Stack inputi: byte offset in the calldata.Stack outputdata[i]: 32-byte value starting from the given offset of the calldata. All bytes after the end of the calldata are set to 0.Examples
Calldata
0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Reproduce in playground.Error casesThe state changes done by the current context are reverted in those cases:Not enough gas.Not enough values on the stack.

I'd like to take this one :)

I'd like to take this one :)

Let’s go mate


FIx violations and enable --warn=all

Description [](A description of the refactor, including the goals it accomplishes.)
For #29500, Fix violations and enable warn=all

Works only with the assumption that every important implicit dependency is within the repo

Unfortunately, we rely on that behavior, e.g. when we update the Python version.
Thanks for tracking all this stuff down. As is the case sometimes with the bounties, this one doesn't seem feasible to ship right now. Let's just merge the "SetOption('warn', 'all')" but commented out and a link to the issue you linked above it, then we can revisit once SCons addresses this upstream. Once that's done, consider this bounty solved!

@bongbui321 want to try one of the bounties here? https://github.com/commaai/panda/issues/1770
should be relatively straightforward and if you want, there's lots of bounties to be made from fixing these https://github.com/commaai/panda/pull/926/files#diff-999690623aab48a8f875013ed611bf2726efc87b076bbbd09ad7bb6d6dbeaec7R15

Will have a try once I have the chance


Adds "unstable-exhaustive-types" as new feature.

This feature deactivates all "#[non_exhaustive]" added into the code. This can be used by developers to ensure, that they match all enum variants or struct fields during pattern matching.
This does not break any existing code.

Now it should be fixed.

This can be used by developers to ensure, that they match all enum variants or struct fields during pattern matching.

You can already add a match case for __NonExhaustive to do exactly this, no? That approach also has the advantage of marking the precise spot in your codebase that may break on semver-equivalent version updates

You can already add a match case for __NonExhaustive to do exactly this, no?

No.
This variant can not be matched, so you are forced to use a wild card match arm.
That will compile, but I want my code to not compile, if new variants are added.
Using my solution, if I wanted my code to compile nonetheless, I can still add a wild card arm, and everything is fine.
But as long as enums or structs are marked as non_exhaustive or have a variant like you mentioned, I have to have a wild card match arm (which matches any added variants as well), which I do not want.

This is what I meant

It does work for those __non_exhaustive struct fields and __NonExhaustive enum variants. It does not work for the #[non_exhaustive] attribute. I avoid that attribute in my personal projects for that reason. I wonder why poise uses the attribute in some places, and the manual struct field / enum variant in other places...

I do not know, why serenity and poise use the macro.
I asked some time ago, and got the answer, that it is done to not have breaking changes when not needed. I did not add them.
But I want a way to let my code fail, when new variants / struct fields are added, and this is actually intended by rust.
So I created this solution to get this behaviour.


tr hanging issue

When running:
$PASH_TOP/pa.sh -c "cat $PASH_TOP/evaluation/tests/input/10M.txt |  tr -s ' ' ''"
I get:
tr: when not truncating set1, string2 must be non-empty
and then the execution hangs, whereas the bash exits
Running on 0e2c84a
OS: Debian-10 (supported OS) and Ubuntu-21.10

It probably has to do with quoting... If you run pash with -d 1, what is the script that is actually executed? Someone needs to fix quoting at some point BTW, maybe we should add an issue with some tests for someone to investigate properly. Having multiple mini-issues for quoting doesn't help a lot I think (assuming that the problem is quoting here 🙃)

Agreed! We need to fix it:-)

I think this is unrelated to the quoting problem. The problem here is that the pa.sh hangs after the error while bash exits. I tried this with --r_split and it exits correctly. I think this might have to do with auto-split not handling errors correctly. I can look into it.
On another note, I think I might have a solution for the quoting problem but it would be great if we have some test cases that currently fail to make sure the solution works.

I think you are right, it is not actually quoting! It has to do with improper termination.
It is unclear to me whether the problem is solved due to the r_split, r_wrap, or r_merge though.
To debug this, we probably need to figure out which processes are alive and which ones are killed at runtime.
BTW, this makes me think that it would be a good idea to invest some energy into a proper debugging/monitoring extension for PaSh. Something that we can query at runtime to get information about running processes that were spawned by pash, and their status. This would also be useful for the distributed execution usability and debugging (being able to monitor which processes are running on which machine, etc). One simple and non-invasive way to do that, would be to log information about processes, and then make a different consumer for these logs that can be used to inspect them in a nice way. Would anyone be interested in working on that? What do others think (@nvasilakis, @mgree, @tammam1998)?

Logging is definitely the easiest way to go. Ideally we could group logs by shell $PPID, i.e., the PID of the invoker of pash.
As for precis format, I know there are bunch of tools for processing JSON logs in various states. It might be easiest to adopt something of the form:
TIMESTAMP [TAGS/SUBSYSTEM]: message

But you know me: I'll use grep before jq or gron.


Add SES support

This commit adds support for SES, it's quite straight forward. The users
of this library can use SES using the following code:
extern crate rusoto;

use rusoto::{DefaultCredentialsProvider, Region, DispatchSignedRequest};
use rusoto::ses::{SesClient, SendEmailRequest, Destination, Message,
                  Body, Content};
use rusoto::default_tls_client;

fn main() {
    let provider = DefaultCredentialsProvider::new().unwrap();
    let client = SesClient::new(default_tls_client().unwrap(),
                                provider, Region::EuWest1);

    let mut request: SendEmailRequest = Default::default();

    let destination = Destination {
        to_addresses: Some(
            vec!["email@example.com".to_string()]),
        ..Default::default()
    };
    request.destination = destination;

    let body = Body {
        text: Some(Content {
            charset: None,
            data: "Sending email from Rust!".to_string(),
        }),
        ..Default::default()
    };

    request.message = Message {
        body: body,
        subject: Content {
            charset: None,
            data: "Hello from Rust!".to_string(),
        },
    };
    request.source = "email@example.com".to_string();

    let result = client.send_email(&request);
    println!("{:?}", result);
}

When running cargo test --features ses I get 21 of 23 passed tests with these tests failing:
failures:

---- ses::protocol_tests::test_parse_ses_delete_identity stdout ----
	thread 'ses::protocol_tests::test_parse_ses_delete_identity' panicked at 'parse error: Err(Unknown("Expected EndElement DeleteIdentityResult got Some(Ok(StartElement({http://ses.amazonaws.com/doc/2010-12-01/}ResponseMetadata, {\"\": \"http://ses.amazonaws.com/doc/2010-12-01/\", \"xml\": \"http://www.w3.org/XML/1998/namespace\", \"xmlns\": \"http://www.w3.org/2000/xmlns/\"})))"))', /.../rusoto/target/debug/build/rusoto-3485dea358c00116/out/ses.rs:11161
note: Run with `RUST_BACKTRACE=1` for a backtrace.

---- ses::protocol_tests::test_parse_ses_set_identity_dkim_enabled stdout ----
	thread 'ses::protocol_tests::test_parse_ses_set_identity_dkim_enabled' panicked at 'parse error: Err(Unknown("Expected EndElement SetIdentityDkimEnabledResult got Some(Ok(StartElement({http://ses.amazonaws.com/doc/2010-12-01/}ResponseMetadata, {\"\": \"http://ses.amazonaws.com/doc/2010-12-01/\", \"xml\": \"http://www.w3.org/XML/1998/namespace\", \"xmlns\": \"http://www.w3.org/2000/xmlns/\"})))"))', /.../rusoto/target/debug/build/rusoto-3485dea358c00116/out/ses.rs:11125

failures:
    ses::protocol_tests::test_parse_ses_delete_identity
    ses::protocol_tests::test_parse_ses_set_identity_dkim_enabled

Not really sure what the issue is here, any help would be appreciated.

Thanks for the PR!
The failing tests are showing the existing AWS response parsing isn't enough for adding SES: there are fields in the sample responses that aren't explicitly defined in the service definition.  I ran into this in my branch of adding SES, hoping it was an easy win.
For example, the Delete Identity call can return Common Errors which are not specified in the service definition JSON.  We'll have to do some custom response reading for SES so the tests pass and the service is properly implemented.
I'm extraordinarily busy in real life so I can't be much more help at the moment than pointing in the right direction.

What can I do to help adding this service?  If preferable I can see about adding the "Common Errors" to the codegen and wrap this up.

Hi, sorry for being silent, got wrapped up in work and this fell through.
I did do some initial investigation a while back, but had issues understanding where various things happen in codegen.
If you could take a swing at Common Errors it would be great! :)

I figured out what the issue is and all tests pass on my machine. Put up a new PR as I was having issues sending a PR for this PR.
https://github.com/rusoto/rusoto/pull/607
I also have a patch to add the common errors (turns out it is unrelated to the test failures). Hopefully I'll get it cleaned up in the next day or so, it's pretty ugly right now.

Thanks @cristeahub and @LegNeato , we're moving this work over to https://github.com/rusoto/rusoto/pull/607 . 😄


Upper Lower case first two letter

Validate the field whether it is lower or upper case
I am using this project to help validate Iban on a project I'm currently working on. I noticed many users were having a problem with Upper and Lower case while filling up their IBAN.
Just added a quick fix that will uppercase the input in case the user enters its Iban in lower case.
I also made sure to add style="text-transform: uppercase;" to the id="userInput"

You just "fixed" the demo, not the library...

You are right. The way I implemented is was

to force the input field to upperCase what the user type on the HTML side
to make the input value upperCase on the JS side to

I think it was more efficient since inputting the IBAN with lowercase is most probably a mistake on the part of the customer.


Sort MSW handlers by default

What are the steps to reproduce this issue?
This is a rather unfortunate behavior of MSW: https://github.com/mswjs/msw/issues/814
When there are two handlers specified like this:
rest.get(`${API_URL}/blog-categories/:id`, resolver) // first one with path parameter
rest.get(`${API_URL}/blog-categories/count`, resolver) // second one with static path

Then a request to /blog-categories/count will return the response defined in /blog-categories/:id because that one is matched first.
Since orval generates the mock definitions in an order that is incompatible with the "desired" behaviour, the mock will always return the wrong response.
What were you expecting to happen?
I expect it to resolve the correct mock handler.
A quick fix to this problem could be to sort the mock definitions:
Any handler that has path parameter should be after all the handlers with static paths. This way the above scenario would never apply.
Thank you!
What versions are you using?
Package Version: 6.10.2

@Will-Mann-16 fixed this in 6.20.0 which upgrades to MSW 2.0 which looks like it contains that MSW fix


output_mean should be zeros?

https://github.com/sigsep/open-unmix-pytorch/blob/master/model.py#L187
I think that unless provided (no output scaling), output_mean should be torch.zeros() and not torch.ones()

@romanbsd thanks for your comment. the output scaling are nn.parameter so they are trainable parameters. Therefore initialization with zero would not be useful.
Does that make sense?

Oh, right.

I'm new to pytorch, so maybe I misunderstand something here. But why are the input_scale and input_mean trainable?
And on the other note - would adding a bias to the last fully connected layer be enough to remove the output scaling? Both are trainable so the matrix multiplication there can accomplish the same, I think.
P.S. I'm currently playing with the similar architecture in Keras, trying to make a smaller unidirectional model that can be used in realtime.

I'm new to pytorch, so maybe I misunderstand something here. But why are the input_scale and input_mean trainable?

we got better results with them being trainable. However you might as well look into LayerNorm or other batch-norm flavors to get similar results.

And on the other note - would adding a bias to the last fully connected layer be enough to remove the output scaling? Both are trainable so the matrix multiplication there can accomplish the same, I think.

you are totally right about this. this only makes up for a very slight difference and you can replace that as well. We ended up doing it that way because it allows to change the model at inference time an keep the stanardization/de-standardization in-place... being more elegant.

I'm new to pytorch, so maybe I misunderstand something here. But why are the input_scale and input_mean trainable?

we got better results with them being trainable. However you might as well look into LayerNorm or other batch-norm flavors to get similar results.

And on the other note - would adding a bias to the last fully connected layer be enough to remove the output scaling? Both are trainable so the matrix multiplication there can accomplish the same, I think.

you are totally right about this. this only makes up for a very slight difference and you can replace that as well. We ended up doing it that way because it allows to change the model at inference time an keep the stanardization/de-standardization in-place... being more elegant.

@faroit Thanks a lot!

@faroit Thanks a lot!


Update dependencies

[x] xz

new git submodule for https://github.com/tukaani-project/xz
v5.6.2

[x] zlib

v1.3.1

[x] tor

tor-<IP_ADDRESS>

[x] openssl

openssl-3.3.1

openssl-3.3.0 and openssl-3.3.1 have a build error in it for mingw x86. See https://github.com/openssl/openssl/pull/24405
That PR will not land until next release (assuming openssl-3.3.2). Will bump to openssl-3.2.2, as that seems to be compiling now.


Implement --elm-version

Something like
version: {
  type: ['boolean', 'integer'],
  "default": false,
  "enum": [false, 16, 17]
}

null probably better than false

So, no way to enforce an elm version? i'm using elm 16 and getting incompatible format errors.

Not really, but you can download the corresponding binary from https://github.com/avh4/elm-format/releases

Reopen if still wanted


Fix event title overflow

Lol I have a PR opened for this too in https://github.com/Couchers-org/couchers/pull/1871 with working tests ;)


Very poor man's docker to install packages safely

I had this thought inspired by the containerized apps here. Ideally, when trying out a new but trusted app, I would only want to isolate the newly installed libraries and code, but be able to access the whole file system, run it as already existing user, find the PID "normally", etc... Do others share this sentiment ? Is there a framework for this ? I realize this would only use a small subset of what docker does, so it might be an independent project. So conceptually:

You specify a list of files/directories that are overlaid and cannot be shared with the host.
You specify a list of binaries that need to be started thru a wrapper that sets up the overlay before starting.

Profit. Thoughts ?

You probably want to check out https://appimage.org/
I did have the thought also: To build random app from a github project, within a docker with minimal tool-chain setup (pref, one apt-get line), then once the 'make install' version works,  also use the appimage tools to build a 'built' version of the app, only copy it out and run it from the appimage on the host. Then I can lose the docker image that did the building.
I think that would be best of both worlds: Makes nice app images, and gives a way for small github project dev teams to agree on how their toolchain is set up.
I am so very tired of projects failing to build because the dev team of random github project couldn't be bothered to find out what packages they depend on, expecting everyone to wade through dependency hell with cmake instead. After all, 'it works for them', probably on their decades old hand-tuned bespoke gentoo distro!

closing as this is not bugs with this repo, thanks! but feel free to discuss!


Setting direction attribute value dynamically from directive

I would like to switch between split directions based on window screen size
Initially i have the split direction as 'horizontal', but when window is resized below 768px, i have to switch the split direction to 'vertical' based on responsiveness.
Get the direction attribute value from a custom directive
I would like to add a custom directive which has to dynamically set the direction value. Here is the sample mockup i tried https://stackblitz.com/edit/angular-gta2ne?file=src%2Fapp%2Fapp.component.html
But this did not help me. Could you please assist me further? Thanks

I am also trying to achieve a similar thing but facing the issue-
on the Click toggle button want to change the direction of split but vertical direction split not working.
[direction]="splitterDirection  ? 'horizontal' : 'vertical'"
Any Idea?

@Rajpradeep26
There are two issues your code.

The direction is updated only once because onWindowResize doesn't update it..
@HostBinding('attr.direction') updates only DOM attribute not component input.

Working example: https://stackblitz.com/edit/angular-3ht2p9
Thanks.

Looks like @nomeaning777 provided a fix, thanks for that!
Closing this issue, feel free to ping me if it's an actual issue in the library and we can reopen it.


[Error] this.client.guilds.get is undefined

An error occurred after the discord.js update (discord.js#bbdbc4cfa789383b3dbecf5e6b8401ea2dd998) such as the title.

Try to install the latest commit of Shoukaku; 9605ca8d24cf87b2d28539c1fca648a29f3ec723 and see if that fixes this issue.

Thanks, I used old shoukaku version, thanks for reply!


format extensions are poorly specified

In https://spec.openapis.org/oas/v3.1.0#data-types, a few new formats are introduced, but they are not defined. How are implementations to validate these?

is "password" purely informational? Perhaps it should be deprecated and replaced with a suggestion to use "writeOnly: true".
the others all pertain to numbers and/or integers, and should be easy to specify, but the implementor should not have to guess what the semantics are. e.g. "integers with the int32 format must be greater than or equal to -232 and less than or equal to 232" (I have intentionally introduced an error in this definition to force the reader of this issue to think about it more, rather than copy my work) :)

The goal has been to move the definition of these formats into a registry and not have them part of the specification.

@karenetheridge is the current state of the [format registry)[https://spec.openapis.org/registry/format/) sufficient?


HUDI-267 Refactor bad method name HoodieTestUtils#initTableType and HoodieTableMetaClient#initializePathAsHoodieDataset

jira ref: https://issues.apache.org/jira/browse/HUDI-267

lgtm. merging..


Flow Type Support - Feature Request

Would it be possible to add flow-type support to the project for better static analysis of the code?

Alternatively, I have started working on a library definition for the flow-typed project:  https://github.com/flowtype/flow-typed/pull/340 but using something like .js.flow style files in the build orgen-flow-files would be a preferred solution.


feat: add llmq_single_node  quorum type (111)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.002%) to 54.089%

Files with Coverage Reduction
New Missed Lines
%

btcutil/gcs/gcs.go
1
81.25%

Totals

Change from base Build<PHONE_NUMBER>2:
0.002%

Covered Lines:
24578

Relevant Lines:
45440

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.002%) to 54.089%

Files with Coverage Reduction
New Missed Lines
%

btcutil/gcs/gcs.go
1
81.25%

Totals

Change from base Build<PHONE_NUMBER>2:
0.002%

Covered Lines:
24578

Relevant Lines:
45440

💛  - Coveralls


Cannot read properties of undefined

Hi,
I'm trying to run the package on Angular but I get this error

here's the webpack file content:
const utwm = require('unplugin-tailwindcss-mangle/webpack')

module.exports = {
  plugins: [
    utwm()
  ]
}

Sorry for taking so long to reply to you. I've been quite busy at work lately.
This may be a problem with the unplugin issue. I will try to upgrade it when I have time and try it in the angular project.


Design and styles the FAQ page

Fixes Issue #1602

 #1602
Changes proposed

Screenshots

Note to reviewers

Summary by CodeRabbit

New Features

Enhanced FAQ page with numbered headings for questions.

Style

Improved styling and layout of FAQ items for better readability.

Bug Fixes

Refined toggle behavior for displaying answers on FAQ page.

hello @codervivek5
please review this PR and merge it


[docs] Remove mui-lab + cleanup docs

Bundle size will be reported once CircleCI build #896 finishes.

  Generated by :no_entry_sign: dangerJS against ebe7155a021ed46d1bf32655101b7a79408a7234


x/tools/go/packages: implement Load-ing package ids

packages.Load should be able to load packages based on their ids.
We've decided that ids will persist across calls to Load, so there's no reason for us to not allow this. It also enables use cases of Load where one call rounds up a set of packages and the second requests detailed info about them.

cc @dominikh @ianthehat


it's not working for me in 0.2.1 version pls fix it

it's not working for me in 0.2.1 version pls fix it.

What is not working? toggle erb tags or syntax highlighting? Any alert or info message on the interface?
Have you tried to modify keybinding for erb.toggleTags command?
{
  "key": "ctrl+shift+[IntlBackslash]",
  "command": "erb.toggleTags",
  "when": "editorTextFocus"
}

the toggle erb tags is not working and it's not show alert messages
can you tell me how to modify keybinding for toggle tags
thanks.
2017-07-11 15:20 GMT+07:00 Victor Ortiz<EMAIL_ADDRESS>
What is not working? toggle erb tags or syntax highlighting? Any alert or
info message on the interface?
Have you tried to modify keybinding for erb.toggleTags command?
{
"key": "ctrl+shift+[IntlBackslash]",
"command": "erb.toggleTags",
"when": "editorTextFocus"
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vortizhe/vscode-ruby-erb/issues/3#issuecomment-314370333,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUlA_4yi-9c8Xw9nuLzHvGAodunQggsWks5sMzBbgaJpZM4OTxDa
.

--
Best regard, Atip Somnochai(Mix) | อธิป สมโนชัย (มิกซ์) (+66)082-326-2152
Event Co-Ordinator(Intern) at HUBBA EVENT


postgres port of fix for #1009, modify unique_event_execution index

This PR adds a postgres migration that modifies the unique_event_execution index to use execution_id instead of message_id for uniqueness. See #1099 and PR #1386 .

Pull Request Test Coverage Report for Build 3434

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 70.08%

Totals

Change from base Build 3416:
0.0%

Covered Lines:
11135

Relevant Lines:
15889

💛  - Coveralls


Input.get_axis() returns non consistent values with different controllers

Godot version
v4.0.beta2.mono.official [f8745f2f7]
System information
Windows 10, Nvidia GTX 950, Vulkan Forward+
Issue description
The Input.get_axis() method seems to return non consistent values.
When I plug my PS5 Controller in and return the values from the left stick it returns values from -1 to 1 which is fine
but when I try the exact same thing with my nintendo switch pro controller it returns values ranging from -0.54 to 0.48.
This behaviour is not what I would expect when using the method. I am not sure if it is an issue with the way windows handles the switch controller or if it is an issue with the way godot handles it.
Steps to reproduce

Create an Project
Attach a Nintendo Switch Pro Controller
Create 2 actions on for the left stick - left one for the left stick right
Create a label
Attach a script to the label
Output the Input.get_axis("left","right") to the labels text property

Minimal reproduction project
InputAxisBug.zip

Is this value affected by the deadzone of the action?

Related to https://github.com/godotengine/godot/issues/47874.


added imperialCapital ship

Description

Added new imperialCapital ship and moved the patroling imperialTinys to guard it.

Testing

Find the new ship in the starting system.

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Merged - although it won't say so on GitHub as it'll be missing an extraneous merge commit from the fork.
@Sigma-One: pro tip on updating forks: use Git Rebase to put your commits in front of the latest from upstream, not Git Merge - that just adds another merge commit, in some cases making old commits appear like new commits (did not in this case). I had pulled your stuff a bit earlier before you used a merge to update your branch, just got sidelined so didn't push this at the time :-)
It is good to keep branches up to date, but not critical if there are no conflicts or likely issues. Merging into a fork instead of using rebase just tends to cloud up the history though.
Your fork's develop branch may not show as diverged - unsure if you can cleanly pull latest and get a clean setup again. You may have to force push to your fork and it would be a good idea to start using topic branches. Can advise further on Slack if needed, just let me know :-)


Some CLI errors with network parameters

Environment (required):

OS: [e.g. macOS (Darwin or M1), Linux, Windows]
Version [e.g. 1.2.0, "upctl version" gives you this]

Version 3.2.1 on Arch Linux (amd64).
Describe the bug
A clear and concise description of what the bug is.
The network create and network modify sub-commands return wonky error messages when trying to set the default router parameter.
upctl network create --name drima-de --zone de-fra1 --ip-network address=<IP_ADDRESS>/16,family=IPv4,dhcp=true,dhcp-default-route=true
✗ Creating network drima-de
  Error: true is an invalid value for dhcp default rout, it can be true of false

To Reproduce
Steps to reproduce the behavior:
Try to create a network or modify its parameters.
Expected behavior
A clear and concise description of what you expected to happen (e.g. I wanted to create a server with these kinds of devices).
Set default route to true, so the Kubernetes create cluster command can be run.
Observed behavior
What happened instead (e.g. I received an error with a message of "BOOT_ORDER_INVALID").
Well, despite my best efforts to jumble the parameters around, that wonky error message kept on pestering me. It was very traumatising. Man, I don't even know why I'm at work so late on a Friday evening.
Screenshots
If applicable, add screenshots to help explain your problem.
I don't think a text CLI error message needs screenshots.
Additional context
Add any other context about the problem here.

Thanks for the bug report! We will take a look at this 👀

This should now be fixed in v3.2.2


Segmentation Fault when running weston-terminal

After running way-cooler, I get a segmentation fault when I try to run weston-terminal with Alt-Return
 INFO [way_cooler] wlc: Activating tty                                                                                [123/138]
 INFO [way_cooler] wlc: WLC-1 Chose mode (0) 1920x1080                                                                                [122/138]
 TRACE [callbacks] output_resolution: WlcOutput(1) from  Size { w: 0, h: 0 } to Size { w: 1920, h: 1080 }                                                         [121/138]
 INFO [way_cooler] wlc: EGL context is double buffered                                                                                [120/138]
 INFO [way_cooler] wlc: EGL version: 1.4 (DRI2)                                                                                [119/138]
 INFO [way_cooler] wlc: EGL vendor: Mesa Project                                                                                [118/138]
 INFO [way_cooler] wlc: EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2 OpenGL_ES3                                                                                [117/138]
 INFO [way_cooler] wlc: EGL context (RGB888)                                                                                [116/138]
 INFO [way_cooler] wlc: EGL_CHROMIUM_sync_control EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_KHR_create_context EGL_KHR_fence_sync EGL_KHR[115/138]
proc_addresses EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EG[114/138]
faceless_context EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_NOK_swap_region EGL_NOK_texture_from_pixmap EG[113/138]
_sub_buffer EGL_WL_bind_wayland_display                                                                                [112/138]
 INFO [way_cooler] wlc: GL version: OpenGL ES 3.1 Mesa 11.2.2                                                                                [111/138]
 INFO [way_cooler] wlc: GL vendor: Intel Open Source Technology Center                                                                                [110/138]
 INFO [way_cooler] wlc: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8[109/138]
S_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL[108/138]
cil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_EGL_[107/138]
OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer G[106/138]
d_format_bgra GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_[105/138]
on_dxt5 GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buf[104/138]
XT_map_buffer_range GL_KHR_debug GL_OES_depth_texture_cube_map GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_separate_shader_objects GL_EXT_shader_i[103/138]
x GL_EXT_draw_elements_base_vertex GL_KHR_context_flush_control GL_OES_draw_elements_base_vertex GL_OES_texture_storage_multisample_2d_array GL_EXT_blend_func_ext[102/138]
EXT_buffer_storage GL_EXT_shader_samples_identical                                                                                [101/138]
 INFO [way_cooler] wlc: GLES2 renderer initialized                                                                                [100/138]
 INFO [way_cooler] wlc: Set new bsurface to output (1)                                                                                [99/138]
 TRACE [callbacks] output_created: WlcOutput(1): WLC-1                                                                                [98/138]
 TRACE [layout::tree] Adding new workspace to root                                                                                [97/138]
 TRACE [layout::tree] Switching to workspace 1                                                                                [96/138]
 TRACE [layout::tree] Found workspace 1
 TRACE [callbacks] output_focus: WlcOutput(1) focus=true
 INFO [way_cooler] wlc: Added output (1)
 INFO [way_cooler] wlc: become active
 TRACE [callbacks] output_resolution: WlcOutput(1) from  Size { w: 1920, h: 1080 } to Size { w: 800, h: 480 }
 TRACE [callbacks] output_resolution: WlcOutput(1) from  Size { w: 800, h: 480 } to Size { w: 1920, h: 1058 }
 INFO [way_cooler] wlc: Xwayland started (DISPLAY :1)
 INFO [way_cooler] wlc: xfixes (5.0)
 INFO [callbacks] Preparing compositor!
 INFO [callbacks] Initializing Lua...
 TRACE [lua] Initializing...
 TRACE [lua] Lua initialization finished.
 TRACE [lua::thread] Initializing...
 DEBUG [lua::thread] Loading Lua libraries...
 TRACE [lua::thread] Loading way-cooler lua extensions...
 TRACE [lua::thread] Loading way-cooler libraries...
 DEBUG [lua::thread] Entering main loop...
 TRACE [lua::thread] Lua: awaiting request
 INFO [callbacks] [key] Found an action for KeyPress { modifiers: MOD_ALT, keys: [Keysym(65293)] }
 TRACE [callbacks] view_created: WlcView(2): "Wayland Terminal"
 TRACE [layout::tree] Adding view WlcView(2) to Node { parent: 0x7f8cc8cb6bc0, val: Workspace { name: "1", focused: false }, children: [] }
 TRACE [callbacks] view_focus: WlcView(2) true
 TRACE [callbacks] view_request_geometry: WlcView(2) wants Geometry { origin: Point { x: 0, y: 0 }, size: Size { w: 742, h: 392 } }
 TRACE [callbacks] view_focus: WlcView(2) true
...
 TRACE [callbacks] view_request_geometry: WlcView(2) wants Geometry { origin: Point { x: 0, y: 0 }, size: Size { w: 742, h: 28840 } }
 ERROR [way_cooler] wlc: gles2: function shm_attach at line 541: glTexImage2D(0x0DE1, 0, gl_format, pitch, buffer->size.h, 0, gl_format, gl_pixel_type, data) == GL_INVALID_VALUE
 TRACE [callbacks] view_request_geometry: WlcView(2) wants Geometry { origin: Point { x: 0, y: 0 }, size: Size { w: 742, h: 31052 } }
 INFO [way_cooler] wlc: Terminating wlc...
 INFO [way_cooler] wlc: Terminating compositor...
 INFO [callbacks] Compositor terminating!
 INFO [way_cooler] wlc: Output (1) terminated...
 TRACE [callbacks] output_destroyed: WlcOutput(1)
 TRACE [lua::thread] Handling a request
 TRACE [lua::thread] Received terminate signal
 INFO [lua::thread] Lua thread terminating!
thread 'Lua thread' panicked at 'Lua thread received termination request.', lua/thread.rs:153
note: Run with `RUST_BACKTRACE=1` for a backtrace.
 INFO [way_cooler] wlc: Removed bsurface from output (1)
 INFO [way_cooler] wlc: Removed output (1)
 INFO [way_cooler] wlc: Compositor terminated...
 INFO [way_cooler] wlc: Cleanup wlc
 INFO [way_cooler] wlc: Closing Xwayland
 TRACE [callbacks] view_destroyed: WlcView(2)
 INFO [way_cooler] wlc: Parent exit (3072)

This does not seem to be an issue specific to your project, as rust-wlc's sample project Give similar issues.
System info: Linux 4.6.3-1-ARCH, Lenovo T450s. Issue persists whether run from login shell or from an X graphical environment

Turns out this was an issue with the Weston terminal. Should work just fine with urxvt

Alright, good to hear the issue isn't on our side, haha.


chat attachment support (cli, service)

Sorry this is enormous.
This is the CLI and service side of chat attachments.
Attachments are uploaded/downloaded directly to/from S3 via the service daemon.  The payload header is signed by gregord to ensure clients have no access to S3 secret key.  Attachments > 5MB are uploaded in parts using the S3 multi API.  There is a 5TB limit to chat attachments.
Progress is reported via the ChatUI.
Currently there is no encryption/decryption as that is being handled by @oconnor663 in a separate ticket.
There is support for upload/download in keybase chat api, keybase chat upload, keybase chat download.
A gregor PR accompanies this.
r? @mmaxim @maxtaco
cc @oconnor663

As far as the download progress, it does exactly 100.  I was envisioning a gui progress bar.  I'll make it less annoying in CLI though.

If you merge master back in you will get rid of that CI failure too.

@mmaxim all comments addressed, PTAL.


add patch for cloud-init TestGetInterfaces mock test failure

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

Add patch to resolve pytest unit test failures while building cloud-init 23.2 on ARM64 system. Upstream PR is under review but we don't want to wait for next release. So here adding a local patch pass our building pipeline.
Change Log

add a patch to resolve pytest unit test failures

Does this affect the toolchain?

NO
Associated issues

Bug 45861953: [2.0] cloud-init ptest regression [ARM64]
Test Methodology

Pipeline build id: 407084
Azure VM deploy
Hyper-V VM deploy
Buddybuild: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=407091&view=results

<EMAIL_ADDRESS>


Shippin' some minor updates

The main difference here is the removal of handlers. The apt cache is updated more aggressively now. This helps with some local package index issues, but increases runtime marginally (by tens of seconds, nothing massive).

Team Approved


Bug: 框架性能太差, 页面奔溃

Version
Vben Admin V5
Describe the bug?

内嵌amis 表格  表头固定后, 表格左右滑动10次左右页面就崩溃, 内嵌V2版本和其他自研框架都没问题
Reproduction
下载最新版本vben
将demo页改成amis表格页面
左右滑动页面奔溃
页面有警告 [Violation] Forced reflow while executing JavaScript took 40ms
页面存在强制回流
System Info
mac  m2  chrome  最新版

Relevant log output
No response
Validations

[X] Read the docs
[X] Ensure the code is up to date. (Some issues have been fixed in the latest version)
[X] I have searched the existing issues and checked that my issue does not duplicate any existing issues.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

这个不是项目问题，你应该向amis提或者排查自己的写法